@jackuait/blok 0.13.0 → 0.13.2
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/codemod/migrate-editorjs-to-blok.js +7 -2
- package/codemod/test.js +22 -2
- package/dist/blok.cjs +1 -1
- package/dist/blok.iife.js +29 -29
- package/dist/blok.mjs +2 -2
- package/dist/chunks/{blok-Cy7bijNZ.mjs → blok-Du6vYONn.mjs} +2166 -2182
- package/dist/chunks/{blok-DsB9tzWP.cjs → blok-Xu27QC2G.cjs} +13 -13
- package/dist/chunks/constants-DDTVRO2H.cjs +457 -0
- package/dist/chunks/{constants-CnxI96Oy.mjs → constants-DUuYY64n.mjs} +451 -246
- package/dist/chunks/{i18next-loader-BObGIOaH.cjs → i18next-loader-DC1uN-wc.cjs} +1 -1
- package/dist/chunks/{i18next-loader-BrDbxldT.mjs → i18next-loader-GIrBCFrC.mjs} +1 -1
- package/dist/chunks/{lightweight-i18n-Bw9zJMpT.cjs → lightweight-i18n-Bbl1cNYK.cjs} +1 -1
- package/dist/chunks/{lightweight-i18n-CFXiOjGR.mjs → lightweight-i18n-DF9Pupws.mjs} +2 -0
- package/dist/chunks/{messages-DLaesq4h2.cjs → messages-1qYt6EhZ2.cjs} +1 -1
- package/dist/chunks/{messages-BzCMWDCa.cjs → messages-2fxvN3Nb.cjs} +1 -1
- package/dist/chunks/{messages-CloQj-t82.mjs → messages-5AxgjKgf2.mjs} +2 -0
- package/dist/{messages-ByaREXXn.mjs → chunks/messages-AgmrT2Id.mjs} +2 -0
- package/dist/{messages-DV7zSwcU2.mjs → chunks/messages-AtUsRyWK2.mjs} +2 -0
- package/dist/chunks/{messages-23LJg97F.cjs → messages-B1Vs2HmR.cjs} +1 -1
- package/dist/{messages-Bgub7yIr.mjs → chunks/messages-B1k4DgVe.mjs} +4 -2
- package/dist/chunks/{messages-CyNE9mfW.cjs → messages-B1xgsCNQ.cjs} +1 -1
- package/dist/chunks/{messages-CK6NQlei2.mjs → messages-B2zrJyAc2.mjs} +2 -0
- package/dist/chunks/{messages-D9KllT5S.mjs → messages-B5CFhyI8.mjs} +2 -0
- package/dist/chunks/{messages-BFPJInnK.mjs → messages-B6You-RA.mjs} +7 -5
- package/dist/{messages-B8Ps9X7Q.mjs → chunks/messages-B6t1xShv.mjs} +2 -0
- package/dist/chunks/{messages-B5P29HKO2.cjs → messages-B780gS332.cjs} +1 -1
- package/dist/chunks/{messages-BBD0GeAN.mjs → messages-B7KbtBAE.mjs} +5 -3
- package/dist/chunks/{messages-CG1tpK3F.cjs → messages-B7T5Notn.cjs} +1 -1
- package/dist/{messages-DemkV5oa2.mjs → chunks/messages-BA2sVGrR2.mjs} +2 -0
- package/dist/chunks/{messages-B9q8LdZT.cjs → messages-BE9aZQ1Q.cjs} +1 -1
- package/dist/chunks/{messages-CPTia1Ip.cjs → messages-BIQpTYfm.cjs} +1 -1
- package/dist/chunks/{messages-BT-EUB5N.cjs → messages-BIRvUJ0t.cjs} +1 -1
- package/dist/chunks/{messages-BEkcSJKV.cjs → messages-BIodfkjv.cjs} +1 -1
- package/dist/chunks/{messages-_ysQiWQr.cjs → messages-BL-zBcuM.cjs} +1 -1
- package/dist/chunks/{messages-CSZTOxAh.mjs → messages-BNxTGhHu.mjs} +2 -0
- package/dist/chunks/{messages-CzG5xDaO.mjs → messages-BP77P9ER.mjs} +2 -0
- package/dist/chunks/{messages-BEM-ySlb2.cjs → messages-BQr0zpmu2.cjs} +1 -1
- package/dist/chunks/{messages-D4P5aWos2.cjs → messages-BTHi6rVW2.cjs} +1 -1
- package/dist/chunks/{messages-KTUVKXJd.mjs → messages-BVZONUH9.mjs} +3 -1
- package/dist/{messages-BvHpSkAX2.mjs → chunks/messages-BVarbXYD2.mjs} +2 -0
- package/dist/{messages-DiOm0iFp.mjs → chunks/messages-BWGqOZ9J.mjs} +2 -0
- package/dist/{messages-DIBytW9u.mjs → chunks/messages-BZ4d5yNH.mjs} +2 -0
- package/dist/chunks/{messages-WUvriTcu2.cjs → messages-BZOAdcmO2.cjs} +1 -1
- package/dist/chunks/{messages-CN9LNhoS2.mjs → messages-B_U10evN2.mjs} +4 -2
- package/dist/chunks/{messages-DPrZ8Z6d2.cjs → messages-BbsGeVs_2.cjs} +1 -1
- package/dist/chunks/{messages-3_7JWqT0.cjs → messages-Bc1NYJVS.cjs} +1 -1
- package/dist/chunks/{messages-D3EU-LRS.cjs → messages-BdORNG8X.cjs} +1 -1
- package/dist/chunks/{messages-BIOk-aTQ.cjs → messages-Bg2kheTv.cjs} +1 -1
- package/dist/chunks/{messages-DsAkJt8M.cjs → messages-Bj1eQtQw.cjs} +1 -1
- package/dist/chunks/{messages-CD6xvMw1.cjs → messages-BkJJCHNK.cjs} +1 -1
- package/dist/chunks/{messages-BIN5-zeZ.cjs → messages-BkdGQfIX.cjs} +1 -1
- package/dist/chunks/{messages-pKpKbxTh2.cjs → messages-BkgsB-cj2.cjs} +1 -1
- package/dist/{messages-DXCKUB0_.mjs → chunks/messages-BmdkDNYv.mjs} +4 -2
- package/dist/{messages-B66o_tQ42.mjs → chunks/messages-BmiN0JGP2.mjs} +2 -0
- package/dist/chunks/{messages-BG17trOF.cjs → messages-Bn0vGFEP.cjs} +1 -1
- package/dist/{messages-BpJopIVL2.mjs → chunks/messages-BoCUgrkI.mjs} +2 -0
- package/dist/chunks/{messages-B7dSyfsy.cjs → messages-BoIUXwWe.cjs} +1 -1
- package/dist/chunks/{messages-7oeFTHO4.cjs → messages-BpDEh8rW.cjs} +1 -1
- package/dist/{messages-DVSJBYhD.mjs → chunks/messages-BuYnNUtU2.mjs} +3 -1
- package/dist/{messages-D8SUKrMB.mjs → chunks/messages-BvuEffoe.mjs} +4 -2
- package/dist/{messages-DvIwCnTR.mjs → chunks/messages-BvupGuDw2.mjs} +2 -0
- package/dist/chunks/{messages-BZr0xR7X.cjs → messages-BwknPZJ8.cjs} +1 -1
- package/dist/{messages-5s1gGSm4.mjs → chunks/messages-BxKobpJ22.mjs} +2 -0
- package/dist/chunks/{messages-D_OfKMtO2.cjs → messages-ByicRCge2.cjs} +1 -1
- package/dist/{messages-DNDonN-x.mjs → chunks/messages-C03LZxma.mjs} +2 -0
- package/dist/{messages-CqrBLC_P.mjs → chunks/messages-C24IC_eR.mjs} +2 -0
- package/dist/chunks/{messages-CucO-8OV.cjs → messages-C2oBmyTn.cjs} +1 -1
- package/dist/chunks/{messages-CXZtG3Xs2.mjs → messages-C4bHKGnB2.mjs} +4 -2
- package/dist/chunks/{messages-DTceHV5d2.mjs → messages-C4sIqArW2.mjs} +2 -0
- package/dist/chunks/{messages-Ds1jRRkJ2.cjs → messages-C9wBMmxr2.cjs} +1 -1
- package/dist/chunks/{messages-DdMhxYfW.cjs → messages-CDK5-8vW.cjs} +1 -1
- package/dist/chunks/{messages-CP3f0qkN.cjs → messages-CKHbPcfh.cjs} +1 -1
- package/dist/{messages-Dt4Cw2PN2.mjs → chunks/messages-CMRjQYxi2.mjs} +3 -1
- package/dist/chunks/{messages-BJVhJhdz.cjs → messages-CNFfwTfw.cjs} +1 -1
- package/dist/chunks/{messages-C99hDoeM2.cjs → messages-CNiuofck2.cjs} +1 -1
- package/dist/chunks/{messages-CjgjbJ1H2.mjs → messages-COMdnGQV2.mjs} +4 -2
- package/dist/{messages-BfsTqQCr2.mjs → chunks/messages-CQg2_vmm.mjs} +2 -0
- package/dist/{messages-_OjohrXs.mjs → chunks/messages-CTWXEx_o.mjs} +6 -4
- package/dist/{messages-BJBdgowf.mjs → chunks/messages-CWTFEPbA2.mjs} +2 -0
- package/dist/chunks/{messages-l73qDsKl.cjs → messages-CWszAGkF.cjs} +1 -1
- package/dist/chunks/{messages-BGcdiqDM2.cjs → messages-CWzQNagc2.cjs} +1 -1
- package/dist/{messages-CaC0BVP72.mjs → chunks/messages-CXxz5HYQ.mjs} +2 -0
- package/dist/chunks/{messages-BvJTJwoq2.cjs → messages-CYf1gv722.cjs} +1 -1
- package/dist/{messages-DN_N2jK1.mjs → chunks/messages-CcboYTP8.mjs} +2 -0
- package/dist/{messages-DdGG7T30.mjs → chunks/messages-CdWXgq_r.mjs} +2 -0
- package/dist/chunks/{messages-pZC8rTng.cjs → messages-CfcCwbQo.cjs} +1 -1
- package/dist/chunks/{messages-DFJTssY7.cjs → messages-CkvqOnAR.cjs} +1 -1
- package/dist/chunks/{messages-BzbW5tIB2.cjs → messages-Cnrug7nz2.cjs} +1 -1
- package/dist/chunks/{messages-BUp0i-9G.cjs → messages-Cr51zCHy.cjs} +1 -1
- package/dist/chunks/{messages-Cz63p8bt2.cjs → messages-CsLvvl2F2.cjs} +1 -1
- package/dist/chunks/{messages-DrIzpqee.cjs → messages-CuO-Rx4g.cjs} +1 -1
- package/dist/chunks/messages-Cv4I3k1W2.cjs +1 -0
- package/dist/chunks/{messages-BScbCwsN.cjs → messages-CwHRv6g8.cjs} +1 -1
- package/dist/chunks/{messages-EUS1-T0-.mjs → messages-CyCl8la6.mjs} +2 -0
- package/dist/chunks/{messages-DOUT2sT62.cjs → messages-CzXnHfGb2.cjs} +1 -1
- package/dist/chunks/{messages-ndFXaPuJ.cjs → messages-D2QxLx1a.cjs} +1 -1
- package/dist/chunks/{messages-CDLJmxWA.cjs → messages-D4LUPpX_.cjs} +1 -1
- package/dist/{messages-DpQjOxzP.mjs → chunks/messages-D7YPlNAK.mjs} +2 -0
- package/dist/{messages-S0krg7sB.mjs → chunks/messages-DGHTTk1S2.mjs} +3 -1
- package/dist/chunks/{messages-wZhc9mFF2.mjs → messages-DHdoaaFq2.mjs} +6 -4
- package/dist/chunks/{messages-C0BMFvdy.mjs → messages-DI9Ifrgt.mjs} +2 -0
- package/dist/chunks/messages-DJFL-bxd2.cjs +1 -0
- package/dist/chunks/messages-DLEeNpMi2.cjs +1 -0
- package/dist/chunks/{messages-BpI1875E.mjs → messages-DNqFlfOd.mjs} +3 -1
- package/dist/chunks/{messages-mtoLIsYL.cjs → messages-DTNU_cq0.cjs} +1 -1
- package/dist/chunks/{messages-BxXGCWit.cjs → messages-DVKsYqpJ.cjs} +1 -1
- package/dist/chunks/{messages-BJNTs8dY.cjs → messages-DXlfz-nC.cjs} +1 -1
- package/dist/chunks/{messages-DKdgRSvy.cjs → messages-DbA_Zja3.cjs} +1 -1
- package/dist/chunks/{messages-CZ2th1UV2.cjs → messages-Dc2TTEx_2.cjs} +1 -1
- package/dist/chunks/{messages-Bh-GPq0T2.mjs → messages-Dd4nzvLj2.mjs} +2 -0
- package/dist/chunks/{messages-BISkpo37.cjs → messages-DeDMMmRC.cjs} +1 -1
- package/dist/chunks/{messages-C0Fr1grN.mjs → messages-DefZ3ihx.mjs} +2 -0
- package/dist/{messages-DC1fWdjB2.mjs → chunks/messages-DhZwMl9x2.mjs} +2 -0
- package/dist/chunks/{messages-BYT844Pj.mjs → messages-DiGsu5XN.mjs} +6 -4
- package/dist/chunks/{messages-xeJ5eVFo.cjs → messages-DlQNXqzr.cjs} +1 -1
- package/dist/{messages-CZYocA-2.mjs → chunks/messages-DlcI-0Sy.mjs} +2 -0
- package/dist/{messages-ZJE9VNzB2.mjs → chunks/messages-DmErSGPk2.mjs} +2 -0
- package/dist/chunks/{messages-h9Zi_9Gr.cjs → messages-DqMqZLcn.cjs} +1 -1
- package/dist/chunks/{messages-D_w-pjpG2.cjs → messages-DqqDuEE22.cjs} +1 -1
- package/dist/chunks/{messages-DW0CNDiw.mjs → messages-DsyO86r3.mjs} +2 -0
- package/dist/chunks/{messages-DgdjQ2JT.mjs → messages-DzY53I67.mjs} +2 -0
- package/dist/chunks/{messages-PeAC6FL2.cjs → messages-DzppdmWe.cjs} +1 -1
- package/dist/chunks/{messages-CkCgWAJW2.mjs → messages-GHsufIGi2.mjs} +4 -2
- package/dist/chunks/{messages-Diinl7nA2.cjs → messages-HzLF-BQL2.cjs} +1 -1
- package/dist/chunks/{messages-CoWmNHyu2.cjs → messages-Jb9n97oP2.cjs} +1 -1
- package/dist/chunks/{messages-2sqZ51ZE2.cjs → messages-K_vSdSoF2.cjs} +1 -1
- package/dist/{messages-D-K9TXl02.mjs → chunks/messages-LTkIIrSe2.mjs} +6 -4
- package/dist/chunks/{messages-zqNVwsuv.mjs → messages-MPF8o3EP.mjs} +2 -0
- package/dist/chunks/{messages-5HoTbob5.cjs → messages-Nh7wrRdm.cjs} +1 -1
- package/dist/chunks/{messages-B6ALGrrK2.mjs → messages-OSIAf0Wk2.mjs} +5 -3
- package/dist/chunks/{messages-P9sjeERx.mjs → messages-OYoN_rp1.mjs} +4 -2
- package/dist/chunks/messages-QHS-Ydg_.cjs +1 -0
- package/dist/chunks/{messages-DLphNjiM2.cjs → messages-SpiG5vT-2.cjs} +1 -1
- package/dist/chunks/{messages-RumMLtL32.mjs → messages-Uc3Uc2862.mjs} +3 -1
- package/dist/chunks/{messages-BP9zsQtc.mjs → messages-V8K7-1l2.mjs} +2 -0
- package/dist/chunks/{messages-BR1Rd5-u2.cjs → messages-XFaJzdhP2.cjs} +1 -1
- package/dist/{messages-B3GO2TNx2.mjs → chunks/messages-Z9mDYT3w.mjs} +2 -0
- package/dist/chunks/{messages-CEroCDzi.mjs → messages-ZHNvKiIX.mjs} +2 -0
- package/dist/chunks/{messages-C2irZQlh.mjs → messages-bSVgJ1cu.mjs} +3 -1
- package/dist/chunks/{messages-DlNTalkx2.mjs → messages-bjSJwsXK2.mjs} +2 -0
- package/dist/{messages-D_jk0Apm.mjs → chunks/messages-eyGOcbhV.mjs} +2 -0
- package/dist/chunks/{messages-DlvmJJK6.mjs → messages-fSeXd6-z.mjs} +3 -1
- package/dist/{messages-BYooY4mP2.mjs → chunks/messages-l5xHQb_m.mjs} +7 -5
- package/dist/{messages-D_pfhYg5.mjs → chunks/messages-rEsI_fAk.mjs} +5 -3
- package/dist/chunks/{messages-MxqZVywa2.mjs → messages-sqdfYuVj2.mjs} +2 -0
- package/dist/chunks/{messages-C-D80jVE.mjs → messages-vQ5kblO8.mjs} +2 -0
- package/dist/chunks/{messages-BwNXKlvA2.cjs → messages-y03BGg692.cjs} +1 -1
- package/dist/chunks/tools-DOuVjow8.cjs +116 -0
- package/dist/chunks/{tools-1xd7TPfu.mjs → tools-Tt-NXbRZ.mjs} +1816 -1637
- package/dist/full.cjs +1 -1
- package/dist/full.mjs +3 -3
- package/dist/locales.mjs +69 -67
- package/dist/{chunks/messages-CkdgHogc2.mjs → messages-1ufJbdRv2.mjs} +3 -1
- package/dist/{messages-cBA8dKoi.mjs → messages-3j4yi-DF.mjs} +5 -3
- package/dist/{chunks/messages-BGCpxpgG.mjs → messages-5USazVPA2.mjs} +2 -0
- package/dist/{chunks/messages-Cf9wwoye2.mjs → messages-7fwJIrld2.mjs} +2 -0
- package/dist/{messages-hVVP_eZE.mjs → messages-AycxTjmw.mjs} +2 -0
- package/dist/{messages-Bg5tERmS.mjs → messages-B3PWaMcw.mjs} +6 -4
- package/dist/{chunks/messages-Diozu4lJ.mjs → messages-B3oFjWq3.mjs} +4 -2
- package/dist/{chunks/messages-ByJ-nSXK.mjs → messages-B8Tq9Txy.mjs} +2 -0
- package/dist/{messages-CDJP_fbb2.mjs → messages-BDwU9rYR2.mjs} +4 -2
- package/dist/{messages-6ukS6d5Z.mjs → messages-BGzpwNrz.mjs} +2 -0
- package/dist/{chunks/messages-CHXG6lEA2.mjs → messages-BKCuCTFM.mjs} +2 -0
- package/dist/{chunks/messages-aGEPK1g12.mjs → messages-BSHFypGE2.mjs} +2 -0
- package/dist/{chunks/messages-OMGVF8X52.mjs → messages-BcD7xtJA.mjs} +3 -1
- package/dist/{messages-DA2x_UvX2.mjs → messages-Bj03XD-02.mjs} +6 -4
- package/dist/{chunks/messages-C3NrnRWC.mjs → messages-BkTBwYet.mjs} +2 -0
- package/dist/{messages-ZjCwxd3_2.mjs → messages-BmWP4vpV2.mjs} +2 -0
- package/dist/{chunks/messages-DDtwOfXf.mjs → messages-Bt4TLGth.mjs} +2 -0
- package/dist/{chunks/messages-Bly_2YUk.mjs → messages-BtDz-sw92.mjs} +2 -0
- package/dist/{messages-CTcNzaJJ2.mjs → messages-C2TRJroV2.mjs} +2 -0
- package/dist/{messages-CDRUbL17.mjs → messages-C31VIrlL.mjs} +2 -0
- package/dist/{messages-Yg8Y6PlG.mjs → messages-C8RMjnBe.mjs} +2 -0
- package/dist/{chunks/messages-BciKgfP4.mjs → messages-C9GFRcVj.mjs} +6 -4
- package/dist/{chunks/messages-0cSP25RB.mjs → messages-CAGQtm7T.mjs} +5 -3
- package/dist/{messages-_6tu8F-N.mjs → messages-CITYhXUz.mjs} +2 -0
- package/dist/{messages-BbaS2xgR2.mjs → messages-CIjSE2_O2.mjs} +5 -3
- package/dist/{messages-BQ7jJt9m.mjs → messages-CRR1VRO6.mjs} +2 -0
- package/dist/{chunks/messages-Da-9fv3U.mjs → messages-CTzO11jz.mjs} +2 -0
- package/dist/{messages-DaSzBuLF2.mjs → messages-CX8egsiA2.mjs} +2 -0
- package/dist/{messages-DccIq7002.mjs → messages-C_gdsU952.mjs} +4 -2
- package/dist/{messages-CXXQC9Vz.mjs → messages-C_mN4lx0.mjs} +3 -1
- package/dist/{chunks/messages-BI7NfKFe.mjs → messages-CacRpQpm.mjs} +4 -2
- package/dist/{chunks/messages-BCRpttn3.mjs → messages-Cdgz3urh.mjs} +2 -0
- package/dist/{messages-BaC-sNb4.mjs → messages-CgVEHCQ-.mjs} +3 -1
- package/dist/{chunks/messages-D_24p8E62.mjs → messages-CgaGkQi32.mjs} +2 -0
- package/dist/{chunks/messages-D3AyiRbO.mjs → messages-CmN2OfuB.mjs} +2 -0
- package/dist/{chunks/messages-CSierpa_2.mjs → messages-CntTlSE22.mjs} +2 -0
- package/dist/{messages-BK1sXq7X.mjs → messages-Cp0fjsey.mjs} +3 -1
- package/dist/{messages-DHOj5syv2.mjs → messages-Cx7sqvx02.mjs} +2 -0
- package/dist/{messages-CQUbgCd62.mjs → messages-CxX23Jsk2.mjs} +4 -2
- package/dist/{chunks/messages-DTqb7T61.mjs → messages-D-rvoUSJ.mjs} +2 -0
- package/dist/{messages-Bkbhk9kJ2.mjs → messages-D1Fjr4OK2.mjs} +2 -0
- package/dist/{chunks/messages-CSkYL3AP.mjs → messages-D4U4wkYM.mjs} +2 -0
- package/dist/{chunks/messages-DwuvQpsD.mjs → messages-D5qgCWmB2.mjs} +7 -5
- package/dist/{chunks/messages-a_XmI-x5.mjs → messages-D788KtGe.mjs} +2 -0
- package/dist/{chunks/messages-B4-oaYBZ.mjs → messages-DFfhoDWZ2.mjs} +2 -0
- package/dist/{messages-BgcWyc4R.mjs → messages-DKsyrVp5.mjs} +2 -0
- package/dist/{messages-B_Js-HRK.mjs → messages-DL7JAwpC.mjs} +2 -0
- package/dist/{chunks/messages-CSioKJVK2.mjs → messages-DNlrcG5Z.mjs} +2 -0
- package/dist/{chunks/messages-vGRE1OPk2.mjs → messages-DPqFBtJR.mjs} +2 -0
- package/dist/{chunks/messages-BTKAxpmi.mjs → messages-DQik3_xv2.mjs} +2 -0
- package/dist/{messages-BUksRT7Q.mjs → messages-DTkd9ND8.mjs} +7 -5
- package/dist/{messages-Br4tspi_2.mjs → messages-DXCyNanc2.mjs} +2 -0
- package/dist/{chunks/messages-CdJq8h3E.mjs → messages-D_WzyzUt.mjs} +2 -0
- package/dist/{chunks/messages-DC0r7l8x2.mjs → messages-Ddz6eH0-2.mjs} +2 -0
- package/dist/{messages-BqCRuWLo.mjs → messages-DiL61awK.mjs} +2 -0
- package/dist/{chunks/messages-DXaps_uI.mjs → messages-Dq2WEsEu.mjs} +2 -0
- package/dist/{chunks/messages-8qsQ7qZX2.mjs → messages-DqXJJPx9.mjs} +3 -1
- package/dist/{messages-jh3qE8dL.mjs → messages-Duk7VVeY.mjs} +3 -1
- package/dist/{messages-DQHRgl_P.mjs → messages-DzkZ434Z.mjs} +4 -2
- package/dist/{messages-DUdZKtlE.mjs → messages-JKXCsFKZ.mjs} +2 -0
- package/dist/{chunks/messages-C9-UAJuq.mjs → messages-NVepzgE3.mjs} +4 -2
- package/dist/{messages-omcUe0Za.mjs → messages-PQVh93mt.mjs} +2 -0
- package/dist/{chunks/messages-xRQMQj4w2.mjs → messages-ftPYsH6d2.mjs} +6 -4
- package/dist/{chunks/messages-Ddb_L6gp2.mjs → messages-gQ5PFa2t2.mjs} +2 -0
- package/dist/{messages-DzqQWiFx.mjs → messages-oIa8wahx.mjs} +2 -0
- package/dist/{messages-DO62ugjy2.mjs → messages-rpO1POP02.mjs} +3 -1
- package/dist/{messages-63r3O0932.mjs → messages-uy3FE24_2.mjs} +4 -2
- package/dist/react.cjs +1 -1
- package/dist/react.mjs +1 -1
- package/dist/tools.cjs +1 -1
- package/dist/tools.mjs +2 -2
- package/package.json +1 -1
- package/src/blok.ts +2 -0
- package/src/cli/commands/convert-html/block-builder.ts +13 -3
- package/src/components/i18n/locales/am/messages.json +2 -1
- package/src/components/i18n/locales/ar/messages.json +2 -1
- package/src/components/i18n/locales/az/messages.json +3 -2
- package/src/components/i18n/locales/bg/messages.json +2 -1
- package/src/components/i18n/locales/bn/messages.json +2 -1
- package/src/components/i18n/locales/bs/messages.json +6 -5
- package/src/components/i18n/locales/cs/messages.json +4 -3
- package/src/components/i18n/locales/da/messages.json +6 -5
- package/src/components/i18n/locales/de/messages.json +4 -3
- package/src/components/i18n/locales/dv/messages.json +2 -1
- package/src/components/i18n/locales/el/messages.json +2 -1
- package/src/components/i18n/locales/en/messages.json +2 -0
- package/src/components/i18n/locales/es/messages.json +3 -2
- package/src/components/i18n/locales/et/messages.json +3 -2
- package/src/components/i18n/locales/fa/messages.json +2 -1
- package/src/components/i18n/locales/fi/messages.json +3 -2
- package/src/components/i18n/locales/fil/messages.json +7 -6
- package/src/components/i18n/locales/fr/messages.json +4 -3
- package/src/components/i18n/locales/gu/messages.json +2 -1
- package/src/components/i18n/locales/he/messages.json +2 -1
- package/src/components/i18n/locales/hi/messages.json +2 -1
- package/src/components/i18n/locales/hr/messages.json +5 -4
- package/src/components/i18n/locales/hu/messages.json +4 -3
- package/src/components/i18n/locales/hy/messages.json +2 -1
- package/src/components/i18n/locales/id/messages.json +2 -1
- package/src/components/i18n/locales/it/messages.json +5 -4
- package/src/components/i18n/locales/ja/messages.json +2 -1
- package/src/components/i18n/locales/ka/messages.json +2 -1
- package/src/components/i18n/locales/km/messages.json +2 -1
- package/src/components/i18n/locales/kn/messages.json +2 -1
- package/src/components/i18n/locales/ko/messages.json +2 -1
- package/src/components/i18n/locales/ku/messages.json +2 -1
- package/src/components/i18n/locales/lo/messages.json +2 -1
- package/src/components/i18n/locales/lt/messages.json +3 -2
- package/src/components/i18n/locales/lv/messages.json +3 -2
- package/src/components/i18n/locales/mk/messages.json +2 -1
- package/src/components/i18n/locales/ml/messages.json +2 -1
- package/src/components/i18n/locales/mn/messages.json +2 -1
- package/src/components/i18n/locales/mr/messages.json +2 -1
- package/src/components/i18n/locales/ms/messages.json +4 -3
- package/src/components/i18n/locales/my/messages.json +2 -1
- package/src/components/i18n/locales/ne/messages.json +2 -1
- package/src/components/i18n/locales/nl/messages.json +4 -3
- package/src/components/i18n/locales/no/messages.json +4 -3
- package/src/components/i18n/locales/pa/messages.json +2 -1
- package/src/components/i18n/locales/pl/messages.json +4 -3
- package/src/components/i18n/locales/ps/messages.json +2 -1
- package/src/components/i18n/locales/pt/messages.json +6 -5
- package/src/components/i18n/locales/ro/messages.json +3 -2
- package/src/components/i18n/locales/ru/messages.json +2 -1
- package/src/components/i18n/locales/sd/messages.json +2 -1
- package/src/components/i18n/locales/si/messages.json +2 -1
- package/src/components/i18n/locales/sk/messages.json +6 -5
- package/src/components/i18n/locales/sl/messages.json +5 -4
- package/src/components/i18n/locales/sq/messages.json +3 -2
- package/src/components/i18n/locales/sr/messages.json +2 -1
- package/src/components/i18n/locales/sv/messages.json +7 -6
- package/src/components/i18n/locales/sw/messages.json +2 -1
- package/src/components/i18n/locales/ta/messages.json +2 -1
- package/src/components/i18n/locales/te/messages.json +2 -1
- package/src/components/i18n/locales/th/messages.json +2 -1
- package/src/components/i18n/locales/tr/messages.json +2 -1
- package/src/components/i18n/locales/ug/messages.json +2 -1
- package/src/components/i18n/locales/uk/messages.json +2 -1
- package/src/components/i18n/locales/ur/messages.json +2 -1
- package/src/components/i18n/locales/vi/messages.json +2 -1
- package/src/components/i18n/locales/yi/messages.json +2 -1
- package/src/components/i18n/locales/zh/messages.json +2 -1
- package/src/components/icons/index.ts +6 -3
- package/src/components/inline-tools/inline-tool-marker.ts +12 -0
- package/src/components/modules/api/blocks.ts +3 -0
- package/src/components/modules/paste/google-docs-preprocessor.ts +64 -28
- package/src/components/modules/paste/sanitizer-config.ts +10 -1
- package/src/components/modules/renderer.ts +7 -1
- package/src/components/modules/toolbar/blockSettings.ts +54 -7
- package/src/components/modules/toolbar/content-alignment.ts +89 -0
- package/src/components/modules/toolbar/index.ts +85 -61
- package/src/components/modules/ui.ts +28 -6
- package/src/components/modules/uiControllers/controllers/blockHover.ts +20 -0
- package/src/components/utils/color-mapping.ts +15 -0
- package/src/components/utils/color-migration.ts +10 -0
- package/src/components/utils/data-model-transform.ts +200 -0
- package/src/components/utils/default-page-colors.ts +130 -0
- package/src/components/utils/highlight-block-arrival.ts +50 -0
- package/src/components/utils/popover/popover-desktop.ts +23 -1
- package/src/styles/image.css +86 -0
- package/src/styles/keyframes.css +6 -0
- package/src/styles/main.css +17 -0
- package/src/tools/database/index.ts +3 -4
- package/src/tools/image/dimensions-from-svg.ts +53 -0
- package/src/tools/image/dimensions-from-url.ts +87 -0
- package/src/tools/image/error-state.ts +7 -2
- package/src/tools/image/index.ts +81 -7
- package/src/tools/image/probe-dimensions.ts +36 -0
- package/src/tools/image/ui.ts +46 -2
- package/src/tools/image/uploader.ts +12 -8
- package/src/tools/table/table-cell-clipboard.ts +17 -3
- package/types/tools/image.d.ts +16 -2
- package/dist/chunks/constants-JFG5JxhI.cjs +0 -457
- package/dist/chunks/messages-C-FUK4Ki2.cjs +0 -1
- package/dist/chunks/messages-CLkrVqVp.cjs +0 -1
- package/dist/chunks/messages-D9qYuzOY2.cjs +0 -1
- package/dist/chunks/messages-DEdX7dXt2.cjs +0 -1
- package/dist/chunks/tools-Cnlc1TxG.cjs +0 -116
|
@@ -131,7 +131,7 @@ var a = {
|
|
|
131
131
|
RIGHT: 2,
|
|
132
132
|
BACKWARD: 3,
|
|
133
133
|
FORWARD: 4
|
|
134
|
-
}, l = () => "0.13.
|
|
134
|
+
}, l = () => "0.13.2", u = /* @__PURE__ */ function(e) {
|
|
135
135
|
return e.VERBOSE = "VERBOSE", e.INFO = "INFO", e.WARN = "WARN", e.ERROR = "ERROR", e;
|
|
136
136
|
}({}), d = (e, t, n = "log", r, i = "color: inherit") => {
|
|
137
137
|
let a = typeof console > "u" ? void 0 : console;
|
|
@@ -886,7 +886,7 @@ var Ke = class {
|
|
|
886
886
|
];
|
|
887
887
|
return n.slice(0, -1).map((t, r) => e.substring(t, n[r + 1])).filter((e) => e.length > 0);
|
|
888
888
|
}
|
|
889
|
-
},
|
|
889
|
+
}, qe = class {
|
|
890
890
|
static wrapRangeWithHighlight(e) {
|
|
891
891
|
if (e.collapsed) return null;
|
|
892
892
|
let t = T.make("span");
|
|
@@ -924,7 +924,7 @@ var Ke = class {
|
|
|
924
924
|
t.removeChild(e);
|
|
925
925
|
}
|
|
926
926
|
}
|
|
927
|
-
},
|
|
927
|
+
}, Je = class {
|
|
928
928
|
constructor(e) {
|
|
929
929
|
this.selectionUtils = e;
|
|
930
930
|
}
|
|
@@ -942,10 +942,10 @@ var Ke = class {
|
|
|
942
942
|
let c = document.createRange(), l = e === r, u = e === a, d = l ? i : 0, f = (t = (n = e.textContent) == null ? void 0 : n.length) == null ? 0 : t, p = u ? o : f;
|
|
943
943
|
if (d === p) return;
|
|
944
944
|
c.setStart(e, d), c.setEnd(e, p);
|
|
945
|
-
let m =
|
|
945
|
+
let m = qe.wrapRangeWithHighlight(c);
|
|
946
946
|
m && s.push(m);
|
|
947
947
|
}), s.length === 0) return;
|
|
948
|
-
let c =
|
|
948
|
+
let c = qe.postProcessHighlightWrappers(s);
|
|
949
949
|
A.applyLineHeightExtensions(c);
|
|
950
950
|
let l = document.createRange();
|
|
951
951
|
l.setStartBefore(c[0]), l.setEndAfter(c[c.length - 1]), this.selectionUtils.savedSelectionRange = l.cloneRange();
|
|
@@ -957,7 +957,7 @@ var Ke = class {
|
|
|
957
957
|
}
|
|
958
958
|
removeOrphanedFakeBackgroundElements() {
|
|
959
959
|
document.querySelectorAll("[data-blok-fake-background=\"true\"]").forEach((e) => {
|
|
960
|
-
|
|
960
|
+
qe.unwrapFakeBackground(e);
|
|
961
961
|
});
|
|
962
962
|
}
|
|
963
963
|
clearFakeBackground() {
|
|
@@ -968,14 +968,14 @@ var Ke = class {
|
|
|
968
968
|
if (e.length === 0) return;
|
|
969
969
|
let t = e[0], n = e[e.length - 1], r = t.firstChild, i = n.lastChild;
|
|
970
970
|
if (e.forEach((e) => {
|
|
971
|
-
|
|
971
|
+
qe.unwrapFakeBackground(e);
|
|
972
972
|
}), r && i) {
|
|
973
973
|
var a;
|
|
974
974
|
let e = document.createRange();
|
|
975
975
|
e.setStart(r, 0), e.setEnd(i, ((a = i.textContent) == null ? void 0 : a.length) || 0), this.selectionUtils.savedSelectionRange = e;
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
},
|
|
978
|
+
}, Ye = class {
|
|
979
979
|
static addFakeCursor() {
|
|
980
980
|
let e = k.getRange();
|
|
981
981
|
if (e === null) return;
|
|
@@ -989,7 +989,7 @@ var Ke = class {
|
|
|
989
989
|
let t = T.find(e, o(a.fakeCursor));
|
|
990
990
|
t && t.remove();
|
|
991
991
|
}
|
|
992
|
-
},
|
|
992
|
+
}, Xe = class {
|
|
993
993
|
static findParentTag(e, t, n = 10) {
|
|
994
994
|
let r = window.getSelection();
|
|
995
995
|
if (!r || !r.anchorNode || !r.focusNode) return null;
|
|
@@ -1017,9 +1017,9 @@ var Ke = class {
|
|
|
1017
1017
|
let n = document.createRange();
|
|
1018
1018
|
n.selectNodeContents(e), t.addRange(n);
|
|
1019
1019
|
}
|
|
1020
|
-
},
|
|
1020
|
+
}, Ze = class {
|
|
1021
1021
|
constructor() {
|
|
1022
|
-
this.instance = null, this.selection = null, this.savedSelectionRange = null, this.isFakeBackgroundEnabled = !1, this.fakeBackgroundManager = new
|
|
1022
|
+
this.instance = null, this.selection = null, this.savedSelectionRange = null, this.isFakeBackgroundEnabled = !1, this.fakeBackgroundManager = new Je(this);
|
|
1023
1023
|
}
|
|
1024
1024
|
static get anchorNode() {
|
|
1025
1025
|
return k.getAnchorNode();
|
|
@@ -1067,13 +1067,13 @@ var Ke = class {
|
|
|
1067
1067
|
return We.isRangeInsideContainer(e);
|
|
1068
1068
|
}
|
|
1069
1069
|
static addFakeCursor() {
|
|
1070
|
-
|
|
1070
|
+
Ye.addFakeCursor();
|
|
1071
1071
|
}
|
|
1072
1072
|
static isFakeCursorInsideContainer(e) {
|
|
1073
|
-
return
|
|
1073
|
+
return Ye.isFakeCursorInsideContainer(e);
|
|
1074
1074
|
}
|
|
1075
1075
|
static removeFakeCursor(e = document.body) {
|
|
1076
|
-
|
|
1076
|
+
Ye.removeFakeCursor(e);
|
|
1077
1077
|
}
|
|
1078
1078
|
removeFakeBackground() {
|
|
1079
1079
|
this.fakeBackgroundManager.removeFakeBackground();
|
|
@@ -1102,14 +1102,14 @@ var Ke = class {
|
|
|
1102
1102
|
We.collapseToEnd();
|
|
1103
1103
|
}
|
|
1104
1104
|
findParentTag(e, t, n = 10) {
|
|
1105
|
-
return
|
|
1105
|
+
return Xe.findParentTag(e, t, n);
|
|
1106
1106
|
}
|
|
1107
1107
|
expandToTag(e) {
|
|
1108
|
-
|
|
1108
|
+
Xe.expandToTag(e);
|
|
1109
1109
|
}
|
|
1110
|
-
},
|
|
1110
|
+
}, j = /* @__PURE__ */ function(e) {
|
|
1111
1111
|
return e.Default = "default", e.Separator = "separator", e.Html = "html", e;
|
|
1112
|
-
}({}),
|
|
1112
|
+
}({}), Qe = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
|
|
1113
1113
|
(function(n, r) {
|
|
1114
1114
|
typeof define == "function" && define.amd ? define("html-janitor", r) : typeof e == "object" ? t.exports = r() : n.HTMLJanitor = r();
|
|
1115
1115
|
})(e, function() {
|
|
@@ -1197,66 +1197,66 @@ var Ke = class {
|
|
|
1197
1197
|
}
|
|
1198
1198
|
return e;
|
|
1199
1199
|
});
|
|
1200
|
-
})))()),
|
|
1200
|
+
})))()), $e = /^\s*(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)/i, et = /\s*(?:href|src)\s*=\s*(?:"\s*(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)[^"]*"|'\s*(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)[^']*|(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)[^ \t\r\n>]*)/gi, tt = (e, t, r = {}) => e.map((e) => {
|
|
1201
1201
|
let i = h(t) ? t(e.tool) : t, a = i == null ? {} : i;
|
|
1202
|
-
return g(a) && b(a) && b(r) ? e : n(n({}, e), {}, { data:
|
|
1203
|
-
}),
|
|
1202
|
+
return g(a) && b(a) && b(r) ? e : n(n({}, e), {}, { data: rt(e.data, a, r) });
|
|
1203
|
+
}), nt = (e, t = {}) => new Qe.default({ tags: t }).clean(e), rt = (e, t, n) => Array.isArray(e) ? it(e, t, n) : g(e) ? at(e, t, n) : _(e) ? ot(e, t, n) : e, it = (e, t, n) => e.map((e) => rt(e, t, n)), at = (e, t, n) => {
|
|
1204
1204
|
let r = {}, i = e;
|
|
1205
1205
|
for (let a in e) {
|
|
1206
1206
|
if (!Object.prototype.hasOwnProperty.call(e, a)) continue;
|
|
1207
1207
|
let o = i[a], s = g(t) ? t : void 0, c = s == null ? void 0 : s[a];
|
|
1208
|
-
r[a] =
|
|
1208
|
+
r[a] = rt(o, c !== void 0 && st(c) ? c : t, n);
|
|
1209
1209
|
}
|
|
1210
1210
|
return r;
|
|
1211
|
-
},
|
|
1212
|
-
let r =
|
|
1213
|
-
return r ?
|
|
1214
|
-
},
|
|
1211
|
+
}, ot = (e, t, n) => {
|
|
1212
|
+
let r = gt(t, n);
|
|
1213
|
+
return r ? lt(vt(nt(e, r), r)) : b(n) ? lt(e) : lt(vt(nt(e, n), n));
|
|
1214
|
+
}, st = (e) => g(e) || v(e) || h(e), ct = (e) => e ? $e.test(e) : !1, lt = (e) => {
|
|
1215
1215
|
if (!e || e.indexOf("<") === -1) return e;
|
|
1216
1216
|
if (typeof document < "u") {
|
|
1217
1217
|
let t = document.createElement("template");
|
|
1218
1218
|
return t.innerHTML = e, t.content.querySelectorAll("[href],[src]").forEach((e) => {
|
|
1219
1219
|
["href", "src"].forEach((t) => {
|
|
1220
|
-
|
|
1220
|
+
ct(e.getAttribute(t)) && e.removeAttribute(t);
|
|
1221
1221
|
});
|
|
1222
1222
|
}), t.innerHTML;
|
|
1223
1223
|
}
|
|
1224
|
-
return e.replace(
|
|
1225
|
-
},
|
|
1224
|
+
return e.replace(et, "");
|
|
1225
|
+
}, ut = (e) => {
|
|
1226
1226
|
if (b(e)) return {};
|
|
1227
1227
|
let t = {};
|
|
1228
|
-
for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] =
|
|
1228
|
+
for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = M(e[n]));
|
|
1229
1229
|
return t;
|
|
1230
|
-
},
|
|
1230
|
+
}, dt = (e) => function(t) {
|
|
1231
1231
|
let n = e.call(this, t);
|
|
1232
1232
|
return n == null ? {} : n;
|
|
1233
|
-
},
|
|
1233
|
+
}, ft = new Set([
|
|
1234
1234
|
"class",
|
|
1235
1235
|
"id",
|
|
1236
1236
|
"title",
|
|
1237
1237
|
"role",
|
|
1238
1238
|
"dir",
|
|
1239
1239
|
"lang"
|
|
1240
|
-
]),
|
|
1240
|
+
]), pt = (e) => {
|
|
1241
1241
|
let t = e.toLowerCase();
|
|
1242
|
-
return t.startsWith("data-") || t.startsWith("aria-") ||
|
|
1243
|
-
},
|
|
1242
|
+
return t.startsWith("data-") || t.startsWith("aria-") || ft.has(t);
|
|
1243
|
+
}, mt = (e) => {
|
|
1244
1244
|
let t = {};
|
|
1245
1245
|
return Array.from(e.attributes).forEach((e) => {
|
|
1246
|
-
|
|
1246
|
+
pt(e.name) && (t[e.name] = !0);
|
|
1247
1247
|
}), t;
|
|
1248
|
-
},
|
|
1249
|
-
if (b(e)) return
|
|
1248
|
+
}, M = (e) => e === !0 ? dt(mt) : e === !1 ? !1 : h(e) ? dt(e) : _(e) ? e : g(e) ? C({}, e) : e, ht = (e, t) => {
|
|
1249
|
+
if (b(e)) return ut(t);
|
|
1250
1250
|
let n = {};
|
|
1251
1251
|
for (let r in e) {
|
|
1252
1252
|
if (!Object.prototype.hasOwnProperty.call(e, r)) continue;
|
|
1253
1253
|
let i = e[r], a = t ? t[r] : void 0;
|
|
1254
1254
|
if (h(a)) {
|
|
1255
|
-
n[r] =
|
|
1255
|
+
n[r] = M(a);
|
|
1256
1256
|
continue;
|
|
1257
1257
|
}
|
|
1258
1258
|
if (h(i)) {
|
|
1259
|
-
n[r] =
|
|
1259
|
+
n[r] = M(i);
|
|
1260
1260
|
continue;
|
|
1261
1261
|
}
|
|
1262
1262
|
if (g(i) && g(a)) {
|
|
@@ -1264,17 +1264,17 @@ var Ke = class {
|
|
|
1264
1264
|
continue;
|
|
1265
1265
|
}
|
|
1266
1266
|
if (a !== void 0) {
|
|
1267
|
-
n[r] =
|
|
1267
|
+
n[r] = M(a);
|
|
1268
1268
|
continue;
|
|
1269
1269
|
}
|
|
1270
|
-
n[r] =
|
|
1270
|
+
n[r] = M(i);
|
|
1271
1271
|
}
|
|
1272
1272
|
if (!t) return n;
|
|
1273
|
-
for (let e in t) Object.prototype.hasOwnProperty.call(t, e) && (Object.prototype.hasOwnProperty.call(n, e) || (n[e] =
|
|
1273
|
+
for (let e in t) Object.prototype.hasOwnProperty.call(t, e) && (Object.prototype.hasOwnProperty.call(n, e) || (n[e] = M(t[e])));
|
|
1274
1274
|
return n;
|
|
1275
|
-
},
|
|
1275
|
+
}, gt = (e, t) => g(e) && !h(e) ? ht(t, e) : e === !1 ? {} : b(t) ? null : ut(t), _t = (e, ...t) => {
|
|
1276
1276
|
if (b(e)) return Object.assign({}, ...t);
|
|
1277
|
-
let n =
|
|
1277
|
+
let n = ut(e);
|
|
1278
1278
|
return t.forEach((e) => {
|
|
1279
1279
|
if (e) for (let t in e) {
|
|
1280
1280
|
if (!Object.prototype.hasOwnProperty.call(e, t)) continue;
|
|
@@ -1287,18 +1287,18 @@ var Ke = class {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
if (!(r === !0 && h(i))) {
|
|
1289
1289
|
if (r === !0) {
|
|
1290
|
-
n[t] = g(i) && !h(i) ? C({}, i) :
|
|
1290
|
+
n[t] = g(i) && !h(i) ? C({}, i) : M(r);
|
|
1291
1291
|
continue;
|
|
1292
1292
|
}
|
|
1293
1293
|
if (g(r) && g(i)) {
|
|
1294
1294
|
n[t] = C({}, i, r);
|
|
1295
1295
|
continue;
|
|
1296
1296
|
}
|
|
1297
|
-
n[t] =
|
|
1297
|
+
n[t] = M(r);
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
1300
|
}), n;
|
|
1301
|
-
},
|
|
1301
|
+
}, vt = (e, t) => {
|
|
1302
1302
|
if (typeof document > "u" || !e || e.indexOf("<") === -1) return e;
|
|
1303
1303
|
let n = Object.entries(t).filter(([, e]) => h(e));
|
|
1304
1304
|
if (n.length === 0) return e;
|
|
@@ -1315,24 +1315,24 @@ var Ke = class {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
});
|
|
1317
1317
|
}), r.innerHTML;
|
|
1318
|
-
},
|
|
1319
|
-
if (e.setAttribute(
|
|
1320
|
-
e.hasAttribute(
|
|
1318
|
+
}, N = "popover", yt = "manual", bt = "data-blok-top-layer", P = () => typeof HTMLElement < "u" && "popover" in HTMLElement.prototype, xt = (e) => {
|
|
1319
|
+
if (e.setAttribute(bt, "true"), !P()) return !1;
|
|
1320
|
+
e.hasAttribute(N) || e.setAttribute(N, yt);
|
|
1321
1321
|
try {
|
|
1322
1322
|
return e.showPopover(), !0;
|
|
1323
1323
|
} catch (e) {
|
|
1324
1324
|
return !1;
|
|
1325
1325
|
}
|
|
1326
|
-
},
|
|
1327
|
-
if (e.removeAttribute(
|
|
1326
|
+
}, St = (e) => {
|
|
1327
|
+
if (e.removeAttribute(bt), P() && e.hasAttribute(N)) {
|
|
1328
1328
|
try {
|
|
1329
1329
|
e.hidePopover();
|
|
1330
1330
|
} catch (e) {}
|
|
1331
|
-
e.removeAttribute(
|
|
1331
|
+
e.removeAttribute(N);
|
|
1332
1332
|
}
|
|
1333
|
-
},
|
|
1334
|
-
e.removeAttribute(
|
|
1335
|
-
},
|
|
1333
|
+
}, Ct = (e) => e.hasAttribute(bt), wt = (e) => {
|
|
1334
|
+
e.removeAttribute(N);
|
|
1335
|
+
}, Tt, Et = 10, Dt = "tooltip", Ot = "aria-hidden", kt = "false", At = "true", jt = "visibility", Mt = "visible", Nt = "hidden", Pt = class e {
|
|
1336
1336
|
get CSS() {
|
|
1337
1337
|
return {
|
|
1338
1338
|
tooltip: i("fixed z-overlay top-0 left-0", "bg-tooltip-bg opacity-0", "select-none pointer-events-none", "rounded-lg shadow-tooltip", "mobile:hidden").split(" "),
|
|
@@ -1347,7 +1347,7 @@ var Ke = class {
|
|
|
1347
1347
|
this.nodes = {
|
|
1348
1348
|
wrapper: null,
|
|
1349
1349
|
content: null
|
|
1350
|
-
}, this.showed = !1, this.offsetTop =
|
|
1350
|
+
}, this.showed = !1, this.offsetTop = Et, this.offsetLeft = Et, this.offsetRight = Et, this.showingTimeout = null, this.ariaObserver = null, this.handleWindowScroll = () => {
|
|
1351
1351
|
this.showed && this.hide();
|
|
1352
1352
|
}, this.prepare(), window.addEventListener("scroll", this.handleWindowScroll, { passive: !0 });
|
|
1353
1353
|
}
|
|
@@ -1394,7 +1394,7 @@ var Ke = class {
|
|
|
1394
1394
|
}
|
|
1395
1395
|
}
|
|
1396
1396
|
promoteToTopLayer() {
|
|
1397
|
-
this.nodes.wrapper !== null &&
|
|
1397
|
+
this.nodes.wrapper !== null && xt(this.nodes.wrapper);
|
|
1398
1398
|
}
|
|
1399
1399
|
createContentNode(e) {
|
|
1400
1400
|
if (typeof e == "string") return document.createTextNode(e);
|
|
@@ -1409,7 +1409,7 @@ var Ke = class {
|
|
|
1409
1409
|
this.showed = !1;
|
|
1410
1410
|
}
|
|
1411
1411
|
removeFromTopLayer() {
|
|
1412
|
-
this.nodes.wrapper !== null &&
|
|
1412
|
+
this.nodes.wrapper !== null && St(this.nodes.wrapper);
|
|
1413
1413
|
}
|
|
1414
1414
|
onHover(e, t, n = {}) {
|
|
1415
1415
|
e.addEventListener("mouseenter", () => {
|
|
@@ -1429,7 +1429,7 @@ var Ke = class {
|
|
|
1429
1429
|
updateTooltipVisibility() {
|
|
1430
1430
|
if (!this.nodes.wrapper) return;
|
|
1431
1431
|
let e = Array.isArray(this.CSS.tooltipShown) ? this.CSS.tooltipShown[0] : this.CSS.tooltipShown, t = this.nodes.wrapper.classList.contains(e);
|
|
1432
|
-
this.nodes.wrapper.style.setProperty(
|
|
1432
|
+
this.nodes.wrapper.style.setProperty(jt, t ? Mt : Nt, t ? "" : "important"), this.nodes.wrapper.setAttribute(Ot, t ? kt : At), this.nodes.wrapper.setAttribute("data-blok-shown", t ? "true" : "false");
|
|
1433
1433
|
}
|
|
1434
1434
|
watchTooltipVisibility() {
|
|
1435
1435
|
var e;
|
|
@@ -1441,7 +1441,7 @@ var Ke = class {
|
|
|
1441
1441
|
}));
|
|
1442
1442
|
}
|
|
1443
1443
|
ensureTooltipAttributes() {
|
|
1444
|
-
this.nodes.wrapper && ((!this.nodes.wrapper.hasAttribute(a.interface) || this.nodes.wrapper.getAttribute(a.interface) !== "tooltip") && this.nodes.wrapper.setAttribute(a.interface, Ve), this.nodes.wrapper.setAttribute("role",
|
|
1444
|
+
this.nodes.wrapper && ((!this.nodes.wrapper.hasAttribute(a.interface) || this.nodes.wrapper.getAttribute(a.interface) !== "tooltip") && this.nodes.wrapper.setAttribute(a.interface, Ve), this.nodes.wrapper.setAttribute("role", Dt), this.watchTooltipVisibility());
|
|
1445
1445
|
}
|
|
1446
1446
|
placeBottom(e, t) {
|
|
1447
1447
|
var n;
|
|
@@ -1482,16 +1482,16 @@ var Ke = class {
|
|
|
1482
1482
|
Array.isArray(t) ? t.forEach((t) => e.appendChild(t)) : e.appendChild(t);
|
|
1483
1483
|
}
|
|
1484
1484
|
};
|
|
1485
|
-
|
|
1486
|
-
var
|
|
1487
|
-
|
|
1488
|
-
}, Pt = () => {
|
|
1489
|
-
L().hide();
|
|
1490
|
-
}, Ft = (e, t, n) => {
|
|
1491
|
-
L().onHover(e, t, n == null ? {} : n);
|
|
1485
|
+
Tt = Pt, Tt.instance = null;
|
|
1486
|
+
var F = () => Pt.getInstance(), Ft = (e, t, n) => {
|
|
1487
|
+
F().show(e, t, n == null ? {} : n);
|
|
1492
1488
|
}, It = () => {
|
|
1493
|
-
|
|
1494
|
-
}, Lt = () => {
|
|
1489
|
+
F().hide();
|
|
1490
|
+
}, Lt = (e, t, n) => {
|
|
1491
|
+
F().onHover(e, t, n == null ? {} : n);
|
|
1492
|
+
}, Rt = () => {
|
|
1493
|
+
F().destroy();
|
|
1494
|
+
}, zt = () => {
|
|
1495
1495
|
var e, t;
|
|
1496
1496
|
let n = window.getSelection();
|
|
1497
1497
|
if (n === null) return [null, 0];
|
|
@@ -1502,7 +1502,7 @@ var L = () => Mt.getInstance(), Nt = (e, t, n) => {
|
|
|
1502
1502
|
if (a !== void 0) return [a, 0];
|
|
1503
1503
|
let o = (e = r.childNodes[i - 1]) == null ? null : e, s = (t = o == null ? void 0 : o.textContent) == null ? null : t;
|
|
1504
1504
|
return [o, s === null ? 0 : s.length];
|
|
1505
|
-
},
|
|
1505
|
+
}, Bt = (e) => {
|
|
1506
1506
|
var t;
|
|
1507
1507
|
let n = window.getSelection();
|
|
1508
1508
|
if (n === null || n.rangeCount === 0) return 0;
|
|
@@ -1510,7 +1510,7 @@ var L = () => Mt.getInstance(), Nt = (e, t, n) => {
|
|
|
1510
1510
|
if (i == null) return 0;
|
|
1511
1511
|
let a = document.createRange();
|
|
1512
1512
|
return a.selectNodeContents(i), a.setEnd(r.startContainer, r.startOffset), a.toString().length;
|
|
1513
|
-
},
|
|
1513
|
+
}, Vt = (e, t, n, r) => {
|
|
1514
1514
|
let i = document.createRange();
|
|
1515
1515
|
r === "left" ? (i.selectNodeContents(e), i.setEnd(t, n)) : (i.selectNodeContents(e), i.setStart(t, n));
|
|
1516
1516
|
let a = i.cloneContents(), o = document.createElement("div");
|
|
@@ -1522,23 +1522,23 @@ var L = () => Mt.getInstance(), Nt = (e, t, n) => {
|
|
|
1522
1522
|
o.style.position = "absolute", o.style.visibility = "hidden", o.style.height = "auto", o.style.width = "auto", o.style.whiteSpace = window.getComputedStyle(e).whiteSpace, document.body.appendChild(o);
|
|
1523
1523
|
let u = o.getBoundingClientRect().width;
|
|
1524
1524
|
return document.body.removeChild(o), !(u > 0 || !xe(s) || window.getComputedStyle(e).whiteSpace.startsWith("pre") && s.length > 0);
|
|
1525
|
-
},
|
|
1525
|
+
}, Ht = (e) => {
|
|
1526
1526
|
var t;
|
|
1527
1527
|
let n = T.getDeepestNode(e);
|
|
1528
1528
|
if (n === null || T.isEmpty(e)) return !0;
|
|
1529
1529
|
if (T.isNativeInput(n)) return n.selectionEnd === 0;
|
|
1530
1530
|
if (T.isEmpty(e)) return !0;
|
|
1531
|
-
let [r, i] =
|
|
1531
|
+
let [r, i] = zt();
|
|
1532
1532
|
if (r === null) return !1;
|
|
1533
1533
|
let a = window.getSelection(), o = (t = a == null ? void 0 : a.focusNode) == null ? null : t;
|
|
1534
|
-
return o !== null && o !== e && !(o.nodeType === Node.TEXT_NODE && o.parentNode === e) ? !1 :
|
|
1535
|
-
},
|
|
1534
|
+
return o !== null && o !== e && !(o.nodeType === Node.TEXT_NODE && o.parentNode === e) ? !1 : Vt(e, r, i, "left");
|
|
1535
|
+
}, Ut = (e) => {
|
|
1536
1536
|
let t = T.getDeepestNode(e, !0);
|
|
1537
1537
|
if (t === null) return !0;
|
|
1538
1538
|
if (T.isNativeInput(t)) return t.selectionEnd === t.value.length;
|
|
1539
|
-
let [n, r] =
|
|
1540
|
-
return n === null ? !1 :
|
|
1541
|
-
},
|
|
1539
|
+
let [n, r] = zt();
|
|
1540
|
+
return n === null ? !1 : Vt(e, n, r, "right");
|
|
1541
|
+
}, Wt, I = class e {
|
|
1542
1542
|
constructor(e, t) {
|
|
1543
1543
|
this.cursor = -1, this.items = [], this.items = e == null ? [] : e, this.focusedCssClass = t;
|
|
1544
1544
|
}
|
|
@@ -1568,16 +1568,16 @@ var L = () => Mt.getInstance(), Nt = (e, t, n) => {
|
|
|
1568
1568
|
let n = t === e.directions.RIGHT ? -1 : 0, r = this.cursor === -1 ? n : this.cursor;
|
|
1569
1569
|
r !== -1 && (this.items[r].classList.remove(this.focusedCssClass), this.items[r].removeAttribute("data-blok-focused"));
|
|
1570
1570
|
let i = t === e.directions.RIGHT ? (r + 1) % this.items.length : (this.items.length + r - 1) % this.items.length;
|
|
1571
|
-
return T.canSetCaret(this.items[i]) && te(() =>
|
|
1571
|
+
return T.canSetCaret(this.items[i]) && te(() => Ze.setCursor(this.items[i]), 50)(), this.items[i].classList.add(this.focusedCssClass), this.items[i].setAttribute("data-blok-focused", "true"), i;
|
|
1572
1572
|
}
|
|
1573
1573
|
};
|
|
1574
|
-
|
|
1574
|
+
Wt = I, Wt.directions = {
|
|
1575
1575
|
RIGHT: "right",
|
|
1576
1576
|
LEFT: "left"
|
|
1577
1577
|
};
|
|
1578
1578
|
//#endregion
|
|
1579
1579
|
//#region src/components/flipper.ts
|
|
1580
|
-
var
|
|
1580
|
+
var Gt = class e {
|
|
1581
1581
|
get isActivated() {
|
|
1582
1582
|
return this.activated;
|
|
1583
1583
|
}
|
|
@@ -1610,7 +1610,7 @@ var Ut = class e {
|
|
|
1610
1610
|
break;
|
|
1611
1611
|
case null: break;
|
|
1612
1612
|
}
|
|
1613
|
-
}, this.iterator = new
|
|
1613
|
+
}, this.iterator = new I(t.items || [], (n = t.focusedItemClass) == null ? "" : n), this.activateCallback = t.activateCallback, this.allowedKeys = t.allowedKeys || e.usedKeys, this.handleContentEditableTargets = (r = t.handleContentEditableTargets) == null ? !1 : r, this.onArrowLeftCallback = t.onArrowLeft;
|
|
1614
1614
|
}
|
|
1615
1615
|
static get usedKeys() {
|
|
1616
1616
|
return [
|
|
@@ -1699,16 +1699,16 @@ var Ut = class e {
|
|
|
1699
1699
|
return this.handleContentEditableTargets;
|
|
1700
1700
|
}
|
|
1701
1701
|
handleTabPress(e) {
|
|
1702
|
-
let t = e.shiftKey ?
|
|
1702
|
+
let t = e.shiftKey ? I.directions.LEFT : I.directions.RIGHT;
|
|
1703
1703
|
if (this.skipNextTabFocus) {
|
|
1704
1704
|
this.skipNextTabFocus = !1;
|
|
1705
1705
|
return;
|
|
1706
1706
|
}
|
|
1707
1707
|
switch (t) {
|
|
1708
|
-
case
|
|
1708
|
+
case I.directions.RIGHT:
|
|
1709
1709
|
this.flipRight();
|
|
1710
1710
|
break;
|
|
1711
|
-
case
|
|
1711
|
+
case I.directions.LEFT:
|
|
1712
1712
|
this.flipLeft();
|
|
1713
1713
|
break;
|
|
1714
1714
|
}
|
|
@@ -1737,7 +1737,7 @@ var Ut = class e {
|
|
|
1737
1737
|
let n = e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement, r = t.key === "Tab" || t.key === "ArrowUp" || t.key === "ArrowDown" || t.key === "Enter" || t.key === "ArrowRight" || t.key === "ArrowLeft", i = e.getAttribute("data-blok-flipper-navigation-target") === "true" && r, a = e.isContentEditable, o = e.closest("[data-blok-link-tool-input-opened=\"true\"]") !== null, s = a && !this.handleContentEditableTargets;
|
|
1738
1738
|
return n && !i || s || o;
|
|
1739
1739
|
}
|
|
1740
|
-
},
|
|
1740
|
+
}, Kt = [
|
|
1741
1741
|
{
|
|
1742
1742
|
name: "gray",
|
|
1743
1743
|
text: "#787774",
|
|
@@ -1783,7 +1783,7 @@ var Ut = class e {
|
|
|
1783
1783
|
text: "#d44c47",
|
|
1784
1784
|
bg: "#fdebec"
|
|
1785
1785
|
}
|
|
1786
|
-
],
|
|
1786
|
+
], qt = [
|
|
1787
1787
|
{
|
|
1788
1788
|
name: "gray",
|
|
1789
1789
|
text: "#9b9b9b",
|
|
@@ -1830,12 +1830,53 @@ var Ut = class e {
|
|
|
1830
1830
|
bg: "#4e1a18"
|
|
1831
1831
|
}
|
|
1832
1832
|
];
|
|
1833
|
-
function
|
|
1833
|
+
function Jt(e, t) {
|
|
1834
1834
|
return `var(--blok-color-${e}-${t})`;
|
|
1835
1835
|
}
|
|
1836
1836
|
//#endregion
|
|
1837
|
+
//#region src/components/utils/default-page-colors.ts
|
|
1838
|
+
function L(e) {
|
|
1839
|
+
let t = e.replace(/\s/g, "").toLowerCase();
|
|
1840
|
+
return t === "rgb(255,255,255)" || t === "#ffffff" || t === "#fff" || t === "white";
|
|
1841
|
+
}
|
|
1842
|
+
function Yt(e) {
|
|
1843
|
+
let t = e.replace(/\s/g, "").toLowerCase(), n = /^rgba?\((\d+),(\d+),(\d+)(?:,[\d.]+)?\)$/.exec(t);
|
|
1844
|
+
if (n) {
|
|
1845
|
+
let e = parseInt(n[1], 10) / 255, t = parseInt(n[2], 10) / 255, r = parseInt(n[3], 10) / 255;
|
|
1846
|
+
return .2126 * e + .7152 * t + .0722 * r;
|
|
1847
|
+
}
|
|
1848
|
+
let r = /^hsla?\(([\d.]+),([\d.]+)%,([\d.]+)%(?:,[\d.]+)?\)$/.exec(t);
|
|
1849
|
+
if (r) {
|
|
1850
|
+
let e = parseFloat(r[1]) / 360, t = parseFloat(r[2]) / 100, n = parseFloat(r[3]) / 100;
|
|
1851
|
+
if (t === 0) return .2126 * n + .7152 * n + .0722 * n;
|
|
1852
|
+
let i = n < .5 ? n * (1 + t) : n + t - n * t, a = 2 * n - i, o = (e) => e < 0 ? e + 1 : e > 1 ? e - 1 : e, s = (e) => {
|
|
1853
|
+
let t = o(e);
|
|
1854
|
+
return t < 1 / 6 ? a + (i - a) * 6 * t : t < 1 / 2 ? i : t < 2 / 3 ? a + (i - a) * (2 / 3 - t) * 6 : a;
|
|
1855
|
+
}, c = s(e + 1 / 3), l = s(e), u = s(e - 1 / 3);
|
|
1856
|
+
return .2126 * c + .7152 * l + .0722 * u;
|
|
1857
|
+
}
|
|
1858
|
+
let i = /^#([0-9a-f]{6}|[0-9a-f]{3})$/.exec(t);
|
|
1859
|
+
if (i) {
|
|
1860
|
+
let e = i[1], t = e.length === 3 ? [
|
|
1861
|
+
e[0] + e[0],
|
|
1862
|
+
e[1] + e[1],
|
|
1863
|
+
e[2] + e[2]
|
|
1864
|
+
] : [
|
|
1865
|
+
e.substring(0, 2),
|
|
1866
|
+
e.substring(2, 4),
|
|
1867
|
+
e.substring(4, 6)
|
|
1868
|
+
], n = parseInt(t[0], 16) / 255, r = parseInt(t[1], 16) / 255, a = parseInt(t[2], 16) / 255;
|
|
1869
|
+
return .2126 * n + .7152 * r + .0722 * a;
|
|
1870
|
+
}
|
|
1871
|
+
return -1;
|
|
1872
|
+
}
|
|
1873
|
+
function R(e) {
|
|
1874
|
+
let t = Yt(e);
|
|
1875
|
+
return t >= 0 && t < .12;
|
|
1876
|
+
}
|
|
1877
|
+
//#endregion
|
|
1837
1878
|
//#region src/components/utils/color-mapping.ts
|
|
1838
|
-
function
|
|
1879
|
+
function Xt(e, t, n) {
|
|
1839
1880
|
let r = t / 100, i = n / 100;
|
|
1840
1881
|
if (r === 0) {
|
|
1841
1882
|
let e = Math.round(i * 255);
|
|
@@ -1887,9 +1928,9 @@ function z(e) {
|
|
|
1887
1928
|
Number(a[3])
|
|
1888
1929
|
];
|
|
1889
1930
|
let o = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%\s*(?:,\s*[\d.]+\s*)?\)$/i.exec(e);
|
|
1890
|
-
return o ?
|
|
1931
|
+
return o ? Xt(Number(o[1]), Number(o[2]), Number(o[3])) : null;
|
|
1891
1932
|
}
|
|
1892
|
-
var
|
|
1933
|
+
var Zt = .1;
|
|
1893
1934
|
function B(e) {
|
|
1894
1935
|
let t = e[0] / 255, n = e[1] / 255, r = e[2] / 255, i = Math.max(t, n, r), a = Math.min(t, n, r), o = (i + a) / 2;
|
|
1895
1936
|
if (i === a) return [
|
|
@@ -1904,8 +1945,8 @@ function B(e) {
|
|
|
1904
1945
|
o
|
|
1905
1946
|
];
|
|
1906
1947
|
}
|
|
1907
|
-
function
|
|
1908
|
-
let n = e[1] <
|
|
1948
|
+
function Qt(e, t) {
|
|
1949
|
+
let n = e[1] < Zt, r = t[1] < Zt;
|
|
1909
1950
|
if (n && r) {
|
|
1910
1951
|
let n = Math.abs(e[2] - t[2]);
|
|
1911
1952
|
return n * n;
|
|
@@ -1915,13 +1956,14 @@ function Yt(e, t) {
|
|
|
1915
1956
|
return 8 * a * a + 1 * o * o + 1 * s * s;
|
|
1916
1957
|
}
|
|
1917
1958
|
function V(e, t) {
|
|
1959
|
+
if (t === "bg" && (L(e) || R(e))) return e;
|
|
1918
1960
|
let n = z(e);
|
|
1919
1961
|
if (n === null) return e;
|
|
1920
1962
|
let r = B(n);
|
|
1921
|
-
return
|
|
1963
|
+
return Kt.reduce((e, n) => {
|
|
1922
1964
|
let i = z(n[t]);
|
|
1923
1965
|
if (i === null) return e;
|
|
1924
|
-
let a =
|
|
1966
|
+
let a = Qt(r, B(i));
|
|
1925
1967
|
return a < e.distance ? {
|
|
1926
1968
|
color: n[t],
|
|
1927
1969
|
distance: a
|
|
@@ -1931,14 +1973,15 @@ function V(e, t) {
|
|
|
1931
1973
|
distance: Infinity
|
|
1932
1974
|
}).color;
|
|
1933
1975
|
}
|
|
1934
|
-
function
|
|
1976
|
+
function $t(e, t) {
|
|
1935
1977
|
var n;
|
|
1978
|
+
if (t === "bg" && (L(e) || R(e))) return null;
|
|
1936
1979
|
let r = z(e);
|
|
1937
1980
|
if (r === null) return null;
|
|
1938
|
-
let i = B(r), a = [...
|
|
1981
|
+
let i = B(r), a = [...Kt, ...qt].reduce((e, n) => {
|
|
1939
1982
|
let r = z(n[t]);
|
|
1940
1983
|
if (r === null) return e;
|
|
1941
|
-
let a =
|
|
1984
|
+
let a = Qt(i, B(r));
|
|
1942
1985
|
return e === null || a < e.distance ? {
|
|
1943
1986
|
name: n.name,
|
|
1944
1987
|
distance: a
|
|
@@ -1947,12 +1990,166 @@ function Xt(e, t) {
|
|
|
1947
1990
|
return (n = a == null ? void 0 : a.name) == null ? null : n;
|
|
1948
1991
|
}
|
|
1949
1992
|
//#endregion
|
|
1993
|
+
//#region src/components/modules/paste/google-docs-preprocessor.ts
|
|
1994
|
+
function en(e) {
|
|
1995
|
+
let t = document.createElement("div");
|
|
1996
|
+
t.innerHTML = e;
|
|
1997
|
+
let n = cn(t);
|
|
1998
|
+
return yn(t, n), n && (xn(t), sn(t)), t.innerHTML;
|
|
1999
|
+
}
|
|
2000
|
+
function tn(e, t) {
|
|
2001
|
+
let n = e.parentElement;
|
|
2002
|
+
return n === null ? null : n === t ? e : tn(n, t);
|
|
2003
|
+
}
|
|
2004
|
+
function nn(e, t, n) {
|
|
2005
|
+
let r = e.cloneNode(!1), i = [];
|
|
2006
|
+
for (let n of Array.from(e.childNodes)) {
|
|
2007
|
+
if (n === t) break;
|
|
2008
|
+
i.push(n);
|
|
2009
|
+
}
|
|
2010
|
+
return i.forEach((e) => r.appendChild(e)), n !== null && r.appendChild(n), r.childNodes.length > 0 ? r : null;
|
|
2011
|
+
}
|
|
2012
|
+
function rn(e, t, n) {
|
|
2013
|
+
let r = e.cloneNode(!1), i = Array.from(e.childNodes), a = i.findIndex((e) => e === t), o = i.slice(a + 1);
|
|
2014
|
+
return n !== null && r.appendChild(n), o.forEach((e) => r.appendChild(e)), r.childNodes.length > 0 ? r : null;
|
|
2015
|
+
}
|
|
2016
|
+
function an(e, t) {
|
|
2017
|
+
let n = (e, r, i) => {
|
|
2018
|
+
if (e === t) return {
|
|
2019
|
+
before: r,
|
|
2020
|
+
after: i
|
|
2021
|
+
};
|
|
2022
|
+
let a = e.parentElement;
|
|
2023
|
+
return a === null ? {
|
|
2024
|
+
before: r,
|
|
2025
|
+
after: i
|
|
2026
|
+
} : n(a, nn(a, e, r), rn(a, e, i));
|
|
2027
|
+
};
|
|
2028
|
+
return n(e, null, null);
|
|
2029
|
+
}
|
|
2030
|
+
function on(e, t) {
|
|
2031
|
+
let n = e.parentElement;
|
|
2032
|
+
return n === null || n === t ? !1 : n.tagName === "TABLE" ? !0 : on(n, t);
|
|
2033
|
+
}
|
|
2034
|
+
function sn(e) {
|
|
2035
|
+
let t = Array.from(e.querySelectorAll("img"));
|
|
2036
|
+
for (let n of t) {
|
|
2037
|
+
if (on(n, e)) continue;
|
|
2038
|
+
let t = tn(n, e);
|
|
2039
|
+
if (!t) continue;
|
|
2040
|
+
let { before: r, after: i } = an(n, t), a = document.createDocumentFragment();
|
|
2041
|
+
r && a.appendChild(r), a.appendChild(n), i && a.appendChild(i), t.replaceWith(a);
|
|
2042
|
+
}
|
|
2043
|
+
}
|
|
2044
|
+
function cn(e) {
|
|
2045
|
+
let t = e.querySelector("b[id^=\"docs-internal-guid-\"]");
|
|
2046
|
+
if (!t) return !1;
|
|
2047
|
+
let n = document.createDocumentFragment();
|
|
2048
|
+
for (; t.firstChild;) n.appendChild(t.firstChild);
|
|
2049
|
+
return t.replaceWith(n), !0;
|
|
2050
|
+
}
|
|
2051
|
+
function ln(e, t, n) {
|
|
2052
|
+
return e ? `background-color: ${n}` : t ? "background-color: transparent" : "";
|
|
2053
|
+
}
|
|
2054
|
+
function un(e) {
|
|
2055
|
+
let t = e.replace(/\s/g, "");
|
|
2056
|
+
return t === "rgb(0,0,0)" || t === "#000000";
|
|
2057
|
+
}
|
|
2058
|
+
function dn(e) {
|
|
2059
|
+
let t = e.replace(/\s/g, "").toLowerCase(), n = /^rgba?\((\d+),(\d+),(\d+)(?:,[\d.]+)?\)$/.exec(t);
|
|
2060
|
+
if (n) {
|
|
2061
|
+
let e = parseInt(n[1], 10) / 255, t = parseInt(n[2], 10) / 255, r = parseInt(n[3], 10) / 255;
|
|
2062
|
+
return .2126 * e + .7152 * t + .0722 * r;
|
|
2063
|
+
}
|
|
2064
|
+
let r = /^hsla?\(([\d.]+),([\d.]+)%,([\d.]+)%(?:,[\d.]+)?\)$/.exec(t);
|
|
2065
|
+
if (r) {
|
|
2066
|
+
let e = parseFloat(r[1]) / 360, t = parseFloat(r[2]) / 100, n = parseFloat(r[3]) / 100;
|
|
2067
|
+
if (t === 0) return .2126 * n + .7152 * n + .0722 * n;
|
|
2068
|
+
let i = n < .5 ? n * (1 + t) : n + t - n * t, a = 2 * n - i, o = (e) => {
|
|
2069
|
+
let t = e < 0 ? e + 1 : e > 1 ? e - 1 : e;
|
|
2070
|
+
return t < 1 / 6 ? a + (i - a) * 6 * t : t < 1 / 2 ? i : t < 2 / 3 ? a + (i - a) * (2 / 3 - t) * 6 : a;
|
|
2071
|
+
}, s = o(e + 1 / 3), c = o(e), l = o(e - 1 / 3);
|
|
2072
|
+
return .2126 * s + .7152 * c + .0722 * l;
|
|
2073
|
+
}
|
|
2074
|
+
let i = /^#([0-9a-f]{6}|[0-9a-f]{3})$/.exec(t);
|
|
2075
|
+
if (i) {
|
|
2076
|
+
let e = i[1], t = e.length === 3 ? [
|
|
2077
|
+
e[0] + e[0],
|
|
2078
|
+
e[1] + e[1],
|
|
2079
|
+
e[2] + e[2]
|
|
2080
|
+
] : [
|
|
2081
|
+
e.substring(0, 2),
|
|
2082
|
+
e.substring(2, 4),
|
|
2083
|
+
e.substring(4, 6)
|
|
2084
|
+
], n = parseInt(t[0], 16) / 255, r = parseInt(t[1], 16) / 255, a = parseInt(t[2], 16) / 255;
|
|
2085
|
+
return .2126 * n + .7152 * r + .0722 * a;
|
|
2086
|
+
}
|
|
2087
|
+
return -1;
|
|
2088
|
+
}
|
|
2089
|
+
var fn = L, pn = R;
|
|
2090
|
+
function mn(e) {
|
|
2091
|
+
let t = dn(e);
|
|
2092
|
+
return t >= 0 && t > .75;
|
|
2093
|
+
}
|
|
2094
|
+
function hn(e, t, n, r, i) {
|
|
2095
|
+
if (!t && !n) return e;
|
|
2096
|
+
let a = t && r !== void 0 ? V(r, "text") : "", o = n && i !== void 0 ? V(i, "bg") : "", s = [t ? `color: ${a}` : "", ln(n, t, o)].filter(Boolean).join("; ");
|
|
2097
|
+
return s ? `<mark style="${s};">${e}</mark>` : e;
|
|
2098
|
+
}
|
|
2099
|
+
var gn = new Set([
|
|
2100
|
+
"H1",
|
|
2101
|
+
"H2",
|
|
2102
|
+
"H3",
|
|
2103
|
+
"H4",
|
|
2104
|
+
"H5",
|
|
2105
|
+
"H6"
|
|
2106
|
+
]);
|
|
2107
|
+
function _n(e) {
|
|
2108
|
+
let t = e.parentElement;
|
|
2109
|
+
return t === null ? !1 : gn.has(t.tagName) ? !0 : _n(t);
|
|
2110
|
+
}
|
|
2111
|
+
function vn(e, t) {
|
|
2112
|
+
var n, r, i;
|
|
2113
|
+
let a = (n = e.getAttribute("style")) == null ? "" : n, o = /font-weight\s*:\s*(700|bold)/i.test(a) && !_n(e), s = /font-style\s*:\s*italic/i.test(a), c = (/* @__PURE__ */ RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i")).exec(a), l = /background-color\s*:\s*([^;]+)/i.exec(a), u = c == null || (r = c[1]) == null ? void 0 : r.trim(), d = l == null || (i = l[1]) == null ? void 0 : i.trim(), f = t ? u !== void 0 && !un(u) : u !== void 0 && !un(u) && !mn(u), p = d !== void 0 && d !== "transparent" && !fn(d) && !pn(d);
|
|
2114
|
+
if (!o && !s && !f && !p) return null;
|
|
2115
|
+
let m = hn(e.innerHTML, f, p, u, d), h = s ? `<i>${m}</i>` : m;
|
|
2116
|
+
return o ? `<b>${h}</b>` : h;
|
|
2117
|
+
}
|
|
2118
|
+
function yn(e, t) {
|
|
2119
|
+
for (let n of Array.from(e.querySelectorAll("span[style]"))) {
|
|
2120
|
+
let e = vn(n, t);
|
|
2121
|
+
e !== null && n.replaceWith(document.createRange().createContextualFragment(e));
|
|
2122
|
+
}
|
|
2123
|
+
t && bn(e);
|
|
2124
|
+
}
|
|
2125
|
+
function bn(e) {
|
|
2126
|
+
for (let i of Array.from(e.querySelectorAll("a[style]"))) {
|
|
2127
|
+
var t, n, r;
|
|
2128
|
+
let e = (t = i.getAttribute("style")) == null ? "" : t, a = (/* @__PURE__ */ RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i")).exec(e), o = /background-color\s*:\s*([^;]+)/i.exec(e), s = a == null || (n = a[1]) == null ? void 0 : n.trim(), c = o == null || (r = o[1]) == null ? void 0 : r.trim(), l = s !== void 0 && !un(s) && s !== "inherit", u = c !== void 0 && c !== "transparent" && c !== "inherit";
|
|
2129
|
+
if (!l && !u) continue;
|
|
2130
|
+
let d = l ? V(s, "text") : "", f = u ? V(c, "bg") : "", p = [l ? `color: ${d}` : "", ln(u, l, f)].filter(Boolean).join("; "), m = i;
|
|
2131
|
+
m.innerHTML = `<mark style="${p};">${m.innerHTML}</mark>`, m.style.removeProperty("color"), m.style.removeProperty("background-color");
|
|
2132
|
+
}
|
|
2133
|
+
}
|
|
2134
|
+
function xn(e) {
|
|
2135
|
+
for (let t of Array.from(e.querySelectorAll("td, th"))) {
|
|
2136
|
+
let e = t.querySelectorAll("p");
|
|
2137
|
+
if (e.length !== 0) {
|
|
2138
|
+
for (let t of Array.from(e)) {
|
|
2139
|
+
let e = document.createRange().createContextualFragment(t.innerHTML + "<br>");
|
|
2140
|
+
t.replaceWith(e);
|
|
2141
|
+
}
|
|
2142
|
+
t.innerHTML = t.innerHTML.replace(/(<br\s*\/?>|\s)+$/i, "");
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
//#endregion
|
|
1950
2147
|
//#region src/tools/table/table-cell-clipboard.ts
|
|
1951
|
-
var
|
|
1952
|
-
function
|
|
2148
|
+
var Sn = "data-blok-table-cells";
|
|
2149
|
+
function Cn(e, t, n) {
|
|
1953
2150
|
return e ? `background-color: ${n}` : t ? "background-color: transparent" : "";
|
|
1954
2151
|
}
|
|
1955
|
-
function
|
|
2152
|
+
function wn(e) {
|
|
1956
2153
|
if (e.length === 0) return {
|
|
1957
2154
|
rows: 0,
|
|
1958
2155
|
cols: 0,
|
|
@@ -1969,28 +2166,28 @@ function Qt(e) {
|
|
|
1969
2166
|
cells: s
|
|
1970
2167
|
};
|
|
1971
2168
|
}
|
|
1972
|
-
function
|
|
2169
|
+
function Tn(e) {
|
|
1973
2170
|
let { data: t } = e;
|
|
1974
2171
|
return typeof t.text == "string" ? t.text : Array.isArray(t.items) ? t.items.filter((e) => typeof e == "string").join(" ") : "";
|
|
1975
2172
|
}
|
|
1976
|
-
function
|
|
2173
|
+
function En(e) {
|
|
1977
2174
|
var t;
|
|
1978
2175
|
let n = document.createElement("div");
|
|
1979
2176
|
return n.innerHTML = e, (t = n.textContent) == null ? "" : t;
|
|
1980
2177
|
}
|
|
1981
|
-
function
|
|
1982
|
-
return
|
|
2178
|
+
function Dn(e) {
|
|
2179
|
+
return En(Tn(e));
|
|
1983
2180
|
}
|
|
1984
|
-
function
|
|
1985
|
-
return `<table ${
|
|
1986
|
-
let t = e.blocks.map(
|
|
2181
|
+
function On(e) {
|
|
2182
|
+
return `<table ${Sn}='${JSON.stringify(e).replace(/'/g, "'")}'>${e.cells.map((e) => `<tr>${e.map((e) => {
|
|
2183
|
+
let t = e.blocks.map(Tn).join(" "), n = [e.color ? `background-color: ${e.color}` : "", e.textColor ? `color: ${e.textColor}` : ""].filter(Boolean).join("; ");
|
|
1987
2184
|
return `<td${n ? ` style="${n}"` : ""}>${t}</td>`;
|
|
1988
2185
|
}).join("")}</tr>`).join("")}</table>`;
|
|
1989
2186
|
}
|
|
1990
|
-
function
|
|
1991
|
-
return e.cells.map((e) => e.map((e) => e.blocks.map(
|
|
2187
|
+
function kn(e) {
|
|
2188
|
+
return e.cells.map((e) => e.map((e) => e.blocks.map(Dn).join(" ")).join(" ")).join("\n");
|
|
1992
2189
|
}
|
|
1993
|
-
var
|
|
2190
|
+
var An = new Set(["color", "background-color"]), jn = {
|
|
1994
2191
|
b: !0,
|
|
1995
2192
|
strong: !0,
|
|
1996
2193
|
i: !0,
|
|
@@ -2003,40 +2200,40 @@ var an = new Set(["color", "background-color"]), on = {
|
|
|
2003
2200
|
},
|
|
2004
2201
|
mark: (e) => {
|
|
2005
2202
|
let t = e.style, n = Array.from({ length: t.length }, (e, n) => t.item(n));
|
|
2006
|
-
for (let e of n)
|
|
2203
|
+
for (let e of n) An.has(e) || t.removeProperty(e);
|
|
2007
2204
|
return t.length > 0 ? { style: !0 } : {};
|
|
2008
2205
|
}
|
|
2009
2206
|
};
|
|
2010
|
-
function
|
|
2207
|
+
function Mn(e) {
|
|
2011
2208
|
let t = e.replace(/\s/g, "");
|
|
2012
2209
|
return t === "rgb(0,0,0)" || t === "#000000";
|
|
2013
2210
|
}
|
|
2014
|
-
function
|
|
2211
|
+
function Nn(e) {
|
|
2015
2212
|
let t = e.cloneNode(!0);
|
|
2016
2213
|
for (let e of Array.from(t.querySelectorAll("span"))) {
|
|
2017
2214
|
var n, r, i;
|
|
2018
|
-
let t = (n = e.getAttribute("style")) == null ? "" : n, a = /font-weight\s*:\s*(700|bold)/i.test(t), o = /font-style\s*:\s*italic/i.test(t), s = (/* @__PURE__ */ RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i")).exec(t), c = /background-color\s*:\s*([^;]+)/i.exec(t), l = s == null || (r = s[1]) == null ? void 0 : r.trim(), u = c == null || (i = c[1]) == null ? void 0 : i.trim(), d = l !== void 0 && !
|
|
2215
|
+
let t = (n = e.getAttribute("style")) == null ? "" : n, a = /font-weight\s*:\s*(700|bold)/i.test(t), o = /font-style\s*:\s*italic/i.test(t), s = (/* @__PURE__ */ RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i")).exec(t), c = /background-color\s*:\s*([^;]+)/i.exec(t), l = s == null || (r = s[1]) == null ? void 0 : r.trim(), u = c == null || (i = c[1]) == null ? void 0 : i.trim(), d = l !== void 0 && !Mn(l), f = u !== void 0 && u !== "transparent" && !fn(u) && !pn(u);
|
|
2019
2216
|
if (!a && !o && !d && !f) continue;
|
|
2020
|
-
let p = d ? V(l, "text") : "", m = f ? V(u, "bg") : "", h = [d ? `color: ${p}` : "",
|
|
2217
|
+
let p = d ? V(l, "text") : "", m = f ? V(u, "bg") : "", h = [d ? `color: ${p}` : "", Cn(f, d, m)].filter(Boolean).join("; "), g = e.innerHTML, _ = h ? `<mark style="${h};">${g}</mark>` : g, v = o ? `<i>${_}</i>` : _, y = a ? `<b>${v}</b>` : v;
|
|
2021
2218
|
e.replaceWith(document.createRange().createContextualFragment(y));
|
|
2022
2219
|
}
|
|
2023
2220
|
for (let e of Array.from(t.querySelectorAll("a[style]"))) {
|
|
2024
2221
|
var a, o, s;
|
|
2025
|
-
let t = (a = e.getAttribute("style")) == null ? "" : a, n = (/* @__PURE__ */ RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i")).exec(t), r = /background-color\s*:\s*([^;]+)/i.exec(t), i = n == null || (o = n[1]) == null ? void 0 : o.trim(), c = r == null || (s = r[1]) == null ? void 0 : s.trim(), l = i !== void 0 && !
|
|
2222
|
+
let t = (a = e.getAttribute("style")) == null ? "" : a, n = (/* @__PURE__ */ RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i")).exec(t), r = /background-color\s*:\s*([^;]+)/i.exec(t), i = n == null || (o = n[1]) == null ? void 0 : o.trim(), c = r == null || (s = r[1]) == null ? void 0 : s.trim(), l = i !== void 0 && !Mn(i) && i !== "inherit", u = c !== void 0 && c !== "transparent" && c !== "inherit" && !fn(c) && !pn(c);
|
|
2026
2223
|
if (!l && !u) continue;
|
|
2027
|
-
let d = l ? V(i, "text") : "", f = u ? V(c, "bg") : "", p = [l ? `color: ${d}` : "",
|
|
2224
|
+
let d = l ? V(i, "text") : "", f = u ? V(c, "bg") : "", p = [l ? `color: ${d}` : "", Cn(u, l, f)].filter(Boolean).join("; "), m = e;
|
|
2028
2225
|
m.innerHTML = `<mark style="${p};">${m.innerHTML}</mark>`, m.style.removeProperty("color"), m.style.removeProperty("background-color");
|
|
2029
2226
|
}
|
|
2030
2227
|
for (let e of Array.from(t.querySelectorAll("p"))) {
|
|
2031
2228
|
let t = document.createRange().createContextualFragment(e.innerHTML + "<br>");
|
|
2032
2229
|
e.replaceWith(t);
|
|
2033
2230
|
}
|
|
2034
|
-
return
|
|
2231
|
+
return nt(t.innerHTML, jn).replace(/(<br\s*\/?>|\s)+$/i, "").trim();
|
|
2035
2232
|
}
|
|
2036
|
-
function
|
|
2233
|
+
function Pn(e) {
|
|
2037
2234
|
if (!e) return null;
|
|
2038
2235
|
let t = new DOMParser().parseFromString(e, "text/html").querySelector("table");
|
|
2039
|
-
if (!t || t.hasAttribute(
|
|
2236
|
+
if (!t || t.hasAttribute(Sn)) return null;
|
|
2040
2237
|
let n = t.querySelectorAll("tr");
|
|
2041
2238
|
if (n.length === 0) return null;
|
|
2042
2239
|
let r = [];
|
|
@@ -2044,16 +2241,19 @@ function cn(e) {
|
|
|
2044
2241
|
let t = e.querySelectorAll("td, th"), n = [];
|
|
2045
2242
|
t.forEach((e) => {
|
|
2046
2243
|
var t;
|
|
2047
|
-
let r =
|
|
2244
|
+
let r = Nn(e).split(/<br\s*\/?>/i).map((e) => e.trim()).filter(Boolean), i = { blocks: r.length > 0 ? r.map((e) => ({
|
|
2048
2245
|
tool: "paragraph",
|
|
2049
2246
|
data: { text: e }
|
|
2050
2247
|
})) : [{
|
|
2051
2248
|
tool: "paragraph",
|
|
2052
2249
|
data: { text: "" }
|
|
2053
2250
|
}] }, a = (t = e.getAttribute("style")) == null ? "" : t, o = /background-color\s*:\s*([^;]+)/i.exec(a);
|
|
2054
|
-
o != null && o[1]
|
|
2251
|
+
if (o != null && o[1]) {
|
|
2252
|
+
let e = o[1].trim();
|
|
2253
|
+
!fn(e) && !pn(e) && (i.color = V(e, "bg"));
|
|
2254
|
+
}
|
|
2055
2255
|
let s = (/* @__PURE__ */ RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i")).exec(a);
|
|
2056
|
-
s != null && s[1] && !
|
|
2256
|
+
s != null && s[1] && !Mn(s[1].trim()) && (i.textColor = V(s[1].trim(), "text")), n.push(i);
|
|
2057
2257
|
}), r.push(n);
|
|
2058
2258
|
});
|
|
2059
2259
|
let i = Math.max(0, ...r.map((e) => e.length));
|
|
@@ -2068,8 +2268,8 @@ function cn(e) {
|
|
|
2068
2268
|
cells: r
|
|
2069
2269
|
};
|
|
2070
2270
|
}
|
|
2071
|
-
function
|
|
2072
|
-
let t = RegExp(`${
|
|
2271
|
+
function Fn(e) {
|
|
2272
|
+
let t = RegExp(`${Sn}='([^']*)'|${Sn}="([^"]*)"`, "s").exec(e);
|
|
2073
2273
|
if (!t) return null;
|
|
2074
2274
|
try {
|
|
2075
2275
|
var n;
|
|
@@ -2083,7 +2283,7 @@ function ln(e) {
|
|
|
2083
2283
|
}
|
|
2084
2284
|
//#endregion
|
|
2085
2285
|
//#region src/components/icons/index.ts
|
|
2086
|
-
var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m4.5 10.5 4 4 7-8\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", dn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 2 Q10 10 18 10 Q10 10 10 18 Q10 10 2 10 Q10 10 10 2Z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n</svg>\n", fn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m5 15 10-10m0 10L5 5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", pn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n transform=\"translate(0,-1)\"\n d=\"M6 11h4.9231c.6528 0 1.2789-.3161 1.7405-.8787.4617-.56259.721-1.32565.721-2.1213 0-.79565-.2593-1.55871-.721-2.12132C12.202 5.31607 11.5759 5 10.9231 5H6v6Zm0 0h5.5385c.6528 0 1.2789.3161 1.7405.8787.4617.5626.721 1.3257.721 2.1213 0 .7956-.2593 1.5587-.721 2.1213-.4616.5626-1.0877.8787-1.7405.8787H6v-6Z\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", mn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M8.5 4h6m-10 12h6m1-12-4 12\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", hn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8.5 11.5a3.5 3.5 0 0 0 5 0l2-2a3.536 3.536 0 0 0-5-5l-1 1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M11.5 8.5a3.5 3.5 0 0 0-5 0l-2 2a3.536 3.536 0 0 0 5 5l1-1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", gn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"1.25\" y=\"1.25\" width=\"17.5\" height=\"17.5\" rx=\"4.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M6.5 14.5L10 5.5l3.5 9\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M8.5 11h3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", _n = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.5 3.5v7.5a4.5 4.5 0 0 0 9 0V3.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M3.5 18.5h13\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", vn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 10h12\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M8.2 10c-1-.5-1.8-1.27-1.8-2.4 0-1.99 1.61-3.6 3.6-3.6s3.6 1.61 3.6 3.6\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M11.8 10c1 .5 1.8 1.27 1.8 2.4 0 1.99-1.61 3.6-3.6 3.6s-3.6-1.61-3.6-3.6\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", yn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M14.5 6.5l2-2-2-2\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16.5 4.5h-4a5 5 0 0 0-5 5v1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M5.5 13.5l-2 2 2 2\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M3.5 15.5h4a5 5 0 0 0 5-5v-1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", bn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"7.5\" cy=\"5.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"5.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"7.5\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"7.5\" cy=\"14.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"14.5\" r=\"1\" fill=\"currentColor\"/>\n</svg>\n", xn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 10h11M10 4.5v11\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m6 8 4 4 4-4\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Cn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m12 5-5 5 5 5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", wn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m8 5 5 5-5 5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Tn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"9\" cy=\"9\" r=\"4.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"m12.5 12.5 3.5 3.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", En = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m4.1667 5 2.5-1.66667V15\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Dn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m7.5 10h-3.3333c0-3.3333 3.3333-2.5 3.3333-5 0-1.25-1.6667-2.08333-3.3333-.83333\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", On = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m4.5833 3.75C16 7.91667 17.5 8.75 17.5 10c0 .442-.1756.866-.4882 1.1785-.3125.3126-.7364.4882-1.1785.4882.4421 0 .866.1756 1.1785.4881.3126.3126.4882.7365.4882 1.1785 0 1.5-1.6667 2.5-3.3333 1.25\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", kn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M10 15V5M14.1667 8.33333V10.8333C14.1667 11.0543 14.2545 11.2663 14.4107 11.4226C14.567 11.5789 14.779 11.6667 15 11.6667H17.5M17.5 8.33333V15M3.33334 10H10M3.33334 15V5\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", An = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10M3.33334 15V5M10 15V5M17.5 8.33333H14.1667V10.8333H15.25C16.5 10.8333 17.5 11.75 17.5 12.9167C17.5 14.0833 16.5 15 15.25 15C14.8333 15 14.5 14.9167 14.1667 14.75\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", jn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m4.1667 8.3333c0 .9205.7462 1.6667 1.6666 1.6667.9205 0 1.6667-.7462 1.6667-1.6667 0-.9204-.7462-1.6666-1.6667-1.6666-.9204 0-1.6666.7462-1.6666 1.6666Zm0 0c0-2.0833.8333-3.3333 2.5-4.99997\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Mn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M14.5 7.28571V6h-9v1.28571M10 6v9m0 0H8.71429M10 15h1.2857\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Nn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 4 3 16h14Z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M10 8.5v3.5m0 2v.01\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Pn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3 3l3 2-3 2M9 5h8M6 10h11M6 15h11\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Fn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M8 5h9M8 10h9M8 15h9\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n />\n <circle cx=\"4\" cy=\"5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4\" cy=\"15\" r=\"1\" fill=\"currentColor\"/>\n</svg>\n", In = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8 5h9M8 10h9M8 15h9\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <text x=\"4\" y=\"6\" fill=\"currentColor\" font-size=\"5\" font-family=\"sans-serif\" text-anchor=\"middle\" dominant-baseline=\"central\">1</text>\n <text x=\"4\" y=\"11\" fill=\"currentColor\" font-size=\"5\" font-family=\"sans-serif\" text-anchor=\"middle\" dominant-baseline=\"central\">2</text>\n <text x=\"4\" y=\"16\" fill=\"currentColor\" font-size=\"5\" font-family=\"sans-serif\" text-anchor=\"middle\" dominant-baseline=\"central\">3</text>\n</svg>\n", Ln = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M10 5h7M10 10h7M10 15h7M3 5l1 1 2-2M3 10l1 1 2-2M3 15l1 1 2-2\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Rn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8h14M3 12h14M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", zn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 4h11A1.5 1.5 0 0 1 17 5.5V8H3V5.5A1.5 1.5 0 0 1 4.5 4Z\" fill=\"currentColor\"/>\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8h14M3 12h14M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", Bn = "\n<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\"/>\n <circle cx=\"12\" cy=\"12\" r=\"3\"/>\n</svg>\n", Vn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 4H7.5v12H4.5A1.5 1.5 0 0 1 3 14.5v-9A1.5 1.5 0 0 1 4.5 4Z\" fill=\"currentColor\"/>\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8h14M3 12h14M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", Hn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 4l-3 3m3-3l3 3M10 4v7M5 16h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 16l-3-3m3 3l3-3M10 16V9M5 4h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Wn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 10l3-3M4 10l3 3M4 10h7M16 5v10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Gn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M16 10l-3-3m3 3l-3 3M16 10H9M4 5v10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Kn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"7\" y=\"7\" width=\"9\" height=\"9\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M5 13h-.5A1.5 1.5 0 0 1 3 11.5v-7A1.5 1.5 0 0 1 4.5 3h7A1.5 1.5 0 0 1 13 4.5V5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", qn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M12.5 5.5l2 2M4.5 13.5l8-8 2 2-8 8H4.5v-2z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Jn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 6.5h11\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M8 6.5V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M6.5 6.5l.5 8.5a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1l.5-8.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M8.5 9.5v3.5M11.5 9.5v3.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Yn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"5\" cy=\"10\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"10\" cy=\"10\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"15\" cy=\"10\" r=\"1.25\" fill=\"currentColor\"/>\n</svg>\n", Xn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.5 10h5M2.5 15V5M7.5 15V5m3.5 5 2-1.5V15\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16 7l2.5 3-2.5 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Zn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.5 10h5M2.5 15V5M7.5 15V5m7 10h-3c0-3 3-2.25 3-4.5 0-1.125-1.5-1.875-3-.75\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16 7l2.5 3-2.5 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Qn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.5 10h5M2.5 15V5M7.5 15V5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M11 8.5c1.25-.75 2.5-.25 2.5.75 0 .75-1 1.25-1 1.25s1 .5 1 1.25c0 1-1.25 1.5-2.5.75\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16 7l2.5 3-2.5 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", $n = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M10 4C8 6 7.5 8 7.5 10C7.5 12 8 14 10 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M10 4C12 6 12.5 8 12.5 10C12.5 12 12 14 10 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M4 10H16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", er = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"5.5\" width=\"14\" height=\"9\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M3 8L10 10L17 8\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", tr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M7.5 4L7.5 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M12.5 4L12.5 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M4 8H16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M4 12H16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", nr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 4v12\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\"/>\n <path d=\"M9 6h7\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M9 10h7\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M9 14h5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", rr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z\"/><line x1=\"9\" y1=\"10\" x2=\"15\" y2=\"10\"/><line x1=\"12\" y1=\"7\" x2=\"12\" y2=\"13\"/></svg>", ir = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\n <rect x=\"2.5\" y=\"3\" width=\"12\" height=\"6\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M14.5 6H16a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-6a1 1 0 0 0-1 1V14\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <rect x=\"8\" y=\"14\" width=\"3\" height=\"3.5\" rx=\"0.75\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>", ar = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 10h12\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", or = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m7 6-4 4 4 4m6-8 4 4-4 4\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", sr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m6 7-3 3 3 3m8-6 3 3-3 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"m12 5-4 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", cr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 3l2.2 4.4 4.8.7-3.5 3.4.8 4.8L10 14l-4.3 2.3.8-4.8L3 8.1l4.8-.7L10 3z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", lr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <circle cx=\"7.5\" cy=\"8.5\" r=\"0.75\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"8.5\" r=\"0.75\" fill=\"currentColor\"/>\n <path d=\"M7.5 12a3 3 0 0 0 5 0\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", ur = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 17v-7\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M10 13c-3 0-6-2-6-5 3 0 6 2 6 5z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M10 10c3 0 6-2.5 6-5.5-3 0-6 2.5-6 5.5z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n</svg>\n", dr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 3v4c0 1.1.9 2 2 2v8\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M9 3v4c0 1.1-.9 2-2 2\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M7 3v3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M13 3v14\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M13 3c1.7 0 3 1.5 3 3.5S13 10 13 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n</svg>\n", fr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M10 7.5l2.4 1.7-.9 2.8h-3l-.9-2.8z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M10 7.5V4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M12.4 9.2l3.1-1.1\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M11.5 12l2 2.6\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M8.5 12l-2 2.6\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M7.6 9.2l-3.1-1.1\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", pr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <ellipse cx=\"10\" cy=\"10\" rx=\"2.75\" ry=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3.5 10h13\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", mr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8 13.5c-.25-1.5-1.5-3.5-2.5-5.5a4.5 4.5 0 0 1 9 0c-1 2-2.25 4-2.5 5.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M8 13.5v1.75c0 .41.34.75.75.75h2.5c.41 0 .75-.34.75-.75V13.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M8 14.75h4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M9.25 11l.75-3 .75 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <circle cx=\"10\" cy=\"7\" r=\"1\" stroke=\"currentColor\" stroke-width=\"1\"/>\n</svg>\n", hr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8.5 5l-1 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M12.5 5l-1 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M5 8h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M5 12h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", gr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 17V3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M5 3c2 0 3 1.5 5 1.5S14 3 16 3v8c-2 0-3 1.5-5 1.5S7 11 5 11\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", _r = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <ellipse cx=\"10\" cy=\"5.5\" rx=\"6\" ry=\"2.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M4 5.5v4c0 1.38 2.69 2.5 6 2.5s6-1.12 6-2.5v-4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M4 9.5v4c0 1.38 2.69 2.5 6 2.5s6-1.12 6-2.5v-4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", vr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <rect x=\"4.5\" y=\"6\" width=\"1.5\" height=\"2\" rx=\"0.5\" fill=\"currentColor\"/>\n <rect x=\"4.5\" y=\"9\" width=\"1.5\" height=\"2\" rx=\"0.5\" fill=\"currentColor\"/>\n <rect x=\"9\" y=\"6\" width=\"1.5\" height=\"2\" rx=\"0.5\" fill=\"currentColor\"/>\n <rect x=\"14\" y=\"6\" width=\"1.5\" height=\"2\" rx=\"0.5\" fill=\"currentColor\"/>\n</svg>\n", yr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"4.5\" cy=\"6.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4.5\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4.5\" cy=\"13.5\" r=\"1\" fill=\"currentColor\"/>\n <path d=\"M7.5 6.5h9M7.5 10h9M7.5 13.5h9\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", br = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"4.5\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8.5h14\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M7 3v3M13 3v3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <circle cx=\"7\" cy=\"12\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"10\" cy=\"12\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"13\" cy=\"12\" r=\"1\" fill=\"currentColor\"/>\n</svg>\n", xr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-dasharray=\"1.5 2\"/>\n <path d=\"M5.5 7 8.5 10 5.5 13\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M14.5 7 11.5 10 14.5 13\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Sr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\"/><path d=\"M12 3v18\"/><path d=\"M8 8l4 4-4 4\"/><path d=\"M16 8l-4 4 4 4\"/></svg>", Cr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"4\" width=\"6\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <rect x=\"11\" y=\"4\" width=\"6\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", wr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"6\" cy=\"6\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"10\" cy=\"6\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"14\" cy=\"6\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"6\" cy=\"10\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"10\" cy=\"10\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"14\" cy=\"10\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"6\" cy=\"14\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"10\" cy=\"14\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"14\" cy=\"14\" r=\"1.25\" fill=\"currentColor\"/>\n</svg>\n", Tr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"2.5\" y=\"3.5\" width=\"15\" height=\"13\" rx=\"2\" fill=\"currentColor\" fill-opacity=\"0.08\" stroke=\"currentColor\" stroke-width=\"1.4\"/>\n <circle cx=\"7\" cy=\"8\" r=\"1.3\" fill=\"currentColor\"/>\n <path d=\"M3 13.25 6.25 10l2.25 2.25L12.25 8.25 17 13\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", W = (e) => `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">${e}</svg>`, Er = W("<rect x=\"3\" y=\"8\" width=\"8\" height=\"8\" rx=\"1.5\" fill=\"currentColor\" stroke=\"none\"/><path d=\"M3 4h18\"/><path d=\"M14 10h7\"/><path d=\"M14 14h7\"/><path d=\"M3 20h18\"/>"), Dr = W("<rect x=\"8\" y=\"8\" width=\"8\" height=\"8\" rx=\"1.5\" fill=\"currentColor\" stroke=\"none\"/><path d=\"M3 4h18\"/><path d=\"M3 20h18\"/>"), Or = W("<rect x=\"13\" y=\"8\" width=\"8\" height=\"8\" rx=\"1.5\" fill=\"currentColor\" stroke=\"none\"/><path d=\"M3 4h18\"/><path d=\"M3 10h7\"/><path d=\"M3 14h7\"/><path d=\"M3 20h18\"/>"), kr = W("<path d=\"M5 12h14\"/>"), Ar = W("<path d=\"M12 5v14\"/><path d=\"M5 12h14\"/>"), jr = W("<path d=\"M10 13a4 4 0 0 1 0-5.66l3-3a4 4 0 0 1 5.66 5.66l-1.5 1.5\"/><path d=\"M14 11a4 4 0 0 1 0 5.66l-3 3a4 4 0 1 1-5.66-5.66l1.5-1.5\"/>"), Mr = W("<path d=\"M9 3v6H3\"/><path d=\"M21 9h-6V3\"/><path d=\"M3 15h6v6\"/><path d=\"M15 21v-6h6\"/>"), Nr = W("<path d=\"M15 3h6v6\"/><path d=\"M9 21H3v-6\"/><path d=\"m21 3-7 7\"/><path d=\"m3 21 7-7\"/>"), Pr = W("<path d=\"M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4\"/><path d=\"M7 10l5 5 5-5\"/><path d=\"M12 15V3\"/>"), Fr = W("<rect x=\"3\" y=\"3.5\" width=\"18\" height=\"12\" rx=\"2.5\"/><path d=\"M5 19h14\"/><path d=\"M8 22h8\"/>"), Ir = W("<path d=\"M4 7h15\"/><path d=\"m15 3 4 4-4 4\"/><path d=\"M20 17H5\"/><path d=\"m9 13-4 4 4 4\"/>"), Lr = W("<path d=\"M6 2v14a2 2 0 0 0 2 2h14\"/><path d=\"M2 6h14a2 2 0 0 1 2 2v14\"/>"), Rr = "<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\" focusable=\"false\"><circle cx=\"5\" cy=\"12\" r=\"1.6\"/><circle cx=\"12\" cy=\"12\" r=\"1.6\"/><circle cx=\"19\" cy=\"12\" r=\"1.6\"/></svg>", zr = "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" width=\"14\" height=\"14\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M18 6L6 18M6 6l12 12\"/></svg>", Br = "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M14.5 4.5H6A2.5 2.5 0 0 0 3.5 7v10A2.5 2.5 0 0 0 6 19.5h12a2.5 2.5 0 0 0 2.5-2.5v-6.25\"/><path d=\"m14.5 4.5 1.75 2.25 2.25-1.25 2 2.75\"/><circle cx=\"8\" cy=\"9\" r=\"1.2\" fill=\"currentColor\" stroke=\"none\"/><path d=\"m3.8 16.25 3.45-3.45 2.5 2.5 3.5-3.5 4 4\"/></svg>", Vr = W("<path d=\"M12 4v10\"/><path d=\"m7.5 8.5 4.5-4.5 4.5 4.5\"/><path d=\"M5 14v3.5A2.5 2.5 0 0 0 7.5 20h9a2.5 2.5 0 0 0 2.5-2.5V14\"/>"), Hr = W("<path d=\"M10 14a5 5 0 0 0 7.07 0l2.83-2.83a5 5 0 0 0-7.07-7.07L11.5 5.5\"/><path d=\"M14 10a5 5 0 0 0-7.07 0l-2.83 2.83a5 5 0 0 0 7.07 7.07l1.33-1.33\"/>"), Ur = W("<path d=\"M12 4v12\"/><path d=\"m6.5 10.5 5.5 5.5 5.5-5.5\"/><path d=\"M4 18h16\"/>"), Wr = W("<path d=\"M12 5v11\"/><path d=\"m7 10 5-5 5 5\"/>"), Gr = "<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" fill=\"none\"><rect x=\"1.5\" y=\"1.5\" width=\"11\" height=\"11\" rx=\"2\" stroke=\"currentColor\" stroke-width=\"1.2\"/><circle cx=\"4.5\" cy=\"4.5\" r=\".9\" fill=\"currentColor\"/><circle cx=\"7\" cy=\"7\" r=\".9\" fill=\"currentColor\"/><circle cx=\"9.5\" cy=\"9.5\" r=\".9\" fill=\"currentColor\"/></svg>", Kr = "<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" fill=\"none\"><path d=\"M3.5 3.5l7 7M10.5 3.5l-7 7\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"/></svg>", qr = "<svg aria-hidden=\"true\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.5 2.5L8.5 6L4.5 9.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>", Jr = {
|
|
2286
|
+
var In = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m4.5 10.5 4 4 7-8\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Ln = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 2 Q10 10 18 10 Q10 10 10 18 Q10 10 2 10 Q10 10 10 2Z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n</svg>\n", Rn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m5 15 10-10m0 10L5 5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", zn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n transform=\"translate(0,-1)\"\n d=\"M6 11h4.9231c.6528 0 1.2789-.3161 1.7405-.8787.4617-.56259.721-1.32565.721-2.1213 0-.79565-.2593-1.55871-.721-2.12132C12.202 5.31607 11.5759 5 10.9231 5H6v6Zm0 0h5.5385c.6528 0 1.2789.3161 1.7405.8787.4617.5626.721 1.3257.721 2.1213 0 .7956-.2593 1.5587-.721 2.1213-.4616.5626-1.0877.8787-1.7405.8787H6v-6Z\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Bn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M8.5 4h6m-10 12h6m1-12-4 12\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Vn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8.5 11.5a3.5 3.5 0 0 0 5 0l2-2a3.536 3.536 0 0 0-5-5l-1 1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M11.5 8.5a3.5 3.5 0 0 0-5 0l-2 2a3.536 3.536 0 0 0 5 5l1-1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Hn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"1.25\" y=\"1.25\" width=\"17.5\" height=\"17.5\" rx=\"4.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M6.5 14.5L10 5.5l3.5 9\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M8.5 11h3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.5 3.5v7.5a4.5 4.5 0 0 0 9 0V3.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M3.5 18.5h13\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Wn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 10h12\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M8.2 10c-1-.5-1.8-1.27-1.8-2.4 0-1.99 1.61-3.6 3.6-3.6s3.6 1.61 3.6 3.6\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M11.8 10c1 .5 1.8 1.27 1.8 2.4 0 1.99-1.61 3.6-3.6 3.6s-3.6-1.61-3.6-3.6\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Gn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M14.5 6.5l2-2-2-2\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16.5 4.5h-4a5 5 0 0 0-5 5v1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M5.5 13.5l-2 2 2 2\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M3.5 15.5h4a5 5 0 0 0 5-5v-1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Kn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"7.5\" cy=\"5.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"5.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"7.5\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"7.5\" cy=\"14.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"14.5\" r=\"1\" fill=\"currentColor\"/>\n</svg>\n", qn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 10h11M10 4.5v11\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Jn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m6 8 4 4 4-4\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Yn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m12 5-5 5 5 5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Xn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m8 5 5 5-5 5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Zn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"9\" cy=\"9\" r=\"4.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"m12.5 12.5 3.5 3.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Qn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m4.1667 5 2.5-1.66667V15\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", $n = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m7.5 10h-3.3333c0-3.3333 3.3333-2.5 3.3333-5 0-1.25-1.6667-2.08333-3.3333-.83333\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", er = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m4.5833 3.75C16 7.91667 17.5 8.75 17.5 10c0 .442-.1756.866-.4882 1.1785-.3125.3126-.7364.4882-1.1785.4882.4421 0 .866.1756 1.1785.4881.3126.3126.4882.7365.4882 1.1785 0 1.5-1.6667 2.5-3.3333 1.25\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", tr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M10 15V5M14.1667 8.33333V10.8333C14.1667 11.0543 14.2545 11.2663 14.4107 11.4226C14.567 11.5789 14.779 11.6667 15 11.6667H17.5M17.5 8.33333V15M3.33334 10H10M3.33334 15V5\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", nr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10M3.33334 15V5M10 15V5M17.5 8.33333H14.1667V10.8333H15.25C16.5 10.8333 17.5 11.75 17.5 12.9167C17.5 14.0833 16.5 15 15.25 15C14.8333 15 14.5 14.9167 14.1667 14.75\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", rr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m4.1667 8.3333c0 .9205.7462 1.6667 1.6666 1.6667.9205 0 1.6667-.7462 1.6667-1.6667 0-.9204-.7462-1.6666-1.6667-1.6666-.9204 0-1.6666.7462-1.6666 1.6666Zm0 0c0-2.0833.8333-3.3333 2.5-4.99997\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", ir = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M14.5 7.28571V6h-9v1.28571M10 6v9m0 0H8.71429M10 15h1.2857\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", ar = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 4 3 16h14Z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M10 8.5v3.5m0 2v.01\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", or = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3 3l3 2-3 2M9 5h8M6 10h11M6 15h11\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", sr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M8 5h9M8 10h9M8 15h9\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n />\n <circle cx=\"4\" cy=\"5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4\" cy=\"15\" r=\"1\" fill=\"currentColor\"/>\n</svg>\n", cr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8 5h9M8 10h9M8 15h9\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <text x=\"4\" y=\"6\" fill=\"currentColor\" font-size=\"5\" font-family=\"sans-serif\" text-anchor=\"middle\" dominant-baseline=\"central\">1</text>\n <text x=\"4\" y=\"11\" fill=\"currentColor\" font-size=\"5\" font-family=\"sans-serif\" text-anchor=\"middle\" dominant-baseline=\"central\">2</text>\n <text x=\"4\" y=\"16\" fill=\"currentColor\" font-size=\"5\" font-family=\"sans-serif\" text-anchor=\"middle\" dominant-baseline=\"central\">3</text>\n</svg>\n", lr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M10 5h7M10 10h7M10 15h7M3 5l1 1 2-2M3 10l1 1 2-2M3 15l1 1 2-2\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", ur = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8h14M3 12h14M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", dr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 4h11A1.5 1.5 0 0 1 17 5.5V8H3V5.5A1.5 1.5 0 0 1 4.5 4Z\" fill=\"currentColor\"/>\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8h14M3 12h14M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", fr = "\n<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\"/>\n <circle cx=\"12\" cy=\"12\" r=\"3\"/>\n</svg>\n", pr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 4H7.5v12H4.5A1.5 1.5 0 0 1 3 14.5v-9A1.5 1.5 0 0 1 4.5 4Z\" fill=\"currentColor\"/>\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8h14M3 12h14M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", mr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 4l-3 3m3-3l3 3M10 4v7M5 16h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", hr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 16l-3-3m3 3l3-3M10 16V9M5 4h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", gr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 10l3-3M4 10l3 3M4 10h7M16 5v10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", _r = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M16 10l-3-3m3 3l-3 3M16 10H9M4 5v10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", vr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"7\" y=\"7\" width=\"9\" height=\"9\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M5 13h-.5A1.5 1.5 0 0 1 3 11.5v-7A1.5 1.5 0 0 1 4.5 3h7A1.5 1.5 0 0 1 13 4.5V5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", yr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M12.5 5.5l2 2M4.5 13.5l8-8 2 2-8 8H4.5v-2z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", br = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 6.5h11\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M8 6.5V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M6.5 6.5l.5 8.5a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1l.5-8.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M8.5 9.5v3.5M11.5 9.5v3.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", xr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"5\" cy=\"10\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"10\" cy=\"10\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"15\" cy=\"10\" r=\"1.25\" fill=\"currentColor\"/>\n</svg>\n", Sr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.5 10h5M2.5 15V5M7.5 15V5m3.5 5 2-1.5V15\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16 7l2.5 3-2.5 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Cr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.5 10h5M2.5 15V5M7.5 15V5m7 10h-3c0-3 3-2.25 3-4.5 0-1.125-1.5-1.875-3-.75\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16 7l2.5 3-2.5 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", wr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.5 10h5M2.5 15V5M7.5 15V5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M11 8.5c1.25-.75 2.5-.25 2.5.75 0 .75-1 1.25-1 1.25s1 .5 1 1.25c0 1-1.25 1.5-2.5.75\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16 7l2.5 3-2.5 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Tr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M10 4C8 6 7.5 8 7.5 10C7.5 12 8 14 10 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M10 4C12 6 12.5 8 12.5 10C12.5 12 12 14 10 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M4 10H16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Er = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"5.5\" width=\"14\" height=\"9\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M3 8L10 10L17 8\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Dr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M7.5 4L7.5 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M12.5 4L12.5 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M4 8H16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M4 12H16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Or = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 4v12\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\"/>\n <path d=\"M9 6h7\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M9 10h7\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M9 14h5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", kr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z\"/><line x1=\"9\" y1=\"10\" x2=\"15\" y2=\"10\"/><line x1=\"12\" y1=\"7\" x2=\"12\" y2=\"13\"/></svg>", Ar = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\n <rect x=\"2.5\" y=\"3\" width=\"12\" height=\"6\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M14.5 6H16a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-6a1 1 0 0 0-1 1V14\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <rect x=\"8\" y=\"14\" width=\"3\" height=\"3.5\" rx=\"0.75\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>", jr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 10h12\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Mr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m7 6-4 4 4 4m6-8 4 4-4 4\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Nr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m6 7-3 3 3 3m8-6 3 3-3 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"m12 5-4 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Pr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 3l2.2 4.4 4.8.7-3.5 3.4.8 4.8L10 14l-4.3 2.3.8-4.8L3 8.1l4.8-.7L10 3z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Fr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <circle cx=\"7.5\" cy=\"8.5\" r=\"0.75\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"8.5\" r=\"0.75\" fill=\"currentColor\"/>\n <path d=\"M7.5 12a3 3 0 0 0 5 0\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Ir = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 17v-7\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M10 13c-3 0-6-2-6-5 3 0 6 2 6 5z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M10 10c3 0 6-2.5 6-5.5-3 0-6 2.5-6 5.5z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n</svg>\n", Lr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 3v4c0 1.1.9 2 2 2v8\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M9 3v4c0 1.1-.9 2-2 2\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M7 3v3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M13 3v14\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M13 3c1.7 0 3 1.5 3 3.5S13 10 13 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n</svg>\n", Rr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M10 7.5l2.4 1.7-.9 2.8h-3l-.9-2.8z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M10 7.5V4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M12.4 9.2l3.1-1.1\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M11.5 12l2 2.6\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M8.5 12l-2 2.6\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M7.6 9.2l-3.1-1.1\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", zr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <ellipse cx=\"10\" cy=\"10\" rx=\"2.75\" ry=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3.5 10h13\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", Br = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8 13.5c-.25-1.5-1.5-3.5-2.5-5.5a4.5 4.5 0 0 1 9 0c-1 2-2.25 4-2.5 5.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M8 13.5v1.75c0 .41.34.75.75.75h2.5c.41 0 .75-.34.75-.75V13.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M8 14.75h4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M9.25 11l.75-3 .75 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <circle cx=\"10\" cy=\"7\" r=\"1\" stroke=\"currentColor\" stroke-width=\"1\"/>\n</svg>\n", Vr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8.5 5l-1 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M12.5 5l-1 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M5 8h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M5 12h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Hr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 17V3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M5 3c2 0 3 1.5 5 1.5S14 3 16 3v8c-2 0-3 1.5-5 1.5S7 11 5 11\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Ur = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <ellipse cx=\"10\" cy=\"5.5\" rx=\"6\" ry=\"2.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M4 5.5v4c0 1.38 2.69 2.5 6 2.5s6-1.12 6-2.5v-4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M4 9.5v4c0 1.38 2.69 2.5 6 2.5s6-1.12 6-2.5v-4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", Wr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <rect x=\"4.5\" y=\"6\" width=\"1.5\" height=\"2\" rx=\"0.5\" fill=\"currentColor\"/>\n <rect x=\"4.5\" y=\"9\" width=\"1.5\" height=\"2\" rx=\"0.5\" fill=\"currentColor\"/>\n <rect x=\"9\" y=\"6\" width=\"1.5\" height=\"2\" rx=\"0.5\" fill=\"currentColor\"/>\n <rect x=\"14\" y=\"6\" width=\"1.5\" height=\"2\" rx=\"0.5\" fill=\"currentColor\"/>\n</svg>\n", Gr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"4.5\" cy=\"6.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4.5\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4.5\" cy=\"13.5\" r=\"1\" fill=\"currentColor\"/>\n <path d=\"M7.5 6.5h9M7.5 10h9M7.5 13.5h9\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Kr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"4.5\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8.5h14\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M7 3v3M13 3v3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <circle cx=\"7\" cy=\"12\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"10\" cy=\"12\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"13\" cy=\"12\" r=\"1\" fill=\"currentColor\"/>\n</svg>\n", qr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-dasharray=\"1.5 2\"/>\n <path d=\"M5.5 7 8.5 10 5.5 13\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M14.5 7 11.5 10 14.5 13\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Jr = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\"/><path d=\"M12 3v18\"/><path d=\"M8 8l4 4-4 4\"/><path d=\"M16 8l-4 4 4 4\"/></svg>", Yr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"4\" width=\"6\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <rect x=\"11\" y=\"4\" width=\"6\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", Xr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"6\" cy=\"6\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"10\" cy=\"6\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"14\" cy=\"6\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"6\" cy=\"10\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"10\" cy=\"10\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"14\" cy=\"10\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"6\" cy=\"14\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"10\" cy=\"14\" r=\"1.25\" fill=\"currentColor\"/>\n <circle cx=\"14\" cy=\"14\" r=\"1.25\" fill=\"currentColor\"/>\n</svg>\n", Zr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"2.5\" y=\"3.5\" width=\"15\" height=\"13\" rx=\"2\" fill=\"currentColor\" fill-opacity=\"0.08\" stroke=\"currentColor\" stroke-width=\"1.4\"/>\n <circle cx=\"7\" cy=\"8\" r=\"1.3\" fill=\"currentColor\"/>\n <path d=\"M3 13.25 6.25 10l2.25 2.25L12.25 8.25 17 13\" stroke=\"currentColor\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", H = (e) => `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">${e}</svg>`, Qr = H("<rect x=\"3\" y=\"8\" width=\"8\" height=\"8\" rx=\"1.5\" fill=\"currentColor\" stroke=\"none\"/><path d=\"M3 4h18\"/><path d=\"M14 10h7\"/><path d=\"M14 14h7\"/><path d=\"M3 20h18\"/>"), $r = H("<rect x=\"8\" y=\"8\" width=\"8\" height=\"8\" rx=\"1.5\" fill=\"currentColor\" stroke=\"none\"/><path d=\"M3 4h18\"/><path d=\"M3 20h18\"/>"), ei = H("<rect x=\"13\" y=\"8\" width=\"8\" height=\"8\" rx=\"1.5\" fill=\"currentColor\" stroke=\"none\"/><path d=\"M3 4h18\"/><path d=\"M3 10h7\"/><path d=\"M3 14h7\"/><path d=\"M3 20h18\"/>"), ti = H("<path d=\"M5 12h14\"/>"), ni = H("<path d=\"M12 5v14\"/><path d=\"M5 12h14\"/>"), ri = H("<path d=\"M10 13a4 4 0 0 1 0-5.66l3-3a4 4 0 0 1 5.66 5.66l-1.5 1.5\"/><path d=\"M14 11a4 4 0 0 1 0 5.66l-3 3a4 4 0 1 1-5.66-5.66l1.5-1.5\"/>"), ii = H("<path d=\"M9 3v6H3\"/><path d=\"M21 9h-6V3\"/><path d=\"M3 15h6v6\"/><path d=\"M15 21v-6h6\"/>"), ai = H("<path d=\"M15 3h6v6\"/><path d=\"M9 21H3v-6\"/><path d=\"m21 3-7 7\"/><path d=\"m3 21 7-7\"/>"), oi = H("<path d=\"M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4\"/><path d=\"M7 10l5 5 5-5\"/><path d=\"M12 15V3\"/>"), si = H("<rect x=\"3\" y=\"3.5\" width=\"18\" height=\"12\" rx=\"2.5\"/><path d=\"M5 19h14\"/><path d=\"M8 22h8\"/>"), ci = H("<path d=\"m17.5 8 2.5-2.5L17.5 3\"/><path d=\"M20 5.5h-5.5a6 6 0 0 0-6 6V13\"/><path d=\"m6.5 16-2.5 2.5L6.5 21\"/><path d=\"M4 18.5h5.5a6 6 0 0 0 6-6V11\"/>"), li = H("<path d=\"M6 2v14a2 2 0 0 0 2 2h14\"/><path d=\"M2 6h14a2 2 0 0 1 2 2v14\"/>"), ui = "<svg viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\" focusable=\"false\"><circle cx=\"5\" cy=\"12\" r=\"1.6\"/><circle cx=\"12\" cy=\"12\" r=\"1.6\"/><circle cx=\"19\" cy=\"12\" r=\"1.6\"/></svg>", di = "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" width=\"14\" height=\"14\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M18 6L6 18M6 6l12 12\"/></svg>", fi = "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M14.5 4.5H6A2.5 2.5 0 0 0 3.5 7v10A2.5 2.5 0 0 0 6 19.5h12a2.5 2.5 0 0 0 2.5-2.5v-6.25\"/><path d=\"m14.5 4.5 1.75 2.25 2.25-1.25 2 2.75\"/><circle cx=\"8\" cy=\"9\" r=\"1.2\" fill=\"currentColor\" stroke=\"none\"/><path d=\"m3.8 16.25 3.45-3.45 2.5 2.5 3.5-3.5 4 4\"/></svg>", pi = "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M20 16.5A4.5 4.5 0 0 0 17 8.25a6 6 0 0 0-11.7 1.5A4 4 0 0 0 6 17.5\"/><path d=\"M12 12v5\"/><path d=\"m9.5 14.5 2.5-2.5 2.5 2.5\"/><path d=\"m4 4 16 16\" stroke-width=\"2\"/></svg>", mi = H("<path d=\"M12 4v10\"/><path d=\"m7.5 8.5 4.5-4.5 4.5 4.5\"/><path d=\"M5 14v3.5A2.5 2.5 0 0 0 7.5 20h9a2.5 2.5 0 0 0 2.5-2.5V14\"/>"), hi = H("<path d=\"M10 14a5 5 0 0 0 7.07 0l2.83-2.83a5 5 0 0 0-7.07-7.07L11.5 5.5\"/><path d=\"M14 10a5 5 0 0 0-7.07 0l-2.83 2.83a5 5 0 0 0 7.07 7.07l1.33-1.33\"/>"), gi = H("<path d=\"M12 4v12\"/><path d=\"m6.5 10.5 5.5 5.5 5.5-5.5\"/><path d=\"M4 18h16\"/>"), _i = H("<path d=\"M12 5v11\"/><path d=\"m7 10 5-5 5 5\"/>"), vi = "<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" fill=\"none\"><rect x=\"1.5\" y=\"1.5\" width=\"11\" height=\"11\" rx=\"2\" stroke=\"currentColor\" stroke-width=\"1.2\"/><circle cx=\"4.5\" cy=\"4.5\" r=\".9\" fill=\"currentColor\"/><circle cx=\"7\" cy=\"7\" r=\".9\" fill=\"currentColor\"/><circle cx=\"9.5\" cy=\"9.5\" r=\".9\" fill=\"currentColor\"/></svg>", yi = "<svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" fill=\"none\"><path d=\"M3.5 3.5l7 7M10.5 3.5l-7 7\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"/></svg>", bi = "<svg aria-hidden=\"true\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.5 2.5L8.5 6L4.5 9.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>", xi = {
|
|
2087
2287
|
"⌘": "⌘",
|
|
2088
2288
|
"⇧": "⇧",
|
|
2089
2289
|
"⌥": "⌥",
|
|
@@ -2109,12 +2309,12 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
|
|
|
2109
2309
|
ins: "Ins",
|
|
2110
2310
|
win: "⊞"
|
|
2111
2311
|
};
|
|
2112
|
-
function
|
|
2312
|
+
function Si(e) {
|
|
2113
2313
|
var t, n;
|
|
2114
2314
|
let r = e.trim();
|
|
2115
|
-
return (t = (n =
|
|
2315
|
+
return (t = (n = xi[r.toLowerCase()]) == null ? xi[r] : n) == null ? r : t;
|
|
2116
2316
|
}
|
|
2117
|
-
function
|
|
2317
|
+
function Ci(e) {
|
|
2118
2318
|
let t = /([⌘⇧⌥⌃⌫⏎⎋⌦↑↓←→↵⇥])|([^⌘⇧⌥⌃⌫⏎⎋⌦↑↓←→↵⇥]+)/gu, n = [];
|
|
2119
2319
|
for (let r of e.matchAll(t)) {
|
|
2120
2320
|
let e = r[0].trim();
|
|
@@ -2122,15 +2322,15 @@ function Xr(e) {
|
|
|
2122
2322
|
}
|
|
2123
2323
|
return n;
|
|
2124
2324
|
}
|
|
2125
|
-
function
|
|
2325
|
+
function wi(e) {
|
|
2126
2326
|
let t = e.length === 1, n = t ? 13 : 11, r = t ? 13 : 7.5, i = Math.ceil(e.length * r);
|
|
2127
2327
|
return `<svg xmlns="http://www.w3.org/2000/svg" width="${i}" height="16" viewBox="0 0 ${i} 16" style="display:inline-block;vertical-align:middle;flex-shrink:0" aria-hidden="true"><text x="${i / 2}" y="9" text-anchor="middle" dominant-baseline="middle" font-family="-apple-system,BlinkMacSystemFont,'SF Pro Text','Helvetica Neue',sans-serif" font-size="${n}" font-weight="400" fill="currentColor">${e}</text></svg>`;
|
|
2128
2328
|
}
|
|
2129
|
-
function
|
|
2130
|
-
let t = e.split(" + ").flatMap(
|
|
2131
|
-
return t.length === 0 ? e : `<span style="display:inline-flex;align-items:center;line-height:1">${t.map((e) =>
|
|
2329
|
+
function U(e) {
|
|
2330
|
+
let t = e.split(" + ").flatMap(Ci);
|
|
2331
|
+
return t.length === 0 ? e : `<span style="display:inline-flex;align-items:center;line-height:1">${t.map((e) => wi(Si(e))).join("")}</span>`;
|
|
2132
2332
|
}
|
|
2133
|
-
var
|
|
2333
|
+
var Ti = {
|
|
2134
2334
|
"⌘": "Command",
|
|
2135
2335
|
"⇧": "Shift",
|
|
2136
2336
|
"⌥": "Option",
|
|
@@ -2149,34 +2349,34 @@ var $r = {
|
|
|
2149
2349
|
ins: "Insert",
|
|
2150
2350
|
"⊞": "Win"
|
|
2151
2351
|
};
|
|
2152
|
-
function
|
|
2153
|
-
let t = e.split(" + ").flatMap(
|
|
2352
|
+
function Ei(e) {
|
|
2353
|
+
let t = e.split(" + ").flatMap(Ci);
|
|
2154
2354
|
return t.length === 0 ? e : t.map((e) => {
|
|
2155
2355
|
var t, n;
|
|
2156
2356
|
let r = e.trim(), i = r.toLowerCase();
|
|
2157
|
-
return (t = (n =
|
|
2357
|
+
return (t = (n = Ti[r]) == null ? Ti[i] : n) == null ? r.toUpperCase() : t;
|
|
2158
2358
|
}).join("+");
|
|
2159
2359
|
}
|
|
2160
2360
|
//#endregion
|
|
2161
2361
|
//#region src/components/utils/popover/components/hint/hint.const.ts
|
|
2162
|
-
var
|
|
2362
|
+
var W = {
|
|
2163
2363
|
root: "",
|
|
2164
2364
|
alignedStart: "text-start",
|
|
2165
2365
|
alignedCenter: "text-center",
|
|
2166
2366
|
title: "",
|
|
2167
2367
|
description: "opacity-60 mt-[3px]"
|
|
2168
|
-
},
|
|
2368
|
+
}, Di = class {
|
|
2169
2369
|
constructor(e) {
|
|
2170
2370
|
let t = e.alignment === "center" ? "center" : "start";
|
|
2171
2371
|
this.nodes = {
|
|
2172
|
-
root: T.make("div", [
|
|
2173
|
-
title: T.make("div",
|
|
2174
|
-
}, this.nodes.root.setAttribute("data-alignment", t), this.nodes.root.appendChild(this.nodes.title), e.description !== void 0 && (this.nodes.description = T.make("div",
|
|
2372
|
+
root: T.make("div", [W.root, t === "center" ? W.alignedCenter : W.alignedStart]),
|
|
2373
|
+
title: T.make("div", W.title, { textContent: e.title })
|
|
2374
|
+
}, this.nodes.root.setAttribute("data-alignment", t), this.nodes.root.appendChild(this.nodes.title), e.description !== void 0 && (this.nodes.description = T.make("div", W.description), this.nodes.description.innerHTML = U(e.description), this.nodes.root.appendChild(this.nodes.description));
|
|
2175
2375
|
}
|
|
2176
2376
|
getElement() {
|
|
2177
2377
|
return this.nodes.root;
|
|
2178
2378
|
}
|
|
2179
|
-
},
|
|
2379
|
+
}, Oi = class {
|
|
2180
2380
|
constructor(e) {
|
|
2181
2381
|
this.params = e;
|
|
2182
2382
|
}
|
|
@@ -2184,7 +2384,7 @@ var G = {
|
|
|
2184
2384
|
if (this.params !== void 0 && "name" in this.params) return this.params.name;
|
|
2185
2385
|
}
|
|
2186
2386
|
destroy() {
|
|
2187
|
-
|
|
2387
|
+
It();
|
|
2188
2388
|
}
|
|
2189
2389
|
onChildrenOpen() {
|
|
2190
2390
|
var e;
|
|
@@ -2199,7 +2399,7 @@ var G = {
|
|
|
2199
2399
|
this.params !== void 0 && "onActivate" in this.params && ((e = (t = this.params).onActivate) == null || e.call(t, this.params));
|
|
2200
2400
|
}
|
|
2201
2401
|
addHint(e, t) {
|
|
2202
|
-
|
|
2402
|
+
Lt(e, new Di(t).getElement(), { placement: t.position });
|
|
2203
2403
|
}
|
|
2204
2404
|
getMountElement() {
|
|
2205
2405
|
return this.getElement();
|
|
@@ -2241,16 +2441,16 @@ var G = {
|
|
|
2241
2441
|
get isActive() {
|
|
2242
2442
|
return this.params === void 0 || !("isActive" in this.params) ? !1 : typeof this.params.isActive == "function" ? this.params.isActive() : this.params.isActive === !0;
|
|
2243
2443
|
}
|
|
2244
|
-
},
|
|
2444
|
+
}, G = {
|
|
2245
2445
|
item: "flex items-center select-none border-none bg-transparent rounded-lg px-2 py-1 text-text-primary mb-px outline-hidden max-h-8 overflow-hidden data-blok-popover-item-active:bg-icon-active-bg data-blok-popover-item-active:text-icon-active-text can-hover:hover:cursor-pointer can-hover:hover:bg-item-hover-bg data-blok-force-hover:cursor-pointer data-blok-force-hover:bg-item-hover-bg data-[blok-focused=\"true\"]:bg-item-focus-bg data-blok-popover-item-no-hover:hover:bg-transparent data-blok-popover-item-no-hover:cursor-default can-hover:data-blok-popover-item-destructive:hover:text-item-destructive-text can-hover:data-blok-popover-item-destructive:hover:bg-item-destructive-hover-bg [&[data-blok-popover-item-destructive][data-blok-force-hover]]:text-item-destructive-text [&[data-blok-popover-item-destructive][data-blok-force-hover]]:bg-item-destructive-hover-bg [&[data-blok-popover-item-destructive][data-blok-focused=\"true\"]]:text-item-destructive-text [&[data-blok-popover-item-destructive][data-blok-focused=\"true\"]]:bg-item-destructive-hover-bg",
|
|
2246
2446
|
itemDisabled: "cursor-default pointer-events-none text-text-secondary",
|
|
2247
2447
|
icon: "flex items-center justify-center w-6 h-6 shrink-0 rounded-lg bg-popover-icon-bg [&_svg]:w-4 [&_svg]:h-4",
|
|
2248
2448
|
focused: "is-focused"
|
|
2249
|
-
},
|
|
2449
|
+
}, ki = {
|
|
2250
2450
|
item: "rounded-md px-1 py-1.5",
|
|
2251
2451
|
itemIconOnly: "justify-center",
|
|
2252
2452
|
itemWithTitle: "px-2"
|
|
2253
|
-
},
|
|
2453
|
+
}, Ai = { item: "rounded p-[3px] mobile:p-1" }, K = class extends Oi {
|
|
2254
2454
|
get isDisabled() {
|
|
2255
2455
|
return this.params.isDisabled === !0;
|
|
2256
2456
|
}
|
|
@@ -2332,9 +2532,9 @@ var G = {
|
|
|
2332
2532
|
}
|
|
2333
2533
|
if (t.secondaryLabel) {
|
|
2334
2534
|
let n = document.createElement("div");
|
|
2335
|
-
if (n.className = "ml-auto shrink-0 inline-flex items-center whitespace-nowrap pl-20 leading-none text-text-secondary/60", n.setAttribute(a.popoverItemSecondaryTitle, ""), n.setAttribute("data-blok-testid", "popover-item-secondary-title"), n.innerHTML =
|
|
2535
|
+
if (n.className = "ml-auto shrink-0 inline-flex items-center whitespace-nowrap pl-20 leading-none text-text-secondary/60", n.setAttribute(a.popoverItemSecondaryTitle, ""), n.setAttribute("data-blok-testid", "popover-item-secondary-title"), n.innerHTML = U(t.secondaryLabel), e.appendChild(n), this.nodes.secondaryLabelEl = n, t.title !== void 0) {
|
|
2336
2536
|
var d;
|
|
2337
|
-
|
|
2537
|
+
Lt((d = n.firstElementChild) == null ? n : d, Ei(t.secondaryLabel), { placement: "top" });
|
|
2338
2538
|
}
|
|
2339
2539
|
}
|
|
2340
2540
|
if (t.trailingIcon) {
|
|
@@ -2343,7 +2543,7 @@ var G = {
|
|
|
2343
2543
|
}
|
|
2344
2544
|
if (this.hasChildren && !this.isChevronHidden) {
|
|
2345
2545
|
let t = document.createElement("div");
|
|
2346
|
-
t.className = this.getChevronClass(c), t.setAttribute(a.popoverItemIcon, ""), t.setAttribute(a.popoverItemIconChevronRight, ""), t.setAttribute("data-blok-testid", "popover-item-chevron-right"), t.innerHTML =
|
|
2546
|
+
t.className = this.getChevronClass(c), t.setAttribute(a.popoverItemIcon, ""), t.setAttribute(a.popoverItemIconChevronRight, ""), t.setAttribute("data-blok-testid", "popover-item-chevron-right"), t.innerHTML = Xn, e.appendChild(t), this.nodes.chevron = t;
|
|
2347
2547
|
}
|
|
2348
2548
|
}
|
|
2349
2549
|
createIconElement(e, t, n, r) {
|
|
@@ -2353,13 +2553,13 @@ var G = {
|
|
|
2353
2553
|
getContainerClass() {
|
|
2354
2554
|
var e, t, n, i;
|
|
2355
2555
|
let a = (e = (t = this.renderParams) == null ? void 0 : t.isInline) == null ? !1 : e, o = (n = (i = this.renderParams) == null ? void 0 : i.isNestedInline) == null ? !1 : n;
|
|
2356
|
-
return r(
|
|
2556
|
+
return r(G.item, !a && !o && "pl-2 pr-3", a && ki.item, a && this.params.icon && ki.itemIconOnly, a && this.params.title && ki.itemWithTitle, o && Ai.item, this.params.isDisabled && G.itemDisabled);
|
|
2357
2557
|
}
|
|
2358
2558
|
getIconClass(e, t, n) {
|
|
2359
|
-
return r(
|
|
2559
|
+
return r(G.icon, t && "w-auto h-auto bg-transparent [&_svg]:w-icon [&_svg]:h-icon mobile:[&_svg]:w-icon-mobile mobile:[&_svg]:h-icon-mobile", n && "w-toolbox-btn h-toolbox-btn", e && "mr-3", e && t && "shadow-none mr-0!", e && n && "mr-2!");
|
|
2360
2560
|
}
|
|
2361
2561
|
getChevronClass(e) {
|
|
2362
|
-
return r(
|
|
2562
|
+
return r(G.icon, "w-5 h-5 bg-transparent", e && "rotate-90");
|
|
2363
2563
|
}
|
|
2364
2564
|
setActive(e) {
|
|
2365
2565
|
this.nodes.root && (e ? this.nodes.root.setAttribute(a.popoverItemActive, "true") : this.nodes.root.removeAttribute(a.popoverItemActive));
|
|
@@ -2405,7 +2605,7 @@ var G = {
|
|
|
2405
2605
|
restoreOriginalSecondaryLabel() {
|
|
2406
2606
|
if (!this.nodes.secondaryLabelEl) return;
|
|
2407
2607
|
let e = this.params.secondaryLabel;
|
|
2408
|
-
this.nodes.secondaryLabelEl.innerHTML = e ?
|
|
2608
|
+
this.nodes.secondaryLabelEl.innerHTML = e ? U(e) : "", this.nodes.secondaryLabelEl.style.display = e ? "" : "none";
|
|
2409
2609
|
}
|
|
2410
2610
|
updateIcon(e) {
|
|
2411
2611
|
!this.nodes.icon || !e || (this.nodes.icon.innerHTML = e);
|
|
@@ -2414,7 +2614,7 @@ var G = {
|
|
|
2414
2614
|
!this.nodes.titleEl || e.title === void 0 || (this.nodes.titleEl.textContent = e.title);
|
|
2415
2615
|
}
|
|
2416
2616
|
updateSecondaryLabel(e) {
|
|
2417
|
-
this.nodes.secondaryLabelEl && (this.nodes.secondaryLabelEl.innerHTML = e ?
|
|
2617
|
+
this.nodes.secondaryLabelEl && (this.nodes.secondaryLabelEl.innerHTML = e ? U(e) : "", this.nodes.secondaryLabelEl.style.display = e ? "" : "none");
|
|
2418
2618
|
}
|
|
2419
2619
|
disableConfirmationMode() {
|
|
2420
2620
|
this.nodes.root !== null && (this.setConfirmation(null), this.confirmationState = null, this.disableSpecialHoverAndFocusBehavior());
|
|
@@ -2437,16 +2637,16 @@ var G = {
|
|
|
2437
2637
|
getIconElement() {
|
|
2438
2638
|
return this.nodes.icon;
|
|
2439
2639
|
}
|
|
2440
|
-
},
|
|
2640
|
+
}, q = {
|
|
2441
2641
|
container: "py-1.5 max-h-5 overflow-hidden",
|
|
2442
2642
|
containerHidden: "opacity-0 max-h-0! py-0!",
|
|
2443
2643
|
line: "h-px w-full bg-popover-border/60"
|
|
2444
|
-
},
|
|
2644
|
+
}, ji = {
|
|
2445
2645
|
container: "px-1 py-0 max-h-none",
|
|
2446
2646
|
line: "h-full w-px",
|
|
2447
2647
|
nestedContainer: "py-1 px-[3px]",
|
|
2448
2648
|
nestedLine: "w-full h-px"
|
|
2449
|
-
},
|
|
2649
|
+
}, Mi = class extends Oi {
|
|
2450
2650
|
constructor(e) {
|
|
2451
2651
|
var t, n;
|
|
2452
2652
|
super(), this.nodes = {
|
|
@@ -2463,11 +2663,11 @@ var G = {
|
|
|
2463
2663
|
this.nodes.root.className = e ? n : t, e ? this.nodes.root.setAttribute(a.hidden, "true") : this.nodes.root.removeAttribute(a.hidden);
|
|
2464
2664
|
}
|
|
2465
2665
|
getContainerClass(e) {
|
|
2466
|
-
let t =
|
|
2467
|
-
return this.isNestedInline ? r(t,
|
|
2666
|
+
let t = q.container;
|
|
2667
|
+
return this.isNestedInline ? r(t, ji.nestedContainer, e && q.containerHidden) : this.isInline ? r(t, ji.container, e && q.containerHidden) : r(t, e && q.containerHidden);
|
|
2468
2668
|
}
|
|
2469
2669
|
getLineClass() {
|
|
2470
|
-
return this.isNestedInline ? r(
|
|
2670
|
+
return this.isNestedInline ? r(q.line, ji.nestedLine) : this.isInline ? r(q.line, ji.line) : q.line;
|
|
2471
2671
|
}
|
|
2472
2672
|
createRootElement() {
|
|
2473
2673
|
let e = document.createElement("div");
|
|
@@ -2475,10 +2675,10 @@ var G = {
|
|
|
2475
2675
|
let t = document.createElement("div");
|
|
2476
2676
|
return t.className = this.getLineClass(), t.setAttribute(a.popoverItemSeparatorLine, ""), e.appendChild(t), this.nodes.line = t, e;
|
|
2477
2677
|
}
|
|
2478
|
-
},
|
|
2678
|
+
}, Ni = {
|
|
2479
2679
|
root: "",
|
|
2480
2680
|
rootHidden: "hidden"
|
|
2481
|
-
},
|
|
2681
|
+
}, Pi = { root: "flex items-center" }, J = class extends Oi {
|
|
2482
2682
|
constructor(e, t) {
|
|
2483
2683
|
var n;
|
|
2484
2684
|
super(e), this.nodes = { root: null }, this.isHidden = !1, this.isInline = (n = t == null ? void 0 : t.isInline) == null ? !1 : n, this.nodes.root = this.createRootElement(e, t);
|
|
@@ -2495,12 +2695,12 @@ var G = {
|
|
|
2495
2695
|
return Array.from(e);
|
|
2496
2696
|
}
|
|
2497
2697
|
updateRootClasses() {
|
|
2498
|
-
this.nodes.root && (this.nodes.root.className = r(
|
|
2698
|
+
this.nodes.root && (this.nodes.root.className = r(Ni.root, this.isInline && Pi.root, this.isHidden && Ni.rootHidden));
|
|
2499
2699
|
}
|
|
2500
2700
|
createRootElement(e, t) {
|
|
2501
2701
|
var i;
|
|
2502
2702
|
let o = document.createElement("div");
|
|
2503
|
-
if (o.className = r(
|
|
2703
|
+
if (o.className = r(Ni.root, this.isInline && Pi.root), o.setAttribute(a.popoverItemHtml, ""), o.setAttribute("data-blok-testid", "popover-item-html"), e.name && o.setAttribute("data-blok-item-name", e.name), o.appendChild(e.element), e.hint !== void 0 && (t == null || (i = t.hint) == null ? void 0 : i.enabled) !== !1) {
|
|
2504
2704
|
var s, c;
|
|
2505
2705
|
this.addHint(o, n(n({}, e.hint), {}, {
|
|
2506
2706
|
position: (t == null || (s = t.hint) == null ? void 0 : s.position) || "right",
|
|
@@ -2509,11 +2709,11 @@ var G = {
|
|
|
2509
2709
|
}
|
|
2510
2710
|
return o;
|
|
2511
2711
|
}
|
|
2512
|
-
},
|
|
2712
|
+
}, Fi = {
|
|
2513
2713
|
wrapper: "bg-search-input-bg border border-search-input-border rounded-lg px-2 py-0.5 grid grid-cols-[auto_1fr] grid-rows-[auto] focus-within:border-search-input-focus-border focus-within:shadow-[0_0_0_2px_rgba(35,131,226,0.15)]",
|
|
2514
2714
|
icon: "w-6 h-6 flex items-center justify-center mr-1.5 [&_svg]:w-4 [&_svg]:h-4 [&_svg]:text-gray-text",
|
|
2515
2715
|
input: "text-sm outline-hidden font-medium font-inherit border-0 bg-transparent m-0 p-0 leading-[20px] min-w-[calc(100%-(--spacing(6))-6px)] text-text-primary placeholder:text-gray-text/80 placeholder:font-normal"
|
|
2516
|
-
},
|
|
2716
|
+
}, Ii = (e, t) => {
|
|
2517
2717
|
if (e.length === 0) return t.length;
|
|
2518
2718
|
if (t.length === 0) return e.length;
|
|
2519
2719
|
let n = Array.from({ length: t.length + 1 }, (e, t) => t), r = Array(t.length + 1);
|
|
@@ -2526,37 +2726,37 @@ var G = {
|
|
|
2526
2726
|
n.splice(0, n.length, ...r);
|
|
2527
2727
|
}
|
|
2528
2728
|
return n[t.length];
|
|
2529
|
-
},
|
|
2729
|
+
}, Li = (e, t) => [...e].reduce((e, n) => e < t.length && n === t[e] ? e + 1 : e, 0) === t.length, Ri = (e, t) => [...e].reduce((n, r, i) => {
|
|
2530
2730
|
let a = i === 0 || e[i - 1] === " " || e[i - 1] === "-" || e[i - 1] === "_";
|
|
2531
2731
|
return n < t.length && a && r === t[n] ? n + 1 : n;
|
|
2532
|
-
}, 0) === t.length,
|
|
2732
|
+
}, 0) === t.length, zi = (e, t) => {
|
|
2533
2733
|
if (e === t) return 100;
|
|
2534
2734
|
if (e.startsWith(t)) return 90;
|
|
2535
2735
|
if (e.includes(t)) return 75;
|
|
2536
|
-
if (t.length >= 2 &&
|
|
2537
|
-
if (t.length >= 2 &&
|
|
2736
|
+
if (t.length >= 2 && Ri(e, t)) return 55;
|
|
2737
|
+
if (t.length >= 2 && Li(e, t)) return 35;
|
|
2538
2738
|
if (t.length >= 3) {
|
|
2539
2739
|
let n = Math.floor(t.length / 3);
|
|
2540
|
-
if (
|
|
2740
|
+
if (Ii(e, t) <= n) return 15;
|
|
2541
2741
|
}
|
|
2542
2742
|
return 0;
|
|
2543
|
-
},
|
|
2743
|
+
}, Bi = (e, t) => {
|
|
2544
2744
|
if (t === "") return 100;
|
|
2545
2745
|
let n = t.toLowerCase(), r = [];
|
|
2546
2746
|
if (e.title !== void 0 && r.push(e.title.toLowerCase()), e.englishTitle !== void 0 && r.push(e.englishTitle.toLowerCase()), e.searchTerms !== void 0) for (let t of e.searchTerms) r.push(t.toLowerCase());
|
|
2547
2747
|
return r.reduce((e, t) => {
|
|
2548
|
-
let r =
|
|
2748
|
+
let r = zi(t, n);
|
|
2549
2749
|
return r > e ? r : e;
|
|
2550
2750
|
}, 0);
|
|
2551
|
-
},
|
|
2751
|
+
}, Vi = /* @__PURE__ */ function(e) {
|
|
2552
2752
|
return e.Search = "search", e;
|
|
2553
|
-
}({}),
|
|
2753
|
+
}({}), Hi = class extends Re {
|
|
2554
2754
|
constructor({ items: e, placeholder: t }) {
|
|
2555
2755
|
super(), this.searchQuery = "", this.handleValueChange = () => {
|
|
2556
2756
|
this.applySearch(this.input.value);
|
|
2557
|
-
}, this.listeners = new Oe(), this.items = e, this.wrapper = T.make("div",
|
|
2558
|
-
let n = T.make("div",
|
|
2559
|
-
this.input = T.make("input",
|
|
2757
|
+
}, this.listeners = new Oe(), this.items = e, this.wrapper = T.make("div", Fi.wrapper), this.wrapper.setAttribute("data-blok-testid", "popover-search-field");
|
|
2758
|
+
let n = T.make("div", Fi.icon, { innerHTML: Zn });
|
|
2759
|
+
this.input = T.make("input", Fi.input, {
|
|
2560
2760
|
type: "search",
|
|
2561
2761
|
placeholder: t,
|
|
2562
2762
|
tabIndex: -1
|
|
@@ -2579,7 +2779,7 @@ var G = {
|
|
|
2579
2779
|
this.input.value = "";
|
|
2580
2780
|
}
|
|
2581
2781
|
applySearch(e) {
|
|
2582
|
-
this.searchQuery !== e && (this.searchQuery = e, this.emit(
|
|
2782
|
+
this.searchQuery !== e && (this.searchQuery = e, this.emit(Vi.Search, {
|
|
2583
2783
|
query: e,
|
|
2584
2784
|
items: this.foundItems
|
|
2585
2785
|
}));
|
|
@@ -2607,10 +2807,10 @@ var G = {
|
|
|
2607
2807
|
get foundItems() {
|
|
2608
2808
|
return this.items.map((e) => ({
|
|
2609
2809
|
item: e,
|
|
2610
|
-
score:
|
|
2810
|
+
score: Bi(e, this.searchQuery)
|
|
2611
2811
|
})).filter(({ score: e }) => e > 0).sort((e, t) => t.score - e.score).map(({ item: e }) => e);
|
|
2612
2812
|
}
|
|
2613
|
-
},
|
|
2813
|
+
}, Ui, Y = class e {
|
|
2614
2814
|
constructor() {
|
|
2615
2815
|
this.stack = [], this.boundPointerDown = null;
|
|
2616
2816
|
}
|
|
@@ -2662,7 +2862,7 @@ var G = {
|
|
|
2662
2862
|
t !== -1 && this.stack.splice(t, 1);
|
|
2663
2863
|
}
|
|
2664
2864
|
};
|
|
2665
|
-
|
|
2865
|
+
Ui = Y, Ui._instance = null;
|
|
2666
2866
|
//#endregion
|
|
2667
2867
|
//#region src/components/utils/popover/popover.const.ts
|
|
2668
2868
|
var X = {
|
|
@@ -2672,17 +2872,17 @@ var X = {
|
|
|
2672
2872
|
popoverOverlay: "hidden bg-dark",
|
|
2673
2873
|
items: "flex-1 min-h-0 overflow-y-auto overscroll-contain pb-1.5",
|
|
2674
2874
|
scrollHaze: "absolute inset-x-0 h-6 pointer-events-none z-1 transition-opacity duration-300 ease-in-out"
|
|
2675
|
-
},
|
|
2875
|
+
}, Wi = {
|
|
2676
2876
|
popover: "relative",
|
|
2677
2877
|
popoverContainer: "flex-row top-0 min-w-max w-max p-1 mobile:absolute",
|
|
2678
2878
|
popoverContainerOpened: "pb-1.5"
|
|
2679
|
-
},
|
|
2879
|
+
}, Gi = (e) => `level-${e}`, Z = /* @__PURE__ */ function(e) {
|
|
2680
2880
|
return e.NestingLevel = "--nesting-level", e.PopoverHeight = "--popover-height", e.InlinePopoverWidth = "--inline-popover-width", e.PopoverTop = "--popover-top", e.PopoverLeft = "--popover-left", e.TriggerItemLeft = "--trigger-item-left", e.TriggerItemTop = "--trigger-item-top", e;
|
|
2681
2881
|
}({}), Q = /* @__PURE__ */ function(e) {
|
|
2682
2882
|
return e.Closed = "closed", e.ClosedOnActivate = "closed-on-activate", e;
|
|
2683
|
-
}({}),
|
|
2883
|
+
}({}), Ki = class extends Re {
|
|
2684
2884
|
get itemsDefault() {
|
|
2685
|
-
return this.items.filter((e) => e instanceof
|
|
2885
|
+
return this.items.filter((e) => e instanceof K);
|
|
2686
2886
|
}
|
|
2687
2887
|
constructor(e, t = {}) {
|
|
2688
2888
|
super(), this.params = e, this.itemsRenderParams = t, this.listeners = new Oe(), this.messages = {
|
|
@@ -2705,15 +2905,15 @@ var X = {
|
|
|
2705
2905
|
let n = this.nodes.popover;
|
|
2706
2906
|
n !== null && !n.isConnected && document.body.appendChild(n);
|
|
2707
2907
|
let i = ((e = this.params.nestingLevel) == null ? 0 : e) === 0, o = this.params.trigger !== void 0;
|
|
2708
|
-
n !== null && i && o &&
|
|
2908
|
+
n !== null && i && o && P() && xt(n), this.nodes.popover.setAttribute(a.popoverOpened, "true"), this.nodes.popoverContainer.className = r(this.nodes.popoverContainer.className, X.popoverContainerOpened), this.itemsDefault.forEach((e) => this.refreshItemActiveState(e)), this.search !== void 0 && this.search.focus(), this.nodes.scrollHazeTop.style.transition = "none", this.nodes.scrollHazeBottom.style.transition = "none", this.updateScrollHazes(), requestAnimationFrame(() => {
|
|
2709
2909
|
this.nodes.scrollHazeTop.style.transition = "", this.nodes.scrollHazeBottom.style.transition = "";
|
|
2710
2910
|
});
|
|
2711
2911
|
let { trigger: s } = this.params;
|
|
2712
|
-
((t = this.params.nestingLevel) == null ? 0 : t) === 0 && s !== void 0 &&
|
|
2912
|
+
((t = this.params.nestingLevel) == null ? 0 : t) === 0 && s !== void 0 && Y.instance.register(this, s);
|
|
2713
2913
|
}
|
|
2714
2914
|
hide() {
|
|
2715
2915
|
let e = this.nodes.popover;
|
|
2716
|
-
e !== null &&
|
|
2916
|
+
e !== null && P() && Ct(e) && St(e), this.nodes.popover.removeAttribute(a.popoverOpened), this.nodes.popover.removeAttribute(a.popoverOpenTop), this.nodes.popover.removeAttribute(a.popoverOpenLeft), this.nodes.popoverContainer.className = X.popoverContainer, this.itemsDefault.forEach((e) => e.reset()), this.nodes.scrollHazeTop.style.opacity = "0", this.nodes.scrollHazeBottom.style.opacity = "0", this.search !== void 0 && this.search.clear(), Y.instance.unregister(this), this.emit(Q.Closed);
|
|
2717
2917
|
}
|
|
2718
2918
|
destroy() {
|
|
2719
2919
|
var e, t;
|
|
@@ -2754,21 +2954,21 @@ var X = {
|
|
|
2754
2954
|
buildItems(e) {
|
|
2755
2955
|
return e.map((e) => {
|
|
2756
2956
|
switch (e.type) {
|
|
2757
|
-
case
|
|
2758
|
-
case
|
|
2759
|
-
case
|
|
2760
|
-
case void 0: return new
|
|
2957
|
+
case j.Separator: return new Mi(this.itemsRenderParams[j.Separator]);
|
|
2958
|
+
case j.Html: return new J(e, this.itemsRenderParams[j.Html]);
|
|
2959
|
+
case j.Default:
|
|
2960
|
+
case void 0: return new K(e, this.itemsRenderParams[j.Default]);
|
|
2761
2961
|
}
|
|
2762
2962
|
});
|
|
2763
2963
|
}
|
|
2764
2964
|
getTargetItem(e) {
|
|
2765
|
-
return this.items.filter((e) => e instanceof
|
|
2965
|
+
return this.items.filter((e) => e instanceof K || e instanceof J).find((t) => {
|
|
2766
2966
|
let n = t.getElement();
|
|
2767
2967
|
return n === null ? !1 : e.composedPath().includes(n);
|
|
2768
2968
|
});
|
|
2769
2969
|
}
|
|
2770
2970
|
handleItemClick(e) {
|
|
2771
|
-
if (!(e instanceof
|
|
2971
|
+
if (!(e instanceof K && e.isDisabled)) {
|
|
2772
2972
|
if (e.hasChildren) {
|
|
2773
2973
|
this.showNestedItems(e), this.callHandleClickIfPresent(e);
|
|
2774
2974
|
return;
|
|
@@ -2781,7 +2981,7 @@ var X = {
|
|
|
2781
2981
|
t !== void 0 && this.handleItemClick(t);
|
|
2782
2982
|
}
|
|
2783
2983
|
toggleItemActivenessIfNeeded(e) {
|
|
2784
|
-
if (!(e instanceof
|
|
2984
|
+
if (!(e instanceof K) || (e.toggle === !0 && e.toggleActive(), typeof e.toggle != "string")) return;
|
|
2785
2985
|
let t = this.itemsDefault.filter((t) => t.toggle === e.toggle);
|
|
2786
2986
|
if (t.length === 1) {
|
|
2787
2987
|
e.toggleActive();
|
|
@@ -2792,7 +2992,7 @@ var X = {
|
|
|
2792
2992
|
});
|
|
2793
2993
|
}
|
|
2794
2994
|
refreshItemActiveState(e) {
|
|
2795
|
-
e instanceof
|
|
2995
|
+
e instanceof K && e.toggle === void 0 && e.toggleActive(e.isActive);
|
|
2796
2996
|
}
|
|
2797
2997
|
callHandleClickIfPresent(e) {
|
|
2798
2998
|
"handleClick" in e && typeof e.handleClick == "function" && e.handleClick();
|
|
@@ -2860,7 +3060,7 @@ var X = {
|
|
|
2860
3060
|
};
|
|
2861
3061
|
//#endregion
|
|
2862
3062
|
//#region src/components/utils/popover/popover-nested-position.ts
|
|
2863
|
-
function
|
|
3063
|
+
function qi(e) {
|
|
2864
3064
|
let { parentRect: t, nestedWidth: n, viewportWidth: r, parentPrefersLeft: i, overlap: a = 4 } = e, o = Math.max(0, t.left), s = Math.max(0, r - t.right + a), c = n <= o, l = n <= s;
|
|
2865
3065
|
if (i) {
|
|
2866
3066
|
if (c) return { openLeft: !0 };
|
|
@@ -2871,16 +3071,16 @@ function Si(e) {
|
|
|
2871
3071
|
}
|
|
2872
3072
|
return { openLeft: o > s };
|
|
2873
3073
|
}
|
|
2874
|
-
function
|
|
3074
|
+
function Ji(e) {
|
|
2875
3075
|
let { desiredTop: t, nestedHeight: n, viewportHeight: r, margin: i = 8 } = e, a = i, o = r - n - i;
|
|
2876
3076
|
return o < a ? { top: a } : { top: Math.max(a, Math.min(o, t)) };
|
|
2877
3077
|
}
|
|
2878
3078
|
//#endregion
|
|
2879
3079
|
//#region src/components/utils/popover/popover-position.ts
|
|
2880
|
-
function
|
|
3080
|
+
function Yi(e, t, n) {
|
|
2881
3081
|
return e <= t ? !1 : e <= n;
|
|
2882
3082
|
}
|
|
2883
|
-
function
|
|
3083
|
+
function Xi(e) {
|
|
2884
3084
|
var t;
|
|
2885
3085
|
let { anchor: n, popoverSize: r, scopeBounds: i, viewportSize: a, scrollOffset: o, offset: s = 8, leftAlignRect: c, placeLeftOfAnchor: l = !1, viewportMargin: u = 0 } = e, d = Math.min(a.height, i.bottom), f = Math.max(0, i.top), p = Math.min(a.width, i.right), m = Math.max(0, i.left), h = i.top + o.y;
|
|
2886
3086
|
if (l) {
|
|
@@ -2892,7 +3092,7 @@ function Ti(e) {
|
|
|
2892
3092
|
openLeft: !0
|
|
2893
3093
|
};
|
|
2894
3094
|
}
|
|
2895
|
-
let g = d - n.bottom - s, _ = n.top - s - f, v =
|
|
3095
|
+
let g = d - n.bottom - s, _ = n.top - s - f, v = Yi(r.height, g, _), y = v ? n.top - s - r.height + o.y : n.bottom + s + o.y, ee = y < h ? h : y, b = ((t = c == null ? void 0 : c.left) == null ? n.left : t) + o.x, te = n.right + o.x, ne = p + o.x - b, re = te - m - o.x, x = Yi(r.width, ne, re), S = x ? Math.max(m + o.x, n.right - r.width + o.x) : b;
|
|
2896
3096
|
return {
|
|
2897
3097
|
top: ee,
|
|
2898
3098
|
left: S + r.width > p + o.x ? Math.max(m + o.x, p + o.x - r.width) : S,
|
|
@@ -2905,11 +3105,11 @@ function Ti(e) {
|
|
|
2905
3105
|
var $ = {
|
|
2906
3106
|
x: null,
|
|
2907
3107
|
y: null
|
|
2908
|
-
},
|
|
2909
|
-
typeof document < "u" && !document[
|
|
3108
|
+
}, Zi = "__blokPopoverPointerTracker__";
|
|
3109
|
+
typeof document < "u" && !document[Zi] && (document.addEventListener("mousemove", (e) => {
|
|
2910
3110
|
$.x = e.clientX, $.y = e.clientY;
|
|
2911
|
-
}, { capture: !0 }), document[
|
|
2912
|
-
var
|
|
3111
|
+
}, { capture: !0 }), document[Zi] = !0);
|
|
3112
|
+
var Qi = class e extends Ki {
|
|
2913
3113
|
setLeftAlignElement(e) {
|
|
2914
3114
|
this.leftAlignElement = e;
|
|
2915
3115
|
}
|
|
@@ -2927,7 +3127,7 @@ var Di = class e extends xi {
|
|
|
2927
3127
|
this.nodes.contextLabel !== void 0 && (n ? (this.nodes.contextLabel.removeAttribute(a.hidden), this.nodes.contextLabel.classList.remove("hidden")) : (this.nodes.contextLabel.setAttribute(a.hidden, "true"), this.nodes.contextLabel.classList.add("hidden")));
|
|
2928
3128
|
let i = !n && e.promotedItems.length > 0 ? this.deduplicateAgainstPromoted(r, e.promotedItems) : r, o = i.length === 0 && e.promotedItems.length === 0;
|
|
2929
3129
|
this.items.forEach((e) => {
|
|
2930
|
-
let t = e instanceof
|
|
3130
|
+
let t = e instanceof K, r = e instanceof Mi || e instanceof J, a = t ? !i.includes(e) || e.name !== void 0 && this.isNamePermanentlyHidden(e.name) : r && (o || !n);
|
|
2931
3131
|
e.toggleHidden(a);
|
|
2932
3132
|
}), this._size = void 0, !n && i.length > 0 ? this.reorderItemsByRank(i) : n && this.originalItemOrder !== void 0 && this.restoreOriginalItemOrder();
|
|
2933
3133
|
for (let e of this.promotedSeparators) e.remove();
|
|
@@ -2968,11 +3168,16 @@ var Di = class e extends xi {
|
|
|
2968
3168
|
}
|
|
2969
3169
|
let u = n ? this.flippableElements : i.map((e) => e.getElement()), d = e.promotedItems.map(({ item: e }) => e.getElement()), f = [...u, ...d].filter((e) => e !== null);
|
|
2970
3170
|
(t = this.flipper) != null && t.isActivated && (this.flipper.deactivate(), this.flipper.activate(f), f.length > 0 && this.flipper.focusItem(0, { skipNextTab: !0 }));
|
|
2971
|
-
}, e.trigger
|
|
3171
|
+
}, e.trigger) {
|
|
3172
|
+
this.trigger = e.trigger;
|
|
3173
|
+
let t = e.trigger.getBoundingClientRect();
|
|
3174
|
+
(t.width > 0 || t.height > 0) && (this.capturedTriggerRect = t);
|
|
3175
|
+
}
|
|
3176
|
+
if (e.leftAlignElement && (this.leftAlignElement = e.leftAlignElement), e.placeLeftOfAnchor === !0 && (this.placeLeftOfAnchor = !0), typeof e.viewportMargin == "number" && (this.viewportMargin = e.viewportMargin), e.nestingLevel !== void 0 && (this.nestingLevel = e.nestingLevel), this.nestingLevel > 0 && this.nodes.popover.setAttribute(a.nested, "true"), e.scopeElement !== void 0 && (this.scopeElement = e.scopeElement), this.nodes.popoverContainer !== null && (this.listeners.on(this.nodes.popoverContainer, "mouseover", (e) => this.handleHover(e)), this.listeners.on(this.nodes.popoverContainer, "mouseleave", (e) => this.handleMouseLeave(e))), e.searchable && this.addSearch(), e.flippable === !1) return;
|
|
2972
3177
|
let r = e.flipper;
|
|
2973
|
-
r === void 0 ? this.flipper = new
|
|
3178
|
+
r === void 0 ? this.flipper = new Gt({
|
|
2974
3179
|
items: this.flippableElements,
|
|
2975
|
-
focusedItemClass:
|
|
3180
|
+
focusedItemClass: G.focused,
|
|
2976
3181
|
allowedKeys: [
|
|
2977
3182
|
s.TAB,
|
|
2978
3183
|
s.UP,
|
|
@@ -3010,7 +3215,7 @@ var Di = class e extends xi {
|
|
|
3010
3215
|
this.nodes.popover.style.setProperty("--width", t + "px");
|
|
3011
3216
|
}
|
|
3012
3217
|
if (!this.trigger) {
|
|
3013
|
-
let { openTop: e, openLeft: t } =
|
|
3218
|
+
let { openTop: e, openLeft: t } = Xi({
|
|
3014
3219
|
anchor: this.nodes.popoverContainer.getBoundingClientRect(),
|
|
3015
3220
|
popoverSize: n,
|
|
3016
3221
|
scopeBounds: this.scopeElement.getBoundingClientRect(),
|
|
@@ -3046,16 +3251,16 @@ var Di = class e extends xi {
|
|
|
3046
3251
|
}
|
|
3047
3252
|
calculatePosition() {
|
|
3048
3253
|
var e, t;
|
|
3049
|
-
let n = this.params.position, r =
|
|
3050
|
-
if (!
|
|
3254
|
+
let n = this.params.position, r = (e = this.trigger) == null ? void 0 : e.getBoundingClientRect(), i = r !== void 0 && r.width === 0 && r.height === 0 && this.capturedTriggerRect !== void 0 ? this.capturedTriggerRect : r, a = n == null ? i : n;
|
|
3255
|
+
if (!a) return {
|
|
3051
3256
|
top: 0,
|
|
3052
3257
|
left: 0,
|
|
3053
3258
|
openTop: !1,
|
|
3054
3259
|
openLeft: !1
|
|
3055
3260
|
};
|
|
3056
|
-
let
|
|
3057
|
-
return
|
|
3058
|
-
anchor:
|
|
3261
|
+
let o = n === void 0 ? (t = this.leftAlignElement) == null ? void 0 : t.getBoundingClientRect() : void 0;
|
|
3262
|
+
return Xi({
|
|
3263
|
+
anchor: a,
|
|
3059
3264
|
popoverSize: this.size,
|
|
3060
3265
|
scopeBounds: this.scopeElement.getBoundingClientRect(),
|
|
3061
3266
|
viewportSize: {
|
|
@@ -3067,7 +3272,7 @@ var Di = class e extends xi {
|
|
|
3067
3272
|
y: window.scrollY
|
|
3068
3273
|
},
|
|
3069
3274
|
offset: 8,
|
|
3070
|
-
leftAlignRect:
|
|
3275
|
+
leftAlignRect: o,
|
|
3071
3276
|
placeLeftOfAnchor: this.placeLeftOfAnchor,
|
|
3072
3277
|
viewportMargin: this.viewportMargin
|
|
3073
3278
|
});
|
|
@@ -3122,7 +3327,7 @@ var Di = class e extends xi {
|
|
|
3122
3327
|
t instanceof Node && this.nestedPopover !== void 0 && this.nestedPopover !== null && this.nestedPopover.hasNode(t) || (this.destroyNestedPopoverIfExists(!1), this.previouslyHoveredItem = null);
|
|
3123
3328
|
}
|
|
3124
3329
|
getTargetItem(e) {
|
|
3125
|
-
return (this.promotedItemCache === null ? this.items : [...this.items, ...this.promotedItemCache.items]).filter((e) => e instanceof
|
|
3330
|
+
return (this.promotedItemCache === null ? this.items : [...this.items, ...this.promotedItemCache.items]).filter((e) => e instanceof K || e instanceof J).find((t) => {
|
|
3126
3331
|
let n = t.getElement();
|
|
3127
3332
|
return n === null ? !1 : e.composedPath().includes(n);
|
|
3128
3333
|
});
|
|
@@ -3178,7 +3383,7 @@ var Di = class e extends xi {
|
|
|
3178
3383
|
this.nodes.popover.hasAttribute(a.popoverOpenTop);
|
|
3179
3384
|
let d = this.nodes.popover.hasAttribute(a.popoverOpenLeft);
|
|
3180
3385
|
c.style.position = "absolute";
|
|
3181
|
-
let f = this.nodes.popoverContainer.offsetWidth, p = this.params.width === void 0 || this.params.width === "auto" ? `${f}px` : "var(--width)", m = this.nodes.popoverContainer.getBoundingClientRect(), h = (n = (r = this.nestedPopover) == null ? void 0 : r.size.width) == null ? f : n, { openLeft: g } =
|
|
3386
|
+
let f = this.nodes.popoverContainer.offsetWidth, p = this.params.width === void 0 || this.params.width === "auto" ? `${f}px` : "var(--width)", m = this.nodes.popoverContainer.getBoundingClientRect(), h = (n = (r = this.nestedPopover) == null ? void 0 : r.size.width) == null ? f : n, { openLeft: g } = qi({
|
|
3182
3387
|
parentRect: {
|
|
3183
3388
|
left: m.left,
|
|
3184
3389
|
right: m.right,
|
|
@@ -3191,7 +3396,7 @@ var Di = class e extends xi {
|
|
|
3191
3396
|
g ? u.style.setProperty(Z.PopoverLeft, `calc(-1 * (var(--nesting-level) + 1) * ${p} + 100%)`) : u.style.setProperty(Z.PopoverLeft, `calc(var(--nesting-level) * (${p} - var(--nested-popover-overlap)))`);
|
|
3192
3397
|
let _ = t.getElement(), v = _ == null ? void 0 : _.getBoundingClientRect(), y = (i = (o = this.nestedPopover) == null ? void 0 : o.size.height) == null ? 0 : i;
|
|
3193
3398
|
if (v && y > 0) {
|
|
3194
|
-
let { top: e } =
|
|
3399
|
+
let { top: e } = Ji({
|
|
3195
3400
|
desiredTop: v.top + v.height / 2 - y / 2,
|
|
3196
3401
|
nestedHeight: y,
|
|
3197
3402
|
viewportHeight: window.innerHeight
|
|
@@ -3208,7 +3413,7 @@ var Di = class e extends xi {
|
|
|
3208
3413
|
};
|
|
3209
3414
|
if (this.nodes.popover === null) return t;
|
|
3210
3415
|
let n = this.nodes.popover.cloneNode(!0);
|
|
3211
|
-
n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "-1000px",
|
|
3416
|
+
n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "-1000px", wt(n), n.setAttribute(a.popoverOpened, "true"), (e = n.querySelector(`[${a.nested}]`)) == null || e.remove();
|
|
3212
3417
|
let i = n.querySelector(`[${a.popoverContainer}]`);
|
|
3213
3418
|
return i.className = r(i.className, X.popoverContainerOpened), document.body.appendChild(n), t.height = i.offsetHeight, t.width = i.offsetWidth, n.remove(), this._size = t, t;
|
|
3214
3419
|
}
|
|
@@ -3219,11 +3424,11 @@ var Di = class e extends xi {
|
|
|
3219
3424
|
return this.items.flatMap((e) => this.getFlippableElementsForItem(e)).filter((e) => e != null);
|
|
3220
3425
|
}
|
|
3221
3426
|
getFlippableElementsForItem(e) {
|
|
3222
|
-
if (e instanceof
|
|
3427
|
+
if (e instanceof J) {
|
|
3223
3428
|
let t = e.getElement();
|
|
3224
3429
|
return t ? [t] : [];
|
|
3225
3430
|
}
|
|
3226
|
-
if (!(e instanceof
|
|
3431
|
+
if (!(e instanceof K) || e.isDisabled) return [];
|
|
3227
3432
|
let t = e.getElement();
|
|
3228
3433
|
return t ? [t] : [];
|
|
3229
3434
|
}
|
|
@@ -3237,15 +3442,15 @@ var Di = class e extends xi {
|
|
|
3237
3442
|
collectPromotedChildren(e, t, n) {
|
|
3238
3443
|
for (let a of e) {
|
|
3239
3444
|
var r, i;
|
|
3240
|
-
if (!(a instanceof
|
|
3445
|
+
if (!(a instanceof K) || !a.hasChildren) continue;
|
|
3241
3446
|
let e = (r = (i = a.title) == null ? a.name : i) == null ? "" : r, o = [...t, e];
|
|
3242
3447
|
this.collectDefaultChildren(a.children, o, n);
|
|
3243
3448
|
}
|
|
3244
3449
|
}
|
|
3245
3450
|
collectDefaultChildren(e, t, n) {
|
|
3246
3451
|
for (let r of e) {
|
|
3247
|
-
if (r.type !== void 0 && r.type !==
|
|
3248
|
-
let e = new
|
|
3452
|
+
if (r.type !== void 0 && r.type !== j.Default) continue;
|
|
3453
|
+
let e = new K(r);
|
|
3249
3454
|
if (e.name !== void 0 && this.isNamePermanentlyHidden(e.name)) {
|
|
3250
3455
|
e.destroy();
|
|
3251
3456
|
continue;
|
|
@@ -3279,13 +3484,13 @@ var Di = class e extends xi {
|
|
|
3279
3484
|
deduplicateAgainstPromoted(e, t) {
|
|
3280
3485
|
let n = /* @__PURE__ */ new Set();
|
|
3281
3486
|
for (let { item: e } of t) e.title !== void 0 && n.add(e.title.toLowerCase());
|
|
3282
|
-
return e.filter((e) => !(e instanceof
|
|
3487
|
+
return e.filter((e) => !(e instanceof K) || e.title === void 0 ? !0 : !n.has(e.title.toLowerCase()));
|
|
3283
3488
|
}
|
|
3284
3489
|
addSearch() {
|
|
3285
|
-
this.search = new
|
|
3490
|
+
this.search = new Hi({
|
|
3286
3491
|
items: this.itemsDefault,
|
|
3287
3492
|
placeholder: this.messages.search
|
|
3288
|
-
}), this.search.on(
|
|
3493
|
+
}), this.search.on(Vi.Search, (e) => {
|
|
3289
3494
|
if (e.query === "") {
|
|
3290
3495
|
this.cleanupPromotedItems(), this.onSearch({
|
|
3291
3496
|
query: e.query,
|
|
@@ -3299,7 +3504,7 @@ var Di = class e extends xi {
|
|
|
3299
3504
|
var r;
|
|
3300
3505
|
return {
|
|
3301
3506
|
item: n,
|
|
3302
|
-
score:
|
|
3507
|
+
score: Bi(n, e.query),
|
|
3303
3508
|
chain: (r = t.get(n)) == null ? [] : r
|
|
3304
3509
|
};
|
|
3305
3510
|
}).filter(({ score: e }) => e > 0).sort((e, t) => t.score - e.score);
|
|
@@ -3324,12 +3529,12 @@ var Di = class e extends xi {
|
|
|
3324
3529
|
this.promotedItemCache === null && (this.promotedItemCache = this.buildPromotedItemCache());
|
|
3325
3530
|
let t = this.itemsDefault.map((t) => ({
|
|
3326
3531
|
item: t,
|
|
3327
|
-
score:
|
|
3532
|
+
score: Bi(t, e)
|
|
3328
3533
|
})).filter(({ score: e }) => e > 0).sort((e, t) => t.score - e.score), { parentChains: n } = this.promotedItemCache, r = this.promotedItemCache.items.map((t) => {
|
|
3329
3534
|
var r;
|
|
3330
3535
|
return {
|
|
3331
3536
|
item: t,
|
|
3332
|
-
score:
|
|
3537
|
+
score: Bi(t, e),
|
|
3333
3538
|
chain: (r = n.get(t)) == null ? [] : r
|
|
3334
3539
|
};
|
|
3335
3540
|
}).filter(({ score: e }) => e > 0).sort((e, t) => t.score - e.score);
|
|
@@ -3354,28 +3559,28 @@ var Di = class e extends xi {
|
|
|
3354
3559
|
this.originalItemOrder = void 0;
|
|
3355
3560
|
}
|
|
3356
3561
|
}
|
|
3357
|
-
},
|
|
3562
|
+
}, $i = (e) => {
|
|
3358
3563
|
e.style.color = "white", e.style.fontWeight = "500";
|
|
3359
|
-
},
|
|
3564
|
+
}, ea = function(e) {
|
|
3360
3565
|
let t = T.make("div");
|
|
3361
3566
|
return t.style.display = "flex", t.style.flexDirection = "column", t.style.gap = "4px", t.style.color = "rgba(255, 255, 255, 0.55)", e.forEach((e) => {
|
|
3362
3567
|
let n = T.make("div");
|
|
3363
3568
|
if (Array.isArray(e)) e.forEach((e) => {
|
|
3364
3569
|
if (e.highlight) {
|
|
3365
3570
|
let t = T.make("span", null, { textContent: e.text });
|
|
3366
|
-
|
|
3571
|
+
$i(t), n.appendChild(t);
|
|
3367
3572
|
} else n.appendChild(document.createTextNode(e.text));
|
|
3368
3573
|
});
|
|
3369
3574
|
else {
|
|
3370
3575
|
let t = e.indexOf(" ");
|
|
3371
3576
|
if (t > 0) {
|
|
3372
3577
|
let r = e.substring(0, t), i = e.substring(t), a = T.make("span", null, { textContent: r });
|
|
3373
|
-
|
|
3578
|
+
$i(a), n.appendChild(a), n.appendChild(document.createTextNode(i));
|
|
3374
3579
|
} else n.appendChild(document.createTextNode(e));
|
|
3375
3580
|
}
|
|
3376
3581
|
t.appendChild(n);
|
|
3377
3582
|
}), t;
|
|
3378
|
-
},
|
|
3583
|
+
}, ta, na = class {
|
|
3379
3584
|
constructor({ api: e }) {
|
|
3380
3585
|
this.i18nAPI = e.i18n, this.blocksAPI = e.blocks, this.selectionAPI = e.selection, this.toolsAPI = e.tools, this.caretAPI = e.caret, this.i18nInstance = {
|
|
3381
3586
|
t: (e, t) => this.i18nAPI.t(e),
|
|
@@ -3384,7 +3589,7 @@ var Di = class e extends xi {
|
|
|
3384
3589
|
}
|
|
3385
3590
|
async render() {
|
|
3386
3591
|
var e = this;
|
|
3387
|
-
let t =
|
|
3592
|
+
let t = Ze.get();
|
|
3388
3593
|
if (t === null) return [];
|
|
3389
3594
|
let n = e.blocksAPI.getBlockByElement(t.anchorNode);
|
|
3390
3595
|
if (n === void 0) return [];
|
|
@@ -3423,10 +3628,10 @@ var Di = class e extends xi {
|
|
|
3423
3628
|
};
|
|
3424
3629
|
}
|
|
3425
3630
|
};
|
|
3426
|
-
|
|
3631
|
+
ta = na, ta.isInline = !0;
|
|
3427
3632
|
//#endregion
|
|
3428
3633
|
//#region src/tools/toggle/constants.ts
|
|
3429
|
-
var
|
|
3634
|
+
var ra = "toggle", ia = "tools.toggle.placeholder", aa = "tools.toggle.bodyPlaceholder", oa = "tools.toggle.ariaLabelCollapse", sa = "tools.toggle.ariaLabelExpand", ca = "outline-hidden py-[7px] mt-[2px] mb-px", la = "outline-hidden pl-0.5 leading-[1.5] flex-1 min-w-0", ua = "flex items-center", da = "flex-shrink-0 p-[8px] flex items-center justify-center cursor-pointer select-none rounded can-hover:hover:bg-item-hover-bg transition-colors duration-200 ease-in-out focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none in-data-[blok-toggle-empty=true]:text-gray-text", fa = bi, pa = "hidden pl-7 pt-[8px] pb-[8px] text-gray-text leading-[1.5] cursor-pointer select-none", ma = "pl-7", ha = {
|
|
3430
3635
|
toggleOpen: "data-blok-toggle-open",
|
|
3431
3636
|
toggleArrow: "data-blok-toggle-arrow",
|
|
3432
3637
|
toggleContent: "data-blok-toggle-content",
|
|
@@ -3435,4 +3640,4 @@ var Mi = "toggle", Ni = "tools.toggle.placeholder", Pi = "tools.toggle.bodyPlace
|
|
|
3435
3640
|
toggleEmpty: "data-blok-toggle-empty"
|
|
3436
3641
|
};
|
|
3437
3642
|
//#endregion
|
|
3438
|
-
export {
|
|
3643
|
+
export { zr as $, je as $n, Sr as $t, zn as A, zt as An, ee as Ar, Gr as At, Nr as B, tt as Bn, yr as Bt, Y as C, L as Cn, ne as Cr, hr as Ct, gi as D, Gt as Dn, h as Dr, Vn as Dt, G as E, Jt as En, b as Er, Bn as Et, Jn as F, Ft as Fn, l as Fr, Hn as Ft, yi as G, Be as Gn, Gn as Gt, vr as H, Ze as Hn, qn as Ht, Yn as I, xt as In, s as Ir, Kn as It, jr as J, Pe as Jn, Jr as Jt, Ur as K, Ue as Kn, ci as Kt, Xn as L, St as Ln, c as Lr, qr as Lt, kr as M, Rt as Mn, p as Mr, lr as Mt, si as N, It as Nn, m as Nr, cr as Nt, _i as O, Ut as On, g as Or, ri as Ot, In as P, Lt as Pn, f as Pr, Er as Pt, Hr as Q, Fe as Qn, ir as Qt, di as R, nt as Rn, a as Rr, ui as Rt, Gi as S, R as Sn, ue as Sr, mr as St, K as T, qt as Tn, re as Tr, _r as Tt, li as U, ze as Un, fr as Ut, ii as V, j as Vn, Xr as Vt, Rn as W, He as Wn, Or as Wt, oi as X, Le as Xn, Wn as Xt, xr as Y, Ie as Yn, Yr as Yt, Rr as Z, Ne as Zn, ur as Zt, Ki as _, wn as _n, oe as _r, Zr as _t, ca as a, mi as an, Ee as ar, Lr as at, X as b, $t as bn, se as br, ei as bt, la as c, ar as cn, T as cr, Qn as ct, ma as d, An as dn, ye as dr, tr as dt, Cr as en, Me as er, Vr as et, ua as f, On as fn, ge as fr, nr as ft, Qi as g, Pn as gn, de as gr, dr as gt, ea as h, Fn as hn, fe as hr, pr as ht, da as i, Un as in, Te as ir, Pr as it, Kr as j, Bt as jn, u as jr, sr as jt, Wr as k, Ht as kn, _ as kr, hi as kt, ia as l, ni as ln, xe as lr, $n as lt, na as m, Mn as mn, w as mr, Dr as mt, sa as n, or as nn, ke as nr, Fr as nt, aa as o, pi as on, De as or, ai as ot, ra as p, kn as pn, C as pr, rr as pt, vi as q, Re as qn, Zn as qt, fa as r, br as rn, Oe as rr, Ir as rt, pa as s, Ln as sn, we as sr, Tr as st, oa as t, wr as tn, Ae as tr, Br as tt, ha as u, ti as un, Se as ur, er as ut, Q as v, en as vn, le as vr, $r as vt, J as w, Kt as wn, te as wr, gr as wt, Wi as x, z as xn, ae as xr, fi as xt, Z as y, V as yn, ce as yr, Qr as yt, Mr as z, _t as zn, o as zr, Ar as zt };
|