@limetech/lime-elements 40.18.3 → 40.20.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/CHANGELOG.md +29 -0
- package/dist/cjs/controlled-element-Ajn5eA-q.js +26 -0
- package/dist/cjs/{index-zZvs6xK-.js → index-DIiA99Er.js} +271 -71
- package/dist/cjs/keyboard-navigation-VyqkMDKy.js +152 -0
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +1 -1
- package/dist/cjs/limel-action-bar_3.cjs.entry.js +4 -4
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +2 -2
- package/dist/cjs/{limel-breadcrumbs_6.cjs.entry.js → limel-badge_7.cjs.entry.js} +98 -12
- package/dist/cjs/limel-banner.cjs.entry.js +1 -1
- package/dist/cjs/limel-button-group.cjs.entry.js +1 -1
- package/dist/cjs/limel-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-callout.cjs.entry.js +2 -2
- package/dist/cjs/limel-card.cjs.entry.js +1 -1
- package/dist/cjs/limel-chart.cjs.entry.js +51362 -270
- package/dist/cjs/limel-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/limel-chip-set.cjs.entry.js +23 -4
- package/dist/cjs/limel-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/limel-circular-progress.cjs.entry.js +1 -1
- package/dist/cjs/limel-code-diff.cjs.entry.js +2 -2
- package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +2 -2
- package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-dialog.cjs.entry.js +2 -2
- package/dist/cjs/limel-dock.cjs.entry.js +3 -3
- package/dist/cjs/limel-drag-handle_2.cjs.entry.js +4 -4
- package/dist/cjs/limel-email-viewer.cjs.entry.js +2 -2
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +2 -2
- package/dist/cjs/limel-file-viewer.cjs.entry.js +2 -2
- package/dist/cjs/limel-file.cjs.entry.js +2 -2
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +2 -2
- package/dist/cjs/limel-flex-container.cjs.entry.js +1 -1
- package/dist/cjs/limel-form-header.cjs.entry.js +1 -1
- package/dist/cjs/limel-form.cjs.entry.js +1 -1
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-header.cjs.entry.js +1 -1
- package/dist/cjs/limel-help_2.cjs.entry.js +3 -3
- package/dist/cjs/limel-helper-line_3.cjs.entry.js +6 -5
- package/dist/cjs/limel-hotkey_4.cjs.entry.js +5 -5
- package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-icon.cjs.entry.js +1 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js +2 -2
- package/dist/cjs/limel-list-item.cjs.entry.js +3 -3
- package/dist/cjs/limel-markdown.cjs.entry.js +4 -4
- package/dist/cjs/limel-masonry-layout.cjs.entry.js +1 -1
- package/dist/cjs/limel-menu-item-meta.cjs.entry.js +1 -1
- package/dist/cjs/limel-pagination-jump.cjs.entry.js +1 -1
- package/dist/cjs/limel-pagination.cjs.entry.js +2 -2
- package/dist/cjs/limel-picker.cjs.entry.js +51 -24
- package/dist/cjs/limel-popover_2.cjs.entry.js +4 -11
- package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +4 -4
- package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-resize-handle.cjs.entry.js +2 -2
- package/dist/cjs/limel-select.cjs.entry.js +1 -1
- package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/limel-side-panel.cjs.entry.js +2 -2
- package/dist/cjs/limel-slider.cjs.entry.js +4 -4
- package/dist/cjs/limel-snackbar.cjs.entry.js +3 -3
- package/dist/cjs/limel-split-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-switch.cjs.entry.js +1 -1
- package/dist/cjs/limel-tab-bar.cjs.entry.js +7 -150
- package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +3 -3
- package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +4 -4
- package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
- package/dist/cjs/live-message-BNl3Ihcz.js +65 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{markdown-exporter-VtX_2D1d.js → markdown-exporter-BWS2EBxq.js} +2 -2
- package/dist/cjs/{markdown-parser-BYtTHL4W.js → markdown-parser-toAp9-Eq.js} +1 -1
- package/dist/cjs/{translations-CLSqfR3x.js → translations-CqJEWcfw.js} +8 -0
- package/dist/collection/components/3d-hover-effect-glow/3d-hover-effect-glow.js +1 -1
- package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- package/dist/collection/components/ai-avatar/ai-avatar.js +1 -1
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/banner/banner.js +1 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button-group/button-group.js +1 -1
- package/dist/collection/components/callout/callout.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/chart/chart.css +63 -927
- package/dist/collection/components/chart/chart.js +330 -288
- package/dist/collection/components/chart/options.js +572 -0
- package/dist/collection/components/chart/scale.js +193 -0
- package/dist/collection/components/chart/theme.js +133 -0
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip-set/chip-set.js +66 -3
- package/dist/collection/components/circular-progress/circular-progress.js +1 -1
- package/dist/collection/components/code-diff/code-diff.js +1 -1
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/collapsible-section/collapsible-section.js +1 -1
- package/dist/collection/components/color-picker/color-picker-palette.js +2 -2
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +1 -1
- package/dist/collection/components/dialog/dialog.js +2 -2
- package/dist/collection/components/dock/dock.js +2 -2
- package/dist/collection/components/drag-handle/drag-handle.js +1 -1
- package/dist/collection/components/email-viewer/email-viewer.js +1 -1
- package/dist/collection/components/file/file.js +1 -1
- package/dist/collection/components/file-dropzone/file-dropzone.js +1 -1
- package/dist/collection/components/file-input/file-input.js +1 -1
- package/dist/collection/components/flex-container/flex-container.js +1 -1
- package/dist/collection/components/form/form.js +1 -1
- package/dist/collection/components/form-header/form-header.js +1 -1
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/help/help-content.js +1 -1
- package/dist/collection/components/help/help.js +2 -2
- package/dist/collection/components/helper-line/helper-line.js +2 -2
- package/dist/collection/components/hotkey/hotkey.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +2 -2
- package/dist/collection/components/input-field/input-field.css +13 -0
- package/dist/collection/components/input-field/input-field.js +86 -5
- package/dist/collection/components/list/list-renderer.js +1 -1
- package/dist/collection/components/list/list.js +22 -1
- package/dist/collection/components/list-item/list-item.js +2 -2
- package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.js +1 -1
- package/dist/collection/components/markdown/markdown.js +1 -1
- package/dist/collection/components/masonry-layout/masonry-layout.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-list/menu-list.js +1 -1
- package/dist/collection/components/menu-surface/menu-surface.js +1 -1
- package/dist/collection/components/notched-outline/notched-outline.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/picker/picker.css +112 -0
- package/dist/collection/components/picker/picker.js +49 -20
- package/dist/collection/components/popover/popover.js +3 -10
- package/dist/collection/components/popover-surface/popover-surface.js +1 -1
- package/dist/collection/components/portal/portal.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button.js +2 -2
- package/dist/collection/components/resize-handle/resize-handle.js +1 -1
- package/dist/collection/components/scroller/scroller.js +3 -3
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shortcut/shortcut.js +1 -1
- package/dist/collection/components/side-panel/side-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +3 -3
- package/dist/collection/components/snackbar/snackbar.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +2 -2
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab-bar/tab-bar.js +1 -1
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +1 -1
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/tooltip/tooltip-content.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/translations/da.js +1 -0
- package/dist/collection/translations/de.js +1 -0
- package/dist/collection/translations/en.js +1 -0
- package/dist/collection/translations/fi.js +1 -0
- package/dist/collection/translations/fr.js +1 -0
- package/dist/collection/translations/nl.js +1 -0
- package/dist/collection/translations/no.js +1 -0
- package/dist/collection/translations/sv.js +1 -0
- package/dist/collection/util/controlled-element.js +22 -0
- package/dist/collection/util/live-message.js +30 -0
- package/dist/esm/controlled-element-ByOXsysp.js +24 -0
- package/dist/esm/{index-BN64nlbO.js → index-CofmbCdQ.js} +271 -71
- package/dist/esm/keyboard-navigation-BF7IKmnG.js +147 -0
- package/dist/esm/{keycodes-Bu6-QXrA.js → keycodes-DQ5DmW_Y.js} +1 -1
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-3d-hover-effect-glow.entry.js +1 -1
- package/dist/esm/limel-action-bar_3.entry.js +4 -4
- package/dist/esm/limel-ai-avatar.entry.js +2 -2
- package/dist/esm/{limel-breadcrumbs_6.entry.js → limel-badge_7.entry.js} +100 -15
- package/dist/esm/limel-banner.entry.js +1 -1
- package/dist/esm/limel-button-group.entry.js +1 -1
- package/dist/esm/limel-button.entry.js +2 -2
- package/dist/esm/limel-callout.entry.js +2 -2
- package/dist/esm/limel-card.entry.js +1 -1
- package/dist/esm/limel-chart.entry.js +51363 -271
- package/dist/esm/limel-checkbox.entry.js +1 -1
- package/dist/esm/limel-chip-set.entry.js +24 -5
- package/dist/esm/limel-chip_2.entry.js +3 -3
- package/dist/esm/limel-circular-progress.entry.js +1 -1
- package/dist/esm/limel-code-diff.entry.js +2 -2
- package/dist/esm/limel-code-editor.entry.js +2 -2
- package/dist/esm/limel-collapsible-section.entry.js +2 -2
- package/dist/esm/limel-color-picker-palette.entry.js +2 -2
- package/dist/esm/limel-color-picker.entry.js +1 -1
- package/dist/esm/limel-dialog.entry.js +2 -2
- package/dist/esm/limel-dock.entry.js +3 -3
- package/dist/esm/limel-drag-handle_2.entry.js +4 -4
- package/dist/esm/limel-email-viewer.entry.js +2 -2
- package/dist/esm/limel-file-dropzone_2.entry.js +2 -2
- package/dist/esm/limel-file-viewer.entry.js +2 -2
- package/dist/esm/limel-file.entry.js +2 -2
- package/dist/esm/limel-flatpickr-adapter.entry.js +2 -2
- package/dist/esm/limel-flex-container.entry.js +1 -1
- package/dist/esm/limel-form-header.entry.js +1 -1
- package/dist/esm/limel-form.entry.js +1 -1
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-header.entry.js +1 -1
- package/dist/esm/limel-help_2.entry.js +3 -3
- package/dist/esm/limel-helper-line_3.entry.js +6 -5
- package/dist/esm/limel-hotkey_4.entry.js +5 -5
- package/dist/esm/limel-icon-button.entry.js +1 -1
- package/dist/esm/limel-icon.entry.js +1 -1
- package/dist/esm/limel-info-tile.entry.js +2 -2
- package/dist/esm/limel-list-item.entry.js +3 -3
- package/dist/esm/limel-markdown.entry.js +4 -4
- package/dist/esm/limel-masonry-layout.entry.js +1 -1
- package/dist/esm/limel-menu-item-meta.entry.js +1 -1
- package/dist/esm/limel-pagination-jump.entry.js +2 -2
- package/dist/esm/limel-pagination.entry.js +2 -2
- package/dist/esm/limel-picker.entry.js +52 -25
- package/dist/esm/limel-popover_2.entry.js +5 -12
- package/dist/esm/limel-profile-picture.entry.js +1 -1
- package/dist/esm/limel-prosemirror-adapter.entry.js +4 -4
- package/dist/esm/limel-radio-button-group.entry.js +1 -1
- package/dist/esm/limel-radio-button.entry.js +2 -2
- package/dist/esm/limel-resize-handle.entry.js +3 -3
- package/dist/esm/limel-select.entry.js +3 -3
- package/dist/esm/limel-shortcut.entry.js +1 -1
- package/dist/esm/limel-side-panel.entry.js +3 -3
- package/dist/esm/limel-slider.entry.js +4 -4
- package/dist/esm/limel-snackbar.entry.js +3 -3
- package/dist/esm/limel-split-button.entry.js +2 -2
- package/dist/esm/limel-switch.entry.js +1 -1
- package/dist/esm/limel-tab-bar.entry.js +3 -146
- package/dist/esm/limel-tab-panel.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +3 -3
- package/dist/esm/limel-text-editor-link-menu.entry.js +5 -5
- package/dist/esm/limel-text-editor.entry.js +1 -1
- package/dist/esm/live-message-BQAYeNiX.js +62 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{markdown-exporter-tb8ft8Gq.js → markdown-exporter-B2vFxSLw.js} +2 -2
- package/dist/esm/{markdown-parser-DFP65EFu.js → markdown-parser-Cw8iW5R9.js} +1 -1
- package/dist/esm/{translations-Drl5LNAD.js → translations-kct5Kybu.js} +8 -0
- package/dist/esm/{typeahead-DOlnT3wh.js → typeahead-B4PwrlM3.js} +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-a608ebe3.entry.js → p-0319f07f.entry.js} +1 -1
- package/dist/lime-elements/{p-300f80e7.entry.js → p-07f3565b.entry.js} +1 -1
- package/dist/lime-elements/{p-a7a84633.entry.js → p-1a7d1d2b.entry.js} +1 -1
- package/dist/lime-elements/{p-f8566c5b.entry.js → p-1d9bc526.entry.js} +1 -1
- package/dist/lime-elements/{p-e0ab0046.entry.js → p-1e0ced6a.entry.js} +1 -1
- package/dist/lime-elements/{p-dd383c12.entry.js → p-22e9e327.entry.js} +1 -1
- package/dist/lime-elements/{p-65eafc85.entry.js → p-23067836.entry.js} +1 -1
- package/dist/lime-elements/{p-5f2a34ed.entry.js → p-28957b5c.entry.js} +1 -1
- package/dist/lime-elements/{p-3ae5fb67.entry.js → p-39d1e157.entry.js} +1 -1
- package/dist/lime-elements/{p-d0908a85.entry.js → p-3ac39bd5.entry.js} +2 -2
- package/dist/lime-elements/{p-7f1a1ed5.entry.js → p-3f7fa772.entry.js} +1 -1
- package/dist/lime-elements/{p-b80433be.entry.js → p-40940a6c.entry.js} +1 -1
- package/dist/lime-elements/{p-7235d147.entry.js → p-438fe49b.entry.js} +1 -1
- package/dist/lime-elements/{p-0c314c3c.entry.js → p-47fe76a8.entry.js} +1 -1
- package/dist/lime-elements/{p-22c44279.entry.js → p-48a412ed.entry.js} +1 -1
- package/dist/lime-elements/{p-eb5a18ff.entry.js → p-496b2437.entry.js} +1 -1
- package/dist/lime-elements/{p-5d9a2877.entry.js → p-4c080cd9.entry.js} +1 -1
- package/dist/lime-elements/{p-be0a8125.entry.js → p-54537c85.entry.js} +1 -1
- package/dist/lime-elements/{p-2c29c27f.entry.js → p-55fa19ae.entry.js} +1 -1
- package/dist/lime-elements/{p-fad7a3fa.entry.js → p-56e2fa48.entry.js} +1 -1
- package/dist/lime-elements/{p-da4b4a81.entry.js → p-5dce791c.entry.js} +1 -1
- package/dist/lime-elements/{p-67acf39d.entry.js → p-5e408c27.entry.js} +1 -1
- package/dist/lime-elements/{p-b983531f.entry.js → p-6053608a.entry.js} +1 -1
- package/dist/lime-elements/{p-164e1ad0.entry.js → p-6ae093c8.entry.js} +1 -1
- package/dist/lime-elements/{p-29815107.entry.js → p-6d2d25b9.entry.js} +1 -1
- package/dist/lime-elements/{p-9e30d206.entry.js → p-6d9b89db.entry.js} +1 -1
- package/dist/lime-elements/{p-be2b8c1e.entry.js → p-6e9eeb0a.entry.js} +1 -1
- package/dist/lime-elements/{p-68129487.entry.js → p-764d2f86.entry.js} +1 -1
- package/dist/lime-elements/{p-49a53f0b.entry.js → p-7ab726c2.entry.js} +1 -1
- package/dist/lime-elements/{p-cced022b.entry.js → p-7b87e547.entry.js} +1 -1
- package/dist/lime-elements/{p-586ee40c.entry.js → p-7d0ffc60.entry.js} +1 -1
- package/dist/lime-elements/p-7fcd48c6.entry.js +1 -0
- package/dist/lime-elements/{p-7d27d572.entry.js → p-814b4934.entry.js} +1 -1
- package/dist/lime-elements/p-8514480b.entry.js +56 -0
- package/dist/lime-elements/p-8d602078.entry.js +1 -0
- package/dist/lime-elements/p-8fe28845.entry.js +1 -0
- package/dist/lime-elements/{p-f35880ef.entry.js → p-909466b8.entry.js} +1 -1
- package/dist/lime-elements/{p-545c087b.entry.js → p-933ffaa8.entry.js} +1 -1
- package/dist/lime-elements/{p-cc8d6198.entry.js → p-95a486c8.entry.js} +1 -1
- package/dist/lime-elements/{p-565c85ac.entry.js → p-9b2623fe.entry.js} +1 -1
- package/dist/lime-elements/{p-C0wwdPYT.js → p-Bd37Vplf.js} +2 -2
- package/dist/lime-elements/p-ByOXsysp.js +1 -0
- package/dist/lime-elements/{p-_UXAljNc.js → p-CbPYnlF-.js} +1 -1
- package/dist/lime-elements/{p-Bgn2bikC.js → p-CvHpvp0f.js} +1 -1
- package/dist/lime-elements/p-Cw7VQSGU.js +1 -0
- package/dist/lime-elements/{p-fYs7n6yY.js → p-DNYOwOWu.js} +1 -1
- package/dist/lime-elements/{p-Bu6-QXrA.js → p-DQ5DmW_Y.js} +1 -1
- package/dist/lime-elements/p-Dzp8dXTo.js +1 -0
- package/dist/lime-elements/p-_1yBt1pG.js +1 -0
- package/dist/lime-elements/{p-565e5ea7.entry.js → p-a6387dc7.entry.js} +1 -1
- package/dist/lime-elements/{p-40a48f70.entry.js → p-a6c6a31b.entry.js} +1 -1
- package/dist/lime-elements/{p-e8255f0b.entry.js → p-a7be03e1.entry.js} +1 -1
- package/dist/lime-elements/p-a807a45f.entry.js +159 -0
- package/dist/lime-elements/{p-707d4b28.entry.js → p-bffb5ed2.entry.js} +1 -1
- package/dist/lime-elements/{p-7035d93d.entry.js → p-c0ebf7cc.entry.js} +1 -1
- package/dist/lime-elements/{p-7aae3d13.entry.js → p-c2056ebc.entry.js} +1 -1
- package/dist/lime-elements/{p-19681a98.entry.js → p-c2f993cc.entry.js} +1 -1
- package/dist/lime-elements/{p-c73f4160.entry.js → p-c61e9b83.entry.js} +1 -1
- package/dist/lime-elements/{p-519603f5.entry.js → p-c6b3448c.entry.js} +1 -1
- package/dist/lime-elements/p-c8a34cef.entry.js +1 -0
- package/dist/lime-elements/p-cd479c23.entry.js +1 -0
- package/dist/lime-elements/{p-153e91e1.entry.js → p-ce71c5b9.entry.js} +1 -1
- package/dist/lime-elements/p-cf2d43c7.entry.js +1 -0
- package/dist/lime-elements/{p-2a375a65.entry.js → p-d35d2859.entry.js} +1 -1
- package/dist/lime-elements/{p-26347009.entry.js → p-d3f13124.entry.js} +1 -1
- package/dist/lime-elements/{p-a2dc6645.entry.js → p-d8559847.entry.js} +1 -1
- package/dist/lime-elements/{p-c8f09dd5.entry.js → p-db9cb7ef.entry.js} +1 -1
- package/dist/lime-elements/{p-05c1f5a0.entry.js → p-e5abe390.entry.js} +1 -1
- package/dist/lime-elements/p-f036ad27.entry.js +1 -0
- package/dist/lime-elements/{p-c1678d3a.entry.js → p-f3b93ce8.entry.js} +2 -2
- package/dist/lime-elements/{p-2f5face5.entry.js → p-f59447bf.entry.js} +1 -1
- package/dist/lime-elements/{p-a81f6962.entry.js → p-f5bb17eb.entry.js} +1 -1
- package/dist/types/components/chart/chart.d.ts +51 -52
- package/dist/types/components/chart/chart.types.d.ts +5 -0
- package/dist/types/components/chart/options.d.ts +88 -0
- package/dist/types/components/chart/scale.d.ts +101 -0
- package/dist/types/components/chart/theme.d.ts +52 -0
- package/dist/types/components/chip-set/chip-set.d.ts +15 -0
- package/dist/types/components/input-field/input-field.d.ts +13 -0
- package/dist/types/components/list/list-renderer-config.d.ts +1 -0
- package/dist/types/components/list/list.d.ts +6 -0
- package/dist/types/components/picker/picker.d.ts +12 -5
- package/dist/types/components/popover/popover.d.ts +0 -1
- package/dist/types/components.d.ts +53 -38
- package/dist/types/translations/da.d.ts +1 -0
- package/dist/types/translations/de.d.ts +1 -0
- package/dist/types/translations/en.d.ts +1 -0
- package/dist/types/translations/fi.d.ts +1 -0
- package/dist/types/translations/fr.d.ts +1 -0
- package/dist/types/translations/nl.d.ts +1 -0
- package/dist/types/translations/no.d.ts +1 -0
- package/dist/types/translations/sv.d.ts +1 -0
- package/dist/types/util/controlled-element.d.ts +11 -0
- package/dist/types/util/live-message.d.ts +17 -0
- package/package.json +3 -2
- package/dist/cjs/dom-BWMDM6En.js +0 -32
- package/dist/cjs/limel-badge.cjs.entry.js +0 -37
- package/dist/esm/dom-B9Ofc5RB.js +0 -30
- package/dist/esm/limel-badge.entry.js +0 -35
- package/dist/lime-elements/p-513d2a5e.entry.js +0 -1
- package/dist/lime-elements/p-55abec82.entry.js +0 -1
- package/dist/lime-elements/p-55f7c9f5.entry.js +0 -1
- package/dist/lime-elements/p-70272ea2.entry.js +0 -1
- package/dist/lime-elements/p-813cb15c.entry.js +0 -1
- package/dist/lime-elements/p-895a68c5.entry.js +0 -1
- package/dist/lime-elements/p-93a2d3b3.entry.js +0 -159
- package/dist/lime-elements/p-9bbf2612.entry.js +0 -1
- package/dist/lime-elements/p-B26k4gw8.js +0 -1
- package/dist/lime-elements/p-B9Ofc5RB.js +0 -1
- package/dist/lime-elements/p-ea11f365.entry.js +0 -1
- package/dist/lime-elements/p-fdc7da58.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as r,F as i,a as s}from"./p-BU9IJqli.js";import{t as o}from"./p-B26k4gw8.js";import{d as n,u as a,r as l,a as c,v as u,b as h}from"./p-_UXAljNc.js";import{I as f}from"./p-N9vxZMhe.js";import"./p-ChagAaNf.js";import"./p-B85MJLTf.js";function d(t,e){const r=t||e;return r&&{pdf:"pdf",jpg:"image",jpeg:"image",heic:"image",bmp:"image",png:"image",gif:"image",svg:"image",svgz:"image",ep:"image",eps:"image",avi:"video",flv:"video",h264:"video",mov:"video",mp4:"video",mwv:"video",mkv:"video",mp3:"audio",wav:"audio",wma:"audio",ogg:"audio",txt:"text",json:"text",html:"text",xml:"text",eml:"email",doc:"office",docx:"office",odt:"office",dot:"office",dotx:"office",docm:"office",dotm:"office",pot:"office",ppt:"office",pptx:"office",odp:"office",potx:"office",potm:"office",pps:"office",ppsx:"office",ppsm:"office",pptm:"office",ppam:"office",pages:"office",xls:"office",xlsx:"office",xlsm:"office",xlsb:"office",ods:"office",csv:"office",numbers:"office"}[r.split(".").pop().toLowerCase()]||"unknown"}class p{constructor(t){this.requestFullscreen=()=>{this.enter&&this.enter()},this.exitFullscreen=()=>{this.exit&&this.exit.bind(window.document)()},this.toggle=()=>{const t=window.document;t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement?this.exitFullscreen():this.requestFullscreen()},this.enter=t.requestFullscreen||t.msRequestFullscreen||t.mozRequestFullScreen||t.webkitRequestFullscreen,this.enter&&(this.enter=this.enter.bind(t));const e=window.document;this.exit=e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen}isSupported(){return!!this.enter}}const m=new TextEncoder,g=t=>32===t||9===t,b=new Uint8Array(256);for(let t=0;t<64;t++)b["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(t)]=t;function w(t){let e=t.length;for(;e>0&&"="===t.charAt(e-1);)e--;e%4==1&&e--;const r=e%4,i=3*Math.floor(e/4)+(r?r-1:0),s=new ArrayBuffer(i),o=new Uint8Array(s);let n=0;for(let r=0;r<e;r+=4){let e=b[t.charCodeAt(r)],s=b[t.charCodeAt(r+1)],a=b[t.charCodeAt(r+2)],l=b[t.charCodeAt(r+3)];o[n++]=e<<2|s>>4,n<i&&(o[n++]=(15&s)<<4|a>>2),n<i&&(o[n++]=(3&a)<<6|63&l)}return s}const v=new Map([["iso88598i","iso-8859-8"],["iso88598e","iso-8859-8"],["shiftjis","shift_jis"],["windows31j","shift_jis"],["mskanji","shift_jis"],["eucjp","euc-jp"],["iso2022jp","iso-2022-jp"],["iso2022jp1","iso-2022-jp"],["iso2022jp2","iso-2022-jp"],["junet","iso-2022-jp"],["euckr","euc-kr"],["uhc","euc-kr"],["tis620","windows-874"]]),y=new Map([["932","shift_jis"],["936","gbk"],["949","euc-kr"],["950","big5"],["874","windows-874"],["51932","euc-jp"],["50220","iso-2022-jp"],["50221","iso-2022-jp"],["50222","iso-2022-jp"]]),x=/^(?:cp|windows|ms|ibm)(\d+)$/,k=new Set(["unicode-1-1-utf-8 unicode11utf8 unicode20utf8 utf-8 utf8 x-unicode20utf8","866 cp866 csibm866 ibm866","csisolatin2 iso-8859-2 iso-ir-101 iso8859-2 iso88592 iso_8859-2 iso_8859-2:1987 l2 latin2","csisolatin3 iso-8859-3 iso-ir-109 iso8859-3 iso88593 iso_8859-3 iso_8859-3:1988 l3 latin3","csisolatin4 iso-8859-4 iso-ir-110 iso8859-4 iso88594 iso_8859-4 iso_8859-4:1988 l4 latin4","csisolatincyrillic cyrillic iso-8859-5 iso-ir-144 iso8859-5 iso88595 iso_8859-5 iso_8859-5:1988","arabic asmo-708 csiso88596e csiso88596i csisolatinarabic ecma-114 iso-8859-6 iso-8859-6-e","iso-8859-6-i iso-ir-127 iso8859-6 iso88596 iso_8859-6 iso_8859-6:1987","csisolatingreek ecma-118 elot_928 greek greek8 iso-8859-7 iso-ir-126 iso8859-7 iso88597 iso_8859-7","iso_8859-7:1987 sun_eu_greek","csiso88598e csisolatinhebrew hebrew iso-8859-8 iso-8859-8-e iso-ir-138 iso8859-8 iso88598 iso_8859-8","iso_8859-8:1988 visual","csiso88598i iso-8859-8-i logical","csisolatin6 iso-8859-10 iso-ir-157 iso8859-10 iso885910 l6 latin6","iso-8859-13 iso8859-13 iso885913","iso-8859-14 iso8859-14 iso885914","csisolatin9 iso-8859-15 iso8859-15 iso885915 iso_8859-15 l9","iso-8859-16","cskoi8r koi koi8 koi8-r koi8_r","koi8-ru koi8-u","csmacintosh mac macintosh x-mac-roman","dos-874 iso-8859-11 iso8859-11 iso885911 tis-620 windows-874","cp1250 windows-1250 x-cp1250","cp1251 windows-1251 x-cp1251","ansi_x3.4-1968 ascii cp1252 cp819 csisolatin1 ibm819 iso-8859-1 iso-ir-100 iso8859-1 iso88591","iso_8859-1 iso_8859-1:1987 l1 latin1 us-ascii windows-1252 x-cp1252","cp1253 windows-1253 x-cp1253","cp1254 csisolatin5 iso-8859-9 iso-ir-148 iso8859-9 iso88599 iso_8859-9 iso_8859-9:1989 l5 latin5","windows-1254 x-cp1254","cp1255 windows-1255 x-cp1255","cp1256 windows-1256 x-cp1256","cp1257 windows-1257 x-cp1257","cp1258 windows-1258 x-cp1258","x-mac-cyrillic x-mac-ukrainian","chinese csgb2312 csiso58gb231280 gb2312 gb_2312 gb_2312-80 gbk iso-ir-58 x-gbk","gb18030","big5 big5-hkscs cn-big5 csbig5 x-x-big5","cseucpkdfmtjapanese euc-jp x-euc-jp","csiso2022jp iso-2022-jp","csshiftjis ms932 ms_kanji shift-jis shift_jis sjis windows-31j x-sjis","cseuckr csksc56011987 euc-kr iso-ir-149 korean ks_c_5601-1987 ks_c_5601-1989 ksc5601 ksc_5601","windows-949","csiso2022kr hz-gb-2312 iso-2022-cn iso-2022-cn-ext iso-2022-kr replacement","x-user-defined"].join(" ").split(" ")),q=new Set(["csiso2022kr","hz-gb-2312","iso-2022-cn","iso-2022-cn-ext","iso-2022-kr","replacement"]),A={encoding:"replacement",decode:t=>t&&t.byteLength?"�":""},E=new Map([["utf-16","utf-16"],["utf16","utf-16"],["utf_16","utf-16"],["utf-16le","utf-16le"],["utf-16be","utf-16be"]]);function D(t){if(t=(t||"utf8").trim().toLowerCase(),k.has(t))return t;const e=E.get(t);if(e)return e;const r=function(t){return t.replace(/^(?:x-ms-|x-|cs)/,"").replace(/[\s._-]+/g,"")}(t),i=r.match(x),s=i&&y.get(i[1])||v.get(r)||r;return k.has(s)?s:null}const S=new Map;function T(t){if(q.has(t))return A;let e=S.get(t);if(void 0===e){e=null;try{e=new TextDecoder(t)}catch{}S.set(t,e)}return e}const L=new TextDecoder;function N(t){const e=D(t);return e?T(e):null}function R(t){return N(t)||T("windows-1252")||L}const U=new Set(["utf-16le","utf-16be"]),j=new Set(["utf-16"]);function B(t,e=L){const r=t instanceof Uint8Array?t:new Uint8Array(t);return function(t){for(let e=0;e<t.length;){const r=t[e];if(r<128){e++;continue}let i;if(r>=194&&r<=223)i=1;else if(r>=224&&r<=239)i=2;else{if(!(r>=240&&r<=244))return!1;i=3}if(e+i>=t.length)return!1;const s=t[e+1];if(s<(224===r?160:240===r?144:128)||s>(237===r?159:244===r?143:191))return!1;for(let r=2;r<=i;r++)if(128!=(192&t[e+r]))return!1;e+=i+1}return!0}(r)?e.decode(r):R("windows-1252").decode(r)}function I(t,e){const r=t instanceof Uint8Array?t:new Uint8Array(t),i=D(e);let s=i?T(i):null;if(i&&j.has(i)){const t=function(t){return 254===t[0]&&255===t[1]?"utf-16be":255===t[0]&&254===t[1]?"utf-16le":null}(r);s=t&&T(t)||s}return s?s.decode(r):B(r)}const C=/charset\s*=\s*["']?\s*([^\s"';>]+)/;async function $(t){if("arrayBuffer"in t)return await t.arrayBuffer();const e=new FileReader;return new Promise(((r,i)=>{e.onload=()=>{r(e.result)},e.onerror=()=>{i(e.error)},e.readAsArrayBuffer(t)}))}function V(t){return t>=48&&t<=57?t-48:t>=97&&t<=102?t-97+10:t>=65&&t<=70?t-65+10:-1}function z(t){return t.replace(/[\r\n]+/g," ")}function O(t,e,r){let i,s=t.indexOf("*");if(s>=0&&(t=t.slice(0,s)),"Q"===(e=e.toUpperCase())){r=r.replace(/=\s+([0-9a-fA-F])/g,"=$1").replace(/[_\s]/g," ");let t=m.encode(r),e=[];for(let r=0,i=t.length;r<i;r++){let s=t[r];if(r<=i-2&&61===s){let i=V(t[r+1]),s=V(t[r+2]);if(i>=0&&s>=0){e.push(i<<4|s),r+=2;continue}}e.push(s)}i=new ArrayBuffer(e.length);let s=new DataView(i);for(let t=0,r=e.length;t<r;t++)s.setUint8(t,e[t])}else i="B"===e?w(r.replace(/[^a-zA-Z0-9\+\/=]+/g,"")):m.encode(r);return z(I(i,t))}const M="=\\?([^?\\s]+)\\?([QqBb])\\?([^?]*)\\?=",P=new RegExp(M,"g"),_=/^[ \t\r\n]+$/,G=new RegExp(`^(?:${M}\\s*)+$`);function H(t,e){const r=t.encoding.toUpperCase();return t.charset===e.charset&&r===e.encoding.toUpperCase()&&("B"!==r||t.encodedText.length%4==0&&!t.padded)}function F(t,e){let r="",i=null;for(let s=0;s<t.length;s++){const o=t[s];if(void 0===o.text)i&&e&&H(i,o)?(i.encodedText+=o.encodedText,i.padded=o.encodedText.endsWith("=")):(i&&(r+=O(i.charset,i.encoding,i.encodedText)),i={charset:o.charset,encoding:o.encoding,encodedText:o.encodedText,padded:o.encodedText.endsWith("=")});else{const e=t[s+1];if(i&&e&&void 0===e.text&&_.test(o.text))continue;i&&(r+=O(i.charset,i.encoding,i.encodedText),i=null),r+=o.text}}return i&&(r+=O(i.charset,i.encoding,i.encodedText)),r}function Z(t){const e=function(t){const e=[];P.lastIndex=0;let r,i=0;for(;r=P.exec(t);)r.index>i&&e.push({text:t.substring(i,r.index)}),e.push({charset:r[1],encoding:r[2],encodedText:r[3]}),i=r.index+r[0].length;return i<t.length&&e.push({text:t.substring(i)}),e}((t||"").toString()),r=F(e,!0);return r.indexOf("�")<0?r:F(e,!1)}function J(t,e){e=e||"utf-8";let r=[];for(let e=0;e<t.length;e++){let i=t.charAt(e);const s="%"===i?V(t.charCodeAt(e+1)):-1,o=s>=0?V(t.charCodeAt(e+2)):-1;if(o>=0)r.push(s<<4|o),e+=2;else if(i.charCodeAt(0)>126){const t=m.encode(i);for(let e=0;e<t.length;e++)r.push(t[e])}else r.push(i.charCodeAt(0))}const i=new ArrayBuffer(r.length),s=new DataView(i);for(let t=0,e=r.length;t<e;t++)s.setUint8(t,r[t]);return I(i,e)}class X{constructor(){this.chunks=[],this.runBuffer=null,this.runStart=0,this.runEnd=0,this.pendingLineBreak=null}continuesRun(t){return t.buffer===this.runBuffer&&t.byteOffset===this.runEnd}flushRun(){this.runBuffer&&this.runEnd>this.runStart&&this.chunks.push(new Uint8Array(this.runBuffer,this.runStart,this.runEnd-this.runStart)),this.runBuffer=null}update(t,e){const r=this.pendingLineBreak;r&&this.continuesRun(r)&&t.buffer===this.runBuffer&&t.byteOffset===this.runEnd+r.byteLength||(this.flushRun(),r&&this.chunks.push(r),this.runBuffer=t.buffer,this.runStart=t.byteOffset),this.runEnd=t.byteOffset+t.byteLength,this.pendingLineBreak=e}finalize(t=!1){const e=this.pendingLineBreak;return!t&&e&&(this.continuesRun(e)?this.runEnd+=e.byteLength:(this.flushRun(),this.chunks.push(e))),this.flushRun(),$(new Blob(this.chunks,{type:"application/octet-stream"}))}}class Y{constructor(t=102400){this.maxChunkSize=t,this.buffer=null,this.bufferPos=0,this.chunks=[]}writeByte(t){(!this.buffer||this.bufferPos>=this.buffer.length)&&(this.flush(),this.buffer??=new Uint8Array(this.maxChunkSize)),this.buffer[this.bufferPos++]=t}writeBytes(t,e=0,r=t.length){for(;e<r;){(!this.buffer||this.bufferPos>=this.buffer.length)&&(this.flush(),this.buffer??=new Uint8Array(this.maxChunkSize));const i=Math.min(r-e,this.buffer.length-this.bufferPos);this.buffer.set(t.subarray(e,e+i),this.bufferPos),this.bufferPos+=i,e+=i}}append(t){t.length>=this.maxChunkSize/2?(this.flush(),this.chunks.push(t)):this.writeBytes(t)}flush(){this.buffer&&this.bufferPos&&(this.chunks.push(this.buffer.slice(0,this.bufferPos)),this.bufferPos=0)}finalize(){return this.flush(),$(new Blob(this.chunks,{type:"application/octet-stream"}))}}class Q{constructor(t){this.decoder=(t=t||{}).decoder||new TextDecoder,this.maxChunkSize=102400,this.output=new Y,this.remainder=""}pushChunk(t){t.length&&this.output.append(new Uint8Array(w(t)))}flushRemainder(){this.pushChunk(this.remainder),this.remainder=""}update(t){let e,r=this.decoder.decode(t).replace(/[^a-zA-Z0-9+/=]+/g,""),i=0;for(;(e=r.indexOf("=",i))>=0;)this.remainder+=r.substring(i,e),this.flushRemainder(),i=e+1;if(this.remainder+=r.substring(i),this.remainder.length>=this.maxChunkSize){const t=4*Math.floor(this.remainder.length/4);this.pushChunk(this.remainder.substring(0,t)),this.remainder=this.remainder.substring(t)}}finalize(){return this.flushRemainder(),this.output.finalize()}}class W{constructor(){this.output=new Y,this.pendingLineBreak=null}writeLineBreak(){this.pendingLineBreak&&this.output.writeBytes(this.pendingLineBreak)}update(t,e){this.writeLineBreak();let r=t.length;for(;r>0&&g(t[r-1]);)r--;const i=r>0&&61===t[r-1];i&&r--;let s=0;for(let e=0;e<r;e++){if(61!==t[e]||e+2>=r)continue;const i=V(t[e+1]),o=V(t[e+2]);i<0||o<0||(this.output.writeBytes(t,s,e),this.output.writeByte(i<<4|o),e+=2,s=e+1)}this.output.writeBytes(t,s,r),this.pendingLineBreak=i?null:e}finalize(t=!1){return t||this.writeLineBreak(),this.output.finalize()}}const K={EINVALIDOPTION:TypeError,EINVALIDINPUT:TypeError,EPARSERREUSED:Error,EMAXNESTINGDEPTH:Error,EMAXHEADERSIZE:Error,EMAXPARTCOUNT:Error,EMAXFORWARDEDADDRESSES:Error};function tt(t,e){const r=new K[t](e);return r.code=t,r}const et=new TextDecoder("utf-8",{ignoreBOM:!0}),rt=t=>{let e=0,r=t.length;for(;e<r&&g(t.charCodeAt(e));)e++;for(;r>e&&g(t.charCodeAt(r-1));)r--;return t.slice(e,r)},it=/^(?:From |[!-9;-~]*[ \t]*:)/,st=new Set(["content-type","content-transfer-encoding","content-disposition","content-id","content-description"]);class ot{constructor(t){this.options=t,this.postalMime=t.postalMime;const e=this.postalMime.limits;if(this.postalMime.counters.partCount++,this.postalMime.counters.partCount>e.maxPartCount)throw tt("EMAXPARTCOUNT",`Maximum MIME part count of ${e.maxPartCount} parts exceeded`);if(this.childNodes=[],this.finalizedChildCount=0,t.parentNode){if(this.parentNode=t.parentNode,this.depth=this.parentNode.depth+1,this.depth>e.maxNestingDepth)throw tt("EMAXNESTINGDEPTH",`Maximum MIME nesting depth of ${e.maxNestingDepth} levels exceeded`);t.parentNode.childNodes.push(this)}else this.depth=0;this.state="header",this.headerLines=[];const r="digest"===(t.parentMultipartType||null)?"message/rfc822":"text/plain";this.contentType={value:r,parsed:{value:r,params:{}},multipart:!1},this.contentTransferEncoding={value:"8bit",encoding:""},this.contentDisposition={value:"",parsed:{value:"",params:{}}},this.headers=[],this.rawHeaderLines=[],this.contentDecoder=null,this.content=null}setupContentDecoder(t){this.contentDecoder="base64"===t?new Q:"quoted-printable"===t?new W:new X}async finalize(t=!1){if("finished"===this.state)return;"header"===this.state&&this.endHeaders();let e=this.postalMime.boundaries;for(let t=e.length-1;t>=0;t--)if(e[t].node===this){e.splice(t,1);break}await this.finalizeChildNodes(t),this.content=this.contentDecoder?await this.contentDecoder.finalize(t):null,this.contentDecoder=null,this.state="finished"}async finalizeChildNodes(t=!1){for(;this.finalizedChildCount<this.childNodes.length;)await this.childNodes[this.finalizedChildCount++].finalize(t)}stripComments(t){let e="",r=0,i=!1,s=!1,o=-1,n=!1,a=0;const l=r=>{e+=t.slice(a,r),a=r+1};let c=!1,u=!1;const h=e=>{c=!0,u=g(t.charCodeAt(e))};for(let e=0;e<t.length;e++){const a=t.charAt(e);if(i)i=!1;else if("\\"===a)i=!0;else if('"'===a&&0===r)s=!s;else if(!s){if("("===a&&(!n||!c||u)){0===r&&(o=e),r++,l(e);continue}if(")"===a&&r>0){r--,l(e);continue}0===r&&("="===a?n=!0:";"===a&&(n=!1))}0===r?h(e):l(e)}return 0===r||t.indexOf(";",o)<0?e+t.slice(a):t}parseStructuredHeader(t){t=this.stripComments(t);let e,r={value:"",params:{}},i=!1,s="",o="value",n="",a=!1,l=!1,c=!1;const u=()=>{s.length&&(s+=n),n=""};let h=-1;const f=e=>{h>=0&&(s+=t.slice(h,e),h=-1)},d=t=>{h<0&&(u(),h=t)},p=()=>{const t=s;return s="",n="",a=!1,t},m=(t,e)=>{t&&!Object.prototype.hasOwnProperty.call(r.params,t)&&(r.params[t]=e)},g=()=>{const t=p();!1===i?r.value=t:m(i,t)},b=()=>{m(p().trim().toLowerCase(),"")};for(let r=0,s=t.length;r<s;r++)switch(e=t.charAt(r),o){case"key":if("="===e){f(r),i=p().trim().toLowerCase(),o="value";break}if(";"===e){f(r),b();break}h<0&&(h=r);break;case"value":if(a&&";"!==e){c=!1;break}if(c)d(r);else{if(l&&"\\"===e){f(r),c=!0;continue}l&&e===l?(f(r),l=!1,a=!0):l||'"'!==e?l||";"!==e?l||" "!==e&&"\t"!==e?d(r):(f(r),n+=e):(f(r),g(),o="key"):(f(r),l=e,u())}c=!1}return f(t.length),"value"===o?g():b(),r.value&&(r.value=r.value.toLowerCase()),function(t){let e=new Map;Object.keys(t.params).forEach((r=>{let i=r.match(/\*((\d+)\*?)?$/);if(!i)return;let s=r.slice(0,i.index).toLowerCase(),o=Number(i[2])||0,n=e.get(s);n||(n={charset:null,values:[]},e.set(s,n));let a=t.params[r],l="*"===i[0].charAt(i[0].length-1);0===o&&l&&(i=a.match(/^([^']*)'[^']*'(.*)$/))&&(n.charset=i[1]||"utf-8",a=i[2]),n.values.push({nr:o,value:a,encoded:l}),delete t.params[r]})),e.forEach(((e,r)=>{if(Object.prototype.hasOwnProperty.call(t.params,r))return;let i="",s="";for(let t of e.values.sort(((t,e)=>t.nr-e.nr)))t.encoded?s+=t.value:(s&&(i+=J(s,e.charset),s=""),i+=t.value);s&&(i+=J(s,e.charset)),t.params[r]=i}))}(r),r}decodeFlowedText(t,e){const r=[];let i=[],s=!1,o=0;for(let n=0;n<=t.length;){let a=t.indexOf("\n",n);a<0&&(a=t.length);const l=t.slice(n,a);let c=0;for(;62===l.charCodeAt(c);)c++;const u=32===l.charCodeAt(c)?c+1:c,h=l.slice(u),f="-- "===h;if(s&&c===o&&!f?(e&&(i[i.length-1]=i[i.length-1].slice(0,-1)),i.push(h)):(n&&i.push("\n"),i.push(c?l:h)),s=!f&&h.endsWith(" "),o=c,i.length>=4096){const t=i.pop();r.push(i.join("")),i=[t]}n=a+1}return r.push(i.join("")),r.join("")}getTextContent(){if(!this.content)return"";let t=function(t,e,r){const i=new Uint8Array(t);if(e)return I(i,e);const s=r?function(t){const e=L.decode(t.subarray(0,1024)).toLowerCase();let r=0;for(;(r=e.indexOf("<meta",r))>=0;){let t=e.indexOf(">",r);t<0&&(t=e.length);const i=C.exec(e.slice(r,t));if(i)return i[1];r=t}return null}(i):null,o=s?N(s):null;return!o||U.has(o.encoding)?B(i):("x-user-defined"===o.encoding?R("windows-1252"):o).decode(i)}(this.content,this.contentType.parsed.params.charset,"text/html"===this.contentType.parsed.value).replace(/\r\n/g,"\n");return"text/plain"===this.contentType.parsed.value&&/^flowed$/i.test(this.contentType.parsed.params.format)&&(t=this.decodeFlowedText(t,/^yes$/i.test(this.contentType.parsed.params.delsp))),t}processHeaders(){let t=[];for(let e of this.headerLines)t.length&&/^[ \t]/.test(e)?t[t.length-1].push(e):t.push([e]);let e=new Set;for(let r of t){let t=r.join("\n"),i=t.indexOf(":"),s=i<0?t:t.slice(0,i);this.rawHeaderLines.push({key:s.toLowerCase(),line:t});let o=r.join("");i=o.indexOf(":");let n=i<0?o:o.slice(0,i),a=i<0?"":rt(z(o.slice(i+1)));this.headers.push({key:n.toLowerCase(),originalKey:n,value:a});const l=n.toLowerCase();if(st.has(l)&&!e.has(l))switch(e.add(l),l){case"content-type":this.contentType.value=a;break;case"content-transfer-encoding":this.contentTransferEncoding.value=a;break;case"content-disposition":this.contentDisposition.value=a;break;case"content-id":this.contentId=a;break;case"content-description":this.contentDescription=a}}this.contentType.parsed=this.parseStructuredHeader(this.contentType.value),this.contentType.multipart=!!/^multipart\//i.test(this.contentType.parsed.value)&&this.contentType.parsed.value.slice(this.contentType.parsed.value.indexOf("/")+1);let r=this.contentType.multipart?(this.contentType.parsed.params.boundary||"").trimEnd():"";/[^\x00-\x7f]/.test(r)&&(r=""),this.contentType.multipart&&!r&&(this.contentType.parsed.value="text/plain",this.contentType.multipart=!1),this.contentType.multipart&&this.postalMime.boundaries.push({value:m.encode(r),node:this}),this.contentDisposition.parsed=this.parseStructuredHeader(this.contentDisposition.value);const i=this.contentDisposition.parsed.value,s=i.search(/[ \t]/);s>=0&&(this.contentDisposition.parsed.value=i.slice(0,s)),this.contentTransferEncoding.encoding=(this.stripComments(this.contentTransferEncoding.value).toLowerCase().match(/^[ \t]*([\w-]+)/)||["",""])[1],this.setupContentDecoder(this.contentTransferEncoding.encoding),this.headerLines=[]}endHeaders(){this.state="body",this.processHeaders()}feed(t,e){switch(this.state){case"header":{if(!t.length)return this.endHeaders(),!1;this.postalMime.counters.headerSize+=Math.max(t.length,64);const e=this.postalMime.limits.maxHeadersSize;if(this.postalMime.counters.headerSize>e)throw tt("EMAXHEADERSIZE",`Maximum header size of ${e} bytes exceeded`);const r=B(t,et);if(!g(t[0])&&!it.test(r))return this.endHeaders(),!0;this.headerLines.push(r);break}case"body":this.contentDecoder&&this.contentDecoder.update(t,e)}return!1}}const nt={"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"","⁢":"","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"","​":"","​":"","​":"","≫":"≫","≪":"≪","
":"\n","𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""},at=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),lt=t=>t.toString(16).toUpperCase().padStart(2,"0");function ct(t){return t.trim().replace(/[<>"'?&]/g,(t=>"&#x"+lt(t.charCodeAt(0))+";"))}const ut=/[^A-Za-z0-9\-._~!$'()*+,;:@]+/g,ht=Array.from({length:256},((t,e)=>"%"+lt(e)));function ft(t,e){let r=1/0,i=null;return s=>((s<r||i&&s>i.index)&&(e.lastIndex=s,i=e.exec(t),r=s),i)}function dt(t,e){const r=t.lastIndexOf(">")+1;return e(t.slice(0,r))+t.slice(r)}function pt(t,e,r){return dt(t,(t=>t.replace(e,r)))}function mt(t,e,r,i){const s=[];let o=0,n=0;for(;;){e.lastIndex=n;const a=e.exec(t);if(!a)break;const l=a.index,c=t.indexOf(">",l);if(c<0)break;r.lastIndex=l;const u=r.exec(t);u?(s.push(t.slice(o,l),i(...u)),o=n=l+u[0].length):n=c+1}return s.push(t.slice(o)),s.join("")}function gt(t,e,r,i,s,o){const n=ft(t,/>/g),a=ft(t,i),l=[];let c=0,u=0;for(;;){e.lastIndex=u;const i=e.exec(t);if(!i)break;const h=i.index;u=h+1;let f=h+i[0].length;if(r){const t=n(f);if(!t)break;f=t.index+1}const d=a(f);if(!d)break;let p=d.index+d[0].length;if(s){const t=n(p);if(!t)break;p=t.index+1}l.push(t.slice(c,h),o),c=u=p}return l.push(t.slice(c)),l.join("")}function bt(t,e){const r=t.lastIndexOf(">");let i,s=-1;for(e.lastIndex=0;(i=e.exec(t))&&i.index<r;)s=i.index;return s<0?t:t.slice(t.indexOf(">",s)+1)}function wt(t,e){e.lastIndex=0;const r=e.exec(t);return r&&r.index<t.lastIndexOf(">")?t.slice(0,r.index):t}let vt=null;function yt(t){if("undefined"==typeof Intl)return t;const e=new Date(t);return isNaN(e.getTime())?t:(vt??=new Intl.DateTimeFormat("default",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1}),vt.format(e))}function xt(t){let e=[],r=(t,i)=>{if(i&&e.push(", "),t.group){let i=";";e.push(`${t.name}:`),t.group.forEach(r),e.push(i)}else e.push(function(t){return(t.name?[t.name,`<${t.address}>`]:[t.address]).join(" ")}(t))};return t.forEach(r),e.join("")}function kt(t){let e=[],r=(t,i)=>{if(i&&e.push('<span class="postal-email-address-separator">, </span>'),t.group){let i=`<span class="postal-email-address-group">${ct(t.name)}:</span>`,s='<span class="postal-email-address-group">;</span>';e.push(i),t.group.forEach(r),e.push(s)}else e.push(function(t){return`<a href="mailto:${ct(function(t){return t.replace(ut,(t=>Array.from(m.encode(t),(t=>ht[t])).join("")))}(t.address))}" class="postal-email-address">${ct(t.name||`<${t.address}>`)}</a>`}(t))};return t.forEach(r),e.join(" ")}class qt{constructor(t){this.str=t,this.slots=new Int32Array(48),this.length=0,this.cleaned=new Map}push(t,e,r){if(3*(this.length+1)>this.slots.length){const t=new Int32Array(2*this.slots.length);t.set(this.slots),this.slots=t}const i=3*this.length;return this.slots[i]=t,this.slots[i+1]=e,this.slots[i+2]=r,this.length++}operatorAt(t){const e=3*t;return 1&this.slots[e]?this.str.charAt(this.slots[e+1]):""}isOperator(t){return!!(1&this.slots[3*t])}noBreak(t){return!!(2&this.slots[3*t])}value(t){const e=this.cleaned.get(t);return void 0!==e?e:this.str.slice(this.slots[3*t+1],this.slots[3*t+2])}}const At=/\s/,Et=/^("(?:[^"\\]|\\[\s\S])*"@\S+)(?:\s+([\s\S]+))?$/,Dt=/^[^@\s]+@[^@\s]+$/,St=/^[^@\s]+@\[[^[\]\\\s]*\]$/,Tt=/^@(?:[^@\s"]+|\[[^[\]\\\s]*\])$/;function Lt(t){return Dt.test(t)||St.test(t)}const Nt=/^[^@\s]+@\S+$/,Rt=/\s*\b[^@\s]+@[^\s]+\b\s*/y,Ut=/@(\[[^[\]\\]*\])$/;function jt(t){const e="]"===t.charAt(t.length-1)?Ut.exec(t):null;return e?t.length-e[1].length-1:t.lastIndexOf("@")}function Bt(t){const e=jt(t);if(e<0)return t;const r=t.substring(0,e);return/^[^\s"(),:;<>@[\\\]]+$/.test(r)||/^"(?:[^"\\]|\\[\s\S])*"$/.test(r)?t:'"'+r.replace(/["\\]/g,"\\$&")+'"@'+t.substring(e+1)}function It(t){return 32===t||t>=9&&t<=13||160===t||5760===t||t>=8192&&t<=8202||8232===t||8233===t||8239===t||8287===t||12288===t||65279===t}function Ct(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||95===t}function $t(t,e){return Ct(t.charCodeAt(e-1))!==Ct(t.charCodeAt(e))}function Vt(t,e,r){for(let i=e;i<r;i++)if(64===t.charCodeAt(i))return i;return-1}const zt=/^"(?:[^"\\]|\\[\s\S])*"/;function Ot(t,e){if(e<0)return t;let r=e;for(;r>0&&It(t.charCodeAt(r-1));)r--;let i=e+1;for(;i<t.length&&It(t.charCodeAt(i));)i++;return r===e&&i===e+1?t:t.slice(0,r)+"@"+t.slice(i)}function Mt(t){const e=zt.exec(t);if(e){let r=e[0].length;for(;r<t.length&&It(t.charCodeAt(r));)r++;if("@"===t.charAt(r)&&t.indexOf("@",r+1)<0)return Ot(t,r)}const r=t.indexOf("@");return r<0||t.indexOf("@",r+1)>=0||t.lastIndexOf('"')>r?t:Ot(t,r)}function Pt(t){const e=t.length;let r=0;for(;r<e;){for(;r<e&&It(t.charCodeAt(r));)r++;if(r>=e)break;const i=r;let s=r;for(;s<e&&!It(t.charCodeAt(s));)s++;let o=Vt(t,i,s);if(o>=0){let e=-1;for(let r=s;r>i;r--)if($t(t,r)){e=r;break}let r=i;for(;e>=0&&o>=0;){if(o>r&&s>o+1&&e>o+1)for(let e=r;e<o;e++)if($t(t,e)){if(e>i)return e;let r=i;for(;r>0&&It(t.charCodeAt(r-1));)r--;return r}r=o+1,o=Vt(t,r,s)}}r=s}return-1}function _t(t){const e=[];let r="",i="",s=0,o="",n="",a=!1,l="",c=!1,u=-1;for(let h=0,f=t.length;h<f;h++){const d=t.charAt(h);if(s)"\\"===d&&h<f-1?i+=t.charAt(++h):"("===d?(s++,i+=d):")"!==d||--s?i+=d:(e.push(i.trim()),i="",a="@"!==n);else{if(a&&"("!==d&&(a=!1,"@"===d||"<"===d||It(t.charCodeAt(h))||(r+=" ",n=" ")),o){if("\\"===d&&'"'===o&&h<f-1){r+=d+t.charAt(++h),n=t.charAt(h);continue}d===o&&(o="")}else if('"'===d)o='"',c=!0;else if(":"===d&&u<0&&"@"===l&&!c)u=r.length+1;else if("["===d)o="]";else{if("("===d){s=1;continue}if("<"===d){r="",n="",e.length=0,l="",c=!1,u=-1;continue}}r+=d,n=d,l||It(t.charCodeAt(h))||(l=d)}}return u>=0&&r.indexOf("@",u)>=0&&(r=r.slice(u)),s&&e.push(i.trim()),{address:r.trim(),comments:e.filter((t=>t))}}function Gt(t,e,r){let i,s="text",o={address:[],comment:[],text:[],textWasQuoted:[],quotedLocalAt:[]},n=!1,a=!1;const l={address:"",comment:"",text:""};for(i=e;i<r;i++){const r=t.value(i),c=i>e?t.operatorAt(i-1):"",u=i>e&&t.noBreak(i-1);if(t.isOperator(i))switch(r){case"<":s="address",a=!1;break;case"(":s="comment",a=!1;break;case'"':a=!a,s="text";break;default:s="text",a=!1}else{const h='"'===c&&u&&i>e+1&&'"'===t.operatorAt(i-2);if(u&&o[s].length&&(")"!==c||"@"===l[s]||"@"===r.charAt(0))){const t=o[s].length-1;"text"!==s||a||(n&&"@"===r.charAt(0)&&(o.quotedLocalAt[t]=o.text[t].length),n=!1),o[s][t]+=r,"text"===s&&a&&(o.textWasQuoted[t]=!0)}else o[s].push(r),"text"===s&&(o.textWasQuoted.push(a||h),o.quotedLocalAt.push(h&&"@"===r.charAt(0)?0:-1),n=a);l[s]=r.charAt(r.length-1)}}let c=!1;return!o.text.length&&o.comment.length&&(o.text=o.comment,o.comment=[],c=!0),{data:o,textFromComment:c}}function Ht(t,e,r){return Z(Gt(t,e,r).data.text.join(" "))}function Ft(t,e,r){const i=Gt(t,e,r),s=i.data;let o,n=i.textFromComment;const a=[],l=[];for(const t of s.address){const e=_t(t);for(const t of e.comments)a.push(t);e.address&&l.push(e.address)}if(s.address=l,!s.address.length&&s.text.length&&!n){const t=s.text.map((t=>Mt(t)));for(o=0;o<s.text.length;o++){const e=s.quotedLocalAt[o],r=s.textWasQuoted[o]&&e>=0&&Tt.test(s.text[o].slice(e))?Bt(s.text[o]):"";if(r||!s.textWasQuoted[o]&&Lt(t[o])){s.address=[r||t[o]],s.text.splice(o,1),s.textWasQuoted.splice(o,1),s.quotedLocalAt.splice(o,1);break}}if(!s.address.length)for(o=0;o<s.text.length;o++)if(!s.textWasQuoted[o]){const e=t[o],r=Pt(e);if(r>=0){Rt.lastIndex=r;const t=Rt.exec(e);if(t){s.address=[t[0].trim()],s.text[o]=(e.slice(0,r)+" "+e.slice(r+t[0].length)).trim();break}}s.text[o]=s.text[o].trim()}}!s.text.length&&s.comment.length&&(s.text=s.comment,s.comment=[]),s.address.length>1&&(s.text=s.text.concat(s.address.splice(1)));const c=!s.address.length&&s.textWasQuoted.some((t=>t));let u=s.text.join(" "),h=s.address.join(" ");if(!h&&(f=u.trim(),G.test(f)))return{address:"",name:Z(u)};var f;c&&u.indexOf("@")>=0&&(h=Bt(Ot(u,jt(u))),u=""),({address:h,text:u}=function(t,e){if(t=Mt(t),!At.test(t))return{address:t,text:e};let r;const i=t.match(Et);if(i){if(!i[2])return{address:t,text:e};t=i[1],r=[i[2]]}else{if(t.indexOf('"')>=0)return{address:t,text:e};const i=t.split(/\s+/);let s=i.findIndex(Lt);if(s<0&&(s=i.findIndex((t=>Nt.test(t)))),s<0)return{address:t,text:e};t=i.splice(s,1)[0],r=i}return{address:t,text:[e,...r].filter((t=>t)).join(" ")}}(h,u)),!u&&a.length&&(u=a.join(" "),n=!0);const d=u||h||"",p={address:h||(n?"":u)||"",name:Z(d)};return p.address!==d&&p.address!==p.name||(p.address.match(/@/)?p.name="":p.address=""),p}class Zt{constructor(t){this.str=(t||"").toString(),this.operatorCurrent="",this.operatorExpecting="",this.node=-1,this.escaped=!1,this.inDomainLiteral=!1,this.afterAt=!1,this.inGroup=!1,this.innerQuoted=!1,this.innerComment=0,this.innerLiteral=!1,this.innerEscaped=!1,this.list=new qt(this.str),this.operators={'"':'"',"(":")","<":">",",":"",":":"",";":""}}tokenize(){const t=this.str,e=t.length;for(let r=0;r<e;r++)this.checkChar(t.charAt(r),r);this.closeText(e);const r=this.list,i=r.slots;let s=0;for(let e=0,o=r.length;e<o;e++){const o=i[3*e];let n=i[3*e+1],a=i[3*e+2];if(4&o){const t=this.cleanValue(n,a,o).trim();if(!t)continue;r.cleaned.set(s,t)}else if(!(1&o)){for(;n<a&&It(t.charCodeAt(n));)n++;for(;a>n&&It(t.charCodeAt(a-1));)a--;if(n===a)continue}i[3*s]=o,i[3*s+1]=n,i[3*s+2]=a,s++}return r.length=s,r}closeText(t){this.node>=0&&(this.list.slots[3*this.node+2]=t,this.node=-1)}cleanValue(t,e,r){const i=this.str,s=!!(8&r);let o=!!(16&r),n="";for(let r=t;r<e;r++){const t=i.charAt(r);!s||o||"\\"!==t?(o=!1,"\n"===t?n+=" ":(t.charCodeAt(0)>=33||" "===t||"\t"===t)&&(n+=t)):o=!0}return n}checkChar(t,e){this.escaped||this.operatorExpecting||(!this.inDomainLiteral&&"["===t&&this.afterAt?this.inDomainLiteral=!0:!this.inDomainLiteral||"]"!==t&&","!==t&&";"!==t||(this.inDomainLiteral=!1));let r=!1;if(">"===this.operatorExpecting?(r=this.trackInner(t),!r&&";"===t&&this.inGroup&&(this.closeText(e),this.operatorExpecting="",this.resetInner())):")"!==this.operatorExpecting||this.escaped||("("===t?this.innerComment++:")"===t&&this.innerComment&&(this.innerComment--,r=!0)),this.escaped);else{if(t===this.operatorExpecting&&!r){const r=this.str.charAt(e+1);return this.closeText(e),this.list.push(r&&![" ","\t","\r","\n",",",";"].includes(r)?3:1,e,e+1),")"!==t&&(this.afterAt=!1),this.operatorExpecting="",this.escaped=!1,void this.resetInner()}if(!(this.operatorExpecting||this.inDomainLiteral&&":"===t)&&t in this.operators)return this.closeText(e),this.list.push(1,e,e+1),":"===t?this.inGroup=!0:";"===t&&(this.inGroup=!1),"("!==t&&(this.afterAt=!1),this.operatorExpecting=this.operators[t],this.escaped=!1,void this.resetInner();if(('"'===this.operatorExpecting||")"===this.operatorExpecting)&&"\\"===t)return this.escaped=!0,void(this.node>=0&&(this.list.slots[3*this.node]|=4))}this.node<0&&(this.node=this.list.push(('"'===this.operatorExpecting||")"===this.operatorExpecting?8:0)|(this.escaped?16:0),e,e)),"\n"===t&&(t=" ",this.list.slots[3*this.node]|=4),t.charCodeAt(0)>=33||" "===t||"\t"===t?this.operatorExpecting||" "===t||"\t"===t||(this.afterAt="@"===t):this.list.slots[3*this.node]|=4,this.escaped=!1}trackInner(t){return this.innerEscaped?(this.innerEscaped=!1,!0):this.innerQuoted?("\\"===t?this.innerEscaped=!0:'"'===t&&(this.innerQuoted=!1),!0):this.innerComment?("\\"===t?this.innerEscaped=!0:"("===t?this.innerComment++:")"===t&&this.innerComment--,!0):this.innerLiteral?("]"===t&&(this.innerLiteral=!1),!0):'"'===t?(this.innerQuoted=!0,!0):"("===t?(this.innerComment=1,!0):"["===t&&this.afterAt?(this.innerLiteral=!0,!0):(It(t.charCodeAt(0))||(this.afterAt="@"===t),!1)}resetInner(){this.innerQuoted=!1,this.innerComment=0,this.innerLiteral=!1,this.innerEscaped=!1}}function Jt(t){const e=[];for(let r=t.length-1;r>=0;r--){const i=t[r],s=e.length?e[e.length-1]:null;s&&""===i.address&&i.name&&!i.group&&s.address&&s.name?s.name=i.name+", "+s.name:e.push(i)}return e.reverse()}function Xt(t){const e=function(t){const e=new Zt(t).tokenize(),r=[];let i=null,s=[],o=0;for(let t=0,n=e.length;t<=n;t++){const a=t<n?e.operatorAt(t):"";t<n&&","!==a&&";"!==a&&":"!==a||(":"!==a?(t>o&&(i?s:r).push(Ft(e,o,t)),o=t+1,!i||";"!==a&&t!==n||(i.group=Jt(s),r.push(i),i=null)):(i||(i={name:Ht(e,o,t),group:[]},s=[]),o=t+1))}return Jt(r)}(t);return e}function Yt(t){let e="";const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(t),s=i.byteLength,o=s%3,n=s-o;let a,l,c,u,h;for(let t=0;t<n;t+=3)h=i[t]<<16|i[t+1]<<8|i[t+2],a=(16515072&h)>>18,l=(258048&h)>>12,c=(4032&h)>>6,u=63&h,e+=r[a]+r[l]+r[c]+r[u];return 1===o?(h=i[n],a=(252&h)>>2,l=(3&h)<<4,e+=r[a]+r[l]+"=="):2===o&&(h=i[n]<<8|i[n+1],a=(64512&h)>>10,l=(1008&h)>>4,c=(15&h)<<2,e+=r[a]+r[l]+r[c]+"="),e}const Qt=new Set(["arraybuffer","base64","utf8"]);function Wt(t,e,r){return"subMessage"===t.type?"html"===e?function(t){let e=[];return t.from&&e.push(`<div class="postal-email-header-key">From</div><div class="postal-email-header-value">${kt([t.from])}</div>`),t.subject&&e.push(`<div class="postal-email-header-key">Subject</div><div class="postal-email-header-value postal-email-header-subject">${ct(t.subject)}</div>`),t.date&&e.push(`<div class="postal-email-header-key">Date</div><div class="postal-email-header-value postal-email-header-date" data-date="${ct(t.date)}">${ct(yt(t.date))}</div>`),t.to&&t.to.length&&e.push(`<div class="postal-email-header-key">To</div><div class="postal-email-header-value">${kt(t.to)}</div>`),t.cc&&t.cc.length&&e.push(`<div class="postal-email-header-key">Cc</div><div class="postal-email-header-value">${kt(t.cc)}</div>`),t.bcc&&t.bcc.length&&e.push(`<div class="postal-email-header-key">Bcc</div><div class="postal-email-header-value">${kt(t.bcc)}</div>`),`<div class="postal-email-header">${e.length?'<div class="postal-email-header-row">':""}${e.join('</div>\n<div class="postal-email-header-row">')}${e.length?"</div>":""}</div>`}(t.value):function(t){let e=[];t.from&&e.push({key:"From",val:xt([t.from])}),t.subject&&e.push({key:"Subject",val:t.subject}),t.date&&e.push({key:"Date",val:yt(t.date)}),t.to&&t.to.length&&e.push({key:"To",val:xt(t.to)}),t.cc&&t.cc.length&&e.push({key:"Cc",val:xt(t.cc)}),t.bcc&&t.bcc.length&&e.push({key:"Bcc",val:xt(t.bcc)});let r=e.map((t=>t.key.length)).reduce(((t,e)=>e>t?e:t),0);const i=e.flatMap((t=>{let e=r-t.key.length,i=`${t.key}: ${" ".repeat(e)}`,s=`${" ".repeat(t.key.length+1)} ${" ".repeat(e)}`;return function(t,e){e=e||76;let r,i,s=0,o=(t=(t||"").toString()).length,n="";for(;s<o;){if(r=t.slice(s,s+e),r.length<e){n+=r;break}(i=r.match(/^[^\n\r]*(\r?\n|\r)/))?(r=i[0],n+=r,s+=r.length):((i=r.match(/(\s+)[^\s]*$/))&&i[0].length-(i[1]||"").length<r.length?r=r.slice(0,r.length-(i[0].length-(i[1]||"").length)):(i=t.slice(s+r.length).match(/^[^\s]+(\s*)/))&&(r+=i[0].slice(0,i[0].length-0)),n+=r,s+=r.length,s<o&&(n+="\r\n"))}return n}(t.val,80).split(/\r?\n/).map((t=>t.trim())).map(((t,e)=>`${e?s:i}${t}`))}));let s=i.map((t=>t.length)).reduce(((t,e)=>e>t?e:t),0),o="-".repeat(s);return`\n${o}\n${i.join("\n")}\n${o}\n`}(t.value):r?"html"===e?"<div>"+ct(t.value).replace(/\n/g,"<br />")+"</div>":(i=pt(i=gt(i=(i=t.value).replace(/\r\n|[\n\r\u2028\u2029]/g,""),/<!--/g,!1,/-->/g,!1," "),/<br\b[^>]*>/gi,"\n"),i=gt(i=pt(i,/<\/?(p|div|table|tr|td|th)\b[^>]*>/gi,"\n\n"),/<script\b/gi,!0,/<\/script\b/gi,!0," "),i=bt(i=gt(i,/<style\b/gi,!0,/<\/style\b/gi,!0," "),/<body\b/gi),i=bt(i,/<\/head\b/gi),i=wt(i=bt(i,/<!doctype\b/gi),/<\/body\b/gi),i=pt(i=dt(i=wt(i,/<\/html\b/gi),(t=>mt(t,/<a\b/gi,/<a\b[^>]*href\s*=\s*["']?([^\s"']+)[^>]*>/iy,((t,e)=>` (${e}) `)))),/<\/?(span|em|i|strong|b|u|a)\b[^>]*>/gi,""),i=pt(i=mt(i,/<li\b/gi,/<li\b[^>]*>[\n\u0001\s]*/iy,(()=>"* ")),/<hr\b[^>]*>/g,"\n-------------\n"),function(t){return t.replace(/&(#\d+|#x[a-f0-9]+|[a-z]+\d*);?/gi,((t,e)=>{if("string"==typeof nt[t])return nt[t];if("#"!==e.charAt(0)||";"!==t.charAt(t.length-1))return t;let r;r="x"===e.charAt(1).toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10);let i="";return 0===r||r>=55296&&r<=57343||r>1114111?"�":(r=at.get(r)??r,r>65535&&(r-=65536,i+=String.fromCharCode(r>>>10&1023|55296),r=56320|1023&r),i+=String.fromCharCode(r),i)}))}(i=(i=pt(i,/<[^>]*>/g," ")).replace(/\u0001/g,"\n").replace(/[ \t]+/g," ").replace(/^\s+$/gm,"").replace(/\n\n+/g,"\n\n").replace(/^\n+/,"\n").replace(/\n+$/,"\n"))):t.value;var i}const Kt=new Uint8Array([10]);function te(t){if(!t)return 0;let e=0;for(const r of Array.isArray(t)?t:[t])e+=1+(r.group?r.group.length:0);return e}function ee(t,e,r,i=0){if(null==t)return e;if("number"!=typeof t||!Number.isInteger(t)||t<i)throw tt("EINVALIDOPTION",`${r} must be a ${i?"positive":"non-negative"} integer`);return t}class re{static async parse(t,e){return new re(e).parse(t)}constructor(t,e){this.options=t||{},this.rfc822NestingDepth=e?e.rfc822NestingDepth+1:0,this.limits=e?e.limits:function(t){return{maxNestingDepth:ee(t.maxNestingDepth,256,"maxNestingDepth"),maxHeadersSize:ee(t.maxHeadersSize,2097152,"maxHeadersSize"),maxPartCount:ee(t.maxPartCount,1e4,"maxPartCount",1),maxRfc822NestingDepth:ee(t.maxRfc822NestingDepth,10,"maxRfc822NestingDepth"),maxForwardedAddresses:ee(t.maxForwardedAddresses,1e4,"maxForwardedAddresses")}}(this.options),this.counters=e?e.counters:{headerSize:0,partCount:0,forwardedAddresses:0},this.root=this.currentNode=new ot({postalMime:this}),this.boundaries=[],this.textContent={},this.textMap=new Map,this.textTypes=new Set,this.attachments=[],this.forceRfc822Attachments=!1,this.attachmentEncoding=function(t){const e=String(t||"").replace(/[-_\s]/g,"").toLowerCase()||"arraybuffer";if(!Qt.has(e))throw tt("EINVALIDOPTION",`Unknown attachment encoding ${e}`);return e}(this.options.attachmentEncoding),this.started=!1}async finalize(){await this.root.finalize()}async processLine(t,e,r){let i=this.boundaries;if(i.length&&t.length>2&&45===t[0]&&45===t[1])for(let e=0;e<i.length;e++){let s=i[e];if(t.length<s.value.length+2)continue;let o=!0;for(let e=0;e<s.value.length;e++)if(t[e+2]!==s.value[e]){o=!1;break}if(!o)continue;let n=s.value.length+2,a=!1;t.length>=s.value.length+4&&45===t[s.value.length+2]&&45===t[s.value.length+3]&&(a=!0,n=s.value.length+4);let l=!0;for(let e=n;e<t.length;e++)if(!g(t[e])){l=!1;break}if(l)return a?(await s.node.finalize(!0),this.currentNode=s.node.parentNode||this.root):(await s.node.finalizeChildNodes(!0),this.currentNode=new ot({postalMime:this,parentNode:s.node,parentMultipartType:s.node.contentType.multipart})),r?this.finalize():void 0}return this.currentNode.feed(t,e)?this.processLine(t,e,r):r?this.finalize():void 0}readLine(){let t=this.readPos,e=this.readPos;for(;this.readPos<this.av.length;){const r=this.av[this.readPos++];if(13!==r&&10!==r&&(e=this.readPos),10===r)return{bytes:new Uint8Array(this.buf,t,e-t),lineBreak:this.av.subarray(e,this.readPos),done:this.readPos>=this.av.length}}return{bytes:new Uint8Array(this.buf,t,e-t),lineBreak:Kt,done:this.readPos>=this.av.length}}addTextEntry(t,e,r){let i=this.textMap.get(t);i||(i={},this.textMap.set(t,i));const s=i[e]||[];i[e]=s,s.push(r),this.textTypes.add(e)}async collectNode(t,e,r){if(t.contentType.multipart)"alternative"===t.contentType.multipart?e=t:"related"===t.contentType.multipart&&(r=!0);else{const i=this.isInlineMessageRfc822(t),s=i&&this.rfc822NestingDepth>=this.limits.maxRfc822NestingDepth;i&&!s?await this.collectSubMessage(t):this.isInlineTextNode(t)?this.addTextEntry(e||t,"text/html"===t.contentType.parsed.value?"html":"plain",{type:"text",value:t.getTextContent()}):t.content&&this.collectAttachment(t,t.content,r,s)}for(let i of t.childNodes)await this.collectNode(i,e,r)}async collectSubMessage(t){const e=new re({attachmentEncoding:"arraybuffer"},this),r=await e.parse(t.content||new ArrayBuffer(0));if(this.counters.forwardedAddresses+=te(r.from)+te(r.to)+te(r.cc)+te(r.bcc),this.counters.forwardedAddresses>this.limits.maxForwardedAddresses)throw tt("EMAXFORWARDEDADDRESSES",`Maximum forwarded address count of ${this.limits.maxForwardedAddresses} addresses exceeded`);const i=e.textTypes.has("plain"),s=e.textTypes.has("html");!i&&s||this.addTextEntry(t,"plain",{type:"subMessage",value:r}),s&&this.addTextEntry(t,"html",{type:"subMessage",value:r}),e.textMap.forEach(((t,e)=>{this.textMap.set(e,t)}));for(let t of r.attachments)this.attachments.push(t)}collectAttachment(t,e,r,i){const s=t.contentDisposition.parsed.params.filename||t.contentType.parsed.params.name||null,o={filename:s?Z(z(s)):null,mimeType:t.contentType.parsed.value,disposition:t.contentDisposition.parsed.value||null};switch(r&&t.contentId&&!i&&(o.related=!0),i&&(o.rfc822DepthExceeded=!0),t.contentDescription&&(o.description=Z(t.contentDescription)),t.contentId&&(o.contentId=t.contentId),t.contentType.parsed.value){case"text/calendar":case"application/ics":{t.contentType.parsed.params.method&&(o.method=t.contentType.parsed.params.method.toString().toUpperCase().trim());const e=t.getTextContent();let r=e.length;for(;r>0&&10===e.charCodeAt(r-1);)r--;o.content=m.encode(e.slice(0,r)+"\n");break}default:o.content=e}this.attachments.push(o)}renderTextContent(){const t={};this.textMap.forEach((e=>{this.textTypes.forEach((r=>{const i=t[r]||[];t[r]=i;const s=e[r],o=s||e["html"===r?"plain":"html"]||[];for(const t of o)i.push(Wt(t,r,!s))}))})),Object.keys(t).forEach((e=>{this.textContent[e]=t[e].join("\n")}))}isInlineTextNode(t){if("attachment"===t.contentDisposition.parsed.value)return!1;switch(t.contentType.parsed.value){case"text/html":case"text/plain":return!0;default:return!1}}isInlineMessageRfc822(t){if(this.forceRfc822Attachments||"message/rfc822"!==t.contentType.parsed.value)return!1;const e=t.contentTransferEncoding.encoding;return"base64"!==e&&"quoted-printable"!==e&&"inline"===(t.contentDisposition.parsed.value||(this.options.rfc822Attachments?"attachment":"inline"))}hasReportParts(){let t=!1,e=r=>{r.contentType.multipart||["message/delivery-status","message/feedback-report"].includes(r.contentType.parsed.value)&&(t=!0);for(let t of r.childNodes)e(t)};return e(this.root),t}async resolveStream(t){let e=0,r=[];const i=t.getReader();for(;;){const{done:t,value:s}=await i.read();if(t)break;if(!ArrayBuffer.isView(s)){const t=tt("EINVALIDINPUT","Stream chunks must be Uint8Array values");throw i.cancel(t).catch((()=>{})),t}r.push(new Uint8Array(s.buffer,s.byteOffset,s.byteLength)),e+=s.byteLength}const s=new Uint8Array(e);let o=0;for(let t of r)s.set(t,o),o+=t.length;return s}async resolveInput(t){let e=t;var r;if((r=e)&&"function"==typeof r.getReader&&(e=await this.resolveStream(e)),e=e||new ArrayBuffer(0),"string"==typeof e&&(e=m.encode(e)),function(t){return t instanceof Blob||"[object Blob]"===Object.prototype.toString.call(t)}(e)&&(e=await $(e)),ArrayBuffer.isView(e))return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);if(!function(t){const e=Object.prototype.toString.call(t);return"[object ArrayBuffer]"===e||"[object SharedArrayBuffer]"===e}(e))throw tt("EINVALIDINPUT","Unsupported email input type");return e}buildMessage(){const t=this.root.headers,e={headers:t.map((t=>({key:t.key,originalKey:t.originalKey,value:t.value})))};for(const r of["from","sender"]){const i=t.find((t=>t.key===r));if(i&&i.value){const t=Xt(i.value);t&&t.length&&(e[r]=t[0])}}for(const[r,i]of[["delivered-to","deliveredTo"],["return-path","returnPath"]]){const s=t.find((t=>t.key===r));if(s&&s.value){const t=Xt(s.value);t&&t.length&&t[0].address&&(e[i]=t[0].address)}}for(const[r,i]of[["to","to"],["cc","cc"],["bcc","bcc"],["reply-to","replyTo"]]){const s=[];for(const e of t)if(e.key===r&&e.value)for(const t of Xt(e.value))s.push(t);s.length&&(e[i]=s)}for(const[r,i]of[["subject","subject"],["message-id","messageId"],["in-reply-to","inReplyTo"],["references","references"]]){const s=t.find((t=>t.key===r));s&&s.value&&(e[i]=Z(s.value))}let r=t.find((t=>"date"===t.key));if(r){let t=new Date(r.value);e.date="Invalid Date"===t.toString()?r.value:t.toISOString()}return this.textContent.html&&(e.html=this.textContent.html),this.textContent.plain&&(e.text=this.textContent.plain),e.attachments=this.attachments,e.headerLines=this.root.rawHeaderLines.slice(),e}encodeAttachments(){switch(this.attachmentEncoding){case"arraybuffer":break;case"base64":for(let t of this.attachments)t.content&&"string"!=typeof t.content&&(t.content=Yt(t.content),t.encoding="base64");break;case"utf8":{let t=new TextDecoder("utf8");for(let e of this.attachments)e.content&&"string"!=typeof e.content&&(e.content=t.decode(e.content),e.encoding="utf8");break}}}async parse(t){if(this.started)throw tt("EPARSERREUSED","Can not reuse parser, create a new PostalMime object");for(this.started=!0,this.buf=await this.resolveInput(t),this.av=new Uint8Array(this.buf),this.readPos=0;this.readPos<this.av.length;){const t=this.readLine();await this.processLine(t.bytes,t.lineBreak,t.done)}this.forceRfc822Attachments=Boolean(this.options.forceRfc822Attachments)||this.hasReportParts(),await this.collectNode(this.root,!1,!1),0===this.rfc822NestingDepth&&this.renderTextContent();const e=this.buildMessage();return this.encodeAttachments(),e}}var ie,se,oe,ne,ae,le,ce;const ue=new Set(["image/png","image/jpeg","image/jpg","image/gif","image/webp","image/bmp","image/x-icon","image/vnd.microsoft.icon"]);const he=null!==(se=null===(ie=n.protocols)||void 0===ie?void 0:ie.src)&&void 0!==se?se:[],fe=Object.assign(Object.assign({},n),{clobberPrefix:"",protocols:Object.assign(Object.assign({},n.protocols),{src:[...he,"data"]}),attributes:Object.assign(Object.assign({},n.attributes),{table:[...null!==(oe=n.attributes.table)&&void 0!==oe?oe:[],"cellPadding","cellSpacing","border","dir","width","height"],font:["color","size","face"],meta:["charset","content","name"],colgroup:[...null!==(ne=n.attributes.colgroup)&&void 0!==ne?ne:[],"span"],col:[...null!==(ae=n.attributes.col)&&void 0!==ae?ae:[],"width","span"],"*":[...null!==(le=n.attributes["*"])&&void 0!==le?le:[],"style","className","id","dataRemoteSrc"]}),tagNames:[...null!==(ce=n.tagNames)&&void 0!==ce?ce:[],"html","head","body","title","meta","style","colgroup","col","center","font"]});function de(t){const e=[/behavior\s*:/gi,/expression\s*\(/gi,/-moz-binding\s*:/gi,/vbscript\s*:/gi,/javascript\s*:/gi];let r=t;for(const t of e)r=r.replaceAll(t,"");return r=r.replaceAll(/@import\s+(?:url\([^)]{0,2000}\)|[^;]{0,2000});?/gi,""),r=r.replaceAll(/url\(\s{0,50}(?:"([^"]{0,2000})"|'([^']{0,2000})'|([^"')\s]{1,2000}))\s{0,50}\)/gi,((t,e,r,i)=>{var s,o;return(t=>{const e=t.trim().toLowerCase();return!!(e.startsWith("data:")||e.startsWith("cid:")||e.startsWith("#"))||!e.startsWith("//")&&!/^[a-z][a-z0-9+.-]*:/i.test(e)})((null!==(o=null!==(s=null!=e?e:r)&&void 0!==s?s:i)&&void 0!==o?o:"").trim())?t:'url("")'})),r}async function pe(t){const e=await async function(t){try{const e=await fetch(t);if(!e.ok)throw new Error(`Failed to fetch email (${e.status} ${e.statusText})`);return await e.arrayBuffer()}catch(e){const r=e instanceof Error?e.message:String(e);throw new Error(`Failed to load email from ${t}: ${r}`,{cause:e})}}(t),r=await async function(t,e){try{return await re.parse(e,{attachmentEncoding:"arraybuffer"})}catch(e){const r=e instanceof Error?e.message:String(e);throw new Error(`Failed to parse email from ${t}: ${r}`,{cause:e})}}(t,e),i={subject:r.subject||void 0,from:qe(r.from),to:ke(r.to),cc:ke(r.cc),date:me(r,"date")||r.date||void 0},{attachments:s,cidUrlById:o}=function(t){const e=[],r=new Map,i=t.attachments||[];for(const t of i){const i=ge(t.contentId),o=Boolean(i)&&"attachment"!==t.disposition||t.related||"inline"===t.disposition,n=(s=t.content)instanceof ArrayBuffer?new Uint8Array(s):ArrayBuffer.isView(s)?new Uint8Array(s.buffer,s.byteOffset,s.byteLength):void 0;if(!o){e.push({filename:t.filename||void 0,mimeType:t.mimeType||void 0,size:null==n?void 0:n.byteLength});continue}const a=Boolean(n);if(!i||!a){e.push({filename:t.filename||void 0,mimeType:t.mimeType||"application/octet-stream",size:null==n?void 0:n.byteLength});continue}const l=we(t.mimeType,n,t.filename),c=be(n);r.set(i,`data:${l};base64,${c}`)}var s;return{attachments:e,cidUrlById:r}}(r);return s.length>0&&(i.attachments=s),await async function(t,e,r){const i=(e.html||"").trim();if(i){const e=function(t,e){return 0===e.size?t:t.replaceAll(/(src\s*=\s*["']?)cid:([^"'\s>]+)(["']?)/gi,((t,r,i,s)=>{const o=ge(function(t){try{return decodeURIComponent(t)}catch(e){return t}}(i)),n=e.get(o);return n?`${r}${n}${s}`:t}))}(i,r);t.bodyHtml=await async function(t){const e=await a().use(l).use(c,fe).use((()=>t=>{u(t,"element",(t=>{!function(t){var e;if((null==t?void 0:t.tagName)&&((null===(e=t.properties)||void 0===e?void 0:e.style)&&"string"==typeof t.properties.style&&(t.properties.style=de(t.properties.style)),"style"===t.tagName&&Array.isArray(t.children)))for(const e of t.children)"text"===(null==e?void 0:e.type)&&"string"==typeof e.value&&(e.value=de(e.value))}(t),function(t){var e;if(!(null==t?void 0:t.tagName)||"img"!==t.tagName)return;const r=null===(e=t.properties)||void 0===e?void 0:e.src;if("string"!=typeof r)return;const i=function(t){const e=t.trim();if(!e)return;if(!e.toLowerCase().startsWith("data:"))return;const r=function(t){var e;const r=/^data:([^;,]+)(?:;charset=[^;,]+)?(?:;base64)?,/i.exec(t);return(null===(e=null==r?void 0:r[1])||void 0===e?void 0:e.toLowerCase())||void 0}(e);return r&&ue.has(r)?e:void 0}(r);if(i)return t.properties.src=i,void delete t.properties.dataRemoteSrc;const s=function(t){const e=t.trim(),r=e.toLowerCase();if(r.startsWith("http://")||r.startsWith("https://"))return e}(r);if(s)return t.properties.dataRemoteSrc=s,void delete t.properties.src;delete t.properties.src}(t)}))})).use(h).process(t);return e.toString()}(e)}else t.bodyText=(e.text||"").trim()||void 0}(i,r,o),i}function me(t,e){const r=(t.headers||[]).find((t=>t.key===e.toLowerCase()));return(null==r?void 0:r.value)||void 0}function ge(t){if(!t)return"";let e=t.trim();return e.toLowerCase().startsWith("cid:")&&(e=e.slice(4).trim()),e.startsWith("<")&&(e=e.slice(1)),e.endsWith(">")&&(e=e.slice(0,-1)),e.trim()}function be(t){if("function"==typeof btoa){let e="";for(const r of t)e+=String.fromCharCode(r);return btoa(e)}return Buffer.from(t).toString("base64")}function we(t,e,r){const i="string"==typeof t?t.trim().toLowerCase():"",s=function(t){var e,r,i,s,o;return null!==(o=null!==(s=null!==(i=null!==(r=null!==(e=function(t){if(ve(t,[137,80,78,71,13,10,26,10]))return"image/png"}(t))&&void 0!==e?e:function(t){if(ve(t,[255,216,255]))return"image/jpeg"}(t))&&void 0!==r?r:function(t){const e=ye(t,0,6);if("GIF87a"===e||"GIF89a"===e)return"image/gif"}(t))&&void 0!==i?i:function(t){const e=ye(t,0,4),r=ye(t,8,12);if("RIFF"===e&&"WEBP"===r)return"image/webp"}(t))&&void 0!==s?s:function(t){if(ve(t,[0,0,1,0]))return"image/x-icon"}(t))&&void 0!==o?o:function(t){if(t.length<5)return;const e=new TextDecoder("utf-8",{fatal:!1}).decode(t.slice(0,Math.min(t.length,256))).trimStart().toLowerCase();return e.startsWith("<svg")||e.startsWith("<?xml")&&e.includes("<svg")?"image/svg+xml":void 0}(t)}(e);if(i.startsWith("image/")){if(o=i,!(n=s)||o===n||"image/jpg"===o&&"image/jpeg"===n||"image/vnd.microsoft.icon"===o&&"image/x-icon"===n)return i;if(s)return s}var o,n;if(s)return s;const a=function(t){const e=null==t?void 0:t.trim().toLowerCase();if(!e||!e.includes("."))return;return{png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",webp:"image/webp",svg:"image/svg+xml",ico:"image/x-icon",bmp:"image/bmp"}[e.slice(e.lastIndexOf(".")+1)]}(r);return a||i||"application/octet-stream"}function ve(t,e){return!(t.length<e.length)&&e.every(((e,r)=>t[r]===e))}function ye(t,e,r){return t.length<r?"":String.fromCodePoint(...t.slice(e,r))}function xe(t){return"string"==typeof t&&t.length>0}function ke(t){if(!t)return;const e=(Array.isArray(t)?t:[t]).map((t=>qe(t))).filter(xe);return e.length>0?e.join(", "):void 0}function qe(t){if(!t)return;if(Array.isArray(t))return ke(t);if(t.group&&Array.isArray(t.group)){const e=(t.name||"").trim(),r=t.group.map((t=>qe(t))).filter(xe).join(", ");return e&&r?`${e}: ${r}`:e||r||void 0}const e=(t.name||"").trim(),r=(t.address||"").trim();if(e&&r){const t=function(t){if(!t)return"";if(!t.includes(",")&&!t.includes('"'))return t;return`"${t.replaceAll("\\","\\\\").replaceAll('"',String.raw`\"`)}"`}(e);return`${t} <${r}>`}return e||r||void 0}const Ae=class{constructor(s){t(this,s),this.action=e(this,"action",7),this.allowFullscreen=!1,this.allowOpenInNewTab=!1,this.allowDownload=!1,this.language="en",this.officeViewer="microsoft-office",this.isFullscreen=!1,this.loading=!0,this.fileUrl="",this.renderPdf=()=>[r("div",{class:"action-menu-for-pdf-files"},this.renderActionMenu()),r("iframe",{src:this.sanitizeUrl(this.fileUrl),loading:"lazy"})],this.renderImage=()=>{var t;return r(i,null,this.renderButtons(),r(f,{image:{src:this.sanitizeUrl(this.fileUrl),alt:null!==(t=this.alt)&&void 0!==t?t:"",referrerpolicy:"no-referrer"}}))},this.renderVideo=()=>r("video",{controls:!0},r("source",{src:this.sanitizeUrl(this.fileUrl)})),this.renderAudio=()=>r("audio",{controls:!0},r("source",{src:this.sanitizeUrl(this.fileUrl)})),this.renderText=()=>{const t=[this.renderNoFileSupportMessage(!1)];return[this.renderButtons(),r("object",{data:this.sanitizeUrl(this.fileUrl),type:"text/plain"},t)]},this.renderEmail=()=>this.email?[this.renderButtons(),r("limel-email-viewer",{email:this.email,fallbackUrl:this.sanitizeUrl(this.fileUrl),language:this.language},r("div",{slot:"fallback"},this.renderNoFileSupportMessage(!1)))]:this.renderFileNotFoundMessage(),this.renderOffice=()=>[r("div",{class:"action-menu-for-office-files"},this.renderActionMenu()),r("iframe",{src:this.getOfficeViewerUrl()+encodeURIComponent(this.sanitizeUrl(this.fileUrl))+"&embedded=true",loading:"lazy"})],this.isOfficeFileAccessibleViaURL=()=>"office"===this.fileType&&!(this.fileUrl.startsWith("http://")||this.fileUrl.startsWith("https://")),this.getOfficeViewerUrl=()=>({"microsoft-office":"https://view.officeapps.live.com/op/embed.aspx?src=","google-drive":"https://docs.google.com/gview?url="}[this.officeViewer]),this.renderNoFileSupportMessage=(t=!0)=>r("div",{class:"no-support",role:"alert"},r("h1",null,"⚠️"),r("p",null,this.getTranslation("file-viewer.message.unsupported-filetype")),r("p",{style:{textAlign:"center",margin:"0 auto"}},this.getTranslation("file-viewer.message.try-other-options")),t&&this.renderDownloadButton()),this.renderFileNotFoundMessage=()=>r("div",{class:"no-support",role:"alert"},r("h1",null,"⚠️"),r("p",null,this.getTranslation("file-viewer.message.file-not-found"))),this.renderButtons=()=>r("div",{class:"buttons"},this.renderActionMenu(),this.renderToggleFullscreenButton(),this.renderDownloadButton(),this.renderOpenInNewTabButton()),this.renderToggleFullscreenButton=()=>{if(!this.allowFullscreen||!this.fullscreen.isSupported())return;const t=this.isFullscreen?"multiply":"fit_to_width",e=this.getTranslation(this.isFullscreen?"file-viewer.exit-fullscreen":"file-viewer.open-in-fullscreen");return[r("button",{class:"button--toggle-fullscreen",id:"tooltip-toggle-fullscreen",role:"button",onClick:this.handleToggleFullscreen},r("limel-icon",{name:t}),r("limel-tooltip",{label:e,elementId:"tooltip-toggle-fullscreen",openDirection:"left"}))]},this.renderDownloadButton=()=>{var t;if(this.allowDownload&&!this.isFullscreen)return r("a",{class:"button--download",id:"tooltip-download",role:"button",download:null!==(t=this.filename)&&void 0!==t?t:"",href:this.sanitizeUrl(this.fileUrl),target:"_blank"},r("limel-icon",{name:"download_2"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.download"),elementId:"tooltip-download",openDirection:"left"}))},this.renderOpenInNewTabButton=()=>{if(this.allowOpenInNewTab&&!this.isFullscreen)return r("a",{class:"button--new-tab",id:"tooltip-new-tab",role:"button",href:this.sanitizeUrl(this.fileUrl),target:"_blank",rel:"noopener noreferrer"},r("limel-icon",{name:"external_link"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.open-in-new-tab"),elementId:"tooltip-new-tab",openDirection:"left"}))},this.renderActionMenu=()=>{if(this.actions&&!this.isFullscreen)return r("limel-menu",{class:"action-menu",items:this.actions,onSelect:this.emitOnAction,"open-direction":"left"},r("button",{class:"button--action",id:"tooltip-more",role:"button",slot:"trigger"},r("limel-icon",{name:"menu_2"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.more-actions"),elementId:"tooltip-more",openDirection:"left"})))},this.createURL=async t=>{this.revokePdfBlobUrl();const e={pdf:this.loadPdf,email:this.loadEmail}[t]||this.loadDefault;try{await e()}finally{this.loading=!1}},this.loadPdf=async()=>{const t=await fetch(this.url);if(!t.ok)throw new Error(`Failed to load PDF (${t.status} ${t.statusText})`);const e=await t.blob();this.fileUrl=URL.createObjectURL(e),this.pdfBlobUrl=this.fileUrl},this.loadEmail=async()=>{try{this.email=await pe(this.url),this.fileUrl=this.url}catch(t){this.email=void 0,this.fileUrl=""}},this.loadDefault=async()=>{this.fileUrl=this.url},this.handleToggleFullscreen=()=>{this.fullscreen.isSupported()&&(this.fullscreen.toggle(),this.isFullscreen=!this.isFullscreen)},this.emitOnAction=t=>{t.stopPropagation(),this.action.emit(t.detail)},this.fullscreen=new p(this.HostElement)}disconnectedCallback(){void 0!==this.revokeAnimationFrame&&cancelAnimationFrame(this.revokeAnimationFrame),this.revokeAnimationFrame=requestAnimationFrame((()=>{this.revokePdfBlobUrl(),this.revokeAnimationFrame=void 0}))}connectedCallback(){void 0!==this.revokeAnimationFrame&&(cancelAnimationFrame(this.revokeAnimationFrame),this.revokeAnimationFrame=void 0)}async componentWillLoad(){this.fileType=d(this.filename,this.url),await this.createURL(this.fileType)}render(){return this.isOfficeFileAccessibleViaURL?this.loading?r("limel-spinner",{size:"x-small",limeBranded:!1}):this.renderFileViewer():this.renderNoFileSupportMessage()}async watchUrl(t,e){t!==e&&(this.loading=!0,this.fileType=d(this.filename,this.fileUrl),await this.createURL(this.fileType))}renderFileViewer(){return({pdf:this.renderPdf,image:this.renderImage,video:this.renderVideo,audio:this.renderAudio,text:this.renderText,email:this.renderEmail,office:this.renderOffice}[this.fileType]||this.renderNoFileSupportMessage)()}revokePdfBlobUrl(){this.pdfBlobUrl&&(URL.revokeObjectURL(this.pdfBlobUrl),this.pdfBlobUrl=void 0)}sanitizeUrl(t){if(!(null==t?void 0:t.trim()))return"";try{const e=new URL(t,window.location.href);return["http:","https:","blob:"].includes(e.protocol)?e.href:""}catch(t){return""}}getTranslation(t){return o.get(t,this.language)}get HostElement(){return s(this)}static get watchers(){return{url:[{watchUrl:0}]}}};Ae.style='@charset "UTF-8";.buttons{position:absolute;z-index:1;bottom:0.25rem;right:0.25rem;display:flex;flex-direction:column;gap:0.25rem}@media (pointer: coarse){.buttons{gap:0.5rem}}.no-support{display:flex;flex-direction:column;gap:0.5rem;align-items:center;border:1px dashed rgb(var(--contrast-600));border-radius:0.5rem;padding:1.25rem}.no-support h1,.no-support p{margin:0}[class^=button--]{all:unset;transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal)}[class^=button--]:hover,[class^=button--]:focus,[class^=button--]:focus-visible{will-change:color, background-color, box-shadow, transform}[class^=button--]:hover,[class^=button--]:focus-visible{transform:translate3d(0, -0.04rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}[class^=button--]:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}[class^=button--]:hover,[class^=button--]:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}[class^=button--]:focus{outline:none}[class^=button--]:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}[class^=button--]{display:flex;align-items:center;justify-content:center;border-radius:50%;width:var(--limel-file-viewer-size-of-buttons);height:var(--limel-file-viewer-size-of-buttons);background-color:rgba(var(--contrast-100), 0.8);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem)}[class^=button--] limel-icon{transition:color 0.2s ease;width:1.25rem;color:rgb(var(--contrast-1200))}[class^=button--]:hover limel-icon{color:rgb(var(--contrast-1400))}.action-menu-for-pdf-files,.action-menu-for-office-files{position:absolute;right:0.75rem}.action-menu-for-pdf-files{bottom:0.75rem}.action-menu-for-office-files{top:0.75rem}:host{--limel-file-viewer-size-of-buttons:2rem;isolation:isolate;position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:100%}*{box-sizing:border-box}img,video,audio,object,iframe{max-height:100%;max-width:100%;box-sizing:border-box}iframe{border:none;width:100%;height:100%;min-height:20rem}img{min-width:7rem;object-fit:contain}video{width:100%;height:auto}audio{width:100%}object{width:100%;height:100%}object[type="application/pdf"]{min-height:20rem}object[type="text/plain"]{border-radius:0.25rem;padding-right:var(--limel-file-viewer-size-of-buttons);overflow-y:auto}:host(:fullscreen){background-color:rgb(var(--color-gray-darker))}:host(:fullscreen) object[type="text/plain"]{max-width:50rem;max-height:calc(100% - 2rem)}:host(:-webkit-full-screen){background-color:rgb(var(--color-gray-darker))}:host(:-webkit-full-screen) object[type="text/plain"]{max-width:50rem;max-height:calc(100% - 2rem)}';export{Ae as limel_file_viewer}
|
|
1
|
+
import{r as t,c as e,h as r,F as i,a as s}from"./p-BU9IJqli.js";import{t as o}from"./p-Dzp8dXTo.js";import{d as n,u as a,r as l,a as c,v as u,b as h}from"./p-CbPYnlF-.js";import{I as f}from"./p-N9vxZMhe.js";import"./p-ChagAaNf.js";import"./p-B85MJLTf.js";function d(t,e){const r=t||e;return r&&{pdf:"pdf",jpg:"image",jpeg:"image",heic:"image",bmp:"image",png:"image",gif:"image",svg:"image",svgz:"image",ep:"image",eps:"image",avi:"video",flv:"video",h264:"video",mov:"video",mp4:"video",mwv:"video",mkv:"video",mp3:"audio",wav:"audio",wma:"audio",ogg:"audio",txt:"text",json:"text",html:"text",xml:"text",eml:"email",doc:"office",docx:"office",odt:"office",dot:"office",dotx:"office",docm:"office",dotm:"office",pot:"office",ppt:"office",pptx:"office",odp:"office",potx:"office",potm:"office",pps:"office",ppsx:"office",ppsm:"office",pptm:"office",ppam:"office",pages:"office",xls:"office",xlsx:"office",xlsm:"office",xlsb:"office",ods:"office",csv:"office",numbers:"office"}[r.split(".").pop().toLowerCase()]||"unknown"}class p{constructor(t){this.requestFullscreen=()=>{this.enter&&this.enter()},this.exitFullscreen=()=>{this.exit&&this.exit.bind(window.document)()},this.toggle=()=>{const t=window.document;t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement?this.exitFullscreen():this.requestFullscreen()},this.enter=t.requestFullscreen||t.msRequestFullscreen||t.mozRequestFullScreen||t.webkitRequestFullscreen,this.enter&&(this.enter=this.enter.bind(t));const e=window.document;this.exit=e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen}isSupported(){return!!this.enter}}const m=new TextEncoder,g=t=>32===t||9===t,b=new Uint8Array(256);for(let t=0;t<64;t++)b["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(t)]=t;function w(t){let e=t.length;for(;e>0&&"="===t.charAt(e-1);)e--;e%4==1&&e--;const r=e%4,i=3*Math.floor(e/4)+(r?r-1:0),s=new ArrayBuffer(i),o=new Uint8Array(s);let n=0;for(let r=0;r<e;r+=4){let e=b[t.charCodeAt(r)],s=b[t.charCodeAt(r+1)],a=b[t.charCodeAt(r+2)],l=b[t.charCodeAt(r+3)];o[n++]=e<<2|s>>4,n<i&&(o[n++]=(15&s)<<4|a>>2),n<i&&(o[n++]=(3&a)<<6|63&l)}return s}const v=new Map([["iso88598i","iso-8859-8"],["iso88598e","iso-8859-8"],["shiftjis","shift_jis"],["windows31j","shift_jis"],["mskanji","shift_jis"],["eucjp","euc-jp"],["iso2022jp","iso-2022-jp"],["iso2022jp1","iso-2022-jp"],["iso2022jp2","iso-2022-jp"],["junet","iso-2022-jp"],["euckr","euc-kr"],["uhc","euc-kr"],["tis620","windows-874"]]),y=new Map([["932","shift_jis"],["936","gbk"],["949","euc-kr"],["950","big5"],["874","windows-874"],["51932","euc-jp"],["50220","iso-2022-jp"],["50221","iso-2022-jp"],["50222","iso-2022-jp"]]),x=/^(?:cp|windows|ms|ibm)(\d+)$/,k=new Set(["unicode-1-1-utf-8 unicode11utf8 unicode20utf8 utf-8 utf8 x-unicode20utf8","866 cp866 csibm866 ibm866","csisolatin2 iso-8859-2 iso-ir-101 iso8859-2 iso88592 iso_8859-2 iso_8859-2:1987 l2 latin2","csisolatin3 iso-8859-3 iso-ir-109 iso8859-3 iso88593 iso_8859-3 iso_8859-3:1988 l3 latin3","csisolatin4 iso-8859-4 iso-ir-110 iso8859-4 iso88594 iso_8859-4 iso_8859-4:1988 l4 latin4","csisolatincyrillic cyrillic iso-8859-5 iso-ir-144 iso8859-5 iso88595 iso_8859-5 iso_8859-5:1988","arabic asmo-708 csiso88596e csiso88596i csisolatinarabic ecma-114 iso-8859-6 iso-8859-6-e","iso-8859-6-i iso-ir-127 iso8859-6 iso88596 iso_8859-6 iso_8859-6:1987","csisolatingreek ecma-118 elot_928 greek greek8 iso-8859-7 iso-ir-126 iso8859-7 iso88597 iso_8859-7","iso_8859-7:1987 sun_eu_greek","csiso88598e csisolatinhebrew hebrew iso-8859-8 iso-8859-8-e iso-ir-138 iso8859-8 iso88598 iso_8859-8","iso_8859-8:1988 visual","csiso88598i iso-8859-8-i logical","csisolatin6 iso-8859-10 iso-ir-157 iso8859-10 iso885910 l6 latin6","iso-8859-13 iso8859-13 iso885913","iso-8859-14 iso8859-14 iso885914","csisolatin9 iso-8859-15 iso8859-15 iso885915 iso_8859-15 l9","iso-8859-16","cskoi8r koi koi8 koi8-r koi8_r","koi8-ru koi8-u","csmacintosh mac macintosh x-mac-roman","dos-874 iso-8859-11 iso8859-11 iso885911 tis-620 windows-874","cp1250 windows-1250 x-cp1250","cp1251 windows-1251 x-cp1251","ansi_x3.4-1968 ascii cp1252 cp819 csisolatin1 ibm819 iso-8859-1 iso-ir-100 iso8859-1 iso88591","iso_8859-1 iso_8859-1:1987 l1 latin1 us-ascii windows-1252 x-cp1252","cp1253 windows-1253 x-cp1253","cp1254 csisolatin5 iso-8859-9 iso-ir-148 iso8859-9 iso88599 iso_8859-9 iso_8859-9:1989 l5 latin5","windows-1254 x-cp1254","cp1255 windows-1255 x-cp1255","cp1256 windows-1256 x-cp1256","cp1257 windows-1257 x-cp1257","cp1258 windows-1258 x-cp1258","x-mac-cyrillic x-mac-ukrainian","chinese csgb2312 csiso58gb231280 gb2312 gb_2312 gb_2312-80 gbk iso-ir-58 x-gbk","gb18030","big5 big5-hkscs cn-big5 csbig5 x-x-big5","cseucpkdfmtjapanese euc-jp x-euc-jp","csiso2022jp iso-2022-jp","csshiftjis ms932 ms_kanji shift-jis shift_jis sjis windows-31j x-sjis","cseuckr csksc56011987 euc-kr iso-ir-149 korean ks_c_5601-1987 ks_c_5601-1989 ksc5601 ksc_5601","windows-949","csiso2022kr hz-gb-2312 iso-2022-cn iso-2022-cn-ext iso-2022-kr replacement","x-user-defined"].join(" ").split(" ")),q=new Set(["csiso2022kr","hz-gb-2312","iso-2022-cn","iso-2022-cn-ext","iso-2022-kr","replacement"]),A={encoding:"replacement",decode:t=>t&&t.byteLength?"�":""},E=new Map([["utf-16","utf-16"],["utf16","utf-16"],["utf_16","utf-16"],["utf-16le","utf-16le"],["utf-16be","utf-16be"]]);function D(t){if(t=(t||"utf8").trim().toLowerCase(),k.has(t))return t;const e=E.get(t);if(e)return e;const r=function(t){return t.replace(/^(?:x-ms-|x-|cs)/,"").replace(/[\s._-]+/g,"")}(t),i=r.match(x),s=i&&y.get(i[1])||v.get(r)||r;return k.has(s)?s:null}const S=new Map;function T(t){if(q.has(t))return A;let e=S.get(t);if(void 0===e){e=null;try{e=new TextDecoder(t)}catch{}S.set(t,e)}return e}const L=new TextDecoder;function N(t){const e=D(t);return e?T(e):null}function R(t){return N(t)||T("windows-1252")||L}const U=new Set(["utf-16le","utf-16be"]),j=new Set(["utf-16"]);function B(t,e=L){const r=t instanceof Uint8Array?t:new Uint8Array(t);return function(t){for(let e=0;e<t.length;){const r=t[e];if(r<128){e++;continue}let i;if(r>=194&&r<=223)i=1;else if(r>=224&&r<=239)i=2;else{if(!(r>=240&&r<=244))return!1;i=3}if(e+i>=t.length)return!1;const s=t[e+1];if(s<(224===r?160:240===r?144:128)||s>(237===r?159:244===r?143:191))return!1;for(let r=2;r<=i;r++)if(128!=(192&t[e+r]))return!1;e+=i+1}return!0}(r)?e.decode(r):R("windows-1252").decode(r)}function I(t,e){const r=t instanceof Uint8Array?t:new Uint8Array(t),i=D(e);let s=i?T(i):null;if(i&&j.has(i)){const t=function(t){return 254===t[0]&&255===t[1]?"utf-16be":255===t[0]&&254===t[1]?"utf-16le":null}(r);s=t&&T(t)||s}return s?s.decode(r):B(r)}const C=/charset\s*=\s*["']?\s*([^\s"';>]+)/;async function $(t){if("arrayBuffer"in t)return await t.arrayBuffer();const e=new FileReader;return new Promise(((r,i)=>{e.onload=()=>{r(e.result)},e.onerror=()=>{i(e.error)},e.readAsArrayBuffer(t)}))}function V(t){return t>=48&&t<=57?t-48:t>=97&&t<=102?t-97+10:t>=65&&t<=70?t-65+10:-1}function z(t){return t.replace(/[\r\n]+/g," ")}function O(t,e,r){let i,s=t.indexOf("*");if(s>=0&&(t=t.slice(0,s)),"Q"===(e=e.toUpperCase())){r=r.replace(/=\s+([0-9a-fA-F])/g,"=$1").replace(/[_\s]/g," ");let t=m.encode(r),e=[];for(let r=0,i=t.length;r<i;r++){let s=t[r];if(r<=i-2&&61===s){let i=V(t[r+1]),s=V(t[r+2]);if(i>=0&&s>=0){e.push(i<<4|s),r+=2;continue}}e.push(s)}i=new ArrayBuffer(e.length);let s=new DataView(i);for(let t=0,r=e.length;t<r;t++)s.setUint8(t,e[t])}else i="B"===e?w(r.replace(/[^a-zA-Z0-9\+\/=]+/g,"")):m.encode(r);return z(I(i,t))}const M="=\\?([^?\\s]+)\\?([QqBb])\\?([^?]*)\\?=",P=new RegExp(M,"g"),_=/^[ \t\r\n]+$/,G=new RegExp(`^(?:${M}\\s*)+$`);function H(t,e){const r=t.encoding.toUpperCase();return t.charset===e.charset&&r===e.encoding.toUpperCase()&&("B"!==r||t.encodedText.length%4==0&&!t.padded)}function F(t,e){let r="",i=null;for(let s=0;s<t.length;s++){const o=t[s];if(void 0===o.text)i&&e&&H(i,o)?(i.encodedText+=o.encodedText,i.padded=o.encodedText.endsWith("=")):(i&&(r+=O(i.charset,i.encoding,i.encodedText)),i={charset:o.charset,encoding:o.encoding,encodedText:o.encodedText,padded:o.encodedText.endsWith("=")});else{const e=t[s+1];if(i&&e&&void 0===e.text&&_.test(o.text))continue;i&&(r+=O(i.charset,i.encoding,i.encodedText),i=null),r+=o.text}}return i&&(r+=O(i.charset,i.encoding,i.encodedText)),r}function Z(t){const e=function(t){const e=[];P.lastIndex=0;let r,i=0;for(;r=P.exec(t);)r.index>i&&e.push({text:t.substring(i,r.index)}),e.push({charset:r[1],encoding:r[2],encodedText:r[3]}),i=r.index+r[0].length;return i<t.length&&e.push({text:t.substring(i)}),e}((t||"").toString()),r=F(e,!0);return r.indexOf("�")<0?r:F(e,!1)}function J(t,e){e=e||"utf-8";let r=[];for(let e=0;e<t.length;e++){let i=t.charAt(e);const s="%"===i?V(t.charCodeAt(e+1)):-1,o=s>=0?V(t.charCodeAt(e+2)):-1;if(o>=0)r.push(s<<4|o),e+=2;else if(i.charCodeAt(0)>126){const t=m.encode(i);for(let e=0;e<t.length;e++)r.push(t[e])}else r.push(i.charCodeAt(0))}const i=new ArrayBuffer(r.length),s=new DataView(i);for(let t=0,e=r.length;t<e;t++)s.setUint8(t,r[t]);return I(i,e)}class Y{constructor(){this.chunks=[],this.runBuffer=null,this.runStart=0,this.runEnd=0,this.pendingLineBreak=null}continuesRun(t){return t.buffer===this.runBuffer&&t.byteOffset===this.runEnd}flushRun(){this.runBuffer&&this.runEnd>this.runStart&&this.chunks.push(new Uint8Array(this.runBuffer,this.runStart,this.runEnd-this.runStart)),this.runBuffer=null}update(t,e){const r=this.pendingLineBreak;r&&this.continuesRun(r)&&t.buffer===this.runBuffer&&t.byteOffset===this.runEnd+r.byteLength||(this.flushRun(),r&&this.chunks.push(r),this.runBuffer=t.buffer,this.runStart=t.byteOffset),this.runEnd=t.byteOffset+t.byteLength,this.pendingLineBreak=e}finalize(t=!1){const e=this.pendingLineBreak;return!t&&e&&(this.continuesRun(e)?this.runEnd+=e.byteLength:(this.flushRun(),this.chunks.push(e))),this.flushRun(),$(new Blob(this.chunks,{type:"application/octet-stream"}))}}class X{constructor(t=102400){this.maxChunkSize=t,this.buffer=null,this.bufferPos=0,this.chunks=[]}writeByte(t){(!this.buffer||this.bufferPos>=this.buffer.length)&&(this.flush(),this.buffer??=new Uint8Array(this.maxChunkSize)),this.buffer[this.bufferPos++]=t}writeBytes(t,e=0,r=t.length){for(;e<r;){(!this.buffer||this.bufferPos>=this.buffer.length)&&(this.flush(),this.buffer??=new Uint8Array(this.maxChunkSize));const i=Math.min(r-e,this.buffer.length-this.bufferPos);this.buffer.set(t.subarray(e,e+i),this.bufferPos),this.bufferPos+=i,e+=i}}append(t){t.length>=this.maxChunkSize/2?(this.flush(),this.chunks.push(t)):this.writeBytes(t)}flush(){this.buffer&&this.bufferPos&&(this.chunks.push(this.buffer.slice(0,this.bufferPos)),this.bufferPos=0)}finalize(){return this.flush(),$(new Blob(this.chunks,{type:"application/octet-stream"}))}}class Q{constructor(t){this.decoder=(t=t||{}).decoder||new TextDecoder,this.maxChunkSize=102400,this.output=new X,this.remainder=""}pushChunk(t){t.length&&this.output.append(new Uint8Array(w(t)))}flushRemainder(){this.pushChunk(this.remainder),this.remainder=""}update(t){let e,r=this.decoder.decode(t).replace(/[^a-zA-Z0-9+/=]+/g,""),i=0;for(;(e=r.indexOf("=",i))>=0;)this.remainder+=r.substring(i,e),this.flushRemainder(),i=e+1;if(this.remainder+=r.substring(i),this.remainder.length>=this.maxChunkSize){const t=4*Math.floor(this.remainder.length/4);this.pushChunk(this.remainder.substring(0,t)),this.remainder=this.remainder.substring(t)}}finalize(){return this.flushRemainder(),this.output.finalize()}}class W{constructor(){this.output=new X,this.pendingLineBreak=null}writeLineBreak(){this.pendingLineBreak&&this.output.writeBytes(this.pendingLineBreak)}update(t,e){this.writeLineBreak();let r=t.length;for(;r>0&&g(t[r-1]);)r--;const i=r>0&&61===t[r-1];i&&r--;let s=0;for(let e=0;e<r;e++){if(61!==t[e]||e+2>=r)continue;const i=V(t[e+1]),o=V(t[e+2]);i<0||o<0||(this.output.writeBytes(t,s,e),this.output.writeByte(i<<4|o),e+=2,s=e+1)}this.output.writeBytes(t,s,r),this.pendingLineBreak=i?null:e}finalize(t=!1){return t||this.writeLineBreak(),this.output.finalize()}}const K={EINVALIDOPTION:TypeError,EINVALIDINPUT:TypeError,EPARSERREUSED:Error,EMAXNESTINGDEPTH:Error,EMAXHEADERSIZE:Error,EMAXPARTCOUNT:Error,EMAXFORWARDEDADDRESSES:Error};function tt(t,e){const r=new K[t](e);return r.code=t,r}const et=new TextDecoder("utf-8",{ignoreBOM:!0}),rt=t=>{let e=0,r=t.length;for(;e<r&&g(t.charCodeAt(e));)e++;for(;r>e&&g(t.charCodeAt(r-1));)r--;return t.slice(e,r)},it=/^(?:From |[!-9;-~]*[ \t]*:)/,st=new Set(["content-type","content-transfer-encoding","content-disposition","content-id","content-description"]);class ot{constructor(t){this.options=t,this.postalMime=t.postalMime;const e=this.postalMime.limits;if(this.postalMime.counters.partCount++,this.postalMime.counters.partCount>e.maxPartCount)throw tt("EMAXPARTCOUNT",`Maximum MIME part count of ${e.maxPartCount} parts exceeded`);if(this.childNodes=[],this.finalizedChildCount=0,t.parentNode){if(this.parentNode=t.parentNode,this.depth=this.parentNode.depth+1,this.depth>e.maxNestingDepth)throw tt("EMAXNESTINGDEPTH",`Maximum MIME nesting depth of ${e.maxNestingDepth} levels exceeded`);t.parentNode.childNodes.push(this)}else this.depth=0;this.state="header",this.headerLines=[];const r="digest"===(t.parentMultipartType||null)?"message/rfc822":"text/plain";this.contentType={value:r,parsed:{value:r,params:{}},multipart:!1},this.contentTransferEncoding={value:"8bit",encoding:""},this.contentDisposition={value:"",parsed:{value:"",params:{}}},this.headers=[],this.rawHeaderLines=[],this.contentDecoder=null,this.content=null}setupContentDecoder(t){this.contentDecoder="base64"===t?new Q:"quoted-printable"===t?new W:new Y}async finalize(t=!1){if("finished"===this.state)return;"header"===this.state&&this.endHeaders();let e=this.postalMime.boundaries;for(let t=e.length-1;t>=0;t--)if(e[t].node===this){e.splice(t,1);break}await this.finalizeChildNodes(t),this.content=this.contentDecoder?await this.contentDecoder.finalize(t):null,this.contentDecoder=null,this.state="finished"}async finalizeChildNodes(t=!1){for(;this.finalizedChildCount<this.childNodes.length;)await this.childNodes[this.finalizedChildCount++].finalize(t)}stripComments(t){let e="",r=0,i=!1,s=!1,o=-1,n=!1,a=0;const l=r=>{e+=t.slice(a,r),a=r+1};let c=!1,u=!1;const h=e=>{c=!0,u=g(t.charCodeAt(e))};for(let e=0;e<t.length;e++){const a=t.charAt(e);if(i)i=!1;else if("\\"===a)i=!0;else if('"'===a&&0===r)s=!s;else if(!s){if("("===a&&(!n||!c||u)){0===r&&(o=e),r++,l(e);continue}if(")"===a&&r>0){r--,l(e);continue}0===r&&("="===a?n=!0:";"===a&&(n=!1))}0===r?h(e):l(e)}return 0===r||t.indexOf(";",o)<0?e+t.slice(a):t}parseStructuredHeader(t){t=this.stripComments(t);let e,r={value:"",params:{}},i=!1,s="",o="value",n="",a=!1,l=!1,c=!1;const u=()=>{s.length&&(s+=n),n=""};let h=-1;const f=e=>{h>=0&&(s+=t.slice(h,e),h=-1)},d=t=>{h<0&&(u(),h=t)},p=()=>{const t=s;return s="",n="",a=!1,t},m=(t,e)=>{t&&!Object.prototype.hasOwnProperty.call(r.params,t)&&(r.params[t]=e)},g=()=>{const t=p();!1===i?r.value=t:m(i,t)},b=()=>{m(p().trim().toLowerCase(),"")};for(let r=0,s=t.length;r<s;r++)switch(e=t.charAt(r),o){case"key":if("="===e){f(r),i=p().trim().toLowerCase(),o="value";break}if(";"===e){f(r),b();break}h<0&&(h=r);break;case"value":if(a&&";"!==e){c=!1;break}if(c)d(r);else{if(l&&"\\"===e){f(r),c=!0;continue}l&&e===l?(f(r),l=!1,a=!0):l||'"'!==e?l||";"!==e?l||" "!==e&&"\t"!==e?d(r):(f(r),n+=e):(f(r),g(),o="key"):(f(r),l=e,u())}c=!1}return f(t.length),"value"===o?g():b(),r.value&&(r.value=r.value.toLowerCase()),function(t){let e=new Map;Object.keys(t.params).forEach((r=>{let i=r.match(/\*((\d+)\*?)?$/);if(!i)return;let s=r.slice(0,i.index).toLowerCase(),o=Number(i[2])||0,n=e.get(s);n||(n={charset:null,values:[]},e.set(s,n));let a=t.params[r],l="*"===i[0].charAt(i[0].length-1);0===o&&l&&(i=a.match(/^([^']*)'[^']*'(.*)$/))&&(n.charset=i[1]||"utf-8",a=i[2]),n.values.push({nr:o,value:a,encoded:l}),delete t.params[r]})),e.forEach(((e,r)=>{if(Object.prototype.hasOwnProperty.call(t.params,r))return;let i="",s="";for(let t of e.values.sort(((t,e)=>t.nr-e.nr)))t.encoded?s+=t.value:(s&&(i+=J(s,e.charset),s=""),i+=t.value);s&&(i+=J(s,e.charset)),t.params[r]=i}))}(r),r}decodeFlowedText(t,e){const r=[];let i=[],s=!1,o=0;for(let n=0;n<=t.length;){let a=t.indexOf("\n",n);a<0&&(a=t.length);const l=t.slice(n,a);let c=0;for(;62===l.charCodeAt(c);)c++;const u=32===l.charCodeAt(c)?c+1:c,h=l.slice(u),f="-- "===h;if(s&&c===o&&!f?(e&&(i[i.length-1]=i[i.length-1].slice(0,-1)),i.push(h)):(n&&i.push("\n"),i.push(c?l:h)),s=!f&&h.endsWith(" "),o=c,i.length>=4096){const t=i.pop();r.push(i.join("")),i=[t]}n=a+1}return r.push(i.join("")),r.join("")}getTextContent(){if(!this.content)return"";let t=function(t,e,r){const i=new Uint8Array(t);if(e)return I(i,e);const s=r?function(t){const e=L.decode(t.subarray(0,1024)).toLowerCase();let r=0;for(;(r=e.indexOf("<meta",r))>=0;){let t=e.indexOf(">",r);t<0&&(t=e.length);const i=C.exec(e.slice(r,t));if(i)return i[1];r=t}return null}(i):null,o=s?N(s):null;return!o||U.has(o.encoding)?B(i):("x-user-defined"===o.encoding?R("windows-1252"):o).decode(i)}(this.content,this.contentType.parsed.params.charset,"text/html"===this.contentType.parsed.value).replace(/\r\n/g,"\n");return"text/plain"===this.contentType.parsed.value&&/^flowed$/i.test(this.contentType.parsed.params.format)&&(t=this.decodeFlowedText(t,/^yes$/i.test(this.contentType.parsed.params.delsp))),t}processHeaders(){let t=[];for(let e of this.headerLines)t.length&&/^[ \t]/.test(e)?t[t.length-1].push(e):t.push([e]);let e=new Set;for(let r of t){let t=r.join("\n"),i=t.indexOf(":"),s=i<0?t:t.slice(0,i);this.rawHeaderLines.push({key:s.toLowerCase(),line:t});let o=r.join("");i=o.indexOf(":");let n=i<0?o:o.slice(0,i),a=i<0?"":rt(z(o.slice(i+1)));this.headers.push({key:n.toLowerCase(),originalKey:n,value:a});const l=n.toLowerCase();if(st.has(l)&&!e.has(l))switch(e.add(l),l){case"content-type":this.contentType.value=a;break;case"content-transfer-encoding":this.contentTransferEncoding.value=a;break;case"content-disposition":this.contentDisposition.value=a;break;case"content-id":this.contentId=a;break;case"content-description":this.contentDescription=a}}this.contentType.parsed=this.parseStructuredHeader(this.contentType.value),this.contentType.multipart=!!/^multipart\//i.test(this.contentType.parsed.value)&&this.contentType.parsed.value.slice(this.contentType.parsed.value.indexOf("/")+1);let r=this.contentType.multipart?(this.contentType.parsed.params.boundary||"").trimEnd():"";/[^\x00-\x7f]/.test(r)&&(r=""),this.contentType.multipart&&!r&&(this.contentType.parsed.value="text/plain",this.contentType.multipart=!1),this.contentType.multipart&&this.postalMime.boundaries.push({value:m.encode(r),node:this}),this.contentDisposition.parsed=this.parseStructuredHeader(this.contentDisposition.value);const i=this.contentDisposition.parsed.value,s=i.search(/[ \t]/);s>=0&&(this.contentDisposition.parsed.value=i.slice(0,s)),this.contentTransferEncoding.encoding=(this.stripComments(this.contentTransferEncoding.value).toLowerCase().match(/^[ \t]*([\w-]+)/)||["",""])[1],this.setupContentDecoder(this.contentTransferEncoding.encoding),this.headerLines=[]}endHeaders(){this.state="body",this.processHeaders()}feed(t,e){switch(this.state){case"header":{if(!t.length)return this.endHeaders(),!1;this.postalMime.counters.headerSize+=Math.max(t.length,64);const e=this.postalMime.limits.maxHeadersSize;if(this.postalMime.counters.headerSize>e)throw tt("EMAXHEADERSIZE",`Maximum header size of ${e} bytes exceeded`);const r=B(t,et);if(!g(t[0])&&!it.test(r))return this.endHeaders(),!0;this.headerLines.push(r);break}case"body":this.contentDecoder&&this.contentDecoder.update(t,e)}return!1}}const nt={"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"","⁢":"","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"","​":"","​":"","​":"","≫":"≫","≪":"≪","
":"\n","𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""},at=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),lt=t=>t.toString(16).toUpperCase().padStart(2,"0");function ct(t){return t.trim().replace(/[<>"'?&]/g,(t=>"&#x"+lt(t.charCodeAt(0))+";"))}const ut=/[^A-Za-z0-9\-._~!$'()*+,;:@]+/g,ht=Array.from({length:256},((t,e)=>"%"+lt(e)));function ft(t,e){let r=1/0,i=null;return s=>((s<r||i&&s>i.index)&&(e.lastIndex=s,i=e.exec(t),r=s),i)}function dt(t,e){const r=t.lastIndexOf(">")+1;return e(t.slice(0,r))+t.slice(r)}function pt(t,e,r){return dt(t,(t=>t.replace(e,r)))}function mt(t,e,r,i){const s=[];let o=0,n=0;for(;;){e.lastIndex=n;const a=e.exec(t);if(!a)break;const l=a.index,c=t.indexOf(">",l);if(c<0)break;r.lastIndex=l;const u=r.exec(t);u?(s.push(t.slice(o,l),i(...u)),o=n=l+u[0].length):n=c+1}return s.push(t.slice(o)),s.join("")}function gt(t,e,r,i,s,o){const n=ft(t,/>/g),a=ft(t,i),l=[];let c=0,u=0;for(;;){e.lastIndex=u;const i=e.exec(t);if(!i)break;const h=i.index;u=h+1;let f=h+i[0].length;if(r){const t=n(f);if(!t)break;f=t.index+1}const d=a(f);if(!d)break;let p=d.index+d[0].length;if(s){const t=n(p);if(!t)break;p=t.index+1}l.push(t.slice(c,h),o),c=u=p}return l.push(t.slice(c)),l.join("")}function bt(t,e){const r=t.lastIndexOf(">");let i,s=-1;for(e.lastIndex=0;(i=e.exec(t))&&i.index<r;)s=i.index;return s<0?t:t.slice(t.indexOf(">",s)+1)}function wt(t,e){e.lastIndex=0;const r=e.exec(t);return r&&r.index<t.lastIndexOf(">")?t.slice(0,r.index):t}let vt=null;function yt(t){if("undefined"==typeof Intl)return t;const e=new Date(t);return isNaN(e.getTime())?t:(vt??=new Intl.DateTimeFormat("default",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1}),vt.format(e))}function xt(t){let e=[],r=(t,i)=>{if(i&&e.push(", "),t.group){let i=";";e.push(`${t.name}:`),t.group.forEach(r),e.push(i)}else e.push(function(t){return(t.name?[t.name,`<${t.address}>`]:[t.address]).join(" ")}(t))};return t.forEach(r),e.join("")}function kt(t){let e=[],r=(t,i)=>{if(i&&e.push('<span class="postal-email-address-separator">, </span>'),t.group){let i=`<span class="postal-email-address-group">${ct(t.name)}:</span>`,s='<span class="postal-email-address-group">;</span>';e.push(i),t.group.forEach(r),e.push(s)}else e.push(function(t){return`<a href="mailto:${ct(function(t){return t.replace(ut,(t=>Array.from(m.encode(t),(t=>ht[t])).join("")))}(t.address))}" class="postal-email-address">${ct(t.name||`<${t.address}>`)}</a>`}(t))};return t.forEach(r),e.join(" ")}class qt{constructor(t){this.str=t,this.slots=new Int32Array(48),this.length=0,this.cleaned=new Map}push(t,e,r){if(3*(this.length+1)>this.slots.length){const t=new Int32Array(2*this.slots.length);t.set(this.slots),this.slots=t}const i=3*this.length;return this.slots[i]=t,this.slots[i+1]=e,this.slots[i+2]=r,this.length++}operatorAt(t){const e=3*t;return 1&this.slots[e]?this.str.charAt(this.slots[e+1]):""}isOperator(t){return!!(1&this.slots[3*t])}noBreak(t){return!!(2&this.slots[3*t])}value(t){const e=this.cleaned.get(t);return void 0!==e?e:this.str.slice(this.slots[3*t+1],this.slots[3*t+2])}}const At=/\s/,Et=/^("(?:[^"\\]|\\[\s\S])*"@\S+)(?:\s+([\s\S]+))?$/,Dt=/^[^@\s]+@[^@\s]+$/,St=/^[^@\s]+@\[[^[\]\\\s]*\]$/,Tt=/^@(?:[^@\s"]+|\[[^[\]\\\s]*\])$/;function Lt(t){return Dt.test(t)||St.test(t)}const Nt=/^[^@\s]+@\S+$/,Rt=/\s*\b[^@\s]+@[^\s]+\b\s*/y,Ut=/@(\[[^[\]\\]*\])$/;function jt(t){const e="]"===t.charAt(t.length-1)?Ut.exec(t):null;return e?t.length-e[1].length-1:t.lastIndexOf("@")}function Bt(t){const e=jt(t);if(e<0)return t;const r=t.substring(0,e);return/^[^\s"(),:;<>@[\\\]]+$/.test(r)||/^"(?:[^"\\]|\\[\s\S])*"$/.test(r)?t:'"'+r.replace(/["\\]/g,"\\$&")+'"@'+t.substring(e+1)}function It(t){return 32===t||t>=9&&t<=13||160===t||5760===t||t>=8192&&t<=8202||8232===t||8233===t||8239===t||8287===t||12288===t||65279===t}function Ct(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||95===t}function $t(t,e){return Ct(t.charCodeAt(e-1))!==Ct(t.charCodeAt(e))}function Vt(t,e,r){for(let i=e;i<r;i++)if(64===t.charCodeAt(i))return i;return-1}const zt=/^"(?:[^"\\]|\\[\s\S])*"/;function Ot(t,e){if(e<0)return t;let r=e;for(;r>0&&It(t.charCodeAt(r-1));)r--;let i=e+1;for(;i<t.length&&It(t.charCodeAt(i));)i++;return r===e&&i===e+1?t:t.slice(0,r)+"@"+t.slice(i)}function Mt(t){const e=zt.exec(t);if(e){let r=e[0].length;for(;r<t.length&&It(t.charCodeAt(r));)r++;if("@"===t.charAt(r)&&t.indexOf("@",r+1)<0)return Ot(t,r)}const r=t.indexOf("@");return r<0||t.indexOf("@",r+1)>=0||t.lastIndexOf('"')>r?t:Ot(t,r)}function Pt(t){const e=t.length;let r=0;for(;r<e;){for(;r<e&&It(t.charCodeAt(r));)r++;if(r>=e)break;const i=r;let s=r;for(;s<e&&!It(t.charCodeAt(s));)s++;let o=Vt(t,i,s);if(o>=0){let e=-1;for(let r=s;r>i;r--)if($t(t,r)){e=r;break}let r=i;for(;e>=0&&o>=0;){if(o>r&&s>o+1&&e>o+1)for(let e=r;e<o;e++)if($t(t,e)){if(e>i)return e;let r=i;for(;r>0&&It(t.charCodeAt(r-1));)r--;return r}r=o+1,o=Vt(t,r,s)}}r=s}return-1}function _t(t){const e=[];let r="",i="",s=0,o="",n="",a=!1,l="",c=!1,u=-1;for(let h=0,f=t.length;h<f;h++){const d=t.charAt(h);if(s)"\\"===d&&h<f-1?i+=t.charAt(++h):"("===d?(s++,i+=d):")"!==d||--s?i+=d:(e.push(i.trim()),i="",a="@"!==n);else{if(a&&"("!==d&&(a=!1,"@"===d||"<"===d||It(t.charCodeAt(h))||(r+=" ",n=" ")),o){if("\\"===d&&'"'===o&&h<f-1){r+=d+t.charAt(++h),n=t.charAt(h);continue}d===o&&(o="")}else if('"'===d)o='"',c=!0;else if(":"===d&&u<0&&"@"===l&&!c)u=r.length+1;else if("["===d)o="]";else{if("("===d){s=1;continue}if("<"===d){r="",n="",e.length=0,l="",c=!1,u=-1;continue}}r+=d,n=d,l||It(t.charCodeAt(h))||(l=d)}}return u>=0&&r.indexOf("@",u)>=0&&(r=r.slice(u)),s&&e.push(i.trim()),{address:r.trim(),comments:e.filter((t=>t))}}function Gt(t,e,r){let i,s="text",o={address:[],comment:[],text:[],textWasQuoted:[],quotedLocalAt:[]},n=!1,a=!1;const l={address:"",comment:"",text:""};for(i=e;i<r;i++){const r=t.value(i),c=i>e?t.operatorAt(i-1):"",u=i>e&&t.noBreak(i-1);if(t.isOperator(i))switch(r){case"<":s="address",a=!1;break;case"(":s="comment",a=!1;break;case'"':a=!a,s="text";break;default:s="text",a=!1}else{const h='"'===c&&u&&i>e+1&&'"'===t.operatorAt(i-2);if(u&&o[s].length&&(")"!==c||"@"===l[s]||"@"===r.charAt(0))){const t=o[s].length-1;"text"!==s||a||(n&&"@"===r.charAt(0)&&(o.quotedLocalAt[t]=o.text[t].length),n=!1),o[s][t]+=r,"text"===s&&a&&(o.textWasQuoted[t]=!0)}else o[s].push(r),"text"===s&&(o.textWasQuoted.push(a||h),o.quotedLocalAt.push(h&&"@"===r.charAt(0)?0:-1),n=a);l[s]=r.charAt(r.length-1)}}let c=!1;return!o.text.length&&o.comment.length&&(o.text=o.comment,o.comment=[],c=!0),{data:o,textFromComment:c}}function Ht(t,e,r){return Z(Gt(t,e,r).data.text.join(" "))}function Ft(t,e,r){const i=Gt(t,e,r),s=i.data;let o,n=i.textFromComment;const a=[],l=[];for(const t of s.address){const e=_t(t);for(const t of e.comments)a.push(t);e.address&&l.push(e.address)}if(s.address=l,!s.address.length&&s.text.length&&!n){const t=s.text.map((t=>Mt(t)));for(o=0;o<s.text.length;o++){const e=s.quotedLocalAt[o],r=s.textWasQuoted[o]&&e>=0&&Tt.test(s.text[o].slice(e))?Bt(s.text[o]):"";if(r||!s.textWasQuoted[o]&&Lt(t[o])){s.address=[r||t[o]],s.text.splice(o,1),s.textWasQuoted.splice(o,1),s.quotedLocalAt.splice(o,1);break}}if(!s.address.length)for(o=0;o<s.text.length;o++)if(!s.textWasQuoted[o]){const e=t[o],r=Pt(e);if(r>=0){Rt.lastIndex=r;const t=Rt.exec(e);if(t){s.address=[t[0].trim()],s.text[o]=(e.slice(0,r)+" "+e.slice(r+t[0].length)).trim();break}}s.text[o]=s.text[o].trim()}}!s.text.length&&s.comment.length&&(s.text=s.comment,s.comment=[]),s.address.length>1&&(s.text=s.text.concat(s.address.splice(1)));const c=!s.address.length&&s.textWasQuoted.some((t=>t));let u=s.text.join(" "),h=s.address.join(" ");if(!h&&(f=u.trim(),G.test(f)))return{address:"",name:Z(u)};var f;c&&u.indexOf("@")>=0&&(h=Bt(Ot(u,jt(u))),u=""),({address:h,text:u}=function(t,e){if(t=Mt(t),!At.test(t))return{address:t,text:e};let r;const i=t.match(Et);if(i){if(!i[2])return{address:t,text:e};t=i[1],r=[i[2]]}else{if(t.indexOf('"')>=0)return{address:t,text:e};const i=t.split(/\s+/);let s=i.findIndex(Lt);if(s<0&&(s=i.findIndex((t=>Nt.test(t)))),s<0)return{address:t,text:e};t=i.splice(s,1)[0],r=i}return{address:t,text:[e,...r].filter((t=>t)).join(" ")}}(h,u)),!u&&a.length&&(u=a.join(" "),n=!0);const d=u||h||"",p={address:h||(n?"":u)||"",name:Z(d)};return p.address!==d&&p.address!==p.name||(p.address.match(/@/)?p.name="":p.address=""),p}class Zt{constructor(t){this.str=(t||"").toString(),this.operatorCurrent="",this.operatorExpecting="",this.node=-1,this.escaped=!1,this.inDomainLiteral=!1,this.afterAt=!1,this.inGroup=!1,this.innerQuoted=!1,this.innerComment=0,this.innerLiteral=!1,this.innerEscaped=!1,this.list=new qt(this.str),this.operators={'"':'"',"(":")","<":">",",":"",":":"",";":""}}tokenize(){const t=this.str,e=t.length;for(let r=0;r<e;r++)this.checkChar(t.charAt(r),r);this.closeText(e);const r=this.list,i=r.slots;let s=0;for(let e=0,o=r.length;e<o;e++){const o=i[3*e];let n=i[3*e+1],a=i[3*e+2];if(4&o){const t=this.cleanValue(n,a,o).trim();if(!t)continue;r.cleaned.set(s,t)}else if(!(1&o)){for(;n<a&&It(t.charCodeAt(n));)n++;for(;a>n&&It(t.charCodeAt(a-1));)a--;if(n===a)continue}i[3*s]=o,i[3*s+1]=n,i[3*s+2]=a,s++}return r.length=s,r}closeText(t){this.node>=0&&(this.list.slots[3*this.node+2]=t,this.node=-1)}cleanValue(t,e,r){const i=this.str,s=!!(8&r);let o=!!(16&r),n="";for(let r=t;r<e;r++){const t=i.charAt(r);!s||o||"\\"!==t?(o=!1,"\n"===t?n+=" ":(t.charCodeAt(0)>=33||" "===t||"\t"===t)&&(n+=t)):o=!0}return n}checkChar(t,e){this.escaped||this.operatorExpecting||(!this.inDomainLiteral&&"["===t&&this.afterAt?this.inDomainLiteral=!0:!this.inDomainLiteral||"]"!==t&&","!==t&&";"!==t||(this.inDomainLiteral=!1));let r=!1;if(">"===this.operatorExpecting?(r=this.trackInner(t),!r&&";"===t&&this.inGroup&&(this.closeText(e),this.operatorExpecting="",this.resetInner())):")"!==this.operatorExpecting||this.escaped||("("===t?this.innerComment++:")"===t&&this.innerComment&&(this.innerComment--,r=!0)),this.escaped);else{if(t===this.operatorExpecting&&!r){const r=this.str.charAt(e+1);return this.closeText(e),this.list.push(r&&![" ","\t","\r","\n",",",";"].includes(r)?3:1,e,e+1),")"!==t&&(this.afterAt=!1),this.operatorExpecting="",this.escaped=!1,void this.resetInner()}if(!(this.operatorExpecting||this.inDomainLiteral&&":"===t)&&t in this.operators)return this.closeText(e),this.list.push(1,e,e+1),":"===t?this.inGroup=!0:";"===t&&(this.inGroup=!1),"("!==t&&(this.afterAt=!1),this.operatorExpecting=this.operators[t],this.escaped=!1,void this.resetInner();if(('"'===this.operatorExpecting||")"===this.operatorExpecting)&&"\\"===t)return this.escaped=!0,void(this.node>=0&&(this.list.slots[3*this.node]|=4))}this.node<0&&(this.node=this.list.push(('"'===this.operatorExpecting||")"===this.operatorExpecting?8:0)|(this.escaped?16:0),e,e)),"\n"===t&&(t=" ",this.list.slots[3*this.node]|=4),t.charCodeAt(0)>=33||" "===t||"\t"===t?this.operatorExpecting||" "===t||"\t"===t||(this.afterAt="@"===t):this.list.slots[3*this.node]|=4,this.escaped=!1}trackInner(t){return this.innerEscaped?(this.innerEscaped=!1,!0):this.innerQuoted?("\\"===t?this.innerEscaped=!0:'"'===t&&(this.innerQuoted=!1),!0):this.innerComment?("\\"===t?this.innerEscaped=!0:"("===t?this.innerComment++:")"===t&&this.innerComment--,!0):this.innerLiteral?("]"===t&&(this.innerLiteral=!1),!0):'"'===t?(this.innerQuoted=!0,!0):"("===t?(this.innerComment=1,!0):"["===t&&this.afterAt?(this.innerLiteral=!0,!0):(It(t.charCodeAt(0))||(this.afterAt="@"===t),!1)}resetInner(){this.innerQuoted=!1,this.innerComment=0,this.innerLiteral=!1,this.innerEscaped=!1}}function Jt(t){const e=[];for(let r=t.length-1;r>=0;r--){const i=t[r],s=e.length?e[e.length-1]:null;s&&""===i.address&&i.name&&!i.group&&s.address&&s.name?s.name=i.name+", "+s.name:e.push(i)}return e.reverse()}function Yt(t){const e=function(t){const e=new Zt(t).tokenize(),r=[];let i=null,s=[],o=0;for(let t=0,n=e.length;t<=n;t++){const a=t<n?e.operatorAt(t):"";t<n&&","!==a&&";"!==a&&":"!==a||(":"!==a?(t>o&&(i?s:r).push(Ft(e,o,t)),o=t+1,!i||";"!==a&&t!==n||(i.group=Jt(s),r.push(i),i=null)):(i||(i={name:Ht(e,o,t),group:[]},s=[]),o=t+1))}return Jt(r)}(t);return e}function Xt(t){let e="";const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(t),s=i.byteLength,o=s%3,n=s-o;let a,l,c,u,h;for(let t=0;t<n;t+=3)h=i[t]<<16|i[t+1]<<8|i[t+2],a=(16515072&h)>>18,l=(258048&h)>>12,c=(4032&h)>>6,u=63&h,e+=r[a]+r[l]+r[c]+r[u];return 1===o?(h=i[n],a=(252&h)>>2,l=(3&h)<<4,e+=r[a]+r[l]+"=="):2===o&&(h=i[n]<<8|i[n+1],a=(64512&h)>>10,l=(1008&h)>>4,c=(15&h)<<2,e+=r[a]+r[l]+r[c]+"="),e}const Qt=new Set(["arraybuffer","base64","utf8"]);function Wt(t,e,r){return"subMessage"===t.type?"html"===e?function(t){let e=[];return t.from&&e.push(`<div class="postal-email-header-key">From</div><div class="postal-email-header-value">${kt([t.from])}</div>`),t.subject&&e.push(`<div class="postal-email-header-key">Subject</div><div class="postal-email-header-value postal-email-header-subject">${ct(t.subject)}</div>`),t.date&&e.push(`<div class="postal-email-header-key">Date</div><div class="postal-email-header-value postal-email-header-date" data-date="${ct(t.date)}">${ct(yt(t.date))}</div>`),t.to&&t.to.length&&e.push(`<div class="postal-email-header-key">To</div><div class="postal-email-header-value">${kt(t.to)}</div>`),t.cc&&t.cc.length&&e.push(`<div class="postal-email-header-key">Cc</div><div class="postal-email-header-value">${kt(t.cc)}</div>`),t.bcc&&t.bcc.length&&e.push(`<div class="postal-email-header-key">Bcc</div><div class="postal-email-header-value">${kt(t.bcc)}</div>`),`<div class="postal-email-header">${e.length?'<div class="postal-email-header-row">':""}${e.join('</div>\n<div class="postal-email-header-row">')}${e.length?"</div>":""}</div>`}(t.value):function(t){let e=[];t.from&&e.push({key:"From",val:xt([t.from])}),t.subject&&e.push({key:"Subject",val:t.subject}),t.date&&e.push({key:"Date",val:yt(t.date)}),t.to&&t.to.length&&e.push({key:"To",val:xt(t.to)}),t.cc&&t.cc.length&&e.push({key:"Cc",val:xt(t.cc)}),t.bcc&&t.bcc.length&&e.push({key:"Bcc",val:xt(t.bcc)});let r=e.map((t=>t.key.length)).reduce(((t,e)=>e>t?e:t),0);const i=e.flatMap((t=>{let e=r-t.key.length,i=`${t.key}: ${" ".repeat(e)}`,s=`${" ".repeat(t.key.length+1)} ${" ".repeat(e)}`;return function(t,e){e=e||76;let r,i,s=0,o=(t=(t||"").toString()).length,n="";for(;s<o;){if(r=t.slice(s,s+e),r.length<e){n+=r;break}(i=r.match(/^[^\n\r]*(\r?\n|\r)/))?(r=i[0],n+=r,s+=r.length):((i=r.match(/(\s+)[^\s]*$/))&&i[0].length-(i[1]||"").length<r.length?r=r.slice(0,r.length-(i[0].length-(i[1]||"").length)):(i=t.slice(s+r.length).match(/^[^\s]+(\s*)/))&&(r+=i[0].slice(0,i[0].length-0)),n+=r,s+=r.length,s<o&&(n+="\r\n"))}return n}(t.val,80).split(/\r?\n/).map((t=>t.trim())).map(((t,e)=>`${e?s:i}${t}`))}));let s=i.map((t=>t.length)).reduce(((t,e)=>e>t?e:t),0),o="-".repeat(s);return`\n${o}\n${i.join("\n")}\n${o}\n`}(t.value):r?"html"===e?"<div>"+ct(t.value).replace(/\n/g,"<br />")+"</div>":(i=pt(i=gt(i=(i=t.value).replace(/\r\n|[\n\r\u2028\u2029]/g,""),/<!--/g,!1,/-->/g,!1," "),/<br\b[^>]*>/gi,"\n"),i=gt(i=pt(i,/<\/?(p|div|table|tr|td|th)\b[^>]*>/gi,"\n\n"),/<script\b/gi,!0,/<\/script\b/gi,!0," "),i=bt(i=gt(i,/<style\b/gi,!0,/<\/style\b/gi,!0," "),/<body\b/gi),i=bt(i,/<\/head\b/gi),i=wt(i=bt(i,/<!doctype\b/gi),/<\/body\b/gi),i=pt(i=dt(i=wt(i,/<\/html\b/gi),(t=>mt(t,/<a\b/gi,/<a\b[^>]*href\s*=\s*["']?([^\s"']+)[^>]*>/iy,((t,e)=>` (${e}) `)))),/<\/?(span|em|i|strong|b|u|a)\b[^>]*>/gi,""),i=pt(i=mt(i,/<li\b/gi,/<li\b[^>]*>[\n\u0001\s]*/iy,(()=>"* ")),/<hr\b[^>]*>/g,"\n-------------\n"),function(t){return t.replace(/&(#\d+|#x[a-f0-9]+|[a-z]+\d*);?/gi,((t,e)=>{if("string"==typeof nt[t])return nt[t];if("#"!==e.charAt(0)||";"!==t.charAt(t.length-1))return t;let r;r="x"===e.charAt(1).toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10);let i="";return 0===r||r>=55296&&r<=57343||r>1114111?"�":(r=at.get(r)??r,r>65535&&(r-=65536,i+=String.fromCharCode(r>>>10&1023|55296),r=56320|1023&r),i+=String.fromCharCode(r),i)}))}(i=(i=pt(i,/<[^>]*>/g," ")).replace(/\u0001/g,"\n").replace(/[ \t]+/g," ").replace(/^\s+$/gm,"").replace(/\n\n+/g,"\n\n").replace(/^\n+/,"\n").replace(/\n+$/,"\n"))):t.value;var i}const Kt=new Uint8Array([10]);function te(t){if(!t)return 0;let e=0;for(const r of Array.isArray(t)?t:[t])e+=1+(r.group?r.group.length:0);return e}function ee(t,e,r,i=0){if(null==t)return e;if("number"!=typeof t||!Number.isInteger(t)||t<i)throw tt("EINVALIDOPTION",`${r} must be a ${i?"positive":"non-negative"} integer`);return t}class re{static async parse(t,e){return new re(e).parse(t)}constructor(t,e){this.options=t||{},this.rfc822NestingDepth=e?e.rfc822NestingDepth+1:0,this.limits=e?e.limits:function(t){return{maxNestingDepth:ee(t.maxNestingDepth,256,"maxNestingDepth"),maxHeadersSize:ee(t.maxHeadersSize,2097152,"maxHeadersSize"),maxPartCount:ee(t.maxPartCount,1e4,"maxPartCount",1),maxRfc822NestingDepth:ee(t.maxRfc822NestingDepth,10,"maxRfc822NestingDepth"),maxForwardedAddresses:ee(t.maxForwardedAddresses,1e4,"maxForwardedAddresses")}}(this.options),this.counters=e?e.counters:{headerSize:0,partCount:0,forwardedAddresses:0},this.root=this.currentNode=new ot({postalMime:this}),this.boundaries=[],this.textContent={},this.textMap=new Map,this.textTypes=new Set,this.attachments=[],this.forceRfc822Attachments=!1,this.attachmentEncoding=function(t){const e=String(t||"").replace(/[-_\s]/g,"").toLowerCase()||"arraybuffer";if(!Qt.has(e))throw tt("EINVALIDOPTION",`Unknown attachment encoding ${e}`);return e}(this.options.attachmentEncoding),this.started=!1}async finalize(){await this.root.finalize()}async processLine(t,e,r){let i=this.boundaries;if(i.length&&t.length>2&&45===t[0]&&45===t[1])for(let e=0;e<i.length;e++){let s=i[e];if(t.length<s.value.length+2)continue;let o=!0;for(let e=0;e<s.value.length;e++)if(t[e+2]!==s.value[e]){o=!1;break}if(!o)continue;let n=s.value.length+2,a=!1;t.length>=s.value.length+4&&45===t[s.value.length+2]&&45===t[s.value.length+3]&&(a=!0,n=s.value.length+4);let l=!0;for(let e=n;e<t.length;e++)if(!g(t[e])){l=!1;break}if(l)return a?(await s.node.finalize(!0),this.currentNode=s.node.parentNode||this.root):(await s.node.finalizeChildNodes(!0),this.currentNode=new ot({postalMime:this,parentNode:s.node,parentMultipartType:s.node.contentType.multipart})),r?this.finalize():void 0}return this.currentNode.feed(t,e)?this.processLine(t,e,r):r?this.finalize():void 0}readLine(){let t=this.readPos,e=this.readPos;for(;this.readPos<this.av.length;){const r=this.av[this.readPos++];if(13!==r&&10!==r&&(e=this.readPos),10===r)return{bytes:new Uint8Array(this.buf,t,e-t),lineBreak:this.av.subarray(e,this.readPos),done:this.readPos>=this.av.length}}return{bytes:new Uint8Array(this.buf,t,e-t),lineBreak:Kt,done:this.readPos>=this.av.length}}addTextEntry(t,e,r){let i=this.textMap.get(t);i||(i={},this.textMap.set(t,i));const s=i[e]||[];i[e]=s,s.push(r),this.textTypes.add(e)}async collectNode(t,e,r){if(t.contentType.multipart)"alternative"===t.contentType.multipart?e=t:"related"===t.contentType.multipart&&(r=!0);else{const i=this.isInlineMessageRfc822(t),s=i&&this.rfc822NestingDepth>=this.limits.maxRfc822NestingDepth;i&&!s?await this.collectSubMessage(t):this.isInlineTextNode(t)?this.addTextEntry(e||t,"text/html"===t.contentType.parsed.value?"html":"plain",{type:"text",value:t.getTextContent()}):t.content&&this.collectAttachment(t,t.content,r,s)}for(let i of t.childNodes)await this.collectNode(i,e,r)}async collectSubMessage(t){const e=new re({attachmentEncoding:"arraybuffer"},this),r=await e.parse(t.content||new ArrayBuffer(0));if(this.counters.forwardedAddresses+=te(r.from)+te(r.to)+te(r.cc)+te(r.bcc),this.counters.forwardedAddresses>this.limits.maxForwardedAddresses)throw tt("EMAXFORWARDEDADDRESSES",`Maximum forwarded address count of ${this.limits.maxForwardedAddresses} addresses exceeded`);const i=e.textTypes.has("plain"),s=e.textTypes.has("html");!i&&s||this.addTextEntry(t,"plain",{type:"subMessage",value:r}),s&&this.addTextEntry(t,"html",{type:"subMessage",value:r}),e.textMap.forEach(((t,e)=>{this.textMap.set(e,t)}));for(let t of r.attachments)this.attachments.push(t)}collectAttachment(t,e,r,i){const s=t.contentDisposition.parsed.params.filename||t.contentType.parsed.params.name||null,o={filename:s?Z(z(s)):null,mimeType:t.contentType.parsed.value,disposition:t.contentDisposition.parsed.value||null};switch(r&&t.contentId&&!i&&(o.related=!0),i&&(o.rfc822DepthExceeded=!0),t.contentDescription&&(o.description=Z(t.contentDescription)),t.contentId&&(o.contentId=t.contentId),t.contentType.parsed.value){case"text/calendar":case"application/ics":{t.contentType.parsed.params.method&&(o.method=t.contentType.parsed.params.method.toString().toUpperCase().trim());const e=t.getTextContent();let r=e.length;for(;r>0&&10===e.charCodeAt(r-1);)r--;o.content=m.encode(e.slice(0,r)+"\n");break}default:o.content=e}this.attachments.push(o)}renderTextContent(){const t={};this.textMap.forEach((e=>{this.textTypes.forEach((r=>{const i=t[r]||[];t[r]=i;const s=e[r],o=s||e["html"===r?"plain":"html"]||[];for(const t of o)i.push(Wt(t,r,!s))}))})),Object.keys(t).forEach((e=>{this.textContent[e]=t[e].join("\n")}))}isInlineTextNode(t){if("attachment"===t.contentDisposition.parsed.value)return!1;switch(t.contentType.parsed.value){case"text/html":case"text/plain":return!0;default:return!1}}isInlineMessageRfc822(t){if(this.forceRfc822Attachments||"message/rfc822"!==t.contentType.parsed.value)return!1;const e=t.contentTransferEncoding.encoding;return"base64"!==e&&"quoted-printable"!==e&&"inline"===(t.contentDisposition.parsed.value||(this.options.rfc822Attachments?"attachment":"inline"))}hasReportParts(){let t=!1,e=r=>{r.contentType.multipart||["message/delivery-status","message/feedback-report"].includes(r.contentType.parsed.value)&&(t=!0);for(let t of r.childNodes)e(t)};return e(this.root),t}async resolveStream(t){let e=0,r=[];const i=t.getReader();for(;;){const{done:t,value:s}=await i.read();if(t)break;if(!ArrayBuffer.isView(s)){const t=tt("EINVALIDINPUT","Stream chunks must be Uint8Array values");throw i.cancel(t).catch((()=>{})),t}r.push(new Uint8Array(s.buffer,s.byteOffset,s.byteLength)),e+=s.byteLength}const s=new Uint8Array(e);let o=0;for(let t of r)s.set(t,o),o+=t.length;return s}async resolveInput(t){let e=t;var r;if((r=e)&&"function"==typeof r.getReader&&(e=await this.resolveStream(e)),e=e||new ArrayBuffer(0),"string"==typeof e&&(e=m.encode(e)),function(t){return t instanceof Blob||"[object Blob]"===Object.prototype.toString.call(t)}(e)&&(e=await $(e)),ArrayBuffer.isView(e))return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);if(!function(t){const e=Object.prototype.toString.call(t);return"[object ArrayBuffer]"===e||"[object SharedArrayBuffer]"===e}(e))throw tt("EINVALIDINPUT","Unsupported email input type");return e}buildMessage(){const t=this.root.headers,e={headers:t.map((t=>({key:t.key,originalKey:t.originalKey,value:t.value})))};for(const r of["from","sender"]){const i=t.find((t=>t.key===r));if(i&&i.value){const t=Yt(i.value);t&&t.length&&(e[r]=t[0])}}for(const[r,i]of[["delivered-to","deliveredTo"],["return-path","returnPath"]]){const s=t.find((t=>t.key===r));if(s&&s.value){const t=Yt(s.value);t&&t.length&&t[0].address&&(e[i]=t[0].address)}}for(const[r,i]of[["to","to"],["cc","cc"],["bcc","bcc"],["reply-to","replyTo"]]){const s=[];for(const e of t)if(e.key===r&&e.value)for(const t of Yt(e.value))s.push(t);s.length&&(e[i]=s)}for(const[r,i]of[["subject","subject"],["message-id","messageId"],["in-reply-to","inReplyTo"],["references","references"]]){const s=t.find((t=>t.key===r));s&&s.value&&(e[i]=Z(s.value))}let r=t.find((t=>"date"===t.key));if(r){let t=new Date(r.value);e.date="Invalid Date"===t.toString()?r.value:t.toISOString()}return this.textContent.html&&(e.html=this.textContent.html),this.textContent.plain&&(e.text=this.textContent.plain),e.attachments=this.attachments,e.headerLines=this.root.rawHeaderLines.slice(),e}encodeAttachments(){switch(this.attachmentEncoding){case"arraybuffer":break;case"base64":for(let t of this.attachments)t.content&&"string"!=typeof t.content&&(t.content=Xt(t.content),t.encoding="base64");break;case"utf8":{let t=new TextDecoder("utf8");for(let e of this.attachments)e.content&&"string"!=typeof e.content&&(e.content=t.decode(e.content),e.encoding="utf8");break}}}async parse(t){if(this.started)throw tt("EPARSERREUSED","Can not reuse parser, create a new PostalMime object");for(this.started=!0,this.buf=await this.resolveInput(t),this.av=new Uint8Array(this.buf),this.readPos=0;this.readPos<this.av.length;){const t=this.readLine();await this.processLine(t.bytes,t.lineBreak,t.done)}this.forceRfc822Attachments=Boolean(this.options.forceRfc822Attachments)||this.hasReportParts(),await this.collectNode(this.root,!1,!1),0===this.rfc822NestingDepth&&this.renderTextContent();const e=this.buildMessage();return this.encodeAttachments(),e}}var ie,se,oe,ne,ae,le,ce;const ue=new Set(["image/png","image/jpeg","image/jpg","image/gif","image/webp","image/bmp","image/x-icon","image/vnd.microsoft.icon"]);const he=null!==(se=null===(ie=n.protocols)||void 0===ie?void 0:ie.src)&&void 0!==se?se:[],fe=Object.assign(Object.assign({},n),{clobberPrefix:"",protocols:Object.assign(Object.assign({},n.protocols),{src:[...he,"data"]}),attributes:Object.assign(Object.assign({},n.attributes),{table:[...null!==(oe=n.attributes.table)&&void 0!==oe?oe:[],"cellPadding","cellSpacing","border","dir","width","height"],font:["color","size","face"],meta:["charset","content","name"],colgroup:[...null!==(ne=n.attributes.colgroup)&&void 0!==ne?ne:[],"span"],col:[...null!==(ae=n.attributes.col)&&void 0!==ae?ae:[],"width","span"],"*":[...null!==(le=n.attributes["*"])&&void 0!==le?le:[],"style","className","id","dataRemoteSrc"]}),tagNames:[...null!==(ce=n.tagNames)&&void 0!==ce?ce:[],"html","head","body","title","meta","style","colgroup","col","center","font"]});function de(t){const e=[/behavior\s*:/gi,/expression\s*\(/gi,/-moz-binding\s*:/gi,/vbscript\s*:/gi,/javascript\s*:/gi];let r=t;for(const t of e)r=r.replaceAll(t,"");return r=r.replaceAll(/@import\s+(?:url\([^)]{0,2000}\)|[^;]{0,2000});?/gi,""),r=r.replaceAll(/url\(\s{0,50}(?:"([^"]{0,2000})"|'([^']{0,2000})'|([^"')\s]{1,2000}))\s{0,50}\)/gi,((t,e,r,i)=>{var s,o;return(t=>{const e=t.trim().toLowerCase();return!!(e.startsWith("data:")||e.startsWith("cid:")||e.startsWith("#"))||!e.startsWith("//")&&!/^[a-z][a-z0-9+.-]*:/i.test(e)})((null!==(o=null!==(s=null!=e?e:r)&&void 0!==s?s:i)&&void 0!==o?o:"").trim())?t:'url("")'})),r}async function pe(t){const e=await async function(t){try{const e=await fetch(t);if(!e.ok)throw new Error(`Failed to fetch email (${e.status} ${e.statusText})`);return await e.arrayBuffer()}catch(e){const r=e instanceof Error?e.message:String(e);throw new Error(`Failed to load email from ${t}: ${r}`,{cause:e})}}(t),r=await async function(t,e){try{return await re.parse(e,{attachmentEncoding:"arraybuffer"})}catch(e){const r=e instanceof Error?e.message:String(e);throw new Error(`Failed to parse email from ${t}: ${r}`,{cause:e})}}(t,e),i={subject:r.subject||void 0,from:qe(r.from),to:ke(r.to),cc:ke(r.cc),date:me(r,"date")||r.date||void 0},{attachments:s,cidUrlById:o}=function(t){const e=[],r=new Map,i=t.attachments||[];for(const t of i){const i=ge(t.contentId),o=Boolean(i)&&"attachment"!==t.disposition||t.related||"inline"===t.disposition,n=(s=t.content)instanceof ArrayBuffer?new Uint8Array(s):ArrayBuffer.isView(s)?new Uint8Array(s.buffer,s.byteOffset,s.byteLength):void 0;if(!o){e.push({filename:t.filename||void 0,mimeType:t.mimeType||void 0,size:null==n?void 0:n.byteLength});continue}const a=Boolean(n);if(!i||!a){e.push({filename:t.filename||void 0,mimeType:t.mimeType||"application/octet-stream",size:null==n?void 0:n.byteLength});continue}const l=we(t.mimeType,n,t.filename),c=be(n);r.set(i,`data:${l};base64,${c}`)}var s;return{attachments:e,cidUrlById:r}}(r);return s.length>0&&(i.attachments=s),await async function(t,e,r){const i=(e.html||"").trim();if(i){const e=function(t,e){return 0===e.size?t:t.replaceAll(/(src\s*=\s*["']?)cid:([^"'\s>]+)(["']?)/gi,((t,r,i,s)=>{const o=ge(function(t){try{return decodeURIComponent(t)}catch(e){return t}}(i)),n=e.get(o);return n?`${r}${n}${s}`:t}))}(i,r);t.bodyHtml=await async function(t){const e=await a().use(l).use(c,fe).use((()=>t=>{u(t,"element",(t=>{!function(t){var e;if((null==t?void 0:t.tagName)&&((null===(e=t.properties)||void 0===e?void 0:e.style)&&"string"==typeof t.properties.style&&(t.properties.style=de(t.properties.style)),"style"===t.tagName&&Array.isArray(t.children)))for(const e of t.children)"text"===(null==e?void 0:e.type)&&"string"==typeof e.value&&(e.value=de(e.value))}(t),function(t){var e;if(!(null==t?void 0:t.tagName)||"img"!==t.tagName)return;const r=null===(e=t.properties)||void 0===e?void 0:e.src;if("string"!=typeof r)return;const i=function(t){const e=t.trim();if(!e)return;if(!e.toLowerCase().startsWith("data:"))return;const r=function(t){var e;const r=/^data:([^;,]+)(?:;charset=[^;,]+)?(?:;base64)?,/i.exec(t);return(null===(e=null==r?void 0:r[1])||void 0===e?void 0:e.toLowerCase())||void 0}(e);return r&&ue.has(r)?e:void 0}(r);if(i)return t.properties.src=i,void delete t.properties.dataRemoteSrc;const s=function(t){const e=t.trim(),r=e.toLowerCase();if(r.startsWith("http://")||r.startsWith("https://"))return e}(r);if(s)return t.properties.dataRemoteSrc=s,void delete t.properties.src;delete t.properties.src}(t)}))})).use(h).process(t);return e.toString()}(e)}else t.bodyText=(e.text||"").trim()||void 0}(i,r,o),i}function me(t,e){const r=(t.headers||[]).find((t=>t.key===e.toLowerCase()));return(null==r?void 0:r.value)||void 0}function ge(t){if(!t)return"";let e=t.trim();return e.toLowerCase().startsWith("cid:")&&(e=e.slice(4).trim()),e.startsWith("<")&&(e=e.slice(1)),e.endsWith(">")&&(e=e.slice(0,-1)),e.trim()}function be(t){if("function"==typeof btoa){let e="";for(const r of t)e+=String.fromCharCode(r);return btoa(e)}return Buffer.from(t).toString("base64")}function we(t,e,r){const i="string"==typeof t?t.trim().toLowerCase():"",s=function(t){var e,r,i,s,o;return null!==(o=null!==(s=null!==(i=null!==(r=null!==(e=function(t){if(ve(t,[137,80,78,71,13,10,26,10]))return"image/png"}(t))&&void 0!==e?e:function(t){if(ve(t,[255,216,255]))return"image/jpeg"}(t))&&void 0!==r?r:function(t){const e=ye(t,0,6);if("GIF87a"===e||"GIF89a"===e)return"image/gif"}(t))&&void 0!==i?i:function(t){const e=ye(t,0,4),r=ye(t,8,12);if("RIFF"===e&&"WEBP"===r)return"image/webp"}(t))&&void 0!==s?s:function(t){if(ve(t,[0,0,1,0]))return"image/x-icon"}(t))&&void 0!==o?o:function(t){if(t.length<5)return;const e=new TextDecoder("utf-8",{fatal:!1}).decode(t.slice(0,Math.min(t.length,256))).trimStart().toLowerCase();return e.startsWith("<svg")||e.startsWith("<?xml")&&e.includes("<svg")?"image/svg+xml":void 0}(t)}(e);if(i.startsWith("image/")){if(o=i,!(n=s)||o===n||"image/jpg"===o&&"image/jpeg"===n||"image/vnd.microsoft.icon"===o&&"image/x-icon"===n)return i;if(s)return s}var o,n;if(s)return s;const a=function(t){const e=null==t?void 0:t.trim().toLowerCase();if(!e||!e.includes("."))return;return{png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",webp:"image/webp",svg:"image/svg+xml",ico:"image/x-icon",bmp:"image/bmp"}[e.slice(e.lastIndexOf(".")+1)]}(r);return a||i||"application/octet-stream"}function ve(t,e){return!(t.length<e.length)&&e.every(((e,r)=>t[r]===e))}function ye(t,e,r){return t.length<r?"":String.fromCodePoint(...t.slice(e,r))}function xe(t){return"string"==typeof t&&t.length>0}function ke(t){if(!t)return;const e=(Array.isArray(t)?t:[t]).map((t=>qe(t))).filter(xe);return e.length>0?e.join(", "):void 0}function qe(t){if(!t)return;if(Array.isArray(t))return ke(t);if(t.group&&Array.isArray(t.group)){const e=(t.name||"").trim(),r=t.group.map((t=>qe(t))).filter(xe).join(", ");return e&&r?`${e}: ${r}`:e||r||void 0}const e=(t.name||"").trim(),r=(t.address||"").trim();if(e&&r){const t=function(t){if(!t)return"";if(!t.includes(",")&&!t.includes('"'))return t;return`"${t.replaceAll("\\","\\\\").replaceAll('"',String.raw`\"`)}"`}(e);return`${t} <${r}>`}return e||r||void 0}const Ae=class{constructor(s){t(this,s),this.action=e(this,"action",7),this.allowFullscreen=!1,this.allowOpenInNewTab=!1,this.allowDownload=!1,this.language="en",this.officeViewer="microsoft-office",this.isFullscreen=!1,this.loading=!0,this.fileUrl="",this.renderPdf=()=>[r("div",{class:"action-menu-for-pdf-files"},this.renderActionMenu()),r("iframe",{src:this.sanitizeUrl(this.fileUrl),loading:"lazy"})],this.renderImage=()=>{var t;return r(i,null,this.renderButtons(),r(f,{image:{src:this.sanitizeUrl(this.fileUrl),alt:null!==(t=this.alt)&&void 0!==t?t:"",referrerpolicy:"no-referrer"}}))},this.renderVideo=()=>r("video",{controls:!0},r("source",{src:this.sanitizeUrl(this.fileUrl)})),this.renderAudio=()=>r("audio",{controls:!0},r("source",{src:this.sanitizeUrl(this.fileUrl)})),this.renderText=()=>{const t=[this.renderNoFileSupportMessage(!1)];return[this.renderButtons(),r("object",{data:this.sanitizeUrl(this.fileUrl),type:"text/plain"},t)]},this.renderEmail=()=>this.email?[this.renderButtons(),r("limel-email-viewer",{email:this.email,fallbackUrl:this.sanitizeUrl(this.fileUrl),language:this.language},r("div",{slot:"fallback"},this.renderNoFileSupportMessage(!1)))]:this.renderFileNotFoundMessage(),this.renderOffice=()=>[r("div",{class:"action-menu-for-office-files"},this.renderActionMenu()),r("iframe",{src:this.getOfficeViewerUrl()+encodeURIComponent(this.sanitizeUrl(this.fileUrl))+"&embedded=true",loading:"lazy"})],this.isOfficeFileAccessibleViaURL=()=>"office"===this.fileType&&!(this.fileUrl.startsWith("http://")||this.fileUrl.startsWith("https://")),this.getOfficeViewerUrl=()=>({"microsoft-office":"https://view.officeapps.live.com/op/embed.aspx?src=","google-drive":"https://docs.google.com/gview?url="}[this.officeViewer]),this.renderNoFileSupportMessage=(t=!0)=>r("div",{class:"no-support",role:"alert"},r("h1",null,"⚠️"),r("p",null,this.getTranslation("file-viewer.message.unsupported-filetype")),r("p",{style:{textAlign:"center",margin:"0 auto"}},this.getTranslation("file-viewer.message.try-other-options")),t&&this.renderDownloadButton()),this.renderFileNotFoundMessage=()=>r("div",{class:"no-support",role:"alert"},r("h1",null,"⚠️"),r("p",null,this.getTranslation("file-viewer.message.file-not-found"))),this.renderButtons=()=>r("div",{class:"buttons"},this.renderActionMenu(),this.renderToggleFullscreenButton(),this.renderDownloadButton(),this.renderOpenInNewTabButton()),this.renderToggleFullscreenButton=()=>{if(!this.allowFullscreen||!this.fullscreen.isSupported())return;const t=this.isFullscreen?"multiply":"fit_to_width",e=this.getTranslation(this.isFullscreen?"file-viewer.exit-fullscreen":"file-viewer.open-in-fullscreen");return[r("button",{class:"button--toggle-fullscreen",id:"tooltip-toggle-fullscreen",role:"button",onClick:this.handleToggleFullscreen},r("limel-icon",{name:t}),r("limel-tooltip",{label:e,elementId:"tooltip-toggle-fullscreen",openDirection:"left"}))]},this.renderDownloadButton=()=>{var t;if(this.allowDownload&&!this.isFullscreen)return r("a",{class:"button--download",id:"tooltip-download",role:"button",download:null!==(t=this.filename)&&void 0!==t?t:"",href:this.sanitizeUrl(this.fileUrl),target:"_blank"},r("limel-icon",{name:"download_2"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.download"),elementId:"tooltip-download",openDirection:"left"}))},this.renderOpenInNewTabButton=()=>{if(this.allowOpenInNewTab&&!this.isFullscreen)return r("a",{class:"button--new-tab",id:"tooltip-new-tab",role:"button",href:this.sanitizeUrl(this.fileUrl),target:"_blank",rel:"noopener noreferrer"},r("limel-icon",{name:"external_link"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.open-in-new-tab"),elementId:"tooltip-new-tab",openDirection:"left"}))},this.renderActionMenu=()=>{if(this.actions&&!this.isFullscreen)return r("limel-menu",{class:"action-menu",items:this.actions,onSelect:this.emitOnAction,"open-direction":"left"},r("button",{class:"button--action",id:"tooltip-more",role:"button",slot:"trigger"},r("limel-icon",{name:"menu_2"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.more-actions"),elementId:"tooltip-more",openDirection:"left"})))},this.createURL=async t=>{this.revokePdfBlobUrl();const e={pdf:this.loadPdf,email:this.loadEmail}[t]||this.loadDefault;try{await e()}finally{this.loading=!1}},this.loadPdf=async()=>{const t=await fetch(this.url);if(!t.ok)throw new Error(`Failed to load PDF (${t.status} ${t.statusText})`);const e=await t.blob();this.fileUrl=URL.createObjectURL(e),this.pdfBlobUrl=this.fileUrl},this.loadEmail=async()=>{try{this.email=await pe(this.url),this.fileUrl=this.url}catch(t){this.email=void 0,this.fileUrl=""}},this.loadDefault=async()=>{this.fileUrl=this.url},this.handleToggleFullscreen=()=>{this.fullscreen.isSupported()&&(this.fullscreen.toggle(),this.isFullscreen=!this.isFullscreen)},this.emitOnAction=t=>{t.stopPropagation(),this.action.emit(t.detail)},this.fullscreen=new p(this.HostElement)}disconnectedCallback(){void 0!==this.revokeAnimationFrame&&cancelAnimationFrame(this.revokeAnimationFrame),this.revokeAnimationFrame=requestAnimationFrame((()=>{this.revokePdfBlobUrl(),this.revokeAnimationFrame=void 0}))}connectedCallback(){void 0!==this.revokeAnimationFrame&&(cancelAnimationFrame(this.revokeAnimationFrame),this.revokeAnimationFrame=void 0)}async componentWillLoad(){this.fileType=d(this.filename,this.url),await this.createURL(this.fileType)}render(){return this.isOfficeFileAccessibleViaURL?this.loading?r("limel-spinner",{size:"x-small",limeBranded:!1}):this.renderFileViewer():this.renderNoFileSupportMessage()}async watchUrl(t,e){t!==e&&(this.loading=!0,this.fileType=d(this.filename,this.fileUrl),await this.createURL(this.fileType))}renderFileViewer(){return({pdf:this.renderPdf,image:this.renderImage,video:this.renderVideo,audio:this.renderAudio,text:this.renderText,email:this.renderEmail,office:this.renderOffice}[this.fileType]||this.renderNoFileSupportMessage)()}revokePdfBlobUrl(){this.pdfBlobUrl&&(URL.revokeObjectURL(this.pdfBlobUrl),this.pdfBlobUrl=void 0)}sanitizeUrl(t){if(!(null==t?void 0:t.trim()))return"";try{const e=new URL(t,window.location.href);return["http:","https:","blob:"].includes(e.protocol)?e.href:""}catch(t){return""}}getTranslation(t){return o.get(t,this.language)}get HostElement(){return s(this)}static get watchers(){return{url:[{watchUrl:0}]}}};Ae.style='@charset "UTF-8";.buttons{position:absolute;z-index:1;bottom:0.25rem;right:0.25rem;display:flex;flex-direction:column;gap:0.25rem}@media (pointer: coarse){.buttons{gap:0.5rem}}.no-support{display:flex;flex-direction:column;gap:0.5rem;align-items:center;border:1px dashed rgb(var(--contrast-600));border-radius:0.5rem;padding:1.25rem}.no-support h1,.no-support p{margin:0}[class^=button--]{all:unset;transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal)}[class^=button--]:hover,[class^=button--]:focus,[class^=button--]:focus-visible{will-change:color, background-color, box-shadow, transform}[class^=button--]:hover,[class^=button--]:focus-visible{transform:translate3d(0, -0.04rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}[class^=button--]:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}[class^=button--]:hover,[class^=button--]:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}[class^=button--]:focus{outline:none}[class^=button--]:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}[class^=button--]{display:flex;align-items:center;justify-content:center;border-radius:50%;width:var(--limel-file-viewer-size-of-buttons);height:var(--limel-file-viewer-size-of-buttons);background-color:rgba(var(--contrast-100), 0.8);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem)}[class^=button--] limel-icon{transition:color 0.2s ease;width:1.25rem;color:rgb(var(--contrast-1200))}[class^=button--]:hover limel-icon{color:rgb(var(--contrast-1400))}.action-menu-for-pdf-files,.action-menu-for-office-files{position:absolute;right:0.75rem}.action-menu-for-pdf-files{bottom:0.75rem}.action-menu-for-office-files{top:0.75rem}:host{--limel-file-viewer-size-of-buttons:2rem;isolation:isolate;position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:100%}*{box-sizing:border-box}img,video,audio,object,iframe{max-height:100%;max-width:100%;box-sizing:border-box}iframe{border:none;width:100%;height:100%;min-height:20rem}img{min-width:7rem;object-fit:contain}video{width:100%;height:auto}audio{width:100%}object{width:100%;height:100%}object[type="application/pdf"]{min-height:20rem}object[type="text/plain"]{border-radius:0.25rem;padding-right:var(--limel-file-viewer-size-of-buttons);overflow-y:auto}:host(:fullscreen){background-color:rgb(var(--color-gray-darker))}:host(:fullscreen) object[type="text/plain"]{max-width:50rem;max-height:calc(100% - 2rem)}:host(:-webkit-full-screen){background-color:rgb(var(--color-gray-darker))}:host(:-webkit-full-screen) object[type="text/plain"]{max-width:50rem;max-height:calc(100% - 2rem)}';export{Ae as limel_file_viewer}
|