@wix/patterns-fields 1.38.0 → 1.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/assets/locale/messages_ar.json +179 -3
- package/dist/cjs/assets/locale/messages_bg.json +179 -3
- package/dist/cjs/assets/locale/messages_ca.json +179 -3
- package/dist/cjs/assets/locale/messages_cs.json +179 -3
- package/dist/cjs/assets/locale/messages_da.json +179 -3
- package/dist/cjs/assets/locale/messages_de.json +179 -3
- package/dist/cjs/assets/locale/messages_el.json +179 -3
- package/dist/cjs/assets/locale/messages_en.json +159 -152
- package/dist/cjs/assets/locale/messages_es.json +179 -3
- package/dist/cjs/assets/locale/messages_fi.json +179 -3
- package/dist/cjs/assets/locale/messages_fr.json +179 -3
- package/dist/cjs/assets/locale/messages_he.json +179 -3
- package/dist/cjs/assets/locale/messages_hi.json +179 -3
- package/dist/cjs/assets/locale/messages_hu.json +179 -3
- package/dist/cjs/assets/locale/messages_id.json +179 -3
- package/dist/cjs/assets/locale/messages_it.json +179 -3
- package/dist/cjs/assets/locale/messages_ja.json +179 -3
- package/dist/cjs/assets/locale/messages_ko.json +179 -3
- package/dist/cjs/assets/locale/messages_lt.json +179 -3
- package/dist/cjs/assets/locale/messages_ms.json +179 -3
- package/dist/cjs/assets/locale/messages_nl.json +179 -3
- package/dist/cjs/assets/locale/messages_no.json +179 -3
- package/dist/cjs/assets/locale/messages_pl.json +179 -3
- package/dist/cjs/assets/locale/messages_pt.json +179 -3
- package/dist/cjs/assets/locale/messages_ro.json +179 -3
- package/dist/cjs/assets/locale/messages_ru.json +179 -3
- package/dist/cjs/assets/locale/messages_sk.json +179 -3
- package/dist/cjs/assets/locale/messages_sl.json +179 -3
- package/dist/cjs/assets/locale/messages_sv.json +179 -3
- package/dist/cjs/assets/locale/messages_th.json +179 -3
- package/dist/cjs/assets/locale/messages_tl.json +179 -3
- package/dist/cjs/assets/locale/messages_tr.json +179 -3
- package/dist/cjs/assets/locale/messages_uk.json +179 -3
- package/dist/cjs/assets/locale/messages_vi.json +179 -3
- package/dist/cjs/assets/locale/messages_zh.json +179 -3
- package/dist/cjs/assets/locale/version_file +1 -0
- package/dist/cjs/components/address/input/address-input.st.css.js +3 -3
- package/dist/cjs/components/address/input/address-input.st.css.js.map +1 -1
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js +3 -3
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
- package/dist/cjs/components/audio/actions/audio-actions.js +89 -0
- package/dist/cjs/components/audio/actions/audio-actions.js.map +1 -0
- package/dist/cjs/components/audio/audio-field/form-audio-field.js +47 -64
- package/dist/cjs/components/audio/audio-field/form-audio-field.js.map +1 -1
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js +4 -4
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-player/audio-player-store.js +75 -0
- package/dist/cjs/components/audio/audio-player/audio-player-store.js.map +1 -0
- package/dist/cjs/components/audio/audio-player/audio-player.js +10 -15
- package/dist/cjs/components/audio/audio-player/audio-player.js.map +1 -1
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-player/index.js +6 -0
- package/dist/cjs/components/audio/audio-player/index.js.map +1 -1
- package/dist/cjs/components/audio/cell-audio-edit.js +172 -0
- package/dist/cjs/components/audio/cell-audio-edit.js.map +1 -0
- package/dist/cjs/components/audio/cell-audio-view.js +56 -0
- package/dist/cjs/components/audio/cell-audio-view.js.map +1 -0
- package/dist/cjs/components/audio/index.js +12 -0
- package/dist/cjs/components/audio/index.js.map +1 -1
- package/dist/cjs/components/color-view/color-view.st.css.js +4 -4
- package/dist/cjs/components/color-view/color-view.st.css.js.map +1 -1
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js +3 -3
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
- package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
- package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
- package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
- package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
- package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js +3 -3
- package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
- package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js +2 -2
- package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
- package/dist/cjs/components/media-control/index.js +6 -0
- package/dist/cjs/components/media-control/index.js.map +1 -1
- package/dist/cjs/components/media-control/paste-url-button.st.css.js +4 -4
- package/dist/cjs/components/media-control/paste-url-button.st.css.js.map +1 -1
- package/dist/cjs/components/media-control/use-cell-media-edit.js +13 -11
- package/dist/cjs/components/media-control/use-cell-media-edit.js.map +1 -1
- package/dist/cjs/components/media-control/use-media-handlers.js +42 -0
- package/dist/cjs/components/media-control/use-media-handlers.js.map +1 -0
- package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js +10 -10
- package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
- package/dist/cjs/components/media-image/media-image.st.css.js +4 -4
- package/dist/cjs/components/media-image/media-image.st.css.js.map +1 -1
- package/dist/cjs/components/media-image/overlays/overlay.st.css.js +3 -3
- package/dist/cjs/components/media-image/overlays/overlay.st.css.js.map +1 -1
- package/dist/cjs/components/media-loader/media-loader.st.css.js +3 -3
- package/dist/cjs/components/media-loader/media-loader.st.css.js.map +1 -1
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
- package/dist/cjs/components/multi-document/cell-multi-document-edit.js +516 -0
- package/dist/cjs/components/multi-document/cell-multi-document-edit.js.map +1 -0
- package/dist/cjs/components/multi-document/cell-multi-document-view.js +65 -0
- package/dist/cjs/components/multi-document/cell-multi-document-view.js.map +1 -0
- package/dist/cjs/components/multi-document/index.js +5 -1
- package/dist/cjs/components/multi-document/index.js.map +1 -1
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
- package/dist/cjs/components/reference/cell-reference-input.st.css.js +3 -3
- package/dist/cjs/components/reference/cell-reference-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
- package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +7 -7
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +18 -18
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +4 -4
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +18 -18
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map +1 -1
- package/dist/cjs/components/text/text-view.st.css.js +3 -3
- package/dist/cjs/components/text/text-view.st.css.js.map +1 -1
- package/dist/cjs/components/time-input/cell-time-input.js +8 -7
- package/dist/cjs/components/time-input/cell-time-input.js.map +1 -1
- package/dist/cjs/services/translations.js.map +1 -1
- package/dist/cjs/styles.global.css +1 -1
- package/dist/cjs/utils/media-utils.js +16 -1
- package/dist/cjs/utils/media-utils.js.map +1 -1
- package/dist/esm/assets/locale/messages_ar.json +179 -3
- package/dist/esm/assets/locale/messages_bg.json +179 -3
- package/dist/esm/assets/locale/messages_ca.json +179 -3
- package/dist/esm/assets/locale/messages_cs.json +179 -3
- package/dist/esm/assets/locale/messages_da.json +179 -3
- package/dist/esm/assets/locale/messages_de.json +179 -3
- package/dist/esm/assets/locale/messages_el.json +179 -3
- package/dist/esm/assets/locale/messages_en.json +159 -148
- package/dist/esm/assets/locale/messages_es.json +179 -3
- package/dist/esm/assets/locale/messages_fi.json +179 -3
- package/dist/esm/assets/locale/messages_fr.json +179 -3
- package/dist/esm/assets/locale/messages_he.json +179 -3
- package/dist/esm/assets/locale/messages_hi.json +179 -3
- package/dist/esm/assets/locale/messages_hu.json +179 -3
- package/dist/esm/assets/locale/messages_id.json +179 -3
- package/dist/esm/assets/locale/messages_it.json +179 -3
- package/dist/esm/assets/locale/messages_ja.json +179 -3
- package/dist/esm/assets/locale/messages_ko.json +179 -3
- package/dist/esm/assets/locale/messages_lt.json +179 -3
- package/dist/esm/assets/locale/messages_ms.json +179 -3
- package/dist/esm/assets/locale/messages_nl.json +179 -3
- package/dist/esm/assets/locale/messages_no.json +179 -3
- package/dist/esm/assets/locale/messages_pl.json +179 -3
- package/dist/esm/assets/locale/messages_pt.json +179 -3
- package/dist/esm/assets/locale/messages_ro.json +179 -3
- package/dist/esm/assets/locale/messages_ru.json +179 -3
- package/dist/esm/assets/locale/messages_sk.json +179 -3
- package/dist/esm/assets/locale/messages_sl.json +179 -3
- package/dist/esm/assets/locale/messages_sv.json +179 -3
- package/dist/esm/assets/locale/messages_th.json +179 -3
- package/dist/esm/assets/locale/messages_tl.json +179 -3
- package/dist/esm/assets/locale/messages_tr.json +179 -3
- package/dist/esm/assets/locale/messages_uk.json +179 -3
- package/dist/esm/assets/locale/messages_vi.json +179 -3
- package/dist/esm/assets/locale/messages_zh.json +179 -3
- package/dist/esm/assets/locale/version_file +1 -0
- package/dist/esm/components/address/input/address-input.st.css.js +2 -2
- package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
- package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
- package/dist/esm/components/audio/actions/audio-actions.js +53 -0
- package/dist/esm/components/audio/actions/audio-actions.js.map +1 -0
- package/dist/esm/components/audio/audio-field/form-audio-field.js +36 -40
- package/dist/esm/components/audio/audio-field/form-audio-field.js.map +1 -1
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
- package/dist/esm/components/audio/audio-player/audio-player-store.js +45 -0
- package/dist/esm/components/audio/audio-player/audio-player-store.js.map +1 -0
- package/dist/esm/components/audio/audio-player/audio-player.js +4 -9
- package/dist/esm/components/audio/audio-player/audio-player.js.map +1 -1
- package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/esm/components/audio/audio-player/index.js +1 -0
- package/dist/esm/components/audio/audio-player/index.js.map +1 -1
- package/dist/esm/components/audio/cell-audio-edit.js +57 -0
- package/dist/esm/components/audio/cell-audio-edit.js.map +1 -0
- package/dist/esm/components/audio/cell-audio-view.js +13 -0
- package/dist/esm/components/audio/cell-audio-view.js.map +1 -0
- package/dist/esm/components/audio/index.js +2 -0
- package/dist/esm/components/audio/index.js.map +1 -1
- package/dist/esm/components/color-view/color-view.st.css.js +2 -2
- package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
- package/dist/esm/components/document/form-document-field.st.css.js +2 -2
- package/dist/esm/components/document/form-document-field.st.css.js.map +1 -1
- package/dist/esm/components/exclamation/exclamation.st.css.js +2 -2
- package/dist/esm/components/exclamation/exclamation.st.css.js.map +1 -1
- package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
- package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js +2 -2
- package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js +2 -2
- package/dist/esm/components/media-control/index.js +1 -0
- package/dist/esm/components/media-control/index.js.map +1 -1
- package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
- package/dist/esm/components/media-control/paste-url-button.st.css.js.map +1 -1
- package/dist/esm/components/media-control/use-cell-media-edit.js +10 -11
- package/dist/esm/components/media-control/use-cell-media-edit.js.map +1 -1
- package/dist/esm/components/media-control/use-media-handlers.js +26 -0
- package/dist/esm/components/media-control/use-media-handlers.js.map +1 -0
- package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
- package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
- package/dist/esm/components/media-image/media-image.st.css.js +3 -3
- package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
- package/dist/esm/components/media-loader/media-loader.st.css.js +2 -2
- package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
- package/dist/esm/components/multi-document/cell-multi-document-edit.js +148 -0
- package/dist/esm/components/multi-document/cell-multi-document-edit.js.map +1 -0
- package/dist/esm/components/multi-document/cell-multi-document-view.js +26 -0
- package/dist/esm/components/multi-document/cell-multi-document-view.js.map +1 -0
- package/dist/esm/components/multi-document/index.js +2 -0
- package/dist/esm/components/multi-document/index.js.map +1 -1
- package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
- package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
- package/dist/esm/components/reference/cell-reference-input.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +2 -2
- package/dist/esm/components/text/text-view.st.css.js +2 -2
- package/dist/esm/components/time-input/cell-time-input.js +6 -5
- package/dist/esm/components/time-input/cell-time-input.js.map +1 -1
- package/dist/esm/styles.global.css +1 -1
- package/dist/esm/utils/media-utils.js +13 -1
- package/dist/esm/utils/media-utils.js.map +1 -1
- package/dist/types/components/audio/actions/actions-menu/actions-menu.st.css.d.ts.map +1 -1
- package/dist/types/components/audio/actions/audio-actions.d.ts +33 -0
- package/dist/types/components/audio/actions/audio-actions.d.ts.map +1 -0
- package/dist/types/components/audio/audio-field/form-audio-field.d.ts.map +1 -1
- package/dist/types/components/audio/audio-field/form-audio-field.st.css.d.ts.map +1 -1
- package/dist/types/components/audio/audio-player/audio-player-store.d.ts +19 -0
- package/dist/types/components/audio/audio-player/audio-player-store.d.ts.map +1 -0
- package/dist/types/components/audio/audio-player/audio-player.d.ts +1 -2
- package/dist/types/components/audio/audio-player/audio-player.d.ts.map +1 -1
- package/dist/types/components/audio/audio-player/index.d.ts +1 -0
- package/dist/types/components/audio/audio-player/index.d.ts.map +1 -1
- package/dist/types/components/audio/cell-audio-edit.d.ts +18 -0
- package/dist/types/components/audio/cell-audio-edit.d.ts.map +1 -0
- package/dist/types/components/audio/cell-audio-view.d.ts +7 -0
- package/dist/types/components/audio/cell-audio-view.d.ts.map +1 -0
- package/dist/types/components/audio/index.d.ts +2 -0
- package/dist/types/components/audio/index.d.ts.map +1 -1
- package/dist/types/components/document/form-document-field.st.css.d.ts.map +1 -1
- package/dist/types/components/exclamation/exclamation.st.css.d.ts.map +1 -1
- package/dist/types/components/media-control/index.d.ts +1 -0
- package/dist/types/components/media-control/index.d.ts.map +1 -1
- package/dist/types/components/media-control/paste-url-button.st.css.d.ts.map +1 -1
- package/dist/types/components/media-control/use-cell-media-edit.d.ts.map +1 -1
- package/dist/types/components/media-control/use-media-handlers.d.ts +24 -0
- package/dist/types/components/media-control/use-media-handlers.d.ts.map +1 -0
- package/dist/types/components/media-gallery/form-media-gallery-field.st.css.d.ts.map +1 -1
- package/dist/types/components/media-tag/web-media-tag/media-tag.st.css.d.ts.map +1 -1
- package/dist/types/components/multi-document/cell-multi-document-edit.d.ts +20 -0
- package/dist/types/components/multi-document/cell-multi-document-edit.d.ts.map +1 -0
- package/dist/types/components/multi-document/cell-multi-document-view.d.ts +13 -0
- package/dist/types/components/multi-document/cell-multi-document-view.d.ts.map +1 -0
- package/dist/types/components/multi-document/index.d.ts +4 -0
- package/dist/types/components/multi-document/index.d.ts.map +1 -1
- package/dist/types/components/reference/cell-reference-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.d.ts.map +1 -1
- package/dist/types/components/time-input/cell-time-input.d.ts.map +1 -1
- package/dist/types/services/translations.d.ts +6 -6
- package/dist/types/services/translations.d.ts.map +1 -1
- package/dist/types/utils/media-utils.d.ts.map +1 -1
- package/package.json +9 -7
- package/src/assets/locale/messages_ar.json +179 -3
- package/src/assets/locale/messages_bg.json +179 -3
- package/src/assets/locale/messages_ca.json +179 -3
- package/src/assets/locale/messages_cs.json +179 -3
- package/src/assets/locale/messages_da.json +179 -3
- package/src/assets/locale/messages_de.json +179 -3
- package/src/assets/locale/messages_el.json +179 -3
- package/src/assets/locale/messages_en.json +159 -152
- package/src/assets/locale/messages_es.json +179 -3
- package/src/assets/locale/messages_fi.json +179 -3
- package/src/assets/locale/messages_fr.json +179 -3
- package/src/assets/locale/messages_he.json +179 -3
- package/src/assets/locale/messages_hi.json +179 -3
- package/src/assets/locale/messages_hu.json +179 -3
- package/src/assets/locale/messages_id.json +179 -3
- package/src/assets/locale/messages_it.json +179 -3
- package/src/assets/locale/messages_ja.json +179 -3
- package/src/assets/locale/messages_ko.json +179 -3
- package/src/assets/locale/messages_lt.json +179 -3
- package/src/assets/locale/messages_ms.json +179 -3
- package/src/assets/locale/messages_nl.json +179 -3
- package/src/assets/locale/messages_no.json +179 -3
- package/src/assets/locale/messages_pl.json +179 -3
- package/src/assets/locale/messages_pt.json +179 -3
- package/src/assets/locale/messages_ro.json +179 -3
- package/src/assets/locale/messages_ru.json +179 -3
- package/src/assets/locale/messages_sk.json +179 -3
- package/src/assets/locale/messages_sl.json +179 -3
- package/src/assets/locale/messages_sv.json +179 -3
- package/src/assets/locale/messages_th.json +179 -3
- package/src/assets/locale/messages_tl.json +179 -3
- package/src/assets/locale/messages_tr.json +179 -3
- package/src/assets/locale/messages_uk.json +179 -3
- package/src/assets/locale/messages_vi.json +179 -3
- package/src/assets/locale/messages_zh.json +179 -3
- package/src/assets/locale/version_file +1 -0
- package/src/components/address/input/address-input.st.css.ts +2 -2
- package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
- package/src/components/audio/actions/audio-actions.tsx +100 -0
- package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
- package/src/components/audio/audio-field/form-audio-field.tsx +36 -45
- package/src/components/audio/audio-player/audio-player-store.tsx +61 -0
- package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
- package/src/components/audio/audio-player/audio-player.tsx +6 -12
- package/src/components/audio/audio-player/index.ts +1 -0
- package/src/components/audio/cell-audio-edit.tsx +132 -0
- package/src/components/audio/cell-audio-view.tsx +43 -0
- package/src/components/audio/index.ts +2 -0
- package/src/components/color-view/color-view.st.css.ts +2 -2
- package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
- package/src/components/document/form-document-field.st.css.ts +2 -2
- package/src/components/exclamation/exclamation.st.css.ts +2 -2
- package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
- package/src/components/image/thumbnail-replace-overlay.st.css.ts +2 -2
- package/src/components/media-control/cell-media-edit-shell.st.css.ts +2 -2
- package/src/components/media-control/index.ts +1 -0
- package/src/components/media-control/paste-url-button.st.css.ts +2 -2
- package/src/components/media-control/use-cell-media-edit.ts +14 -17
- package/src/components/media-control/use-media-handlers.ts +56 -0
- package/src/components/media-gallery/form-media-gallery-field.st.css.ts +2 -2
- package/src/components/media-image/media-image.st.css.ts +3 -3
- package/src/components/media-image/overlays/overlay.st.css.ts +2 -2
- package/src/components/media-loader/media-loader.st.css.ts +2 -2
- package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
- package/src/components/multi-document/cell-multi-document-edit.tsx +364 -0
- package/src/components/multi-document/cell-multi-document-view.tsx +68 -0
- package/src/components/multi-document/index.ts +4 -0
- package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
- package/src/components/reference/cell-reference-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
- package/src/components/text/text-view.st.css.ts +2 -2
- package/src/components/time-input/cell-time-input.tsx +6 -12
- package/src/services/translations.ts +159 -148
- package/src/styles.global.css +1 -1
- package/src/utils/media-utils.ts +13 -1
package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js
CHANGED
|
@@ -5,30 +5,30 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../../../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "toolbar3159298695";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
16
|
-
"item": "
|
|
17
|
-
"separator": "
|
|
18
|
-
"clearFormatting": "
|
|
19
|
-
"fullScreen": "
|
|
20
|
-
"dropdownItemContent": "
|
|
21
|
-
"dropdownItemTitle": "
|
|
22
|
-
"dropdownItemSubtitle": "
|
|
23
|
-
"dropdownHeaderOne": "
|
|
24
|
-
"dropdownHeaderTwo": "
|
|
25
|
-
"dropdownHeaderThree": "
|
|
26
|
-
"dropdownHeaderFour": "
|
|
27
|
-
"dropdownHeaderFive": "
|
|
28
|
-
"dropdownHeaderSix": "
|
|
29
|
-
"dropdownParagraphOne": "
|
|
30
|
-
"dropdownNormalText": "
|
|
31
|
-
"dropdownParagraphThree": "
|
|
15
|
+
"root": "toolbar3159298695__root",
|
|
16
|
+
"item": "toolbar3159298695__item",
|
|
17
|
+
"separator": "toolbar3159298695__separator",
|
|
18
|
+
"clearFormatting": "toolbar3159298695__clearFormatting",
|
|
19
|
+
"fullScreen": "toolbar3159298695__fullScreen",
|
|
20
|
+
"dropdownItemContent": "toolbar3159298695__dropdownItemContent",
|
|
21
|
+
"dropdownItemTitle": "toolbar3159298695__dropdownItemTitle",
|
|
22
|
+
"dropdownItemSubtitle": "toolbar3159298695__dropdownItemSubtitle",
|
|
23
|
+
"dropdownHeaderOne": "toolbar3159298695__dropdownHeaderOne",
|
|
24
|
+
"dropdownHeaderTwo": "toolbar3159298695__dropdownHeaderTwo",
|
|
25
|
+
"dropdownHeaderThree": "toolbar3159298695__dropdownHeaderThree",
|
|
26
|
+
"dropdownHeaderFour": "toolbar3159298695__dropdownHeaderFour",
|
|
27
|
+
"dropdownHeaderFive": "toolbar3159298695__dropdownHeaderFive",
|
|
28
|
+
"dropdownHeaderSix": "toolbar3159298695__dropdownHeaderSix",
|
|
29
|
+
"dropdownParagraphOne": "toolbar3159298695__dropdownParagraphOne",
|
|
30
|
+
"dropdownNormalText": "toolbar3159298695__dropdownNormalText",
|
|
31
|
+
"dropdownParagraphThree": "toolbar3159298695__dropdownParagraphThree"
|
|
32
32
|
};
|
|
33
33
|
var keyframes = exports.keyframes = {};
|
|
34
34
|
var layers = exports.layers = {};
|
package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"toolbar3159298695\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style: import(\"@stylable/runtime\").STFunction = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"toolbar3159298695__root\",\"item\":\"toolbar3159298695__item\",\"separator\":\"toolbar3159298695__separator\",\"clearFormatting\":\"toolbar3159298695__clearFormatting\",\"fullScreen\":\"toolbar3159298695__fullScreen\",\"dropdownItemContent\":\"toolbar3159298695__dropdownItemContent\",\"dropdownItemTitle\":\"toolbar3159298695__dropdownItemTitle\",\"dropdownItemSubtitle\":\"toolbar3159298695__dropdownItemSubtitle\",\"dropdownHeaderOne\":\"toolbar3159298695__dropdownHeaderOne\",\"dropdownHeaderTwo\":\"toolbar3159298695__dropdownHeaderTwo\",\"dropdownHeaderThree\":\"toolbar3159298695__dropdownHeaderThree\",\"dropdownHeaderFour\":\"toolbar3159298695__dropdownHeaderFour\",\"dropdownHeaderFive\":\"toolbar3159298695__dropdownHeaderFive\",\"dropdownHeaderSix\":\"toolbar3159298695__dropdownHeaderSix\",\"dropdownParagraphOne\":\"toolbar3159298695__dropdownParagraphOne\",\"dropdownNormalText\":\"toolbar3159298695__dropdownNormalText\",\"dropdownParagraphThree\":\"toolbar3159298695__dropdownParagraphThree\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-blue-400\":\"--wds-color-blue-400\",\"wds-color-black-400\":\"--wds-color-black-400\",\"wds-color-white\":\"--wds-color-white\",\"wds-font-family-default\":\"--wds-font-family-default\",\"wsr-font-family\":\"--wsr-font-family\",\"wds-font-weight-medium\":\"--wds-font-weight-medium\",\"wds-font-weight-bold\":\"--wds-font-weight-bold\",\"wds-font-size-500\":\"--wds-font-size-500\",\"wds-font-line-height-300\":\"--wds-font-line-height-300\",\"wsr-color-B40\":\"--wsr-color-B40\",\"wsr-color-D80\":\"--wsr-color-D80\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,mBAAmB;AACrC,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,yBAAyB;EAAC,MAAM,EAAC,yBAAyB;EAAC,WAAW,EAAC,8BAA8B;EAAC,iBAAiB,EAAC,oCAAoC;EAAC,YAAY,EAAC,+BAA+B;EAAC,qBAAqB,EAAC,wCAAwC;EAAC,mBAAmB,EAAC,sCAAsC;EAAC,sBAAsB,EAAC,yCAAyC;EAAC,mBAAmB,EAAC,sCAAsC;EAAC,mBAAmB,EAAC,sCAAsC;EAAC,qBAAqB,EAAC,wCAAwC;EAAC,oBAAoB,EAAC,uCAAuC;EAAC,oBAAoB,EAAC,uCAAuC;EAAC,mBAAmB,EAAC,sCAAsC;EAAC,sBAAsB,EAAC,yCAAyC;EAAC,oBAAoB,EAAC,uCAAuC;EAAC,wBAAwB,EAAC;AAA2C,CAAC;AACx8B,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,qBAAqB,EAAC,uBAAuB;EAAC,iBAAiB,EAAC,mBAAmB;EAAC,yBAAyB,EAAC,2BAA2B;EAAC,iBAAiB,EAAC,mBAAmB;EAAC,wBAAwB,EAAC,0BAA0B;EAAC,sBAAsB,EAAC,wBAAwB;EAAC,mBAAmB,EAAC,qBAAqB;EAAC,0BAA0B,EAAC,4BAA4B;EAAC,eAAe,EAAC,iBAAiB;EAAC,eAAe,EAAC;AAAiB,CAAC","ignoreList":[]}
|
|
@@ -5,15 +5,15 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "textview958310663";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
16
|
-
"textView": "
|
|
15
|
+
"root": "textview958310663__root",
|
|
16
|
+
"textView": "textview958310663__textView"
|
|
17
17
|
};
|
|
18
18
|
var keyframes = exports.keyframes = {};
|
|
19
19
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/text/text-view.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/text/text-view.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"textview958310663\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style: import(\"@stylable/runtime\").STFunction = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"textview958310663__root\",\"textView\":\"textview958310663__textView\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,mBAAmB;AACrC,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,yBAAyB;EAAC,UAAU,EAAC;AAA6B,CAAC;AACzF,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC","ignoreList":[]}
|
|
@@ -28,15 +28,16 @@ const CellTimeInput = exports.CellTimeInput = /*#__PURE__*/(0, _react.forwardRef
|
|
|
28
28
|
dataHook,
|
|
29
29
|
placeholder,
|
|
30
30
|
step = 15
|
|
31
|
-
}) => {
|
|
31
|
+
}, ref) => {
|
|
32
32
|
const {
|
|
33
33
|
i18n
|
|
34
34
|
} = (0, _useTranslations.useTranslations)();
|
|
35
35
|
const dateValue = (0, _react.useMemo)(() => value ? (0, _hooks.timeToDate)(value) : undefined, [value]);
|
|
36
|
-
const wsrRef = (0, _react.useRef)(null);
|
|
37
36
|
(0, _react.useEffect)(() => {
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
if (ref && typeof ref !== 'function') {
|
|
38
|
+
var _ref$current;
|
|
39
|
+
(_ref$current = ref.current) == null || _ref$current.focus();
|
|
40
|
+
}
|
|
40
41
|
}, []);
|
|
41
42
|
const handleChange = (0, _react.useCallback)(({
|
|
42
43
|
date
|
|
@@ -54,7 +55,7 @@ const CellTimeInput = exports.CellTimeInput = /*#__PURE__*/(0, _react.forwardRef
|
|
|
54
55
|
}, [onChange, onCommit]);
|
|
55
56
|
return /*#__PURE__*/_react.default.createElement(_designSystem.TimeInput, {
|
|
56
57
|
dataHook: dataHook,
|
|
57
|
-
ref:
|
|
58
|
+
ref: ref,
|
|
58
59
|
size: "small",
|
|
59
60
|
border: "none",
|
|
60
61
|
step: step,
|
|
@@ -80,14 +81,14 @@ const CellTimeInput = exports.CellTimeInput = /*#__PURE__*/(0, _react.forwardRef
|
|
|
80
81
|
__self: void 0,
|
|
81
82
|
__source: {
|
|
82
83
|
fileName: _jsxFileName,
|
|
83
|
-
lineNumber:
|
|
84
|
+
lineNumber: 85,
|
|
84
85
|
columnNumber: 11
|
|
85
86
|
}
|
|
86
87
|
}) : undefined,
|
|
87
88
|
__self: void 0,
|
|
88
89
|
__source: {
|
|
89
90
|
fileName: _jsxFileName,
|
|
90
|
-
lineNumber:
|
|
91
|
+
lineNumber: 69,
|
|
91
92
|
columnNumber: 5
|
|
92
93
|
}
|
|
93
94
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_designSystem","_useTranslations","_hooks","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CellTimeInput","exports","forwardRef","value","onChange","onCommit","dataHook","placeholder","step","i18n","useTranslations","dateValue","useMemo","timeToDate","undefined","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_designSystem","_useTranslations","_hooks","_jsxFileName","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CellTimeInput","exports","forwardRef","value","onChange","onCommit","dataHook","placeholder","step","ref","i18n","useTranslations","dateValue","useMemo","timeToDate","undefined","useEffect","_ref$current","current","focus","handleChange","useCallback","date","newTime","dateToTime","handleClear","createElement","TimeInput","size","border","timeStyle","width","locale","language","autoSelect","popoverProps","appendTo","moveBy","y","suffix","CloseButton","as","skin","onClick","__self","__source","fileName","lineNumber","columnNumber","displayName"],"sources":["../../../../src/components/time-input/cell-time-input.tsx"],"sourcesContent":["import React, { forwardRef, useCallback, useEffect, useMemo } from 'react';\nimport {\n TimeInput as WSRTimeInput,\n CloseButton,\n type TimeInputImperativeActions,\n type TimeInputProps as WSRTimeInputProps,\n} from '@wix/design-system';\nimport { useTranslations } from '../../hooks/use-translations';\nimport { dateToTime, timeToDate, type Time } from './hooks';\n\nexport interface CellTimeInputProps {\n value?: Time | null;\n onChange?: (value: Time | null) => void;\n onCommit?: () => void;\n inputRef?: React.MutableRefObject<{ focus: () => void } | null | undefined>;\n dataHook?: string;\n placeholder?: string;\n step?: WSRTimeInputProps['step'];\n}\n\n/**\n * Cell-layer Time input. Wraps WDS `<TimeInput>` with cell-edit semantics:\n * - `value`/`onChange` use the `Time` string format (`hh:mm:ss.SSS`);\n * conversion to/from `Date` for the WDS boundary happens via\n * `timeToDate`/`dateToTime`.\n * - WDS `onChange` (fires on option click and on blur with a parsed custom\n * value) forwards a `Time` string to `onChange`, then schedules `onCommit`\n * on a microtask so WDS's two-phase change (synchronous blur + async\n * selection callback) collapses into a single commit.\n * - Clear button (X) suffix clears the value and commits.\n * - Locale is sourced from i18n so the dropdown's 12/24h cycle matches the\n * format rendered by `<TimeView>` in view mode.\n */\nexport const CellTimeInput = forwardRef<\n TimeInputImperativeActions,\n CellTimeInputProps\n>(({ value, onChange, onCommit, dataHook, placeholder, step = 15 }, ref) => {\n const { i18n } = useTranslations();\n\n const dateValue = useMemo(\n () => (value ? timeToDate(value) : undefined),\n [value],\n );\n\n useEffect(() => {\n if (ref && typeof ref !== 'function') {\n ref.current?.focus();\n }\n }, []);\n\n const handleChange = useCallback(\n ({ date }: { date: Date | null }) => {\n const newTime = date ? dateToTime(date) : null;\n if (newTime === value) {\n return;\n }\n onChange?.(newTime);\n onCommit?.();\n },\n [onChange, onCommit, value],\n );\n\n const handleClear = useCallback(() => {\n onChange?.(null);\n onCommit?.();\n }, [onChange, onCommit]);\n\n return (\n <WSRTimeInput\n dataHook={dataHook}\n ref={ref}\n size=\"small\"\n border=\"none\"\n step={step}\n timeStyle=\"short\"\n width=\"100%\"\n locale={i18n.language as WSRTimeInputProps['locale']}\n placeholder={placeholder ?? 'hh:mm'}\n autoSelect={false}\n value={dateValue ?? null}\n onChange={handleChange}\n popoverProps={{ appendTo: 'window', moveBy: { y: 4 } }}\n suffix={\n value ? (\n <CloseButton\n as=\"button\"\n size=\"small\"\n skin=\"standardFilled\"\n onClick={handleClear}\n dataHook=\"cell-time-input-clear\"\n />\n ) : undefined\n }\n />\n );\n});\n\nCellTimeInput.displayName = 'CellTimeInput';\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/services/translations.ts"],"sourcesContent":["// DO NOT UPDATE THIS FILE! This file was auto-generated by generate-keys.ts\nexport type TranslationsKeys =\n | 'CMS.
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/services/translations.ts"],"sourcesContent":["// DO NOT UPDATE THIS FILE! This file was auto-generated by generate-keys.ts\nexport type TranslationsKeys =\n | 'CMS.mediaGallery.dialog.modalDoneEmpty'\n | 'CMS.mediaGallery.addLink.invalidUrl'\n | 'auto-patterns.fields.field_type_email_title'\n | 'CMS.mediaGallery.dialog.settingsNewItemsTitleLabel'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h4.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h3.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p2.subtitle'\n | 'CMS.mediaGallery.addLink.currentTab'\n | 'CMS.mediaGallery.dialog.externalLinkLabel'\n | 'CMS.mediaGallery.dialog.masonryLayoutTooltip'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h3.subtitle'\n | 'CMS.document.add.button.text'\n | 'CMS.mediaGallery.dialog.sortLabel'\n | 'auto-patterns.fields.field_type_video_title'\n | 'auto-patterns.fields.field_type_object_title'\n | 'CMS.richTextEditor.toolbar.button.link.paste.url.placeholder'\n | 'patterns-fields.reference.open_collection'\n | 'CMS.audio.button.download'\n | 'CMS.mediaGallery.dialog.itemTitlePlaceholder'\n | 'auto-patterns.filters.no_value'\n | 'CMS.cellDateTime.placeholder.year'\n | 'CMS.richTextEditor.toolbar.headerDropdown.button.info'\n | 'CMS.video.change'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p3.subtitle'\n | 'CMS.mediaGallery.dialog.itemDescriptionPlaceholder'\n | 'CMS.cellDateTime.placeholder.month'\n | 'CMS.document.action.open'\n | 'CMS.mediaGallery.dialog.externalLinkTextPlaceholder'\n | 'CMS.richTextEditor.toolbar.button.tooltip.full-screen.exit'\n | 'CMS.richTextEditor.toolbar.button.link.save'\n | 'CMS.mediaControl.pasteUrl.placeholder.document'\n | 'auto-patterns.fields.no_results_found'\n | 'CMS.cellDateTime.placeholder.day'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h2.title'\n | 'CMS.document.action.replaceWithUrl'\n | 'CMS.mediaGallery.addLink.urlLabel'\n | 'CMS.richTextEditor.toolbar.button.tooltip.underline'\n | 'CMS.mediaGallery.noItems.title'\n | 'CMS.mediaGallery.noItems.addMedia'\n | 'auto-patterns.url_view.open_in_new_tab'\n | 'CMS.audio.more_actions_tooltip'\n | 'CMS.image.replaceWithUrl.button'\n | 'CMS.mediaGallery.clear'\n | 'CMS.cellDateTime.ariaLabel.date'\n | 'auto-patterns.fields.type_mismatch_convert_disabled'\n | 'CMS.mediaControl.pasteUrl.error.document'\n | 'CMS.mediaGallery.dialog.itemAltTooltip'\n | 'CMS.mediaGallery.dialog.settingsNewItemsTitleEmpty'\n | 'auto-patterns.fields.select_placeholder'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h1.title'\n | 'CMS.mediaGallery.dialog.gridLayoutTooltip'\n | 'CMS.document.delete.cancel'\n | 'CMS.mediaGallery.addGallery'\n | 'auto-patterns.fields.type_mismatch_clear'\n | 'CMS.mediaGallery.dialog.itemTitleLabel'\n | 'CMS.mediaGallery.dialog.emptySearchResultsTitle'\n | 'CMS.video.preview'\n | 'CMS.mediaGallery.dialog.settingsNewItemsDirectionLabel'\n | 'auto-patterns.fields.field_type_rich_text_title'\n | 'CMS.mediaGallery.dialog.sortByFilenameAsc'\n | 'auto-patterns.fields.no_items'\n | 'auto-patterns.fields.replace_video_tooltip'\n | 'CMS.mediaGallery.dialog.externalLinkButtonAdd'\n | 'auto-patterns.fields.field_type_time_title'\n | 'CMS.image.clear'\n | 'CMS.mediaGallery.preview'\n | 'auto-patterns.time_input.invalid_message'\n | 'CMS.richTextEditor.toolbar.button.tooltip.ol'\n | 'CMS.richTextEditor.toolbar.button.link.cancel'\n | 'CMS.mediaGallery.dialog.modalDone'\n | 'CMS.mediaGallery.addMedia'\n | 'CMS.mediaGallery.dialog.itemAltPlaceholder'\n | 'CMS.mediaGallery.dialog.settingsNewItemsTitleFilename'\n | 'auto-patterns.fields.field_type_multi_document_title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p1.title'\n | 'CMS.mediaGallery.addLink.titleVideo'\n | 'CMS.cellDateTime.placeholder.hour'\n | 'auto-patterns.time_input.placeholder'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p1.subtitle'\n | 'CMS.image.replace'\n | 'CMS.audio.button.play'\n | 'auto-patterns.fields.add_video_tooltip'\n | 'CMS.cellDateTime.placeholder.minute'\n | 'auto-patterns.filters.has_value'\n | 'CMS.richTextEditor.toolbar.button.link.paste.url.title'\n | 'CMS.audio.button.replace'\n | 'auto-patterns.fields.field_type_audio_title'\n | 'CMS.mediaControl.pasteUrl.placeholder.image'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p2.title'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h2.subtitle'\n | 'CMS.mediaGallery.addLink.cancel'\n | 'auto-patterns.email_input.placeholder'\n | 'CMS.mediaGallery.dialog.settingsTitle'\n | 'CMS.mediaGallery.addLink.newTab'\n | 'CMS.mediaGallery.dialog.searchPlaceholder'\n | 'CMS.image.add'\n | 'CMS.document.action.download'\n | 'CMS.mediaGallery.addLink.subtitleImage'\n | 'CMS.mediaGallery.dialog.settingsNewItemsDirectionStart'\n | 'CMS.richTextEditor.toolbar.button.tooltip.clear-formation'\n | 'patterns-fields.select.search_placeholder'\n | 'CMS.mediaGallery.preview.delete'\n | 'CMS.mediaGallery.dialog.selectionDelete'\n | 'CMS.mediaControl.pasteUrl.button.save'\n | 'CMS.mediaGallery.addLink.save'\n | 'CMS.mediaGallery.dialog.modalTitle'\n | 'CMS.cellDateTime.ariaLabel.time'\n | 'CMS.document.pasteUrl.button'\n | 'CMS.mediaGallery.preview.replace'\n | 'auto-patterns.fields.preview_video'\n | 'CMS.mediaGallery.addLink.targetLabel'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h6.subtitle'\n | 'auto-patterns.email_input.invalid_message'\n | 'CMS.richTextEditor.toolbar.button.tooltip.ul'\n | 'CMS.mediaGallery.addLink.subtitleVideo'\n | 'CMS.mediaGallery.dialog.externalLinkButtonEdit'\n | 'CMS.richContentCommon.publishLoader'\n | 'CMS.mediaGallery.dialog.selectionSelectAll'\n | 'CMS.mediaControl.pasteUrl.button.cancel'\n | 'CMS.mediaGallery.dialog.sortByTitleDesc'\n | 'CMS.mediaGallery.dialog.sortByFilenameDesc'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h5.subtitle'\n | 'CMS.audio.button.add'\n | 'auto-patterns.fields.download_video'\n | 'CMS.video.add'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.p3.title'\n | 'CMS.mediaGallery.manageGallery'\n | 'CMS.video.download'\n | 'CMS.mediaGallery.dialog.sortByTitleAsc'\n | 'auto-patterns.fields.field_type_array_title'\n | 'CMS.mediaGallery.dialog.itemDeleteTooltip'\n | 'CMS.mediaGallery.preview.previousItem'\n | 'CMS.mediaGallery.dialog.itemDescriptionLabel'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h4.subtitle'\n | 'CMS.mediaGallery.dialog.emptySearchResultsSubtitle'\n | 'CMS.document.pasteUrl.title'\n | 'CMS.mediaGallery.noItems.subtitle'\n | 'CMS.mediaGallery.dialog.selectionDeselectAll'\n | 'CMS.mediaGallery.replaceItem'\n | 'CMS.image.download'\n | 'CMS.richTextEditor.toolbar.header'\n | 'CMS.document.action.delete'\n | 'CMS.mediaGallery.preview.download'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h6.title'\n | 'auto-patterns.fields.email_input_error'\n | 'patterns-fields.reference.untitled'\n | 'CMS.richTextEditor.toolbar.button.tooltip.full-screen'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h1.subtitle'\n | 'CMS.audio.button.delete'\n | 'CMS.document.action.replace'\n | 'CMS.document.addMore.button.text'\n | 'CMS.richTextEditor.toolbar.headerDropdown.option.h5.title'\n | 'CMS.mediaControl.pasteUrl.error.image'\n | 'CMS.mediaGallery.emptyHint'\n | 'CMS.cellDateTime.placeholder'\n | 'CMS.mediaGallery.dialog.settingsNewItemsDirectionEnd'\n | 'CMS.image.replaceWithUrl.title'\n | 'auto-patterns.fields.field_type_address_title'\n | 'auto-patterns.fields.more_actions_tooltip'\n | 'CMS.mediaGallery.preview.nextItem'\n | 'CMS.richTextEditor.toolbar.headerDropdown.help.text'\n | 'auto-patterns.fields.field_type_rich_content_title'\n | 'CMS.richTextEditor.toolbar.button.link'\n | 'CMS.mediaGallery.addLink.titleImage'\n | 'CMS.richTextEditor.toolbar.button.tooltip.italic'\n | 'CMS.mediaGallery.dialog.itemAltLabel'\n | 'auto-patterns.fields.add_color_tooltip'\n | 'auto-patterns.fields.remove_video'\n | 'CMS.video.delete'\n | 'CMS.richTextEditor.toolbar.button.tooltip.bold'\n | 'CMS.mediaGallery.dialog.itemFocalPointTooltip'\n | 'CMS.document.delete.confirm'\n | 'CMS.richTextEditor.toolbar.button.tooltip.align'\n | 'auto-patterns.fields.field_type_address_placeholder'\n | 'CMS.document.replaceWithUrl.title'\n | 'CMS.document.delete.message'\n | 'auto-patterns.fields.type_mismatch_tip'\n | 'auto-patterns.fields.type_mismatch_convert'\n | 'CMS.mediaGallery.dialog.selectionSelected'\n | 'CMS.document.delete.title'\n | 'patterns-fields.text.char_limit_tooltip';\n\nexport type Translate = {\n (key: TranslationsKeys, params?: Record<string, string | number>): string;\n (key: 'CMS.document.delete.message', params: { filename: string }): string;\n (\n key: 'auto-patterns.fields.type_mismatch_tip',\n params: { typeName: string },\n ): string;\n (\n key: 'auto-patterns.fields.type_mismatch_convert',\n params: { typeName: string },\n ): string;\n (\n key: 'CMS.mediaGallery.dialog.selectionSelected',\n params: { items: string },\n ): string;\n (key: 'CMS.document.delete.title', params: { filename: string }): string;\n (\n key: 'patterns-fields.text.char_limit_tooltip',\n params: { maxLength: number },\n ): string;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.addressinput2380822431__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput2380822431__tableAddressInput>div{padding:0!important;width:100%}.addressinput2380822431__tableAddressInput:focus-within{margin-left:2px}.actionsmenu510403314__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield244128320__addItem{height:120px!important;box-sizing:border-box}.formaudiofield244128320__addItem:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, 8px)}.formaudiofield244128320__addItem.formaudiofield244128320--disabled{pointer-events:auto!important}.formaudiofield244128320__addItem.formaudiofield244128320--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield244128320__mediaTitle{line-height:18px!important}.audioplayer1489254281__root{width:fit-content;z-index:1000;position:fixed!important;bottom:42px;right:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.colorview4112651844__view{width:100%}.colorview4112651844__fillPreview{flex-shrink:0}.colorview4112651844__view .colorview4112651844__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog3317896481__layout{max-width:510px!important}.formdocumentfield556670286__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield556670286__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield556670286__textWidth{max-width:calc(100% - 196px)}.formdocumentfield556670286__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield556670286__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield556670286__addDocument.formdocumentfield556670286--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield556670286__addItemWrapper:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, calc(2px * 4))}.exclamation3624090198__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation3624090198__exclamation.exclamation3624090198---type-7-warning:not(.exclamation3624090198--customSize),.exclamation3624090198__exclamation.exclamation3624090198---type-5-error:not(.exclamation3624090198--customSize){width:24px;height:24px}.exclamation3624090198__exclamation.exclamation3624090198---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation3624090198__exclamation.exclamation3624090198---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation3624090198__actions{display:flex;flex-direction:column}.exclamation3624090198__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation3624090198__action+.exclamation3624090198__action{margin-top:6px}.exclamation3624090198__action.exclamation3624090198--accented{color:var(--wds-color-blue-100)}.exclamation3624090198__action.exclamation3624090198--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext1956286532__root.highlightedtext1956286532--highlightedBackground{animation:highlightedtext1956286532__highlighted 150ms ease-out 1 forwards}.highlightedtext1956286532__substring.highlightedtext1956286532--isHighlighted{animation:highlightedtext1956286532__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext1956286532__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext1956286532__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay1906651930__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay1906651930__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell2607537795__root{width:100%;height:100%}.pasteurlbutton310768866__root{margin-top:6px}.pasteurlbutton310768866__iconButtonTooltip{height:max-content}.pasteurlbutton310768866__iconButton{width:24px;height:24px}.formmediagalleryfield4220744262__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield4220744262__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield4220744262__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield4220744262__addItem{box-sizing:border-box}.formmediagalleryfield4220744262__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield4220744262__image.formmediagalleryfield4220744262--withMarginRight{margin-right:3px}.formmediagalleryfield4220744262__image.formmediagalleryfield4220744262--withMarginTop{margin-top:3px}.formmediagalleryfield4220744262__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield4220744262__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage4014780765__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage4014780765__root.mediaimage4014780765--error{--mediaimage4014780765-from:calc(50% - 0.5px);--mediaimage4014780765-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage4014780765-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage4014780765-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage4014780765-to),transparent var(--mediaimage4014780765-to))}.mediaimage4014780765__root.mediaimage4014780765--error>*{opacity:0}.overlay2083186616__iconOverlay{position:absolute;color:var(--wds-color-white, var(--wsr-color-D80, #FFFFFF));background-color:transparent;filter:drop-shadow(0 1px 1px rgba(22,45,61,.6));-webkit-filter:drop-shadow(0 1px 1px rgba(22,45,61,.6))}.overlay2083186616__iconOverlay.overlay2083186616---size-5-small{width:20px;height:20px}.overlay2083186616__iconOverlay.overlay2083186616---size-6-medium{width:24px;height:24px}.overlay2083186616__iconOverlay.overlay2083186616---size-5-large{width:28px;height:28px}.overlay2083186616__iconOverlay.overlay2083186616---placement-7-topLeft{top:2px;left:2px}.overlay2083186616__iconOverlay.overlay2083186616---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader2739525698__loader{border-radius:6px}.medialoader2739525698__loader.medialoader2739525698--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader2739525698__loader.medialoader2739525698--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag15581887__root{box-sizing:border-box;padding:3px 6px 3px 3px;border-radius:3px;max-height:24px;min-width:54px;max-width:100%;background-color:var(--wds-color-blue-400, var(--wsr-color-B40))}.formmultidocument2147054451__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument2147054451__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument2147054451__viewRoot>div:first-child .formmultidocument2147054451__singleViewWrapper{border-top-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-top-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument2147054451__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument2147054451__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument2147054451__addDocumentButton{border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument2147054451__addDocumentButton:focus-within{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.cellreferenceinput241502562__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput241502562__autocomplete{width:100%}.richcontentdefaultvalueinput2578934503__richContentEditorContainer .richcontentdefaultvalueinput2578934503__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput3193456479__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput3193456479__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput3193456479__root .richcontentforminput3193456479__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput3133936628__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput3133936628__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal2175629784__modalContent{display:flex;flex-direction:column;position:relative;height:100%;width:782px;background-color:var(--wds-color-white, var(--wsr-color-D80, #ffffff));border-radius:var(--wds-border-radius-300, var(--wsr-border-radius-06, 6px));margin-top:24px}.publishloader2355318947__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton3754763626__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton3754763626__root button{border-radius:6px!important}.richcontenteditor3626643904__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor3626643904__root,.richcontenteditor3626643904__toolbarContainer,.richcontenteditor3626643904__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor3626643904__toolbarContainer div{box-sizing:border-box}.richcontenteditor3626643904__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor3626643904__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor3626643904__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor3626643904__modalEditor .richcontenteditor3626643904__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor3626643904__modalEditor .richcontenteditor3626643904__footerToolbarContainer{margin-top:9px}.richcontenteditor3626643904__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor3626643904__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar529659145__toolbar{border-top:1px solid rgba(51,51,51,.1);z-index:2;margin-right:auto;padding-left:6px;margin-left:auto;position:relative;height:40px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box}.richcontenttoolbar529659145__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar529659145__toolbarButton:disabled{color:graytext}.richcontenttoolbar529659145__toolbar label{padding:0 8px}.richcontentviewer2814214141__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer2814214141__root.richcontentviewer2814214141--isFullScreen{padding:12px 24px}.richcontentviewer2814214141__root:not(.richcontentviewer2814214141--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer2814214141__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer2814214141__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer2814214141__modalViewer{min-width:592px;overflow:auto}.richtexteditor1535855835__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor1535855835__root.richtexteditor1535855835---border-4-none{border:0}.richtexteditor1535855835__root.richtexteditor1535855835---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor1535855835__root.richtexteditor1535855835---border-8-standard:focus,.richtexteditor1535855835__root.richtexteditor1535855835---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor1535855835__root.richtexteditor1535855835---border-8-standard.richtexteditor1535855835---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor1535855835__root.richtexteditor1535855835---border-8-standard.richtexteditor1535855835---status-5-error:focus,.richtexteditor1535855835__root.richtexteditor1535855835---border-8-standard.richtexteditor1535855835---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor1535855835__root.richtexteditor1535855835---border-8-standard.richtexteditor1535855835---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor1535855835__root.richtexteditor1535855835---border-8-standard.richtexteditor1535855835---status-7-warning:focus,.richtexteditor1535855835__root.richtexteditor1535855835---border-8-standard.richtexteditor1535855835---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor1535855835__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor1535855835__editor{height:auto;line-height:auto;display:flex;width:100%;height:100%;min-height:234px;overflow:hidden;box-sizing:border-box;flex-direction:row;border-radius:var(--wds-border-radius-300)}.richtexteditor1535855835__editor.richtexteditor1535855835--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor1535855835__editor:not(.richtexteditor1535855835--isFullScreen){max-height:80vh}.richtexteditor1535855835__editor>div{flex:1;max-width:100%}.toolbar3016546826__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-color-white, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar3016546826__item{display:flex;margin-right:12px}.toolbar3016546826__item svg,.toolbar3016546826__item svg path,.toolbar3016546826__item svg text{color:inherit;fill:currentColor}.toolbar3016546826__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar3016546826__clearFormatting{margin-left:auto}.toolbar3016546826__fullScreen{margin-right:0}.toolbar3016546826__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar3016546826__dropdownItemContent.toolbar3016546826--selected .toolbar3016546826__dropdownItemTitle,.toolbar3016546826__dropdownItemContent.toolbar3016546826--selected .toolbar3016546826__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar3016546826__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar3016546826__dropdownHeaderOne{font-weight:var(--wds-font-weight-bold)!important;font-size:36px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))!important}.toolbar3016546826__dropdownHeaderTwo{font-weight:var(--wds-font-weight-bold)!important;font-size:32px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3016546826__dropdownHeaderThree{font-weight:var(--wds-font-weight-medium)!important;font-size:28px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3016546826__dropdownHeaderFour{font-weight:var(--wds-font-weight-bold)!important;font-size:24px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3016546826__dropdownHeaderFive{font-weight:var(--wds-font-weight-bold)!important;font-size:22px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3016546826__dropdownHeaderSix{font-weight:var(--wds-font-weight-medium)!important;font-size:20px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3016546826__dropdownParagraphOne{font-weight:var(--wds-font-weight-medium)!important;font-size:18px!important;line-height:1.33!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3016546826__dropdownNormalText{font-weight:var(--wds-font-weight-medium)!important;font-size:var(--wds-font-size-500)!important;line-height:var(--wds-font-line-height-300)!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3016546826__dropdownParagraphThree{font-weight:var(--wds-font-weight-medium)!important;font-size:14px!important;line-height:1.29!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.textview527401868__textView::after{content:"";display:block}.richeditor3914539567__root{display:flex;flex-direction:column;font-weight:var(--wds-font-weight-medium, 500);font-size:var(--wds-font-size-500);line-height:var(--wds-font-line-height-300);font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))}.richeditor3914539567__editor{box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;flex:1;cursor:text;color:var(--wds-color-black-100, var(--wsr-color-D10, #131720));background:var(--wds-color-black-700, var(--wsr-color-D70, #edeef2))}.richeditor3914539567__editor .DraftEditor-root{width:100%;height:100%}.richeditor3914539567__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor3914539567__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor3914539567__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor3914539567__editor .public-DraftEditor-content ol,.richeditor3914539567__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor3914539567__editor .public-DraftEditor-content a,.richeditor3914539567__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor3914539567__header-one:not(li),.richeditor3914539567__header-two:not(li),.richeditor3914539567__header-three:not(li),.richeditor3914539567__header-four:not(li),.richeditor3914539567__header-five:not(li),.richeditor3914539567__header-six:not(li){margin-block:0;margin:0}.richeditor3914539567__header-one,.richeditor3914539567__editor li.richeditor3914539567__header-one .public-DraftStyleDefault-block{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__header-two,.richeditor3914539567__editor li.richeditor3914539567__header-two .public-DraftStyleDefault-block{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__header-three,.richeditor3914539567__editor li.richeditor3914539567__header-three .public-DraftStyleDefault-block{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__header-four,.richeditor3914539567__editor li.richeditor3914539567__header-four .public-DraftStyleDefault-block{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__header-five,.richeditor3914539567__editor li.richeditor3914539567__header-five .public-DraftStyleDefault-block{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__header-six,.richeditor3914539567__editor li.richeditor3914539567__header-six .public-DraftStyleDefault-block{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__paragraph-one,.richeditor3914539567__editor li.richeditor3914539567__paragraph-one .public-DraftStyleDefault-block{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__unstyled,.richeditor3914539567__editor li.richeditor3914539567__unstyled .public-DraftStyleDefault-block{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__paragraph-three,.richeditor3914539567__editor li.richeditor3914539567__paragraph-three .public-DraftStyleDefault-block{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__editor li.richeditor3914539567__header-one:first-child~li{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__editor li.richeditor3914539567__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor3914539567__editor li.richeditor3914539567__header-two:first-child~li{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__editor li.richeditor3914539567__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor3914539567__editor li.richeditor3914539567__header-three:first-child~li{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__editor li.richeditor3914539567__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor3914539567__editor li.richeditor3914539567__header-four:first-child~li{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__editor li.richeditor3914539567__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor3914539567__editor li.richeditor3914539567__header-five:first-child~li{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__editor li.richeditor3914539567__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor3914539567__editor li.richeditor3914539567__header-six:first-child~li{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__editor li.richeditor3914539567__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor3914539567__editor li.richeditor3914539567__paragraph-one:first-child~li{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__editor li.richeditor3914539567__unstyled:first-child~li{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3914539567__editor li.richeditor3914539567__paragraph-three:first-child~li{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth0:first-child{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+10){margin-inline-start:3ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+100){margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+1000){margin-inline-start:5ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth1:first-child{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+10){margin-inline-start:5ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+100){margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+1000){margin-inline-start:7ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth2:first-child{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+10){margin-inline-start:7ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+100){margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+1000){margin-inline-start:9ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth3:first-child{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+10){margin-inline-start:9ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+100){margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+1000){margin-inline-start:11ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth4:first-child{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+10){margin-inline-start:11ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+100){margin-inline-start:12ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+1000){margin-inline-start:13ch}.richeditor3914539567__align-left{text-align:left;align-self:flex-start}.richeditor3914539567__align-right{text-align:right;align-self:flex-end}.richeditor3914539567__align-center{text-align:center;align-self:center}.richeditor3914539567__align-justify{text-align:justify;align-self:stretch}.richeditor3914539567__withMargin{display:inline-block}.richeditor3914539567__dir-rtl,.richeditor3914539567__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor3914539567__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
1
|
+
.addressinput4016198681__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput4016198681__tableAddressInput>div{padding:0!important;width:100%}.addressinput4016198681__tableAddressInput:focus-within{margin-left:2px}.actionsmenu80615012__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield56911128__addItem{height:120px!important;box-sizing:border-box}.formaudiofield56911128__addItem:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, 8px)}.formaudiofield56911128__addItem.formaudiofield56911128--disabled{pointer-events:auto!important}.formaudiofield56911128__addItem.formaudiofield56911128--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield56911128__mediaTitle{line-height:18px!important}.audioplayer1282513900__root{width:fit-content;z-index:1000;position:fixed!important;bottom:42px;right:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.colorview2799601068__view{width:100%}.colorview2799601068__fillPreview{flex-shrink:0}.colorview2799601068__view .colorview2799601068__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog1666449724__layout{max-width:510px!important}.formdocumentfield3954791883__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield3954791883__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield3954791883__textWidth{max-width:calc(100% - 196px)}.formdocumentfield3954791883__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield3954791883__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield3954791883__addDocument.formdocumentfield3954791883--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield3954791883__addItemWrapper:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, calc(2px * 4))}.exclamation759924886__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation759924886__exclamation.exclamation759924886---type-7-warning:not(.exclamation759924886--customSize),.exclamation759924886__exclamation.exclamation759924886---type-5-error:not(.exclamation759924886--customSize){width:24px;height:24px}.exclamation759924886__exclamation.exclamation759924886---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation759924886__exclamation.exclamation759924886---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation759924886__actions{display:flex;flex-direction:column}.exclamation759924886__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation759924886__action+.exclamation759924886__action{margin-top:6px}.exclamation759924886__action.exclamation759924886--accented{color:var(--wds-color-blue-100)}.exclamation759924886__action.exclamation759924886--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext4235751675__root.highlightedtext4235751675--highlightedBackground{animation:highlightedtext4235751675__highlighted 150ms ease-out 1 forwards}.highlightedtext4235751675__substring.highlightedtext4235751675--isHighlighted{animation:highlightedtext4235751675__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext4235751675__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext4235751675__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay1224436687__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay1224436687__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell3700849137__root{width:100%;height:100%}.pasteurlbutton3831057513__root{margin-top:6px}.pasteurlbutton3831057513__iconButtonTooltip{height:max-content}.pasteurlbutton3831057513__iconButton{width:24px;height:24px}.formmediagalleryfield299044212__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield299044212__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield299044212__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield299044212__addItem{box-sizing:border-box}.formmediagalleryfield299044212__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield299044212__image.formmediagalleryfield299044212--withMarginRight{margin-right:3px}.formmediagalleryfield299044212__image.formmediagalleryfield299044212--withMarginTop{margin-top:3px}.formmediagalleryfield299044212__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield299044212__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage3603088629__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage3603088629__root.mediaimage3603088629--error{--mediaimage3603088629-from:calc(50% - 0.5px);--mediaimage3603088629-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage3603088629-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3603088629-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3603088629-to),transparent var(--mediaimage3603088629-to))}.mediaimage3603088629__root.mediaimage3603088629--error>*{opacity:0}.overlay3561604361__iconOverlay{position:absolute;color:var(--wds-color-white, var(--wsr-color-D80, #FFFFFF));background-color:transparent;filter:drop-shadow(0 1px 1px rgba(22,45,61,.6));-webkit-filter:drop-shadow(0 1px 1px rgba(22,45,61,.6))}.overlay3561604361__iconOverlay.overlay3561604361---size-5-small{width:20px;height:20px}.overlay3561604361__iconOverlay.overlay3561604361---size-6-medium{width:24px;height:24px}.overlay3561604361__iconOverlay.overlay3561604361---size-5-large{width:28px;height:28px}.overlay3561604361__iconOverlay.overlay3561604361---placement-7-topLeft{top:2px;left:2px}.overlay3561604361__iconOverlay.overlay3561604361---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader3999422864__loader{border-radius:6px}.medialoader3999422864__loader.medialoader3999422864--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader3999422864__loader.medialoader3999422864--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag1940239050__root{box-sizing:border-box;padding:3px 6px 3px 3px;border-radius:3px;max-height:24px;min-width:54px;max-width:100%;background-color:var(--wds-color-blue-400, var(--wsr-color-B40))}.formmultidocument1520711159__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument1520711159__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument1520711159__viewRoot>div:first-child .formmultidocument1520711159__singleViewWrapper{border-top-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-top-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument1520711159__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument1520711159__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument1520711159__addDocumentButton{border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument1520711159__addDocumentButton:focus-within{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.cellreferenceinput2943287064__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput2943287064__autocomplete{width:100%}.richcontentdefaultvalueinput1516859509__richContentEditorContainer .richcontentdefaultvalueinput1516859509__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput1051770621__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput1051770621__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput1051770621__root .richcontentforminput1051770621__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput2154684961__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput2154684961__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal858536236__modalContent{display:flex;flex-direction:column;position:relative;height:100%;width:782px;background-color:var(--wds-color-white, var(--wsr-color-D80, #ffffff));border-radius:var(--wds-border-radius-300, var(--wsr-border-radius-06, 6px));margin-top:24px}.publishloader3184907926__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton3244257476__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton3244257476__root button{border-radius:6px!important}.richcontenteditor2251144620__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor2251144620__root,.richcontenteditor2251144620__toolbarContainer,.richcontenteditor2251144620__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor2251144620__toolbarContainer div{box-sizing:border-box}.richcontenteditor2251144620__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor2251144620__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor2251144620__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor2251144620__modalEditor .richcontenteditor2251144620__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor2251144620__modalEditor .richcontenteditor2251144620__footerToolbarContainer{margin-top:9px}.richcontenteditor2251144620__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor2251144620__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar607396278__toolbar{border-top:1px solid rgba(51,51,51,.1);z-index:2;margin-right:auto;padding-left:6px;margin-left:auto;position:relative;height:40px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box}.richcontenttoolbar607396278__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar607396278__toolbarButton:disabled{color:graytext}.richcontenttoolbar607396278__toolbar label{padding:0 8px}.richcontentviewer2620593037__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer2620593037__root.richcontentviewer2620593037--isFullScreen{padding:12px 24px}.richcontentviewer2620593037__root:not(.richcontentviewer2620593037--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer2620593037__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer2620593037__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer2620593037__modalViewer{min-width:592px;overflow:auto}.richtexteditor3749528156__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor3749528156__root.richtexteditor3749528156---border-4-none{border:0}.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard:focus,.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard.richtexteditor3749528156---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard.richtexteditor3749528156---status-5-error:focus,.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard.richtexteditor3749528156---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard.richtexteditor3749528156---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard.richtexteditor3749528156---status-7-warning:focus,.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard.richtexteditor3749528156---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor3749528156__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor3749528156__editor{height:auto;line-height:auto;display:flex;width:100%;height:100%;min-height:234px;overflow:hidden;box-sizing:border-box;flex-direction:row;border-radius:var(--wds-border-radius-300)}.richtexteditor3749528156__editor.richtexteditor3749528156--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor3749528156__editor:not(.richtexteditor3749528156--isFullScreen){max-height:80vh}.richtexteditor3749528156__editor>div{flex:1;max-width:100%}.toolbar3159298695__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-color-white, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar3159298695__item{display:flex;margin-right:12px}.toolbar3159298695__item svg,.toolbar3159298695__item svg path,.toolbar3159298695__item svg text{color:inherit;fill:currentColor}.toolbar3159298695__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar3159298695__clearFormatting{margin-left:auto}.toolbar3159298695__fullScreen{margin-right:0}.toolbar3159298695__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar3159298695__dropdownItemContent.toolbar3159298695--selected .toolbar3159298695__dropdownItemTitle,.toolbar3159298695__dropdownItemContent.toolbar3159298695--selected .toolbar3159298695__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar3159298695__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar3159298695__dropdownHeaderOne{font-weight:var(--wds-font-weight-bold)!important;font-size:36px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))!important}.toolbar3159298695__dropdownHeaderTwo{font-weight:var(--wds-font-weight-bold)!important;font-size:32px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownHeaderThree{font-weight:var(--wds-font-weight-medium)!important;font-size:28px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownHeaderFour{font-weight:var(--wds-font-weight-bold)!important;font-size:24px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownHeaderFive{font-weight:var(--wds-font-weight-bold)!important;font-size:22px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownHeaderSix{font-weight:var(--wds-font-weight-medium)!important;font-size:20px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownParagraphOne{font-weight:var(--wds-font-weight-medium)!important;font-size:18px!important;line-height:1.33!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownNormalText{font-weight:var(--wds-font-weight-medium)!important;font-size:var(--wds-font-size-500)!important;line-height:var(--wds-font-line-height-300)!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownParagraphThree{font-weight:var(--wds-font-weight-medium)!important;font-size:14px!important;line-height:1.29!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.textview958310663__textView::after{content:"";display:block}.richeditor144133490__root{display:flex;flex-direction:column;font-weight:var(--wds-font-weight-medium, 500);font-size:var(--wds-font-size-500);line-height:var(--wds-font-line-height-300);font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))}.richeditor144133490__editor{box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;flex:1;cursor:text;color:var(--wds-color-black-100, var(--wsr-color-D10, #131720));background:var(--wds-color-black-700, var(--wsr-color-D70, #edeef2))}.richeditor144133490__editor .DraftEditor-root{width:100%;height:100%}.richeditor144133490__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor144133490__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor144133490__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor144133490__editor .public-DraftEditor-content ol,.richeditor144133490__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor144133490__editor .public-DraftEditor-content a,.richeditor144133490__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor144133490__header-one:not(li),.richeditor144133490__header-two:not(li),.richeditor144133490__header-three:not(li),.richeditor144133490__header-four:not(li),.richeditor144133490__header-five:not(li),.richeditor144133490__header-six:not(li){margin-block:0;margin:0}.richeditor144133490__header-one,.richeditor144133490__editor li.richeditor144133490__header-one .public-DraftStyleDefault-block{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__header-two,.richeditor144133490__editor li.richeditor144133490__header-two .public-DraftStyleDefault-block{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__header-three,.richeditor144133490__editor li.richeditor144133490__header-three .public-DraftStyleDefault-block{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__header-four,.richeditor144133490__editor li.richeditor144133490__header-four .public-DraftStyleDefault-block{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__header-five,.richeditor144133490__editor li.richeditor144133490__header-five .public-DraftStyleDefault-block{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__header-six,.richeditor144133490__editor li.richeditor144133490__header-six .public-DraftStyleDefault-block{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__paragraph-one,.richeditor144133490__editor li.richeditor144133490__paragraph-one .public-DraftStyleDefault-block{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__unstyled,.richeditor144133490__editor li.richeditor144133490__unstyled .public-DraftStyleDefault-block{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__paragraph-three,.richeditor144133490__editor li.richeditor144133490__paragraph-three .public-DraftStyleDefault-block{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-one:first-child~li{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor144133490__editor li.richeditor144133490__header-two:first-child~li{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor144133490__editor li.richeditor144133490__header-three:first-child~li{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor144133490__editor li.richeditor144133490__header-four:first-child~li{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor144133490__editor li.richeditor144133490__header-five:first-child~li{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor144133490__editor li.richeditor144133490__header-six:first-child~li{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor144133490__editor li.richeditor144133490__paragraph-one:first-child~li{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__unstyled:first-child~li{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__paragraph-three:first-child~li{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth0:first-child{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+10){margin-inline-start:3ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+100){margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+1000){margin-inline-start:5ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth1:first-child{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+10){margin-inline-start:5ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+100){margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+1000){margin-inline-start:7ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth2:first-child{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+10){margin-inline-start:7ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+100){margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+1000){margin-inline-start:9ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth3:first-child{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+10){margin-inline-start:9ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+100){margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+1000){margin-inline-start:11ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth4:first-child{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+10){margin-inline-start:11ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+100){margin-inline-start:12ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+1000){margin-inline-start:13ch}.richeditor144133490__align-left{text-align:left;align-self:flex-start}.richeditor144133490__align-right{text-align:right;align-self:flex-end}.richeditor144133490__align-center{text-align:center;align-self:center}.richeditor144133490__align-justify{text-align:justify;align-self:stretch}.richeditor144133490__withMargin{display:inline-block}.richeditor144133490__dir-rtl,.richeditor144133490__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor144133490__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
@@ -125,7 +125,22 @@ const getMediaTitle = uri => {
|
|
|
125
125
|
};
|
|
126
126
|
exports.getMediaTitle = getMediaTitle;
|
|
127
127
|
const executeDownloading = url => {
|
|
128
|
-
|
|
128
|
+
if (typeof document === 'undefined') {
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
// Hidden-iframe trick: the browser follows the URL inside the iframe; if the
|
|
132
|
+
// CDN sends `Content-Disposition: attachment` the browser triggers a download,
|
|
133
|
+
// otherwise the response loads silently into the offscreen iframe. Avoids
|
|
134
|
+
// both the new-tab flash of `window.open` and the `beforeunload` prompt that
|
|
135
|
+
// a top-level anchor navigation triggers when the page has a dirty form.
|
|
136
|
+
const iframe = document.createElement('iframe');
|
|
137
|
+
iframe.style.display = 'none';
|
|
138
|
+
iframe.src = url;
|
|
139
|
+
document.body.appendChild(iframe);
|
|
140
|
+
setTimeout(() => {
|
|
141
|
+
var _iframe$parentNode;
|
|
142
|
+
return (_iframe$parentNode = iframe.parentNode) == null ? void 0 : _iframe$parentNode.removeChild(iframe);
|
|
143
|
+
}, 60_000);
|
|
129
144
|
};
|
|
130
145
|
|
|
131
146
|
// Media types enum for media manager
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["WIX_DOCUMENT_URI_REGEX","WIX_IMAGE_URI_REGEX","WIX_VIDEO_URI_REGEX","WIX_AUDIO_URI_REGEX","WIX_VECTOR_URI_REGEX","isDecodable","uri","decodeURI","isValidUrl","str","URL","isWixDocumentURI","test","exports","isWixImageURI","isWixVideoURI","isWixAudioURI","isWixVectorURI","extractFilename","regex","match","decodeURIComponent","getMediaTitle","url","pathname","filename","split","pop","executeDownloading","
|
|
1
|
+
{"version":3,"names":["WIX_DOCUMENT_URI_REGEX","WIX_IMAGE_URI_REGEX","WIX_VIDEO_URI_REGEX","WIX_AUDIO_URI_REGEX","WIX_VECTOR_URI_REGEX","isDecodable","uri","decodeURI","isValidUrl","str","URL","isWixDocumentURI","test","exports","isWixImageURI","isWixVideoURI","isWixAudioURI","isWixVectorURI","extractFilename","regex","match","decodeURIComponent","getMediaTitle","url","pathname","filename","split","pop","executeDownloading","document","iframe","createElement","style","display","src","body","appendChild","setTimeout","_iframe$parentNode","parentNode","removeChild","MEDIA_TYPES","isDataValidOrNotSet","data","type","undefined"],"sources":["../../../src/utils/media-utils.ts"],"sourcesContent":["/**\n * Local media utilities - pure string parsing, no external dependencies.\n * Pure string-based parsing without external dependencies.\n */\n\n// URI format: wix:{type}://v1/{mediaId}/{filename}[#params]\nconst WIX_DOCUMENT_URI_REGEX = /^wix:document:\\/\\/v1\\/(.+)\\/([^/]+)$/;\nconst WIX_IMAGE_URI_REGEX = /^wix:image:\\/\\/v1\\/([^/]+)\\/([^/#]+)/;\nconst WIX_VIDEO_URI_REGEX = /^wix:video:\\/\\/v1\\/([^/]+)\\/([^/#]+)/;\nconst WIX_AUDIO_URI_REGEX = /^wix:audio:\\/\\/v1\\/([^/]+)\\/([^/#]+)/;\nconst WIX_VECTOR_URI_REGEX = /^wix:vector:\\/\\/v1\\/([^/]+)\\/([^/#]+)/;\n\n/**\n * Helper to check if URI is decodable\n */\nconst isDecodable = (uri: string): boolean => {\n try {\n decodeURI(uri);\n return true;\n } catch {\n return false;\n }\n};\n\nconst isValidUrl = (str: string): boolean => {\n try {\n new URL(str);\n return true;\n } catch {\n return false;\n }\n};\n\n// Type checkers for different media URIs\nexport const isWixDocumentURI = (uri: string): boolean => {\n if (!uri || typeof uri !== 'string') {\n return false;\n }\n return isDecodable(uri) && WIX_DOCUMENT_URI_REGEX.test(uri);\n};\n\nexport const isWixImageURI = (uri: string): boolean => {\n if (!uri || typeof uri !== 'string') {\n return false;\n }\n return isDecodable(uri) && WIX_IMAGE_URI_REGEX.test(uri);\n};\n\nexport const isWixVideoURI = (uri: string): boolean => {\n if (!uri || typeof uri !== 'string') {\n return false;\n }\n return isDecodable(uri) && WIX_VIDEO_URI_REGEX.test(uri);\n};\n\nexport const isWixAudioURI = (uri: string): boolean => {\n if (!uri || typeof uri !== 'string') {\n return false;\n }\n return isDecodable(uri) && WIX_AUDIO_URI_REGEX.test(uri);\n};\n\nexport const isWixVectorURI = (uri: string): boolean => {\n if (!uri || typeof uri !== 'string') {\n return false;\n }\n return isDecodable(uri) && WIX_VECTOR_URI_REGEX.test(uri);\n};\n\n/**\n * Extract filename from a URI using the appropriate regex\n */\nconst extractFilename = (uri: string, regex: RegExp): string | null => {\n const match = uri.match(regex);\n if (!match || !match[2]) {\n return null;\n }\n try {\n return decodeURIComponent(match[2]);\n } catch {\n return match[2];\n }\n};\n\n/**\n * Get the title/filename from any Wix media URI\n * Supports: document, image, video, audio, vector\n */\nexport const getMediaTitle = (uri: string): string => {\n if (!uri || typeof uri !== 'string') {\n return uri || '';\n }\n\n if (isWixImageURI(uri)) {\n return extractFilename(uri, WIX_IMAGE_URI_REGEX) || uri;\n }\n\n if (isWixVideoURI(uri)) {\n return extractFilename(uri, WIX_VIDEO_URI_REGEX) || uri;\n }\n\n if (isWixAudioURI(uri)) {\n return extractFilename(uri, WIX_AUDIO_URI_REGEX) || uri;\n }\n\n if (isWixVectorURI(uri)) {\n return extractFilename(uri, WIX_VECTOR_URI_REGEX) || uri;\n }\n\n if (isWixDocumentURI(uri)) {\n return extractFilename(uri, WIX_DOCUMENT_URI_REGEX) || uri;\n }\n\n // Fallback: return the URI as-is or try to extract filename from URL path\n if (isValidUrl(uri)) {\n try {\n const url = new URL(uri);\n const pathname = url.pathname;\n const filename = pathname.split('/').pop();\n return filename ? decodeURIComponent(filename) : uri;\n } catch {\n return uri;\n }\n }\n\n return uri;\n};\n\nexport const executeDownloading = (url: string) => {\n if (typeof document === 'undefined') {\n return;\n }\n // Hidden-iframe trick: the browser follows the URL inside the iframe; if the\n // CDN sends `Content-Disposition: attachment` the browser triggers a download,\n // otherwise the response loads silently into the offscreen iframe. Avoids\n // both the new-tab flash of `window.open` and the `beforeunload` prompt that\n // a top-level anchor navigation triggers when the page has a dirty form.\n const iframe = document.createElement('iframe');\n iframe.style.display = 'none';\n iframe.src = url;\n document.body.appendChild(iframe);\n setTimeout(() => iframe.parentNode?.removeChild(iframe), 60_000);\n};\n\n// Media types enum for media manager\nexport enum MEDIA_TYPES {\n ALL_MEDIA = 'ALL_MEDIA',\n VIDEO = 'VIDEO_BOX',\n IMAGE = 'AUTO_CMS_IMAGE',\n AUDIO = 'MUSIC',\n GALLERY = 'PRO_GALLERY',\n}\n\n/**\n * Simple validation for document/image URLs\n */\nexport const isDataValidOrNotSet = (\n data: string | undefined,\n type: 'document' | 'image',\n): boolean => {\n if (data === undefined || data === null || data === '') {\n return true; // Not set = valid\n }\n\n if (type === 'document') {\n return isWixDocumentURI(data) || isValidUrl(data);\n }\n\n // For image type, check if it's a Wix image URI or valid URL\n if (type === 'image') {\n return isWixImageURI(data) || isValidUrl(data);\n }\n\n return isValidUrl(data);\n};\n"],"mappings":";;;;AAAA;AACA;AACA;AACA;;AAEA;AACA,MAAMA,sBAAsB,GAAG,sCAAsC;AACrE,MAAMC,mBAAmB,GAAG,sCAAsC;AAClE,MAAMC,mBAAmB,GAAG,sCAAsC;AAClE,MAAMC,mBAAmB,GAAG,sCAAsC;AAClE,MAAMC,oBAAoB,GAAG,uCAAuC;;AAEpE;AACA;AACA;AACA,MAAMC,WAAW,GAAIC,GAAW,IAAc;EAC5C,IAAI;IACFC,SAAS,CAACD,GAAG,CAAC;IACd,OAAO,IAAI;EACb,CAAC,CAAC,MAAM;IACN,OAAO,KAAK;EACd;AACF,CAAC;AAED,MAAME,UAAU,GAAIC,GAAW,IAAc;EAC3C,IAAI;IACF,IAAIC,GAAG,CAACD,GAAG,CAAC;IACZ,OAAO,IAAI;EACb,CAAC,CAAC,MAAM;IACN,OAAO,KAAK;EACd;AACF,CAAC;;AAED;AACO,MAAME,gBAAgB,GAAIL,GAAW,IAAc;EACxD,IAAI,CAACA,GAAG,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;IACnC,OAAO,KAAK;EACd;EACA,OAAOD,WAAW,CAACC,GAAG,CAAC,IAAIN,sBAAsB,CAACY,IAAI,CAACN,GAAG,CAAC;AAC7D,CAAC;AAACO,OAAA,CAAAF,gBAAA,GAAAA,gBAAA;AAEK,MAAMG,aAAa,GAAIR,GAAW,IAAc;EACrD,IAAI,CAACA,GAAG,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;IACnC,OAAO,KAAK;EACd;EACA,OAAOD,WAAW,CAACC,GAAG,CAAC,IAAIL,mBAAmB,CAACW,IAAI,CAACN,GAAG,CAAC;AAC1D,CAAC;AAACO,OAAA,CAAAC,aAAA,GAAAA,aAAA;AAEK,MAAMC,aAAa,GAAIT,GAAW,IAAc;EACrD,IAAI,CAACA,GAAG,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;IACnC,OAAO,KAAK;EACd;EACA,OAAOD,WAAW,CAACC,GAAG,CAAC,IAAIJ,mBAAmB,CAACU,IAAI,CAACN,GAAG,CAAC;AAC1D,CAAC;AAACO,OAAA,CAAAE,aAAA,GAAAA,aAAA;AAEK,MAAMC,aAAa,GAAIV,GAAW,IAAc;EACrD,IAAI,CAACA,GAAG,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;IACnC,OAAO,KAAK;EACd;EACA,OAAOD,WAAW,CAACC,GAAG,CAAC,IAAIH,mBAAmB,CAACS,IAAI,CAACN,GAAG,CAAC;AAC1D,CAAC;AAACO,OAAA,CAAAG,aAAA,GAAAA,aAAA;AAEK,MAAMC,cAAc,GAAIX,GAAW,IAAc;EACtD,IAAI,CAACA,GAAG,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;IACnC,OAAO,KAAK;EACd;EACA,OAAOD,WAAW,CAACC,GAAG,CAAC,IAAIF,oBAAoB,CAACQ,IAAI,CAACN,GAAG,CAAC;AAC3D,CAAC;;AAED;AACA;AACA;AAFAO,OAAA,CAAAI,cAAA,GAAAA,cAAA;AAGA,MAAMC,eAAe,GAAGA,CAACZ,GAAW,EAAEa,KAAa,KAAoB;EACrE,MAAMC,KAAK,GAAGd,GAAG,CAACc,KAAK,CAACD,KAAK,CAAC;EAC9B,IAAI,CAACC,KAAK,IAAI,CAACA,KAAK,CAAC,CAAC,CAAC,EAAE;IACvB,OAAO,IAAI;EACb;EACA,IAAI;IACF,OAAOC,kBAAkB,CAACD,KAAK,CAAC,CAAC,CAAC,CAAC;EACrC,CAAC,CAAC,MAAM;IACN,OAAOA,KAAK,CAAC,CAAC,CAAC;EACjB;AACF,CAAC;;AAED;AACA;AACA;AACA;AACO,MAAME,aAAa,GAAIhB,GAAW,IAAa;EACpD,IAAI,CAACA,GAAG,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;IACnC,OAAOA,GAAG,IAAI,EAAE;EAClB;EAEA,IAAIQ,aAAa,CAACR,GAAG,CAAC,EAAE;IACtB,OAAOY,eAAe,CAACZ,GAAG,EAAEL,mBAAmB,CAAC,IAAIK,GAAG;EACzD;EAEA,IAAIS,aAAa,CAACT,GAAG,CAAC,EAAE;IACtB,OAAOY,eAAe,CAACZ,GAAG,EAAEJ,mBAAmB,CAAC,IAAII,GAAG;EACzD;EAEA,IAAIU,aAAa,CAACV,GAAG,CAAC,EAAE;IACtB,OAAOY,eAAe,CAACZ,GAAG,EAAEH,mBAAmB,CAAC,IAAIG,GAAG;EACzD;EAEA,IAAIW,cAAc,CAACX,GAAG,CAAC,EAAE;IACvB,OAAOY,eAAe,CAACZ,GAAG,EAAEF,oBAAoB,CAAC,IAAIE,GAAG;EAC1D;EAEA,IAAIK,gBAAgB,CAACL,GAAG,CAAC,EAAE;IACzB,OAAOY,eAAe,CAACZ,GAAG,EAAEN,sBAAsB,CAAC,IAAIM,GAAG;EAC5D;;EAEA;EACA,IAAIE,UAAU,CAACF,GAAG,CAAC,EAAE;IACnB,IAAI;MACF,MAAMiB,GAAG,GAAG,IAAIb,GAAG,CAACJ,GAAG,CAAC;MACxB,MAAMkB,QAAQ,GAAGD,GAAG,CAACC,QAAQ;MAC7B,MAAMC,QAAQ,GAAGD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC;MAC1C,OAAOF,QAAQ,GAAGJ,kBAAkB,CAACI,QAAQ,CAAC,GAAGnB,GAAG;IACtD,CAAC,CAAC,MAAM;MACN,OAAOA,GAAG;IACZ;EACF;EAEA,OAAOA,GAAG;AACZ,CAAC;AAACO,OAAA,CAAAS,aAAA,GAAAA,aAAA;AAEK,MAAMM,kBAAkB,GAAIL,GAAW,IAAK;EACjD,IAAI,OAAOM,QAAQ,KAAK,WAAW,EAAE;IACnC;EACF;EACA;EACA;EACA;EACA;EACA;EACA,MAAMC,MAAM,GAAGD,QAAQ,CAACE,aAAa,CAAC,QAAQ,CAAC;EAC/CD,MAAM,CAACE,KAAK,CAACC,OAAO,GAAG,MAAM;EAC7BH,MAAM,CAACI,GAAG,GAAGX,GAAG;EAChBM,QAAQ,CAACM,IAAI,CAACC,WAAW,CAACN,MAAM,CAAC;EACjCO,UAAU,CAAC;IAAA,IAAAC,kBAAA;IAAA,QAAAA,kBAAA,GAAMR,MAAM,CAACS,UAAU,qBAAjBD,kBAAA,CAAmBE,WAAW,CAACV,MAAM,CAAC;EAAA,GAAE,MAAM,CAAC;AAClE,CAAC;;AAED;AAAAjB,OAAA,CAAAe,kBAAA,GAAAA,kBAAA;AAAA,IACYa,WAAW,GAAA5B,OAAA,CAAA4B,WAAA,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA;AAQvB;AACA;AACA;AACO,MAAMC,mBAAmB,GAAGA,CACjCC,IAAwB,EACxBC,IAA0B,KACd;EACZ,IAAID,IAAI,KAAKE,SAAS,IAAIF,IAAI,KAAK,IAAI,IAAIA,IAAI,KAAK,EAAE,EAAE;IACtD,OAAO,IAAI,CAAC,CAAC;EACf;EAEA,IAAIC,IAAI,KAAK,UAAU,EAAE;IACvB,OAAOjC,gBAAgB,CAACgC,IAAI,CAAC,IAAInC,UAAU,CAACmC,IAAI,CAAC;EACnD;;EAEA;EACA,IAAIC,IAAI,KAAK,OAAO,EAAE;IACpB,OAAO9B,aAAa,CAAC6B,IAAI,CAAC,IAAInC,UAAU,CAACmC,IAAI,CAAC;EAChD;EAEA,OAAOnC,UAAU,CAACmC,IAAI,CAAC;AACzB,CAAC;AAAC9B,OAAA,CAAA6B,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|