@better-svelte-email/preview-server 2.1.2 → 2.1.4
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/build/client/_app/immutable/chunks/{BzltqjU8.js → -zmNDWiK.js} +1 -1
- package/build/client/_app/immutable/chunks/-zmNDWiK.js.br +0 -0
- package/build/client/_app/immutable/chunks/-zmNDWiK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{GPf5fMLC2.js → 0nhrQ1lI2.js} +1 -1
- package/build/client/_app/immutable/chunks/0nhrQ1lI2.js.br +0 -0
- package/build/client/_app/immutable/chunks/0nhrQ1lI2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BHIi3qVr2.js → 13-zcMcL2.js} +1 -1
- package/build/client/_app/immutable/chunks/13-zcMcL2.js.br +0 -0
- package/build/client/_app/immutable/chunks/13-zcMcL2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CogqGmtf2.js → 2MieKtHj2.js} +1 -1
- package/build/client/_app/immutable/chunks/2MieKtHj2.js.br +0 -0
- package/build/client/_app/immutable/chunks/2MieKtHj2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{pk7CcyRt2.js → 4Et-fZuz2.js} +1 -1
- package/build/client/_app/immutable/chunks/4Et-fZuz2.js.br +0 -0
- package/build/client/_app/immutable/chunks/4Et-fZuz2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{sDfmG-q52.js → 4ZbjVoiO2.js} +1 -1
- package/build/client/_app/immutable/chunks/4ZbjVoiO2.js.br +0 -0
- package/build/client/_app/immutable/chunks/4ZbjVoiO2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CsCG9XlY2.js → 8Q-NQKe02.js} +1 -1
- package/build/client/_app/immutable/chunks/8Q-NQKe02.js.br +0 -0
- package/build/client/_app/immutable/chunks/8Q-NQKe02.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B2bf-MCS.js +1 -0
- package/build/client/_app/immutable/chunks/B2bf-MCS.js.br +1 -0
- package/build/client/_app/immutable/chunks/B2bf-MCS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DaM5BcfV.js → B3OW8jzr.js} +1 -1
- package/build/client/_app/immutable/chunks/B3OW8jzr.js.br +0 -0
- package/build/client/_app/immutable/chunks/B3OW8jzr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Bf_OO4m5.js → BMZyeqAe.js} +1 -1
- package/build/client/_app/immutable/chunks/BMZyeqAe.js.br +0 -0
- package/build/client/_app/immutable/chunks/BMZyeqAe.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CyOMC1H12.js → BMda5uUP2.js} +1 -1
- package/build/client/_app/immutable/chunks/BMda5uUP2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BMda5uUP2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{b4xeCETc.js → BPVbnECt.js} +1 -1
- package/build/client/_app/immutable/chunks/BPVbnECt.js.br +0 -0
- package/build/client/_app/immutable/chunks/BPVbnECt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Dtv7UOty2.js → BRQFqPwU2.js} +1 -1
- package/build/client/_app/immutable/chunks/BRQFqPwU2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BRQFqPwU2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CJy9scTx2.js → BTE6_myI2.js} +1 -1
- package/build/client/_app/immutable/chunks/BTE6_myI2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTE6_myI2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DRtTh9R_.js → BUS8rUeV.js} +1 -1
- package/build/client/_app/immutable/chunks/BUS8rUeV.js.br +0 -0
- package/build/client/_app/immutable/chunks/BUS8rUeV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BLb6t9Lh.js → BXjDaEwA.js} +1 -1
- package/build/client/_app/immutable/chunks/BXjDaEwA.js.br +0 -0
- package/build/client/_app/immutable/chunks/BXjDaEwA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BeC8twWs.js +24 -0
- package/build/client/_app/immutable/chunks/BeC8twWs.js.br +0 -0
- package/build/client/_app/immutable/chunks/BeC8twWs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D8mc0qWB.js → BgXOYHyH.js} +1 -1
- package/build/client/_app/immutable/chunks/BgXOYHyH.js.br +0 -0
- package/build/client/_app/immutable/chunks/BgXOYHyH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DatEshCS.js → BoP3ZIjj.js} +1 -1
- package/build/client/_app/immutable/chunks/BoP3ZIjj.js.br +0 -0
- package/build/client/_app/immutable/chunks/BoP3ZIjj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CLbN30Ww2.js → Bq9vyKXU2.js} +1 -1
- package/build/client/_app/immutable/chunks/Bq9vyKXU2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bq9vyKXU2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{MfeErNn-.js → BsxVhP78.js} +1 -1
- package/build/client/_app/immutable/chunks/BsxVhP78.js.br +0 -0
- package/build/client/_app/immutable/chunks/BsxVhP78.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BLs_XbWi2.js → BzqSJT3G2.js} +1 -1
- package/build/client/_app/immutable/chunks/BzqSJT3G2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BzqSJT3G2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Dtn6NLbI.js → C-11nlsK.js} +1 -1
- package/build/client/_app/immutable/chunks/C-11nlsK.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-11nlsK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Dbkyqgda2.js → C1YEx5K52.js} +1 -1
- package/build/client/_app/immutable/chunks/C1YEx5K52.js.br +0 -0
- package/build/client/_app/immutable/chunks/C1YEx5K52.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D8y1tx0e2.js → C4NOgEC42.js} +1 -1
- package/build/client/_app/immutable/chunks/C4NOgEC42.js.br +0 -0
- package/build/client/_app/immutable/chunks/C4NOgEC42.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{2pZ28JA1.js → CC8pn3NZ.js} +1 -1
- package/build/client/_app/immutable/chunks/CC8pn3NZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/CC8pn3NZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DIA3aJp6.js → CFnFEeY2.js} +1 -1
- package/build/client/_app/immutable/chunks/CFnFEeY2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CFnFEeY2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BCyR5SPb.js → CRbQg6uw.js} +1 -1
- package/build/client/_app/immutable/chunks/CRbQg6uw.js.br +0 -0
- package/build/client/_app/immutable/chunks/CRbQg6uw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{AoC3-GXO2.js → CXz1wjEO2.js} +1 -1
- package/build/client/_app/immutable/chunks/CXz1wjEO2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CXz1wjEO2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D8qrblp8.js → CYch3rwW.js} +1 -1
- package/build/client/_app/immutable/chunks/CYch3rwW.js.br +0 -0
- package/build/client/_app/immutable/chunks/CYch3rwW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CZIGq9KL.js +3 -0
- package/build/client/_app/immutable/chunks/CZIGq9KL.js.br +0 -0
- package/build/client/_app/immutable/chunks/CZIGq9KL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DHhcNfbx.js → CZSUQC6s.js} +1 -1
- package/build/client/_app/immutable/chunks/CZSUQC6s.js.br +0 -0
- package/build/client/_app/immutable/chunks/CZSUQC6s.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DXvs48Yn.js → C_VjiH2S.js} +1 -1
- package/build/client/_app/immutable/chunks/C_VjiH2S.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_VjiH2S.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C_ew8g7J2.js → CdYiZtb-2.js} +1 -1
- package/build/client/_app/immutable/chunks/CdYiZtb-2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CdYiZtb-2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CmhtYr-H.js → Cf-MySyP.js} +1 -1
- package/build/client/_app/immutable/chunks/Cf-MySyP.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cf-MySyP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BPpVW1t9.js → CgWnF1ld.js} +1 -1
- package/build/client/_app/immutable/chunks/CgWnF1ld.js.br +0 -0
- package/build/client/_app/immutable/chunks/CgWnF1ld.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B92yCKkz2.js → Ck_y1oMD2.js} +1 -1
- package/build/client/_app/immutable/chunks/Ck_y1oMD2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ck_y1oMD2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DqNF_brF2.js → CtlRemE32.js} +1 -1
- package/build/client/_app/immutable/chunks/CtlRemE32.js.br +0 -0
- package/build/client/_app/immutable/chunks/CtlRemE32.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C3eVgNwp2.js → CujlemUM2.js} +1 -1
- package/build/client/_app/immutable/chunks/CujlemUM2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CujlemUM2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BO_NcNPW.js → CuuFrnnj.js} +1 -1
- package/build/client/_app/immutable/chunks/CuuFrnnj.js.br +0 -0
- package/build/client/_app/immutable/chunks/CuuFrnnj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Cc8H0qaz.js → CwS0E2RE.js} +1 -1
- package/build/client/_app/immutable/chunks/CwS0E2RE.js.br +0 -0
- package/build/client/_app/immutable/chunks/CwS0E2RE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CjRP0NjD2.js → D6g3LM2c2.js} +1 -1
- package/build/client/_app/immutable/chunks/D6g3LM2c2.js.br +0 -0
- package/build/client/_app/immutable/chunks/D6g3LM2c2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DlX1gWpk.js → D6rb1NFY.js} +1 -1
- package/build/client/_app/immutable/chunks/D6rb1NFY.js.br +0 -0
- package/build/client/_app/immutable/chunks/D6rb1NFY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CJteGSc7.js → D7ZBkzjz.js} +1 -1
- package/build/client/_app/immutable/chunks/D7ZBkzjz.js.br +0 -0
- package/build/client/_app/immutable/chunks/D7ZBkzjz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B1eC0VY6.js → D82K7ltp.js} +1 -1
- package/build/client/_app/immutable/chunks/D82K7ltp.js.br +0 -0
- package/build/client/_app/immutable/chunks/D82K7ltp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{b1-zR7XP.js → DAoG-c2U.js} +1 -1
- package/build/client/_app/immutable/chunks/DAoG-c2U.js.br +0 -0
- package/build/client/_app/immutable/chunks/DAoG-c2U.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{V5Yjt9wD2.js → DEyD5ozc2.js} +1 -1
- package/build/client/_app/immutable/chunks/DEyD5ozc2.js.br +0 -0
- package/build/client/_app/immutable/chunks/DEyD5ozc2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B3OdPoN_.js → DFai7nk7.js} +1 -1
- package/build/client/_app/immutable/chunks/DFai7nk7.js.br +0 -0
- package/build/client/_app/immutable/chunks/DFai7nk7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BuyVToAU.js → DLALkM19.js} +1 -1
- package/build/client/_app/immutable/chunks/DLALkM19.js.br +0 -0
- package/build/client/_app/immutable/chunks/DLALkM19.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D_kqbw5z.js → DLQ1jY3Q.js} +1 -1
- package/build/client/_app/immutable/chunks/DLQ1jY3Q.js.br +0 -0
- package/build/client/_app/immutable/chunks/DLQ1jY3Q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DPeYfO_X.js → DNsv-6KV.js} +1 -1
- package/build/client/_app/immutable/chunks/DNsv-6KV.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNsv-6KV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQ7YFcUd.js +29 -0
- package/build/client/_app/immutable/chunks/DQ7YFcUd.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQ7YFcUd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D2hLgkL3.js → DQb0txHr.js} +1 -1
- package/build/client/_app/immutable/chunks/DQb0txHr.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQb0txHr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DJARFHrx.js → DRtQzejv.js} +1 -1
- package/build/client/_app/immutable/chunks/DRtQzejv.js.br +0 -0
- package/build/client/_app/immutable/chunks/DRtQzejv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{PMQDBV5J.js → DUSk5caH.js} +1 -1
- package/build/client/_app/immutable/chunks/DUSk5caH.js.br +0 -0
- package/build/client/_app/immutable/chunks/DUSk5caH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DNvRKwb02.js → DUnHXTD32.js} +1 -1
- package/build/client/_app/immutable/chunks/DUnHXTD32.js.br +0 -0
- package/build/client/_app/immutable/chunks/DUnHXTD32.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C5bbMRzS.js → DVRIdhsZ.js} +1 -1
- package/build/client/_app/immutable/chunks/DVRIdhsZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DVRIdhsZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{KNb_0kK5.js → DWSoargy.js} +1 -1
- package/build/client/_app/immutable/chunks/DWSoargy.js.br +0 -0
- package/build/client/_app/immutable/chunks/DWSoargy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{i9_wZDsL2.js → DXKtLEqt2.js} +1 -1
- package/build/client/_app/immutable/chunks/DXKtLEqt2.js.br +0 -0
- package/build/client/_app/immutable/chunks/DXKtLEqt2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Cx4VUS55.js → DXRUTNo3.js} +1 -1
- package/build/client/_app/immutable/chunks/DXRUTNo3.js.br +0 -0
- package/build/client/_app/immutable/chunks/DXRUTNo3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{OOMz51rW.js → DdYvdtOm.js} +1 -1
- package/build/client/_app/immutable/chunks/DdYvdtOm.js.br +0 -0
- package/build/client/_app/immutable/chunks/DdYvdtOm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{aviLwsDM.js → De30fkBL.js} +2 -2
- package/build/client/_app/immutable/chunks/De30fkBL.js.br +0 -0
- package/build/client/_app/immutable/chunks/De30fkBL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{o5QeSYPS2.js → DeAN7OF52.js} +1 -1
- package/build/client/_app/immutable/chunks/DeAN7OF52.js.br +0 -0
- package/build/client/_app/immutable/chunks/DeAN7OF52.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C4aeQxkf2.js → DfWQkxcR2.js} +1 -1
- package/build/client/_app/immutable/chunks/DfWQkxcR2.js.br +0 -0
- package/build/client/_app/immutable/chunks/DfWQkxcR2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BL4DOeuO.js → DnRTvscr.js} +1 -1
- package/build/client/_app/immutable/chunks/DnRTvscr.js.br +0 -0
- package/build/client/_app/immutable/chunks/DnRTvscr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DeSyfjfB.js → DopI_Aro.js} +1 -1
- package/build/client/_app/immutable/chunks/DopI_Aro.js.br +0 -0
- package/build/client/_app/immutable/chunks/DopI_Aro.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CWbY0LAI.js → DwrAFPpy.js} +1 -1
- package/build/client/_app/immutable/chunks/DwrAFPpy.js.br +0 -0
- package/build/client/_app/immutable/chunks/DwrAFPpy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{C2tE-Xb62.js → H0INDQMU2.js} +1 -1
- package/build/client/_app/immutable/chunks/H0INDQMU2.js.br +0 -0
- package/build/client/_app/immutable/chunks/H0INDQMU2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DJoGK9kf.js → MFBwMmQQ.js} +1 -1
- package/build/client/_app/immutable/chunks/MFBwMmQQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/MFBwMmQQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DET9eGgo.js → Ply3gfWB.js} +1 -1
- package/build/client/_app/immutable/chunks/Ply3gfWB.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ply3gfWB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CDG3PAdG.js → ToV1T_TV.js} +1 -1
- package/build/client/_app/immutable/chunks/ToV1T_TV.js.br +0 -0
- package/build/client/_app/immutable/chunks/ToV1T_TV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CVhNsCIr.js → Y25eRjiK.js} +1 -1
- package/build/client/_app/immutable/chunks/Y25eRjiK.js.br +0 -0
- package/build/client/_app/immutable/chunks/Y25eRjiK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{XT7mgm2-.js → YdMASkWP.js} +1 -1
- package/build/client/_app/immutable/chunks/YdMASkWP.js.br +0 -0
- package/build/client/_app/immutable/chunks/YdMASkWP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DmoyGeAS2.js → gm_N5lMW2.js} +1 -1
- package/build/client/_app/immutable/chunks/gm_N5lMW2.js.br +0 -0
- package/build/client/_app/immutable/chunks/gm_N5lMW2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{fhodw31A2.js → kCJGRPZn2.js} +1 -1
- package/build/client/_app/immutable/chunks/kCJGRPZn2.js.br +0 -0
- package/build/client/_app/immutable/chunks/kCJGRPZn2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B0iNQslz.js → lH39YlJ5.js} +1 -1
- package/build/client/_app/immutable/chunks/lH39YlJ5.js.br +0 -0
- package/build/client/_app/immutable/chunks/lH39YlJ5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{QtN_jOZp.js → sbUxT0qP.js} +1 -1
- package/build/client/_app/immutable/chunks/sbUxT0qP.js.br +0 -0
- package/build/client/_app/immutable/chunks/sbUxT0qP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Dgfk8zCU.js → uMGAhrQH.js} +1 -1
- package/build/client/_app/immutable/chunks/uMGAhrQH.js.br +0 -0
- package/build/client/_app/immutable/chunks/uMGAhrQH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{cM1P9coc.js → vw_ri9HA.js} +1 -1
- package/build/client/_app/immutable/chunks/vw_ri9HA.js.br +0 -0
- package/build/client/_app/immutable/chunks/vw_ri9HA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{B4nfriop.js → zsdBiTN_.js} +1 -1
- package/build/client/_app/immutable/chunks/zsdBiTN_.js.br +0 -0
- package/build/client/_app/immutable/chunks/zsdBiTN_.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.Ciw1VIFB.js +2 -0
- package/build/client/_app/immutable/entry/app.Ciw1VIFB.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Ciw1VIFB.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.C_3vcgTR.js +1 -0
- package/build/client/_app/immutable/entry/start.C_3vcgTR.js.br +1 -0
- package/build/client/_app/immutable/entry/start.C_3vcgTR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.nvX1r7u7.js +1 -0
- package/build/client/_app/immutable/nodes/0.nvX1r7u7.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.nvX1r7u7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.N8Afus5Y.js +1 -0
- package/build/client/_app/immutable/nodes/1.N8Afus5Y.js.br +3 -0
- package/build/client/_app/immutable/nodes/1.N8Afus5Y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.B5l5D6jt.js +1 -0
- package/build/client/_app/immutable/nodes/2.B5l5D6jt.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.B5l5D6jt.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.B5l5D6jt.js +1 -0
- package/build/client/_app/immutable/nodes/3.B5l5D6jt.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.B5l5D6jt.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +9 -9
- package/build/index.js +9 -9
- package/build/server/chunks/chunks/{client.js-D_n8ztuu.js → client.js-BnVaIVqi.js} +5 -5
- package/build/server/chunks/chunks/client.js-BnVaIVqi.js.map +1 -0
- package/build/server/chunks/chunks/{dist.js-Cjy4fJ8I.js → dist.js-B4TIb9DP.js} +8 -8
- package/build/server/chunks/chunks/dist.js-B4TIb9DP.js.map +1 -0
- package/build/server/chunks/chunks/{exports.js-M407IRCT.js → exports.js-6uLtAnCV.js} +8 -8
- package/build/server/chunks/chunks/{exports.js-M407IRCT.js.map → exports.js-6uLtAnCV.js.map} +1 -1
- package/build/server/chunks/chunks/{internal.js-JDOUzQXG.js → internal.js-DN6l1j4c.js} +1433 -1278
- package/build/server/chunks/chunks/internal.js-DN6l1j4c.js.map +1 -0
- package/build/server/chunks/chunks/{internal2.js-Bkb6J7OW.js → internal2.js-MPgbkD6r.js} +2 -2
- package/build/server/chunks/chunks/{internal2.js-Bkb6J7OW.js.map → internal2.js-MPgbkD6r.js.map} +1 -1
- package/build/server/chunks/chunks/{preview-api.js-DFLf7Qia.js → preview-api.js-DupQw5lu.js} +2 -2
- package/build/server/chunks/chunks/{preview-api.js-DFLf7Qia.js.map → preview-api.js-DupQw5lu.js.map} +1 -1
- package/build/server/chunks/chunks/{preview-workbench.js-r46FAtaD.js → preview-workbench.js-ofdnpLPF.js} +219 -263
- package/build/server/chunks/chunks/preview-workbench.js-ofdnpLPF.js.map +1 -0
- package/build/server/chunks/chunks/{shared-server.js-X-h81DQm.js → shared-server.js-C12Yq3T7.js} +2 -2
- package/build/server/chunks/chunks/{shared-server.js-X-h81DQm.js.map → shared-server.js-C12Yq3T7.js.map} +1 -1
- package/build/server/chunks/chunks/{shared.js-CMUZRVdw.js → shared.js-DWVN8B4y.js} +5 -5
- package/build/server/chunks/chunks/{shared.js-CMUZRVdw.js.map → shared.js-DWVN8B4y.js.map} +1 -1
- package/build/server/chunks/chunks/{state.js-c_5yT7l3.js → state.js-CUFlNdYL.js} +5 -5
- package/build/server/chunks/chunks/state.js-CUFlNdYL.js.map +1 -0
- package/build/server/chunks/chunks/{utils.js-BulZbGp_.js → utils.js-DdA1SLel.js} +7 -7
- package/build/server/chunks/chunks/{utils.js-BulZbGp_.js.map → utils.js-DdA1SLel.js.map} +1 -1
- package/build/server/chunks/entries/fallbacks/error.svelte.js-BPsSxxzz.js +19 -0
- package/build/server/chunks/entries/fallbacks/{error.svelte.js-Bqmfe4zf.js.map → error.svelte.js-BPsSxxzz.js.map} +1 -1
- package/build/server/chunks/entries/pages/_...email_/{_page.server.ts.js-veRKlqKf.js → _page.server.ts.js-Bg1EJRBA.js} +2 -2
- package/build/server/chunks/entries/pages/_...email_/{_page.server.ts.js-veRKlqKf.js.map → _page.server.ts.js-Bg1EJRBA.js.map} +1 -1
- package/build/server/chunks/entries/pages/_...email_/{_page.svelte.js-BZIBolly.js → _page.svelte.js-CYd8dIi2.js} +9 -9
- package/build/server/chunks/entries/pages/_...email_/{_page.svelte.js-BZIBolly.js.map → _page.svelte.js-CYd8dIi2.js.map} +1 -1
- package/build/server/chunks/entries/pages/{_layout.server.ts.js-CxDOHZpA.js → _layout.server.ts.js-o2XJMadL.js} +3 -3
- package/build/server/chunks/entries/pages/{_layout.server.ts.js-CxDOHZpA.js.map → _layout.server.ts.js-o2XJMadL.js.map} +1 -1
- package/build/server/chunks/entries/pages/{_layout.svelte.js-CjwKzgJn.js → _layout.svelte.js-DcP9SgA8.js} +7 -7
- package/build/server/chunks/entries/pages/{_layout.svelte.js-CjwKzgJn.js.map → _layout.svelte.js-DcP9SgA8.js.map} +1 -1
- package/build/server/chunks/entries/pages/{_page.server.ts.js-CmdnlMr9.js → _page.server.ts.js-BVAw3SkZ.js} +2 -2
- package/build/server/chunks/entries/pages/{_page.server.ts.js-CmdnlMr9.js.map → _page.server.ts.js-BVAw3SkZ.js.map} +1 -1
- package/build/server/chunks/entries/pages/{_page.svelte.js-B7d-Pkg8.js → _page.svelte.js-BrYFhzOD.js} +9 -9
- package/build/server/chunks/entries/pages/{_page.svelte.js-B7d-Pkg8.js.map → _page.svelte.js-BrYFhzOD.js.map} +1 -1
- package/build/server/chunks/{handler-C6XD7uxC.js → handler-tzRSlguP.js} +3 -3
- package/build/server/chunks/{handler-C6XD7uxC.js.map → handler-tzRSlguP.js.map} +1 -1
- package/build/server/chunks/{index.js-FWva2MxP.js → index.js-DBAjNLxT.js} +32 -32
- package/build/server/chunks/{index.js-FWva2MxP.js.map → index.js-DBAjNLxT.js.map} +1 -1
- package/build/server/chunks/{manifest.js-Cs6Il7RU.js → manifest.js-BCAlp411.js} +6 -6
- package/build/server/chunks/{manifest.js-Cs6Il7RU.js.map → manifest.js-BCAlp411.js.map} +1 -1
- package/build/server/chunks/nodes/{0.js-C09MpjVZ.js → 0.js-B5QlJVUD.js} +6 -6
- package/build/server/chunks/nodes/{0.js-C09MpjVZ.js.map → 0.js-B5QlJVUD.js.map} +1 -1
- package/build/server/chunks/nodes/1.js-BHSMs0QS.js +9 -0
- package/build/server/chunks/nodes/{1.js-B3hAPkEQ.js.map → 1.js-BHSMs0QS.js.map} +1 -1
- package/build/server/chunks/nodes/2.js-v42az8D3.js +15 -0
- package/build/server/chunks/nodes/{2.js-Cugi_VAS.js.map → 2.js-v42az8D3.js.map} +1 -1
- package/build/server/chunks/nodes/3.js-cfZfkI6U.js +15 -0
- package/build/server/chunks/nodes/{3.js-BAAob8rz.js.map → 3.js-cfZfkI6U.js.map} +1 -1
- package/package.json +5 -5
- package/build/client/_app/immutable/chunks/2pZ28JA1.js.br +0 -0
- package/build/client/_app/immutable/chunks/2pZ28JA1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/AoC3-GXO2.js.br +0 -0
- package/build/client/_app/immutable/chunks/AoC3-GXO2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B0iNQslz.js.br +0 -0
- package/build/client/_app/immutable/chunks/B0iNQslz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B1eC0VY6.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1eC0VY6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B3OdPoN_.js.br +0 -0
- package/build/client/_app/immutable/chunks/B3OdPoN_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B4nfriop.js.br +0 -0
- package/build/client/_app/immutable/chunks/B4nfriop.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B92yCKkz2.js.br +0 -0
- package/build/client/_app/immutable/chunks/B92yCKkz2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BCyR5SPb.js.br +0 -0
- package/build/client/_app/immutable/chunks/BCyR5SPb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BHIi3qVr2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BHIi3qVr2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BL4DOeuO.js.br +0 -0
- package/build/client/_app/immutable/chunks/BL4DOeuO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BLb6t9Lh.js.br +0 -0
- package/build/client/_app/immutable/chunks/BLb6t9Lh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BLs_XbWi2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BLs_XbWi2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BO_NcNPW.js.br +0 -0
- package/build/client/_app/immutable/chunks/BO_NcNPW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BPpVW1t9.js.br +0 -0
- package/build/client/_app/immutable/chunks/BPpVW1t9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bf_OO4m5.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bf_OO4m5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BuyVToAU.js.br +0 -0
- package/build/client/_app/immutable/chunks/BuyVToAU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BzltqjU8.js.br +0 -0
- package/build/client/_app/immutable/chunks/BzltqjU8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C2tE-Xb62.js.br +0 -0
- package/build/client/_app/immutable/chunks/C2tE-Xb62.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C3eVgNwp2.js.br +0 -0
- package/build/client/_app/immutable/chunks/C3eVgNwp2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C4aeQxkf2.js.br +0 -0
- package/build/client/_app/immutable/chunks/C4aeQxkf2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C5bbMRzS.js.br +0 -0
- package/build/client/_app/immutable/chunks/C5bbMRzS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CDG3PAdG.js.br +0 -0
- package/build/client/_app/immutable/chunks/CDG3PAdG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJteGSc7.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJteGSc7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJy9scTx2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJy9scTx2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CLbN30Ww2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLbN30Ww2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CVhNsCIr.js.br +0 -0
- package/build/client/_app/immutable/chunks/CVhNsCIr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CWbY0LAI.js.br +0 -0
- package/build/client/_app/immutable/chunks/CWbY0LAI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_ew8g7J2.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_ew8g7J2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cc8H0qaz.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cc8H0qaz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CjRP0NjD2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CjRP0NjD2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CmhtYr-H.js.br +0 -0
- package/build/client/_app/immutable/chunks/CmhtYr-H.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CogqGmtf2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CogqGmtf2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CsCG9XlY2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CsCG9XlY2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cx4VUS55.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cx4VUS55.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CyOMC1H12.js.br +0 -0
- package/build/client/_app/immutable/chunks/CyOMC1H12.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D2hLgkL3.js.br +0 -0
- package/build/client/_app/immutable/chunks/D2hLgkL3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D3_lVCrH.js +0 -3
- package/build/client/_app/immutable/chunks/D3_lVCrH.js.br +0 -0
- package/build/client/_app/immutable/chunks/D3_lVCrH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D8mc0qWB.js.br +0 -0
- package/build/client/_app/immutable/chunks/D8mc0qWB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D8qrblp8.js.br +0 -0
- package/build/client/_app/immutable/chunks/D8qrblp8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D8y1tx0e2.js.br +0 -0
- package/build/client/_app/immutable/chunks/D8y1tx0e2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DET9eGgo.js.br +0 -0
- package/build/client/_app/immutable/chunks/DET9eGgo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DHhcNfbx.js.br +0 -0
- package/build/client/_app/immutable/chunks/DHhcNfbx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DIA3aJp6.js.br +0 -0
- package/build/client/_app/immutable/chunks/DIA3aJp6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DJARFHrx.js.br +0 -0
- package/build/client/_app/immutable/chunks/DJARFHrx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DJoGK9kf.js.br +0 -0
- package/build/client/_app/immutable/chunks/DJoGK9kf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNvRKwb02.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNvRKwb02.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DPeYfO_X.js.br +0 -0
- package/build/client/_app/immutable/chunks/DPeYfO_X.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DRtTh9R_.js.br +0 -0
- package/build/client/_app/immutable/chunks/DRtTh9R_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DXvs48Yn.js.br +0 -0
- package/build/client/_app/immutable/chunks/DXvs48Yn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D_kqbw5z.js.br +0 -0
- package/build/client/_app/immutable/chunks/D_kqbw5z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DaM5BcfV.js.br +0 -0
- package/build/client/_app/immutable/chunks/DaM5BcfV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DatEshCS.js.br +0 -0
- package/build/client/_app/immutable/chunks/DatEshCS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dbkyqgda2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dbkyqgda2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DeSyfjfB.js.br +0 -0
- package/build/client/_app/immutable/chunks/DeSyfjfB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dgfk8zCU.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dgfk8zCU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DlX1gWpk.js.br +0 -0
- package/build/client/_app/immutable/chunks/DlX1gWpk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DmoyGeAS2.js.br +0 -0
- package/build/client/_app/immutable/chunks/DmoyGeAS2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DqNF_brF2.js.br +0 -0
- package/build/client/_app/immutable/chunks/DqNF_brF2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dtn6NLbI.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dtn6NLbI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dtv7UOty2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dtv7UOty2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DuQiBVJu.js +0 -29
- package/build/client/_app/immutable/chunks/DuQiBVJu.js.br +0 -0
- package/build/client/_app/immutable/chunks/DuQiBVJu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/GPf5fMLC2.js.br +0 -0
- package/build/client/_app/immutable/chunks/GPf5fMLC2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/KNb_0kK5.js.br +0 -0
- package/build/client/_app/immutable/chunks/KNb_0kK5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/MfeErNn-.js.br +0 -0
- package/build/client/_app/immutable/chunks/MfeErNn-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/OOMz51rW.js.br +0 -0
- package/build/client/_app/immutable/chunks/OOMz51rW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/PMQDBV5J.js.br +0 -0
- package/build/client/_app/immutable/chunks/PMQDBV5J.js.gz +0 -0
- package/build/client/_app/immutable/chunks/QtN_jOZp.js.br +0 -0
- package/build/client/_app/immutable/chunks/QtN_jOZp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/QuimFY2S.js +0 -1
- package/build/client/_app/immutable/chunks/QuimFY2S.js.br +0 -0
- package/build/client/_app/immutable/chunks/QuimFY2S.js.gz +0 -0
- package/build/client/_app/immutable/chunks/V5Yjt9wD2.js.br +0 -0
- package/build/client/_app/immutable/chunks/V5Yjt9wD2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XT7mgm2-.js.br +0 -0
- package/build/client/_app/immutable/chunks/XT7mgm2-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/aviLwsDM.js.br +0 -0
- package/build/client/_app/immutable/chunks/aviLwsDM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/b1-zR7XP.js.br +0 -0
- package/build/client/_app/immutable/chunks/b1-zR7XP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/b4xeCETc.js.br +0 -0
- package/build/client/_app/immutable/chunks/b4xeCETc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/cM1P9coc.js.br +0 -0
- package/build/client/_app/immutable/chunks/cM1P9coc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/fhodw31A2.js.br +0 -0
- package/build/client/_app/immutable/chunks/fhodw31A2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/i9_wZDsL2.js.br +0 -0
- package/build/client/_app/immutable/chunks/i9_wZDsL2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/nQErZH7l.js +0 -24
- package/build/client/_app/immutable/chunks/nQErZH7l.js.br +0 -0
- package/build/client/_app/immutable/chunks/nQErZH7l.js.gz +0 -0
- package/build/client/_app/immutable/chunks/o5QeSYPS2.js.br +0 -0
- package/build/client/_app/immutable/chunks/o5QeSYPS2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/pk7CcyRt2.js.br +0 -0
- package/build/client/_app/immutable/chunks/pk7CcyRt2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/sDfmG-q52.js.br +0 -0
- package/build/client/_app/immutable/chunks/sDfmG-q52.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.Cf1kynW5.js +0 -2
- package/build/client/_app/immutable/entry/app.Cf1kynW5.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Cf1kynW5.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BzFDNUTP.js +0 -1
- package/build/client/_app/immutable/entry/start.BzFDNUTP.js.br +0 -0
- package/build/client/_app/immutable/entry/start.BzFDNUTP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.Di6pZ7QE.js +0 -1
- package/build/client/_app/immutable/nodes/0.Di6pZ7QE.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.Di6pZ7QE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.Dqv2_VBm.js +0 -1
- package/build/client/_app/immutable/nodes/1.Dqv2_VBm.js.br +0 -1
- package/build/client/_app/immutable/nodes/1.Dqv2_VBm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CjcBXjcg.js +0 -1
- package/build/client/_app/immutable/nodes/2.CjcBXjcg.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CjcBXjcg.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.CjcBXjcg.js +0 -1
- package/build/client/_app/immutable/nodes/3.CjcBXjcg.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CjcBXjcg.js.gz +0 -0
- package/build/server/chunks/chunks/client.js-D_n8ztuu.js.map +0 -1
- package/build/server/chunks/chunks/dist.js-Cjy4fJ8I.js.map +0 -1
- package/build/server/chunks/chunks/internal.js-JDOUzQXG.js.map +0 -1
- package/build/server/chunks/chunks/preview-workbench.js-r46FAtaD.js.map +0 -1
- package/build/server/chunks/chunks/state.js-c_5yT7l3.js.map +0 -1
- package/build/server/chunks/entries/fallbacks/error.svelte.js-Bqmfe4zf.js +0 -19
- package/build/server/chunks/nodes/1.js-B3hAPkEQ.js +0 -9
- package/build/server/chunks/nodes/2.js-Cugi_VAS.js +0 -15
- package/build/server/chunks/nodes/3.js-BAAob8rz.js +0 -15
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./zsdBiTN_.js","./CZIGq9KL.js","./Y25eRjiK.js","./BMZyeqAe.js","./uMGAhrQH.js","./lH39YlJ5.js","./CRbQg6uw.js","./C-11nlsK.js","./DFai7nk7.js","./CFnFEeY2.js","./CgWnF1ld.js","./4Et-fZuz2.js","./DLALkM19.js","./BXeXVLqQ.js","./2MieKtHj2.js","./C1YEx5K52.js","./0nhrQ1lI2.js","./DUnHXTD32.js","./Ft8OTbFq2.js","./bTVj8UrX2.js","./DeAN7OF52.js","./DvRy0wJr2.js","./gzcpVVnB2.js","./8Q-NQKe02.js","./CXz1wjEO2.js","./BoP3ZIjj.js","./Cf-MySyP.js","./DNsv-6KV.js","./BUS8rUeV.js","./vw_ri9HA.js","./CwS0E2RE.js","./ToV1T_TV.js","./YdMASkWP.js","./D6rb1NFY.js","./DUSk5caH.js","./DnRTvscr.js","./DAoG-c2U.js","./DdYvdtOm.js","./Ply3gfWB.js","./D7ZBkzjz.js","./BgXOYHyH.js","./CXuKk5E8.js","./BYOwaDjH.js","./R4sQ-3Hc2.js","./CYNrtFtB.js","./Yf0g_uY-2.js","./CyoNGCRj2.js","./CBce3t8t2.js","./DYvRD3hg2.js","./DDqZBno92.js","./woXpYk--.js","./Bq9vyKXU2.js","./4ZbjVoiO2.js","./BzqSJT3G2.js","./Ck_y1oMD2.js","./DXKtLEqt2.js","./C4NOgEC42.js","./D6g3LM2c2.js","./Dx-8-gkx.js","./Dc2A3rbH2.js","./C8oCnwJJ2.js","./DXRUTNo3.js","./BsxVhP78.js","./sbUxT0qP.js","./-zmNDWiK.js","./BXjDaEwA.js","./CZSUQC6s.js","./DLQ1jY3Q.js","./CuuFrnnj.js","./DopI_Aro.js","./C_VjiH2S.js","./DVTAwKKz.js","./CYch3rwW.js","./C5JeTiTv2.js","./DJMQeKeT.js","./CtlRemE32.js","./gm_N5lMW2.js","./BMda5uUP2.js","./DqKBuwfJ2.js","./oqKa8noW.js","./CnvKMtbv.js","./IyjqRm3v.js","./rLFTqkRN2.js","./CacY0gHj2.js","./B5eOa1yu.js","./Dixweg8N.js","./D1A_Heim2.js","./O90oeIOV2.js","./CujlemUM2.js","./DOwzaHZ02.js","./B3gFvitq2.js","./Cfkwpbl82.js","./BiFt_7mu2.js","./CMLA9XwU2.js","./BTE6_myI2.js","./D82K7ltp.js","./CC8pn3NZ.js","./DRtQzejv.js","./B3OW8jzr.js","./Bj61d0ZC2.js","./DVRIdhsZ.js","./BR43B8UW.js","./Cvrh5tZx2.js","./DwrAFPpy.js","./DWSoargy.js","./B5B4dYe2.js","./ByJddavk.js","./MFBwMmQQ.js","./BPVbnECt.js","./DQb0txHr.js","./DEyD5ozc2.js","./DfWQkxcR2.js","./kCJGRPZn2.js","./13-zcMcL2.js","./qdxAdBWQ2.js","./Ci_nEsc72.js","./CYpm1nAK.js","./BNLmms1o.js","./CCSX75yM2.js","./CyEgAFGc.js","./Dh5ihWbf.js","./B2gwz-sJ2.js","./H0INDQMU2.js","./CdYiZtb-2.js","./BRQFqPwU2.js","./B6D30XZt.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{$ as e,A as t,B as n,C as r,Ct as i,D as a,E as o,F as s,G as c,H as l,I as u,J as d,L as f,M as p,N as m,O as h,P as g,Q as _,R as v,S as y,St as b,T as x,V as S,W as C,X as w,Y as T,Z as E,_ as ee,_t as te,a as D,at as O,b as k,bt as A,c as ne,ct as re,d as j,dt as M,et as N,f as ie,ft as P,g as ae,gt as F,h as I,i as L,j as R,k as z,l as oe,lt as se,m as ce,n as le,o as B,ot as V,p as ue,pt as de,q as fe,rt as H,s as pe,tt as me,u as he,ut as ge,vt as _e,w as ve,wt as ye,x as U,xt as be,y as xe,yt as W,z as Se}from"./CZIGq9KL.js";import{n as Ce,s as we,t as Te}from"./De30fkBL.js";import{t as G}from"./DuqgYnXA.js";import"./xihTtKlq.js";import{i as Ee,n as De,r as Oe}from"./BeC8twWs.js";import{t as ke}from"./B2bf-MCS.js";var Ae={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},je=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},Me=Symbol(`lucide-context`),Ne=()=>se(Me),Pe=new Set([`$$slots`,`$$events`,`$$legacy`,`name`,`color`,`size`,`strokeWidth`,`absoluteStrokeWidth`,`iconNode`,`children`]),Fe=g(`<svg><!><!></svg>`);function Ie(e,t){P(t,!0);let n=Ne()??{},i=L(t,`color`,19,()=>n.color??`currentColor`),a=L(t,`size`,19,()=>n.size??24),o=L(t,`strokeWidth`,19,()=>n.strokeWidth??2),s=L(t,`absoluteStrokeWidth`,19,()=>n.absoluteStrokeWidth??!1),c=L(t,`iconNode`,19,()=>[]),u=D(t,Pe),d=V(()=>s()?Number(o())*24/Number(a()):o());var f=Fe();j(f,e=>({...Ae,...e,...u,width:a(),height:a(),stroke:i(),"stroke-width":l(d),class:[`lucide-icon lucide`,n.class,t.name&&`lucide-${t.name}`,t.class]}),[()=>!t.children&&!je(u)&&{"aria-hidden":`true`}]);var m=E(f);r(m,17,c,ve,(e,t)=>{var n=V(()=>be(l(t),2));let r=()=>l(n)[0],i=()=>l(n)[1];var a=p(),o=_(a);xe(o,r,!0,(e,t)=>{j(e,()=>({...i()}))}),R(e,a)});var h=N(m);U(h,()=>t.children??A),W(f),R(e,f),M()}var Le=new Set([`$$slots`,`$$events`,`$$legacy`]);function Re(e,t){let n=D(t,Le),r=[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`}]];Ie(e,B({name:`copy`},()=>n,{get iconNode(){return r}}))}var ze=new Set([`$$slots`,`$$events`,`$$legacy`]);function Be(e,t){let n=D(t,ze),r=[[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`circle`,{cx:`19`,cy:`12`,r:`1`}],[`circle`,{cx:`5`,cy:`12`,r:`1`}]];Ie(e,B({name:`ellipsis`},()=>n,{get iconNode(){return r}}))}var Ve=new Set([`$$slots`,`$$events`,`$$legacy`]);function He(e,t){let n=D(t,Ve),r=[[`circle`,{cx:`12`,cy:`12`,r:`1`}],[`circle`,{cx:`12`,cy:`5`,r:`1`}],[`circle`,{cx:`12`,cy:`19`,r:`1`}]];Ie(e,B({name:`ellipsis-vertical`},()=>n,{get iconNode(){return r}}))}var Ue=new Set([`$$slots`,`$$events`,`$$legacy`]);function We(e,t){let n=D(t,Ue),r=[[`path`,{d:`M15 3h6v6`}],[`path`,{d:`M10 14 21 3`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`}]];Ie(e,B({name:`external-link`},()=>n,{get iconNode(){return r}}))}var Ge=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ke(e,t){let n=D(t,Ge),r=[[`path`,{d:`M18 5h4`}],[`path`,{d:`M20 3v4`}],[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`}]];Ie(e,B({name:`moon-star`},()=>n,{get iconNode(){return r}}))}var qe=new Set([`$$slots`,`$$events`,`$$legacy`]);function Je(e,t){let n=D(t,qe),r=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`m14 9 3 3-3 3`}]];Ie(e,B({name:`panel-left-open`},()=>n,{get iconNode(){return r}}))}var Ye=new Set([`$$slots`,`$$events`,`$$legacy`]);function Xe(e,t){let n=D(t,Ye),r=[[`path`,{d:`m21 21-4.34-4.34`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}]];Ie(e,B({name:`search`},()=>n,{get iconNode(){return r}}))}var Ze=new Set([`$$slots`,`$$events`,`$$legacy`]);function Qe(e,t){let n=D(t,Ze),r=[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`}],[`path`,{d:`M12 18h.01`}]];Ie(e,B({name:`smartphone`},()=>n,{get iconNode(){return r}}))}var $e=new Set([`$$slots`,`$$events`,`$$legacy`]);function et(e,t){let n=D(t,$e),r=[[`circle`,{cx:`12`,cy:`12`,r:`4`}],[`path`,{d:`M12 3v1`}],[`path`,{d:`M12 20v1`}],[`path`,{d:`M3 12h1`}],[`path`,{d:`M20 12h1`}],[`path`,{d:`m18.364 5.636-.707.707`}],[`path`,{d:`m6.343 17.657-.707.707`}],[`path`,{d:`m5.636 5.636.707.707`}],[`path`,{d:`m17.657 17.657.707.707`}]];Ie(e,B({name:`sun-medium`},()=>n,{get iconNode(){return r}}))}var tt=new Set([`$$slots`,`$$events`,`$$legacy`]);function nt(e,t){let n=D(t,tt),r=[[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,ry:`2`}],[`line`,{x1:`12`,x2:`12.01`,y1:`18`,y2:`18`}]];Ie(e,B({name:`tablet`},()=>n,{get iconNode(){return r}}))}var rt=new Set([`$$slots`,`$$events`,`$$legacy`]);function it(e,t){let n=D(t,rt),r=[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`}]];Ie(e,B({name:`monitor`},()=>n,{get iconNode(){return r}}))}var at=Object.prototype.hasOwnProperty;function ot(e,t){var n,r;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&ot(e[r],t[r]););return r===-1}if(!n||typeof e==`object`){for(n in r=0,e)if(at.call(e,n)&&++r&&!at.call(t,n)||!(n in t)||!ot(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}var st=ye(b(((e,t)=>{var n=(function(){var e=String.fromCharCode,t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`,n=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$`,r={};function i(e,t){if(!r[e]){r[e]={};for(var n=0;n<e.length;n++)r[e][e.charAt(n)]=n}return r[e][t]}var a={compressToBase64:function(e){if(e==null)return``;var n=a._compress(e,6,function(e){return t.charAt(e)});switch(n.length%4){default:case 0:return n;case 1:return n+`===`;case 2:return n+`==`;case 3:return n+`=`}},decompressFromBase64:function(e){return e==null?``:e==``?null:a._decompress(e.length,32,function(n){return i(t,e.charAt(n))})},compressToUTF16:function(t){return t==null?``:a._compress(t,15,function(t){return e(t+32)})+` `},decompressFromUTF16:function(e){return e==null?``:e==``?null:a._decompress(e.length,16384,function(t){return e.charCodeAt(t)-32})},compressToUint8Array:function(e){for(var t=a.compress(e),n=new Uint8Array(t.length*2),r=0,i=t.length;r<i;r++){var o=t.charCodeAt(r);n[r*2]=o>>>8,n[r*2+1]=o%256}return n},decompressFromUint8Array:function(t){if(t==null)return a.decompress(t);for(var n=Array(t.length/2),r=0,i=n.length;r<i;r++)n[r]=t[r*2]*256+t[r*2+1];var o=[];return n.forEach(function(t){o.push(e(t))}),a.decompress(o.join(``))},compressToEncodedURIComponent:function(e){return e==null?``:a._compress(e,6,function(e){return n.charAt(e)})},decompressFromEncodedURIComponent:function(e){return e==null?``:e==``?null:(e=e.replace(/ /g,`+`),a._decompress(e.length,32,function(t){return i(n,e.charAt(t))}))},compress:function(t){return a._compress(t,16,function(t){return e(t)})},_compress:function(e,t,n){if(e==null)return``;var r,i,a={},o={},s=``,c=``,l=``,u=2,d=3,f=2,p=[],m=0,h=0,g;for(g=0;g<e.length;g+=1)if(s=e.charAt(g),Object.prototype.hasOwnProperty.call(a,s)||(a[s]=d++,o[s]=!0),c=l+s,Object.prototype.hasOwnProperty.call(a,c))l=c;else{if(Object.prototype.hasOwnProperty.call(o,l)){if(l.charCodeAt(0)<256){for(r=0;r<f;r++)m<<=1,h==t-1?(h=0,p.push(n(m)),m=0):h++;for(i=l.charCodeAt(0),r=0;r<8;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1}else{for(i=1,r=0;r<f;r++)m=m<<1|i,h==t-1?(h=0,p.push(n(m)),m=0):h++,i=0;for(i=l.charCodeAt(0),r=0;r<16;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1}u--,u==0&&(u=2**f,f++),delete o[l]}else for(i=a[l],r=0;r<f;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1;u--,u==0&&(u=2**f,f++),a[c]=d++,l=String(s)}if(l!==``){if(Object.prototype.hasOwnProperty.call(o,l)){if(l.charCodeAt(0)<256){for(r=0;r<f;r++)m<<=1,h==t-1?(h=0,p.push(n(m)),m=0):h++;for(i=l.charCodeAt(0),r=0;r<8;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1}else{for(i=1,r=0;r<f;r++)m=m<<1|i,h==t-1?(h=0,p.push(n(m)),m=0):h++,i=0;for(i=l.charCodeAt(0),r=0;r<16;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1}u--,u==0&&(u=2**f,f++),delete o[l]}else for(i=a[l],r=0;r<f;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1;u--,u==0&&(u=2**f,f++)}for(i=2,r=0;r<f;r++)m=m<<1|i&1,h==t-1?(h=0,p.push(n(m)),m=0):h++,i>>=1;for(;;){if(m<<=1,h==t-1){p.push(n(m));break}h++}return p.join(``)},decompress:function(e){return e==null?``:e==``?null:a._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(t,n,r){var i=[],a=4,o=4,s=3,c=``,l=[],u,d,f,p,m,h,g,_={val:r(0),position:n,index:1};for(u=0;u<3;u+=1)i[u]=u;for(f=0,m=4,h=1;h!=m;)p=_.val&_.position,_.position>>=1,_.position==0&&(_.position=n,_.val=r(_.index++)),f|=+(p>0)*h,h<<=1;switch(f){case 0:for(f=0,m=256,h=1;h!=m;)p=_.val&_.position,_.position>>=1,_.position==0&&(_.position=n,_.val=r(_.index++)),f|=+(p>0)*h,h<<=1;g=e(f);break;case 1:for(f=0,m=2**16,h=1;h!=m;)p=_.val&_.position,_.position>>=1,_.position==0&&(_.position=n,_.val=r(_.index++)),f|=+(p>0)*h,h<<=1;g=e(f);break;case 2:return``}for(i[3]=g,d=g,l.push(g);;){if(_.index>t)return``;for(f=0,m=2**s,h=1;h!=m;)p=_.val&_.position,_.position>>=1,_.position==0&&(_.position=n,_.val=r(_.index++)),f|=+(p>0)*h,h<<=1;switch(g=f){case 0:for(f=0,m=256,h=1;h!=m;)p=_.val&_.position,_.position>>=1,_.position==0&&(_.position=n,_.val=r(_.index++)),f|=+(p>0)*h,h<<=1;i[o++]=e(f),g=o-1,a--;break;case 1:for(f=0,m=2**16,h=1;h!=m;)p=_.val&_.position,_.position>>=1,_.position==0&&(_.position=n,_.val=r(_.index++)),f|=+(p>0)*h,h<<=1;i[o++]=e(f),g=o-1,a--;break;case 2:return l.join(``)}if(a==0&&(a=2**s,s++),i[g])c=i[g];else if(g===o)c=d+d.charAt(0);else return null;l.push(c),i[o++]=d+c.charAt(0),a--,d=c,a==0&&(a=2**s,s++)}}};return a})();typeof define==`function`&&define.amd?define(function(){return n}):t!==void 0&&t!=null?t.exports=n:typeof angular<`u`&&angular!=null&&angular.module(`LZString`,[]).factory(`LZString`,function(){return n})}))(),1),ct=class{#e=O(!1);constructor(){T(()=>(c(()=>H(this.#e,!0)),()=>{H(this.#e,!1)}))}get current(){return l(this.#e)}};function lt(e,t,n={},r=new Map){let i=r.get(t);if(i){let t=i(e);if(typeof t==`string`)return t;e=t}return e instanceof Date?(n instanceof Map?n.get(t):n[t])===`date`?e.toISOString().split(`T`)[0]:e.toISOString():Array.isArray(e)||typeof e==`object`&&e?JSON.stringify(e):String(e)}function ut(e,t={}){let{numberFields:n=new Set,arrayFields:r=new Set,dateFields:i=new Set,codecFields:a=new Set}=t,o={};for(let[t,s]of e.entries())try{if(s===`[]`){o[t]=[];continue}if(s===`{}`){o[t]={};continue}if(s.startsWith(`{`)||s.startsWith(`[`))o[t]=JSON.parse(s);else if(s===`true`||s===`false`)o[t]=s===`true`;else if(n.has(t)&&s.trim()!==``&&!isNaN(Number(s)))o[t]=Number(s);else if(i.has(t)&&!a.has(t)&&s.trim()!==``){let e=new Date(s);o[t]=isNaN(e.getTime())?s:e}else o[t]=r.has(t)&&s.includes(`,`)?s.split(`,`):s}catch{o[t]=s}return o}function dt(e){let t=e;if(t.def){if(t.def.type===`pipe`&&typeof t.def.reverseTransform==`function`)return t.def.reverseTransform;if(t.def.type==="default"&&t.def.innerType?.def?.type===`pipe`&&typeof t.def.innerType.def.reverseTransform==`function`)return t.def.innerType.def.reverseTransform}}function ft(e){let t=e[`~standard`].validate({});if(!t||!(`value`in t))return{keys:[],numberFields:new Set,dateFields:new Set,dateFormats:new Map,defaultValues:{},codecEncoders:new Map,codecFields:new Set,arrayFields:new Set};let n=t.value,r=Object.keys(n),i=new Set,a=new Set,o=new Map,s=new Map,c=new Set,l=new Set;for(let[e,t]of Object.entries(n))typeof t==`number`?i.add(e):t instanceof Date?a.add(e):Array.isArray(t)&&l.add(e);let u=e;if(u.__dateFormats)for(let[e,t]of Object.entries(u.__dateFormats))o.set(e,t);let d=e;if(d.shape)for(let[e,t]of Object.entries(d.shape)){let n=dt(t);n&&(s.set(e,n),c.add(e))}return{keys:r,numberFields:i,dateFields:a,dateFormats:o,defaultValues:n,codecEncoders:s,codecFields:c,arrayFields:l}}var pt=class{#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u=null;#d=O(me(new URLSearchParams));#f=!1;constructor(e,t={}){this.#e=e,this.#n={showDefaults:!1,debounce:0,pushHistory:!0,compress:!1,compressedParamName:`_data`,updateURL:!0,noScroll:!1,...t};let n=ft(e);if(this.#t=n.keys.reduce((e,t)=>(e[t]=!0,e),{}),this.#r={...n.defaultValues},this.#i=n.numberFields,this.#i=n.numberFields,this.#l=n.arrayFields,this.#a=n.dateFields,this.#o=new Map(n.dateFormats),t.dateFormats)for(let[e,n]of Object.entries(t.dateFormats))this.#o.set(e,n);this.#s=n.codecEncoders,this.#c=n.codecFields}#p(){if(this.#f||(this.#f=!0,!this.#n.updateURL||we))return;let e=ke.url.searchParams,t=this.#n.compressedParamName||`_data`;if(this.#n.compress&&e.has(t))try{let n=e.get(t)||``,r=st.decompressFromEncodedURIComponent(n);if(r){let e=JSON.parse(r),t=new URLSearchParams;for(let[n,r]of Object.entries(e)){let e=this.#v(r,n);t.set(n,e)}c(()=>H(this.#d,t,!0));return}}catch(e){console.error(`Error initializing cache from compressed URL`,e)}let n=new Oe;for(let[t,r]of e.entries())n.set(t,r);c(()=>H(this.#d,n,!0))}get(e){return this.#p(),this.#b(e)}set(e,t){this.#x(e,t)}cleanup(){this.#u&&=(clearTimeout(this.#u),null)}syncFromURL(e){let t=this.#n.compressedParamName??`_data`;if(this.#n.compress&&e.has(t))try{let n=e.get(t)??``,r=st.decompressFromEncodedURIComponent(n);if(r){let e=JSON.parse(r),t=new Oe;for(let[n,r]of Object.entries(e)){let e=this.#v(r);t.set(n,e)}c(()=>H(this.#d,t,!0));return}}catch(e){console.error(`Error syncing cache from compressed URL`,e)}let n=new Oe;for(let[t,r]of e.entries())n.set(t,r);c(()=>H(this.#d,n,!0))}update(e){if(this.#p(),!e||typeof e!=`object`)return;let t={},n=!1;for(let[r,i]of Object.entries(e))this.has(r)&&(t[r]=i,n=!0);if(!n)return;let r=this.#y(l(this.#d)),i=!1;for(let[e,n]of Object.entries(t)){let t=r[e];if(typeof t!=`object`&&typeof n!=`object`&&t!==null&&n!==null?t!==n:!ot(t,n)){i=!0;break}}if(!i)return;let a={};for(let[e,n]of Object.entries(t))if(this.#s.has(e)){let t=this.#s.get(e);try{a[e]=t(n)}catch(t){console.error(`Error encoding value for field "${e}"`,t),a[e]=n}}else a[e]=n;let o={...r,...a},s=this.validate(o);if(s&&`value`in s){let e=s.value,n=this.#h(l(this.#d),t,e,!0);if(H(this.#d,n,!0),this.#n.updateURL&&!we){if(this.#n.compress)this.#g(e);else{let n=this.#h(l(this.#d),t,e,!1);this.#_(n)}}}}has(e){return e in this.#t}reset(e){if(this.#p(),e===void 0?this.#n.showDefaults:e){let e={};for(let[t,n]of Object.entries(this.#r))n!=null&&(e[t]=n);let t=new Oe;for(let[n,r]of Object.entries(e)){let e=this.#v(r,n);t.set(n,e)}if(H(this.#d,t,!0),this.#n.updateURL&&!we){let t=new URLSearchParams;for(let[n,r]of Object.entries(e)){let e=this.#v(r,n);t.set(n,e)}this.#_(t)}}else H(this.#d,new Oe,!0),this.#n.updateURL&&!we&&Te(`?`,{replaceState:!0,noScroll:this.#n.noScroll})}validate(e){return this.#e[`~standard`].validate(e)}#m(e,t){return t?new Oe(e.toString()):new URLSearchParams(e.toString())}#h(e,t,n,r){let i=this.#m(e,r);for(let e of Object.keys(t)){if(!this.has(e))continue;let t=n[e],r=!this.#n.showDefaults&&ot(t,this.#r[e]);if(t==null||r)i.delete(e);else{let n=this.#v(t,e);i.set(e,n)}}return i}#g(e){try{let t={...e};for(let n of[...this.#a,...this.#c]){let r=e[n];r!=null&&(t[n]=this.#v(r,n))}let n=JSON.stringify(t),r=st.compressToEncodedURIComponent(n),i=new URLSearchParams,a=this.#n.compressedParamName||`_data`;i.set(a,r),this.#_(i)}catch(t){console.error(`Error compressing data, falling back to normal mode`,t);let n=new URLSearchParams;for(let[t,r]of Object.entries(e)){if(r==null)continue;let e=this.#v(r,t);n.set(t,e)}this.#_(n)}}#_(e){let t=()=>{let t=this.#n.pushHistory?{keepFocus:!0}:{replaceState:!0,keepFocus:!0};Te(`?`+e.toString(),{...t,noScroll:this.#n.noScroll})};this.#n.debounce&&this.#n.debounce>0?(this.#u&&clearTimeout(this.#u),this.#u=setTimeout(t,this.#n.debounce)):t()}#v(e,t){return lt(e,t||``,this.#o,this.#s)}#y(e){let t=this.#n.compressedParamName||`_data`;if(this.#n.compress&&e.has(t)){try{let n=e.get(t)||``,r=st.decompressFromEncodedURIComponent(n);if(r)try{return JSON.parse(r)}catch(e){return console.error(`Failed to parse decompressed data`,e),{}}}catch(e){console.error(`Error decompressing data`,e)}return{}}return ut(e,{numberFields:this.#i,arrayFields:this.#l,dateFields:this.#a,codecFields:this.#c})}#b(e){let t=this.#y(l(this.#d)),n=this.validate(t);if(n instanceof Promise)throw Error(`Async validation is not supported in validateSearchParams`);if(n&&`value`in n)return n.value[e];if(n&&`issues`in n){let r=this.validate({}),i=r&&`value`in r?r.value:{},a=Object.fromEntries(Object.entries(t).filter(([e])=>!n.issues?.some(t=>t.path?.includes(e))));return{...typeof i==`object`&&i?i:{},...a}[e]}}#x(e,t){if(this.#p(),!this.has(e))return;let n=this.#y(l(this.#d)),r=n[e];if(typeof r!=`object`&&typeof t!=`object`&&r!==null&&t!==null?r===t:ot(r,t))return;let i=t;if(this.#s.has(e)){let n=this.#s.get(e);try{i=n(t)}catch(t){console.error(`Error encoding value for field "${e}"`,t)}}let a={...n,[e]:i},o=this.validate(a);if(o&&`value`in o){let n=o.value,r={[e]:t},i=this.#h(l(this.#d),r,n,!0);if(H(this.#d,i,!0),this.#n.updateURL&&!we){if(this.#n.compress)this.#g(n);else{let e=this.#h(l(this.#d),r,n,!1);this.#_(e)}}}}};function mt(e){return{"~standard":{version:1,vendor:``,validate:t=>{let n={},r=[];for(let[t,r]of Object.entries(e))n[t]=r.default===void 0?null:r.default;if(t&&typeof t==`object`)for(let[i,a]of Object.entries(e)){let e=t[i];if(e!==void 0)try{switch(a.type){case`number`:{let t=typeof e==`number`?e:Number(e);typeof t!=`number`||!Number.isFinite(t)?r.push({message:`Invalid number for "${i}"`,path:[i]}):n[i]=t;break}case`boolean`:typeof e==`boolean`||e===`true`||e===`false`?n[i]=typeof e==`boolean`?e:e===`true`:r.push({message:`Invalid boolean for "${i}"`,path:[i]});break;case`date`:{let t=null;if(e instanceof Date)t=e;else if(typeof e==`string`&&e.trim()!==``){let n=new Date(e);isNaN(n.getTime())||(t=n)}t?n[i]=t:r.push({message:`Invalid date for "${i}"`,path:[i]});break}case`array`:Array.isArray(e)?n[i]=e:r.push({message:`Invalid array for "${i}"`,path:[i]});break;case`object`:typeof e==`object`&&e&&!Array.isArray(e)?n[i]=e:r.push({message:`Invalid object for "${i}"`,path:[i]});break;default:n[i]=String(e)}}catch(e){r.push({message:`Error parsing "${i}": ${e.message}`,path:[i]})}}return r.length>0?{issues:r}:{value:n}},types:{input:{},output:{}}},__dateFormats:Object.entries(e).reduce((e,[t,n])=>(n.type===`date`&&n.dateFormat&&(e[t]=n.dateFormat),e),{})}}function ht(e,t={}){let n=new pt(e,t),r=new ct,i=!1;return T(()=>{if(!(!r.current||we)){if(!i&&t.updateURL!==!1){let t=ft(e),n=ut(ke.url.searchParams,{numberFields:t.numberFields,dateFields:t.dateFields,codecFields:t.codecFields,arrayFields:t.arrayFields}),r=e[`~standard`].validate(n);if(r&&`issues`in r&&Array.isArray(r.issues)&&r.issues.length>0){let e=r.issues.map(e=>Array.isArray(e.path)&&e.path.length>0?e.path[0]:null).filter(Boolean);if(e.length>0){let t=new URLSearchParams(ke.url.searchParams.toString());for(let n of e)t.delete(String(n));Te(`?`+t.toString(),{replaceState:!0})}}}if(!i&&t.showDefaults){let r=ft(e);if(r.keys.length>0){let e=new Map(r.dateFormats);if(t.dateFormats)for(let[n,r]of Object.entries(t.dateFormats))e.set(n,r);if(t.compress)n.update(r.defaultValues);else{let t=ut(ke.url.searchParams,{numberFields:r.numberFields,dateFields:r.dateFields,codecFields:r.codecFields,arrayFields:r.arrayFields}),n=new URLSearchParams(ke.url.searchParams.toString()),i=!1;for(let[a,o]of Object.entries(r.defaultValues)){if(a in t||(i=!0,o==null))continue;let r=lt(o,a,e);n.set(a,r)}i&&Te(`?`+n.toString(),{replaceState:!0})}}}i=!0}}),T(()=>{if(!r.current||we||t.updateURL===!1)return;let e=ke.url.searchParams;i&&n.syncFromURL(e)}),!we&&t.debounce&&t.debounce>0&&T(()=>()=>{n.cleanup()}),new Proxy(n,{get:(t,n)=>n===`reset`?function(e){return t.reset(e)}:n===`update`?function(e){return t.update(e)}:n===`cleanup`?function(){return t.cleanup()}:n===`toURLSearchParams`?function(){let n=new URLSearchParams,r=e[`~standard`].validate({});if(r&&`value`in r){let e=r.value,i={...e};for(let n of Object.keys(e))if(typeof n==`string`&&t.has(n)){let e=t.get(n);e!==void 0&&(i[n]=e)}for(let[e,t]of Object.entries(i)){if(t==null)continue;let r;r=Array.isArray(t)||typeof t==`object`&&t?JSON.stringify(t):String(t),n.set(e,r)}}return n}:typeof n==`string`&&t.has(n)?t.get(n):Reflect.get(t,n),set:(e,t,n)=>typeof t==`string`&&e.has(t)?(e.set(t,n),!0):Reflect.set(e,t,n)})}var gt=new Set([`$$slots`,`$$events`,`$$legacy`]);function _t(e,t){let n=D(t,gt),r=[[`path`,{d:`m6 9 6 6 6-6`}]];Ie(e,B({name:`chevron-down`},()=>n,{get iconNode(){return r}}))}var vt=new Set([`$$slots`,`$$events`,`$$legacy`]);function yt(e,t){let n=D(t,vt),r=[[`path`,{d:`m9 18 6-6-6-6`}]];Ie(e,B({name:`chevron-right`},()=>n,{get iconNode(){return r}}))}var bt=new Set([`$$slots`,`$$events`,`$$legacy`]);function xt(e,t){let n=D(t,bt),r=[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`}]];Ie(e,B({name:`folder`},()=>n,{get iconNode(){return r}}))}var St=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ct(e,t){let n=D(t,St),r=[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`}]];Ie(e,B({name:`folder-open`},()=>n,{get iconNode(){return r}}))}var wt=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Tt=(e,t)=>({classGroupId:e,validator:t}),Et=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Dt=`-`,Ot=[],kt=`arbitrary..`,At=e=>{let t=Nt(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Mt(e);let n=e.split(Dt);return jt(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?wt(i,t):t:i||Ot}return n[e]||Ot}}},jt=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=jt(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Dt):e.slice(t).join(Dt),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Mt=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?kt+r:void 0})(),Nt=e=>{let{theme:t,classGroups:n}=e;return Pt(n,t)},Pt=(e,t)=>{let n=Et();for(let r in e){let i=e[r];Ft(i,n,r,t)}return n},Ft=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];It(i,t,n,r)}},It=(e,t,n,r)=>{if(typeof e==`string`){Lt(e,t,n);return}if(typeof e==`function`){Rt(e,t,n,r);return}zt(e,t,n,r)},Lt=(e,t,n)=>{let r=e===``?t:Bt(t,e);r.classGroupId=n},Rt=(e,t,n,r)=>{if(Vt(e)){Ft(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Tt(n,e))},zt=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Ft(o,Bt(t,a),n,r)}},Bt=(e,t)=>{let n=e,r=t.split(Dt),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Et(),n.nextPart.set(t,i)),n=i}return n},Vt=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,Ht=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Ut=`!`,Wt=`:`,Gt=[],Kt=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),qt=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===Wt){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Ut)?(c=s.slice(0,-1),l=!0):s.startsWith(Ut)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Kt(t,l,c,u)};if(t){let e=t+Wt,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Kt(Gt,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Jt=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Yt=e=>({cache:Ht(e.cacheSize),parseClassName:qt(e),sortModifiers:Jt(e),postfixLookupClassGroupIds:Xt(e),...At(e)}),Xt=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},Zt=/\s+/,Qt=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(Zt),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+Ut:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},$t=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=en(n))&&(i&&(i+=` `),i+=r);return i},en=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=en(e[r]))&&(n&&(n+=` `),n+=t);return n},tn=(e,...t)=>{let n,r,i,a,o=o=>(n=Yt(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=Qt(e,n);return i(e,a),a};return a=o,(...e)=>a($t(...e))},nn=[],rn=e=>{let t=t=>t[e]||nn;return t.isThemeGetter=!0,t},an=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,on=/^\((?:(\w[\w-]*):)?(.+)\)$/i,sn=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,cn=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ln=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,un=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,dn=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,fn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pn=e=>sn.test(e),mn=e=>!!e&&!Number.isNaN(Number(e)),hn=e=>!!e&&Number.isInteger(Number(e)),gn=e=>e.endsWith(`%`)&&mn(e.slice(0,-1)),_n=e=>cn.test(e),vn=()=>!0,yn=e=>ln.test(e)&&!un.test(e),bn=()=>!1,xn=e=>dn.test(e),Sn=e=>fn.test(e),Cn=e=>!K(e)&&!q(e),wn=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),Tn=e=>Bn(e,Wn,bn),K=e=>an.test(e),En=e=>Bn(e,Gn,yn),Dn=e=>Bn(e,Kn,mn),On=e=>Bn(e,Jn,vn),kn=e=>Bn(e,qn,bn),An=e=>Bn(e,Hn,bn),jn=e=>Bn(e,Un,Sn),Mn=e=>Bn(e,Yn,xn),q=e=>on.test(e),Nn=e=>Vn(e,Gn),Pn=e=>Vn(e,qn),Fn=e=>Vn(e,Hn),In=e=>Vn(e,Wn),Ln=e=>Vn(e,Un),Rn=e=>Vn(e,Yn,!0),zn=e=>Vn(e,Jn,!0),Bn=(e,t,n)=>{let r=an.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Vn=(e,t,n=!1)=>{let r=on.exec(e);return r?r[1]?t(r[1]):n:!1},Hn=e=>e===`position`||e===`percentage`,Un=e=>e===`image`||e===`url`,Wn=e=>e===`length`||e===`size`||e===`bg-size`,Gn=e=>e===`length`,Kn=e=>e===`number`,qn=e=>e===`family-name`,Jn=e=>e===`number`||e===`weight`,Yn=e=>e===`shadow`,Xn=tn(()=>{let e=rn(`color`),t=rn(`font`),n=rn(`text`),r=rn(`font-weight`),i=rn(`tracking`),a=rn(`leading`),o=rn(`breakpoint`),s=rn(`container`),c=rn(`spacing`),l=rn(`radius`),u=rn(`shadow`),d=rn(`inset-shadow`),f=rn(`text-shadow`),p=rn(`drop-shadow`),m=rn(`blur`),h=rn(`perspective`),g=rn(`aspect`),_=rn(`ease`),v=rn(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),q,K],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[q,K,c],T=()=>[pn,`full`,`auto`,...w()],E=()=>[hn,`none`,`subgrid`,q,K],ee=()=>[`auto`,{span:[`full`,hn,q,K]},hn,q,K],te=()=>[hn,`auto`,q,K],D=()=>[`auto`,`min`,`max`,`fr`,q,K],O=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],k=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],A=()=>[`auto`,...w()],ne=()=>[pn,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],re=()=>[pn,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],j=()=>[pn,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],M=()=>[e,q,K],N=()=>[...b(),Fn,An,{position:[q,K]}],ie=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],P=()=>[`auto`,`cover`,`contain`,In,Tn,{size:[q,K]}],ae=()=>[gn,Nn,En],F=()=>[``,`none`,`full`,l,q,K],I=()=>[``,mn,Nn,En],L=()=>[`solid`,`dashed`,`dotted`,`double`],R=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],z=()=>[mn,gn,Fn,An],oe=()=>[``,`none`,m,q,K],se=()=>[`none`,mn,q,K],ce=()=>[`none`,mn,q,K],le=()=>[mn,q,K],B=()=>[pn,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[_n],breakpoint:[_n],color:[vn],container:[_n],"drop-shadow":[_n],ease:[`in`,`out`,`in-out`],font:[Cn],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[_n],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[_n],shadow:[_n],spacing:[`px`,mn],text:[_n],"text-shadow":[_n],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,pn,K,q,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,q,K]}],"container-named":[wn],columns:[{columns:[mn,K,q,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[hn,`auto`,q,K]}],basis:[{basis:[pn,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[mn,pn,`auto`,`initial`,`none`,K]}],grow:[{grow:[``,mn,q,K]}],shrink:[{shrink:[``,mn,q,K]}],order:[{order:[hn,`first`,`last`,`none`,q,K]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:ee()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:ee()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":D()}],"auto-rows":[{"auto-rows":D()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...O(),`normal`]}],"justify-items":[{"justify-items":[...k(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...k()]}],"align-content":[{content:[`normal`,...O()]}],"align-items":[{items:[...k(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...k(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":O()}],"place-items":[{"place-items":[...k(),`baseline`]}],"place-self":[{"place-self":[`auto`,...k()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mbs:[{mbs:A()}],mbe:[{mbe:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:ne()}],"inline-size":[{inline:[`auto`,...re()]}],"min-inline-size":[{"min-inline":[`auto`,...re()]}],"max-inline-size":[{"max-inline":[`none`,...re()]}],"block-size":[{block:[`auto`,...j()]}],"min-block-size":[{"min-block":[`auto`,...j()]}],"max-block-size":[{"max-block":[`none`,...j()]}],w:[{w:[s,`screen`,...ne()]}],"min-w":[{"min-w":[s,`screen`,`none`,...ne()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...ne()]}],h:[{h:[`screen`,`lh`,...ne()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...ne()]}],"max-h":[{"max-h":[`screen`,`lh`,...ne()]}],"font-size":[{text:[`base`,n,Nn,En]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,zn,On]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,gn,K]}],"font-family":[{font:[Pn,kn,t]}],"font-features":[{"font-features":[K]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,q,K]}],"line-clamp":[{"line-clamp":[mn,`none`,q,Dn]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,q,K]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,q,K]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...L(),`wavy`]}],"text-decoration-thickness":[{decoration:[mn,`from-font`,`auto`,q,En]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[mn,`auto`,q,K]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[hn,q,K]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,q,K]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,q,K]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:N()}],"bg-repeat":[{bg:ie()}],"bg-size":[{bg:P()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},hn,q,K],radial:[``,q,K],conic:[hn,q,K]},Ln,jn]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:F()}],"rounded-s":[{"rounded-s":F()}],"rounded-e":[{"rounded-e":F()}],"rounded-t":[{"rounded-t":F()}],"rounded-r":[{"rounded-r":F()}],"rounded-b":[{"rounded-b":F()}],"rounded-l":[{"rounded-l":F()}],"rounded-ss":[{"rounded-ss":F()}],"rounded-se":[{"rounded-se":F()}],"rounded-ee":[{"rounded-ee":F()}],"rounded-es":[{"rounded-es":F()}],"rounded-tl":[{"rounded-tl":F()}],"rounded-tr":[{"rounded-tr":F()}],"rounded-br":[{"rounded-br":F()}],"rounded-bl":[{"rounded-bl":F()}],"border-w":[{border:I()}],"border-w-x":[{"border-x":I()}],"border-w-y":[{"border-y":I()}],"border-w-s":[{"border-s":I()}],"border-w-e":[{"border-e":I()}],"border-w-bs":[{"border-bs":I()}],"border-w-be":[{"border-be":I()}],"border-w-t":[{"border-t":I()}],"border-w-r":[{"border-r":I()}],"border-w-b":[{"border-b":I()}],"border-w-l":[{"border-l":I()}],"divide-x":[{"divide-x":I()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":I()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...L(),`hidden`,`none`]}],"divide-style":[{divide:[...L(),`hidden`,`none`]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...L(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[mn,q,K]}],"outline-w":[{outline:[``,mn,Nn,En]}],"outline-color":[{outline:M()}],shadow:[{shadow:[``,`none`,u,Rn,Mn]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":[`none`,d,Rn,Mn]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:I()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[mn,En]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":I()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":[`none`,f,Rn,Mn]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[mn,q,K]}],"mix-blend":[{"mix-blend":[...R(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":R()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[mn]}],"mask-image-linear-from-pos":[{"mask-linear-from":z()}],"mask-image-linear-to-pos":[{"mask-linear-to":z()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":z()}],"mask-image-t-to-pos":[{"mask-t-to":z()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":z()}],"mask-image-r-to-pos":[{"mask-r-to":z()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":z()}],"mask-image-b-to-pos":[{"mask-b-to":z()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":z()}],"mask-image-l-to-pos":[{"mask-l-to":z()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":z()}],"mask-image-x-to-pos":[{"mask-x-to":z()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":z()}],"mask-image-y-to-pos":[{"mask-y-to":z()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[q,K]}],"mask-image-radial-from-pos":[{"mask-radial-from":z()}],"mask-image-radial-to-pos":[{"mask-radial-to":z()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[mn]}],"mask-image-conic-from-pos":[{"mask-conic-from":z()}],"mask-image-conic-to-pos":[{"mask-conic-to":z()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:N()}],"mask-repeat":[{mask:ie()}],"mask-size":[{mask:P()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,q,K]}],filter:[{filter:[``,`none`,q,K]}],blur:[{blur:oe()}],brightness:[{brightness:[mn,q,K]}],contrast:[{contrast:[mn,q,K]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Rn,Mn]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:[``,mn,q,K]}],"hue-rotate":[{"hue-rotate":[mn,q,K]}],invert:[{invert:[``,mn,q,K]}],saturate:[{saturate:[mn,q,K]}],sepia:[{sepia:[``,mn,q,K]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,q,K]}],"backdrop-blur":[{"backdrop-blur":oe()}],"backdrop-brightness":[{"backdrop-brightness":[mn,q,K]}],"backdrop-contrast":[{"backdrop-contrast":[mn,q,K]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,mn,q,K]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[mn,q,K]}],"backdrop-invert":[{"backdrop-invert":[``,mn,q,K]}],"backdrop-opacity":[{"backdrop-opacity":[mn,q,K]}],"backdrop-saturate":[{"backdrop-saturate":[mn,q,K]}],"backdrop-sepia":[{"backdrop-sepia":[``,mn,q,K]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,q,K]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[mn,`initial`,q,K]}],ease:[{ease:[`linear`,`initial`,_,q,K]}],delay:[{delay:[mn,q,K]}],animate:[{animate:[`none`,v,q,K]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,q,K]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:se()}],"rotate-x":[{"rotate-x":se()}],"rotate-y":[{"rotate-y":se()}],"rotate-z":[{"rotate-z":se()}],scale:[{scale:ce()}],"scale-x":[{"scale-x":ce()}],"scale-y":[{"scale-y":ce()}],"scale-z":[{"scale-z":ce()}],"scale-3d":[`scale-3d`],skew:[{skew:le()}],"skew-x":[{"skew-x":le()}],"skew-y":[{"skew-y":le()}],transform:[{transform:[q,K,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:B()}],"translate-x":[{"translate-x":B()}],"translate-y":[{"translate-y":B()}],"translate-z":[{"translate-z":B()}],"translate-none":[`translate-none`],zoom:[{zoom:[hn,q,K]}],accent:[{accent:M()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:M()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,q,K]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":M()}],"scrollbar-track-color":[{"scrollbar-track":M()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,q,K]}],fill:[{fill:[`none`,...M()]}],"stroke-w":[{stroke:[mn,Nn,En,Dn]}],stroke:[{stroke:[`none`,...M()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function J(...e){return Xn(ee(e))}var Zn=new Set([`$$slots`,`$$events`,`$$legacy`,`class`]),Qn=g(`<svg><path class="fill-current" d="M87.3,14.8L87.3,14.8C76.9-0.1,56.3-4.5,41.5,5L15.4,21.6c-7.1,4.5-12,11.8-13.5,20c-1.2,6.9-0.2,14,3.1,20.2
|
|
3
|
+
c-2.2,3.4-3.8,7.2-4.5,11.2C-1,81.5,1,90.2,5.9,97.2c10.4,14.9,30.9,19.3,45.8,9.8l26.1-16.6c7.1-4.5,12-11.8,13.5-20
|
|
4
|
+
c1.2-6.9,0.2-14-3.1-20.2c2.2-3.4,3.8-7.2,4.5-11.2C94.2,30.5,92.2,21.8,87.3,14.8z M79.8,36.2c-0.2,0.8-0.4,1.6-0.6,2.4l-0.5,1.5
|
|
5
|
+
l-1.3-1c-3.1-2.3-6.5-4-10.2-5.1l-1-0.3l0.1-1c0.1-1.4-0.3-2.7-1.1-3.9c-1.5-2.2-4.2-3.1-6.7-2.5c-0.6,0.2-1.1,0.4-1.6,0.7
|
|
6
|
+
L30.8,43.7c-1.3,0.8-2.2,2.1-2.4,3.6c-0.3,1.5,0.1,3.1,1,4.4c1.5,2.2,4.2,3.1,6.7,2.5c0.6-0.2,1.1-0.4,1.6-0.7l10-6.3
|
|
7
|
+
c1.6-1,3.4-1.8,5.3-2.3c8.4-2.2,17.3,1.1,22.2,8.2c3,4.2,4.2,9.4,3.3,14.5c-0.9,5-3.8,9.4-8.1,12.1L44.2,96.3
|
|
8
|
+
c-1.6,1-3.4,1.8-5.3,2.3h0c-8.4,2.2-17.3-1.1-22.2-8.2c-3-4.2-4.2-9.4-3.3-14.5c0.2-0.8,0.4-1.6,0.6-2.4l0.5-1.5l1.3,1
|
|
9
|
+
c3.1,2.3,6.5,4,10.2,5.1l1,0.3l-0.1,1c-0.1,1.4,0.3,2.8,1.1,3.9c1.5,2.2,4.2,3.1,6.7,2.5c0.6-0.2,1.1-0.4,1.6-0.7l26.1-16.6
|
|
10
|
+
c1.3-0.8,2.2-2.1,2.5-3.6c0.3-1.5-0.1-3.1-1-4.4c-1.5-2.2-4.2-3.1-6.7-2.5c-0.6,0.2-1.1,0.4-1.6,0.7l-10,6.3c-1.6,1-3.4,1.8-5.3,2.3
|
|
11
|
+
C31.9,69.4,23,66.1,18,58.9c-3-4.2-4.2-9.4-3.3-14.5c0.9-5,3.8-9.4,8.1-12.1L49,15.7c1.6-1,3.4-1.8,5.3-2.3
|
|
12
|
+
c8.4-2.2,17.3,1.1,22.2,8.2C79.5,25.9,80.7,31.1,79.8,36.2z"></path></svg>`);function $n(e,t){let n=D(t,Zn);var r=Qn();j(r,()=>({version:`1.1`,id:`Layer_1`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,x:`0px`,y:`0px`,class:t.class,viewBox:`0 0 93.2 112`,style:`enable-background:new 0 0 93.2 112;`,"xml:space":`preserve`,...n})),R(e,r)}var er=m(`<ul class="flex flex-col gap-px"></ul>`),tr=m(`<button type="button"><span class="flex size-4 shrink-0 items-center justify-center opacity-50 transition-opacity group-hover:opacity-100"><!></span> <!> <span class="truncate"> </span></button> <!>`,1),nr=m(`<div class="absolute top-0 bottom-0 left-0 w-0.5 bg-svelte"></div>`),rr=m(`<a><!> <!> <span class="truncate"> </span></a>`),ir=m(`<li class="list-none"><!></li>`);function ar(t,n){P(n,!0);let i=L(n,`depth`,3,0),a=L(n,`selectedFile`,3,null),s=L(n,`searchActive`,3,!1),c=O(!1),u=O(!1),f=V(()=>n.node.type===`directory`),p=V(()=>n.node.type===`file`&&a()===n.node.path),m=V(()=>n.node.type===`directory`&&!!a()&&(a()===n.node.path||a().startsWith(`${n.node.path}/`))),g=V(()=>l(f)?n.node.items:[]),y=V(()=>s()||l(m)||l(c)||!l(u)&&i()<1);function b(){if(l(f)){if(l(y)){H(c,!1),H(u,!0);return}H(u,!1),H(c,!0)}}function x(e){return`${.5+e*1}rem`}var S=ir(),C=E(S),w=t=>{var c=tr(),u=_(c),f=E(u),p=E(f),S=e=>{_t(e,{class:`size-3`})},C=e=>{yt(e,{class:`size-3`})};o(p,e=>{l(y)?e(S):e(C,-1)}),W(f);var w=N(f,2),T=e=>{Ct(e,{class:`size-3.5 shrink-0`})},ee=e=>{xt(e,{class:`size-3.5 shrink-0`})};o(w,e=>{l(y)||l(m)?e(T):e(ee,-1)});var te=N(w,2),D=e(te,!0);W(u);var O=N(u,2),k=e=>{var t=er();r(t,21,()=>l(g),e=>e.path,(e,t)=>{{let r=V(()=>i()+1);ar(e,{get node(){return l(t)},get depth(){return l(r)},get selectedFile(){return a()},get searchActive(){return s()},get toEmailHref(){return n.toEmailHref}})}}),W(t),R(e,t)};o(O,e=>{l(y)&&l(g).length>0&&e(k)}),d((e,t)=>{I(u,1,e),ce(u,t),ue(u,`aria-expanded`,l(y)),h(D,n.node.name)},[()=>ae(J(`group flex w-full items-center gap-2 py-1.5 pr-3 text-left text-xs transition-colors`,l(m)?`font-medium text-foreground`:`text-muted-foreground hover:text-foreground`)),()=>`padding-left: ${x(i())};`]),v(`click`,u,b),R(t,c)},T=t=>{var r=rr(),a=E(r),s=e=>{var t=nr();R(e,t)};o(a,e=>{l(p)&&e(s)});var c=N(a,2);{let e=V(()=>J(`size-3.5 shrink-0`,l(p)?`text-svelte`:`opacity-70 group-hover:opacity-100`));$n(c,{get class(){return l(e)}})}var u=N(c,2),f=e(u,!0);W(r),d((e,t,i)=>{ue(r,`href`,e),I(r,1,t),ce(r,i),ue(r,`aria-current`,l(p)?`page`:void 0),h(f,n.node.name)},[()=>n.toEmailHref(n.node.path),()=>ae(J(`group relative flex w-full items-center gap-2 py-1.5 pr-3 text-left text-xs transition-colors`,l(p)?`bg-foreground font-medium text-background`:`text-muted-foreground hover:bg-muted/50 hover:text-foreground`)),()=>`padding-left: ${x(i())}`]),R(t,r)};o(C,e=>{l(f)?e(w):e(T,-1)}),W(S),R(t,S),M()}f([`click`]);var or=new Set([`$$slots`,`$$events`,`$$legacy`]);function sr(e,t){let n=D(t,or),r=[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`}]];Ie(e,B({name:`mail`},()=>n,{get iconNode(){return r}}))}var cr=Array.isArray,lr=e=>{if(!e&&e!==0&&e!==0n)return``;if(typeof e==`string`)return e;if(typeof e==`number`)return e===e?``+e:``;if(typeof e==`bigint`)return``+e;let t=``;if(cr(e)){let n=e.length;for(let r=0;r<n;r++){let n=e[r];if(!n&&n!==0&&n!==0n)continue;let i=typeof n==`string`?n:lr(n);i&&(t&&(t+=` `),t+=i)}return t}if(typeof e==`object`)for(let n in e)e[n]&&(t&&(t+=` `),t+=n);return t},ur=/\s+/g,dr=Array.isArray,fr=e=>typeof e!=`string`||!e?e:e.replace(ur,` `).trim(),pr=e=>{let t=e.length;if(t===0)return!1;let n=e.charCodeAt(0),r=e.charCodeAt(t-1);if(n===32||r===32||n>=9&&n<=13||n===160||r>=9&&r<=13||r===160)return!0;for(let n=0;n<t;n++){let r=e.charCodeAt(n);if(r>=9&&r<=13||r===160||r===32&&n+1<t&&e.charCodeAt(n+1)===32)return!0}return!1},mr=(...e)=>{let t=lr(e);if(t)return pr(t)?fr(t):t},hr=e=>e===!1?`false`:e===!0?`true`:e===0?`0`:e,gr=e=>{if(!e||typeof e!=`object`)return!0;for(let t in e)return!1;return!0},_r=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;let n=e,r=t,i=Object.keys(n),a=Object.keys(r);if(i.length!==a.length)return!1;for(let e=0;e<i.length;e++){let t=i[e];if(!a.includes(t)||n[t]!==r[t])return!1}return!0},vr=(e,t)=>{let n=e;for(let e in t)if(Object.hasOwn(t,e)){let r=t[e];n[e]=e in n?mr(n[e],r):r}return e},yr=(e,t)=>{for(let n=0;n<e.length;n++){let r=e[n];dr(r)?yr(r,t):r&&t.push(r)}},br=(...e)=>{let t=[];yr(e,t);let n=[];for(let e=0;e<t.length;e++)t[e]&&n.push(t[e]);return n},xr=(e,t)=>{let n=e,r=t,i={};for(let e in n){let t=n[e];if(e in r){let n=r[e];i[e]=dr(t)||dr(n)?br(n,t):typeof t==`object`&&typeof n==`object`&&t&&n?xr(t,n):n+` `+t}else i[e]=t}for(let e in r)e in n||(i[e]=r[e]);return i},Sr={twMerge:!0,twMergeConfig:{}},Cr=256,wr=128,Tr=Symbol(`tv-cache-miss`),Er=e=>e?.class!=null&&e.class!==``||e?.className!=null&&e.className!==``,Dr=e=>{if(e===void 0)return``;if(e===null)return`null`;if(typeof e==`string`)return e;if(typeof e==`boolean`)return e?`true`:`false`;if(typeof e==`number`)return e===0?`0`:String(e);if(typeof e==`bigint`)return String(e);let t=hr(e),n=typeof t;if(n===`string`||n===`number`||n===`boolean`||n===`bigint`)return String(t);if(n===`object`)try{return JSON.stringify(t)}catch{return null}return null},Or=(e,t)=>{if(t===void 0)return e;if(t===null)return e+`null`;let n=typeof t;if(n===`string`||n===`number`||n===`boolean`||n===`bigint`)return e+String(t);if(Array.isArray(t))return e+t.join(`\0`);try{return e+JSON.stringify(t)}catch{return e+`?`}},kr=(e,t,n,r)=>{let i=``,a=Object.create(null);for(let r=0;r<e.length;r++){let o=e[r];a[o]=1;let s=t[o];n&&n[o]!==void 0&&(s=n[o]);let c=Dr(s);if(c===null)return null;i+=o+`:`+c+`;`}let o=[];for(let e in t)e===`class`||e===`className`||a[e]||(a[e]=1,o.push(e));if(n)for(let e in n)e===`class`||e===`className`||a[e]||n[e]===void 0||(a[e]=1,o.push(e));o.length>1&&o.sort();for(let e=0;e<o.length;e++){let r=o[e],a=t[r];n&&n[r]!==void 0&&(a=n[r]);let s=Dr(a);if(s===null)return null;i+=r+`:`+s+`;`}return i},Ar=(e,t)=>{let n=``;for(let t=0;t<e.length;t++){let{conditionKeys:r,source:i}=e[t];for(let e=0;e<r.length;e++){let t=r[e];n+=t+`=`,n=Or(n,i[t]),n+=`,`}n+=`c=`,n=Or(n,i.class),n+=`|cn=`,n=Or(n,i.className),n+=`;`}for(let e=0;e<t.length;e++){let{conditionKeys:r,source:i}=t[e];for(let e=0;e<r.length;e++){let t=r[e];n+=t+`=`,n=Or(n,i[t]),n+=`,`}Array.isArray(i.slots)&&(n+=`slots=`+i.slots.join(`,`)+`,`),n+=`c=`,n=Or(n,i.class),n+=`|cn=`,n=Or(n,i.className),n+=`;`}return n},jr=(e=Cr)=>{let t=new Map,n=null;return{get(e){if(t.has(e))return t.get(e);if(n?.has(e)){let r=n.get(e);return t.set(e,r),r}return Tr},set(r,i){t.size>=e&&(n=t,t=new Map),t.set(r,i)}}},Mr=(e=Cr)=>{let t=jr(e);return{get(e){return t.get(e)},set(e,n){t.set(e,n)}}},Nr=(e=wr)=>{let t=new Map,n=null,r=0;return{get(e,i){let a=t.get(e);if(a){let e=a.get(i);if(e!==void 0||a.has(i))return e}if(n){let a=n.get(e);if(a){let n=a.get(i);if(n!==void 0||a.has(i)){let a=t.get(e);return a||(a=new Map,t.set(e,a)),a.has(i)||r++,a.set(i,n),n}}}return Tr},set(i,a,o){r>=e&&(n=t,t=new Map,r=0);let s=t.get(i);s||(s=new Map,t.set(i,s)),s.has(a)||r++,s.set(a,o)}}},Pr=(e,t)=>{let n=null;return(r,i)=>{if(!Er(i))return r;let a=i.class,o=i.className;if(a!=null&&a!==``&&typeof a!=`string`||o!=null&&o!==``&&typeof o!=`string`)return e(t,r,a,o);n??=Nr();let s=r??``,c=(typeof a==`string`?a:``)+`\0`+(typeof o==`string`?o:``),l=n.get(s,c);if(l!==Tr)return l;let u=e(t,r,a,o);return n.set(s,c,u),u}};function Fr(){let e=null,t={},n=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(t){e=t},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(e){t=e},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(e){n=e},reset(){e=null,t={},n=!1}}}var Ir=Fr(),Lr=e=>{!gr(e.twMergeConfig)&&!_r(e.twMergeConfig,Ir.cachedTwMergeConfig)&&(Ir.didTwMergeConfigChange=!0,Ir.cachedTwMergeConfig=e.twMergeConfig)},Rr=(e,t)=>{let n=[];for(let r=0;r<t.length;r++){let i=t[r],a=e[i];n.push({key:i,values:a,isEmpty:gr(a)})}return n},zr=e=>{if(!Array.isArray(e)||e.length===0)return[];let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=[];for(let e in r)e!==`class`&&e!==`className`&&i.push(e);t.push({conditionKeys:i,source:r})}return t},Br=e=>{if(!Array.isArray(e)||e.length===0)return[];let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=[];for(let e in r)e!==`slots`&&e!==`class`&&e!==`className`&&i.push(e);t.push({conditionKeys:i,source:r})}return t},Vr=e=>{let t={};for(let n=0;n<e.length;n++){let r=e[n],i=r.source.slots;if(Array.isArray(i))for(let e=0;e<i.length;e++){let n=i[e];t[n]||(t[n]=[]),t[n].push(r)}}return t},Hr=(e,t)=>{let{extend:n=null,slots:r={},variants:i={},compoundVariants:a=[],compoundSlots:o=[],defaultVariants:s={}}=e,c={...Sr,...t},l=e.slots!==void 0,u=n?.base?mr(n.base,e?.base):e?.base,d=n?.variants&&!gr(n.variants)?xr(i,n.variants):i,f=n?.defaultVariants&&!gr(n.defaultVariants)?{...n.defaultVariants,...s}:s;Lr(c);let p=!n?.slots||gr(n.slots),m=l?p&&n?.base?mr(e?.base,n.base):typeof e?.base==`string`||e?.base==null?e.base:mr(e.base):void 0,h=l?{base:m,...r}:{},g=p?h:vr({...n?.slots},gr(h)?{base:e?.base}:h),_=!n?.compoundVariants||gr(n.compoundVariants)?a:br(n?.compoundVariants,a),v=!n?.compoundSlots||gr(n.compoundSlots)?o:br(n?.compoundSlots,o),y=Object.keys(d);return{config:c,extend:n,base:u,variants:d,defaultVariants:f,slots:g,compoundVariants:_,compoundSlots:v,compiledVariants:null,compiledCompoundVariants:null,compiledCompoundSlots:null,compiledCompoundSlotsBySlot:null,deferredError:_&&!Array.isArray(_)?TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof _}`):v&&!Array.isArray(v)?TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof v}`):null,mode:l||!p?`slots`:y.length===0?`plain`:`variants`,slotKeys:null,variantKeys:y}},Ur=e=>e.compiledVariants===null?(e.compiledVariants=Rr(e.variants,e.variantKeys),e.compiledCompoundVariants=zr(e.compoundVariants),e.compiledCompoundSlots=Br(e.compoundSlots),e.compiledCompoundSlotsBySlot=Vr(e.compiledCompoundSlots),e.slotKeys=e.slots&&typeof e.slots==`object`?Object.keys(e.slots):[],e):e,Wr=[],Gr=[],Kr=[],qr=[],Jr=[],Yr=(e,t,n)=>{let r={};for(let t in e)r[t]=e[t];if(t)for(let e in t)t[e]!==void 0&&(r[e]=t[e]);if(n)for(let e in n)n[e]!==void 0&&(r[e]=n[e]);return r},Xr=e=>e==null||e===!1,Zr=(e,t)=>{if(!Array.isArray(e))return e===t||Xr(e)&&Xr(t);for(let n=0;n<e.length;n++){let r=e[n];if(r===t||Xr(r)&&Xr(t))return!0}return!1},Qr=(e,t,n,r)=>{if(e.isEmpty)return null;let i=r?.[e.key]??n?.[e.key];if(i===null)return null;let a=hr(i);if(typeof a==`object`)return null;let o=t?.[e.key],s=a??hr(o);return e.values[s||`false`]},$r=(e,t)=>{let{conditionKeys:n,source:r}=e;for(let e=0;e<n.length;e++){let i=n[e];if(!Zr(r[i],t[i]))return!1}return!0},ei=(e,t,n)=>{typeof n==`string`?t===`base`&&e.push(n):n&&typeof n==`object`&&n[t]&&e.push(n[t])},ti=(e,t,n)=>{let r=Gr;r.length=0;for(let i=0;i<e.length;i++){let a=Qr(e[i],t,n);a&&r.push(a)}return r},ni=(e,t,n,r,i)=>{let a=Gr;a.length=0;for(let o=0;o<t.length;o++){let s=Qr(t[o],n,r,i),c=e===`base`&&typeof s==`string`?s:s&&s[e];c&&a.push(c)}return a},ri=(e,t)=>{let n=Kr;n.length=0;for(let r=0;r<e.length;r++){let i=e[r];$r(i,t)&&(i.source.class&&n.push(i.source.class),i.source.className&&n.push(i.source.className))}return n},ii=(e,t,n)=>{let r=qr;r.length=0;for(let i=0;i<t.length;i++){let a=t[i];$r(a,n)&&(ei(r,e,a.source.class),ei(r,e,a.source.className))}return r},ai=(e,t)=>{let n=Jr;n.length=0;for(let r=0;r<e.length;r++){let i=e[r];$r(i,t)&&(i.source.class&&n.push(i.source.class),i.source.className&&n.push(i.source.className))}return n},oi=(e,t)=>{let{base:n,config:r}=e,i=Tr,a=Pr(t,r);return(e=>(i===Tr&&(i=t(r,n)),a(i,e)))},si=(e,t)=>{let{base:n,config:r,defaultVariants:i,deferredError:a,variantKeys:o}=e,s=e.compiledCompoundVariants,c=e.compiledVariants,l=Wr,u=null,d=Pr(t,r),f=1,p=e=>{let a=s.length>0?ri(s,Yr(i,e)):void 0;return t(r,n,ti(c,i,e),a)};return(t=>{if(a)throw a;(c===null||s===null)&&(Ur(e),c=e.compiledVariants,s=e.compiledCompoundVariants,l=e.compiledCompoundSlots??Wr);let n;if(f>0)f--,n=p(t);else{u??=Mr();let e=kr(o,i,t);if(e!==null){let r=s.length>0||l.length>0?Ar(s,l):``,i=e+`#`+r,a=u.get(i);a===Tr?(n=p(t),u.set(i,n)):n=a}else n=p(t)}return d(n,t)})},ci=(e,t)=>{let{config:n,defaultVariants:r,deferredError:i,slots:a,variantKeys:o}=e,s=null,c=null,l=null,u=null,d=!1,f=null,p=null,m=1,h=()=>{if(l!==null)return;(e.compiledVariants===null||e.compiledCompoundVariants===null||e.compiledCompoundSlots===null||e.compiledCompoundSlotsBySlot===null||e.slotKeys===null)&&Ur(e);let i=e.compiledVariants;s=e.compiledCompoundVariants,c=e.compiledCompoundSlots;let o=e.compiledCompoundSlotsBySlot;l=e.slotKeys,d=s.length>0||c.length>0,f=Pr(t,n);let p=Array(l.length);for(let e=0;e<l.length;e++){let c=l[e],u=o[c]??Wr;p[e]=(e,o)=>{let l=d?Yr(r,e,o):void 0,f=l?ii(c,s,l):void 0,p=l?ai(u,l):void 0;return t(n,a[c],ni(c,i,r,e,o),f,p)}}u=p},g=e=>{let t=l,n=u,r=f,i={};for(let a=0;a<t.length;a++){let o=n[a],s=o(e);i[t[a]]=t=>{if(t==null)return s;let n=!1;for(let e in t)if(e!==`class`&&e!==`className`&&t[e]!==void 0){n=!0;break}return r(n?o(e,t):s,t)}}return i};return(e=>{if(i)throw i;if(h(),m>0)return m--,g(e);let t=kr(o,r,e);if(t===null)return g(e);let n=d?Ar(s,c):``,a=t+`#`+n;p??=jr();let l=p.get(a);if(l!==Tr)return l;let u=g(e);return p.set(a,u),u})},li=(e,t)=>{if(e.mode===`plain`)return oi(e,t);let n;return(r=>(n??=e.mode===`slots`?ci(e,t):si(e,t),n(r)))},ui=(e,t)=>{e.variantKeys=t.variantKeys,e.extend=t.extend,e.base=t.base,e.slots=t.slots,e.variants=t.variants,e.defaultVariants=t.defaultVariants,e.compoundSlots=t.compoundSlots,e.compoundVariants=t.compoundVariants},di=e=>{let t=(t,n)=>{let r=Hr(t,n),i=li(r,e);return ui(i,r),i};return{tv:t,createTV:e=>(n,r)=>t(n,r?xr(e,r):e)}},fi=(e,t)=>{let n=e.length,r=t.length,i=Array(n+r);for(let t=0;t<n;t++)i[t]=e[t];for(let e=0;e<r;e++)i[n+e]=t[e];return i},pi=(e,t)=>({classGroupId:e,validator:t}),mi=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),hi=`-`,gi=[],_i=`arbitrary..`,vi=e=>{let t=xi(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e[0]===`[`&&e[e.length-1]===`]`)return bi(e);let n=e.split(hi);return yi(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?fi(i,t):t:i||gi}return n[e]||gi}}},yi=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=yi(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(hi):e.slice(t).join(hi),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},bi=e=>{let t=e.slice(1,-1),n=t.indexOf(`:`);if(n===-1)return;let r=t.slice(0,n);return r?_i+r:void 0},xi=e=>{let{theme:t,classGroups:n}=e;return Si(n,t)},Si=(e,t)=>{let n=mi();for(let r in e){let i=e[r];Ci(i,n,r,t)}return n},Ci=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];wi(i,t,n,r)}},wi=(e,t,n,r)=>{if(typeof e==`string`){Ti(e,t,n);return}if(typeof e==`function`){Ei(e,t,n,r);return}Di(e,t,n,r)},Ti=(e,t,n)=>{let r=e===``?t:Oi(t,e);r.classGroupId=n},Ei=(e,t,n,r)=>{if(ki(e)){Ci(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(pi(n,e))},Di=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Ci(o,Oi(t,a),n,r)}},Oi=(e,t)=>{let n=e,r=t.split(hi),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=mi(),n.nextPart.set(t,i)),n=i}return n},ki=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,Ai=`!`,ji=58,Mi=47,Ni=91,Pi=93,Fi=40,Ii=41,Li=33,Ri=(e,t,n,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:void 0}),zi=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e.charCodeAt(s);if(n===0&&r===0){if(o===ji){t.push(e.slice(i,s)),i=s+1;continue}if(o===Mi){a=s;continue}}o===Ni?n++:o===Pi?n--:o===Fi?r++:o===Ii&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1,u=s.length-1;s.charCodeAt(u)===Li?(c=s.slice(0,-1),l=!0):s.charCodeAt(0)===Li&&(c=s.slice(1),l=!0);let d=a&&a>i?a-i:void 0;return Ri(t,l,c,d)},Bi=e=>{let t=new Set(e.orderSensitiveModifiers);return e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);if(o||s){if(r.length>0){r.sort();for(let e=0;e<r.length;e++)n.push(r[e]);r=[]}n.push(a)}else r.push(a)}if(r.length>0){r.sort();for(let e=0;e<r.length;e++)n.push(r[e])}return n}},Vi={isExternal:!0,classId:-1,conflictIds:[]},Hi=4096,Ui=16384,Wi=e=>{let t=Bi(e),n=Gi(e),{getClassGroupId:r,getConflictingClassGroupIds:i}=vi(e),a=Object.create(null),o=Object.create(null),s=0,c=new Int32Array(256),l=0,u=new Uint8Array(64),d=!1,f=e=>{let t=[],n=e.length,r=-1;d=!1;for(let i=0;i<n;i++){let n=e.charCodeAt(i);n===32?r!==-1&&(t.push(e.slice(r,i)),r=-1):n>=9&&n<=13?(d=!0,r!==-1&&(t.push(e.slice(r,i)),r=-1)):r===-1&&(r=i)}return r!==-1&&t.push(e.slice(r)),t},p=new Map,m=0,h=e=>{let t=p.get(e);if(t===void 0&&(t=m++,p.set(e,t),t>=c.length)){let e=new Int32Array(c.length*2);e.set(c),c=e}return t},g=e=>{let{isExternal:a,modifiers:o,hasImportantModifier:s,baseClassName:c,maybePostfixModifierPosition:l}=zi(e);if(a)return Vi;let u=!!l,d;if(u){let e=c.substring(0,l);d=r(e);let t=d&&n[d]?r(c):void 0;t&&t!==d&&(d=t,u=!1)}else d=r(c);if(!d){if(!u||(d=r(c),!d))return Vi;u=!1}let f=o.length===0?``:o.length===1?o[0]:t(o).join(`:`),p=s?f+Ai:f,m=i(d,u),g=[];for(let e=0;e<m.length;e++)g.push(h(p+m[e]));return{isExternal:!1,classId:h(p+d),conflictIds:g}},_=e=>{let t=a[e];return t===void 0?(t=o[e],t===void 0&&(t=g(e)),a[e]=t,++s>Hi&&(s=0,o=a,a=Object.create(null)),t):t};return{parseClassName:zi,sortModifiers:t,postfixLookupClassGroupIds:n,getClassGroupId:r,getConflictingClassGroupIds:i,getClassDescriptor:_,mergeClassList:e=>{let t=f(e),n=t.length;if(n===1)return t[0];m>Ui&&(p.clear(),m=0,a=Object.create(null),o=Object.create(null),s=0),l=l+1|0,l===0&&(l=1);let r=l;if(n>u.length){let e=u.length;for(;e<n;)e*=2;u=new Uint8Array(e)}let i=!1,h=0;for(let e=n-1;e>=0;--e){let n=t[e];h+=n.length;let a=_(n);if(a.isExternal){u[e]=1;continue}let o=a.classId;if(c[o]===r){u[e]=0,i=!0;continue}c[o]=r;let s=a.conflictIds;for(let e=0;e<s.length;e++)c[s[e]]=r;u[e]=1}if(!i&&!d&&e.length===h+n-1)return e;let g=``;for(let e=0;e<n;e++)u[e]===1&&(g&&(g+=` `),g+=t[e]);return g}}},Gi=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},Ki=500,qi=e=>{let t,n,r=Object.create(null),i=Object.create(null),a=0,o=r=>(t=Wi(e()),n=t.mergeClassList,c.mergeString=s,s(r)),s=e=>{let t=r[e];return t===void 0?(t=i[e],t===void 0&&(t=n(e)),r[e]=t,++a>Ki&&(a=0,i=r,r=Object.create(null)),t):t},c=(...e)=>c.mergeString(lr(e));return c.mergeString=o,c},Ji=[],Yi=e=>{let t=t=>t[e]||Ji;return t.isThemeGetter=!0,t},Xi=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Zi=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Qi=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,$i=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ea=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ta=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,na=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ra=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ia=Number,aa=Number.isNaN,oa=Number.isInteger,sa=e=>Qi.test(e),ca=e=>!!e&&!aa(ia(e)),la=e=>!!e&&oa(ia(e)),ua=e=>e.endsWith(`%`)&&ca(e.slice(0,-1)),da=e=>$i.test(e),fa=()=>!0,pa=e=>ea.test(e)&&!ta.test(e),ma=()=>!1,ha=e=>na.test(e),ga=e=>ra.test(e),_a=e=>!Y(e)&&!X(e),va=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),ya=e=>Pa(e,Ra,ma),Y=e=>Xi.test(e),ba=e=>Pa(e,za,pa),xa=e=>Pa(e,Ba,ca),Sa=e=>Pa(e,Ha,fa),Ca=e=>Pa(e,Va,ma),wa=e=>Pa(e,Ia,ma),Ta=e=>Pa(e,La,ga),Ea=e=>Pa(e,Ua,ha),X=e=>Zi.test(e),Da=e=>Fa(e,za),Oa=e=>Fa(e,Va),ka=e=>Fa(e,Ia),Aa=e=>Fa(e,Ra),ja=e=>Fa(e,La),Ma=e=>Fa(e,Ua,!0),Na=e=>Fa(e,Ha,!0),Pa=(e,t,n)=>{let r=Xi.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Fa=(e,t,n=!1)=>{let r=Zi.exec(e);return r?r[1]?t(r[1]):n:!1},Ia=e=>e===`position`||e===`percentage`,La=e=>e===`image`||e===`url`,Ra=e=>e===`length`||e===`size`||e===`bg-size`,za=e=>e===`length`,Ba=e=>e===`number`,Va=e=>e===`family-name`,Ha=e=>e===`number`||e===`weight`,Ua=e=>e===`shadow`,Wa=()=>{let e=Yi(`color`),t=Yi(`font`),n=Yi(`text`),r=Yi(`font-weight`),i=Yi(`tracking`),a=Yi(`leading`),o=Yi(`breakpoint`),s=Yi(`container`),c=Yi(`spacing`),l=Yi(`radius`),u=Yi(`shadow`),d=Yi(`inset-shadow`),f=Yi(`text-shadow`),p=Yi(`drop-shadow`),m=Yi(`blur`),h=Yi(`perspective`),g=Yi(`aspect`),_=Yi(`ease`),v=Yi(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),X,Y],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[X,Y,c],T=()=>[sa,`full`,`auto`,...w()],E=()=>[la,`none`,`subgrid`,X,Y],ee=()=>[`auto`,{span:[`full`,la,X,Y]},la,X,Y],te=()=>[la,`auto`,X,Y],D=()=>[`auto`,`min`,`max`,`fr`,X,Y],O=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],k=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],A=()=>[`auto`,...w()],ne=()=>[sa,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],re=()=>[sa,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],j=()=>[sa,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],M=()=>[e,X,Y],N=()=>[...b(),ka,wa,{position:[X,Y]}],ie=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],P=()=>[`auto`,`cover`,`contain`,Aa,ya,{size:[X,Y]}],ae=()=>[ua,Da,ba],F=()=>[``,`none`,`full`,l,X,Y],I=()=>[``,ca,Da,ba],L=()=>[`solid`,`dashed`,`dotted`,`double`],R=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],z=()=>[ca,ua,ka,wa],oe=()=>[``,`none`,m,X,Y],se=()=>[`none`,ca,X,Y],ce=()=>[`none`,ca,X,Y],le=()=>[ca,X,Y],B=()=>[sa,`full`,...w()];return{theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[da],breakpoint:[da],color:[fa],container:[da],"drop-shadow":[da],ease:[`in`,`out`,`in-out`],font:[_a],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[da],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[da],shadow:[da],spacing:[`px`,ca],text:[da],"text-shadow":[da],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,sa,Y,X,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,X,Y]}],"container-named":[va],columns:[{columns:[ca,Y,X,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[la,`auto`,X,Y]}],basis:[{basis:[sa,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[ca,sa,`auto`,`initial`,`none`,Y]}],grow:[{grow:[``,ca,X,Y]}],shrink:[{shrink:[``,ca,X,Y]}],order:[{order:[la,`first`,`last`,`none`,X,Y]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:ee()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:ee()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":D()}],"auto-rows":[{"auto-rows":D()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...O(),`normal`]}],"justify-items":[{"justify-items":[...k(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...k()]}],"align-content":[{content:[`normal`,...O()]}],"align-items":[{items:[...k(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...k(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":O()}],"place-items":[{"place-items":[...k(),`baseline`]}],"place-self":[{"place-self":[`auto`,...k()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mbs:[{mbs:A()}],mbe:[{mbe:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:ne()}],"inline-size":[{inline:[`auto`,...re()]}],"min-inline-size":[{"min-inline":[`auto`,...re()]}],"max-inline-size":[{"max-inline":[`none`,...re()]}],"block-size":[{block:[`auto`,...j()]}],"min-block-size":[{"min-block":[`auto`,...j()]}],"max-block-size":[{"max-block":[`none`,...j()]}],w:[{w:[s,`screen`,...ne()]}],"min-w":[{"min-w":[s,`screen`,`none`,...ne()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...ne()]}],h:[{h:[`screen`,`lh`,...ne()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...ne()]}],"max-h":[{"max-h":[`screen`,`lh`,...ne()]}],"font-size":[{text:[`base`,n,Da,ba]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Na,Sa]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,ua,Y]}],"font-family":[{font:[Oa,Ca,t]}],"font-features":[{"font-features":[Y]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,X,Y]}],"line-clamp":[{"line-clamp":[ca,`none`,X,xa]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,X,Y]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,X,Y]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...L(),`wavy`]}],"text-decoration-thickness":[{decoration:[ca,`from-font`,`auto`,X,ba]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[ca,`auto`,X,Y]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[la,X,Y]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,X,Y]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,X,Y]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:N()}],"bg-repeat":[{bg:ie()}],"bg-size":[{bg:P()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},la,X,Y],radial:[``,X,Y],conic:[la,X,Y]},ja,Ta]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:F()}],"rounded-s":[{"rounded-s":F()}],"rounded-e":[{"rounded-e":F()}],"rounded-t":[{"rounded-t":F()}],"rounded-r":[{"rounded-r":F()}],"rounded-b":[{"rounded-b":F()}],"rounded-l":[{"rounded-l":F()}],"rounded-ss":[{"rounded-ss":F()}],"rounded-se":[{"rounded-se":F()}],"rounded-ee":[{"rounded-ee":F()}],"rounded-es":[{"rounded-es":F()}],"rounded-tl":[{"rounded-tl":F()}],"rounded-tr":[{"rounded-tr":F()}],"rounded-br":[{"rounded-br":F()}],"rounded-bl":[{"rounded-bl":F()}],"border-w":[{border:I()}],"border-w-x":[{"border-x":I()}],"border-w-y":[{"border-y":I()}],"border-w-s":[{"border-s":I()}],"border-w-e":[{"border-e":I()}],"border-w-bs":[{"border-bs":I()}],"border-w-be":[{"border-be":I()}],"border-w-t":[{"border-t":I()}],"border-w-r":[{"border-r":I()}],"border-w-b":[{"border-b":I()}],"border-w-l":[{"border-l":I()}],"divide-x":[{"divide-x":I()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":I()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...L(),`hidden`,`none`]}],"divide-style":[{divide:[...L(),`hidden`,`none`]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:[...L(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[ca,X,Y]}],"outline-w":[{outline:[``,ca,Da,ba]}],"outline-color":[{outline:M()}],shadow:[{shadow:[``,`none`,u,Ma,Ea]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":[`none`,d,Ma,Ea]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:I()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[ca,ba]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":I()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":[`none`,f,Ma,Ea]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[ca,X,Y]}],"mix-blend":[{"mix-blend":[...R(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":R()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[ca]}],"mask-image-linear-from-pos":[{"mask-linear-from":z()}],"mask-image-linear-to-pos":[{"mask-linear-to":z()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":z()}],"mask-image-t-to-pos":[{"mask-t-to":z()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":z()}],"mask-image-r-to-pos":[{"mask-r-to":z()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":z()}],"mask-image-b-to-pos":[{"mask-b-to":z()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":z()}],"mask-image-l-to-pos":[{"mask-l-to":z()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":z()}],"mask-image-x-to-pos":[{"mask-x-to":z()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":z()}],"mask-image-y-to-pos":[{"mask-y-to":z()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[X,Y]}],"mask-image-radial-from-pos":[{"mask-radial-from":z()}],"mask-image-radial-to-pos":[{"mask-radial-to":z()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[ca]}],"mask-image-conic-from-pos":[{"mask-conic-from":z()}],"mask-image-conic-to-pos":[{"mask-conic-to":z()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:N()}],"mask-repeat":[{mask:ie()}],"mask-size":[{mask:P()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,X,Y]}],filter:[{filter:[``,`none`,X,Y]}],blur:[{blur:oe()}],brightness:[{brightness:[ca,X,Y]}],contrast:[{contrast:[ca,X,Y]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Ma,Ea]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:[``,ca,X,Y]}],"hue-rotate":[{"hue-rotate":[ca,X,Y]}],invert:[{invert:[``,ca,X,Y]}],saturate:[{saturate:[ca,X,Y]}],sepia:[{sepia:[``,ca,X,Y]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,X,Y]}],"backdrop-blur":[{"backdrop-blur":oe()}],"backdrop-brightness":[{"backdrop-brightness":[ca,X,Y]}],"backdrop-contrast":[{"backdrop-contrast":[ca,X,Y]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,ca,X,Y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ca,X,Y]}],"backdrop-invert":[{"backdrop-invert":[``,ca,X,Y]}],"backdrop-opacity":[{"backdrop-opacity":[ca,X,Y]}],"backdrop-saturate":[{"backdrop-saturate":[ca,X,Y]}],"backdrop-sepia":[{"backdrop-sepia":[``,ca,X,Y]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,X,Y]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[ca,`initial`,X,Y]}],ease:[{ease:[`linear`,`initial`,_,X,Y]}],delay:[{delay:[ca,X,Y]}],animate:[{animate:[`none`,v,X,Y]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,X,Y]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:se()}],"rotate-x":[{"rotate-x":se()}],"rotate-y":[{"rotate-y":se()}],"rotate-z":[{"rotate-z":se()}],scale:[{scale:ce()}],"scale-x":[{"scale-x":ce()}],"scale-y":[{"scale-y":ce()}],"scale-z":[{"scale-z":ce()}],"scale-3d":[`scale-3d`],skew:[{skew:le()}],"skew-x":[{"skew-x":le()}],"skew-y":[{"skew-y":le()}],transform:[{transform:[X,Y,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:B()}],"translate-x":[{"translate-x":B()}],"translate-y":[{"translate-y":B()}],"translate-z":[{"translate-z":B()}],"translate-none":[`translate-none`],zoom:[{zoom:[la,X,Y]}],accent:[{accent:M()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:M()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,X,Y]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":M()}],"scrollbar-track-color":[{"scrollbar-track":M()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,X,Y]}],fill:[{fill:[`none`,...M()]}],"stroke-w":[{stroke:[ca,Da,ba,xa]}],stroke:[{stroke:[`none`,...M()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}},Ga=(e,{extend:t={},override:n={}})=>(qa(e.theme,n.theme),qa(e.classGroups,n.classGroups),qa(e.conflictingClassGroups,n.conflictingClassGroups),qa(e.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers),Ka(e,`postfixLookupClassGroups`,n.postfixLookupClassGroups),Ka(e,`orderSensitiveModifiers`,n.orderSensitiveModifiers),Ja(e.theme,t.theme),Ja(e.classGroups,t.classGroups),Ja(e.conflictingClassGroups,t.conflictingClassGroups),Ja(e.conflictingClassGroupModifiers,t.conflictingClassGroupModifiers),Ya(e,t,`postfixLookupClassGroups`),Ya(e,t,`orderSensitiveModifiers`),e),Ka=(e,t,n)=>{n!==void 0&&(e[t]=n)},qa=(e,t)=>{if(t)for(let n in t)Ka(e,n,t[n])},Ja=(e,t)=>{if(t)for(let n in t)Ya(e,t,n)},Ya=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},Xa=e=>qi(e?typeof e==`function`?()=>e(Wa()):()=>Ga(Wa(),e):Wa),Za=e=>{if(gr(e))return;let t=e,n={...t.extend??{}};for(let e of[`theme`,`classGroups`,`conflictingClassGroups`,`conflictingClassGroupModifiers`,`postfixLookupClassGroups`,`orderSensitiveModifiers`,`cacheSize`,`prefix`,`separator`,`experimentalParseClassName`])t[e]!==void 0&&n[e]===void 0&&(n[e]=t[e]);let r={};if(Object.keys(n).length>0&&(r.extend=n),t.override!=null&&!gr(t.override)&&(r.override=t.override),!(!r.extend&&!r.override))return r},Qa=e=>{let t=Xa(Za(e));return e=>t.mergeString(e)},$a,eo=()=>($a||=Xa(),$a),to=()=>((!Ir.cachedTwMerge||Ir.didTwMergeConfigChange)&&(Ir.didTwMergeConfigChange=!1,Ir.cachedTwMerge=Qa(Ir.cachedTwMergeConfig)),Ir.cachedTwMerge),no=e=>{let t=e?.twMergeConfig;!t||gr(t)||_r(t,Ir.cachedTwMergeConfig)||(Ir.cachedTwMergeConfig=t,Ir.didTwMergeConfigChange=!0)},ro=e=>lr(e);(()=>{let e=Error();return!(`line`in e)&&!(`lineNumber`in e)})();var io=Ir.reset.bind(Ir);Ir.reset=()=>{$a=void 0,io()};var ao=(e,t)=>{let n=ro(e);return!n||!(t?.twMerge??!0)?n||void 0:n.indexOf(` `)===-1?n:(no(t),(t?.twMergeConfig&&!gr(t.twMergeConfig)?to():eo().mergeString)(n)||void 0)},oo=di((e,...t)=>ao(t,e)),so=oo.tv;oo.createTV;var co=so({base:`focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex shrink-0 items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-all outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,variants:{variant:{default:`bg-primary text-primary-foreground hover:bg-primary/90 shadow-xs`,destructive:`bg-destructive hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60 text-white shadow-xs`,outline:`bg-background hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-accent border shadow-xs`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-xs`,ghost:`hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-9 px-4 py-2 has-[>svg]:px-3`,sm:`h-8 gap-1.5 rounded-md px-3 has-[>svg]:px-2.5 text-xs`,lg:`h-10 rounded-md px-6 has-[>svg]:px-4`,icon:`size-9`,"icon-sm":`size-8`,"icon-lg":`size-10`}},defaultVariants:{variant:`default`,size:`default`}}),lo=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`variant`,`size`,`ref`,`href`,`type`,`disabled`,`children`]),uo=m(`<a><!></a>`),fo=m(`<button><!></button>`);function po(e,t){P(t,!0);let n=L(t,`variant`,3,`default`),r=L(t,`size`,3,`default`),i=L(t,`ref`,15,null),a=L(t,`href`,3,void 0),s=L(t,`type`,3,`button`),c=D(t,lo);var l=p(),u=_(l),d=e=>{var o=uo();j(o,e=>({"data-slot":`button`,class:e,href:t.disabled?void 0:a(),"aria-disabled":t.disabled,role:t.disabled?`link`:void 0,tabindex:t.disabled?-1:void 0,...c}),[()=>J(co({variant:n(),size:r()}),t.class)]);var s=E(o);U(s,()=>t.children??A),W(o),ne(o,e=>i(e),()=>i()),R(e,o)},f=e=>{var a=fo();j(a,e=>({"data-slot":`button`,class:e,type:s(),disabled:t.disabled,...c}),[()=>J(co({variant:n(),size:r()}),t.class)]);var o=E(a);U(o,()=>t.children??A),W(a),ne(a,e=>i(e),()=>i()),R(e,a)};o(u,e=>{a()?e(d):e(f,-1)}),R(e,l),M()}function mo(e){return typeof e==`function`}function ho(e){return typeof e==`object`&&!!e}var go=[`string`,`number`,`bigint`,`boolean`];function _o(e){return e==null||go.includes(typeof e)?!0:Array.isArray(e)?e.every(e=>_o(e)):typeof e==`object`&&Object.getPrototypeOf(e)===Object.prototype}var vo=Symbol(`box`),yo=Symbol(`is-writable`);function Z(e,t){let n=V(e);return t?{[vo]:!0,[yo]:!0,get current(){return l(n)},set current(e){t(e)}}:{[vo]:!0,get current(){return e()}}}function bo(e){return ho(e)&&vo in e}function xo(e){return bo(e)?e:mo(e)?Z(e):So(e)}function So(e){let t=O(me(e));return{[vo]:!0,[yo]:!0,get current(){return l(t)},set current(e){H(t,e,!0)}}}function Co(...e){return function(t){for(let n of e)if(n){if(t.defaultPrevented)return;typeof n==`function`?n.call(this,t):n.current?.call(this,t)}}}var wo=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,To=/\n/g,Eo=/^\s*/,Do=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Oo=/^:\s*/,ko=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Ao=/^[;\s]*/,jo=/^\s+|\s+$/g,Mo=`
|
|
13
|
+
`,No=`/`,Po=`*`,Fo=``,Io=`comment`,Lo=`declaration`;function Ro(e,t){if(typeof e!=`string`)throw TypeError(`First argument must be a string`);if(!e)return[];t||={};var n=1,r=1;function i(e){var t=e.match(To);t&&(n+=t.length);var i=e.lastIndexOf(Mo);r=~i?e.length-i:r+e.length}function a(){var e={line:n,column:r};return function(t){return t.position=new o(e),l(),t}}function o(e){this.start=e,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function s(i){var a=Error(t.source+`:`+n+`:`+r+`: `+i);if(a.reason=i,a.filename=t.source,a.line=n,a.column=r,a.source=e,!t.silent)throw a}function c(t){var n=t.exec(e);if(n){var r=n[0];return i(r),e=e.slice(r.length),n}}function l(){c(Eo)}function u(e){var t;for(e||=[];t=d();)t!==!1&&e.push(t);return e}function d(){var t=a();if(No==e.charAt(0)&&Po==e.charAt(1)){for(var n=2;Fo!=e.charAt(n)&&(Po!=e.charAt(n)||No!=e.charAt(n+1));)++n;if(n+=2,Fo===e.charAt(n-1))return s(`End of comment missing`);var o=e.slice(2,n-2);return r+=2,i(o),e=e.slice(n),r+=2,t({type:Io,comment:o})}}function f(){var e=a(),t=c(Do);if(t){if(d(),!c(Oo))return s(`property missing ':'`);var n=c(ko),r=e({type:Lo,property:zo(t[0].replace(wo,Fo)),value:n?zo(n[0].replace(wo,Fo)):Fo});return c(Ao),r}}function p(){var e=[];u(e);for(var t;t=f();)t!==!1&&(e.push(t),u(e));return e}return l(),p()}function zo(e){return e?e.replace(jo,Fo):Fo}function Bo(e,t){let n=null;if(!e||typeof e!=`string`)return n;let r=Ro(e),i=typeof t==`function`;return r.forEach(e=>{if(e.type!==`declaration`)return;let{property:r,value:a}=e;i?t(r,a,e):a&&(n||={},n[r]=a)}),n}var Vo=/\d/,Ho=[`-`,`_`,`/`,`.`];function Uo(e=``){if(!Vo.test(e))return e!==e.toLowerCase()}function Wo(e){let t=[],n=``,r,i;for(let a of e){let e=Ho.includes(a);if(e===!0){t.push(n),n=``,r=void 0;continue}let o=Uo(a);if(i===!1){if(r===!1&&o===!0){t.push(n),n=a,r=o;continue}if(r===!0&&o===!1&&n.length>1){let e=n.at(-1);t.push(n.slice(0,Math.max(0,n.length-1))),n=e+a,r=o;continue}}n+=a,r=o,i=e}return t.push(n),t}function Go(e){return e?Wo(e).map(e=>qo(e)).join(``):``}function Ko(e){return Jo(Go(e||``))}function qo(e){return e?e[0].toUpperCase()+e.slice(1):``}function Jo(e){return e?e[0].toLowerCase()+e.slice(1):``}function Yo(e){if(!e)return{};let t={};function n(e,n){if(e.startsWith(`-moz-`)||e.startsWith(`-webkit-`)||e.startsWith(`-ms-`)||e.startsWith(`-o-`)){t[Go(e)]=n;return}if(e.startsWith(`--`)){t[e]=n;return}t[Ko(e)]=n}return Bo(e,n),t}function Xo(...e){return(...t)=>{for(let n of e)typeof n==`function`&&n(...t)}}function Zo(e,t){let n=RegExp(e,`g`);return e=>{if(typeof e!=`string`)throw TypeError(`expected an argument of type string, but got ${typeof e}`);return e.match(n)?e.replace(n,t):e}}var Qo=Zo(/[A-Z]/,e=>`-${e.toLowerCase()}`);function $o(e){if(!e||typeof e!=`object`||Array.isArray(e))throw TypeError(`expected an argument of type object, but got ${typeof e}`);return Object.keys(e).map(t=>`${Qo(t)}: ${e[t]};`).join(`
|
|
14
|
+
`)}function es(e={}){return $o(e).replace(`
|
|
15
|
+
`,` `)}var ts=new Set(`onabort.onanimationcancel.onanimationend.onanimationiteration.onanimationstart.onauxclick.onbeforeinput.onbeforetoggle.onblur.oncancel.oncanplay.oncanplaythrough.onchange.onclick.onclose.oncompositionend.oncompositionstart.oncompositionupdate.oncontextlost.oncontextmenu.oncontextrestored.oncopy.oncuechange.oncut.ondblclick.ondrag.ondragend.ondragenter.ondragleave.ondragover.ondragstart.ondrop.ondurationchange.onemptied.onended.onerror.onfocus.onfocusin.onfocusout.onformdata.ongotpointercapture.oninput.oninvalid.onkeydown.onkeypress.onkeyup.onload.onloadeddata.onloadedmetadata.onloadstart.onlostpointercapture.onmousedown.onmouseenter.onmouseleave.onmousemove.onmouseout.onmouseover.onmouseup.onpaste.onpause.onplay.onplaying.onpointercancel.onpointerdown.onpointerenter.onpointerleave.onpointermove.onpointerout.onpointerover.onpointerup.onprogress.onratechange.onreset.onresize.onscroll.onscrollend.onsecuritypolicyviolation.onseeked.onseeking.onselect.onselectionchange.onselectstart.onslotchange.onstalled.onsubmit.onsuspend.ontimeupdate.ontoggle.ontouchcancel.ontouchend.ontouchmove.ontouchstart.ontransitioncancel.ontransitionend.ontransitionrun.ontransitionstart.onvolumechange.onwaiting.onwebkitanimationend.onwebkitanimationiteration.onwebkitanimationstart.onwebkittransitionend.onwheel`.split(`.`));function ns(e){return ts.has(e)}function rs(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];if(r){for(let e of Object.keys(r)){let n=t[e],i=r[e],a=typeof n==`function`,o=typeof i==`function`;if(a&&typeof o&&ns(e))t[e]=Co(n,i);else if(a&&o)t[e]=Xo(n,i);else if(e===`class`){let r=_o(n),a=_o(i);r&&a?t[e]=ee(n,i):r?t[e]=ee(n):a&&(t[e]=ee(i))}else if(e===`style`){let r=typeof n==`object`,a=typeof i==`object`,o=typeof n==`string`,s=typeof i==`string`;if(r&&a)t[e]={...n,...i};else if(r&&s){let r=Yo(i);t[e]={...n,...r}}else if(o&&a)t[e]={...Yo(n),...i};else if(o&&s){let r=Yo(n),a=Yo(i);t[e]={...r,...a}}else r?t[e]=n:a?t[e]=i:o?t[e]=n:s&&(t[e]=i)}else t[e]=i===void 0?n:i}for(let e of Object.getOwnPropertySymbols(r)){let n=t[e],i=r[e];t[e]=i===void 0?n:i}}}return typeof t.style==`object`&&(t.style=es(t.style).replaceAll(`
|
|
16
|
+
`,` `)),t.hidden===!1&&(t.hidden=void 0,delete t.hidden),t.disabled===!1&&(t.disabled=void 0,delete t.disabled),t}var is={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%)`};es(is);var as=typeof window<`u`?window:void 0;typeof window<`u`&&window.document,typeof window<`u`&&window.navigator,typeof window<`u`&&window.location;function os(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}new class{#e;#t;constructor(e={}){let{window:r=as,document:i=r?.document}=e;r!==void 0&&(this.#e=i,this.#t=t(e=>{let t=n(r,`focusin`,e),i=n(r,`focusout`,e);return()=>{t(),i()}}))}get current(){return this.#t?.(),this.#e?os(this.#e):null}};function ss(e){return typeof e==`function`}var cs=class{#e;#t;constructor(e){this.#e=e,this.#t=Symbol(e)}get key(){return this.#t}exists(){return ge(this.#t)}get(){let e=se(this.#t);if(e===void 0)throw Error(`Context "${this.#e}" not found`);return e}getOr(e){let t=se(this.#t);return t===void 0?e:t}set(e){return de(this.#t,e)}};function ls(e,t){switch(e){case`post`:T(t);break;case`pre`:w(t)}}function us(e,t,n,r={}){let{lazy:i=!1}=r,a=!i,o=Array.isArray(e)?[]:void 0;ls(t,()=>{let t=Array.isArray(e)?e.map(e=>e()):e();if(!a){a=!0,o=t;return}let r=c(()=>n(t,o));return o=t,r})}function ds(e,t,n){us(e,`post`,t,n)}function fs(e,t,n){us(e,`pre`,t,n)}ds.pre=fs;function ps(e){return ss(e)?e():e}var ms=class{#e={width:0,height:0};#t=!1;#n;#r;#i;#a=V(()=>(l(this.#s)?.(),this.getSize().width));#o=V(()=>(l(this.#s)?.(),this.getSize().height));#s=V(()=>{let e=ps(this.#r);if(e)return t(t=>{if(!this.#i)return;let n=new this.#i.ResizeObserver(e=>{this.#t=!0;for(let t of e){let e=this.#n.box===`content-box`?t.contentBoxSize:t.borderBoxSize,n=Array.isArray(e)?e:[e];this.#e.width=n.reduce((e,t)=>Math.max(e,t.inlineSize),0),this.#e.height=n.reduce((e,t)=>Math.max(e,t.blockSize),0)}t()});return n.observe(e),()=>{this.#t=!1,n.disconnect()}})});constructor(e,t={box:`border-box`}){this.#i=t.window??as,this.#n=t,this.#r=e,this.#e={width:0,height:0}}calculateSize(){let e=ps(this.#r);if(!e||!this.#i)return;let t=e.offsetWidth,n=e.offsetHeight;if(this.#n.box===`border-box`)return{width:t,height:n};let r=this.#i.getComputedStyle(e),i=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),a=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),o=parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),s=parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth);return{width:t-i-o,height:n-a-s}}getSize(){return this.#t?this.#e:this.calculateSize()??this.#e}get current(){return l(this.#s)?.(),this.getSize()}get width(){return l(this.#a)}get height(){return l(this.#o)}};function hs(e){T(()=>()=>{e()})}function gs(e){T(()=>c(()=>e()))}function _s(e,t){return setTimeout(t,e)}function vs(e){C().then(e)}var ys=1,bs=9,xs=11;function Ss(e){return ho(e)&&e.nodeType===ys&&typeof e.nodeName==`string`}function Cs(e){return ho(e)&&e.nodeType===bs}function ws(e){return ho(e)&&e.constructor?.name===`VisualViewport`}function Ts(e){return ho(e)&&e.nodeType!==void 0}function Es(e){return Ts(e)&&e.nodeType===xs&&`host`in e}function Ds(e,t){if(!e||!t||!Ss(e)||!Ss(t))return!1;let n=t.getRootNode?.();if(e===t||e.contains(t))return!0;if(n&&Es(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function Os(e){return Cs(e)?e:ws(e)?e.document:e?.ownerDocument??document}function ks(e){return Es(e)?ks(e.host):Cs(e)?e.defaultView??window:Ss(e)?e.ownerDocument?.defaultView??window:window}function As(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}var js=class{element;#e=V(()=>this.element.current?this.element.current.getRootNode()??document:document);get root(){return l(this.#e)}set root(e){H(this.#e,e)}constructor(e){this.element=typeof e==`function`?Z(e):e}getDocument=()=>Os(this.root);getWindow=()=>this.getDocument().defaultView??window;getActiveElement=()=>As(this.root);isActiveElement=e=>e===this.getActiveElement();getElementById(e){return this.root.getElementById(e)}querySelector=e=>this.root?this.root.querySelector(e):null;querySelectorAll=e=>this.root?this.root.querySelectorAll(e):[];setTimeout=(e,t)=>this.getWindow().setTimeout(e,t);clearTimeout=e=>this.getWindow().clearTimeout(e)};function Ms(e,t){return{[S()]:n=>bo(e)?(e.current=n,c(()=>t?.(n)),()=>{`isConnected`in n&&n.isConnected||(e.current=null,t?.(null))}):(e(n),c(()=>t?.(n)),()=>{`isConnected`in n&&n.isConnected||(e(null),t?.(null))})}}function Ns(e){return e?`true`:`false`}function Ps(e){return e?``:void 0}function Fs(e){return e?`open`:`closed`}function Is(e){return e===`starting`?{"data-starting-style":``}:e===`ending`?{"data-ending-style":``}:{}}function Ls(e,t){return t?`mixed`:e?`true`:`false`}var Rs=class{#e;#t;attrs;constructor(e){this.#e=e.getVariant?e.getVariant():null,this.#t=this.#e?`data-${this.#e}-`:`data-${e.component}-`,this.getAttr=this.getAttr.bind(this),this.selector=this.selector.bind(this),this.attrs=Object.fromEntries(e.parts.map(e=>[e,this.getAttr(e)]))}getAttr(e,t){return t?`data-${t}-${e}`:`${this.#t}${e}`}selector(e,t){return`[${this.getAttr(e,t)}]`}};function zs(e){let t=new Rs(e);return{...t.attrs,selector:t.selector,getAttr:t.getAttr}}var Bs=typeof document<`u`,Vs=Hs();function Hs(){return Bs&&window?.navigator?.userAgent&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Us(e){return e instanceof HTMLElement}function Ws(e){return e instanceof Element}function Gs(e){return e instanceof Element||e instanceof SVGElement}function Ks(e){return e.pointerType===`touch`}function qs(e){return e.matches(`:focus-visible`)}function Js(e){return e!==null}var Ys=class{#e;#t=null;#n=null;#r=0;constructor(e){this.#e=e,hs(()=>this.#i())}#i(){this.#t!==null&&(window.cancelAnimationFrame(this.#t),this.#t=null),this.#n?.disconnect(),this.#n=null,this.#r++}run(e){this.#i();let t=this.#e.ref.current;if(!t)return;if(typeof t.getAnimations!=`function`){this.#a(e);return}let n=this.#r,r=()=>{n===this.#r&&this.#a(e)},i=()=>{if(n!==this.#r)return;let e=t.getAnimations();if(e.length===0){r();return}Promise.all(e.map(e=>e.finished)).then(()=>{r()}).catch(()=>{if(n===this.#r){if(t.getAnimations().some(e=>e.pending||e.playState!==`finished`)){i();return}r()}})},a=()=>{this.#t=window.requestAnimationFrame(()=>{this.#t=null,i()})};if(!this.#e.afterTick.current){a();return}this.#t=window.requestAnimationFrame(()=>{this.#t=null;let e=`data-starting-style`;if(!t.hasAttribute(e)){a();return}this.#n=new MutationObserver(()=>{n===this.#r&&(t.hasAttribute(e)||(this.#n?.disconnect(),this.#n=null,a()))}),this.#n.observe(t,{attributes:!0,attributeFilter:[e]})})}#a(e){let t=()=>{e()};this.#e.afterTick?vs(t):t()}},Xs=class{#e;#t;#n;#r=O(!1);#i=O(void 0);#a=!1;#o=null;constructor(e){this.#e=e,H(this.#r,e.open.current,!0),this.#t=e.enabled??!0,this.#n=new Ys({ref:this.#e.ref,afterTick:this.#e.open}),hs(()=>this.#s()),ds(()=>this.#e.open.current,e=>{if(!this.#a){this.#a=!0;return}if(this.#s(),!e&&this.#e.shouldSkipExitAnimation?.()){H(this.#r,!1),H(this.#i,void 0),this.#e.onComplete?.();return}if(e&&H(this.#r,!0),H(this.#i,e?`starting`:`ending`,!0),e&&(this.#o=window.requestAnimationFrame(()=>{this.#o=null,this.#e.open.current&&H(this.#i,void 0)})),!this.#t){e||H(this.#r,!1),H(this.#i,void 0),this.#e.onComplete?.();return}this.#n.run(()=>{e===this.#e.open.current&&(this.#e.open.current||H(this.#r,!1),H(this.#i,void 0),this.#e.onComplete?.())})})}get shouldRender(){return l(this.#r)}get transitionStatus(){return l(this.#i)}#s(){this.#o!==null&&(window.cancelAnimationFrame(this.#o),this.#o=null)}};function Zs(){}function Qs(e,t){return t===void 0?`bits-${e}`:`bits-${e}-${t}`}var $s=zs({component:`dialog`,parts:[`content`,`trigger`,`overlay`,`title`,`description`,`close`,`cancel`,`action`]}),ec=new cs(`Dialog.Root | AlertDialog.Root`),tc=class e{static create(t){let n=ec.getOr(null);return ec.set(new e(t,n))}opts;#e=O(null);get triggerNode(){return l(this.#e)}set triggerNode(e){H(this.#e,e,!0)}#t=O(null);get contentNode(){return l(this.#t)}set contentNode(e){H(this.#t,e,!0)}#n=O(null);get overlayNode(){return l(this.#n)}set overlayNode(e){H(this.#n,e,!0)}#r=O(null);get descriptionNode(){return l(this.#r)}set descriptionNode(e){H(this.#r,e,!0)}#i=O(void 0);get contentId(){return l(this.#i)}set contentId(e){H(this.#i,e,!0)}#a=O(void 0);get titleId(){return l(this.#a)}set titleId(e){H(this.#a,e,!0)}#o=O(void 0);get triggerId(){return l(this.#o)}set triggerId(e){H(this.#o,e,!0)}#s=O(void 0);get descriptionId(){return l(this.#s)}set descriptionId(e){H(this.#s,e,!0)}#c=O(null);get cancelNode(){return l(this.#c)}set cancelNode(e){H(this.#c,e,!0)}#l=O(0);get nestedOpenCount(){return l(this.#l)}set nestedOpenCount(e){H(this.#l,e,!0)}depth;parent;contentPresence;overlayPresence;constructor(e,t){this.opts=e,this.parent=t,this.depth=t?t.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new Xs({ref:Z(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Xs({ref:Z(()=>this.overlayNode),open:this.opts.open,enabled:!0}),ds(()=>this.opts.open.current,e=>{this.parent&&(e?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),hs(()=>{this.opts.open.current&&this.parent?.decrementNested()})}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}getBitsAttr=e=>$s.getAttr(e,this.opts.variant.current);incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}#u=V(()=>({"data-state":Fs(this.opts.open.current)}));get sharedProps(){return l(this.#u)}set sharedProps(e){H(this.#u,e)}},nc=class e{static create(t){return new e(t,ec.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=Ms(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||(e.key===` `||e.key===`Enter`)&&(e.preventDefault(),this.root.handleClose())}#e=V(()=>({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}));get props(){return l(this.#e)}set props(e){H(this.#e,e)}},rc=class e{static create(t){return new e(t,ec.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.root.titleId=this.opts.id.current,this.attachment=Ms(this.opts.ref),ds.pre(()=>this.opts.id.current,e=>{this.root.titleId=e})}#e=V(()=>({id:this.opts.id.current,role:`heading`,"aria-level":this.opts.level.current,[this.root.getBitsAttr(`title`)]:``,...this.root.sharedProps,...this.attachment}));get props(){return l(this.#e)}set props(e){H(this.#e,e)}},ic=class e{static create(t){return new e(t,ec.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.root.descriptionId=this.opts.id.current,this.attachment=Ms(this.opts.ref,e=>{this.root.descriptionNode=e}),ds.pre(()=>this.opts.id.current,e=>{this.root.descriptionId=e})}#e=V(()=>({id:this.opts.id.current,[this.root.getBitsAttr(`description`)]:``,...this.root.sharedProps,...this.attachment}));get props(){return l(this.#e)}set props(e){H(this.#e,e)}},ac=class e{static create(t){return new e(t,ec.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=Ms(this.opts.ref,e=>{this.root.contentNode=e,this.root.contentId=e?.id})}#e=V(()=>({open:this.root.opts.open.current}));get snippetProps(){return l(this.#e)}set snippetProps(e){H(this.#e,e)}#t=V(()=>({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":Ps(this.root.nestedOpenCount>0),"data-nested":Ps(this.root.parent!==null),...Is(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment}));get props(){return l(this.#t)}set props(e){H(this.#t,e)}get shouldRender(){return this.root.contentPresence.shouldRender}},oc=class e{static create(t){return new e(t,ec.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=Ms(this.opts.ref,e=>this.root.overlayNode=e)}#e=V(()=>({open:this.root.opts.open.current}));get snippetProps(){return l(this.#e)}set snippetProps(e){H(this.#e,e)}#t=V(()=>({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":Ps(this.root.nestedOpenCount>0),"data-nested":Ps(this.root.parent!==null),...Is(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment}));get props(){return l(this.#t)}set props(e){H(this.#t,e)}get shouldRender(){return this.root.overlayPresence.shouldRender}},sc=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`ref`,`child`,`children`,`level`]),cc=m(`<div><!></div>`);function lc(e,t){let n=s();P(t,!0);let r=L(t,`id`,19,()=>Qs(n)),i=L(t,`ref`,15,null),a=L(t,`level`,3,2),c=D(t,sc),u=rc.create({id:Z(()=>r()),level:Z(()=>a()),ref:Z(()=>i(),e=>i(e))}),d=V(()=>rs(c,u.props));var f=p(),m=_(f),h=e=>{var n=p(),r=_(n);U(r,()=>t.child,()=>({props:l(d)})),R(e,n)},g=e=>{var n=cc();j(n,()=>({...l(d)}));var r=E(n);U(r,()=>t.children??A),W(n),R(e,n)};o(m,e=>{t.child?e(h):e(g,-1)}),R(e,f),M()}function uc(e,t){var n=p(),r=_(n);x(r,()=>t.children,e=>{var n=p(),r=_(n);U(r,()=>t.children??A),R(e,n)}),R(e,n)}var dc=new cs(`BitsConfig`);function fc(){let e=new pc(null,{});return dc.getOr(e).opts}var pc=class{opts;constructor(e,t){let n=mc(e,t);this.opts={defaultPortalTo:n(e=>e.defaultPortalTo),defaultLocale:n(e=>e.defaultLocale)}}};function mc(e,t){return n=>Z(()=>{let r=n(t)?.current;if(r!==void 0)return r;if(e!==null)return n(e.opts)?.current})}function hc(e,t){return n=>{let r=fc();return Z(()=>{let i=n();if(i!==void 0)return i;let a=e(r).current;return a===void 0?t:a})}}var gc=hc(e=>e.defaultPortalTo,`body`);function _c(e,t){P(t,!0);let n=gc(()=>t.to),r=re(),i=V(s);function s(){if(!Bs||t.disabled)return null;let e=null;return e=typeof n.current==`string`?document.querySelector(n.current):n.current,e}let c;function u(){c&&=(z(c),null)}ds([()=>l(i),()=>t.disabled],([e,n])=>{if(!e||n){u();return}return c=a(uc,{target:e,props:{children:t.children},context:r}),()=>{u()}});var d=p(),f=_(d),m=e=>{var n=p(),r=_(n);U(r,()=>t.children??A),R(e,n)};o(f,e=>{t.disabled&&e(m)}),R(e,d),M()}var vc=class{eventName;options;constructor(e,t={bubbles:!0,cancelable:!0}){this.eventName=e,this.options=t}createEvent(e){return new CustomEvent(this.eventName,{...this.options,detail:e})}dispatch(e,t){let n=this.createEvent(t);return e.dispatchEvent(n),n}listen(e,t,r){return n(e,this.eventName,e=>{t(e)},r)}};function yc(e,t=500){let n=null,r=(...r)=>{n!==null&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)};return r.destroy=()=>{n!==null&&(clearTimeout(n),n=null)},r}function bc(e,t){return e===t||e.contains(t)}function xc(e){return e?.ownerDocument??document}function Sc(e,t){let{clientX:n,clientY:r}=e,i=t.getBoundingClientRect();return n<i.left||n>i.right||r<i.top||r>i.bottom}var Cc=[`input:not([inert]):not([inert] *)`,`select:not([inert]):not([inert] *)`,`textarea:not([inert]):not([inert] *)`,`a[href]:not([inert]):not([inert] *)`,`button:not([inert]):not([inert] *)`,`[tabindex]:not(slot):not([inert]):not([inert] *)`,`audio[controls]:not([inert]):not([inert] *)`,`video[controls]:not([inert]):not([inert] *)`,`[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)`,`details>summary:first-of-type:not([inert]):not([inert] *)`,`details:not([inert]):not([inert] *)`],wc=Cc.join(`,`),Tc=typeof Element>`u`,Ec=Tc?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Dc=!Tc&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},Oc=function(e,t){t===void 0&&(t=!0);var n=e?.getAttribute?.call(e,`inert`);return n===``||n===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):Oc(e.parentNode))},kc=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},Ac=function(e,t,n){if(Oc(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(wc));return t&&Ec.call(e,wc)&&r.unshift(e),r=r.filter(n),r},jc=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!Oc(a,!1)){if(a.tagName===`SLOT`){var o=a.assignedElements(),s=jc(o.length?o:a.children,!0,n);n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{Ec.call(a,wc)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!Oc(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=jc(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}}return r},Mc=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},Nc=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||kc(e))&&!Mc(e)?0:e.tabIndex},Pc=function(e,t){var n=Nc(e);return n<0&&t&&!Mc(e)?0:n},Fc=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Ic=function(e){return e.tagName===`INPUT`},Lc=function(e){return Ic(e)&&e.type===`hidden`},Rc=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},zc=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},Bc=function(e){if(!e.name)return!0;var t=e.form||Dc(e),n=function(e){return t.querySelectorAll(`input[type="radio"][name="`+e+`"]`)},r;if(typeof window<`u`&&window.CSS!==void 0&&typeof window.CSS.escape==`function`)r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(e){return console.error(`Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s`,e.message),!1}var i=zc(r,e.form);return!i||i===e},Vc=function(e){return Ic(e)&&e.type===`radio`},Hc=function(e){return Vc(e)&&!Bc(e)},Uc=function(e){var t=e&&Dc(e),n=t?.host,r=!1;if(t&&t!==e){var i,a,o;for(r=!!((i=n)!=null&&(a=i.ownerDocument)!=null&&a.contains(n)||e!=null&&(o=e.ownerDocument)!=null&&o.contains(e));!r&&n;){var s,c;t=Dc(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},Wc=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},Gc=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n===`full-native`&&`checkVisibility`in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if(getComputedStyle(e).visibility===`hidden`)return!0;var i=Ec.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(Ec.call(i,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var a=e;e;){var o=e.parentElement,s=Dc(e);if(o&&!o.shadowRoot&&r(o)===!0)return Wc(e);e=e.assignedSlot?e.assignedSlot:!o&&s!==e.ownerDocument?s.host:o}e=a}if(Uc(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return Wc(e);return!1},Kc=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName===`LEGEND`)return Ec.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},qc=function(e,t){return!(t.disabled||Lc(t)||Gc(t,e)||Rc(t)||Kc(t))},Jc=function(e,t){return!(Hc(t)||Nc(t)<0||!qc(e,t))},Yc=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},Xc=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=Pc(a,i),s=i?Xc(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(Fc).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},Zc=function(e,t){return t||={},Xc(t.getShadowRoot?jc([e],t.includeContainer,{filter:Jc.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Yc}):Ac(e,t.includeContainer,Jc.bind(null,t)))},Qc=function(e,t){return t||={},t.getShadowRoot?jc([e],t.includeContainer,{filter:qc.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):Ac(e,t.includeContainer,qc.bind(null,t))},$c=function(e,t){if(t||={},!e)throw Error(`No node provided`);return Ec.call(e,wc)!==!1&&Jc(t,e)},el=Cc.concat(`iframe:not([inert]):not([inert] *)`).join(`,`),tl=function(e,t){if(t||={},!e)throw Error(`No node provided`);return Ec.call(e,el)!==!1&&qc(t,e)},nl=`data-context-menu-trigger`,rl=`data-context-menu-content`;new cs(`Menu.Root`),new cs(`Menu.Root | Menu.Sub`),new cs(`Menu.Content`),new cs(`Menu.Group | Menu.RadioGroup`),new cs(`Menu.RadioGroup`),new cs(`Menu.CheckboxGroup`),new vc(`bitsmenuopen`,{bubbles:!1,cancelable:!0}),zs({component:`menu`,parts:[`trigger`,`content`,`sub-trigger`,`item`,`group`,`group-heading`,`checkbox-group`,`checkbox-item`,`radio-group`,`radio-item`,`separator`,`sub-content`,`arrow`]}),globalThis.bitsDismissableLayers??=new Map;var il=class e{static create(t){return new e(t)}opts;#e;#t;#n={pointerdown:!1};#r=!1;#i=!1;#a=void 0;#o;#s=Zs;constructor(e){this.opts=e,this.#t=e.interactOutsideBehavior,this.#e=e.onInteractOutside,this.#o=e.onFocusOutside,T(()=>{this.#a=xc(this.opts.ref.current)});let t=Zs,n=null,r=!1,i=()=>{n!=null&&(clearTimeout(n),n=null)},a=()=>{i(),this.#g(),globalThis.bitsDismissableLayers.delete(this),this.#d.destroy(),t()};ds([()=>this.opts.enabled.current,()=>this.opts.ref.current],()=>{if(!(!this.opts.enabled.current||!this.opts.ref.current))return i(),n=_s(1,()=>{n=null,!(r||!this.opts.ref.current)&&(globalThis.bitsDismissableLayers.set(this,this.#t),t(),t=this.#l())}),a}),hs(()=>{r=!0,i(),this.#g.destroy(),globalThis.bitsDismissableLayers.delete(this),this.#d.destroy(),this.#s(),t()})}#c=e=>{e.defaultPrevented||this.opts.ref.current&&vs(()=>{!this.opts.ref.current||this.#h(e.target)||e.target&&!this.#i&&this.#o.current?.(e)})};#l(){return Xo(n(this.#a,`pointerdown`,Xo(this.#f,this.#m),{capture:!0}),n(this.#a,`pointerdown`,Xo(this.#p,this.#d)),n(this.#a,`focusin`,this.#c))}#u=e=>{let t=e;t.defaultPrevented&&(t=cl(e)),this.#e.current(e)};#d=yc(e=>{if(!this.opts.ref.current){this.#s();return}let t=this.opts.isValidEvent.current(e,this.opts.ref.current)||sl(e,this.opts.ref.current);if(!this.#r||this.#_()||!t){this.#s();return}let r=e;if(r.defaultPrevented&&(r=cl(r)),this.#t.current!==`close`&&this.#t.current!==`defer-otherwise-close`){this.#s();return}e.pointerType===`touch`?(this.#s(),this.#s=n(this.#a,`click`,this.#u,{once:!0})):this.#e.current(r)},10);#f=e=>{this.#n[e.type]=!0};#p=e=>{this.#n[e.type]=!1};#m=()=>{this.opts.ref.current&&(this.#r=ol(this.opts.ref.current))};#h=e=>this.opts.ref.current?bc(this.opts.ref.current,e):!1;#g=yc(()=>{for(let e in this.#n)this.#n[e]=!1;this.#r=!1},20);#_(){return Object.values(this.#n).some(Boolean)}#v=()=>{this.#i=!0};#y=()=>{this.#i=!1};props={onfocuscapture:this.#v,onblurcapture:this.#y}};function al(e=[...globalThis.bitsDismissableLayers]){return e.findLast(([e,{current:t}])=>t===`close`||t===`ignore`)}function ol(e){let t=[...globalThis.bitsDismissableLayers],n=al(t);if(n)return n[0].opts.ref.current===e;let[r]=t[0];return r.opts.ref.current===e}function sl(e,t){let n=e.target;if(!Gs(n))return!1;let r=!!n.closest(`[${nl}]`),i=!!t.closest(`[${rl}]`);return`button`in e&&e.button>0&&!r?!1:`button`in e&&e.button===0&&r&&i?!0:r&&i?!1:xc(n).documentElement.contains(n)&&!bc(t,n)&&Sc(e,t)}function cl(e){let t=e.currentTarget,n=e.target,r;r=e instanceof PointerEvent?new PointerEvent(e.type,e):new PointerEvent(`pointerdown`,e);let i=!1;return new Proxy(r,{get:(r,a)=>a===`currentTarget`?t:a===`target`?n:a===`preventDefault`?()=>{i=!0,typeof r.preventDefault==`function`&&r.preventDefault()}:a===`defaultPrevented`?i:a in r?r[a]:e[a]})}function ll(e,t){P(t,!0);let n=L(t,`interactOutsideBehavior`,3,`close`),r=L(t,`onInteractOutside`,3,Zs),i=L(t,`onFocusOutside`,3,Zs),a=L(t,`isValidEvent`,3,()=>!1),o=il.create({id:Z(()=>t.id),interactOutsideBehavior:Z(()=>n()),onInteractOutside:Z(()=>r()),enabled:Z(()=>t.enabled),onFocusOutside:Z(()=>i()),isValidEvent:Z(()=>a()),ref:t.ref});var s=p(),c=_(s);U(c,()=>t.children??A,()=>({props:o.props})),R(e,s),M()}globalThis.bitsEscapeLayers??=new Map;var ul=class e{static create(t){return new e(t)}opts;domContext;constructor(e){this.opts=e,this.domContext=new js(this.opts.ref);let t=Zs;ds(()=>e.enabled.current,n=>(n&&(globalThis.bitsEscapeLayers.set(this,e.escapeKeydownBehavior),t=this.#e()),()=>{t(),globalThis.bitsEscapeLayers.delete(this)}))}#e=()=>n(this.domContext.getDocument(),`keydown`,this.#t,{passive:!1});#t=e=>{if(e.key!==`Escape`||!dl(this))return;let t=new KeyboardEvent(e.type,e);e.preventDefault();let n=this.opts.escapeKeydownBehavior.current;(n===`close`||n===`defer-otherwise-close`)&&this.opts.onEscapeKeydown.current(t)}};function dl(e){let t=[...globalThis.bitsEscapeLayers],n=t.findLast(([e,{current:t}])=>t===`close`||t===`ignore`);if(n)return n[0]===e;let[r]=t[0];return r===e}function fl(e,t){P(t,!0);let n=L(t,`escapeKeydownBehavior`,3,`close`),r=L(t,`onEscapeKeydown`,3,Zs);ul.create({escapeKeydownBehavior:Z(()=>n()),onEscapeKeydown:Z(()=>r()),enabled:Z(()=>t.enabled),ref:t.ref});var i=p(),a=_(i);U(a,()=>t.children??A),R(e,i),M()}var pl=class e{static instance;#e=So([]);#t=new WeakMap;#n=new WeakMap;static getInstance(){return this.instance||=new e,this.instance}register(e){let t=this.getActive();t&&t!==e&&t.pause();let n=document.activeElement;n&&n!==document.body&&this.#n.set(e,n),this.#e.current=this.#e.current.filter(t=>t!==e),this.#e.current.unshift(e)}unregister(e){this.#e.current=this.#e.current.filter(t=>t!==e);let t=this.getActive();t&&t.resume()}getActive(){return this.#e.current[0]}setFocusMemory(e,t){this.#t.set(e,t)}getFocusMemory(e){return this.#t.get(e)}isActiveScope(e){return this.getActive()===e}setPreFocusMemory(e,t){this.#n.set(e,t)}getPreFocusMemory(e){return this.#n.get(e)}clearPreFocusMemory(e){this.#n.delete(e)}},ml=class e{#e=!1;#t=null;#n=pl.getInstance();#r=[];#i;constructor(e){this.#i=e}get paused(){return this.#e}pause(){this.#e=!0}resume(){this.#e=!1}#a(){for(let e of this.#r)e();this.#r=[]}mount(e){this.#t&&this.unmount(),this.#t=e,this.#n.register(this),this.#c(),this.#o()}unmount(){this.#t&&=(this.#a(),this.#s(),this.#n.unregister(this),this.#n.clearPreFocusMemory(this),null)}#o(){if(!this.#t)return;let e=new CustomEvent(`focusScope.onOpenAutoFocus`,{bubbles:!1,cancelable:!0});this.#i.onOpenAutoFocus.current(e),e.defaultPrevented||requestAnimationFrame(()=>{if(!this.#t)return;let e=this.#u();e?(e.focus(),this.#n.setFocusMemory(this,e)):this.#t.focus()})}#s(){let e=new CustomEvent(`focusScope.onCloseAutoFocus`,{bubbles:!1,cancelable:!0});if(this.#i.onCloseAutoFocus.current?.(e),!e.defaultPrevented){let e=this.#n.getPreFocusMemory(this);if(e&&document.contains(e))try{e.focus()}catch{document.body.focus()}}}#c(){if(!this.#t||!this.#i.trap.current)return;let e=this.#t,t=e.ownerDocument;this.#r.push(n(t,`focusin`,t=>{if(this.#e||!this.#n.isActiveScope(this))return;let n=t.target;if(n){if(e.contains(n))this.#n.setFocusMemory(this,n);else{let n=this.#n.getFocusMemory(this);if(n&&e.contains(n)&&tl(n))t.preventDefault(),n.focus();else{let t=this.#u(),n=this.#d()[0];(t||n||e).focus()}}}},{capture:!0}),n(e,`keydown`,e=>{if(!this.#i.loop||this.#e||e.key!==`Tab`||!this.#n.isActiveScope(this))return;let n=this.#l();if(n.length===0)return;let r=n[0],i=n[n.length-1];!e.shiftKey&&t.activeElement===i?(e.preventDefault(),r.focus()):e.shiftKey&&t.activeElement===r&&(e.preventDefault(),i.focus())}));let r=new MutationObserver(()=>{let t=this.#n.getFocusMemory(this);if(t&&!e.contains(t)){let t=this.#u(),n=this.#d()[0],r=t||n;r?(r.focus(),this.#n.setFocusMemory(this,r)):e.focus()}});r.observe(e,{childList:!0,subtree:!0}),this.#r.push(()=>r.disconnect())}#l(){return this.#t?Zc(this.#t,{includeContainer:!1,getShadowRoot:!0}):[]}#u(){return this.#l()[0]||null}#d(){return this.#t?Qc(this.#t,{includeContainer:!1,getShadowRoot:!0}):[]}static use(t){let n=null;return ds([()=>t.ref.current,()=>t.enabled.current],([r,i])=>{r&&i?(n||=new e(t),n.mount(r)):n&&=(n.unmount(),null)}),hs(()=>{n?.unmount()}),{get props(){return{tabindex:-1}}}}};function hl(e,t){P(t,!0);let n=L(t,`enabled`,3,!1),r=L(t,`trapFocus`,3,!1),i=L(t,`loop`,3,!1),a=L(t,`onCloseAutoFocus`,3,Zs),o=L(t,`onOpenAutoFocus`,3,Zs),s=ml.use({enabled:Z(()=>n()),trap:Z(()=>r()),loop:i(),onCloseAutoFocus:Z(()=>a()),onOpenAutoFocus:Z(()=>o()),ref:t.ref});var c=p(),l=_(c);U(l,()=>t.focusScope??A,()=>({props:s.props})),R(e,c),M()}var gl=()=>{};globalThis.bitsTextSelectionLayers??=new Map;var _l=class e{static create(t){return new e(t)}opts;domContext;#e=Zs;#t=!1;#n=gl;#r=gl;constructor(e){this.opts=e,this.domContext=new js(e.ref);let t=Zs;ds(()=>[this.opts.enabled.current,this.opts.onPointerDown.current,this.opts.onPointerUp.current],([e,n,r])=>(this.#t=e,this.#n=n,this.#r=r,e&&(globalThis.bitsTextSelectionLayers.set(this,this.opts.enabled),t(),t=this.#i()),()=>{this.#t=!1,t(),this.#s(),globalThis.bitsTextSelectionLayers.delete(this)}))}#i(){return Xo(n(this.domContext.getDocument(),`pointerdown`,this.#o),n(this.domContext.getDocument(),`pointerup`,Co(this.#s,this.#a)))}#a=e=>{this.#r(e)};#o=e=>{if(!this.#t)return;let t=this.opts.ref.current,n=e.target;!Us(t)||!Us(n)||!xl(this)||!Ds(t,n)||(this.#n(e),!e.defaultPrevented&&(this.#e=yl(t,this.domContext.getDocument().body)))};#s=()=>{this.#e(),this.#e=Zs}},vl=e=>e.style.userSelect||e.style.webkitUserSelect;function yl(e,t){let n=vl(t),r=vl(e);return bl(t,`none`),bl(e,`text`),()=>{bl(t,n),bl(e,r)}}function bl(e,t){e.style.userSelect=t,e.style.webkitUserSelect=t}function xl(e){let t=[...globalThis.bitsTextSelectionLayers];if(!t.length)return!1;let n=t.at(-1);return n?n[0]===e:!1}function Sl(e,t){P(t,!0);let n=L(t,`preventOverflowTextSelection`,3,!0),r=L(t,`onPointerDown`,3,Zs),i=L(t,`onPointerUp`,3,Zs);_l.create({id:Z(()=>t.id),onPointerDown:Z(()=>r()),onPointerUp:Z(()=>i()),enabled:Z(()=>t.enabled&&n()),ref:t.ref});var a=p(),o=_(a);U(o,()=>t.children??A),R(e,a),M()}globalThis.bitsIdCounter??={current:0};function Cl(e=`bits`){return globalThis.bitsIdCounter.current++,`${e}-${globalThis.bitsIdCounter.current}`}var wl=class{#e;#t=0;#n=O();#r;constructor(e){this.#e=e}#i(){--this.#t,this.#r&&this.#t<=0&&(this.#r(),H(this.#n,void 0),this.#r=void 0)}get(...e){return this.#t+=1,l(this.#n)===void 0&&(this.#r=fe(()=>{H(this.#n,this.#e(...e),!0)})),T(()=>()=>{this.#i()}),l(this.#n)}},Tl=new Ee,El=O(null),Dl=null,Ol=null,kl=!1,Al=Z(()=>{for(let e of Tl.values())if(e)return!0;return!1}),jl=null,Ml=new wl(()=>{function e(){document.body.setAttribute(`style`,l(El)??``),document.body.style.removeProperty(`--scrollbar-width`),Vs&&Dl?.(),H(El,null)}function t(){Ol!==null&&(window.clearTimeout(Ol),Ol=null)}function r(e,n){t(),kl=!0,jl=Date.now();let r=jl,i=()=>{Ol=null,jl===r&&(Pl(Tl)?kl=!1:(kl=!1,n()))},a=e===null?24:e;Ol=window.setTimeout(i,a)}function i(){l(El)===null&&Tl.size===0&&!kl&&H(El,document.body.getAttribute(`style`),!0)}return ds(()=>Al.current,()=>{if(!Al.current)return;i(),kl=!1;let e=getComputedStyle(document.documentElement),t=getComputedStyle(document.body),r=e.scrollbarGutter?.includes(`stable`)||t.scrollbarGutter?.includes(`stable`),a=window.innerWidth-document.documentElement.clientWidth,o={padding:Number.parseInt(t.paddingRight??`0`,10)+a,margin:Number.parseInt(t.marginRight??`0`,10)};a>0&&!r&&(document.body.style.paddingRight=`${o.padding}px`,document.body.style.marginRight=`${o.margin}px`,document.body.style.setProperty(`--scrollbar-width`,`${a}px`)),document.body.style.overflow=`hidden`,Vs&&(Dl=n(document,`touchmove`,e=>{e.target===document.documentElement&&(e.touches.length>1||e.preventDefault())},{passive:!1})),vs(()=>{document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`})}),hs(()=>()=>{Dl?.()}),{get lockMap(){return Tl},resetBodyStyle:e,scheduleCleanupIfNoNewLocks:r,cancelPendingCleanup:t,ensureInitialStyleCaptured:i}}),Nl=class{#e=Cl();#t;#n=()=>null;#r;locked;constructor(e,t=()=>null){this.#t=e,this.#n=t,this.#r=Ml.get(),this.#r&&(this.#r.cancelPendingCleanup(),this.#r.ensureInitialStyleCaptured(),this.#r.lockMap.set(this.#e,this.#t??!1),this.locked=Z(()=>this.#r.lockMap.get(this.#e)??!1,e=>this.#r.lockMap.set(this.#e,e)),hs(()=>{if(this.#r.lockMap.delete(this.#e),Pl(this.#r.lockMap))return;let e=this.#n();this.#r.scheduleCleanupIfNoNewLocks(e,()=>{this.#r.resetBodyStyle()})}))}};function Pl(e){for(let[t,n]of e)if(n)return!0;return!1}function Fl(e,t){P(t,!0);let n=L(t,`preventScroll`,3,!0),r=L(t,`restoreScrollDelay`,3,null);n()&&new Nl(n(),()=>r()),M()}var Il=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`forceMount`,`child`,`children`,`ref`]),Ll=m(`<div><!></div>`);function Rl(e,t){let n=s();P(t,!0);let r=L(t,`id`,19,()=>Qs(n)),i=L(t,`forceMount`,3,!1),a=L(t,`ref`,15,null),c=D(t,Il),u=oc.create({id:Z(()=>r()),ref:Z(()=>a(),e=>a(e))}),d=V(()=>rs(c,u.props));var f=p(),m=_(f),h=e=>{var n=p(),r=_(n),i=e=>{var n=p(),r=_(n);{let e=V(()=>({props:rs(l(d)),...u.snippetProps}));U(r,()=>t.child,()=>l(e))}R(e,n)},a=e=>{var n=Ll();j(n,e=>({...e}),[()=>rs(l(d))]);var r=E(n);U(r,()=>t.children??A,()=>u.snippetProps),W(n),R(e,n)};o(r,e=>{t.child?e(i):e(a,-1)}),R(e,n)};o(m,e=>{(u.shouldRender||i())&&e(h)}),R(e,f),M()}var zl=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`children`,`child`,`ref`]),Bl=m(`<div><!></div>`);function Vl(e,t){let n=s();P(t,!0);let r=L(t,`id`,19,()=>Qs(n)),i=L(t,`ref`,15,null),a=D(t,zl),c=ic.create({id:Z(()=>r()),ref:Z(()=>i(),e=>i(e))}),u=V(()=>rs(a,c.props));var d=p(),f=_(d),m=e=>{var n=p(),r=_(n);U(r,()=>t.child,()=>({props:l(u)})),R(e,n)},h=e=>{var n=Bl();j(n,()=>({...l(u)}));var r=E(n);U(r,()=>t.children??A),W(n),R(e,n)};o(f,e=>{t.child?e(m):e(h,-1)}),R(e,d),M()}var Hl=zs({component:`checkbox`,parts:[`root`,`group`,`group-label`,`input`]}),Ul=new cs(`Checkbox.Group`),Wl=new cs(`Checkbox.Root`),Gl=class e{static create(t,n=null){return Wl.set(new e(t,n))}opts;group;#e=V(()=>this.group&&this.group.opts.name.current?this.group.opts.name.current:this.opts.name.current);get trueName(){return l(this.#e)}set trueName(e){H(this.#e,e)}#t=V(()=>this.group&&this.group.opts.required.current?!0:this.opts.required.current);get trueRequired(){return l(this.#t)}set trueRequired(e){H(this.#t,e)}#n=V(()=>this.group&&this.group.opts.disabled.current?!0:this.opts.disabled.current);get trueDisabled(){return l(this.#n)}set trueDisabled(e){H(this.#n,e)}#r=V(()=>this.group&&this.group.opts.readonly.current?!0:this.opts.readonly.current);get trueReadonly(){return l(this.#r)}set trueReadonly(e){H(this.#r,e)}attachment;constructor(e,t){this.opts=e,this.group=t,this.attachment=Ms(this.opts.ref),this.onkeydown=this.onkeydown.bind(this),this.onclick=this.onclick.bind(this),ds.pre([()=>F(this.group?.opts.value.current),()=>this.opts.value.current],([e,t])=>{!e||!t||(this.opts.checked.current=e.includes(t))}),ds.pre(()=>this.opts.checked.current,e=>{this.group&&(e?this.group?.addValue(this.opts.value.current):this.group?.removeValue(this.opts.value.current))})}onkeydown(e){if(!(this.trueDisabled||this.trueReadonly)){if(e.key===`Enter`){e.preventDefault(),this.opts.type.current===`submit`&&e.currentTarget.closest(`form`)?.requestSubmit();return}e.key===` `&&(e.preventDefault(),this.#i())}}#i(){this.opts.indeterminate.current?(this.opts.indeterminate.current=!1,this.opts.checked.current=!0):this.opts.checked.current=!this.opts.checked.current}onclick(e){if(!(this.trueDisabled||this.trueReadonly)){if(this.opts.type.current===`submit`){this.#i();return}e.preventDefault(),this.#i()}}#a=V(()=>({checked:this.opts.checked.current,indeterminate:this.opts.indeterminate.current}));get snippetProps(){return l(this.#a)}set snippetProps(e){H(this.#a,e)}#o=V(()=>({id:this.opts.id.current,role:`checkbox`,type:this.opts.type.current,disabled:this.trueDisabled,"aria-checked":Ls(this.opts.checked.current,this.opts.indeterminate.current),"aria-required":Ns(this.trueRequired),"aria-readonly":Ns(this.trueReadonly),"data-disabled":Ps(this.trueDisabled),"data-readonly":Ps(this.trueReadonly),"data-state":ql(this.opts.checked.current,this.opts.indeterminate.current),[Hl.root]:``,onclick:this.onclick,onkeydown:this.onkeydown,...this.attachment}));get props(){return l(this.#o)}set props(e){H(this.#o,e)}},Kl=class e{static create(){return new e(Wl.get())}root;#e=V(()=>this.root.group?!!(this.root.opts.value.current!==void 0&&this.root.group.opts.value.current.includes(this.root.opts.value.current)):this.root.opts.checked.current);get trueChecked(){return l(this.#e)}set trueChecked(e){H(this.#e,e)}#t=V(()=>!!this.root.trueName);get shouldRender(){return l(this.#t)}set shouldRender(e){H(this.#t,e)}constructor(e){this.root=e,this.onfocus=this.onfocus.bind(this)}onfocus(e){Us(this.root.opts.ref.current)&&this.root.opts.ref.current.focus()}#n=V(()=>({type:`checkbox`,checked:this.root.opts.checked.current===!0,disabled:this.root.trueDisabled,required:this.root.trueRequired,name:this.root.trueName,form:this.root.opts.form.current,value:this.root.opts.value.current,readonly:this.root.trueReadonly,onfocus:this.onfocus}));get props(){return l(this.#n)}set props(e){H(this.#n,e)}};function ql(e,t){return t?`indeterminate`:e?`checked`:`unchecked`}te();var Jl=new Set([`$$slots`,`$$events`,`$$legacy`,`value`]),Yl=m(`<input/>`);function Xl(e,t){P(t,!0);let n=L(t,`value`,15),r=D(t,Jl),i=V(()=>rs(r,{"aria-hidden":`true`,tabindex:-1,style:{...is,position:`absolute`,top:`0`,left:`0`}}));var a=p(),s=_(a),c=e=>{var t=Yl();j(t,()=>({...l(i),value:n()}),void 0,void 0,void 0,void 0,!0),R(e,t)},u=e=>{var t=Yl();j(t,()=>({...l(i)}),void 0,void 0,void 0,void 0,!0),he(t,n),R(e,t)};o(s,e=>{l(i).type===`checkbox`?e(c):e(u,-1)}),R(e,a),M()}function Zl(e,t){P(t,!1);let n=Kl.create();pe();var r=p(),i=_(r),a=e=>{Xl(e,B(()=>n.props))};o(i,e=>{n.shouldRender&&e(a)}),R(e,r),M()}var Ql=new Set([`$$slots`,`$$events`,`$$legacy`,`checked`,`ref`,`onCheckedChange`,`children`,`disabled`,`required`,`name`,`form`,`value`,`id`,`indeterminate`,`onIndeterminateChange`,`child`,`type`,`readonly`]),$l=m(`<button><!></button>`),eu=m(`<!> <!>`,1);function tu(e,t){let n=s();P(t,!0);let r=L(t,`checked`,15,!1),i=L(t,`ref`,15,null),a=L(t,`disabled`,3,!1),c=L(t,`required`,3,!1),u=L(t,`name`,3,void 0),d=L(t,`form`,3,void 0),f=L(t,`value`,3,`on`),m=L(t,`id`,19,()=>Qs(n)),h=L(t,`indeterminate`,15,!1),g=L(t,`type`,3,`button`),v=D(t,Ql),y=Ul.getOr(null);y&&f()&&(y.opts.value.current.includes(f())?r(!0):r(!1)),ds.pre(()=>f(),()=>{y&&f()&&(y.opts.value.current.includes(f())?r(!0):r(!1))});let b=Gl.create({checked:Z(()=>r(),e=>{r(e),t.onCheckedChange?.(e)}),disabled:Z(()=>a()??!1),required:Z(()=>c()),name:Z(()=>u()),form:Z(()=>d()),value:Z(()=>f()),id:Z(()=>m()),ref:Z(()=>i(),e=>i(e)),indeterminate:Z(()=>h(),e=>{h(e),t.onIndeterminateChange?.(e)}),type:Z(()=>g()),readonly:Z(()=>!!t.readonly)},y),x=V(()=>rs({...v},b.props));var S=eu(),C=_(S),w=e=>{var n=p(),r=_(n);{let e=V(()=>({props:l(x),...b.snippetProps}));U(r,()=>t.child,()=>l(e))}R(e,n)},T=e=>{var n=$l();j(n,()=>({...l(x)}));var r=E(n);U(r,()=>t.children??A,()=>b.snippetProps),W(n),R(e,n)};o(C,e=>{t.child?e(w):e(T,-1)}),Zl(N(C,2),{}),R(e,S),M()}var nu=[`top`,`right`,`bottom`,`left`],ru=Math.min,iu=Math.max,au=Math.round,ou=Math.floor,su=e=>({x:e,y:e}),cu={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function lu(e,t,n){return iu(e,ru(t,n))}function uu(e,t){return typeof e==`function`?e(t):e}function du(e){return e.split(`-`)[0]}function fu(e){return e.split(`-`)[1]}function pu(e){return e===`x`?`y`:`x`}function mu(e){return e===`y`?`height`:`width`}function hu(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function gu(e){return pu(hu(e))}function _u(e,t,n){n===void 0&&(n=!1);let r=fu(e),i=gu(e),a=mu(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Eu(o)),[o,Eu(o)]}function vu(e){let t=Eu(e);return[yu(e),t,yu(t)]}function yu(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var bu=[`left`,`right`],xu=[`right`,`left`],Su=[`top`,`bottom`],Cu=[`bottom`,`top`];function wu(e,t,n){switch(e){case`top`:case`bottom`:return n?t?xu:bu:t?bu:xu;case`left`:case`right`:return t?Su:Cu;default:return[]}}function Tu(e,t,n,r){let i=fu(e),a=wu(du(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(yu)))),a}function Eu(e){let t=du(e);return cu[t]+e.slice(t.length)}function Du(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ou(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Du(e)}function ku(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Au(e,t,n){let{reference:r,floating:i}=e,a=hu(t),o=gu(t),s=mu(o),c=du(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(fu(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1)}return p}async function ju(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=uu(t,e),p=Ou(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=ku(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=ku(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var Mu=50,Nu=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:ju},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Au(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<Mu&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Au(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},Pu=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=uu(e,t)||{};if(l==null)return{};let d=Ou(u),f={x:n,y:r},p=gu(i),m=mu(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=ru(d[_],T),ee=ru(d[v],T),te=E,D=C-h[m]-ee,O=C/2-h[m]/2+w,k=lu(te,O,D),A=!c.arrow&&fu(i)!=null&&O!==k&&a.reference[m]/2-(O<te?E:ee)-h[m]/2<0,ne=A?O<te?O-te:O-D:0;return{[p]:f[p]+ne,data:{[p]:k,centerOffset:O-k-ne,...A&&{alignmentOffset:ne}},reset:A}}}),Fu=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=uu(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=du(r),_=hu(o),v=du(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Eu(o)]:vu(o)),x=p!==`none`;!d&&x&&b.push(...Tu(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=_u(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===hu(t)||T.every(e=>hu(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=hu(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}};function Iu(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Lu(e){return nu.some(t=>e[t]>=0)}var Ru=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=uu(e,t);switch(i){case`referenceHidden`:{let e=Iu(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Lu(e)}}}case`escaped`:{let e=Iu(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Lu(e)}}}default:return{}}}}},zu=new Set([`left`,`top`]);async function Bu(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=du(n),s=fu(n),c=hu(n)===`y`,l=zu.has(o)?-1:1,u=a&&c?-1:1,d=uu(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var Vu=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Bu(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Hu=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=uu(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=hu(du(i)),p=pu(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=lu(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=lu(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}},Uu=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=uu(e,t),u={x:n,y:r},d=hu(i),f=pu(d),p=u[f],m=u[d],h=uu(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=zu.has(du(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},Wu=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=uu(e,t),u=await o.detectOverflow(t,l),d=du(i),f=fu(i),p=hu(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=ru(h-u[g],v),x=ru(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=iu(u.left,0),t=iu(u.right,0),n=iu(u.top,0),r=iu(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:iu(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:iu(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function Gu(){return typeof window<`u`}function Ku(e){return Yu(e)?(e.nodeName||``).toLowerCase():`#document`}function qu(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ju(e){return((Yu(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Yu(e){return Gu()?e instanceof Node||e instanceof qu(e).Node:!1}function Xu(e){return Gu()?e instanceof Element||e instanceof qu(e).Element:!1}function Zu(e){return Gu()?e instanceof HTMLElement||e instanceof qu(e).HTMLElement:!1}function Qu(e){return!Gu()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof qu(e).ShadowRoot}function $u(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ud(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function ed(e){return/^(table|td|th)$/.test(Ku(e))}function td(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var nd=/transform|translate|scale|rotate|perspective|filter/,rd=/paint|layout|strict|content/,id=e=>!!e&&e!==`none`,ad;function od(e){let t=Xu(e)?ud(e):e;return id(t.transform)||id(t.translate)||id(t.scale)||id(t.rotate)||id(t.perspective)||!cd()&&(id(t.backdropFilter)||id(t.filter))||nd.test(t.willChange||``)||rd.test(t.contain||``)}function sd(e){let t=fd(e);for(;Zu(t)&&!ld(t);){if(od(t))return t;if(td(t))return null;t=fd(t)}return null}function cd(){return ad??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),ad}function ld(e){return/^(html|body|#document)$/.test(Ku(e))}function ud(e){return qu(e).getComputedStyle(e)}function dd(e){return Xu(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function fd(e){if(Ku(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Qu(e)&&e.host||Ju(e);return Qu(t)?t.host:t}function pd(e){let t=fd(e);return ld(t)?e.ownerDocument?e.ownerDocument.body:e.body:Zu(t)&&$u(t)?t:pd(t)}function md(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=pd(e),i=r===e.ownerDocument?.body,a=qu(r);if(i){let e=hd(a);return t.concat(a,a.visualViewport||[],$u(r)?r:[],e&&n?md(e):[])}return t.concat(r,md(r,[],n))}function hd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function gd(e){let t=ud(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Zu(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=au(n)!==a||au(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function _d(e){return Xu(e)?e:e.contextElement}function vd(e){let t=_d(e);if(!Zu(t))return su(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=gd(t),o=(a?au(n.width):n.width)/r,s=(a?au(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var yd=su(0);function bd(e){let t=qu(e);return!cd()||!t.visualViewport?yd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function xd(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==qu(e)?!1:t}function Sd(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=_d(e),o=su(1);t&&(r?Xu(r)&&(o=vd(r)):o=vd(e));let s=xd(a,n,r)?bd(a):su(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=qu(a),t=r&&Xu(r)?qu(r):r,n=e,i=hd(n);for(;i&&r&&t!==n;){let e=vd(i),t=i.getBoundingClientRect(),r=ud(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=qu(i),i=hd(n)}}return ku({width:u,height:d,x:c,y:l})}function Cd(e,t){let n=dd(e).scrollLeft;return t?t.left+n:Sd(Ju(e)).left+n}function wd(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Cd(e,n),y:n.top+t.scrollTop}}function Td(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=Ju(r),s=t?td(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=su(1),u=su(0),d=Zu(r);if((d||!d&&!a)&&((Ku(r)!==`body`||$u(o))&&(c=dd(r)),d)){let e=Sd(r);l=vd(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?wd(o,c):su(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Ed(e){return Array.from(e.getClientRects())}function Dd(e){let t=Ju(e),n=dd(e),r=e.ownerDocument.body,i=iu(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=iu(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Cd(e),s=-n.scrollTop;return ud(r).direction===`rtl`&&(o+=iu(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var Od=25;function kd(e,t){let n=qu(e),r=Ju(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=cd();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=Cd(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=Od&&(a-=o)}else l<=Od&&(a+=l);return{width:a,height:o,x:s,y:c}}function Ad(e,t){let n=Sd(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Zu(e)?vd(e):su(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function jd(e,t,n){let r;if(t===`viewport`)r=kd(e,n);else if(t===`document`)r=Dd(Ju(e));else if(Xu(t))r=Ad(t,n);else{let n=bd(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return ku(r)}function Md(e,t){let n=fd(e);return n===t||!Xu(n)||ld(n)?!1:ud(n).position===`fixed`||Md(n,t)}function Nd(e,t){let n=t.get(e);if(n)return n;let r=md(e,[],!1).filter(e=>Xu(e)&&Ku(e)!==`body`),i=null,a=ud(e).position===`fixed`,o=a?fd(e):e;for(;Xu(o)&&!ld(o);){let t=ud(o),n=od(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||$u(o)&&!n&&Md(e,o))?r=r.filter(e=>e!==o):i=t,o=fd(o)}return t.set(e,r),r}function Pd(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?td(t)?[]:Nd(t,this._c):[].concat(n),r],o=jd(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=jd(t,a[e],i);s=iu(n.top,s),c=ru(n.right,c),l=ru(n.bottom,l),u=iu(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Fd(e){let{width:t,height:n}=gd(e);return{width:t,height:n}}function Id(e,t,n){let r=Zu(t),i=Ju(t),a=n===`fixed`,o=Sd(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=su(0);function l(){c.x=Cd(i)}if(r||!r&&!a){if((Ku(t)!==`body`||$u(i))&&(s=dd(t)),r){let e=Sd(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l()}a&&!r&&i&&l();let u=i&&!r&&!a?wd(i,s):su(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function Ld(e){return ud(e).position===`static`}function Rd(e,t){if(!Zu(e)||ud(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return Ju(e)===n&&(n=n.ownerDocument.body),n}function zd(e,t){let n=qu(e);if(td(e))return n;if(!Zu(e)){let t=fd(e);for(;t&&!ld(t);){if(Xu(t)&&!Ld(t))return t;t=fd(t)}return n}let r=Rd(e,t);for(;r&&ed(r)&&Ld(r);)r=Rd(r,t);return r&&ld(r)&&Ld(r)&&!od(r)?n:r||sd(e)||n}var Bd=async function(e){let t=this.getOffsetParent||zd,n=this.getDimensions,r=await n(e.floating);return{reference:Id(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Vd(e){return ud(e).direction===`rtl`}var Hd={convertOffsetParentRelativeRectToViewportRelativeRect:Td,getDocumentElement:Ju,getClippingRect:Pd,getOffsetParent:zd,getElementRects:Bd,getClientRects:Ed,getDimensions:Fd,getScale:vd,isElement:Xu,isRTL:Vd};function Ud(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Wd(e,t){let n=null,r,i=Ju(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=ou(d),h=ou(i.clientWidth-(u+f)),g=ou(i.clientHeight-(d+p)),_=ou(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:iu(0,ru(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!Ud(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function Gd(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=_d(e),u=i||a?[...l?md(l):[],...t?md(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?Wd(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Sd(e):null;c&&g();function g(){let t=Sd(e);h&&!Ud(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Kd=Vu,qd=Hu,Jd=Fu,Yd=Wu,Xd=Ru,Zd=Pu,Qd=Uu,$d=(e,t,n)=>{let r=new Map,i={platform:Hd,...n},a={...i.platform,_c:r};return Nu(e,t,{...i,platform:a})};function ef(e){return typeof e==`function`?e():e}function tf(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nf(e,t){let n=tf(e);return Math.round(t*n)/n}function rf(e){return{[`--bits-${e}-content-transform-origin`]:`var(--bits-floating-transform-origin)`,[`--bits-${e}-content-available-width`]:`var(--bits-floating-available-width)`,[`--bits-${e}-content-available-height`]:`var(--bits-floating-available-height)`,[`--bits-${e}-anchor-width`]:`var(--bits-floating-anchor-width)`,[`--bits-${e}-anchor-height`]:`var(--bits-floating-anchor-height)`}}function af(e){let t=e.whileElementsMounted,n=V(()=>ef(e.open)??!0),r=V(()=>ef(e.middleware)),i=V(()=>ef(e.transform)??!0),a=V(()=>ef(e.placement)??`bottom`),o=V(()=>ef(e.strategy)??`absolute`),s=V(()=>ef(e.sideOffset)??0),c=V(()=>ef(e.alignOffset)??0),u=e.reference,d=O(0),f=O(0),p=So(null),m=O(me(l(o))),h=O(me(l(a))),g=O(me({})),_=O(!1),v=!1,y=0,b=V(()=>{let e=p.current?nf(p.current,l(d)):l(d),t=p.current?nf(p.current,l(f)):l(f);return l(i)?{position:l(m),left:`0`,top:`0`,transform:`translate(${e}px, ${t}px)`,...p.current&&tf(p.current)>=1.5&&{willChange:`transform`}}:{position:l(m),left:`${e}px`,top:`${t}px`}}),x;function S(){if(u.current===null||p.current===null)return;let e=u.current,t=p.current,i=++y;$d(e,t,{middleware:l(r),placement:l(a),strategy:l(o)}).then(r=>{if(i===y&&u.current===e&&p.current===t){if(of(e)){H(g,{...l(g),hide:{...l(g).hide,referenceHidden:!0}},!0);return}if(!l(n)&&l(d)!==0&&l(f)!==0){let e=Math.max(Math.abs(l(s)),Math.abs(l(c)),15);if(r.x<=e&&r.y<=e)return}H(d,r.x,!0),H(f,r.y,!0),H(m,r.strategy,!0),H(h,r.placement,!0),H(g,r.middlewareData,!0),H(_,!0)}})}function C(){typeof x==`function`&&(x(),x=void 0),y++}function w(){if(C(),t===void 0){S();return}l(n)&&u.current!==null&&p.current!==null&&(x=t(u.current,p.current,S))}function E(){!l(n)&&p.current===null&&H(_,!1)}function ee(){return[l(r),l(a),l(o),l(s),l(c),l(n)]}return T(()=>{t===void 0&&l(n)&&S()}),T(w),T(()=>{if(t!==void 0){if(ee(),!l(n)){v=!1;return}if(!l(_)){v=!1;return}if(!v){v=!0;return}S()}}),T(E),T(()=>C),{floating:p,reference:u,get strategy(){return l(m)},get placement(){return l(h)},get middlewareData(){return l(g)},get isPositioned(){return l(_)},get floatingStyles(){return l(b)},get update(){return S}}}function of(e){return e instanceof Element?!e.isConnected||e instanceof HTMLElement&&e.hidden?!0:e.getClientRects().length===0:!1}var sf={top:`bottom`,right:`left`,bottom:`top`,left:`right`},cf=new cs(`Floating.Root`),lf=new cs(`Floating.Content`),uf=new cs(`Floating.Root`),df=class e{static create(t=!1){return t?uf.set(new e):cf.set(new e)}anchorNode=So(null);customAnchorNode=So(null);triggerNode=So(null);constructor(){T(()=>{this.customAnchorNode.current?typeof this.customAnchorNode.current==`string`?this.anchorNode.current=document.querySelector(this.customAnchorNode.current):this.anchorNode.current=this.customAnchorNode.current:this.anchorNode.current=this.triggerNode.current})}},ff=class e{static create(t,n=!1){return n?lf.set(new e(t,uf.get())):lf.set(new e(t,cf.get()))}opts;root;contentRef=So(null);wrapperRef=So(null);arrowRef=So(null);contentAttachment=Ms(this.contentRef);wrapperAttachment=Ms(this.wrapperRef);arrowAttachment=Ms(this.arrowRef);arrowId=So(Cl());#e=V(()=>{if(typeof this.opts.style==`string`)return Yo(this.opts.style);if(!this.opts.style)return{}});#t=void 0;#n=new ms(()=>this.arrowRef.current??void 0);#r=V(()=>this.#n?.width??0);#i=V(()=>this.#n?.height??0);#a=V(()=>this.opts.side?.current+(this.opts.align.current===`center`?``:`-${this.opts.align.current}`));#o=V(()=>Array.isArray(this.opts.collisionBoundary.current)?this.opts.collisionBoundary.current:[this.opts.collisionBoundary.current]);#s=V(()=>l(this.#o).length>0);get hasExplicitBoundaries(){return l(this.#s)}set hasExplicitBoundaries(e){H(this.#s,e)}#c=V(()=>({padding:this.opts.collisionPadding.current,boundary:l(this.#o).filter(Js),altBoundary:this.hasExplicitBoundaries}));get detectOverflowOptions(){return l(this.#c)}set detectOverflowOptions(e){H(this.#c,e)}#l=O(void 0);#u=O(void 0);#d=O(void 0);#f=O(void 0);#p=V(()=>[Kd({mainAxis:this.opts.sideOffset.current+l(this.#i),alignmentAxis:this.opts.alignOffset.current}),this.opts.avoidCollisions.current&&qd({mainAxis:!0,crossAxis:!1,limiter:this.opts.sticky.current===`partial`?Qd():void 0,...this.detectOverflowOptions}),this.opts.avoidCollisions.current&&Jd({...this.detectOverflowOptions}),Yd({...this.detectOverflowOptions,apply:({rects:e,availableWidth:t,availableHeight:n})=>{let{width:r,height:i}=e.reference;H(this.#l,t,!0),H(this.#u,n,!0),H(this.#d,r,!0),H(this.#f,i,!0)}}),this.arrowRef.current&&Zd({element:this.arrowRef.current,padding:this.opts.arrowPadding.current}),hf({arrowWidth:l(this.#r),arrowHeight:l(this.#i)}),this.opts.hideWhenDetached.current&&Xd({strategy:`referenceHidden`,...this.detectOverflowOptions})].filter(Boolean));get middleware(){return l(this.#p)}set middleware(e){H(this.#p,e)}floating;#m=V(()=>_f(this.floating.placement));get placedSide(){return l(this.#m)}set placedSide(e){H(this.#m,e)}#h=V(()=>vf(this.floating.placement));get placedAlign(){return l(this.#h)}set placedAlign(e){H(this.#h,e)}#g=V(()=>this.floating.middlewareData.arrow?.x??0);get arrowX(){return l(this.#g)}set arrowX(e){H(this.#g,e)}#_=V(()=>this.floating.middlewareData.arrow?.y??0);get arrowY(){return l(this.#_)}set arrowY(e){H(this.#_,e)}#v=V(()=>this.floating.middlewareData.arrow?.centerOffset!==0);get cannotCenterArrow(){return l(this.#v)}set cannotCenterArrow(e){H(this.#v,e)}#y=O();get contentZIndex(){return l(this.#y)}set contentZIndex(e){H(this.#y,e,!0)}#b=V(()=>sf[this.placedSide]);get arrowBaseSide(){return l(this.#b)}set arrowBaseSide(e){H(this.#b,e)}#x=V(()=>({id:this.opts.wrapperId.current,"data-bits-floating-content-wrapper":``,style:{...this.floating.floatingStyles,transform:this.floating.isPositioned?this.floating.floatingStyles.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:this.contentZIndex,"--bits-floating-transform-origin":`${this.floating.middlewareData.transformOrigin?.x} ${this.floating.middlewareData.transformOrigin?.y}`,"--bits-floating-available-width":`${l(this.#l)}px`,"--bits-floating-available-height":`${l(this.#u)}px`,"--bits-floating-anchor-width":`${l(this.#d)}px`,"--bits-floating-anchor-height":`${l(this.#f)}px`,...this.floating.middlewareData.hide?.referenceHidden&&{visibility:`hidden`,"pointer-events":`none`},...l(this.#e)},dir:this.opts.dir.current,...this.wrapperAttachment}));get wrapperProps(){return l(this.#x)}set wrapperProps(e){H(this.#x,e)}#S=V(()=>({"data-side":this.placedSide,"data-align":this.placedAlign,style:es({...l(this.#e)}),...this.contentAttachment}));get props(){return l(this.#S)}set props(e){H(this.#S,e)}#C=V(()=>({position:`absolute`,left:this.arrowX?`${this.arrowX}px`:void 0,top:this.arrowY?`${this.arrowY}px`:void 0,[this.arrowBaseSide]:0,"transform-origin":{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[this.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[this.placedSide],visibility:this.cannotCenterArrow?`hidden`:void 0}));get arrowStyle(){return l(this.#C)}set arrowStyle(e){H(this.#C,e)}constructor(e,t){this.opts=e,this.root=t,this.#t=e.updatePositionStrategy,e.customAnchor&&(this.root.customAnchorNode.current=e.customAnchor.current),ds(()=>e.customAnchor.current,e=>{this.root.customAnchorNode.current=e}),this.floating=af({strategy:()=>this.opts.strategy.current,placement:()=>l(this.#a),middleware:()=>this.middleware,reference:this.root.anchorNode,whileElementsMounted:(...e)=>Gd(...e,{animationFrame:this.#t?.current===`always`}),open:()=>this.opts.enabled.current,sideOffset:()=>this.opts.sideOffset.current,alignOffset:()=>this.opts.alignOffset.current}),T(()=>{this.floating.isPositioned&&this.opts.onPlaced?.current()}),ds(()=>this.contentRef.current,e=>{if(!e||!this.opts.enabled.current)return;let t=ks(e),n=t.requestAnimationFrame(()=>{if(this.contentRef.current!==e||!this.opts.enabled.current)return;let n=t.getComputedStyle(e).zIndex;n!==this.contentZIndex&&(this.contentZIndex=n)});return()=>{t.cancelAnimationFrame(n)}}),T(()=>{this.floating.floating.current=this.wrapperRef.current})}},pf=class e{static create(t){return new e(t,lf.get())}opts;content;constructor(e,t){this.opts=e,this.content=t}#e=V(()=>({id:this.opts.id.current,style:this.content.arrowStyle,"data-side":this.content.placedSide,...this.content.arrowAttachment}));get props(){return l(this.#e)}set props(e){H(this.#e,e)}},mf=class e{static create(t,n=!1){return n?new e(t,uf.get()):new e(t,cf.get())}opts;root;constructor(e,t){this.opts=e,this.root=t,t.triggerNode=e.virtualEl&&e.virtualEl.current?xo(e.virtualEl.current):e.ref}};function hf(e){return{name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=gf(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}}function gf(e){let[t,n=`center`]=e.split(`-`);return[t,n]}function _f(e){return gf(e)[0]}function vf(e){return gf(e)[1]}function yf(e,t){P(t,!0);let n=L(t,`tooltip`,3,!1);df.create(n());var r=p(),i=_(r);U(i,()=>t.children??A),R(e,r),M()}function bf(e,t){P(t,!0);let n=L(t,`tooltip`,3,!1);mf.create({id:Z(()=>t.id),virtualEl:Z(()=>t.virtualEl),ref:t.ref},n());var r=p(),i=_(r);U(i,()=>t.children??A),R(e,r),M()}var xf=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`children`,`child`,`width`,`height`]),Sf=g(`<svg viewBox="0 0 30 10" preserveAspectRatio="none" data-arrow=""><polygon points="0,0 30,0 15,10" fill="currentColor"></polygon></svg>`),Cf=m(`<span><!></span>`);function wf(e,t){P(t,!0);let n=L(t,`id`,19,Cl),r=L(t,`width`,3,10),i=L(t,`height`,3,5),a=D(t,xf),s=V(()=>rs(a,{id:n()}));var c=p(),u=_(c),f=e=>{var n=p(),r=_(n);U(r,()=>t.child,()=>({props:l(s)})),R(e,n)},m=e=>{var n=Cf();j(n,()=>({...l(s)}));var a=E(n),c=e=>{var n=p(),r=_(n);U(r,()=>t.children??A),R(e,n)},u=e=>{var t=Sf();d(()=>{ue(t,`width`,r()),ue(t,`height`,i())}),R(e,t)};o(a,e=>{t.children?e(c):e(u,-1)}),W(n),R(e,n)};o(u,e=>{t.child?e(f):e(m,-1)}),R(e,c),M()}var Tf=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`ref`]);function Ef(e,t){P(t,!0);let n=L(t,`id`,19,Cl),r=L(t,`ref`,15,null),i=D(t,Tf),a=pf.create({id:Z(()=>n()),ref:Z(()=>r(),e=>r(e))}),o=V(()=>rs(i,a.props));wf(e,B(()=>l(o))),M()}function Df(e,t){P(t,!0);let n=L(t,`side`,3,`bottom`),r=L(t,`sideOffset`,3,0),i=L(t,`align`,3,`center`),a=L(t,`alignOffset`,3,0),o=L(t,`arrowPadding`,3,0),s=L(t,`avoidCollisions`,3,!0),c=L(t,`collisionBoundary`,19,()=>[]),u=L(t,`collisionPadding`,3,0),d=L(t,`hideWhenDetached`,3,!1),f=L(t,`onPlaced`,3,()=>{}),m=L(t,`sticky`,3,`partial`),h=L(t,`updatePositionStrategy`,3,`optimized`),g=L(t,`strategy`,3,`fixed`),v=L(t,`dir`,3,`ltr`),y=L(t,`style`,19,()=>({})),b=L(t,`wrapperId`,19,Cl),x=L(t,`customAnchor`,3,null),S=L(t,`tooltip`,3,!1),C=ff.create({side:Z(()=>n()),sideOffset:Z(()=>r()),align:Z(()=>i()),alignOffset:Z(()=>a()),id:Z(()=>t.id),arrowPadding:Z(()=>o()),avoidCollisions:Z(()=>s()),collisionBoundary:Z(()=>c()),collisionPadding:Z(()=>u()),hideWhenDetached:Z(()=>d()),onPlaced:Z(()=>f()),sticky:Z(()=>m()),updatePositionStrategy:Z(()=>h()),strategy:Z(()=>g()),dir:Z(()=>v()),style:Z(()=>y()),enabled:Z(()=>t.enabled),wrapperId:Z(()=>b()),customAnchor:Z(()=>x())},S()),w=V(()=>rs(C.wrapperProps,{style:{pointerEvents:`auto`}}));var T=p(),E=_(T);U(E,()=>t.content??A,()=>({props:C.props,wrapperProps:l(w)})),R(e,T),M()}function Of(e,t){P(t,!0),le(()=>{t.onPlaced?.()});var n=p(),r=_(n);U(r,()=>t.content??A,()=>({props:{},wrapperProps:{}})),R(e,n),M()}var kf=new Set([`$$slots`,`$$events`,`$$legacy`,`content`,`isStatic`,`onPlaced`]);function Af(e,t){let n=L(t,`isStatic`,3,!1),r=D(t,kf);var i=p(),a=_(i),s=e=>{Of(e,{get content(){return t.content},get onPlaced(){return t.onPlaced}})},c=e=>{Df(e,B({get content(){return t.content},get onPlaced(){return t.onPlaced}},()=>r))};o(a,e=>{n()?e(s):e(c,-1)}),R(e,i)}var jf=new Set(`$$slots.$$events.$$legacy.popper.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.enabled.ref.tooltip.contentPointerEvents`.split(`.`)),Mf=m(`<!> <!>`,1);function Nf(e,t){P(t,!0);let n=L(t,`interactOutsideBehavior`,3,`close`),r=L(t,`trapFocus`,3,!0),i=L(t,`isValidEvent`,3,()=>!1),a=L(t,`customAnchor`,3,null),s=L(t,`isStatic`,3,!1),c=L(t,`tooltip`,3,!1),u=L(t,`contentPointerEvents`,3,`auto`),d=D(t,jf),f=V(()=>t.preventScroll??!0),m=V(()=>t.strategy??(l(f)?`fixed`:`absolute`));Af(e,{get isStatic(){return s()},get id(){return t.id},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return l(m)},get dir(){return t.dir},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return a()},get enabled(){return t.enabled},get tooltip(){return c()},content:(e,a)=>{let s=()=>(a?.()).props,c=()=>(a?.()).wrapperProps;var m=Mf(),h=_(m),g=e=>{Fl(e,{get preventScroll(){return l(f)}})},v=e=>{Fl(e,{get preventScroll(){return l(f)}})};o(h,e=>{t.forceMount&&t.enabled?e(g):t.forceMount||e(v,1)}),hl(N(h,2),{get onOpenAutoFocus(){return t.onOpenAutoFocus},get onCloseAutoFocus(){return t.onCloseAutoFocus},get loop(){return t.loop},get enabled(){return t.enabled},get trapFocus(){return r()},get forceMount(){return t.forceMount},get ref(){return t.ref},focusScope:(e,r)=>{let a=()=>(r?.()).props;fl(e,{get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,r)=>{ll(e,{get id(){return t.id},get onInteractOutside(){return t.onInteractOutside},get onFocusOutside(){return t.onFocusOutside},get interactOutsideBehavior(){return n()},get isValidEvent(){return i()},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,n)=>{let r=()=>(n?.()).props;Sl(e,{get id(){return t.id},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get enabled(){return t.enabled},get ref(){return t.ref},children:(e,n)=>{var i=p(),o=_(i);{let e=V(()=>({props:rs(d,s(),r(),a(),{style:{pointerEvents:u()}}),wrapperProps:c()}));U(o,()=>t.popper??A,()=>l(e))}R(e,i)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{focusScope:!0}}),R(e,m)},$$slots:{content:!0}}),M()}var Pf=new Set(`$$slots.$$events.$$legacy.popper.open.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.ref.shouldRender`.split(`.`));function Ff(e,t){let n=L(t,`interactOutsideBehavior`,3,`close`),r=L(t,`trapFocus`,3,!0),i=L(t,`isValidEvent`,3,()=>!1),a=L(t,`customAnchor`,3,null),s=L(t,`isStatic`,3,!1),c=D(t,Pf);var l=p(),u=_(l),d=e=>{Nf(e,B({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return a()},get isStatic(){return s()},get enabled(){return t.open},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return n()},get loop(){return t.loop},get trapFocus(){return r()},get isValidEvent(){return i()},get onFocusOutside(){return t.onFocusOutside},forceMount:!1,get ref(){return t.ref}},()=>c))};o(u,e=>{t.shouldRender&&e(d)}),R(e,l)}var If=new Set(`$$slots.$$events.$$legacy.popper.onEscapeKeydown.escapeKeydownBehavior.preventOverflowTextSelection.id.onPointerDown.onPointerUp.side.sideOffset.align.alignOffset.arrowPadding.avoidCollisions.collisionBoundary.collisionPadding.sticky.hideWhenDetached.updatePositionStrategy.strategy.dir.preventScroll.wrapperId.style.onPlaced.onInteractOutside.onCloseAutoFocus.onOpenAutoFocus.onFocusOutside.interactOutsideBehavior.loop.trapFocus.isValidEvent.customAnchor.isStatic.enabled`.split(`.`));function Lf(e,t){let n=L(t,`interactOutsideBehavior`,3,`close`),r=L(t,`trapFocus`,3,!0),i=L(t,`isValidEvent`,3,()=>!1),a=L(t,`customAnchor`,3,null),o=L(t,`isStatic`,3,!1),s=D(t,If);Nf(e,B({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return a()},get isStatic(){return o()},get enabled(){return t.enabled},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return n()},get loop(){return t.loop},get trapFocus(){return r()},get isValidEvent(){return i()},get onFocusOutside(){return t.onFocusOutside}},()=>s,{forceMount:!0}))}function Rf(e,t){let[n,r]=e,i=!1,a=t.length;for(let e=0,o=a-1;e<a;o=e++){let[a,s]=t[e]??[0,0],[c,l]=t[o]??[0,0];s>=r!=l>=r&&n<=(c-a)*(r-s)/(l-s)+a&&(i=!i)}return i}function zf(e,t){return e[0]>=t.left&&e[0]<=t.right&&e[1]>=t.top&&e[1]<=t.bottom}function Bf(e,t){let n=e.left+e.width/2,r=e.top+e.height/2,i=t.left+t.width/2,a=t.top+t.height/2,o=i-n,s=a-r;return Math.abs(o)>Math.abs(s)?o>0?`right`:`left`:s>0?`bottom`:`top`}var Vf=class{#e;#t;#n;#r=null;#i=null;#a=[];#o=null;#s=null;#c=null;#l(){this.#s!==null&&(cancelAnimationFrame(this.#s),this.#s=null)}#u(){this.#l(),this.#s=requestAnimationFrame(()=>{this.#s=null,!(!this.#r||!this.#i)&&(this.#m(),this.#e.onPointerExit())})}#d(){this.#c!==null&&(clearTimeout(this.#c),this.#c=null)}#f(){this.#n!==null&&(this.#d(),this.#c=window.setTimeout(()=>{this.#c=null,!(!this.#r||!this.#i)&&(this.#m(),this.#e.onPointerExit())},this.#n))}constructor(e){this.#e=e,this.#t=e.buffer??1;let t=e.transitIntentTimeout;this.#n=typeof t==`number`&&t>0?t:null,ds([e.triggerNode,e.contentNode,e.enabled],([e,t,r])=>{if(!e||!t||!r){this.#o=null,this.#m();return}this.#o&&this.#o!==e&&this.#m(),this.#o=e;let i=Os(e);return[n(i,`pointermove`,n=>{this.#p([n.clientX,n.clientY],e,t)}),n(e,`pointerleave`,e=>{let n=e.relatedTarget;if(Ws(n)&&t.contains(n))return;let r=this.#e.ignoredTargets?.()??[];Ws(n)&&r.some(e=>e===n||e.contains(n))||(this.#a=Ws(n)&&r.length>0?r.filter(e=>n.contains(e)):[],this.#r=[e.clientX,e.clientY],this.#i=`content`,this.#u())}),n(e,`pointerenter`,()=>{this.#m()}),n(t,`pointerenter`,()=>{this.#m()}),n(t,`pointerleave`,t=>{let n=t.relatedTarget;Ws(n)&&e.contains(n)||(this.#r=[t.clientX,t.clientY],this.#i=`trigger`,this.#u())})].reduce((e,t)=>()=>{e(),t()},()=>{})})}#p(e,t,n){if(!this.#r||!this.#i)return;this.#l(),this.#f();let r=t.getBoundingClientRect(),i=n.getBoundingClientRect();if(this.#i===`content`&&zf(e,i)){this.#m();return}if(this.#i===`trigger`&&zf(e,r)){this.#m();return}if(this.#i===`content`&&this.#a.length>0)for(let t of this.#a){let n=t.getBoundingClientRect();if(zf(e,n))return;let i=Bf(r,n),a=this.#h(r,n,i);if(a&&Rf(e,a))return}let a=Bf(r,i),o=this.#h(r,i,a);if(o&&Rf(e,o))return;let s=this.#i===`content`?i:r;Rf(e,this.#g(this.#r,s,a,this.#i))||(this.#m(),this.#e.onPointerExit())}#m(){this.#r=null,this.#i=null,this.#a=[],this.#l(),this.#d()}#h(e,t,n){let r=this.#t;switch(n){case`top`:return[[Math.min(e.left,t.left)-r,e.top],[Math.min(e.left,t.left)-r,t.bottom],[Math.max(e.right,t.right)+r,t.bottom],[Math.max(e.right,t.right)+r,e.top]];case`bottom`:return[[Math.min(e.left,t.left)-r,e.bottom],[Math.min(e.left,t.left)-r,t.top],[Math.max(e.right,t.right)+r,t.top],[Math.max(e.right,t.right)+r,e.bottom]];case`left`:return[[e.left,Math.min(e.top,t.top)-r],[t.right,Math.min(e.top,t.top)-r],[t.right,Math.max(e.bottom,t.bottom)+r],[e.left,Math.max(e.bottom,t.bottom)+r]];case`right`:return[[e.right,Math.min(e.top,t.top)-r],[t.left,Math.min(e.top,t.top)-r],[t.left,Math.max(e.bottom,t.bottom)+r],[e.right,Math.max(e.bottom,t.bottom)+r]]}}#g(e,t,n,r){let i=this.#t*4,[a,o]=e;switch(r===`trigger`?this.#_(n):n){case`top`:return[[a-i,o+i],[a+i,o+i],[t.right+i,t.bottom],[t.right+i,t.top],[t.left-i,t.top],[t.left-i,t.bottom]];case`bottom`:return[[a-i,o-i],[a+i,o-i],[t.right+i,t.top],[t.right+i,t.bottom],[t.left-i,t.bottom],[t.left-i,t.top]];case`left`:return[[a+i,o-i],[a+i,o+i],[t.right,t.bottom+i],[t.left,t.bottom+i],[t.left,t.top-i],[t.right,t.top-i]];case`right`:return[[a-i,o-i],[a-i,o+i],[t.left,t.bottom+i],[t.right,t.bottom+i],[t.right,t.top-i],[t.left,t.top-i]]}}#_(e){switch(e){case`top`:return`bottom`;case`bottom`:return`top`;case`left`:return`right`;case`right`:return`left`}}},Hf=zs({component:`popover`,parts:[`root`,`trigger`,`content`,`close`,`overlay`]}),Uf=new cs(`Popover.Root`),Wf=class e{static create(t){return Uf.set(new e(t))}opts;#e=O(null);get contentNode(){return l(this.#e)}set contentNode(e){H(this.#e,e,!0)}contentPresence;#t=O(null);get triggerNode(){return l(this.#t)}set triggerNode(e){H(this.#t,e,!0)}#n=O(null);get overlayNode(){return l(this.#n)}set overlayNode(e){H(this.#n,e,!0)}overlayPresence;#r=O(!1);get openedViaHover(){return l(this.#r)}set openedViaHover(e){H(this.#r,e,!0)}#i=O(!1);get hasInteractedWithContent(){return l(this.#i)}set hasInteractedWithContent(e){H(this.#i,e,!0)}#a=O(!1);get hoverCooldown(){return l(this.#a)}set hoverCooldown(e){H(this.#a,e,!0)}#o=O(0);get closeDelay(){return l(this.#o)}set closeDelay(e){H(this.#o,e,!0)}#s=null;#c=null;constructor(e){this.opts=e,this.contentPresence=new Xs({ref:Z(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Xs({ref:Z(()=>this.overlayNode),open:this.opts.open}),ds(()=>this.opts.open.current,e=>{e||(this.openedViaHover=!1,this.hasInteractedWithContent=!1,this.#l())})}setDomContext(e){this.#c=e}#l(){this.#s!==null&&this.#c&&(this.#c.clearTimeout(this.#s),this.#s=null)}toggleOpen(){this.#l(),this.opts.open.current=!this.opts.open.current}handleClose(){this.#l(),this.opts.open.current&&(this.opts.open.current=!1)}handleHoverOpen(){this.#l(),!this.opts.open.current&&(this.openedViaHover=!0,this.opts.open.current=!0)}handleHoverClose(){this.opts.open.current&&this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1)}handleDelayedHoverClose(){this.opts.open.current&&(!this.openedViaHover||this.hasInteractedWithContent||(this.#l(),this.closeDelay<=0?this.opts.open.current=!1:this.#c&&(this.#s=this.#c.setTimeout(()=>{this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1),this.#s=null},this.closeDelay))))}cancelDelayedClose(){this.#l()}markInteraction(){this.hasInteractedWithContent=!0,this.#l()}},Gf=class e{static create(t){return new e(t,Uf.get())}opts;root;attachment;domContext;#e=null;#t=null;#n=O(!1);constructor(e,t){this.opts=e,this.root=t,this.attachment=Ms(this.opts.ref,e=>this.root.triggerNode=e),this.domContext=new js(e.ref),this.root.setDomContext(this.domContext),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),ds(()=>this.opts.closeDelay.current,e=>{this.root.closeDelay=e})}#r(){this.#e!==null&&(this.domContext.clearTimeout(this.#e),this.#e=null)}#i(){this.#t!==null&&(this.domContext.clearTimeout(this.#t),this.#t=null)}#a(){this.#r(),this.#i()}onpointerenter(e){if(this.opts.disabled.current||!this.opts.openOnHover.current||Ks(e)||(H(this.#n,!0),this.#i(),this.root.cancelDelayedClose(),this.root.opts.open.current||this.root.hoverCooldown))return;let t=this.opts.openDelay.current;t<=0?this.root.handleHoverOpen():this.#e=this.domContext.setTimeout(()=>{this.root.handleHoverOpen(),this.#e=null},t)}onpointerleave(e){this.opts.disabled.current||this.opts.openOnHover.current&&(Ks(e)||(H(this.#n,!1),this.#r(),this.root.hoverCooldown=!1))}onclick(e){if(!this.opts.disabled.current&&e.button===0){if(this.#a(),l(this.#n)&&this.root.opts.open.current&&this.root.openedViaHover){this.root.openedViaHover=!1,this.root.hasInteractedWithContent=!0;return}l(this.#n)&&this.opts.openOnHover.current&&this.root.opts.open.current&&(this.root.hoverCooldown=!0),this.root.hoverCooldown&&!this.root.opts.open.current&&(this.root.hoverCooldown=!1),this.root.toggleOpen()}}onkeydown(e){this.opts.disabled.current||(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),this.#a(),this.root.toggleOpen())}#o(){if(this.root.opts.open.current&&this.root.contentNode?.id)return this.root.contentNode?.id}#s=V(()=>({id:this.opts.id.current,"aria-haspopup":`dialog`,"aria-expanded":Ns(this.root.opts.open.current),"data-state":Fs(this.root.opts.open.current),"aria-controls":this.#o(),[Hf.trigger]:``,disabled:this.opts.disabled.current,onkeydown:this.onkeydown,onclick:this.onclick,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}));get props(){return l(this.#s)}set props(e){H(this.#s,e)}},Kf=class e{static create(t){return new e(t,Uf.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=Ms(this.opts.ref,e=>this.root.contentNode=e),this.onpointerdown=this.onpointerdown.bind(this),this.onfocusin=this.onfocusin.bind(this),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),new Vf({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&this.root.openedViaHover&&!this.root.hasInteractedWithContent,onPointerExit:()=>{this.root.handleDelayedHoverClose()}})}onpointerdown(e){this.root.markInteraction()}onfocusin(e){let t=e.target;Ws(t)&&$c(t)&&this.root.markInteraction()}onpointerenter(e){Ks(e)||this.root.cancelDelayedClose()}onpointerleave(e){Ks(e)}onInteractOutside=e=>{if(this.opts.onInteractOutside.current(e),e.defaultPrevented||!Ws(e.target))return;let t=e.target.closest(Hf.selector(`trigger`));if(!(t&&t===this.root.triggerNode)){if(this.opts.customAnchor.current){if(Ws(this.opts.customAnchor.current)){if(this.opts.customAnchor.current.contains(e.target))return}else if(typeof this.opts.customAnchor.current==`string`){let t=document.querySelector(this.opts.customAnchor.current);if(t&&t.contains(e.target))return}}this.root.handleClose()}};onEscapeKeydown=e=>{this.opts.onEscapeKeydown.current(e),!e.defaultPrevented&&this.root.handleClose()};get shouldRender(){return this.root.contentPresence.shouldRender}get shouldTrapFocus(){return!(this.root.openedViaHover&&!this.root.hasInteractedWithContent)}#e=V(()=>({open:this.root.opts.open.current}));get snippetProps(){return l(this.#e)}set snippetProps(e){H(this.#e,e)}#t=V(()=>({id:this.opts.id.current,tabindex:-1,"data-state":Fs(this.root.opts.open.current),...Is(this.root.contentPresence.transitionStatus),[Hf.content]:``,style:{pointerEvents:`auto`,contain:`layout style`},onpointerdown:this.onpointerdown,onfocusin:this.onfocusin,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}));get props(){return l(this.#t)}set props(e){H(this.#t,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown}},qf=new Set([`$$slots`,`$$events`,`$$legacy`,`child`,`children`,`ref`,`id`,`forceMount`,`onOpenAutoFocus`,`onCloseAutoFocus`,`onEscapeKeydown`,`onInteractOutside`,`trapFocus`,`preventScroll`,`customAnchor`,`style`]),Jf=m(`<div><div><!></div></div>`);function Yf(e,t){let n=s();P(t,!0);let r=L(t,`ref`,15,null),i=L(t,`id`,19,()=>Qs(n)),a=L(t,`forceMount`,3,!1),c=L(t,`onOpenAutoFocus`,3,Zs),u=L(t,`onCloseAutoFocus`,3,Zs),d=L(t,`onEscapeKeydown`,3,Zs),f=L(t,`onInteractOutside`,3,Zs),m=L(t,`trapFocus`,3,!0),h=L(t,`preventScroll`,3,!1),g=L(t,`customAnchor`,3,null),v=D(t,qf),y=Kf.create({id:Z(()=>i()),ref:Z(()=>r(),e=>r(e)),onInteractOutside:Z(()=>f()),onEscapeKeydown:Z(()=>d()),customAnchor:Z(()=>g())}),b=V(()=>rs(v,y.props)),x=V(()=>m()&&y.shouldTrapFocus);function S(e){y.shouldTrapFocus||e.preventDefault(),c()(e)}var C=p(),w=_(C),T=e=>{Lf(e,B(()=>l(b),()=>y.popperProps,{get ref(){return y.opts.ref},get enabled(){return y.root.opts.open.current},get id(){return i()},get trapFocus(){return l(x)},get preventScroll(){return h()},loop:!0,forceMount:!0,get customAnchor(){return g()},onOpenAutoFocus:S,get onCloseAutoFocus(){return u()},get shouldRender(){return y.shouldRender},popper:(e,n)=>{let r=()=>(n?.()).props,i=()=>(n?.()).wrapperProps,a=V(()=>rs(r(),{style:rf(`popover`)},{style:t.style}));var s=p(),c=_(s),u=e=>{var n=p(),r=_(n);{let e=V(()=>({props:l(a),wrapperProps:i(),...y.snippetProps}));U(r,()=>t.child,()=>l(e))}R(e,n)},d=e=>{var n=Jf();j(n,()=>({...i()}));var r=E(n);j(r,()=>({...l(a)}));var o=E(r);U(o,()=>t.children??A),W(r),W(n),R(e,n)};o(c,e=>{t.child?e(u):e(d,-1)}),R(e,s)},$$slots:{popper:!0}}))},ee=e=>{Ff(e,B(()=>l(b),()=>y.popperProps,{get ref(){return y.opts.ref},get open(){return y.root.opts.open.current},get id(){return i()},get trapFocus(){return l(x)},get preventScroll(){return h()},loop:!0,forceMount:!1,get customAnchor(){return g()},onOpenAutoFocus:S,get onCloseAutoFocus(){return u()},get shouldRender(){return y.shouldRender},popper:(e,n)=>{let r=()=>(n?.()).props,i=()=>(n?.()).wrapperProps,a=V(()=>rs(r(),{style:rf(`popover`)},{style:t.style}));var s=p(),c=_(s),u=e=>{var n=p(),r=_(n);{let e=V(()=>({props:l(a),wrapperProps:i(),...y.snippetProps}));U(r,()=>t.child,()=>l(e))}R(e,n)},d=e=>{var n=Jf();j(n,()=>({...i()}));var r=E(n);j(r,()=>({...l(a)}));var o=E(r);U(o,()=>t.children??A),W(r),W(n),R(e,n)};o(c,e=>{t.child?e(u):e(d,-1)}),R(e,s)},$$slots:{popper:!0}}))};o(w,e=>{a()?e(T):a()||e(ee,1)}),R(e,C),M()}var Xf=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`type`,`disabled`,`openOnHover`,`openDelay`,`closeDelay`]),Zf=m(`<button><!></button>`);function Qf(e,t){let n=s();P(t,!0);let r=L(t,`id`,19,()=>Qs(n)),i=L(t,`ref`,15,null),a=L(t,`type`,3,`button`),c=L(t,`disabled`,3,!1),u=L(t,`openOnHover`,3,!1),d=L(t,`openDelay`,3,700),f=L(t,`closeDelay`,3,300),m=D(t,Xf),h=Gf.create({id:Z(()=>r()),ref:Z(()=>i(),e=>i(e)),disabled:Z(()=>!!c()),openOnHover:Z(()=>u()),openDelay:Z(()=>d()),closeDelay:Z(()=>f())}),g=V(()=>rs(m,h.props,{type:a()}));bf(e,{get id(){return r()},get ref(){return h.opts.ref},children:(e,n)=>{var r=p(),i=_(r),a=e=>{var n=p(),r=_(n);U(r,()=>t.child,()=>({props:l(g)})),R(e,n)},s=e=>{var n=Zf();j(n,()=>({...l(g)}));var r=E(n);U(r,()=>t.children??A),W(n),R(e,n)};o(i,e=>{t.child?e(a):e(s,-1)}),R(e,r)},$$slots:{default:!0}}),M()}function $f(e,t){P(t,!0);let n=L(t,`open`,15,!1),r=L(t,`onOpenChange`,3,Zs),i=L(t,`onOpenChangeComplete`,3,Zs);tc.create({variant:Z(()=>`dialog`),open:Z(()=>n(),e=>{n(e),r()(e)}),onOpenChangeComplete:Z(()=>i())});var a=p(),o=_(a);U(o,()=>t.children??A),R(e,a),M()}var ep=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`disabled`]),tp=m(`<button><!></button>`);function np(e,t){let n=s();P(t,!0);let r=L(t,`id`,19,()=>Qs(n)),i=L(t,`ref`,15,null),a=L(t,`disabled`,3,!1),c=D(t,ep),u=nc.create({variant:Z(()=>`close`),id:Z(()=>r()),ref:Z(()=>i(),e=>i(e)),disabled:Z(()=>!!a())}),d=V(()=>rs(c,u.props));var f=p(),m=_(f),h=e=>{var n=p(),r=_(n);U(r,()=>t.child,()=>({props:l(d)})),R(e,n)},g=e=>{var n=tp();j(n,()=>({...l(d)}));var r=E(n);U(r,()=>t.children??A),W(n),R(e,n)};o(m,e=>{t.child?e(h):e(g,-1)}),R(e,f),M()}var rp=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`children`,`child`,`ref`,`forceMount`,`onCloseAutoFocus`,`onOpenAutoFocus`,`onEscapeKeydown`,`onInteractOutside`,`trapFocus`,`preventScroll`,`restoreScrollDelay`]),ip=m(`<!> <!>`,1),ap=m(`<!> <div><!></div>`,1);function op(e,t){let n=s();P(t,!0);let r=L(t,`id`,19,()=>Qs(n)),i=L(t,`ref`,15,null),a=L(t,`forceMount`,3,!1),c=L(t,`onCloseAutoFocus`,3,Zs),u=L(t,`onOpenAutoFocus`,3,Zs),d=L(t,`onEscapeKeydown`,3,Zs),f=L(t,`onInteractOutside`,3,Zs),m=L(t,`trapFocus`,3,!0),h=L(t,`preventScroll`,3,!0),g=L(t,`restoreScrollDelay`,3,null),v=D(t,rp),y=ac.create({id:Z(()=>r()),ref:Z(()=>i(),e=>i(e))}),b=V(()=>rs(v,y.props));var x=p(),S=_(x),C=e=>{hl(e,{get ref(){return y.opts.ref},loop:!0,get trapFocus(){return m()},get enabled(){return y.root.opts.open.current},get onOpenAutoFocus(){return u()},get onCloseAutoFocus(){return c()},focusScope:(e,n)=>{let r=()=>(n?.()).props;fl(e,B(()=>l(b),{get enabled(){return y.root.opts.open.current},get ref(){return y.opts.ref},onEscapeKeydown:e=>{d()(e),!e.defaultPrevented&&y.root.handleClose()},children:(e,n)=>{ll(e,B(()=>l(b),{get ref(){return y.opts.ref},get enabled(){return y.root.opts.open.current},onInteractOutside:e=>{f()(e),!e.defaultPrevented&&y.root.handleClose()},children:(e,n)=>{Sl(e,B(()=>l(b),{get ref(){return y.opts.ref},get enabled(){return y.root.opts.open.current},children:(e,n)=>{var i=p(),a=_(i),s=e=>{var n=ip(),i=_(n),a=e=>{Fl(e,{get preventScroll(){return h()},get restoreScrollDelay(){return g()}})};o(i,e=>{y.root.opts.open.current&&e(a)});var s=N(i,2);{let e=V(()=>({props:rs(l(b),r()),...y.snippetProps}));U(s,()=>t.child,()=>l(e))}R(e,n)},c=e=>{var n=ap(),i=_(n);Fl(i,{get preventScroll(){return h()}});var a=N(i,2);j(a,e=>({...e}),[()=>rs(l(b),r())]);var o=E(a);U(o,()=>t.children??A),W(a),R(e,n)};o(a,e=>{t.child?e(s):e(c,-1)}),R(e,i)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};o(S,e=>{(y.shouldRender||a())&&e(C)}),R(e,x),M()}var sp=zs({component:`label`,parts:[`root`]}),cp=class e{static create(t){return new e(t)}opts;attachment;constructor(e){this.opts=e,this.attachment=Ms(this.opts.ref),this.onmousedown=this.onmousedown.bind(this)}onmousedown(e){e.detail>1&&e.preventDefault()}#e=V(()=>({id:this.opts.id.current,[sp.root]:``,onmousedown:this.onmousedown,...this.attachment}));get props(){return l(this.#e)}set props(e){H(this.#e,e)}},lp=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`for`]),up=m(`<label><!></label>`);function dp(e,t){let n=s();P(t,!0);let r=L(t,`id`,19,()=>Qs(n)),i=L(t,`ref`,15,null),a=D(t,lp),c=cp.create({id:Z(()=>r()),ref:Z(()=>i(),e=>i(e))}),u=V(()=>rs(a,c.props,{for:t.for}));var d=p(),f=_(d),m=e=>{var n=p(),r=_(n);U(r,()=>t.child,()=>({props:l(u)})),R(e,n)},h=e=>{var n=up();j(n,()=>({...l(u),for:t.for}));var r=E(n);U(r,()=>t.children??A),W(n),R(e,n)};o(f,e=>{t.child?e(m):e(h,-1)}),R(e,d),M()}function fp(e,t){P(t,!0);let n=L(t,`open`,15,!1),r=L(t,`onOpenChange`,3,Zs),i=L(t,`onOpenChangeComplete`,3,Zs);Wf.create({open:Z(()=>n(),e=>{n(e),r()(e)}),onOpenChangeComplete:Z(()=>i())}),yf(e,{children:(e,n)=>{var r=p(),i=_(r);U(i,()=>t.children??A),R(e,r)},$$slots:{default:!0}}),M()}var pp=class{#e;#t;#n=null;constructor(e,t){this.#t=e,this.#e=t,this.stop=this.stop.bind(this),this.start=this.start.bind(this),hs(this.stop)}#r(){this.#n!==null&&(window.clearTimeout(this.#n),this.#n=null)}stop(){this.#r()}start(...e){this.#r(),this.#n=window.setTimeout(()=>{this.#n=null,this.#t(...e)},this.#e)}},mp=zs({component:`tooltip`,parts:[`content`,`trigger`]}),hp=new cs(`Tooltip.Provider`),gp=new cs(`Tooltip.Root`),_p=class{#e=O(me(new Map));get triggers(){return l(this.#e)}set triggers(e){H(this.#e,e,!0)}#t=O(null);get activeTriggerId(){return l(this.#t)}set activeTriggerId(e){H(this.#t,e,!0)}#n=V(()=>{let e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.node??null});get activeTriggerNode(){return l(this.#n)}set activeTriggerNode(e){H(this.#n,e)}#r=V(()=>{let e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.payload??null});get activePayload(){return l(this.#r)}set activePayload(e){H(this.#r,e)}register=e=>{let t=new Map(this.triggers);t.set(e.id,e),this.triggers=t,this.#i()};update=e=>{let t=new Map(this.triggers);t.set(e.id,e),this.triggers=t,this.#i()};unregister=e=>{if(!this.triggers.has(e))return;let t=new Map(this.triggers);t.delete(e),this.triggers=t,this.activeTriggerId===e&&(this.activeTriggerId=null)};setActiveTrigger=e=>{if(e===null){this.activeTriggerId=null;return}if(!this.triggers.has(e)){this.activeTriggerId=null;return}this.activeTriggerId=e};get=e=>this.triggers.get(e);has=e=>this.triggers.has(e);getFirstTriggerId=()=>{let e=this.triggers.entries().next();return e.done?null:e.value[0]};#i=()=>{let e=this.activeTriggerId;e!==null&&(this.triggers.has(e)||(this.activeTriggerId=null))}},vp=class e{static create(t){return hp.set(new e(t))}opts;#e=O(!0);get isOpenDelayed(){return l(this.#e)}set isOpenDelayed(e){H(this.#e,e,!0)}isPointerInTransit=So(!1);#t;#n=O(null);constructor(e){this.opts=e,this.#t=new pp(()=>{this.isOpenDelayed=!0},this.opts.skipDelayDuration.current),gs(()=>n(window,`scroll`,e=>{let t=l(this.#n);if(!t)return;let n=t.triggerNode;if(!n)return;let r=e.target;(r instanceof Element||r instanceof Document)&&r.contains(n)&&t.handleClose()}))}#r=()=>{if(this.opts.skipDelayDuration.current===0){this.isOpenDelayed=!0;return}this.#t.start()};#i=()=>{this.#t.stop()};onOpen=e=>{l(this.#n)&&l(this.#n)!==e&&l(this.#n).handleClose(),this.#i(),this.isOpenDelayed=!1,H(this.#n,e,!0)};onClose=e=>{l(this.#n)===e&&(H(this.#n,null),this.#r())};isTooltipOpen=e=>l(this.#n)===e},yp=class e{static create(t){return gp.set(new e(t,hp.get()))}opts;provider;#e=V(()=>this.opts.delayDuration.current??this.provider.opts.delayDuration.current);get delayDuration(){return l(this.#e)}set delayDuration(e){H(this.#e,e)}#t=V(()=>this.opts.disableHoverableContent.current??this.provider.opts.disableHoverableContent.current);get disableHoverableContent(){return l(this.#t)}set disableHoverableContent(e){H(this.#t,e)}#n=V(()=>this.opts.disableCloseOnTriggerClick.current??this.provider.opts.disableCloseOnTriggerClick.current);get disableCloseOnTriggerClick(){return l(this.#n)}set disableCloseOnTriggerClick(e){H(this.#n,e)}#r=V(()=>this.opts.disabled.current??this.provider.opts.disabled.current);get disabled(){return l(this.#r)}set disabled(e){H(this.#r,e)}#i=V(()=>this.opts.ignoreNonKeyboardFocus.current??this.provider.opts.ignoreNonKeyboardFocus.current);get ignoreNonKeyboardFocus(){return l(this.#i)}set ignoreNonKeyboardFocus(e){H(this.#i,e)}registry;tether;#a=O(null);get contentNode(){return l(this.#a)}set contentNode(e){H(this.#a,e,!0)}contentPresence;#o=O(!1);#s;#c=V(()=>this.opts.open.current?l(this.#o)?`delayed-open`:`instant-open`:`closed`);get stateAttr(){return l(this.#c)}set stateAttr(e){H(this.#c,e)}constructor(e,t){this.opts=e,this.provider=t,this.tether=e.tether.current?.state??null,this.registry=this.tether?.registry??new _p,this.#s=new pp(()=>{H(this.#o,!0),this.opts.open.current=!0},this.delayDuration??0),this.tether&&(this.tether.root=this,gs(()=>()=>{this.tether?.root===this&&(this.tether.root=null)})),this.contentPresence=new Xs({open:this.opts.open,ref:Z(()=>this.contentNode),onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),ds(()=>this.delayDuration,()=>{this.delayDuration!==void 0&&(this.#s=new pp(()=>{H(this.#o,!0),this.opts.open.current=!0},this.delayDuration))}),ds(()=>this.opts.open.current,e=>{e?(this.ensureActiveTrigger(),this.provider.onOpen(this)):this.provider.onClose(this)},{lazy:!0}),ds(()=>this.opts.triggerId.current,e=>{e!==this.registry.activeTriggerId&&this.registry.setActiveTrigger(e)}),ds(()=>this.registry.activeTriggerId,e=>{this.opts.triggerId.current!==e&&(this.opts.triggerId.current=e)})}handleOpen=()=>{this.#s.stop(),H(this.#o,!1),this.ensureActiveTrigger(),this.opts.open.current=!0};handleClose=()=>{this.#s.stop(),this.opts.open.current=!1};cancelPendingOpen=()=>{this.#s.stop()};#l=()=>{this.#s.stop();let e=!this.provider.isOpenDelayed,t=this.delayDuration??0;e||t===0?(H(this.#o,!1),this.opts.open.current=!0):this.#s.start()};onTriggerEnter=e=>{this.setActiveTrigger(e),this.#l()};onTriggerLeave=()=>{this.disableHoverableContent?this.handleClose():this.#s.stop()};ensureActiveTrigger=()=>{if(this.registry.activeTriggerId!==null&&this.registry.has(this.registry.activeTriggerId))return;if(this.opts.triggerId.current!==null&&this.registry.has(this.opts.triggerId.current)){this.registry.setActiveTrigger(this.opts.triggerId.current);return}let e=this.registry.getFirstTriggerId();this.registry.setActiveTrigger(e)};setActiveTrigger=e=>{this.registry.setActiveTrigger(e)};registerTrigger=e=>{this.registry.register(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};updateTrigger=e=>{this.registry.update(e),e.disabled&&this.registry.activeTriggerId===e.id&&this.opts.open.current&&this.handleClose()};unregisterTrigger=e=>{let t=this.registry.activeTriggerId===e;this.registry.unregister(e),t&&this.opts.open.current&&this.handleClose()};isActiveTrigger=e=>this.registry.activeTriggerId===e;get triggerNode(){return this.registry.activeTriggerNode}get activePayload(){return this.registry.activePayload}get activeTriggerId(){return this.registry.activeTriggerId}},bp=class e{static create(t){return t.tether.current?new e(t,null,t.tether.current.state):new e(t,gp.get(),null)}opts;root;tether;attachment;#e=So(!1);#t=O(!1);domContext;#n=null;#r=!1;#i=null;constructor(e,t,n){this.opts=e,this.root=t,this.tether=n,this.domContext=new js(e.ref),this.attachment=Ms(this.opts.ref,e=>this.#s(e)),ds(()=>this.opts.id.current,()=>{this.#s(this.opts.ref.current)}),ds(()=>this.opts.payload.current,()=>{this.#s(this.opts.ref.current)}),ds(()=>this.opts.disabled.current,()=>{this.#s(this.opts.ref.current)}),gs(()=>(this.#r=!0,this.#s(this.opts.ref.current),()=>{let e=this.#a(),t=this.#i;t&&(this.tether?this.tether.registry.unregister(t):e?.unregisterTrigger(t)),this.#i=null,this.#r=!1}))}#a=()=>this.tether?.root??this.root;#o=()=>{let e=this.#a();return this.opts.disabled.current||!!e?.disabled};#s=e=>{if(!this.#r)return;let t=this.opts.id.current,n=this.opts.payload.current,r=this.opts.disabled.current;if(this.#i&&this.#i!==t){let e=this.#a();this.tether?this.tether.registry.unregister(this.#i):e?.unregisterTrigger(this.#i)}let i={id:t,node:e,payload:n,disabled:r},a=this.#a();this.tether?(this.tether.registry.has(t)?this.tether.registry.update(i):this.tether.registry.register(i),r&&this.tether.registry.activeTriggerId===t&&a?.opts.open.current&&a.handleClose()):a?.registry.has(t)?a.updateTrigger(i):a?.registerTrigger(i),this.#i=t};#c=()=>{this.#n!==null&&(clearTimeout(this.#n),this.#n=null)};handlePointerUp=()=>{this.#e.current=!1};#l=()=>{this.#o()||(this.#e.current=!1)};#u=()=>{if(this.#o())return;let e=this.#a();e&&!e.disableCloseOnTriggerClick&&(e.opts.open.current?e.handleClose():e.cancelPendingOpen()),this.#e.current=!0,this.domContext.getDocument().addEventListener(`pointerup`,()=>{this.handlePointerUp()},{once:!0})};#d=e=>{let t=this.#a();if(t){if(this.#o()){t.opts.open.current&&t.handleClose();return}if(e.pointerType!==`touch`){if(t.provider.isPointerInTransit.current){this.#c(),this.#n=window.setTimeout(()=>{t.provider.isPointerInTransit.current&&(t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),H(this.#t,!0))},250);return}t.onTriggerEnter(this.opts.id.current),H(this.#t,!0)}}};#f=e=>{let t=this.#a();if(t){if(this.#o()){t.opts.open.current&&t.handleClose();return}e.pointerType!==`touch`&&(l(this.#t)||(this.#c(),t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),H(this.#t,!0)))}};#p=e=>{let t=this.#a();if(!t||this.#o())return;if(this.#c(),!t.isActiveTrigger(this.opts.id.current)){H(this.#t,!1);return}let n=e.relatedTarget;if(Ws(n)){for(let e of t.registry.triggers.values())if(e.node===n){if(t.provider.opts.skipDelayDuration.current>0){H(this.#t,!1);return}t.handleClose(),H(this.#t,!1);return}}t.onTriggerLeave(),H(this.#t,!1)};#m=e=>{let t=this.#a();if(t&&!this.#e.current){if(this.#o()){t.opts.open.current&&t.handleClose();return}t.ignoreNonKeyboardFocus&&!qs(e.currentTarget)||(t.setActiveTrigger(this.opts.id.current),t.handleOpen())}};#h=()=>{let e=this.#a();!e||this.#o()||e.handleClose()};#g=()=>{let e=this.#a();!e||e.disableCloseOnTriggerClick||this.#o()||e.handleClose()};#_=V(()=>{let e=this.#a(),t=!!(e?.opts.open.current&&e.isActiveTrigger(this.opts.id.current)),n=this.#o();return{id:this.opts.id.current,"aria-describedby":t?e?.contentNode?.id:void 0,"data-state":t?e?.stateAttr:`closed`,"data-disabled":Ps(n),"data-delay-duration":`${e?.delayDuration??0}`,[mp.trigger]:``,tabindex:n?void 0:this.opts.tabindex.current,disabled:this.opts.disabled.current,onpointerup:this.#l,onpointerdown:this.#u,onpointerenter:this.#d,onpointermove:this.#f,onpointerleave:this.#p,onfocus:this.#m,onblur:this.#h,onclick:this.#g,...this.attachment}});get props(){return l(this.#_)}set props(e){H(this.#_,e)}},xp=class e{static create(t){return new e(t,gp.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=Ms(this.opts.ref,e=>this.root.contentNode=e),new Vf({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&!this.root.disableHoverableContent,transitIntentTimeout:180,ignoredTargets:()=>{if(this.root.provider.opts.skipDelayDuration.current===0)return[];let e=[],t=this.root.triggerNode;for(let n of this.root.registry.triggers.values())n.node&&n.node!==t&&e.push(n.node);return e},onPointerExit:()=>{this.root.provider.isTooltipOpen(this.root)&&this.root.handleClose()}})}onInteractOutside=e=>{if(Ws(e.target)&&this.root.triggerNode?.contains(e.target)&&this.root.disableCloseOnTriggerClick){e.preventDefault();return}this.opts.onInteractOutside.current(e),!e.defaultPrevented&&this.root.handleClose()};onEscapeKeydown=e=>{this.opts.onEscapeKeydown.current?.(e),!e.defaultPrevented&&this.root.handleClose()};onOpenAutoFocus=e=>{e.preventDefault()};onCloseAutoFocus=e=>{e.preventDefault()};get shouldRender(){return this.root.contentPresence.shouldRender}#e=V(()=>({open:this.root.opts.open.current}));get snippetProps(){return l(this.#e)}set snippetProps(e){H(this.#e,e)}#t=V(()=>({id:this.opts.id.current,"data-state":this.root.stateAttr,"data-disabled":Ps(this.root.disabled),...Is(this.root.contentPresence.transitionStatus),style:{outline:`none`},[mp.content]:``,...this.attachment}));get props(){return l(this.#t)}set props(e){H(this.#t,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus}};function Sp(e,t){P(t,!0);let n=L(t,`open`,15,!1),r=L(t,`triggerId`,15,null),i=L(t,`onOpenChange`,3,Zs),a=L(t,`onOpenChangeComplete`,3,Zs),o=yp.create({open:Z(()=>n(),e=>{n(e),i()(e)}),triggerId:Z(()=>r(),e=>{r(e)}),delayDuration:Z(()=>t.delayDuration),disableCloseOnTriggerClick:Z(()=>t.disableCloseOnTriggerClick),disableHoverableContent:Z(()=>t.disableHoverableContent),ignoreNonKeyboardFocus:Z(()=>t.ignoreNonKeyboardFocus),disabled:Z(()=>t.disabled),onOpenChangeComplete:Z(()=>a()),tether:Z(()=>t.tether)});yf(e,{tooltip:!0,children:(e,n)=>{var r=p(),i=_(r);U(i,()=>t.children??A,()=>({open:o.opts.open.current,triggerId:o.activeTriggerId,payload:o.activePayload})),R(e,r)},$$slots:{default:!0}}),M()}var Cp=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`side`,`sideOffset`,`align`,`avoidCollisions`,`arrowPadding`,`sticky`,`strategy`,`hideWhenDetached`,`customAnchor`,`collisionPadding`,`onInteractOutside`,`onEscapeKeydown`,`forceMount`,`style`]),wp=m(`<div><div><!></div></div>`);function Tp(e,t){let n=s();P(t,!0);let r=L(t,`id`,19,()=>Qs(n)),i=L(t,`ref`,15,null),a=L(t,`side`,3,`top`),c=L(t,`sideOffset`,3,0),u=L(t,`align`,3,`center`),d=L(t,`avoidCollisions`,3,!0),f=L(t,`arrowPadding`,3,0),m=L(t,`sticky`,3,`partial`),h=L(t,`hideWhenDetached`,3,!1),g=L(t,`collisionPadding`,3,0),v=L(t,`onInteractOutside`,3,Zs),y=L(t,`onEscapeKeydown`,3,Zs),b=L(t,`forceMount`,3,!1),x=D(t,Cp),S=xp.create({id:Z(()=>r()),ref:Z(()=>i(),e=>i(e)),onInteractOutside:Z(()=>v()),onEscapeKeydown:Z(()=>y())}),C=V(()=>({side:a(),sideOffset:c(),align:u(),avoidCollisions:d(),arrowPadding:f(),sticky:m(),hideWhenDetached:h(),collisionPadding:g(),strategy:t.strategy,customAnchor:t.customAnchor??S.root.triggerNode})),w=V(()=>rs(x,l(C),S.props));var T=p(),ee=_(T),te=e=>{{let n=(e,n)=>{let r=()=>(n?.()).props,i=()=>(n?.()).wrapperProps,a=V(()=>rs(i(),{style:{pointerEvents:S.root.disableHoverableContent?`none`:void 0}})),s=V(()=>rs(r(),{style:rf(`tooltip`)},{style:t.style}));var c=p(),u=_(c),d=e=>{var n=p(),r=_(n);{let e=V(()=>({props:l(s),wrapperProps:l(a),...S.snippetProps}));U(r,()=>t.child,()=>l(e))}R(e,n)},f=e=>{var n=wp();j(n,()=>({...l(a)}));var r=E(n);j(r,()=>({...l(s)}));var i=E(r);U(i,()=>t.children??A),W(r),W(n),R(e,n)};o(u,e=>{t.child?e(d):e(f,-1)}),R(e,c)},i=V(()=>S.root.disableHoverableContent?`none`:`auto`);Lf(e,B(()=>l(w),()=>S.popperProps,{get enabled(){return S.root.opts.open.current},get id(){return r()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!0,get ref(){return S.opts.ref},tooltip:!0,get shouldRender(){return S.shouldRender},get contentPointerEvents(){return l(i)},popper:n,$$slots:{popper:!0}}))}},O=e=>{{let n=(e,n)=>{let r=()=>(n?.()).props,i=()=>(n?.()).wrapperProps,a=V(()=>rs(i(),{style:{pointerEvents:S.root.disableHoverableContent?`none`:void 0}})),s=V(()=>rs(r(),{style:rf(`tooltip`)},{style:t.style}));var c=p(),u=_(c),d=e=>{var n=p(),r=_(n);{let e=V(()=>({props:l(s),wrapperProps:l(a),...S.snippetProps}));U(r,()=>t.child,()=>l(e))}R(e,n)},f=e=>{var n=wp();j(n,()=>({...l(a)}));var r=E(n);j(r,()=>({...l(s)}));var i=E(r);U(i,()=>t.children??A),W(r),W(n),R(e,n)};o(u,e=>{t.child?e(d):e(f,-1)}),R(e,c)},i=V(()=>S.root.disableHoverableContent?`none`:`auto`);Ff(e,B(()=>l(w),()=>S.popperProps,{get open(){return S.root.opts.open.current},get id(){return r()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!1,get ref(){return S.opts.ref},tooltip:!0,get shouldRender(){return S.shouldRender},get contentPointerEvents(){return l(i)},popper:n,$$slots:{popper:!0}}))}};o(ee,e=>{b()?e(te):b()||e(O,1)}),R(e,T),M()}var Ep=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`disabled`,`payload`,`tether`,`type`,`tabindex`,`ref`]),Dp=m(`<button><!></button>`);function Op(e,t){let n=s();P(t,!0);let r=L(t,`id`,19,()=>Qs(n)),i=L(t,`disabled`,3,!1),a=L(t,`type`,3,`button`),c=L(t,`tabindex`,3,0),u=L(t,`ref`,15,null),d=D(t,Ep),f=bp.create({id:Z(()=>r()),disabled:Z(()=>i()??!1),tabindex:Z(()=>c()??0),payload:Z(()=>t.payload),tether:Z(()=>t.tether),ref:Z(()=>u(),e=>u(e))}),m=V(()=>rs(d,f.props,{type:a()}));var h=p(),g=_(h),v=e=>{var n=p(),r=_(n);U(r,()=>t.child,()=>({props:l(m)})),R(e,n)},y=e=>{var n=Dp();j(n,()=>({...l(m)}));var r=E(n);U(r,()=>t.children??A),W(n),R(e,n)};o(g,e=>{t.child?e(v):e(y,-1)}),R(e,h),M()}var kp=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`]);function Ap(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=D(t,kp);Ef(e,B(()=>r,{get ref(){return n()},set ref(e){n(e)}})),M()}function jp(e,t){P(t,!0);let n=L(t,`delayDuration`,3,700),r=L(t,`disableCloseOnTriggerClick`,3,!1),i=L(t,`disableHoverableContent`,3,!1),a=L(t,`disabled`,3,!1),o=L(t,`ignoreNonKeyboardFocus`,3,!1),s=L(t,`skipDelayDuration`,3,300);vp.create({delayDuration:Z(()=>n()),disableCloseOnTriggerClick:Z(()=>r()),disableHoverableContent:Z(()=>i()),disabled:Z(()=>a()),ignoreNonKeyboardFocus:Z(()=>o()),skipDelayDuration:Z(()=>s())});var c=p(),l=_(c);U(l,()=>t.children??A),R(e,c),M()}var Mp=new Set([`$$slots`,`$$events`,`$$legacy`]);function Np(e,t){let n=D(t,Mp),r=[[`path`,{d:`M20 6 9 17l-5-5`}]];Ie(e,B({name:`check`},()=>n,{get iconNode(){return r}}))}var Pp=new Set([`$$slots`,`$$events`,`$$legacy`]);function Fp(e,t){let n=D(t,Pp),r=[[`path`,{d:`M5 12h14`}]];Ie(e,B({name:`minus`},()=>n,{get iconNode(){return r}}))}var Ip=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`checked`,`indeterminate`,`class`]),Lp=m(`<div data-slot="checkbox-indicator" class="[&>svg]:size-3.5 grid place-content-center text-current transition-none"><!></div>`);function Rp(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=L(t,`checked`,15,!1),i=L(t,`indeterminate`,15,!1),a=D(t,Ip);var s=p(),c=_(s);{let e=(e,t)=>{let n=()=>(t?.()).checked,r=()=>(t?.()).indeterminate;var i=Lp(),a=E(i),s=e=>{Np(e,{})},c=e=>{Fp(e,{})};o(a,e=>{n()?e(s):r()&&e(c,1)}),W(i),R(e,i)},s=V(()=>J(`border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-[4px] border transition-colors group-has-disabled/field:opacity-50 focus-visible:ring-3 aria-invalid:ring-3 peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50`,t.class));k(c,()=>tu,(t,o)=>{o(t,B({"data-slot":`checkbox`,get class(){return l(s)}},()=>a,{get ref(){return n()},set ref(e){n(e)},get checked(){return r()},set checked(e){r(e)},get indeterminate(){return i()},set indeterminate(e){i(e)},children:e,$$slots:{default:!0}}))})}R(e,s),M()}var zp=new Set([`$$slots`,`$$events`,`$$legacy`,`open`]);function Bp(e,t){P(t,!0);let n=L(t,`open`,15,!1),r=D(t,zp);var i=p(),a=_(i);k(a,()=>$f,(e,t)=>{t(e,B(()=>r,{get open(){return n()},set open(e){n(e)}}))}),R(e,i),M()}var Vp=new Set([`$$slots`,`$$events`,`$$legacy`]);function Hp(e,t){let n=D(t,Vp);var r=p(),i=_(r);k(i,()=>_c,(e,t)=>{t(e,B(()=>n))}),R(e,r)}var Up=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function Wp(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=D(t,Up);var i=p(),a=_(i);{let e=V(()=>J(`text-base leading-none font-medium`,t.class));k(a,()=>lc,(t,i)=>{i(t,B({"data-slot":`dialog-title`,get class(){return l(e)}},()=>r,{get ref(){return n()},set ref(e){n(e)}}))})}R(e,i),M()}var Gp=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`,`showCloseButton`]),Kp=m(`<div><!> <!></div>`);function qp(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=L(t,`showCloseButton`,3,!1),i=D(t,Gp);var a=Kp();j(a,e=>({"data-slot":`dialog-footer`,class:e,...i}),[()=>J(`bg-muted/50 -mx-4 -mb-4 rounded-b-xl border-t p-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,t.class)]);var s=E(a);U(s,()=>t.children??A);var c=N(s,2),l=e=>{var t=p(),n=_(t);{let e=(e,t)=>{po(e,B({variant:`outline`},()=>(t?.()).props,{children:(e,t)=>{_e();var n=u(`Close`);R(e,n)},$$slots:{default:!0}}))};k(n,()=>np,(t,n)=>{n(t,{child:e,$$slots:{child:!0}})})}R(e,t)};o(c,e=>{r()&&e(l)}),W(a),ne(a,e=>n(e),()=>n()),R(e,a),M()}var Jp=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),Yp=m(`<div><!></div>`);function Xp(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=D(t,Jp);var i=Yp();j(i,e=>({"data-slot":`dialog-header`,class:e,...r}),[()=>J(`gap-2 flex flex-col`,t.class)]);var a=E(i);U(a,()=>t.children??A),W(i),ne(i,e=>n(e),()=>n()),R(e,i),M()}var Zp=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function Qp(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=D(t,Zp);var i=p(),a=_(i);{let e=V(()=>J(`data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50`,t.class));k(a,()=>Rl,(t,i)=>{i(t,B({"data-slot":`dialog-overlay`,get class(){return l(e)}},()=>r,{get ref(){return n()},set ref(e){n(e)}}))})}R(e,i),M()}var $p=new Set([`$$slots`,`$$events`,`$$legacy`]);function em(e,t){let n=D(t,$p),r=[[`path`,{d:`M18 6 6 18`}],[`path`,{d:`m6 6 12 12`}]];Ie(e,B({name:`x`},()=>n,{get iconNode(){return r}}))}var tm=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`portalProps`,`children`,`showCloseButton`]),nm=m(`<!> <span class="sr-only">Close</span>`,1),rm=m(`<!> <!>`,1);function im(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=L(t,`showCloseButton`,3,!0),i=D(t,tm);Hp(e,B(()=>t.portalProps,{children:(e,a)=>{var s=rm(),c=_(s);k(c,()=>Qp,(e,t)=>{t(e,{})});var u=N(c,2);{let e=V(()=>J(`bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-foreground/10 grid max-w-[calc(100%-2rem)] gap-4 rounded-xl p-4 text-sm ring-1 duration-100 sm:max-w-sm fixed top-1/2 left-1/2 z-50 w-full -translate-x-1/2 -translate-y-1/2 outline-none`,t.class));k(u,()=>op,(a,s)=>{s(a,B({"data-slot":`dialog-content`,get class(){return l(e)}},()=>i,{get ref(){return n()},set ref(e){n(e)},children:(e,n)=>{var i=rm(),a=_(i);U(a,()=>t.children??A);var s=N(a,2),c=e=>{var t=p(),n=_(t);{let e=(e,t)=>{po(e,B({variant:`ghost`,class:`absolute top-2 right-2`,size:`icon-sm`},()=>(t?.()).props,{children:(e,t)=>{var n=nm();em(_(n),{}),_e(2),R(e,n)},$$slots:{default:!0}}))};k(n,()=>np,(t,n)=>{n(t,{"data-slot":`dialog-close`,child:e,$$slots:{child:!0}})})}R(e,t)};o(s,e=>{r()&&e(c)}),R(e,i)},$$slots:{default:!0}}))})}R(e,s)},$$slots:{default:!0}})),M()}var am=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function om(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=D(t,am);var i=p(),a=_(i);{let e=V(()=>J(`text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3`,t.class));k(a,()=>Vl,(t,i)=>{i(t,B({"data-slot":`dialog-description`,get class(){return l(e)}},()=>r,{get ref(){return n()},set ref(e){n(e)}}))})}R(e,i),M()}var sm=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`value`,`type`,`files`,`class`,`data-slot`]),cm=m(`<input/>`);function lm(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=L(t,`value`,15),i=L(t,`files`,15),a=L(t,`data-slot`,3,`input`),s=D(t,sm);var c=p(),l=_(c),u=e=>{var o=cm();j(o,e=>({"data-slot":a(),class:e,type:`file`,...s}),[()=>J(`flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 pt-1.5 text-sm font-medium shadow-xs ring-offset-background transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 dark:bg-input/30`,`focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50`,`aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40`,t.class)],void 0,void 0,void 0,!0),ne(o,e=>n(e),()=>n()),oe(o,i),he(o,r),R(e,o)},d=e=>{var i=cm();j(i,e=>({"data-slot":a(),class:e,type:t.type,...s}),[()=>J(`flex h-9 w-full min-w-0 rounded-md border border-input bg-background px-3 py-1 text-base shadow-xs ring-offset-background transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30`,`focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50`,`aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40`,t.class)],void 0,void 0,void 0,!0),ne(i,e=>n(e),()=>n()),he(i,r),R(e,i)};o(l,e=>{t.type===`file`?e(u):e(d,-1)}),R(e,c),M()}var um=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function dm(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=D(t,um);var i=p(),a=_(i);{let e=V(()=>J(`gap-2 text-sm leading-none font-medium group-data-[disabled=true]:opacity-50 peer-disabled:opacity-50 flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-disabled:cursor-not-allowed`,t.class));k(a,()=>dp,(t,i)=>{i(t,B({"data-slot":`label`,get class(){return l(e)}},()=>r,{get ref(){return n()},set ref(e){n(e)}}))})}R(e,i),M()}var fm=new Set([`$$slots`,`$$events`,`$$legacy`,`open`]);function pm(e,t){P(t,!0);let n=L(t,`open`,15,!1),r=D(t,fm);var i=p(),a=_(i);k(a,()=>fp,(e,t)=>{t(e,B(()=>r,{get open(){return n()},set open(e){n(e)}}))}),R(e,i),M()}var mm=new Set([`$$slots`,`$$events`,`$$legacy`]);function hm(e,t){let n=D(t,mm);var r=p(),i=_(r);k(i,()=>_c,(e,t)=>{t(e,B(()=>n))}),R(e,r)}var gm=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`sideOffset`,`align`,`portalProps`]);function _m(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=L(t,`sideOffset`,3,4),i=L(t,`align`,3,`center`),a=D(t,gm);hm(e,B(()=>t.portalProps,{children:(e,o)=>{var s=p(),c=_(s);{let e=V(()=>J(`z-50 flex w-72 origin-(--bits-popover-content-transform-origin) flex-col gap-2.5 rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95`,t.class));k(c,()=>Yf,(t,o)=>{o(t,B({"data-slot":`popover-content`,get sideOffset(){return r()},get align(){return i()},get class(){return l(e)}},()=>a,{get ref(){return n()},set ref(e){n(e)}}))})}R(e,s)},$$slots:{default:!0}})),M()}var vm=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),ym=m(`<div><!></div>`);function bm(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=D(t,vm);var i=ym();j(i,e=>({"data-slot":`popover-description`,class:e,...r}),[()=>J(`text-muted-foreground`,t.class)]);var a=E(i);U(a,()=>t.children??A),W(i),ne(i,e=>n(e),()=>n()),R(e,i),M()}var xm=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),Sm=m(`<div><!></div>`);function Cm(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=D(t,xm);var i=Sm();j(i,e=>({"data-slot":`popover-header`,class:e,...r}),[()=>J(`flex flex-col gap-0.5 text-sm`,t.class)]);var a=E(i);U(a,()=>t.children??A),W(i),ne(i,e=>n(e),()=>n()),R(e,i),M()}var wm=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),Tm=m(`<div><!></div>`);function Em(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=D(t,wm);var i=Tm();j(i,e=>({"data-slot":`popover-title`,class:e,...r}),[()=>J(`font-medium`,t.class)]);var a=E(i);U(a,()=>t.children??A),W(i),ne(i,e=>n(e),()=>n()),R(e,i),M()}var Dm=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function Om(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=D(t,Dm);var i=p(),a=_(i);{let e=V(()=>J(``,t.class));k(a,()=>Qf,(t,i)=>{i(t,B({"data-slot":`popover-trigger`,get class(){return l(e)}},()=>r,{get ref(){return n()},set ref(e){n(e)}}))})}R(e,i),M()}async function km(e){let t=await e.json();if(!e.ok){let n=typeof t.error?.message==`string`?t.error.message:`Request failed (${e.status})`;throw Error(n)}return t}async function Am(e){return km(await fetch(`${e}/api/send-email/config`))}async function jm(e,t){return km(await fetch(`${e}/api/send-email/config`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify(t)}))}async function Mm(e,t){return km(await fetch(`${e}/api/send-email`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify(t)}))}var Nm=m(`<!> Send Email`,1),Pm=m(`<!> <!>`,1),Fm=m(`<p class="text-sm text-destructive"> </p>`),Im=m(`<p class="text-sm text-green-600 dark:text-green-500">Email sent successfully.</p>`),Lm=m(`<!> <div class="grid gap-3 py-2"><div class="grid gap-2"><!> <!></div> <!> <!> <!></div>`,1),Rm=m(`<!> <div class="grid gap-4 py-2"><div class="grid gap-2"><!> <!></div> <div class="grid gap-2"><!> <!></div> <div class="flex items-start gap-2"><!> <div class="grid gap-1 leading-none"><!> <p class="text-xs text-muted-foreground">Stores <code class="text-xs">.bse/resend.json</code> in your project (gitignored). When unchecked,
|
|
17
|
+
credentials last until you stop the dev server.</p></div></div> <!></div> <!>`,1);function zm(t,n){P(n,!0);let r=`onboarding@resend.dev`,i=`bse_send_email_to`,a=O(me(n.sendEmailConfig.from)),s=O(!1),c=O(!1),f=O(``),m=O(r),g=O(!0),v=O(!1),y=O(null),b=O(``),x=O(!1),S=O(null),C=O(!1),w=V(()=>!n.html||!n.selectedFile||!n.previewApiOrigin);function ee(){let e=localStorage.getItem(i);e&&H(b,e,!0)}function te(e){localStorage.setItem(i,e)}async function D(){if(!n.previewApiOrigin)return null;try{let e=await Am(n.previewApiOrigin);return H(a,e.from,!0),e.from&&H(m,e.from,!0),e}catch{return H(a,null),null}}T(()=>{H(a,n.sendEmailConfig.from,!0),n.sendEmailConfig.from&&H(m,n.sendEmailConfig.from,!0)}),le(()=>{ee()});async function A(e){if(e.preventDefault(),!l(w)){if(H(S,null),H(C,!1),H(y,null),H(c,!1),!(await D())?.configured){H(s,!0);return}H(c,!0)}}async function ne(){if(n.previewApiOrigin){H(v,!0),H(y,null);try{let e=await jm(n.previewApiOrigin,{apiKey:l(f).trim(),from:l(m).trim()||r,persist:l(g)});H(a,e.from,!0),H(f,``),H(s,!1),H(c,!0),await Ce()}catch(e){H(y,e instanceof Error?e.message:`Failed to save Resend settings.`,!0)}finally{H(v,!1)}}}async function re(){if(!n.previewApiOrigin||!n.selectedFile||!n.html.trim())return;let e=l(b).trim();if(!e){H(S,`Recipient email is required.`);return}H(x,!0),H(S,null),H(C,!1);try{await Mm(n.previewApiOrigin,{to:e,file:n.selectedFile,html:n.html}),te(e),H(C,!0)}catch(e){H(S,e instanceof Error?e.message:`Failed to send email.`,!0)}finally{H(x,!1)}}var j=Pm(),ie=_(j);k(ie,()=>pm,(t,n)=>{n(t,{get open(){return l(c)},set open(e){H(c,e,!0)},children:(t,n)=>{var r=Pm(),i=_(r);{let e=(e,t)=>{po(e,B(()=>(t?.()).props,{variant:`outline`,size:`sm`,get disabled(){return l(w)},onclick:A,children:(e,t)=>{var n=Nm();sr(_(n),{class:`size-3`}),_e(),R(e,n)},$$slots:{default:!0}}))};k(i,()=>Om,(t,n)=>{n(t,{child:e,$$slots:{child:!0}})})}var s=N(i,2);k(s,()=>_m,(t,n)=>{n(t,{class:`w-80`,align:`end`,children:(t,n)=>{var r=Lm(),i=_(r);k(i,()=>Cm,(e,t)=>{t(e,{children:(e,t)=>{var n=Pm(),r=_(n);k(r,()=>Em,(e,t)=>{t(e,{children:(e,t)=>{_e();var n=u(`Send test email`);R(e,n)},$$slots:{default:!0}})});var i=N(r,2),s=e=>{var t=p(),n=_(t);k(n,()=>bm,(e,t)=>{t(e,{children:(e,t)=>{_e();var n=u();d(()=>h(n,`From ${l(a)??``}`)),R(e,n)},$$slots:{default:!0}})}),R(e,t)};o(i,e=>{l(a)&&e(s)}),R(e,n)},$$slots:{default:!0}})});var s=N(i,2),c=E(s),f=E(c);dm(f,{for:`send-to`,children:(e,t)=>{_e();var n=u(`To`);R(e,n)},$$slots:{default:!0}}),lm(N(f,2),{id:`send-to`,type:`email`,placeholder:`you@example.com`,onkeydown:e=>{e.key===`Enter`&&!l(x)&&re()},get value(){return l(b)},set value(e){H(b,e,!0)}}),W(c);var m=N(c,2),g=t=>{var n=Fm(),r=e(n,!0);d(()=>h(r,l(S))),R(t,n)};o(m,e=>{l(S)&&e(g)});var v=N(m,2),y=e=>{var t=Im();R(e,t)};o(v,e=>{l(C)&&e(y)});var w=N(v,2);{let e=V(()=>l(x)||!l(b).trim());po(w,{class:`w-full`,onclick:re,get disabled(){return l(e)},children:(e,t)=>{_e();var n=u();d(()=>h(n,l(x)?`Sending…`:`Send`)),R(e,n)},$$slots:{default:!0}})}W(s),R(t,r)},$$slots:{default:!0}})}),R(t,r)},$$slots:{default:!0}})});var ae=N(ie,2);k(ae,()=>Bp,(t,n)=>{n(t,{get open(){return l(s)},set open(e){H(s,e,!0)},children:(t,n)=>{var i=p(),a=_(i);k(a,()=>im,(t,n)=>{n(t,{class:`sm:max-w-md`,children:(t,n)=>{var i=Rm(),a=_(i);k(a,()=>Xp,(e,t)=>{t(e,{children:(e,t)=>{var n=Pm(),r=_(n);k(r,()=>Wp,(e,t)=>{t(e,{children:(e,t)=>{_e();var n=u(`Resend setup`);R(e,n)},$$slots:{default:!0}})});var i=N(r,2);k(i,()=>om,(e,t)=>{t(e,{children:(e,t)=>{_e();var n=u(`Connect Resend to send test emails from the preview. Your API key is only used by the local
|
|
18
|
+
CLI server.`);R(e,n)},$$slots:{default:!0}})}),R(e,n)},$$slots:{default:!0}})});var c=N(a,2),p=E(c),b=E(p);dm(b,{for:`resend-api-key`,children:(e,t)=>{_e();var n=u(`API key`);R(e,n)},$$slots:{default:!0}}),lm(N(b,2),{id:`resend-api-key`,type:`password`,autocomplete:`off`,placeholder:`re_...`,get value(){return l(f)},set value(e){H(f,e,!0)}}),W(p);var x=N(p,2),S=E(x);dm(S,{for:`resend-from`,children:(e,t)=>{_e();var n=u(`From`);R(e,n)},$$slots:{default:!0}}),lm(N(S,2),{id:`resend-from`,type:`email`,placeholder:r,get value(){return l(m)},set value(e){H(m,e,!0)}}),W(x);var C=N(x,2),w=E(C);Rp(w,{id:`resend-persist`,get checked(){return l(g)},set checked(e){H(g,e,!0)}});var T=N(w,2);dm(E(T),{for:`resend-persist`,class:`font-normal`,children:(e,t)=>{_e();var n=u(`Save credentials in .bse/`);R(e,n)},$$slots:{default:!0}}),_e(2),W(T),W(C);var ee=N(C,2),te=t=>{var n=Fm(),r=e(n,!0);d(()=>h(r,l(y))),R(t,n)};o(ee,e=>{l(y)&&e(te)}),W(c);var D=N(c,2);k(D,()=>qp,(e,t)=>{t(e,{children:(e,t)=>{var n=Pm(),r=_(n);po(r,{variant:`outline`,onclick:()=>H(s,!1),get disabled(){return l(v)},children:(e,t)=>{_e();var n=u(`Cancel`);R(e,n)},$$slots:{default:!0}});var i=N(r,2);{let e=V(()=>l(v)||!l(f).trim());po(i,{onclick:ne,get disabled(){return l(e)},children:(e,t)=>{_e();var n=u();d(()=>h(n,l(v)?`Saving…`:`Save & continue`)),R(e,n)},$$slots:{default:!0}})}R(e,n)},$$slots:{default:!0}})}),R(t,i)},$$slots:{default:!0}})}),R(t,i)},$$slots:{default:!0}})}),R(t,j),M()}var Bm=Object.defineProperty,Vm=Object.getOwnPropertyDescriptor,Hm=Object.getOwnPropertyNames,Um=Object.prototype.hasOwnProperty,Wm=(e,t)=>{let n={};for(var r in e)Bm(n,r,{get:e[r],enumerable:!0});return t||Bm(n,Symbol.toStringTag,{value:`Module`}),n},Gm=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=Hm(t),a=0,o=i.length,s;a<o;a++)s=i[a],!Um.call(e,s)&&s!==n&&Bm(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=Vm(t,s))||r.enumerable});return e},Km=(e,t,n)=>(Gm(e,t,`default`),n&&Gm(n,t,`default`)),qm=[{id:`abap`,name:`ABAP`,import:(()=>G(()=>import(`./CLvhMVsD.js`),[],import.meta.url))},{id:`actionscript-3`,name:`ActionScript`,aliases:[`actionscript`,`as3`],import:(()=>G(()=>import(`./Cs6JJXT5.js`),[],import.meta.url))},{id:`ada`,name:`Ada`,import:(()=>G(()=>import(`./C5qYipkI.js`),[],import.meta.url))},{id:`ahk`,name:`AutoHotkey`,aliases:[`ahk1`],import:(()=>G(()=>import(`./CA9gdOdF.js`),[],import.meta.url))},{id:`ahk2`,name:`AutoHotkey2`,import:(()=>G(()=>import(`./_6rzW9BS.js`),[],import.meta.url))},{id:`angular-html`,name:`Angular HTML`,import:(()=>G(()=>import(`./zsdBiTN_.js`).then(e=>e.n),__vite__mapDeps([0,1,2,3,4]),import.meta.url))},{id:`angular-ts`,name:`Angular TypeScript`,import:(()=>G(()=>import(`./lH39YlJ5.js`),__vite__mapDeps([5,0,1,2,3,4,6]),import.meta.url))},{id:`apache`,name:`Apache Conf`,import:(()=>G(()=>import(`./U0d_L8uA.js`),[],import.meta.url))},{id:`apex`,name:`Apex`,import:(()=>G(()=>import(`./KFGFyKwG.js`),[],import.meta.url))},{id:`apl`,name:`APL`,import:(()=>G(()=>import(`./C-11nlsK.js`),__vite__mapDeps([7,3,1,4,2,8,9,10]),import.meta.url))},{id:`applescript`,name:`AppleScript`,import:(()=>G(()=>import(`./CCn79oCD.js`),[],import.meta.url))},{id:`ara`,name:`Ara`,import:(()=>G(()=>import(`./4CJ0cIlV.js`),[],import.meta.url))},{id:`asciidoc`,name:`AsciiDoc`,aliases:[`adoc`],import:(()=>G(()=>import(`./SCjQUq34.js`),[],import.meta.url))},{id:`asm`,name:`Assembly`,import:(()=>G(()=>import(`./Cmm7eHzH.js`),[],import.meta.url))},{id:`astro`,name:`Astro`,import:(()=>G(()=>import(`./4Et-fZuz2.js`),__vite__mapDeps([11,3,1,4,10,12,13,14]),import.meta.url))},{id:`awk`,name:`AWK`,import:(()=>G(()=>import(`./BWXHIvNe2.js`),[],import.meta.url))},{id:`ballerina`,name:`Ballerina`,import:(()=>G(()=>import(`./B7ZEbQpA2.js`),[],import.meta.url))},{id:`bat`,name:`Batch File`,aliases:[`batch`,`cmd`],import:(()=>G(()=>import(`./qdxAdBWQ2.js`),[],import.meta.url))},{id:`beancount`,name:`Beancount`,import:(()=>G(()=>import(`./D-usSTwE2.js`),[],import.meta.url))},{id:`berry`,name:`Berry`,aliases:[`be`],import:(()=>G(()=>import(`./DKpUyyne2.js`),[],import.meta.url))},{id:`bibtex`,name:`BibTeX`,import:(()=>G(()=>import(`./Ci_nEsc72.js`),[],import.meta.url))},{id:`bicep`,name:`Bicep`,import:(()=>G(()=>import(`./CUHmPFLl2.js`),[],import.meta.url))},{id:`bird2`,name:`BIRD2 Configuration`,aliases:[`bird`],import:(()=>G(()=>import(`./CYIUgYqB2.js`),[],import.meta.url))},{id:`blade`,name:`Blade`,import:(()=>G(()=>import(`./C1YEx5K52.js`),__vite__mapDeps([15,3,1,4,2,8,9,10,16,17]),import.meta.url))},{id:`bsl`,name:`1C (Enterprise)`,aliases:[`1c`],import:(()=>G(()=>import(`./Ft8OTbFq2.js`),__vite__mapDeps([18,19]),import.meta.url))},{id:`c`,name:`C`,import:(()=>G(()=>import(`./DeAN7OF52.js`).then(e=>e.n),__vite__mapDeps([20,1]),import.meta.url))},{id:`c3`,name:`C3`,import:(()=>G(()=>import(`./D0apG41V2.js`),[],import.meta.url))},{id:`cadence`,name:`Cadence`,aliases:[`cdc`],import:(()=>G(()=>import(`./CQ2zXKGN2.js`),[],import.meta.url))},{id:`cairo`,name:`Cairo`,import:(()=>G(()=>import(`./DvRy0wJr2.js`),__vite__mapDeps([21,22]),import.meta.url))},{id:`chapel`,name:`Chapel`,aliases:[`chpl`],import:(()=>G(()=>import(`./8Q-NQKe02.js`),__vite__mapDeps([23,20,1]),import.meta.url))},{id:`clarity`,name:`Clarity`,import:(()=>G(()=>import(`./CtfBBspg2.js`),[],import.meta.url))},{id:`clojure`,name:`Clojure`,aliases:[`clj`],import:(()=>G(()=>import(`./DqKBuwfJ2.js`),[],import.meta.url))},{id:`cmake`,name:`CMake`,import:(()=>G(()=>import(`./Bj61d0ZC2.js`),[],import.meta.url))},{id:`cobol`,name:`COBOL`,import:(()=>G(()=>import(`./CXz1wjEO2.js`),__vite__mapDeps([24,2,1,3,4,9]),import.meta.url))},{id:`codeowners`,name:`CODEOWNERS`,import:(()=>G(()=>import(`./C8r90Shi2.js`),[],import.meta.url))},{id:`codeql`,name:`CodeQL`,aliases:[`ql`],import:(()=>G(()=>import(`./oeQT6MSM.js`),[],import.meta.url))},{id:`coffee`,name:`CoffeeScript`,aliases:[`coffeescript`],import:(()=>G(()=>import(`./BoP3ZIjj.js`),__vite__mapDeps([25,3,1]),import.meta.url))},{id:`common-lisp`,name:`Common Lisp`,aliases:[`lisp`],import:(()=>G(()=>import(`./Cv5bFMCO.js`),[],import.meta.url))},{id:`coq`,name:`Rocq`,import:(()=>G(()=>import(`./DuBRPxYg.js`),[],import.meta.url))},{id:`cpp`,name:`C++`,aliases:[`c++`],import:(()=>G(()=>import(`./Cf-MySyP.js`).then(e=>e.n),__vite__mapDeps([26,1,27,28,20]),import.meta.url))},{id:`crystal`,name:`Crystal`,import:(()=>G(()=>import(`./vw_ri9HA.js`),__vite__mapDeps([29,3,1,4,2,17,20,30]),import.meta.url))},{id:`csharp`,name:`C#`,aliases:[`c#`,`cs`],import:(()=>G(()=>import(`./oqKa8noW.js`),[],import.meta.url))},{id:`css`,name:`CSS`,import:(()=>G(()=>import(`./uMGAhrQH.js`).then(e=>e.n),__vite__mapDeps([4,1]),import.meta.url))},{id:`csv`,name:`CSV`,import:(()=>G(()=>import(`./Dx-8-gkx.js`),[],import.meta.url))},{id:`cue`,name:`CUE`,import:(()=>G(()=>import(`./CE9AQfxI.js`),[],import.meta.url))},{id:`cypher`,name:`Cypher`,aliases:[`cql`],import:(()=>G(()=>import(`./ClKdZ_lG.js`),[],import.meta.url))},{id:`d`,name:`D`,import:(()=>G(()=>import(`./qD-0Kul2.js`),[],import.meta.url))},{id:`dart`,name:`Dart`,import:(()=>G(()=>import(`./CnvKMtbv.js`),[],import.meta.url))},{id:`dax`,name:`DAX`,import:(()=>G(()=>import(`./BkyTk9wS.js`),[],import.meta.url))},{id:`desktop`,name:`Desktop`,import:(()=>G(()=>import(`./Dlh5hvp9.js`),[],import.meta.url))},{id:`diff`,name:`Diff`,import:(()=>G(()=>import(`./woXpYk--.js`),[],import.meta.url))},{id:`docker`,name:`Dockerfile`,aliases:[`dockerfile`],import:(()=>G(()=>import(`./IyjqRm3v.js`),[],import.meta.url))},{id:`dotenv`,name:`dotEnv`,import:(()=>G(()=>import(`./_5a1GRtc.js`),[],import.meta.url))},{id:`dream-maker`,name:`Dream Maker`,import:(()=>G(()=>import(`./DW3nJb8Q.js`),[],import.meta.url))},{id:`edge`,name:`Edge`,import:(()=>G(()=>import(`./ToV1T_TV.js`),__vite__mapDeps([31,2,1,3,4,12,16]),import.meta.url))},{id:`elixir`,name:`Elixir`,import:(()=>G(()=>import(`./YdMASkWP.js`),__vite__mapDeps([32,2,1,3,4]),import.meta.url))},{id:`elm`,name:`Elm`,import:(()=>G(()=>import(`./D6rb1NFY.js`),__vite__mapDeps([33,28,1,20]),import.meta.url))},{id:`emacs-lisp`,name:`Emacs Lisp`,aliases:[`elisp`],import:(()=>G(()=>import(`./c_oH4hRZ.js`),[],import.meta.url))},{id:`erb`,name:`ERB`,import:(()=>G(()=>import(`./DUSk5caH.js`),__vite__mapDeps([34,2,1,3,4,35,8,9,17,20,26,27,28,30,36,37,12,14,38,39,40]),import.meta.url))},{id:`erlang`,name:`Erlang`,aliases:[`erl`],import:(()=>G(()=>import(`./CXuKk5E8.js`),__vite__mapDeps([41,42]),import.meta.url))},{id:`fennel`,name:`Fennel`,import:(()=>G(()=>import(`./DQxkIbk2.js`),[],import.meta.url))},{id:`fish`,name:`Fish`,import:(()=>G(()=>import(`./BJitypiv.js`),[],import.meta.url))},{id:`fluent`,name:`Fluent`,aliases:[`ftl`],import:(()=>G(()=>import(`./C03EYrpw.js`),[],import.meta.url))},{id:`fortran-fixed-form`,name:`Fortran (Fixed Form)`,aliases:[`f`,`for`,`f77`],import:(()=>G(()=>import(`./R4sQ-3Hc2.js`),__vite__mapDeps([43,44]),import.meta.url))},{id:`fortran-free-form`,name:`Fortran (Free Form)`,aliases:[`f90`,`f95`,`f03`,`f08`,`f18`],import:(()=>G(()=>import(`./CYNrtFtB.js`),[],import.meta.url))},{id:`fsharp`,name:`F#`,aliases:[`f#`,`fs`],import:(()=>G(()=>import(`./Yf0g_uY-2.js`),__vite__mapDeps([45,42]),import.meta.url))},{id:`gdresource`,name:`GDResource`,aliases:[`tscn`,`tres`],import:(()=>G(()=>import(`./CyoNGCRj2.js`),__vite__mapDeps([46,47,48]),import.meta.url))},{id:`gdscript`,name:`GDScript`,aliases:[`gd`],import:(()=>G(()=>import(`./DYvRD3hg2.js`),[],import.meta.url))},{id:`gdshader`,name:`GDShader`,import:(()=>G(()=>import(`./CBce3t8t2.js`),[],import.meta.url))},{id:`genie`,name:`Genie`,import:(()=>G(()=>import(`./CV2tkWYe2.js`),[],import.meta.url))},{id:`gherkin`,name:`Gherkin`,import:(()=>G(()=>import(`./DExj1W_82.js`),[],import.meta.url))},{id:`git-commit`,name:`Git Commit Message`,import:(()=>G(()=>import(`./DDqZBno92.js`),__vite__mapDeps([49,50]),import.meta.url))},{id:`git-rebase`,name:`Git Rebase Message`,import:(()=>G(()=>import(`./Bq9vyKXU2.js`),__vite__mapDeps([51,30,1]),import.meta.url))},{id:`gleam`,name:`Gleam`,import:(()=>G(()=>import(`./CSRkHgEL2.js`),[],import.meta.url))},{id:`glimmer-js`,name:`Glimmer JS`,aliases:[`gjs`],import:(()=>G(()=>import(`./4ZbjVoiO2.js`),__vite__mapDeps([52,3,1,4,2,12]),import.meta.url))},{id:`glimmer-ts`,name:`Glimmer TS`,aliases:[`gts`],import:(()=>G(()=>import(`./BzqSJT3G2.js`),__vite__mapDeps([53,3,1,4,2,12]),import.meta.url))},{id:`glsl`,name:`GLSL`,import:(()=>G(()=>import(`./BUS8rUeV.js`).then(e=>e.n),__vite__mapDeps([28,1,20]),import.meta.url))},{id:`gn`,name:`GN`,import:(()=>G(()=>import(`./ilITqXS62.js`),[],import.meta.url))},{id:`gnuplot`,name:`Gnuplot`,import:(()=>G(()=>import(`./7GGW24-e2.js`),[],import.meta.url))},{id:`go`,name:`Go`,import:(()=>G(()=>import(`./rLFTqkRN2.js`),[],import.meta.url))},{id:`graphql`,name:`GraphQL`,aliases:[`gql`],import:(()=>G(()=>import(`./DdYvdtOm.js`).then(e=>e.n),__vite__mapDeps([37,1,3,12,14,38]),import.meta.url))},{id:`groovy`,name:`Groovy`,import:(()=>G(()=>import(`./CacY0gHj2.js`),[],import.meta.url))},{id:`hack`,name:`Hack`,import:(()=>G(()=>import(`./Ck_y1oMD2.js`),__vite__mapDeps([54,2,1,3,4,17]),import.meta.url))},{id:`haml`,name:`Ruby Haml`,import:(()=>G(()=>import(`./DAoG-c2U.js`).then(e=>e.n),__vite__mapDeps([36,1,3,4]),import.meta.url))},{id:`handlebars`,name:`Handlebars`,aliases:[`hbs`],import:(()=>G(()=>import(`./DXKtLEqt2.js`),__vite__mapDeps([55,3,1,4,2,40]),import.meta.url))},{id:`haskell`,name:`Haskell`,aliases:[`hs`],import:(()=>G(()=>import(`./D8IpX4py2.js`),[],import.meta.url))},{id:`haxe`,name:`Haxe`,import:(()=>G(()=>import(`./C8oCnwJJ2.js`),[],import.meta.url))},{id:`hcl`,name:`HashiCorp HCL`,import:(()=>G(()=>import(`./Dh228itO2.js`),[],import.meta.url))},{id:`hjson`,name:`Hjson`,import:(()=>G(()=>import(`./CxZEssPk2.js`),[],import.meta.url))},{id:`hlsl`,name:`HLSL`,import:(()=>G(()=>import(`./Cvrh5tZx2.js`),[],import.meta.url))},{id:`html`,name:`HTML`,import:(()=>G(()=>import(`./Y25eRjiK.js`).then(e=>e.n),__vite__mapDeps([2,1,3,4]),import.meta.url))},{id:`html-derivative`,name:`HTML (Derivative)`,import:(()=>G(()=>import(`./0nhrQ1lI2.js`),__vite__mapDeps([16,2,1,3,4]),import.meta.url))},{id:`http`,name:`HTTP`,import:(()=>G(()=>import(`./C4NOgEC42.js`),__vite__mapDeps([56,8,1,9,10,30,37,3,12,14,38]),import.meta.url))},{id:`hurl`,name:`Hurl`,import:(()=>G(()=>import(`./D6g3LM2c2.js`),__vite__mapDeps([57,8,1,9,58,37,3,12,14,38]),import.meta.url))},{id:`hxml`,name:`HXML`,import:(()=>G(()=>import(`./Dc2A3rbH2.js`),__vite__mapDeps([59,60]),import.meta.url))},{id:`hy`,name:`Hy`,import:(()=>G(()=>import(`./CZbG8q4J.js`),[],import.meta.url))},{id:`imba`,name:`Imba`,import:(()=>G(()=>import(`./DsUTQ-LC.js`),[],import.meta.url))},{id:`ini`,name:`INI`,aliases:[`properties`],import:(()=>G(()=>import(`./B5eOa1yu.js`),[],import.meta.url))},{id:`java`,name:`Java`,import:(()=>G(()=>import(`./CFnFEeY2.js`).then(e=>e.n),__vite__mapDeps([9,1]),import.meta.url))},{id:`javascript`,name:`JavaScript`,aliases:[`js`,`cjs`,`mjs`],import:(()=>G(()=>import(`./BMZyeqAe.js`).then(e=>e.n),__vite__mapDeps([3,1]),import.meta.url))},{id:`jinja`,name:`Jinja`,import:(()=>G(()=>import(`./DXRUTNo3.js`),__vite__mapDeps([61,2,1,3,4]),import.meta.url))},{id:`jison`,name:`Jison`,import:(()=>G(()=>import(`./BsxVhP78.js`),__vite__mapDeps([62,3,1]),import.meta.url))},{id:`json`,name:`JSON`,import:(()=>G(()=>import(`./CgWnF1ld.js`).then(e=>e.n),__vite__mapDeps([10,1]),import.meta.url))},{id:`json5`,name:`JSON5`,import:(()=>G(()=>import(`./BR5RXkoi.js`),[],import.meta.url))},{id:`jsonc`,name:`JSON with Comments`,import:(()=>G(()=>import(`./CYpm1nAK.js`),[],import.meta.url))},{id:`jsonl`,name:`JSON Lines`,import:(()=>G(()=>import(`./CmCQp5Yx.js`),[],import.meta.url))},{id:`jsonnet`,name:`Jsonnet`,import:(()=>G(()=>import(`./CJTPZ8u_.js`),[],import.meta.url))},{id:`jssm`,name:`JSSM`,aliases:[`fsl`],import:(()=>G(()=>import(`./DXw9l8Rf.js`),[],import.meta.url))},{id:`jsx`,name:`JSX`,import:(()=>G(()=>import(`./Ply3gfWB.js`).then(e=>e.n),__vite__mapDeps([38,1]),import.meta.url))},{id:`julia`,name:`Julia`,aliases:[`jl`],import:(()=>G(()=>import(`./sbUxT0qP.js`),__vite__mapDeps([63,3,1,17,22,26,27,28,20,64]),import.meta.url))},{id:`just`,name:`Just`,aliases:[`justfile`],import:(()=>G(()=>import(`./BXjDaEwA.js`),__vite__mapDeps([65,3,1,12,22,30,35,4,2,8,9,17,20,26,27,28,36,37,14,38,39,40,66]),import.meta.url))},{id:`kdl`,name:`KDL`,import:(()=>G(()=>import(`./CsD5j6eV.js`),[],import.meta.url))},{id:`kotlin`,name:`Kotlin`,aliases:[`kt`,`kts`],import:(()=>G(()=>import(`./DhhofPvG.js`),[],import.meta.url))},{id:`kusto`,name:`Kusto`,aliases:[`kql`],import:(()=>G(()=>import(`./C7mF5XQf.js`),[],import.meta.url))},{id:`latex`,name:`LaTeX`,import:(()=>G(()=>import(`./DLQ1jY3Q.js`),__vite__mapDeps([67,68,1,64]),import.meta.url))},{id:`lean`,name:`Lean 4`,aliases:[`lean4`],import:(()=>G(()=>import(`./CewbzKMR.js`),[],import.meta.url))},{id:`less`,name:`Less`,import:(()=>G(()=>import(`./DVTAwKKz.js`),[],import.meta.url))},{id:`liquid`,name:`Liquid`,import:(()=>G(()=>import(`./DopI_Aro.js`),__vite__mapDeps([69,3,1,4,2,10]),import.meta.url))},{id:`llvm`,name:`LLVM IR`,import:(()=>G(()=>import(`./DqHOMS-s.js`),[],import.meta.url))},{id:`log`,name:`Log file`,import:(()=>G(()=>import(`./BNLmms1o.js`),[],import.meta.url))},{id:`logo`,name:`Logo`,import:(()=>G(()=>import(`./Cluzi2Zq.js`),[],import.meta.url))},{id:`lua`,name:`Lua`,import:(()=>G(()=>import(`./D7ZBkzjz.js`).then(e=>e.n),__vite__mapDeps([39,1,20]),import.meta.url))},{id:`luau`,name:`Luau`,import:(()=>G(()=>import(`./C2pBCSgt.js`),[],import.meta.url))},{id:`make`,name:`Makefile`,aliases:[`makefile`],import:(()=>G(()=>import(`./Dixweg8N.js`),[],import.meta.url))},{id:`markdown`,name:`Markdown`,aliases:[`md`],import:(()=>G(()=>import(`./BYOwaDjH.js`),[],import.meta.url))},{id:`marko`,name:`Marko`,import:(()=>G(()=>import(`./C_VjiH2S.js`),__vite__mapDeps([70,4,1,6,12,71]),import.meta.url))},{id:`matlab`,name:`MATLAB`,import:(()=>G(()=>import(`./D7qyCx1q.js`),[],import.meta.url))},{id:`mdc`,name:`MDC`,import:(()=>G(()=>import(`./CYch3rwW.js`),__vite__mapDeps([72,16,2,1,3,4,40,42]),import.meta.url))},{id:`mdx`,name:`MDX`,import:(()=>G(()=>import(`./DQZ5AkYe.js`),[],import.meta.url))},{id:`mermaid`,name:`Mermaid`,aliases:[`mmd`],import:(()=>G(()=>import(`./BxpfTIzt.js`),[],import.meta.url))},{id:`mipsasm`,name:`MIPS Assembly`,aliases:[`mips`],import:(()=>G(()=>import(`./BMqwQI7S.js`),[],import.meta.url))},{id:`mojo`,name:`Mojo`,import:(()=>G(()=>import(`./fg40_ntQ.js`),[],import.meta.url))},{id:`moonbit`,name:`MoonBit`,aliases:[`mbt`,`mbti`],import:(()=>G(()=>import(`./DgjMoLWr.js`),[],import.meta.url))},{id:`move`,name:`Move`,import:(()=>G(()=>import(`./BYnGhZoM.js`),[],import.meta.url))},{id:`narrat`,name:`Narrat Language`,aliases:[`nar`],import:(()=>G(()=>import(`./_X_XdTYD.js`),[],import.meta.url))},{id:`nextflow`,name:`Nextflow`,aliases:[`nf`],import:(()=>G(()=>import(`./C5JeTiTv2.js`),__vite__mapDeps([73,74]),import.meta.url))},{id:`nextflow-groovy`,name:`Nextflow Groovy`,import:(()=>G(()=>import(`./DJMQeKeT.js`),[],import.meta.url))},{id:`nginx`,name:`Nginx`,import:(()=>G(()=>import(`./CtlRemE32.js`),__vite__mapDeps([75,39,1,20]),import.meta.url))},{id:`nim`,name:`Nim`,import:(()=>G(()=>import(`./gm_N5lMW2.js`),__vite__mapDeps([76,3,1,4,2,8,9,20,28,42]),import.meta.url))},{id:`nix`,name:`Nix`,import:(()=>G(()=>import(`./IvuFDN5E2.js`),[],import.meta.url))},{id:`nsis`,name:`NSIS`,import:(()=>G(()=>import(`./CjNLYCLg2.js`),[],import.meta.url))},{id:`nushell`,name:`nushell`,aliases:[`nu`],import:(()=>G(()=>import(`./DHYfO66s2.js`),[],import.meta.url))},{id:`objective-c`,name:`Objective-C`,aliases:[`objc`],import:(()=>G(()=>import(`./D1A_Heim2.js`),[],import.meta.url))},{id:`objective-cpp`,name:`Objective-C++`,import:(()=>G(()=>import(`./BsSzOQcm2.js`),[],import.meta.url))},{id:`ocaml`,name:`OCaml`,import:(()=>G(()=>import(`./O90oeIOV2.js`),[],import.meta.url))},{id:`odin`,name:`Odin`,import:(()=>G(()=>import(`./B1RWQWA52.js`),[],import.meta.url))},{id:`openscad`,name:`OpenSCAD`,aliases:[`scad`],import:(()=>G(()=>import(`./BUDT5pXO2.js`),[],import.meta.url))},{id:`org`,name:`Org Markup`,import:(()=>G(()=>import(`./BMda5uUP2.js`),__vite__mapDeps([77,3,1,4,2,6,9,8,10,12,14,17,20,22,78,25,27,26,28,30,79,80,50,81,32,39,40,35,36,37,38,42,41,49,51,82,83,84,64,66,67,68,71,85,76,86,87,88,89,90,91,92,93,94]),import.meta.url))},{id:`pascal`,name:`Pascal`,import:(()=>G(()=>import(`./4ZHwLPI52.js`),[],import.meta.url))},{id:`perl`,name:`Perl`,import:(()=>G(()=>import(`./CZSUQC6s.js`),__vite__mapDeps([66,3,1,4,2,8,9,17]),import.meta.url))},{id:`php`,name:`PHP`,import:(()=>G(()=>import(`./CujlemUM2.js`),__vite__mapDeps([88,3,1,4,2,8,9,10,17]),import.meta.url))},{id:`pkl`,name:`Pkl`,import:(()=>G(()=>import(`./ot-7Btpt2.js`),[],import.meta.url))},{id:`plsql`,name:`PL/SQL`,import:(()=>G(()=>import(`./DGHpHOYJ2.js`),[],import.meta.url))},{id:`po`,name:`Gettext PO`,aliases:[`pot`,`potx`],import:(()=>G(()=>import(`./BiJDBrnU2.js`),[],import.meta.url))},{id:`polar`,name:`Polar`,import:(()=>G(()=>import(`./C7UOKdEL2.js`),[],import.meta.url))},{id:`postcss`,name:`PostCSS`,import:(()=>G(()=>import(`./BXeXVLqQ.js`),[],import.meta.url))},{id:`powerquery`,name:`PowerQuery`,import:(()=>G(()=>import(`./DNMTfnFr2.js`),[],import.meta.url))},{id:`powershell`,name:`PowerShell`,aliases:[`ps`,`ps1`,`pwsh`],import:(()=>G(()=>import(`./CCSX75yM2.js`),[],import.meta.url))},{id:`prisma`,name:`Prisma`,import:(()=>G(()=>import(`./DMgNhnYS.js`),[],import.meta.url))},{id:`prolog`,name:`Prolog`,import:(()=>G(()=>import(`./iXnhIJG7.js`),[],import.meta.url))},{id:`proto`,name:`Protocol Buffer 3`,aliases:[`protobuf`],import:(()=>G(()=>import(`./DB4EqR-F.js`),[],import.meta.url))},{id:`pug`,name:`Pug`,aliases:[`jade`],import:(()=>G(()=>import(`./D82K7ltp.js`),__vite__mapDeps([95,3,1,4,2]),import.meta.url))},{id:`puppet`,name:`Puppet`,import:(()=>G(()=>import(`./CDv2pdJW.js`),[],import.meta.url))},{id:`purescript`,name:`PureScript`,import:(()=>G(()=>import(`./9MfHhQsQ.js`),[],import.meta.url))},{id:`python`,name:`Python`,aliases:[`py`],import:(()=>G(()=>import(`./gzcpVVnB2.js`),[],import.meta.url))},{id:`qml`,name:`QML`,import:(()=>G(()=>import(`./CC8pn3NZ.js`),__vite__mapDeps([96,3,1]),import.meta.url))},{id:`qmldir`,name:`QML Directory`,import:(()=>G(()=>import(`./DCQb3MpD.js`),[],import.meta.url))},{id:`qss`,name:`Qt Style Sheets`,import:(()=>G(()=>import(`./Fe1Jh2GI.js`),[],import.meta.url))},{id:`r`,name:`R`,import:(()=>G(()=>import(`./-zmNDWiK.js`).then(e=>e.n),__vite__mapDeps([64,1]),import.meta.url))},{id:`racket`,name:`Racket`,import:(()=>G(()=>import(`./DcIDlBhZ.js`),[],import.meta.url))},{id:`raku`,name:`Raku`,aliases:[`perl6`],import:(()=>G(()=>import(`./B3gFvitq2.js`),[],import.meta.url))},{id:`razor`,name:`ASP.NET Razor`,import:(()=>G(()=>import(`./DRtQzejv.js`),__vite__mapDeps([97,2,1,3,4,79]),import.meta.url))},{id:`rbs`,name:`RBS`,aliases:[`ruby-signature`],import:(()=>G(()=>import(`./C0MpOrj4.js`),[],import.meta.url))},{id:`reg`,name:`Windows Registry Script`,import:(()=>G(()=>import(`./CRGYupPL.js`),[],import.meta.url))},{id:`regexp`,name:`RegExp`,aliases:[`regex`],import:(()=>G(()=>import(`./DNsv-6KV.js`).then(e=>e.n),__vite__mapDeps([27,1]),import.meta.url))},{id:`rel`,name:`Rel`,import:(()=>G(()=>import(`./BtDbiS_P.js`),[],import.meta.url))},{id:`riscv`,name:`RISC-V`,import:(()=>G(()=>import(`./Ckw8ddFX.js`),[],import.meta.url))},{id:`ron`,name:`RON`,import:(()=>G(()=>import(`./VUp2lXgN.js`),[],import.meta.url))},{id:`rosmsg`,name:`ROS Interface`,import:(()=>G(()=>import(`./CAekHB0j.js`),[],import.meta.url))},{id:`rst`,name:`reStructuredText`,import:(()=>G(()=>import(`./B3OW8jzr.js`),__vite__mapDeps([98,3,1,16,2,4,22,99,26,27,28,20,30,40,35,8,9,17,36,37,12,14,38,39]),import.meta.url))},{id:`ruby`,name:`Ruby`,aliases:[`rb`],import:(()=>G(()=>import(`./DnRTvscr.js`),__vite__mapDeps([35,3,1,4,2,8,9,17,20,26,27,28,30,36,37,12,14,38,39,40]),import.meta.url))},{id:`rust`,name:`Rust`,aliases:[`rs`],import:(()=>G(()=>import(`./Cfkwpbl82.js`),[],import.meta.url))},{id:`sas`,name:`SAS`,import:(()=>G(()=>import(`./DVRIdhsZ.js`),__vite__mapDeps([100,17,1]),import.meta.url))},{id:`sass`,name:`Sass`,import:(()=>G(()=>import(`./DXrisJhu.js`),[],import.meta.url))},{id:`scala`,name:`Scala`,import:(()=>G(()=>import(`./BiFt_7mu2.js`),[],import.meta.url))},{id:`scheme`,name:`Scheme`,import:(()=>G(()=>import(`./DQCgrYNe.js`),[],import.meta.url))},{id:`scss`,name:`SCSS`,import:(()=>G(()=>import(`./CRbQg6uw.js`).then(e=>e.n),__vite__mapDeps([6,1,4]),import.meta.url))},{id:`sdbl`,name:`1C (Query)`,aliases:[`1c-query`],import:(()=>G(()=>import(`./bTVj8UrX2.js`),[],import.meta.url))},{id:`shaderlab`,name:`ShaderLab`,aliases:[`shader`],import:(()=>G(()=>import(`./BR43B8UW.js`),__vite__mapDeps([101,102]),import.meta.url))},{id:`shellscript`,name:`Shell`,aliases:[`bash`,`sh`,`shell`,`zsh`],import:(()=>G(()=>import(`./CwS0E2RE.js`).then(e=>e.n),__vite__mapDeps([30,1]),import.meta.url))},{id:`shellsession`,name:`Shell Session`,aliases:[`console`],import:(()=>G(()=>import(`./DwrAFPpy.js`),__vite__mapDeps([103,30,1]),import.meta.url))},{id:`smalltalk`,name:`GNU Smalltalk`,import:(()=>G(()=>import(`./BHpQb5nM.js`),[],import.meta.url))},{id:`smithy`,name:`Smithy`,import:(()=>G(()=>import(`./Dgaz7aur.js`),[],import.meta.url))},{id:`solidity`,name:`Solidity`,import:(()=>G(()=>import(`./Bj7E1mRn.js`),[],import.meta.url))},{id:`soy`,name:`Closure Templates`,aliases:[`closure-templates`],import:(()=>G(()=>import(`./DWSoargy.js`),__vite__mapDeps([104,2,1,3,4]),import.meta.url))},{id:`sparql`,name:`SPARQL`,import:(()=>G(()=>import(`./B5B4dYe2.js`),__vite__mapDeps([105,106]),import.meta.url))},{id:`splunk`,name:`Splunk Query Language`,aliases:[`spl`],import:(()=>G(()=>import(`./BC2Px7Mm.js`),[],import.meta.url))},{id:`sql`,name:`SQL`,import:(()=>G(()=>import(`./DUnHXTD32.js`).then(e=>e.n),__vite__mapDeps([17,1]),import.meta.url))},{id:`ssh-config`,name:`SSH Config`,import:(()=>G(()=>import(`./BgfXC-Er.js`),[],import.meta.url))},{id:`stata`,name:`Stata`,import:(()=>G(()=>import(`./MFBwMmQQ.js`),__vite__mapDeps([107,17,1]),import.meta.url))},{id:`stylus`,name:`Stylus`,aliases:[`styl`],import:(()=>G(()=>import(`./B6D30XZt.js`),[],import.meta.url))},{id:`surrealql`,name:`SurrealQL`,aliases:[`surql`],import:(()=>G(()=>import(`./BPVbnECt.js`),__vite__mapDeps([108,3,1]),import.meta.url))},{id:`svelte`,name:`Svelte`,import:(()=>G(()=>import(`./DQb0txHr.js`),__vite__mapDeps([109,3,1,4,12,13]),import.meta.url))},{id:`swift`,name:`Swift`,import:(()=>G(()=>import(`./CyEgAFGc.js`),[],import.meta.url))},{id:`system-verilog`,name:`SystemVerilog`,import:(()=>G(()=>import(`./Dh5ihWbf.js`),[],import.meta.url))},{id:`systemd`,name:`Systemd Units`,import:(()=>G(()=>import(`./BxMlprV5.js`),[],import.meta.url))},{id:`talonscript`,name:`TalonScript`,aliases:[`talon`],import:(()=>G(()=>import(`./CohzipZa2.js`),[],import.meta.url))},{id:`tasl`,name:`Tasl`,import:(()=>G(()=>import(`./DMoTqEGO2.js`),[],import.meta.url))},{id:`tcl`,name:`Tcl`,import:(()=>G(()=>import(`./CZd0xW_V2.js`),[],import.meta.url))},{id:`templ`,name:`Templ`,import:(()=>G(()=>import(`./DEyD5ozc2.js`),__vite__mapDeps([110,3,1,4,82]),import.meta.url))},{id:`terraform`,name:`Terraform`,aliases:[`tf`,`tfvars`],import:(()=>G(()=>import(`./DswuEJGm2.js`),[],import.meta.url))},{id:`tex`,name:`TeX`,import:(()=>G(()=>import(`./CuuFrnnj.js`).then(e=>e.n),__vite__mapDeps([68,1,64]),import.meta.url))},{id:`toml`,name:`TOML`,import:(()=>G(()=>import(`./CcmNWLt02.js`),[],import.meta.url))},{id:`ts-tags`,name:`TypeScript with Tags`,aliases:[`lit`],import:(()=>G(()=>import(`./DfWQkxcR2.js`),__vite__mapDeps([111,3,1,4,2,8,9,12,17,28,20]),import.meta.url))},{id:`tsv`,name:`TSV`,import:(()=>G(()=>import(`./sltzmVWM2.js`),[],import.meta.url))},{id:`tsx`,name:`TSX`,import:(()=>G(()=>import(`./2MieKtHj2.js`).then(e=>e.n),__vite__mapDeps([14,1]),import.meta.url))},{id:`turtle`,name:`Turtle`,import:(()=>G(()=>import(`./ByJddavk.js`),[],import.meta.url))},{id:`twig`,name:`Twig`,import:(()=>G(()=>import(`./kCJGRPZn2.js`),__vite__mapDeps([112,3,1,4,6,22,35,2,8,9,17,20,26,27,28,30,36,37,12,14,38,39,40,88,10]),import.meta.url))},{id:`typescript`,name:`TypeScript`,aliases:[`ts`,`cts`,`mts`],import:(()=>G(()=>import(`./DLALkM19.js`).then(e=>e.n),__vite__mapDeps([12,1]),import.meta.url))},{id:`typespec`,name:`TypeSpec`,aliases:[`tsp`],import:(()=>G(()=>import(`./BRdr0IET2.js`),[],import.meta.url))},{id:`typst`,name:`Typst`,aliases:[`typ`],import:(()=>G(()=>import(`./13-zcMcL2.js`),__vite__mapDeps([113,3,1,4,2,6,9,8,10,12,14,114,115,17,20,22,78,25,27,26,28,30,79,80,50,81,32,39,40,35,36,37,38,42,41,45,49,51,82,83,55,84,116,64,63,66,67,68,71,117,85,86,88,89,90,91,92,94,118,95,119,120,112,121]),import.meta.url))},{id:`v`,name:`V`,import:(()=>G(()=>import(`./DBj4K9d_2.js`),[],import.meta.url))},{id:`vala`,name:`Vala`,import:(()=>G(()=>import(`./zf12oZj62.js`),[],import.meta.url))},{id:`vb`,name:`Visual Basic`,import:(()=>G(()=>import(`./DOwzaHZ02.js`),[],import.meta.url))},{id:`verilog`,name:`Verilog`,import:(()=>G(()=>import(`./B2gwz-sJ2.js`),[],import.meta.url))},{id:`vhdl`,name:`VHDL`,import:(()=>G(()=>import(`./BroJfC0k2.js`),[],import.meta.url))},{id:`viml`,name:`Vim Script`,aliases:[`vim`,`vimscript`],import:(()=>G(()=>import(`./DvXPmvsu2.js`),[],import.meta.url))},{id:`vue`,name:`Vue`,import:(()=>G(()=>import(`./H0INDQMU2.js`),__vite__mapDeps([122,3,1,4,2,10,12,16]),import.meta.url))},{id:`vue-html`,name:`Vue HTML`,import:(()=>G(()=>import(`./CdYiZtb-2.js`),__vite__mapDeps([123,3,1]),import.meta.url))},{id:`vue-vine`,name:`Vue Vine`,import:(()=>G(()=>import(`./BRQFqPwU2.js`),__vite__mapDeps([124,3,1,4,6,13,71,125]),import.meta.url))},{id:`vyper`,name:`Vyper`,aliases:[`vy`],import:(()=>G(()=>import(`./CgoNMtux2.js`),[],import.meta.url))},{id:`wasm`,name:`WebAssembly`,import:(()=>G(()=>import(`./ByWQv1Qj2.js`),[],import.meta.url))},{id:`wenyan`,name:`Wenyan`,aliases:[`文言`],import:(()=>G(()=>import(`./C8pVoKbM2.js`),[],import.meta.url))},{id:`wgsl`,name:`WGSL`,import:(()=>G(()=>import(`./BsKzXJz42.js`),[],import.meta.url))},{id:`wikitext`,name:`Wikitext`,aliases:[`mediawiki`,`wiki`],import:(()=>G(()=>import(`./ClFFjSW22.js`),[],import.meta.url))},{id:`wit`,name:`WebAssembly Interface Types`,import:(()=>G(()=>import(`./DdvCle-K2.js`),[],import.meta.url))},{id:`wolfram`,name:`Wolfram`,aliases:[`wl`],import:(()=>G(()=>import(`./DLL8P-h_2.js`),[],import.meta.url))},{id:`xml`,name:`XML`,import:(()=>G(()=>import(`./DFai7nk7.js`).then(e=>e.n),__vite__mapDeps([8,1,9]),import.meta.url))},{id:`xsl`,name:`XSL`,import:(()=>G(()=>import(`./BTE6_myI2.js`),__vite__mapDeps([94,8,1,9]),import.meta.url))},{id:`yaml`,name:`YAML`,aliases:[`yml`],import:(()=>G(()=>import(`./BgXOYHyH.js`).then(e=>e.n),__vite__mapDeps([40,1]),import.meta.url))},{id:`zenscript`,name:`ZenScript`,import:(()=>G(()=>import(`./BnlCZFoB.js`),[],import.meta.url))},{id:`zig`,name:`Zig`,import:(()=>G(()=>import(`./CMLA9XwU2.js`),[],import.meta.url))}],Jm=Object.fromEntries(qm.map(e=>[e.id,e.import])),Ym=Object.fromEntries(qm.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),Xm={...Jm,...Ym},Zm=Object.fromEntries([{id:`andromeeda`,displayName:`Andromeeda`,type:`dark`,import:(()=>G(()=>import(`./vGVdxbeo.js`),[],import.meta.url))},{id:`aurora-x`,displayName:`Aurora X`,type:`dark`,import:(()=>G(()=>import(`./CDeNXAV0.js`),[],import.meta.url))},{id:`ayu-dark`,displayName:`Ayu Dark`,type:`dark`,import:(()=>G(()=>import(`./DluEY0Gj.js`),[],import.meta.url))},{id:`ayu-light`,displayName:`Ayu Light`,type:`light`,import:(()=>G(()=>import(`./C3h-C4tm.js`),[],import.meta.url))},{id:`ayu-mirage`,displayName:`Ayu Mirage`,type:`dark`,import:(()=>G(()=>import(`./Bqwy1Gya.js`),[],import.meta.url))},{id:`catppuccin-frappe`,displayName:`Catppuccin Frappé`,type:`dark`,import:(()=>G(()=>import(`./C9Q5zVZY.js`),[],import.meta.url))},{id:`catppuccin-latte`,displayName:`Catppuccin Latte`,type:`light`,import:(()=>G(()=>import(`./CtsyrtPq.js`),[],import.meta.url))},{id:`catppuccin-macchiato`,displayName:`Catppuccin Macchiato`,type:`dark`,import:(()=>G(()=>import(`./R8nAf1vR.js`),[],import.meta.url))},{id:`catppuccin-mocha`,displayName:`Catppuccin Mocha`,type:`dark`,import:(()=>G(()=>import(`./DjuaAJKi.js`),[],import.meta.url))},{id:`dark-plus`,displayName:`Dark Plus`,type:`dark`,import:(()=>G(()=>import(`./Cs2F2srj.js`),[],import.meta.url))},{id:`dracula`,displayName:`Dracula Theme`,type:`dark`,import:(()=>G(()=>import(`./BHWKrbxM.js`),[],import.meta.url))},{id:`dracula-soft`,displayName:`Dracula Theme Soft`,type:`dark`,import:(()=>G(()=>import(`./5eyTD99u.js`),[],import.meta.url))},{id:`everforest-dark`,displayName:`Everforest Dark`,type:`dark`,import:(()=>G(()=>import(`./sB-x3p7T.js`),[],import.meta.url))},{id:`everforest-light`,displayName:`Everforest Light`,type:`light`,import:(()=>G(()=>import(`./Df2xbC6M.js`),[],import.meta.url))},{id:`github-dark`,displayName:`GitHub Dark`,type:`dark`,import:(()=>G(()=>import(`./C-LZuMrd.js`),[],import.meta.url))},{id:`github-dark-default`,displayName:`GitHub Dark Default`,type:`dark`,import:(()=>G(()=>import(`./DXG-b-1a.js`),[],import.meta.url))},{id:`github-dark-dimmed`,displayName:`GitHub Dark Dimmed`,type:`dark`,import:(()=>G(()=>import(`./Bx1FflLF.js`),[],import.meta.url))},{id:`github-dark-high-contrast`,displayName:`GitHub Dark High Contrast`,type:`dark`,import:(()=>G(()=>import(`./B_tTalzw.js`),[],import.meta.url))},{id:`github-light`,displayName:`GitHub Light`,type:`light`,import:(()=>G(()=>import(`./EUqPIrTm.js`),[],import.meta.url))},{id:`github-light-default`,displayName:`GitHub Light Default`,type:`light`,import:(()=>G(()=>import(`./BXViO-2h.js`),[],import.meta.url))},{id:`github-light-high-contrast`,displayName:`GitHub Light High Contrast`,type:`light`,import:(()=>G(()=>import(`./B68TUdTA.js`),[],import.meta.url))},{id:`gruvbox-dark-hard`,displayName:`Gruvbox Dark Hard`,type:`dark`,import:(()=>G(()=>import(`./C820rvS2.js`),[],import.meta.url))},{id:`gruvbox-dark-medium`,displayName:`Gruvbox Dark Medium`,type:`dark`,import:(()=>G(()=>import(`./BPjhmG05.js`),[],import.meta.url))},{id:`gruvbox-dark-soft`,displayName:`Gruvbox Dark Soft`,type:`dark`,import:(()=>G(()=>import(`./MrdJrrXF.js`),[],import.meta.url))},{id:`gruvbox-light-hard`,displayName:`Gruvbox Light Hard`,type:`light`,import:(()=>G(()=>import(`./BC_s9l72.js`),[],import.meta.url))},{id:`gruvbox-light-medium`,displayName:`Gruvbox Light Medium`,type:`light`,import:(()=>G(()=>import(`./BAWPOn9u.js`),[],import.meta.url))},{id:`gruvbox-light-soft`,displayName:`Gruvbox Light Soft`,type:`light`,import:(()=>G(()=>import(`./BSMLrYjP.js`),[],import.meta.url))},{id:`horizon`,displayName:`Horizon`,type:`dark`,import:(()=>G(()=>import(`./CE9ld1lL.js`),[],import.meta.url))},{id:`horizon-bright`,displayName:`Horizon Bright`,type:`light`,import:(()=>G(()=>import(`./DSNQnXHK.js`),[],import.meta.url))},{id:`houston`,displayName:`Houston`,type:`dark`,import:(()=>G(()=>import(`./CsvMBhTu.js`),[],import.meta.url))},{id:`kanagawa-dragon`,displayName:`Kanagawa Dragon`,type:`dark`,import:(()=>G(()=>import(`./Bozd7klA.js`),[],import.meta.url))},{id:`kanagawa-lotus`,displayName:`Kanagawa Lotus`,type:`light`,import:(()=>G(()=>import(`./BmuOG9ZW.js`),[],import.meta.url))},{id:`kanagawa-wave`,displayName:`Kanagawa Wave`,type:`dark`,import:(()=>G(()=>import(`./BML5mF2J.js`),[],import.meta.url))},{id:`laserwave`,displayName:`LaserWave`,type:`dark`,import:(()=>G(()=>import(`./C_8bwKvT.js`),[],import.meta.url))},{id:`light-plus`,displayName:`Light Plus`,type:`light`,import:(()=>G(()=>import(`./DVQuIRkW.js`),[],import.meta.url))},{id:`material-theme`,displayName:`Material Theme`,type:`dark`,import:(()=>G(()=>import(`./Bm3Qr25_2.js`),[],import.meta.url))},{id:`material-theme-darker`,displayName:`Material Theme Darker`,type:`dark`,import:(()=>G(()=>import(`./2IIEA8gg.js`),[],import.meta.url))},{id:`material-theme-lighter`,displayName:`Material Theme Lighter`,type:`light`,import:(()=>G(()=>import(`./uhdI0v04.js`),[],import.meta.url))},{id:`material-theme-ocean`,displayName:`Material Theme Ocean`,type:`dark`,import:(()=>G(()=>import(`./CHQ94UKr2.js`),[],import.meta.url))},{id:`material-theme-palenight`,displayName:`Material Theme Palenight`,type:`dark`,import:(()=>G(()=>import(`./B5W6OYN72.js`),[],import.meta.url))},{id:`min-dark`,displayName:`Min Dark`,type:`dark`,import:(()=>G(()=>import(`./BSWPekZh2.js`),[],import.meta.url))},{id:`min-light`,displayName:`Min Light`,type:`light`,import:(()=>G(()=>import(`./DDpmG2fV2.js`),[],import.meta.url))},{id:`monokai`,displayName:`Monokai`,type:`dark`,import:(()=>G(()=>import(`./B_bV9PQ92.js`),[],import.meta.url))},{id:`night-owl`,displayName:`Night Owl`,type:`dark`,import:(()=>G(()=>import(`./DhmEMT882.js`),[],import.meta.url))},{id:`night-owl-light`,displayName:`Night Owl Light`,type:`light`,import:(()=>G(()=>import(`./eJ-hLW7d2.js`),[],import.meta.url))},{id:`nord`,displayName:`Nord`,type:`dark`,import:(()=>G(()=>import(`./Cb4Vim4T2.js`),[],import.meta.url))},{id:`one-dark-pro`,displayName:`One Dark Pro`,type:`dark`,import:(()=>G(()=>import(`./CLwyXe_n2.js`),[],import.meta.url))},{id:`one-light`,displayName:`One Light`,type:`light`,import:(()=>G(()=>import(`./D7Lr4KcI2.js`),[],import.meta.url))},{id:`plastic`,displayName:`Plastic`,type:`dark`,import:(()=>G(()=>import(`./DQwYfKfQ2.js`),[],import.meta.url))},{id:`poimandres`,displayName:`Poimandres`,type:`dark`,import:(()=>G(()=>import(`./DRFjx7u42.js`),[],import.meta.url))},{id:`red`,displayName:`Red`,type:`dark`,import:(()=>G(()=>import(`./DX1BQOs82.js`),[],import.meta.url))},{id:`rose-pine`,displayName:`Rosé Pine`,type:`dark`,import:(()=>G(()=>import(`./aMsaMD1D2.js`),[],import.meta.url))},{id:`rose-pine-dawn`,displayName:`Rosé Pine Dawn`,type:`light`,import:(()=>G(()=>import(`./8PwUyIlP2.js`),[],import.meta.url))},{id:`rose-pine-moon`,displayName:`Rosé Pine Moon`,type:`dark`,import:(()=>G(()=>import(`./DO-qXg-I2.js`),[],import.meta.url))},{id:`slack-dark`,displayName:`Slack Dark`,type:`dark`,import:(()=>G(()=>import(`./DnToyrRv2.js`),[],import.meta.url))},{id:`slack-ochin`,displayName:`Slack Ochin`,type:`light`,import:(()=>G(()=>import(`./B2OO5cIa2.js`),[],import.meta.url))},{id:`snazzy-light`,displayName:`Snazzy Light`,type:`light`,import:(()=>G(()=>import(`./4G7pJPwS2.js`),[],import.meta.url))},{id:`solarized-dark`,displayName:`Solarized Dark`,type:`dark`,import:(()=>G(()=>import(`./UdsmMDCL2.js`),[],import.meta.url))},{id:`solarized-light`,displayName:`Solarized Light`,type:`light`,import:(()=>G(()=>import(`./C1IUL_tW2.js`),[],import.meta.url))},{id:`synthwave-84`,displayName:`Synthwave '84`,type:`dark`,import:(()=>G(()=>import(`./nFMaYfgc2.js`),[],import.meta.url))},{id:`tokyo-night`,displayName:`Tokyo Night`,type:`dark`,import:(()=>G(()=>import(`./oM2G3aXe2.js`),[],import.meta.url))},{id:`vesper`,displayName:`Vesper`,type:`dark`,import:(()=>G(()=>import(`./DdrHHSXu2.js`),[],import.meta.url))},{id:`vitesse-black`,displayName:`Vitesse Black`,type:`dark`,import:(()=>G(()=>import(`./fwtXNY1n2.js`),[],import.meta.url))},{id:`vitesse-dark`,displayName:`Vitesse Dark`,type:`dark`,import:(()=>G(()=>import(`./BZCL-v6S.js`),[],import.meta.url))},{id:`vitesse-light`,displayName:`Vitesse Light`,type:`light`,import:(()=>G(()=>import(`./VbXTXTou.js`),[],import.meta.url))}].map(e=>[e.id,e.import])),Qm=i({createOnigurumaEngine:()=>Eh,getDefaultWasmLoader:()=>Th,loadWasm:()=>yh,setDefaultWasmLoader:()=>wh}),$m=class extends Error{constructor(e){super(e),this.name=`ShikiError`}};function eh(){return 2147483648}function th(){return typeof performance<`u`?performance.now():Date.now()}var nh=(e,t)=>e+(t-e%t)%t;async function rh(e){let t,n,r={};function i(e){n=e,r.HEAPU8=new Uint8Array(e),r.HEAPU32=new Uint32Array(e)}function a(e,t,n){r.HEAPU8.copyWithin(e,t,t+n)}function o(e){try{return t.grow(e-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}function s(e){let t=r.HEAPU8.length;e>>>=0;let n=eh();if(e>n)return!1;for(let r=1;r<=4;r*=2){let i=t*(1+.2/r);if(i=Math.min(i,e+100663296),o(Math.min(n,nh(Math.max(e,i),65536))))return!0}return!1}let c=typeof TextDecoder<`u`?new TextDecoder(`utf8`):void 0;function l(e,t,n=1024){let r=t+n,i=t;for(;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&c)return c.decode(e.subarray(t,i));let a=``;for(;t<i;){let n=e[t++];if(!(n&128)){a+=String.fromCharCode(n);continue}let r=e[t++]&63;if((n&224)==192){a+=String.fromCharCode((n&31)<<6|r);continue}let i=e[t++]&63;if(n=(n&240)==224?(n&15)<<12|r<<6|i:(n&7)<<18|r<<12|i<<6|e[t++]&63,n<65536)a+=String.fromCharCode(n);else{let e=n-65536;a+=String.fromCharCode(55296|e>>10,56320|e&1023)}}return a}function u(e,t){return e?l(r.HEAPU8,e,t):``}let d={emscripten_get_now:th,emscripten_memcpy_big:a,emscripten_resize_heap:s,fd_write:()=>0};async function f(){let n=await e({env:d,wasi_snapshot_preview1:d});t=n.memory,i(t.buffer),Object.assign(r,n),r.UTF8ToString=u}return await f(),r}var ih=Object.defineProperty,ah=(e,t,n)=>t in e?ih(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,oh=(e,t,n)=>ah(e,typeof t==`symbol`?t:t+``,n),sh=null;function ch(e){throw new $m(e.UTF8ToString(e.getLastOnigError()))}var lh=class e{constructor(t){oh(this,`utf16Length`),oh(this,`utf8Length`),oh(this,`utf16Value`),oh(this,`utf8Value`),oh(this,`utf16OffsetToUtf8`),oh(this,`utf8OffsetToUtf16`);let n=t.length,r=e._utf8ByteLength(t),i=r!==n,a=i?new Uint32Array(n+1):null;i&&(a[n]=r);let o=i?new Uint32Array(r+1):null;i&&(o[r]=n);let s=new Uint8Array(r),c=0;for(let e=0;e<n;e++){let r=t.charCodeAt(e),l=r,u=!1;if(r>=55296&&r<=56319&&e+1<n){let n=t.charCodeAt(e+1);n>=56320&&n<=57343&&(l=(r-55296<<10)+65536|n-56320,u=!0)}i&&(a[e]=c,u&&(a[e+1]=c),l<=127?o[c+0]=e:l<=2047?(o[c+0]=e,o[c+1]=e):l<=65535?(o[c+0]=e,o[c+1]=e,o[c+2]=e):(o[c+0]=e,o[c+1]=e,o[c+2]=e,o[c+3]=e)),l<=127?s[c++]=l:l<=2047?(s[c++]=192|(l&1984)>>>6,s[c++]=128|(l&63)>>>0):l<=65535?(s[c++]=224|(l&61440)>>>12,s[c++]=128|(l&4032)>>>6,s[c++]=128|(l&63)>>>0):(s[c++]=240|(l&1835008)>>>18,s[c++]=128|(l&258048)>>>12,s[c++]=128|(l&4032)>>>6,s[c++]=128|(l&63)>>>0),u&&e++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=s,this.utf16OffsetToUtf8=a,this.utf8OffsetToUtf16=o}static _utf8ByteLength(e){let t=0;for(let n=0,r=e.length;n<r;n++){let i=e.charCodeAt(n),a=i,o=!1;if(i>=55296&&i<=56319&&n+1<r){let t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(a=(i-55296<<10)+65536|t-56320,o=!0)}t+=a<=127?1:a<=2047?2:a<=65535?3:4,o&&n++}return t}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}},uh=class e{constructor(t){if(oh(this,`id`,++e.LAST_ID),oh(this,`_onigBinding`),oh(this,`content`),oh(this,`utf16Length`),oh(this,`utf8Length`),oh(this,`utf16OffsetToUtf8`),oh(this,`utf8OffsetToUtf16`),oh(this,`ptr`),!sh)throw new $m(`Must invoke loadWasm first.`);this._onigBinding=sh,this.content=t;let n=new lh(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||=sh.omalloc(1e4),e._sharedPtrInUse=!0,sh.HEAPU8.set(n.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=n.createString(sh)}convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===e._sharedPtr?e._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};oh(uh,`LAST_ID`,0),oh(uh,`_sharedPtr`,0),oh(uh,`_sharedPtrInUse`,!1);var dh=uh,fh=class{constructor(e){if(oh(this,`_onigBinding`),oh(this,`_ptr`),!sh)throw new $m(`Must invoke loadWasm first.`);let t=[],n=[];for(let r=0,i=e.length;r<i;r++){let i=new lh(e[r]);t[r]=i.createString(sh),n[r]=i.utf8Length}let r=sh.omalloc(4*e.length);sh.HEAPU32.set(t,r/4);let i=sh.omalloc(4*e.length);sh.HEAPU32.set(n,i/4);let a=sh.createOnigScanner(r,i,e.length);for(let n=0,r=e.length;n<r;n++)sh.ofree(t[n]);sh.ofree(i),sh.ofree(r),a===0&&ch(sh),this._onigBinding=sh,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,n){let r=0;if(typeof n==`number`&&(r=n),typeof e==`string`){e=new dh(e);let n=this._findNextMatchSync(e,t,!1,r);return e.dispose(),n}return this._findNextMatchSync(e,t,!1,r)}_findNextMatchSync(e,t,n,r){let i=this._onigBinding,a=i.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),r);if(a===0)return null;let o=i.HEAPU32,s=a/4,c=o[s++],l=o[s++],u=[];for(let t=0;t<l;t++){let n=e.convertUtf8OffsetToUtf16(o[s++]),r=e.convertUtf8OffsetToUtf16(o[s++]);u[t]={start:n,end:r,length:r-n}}return{index:c,captureIndices:u}}};function ph(e){return typeof e.instantiator==`function`}function mh(e){return typeof e.default==`function`}function hh(e){return e.data!==void 0}function gh(e){return typeof Response<`u`&&e instanceof Response}function _h(e){return typeof ArrayBuffer<`u`&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<`u`&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer||typeof Uint32Array<`u`&&e instanceof Uint32Array}var vh;function yh(e){if(vh)return vh;async function t(){sh=await rh(async t=>{let n=e;return n=await n,typeof n==`function`&&(n=await n(t)),typeof n==`function`&&(n=await n(t)),ph(n)?n=await n.instantiator(t):mh(n)?n=await n.default(t):(hh(n)&&(n=n.data),gh(n)?n=typeof WebAssembly.instantiateStreaming==`function`?await xh(n)(t):await Sh(n)(t):_h(n)||n instanceof WebAssembly.Module?n=await bh(n)(t):`default`in n&&n.default instanceof WebAssembly.Module&&(n=await bh(n.default)(t))),`instance`in n&&(n=n.instance),`exports`in n&&(n=n.exports),n})}return vh=t(),vh}function bh(e){return t=>WebAssembly.instantiate(e,t)}function xh(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Sh(e){return async t=>{let n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}var Ch;function wh(e){Ch=e}function Th(){return Ch}async function Eh(e){return e&&await yh(e),{createScanner(e){return new fh(e.map(e=>typeof e==`string`?e:e.source))},createString(e){return new dh(e)}}}var Dh=Wm({});Km(Dh,Qm);var Oh=class extends Error{constructor(e){super(e),this.name=`ShikiError`}};function kh(e){return Ah(e)}function Ah(e){return Array.isArray(e)?jh(e):e instanceof RegExp?e:typeof e==`object`?Mh(e):e}function jh(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Ah(e[n]);return t}function Mh(e){let t={};for(let n in e)t[n]=Ah(e[n]);return t}function Nh(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}function Ph(e){let t=~e.lastIndexOf(`/`)||~e.lastIndexOf(`\\`);return t===0?e:~t===e.length-1?Ph(e.substring(0,e.length-1)):e.substr(~t+1)}var Fh=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ih=class{static hasCaptures(e){return e!==null&&(Fh.lastIndex=0,Fh.test(e))}static replaceCaptures(e,t,n){return e.replace(Fh,(e,r,i,a)=>{let o=n[parseInt(r||i,10)];if(o){let e=t.substring(o.start,o.end);for(;e[0]===`.`;)e=e.substring(1);switch(a){case`downcase`:return e.toLowerCase();case`upcase`:return e.toUpperCase();default:return e}}else return e})}};function Lh(e,t){return e<t?-1:+(e>t)}function Rh(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let r=0;r<n;r++){let n=Lh(e[r],t[r]);if(n!==0)return n}return 0}return n-r}function zh(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Bh(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,`\\$&`)}var Vh=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}},Hh=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(qh(e),t)}static createFromParsedTheme(e,t){return Xh(e,t)}_cachedMatchRoot=new Vh(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;let t=e.scopeName,n=this._cachedMatchRoot.get(t).find(t=>Wh(e.parent,t.parentScopes));return n?new Kh(n.fontStyle,n.foreground,n.background):null}},Uh=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,n){for(let r of n)t=new e(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new e(n,t[r]);return n}push(t){return new e(this,t)}getSegments(){let e=this,t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(` `)}extends(e){return this===e||this.parent!==null&&this.parent.extends(e)}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}};function Wh(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],i=!1;if(r===`>`){if(n===t.length-1)return!1;r=t[++n],i=!0}for(;e&&!Gh(e.scopeName,r);){if(i)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function Gh(e,t){return t===e||e.startsWith(t)&&e[t.length]===`.`}var Kh=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function qh(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let e=0,i=t.length;e<i;e++){let i=t[e];if(!i.settings)continue;let a;if(typeof i.scope==`string`){let e=i.scope;e=e.replace(/^[,]+/,``),e=e.replace(/[,]+$/,``),a=e.split(`,`)}else a=Array.isArray(i.scope)?i.scope:[``];let o=-1;if(typeof i.settings.fontStyle==`string`){o=0;let e=i.settings.fontStyle.split(` `);for(let t=0,n=e.length;t<n;t++)switch(e[t]){case`italic`:o|=1;break;case`bold`:o|=2;break;case`underline`:o|=4;break;case`strikethrough`:o|=8}}let s=null;typeof i.settings.foreground==`string`&&zh(i.settings.foreground)&&(s=i.settings.foreground);let c=null;typeof i.settings.background==`string`&&zh(i.settings.background)&&(c=i.settings.background);for(let t=0,i=a.length;t<i;t++){let i=a[t].trim().split(` `),l=i[i.length-1],u=null;i.length>1&&(u=i.slice(0,i.length-1),u.reverse()),n[r++]=new Jh(l,u,e,o,s,c)}}return n}var Jh=class{constructor(e,t,n,r,i,a){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=i,this.background=a}},Yh=(e=>(e[e.NotSet=-1]=`NotSet`,e[e.None=0]=`None`,e[e.Italic=1]=`Italic`,e[e.Bold=2]=`Bold`,e[e.Underline=4]=`Underline`,e[e.Strikethrough=8]=`Strikethrough`,e))(Yh||{});function Xh(e,t){e.sort((e,t)=>{let n=Lh(e.scope,t.scope);return n!==0||(n=Rh(e.parentScopes,t.parentScopes),n!==0)?n:e.index-t.index});let n=0,r=`#000000`,i=`#ffffff`;for(;e.length>=1&&e[0].scope===``;){let t=e.shift();t.fontStyle!==-1&&(n=t.fontStyle),t.foreground!==null&&(r=t.foreground),t.background!==null&&(i=t.background)}let a=new Zh(t),o=new Kh(n,a.getId(r),a.getId(i)),s=new eg(new $h(0,null,-1,0,0),[]);for(let t=0,n=e.length;t<n;t++){let n=e[t];s.insert(0,n.scope,n.parentScopes,n.fontStyle,a.getId(n.foreground),a.getId(n.background))}return new Hh(a,o,s)}var Zh=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},Qh=Object.freeze([]),$h=class e{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(e,t,n,r,i){this.scopeDepth=e,this.parentScopes=t||Qh,this.fontStyle=n,this.foreground=r,this.background=i}clone(){return new e(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,r){this.scopeDepth>e?console.log(`how did this happen?`):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),n!==0&&(this.foreground=n),r!==0&&(this.background=r)}},eg=class e{constructor(e,t=[],n={}){this._mainRule=e,this._children=n,this._rulesWithParentScopes=t}_rulesWithParentScopes;static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,r=0;for(;e.parentScopes[n]===`>`&&n++,t.parentScopes[r]===`>`&&r++,!(n>=e.parentScopes.length||r>=t.parentScopes.length);){let i=t.parentScopes[r].length-e.parentScopes[n].length;if(i!==0)return i;n++,r++}return t.parentScopes.length-e.parentScopes.length}match(t){if(t!==``){let e=t.indexOf(`.`),n,r;if(e===-1?(n=t,r=``):(n=t.substring(0,e),r=t.substring(e+1)),this._children.hasOwnProperty(n))return this._children[n].match(r)}let n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(e._cmpBySpecificity),n}insert(t,n,r,i,a,o){if(n===``){this._doInsertHere(t,r,i,a,o);return}let s=n.indexOf(`.`),c,l;s===-1?(c=n,l=``):(c=n.substring(0,s),l=n.substring(s+1));let u;this._children.hasOwnProperty(c)?u=this._children[c]:(u=new e(this._mainRule.clone(),$h.cloneArr(this._rulesWithParentScopes)),this._children[c]=u),u.insert(t+1,l,r,i,a,o)}_doInsertHere(e,t,n,r,i){if(t===null){this._mainRule.acceptOverwrite(e,n,r,i);return}for(let a=0,o=this._rulesWithParentScopes.length;a<o;a++){let o=this._rulesWithParentScopes[a];if(Rh(o.parentScopes,t)===0){o.acceptOverwrite(e,n,r,i);return}}n===-1&&(n=this._mainRule.fontStyle),r===0&&(r=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new $h(e,t,n,r,i))}},tg=class e{static toBinaryStr(e){return e.toString(2).padStart(32,`0`)}static print(t){let n=e.getLanguageId(t),r=e.getTokenType(t),i=e.getFontStyle(t),a=e.getForeground(t),o=e.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:a,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return!!(e&1024)}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(t,n,r,i,a,o,s){let c=e.getLanguageId(t),l=e.getTokenType(t),u=+!!e.containsBalancedBrackets(t),d=e.getFontStyle(t),f=e.getForeground(t),p=e.getBackground(t);return n!==0&&(c=n),r!==8&&(l=rg(r)),i!==null&&(u=+!!i),a!==-1&&(d=a),o!==0&&(f=o),s!==0&&(p=s),(c<<0|l<<8|u<<10|d<<11|f<<15|p<<24)>>>0}};function ng(e){return e}function rg(e){return e}function ig(e,t){let n=[],r=og(e),i=r.next();for(;i!==null;){let e=0;if(i.length===2&&i.charAt(1)===`:`){switch(i.charAt(0)){case`R`:e=1;break;case`L`:e=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let t=o();if(n.push({matcher:t,priority:e}),i!==`,`)break;i=r.next()}return n;function a(){if(i===`-`){i=r.next();let e=a();return t=>!!e&&!e(t)}if(i===`(`){i=r.next();let e=s();return i===`)`&&(i=r.next()),e}if(ag(i)){let e=[];do e.push(i),i=r.next();while(ag(i));return n=>t(e,n)}return null}function o(){let e=[],t=a();for(;t;)e.push(t),t=a();return t=>e.every(e=>e(t))}function s(){let e=[],t=o();for(;t&&(e.push(t),i===`|`||i===`,`);){do i=r.next();while(i===`|`||i===`,`);t=o()}return t=>e.some(e=>e(t))}}function ag(e){return!!e&&!!e.match(/[\w\.:]+/)}function og(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;let r=n[0];return n=t.exec(e),r}}}function sg(e){typeof e.dispose==`function`&&e.dispose()}var cg=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},lg=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},ug=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},dg=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new cg(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){let e=this.Q;this.Q=[];let t=new ug;for(let n of e)fg(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof cg){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function fg(e,t,n,r){let i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=n.lookup(t);e instanceof cg?mg({baseGrammar:a,selfGrammar:i},r):pg(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},r);let o=n.injections(e.scopeName);if(o)for(let e of o)r.add(new cg(e))}function pg(e,t,n){if(t.repository&&t.repository[e]){let r=t.repository[e];hg([r],t,n)}}function mg(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&hg(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&hg(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function hg(e,t,n){for(let r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);let e=r.repository?Nh({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&hg(r.patterns,{...t,repository:e},n);let i=r.include;if(!i)continue;let a=xg(i);switch(a.kind){case 0:mg({...t,selfGrammar:t.baseGrammar},n);break;case 1:mg(t,n);break;case 2:pg(a.ruleName,{...t,repository:e},n);break;case 3:case 4:let r=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(r){let i={baseGrammar:t.baseGrammar,selfGrammar:r,repository:e};a.kind===4?pg(a.ruleName,i,n):mg(i,n)}else a.kind===4?n.add(new lg(a.scopeName,a.ruleName)):n.add(new cg(a.scopeName))}}}var gg=class{kind=0},_g=class{kind=1},vg=class{constructor(e){this.ruleName=e}kind=2},yg=class{constructor(e){this.scopeName=e}kind=3},bg=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function xg(e){if(e===`$base`)return new gg;if(e===`$self`)return new _g;let t=e.indexOf(`#`);return t===-1?new yg(e):t===0?new vg(e.substring(1)):new bg(e.substring(0,t),e.substring(t+1))}var Sg=/\\(\d+)/,Cg=/\\(\d+)/g,wg=-1,Tg=-2;function Eg(e){return e}function Dg(e){return e}var Og=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Ih.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Ih.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${Ph(this.$location.filename)}:${this.$location.line}`:`unknown`;return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Ih.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ih.replaceCaptures(this._contentName,e,t)}},kg=class extends Og{retokenizeCapturedWithRuleId;constructor(e,t,n,r,i){super(e,t,n,r),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(e,t){throw Error(`Not supported!`)}compile(e,t){throw Error(`Not supported!`)}compileAG(e,t,n,r){throw Error(`Not supported!`)}},Ag=class extends Og{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,null),this._match=new Fg(r,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Ig,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},jg=class extends Og{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,r),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null)}collectPatterns(e,t){for(let n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Ig,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Mg=class extends Og{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i,a,o,s,c,l){super(e,t,n,r),this._begin=new Fg(i,this.id),this.beginCaptures=a,this._end=new Fg(o||``,-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=s,this.applyEndPatternLast=c||!1,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Ig;for(let t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Ng=class extends Og{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,i,a,o,s,c){super(e,t,n,r),this._begin=new Fg(i,this.id),this.beginCaptures=a,this.whileCaptures=s,this._while=new Fg(o,Tg),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&=(this._cachedCompiledPatterns.dispose(),null),this._cachedCompiledWhilePatterns&&=(this._cachedCompiledWhilePatterns.dispose(),null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Ig;for(let t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Ig,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||``),this._cachedCompiledWhilePatterns}},Pg=class e{static createCaptureRule(e,t,n,r,i){return e.registerRule(e=>new kg(t,e,n,r,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new Ag(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,r));if(t.begin===void 0){t.repository&&(r=Nh({},r,t.repository));let i=t.patterns;return i===void 0&&t.include&&(i=[{include:t.include}]),new jg(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,n,r))}return t.while?new Ng(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,e._compileCaptures(t.whileCaptures||t.captures,n,r),e._compilePatterns(t.patterns,n,r)):new Mg(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,e._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,e._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let a=0;for(let e in t){if(e===`$vscodeTextmateLocation`)continue;let t=parseInt(e,10);t>a&&(a=t)}for(let e=0;e<=a;e++)i[e]=null;for(let a in t){if(a===`$vscodeTextmateLocation`)continue;let o=parseInt(a,10),s=0;t[a].patterns&&(s=e.getCompiledRuleId(t[a],n,r)),i[o]=e.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,s)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let a=0,o=t.length;a<o;a++){let o=t[a],s=-1;if(o.include){let t=xg(o.include);switch(t.kind){case 0:case 1:s=e.getCompiledRuleId(r[o.include],n,r);break;case 2:let i=r[t.ruleName];i&&(s=e.getCompiledRuleId(i,n,r));break;case 3:case 4:let a=t.scopeName,c=t.kind===4?t.ruleName:null,l=n.getExternalGrammar(a,r);if(l){if(c){let t=l.repository[c];t&&(s=e.getCompiledRuleId(t,n,l.repository))}else s=e.getCompiledRuleId(l.repository.$self,n,l.repository)}}}else s=e.getCompiledRuleId(o,n,r);if(s!==-1){let e=n.getRule(s),t=!1;if((e instanceof jg||e instanceof Mg||e instanceof Ng)&&e.hasMissingPatterns&&e.patterns.length===0&&(t=!0),t)continue;i.push(s)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},Fg=class e{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(e,t){if(e&&typeof e==`string`){let t=e.length,n=0,r=[],i=!1;for(let a=0;a<t;a++)if(e.charAt(a)===`\\`&&a+1<t){let t=e.charAt(a+1);t===`z`?(r.push(e.substring(n,a)),r.push(`$(?!\\n)(?<!\\n)`),n=a+2):(t===`A`||t===`G`)&&(i=!0),a++}this.hasAnchor=i,n===0?this.source=e:(r.push(e.substring(n,t)),this.source=r.join(``))}else this.hasAnchor=!1,this.source=e;this._anchorCache=this.hasAnchor?this._buildAnchorCache():null,this.ruleId=t,this.hasBackReferences=typeof this.source==`string`&&Sg.test(this.source)}clone(){return new e(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if(typeof this.source!=`string`)throw Error(`This method should only be called if the source is a string`);let n=t.map(t=>e.substring(t.start,t.end));return Cg.lastIndex=0,this.source.replace(Cg,(e,t)=>Bh(n[parseInt(t,10)]||``))}_buildAnchorCache(){if(typeof this.source!=`string`)throw Error(`This method should only be called if the source is a string`);let e=[],t=[],n=[],r=[],i,a,o,s;for(i=0,a=this.source.length;i<a;i++)o=this.source.charAt(i),e[i]=o,t[i]=o,n[i]=o,r[i]=o,o===`\\`&&i+1<a&&(s=this.source.charAt(i+1),s===`A`?(e[i+1]=``,t[i+1]=``,n[i+1]=`A`,r[i+1]=`A`):s===`G`?(e[i+1]=``,t[i+1]=`G`,n[i+1]=``,r[i+1]=`G`):(e[i+1]=s,t[i+1]=s,n[i+1]=s,r[i+1]=s),i++);return{A0_G0:e.join(``),A0_G1:t.join(``),A1_G0:n.join(``),A1_G1:r.join(``)}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache||typeof this.source!=`string`?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Ig=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&=(this._cached.dispose(),null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(e=>e.source);this._cached=new Lg(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){return new Lg(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},Lg=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose==`function`&&this.scanner.dispose()}toString(){let e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(` - `+this.rules[t]+`: `+this.regExps[t]);return e.join(`
|
|
19
|
+
`)}findNextMatchSync(e,t,n){let r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Rg=class{constructor(e,t){this.languageId=e,this.tokenType=t}},zg=class e{_defaultAttributes;_embeddedLanguagesMatcher;constructor(e,t){this._defaultAttributes=new Rg(e,8),this._embeddedLanguagesMatcher=new Bg(Object.entries(t||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?e._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Rg(0,0);_getBasicScopeAttributes=new Vh(e=>new Rg(this._scopeToLanguage(e),this._toStandardTokenType(e)));_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(t){let n=t.match(e.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case`comment`:return 1;case`string`:return 2;case`regex`:return 3;case`meta.embedded`:return 0}throw Error(`Unexpected match for standard token type!`)}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},Bg=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);let t=e.map(([e,t])=>Bh(e));t.sort(),t.reverse(),this.scopesRegExp=RegExp(`^((${t.join(`)|(`)}))($|\\.)`,``)}}match(e){if(!this.scopesRegExp)return;let t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};typeof process<`u`&&{}.VSCODE_TEXTMATE_DEBUG;var Vg=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function Hg(e,t,n,r,i,a,o,s){let c=t.content.length,l=!1,u=-1;if(o){let o=Ug(e,t,n,r,i,a);i=o.stack,r=o.linePos,n=o.isFirstLine,u=o.anchorPosition}let d=Date.now();for(;!l;){if(s!==0&&Date.now()-d>s)return new Vg(i,!0);f()}return new Vg(i,!1);function f(){let o=Wg(e,t,n,r,i,u);if(!o){a.produce(i,c),l=!0;return}let s=o.captureIndices,d=o.matchedRuleId,f=s&&s.length>0?s[0].end>r:!1;if(d===wg){let o=i.getRule(e);a.produce(i,s[0].start),i=i.withContentNameScopesList(i.nameScopesList),Yg(e,t,n,i,a,o.endCaptures,s),a.produce(i,s[0].end);let d=i;if(i=i.parent,u=d.getAnchorPos(),!f&&d.getEnterPos()===r){i=d,a.produce(i,c),l=!0;return}}else{let o=e.getRule(d);a.produce(i,s[0].start);let p=i,m=o.getName(t.content,s),h=i.contentNameScopesList.pushAttributed(m,e);if(i=i.push(d,r,u,s[0].end===c,null,h,h),o instanceof Mg){let r=o;Yg(e,t,n,i,a,r.beginCaptures,s),a.produce(i,s[0].end),u=s[0].end;let d=r.getContentName(t.content,s),m=h.pushAttributed(d,e);if(i=i.withContentNameScopesList(m),r.endHasBackReferences&&(i=i.withEndRule(r.getEndWithResolvedBackReferences(t.content,s))),!f&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,c),l=!0;return}}else if(o instanceof Ng){let r=o;Yg(e,t,n,i,a,r.beginCaptures,s),a.produce(i,s[0].end),u=s[0].end;let d=r.getContentName(t.content,s),m=h.pushAttributed(d,e);if(i=i.withContentNameScopesList(m),r.whileHasBackReferences&&(i=i.withEndRule(r.getWhileWithResolvedBackReferences(t.content,s))),!f&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,c),l=!0;return}}else if(Yg(e,t,n,i,a,o.captures,s),a.produce(i,s[0].end),i=i.pop(),!f){i=i.safePop(),a.produce(i,c),l=!0;return}}s[0].end>r&&(r=s[0].end,n=!1)}}function Ug(e,t,n,r,i,a){let o=i.beginRuleCapturedEOL?0:-1,s=[];for(let t=i;t;t=t.pop()){let n=t.getRule(e);n instanceof Ng&&s.push({rule:n,stack:t})}for(let c=s.pop();c;c=s.pop()){let{ruleScanner:s,findOptions:l}=Jg(c.rule,e,c.stack.endRule,n,r===o),u=s.findNextMatchSync(t,r,l);if(u){if(u.ruleId!==Tg){i=c.stack.pop();break}u.captureIndices&&u.captureIndices.length&&(a.produce(c.stack,u.captureIndices[0].start),Yg(e,t,n,c.stack,a,c.rule.whileCaptures,u.captureIndices),a.produce(c.stack,u.captureIndices[0].end),o=u.captureIndices[0].end,u.captureIndices[0].end>r&&(r=u.captureIndices[0].end,n=!1))}else{i=c.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:n}}function Wg(e,t,n,r,i,a){let o=Gg(e,t,n,r,i,a),s=e.getInjections();if(s.length===0)return o;let c=Kg(s,e,t,n,r,i,a);if(!c)return o;if(!o)return c;let l=o.captureIndices[0].start,u=c.captureIndices[0].start;return u<l||c.priorityMatch&&u===l?c:o}function Gg(e,t,n,r,i,a){let{ruleScanner:o,findOptions:s}=qg(i.getRule(e),e,i.endRule,n,r===a),c=o.findNextMatchSync(t,r,s);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Kg(e,t,n,r,i,a,o){let s=Number.MAX_VALUE,c=null,l,u=0,d=a.contentNameScopesList.getScopeNames();for(let a=0,f=e.length;a<f;a++){let f=e[a];if(!f.matcher(d))continue;let{ruleScanner:p,findOptions:m}=qg(t.getRule(f.ruleId),t,null,r,i===o),h=p.findNextMatchSync(n,i,m);if(!h)continue;let g=h.captureIndices[0].start;if(!(g>=s)&&(s=g,c=h.captureIndices,l=h.ruleId,u=f.priority,s===i))break}return c?{priorityMatch:u===-1,captureIndices:c,matchedRuleId:l}:null}function qg(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}function Jg(e,t,n,r,i){return{ruleScanner:e.compileWhileAG(t,n,r,i),findOptions:0}}function Yg(e,t,n,r,i,a,o){if(a.length===0)return;let s=t.content,c=Math.min(a.length,o.length),l=[],u=o[0].end;for(let t=0;t<c;t++){let c=a[t];if(c===null)continue;let d=o[t];if(d.length===0)continue;if(d.start>u)break;for(;l.length>0&&l[l.length-1].endPos<=d.start;)i.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop();if(l.length>0?i.produceFromScopes(l[l.length-1].scopes,d.start):i.produce(r,d.start),c.retokenizeCapturedWithRuleId){let t=c.getName(s,o),a=r.contentNameScopesList.pushAttributed(t,e),l=c.getContentName(s,o),u=a.pushAttributed(l,e),f=r.push(c.retokenizeCapturedWithRuleId,d.start,-1,!1,null,a,u),p=e.createOnigString(s.substring(0,d.end));Hg(e,p,n&&d.start===0,d.start,f,i,!1,0),sg(p);continue}let f=c.getName(s,o);if(f!==null){let t=(l.length>0?l[l.length-1].scopes:r.contentNameScopesList).pushAttributed(f,e);l.push(new Xg(t,d.end))}}for(;l.length>0;)i.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop()}var Xg=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function Zg(e,t,n,r,i,a,o,s){return new t_(e,t,n,r,i,a,o,s)}function Qg(e,t,n,r,i){let a=ig(t,$g),o=Pg.getCompiledRuleId(n,r,i.repository);for(let n of a)e.push({debugSelector:t,matcher:n.matcher,ruleId:o,grammar:i,priority:n.priority})}function $g(e,t){if(t.length<e.length)return!1;let n=0;return e.every(e=>{for(let r=n;r<t.length;r++)if(e_(t[r],e))return n=r+1,!0;return!1})}function e_(e,t){if(!e)return!1;if(e===t)return!0;let n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]===`.`}var t_=class{constructor(e,t,n,r,i,a,o,s){if(this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=s,this._basicScopeAttributesProvider=new zg(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=n_(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(let e of Object.keys(i)){let t=ig(e,$g);for(let n of t)this._tokenTypeMatchers.push({matcher:n.matcher,type:i[e]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(let e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){let e={lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){let e=r.injections;if(e)for(let n in e)Qg(t,n,e[n],this,r);let i=this._grammarRepository.injections(n);i&&i.forEach(e=>{let n=this.getExternalGrammar(e);if(n){let e=n.injectionSelector;e&&Qg(t,e,n,this,n)}})}return t.sort((e,t)=>e.priority-t.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){let t=++this._lastRuleId,n=e(Eg(t));return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[Dg(e)]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){let n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=n_(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){let r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){let r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=Pg.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!t||t===i_.NULL){i=!0;let e=this._basicScopeAttributesProvider.getDefaultAttributes(),n=this.themeProvider.getDefaults(),r=tg.set(0,e.languageId,e.tokenType,null,n.fontStyle,n.foregroundId,n.backgroundId),a=this.getRule(this._rootId).getName(null,null),o;o=a?r_.createRootAndLookUpScopeName(a,r,this):r_.createRoot(`unknown`,r),t=new i_(null,this._rootId,-1,-1,!1,null,o,o)}else i=!1,t.reset();e+=`
|
|
20
|
+
`;let a=this.createOnigString(e),o=a.content.length,s=new o_(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Hg(this,a,i,0,t,s,!0,r);return sg(a),{lineLength:o,lineTokens:s,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}};function n_(e,t){return e=kh(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var r_=class e{constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(t,n){let r=t,i=t?.scopePath??null;for(let t of n)i=Uh.push(i,t.scopeNames),r=new e(r,i,t.encodedTokenAttributes);return r}static createRoot(t,n){return new e(null,new Uh(null,t),n)}static createRootAndLookUpScopeName(t,n,r){let i=r.getMetadataForScope(t),a=new Uh(null,t),o=r.themeProvider.themeMatch(a),s=e.mergeAttributes(n,i,o);return new e(null,a,s)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(` `)}equals(t){return e.equals(this,t)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,n){let r=-1,i=0,a=0;return n!==null&&(r=n.fontStyle,i=n.foregroundId,a=n.backgroundId),tg.set(e,t.languageId,t.tokenType,null,r,i,a)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(` `)===-1)return e._pushAttributed(this,t,n);let r=t.split(/ /g),i=this;for(let t of r)i=e._pushAttributed(i,t,n);return i}static _pushAttributed(t,n,r){let i=r.getMetadataForScope(n),a=t.scopePath.push(n),o=r.themeProvider.themeMatch(a),s=e.mergeAttributes(t.tokenAttributes,i,o);return new e(t,a,s)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(n.parent?.scopePath??null)}),n=n.parent;return n===e?t.reverse():void 0}},i_=class e{constructor(e,t,n,r,i,a,o,s){this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=i,this.endRule=a,this.nameScopesList=o,this.contentNameScopesList=s,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=r}_stackElementBrand=void 0;static NULL=new e(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t!==null&&e._equals(this,t)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?r_.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){e._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,i,a,o,s){return new e(this,t,n,r,i,a,o,s)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){let e=[];return this._writeString(e,0),`[`+e.join(`,`)+`]`}_writeString(e,t){return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(t){return this.endRule===t?this:new e(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){return{ruleId:Dg(this.ruleId),beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){let r=r_.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new e(t,Eg(n.ruleId),n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,r_.fromExtension(r,n.contentNameScopesList))}},a_=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(e=>e===`*`?(this.allowAny=!0,[]):ig(e,$g).map(e=>e.matcher)),this.unbalancedBracketScopes=t.flatMap(e=>ig(e,$g).map(e=>e.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(let t of this.unbalancedBracketScopes)if(t(e))return!1;for(let t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},o_=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let n=e?.tokenAttributes??0,r=!1;if(this.balancedBracketSelectors?.matchesAlways&&(r=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){let t=e?.getScopeNames()??[];for(let e of this._tokenTypeOverrides)e.matcher(t)&&(n=tg.set(n,0,ng(e.type),null,-1,0,0));this.balancedBracketSelectors&&(r=this.balancedBracketSelectors.match(t))}if(r&&(n=tg.set(n,0,8,r,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}let n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);let n=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)n[e]=this._binaryTokens[e];return n}},s_=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(let e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,Zg(e,a,t,n,r,i,this,this._onigLib))}return this._grammars.get(e)}},c_=class{_options;_syncRegistry;_ensureGrammarCache;constructor(e){this._options=e,this._syncRegistry=new s_(Hh.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(Hh.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,n){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,t,n){return this._loadGrammar(e,t,n.embeddedLanguages,n.tokenTypes,new a_(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,r,i){let a=new dg(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,n,r,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){let t=this._options.loadGrammar(e);if(t){let n=typeof this._options.getInjections==`function`?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}addGrammar(e,t=[],n=0,r=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,n,r)}_grammarForScopeName(e,t=0,n=null,r=null,i=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,i)}},l_=i_.NULL;function u_(e,t){let n=typeof e==`string`?{}:{...e.colorReplacements},r=typeof e==`string`?e:e.name;for(let[e,i]of Object.entries(t?.colorReplacements||{}))typeof i==`string`?n[e]=i:e===r&&Object.assign(n,i);return n}function d_(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function f_(e){return Array.isArray(e)?e:[e]}async function p_(e){return Promise.resolve(typeof e==`function`?e():e).then(e=>e.default||e)}function m_(e){return!e||[`plaintext`,`txt`,`text`,`plain`].includes(e)}function h_(e){return e===`ansi`||m_(e)}function g_(e){return e===`none`}function __(e){return g_(e)}var v_=/(\r?\n)/g;function y_(e,t=!1){if(e.length===0)return[[``,0]];let n=e.split(v_),r=0,i=[];for(let e=0;e<n.length;e+=2){let a=t?n[e]+(n[e+1]||``):n[e];i.push([a,r]),r+=n[e].length,r+=n[e+1]?.length||0}return i}var b_={light:`#333333`,dark:`#bbbbbb`},x_={light:`#fffffe`,dark:`#1e1e1e`},S_=`__shiki_resolved`;function C_(e){if(e?.[S_])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||=`dark`,t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e?.settings?.foreground&&(r=e.settings.foreground),e?.settings?.background&&(n=e.settings.background),!r&&t?.colors?.[`editor.foreground`]&&(r=t.colors[`editor.foreground`]),!n&&t?.colors?.[`editor.background`]&&(n=t.colors[`editor.background`]),r||=t.type===`light`?b_.light:b_.dark,n||=t.type===`light`?x_.light:x_.dark,t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0,a=new Map;function o(e){if(a.has(e))return a.get(e);i+=1;let n=`#${i.toString(16).padStart(8,`0`).toLowerCase()}`;return t.colorReplacements?.[`#${n}`]?o(e):(a.set(e,n),n)}t.settings=t.settings.map(e=>{let n=e.settings?.foreground&&!e.settings.foreground.startsWith(`#`),r=e.settings?.background&&!e.settings.background.startsWith(`#`);if(!n&&!r)return e;let i={...e,settings:{...e.settings}};if(n){let n=o(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,i.settings.foreground=n}if(r){let n=o(e.settings.background);t.colorReplacements[n]=e.settings.background,i.settings.background=n}return i});for(let e of Object.keys(t.colors||{}))if((e===`editor.foreground`||e===`editor.background`||e.startsWith(`terminal.ansi`))&&!t.colors[e]?.startsWith(`#`)){let n=o(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}return Object.defineProperty(t,S_,{enumerable:!1,writable:!1,value:!0}),t}async function w_(e){return[...new Set((await Promise.all(e.filter(e=>!h_(e)).map(async e=>await p_(e).then(e=>Array.isArray(e)?e:[e])))).flat())]}async function T_(e){return(await Promise.all(e.map(async e=>__(e)?null:C_(await p_(e))))).filter(e=>!!e)}function E_(e,t){if(!t)return e;if(t[e]){let n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new Oh(`Circular alias \`${[...n].join(` -> `)} -> ${e}\``);n.add(e)}}return e}var D_=class extends c_{_resolver;_themes;_langs;_alias;_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}getTheme(e){return typeof e==`string`?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=C_(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||=[...this._resolvedThemes.keys()],this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=Hh.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=E_(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>t.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||[`*`],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t)this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(e.scopeName),this._syncRegistry?._grammars?.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=[...this._langGraph.entries()],n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>t?(t.embeddedLanguages||t.embeddedLangs)?.some(e=>n.map(([e])=>e).includes(e)):!1).filter(e=>!n.includes(e));throw new Oh(`Missing languages ${n.map(([e])=>`\`${e}\``).join(`, `)}, required by ${e.map(([e])=>`\`${e}\``).join(`, `)}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])],this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);let t=e.embeddedLanguages??e.embeddedLangs;if(t)for(let e of t)this._langGraph.set(e,this._langMap.get(e))}},O_=class{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},t.forEach(e=>this.addLanguage(e))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split(`.`),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(`.`);n=[...n,...this._injections.get(r)||[]]}return n}},k_=0;function A_(e){k_+=1,e.warnings!==!1&&k_>=10&&k_%10==0&&console.warn(`[Shiki] ${k_} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new Oh("`engine` option is required for synchronous mode");let n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(C_),i=new D_(new O_(e.engine,n),r,n,e.langAlias),a;function o(t){return E_(t,e.langAlias)}function s(e){g();let t=i.getGrammar(typeof e==`string`?e:e.name);if(!t)throw new Oh(`Language \`${e}\` not found, you may need to load it first`);return t}function c(e){if(e===`none`)return{bg:``,fg:``,name:`none`,settings:[],type:`dark`};g();let t=i.getTheme(e);if(!t)throw new Oh(`Theme \`${e}\` not found, you may need to load it first`);return t}function l(e){g();let t=c(e);return a!==e&&(i.setTheme(t),a=e),{theme:t,colorMap:i.getColorMap()}}function u(){return g(),i.getLoadedThemes()}function d(){return g(),i.getLoadedLanguages()}function f(...e){g(),i.loadLanguages(e.flat(1))}async function p(...e){return f(await w_(e))}function m(...e){g();for(let t of e.flat(1))i.loadTheme(t)}async function h(...e){return g(),m(await T_(e))}function g(){if(t)throw new Oh(`Shiki instance has been disposed`)}function _(){t||(t=!0,i.dispose(),--k_)}return{setTheme:l,getTheme:c,getLanguage:s,getLoadedThemes:u,getLoadedLanguages:d,resolveLangAlias:o,loadLanguage:p,loadLanguageSync:f,loadTheme:h,loadThemeSync:m,dispose:_,[Symbol.dispose]:_}}async function j_(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,n,r]=await Promise.all([T_(e.themes||[]),w_(e.langs||[]),e.engine]);return A_({...e,themes:t,langs:n,engine:r})}var M_=new WeakMap;function N_(e,t){M_.set(e,t)}function P_(e){return M_.get(e)}var F_=class e{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new e(Object.fromEntries(f_(n).map(e=>[e,l_])),t)}constructor(...e){if(e.length===2){let[t,n]=e;this.lang=n,this._stacks=t}else{let[t,n,r]=e;this.lang=n,this._stacks={[r]:t}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return I_(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function I_(e){let t=[],n=new Set;function r(e){if(n.has(e))return;n.add(e);let i=e?.nameScopesList?.scopeName;i&&t.push(i),e.parent&&r(e.parent)}return r(e),t}function L_(e,t){if(!(e instanceof F_))throw new Oh(`Invalid grammar state`);return e.getInternalStack(t)}var R_=/,/,z_=/ /;function B_(e,t,n={}){let{theme:r=e.getLoadedThemes()[0]}=n;if(m_(e.resolveLangAlias(n.lang||`text`))||g_(r))return y_(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:i,colorMap:a}=e.setTheme(r),o=e.getLanguage(n.lang||`text`);if(n.grammarState){if(n.grammarState.lang!==o.name)throw new Oh(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(i.name))throw new Oh(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return H_(t,o,i,a,n)}function V_(...e){if(e.length===2)return P_(e[1]);let[t,n,r={}]=e,{lang:i=`text`,theme:a=t.getLoadedThemes()[0]}=r;if(m_(i)||g_(a))throw new Oh(`Plain language does not have grammar state`);if(i===`ansi`)throw new Oh(`ANSI language does not have grammar state`);let{theme:o,colorMap:s}=t.setTheme(a),c=t.getLanguage(i);return new F_(U_(n,c,o,s,r).stateStack,c.name,o.name)}function H_(e,t,n,r,i){let a=U_(e,t,n,r,i),o=new F_(a.stateStack,t.name,n.name);return N_(a.tokens,o),a.tokens}function U_(e,t,n,r,i){let a=u_(n,i),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:s=500,includeExplanation:c=!1}=i,l=y_(e),u=i.grammarState?L_(i.grammarState,n.name)??l_:i.grammarContextCode==null?l_:U_(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack,d=[],f=[];for(let e=0,i=l.length;e<i;e++){let[i,p]=l[e];if(i===``){d=[],f.push([]);continue}if(o>0&&i.length>=o){d=[],f.push([{content:i,offset:p,color:``,fontStyle:0}]);continue}let m,h,g;c&&c!==`tokenType`&&(m=t.tokenizeLine(i,u,s),h=m.tokens,g=0);let _=t.tokenizeLine2(i,u,s),v=_.tokens.length/2;for(let e=0;e<v;e++){let t=_.tokens[2*e],o=e+1<v?_.tokens[2*e+2]:i.length;if(t===o)continue;let s=_.tokens[2*e+1],l=d_(r[tg.getForeground(s)],a),u=tg.getFontStyle(s),f={content:i.substring(t,o),offset:p+t,color:l,fontStyle:u};if(c===`tokenType`)f.type=tg.getTokenType(s);else if(c){let e=[];if(c!==`scopeName`)for(let t of n.settings){let n;switch(typeof t.scope){case`string`:n=t.scope.split(R_).map(e=>e.trim());break;case`object`:n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(z_))})}f.explanation=[];let r=0;for(;t+r<o;){let t=h[g],n=i.substring(t.startIndex,t.endIndex);r+=n.length,f.explanation.push({content:n,scopes:c===`scopeName`?W_(t.scopes):G_(e,t.scopes)}),g+=1}}d.push(f)}f.push(d),d=[],u=_.ruleStack}return{tokens:f,stateStack:u}}function W_(e){return e.map(e=>({scopeName:e}))}function G_(e,t){let n=[];for(let r=0,i=t.length;r<i;r++){let i=t[r];n[r]={scopeName:i,themeMatches:J_(e,i,t.slice(0,r))}}return n}function K_(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]===`.`}function q_(e,t,n){if(!K_(e.at(-1),t))return!1;let r=e.length-2,i=n.length-1;for(;r>=0&&i>=0;)K_(e[r],n[i])&&--r,--i;return r===-1}function J_(e,t,n){let r=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(q_(e,t,n)){r.push(a);break}return r}function Y_(e,t,n,r=B_){let i=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),a=i.map(i=>{let a=r(e,t,{...n,theme:i.theme});return{tokens:a,state:P_(a),theme:typeof i.theme==`string`?i.theme:i.theme.name}}),o=X_(...a.map(e=>e.tokens)),s=o[0].map((e,t)=>e.map((e,r)=>{let a={content:e.content,variants:{},offset:e.offset};return`includeExplanation`in n&&n.includeExplanation&&(a.explanation=e.explanation),o.forEach((e,n)=>{let{content:o,explanation:s,offset:c,...l}=e[t][r];a.variants[i[n].color]=l}),a})),c=a[0].state?new F_(Object.fromEntries(a.map(e=>[e.theme,e.state?.getInternalStack(e.theme)])),a[0].state.lang):void 0;return c&&N_(s,c),s}function X_(...e){let t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){let i=e.map(e=>e[r]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let o=i.map(()=>0),s=i.map(e=>e[0]);for(;s.every(e=>e);){let e=Math.min(...s.map(e=>e.content.length));for(let t=0;t<n;t++){let n=s[t];n.content.length===e?(a[t].push(n),o[t]+=1,s[t]=i[t][o[t]]):(a[t].push({...n,content:n.content.slice(0,e)}),s[t]={...n,content:n.content.slice(e),offset:n.offset+e})}}}return t}var Z_=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`],Q_=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};Q_.prototype.normal={},Q_.prototype.property={},Q_.prototype.space=void 0;function $_(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new Q_(n,r,t)}function ev(e){return e.toLowerCase()}var tv=class{constructor(e,t){this.attribute=t,this.property=e}};tv.prototype.attribute=``,tv.prototype.booleanish=!1,tv.prototype.boolean=!1,tv.prototype.commaOrSpaceSeparated=!1,tv.prototype.commaSeparated=!1,tv.prototype.defined=!1,tv.prototype.mustUseProperty=!1,tv.prototype.number=!1,tv.prototype.overloadedBoolean=!1,tv.prototype.property=``,tv.prototype.spaceSeparated=!1,tv.prototype.space=void 0;var nv=i({boolean:()=>Q,booleanish:()=>iv,commaOrSpaceSeparated:()=>cv,commaSeparated:()=>sv,number:()=>$,overloadedBoolean:()=>av,spaceSeparated:()=>ov}),rv=0,Q=lv(),iv=lv(),av=lv(),$=lv(),ov=lv(),sv=lv(),cv=lv();function lv(){return 2**++rv}var uv=Object.keys(nv),dv=class extends tv{constructor(e,t,n,r){let i=-1;if(super(e,t),fv(this,`space`,r),typeof n==`number`)for(;++i<uv.length;){let e=uv[i];fv(this,uv[i],(n&nv[e])===nv[e])}}};dv.prototype.defined=!0;function fv(e,t,n){n&&(e[t]=n)}function pv(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new dv(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[ev(r)]=r,n[ev(a.attribute)]=r}return new Q_(t,n,e.space)}var mv=pv({properties:{ariaActiveDescendant:null,ariaAtomic:iv,ariaAutoComplete:null,ariaBusy:iv,ariaChecked:iv,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:ov,ariaCurrent:null,ariaDescribedBy:ov,ariaDetails:null,ariaDisabled:iv,ariaDropEffect:ov,ariaErrorMessage:null,ariaExpanded:iv,ariaFlowTo:ov,ariaGrabbed:iv,ariaHasPopup:null,ariaHidden:iv,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ov,ariaLevel:$,ariaLive:null,ariaModal:iv,ariaMultiLine:iv,ariaMultiSelectable:iv,ariaOrientation:null,ariaOwns:ov,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:iv,ariaReadOnly:iv,ariaRelevant:null,ariaRequired:iv,ariaRoleDescription:ov,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:iv,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function hv(e,t){return t in e?e[t]:t}function gv(e,t){return hv(e,t.toLowerCase())}var _v=pv({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:sv,acceptCharset:ov,accessKey:ov,action:null,allow:null,allowFullScreen:Q,allowPaymentRequest:Q,allowUserMedia:Q,alt:null,as:null,async:Q,autoCapitalize:null,autoComplete:ov,autoFocus:Q,autoPlay:Q,blocking:ov,capture:null,charSet:null,checked:Q,cite:null,className:ov,cols:$,colSpan:null,content:null,contentEditable:iv,controls:Q,controlsList:ov,coords:$|sv,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Q,defer:Q,dir:null,dirName:null,disabled:Q,download:av,draggable:iv,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Q,formTarget:null,headers:ov,height:$,hidden:av,high:$,href:null,hrefLang:null,htmlFor:ov,httpEquiv:ov,id:null,imageSizes:null,imageSrcSet:null,inert:Q,inputMode:null,integrity:null,is:null,isMap:Q,itemId:null,itemProp:ov,itemRef:ov,itemScope:Q,itemType:ov,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Q,low:$,manifest:null,max:null,maxLength:$,media:null,method:null,min:null,minLength:$,multiple:Q,muted:Q,name:null,nonce:null,noModule:Q,noValidate:Q,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Q,optimum:$,pattern:null,ping:ov,placeholder:null,playsInline:Q,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Q,referrerPolicy:null,rel:ov,required:Q,reversed:Q,rows:$,rowSpan:$,sandbox:ov,scope:null,scoped:Q,seamless:Q,selected:Q,shadowRootClonable:Q,shadowRootDelegatesFocus:Q,shadowRootMode:null,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:iv,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$,step:null,style:null,tabIndex:$,target:null,title:null,translate:null,type:null,typeMustMatch:Q,useMap:null,value:iv,width:$,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ov,axis:null,background:null,bgColor:null,border:$,borderColor:null,bottomMargin:$,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Q,declare:Q,event:null,face:null,frame:null,frameBorder:null,hSpace:$,leftMargin:$,link:null,longDesc:null,lowSrc:null,marginHeight:$,marginWidth:$,noResize:Q,noHref:Q,noShade:Q,noWrap:Q,object:null,profile:null,prompt:null,rev:null,rightMargin:$,rules:null,scheme:null,scrolling:iv,standby:null,summary:null,text:null,topMargin:$,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Q,disableRemotePlayback:Q,prefix:null,property:null,results:$,security:null,unselectable:null},space:`html`,transform:gv}),vv=pv({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:cv,accentHeight:$,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$,amplitude:$,arabicForm:null,ascent:$,attributeName:null,attributeType:null,azimuth:$,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$,by:null,calcMode:null,capHeight:$,className:ov,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:$,diffuseConstant:$,direction:null,display:null,dur:null,divisor:$,dominantBaseline:null,download:Q,dx:null,dy:null,edgeMode:null,editable:null,elevation:$,enableBackground:null,end:null,event:null,exponent:$,externalResourcesRequired:null,fill:null,fillOpacity:$,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:sv,g2:sv,glyphName:sv,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$,horizOriginX:$,horizOriginY:$,id:null,ideographic:$,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$,k:$,k1:$,k2:$,k3:$,k4:$,kernelMatrix:cv,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:$,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:$,overlineThickness:$,paintOrder:null,panose1:null,path:null,pathLength:$,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ov,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:cv,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:cv,rev:cv,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:cv,requiredFeatures:cv,requiredFonts:cv,requiredFormats:cv,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:$,specularExponent:$,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$,strikethroughThickness:$,string:null,stroke:null,strokeDashArray:cv,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:cv,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:cv,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$,underlineThickness:$,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$,values:null,vAlphabetic:$,vMathematical:$,vectorEffect:null,vHanging:$,vIdeographic:$,version:null,vertAdvY:$,vertOriginX:$,vertOriginY:$,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:hv}),yv=pv({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),bv=pv({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:gv}),xv=pv({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),Sv=/[A-Z]/g,Cv=/-[a-z]/g,wv=/^data[-\w.:]+$/i;function Tv(e,t){let n=ev(t),r=t,i=tv;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&wv.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(Cv,Dv);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!Cv.test(e)){let n=e.replace(Sv,Ev);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=dv}return new i(r,t)}function Ev(e){return`-`+e.toLowerCase()}function Dv(e){return e.charAt(1).toUpperCase()}var Ov=$_([mv,_v,yv,bv,xv],`html`),kv=$_([mv,vv,yv,bv,xv],`svg`),Av={}.hasOwnProperty;function jv(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&Av.call(t,e)){let n=String(t[e]);i=Av.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var Mv=/["&'<>`]/g,Nv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Pv=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Fv=/[|\\{}()[\]^$+*?.]/g,Iv=new WeakMap;function Lv(e,t){if(e=e.replace(t.subset?Rv(t.subset):Mv,r),t.subset||t.escapeOnly)return e;return e.replace(Nv,n).replace(Pv,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function Rv(e){let t=Iv.get(e);return t||(t=zv(e),Iv.set(e,t)),t}function zv(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(Fv,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}var Bv=/[\dA-Fa-f]/;function Vv(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!Bv.test(String.fromCharCode(t))?r:r+`;`}var Hv=/\d/;function Uv(e,t,n){let r=`&#`+String(e);return n&&t&&!Hv.test(String.fromCharCode(t))?r:r+`;`}var Wv=`AElig.AMP.Aacute.Acirc.Agrave.Aring.Atilde.Auml.COPY.Ccedil.ETH.Eacute.Ecirc.Egrave.Euml.GT.Iacute.Icirc.Igrave.Iuml.LT.Ntilde.Oacute.Ocirc.Ograve.Oslash.Otilde.Ouml.QUOT.REG.THORN.Uacute.Ucirc.Ugrave.Uuml.Yacute.aacute.acirc.acute.aelig.agrave.amp.aring.atilde.auml.brvbar.ccedil.cedil.cent.copy.curren.deg.divide.eacute.ecirc.egrave.eth.euml.frac12.frac14.frac34.gt.iacute.icirc.iexcl.igrave.iquest.iuml.laquo.lt.macr.micro.middot.nbsp.not.ntilde.oacute.ocirc.ograve.ordf.ordm.oslash.otilde.ouml.para.plusmn.pound.quot.raquo.reg.sect.shy.sup1.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml`.split(`.`),Gv={nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:``,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,fnof:`ƒ`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,bull:`•`,hellip:`…`,prime:`′`,Prime:`″`,oline:`‾`,frasl:`⁄`,weierp:`℘`,image:`ℑ`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,lang:`〈`,rang:`〉`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`,quot:`"`,amp:`&`,lt:`<`,gt:`>`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,circ:`ˆ`,tilde:`˜`,ensp:` `,emsp:` `,thinsp:` `,zwnj:``,zwj:``,lrm:``,rlm:``,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,permil:`‰`,lsaquo:`‹`,rsaquo:`›`,euro:`€`},Kv=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`],qv={}.hasOwnProperty,Jv={},Yv;for(Yv in Gv)qv.call(Gv,Yv)&&(Jv[Gv[Yv]]=Yv);var Xv=/[^\dA-Za-z]/;function Zv(e,t,n,r){let i=String.fromCharCode(e);if(qv.call(Jv,i)){let e=Jv[i],a=`&`+e;return n&&Wv.includes(e)&&!Kv.includes(e)&&(!r||t&&t!==61&&Xv.test(String.fromCharCode(t)))?a:a+`;`}return``}function Qv(e,t,n){let r=Vv(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=Zv(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=Uv(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function $v(e,t){return Lv(e,Object.assign({format:Qv},t))}var ey=/^>|^->|<!--|-->|--!>|<!-$/g,ty=[`>`],ny=[`<`,`>`];function ry(e,t,n,r){return r.settings.bogusComments?`<?`+$v(e.value,Object.assign({},r.settings.characterReferences,{subset:ty}))+`>`:`<!--`+e.value.replace(ey,i)+`-->`;function i(e){return $v(e,Object.assign({},r.settings.characterReferences,{subset:ny}))}}function iy(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}function ay(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function oy(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}function sy(e){return e.join(` `).trim()}var cy=/[ \t\n\f\r]/g;function ly(e){return typeof e==`object`?e.type===`text`&&uy(e.value):uy(e)}function uy(e){return e.replace(cy,``)===``}var dy=my(1),fy=my(-1),py=[];function my(e){return t;function t(t,n,r){let i=t?t.children:py,a=(n||0)+e,o=i[a];if(!r)for(;o&&ly(o);)a+=e,o=i[a];return o}}var hy={}.hasOwnProperty;function gy(e){return t;function t(t,n,r){return hy.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var _y=gy({body:by,caption:vy,colgroup:vy,dd:wy,dt:Cy,head:vy,html:yy,li:Sy,optgroup:Ey,option:Dy,p:xy,rp:Ty,rt:Ty,tbody:ky,td:My,tfoot:Ay,th:My,thead:Oy,tr:jy});function vy(e,t,n){let r=dy(n,t,!0);return!r||r.type!==`comment`&&!(r.type===`text`&&ly(r.value.charAt(0)))}function yy(e,t,n){let r=dy(n,t);return!r||r.type!==`comment`}function by(e,t,n){let r=dy(n,t);return!r||r.type!==`comment`}function xy(e,t,n){let r=dy(n,t);return r?r.type===`element`&&(r.tagName===`address`||r.tagName===`article`||r.tagName===`aside`||r.tagName===`blockquote`||r.tagName===`details`||r.tagName===`div`||r.tagName===`dl`||r.tagName===`fieldset`||r.tagName===`figcaption`||r.tagName===`figure`||r.tagName===`footer`||r.tagName===`form`||r.tagName===`h1`||r.tagName===`h2`||r.tagName===`h3`||r.tagName===`h4`||r.tagName===`h5`||r.tagName===`h6`||r.tagName===`header`||r.tagName===`hgroup`||r.tagName===`hr`||r.tagName===`main`||r.tagName===`menu`||r.tagName===`nav`||r.tagName===`ol`||r.tagName===`p`||r.tagName===`pre`||r.tagName===`section`||r.tagName===`table`||r.tagName===`ul`):!n||n.type!==`element`||n.tagName!==`a`&&n.tagName!==`audio`&&n.tagName!==`del`&&n.tagName!==`ins`&&n.tagName!==`map`&&n.tagName!==`noscript`&&n.tagName!==`video`}function Sy(e,t,n){let r=dy(n,t);return!r||r.type===`element`&&r.tagName===`li`}function Cy(e,t,n){let r=dy(n,t);return!!(r&&r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`))}function wy(e,t,n){let r=dy(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function Ty(e,t,n){let r=dy(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function Ey(e,t,n){let r=dy(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function Dy(e,t,n){let r=dy(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function Oy(e,t,n){let r=dy(n,t);return!!(r&&r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`))}function ky(e,t,n){let r=dy(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function Ay(e,t,n){return!dy(n,t)}function jy(e,t,n){let r=dy(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function My(e,t,n){let r=dy(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}var Ny=gy({body:Iy,colgroup:Ly,head:Fy,html:Py,tbody:Ry});function Py(e){let t=dy(e,-1);return!t||t.type!==`comment`}function Fy(e){let t=new Set;for(let n of e.children)if(n.type===`element`&&(n.tagName===`base`||n.tagName===`title`)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||n.type===`element`}function Iy(e){let t=dy(e,-1,!0);return!t||t.type!==`comment`&&!(t.type===`text`&&ly(t.value.charAt(0)))&&(t.type!==`element`||t.tagName!==`meta`&&t.tagName!==`link`&&t.tagName!==`script`&&t.tagName!==`style`&&t.tagName!==`template`)}function Ly(e,t,n){let r=fy(n,t),i=dy(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&_y(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function Ry(e,t,n){let r=fy(n,t),i=dy(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&_y(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}var zy={name:[[`
|
|
21
|
+
\f\r &/=>`.split(``),`
|
|
22
|
+
\f\r "&'/=>\``.split(``)],[`\0
|
|
23
|
+
\f\r "&'/<=>`.split(``),`\0
|
|
24
|
+
\f\r "&'/<=>\``.split(``)]],unquoted:[[`
|
|
25
|
+
\f\r &>`.split(``),`\0
|
|
26
|
+
\f\r "&'<=>\``.split(``)],[`\0
|
|
27
|
+
\f\r "&'<=>\``.split(``),`\0
|
|
28
|
+
\f\r "&'<=>\``.split(``)]],single:[[`&'`.split(``),`"&'\``.split(``)],[`\0&'`.split(``),`\0"&'\``.split(``)]],double:[[`"&`.split(``),`"&'\``.split(``)],[`\0"&`.split(``),`\0"&'\``.split(``)]]};function By(e,t,n,r){let i=r.schema,a=i.space!==`svg`&&r.settings.omitOptionalTags,o=i.space===`svg`?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[],c;i.space===`html`&&e.tagName===`svg`&&(r.schema=kv);let l=Vy(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),(l||!a||!Ny(e,t,n))&&(s.push(`<`,e.tagName,l?` `+l:``),o&&(i.space===`svg`||r.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!r.settings.tightSelfClosing||c===`/`||c&&c!==`"`&&c!==`'`)&&s.push(` `),s.push(`/`)),s.push(`>`)),s.push(u),!o&&(!a||!_y(e,t,n))&&s.push(`</`+e.tagName+`>`),s.join(``)}function Vy(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=Hy(e,i,t[i]);r&&n.push(r)}}for(;++r<n.length;){let t=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&t!==`"`&&t!==`'`&&(n[r]+=` `)}return n.join(``)}function Hy(e,t,n){let r=Tv(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space===`html`?0:1,a=+!e.settings.allowDangerousCharacters,o=e.quote,s;if(r.overloadedBoolean&&(n===r.attribute||n===``)?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!=`string`||n===r.attribute||n===``)&&(n=!!n),n==null||n===!1||typeof n==`number`&&Number.isNaN(n))return``;let c=$v(r.attribute,Object.assign({},e.settings.characterReferences,{subset:zy.name[i][a]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?oy:sy)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(s=$v(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:zy.unquoted[i][a]}))),s!==n&&(e.settings.quoteSmart&&ay(n,o)>ay(n,e.alternative)&&(o=e.alternative),s=o+$v(n,Object.assign({},e.settings.characterReferences,{subset:(o===`'`?zy.single:zy.double)[i][a],attribute:!0}))+o),c+(s&&`=`+s))}var Uy=[`<`,`&`];function Wy(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:$v(e.value,Object.assign({},r.settings.characterReferences,{subset:Uy}))}function Gy(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Wy(e,t,n,r)}function Ky(e,t,n,r){return r.all(e)}var qy=jv(`type`,{invalid:Jy,unknown:Yy,handlers:{comment:ry,doctype:iy,element:By,raw:Gy,root:Ky,text:Wy}});function Jy(e){throw Error("Expected node, not `"+e+"`")}function Yy(e){throw Error("Cannot compile unknown node `"+e.type+"`")}var Xy={},Zy={},Qy=[];function $y(e,t){let n=t||Xy,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:eb,all:tb,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Z_,characterReferences:n.characterReferences||Zy,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?kv:Ov,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function eb(e,t,n){return qy(e,t,n,this)}function tb(e){let t=[],n=e&&e.children||Qy,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join(``)}var nb=/\s+/g;function rb(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class==`string`&&(e.properties.class=e.properties.class.split(nb)),Array.isArray(e.properties.class)||(e.properties.class=[]);let n=Array.isArray(t)?t:t.split(nb);for(let t of n)t&&!e.properties.class.includes(t)&&e.properties.class.push(t);return e}var ib=/:?lang=["']([^"']+)["']/g,ab=/(?:```|~~~)([\w-]+)/g,ob=/\\begin\{([\w-]+)\}/g,sb=/<script\s+(?:type|lang)=["']([^"']+)["']/gi,cb=/^\s*---\r?\n[\s\S]*?\r?\n---(?:\r?\n|\s*$)/;function lb(e){let t=y_(e,!0).map(([e])=>e);function n(n){if(n===e.length)return{line:t.length-1,character:t.at(-1).length};let r=n,i=0;for(let e of t){if(r<e.length)break;r-=e.length,i++}return{line:i,character:r}}function r(e,n){let r=0;for(let n=0;n<e;n++)r+=t[n].length;return r+=n,r}return{lines:t,indexToPos:n,posToIndex:r}}function ub(e,t,n){let r=new Set;for(let t of e.matchAll(ib)){let e=t[1].toLowerCase().trim();e&&r.add(e)}for(let t of e.matchAll(ab)){let e=t[1].toLowerCase().trim();e&&r.add(e)}for(let t of e.matchAll(ob)){let e=t[1].toLowerCase().trim();e&&r.add(e)}for(let t of e.matchAll(sb)){let e=t[1].toLowerCase().trim(),n=e.includes(`/`)?e.split(`/`).pop():e;n&&r.add(n)}if(cb.test(e)&&r.add(`yaml`),!n)return[...r];let i=n.getBundledLanguages();return[...r].filter(e=>e&&i[e])}var db=[`color`,`background-color`];function fb(e,t){let n=0,r=[];for(let i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function pb(e,t){let n=0,r=e.length;for(;n<r;){let i=n+(r-n>>1);e[i]<=t?n=i+1:r=i}return n}function mb(e,t){let n=[...t instanceof Set?t:new Set(t)].sort((e,t)=>e-t);return n.length?e.map(e=>e.flatMap(e=>{let t=e.offset+e.content.length,r=pb(n,e.offset),i=r;for(;i<n.length&&n[i]<t;)i++;if(r===i)return e;let a=n.slice(r,i);for(let t=0;t<a.length;t++)a[t]-=e.offset;return fb(e,a)})):e}function hb(e,t,n,r,i=`css-vars`){let a={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(t=>gb(e.variants[t])),s=new Set(o.flatMap(e=>Object.keys(e))),c={},l=(e,r)=>{let i=r===`color`?``:r===`background-color`?`-bg`:`-${r}`;return n+t[e]+(r===`color`?``:i)};return o.forEach((e,n)=>{for(let a of s){let s=e[a]||`inherit`;if(n===0&&r&&db.includes(a)){if(r===`light-dark()`&&o.length>1){let e=t.findIndex(e=>e===`light`),r=t.findIndex(e=>e===`dark`);if(e===-1||r===-1)throw new Oh('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let u=o[e][a]||`inherit`,d=o[r][a]||`inherit`;c[a]=`light-dark(${u}, ${d})`,i===`css-vars`&&(c[l(n,a)]=s)}else c[a]=s}else i===`css-vars`&&(c[l(n,a)]=s)}}),a.htmlStyle=c,a}function gb(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t[`background-color`]=e.bgColor),e.fontStyle){e.fontStyle&Yh.Italic&&(t[`font-style`]=`italic`),e.fontStyle&Yh.Bold&&(t[`font-weight`]=`bold`);let n=[];e.fontStyle&Yh.Underline&&n.push(`underline`),e.fontStyle&Yh.Strikethrough&&n.push(`line-through`),n.length&&(t[`text-decoration`]=n.join(` `))}return t}function _b(e){return typeof e==`string`?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(`;`)}function vb(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let n=lb(t.source);function r(e){if(typeof e==`number`){if(e<0||e>t.source.length)throw new Oh(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...n.indexToPos(e),offset:e}}{let t=n.lines[e.line];if(t===void 0)throw new Oh(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${n.lines.length}`);let r=e.character;if(r<0&&(r=t.length+r),r<0||r>t.length)throw new Oh(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,character:r,offset:n.posToIndex(e.line,r)}}}let i=(t.options.decorations||[]).map(e=>({...e,start:r(e.start),end:r(e.end)}));yb(i),e.set(t.meta,{decorations:i,converter:n,source:t.source})}return e.get(t.meta)}return{name:`shiki:decorations`,tokens(e){if(this.options.decorations?.length)return mb(e,t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]))},code(e){if(!this.options.decorations?.length)return;let n=t(this),r=[...e.children].filter(e=>e.type===`element`&&e.tagName===`span`);if(r.length!==n.converter.lines.length)throw new Oh(`Number of lines in code element (${r.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function i(e,t,n,i){let a=r[e],s=``,c=-1,l=-1;if(t===0&&(c=0),n===0&&(l=0),n===1/0&&(l=a.children.length),c===-1||l===-1)for(let e=0;e<a.children.length;e++)s+=bb(a.children[e]),c===-1&&s.length===t&&(c=e+1),l===-1&&s.length===n&&(l=e+1);if(c===-1)throw new Oh(`Failed to find start index for decoration ${JSON.stringify(i.start)}`);if(l===-1)throw new Oh(`Failed to find end index for decoration ${JSON.stringify(i.end)}`);let u=a.children.slice(c,l);if(!i.alwaysWrap&&u.length===a.children.length)o(a,i,`line`);else if(!i.alwaysWrap&&u.length===1&&u[0].type===`element`)o(u[0],i,`token`);else{let e={type:`element`,tagName:`span`,properties:{},children:u};o(e,i,`wrapper`),a.children.splice(c,u.length,e)}}function a(e,t){r[e]=o(r[e],t,`line`)}function o(e,t,n){let r=t.properties||{},i=t.transform||(e=>e);return e.tagName=t.tagName||`span`,e.properties={...e.properties,...r,class:e.properties.class},t.properties?.class&&rb(e,t.properties.class),e=i(e,n)||e,e}let s=[],c=n.decorations.sort((e,t)=>t.start.offset-e.start.offset||e.end.offset-t.end.offset);for(let e of c){let{start:t,end:n}=e;if(t.line===n.line)i(t.line,t.character,n.character,e);else if(t.line<n.line){i(t.line,t.character,1/0,e);for(let r=t.line+1;r<n.line;r++)s.unshift(()=>a(r,e));i(n.line,0,n.character,e)}}s.forEach(e=>e())}}}function yb(e){for(let t=0;t<e.length;t++){let n=e[t];if(n.start.offset>n.end.offset)throw new Oh(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){let t=e[r],i=n.start.offset<=t.start.offset&&t.start.offset<n.end.offset,a=n.start.offset<t.end.offset&&t.end.offset<=n.end.offset,o=t.start.offset<=n.start.offset&&n.start.offset<t.end.offset,s=t.start.offset<n.end.offset&&n.end.offset<=t.end.offset;if(i||a||o||s){if(i&&a||o&&s||o&&n.start.offset===n.end.offset||a&&t.start.offset===t.end.offset)continue;throw new Oh(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(t.start)} intersect.`)}}}}function bb(e){return e.type===`text`?e.value:e.type===`element`?e.children.map(bb).join(``):``}var xb=[vb()];function Sb(e){let t=Cb(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...xb]}function Cb(e){let t=[],n=[],r=[];for(let i of e)switch(i.enforce){case`pre`:t.push(i);break;case`post`:n.push(i);break;default:r.push(i)}return{pre:t,post:n,normal:r}}var wb=[`black`,`red`,`green`,`yellow`,`blue`,`magenta`,`cyan`,`white`,`brightBlack`,`brightRed`,`brightGreen`,`brightYellow`,`brightBlue`,`brightMagenta`,`brightCyan`,`brightWhite`],Tb={1:`bold`,2:`dim`,3:`italic`,4:`underline`,7:`reverse`,8:`hidden`,9:`strikethrough`};function Eb(e,t){let n=e.indexOf(`\x1B`,t);if(n!==-1&&e[n+1]===`[`){let t=e.indexOf(`m`,n);if(t!==-1)return{sequence:e.substring(n+2,t).split(`;`),startPosition:n,position:t+1}}return{position:e.length}}function Db(e){let t=e.shift();if(t===`2`){let t=e.splice(0,3).map(e=>Number.parseInt(e));return t.length!==3||t.some(e=>Number.isNaN(e))?void 0:{type:`rgb`,rgb:t}}if(t===`5`){let t=e.shift();if(t)return{type:`table`,index:Number(t)}}}function Ob(e){let t=[];for(;e.length>0;){let n=e.shift();if(!n)continue;let r=Number.parseInt(n);if(!Number.isNaN(r)){if(r===0)t.push({type:`resetAll`});else if(r<=9)Tb[r]&&t.push({type:`setDecoration`,value:Tb[r]});else if(r<=29){let e=Tb[r-20];e&&(t.push({type:`resetDecoration`,value:e}),e===`dim`&&t.push({type:`resetDecoration`,value:`bold`}))}else if(r<=37)t.push({type:`setForegroundColor`,value:{type:`named`,name:wb[r-30]}});else if(r===38){let n=Db(e);n&&t.push({type:`setForegroundColor`,value:n})}else if(r===39)t.push({type:`resetForegroundColor`});else if(r<=47)t.push({type:`setBackgroundColor`,value:{type:`named`,name:wb[r-40]}});else if(r===48){let n=Db(e);n&&t.push({type:`setBackgroundColor`,value:n})}else r===49?t.push({type:`resetBackgroundColor`}):r===53?t.push({type:`setDecoration`,value:`overline`}):r===55?t.push({type:`resetDecoration`,value:`overline`}):r>=90&&r<=97?t.push({type:`setForegroundColor`,value:{type:`named`,name:wb[r-90+8]}}):r>=100&&r<=107&&t.push({type:`setBackgroundColor`,value:{type:`named`,name:wb[r-100+8]}})}}return t}function kb(){let e=null,t=null,n=new Set;return{parse(r){let i=[],a=0;do{let o=Eb(r,a),s=o.sequence?r.substring(a,o.startPosition):r.substring(a);if(s.length>0&&i.push({value:s,foreground:e,background:t,decorations:new Set(n)}),o.sequence){let r=Ob(o.sequence);for(let i of r)i.type===`resetAll`?(e=null,t=null,n.clear()):i.type===`resetForegroundColor`?e=null:i.type===`resetBackgroundColor`?t=null:i.type===`resetDecoration`&&n.delete(i.value);for(let i of r)i.type===`setForegroundColor`?e=i.value:i.type===`setBackgroundColor`?t=i.value:i.type===`setDecoration`&&n.add(i.value)}a=o.position}while(a<r.length);return i}}}var Ab={black:`#000000`,red:`#bb0000`,green:`#00bb00`,yellow:`#bbbb00`,blue:`#0000bb`,magenta:`#ff00ff`,cyan:`#00bbbb`,white:`#eeeeee`,brightBlack:`#555555`,brightRed:`#ff5555`,brightGreen:`#00ff00`,brightYellow:`#ffff55`,brightBlue:`#5555ff`,brightMagenta:`#ff55ff`,brightCyan:`#55ffff`,brightWhite:`#ffffff`};function jb(e=Ab){function t(t){return e[t]}function n(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,`0`)).join(``)}`}let r;function i(){if(r)return r;r=[];for(let e=0;e<wb.length;e++)r.push(t(wb[e]));let e=[0,95,135,175,215,255];for(let t=0;t<6;t++)for(let i=0;i<6;i++)for(let a=0;a<6;a++)r.push(n([e[t],e[i],e[a]]));let i=8;for(let e=0;e<24;e++,i+=10)r.push(n([i,i,i]));return r}function a(e){return i()[e]}function o(e){switch(e.type){case`named`:return t(e.name);case`rgb`:return n(e.rgb);case`table`:return a(e.index)}}return{value:o}}var Mb=/#([0-9a-f]{3,8})/i,Nb=/var\((--[\w-]+-ansi-[\w-]+)\)/,Pb={black:`#000000`,red:`#cd3131`,green:`#0DBC79`,yellow:`#E5E510`,blue:`#2472C8`,magenta:`#BC3FBC`,cyan:`#11A8CD`,white:`#E5E5E5`,brightBlack:`#666666`,brightRed:`#F14C4C`,brightGreen:`#23D18B`,brightYellow:`#F5F543`,brightBlue:`#3B8EEA`,brightMagenta:`#D670D6`,brightCyan:`#29B8DB`,brightWhite:`#FFFFFF`};function Fb(e,t,n){let r=u_(e,n),i=y_(t),a=jb(Object.fromEntries(wb.map(t=>{let n=`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`;return[t,e.colors?.[n]||Pb[t]]}))),o=kb();return i.map(t=>o.parse(t[0]).map(n=>{let i,o;n.decorations.has(`reverse`)?(i=n.background?a.value(n.background):e.bg,o=n.foreground?a.value(n.foreground):e.fg):(i=n.foreground?a.value(n.foreground):e.fg,o=n.background?a.value(n.background):void 0),i=d_(i,r),o=d_(o,r),n.decorations.has(`dim`)&&(i=Ib(i));let s=Yh.None;return n.decorations.has(`bold`)&&(s|=Yh.Bold),n.decorations.has(`italic`)&&(s|=Yh.Italic),n.decorations.has(`underline`)&&(s|=Yh.Underline),n.decorations.has(`strikethrough`)&&(s|=Yh.Strikethrough),{content:n.value,offset:t[1],color:i,bgColor:o,fontStyle:s}}))}function Ib(e){let t=e.match(Mb);if(t){let e=t[1];if(e.length===8){let t=Math.round(Number.parseInt(e.slice(6,8),16)/2).toString(16).padStart(2,`0`);return`#${e.slice(0,6)}${t}`}if(e.length===6)return`#${e}80`;if(e.length===4){let t=e[0],n=e[1],r=e[2],i=e[3];return`#${t}${t}${n}${n}${r}${r}${Math.round(Number.parseInt(`${i}${i}`,16)/2).toString(16).padStart(2,`0`)}`}if(e.length===3){let t=e[0],n=e[1],r=e[2];return`#${t}${t}${n}${n}${r}${r}80`}}let n=e.match(Nb);return n?`var(${n[1]}-dim)`:e}function Lb(e,t,n={}){let r=e.resolveLangAlias(n.lang||`text`),{theme:i=e.getLoadedThemes()[0]}=n;if(!m_(r)&&!g_(i)&&r===`ansi`){let{theme:r}=e.setTheme(i);return Fb(r,t,n)}return B_(e,t,n)}function Rb(e,t,n){let r,i,a,o,s,c;if(`themes`in n){let{defaultColor:l=`light`,cssVariablePrefix:u=`--shiki-`,colorsRendering:d=`css-vars`}=n,f=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===l?-1:+(t.color===l));if(f.length===0)throw new Oh("`themes` option must not be empty");let p=Y_(e,t,n,Lb);if(c=P_(p),l&&l!==`light-dark()`&&!f.some(e=>e.color===l))throw new Oh(`\`themes\` option must contain the defaultColor key \`${l}\``);let m=f.map(t=>e.getTheme(t.theme)),h=f.map(e=>e.color);a=p.map(e=>e.map(e=>hb(e,h,u,l,d))),c&&N_(a,c);let g=f.map(e=>u_(e.theme,n));i=zb(f,m,g,u,l,`fg`,d),r=zb(f,m,g,u,l,`bg`,d),o=`shiki-themes ${m.map(e=>e.name).join(` `)}`,s=l?void 0:[i,r].join(`;`)}else if(`theme`in n){let s=u_(n.theme,n);a=Lb(e,t,n);let l=e.getTheme(n.theme);r=d_(l.bg,s),i=d_(l.fg,s),o=l.name,c=P_(a)}else throw new Oh("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:r,themeName:o,rootStyle:s,grammarState:c}}function zb(e,t,n,r,i,a,o){return e.map((s,c)=>{let l=d_(t[c][a],n[c])||`inherit`,u=`${r+s.color}${a===`bg`?`-bg`:``}:${l}`;if(c===0&&i){if(i===`light-dark()`&&e.length>1){let r=e.findIndex(e=>e.color===`light`),i=e.findIndex(e=>e.color===`dark`);if(r===-1||i===-1)throw new Oh('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${d_(t[r][a],n[r])||`inherit`}, ${d_(t[i][a],n[i])||`inherit`});${u}`}return l}return o===`css-vars`?u:null}).filter(e=>!!e).join(`;`)}var Bb=/^\s+$/,Vb=/^(\s*)(.*?)(\s*)$/;function Hb(e,t,n,r={meta:{},options:n,codeToHast:(t,n)=>Hb(e,t,n),codeToTokens:(t,n)=>Rb(e,t,n)}){let i=t;for(let e of Sb(n))i=e.preprocess?.call(r,i,n)||i;let{tokens:a,fg:o,bg:s,themeName:c,rootStyle:l,grammarState:u}=Rb(e,i,n),{mergeWhitespaces:d=!0,mergeSameStyleTokens:f=!1}=n;d===!0?a=Wb(a):d===`never`&&(a=Gb(a)),f&&(a=Kb(a));let p={...r,get source(){return i}};for(let e of Sb(n))a=e.tokens?.call(p,a)||a;return Ub(a,{...n,fg:o,bg:s,themeName:c,rootStyle:n.rootStyle===!1?!1:n.rootStyle??l},p,u)}function Ub(e,t,n,r=P_(e)){let i=Sb(t),a=[],o={type:`root`,children:[]},{structure:s=`classic`,tabindex:c=`0`}=t,l={class:`shiki ${t.themeName||``}`};t.rootStyle!==!1&&(l.style=t.rootStyle==null?`background-color:${t.bg};color:${t.fg}`:t.rootStyle),c!==!1&&c!=null&&(l.tabindex=c.toString());for(let[e,n]of Object.entries(t.meta||{}))e.startsWith(`_`)||(l[e]=n);let u={type:`element`,tagName:`pre`,properties:l,children:[],data:t.data},d={type:`element`,tagName:`code`,properties:{},children:a},f=[],p={...n,structure:s,addClassToHast:rb,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return u},get code(){return d},get lines(){return f}};if(e.forEach((e,t)=>{t&&(s===`inline`?o.children.push({type:`element`,tagName:`br`,properties:{},children:[]}):s===`classic`&&a.push({type:`text`,value:`
|
|
29
|
+
`}));let n={type:`element`,tagName:`span`,properties:{class:`line`},children:[]},r=0;for(let a of e){let e={type:`element`,tagName:`span`,properties:{...a.htmlAttrs},children:[{type:`text`,value:a.content}]},c=_b(a.htmlStyle||gb(a));c&&(e.properties.style=c);for(let o of i)e=o?.span?.call(p,e,t+1,r,n,a)||e;s===`inline`?o.children.push(e):s===`classic`&&n.children.push(e),r+=a.content.length}if(s===`classic`){for(let e of i)n=e?.line?.call(p,n,t+1)||n;f.push(n),a.push(n)}else s===`inline`&&f.push(n)}),s===`classic`){for(let e of i)d=e?.code?.call(p,d)||d;u.children.push(d);for(let e of i)u=e?.pre?.call(p,u)||u;o.children.push(u)}else if(s===`inline`){let e=[],t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]};for(let n of o.children)n.type===`element`&&n.tagName===`br`?(e.push(t),t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]}):(n.type===`element`||n.type===`text`)&&t.children.push(n);e.push(t);let n={type:`element`,tagName:`code`,properties:{},children:e};for(let e of i)n=e?.code?.call(p,n)||n;o.children=[];for(let e=0;e<n.children.length;e++){e>0&&o.children.push({type:`element`,tagName:`br`,properties:{},children:[]});let t=n.children[e];t.type===`element`&&o.children.push(...t.children)}}let m=o;for(let e of i)m=e?.root?.call(p,m)||m;return r&&N_(m,r),m}function Wb(e){return e.map(e=>{let t=[],n=``,r;return e.forEach((i,a)=>{let o=!(i.fontStyle&&(i.fontStyle&Yh.Underline||i.fontStyle&Yh.Strikethrough));o&&Bb.test(i.content)&&e[a+1]?(r===void 0&&(r=i.offset),n+=i.content):n?(o?t.push({...i,offset:r,content:n+i.content}):t.push({content:n,offset:r},i),r=void 0,n=``):t.push(i)}),t})}function Gb(e){return e.map(e=>e.flatMap(e=>{if(Bb.test(e.content))return e;let t=e.content.match(Vb);if(!t)return e;let[,n,r,i]=t;if(!n&&!i)return e;let a=[{...e,offset:e.offset+n.length,content:r}];return n&&a.unshift({content:n,offset:e.offset}),i&&a.push({content:i,offset:e.offset+n.length+r.length}),a}))}function Kb(e){return e.map(e=>{let t=[];for(let n of e){if(t.length===0){t.push({...n});continue}let e=t.at(-1),r=_b(e.htmlStyle||gb(e)),i=_b(n.htmlStyle||gb(n)),a=e.fontStyle&&(e.fontStyle&Yh.Underline||e.fontStyle&Yh.Strikethrough),o=n.fontStyle&&(n.fontStyle&Yh.Underline||n.fontStyle&Yh.Strikethrough);!a&&!o&&r===i?e.content+=n.content:t.push({...n})}return t})}var qb=$y;function Jb(e,t,n){let r={meta:{},options:n,codeToHast:(t,n)=>Hb(e,t,n),codeToTokens:(t,n)=>Rb(e,t,n)},i=qb(Hb(e,t,n,r));for(let e of Sb(n))i=e.postprocess?.call(r,i,n)||i;return i}async function Yb(e){let t=await j_(e);return{getLastGrammarState:(...e)=>V_(t,...e),codeToTokensBase:(e,n)=>Lb(t,e,n),codeToTokensWithThemes:(e,n)=>Y_(t,e,n),codeToTokens:(e,n)=>Rb(t,e,n),codeToHast:(e,n)=>Hb(t,e,n),codeToHtml:(e,n)=>Jb(t,e,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function Xb(e){let t=e.langs,n=e.themes,r=e.engine;async function i(e){function i(n){if(typeof n==`string`){if(n=e.langAlias?.[n]||n,h_(n))return[];let r=t[n];if(!r)throw new Oh(`Language \`${n}\` is not included in this bundle. You may want to load it from external source.`);return r}return n}function a(e){if(__(e))return`none`;if(typeof e==`string`){let t=n[e];if(!t)throw new Oh(`Theme \`${e}\` is not included in this bundle. You may want to load it from external source.`);return t}return e}let o=(e.themes??[]).map(e=>a(e)),s=(e.langs??[]).map(e=>i(e)),c=await Yb({engine:e.engine??r(),...e,themes:o,langs:s});return{...c,loadLanguage(...e){return c.loadLanguage(...e.map(i))},loadTheme(...e){return c.loadTheme(...e.map(a))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return i}function Zb(e){let t;async function n(n={}){if(t){let e=await t;return await Promise.all([e.loadTheme(...n.themes||[]),e.loadLanguage(...n.langs||[])]),e}{t=e({...n,themes:[],langs:[]});let r=await t;return await Promise.all([r.loadTheme(...n.themes||[]),r.loadLanguage(...n.langs||[])]),r}}return n}function Qb(e,t){let n=Zb(e);async function r(e,r){let i=await n({langs:[r.lang],themes:`theme`in r?[r.theme]:Object.values(r.themes)}),a=await t?.guessEmbeddedLanguages?.(e,r.lang,i);return a&&await i.loadLanguage(...a),i}return{getSingletonHighlighter(e){return n(e)},async codeToHtml(e,t){return(await r(e,t)).codeToHtml(e,t)},async codeToHast(e,t){return(await r(e,t)).codeToHast(e,t)},async codeToTokens(e,t){return(await r(e,t)).codeToTokens(e,t)},async codeToTokensBase(e,t){return(await r(e,t)).codeToTokensBase(e,t)},async codeToTokensWithThemes(e,t){return(await r(e,t)).codeToTokensWithThemes(e,t)},async getLastGrammarState(e,t){return(await n({langs:[t.lang],themes:[t.theme]})).getLastGrammarState(e,t)}}}var $b=Xb({langs:Xm,themes:Zm,engine:()=>(0,Dh.createOnigurumaEngine)(G(()=>import(`./BnjxR4X6.js`),[],import.meta.url))}),{codeToHtml:ex,codeToHast:tx,codeToTokens:nx,codeToTokensBase:rx,codeToTokensWithThemes:ix,getSingletonHighlighter:ax,getLastGrammarState:ox}=Qb($b,{guessEmbeddedLanguages:ub}),sx=m(`<div class="shiki-code [&_code]:bg-transparent! [&_pre]:m-0! [&_pre]:rounded-none! [&_pre]:bg-transparent! [&_pre]:p-4! [&_pre]:text-xs [&_pre]:leading-relaxed"></div>`),cx=m(`<pre class="m-0 overflow-auto p-4 text-xs leading-relaxed"><code> </code></pre>`);function lx(t,n){P(n,!0);let r=De(),i=V(()=>(r.resolvedTheme??`light`)===`dark`),a=O(null),s=O(null),c=V(()=>l(i)?`vesper`:`github-light`);le(async()=>{H(s,await $b({themes:[`vesper`,`github-light`],langs:[`html`,`svelte`]}),!0)}),T(()=>{let e=l(s),t=n.code,r=n.lang;if(!e){H(a,null);return}if(!t){H(a,null);return}try{H(a,e.codeToHtml(t,{lang:r,theme:l(c)}),!0)}catch{H(a,e.codeToHtml(t,{lang:`text`,theme:l(c)}),!0)}});var u=p(),f=_(u),m=e=>{var t=sx();y(t,()=>l(a),!0),W(t),R(e,t)},g=t=>{var r=cx(),i=E(r),a=e(i,!0);W(r),d(()=>h(a,n.code||`Loading...`)),R(t,r)};o(f,e=>{l(a)?e(m):e(g,-1)}),R(t,u),M()}function ux(e){if(!e||e.length===0)return[];let t=[],n=new Map;for(let r of e){if(!r)continue;let e=fx(r),i=e.split(`/`).filter(Boolean);if(i.length===0)continue;let a=t,o=``;i.forEach((t,r)=>{let s=o?`${o}/${t}`:t;if(r===i.length-1)a.push({type:`file`,name:t,path:e});else{let e=n.get(s);e||(e={type:`directory`,name:t,path:s,items:[]},n.set(s,e),a.push(e)),a=e.items}o=s})}return px(t)}function dx(e,t){let n=t?.trim().toLowerCase();return n?e.flatMap(e=>{if(e.type===`file`)return e.path.toLowerCase().includes(n)?[e]:[];let t=dx(e.items,n);return e.path.toLowerCase().includes(n)||t.length>0?[{...e,items:t}]:[]}):[...e]}function fx(e){return e.replace(/^[./]+/,``).replace(/\/+/g,`/`)}function px(e){e.sort((e,t)=>e.type===t.type?e.name.localeCompare(t.name):e.type===`directory`?-1:1);for(let t of e)t.type===`directory`&&px(t.items);return e}var mx=()=>({configured:!1,from:null,persisted:!1}),hx=new Set([`$$slots`,`$$events`,`$$legacy`]);function gx(e,t){let n=D(t,hx),r=[[`path`,{d:`m16 18 6-6-6-6`}],[`path`,{d:`m8 6-6 6 6 6`}]];Ie(e,B({name:`code`},()=>n,{get iconNode(){return r}}))}var _x=new Set([`$$slots`,`$$events`,`$$legacy`]);function vx(e,t){let n=D(t,_x),r=[[`path`,{d:`M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5`}],[`path`,{d:`m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7`}],[`path`,{d:`M20 14v4`}],[`path`,{d:`M20 22v.01`}]];Ie(e,B({name:`mail-warning`},()=>n,{get iconNode(){return r}}))}var yx=new Set([`$$slots`,`$$events`,`$$legacy`]);function bx(e,t){let n=D(t,yx),r=[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`}],[`path`,{d:`M9 3v18`}],[`path`,{d:`m16 15-3-3 3-3`}]];Ie(e,B({name:`panel-left-close`},()=>n,{get iconNode(){return r}}))}var xx=new Set([`$$slots`,`$$events`,`$$legacy`,`delayDuration`]);function Sx(e,t){let n=L(t,`delayDuration`,3,0),r=D(t,xx);var i=p(),a=_(i);k(a,()=>jp,(e,t)=>{t(e,B({get delayDuration(){return n()}},()=>r))}),R(e,i)}var Cx=new Set([`$$slots`,`$$events`,`$$legacy`,`open`]);function wx(e,t){P(t,!0);let n=L(t,`open`,15,!1),r=D(t,Cx);Sx(e,{children:(e,t)=>{var i=p(),a=_(i);k(a,()=>Sp,(e,t)=>{t(e,B(()=>r,{get open(){return n()},set open(e){n(e)}}))}),R(e,i)},$$slots:{default:!0}}),M()}var Tx=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`]);function Ex(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=D(t,Tx);var i=p(),a=_(i);k(a,()=>Op,(e,t)=>{t(e,B({"data-slot":`tooltip-trigger`},()=>r,{get ref(){return n()},set ref(e){n(e)}}))}),R(e,i),M()}var Dx=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ox(e,t){let n=D(t,Dx);var r=p(),i=_(r);k(i,()=>_c,(e,t)=>{t(e,B(()=>n))}),R(e,r)}var kx=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`sideOffset`,`side`,`children`,`arrowClasses`,`portalProps`]),Ax=m(`<div></div>`),jx=m(`<!> <!>`,1);function Mx(e,t){P(t,!0);let n=L(t,`ref`,15,null),r=L(t,`sideOffset`,3,0),i=L(t,`side`,3,`top`),a=D(t,kx);Ox(e,B(()=>t.portalProps,{children:(e,o)=>{var s=p(),c=_(s);{let e=V(()=>J(`z-50 inline-flex w-fit max-w-xs origin-(--bits-tooltip-content-transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95`,t.class));k(c,()=>Tp,(o,s)=>{s(o,B({"data-slot":`tooltip-content`,get sideOffset(){return r()},get side(){return i()},get class(){return l(e)}},()=>a,{get ref(){return n()},set ref(e){n(e)},children:(e,n)=>{var r=jx(),i=_(r);U(i,()=>t.children??A);var a=N(i,2);{let e=(e,n)=>{let r=()=>(n?.()).props;var i=Ax();j(i,e=>({class:e,...r()}),[()=>J(`z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground`,`data-[side=top]:translate-x-1/2 data-[side=top]:translate-y-[calc(-50%+2px)]`,`data-[side=bottom]:-translate-x-1/2 data-[side=bottom]:-translate-y-[calc(-50%+1px)]`,`data-[side=right]:translate-x-[calc(50%+2px)] data-[side=right]:translate-y-1/2`,`data-[side=left]:-translate-y-[calc(50%-3px)]`,t.arrowClasses)]),R(e,i)};k(a,()=>Ap,(t,n)=>{n(t,{child:e,$$slots:{child:!0}})})}R(e,r)},$$slots:{default:!0}}))})}R(e,s)},$$slots:{default:!0}})),M()}var Nx=m(`<div class="border border-destructive/20 bg-destructive/5 p-4 text-destructive"> </div>`),Px=m(`<div class="p-4 text-center text-muted-foreground"> </div>`),Fx=m(`<ul class="flex flex-col gap-0.5"></ul>`),Ix=m(`<aside class="flex w-80 shrink-0 flex-col border-r border-border bg-muted/30"><div class="flex h-16 items-center justify-between border-b border-border p-4"><div class="flex items-center gap-3"><div class="flex size-8 items-center justify-center"><img src="/favicon.svg" alt="Better Svelte Email" class="size-8"/></div> <div><h1 class="font-sans text-lg leading-none font-bold tracking-tight">Better Svelte Email</h1> <p class="text-xs text-muted-foreground">Email Preview</p></div></div> <button class="text-muted-foreground transition-colors hover:text-foreground" aria-label="Toggle theme"><!></button></div> <div class="border-b border-border p-4"><div class="relative flex items-center"><!> <input type="text" placeholder="Search templates..." class="w-full border border-border bg-transparent py-2 pr-4 pl-8 text-xs outline-none placeholder:text-muted-foreground focus:ring-2 focus:ring-svelte focus:ring-offset-0"/></div> <div class="mt-2 flex items-center justify-between text-[10px] text-muted-foreground"><span> </span> <span> </span></div></div> <div class="flex-1 overflow-y-auto p-2"><!></div> <div class="border-t border-border p-4"><a target="_blank" rel="noopener noreferrer" class="flex items-center gap-2 text-xs text-muted-foreground transition-colors hover:text-foreground"><!> Documentation</a></div></aside>`),Lx=m(`<span class="text-muted-foreground">/</span>`),Rx=m(`<span> </span> <!>`,1),zx=m(`<span class="size-1 animate-pulse rounded-full bg-green-500"></span> <span class="text-xs text-green-500 tabular-nums" title="SSR render time"> </span>`,1),Bx=m(`<p>HMR enabled</p>`),Vx=m(`<!> <!>`,1),Hx=m(`<div class="flex items-center gap-2"><span class="text-muted-foreground">/</span> <!> <!></div>`),Ux=m(`<span class="text-muted-foreground">No file selected</span>`),Wx=m(`<!> Copy HTML`,1),Gx=m(`<div class="flex items-center gap-4"><div class="flex items-center border border-border bg-muted/30 p-1"><button>Render</button> <button>HTML</button> <button>Source</button></div> <!> <!></div>`),Kx=m(`<div class="flex h-full items-center justify-center p-8"><div class="text-center"><img src="/favicon.svg" alt="Better Svelte Email" class="mx-auto mb-8 size-24 drop-shadow-xl"/> <h2 class="mb-4 font-sans text-3xl font-bold tracking-tight">Select a template</h2> <p class="leading-relaxed text-muted-foreground">Welcome to Better Svelte Email!<br/>Select a template in the sidebar to get started.</p></div></div>`),qx=m(`<div class="flex h-full items-center justify-center p-8"><div class="max-w-2xl border border-destructive/20 bg-destructive/10 p-4 text-destructive"><div class="mb-4 flex items-center gap-3"><!> <h3 class="font-sans text-xl font-bold">Render Error</h3></div> <pre class="overflow-auto border border-muted bg-background p-4 text-xs whitespace-pre-wrap text-foreground"> </pre></div></div>`),Jx=m(`<div class="flex flex-1 items-center justify-center overflow-y-auto p-4 md:p-8"><div class="mx-auto flex h-full min-h-[400px] w-full max-w-4xl animate-pulse flex-col items-center justify-center border border-border bg-background shadow-2xl"><div class="text-muted-foreground">Rendering...</div></div></div>`),Yx=m(`<span class="text-muted-foreground/50"> </span>`),Xx=m(`<div class="absolute top-0 bottom-0 border-x border-dashed border-muted-foreground/35 transition-opacity duration-150"></div>`),Zx=m(`<div class="absolute right-0 left-0 border-y border-dashed border-muted-foreground/35 transition-opacity duration-150"></div>`),Qx=m(`<div class="pointer-events-none absolute inset-0 z-0" aria-hidden="true"><!> <!></div>`),$x=m(`<div class="pointer-events-none absolute top-2 left-1/2 z-10 -translate-x-1/2 rounded border border-black/5 bg-white px-2 py-0.5 font-mono text-[10px] text-black tabular-nums"> </div>`),eS=m(`<div class="flex shrink-0 flex-wrap items-center gap-2 border-b border-border bg-muted/20 px-4 py-2"><span class="text-[10px] tracking-wide text-muted-foreground">Viewport</span> <div class="flex items-center gap-1 border border-border bg-background p-0.5"><button type="button"><!> <span class="hidden sm:inline">Mobile</span></button> <button type="button"><!> <span class="hidden sm:inline">Tablet</span></button> <button type="button"><!> <span class="hidden sm:inline">Desktop</span></button></div> <span class="ml-auto font-mono text-[10px] text-muted-foreground tabular-nums"> <!></span></div> <div class="min-h-0 flex-1 overflow-auto"><div class="relative flex min-h-full min-w-full items-center justify-center"><!> <div class="relative z-10 flex flex-col"><div class="flex"><div class="w-6 shrink-0"></div> <button type="button" aria-label="Drag to resize preview height"><!></button> <div class="w-6 shrink-0"></div></div> <div class="flex items-stretch"><button type="button" aria-label="Drag to resize preview width"><!></button> <div><iframe title="Rendered email preview" class="block h-full w-full bg-white" sandbox="allow-popups allow-scripts"></iframe> <!></div> <button type="button" aria-label="Drag to resize preview width"><!></button></div> <div class="flex"><div class="w-6 shrink-0"></div> <button type="button" aria-label="Drag to resize preview height"><!></button> <button type="button" class="group flex size-6 shrink-0 cursor-nwse-resize touch-none items-start justify-start" aria-label="Drag corner to resize preview"><svg viewBox="0 0 12 12" fill="currentColor" aria-hidden="true"><circle cx="10" cy="10" r="1"></circle><circle cx="10" cy="6" r="1"></circle><circle cx="6" cy="10" r="1"></circle></svg></button></div></div></div></div>`,1),tS=m(`<div><!></div> <div><div class="flex min-h-0 flex-1 flex-col p-6 md:p-12"><div class="mx-auto flex min-h-0 w-full max-w-5xl flex-1 flex-col overflow-hidden border border-border bg-muted/30 shadow-2xl"><div class="flex shrink-0 items-center justify-between border-b border-border px-6 py-4"><div class="flex items-center gap-2"><!> <h3 class="font-sans text-base font-semibold">Rendered HTML</h3></div> <span class="text-xs text-muted-foreground">Exact markup returned by the CLI</span></div> <div class="min-h-0 flex-1 overflow-auto"><!></div></div></div></div> <div><div class="flex min-h-0 flex-1 flex-col p-6 md:p-12"><div class="mx-auto flex min-h-0 w-full max-w-5xl flex-1 flex-col overflow-hidden border border-border bg-muted/30 shadow-2xl"><div class="flex shrink-0 items-center justify-between border-b border-border px-6 py-4"><div class="flex items-center gap-2"><!> <h3 class="font-sans text-base font-semibold">Source Code</h3></div> <span class="text-xs text-muted-foreground">Svelte component source</span></div> <div class="min-h-0 flex-1 overflow-auto"><!></div></div></div></div>`,1),nS=m(`<div class="flex h-dvh w-full overflow-hidden bg-background font-mono text-sm text-foreground selection:bg-svelte selection:text-white"><!> <main class="flex min-w-0 flex-1 flex-col bg-background"><header class="flex h-16 shrink-0 items-center justify-between border-b border-border px-4"><div class="flex items-center gap-4"><button class="text-muted-foreground transition-colors hover:text-foreground"><!></button> <!></div> <!></header> <div class="relative flex-1 overflow-hidden"><!></div></main></div>`);function rS(t,n){P(n,!0);let i={mobile:{width:390,height:580},tablet:{width:768,height:700},desktop:{width:1200,height:640}},a=[`desktop`,`tablet`,`mobile`];function s(e,t,n){return Math.max(t,Math.min(n,e))}function c(e,t,n){return Math.max(t,Math.min(n,e))}function u(e,t,n){let r=Math.max(t,Math.min(n,e)),o=null,c=19;for(let e of a){let a=i[e],l=s(a.width,t,n),u=Math.abs(r-l);u<=18&&u<c&&(c=u,o=l)}return o===null?r:o}function f(e,t,n){let r=Math.max(t,Math.min(n,e)),o=null,s=19;for(let e of a){let a=i[e],l=c(a.height,t,n),u=Math.abs(r-l);u<=18&&u<s&&(s=u,o=l)}return o===null?r:o}function m(e,t,n){let r=Math.max(t,Math.min(n,e)),o=null,c=19;for(let e of a){let a=i[e],l=s(a.width,t,n),u=Math.abs(r-l);u<=18&&u<c&&(c=u,o=e)}return o}function g(e,t,n){let r=Math.max(t,Math.min(n,e)),o=null,s=19;for(let e of a){let a=i[e],l=c(a.height,t,n),u=Math.abs(r-l);u<=18&&u<s&&(s=u,o=e)}return o}function y(e,t,n,r,a){let o=i[e];return{w:s(o.width,t,n),h:c(o.height,r,a)}}function b(e,t,n,r,o,l){let d=Math.max(n,Math.min(r,e)),p=Math.max(o,Math.min(l,t)),h=null,_=1/0;for(let e of a){let t=i[e],a=s(t.width,n,r),u=c(t.height,o,l),f=Math.abs(d-a),m=Math.abs(p-u);if(f<=18&&m<=18){let t=f*f+m*m;t<_&&(_=t,h=e)}}if(h!==null){let e=y(h,n,r,o,l);return{w:e.w,h:e.h,guideKey:h}}let v=u(e,n,r),b=f(t,o,l),x=Math.max(n,Math.min(r,e)),S=Math.max(o,Math.min(l,t)),C=m(x,n,r),w=g(S,o,l);return{w:v,h:b,guideKey:C??w}}let x=ht(mt({view:{type:`string`,default:`render`},vpw:{type:`number`,default:896},vph:{type:`number`,default:600}}),{pushHistory:!1,noScroll:!0}),S=L(n,`previewApiOrigin`,3,``),C=L(n,`sendEmailConfig`,19,mx);function w(e){return e<1?`${e.toFixed(2)} ms`:e<10?`${e.toFixed(1)} ms`:`${Math.round(e)} ms`}let ee=De(),te=O(``),D=O(!0),A=O(!1),re=O(void 0),j=O(2400),F=O(2e3),z=O(!1),oe=O(!1),se=O(!1),le=0,B=0,de=0,fe=0,pe=O(1),me=V(()=>l(z)||l(oe)||l(se)),ge=O(null);function ye(e){return e===`html`||e===`source`?e:`render`}let U=V(()=>ye(x.view)),be=V(()=>typeof x.vpw==`number`&&!Number.isNaN(x.vpw)?x.vpw:896),xe=V(()=>Math.max(320,Math.min(l(j),l(be)))),Ce=V(()=>typeof x.vph==`number`&&!Number.isNaN(x.vph)?x.vph:600),we=V(()=>Math.max(200,Math.min(l(F),l(Ce))));T(()=>{if(!l(re))return;let e=l(re),t=()=>{H(j,Math.max(320,e.clientWidth-64),!0),H(F,Math.max(200,e.clientHeight-64),!0)};t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()});function Te(e){let t=i[e];x.vpw=t.width,x.vph=t.height}function G(e){let t=i[e],n=s(t.width,320,l(j)),r=c(t.height,200,l(F));return Math.abs(l(xe)-n)<.5&&Math.abs(l(we)-r)<.5}function Ee(e,t){e.preventDefault(),e.currentTarget.setPointerCapture(e.pointerId),H(z,!0),H(pe,t,!0),le=e.clientX,de=l(xe)}function Ae(e){if(!l(z))return;let t=(e.clientX-le)*l(pe)*2,n=Math.max(320,Math.min(l(j),de+t)),r=m(n,320,l(j));H(ge,r?{verticalW:y(r,320,l(j),200,l(F)).w,horizontalH:null}:null,!0),x.vpw=u(n,320,l(j))}function je(e){if(l(z)){H(z,!1),H(ge,null);try{e.currentTarget.releasePointerCapture(e.pointerId)}catch{}}}let Me=O(1);function Ne(e,t){e.preventDefault(),e.currentTarget.setPointerCapture(e.pointerId),H(oe,!0),H(Me,t,!0),B=e.clientY,fe=l(we)}function Pe(e){if(!l(oe))return;let t=(e.clientY-B)*l(Me)*2,n=Math.max(200,Math.min(l(F),fe+t)),r=g(n,200,l(F));H(ge,r?{verticalW:null,horizontalH:y(r,320,l(j),200,l(F)).h}:null,!0),x.vph=f(n,200,l(F))}function Fe(e){if(l(oe)){H(oe,!1),H(ge,null);try{e.currentTarget.releasePointerCapture(e.pointerId)}catch{}}}function Ie(e){e.preventDefault(),e.currentTarget.setPointerCapture(e.pointerId),H(se,!0),le=e.clientX,B=e.clientY,de=l(xe),fe=l(we)}function Le(e){if(!l(se))return;let{w:t,h:n,guideKey:r}=b(Math.max(320,Math.min(l(j),de+(e.clientX-le)*2)),Math.max(200,Math.min(l(F),fe+(e.clientY-B)*2)),320,l(j),200,l(F));if(x.vpw=t,x.vph=n,r){let e=y(r,320,l(j),200,l(F));H(ge,{verticalW:e.w,horizontalH:e.h},!0)}else H(ge,null)}function ze(e){if(l(se)){H(se,!1),H(ge,null);try{e.currentTarget.releasePointerCapture(e.pointerId)}catch{}}}let Ve=V(()=>ux(n.files)),Ue=V(()=>dx(l(Ve),l(te))),Ge=V(()=>n.selectedFile?n.selectedFile.split(`/`):[]),qe=V(()=>at(n.html)),Ye=V(()=>n.files.length),Ze=V(()=>ot(l(Ue)));function $e(e){let t=`/${e.split(`/`).map(e=>encodeURIComponent(e)).join(`/`)}`,n=x.toURLSearchParams(),r=new Set(n.keys()),i=new Oe;for(let[e,t]of ke.url.searchParams)r.has(e)||i.append(e,t);for(let[e,t]of n.entries())i.set(e,t);let a=i.toString();return a?`${t}?${a}`:t}function tt(){ee.theme=ee.resolvedTheme===`dark`?`light`:`dark`}async function rt(){n.html&&(await navigator.clipboard.writeText(n.html),H(A,!0),window.setTimeout(()=>{H(A,!1)},1500))}function at(e){if(!e)return``;let t=`<style>body{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:0;}</style>`;if(e.includes(`<head>`))return e.replace(`<head>`,`<head>${t}`);if(e.includes(`<body`)){let n=e.indexOf(`>`,e.indexOf(`<body`));if(n!==-1)return`${e.slice(0,n+1)}${t}${e.slice(n+1)}`}return`${t}${e}`}function ot(e){return e.reduce((e,t)=>t.type===`file`?e+1:e+ot(t.items),0)}var st=nS(),ct=E(st),lt=t=>{var i=Ix(),a=E(i),s=N(E(a),2),c=E(s),u=e=>{et(e,{class:`size-4`})},f=e=>{Ke(e,{class:`size-4`})};o(c,e=>{ee.resolvedTheme===`dark`?e(u):e(f,-1)}),W(s),W(a);var p=N(a,2),m=E(p),g=E(m);Xe(g,{class:`absolute left-3 size-3 text-muted-foreground`});var _=N(g,2);ie(_),W(m);var y=N(m,2),b=E(y),x=e(b,!0),S=N(b,2),C=e(S);W(y),W(p);var w=N(p,2),T=E(w),D=t=>{var r=Nx(),i=e(r);d(()=>h(i,`Failed to load: ${n.emailsError??``}`)),R(t,r)},O=t=>{var r=Px(),i=e(r);d(()=>h(i,`No templates found in ${n.emailPath??``}.`)),R(t,r)},k=t=>{var n=Px(),r=e(n);d(()=>h(r,`No matches for "${l(te)??``}".`)),R(t,n)},A=e=>{var t=Fx();r(t,21,()=>l(Ue),e=>e.path,(e,t)=>{{let r=V(()=>!!l(te));ar(e,{get node(){return l(t)},get selectedFile(){return n.selectedFile},get searchActive(){return l(r)},toEmailHref:$e})}}),W(t),R(e,t)};o(T,e=>{n.emailsError?e(D):l(Ye)===0?e(O,1):l(Ue).length===0?e(k,2):e(A,-1)}),W(w);var ne=N(w,2),re=E(ne);ue(re,`href`,`https://better-svelte-email.konixy.dev/docs`),We(E(re),{class:`size-3`}),_e(),W(re),W(ne),W(i),d(()=>{h(x,n.emailPath||`src/lib/emails`),h(C,`${l(Ze)??``} / ${l(Ye)??``}`)}),v(`click`,s,tt),he(_,()=>l(te),e=>H(te,e)),R(t,i)};o(ct,e=>{l(D)&&e(lt)});var ut=N(ct,2),dt=E(ut),ft=E(dt),pt=E(ft),gt=E(pt),_t=e=>{bx(e,{class:`size-4`})},vt=e=>{Je(e,{class:`size-4`})};o(gt,e=>{l(D)?e(_t):e(vt,-1)}),W(pt);var yt=N(pt,2),bt=t=>{var i=Hx(),a=N(E(i),2);r(a,17,()=>l(Ge),ve,(t,n,r)=>{var i=Rx(),a=_(i),s=e(a,!0),c=N(a,2),u=e=>{var t=Lx();R(e,t)};o(c,e=>{r<l(Ge).length-1&&e(u)}),d(()=>{I(a,1,ae(r===l(Ge).length-1?`font-medium text-foreground`:`text-muted-foreground`)),h(s,l(n))}),R(t,i)});var s=N(a,2),c=t=>{var r=p(),i=_(r);k(i,()=>Sx,(t,r)=>{r(t,{children:(t,r)=>{var i=p(),a=_(i);k(a,()=>wx,(t,r)=>{r(t,{delayDuration:300,children:(t,r)=>{var i=Vx(),a=_(i);k(a,()=>Ex,(t,r)=>{r(t,{class:`ml-1 flex items-center gap-2`,children:(t,r)=>{var i=zx(),a=N(_(i),2),o=e(a,!0);d(e=>h(o,e),[()=>w(n.renderTimeMs)]),R(t,i)},$$slots:{default:!0}})});var o=N(a,2);k(o,()=>Mx,(e,t)=>{t(e,{children:(e,t)=>{var n=Bx();R(e,n)},$$slots:{default:!0}})}),R(t,i)},$$slots:{default:!0}})}),R(t,i)},$$slots:{default:!0}})}),R(t,r)};o(s,e=>{n.renderTimeMs!=null&&!n.renderError&&e(c)}),W(i),R(t,i)},xt=e=>{var t=Ux();R(e,t)};o(yt,e=>{n.selectedFile?e(bt):e(xt,-1)}),W(ft);var St=N(ft,2),Ct=e=>{var t=Gx(),r=E(t),i=E(r),a=N(i,2),s=N(a,2);W(r);var c=N(r,2);{let e=V(()=>!n.html);po(c,{variant:`outline`,size:`sm`,onclick:rt,get disabled(){return l(e)},children:(e,t)=>{var n=Wx(),r=_(n),i=e=>{Np(e,{class:`size-3`})},a=e=>{Re(e,{class:`size-3`})};o(r,e=>{l(A)?e(i):e(a,-1)}),_e(),R(e,n)},$$slots:{default:!0}})}zm(N(c,2),{get previewApiOrigin(){return S()},get sendEmailConfig(){return C()},get selectedFile(){return n.selectedFile},get html(){return n.html}}),W(t),d((e,t,n)=>{I(i,1,e),I(a,1,t),I(s,1,n)},[()=>ae(J(`px-3 py-1 text-xs transition-colors`,l(U)===`render`?`bg-foreground text-background`:`text-muted-foreground hover:text-foreground`)),()=>ae(J(`px-3 py-1 text-xs transition-colors`,l(U)===`html`?`bg-foreground text-background`:`text-muted-foreground hover:text-foreground`)),()=>ae(J(`px-3 py-1 text-xs transition-colors`,l(U)===`source`?`bg-foreground text-background`:`text-muted-foreground hover:text-foreground`))]),v(`click`,i,()=>x.view=`render`),v(`click`,a,()=>x.view=`html`),v(`click`,s,()=>x.view=`source`),R(e,t)};o(St,e=>{n.selectedFile&&e(Ct)}),W(dt);var wt=N(dt,2),Tt=E(wt),Et=e=>{var t=Kx();R(e,t)},Dt=t=>{var r=qx(),i=E(r),a=E(i);vx(E(a),{}),_e(2),W(a);var o=N(a,2),s=e(o,!0);W(i),W(r),d(()=>h(s,n.renderError.stack||n.renderError.message)),R(t,r)},Ot=t=>{var r=tS(),a=_(r),s=E(a),c=e=>{var t=Jx();R(e,t)},u=t=>{var n=eS(),r=_(n),a=N(E(r),2),s=E(a);Qe(E(s),{class:`size-3.5`}),_e(2),W(s);var c=N(s,2);nt(E(c),{class:`size-3.5`}),_e(2),W(c);var u=N(c,2);it(E(u),{class:`size-3.5`}),_e(2),W(u),W(a);var f=N(a,2),p=E(f),m=N(p),g=t=>{var n=Yx(),r=e(n);d((e,t)=>h(r,`(${e??``} × ${t??``})`),[()=>Math.round(l(be)),()=>Math.round(l(Ce))]),R(t,n)},y=V(()=>Math.round(l(xe))!==Math.round(l(be)));o(m,e=>{l(y)&&e(g)}),W(f),W(r);var b=N(r,2),x=E(b),S=E(x),C=e=>{var t=Qx(),n=E(t),r=e=>{var t=Xx();let n;d(()=>n=ce(t,``,n,{left:`50%`,width:`${l(ge).verticalW??``}px`,transform:`translateX(-50%)`})),R(e,t)};o(n,e=>{l(ge).verticalW!=null&&e(r)});var i=N(n,2),a=e=>{var t=Zx();let n;d(()=>n=ce(t,``,n,{top:`50%`,height:`${l(ge).horizontalH??``}px`,transform:`translateY(-50%)`})),R(e,t)};o(i,e=>{l(ge).horizontalH!=null&&e(a)}),W(t),R(e,t)};o(S,e=>{l(ge)&&(l(ge).verticalW!=null||l(ge).horizontalH!=null)&&e(C)});var w=N(S,2),T=E(w),ee=N(E(T),2);let te;var D=E(ee);{let e=V(()=>J(`size-3.5 transition-colors`,l(oe)&&l(Me)===-1?`text-foreground`:`text-muted-foreground/40 group-hover:text-muted-foreground`));Be(D,{get class(){return l(e)}})}W(ee),_e(2),W(T);var O=N(T,2),k=E(O),A=E(k);{let e=V(()=>J(`size-3.5 transition-colors`,l(z)&&l(pe)===-1?`text-foreground`:`text-muted-foreground/40 group-hover:text-muted-foreground`));He(A,{get class(){return l(e)}})}W(k);var j=N(k,2);let M;var ie=E(j),P=N(ie,2),F=t=>{var n=$x(),r=e(n);d((e,t)=>h(r,`${e??``} × ${t??``}`),[()=>Math.round(l(xe)),()=>Math.round(l(we))]),R(t,n)};o(P,e=>{l(me)&&e(F)}),W(j);var L=N(j,2),le=E(L);{let e=V(()=>J(`size-3.5 transition-colors`,l(z)&&l(pe)===1?`text-foreground`:`text-muted-foreground/40 group-hover:text-muted-foreground`));He(le,{get class(){return l(e)}})}W(L),W(O);var B=N(O,2),de=N(E(B),2);let fe;var he=E(de);{let e=V(()=>J(`size-3.5 transition-colors`,l(oe)&&l(Me)===1?`text-foreground`:`text-muted-foreground/40 group-hover:text-muted-foreground`));Be(he,{get class(){return l(e)}})}W(de);var ve=N(de,2),ye=e(ve);W(B),W(w),W(x),W(b),ne(b,e=>H(re,e),()=>l(re)),d((e,t,n,r,a,o,d,f,m,g,_)=>{I(s,1,e),ue(s,`aria-label`,`Mobile viewport (${i.mobile.width??``}×${i.mobile.height??``})`),ue(s,`title`,`Mobile (${i.mobile.width??``}×${i.mobile.height??``})`),I(c,1,t),ue(c,`aria-label`,`Tablet viewport (${i.tablet.width??``}×${i.tablet.height??``})`),ue(c,`title`,`Tablet (${i.tablet.width??``}×${i.tablet.height??``})`),I(u,1,n),ue(u,`aria-label`,`Desktop viewport (${i.desktop.width??``}×${i.desktop.height??``})`),ue(u,`title`,`Desktop (${i.desktop.width??``}×${i.desktop.height??``})`),h(p,`${r??``} × ${a??``} `),I(ee,1,o),te=ce(ee,``,te,{width:`${l(xe)??``}px`}),I(k,1,d),I(j,1,f),M=ce(j,``,M,{width:`${l(xe)??``}px`,height:`${l(we)??``}px`}),ue(ie,`srcdoc`,l(qe)),I(L,1,m),I(de,1,g),fe=ce(de,``,fe,{width:`${l(xe)??``}px`}),I(ye,0,_)},[()=>ae(J(`flex items-center gap-1.5 px-2.5 py-1 text-xs transition-colors`,G(`mobile`)?`bg-foreground text-background`:`text-muted-foreground hover:text-foreground`)),()=>ae(J(`flex items-center gap-1.5 px-2.5 py-1 text-xs transition-colors`,G(`tablet`)?`bg-foreground text-background`:`text-muted-foreground hover:text-foreground`)),()=>ae(J(`flex items-center gap-1.5 px-2.5 py-1 text-xs transition-colors`,G(`desktop`)?`bg-foreground text-background`:`text-muted-foreground hover:text-foreground`)),()=>Math.round(l(xe)),()=>Math.round(l(we)),()=>ae(J(`group flex h-6 cursor-ns-resize touch-none flex-row items-center justify-center gap-0.5`,`border-b border-b-transparent transition-colors hover:border-b-border`,l(oe)&&l(Me)===-1&&`border-b-border`)),()=>ae(J(`group flex w-6 shrink-0 cursor-ew-resize touch-none flex-col items-center justify-center gap-0.5`,`border-r border-r-transparent transition-colors hover:border-r-border`,l(z)&&l(pe)===-1&&`border-r-border`)),()=>ae(J(`relative overflow-hidden border border-border bg-white shadow-xl`,!l(me)&&`transition-[width,height] duration-150 ease-out`)),()=>ae(J(`group flex w-6 shrink-0 cursor-ew-resize touch-none flex-col items-center justify-center gap-0.5`,`border-l border-l-transparent transition-colors hover:border-l-border`,l(z)&&l(pe)===1&&`border-l-border`)),()=>ae(J(`group flex h-6 cursor-ns-resize touch-none flex-row items-center justify-center gap-0.5`,`border-t border-t-transparent transition-colors hover:border-t-border`,l(oe)&&l(Me)===1&&`border-t-border`)),()=>ae(J(`size-3 transition-colors`,l(se)?`text-foreground`:`text-muted-foreground/40 group-hover:text-muted-foreground`))]),v(`click`,s,()=>Te(`mobile`)),v(`click`,c,()=>Te(`tablet`)),v(`click`,u,()=>Te(`desktop`)),v(`pointerdown`,ee,e=>Ne(e,-1)),v(`pointermove`,ee,Pe),v(`pointerup`,ee,Fe),Se(`pointercancel`,ee,Fe),v(`pointerdown`,k,e=>Ee(e,-1)),v(`pointermove`,k,Ae),v(`pointerup`,k,je),Se(`pointercancel`,k,je),v(`pointerdown`,L,e=>Ee(e,1)),v(`pointermove`,L,Ae),v(`pointerup`,L,je),Se(`pointercancel`,L,je),v(`pointerdown`,de,e=>Ne(e,1)),v(`pointermove`,de,Pe),v(`pointerup`,de,Fe),Se(`pointercancel`,de,Fe),v(`pointerdown`,ve,Ie),v(`pointermove`,ve,Le),v(`pointerup`,ve,ze),Se(`pointercancel`,ve,ze),R(t,n)};o(s,e=>{n.html?e(u,-1):e(c)}),W(a);var f=N(a,2),p=E(f),m=E(p),g=E(m),y=E(g);gx(E(y),{class:`size-4`}),_e(2),W(y),_e(2),W(g);var b=N(g,2),x=E(b);{let e=V(()=>n.html||`No HTML available.`);lx(x,{get code(){return l(e)},lang:`html`})}W(b),W(m),W(p),W(f);var S=N(f,2),C=E(S),w=E(C),T=E(w),ee=E(T);$n(E(ee),{class:`size-4`}),_e(2),W(ee),_e(2),W(T);var te=N(T,2),D=E(te);{let e=V(()=>n.source||`Source could not be loaded.`);lx(D,{get code(){return l(e)},lang:`svelte`})}W(te),W(w),W(C),W(S),d((e,t,n)=>{I(a,1,e),I(f,1,t),I(S,1,n)},[()=>ae(J(`absolute inset-0 flex h-full w-full flex-col overflow-hidden bg-[radial-gradient(var(--border)_1px,transparent_1px)] bg-size-[16px_16px]`,l(U)===`render`?``:`hidden`)),()=>ae(J(`absolute inset-0 flex h-full w-full flex-col overflow-hidden bg-background/95 backdrop-blur`,l(U)===`html`?``:`hidden`)),()=>ae(J(`absolute inset-0 flex h-full w-full flex-col overflow-hidden bg-background/95 backdrop-blur`,l(U)===`source`?``:`hidden`))]),R(t,r)};o(Tt,e=>{n.selectedFile?n.renderError?e(Dt,1):e(Ot,-1):e(Et)}),W(wt),W(ut),W(st),v(`click`,pt,()=>H(D,!l(D))),R(t,st),M()}f([`click`,`pointerdown`,`pointermove`,`pointerup`]);export{rS as t};
|