@jackuait/blok 0.7.0-beta.1 → 0.7.0-beta.3
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/README.md +20 -4
- package/dist/blok.mjs +2 -2
- package/dist/chunks/{blok-ob9Fwr1L.mjs → blok-BlyYiZTm.mjs} +1840 -1654
- package/dist/chunks/{inline-tool-convert-CvFW2iie.mjs → constants-DEy4jBO5.mjs} +316 -297
- package/dist/chunks/{i18next-loader-Bu3vFvye.mjs → i18next-loader-Cfbv-x6v.mjs} +1 -1
- package/dist/chunks/index-Cu1w-sLZ.mjs +130 -0
- package/dist/chunks/{messages-D2NOpHn9.mjs → messages-0Pxnqd4N.mjs} +7 -0
- package/dist/chunks/{messages-GSByFygY.mjs → messages-0ZXYUq7S.mjs} +7 -0
- package/dist/{messages-BUl_Rcnj.mjs → chunks/messages-2OD2uUDS.mjs} +9 -2
- package/dist/{messages-CgTq3QhU.mjs → chunks/messages-7cEMfYzh.mjs} +7 -0
- package/dist/{messages-DlJbPF2T.mjs → chunks/messages-8mwfda1Q.mjs} +7 -0
- package/dist/{messages-D9ndgBnU.mjs → chunks/messages-B-FqWsBM.mjs} +7 -0
- package/dist/{messages-B217znr-.mjs → chunks/messages-B1jzqWiQ.mjs} +7 -0
- package/dist/{messages-BcpCubnC.mjs → chunks/messages-B5wk4Ezz.mjs} +7 -0
- package/dist/chunks/{messages-DRXWF0PV.mjs → messages-BAZ5Ld8x.mjs} +7 -0
- package/dist/{messages-CRJ_mchV.mjs → chunks/messages-BBhGp198.mjs} +7 -0
- package/dist/chunks/{messages-yHcs38yI.mjs → messages-BC9IjIb7.mjs} +7 -0
- package/dist/chunks/{messages-Cr94GzbX.mjs → messages-BFEmpeV-.mjs} +7 -0
- package/dist/chunks/{messages-ucTVgS5G.mjs → messages-BGqzTZy0.mjs} +7 -0
- package/dist/{messages-begYOTgC.mjs → chunks/messages-BICs1abK.mjs} +7 -0
- package/dist/chunks/{messages-DVQvl8Qj.mjs → messages-BJX6rOnd.mjs} +7 -0
- package/dist/chunks/{messages-Chb7k3Rg.mjs → messages-BL2bXRhN.mjs} +7 -0
- package/dist/{messages-Phkd7XmE.mjs → chunks/messages-BMs5qdlH.mjs} +7 -0
- package/dist/chunks/{messages-Cjjo7yHR.mjs → messages-BRsjUNwB.mjs} +7 -0
- package/dist/chunks/{messages-D4qqwVgQ.mjs → messages-BSqV8OUR.mjs} +7 -0
- package/dist/chunks/{messages-DviiFSv2.mjs → messages-BTqu3DfG.mjs} +7 -0
- package/dist/chunks/{messages-0AbcLMLm.mjs → messages-BXnDEsur.mjs} +7 -0
- package/dist/{messages-CmR9ftc_.mjs → chunks/messages-BYcre4-6.mjs} +7 -0
- package/dist/{messages-wmi-iFkH.mjs → chunks/messages-BZ9LRJf-.mjs} +7 -0
- package/dist/chunks/{messages-D00x4S8o.mjs → messages-BgypBy7y.mjs} +7 -0
- package/dist/{messages-96kNZDll.mjs → chunks/messages-BsuGf70G.mjs} +7 -0
- package/dist/chunks/{messages-v3GipbFl.mjs → messages-BwaoF4lQ.mjs} +7 -0
- package/dist/{messages-DDTQgImT.mjs → chunks/messages-C1l8_7-y.mjs} +7 -0
- package/dist/{messages-B1FZ8lxU.mjs → chunks/messages-C5NA_r9v.mjs} +7 -0
- package/dist/{messages-Cs8zmZ3L.mjs → chunks/messages-C6zgZ5pA.mjs} +7 -0
- package/dist/chunks/{messages-ZjUAIWb1.mjs → messages-CAo5ghFI.mjs} +7 -0
- package/dist/{messages-D5S1Dnpm.mjs → chunks/messages-CH9qlJ9I.mjs} +7 -0
- package/dist/{messages-D7u2bmP2.mjs → chunks/messages-CI0HqAeS.mjs} +7 -0
- package/dist/{messages-DH_jBeED.mjs → chunks/messages-CJJtms9k.mjs} +7 -0
- package/dist/{messages-CDBLbUOQ.mjs → chunks/messages-CM2hJqk6.mjs} +7 -0
- package/dist/chunks/{messages-8IPXkrDl.mjs → messages-CRMiDPIQ.mjs} +7 -0
- package/dist/chunks/{messages-Dzzn6XoD.mjs → messages-CWsZuBj1.mjs} +7 -0
- package/dist/chunks/{messages-CW4c4cRk.mjs → messages-C_gLHo6A.mjs} +7 -0
- package/dist/{messages-CH4hrauY.mjs → chunks/messages-Cbu-NUDn.mjs} +7 -0
- package/dist/{messages-RonBBCnh.mjs → chunks/messages-Cjb_MCeh.mjs} +7 -0
- package/dist/chunks/{messages-BJ6zrz2j.mjs → messages-ClXYO9Wn.mjs} +7 -0
- package/dist/chunks/{messages-CrCYPCk3.mjs → messages-CsH20vhP.mjs} +7 -0
- package/dist/{messages-CzK0LEhb.mjs → chunks/messages-CsjAGhzA.mjs} +7 -0
- package/dist/chunks/{messages-BZlmVRwn.mjs → messages-Cx7VKFOE.mjs} +7 -0
- package/dist/chunks/{messages-0E0AkrNu.mjs → messages-D3JeBwxo.mjs} +7 -0
- package/dist/chunks/{messages-D85FqxgY.mjs → messages-D541fieJ.mjs} +7 -0
- package/dist/{messages-4v4MuVEc.mjs → chunks/messages-D7XPdglc.mjs} +7 -0
- package/dist/{messages-BC8IN4Bf.mjs → chunks/messages-DBhylfvt.mjs} +7 -0
- package/dist/chunks/{messages-B8WNljW3.mjs → messages-DCA120lW.mjs} +7 -0
- package/dist/chunks/{messages-Cr49Nt3U.mjs → messages-DCf_xZMN.mjs} +7 -0
- package/dist/chunks/{messages-VDriF5Qy.mjs → messages-DDwXKCpe.mjs} +7 -0
- package/dist/{messages-b1EdvUm0.mjs → chunks/messages-DNKDlxcy.mjs} +7 -0
- package/dist/{messages-L_kl2Qvh.mjs → chunks/messages-DPvEjrGK.mjs} +7 -0
- package/dist/chunks/{messages-62v-CLC-.mjs → messages-DQ-AkNxA.mjs} +7 -0
- package/dist/chunks/{messages-DdK-nFGm.mjs → messages-DVuvkNap.mjs} +7 -0
- package/dist/{messages-DnVlmiNT.mjs → chunks/messages-DaglyqUT.mjs} +7 -0
- package/dist/{messages-Bm-E4iRC.mjs → chunks/messages-Di0bAfwA.mjs} +7 -0
- package/dist/{messages-D1mn7Zd5.mjs → chunks/messages-DuLct0Yr.mjs} +7 -0
- package/dist/{messages-8DeO60Oo.mjs → chunks/messages-DzEYYhZh.mjs} +7 -0
- package/dist/chunks/{messages-CfiyT2Wi.mjs → messages-DznNGAB2.mjs} +7 -0
- package/dist/chunks/{messages-DXktiao_.mjs → messages-DzoIzyu8.mjs} +7 -0
- package/dist/{messages-C_4otP7U.mjs → chunks/messages-QYOGmket.mjs} +7 -0
- package/dist/chunks/{messages-nefz1S71.mjs → messages-cEjGDAgI.mjs} +7 -0
- package/dist/chunks/{messages-jrncnb-H.mjs → messages-ddhvrdpE.mjs} +7 -0
- package/dist/chunks/{messages-DzqM3Fel.mjs → messages-mwfNK5nZ.mjs} +7 -0
- package/dist/chunks/{messages-Cl6ayUaq.mjs → messages-nG_vNDte.mjs} +7 -0
- package/dist/{messages-C4jL-90N.mjs → chunks/messages-tDq3Owh7.mjs} +7 -0
- package/dist/{messages-BI43k_BD.mjs → chunks/messages-x6VJVZKx.mjs} +7 -0
- package/dist/full.mjs +2 -2
- package/dist/locales.mjs +87 -80
- package/dist/{messages-D2NOpHn9.mjs → messages-0Pxnqd4N.mjs} +7 -0
- package/dist/{messages-GSByFygY.mjs → messages-0ZXYUq7S.mjs} +7 -0
- package/dist/{chunks/messages-BUl_Rcnj.mjs → messages-2OD2uUDS.mjs} +9 -2
- package/dist/{chunks/messages-CgTq3QhU.mjs → messages-7cEMfYzh.mjs} +7 -0
- package/dist/{chunks/messages-DlJbPF2T.mjs → messages-8mwfda1Q.mjs} +7 -0
- package/dist/{chunks/messages-D9ndgBnU.mjs → messages-B-FqWsBM.mjs} +7 -0
- package/dist/{chunks/messages-B217znr-.mjs → messages-B1jzqWiQ.mjs} +7 -0
- package/dist/{chunks/messages-BcpCubnC.mjs → messages-B5wk4Ezz.mjs} +7 -0
- package/dist/{messages-DRXWF0PV.mjs → messages-BAZ5Ld8x.mjs} +7 -0
- package/dist/{chunks/messages-CRJ_mchV.mjs → messages-BBhGp198.mjs} +7 -0
- package/dist/{messages-yHcs38yI.mjs → messages-BC9IjIb7.mjs} +7 -0
- package/dist/{messages-Cr94GzbX.mjs → messages-BFEmpeV-.mjs} +7 -0
- package/dist/{messages-ucTVgS5G.mjs → messages-BGqzTZy0.mjs} +7 -0
- package/dist/{chunks/messages-begYOTgC.mjs → messages-BICs1abK.mjs} +7 -0
- package/dist/{messages-DVQvl8Qj.mjs → messages-BJX6rOnd.mjs} +7 -0
- package/dist/{messages-Chb7k3Rg.mjs → messages-BL2bXRhN.mjs} +7 -0
- package/dist/{chunks/messages-Phkd7XmE.mjs → messages-BMs5qdlH.mjs} +7 -0
- package/dist/{messages-Cjjo7yHR.mjs → messages-BRsjUNwB.mjs} +7 -0
- package/dist/{messages-D4qqwVgQ.mjs → messages-BSqV8OUR.mjs} +7 -0
- package/dist/{messages-DviiFSv2.mjs → messages-BTqu3DfG.mjs} +7 -0
- package/dist/{messages-0AbcLMLm.mjs → messages-BXnDEsur.mjs} +7 -0
- package/dist/{chunks/messages-CmR9ftc_.mjs → messages-BYcre4-6.mjs} +7 -0
- package/dist/{chunks/messages-wmi-iFkH.mjs → messages-BZ9LRJf-.mjs} +7 -0
- package/dist/{messages-D00x4S8o.mjs → messages-BgypBy7y.mjs} +7 -0
- package/dist/{chunks/messages-96kNZDll.mjs → messages-BsuGf70G.mjs} +7 -0
- package/dist/{messages-v3GipbFl.mjs → messages-BwaoF4lQ.mjs} +7 -0
- package/dist/{chunks/messages-DDTQgImT.mjs → messages-C1l8_7-y.mjs} +7 -0
- package/dist/{chunks/messages-B1FZ8lxU.mjs → messages-C5NA_r9v.mjs} +7 -0
- package/dist/{chunks/messages-Cs8zmZ3L.mjs → messages-C6zgZ5pA.mjs} +7 -0
- package/dist/{messages-ZjUAIWb1.mjs → messages-CAo5ghFI.mjs} +7 -0
- package/dist/{chunks/messages-D5S1Dnpm.mjs → messages-CH9qlJ9I.mjs} +7 -0
- package/dist/{chunks/messages-D7u2bmP2.mjs → messages-CI0HqAeS.mjs} +7 -0
- package/dist/{chunks/messages-DH_jBeED.mjs → messages-CJJtms9k.mjs} +7 -0
- package/dist/{chunks/messages-CDBLbUOQ.mjs → messages-CM2hJqk6.mjs} +7 -0
- package/dist/{messages-8IPXkrDl.mjs → messages-CRMiDPIQ.mjs} +7 -0
- package/dist/{messages-Dzzn6XoD.mjs → messages-CWsZuBj1.mjs} +7 -0
- package/dist/{messages-CW4c4cRk.mjs → messages-C_gLHo6A.mjs} +7 -0
- package/dist/{chunks/messages-CH4hrauY.mjs → messages-Cbu-NUDn.mjs} +7 -0
- package/dist/{chunks/messages-RonBBCnh.mjs → messages-Cjb_MCeh.mjs} +7 -0
- package/dist/{messages-BJ6zrz2j.mjs → messages-ClXYO9Wn.mjs} +7 -0
- package/dist/{messages-CrCYPCk3.mjs → messages-CsH20vhP.mjs} +7 -0
- package/dist/{chunks/messages-CzK0LEhb.mjs → messages-CsjAGhzA.mjs} +7 -0
- package/dist/{messages-BZlmVRwn.mjs → messages-Cx7VKFOE.mjs} +7 -0
- package/dist/{messages-0E0AkrNu.mjs → messages-D3JeBwxo.mjs} +7 -0
- package/dist/{messages-D85FqxgY.mjs → messages-D541fieJ.mjs} +7 -0
- package/dist/{chunks/messages-4v4MuVEc.mjs → messages-D7XPdglc.mjs} +7 -0
- package/dist/{chunks/messages-BC8IN4Bf.mjs → messages-DBhylfvt.mjs} +7 -0
- package/dist/{messages-B8WNljW3.mjs → messages-DCA120lW.mjs} +7 -0
- package/dist/{messages-Cr49Nt3U.mjs → messages-DCf_xZMN.mjs} +7 -0
- package/dist/{messages-VDriF5Qy.mjs → messages-DDwXKCpe.mjs} +7 -0
- package/dist/{chunks/messages-b1EdvUm0.mjs → messages-DNKDlxcy.mjs} +7 -0
- package/dist/{chunks/messages-L_kl2Qvh.mjs → messages-DPvEjrGK.mjs} +7 -0
- package/dist/{messages-62v-CLC-.mjs → messages-DQ-AkNxA.mjs} +7 -0
- package/dist/{messages-DdK-nFGm.mjs → messages-DVuvkNap.mjs} +7 -0
- package/dist/{chunks/messages-DnVlmiNT.mjs → messages-DaglyqUT.mjs} +7 -0
- package/dist/{chunks/messages-Bm-E4iRC.mjs → messages-Di0bAfwA.mjs} +7 -0
- package/dist/{chunks/messages-D1mn7Zd5.mjs → messages-DuLct0Yr.mjs} +7 -0
- package/dist/{chunks/messages-8DeO60Oo.mjs → messages-DzEYYhZh.mjs} +7 -0
- package/dist/{messages-CfiyT2Wi.mjs → messages-DznNGAB2.mjs} +7 -0
- package/dist/{messages-DXktiao_.mjs → messages-DzoIzyu8.mjs} +7 -0
- package/dist/{chunks/messages-C_4otP7U.mjs → messages-QYOGmket.mjs} +7 -0
- package/dist/{messages-nefz1S71.mjs → messages-cEjGDAgI.mjs} +7 -0
- package/dist/{messages-jrncnb-H.mjs → messages-ddhvrdpE.mjs} +7 -0
- package/dist/{messages-DzqM3Fel.mjs → messages-mwfNK5nZ.mjs} +7 -0
- package/dist/{messages-Cl6ayUaq.mjs → messages-nG_vNDte.mjs} +7 -0
- package/dist/{chunks/messages-C4jL-90N.mjs → messages-tDq3Owh7.mjs} +7 -0
- package/dist/{chunks/messages-BI43k_BD.mjs → messages-x6VJVZKx.mjs} +7 -0
- package/dist/tools.mjs +443 -338
- package/package.json +1 -1
- package/src/components/i18n/locales/am/messages.json +7 -0
- package/src/components/i18n/locales/ar/messages.json +7 -0
- package/src/components/i18n/locales/az/messages.json +7 -0
- package/src/components/i18n/locales/bg/messages.json +7 -0
- package/src/components/i18n/locales/bn/messages.json +7 -0
- package/src/components/i18n/locales/bs/messages.json +7 -0
- package/src/components/i18n/locales/cs/messages.json +7 -0
- package/src/components/i18n/locales/da/messages.json +7 -0
- package/src/components/i18n/locales/de/messages.json +7 -0
- package/src/components/i18n/locales/dv/messages.json +7 -0
- package/src/components/i18n/locales/el/messages.json +7 -0
- package/src/components/i18n/locales/en/messages.json +7 -0
- package/src/components/i18n/locales/es/messages.json +7 -0
- package/src/components/i18n/locales/et/messages.json +7 -0
- package/src/components/i18n/locales/fa/messages.json +7 -0
- package/src/components/i18n/locales/fi/messages.json +7 -0
- package/src/components/i18n/locales/fil/messages.json +7 -0
- package/src/components/i18n/locales/fr/messages.json +7 -0
- package/src/components/i18n/locales/gu/messages.json +7 -0
- package/src/components/i18n/locales/he/messages.json +7 -0
- package/src/components/i18n/locales/hi/messages.json +7 -0
- package/src/components/i18n/locales/hr/messages.json +7 -0
- package/src/components/i18n/locales/hu/messages.json +7 -0
- package/src/components/i18n/locales/hy/messages.json +7 -0
- package/src/components/i18n/locales/id/messages.json +7 -0
- package/src/components/i18n/locales/it/messages.json +7 -0
- package/src/components/i18n/locales/ja/messages.json +7 -0
- package/src/components/i18n/locales/ka/messages.json +7 -0
- package/src/components/i18n/locales/km/messages.json +7 -0
- package/src/components/i18n/locales/kn/messages.json +7 -0
- package/src/components/i18n/locales/ko/messages.json +7 -0
- package/src/components/i18n/locales/ku/messages.json +7 -0
- package/src/components/i18n/locales/lo/messages.json +7 -0
- package/src/components/i18n/locales/lt/messages.json +7 -0
- package/src/components/i18n/locales/lv/messages.json +7 -0
- package/src/components/i18n/locales/mk/messages.json +7 -0
- package/src/components/i18n/locales/ml/messages.json +7 -0
- package/src/components/i18n/locales/mn/messages.json +7 -0
- package/src/components/i18n/locales/mr/messages.json +7 -0
- package/src/components/i18n/locales/ms/messages.json +7 -0
- package/src/components/i18n/locales/my/messages.json +7 -0
- package/src/components/i18n/locales/ne/messages.json +7 -0
- package/src/components/i18n/locales/nl/messages.json +7 -0
- package/src/components/i18n/locales/no/messages.json +7 -0
- package/src/components/i18n/locales/pa/messages.json +7 -0
- package/src/components/i18n/locales/pl/messages.json +7 -0
- package/src/components/i18n/locales/ps/messages.json +7 -0
- package/src/components/i18n/locales/pt/messages.json +7 -0
- package/src/components/i18n/locales/ro/messages.json +7 -0
- package/src/components/i18n/locales/ru/messages.json +7 -0
- package/src/components/i18n/locales/sd/messages.json +7 -0
- package/src/components/i18n/locales/si/messages.json +7 -0
- package/src/components/i18n/locales/sk/messages.json +7 -0
- package/src/components/i18n/locales/sl/messages.json +7 -0
- package/src/components/i18n/locales/sq/messages.json +7 -0
- package/src/components/i18n/locales/sr/messages.json +7 -0
- package/src/components/i18n/locales/sv/messages.json +7 -0
- package/src/components/i18n/locales/sw/messages.json +7 -0
- package/src/components/i18n/locales/ta/messages.json +7 -0
- package/src/components/i18n/locales/te/messages.json +7 -0
- package/src/components/i18n/locales/th/messages.json +7 -0
- package/src/components/i18n/locales/tr/messages.json +7 -0
- package/src/components/i18n/locales/ug/messages.json +7 -0
- package/src/components/i18n/locales/uk/messages.json +7 -0
- package/src/components/i18n/locales/ur/messages.json +7 -0
- package/src/components/i18n/locales/vi/messages.json +7 -0
- package/src/components/i18n/locales/yi/messages.json +7 -0
- package/src/components/i18n/locales/zh/messages.json +7 -0
- package/src/components/modules/blockEvents/composers/keyboardNavigation.ts +44 -2
- package/src/components/modules/blockEvents/index.ts +1 -3
- package/src/components/modules/blockManager/blockManager.ts +16 -0
- package/src/components/modules/blockManager/operations.ts +106 -9
- package/src/components/modules/blockSelection.ts +2 -0
- package/src/components/modules/caret.ts +49 -4
- package/src/components/modules/drag/DragController.ts +34 -2
- package/src/components/modules/paste/handlers/blok-data-handler.ts +50 -3
- package/src/components/modules/toolbar/index.ts +11 -16
- package/src/components/modules/ui.ts +22 -0
- package/src/components/ui/toolbox.ts +19 -3
- package/src/components/utils/notifier/draw.ts +116 -14
- package/src/components/utils/notifier/index.ts +31 -4
- package/src/components/utils/popover/components/popover-item/popover-item-default/popover-item-default.const.ts +2 -2
- package/src/components/utils/popover/components/popover-item/popover-item-default/popover-item-default.ts +6 -7
- package/src/components/utils/popover/components/popover-item/popover-item-separator/popover-item-separator.const.ts +2 -2
- package/src/components/utils/popover/popover-abstract.ts +2 -0
- package/src/components/utils/popover/popover-desktop.ts +39 -2
- package/src/stories/Block.stories.ts +21 -0
- package/src/stories/EditorModes.stories.ts +19 -0
- package/src/stories/InlineToolbar.stories.ts +41 -9
- package/src/stories/MarkerColors.stories.ts +48 -52
- package/src/stories/Notifier.stories.ts +19 -1
- package/src/stories/Placeholder.stories.ts +12 -0
- package/src/stories/Popover.stories.ts +26 -0
- package/src/stories/Selection.stories.ts +6 -0
- package/src/stories/Table.stories.ts +12 -0
- package/src/stories/Toolbar.stories.ts +9 -0
- package/src/stories/Toolbox.stories.ts +4 -0
- package/src/stories/Tooltip.stories.ts +6 -0
- package/src/stories/helpers.ts +63 -8
- package/src/styles/main.css +46 -0
- package/src/tools/header/index.ts +121 -22
- package/src/tools/table/index.ts +2 -3
- package/src/tools/table/table-add-controls.ts +29 -1
- package/src/tools/table/table-cell-blocks.ts +93 -0
- package/src/tools/toggle/constants.ts +2 -2
- package/src/tools/toggle/dom-builder.ts +32 -4
- package/src/tools/toggle/index.ts +26 -4
- package/src/tools/toggle/toggle-keyboard.ts +19 -2
- package/src/tools/toggle/toggle-lifecycle.ts +1 -0
- package/src/tools/toggle/toggle-shortcuts.ts +18 -8
- package/types/utils/popover/popover.d.ts +8 -0
- package/dist/chunks/index-CZmRzRIX.mjs +0 -78
|
@@ -13,7 +13,7 @@ var Bt = (s, t, e) => t in s ? de(s, t, { enumerable: !0, configurable: !0, writ
|
|
|
13
13
|
function ge(s) {
|
|
14
14
|
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
|
15
15
|
}
|
|
16
|
-
const
|
|
16
|
+
const f = {
|
|
17
17
|
// ============================================
|
|
18
18
|
// Core Element Identifiers
|
|
19
19
|
// ============================================
|
|
@@ -275,7 +275,7 @@ const p = {
|
|
|
275
275
|
testid: "data-blok-testid",
|
|
276
276
|
/** Force hover state (for tests/storybook) */
|
|
277
277
|
forceHover: "data-blok-force-hover"
|
|
278
|
-
}, st = (s, t) => t === void 0 ? `[${s}]` : `[${s}="${t}"]`,
|
|
278
|
+
}, st = (s, t) => t === void 0 ? `[${s}]` : `[${s}="${t}"]`, b = {
|
|
279
279
|
BACKSPACE: 8,
|
|
280
280
|
TAB: 9,
|
|
281
281
|
ENTER: 13,
|
|
@@ -286,7 +286,7 @@ const p = {
|
|
|
286
286
|
DELETE: 46
|
|
287
287
|
}, Eo = {
|
|
288
288
|
LEFT: 0
|
|
289
|
-
}, xo = 650, me = () => "0.7.0-beta.
|
|
289
|
+
}, xo = 650, me = () => "0.7.0-beta.3";
|
|
290
290
|
var ve = /* @__PURE__ */ ((s) => (s.VERBOSE = "VERBOSE", s.INFO = "INFO", s.WARN = "WARN", s.ERROR = "ERROR", s))(ve || {});
|
|
291
291
|
const Q = (s, t, e = "log", o, n = "color: inherit") => {
|
|
292
292
|
const r = typeof console == "undefined" ? void 0 : console;
|
|
@@ -319,10 +319,10 @@ const Q = (s, t, e = "log", o, n = "color: inherit") => {
|
|
|
319
319
|
padding: 4px 9px;
|
|
320
320
|
border-radius: 30px;
|
|
321
321
|
border: 1px solid rgba(56, 138, 229, 0.16);
|
|
322
|
-
margin: 4px 5px 4px 0;`, n), `%c${l}%c ${t}`) : `( ${l} )${t}` : t,
|
|
322
|
+
margin: 4px 5px 4px 0;`, n), `%c${l}%c ${t}`) : `( ${l} )${t}` : t, u = i ? o !== void 0 ? [`${d} %o`, ...a] : [d, ...a] : [d];
|
|
323
323
|
try {
|
|
324
|
-
r[e](...
|
|
325
|
-
} catch (
|
|
324
|
+
r[e](...u);
|
|
325
|
+
} catch (h) {
|
|
326
326
|
}
|
|
327
327
|
};
|
|
328
328
|
Q.logLevel = "VERBOSE";
|
|
@@ -337,7 +337,7 @@ const To = (s) => {
|
|
|
337
337
|
return !1;
|
|
338
338
|
const t = Object.getPrototypeOf(s);
|
|
339
339
|
return t === null || t === Object.prototype;
|
|
340
|
-
}, P = (s) => typeof s == "string",
|
|
340
|
+
}, P = (s) => typeof s == "string", Yt = (s) => typeof s == "boolean", Ht = (s) => typeof s == "number", Ao = function(s) {
|
|
341
341
|
return s === void 0;
|
|
342
342
|
}, M = (s) => s == null ? !0 : typeof s == "string" || Array.isArray(s) ? s.length === 0 : s instanceof Map || s instanceof Set ? s.size === 0 : typeof s == "object" ? Object.keys(s).length === 0 : !1, be = (s, t) => function(...e) {
|
|
343
343
|
setTimeout(() => s.apply(this, e), t);
|
|
@@ -360,16 +360,16 @@ const To = (s) => {
|
|
|
360
360
|
lastThis: void 0
|
|
361
361
|
}, n = (c) => {
|
|
362
362
|
o.lastInvokeTime = c;
|
|
363
|
-
const d = o.lastArgs,
|
|
364
|
-
return o.lastArgs = void 0, o.lastThis = void 0, s.apply(
|
|
363
|
+
const d = o.lastArgs, u = o.lastThis;
|
|
364
|
+
return o.lastArgs = void 0, o.lastThis = void 0, s.apply(u, d != null ? d : []);
|
|
365
365
|
}, r = (c) => {
|
|
366
366
|
var g;
|
|
367
|
-
const d = c - ((g = o.lastCallTime) != null ? g : 0),
|
|
368
|
-
return Math.min(
|
|
367
|
+
const d = c - ((g = o.lastCallTime) != null ? g : 0), u = c - o.lastInvokeTime, h = t - d;
|
|
368
|
+
return Math.min(h, t - u);
|
|
369
369
|
}, i = (c) => {
|
|
370
|
-
var
|
|
371
|
-
const d = c - ((
|
|
372
|
-
return o.lastCallTime === void 0 || d >= t || d < 0 ||
|
|
370
|
+
var h;
|
|
371
|
+
const d = c - ((h = o.lastCallTime) != null ? h : 0), u = c - o.lastInvokeTime;
|
|
372
|
+
return o.lastCallTime === void 0 || d >= t || d < 0 || u >= t;
|
|
373
373
|
}, a = () => {
|
|
374
374
|
const c = Date.now();
|
|
375
375
|
if (!i(c)) {
|
|
@@ -379,8 +379,8 @@ const To = (s) => {
|
|
|
379
379
|
o.timerId = void 0, o.lastArgs !== void 0 && n(c), o.lastArgs = void 0, o.lastThis = void 0;
|
|
380
380
|
};
|
|
381
381
|
return function(...c) {
|
|
382
|
-
const d = Date.now(),
|
|
383
|
-
if (o.lastArgs = c, o.lastThis = this, o.lastCallTime = d, !!(
|
|
382
|
+
const d = Date.now(), u = i(d);
|
|
383
|
+
if (o.lastArgs = c, o.lastThis = this, o.lastCallTime = d, !!(u && o.timerId === void 0))
|
|
384
384
|
return o.lastInvokeTime = d, o.timerId = setTimeout(a, t), n(d);
|
|
385
385
|
};
|
|
386
386
|
}, S = (() => {
|
|
@@ -394,7 +394,7 @@ S && typeof S.window == "undefined" && (S.window = S);
|
|
|
394
394
|
const ht = () => {
|
|
395
395
|
if (S != null && S.window)
|
|
396
396
|
return S.window;
|
|
397
|
-
},
|
|
397
|
+
}, Xt = () => {
|
|
398
398
|
if (S != null && S.navigator)
|
|
399
399
|
return S.navigator;
|
|
400
400
|
const s = ht();
|
|
@@ -406,14 +406,14 @@ const ht = () => {
|
|
|
406
406
|
mac: !1,
|
|
407
407
|
x11: !1,
|
|
408
408
|
linux: !1
|
|
409
|
-
}, t =
|
|
409
|
+
}, t = Xt(), e = (r = (n = t == null ? void 0 : t.userAgent) == null ? void 0 : n.toLowerCase()) != null ? r : "", o = e ? Object.keys(s).find((i) => e.indexOf(i) !== -1) : void 0;
|
|
410
410
|
return o !== void 0 && (s[o] = !0), s;
|
|
411
411
|
}, ke = 650, Ce = () => {
|
|
412
412
|
const s = ht();
|
|
413
413
|
return !s || typeof s.matchMedia != "function" ? !1 : s.matchMedia(`(max-width: ${ke}px)`).matches;
|
|
414
414
|
}, Oo = (() => {
|
|
415
415
|
var l;
|
|
416
|
-
const s =
|
|
416
|
+
const s = Xt();
|
|
417
417
|
if (!s)
|
|
418
418
|
return !1;
|
|
419
419
|
const t = s.userAgent || "", e = s.userAgentData, o = e == null ? void 0 : e.platform;
|
|
@@ -894,12 +894,12 @@ class m {
|
|
|
894
894
|
t,
|
|
895
895
|
NodeFilter.SHOW_TEXT,
|
|
896
896
|
null
|
|
897
|
-
), n = (c, d,
|
|
897
|
+
), n = (c, d, u, h) => {
|
|
898
898
|
var w;
|
|
899
|
-
if (!c &&
|
|
900
|
-
const C = d -
|
|
899
|
+
if (!c && u) {
|
|
900
|
+
const C = d - h, k = Math.max(e - C, 0), T = Math.min(k, h);
|
|
901
901
|
return {
|
|
902
|
-
node:
|
|
902
|
+
node: u,
|
|
903
903
|
offset: T
|
|
904
904
|
};
|
|
905
905
|
}
|
|
@@ -908,15 +908,15 @@ class m {
|
|
|
908
908
|
node: null,
|
|
909
909
|
offset: 0
|
|
910
910
|
};
|
|
911
|
-
const
|
|
912
|
-
return d +
|
|
911
|
+
const p = ((w = c.textContent) != null ? w : "").length;
|
|
912
|
+
return d + p >= e ? {
|
|
913
913
|
node: c,
|
|
914
|
-
offset: Math.min(e - d,
|
|
914
|
+
offset: Math.min(e - d, p)
|
|
915
915
|
} : n(
|
|
916
916
|
o.nextNode(),
|
|
917
|
-
d +
|
|
917
|
+
d + p,
|
|
918
918
|
c,
|
|
919
|
-
|
|
919
|
+
p
|
|
920
920
|
);
|
|
921
921
|
}, r = o.nextNode(), { node: i, offset: a } = n(r, 0, null, 0);
|
|
922
922
|
if (!i)
|
|
@@ -953,7 +953,7 @@ const Ne = (s) => !/[^\t\n\r \u200B]/.test(s), Fo = (s) => {
|
|
|
953
953
|
}
|
|
954
954
|
}
|
|
955
955
|
};
|
|
956
|
-
}, $o = () => [...Zt, ...G.keys()], Do = (s) => s ? (s instanceof HTMLElement ? s : s.holder).closest("[data-blok-table-cell-blocks]") !== null : !1,
|
|
956
|
+
}, $o = () => [...Zt, ...G.keys()], Do = (s) => s ? (s instanceof HTMLElement ? s : s.holder).closest("[data-blok-table-cell-blocks]") !== null : !1, _o = (s) => Zt.includes(s) || G.has(s);
|
|
957
957
|
class Qt {
|
|
958
958
|
constructor() {
|
|
959
959
|
this.allListeners = [];
|
|
@@ -1115,25 +1115,25 @@ const J = (s, t) => {
|
|
|
1115
1115
|
return !1;
|
|
1116
1116
|
const e = s.conversionConfig[t];
|
|
1117
1117
|
return E(e) || P(e);
|
|
1118
|
-
},
|
|
1118
|
+
}, X = (s, t) => {
|
|
1119
1119
|
const e = t.includes(".") ? t : `toolNames.${t}`;
|
|
1120
1120
|
return s.has(e) ? s.t(e) : void 0;
|
|
1121
1121
|
}, Ft = (s, t, e = "") => {
|
|
1122
|
-
const o = t.titleKey ?
|
|
1122
|
+
const o = t.titleKey ? X(s, t.titleKey) : void 0;
|
|
1123
1123
|
if (o !== void 0)
|
|
1124
1124
|
return o;
|
|
1125
|
-
const n = t.title ?
|
|
1125
|
+
const n = t.title ? X(s, t.title) : void 0;
|
|
1126
1126
|
if (n !== void 0)
|
|
1127
1127
|
return n;
|
|
1128
1128
|
if (t.title)
|
|
1129
1129
|
return t.title;
|
|
1130
|
-
const r = e ?
|
|
1130
|
+
const r = e ? X(s, e) : void 0;
|
|
1131
1131
|
return r != null ? r : e;
|
|
1132
1132
|
}, Le = (s, t, e) => {
|
|
1133
|
-
const o = t ?
|
|
1133
|
+
const o = t ? X(s, t) : void 0;
|
|
1134
1134
|
if (o !== void 0)
|
|
1135
1135
|
return o;
|
|
1136
|
-
const n =
|
|
1136
|
+
const n = X(s, e);
|
|
1137
1137
|
return n != null ? n : e;
|
|
1138
1138
|
}, Pt = (s, t) => J(s.tool, t), Oe = (s, t) => Object.entries(s).some((([e, o]) => t[e] && Tt(t[e], o))), te = async (s, t) => {
|
|
1139
1139
|
const o = (await s.save()).data, n = t.find((r) => r.name === s.name);
|
|
@@ -1150,7 +1150,7 @@ const J = (s, t) => {
|
|
|
1150
1150
|
toolbox: a
|
|
1151
1151
|
})), r;
|
|
1152
1152
|
}, []);
|
|
1153
|
-
},
|
|
1153
|
+
}, jo = (s, t) => s.mergeable ? s.name === t.name ? !0 : Pt(t, "export") && Pt(s, "import") : !1, Go = async (s, t) => {
|
|
1154
1154
|
if (s.length === 0)
|
|
1155
1155
|
return [];
|
|
1156
1156
|
if (s.length === 1)
|
|
@@ -1236,7 +1236,7 @@ class ee {
|
|
|
1236
1236
|
this.subscribers = {};
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
|
-
const Uo = 180, zo = 400, Ko = "blok", qo = "inline-toolbar", pt = "tooltip",
|
|
1239
|
+
const Uo = 180, zo = 400, Ko = "blok", qo = "inline-toolbar", pt = "tooltip", Yo = "[data-blok-interface=inline-toolbar]", Xo = typeof process != "undefined" ? process.platform === "darwin" ? "Meta" : "Control" : typeof navigator != "undefined" && navigator.userAgent.toLowerCase().includes("mac") ? "Meta" : "Control";
|
|
1240
1240
|
class y {
|
|
1241
1241
|
/**
|
|
1242
1242
|
* Returns selected anchor node
|
|
@@ -1278,7 +1278,7 @@ class y {
|
|
|
1278
1278
|
static isSelectionAtBlok(t) {
|
|
1279
1279
|
if (!t)
|
|
1280
1280
|
return !1;
|
|
1281
|
-
const e = t.anchorNode || t.focusNode, o = e && e.nodeType === Node.TEXT_NODE ? e.parentNode : e, n = o && o instanceof Element ? o.closest(st(
|
|
1281
|
+
const e = t.anchorNode || t.focusNode, o = e && e.nodeType === Node.TEXT_NODE ? e.parentNode : e, n = o && o instanceof Element ? o.closest(st(f.redactor)) : null;
|
|
1282
1282
|
return n ? n.nodeType === Node.ELEMENT_NODE : !1;
|
|
1283
1283
|
}
|
|
1284
1284
|
/**
|
|
@@ -1294,7 +1294,7 @@ class y {
|
|
|
1294
1294
|
static isRangeAtBlok(t) {
|
|
1295
1295
|
if (!t)
|
|
1296
1296
|
return;
|
|
1297
|
-
const e = t.startContainer && t.startContainer.nodeType === Node.TEXT_NODE ? t.startContainer.parentNode : t.startContainer, o = e && e instanceof Element ? e.closest(st(
|
|
1297
|
+
const e = t.startContainer && t.startContainer.nodeType === Node.TEXT_NODE ? t.startContainer.parentNode : t.startContainer, o = e && e instanceof Element ? e.closest(st(f.redactor)) : null;
|
|
1298
1298
|
return o ? o.nodeType === Node.ELEMENT_NODE : !1;
|
|
1299
1299
|
}
|
|
1300
1300
|
/**
|
|
@@ -1455,7 +1455,7 @@ const Lt = class Lt {
|
|
|
1455
1455
|
const n = t.parentElement;
|
|
1456
1456
|
if (!n)
|
|
1457
1457
|
return;
|
|
1458
|
-
const r = window.getComputedStyle(n), i = parseFloat(r.lineHeight), a = parseFloat(window.getComputedStyle(t).fontSize), l = Number.isNaN(i) ? a * 1.2 : i, c = o[0], d = o[o.length - 1],
|
|
1458
|
+
const r = window.getComputedStyle(n), i = parseFloat(r.lineHeight), a = parseFloat(window.getComputedStyle(t).fontSize), l = Number.isNaN(i) ? a * 1.2 : i, c = o[0], d = o[o.length - 1], u = this.findLineIndex(c.top, e), h = this.findLineIndex(d.top, e), g = o.length > 1 && u !== h, p = u === 0, v = h === e.length - 1, w = Math.max(0, (l - c.height) / 2), C = g ? this.calculateLineTopExtension(w, p, e, u) : w, k = g ? this.calculateLineBottomExtension(w, v, e, h) : w, T = this.buildBoxShadow(C, k);
|
|
1459
1459
|
t.style.boxShadow = T;
|
|
1460
1460
|
}
|
|
1461
1461
|
/**
|
|
@@ -1603,8 +1603,8 @@ class tt {
|
|
|
1603
1603
|
return l.forEach((d) => {
|
|
1604
1604
|
if (d.length === 0)
|
|
1605
1605
|
return;
|
|
1606
|
-
const
|
|
1607
|
-
|
|
1606
|
+
const u = m.make("span");
|
|
1607
|
+
u.setAttribute("data-blok-testid", "fake-background"), u.setAttribute("data-blok-fake-background", "true"), u.setAttribute("data-blok-mutation-free", "true"), u.style.color = "inherit", u.style.boxDecorationBreak = "clone", u.style["-webkit-box-decoration-break"] = "clone", u.style.whiteSpace = "pre-wrap", u.textContent = d, c.appendChild(u), r.push(u);
|
|
1608
1608
|
}), n.replaceChild(c, t), r;
|
|
1609
1609
|
}
|
|
1610
1610
|
/**
|
|
@@ -1641,12 +1641,12 @@ class Me {
|
|
|
1641
1641
|
if (o.length === 0)
|
|
1642
1642
|
return;
|
|
1643
1643
|
const n = e.startContainer, r = e.startOffset, i = e.endContainer, a = e.endOffset, l = [];
|
|
1644
|
-
if (o.forEach((
|
|
1644
|
+
if (o.forEach((h) => {
|
|
1645
1645
|
var I, $;
|
|
1646
|
-
const g = document.createRange(),
|
|
1646
|
+
const g = document.createRange(), p = h === n, v = h === i, w = p ? r : 0, C = ($ = (I = h.textContent) == null ? void 0 : I.length) != null ? $ : 0, k = v ? a : C;
|
|
1647
1647
|
if (w === k)
|
|
1648
1648
|
return;
|
|
1649
|
-
g.setStart(
|
|
1649
|
+
g.setStart(h, w), g.setEnd(h, k);
|
|
1650
1650
|
const T = tt.wrapRangeWithHighlight(g);
|
|
1651
1651
|
T && l.push(T);
|
|
1652
1652
|
}), l.length === 0)
|
|
@@ -1655,8 +1655,8 @@ class Me {
|
|
|
1655
1655
|
U.applyLineHeightExtensions(c);
|
|
1656
1656
|
const d = document.createRange();
|
|
1657
1657
|
d.setStartBefore(c[0]), d.setEndAfter(c[c.length - 1]), this.selectionUtils.savedSelectionRange = d.cloneRange();
|
|
1658
|
-
const
|
|
1659
|
-
|
|
1658
|
+
const u = window.getSelection();
|
|
1659
|
+
u && (u.removeAllRanges(), u.addRange(d)), this.selectionUtils.isFakeBackgroundEnabled = !0;
|
|
1660
1660
|
}
|
|
1661
1661
|
/**
|
|
1662
1662
|
* Removes fake background
|
|
@@ -1708,21 +1708,21 @@ class gt {
|
|
|
1708
1708
|
if (t === null)
|
|
1709
1709
|
return;
|
|
1710
1710
|
const e = m.make("span");
|
|
1711
|
-
e.setAttribute(
|
|
1711
|
+
e.setAttribute(f.fakeCursor, ""), e.setAttribute("data-blok-mutation-free", "true"), t.collapse(), t.insertNode(e);
|
|
1712
1712
|
}
|
|
1713
1713
|
/**
|
|
1714
1714
|
* Check if passed element contains a fake cursor
|
|
1715
1715
|
* @param el - where to check
|
|
1716
1716
|
*/
|
|
1717
1717
|
static isFakeCursorInsideContainer(t) {
|
|
1718
|
-
return m.find(t, st(
|
|
1718
|
+
return m.find(t, st(f.fakeCursor)) !== null;
|
|
1719
1719
|
}
|
|
1720
1720
|
/**
|
|
1721
1721
|
* Removes fake cursor from a container
|
|
1722
1722
|
* @param container - container to look for
|
|
1723
1723
|
*/
|
|
1724
1724
|
static removeFakeCursor(t = document.body) {
|
|
1725
|
-
const e = m.find(t, st(
|
|
1725
|
+
const e = m.find(t, st(f.fakeCursor));
|
|
1726
1726
|
e && e.remove();
|
|
1727
1727
|
}
|
|
1728
1728
|
}
|
|
@@ -1744,13 +1744,13 @@ class $t {
|
|
|
1744
1744
|
const l = (c, d) => {
|
|
1745
1745
|
if (d <= 0 || !c)
|
|
1746
1746
|
return null;
|
|
1747
|
-
const
|
|
1748
|
-
if (
|
|
1747
|
+
const u = c.nodeType === Node.ELEMENT_NODE && c.tagName === t, h = !e || c.classList && c.classList.contains(e);
|
|
1748
|
+
if (u && h)
|
|
1749
1749
|
return c;
|
|
1750
1750
|
if (!c.parentNode)
|
|
1751
1751
|
return null;
|
|
1752
|
-
const g = c.parentNode,
|
|
1753
|
-
return g.tagName === t &&
|
|
1752
|
+
const g = c.parentNode, p = !e || g.classList && g.classList.contains(e);
|
|
1753
|
+
return g.tagName === t && p ? g : l(g, d - 1);
|
|
1754
1754
|
};
|
|
1755
1755
|
return l(a, o);
|
|
1756
1756
|
};
|
|
@@ -2115,88 +2115,88 @@ const Re = [
|
|
|
2115
2115
|
n.split(/\s+/).filter(Boolean).forEach((i) => He(i, t, e));
|
|
2116
2116
|
return [...e, ...t.values()].join(" ");
|
|
2117
2117
|
}, Dt = (...s) => s.filter(Boolean).join(" ");
|
|
2118
|
-
var
|
|
2118
|
+
var j = /* @__PURE__ */ ((s) => (s.Default = "default", s.Separator = "separator", s.Html = "html", s))(j || {}), nt = { exports: {} }, Pe = nt.exports, _t;
|
|
2119
2119
|
function $e() {
|
|
2120
|
-
return
|
|
2120
|
+
return _t || (_t = 1, (function(s, t) {
|
|
2121
2121
|
(function(e, o) {
|
|
2122
2122
|
s.exports = o();
|
|
2123
2123
|
})(Pe, function() {
|
|
2124
|
-
function e(
|
|
2125
|
-
var
|
|
2126
|
-
return typeof
|
|
2127
|
-
}).every(function(
|
|
2128
|
-
return
|
|
2124
|
+
function e(u) {
|
|
2125
|
+
var h = u.tags, g = Object.keys(h), p = g.map(function(v) {
|
|
2126
|
+
return typeof h[v];
|
|
2127
|
+
}).every(function(v) {
|
|
2128
|
+
return v === "object" || v === "boolean" || v === "function";
|
|
2129
2129
|
});
|
|
2130
|
-
if (!
|
|
2130
|
+
if (!p)
|
|
2131
2131
|
throw new Error("The configuration was invalid");
|
|
2132
|
-
this.config =
|
|
2132
|
+
this.config = u;
|
|
2133
2133
|
}
|
|
2134
2134
|
var o = ["P", "LI", "TD", "TH", "DIV", "H1", "H2", "H3", "H4", "H5", "H6", "PRE"];
|
|
2135
|
-
function n(
|
|
2136
|
-
return o.indexOf(
|
|
2135
|
+
function n(u) {
|
|
2136
|
+
return o.indexOf(u.nodeName) !== -1;
|
|
2137
2137
|
}
|
|
2138
2138
|
var r = ["A", "B", "STRONG", "I", "EM", "SUB", "SUP", "U", "STRIKE"];
|
|
2139
|
-
function i(
|
|
2140
|
-
return r.indexOf(
|
|
2139
|
+
function i(u) {
|
|
2140
|
+
return r.indexOf(u.nodeName) !== -1;
|
|
2141
2141
|
}
|
|
2142
|
-
e.prototype.clean = function(
|
|
2143
|
-
const
|
|
2144
|
-
return g.innerHTML =
|
|
2145
|
-
}, e.prototype._sanitize = function(
|
|
2146
|
-
var g = a(
|
|
2147
|
-
if (
|
|
2142
|
+
e.prototype.clean = function(u) {
|
|
2143
|
+
const h = document.implementation.createHTMLDocument(), g = h.createElement("div");
|
|
2144
|
+
return g.innerHTML = u, this._sanitize(h, g), g.innerHTML;
|
|
2145
|
+
}, e.prototype._sanitize = function(u, h) {
|
|
2146
|
+
var g = a(u, h), p = g.firstChild();
|
|
2147
|
+
if (p)
|
|
2148
2148
|
do {
|
|
2149
|
-
if (
|
|
2150
|
-
if (
|
|
2151
|
-
|
|
2149
|
+
if (p.nodeType === Node.TEXT_NODE)
|
|
2150
|
+
if (p.data.trim() === "" && (p.previousElementSibling && n(p.previousElementSibling) || p.nextElementSibling && n(p.nextElementSibling))) {
|
|
2151
|
+
h.removeChild(p), this._sanitize(u, h);
|
|
2152
2152
|
break;
|
|
2153
2153
|
} else
|
|
2154
2154
|
continue;
|
|
2155
|
-
if (
|
|
2156
|
-
|
|
2155
|
+
if (p.nodeType === Node.COMMENT_NODE) {
|
|
2156
|
+
h.removeChild(p), this._sanitize(u, h);
|
|
2157
2157
|
break;
|
|
2158
2158
|
}
|
|
2159
|
-
var
|
|
2160
|
-
|
|
2161
|
-
var C = !!
|
|
2162
|
-
if ($ || c(
|
|
2163
|
-
if (!(
|
|
2164
|
-
for (;
|
|
2165
|
-
|
|
2166
|
-
|
|
2159
|
+
var v = i(p), w;
|
|
2160
|
+
v && (w = Array.prototype.some.call(p.childNodes, n));
|
|
2161
|
+
var C = !!h.parentNode, k = n(h) && n(p) && C, T = p.nodeName.toLowerCase(), I = l(this.config, T, p), $ = v && w;
|
|
2162
|
+
if ($ || c(p, I) || !this.config.keepNestedBlockElements && k) {
|
|
2163
|
+
if (!(p.nodeName === "SCRIPT" || p.nodeName === "STYLE"))
|
|
2164
|
+
for (; p.childNodes.length > 0; )
|
|
2165
|
+
h.insertBefore(p.childNodes[0], p);
|
|
2166
|
+
h.removeChild(p), this._sanitize(u, h);
|
|
2167
2167
|
break;
|
|
2168
2168
|
}
|
|
2169
|
-
for (var R = 0; R <
|
|
2170
|
-
var K =
|
|
2171
|
-
d(K, I,
|
|
2169
|
+
for (var R = 0; R < p.attributes.length; R += 1) {
|
|
2170
|
+
var K = p.attributes[R];
|
|
2171
|
+
d(K, I, p) && (p.removeAttribute(K.name), R = R - 1);
|
|
2172
2172
|
}
|
|
2173
|
-
this._sanitize(
|
|
2174
|
-
} while (
|
|
2173
|
+
this._sanitize(u, p);
|
|
2174
|
+
} while (p = g.nextSibling());
|
|
2175
2175
|
};
|
|
2176
|
-
function a(
|
|
2177
|
-
return
|
|
2178
|
-
|
|
2176
|
+
function a(u, h) {
|
|
2177
|
+
return u.createTreeWalker(
|
|
2178
|
+
h,
|
|
2179
2179
|
NodeFilter.SHOW_TEXT | NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT,
|
|
2180
2180
|
null,
|
|
2181
2181
|
!1
|
|
2182
2182
|
);
|
|
2183
2183
|
}
|
|
2184
|
-
function l(
|
|
2185
|
-
return typeof
|
|
2184
|
+
function l(u, h, g) {
|
|
2185
|
+
return typeof u.tags[h] == "function" ? u.tags[h](g) : u.tags[h];
|
|
2186
2186
|
}
|
|
2187
|
-
function c(
|
|
2188
|
-
return typeof
|
|
2187
|
+
function c(u, h) {
|
|
2188
|
+
return typeof h == "undefined" ? !0 : typeof h == "boolean" ? !h : !1;
|
|
2189
2189
|
}
|
|
2190
|
-
function d(
|
|
2191
|
-
var
|
|
2192
|
-
return
|
|
2190
|
+
function d(u, h, g) {
|
|
2191
|
+
var p = u.name.toLowerCase();
|
|
2192
|
+
return h === !0 ? !1 : typeof h[p] == "function" ? !h[p](u.value, g) : typeof h[p] == "undefined" || h[p] === !1 ? !0 : typeof h[p] == "string" ? h[p] !== u.value : !1;
|
|
2193
2193
|
}
|
|
2194
2194
|
return e;
|
|
2195
2195
|
});
|
|
2196
2196
|
})(nt)), nt.exports;
|
|
2197
2197
|
}
|
|
2198
2198
|
var De = $e();
|
|
2199
|
-
const
|
|
2199
|
+
const _e = /* @__PURE__ */ ge(De), je = /^\s*(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)/i, Ge = /\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, Jo = (s, t, e = {}) => s.map((o) => {
|
|
2200
2200
|
const n = E(t) ? t(o.tool) : t, r = n != null ? n : {};
|
|
2201
2201
|
return x(r) && M(r) && M(e) ? o : D(N({}, o), {
|
|
2202
2202
|
data: It(o.data, r, e)
|
|
@@ -2205,7 +2205,7 @@ const je = /* @__PURE__ */ ge(De), _e = /^\s*(?:javascript\s*:|data\s*:\s*text\s
|
|
|
2205
2205
|
const e = {
|
|
2206
2206
|
tags: t
|
|
2207
2207
|
};
|
|
2208
|
-
return new
|
|
2208
|
+
return new _e(e).clean(s);
|
|
2209
2209
|
}, It = (s, t, e) => Array.isArray(s) ? We(s, t, e) : x(s) ? Ve(s, t, e) : P(s) ? Ue(s, t, e) : s, We = (s, t, e) => s.map((o) => It(o, t, e)), Ve = (s, t, e) => {
|
|
2210
2210
|
const o = {}, n = s;
|
|
2211
2211
|
for (const r in s) {
|
|
@@ -2226,7 +2226,7 @@ const je = /* @__PURE__ */ ge(De), _e = /^\s*(?:javascript\s*:|data\s*:\s*text\s
|
|
|
2226
2226
|
return vt(Gt(n, e));
|
|
2227
2227
|
}
|
|
2228
2228
|
return vt(s);
|
|
2229
|
-
}, ze = (s) => x(s) ||
|
|
2229
|
+
}, ze = (s) => x(s) || Yt(s) || E(s), Ke = (s) => s ? je.test(s) : !1, vt = (s) => {
|
|
2230
2230
|
if (!s || s.indexOf("<") === -1)
|
|
2231
2231
|
return s;
|
|
2232
2232
|
if (typeof document != "undefined") {
|
|
@@ -2246,18 +2246,18 @@ const je = /* @__PURE__ */ ge(De), _e = /^\s*(?:javascript\s*:|data\s*:\s*text\s
|
|
|
2246
2246
|
for (const e in s)
|
|
2247
2247
|
Object.prototype.hasOwnProperty.call(s, e) && (t[e] = F(s[e]));
|
|
2248
2248
|
return t;
|
|
2249
|
-
},
|
|
2249
|
+
}, jt = (s) => function(e) {
|
|
2250
2250
|
const o = s.call(this, e);
|
|
2251
2251
|
return o == null ? {} : o;
|
|
2252
|
-
}, qe = /* @__PURE__ */ new Set(["class", "id", "title", "role", "dir", "lang"]),
|
|
2252
|
+
}, qe = /* @__PURE__ */ new Set(["class", "id", "title", "role", "dir", "lang"]), Ye = (s) => {
|
|
2253
2253
|
const t = s.toLowerCase();
|
|
2254
2254
|
return t.startsWith("data-") || t.startsWith("aria-") || qe.has(t);
|
|
2255
|
-
},
|
|
2255
|
+
}, Xe = (s) => {
|
|
2256
2256
|
const t = {};
|
|
2257
2257
|
return Array.from(s.attributes).forEach((e) => {
|
|
2258
|
-
|
|
2258
|
+
Ye(e.name) && (t[e.name] = !0);
|
|
2259
2259
|
}), t;
|
|
2260
|
-
}, F = (s) => s === !0 ?
|
|
2260
|
+
}, F = (s) => s === !0 ? jt(Xe) : s === !1 ? !1 : E(s) ? jt(s) : P(s) ? s : x(s) ? it({}, s) : s, Je = (s, t) => {
|
|
2261
2261
|
if (M(s))
|
|
2262
2262
|
return At(t);
|
|
2263
2263
|
const e = {};
|
|
@@ -2329,7 +2329,7 @@ const je = /* @__PURE__ */ ge(De), _e = /^\s*(?:javascript\s*:|data\s*:\s*text\s
|
|
|
2329
2329
|
return o.innerHTML = s, e.forEach(([n, r]) => {
|
|
2330
2330
|
o.content.querySelectorAll(n).forEach((a) => {
|
|
2331
2331
|
const l = r(a);
|
|
2332
|
-
if (!(
|
|
2332
|
+
if (!(Yt(l) || E(l) || l == null))
|
|
2333
2333
|
for (const [c, d] of Object.entries(l)) {
|
|
2334
2334
|
if (d === !1) {
|
|
2335
2335
|
a.removeAttribute(c);
|
|
@@ -2473,7 +2473,7 @@ const je = /* @__PURE__ */ ge(De), _e = /^\s*(?:javascript\s*:|data\s*:\s*text\s
|
|
|
2473
2473
|
* Module Preparation method
|
|
2474
2474
|
*/
|
|
2475
2475
|
prepare() {
|
|
2476
|
-
this.nodes.wrapper = this.make("div", this.CSS.tooltip), this.nodes.wrapper.setAttribute(
|
|
2476
|
+
this.nodes.wrapper = this.make("div", this.CSS.tooltip), this.nodes.wrapper.setAttribute(f.interface, pt), this.nodes.wrapper.setAttribute("data-blok-testid", "tooltip"), this.nodes.content = this.make("div", this.CSS.tooltipContent), this.nodes.content.setAttribute("data-blok-testid", "tooltip-content"), this.nodes.wrapper && this.nodes.content && (this.append(this.nodes.wrapper, this.nodes.content), this.append(document.body, this.nodes.wrapper), this.ensureTooltipAttributes());
|
|
2477
2477
|
}
|
|
2478
2478
|
/**
|
|
2479
2479
|
* Update tooltip visibility based on shown state
|
|
@@ -2500,7 +2500,7 @@ const je = /* @__PURE__ */ ge(De), _e = /^\s*(?:javascript\s*:|data\s*:\s*text\s
|
|
|
2500
2500
|
* Ensure tooltip has proper accessibility attributes
|
|
2501
2501
|
*/
|
|
2502
2502
|
ensureTooltipAttributes() {
|
|
2503
|
-
this.nodes.wrapper && ((!this.nodes.wrapper.hasAttribute(
|
|
2503
|
+
this.nodes.wrapper && ((!this.nodes.wrapper.hasAttribute(f.interface) || this.nodes.wrapper.getAttribute(f.interface) !== pt) && this.nodes.wrapper.setAttribute(f.interface, pt), this.nodes.wrapper.setAttribute("role", Qe), this.watchTooltipVisibility());
|
|
2504
2504
|
}
|
|
2505
2505
|
/**
|
|
2506
2506
|
* Calculates element coords and moves tooltip bottom of the element
|
|
@@ -2637,8 +2637,8 @@ const ut = () => Et.getInstance(), Qo = (s, t, e) => {
|
|
|
2637
2637
|
if (c || d)
|
|
2638
2638
|
return !1;
|
|
2639
2639
|
i.style.position = "absolute", i.style.visibility = "hidden", i.style.height = "auto", i.style.width = "auto", i.style.whiteSpace = window.getComputedStyle(s).whiteSpace, document.body.appendChild(i);
|
|
2640
|
-
const
|
|
2641
|
-
return document.body.removeChild(i), !(
|
|
2640
|
+
const u = i.getBoundingClientRect().width;
|
|
2641
|
+
return document.body.removeChild(i), !(u > 0 || !Ne(a) || window.getComputedStyle(s).whiteSpace.startsWith("pre") && a.length > 0);
|
|
2642
2642
|
}, on = (s) => {
|
|
2643
2643
|
var i;
|
|
2644
2644
|
const t = m.getDeepestNode(s);
|
|
@@ -2757,25 +2757,25 @@ class at {
|
|
|
2757
2757
|
const r = n.target;
|
|
2758
2758
|
if (this.shouldSkipTarget(r, n))
|
|
2759
2759
|
return;
|
|
2760
|
-
const i = this.getKeyCode(n), a = i ===
|
|
2761
|
-
if (!(n.shiftKey && a || !this.isEventReadyForHandling(n)) && !(i ===
|
|
2760
|
+
const i = this.getKeyCode(n), a = i === b.LEFT || i === b.RIGHT || i === b.UP || i === b.DOWN;
|
|
2761
|
+
if (!(n.shiftKey && a || !this.isEventReadyForHandling(n)) && !(i === b.ENTER && !((c = this.iterator) != null && c.currentItem)))
|
|
2762
2762
|
switch (n.stopPropagation(), n.stopImmediatePropagation(), i !== null && at.usedKeys.includes(i) && n.preventDefault(), i) {
|
|
2763
|
-
case
|
|
2763
|
+
case b.TAB:
|
|
2764
2764
|
this.handleTabPress(n);
|
|
2765
2765
|
break;
|
|
2766
|
-
case
|
|
2766
|
+
case b.LEFT:
|
|
2767
2767
|
this.onArrowLeftCallback && this.onArrowLeftCallback();
|
|
2768
2768
|
break;
|
|
2769
|
-
case
|
|
2769
|
+
case b.UP:
|
|
2770
2770
|
this.flipLeft();
|
|
2771
2771
|
break;
|
|
2772
|
-
case
|
|
2772
|
+
case b.RIGHT:
|
|
2773
2773
|
(d = this.iterator) != null && d.currentItem && this.currentItemHasChildren() && this.handleEnterPress(n);
|
|
2774
2774
|
break;
|
|
2775
|
-
case
|
|
2775
|
+
case b.DOWN:
|
|
2776
2776
|
this.flipRight();
|
|
2777
2777
|
break;
|
|
2778
|
-
case
|
|
2778
|
+
case b.ENTER:
|
|
2779
2779
|
this.handleEnterPress(n);
|
|
2780
2780
|
break;
|
|
2781
2781
|
}
|
|
@@ -2795,12 +2795,12 @@ class at {
|
|
|
2795
2795
|
*/
|
|
2796
2796
|
static get usedKeys() {
|
|
2797
2797
|
return [
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2798
|
+
b.TAB,
|
|
2799
|
+
b.LEFT,
|
|
2800
|
+
b.RIGHT,
|
|
2801
|
+
b.ENTER,
|
|
2802
|
+
b.UP,
|
|
2803
|
+
b.DOWN
|
|
2804
2804
|
];
|
|
2805
2805
|
}
|
|
2806
2806
|
/**
|
|
@@ -2901,12 +2901,12 @@ class at {
|
|
|
2901
2901
|
getKeyCode(t) {
|
|
2902
2902
|
var o;
|
|
2903
2903
|
return (o = {
|
|
2904
|
-
Tab:
|
|
2905
|
-
Enter:
|
|
2906
|
-
ArrowLeft:
|
|
2907
|
-
ArrowRight:
|
|
2908
|
-
ArrowUp:
|
|
2909
|
-
ArrowDown:
|
|
2904
|
+
Tab: b.TAB,
|
|
2905
|
+
Enter: b.ENTER,
|
|
2906
|
+
ArrowLeft: b.LEFT,
|
|
2907
|
+
ArrowRight: b.RIGHT,
|
|
2908
|
+
ArrowUp: b.UP,
|
|
2909
|
+
ArrowDown: b.DOWN
|
|
2910
2910
|
}[t.key]) != null ? o : null;
|
|
2911
2911
|
}
|
|
2912
2912
|
/**
|
|
@@ -3015,9 +3015,9 @@ function co(s, t, e) {
|
|
|
3015
3015
|
const d = Math.round(n * 255);
|
|
3016
3016
|
return [d, d, d];
|
|
3017
3017
|
}
|
|
3018
|
-
const r = (d) => d < 0 ? d + 1 : d > 1 ? d - 1 : d, i = (d,
|
|
3019
|
-
const g = r(
|
|
3020
|
-
return g < 1 / 6 ? d + (
|
|
3018
|
+
const r = (d) => d < 0 ? d + 1 : d > 1 ? d - 1 : d, i = (d, u, h) => {
|
|
3019
|
+
const g = r(h);
|
|
3020
|
+
return g < 1 / 6 ? d + (u - d) * 6 * g : g < 1 / 2 ? u : g < 2 / 3 ? d + (u - d) * (2 / 3 - g) * 6 : d;
|
|
3021
3021
|
}, a = n < 0.5 ? n * (1 + o) : n + o - n * o, l = 2 * n - a, c = s / 360;
|
|
3022
3022
|
return [
|
|
3023
3023
|
Math.round(i(l, a, c + 1 / 3) * 255),
|
|
@@ -3063,8 +3063,8 @@ function Ut(s) {
|
|
|
3063
3063
|
function ho(s, t) {
|
|
3064
3064
|
const r = s[1] < Vt, i = t[1] < Vt;
|
|
3065
3065
|
if (r && i) {
|
|
3066
|
-
const
|
|
3067
|
-
return
|
|
3066
|
+
const u = Math.abs(s[2] - t[2]);
|
|
3067
|
+
return u * u;
|
|
3068
3068
|
}
|
|
3069
3069
|
if (r !== i)
|
|
3070
3070
|
return 1e3;
|
|
@@ -3146,22 +3146,22 @@ function fo(s) {
|
|
|
3146
3146
|
var o, n, r, i, a, l;
|
|
3147
3147
|
const t = s.cloneNode(!0);
|
|
3148
3148
|
for (const c of Array.from(t.querySelectorAll("span"))) {
|
|
3149
|
-
const d = (o = c.getAttribute("style")) != null ? o : "",
|
|
3150
|
-
if (!
|
|
3149
|
+
const d = (o = c.getAttribute("style")) != null ? o : "", u = /font-weight\s*:\s*(700|bold)/i.test(d), h = /font-style\s*:\s*italic/i.test(d), g = new RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i").exec(d), p = /background-color\s*:\s*([^;]+)/i.exec(d), v = (n = g == null ? void 0 : g[1]) == null ? void 0 : n.trim(), w = (r = p == null ? void 0 : p[1]) == null ? void 0 : r.trim(), C = v !== void 0 && !xt(v), k = w !== void 0 && w !== "transparent";
|
|
3150
|
+
if (!u && !h && !C && !k)
|
|
3151
3151
|
continue;
|
|
3152
|
-
const T = C ? z(
|
|
3152
|
+
const T = C ? z(v, "text") : "", I = k ? z(w, "bg") : "", $ = [
|
|
3153
3153
|
C ? `color: ${T}` : "",
|
|
3154
3154
|
zt(k, C, I)
|
|
3155
|
-
].filter(Boolean).join("; "), R = c.innerHTML, K = $ ? `<mark style="${$};">${R}</mark>` : R, Mt =
|
|
3155
|
+
].filter(Boolean).join("; "), R = c.innerHTML, K = $ ? `<mark style="${$};">${R}</mark>` : R, Mt = h ? `<i>${K}</i>` : K, ce = u ? `<b>${Mt}</b>` : Mt;
|
|
3156
3156
|
c.replaceWith(document.createRange().createContextualFragment(ce));
|
|
3157
3157
|
}
|
|
3158
3158
|
for (const c of Array.from(t.querySelectorAll("a[style]"))) {
|
|
3159
|
-
const d = (i = c.getAttribute("style")) != null ? i : "",
|
|
3160
|
-
if (!
|
|
3159
|
+
const d = (i = c.getAttribute("style")) != null ? i : "", u = new RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i").exec(d), h = /background-color\s*:\s*([^;]+)/i.exec(d), g = (a = u == null ? void 0 : u[1]) == null ? void 0 : a.trim(), p = (l = h == null ? void 0 : h[1]) == null ? void 0 : l.trim(), v = g !== void 0 && !xt(g) && g !== "inherit", w = p !== void 0 && p !== "transparent" && p !== "inherit";
|
|
3160
|
+
if (!v && !w)
|
|
3161
3161
|
continue;
|
|
3162
|
-
const C =
|
|
3163
|
-
|
|
3164
|
-
zt(w,
|
|
3162
|
+
const C = v ? z(g, "text") : "", k = w ? z(p, "bg") : "", T = [
|
|
3163
|
+
v ? `color: ${C}` : "",
|
|
3164
|
+
zt(w, v, k)
|
|
3165
3165
|
].filter(Boolean).join("; "), I = c;
|
|
3166
3166
|
I.innerHTML = `<mark style="${T};">${I.innerHTML}</mark>`, I.style.removeProperty("color"), I.style.removeProperty("background-color");
|
|
3167
3167
|
}
|
|
@@ -3185,9 +3185,9 @@ function ln(s) {
|
|
|
3185
3185
|
const a = i.querySelectorAll("td, th"), l = [];
|
|
3186
3186
|
a.forEach((c) => {
|
|
3187
3187
|
var C;
|
|
3188
|
-
const
|
|
3189
|
-
|
|
3190
|
-
const w = new RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i").exec(
|
|
3188
|
+
const u = fo(c).split(/<br\s*\/?>/i).map((k) => k.trim()).filter(Boolean), g = { blocks: u.length > 0 ? u.map((k) => ({ tool: "paragraph", data: { text: k } })) : [{ tool: "paragraph", data: { text: "" } }] }, p = (C = c.getAttribute("style")) != null ? C : "", v = /background-color\s*:\s*([^;]+)/i.exec(p);
|
|
3189
|
+
v != null && v[1] && (g.color = z(v[1].trim(), "bg"));
|
|
3190
|
+
const w = new RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i").exec(p);
|
|
3191
3191
|
w != null && w[1] && !xt(w[1].trim()) && (g.textColor = z(w[1].trim(), "text")), l.push(g);
|
|
3192
3192
|
}), n.push(l);
|
|
3193
3193
|
});
|
|
@@ -3448,14 +3448,14 @@ const dn = `
|
|
|
3448
3448
|
<rect x="7" y="7" width="9" height="9" rx="1.5" stroke="currentColor" stroke-width="1.25"/>
|
|
3449
3449
|
<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"/>
|
|
3450
3450
|
</svg>
|
|
3451
|
-
`,
|
|
3451
|
+
`, _n = `
|
|
3452
3452
|
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3453
3453
|
<path d="M4.5 6.5h11" stroke="currentColor" stroke-width="1.25" stroke-linecap="round"/>
|
|
3454
3454
|
<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"/>
|
|
3455
3455
|
<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"/>
|
|
3456
3456
|
<path d="M8.5 9.5v3.5M11.5 9.5v3.5" stroke="currentColor" stroke-width="1.25" stroke-linecap="round"/>
|
|
3457
3457
|
</svg>
|
|
3458
|
-
`,
|
|
3458
|
+
`, jn = `
|
|
3459
3459
|
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3460
3460
|
<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"/>
|
|
3461
3461
|
<path d="M16 7l2.5 3-2.5 3" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -3618,7 +3618,7 @@ class St {
|
|
|
3618
3618
|
return this.params === void 0 || !("isActive" in this.params) ? !1 : typeof this.params.isActive == "function" ? this.params.isActive() : this.params.isActive === !0;
|
|
3619
3619
|
}
|
|
3620
3620
|
}
|
|
3621
|
-
const
|
|
3621
|
+
const Y = {
|
|
3622
3622
|
/**
|
|
3623
3623
|
* Base item styles with hover, focus, and active support
|
|
3624
3624
|
* Hover is applied via can-hover:hover: for real hover and data-blok-force-hover for tests
|
|
@@ -3627,7 +3627,7 @@ const X = {
|
|
|
3627
3627
|
* Note: noHover state is handled via [data-blok-popover-item-no-hover] which disables hover
|
|
3628
3628
|
* Priority order: active < hover < focus (focus wins when navigating with keyboard)
|
|
3629
3629
|
*/
|
|
3630
|
-
item: 'flex items-center select-none border-none bg-transparent rounded-lg px-2 py-(--item-padding) text-text-primary mb-0.5 transition-
|
|
3630
|
+
item: 'flex items-center select-none border-none bg-transparent rounded-lg px-2 py-(--item-padding) text-text-primary mb-0.5 transition-[color,background-color,border-color,opacity,max-height,padding,margin] duration-150 max-h-10 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',
|
|
3631
3631
|
/**
|
|
3632
3632
|
* Item disabled state
|
|
3633
3633
|
*/
|
|
@@ -3635,7 +3635,7 @@ const X = {
|
|
|
3635
3635
|
/**
|
|
3636
3636
|
* Icon container styles
|
|
3637
3637
|
*/
|
|
3638
|
-
icon: "flex items-center justify-center w-[26px] h-[26px] rounded-lg [&_svg]:w-icon [&_svg]:h-icon",
|
|
3638
|
+
icon: "flex items-center justify-center w-[26px] h-[26px] shrink-0 rounded-lg [&_svg]:w-icon [&_svg]:h-icon",
|
|
3639
3639
|
/**
|
|
3640
3640
|
* Focused state class for DomIterator/Flipper keyboard navigation.
|
|
3641
3641
|
* Used alongside data-blok-focused attribute.
|
|
@@ -3712,7 +3712,7 @@ class B extends St {
|
|
|
3712
3712
|
* True if item is focused in keyboard navigation process
|
|
3713
3713
|
*/
|
|
3714
3714
|
get isFocused() {
|
|
3715
|
-
return this.nodes.root === null ? !1 : this.nodes.root.hasAttribute(
|
|
3715
|
+
return this.nodes.root === null ? !1 : this.nodes.root.hasAttribute(f.focused);
|
|
3716
3716
|
}
|
|
3717
3717
|
/**
|
|
3718
3718
|
* Returns popover item root element
|
|
@@ -3737,7 +3737,7 @@ class B extends St {
|
|
|
3737
3737
|
toggleActive(t) {
|
|
3738
3738
|
if (this.nodes.root === null)
|
|
3739
3739
|
return;
|
|
3740
|
-
const e = this.nodes.root.hasAttribute(
|
|
3740
|
+
const e = this.nodes.root.hasAttribute(f.popoverItemActive), o = t !== void 0 ? t : !e;
|
|
3741
3741
|
this.setActive(o);
|
|
3742
3742
|
}
|
|
3743
3743
|
/**
|
|
@@ -3767,9 +3767,9 @@ class B extends St {
|
|
|
3767
3767
|
createRootElement(t, e) {
|
|
3768
3768
|
var i, a, l, c;
|
|
3769
3769
|
const o = (i = e == null ? void 0 : e.wrapperTag) != null ? i : "div", n = document.createElement(o);
|
|
3770
|
-
return o === "button" && n.setAttribute("type", "button"), n.className = this.getContainerClass(), n.setAttribute(
|
|
3771
|
-
n.setAttribute(`data-${d}`,
|
|
3772
|
-
}), t.isDisabled && n.setAttribute(
|
|
3770
|
+
return o === "button" && n.setAttribute("type", "button"), n.className = this.getContainerClass(), n.setAttribute(f.popoverItem, ""), n.setAttribute("data-blok-testid", "popover-item"), t.name && n.setAttribute("data-blok-item-name", t.name), t.dataset && Object.entries(t.dataset).forEach(([d, u]) => {
|
|
3771
|
+
n.setAttribute(`data-${d}`, u);
|
|
3772
|
+
}), t.isDisabled && n.setAttribute(f.disabled, "true"), "isDestructive" in t && t.isDestructive && n.setAttribute(f.popoverItemDestructive, "true"), this.isActive && n.setAttribute(f.popoverItemActive, "true"), this.hasChildren && n.setAttribute(f.hasChildren, "true"), this.createContentElements(n, t, e), t.hint !== void 0 && ((a = e == null ? void 0 : e.hint) == null ? void 0 : a.enabled) !== !1 && t.hint !== void 0 && this.addHint(n, D(N({}, t.hint), {
|
|
3773
3773
|
position: ((l = e == null ? void 0 : e.hint) == null ? void 0 : l.position) || "right",
|
|
3774
3774
|
alignment: ((c = e == null ? void 0 : e.hint) == null ? void 0 : c.alignment) || "center"
|
|
3775
3775
|
})), n;
|
|
@@ -3778,19 +3778,19 @@ class B extends St {
|
|
|
3778
3778
|
* Creates the content elements (icon, title, secondary label, chevron)
|
|
3779
3779
|
*/
|
|
3780
3780
|
createContentElements(t, e, o) {
|
|
3781
|
-
var c, d,
|
|
3782
|
-
const n = (c = o == null ? void 0 : o.iconWithGap) != null ? c : !0, r = (d = o == null ? void 0 : o.isInline) != null ? d : !1, i = (
|
|
3781
|
+
var c, d, u;
|
|
3782
|
+
const n = (c = o == null ? void 0 : o.iconWithGap) != null ? c : !0, r = (d = o == null ? void 0 : o.isInline) != null ? d : !1, i = (u = o == null ? void 0 : o.isNestedInline) != null ? u : !1, a = e.title;
|
|
3783
3783
|
if (e.icon && (this.nodes.icon = this.createIconElement(e.icon, n, r, i), t.appendChild(this.nodes.icon)), a !== void 0) {
|
|
3784
|
-
const
|
|
3785
|
-
|
|
3784
|
+
const h = document.createElement("div");
|
|
3785
|
+
h.className = e.secondaryLabel ? "grow whitespace-nowrap text-sm font-medium leading-5" : "mr-auto whitespace-nowrap text-sm font-medium leading-5", h.setAttribute(f.popoverItemTitle, ""), h.setAttribute("data-blok-testid", "popover-item-title"), h.textContent = a, t.appendChild(h), this.nodes.titleEl = h;
|
|
3786
3786
|
}
|
|
3787
3787
|
if (e.secondaryLabel) {
|
|
3788
|
-
const
|
|
3789
|
-
|
|
3788
|
+
const h = document.createElement("div");
|
|
3789
|
+
h.className = "ml-auto shrink-0 flex items-center whitespace-nowrap pl-20 text-[11px] font-medium tracking-wide text-text-secondary/50", h.setAttribute(f.popoverItemSecondaryTitle, ""), h.setAttribute("data-blok-testid", "popover-item-secondary-title"), h.textContent = e.secondaryLabel, t.appendChild(h), this.nodes.secondaryLabelEl = h;
|
|
3790
3790
|
}
|
|
3791
3791
|
if (this.hasChildren && !this.isChevronHidden) {
|
|
3792
|
-
const
|
|
3793
|
-
|
|
3792
|
+
const h = document.createElement("div");
|
|
3793
|
+
h.className = this.getChevronClass(r), h.setAttribute(f.popoverItemIcon, ""), h.setAttribute(f.popoverItemIconChevronRight, ""), h.setAttribute("data-blok-testid", "popover-item-chevron-right"), h.innerHTML = go, t.appendChild(h), this.nodes.chevron = h;
|
|
3794
3794
|
}
|
|
3795
3795
|
}
|
|
3796
3796
|
/**
|
|
@@ -3798,7 +3798,7 @@ class B extends St {
|
|
|
3798
3798
|
*/
|
|
3799
3799
|
createIconElement(t, e, o, n) {
|
|
3800
3800
|
const r = document.createElement("div");
|
|
3801
|
-
return r.className = this.getIconClass(e, o, n, !1), r.setAttribute(
|
|
3801
|
+
return r.className = this.getIconClass(e, o, n, !1), r.setAttribute(f.popoverItemIcon, ""), r.setAttribute("data-blok-testid", "popover-item-icon"), r.innerHTML = t, e && r.setAttribute(f.tool, ""), r;
|
|
3802
3802
|
}
|
|
3803
3803
|
/**
|
|
3804
3804
|
* Gets the container class based on current state
|
|
@@ -3807,12 +3807,11 @@ class B extends St {
|
|
|
3807
3807
|
var o, n, r, i;
|
|
3808
3808
|
const t = (n = (o = this.renderParams) == null ? void 0 : o.isInline) != null ? n : !1, e = (i = (r = this.renderParams) == null ? void 0 : r.isNestedInline) != null ? i : !1;
|
|
3809
3809
|
return A(
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
!t && !e && (this.params.secondaryLabel || this.hasChildren && !this.isChevronHidden ? "pl-2 pr-4" : "pl-2 pr-8"),
|
|
3810
|
+
Y.item,
|
|
3811
|
+
!t && !e && "pl-2 pr-4",
|
|
3813
3812
|
t && bo.item,
|
|
3814
3813
|
e && wo.item,
|
|
3815
|
-
this.params.isDisabled &&
|
|
3814
|
+
this.params.isDisabled && Y.itemDisabled
|
|
3816
3815
|
);
|
|
3817
3816
|
}
|
|
3818
3817
|
/**
|
|
@@ -3820,7 +3819,7 @@ class B extends St {
|
|
|
3820
3819
|
*/
|
|
3821
3820
|
getIconClass(t, e, o, n) {
|
|
3822
3821
|
return A(
|
|
3823
|
-
|
|
3822
|
+
Y.icon,
|
|
3824
3823
|
e && "w-auto h-auto [&_svg]:w-icon [&_svg]:h-icon mobile:[&_svg]:w-icon-mobile mobile:[&_svg]:h-icon-mobile",
|
|
3825
3824
|
o && "w-toolbox-btn h-toolbox-btn",
|
|
3826
3825
|
t && "mr-3",
|
|
@@ -3835,7 +3834,7 @@ class B extends St {
|
|
|
3835
3834
|
*/
|
|
3836
3835
|
getChevronClass(t) {
|
|
3837
3836
|
return A(
|
|
3838
|
-
|
|
3837
|
+
Y.icon,
|
|
3839
3838
|
t && "rotate-90"
|
|
3840
3839
|
);
|
|
3841
3840
|
}
|
|
@@ -3843,32 +3842,32 @@ class B extends St {
|
|
|
3843
3842
|
* Sets the active state of the item
|
|
3844
3843
|
*/
|
|
3845
3844
|
setActive(t) {
|
|
3846
|
-
this.nodes.root && (t ? this.nodes.root.setAttribute(
|
|
3845
|
+
this.nodes.root && (t ? this.nodes.root.setAttribute(f.popoverItemActive, "true") : this.nodes.root.removeAttribute(f.popoverItemActive));
|
|
3847
3846
|
}
|
|
3848
3847
|
/**
|
|
3849
3848
|
* Sets the hidden state of the item
|
|
3850
3849
|
*/
|
|
3851
3850
|
setHidden(t) {
|
|
3852
|
-
this.nodes.root && (t ? (this.nodes.root.setAttribute(
|
|
3851
|
+
this.nodes.root && (t ? (this.nodes.root.setAttribute(f.hidden, "true"), this.nodes.root.classList.add("opacity-0", "max-h-0!", "py-0!", "mb-0!")) : (this.nodes.root.removeAttribute(f.hidden), this.nodes.root.classList.remove("opacity-0", "max-h-0!", "py-0!", "mb-0!")));
|
|
3853
3852
|
}
|
|
3854
3853
|
/**
|
|
3855
3854
|
* Sets the focused state of the item
|
|
3856
3855
|
* @param isFocused - true if item should be focused
|
|
3857
3856
|
*/
|
|
3858
3857
|
setFocused(t) {
|
|
3859
|
-
this.nodes.root && (t ? (this.nodes.root.setAttribute(
|
|
3858
|
+
this.nodes.root && (t ? (this.nodes.root.setAttribute(f.focused, "true"), this.nodes.root.classList.add("bg-item-focus-bg!")) : (this.nodes.root.removeAttribute(f.focused), this.nodes.root.classList.remove("bg-item-focus-bg!")));
|
|
3860
3859
|
}
|
|
3861
3860
|
/**
|
|
3862
3861
|
* Sets the no-hover state
|
|
3863
3862
|
*/
|
|
3864
3863
|
setNoHover(t) {
|
|
3865
|
-
this.nodes.root && (t ? this.nodes.root.setAttribute(
|
|
3864
|
+
this.nodes.root && (t ? this.nodes.root.setAttribute(f.popoverItemNoHover, "true") : this.nodes.root.removeAttribute(f.popoverItemNoHover));
|
|
3866
3865
|
}
|
|
3867
3866
|
/**
|
|
3868
3867
|
* Sets the no-focus state
|
|
3869
3868
|
*/
|
|
3870
3869
|
setNoFocus(t) {
|
|
3871
|
-
this.nodes.root && (t ? this.nodes.root.setAttribute(
|
|
3870
|
+
this.nodes.root && (t ? this.nodes.root.setAttribute(f.popoverItemNoFocus, "true") : this.nodes.root.removeAttribute(f.popoverItemNoFocus));
|
|
3872
3871
|
}
|
|
3873
3872
|
/**
|
|
3874
3873
|
* Activates confirmation mode for the item.
|
|
@@ -3898,13 +3897,13 @@ class B extends St {
|
|
|
3898
3897
|
* Clears confirmation state and restores original content
|
|
3899
3898
|
*/
|
|
3900
3899
|
clearConfirmationState() {
|
|
3901
|
-
this.nodes.root && (this.nodes.root.removeAttribute(
|
|
3900
|
+
this.nodes.root && (this.nodes.root.removeAttribute(f.popoverItemConfirmation), this.nodes.root.classList.remove("bg-item-confirm-bg!", "text-white!"), this.restoreOriginalIcon(), this.restoreOriginalTitle(), this.restoreOriginalSecondaryLabel());
|
|
3902
3901
|
}
|
|
3903
3902
|
/**
|
|
3904
3903
|
* Applies confirmation state with new params
|
|
3905
3904
|
*/
|
|
3906
3905
|
applyConfirmationState(t) {
|
|
3907
|
-
this.nodes.root && (this.nodes.root.setAttribute(
|
|
3906
|
+
this.nodes.root && (this.nodes.root.setAttribute(f.popoverItemConfirmation, "true"), this.nodes.root.classList.add("bg-item-confirm-bg!", "text-white!"), this.updateIcon(t.icon), this.updateTitle(t), this.updateSecondaryLabel(t.secondaryLabel));
|
|
3908
3907
|
}
|
|
3909
3908
|
/**
|
|
3910
3909
|
* Restores the original icon
|
|
@@ -3993,9 +3992,9 @@ class B extends St {
|
|
|
3993
3992
|
if (!this.nodes.icon)
|
|
3994
3993
|
return;
|
|
3995
3994
|
const t = (i = (r = this.renderParams) == null ? void 0 : r.isInline) != null ? i : !1, e = (l = (a = this.renderParams) == null ? void 0 : a.isNestedInline) != null ? l : !1, o = (d = (c = this.renderParams) == null ? void 0 : c.iconWithGap) != null ? d : !0;
|
|
3996
|
-
this.nodes.icon.setAttribute(
|
|
3995
|
+
this.nodes.icon.setAttribute(f.popoverItemWobble, "true"), this.nodes.icon.className = this.getIconClass(o, t, e, !0);
|
|
3997
3996
|
const n = () => {
|
|
3998
|
-
this.nodes.icon && (this.nodes.icon.removeAttribute(
|
|
3997
|
+
this.nodes.icon && (this.nodes.icon.removeAttribute(f.popoverItemWobble), this.nodes.icon.className = this.getIconClass(o, t, e, !1));
|
|
3999
3998
|
};
|
|
4000
3999
|
this.nodes.icon.addEventListener("animationend", n, { once: !0 });
|
|
4001
4000
|
}
|
|
@@ -4006,9 +4005,9 @@ class B extends St {
|
|
|
4006
4005
|
return this.nodes.icon;
|
|
4007
4006
|
}
|
|
4008
4007
|
}
|
|
4009
|
-
const
|
|
4010
|
-
container: "py-1 px-[3px]",
|
|
4011
|
-
containerHidden: "
|
|
4008
|
+
const _ = {
|
|
4009
|
+
container: "py-1 px-[3px] transition-[opacity,max-height,padding] duration-150 max-h-4 overflow-hidden",
|
|
4010
|
+
containerHidden: "opacity-0 max-h-0! py-0!",
|
|
4012
4011
|
line: "h-px w-full bg-popover-border"
|
|
4013
4012
|
}, et = {
|
|
4014
4013
|
// Inline context: horizontal separator
|
|
@@ -4041,29 +4040,29 @@ class ie extends St {
|
|
|
4041
4040
|
if (!this.nodes.root)
|
|
4042
4041
|
return;
|
|
4043
4042
|
const e = this.getContainerClass(!1), o = this.getContainerClass(!0);
|
|
4044
|
-
this.nodes.root.className = t ? o : e, t ? this.nodes.root.setAttribute(
|
|
4043
|
+
this.nodes.root.className = t ? o : e, t ? this.nodes.root.setAttribute(f.hidden, "true") : this.nodes.root.removeAttribute(f.hidden);
|
|
4045
4044
|
}
|
|
4046
4045
|
/**
|
|
4047
4046
|
* Build container class based on context
|
|
4048
4047
|
*/
|
|
4049
4048
|
getContainerClass(t) {
|
|
4050
|
-
const e =
|
|
4051
|
-
return this.isNestedInline ? A(e, et.nestedContainer, t &&
|
|
4049
|
+
const e = _.container;
|
|
4050
|
+
return this.isNestedInline ? A(e, et.nestedContainer, t && _.containerHidden) : this.isInline ? A(e, et.container, t && _.containerHidden) : A(e, t && _.containerHidden);
|
|
4052
4051
|
}
|
|
4053
4052
|
/**
|
|
4054
4053
|
* Build line class based on context
|
|
4055
4054
|
*/
|
|
4056
4055
|
getLineClass() {
|
|
4057
|
-
return this.isNestedInline ? A(
|
|
4056
|
+
return this.isNestedInline ? A(_.line, et.nestedLine) : this.isInline ? A(_.line, et.line) : _.line;
|
|
4058
4057
|
}
|
|
4059
4058
|
/**
|
|
4060
4059
|
* Creates the root container element
|
|
4061
4060
|
*/
|
|
4062
4061
|
createRootElement() {
|
|
4063
4062
|
const t = document.createElement("div");
|
|
4064
|
-
t.className = this.getContainerClass(!1), t.setAttribute(
|
|
4063
|
+
t.className = this.getContainerClass(!1), t.setAttribute(f.popoverItemSeparator, ""), t.setAttribute("data-blok-testid", "popover-item-separator");
|
|
4065
4064
|
const e = document.createElement("div");
|
|
4066
|
-
return e.className = this.getLineClass(), e.setAttribute(
|
|
4065
|
+
return e.className = this.getLineClass(), e.setAttribute(f.popoverItemSeparatorLine, ""), t.appendChild(e), this.nodes.line = e, t;
|
|
4067
4066
|
}
|
|
4068
4067
|
}
|
|
4069
4068
|
const wt = {
|
|
@@ -4094,7 +4093,7 @@ class ct extends St {
|
|
|
4094
4093
|
* @param isHidden - true if item should be hidden
|
|
4095
4094
|
*/
|
|
4096
4095
|
toggleHidden(t) {
|
|
4097
|
-
this.isHidden = t, this.updateRootClasses(), this.nodes.root && (t ? this.nodes.root.setAttribute(
|
|
4096
|
+
this.isHidden = t, this.updateRootClasses(), this.nodes.root && (t ? this.nodes.root.setAttribute(f.hidden, "true") : this.nodes.root.removeAttribute(f.hidden));
|
|
4098
4097
|
}
|
|
4099
4098
|
/**
|
|
4100
4099
|
* Returns list of buttons and inputs inside custom content
|
|
@@ -4128,7 +4127,7 @@ class ct extends St {
|
|
|
4128
4127
|
return o.className = A(
|
|
4129
4128
|
wt.root,
|
|
4130
4129
|
this.isInline && Kt.root
|
|
4131
|
-
), o.setAttribute(
|
|
4130
|
+
), o.setAttribute(f.popoverItemHtml, ""), o.setAttribute("data-blok-testid", "popover-item-html"), t.name && o.setAttribute("data-blok-item-name", t.name), o.appendChild(t.element), t.hint !== void 0 && ((n = e == null ? void 0 : e.hint) == null ? void 0 : n.enabled) !== !1 && this.addHint(o, D(N({}, t.hint), {
|
|
4132
4131
|
position: ((r = e == null ? void 0 : e.hint) == null ? void 0 : r.position) || "right",
|
|
4133
4132
|
alignment: ((i = e == null ? void 0 : e.hint) == null ? void 0 : i.alignment) || "center"
|
|
4134
4133
|
})), o;
|
|
@@ -4141,7 +4140,7 @@ const kt = {
|
|
|
4141
4140
|
}, ae = (s, t) => {
|
|
4142
4141
|
var i, a, l, c, d;
|
|
4143
4142
|
const e = t.toLowerCase(), o = (a = (i = s.title) == null ? void 0 : i.toLowerCase()) != null ? a : "", n = (c = (l = s.englishTitle) == null ? void 0 : l.toLowerCase()) != null ? c : "", r = (d = s.searchTerms) != null ? d : [];
|
|
4144
|
-
return o.includes(e) || n.includes(e) || r.some((
|
|
4143
|
+
return o.includes(e) || n.includes(e) || r.some((u) => u.toLowerCase().includes(e));
|
|
4145
4144
|
};
|
|
4146
4145
|
var Nt = /* @__PURE__ */ ((s) => (s.Search = "search", s))(Nt || {});
|
|
4147
4146
|
class ko extends ee {
|
|
@@ -4395,7 +4394,7 @@ class Co extends ee {
|
|
|
4395
4394
|
show() {
|
|
4396
4395
|
var n;
|
|
4397
4396
|
const t = this.nodes.popover;
|
|
4398
|
-
t !== null && !t.isConnected && document.body.appendChild(t), this.nodes.popover.setAttribute(
|
|
4397
|
+
t !== null && !t.isConnected && document.body.appendChild(t), this.nodes.popover.setAttribute(f.popoverOpened, "true"), this.nodes.popoverContainer.className = A(
|
|
4399
4398
|
this.nodes.popoverContainer.className,
|
|
4400
4399
|
ot.popoverContainerOpened
|
|
4401
4400
|
), this.itemsDefault.forEach((r) => this.refreshItemActiveState(r)), this.search !== void 0 && this.search.focus();
|
|
@@ -4406,7 +4405,7 @@ class Co extends ee {
|
|
|
4406
4405
|
* Closes popover
|
|
4407
4406
|
*/
|
|
4408
4407
|
hide() {
|
|
4409
|
-
this.nodes.popover.removeAttribute(
|
|
4408
|
+
this.nodes.popover.removeAttribute(f.popoverOpened), this.nodes.popover.removeAttribute(f.popoverOpenTop), this.nodes.popover.removeAttribute(f.popoverOpenLeft), this.nodes.popoverContainer.className = ot.popoverContainer, this.itemsDefault.forEach((t) => t.reset()), this.search !== void 0 && this.search.clear(), dt.instance.unregister(this), this.emit(Z.Closed);
|
|
4410
4409
|
}
|
|
4411
4410
|
/**
|
|
4412
4411
|
* Clears memory
|
|
@@ -4453,13 +4452,13 @@ class Co extends ee {
|
|
|
4453
4452
|
buildItems(t) {
|
|
4454
4453
|
return t.map((e) => {
|
|
4455
4454
|
switch (e.type) {
|
|
4456
|
-
case
|
|
4457
|
-
return new ie(this.itemsRenderParams[
|
|
4458
|
-
case
|
|
4459
|
-
return new ct(e, this.itemsRenderParams[
|
|
4460
|
-
case
|
|
4455
|
+
case j.Separator:
|
|
4456
|
+
return new ie(this.itemsRenderParams[j.Separator]);
|
|
4457
|
+
case j.Html:
|
|
4458
|
+
return new ct(e, this.itemsRenderParams[j.Html]);
|
|
4459
|
+
case j.Default:
|
|
4461
4460
|
case void 0:
|
|
4462
|
-
return new B(e, this.itemsRenderParams[
|
|
4461
|
+
return new B(e, this.itemsRenderParams[j.Default]);
|
|
4463
4462
|
}
|
|
4464
4463
|
});
|
|
4465
4464
|
}
|
|
@@ -4533,21 +4532,21 @@ class Co extends ee {
|
|
|
4533
4532
|
* @param isDisplayed - true if the message should be displayed
|
|
4534
4533
|
*/
|
|
4535
4534
|
toggleNothingFoundMessage(t) {
|
|
4536
|
-
t ? (this.nodes.nothingFoundMessage.classList.remove("hidden"), this.nodes.nothingFoundMessage.setAttribute(
|
|
4535
|
+
t ? (this.nodes.nothingFoundMessage.classList.remove("hidden"), this.nodes.nothingFoundMessage.classList.add("animate-[fade-in_150ms_ease_forwards]"), this.nodes.nothingFoundMessage.setAttribute(f.nothingFoundDisplayed, "true")) : (this.nodes.nothingFoundMessage.classList.add("hidden"), this.nodes.nothingFoundMessage.classList.remove("animate-[fade-in_150ms_ease_forwards]"), this.nodes.nothingFoundMessage.removeAttribute(f.nothingFoundDisplayed));
|
|
4537
4536
|
}
|
|
4538
4537
|
/**
|
|
4539
4538
|
* Sets the open-top state for the popover
|
|
4540
4539
|
* @param openTop - true if popover should open above trigger
|
|
4541
4540
|
*/
|
|
4542
4541
|
setOpenTop(t) {
|
|
4543
|
-
t ? this.nodes.popover.setAttribute(
|
|
4542
|
+
t ? this.nodes.popover.setAttribute(f.popoverOpenTop, "true") : this.nodes.popover.removeAttribute(f.popoverOpenTop);
|
|
4544
4543
|
}
|
|
4545
4544
|
/**
|
|
4546
4545
|
* Sets the open-left state for the popover
|
|
4547
4546
|
* @param openLeft - true if popover should open to the left
|
|
4548
4547
|
*/
|
|
4549
4548
|
setOpenLeft(t) {
|
|
4550
|
-
t ? this.nodes.popover.setAttribute(
|
|
4549
|
+
t ? this.nodes.popover.setAttribute(f.popoverOpenLeft, "true") : this.nodes.popover.removeAttribute(f.popoverOpenLeft);
|
|
4551
4550
|
}
|
|
4552
4551
|
/**
|
|
4553
4552
|
* Checks if popover contains the node
|
|
@@ -4563,16 +4562,16 @@ class Co extends ee {
|
|
|
4563
4562
|
createPopoverDOM() {
|
|
4564
4563
|
var r, i;
|
|
4565
4564
|
const t = document.createElement("div");
|
|
4566
|
-
this.params.class && (t.className = this.params.class), t.setAttribute(
|
|
4565
|
+
this.params.class && (t.className = this.params.class), t.setAttribute(f.popover, ""), this.params.class && t.setAttribute("data-blok-popover-custom-class", this.params.class), t.setAttribute("data-blok-testid", "popover"), t.style.setProperty("--width", (r = this.params.width) != null ? r : "auto"), t.style.setProperty("--item-padding", "4px"), t.style.setProperty("--item-height", "calc(1.25rem + 2 * var(--item-padding))"), t.style.setProperty("--popover-top", "calc(100% + 0.5rem)"), t.style.setProperty("--popover-left", "0"), t.style.setProperty("--nested-popover-overlap", "0.25rem"), t.style.setProperty("--max-height", "400px");
|
|
4567
4566
|
const e = document.createElement("div");
|
|
4568
|
-
e.className = ot.popoverContainer, e.setAttribute(
|
|
4567
|
+
e.className = ot.popoverContainer, e.setAttribute(f.popoverContainer, ""), e.setAttribute("data-blok-testid", "popover-container");
|
|
4569
4568
|
const o = document.createElement("div");
|
|
4570
4569
|
o.className = A(
|
|
4571
4570
|
"cursor-default text-sm leading-5 font-medium whitespace-nowrap overflow-hidden text-ellipsis text-gray-text px-3 py-3 text-center",
|
|
4572
4571
|
"hidden"
|
|
4573
4572
|
), o.setAttribute("data-blok-testid", "popover-nothing-found"), o.textContent = (i = this.messages.nothingFound) != null ? i : "Nothing found";
|
|
4574
4573
|
const n = document.createElement("div");
|
|
4575
|
-
return n.className = ot.items, n.setAttribute(
|
|
4574
|
+
return n.className = ot.items, n.setAttribute(f.popoverItems, ""), n.setAttribute("data-blok-testid", "popover-items"), e.appendChild(o), e.appendChild(n), t.appendChild(e), {
|
|
4576
4575
|
popover: t,
|
|
4577
4576
|
popoverContainer: e,
|
|
4578
4577
|
nothingFoundMessage: o,
|
|
@@ -4608,25 +4607,31 @@ class le extends Co {
|
|
|
4608
4607
|
}, this.onSearch = (r) => {
|
|
4609
4608
|
var d;
|
|
4610
4609
|
const i = r.query === "", a = r.items.length === 0, l = r.items;
|
|
4611
|
-
this.items.forEach((
|
|
4612
|
-
|
|
4613
|
-
h.
|
|
4614
|
-
}), this.
|
|
4615
|
-
|
|
4610
|
+
a && this.items.forEach((u) => {
|
|
4611
|
+
var h;
|
|
4612
|
+
(h = u.getElement()) == null || h.style.setProperty("transition-duration", "0s");
|
|
4613
|
+
}), this.items.forEach((u) => {
|
|
4614
|
+
const h = u instanceof B, g = u instanceof ie || u instanceof ct, p = h ? !l.includes(u) || u.name !== void 0 && this.isNamePermanentlyHidden(u.name) : g && (a || !i);
|
|
4615
|
+
u.toggleHidden(p);
|
|
4616
|
+
}), a && (this.nodes.popoverContainer.offsetHeight, this.items.forEach((u) => {
|
|
4617
|
+
var h;
|
|
4618
|
+
(h = u.getElement()) == null || h.style.removeProperty("transition-duration");
|
|
4619
|
+
})), this.toggleNothingFoundMessage(a);
|
|
4620
|
+
const c = i ? this.flippableElements : r.items.map((u) => u.getElement());
|
|
4616
4621
|
(d = this.flipper) != null && d.isActivated && (this.flipper.deactivate(), this.flipper.activate(c), c.length > 0 && this.flipper.focusItem(0, { skipNextTab: !0 }));
|
|
4617
|
-
}, t.trigger && (this.trigger = t.trigger), t.nestingLevel !== void 0 && (this.nestingLevel = t.nestingLevel), this.nestingLevel > 0 && this.nodes.popover.setAttribute(
|
|
4622
|
+
}, t.trigger && (this.trigger = t.trigger), t.leftAlignElement && (this.leftAlignElement = t.leftAlignElement), t.nestingLevel !== void 0 && (this.nestingLevel = t.nestingLevel), this.nestingLevel > 0 && this.nodes.popover.setAttribute(f.nested, "true"), t.scopeElement !== void 0 && (this.scopeElement = t.scopeElement), this.nodes.popoverContainer !== null && this.listeners.on(this.nodes.popoverContainer, "mouseover", (r) => this.handleHover(r)), t.searchable && this.addSearch(), t.flippable === !1)
|
|
4618
4623
|
return;
|
|
4619
4624
|
const o = t.flipper;
|
|
4620
4625
|
o !== void 0 ? (o.deactivate(), o.removeOnFlip(this.onFlip), this.flipper = o) : this.flipper = new at({
|
|
4621
4626
|
items: this.flippableElements,
|
|
4622
|
-
focusedItemClass:
|
|
4627
|
+
focusedItemClass: Y.focused,
|
|
4623
4628
|
allowedKeys: [
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4629
|
+
b.TAB,
|
|
4630
|
+
b.UP,
|
|
4631
|
+
b.DOWN,
|
|
4632
|
+
b.ENTER,
|
|
4633
|
+
b.RIGHT,
|
|
4634
|
+
b.LEFT
|
|
4630
4635
|
],
|
|
4631
4636
|
onArrowLeft: t.onNavigateBack,
|
|
4632
4637
|
handleContentEditableTargets: t.handleContentEditableNavigation
|
|
@@ -4663,13 +4668,14 @@ class le extends Co {
|
|
|
4663
4668
|
* Open popover
|
|
4664
4669
|
*/
|
|
4665
4670
|
show() {
|
|
4666
|
-
var
|
|
4671
|
+
var o;
|
|
4667
4672
|
const t = this.getMountElement();
|
|
4668
4673
|
if (this.trigger && t && document.body.appendChild(t), this.trigger) {
|
|
4669
|
-
const { top:
|
|
4670
|
-
this.nodes.popover.style.position = "absolute", this.nodes.popover.style.top = `${
|
|
4674
|
+
const { top: n, left: r } = this.calculatePosition();
|
|
4675
|
+
this.nodes.popover.style.position = "absolute", this.nodes.popover.style.top = `${n}px`, this.nodes.popover.style.left = `${r}px`, this.nodes.popover.style.setProperty(O.PopoverTop, "0px"), this.nodes.popover.style.setProperty(O.PopoverLeft, "0px");
|
|
4671
4676
|
}
|
|
4672
|
-
|
|
4677
|
+
const e = this.size;
|
|
4678
|
+
this.nodes.popover.style.setProperty(O.PopoverHeight, e.height + "px"), (this.params.width === void 0 || this.params.width === "auto") && this.nodes.popover.style.setProperty("--width", e.width + "px"), !this.trigger && !this.shouldOpenBottom && (this.setOpenTop(!0), this.nodes.popover.style.setProperty(O.PopoverTop, "calc(-1 * (0.5rem + var(--popover-height)))")), !this.trigger && !this.shouldOpenRight && (this.setOpenLeft(!0), this.nodes.popover.style.setProperty(O.PopoverLeft, "calc(-1 * var(--width) + 100%)")), super.show(), (o = this.flipper) == null || o.activate(this.flippableElements), requestAnimationFrame(() => {
|
|
4673
4679
|
this.focusInitialElement();
|
|
4674
4680
|
});
|
|
4675
4681
|
}
|
|
@@ -4701,17 +4707,17 @@ class le extends Co {
|
|
|
4701
4707
|
* Calculates position for the popover
|
|
4702
4708
|
*/
|
|
4703
4709
|
calculatePosition() {
|
|
4704
|
-
var
|
|
4705
|
-
const t = (g = this.params.position) != null ? g : (
|
|
4710
|
+
var h, g, p, v;
|
|
4711
|
+
const t = (g = this.params.position) != null ? g : (h = this.trigger) == null ? void 0 : h.getBoundingClientRect();
|
|
4706
4712
|
if (!t)
|
|
4707
4713
|
return {
|
|
4708
4714
|
top: 0,
|
|
4709
4715
|
left: 0
|
|
4710
4716
|
};
|
|
4711
|
-
const e = this.size, o = window.innerWidth, n = window.innerHeight, r = 8, i = t.bottom + r + window.scrollY, l = t.bottom + r + e.height > n + window.scrollY && t.top - r - e.height > window.scrollY ? t.top - r - e.height + window.scrollY : i, c = t.left + window.scrollX,
|
|
4717
|
+
const e = this.size, o = window.innerWidth, n = window.innerHeight, r = 8, i = t.bottom + r + window.scrollY, l = t.bottom + r + e.height > n + window.scrollY && t.top - r - e.height > window.scrollY ? t.top - r - e.height + window.scrollY : i, c = ((v = (p = this.leftAlignElement) == null ? void 0 : p.getBoundingClientRect().left) != null ? v : t.left) + window.scrollX, u = c + e.width > o + window.scrollX ? Math.max(0, t.right - e.width + window.scrollX) : c;
|
|
4712
4718
|
return {
|
|
4713
4719
|
top: l,
|
|
4714
|
-
left:
|
|
4720
|
+
left: u
|
|
4715
4721
|
};
|
|
4716
4722
|
}
|
|
4717
4723
|
/**
|
|
@@ -4750,7 +4756,7 @@ class le extends Co {
|
|
|
4750
4756
|
* @param item – item near which nested popover should be displayed
|
|
4751
4757
|
*/
|
|
4752
4758
|
setTriggerItemPosition(t, e) {
|
|
4753
|
-
const o = e.getElement(), n = (o ? o.offsetTop : 0) - this.scrollTop, r = this.offsetTop + n, i = t.querySelector(`[${
|
|
4759
|
+
const o = e.getElement(), n = (o ? o.offsetTop : 0) - this.scrollTop, r = this.offsetTop + n, i = t.querySelector(`[${f.popover}]`);
|
|
4754
4760
|
(i instanceof HTMLElement ? i : t).style.setProperty(O.TriggerItemTop, r + "px");
|
|
4755
4761
|
}
|
|
4756
4762
|
/**
|
|
@@ -4810,10 +4816,10 @@ class le extends Co {
|
|
|
4810
4816
|
* @param nestedPopoverEl - the nested popover element (mount element)
|
|
4811
4817
|
*/
|
|
4812
4818
|
applyNestedPopoverPositioning(t) {
|
|
4813
|
-
const e = t.querySelector(`[${
|
|
4819
|
+
const e = t.querySelector(`[${f.popoverContainer}]`);
|
|
4814
4820
|
if (!(e instanceof HTMLElement))
|
|
4815
4821
|
return;
|
|
4816
|
-
const o = e, n = t.querySelector(`[${
|
|
4822
|
+
const o = e, n = t.querySelector(`[${f.popover}]`), r = n instanceof HTMLElement ? n : t, i = this.nodes.popover.hasAttribute(f.popoverOpenTop), a = this.nodes.popover.hasAttribute(f.popoverOpenLeft);
|
|
4817
4823
|
o.style.position = "absolute";
|
|
4818
4824
|
const l = this.params.width === void 0 || this.params.width === "auto" ? `${this.nodes.popoverContainer.offsetWidth}px` : "var(--width)";
|
|
4819
4825
|
a ? r.style.setProperty(O.PopoverLeft, `calc(-1 * (var(--nesting-level) + 1) * ${l} + 100%)`) : r.style.setProperty(O.PopoverLeft, `calc(var(--nesting-level) * (${l} - var(--nested-popover-overlap)))`), i ? o.style.top = "calc(var(--trigger-item-top) - var(--popover-height) + var(--item-height) + 0.5rem + var(--nested-popover-overlap))" : o.style.top = "calc(var(--trigger-item-top) - var(--nested-popover-overlap))";
|
|
@@ -4853,8 +4859,8 @@ class le extends Co {
|
|
|
4853
4859
|
if (this.nodes.popover === null)
|
|
4854
4860
|
return t;
|
|
4855
4861
|
const e = this.nodes.popover.cloneNode(!0);
|
|
4856
|
-
e.style.visibility = "hidden", e.style.position = "absolute", e.style.top = "-1000px", e.setAttribute(
|
|
4857
|
-
const o = e.querySelector(`[${
|
|
4862
|
+
e.style.visibility = "hidden", e.style.position = "absolute", e.style.top = "-1000px", e.setAttribute(f.popoverOpened, "true"), (n = e.querySelector(`[${f.nested}]`)) == null || n.remove(), document.body.appendChild(e);
|
|
4863
|
+
const o = e.querySelector(`[${f.popoverContainer}]`);
|
|
4858
4864
|
return t.height = o.offsetHeight, t.width = o.offsetWidth, e.remove(), this._size = t, t;
|
|
4859
4865
|
}
|
|
4860
4866
|
/**
|
|
@@ -4939,17 +4945,17 @@ const zn = function(s) {
|
|
|
4939
4945
|
if (n.length === 0)
|
|
4940
4946
|
return [];
|
|
4941
4947
|
const r = n.reduce((c, d) => {
|
|
4942
|
-
var
|
|
4943
|
-
return (
|
|
4948
|
+
var u;
|
|
4949
|
+
return (u = d.toolbox) == null || u.forEach((h) => {
|
|
4944
4950
|
var g;
|
|
4945
|
-
|
|
4946
|
-
icon:
|
|
4947
|
-
title: Ft(this.i18nInstance,
|
|
4948
|
-
name: (g =
|
|
4951
|
+
h.title !== void 0 && c.push({
|
|
4952
|
+
icon: h.icon,
|
|
4953
|
+
title: Ft(this.i18nInstance, h, d.name),
|
|
4954
|
+
name: (g = h.name) != null ? g : d.name,
|
|
4949
4955
|
closeOnActivate: !0,
|
|
4950
4956
|
onActivate: async () => {
|
|
4951
|
-
const
|
|
4952
|
-
this.caretAPI.setToBlock(
|
|
4957
|
+
const p = await this.blocksAPI.convert(e.id, d.name, h.data);
|
|
4958
|
+
this.caretAPI.setToBlock(p, "end");
|
|
4953
4959
|
}
|
|
4954
4960
|
});
|
|
4955
4961
|
}), c;
|
|
@@ -4975,12 +4981,17 @@ const zn = function(s) {
|
|
|
4975
4981
|
};
|
|
4976
4982
|
Ot.isInline = !0;
|
|
4977
4983
|
let qt = Ot;
|
|
4984
|
+
const Kn = "toggle", qn = "tools.toggle.placeholder", Yn = "outline-hidden py-[3px] mt-[2px] mb-px", Xn = "outline-hidden pl-0.5 leading-[1.6em] flex-1 min-w-0", Jn = "flex items-start", Zn = "flex-shrink-0 w-6 h-6 flex items-center justify-center cursor-pointer select-none rounded hover:bg-black/5 transition-all duration-200 ease-in-out mt-px focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none", Qn = '<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>', ts = {
|
|
4985
|
+
toggleOpen: "data-blok-toggle-open",
|
|
4986
|
+
toggleArrow: "data-blok-toggle-arrow",
|
|
4987
|
+
toggleContent: "data-blok-toggle-content"
|
|
4988
|
+
};
|
|
4978
4989
|
export {
|
|
4979
4990
|
ot as $,
|
|
4980
4991
|
be as A,
|
|
4981
4992
|
Jo as B,
|
|
4982
4993
|
Pt as C,
|
|
4983
|
-
|
|
4994
|
+
f as D,
|
|
4984
4995
|
ee as E,
|
|
4985
4996
|
at as F,
|
|
4986
4997
|
P as G,
|
|
@@ -4992,20 +5003,20 @@ export {
|
|
|
4992
5003
|
Eo as M,
|
|
4993
5004
|
zo as N,
|
|
4994
5005
|
z as O,
|
|
4995
|
-
|
|
5006
|
+
j as P,
|
|
4996
5007
|
$o as Q,
|
|
4997
5008
|
cn as R,
|
|
4998
5009
|
oe as S,
|
|
4999
5010
|
Lo as T,
|
|
5000
|
-
|
|
5011
|
+
Yo as U,
|
|
5001
5012
|
No as V,
|
|
5002
5013
|
me as W,
|
|
5003
5014
|
le as X,
|
|
5004
5015
|
Ce as Y,
|
|
5005
|
-
|
|
5016
|
+
Y as Z,
|
|
5006
5017
|
Vn as _,
|
|
5007
5018
|
m as a,
|
|
5008
|
-
|
|
5019
|
+
Hn as a$,
|
|
5009
5020
|
dt as a0,
|
|
5010
5021
|
Z as a1,
|
|
5011
5022
|
B as a2,
|
|
@@ -5016,36 +5027,36 @@ export {
|
|
|
5016
5027
|
Co as a7,
|
|
5017
5028
|
Go as a8,
|
|
5018
5029
|
te as a9,
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5030
|
+
Zn as aA,
|
|
5031
|
+
Qn as aB,
|
|
5032
|
+
Jn as aC,
|
|
5033
|
+
Yn as aD,
|
|
5034
|
+
Kn as aE,
|
|
5035
|
+
Xn as aF,
|
|
5036
|
+
Tn as aG,
|
|
5037
|
+
wn as aH,
|
|
5038
|
+
kn as aI,
|
|
5039
|
+
Cn as aJ,
|
|
5040
|
+
yn as aK,
|
|
5041
|
+
En as aL,
|
|
5042
|
+
xn as aM,
|
|
5043
|
+
Wn as aN,
|
|
5044
|
+
Gn as aO,
|
|
5045
|
+
jn as aP,
|
|
5046
|
+
Nn as aQ,
|
|
5047
|
+
Ln as aR,
|
|
5048
|
+
On as aS,
|
|
5049
|
+
lo as aT,
|
|
5050
|
+
Wt as aU,
|
|
5051
|
+
fn as aV,
|
|
5052
|
+
Dn as aW,
|
|
5053
|
+
dn as aX,
|
|
5054
|
+
Xo as aY,
|
|
5055
|
+
Pn as aZ,
|
|
5056
|
+
$n as a_,
|
|
5046
5057
|
Ft as aa,
|
|
5047
5058
|
gn as ab,
|
|
5048
|
-
|
|
5059
|
+
_n as ac,
|
|
5049
5060
|
Bo as ad,
|
|
5050
5061
|
Dt as ae,
|
|
5051
5062
|
vn as af,
|
|
@@ -5060,29 +5071,37 @@ export {
|
|
|
5060
5071
|
qt as ao,
|
|
5061
5072
|
So as ap,
|
|
5062
5073
|
Uo as aq,
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5074
|
+
ts as ar,
|
|
5075
|
+
Ko as as,
|
|
5076
|
+
Mo as at,
|
|
5077
|
+
Ro as au,
|
|
5078
|
+
xo as av,
|
|
5079
|
+
ve as aw,
|
|
5080
|
+
To as ax,
|
|
5081
|
+
tn as ay,
|
|
5082
|
+
In as az,
|
|
5072
5083
|
E as b,
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5084
|
+
Fn as b0,
|
|
5085
|
+
Bn as b1,
|
|
5086
|
+
Rn as b2,
|
|
5087
|
+
Po as b3,
|
|
5088
|
+
Mn as b4,
|
|
5089
|
+
xt as b5,
|
|
5090
|
+
sn as b6,
|
|
5091
|
+
rn as b7,
|
|
5092
|
+
an as b8,
|
|
5093
|
+
ln as b9,
|
|
5094
|
+
qn as ba,
|
|
5095
|
+
Sn as bb,
|
|
5096
|
+
hn as bc,
|
|
5097
|
+
un as bd,
|
|
5098
|
+
pn as be,
|
|
5080
5099
|
Wo as c,
|
|
5081
5100
|
Oe as d,
|
|
5082
5101
|
Fo as e,
|
|
5083
5102
|
Do as f,
|
|
5084
5103
|
Ho as g,
|
|
5085
|
-
|
|
5104
|
+
_o as h,
|
|
5086
5105
|
M as i,
|
|
5087
5106
|
ye as j,
|
|
5088
5107
|
Io as k,
|
|
@@ -5096,9 +5115,9 @@ export {
|
|
|
5096
5115
|
Qo as s,
|
|
5097
5116
|
A as t,
|
|
5098
5117
|
en as u,
|
|
5099
|
-
v,
|
|
5118
|
+
b as v,
|
|
5100
5119
|
Oo as w,
|
|
5101
5120
|
on as x,
|
|
5102
5121
|
nn as y,
|
|
5103
|
-
|
|
5122
|
+
jo as z
|
|
5104
5123
|
};
|