@watermarkinsights/ripple 5.7.0-8 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{chartFunctions-d2a1f4c7.js → chartFunctions-995023b1.js} +3 -3
- package/dist/cjs/{functions-5ac8a62f.js → functions-e24249e6.js} +7 -104
- package/dist/{esm/app-globals-0f27630e.js → cjs/global-eddf4e56.js} +2 -7
- package/dist/cjs/index-e86c28b6.js +2649 -0
- package/dist/cjs/{intl-57d1cfd1.js → intl-5aeba788.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -5
- package/dist/cjs/priv-calendar.cjs.entry.js +5 -6
- package/dist/cjs/priv-chart-popover.cjs.entry.js +5 -6
- package/dist/cjs/priv-navigator-button.cjs.entry.js +3 -4
- package/dist/cjs/priv-navigator-item.cjs.entry.js +3 -4
- package/dist/cjs/priv-option-list.cjs.entry.js +21 -7
- package/dist/cjs/ripple.cjs.js +12 -13
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +6 -8
- package/dist/cjs/wm-button.cjs.entry.js +4 -5
- package/dist/cjs/wm-chart-slice.cjs.entry.js +1 -1
- package/dist/cjs/wm-chart.cjs.entry.js +6 -7
- package/dist/cjs/wm-date-range.cjs.entry.js +8 -9
- package/dist/cjs/wm-datepicker.cjs.entry.js +8 -9
- package/dist/cjs/wm-file-list.cjs.entry.js +3 -4
- package/dist/cjs/wm-file.cjs.entry.js +4 -5
- package/dist/cjs/wm-input.cjs.entry.js +5 -6
- package/dist/cjs/wm-line-chart.cjs.entry.js +14 -15
- package/dist/cjs/wm-modal-pss_3.cjs.entry.js +28 -30
- package/dist/cjs/wm-modal_3.cjs.entry.js +10 -13
- package/dist/cjs/wm-navigation_3.cjs.entry.js +10 -13
- package/dist/cjs/wm-navigator.cjs.entry.js +3 -4
- package/dist/cjs/wm-nested-select.cjs.entry.js +29 -21
- package/dist/cjs/wm-optgroup.cjs.entry.js +4 -5
- package/dist/cjs/wm-option_2.cjs.entry.js +9 -11
- package/dist/cjs/wm-pagination.cjs.entry.js +4 -5
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +7 -9
- package/dist/cjs/wm-search.cjs.entry.js +6 -7
- package/dist/cjs/wm-snackbar.cjs.entry.js +6 -7
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +8 -11
- package/dist/cjs/wm-tag-input.cjs.entry.js +7 -8
- package/dist/cjs/wm-tag-option.cjs.entry.js +2 -2
- package/dist/cjs/wm-textarea.cjs.entry.js +5 -6
- package/dist/cjs/wm-timepicker.cjs.entry.js +5 -6
- package/dist/cjs/wm-toggletip.cjs.entry.js +5 -6
- package/dist/cjs/wm-uploader.cjs.entry.js +6 -7
- package/dist/cjs/wm-wrapper.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/charts/chartFunctions.js +1 -1
- package/dist/collection/components/charts/chartFunctions.spec.js +16 -0
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.e2e.js +81 -0
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +2 -2
- package/dist/collection/components/charts/screenshots.e2e.js +96 -0
- package/dist/collection/components/charts/wm-chart/wm-chart.e2e.js +213 -0
- package/dist/collection/components/charts/wm-chart/wm-chart.js +1 -1
- package/dist/collection/components/charts/wm-chart/wm-chart.spec.js +37 -0
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.e2e.js +176 -0
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +9 -9
- package/dist/collection/components/charts/wm-line-chart/wm-line-chart.spec.js +163 -0
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +1 -1
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.e2e.js +69 -0
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +1 -1
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.spec.js +79 -0
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +2 -2
- package/dist/collection/components/datepickers/priv-calendar/priv-calendar.spec.js +89 -0
- package/dist/collection/components/datepickers/wm-date-range.e2e.js +443 -0
- package/dist/collection/components/datepickers/wm-date-range.js +13 -17
- package/dist/collection/components/datepickers/wm-date-range.spec.js +22 -0
- package/dist/collection/components/datepickers/wm-datepicker.e2e.js +382 -0
- package/dist/collection/components/datepickers/wm-datepicker.js +13 -17
- package/dist/collection/components/datepickers/wm-datepicker.spec.js +21 -0
- package/dist/collection/components/selects/priv-option-list/priv-option-list.css +26 -6
- package/dist/collection/components/selects/priv-option-list/priv-option-list.js +21 -8
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +5 -5
- package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +26 -16
- package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +1 -1
- package/dist/collection/components/selects/wm-option/wm-option.e2e.js +22 -0
- package/dist/collection/components/selects/wm-option/wm-option.js +1 -1
- package/dist/collection/components/selects/wm-option/wm-option.spec.js +63 -0
- package/dist/collection/components/selects/wm-select/wm-select.css +3 -3
- package/dist/collection/components/selects/wm-select/wm-select.e2e.js +521 -0
- package/dist/collection/components/selects/wm-select/wm-select.js +2 -2
- package/dist/collection/components/selects/wm-select/wm-select.spec.js +271 -0
- package/dist/collection/components/wm-action-menu/wm-action-menu.e2e.js +200 -0
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
- package/dist/collection/components/wm-action-menu/wm-action-menu.spec.js +48 -0
- package/dist/collection/components/wm-button/wm-button.e2e.js +55 -0
- package/dist/collection/components/wm-button/wm-button.js +1 -1
- package/dist/collection/components/wm-button/wm-button.spec.js +74 -0
- package/dist/collection/components/wm-file/wm-file.js +1 -1
- package/dist/collection/components/wm-file/wm-file.spec.js +194 -0
- package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
- package/dist/collection/components/wm-file-list/wm-file-list.spec.js +69 -0
- package/dist/collection/components/wm-input/wm-input.e2e.js +32 -0
- package/dist/collection/components/wm-input/wm-input.js +1 -1
- package/dist/collection/components/wm-input/wm-input.spec.js +173 -0
- package/dist/collection/components/wm-menuitem/wm-menuitem.e2e.js +23 -0
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
- package/dist/collection/components/wm-menuitem/wm-menuitem.spec.js +54 -0
- package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal-footer.spec.js +11 -0
- package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
- package/dist/collection/components/wm-modal/wm-modal-header.spec.js +8 -0
- package/dist/collection/components/wm-modal/wm-modal.e2e.js +104 -0
- package/dist/collection/components/wm-modal/wm-modal.js +2 -2
- package/dist/collection/components/wm-modal/wm-modal.spec.js +30 -0
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +12 -0
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +2 -2
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +12 -0
- package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +3 -2
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +16 -2
- package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +14 -13
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
- package/dist/collection/components/wm-navigation/wm-navigation.e2e.js +102 -0
- package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
- package/dist/collection/components/wm-navigation/wm-navigation.spec.js +91 -0
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.e2e.js +50 -0
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
- package/dist/collection/components/wm-navigator/wm-navigator.e2e.js +209 -0
- package/dist/collection/components/wm-navigator/wm-navigator.spec.js +177 -0
- package/dist/collection/components/wm-pagination/wm-pagination.e2e.js +312 -0
- package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
- package/dist/collection/components/wm-search/wm-search.e2e.js +76 -0
- package/dist/collection/components/wm-search/wm-search.js +4 -5
- package/dist/collection/components/wm-search/wm-search.spec.js +71 -0
- package/dist/collection/components/wm-snackbar/wm-snackbar.e2e.js +112 -0
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
- package/dist/collection/components/wm-snackbar/wm-snackbar.spec.js +9 -0
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +1 -1
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +1 -1
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
- package/dist/collection/components/wm-tabs/wm-tabs.e2e.js +91 -0
- package/dist/collection/components/wm-tabs/wm-tabs.spec.js +12 -0
- package/dist/collection/components/wm-tag-input/wm-tag-input.e2e.js +204 -0
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +3 -3
- package/dist/collection/components/wm-tag-input/wm-tag-input.spec.js +195 -0
- package/dist/collection/components/wm-textarea/wm-textarea.e2e.js +41 -0
- package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
- package/dist/collection/components/wm-textarea/wm-textarea.spec.js +79 -0
- package/dist/collection/components/wm-timepicker/wm-timepicker.e2e.js +163 -0
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +8 -11
- package/dist/collection/components/wm-timepicker/wm-timepicker.spec.js +147 -0
- package/dist/collection/components/wm-toggletip/wm-toggletip.e2e.js +69 -0
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +2 -2
- package/dist/collection/components/wm-toggletip/wm-toggletip.spec.js +21 -0
- package/dist/collection/components/wm-uploader/wm-uploader.e2e.js +70 -0
- package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
- package/dist/collection/components/wm-uploader/wm-uploader.spec.js +234 -0
- package/dist/collection/dev/pss-modal.js +8 -0
- package/dist/collection/dev/scripts.js +12 -15
- package/dist/collection/global/functions.spec.js +126 -0
- package/dist/collection/lang/lang.spec.js +20 -0
- package/dist/esm/{chartFunctions-6666ced3.js → chartFunctions-34f19953.js} +3 -3
- package/dist/esm/{functions-03966124.js → functions-8800c690.js} +8 -105
- package/dist/{cjs/app-globals-1f689ab3.js → esm/global-e7316cfe.js} +1 -10
- package/dist/esm/index-558b5a82.js +2618 -0
- package/dist/esm/{intl-2fa0087c.js → intl-b110ca8d.js} +1 -1
- package/dist/esm/loader.js +5 -6
- package/dist/esm/priv-calendar.entry.js +5 -6
- package/dist/esm/priv-chart-popover.entry.js +5 -6
- package/dist/esm/priv-navigator-button.entry.js +3 -4
- package/dist/esm/priv-navigator-item.entry.js +3 -4
- package/dist/esm/priv-option-list.entry.js +21 -7
- package/dist/esm/ripple.js +13 -14
- package/dist/esm/wm-action-menu_2.entry.js +6 -8
- package/dist/esm/wm-button.entry.js +4 -5
- package/dist/esm/wm-chart-slice.entry.js +1 -1
- package/dist/esm/wm-chart.entry.js +6 -7
- package/dist/esm/wm-date-range.entry.js +8 -9
- package/dist/esm/wm-datepicker.entry.js +8 -9
- package/dist/esm/wm-file-list.entry.js +3 -4
- package/dist/esm/wm-file.entry.js +4 -5
- package/dist/esm/wm-input.entry.js +5 -6
- package/dist/esm/wm-line-chart.entry.js +14 -15
- package/dist/esm/wm-modal-pss_3.entry.js +26 -28
- package/dist/esm/wm-modal_3.entry.js +10 -13
- package/dist/esm/wm-navigation_3.entry.js +10 -13
- package/dist/esm/wm-navigator.entry.js +3 -4
- package/dist/esm/wm-nested-select.entry.js +29 -21
- package/dist/esm/wm-optgroup.entry.js +4 -5
- package/dist/esm/wm-option_2.entry.js +9 -11
- package/dist/esm/wm-pagination.entry.js +4 -5
- package/dist/esm/wm-progress-indicator_3.entry.js +7 -9
- package/dist/esm/wm-search.entry.js +6 -7
- package/dist/esm/wm-snackbar.entry.js +6 -7
- package/dist/esm/wm-tab-item_3.entry.js +8 -11
- package/dist/esm/wm-tag-input.entry.js +7 -8
- package/dist/esm/wm-tag-option.entry.js +2 -2
- package/dist/esm/wm-textarea.entry.js +5 -6
- package/dist/esm/wm-timepicker.entry.js +5 -6
- package/dist/esm/wm-toggletip.entry.js +5 -6
- package/dist/esm/wm-uploader.entry.js +6 -7
- package/dist/esm/wm-wrapper.entry.js +1 -1
- package/dist/esm-es5/{chartFunctions-6666ced3.js → chartFunctions-34f19953.js} +1 -1
- package/dist/esm-es5/functions-8800c690.js +1 -0
- package/dist/esm-es5/global-e7316cfe.js +1 -0
- package/dist/esm-es5/index-558b5a82.js +1 -0
- package/dist/esm-es5/{intl-2fa0087c.js → intl-b110ca8d.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-calendar.entry.js +1 -1
- package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
- package/dist/esm-es5/priv-option-list.entry.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
- package/dist/esm-es5/wm-button.entry.js +1 -1
- package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/esm-es5/wm-date-range.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-file-list.entry.js +1 -1
- package/dist/esm-es5/wm-file.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-line-chart.entry.js +1 -1
- package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
- package/dist/esm-es5/wm-modal_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigator.entry.js +1 -1
- package/dist/esm-es5/wm-nested-select.entry.js +1 -1
- package/dist/esm-es5/wm-optgroup.entry.js +1 -1
- package/dist/esm-es5/wm-option_2.entry.js +1 -1
- package/dist/esm-es5/wm-pagination.entry.js +1 -1
- package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
- package/dist/esm-es5/wm-search.entry.js +1 -1
- package/dist/esm-es5/wm-snackbar.entry.js +1 -1
- package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
- package/dist/esm-es5/wm-tag-input.entry.js +1 -1
- package/dist/esm-es5/wm-tag-option.entry.js +1 -1
- package/dist/esm-es5/wm-textarea.entry.js +1 -1
- package/dist/esm-es5/wm-timepicker.entry.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/esm-es5/wm-wrapper.entry.js +1 -1
- package/dist/loader/cdn.js +2 -1
- package/dist/loader/index.cjs.js +2 -1
- package/dist/loader/index.d.ts +0 -3
- package/dist/loader/index.es2017.js +2 -1
- package/dist/loader/index.js +2 -1
- package/dist/ripple/p-021ff5fa.system.entry.js +1 -0
- package/dist/ripple/{p-b4e4479b.js → p-02dc1562.js} +1 -1
- package/dist/ripple/{p-e2910f91.system.entry.js → p-037bf5c7.system.entry.js} +1 -1
- package/dist/ripple/p-04d5e7d7.entry.js +1 -0
- package/dist/ripple/p-0eea8fd3.system.entry.js +1 -0
- package/dist/ripple/p-0faf7ef9.system.entry.js +1 -0
- package/dist/ripple/p-10745cf2.system.js +1 -0
- package/dist/ripple/{p-b47aa85a.entry.js → p-13cc92e7.entry.js} +1 -1
- package/dist/ripple/p-1618709f.entry.js +1 -0
- package/dist/ripple/p-1c7201d1.entry.js +1 -0
- package/dist/ripple/{p-6bb9402a.system.entry.js → p-2520d947.system.entry.js} +1 -1
- package/dist/ripple/p-29f41fea.system.entry.js +1 -0
- package/dist/ripple/p-2c028fe2.entry.js +1 -0
- package/dist/ripple/{p-236ee735.system.entry.js → p-2f565d7a.system.entry.js} +1 -1
- package/dist/ripple/p-311923b2.system.entry.js +1 -0
- package/dist/ripple/p-31b587a3.entry.js +1 -0
- package/dist/ripple/p-3212fd0e.entry.js +1 -0
- package/dist/ripple/{p-823d7b4e.system.entry.js → p-32bf3f5b.system.entry.js} +1 -1
- package/dist/ripple/p-34d80f95.entry.js +1 -0
- package/dist/ripple/p-37649315.entry.js +1 -0
- package/dist/ripple/p-38509918.system.entry.js +1 -0
- package/dist/ripple/p-3aca84d7.entry.js +1 -0
- package/dist/ripple/p-3bb1f795.system.entry.js +1 -0
- package/dist/ripple/{p-094883e1.system.js → p-4378b6b9.system.js} +1 -1
- package/dist/ripple/p-43b03ad8.system.entry.js +1 -0
- package/dist/ripple/{p-664dc79d.system.entry.js → p-4743176d.system.entry.js} +1 -1
- package/dist/ripple/{p-13b1d775.entry.js → p-48e09589.entry.js} +1 -1
- package/dist/ripple/{p-4fa245d4.system.entry.js → p-4c5606da.system.entry.js} +1 -1
- package/dist/ripple/p-5360487b.js +1 -0
- package/dist/ripple/p-54d7688a.entry.js +1 -0
- package/dist/ripple/p-568c595f.js +2 -0
- package/dist/ripple/{p-785fda3d.js → p-5943c8b1.js} +1 -1
- package/dist/ripple/p-5ea1c7a6.entry.js +1 -0
- package/dist/ripple/p-5eb02aa9.system.entry.js +1 -0
- package/dist/ripple/p-6025efee.system.entry.js +1 -0
- package/dist/ripple/{p-043901ab.system.entry.js → p-65d26233.system.entry.js} +1 -1
- package/dist/ripple/p-6692b5a6.entry.js +1 -0
- package/dist/ripple/{p-60206085.system.entry.js → p-6a4c59e0.system.entry.js} +1 -1
- package/dist/ripple/{p-524f0531.entry.js → p-6ad695a5.entry.js} +1 -1
- package/dist/ripple/p-6d2122b9.entry.js +1 -0
- package/dist/ripple/p-6eb50cc3.system.entry.js +1 -0
- package/dist/ripple/p-72c22a55.entry.js +1 -0
- package/dist/ripple/{p-26e42263.system.entry.js → p-7906a797.system.entry.js} +1 -1
- package/dist/ripple/p-7b982ba8.system.entry.js +1 -0
- package/dist/ripple/p-7e4866c3.entry.js +1 -0
- package/dist/ripple/p-870cf4ef.entry.js +1 -0
- package/dist/ripple/{p-cd0cc88d.entry.js → p-88ebddd7.entry.js} +1 -1
- package/dist/ripple/p-8f217fb1.entry.js +1 -0
- package/dist/ripple/p-90261a03.system.entry.js +1 -0
- package/dist/ripple/p-902a54c5.entry.js +1 -0
- package/dist/ripple/p-9a2cf94c.system.entry.js +1 -0
- package/dist/ripple/p-9fccdac8.system.entry.js +1 -0
- package/dist/ripple/p-a4061c96.system.js +1 -0
- package/dist/ripple/p-ab8d78cc.system.js +2 -0
- package/dist/ripple/p-ade3d9a9.entry.js +1 -0
- package/dist/ripple/p-ae4c8481.system.entry.js +1 -0
- package/dist/ripple/{p-dba15615.entry.js → p-b01d022f.entry.js} +1 -1
- package/dist/ripple/p-b0e099f8.entry.js +1 -0
- package/dist/ripple/p-b19ea29e.entry.js +1 -0
- package/dist/ripple/{p-2c70503a.entry.js → p-b3114a58.entry.js} +1 -1
- package/dist/ripple/{p-da3e143d.entry.js → p-b976c84b.entry.js} +1 -1
- package/dist/ripple/p-c2657183.entry.js +1 -0
- package/dist/ripple/{p-0ba0c194.system.entry.js → p-c39a3951.system.entry.js} +1 -1
- package/dist/ripple/p-c885c7f9.entry.js +1 -0
- package/dist/ripple/p-c9543950.system.entry.js +1 -0
- package/dist/ripple/p-cbd2473d.system.entry.js +1 -0
- package/dist/ripple/p-cedfcf23.entry.js +1 -0
- package/dist/ripple/p-d824406e.system.entry.js +1 -0
- package/dist/ripple/p-dd26ae24.system.entry.js +1 -0
- package/dist/ripple/p-dd76bf0a.system.entry.js +1 -0
- package/dist/ripple/p-e28671cd.system.entry.js +1 -0
- package/dist/ripple/{p-4b29da45.entry.js → p-e4ff7200.entry.js} +1 -1
- package/dist/ripple/p-e53b6f7c.entry.js +1 -0
- package/dist/ripple/p-eca78c2b.js +1 -0
- package/dist/ripple/p-edd87140.system.js +1 -0
- package/dist/ripple/{p-b8a3612c.system.js → p-ee31c799.system.js} +1 -1
- package/dist/ripple/{p-9511f0c3.entry.js → p-f05e38b1.entry.js} +1 -1
- package/dist/ripple/p-f367f027.system.entry.js +1 -0
- package/dist/ripple/{p-f573e60c.system.entry.js → p-f9d26f8b.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/selects/priv-option-list/priv-option-list.d.ts +1 -0
- package/dist/types/components/selects/wm-nested-select/wm-nested-select.d.ts +3 -0
- package/dist/types/components/wm-modal-pss/wm-modal-pss-footer.d.ts +1 -1
- package/dist/types/components/wm-modal-pss/wm-modal-pss-header.d.ts +1 -1
- package/dist/types/components/wm-modal-pss/wm-modal-pss.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +10 -3
- package/package.json +1 -1
- package/dist/cjs/index-788526f5.js +0 -1859
- package/dist/esm/index-130e07bb.js +0 -1828
- package/dist/esm-es5/app-globals-0f27630e.js +0 -1
- package/dist/esm-es5/functions-03966124.js +0 -1
- package/dist/esm-es5/index-130e07bb.js +0 -1
- package/dist/ripple/p-04c5af17.entry.js +0 -1
- package/dist/ripple/p-1073ab75.system.entry.js +0 -1
- package/dist/ripple/p-1344f4d2.entry.js +0 -1
- package/dist/ripple/p-202cc2fe.system.js +0 -1
- package/dist/ripple/p-2261e8d4.entry.js +0 -1
- package/dist/ripple/p-2300c07b.entry.js +0 -1
- package/dist/ripple/p-2716532e.system.entry.js +0 -1
- package/dist/ripple/p-2903ce15.system.entry.js +0 -1
- package/dist/ripple/p-30f148a7.entry.js +0 -1
- package/dist/ripple/p-39484b51.system.entry.js +0 -1
- package/dist/ripple/p-3e7e6493.system.entry.js +0 -1
- package/dist/ripple/p-4fae07d6.entry.js +0 -1
- package/dist/ripple/p-563f37e8.entry.js +0 -1
- package/dist/ripple/p-5a2431e1.system.entry.js +0 -1
- package/dist/ripple/p-60cb3adc.entry.js +0 -1
- package/dist/ripple/p-618b27e6.entry.js +0 -1
- package/dist/ripple/p-62bb8827.system.entry.js +0 -1
- package/dist/ripple/p-695391a9.system.entry.js +0 -1
- package/dist/ripple/p-6d9acebc.system.entry.js +0 -1
- package/dist/ripple/p-7136efd0.entry.js +0 -1
- package/dist/ripple/p-79979fb1.entry.js +0 -1
- package/dist/ripple/p-7c2846e4.system.entry.js +0 -1
- package/dist/ripple/p-7f162296.system.entry.js +0 -1
- package/dist/ripple/p-7fba9e61.system.entry.js +0 -1
- package/dist/ripple/p-877d35f8.system.entry.js +0 -1
- package/dist/ripple/p-89a862ae.system.entry.js +0 -1
- package/dist/ripple/p-8ef8c943.system.entry.js +0 -1
- package/dist/ripple/p-9062cb9a.entry.js +0 -1
- package/dist/ripple/p-a6466fd1.entry.js +0 -1
- package/dist/ripple/p-ae2b2056.entry.js +0 -1
- package/dist/ripple/p-afa807a5.entry.js +0 -1
- package/dist/ripple/p-b5e7db7f.system.entry.js +0 -1
- package/dist/ripple/p-b8e97d05.system.js +0 -1
- package/dist/ripple/p-b9a8d85b.entry.js +0 -1
- package/dist/ripple/p-bbcc61cf.entry.js +0 -1
- package/dist/ripple/p-c0ccce22.system.entry.js +0 -1
- package/dist/ripple/p-c499cfaf.entry.js +0 -1
- package/dist/ripple/p-c61b29cd.system.entry.js +0 -1
- package/dist/ripple/p-c94976c8.system.entry.js +0 -1
- package/dist/ripple/p-cef8a45b.system.js +0 -2
- package/dist/ripple/p-d307a2d5.system.entry.js +0 -1
- package/dist/ripple/p-d9da0502.js +0 -2
- package/dist/ripple/p-dd23c135.entry.js +0 -1
- package/dist/ripple/p-ded71900.entry.js +0 -1
- package/dist/ripple/p-dfcf2302.system.js +0 -1
- package/dist/ripple/p-e4c40125.js +0 -1
- package/dist/ripple/p-e5f7fbe7.js +0 -1
- package/dist/ripple/p-eaf16578.system.entry.js +0 -1
- package/dist/ripple/p-ed2f0946.entry.js +0 -1
- package/dist/ripple/p-f78d5bc3.entry.js +0 -1
- package/dist/ripple/p-f9df9765.system.entry.js +0 -1
- package/dist/ripple/p-faae9ebb.entry.js +0 -1
- package/dist/ripple/p-fada6923.entry.js +0 -1
- package/dist/ripple/p-fe6522b9.entry.js +0 -1
- package/dist/ripple/p-ff74ec46.system.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,r,i){function a(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,n){function o(t){try{l(i.next(t))}catch(t){n(t)}}function s(t){try{l(i["throw"](t))}catch(t){n(t)}}function l(t){t.done?r(t.value):a(t.value).then(o,s)}l((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,a,n,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(r=0)),r)try{if(i=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){r.label=s[1];break}if(s[0]===6&&r.label<n[1]){r.label=n[1];n=s;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(s);break}if(n[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t];a=0}finally{i=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-ab8d78cc.system.js","./p-edd87140.system.js"],(function(t){"use strict";var e,r,i,a,n,o,s,l,d,c,u,p,h,f,w;return{setters:[function(t){e=t.r;r=t.c;i=t.h;a=t.F;n=t.H;o=t.g},function(t){s=t.t;l=t.j;d=t.a;c=t.k;u=t.B;p=t.C;h=t.D;f=t.E;w=t.i}],execute:function(){var m=':host{--wmcolor-datepicker-background:var(--wmcolor-background);--wmcolor-datepicker-day-background-hover:var(--wmcolor-interactive-background-hover);--wmcolor-datepicker-day-background-selected:var(--wmcolor-interactive);--wmcolor-datepicker-day-text-outside:var(--wmcolor-interactive-disabled);--wmcolor-datepicker-day-text-selected:var(--wmcolor-interactive-text-selected);--wmcolor-datepicker-day-text:var(--wmcolor-text);--wmcolor-datepicker-input-background-disabled:var(--wmcolor-input-background-disabled);--wmcolor-datepicker-input-background:var(--wmcolor-input-background);--wmcolor-datepicker-input-border:var(--wmcolor-input-border);--wmcolor-datepicker-input-text-disabled:var(--wmcolor-input-text-disabled);--wmcolor-datepicker-input-text:var(--wmcolor-input-text);--wmcolor-datepicker-month-background-hover:var(--wmcolor-interactive-background-hover);--wmcolor-datepicker-month-background-selected:var(--wmcolor-interactive);--wmcolor-datepicker-month-background:var(--wmcolor-text);--wmcolor-datepicker-month-border:var(--wmcolor-border-light);--wmcolor-datepicker-month-text-selected:var(--wmcolor-text-ondark);--wmcolor-datepicker-month-text:var(--wmcolor-interactive);--wmcolor-datepicker-navigation-background-hover:var(--wmcolor-button-background-navigational-hover);--wmcolor-datepicker-navigation-background:var(--wmcolor-button-background-navigational);--wmcolor-datepicker-navigation-text:var(--wmcolor-button-icon-navigational);--wmcolor-datepicker-selector-background:var(--wmcolor-button-background-secondary);--wmcolor-datepicker-selector-border:var(--wmcolor-button-border-secondary);--wmcolor-datepicker-selector-text:var(--wmcolor-button-text-secondary);--wmcolor-datepicker-toggle-background-disabled:var(--wmcolor-input-background-disabled);--wmcolor-datepicker-toggle-background-hover:var(--wmcolor-interactive-background-hover);--wmcolor-datepicker-toggle-background:var(--wmcolor-input-background);--wmcolor-datepicker-toggle-icon-disabled:var(--wmcolor-interactive-disabled);--wmcolor-datepicker-toggle-icon:var(--wmcolor-interactive);--wmcolor-datepicker-weekdays-background:var(--wmcolor-table-header-background);--wmcolor-datepicker-weekdays-text:var(--wmcolor-text);font-family:inherit}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:0.875rem}:host .wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required{color:var(--wmcolor-text-required)}:host .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .wrapper.label-left .label-wrapper .label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:2.5rem;white-space:normal;margin-bottom:0;margin-right:0.75rem}:host .wrapper.label-none label{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .wrapper.invalid .label{color:var(--wmcolor-text-error)}:host .wrapper.invalid .label:after{display:inline-block;font:normal normal normal 24px/1 "Material Design Icons";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\\f026";margin-left:0.3125rem}[dir=RTL] :host .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper{position:relative}:host .wrapper .single-wrapper,:host .wrapper .range-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;position:relative}:host .wrapper .date-input{border-radius:3px;color:var(--wmcolor-datepicker-input-text);font-size:0.875rem;padding:0.625rem 0.9375rem 0.5rem;min-width:0;-ms-flex:1;flex:1;margin:0;background-color:var(--wmcolor-datepicker-input-background)}:host .wrapper .date-input:disabled{background-color:var(--wmcolor-datepicker-input-background-disabled);color:var(--wmcolor-datepicker-input-text-disabled)}:host .wrapper .date-input:focus{outline:none}:host .wrapper .input{height:2.5rem;border:1px solid var(--wmcolor-datepicker-input-border);-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;max-width:236px;}:host .wrapper #single-date-input{height:100%;border:none;border-radius:3px;-webkit-margin-end:3px;margin-inline-end:3px}:host .wrapper .range-wrapper{max-width:257px;display:grid;grid-template-rows:minmax(21px, 1fr) 38px;grid-template-columns:120px 17px 120px;grid-template-areas:"start-label-wrapper . end-label-wrapper" "start-date-input hyphen end-date-input"}:host .wrapper .range-wrapper #start-label-wrapper{grid-area:start-label-wrapper}:host .wrapper .range-wrapper #end-label-wrapper{grid-area:end-label-wrapper}:host .wrapper .range-wrapper #start-date-input{grid-area:start-date-input}:host .wrapper .range-wrapper #hyphen{grid-area:hyphen}:host .wrapper .range-wrapper #end-date-input{grid-area:end-date-input}:host .wrapper .range-wrapper .label{text-wrap:wrap}:host .wrapper .range-wrapper.cal{max-width:305px;-webkit-column-gap:4px;-moz-column-gap:4px;column-gap:4px;grid-template-columns:120px 17px 120px 36px;grid-template-areas:"start-label-wrapper . end-label-wrapper ." "start-date-input hyphen end-date-input toggle-wrapper"}:host .wrapper .range-wrapper.cal #toggle-wrapper{grid-area:toggle-wrapper}:host .wrapper #start-date-input,:host .wrapper #end-date-input{max-width:120px}:host .wrapper #start-date-input:focus,:host .wrapper #end-date-input:focus{outline:2px solid var(--wmcolor-input-border-focus);border-color:var(--wmcolor-input-border-focus)}:host .wrapper.invalid .input,:host .wrapper .date-input.invalid{-webkit-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);-moz-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);box-shadow:0 0 0 1px var(--wmcolor-input-border-error);border-color:var(--wmcolor-input-border-error)}:host .wrapper .error{display:block;font-style:italic;color:var(--wmcolor-text-error);font-size:0.875rem;margin-bottom:4px;top:100%;left:0}:host .wrapper .error:not(:empty){margin-top:0.25rem}:host .wrapper.focus #single-date-input{outline:2px solid var(--wmcolor-input-border-focus);border-color:var(--wmcolor-input-border-focus)}.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}';var b=t("wm_date_range",function(){function t(t){e(this,t);this.wmRangeSelection=r(this,"wmRangeSelection",7);this.wmStartInputBlur=r(this,"wmStartInputBlur",7);this.wmEndInputBlur=r(this,"wmEndInputBlur",7);this.openUp=false;this.calWidth=681;this.popupClicked=false;this.toggleButtonClicked=false;this.formats={"mm/dd/yyyy":"US","dd/mm/yyyy":"INT","yyyy/mm/dd":"ISO"};this.dateFormat="mm/dd/yyyy";this.disabled=false;this.errorMessage=undefined;this.invalidStart=false;this.invalidEnd=false;this.labelStart="";this.labelEnd="";this.preselected=undefined;this.requiredField=false;this.valueStart="";this.valueEnd="";this.availSpace=0;this.isExpanded=false}Object.defineProperty(t.prototype,"_disabled",{get:function(){return s(this.disabled)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"focusDates",{get:function(){var t=this.toISO(this.valueStart);var e=l(new Date);if(this._isValidISO(t)){e=t}else if(this.preselected&&this._isValidISO(this.preselected)){e=this.preselected}var r=this.toJSDate(e);if(r.getUTCMonth()==11){r.setYear(r.getUTCFullYear()+1)}r.setMonth((r.getUTCMonth()+1)%12,1);var i=l(r);var a=this.toISO(this.valueEnd);if(this._isValidISO(a)){var n=this.isSameMonth(e,a);if(!n){i=a;if(!t){var o=this.toJSDate(i);var s=o.getUTCMonth()-1;if(s==-1){s=11;o.setYear(o.getUTCFullYear()-1)}o.setMonth(s,1);e=l(o)}}}return[e,i]},enumerable:false,configurable:true});t.prototype.isSameMonth=function(t,e){if(t&&e){return t.slice(0,-3)===e.slice(0,-3)}else{return false}};t.prototype.toJSDate=function(t){if(t&&this._isValidISO(t)){var e=new Date;e.setUTCFullYear(parseInt(t.split("-")[0]),parseInt(t.split("-")[1])-1,parseInt(t.split("-")[2]));return e}else{return undefined}};t.prototype.toISO=function(t){return this._reformatDate(this.formats[this.dateFormat],"ISO",t)};t.prototype.handleDisabled=function(){d(this.el,this._disabled)};t.prototype.updateValueStart=function(){this.startInputEl.value=this.valueStart?this.valueStart:""};t.prototype.updateValueEnd=function(){this.endInputEl.value=this.valueEnd?this.valueEnd:""};t.prototype.handleErrorMessage=function(){var t=this;if(this.errorMessage){setTimeout((function(){return t.announce(t.errorMessage)}),100)}};t.prototype.togglePopup=function(){this.isExpanded?this.closePopup():this.openPopup();this.toggleButtonClicked=true};t.prototype.closePopup=function(t){var e=this;if(t===void 0){t=false}this.date1=undefined;this.date2=undefined;this.startCalEl.startDate=undefined;this.startCalEl.endDate=undefined;this.startCalEl.hoverDate=undefined;this.endCalEl.startDate=undefined;this.endCalEl.endDate=undefined;this.endCalEl.hoverDate=undefined;this.isExpanded=false;this.startCalEl.view="day";this.endCalEl.view="day";this.popupEl.classList.remove("open");window.setTimeout((function(){e.popupEl.style.visibility="hidden"}),250);if(t){this.toggleEl.focus()}};t.prototype.openPopup=function(){var t=this;this.openUp=c(this.el,this.popupEl.clientHeight,this.labelEl.clientHeight);var e=u(this.el),r=e.spaceLeft,i=e.spaceRight;if(i>=this.calWidth-this.el.clientWidth){this.popupEl.style.left="0";this.popupEl.style.right="auto"}else if(r>=this.calWidth-this.el.clientWidth){this.popupEl.style.right="0";this.popupEl.style.left="auto"}else{var a=(this.availSpace-this.calWidth)/2-r;this.popupEl.style.left="".concat(a,"px");this.popupEl.style.right="auto"}this.popupEl.style.visibility="visible";window.requestAnimationFrame((function(){t.popupEl.classList.add("open")}));this.isExpanded=true;this.startCalEl.focusDate=this.focusDates[0];this.endCalEl.focusDate=this.focusDates[1];this.startCalEl.focusCell();if(this.valueStart){var n=this.toISO(this.valueStart);if(this._isValidISO(n)){this.startCalEl.startDate=n}if(this.valueEnd){var o=this.toISO(this.valueEnd);if(this._isValidISO(o)){if(this.isSameMonth(n,o)){this.startCalEl.endDate=o}else{this.endCalEl.endDate=o}}}}};t.prototype.handleFocus=function(){this.wrapperEl.classList.add("focus")};t.prototype.handleBlur=function(){this.wrapperEl.classList.remove("focus")};t.prototype.handleStartInputBlur=function(){this.wmStartInputBlur.emit()};t.prototype.handleEndInputBlur=function(){this.wmEndInputBlur.emit()};t.prototype.handleStartInput=function(t){this.valueStart=t.target.value};t.prototype.handleEndInput=function(t){this.valueEnd=t.target.value};t.prototype.handleKey=function(t){switch(t.key){case"Escape":t.preventDefault();t.stopPropagation();this.closePopup(true);break}};t.prototype.blurHandler=function(){if(!this.popupClicked&&!this.toggleButtonClicked&&this.isExpanded){this.closePopup()}this.popupClicked=false;this.toggleButtonClicked=false};t.prototype.handleBlurOnWindow=function(){if(this.isExpanded){this.closePopup()}};t.prototype.handleDateFocus=function(t){var e=t.target;var r=e.focusDate;var i=this.startCalEl.focusDate.slice(0,-3);var a=this.endCalEl.focusDate.slice(0,-3);if(e==this.startCalEl){if(i>=a){this.endCalEl.focusDate=p.month.increase(this.startCalEl.focusDate,1)}}else if(e==this.endCalEl){if(a<=i){this.startCalEl.focusDate=p.month.decrease(this.endCalEl.focusDate,1)}}if(this.oldFocusVal){var n=p.year.asInt(r);var o=p.year.asInt(this.oldFocusVal);var s=p.month.asInt(r);var l=p.month.asInt(this.oldFocusVal);if(e.view==="day"){if(n!=o||s!=l){this.liveRegionEl.innerHTML="Viewing ".concat(h[s-1],", ").concat(n)}}else{if(n!=o){this.liveRegionEl.innerHTML="".concat(n," selected.")}else if(s!=l){this.liveRegionEl.innerHTML="".concat(h[s-1],", ").concat(n)}}}this.oldFocusVal=e.focusDate};t.prototype.handlePopupBlurred=function(t){if(t.detail.relatedTarget!==this.el){var e=new CustomEvent("blur");e.relatedTarget=t.detail.relatedTarget;this.el.dispatchEvent(e)}};t.prototype.handleCellTriggered=function(t){var e=t.detail.cal;var r=t.detail.cell;var i=r.getAttribute("data-year")+"-"+r.getAttribute("data-month")+"-"+r.textContent.padStart(2,"0");if(this.startCalEl.endDate||this.endCalEl.endDate){this.startCalEl.startDate=undefined;this.startCalEl.endDate=undefined;this.endCalEl.startDate=undefined;this.endCalEl.endDate=undefined;e.startDate=i;this.date1=i;this.date2=undefined}else if(this.date1&&i!==this.date1){if(this.date1>i){this.date2=this.date1;this.date1=i}else{this.date2=i}var a={startDate:{iso:this.date1,us:this._reformatDate("ISO","US",this.date1),int:this._reformatDate("ISO","INT",this.date1)},endDate:{iso:this.date2,us:this._reformatDate("ISO","US",this.date2),int:this._reformatDate("ISO","INT",this.date2)}};this.wmRangeSelection.emit(a);this.closePopup(true);this.date1=undefined;this.date2=undefined}else{e.startDate=i;this.date1=i}var n=new CustomEvent("input");this.el.dispatchEvent(n);var o=new CustomEvent("change");this.el.dispatchEvent(o)};t.prototype.handleOutOfCal=function(){this.startCalEl.hoverDate=undefined;this.endCalEl.hoverDate=undefined};t.prototype.handleCellHovered=function(t){this.startCalEl.hoverDate=this.startCalEl.startDate===t.detail?undefined:t.detail;this.endCalEl.hoverDate=this.endCalEl.startDate===t.detail?undefined:t.detail};t.prototype.reformatDate=function(t,e,r){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this._reformatDate(t,e,r)]}))}))};t.prototype._reformatDate=function(t,e,r){if(t!=="ISO"&&e!=="ISO")return"";if(!t||!e||!r)return"";var i=/^(\d{1}|\d{2}|\d{4})[\-\.\/]\d{1,2}[\-\.\/](\d{1}|\d{2}|\d{4})$/;if(!i.test(r)){return r}else{var a=r.replace(/[\-\.]/gi,"/").split("/");switch(e){case"US":return a[1].padStart(2,"0")+"/"+a[2].padStart(2,"0")+"/"+a[0].padStart(4,"20");case"INT":return a[2].padStart(2,"0")+"/"+a[1].padStart(2,"0")+"/"+a[0].padStart(4,"20");case"ISO":if(t==="US"){return a[2].padStart(4,"20")+"-"+a[0].padStart(2,"0")+"-"+a[1].padStart(2,"0")}else if(t==="INT"){return a[2].padStart(4,"20")+"-"+a[1].padStart(2,"0")+"-"+a[0].padStart(2,"0")}else if(t==="ISO"){return a[0].padStart(4,"20")+"-"+a[1].padStart(2,"0")+"-"+a[2].padStart(2,"0")}default:return a.join("/")}}};t.prototype.isValidISO=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this._isValidISO(t)]}))}))};t.prototype._isValidISO=function(t){var e=/^\d\d\d\d[-]\d\d[-]\d\d$/;if(!t||!e.test(t)){return false}else{var r=t.split("-");var i=parseInt(r[2],10);var a=parseInt(r[1],10);var n=parseInt(r[0],10);if(n<1e3||n>3e3||a==0||a>12)return false;var o=[31,28,31,30,31,30,31,31,30,31,30,31];if(n%400==0||n%100!=0&&n%4==0)o[1]=29;return i>0&&i<=o[a-1]}};t.prototype.setAvailSpace=function(){this.availSpace=(this.hiddenOverflowParent||document.body).clientWidth};t.prototype.componentWillLoad=function(){var t=this;if(this.labelStart===""||this.labelEnd===""){console.error("For accessibility reasons you must specify labels for the date range inputs.")}d(this.el,this._disabled);this.hiddenOverflowParent=f(this.el);if(this.hiddenOverflowParent){var e=new ResizeObserver((function(){t.availSpace=t.hiddenOverflowParent.clientWidth}));e.observe(this.hiddenOverflowParent)}this.setAvailSpace()};t.prototype.announce=function(t){if(this.liveRegionEl.textContent===t){t+=" "}this.liveRegionEl.textContent=t};t.prototype.renderCalendars=function(){var t=this;if(this.calWidth<=this.availSpace){return i(a,null,i("div",{class:"popup-wrapper ".concat(this.startCalEl&&this.startCalEl.view,"-view ").concat(this.openUp?"expand-upwards":""),id:"popup-wrapper",ref:function(e){return t.popupEl=e},onClick:function(){return t.popupClicked=true},style:{display:"flex"}},i("div",{class:"trapfocus",tabIndex:this.isExpanded?0:undefined,onFocus:function(){return t.endCalEl.focusLastFocusable()}}),i("priv-calendar",{ref:function(e){return t.startCalEl=e},onClick:function(){return t.popupClicked=true},onDateFocus:function(e){return t.handleDateFocus(e)}}),i("priv-calendar",{ref:function(e){return t.endCalEl=e},onClick:function(){return t.popupClicked=true},onDateFocus:function(e){return t.handleDateFocus(e)}}),i("div",{class:"trapfocus",tabIndex:this.isExpanded?0:undefined,onFocus:function(){return t.startCalEl.focusFirstFocusable()}})))}};t.prototype.render=function(){var t=this;return i(n,{"aria-busy":"false"},i("div",{ref:function(e){return t.wrapperEl=e},class:"wrapper"},i("div",{class:"range-wrapper ".concat(this.calWidth<=this.availSpace?"cal":"")},i("div",{class:"label-wrapper",id:"start-label-wrapper"},i("label",{ref:function(e){return t.labelEl=e},id:"startlabel",htmlFor:"start-date-input",class:"label",title:"".concat(this.labelStart," (").concat(this.dateFormat,")")},this.labelStart,this.requiredField&&i("span",{"aria-hidden":"true",class:"required"},"*"))),i("div",{class:"label-wrapper",id:"end-label-wrapper"},i("label",{id:"endlabel",htmlFor:"end-date-input",class:"label",title:"".concat(this.labelEnd," (").concat(this.dateFormat,")")},this.labelEnd,this.requiredField&&i("span",{"aria-hidden":"true",class:"required"},"*"))),i("input",{disabled:this._disabled,type:"text",id:"start-date-input",class:"date-input input ".concat(this.invalidStart?"invalid":""),name:"start-date",placeholder:this.dateFormat,value:this.valueStart,onFocus:function(){return t.handleFocus()},onInput:function(e){return t.handleStartInput(e)},onBlur:function(){return t.handleStartInputBlur()},ref:function(e){return t.startInputEl=e},"aria-describedby":"error","aria-label":this.labelStart,"aria-required":this.requiredField?"true":null}),i("div",{id:"hyphen"}," - "),i("input",{disabled:this._disabled,type:"text",id:"end-date-input",class:"date-input input ".concat(this.invalidEnd?"invalid":""),name:"end-date",placeholder:this.dateFormat,value:this.valueEnd,onFocus:function(){return t.handleFocus()},onInput:function(e){return t.handleEndInput(e)},onBlur:function(){return t.handleEndInputBlur()},ref:function(e){return t.endInputEl=e},"aria-describedby":"error","aria-label":this.labelEnd,"aria-required":this.requiredField?"true":null}),i("div",{class:"toggle-wrapper",id:"toggle-wrapper"},this.calWidth<=this.availSpace&&i("button",{disabled:this.disabled,onClick:this.togglePopup.bind(this),"aria-describedby":"start-date-input end-date-input","aria-label":w.formatMessage({id:"date.selectRange",defaultMessage:"Select range",description:"Button text for screen readers."}),ref:function(e){return t.toggleEl=e},"aria-expanded":"".concat(this.isExpanded),class:"toggle",id:"toggle"},i("span",{class:"calendar",title:w.formatMessage({id:"date.calendarView",defaultMessage:"Calendar View",description:"Calendar button"})}))),this.renderCalendars()),i("div",null,i("div",{id:"live-region","aria-live":"polite","aria-relevant":"text",class:"sr-only"}),i("div",{id:"month-title",class:"sr-only"},w.formatMessage({id:"date.selectMonth",defaultMessage:"Activate to select a month.",description:"Calendar button"})),i("div",{id:"year-title",class:"sr-only"},w.formatMessage({id:"date.selectYear",defaultMessage:"Activate to select a year.",description:"Calendar button"}))),i("div",{id:"error",class:"error"},this.errorMessage),i("div",{ref:function(e){return t.liveRegionEl=e},class:"sr-only","aria-live":"polite","aria-atomic":"true"})))};Object.defineProperty(t,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["handleDisabled"],valueStart:["updateValueStart"],valueEnd:["updateValueEnd"],errorMessage:["handleErrorMessage"]}},enumerable:false,configurable:true});return t}());b.style=m}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as a,g as e}from"./p-d9da0502.js";import{d as n}from"./p-e5f7fbe7.js";const s=class{constructor(a){t(this,a),this.wmPaginationPageClicked=i(this,"wmPaginationPageClicked",7),this.focusCurrentPage=i(this,"focusCurrentPage",7),this.totalPages=0,this.debouncedResize=n((()=>this.isLargeSize=this.el.clientWidth>500),100),this.getMiddlePageNums=()=>{let t;return t=this.currentPage<4?[2,3,4]:this.currentPage>this.totalPages-3?[this.totalPages-3,this.totalPages-2,this.totalPages-1]:[this.currentPage-1,this.currentPage,this.currentPage+1],t},this.currentPage=1,this.totalItems=void 0,this.itemsPerPage=void 0,this.value=1,this.isLargeSize=window.innerWidth>600,this.srAnnouncement=""}maintainFocusOnNumberChange(t){window.requestAnimationFrame((()=>{switch(t){case"previous":1===this.currentPage&&this.el.shadowRoot.querySelector("button#wm-1").focus();break;case"next":this.currentPage===this.totalPages&&this.el.shadowRoot.querySelector(`button#wm-${this.totalPages}`).focus();break;case"prev-arrow":1===this.currentPage&&this.el.shadowRoot.querySelector("#next-arw").focus();break;case"next-arrow":this.currentPage===this.totalPages&&this.el.shadowRoot.querySelector("#previous-arw").focus();break;case"page":this.el.shadowRoot.querySelector(`button#wm-${this.currentPage}`).focus();default:return}}))}calculateTotalPages(){this.totalPages=Math.ceil(this.totalItems/this.itemsPerPage)}componentWillLoad(){if(!this.totalItems||!this.itemsPerPage||!this.currentPage)throw new Error("Please check the required attributes");this.calculateTotalPages(),this.el.focus=()=>{this.isLargeSize?this.el.shadowRoot.getElementById(`wm-${this.currentPage}`).focus():1===this.currentPage?this.el.shadowRoot.getElementById("next-arw").focus():this.el.shadowRoot.getElementById("wm-1-arw").focus()},new ResizeObserver((()=>this.debouncedResize())).observe(this.el)}updatePageDisplayed(t){this.value=t,this.wmPaginationPageClicked.emit(),this.srAnnouncement=`Current page, ${this.currentPage}. ${this.getCurrentPagesInView()}`}displayShortPagination(){let t=[];for(let i=1;i<=this.totalPages;i++)t.push(this.displayPageNumber(i));return t}displayLongPagination(){return[this.displayPageNumber(1),this.currentPage>3&&this.displayEllipsis(),...this.getMiddlePageNums().map((t=>this.displayPageNumber(t))),this.currentPage+2<this.totalPages&&this.displayEllipsis(),this.displayPageNumber(this.totalPages)]}displayPageNumber(t){return a("button",{id:`wm-${t}`,class:"paginationbtn",onClick:()=>{this.currentPage=t,this.updatePageDisplayed(t),this.maintainFocusOnNumberChange("page")},value:t,"aria-label":this.currentPage!==t?`Go to page ${t}`:"","aria-current":this.currentPage===t?"page":void 0},t)}displayEllipsis(){return a("span",{class:"ellipsis"},"...")}getCurrentPagesInView(){let t=this.itemsPerPage*this.currentPage;const i=t-this.itemsPerPage+1;return t>this.totalItems&&(t=this.totalItems),"Viewing "+(i===t?`${i}`:`${i}–${t} of ${this.totalItems}`)}renderLarge(){return a("div",{class:"largescreen"},a("div",{class:"pageview"},this.getCurrentPagesInView()),a("div",{class:"pagebtncontainer"},a("button",{id:"previous",class:"paginationbtn previousbtn",onClick:()=>{this.currentPage=this.currentPage-1,this.updatePageDisplayed(this.currentPage),this.maintainFocusOnNumberChange("previous")},disabled:1===this.currentPage,"aria-label":"Go to previous page","aria-controls":"status"},"Previous"),this.totalPages<6?this.displayShortPagination():this.displayLongPagination(),a("button",{id:"next",class:"paginationbtn nextbtn",onClick:()=>{this.currentPage=this.currentPage+1,this.updatePageDisplayed(this.currentPage),this.maintainFocusOnNumberChange("next")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page","aria-controls":"status"},"Next")))}renderSmall(){return a("div",{class:"smallscreen"},a("div",{class:"pagebtncontainer"},a("button",{id:"wm-1-arw",class:"paginationbtn",onClick:()=>{this.currentPage=1,this.updatePageDisplayed(1),this.maintainFocusOnNumberChange("prev-arrow")},value:1,"aria-current":1===this.currentPage?"page":void 0,"aria-label":"Go to page 1","aria-controls":"status",disabled:1===this.currentPage},a("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6zM15.41 10.59L10.83 6l4.58-4.59L14 0 8 6l6 6z"}))),a("button",{id:"previous-arw",class:"paginationbtn previousbtn",onClick:()=>{this.currentPage-=1,this.updatePageDisplayed(this.currentPage),this.maintainFocusOnNumberChange("prev-arrow")},disabled:1===this.currentPage,"aria-label":"Go to previous page"},a("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6z"}))),"Page ",this.currentPage," of ",this.totalPages,a("button",{id:"next-arw",class:"paginationbtn nextbtn",onClick:()=>{this.currentPage+=1,this.updatePageDisplayed(this.currentPage),this.maintainFocusOnNumberChange("next-arrow")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page"},a("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6z"}))),a("button",{id:`wm-${this.totalPages}-arw`,class:"paginationbtn",onClick:()=>{this.currentPage=this.totalPages,this.updatePageDisplayed(this.totalPages),this.maintainFocusOnNumberChange("next-arrow")},value:this.totalPages,"aria-current":this.currentPage===this.totalPages?"page":void 0,"aria-label":`Go to last page, page ${this.totalPages}`,"aria-controls":"status",disabled:this.currentPage===this.totalPages},a("svg",{width:"17",height:"12",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6zM9.59 10.59L14.17 6 9.59 1.41 11 0l6 6-6 6z"})))))}render(){return this.totalItems>this.itemsPerPage&&a("nav",{key:"ed11c99e89b41b3f6e9565525eb4a7e542355612","aria-label":`Pagination Navigation. ${this.getCurrentPagesInView()}. Current page, ${this.currentPage}.`},this.isLargeSize?this.renderLarge():this.renderSmall(),a("div",{key:"7e0cd5a74588a0e64c44874552dbcfcb2a66f2a1",id:"status",class:"sr-only","aria-live":"polite","aria-relevant":"text","aria-atomic":"true"},this.srAnnouncement))}static get delegatesFocus(){return!0}get el(){return e(this)}static get watchers(){return{totalItems:["calculateTotalPages"],itemsPerPage:["calculateTotalPages"]}}};s.style=":host,wm-pagination{--wmcolor-pagination-arrow-disabled:var(--wmcolor-interactive-disabled);--wmcolor-pagination-arrow:var(--wmcolor-interactive);--wmcolor-pagination-arrow:var(--wmcolor-interactive);--wmcolor-pagination-button-text-disabled:var(--wmcolor-interactive-disabled);--wmcolor-pagination-button-text:var(--wmcolor-interactive);--wmcolor-pagination-current-background-hover:var(--wmcolor-interactive-hover);--wmcolor-pagination-current-background:var(--wmcolor-interactive);--wmcolor-pagination-current-text:var(--wmcolor-interactive-text);--wmcolor-pagination-focus:var(--wmcolor-interactive-focus);display:block}nav .largescreen,nav .smallscreen{margin-bottom:0.625rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-ms-flex-pack:flex-end;-webkit-justify-content:flex-end;justify-content:flex-end;font-size:0.875rem}nav .largescreen .pageview,nav .smallscreen .pageview{font-size:0.875rem;margin:0 0.625rem}nav .largescreen .paginationbtn,nav .smallscreen .paginationbtn{position:relative;-ms-transition:none;-webkit-transition:none;-moz-transition:none;transition:none;border:none;color:var(--wmcolor-pagination-button-text);background-color:transparent;margin:0;padding:0;height:2.5rem;width:2.5rem;font-family:inherit;letter-spacing:0.3px;font-size:0.875rem;font-weight:500;cursor:pointer;text-transform:none;border-radius:50%}nav .largescreen .paginationbtn svg *,nav .smallscreen .paginationbtn svg *{fill:var(--wmcolor-pagination-arrow)}nav .largescreen .paginationbtn:hover:not([aria-current=page]):not([disabled]),nav .smallscreen .paginationbtn:hover:not([aria-current=page]):not([disabled]){text-decoration:underline}nav .largescreen .paginationbtn:focus,nav .smallscreen .paginationbtn:focus{outline:none}nav .largescreen .paginationbtn::-moz-focus-inner,nav .smallscreen .paginationbtn::-moz-focus-inner{border:0;outline:none}nav .largescreen .paginationbtn[disabled],nav .smallscreen .paginationbtn[disabled]{color:var(--wmcolor-pagination-button-text-disabled);pointer-events:none}nav .largescreen .paginationbtn[disabled] svg *,nav .smallscreen .paginationbtn[disabled] svg *{fill:var(--wmcolor-pagination-arrow-disabled)}nav .largescreen .previousbtn,nav .smallscreen .previousbtn{margin-right:0.625rem}nav .largescreen .nextbtn,nav .smallscreen .nextbtn{margin-left:0.625rem;margin-right:0}nav .largescreen .previousbtn,nav .largescreen .nextbtn,nav .smallscreen .previousbtn,nav .smallscreen .nextbtn{width:auto !important;border-radius:unset;-ms-transition:none;-webkit-transition:none;-moz-transition:none;transition:none}nav .largescreen .ellipsis,nav .smallscreen .ellipsis{display:inline-block;width:2.5rem;text-align:center}nav .largescreen .paginationbtn:focus-visible,nav .smallscreen .paginationbtn:focus-visible{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:-2px}nav .largescreen .paginationbtn:focus-visible.previousbtn:before,nav .smallscreen .paginationbtn:focus-visible.previousbtn:before{left:0 !important}nav .largescreen .paginationbtn:focus-visible.nextbtn:before,nav .smallscreen .paginationbtn:focus-visible.nextbtn:before{left:0 !important}nav .largescreen .paginationbtn:focus-visible[aria-current=page],nav .largescreen .paginationbtn:focus-visible.previousbtn,nav .largescreen .paginationbtn:focus-visible.nextbtn,nav .smallscreen .paginationbtn:focus-visible[aria-current=page],nav .smallscreen .paginationbtn:focus-visible.previousbtn,nav .smallscreen .paginationbtn:focus-visible.nextbtn{outline-offset:2px}nav .largescreen :focus-visible:not([aria-current=page]).previousbtn:focus:before{width:56px !important}nav .largescreen :focus-visible:not([aria-current=page]).nextbtn:focus:before{width:32px !important}nav .largescreen .paginationbtn[aria-current=page]{-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%;-webkit-box-shadow:0 0 4px 0 rgba(0, 0, 0, 0.14), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);box-shadow:0 0 4px 0 rgba(0, 0, 0, 0.14), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);background:var(--wmcolor-pagination-current-background);color:var(--wmcolor-pagination-current-text)}nav .largescreen .paginationbtn[aria-current=page]:hover{background:var(--wmcolor-pagination-current-background-hover)}.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}";export{s as wm_pagination}
|
|
1
|
+
import{r as t,c as i,h as a,g as n}from"./p-568c595f.js";import{d as e}from"./p-eca78c2b.js";const s=class{constructor(a){t(this,a),this.wmPaginationPageClicked=i(this,"wmPaginationPageClicked",7),this.focusCurrentPage=i(this,"focusCurrentPage",7),this.totalPages=0,this.debouncedResize=e((()=>this.isLargeSize=this.el.clientWidth>500),100),this.getMiddlePageNums=()=>{let t;return t=this.currentPage<4?[2,3,4]:this.currentPage>this.totalPages-3?[this.totalPages-3,this.totalPages-2,this.totalPages-1]:[this.currentPage-1,this.currentPage,this.currentPage+1],t},this.currentPage=1,this.totalItems=void 0,this.itemsPerPage=void 0,this.value=1,this.isLargeSize=window.innerWidth>600,this.srAnnouncement=""}maintainFocusOnNumberChange(t){window.requestAnimationFrame((()=>{switch(t){case"previous":1===this.currentPage&&this.el.shadowRoot.querySelector("button#wm-1").focus();break;case"next":this.currentPage===this.totalPages&&this.el.shadowRoot.querySelector(`button#wm-${this.totalPages}`).focus();break;case"prev-arrow":1===this.currentPage&&this.el.shadowRoot.querySelector("#next-arw").focus();break;case"next-arrow":this.currentPage===this.totalPages&&this.el.shadowRoot.querySelector("#previous-arw").focus();break;case"page":this.el.shadowRoot.querySelector(`button#wm-${this.currentPage}`).focus();default:return}}))}calculateTotalPages(){this.totalPages=Math.ceil(this.totalItems/this.itemsPerPage)}componentWillLoad(){if(!this.totalItems||!this.itemsPerPage||!this.currentPage)throw new Error("Please check the required attributes");this.calculateTotalPages(),this.el.focus=()=>{this.isLargeSize?this.el.shadowRoot.getElementById(`wm-${this.currentPage}`).focus():1===this.currentPage?this.el.shadowRoot.getElementById("next-arw").focus():this.el.shadowRoot.getElementById("wm-1-arw").focus()},new ResizeObserver((()=>this.debouncedResize())).observe(this.el)}updatePageDisplayed(t){this.value=t,this.wmPaginationPageClicked.emit(),this.srAnnouncement=`Current page, ${this.currentPage}. ${this.getCurrentPagesInView()}`}displayShortPagination(){let t=[];for(let i=1;i<=this.totalPages;i++)t.push(this.displayPageNumber(i));return t}displayLongPagination(){return[this.displayPageNumber(1),this.currentPage>3&&this.displayEllipsis(),...this.getMiddlePageNums().map((t=>this.displayPageNumber(t))),this.currentPage+2<this.totalPages&&this.displayEllipsis(),this.displayPageNumber(this.totalPages)]}displayPageNumber(t){return a("button",{id:`wm-${t}`,class:"paginationbtn",onClick:()=>{this.currentPage=t,this.updatePageDisplayed(t),this.maintainFocusOnNumberChange("page")},value:t,"aria-label":this.currentPage!==t?`Go to page ${t}`:"","aria-current":this.currentPage===t?"page":void 0},t)}displayEllipsis(){return a("span",{class:"ellipsis"},"...")}getCurrentPagesInView(){let t=this.itemsPerPage*this.currentPage;const i=t-this.itemsPerPage+1;return t>this.totalItems&&(t=this.totalItems),"Viewing "+(i===t?`${i}`:`${i}–${t} of ${this.totalItems}`)}renderLarge(){return a("div",{class:"largescreen"},a("div",{class:"pageview"},this.getCurrentPagesInView()),a("div",{class:"pagebtncontainer"},a("button",{id:"previous",class:"paginationbtn previousbtn",onClick:()=>{this.currentPage=this.currentPage-1,this.updatePageDisplayed(this.currentPage),this.maintainFocusOnNumberChange("previous")},disabled:1===this.currentPage,"aria-label":"Go to previous page","aria-controls":"status"},"Previous"),this.totalPages<6?this.displayShortPagination():this.displayLongPagination(),a("button",{id:"next",class:"paginationbtn nextbtn",onClick:()=>{this.currentPage=this.currentPage+1,this.updatePageDisplayed(this.currentPage),this.maintainFocusOnNumberChange("next")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page","aria-controls":"status"},"Next")))}renderSmall(){return a("div",{class:"smallscreen"},a("div",{class:"pagebtncontainer"},a("button",{id:"wm-1-arw",class:"paginationbtn",onClick:()=>{this.currentPage=1,this.updatePageDisplayed(1),this.maintainFocusOnNumberChange("prev-arrow")},value:1,"aria-current":1===this.currentPage?"page":void 0,"aria-label":"Go to page 1","aria-controls":"status",disabled:1===this.currentPage},a("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6zM15.41 10.59L10.83 6l4.58-4.59L14 0 8 6l6 6z"}))),a("button",{id:"previous-arw",class:"paginationbtn previousbtn",onClick:()=>{this.currentPage-=1,this.updatePageDisplayed(this.currentPage),this.maintainFocusOnNumberChange("prev-arrow")},disabled:1===this.currentPage,"aria-label":"Go to previous page"},a("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6z"}))),"Page ",this.currentPage," of ",this.totalPages,a("button",{id:"next-arw",class:"paginationbtn nextbtn",onClick:()=>{this.currentPage+=1,this.updatePageDisplayed(this.currentPage),this.maintainFocusOnNumberChange("next-arrow")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page"},a("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6z"}))),a("button",{id:`wm-${this.totalPages}-arw`,class:"paginationbtn",onClick:()=>{this.currentPage=this.totalPages,this.updatePageDisplayed(this.totalPages),this.maintainFocusOnNumberChange("next-arrow")},value:this.totalPages,"aria-current":this.currentPage===this.totalPages?"page":void 0,"aria-label":`Go to last page, page ${this.totalPages}`,"aria-controls":"status",disabled:this.currentPage===this.totalPages},a("svg",{width:"17",height:"12",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6zM9.59 10.59L14.17 6 9.59 1.41 11 0l6 6-6 6z"})))))}render(){return this.totalItems>this.itemsPerPage&&a("nav",{"aria-label":`Pagination Navigation. ${this.getCurrentPagesInView()}. Current page, ${this.currentPage}.`},this.isLargeSize?this.renderLarge():this.renderSmall(),a("div",{id:"status",class:"sr-only","aria-live":"polite","aria-relevant":"text","aria-atomic":"true"},this.srAnnouncement))}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{totalItems:["calculateTotalPages"],itemsPerPage:["calculateTotalPages"]}}};s.style=":host,wm-pagination{--wmcolor-pagination-arrow-disabled:var(--wmcolor-interactive-disabled);--wmcolor-pagination-arrow:var(--wmcolor-interactive);--wmcolor-pagination-arrow:var(--wmcolor-interactive);--wmcolor-pagination-button-text-disabled:var(--wmcolor-interactive-disabled);--wmcolor-pagination-button-text:var(--wmcolor-interactive);--wmcolor-pagination-current-background-hover:var(--wmcolor-interactive-hover);--wmcolor-pagination-current-background:var(--wmcolor-interactive);--wmcolor-pagination-current-text:var(--wmcolor-interactive-text);--wmcolor-pagination-focus:var(--wmcolor-interactive-focus);display:block}nav .largescreen,nav .smallscreen{margin-bottom:0.625rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:flex-end;-ms-flex-pack:flex-end;-webkit-justify-content:flex-end;justify-content:flex-end;font-size:0.875rem}nav .largescreen .pageview,nav .smallscreen .pageview{font-size:0.875rem;margin:0 0.625rem}nav .largescreen .paginationbtn,nav .smallscreen .paginationbtn{position:relative;-ms-transition:none;-webkit-transition:none;-moz-transition:none;transition:none;border:none;color:var(--wmcolor-pagination-button-text);background-color:transparent;margin:0;padding:0;height:2.5rem;width:2.5rem;font-family:inherit;letter-spacing:0.3px;font-size:0.875rem;font-weight:500;cursor:pointer;text-transform:none;border-radius:50%}nav .largescreen .paginationbtn svg *,nav .smallscreen .paginationbtn svg *{fill:var(--wmcolor-pagination-arrow)}nav .largescreen .paginationbtn:hover:not([aria-current=page]):not([disabled]),nav .smallscreen .paginationbtn:hover:not([aria-current=page]):not([disabled]){text-decoration:underline}nav .largescreen .paginationbtn:focus,nav .smallscreen .paginationbtn:focus{outline:none}nav .largescreen .paginationbtn::-moz-focus-inner,nav .smallscreen .paginationbtn::-moz-focus-inner{border:0;outline:none}nav .largescreen .paginationbtn[disabled],nav .smallscreen .paginationbtn[disabled]{color:var(--wmcolor-pagination-button-text-disabled);pointer-events:none}nav .largescreen .paginationbtn[disabled] svg *,nav .smallscreen .paginationbtn[disabled] svg *{fill:var(--wmcolor-pagination-arrow-disabled)}nav .largescreen .previousbtn,nav .smallscreen .previousbtn{margin-right:0.625rem}nav .largescreen .nextbtn,nav .smallscreen .nextbtn{margin-left:0.625rem;margin-right:0}nav .largescreen .previousbtn,nav .largescreen .nextbtn,nav .smallscreen .previousbtn,nav .smallscreen .nextbtn{width:auto !important;border-radius:unset;-ms-transition:none;-webkit-transition:none;-moz-transition:none;transition:none}nav .largescreen .ellipsis,nav .smallscreen .ellipsis{display:inline-block;width:2.5rem;text-align:center}nav .largescreen .paginationbtn:focus-visible,nav .smallscreen .paginationbtn:focus-visible{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:-2px}nav .largescreen .paginationbtn:focus-visible.previousbtn:before,nav .smallscreen .paginationbtn:focus-visible.previousbtn:before{left:0 !important}nav .largescreen .paginationbtn:focus-visible.nextbtn:before,nav .smallscreen .paginationbtn:focus-visible.nextbtn:before{left:0 !important}nav .largescreen .paginationbtn:focus-visible[aria-current=page],nav .largescreen .paginationbtn:focus-visible.previousbtn,nav .largescreen .paginationbtn:focus-visible.nextbtn,nav .smallscreen .paginationbtn:focus-visible[aria-current=page],nav .smallscreen .paginationbtn:focus-visible.previousbtn,nav .smallscreen .paginationbtn:focus-visible.nextbtn{outline-offset:2px}nav .largescreen :focus-visible:not([aria-current=page]).previousbtn:focus:before{width:56px !important}nav .largescreen :focus-visible:not([aria-current=page]).nextbtn:focus:before{width:32px !important}nav .largescreen .paginationbtn[aria-current=page]{-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%;-webkit-box-shadow:0 0 4px 0 rgba(0, 0, 0, 0.14), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);box-shadow:0 0 4px 0 rgba(0, 0, 0, 0.14), 0 3px 4px 0 rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);background:var(--wmcolor-pagination-current-background);color:var(--wmcolor-pagination-current-text)}nav .largescreen .paginationbtn[aria-current=page]:hover{background:var(--wmcolor-pagination-current-background-hover)}.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}";export{s as wm_pagination}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,f as t,h as r,H as o,g as a}from"./p-568c595f.js";import{g as n,d as p}from"./p-eca78c2b.js";import{a as s,h as i,g as l,r as h,b as c,c as m,d,e as w,f as b,i as g,j as x,k as u}from"./p-5943c8b1.js";import{c as f}from"./p-02dc1562.js";const v=class{constructor(r){e(this,r),this.uid=n(),this.slicesDetails=[],this.debouncedSliceUpdate=p((async()=>{await l.call(this,this.currentChartType),t(this.el)}),100),this.chartType="doughnut1",this.label=void 0,this.labelWidth="150px",this.subinfo=void 0,this.valueFormat="none",this.showGrid=!0,this.showLegend=!0,this.showBarLegend=!1,this.notStartedColor=!1,this.printMode=!1,this.printModeFormat="amount",this.labelPosition="top",this.isTabbing=!1,this.userIsNavigating=!1,this.focusedSliceId=void 0}get popoverEl(){return this.el.shadowRoot.querySelector("priv-chart-popover")}get sliceEls(){return Array.from(this.el.shadowRoot.querySelectorAll(".segment"))}get currentChartType(){return this.chartType}get chartDetails(){return s[this.currentChartType]}get ariaLabelText(){let e=`${this.label}`;return this.subinfo&&(e+=` ${this.subinfo}`),e}get isDoughnut(){return"doughnut"===this.chartDetails.category}get isStackedBar(){return"stackedBar"===this.chartDetails.category}get isSimpleBar(){return"simpleBar"===this.chartDetails.category}get isBar(){return this.isStackedBar||this.isSimpleBar}toggleTabbingOn(){this.isTabbing=!0}toggleTabbingOff(){this.isTabbing=!1}handleKeydown(e){i.call(this,e)}showHiddenValuesMessage(e){const t=this.el.shadowRoot.querySelector(".hidden-values-warning");t?e?t.classList.remove("hidden"):t.classList.add("hidden"):requestAnimationFrame((()=>this.showHiddenValuesMessage(e)))}async componentWillLoad(){if(!this.label)throw new Error("For accessibility purposes, you must provide a label for the chart. See https://components.watermarkinsights.com/chart for more information.");await l.call(this,this.currentChartType),this.isDoughnut||new ResizeObserver((()=>{t(this.el)})).observe(this.el)}handleSliceUpdate(){this.debouncedSliceUpdate()}handlePopoverOpenChanged(e){if(!e.detail){const e=Array.from(this.el.shadowRoot.querySelectorAll("[data-segmentindex]"));h(e)}}renderBarText(e,t){let o;"percentage"===this.valueFormat?o=0===e.perc&&e.amount>0?"<1%":`${e.perc}%`:"amount"===this.valueFormat&&(o=e.amount);const a=u(e.amount,this.total,!1),n=a/100*this.el.offsetWidth>=t;return r("div",{class:"value-wrapper "+(n?"":"fixed-width"),style:{width:n||0==e.amount?`${a}%`:`${t}px`}},r("span",{class:"value","data-value":e.amount,"data-segmentindex":e.index},e.amount>0&&o))}drawAxis(){if("bar3"===this.currentChartType)return r("svg",{class:"axis"},r("line",{x1:"0",x2:"100%",y1:"0",y2:"0"}),r("line",{x1:"0",x2:"0",y1:"0",y2:"-85px"}),r("line",{class:"tick",x1:"0.5",x2:"0.5",y1:"0",y2:"6"}),r("line",{class:"tick",x1:"100%",x2:"100%",y1:"0",y2:"6"}))}renderChart(){return this.isSimpleBar?c.call(this,this.currentChartType):this.isStackedBar&&this.total>0?m.call(this,this.currentChartType):this.isDoughnut&&this.total>0?d.call(this,this.currentChartType):void 0}render(){return r(o,{onBlur:()=>x.call(this)},r("div",{ref:e=>this.componentWrapperEl=e,class:`component-wrapper ${this.currentChartType} ${this.isTabbing&&!this.userIsNavigating?"user-is-tabbing":""} ${"left"===this.labelPosition&&"bar4"===this.currentChartType?"left-label":""}`,role:"application","aria-label":this.ariaLabelText,tabindex:0,"aria-roledescription":f.interactiveChart,"aria-describedby":"chart-instructions"},r("label",{id:`label-${this.uid}`,class:`label --${this.labelPosition}`,htmlFor:`graphic-${this.uid}`},r("span",{class:"label-text"},this.label),this.subinfo?r("span",{class:"subinfo"},this.subinfo):""),this.isBar&&b.call(this,this.currentChartType),this.renderChart(),this.isDoughnut&&b.call(this,this.currentChartType),r("priv-chart-popover",{class:this.isTabbing?"user-is-tabbing":"",onIntChartPopoverOpenChanged:e=>this.handlePopoverOpenChanged(e)}),this.isBar&&!this.printMode&&g()),w())}static get delegatesFocus(){return!0}get el(){return a(this)}};v.style=":host{--wmcolor-chart-label-text-negative:var(--wmcolor-text-negative);--wmcolor-chart-label-text-positive:var(--wmcolor-text-positive);--wmcolor-chart-label-text:var(--wmcolor-text);--wmcolor-chart-subinfo-text:var(--wmcolor-text);--wmcolor-chart-value-text:var(--wmcolor-text);display:block}:host .component-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;font-size:0.875rem;position:relative;outline:none;}:host .component-wrapper:focus-visible{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:2px}:host .component-wrapper .label{display:block;margin:0;padding-bottom:0.25rem;font-weight:600;position:relative}:host .component-wrapper .label .subinfo{display:block;font-weight:normal;font-style:italic;bottom:0.25rem;width:100%;color:var(--wmcolor-chart-subinfo-text)}:host .component-wrapper .label.custom-width{width:var(--custom-label-width)}:host .component-wrapper .label.--none{display:none}:host .component-wrapper .doughnut-svg,:host .component-wrapper .inner-stacked-bar-wrapper{overflow:visible}:host .component-wrapper .bar-wrapper{-ms-flex-positive:1;flex-grow:1;width:100%}:host .component-wrapper .bar-wrapper .inner-stacked-bar-wrapper{width:100%}:host .component-wrapper .bar-wrapper .inner-stacked-bar-wrapper .values{display:-ms-flexbox;display:flex;gap:2px;margin-bottom:8px}:host .component-wrapper .bar-wrapper .inner-stacked-bar-wrapper .values.none{margin:0}:host .component-wrapper .bar-wrapper .inner-stacked-bar-wrapper .stacked-bar-segments-wrapper{display:-ms-flexbox;display:flex;gap:2px}:host .component-wrapper .bar-wrapper .inner-stacked-bar-wrapper .stacked-bar-segments-wrapper .stacked-bar-segment{height:30px;cursor:pointer}:host .component-wrapper .segment{print-color-adjust:exact;-webkit-print-color-adjust:exact}:host .component-wrapper .segment.fixed-width{-ms-flex-negative:0;flex-shrink:0}:host .component-wrapper .doughnut-wrapper{-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;border-radius:4px}:host .component-wrapper .doughnut-wrapper .doughnut-segment{cursor:pointer}:host .component-wrapper .value-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .component-wrapper .value-wrapper .fixed-width{-ms-flex-negative:0;flex-shrink:0}:host .component-wrapper .value-wrapper .value.hidden{visibility:hidden}:host .component-wrapper .faded{opacity:0.3}:host .component-wrapper path:active,:host .component-wrapper path:hover,:host .component-wrapper path:focus,:host .component-wrapper .stacked-bar-segment:active,:host .component-wrapper .stacked-bar-segment:hover,:host .component-wrapper .stacked-bar-segment:focus{outline:none}:host .component-wrapper .stacked-bar-segment:active.stacked-bar-segment:not(:focus-visible),:host .component-wrapper .stacked-bar-segment:hover.stacked-bar-segment:not(:focus-visible),:host .component-wrapper .stacked-bar-segment:focus.stacked-bar-segment:not(:focus-visible){-webkit-box-shadow:0px 0px 6px #333;-moz-box-shadow:0px 0px 6px #333;box-shadow:0px 0px 6px #333}:host .component-wrapper path:active.doughnut-segment:not(:focus-visible),:host .component-wrapper path:hover.doughnut-segment:not(:focus-visible),:host .component-wrapper path:focus.doughnut-segment:not(:focus-visible),:host .component-wrapper .stacked-bar-segment:active.doughnut-segment:not(:focus-visible),:host .component-wrapper .stacked-bar-segment:hover.doughnut-segment:not(:focus-visible),:host .component-wrapper .stacked-bar-segment:focus.doughnut-segment:not(:focus-visible){-webkit-filter:url(#wmHoverDropShadow);filter:url(#wmHoverDropShadow)}:host .component-wrapper path::-moz-focus-inner,:host .component-wrapper .stacked-bar-segment::-moz-focus-inner{border:0;outline:none}:host .component-wrapper .stacked-bar-segment:focus-visible{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:2px;-webkit-box-shadow:0 0 0 7px white;box-shadow:0 0 0 7px white;z-index:1}:host .component-wrapper #kfbg1{stroke:white;stroke-width:10px}:host .component-wrapper #kfstroke{stroke:var(--wmcolor-interactive-focus);stroke-width:6px}:host .component-wrapper #kfbg2{stroke:white;stroke-width:2px}:host .component-wrapper.doughnut{width:300px}:host .component-wrapper.doughnut1 label,:host .component-wrapper.doughnut1 .label-text,:host .component-wrapper.doughnut2 label,:host .component-wrapper.doughnut2 .label-text,:host .component-wrapper.doughnut3 label,:host .component-wrapper.doughnut3 .label-text{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .component-wrapper.doughnut{-ms-flex-align:center;align-items:center}:host .component-wrapper.doughnut label{text-align:center;width:100%;padding-bottom:1.5rem}:host .component-wrapper.doughnut label .subinfo{position:absolute}:host .component-wrapper.doughnut .completion-message{padding-top:0.625rem}:host .component-wrapper.bar{-ms-flex-align:start;align-items:flex-start}:host .component-wrapper.bar label{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .component-wrapper.bar label .subinfo{position:initial}:host .component-wrapper.bar .chart-wrapper{display:-ms-flexbox;display:flex}:host .component-wrapper.bar .chart-wrapper .single-perc{width:4rem;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;height:30px;-ms-flex-align:center;align-items:center}:host .component-wrapper.bar .chart-wrapper .inner-stacked-bar-wrapper{-ms-flex:1;flex:1}:host .component-wrapper.bar .chart-wrapper .completion-message{width:100%;text-align:right;margin-top:0.25rem}@media screen and (min-width: 768px){:host .component-wrapper.bar{-ms-flex-direction:row;flex-direction:row}:host .component-wrapper.bar label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;min-height:30px;width:12rem;text-align:left;padding-right:1.25rem;padding-bottom:0;-ms-flex:none;flex:none}:host .component-wrapper.bar .bar-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host .component-wrapper.bar .bar-wrapper .single-perc{text-align:center;padding-left:0.5rem;-ms-flex-pack:center;justify-content:center}}:host .component-wrapper.bar2,:host .component-wrapper.bar3,:host .component-wrapper.bar4,:host .component-wrapper.bar5{-ms-flex-align:start;align-items:flex-start}:host .component-wrapper.bar4 .inner-stacked-bar-wrapper,:host .component-wrapper.bar5 .inner-stacked-bar-wrapper{height:30px;margin-bottom:0}:host .component-wrapper.bar4 .inner-stacked-bar-wrapper.show-values,:host .component-wrapper.bar5 .inner-stacked-bar-wrapper.show-values{height:60px;margin-top:0}:host .component-wrapper.bar3 .chart-wrapper{position:relative;height:116px}:host .component-wrapper.bar3 .chart-wrapper .inner-stacked-bar-wrapper{position:absolute;top:35px;left:0;right:0;bottom:0;height:30px}:host .component-wrapper.bar3 .chart-wrapper .axis{position:absolute;top:0;left:0;width:100%;overflow:visible;-webkit-transform:translate(0px, 96px);transform:translate(0px, 96px)}:host .component-wrapper.bar3 .chart-wrapper .axis line{stroke:var(--wmcolor-chart-gridline);stroke-width:1px}:host .component-wrapper.bar3 .hidden-values-warning{margin-top:1.25rem}:host .component-wrapper.bar3 .bar3-axis-label{position:absolute;bottom:-4px;width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .component-wrapper.bar6,:host .component-wrapper.bar7{--chartPadding:48px;-ms-flex-align:start;align-items:flex-start}:host .component-wrapper.bar6 .chart-wrapper,:host .component-wrapper.bar7 .chart-wrapper{width:100%}:host .component-wrapper.bar6 .chart,:host .component-wrapper.bar7 .chart{position:relative;padding-right:var(--chartPadding)}:host .component-wrapper.bar6 .gridlines,:host .component-wrapper.bar7 .gridlines{position:absolute;left:var(--labelWidth);right:var(--chartPadding);top:0;bottom:0;background-image:linear-gradient(90deg, var(--wmcolor-chart-gridline) 1px, transparent 1px);background-position:-1px;border-left:1px solid var(--wmcolor-chart-gridline);border-bottom:1px solid var(--wmcolor-chart-gridline);background-size:var(--backgroundSize)}:host .component-wrapper.bar6 .rows,:host .component-wrapper.bar7 .rows{display:grid;grid-template-columns:var(--labelWidth) auto;grid-auto-rows:minmax(30px, 1fr);-ms-flex-align:center;align-items:center;position:relative;z-index:1}:host .component-wrapper.bar6 .rows .label,:host .component-wrapper.bar7 .rows .label{font-weight:400;padding:0 0.75rem 0 0;text-align:right;margin:0.75rem 0}:host .component-wrapper.bar6 .rows .label.hidden,:host .component-wrapper.bar7 .rows .label.hidden{visibility:hidden;white-space:nowrap}:host .component-wrapper.bar6 .bar,:host .component-wrapper.bar7 .bar{height:30px;position:relative}:host .component-wrapper.bar6 .bar .value,:host .component-wrapper.bar7 .bar .value{position:absolute;top:50%;right:-0.5rem;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host .component-wrapper.bar6 .x-axis,:host .component-wrapper.bar7 .x-axis{margin-left:var(--labelWidth);margin-right:var(--chartPadding);display:-ms-flexbox;display:flex;postion:relative}:host .component-wrapper.bar6 .tick,:host .component-wrapper.bar7 .tick{-ms-flex:1;flex:1;text-align:right}:host .component-wrapper.bar6 .tick span,:host .component-wrapper.bar7 .tick span{-webkit-transform:translateX(50%);transform:translateX(50%);display:inline-block}:host .component-wrapper.bar6 .zero,:host .component-wrapper.bar7 .zero{position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%)}:host .component-wrapper.bar6 .bar:active,:host .component-wrapper.bar6 .bar:hover,:host .component-wrapper.bar6 .bar:focus,:host .component-wrapper.bar7 .bar:active,:host .component-wrapper.bar7 .bar:hover,:host .component-wrapper.bar7 .bar:focus{outline:none}:host .component-wrapper.bar6 .bar:active.bar:not(:focus-visible),:host .component-wrapper.bar6 .bar:hover.bar:not(:focus-visible),:host .component-wrapper.bar6 .bar:focus.bar:not(:focus-visible),:host .component-wrapper.bar7 .bar:active.bar:not(:focus-visible),:host .component-wrapper.bar7 .bar:hover.bar:not(:focus-visible),:host .component-wrapper.bar7 .bar:focus.bar:not(:focus-visible){-webkit-box-shadow:0px 0px 6px #333;-moz-box-shadow:0px 0px 6px #333;box-shadow:0px 0px 6px #333}:host .component-wrapper.bar6 .bar:focus-visible,:host .component-wrapper.bar7 .bar:focus-visible{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:2px;-webkit-box-shadow:0 0 0 7px white;box-shadow:0 0 0 7px white;z-index:1}:host .component-wrapper.left-label{-ms-flex-direction:row;flex-direction:row}:host .component-wrapper.left-label .label{width:12rem;padding-right:1.25rem;-ms-flex:none;flex:none;-ms-flex-item-align:end;align-self:flex-end;min-height:30px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .component-wrapper .hidden-values-warning{font-size:0.75rem;font-style:italic;max-width:100%}:host .component-wrapper .hidden-values-warning.hidden{display:none}@media print{:host .component-wrapper .hidden-values-warning{display:none}}:host #chart-instructions{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .component-wrapper .legend-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center}:host .component-wrapper .legend-wrapper .legend{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;text-align:center;padding-top:0.25rem;padding-bottom:0.75rem;-webkit-box-sizing:border-box;box-sizing:border-box}:host .component-wrapper .legend-wrapper .legend.bar6{display:none}:host .component-wrapper .legend-wrapper .legend.--top{margin-top:-0.75rem}:host .component-wrapper .legend-wrapper .legend.--top .legend-item{padding-top:0.75rem}:host .component-wrapper .legend-wrapper .legend.--top .legend-color{top:0.75rem}:host .component-wrapper .legend-wrapper .legend.--bottom{margin-bottom:-0.75rem}:host .component-wrapper .legend-wrapper .legend.--bottom .legend-item{padding-bottom:0.75rem}:host .component-wrapper .legend-wrapper .legend.--bottom .legend-color{top:-0.75rem}:host .component-wrapper .legend-wrapper .legend .legend-item{position:relative}:host .component-wrapper .legend-wrapper .legend .legend-item.faded{opacity:0.3}:host .component-wrapper .legend-wrapper .legend .legend-item:not(:last-of-type){padding-right:1.25rem}:host .component-wrapper .legend-wrapper .legend .legend-text{font-size:0.875rem;padding-left:1rem;line-height:1}:host .component-wrapper .legend-wrapper .legend .legend-color{position:absolute;left:0;bottom:0;margin:auto;width:0.6875rem;height:0.6875rem;print-color-adjust:exact;-webkit-print-color-adjust:exact}:host .component-wrapper .legend-wrapper .legend .print-value{display:none}:host .component-wrapper .legend-wrapper .legend .print-value.force-visible{display:unset}@media print{:host .component-wrapper .legend-wrapper .legend .print-value{display:unset}}:host .component-wrapper .legend-wrapper .legend.bar3{padding-bottom:1.25rem}";export{v as wm_chart}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={"chart.clickToSeeDetails":[{type:0,value:"Click or use arrow keys to see details."}],"chart.hiddenValues":[{type:0,value:"Values are hidden when too close together."}],"chart.infoButton":[{type:0,value:"Button. Click for more information."}],"chart.instructions":[{type:0,value:"Use arrow keys to browse elements, press Tab to exit."}],"chart.roleDescription":[{type:0,value:"Interactive chart"}],"date.april":[{type:0,value:"April"}],"date.august":[{type:0,value:"August"}],"date.calendarView":[{type:0,value:"Calendar View"}],"date.currentMonth":[{type:0,value:"current month"}],"date.december":[{type:0,value:"December"}],"date.february":[{type:0,value:"February"}],"date.fr":[{type:0,value:"Fr"}],"date.friday":[{type:0,value:"Friday"}],"date.instructions":[{type:0,value:"Use arrows to select a date in the table. Tab left or right to buttons for selecting previous month, next month, or the month selection table."}],"date.january":[{type:0,value:"January"}],"date.july":[{type:0,value:"July"}],"date.june":[{type:0,value:"June"}],"date.march":[{type:0,value:"March"}],"date.may":[{type:0,value:"May"}],"date.mo":[{type:0,value:"Mo"}],"date.monday":[{type:0,value:"Monday"}],"date.november":[{type:0,value:"November"}],"date.october":[{type:0,value:"October"}],"date.sa":[{type:0,value:"Sa"}],"date.saturday":[{type:0,value:"Saturday"}],"date.selectMonth":[{type:0,value:"Activate to select a month."}],"date.selectNextMonth":[{type:0,value:"Select next month"}],"date.selectNextYear":[{type:0,value:"Select next year"}],"date.selectPreviousMonth":[{type:0,value:"Select previous month"}],"date.selectPreviousYear":[{type:0,value:"Select previous year"}],"date.selectYear":[{type:0,value:"Activate to select a year."}],"date.september":[{type:0,value:"September"}],"date.su":[{type:0,value:"Su"}],"date.sunday":[{type:0,value:"Sunday"}],"date.th":[{type:0,value:"Th"}],"date.thursday":[{type:0,value:"Thursday"}],"date.today":[{type:0,value:"today"}],"date.tu":[{type:0,value:"Tu"}],"date.tuesday":[{type:0,value:"Tuesday"}],"date.we":[{type:0,value:"We"}],"date.wednesday":[{type:0,value:"Wednesday"}],"file.actionMenuLabel":[{type:0,value:"Actions"}],"file.clearErrorLabel":[{type:0,value:"Clear "},{type:1,value:"fileName"},{type:0,value:" error"}],"file.clearErrorText":[{type:0,value:"Clear"}],"file.deleteAction":[{type:0,value:"Delete File"}],"file.deleteButtonTooltip":[{type:0,value:"Delete"}],"file.downloadAction":[{type:0,value:"Download File"}],"file.downloadButtonTooltip":[{type:0,value:"Download"}],"file.previewAction":[{type:0,value:"Preview File"}],"file.previewButtonTooltip":[{type:0,value:"Preview"}],"navigation.mainNavigation":[{type:0,value:"Main"}],"navigation.showNavigation":[{type:0,value:"Show navigation"}],"navigator.WatermarkAppNavigation":[{type:0,value:"Watermark App Navigation"}],"navigator.logout":[{type:0,value:"Log Out"}],"navigator.userinfo":[{type:0,value:"User information"}],"navigator.userinfoAndProductNavigator":[{type:0,value:"User information and product navigator"}],"navigator.userinfoLabel":[{type:0,value:"for "},{type:1,value:"name"},{type:0,value:", email "},{type:1,value:"email"}],"navigator.watermarkApps":[{type:0,value:"Watermark Apps"}],"search.jumpToResult":[{type:0,value:"Jump to search result in list"}],"search.nextResult":[{type:0,value:"Press to hear next matching result"}],"search.previousResult":[{type:0,value:"Press to hear previous matching result"}],"search.resultsFound":[{offset:0,options:{"=0":{value:[{type:0,value:"No results"}]},one:{value:[{type:0,value:"1 result"}]},other:{value:[{type:7},{type:0,value:" results"}]}},pluralType:"cardinal",type:6,value:"numResults"},{type:0,value:" found"}],"search.typeToFilterResults":[{type:0,value:"Type to filter the results"}],"search.xOfYResults":[{offset:0,options:{"=0":{value:[{type:0,value:"No results found"}]},other:{value:[{type:1,value:"current"},{type:0,value:" of "},{type:1,value:"numResults"},{type:0,value:" results"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.allOptionsDeselected":[{type:0,value:"All options deselected"}],"select.allOptionsSelected":[{type:0,value:"All options selected"}],"select.allSelected":[{type:0,value:"All selected"}],"select.deselectAll":[{type:0,value:"Deselect All"}],"select.multiPlaceholder":[{type:0,value:"Make a selection"}],"select.noSearchResults":[{type:0,value:"No results found. Please try your search again."}],"select.searchPlaceholder":[{type:0,value:"Search"}],"select.searchResultsFound":[{offset:0,options:{one:{value:[{type:0,value:"1 option found"}]},other:{value:[{type:7},{type:0,value:" options found"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.selectAll":[{type:0,value:"Select All"}],"tagInput.addNewHelpText":[{type:0,value:"Press the Enter or Comma key to add a new tag."}],"tagInput.existingOptions":[{offset:0,options:{one:{value:[{type:0,value:"1 existing option."}]},other:{value:[{type:7},{type:0,value:" existing options."}]}},pluralType:"cardinal",type:6,value:"num"}],"tagInput.maxTagsReached":[{type:0,value:"No more tags can be added because the limit has been reached."}],"tagInput.noResults":[{type:0,value:"No results match your search."}],"tagInput.placeholderAdd":[{type:0,value:"Add a new tag"}],"tagInput.placeholderAddAndSearch":[{type:0,value:"Add or search for a tag"}],"tagInput.placeholderSearch":[{type:0,value:"Search and select a tag"}],"tagInput.selectionHelpText":[{type:0,value:"Search and select a tag."}],"tagInput.tagAdded":[{type:1,value:"tagName"},{type:0,value:" added."}],"tagInput.tagAlreadyAdded":[{type:1,value:"tagName"},{type:0,value:" has already been added."}],"tagInput.tagAreaInstructions":[{type:0,value:"tag selection. Press Backspace or Delete to remove a tag."}],"tagInput.tagLocked":[{type:1,value:"tagName"},{type:0,value:" is locked and cannot be removed."}],"tagInput.tagRemoved":[{type:1,value:"tagName"},{type:0,value:" removed."}],"tagInput.tagsAdded":[{type:0,value:"Tags added"}],"time.selectTime":[{type:0,value:"Select time"}],"time.timeFormat":[{type:0,value:"hh:mm"}],"toggletip.moreInformation":[{type:0,value:"More information"}]},t=Object.freeze({__proto__:null,en:e,fr:{"chart.clickToSeeDetails":[{type:0,value:"Cliquez ou utilisez les flèches directionnelles pour plus d'information."}],"chart.hiddenPercentages":[{type:0,value:"Les pourcentages contigus de moins de 5% ne sont pas affichés."}],"chart.infoButton":[{type:0,value:"Bouton. Activer pour plus d'informations."}],"chart.interactiveChart":[{type:0,value:"Graphique interactif. Utilisez les touches directionnelles pour parcourir les éléments, tabulation pour sortir."}],"date.april":[{type:0,value:"Avril"}],"date.august":[{type:0,value:"Août"}],"date.calendarView":[{type:0,value:"Voir le calendrier"}],"date.currentMonth":[{type:0,value:"Mois actuel"}],"date.december":[{type:0,value:"Décembre"}],"date.february":[{type:0,value:"Février"}],"date.fr":[{type:0,value:"Ve"}],"date.friday":[{type:0,value:"Vendredi"}],"date.instructions":[{type:0,value:"Utilisez les flèches directionnelles pour choisir une date dans le tableau. La touche tabulation permet d'accéder aux boutons de sélection du mois."}],"date.invalidDate":[{type:0,value:"Entrez une date valide au format "},{options:{int:{value:[{type:0,value:"jj/mm/aaaa"}]},other:{value:[{type:0,value:"aaaa/mm/jj"}]},us:{value:[{type:0,value:"mm/jj/aaaa"}]}},type:5,value:"dateFormat"},{type:0,value:"."}],"date.january":[{type:0,value:"Janvier"}],"date.july":[{type:0,value:"Juillet"}],"date.june":[{type:0,value:"Juin"}],"date.march":[{type:0,value:"Mars"}],"date.may":[{type:0,value:"Mai"}],"date.mo":[{type:0,value:"Lu"}],"date.monday":[{type:0,value:"Lundi"}],"date.november":[{type:0,value:"Novembre"}],"date.october":[{type:0,value:"Octobre"}],"date.requiredDateError":[{type:0,value:"Vous devez renseigner une date."}],"date.sa":[{type:0,value:"Sa"}],"date.saturday":[{type:0,value:"Samedi"}],"date.selectMonth":[{type:0,value:"Activer pour sélectionner le mois."}],"date.selectNextMonth":[{type:0,value:"Sélectionner le mois suivant"}],"date.selectNextYear":[{type:0,value:"Sélectionner l'année suivante"}],"date.selectPreviousMonth":[{type:0,value:"Sélectionner le mois prédédent"}],"date.selectPreviousYear":[{type:0,value:"Sélectionner l'année prédédente"}],"date.selectYear":[{type:0,value:"Activer pour sélectionner l'année."}],"date.september":[{type:0,value:"Septembre"}],"date.su":[{type:0,value:"Di"}],"date.sunday":[{type:0,value:"Dimanche"}],"date.th":[{type:0,value:"Je"}],"date.thursday":[{type:0,value:"Jeudi"}],"date.today":[{type:0,value:"aujourd'hui"}],"date.tu":[{type:0,value:"Ma"}],"date.tuesday":[{type:0,value:"Mardi"}],"date.we":[{type:0,value:"Me"}],"date.wednesday":[{type:0,value:"Mercredi"}],"global.characterLimit":[{style:null,type:2,value:"limit"},{type:0,value:" caractères autorisés."}],"global.characterLimitReached":[{type:0,value:"Aucun autre caractère ne peut être ajouté."}],"global.charactersEntered":[{style:null,type:2,value:"x"},{type:0,value:" caractères sur "},{style:null,type:2,value:"y"},{type:0,value:" ajoutés."}],"global.closeVerb":[{type:0,value:"Fermer"}],"global.genericError":[{type:0,value:"Une erreur s'est produite. Veuillez réessayer."}],"global.newWindowLink":[{type:0,value:"S'ouvre dans une nouvelle fenêtre."}],"global.next":[{type:0,value:"suivant"}],"global.openVerb":[{type:0,value:"Ouvrir"}],"global.previous":[{type:0,value:"précédent"}],"global.requiredError":[{type:0,value:"Ce champ est requis."}],"global.requiredField":[{type:0,value:"champ requis"}],"input.numberError":[{type:0,value:"Entrez un nombre valide."}],"navigation.mainNavigation":[{type:0,value:"Principale"}],"navigation.showNavigation":[{type:0,value:"Ouvrir la navigation"}],"navigator.WatermarkAppNavigation":[{type:0,value:"Navigation des Apps Watermark"}],"navigator.logout":[{type:0,value:"Se déconnecter"}],"navigator.userinfo":[{type:0,value:"Informations utilisateur"}],"navigator.userinfoAndProductNavigator":[{type:0,value:"Informations utilisateur et navigateur de produits"}],"navigator.userinfoLabel":[{type:0,value:"pour "},{type:1,value:"name"},{type:0,value:", email "},{type:1,value:"email"}],"navigator.watermarkApps":[{type:0,value:"Apps Watermark"}],"search.jumpToResult":[{type:0,value:"Aller au résultat"}],"search.nextResult":[{type:0,value:"Activer pour entendre le résultat suivant"}],"search.previousResult":[{type:0,value:"Activer pour entendre le résultat précédent"}],"search.resultsFound":[{offset:0,options:{"=0":{value:[{type:0,value:"Aucun résultat"}]},one:{value:[{type:0,value:"1 résultat"}]},other:{value:[{type:7},{type:0,value:" résultats"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"search.typeToFilterResults":[{type:0,value:"Tapez pour filtrer les résultats"}],"search.xOfYResults":[{offset:0,options:{"=0":{value:[{type:0,value:"Aucun résultat"}]},other:{value:[{type:0,value:"Résultat "},{type:1,value:"current"},{type:0,value:" de "},{type:1,value:"numResults"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.allSelected":[{type:0,value:"Tous sélectionnés"}],"select.multiPlaceholder":[{type:0,value:"Faites une sélection"}],"tagInput.existingOptions":[{offset:0,options:{one:{value:[{type:0,value:"1 option existante."}]},other:{value:[{type:7},{type:0,value:" options existantes."}]}},pluralType:"cardinal",type:6,value:"num"}],"tagInput.helpTextCanSelect":[{type:0,value:"Recherchez et sélectionnez une étiquette."}],"tagInput.helpTextEditable":[{type:0,value:"Appuyez sur Entrée ou insérez une virgule pour ajouter une nouvelle étiquette."}],"tagInput.maxTagsReached":[{type:0,value:"Le nombre maximal d'étiquettes est atteint, aucune autre ne peut être ajoutée."}],"tagInput.placeholderAdd":[{type:0,value:"Ajoutez une nouvelle étiquette"}],"tagInput.placeholderAddAndSearch":[{type:0,value:"Ajoutez ou recherchez une étiquette"}],"tagInput.placeholderSearch":[{type:0,value:"Recherchez et sélectionnez une étiquette"}],"tagInput.tagAdded":[{type:1,value:"tagName"},{type:0,value:" ajoutée."}],"tagInput.tagAlreadyAdded":[{type:1,value:"tagName"},{type:0,value:" a déjà été ajoutée."}],"tagInput.tagAreaInstructions":[{type:0,value:"selection d'étiquettes. Touche retour arrière ou supprimer pour enlever une étiquette."}],"tagInput.tagRemoved":[{type:1,value:"tag"},{type:0,value:" enlevée"}],"tagInput.tagsAddedCounter":[{type:0,value:"Étiquette ajoutée : "},{style:null,type:2,value:"x"},{type:0,value:"/"},{style:null,type:2,value:"y"}],"time.invalidTime":[{type:0,value:"Entrez une heure valide."}],"time.requiredError":[{type:0,value:"Vous devez renseigner une heure."}],"time.selectTime":[{type:0,value:"Choisissez une heure"}],"time.timeFormat":[{type:0,value:"hh:mm"}],"toggletip.moreInformation":[{type:0,value:"Plus d'information"}],"uploader.duplicateName":[{type:0,value:"Un fichier du même nom existe déjà."}],"uploader.fileDeleted":[{type:1,value:"fileName"},{type:0,value:" a été supprimé."}],"uploader.fileNotDeleted":[{type:1,value:"fileName"},{type:0,value:" n'a pas pu être supprimé."}],"uploader.fileTooLarge":[{type:0,value:"Le fichier sélectionné est trop lourd. La taille maximum est de "},{type:1,value:"size"},{type:0,value:"Mb"}],"uploader.fileUploadExceeded":[{type:0,value:"Le nombre de fichiers selectionnés dépasse la limite."}],"uploader.fileUploadLimit":[{type:0,value:"Vous avez atteint le nombre maximum de fichiers."}],"uploader.filesAdded":[{offset:0,options:{one:{value:[{type:0,value:"1 fichier ajouté"}]},other:{value:[{type:7},{type:0,value:" fichiers ajoutés"}]}},pluralType:"cardinal",type:6,value:"numFiles"}],"uploader.filesUploading":[{offset:0,options:{one:{value:[{type:0,value:"1 fichier"}]},other:{value:[{type:7},{type:0,value:" fichiers"}]}},pluralType:"cardinal",type:6,value:"num"},{type:0,value:" en cours de téléchargement."}],"uploader.finishedUploading":[{type:0,value:"Téléchargement terminé"}],"uploader.invalidFileType":[{type:0,value:"Le type du fichier est invalide. Fichiers acceptés : "},{type:1,value:"validTypes"}],"uploader.uploadProgress":[{type:0,value:"Progression de l'envoi: "},{type:1,value:"percentage"},{type:0,value:"%"}],"uploader.waitToUpload":[{type:0,value:"Attendez la fin du chargement en cours pour ajouter de nouveaux fichiers."}]},es:{"chart.clickToSeeDetails":[{type:0,value:"Haga clic o utilice las flechas para ver los detalles."}],"chart.hiddenPercentages":[{type:0,value:"Los porcentajes menores a 5 % no se mostrarán si se encuentran demasiado cerca entre ellos."}],"chart.infoButton":[{type:0,value:"Botón. Haga clic para obtener más información"}],"chart.interactiveChart":[{type:0,value:"Cuadro interactivo. Utilice las teclas de flechas para buscar elementos, presione la tecla Tab para salir."}],"date.april":[{type:0,value:"Abril"}],"date.august":[{type:0,value:"Agosto"}],"date.calendarView":[{type:0,value:"Vista de calendario"}],"date.currentMonth":[{type:0,value:"mes en curso"}],"date.december":[{type:0,value:"Diciembre"}],"date.february":[{type:0,value:"Febrero"}],"date.fr":[{type:0,value:"Vi"}],"date.friday":[{type:0,value:"Viernes"}],"date.instructions":[{type:0,value:"Utilice las flechas para seleccionar una fecha en la tabla. Presione los botones izquierdo o derecho para seleccionar el mes anterior, el mes siguiente o la tabla de selección de mes."}],"date.invalidDate":[{type:0,value:"Escriba una fecha válida en el formato "},{options:{int:{value:[{type:0,value:"dd/mm/aaaa"}]},other:{value:[{type:0,value:"aaaa/mm/dd"}]},us:{value:[{type:0,value:"mm/dd/aaaa"}]}},type:5,value:"dateFormat"},{type:0,value:"."}],"date.january":[{type:0,value:"Enero"}],"date.july":[{type:0,value:"Julio"}],"date.june":[{type:0,value:"Junio"}],"date.march":[{type:0,value:"Marzo"}],"date.may":[{type:0,value:"Mayo"}],"date.mo":[{type:0,value:"Lu"}],"date.monday":[{type:0,value:"Lunes"}],"date.november":[{type:0,value:"Noviembre"}],"date.october":[{type:0,value:"Octubre"}],"date.requiredDateError":[{type:0,value:"La fecha se require."}],"date.sa":[{type:0,value:"Sá"}],"date.saturday":[{type:0,value:"Sábado"}],"date.selectMonth":[{type:0,value:"Active para seleccionar un mes."}],"date.selectNextMonth":[{type:0,value:"Seleccionar el mes siguiente"}],"date.selectNextYear":[{type:0,value:"Seleccionar el año siguiente"}],"date.selectPreviousMonth":[{type:0,value:"Seleccionar el mes anterior"}],"date.selectPreviousYear":[{type:0,value:"Seleccionar el año anterior"}],"date.selectYear":[{type:0,value:"Active para seleccionar un año."}],"date.september":[{type:0,value:"Septiembre"}],"date.su":[{type:0,value:"Do"}],"date.sunday":[{type:0,value:"Domingo"}],"date.th":[{type:0,value:"Ju"}],"date.thursday":[{type:0,value:"Jueves"}],"date.today":[{type:0,value:"hoy"}],"date.tu":[{type:0,value:"Ma"}],"date.tuesday":[{type:0,value:"Martes"}],"date.we":[{type:0,value:"Mi"}],"date.wednesday":[{type:0,value:"Miércoles"}],"global.characterLimit":[{style:null,type:2,value:"limit"},{type:0,value:" caracteres permitido."}],"global.characterLimitReached":[{type:0,value:"No se grabaran caracteres adicionales."}],"global.charactersEntered":[{style:null,type:2,value:"x"},{type:0,value:" de "},{style:null,type:2,value:"y"},{type:0,value:" caracteres ingresados."}],"global.closeVerb":[{type:0,value:"Cerrar"}],"global.genericError":[{type:0,value:"Se produjo un error. Vuelva a intentarlo."}],"global.newWindowLink":[{type:0,value:"Se abre en una nueva ventana."}],"global.next":[{type:0,value:"siguiente"}],"global.previous":[{type:0,value:"anterior"}],"global.requiredError":[{type:0,value:"Se require este campo de ingreso."}],"global.requiredField":[{type:0,value:"Campo de ingreso requerido"}],"input.numberError":[{type:0,value:"Ingrese un numero valido por favor."}],"navigator.WatermarkAppNavigation":[{type:0,value:"Navegación de la aplicación de Watermark"}],"navigator.logout":[{type:0,value:"Cerrar sesión"}],"navigator.userinfo":[{type:0,value:"Información de Usuario"}],"navigator.userinfoAndProductNavigator":[{type:0,value:"Información de Usuario y Navegador de Productos"}],"navigator.userinfoLabel":[{type:0,value:"para "},{type:1,value:"name"},{type:0,value:", email "},{type:1,value:"email"}],"navigator.watermarkApps":[{type:0,value:"Aplicaciones de Watermark"}],"search.jumpToResult":[{type:0,value:"Salte para buscar resultados en la lista"}],"search.nextResult":[{type:0,value:"Presione para escuchar el siguiente resultado coincidente"}],"search.previousResult":[{type:0,value:"Presione para escuchar el resultado coincidente anterior"}],"search.resultsFound":[{offset:0,options:{"=0":{value:[{type:0,value:"No se encontraron resultados"}]},one:{value:[{type:0,value:"Se encontró un resultado"}]},other:{value:[{type:7},{type:0,value:" resultados encontrados"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"search.typeToFilterResults":[{type:0,value:"Escriba para filtrar los resultados"}],"search.xOfYResults":[{offset:0,options:{"=0":{value:[{type:0,value:"No se encontraron resultados"}]},one:{value:[{type:0,value:"1 de 1 resultado encontrado"}]},other:{value:[{type:1,value:"current"},{type:0,value:" de "},{type:1,value:"numResults"},{type:0,value:" resultados encontrados"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.allSelected":[{type:0,value:"Todo seleccionado"}],"select.multiPlaceholder":[{type:0,value:"Haga una elección"}],"tagInput.existingOptions":[{offset:0,options:{one:{value:[{type:0,value:"solo una opcion existe."}]},other:{value:[{type:7},{type:0,value:" opciones existen."}]}},pluralType:"cardinal",type:6,value:"num"}],"tagInput.helpTextCanSelect":[{type:0,value:"Buscsa y selecciona una etiqueta."}],"tagInput.helpTextEditable":[{type:0,value:"Presione la tecla de enter o coma para agregar una nueva etiqueta."}],"tagInput.maxTagsReached":[{type:0,value:"Se ha alcanzado el limite máximo de etiquetas, no se pueden agregar etiquetas adicionales."}],"tagInput.placeholderAdd":[{type:0,value:"Agrega una nueva etiqueta"}],"tagInput.placeholderAddAndSearch":[{type:0,value:"Agrega o busca por una etiqueta"}],"tagInput.placeholderSearch":[{type:0,value:"Buscsa y selecciona una etiqueta"}],"tagInput.tagAdded":[{type:1,value:"tagName"},{type:0,value:" agregada."}],"tagInput.tagAlreadyAdded":[{type:1,value:"tagName"},{type:0,value:" ya ha side añadida."}],"tagInput.tagAreaInstructions":[{type:0,value:"Selección de etiquetas. Presione la tecla retroceso o eliminar para quitar una etiqueta."}],"tagInput.tagRemoved":[{type:1,value:"tag"},{type:0,value:" quitado"}],"tagInput.tagsAddedCounter":[{type:0,value:"Etiquetas añadidas: "},{style:null,type:2,value:"x"},{type:0,value:"/"},{style:null,type:2,value:"y"}],"time.invalidTime":[{type:0,value:"Ingrese un tiempo valido por favor."}],"time.requiredError":[{type:0,value:"Se require una hora. "}],"time.selectTime":[{type:0,value:"Selecciona hora"}],"time.timeFormat":[{type:0,value:"hh:mm"}],"toggletip.moreInformation":[{type:0,value:"Más información"}],"uploader.duplicateName":[{type:0,value:"Ya existe un archivo con este nombre."}],"uploader.fileDeleted":[{type:1,value:"fileName"},{type:0,value:" se eliminó."}],"uploader.fileNotDeleted":[{type:1,value:"fileName"},{type:0,value:" no se pudo eliminar."}],"uploader.fileTooLarge":[{type:0,value:"El archivo seleccionado es muy grande. El tamaño máximo de archivo es "},{type:1,value:"size"},{type:0,value:"Mb"}],"uploader.fileUploadExceeded":[{type:0,value:"El número de archivos seleccionados excede el límite."}],"uploader.fileUploadLimit":[{type:0,value:"Alcanzó el límite de carga de archivos."}],"uploader.filesAdded":[{offset:0,options:{one:{value:[{type:0,value:"1 archivo agregado"}]},other:{value:[{type:7},{type:0,value:" archivos agregados"}]}},pluralType:"cardinal",type:6,value:"numFiles"}],"uploader.filesUploading":[{offset:0,options:{one:{value:[{type:0,value:"1 archivo cargando"}]},other:{value:[{type:7},{type:0,value:" archivos cargandos"}]}},pluralType:"cardinal",type:6,value:"num"}],"uploader.finishedUploading":[{type:0,value:"Finalizó la carga"}],"uploader.invalidFileType":[{type:0,value:"El tipo de archivo no es válido. Tipos aceptados: "},{type:1,value:"validTypes"}],"uploader.uploadProgress":[{type:0,value:"Progreso de la carga: "},{type:1,value:"percentage"},{type:0,value:"%"}]},pig:{"chart.clickToSeeDetails":[{type:0,value:"Ickclay oryay useyay arrowyay eyskay otay eesay etailsday."}],"chart.hiddenValues":[{type:0,value:"Aluesvay areyay iddenhay enwhay ootay oseclay ogethertay."}],"chart.infoButton":[{type:0,value:"Uttonbay. Ickclay orfay oremay informationyay."}],"chart.instructions":[{type:0,value:"Useyay arrowyay eyskay otay owsebray elementsyay, esspray Abtay otay exityay."}],"chart.roleDescription":[{type:0,value:"Interactiveyay artchay"}],"date.april":[{type:0,value:"Aprilyay"}],"date.august":[{type:0,value:"Augustyay"}],"date.calendarView":[{type:0,value:"Alendarcay Iewvay"}],"date.currentMonth":[{type:0,value:"urrentcay onthmay"}],"date.december":[{type:0,value:"Ecemberday"}],"date.february":[{type:0,value:"Ebruaryfay"}],"date.fr":[{type:0,value:"Fray"}],"date.friday":[{type:0,value:"Idayfray"}],"date.instructions":[{type:0,value:"Useyay arrowsyay otay electsay ayay ateday inyay ethay abletay. Abtay eftlay oryay ightray otay uttonsbay orfay electingsay eviouspray onthmay, extnay onthmay, oryay ethay onthmay electionsay abletay."}],"date.january":[{type:0,value:"Anuaryjay"}],"date.july":[{type:0,value:"Ulyjay"}],"date.june":[{type:0,value:"Unejay"}],"date.march":[{type:0,value:"Archmay"}],"date.may":[{type:0,value:"Aymay"}],"date.mo":[{type:0,value:"Omay"}],"date.monday":[{type:0,value:"Ondaymay"}],"date.november":[{type:0,value:"Ovembernay"}],"date.october":[{type:0,value:"Octoberyay"}],"date.sa":[{type:0,value:"Asay"}],"date.saturday":[{type:0,value:"Aturdaysay"}],"date.selectMonth":[{type:0,value:"Activateyay otay electsay ayay onthmay."}],"date.selectNextMonth":[{type:0,value:"Electsay extnay onthmay"}],"date.selectNextYear":[{type:0,value:"Electsay extnay earyay"}],"date.selectPreviousMonth":[{type:0,value:"Electsay eviouspray onthmay"}],"date.selectPreviousYear":[{type:0,value:"Electsay eviouspray earyay"}],"date.selectYear":[{type:0,value:"Activateyay otay electsay ayay earyay."}],"date.september":[{type:0,value:"Eptembersay"}],"date.su":[{type:0,value:"Usay"}],"date.sunday":[{type:0,value:"Undaysay"}],"date.th":[{type:0,value:"Thay"}],"date.thursday":[{type:0,value:"Ursdaythay"}],"date.today":[{type:0,value:"odaytay"}],"date.tu":[{type:0,value:"Utay"}],"date.tuesday":[{type:0,value:"Uesdaytay"}],"date.we":[{type:0,value:"Eway"}],"date.wednesday":[{type:0,value:"Ednesdayway"}],"file.actionMenuLabel":[{type:0,value:"Actionsyay"}],"file.clearErrorLabel":[{type:0,value:"Earclay "},{type:1,value:"fileName"},{type:0,value:" erroryay"}],"file.clearErrorText":[{type:0,value:"Earclay"}],"file.deleteAction":[{type:0,value:"Eleteday Ilefay"}],"file.deleteButtonTooltip":[{type:0,value:"Eleteday"}],"file.downloadAction":[{type:0,value:"Ownloadday Ilefay"}],"file.downloadButtonTooltip":[{type:0,value:"Ownloadday"}],"file.previewAction":[{type:0,value:"Eviewpray Ilefay"}],"file.previewButtonTooltip":[{type:0,value:"Eviewpray"}],"navigation.mainNavigation":[{type:0,value:"Ainmay"}],"navigation.showNavigation":[{type:0,value:"Owshay avigationnay"}],"navigator.WatermarkAppNavigation":[{type:0,value:"Atermarkway Appyay Avigationnay"}],"navigator.logout":[{type:0,value:"Oglay Outyay"}],"navigator.userinfo":[{type:0,value:"Useryay informationyay"}],"navigator.userinfoAndProductNavigator":[{type:0,value:"Useryay informationyay andyay oductpray avigatornay"}],"navigator.userinfoLabel":[{type:0,value:"orfay "},{type:1,value:"name"},{type:0,value:", emailyay "},{type:1,value:"email"}],"navigator.watermarkApps":[{type:0,value:"Atermarkway Appsyay"}],"search.jumpToResult":[{type:0,value:"Umpjay otay earchsay esultray inyay istlay"}],"search.nextResult":[{type:0,value:"Esspray otay earhay extnay atchingmay esultray"}],"search.previousResult":[{type:0,value:"Esspray otay earhay eviouspray atchingmay esultray"}],"search.resultsFound":[{offset:0,options:{"=0":{value:[{type:0,value:"Onay esultsray"}]},one:{value:[{type:0,value:"1 esultray"}]},other:{value:[{type:7},{type:0,value:" esultsray"}]}},pluralType:"cardinal",type:6,value:"numResults"},{type:0,value:" oundfay"}],"search.typeToFilterResults":[{type:0,value:"Etypay otay ilterfay ethay esultsray"}],"search.xOfYResults":[{offset:0,options:{"=0":{value:[{type:0,value:"Onay esultsray oundfay"}]},other:{value:[{type:1,value:"current"},{type:0,value:" ofyay "},{type:1,value:"numResults"},{type:0,value:" esultsray"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.allOptionsDeselected":[{type:0,value:"Allyay optionsyay eselectedday"}],"select.allOptionsSelected":[{type:0,value:"Allyay optionsyay electedsay"}],"select.allSelected":[{type:0,value:"Allyay electedsay"}],"select.deselectAll":[{type:0,value:"Eselectday Allyay"}],"select.multiPlaceholder":[{type:0,value:"Akemay ayay electionsay"}],"select.noSearchResults":[{type:0,value:"Onay esultsray oundfay. Easeplay tryay ouryay earchsay againyay."}],"select.searchPlaceholder":[{type:0,value:"Earchsay"}],"select.searchResultsFound":[{offset:0,options:{one:{value:[{type:0,value:"1 optionyay oundfay"}]},other:{value:[{type:7},{type:0,value:" optionsyay oundfay"}]}},pluralType:"cardinal",type:6,value:"numResults"}],"select.selectAll":[{type:0,value:"Electsay Allyay"}],"tagInput.addNewHelpText":[{type:0,value:"Esspray ethay Enteryay oryay Ommacay eykay otay addyay ayay ewnay agtay."}],"tagInput.existingOptions":[{offset:0,options:{one:{value:[{type:0,value:"1 existingyay optionyay."}]},other:{value:[{type:7},{type:0,value:" existingyay optionsyay."}]}},pluralType:"cardinal",type:6,value:"num"}],"tagInput.maxTagsReached":[{type:0,value:"Onay oremay agstay ancay ebay addedyay ecausebay ethay imitlay ashay eenbay eachedray."}],"tagInput.noResults":[{type:0,value:"Onay esultsray atchmay ouryay earchsay."}],"tagInput.placeholderAdd":[{type:0,value:"Addyay ayay ewnay agtay"}],"tagInput.placeholderAddAndSearch":[{type:0,value:"Addyay oryay earchsay orfay ayay agtay"}],"tagInput.placeholderSearch":[{type:0,value:"Earchsay andyay electsay ayay agtay"}],"tagInput.selectionHelpText":[{type:0,value:"Earchsay andyay electsay ayay agtay."}],"tagInput.tagAdded":[{type:1,value:"tagName"},{type:0,value:" addedyay."}],"tagInput.tagAlreadyAdded":[{type:1,value:"tagName"},{type:0,value:" ashay alreadyyay eenbay addedyay."}],"tagInput.tagAreaInstructions":[{type:0,value:"agtay electionsay. Esspray Ackspacebay oryay Eleteday otay emoveray ayay agtay."}],"tagInput.tagLocked":[{type:1,value:"tagName"},{type:0,value:" isyay ockedlay andyay annotcay ebay emovedray."}],"tagInput.tagRemoved":[{type:1,value:"tagName"},{type:0,value:" emovedray."}],"tagInput.tagsAdded":[{type:0,value:"Agstay addedyay"}],"time.selectTime":[{type:0,value:"Electsay imetay"}],"time.timeFormat":[{type:0,value:"hh:mmay"}],"toggletip.moreInformation":[{type:0,value:"Oremay informationyay"}]}});var a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])},a(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var n,i,u,o=function(){return o=Object.assign||function(e){for(var t,a=1,r=arguments.length;a<r;a++)for(var n in t=arguments[a])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},o.apply(this,arguments)};function l(e,t,a){if(a||2===arguments.length)for(var r,n=0,i=t.length;n<i;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function s(e){return e.type===i.literal}function h(e){return e.type===i.argument}function c(e){return e.type===i.number}function y(e){return e.type===i.date}function p(e){return e.type===i.time}function d(e){return e.type===i.select}function v(e){return e.type===i.plural}function f(e){return e.type===i.pound}function m(e){return e.type===i.tag}function g(e){return!(!e||"object"!=typeof e||e.type!==u.number)}function b(e){return!(!e||"object"!=typeof e||e.type!==u.dateTime)}"function"==typeof SuppressedError&&SuppressedError,function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(n||(n={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(i||(i={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(u||(u={}));var H=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,B=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function E(e){var t={};return e.replace(B,(function(e){var a=e.length;switch(e[0]){case"G":t.era=4===a?"long":5===a?"narrow":"short";break;case"y":t.year=2===a?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][a-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][a-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===a?"short":5===a?"narrow":"short";break;case"e":if(a<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][a-4];break;case"c":if(a<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][a-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][a-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][a-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][a-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][a-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][a-1];break;case"s":t.second=["numeric","2-digit"][a-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=a<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var w=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,A=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,T=/^(@+)?(\+|#+)?[rs]?$/g,I=/(\*)(0+)|(#+)(0+)|(0+)/g,S=/^(0+)$/;function M(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(T,(function(e,a,r){return"string"!=typeof r?(t.minimumSignificantDigits=a.length,t.maximumSignificantDigits=a.length):"+"===r?t.minimumSignificantDigits=a.length:"#"===a[0]?t.maximumSignificantDigits=a.length:(t.minimumSignificantDigits=a.length,t.maximumSignificantDigits=a.length+("string"==typeof r?r.length:0)),""})),t}function N(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function R(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var a=e.slice(0,2);if("+!"===a?(t.signDisplay="always",e=e.slice(2)):"+?"===a&&(t.signDisplay="exceptZero",e=e.slice(2)),!S.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function L(e){return N(e)||{}}function O(e){for(var t={},a=0,r=e;a<r.length;a++){var n=r[a];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=o(o(o({},t),{notation:"scientific"}),n.options.reduce((function(e,t){return o(o({},e),L(t))}),{}));continue;case"engineering":t=o(o(o({},t),{notation:"engineering"}),n.options.reduce((function(e,t){return o(o({},e),L(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(I,(function(e,a,r,n,i,u){if(a)t.minimumIntegerDigits=r.length;else{if(n&&i)throw new Error("We currently do not support maximum integer digits");if(u)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(S.test(n.stem))t.minimumIntegerDigits=n.stem.length;else if(A.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(A,(function(e,a,r,n,i,u){return"*"===r?t.minimumFractionDigits=a.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:i&&u?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+u.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),""}));var i=n.options[0];"w"===i?t=o(o({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=o(o({},t),M(i)))}else if(T.test(n.stem))t=o(o({},t),M(n.stem));else{var u=N(n.stem);u&&(t=o(o({},t),u));var l=R(n.stem);l&&(t=o(o({},t),l))}}return t}var D,x={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","h","K"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TL:["H","hB","hb","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function P(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var a,r=e.language;return"root"!==r&&(a=e.maximize().region),(x[a||""]||x[r||""]||x["".concat(r,"-001")]||x["001"])[0]}var j=new RegExp("^".concat(H.source,"*")),k=new RegExp("".concat(H.source,"*$"));function _(e,t){return{start:e,end:t}}var F=!!String.prototype.startsWith&&"_a".startsWith("a",1),C=!!String.fromCodePoint,U=!!Object.fromEntries,G=!!String.prototype.codePointAt,V=!!String.prototype.trimStart,q=!!String.prototype.trimEnd,z=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Y=!0;try{Y="a"===(null===(D=ee("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===D?void 0:D[0])}catch(e){Y=!1}var W,K=F?function(e,t,a){return e.startsWith(t,a)}:function(e,t,a){return e.slice(a,a+t.length)===t},J=C?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var a,r="",n=e.length,i=0;n>i;){if((a=e[i++])>1114111)throw RangeError(a+" is not a valid code point");r+=a<65536?String.fromCharCode(a):String.fromCharCode(55296+((a-=65536)>>10),a%1024+56320)}return r},Z=U?Object.fromEntries:function(e){for(var t={},a=0,r=e;a<r.length;a++){var n=r[a];t[n[0]]=n[1]}return t},X=G?function(e,t){return e.codePointAt(t)}:function(e,t){var a=e.length;if(!(t<0||t>=a)){var r,n=e.charCodeAt(t);return n<55296||n>56319||t+1===a||(r=e.charCodeAt(t+1))<56320||r>57343?n:r-56320+(n-55296<<10)+65536}},$=V?function(e){return e.trimStart()}:function(e){return e.replace(j,"")},Q=q?function(e){return e.trimEnd()}:function(e){return e.replace(k,"")};function ee(e,t){return new RegExp(e,t)}if(Y){var te=ee("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");W=function(e,t){var a;return te.lastIndex=t,null!==(a=te.exec(e)[1])&&void 0!==a?a:""}}else W=function(e,t){for(var a=[];;){var r=X(e,t);if(void 0===r||ne(r)||ie(r))break;a.push(r),t+=r>=65536?2:1}return J.apply(void 0,a)};var ae=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,a){for(var r=[];!this.isEOF();){var u=this.char();if(123===u){if((o=this.parseArgument(e,a)).err)return o;r.push(o.val)}else{if(125===u&&e>0)break;if(35!==u||"plural"!==t&&"selectordinal"!==t){if(60===u&&!this.ignoreTag&&47===this.peek()){if(a)break;return this.error(n.UNMATCHED_CLOSING_TAG,_(this.clonePosition(),this.clonePosition()))}if(60===u&&!this.ignoreTag&&re(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var l=this.clonePosition();this.bump(),r.push({type:i.pound,location:_(l,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var a=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:i.literal,value:"<".concat(r,"/>"),location:_(a,this.clonePosition())},err:null};if(this.bumpIf(">")){var u=this.parseMessage(e+1,t,!0);if(u.err)return u;var o=u.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!re(this.char()))return this.error(n.INVALID_TAG,_(l,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(n.UNMATCHED_CLOSING_TAG,_(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:i.tag,value:r,children:o,location:_(a,this.clonePosition())},err:null}:this.error(n.INVALID_TAG,_(l,this.clonePosition())))}return this.error(n.UNCLOSED_TAG,_(a,this.clonePosition()))}return this.error(n.INVALID_TAG,_(a,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var a=this.clonePosition(),r="";;){var n=this.tryParseQuote(t);if(n)r+=n;else{var u=this.tryParseUnquoted(e,t);if(u)r+=u;else{var o=this.tryParseLeftAngleBracket();if(!o)break;r+=o}}}var l=_(a,this.clonePosition());return{val:{type:i.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(re(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var a=this.char();if(39===a){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(a);this.bump()}return J.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var a=this.char();return 60===a||123===a||35===a&&("plural"===t||"selectordinal"===t)||125===a&&e>0?null:(this.bump(),J(a))},e.prototype.parseArgument=function(e,t){var a=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,_(a,this.clonePosition()));if(125===this.char())return this.bump(),this.error(n.EMPTY_ARGUMENT,_(a,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(n.MALFORMED_ARGUMENT,_(a,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,_(a,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:i.argument,value:r,location:_(a,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,_(a,this.clonePosition())):this.parseArgumentOptions(e,t,r,a);default:return this.error(n.MALFORMED_ARGUMENT,_(a,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),a=W(this.message,t);return this.bumpTo(t+a.length),{value:a,location:_(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,a,r){var l,s=this.clonePosition(),h=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(h){case"":return this.error(n.EXPECT_ARGUMENT_TYPE,_(s,c));case"number":case"date":case"time":this.bumpSpace();var y=null;if(this.bumpIf(",")){this.bumpSpace();var p=this.clonePosition();if((B=this.parseSimpleArgStyleIfPossible()).err)return B;if(0===(m=Q(B.val)).length)return this.error(n.EXPECT_ARGUMENT_STYLE,_(this.clonePosition(),this.clonePosition()));y={style:m,styleLocation:_(p,this.clonePosition())}}if((w=this.tryParseArgumentClose(r)).err)return w;var d=_(r,this.clonePosition());if(y&&K(null==y?void 0:y.style,"::",0)){var v=$(y.style.slice(2));if("number"===h)return(B=this.parseNumberSkeletonFromString(v,y.styleLocation)).err?B:{val:{type:i.number,value:a,location:d,style:B.val},err:null};if(0===v.length)return this.error(n.EXPECT_DATE_TIME_SKELETON,d);var f=v;this.locale&&(f=function(e,t){for(var a="",r=0;r<e.length;r++){var n=e.charAt(r);if("j"===n){for(var i=0;r+1<e.length&&e.charAt(r+1)===n;)i++,r++;var u=1+(1&i),o=i<2?1:3+(i>>1),l=P(t);for("H"!=l&&"k"!=l||(o=0);o-- >0;)a+="a";for(;u-- >0;)a=l+a}else a+="J"===n?"H":n}return a}(v,this.locale));var m={type:u.dateTime,pattern:f,location:y.styleLocation,parsedOptions:this.shouldParseSkeletons?E(f):{}};return{val:{type:"date"===h?i.date:i.time,value:a,location:d,style:m},err:null}}return{val:{type:"number"===h?i.number:"date"===h?i.date:i.time,value:a,location:d,style:null!==(l=null==y?void 0:y.style)&&void 0!==l?l:null},err:null};case"plural":case"selectordinal":case"select":var g=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(n.EXPECT_SELECT_ARGUMENT_OPTIONS,_(g,o({},g)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),H=0;if("select"!==h&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,_(this.clonePosition(),this.clonePosition()));var B;if(this.bumpSpace(),(B=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return B;this.bumpSpace(),b=this.parseIdentifierIfPossible(),H=B.val}var w,A=this.tryParsePluralOrSelectOptions(e,h,t,b);if(A.err)return A;if((w=this.tryParseArgumentClose(r)).err)return w;var T=_(r,this.clonePosition());return"select"===h?{val:{type:i.select,value:a,options:Z(A.val),location:T},err:null}:{val:{type:i.plural,value:a,options:Z(A.val),offset:H,pluralType:"plural"===h?"cardinal":"ordinal",location:T},err:null};default:return this.error(n.INVALID_ARGUMENT_TYPE,_(s,c))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,_(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,_(a,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var a=[];try{a=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],a=0,r=e.split(w).filter((function(e){return e.length>0}));a<r.length;a++){var n=r[a].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var i=n[0],u=n.slice(1),o=0,l=u;o<l.length;o++)if(0===l[o].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:u})}return t}(e)}catch(e){return this.error(n.INVALID_NUMBER_SKELETON,t)}return{val:{type:u.number,tokens:a,location:t,parsedOptions:this.shouldParseSkeletons?O(a):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,a,r){for(var i,u=!1,o=[],l=new Set,s=r.value,h=r.location;;){if(0===s.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var y=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_SELECTOR,n.INVALID_PLURAL_ARGUMENT_SELECTOR);if(y.err)return y;h=_(c,this.clonePosition()),s=this.message.slice(c.offset,this.offset())}if(l.has(s))return this.error("select"===t?n.DUPLICATE_SELECT_ARGUMENT_SELECTOR:n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);"other"===s&&(u=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,_(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(e+1,t,a);if(d.err)return d;var v=this.tryParseArgumentClose(p);if(v.err)return v;o.push([s,{value:d.val,location:_(p,this.clonePosition())}]),l.add(s),this.bumpSpace(),s=(i=this.parseIdentifierIfPossible()).value,h=i.location}return 0===o.length?this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR:n.EXPECT_PLURAL_ARGUMENT_SELECTOR,_(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!u?this.error(n.MISSING_OTHER_CLAUSE,_(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var a=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(a=-1);for(var n=!1,i=0;!this.isEOF();){var u=this.char();if(!(u>=48&&u<=57))break;n=!0,i=10*i+(u-48),this.bump()}var o=_(r,this.clonePosition());return n?z(i*=a)?{val:i,err:null}:this.error(t,o):this.error(e,o)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=X(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(K(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),a=this.message.indexOf(e,t);return a>=0?(this.bumpTo(a),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ne(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),a=this.message.charCodeAt(t+(e>=65536?2:1));return null!=a?a:null},e}();function re(e){return e>=97&&e<=122||e>=65&&e<=90}function ne(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ie(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ue(e){e.forEach((function(e){if(delete e.location,d(e)||v(e))for(var t in e.options)delete e.options[t].location,ue(e.options[t].value);else c(e)&&g(e.style)||(y(e)||p(e))&&b(e.style)?delete e.style.location:m(e)&&ue(e.children)}))}function oe(e,t){void 0===t&&(t={}),t=o({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var a=new ae(e,t).parse();if(a.err){var r=SyntaxError(n[a.err.kind]);throw r.location=a.err.location,r.originalMessage=a.err.message,r}return(null==t?void 0:t.captureLocation)||ue(a.val),a.val}function le(e,t){return(t&&t.strategy?t.strategy:ye)(e,{cache:t&&t.cache?t.cache:fe,serializer:t&&t.serializer?t.serializer:pe})}function se(e,t,a,r){var n,i=null==(n=r)||"number"==typeof n||"boolean"==typeof n?r:a(r),u=t.get(i);return void 0===u&&(u=e.call(this,r),t.set(i,u)),u}function he(e,t,a){var r=Array.prototype.slice.call(arguments,3),n=a(r),i=t.get(n);return void 0===i&&(i=e.apply(this,r),t.set(n,i)),i}function ce(e,t,a,r,n){return a.bind(t,e,r,n)}function ye(e,t){return ce(e,this,1===e.length?se:he,t.cache.create(),t.serializer)}var pe=function(){return JSON.stringify(arguments)};function de(){this.cache=Object.create(null)}de.prototype.get=function(e){return this.cache[e]},de.prototype.set=function(e,t){this.cache[e]=t};var ve,fe={create:function(){return new de}},me={variadic:function(e,t){return ce(e,this,he,t.cache.create(),t.serializer)},monadic:function(e,t){return ce(e,this,se,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ve||(ve={}));var ge,be=function(e){function t(t,a,r){var n=e.call(this,t)||this;return n.code=a,n.originalMessage=r,n}return r(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),He=function(e){function t(t,a,r,n){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(a,'". Options are "').concat(Object.keys(r).join('", "'),'"'),ve.INVALID_VALUE,n)||this}return r(t,e),t}(be),Be=function(e){function t(t,a,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(a),ve.INVALID_VALUE,r)||this}return r(t,e),t}(be),Ee=function(e){function t(t,a){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(a,'"'),ve.MISSING_VALUE,a)||this}return r(t,e),t}(be);function we(e){return"function"==typeof e}function Ae(e,t,a,r,n,i,u){if(1===e.length&&s(e[0]))return[{type:ge.literal,value:e[0].value}];for(var o=[],l=0,H=e;l<H.length;l++){var B=H[l];if(s(B))o.push({type:ge.literal,value:B.value});else if(f(B))"number"==typeof i&&o.push({type:ge.literal,value:a.getNumberFormat(t).format(i)});else{var E=B.value;if(!n||!(E in n))throw new Ee(E,u);var w=n[E];if(h(B))w&&"string"!=typeof w&&"number"!=typeof w||(w="string"==typeof w||"number"==typeof w?String(w):""),o.push({type:"string"==typeof w?ge.literal:ge.object,value:w});else if(y(B)){var A="string"==typeof B.style?r.date[B.style]:b(B.style)?B.style.parsedOptions:void 0;o.push({type:ge.literal,value:a.getDateTimeFormat(t,A).format(w)})}else if(p(B))A="string"==typeof B.style?r.time[B.style]:b(B.style)?B.style.parsedOptions:r.time.medium,o.push({type:ge.literal,value:a.getDateTimeFormat(t,A).format(w)});else if(c(B))(A="string"==typeof B.style?r.number[B.style]:g(B.style)?B.style.parsedOptions:void 0)&&A.scale&&(w*=A.scale||1),o.push({type:ge.literal,value:a.getNumberFormat(t,A).format(w)});else{if(m(B)){var T=B.children,I=B.value,S=n[I];if(!we(S))throw new Be(I,"function",u);var M=S(Ae(T,t,a,r,n,i).map((function(e){return e.value})));Array.isArray(M)||(M=[M]),o.push.apply(o,M.map((function(e){return{type:"string"==typeof e?ge.literal:ge.object,value:e}})))}if(d(B)){if(!(N=B.options[w]||B.options.other))throw new He(B.value,w,Object.keys(B.options),u);o.push.apply(o,Ae(N.value,t,a,r,n))}else if(v(B)){var N;if(!(N=B.options["=".concat(w)])){if(!Intl.PluralRules)throw new be('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ve.MISSING_INTL_API,u);var R=a.getPluralRules(t,{type:B.pluralType}).select(w-(B.offset||0));N=B.options[R]||B.options.other}if(!N)throw new He(B.value,w,Object.keys(B.options),u);o.push.apply(o,Ae(N.value,t,a,r,n,w-(B.offset||0)))}}}}return(L=o).length<2?L:L.reduce((function(e,t){var a=e[e.length-1];return a&&a.type===ge.literal&&t.type===ge.literal?a.value+=t.value:e.push(t),e}),[]);var L}function Te(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,a){e[t]=a}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(ge||(ge={}));var Ie,Se=function(){function e(t,a,r,n){void 0===a&&(a=e.defaultLocale);var i,u,s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var a=t.reduce((function(e,t){return e.length&&t.type===ge.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return a.length<=1?a[0]||"":a},this.formatToParts=function(e){return Ae(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=s.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=a,this.resolvedLocale=e.resolveLocale(a),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var h=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]])}return a}(n||{},["formatters"]);this.ast=e.__parse(t,o(o({},h),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=e.formats,(u=r)?Object.keys(i).reduce((function(e,t){var a,r;return e[t]=(a=i[t],(r=u[t])?o(o(o({},a||{}),r||{}),Object.keys(a).reduce((function(e,t){return e[t]=o(o({},a[t]),r[t]||{}),e}),{})):a),e}),o({},i)):i),this.formatters=n&&n.formatters||function(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:le((function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.NumberFormat).bind.apply(e,l([void 0],t,!1)))}),{cache:Te(e.number),strategy:me.variadic}),getDateTimeFormat:le((function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.DateTimeFormat).bind.apply(e,l([void 0],t,!1)))}),{cache:Te(e.dateTime),strategy:me.variadic}),getPluralRules:le((function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.PluralRules).bind.apply(e,l([void 0],t,!1)))}),{cache:Te(e.pluralRules),strategy:me.variadic})}}(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=oe,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(Ie||(Ie={}));var Me=function(e){function t(a,r,n){var i=this,u=n?n instanceof Error?n:new Error(String(n)):void 0;return(i=e.call(this,"[@formatjs/intl Error ".concat(a,"] ").concat(r,"\n").concat(u?"\n".concat(u.message,"\n").concat(u.stack):""))||this).code=a,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return r(t,e),t}(Error),Ne=function(e){function t(t,a){return e.call(this,Ie.UNSUPPORTED_FORMATTER,t,a)||this}return r(t,e),t}(Me),Re=function(e){function t(t,a){return e.call(this,Ie.INVALID_CONFIG,t,a)||this}return r(t,e),t}(Me),Le=function(e){function t(t,a){return e.call(this,Ie.MISSING_DATA,t,a)||this}return r(t,e),t}(Me),Oe=function(e){function t(t,a,r){var n=e.call(this,Ie.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(a,"\n"),r)||this;return n.locale=a,n}return r(t,e),t}(Me),De=function(e){function t(t,a,r,n){var i=e.call(this,"".concat(t,"\nMessageID: ").concat(null==r?void 0:r.id,"\nDefault Message: ").concat(null==r?void 0:r.defaultMessage,"\nDescription: ").concat(null==r?void 0:r.description,"\n"),a,n)||this;return i.descriptor=r,i.locale=a,i}return r(t,e),t}(Oe),xe=function(e){function t(t,a){var r=e.call(this,Ie.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(a,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return r.descriptor=t,r}return r(t,e),t}(Me);function Pe(e,t,a){return void 0===a&&(a={}),t.reduce((function(t,r){return r in e?t[r]=e[r]:r in a&&(t[r]=a[r]),t}),{})}var je={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(){},onWarn:function(){}};function ke(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,a){e[t]=a}}}}}function _e(e,t,a,r){var n,i=e&&e[t];if(i&&(n=i[a]),n)return n;r(new Ne("No ".concat(t," format named: ").concat(a)))}function Fe(e,t){return Object.keys(e).reduce((function(a,r){return a[r]=o({timeZone:t},e[r]),a}),{})}function Ce(e,t){return Object.keys(o(o({},e),t)).reduce((function(a,r){return a[r]=o(o({},e[r]||{}),t[r]||{}),a}),{})}function Ue(e,t){if(!t)return e;var a=Se.formats;return o(o(o({},a),e),{date:Ce(Fe(a.date,t),Fe(e.date||{},t)),time:Ce(Fe(a.time,t),Fe(e.time||{},t))})}var Ge=function(e,t,a,r,n){var u=e.locale,l=e.formats,s=e.messages,h=e.defaultLocale,c=e.defaultFormats,y=e.fallbackOnEmptyString,p=e.onError,d=e.timeZone,v=e.defaultRichTextElements;void 0===a&&(a={id:""});var f=a.id,m=a.defaultMessage;!function(e,t,a){if(void 0===a&&(a=Error),!e)throw new a("[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue")}(!!f);var g=String(f),b=s&&Object.prototype.hasOwnProperty.call(s,g)&&s[g];if(Array.isArray(b)&&1===b.length&&b[0].type===i.literal)return b[0].value;if(!r&&b&&"string"==typeof b&&!v)return b.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=o(o({},v),r||{}),l=Ue(l,d),c=Ue(c,d),!b){if(!1===y&&""===b)return b;if((!m||u&&u.toLowerCase()!==h.toLowerCase())&&p(new xe(a,u)),m)try{return t.getMessageFormat(m,h,c,n).format(r)}catch(e){return p(new De('Error formatting default message for: "'.concat(g,'", rendering default message verbatim'),u,a,e)),"string"==typeof m?m:g}return g}try{return t.getMessageFormat(b,u,l,o({formatters:t},n||{})).format(r)}catch(e){p(new De('Error formatting message: "'.concat(g,'", using ').concat(m?"default message":"id"," as fallback."),u,a,e))}if(m)try{return t.getMessageFormat(m,h,c,n).format(r)}catch(e){p(new De('Error formatting the default message for: "'.concat(g,'", rendering message verbatim'),u,a,e))}return"string"==typeof b?b:"string"==typeof m?m:g},Ve=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function qe(e,t,a,r){var n=e.locale,i=e.formats,u=e.onError,l=e.timeZone;void 0===r&&(r={});var s=r.format,h=o(o({},l&&{timeZone:l}),s&&_e(i,t,s,u)),c=Pe(r,Ve,h);return"time"!==t||c.hour||c.minute||c.second||c.timeStyle||c.dateStyle||(c=o(o({},c),{hour:"numeric",minute:"numeric"})),a(n,c)}function ze(e,t){for(var a=[],r=2;r<arguments.length;r++)a[r-2]=arguments[r];var n=a[0],i=a[1],u=void 0===i?{}:i,o="string"==typeof n?new Date(n||0):n;try{return qe(e,"date",t,u).format(o)}catch(t){e.onError(new Oe("Error formatting date.",e.locale,t))}return String(o)}function Ye(e,t){for(var a=[],r=2;r<arguments.length;r++)a[r-2]=arguments[r];var n=a[0],i=a[1],u=void 0===i?{}:i,o="string"==typeof n?new Date(n||0):n;try{return qe(e,"time",t,u).format(o)}catch(t){e.onError(new Oe("Error formatting time.",e.locale,t))}return String(o)}function We(e,t){for(var a=[],r=2;r<arguments.length;r++)a[r-2]=arguments[r];var n=a[0],i=a[1],u=a[2],o=e.timeZone,l=e.locale,s=e.onError,h=Pe(void 0===u?{}:u,Ve,o?{timeZone:o}:{});try{return t(l,h).formatRange(n,i)}catch(t){s(new Oe("Error formatting date time range.",e.locale,t))}return String(n)}function Ke(e,t){for(var a=[],r=2;r<arguments.length;r++)a[r-2]=arguments[r];var n=a[0],i=a[1],u=void 0===i?{}:i,o="string"==typeof n?new Date(n||0):n;try{return qe(e,"date",t,u).formatToParts(o)}catch(t){e.onError(new Oe("Error formatting date.",e.locale,t))}return[]}function Je(e,t){for(var a=[],r=2;r<arguments.length;r++)a[r-2]=arguments[r];var n=a[0],i=a[1],u=void 0===i?{}:i,o="string"==typeof n?new Date(n||0):n;try{return qe(e,"time",t,u).formatToParts(o)}catch(t){e.onError(new Oe("Error formatting time.",e.locale,t))}return[]}var Ze=["style","type","fallback","languageDisplay"];function Xe(e,t,a,r){var n=e.locale,i=e.onError;Intl.DisplayNames||i(new be('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',ve.MISSING_INTL_API));var u=Pe(r,Ze);try{return t(n,u).of(a)}catch(e){i(new Oe("Error formatting display name.",n,e))}}var $e=["type","style"],Qe=Date.now();function et(e,t,a,r){void 0===r&&(r={});var n=tt(e,t,a,r).reduce((function(e,t){var a=t.value;return"string"!=typeof a?e.push(a):"string"==typeof e[e.length-1]?e[e.length-1]+=a:e.push(a),e}),[]);return 1===n.length?n[0]:0===n.length?"":n}function tt(e,t,a,r){var n=e.locale,i=e.onError;void 0===r&&(r={}),Intl.ListFormat||i(new be('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',ve.MISSING_INTL_API));var u=Pe(r,$e);try{var l={},s=a.map((function(e,t){if("object"==typeof e){var a=function(e){return"".concat(Qe,"_").concat(e,"_").concat(Qe)}(t);return l[a]=e,a}return String(e)}));return t(n,u).formatToParts(s).map((function(e){return"literal"===e.type?e:o(o({},e),{value:l[e.value]||e.value})}))}catch(e){i(new Oe("Error formatting list.",n,e))}return a}var at=["type"];function rt(e,t,a,r){var n=e.locale,i=e.onError;void 0===r&&(r={}),Intl.PluralRules||i(new be('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ve.MISSING_INTL_API));var u=Pe(r,at);try{return t(n,u).select(a)}catch(e){i(new Oe("Error formatting plural.",n,e))}return"other"}var nt=["numeric","style"];function it(e,t,a,r,n){void 0===n&&(n={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new be('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',ve.MISSING_INTL_API));try{return function(e,t,a){var r=e.locale;void 0===a&&(a={});var n=a.format,i=!!n&&_e(e.formats,"relative",n,e.onError)||{};return t(r,Pe(a,nt,i))}(e,t,n).format(a,r)}catch(t){e.onError(new Oe("Error formatting relative time.",e.locale,t))}return String(a)}var ut=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function ot(e,t,a){var r=e.locale;void 0===a&&(a={});var n=a.format,i=n&&_e(e.formats,"number",n,e.onError)||{};return t(r,Pe(a,ut,i))}function lt(e,t,a,r){void 0===r&&(r={});try{return ot(e,t,r).format(a)}catch(t){e.onError(new Oe("Error formatting number.",e.locale,t))}return String(a)}function st(e,t,a,r){void 0===r&&(r={});try{return ot(e,t,r).formatToParts(a)}catch(t){e.onError(new Oe("Error formatting number.",e.locale,t))}return[]}const ht=function(){const e=document.documentElement.getAttribute("lang");return e||(window.navigator&&window.navigator.language?(window.navigator.languages?window.navigator.languages[0]:window.navigator.language).slice(0,2):"en")}(),ct=function(e,t){var a=function(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,a=Intl.ListFormat,r=Intl.DisplayNames,n=le((function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.DateTimeFormat).bind.apply(e,l([void 0],t,!1)))}),{cache:ke(e.dateTime),strategy:me.variadic}),i=le((function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.NumberFormat).bind.apply(e,l([void 0],t,!1)))}),{cache:ke(e.number),strategy:me.variadic}),u=le((function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.PluralRules).bind.apply(e,l([void 0],t,!1)))}),{cache:ke(e.pluralRules),strategy:me.variadic});return{getDateTimeFormat:n,getNumberFormat:i,getMessageFormat:le((function(e,t,a,r){return new Se(e,t,a,o({formatters:{getNumberFormat:i,getDateTimeFormat:n,getPluralRules:u}},r||{}))}),{cache:ke(e.message),strategy:me.variadic}),getRelativeTimeFormat:le((function(){for(var e=[],a=0;a<arguments.length;a++)e[a]=arguments[a];return new(t.bind.apply(t,l([void 0],e,!1)))}),{cache:ke(e.relativeTime),strategy:me.variadic}),getPluralRules:u,getListFormat:le((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(a.bind.apply(a,l([void 0],e,!1)))}),{cache:ke(e.list),strategy:me.variadic}),getDisplayNames:le((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,l([void 0],e,!1)))}),{cache:ke(e.displayNames),strategy:me.variadic})}}(t),r=o(o({},je),e),n=r.locale,i=r.defaultLocale,u=r.onError;return n?!Intl.NumberFormat.supportedLocalesOf(n).length&&u?u(new Le('Missing locale data for locale: "'.concat(n,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(n).length&&u&&u(new Le('Missing locale data for locale: "'.concat(n,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(u&&u(new Re('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),function(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}(r),o(o({},r),{formatters:a,formatNumber:lt.bind(null,r,a.getNumberFormat),formatNumberToParts:st.bind(null,r,a.getNumberFormat),formatRelativeTime:it.bind(null,r,a.getRelativeTimeFormat),formatDate:ze.bind(null,r,a.getDateTimeFormat),formatDateToParts:Ke.bind(null,r,a.getDateTimeFormat),formatTime:Ye.bind(null,r,a.getDateTimeFormat),formatDateTimeRange:We.bind(null,r,a.getDateTimeFormat),formatTimeToParts:Je.bind(null,r,a.getDateTimeFormat),formatPlural:rt.bind(null,r,a.getPluralRules),formatMessage:Ge.bind(null,r,a),$t:Ge.bind(null,r,a),formatList:et.bind(null,r,a.getListFormat),formatListToParts:tt.bind(null,r,a.getListFormat),formatDisplayName:Xe.bind(null,r,a.getDisplayNames)})}({locale:ht,defaultLocale:"en",messages:t[ht]||e},{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});function yt(){return"wmcl-"+Math.random().toString(36).substr(2,10)}function pt(e,t){let a,r=!1;return function(){r||(e.apply(this,arguments),r=!0,clearTimeout(a),a=setTimeout((function(){r=!1}),t))}}function dt(e,t){let a;return function(){const r=this;clearTimeout(a),a=setTimeout((()=>e.apply(r,arguments)),t)}}function vt(){const e=document.querySelector("html").getAttribute("dir");return e?e.toLowerCase():""}function ft(e){const t=e.getBoundingClientRect();let a=t.x,r=t.y;return a||(a="rtl"===vt()?t.right:t.left,r=t.top),{x:a,y:r}}function mt(e){for(;e;){if(["scroll","auto"].includes(window.getComputedStyle(e).overflowY))return e;e=e.parentElement}}function gt(e){for(;e;){if("visible"!==window.getComputedStyle(e).overflowY)return e;e=e.parentElement}}function bt(e,t){var a;return t===e||e.contains(t)||(null===(a=e.shadowRoot)||void 0===a?void 0:a.contains(t))}function Ht(e){const t=e.getBoundingClientRect(),a=gt(e),r=a&&a.getBoundingClientRect();return{spaceAbove:r?t.top-r.top:t.top,spaceBelow:r?r.bottom-t.bottom:document.documentElement.clientHeight-t.bottom,spaceLeft:r?t.left-r.left:t.left,spaceRight:r?r.right-t.right:document.documentElement.clientWidth-t.right}}function Bt(e,t,a=0,r=0){const{spaceAbove:n,spaceBelow:i}=Ht(e);return t>i+r&&t<=n+a}function Et(e,t,a=0,r=0){const{spaceAbove:n,spaceBelow:i}=Ht(e);return t>n+a&&t<=i+r}function wt(e,t){const{spaceLeft:a,spaceRight:r}=Ht(e);return t>a&&r>a}function At(e,t){const{spaceLeft:a,spaceRight:r}=Ht(e);return t>r&&a>r}function Tt(e,t,a){document.querySelectorAll(".wm-tooltip").forEach((r=>{r.showPopover&&r.showPopover(),r.classList.add("show"),r.textContent=a,a.match(/^[^\s]+$/)?(r.classList.add("single-word"),r.style.setProperty("--wmTooltipMaxWidth","none")):(r.classList.remove("single-word"),r.style.removeProperty("--wmTooltipMaxWidth"));const n=r.getBoundingClientRect(),i=t.getBoundingClientRect(),u=function(e,t,a,r){const{spaceLeft:n,spaceRight:i,spaceBelow:u,spaceAbove:o}=Ht(t),l=o>a,s=u>a,h=n-24>r,c=i-24>r,y=e=>l?e:e.replace("top","bottom"),p=e=>!s&&l?e.replace("bottom","top"):e,d=(e,t)=>(!h&&c?e=e.replace("left","right"):h||c||(e=t),e),v=(e,t)=>(!c&&h?e=e.replace("right","left"):c||h||(e=t),e);switch(e){case"left":e=d(e,"bottom");case"right":e=v(e,"bottom");case"top-left":e=y(e=d(e,"top"));case"top-right":e=y(e=v(e,"top"));case"bottom-left":e=p(e=d(e,"bottom"));case"bottom-right":e=p(e=v(e,"bottom"));case"top":e=y(e);case"bottom":e=p(e)}return e}(e,t,n.height,n.width);let o,l;[o,l]=function(e,t,a,r){let n=t.top+(t.height-a)/2,i=t.left+(t.width-r)/2;return e.includes("top")&&(n=t.top-a-8),e.includes("bottom")&&(n=t.bottom+8),e.includes("left")&&(i=t.left-r-8),e.includes("right")&&(i=t.right+8),i=Math.max(i,24),[n,i]}(u,i,n.height,n.width),r.style.setProperty("--wmTooltipTop",o+"px"),r.style.setProperty("--wmTooltipLeft",l+"px")}))}function It(){document.querySelectorAll(".wm-tooltip").forEach((e=>{e.hidePopover&&e.hidePopover(),e.classList.remove("show")}))}function St(e,t){let a=0;if("click"===e.type)a=e.clientX;else if("focus"===e.type)a=0;else{let t=e;for(;t;){if("BODY"==t.tagName){var r=t.scrollLeft||document.documentElement.scrollLeft;a+=t.offsetLeft-r+t.clientLeft}else a+=t.offsetLeft-t.scrollLeft+t.clientLeft;t=t.offsetParent}}return window.innerWidth-a>=t}function Mt(e){for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Nt(e){if(/^([a-z0-9]*)(_[a-z0-9]*)*$/g.test(e)){let t="";return e.split("_").forEach(((e,a)=>{t+=0===a?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1)})),t}return e}function Rt(e){return e?e.split(/, ?/):[]}function Lt(e,t,a){let r=e;return"ArrowDown"===t&&(r=(e+1)%a),"ArrowUp"===t&&(r=0===e?a-1:e-1),r}function Ot(e){return"false"!=e&&!!e}function Dt(e,t){const a=document.createElement("div"),r=getComputedStyle(e);a.style.position="absolute",a.style.top="-100vh",a.style.fontFamily=r.fontFamily,a.style.fontWeight=r.fontWeight,a.style.fontSize=r.fontSize,a.textContent=t,document.body.appendChild(a);const n=a.getBoundingClientRect();return document.body.removeChild(a),n}function xt(e,t,a,r){const n=document.createElement("div");n.style.visibility="hidden",n.style.position="absolute",n.style.top="-200vh",n.style.left="-200vh",n.textContent=t,e.appendChild(n);const i=5+r;let u=a>n.clientWidth;if(!u&&t.length>i){let e=t.slice(0,t.length-r-3).trim(),o=t.slice(-r).trim(),l=e+"..."+o;for(n.textContent=l,u=a>n.clientWidth;!u&&l.length>i;)e=e.slice(0,-1).trim(),l=e+"..."+o,n.textContent=l,u=a>n.clientWidth}const o=n.textContent;return n.remove(),o}function Pt(e){let t=[];for(let a=0;a<e[0].length;a++){let r=[];for(let t=0;t<e.length;t++)r.push(e[t][a]);t.push(r)}return t}function jt(e,t,a){for((e+=t)>a&&(e=(e-1)%a);e<0;)e=a-Math.abs(e)+1;return e}function kt(e,t){let a=[];for(let r=0;r<e.length;r+=1+t)a.push(e[r]);return a}function _t(e,t){let a=0,r=e;for(;kt(e,a).length>t;)a++,r=kt(e,a);return{skipInterval:a,skippedList:r}}function Ft(e,t,a){const r=a-t;return Math.abs(e-t)/r*100}function Ct(e){if(e.requestSubmit)e.requestSubmit();else{const t=document.createElement("button");t.style.display="none",e.appendChild(t),t.click(),document.removeChild(t)}}function Ut(e,t){0==t&&e.hasAttribute("disabled")&&e.removeAttribute("disabled")}function Gt(e,t,a=!1){if(e&&!t)return e[e.length-1];if(!e.includes(t))return;let r=e.indexOf(t);return e[r>0?r-1:a?e.length-1:0]}function Vt(e,t,a=!1){if(e&&!t)return e[0];if(!e.includes(t))return;let r=e.indexOf(t);const n=e.length-1;return e[r!==n?r+1:a?0:n]}function qt(e,t){const a=zt(e),r=zt(t);return parseFloat((e*t).toFixed(a+r))}function zt(e){const t=e.toString();return-1==t.indexOf(".")?0:t.split(".")[1].length}function Yt(e,t){return 2===e?t%4==0?29:28:[4,6,9,11].includes(e)?30:31}function Wt(e){return`${e.getUTCFullYear()}-${(e.getUTCMonth()+1).toString().padStart(2,"0")}-${e.getDate().toString().padStart(2,"0")}`}function Kt(e){const[t,a,r]=e.split("-");return{year:{asInt:parseInt(t),asString:t},month:{asInt:parseInt(a),asString:a},day:{asInt:parseInt(r),asString:r}}}function Jt(e,t,a){return`${e}-${t.toString().padStart(2,"0")}-${a.toString().padStart(2,"0")}`}const Zt={year:{asString:e=>Kt(e).year.asString,asInt:e=>Kt(e).year.asInt,increase:(e,t)=>{const a=Kt(e);return Jt(a.year.asInt+t,a.month.asInt,a.day.asInt)},decrease:(e,t)=>{const a=Kt(e);return Jt(a.year.asInt-t,a.month.asInt,a.day.asInt)}},month:{asString:e=>Kt(e).month.asString,asInt:e=>Kt(e).month.asInt,increase:(e,t)=>{const a=Kt(e),r=Math.floor(t/12),n=t%12;let i=a.year.asInt,u=a.month.asInt;return i=u+n>12?i+1:i,i+=r,u+=n,u=(u-1)%12+1,Jt(i,u,a.day.asInt)},decrease:(e,t)=>{const a=Kt(e),r=Math.floor(t/12),n=t%12;let i=a.year.asInt,u=a.month.asInt;return i=u-n<1?i-1:i,i-=r,u+=12,u-=n,u=(u-1)%12+1,Jt(i,u,a.day.asInt)}},day:{asString:e=>Kt(e).day.asString,asInt:e=>Kt(e).day.asInt,increase:(e,t)=>{if(t>7)throw new Error("this.dateFind.day.increase(): max 7 days");const a=Kt(e);let r=a.year.asInt,n=a.month.asInt,i=a.day.asInt;const u=Yt(n,r),o=i+t>u,l=o&&12===n;return n=o?l?1:n+1:n,r=l?r+1:r,i=(i-1+t)%u+1,Jt(r,n,i)},decrease:(e,t)=>{if(t>7)throw new Error("this.dateFind.day.decrease(): max 7 days");const a=Kt(e);let r=a.year.asInt,n=a.month.asInt,i=a.day.asInt;const u=Yt(1===n?12:n-1,r),o=i-t<1,l=o&&1===n;return i+=u,i-=t,i=(i-1)%u+1,n=o?l?12:n-1:n,r=l?r-1:r,Jt(r,n,i)}}},Xt=[ct.formatMessage({id:"date.january",defaultMessage:"January",description:"Month of the year"}),ct.formatMessage({id:"date.february",defaultMessage:"February",description:"Month of the year"}),ct.formatMessage({id:"date.march",defaultMessage:"March",description:"Month of the year"}),ct.formatMessage({id:"date.april",defaultMessage:"April",description:"Month of the year"}),ct.formatMessage({id:"date.may",defaultMessage:"May",description:"Month of the year"}),ct.formatMessage({id:"date.june",defaultMessage:"June",description:"Month of the year"}),ct.formatMessage({id:"date.july",defaultMessage:"July",description:"Month of the year"}),ct.formatMessage({id:"date.august",defaultMessage:"August",description:"Month of the year"}),ct.formatMessage({id:"date.september",defaultMessage:"September",description:"Month of the year"}),ct.formatMessage({id:"date.october",defaultMessage:"October",description:"Month of the year"}),ct.formatMessage({id:"date.november",defaultMessage:"November",description:"Month of the year"}),ct.formatMessage({id:"date.december",defaultMessage:"December",description:"Month of the year"})],$t=[ct.formatMessage({id:"date.sunday",defaultMessage:"Sunday"}),ct.formatMessage({id:"date.monday",defaultMessage:"Monday"}),ct.formatMessage({id:"date.tuesday",defaultMessage:"Tuesday"}),ct.formatMessage({id:"date.wednesday",defaultMessage:"Wednesday"}),ct.formatMessage({id:"date.thursday",defaultMessage:"Thursday"}),ct.formatMessage({id:"date.friday",defaultMessage:"Friday"}),ct.formatMessage({id:"date.saturday",defaultMessage:"Saturday"})];export{pt as A,Ht as B,Zt as C,Xt as D,gt as E,Pt as F,jt as G,_t as H,Ft as I,Jt as J,$t as K,Yt as L,mt as M,Ut as a,Ct as b,Mt as c,dt as d,qt as e,ft as f,yt as g,It as h,ct as i,Wt as j,Bt as k,St as l,xt as m,Nt as n,Lt as o,Et as p,wt as q,At as r,Tt as s,Ot as t,Dt as u,Vt as v,Gt as w,Rt as x,vt as y,bt as z}
|