@better-svelte-email/preview-server 2.1.3 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/{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/BEvJij71.js +1 -0
- package/build/client/_app/immutable/chunks/BEvJij71.js.br +1 -0
- package/build/client/_app/immutable/chunks/BEvJij71.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/{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/CTQibyhI.js +24 -0
- package/build/client/_app/immutable/chunks/CTQibyhI.js.br +0 -0
- package/build/client/_app/immutable/chunks/CTQibyhI.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/CbXvFmL8.js +2 -0
- package/build/client/_app/immutable/chunks/CbXvFmL8.js.br +0 -0
- package/build/client/_app/immutable/chunks/CbXvFmL8.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/Cjv9mauX.js +29 -0
- package/build/client/_app/immutable/chunks/Cjv9mauX.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cjv9mauX.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/{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/{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.BRpXmNDO.js +2 -0
- package/build/client/_app/immutable/entry/app.BRpXmNDO.js.br +0 -0
- package/build/client/_app/immutable/entry/app.BRpXmNDO.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DwmeLwoP.js +1 -0
- package/build/client/_app/immutable/entry/start.DwmeLwoP.js.br +0 -0
- package/build/client/_app/immutable/entry/start.DwmeLwoP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DE4cH2YD.js +1 -0
- package/build/client/_app/immutable/nodes/0.DE4cH2YD.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DE4cH2YD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.4lGVEmaM.js +1 -0
- package/build/client/_app/immutable/nodes/1.4lGVEmaM.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.4lGVEmaM.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CwMTyEBD.js +1 -0
- package/build/client/_app/immutable/nodes/2.CwMTyEBD.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CwMTyEBD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.CwMTyEBD.js +1 -0
- package/build/client/_app/immutable/nodes/3.CwMTyEBD.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CwMTyEBD.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-tu1i9JSN.js → client.js-BpUHQO7i.js} +5 -5
- package/build/server/chunks/chunks/client.js-BpUHQO7i.js.map +1 -0
- package/build/server/chunks/chunks/{dist.js-BLAtjEg2.js → dist.js-BsI2byNy.js} +8 -8
- package/build/server/chunks/chunks/dist.js-BsI2byNy.js.map +1 -0
- package/build/server/chunks/chunks/{exports.js-B4EFw4Ji.js → exports.js-DcikzMRR.js} +8 -8
- package/build/server/chunks/chunks/{exports.js-B4EFw4Ji.js.map → exports.js-DcikzMRR.js.map} +1 -1
- package/build/server/chunks/chunks/{internal.js-B7HEnRRn.js → internal.js-D20lTOcu.js} +1433 -1278
- package/build/server/chunks/chunks/internal.js-D20lTOcu.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-D-KCnrMA.js → preview-workbench.js-FFkxz5kp.js} +219 -263
- package/build/server/chunks/chunks/preview-workbench.js-FFkxz5kp.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-BwqObSDl.js → state.js-CeDU2glb.js} +5 -5
- package/build/server/chunks/chunks/state.js-CeDU2glb.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-GGW3JKeX.js +19 -0
- package/build/server/chunks/entries/fallbacks/{error.svelte.js-dtmsjrQ-.js.map → error.svelte.js-GGW3JKeX.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-zoNYaW-w.js → _page.svelte.js-BEi6piR5.js} +9 -9
- package/build/server/chunks/entries/pages/_...email_/{_page.svelte.js-zoNYaW-w.js.map → _page.svelte.js-BEi6piR5.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-DZjqaZyY.js → _layout.svelte.js-rXy2z4B2.js} +7 -7
- package/build/server/chunks/entries/pages/{_layout.svelte.js-DZjqaZyY.js.map → _layout.svelte.js-rXy2z4B2.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-e4D6kjEV.js → _page.svelte.js-29xbFbxQ.js} +9 -9
- package/build/server/chunks/entries/pages/{_page.svelte.js-e4D6kjEV.js.map → _page.svelte.js-29xbFbxQ.js.map} +1 -1
- package/build/server/chunks/{handler-D1Al3aSN.js → handler-Dotyk3N2.js} +3 -3
- package/build/server/chunks/{handler-D1Al3aSN.js.map → handler-Dotyk3N2.js.map} +1 -1
- package/build/server/chunks/{index.js-aEkQ90X-.js → index.js-Us6e1cjR.js} +32 -32
- package/build/server/chunks/{index.js-aEkQ90X-.js.map → index.js-Us6e1cjR.js.map} +1 -1
- package/build/server/chunks/{manifest.js-D1l2PWoe.js → manifest.js-DkJRY23b.js} +6 -6
- package/build/server/chunks/{manifest.js-D1l2PWoe.js.map → manifest.js-DkJRY23b.js.map} +1 -1
- package/build/server/chunks/nodes/{0.js-0i5mP-xS.js → 0.js-QqRCGOCe.js} +6 -6
- package/build/server/chunks/nodes/{0.js-0i5mP-xS.js.map → 0.js-QqRCGOCe.js.map} +1 -1
- package/build/server/chunks/nodes/1.js-BZNzDKQZ.js +9 -0
- package/build/server/chunks/nodes/{1.js-D6kUTsHM.js.map → 1.js-BZNzDKQZ.js.map} +1 -1
- package/build/server/chunks/nodes/2.js-DuXcJGBg.js +15 -0
- package/build/server/chunks/nodes/{2.js-DBRm5Mec.js.map → 2.js-DuXcJGBg.js.map} +1 -1
- package/build/server/chunks/nodes/3.js-CGbkoOPk.js +15 -0
- package/build/server/chunks/nodes/{3.js-hASuDVIY.js.map → 3.js-CGbkoOPk.js.map} +1 -1
- package/package.json +5 -5
- package/build/client/_app/immutable/chunks/2MRX-TVL.js +0 -24
- package/build/client/_app/immutable/chunks/2MRX-TVL.js.br +0 -0
- package/build/client/_app/immutable/chunks/2MRX-TVL.js.gz +0 -0
- 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/BVT4tdIN.js +0 -29
- package/build/client/_app/immutable/chunks/BVT4tdIN.js.br +0 -0
- package/build/client/_app/immutable/chunks/BVT4tdIN.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/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/V5Yjt9wD2.js.br +0 -0
- package/build/client/_app/immutable/chunks/V5Yjt9wD2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/V76vKrr3.js +0 -1
- package/build/client/_app/immutable/chunks/V76vKrr3.js.br +0 -0
- package/build/client/_app/immutable/chunks/V76vKrr3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/WBW9X-Hs.js +0 -2
- package/build/client/_app/immutable/chunks/WBW9X-Hs.js.br +0 -0
- package/build/client/_app/immutable/chunks/WBW9X-Hs.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/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/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.42egGAL-.js +0 -2
- package/build/client/_app/immutable/entry/app.42egGAL-.js.br +0 -0
- package/build/client/_app/immutable/entry/app.42egGAL-.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.B2why4Bn.js +0 -1
- package/build/client/_app/immutable/entry/start.B2why4Bn.js.br +0 -1
- package/build/client/_app/immutable/entry/start.B2why4Bn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.CKw__0XK.js +0 -1
- package/build/client/_app/immutable/nodes/0.CKw__0XK.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CKw__0XK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BoepTJZq.js +0 -1
- package/build/client/_app/immutable/nodes/1.BoepTJZq.js.br +0 -1
- package/build/client/_app/immutable/nodes/1.BoepTJZq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.D5ztFITe.js +0 -1
- package/build/client/_app/immutable/nodes/2.D5ztFITe.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.D5ztFITe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.D5ztFITe.js +0 -1
- package/build/client/_app/immutable/nodes/3.D5ztFITe.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.D5ztFITe.js.gz +0 -0
- package/build/server/chunks/chunks/client.js-tu1i9JSN.js.map +0 -1
- package/build/server/chunks/chunks/dist.js-BLAtjEg2.js.map +0 -1
- package/build/server/chunks/chunks/internal.js-B7HEnRRn.js.map +0 -1
- package/build/server/chunks/chunks/preview-workbench.js-D-KCnrMA.js.map +0 -1
- package/build/server/chunks/chunks/state.js-BwqObSDl.js.map +0 -1
- package/build/server/chunks/entries/fallbacks/error.svelte.js-dtmsjrQ-.js +0 -19
- package/build/server/chunks/nodes/1.js-D6kUTsHM.js +0 -9
- package/build/server/chunks/nodes/2.js-DBRm5Mec.js +0 -15
- package/build/server/chunks/nodes/3.js-hASuDVIY.js +0 -15
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./B4nfriop.js","./D3_lVCrH.js","./CVhNsCIr.js","./Bf_OO4m5.js","./Dgfk8zCU.js","./B0iNQslz.js","./BCyR5SPb.js","./Dtn6NLbI.js","./B3OdPoN_.js","./DIA3aJp6.js","./BPpVW1t9.js","./pk7CcyRt2.js","./BuyVToAU.js","./BXeXVLqQ.js","./CogqGmtf2.js","./Dbkyqgda2.js","./GPf5fMLC2.js","./DNvRKwb02.js","./Ft8OTbFq2.js","./bTVj8UrX2.js","./o5QeSYPS2.js","./DvRy0wJr2.js","./gzcpVVnB2.js","./CsCG9XlY2.js","./AoC3-GXO2.js","./DatEshCS.js","./CmhtYr-H.js","./DPeYfO_X.js","./DRtTh9R_.js","./cM1P9coc.js","./Cc8H0qaz.js","./CDG3PAdG.js","./XT7mgm2-.js","./DlX1gWpk.js","./PMQDBV5J.js","./BL4DOeuO.js","./b1-zR7XP.js","./OOMz51rW.js","./DET9eGgo.js","./CJteGSc7.js","./D8mc0qWB.js","./CXuKk5E8.js","./BYOwaDjH.js","./R4sQ-3Hc2.js","./CYNrtFtB.js","./Yf0g_uY-2.js","./CyoNGCRj2.js","./CBce3t8t2.js","./DYvRD3hg2.js","./DDqZBno92.js","./woXpYk--.js","./CLbN30Ww2.js","./sDfmG-q52.js","./BLs_XbWi2.js","./B92yCKkz2.js","./i9_wZDsL2.js","./D8y1tx0e2.js","./CjRP0NjD2.js","./Dx-8-gkx.js","./Dc2A3rbH2.js","./C8oCnwJJ2.js","./Cx4VUS55.js","./MfeErNn-.js","./QtN_jOZp.js","./BzltqjU8.js","./BLb6t9Lh.js","./DHhcNfbx.js","./D_kqbw5z.js","./BO_NcNPW.js","./DeSyfjfB.js","./DXvs48Yn.js","./DVTAwKKz.js","./D8qrblp8.js","./C5JeTiTv2.js","./DJMQeKeT.js","./DqNF_brF2.js","./DmoyGeAS2.js","./CyOMC1H12.js","./DqKBuwfJ2.js","./oqKa8noW.js","./CnvKMtbv.js","./IyjqRm3v.js","./rLFTqkRN2.js","./CacY0gHj2.js","./B5eOa1yu.js","./Dixweg8N.js","./D1A_Heim2.js","./O90oeIOV2.js","./C3eVgNwp2.js","./DOwzaHZ02.js","./B3gFvitq2.js","./Cfkwpbl82.js","./BiFt_7mu2.js","./CMLA9XwU2.js","./CJy9scTx2.js","./B1eC0VY6.js","./2pZ28JA1.js","./DJARFHrx.js","./DaM5BcfV.js","./Bj61d0ZC2.js","./C5bbMRzS.js","./BR43B8UW.js","./Cvrh5tZx2.js","./CWbY0LAI.js","./KNb_0kK5.js","./B5B4dYe2.js","./ByJddavk.js","./DJoGK9kf.js","./b4xeCETc.js","./D2hLgkL3.js","./V5Yjt9wD2.js","./C4aeQxkf2.js","./fhodw31A2.js","./BHIi3qVr2.js","./qdxAdBWQ2.js","./Ci_nEsc72.js","./CYpm1nAK.js","./BNLmms1o.js","./CCSX75yM2.js","./CyEgAFGc.js","./Dh5ihWbf.js","./B2gwz-sJ2.js","./C2tE-Xb62.js","./C_ew8g7J2.js","./Dtv7UOty2.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,I as c,J as l,K as u,L as d,M as f,N as p,O as m,P as h,Q as g,R as _,S as v,St as y,T as b,U as x,V as S,W as C,X as w,Y as T,Z as E,_ as ee,_t as D,a as O,at as te,b as k,bt as ne,c as re,ct as ie,d as A,dt as j,f as ae,ft as oe,g as se,gt as ce,h as M,ht as N,i as P,it as F,j as I,k as le,l as ue,lt as de,m as fe,n as pe,o as L,p as me,q as he,rt as R,s as ge,st as _e,tt as z,u as ve,ut as B,vt as V,w as ye,x as H,xt as be,y as xe,yt as U,z as Se}from"./D3_lVCrH.js";import{l as Ce,n as we,t as Te}from"./WBW9X-Hs.js";import{t as W}from"./DuqgYnXA.js";import"./xihTtKlq.js";import{i as Ee,n as De,r as Oe}from"./2MRX-TVL.js";import{t as ke}from"./V76vKrr3.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=()=>ie(Me),Pe=new Set([`$$slots`,`$$events`,`$$legacy`,`name`,`color`,`size`,`strokeWidth`,`absoluteStrokeWidth`,`iconNode`,`children`]),Fe=p(`<svg><!><!></svg>`);function Ie(e,n){j(n,!0);let i=Ne()??{},a=P(n,`color`,19,()=>i.color??`currentColor`),o=P(n,`size`,19,()=>i.size??24),s=P(n,`strokeWidth`,19,()=>i.strokeWidth??2),c=P(n,`absoluteStrokeWidth`,19,()=>i.absoluteStrokeWidth??!1),l=P(n,`iconNode`,19,()=>[]),u=O(n,Pe),d=F(()=>c()?Number(s())*24/Number(o()):s());var f=Fe();A(f,e=>({...Ae,...e,...u,width:o(),height:o(),stroke:a(),"stroke-width":S(d),class:[`lucide-icon lucide`,i.class,n.name&&`lucide-${n.name}`,n.class]}),[()=>!n.children&&!je(u)&&{"aria-hidden":`true`}]);var p=w(f);r(p,17,l,ye,(e,n)=>{var r=F(()=>ne(S(n),2));let i=()=>S(r)[0],a=()=>S(r)[1];var o=I(),s=E(o);xe(s,i,!0,(e,t)=>{A(e,()=>({...a()}))}),t(e,o)});var m=g(p);H(m,()=>n.children??U),V(f),t(e,f),B()}var Le=new Set([`$$slots`,`$$events`,`$$legacy`]);function Re(e,t){let n=O(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,L({name:`copy`},()=>n,{get iconNode(){return r}}))}var ze=new Set([`$$slots`,`$$events`,`$$legacy`]);function Be(e,t){let n=O(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,L({name:`ellipsis`},()=>n,{get iconNode(){return r}}))}var Ve=new Set([`$$slots`,`$$events`,`$$legacy`]);function He(e,t){let n=O(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,L({name:`ellipsis-vertical`},()=>n,{get iconNode(){return r}}))}var Ue=new Set([`$$slots`,`$$events`,`$$legacy`]);function We(e,t){let n=O(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,L({name:`external-link`},()=>n,{get iconNode(){return r}}))}var Ge=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ke(e,t){let n=O(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,L({name:`moon-star`},()=>n,{get iconNode(){return r}}))}var qe=new Set([`$$slots`,`$$events`,`$$legacy`]);function Je(e,t){let n=O(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,L({name:`panel-left-open`},()=>n,{get iconNode(){return r}}))}var Ye=new Set([`$$slots`,`$$events`,`$$legacy`]);function Xe(e,t){let n=O(t,Ye),r=[[`path`,{d:`m21 21-4.34-4.34`}],[`circle`,{cx:`11`,cy:`11`,r:`8`}]];Ie(e,L({name:`search`},()=>n,{get iconNode(){return r}}))}var Ze=new Set([`$$slots`,`$$events`,`$$legacy`]);function Qe(e,t){let n=O(t,Ze),r=[[`rect`,{width:`14`,height:`20`,x:`5`,y:`2`,rx:`2`,ry:`2`}],[`path`,{d:`M12 18h.01`}]];Ie(e,L({name:`smartphone`},()=>n,{get iconNode(){return r}}))}var $e=new Set([`$$slots`,`$$events`,`$$legacy`]);function et(e,t){let n=O(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,L({name:`sun-medium`},()=>n,{get iconNode(){return r}}))}var tt=new Set([`$$slots`,`$$events`,`$$legacy`]);function nt(e,t){let n=O(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,L({name:`tablet`},()=>n,{get iconNode(){return r}}))}var rt=new Set([`$$slots`,`$$events`,`$$legacy`]);function it(e,t){let n=O(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,L({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=i(be(((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=R(!1);constructor(){l(()=>(C(()=>z(this.#e,!0)),()=>{z(this.#e,!1)}))}get current(){return S(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=R(e(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||Ce))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(()=>z(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(()=>z(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(()=>z(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(()=>z(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(S(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(S(this.#d),t,e,!0);if(z(this.#d,n,!0),this.#n.updateURL&&!Ce){if(this.#n.compress)this.#g(e);else{let n=this.#h(S(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(z(this.#d,t,!0),this.#n.updateURL&&!Ce){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 z(this.#d,new Oe,!0),this.#n.updateURL&&!Ce&&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(S(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(S(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(S(this.#d),r,n,!0);if(z(this.#d,i,!0),this.#n.updateURL&&!Ce){if(this.#n.compress)this.#g(n);else{let e=this.#h(S(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 l(()=>{if(!(!r.current||Ce)){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}}),l(()=>{if(!r.current||Ce||t.updateURL===!1)return;let e=ke.url.searchParams;i&&n.syncFromURL(e)}),!Ce&&t.debounce&&t.debounce>0&&l(()=>()=>{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=O(t,gt),r=[[`path`,{d:`m6 9 6 6 6-6`}]];Ie(e,L({name:`chevron-down`},()=>n,{get iconNode(){return r}}))}var vt=new Set([`$$slots`,`$$events`,`$$legacy`]);function yt(e,t){let n=O(t,vt),r=[[`path`,{d:`m9 18 6-6-6-6`}]];Ie(e,L({name:`chevron-right`},()=>n,{get iconNode(){return r}}))}var bt=new Set([`$$slots`,`$$events`,`$$legacy`]);function xt(e,t){let n=O(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,L({name:`folder`},()=>n,{get iconNode(){return r}}))}var St=new Set([`$$slots`,`$$events`,`$$legacy`]);function Ct(e,t){let n=O(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,L({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),G=e=>!!e&&!Number.isNaN(Number(e)),mn=e=>!!e&&Number.isInteger(Number(e)),hn=e=>e.endsWith(`%`)&&G(e.slice(0,-1)),gn=e=>cn.test(e),_n=()=>!0,vn=e=>ln.test(e)&&!un.test(e),yn=()=>!1,bn=e=>dn.test(e),xn=e=>fn.test(e),Sn=e=>!K(e)&&!q(e),Cn=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)),wn=e=>zn(e,Un,yn),K=e=>an.test(e),Tn=e=>zn(e,Wn,vn),En=e=>zn(e,Gn,G),Dn=e=>zn(e,qn,_n),On=e=>zn(e,Kn,yn),kn=e=>zn(e,Vn,yn),An=e=>zn(e,Hn,xn),jn=e=>zn(e,Jn,bn),q=e=>on.test(e),Mn=e=>Bn(e,Wn),Nn=e=>Bn(e,Kn),Pn=e=>Bn(e,Vn),Fn=e=>Bn(e,Un),In=e=>Bn(e,Hn),Ln=e=>Bn(e,Jn,!0),Rn=e=>Bn(e,qn,!0),zn=(e,t,n)=>{let r=an.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Bn=(e,t,n=!1)=>{let r=on.exec(e);return r?r[1]?t(r[1]):n:!1},Vn=e=>e===`position`||e===`percentage`,Hn=e=>e===`image`||e===`url`,Un=e=>e===`length`||e===`size`||e===`bg-size`,Wn=e=>e===`length`,Gn=e=>e===`number`,Kn=e=>e===`family-name`,qn=e=>e===`number`||e===`weight`,Jn=e=>e===`shadow`,Yn=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=()=>[mn,`none`,`subgrid`,q,K],ee=()=>[`auto`,{span:[`full`,mn,q,K]},mn,q,K],D=()=>[mn,`auto`,q,K],O=()=>[`auto`,`min`,`max`,`fr`,q,K],te=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],k=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],ne=()=>[`auto`,...w()],re=()=>[pn,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ie=()=>[pn,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],A=()=>[pn,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],j=()=>[e,q,K],ae=()=>[...b(),Pn,kn,{position:[q,K]}],oe=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],se=()=>[`auto`,`cover`,`contain`,Fn,wn,{size:[q,K]}],ce=()=>[hn,Mn,Tn],M=()=>[``,`none`,`full`,l,q,K],N=()=>[``,G,Mn,Tn],P=()=>[`solid`,`dashed`,`dotted`,`double`],F=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],I=()=>[G,hn,Pn,kn],le=()=>[``,`none`,m,q,K],ue=()=>[`none`,G,q,K],de=()=>[`none`,G,q,K],fe=()=>[G,q,K],pe=()=>[pn,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[gn],breakpoint:[gn],color:[_n],container:[gn],"drop-shadow":[gn],ease:[`in`,`out`,`in-out`],font:[Sn],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[gn],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[gn],shadow:[gn],spacing:[`px`,G],text:[gn],"text-shadow":[gn],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":[Cn],columns:[{columns:[G,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:[mn,`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:[G,pn,`auto`,`initial`,`none`,K]}],grow:[{grow:[``,G,q,K]}],shrink:[{shrink:[``,G,q,K]}],order:[{order:[mn,`first`,`last`,`none`,q,K]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:ee()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:ee()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":O()}],"auto-rows":[{"auto-rows":O()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...te(),`normal`]}],"justify-items":[{"justify-items":[...k(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...k()]}],"align-content":[{content:[`normal`,...te()]}],"align-items":[{items:[...k(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...k(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":te()}],"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:ne()}],mx:[{mx:ne()}],my:[{my:ne()}],ms:[{ms:ne()}],me:[{me:ne()}],mbs:[{mbs:ne()}],mbe:[{mbe:ne()}],mt:[{mt:ne()}],mr:[{mr:ne()}],mb:[{mb:ne()}],ml:[{ml:ne()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:re()}],"inline-size":[{inline:[`auto`,...ie()]}],"min-inline-size":[{"min-inline":[`auto`,...ie()]}],"max-inline-size":[{"max-inline":[`none`,...ie()]}],"block-size":[{block:[`auto`,...A()]}],"min-block-size":[{"min-block":[`auto`,...A()]}],"max-block-size":[{"max-block":[`none`,...A()]}],w:[{w:[s,`screen`,...re()]}],"min-w":[{"min-w":[s,`screen`,`none`,...re()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...re()]}],h:[{h:[`screen`,`lh`,...re()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...re()]}],"max-h":[{"max-h":[`screen`,`lh`,...re()]}],"font-size":[{text:[`base`,n,Mn,Tn]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Rn,Dn]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,hn,K]}],"font-family":[{font:[Nn,On,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":[G,`none`,q,En]}],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:j()}],"text-color":[{text:j()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...P(),`wavy`]}],"text-decoration-thickness":[{decoration:[G,`from-font`,`auto`,q,Tn]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[G,`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:[mn,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:ae()}],"bg-repeat":[{bg:oe()}],"bg-size":[{bg:se()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},mn,q,K],radial:[``,q,K],conic:[mn,q,K]},In,An]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:M()}],"rounded-s":[{"rounded-s":M()}],"rounded-e":[{"rounded-e":M()}],"rounded-t":[{"rounded-t":M()}],"rounded-r":[{"rounded-r":M()}],"rounded-b":[{"rounded-b":M()}],"rounded-l":[{"rounded-l":M()}],"rounded-ss":[{"rounded-ss":M()}],"rounded-se":[{"rounded-se":M()}],"rounded-ee":[{"rounded-ee":M()}],"rounded-es":[{"rounded-es":M()}],"rounded-tl":[{"rounded-tl":M()}],"rounded-tr":[{"rounded-tr":M()}],"rounded-br":[{"rounded-br":M()}],"rounded-bl":[{"rounded-bl":M()}],"border-w":[{border:N()}],"border-w-x":[{"border-x":N()}],"border-w-y":[{"border-y":N()}],"border-w-s":[{"border-s":N()}],"border-w-e":[{"border-e":N()}],"border-w-bs":[{"border-bs":N()}],"border-w-be":[{"border-be":N()}],"border-w-t":[{"border-t":N()}],"border-w-r":[{"border-r":N()}],"border-w-b":[{"border-b":N()}],"border-w-l":[{"border-l":N()}],"divide-x":[{"divide-x":N()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":N()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...P(),`hidden`,`none`]}],"divide-style":[{divide:[...P(),`hidden`,`none`]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-bs":[{"border-bs":j()}],"border-color-be":[{"border-be":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...P(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[G,q,K]}],"outline-w":[{outline:[``,G,Mn,Tn]}],"outline-color":[{outline:j()}],shadow:[{shadow:[``,`none`,u,Ln,jn]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":[`none`,d,Ln,jn]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:N()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[G,Tn]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":N()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":[`none`,f,Ln,jn]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[G,q,K]}],"mix-blend":[{"mix-blend":[...F(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":F()}],"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":[G]}],"mask-image-linear-from-pos":[{"mask-linear-from":I()}],"mask-image-linear-to-pos":[{"mask-linear-to":I()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":I()}],"mask-image-t-to-pos":[{"mask-t-to":I()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":I()}],"mask-image-r-to-pos":[{"mask-r-to":I()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":I()}],"mask-image-b-to-pos":[{"mask-b-to":I()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":I()}],"mask-image-l-to-pos":[{"mask-l-to":I()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":I()}],"mask-image-x-to-pos":[{"mask-x-to":I()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":I()}],"mask-image-y-to-pos":[{"mask-y-to":I()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[q,K]}],"mask-image-radial-from-pos":[{"mask-radial-from":I()}],"mask-image-radial-to-pos":[{"mask-radial-to":I()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"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":[G]}],"mask-image-conic-from-pos":[{"mask-conic-from":I()}],"mask-image-conic-to-pos":[{"mask-conic-to":I()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ae()}],"mask-repeat":[{mask:oe()}],"mask-size":[{mask:se()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,q,K]}],filter:[{filter:[``,`none`,q,K]}],blur:[{blur:le()}],brightness:[{brightness:[G,q,K]}],contrast:[{contrast:[G,q,K]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Ln,jn]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:[``,G,q,K]}],"hue-rotate":[{"hue-rotate":[G,q,K]}],invert:[{invert:[``,G,q,K]}],saturate:[{saturate:[G,q,K]}],sepia:[{sepia:[``,G,q,K]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,q,K]}],"backdrop-blur":[{"backdrop-blur":le()}],"backdrop-brightness":[{"backdrop-brightness":[G,q,K]}],"backdrop-contrast":[{"backdrop-contrast":[G,q,K]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,G,q,K]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[G,q,K]}],"backdrop-invert":[{"backdrop-invert":[``,G,q,K]}],"backdrop-opacity":[{"backdrop-opacity":[G,q,K]}],"backdrop-saturate":[{"backdrop-saturate":[G,q,K]}],"backdrop-sepia":[{"backdrop-sepia":[``,G,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:[G,`initial`,q,K]}],ease:[{ease:[`linear`,`initial`,_,q,K]}],delay:[{delay:[G,q,K]}],animate:[{animate:[`none`,v,q,K]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,q,K]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ue()}],"rotate-x":[{"rotate-x":ue()}],"rotate-y":[{"rotate-y":ue()}],"rotate-z":[{"rotate-z":ue()}],scale:[{scale:de()}],"scale-x":[{"scale-x":de()}],"scale-y":[{"scale-y":de()}],"scale-z":[{"scale-z":de()}],"scale-3d":[`scale-3d`],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[q,K,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:pe()}],"translate-x":[{"translate-x":pe()}],"translate-y":[{"translate-y":pe()}],"translate-z":[{"translate-z":pe()}],"translate-none":[`translate-none`],zoom:[{zoom:[mn,q,K]}],accent:[{accent:j()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:j()}],"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":j()}],"scrollbar-track-color":[{"scrollbar-track":j()}],"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`,...j()]}],"stroke-w":[{stroke:[G,Mn,Tn,En]}],stroke:[{stroke:[`none`,...j()]}],"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 Yn(ee(e))}var Xn=new Set([`$$slots`,`$$events`,`$$legacy`,`class`]),Zn=p(`<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 Qn(e,n){let r=O(n,Xn);var i=Zn();A(i,()=>({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:n.class,viewBox:`0 0 93.2 112`,style:`enable-background:new 0 0 93.2 112;`,"xml:space":`preserve`,...r})),t(e,i)}var $n=f(`<ul class="flex flex-col gap-px"></ul>`),er=f(`<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),tr=f(`<div class="absolute top-0 bottom-0 left-0 w-0.5 bg-svelte"></div>`),nr=f(`<a><!> <!> <span class="truncate"> </span></a>`),rr=f(`<li class="list-none"><!></li>`);function ir(e,n){j(n,!0);let i=P(n,`depth`,3,0),a=P(n,`selectedFile`,3,null),s=P(n,`searchActive`,3,!1),c=R(!1),l=R(!1),u=F(()=>n.node.type===`directory`),f=F(()=>n.node.type===`file`&&a()===n.node.path),p=F(()=>n.node.type===`directory`&&!!a()&&(a()===n.node.path||a().startsWith(`${n.node.path}/`))),h=F(()=>S(u)?n.node.items:[]),_=F(()=>s()||S(p)||S(c)||!S(l)&&i()<1);function v(){if(S(u)){if(S(_)){z(c,!1),z(l,!0);return}z(l,!1),z(c,!0)}}function y(e){return`${.5+e*1}rem`}var b=rr(),x=w(b),C=e=>{var c=er(),l=E(c),u=w(l),f=w(u),b=e=>{_t(e,{class:`size-3`})},x=e=>{yt(e,{class:`size-3`})};o(f,e=>{S(_)?e(b):e(x,-1)}),V(u);var C=g(u,2),T=e=>{Ct(e,{class:`size-3.5 shrink-0`})},ee=e=>{xt(e,{class:`size-3.5 shrink-0`})};o(C,e=>{S(_)||S(p)?e(T):e(ee,-1)});var D=g(C,2),O=w(D,!0);V(D),V(l);var te=g(l,2),k=e=>{var o=$n();r(o,21,()=>S(h),e=>e.path,(e,t)=>{{let r=F(()=>i()+1);ir(e,{get node(){return S(t)},get depth(){return S(r)},get selectedFile(){return a()},get searchActive(){return s()},get toEmailHref(){return n.toEmailHref}})}}),V(o),t(e,o)};o(te,e=>{S(_)&&S(h).length>0&&e(k)}),he((e,t)=>{M(l,1,e),fe(l,t),me(l,`aria-expanded`,S(_)),m(O,n.node.name)},[()=>se(J(`group flex w-full items-center gap-2 py-1.5 pr-3 text-left text-xs transition-colors`,S(p)?`font-medium text-foreground`:`text-muted-foreground hover:text-foreground`)),()=>`padding-left: ${y(i())};`]),d(`click`,l,v),t(e,c)},T=e=>{var r=nr(),a=w(r),s=e=>{var n=tr();t(e,n)};o(a,e=>{S(f)&&e(s)});var c=g(a,2);{let e=F(()=>J(`size-3.5 shrink-0`,S(f)?`text-svelte`:`opacity-70 group-hover:opacity-100`));Qn(c,{get class(){return S(e)}})}var l=g(c,2),u=w(l,!0);V(l),V(r),he((e,t,i)=>{me(r,`href`,e),M(r,1,t),fe(r,i),me(r,`aria-current`,S(f)?`page`:void 0),m(u,n.node.name)},[()=>n.toEmailHref(n.node.path),()=>se(J(`group relative flex w-full items-center gap-2 py-1.5 pr-3 text-left text-xs transition-colors`,S(f)?`bg-foreground font-medium text-background`:`text-muted-foreground hover:bg-muted/50 hover:text-foreground`)),()=>`padding-left: ${y(i())}`]),t(e,r)};o(x,e=>{S(u)?e(C):e(T,-1)}),V(b),t(e,b),B()}c([`click`]);var ar=new Set([`$$slots`,`$$events`,`$$legacy`]);function or(e,t){let n=O(t,ar),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,L({name:`mail`},()=>n,{get iconNode(){return r}}))}var sr=Array.isArray,cr=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(sr(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:cr(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},lr=/\s+/g,ur=Array.isArray,dr=e=>typeof e!=`string`||!e?e:e.replace(lr,` `).trim(),fr=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},pr=(...e)=>{let t=cr(e);if(t)return fr(t)?dr(t):t},mr=e=>e===!1?`false`:e===!0?`true`:e===0?`0`:e,hr=e=>{if(!e||typeof e!=`object`)return!0;for(let t in e)return!1;return!0},gr=(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},_r=(e,t)=>{let n=e;for(let e in t)if(Object.hasOwn(t,e)){let r=t[e];n[e]=e in n?pr(n[e],r):r}return e},vr=(e,t)=>{for(let n=0;n<e.length;n++){let r=e[n];ur(r)?vr(r,t):r&&t.push(r)}},yr=(...e)=>{let t=[];vr(e,t);let n=[];for(let e=0;e<t.length;e++)t[e]&&n.push(t[e]);return n},br=(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]=ur(t)||ur(n)?yr(n,t):typeof t==`object`&&typeof n==`object`&&t&&n?br(t,n):n+` `+t}else i[e]=t}for(let e in r)e in n||(i[e]=r[e]);return i},xr={twMerge:!0,twMergeConfig:{}},Sr=256,Cr=128,wr=Symbol(`tv-cache-miss`),Tr=e=>e?.class!=null&&e.class!==``||e?.className!=null&&e.className!==``,Er=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=mr(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},Dr=(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+`?`}},Or=(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=Er(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=Er(a);if(s===null)return null;i+=r+`:`+s+`;`}return i},kr=(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=Dr(n,i[t]),n+=`,`}n+=`c=`,n=Dr(n,i.class),n+=`|cn=`,n=Dr(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=Dr(n,i[t]),n+=`,`}Array.isArray(i.slots)&&(n+=`slots=`+i.slots.join(`,`)+`,`),n+=`c=`,n=Dr(n,i.class),n+=`|cn=`,n=Dr(n,i.className),n+=`;`}return n},Ar=(e=Sr)=>{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 wr},set(r,i){t.size>=e&&(n=t,t=new Map),t.set(r,i)}}},jr=(e=Sr)=>{let t=Ar(e);return{get(e){return t.get(e)},set(e,n){t.set(e,n)}}},Mr=(e=Cr)=>{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 wr},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)}}},Nr=(e,t)=>{let n=null;return(r,i)=>{if(!Tr(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??=Mr();let s=r??``,c=(typeof a==`string`?a:``)+`\0`+(typeof o==`string`?o:``),l=n.get(s,c);if(l!==wr)return l;let u=e(t,r,a,o);return n.set(s,c,u),u}};function Pr(){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 Fr=Pr(),Ir=e=>{!hr(e.twMergeConfig)&&!gr(e.twMergeConfig,Fr.cachedTwMergeConfig)&&(Fr.didTwMergeConfigChange=!0,Fr.cachedTwMergeConfig=e.twMergeConfig)},Lr=(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:hr(a)})}return n},Rr=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},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!==`slots`&&e!==`class`&&e!==`className`&&i.push(e);t.push({conditionKeys:i,source:r})}return t},Br=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},Vr=(e,t)=>{let{extend:n=null,slots:r={},variants:i={},compoundVariants:a=[],compoundSlots:o=[],defaultVariants:s={}}=e,c={...xr,...t},l=e.slots!==void 0,u=n?.base?pr(n.base,e?.base):e?.base,d=n?.variants&&!hr(n.variants)?br(i,n.variants):i,f=n?.defaultVariants&&!hr(n.defaultVariants)?{...n.defaultVariants,...s}:s;Ir(c);let p=!n?.slots||hr(n.slots),m=l?p&&n?.base?pr(e?.base,n.base):typeof e?.base==`string`||e?.base==null?e.base:pr(e.base):void 0,h=l?{base:m,...r}:{},g=p?h:_r({...n?.slots},hr(h)?{base:e?.base}:h),_=!n?.compoundVariants||hr(n.compoundVariants)?a:yr(n?.compoundVariants,a),v=!n?.compoundSlots||hr(n.compoundSlots)?o:yr(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}},Hr=e=>e.compiledVariants===null?(e.compiledVariants=Lr(e.variants,e.variantKeys),e.compiledCompoundVariants=Rr(e.compoundVariants),e.compiledCompoundSlots=zr(e.compoundSlots),e.compiledCompoundSlotsBySlot=Br(e.compiledCompoundSlots),e.slotKeys=e.slots&&typeof e.slots==`object`?Object.keys(e.slots):[],e):e,Ur=[],Wr=[],Gr=[],Kr=[],qr=[],Jr=(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},Yr=e=>e==null||e===!1,Xr=(e,t)=>{if(!Array.isArray(e))return e===t||Yr(e)&&Yr(t);for(let n=0;n<e.length;n++){let r=e[n];if(r===t||Yr(r)&&Yr(t))return!0}return!1},Zr=(e,t,n,r)=>{if(e.isEmpty)return null;let i=r?.[e.key]??n?.[e.key];if(i===null)return null;let a=mr(i);if(typeof a==`object`)return null;let o=t?.[e.key],s=a??mr(o);return e.values[s||`false`]},Qr=(e,t)=>{let{conditionKeys:n,source:r}=e;for(let e=0;e<n.length;e++){let i=n[e];if(!Xr(r[i],t[i]))return!1}return!0},$r=(e,t,n)=>{typeof n==`string`?t===`base`&&e.push(n):n&&typeof n==`object`&&n[t]&&e.push(n[t])},ei=(e,t,n)=>{let r=Wr;r.length=0;for(let i=0;i<e.length;i++){let a=Zr(e[i],t,n);a&&r.push(a)}return r},ti=(e,t,n,r,i)=>{let a=Wr;a.length=0;for(let o=0;o<t.length;o++){let s=Zr(t[o],n,r,i),c=e===`base`&&typeof s==`string`?s:s&&s[e];c&&a.push(c)}return a},ni=(e,t)=>{let n=Gr;n.length=0;for(let r=0;r<e.length;r++){let i=e[r];Qr(i,t)&&(i.source.class&&n.push(i.source.class),i.source.className&&n.push(i.source.className))}return n},ri=(e,t,n)=>{let r=Kr;r.length=0;for(let i=0;i<t.length;i++){let a=t[i];Qr(a,n)&&($r(r,e,a.source.class),$r(r,e,a.source.className))}return r},ii=(e,t)=>{let n=qr;n.length=0;for(let r=0;r<e.length;r++){let i=e[r];Qr(i,t)&&(i.source.class&&n.push(i.source.class),i.source.className&&n.push(i.source.className))}return n},ai=(e,t)=>{let{base:n,config:r}=e,i=wr,a=Nr(t,r);return(e=>(i===wr&&(i=t(r,n)),a(i,e)))},oi=(e,t)=>{let{base:n,config:r,defaultVariants:i,deferredError:a,variantKeys:o}=e,s=e.compiledCompoundVariants,c=e.compiledVariants,l=Ur,u=null,d=Nr(t,r),f=1,p=e=>{let a=s.length>0?ni(s,Jr(i,e)):void 0;return t(r,n,ei(c,i,e),a)};return(t=>{if(a)throw a;(c===null||s===null)&&(Hr(e),c=e.compiledVariants,s=e.compiledCompoundVariants,l=e.compiledCompoundSlots??Ur);let n;if(f>0)f--,n=p(t);else{u??=jr();let e=Or(o,i,t);if(e!==null){let r=s.length>0||l.length>0?kr(s,l):``,i=e+`#`+r,a=u.get(i);a===wr?(n=p(t),u.set(i,n)):n=a}else n=p(t)}return d(n,t)})},si=(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)&&Hr(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=Nr(t,n);let p=Array(l.length);for(let e=0;e<l.length;e++){let c=l[e],u=o[c]??Ur;p[e]=(e,o)=>{let l=d?Jr(r,e,o):void 0,f=l?ri(c,s,l):void 0,p=l?ii(u,l):void 0;return t(n,a[c],ti(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=Or(o,r,e);if(t===null)return g(e);let n=d?kr(s,c):``,a=t+`#`+n;p??=Ar();let l=p.get(a);if(l!==wr)return l;let u=g(e);return p.set(a,u),u})},ci=(e,t)=>{if(e.mode===`plain`)return ai(e,t);let n;return(r=>(n??=e.mode===`slots`?si(e,t):oi(e,t),n(r)))},li=(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},ui=e=>{let t=(t,n)=>{let r=Vr(t,n),i=ci(r,e);return li(i,r),i};return{tv:t,createTV:e=>(n,r)=>t(n,r?br(e,r):e)}},di=(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},fi=(e,t)=>({classGroupId:e,validator:t}),pi=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),mi=`-`,hi=[],gi=`arbitrary..`,_i=e=>{let t=bi(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e[0]===`[`&&e[e.length-1]===`]`)return yi(e);let n=e.split(mi);return vi(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?di(i,t):t:i||hi}return n[e]||hi}}},vi=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=vi(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(mi):e.slice(t).join(mi),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},yi=e=>{let t=e.slice(1,-1),n=t.indexOf(`:`);if(n===-1)return;let r=t.slice(0,n);return r?gi+r:void 0},bi=e=>{let{theme:t,classGroups:n}=e;return xi(n,t)},xi=(e,t)=>{let n=pi();for(let r in e){let i=e[r];Si(i,n,r,t)}return n},Si=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Ci(i,t,n,r)}},Ci=(e,t,n,r)=>{if(typeof e==`string`){wi(e,t,n);return}if(typeof e==`function`){Ti(e,t,n,r);return}Ei(e,t,n,r)},wi=(e,t,n)=>{let r=e===``?t:Di(t,e);r.classGroupId=n},Ti=(e,t,n,r)=>{if(Oi(e)){Si(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(fi(n,e))},Ei=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Si(o,Di(t,a),n,r)}},Di=(e,t)=>{let n=e,r=t.split(mi),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=pi(),n.nextPart.set(t,i)),n=i}return n},Oi=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,ki=`!`,Ai=58,ji=47,Mi=91,Ni=93,Pi=40,Fi=41,Ii=33,Li=(e,t,n,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:void 0}),Ri=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===Ai){t.push(e.slice(i,s)),i=s+1;continue}if(o===ji){a=s;continue}}o===Mi?n++:o===Ni?n--:o===Pi?r++:o===Fi&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1,u=s.length-1;s.charCodeAt(u)===Ii?(c=s.slice(0,-1),l=!0):s.charCodeAt(0)===Ii&&(c=s.slice(1),l=!0);let d=a&&a>i?a-i:void 0;return Li(t,l,c,d)},zi=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}},Bi={isExternal:!0,classId:-1,conflictIds:[]},Vi=4096,Hi=16384,Ui=e=>{let t=zi(e),n=Wi(e),{getClassGroupId:r,getConflictingClassGroupIds:i}=_i(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}=Ri(e);if(a)return Bi;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 Bi;u=!1}let f=o.length===0?``:o.length===1?o[0]:t(o).join(`:`),p=s?f+ki: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>Vi&&(s=0,o=a,a=Object.create(null)),t):t};return{parseClassName:Ri,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>Hi&&(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}}},Wi=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},Gi=500,Ki=e=>{let t,n,r=Object.create(null),i=Object.create(null),a=0,o=r=>(t=Ui(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>Gi&&(a=0,i=r,r=Object.create(null)),t):t},c=(...e)=>c.mergeString(cr(e));return c.mergeString=o,c},qi=[],Ji=e=>{let t=t=>t[e]||qi;return t.isThemeGetter=!0,t},Yi=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Xi=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Zi=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Qi=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$i=/\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$/,ea=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ta=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,na=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ra=Number,ia=Number.isNaN,aa=Number.isInteger,oa=e=>Zi.test(e),sa=e=>!!e&&!ia(ra(e)),ca=e=>!!e&&aa(ra(e)),la=e=>e.endsWith(`%`)&&sa(e.slice(0,-1)),ua=e=>Qi.test(e),da=()=>!0,fa=e=>$i.test(e)&&!ea.test(e),pa=()=>!1,ma=e=>ta.test(e),ha=e=>na.test(e),ga=e=>!Y(e)&&!X(e),_a=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)),va=e=>Na(e,La,pa),Y=e=>Yi.test(e),ya=e=>Na(e,Ra,fa),ba=e=>Na(e,za,sa),xa=e=>Na(e,Va,da),Sa=e=>Na(e,Ba,pa),Ca=e=>Na(e,Fa,pa),wa=e=>Na(e,Ia,ha),Ta=e=>Na(e,Ha,ma),X=e=>Xi.test(e),Ea=e=>Pa(e,Ra),Da=e=>Pa(e,Ba),Oa=e=>Pa(e,Fa),ka=e=>Pa(e,La),Aa=e=>Pa(e,Ia),ja=e=>Pa(e,Ha,!0),Ma=e=>Pa(e,Va,!0),Na=(e,t,n)=>{let r=Yi.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Pa=(e,t,n=!1)=>{let r=Xi.exec(e);return r?r[1]?t(r[1]):n:!1},Fa=e=>e===`position`||e===`percentage`,Ia=e=>e===`image`||e===`url`,La=e=>e===`length`||e===`size`||e===`bg-size`,Ra=e=>e===`length`,za=e=>e===`number`,Ba=e=>e===`family-name`,Va=e=>e===`number`||e===`weight`,Ha=e=>e===`shadow`,Ua=()=>{let e=Ji(`color`),t=Ji(`font`),n=Ji(`text`),r=Ji(`font-weight`),i=Ji(`tracking`),a=Ji(`leading`),o=Ji(`breakpoint`),s=Ji(`container`),c=Ji(`spacing`),l=Ji(`radius`),u=Ji(`shadow`),d=Ji(`inset-shadow`),f=Ji(`text-shadow`),p=Ji(`drop-shadow`),m=Ji(`blur`),h=Ji(`perspective`),g=Ji(`aspect`),_=Ji(`ease`),v=Ji(`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=()=>[oa,`full`,`auto`,...w()],E=()=>[ca,`none`,`subgrid`,X,Y],ee=()=>[`auto`,{span:[`full`,ca,X,Y]},ca,X,Y],D=()=>[ca,`auto`,X,Y],O=()=>[`auto`,`min`,`max`,`fr`,X,Y],te=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],k=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],ne=()=>[`auto`,...w()],re=()=>[oa,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ie=()=>[oa,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],A=()=>[oa,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],j=()=>[e,X,Y],ae=()=>[...b(),Oa,Ca,{position:[X,Y]}],oe=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],se=()=>[`auto`,`cover`,`contain`,ka,va,{size:[X,Y]}],ce=()=>[la,Ea,ya],M=()=>[``,`none`,`full`,l,X,Y],N=()=>[``,sa,Ea,ya],P=()=>[`solid`,`dashed`,`dotted`,`double`],F=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],I=()=>[sa,la,Oa,Ca],le=()=>[``,`none`,m,X,Y],ue=()=>[`none`,sa,X,Y],de=()=>[`none`,sa,X,Y],fe=()=>[sa,X,Y],pe=()=>[oa,`full`,...w()];return{theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[ua],breakpoint:[ua],color:[da],container:[ua],"drop-shadow":[ua],ease:[`in`,`out`,`in-out`],font:[ga],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[ua],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[ua],shadow:[ua],spacing:[`px`,sa],text:[ua],"text-shadow":[ua],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,oa,Y,X,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,X,Y]}],"container-named":[_a],columns:[{columns:[sa,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:[ca,`auto`,X,Y]}],basis:[{basis:[oa,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[sa,oa,`auto`,`initial`,`none`,Y]}],grow:[{grow:[``,sa,X,Y]}],shrink:[{shrink:[``,sa,X,Y]}],order:[{order:[ca,`first`,`last`,`none`,X,Y]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:ee()}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:ee()}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":O()}],"auto-rows":[{"auto-rows":O()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...te(),`normal`]}],"justify-items":[{"justify-items":[...k(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...k()]}],"align-content":[{content:[`normal`,...te()]}],"align-items":[{items:[...k(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...k(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":te()}],"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:ne()}],mx:[{mx:ne()}],my:[{my:ne()}],ms:[{ms:ne()}],me:[{me:ne()}],mbs:[{mbs:ne()}],mbe:[{mbe:ne()}],mt:[{mt:ne()}],mr:[{mr:ne()}],mb:[{mb:ne()}],ml:[{ml:ne()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:re()}],"inline-size":[{inline:[`auto`,...ie()]}],"min-inline-size":[{"min-inline":[`auto`,...ie()]}],"max-inline-size":[{"max-inline":[`none`,...ie()]}],"block-size":[{block:[`auto`,...A()]}],"min-block-size":[{"min-block":[`auto`,...A()]}],"max-block-size":[{"max-block":[`none`,...A()]}],w:[{w:[s,`screen`,...re()]}],"min-w":[{"min-w":[s,`screen`,`none`,...re()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...re()]}],h:[{h:[`screen`,`lh`,...re()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...re()]}],"max-h":[{"max-h":[`screen`,`lh`,...re()]}],"font-size":[{text:[`base`,n,Ea,ya]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Ma,xa]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,la,Y]}],"font-family":[{font:[Da,Sa,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":[sa,`none`,X,ba]}],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:j()}],"text-color":[{text:j()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...P(),`wavy`]}],"text-decoration-thickness":[{decoration:[sa,`from-font`,`auto`,X,ya]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[sa,`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:[ca,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:ae()}],"bg-repeat":[{bg:oe()}],"bg-size":[{bg:se()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},ca,X,Y],radial:[``,X,Y],conic:[ca,X,Y]},Aa,wa]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:M()}],"rounded-s":[{"rounded-s":M()}],"rounded-e":[{"rounded-e":M()}],"rounded-t":[{"rounded-t":M()}],"rounded-r":[{"rounded-r":M()}],"rounded-b":[{"rounded-b":M()}],"rounded-l":[{"rounded-l":M()}],"rounded-ss":[{"rounded-ss":M()}],"rounded-se":[{"rounded-se":M()}],"rounded-ee":[{"rounded-ee":M()}],"rounded-es":[{"rounded-es":M()}],"rounded-tl":[{"rounded-tl":M()}],"rounded-tr":[{"rounded-tr":M()}],"rounded-br":[{"rounded-br":M()}],"rounded-bl":[{"rounded-bl":M()}],"border-w":[{border:N()}],"border-w-x":[{"border-x":N()}],"border-w-y":[{"border-y":N()}],"border-w-s":[{"border-s":N()}],"border-w-e":[{"border-e":N()}],"border-w-bs":[{"border-bs":N()}],"border-w-be":[{"border-be":N()}],"border-w-t":[{"border-t":N()}],"border-w-r":[{"border-r":N()}],"border-w-b":[{"border-b":N()}],"border-w-l":[{"border-l":N()}],"divide-x":[{"divide-x":N()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":N()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...P(),`hidden`,`none`]}],"divide-style":[{divide:[...P(),`hidden`,`none`]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-bs":[{"border-bs":j()}],"border-color-be":[{"border-be":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...P(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[sa,X,Y]}],"outline-w":[{outline:[``,sa,Ea,ya]}],"outline-color":[{outline:j()}],shadow:[{shadow:[``,`none`,u,ja,Ta]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":[`none`,d,ja,Ta]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:N()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[sa,ya]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":N()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":[`none`,f,ja,Ta]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[sa,X,Y]}],"mix-blend":[{"mix-blend":[...F(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":F()}],"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":[sa]}],"mask-image-linear-from-pos":[{"mask-linear-from":I()}],"mask-image-linear-to-pos":[{"mask-linear-to":I()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":I()}],"mask-image-t-to-pos":[{"mask-t-to":I()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":I()}],"mask-image-r-to-pos":[{"mask-r-to":I()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":I()}],"mask-image-b-to-pos":[{"mask-b-to":I()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":I()}],"mask-image-l-to-pos":[{"mask-l-to":I()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":I()}],"mask-image-x-to-pos":[{"mask-x-to":I()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":I()}],"mask-image-y-to-pos":[{"mask-y-to":I()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[X,Y]}],"mask-image-radial-from-pos":[{"mask-radial-from":I()}],"mask-image-radial-to-pos":[{"mask-radial-to":I()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"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":[sa]}],"mask-image-conic-from-pos":[{"mask-conic-from":I()}],"mask-image-conic-to-pos":[{"mask-conic-to":I()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ae()}],"mask-repeat":[{mask:oe()}],"mask-size":[{mask:se()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,X,Y]}],filter:[{filter:[``,`none`,X,Y]}],blur:[{blur:le()}],brightness:[{brightness:[sa,X,Y]}],contrast:[{contrast:[sa,X,Y]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,ja,Ta]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:[``,sa,X,Y]}],"hue-rotate":[{"hue-rotate":[sa,X,Y]}],invert:[{invert:[``,sa,X,Y]}],saturate:[{saturate:[sa,X,Y]}],sepia:[{sepia:[``,sa,X,Y]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,X,Y]}],"backdrop-blur":[{"backdrop-blur":le()}],"backdrop-brightness":[{"backdrop-brightness":[sa,X,Y]}],"backdrop-contrast":[{"backdrop-contrast":[sa,X,Y]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,sa,X,Y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[sa,X,Y]}],"backdrop-invert":[{"backdrop-invert":[``,sa,X,Y]}],"backdrop-opacity":[{"backdrop-opacity":[sa,X,Y]}],"backdrop-saturate":[{"backdrop-saturate":[sa,X,Y]}],"backdrop-sepia":[{"backdrop-sepia":[``,sa,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:[sa,`initial`,X,Y]}],ease:[{ease:[`linear`,`initial`,_,X,Y]}],delay:[{delay:[sa,X,Y]}],animate:[{animate:[`none`,v,X,Y]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,X,Y]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ue()}],"rotate-x":[{"rotate-x":ue()}],"rotate-y":[{"rotate-y":ue()}],"rotate-z":[{"rotate-z":ue()}],scale:[{scale:de()}],"scale-x":[{"scale-x":de()}],"scale-y":[{"scale-y":de()}],"scale-z":[{"scale-z":de()}],"scale-3d":[`scale-3d`],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[X,Y,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:pe()}],"translate-x":[{"translate-x":pe()}],"translate-y":[{"translate-y":pe()}],"translate-z":[{"translate-z":pe()}],"translate-none":[`translate-none`],zoom:[{zoom:[ca,X,Y]}],accent:[{accent:j()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:j()}],"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":j()}],"scrollbar-track-color":[{"scrollbar-track":j()}],"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`,...j()]}],"stroke-w":[{stroke:[sa,Ea,ya,ba]}],stroke:[{stroke:[`none`,...j()]}],"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`]}},Wa=(e,{extend:t={},override:n={}})=>(Ka(e.theme,n.theme),Ka(e.classGroups,n.classGroups),Ka(e.conflictingClassGroups,n.conflictingClassGroups),Ka(e.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers),Ga(e,`postfixLookupClassGroups`,n.postfixLookupClassGroups),Ga(e,`orderSensitiveModifiers`,n.orderSensitiveModifiers),qa(e.theme,t.theme),qa(e.classGroups,t.classGroups),qa(e.conflictingClassGroups,t.conflictingClassGroups),qa(e.conflictingClassGroupModifiers,t.conflictingClassGroupModifiers),Ja(e,t,`postfixLookupClassGroups`),Ja(e,t,`orderSensitiveModifiers`),e),Ga=(e,t,n)=>{n!==void 0&&(e[t]=n)},Ka=(e,t)=>{if(t)for(let n in t)Ga(e,n,t[n])},qa=(e,t)=>{if(t)for(let n in t)Ja(e,t,n)},Ja=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},Ya=e=>Ki(e?typeof e==`function`?()=>e(Ua()):()=>Wa(Ua(),e):Ua),Xa=e=>{if(hr(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&&!hr(t.override)&&(r.override=t.override),!(!r.extend&&!r.override))return r},Za=e=>{let t=Ya(Xa(e));return e=>t.mergeString(e)},Qa,$a=()=>(Qa||=Ya(),Qa),eo=()=>((!Fr.cachedTwMerge||Fr.didTwMergeConfigChange)&&(Fr.didTwMergeConfigChange=!1,Fr.cachedTwMerge=Za(Fr.cachedTwMergeConfig)),Fr.cachedTwMerge),to=e=>{let t=e?.twMergeConfig;!t||hr(t)||gr(t,Fr.cachedTwMergeConfig)||(Fr.cachedTwMergeConfig=t,Fr.didTwMergeConfigChange=!0)},no=e=>cr(e);(()=>{let e=Error();return!(`line`in e)&&!(`lineNumber`in e)})();var ro=Fr.reset.bind(Fr);Fr.reset=()=>{Qa=void 0,ro()};var io=(e,t)=>{let n=no(e);return!n||!(t?.twMerge??!0)?n||void 0:n.indexOf(` `)===-1?n:(to(t),(t?.twMergeConfig&&!hr(t.twMergeConfig)?eo():$a().mergeString)(n)||void 0)},ao=ui((e,...t)=>io(t,e)),oo=ao.tv;ao.createTV;var so=oo({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`}}),co=new Set([`$$slots`,`$$events`,`$$legacy`,`class`,`variant`,`size`,`ref`,`href`,`type`,`disabled`,`children`]),lo=f(`<a><!></a>`),uo=f(`<button><!></button>`);function fo(e,n){j(n,!0);let r=P(n,`variant`,3,`default`),i=P(n,`size`,3,`default`),a=P(n,`ref`,15,null),s=P(n,`href`,3,void 0),c=P(n,`type`,3,`button`),l=O(n,co);var u=I(),d=E(u),f=e=>{var o=lo();A(o,e=>({"data-slot":`button`,class:e,href:n.disabled?void 0:s(),"aria-disabled":n.disabled,role:n.disabled?`link`:void 0,tabindex:n.disabled?-1:void 0,...l}),[()=>J(so({variant:r(),size:i()}),n.class)]);var c=w(o);H(c,()=>n.children??U),V(o),re(o,e=>a(e),()=>a()),t(e,o)},p=e=>{var o=uo();A(o,e=>({"data-slot":`button`,class:e,type:c(),disabled:n.disabled,...l}),[()=>J(so({variant:r(),size:i()}),n.class)]);var s=w(o);H(s,()=>n.children??U),V(o),re(o,e=>a(e),()=>a()),t(e,o)};o(d,e=>{s()?e(f):e(p,-1)}),t(e,u),B()}function po(e){return typeof e==`function`}function mo(e){return typeof e==`object`&&!!e}var ho=[`string`,`number`,`bigint`,`boolean`];function go(e){return e==null||ho.includes(typeof e)?!0:Array.isArray(e)?e.every(e=>go(e)):typeof e==`object`&&Object.getPrototypeOf(e)===Object.prototype}var _o=Symbol(`box`),vo=Symbol(`is-writable`);function Z(e,t){let n=F(e);return t?{[_o]:!0,[vo]:!0,get current(){return S(n)},set current(e){t(e)}}:{[_o]:!0,get current(){return e()}}}function yo(e){return mo(e)&&_o in e}function bo(e){return yo(e)?e:po(e)?Z(e):xo(e)}function xo(t){let n=R(e(t));return{[_o]:!0,[vo]:!0,get current(){return S(n)},set current(e){z(n,e,!0)}}}function So(...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 Co=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,wo=/\n/g,To=/^\s*/,Eo=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Do=/^:\s*/,Oo=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ko=/^[;\s]*/,Ao=/^\s+|\s+$/g,jo=`
|
|
13
|
-
`,Mo=`/`,No=`*`,Po=``,Fo=`comment`,Io=`declaration`;function Lo(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(wo);t&&(n+=t.length);var i=e.lastIndexOf(jo);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(To)}function u(e){var t;for(e||=[];t=d();)t!==!1&&e.push(t);return e}function d(){var t=a();if(Mo==e.charAt(0)&&No==e.charAt(1)){for(var n=2;Po!=e.charAt(n)&&(No!=e.charAt(n)||Mo!=e.charAt(n+1));)++n;if(n+=2,Po===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:Fo,comment:o})}}function f(){var e=a(),t=c(Eo);if(t){if(d(),!c(Do))return s(`property missing ':'`);var n=c(Oo),r=e({type:Io,property:Ro(t[0].replace(Co,Po)),value:n?Ro(n[0].replace(Co,Po)):Po});return c(ko),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 Ro(e){return e?e.replace(Ao,Po):Po}function zo(e,t){let n=null;if(!e||typeof e!=`string`)return n;let r=Lo(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 Bo=/\d/,Vo=[`-`,`_`,`/`,`.`];function Ho(e=``){if(!Bo.test(e))return e!==e.toLowerCase()}function Uo(e){let t=[],n=``,r,i;for(let a of e){let e=Vo.includes(a);if(e===!0){t.push(n),n=``,r=void 0;continue}let o=Ho(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 Wo(e){return e?Uo(e).map(e=>Ko(e)).join(``):``}function Go(e){return qo(Wo(e||``))}function Ko(e){return e?e[0].toUpperCase()+e.slice(1):``}function qo(e){return e?e[0].toLowerCase()+e.slice(1):``}function Jo(e){if(!e)return{};let t={};function n(e,n){if(e.startsWith(`-moz-`)||e.startsWith(`-webkit-`)||e.startsWith(`-ms-`)||e.startsWith(`-o-`)){t[Wo(e)]=n;return}if(e.startsWith(`--`)){t[e]=n;return}t[Go(e)]=n}return zo(e,n),t}function Yo(...e){return(...t)=>{for(let n of e)typeof n==`function`&&n(...t)}}function Xo(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 Zo=Xo(/[A-Z]/,e=>`-${e.toLowerCase()}`);function Qo(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=>`${Zo(t)}: ${e[t]};`).join(`
|
|
14
|
-
`)}function $o(e={}){return Qo(e).replace(`
|
|
15
|
-
`,` `)}var es=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 ts(e){return es.has(e)}function ns(...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&&ts(e))t[e]=So(n,i);else if(a&&o)t[e]=Yo(n,i);else if(e===`class`){let r=go(n),a=go(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=Jo(i);t[e]={...n,...r}}else if(o&&a)t[e]={...Jo(n),...i};else if(o&&s){let r=Jo(n),a=Jo(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=$o(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 rs={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%)`};$o(rs);var is=typeof window<`u`?window:void 0;typeof window<`u`&&window.document,typeof window<`u`&&window.navigator,typeof window<`u`&&window.location;function as(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:t=is,document:n=t?.document}=e;t!==void 0&&(this.#e=n,this.#t=te(e=>{let n=Se(t,`focusin`,e),r=Se(t,`focusout`,e);return()=>{n(),r()}}))}get current(){return this.#t?.(),this.#e?as(this.#e):null}};function os(e){return typeof e==`function`}var ss=class{#e;#t;constructor(e){this.#e=e,this.#t=Symbol(e)}get key(){return this.#t}exists(){return de(this.#t)}get(){let e=ie(this.#t);if(e===void 0)throw Error(`Context "${this.#e}" not found`);return e}getOr(e){let t=ie(this.#t);return t===void 0?e:t}set(e){return oe(this.#t,e)}};function cs(e,t){switch(e){case`post`:l(t);break;case`pre`:T(t)}}function ls(e,t,n,r={}){let{lazy:i=!1}=r,a=!i,o=Array.isArray(e)?[]:void 0;cs(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 us(e,t,n){ls(e,`post`,t,n)}function ds(e,t,n){ls(e,`pre`,t,n)}us.pre=ds;function fs(e){return os(e)?e():e}var ps=class{#e={width:0,height:0};#t=!1;#n;#r;#i;#a=F(()=>(S(this.#s)?.(),this.getSize().width));#o=F(()=>(S(this.#s)?.(),this.getSize().height));#s=F(()=>{let e=fs(this.#r);if(e)return te(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??is,this.#n=t,this.#r=e,this.#e={width:0,height:0}}calculateSize(){let e=fs(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 S(this.#s)?.(),this.getSize()}get width(){return S(this.#a)}get height(){return S(this.#o)}};function ms(e){l(()=>()=>{e()})}function hs(e){l(()=>C(()=>e()))}function gs(e,t){return setTimeout(t,e)}function _s(e){x().then(e)}var vs=1,ys=9,bs=11;function xs(e){return mo(e)&&e.nodeType===vs&&typeof e.nodeName==`string`}function Ss(e){return mo(e)&&e.nodeType===ys}function Cs(e){return mo(e)&&e.constructor?.name===`VisualViewport`}function ws(e){return mo(e)&&e.nodeType!==void 0}function Ts(e){return ws(e)&&e.nodeType===bs&&`host`in e}function Es(e,t){if(!e||!t||!xs(e)||!xs(t))return!1;let n=t.getRootNode?.();if(e===t||e.contains(t))return!0;if(n&&Ts(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function Ds(e){return Ss(e)?e:Cs(e)?e.document:e?.ownerDocument??document}function Os(e){return Ts(e)?Os(e.host):Ss(e)?e.defaultView??window:xs(e)?e.ownerDocument?.defaultView??window:window}function ks(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}var As=class{element;#e=F(()=>this.element.current?this.element.current.getRootNode()??document:document);get root(){return S(this.#e)}set root(e){z(this.#e,e)}constructor(e){this.element=typeof e==`function`?Z(e):e}getDocument=()=>Ds(this.root);getWindow=()=>this.getDocument().defaultView??window;getActiveElement=()=>ks(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 js(e,t){return{[n()]:n=>yo(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 Ms(e){return e?`true`:`false`}function Ns(e){return e?``:void 0}function Ps(e){return e?`open`:`closed`}function Fs(e){return e===`starting`?{"data-starting-style":``}:e===`ending`?{"data-ending-style":``}:{}}function Is(e,t){return t?`mixed`:e?`true`:`false`}var Ls=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 Rs(e){let t=new Ls(e);return{...t.attrs,selector:t.selector,getAttr:t.getAttr}}var zs=typeof document<`u`,Bs=Vs();function Vs(){return zs&&window?.navigator?.userAgent&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||window?.navigator?.maxTouchPoints>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Hs(e){return e instanceof HTMLElement}function Us(e){return e instanceof Element}function Ws(e){return e instanceof Element||e instanceof SVGElement}function Gs(e){return e.pointerType===`touch`}function Ks(e){return e.matches(`:focus-visible`)}function qs(e){return e!==null}var Js=class{#e;#t=null;#n=null;#r=0;constructor(e){this.#e=e,ms(()=>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?_s(t):t()}},Ys=class{#e;#t;#n;#r=R(!1);#i=R(void 0);#a=!1;#o=null;constructor(e){this.#e=e,z(this.#r,e.open.current,!0),this.#t=e.enabled??!0,this.#n=new Js({ref:this.#e.ref,afterTick:this.#e.open}),ms(()=>this.#s()),us(()=>this.#e.open.current,e=>{if(!this.#a){this.#a=!0;return}if(this.#s(),!e&&this.#e.shouldSkipExitAnimation?.()){z(this.#r,!1),z(this.#i,void 0),this.#e.onComplete?.();return}if(e&&z(this.#r,!0),z(this.#i,e?`starting`:`ending`,!0),e&&(this.#o=window.requestAnimationFrame(()=>{this.#o=null,this.#e.open.current&&z(this.#i,void 0)})),!this.#t){e||z(this.#r,!1),z(this.#i,void 0),this.#e.onComplete?.();return}this.#n.run(()=>{e===this.#e.open.current&&(this.#e.open.current||z(this.#r,!1),z(this.#i,void 0),this.#e.onComplete?.())})})}get shouldRender(){return S(this.#r)}get transitionStatus(){return S(this.#i)}#s(){this.#o!==null&&(window.cancelAnimationFrame(this.#o),this.#o=null)}};function Xs(){}function Zs(e,t){return t===void 0?`bits-${e}`:`bits-${e}-${t}`}var Qs=Rs({component:`dialog`,parts:[`content`,`trigger`,`overlay`,`title`,`description`,`close`,`cancel`,`action`]}),$s=new ss(`Dialog.Root | AlertDialog.Root`),ec=class e{static create(t){let n=$s.getOr(null);return $s.set(new e(t,n))}opts;#e=R(null);get triggerNode(){return S(this.#e)}set triggerNode(e){z(this.#e,e,!0)}#t=R(null);get contentNode(){return S(this.#t)}set contentNode(e){z(this.#t,e,!0)}#n=R(null);get overlayNode(){return S(this.#n)}set overlayNode(e){z(this.#n,e,!0)}#r=R(null);get descriptionNode(){return S(this.#r)}set descriptionNode(e){z(this.#r,e,!0)}#i=R(void 0);get contentId(){return S(this.#i)}set contentId(e){z(this.#i,e,!0)}#a=R(void 0);get titleId(){return S(this.#a)}set titleId(e){z(this.#a,e,!0)}#o=R(void 0);get triggerId(){return S(this.#o)}set triggerId(e){z(this.#o,e,!0)}#s=R(void 0);get descriptionId(){return S(this.#s)}set descriptionId(e){z(this.#s,e,!0)}#c=R(null);get cancelNode(){return S(this.#c)}set cancelNode(e){z(this.#c,e,!0)}#l=R(0);get nestedOpenCount(){return S(this.#l)}set nestedOpenCount(e){z(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 Ys({ref:Z(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Ys({ref:Z(()=>this.overlayNode),open:this.opts.open,enabled:!0}),us(()=>this.opts.open.current,e=>{this.parent&&(e?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),ms(()=>{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=>Qs.getAttr(e,this.opts.variant.current);incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}#u=F(()=>({"data-state":Ps(this.opts.open.current)}));get sharedProps(){return S(this.#u)}set sharedProps(e){z(this.#u,e)}},tc=class e{static create(t){return new e(t,$s.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=js(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=F(()=>({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 S(this.#e)}set props(e){z(this.#e,e)}},nc=class e{static create(t){return new e(t,$s.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.root.titleId=this.opts.id.current,this.attachment=js(this.opts.ref),us.pre(()=>this.opts.id.current,e=>{this.root.titleId=e})}#e=F(()=>({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 S(this.#e)}set props(e){z(this.#e,e)}},rc=class e{static create(t){return new e(t,$s.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.root.descriptionId=this.opts.id.current,this.attachment=js(this.opts.ref,e=>{this.root.descriptionNode=e}),us.pre(()=>this.opts.id.current,e=>{this.root.descriptionId=e})}#e=F(()=>({id:this.opts.id.current,[this.root.getBitsAttr(`description`)]:``,...this.root.sharedProps,...this.attachment}));get props(){return S(this.#e)}set props(e){z(this.#e,e)}},ic=class e{static create(t){return new e(t,$s.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=js(this.opts.ref,e=>{this.root.contentNode=e,this.root.contentId=e?.id})}#e=F(()=>({open:this.root.opts.open.current}));get snippetProps(){return S(this.#e)}set snippetProps(e){z(this.#e,e)}#t=F(()=>({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":Ns(this.root.nestedOpenCount>0),"data-nested":Ns(this.root.parent!==null),...Fs(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment}));get props(){return S(this.#t)}set props(e){z(this.#t,e)}get shouldRender(){return this.root.contentPresence.shouldRender}},ac=class e{static create(t){return new e(t,$s.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=js(this.opts.ref,e=>this.root.overlayNode=e)}#e=F(()=>({open:this.root.opts.open.current}));get snippetProps(){return S(this.#e)}set snippetProps(e){z(this.#e,e)}#t=F(()=>({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":Ns(this.root.nestedOpenCount>0),"data-nested":Ns(this.root.parent!==null),...Fs(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment}));get props(){return S(this.#t)}set props(e){z(this.#t,e)}get shouldRender(){return this.root.overlayPresence.shouldRender}},oc=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`ref`,`child`,`children`,`level`]),sc=f(`<div><!></div>`);function cc(e,n){let r=h();j(n,!0);let i=P(n,`id`,19,()=>Zs(r)),a=P(n,`ref`,15,null),s=P(n,`level`,3,2),c=O(n,oc),l=nc.create({id:Z(()=>i()),level:Z(()=>s()),ref:Z(()=>a(),e=>a(e))}),u=F(()=>ns(c,l.props));var d=I(),f=E(d),p=e=>{var r=I(),i=E(r);H(i,()=>n.child,()=>({props:S(u)})),t(e,r)},m=e=>{var r=sc();A(r,()=>({...S(u)}));var i=w(r);H(i,()=>n.children??U),V(r),t(e,r)};o(f,e=>{n.child?e(p):e(m,-1)}),t(e,d),B()}function lc(e,n){var r=I(),i=E(r);b(i,()=>n.children,e=>{var r=I(),i=E(r);H(i,()=>n.children??U),t(e,r)}),t(e,r)}var uc=new ss(`BitsConfig`);function dc(){let e=new fc(null,{});return uc.getOr(e).opts}var fc=class{opts;constructor(e,t){let n=pc(e,t);this.opts={defaultPortalTo:n(e=>e.defaultPortalTo),defaultLocale:n(e=>e.defaultLocale)}}};function pc(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 mc(e,t){return n=>{let r=dc();return Z(()=>{let i=n();if(i!==void 0)return i;let a=e(r).current;return a===void 0?t:a})}}var hc=mc(e=>e.defaultPortalTo,`body`);function gc(e,n){j(n,!0);let r=hc(()=>n.to),i=_e(),s=F(c);function c(){if(!zs||n.disabled)return null;let e=null;return e=typeof r.current==`string`?document.querySelector(r.current):r.current,e}let l;function u(){l&&=(le(l),null)}us([()=>S(s),()=>n.disabled],([e,t])=>{if(!e||t){u();return}return l=a(lc,{target:e,props:{children:n.children},context:i}),()=>{u()}});var d=I(),f=E(d),p=e=>{var r=I(),i=E(r);H(i,()=>n.children??U),t(e,r)};o(f,e=>{n.disabled&&e(p)}),t(e,d),B()}var _c=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,n){return Se(e,this.eventName,e=>{t(e)},n)}};function vc(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 yc(e,t){return e===t||e.contains(t)}function bc(e){return e?.ownerDocument??document}function xc(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 Sc=[`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] *)`],Cc=Sc.join(`,`),wc=typeof Element>`u`,Tc=wc?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ec=!wc&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},Dc=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]`):Dc(e.parentNode))},Oc=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},kc=function(e,t,n){if(Dc(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(Cc));return t&&Tc.call(e,Cc)&&r.unshift(e),r=r.filter(n),r},Ac=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!Dc(a,!1)){if(a.tagName===`SLOT`){var o=a.assignedElements(),s=Ac(o.length?o:a.children,!0,n);n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{Tc.call(a,Cc)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!Dc(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=Ac(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},jc=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},Mc=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Oc(e))&&!jc(e)?0:e.tabIndex},Nc=function(e,t){var n=Mc(e);return n<0&&t&&!jc(e)?0:n},Pc=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Fc=function(e){return e.tagName===`INPUT`},Ic=function(e){return Fc(e)&&e.type===`hidden`},Lc=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},Rc=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},zc=function(e){if(!e.name)return!0;var t=e.form||Ec(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=Rc(r,e.form);return!i||i===e},Bc=function(e){return Fc(e)&&e.type===`radio`},Vc=function(e){return Bc(e)&&!zc(e)},Hc=function(e){var t=e&&Ec(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=Ec(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},Uc=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},Wc=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=Tc.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(Tc.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=Ec(e);if(o&&!o.shadowRoot&&r(o)===!0)return Uc(e);e=e.assignedSlot?e.assignedSlot:!o&&s!==e.ownerDocument?s.host:o}e=a}if(Hc(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return Uc(e);return!1},Gc=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 Tc.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},Kc=function(e,t){return!(t.disabled||Ic(t)||Wc(t,e)||Lc(t)||Gc(t))},qc=function(e,t){return!(Vc(t)||Mc(t)<0||!Kc(e,t))},Jc=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},Yc=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=Nc(a,i),s=i?Yc(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(Pc).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},Xc=function(e,t){return t||={},Yc(t.getShadowRoot?Ac([e],t.includeContainer,{filter:qc.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Jc}):kc(e,t.includeContainer,qc.bind(null,t)))},Zc=function(e,t){return t||={},t.getShadowRoot?Ac([e],t.includeContainer,{filter:Kc.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):kc(e,t.includeContainer,Kc.bind(null,t))},Qc=function(e,t){if(t||={},!e)throw Error(`No node provided`);return Tc.call(e,Cc)!==!1&&qc(t,e)},$c=Sc.concat(`iframe:not([inert]):not([inert] *)`).join(`,`),el=function(e,t){if(t||={},!e)throw Error(`No node provided`);return Tc.call(e,$c)!==!1&&Kc(t,e)},tl=`data-context-menu-trigger`,nl=`data-context-menu-content`;new ss(`Menu.Root`),new ss(`Menu.Root | Menu.Sub`),new ss(`Menu.Content`),new ss(`Menu.Group | Menu.RadioGroup`),new ss(`Menu.RadioGroup`),new ss(`Menu.CheckboxGroup`),new _c(`bitsmenuopen`,{bubbles:!1,cancelable:!0}),Rs({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 rl=class e{static create(t){return new e(t)}opts;#e;#t;#n={pointerdown:!1};#r=!1;#i=!1;#a=void 0;#o;#s=Xs;constructor(e){this.opts=e,this.#t=e.interactOutsideBehavior,this.#e=e.onInteractOutside,this.#o=e.onFocusOutside,l(()=>{this.#a=bc(this.opts.ref.current)});let t=Xs,n=()=>{this.#g(),globalThis.bitsDismissableLayers.delete(this),this.#d.destroy(),t()};us([()=>this.opts.enabled.current,()=>this.opts.ref.current],()=>{if(!(!this.opts.enabled.current||!this.opts.ref.current))return gs(1,()=>{this.opts.ref.current&&(globalThis.bitsDismissableLayers.set(this,this.#t),t(),t=this.#l())}),n}),ms(()=>{this.#g.destroy(),globalThis.bitsDismissableLayers.delete(this),this.#d.destroy(),this.#s(),t()})}#c=e=>{e.defaultPrevented||this.opts.ref.current&&_s(()=>{!this.opts.ref.current||this.#h(e.target)||e.target&&!this.#i&&this.#o.current?.(e)})};#l(){return Yo(Se(this.#a,`pointerdown`,Yo(this.#f,this.#m),{capture:!0}),Se(this.#a,`pointerdown`,Yo(this.#p,this.#d)),Se(this.#a,`focusin`,this.#c))}#u=e=>{let t=e;t.defaultPrevented&&(t=sl(e)),this.#e.current(e)};#d=vc(e=>{if(!this.opts.ref.current){this.#s();return}let t=this.opts.isValidEvent.current(e,this.opts.ref.current)||ol(e,this.opts.ref.current);if(!this.#r||this.#_()||!t){this.#s();return}let n=e;if(n.defaultPrevented&&(n=sl(n)),this.#t.current!==`close`&&this.#t.current!==`defer-otherwise-close`){this.#s();return}e.pointerType===`touch`?(this.#s(),this.#s=Se(this.#a,`click`,this.#u,{once:!0})):this.#e.current(n)},10);#f=e=>{this.#n[e.type]=!0};#p=e=>{this.#n[e.type]=!1};#m=()=>{this.opts.ref.current&&(this.#r=al(this.opts.ref.current))};#h=e=>this.opts.ref.current?yc(this.opts.ref.current,e):!1;#g=vc(()=>{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 il(e=[...globalThis.bitsDismissableLayers]){return e.findLast(([e,{current:t}])=>t===`close`||t===`ignore`)}function al(e){let t=[...globalThis.bitsDismissableLayers],n=il(t);if(n)return n[0].opts.ref.current===e;let[r]=t[0];return r.opts.ref.current===e}function ol(e,t){let n=e.target;if(!Ws(n))return!1;let r=!!n.closest(`[${tl}]`),i=!!t.closest(`[${nl}]`);return`button`in e&&e.button>0&&!r?!1:`button`in e&&e.button===0&&r&&i?!0:r&&i?!1:bc(n).documentElement.contains(n)&&!yc(t,n)&&xc(e,t)}function sl(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 cl(e,n){j(n,!0);let r=P(n,`interactOutsideBehavior`,3,`close`),i=P(n,`onInteractOutside`,3,Xs),a=P(n,`onFocusOutside`,3,Xs),o=P(n,`isValidEvent`,3,()=>!1),s=rl.create({id:Z(()=>n.id),interactOutsideBehavior:Z(()=>r()),onInteractOutside:Z(()=>i()),enabled:Z(()=>n.enabled),onFocusOutside:Z(()=>a()),isValidEvent:Z(()=>o()),ref:n.ref});var c=I(),l=E(c);H(l,()=>n.children??U,()=>({props:s.props})),t(e,c),B()}globalThis.bitsEscapeLayers??=new Map;var ll=class e{static create(t){return new e(t)}opts;domContext;constructor(e){this.opts=e,this.domContext=new As(this.opts.ref);let t=Xs;us(()=>e.enabled.current,n=>(n&&(globalThis.bitsEscapeLayers.set(this,e.escapeKeydownBehavior),t=this.#e()),()=>{t(),globalThis.bitsEscapeLayers.delete(this)}))}#e=()=>Se(this.domContext.getDocument(),`keydown`,this.#t,{passive:!1});#t=e=>{if(e.key!==`Escape`||!ul(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 ul(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 dl(e,n){j(n,!0);let r=P(n,`escapeKeydownBehavior`,3,`close`),i=P(n,`onEscapeKeydown`,3,Xs);ll.create({escapeKeydownBehavior:Z(()=>r()),onEscapeKeydown:Z(()=>i()),enabled:Z(()=>n.enabled),ref:n.ref});var a=I(),o=E(a);H(o,()=>n.children??U),t(e,a),B()}var fl=class e{static instance;#e=xo([]);#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)}},pl=class e{#e=!1;#t=null;#n=fl.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(Se(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)&&el(n))t.preventDefault(),n.focus();else{let t=this.#u(),n=this.#d()[0];(t||n||e).focus()}}}},{capture:!0}),Se(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 n=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()}});n.observe(e,{childList:!0,subtree:!0}),this.#r.push(()=>n.disconnect())}#l(){return this.#t?Xc(this.#t,{includeContainer:!1,getShadowRoot:!0}):[]}#u(){return this.#l()[0]||null}#d(){return this.#t?Zc(this.#t,{includeContainer:!1,getShadowRoot:!0}):[]}static use(t){let n=null;return us([()=>t.ref.current,()=>t.enabled.current],([r,i])=>{r&&i?(n||=new e(t),n.mount(r)):n&&=(n.unmount(),null)}),ms(()=>{n?.unmount()}),{get props(){return{tabindex:-1}}}}};function ml(e,n){j(n,!0);let r=P(n,`enabled`,3,!1),i=P(n,`trapFocus`,3,!1),a=P(n,`loop`,3,!1),o=P(n,`onCloseAutoFocus`,3,Xs),s=P(n,`onOpenAutoFocus`,3,Xs),c=pl.use({enabled:Z(()=>r()),trap:Z(()=>i()),loop:a(),onCloseAutoFocus:Z(()=>o()),onOpenAutoFocus:Z(()=>s()),ref:n.ref});var l=I(),u=E(l);H(u,()=>n.focusScope??U,()=>({props:c.props})),t(e,l),B()}var hl=()=>{};globalThis.bitsTextSelectionLayers??=new Map;var gl=class e{static create(t){return new e(t)}opts;domContext;#e=Xs;#t=!1;#n=hl;#r=hl;constructor(e){this.opts=e,this.domContext=new As(e.ref);let t=Xs;us(()=>[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 Yo(Se(this.domContext.getDocument(),`pointerdown`,this.#o),Se(this.domContext.getDocument(),`pointerup`,So(this.#s,this.#a)))}#a=e=>{this.#r(e)};#o=e=>{let t=this.opts.ref.current,n=e.target;!Hs(t)||!Hs(n)||!this.#t||!bl(this)||!Es(t,n)||(this.#n(e),!e.defaultPrevented&&(this.#e=vl(t,this.domContext.getDocument().body)))};#s=()=>{this.#e(),this.#e=Xs}},_l=e=>e.style.userSelect||e.style.webkitUserSelect;function vl(e,t){let n=_l(t),r=_l(e);return yl(t,`none`),yl(e,`text`),()=>{yl(t,n),yl(e,r)}}function yl(e,t){e.style.userSelect=t,e.style.webkitUserSelect=t}function bl(e){let t=[...globalThis.bitsTextSelectionLayers];if(!t.length)return!1;let n=t.at(-1);return n?n[0]===e:!1}function xl(e,n){j(n,!0);let r=P(n,`preventOverflowTextSelection`,3,!0),i=P(n,`onPointerDown`,3,Xs),a=P(n,`onPointerUp`,3,Xs);gl.create({id:Z(()=>n.id),onPointerDown:Z(()=>i()),onPointerUp:Z(()=>a()),enabled:Z(()=>n.enabled&&r()),ref:n.ref});var o=I(),s=E(o);H(s,()=>n.children??U),t(e,o),B()}globalThis.bitsIdCounter??={current:0};function Sl(e=`bits`){return globalThis.bitsIdCounter.current++,`${e}-${globalThis.bitsIdCounter.current}`}var Cl=class{#e;#t=0;#n=R();#r;constructor(e){this.#e=e}#i(){--this.#t,this.#r&&this.#t<=0&&(this.#r(),z(this.#n,void 0),this.#r=void 0)}get(...e){return this.#t+=1,S(this.#n)===void 0&&(this.#r=u(()=>{z(this.#n,this.#e(...e),!0)})),l(()=>()=>{this.#i()}),S(this.#n)}},wl=new Ee,Tl=R(null),El=null,Dl=null,Ol=!1,kl=Z(()=>{for(let e of wl.values())if(e)return!0;return!1}),Al=null,jl=new Cl(()=>{function e(){document.body.setAttribute(`style`,S(Tl)??``),document.body.style.removeProperty(`--scrollbar-width`),Bs&&El?.(),z(Tl,null)}function t(){Dl!==null&&(window.clearTimeout(Dl),Dl=null)}function n(e,n){t(),Ol=!0,Al=Date.now();let r=Al,i=()=>{Dl=null,Al===r&&(Nl(wl)?Ol=!1:(Ol=!1,n()))},a=e===null?24:e;Dl=window.setTimeout(i,a)}function r(){S(Tl)===null&&wl.size===0&&!Ol&&z(Tl,document.body.getAttribute(`style`),!0)}return us(()=>kl.current,()=>{if(!kl.current)return;r(),Ol=!1;let e=getComputedStyle(document.documentElement),t=getComputedStyle(document.body),n=e.scrollbarGutter?.includes(`stable`)||t.scrollbarGutter?.includes(`stable`),i=window.innerWidth-document.documentElement.clientWidth,a={padding:Number.parseInt(t.paddingRight??`0`,10)+i,margin:Number.parseInt(t.marginRight??`0`,10)};i>0&&!n&&(document.body.style.paddingRight=`${a.padding}px`,document.body.style.marginRight=`${a.margin}px`,document.body.style.setProperty(`--scrollbar-width`,`${i}px`)),document.body.style.overflow=`hidden`,Bs&&(El=Se(document,`touchmove`,e=>{e.target===document.documentElement&&(e.touches.length>1||e.preventDefault())},{passive:!1})),_s(()=>{document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`})}),ms(()=>()=>{El?.()}),{get lockMap(){return wl},resetBodyStyle:e,scheduleCleanupIfNoNewLocks:n,cancelPendingCleanup:t,ensureInitialStyleCaptured:r}}),Ml=class{#e=Sl();#t;#n=()=>null;#r;locked;constructor(e,t=()=>null){this.#t=e,this.#n=t,this.#r=jl.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)),ms(()=>{if(this.#r.lockMap.delete(this.#e),Nl(this.#r.lockMap))return;let e=this.#n();this.#r.scheduleCleanupIfNoNewLocks(e,()=>{this.#r.resetBodyStyle()})}))}};function Nl(e){for(let[t,n]of e)if(n)return!0;return!1}function Pl(e,t){j(t,!0);let n=P(t,`preventScroll`,3,!0),r=P(t,`restoreScrollDelay`,3,null);n()&&new Ml(n(),()=>r()),B()}var Fl=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`forceMount`,`child`,`children`,`ref`]),Il=f(`<div><!></div>`);function Ll(e,n){let r=h();j(n,!0);let i=P(n,`id`,19,()=>Zs(r)),a=P(n,`forceMount`,3,!1),s=P(n,`ref`,15,null),c=O(n,Fl),l=ac.create({id:Z(()=>i()),ref:Z(()=>s(),e=>s(e))}),u=F(()=>ns(c,l.props));var d=I(),f=E(d),p=e=>{var r=I(),i=E(r),a=e=>{var r=I(),i=E(r);{let e=F(()=>({props:ns(S(u)),...l.snippetProps}));H(i,()=>n.child,()=>S(e))}t(e,r)},s=e=>{var r=Il();A(r,e=>({...e}),[()=>ns(S(u))]);var i=w(r);H(i,()=>n.children??U,()=>l.snippetProps),V(r),t(e,r)};o(i,e=>{n.child?e(a):e(s,-1)}),t(e,r)};o(f,e=>{(l.shouldRender||a())&&e(p)}),t(e,d),B()}var Rl=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`children`,`child`,`ref`]),zl=f(`<div><!></div>`);function Bl(e,n){let r=h();j(n,!0);let i=P(n,`id`,19,()=>Zs(r)),a=P(n,`ref`,15,null),s=O(n,Rl),c=rc.create({id:Z(()=>i()),ref:Z(()=>a(),e=>a(e))}),l=F(()=>ns(s,c.props));var u=I(),d=E(u),f=e=>{var r=I(),i=E(r);H(i,()=>n.child,()=>({props:S(l)})),t(e,r)},p=e=>{var r=zl();A(r,()=>({...S(l)}));var i=w(r);H(i,()=>n.children??U),V(r),t(e,r)};o(d,e=>{n.child?e(f):e(p,-1)}),t(e,u),B()}var Vl=Rs({component:`checkbox`,parts:[`root`,`group`,`group-label`,`input`]}),Hl=new ss(`Checkbox.Group`),Ul=new ss(`Checkbox.Root`),Wl=class e{static create(t,n=null){return Ul.set(new e(t,n))}opts;group;#e=F(()=>this.group&&this.group.opts.name.current?this.group.opts.name.current:this.opts.name.current);get trueName(){return S(this.#e)}set trueName(e){z(this.#e,e)}#t=F(()=>this.group&&this.group.opts.required.current?!0:this.opts.required.current);get trueRequired(){return S(this.#t)}set trueRequired(e){z(this.#t,e)}#n=F(()=>this.group&&this.group.opts.disabled.current?!0:this.opts.disabled.current);get trueDisabled(){return S(this.#n)}set trueDisabled(e){z(this.#n,e)}#r=F(()=>this.group&&this.group.opts.readonly.current?!0:this.opts.readonly.current);get trueReadonly(){return S(this.#r)}set trueReadonly(e){z(this.#r,e)}attachment;constructor(e,t){this.opts=e,this.group=t,this.attachment=js(this.opts.ref),this.onkeydown=this.onkeydown.bind(this),this.onclick=this.onclick.bind(this),us.pre([()=>N(this.group?.opts.value.current),()=>this.opts.value.current],([e,t])=>{!e||!t||(this.opts.checked.current=e.includes(t))}),us.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=F(()=>({checked:this.opts.checked.current,indeterminate:this.opts.indeterminate.current}));get snippetProps(){return S(this.#a)}set snippetProps(e){z(this.#a,e)}#o=F(()=>({id:this.opts.id.current,role:`checkbox`,type:this.opts.type.current,disabled:this.trueDisabled,"aria-checked":Is(this.opts.checked.current,this.opts.indeterminate.current),"aria-required":Ms(this.trueRequired),"aria-readonly":Ms(this.trueReadonly),"data-disabled":Ns(this.trueDisabled),"data-readonly":Ns(this.trueReadonly),"data-state":Kl(this.opts.checked.current,this.opts.indeterminate.current),[Vl.root]:``,onclick:this.onclick,onkeydown:this.onkeydown,...this.attachment}));get props(){return S(this.#o)}set props(e){z(this.#o,e)}},Gl=class e{static create(){return new e(Ul.get())}root;#e=F(()=>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 S(this.#e)}set trueChecked(e){z(this.#e,e)}#t=F(()=>!!this.root.trueName);get shouldRender(){return S(this.#t)}set shouldRender(e){z(this.#t,e)}constructor(e){this.root=e,this.onfocus=this.onfocus.bind(this)}onfocus(e){Hs(this.root.opts.ref.current)&&this.root.opts.ref.current.focus()}#n=F(()=>({type:`checkbox`,checked:this.root.opts.checked.current===!0,disabled:this.root.trueDisabled,required:this.root.trueRequired,name:this.root.trueName,value:this.root.opts.value.current,readonly:this.root.trueReadonly,onfocus:this.onfocus}));get props(){return S(this.#n)}set props(e){z(this.#n,e)}};function Kl(e,t){return t?`indeterminate`:e?`checked`:`unchecked`}ce();var ql=new Set([`$$slots`,`$$events`,`$$legacy`,`value`]),Jl=f(`<input/>`);function Yl(e,n){j(n,!0);let r=P(n,`value`,15),i=O(n,ql),a=F(()=>ns(i,{"aria-hidden":`true`,tabindex:-1,style:{...rs,position:`absolute`,top:`0`,left:`0`}}));var s=I(),c=E(s),l=e=>{var n=Jl();A(n,()=>({...S(a),value:r()}),void 0,void 0,void 0,void 0,!0),t(e,n)},u=e=>{var n=Jl();A(n,()=>({...S(a)}),void 0,void 0,void 0,void 0,!0),ve(n,r),t(e,n)};o(c,e=>{S(a).type===`checkbox`?e(l):e(u,-1)}),t(e,s),B()}function Xl(e,n){j(n,!1);let r=Gl.create();ge();var i=I(),a=E(i),s=e=>{Yl(e,L(()=>r.props))};o(a,e=>{r.shouldRender&&e(s)}),t(e,i),B()}var Zl=new Set([`$$slots`,`$$events`,`$$legacy`,`checked`,`ref`,`onCheckedChange`,`children`,`disabled`,`required`,`name`,`value`,`id`,`indeterminate`,`onIndeterminateChange`,`child`,`type`,`readonly`]),Ql=f(`<button><!></button>`),$l=f(`<!> <!>`,1);function eu(e,n){let r=h();j(n,!0);let i=P(n,`checked`,15,!1),a=P(n,`ref`,15,null),s=P(n,`disabled`,3,!1),c=P(n,`required`,3,!1),l=P(n,`name`,3,void 0),u=P(n,`value`,3,`on`),d=P(n,`id`,19,()=>Zs(r)),f=P(n,`indeterminate`,15,!1),p=P(n,`type`,3,`button`),m=O(n,Zl),_=Hl.getOr(null);_&&u()&&(_.opts.value.current.includes(u())?i(!0):i(!1)),us.pre(()=>u(),()=>{_&&u()&&(_.opts.value.current.includes(u())?i(!0):i(!1))});let v=Wl.create({checked:Z(()=>i(),e=>{i(e),n.onCheckedChange?.(e)}),disabled:Z(()=>s()??!1),required:Z(()=>c()),name:Z(()=>l()),value:Z(()=>u()),id:Z(()=>d()),ref:Z(()=>a(),e=>a(e)),indeterminate:Z(()=>f(),e=>{f(e),n.onIndeterminateChange?.(e)}),type:Z(()=>p()),readonly:Z(()=>!!n.readonly)},_),y=F(()=>ns({...m},v.props));var b=$l(),x=E(b),C=e=>{var r=I(),i=E(r);{let e=F(()=>({props:S(y),...v.snippetProps}));H(i,()=>n.child,()=>S(e))}t(e,r)},T=e=>{var r=Ql();A(r,()=>({...S(y)}));var i=w(r);H(i,()=>n.children??U,()=>v.snippetProps),V(r),t(e,r)};o(x,e=>{n.child?e(C):e(T,-1)}),Xl(g(x,2),{}),t(e,b),B()}var tu=[`top`,`right`,`bottom`,`left`],nu=Math.min,ru=Math.max,iu=Math.round,au=Math.floor,ou=e=>({x:e,y:e}),su={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function cu(e,t,n){return ru(e,nu(t,n))}function lu(e,t){return typeof e==`function`?e(t):e}function uu(e){return e.split(`-`)[0]}function du(e){return e.split(`-`)[1]}function fu(e){return e===`x`?`y`:`x`}function pu(e){return e===`y`?`height`:`width`}function mu(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function hu(e){return fu(mu(e))}function gu(e,t,n){n===void 0&&(n=!1);let r=du(e),i=hu(e),a=pu(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Tu(o)),[o,Tu(o)]}function _u(e){let t=Tu(e);return[vu(e),t,vu(t)]}function vu(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var yu=[`left`,`right`],bu=[`right`,`left`],xu=[`top`,`bottom`],Su=[`bottom`,`top`];function Cu(e,t,n){switch(e){case`top`:case`bottom`:return n?t?bu:yu:t?yu:bu;case`left`:case`right`:return t?xu:Su;default:return[]}}function wu(e,t,n,r){let i=du(e),a=Cu(uu(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(vu)))),a}function Tu(e){let t=uu(e);return su[t]+e.slice(t.length)}function Eu(e){return{top:0,right:0,bottom:0,left:0,...e}}function Du(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Eu(e)}function Ou(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 ku(e,t,n){let{reference:r,floating:i}=e,a=mu(t),o=hu(t),s=pu(o),c=uu(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(du(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1)}return p}async function Au(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}=lu(t,e),p=Du(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Ou(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=Ou(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 ju=50,Mu=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Au},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=ku(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<ju&&(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}=ku(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},Nu=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}=lu(e,t)||{};if(l==null)return{};let d=Du(u),f={x:n,y:r},p=hu(i),m=pu(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=nu(d[_],T),ee=nu(d[v],T),D=E,O=C-h[m]-ee,te=C/2-h[m]/2+w,k=cu(D,te,O),ne=!c.arrow&&du(i)!=null&&te!==k&&a.reference[m]/2-(te<D?E:ee)-h[m]/2<0,re=ne?te<D?te-D:te-O:0;return{[p]:f[p]+re,data:{[p]:k,centerOffset:te-k-re,...ne&&{alignmentOffset:re}},reset:ne}}}),Pu=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}=lu(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=uu(r),_=mu(o),v=uu(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Tu(o)]:_u(o)),x=p!==`none`;!d&&x&&b.push(...wu(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=gu(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`||_===mu(t)||T.every(e=>mu(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=mu(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 Fu(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Iu(e){return tu.some(t=>e[t]>=0)}var Lu=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=lu(e,t);switch(i){case`referenceHidden`:{let e=Fu(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Iu(e)}}}case`escaped`:{let e=Fu(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Iu(e)}}}default:return{}}}}},Ru=new Set([`left`,`top`]);async function zu(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=uu(n),s=du(n),c=mu(n)===`y`,l=Ru.has(o)?-1:1,u=a&&c?-1:1,d=lu(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 Bu=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 zu(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}}}}},Vu=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}=lu(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=mu(uu(i)),p=fu(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=cu(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=cu(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}}}}}},Hu=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}=lu(e,t),u={x:n,y:r},d=mu(i),f=fu(d),p=u[f],m=u[d],h=lu(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=Ru.has(uu(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}}}},Uu=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}=lu(e,t),u=await o.detectOverflow(t,l),d=uu(i),f=du(i),p=mu(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=nu(h-u[g],v),x=nu(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=ru(u.left,0),t=ru(u.right,0),n=ru(u.top,0),r=ru(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:ru(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:ru(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 Wu(){return typeof window<`u`}function Gu(e){return Ju(e)?(e.nodeName||``).toLowerCase():`#document`}function Ku(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function qu(e){return((Ju(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Ju(e){return Wu()?e instanceof Node||e instanceof Ku(e).Node:!1}function Yu(e){return Wu()?e instanceof Element||e instanceof Ku(e).Element:!1}function Xu(e){return Wu()?e instanceof HTMLElement||e instanceof Ku(e).HTMLElement:!1}function Zu(e){return!Wu()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof Ku(e).ShadowRoot}function Qu(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ld(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function $u(e){return/^(table|td|th)$/.test(Gu(e))}function ed(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var td=/transform|translate|scale|rotate|perspective|filter/,nd=/paint|layout|strict|content/,rd=e=>!!e&&e!==`none`,id;function ad(e){let t=Yu(e)?ld(e):e;return rd(t.transform)||rd(t.translate)||rd(t.scale)||rd(t.rotate)||rd(t.perspective)||!sd()&&(rd(t.backdropFilter)||rd(t.filter))||td.test(t.willChange||``)||nd.test(t.contain||``)}function od(e){let t=dd(e);for(;Xu(t)&&!cd(t);){if(ad(t))return t;if(ed(t))return null;t=dd(t)}return null}function sd(){return id??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),id}function cd(e){return/^(html|body|#document)$/.test(Gu(e))}function ld(e){return Ku(e).getComputedStyle(e)}function ud(e){return Yu(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function dd(e){if(Gu(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Zu(e)&&e.host||qu(e);return Zu(t)?t.host:t}function fd(e){let t=dd(e);return cd(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xu(t)&&Qu(t)?t:fd(t)}function pd(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=fd(e),i=r===e.ownerDocument?.body,a=Ku(r);if(i){let e=md(a);return t.concat(a,a.visualViewport||[],Qu(r)?r:[],e&&n?pd(e):[])}return t.concat(r,pd(r,[],n))}function md(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function hd(e){let t=ld(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Xu(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=iu(n)!==a||iu(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function gd(e){return Yu(e)?e:e.contextElement}function _d(e){let t=gd(e);if(!Xu(t))return ou(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=hd(t),o=(a?iu(n.width):n.width)/r,s=(a?iu(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var vd=ou(0);function yd(e){let t=Ku(e);return!sd()||!t.visualViewport?vd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bd(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ku(e)?!1:t}function xd(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=gd(e),o=ou(1);t&&(r?Yu(r)&&(o=_d(r)):o=_d(e));let s=bd(a,n,r)?yd(a):ou(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=Ku(a),t=r&&Yu(r)?Ku(r):r,n=e,i=md(n);for(;i&&r&&t!==n;){let e=_d(i),t=i.getBoundingClientRect(),r=ld(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=Ku(i),i=md(n)}}return Ou({width:u,height:d,x:c,y:l})}function Sd(e,t){let n=ud(e).scrollLeft;return t?t.left+n:xd(qu(e)).left+n}function Cd(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Sd(e,n),y:n.top+t.scrollTop}}function wd(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=qu(r),s=t?ed(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=ou(1),u=ou(0),d=Xu(r);if((d||!d&&!a)&&((Gu(r)!==`body`||Qu(o))&&(c=ud(r)),d)){let e=xd(r);l=_d(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Cd(o,c):ou(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 Td(e){return Array.from(e.getClientRects())}function Ed(e){let t=qu(e),n=ud(e),r=e.ownerDocument.body,i=ru(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=ru(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Sd(e),s=-n.scrollTop;return ld(r).direction===`rtl`&&(o+=ru(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var Dd=25;function Od(e,t){let n=Ku(e),r=qu(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=sd();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=Sd(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<=Dd&&(a-=o)}else l<=Dd&&(a+=l);return{width:a,height:o,x:s,y:c}}function kd(e,t){let n=xd(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Xu(e)?_d(e):ou(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Ad(e,t,n){let r;if(t===`viewport`)r=Od(e,n);else if(t===`document`)r=Ed(qu(e));else if(Yu(t))r=kd(t,n);else{let n=yd(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Ou(r)}function jd(e,t){let n=dd(e);return n===t||!Yu(n)||cd(n)?!1:ld(n).position===`fixed`||jd(n,t)}function Md(e,t){let n=t.get(e);if(n)return n;let r=pd(e,[],!1).filter(e=>Yu(e)&&Gu(e)!==`body`),i=null,a=ld(e).position===`fixed`,o=a?dd(e):e;for(;Yu(o)&&!cd(o);){let t=ld(o),n=ad(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||Qu(o)&&!n&&jd(e,o))?r=r.filter(e=>e!==o):i=t,o=dd(o)}return t.set(e,r),r}function Nd(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?ed(t)?[]:Md(t,this._c):[].concat(n),r],o=Ad(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=Ad(t,a[e],i);s=ru(n.top,s),c=nu(n.right,c),l=nu(n.bottom,l),u=ru(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Pd(e){let{width:t,height:n}=hd(e);return{width:t,height:n}}function Fd(e,t,n){let r=Xu(t),i=qu(t),a=n===`fixed`,o=xd(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=ou(0);function l(){c.x=Sd(i)}if(r||!r&&!a){if((Gu(t)!==`body`||Qu(i))&&(s=ud(t)),r){let e=xd(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?Cd(i,s):ou(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 Id(e){return ld(e).position===`static`}function Ld(e,t){if(!Xu(e)||ld(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return qu(e)===n&&(n=n.ownerDocument.body),n}function Rd(e,t){let n=Ku(e);if(ed(e))return n;if(!Xu(e)){let t=dd(e);for(;t&&!cd(t);){if(Yu(t)&&!Id(t))return t;t=dd(t)}return n}let r=Ld(e,t);for(;r&&$u(r)&&Id(r);)r=Ld(r,t);return r&&cd(r)&&Id(r)&&!ad(r)?n:r||od(e)||n}var zd=async function(e){let t=this.getOffsetParent||Rd,n=this.getDimensions,r=await n(e.floating);return{reference:Fd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Bd(e){return ld(e).direction===`rtl`}var Vd={convertOffsetParentRelativeRectToViewportRelativeRect:wd,getDocumentElement:qu,getClippingRect:Nd,getOffsetParent:Rd,getElementRects:zd,getClientRects:Td,getDimensions:Pd,getScale:_d,isElement:Yu,isRTL:Bd};function Hd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ud(e,t){let n=null,r,i=qu(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=au(d),h=au(i.clientWidth-(u+f)),g=au(i.clientHeight-(d+p)),_=au(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:ru(0,nu(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&&!Hd(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 Wd(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=gd(e),u=i||a?[...l?pd(l):[],...t?pd(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?Ud(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?xd(e):null;c&&g();function g(){let t=xd(e);h&&!Hd(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 Gd=Bu,Kd=Vu,qd=Pu,Jd=Uu,Yd=Lu,Xd=Nu,Zd=Hu,Qd=(e,t,n)=>{let r=new Map,i={platform:Vd,...n},a={...i.platform,_c:r};return Mu(e,t,{...i,platform:a})};function $d(e){return typeof e==`function`?e():e}function ef(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function tf(e,t){let n=ef(e);return Math.round(t*n)/n}function nf(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 rf(t){let n=t.whileElementsMounted,r=F(()=>$d(t.open)??!0),i=F(()=>$d(t.middleware)),a=F(()=>$d(t.transform)??!0),o=F(()=>$d(t.placement)??`bottom`),s=F(()=>$d(t.strategy)??`absolute`),c=F(()=>$d(t.sideOffset)??0),u=F(()=>$d(t.alignOffset)??0),d=t.reference,f=R(0),p=R(0),m=xo(null),h=R(e(S(s))),g=R(e(S(o))),_=R(e({})),v=R(!1),y=!1,b=0,x=F(()=>{let e=m.current?tf(m.current,S(f)):S(f),t=m.current?tf(m.current,S(p)):S(p);return S(a)?{position:S(h),left:`0`,top:`0`,transform:`translate(${e}px, ${t}px)`,...m.current&&ef(m.current)>=1.5&&{willChange:`transform`}}:{position:S(h),left:`${e}px`,top:`${t}px`}}),C;function w(){if(d.current===null||m.current===null)return;let e=d.current,t=m.current,n=++b;Qd(e,t,{middleware:S(i),placement:S(o),strategy:S(s)}).then(i=>{if(n===b&&d.current===e&&m.current===t){if(af(e)){z(_,{...S(_),hide:{...S(_).hide,referenceHidden:!0}},!0);return}if(!S(r)&&S(f)!==0&&S(p)!==0){let e=Math.max(Math.abs(S(c)),Math.abs(S(u)),15);if(i.x<=e&&i.y<=e)return}z(f,i.x,!0),z(p,i.y,!0),z(h,i.strategy,!0),z(g,i.placement,!0),z(_,i.middlewareData,!0),z(v,!0)}})}function T(){typeof C==`function`&&(C(),C=void 0),b++}function E(){if(T(),n===void 0){w();return}S(r)&&d.current!==null&&m.current!==null&&(C=n(d.current,m.current,w))}function ee(){!S(r)&&m.current===null&&z(v,!1)}function D(){return[S(i),S(o),S(s),S(c),S(u),S(r)]}return l(()=>{n===void 0&&S(r)&&w()}),l(E),l(()=>{if(n!==void 0){if(D(),!S(r)){y=!1;return}if(!S(v)){y=!1;return}if(!y){y=!0;return}w()}}),l(ee),l(()=>T),{floating:m,reference:d,get strategy(){return S(h)},get placement(){return S(g)},get middlewareData(){return S(_)},get isPositioned(){return S(v)},get floatingStyles(){return S(x)},get update(){return w}}}function af(e){return e instanceof Element?!e.isConnected||e instanceof HTMLElement&&e.hidden?!0:e.getClientRects().length===0:!1}var of={top:`bottom`,right:`left`,bottom:`top`,left:`right`},sf=new ss(`Floating.Root`),cf=new ss(`Floating.Content`),lf=new ss(`Floating.Root`),uf=class e{static create(t=!1){return t?lf.set(new e):sf.set(new e)}anchorNode=xo(null);customAnchorNode=xo(null);triggerNode=xo(null);constructor(){l(()=>{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})}},df=class e{static create(t,n=!1){return n?cf.set(new e(t,lf.get())):cf.set(new e(t,sf.get()))}opts;root;contentRef=xo(null);wrapperRef=xo(null);arrowRef=xo(null);contentAttachment=js(this.contentRef);wrapperAttachment=js(this.wrapperRef);arrowAttachment=js(this.arrowRef);arrowId=xo(Sl());#e=F(()=>{if(typeof this.opts.style==`string`)return Jo(this.opts.style);if(!this.opts.style)return{}});#t=void 0;#n=new ps(()=>this.arrowRef.current??void 0);#r=F(()=>this.#n?.width??0);#i=F(()=>this.#n?.height??0);#a=F(()=>this.opts.side?.current+(this.opts.align.current===`center`?``:`-${this.opts.align.current}`));#o=F(()=>Array.isArray(this.opts.collisionBoundary.current)?this.opts.collisionBoundary.current:[this.opts.collisionBoundary.current]);#s=F(()=>S(this.#o).length>0);get hasExplicitBoundaries(){return S(this.#s)}set hasExplicitBoundaries(e){z(this.#s,e)}#c=F(()=>({padding:this.opts.collisionPadding.current,boundary:S(this.#o).filter(qs),altBoundary:this.hasExplicitBoundaries}));get detectOverflowOptions(){return S(this.#c)}set detectOverflowOptions(e){z(this.#c,e)}#l=R(void 0);#u=R(void 0);#d=R(void 0);#f=R(void 0);#p=F(()=>[Gd({mainAxis:this.opts.sideOffset.current+S(this.#i),alignmentAxis:this.opts.alignOffset.current}),this.opts.avoidCollisions.current&&Kd({mainAxis:!0,crossAxis:!1,limiter:this.opts.sticky.current===`partial`?Zd():void 0,...this.detectOverflowOptions}),this.opts.avoidCollisions.current&&qd({...this.detectOverflowOptions}),Jd({...this.detectOverflowOptions,apply:({rects:e,availableWidth:t,availableHeight:n})=>{let{width:r,height:i}=e.reference;z(this.#l,t,!0),z(this.#u,n,!0),z(this.#d,r,!0),z(this.#f,i,!0)}}),this.arrowRef.current&&Xd({element:this.arrowRef.current,padding:this.opts.arrowPadding.current}),mf({arrowWidth:S(this.#r),arrowHeight:S(this.#i)}),this.opts.hideWhenDetached.current&&Yd({strategy:`referenceHidden`,...this.detectOverflowOptions})].filter(Boolean));get middleware(){return S(this.#p)}set middleware(e){z(this.#p,e)}floating;#m=F(()=>gf(this.floating.placement));get placedSide(){return S(this.#m)}set placedSide(e){z(this.#m,e)}#h=F(()=>_f(this.floating.placement));get placedAlign(){return S(this.#h)}set placedAlign(e){z(this.#h,e)}#g=F(()=>this.floating.middlewareData.arrow?.x??0);get arrowX(){return S(this.#g)}set arrowX(e){z(this.#g,e)}#_=F(()=>this.floating.middlewareData.arrow?.y??0);get arrowY(){return S(this.#_)}set arrowY(e){z(this.#_,e)}#v=F(()=>this.floating.middlewareData.arrow?.centerOffset!==0);get cannotCenterArrow(){return S(this.#v)}set cannotCenterArrow(e){z(this.#v,e)}#y=R();get contentZIndex(){return S(this.#y)}set contentZIndex(e){z(this.#y,e,!0)}#b=F(()=>of[this.placedSide]);get arrowBaseSide(){return S(this.#b)}set arrowBaseSide(e){z(this.#b,e)}#x=F(()=>({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":`${S(this.#l)}px`,"--bits-floating-available-height":`${S(this.#u)}px`,"--bits-floating-anchor-width":`${S(this.#d)}px`,"--bits-floating-anchor-height":`${S(this.#f)}px`,...this.floating.middlewareData.hide?.referenceHidden&&{visibility:`hidden`,"pointer-events":`none`},...S(this.#e)},dir:this.opts.dir.current,...this.wrapperAttachment}));get wrapperProps(){return S(this.#x)}set wrapperProps(e){z(this.#x,e)}#S=F(()=>({"data-side":this.placedSide,"data-align":this.placedAlign,style:$o({...S(this.#e)}),...this.contentAttachment}));get props(){return S(this.#S)}set props(e){z(this.#S,e)}#C=F(()=>({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 S(this.#C)}set arrowStyle(e){z(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),us(()=>e.customAnchor.current,e=>{this.root.customAnchorNode.current=e}),this.floating=rf({strategy:()=>this.opts.strategy.current,placement:()=>S(this.#a),middleware:()=>this.middleware,reference:this.root.anchorNode,whileElementsMounted:(...e)=>Wd(...e,{animationFrame:this.#t?.current===`always`}),open:()=>this.opts.enabled.current,sideOffset:()=>this.opts.sideOffset.current,alignOffset:()=>this.opts.alignOffset.current}),l(()=>{this.floating.isPositioned&&this.opts.onPlaced?.current()}),us(()=>this.contentRef.current,e=>{if(!e||!this.opts.enabled.current)return;let t=Os(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)}}),l(()=>{this.floating.floating.current=this.wrapperRef.current})}},ff=class e{static create(t){return new e(t,cf.get())}opts;content;constructor(e,t){this.opts=e,this.content=t}#e=F(()=>({id:this.opts.id.current,style:this.content.arrowStyle,"data-side":this.content.placedSide,...this.content.arrowAttachment}));get props(){return S(this.#e)}set props(e){z(this.#e,e)}},pf=class e{static create(t,n=!1){return n?new e(t,lf.get()):new e(t,sf.get())}opts;root;constructor(e,t){this.opts=e,this.root=t,t.triggerNode=e.virtualEl&&e.virtualEl.current?bo(e.virtualEl.current):e.ref}};function mf(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]=hf(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 hf(e){let[t,n=`center`]=e.split(`-`);return[t,n]}function gf(e){return hf(e)[0]}function _f(e){return hf(e)[1]}function vf(e,n){j(n,!0);let r=P(n,`tooltip`,3,!1);uf.create(r());var i=I(),a=E(i);H(a,()=>n.children??U),t(e,i),B()}function yf(e,n){j(n,!0);let r=P(n,`tooltip`,3,!1);pf.create({id:Z(()=>n.id),virtualEl:Z(()=>n.virtualEl),ref:n.ref},r());var i=I(),a=E(i);H(a,()=>n.children??U),t(e,i),B()}var bf=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`children`,`child`,`width`,`height`]),xf=p(`<svg viewBox="0 0 30 10" preserveAspectRatio="none" data-arrow=""><polygon points="0,0 30,0 15,10" fill="currentColor"></polygon></svg>`),Sf=f(`<span><!></span>`);function Cf(e,n){j(n,!0);let r=P(n,`id`,19,Sl),i=P(n,`width`,3,10),a=P(n,`height`,3,5),s=O(n,bf),c=F(()=>ns(s,{id:r()}));var l=I(),u=E(l),d=e=>{var r=I(),i=E(r);H(i,()=>n.child,()=>({props:S(c)})),t(e,r)},f=e=>{var r=Sf();A(r,()=>({...S(c)}));var s=w(r),l=e=>{var r=I(),i=E(r);H(i,()=>n.children??U),t(e,r)},u=e=>{var n=xf();he(()=>{me(n,`width`,i()),me(n,`height`,a())}),t(e,n)};o(s,e=>{n.children?e(l):e(u,-1)}),V(r),t(e,r)};o(u,e=>{n.child?e(d):e(f,-1)}),t(e,l),B()}var wf=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`ref`]);function Tf(e,t){j(t,!0);let n=P(t,`id`,19,Sl),r=P(t,`ref`,15,null),i=O(t,wf),a=ff.create({id:Z(()=>n()),ref:Z(()=>r(),e=>r(e))}),o=F(()=>ns(i,a.props));Cf(e,L(()=>S(o))),B()}function Ef(e,n){j(n,!0);let r=P(n,`side`,3,`bottom`),i=P(n,`sideOffset`,3,0),a=P(n,`align`,3,`center`),o=P(n,`alignOffset`,3,0),s=P(n,`arrowPadding`,3,0),c=P(n,`avoidCollisions`,3,!0),l=P(n,`collisionBoundary`,19,()=>[]),u=P(n,`collisionPadding`,3,0),d=P(n,`hideWhenDetached`,3,!1),f=P(n,`onPlaced`,3,()=>{}),p=P(n,`sticky`,3,`partial`),m=P(n,`updatePositionStrategy`,3,`optimized`),h=P(n,`strategy`,3,`fixed`),g=P(n,`dir`,3,`ltr`),_=P(n,`style`,19,()=>({})),v=P(n,`wrapperId`,19,Sl),y=P(n,`customAnchor`,3,null),b=P(n,`tooltip`,3,!1),x=df.create({side:Z(()=>r()),sideOffset:Z(()=>i()),align:Z(()=>a()),alignOffset:Z(()=>o()),id:Z(()=>n.id),arrowPadding:Z(()=>s()),avoidCollisions:Z(()=>c()),collisionBoundary:Z(()=>l()),collisionPadding:Z(()=>u()),hideWhenDetached:Z(()=>d()),onPlaced:Z(()=>f()),sticky:Z(()=>p()),updatePositionStrategy:Z(()=>m()),strategy:Z(()=>h()),dir:Z(()=>g()),style:Z(()=>_()),enabled:Z(()=>n.enabled),wrapperId:Z(()=>v()),customAnchor:Z(()=>y())},b()),C=F(()=>ns(x.wrapperProps,{style:{pointerEvents:`auto`}}));var w=I(),T=E(w);H(T,()=>n.content??U,()=>({props:x.props,wrapperProps:S(C)})),t(e,w),B()}function Df(e,n){j(n,!0),pe(()=>{n.onPlaced?.()});var r=I(),i=E(r);H(i,()=>n.content??U,()=>({props:{},wrapperProps:{}})),t(e,r),B()}var Of=new Set([`$$slots`,`$$events`,`$$legacy`,`content`,`isStatic`,`onPlaced`]);function kf(e,n){let r=P(n,`isStatic`,3,!1),i=O(n,Of);var a=I(),s=E(a),c=e=>{Df(e,{get content(){return n.content},get onPlaced(){return n.onPlaced}})},l=e=>{Ef(e,L({get content(){return n.content},get onPlaced(){return n.onPlaced}},()=>i))};o(s,e=>{r()?e(c):e(l,-1)}),t(e,a)}var Af=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(`.`)),jf=f(`<!> <!>`,1);function Mf(e,n){j(n,!0);let r=P(n,`interactOutsideBehavior`,3,`close`),i=P(n,`trapFocus`,3,!0),a=P(n,`isValidEvent`,3,()=>!1),s=P(n,`customAnchor`,3,null),c=P(n,`isStatic`,3,!1),l=P(n,`tooltip`,3,!1),u=P(n,`contentPointerEvents`,3,`auto`),d=O(n,Af),f=F(()=>n.preventScroll??!0),p=F(()=>n.strategy??(S(f)?`fixed`:`absolute`));kf(e,{get isStatic(){return c()},get id(){return n.id},get side(){return n.side},get sideOffset(){return n.sideOffset},get align(){return n.align},get alignOffset(){return n.alignOffset},get arrowPadding(){return n.arrowPadding},get avoidCollisions(){return n.avoidCollisions},get collisionBoundary(){return n.collisionBoundary},get collisionPadding(){return n.collisionPadding},get sticky(){return n.sticky},get hideWhenDetached(){return n.hideWhenDetached},get updatePositionStrategy(){return n.updatePositionStrategy},get strategy(){return S(p)},get dir(){return n.dir},get wrapperId(){return n.wrapperId},get style(){return n.style},get onPlaced(){return n.onPlaced},get customAnchor(){return s()},get enabled(){return n.enabled},get tooltip(){return l()},content:(e,s)=>{let c=()=>(s?.()).props,l=()=>(s?.()).wrapperProps;var p=jf(),m=E(p),h=e=>{Pl(e,{get preventScroll(){return S(f)}})},_=e=>{Pl(e,{get preventScroll(){return S(f)}})};o(m,e=>{n.forceMount&&n.enabled?e(h):n.forceMount||e(_,1)}),ml(g(m,2),{get onOpenAutoFocus(){return n.onOpenAutoFocus},get onCloseAutoFocus(){return n.onCloseAutoFocus},get loop(){return n.loop},get enabled(){return n.enabled},get trapFocus(){return i()},get forceMount(){return n.forceMount},get ref(){return n.ref},focusScope:(e,i)=>{let o=()=>(i?.()).props;dl(e,{get onEscapeKeydown(){return n.onEscapeKeydown},get escapeKeydownBehavior(){return n.escapeKeydownBehavior},get enabled(){return n.enabled},get ref(){return n.ref},children:(e,i)=>{cl(e,{get id(){return n.id},get onInteractOutside(){return n.onInteractOutside},get onFocusOutside(){return n.onFocusOutside},get interactOutsideBehavior(){return r()},get isValidEvent(){return a()},get enabled(){return n.enabled},get ref(){return n.ref},children:(e,r)=>{let i=()=>(r?.()).props;xl(e,{get id(){return n.id},get preventOverflowTextSelection(){return n.preventOverflowTextSelection},get onPointerDown(){return n.onPointerDown},get onPointerUp(){return n.onPointerUp},get enabled(){return n.enabled},get ref(){return n.ref},children:(e,r)=>{var a=I(),s=E(a);{let e=F(()=>({props:ns(d,c(),i(),o(),{style:{pointerEvents:u()}}),wrapperProps:l()}));H(s,()=>n.popper??U,()=>S(e))}t(e,a)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{focusScope:!0}}),t(e,p)},$$slots:{content:!0}}),B()}var Nf=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 Pf(e,n){let r=P(n,`interactOutsideBehavior`,3,`close`),i=P(n,`trapFocus`,3,!0),a=P(n,`isValidEvent`,3,()=>!1),s=P(n,`customAnchor`,3,null),c=P(n,`isStatic`,3,!1),l=O(n,Nf);var u=I(),d=E(u),f=e=>{Mf(e,L({get popper(){return n.popper},get onEscapeKeydown(){return n.onEscapeKeydown},get escapeKeydownBehavior(){return n.escapeKeydownBehavior},get preventOverflowTextSelection(){return n.preventOverflowTextSelection},get id(){return n.id},get onPointerDown(){return n.onPointerDown},get onPointerUp(){return n.onPointerUp},get side(){return n.side},get sideOffset(){return n.sideOffset},get align(){return n.align},get alignOffset(){return n.alignOffset},get arrowPadding(){return n.arrowPadding},get avoidCollisions(){return n.avoidCollisions},get collisionBoundary(){return n.collisionBoundary},get collisionPadding(){return n.collisionPadding},get sticky(){return n.sticky},get hideWhenDetached(){return n.hideWhenDetached},get updatePositionStrategy(){return n.updatePositionStrategy},get strategy(){return n.strategy},get dir(){return n.dir},get preventScroll(){return n.preventScroll},get wrapperId(){return n.wrapperId},get style(){return n.style},get onPlaced(){return n.onPlaced},get customAnchor(){return s()},get isStatic(){return c()},get enabled(){return n.open},get onInteractOutside(){return n.onInteractOutside},get onCloseAutoFocus(){return n.onCloseAutoFocus},get onOpenAutoFocus(){return n.onOpenAutoFocus},get interactOutsideBehavior(){return r()},get loop(){return n.loop},get trapFocus(){return i()},get isValidEvent(){return a()},get onFocusOutside(){return n.onFocusOutside},forceMount:!1,get ref(){return n.ref}},()=>l))};o(d,e=>{n.shouldRender&&e(f)}),t(e,u)}var Ff=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 If(e,t){let n=P(t,`interactOutsideBehavior`,3,`close`),r=P(t,`trapFocus`,3,!0),i=P(t,`isValidEvent`,3,()=>!1),a=P(t,`customAnchor`,3,null),o=P(t,`isStatic`,3,!1),s=O(t,Ff);Mf(e,L({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 Lf(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 Rf(e,t){return e[0]>=t.left&&e[0]<=t.right&&e[1]>=t.top&&e[1]<=t.bottom}function zf(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 Bf=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,us([e.triggerNode,e.contentNode,e.enabled],([e,t,n])=>{if(!e||!t||!n){this.#o=null,this.#m();return}this.#o&&this.#o!==e&&this.#m(),this.#o=e;let r=Ds(e);return[Se(r,`pointermove`,n=>{this.#p([n.clientX,n.clientY],e,t)}),Se(e,`pointerleave`,e=>{let n=e.relatedTarget;if(Us(n)&&t.contains(n))return;let r=this.#e.ignoredTargets?.()??[];Us(n)&&r.some(e=>e===n||e.contains(n))||(this.#a=Us(n)&&r.length>0?r.filter(e=>n.contains(e)):[],this.#r=[e.clientX,e.clientY],this.#i=`content`,this.#u())}),Se(e,`pointerenter`,()=>{this.#m()}),Se(t,`pointerenter`,()=>{this.#m()}),Se(t,`pointerleave`,t=>{let n=t.relatedTarget;Us(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`&&Rf(e,i)){this.#m();return}if(this.#i===`trigger`&&Rf(e,r)){this.#m();return}if(this.#i===`content`&&this.#a.length>0)for(let t of this.#a){let n=t.getBoundingClientRect();if(Rf(e,n))return;let i=zf(r,n),a=this.#h(r,n,i);if(a&&Lf(e,a))return}let a=zf(r,i),o=this.#h(r,i,a);if(o&&Lf(e,o))return;let s=this.#i===`content`?i:r;Lf(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`}}},Vf=Rs({component:`popover`,parts:[`root`,`trigger`,`content`,`close`,`overlay`]}),Hf=new ss(`Popover.Root`),Uf=class e{static create(t){return Hf.set(new e(t))}opts;#e=R(null);get contentNode(){return S(this.#e)}set contentNode(e){z(this.#e,e,!0)}contentPresence;#t=R(null);get triggerNode(){return S(this.#t)}set triggerNode(e){z(this.#t,e,!0)}#n=R(null);get overlayNode(){return S(this.#n)}set overlayNode(e){z(this.#n,e,!0)}overlayPresence;#r=R(!1);get openedViaHover(){return S(this.#r)}set openedViaHover(e){z(this.#r,e,!0)}#i=R(!1);get hasInteractedWithContent(){return S(this.#i)}set hasInteractedWithContent(e){z(this.#i,e,!0)}#a=R(!1);get hoverCooldown(){return S(this.#a)}set hoverCooldown(e){z(this.#a,e,!0)}#o=R(0);get closeDelay(){return S(this.#o)}set closeDelay(e){z(this.#o,e,!0)}#s=null;#c=null;constructor(e){this.opts=e,this.contentPresence=new Ys({ref:Z(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Ys({ref:Z(()=>this.overlayNode),open:this.opts.open}),us(()=>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()}},Wf=class e{static create(t){return new e(t,Hf.get())}opts;root;attachment;domContext;#e=null;#t=null;#n=R(!1);constructor(e,t){this.opts=e,this.root=t,this.attachment=js(this.opts.ref,e=>this.root.triggerNode=e),this.domContext=new As(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),us(()=>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||Gs(e)||(z(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&&(Gs(e)||(z(this.#n,!1),this.#r(),this.root.hoverCooldown=!1))}onclick(e){if(!this.opts.disabled.current&&e.button===0){if(this.#a(),S(this.#n)&&this.root.opts.open.current&&this.root.openedViaHover){this.root.openedViaHover=!1,this.root.hasInteractedWithContent=!0;return}S(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=F(()=>({id:this.opts.id.current,"aria-haspopup":`dialog`,"aria-expanded":Ms(this.root.opts.open.current),"data-state":Ps(this.root.opts.open.current),"aria-controls":this.#o(),[Vf.trigger]:``,disabled:this.opts.disabled.current,onkeydown:this.onkeydown,onclick:this.onclick,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}));get props(){return S(this.#s)}set props(e){z(this.#s,e)}},Gf=class e{static create(t){return new e(t,Hf.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=js(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 Bf({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;Us(t)&&Qc(t)&&this.root.markInteraction()}onpointerenter(e){Gs(e)||this.root.cancelDelayedClose()}onpointerleave(e){Gs(e)}onInteractOutside=e=>{if(this.opts.onInteractOutside.current(e),e.defaultPrevented||!Us(e.target))return;let t=e.target.closest(Vf.selector(`trigger`));if(!(t&&t===this.root.triggerNode)){if(this.opts.customAnchor.current){if(Us(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=F(()=>({open:this.root.opts.open.current}));get snippetProps(){return S(this.#e)}set snippetProps(e){z(this.#e,e)}#t=F(()=>({id:this.opts.id.current,tabindex:-1,"data-state":Ps(this.root.opts.open.current),...Fs(this.root.contentPresence.transitionStatus),[Vf.content]:``,style:{pointerEvents:`auto`,contain:`layout style`},onpointerdown:this.onpointerdown,onfocusin:this.onfocusin,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment}));get props(){return S(this.#t)}set props(e){z(this.#t,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown}},Kf=new Set([`$$slots`,`$$events`,`$$legacy`,`child`,`children`,`ref`,`id`,`forceMount`,`onOpenAutoFocus`,`onCloseAutoFocus`,`onEscapeKeydown`,`onInteractOutside`,`trapFocus`,`preventScroll`,`customAnchor`,`style`]),qf=f(`<div><div><!></div></div>`);function Jf(e,n){let r=h();j(n,!0);let i=P(n,`ref`,15,null),a=P(n,`id`,19,()=>Zs(r)),s=P(n,`forceMount`,3,!1),c=P(n,`onOpenAutoFocus`,3,Xs),l=P(n,`onCloseAutoFocus`,3,Xs),u=P(n,`onEscapeKeydown`,3,Xs),d=P(n,`onInteractOutside`,3,Xs),f=P(n,`trapFocus`,3,!0),p=P(n,`preventScroll`,3,!1),m=P(n,`customAnchor`,3,null),g=O(n,Kf),_=Gf.create({id:Z(()=>a()),ref:Z(()=>i(),e=>i(e)),onInteractOutside:Z(()=>d()),onEscapeKeydown:Z(()=>u()),customAnchor:Z(()=>m())}),v=F(()=>ns(g,_.props)),y=F(()=>f()&&_.shouldTrapFocus);function b(e){_.shouldTrapFocus||e.preventDefault(),c()(e)}var x=I(),C=E(x),T=e=>{If(e,L(()=>S(v),()=>_.popperProps,{get ref(){return _.opts.ref},get enabled(){return _.root.opts.open.current},get id(){return a()},get trapFocus(){return S(y)},get preventScroll(){return p()},loop:!0,forceMount:!0,get customAnchor(){return m()},onOpenAutoFocus:b,get onCloseAutoFocus(){return l()},get shouldRender(){return _.shouldRender},popper:(e,r)=>{let i=()=>(r?.()).props,a=()=>(r?.()).wrapperProps,s=F(()=>ns(i(),{style:nf(`popover`)},{style:n.style}));var c=I(),l=E(c),u=e=>{var r=I(),i=E(r);{let e=F(()=>({props:S(s),wrapperProps:a(),..._.snippetProps}));H(i,()=>n.child,()=>S(e))}t(e,r)},d=e=>{var r=qf();A(r,()=>({...a()}));var i=w(r);A(i,()=>({...S(s)}));var o=w(i);H(o,()=>n.children??U),V(i),V(r),t(e,r)};o(l,e=>{n.child?e(u):e(d,-1)}),t(e,c)},$$slots:{popper:!0}}))},ee=e=>{Pf(e,L(()=>S(v),()=>_.popperProps,{get ref(){return _.opts.ref},get open(){return _.root.opts.open.current},get id(){return a()},get trapFocus(){return S(y)},get preventScroll(){return p()},loop:!0,forceMount:!1,get customAnchor(){return m()},onOpenAutoFocus:b,get onCloseAutoFocus(){return l()},get shouldRender(){return _.shouldRender},popper:(e,r)=>{let i=()=>(r?.()).props,a=()=>(r?.()).wrapperProps,s=F(()=>ns(i(),{style:nf(`popover`)},{style:n.style}));var c=I(),l=E(c),u=e=>{var r=I(),i=E(r);{let e=F(()=>({props:S(s),wrapperProps:a(),..._.snippetProps}));H(i,()=>n.child,()=>S(e))}t(e,r)},d=e=>{var r=qf();A(r,()=>({...a()}));var i=w(r);A(i,()=>({...S(s)}));var o=w(i);H(o,()=>n.children??U),V(i),V(r),t(e,r)};o(l,e=>{n.child?e(u):e(d,-1)}),t(e,c)},$$slots:{popper:!0}}))};o(C,e=>{s()?e(T):s()||e(ee,1)}),t(e,x),B()}var Yf=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`type`,`disabled`,`openOnHover`,`openDelay`,`closeDelay`]),Xf=f(`<button><!></button>`);function Zf(e,n){let r=h();j(n,!0);let i=P(n,`id`,19,()=>Zs(r)),a=P(n,`ref`,15,null),s=P(n,`type`,3,`button`),c=P(n,`disabled`,3,!1),l=P(n,`openOnHover`,3,!1),u=P(n,`openDelay`,3,700),d=P(n,`closeDelay`,3,300),f=O(n,Yf),p=Wf.create({id:Z(()=>i()),ref:Z(()=>a(),e=>a(e)),disabled:Z(()=>!!c()),openOnHover:Z(()=>l()),openDelay:Z(()=>u()),closeDelay:Z(()=>d())}),m=F(()=>ns(f,p.props,{type:s()}));yf(e,{get id(){return i()},get ref(){return p.opts.ref},children:(e,r)=>{var i=I(),a=E(i),s=e=>{var r=I(),i=E(r);H(i,()=>n.child,()=>({props:S(m)})),t(e,r)},c=e=>{var r=Xf();A(r,()=>({...S(m)}));var i=w(r);H(i,()=>n.children??U),V(r),t(e,r)};o(a,e=>{n.child?e(s):e(c,-1)}),t(e,i)},$$slots:{default:!0}}),B()}function Qf(e,n){j(n,!0);let r=P(n,`open`,15,!1),i=P(n,`onOpenChange`,3,Xs),a=P(n,`onOpenChangeComplete`,3,Xs);ec.create({variant:Z(()=>`dialog`),open:Z(()=>r(),e=>{r(e),i()(e)}),onOpenChangeComplete:Z(()=>a())});var o=I(),s=E(o);H(s,()=>n.children??U),t(e,o),B()}var $f=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`disabled`]),ep=f(`<button><!></button>`);function tp(e,n){let r=h();j(n,!0);let i=P(n,`id`,19,()=>Zs(r)),a=P(n,`ref`,15,null),s=P(n,`disabled`,3,!1),c=O(n,$f),l=tc.create({variant:Z(()=>`close`),id:Z(()=>i()),ref:Z(()=>a(),e=>a(e)),disabled:Z(()=>!!s())}),u=F(()=>ns(c,l.props));var d=I(),f=E(d),p=e=>{var r=I(),i=E(r);H(i,()=>n.child,()=>({props:S(u)})),t(e,r)},m=e=>{var r=ep();A(r,()=>({...S(u)}));var i=w(r);H(i,()=>n.children??U),V(r),t(e,r)};o(f,e=>{n.child?e(p):e(m,-1)}),t(e,d),B()}var np=new Set([`$$slots`,`$$events`,`$$legacy`,`id`,`children`,`child`,`ref`,`forceMount`,`onCloseAutoFocus`,`onOpenAutoFocus`,`onEscapeKeydown`,`onInteractOutside`,`trapFocus`,`preventScroll`,`restoreScrollDelay`]),rp=f(`<!> <!>`,1),ip=f(`<!> <div><!></div>`,1);function ap(e,n){let r=h();j(n,!0);let i=P(n,`id`,19,()=>Zs(r)),a=P(n,`ref`,15,null),s=P(n,`forceMount`,3,!1),c=P(n,`onCloseAutoFocus`,3,Xs),l=P(n,`onOpenAutoFocus`,3,Xs),u=P(n,`onEscapeKeydown`,3,Xs),d=P(n,`onInteractOutside`,3,Xs),f=P(n,`trapFocus`,3,!0),p=P(n,`preventScroll`,3,!0),m=P(n,`restoreScrollDelay`,3,null),_=O(n,np),v=ic.create({id:Z(()=>i()),ref:Z(()=>a(),e=>a(e))}),y=F(()=>ns(_,v.props));var b=I(),x=E(b),C=e=>{ml(e,{get ref(){return v.opts.ref},loop:!0,get trapFocus(){return f()},get enabled(){return v.root.opts.open.current},get onOpenAutoFocus(){return l()},get onCloseAutoFocus(){return c()},focusScope:(e,r)=>{let i=()=>(r?.()).props;dl(e,L(()=>S(y),{get enabled(){return v.root.opts.open.current},get ref(){return v.opts.ref},onEscapeKeydown:e=>{u()(e),!e.defaultPrevented&&v.root.handleClose()},children:(e,r)=>{cl(e,L(()=>S(y),{get ref(){return v.opts.ref},get enabled(){return v.root.opts.open.current},onInteractOutside:e=>{d()(e),!e.defaultPrevented&&v.root.handleClose()},children:(e,r)=>{xl(e,L(()=>S(y),{get ref(){return v.opts.ref},get enabled(){return v.root.opts.open.current},children:(e,r)=>{var a=I(),s=E(a),c=e=>{var r=rp(),a=E(r),s=e=>{Pl(e,{get preventScroll(){return p()},get restoreScrollDelay(){return m()}})};o(a,e=>{v.root.opts.open.current&&e(s)});var c=g(a,2);{let e=F(()=>({props:ns(S(y),i()),...v.snippetProps}));H(c,()=>n.child,()=>S(e))}t(e,r)},l=e=>{var r=ip(),a=E(r);Pl(a,{get preventScroll(){return p()}});var o=g(a,2);A(o,e=>({...e}),[()=>ns(S(y),i())]);var s=w(o);H(s,()=>n.children??U),V(o),t(e,r)};o(s,e=>{n.child?e(c):e(l,-1)}),t(e,a)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};o(x,e=>{(v.shouldRender||s())&&e(C)}),t(e,b),B()}var op=Rs({component:`label`,parts:[`root`]}),sp=class e{static create(t){return new e(t)}opts;attachment;constructor(e){this.opts=e,this.attachment=js(this.opts.ref),this.onmousedown=this.onmousedown.bind(this)}onmousedown(e){e.detail>1&&e.preventDefault()}#e=F(()=>({id:this.opts.id.current,[op.root]:``,onmousedown:this.onmousedown,...this.attachment}));get props(){return S(this.#e)}set props(e){z(this.#e,e)}},cp=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`for`]),lp=f(`<label><!></label>`);function up(e,n){let r=h();j(n,!0);let i=P(n,`id`,19,()=>Zs(r)),a=P(n,`ref`,15,null),s=O(n,cp),c=sp.create({id:Z(()=>i()),ref:Z(()=>a(),e=>a(e))}),l=F(()=>ns(s,c.props,{for:n.for}));var u=I(),d=E(u),f=e=>{var r=I(),i=E(r);H(i,()=>n.child,()=>({props:S(l)})),t(e,r)},p=e=>{var r=lp();A(r,()=>({...S(l),for:n.for}));var i=w(r);H(i,()=>n.children??U),V(r),t(e,r)};o(d,e=>{n.child?e(f):e(p,-1)}),t(e,u),B()}function dp(e,n){j(n,!0);let r=P(n,`open`,15,!1),i=P(n,`onOpenChange`,3,Xs),a=P(n,`onOpenChangeComplete`,3,Xs);Uf.create({open:Z(()=>r(),e=>{r(e),i()(e)}),onOpenChangeComplete:Z(()=>a())}),vf(e,{children:(e,r)=>{var i=I(),a=E(i);H(a,()=>n.children??U),t(e,i)},$$slots:{default:!0}}),B()}var fp=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),ms(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)}},pp=Rs({component:`tooltip`,parts:[`content`,`trigger`]}),mp=new ss(`Tooltip.Provider`),hp=new ss(`Tooltip.Root`),gp=class{#e=R(e(new Map));get triggers(){return S(this.#e)}set triggers(e){z(this.#e,e,!0)}#t=R(null);get activeTriggerId(){return S(this.#t)}set activeTriggerId(e){z(this.#t,e,!0)}#n=F(()=>{let e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.node??null});get activeTriggerNode(){return S(this.#n)}set activeTriggerNode(e){z(this.#n,e)}#r=F(()=>{let e=this.activeTriggerId;return e===null?null:this.triggers.get(e)?.payload??null});get activePayload(){return S(this.#r)}set activePayload(e){z(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))}},_p=class e{static create(t){return mp.set(new e(t))}opts;#e=R(!0);get isOpenDelayed(){return S(this.#e)}set isOpenDelayed(e){z(this.#e,e,!0)}isPointerInTransit=xo(!1);#t;#n=R(null);constructor(e){this.opts=e,this.#t=new fp(()=>{this.isOpenDelayed=!0},this.opts.skipDelayDuration.current),hs(()=>Se(window,`scroll`,e=>{let t=S(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=>{S(this.#n)&&S(this.#n)!==e&&S(this.#n).handleClose(),this.#i(),this.isOpenDelayed=!1,z(this.#n,e,!0)};onClose=e=>{S(this.#n)===e&&(z(this.#n,null),this.#r())};isTooltipOpen=e=>S(this.#n)===e},vp=class e{static create(t){return hp.set(new e(t,mp.get()))}opts;provider;#e=F(()=>this.opts.delayDuration.current??this.provider.opts.delayDuration.current);get delayDuration(){return S(this.#e)}set delayDuration(e){z(this.#e,e)}#t=F(()=>this.opts.disableHoverableContent.current??this.provider.opts.disableHoverableContent.current);get disableHoverableContent(){return S(this.#t)}set disableHoverableContent(e){z(this.#t,e)}#n=F(()=>this.opts.disableCloseOnTriggerClick.current??this.provider.opts.disableCloseOnTriggerClick.current);get disableCloseOnTriggerClick(){return S(this.#n)}set disableCloseOnTriggerClick(e){z(this.#n,e)}#r=F(()=>this.opts.disabled.current??this.provider.opts.disabled.current);get disabled(){return S(this.#r)}set disabled(e){z(this.#r,e)}#i=F(()=>this.opts.ignoreNonKeyboardFocus.current??this.provider.opts.ignoreNonKeyboardFocus.current);get ignoreNonKeyboardFocus(){return S(this.#i)}set ignoreNonKeyboardFocus(e){z(this.#i,e)}registry;tether;#a=R(null);get contentNode(){return S(this.#a)}set contentNode(e){z(this.#a,e,!0)}contentPresence;#o=R(!1);#s;#c=F(()=>this.opts.open.current?S(this.#o)?`delayed-open`:`instant-open`:`closed`);get stateAttr(){return S(this.#c)}set stateAttr(e){z(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 gp,this.#s=new fp(()=>{z(this.#o,!0),this.opts.open.current=!0},this.delayDuration??0),this.tether&&(this.tether.root=this,hs(()=>()=>{this.tether?.root===this&&(this.tether.root=null)})),this.contentPresence=new Ys({open:this.opts.open,ref:Z(()=>this.contentNode),onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),us(()=>this.delayDuration,()=>{this.delayDuration!==void 0&&(this.#s=new fp(()=>{z(this.#o,!0),this.opts.open.current=!0},this.delayDuration))}),us(()=>this.opts.open.current,e=>{e?(this.ensureActiveTrigger(),this.provider.onOpen(this)):this.provider.onClose(this)},{lazy:!0}),us(()=>this.opts.triggerId.current,e=>{e!==this.registry.activeTriggerId&&this.registry.setActiveTrigger(e)}),us(()=>this.registry.activeTriggerId,e=>{this.opts.triggerId.current!==e&&(this.opts.triggerId.current=e)})}handleOpen=()=>{this.#s.stop(),z(this.#o,!1),this.ensureActiveTrigger(),this.opts.open.current=!0};handleClose=()=>{this.#s.stop(),this.opts.open.current=!1};#l=()=>{this.#s.stop();let e=!this.provider.isOpenDelayed,t=this.delayDuration??0;e||t===0?(z(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}},yp=class e{static create(t){return t.tether.current?new e(t,null,t.tether.current.state):new e(t,hp.get(),null)}opts;root;tether;attachment;#e=xo(!1);#t=R(!1);domContext;#n=null;#r=!1;#i=null;constructor(e,t,n){this.opts=e,this.root=t,this.tether=n,this.domContext=new As(e.ref),this.attachment=js(this.opts.ref,e=>this.#s(e)),us(()=>this.opts.id.current,()=>{this.#s(this.opts.ref.current)}),us(()=>this.opts.payload.current,()=>{this.#s(this.opts.ref.current)}),us(()=>this.opts.disabled.current,()=>{this.#s(this.opts.ref.current)}),hs(()=>(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=()=>{this.#o()||(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),z(this.#t,!0))},250);return}t.onTriggerEnter(this.opts.id.current),z(this.#t,!0)}}};#f=e=>{let t=this.#a();if(t){if(this.#o()){t.opts.open.current&&t.handleClose();return}e.pointerType!==`touch`&&(S(this.#t)||(this.#c(),t.provider.isPointerInTransit.current=!1,t.onTriggerEnter(this.opts.id.current),z(this.#t,!0)))}};#p=e=>{let t=this.#a();if(!t||this.#o())return;if(this.#c(),!t.isActiveTrigger(this.opts.id.current)){z(this.#t,!1);return}let n=e.relatedTarget;if(Us(n)){for(let e of t.registry.triggers.values())if(e.node===n){if(t.provider.opts.skipDelayDuration.current>0){z(this.#t,!1);return}t.handleClose(),z(this.#t,!1);return}}t.onTriggerLeave(),z(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&&!Ks(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()};#_=F(()=>{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":Ns(n),"data-delay-duration":`${e?.delayDuration??0}`,[pp.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 S(this.#_)}set props(e){z(this.#_,e)}},bp=class e{static create(t){return new e(t,hp.get())}opts;root;attachment;constructor(e,t){this.opts=e,this.root=t,this.attachment=js(this.opts.ref,e=>this.root.contentNode=e),new Bf({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(Us(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=F(()=>({open:this.root.opts.open.current}));get snippetProps(){return S(this.#e)}set snippetProps(e){z(this.#e,e)}#t=F(()=>({id:this.opts.id.current,"data-state":this.root.stateAttr,"data-disabled":Ns(this.root.disabled),...Fs(this.root.contentPresence.transitionStatus),style:{outline:`none`},[pp.content]:``,...this.attachment}));get props(){return S(this.#t)}set props(e){z(this.#t,e)}popperProps={onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown,onOpenAutoFocus:this.onOpenAutoFocus,onCloseAutoFocus:this.onCloseAutoFocus}};function xp(e,n){j(n,!0);let r=P(n,`open`,15,!1),i=P(n,`triggerId`,15,null),a=P(n,`onOpenChange`,3,Xs),o=P(n,`onOpenChangeComplete`,3,Xs),s=vp.create({open:Z(()=>r(),e=>{r(e),a()(e)}),triggerId:Z(()=>i(),e=>{i(e)}),delayDuration:Z(()=>n.delayDuration),disableCloseOnTriggerClick:Z(()=>n.disableCloseOnTriggerClick),disableHoverableContent:Z(()=>n.disableHoverableContent),ignoreNonKeyboardFocus:Z(()=>n.ignoreNonKeyboardFocus),disabled:Z(()=>n.disabled),onOpenChangeComplete:Z(()=>o()),tether:Z(()=>n.tether)});vf(e,{tooltip:!0,children:(e,r)=>{var i=I(),a=E(i);H(a,()=>n.children??U,()=>({open:s.opts.open.current,triggerId:s.activeTriggerId,payload:s.activePayload})),t(e,i)},$$slots:{default:!0}}),B()}var Sp=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`ref`,`side`,`sideOffset`,`align`,`avoidCollisions`,`arrowPadding`,`sticky`,`strategy`,`hideWhenDetached`,`customAnchor`,`collisionPadding`,`onInteractOutside`,`onEscapeKeydown`,`forceMount`,`style`]),Cp=f(`<div><div><!></div></div>`);function wp(e,n){let r=h();j(n,!0);let i=P(n,`id`,19,()=>Zs(r)),a=P(n,`ref`,15,null),s=P(n,`side`,3,`top`),c=P(n,`sideOffset`,3,0),l=P(n,`align`,3,`center`),u=P(n,`avoidCollisions`,3,!0),d=P(n,`arrowPadding`,3,0),f=P(n,`sticky`,3,`partial`),p=P(n,`hideWhenDetached`,3,!1),m=P(n,`collisionPadding`,3,0),g=P(n,`onInteractOutside`,3,Xs),_=P(n,`onEscapeKeydown`,3,Xs),v=P(n,`forceMount`,3,!1),y=O(n,Sp),b=bp.create({id:Z(()=>i()),ref:Z(()=>a(),e=>a(e)),onInteractOutside:Z(()=>g()),onEscapeKeydown:Z(()=>_())}),x=F(()=>({side:s(),sideOffset:c(),align:l(),avoidCollisions:u(),arrowPadding:d(),sticky:f(),hideWhenDetached:p(),collisionPadding:m(),strategy:n.strategy,customAnchor:n.customAnchor??b.root.triggerNode})),C=F(()=>ns(y,S(x),b.props));var T=I(),ee=E(T),D=e=>{{let r=(e,r)=>{let i=()=>(r?.()).props,a=()=>(r?.()).wrapperProps,s=F(()=>ns(a(),{style:{pointerEvents:b.root.disableHoverableContent?`none`:void 0}})),c=F(()=>ns(i(),{style:nf(`tooltip`)},{style:n.style}));var l=I(),u=E(l),d=e=>{var r=I(),i=E(r);{let e=F(()=>({props:S(c),wrapperProps:S(s),...b.snippetProps}));H(i,()=>n.child,()=>S(e))}t(e,r)},f=e=>{var r=Cp();A(r,()=>({...S(s)}));var i=w(r);A(i,()=>({...S(c)}));var a=w(i);H(a,()=>n.children??U),V(i),V(r),t(e,r)};o(u,e=>{n.child?e(d):e(f,-1)}),t(e,l)},a=F(()=>b.root.disableHoverableContent?`none`:`auto`);If(e,L(()=>S(C),()=>b.popperProps,{get enabled(){return b.root.opts.open.current},get id(){return i()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!0,get ref(){return b.opts.ref},tooltip:!0,get shouldRender(){return b.shouldRender},get contentPointerEvents(){return S(a)},popper:r,$$slots:{popper:!0}}))}},te=e=>{{let r=(e,r)=>{let i=()=>(r?.()).props,a=()=>(r?.()).wrapperProps,s=F(()=>ns(a(),{style:{pointerEvents:b.root.disableHoverableContent?`none`:void 0}})),c=F(()=>ns(i(),{style:nf(`tooltip`)},{style:n.style}));var l=I(),u=E(l),d=e=>{var r=I(),i=E(r);{let e=F(()=>({props:S(c),wrapperProps:S(s),...b.snippetProps}));H(i,()=>n.child,()=>S(e))}t(e,r)},f=e=>{var r=Cp();A(r,()=>({...S(s)}));var i=w(r);A(i,()=>({...S(c)}));var a=w(i);H(a,()=>n.children??U),V(i),V(r),t(e,r)};o(u,e=>{n.child?e(d):e(f,-1)}),t(e,l)},a=F(()=>b.root.disableHoverableContent?`none`:`auto`);Pf(e,L(()=>S(C),()=>b.popperProps,{get open(){return b.root.opts.open.current},get id(){return i()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!1,get ref(){return b.opts.ref},tooltip:!0,get shouldRender(){return b.shouldRender},get contentPointerEvents(){return S(a)},popper:r,$$slots:{popper:!0}}))}};o(ee,e=>{v()?e(D):v()||e(te,1)}),t(e,T),B()}var Tp=new Set([`$$slots`,`$$events`,`$$legacy`,`children`,`child`,`id`,`disabled`,`payload`,`tether`,`type`,`tabindex`,`ref`]),Ep=f(`<button><!></button>`);function Dp(e,n){let r=h();j(n,!0);let i=P(n,`id`,19,()=>Zs(r)),a=P(n,`disabled`,3,!1),s=P(n,`type`,3,`button`),c=P(n,`tabindex`,3,0),l=P(n,`ref`,15,null),u=O(n,Tp),d=yp.create({id:Z(()=>i()),disabled:Z(()=>a()??!1),tabindex:Z(()=>c()??0),payload:Z(()=>n.payload),tether:Z(()=>n.tether),ref:Z(()=>l(),e=>l(e))}),f=F(()=>ns(u,d.props,{type:s()}));var p=I(),m=E(p),g=e=>{var r=I(),i=E(r);H(i,()=>n.child,()=>({props:S(f)})),t(e,r)},_=e=>{var r=Ep();A(r,()=>({...S(f)}));var i=w(r);H(i,()=>n.children??U),V(r),t(e,r)};o(m,e=>{n.child?e(g):e(_,-1)}),t(e,p),B()}var Op=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`]);function kp(e,t){j(t,!0);let n=P(t,`ref`,15,null),r=O(t,Op);Tf(e,L(()=>r,{get ref(){return n()},set ref(e){n(e)}})),B()}function Ap(e,n){j(n,!0);let r=P(n,`delayDuration`,3,700),i=P(n,`disableCloseOnTriggerClick`,3,!1),a=P(n,`disableHoverableContent`,3,!1),o=P(n,`disabled`,3,!1),s=P(n,`ignoreNonKeyboardFocus`,3,!1),c=P(n,`skipDelayDuration`,3,300);_p.create({delayDuration:Z(()=>r()),disableCloseOnTriggerClick:Z(()=>i()),disableHoverableContent:Z(()=>a()),disabled:Z(()=>o()),ignoreNonKeyboardFocus:Z(()=>s()),skipDelayDuration:Z(()=>c())});var l=I(),u=E(l);H(u,()=>n.children??U),t(e,l),B()}var jp=new Set([`$$slots`,`$$events`,`$$legacy`]);function Mp(e,t){let n=O(t,jp),r=[[`path`,{d:`M20 6 9 17l-5-5`}]];Ie(e,L({name:`check`},()=>n,{get iconNode(){return r}}))}var Np=new Set([`$$slots`,`$$events`,`$$legacy`]);function Pp(e,t){let n=O(t,Np),r=[[`path`,{d:`M5 12h14`}]];Ie(e,L({name:`minus`},()=>n,{get iconNode(){return r}}))}var Fp=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`checked`,`indeterminate`,`class`]),Ip=f(`<div data-slot="checkbox-indicator" class="[&>svg]:size-3.5 grid place-content-center text-current transition-none"><!></div>`);function Lp(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=P(n,`checked`,15,!1),a=P(n,`indeterminate`,15,!1),s=O(n,Fp);var c=I(),l=E(c);{let e=(e,n)=>{let r=()=>(n?.()).checked,i=()=>(n?.()).indeterminate;var a=Ip(),s=w(a),c=e=>{Mp(e,{})},l=e=>{Pp(e,{})};o(s,e=>{r()?e(c):i()&&e(l,1)}),V(a),t(e,a)},c=F(()=>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`,n.class));k(l,()=>eu,(t,n)=>{n(t,L({"data-slot":`checkbox`,get class(){return S(c)}},()=>s,{get ref(){return r()},set ref(e){r(e)},get checked(){return i()},set checked(e){i(e)},get indeterminate(){return a()},set indeterminate(e){a(e)},children:e,$$slots:{default:!0}}))})}t(e,c),B()}var Rp=new Set([`$$slots`,`$$events`,`$$legacy`,`open`]);function zp(e,n){j(n,!0);let r=P(n,`open`,15,!1),i=O(n,Rp);var a=I(),o=E(a);k(o,()=>Qf,(e,t)=>{t(e,L(()=>i,{get open(){return r()},set open(e){r(e)}}))}),t(e,a),B()}var Bp=new Set([`$$slots`,`$$events`,`$$legacy`]);function Vp(e,n){let r=O(n,Bp);var i=I(),a=E(i);k(a,()=>gc,(e,t)=>{t(e,L(()=>r))}),t(e,i)}var Hp=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function Up(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=O(n,Hp);var a=I(),o=E(a);{let e=F(()=>J(`text-base leading-none font-medium`,n.class));k(o,()=>cc,(t,n)=>{n(t,L({"data-slot":`dialog-title`,get class(){return S(e)}},()=>i,{get ref(){return r()},set ref(e){r(e)}}))})}t(e,a),B()}var Wp=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`,`showCloseButton`]),Gp=f(`<div><!> <!></div>`);function Kp(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=P(n,`showCloseButton`,3,!1),a=O(n,Wp);var c=Gp();A(c,e=>({"data-slot":`dialog-footer`,class:e,...a}),[()=>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`,n.class)]);var l=w(c);H(l,()=>n.children??U);var u=g(l,2),d=e=>{var n=I(),r=E(n);{let e=(e,n)=>{fo(e,L({variant:`outline`},()=>(n?.()).props,{children:(e,n)=>{D();var r=s(`Close`);t(e,r)},$$slots:{default:!0}}))};k(r,()=>tp,(t,n)=>{n(t,{child:e,$$slots:{child:!0}})})}t(e,n)};o(u,e=>{i()&&e(d)}),V(c),re(c,e=>r(e),()=>r()),t(e,c),B()}var qp=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),Jp=f(`<div><!></div>`);function Yp(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=O(n,qp);var a=Jp();A(a,e=>({"data-slot":`dialog-header`,class:e,...i}),[()=>J(`gap-2 flex flex-col`,n.class)]);var o=w(a);H(o,()=>n.children??U),V(a),re(a,e=>r(e),()=>r()),t(e,a),B()}var Xp=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function Zp(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=O(n,Xp);var a=I(),o=E(a);{let e=F(()=>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`,n.class));k(o,()=>Ll,(t,n)=>{n(t,L({"data-slot":`dialog-overlay`,get class(){return S(e)}},()=>i,{get ref(){return r()},set ref(e){r(e)}}))})}t(e,a),B()}var Qp=new Set([`$$slots`,`$$events`,`$$legacy`]);function $p(e,t){let n=O(t,Qp),r=[[`path`,{d:`M18 6 6 18`}],[`path`,{d:`m6 6 12 12`}]];Ie(e,L({name:`x`},()=>n,{get iconNode(){return r}}))}var em=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`portalProps`,`children`,`showCloseButton`]),tm=f(`<!> <span class="sr-only">Close</span>`,1),nm=f(`<!> <!>`,1);function rm(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=P(n,`showCloseButton`,3,!0),a=O(n,em);Vp(e,L(()=>n.portalProps,{children:(e,s)=>{var c=nm(),l=E(c);k(l,()=>Zp,(e,t)=>{t(e,{})});var u=g(l,2);{let e=F(()=>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`,n.class));k(u,()=>ap,(s,c)=>{c(s,L({"data-slot":`dialog-content`,get class(){return S(e)}},()=>a,{get ref(){return r()},set ref(e){r(e)},children:(e,r)=>{var a=nm(),s=E(a);H(s,()=>n.children??U);var c=g(s,2),l=e=>{var n=I(),r=E(n);{let e=(e,n)=>{fo(e,L({variant:`ghost`,class:`absolute top-2 right-2`,size:`icon-sm`},()=>(n?.()).props,{children:(e,n)=>{var r=tm();$p(E(r),{}),D(2),t(e,r)},$$slots:{default:!0}}))};k(r,()=>tp,(t,n)=>{n(t,{"data-slot":`dialog-close`,child:e,$$slots:{child:!0}})})}t(e,n)};o(c,e=>{i()&&e(l)}),t(e,a)},$$slots:{default:!0}}))})}t(e,c)},$$slots:{default:!0}})),B()}var im=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function am(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=O(n,im);var a=I(),o=E(a);{let e=F(()=>J(`text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3`,n.class));k(o,()=>Bl,(t,n)=>{n(t,L({"data-slot":`dialog-description`,get class(){return S(e)}},()=>i,{get ref(){return r()},set ref(e){r(e)}}))})}t(e,a),B()}var om=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`value`,`type`,`files`,`class`,`data-slot`]),sm=f(`<input/>`);function cm(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=P(n,`value`,15),a=P(n,`files`,15),s=P(n,`data-slot`,3,`input`),c=O(n,om);var l=I(),u=E(l),d=e=>{var o=sm();A(o,e=>({"data-slot":s(),class:e,type:`file`,...c}),[()=>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`,n.class)],void 0,void 0,void 0,!0),re(o,e=>r(e),()=>r()),ue(o,a),ve(o,i),t(e,o)},f=e=>{var a=sm();A(a,e=>({"data-slot":s(),class:e,type:n.type,...c}),[()=>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`,n.class)],void 0,void 0,void 0,!0),re(a,e=>r(e),()=>r()),ve(a,i),t(e,a)};o(u,e=>{n.type===`file`?e(d):e(f,-1)}),t(e,l),B()}var lm=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function um(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=O(n,lm);var a=I(),o=E(a);{let e=F(()=>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`,n.class));k(o,()=>up,(t,n)=>{n(t,L({"data-slot":`label`,get class(){return S(e)}},()=>i,{get ref(){return r()},set ref(e){r(e)}}))})}t(e,a),B()}var dm=new Set([`$$slots`,`$$events`,`$$legacy`,`open`]);function fm(e,n){j(n,!0);let r=P(n,`open`,15,!1),i=O(n,dm);var a=I(),o=E(a);k(o,()=>dp,(e,t)=>{t(e,L(()=>i,{get open(){return r()},set open(e){r(e)}}))}),t(e,a),B()}var pm=new Set([`$$slots`,`$$events`,`$$legacy`]);function mm(e,n){let r=O(n,pm);var i=I(),a=E(i);k(a,()=>gc,(e,t)=>{t(e,L(()=>r))}),t(e,i)}var hm=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`sideOffset`,`align`,`portalProps`]);function gm(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=P(n,`sideOffset`,3,4),a=P(n,`align`,3,`center`),o=O(n,hm);mm(e,L(()=>n.portalProps,{children:(e,s)=>{var c=I(),l=E(c);{let e=F(()=>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`,n.class));k(l,()=>Jf,(t,n)=>{n(t,L({"data-slot":`popover-content`,get sideOffset(){return i()},get align(){return a()},get class(){return S(e)}},()=>o,{get ref(){return r()},set ref(e){r(e)}}))})}t(e,c)},$$slots:{default:!0}})),B()}var _m=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),vm=f(`<div><!></div>`);function ym(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=O(n,_m);var a=vm();A(a,e=>({"data-slot":`popover-description`,class:e,...i}),[()=>J(`text-muted-foreground`,n.class)]);var o=w(a);H(o,()=>n.children??U),V(a),re(a,e=>r(e),()=>r()),t(e,a),B()}var bm=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),xm=f(`<div><!></div>`);function Sm(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=O(n,bm);var a=xm();A(a,e=>({"data-slot":`popover-header`,class:e,...i}),[()=>J(`flex flex-col gap-0.5 text-sm`,n.class)]);var o=w(a);H(o,()=>n.children??U),V(a),re(a,e=>r(e),()=>r()),t(e,a),B()}var Cm=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`children`]),wm=f(`<div><!></div>`);function Tm(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=O(n,Cm);var a=wm();A(a,e=>({"data-slot":`popover-title`,class:e,...i}),[()=>J(`font-medium`,n.class)]);var o=w(a);H(o,()=>n.children??U),V(a),re(a,e=>r(e),()=>r()),t(e,a),B()}var Em=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`]);function Dm(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=O(n,Em);var a=I(),o=E(a);{let e=F(()=>J(``,n.class));k(o,()=>Zf,(t,n)=>{n(t,L({"data-slot":`popover-trigger`,get class(){return S(e)}},()=>i,{get ref(){return r()},set ref(e){r(e)}}))})}t(e,a),B()}async function Om(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 km(e){return Om(await fetch(`${e}/api/send-email/config`))}async function Am(e,t){return Om(await fetch(`${e}/api/send-email/config`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify(t)}))}async function jm(e,t){return Om(await fetch(`${e}/api/send-email`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify(t)}))}var Mm=f(`<!> Send Email`,1),Nm=f(`<!> <!>`,1),Pm=f(`<p class="text-sm text-destructive"> </p>`),Fm=f(`<p class="text-sm text-green-600 dark:text-green-500">Email sent successfully.</p>`),Im=f(`<!> <div class="grid gap-3 py-2"><div class="grid gap-2"><!> <!></div> <!> <!> <!></div>`,1),Lm=f(`<!> <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 Rm(n,r){j(r,!0);let i=`onboarding@resend.dev`,a=`bse_send_email_to`,c=R(e(r.sendEmailConfig.from)),u=R(!1),d=R(!1),f=R(``),p=R(i),h=R(!0),_=R(!1),v=R(null),y=R(``),b=R(!1),x=R(null),C=R(!1),T=F(()=>!r.html||!r.selectedFile||!r.previewApiOrigin);function ee(){let e=localStorage.getItem(a);e&&z(y,e,!0)}function O(e){localStorage.setItem(a,e)}async function te(){if(!r.previewApiOrigin)return null;try{let e=await km(r.previewApiOrigin);return z(c,e.from,!0),e.from&&z(p,e.from,!0),e}catch{return z(c,null),null}}l(()=>{z(c,r.sendEmailConfig.from,!0),r.sendEmailConfig.from&&z(p,r.sendEmailConfig.from,!0)}),pe(()=>{ee()});async function ne(e){if(e.preventDefault(),!S(T)){if(z(x,null),z(C,!1),z(v,null),z(d,!1),!(await te())?.configured){z(u,!0);return}z(d,!0)}}async function re(){if(r.previewApiOrigin){z(_,!0),z(v,null);try{let e=await Am(r.previewApiOrigin,{apiKey:S(f).trim(),from:S(p).trim()||i,persist:S(h)});z(c,e.from,!0),z(f,``),z(u,!1),z(d,!0),await we()}catch(e){z(v,e instanceof Error?e.message:`Failed to save Resend settings.`,!0)}finally{z(_,!1)}}}async function ie(){if(!r.previewApiOrigin||!r.selectedFile||!r.html.trim())return;let e=S(y).trim();if(!e){z(x,`Recipient email is required.`);return}z(b,!0),z(x,null),z(C,!1);try{await jm(r.previewApiOrigin,{to:e,file:r.selectedFile,html:r.html}),O(e),z(C,!0)}catch(e){z(x,e instanceof Error?e.message:`Failed to send email.`,!0)}finally{z(b,!1)}}var A=Nm(),ae=E(A);k(ae,()=>fm,(e,n)=>{n(e,{get open(){return S(d)},set open(e){z(d,e,!0)},children:(e,n)=>{var r=Nm(),i=E(r);{let e=(e,n)=>{fo(e,L(()=>(n?.()).props,{variant:`outline`,size:`sm`,get disabled(){return S(T)},onclick:ne,children:(e,n)=>{var r=Mm();or(E(r),{class:`size-3`}),D(),t(e,r)},$$slots:{default:!0}}))};k(i,()=>Dm,(t,n)=>{n(t,{child:e,$$slots:{child:!0}})})}var a=g(i,2);k(a,()=>gm,(e,n)=>{n(e,{class:`w-80`,align:`end`,children:(e,n)=>{var r=Im(),i=E(r);k(i,()=>Sm,(e,n)=>{n(e,{children:(e,n)=>{var r=Nm(),i=E(r);k(i,()=>Tm,(e,n)=>{n(e,{children:(e,n)=>{D();var r=s(`Send test email`);t(e,r)},$$slots:{default:!0}})});var a=g(i,2),l=e=>{var n=I(),r=E(n);k(r,()=>ym,(e,n)=>{n(e,{children:(e,n)=>{D();var r=s();he(()=>m(r,`From ${S(c)??``}`)),t(e,r)},$$slots:{default:!0}})}),t(e,n)};o(a,e=>{S(c)&&e(l)}),t(e,r)},$$slots:{default:!0}})});var a=g(i,2),l=w(a),u=w(l);um(u,{for:`send-to`,children:(e,n)=>{D();var r=s(`To`);t(e,r)},$$slots:{default:!0}}),cm(g(u,2),{id:`send-to`,type:`email`,placeholder:`you@example.com`,onkeydown:e=>{e.key===`Enter`&&!S(b)&&ie()},get value(){return S(y)},set value(e){z(y,e,!0)}}),V(l);var d=g(l,2),f=e=>{var n=Pm(),r=w(n,!0);V(n),he(()=>m(r,S(x))),t(e,n)};o(d,e=>{S(x)&&e(f)});var p=g(d,2),h=e=>{var n=Fm();t(e,n)};o(p,e=>{S(C)&&e(h)});var _=g(p,2);{let e=F(()=>S(b)||!S(y).trim());fo(_,{class:`w-full`,onclick:ie,get disabled(){return S(e)},children:(e,n)=>{D();var r=s();he(()=>m(r,S(b)?`Sending…`:`Send`)),t(e,r)},$$slots:{default:!0}})}V(a),t(e,r)},$$slots:{default:!0}})}),t(e,r)},$$slots:{default:!0}})});var oe=g(ae,2);k(oe,()=>zp,(e,n)=>{n(e,{get open(){return S(u)},set open(e){z(u,e,!0)},children:(e,n)=>{var r=I(),a=E(r);k(a,()=>rm,(e,n)=>{n(e,{class:`sm:max-w-md`,children:(e,n)=>{var r=Lm(),a=E(r);k(a,()=>Yp,(e,n)=>{n(e,{children:(e,n)=>{var r=Nm(),i=E(r);k(i,()=>Up,(e,n)=>{n(e,{children:(e,n)=>{D();var r=s(`Resend setup`);t(e,r)},$$slots:{default:!0}})});var a=g(i,2);k(a,()=>am,(e,n)=>{n(e,{children:(e,n)=>{D();var r=s(`Connect Resend to send test emails from the preview. Your API key is only used by the local
|
|
18
|
-
CLI server.`);t(e,r)},$$slots:{default:!0}})}),t(e,r)},$$slots:{default:!0}})});var c=g(a,2),l=w(c),d=w(l);um(d,{for:`resend-api-key`,children:(e,n)=>{D();var r=s(`API key`);t(e,r)},$$slots:{default:!0}}),cm(g(d,2),{id:`resend-api-key`,type:`password`,autocomplete:`off`,placeholder:`re_...`,get value(){return S(f)},set value(e){z(f,e,!0)}}),V(l);var y=g(l,2),b=w(y);um(b,{for:`resend-from`,children:(e,n)=>{D();var r=s(`From`);t(e,r)},$$slots:{default:!0}}),cm(g(b,2),{id:`resend-from`,type:`email`,placeholder:i,get value(){return S(p)},set value(e){z(p,e,!0)}}),V(y);var x=g(y,2),C=w(x);Lp(C,{id:`resend-persist`,get checked(){return S(h)},set checked(e){z(h,e,!0)}});var T=g(C,2);um(w(T),{for:`resend-persist`,class:`font-normal`,children:(e,n)=>{D();var r=s(`Save credentials in .bse/`);t(e,r)},$$slots:{default:!0}}),D(2),V(T),V(x);var ee=g(x,2),O=e=>{var n=Pm(),r=w(n,!0);V(n),he(()=>m(r,S(v))),t(e,n)};o(ee,e=>{S(v)&&e(O)}),V(c);var te=g(c,2);k(te,()=>Kp,(e,n)=>{n(e,{children:(e,n)=>{var r=Nm(),i=E(r);fo(i,{variant:`outline`,onclick:()=>z(u,!1),get disabled(){return S(_)},children:(e,n)=>{D();var r=s(`Cancel`);t(e,r)},$$slots:{default:!0}});var a=g(i,2);{let e=F(()=>S(_)||!S(f).trim());fo(a,{onclick:re,get disabled(){return S(e)},children:(e,n)=>{D();var r=s();he(()=>m(r,S(_)?`Saving…`:`Save & continue`)),t(e,r)},$$slots:{default:!0}})}t(e,r)},$$slots:{default:!0}})}),t(e,r)},$$slots:{default:!0}})}),t(e,r)},$$slots:{default:!0}})}),t(n,A),B()}var zm=Object.defineProperty,Bm=Object.getOwnPropertyDescriptor,Vm=Object.getOwnPropertyNames,Hm=Object.prototype.hasOwnProperty,Um=(e,t)=>{let n={};for(var r in e)zm(n,r,{get:e[r],enumerable:!0});return t||zm(n,Symbol.toStringTag,{value:`Module`}),n},Wm=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=Vm(t),a=0,o=i.length,s;a<o;a++)s=i[a],!Hm.call(e,s)&&s!==n&&zm(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=Bm(t,s))||r.enumerable});return e},Gm=(e,t,n)=>(Wm(e,t,`default`),n&&Wm(n,t,`default`)),Km=[{id:`abap`,name:`ABAP`,import:(()=>W(()=>import(`./CLvhMVsD.js`),[],import.meta.url))},{id:`actionscript-3`,name:`ActionScript`,aliases:[`actionscript`,`as3`],import:(()=>W(()=>import(`./Cs6JJXT5.js`),[],import.meta.url))},{id:`ada`,name:`Ada`,import:(()=>W(()=>import(`./C5qYipkI.js`),[],import.meta.url))},{id:`ahk`,name:`AutoHotkey`,aliases:[`ahk1`],import:(()=>W(()=>import(`./CA9gdOdF.js`),[],import.meta.url))},{id:`ahk2`,name:`AutoHotkey2`,import:(()=>W(()=>import(`./_6rzW9BS.js`),[],import.meta.url))},{id:`angular-html`,name:`Angular HTML`,import:(()=>W(()=>import(`./B4nfriop.js`).then(e=>e.n),__vite__mapDeps([0,1,2,3,4]),import.meta.url))},{id:`angular-ts`,name:`Angular TypeScript`,import:(()=>W(()=>import(`./B0iNQslz.js`),__vite__mapDeps([5,0,1,2,3,4,6]),import.meta.url))},{id:`apache`,name:`Apache Conf`,import:(()=>W(()=>import(`./U0d_L8uA.js`),[],import.meta.url))},{id:`apex`,name:`Apex`,import:(()=>W(()=>import(`./KFGFyKwG.js`),[],import.meta.url))},{id:`apl`,name:`APL`,import:(()=>W(()=>import(`./Dtn6NLbI.js`),__vite__mapDeps([7,3,1,4,2,8,9,10]),import.meta.url))},{id:`applescript`,name:`AppleScript`,import:(()=>W(()=>import(`./CCn79oCD.js`),[],import.meta.url))},{id:`ara`,name:`Ara`,import:(()=>W(()=>import(`./4CJ0cIlV.js`),[],import.meta.url))},{id:`asciidoc`,name:`AsciiDoc`,aliases:[`adoc`],import:(()=>W(()=>import(`./SCjQUq34.js`),[],import.meta.url))},{id:`asm`,name:`Assembly`,import:(()=>W(()=>import(`./Cmm7eHzH.js`),[],import.meta.url))},{id:`astro`,name:`Astro`,import:(()=>W(()=>import(`./pk7CcyRt2.js`),__vite__mapDeps([11,3,1,4,10,12,13,14]),import.meta.url))},{id:`awk`,name:`AWK`,import:(()=>W(()=>import(`./BWXHIvNe2.js`),[],import.meta.url))},{id:`ballerina`,name:`Ballerina`,import:(()=>W(()=>import(`./B7ZEbQpA2.js`),[],import.meta.url))},{id:`bat`,name:`Batch File`,aliases:[`batch`,`cmd`],import:(()=>W(()=>import(`./qdxAdBWQ2.js`),[],import.meta.url))},{id:`beancount`,name:`Beancount`,import:(()=>W(()=>import(`./D-usSTwE2.js`),[],import.meta.url))},{id:`berry`,name:`Berry`,aliases:[`be`],import:(()=>W(()=>import(`./DKpUyyne2.js`),[],import.meta.url))},{id:`bibtex`,name:`BibTeX`,import:(()=>W(()=>import(`./Ci_nEsc72.js`),[],import.meta.url))},{id:`bicep`,name:`Bicep`,import:(()=>W(()=>import(`./CUHmPFLl2.js`),[],import.meta.url))},{id:`bird2`,name:`BIRD2 Configuration`,aliases:[`bird`],import:(()=>W(()=>import(`./CYIUgYqB2.js`),[],import.meta.url))},{id:`blade`,name:`Blade`,import:(()=>W(()=>import(`./Dbkyqgda2.js`),__vite__mapDeps([15,3,1,4,2,8,9,10,16,17]),import.meta.url))},{id:`bsl`,name:`1C (Enterprise)`,aliases:[`1c`],import:(()=>W(()=>import(`./Ft8OTbFq2.js`),__vite__mapDeps([18,19]),import.meta.url))},{id:`c`,name:`C`,import:(()=>W(()=>import(`./o5QeSYPS2.js`).then(e=>e.n),__vite__mapDeps([20,1]),import.meta.url))},{id:`c3`,name:`C3`,import:(()=>W(()=>import(`./D0apG41V2.js`),[],import.meta.url))},{id:`cadence`,name:`Cadence`,aliases:[`cdc`],import:(()=>W(()=>import(`./CQ2zXKGN2.js`),[],import.meta.url))},{id:`cairo`,name:`Cairo`,import:(()=>W(()=>import(`./DvRy0wJr2.js`),__vite__mapDeps([21,22]),import.meta.url))},{id:`chapel`,name:`Chapel`,aliases:[`chpl`],import:(()=>W(()=>import(`./CsCG9XlY2.js`),__vite__mapDeps([23,20,1]),import.meta.url))},{id:`clarity`,name:`Clarity`,import:(()=>W(()=>import(`./CtfBBspg2.js`),[],import.meta.url))},{id:`clojure`,name:`Clojure`,aliases:[`clj`],import:(()=>W(()=>import(`./DqKBuwfJ2.js`),[],import.meta.url))},{id:`cmake`,name:`CMake`,import:(()=>W(()=>import(`./Bj61d0ZC2.js`),[],import.meta.url))},{id:`cobol`,name:`COBOL`,import:(()=>W(()=>import(`./AoC3-GXO2.js`),__vite__mapDeps([24,2,1,3,4,9]),import.meta.url))},{id:`codeowners`,name:`CODEOWNERS`,import:(()=>W(()=>import(`./C8r90Shi2.js`),[],import.meta.url))},{id:`codeql`,name:`CodeQL`,aliases:[`ql`],import:(()=>W(()=>import(`./oeQT6MSM.js`),[],import.meta.url))},{id:`coffee`,name:`CoffeeScript`,aliases:[`coffeescript`],import:(()=>W(()=>import(`./DatEshCS.js`),__vite__mapDeps([25,3,1]),import.meta.url))},{id:`common-lisp`,name:`Common Lisp`,aliases:[`lisp`],import:(()=>W(()=>import(`./Cv5bFMCO.js`),[],import.meta.url))},{id:`coq`,name:`Rocq`,import:(()=>W(()=>import(`./DuBRPxYg.js`),[],import.meta.url))},{id:`cpp`,name:`C++`,aliases:[`c++`],import:(()=>W(()=>import(`./CmhtYr-H.js`).then(e=>e.n),__vite__mapDeps([26,1,27,28,20]),import.meta.url))},{id:`crystal`,name:`Crystal`,import:(()=>W(()=>import(`./cM1P9coc.js`),__vite__mapDeps([29,3,1,4,2,17,20,30]),import.meta.url))},{id:`csharp`,name:`C#`,aliases:[`c#`,`cs`],import:(()=>W(()=>import(`./oqKa8noW.js`),[],import.meta.url))},{id:`css`,name:`CSS`,import:(()=>W(()=>import(`./Dgfk8zCU.js`).then(e=>e.n),__vite__mapDeps([4,1]),import.meta.url))},{id:`csv`,name:`CSV`,import:(()=>W(()=>import(`./Dx-8-gkx.js`),[],import.meta.url))},{id:`cue`,name:`CUE`,import:(()=>W(()=>import(`./CE9AQfxI.js`),[],import.meta.url))},{id:`cypher`,name:`Cypher`,aliases:[`cql`],import:(()=>W(()=>import(`./ClKdZ_lG.js`),[],import.meta.url))},{id:`d`,name:`D`,import:(()=>W(()=>import(`./qD-0Kul2.js`),[],import.meta.url))},{id:`dart`,name:`Dart`,import:(()=>W(()=>import(`./CnvKMtbv.js`),[],import.meta.url))},{id:`dax`,name:`DAX`,import:(()=>W(()=>import(`./BkyTk9wS.js`),[],import.meta.url))},{id:`desktop`,name:`Desktop`,import:(()=>W(()=>import(`./Dlh5hvp9.js`),[],import.meta.url))},{id:`diff`,name:`Diff`,import:(()=>W(()=>import(`./woXpYk--.js`),[],import.meta.url))},{id:`docker`,name:`Dockerfile`,aliases:[`dockerfile`],import:(()=>W(()=>import(`./IyjqRm3v.js`),[],import.meta.url))},{id:`dotenv`,name:`dotEnv`,import:(()=>W(()=>import(`./_5a1GRtc.js`),[],import.meta.url))},{id:`dream-maker`,name:`Dream Maker`,import:(()=>W(()=>import(`./DW3nJb8Q.js`),[],import.meta.url))},{id:`edge`,name:`Edge`,import:(()=>W(()=>import(`./CDG3PAdG.js`),__vite__mapDeps([31,2,1,3,4,12,16]),import.meta.url))},{id:`elixir`,name:`Elixir`,import:(()=>W(()=>import(`./XT7mgm2-.js`),__vite__mapDeps([32,2,1,3,4]),import.meta.url))},{id:`elm`,name:`Elm`,import:(()=>W(()=>import(`./DlX1gWpk.js`),__vite__mapDeps([33,28,1,20]),import.meta.url))},{id:`emacs-lisp`,name:`Emacs Lisp`,aliases:[`elisp`],import:(()=>W(()=>import(`./c_oH4hRZ.js`),[],import.meta.url))},{id:`erb`,name:`ERB`,import:(()=>W(()=>import(`./PMQDBV5J.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:(()=>W(()=>import(`./CXuKk5E8.js`),__vite__mapDeps([41,42]),import.meta.url))},{id:`fennel`,name:`Fennel`,import:(()=>W(()=>import(`./DQxkIbk2.js`),[],import.meta.url))},{id:`fish`,name:`Fish`,import:(()=>W(()=>import(`./BJitypiv.js`),[],import.meta.url))},{id:`fluent`,name:`Fluent`,aliases:[`ftl`],import:(()=>W(()=>import(`./C03EYrpw.js`),[],import.meta.url))},{id:`fortran-fixed-form`,name:`Fortran (Fixed Form)`,aliases:[`f`,`for`,`f77`],import:(()=>W(()=>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:(()=>W(()=>import(`./CYNrtFtB.js`),[],import.meta.url))},{id:`fsharp`,name:`F#`,aliases:[`f#`,`fs`],import:(()=>W(()=>import(`./Yf0g_uY-2.js`),__vite__mapDeps([45,42]),import.meta.url))},{id:`gdresource`,name:`GDResource`,aliases:[`tscn`,`tres`],import:(()=>W(()=>import(`./CyoNGCRj2.js`),__vite__mapDeps([46,47,48]),import.meta.url))},{id:`gdscript`,name:`GDScript`,aliases:[`gd`],import:(()=>W(()=>import(`./DYvRD3hg2.js`),[],import.meta.url))},{id:`gdshader`,name:`GDShader`,import:(()=>W(()=>import(`./CBce3t8t2.js`),[],import.meta.url))},{id:`genie`,name:`Genie`,import:(()=>W(()=>import(`./CV2tkWYe2.js`),[],import.meta.url))},{id:`gherkin`,name:`Gherkin`,import:(()=>W(()=>import(`./DExj1W_82.js`),[],import.meta.url))},{id:`git-commit`,name:`Git Commit Message`,import:(()=>W(()=>import(`./DDqZBno92.js`),__vite__mapDeps([49,50]),import.meta.url))},{id:`git-rebase`,name:`Git Rebase Message`,import:(()=>W(()=>import(`./CLbN30Ww2.js`),__vite__mapDeps([51,30,1]),import.meta.url))},{id:`gleam`,name:`Gleam`,import:(()=>W(()=>import(`./CSRkHgEL2.js`),[],import.meta.url))},{id:`glimmer-js`,name:`Glimmer JS`,aliases:[`gjs`],import:(()=>W(()=>import(`./sDfmG-q52.js`),__vite__mapDeps([52,3,1,4,2,12]),import.meta.url))},{id:`glimmer-ts`,name:`Glimmer TS`,aliases:[`gts`],import:(()=>W(()=>import(`./BLs_XbWi2.js`),__vite__mapDeps([53,3,1,4,2,12]),import.meta.url))},{id:`glsl`,name:`GLSL`,import:(()=>W(()=>import(`./DRtTh9R_.js`).then(e=>e.n),__vite__mapDeps([28,1,20]),import.meta.url))},{id:`gn`,name:`GN`,import:(()=>W(()=>import(`./ilITqXS62.js`),[],import.meta.url))},{id:`gnuplot`,name:`Gnuplot`,import:(()=>W(()=>import(`./7GGW24-e2.js`),[],import.meta.url))},{id:`go`,name:`Go`,import:(()=>W(()=>import(`./rLFTqkRN2.js`),[],import.meta.url))},{id:`graphql`,name:`GraphQL`,aliases:[`gql`],import:(()=>W(()=>import(`./OOMz51rW.js`).then(e=>e.n),__vite__mapDeps([37,1,3,12,14,38]),import.meta.url))},{id:`groovy`,name:`Groovy`,import:(()=>W(()=>import(`./CacY0gHj2.js`),[],import.meta.url))},{id:`hack`,name:`Hack`,import:(()=>W(()=>import(`./B92yCKkz2.js`),__vite__mapDeps([54,2,1,3,4,17]),import.meta.url))},{id:`haml`,name:`Ruby Haml`,import:(()=>W(()=>import(`./b1-zR7XP.js`).then(e=>e.n),__vite__mapDeps([36,1,3,4]),import.meta.url))},{id:`handlebars`,name:`Handlebars`,aliases:[`hbs`],import:(()=>W(()=>import(`./i9_wZDsL2.js`),__vite__mapDeps([55,3,1,4,2,40]),import.meta.url))},{id:`haskell`,name:`Haskell`,aliases:[`hs`],import:(()=>W(()=>import(`./D8IpX4py2.js`),[],import.meta.url))},{id:`haxe`,name:`Haxe`,import:(()=>W(()=>import(`./C8oCnwJJ2.js`),[],import.meta.url))},{id:`hcl`,name:`HashiCorp HCL`,import:(()=>W(()=>import(`./Dh228itO2.js`),[],import.meta.url))},{id:`hjson`,name:`Hjson`,import:(()=>W(()=>import(`./CxZEssPk2.js`),[],import.meta.url))},{id:`hlsl`,name:`HLSL`,import:(()=>W(()=>import(`./Cvrh5tZx2.js`),[],import.meta.url))},{id:`html`,name:`HTML`,import:(()=>W(()=>import(`./CVhNsCIr.js`).then(e=>e.n),__vite__mapDeps([2,1,3,4]),import.meta.url))},{id:`html-derivative`,name:`HTML (Derivative)`,import:(()=>W(()=>import(`./GPf5fMLC2.js`),__vite__mapDeps([16,2,1,3,4]),import.meta.url))},{id:`http`,name:`HTTP`,import:(()=>W(()=>import(`./D8y1tx0e2.js`),__vite__mapDeps([56,8,1,9,10,30,37,3,12,14,38]),import.meta.url))},{id:`hurl`,name:`Hurl`,import:(()=>W(()=>import(`./CjRP0NjD2.js`),__vite__mapDeps([57,8,1,9,58,37,3,12,14,38]),import.meta.url))},{id:`hxml`,name:`HXML`,import:(()=>W(()=>import(`./Dc2A3rbH2.js`),__vite__mapDeps([59,60]),import.meta.url))},{id:`hy`,name:`Hy`,import:(()=>W(()=>import(`./CZbG8q4J.js`),[],import.meta.url))},{id:`imba`,name:`Imba`,import:(()=>W(()=>import(`./DsUTQ-LC.js`),[],import.meta.url))},{id:`ini`,name:`INI`,aliases:[`properties`],import:(()=>W(()=>import(`./B5eOa1yu.js`),[],import.meta.url))},{id:`java`,name:`Java`,import:(()=>W(()=>import(`./DIA3aJp6.js`).then(e=>e.n),__vite__mapDeps([9,1]),import.meta.url))},{id:`javascript`,name:`JavaScript`,aliases:[`js`,`cjs`,`mjs`],import:(()=>W(()=>import(`./Bf_OO4m5.js`).then(e=>e.n),__vite__mapDeps([3,1]),import.meta.url))},{id:`jinja`,name:`Jinja`,import:(()=>W(()=>import(`./Cx4VUS55.js`),__vite__mapDeps([61,2,1,3,4]),import.meta.url))},{id:`jison`,name:`Jison`,import:(()=>W(()=>import(`./MfeErNn-.js`),__vite__mapDeps([62,3,1]),import.meta.url))},{id:`json`,name:`JSON`,import:(()=>W(()=>import(`./BPpVW1t9.js`).then(e=>e.n),__vite__mapDeps([10,1]),import.meta.url))},{id:`json5`,name:`JSON5`,import:(()=>W(()=>import(`./BR5RXkoi.js`),[],import.meta.url))},{id:`jsonc`,name:`JSON with Comments`,import:(()=>W(()=>import(`./CYpm1nAK.js`),[],import.meta.url))},{id:`jsonl`,name:`JSON Lines`,import:(()=>W(()=>import(`./CmCQp5Yx.js`),[],import.meta.url))},{id:`jsonnet`,name:`Jsonnet`,import:(()=>W(()=>import(`./CJTPZ8u_.js`),[],import.meta.url))},{id:`jssm`,name:`JSSM`,aliases:[`fsl`],import:(()=>W(()=>import(`./DXw9l8Rf.js`),[],import.meta.url))},{id:`jsx`,name:`JSX`,import:(()=>W(()=>import(`./DET9eGgo.js`).then(e=>e.n),__vite__mapDeps([38,1]),import.meta.url))},{id:`julia`,name:`Julia`,aliases:[`jl`],import:(()=>W(()=>import(`./QtN_jOZp.js`),__vite__mapDeps([63,3,1,17,22,26,27,28,20,64]),import.meta.url))},{id:`just`,name:`Just`,aliases:[`justfile`],import:(()=>W(()=>import(`./BLb6t9Lh.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:(()=>W(()=>import(`./CsD5j6eV.js`),[],import.meta.url))},{id:`kotlin`,name:`Kotlin`,aliases:[`kt`,`kts`],import:(()=>W(()=>import(`./DhhofPvG.js`),[],import.meta.url))},{id:`kusto`,name:`Kusto`,aliases:[`kql`],import:(()=>W(()=>import(`./C7mF5XQf.js`),[],import.meta.url))},{id:`latex`,name:`LaTeX`,import:(()=>W(()=>import(`./D_kqbw5z.js`),__vite__mapDeps([67,68,1,64]),import.meta.url))},{id:`lean`,name:`Lean 4`,aliases:[`lean4`],import:(()=>W(()=>import(`./CewbzKMR.js`),[],import.meta.url))},{id:`less`,name:`Less`,import:(()=>W(()=>import(`./DVTAwKKz.js`),[],import.meta.url))},{id:`liquid`,name:`Liquid`,import:(()=>W(()=>import(`./DeSyfjfB.js`),__vite__mapDeps([69,3,1,4,2,10]),import.meta.url))},{id:`llvm`,name:`LLVM IR`,import:(()=>W(()=>import(`./DqHOMS-s.js`),[],import.meta.url))},{id:`log`,name:`Log file`,import:(()=>W(()=>import(`./BNLmms1o.js`),[],import.meta.url))},{id:`logo`,name:`Logo`,import:(()=>W(()=>import(`./Cluzi2Zq.js`),[],import.meta.url))},{id:`lua`,name:`Lua`,import:(()=>W(()=>import(`./CJteGSc7.js`).then(e=>e.n),__vite__mapDeps([39,1,20]),import.meta.url))},{id:`luau`,name:`Luau`,import:(()=>W(()=>import(`./C2pBCSgt.js`),[],import.meta.url))},{id:`make`,name:`Makefile`,aliases:[`makefile`],import:(()=>W(()=>import(`./Dixweg8N.js`),[],import.meta.url))},{id:`markdown`,name:`Markdown`,aliases:[`md`],import:(()=>W(()=>import(`./BYOwaDjH.js`),[],import.meta.url))},{id:`marko`,name:`Marko`,import:(()=>W(()=>import(`./DXvs48Yn.js`),__vite__mapDeps([70,4,1,6,12,71]),import.meta.url))},{id:`matlab`,name:`MATLAB`,import:(()=>W(()=>import(`./D7qyCx1q.js`),[],import.meta.url))},{id:`mdc`,name:`MDC`,import:(()=>W(()=>import(`./D8qrblp8.js`),__vite__mapDeps([72,16,2,1,3,4,40,42]),import.meta.url))},{id:`mdx`,name:`MDX`,import:(()=>W(()=>import(`./DQZ5AkYe.js`),[],import.meta.url))},{id:`mermaid`,name:`Mermaid`,aliases:[`mmd`],import:(()=>W(()=>import(`./BxpfTIzt.js`),[],import.meta.url))},{id:`mipsasm`,name:`MIPS Assembly`,aliases:[`mips`],import:(()=>W(()=>import(`./BMqwQI7S.js`),[],import.meta.url))},{id:`mojo`,name:`Mojo`,import:(()=>W(()=>import(`./fg40_ntQ.js`),[],import.meta.url))},{id:`moonbit`,name:`MoonBit`,aliases:[`mbt`,`mbti`],import:(()=>W(()=>import(`./DgjMoLWr.js`),[],import.meta.url))},{id:`move`,name:`Move`,import:(()=>W(()=>import(`./BYnGhZoM.js`),[],import.meta.url))},{id:`narrat`,name:`Narrat Language`,aliases:[`nar`],import:(()=>W(()=>import(`./_X_XdTYD.js`),[],import.meta.url))},{id:`nextflow`,name:`Nextflow`,aliases:[`nf`],import:(()=>W(()=>import(`./C5JeTiTv2.js`),__vite__mapDeps([73,74]),import.meta.url))},{id:`nextflow-groovy`,name:`Nextflow Groovy`,import:(()=>W(()=>import(`./DJMQeKeT.js`),[],import.meta.url))},{id:`nginx`,name:`Nginx`,import:(()=>W(()=>import(`./DqNF_brF2.js`),__vite__mapDeps([75,39,1,20]),import.meta.url))},{id:`nim`,name:`Nim`,import:(()=>W(()=>import(`./DmoyGeAS2.js`),__vite__mapDeps([76,3,1,4,2,8,9,20,28,42]),import.meta.url))},{id:`nix`,name:`Nix`,import:(()=>W(()=>import(`./IvuFDN5E2.js`),[],import.meta.url))},{id:`nsis`,name:`NSIS`,import:(()=>W(()=>import(`./CjNLYCLg2.js`),[],import.meta.url))},{id:`nushell`,name:`nushell`,aliases:[`nu`],import:(()=>W(()=>import(`./DHYfO66s2.js`),[],import.meta.url))},{id:`objective-c`,name:`Objective-C`,aliases:[`objc`],import:(()=>W(()=>import(`./D1A_Heim2.js`),[],import.meta.url))},{id:`objective-cpp`,name:`Objective-C++`,import:(()=>W(()=>import(`./BsSzOQcm2.js`),[],import.meta.url))},{id:`ocaml`,name:`OCaml`,import:(()=>W(()=>import(`./O90oeIOV2.js`),[],import.meta.url))},{id:`odin`,name:`Odin`,import:(()=>W(()=>import(`./B1RWQWA52.js`),[],import.meta.url))},{id:`openscad`,name:`OpenSCAD`,aliases:[`scad`],import:(()=>W(()=>import(`./BUDT5pXO2.js`),[],import.meta.url))},{id:`org`,name:`Org Markup`,import:(()=>W(()=>import(`./CyOMC1H12.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:(()=>W(()=>import(`./4ZHwLPI52.js`),[],import.meta.url))},{id:`perl`,name:`Perl`,import:(()=>W(()=>import(`./DHhcNfbx.js`),__vite__mapDeps([66,3,1,4,2,8,9,17]),import.meta.url))},{id:`php`,name:`PHP`,import:(()=>W(()=>import(`./C3eVgNwp2.js`),__vite__mapDeps([88,3,1,4,2,8,9,10,17]),import.meta.url))},{id:`pkl`,name:`Pkl`,import:(()=>W(()=>import(`./ot-7Btpt2.js`),[],import.meta.url))},{id:`plsql`,name:`PL/SQL`,import:(()=>W(()=>import(`./DGHpHOYJ2.js`),[],import.meta.url))},{id:`po`,name:`Gettext PO`,aliases:[`pot`,`potx`],import:(()=>W(()=>import(`./BiJDBrnU2.js`),[],import.meta.url))},{id:`polar`,name:`Polar`,import:(()=>W(()=>import(`./C7UOKdEL2.js`),[],import.meta.url))},{id:`postcss`,name:`PostCSS`,import:(()=>W(()=>import(`./BXeXVLqQ.js`),[],import.meta.url))},{id:`powerquery`,name:`PowerQuery`,import:(()=>W(()=>import(`./DNMTfnFr2.js`),[],import.meta.url))},{id:`powershell`,name:`PowerShell`,aliases:[`ps`,`ps1`,`pwsh`],import:(()=>W(()=>import(`./CCSX75yM2.js`),[],import.meta.url))},{id:`prisma`,name:`Prisma`,import:(()=>W(()=>import(`./DMgNhnYS.js`),[],import.meta.url))},{id:`prolog`,name:`Prolog`,import:(()=>W(()=>import(`./iXnhIJG7.js`),[],import.meta.url))},{id:`proto`,name:`Protocol Buffer 3`,aliases:[`protobuf`],import:(()=>W(()=>import(`./DB4EqR-F.js`),[],import.meta.url))},{id:`pug`,name:`Pug`,aliases:[`jade`],import:(()=>W(()=>import(`./B1eC0VY6.js`),__vite__mapDeps([95,3,1,4,2]),import.meta.url))},{id:`puppet`,name:`Puppet`,import:(()=>W(()=>import(`./CDv2pdJW.js`),[],import.meta.url))},{id:`purescript`,name:`PureScript`,import:(()=>W(()=>import(`./9MfHhQsQ.js`),[],import.meta.url))},{id:`python`,name:`Python`,aliases:[`py`],import:(()=>W(()=>import(`./gzcpVVnB2.js`),[],import.meta.url))},{id:`qml`,name:`QML`,import:(()=>W(()=>import(`./2pZ28JA1.js`),__vite__mapDeps([96,3,1]),import.meta.url))},{id:`qmldir`,name:`QML Directory`,import:(()=>W(()=>import(`./DCQb3MpD.js`),[],import.meta.url))},{id:`qss`,name:`Qt Style Sheets`,import:(()=>W(()=>import(`./Fe1Jh2GI.js`),[],import.meta.url))},{id:`r`,name:`R`,import:(()=>W(()=>import(`./BzltqjU8.js`).then(e=>e.n),__vite__mapDeps([64,1]),import.meta.url))},{id:`racket`,name:`Racket`,import:(()=>W(()=>import(`./DcIDlBhZ.js`),[],import.meta.url))},{id:`raku`,name:`Raku`,aliases:[`perl6`],import:(()=>W(()=>import(`./B3gFvitq2.js`),[],import.meta.url))},{id:`razor`,name:`ASP.NET Razor`,import:(()=>W(()=>import(`./DJARFHrx.js`),__vite__mapDeps([97,2,1,3,4,79]),import.meta.url))},{id:`rbs`,name:`RBS`,aliases:[`ruby-signature`],import:(()=>W(()=>import(`./C0MpOrj4.js`),[],import.meta.url))},{id:`reg`,name:`Windows Registry Script`,import:(()=>W(()=>import(`./CRGYupPL.js`),[],import.meta.url))},{id:`regexp`,name:`RegExp`,aliases:[`regex`],import:(()=>W(()=>import(`./DPeYfO_X.js`).then(e=>e.n),__vite__mapDeps([27,1]),import.meta.url))},{id:`rel`,name:`Rel`,import:(()=>W(()=>import(`./BtDbiS_P.js`),[],import.meta.url))},{id:`riscv`,name:`RISC-V`,import:(()=>W(()=>import(`./Ckw8ddFX.js`),[],import.meta.url))},{id:`ron`,name:`RON`,import:(()=>W(()=>import(`./VUp2lXgN.js`),[],import.meta.url))},{id:`rosmsg`,name:`ROS Interface`,import:(()=>W(()=>import(`./CAekHB0j.js`),[],import.meta.url))},{id:`rst`,name:`reStructuredText`,import:(()=>W(()=>import(`./DaM5BcfV.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:(()=>W(()=>import(`./BL4DOeuO.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:(()=>W(()=>import(`./Cfkwpbl82.js`),[],import.meta.url))},{id:`sas`,name:`SAS`,import:(()=>W(()=>import(`./C5bbMRzS.js`),__vite__mapDeps([100,17,1]),import.meta.url))},{id:`sass`,name:`Sass`,import:(()=>W(()=>import(`./DXrisJhu.js`),[],import.meta.url))},{id:`scala`,name:`Scala`,import:(()=>W(()=>import(`./BiFt_7mu2.js`),[],import.meta.url))},{id:`scheme`,name:`Scheme`,import:(()=>W(()=>import(`./DQCgrYNe.js`),[],import.meta.url))},{id:`scss`,name:`SCSS`,import:(()=>W(()=>import(`./BCyR5SPb.js`).then(e=>e.n),__vite__mapDeps([6,1,4]),import.meta.url))},{id:`sdbl`,name:`1C (Query)`,aliases:[`1c-query`],import:(()=>W(()=>import(`./bTVj8UrX2.js`),[],import.meta.url))},{id:`shaderlab`,name:`ShaderLab`,aliases:[`shader`],import:(()=>W(()=>import(`./BR43B8UW.js`),__vite__mapDeps([101,102]),import.meta.url))},{id:`shellscript`,name:`Shell`,aliases:[`bash`,`sh`,`shell`,`zsh`],import:(()=>W(()=>import(`./Cc8H0qaz.js`).then(e=>e.n),__vite__mapDeps([30,1]),import.meta.url))},{id:`shellsession`,name:`Shell Session`,aliases:[`console`],import:(()=>W(()=>import(`./CWbY0LAI.js`),__vite__mapDeps([103,30,1]),import.meta.url))},{id:`smalltalk`,name:`GNU Smalltalk`,import:(()=>W(()=>import(`./BHpQb5nM.js`),[],import.meta.url))},{id:`smithy`,name:`Smithy`,import:(()=>W(()=>import(`./Dgaz7aur.js`),[],import.meta.url))},{id:`solidity`,name:`Solidity`,import:(()=>W(()=>import(`./Bj7E1mRn.js`),[],import.meta.url))},{id:`soy`,name:`Closure Templates`,aliases:[`closure-templates`],import:(()=>W(()=>import(`./KNb_0kK5.js`),__vite__mapDeps([104,2,1,3,4]),import.meta.url))},{id:`sparql`,name:`SPARQL`,import:(()=>W(()=>import(`./B5B4dYe2.js`),__vite__mapDeps([105,106]),import.meta.url))},{id:`splunk`,name:`Splunk Query Language`,aliases:[`spl`],import:(()=>W(()=>import(`./BC2Px7Mm.js`),[],import.meta.url))},{id:`sql`,name:`SQL`,import:(()=>W(()=>import(`./DNvRKwb02.js`).then(e=>e.n),__vite__mapDeps([17,1]),import.meta.url))},{id:`ssh-config`,name:`SSH Config`,import:(()=>W(()=>import(`./BgfXC-Er.js`),[],import.meta.url))},{id:`stata`,name:`Stata`,import:(()=>W(()=>import(`./DJoGK9kf.js`),__vite__mapDeps([107,17,1]),import.meta.url))},{id:`stylus`,name:`Stylus`,aliases:[`styl`],import:(()=>W(()=>import(`./B6D30XZt.js`),[],import.meta.url))},{id:`surrealql`,name:`SurrealQL`,aliases:[`surql`],import:(()=>W(()=>import(`./b4xeCETc.js`),__vite__mapDeps([108,3,1]),import.meta.url))},{id:`svelte`,name:`Svelte`,import:(()=>W(()=>import(`./D2hLgkL3.js`),__vite__mapDeps([109,3,1,4,12,13]),import.meta.url))},{id:`swift`,name:`Swift`,import:(()=>W(()=>import(`./CyEgAFGc.js`),[],import.meta.url))},{id:`system-verilog`,name:`SystemVerilog`,import:(()=>W(()=>import(`./Dh5ihWbf.js`),[],import.meta.url))},{id:`systemd`,name:`Systemd Units`,import:(()=>W(()=>import(`./BxMlprV5.js`),[],import.meta.url))},{id:`talonscript`,name:`TalonScript`,aliases:[`talon`],import:(()=>W(()=>import(`./CohzipZa2.js`),[],import.meta.url))},{id:`tasl`,name:`Tasl`,import:(()=>W(()=>import(`./DMoTqEGO2.js`),[],import.meta.url))},{id:`tcl`,name:`Tcl`,import:(()=>W(()=>import(`./CZd0xW_V2.js`),[],import.meta.url))},{id:`templ`,name:`Templ`,import:(()=>W(()=>import(`./V5Yjt9wD2.js`),__vite__mapDeps([110,3,1,4,82]),import.meta.url))},{id:`terraform`,name:`Terraform`,aliases:[`tf`,`tfvars`],import:(()=>W(()=>import(`./DswuEJGm2.js`),[],import.meta.url))},{id:`tex`,name:`TeX`,import:(()=>W(()=>import(`./BO_NcNPW.js`).then(e=>e.n),__vite__mapDeps([68,1,64]),import.meta.url))},{id:`toml`,name:`TOML`,import:(()=>W(()=>import(`./CcmNWLt02.js`),[],import.meta.url))},{id:`ts-tags`,name:`TypeScript with Tags`,aliases:[`lit`],import:(()=>W(()=>import(`./C4aeQxkf2.js`),__vite__mapDeps([111,3,1,4,2,8,9,12,17,28,20]),import.meta.url))},{id:`tsv`,name:`TSV`,import:(()=>W(()=>import(`./sltzmVWM2.js`),[],import.meta.url))},{id:`tsx`,name:`TSX`,import:(()=>W(()=>import(`./CogqGmtf2.js`).then(e=>e.n),__vite__mapDeps([14,1]),import.meta.url))},{id:`turtle`,name:`Turtle`,import:(()=>W(()=>import(`./ByJddavk.js`),[],import.meta.url))},{id:`twig`,name:`Twig`,import:(()=>W(()=>import(`./fhodw31A2.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:(()=>W(()=>import(`./BuyVToAU.js`).then(e=>e.n),__vite__mapDeps([12,1]),import.meta.url))},{id:`typespec`,name:`TypeSpec`,aliases:[`tsp`],import:(()=>W(()=>import(`./BRdr0IET2.js`),[],import.meta.url))},{id:`typst`,name:`Typst`,aliases:[`typ`],import:(()=>W(()=>import(`./BHIi3qVr2.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:(()=>W(()=>import(`./DBj4K9d_2.js`),[],import.meta.url))},{id:`vala`,name:`Vala`,import:(()=>W(()=>import(`./zf12oZj62.js`),[],import.meta.url))},{id:`vb`,name:`Visual Basic`,import:(()=>W(()=>import(`./DOwzaHZ02.js`),[],import.meta.url))},{id:`verilog`,name:`Verilog`,import:(()=>W(()=>import(`./B2gwz-sJ2.js`),[],import.meta.url))},{id:`vhdl`,name:`VHDL`,import:(()=>W(()=>import(`./BroJfC0k2.js`),[],import.meta.url))},{id:`viml`,name:`Vim Script`,aliases:[`vim`,`vimscript`],import:(()=>W(()=>import(`./DvXPmvsu2.js`),[],import.meta.url))},{id:`vue`,name:`Vue`,import:(()=>W(()=>import(`./C2tE-Xb62.js`),__vite__mapDeps([122,3,1,4,2,10,12,16]),import.meta.url))},{id:`vue-html`,name:`Vue HTML`,import:(()=>W(()=>import(`./C_ew8g7J2.js`),__vite__mapDeps([123,3,1]),import.meta.url))},{id:`vue-vine`,name:`Vue Vine`,import:(()=>W(()=>import(`./Dtv7UOty2.js`),__vite__mapDeps([124,3,1,4,6,13,71,125]),import.meta.url))},{id:`vyper`,name:`Vyper`,aliases:[`vy`],import:(()=>W(()=>import(`./CgoNMtux2.js`),[],import.meta.url))},{id:`wasm`,name:`WebAssembly`,import:(()=>W(()=>import(`./ByWQv1Qj2.js`),[],import.meta.url))},{id:`wenyan`,name:`Wenyan`,aliases:[`文言`],import:(()=>W(()=>import(`./C8pVoKbM2.js`),[],import.meta.url))},{id:`wgsl`,name:`WGSL`,import:(()=>W(()=>import(`./BsKzXJz42.js`),[],import.meta.url))},{id:`wikitext`,name:`Wikitext`,aliases:[`mediawiki`,`wiki`],import:(()=>W(()=>import(`./ClFFjSW22.js`),[],import.meta.url))},{id:`wit`,name:`WebAssembly Interface Types`,import:(()=>W(()=>import(`./DdvCle-K2.js`),[],import.meta.url))},{id:`wolfram`,name:`Wolfram`,aliases:[`wl`],import:(()=>W(()=>import(`./DLL8P-h_2.js`),[],import.meta.url))},{id:`xml`,name:`XML`,import:(()=>W(()=>import(`./B3OdPoN_.js`).then(e=>e.n),__vite__mapDeps([8,1,9]),import.meta.url))},{id:`xsl`,name:`XSL`,import:(()=>W(()=>import(`./CJy9scTx2.js`),__vite__mapDeps([94,8,1,9]),import.meta.url))},{id:`yaml`,name:`YAML`,aliases:[`yml`],import:(()=>W(()=>import(`./D8mc0qWB.js`).then(e=>e.n),__vite__mapDeps([40,1]),import.meta.url))},{id:`zenscript`,name:`ZenScript`,import:(()=>W(()=>import(`./BnlCZFoB.js`),[],import.meta.url))},{id:`zig`,name:`Zig`,import:(()=>W(()=>import(`./CMLA9XwU2.js`),[],import.meta.url))}],qm=Object.fromEntries(Km.map(e=>[e.id,e.import])),Jm=Object.fromEntries(Km.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),Ym={...qm,...Jm},Xm=Object.fromEntries([{id:`andromeeda`,displayName:`Andromeeda`,type:`dark`,import:(()=>W(()=>import(`./vGVdxbeo.js`),[],import.meta.url))},{id:`aurora-x`,displayName:`Aurora X`,type:`dark`,import:(()=>W(()=>import(`./CDeNXAV0.js`),[],import.meta.url))},{id:`ayu-dark`,displayName:`Ayu Dark`,type:`dark`,import:(()=>W(()=>import(`./DluEY0Gj.js`),[],import.meta.url))},{id:`ayu-light`,displayName:`Ayu Light`,type:`light`,import:(()=>W(()=>import(`./C3h-C4tm.js`),[],import.meta.url))},{id:`ayu-mirage`,displayName:`Ayu Mirage`,type:`dark`,import:(()=>W(()=>import(`./Bqwy1Gya.js`),[],import.meta.url))},{id:`catppuccin-frappe`,displayName:`Catppuccin Frappé`,type:`dark`,import:(()=>W(()=>import(`./C9Q5zVZY.js`),[],import.meta.url))},{id:`catppuccin-latte`,displayName:`Catppuccin Latte`,type:`light`,import:(()=>W(()=>import(`./CtsyrtPq.js`),[],import.meta.url))},{id:`catppuccin-macchiato`,displayName:`Catppuccin Macchiato`,type:`dark`,import:(()=>W(()=>import(`./R8nAf1vR.js`),[],import.meta.url))},{id:`catppuccin-mocha`,displayName:`Catppuccin Mocha`,type:`dark`,import:(()=>W(()=>import(`./DjuaAJKi.js`),[],import.meta.url))},{id:`dark-plus`,displayName:`Dark Plus`,type:`dark`,import:(()=>W(()=>import(`./Cs2F2srj.js`),[],import.meta.url))},{id:`dracula`,displayName:`Dracula Theme`,type:`dark`,import:(()=>W(()=>import(`./BHWKrbxM.js`),[],import.meta.url))},{id:`dracula-soft`,displayName:`Dracula Theme Soft`,type:`dark`,import:(()=>W(()=>import(`./5eyTD99u.js`),[],import.meta.url))},{id:`everforest-dark`,displayName:`Everforest Dark`,type:`dark`,import:(()=>W(()=>import(`./sB-x3p7T.js`),[],import.meta.url))},{id:`everforest-light`,displayName:`Everforest Light`,type:`light`,import:(()=>W(()=>import(`./Df2xbC6M.js`),[],import.meta.url))},{id:`github-dark`,displayName:`GitHub Dark`,type:`dark`,import:(()=>W(()=>import(`./C-LZuMrd.js`),[],import.meta.url))},{id:`github-dark-default`,displayName:`GitHub Dark Default`,type:`dark`,import:(()=>W(()=>import(`./DXG-b-1a.js`),[],import.meta.url))},{id:`github-dark-dimmed`,displayName:`GitHub Dark Dimmed`,type:`dark`,import:(()=>W(()=>import(`./Bx1FflLF.js`),[],import.meta.url))},{id:`github-dark-high-contrast`,displayName:`GitHub Dark High Contrast`,type:`dark`,import:(()=>W(()=>import(`./B_tTalzw.js`),[],import.meta.url))},{id:`github-light`,displayName:`GitHub Light`,type:`light`,import:(()=>W(()=>import(`./EUqPIrTm.js`),[],import.meta.url))},{id:`github-light-default`,displayName:`GitHub Light Default`,type:`light`,import:(()=>W(()=>import(`./BXViO-2h.js`),[],import.meta.url))},{id:`github-light-high-contrast`,displayName:`GitHub Light High Contrast`,type:`light`,import:(()=>W(()=>import(`./B68TUdTA.js`),[],import.meta.url))},{id:`gruvbox-dark-hard`,displayName:`Gruvbox Dark Hard`,type:`dark`,import:(()=>W(()=>import(`./C820rvS2.js`),[],import.meta.url))},{id:`gruvbox-dark-medium`,displayName:`Gruvbox Dark Medium`,type:`dark`,import:(()=>W(()=>import(`./BPjhmG05.js`),[],import.meta.url))},{id:`gruvbox-dark-soft`,displayName:`Gruvbox Dark Soft`,type:`dark`,import:(()=>W(()=>import(`./MrdJrrXF.js`),[],import.meta.url))},{id:`gruvbox-light-hard`,displayName:`Gruvbox Light Hard`,type:`light`,import:(()=>W(()=>import(`./BC_s9l72.js`),[],import.meta.url))},{id:`gruvbox-light-medium`,displayName:`Gruvbox Light Medium`,type:`light`,import:(()=>W(()=>import(`./BAWPOn9u.js`),[],import.meta.url))},{id:`gruvbox-light-soft`,displayName:`Gruvbox Light Soft`,type:`light`,import:(()=>W(()=>import(`./BSMLrYjP.js`),[],import.meta.url))},{id:`horizon`,displayName:`Horizon`,type:`dark`,import:(()=>W(()=>import(`./CE9ld1lL.js`),[],import.meta.url))},{id:`horizon-bright`,displayName:`Horizon Bright`,type:`light`,import:(()=>W(()=>import(`./DSNQnXHK.js`),[],import.meta.url))},{id:`houston`,displayName:`Houston`,type:`dark`,import:(()=>W(()=>import(`./CsvMBhTu.js`),[],import.meta.url))},{id:`kanagawa-dragon`,displayName:`Kanagawa Dragon`,type:`dark`,import:(()=>W(()=>import(`./Bozd7klA.js`),[],import.meta.url))},{id:`kanagawa-lotus`,displayName:`Kanagawa Lotus`,type:`light`,import:(()=>W(()=>import(`./BmuOG9ZW.js`),[],import.meta.url))},{id:`kanagawa-wave`,displayName:`Kanagawa Wave`,type:`dark`,import:(()=>W(()=>import(`./BML5mF2J.js`),[],import.meta.url))},{id:`laserwave`,displayName:`LaserWave`,type:`dark`,import:(()=>W(()=>import(`./C_8bwKvT.js`),[],import.meta.url))},{id:`light-plus`,displayName:`Light Plus`,type:`light`,import:(()=>W(()=>import(`./DVQuIRkW.js`),[],import.meta.url))},{id:`material-theme`,displayName:`Material Theme`,type:`dark`,import:(()=>W(()=>import(`./Bm3Qr25_2.js`),[],import.meta.url))},{id:`material-theme-darker`,displayName:`Material Theme Darker`,type:`dark`,import:(()=>W(()=>import(`./2IIEA8gg.js`),[],import.meta.url))},{id:`material-theme-lighter`,displayName:`Material Theme Lighter`,type:`light`,import:(()=>W(()=>import(`./uhdI0v04.js`),[],import.meta.url))},{id:`material-theme-ocean`,displayName:`Material Theme Ocean`,type:`dark`,import:(()=>W(()=>import(`./CHQ94UKr2.js`),[],import.meta.url))},{id:`material-theme-palenight`,displayName:`Material Theme Palenight`,type:`dark`,import:(()=>W(()=>import(`./B5W6OYN72.js`),[],import.meta.url))},{id:`min-dark`,displayName:`Min Dark`,type:`dark`,import:(()=>W(()=>import(`./BSWPekZh2.js`),[],import.meta.url))},{id:`min-light`,displayName:`Min Light`,type:`light`,import:(()=>W(()=>import(`./DDpmG2fV2.js`),[],import.meta.url))},{id:`monokai`,displayName:`Monokai`,type:`dark`,import:(()=>W(()=>import(`./B_bV9PQ92.js`),[],import.meta.url))},{id:`night-owl`,displayName:`Night Owl`,type:`dark`,import:(()=>W(()=>import(`./DhmEMT882.js`),[],import.meta.url))},{id:`night-owl-light`,displayName:`Night Owl Light`,type:`light`,import:(()=>W(()=>import(`./eJ-hLW7d2.js`),[],import.meta.url))},{id:`nord`,displayName:`Nord`,type:`dark`,import:(()=>W(()=>import(`./Cb4Vim4T2.js`),[],import.meta.url))},{id:`one-dark-pro`,displayName:`One Dark Pro`,type:`dark`,import:(()=>W(()=>import(`./CLwyXe_n2.js`),[],import.meta.url))},{id:`one-light`,displayName:`One Light`,type:`light`,import:(()=>W(()=>import(`./D7Lr4KcI2.js`),[],import.meta.url))},{id:`plastic`,displayName:`Plastic`,type:`dark`,import:(()=>W(()=>import(`./DQwYfKfQ2.js`),[],import.meta.url))},{id:`poimandres`,displayName:`Poimandres`,type:`dark`,import:(()=>W(()=>import(`./DRFjx7u42.js`),[],import.meta.url))},{id:`red`,displayName:`Red`,type:`dark`,import:(()=>W(()=>import(`./DX1BQOs82.js`),[],import.meta.url))},{id:`rose-pine`,displayName:`Rosé Pine`,type:`dark`,import:(()=>W(()=>import(`./aMsaMD1D2.js`),[],import.meta.url))},{id:`rose-pine-dawn`,displayName:`Rosé Pine Dawn`,type:`light`,import:(()=>W(()=>import(`./8PwUyIlP2.js`),[],import.meta.url))},{id:`rose-pine-moon`,displayName:`Rosé Pine Moon`,type:`dark`,import:(()=>W(()=>import(`./DO-qXg-I2.js`),[],import.meta.url))},{id:`slack-dark`,displayName:`Slack Dark`,type:`dark`,import:(()=>W(()=>import(`./DnToyrRv2.js`),[],import.meta.url))},{id:`slack-ochin`,displayName:`Slack Ochin`,type:`light`,import:(()=>W(()=>import(`./B2OO5cIa2.js`),[],import.meta.url))},{id:`snazzy-light`,displayName:`Snazzy Light`,type:`light`,import:(()=>W(()=>import(`./4G7pJPwS2.js`),[],import.meta.url))},{id:`solarized-dark`,displayName:`Solarized Dark`,type:`dark`,import:(()=>W(()=>import(`./UdsmMDCL2.js`),[],import.meta.url))},{id:`solarized-light`,displayName:`Solarized Light`,type:`light`,import:(()=>W(()=>import(`./C1IUL_tW2.js`),[],import.meta.url))},{id:`synthwave-84`,displayName:`Synthwave '84`,type:`dark`,import:(()=>W(()=>import(`./nFMaYfgc2.js`),[],import.meta.url))},{id:`tokyo-night`,displayName:`Tokyo Night`,type:`dark`,import:(()=>W(()=>import(`./oM2G3aXe2.js`),[],import.meta.url))},{id:`vesper`,displayName:`Vesper`,type:`dark`,import:(()=>W(()=>import(`./DdrHHSXu2.js`),[],import.meta.url))},{id:`vitesse-black`,displayName:`Vitesse Black`,type:`dark`,import:(()=>W(()=>import(`./fwtXNY1n2.js`),[],import.meta.url))},{id:`vitesse-dark`,displayName:`Vitesse Dark`,type:`dark`,import:(()=>W(()=>import(`./BZCL-v6S.js`),[],import.meta.url))},{id:`vitesse-light`,displayName:`Vitesse Light`,type:`light`,import:(()=>W(()=>import(`./VbXTXTou.js`),[],import.meta.url))}].map(e=>[e.id,e.import])),Zm=y({createOnigurumaEngine:()=>Th,getDefaultWasmLoader:()=>wh,loadWasm:()=>vh,setDefaultWasmLoader:()=>Ch}),Qm=class extends Error{constructor(e){super(e),this.name=`ShikiError`}};function $m(){return 2147483648}function eh(){return typeof performance<`u`?performance.now():Date.now()}var th=(e,t)=>e+(t-e%t)%t;async function nh(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=$m();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,th(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:eh,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 rh=Object.defineProperty,ih=(e,t,n)=>t in e?rh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ah=(e,t,n)=>ih(e,typeof t==`symbol`?t:t+``,n),oh=null;function sh(e){throw new Qm(e.UTF8ToString(e.getLastOnigError()))}var ch=class e{constructor(t){ah(this,`utf16Length`),ah(this,`utf8Length`),ah(this,`utf16Value`),ah(this,`utf8Value`),ah(this,`utf16OffsetToUtf8`),ah(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}},lh=class e{constructor(t){if(ah(this,`id`,++e.LAST_ID),ah(this,`_onigBinding`),ah(this,`content`),ah(this,`utf16Length`),ah(this,`utf8Length`),ah(this,`utf16OffsetToUtf8`),ah(this,`utf8OffsetToUtf16`),ah(this,`ptr`),!oh)throw new Qm(`Must invoke loadWasm first.`);this._onigBinding=oh,this.content=t;let n=new ch(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||=oh.omalloc(1e4),e._sharedPtrInUse=!0,oh.HEAPU8.set(n.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=n.createString(oh)}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)}};ah(lh,`LAST_ID`,0),ah(lh,`_sharedPtr`,0),ah(lh,`_sharedPtrInUse`,!1);var uh=lh,dh=class{constructor(e){if(ah(this,`_onigBinding`),ah(this,`_ptr`),!oh)throw new Qm(`Must invoke loadWasm first.`);let t=[],n=[];for(let r=0,i=e.length;r<i;r++){let i=new ch(e[r]);t[r]=i.createString(oh),n[r]=i.utf8Length}let r=oh.omalloc(4*e.length);oh.HEAPU32.set(t,r/4);let i=oh.omalloc(4*e.length);oh.HEAPU32.set(n,i/4);let a=oh.createOnigScanner(r,i,e.length);for(let n=0,r=e.length;n<r;n++)oh.ofree(t[n]);oh.ofree(i),oh.ofree(r),a===0&&sh(oh),this._onigBinding=oh,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 uh(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 fh(e){return typeof e.instantiator==`function`}function ph(e){return typeof e.default==`function`}function mh(e){return e.data!==void 0}function hh(e){return typeof Response<`u`&&e instanceof Response}function gh(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 _h;function vh(e){if(_h)return _h;async function t(){oh=await nh(async t=>{let n=e;return n=await n,typeof n==`function`&&(n=await n(t)),typeof n==`function`&&(n=await n(t)),fh(n)?n=await n.instantiator(t):ph(n)?n=await n.default(t):(mh(n)&&(n=n.data),hh(n)?n=typeof WebAssembly.instantiateStreaming==`function`?await bh(n)(t):await xh(n)(t):gh(n)||n instanceof WebAssembly.Module?n=await yh(n)(t):`default`in n&&n.default instanceof WebAssembly.Module&&(n=await yh(n.default)(t))),`instance`in n&&(n=n.instance),`exports`in n&&(n=n.exports),n})}return _h=t(),_h}function yh(e){return t=>WebAssembly.instantiate(e,t)}function bh(e){return t=>WebAssembly.instantiateStreaming(e,t)}function xh(e){return async t=>{let n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}var Sh;function Ch(e){Sh=e}function wh(){return Sh}async function Th(e){return e&&await vh(e),{createScanner(e){return new dh(e.map(e=>typeof e==`string`?e:e.source))},createString(e){return new uh(e)}}}var Eh=Um({});Gm(Eh,Zm);var Dh=class extends Error{constructor(e){super(e),this.name=`ShikiError`}};function Oh(e){return kh(e)}function kh(e){return Array.isArray(e)?Ah(e):e instanceof RegExp?e:typeof e==`object`?jh(e):e}function Ah(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=kh(e[n]);return t}function jh(e){let t={};for(let n in e)t[n]=kh(e[n]);return t}function Mh(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}function Nh(e){let t=~e.lastIndexOf(`/`)||~e.lastIndexOf(`\\`);return t===0?e:~t===e.length-1?Nh(e.substring(0,e.length-1)):e.substr(~t+1)}var Ph=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Fh=class{static hasCaptures(e){return e!==null&&(Ph.lastIndex=0,Ph.test(e))}static replaceCaptures(e,t,n){return e.replace(Ph,(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 Ih(e,t){return e<t?-1:+(e>t)}function Lh(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=Ih(e[r],t[r]);if(n!==0)return n}return 0}return n-r}function Rh(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 zh(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,`\\$&`)}var Bh=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}},Vh=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(Kh(e),t)}static createFromParsedTheme(e,t){return Yh(e,t)}_cachedMatchRoot=new Bh(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=>Uh(e.parent,t.parentScopes));return n?new Gh(n.fontStyle,n.foreground,n.background):null}},Hh=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 Uh(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&&!Wh(e.scopeName,r);){if(i)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function Wh(e,t){return t===e||e.startsWith(t)&&e[t.length]===`.`}var Gh=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function Kh(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`&&Rh(i.settings.foreground)&&(s=i.settings.foreground);let c=null;typeof i.settings.background==`string`&&Rh(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 qh(l,u,e,o,s,c)}}return n}var qh=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}},Jh=(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))(Jh||{});function Yh(e,t){e.sort((e,t)=>{let n=Ih(e.scope,t.scope);return n!==0||(n=Lh(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 Xh(t),o=new Gh(n,a.getId(r),a.getId(i)),s=new $h(new Qh(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 Vh(a,o,s)}var Xh=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)}},Zh=Object.freeze([]),Qh=class e{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(e,t,n,r,i){this.scopeDepth=e,this.parentScopes=t||Zh,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)}},$h=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(),Qh.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(Lh(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 Qh(e,t,n,r,i))}},eg=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=ng(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 tg(e){return e}function ng(e){return e}function rg(e,t){let n=[],r=ag(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(ig(i)){let e=[];do e.push(i),i=r.next();while(ig(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 ig(e){return!!e&&!!e.match(/[\w\.:]+/)}function ag(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 og(e){typeof e.dispose==`function`&&e.dispose()}var sg=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},cg=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},lg=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))}},ug=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new sg(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){let e=this.Q;this.Q=[];let t=new lg;for(let n of e)dg(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof sg){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 dg(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 sg?pg({baseGrammar:a,selfGrammar:i},r):fg(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 sg(e))}function fg(e,t,n){if(t.repository&&t.repository[e]){let r=t.repository[e];mg([r],t,n)}}function pg(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&mg(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&mg(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function mg(e,t,n){for(let r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);let e=r.repository?Mh({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&mg(r.patterns,{...t,repository:e},n);let i=r.include;if(!i)continue;let a=bg(i);switch(a.kind){case 0:pg({...t,selfGrammar:t.baseGrammar},n);break;case 1:pg(t,n);break;case 2:fg(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?fg(a.ruleName,i,n):pg(i,n)}else a.kind===4?n.add(new cg(a.scopeName,a.ruleName)):n.add(new sg(a.scopeName))}}}var hg=class{kind=0},gg=class{kind=1},_g=class{constructor(e){this.ruleName=e}kind=2},vg=class{constructor(e){this.scopeName=e}kind=3},yg=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function bg(e){if(e===`$base`)return new hg;if(e===`$self`)return new gg;let t=e.indexOf(`#`);return t===-1?new vg(e):t===0?new _g(e.substring(1)):new yg(e.substring(0,t),e.substring(t+1))}var xg=/\\(\d+)/,Sg=/\\(\d+)/g,Cg=-1,wg=-2;function Tg(e){return e}function Eg(e){return e}var Dg=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Fh.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Fh.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${Nh(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:Fh.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Fh.replaceCaptures(this._contentName,e,t)}},Og=class extends Dg{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!`)}},kg=class extends Dg{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,null),this._match=new Pg(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 Fg,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Ag=class extends Dg{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 Fg,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},jg=class extends Dg{_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 Pg(i,this.id),this.beginCaptures=a,this._end=new Pg(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 Fg;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}},Mg=class extends Dg{_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 Pg(i,this.id),this.beginCaptures=a,this.whileCaptures=s,this._while=new Pg(o,wg),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 Fg;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 Fg,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||``),this._cachedCompiledWhilePatterns}},Ng=class e{static createCaptureRule(e,t,n,r,i){return e.registerRule(e=>new Og(t,e,n,r,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new kg(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,r));if(t.begin===void 0){t.repository&&(r=Mh({},r,t.repository));let i=t.patterns;return i===void 0&&t.include&&(i=[{include:t.include}]),new Ag(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,n,r))}return t.while?new Mg(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 jg(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=bg(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 Ag||e instanceof jg||e instanceof Mg)&&e.hasMissingPatterns&&e.patterns.length===0&&(t=!0),t)continue;i.push(s)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},Pg=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`&&xg.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 Sg.lastIndex=0,this.source.replace(Sg,(e,t)=>zh(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}},Fg=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 Ig(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 Ig(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},Ig=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}},Lg=class{constructor(e,t){this.languageId=e,this.tokenType=t}},Rg=class e{_defaultAttributes;_embeddedLanguagesMatcher;constructor(e,t){this._defaultAttributes=new Lg(e,8),this._embeddedLanguagesMatcher=new zg(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 Lg(0,0);_getBasicScopeAttributes=new Bh(e=>new Lg(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/},zg=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])=>zh(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 Bg=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function Vg(e,t,n,r,i,a,o,s){let c=t.content.length,l=!1,u=-1;if(o){let o=Hg(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 Bg(i,!0);f()}return new Bg(i,!1);function f(){let o=Ug(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===Cg){let o=i.getRule(e);a.produce(i,s[0].start),i=i.withContentNameScopesList(i.nameScopesList),Jg(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 jg){let r=o;Jg(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 Mg){let r=o;Jg(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(Jg(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 Hg(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 Mg&&s.push({rule:n,stack:t})}for(let c=s.pop();c;c=s.pop()){let{ruleScanner:s,findOptions:l}=qg(c.rule,e,c.stack.endRule,n,r===o),u=s.findNextMatchSync(t,r,l);if(u){if(u.ruleId!==wg){i=c.stack.pop();break}u.captureIndices&&u.captureIndices.length&&(a.produce(c.stack,u.captureIndices[0].start),Jg(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 Ug(e,t,n,r,i,a){let o=Wg(e,t,n,r,i,a),s=e.getInjections();if(s.length===0)return o;let c=Gg(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 Wg(e,t,n,r,i,a){let{ruleScanner:o,findOptions:s}=Kg(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 Gg(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}=Kg(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 Kg(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}function qg(e,t,n,r,i){return{ruleScanner:e.compileWhileAG(t,n,r,i),findOptions:0}}function Jg(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));Vg(e,p,n&&d.start===0,d.start,f,i,!1,0),og(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 Yg(t,d.end))}}for(;l.length>0;)i.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop()}var Yg=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function Xg(e,t,n,r,i,a,o,s){return new e_(e,t,n,r,i,a,o,s)}function Zg(e,t,n,r,i){let a=rg(t,Qg),o=Ng.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 Qg(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($g(t[r],e))return n=r+1,!0;return!1})}function $g(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 e_=class{constructor(e,t,n,r,i,a,o,s){if(this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=s,this._basicScopeAttributesProvider=new Rg(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=t_(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(let e of Object.keys(i)){let t=rg(e,Qg);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)Zg(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&&Zg(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(Tg(t));return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[Eg(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]=t_(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=Ng.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!t||t===r_.NULL){i=!0;let e=this._basicScopeAttributesProvider.getDefaultAttributes(),n=this.themeProvider.getDefaults(),r=eg.set(0,e.languageId,e.tokenType,null,n.fontStyle,n.foregroundId,n.backgroundId),a=this.getRule(this._rootId).getName(null,null),o;o=a?n_.createRootAndLookUpScopeName(a,r,this):n_.createRoot(`unknown`,r),t=new r_(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 a_(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Vg(this,a,i,0,t,s,!0,r);return og(a),{lineLength:o,lineTokens:s,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}};function t_(e,t){return e=Oh(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 n_=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=Hh.push(i,t.scopeNames),r=new e(r,i,t.encodedTokenAttributes);return r}static createRoot(t,n){return new e(null,new Hh(null,t),n)}static createRootAndLookUpScopeName(t,n,r){let i=r.getMetadataForScope(t),a=new Hh(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),eg.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}},r_=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)?n_.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:Eg(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=n_.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new e(t,Tg(n.ruleId),n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,n_.fromExtension(r,n.contentNameScopesList))}},i_=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(e=>e===`*`?(this.allowAny=!0,[]):rg(e,Qg).map(e=>e.matcher)),this.unbalancedBracketScopes=t.flatMap(e=>rg(e,Qg).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}},a_=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=eg.set(n,0,tg(e.type),null,-1,0,0));this.balancedBracketSelectors&&(r=this.balancedBracketSelectors.match(t))}if(r&&(n=eg.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}},o_=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,Xg(e,a,t,n,r,i,this,this._onigLib))}return this._grammars.get(e)}},s_=class{_options;_syncRegistry;_ensureGrammarCache;constructor(e){this._options=e,this._syncRegistry=new o_(Vh.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(Vh.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 i_(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,r,i){let a=new ug(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)}},c_=r_.NULL;function l_(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 u_(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function d_(e){return Array.isArray(e)?e:[e]}async function f_(e){return Promise.resolve(typeof e==`function`?e():e).then(e=>e.default||e)}function p_(e){return!e||[`plaintext`,`txt`,`text`,`plain`].includes(e)}function m_(e){return e===`ansi`||p_(e)}function h_(e){return e===`none`}function g_(e){return h_(e)}var __=/(\r?\n)/g;function v_(e,t=!1){if(e.length===0)return[[``,0]];let n=e.split(__),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 y_={light:`#333333`,dark:`#bbbbbb`},b_={light:`#fffffe`,dark:`#1e1e1e`},x_=`__shiki_resolved`;function S_(e){if(e?.[x_])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`?y_.light:y_.dark,n||=t.type===`light`?b_.light:b_.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,x_,{enumerable:!1,writable:!1,value:!0}),t}async function C_(e){return[...new Set((await Promise.all(e.filter(e=>!m_(e)).map(async e=>await f_(e).then(e=>Array.isArray(e)?e:[e])))).flat())]}async function w_(e){return(await Promise.all(e.map(async e=>g_(e)?null:S_(await f_(e))))).filter(e=>!!e)}function T_(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 Dh(`Circular alias \`${[...n].join(` -> `)} -> ${e}\``);n.add(e)}}return e}var E_=class extends s_{_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=S_(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=Vh.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=T_(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 Dh(`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))}},D_=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}},O_=0;function k_(e){O_+=1,e.warnings!==!1&&O_>=10&&O_%10==0&&console.warn(`[Shiki] ${O_} 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 Dh("`engine` option is required for synchronous mode");let n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(S_),i=new E_(new D_(e.engine,n),r,n,e.langAlias),a;function o(t){return T_(t,e.langAlias)}function s(e){g();let t=i.getGrammar(typeof e==`string`?e:e.name);if(!t)throw new Dh(`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 Dh(`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 C_(e))}function m(...e){g();for(let t of e.flat(1))i.loadTheme(t)}async function h(...e){return g(),m(await w_(e))}function g(){if(t)throw new Dh(`Shiki instance has been disposed`)}function _(){t||(t=!0,i.dispose(),--O_)}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 A_(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,n,r]=await Promise.all([w_(e.themes||[]),C_(e.langs||[]),e.engine]);return k_({...e,themes:t,langs:n,engine:r})}var j_=new WeakMap;function M_(e,t){j_.set(e,t)}function N_(e){return j_.get(e)}var P_=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(d_(n).map(e=>[e,c_])),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 F_(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function F_(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 I_(e,t){if(!(e instanceof P_))throw new Dh(`Invalid grammar state`);return e.getInternalStack(t)}var L_=/,/,R_=/ /;function z_(e,t,n={}){let{theme:r=e.getLoadedThemes()[0]}=n;if(p_(e.resolveLangAlias(n.lang||`text`))||h_(r))return v_(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 Dh(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(i.name))throw new Dh(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return V_(t,o,i,a,n)}function B_(...e){if(e.length===2)return N_(e[1]);let[t,n,r={}]=e,{lang:i=`text`,theme:a=t.getLoadedThemes()[0]}=r;if(p_(i)||h_(a))throw new Dh(`Plain language does not have grammar state`);if(i===`ansi`)throw new Dh(`ANSI language does not have grammar state`);let{theme:o,colorMap:s}=t.setTheme(a),c=t.getLanguage(i);return new P_(H_(n,c,o,s,r).stateStack,c.name,o.name)}function V_(e,t,n,r,i){let a=H_(e,t,n,r,i),o=new P_(a.stateStack,t.name,n.name);return M_(a.tokens,o),a.tokens}function H_(e,t,n,r,i){let a=l_(n,i),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:s=500,includeExplanation:c=!1}=i,l=v_(e),u=i.grammarState?I_(i.grammarState,n.name)??c_:i.grammarContextCode==null?c_:H_(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=u_(r[eg.getForeground(s)],a),u=eg.getFontStyle(s),f={content:i.substring(t,o),offset:p+t,color:l,fontStyle:u};if(c===`tokenType`)f.type=eg.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(L_).map(e=>e.trim());break;case`object`:n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(R_))})}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`?U_(t.scopes):W_(e,t.scopes)}),g+=1}}d.push(f)}f.push(d),d=[],u=_.ruleStack}return{tokens:f,stateStack:u}}function U_(e){return e.map(e=>({scopeName:e}))}function W_(e,t){let n=[];for(let r=0,i=t.length;r<i;r++){let i=t[r];n[r]={scopeName:i,themeMatches:q_(e,i,t.slice(0,r))}}return n}function G_(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]===`.`}function K_(e,t,n){if(!G_(e.at(-1),t))return!1;let r=e.length-2,i=n.length-1;for(;r>=0&&i>=0;)G_(e[r],n[i])&&--r,--i;return r===-1}function q_(e,t,n){let r=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(K_(e,t,n)){r.push(a);break}return r}function J_(e,t,n,r=z_){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:N_(a),theme:typeof i.theme==`string`?i.theme:i.theme.name}}),o=Y_(...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 P_(Object.fromEntries(a.map(e=>[e.theme,e.state?.getInternalStack(e.theme)])),a[0].state.lang):void 0;return c&&M_(s,c),s}function Y_(...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 X_=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`],Z_=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};Z_.prototype.normal={},Z_.prototype.property={},Z_.prototype.space=void 0;function Q_(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new Z_(n,r,t)}function $_(e){return e.toLowerCase()}var ev=class{constructor(e,t){this.attribute=t,this.property=e}};ev.prototype.attribute=``,ev.prototype.booleanish=!1,ev.prototype.boolean=!1,ev.prototype.commaOrSpaceSeparated=!1,ev.prototype.commaSeparated=!1,ev.prototype.defined=!1,ev.prototype.mustUseProperty=!1,ev.prototype.number=!1,ev.prototype.overloadedBoolean=!1,ev.prototype.property=``,ev.prototype.spaceSeparated=!1,ev.prototype.space=void 0;var tv=y({boolean:()=>Q,booleanish:()=>rv,commaOrSpaceSeparated:()=>sv,commaSeparated:()=>ov,number:()=>$,overloadedBoolean:()=>iv,spaceSeparated:()=>av}),nv=0,Q=cv(),rv=cv(),iv=cv(),$=cv(),av=cv(),ov=cv(),sv=cv();function cv(){return 2**++nv}var lv=Object.keys(tv),uv=class extends ev{constructor(e,t,n,r){let i=-1;if(super(e,t),dv(this,`space`,r),typeof n==`number`)for(;++i<lv.length;){let e=lv[i];dv(this,lv[i],(n&tv[e])===tv[e])}}};uv.prototype.defined=!0;function dv(e,t,n){n&&(e[t]=n)}function fv(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new uv(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[$_(r)]=r,n[$_(a.attribute)]=r}return new Z_(t,n,e.space)}var pv=fv({properties:{ariaActiveDescendant:null,ariaAtomic:rv,ariaAutoComplete:null,ariaBusy:rv,ariaChecked:rv,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:av,ariaCurrent:null,ariaDescribedBy:av,ariaDetails:null,ariaDisabled:rv,ariaDropEffect:av,ariaErrorMessage:null,ariaExpanded:rv,ariaFlowTo:av,ariaGrabbed:rv,ariaHasPopup:null,ariaHidden:rv,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:av,ariaLevel:$,ariaLive:null,ariaModal:rv,ariaMultiLine:rv,ariaMultiSelectable:rv,ariaOrientation:null,ariaOwns:av,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:rv,ariaReadOnly:rv,ariaRelevant:null,ariaRequired:rv,ariaRoleDescription:av,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:rv,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function mv(e,t){return t in e?e[t]:t}function hv(e,t){return mv(e,t.toLowerCase())}var gv=fv({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:ov,acceptCharset:av,accessKey:av,action:null,allow:null,allowFullScreen:Q,allowPaymentRequest:Q,allowUserMedia:Q,alt:null,as:null,async:Q,autoCapitalize:null,autoComplete:av,autoFocus:Q,autoPlay:Q,blocking:av,capture:null,charSet:null,checked:Q,cite:null,className:av,cols:$,colSpan:null,content:null,contentEditable:rv,controls:Q,controlsList:av,coords:$|ov,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Q,defer:Q,dir:null,dirName:null,disabled:Q,download:iv,draggable:rv,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Q,formTarget:null,headers:av,height:$,hidden:iv,high:$,href:null,hrefLang:null,htmlFor:av,httpEquiv:av,id:null,imageSizes:null,imageSrcSet:null,inert:Q,inputMode:null,integrity:null,is:null,isMap:Q,itemId:null,itemProp:av,itemRef:av,itemScope:Q,itemType:av,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:av,placeholder:null,playsInline:Q,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Q,referrerPolicy:null,rel:av,required:Q,reversed:Q,rows:$,rowSpan:$,sandbox:av,scope:null,scoped:Q,seamless:Q,selected:Q,shadowRootClonable:Q,shadowRootDelegatesFocus:Q,shadowRootMode:null,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:rv,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:rv,width:$,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:av,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:rv,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:hv}),_v=fv({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:sv,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:av,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:ov,g2:ov,glyphName:ov,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:sv,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:av,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:sv,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:sv,rev:sv,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:sv,requiredFeatures:sv,requiredFonts:sv,requiredFormats:sv,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:sv,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:sv,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:sv,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:mv}),vv=fv({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()}}),yv=fv({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:hv}),bv=fv({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),xv=/[A-Z]/g,Sv=/-[a-z]/g,Cv=/^data[-\w.:]+$/i;function wv(e,t){let n=$_(t),r=t,i=ev;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&Cv.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(Sv,Ev);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!Sv.test(e)){let n=e.replace(xv,Tv);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=uv}return new i(r,t)}function Tv(e){return`-`+e.toLowerCase()}function Ev(e){return e.charAt(1).toUpperCase()}var Dv=Q_([pv,gv,vv,yv,bv],`html`),Ov=Q_([pv,_v,vv,yv,bv],`svg`),kv={}.hasOwnProperty;function Av(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&kv.call(t,e)){let n=String(t[e]);i=kv.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 jv=/["&'<>`]/g,Mv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Nv=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Pv=/[|\\{}()[\]^$+*?.]/g,Fv=new WeakMap;function Iv(e,t){if(e=e.replace(t.subset?Lv(t.subset):jv,r),t.subset||t.escapeOnly)return e;return e.replace(Mv,n).replace(Nv,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 Lv(e){let t=Fv.get(e);return t||(t=Rv(e),Fv.set(e,t)),t}function Rv(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(Pv,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}var zv=/[\dA-Fa-f]/;function Bv(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!zv.test(String.fromCharCode(t))?r:r+`;`}var Vv=/\d/;function Hv(e,t,n){let r=`&#`+String(e);return n&&t&&!Vv.test(String.fromCharCode(t))?r:r+`;`}var Uv=`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(`.`),Wv={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:`€`},Gv=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`],Kv={}.hasOwnProperty,qv={},Jv;for(Jv in Wv)Kv.call(Wv,Jv)&&(qv[Wv[Jv]]=Jv);var Yv=/[^\dA-Za-z]/;function Xv(e,t,n,r){let i=String.fromCharCode(e);if(Kv.call(qv,i)){let e=qv[i],a=`&`+e;return n&&Uv.includes(e)&&!Gv.includes(e)&&(!r||t&&t!==61&&Yv.test(String.fromCharCode(t)))?a:a+`;`}return``}function Zv(e,t,n){let r=Bv(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=Xv(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=Hv(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function Qv(e,t){return Iv(e,Object.assign({format:Zv},t))}var $v=/^>|^->|<!--|-->|--!>|<!-$/g,ey=[`>`],ty=[`<`,`>`];function ny(e,t,n,r){return r.settings.bogusComments?`<?`+Qv(e.value,Object.assign({},r.settings.characterReferences,{subset:ey}))+`>`:`<!--`+e.value.replace($v,i)+`-->`;function i(e){return Qv(e,Object.assign({},r.settings.characterReferences,{subset:ty}))}}function ry(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}function iy(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 ay(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}function oy(e){return e.join(` `).trim()}var sy=/[ \t\n\f\r]/g;function cy(e){return typeof e==`object`?e.type===`text`&&ly(e.value):ly(e)}function ly(e){return e.replace(sy,``)===``}var uy=py(1),dy=py(-1),fy=[];function py(e){return t;function t(t,n,r){let i=t?t.children:fy,a=(n||0)+e,o=i[a];if(!r)for(;o&&cy(o);)a+=e,o=i[a];return o}}var my={}.hasOwnProperty;function hy(e){return t;function t(t,n,r){return my.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var gy=hy({body:yy,caption:_y,colgroup:_y,dd:Cy,dt:Sy,head:_y,html:vy,li:xy,optgroup:Ty,option:Ey,p:by,rp:wy,rt:wy,tbody:Oy,td:jy,tfoot:ky,th:jy,thead:Dy,tr:Ay});function _y(e,t,n){let r=uy(n,t,!0);return!r||r.type!==`comment`&&!(r.type===`text`&&cy(r.value.charAt(0)))}function vy(e,t,n){let r=uy(n,t);return!r||r.type!==`comment`}function yy(e,t,n){let r=uy(n,t);return!r||r.type!==`comment`}function by(e,t,n){let r=uy(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 xy(e,t,n){let r=uy(n,t);return!r||r.type===`element`&&r.tagName===`li`}function Sy(e,t,n){let r=uy(n,t);return!!(r&&r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`))}function Cy(e,t,n){let r=uy(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function wy(e,t,n){let r=uy(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function Ty(e,t,n){let r=uy(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function Ey(e,t,n){let r=uy(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function Dy(e,t,n){let r=uy(n,t);return!!(r&&r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`))}function Oy(e,t,n){let r=uy(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function ky(e,t,n){return!uy(n,t)}function Ay(e,t,n){let r=uy(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function jy(e,t,n){let r=uy(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}var My=hy({body:Fy,colgroup:Iy,head:Py,html:Ny,tbody:Ly});function Ny(e){let t=uy(e,-1);return!t||t.type!==`comment`}function Py(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 Fy(e){let t=uy(e,-1,!0);return!t||t.type!==`comment`&&!(t.type===`text`&&cy(t.value.charAt(0)))&&(t.type!==`element`||t.tagName!==`meta`&&t.tagName!==`link`&&t.tagName!==`script`&&t.tagName!==`style`&&t.tagName!==`template`)}function Iy(e,t,n){let r=dy(n,t),i=uy(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&gy(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function Ly(e,t,n){let r=dy(n,t),i=uy(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&gy(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}var Ry={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 zy(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=Ov);let l=By(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),(l||!a||!My(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||!gy(e,t,n))&&s.push(`</`+e.tagName+`>`),s.join(``)}function By(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=Vy(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 Vy(e,t,n){let r=wv(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=Qv(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Ry.name[i][a]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?ay:oy)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(s=Qv(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Ry.unquoted[i][a]}))),s!==n&&(e.settings.quoteSmart&&iy(n,o)>iy(n,e.alternative)&&(o=e.alternative),s=o+Qv(n,Object.assign({},e.settings.characterReferences,{subset:(o===`'`?Ry.single:Ry.double)[i][a],attribute:!0}))+o),c+(s&&`=`+s))}var Hy=[`<`,`&`];function Uy(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:Qv(e.value,Object.assign({},r.settings.characterReferences,{subset:Hy}))}function Wy(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Uy(e,t,n,r)}function Gy(e,t,n,r){return r.all(e)}var Ky=Av(`type`,{invalid:qy,unknown:Jy,handlers:{comment:ny,doctype:ry,element:zy,raw:Wy,root:Gy,text:Uy}});function qy(e){throw Error("Expected node, not `"+e+"`")}function Jy(e){throw Error("Cannot compile unknown node `"+e.type+"`")}var Yy={},Xy={},Zy=[];function Qy(e,t){let n=t||Yy,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:$y,all:eb,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||X_,characterReferences:n.characterReferences||Xy,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?Ov:Dv,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function $y(e,t,n){return Ky(e,t,n,this)}function eb(e){let t=[],n=e&&e.children||Zy,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join(``)}var tb=/\s+/g;function nb(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class==`string`&&(e.properties.class=e.properties.class.split(tb)),Array.isArray(e.properties.class)||(e.properties.class=[]);let n=Array.isArray(t)?t:t.split(tb);for(let t of n)t&&!e.properties.class.includes(t)&&e.properties.class.push(t);return e}var rb=/:?lang=["']([^"']+)["']/g,ib=/(?:```|~~~)([\w-]+)/g,ab=/\\begin\{([\w-]+)\}/g,ob=/<script\s+(?:type|lang)=["']([^"']+)["']/gi,sb=/^\s*---\r?\n[\s\S]*?\r?\n---(?:\r?\n|\s*$)/;function cb(e){let t=v_(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 lb(e,t,n){let r=new Set;for(let t of e.matchAll(rb)){let e=t[1].toLowerCase().trim();e&&r.add(e)}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(),n=e.includes(`/`)?e.split(`/`).pop():e;n&&r.add(n)}if(sb.test(e)&&r.add(`yaml`),!n)return[...r];let i=n.getBundledLanguages();return[...r].filter(e=>e&&i[e])}var ub=[`color`,`background-color`];function db(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 fb(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 pb(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=fb(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 db(e,a)})):e}function mb(e,t,n,r,i=`css-vars`){let a={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(t=>hb(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&&ub.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 Dh('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 hb(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t[`background-color`]=e.bgColor),e.fontStyle){e.fontStyle&Jh.Italic&&(t[`font-style`]=`italic`),e.fontStyle&Jh.Bold&&(t[`font-weight`]=`bold`);let n=[];e.fontStyle&Jh.Underline&&n.push(`underline`),e.fontStyle&Jh.Strikethrough&&n.push(`line-through`),n.length&&(t[`text-decoration`]=n.join(` `))}return t}function gb(e){return typeof e==`string`?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(`;`)}function _b(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let n=cb(t.source);function r(e){if(typeof e==`number`){if(e<0||e>t.source.length)throw new Dh(`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 Dh(`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 Dh(`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)}));vb(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 pb(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 Dh(`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+=yb(a.children[e]),c===-1&&s.length===t&&(c=e+1),l===-1&&s.length===n&&(l=e+1);if(c===-1)throw new Dh(`Failed to find start index for decoration ${JSON.stringify(i.start)}`);if(l===-1)throw new Dh(`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&&nb(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 vb(e){for(let t=0;t<e.length;t++){let n=e[t];if(n.start.offset>n.end.offset)throw new Dh(`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 Dh(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(t.start)} intersect.`)}}}}function yb(e){return e.type===`text`?e.value:e.type===`element`?e.children.map(yb).join(``):``}var bb=[_b()];function xb(e){let t=Sb(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...bb]}function Sb(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 Cb=[`black`,`red`,`green`,`yellow`,`blue`,`magenta`,`cyan`,`white`,`brightBlack`,`brightRed`,`brightGreen`,`brightYellow`,`brightBlue`,`brightMagenta`,`brightCyan`,`brightWhite`],wb={1:`bold`,2:`dim`,3:`italic`,4:`underline`,7:`reverse`,8:`hidden`,9:`strikethrough`};function Tb(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 Eb(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 Db(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)wb[r]&&t.push({type:`setDecoration`,value:wb[r]});else if(r<=29){let e=wb[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:Cb[r-30]}});else if(r===38){let n=Eb(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:Cb[r-40]}});else if(r===48){let n=Eb(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:Cb[r-90+8]}}):r>=100&&r<=107&&t.push({type:`setBackgroundColor`,value:{type:`named`,name:Cb[r-100+8]}})}}return t}function Ob(){let e=null,t=null,n=new Set;return{parse(r){let i=[],a=0;do{let o=Tb(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=Db(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 kb={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 Ab(e=kb){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<Cb.length;e++)r.push(t(Cb[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 jb=/#([0-9a-f]{3,8})/i,Mb=/var\((--[\w-]+-ansi-[\w-]+)\)/,Nb={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 Pb(e,t,n){let r=l_(e,n),i=v_(t),a=Ab(Object.fromEntries(Cb.map(t=>{let n=`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`;return[t,e.colors?.[n]||Nb[t]]}))),o=Ob();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=u_(i,r),o=u_(o,r),n.decorations.has(`dim`)&&(i=Fb(i));let s=Jh.None;return n.decorations.has(`bold`)&&(s|=Jh.Bold),n.decorations.has(`italic`)&&(s|=Jh.Italic),n.decorations.has(`underline`)&&(s|=Jh.Underline),n.decorations.has(`strikethrough`)&&(s|=Jh.Strikethrough),{content:n.value,offset:t[1],color:i,bgColor:o,fontStyle:s}}))}function Fb(e){let t=e.match(jb);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(Mb);return n?`var(${n[1]}-dim)`:e}function Ib(e,t,n={}){let r=e.resolveLangAlias(n.lang||`text`),{theme:i=e.getLoadedThemes()[0]}=n;if(!p_(r)&&!h_(i)&&r===`ansi`){let{theme:r}=e.setTheme(i);return Pb(r,t,n)}return z_(e,t,n)}function Lb(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 Dh("`themes` option must not be empty");let p=J_(e,t,n,Ib);if(c=N_(p),l&&l!==`light-dark()`&&!f.some(e=>e.color===l))throw new Dh(`\`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=>mb(e,h,u,l,d))),c&&M_(a,c);let g=f.map(e=>l_(e.theme,n));i=Rb(f,m,g,u,l,`fg`,d),r=Rb(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=l_(n.theme,n);a=Ib(e,t,n);let l=e.getTheme(n.theme);r=u_(l.bg,s),i=u_(l.fg,s),o=l.name,c=N_(a)}else throw new Dh("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:r,themeName:o,rootStyle:s,grammarState:c}}function Rb(e,t,n,r,i,a,o){return e.map((s,c)=>{let l=u_(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 Dh('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${u_(t[r][a],n[r])||`inherit`}, ${u_(t[i][a],n[i])||`inherit`});${u}`}return l}return o===`css-vars`?u:null}).filter(e=>!!e).join(`;`)}var zb=/^\s+$/,Bb=/^(\s*)(.*?)(\s*)$/;function Vb(e,t,n,r={meta:{},options:n,codeToHast:(t,n)=>Vb(e,t,n),codeToTokens:(t,n)=>Lb(e,t,n)}){let i=t;for(let e of xb(n))i=e.preprocess?.call(r,i,n)||i;let{tokens:a,fg:o,bg:s,themeName:c,rootStyle:l,grammarState:u}=Lb(e,i,n),{mergeWhitespaces:d=!0,mergeSameStyleTokens:f=!1}=n;d===!0?a=Ub(a):d===`never`&&(a=Wb(a)),f&&(a=Gb(a));let p={...r,get source(){return i}};for(let e of xb(n))a=e.tokens?.call(p,a)||a;return Hb(a,{...n,fg:o,bg:s,themeName:c,rootStyle:n.rootStyle===!1?!1:n.rootStyle??l},p,u)}function Hb(e,t,n,r=N_(e)){let i=xb(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:nb,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=gb(a.htmlStyle||hb(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&&M_(m,r),m}function Ub(e){return e.map(e=>{let t=[],n=``,r;return e.forEach((i,a)=>{let o=!(i.fontStyle&&(i.fontStyle&Jh.Underline||i.fontStyle&Jh.Strikethrough));o&&zb.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 Wb(e){return e.map(e=>e.flatMap(e=>{if(zb.test(e.content))return e;let t=e.content.match(Bb);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 Gb(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=gb(e.htmlStyle||hb(e)),i=gb(n.htmlStyle||hb(n)),a=e.fontStyle&&(e.fontStyle&Jh.Underline||e.fontStyle&Jh.Strikethrough),o=n.fontStyle&&(n.fontStyle&Jh.Underline||n.fontStyle&Jh.Strikethrough);!a&&!o&&r===i?e.content+=n.content:t.push({...n})}return t})}var Kb=Qy;function qb(e,t,n){let r={meta:{},options:n,codeToHast:(t,n)=>Vb(e,t,n),codeToTokens:(t,n)=>Lb(e,t,n)},i=Kb(Vb(e,t,n,r));for(let e of xb(n))i=e.postprocess?.call(r,i,n)||i;return i}async function Jb(e){let t=await A_(e);return{getLastGrammarState:(...e)=>B_(t,...e),codeToTokensBase:(e,n)=>Ib(t,e,n),codeToTokensWithThemes:(e,n)=>J_(t,e,n),codeToTokens:(e,n)=>Lb(t,e,n),codeToHast:(e,n)=>Vb(t,e,n),codeToHtml:(e,n)=>qb(t,e,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function Yb(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,m_(n))return[];let r=t[n];if(!r)throw new Dh(`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(g_(e))return`none`;if(typeof e==`string`){let t=n[e];if(!t)throw new Dh(`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 Jb({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 Xb(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 Zb(e,t){let n=Xb(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 Qb=Yb({langs:Ym,themes:Xm,engine:()=>(0,Eh.createOnigurumaEngine)(W(()=>import(`./BnjxR4X6.js`),[],import.meta.url))}),{codeToHtml:$b,codeToHast:ex,codeToTokens:tx,codeToTokensBase:nx,codeToTokensWithThemes:rx,getSingletonHighlighter:ix,getLastGrammarState:ax}=Zb(Qb,{guessEmbeddedLanguages:lb}),ox=f(`<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>`),sx=f(`<pre class="m-0 overflow-auto p-4 text-xs leading-relaxed"><code> </code></pre>`);function cx(e,n){j(n,!0);let r=De(),i=F(()=>(r.resolvedTheme??`light`)===`dark`),a=R(null),s=R(null),c=F(()=>S(i)?`vesper`:`github-light`);pe(async()=>{z(s,await Qb({themes:[`vesper`,`github-light`],langs:[`html`,`svelte`]}),!0)}),l(()=>{let e=S(s),t=n.code,r=n.lang;if(!e){z(a,null);return}if(!t){z(a,null);return}try{z(a,e.codeToHtml(t,{lang:r,theme:S(c)}),!0)}catch{z(a,e.codeToHtml(t,{lang:`text`,theme:S(c)}),!0)}});var u=I(),d=E(u),f=e=>{var n=ox();v(n,()=>S(a),!0),V(n),t(e,n)},p=e=>{var r=sx(),i=w(r),a=w(i,!0);V(i),V(r),he(()=>m(a,n.code||`Loading...`)),t(e,r)};o(d,e=>{S(a)?e(f):e(p,-1)}),t(e,u),B()}function lx(e){if(!e||e.length===0)return[];let t=[],n=new Map;for(let r of e){if(!r)continue;let e=dx(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 fx(t)}function ux(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=ux(e.items,n);return e.path.toLowerCase().includes(n)||t.length>0?[{...e,items:t}]:[]}):[...e]}function dx(e){return e.replace(/^[./]+/,``).replace(/\/+/g,`/`)}function fx(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`&&fx(t.items);return e}var px=()=>({configured:!1,from:null,persisted:!1}),mx=new Set([`$$slots`,`$$events`,`$$legacy`]);function hx(e,t){let n=O(t,mx),r=[[`path`,{d:`m16 18 6-6-6-6`}],[`path`,{d:`m8 6-6 6 6 6`}]];Ie(e,L({name:`code`},()=>n,{get iconNode(){return r}}))}var gx=new Set([`$$slots`,`$$events`,`$$legacy`]);function _x(e,t){let n=O(t,gx),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,L({name:`mail-warning`},()=>n,{get iconNode(){return r}}))}var vx=new Set([`$$slots`,`$$events`,`$$legacy`]);function yx(e,t){let n=O(t,vx),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,L({name:`panel-left-close`},()=>n,{get iconNode(){return r}}))}var bx=new Set([`$$slots`,`$$events`,`$$legacy`,`delayDuration`]);function xx(e,n){let r=P(n,`delayDuration`,3,0),i=O(n,bx);var a=I(),o=E(a);k(o,()=>Ap,(e,t)=>{t(e,L({get delayDuration(){return r()}},()=>i))}),t(e,a)}var Sx=new Set([`$$slots`,`$$events`,`$$legacy`,`open`]);function Cx(e,n){j(n,!0);let r=P(n,`open`,15,!1),i=O(n,Sx);xx(e,{children:(e,n)=>{var a=I(),o=E(a);k(o,()=>xp,(e,t)=>{t(e,L(()=>i,{get open(){return r()},set open(e){r(e)}}))}),t(e,a)},$$slots:{default:!0}}),B()}var wx=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`]);function Tx(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=O(n,wx);var a=I(),o=E(a);k(o,()=>Dp,(e,t)=>{t(e,L({"data-slot":`tooltip-trigger`},()=>i,{get ref(){return r()},set ref(e){r(e)}}))}),t(e,a),B()}var Ex=new Set([`$$slots`,`$$events`,`$$legacy`]);function Dx(e,n){let r=O(n,Ex);var i=I(),a=E(i);k(a,()=>gc,(e,t)=>{t(e,L(()=>r))}),t(e,i)}var Ox=new Set([`$$slots`,`$$events`,`$$legacy`,`ref`,`class`,`sideOffset`,`side`,`children`,`arrowClasses`,`portalProps`]),kx=f(`<div></div>`),Ax=f(`<!> <!>`,1);function jx(e,n){j(n,!0);let r=P(n,`ref`,15,null),i=P(n,`sideOffset`,3,0),a=P(n,`side`,3,`top`),o=O(n,Ox);Dx(e,L(()=>n.portalProps,{children:(e,s)=>{var c=I(),l=E(c);{let e=F(()=>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`,n.class));k(l,()=>wp,(s,c)=>{c(s,L({"data-slot":`tooltip-content`,get sideOffset(){return i()},get side(){return a()},get class(){return S(e)}},()=>o,{get ref(){return r()},set ref(e){r(e)},children:(e,r)=>{var i=Ax(),a=E(i);H(a,()=>n.children??U);var o=g(a,2);{let e=(e,r)=>{let i=()=>(r?.()).props;var a=kx();A(a,e=>({class:e,...i()}),[()=>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)]`,n.arrowClasses)]),t(e,a)};k(o,()=>kp,(t,n)=>{n(t,{child:e,$$slots:{child:!0}})})}t(e,i)},$$slots:{default:!0}}))})}t(e,c)},$$slots:{default:!0}})),B()}var Mx=f(`<div class="border border-destructive/20 bg-destructive/5 p-4 text-destructive"> </div>`),Nx=f(`<div class="p-4 text-center text-muted-foreground"> </div>`),Px=f(`<ul class="flex flex-col gap-0.5"></ul>`),Fx=f(`<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>`),Ix=f(`<span class="text-muted-foreground">/</span>`),Lx=f(`<span> </span> <!>`,1),Rx=f(`<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),zx=f(`<p>HMR enabled</p>`),Bx=f(`<!> <!>`,1),Vx=f(`<div class="flex items-center gap-2"><span class="text-muted-foreground">/</span> <!> <!></div>`),Hx=f(`<span class="text-muted-foreground">No file selected</span>`),Ux=f(`<!> Copy HTML`,1),Wx=f(`<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>`),Gx=f(`<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>`),Kx=f(`<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>`),qx=f(`<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>`),Jx=f(`<span class="text-muted-foreground/50"> </span>`),Yx=f(`<div class="absolute top-0 bottom-0 border-x border-dashed border-muted-foreground/35 transition-opacity duration-150"></div>`),Xx=f(`<div class="absolute right-0 left-0 border-y border-dashed border-muted-foreground/35 transition-opacity duration-150"></div>`),Zx=f(`<div class="pointer-events-none absolute inset-0 z-0" aria-hidden="true"><!> <!></div>`),Qx=f(`<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>`),$x=f(`<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),eS=f(`<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),tS=f(`<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 nS(e,n){j(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 p(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 h(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 v(e,t,n,r,a){let o=i[e];return{w:s(o.width,t,n),h:c(o.height,r,a)}}function y(e,t,n,r,o,l){let d=Math.max(n,Math.min(r,e)),m=Math.max(o,Math.min(l,t)),g=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),p=Math.abs(m-u);if(f<=18&&p<=18){let t=f*f+p*p;t<_&&(_=t,g=e)}}if(g!==null){let e=v(g,n,r,o,l);return{w:e.w,h:e.h,guideKey:g}}let y=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=p(x,n,r),w=h(S,o,l);return{w:y,h:b,guideKey:C??w}}let b=ht(mt({view:{type:`string`,default:`render`},vpw:{type:`number`,default:896},vph:{type:`number`,default:600}}),{pushHistory:!1,noScroll:!0}),x=P(n,`previewApiOrigin`,3,``),C=P(n,`sendEmailConfig`,19,px);function T(e){return e<1?`${e.toFixed(2)} ms`:e<10?`${e.toFixed(1)} ms`:`${Math.round(e)} ms`}let ee=De(),O=R(``),te=R(!0),ne=R(!1),ie=R(void 0),A=R(2400),oe=R(2e3),ce=R(!1),N=R(!1),le=R(!1),ue=0,de=0,pe=0,L=0,ge=R(1),_e=F(()=>S(ce)||S(N)||S(le)),H=R(null);function be(e){return e===`html`||e===`source`?e:`render`}let xe=F(()=>be(b.view)),U=F(()=>typeof b.vpw==`number`&&!Number.isNaN(b.vpw)?b.vpw:896),Se=F(()=>Math.max(320,Math.min(S(A),S(U)))),Ce=F(()=>typeof b.vph==`number`&&!Number.isNaN(b.vph)?b.vph:600),we=F(()=>Math.max(200,Math.min(S(oe),S(Ce))));l(()=>{if(!S(ie))return;let e=S(ie),t=()=>{z(A,Math.max(320,e.clientWidth-64),!0),z(oe,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];b.vpw=t.width,b.vph=t.height}function W(e){let t=i[e],n=s(t.width,320,S(A)),r=c(t.height,200,S(oe));return Math.abs(S(Se)-n)<.5&&Math.abs(S(we)-r)<.5}function Ee(e,t){e.preventDefault(),e.currentTarget.setPointerCapture(e.pointerId),z(ce,!0),z(ge,t,!0),ue=e.clientX,pe=S(Se)}function Ae(e){if(!S(ce))return;let t=(e.clientX-ue)*S(ge)*2,n=Math.max(320,Math.min(S(A),pe+t)),r=p(n,320,S(A));z(H,r?{verticalW:v(r,320,S(A),200,S(oe)).w,horizontalH:null}:null,!0),b.vpw=u(n,320,S(A))}function je(e){if(S(ce)){z(ce,!1),z(H,null);try{e.currentTarget.releasePointerCapture(e.pointerId)}catch{}}}let Me=R(1);function Ne(e,t){e.preventDefault(),e.currentTarget.setPointerCapture(e.pointerId),z(N,!0),z(Me,t,!0),de=e.clientY,L=S(we)}function Pe(e){if(!S(N))return;let t=(e.clientY-de)*S(Me)*2,n=Math.max(200,Math.min(S(oe),L+t)),r=h(n,200,S(oe));z(H,r?{verticalW:null,horizontalH:v(r,320,S(A),200,S(oe)).h}:null,!0),b.vph=f(n,200,S(oe))}function Fe(e){if(S(N)){z(N,!1),z(H,null);try{e.currentTarget.releasePointerCapture(e.pointerId)}catch{}}}function Ie(e){e.preventDefault(),e.currentTarget.setPointerCapture(e.pointerId),z(le,!0),ue=e.clientX,de=e.clientY,pe=S(Se),L=S(we)}function Le(e){if(!S(le))return;let{w:t,h:n,guideKey:r}=y(Math.max(320,Math.min(S(A),pe+(e.clientX-ue)*2)),Math.max(200,Math.min(S(oe),L+(e.clientY-de)*2)),320,S(A),200,S(oe));if(b.vpw=t,b.vph=n,r){let e=v(r,320,S(A),200,S(oe));z(H,{verticalW:e.w,horizontalH:e.h},!0)}else z(H,null)}function ze(e){if(S(le)){z(le,!1),z(H,null);try{e.currentTarget.releasePointerCapture(e.pointerId)}catch{}}}let Ve=F(()=>lx(n.files)),Ue=F(()=>ux(S(Ve),S(O))),Ge=F(()=>n.selectedFile?n.selectedFile.split(`/`):[]),qe=F(()=>at(n.html)),Ye=F(()=>n.files.length),Ze=F(()=>ot(S(Ue)));function $e(e){let t=`/${e.split(`/`).map(e=>encodeURIComponent(e)).join(`/`)}`,n=b.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),z(ne,!0),window.setTimeout(()=>{z(ne,!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=tS(),ct=w(st),lt=e=>{var i=Fx(),a=w(i),s=g(w(a),2),c=w(s),l=e=>{et(e,{class:`size-4`})},u=e=>{Ke(e,{class:`size-4`})};o(c,e=>{ee.resolvedTheme===`dark`?e(l):e(u,-1)}),V(s),V(a);var f=g(a,2),p=w(f),h=w(p);Xe(h,{class:`absolute left-3 size-3 text-muted-foreground`});var _=g(h,2);ae(_),V(p);var v=g(p,2),y=w(v),b=w(y,!0);V(y);var x=g(y,2),C=w(x);V(x),V(v),V(f);var T=g(f,2),E=w(T),te=e=>{var r=Mx(),i=w(r);V(r),he(()=>m(i,`Failed to load: ${n.emailsError??``}`)),t(e,r)},k=e=>{var r=Nx(),i=w(r);V(r),he(()=>m(i,`No templates found in ${n.emailPath??``}.`)),t(e,r)},ne=e=>{var n=Nx(),r=w(n);V(n),he(()=>m(r,`No matches for "${S(O)??``}".`)),t(e,n)},re=e=>{var i=Px();r(i,21,()=>S(Ue),e=>e.path,(e,t)=>{{let r=F(()=>!!S(O));ir(e,{get node(){return S(t)},get selectedFile(){return n.selectedFile},get searchActive(){return S(r)},toEmailHref:$e})}}),V(i),t(e,i)};o(E,e=>{n.emailsError?e(te):S(Ye)===0?e(k,1):S(Ue).length===0?e(ne,2):e(re,-1)}),V(T);var ie=g(T,2),A=w(ie);me(A,`href`,`https://better-svelte-email.konixy.dev/docs`),We(w(A),{class:`size-3`}),D(),V(A),V(ie),V(i),he(()=>{m(b,n.emailPath||`src/lib/emails`),m(C,`${S(Ze)??``} / ${S(Ye)??``}`)}),d(`click`,s,tt),ve(_,()=>S(O),e=>z(O,e)),t(e,i)};o(ct,e=>{S(te)&&e(lt)});var ut=g(ct,2),dt=w(ut),ft=w(dt),pt=w(ft),gt=w(pt),_t=e=>{yx(e,{class:`size-4`})},vt=e=>{Je(e,{class:`size-4`})};o(gt,e=>{S(te)?e(_t):e(vt,-1)}),V(pt);var yt=g(pt,2),bt=e=>{var i=Vx(),a=g(w(i),2);r(a,17,()=>S(Ge),ye,(e,n,r)=>{var i=Lx(),a=E(i),s=w(a,!0);V(a);var c=g(a,2),l=e=>{var n=Ix();t(e,n)};o(c,e=>{r<S(Ge).length-1&&e(l)}),he(()=>{M(a,1,se(r===S(Ge).length-1?`font-medium text-foreground`:`text-muted-foreground`)),m(s,S(n))}),t(e,i)});var s=g(a,2),c=e=>{var r=I(),i=E(r);k(i,()=>xx,(e,r)=>{r(e,{children:(e,r)=>{var i=I(),a=E(i);k(a,()=>Cx,(e,r)=>{r(e,{delayDuration:300,children:(e,r)=>{var i=Bx(),a=E(i);k(a,()=>Tx,(e,r)=>{r(e,{class:`ml-1 flex items-center gap-2`,children:(e,r)=>{var i=Rx(),a=g(E(i),2),o=w(a,!0);V(a),he(e=>m(o,e),[()=>T(n.renderTimeMs)]),t(e,i)},$$slots:{default:!0}})});var o=g(a,2);k(o,()=>jx,(e,n)=>{n(e,{children:(e,n)=>{var r=zx();t(e,r)},$$slots:{default:!0}})}),t(e,i)},$$slots:{default:!0}})}),t(e,i)},$$slots:{default:!0}})}),t(e,r)};o(s,e=>{n.renderTimeMs!=null&&!n.renderError&&e(c)}),V(i),t(e,i)},xt=e=>{var n=Hx();t(e,n)};o(yt,e=>{n.selectedFile?e(bt):e(xt,-1)}),V(ft);var St=g(ft,2),Ct=e=>{var r=Wx(),i=w(r),a=w(i),s=g(a,2),c=g(s,2);V(i);var l=g(i,2);{let e=F(()=>!n.html);fo(l,{variant:`outline`,size:`sm`,onclick:rt,get disabled(){return S(e)},children:(e,n)=>{var r=Ux(),i=E(r),a=e=>{Mp(e,{class:`size-3`})},s=e=>{Re(e,{class:`size-3`})};o(i,e=>{S(ne)?e(a):e(s,-1)}),D(),t(e,r)},$$slots:{default:!0}})}Rm(g(l,2),{get previewApiOrigin(){return x()},get sendEmailConfig(){return C()},get selectedFile(){return n.selectedFile},get html(){return n.html}}),V(r),he((e,t,n)=>{M(a,1,e),M(s,1,t),M(c,1,n)},[()=>se(J(`px-3 py-1 text-xs transition-colors`,S(xe)===`render`?`bg-foreground text-background`:`text-muted-foreground hover:text-foreground`)),()=>se(J(`px-3 py-1 text-xs transition-colors`,S(xe)===`html`?`bg-foreground text-background`:`text-muted-foreground hover:text-foreground`)),()=>se(J(`px-3 py-1 text-xs transition-colors`,S(xe)===`source`?`bg-foreground text-background`:`text-muted-foreground hover:text-foreground`))]),d(`click`,a,()=>b.view=`render`),d(`click`,s,()=>b.view=`html`),d(`click`,c,()=>b.view=`source`),t(e,r)};o(St,e=>{n.selectedFile&&e(Ct)}),V(dt);var wt=g(dt,2),Tt=w(wt),Et=e=>{var n=Gx();t(e,n)},Dt=e=>{var r=Kx(),i=w(r),a=w(i);_x(w(a),{}),D(2),V(a);var o=g(a,2),s=w(o,!0);V(o),V(i),V(r),he(()=>m(s,n.renderError.stack||n.renderError.message)),t(e,r)},Ot=e=>{var r=eS(),a=E(r),s=w(a),c=e=>{var n=qx();t(e,n)},l=e=>{var n=$x(),r=E(n),a=g(w(r),2),s=w(a);Qe(w(s),{class:`size-3.5`}),D(2),V(s);var c=g(s,2);nt(w(c),{class:`size-3.5`}),D(2),V(c);var l=g(c,2);it(w(l),{class:`size-3.5`}),D(2),V(l),V(a);var u=g(a,2),f=w(u),p=g(f),h=e=>{var n=Jx(),r=w(n);V(n),he((e,t)=>m(r,`(${e??``} × ${t??``})`),[()=>Math.round(S(U)),()=>Math.round(S(Ce))]),t(e,n)},v=F(()=>Math.round(S(Se))!==Math.round(S(U)));o(p,e=>{S(v)&&e(h)}),V(u),V(r);var y=g(r,2),b=w(y),x=w(b),C=e=>{var n=Zx(),r=w(n),i=e=>{var n=Yx();let r;he(()=>r=fe(n,``,r,{left:`50%`,width:`${S(H).verticalW??``}px`,transform:`translateX(-50%)`})),t(e,n)};o(r,e=>{S(H).verticalW!=null&&e(i)});var a=g(r,2),s=e=>{var n=Xx();let r;he(()=>r=fe(n,``,r,{top:`50%`,height:`${S(H).horizontalH??``}px`,transform:`translateY(-50%)`})),t(e,n)};o(a,e=>{S(H).horizontalH!=null&&e(s)}),V(n),t(e,n)};o(x,e=>{S(H)&&(S(H).verticalW!=null||S(H).horizontalH!=null)&&e(C)});var T=g(x,2),ee=w(T),O=g(w(ee),2);let te;var k=w(O);{let e=F(()=>J(`size-3.5 transition-colors`,S(N)&&S(Me)===-1?`text-foreground`:`text-muted-foreground/40 group-hover:text-muted-foreground`));Be(k,{get class(){return S(e)}})}V(O),D(2),V(ee);var ne=g(ee,2),A=w(ne),j=w(A);{let e=F(()=>J(`size-3.5 transition-colors`,S(ce)&&S(ge)===-1?`text-foreground`:`text-muted-foreground/40 group-hover:text-muted-foreground`));He(j,{get class(){return S(e)}})}V(A);var ae=g(A,2);let oe;var P=w(ae),I=g(P,2),ue=e=>{var n=Qx(),r=w(n);V(n),he((e,t)=>m(r,`${e??``} × ${t??``}`),[()=>Math.round(S(Se)),()=>Math.round(S(we))]),t(e,n)};o(I,e=>{S(_e)&&e(ue)}),V(ae);var de=g(ae,2),pe=w(de);{let e=F(()=>J(`size-3.5 transition-colors`,S(ce)&&S(ge)===1?`text-foreground`:`text-muted-foreground/40 group-hover:text-muted-foreground`));He(pe,{get class(){return S(e)}})}V(de),V(ne);var L=g(ne,2),R=g(w(L),2);let ve;var B=w(R);{let e=F(()=>J(`size-3.5 transition-colors`,S(N)&&S(Me)===1?`text-foreground`:`text-muted-foreground/40 group-hover:text-muted-foreground`));Be(B,{get class(){return S(e)}})}V(R);var ye=g(R,2),be=w(ye);V(ye),V(L),V(T),V(b),V(y),re(y,e=>z(ie,e),()=>S(ie)),he((e,t,n,r,a,o,u,d,p,h,g)=>{M(s,1,e),me(s,`aria-label`,`Mobile viewport (${i.mobile.width??``}×${i.mobile.height??``})`),me(s,`title`,`Mobile (${i.mobile.width??``}×${i.mobile.height??``})`),M(c,1,t),me(c,`aria-label`,`Tablet viewport (${i.tablet.width??``}×${i.tablet.height??``})`),me(c,`title`,`Tablet (${i.tablet.width??``}×${i.tablet.height??``})`),M(l,1,n),me(l,`aria-label`,`Desktop viewport (${i.desktop.width??``}×${i.desktop.height??``})`),me(l,`title`,`Desktop (${i.desktop.width??``}×${i.desktop.height??``})`),m(f,`${r??``} × ${a??``} `),M(O,1,o),te=fe(O,``,te,{width:`${S(Se)??``}px`}),M(A,1,u),M(ae,1,d),oe=fe(ae,``,oe,{width:`${S(Se)??``}px`,height:`${S(we)??``}px`}),me(P,`srcdoc`,S(qe)),M(de,1,p),M(R,1,h),ve=fe(R,``,ve,{width:`${S(Se)??``}px`}),M(be,0,g)},[()=>se(J(`flex items-center gap-1.5 px-2.5 py-1 text-xs transition-colors`,W(`mobile`)?`bg-foreground text-background`:`text-muted-foreground hover:text-foreground`)),()=>se(J(`flex items-center gap-1.5 px-2.5 py-1 text-xs transition-colors`,W(`tablet`)?`bg-foreground text-background`:`text-muted-foreground hover:text-foreground`)),()=>se(J(`flex items-center gap-1.5 px-2.5 py-1 text-xs transition-colors`,W(`desktop`)?`bg-foreground text-background`:`text-muted-foreground hover:text-foreground`)),()=>Math.round(S(Se)),()=>Math.round(S(we)),()=>se(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`,S(N)&&S(Me)===-1&&`border-b-border`)),()=>se(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`,S(ce)&&S(ge)===-1&&`border-r-border`)),()=>se(J(`relative overflow-hidden border border-border bg-white shadow-xl`,!S(_e)&&`transition-[width,height] duration-150 ease-out`)),()=>se(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`,S(ce)&&S(ge)===1&&`border-l-border`)),()=>se(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`,S(N)&&S(Me)===1&&`border-t-border`)),()=>se(J(`size-3 transition-colors`,S(le)?`text-foreground`:`text-muted-foreground/40 group-hover:text-muted-foreground`))]),d(`click`,s,()=>Te(`mobile`)),d(`click`,c,()=>Te(`tablet`)),d(`click`,l,()=>Te(`desktop`)),d(`pointerdown`,O,e=>Ne(e,-1)),d(`pointermove`,O,Pe),d(`pointerup`,O,Fe),_(`pointercancel`,O,Fe),d(`pointerdown`,A,e=>Ee(e,-1)),d(`pointermove`,A,Ae),d(`pointerup`,A,je),_(`pointercancel`,A,je),d(`pointerdown`,de,e=>Ee(e,1)),d(`pointermove`,de,Ae),d(`pointerup`,de,je),_(`pointercancel`,de,je),d(`pointerdown`,R,e=>Ne(e,1)),d(`pointermove`,R,Pe),d(`pointerup`,R,Fe),_(`pointercancel`,R,Fe),d(`pointerdown`,ye,Ie),d(`pointermove`,ye,Le),d(`pointerup`,ye,ze),_(`pointercancel`,ye,ze),t(e,n)};o(s,e=>{n.html?e(l,-1):e(c)}),V(a);var u=g(a,2),f=w(u),p=w(f),h=w(p),v=w(h);hx(w(v),{class:`size-4`}),D(2),V(v),D(2),V(h);var y=g(h,2),b=w(y);{let e=F(()=>n.html||`No HTML available.`);cx(b,{get code(){return S(e)},lang:`html`})}V(y),V(p),V(f),V(u);var x=g(u,2),C=w(x),T=w(C),ee=w(T),O=w(ee);Qn(w(O),{class:`size-4`}),D(2),V(O),D(2),V(ee);var te=g(ee,2),k=w(te);{let e=F(()=>n.source||`Source could not be loaded.`);cx(k,{get code(){return S(e)},lang:`svelte`})}V(te),V(T),V(C),V(x),he((e,t,n)=>{M(a,1,e),M(u,1,t),M(x,1,n)},[()=>se(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]`,S(xe)===`render`?``:`hidden`)),()=>se(J(`absolute inset-0 flex h-full w-full flex-col overflow-hidden bg-background/95 backdrop-blur`,S(xe)===`html`?``:`hidden`)),()=>se(J(`absolute inset-0 flex h-full w-full flex-col overflow-hidden bg-background/95 backdrop-blur`,S(xe)===`source`?``:`hidden`))]),t(e,r)};o(Tt,e=>{n.selectedFile?n.renderError?e(Dt,1):e(Ot,-1):e(Et)}),V(wt),V(ut),V(st),d(`click`,pt,()=>z(te,!S(te))),t(e,st),B()}c([`click`,`pointerdown`,`pointermove`,`pointerup`]);export{nS as t};
|