@jackuait/blok 0.7.2 → 0.7.3-beta.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/dist/blok.mjs +3 -3
- package/dist/chunks/{blok-3RuPZd3G.mjs → blok-Cv1zWiST.mjs} +2147 -2099
- package/dist/chunks/{constants-BkelccB1.mjs → constants-DWpV4hCh.mjs} +186 -58
- package/dist/chunks/{i18next-loader-qjweOJ-t.mjs → i18next-loader-D5HxE5ZQ.mjs} +1 -1
- package/dist/chunks/{lightweight-i18n-vbtPx5C4.mjs → lightweight-i18n-Safdy0ua.mjs} +0 -1
- package/dist/chunks/{messages-CjcSWeud.mjs → messages-1C3OS98e.mjs} +0 -1
- package/dist/chunks/{messages-3bOAVT3X2.mjs → messages-3ePgbbpx2.mjs} +0 -1
- package/dist/chunks/{messages-CG2xl0IV.mjs → messages-6EJxSImH.mjs} +0 -1
- package/dist/{messages-BjnJajTO2.mjs → chunks/messages-6z-ULVyk.mjs} +0 -1
- package/dist/{messages-B8jjwMLK.mjs → chunks/messages-BKtWlK39.mjs} +0 -1
- package/dist/chunks/{messages-CpnXbVOK2.mjs → messages-BM1Su_Uy2.mjs} +0 -1
- package/dist/{messages-DZo0x7Bd.mjs → chunks/messages-BUy3odZo.mjs} +0 -1
- package/dist/{messages-BflWzIcP2.mjs → chunks/messages-BZ45xBlV.mjs} +0 -1
- package/dist/chunks/{messages-Dr7yA3xM.mjs → messages-B_90PYaG.mjs} +0 -1
- package/dist/{messages-49ZJ_ISf.mjs → chunks/messages-B_nVGWdk.mjs} +0 -1
- package/dist/{messages-cOqXp22e.mjs → chunks/messages-BjkDJuqh.mjs} +0 -1
- package/dist/chunks/{messages-CvamFN6x.mjs → messages-BtNOlsMj.mjs} +0 -1
- package/dist/{messages-DmX52AQr.mjs → chunks/messages-C1iQkKu82.mjs} +0 -1
- package/dist/{messages-CaAdEXoh2.mjs → chunks/messages-C1lqY56F2.mjs} +0 -1
- package/dist/chunks/{messages-BoTtYEct2.mjs → messages-C232njMF2.mjs} +0 -1
- package/dist/chunks/{messages-DPe7kW6J.mjs → messages-C3AJz_i6.mjs} +0 -1
- package/dist/{messages-BEDVb3ZX.mjs → chunks/messages-C9XSSqS5.mjs} +0 -1
- package/dist/chunks/{messages-DriB5lEF.mjs → messages-CRxkRJRN.mjs} +0 -1
- package/dist/{messages-XwPD18Kk.mjs → chunks/messages-CVzvKl6U.mjs} +0 -1
- package/dist/chunks/{messages-B_Qcy8kr2.mjs → messages-Cb-x47kY2.mjs} +0 -1
- package/dist/{messages-DvTVsLOK2.mjs → chunks/messages-CejEH4FW2.mjs} +0 -1
- package/dist/{messages-CicggErN2.mjs → chunks/messages-CficsmSH2.mjs} +0 -1
- package/dist/chunks/{messages-CFr0Ha6p2.mjs → messages-ClOxDE0y2.mjs} +0 -1
- package/dist/chunks/{messages-BRrtoRdw2.mjs → messages-Cn5n0nHe2.mjs} +0 -1
- package/dist/{messages-DwPfgL_u.mjs → chunks/messages-CnzaTbel.mjs} +0 -1
- package/dist/chunks/{messages-CIGX0FfW.mjs → messages-Cq6wj6FG.mjs} +0 -1
- package/dist/chunks/{messages-Csq7JatN.mjs → messages-CteKp81J.mjs} +0 -1
- package/dist/{messages-Dr-YJYIK2.mjs → chunks/messages-CvLXClh9.mjs} +0 -1
- package/dist/chunks/{messages-43N0Vfg42.mjs → messages-CxTq0x772.mjs} +0 -1
- package/dist/chunks/{messages-DkSwQvmi2.mjs → messages-CzCqu58X2.mjs} +0 -1
- package/dist/{messages-CkVfziK_2.mjs → chunks/messages-D6SAC8Lc2.mjs} +0 -1
- package/dist/chunks/{messages-Doxcj7Qy.mjs → messages-D7aoKTPD.mjs} +0 -1
- package/dist/chunks/{messages-B0cg-ThO2.mjs → messages-D9nReG4C2.mjs} +0 -1
- package/dist/{messages-g58itYPI.mjs → chunks/messages-D9qyilS0.mjs} +0 -1
- package/dist/chunks/{messages-BQZtOYxr2.mjs → messages-DDRCk44J2.mjs} +0 -1
- package/dist/chunks/{messages-B87-89os.mjs → messages-DDr8J4FE.mjs} +0 -1
- package/dist/{messages-DzhR8Klk.mjs → chunks/messages-DJWRON2S.mjs} +0 -1
- package/dist/{messages-DBwaWI0X.mjs → chunks/messages-DK6pBwD2.mjs} +0 -1
- package/dist/chunks/{messages-BFiMCfDX2.mjs → messages-DNrK8lCg2.mjs} +0 -1
- package/dist/chunks/{messages-D7fI9Pj52.mjs → messages-DQ4VyVJf2.mjs} +0 -1
- package/dist/{messages-BHOI7R4K.mjs → chunks/messages-DacahKek.mjs} +0 -1
- package/dist/chunks/{messages-Bn6LwI4B.mjs → messages-DbS9Oibb.mjs} +0 -1
- package/dist/chunks/{messages-Dg6kSnxq.mjs → messages-DcPtg90i.mjs} +0 -1
- package/dist/{messages-BpA30dPf.mjs → chunks/messages-DfTU2I8J.mjs} +0 -1
- package/dist/{messages-BdA_xvxj.mjs → chunks/messages-Dhe8_mnQ.mjs} +0 -1
- package/dist/{messages-CCKZS2f4.mjs → chunks/messages-DjOY_EqX.mjs} +0 -1
- package/dist/chunks/{messages-DRYKKPk8.mjs → messages-DnPkoMz1.mjs} +0 -1
- package/dist/chunks/{messages-B_uTiuQ-.mjs → messages-DoDbCS02.mjs} +0 -1
- package/dist/chunks/{messages-CRMdL0jG.mjs → messages-DotEkUpQ.mjs} +0 -1
- package/dist/chunks/{messages-DV5c_ZRQ.mjs → messages-Dxrg70jo.mjs} +0 -1
- package/dist/chunks/{messages-CwRhVVui.mjs → messages-DziA-L3p.mjs} +0 -1
- package/dist/{messages-CkAWTSc4.mjs → chunks/messages-IJhiftj5.mjs} +0 -1
- package/dist/chunks/{messages-yuqArCc6.mjs → messages-JRavIeeW.mjs} +0 -1
- package/dist/{messages-CERs9LC9.mjs → chunks/messages-Ul43l29K2.mjs} +0 -1
- package/dist/chunks/{messages-BU_YdaAf.mjs → messages-Yk__PXZQ.mjs} +0 -1
- package/dist/{messages-BX2KVzJp2.mjs → chunks/messages-h474TGR72.mjs} +0 -1
- package/dist/chunks/{messages-M8noQ6Kp2.mjs → messages-hngFJrES2.mjs} +0 -1
- package/dist/chunks/{messages-D0v0Xa_i2.mjs → messages-kHTrX3wo2.mjs} +0 -1
- package/dist/chunks/{messages-DqGQvcXv2.mjs → messages-m6bLP64R2.mjs} +0 -1
- package/dist/chunks/{messages-ClDJuy8K2.mjs → messages-nE9Ko73n2.mjs} +0 -1
- package/dist/chunks/{messages-C0ZWDShx2.mjs → messages-ni0ahgYk2.mjs} +0 -1
- package/dist/chunks/{messages-B7LU-b6n2.mjs → messages-pKUiAqlX2.mjs} +0 -1
- package/dist/{messages-BSlQrYwp.mjs → chunks/messages-rJdSnvyi.mjs} +0 -1
- package/dist/{messages-BrPEPj382.mjs → chunks/messages-tBHnC2Rj2.mjs} +0 -1
- package/dist/chunks/{messages-Cimsel4e.mjs → messages-tg78NAmW.mjs} +0 -1
- package/dist/{messages-CCm71gq3.mjs → chunks/messages-uLIUXFmU.mjs} +0 -1
- package/dist/{messages-BfgHOkAy.mjs → chunks/messages-yJmwc3zD.mjs} +0 -1
- package/dist/chunks/{tools-rsbC2UUN.mjs → tools-CUIpIxxP.mjs} +645 -641
- package/dist/full.mjs +3 -3
- package/dist/locales.mjs +67 -68
- package/dist/{chunks/messages-BhZcNoIQ.mjs → messages--XEfVx572.mjs} +0 -1
- package/dist/{messages-BTNuOkhL.mjs → messages-3aRjZXpv.mjs} +0 -1
- package/dist/{chunks/messages-JyZvGvrN.mjs → messages-6G0Eia-2.mjs} +0 -1
- package/dist/{messages-C3tLCwJp2.mjs → messages-B2bHgIcC2.mjs} +0 -1
- package/dist/{messages-aNMLsF8T2.mjs → messages-B8M4YRFO2.mjs} +0 -1
- package/dist/{messages-Bt_9ptDu.mjs → messages-B9qltgXa.mjs} +0 -1
- package/dist/{messages-CLQvtc_8.mjs → messages-BBgyeB_N.mjs} +0 -1
- package/dist/{messages-BigRnQS92.mjs → messages-BENRci-_2.mjs} +0 -1
- package/dist/{chunks/messages-DihczS7L.mjs → messages-BOxe7ewT.mjs} +0 -1
- package/dist/{chunks/messages-CA-jms9R.mjs → messages-BP8ZuVaD.mjs} +0 -1
- package/dist/{messages-DYlxQEIv.mjs → messages-BQJzUYP-.mjs} +0 -1
- package/dist/{chunks/messages-Cn1AC0Qk.mjs → messages-BU9luYgO.mjs} +0 -1
- package/dist/{messages-CYLYnOV82.mjs → messages-BZgGD0zf2.mjs} +0 -1
- package/dist/{messages-MBBSKGjJ2.mjs → messages-BbLCMWln2.mjs} +0 -1
- package/dist/{chunks/messages-elZUbCrN.mjs → messages-BdJ1lCo_.mjs} +0 -1
- package/dist/{chunks/messages-D3JVx_CH2.mjs → messages-Be1CCcsp2.mjs} +0 -1
- package/dist/{messages-D5KmRsUV2.mjs → messages-BlnZ8CkJ2.mjs} +0 -1
- package/dist/{messages-DDGzypb4.mjs → messages-Bsz7Qgj_.mjs} +0 -1
- package/dist/{messages-DdUpYaJ1.mjs → messages-Bw-GC0m5.mjs} +0 -1
- package/dist/{chunks/messages-FB_MePlt.mjs → messages-BwdowdYD.mjs} +0 -1
- package/dist/{chunks/messages-kC92TJI72.mjs → messages-BxQ1gzJF2.mjs} +0 -1
- package/dist/{messages-C45IBZtA2.mjs → messages-BztXgybv2.mjs} +0 -1
- package/dist/{chunks/messages-M0HT-kBW.mjs → messages-C0gyqo4h2.mjs} +0 -1
- package/dist/{messages-DhdWq5oQ2.mjs → messages-C7R0m6oE2.mjs} +0 -1
- package/dist/{chunks/messages-CtufKbaD.mjs → messages-C8iAUPzI.mjs} +0 -1
- package/dist/{messages-BaGwIHPb2.mjs → messages-CAffVeAE2.mjs} +0 -1
- package/dist/{messages-vssmW7KO.mjs → messages-CB0RKGVM.mjs} +0 -1
- package/dist/{messages-CPx1R-PH.mjs → messages-CE305J0p.mjs} +0 -1
- package/dist/{chunks/messages-Byp0YFMg.mjs → messages-CEhkWwqI.mjs} +0 -1
- package/dist/{messages-D0i5Vdyy2.mjs → messages-CJYE0_hr2.mjs} +0 -1
- package/dist/{messages-CYFdbooL2.mjs → messages-COU4L-pL2.mjs} +0 -1
- package/dist/{messages-BRPH_a6a.mjs → messages-CRMZ79Xf.mjs} +0 -1
- package/dist/{messages-CA0hwajz.mjs → messages-CVBsztOg.mjs} +0 -1
- package/dist/{messages-YfjdnhUF.mjs → messages-C_4VGaBC.mjs} +0 -1
- package/dist/{chunks/messages-D4jR5Oc-.mjs → messages-C_RPN2GV.mjs} +0 -1
- package/dist/{messages-CsM2iz1H2.mjs → messages-CaJRIGUu2.mjs} +0 -1
- package/dist/{messages-BeJaje7e2.mjs → messages-Cb5JJ8C_2.mjs} +0 -1
- package/dist/{chunks/messages-KdvbGwLH.mjs → messages-Cgy54529.mjs} +0 -1
- package/dist/{chunks/messages-CRdl14uE.mjs → messages-CkmVEyEQ2.mjs} +0 -1
- package/dist/{chunks/messages-CzCezryo.mjs → messages-CzSLUJQt.mjs} +0 -1
- package/dist/{chunks/messages-BWbZYIs12.mjs → messages-D6Sr5cUE.mjs} +0 -1
- package/dist/{messages-C0cXOCHN2.mjs → messages-DAssrN5L2.mjs} +0 -1
- package/dist/{messages-CYZVFnaF.mjs → messages-DB9U3VIh.mjs} +0 -1
- package/dist/{messages-DxKIxLKw.mjs → messages-DCOKudVN.mjs} +0 -1
- package/dist/{chunks/messages-DLrmLkco2.mjs → messages-DGZQXeav2.mjs} +0 -1
- package/dist/{chunks/messages-CqsES1wk2.mjs → messages-DZbsds_k2.mjs} +0 -1
- package/dist/{messages-RNusm48G2.mjs → messages-DkkrjINb2.mjs} +0 -1
- package/dist/{messages-DQGzw4IC.mjs → messages-DlrZrm3s.mjs} +0 -1
- package/dist/{messages-D-12TeCM2.mjs → messages-DpY9s4Qi2.mjs} +0 -1
- package/dist/{chunks/messages-BrvAiuWT.mjs → messages-DrouoDgp.mjs} +0 -1
- package/dist/{messages-DWZyaZNA.mjs → messages-GrVSCmXW.mjs} +0 -1
- package/dist/{chunks/messages-BLxyso1L.mjs → messages-K7ROT6ea.mjs} +0 -1
- package/dist/{chunks/messages-B3StvafX.mjs → messages-Kye1BINC.mjs} +0 -1
- package/dist/{chunks/messages-BdWTM73p.mjs → messages-MaHxNgKA.mjs} +0 -1
- package/dist/{messages-2iHnlF0U.mjs → messages-TseLyyoU.mjs} +0 -1
- package/dist/{chunks/messages-iWMOMK822.mjs → messages-e-KHuxtY2.mjs} +0 -1
- package/dist/{messages-DgstU8GH.mjs → messages-eCyczLYY.mjs} +0 -1
- package/dist/{messages-BFT0F9pw.mjs → messages-gldjQk7M.mjs} +0 -1
- package/dist/{chunks/messages-v1HkA3kF2.mjs → messages-huTzItxA.mjs} +0 -1
- package/dist/{messages-BEEr6Vh82.mjs → messages-m1uf_AMy2.mjs} +0 -1
- package/dist/{messages-Dc1yFFBM.mjs → messages-mVFAkdcY.mjs} +0 -1
- package/dist/{chunks/messages-tfyq1JIh2.mjs → messages-oH0ADQ362.mjs} +0 -1
- package/dist/{chunks/messages-Cuk0QaLM.mjs → messages-pgqtPci-.mjs} +0 -1
- package/dist/{messages-DuubRyFf.mjs → messages-q7HzQPVt.mjs} +0 -1
- package/dist/{messages-vfkwiKQo.mjs → messages-ruU_e2LK.mjs} +0 -1
- package/dist/{chunks/messages-Dgfbmyf-.mjs → messages-voUPclMU.mjs} +0 -1
- package/dist/{chunks/messages-DGodJU2R.mjs → messages-wRvz0vQ3.mjs} +0 -1
- package/dist/react.mjs +2 -2
- package/dist/tools.mjs +2 -2
- package/package.json +1 -1
- package/src/blok.ts +0 -1
- package/src/components/constants/data-attributes.ts +2 -0
- package/src/components/core.ts +1 -1
- package/src/components/i18n/locales/am/messages.json +0 -1
- package/src/components/i18n/locales/ar/messages.json +0 -1
- package/src/components/i18n/locales/az/messages.json +0 -1
- package/src/components/i18n/locales/bg/messages.json +0 -1
- package/src/components/i18n/locales/bn/messages.json +0 -1
- package/src/components/i18n/locales/bs/messages.json +0 -1
- package/src/components/i18n/locales/cs/messages.json +0 -1
- package/src/components/i18n/locales/da/messages.json +0 -1
- package/src/components/i18n/locales/de/messages.json +0 -1
- package/src/components/i18n/locales/dv/messages.json +0 -1
- package/src/components/i18n/locales/el/messages.json +0 -1
- package/src/components/i18n/locales/en/messages.json +0 -1
- package/src/components/i18n/locales/es/messages.json +0 -1
- package/src/components/i18n/locales/et/messages.json +0 -1
- package/src/components/i18n/locales/fa/messages.json +0 -1
- package/src/components/i18n/locales/fi/messages.json +0 -1
- package/src/components/i18n/locales/fil/messages.json +0 -1
- package/src/components/i18n/locales/fr/messages.json +1 -2
- package/src/components/i18n/locales/gu/messages.json +0 -1
- package/src/components/i18n/locales/he/messages.json +0 -1
- package/src/components/i18n/locales/hi/messages.json +0 -1
- package/src/components/i18n/locales/hr/messages.json +0 -1
- package/src/components/i18n/locales/hu/messages.json +0 -1
- package/src/components/i18n/locales/hy/messages.json +0 -1
- package/src/components/i18n/locales/id/messages.json +0 -1
- package/src/components/i18n/locales/it/messages.json +0 -1
- package/src/components/i18n/locales/ja/messages.json +0 -1
- package/src/components/i18n/locales/ka/messages.json +0 -1
- package/src/components/i18n/locales/km/messages.json +0 -1
- package/src/components/i18n/locales/kn/messages.json +0 -1
- package/src/components/i18n/locales/ko/messages.json +0 -1
- package/src/components/i18n/locales/ku/messages.json +0 -1
- package/src/components/i18n/locales/lo/messages.json +0 -1
- package/src/components/i18n/locales/lt/messages.json +0 -1
- package/src/components/i18n/locales/lv/messages.json +0 -1
- package/src/components/i18n/locales/mk/messages.json +0 -1
- package/src/components/i18n/locales/ml/messages.json +0 -1
- package/src/components/i18n/locales/mn/messages.json +0 -1
- package/src/components/i18n/locales/mr/messages.json +0 -1
- package/src/components/i18n/locales/ms/messages.json +0 -1
- package/src/components/i18n/locales/my/messages.json +0 -1
- package/src/components/i18n/locales/ne/messages.json +0 -1
- package/src/components/i18n/locales/nl/messages.json +0 -1
- package/src/components/i18n/locales/no/messages.json +0 -1
- package/src/components/i18n/locales/pa/messages.json +0 -1
- package/src/components/i18n/locales/pl/messages.json +0 -1
- package/src/components/i18n/locales/ps/messages.json +0 -1
- package/src/components/i18n/locales/pt/messages.json +0 -1
- package/src/components/i18n/locales/ro/messages.json +0 -1
- package/src/components/i18n/locales/ru/messages.json +0 -1
- package/src/components/i18n/locales/sd/messages.json +0 -1
- package/src/components/i18n/locales/si/messages.json +0 -1
- package/src/components/i18n/locales/sk/messages.json +0 -1
- package/src/components/i18n/locales/sl/messages.json +0 -1
- package/src/components/i18n/locales/sq/messages.json +0 -1
- package/src/components/i18n/locales/sr/messages.json +0 -1
- package/src/components/i18n/locales/sv/messages.json +0 -1
- package/src/components/i18n/locales/sw/messages.json +0 -1
- package/src/components/i18n/locales/ta/messages.json +0 -1
- package/src/components/i18n/locales/te/messages.json +0 -1
- package/src/components/i18n/locales/th/messages.json +0 -1
- package/src/components/i18n/locales/tr/messages.json +0 -1
- package/src/components/i18n/locales/ug/messages.json +0 -1
- package/src/components/i18n/locales/uk/messages.json +0 -1
- package/src/components/i18n/locales/ur/messages.json +0 -1
- package/src/components/i18n/locales/vi/messages.json +0 -1
- package/src/components/i18n/locales/yi/messages.json +0 -1
- package/src/components/i18n/locales/zh/messages.json +0 -1
- package/src/components/icons/index.ts +0 -16
- package/src/components/modules/api/index.ts +1 -1
- package/src/components/modules/api/theme.ts +17 -0
- package/src/components/modules/index.ts +8 -6
- package/src/components/modules/themeManager.ts +160 -0
- package/src/components/modules/toolbar/blockSettings.ts +12 -0
- package/src/components/modules/toolbar/index.ts +27 -1
- package/src/components/ui/toolbox.ts +3 -1
- package/src/components/utils/data-model-transform.ts +149 -5
- package/src/components/utils/popover/popover-desktop.ts +329 -44
- package/src/styles/main.css +1 -1
- package/src/tools/toggle/index.ts +14 -0
- package/src/types-internal/blok-modules.d.ts +6 -4
- package/types/api/index.d.ts +2 -1
- package/types/api/theme.d.ts +29 -0
- package/types/configs/blok-config.d.ts +10 -20
- package/types/index.d.ts +8 -4
- package/types/utils/popover/popover.d.ts +7 -0
- package/src/components/block-tunes/block-tune-width.ts +0 -39
- package/src/components/modules/api/width.ts +0 -17
- package/src/components/modules/widthManager.ts +0 -69
- package/types/api/width.d.ts +0 -19
|
@@ -49,6 +49,7 @@ var r = Object.create, i = Object.defineProperty, a = Object.getOwnPropertyDescr
|
|
|
49
49
|
popoverOpenLeft: "data-blok-popover-open-left",
|
|
50
50
|
nested: "data-blok-nested",
|
|
51
51
|
nestedLevel: "data-blok-nested-level",
|
|
52
|
+
promotedGroupLabel: "data-blok-promoted-group-label",
|
|
52
53
|
popoverHeader: "data-blok-popover-header",
|
|
53
54
|
popoverHeaderText: "data-blok-popover-header-text",
|
|
54
55
|
popoverHeaderBackButton: "data-blok-popover-header-back-button",
|
|
@@ -137,7 +138,7 @@ var r = Object.create, i = Object.defineProperty, a = Object.getOwnPropertyDescr
|
|
|
137
138
|
RIGHT: 2,
|
|
138
139
|
BACKWARD: 3,
|
|
139
140
|
FORWARD: 4
|
|
140
|
-
}, g = () => "0.7.2", _ = /* @__PURE__ */ function(e) {
|
|
141
|
+
}, g = () => "0.7.3-beta.2", _ = /* @__PURE__ */ function(e) {
|
|
141
142
|
return e.VERBOSE = "VERBOSE", e.INFO = "INFO", e.WARN = "WARN", e.ERROR = "ERROR", e;
|
|
142
143
|
}({}), v = (e, t, n = "log", r, i = "color: inherit") => {
|
|
143
144
|
let a = typeof console > "u" ? void 0 : console;
|
|
@@ -1998,13 +1999,13 @@ function on(e) {
|
|
|
1998
1999
|
}
|
|
1999
2000
|
//#endregion
|
|
2000
2001
|
//#region src/components/icons/index.ts
|
|
2001
|
-
var sn = "\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", cn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M5.5 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.12132C11.702 5.31607 11.0759 5 10.4231 5H5.5v6Zm0 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.8787H5.5v-6Z\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\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=\"M8.5 5h6m-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", un = "\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", dn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M6.5 14L10 5l3.5 9\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M7.5 11.5h5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <rect x=\"4.5\" y=\"16\" width=\"11\" height=\"1.5\" rx=\"0.75\" fill=\"currentColor\"/>\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=\"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", pn = "\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", mn = "\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", hn = "\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", gn = "\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", _n = "\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", vn = "\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", yn = "\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", 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=\"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", xn = "\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", Sn = "\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", Cn = "\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", wn = "\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", Tn = "\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", 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 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", 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=\"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", On = "\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", 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 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", An = "\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", 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 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", Mn = "\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", 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 4l-3 3m3-3l3 3M10 4v7M5 16h10\" 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 d=\"M10 16l-3-3m3 3l3-3M10 16V9M5 4h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" 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=\"M4 10l3-3M4 10l3 3M4 10h7M16 5v10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\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=\"M16 10l-3-3m3 3l-3 3M16 10H9M4 5v10\" 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 <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", Rn = "\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", 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 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", Bn = "\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", Vn = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\" height=\"20\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"3\" y=\"3\" width=\"14\" height=\"14\" rx=\"2\"/>\n <line x1=\"5\" y1=\"8\" x2=\"15\" y2=\"8\"/>\n <line x1=\"5\" y1=\"11\" x2=\"15\" y2=\"11\"/>\n <line x1=\"5\" y1=\"14\" x2=\"11\" y2=\"14\"/>\n</svg>", Hn = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" width=\"20\" height=\"20\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"1\" y=\"3\" width=\"18\" height=\"14\" rx=\"2\"/>\n <line x1=\"3\" y1=\"8\" x2=\"17\" y2=\"8\"/>\n <line x1=\"3\" y1=\"11\" x2=\"17\" y2=\"11\"/>\n <line x1=\"3\" y1=\"14\" x2=\"17\" y2=\"14\"/>\n</svg>", Un = "\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", U = {
|
|
2002
|
+
var sn = "\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", cn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M5.5 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.12132C11.702 5.31607 11.0759 5 10.4231 5H5.5v6Zm0 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.8787H5.5v-6Z\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\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=\"M8.5 5h6m-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", un = "\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", dn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M6.5 14L10 5l3.5 9\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M7.5 11.5h5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <rect x=\"4.5\" y=\"16\" width=\"11\" height=\"1.5\" rx=\"0.75\" fill=\"currentColor\"/>\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=\"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", pn = "\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", mn = "\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", hn = "\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", gn = "\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", _n = "\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", vn = "\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", yn = "\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", 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=\"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", xn = "\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", Sn = "\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", Cn = "\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", wn = "\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", Tn = "\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", 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 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", 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=\"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", On = "\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", 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 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", An = "\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", 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 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", Mn = "\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", 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 4l-3 3m3-3l3 3M10 4v7M5 16h10\" 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 d=\"M10 16l-3-3m3 3l3-3M10 16V9M5 4h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" 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=\"M4 10l3-3M4 10l3 3M4 10h7M16 5v10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\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=\"M16 10l-3-3m3 3l-3 3M16 10H9M4 5v10\" 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 <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", Rn = "\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", 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 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", Bn = "\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", Vn = "\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", U = {
|
|
2002
2003
|
root: "",
|
|
2003
2004
|
alignedStart: "text-start",
|
|
2004
2005
|
alignedCenter: "text-center",
|
|
2005
2006
|
title: "",
|
|
2006
2007
|
description: "opacity-60 mt-[3px]"
|
|
2007
|
-
},
|
|
2008
|
+
}, Hn = class {
|
|
2008
2009
|
constructor(e) {
|
|
2009
2010
|
let t = e.alignment === "center" ? "center" : "start";
|
|
2010
2011
|
this.nodes = {
|
|
@@ -2015,7 +2016,7 @@ var sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
|
|
|
2015
2016
|
getElement() {
|
|
2016
2017
|
return this.nodes.root;
|
|
2017
2018
|
}
|
|
2018
|
-
},
|
|
2019
|
+
}, Un = class {
|
|
2019
2020
|
constructor(e) {
|
|
2020
2021
|
this.params = e;
|
|
2021
2022
|
}
|
|
@@ -2038,7 +2039,7 @@ var sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
|
|
|
2038
2039
|
this.params !== void 0 && "onActivate" in this.params && ((e = (t = this.params).onActivate) == null || e.call(t, this.params));
|
|
2039
2040
|
}
|
|
2040
2041
|
addHint(e, t) {
|
|
2041
|
-
Nt(e, new
|
|
2042
|
+
Nt(e, new Hn(t).getElement(), { placement: t.position });
|
|
2042
2043
|
}
|
|
2043
2044
|
getMountElement() {
|
|
2044
2045
|
return this.getElement();
|
|
@@ -2081,7 +2082,7 @@ var sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
|
|
|
2081
2082
|
itemDisabled: "cursor-default pointer-events-none text-text-secondary",
|
|
2082
2083
|
icon: "flex items-center justify-center w-7 h-7 shrink-0 rounded-lg bg-popover-icon-bg transition-colors duration-150 [&_svg]:w-icon [&_svg]:h-icon",
|
|
2083
2084
|
focused: "is-focused"
|
|
2084
|
-
},
|
|
2085
|
+
}, Wn = { item: "rounded p-1" }, Gn = { item: "rounded p-[3px] mobile:p-1" }, G = class extends Un {
|
|
2085
2086
|
get isDisabled() {
|
|
2086
2087
|
return this.params.isDisabled === !0;
|
|
2087
2088
|
}
|
|
@@ -2177,7 +2178,7 @@ var sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
|
|
|
2177
2178
|
getContainerClass() {
|
|
2178
2179
|
var e, n, r, i;
|
|
2179
2180
|
let a = (e = (n = this.renderParams) == null ? void 0 : n.isInline) == null ? !1 : e, o = (r = (i = this.renderParams) == null ? void 0 : i.isNestedInline) == null ? !1 : r;
|
|
2180
|
-
return t(W.item, !a && !o && "pl-2 pr-3", a &&
|
|
2181
|
+
return t(W.item, !a && !o && "pl-2 pr-3", a && Wn.item, o && Gn.item, this.params.isDisabled && W.itemDisabled);
|
|
2181
2182
|
}
|
|
2182
2183
|
getIconClass(e, n, r, i) {
|
|
2183
2184
|
return t(W.icon, n && "w-auto h-auto bg-transparent [&_svg]:w-icon [&_svg]:h-icon mobile:[&_svg]:w-icon-mobile mobile:[&_svg]:h-icon-mobile", r && "w-toolbox-btn h-toolbox-btn", e && "mr-3", e && n && "shadow-none mr-0!", e && r && "mr-2!", i && "animate-wobble");
|
|
@@ -2282,7 +2283,7 @@ var sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
|
|
|
2282
2283
|
line: "h-full w-px",
|
|
2283
2284
|
nestedContainer: "py-1 px-[3px]",
|
|
2284
2285
|
nestedLine: "w-full h-px"
|
|
2285
|
-
},
|
|
2286
|
+
}, Kn = class extends Un {
|
|
2286
2287
|
constructor(e) {
|
|
2287
2288
|
var t, n;
|
|
2288
2289
|
super(), this.nodes = {
|
|
@@ -2311,10 +2312,10 @@ var sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
|
|
|
2311
2312
|
let t = document.createElement("div");
|
|
2312
2313
|
return t.className = this.getLineClass(), t.setAttribute(f.popoverItemSeparatorLine, ""), e.appendChild(t), this.nodes.line = t, e;
|
|
2313
2314
|
}
|
|
2314
|
-
},
|
|
2315
|
+
}, qn = {
|
|
2315
2316
|
root: "",
|
|
2316
2317
|
rootHidden: "hidden"
|
|
2317
|
-
},
|
|
2318
|
+
}, Jn = { root: "flex items-center" }, J = class extends Un {
|
|
2318
2319
|
constructor(e, t) {
|
|
2319
2320
|
var n;
|
|
2320
2321
|
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);
|
|
@@ -2331,12 +2332,12 @@ var sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
|
|
|
2331
2332
|
return Array.from(e);
|
|
2332
2333
|
}
|
|
2333
2334
|
updateRootClasses() {
|
|
2334
|
-
this.nodes.root && (this.nodes.root.className = t(
|
|
2335
|
+
this.nodes.root && (this.nodes.root.className = t(qn.root, this.isInline && Jn.root, this.isHidden && qn.rootHidden));
|
|
2335
2336
|
}
|
|
2336
2337
|
createRootElement(n, r) {
|
|
2337
2338
|
var i;
|
|
2338
2339
|
let a = document.createElement("div");
|
|
2339
|
-
if (a.className = t(
|
|
2340
|
+
if (a.className = t(qn.root, this.isInline && Jn.root), a.setAttribute(f.popoverItemHtml, ""), a.setAttribute("data-blok-testid", "popover-item-html"), n.name && a.setAttribute("data-blok-item-name", n.name), a.appendChild(n.element), n.hint !== void 0 && (r == null || (i = r.hint) == null ? void 0 : i.enabled) !== !1) {
|
|
2340
2341
|
var o, s;
|
|
2341
2342
|
this.addHint(a, e(e({}, n.hint), {}, {
|
|
2342
2343
|
position: (r == null || (o = r.hint) == null ? void 0 : o.position) || "right",
|
|
@@ -2350,7 +2351,7 @@ var sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
|
|
|
2350
2351
|
icon: "w-toolbox-btn h-toolbox-btn flex items-center justify-center mr-2 [&_svg]:w-icon [&_svg]:h-icon [&_svg]:text-gray-text",
|
|
2351
2352
|
input: "text-sm outline-hidden font-medium font-inherit border-0 bg-transparent m-0 p-0 leading-[22px] min-w-[calc(100%-(--spacing(6))-10px)] placeholder:text-gray-text/60 placeholder:font-normal",
|
|
2352
2353
|
clearButton: "flex items-center justify-center w-toolbox-btn h-toolbox-btn cursor-pointer border-0 bg-transparent rounded p-0 opacity-0 pointer-events-none transition-opacity duration-150 [&_svg]:w-3 [&_svg]:h-3 [&_svg]:text-gray-text can-hover:hover:[&_svg]:text-dark"
|
|
2353
|
-
},
|
|
2354
|
+
}, Yn = (e, t) => {
|
|
2354
2355
|
if (e.length === 0) return t.length;
|
|
2355
2356
|
if (t.length === 0) return e.length;
|
|
2356
2357
|
let n = Array.from({ length: t.length + 1 }, (e, t) => t), r = Array(t.length + 1);
|
|
@@ -2363,31 +2364,31 @@ var sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
|
|
|
2363
2364
|
n.splice(0, n.length, ...r);
|
|
2364
2365
|
}
|
|
2365
2366
|
return n[t.length];
|
|
2366
|
-
},
|
|
2367
|
+
}, Xn = (e, t) => [...e].reduce((e, n) => e < t.length && n === t[e] ? e + 1 : e, 0) === t.length, Zn = (e, t) => [...e].reduce((n, r, i) => {
|
|
2367
2368
|
let a = i === 0 || e[i - 1] === " " || e[i - 1] === "-" || e[i - 1] === "_";
|
|
2368
2369
|
return n < t.length && a && r === t[n] ? n + 1 : n;
|
|
2369
|
-
}, 0) === t.length,
|
|
2370
|
+
}, 0) === t.length, Qn = (e, t) => {
|
|
2370
2371
|
if (e === t) return 100;
|
|
2371
2372
|
if (e.startsWith(t)) return 90;
|
|
2372
2373
|
if (e.includes(t)) return 75;
|
|
2373
|
-
if (t.length >= 2 &&
|
|
2374
|
-
if (t.length >= 2 &&
|
|
2374
|
+
if (t.length >= 2 && Zn(e, t)) return 55;
|
|
2375
|
+
if (t.length >= 2 && Xn(e, t)) return 35;
|
|
2375
2376
|
if (t.length >= 3) {
|
|
2376
2377
|
let n = Math.floor(t.length / 3);
|
|
2377
|
-
if (
|
|
2378
|
+
if (Yn(e, t) <= n) return 15;
|
|
2378
2379
|
}
|
|
2379
2380
|
return 0;
|
|
2380
|
-
},
|
|
2381
|
+
}, X = (e, t) => {
|
|
2381
2382
|
if (t === "") return 100;
|
|
2382
2383
|
let n = t.toLowerCase(), r = [];
|
|
2383
2384
|
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());
|
|
2384
2385
|
return r.reduce((e, t) => {
|
|
2385
|
-
let r =
|
|
2386
|
+
let r = Qn(t, n);
|
|
2386
2387
|
return r > e ? r : e;
|
|
2387
2388
|
}, 0);
|
|
2388
|
-
},
|
|
2389
|
+
}, $n = /* @__PURE__ */ function(e) {
|
|
2389
2390
|
return e.Search = "search", e;
|
|
2390
|
-
}({}),
|
|
2391
|
+
}({}), er = class extends He {
|
|
2391
2392
|
constructor({ items: e, placeholder: t }) {
|
|
2392
2393
|
super(), this.searchQuery = "", this.handleValueChange = () => {
|
|
2393
2394
|
this.updateClearButtonVisibility(), this.applySearch(this.input.value);
|
|
@@ -2421,7 +2422,7 @@ var sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
|
|
|
2421
2422
|
this.input.value = "", this.updateClearButtonVisibility();
|
|
2422
2423
|
}
|
|
2423
2424
|
applySearch(e) {
|
|
2424
|
-
this.searchQuery !== e && (this.searchQuery = e, this.emit(
|
|
2425
|
+
this.searchQuery !== e && (this.searchQuery = e, this.emit($n.Search, {
|
|
2425
2426
|
query: e,
|
|
2426
2427
|
items: this.foundItems
|
|
2427
2428
|
}));
|
|
@@ -2453,10 +2454,10 @@ var sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
|
|
|
2453
2454
|
get foundItems() {
|
|
2454
2455
|
return this.items.map((e) => ({
|
|
2455
2456
|
item: e,
|
|
2456
|
-
score:
|
|
2457
|
+
score: X(e, this.searchQuery)
|
|
2457
2458
|
})).filter(({ score: e }) => e > 0).sort((e, t) => t.score - e.score).map(({ item: e }) => e);
|
|
2458
2459
|
}
|
|
2459
|
-
},
|
|
2460
|
+
}, tr, nr = class e {
|
|
2460
2461
|
constructor() {
|
|
2461
2462
|
this.stack = [], this.boundPointerDown = null;
|
|
2462
2463
|
}
|
|
@@ -2508,7 +2509,7 @@ var sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
|
|
|
2508
2509
|
t !== -1 && this.stack.splice(t, 1);
|
|
2509
2510
|
}
|
|
2510
2511
|
};
|
|
2511
|
-
|
|
2512
|
+
tr = nr, tr._instance = null;
|
|
2512
2513
|
//#endregion
|
|
2513
2514
|
//#region src/components/utils/popover/popover.const.ts
|
|
2514
2515
|
var Z = {
|
|
@@ -2517,14 +2518,14 @@ var Z = {
|
|
|
2517
2518
|
popoverContainerOpened: "opacity-100 pointer-events-auto p-1.5 max-h-(--max-height) border-none animate-panel-showing",
|
|
2518
2519
|
popoverOverlay: "hidden bg-dark",
|
|
2519
2520
|
items: "overflow-y-auto overscroll-contain"
|
|
2520
|
-
},
|
|
2521
|
+
}, rr = {
|
|
2521
2522
|
popover: "relative",
|
|
2522
2523
|
popoverContainer: "flex-row top-0 min-w-max w-max p-1 mobile:absolute"
|
|
2523
|
-
},
|
|
2524
|
+
}, ir = (e) => `level-${e}`, Q = /* @__PURE__ */ function(e) {
|
|
2524
2525
|
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;
|
|
2525
2526
|
}({}), $ = /* @__PURE__ */ function(e) {
|
|
2526
2527
|
return e.Closed = "closed", e.ClosedOnActivate = "closed-on-activate", e;
|
|
2527
|
-
}({}),
|
|
2528
|
+
}({}), ar = class extends He {
|
|
2528
2529
|
get itemsDefault() {
|
|
2529
2530
|
return this.items.filter((e) => e instanceof G);
|
|
2530
2531
|
}
|
|
@@ -2545,10 +2546,10 @@ var Z = {
|
|
|
2545
2546
|
let n = this.nodes.popover;
|
|
2546
2547
|
n !== null && !n.isConnected && document.body.appendChild(n), this.nodes.popover.setAttribute(f.popoverOpened, "true"), this.nodes.popoverContainer.className = t(this.nodes.popoverContainer.className, Z.popoverContainerOpened), this.itemsDefault.forEach((e) => this.refreshItemActiveState(e)), this.search !== void 0 && this.search.focus();
|
|
2547
2548
|
let { trigger: r } = this.params;
|
|
2548
|
-
((e = this.params.nestingLevel) == null ? 0 : e) === 0 && r !== void 0 &&
|
|
2549
|
+
((e = this.params.nestingLevel) == null ? 0 : e) === 0 && r !== void 0 && nr.instance.register(this, r);
|
|
2549
2550
|
}
|
|
2550
2551
|
hide() {
|
|
2551
|
-
this.nodes.popover.removeAttribute(f.popoverOpened), this.nodes.popover.removeAttribute(f.popoverOpenTop), this.nodes.popover.removeAttribute(f.popoverOpenLeft), this.nodes.popoverContainer.className = Z.popoverContainer, this.itemsDefault.forEach((e) => e.reset()), this.search !== void 0 && this.search.clear(),
|
|
2552
|
+
this.nodes.popover.removeAttribute(f.popoverOpened), this.nodes.popover.removeAttribute(f.popoverOpenTop), this.nodes.popover.removeAttribute(f.popoverOpenLeft), this.nodes.popoverContainer.className = Z.popoverContainer, this.itemsDefault.forEach((e) => e.reset()), this.search !== void 0 && this.search.clear(), nr.instance.unregister(this), this.emit($.Closed);
|
|
2552
2553
|
}
|
|
2553
2554
|
destroy() {
|
|
2554
2555
|
var e, t;
|
|
@@ -2568,7 +2569,7 @@ var Z = {
|
|
|
2568
2569
|
buildItems(e) {
|
|
2569
2570
|
return e.map((e) => {
|
|
2570
2571
|
switch (e.type) {
|
|
2571
|
-
case F.Separator: return new
|
|
2572
|
+
case F.Separator: return new Kn(this.itemsRenderParams[F.Separator]);
|
|
2572
2573
|
case F.Html: return new J(e, this.itemsRenderParams[F.Html]);
|
|
2573
2574
|
case F.Default:
|
|
2574
2575
|
case void 0: return new G(e, this.itemsRenderParams[F.Default]);
|
|
@@ -2646,33 +2647,61 @@ var Z = {
|
|
|
2646
2647
|
i !== null && ((r = this.nodes.items) == null || r.appendChild(i));
|
|
2647
2648
|
});
|
|
2648
2649
|
}
|
|
2649
|
-
},
|
|
2650
|
+
}, or = class e extends ar {
|
|
2650
2651
|
setLeftAlignElement(e) {
|
|
2651
2652
|
this.leftAlignElement = e;
|
|
2652
2653
|
}
|
|
2653
2654
|
constructor(e, t) {
|
|
2654
2655
|
var n;
|
|
2655
|
-
if (super(e, t), this.nestingLevel = 0, this.nestedPopoverTriggerItem = null, this.previouslyHoveredItem = null, this.scopeElement = document.body, this.hide = () => {
|
|
2656
|
+
if (super(e, t), this.nestingLevel = 0, this.nestedPopoverTriggerItem = null, this.previouslyHoveredItem = null, this.scopeElement = document.body, this.promotedItemCache = null, this.promotedSeparators = [], this.hide = () => {
|
|
2656
2657
|
var e;
|
|
2657
|
-
super.hide(), this.destroyNestedPopoverIfExists(), (e = this.flipper) == null || e.deactivate(), this.previouslyHoveredItem = null;
|
|
2658
|
+
this.cleanupPromotedItems(), super.hide(), this.destroyNestedPopoverIfExists(), (e = this.flipper) == null || e.deactivate(), this.previouslyHoveredItem = null;
|
|
2658
2659
|
}, this.onFlip = () => {
|
|
2659
2660
|
let e = this.itemsDefault.find((e) => e.isFocused);
|
|
2660
2661
|
e == null || e.onFocus();
|
|
2661
2662
|
}, this.onSearch = (e) => {
|
|
2662
2663
|
var t;
|
|
2663
|
-
let n = e.query === "", r = e.
|
|
2664
|
-
|
|
2664
|
+
let n = e.query === "", r = e.topLevelItems, i = !n && e.promotedItems.length > 0 ? this.deduplicateAgainstPromoted(r, e.promotedItems) : r, a = i.length === 0 && e.promotedItems.length === 0;
|
|
2665
|
+
a && this.items.forEach((e) => {
|
|
2665
2666
|
var t;
|
|
2666
2667
|
(t = e.getElement()) == null || t.style.setProperty("transition-duration", "0s");
|
|
2667
2668
|
}), this.items.forEach((e) => {
|
|
2668
|
-
let t = e instanceof G,
|
|
2669
|
+
let t = e instanceof G, r = e instanceof Kn || e instanceof J, o = t ? !i.includes(e) || e.name !== void 0 && this.isNamePermanentlyHidden(e.name) : r && (a || !n);
|
|
2669
2670
|
e.toggleHidden(o);
|
|
2670
|
-
}),
|
|
2671
|
+
}), a && (this.nodes.popoverContainer.offsetHeight, this.items.forEach((e) => {
|
|
2671
2672
|
var t;
|
|
2672
2673
|
(t = e.getElement()) == null || t.style.removeProperty("transition-duration");
|
|
2673
|
-
})), !n && i.length > 0 ? this.reorderItemsByRank(i) : n && this.originalItemOrder !== void 0 && this.restoreOriginalItemOrder()
|
|
2674
|
-
let
|
|
2675
|
-
(
|
|
2674
|
+
})), !n && i.length > 0 ? this.reorderItemsByRank(i) : n && this.originalItemOrder !== void 0 && this.restoreOriginalItemOrder();
|
|
2675
|
+
for (let e of this.promotedSeparators) e.remove();
|
|
2676
|
+
if (this.promotedSeparators = [], this.promotedItemCache !== null) for (let e of this.promotedItemCache.items) {
|
|
2677
|
+
var o;
|
|
2678
|
+
(o = e.getElement()) == null || o.remove();
|
|
2679
|
+
}
|
|
2680
|
+
if (e.promotedItems.length > 0) {
|
|
2681
|
+
let t = /* @__PURE__ */ new Map();
|
|
2682
|
+
for (let n of e.promotedItems) {
|
|
2683
|
+
let e = n.chain.join(" › "), r = t.get(e);
|
|
2684
|
+
r === void 0 ? t.set(e, [{
|
|
2685
|
+
item: n.item,
|
|
2686
|
+
score: n.score
|
|
2687
|
+
}]) : r.push({
|
|
2688
|
+
item: n.item,
|
|
2689
|
+
score: n.score
|
|
2690
|
+
});
|
|
2691
|
+
}
|
|
2692
|
+
let n = [...t.entries()].sort((e, t) => {
|
|
2693
|
+
let n = Math.max(...e[1].map((e) => e.score));
|
|
2694
|
+
return Math.max(...t[1].map((e) => e.score)) - n;
|
|
2695
|
+
});
|
|
2696
|
+
for (let [e, t] of n) {
|
|
2697
|
+
var s;
|
|
2698
|
+
let n = this.createGroupSeparator(e);
|
|
2699
|
+
this.promotedSeparators.push(n), (s = this.nodes.items) == null || s.appendChild(n), this.appendPromotedGroupElements(t);
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
this.toggleNothingFoundMessage(a);
|
|
2703
|
+
let c = n ? this.flippableElements : i.map((e) => e.getElement()), l = e.promotedItems.map(({ item: e }) => e.getElement()), u = [...c, ...l].filter((e) => e !== null);
|
|
2704
|
+
(t = this.flipper) != null && t.isActivated && (this.flipper.deactivate(), this.flipper.activate(u), u.length > 0 && this.flipper.focusItem(0, { skipNextTab: !0 }));
|
|
2676
2705
|
}, e.trigger && (this.trigger = e.trigger), e.leftAlignElement && (this.leftAlignElement = e.leftAlignElement), e.nestingLevel !== void 0 && (this.nestingLevel = e.nestingLevel), this.nestingLevel > 0 && this.nodes.popover.setAttribute(f.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;
|
|
2677
2706
|
let r = e.flipper;
|
|
2678
2707
|
r === void 0 ? this.flipper = new Vt({
|
|
@@ -2710,7 +2739,11 @@ var Z = {
|
|
|
2710
2739
|
this.nodes.popover.style.position = "absolute", this.nodes.popover.style.top = `${e}px`, this.nodes.popover.style.left = `${t}px`, this.nodes.popover.style.setProperty(Q.PopoverTop, "0px"), this.nodes.popover.style.setProperty(Q.PopoverLeft, "0px");
|
|
2711
2740
|
}
|
|
2712
2741
|
let n = this.size;
|
|
2713
|
-
this.nodes.popover.style.setProperty(Q.PopoverHeight, n.height + "px"),
|
|
2742
|
+
if (this.nodes.popover.style.setProperty(Q.PopoverHeight, n.height + "px"), this.params.width === void 0 || this.params.width === "auto") {
|
|
2743
|
+
let e = this.params.minWidth === void 0 ? 0 : parseFloat(this.params.minWidth), t = Math.max(n.width, e);
|
|
2744
|
+
this.nodes.popover.style.setProperty("--width", t + "px");
|
|
2745
|
+
}
|
|
2746
|
+
!this.trigger && !this.shouldOpenBottom && (this.setOpenTop(!0), this.nodes.popover.style.setProperty(Q.PopoverTop, "calc(-1 * (0.5rem + var(--popover-height)))")), !this.trigger && !this.shouldOpenRight && (this.setOpenLeft(!0), this.nodes.popover.style.setProperty(Q.PopoverLeft, "calc(-1 * var(--width) + 100%)")), super.show(), (e = this.flipper) == null || e.activate(this.flippableElements), queueMicrotask(() => {
|
|
2714
2747
|
this.focusInitialElement();
|
|
2715
2748
|
});
|
|
2716
2749
|
}
|
|
@@ -2758,6 +2791,12 @@ var Z = {
|
|
|
2758
2791
|
let t = e.relatedTarget;
|
|
2759
2792
|
t instanceof Node && this.nestedPopover !== void 0 && this.nestedPopover !== null && this.nestedPopover.hasNode(t) || (this.destroyNestedPopoverIfExists(!1), this.previouslyHoveredItem = null);
|
|
2760
2793
|
}
|
|
2794
|
+
getTargetItem(e) {
|
|
2795
|
+
return (this.promotedItemCache === null ? this.items : [...this.items, ...this.promotedItemCache.items]).filter((e) => e instanceof G || e instanceof J).find((t) => {
|
|
2796
|
+
let n = t.getElement();
|
|
2797
|
+
return n === null ? !1 : e.composedPath().includes(n);
|
|
2798
|
+
});
|
|
2799
|
+
}
|
|
2761
2800
|
setTriggerItemPosition(e, t) {
|
|
2762
2801
|
let n = t.getElement(), r = (n ? n.offsetTop : 0) - this.scrollTop, i = this.offsetTop + r, a = e.querySelector(`[${f.popover}]`);
|
|
2763
2802
|
(a instanceof HTMLElement ? a : e).style.setProperty(Q.TriggerItemTop, i + "px");
|
|
@@ -2803,10 +2842,12 @@ var Z = {
|
|
|
2803
2842
|
applyNestedPopoverPositioning(e) {
|
|
2804
2843
|
let t = e.querySelector(`[${f.popoverContainer}]`);
|
|
2805
2844
|
if (!(t instanceof HTMLElement)) return;
|
|
2806
|
-
let n = t, r = e.querySelector(`[${f.popover}]`), i = r instanceof HTMLElement ? r : e
|
|
2845
|
+
let n = t, r = e.querySelector(`[${f.popover}]`), i = r instanceof HTMLElement ? r : e;
|
|
2846
|
+
this.nodes.popover.hasAttribute(f.popoverOpenTop);
|
|
2847
|
+
let a = this.nodes.popover.hasAttribute(f.popoverOpenLeft);
|
|
2807
2848
|
n.style.position = "absolute";
|
|
2808
|
-
let
|
|
2809
|
-
|
|
2849
|
+
let o = this.params.width === void 0 || this.params.width === "auto" ? `${this.nodes.popoverContainer.offsetWidth}px` : "var(--width)";
|
|
2850
|
+
a ? i.style.setProperty(Q.PopoverLeft, `calc(-1 * (var(--nesting-level) + 1) * ${o} + 100%)`) : i.style.setProperty(Q.PopoverLeft, `calc(var(--nesting-level) * (${o} - var(--nested-popover-overlap)))`), n.style.top = "calc(var(--trigger-item-top) - var(--popover-height) / 2 + var(--item-height) / 2)";
|
|
2810
2851
|
}
|
|
2811
2852
|
get shouldOpenBottom() {
|
|
2812
2853
|
if (this.nodes.popover === void 0 || this.nodes.popover === null) return !1;
|
|
@@ -2843,29 +2884,116 @@ var Z = {
|
|
|
2843
2884
|
let t = e.getElement();
|
|
2844
2885
|
return t ? [t] : [];
|
|
2845
2886
|
}
|
|
2887
|
+
buildPromotedItemCache() {
|
|
2888
|
+
let e = {
|
|
2889
|
+
items: [],
|
|
2890
|
+
parentChains: /* @__PURE__ */ new Map()
|
|
2891
|
+
};
|
|
2892
|
+
return this.collectPromotedChildren(this.items, [], e), e;
|
|
2893
|
+
}
|
|
2894
|
+
collectPromotedChildren(e, t, n) {
|
|
2895
|
+
for (let a of e) {
|
|
2896
|
+
var r, i;
|
|
2897
|
+
if (!(a instanceof G) || !a.hasChildren) continue;
|
|
2898
|
+
let e = (r = (i = a.title) == null ? a.name : i) == null ? "" : r, o = [...t, e];
|
|
2899
|
+
this.collectDefaultChildren(a.children, o, n);
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2902
|
+
collectDefaultChildren(e, t, n) {
|
|
2903
|
+
for (let r of e) {
|
|
2904
|
+
if (r.type !== void 0 && r.type !== F.Default) continue;
|
|
2905
|
+
let e = new G(r);
|
|
2906
|
+
if (e.name !== void 0 && this.isNamePermanentlyHidden(e.name)) {
|
|
2907
|
+
e.destroy();
|
|
2908
|
+
continue;
|
|
2909
|
+
}
|
|
2910
|
+
n.items.push(e), n.parentChains.set(e, t), e.hasChildren && this.collectPromotedChildren([e], t, n);
|
|
2911
|
+
}
|
|
2912
|
+
}
|
|
2913
|
+
cleanupPromotedItems() {
|
|
2914
|
+
for (let e of this.promotedSeparators) e.remove();
|
|
2915
|
+
if (this.promotedSeparators = [], this.promotedItemCache !== null) {
|
|
2916
|
+
for (let t of this.promotedItemCache.items) {
|
|
2917
|
+
var e;
|
|
2918
|
+
(e = t.getElement()) == null || e.remove(), t.destroy();
|
|
2919
|
+
}
|
|
2920
|
+
this.promotedItemCache = null;
|
|
2921
|
+
}
|
|
2922
|
+
}
|
|
2923
|
+
createGroupSeparator(e) {
|
|
2924
|
+
let t = document.createElement("div");
|
|
2925
|
+
return t.setAttribute(f.promotedGroupLabel, ""), t.setAttribute("role", "separator"), t.className = "px-3 pt-2.5 pb-1 text-[11px] font-medium uppercase tracking-wide text-gray-text/50 cursor-default", t.textContent = e, t;
|
|
2926
|
+
}
|
|
2927
|
+
appendPromotedGroupElements(e) {
|
|
2928
|
+
for (let { item: n } of e) {
|
|
2929
|
+
let e = n.getElement();
|
|
2930
|
+
if (e !== null) {
|
|
2931
|
+
var t;
|
|
2932
|
+
(t = this.nodes.items) == null || t.appendChild(e);
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2936
|
+
deduplicateAgainstPromoted(e, t) {
|
|
2937
|
+
let n = /* @__PURE__ */ new Set();
|
|
2938
|
+
for (let { item: e } of t) e.title !== void 0 && n.add(e.title.toLowerCase());
|
|
2939
|
+
return e.filter((e) => !(e instanceof G) || e.title === void 0 ? !0 : !n.has(e.title.toLowerCase()));
|
|
2940
|
+
}
|
|
2846
2941
|
addSearch() {
|
|
2847
|
-
this.search = new
|
|
2942
|
+
this.search = new er({
|
|
2848
2943
|
items: this.itemsDefault,
|
|
2849
2944
|
placeholder: this.messages.search
|
|
2850
|
-
}), this.search.on(
|
|
2945
|
+
}), this.search.on($n.Search, (e) => {
|
|
2946
|
+
if (e.query === "") {
|
|
2947
|
+
this.cleanupPromotedItems(), this.onSearch({
|
|
2948
|
+
query: e.query,
|
|
2949
|
+
topLevelItems: e.items,
|
|
2950
|
+
promotedItems: []
|
|
2951
|
+
});
|
|
2952
|
+
return;
|
|
2953
|
+
}
|
|
2954
|
+
this.promotedItemCache === null && (this.promotedItemCache = this.buildPromotedItemCache());
|
|
2955
|
+
let { parentChains: t } = this.promotedItemCache, n = this.promotedItemCache.items.map((n) => {
|
|
2956
|
+
var r;
|
|
2957
|
+
return {
|
|
2958
|
+
item: n,
|
|
2959
|
+
score: X(n, e.query),
|
|
2960
|
+
chain: (r = t.get(n)) == null ? [] : r
|
|
2961
|
+
};
|
|
2962
|
+
}).filter(({ score: e }) => e > 0).sort((e, t) => t.score - e.score);
|
|
2963
|
+
this.onSearch({
|
|
2964
|
+
query: e.query,
|
|
2965
|
+
topLevelItems: e.items,
|
|
2966
|
+
promotedItems: n
|
|
2967
|
+
});
|
|
2968
|
+
});
|
|
2851
2969
|
let e = this.search.getElement();
|
|
2852
2970
|
e.classList.add("mb-1.5"), this.nodes.popoverContainer.insertBefore(e, this.nodes.popoverContainer.firstChild);
|
|
2853
2971
|
}
|
|
2854
2972
|
filterItems(e) {
|
|
2855
2973
|
if (e === "") {
|
|
2856
|
-
this.onSearch({
|
|
2974
|
+
this.cleanupPromotedItems(), this.onSearch({
|
|
2857
2975
|
query: e,
|
|
2858
|
-
|
|
2976
|
+
topLevelItems: this.itemsDefault,
|
|
2977
|
+
promotedItems: []
|
|
2859
2978
|
});
|
|
2860
2979
|
return;
|
|
2861
2980
|
}
|
|
2981
|
+
this.promotedItemCache === null && (this.promotedItemCache = this.buildPromotedItemCache());
|
|
2862
2982
|
let t = this.itemsDefault.map((t) => ({
|
|
2863
2983
|
item: t,
|
|
2864
|
-
score:
|
|
2865
|
-
})).filter(({ score: e }) => e > 0).sort((e, t) => t.score - e.score)
|
|
2984
|
+
score: X(t, e)
|
|
2985
|
+
})).filter(({ score: e }) => e > 0).sort((e, t) => t.score - e.score), { parentChains: n } = this.promotedItemCache, r = this.promotedItemCache.items.map((t) => {
|
|
2986
|
+
var r;
|
|
2987
|
+
return {
|
|
2988
|
+
item: t,
|
|
2989
|
+
score: X(t, e),
|
|
2990
|
+
chain: (r = n.get(t)) == null ? [] : r
|
|
2991
|
+
};
|
|
2992
|
+
}).filter(({ score: e }) => e > 0).sort((e, t) => t.score - e.score);
|
|
2866
2993
|
this.onSearch({
|
|
2867
2994
|
query: e,
|
|
2868
|
-
|
|
2995
|
+
topLevelItems: t.map(({ item: e }) => e),
|
|
2996
|
+
promotedItems: r
|
|
2869
2997
|
});
|
|
2870
2998
|
}
|
|
2871
2999
|
reorderItemsByRank(e) {
|
|
@@ -2883,7 +3011,7 @@ var Z = {
|
|
|
2883
3011
|
this.originalItemOrder = void 0;
|
|
2884
3012
|
}
|
|
2885
3013
|
}
|
|
2886
|
-
},
|
|
3014
|
+
}, sr = function(e) {
|
|
2887
3015
|
let t = O.make("div");
|
|
2888
3016
|
return t.style.display = "flex", t.style.flexDirection = "column", t.style.gap = "4px", e.forEach((e) => {
|
|
2889
3017
|
let n = O.make("div"), r = e.indexOf(" ");
|
|
@@ -2893,7 +3021,7 @@ var Z = {
|
|
|
2893
3021
|
} else n.appendChild(document.createTextNode(e));
|
|
2894
3022
|
t.appendChild(n);
|
|
2895
3023
|
}), t;
|
|
2896
|
-
},
|
|
3024
|
+
}, cr, lr = class {
|
|
2897
3025
|
constructor({ api: e }) {
|
|
2898
3026
|
this.i18nAPI = e.i18n, this.blocksAPI = e.blocks, this.selectionAPI = e.selection, this.toolsAPI = e.tools, this.caretAPI = e.caret, this.i18nInstance = {
|
|
2899
3027
|
t: (e, t) => this.i18nAPI.t(e),
|
|
@@ -2941,10 +3069,10 @@ var Z = {
|
|
|
2941
3069
|
};
|
|
2942
3070
|
}
|
|
2943
3071
|
};
|
|
2944
|
-
|
|
3072
|
+
cr = lr, cr.isInline = !0;
|
|
2945
3073
|
//#endregion
|
|
2946
3074
|
//#region src/tools/toggle/constants.ts
|
|
2947
|
-
var
|
|
3075
|
+
var ur = "toggle", dr = "tools.toggle.placeholder", fr = "tools.toggle.bodyPlaceholder", pr = "tools.toggle.ariaLabelCollapse", mr = "tools.toggle.ariaLabelExpand", hr = "outline-hidden py-[3px] mt-[2px] mb-px", gr = "outline-hidden pl-0.5 leading-[1.6em] flex-1 min-w-0", _r = "flex items-center", vr = "flex-shrink-0 p-[8px] flex items-center justify-center cursor-pointer select-none rounded hover:bg-black/5 transition-colors duration-200 ease-in-out focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none", yr = "<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>", br = "hidden pl-7 pt-[calc(0.5em+5px)] pb-[4px] text-gray-text leading-[1.6em] cursor-pointer select-none", xr = "pl-7", Sr = {
|
|
2948
3076
|
toggleOpen: "data-blok-toggle-open",
|
|
2949
3077
|
toggleArrow: "data-blok-toggle-arrow",
|
|
2950
3078
|
toggleContent: "data-blok-toggle-content",
|
|
@@ -2952,4 +3080,4 @@ var fr = "toggle", pr = "tools.toggle.placeholder", mr = "tools.toggle.bodyPlace
|
|
|
2952
3080
|
toggleChildren: "data-blok-toggle-children"
|
|
2953
3081
|
};
|
|
2954
3082
|
//#endregion
|
|
2955
|
-
export { wn as $,
|
|
3083
|
+
export { wn as $, E as $t, sn as A, Ue as At, Pn as B, Fe as Bt, nr as C, h as Cn, Nt as Ct, cn as D, it as Dt, W as E, l as En, yt as Et, Sn as F, Re as Ft, Dn as G, ke as Gt, In as H, Pe as Ht, Cn as I, Be as It, dn as J, Oe as Jt, kn as K, Ae as Kt, Mn as L, Ve as Lt, yn as M, We as Mt, bn as N, qe as Nt, hn as O, F as Ot, xn as P, He as Pt, An as Q, Ce as Qt, jn as R, Le as Rt, ir as S, m as Sn, Mt as St, G as T, p as Tn, I as Tt, ln as U, Ne as Ut, Fn as V, Ie as Vt, un as W, Me as Wt, mn as X, Te as Xt, pn as Y, O as Yt, fn as Z, Ee as Zt, ar as _, _ as _n, zt as _t, hr as a, fe as an, Tn as at, Z as b, ee as bn, It as bt, gr as c, me as cn, en as ct, xr as d, se as dn, an as dt, D as en, zn as et, _r as f, C as fn, Yt as ft, or as g, ie as gn, Vt as gt, sr as h, S as hn, Ht as ht, vr as i, pe as in, Rn as it, vn as j, Ke as jt, Ln as k, et as kt, dr as l, oe as ln, H as lt, lr as m, x as mn, Wt as mt, mr as n, he as nn, Vn as nt, fr as o, de as on, tn as ot, ur as p, b as pn, B as pt, On as q, je as qt, yr as r, ue as rn, En as rt, br as s, le as sn, $t as st, pr as t, ge as tn, Bn as tt, Sr as u, ae as un, on as ut, $ as v, y as vn, Rt as vt, J as w, f as wn, jt as wt, rr as x, g as xn, Pt as xt, Q as y, te as yn, Ft as yt, Nn as z, ze as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./lightweight-i18n-
|
|
1
|
+
import { n as e } from "./lightweight-i18n-Safdy0ua.mjs";
|
|
2
2
|
//#region src/components/i18n/i18next-loader.ts
|
|
3
3
|
var t = async (t, n) => {
|
|
4
4
|
let r = (await import("./i18next-DymC16cN.mjs")).default.createInstance(), i = {
|
|
@@ -61,7 +61,6 @@ var t = {
|
|
|
61
61
|
"tools.table.clickToAddColumn": "Click to add a new column",
|
|
62
62
|
"tools.table.dragToAddRemoveColumns": "Drag to add or remove columns",
|
|
63
63
|
"blockSettings.delete": "Delete",
|
|
64
|
-
"blockSettings.toggleWidth": "Toggle width",
|
|
65
64
|
"a11y.dragHandle": "Drag to move block or click for menu",
|
|
66
65
|
"a11y.dragHandleRole": "drag handle",
|
|
67
66
|
"a11y.dragStarted": "Dragging block",
|
|
@@ -38,7 +38,6 @@ var e = {
|
|
|
38
38
|
"tools.header.toggleHeading3": "Açılır başlık 3",
|
|
39
39
|
"tools.list.placeholder": "Liste",
|
|
40
40
|
"blockSettings.delete": "Sil",
|
|
41
|
-
"blockSettings.toggleWidth": "Genişliği değiştir",
|
|
42
41
|
"a11y.dragHandle": "Taşımak için sürükle veya menü için tıkla",
|
|
43
42
|
"a11y.dragHandleRole": "sürükleme tutamacı",
|
|
44
43
|
"a11y.dragStarted": "Blok sürükleniyor",
|