@watermarkinsights/ripple 3.13.0 → 3.14.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/README.md +3 -3
- package/dist/cjs/{chartFunctions-34fdd3ce.js → chartFunctions-0ea0888f.js} +420 -420
- package/dist/cjs/{functions-120449cf.js → functions-8d3ceccd.js} +1894 -450
- package/dist/cjs/{global-c1940f7b.js → global-39ada944.js} +62 -62
- package/dist/cjs/{http-service-494d81de.js → http-service-9e8c4dd5.js} +49 -49
- package/dist/cjs/{index-acad7ab3.js → index-df6a3611.js} +4 -1
- package/dist/cjs/{interfaces-a3338581.js → interfaces-30a74c1f.js} +29 -29
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/priv-chart-popover.cjs.entry.js +87 -87
- package/dist/cjs/priv-datepicker.cjs.entry.js +658 -658
- package/dist/cjs/priv-navigator-button.cjs.entry.js +19 -19
- package/dist/cjs/priv-navigator-item.cjs.entry.js +24 -24
- package/dist/cjs/ripple.cjs.js +4 -4
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +336 -336
- package/dist/cjs/wm-button.cjs.entry.js +242 -242
- package/dist/cjs/wm-chart-slice.cjs.entry.js +14 -14
- package/dist/cjs/wm-chart.cjs.entry.js +111 -111
- package/dist/cjs/wm-datepicker.cjs.entry.js +266 -266
- package/dist/cjs/wm-input.cjs.entry.js +135 -135
- package/dist/cjs/wm-modal-footer.cjs.entry.js +34 -34
- package/dist/cjs/wm-modal-header.cjs.entry.js +37 -37
- package/dist/cjs/wm-modal.cjs.entry.js +164 -164
- package/dist/cjs/wm-navigation_3.cjs.entry.js +228 -228
- package/dist/cjs/wm-navigator.cjs.entry.js +269 -269
- package/dist/cjs/wm-network-uploader.cjs.entry.js +455 -455
- package/dist/cjs/wm-option_2.cjs.entry.js +717 -710
- package/dist/cjs/wm-pagination.cjs.entry.js +168 -168
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +130 -130
- package/dist/cjs/wm-search.cjs.entry.js +233 -233
- package/dist/cjs/wm-snackbar.cjs.entry.js +171 -171
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +297 -297
- package/dist/cjs/wm-tag-input.cjs.entry.js +580 -580
- package/dist/cjs/wm-timepicker.cjs.entry.js +384 -384
- package/dist/cjs/wm-toggletip.cjs.entry.js +125 -125
- package/dist/cjs/wm-uploader.cjs.entry.js +630 -632
- package/dist/cjs/wm-wrapper.cjs.entry.js +13 -13
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +258 -258
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +115 -115
- package/dist/collection/components/charts/wm-chart/wm-chart.js +328 -328
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +195 -195
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +88 -88
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +111 -111
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +448 -448
- package/dist/collection/components/wm-button/wm-button.js +504 -504
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +1024 -1024
- package/dist/collection/components/wm-datepicker/wm-datepicker.js +471 -471
- package/dist/collection/components/wm-input/wm-input.js +423 -423
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +444 -444
- package/dist/collection/components/wm-modal/wm-modal-footer.js +136 -136
- package/dist/collection/components/wm-modal/wm-modal-header.js +87 -87
- package/dist/collection/components/wm-modal/wm-modal.js +461 -461
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +162 -162
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +121 -121
- package/dist/collection/components/wm-navigation/wm-navigation.js +218 -218
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +97 -97
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +114 -114
- package/dist/collection/components/wm-navigator/wm-navigator.js +468 -468
- package/dist/collection/components/wm-option/wm-option.css +13 -0
- package/dist/collection/components/wm-option/wm-option.js +427 -419
- package/dist/collection/components/wm-pagination/wm-pagination.js +368 -368
- package/dist/collection/components/wm-search/wm-search.js +480 -480
- package/dist/collection/components/wm-select/wm-select.css +5 -2
- package/dist/collection/components/wm-select/wm-select.js +978 -978
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +297 -297
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +216 -216
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +330 -330
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +104 -104
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +810 -810
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +583 -583
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +241 -241
- package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.js +787 -787
- package/dist/collection/components/wm-uploader/wm-uploader.js +1072 -1077
- package/dist/collection/components/wm-wrapper/wm-wrapper.js +27 -27
- package/dist/collection/dev/scripts.js +20 -20
- package/dist/collection/global/__mocks__/functions.js +6 -6
- package/dist/collection/global/chartFunctions.js +421 -421
- package/dist/collection/global/functions.js +441 -441
- package/dist/collection/global/global.js +69 -69
- package/dist/collection/global/interfaces.js +49 -49
- package/dist/collection/global/services/__mocks__/http-service.js +130 -130
- package/dist/collection/global/services/http-service.js +50 -50
- package/dist/collection/lang/lang.js +5 -5
- package/dist/collection/lang/missing.js +43 -43
- package/dist/collection/lang/piglatin.js +93 -93
- package/dist/esm/{chartFunctions-20f05eb5.js → chartFunctions-6f90586d.js} +420 -420
- package/dist/esm/{functions-036af8dc.js → functions-11c0c4e2.js} +1894 -450
- package/dist/esm/{global-e98c740f.js → global-d36a84c5.js} +62 -62
- package/dist/esm/{http-service-3dc3b3e7.js → http-service-5d037e16.js} +49 -49
- package/dist/esm/{index-7603f98e.js → index-17c79cc6.js} +4 -1
- package/dist/esm/{interfaces-2b97fab2.js → interfaces-61c6305b.js} +29 -29
- package/dist/esm/loader.js +4 -4
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/priv-chart-popover.entry.js +87 -87
- package/dist/esm/priv-datepicker.entry.js +658 -658
- package/dist/esm/priv-navigator-button.entry.js +19 -19
- package/dist/esm/priv-navigator-item.entry.js +24 -24
- package/dist/esm/ripple.js +4 -4
- package/dist/esm/wm-action-menu_2.entry.js +336 -336
- package/dist/esm/wm-button.entry.js +242 -242
- package/dist/esm/wm-chart-slice.entry.js +14 -14
- package/dist/esm/wm-chart.entry.js +111 -111
- package/dist/esm/wm-datepicker.entry.js +266 -266
- package/dist/esm/wm-input.entry.js +135 -135
- package/dist/esm/wm-modal-footer.entry.js +34 -34
- package/dist/esm/wm-modal-header.entry.js +37 -37
- package/dist/esm/wm-modal.entry.js +164 -164
- package/dist/esm/wm-navigation_3.entry.js +228 -228
- package/dist/esm/wm-navigator.entry.js +269 -269
- package/dist/esm/wm-network-uploader.entry.js +455 -455
- package/dist/esm/wm-option_2.entry.js +717 -710
- package/dist/esm/wm-pagination.entry.js +168 -168
- package/dist/esm/wm-progress-indicator_3.entry.js +130 -130
- package/dist/esm/wm-search.entry.js +233 -233
- package/dist/esm/wm-snackbar.entry.js +171 -171
- package/dist/esm/wm-tab-item_3.entry.js +297 -297
- package/dist/esm/wm-tag-input.entry.js +580 -580
- package/dist/esm/wm-timepicker.entry.js +384 -384
- package/dist/esm/wm-toggletip.entry.js +125 -125
- package/dist/esm/wm-uploader.entry.js +630 -632
- package/dist/esm/wm-wrapper.entry.js +13 -13
- package/dist/esm-es5/{chartFunctions-20f05eb5.js → chartFunctions-6f90586d.js} +1 -1
- package/dist/esm-es5/functions-11c0c4e2.js +1 -0
- package/dist/esm-es5/{global-e98c740f.js → global-d36a84c5.js} +1 -1
- package/dist/esm-es5/{http-service-3dc3b3e7.js → http-service-5d037e16.js} +0 -0
- package/dist/esm-es5/{index-7603f98e.js → index-17c79cc6.js} +1 -1
- package/dist/esm-es5/{interfaces-2b97fab2.js → interfaces-61c6305b.js} +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
- package/dist/esm-es5/priv-datepicker.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/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-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-modal-footer.entry.js +1 -1
- package/dist/esm-es5/wm-modal-header.entry.js +1 -1
- package/dist/esm-es5/wm-modal.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-network-uploader.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-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/ripple/{p-1ccd994d.system.entry.js → p-06012eb7.system.entry.js} +1 -1
- package/dist/ripple/{p-06adbeb9.system.entry.js → p-07ebdcd4.system.entry.js} +1 -1
- package/dist/ripple/{p-f5df5903.system.js → p-08b7ec08.system.js} +0 -0
- package/dist/ripple/{p-7173b0a7.system.entry.js → p-08fc668c.system.entry.js} +1 -1
- package/dist/ripple/p-0e22a3a4.entry.js +1 -0
- package/dist/ripple/p-262c75ff.entry.js +1 -0
- package/dist/ripple/{p-2193190b.js → p-26f94f8f.js} +1 -1
- package/dist/ripple/{p-90ed3268.system.entry.js → p-27253ed2.system.entry.js} +1 -1
- package/dist/ripple/{p-0556279c.system.entry.js → p-2af0b657.system.entry.js} +1 -1
- package/dist/ripple/p-2e5cb321.entry.js +1 -0
- package/dist/ripple/{p-9d02957d.system.js → p-313b6073.system.js} +0 -0
- package/dist/ripple/{p-6bf5cbf4.system.entry.js → p-3e875e87.system.entry.js} +1 -1
- package/dist/ripple/p-4073ac6a.entry.js +1 -0
- package/dist/ripple/p-410687ea.entry.js +1 -0
- package/dist/ripple/p-41374812.system.js +1 -0
- package/dist/ripple/p-42dbd978.entry.js +1 -0
- package/dist/ripple/{p-752da0fb.system.entry.js → p-4439bdd1.system.entry.js} +1 -1
- package/dist/ripple/{p-bbcafbd6.system.entry.js → p-4650a83c.system.entry.js} +1 -1
- package/dist/ripple/{p-4ecd3430.js → p-490dafa4.js} +1 -1
- package/dist/ripple/p-4afa52d4.entry.js +1 -0
- package/dist/ripple/p-4f3f7b2b.entry.js +1 -0
- package/dist/ripple/p-5018f8ae.entry.js +1 -0
- package/dist/ripple/{p-cd3d74d1.system.entry.js → p-57a718f0.system.entry.js} +1 -1
- package/dist/ripple/p-57c94258.entry.js +1 -0
- package/dist/ripple/{p-1df2adee.system.entry.js → p-59678b70.system.entry.js} +1 -1
- package/dist/ripple/p-626d5017.entry.js +1 -0
- package/dist/ripple/{p-3a535823.system.js → p-6a8fd452.system.js} +1 -1
- package/dist/ripple/{p-c1443a0e.system.entry.js → p-6ffdab0d.system.entry.js} +1 -1
- package/dist/ripple/p-70d0e993.js +1 -0
- package/dist/ripple/{p-a0c3ef16.system.js → p-726b9452.system.js} +1 -1
- package/dist/ripple/p-758501d7.entry.js +1 -0
- package/dist/ripple/{p-af3ce4fc.system.entry.js → p-7cb0035a.system.entry.js} +1 -1
- package/dist/ripple/p-80a00759.entry.js +1 -0
- package/dist/ripple/p-80b62707.entry.js +1 -0
- package/dist/ripple/{p-995ba16f.system.entry.js → p-84d0d2ff.system.entry.js} +1 -1
- package/dist/ripple/p-86b9bfcf.system.entry.js +1 -0
- package/dist/ripple/{p-43f1298b.js → p-888bec42.js} +0 -0
- package/dist/ripple/p-8a2cabf2.entry.js +1 -0
- package/dist/ripple/{p-62eac2d6.system.entry.js → p-8b54c589.system.entry.js} +1 -1
- package/dist/ripple/{p-7ef6a7cf.system.entry.js → p-910b6dd5.system.entry.js} +1 -1
- package/dist/ripple/p-962f51ff.entry.js +1 -0
- package/dist/ripple/p-97683ddc.entry.js +1 -0
- package/dist/ripple/p-9c60325b.entry.js +1 -0
- package/dist/ripple/{p-fd8070fb.js → p-a6d6eae7.js} +0 -0
- package/dist/ripple/p-b0536ddb.entry.js +1 -0
- package/dist/ripple/{p-d48c56c7.system.entry.js → p-b4837126.system.entry.js} +1 -1
- package/dist/ripple/{p-04d8b674.system.js → p-b5b7c71f.system.js} +1 -1
- package/dist/ripple/{p-8612829b.system.entry.js → p-b793bc6f.system.entry.js} +1 -1
- package/dist/ripple/p-c2abdcba.js +1 -0
- package/dist/ripple/{p-04e44b30.system.entry.js → p-c49ef079.system.entry.js} +1 -1
- package/dist/ripple/{p-895f5ec5.system.entry.js → p-c4c21c82.system.entry.js} +1 -1
- package/dist/ripple/p-c656fcf1.entry.js +1 -0
- package/dist/ripple/p-caef11cc.entry.js +1 -0
- package/dist/ripple/p-cb357a84.entry.js +1 -0
- package/dist/ripple/p-d2a11410.entry.js +1 -0
- package/dist/ripple/{p-49fd7ede.system.entry.js → p-d927de70.system.entry.js} +1 -1
- package/dist/ripple/{p-ae6cfbca.system.entry.js → p-db44eb6f.system.entry.js} +1 -1
- package/dist/ripple/p-db899686.system.js +1 -0
- package/dist/ripple/{p-f23b3986.system.entry.js → p-dc7e5609.system.entry.js} +1 -1
- package/dist/ripple/p-dfa80ed1.entry.js +1 -0
- package/dist/ripple/p-e012273a.entry.js +1 -0
- package/dist/ripple/p-e4cb8aad.entry.js +1 -0
- package/dist/ripple/{p-e4439bc3.system.entry.js → p-f0d3ceb1.system.entry.js} +1 -1
- package/dist/ripple/{p-3b3e847c.system.entry.js → p-f17076c4.system.entry.js} +1 -1
- package/dist/ripple/p-fa632547.entry.js +1 -0
- package/dist/ripple/{p-0e9ccc6f.system.entry.js → p-fe4c1194.system.entry.js} +1 -1
- package/dist/ripple/{p-ca383a43.system.entry.js → p-ffc34819.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +27 -27
- package/dist/types/components/charts/wm-chart/wm-chart-slice.d.ts +11 -11
- package/dist/types/components/charts/wm-chart/wm-chart.d.ts +36 -36
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +27 -27
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-monitor.d.ts +17 -17
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-slice.d.ts +10 -10
- package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +47 -47
- package/dist/types/components/wm-button/wm-button.d.ts +43 -43
- package/dist/types/components/wm-datepicker/priv-datepicker/priv-datepicker.d.ts +80 -80
- package/dist/types/components/wm-datepicker/wm-datepicker.d.ts +41 -41
- package/dist/types/components/wm-input/wm-input.d.ts +46 -46
- package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +34 -34
- package/dist/types/components/wm-modal/wm-modal-footer.d.ts +14 -14
- package/dist/types/components/wm-modal/wm-modal-header.d.ts +11 -11
- package/dist/types/components/wm-modal/wm-modal.d.ts +41 -41
- package/dist/types/components/wm-navigation/wm-navigation-hamburger.d.ts +21 -21
- package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +13 -13
- package/dist/types/components/wm-navigation/wm-navigation.d.ts +28 -28
- package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +10 -10
- package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +13 -13
- package/dist/types/components/wm-navigator/wm-navigator.d.ts +61 -61
- package/dist/types/components/wm-option/wm-option.d.ts +35 -35
- package/dist/types/components/wm-pagination/wm-pagination.d.ts +32 -32
- package/dist/types/components/wm-search/wm-search.d.ts +86 -86
- package/dist/types/components/wm-select/wm-select.d.ts +94 -93
- package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +35 -35
- package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +38 -38
- package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +53 -53
- package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +20 -20
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +92 -92
- package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +61 -61
- package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +27 -27
- package/dist/types/components/wm-uploader/wm-network-uploader/wm-network-uploader.d.ts +85 -85
- package/dist/types/components/wm-uploader/wm-uploader.d.ts +118 -119
- package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +7 -7
- package/dist/types/components.d.ts +26 -26
- package/dist/types/global/__mocks__/functions.d.ts +6 -6
- package/dist/types/global/chartFunctions.d.ts +29 -29
- package/dist/types/global/functions.d.ts +42 -42
- package/dist/types/global/global.d.ts +1 -1
- package/dist/types/global/interfaces.d.ts +44 -44
- package/dist/types/global/services/__mocks__/http-service.d.ts +6 -6
- package/dist/types/global/services/http-service.d.ts +4 -4
- package/dist/types/lang/lang.d.ts +5 -5
- package/package.json +47 -47
- package/dist/esm-es5/functions-036af8dc.js +0 -15
- package/dist/ripple/p-17ceb8c1.entry.js +0 -1
- package/dist/ripple/p-1887286e.entry.js +0 -1
- package/dist/ripple/p-1d795f42.entry.js +0 -1
- package/dist/ripple/p-2996bfe6.entry.js +0 -1
- package/dist/ripple/p-2f860b24.entry.js +0 -1
- package/dist/ripple/p-358bde27.entry.js +0 -1
- package/dist/ripple/p-3680b55d.entry.js +0 -1
- package/dist/ripple/p-3a1d6fc4.entry.js +0 -1
- package/dist/ripple/p-4d59fe86.entry.js +0 -1
- package/dist/ripple/p-6aa6a818.entry.js +0 -1
- package/dist/ripple/p-726c979a.system.js +0 -15
- package/dist/ripple/p-7ae1a630.entry.js +0 -1
- package/dist/ripple/p-7ecbf258.entry.js +0 -1
- package/dist/ripple/p-7fae0cc2.entry.js +0 -1
- package/dist/ripple/p-8de546e8.entry.js +0 -1
- package/dist/ripple/p-93dee724.entry.js +0 -1
- package/dist/ripple/p-97c2b06f.entry.js +0 -1
- package/dist/ripple/p-9ae81a59.system.js +0 -1
- package/dist/ripple/p-9c92c93f.entry.js +0 -1
- package/dist/ripple/p-9e09d7a1.entry.js +0 -1
- package/dist/ripple/p-a04ba6c8.entry.js +0 -1
- package/dist/ripple/p-a9e0ce88.entry.js +0 -1
- package/dist/ripple/p-b3c71506.js +0 -1
- package/dist/ripple/p-bee0b62d.entry.js +0 -1
- package/dist/ripple/p-da403a48.system.entry.js +0 -1
- package/dist/ripple/p-de3367ee.js +0 -16
- package/dist/ripple/p-e083fca6.entry.js +0 -1
- package/dist/ripple/p-e524d462.entry.js +0 -1
- package/dist/ripple/p-e8d39f68.entry.js +0 -1
- package/dist/ripple/p-ed91be1a.entry.js +0 -1
- package/dist/ripple/p-fda61e7e.entry.js +0 -1
- package/dist/ripple/p-fe952112.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={"chart.clickToSeeDetails":[{type:0,value:"Click or use arrow keys to see details."}],"chart.hiddenPercentages":[{type:0,value:"Percentages smaller than 5% are not shown when too close to each other."}],"chart.infoButton":[{type:0,value:"Button. Click for more information."}],"chart.interactiveChart":[{type:0,value:"Interactive chart. Use arrow keys to browse elements, press Tab to exit."}],"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.format":[{options:{int:{value:[{type:0,value:"dd/mm/yyyy"}]},other:{value:[{type:0,value:"yyyy/mm/dd"}]},us:{value:[{type:0,value:"mm/dd/yyyy"}]}},type:5,value:"dateFormat"}],"date.formatINT":[{type:0,value:"dd/mm/yyyy"}],"date.formatISO":[{type:0,value:"yyyy/mm/dd"}],"date.formatUS":[{type:0,value:"mm/dd/yyyy"}],"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.invalidDate":[{type:0,value:"Please enter a valid date in the format "},{options:{int:{value:[{type:0,value:"dd/mm/yyyy"}]},other:{value:[{type:0,value:"yyyy/mm/dd"}]},us:{value:[{type:0,value:"mm/dd/yyyy"}]}},type:5,value:"dateFormat"},{type:0,value:"."}],"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.requiredDateError":[{type:0,value:"A date is required."}],"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"}],"global.characterLimit":[{style:null,type:2,value:"limit"},{type:0,value:" characters allowed."}],"global.characterLimitReached":[{type:0,value:"No additional characters will be entered."}],"global.charactersEntered":[{style:null,type:2,value:"x"},{type:0,value:" of "},{style:null,type:2,value:"y"},{type:0,value:" characters entered."}],"global.closeVerb":[{type:0,value:"Close"}],"global.genericError":[{type:0,value:"An error occurred. Please try again."}],"global.newWindowLink":[{type:0,value:"Opens in a new window."}],"global.next":[{type:0,value:"next"}],"global.openVerb":[{type:0,value:"Open"}],"global.previous":[{type:0,value:"previous"}],"global.requiredError":[{type:0,value:"This field is required."}],"global.requiredField":[{type:0,value:"required field"}],"input.numberError":[{type:0,value:"Please enter a valid number."}],"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.allSelected":[{type:0,value:"All selected"}],"select.multiPlaceholder":[{type:0,value:"Make a selection"}],"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.helpTextCanSelect":[{type:0,value:"Search and select a tag."}],"tagInput.helpTextEditable":[{type:0,value:"Press the Enter or Comma key to add a new tag."}],"tagInput.maxTagsReached":[{type:0,value:"The maximum amount of tags has been reached, no additional tags can be added."}],"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.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.tagRemoved":[{type:1,value:"tag"},{type:0,value:" removed"}],"tagInput.tagsAddedCounter":[{type:0,value:"Tags added: "},{style:null,type:2,value:"x"},{type:0,value:"/"},{style:null,type:2,value:"y"}],"time.invalidTime":[{type:0,value:"Please enter a valid time."}],"time.requiredError":[{type:0,value:"A time is required."}],"time.selectTime":[{type:0,value:"Select time"}],"time.timeFormat":[{type:0,value:"hh:mm"}],"toggletip.moreInformation":[{type:0,value:"More information"}],"uploader.acceptedFileTypes":[{type:0,value:"Accepted file "},{offset:0,options:{"=1":{value:[{type:0,value:"type"}]},other:{value:[{type:0,value:"types"}]}},pluralType:"cardinal",type:6,value:"amount"},{type:0,value:": "},{type:1,value:"fileTypes"}],"uploader.actionMenuLabel":[{type:0,value:"Actions"}],"uploader.clearErrorLabel":[{type:0,value:"Clear "},{type:1,value:"fileName"},{type:0,value:" error"}],"uploader.clearErrorText":[{type:0,value:"Clear"}],"uploader.deleteAction":[{type:0,value:"Delete File"}],"uploader.downloadAction":[{type:0,value:"Download File"}],"uploader.duplicateName":[{type:0,value:"A file with this name already exists."}],"uploader.fileCount":[{type:1,value:"x"},{type:0,value:" of "},{type:1,value:"y"},{type:0,value:" Files"}],"uploader.fileDeleted":[{type:1,value:"fileName"},{type:0,value:" was deleted."}],"uploader.fileNotDeleted":[{type:1,value:"fileName"},{type:0,value:" could not be deleted."}],"uploader.fileTooLarge":[{type:0,value:"The selected file is too large. Maximum file size is "},{type:1,value:"size"},{type:0,value:"Mb"}],"uploader.fileUploadExceeded":[{type:0,value:"The number of selected files exceeds the limit."}],"uploader.fileUploadLimit":[{type:0,value:"Upload unsuccessful because file selection would exceed the maximum number of files"}],"uploader.filesAdded":[{offset:0,options:{one:{value:[{type:0,value:"1 file added"}]},other:{value:[{type:7},{type:0,value:" files added"}]}},pluralType:"cardinal",type:6,value:"numFiles"}],"uploader.filesUploading":[{offset:0,options:{one:{value:[{type:0,value:"1 file uploading"}]},other:{value:[{type:7},{type:0,value:" files uploading"}]}},pluralType:"cardinal",type:6,value:"num"}],"uploader.finishedUploading":[{type:0,value:"Finished uploading"}],"uploader.invalidFileType":[{type:0,value:"The file type is invalid. Accepted types: "},{type:1,value:"validTypes"}],"uploader.maxSize":[{type:0,value:"Maximum file size "},{type:1,value:"maxSize"},{type:0,value:"MB"}],"uploader.previewAction":[{type:0,value:"Preview File"}],"uploader.uploadProgress":[{type:0,value:"Upload progress: "},{type:1,value:"percentage"},{type:0,value:"%"}],"uploader.waitToUpload":[{type:0,value:"Please wait for current upload to complete before uploading new files."}],"uploader.zeroFileSize":[{type:0,value:"The file must be more than 0 bytes"}]},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.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"}],"date.formatINT":[{type:0,value:"jj/mm/aaaa"}],"date.formatISO":[{type:0,value:"aaaa/mm/jj"}],"date.formatUS":[{type:0,value:"mm/jj/aaaa"}],"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.format":[{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"}],"date.formatINT":[{type:0,value:"dd/mm/aaaa"}],"date.formatISO":[{type:0,value:"aaaa/mm/dd"}],"date.formatUS":[{type:0,value:"mm/dd/aaaa"}],"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.hiddenPercentages":[{type:0,value:"Ercentagespay allersmay anthay 5% areyay otnay ownshay enwhay ootay oseclay otay eachyay otheryay."}],"chart.infoButton":[{type:0,value:"Uttonbay. Ickclay orfay oremay informationyay."}],"chart.interactiveChart":[{type:0,value:"Interactiveyay artchay. Useyay arrowyay eyskay otay owsebray elementsyay, esspray Abtay otay exityay."}],"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.format":[{options:{int:{value:[{type:0,value:"dd/mm/yyyyay"}]},other:{value:[{type:0,value:"yyyy/mm/dday"}]},us:{value:[{type:0,value:"mm/dd/yyyyay"}]}},type:5,value:"dateFormat"}],"date.formatINT":[{type:0,value:"dd/mm/yyyyay"}],"date.formatISO":[{type:0,value:"yyyy/mm/dday"}],"date.formatUS":[{type:0,value:"mm/dd/yyyyay"}],"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.invalidDate":[{type:0,value:"Easeplay enteryay ayay alidvay ateday inyay ethay ormatfay "},{options:{int:{value:[{type:0,value:"dd/mm/yyyyay"}]},other:{value:[{type:0,value:"yyyy/mm/dday"}]},us:{value:[{type:0,value:"mm/dd/yyyyay"}]}},type:5,value:"dateFormat"},{type:0,value:"."}],"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.requiredDateError":[{type:0,value:"Ayay ateday isyay equiredray."}],"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"}],"global.characterLimit":[{style:null,type:2,value:"limit"},{type:0,value:" aracterschay allowedyay."}],"global.characterLimitReached":[{type:0,value:"Onay additionalyay aracterschay illway ebay enteredyay."}],"global.charactersEntered":[{style:null,type:2,value:"x"},{type:0,value:" ofyay "},{style:null,type:2,value:"y"},{type:0,value:" aracterschay enteredyay."}],"global.closeVerb":[{type:0,value:"Oseclay"}],"global.genericError":[{type:0,value:"Anyay erroryay occurredyay. Easeplay tryay againyay."}],"global.newWindowLink":[{type:0,value:"Opensyay inyay ayay ewnay indowway."}],"global.next":[{type:0,value:"extnay"}],"global.openVerb":[{type:0,value:"Openyay"}],"global.previous":[{type:0,value:"eviouspray"}],"global.requiredError":[{type:0,value:"Isthay ieldfay isyay equiredray."}],"global.requiredField":[{type:0,value:"equiredray ieldfay"}],"input.numberError":[{type:0,value:"Easeplay enteryay ayay alidvay umbernay."}],"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.allSelected":[{type:0,value:"Allyay electedsay"}],"select.multiPlaceholder":[{type:0,value:"Akemay ayay electionsay"}],"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.helpTextCanSelect":[{type:0,value:"Earchsay andyay electsay ayay agtay."}],"tagInput.helpTextEditable":[{type:0,value:"Esspray ethay Enteryay oryay Ommacay eykay otay addyay ayay ewnay agtay."}],"tagInput.maxTagsReached":[{type:0,value:"Ethay aximummay amountyay ofyay agstay ashay eenbay eachedray, onay additionalyay agstay ancay ebay addedyay."}],"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.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.tagRemoved":[{type:1,value:"tag"},{type:0,value:" emovedray"}],"tagInput.tagsAddedCounter":[{type:0,value:"Agstay addedyay: "},{style:null,type:2,value:"x"},{type:0,value:"/"},{style:null,type:2,value:"y"}],"time.invalidTime":[{type:0,value:"Easeplay enteryay ayay alidvay imetay."}],"time.requiredError":[{type:0,value:"Ayay imetay isyay equiredray."}],"time.selectTime":[{type:0,value:"Electsay imetay"}],"time.timeFormat":[{type:0,value:"hh:mmay"}],"toggletip.moreInformation":[{type:0,value:"Oremay informationyay"}],"uploader.acceptedFileTypes":[{type:0,value:"Acceptedyay ilefay "},{offset:0,options:{"=1":{value:[{type:0,value:"etypay"}]},other:{value:[{type:0,value:"estypay"}]}},pluralType:"cardinal",type:6,value:"amount"},{type:0,value:": "},{type:1,value:"fileTypes"}],"uploader.actionMenuLabel":[{type:0,value:"Actionsyay"}],"uploader.clearErrorLabel":[{type:0,value:"Earclay "},{type:1,value:"fileName"},{type:0,value:" erroryay"}],"uploader.clearErrorText":[{type:0,value:"Earclay"}],"uploader.deleteAction":[{type:0,value:"Eleteday Ilefay"}],"uploader.downloadAction":[{type:0,value:"Ownloadday Ilefay"}],"uploader.duplicateName":[{type:0,value:"Ayay ilefay ithway isthay amenay alreadyyay existsyay."}],"uploader.fileCount":[{type:1,value:"x"},{type:0,value:" ofyay "},{type:1,value:"y"},{type:0,value:" Ilesfay"}],"uploader.fileDeleted":[{type:1,value:"fileName"},{type:0,value:" asway eletedday."}],"uploader.fileNotDeleted":[{type:1,value:"fileName"},{type:0,value:" ouldcay otnay ebay eletedday."}],"uploader.fileTooLarge":[{type:0,value:"Ethay electedsay ilefay isyay ootay argelay. Aximummay ilefay izesay isyay "},{type:1,value:"size"},{type:0,value:"Mbay"}],"uploader.fileUploadExceeded":[{type:0,value:"Ethay umbernay ofyay electedsay ilesfay exceedsyay ethay imitlay."}],"uploader.fileUploadLimit":[{type:0,value:"Uploadyay unsuccessfulyay ecausebay ilefay electionsay ouldway exceedyay ethay aximummay umbernay ofyay ilesfay"}],"uploader.filesAdded":[{offset:0,options:{one:{value:[{type:0,value:"1 ilefay addedyay"}]},other:{value:[{type:7},{type:0,value:" ilesfay addedyay"}]}},pluralType:"cardinal",type:6,value:"numFiles"}],"uploader.filesUploading":[{offset:0,options:{one:{value:[{type:0,value:"1 ilefay uploadingyay"}]},other:{value:[{type:7},{type:0,value:" ilesfay uploadingyay"}]}},pluralType:"cardinal",type:6,value:"num"}],"uploader.finishedUploading":[{type:0,value:"Inishedfay uploadingyay"}],"uploader.invalidFileType":[{type:0,value:"Ethay ilefay etypay isyay invalidyay. Acceptedyay estypay: "},{type:1,value:"validTypes"}],"uploader.maxSize":[{type:0,value:"Aximummay ilefay izesay "},{type:1,value:"maxSize"},{type:0,value:"MBay"}],"uploader.previewAction":[{type:0,value:"Eviewpray Ilefay"}],"uploader.uploadProgress":[{type:0,value:"Uploadyay ogresspray: "},{type:1,value:"percentage"},{type:0,value:"%"}],"uploader.waitToUpload":[{type:0,value:"Easeplay aitway orfay urrentcay uploadyay otay ompletecay eforebay uploadingyay ewnay ilesfay."}],"uploader.zeroFileSize":[{type:0,value:"Ethay ilefay ustmay ebay oremay anthay 0 esbytay"}]}});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])})(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,l,u=function(){return(u=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}).apply(this,arguments)};function o(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 y(e){return e.type===i.argument}function p(e){return e.type===i.number}function c(e){return e.type===i.date}function h(e){return e.type===i.time}function v(e){return e.type===i.select}function d(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!==l.number)}function b(e){return!(!e||"object"!=typeof e||e.type!==l.dateTime)}!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"}(l||(l={}));var E=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,w=/(?:[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 H(e){var t={};return e.replace(w,(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 B=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,T=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,A=/^(@+)?(\+|#+)?[rs]?$/g,I=/(\*)(0+)|(#+)(0+)|(0+)/g,S=/^(0+)$/;function x(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(A,(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 M(e){return N(e)||{}}function L(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=u(u(u({},t),{notation:"scientific"}),n.options.reduce((function(e,t){return u(u({},e),M(t))}),{}));continue;case"engineering":t=u(u(u({},t),{notation:"engineering"}),n.options.reduce((function(e,t){return u(u({},e),M(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,l){if(a)t.minimumIntegerDigits=r.length;else{if(n&&i)throw new Error("We currently do not support maximum integer digits");if(l)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(T.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(T,(function(e,a,r,n,i,l){return"*"===r?t.minimumFractionDigits=a.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:i&&l?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+l.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),""}));var i=n.options[0];"w"===i?t=u(u({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=u(u({},t),x(i)))}else if(A.test(n.stem))t=u(u({},t),x(n.stem));else{var l=N(n.stem);l&&(t=u(u({},t),l));var o=R(n.stem);o&&(t=u(u({},t),o))}}return t}var j,U={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","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"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function O(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),(U[a||""]||U[r||""]||U["".concat(r,"-001")]||U["001"])[0]}var P=new RegExp("^".concat(E.source,"*")),D=new RegExp("".concat(E.source,"*$"));function C(e,t){return{start:e,end:t}}var F=!!String.prototype.startsWith,k=!!String.fromCodePoint,_=!!Object.fromEntries,z=!!String.prototype.codePointAt,G=!!String.prototype.trimStart,q=!!String.prototype.trimEnd,V=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},W=!0;try{W="a"===(null===(j=ee("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===j?void 0:j[0])}catch(e){W=!1}var Y,K=F?function(e,t,a){return e.startsWith(t,a)}:function(e,t,a){return e.slice(a,a+t.length)===t},Z=k?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},J=_?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=z?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}},Q=G?function(e){return e.trimStart()}:function(e){return e.replace(P,"")},$=q?function(e){return e.trimEnd()}:function(e){return e.replace(D,"")};function ee(e,t){return new RegExp(e,t)}if(W){var te=ee("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Y=function(e,t){var a;return te.lastIndex=t,null!==(a=te.exec(e)[1])&&void 0!==a?a:""}}else Y=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 Z.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 l=this.char();if(123===l){if((u=this.parseArgument(e,a)).err)return u;r.push(u.val)}else{if(125===l&&e>0)break;if(35!==l||"plural"!==t&&"selectordinal"!==t){if(60===l&&!this.ignoreTag&&47===this.peek()){if(a)break;return this.error(n.UNMATCHED_CLOSING_TAG,C(this.clonePosition(),this.clonePosition()))}if(60===l&&!this.ignoreTag&&re(this.peek()||0)){if((u=this.parseTag(e,t)).err)return u;r.push(u.val)}else{var u;if((u=this.parseLiteral(e,t)).err)return u;r.push(u.val)}}else{var o=this.clonePosition();this.bump(),r.push({type:i.pound,location:C(o,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:C(a,this.clonePosition())},err:null};if(this.bumpIf(">")){var l=this.parseMessage(e+1,t,!0);if(l.err)return l;var u=l.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!re(this.char()))return this.error(n.INVALID_TAG,C(o,this.clonePosition()));var s=this.clonePosition();return r!==this.parseTagName()?this.error(n.UNMATCHED_CLOSING_TAG,C(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:i.tag,value:r,children:u,location:C(a,this.clonePosition())},err:null}:this.error(n.INVALID_TAG,C(o,this.clonePosition())))}return this.error(n.UNCLOSED_TAG,C(a,this.clonePosition()))}return this.error(n.INVALID_TAG,C(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 l=this.tryParseUnquoted(e,t);if(l)r+=l;else{var u=this.tryParseLeftAngleBracket();if(!u)break;r+=u}}}var o=C(a,this.clonePosition());return{val:{type:i.literal,value:r,location:o},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 Z.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(),Z(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,C(a,this.clonePosition()));if(125===this.char())return this.bump(),this.error(n.EMPTY_ARGUMENT,C(a,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(n.MALFORMED_ARGUMENT,C(a,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,C(a,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:i.argument,value:r,location:C(a,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,C(a,this.clonePosition())):this.parseArgumentOptions(e,t,r,a);default:return this.error(n.MALFORMED_ARGUMENT,C(a,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),a=Y(this.message,t);return this.bumpTo(t+a.length),{value:a,location:C(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,a,r){var o,s=this.clonePosition(),y=this.parseIdentifierIfPossible().value,p=this.clonePosition();switch(y){case"":return this.error(n.EXPECT_ARGUMENT_TYPE,C(s,p));case"number":case"date":case"time":this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();if((w=this.parseSimpleArgStyleIfPossible()).err)return w;if(0===(m=$(w.val)).length)return this.error(n.EXPECT_ARGUMENT_STYLE,C(this.clonePosition(),this.clonePosition()));c={style:m,styleLocation:C(h,this.clonePosition())}}if((B=this.tryParseArgumentClose(r)).err)return B;var v=C(r,this.clonePosition());if(c&&K(null==c?void 0:c.style,"::",0)){var d=Q(c.style.slice(2));if("number"===y)return(w=this.parseNumberSkeletonFromString(d,c.styleLocation)).err?w:{val:{type:i.number,value:a,location:v,style:w.val},err:null};if(0===d.length)return this.error(n.EXPECT_DATE_TIME_SKELETON,v);var f=d;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 l=1+(1&i),u=i<2?1:3+(i>>1),o=O(t);for("H"!=o&&"k"!=o||(u=0);u-- >0;)a+="a";for(;l-- >0;)a=o+a}else a+="J"===n?"H":n}return a}(d,this.locale));var m={type:l.dateTime,pattern:f,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?H(f):{}};return{val:{type:"date"===y?i.date:i.time,value:a,location:v,style:m},err:null}}return{val:{type:"number"===y?i.number:"date"===y?i.date:i.time,value:a,location:v,style:null!==(o=null==c?void 0:c.style)&&void 0!==o?o: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,C(g,u({},g)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),E=0;if("select"!==y&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,C(this.clonePosition(),this.clonePosition()));var w;if(this.bumpSpace(),(w=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return w;this.bumpSpace(),b=this.parseIdentifierIfPossible(),E=w.val}var B,T=this.tryParsePluralOrSelectOptions(e,y,t,b);if(T.err)return T;if((B=this.tryParseArgumentClose(r)).err)return B;var A=C(r,this.clonePosition());return"select"===y?{val:{type:i.select,value:a,options:J(T.val),location:A},err:null}:{val:{type:i.plural,value:a,options:J(T.val),offset:E,pluralType:"plural"===y?"cardinal":"ordinal",location:A},err:null};default:return this.error(n.INVALID_ARGUMENT_TYPE,C(s,p))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,C(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,C(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(B).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],l=n.slice(1),u=0,o=l;u<o.length;u++)if(0===o[u].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:l})}return t}(e)}catch(e){return this.error(n.INVALID_NUMBER_SKELETON,t)}return{val:{type:l.number,tokens:a,location:t,parsedOptions:this.shouldParseSkeletons?L(a):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,a,r){for(var i,l=!1,u=[],o=new Set,s=r.value,y=r.location;;){if(0===s.length){var p=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_SELECTOR,n.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;y=C(p,this.clonePosition()),s=this.message.slice(p.offset,this.offset())}if(o.has(s))return this.error("select"===t?n.DUPLICATE_SELECT_ARGUMENT_SELECTOR:n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,y);"other"===s&&(l=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,C(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(e+1,t,a);if(v.err)return v;var d=this.tryParseArgumentClose(h);if(d.err)return d;u.push([s,{value:v.val,location:C(h,this.clonePosition())}]),o.add(s),this.bumpSpace(),s=(i=this.parseIdentifierIfPossible()).value,y=i.location}return 0===u.length?this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR:n.EXPECT_PLURAL_ARGUMENT_SELECTOR,C(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!l?this.error(n.MISSING_OTHER_CLAUSE,C(this.clonePosition(),this.clonePosition())):{val:u,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 l=this.char();if(!(l>=48&&l<=57))break;n=!0,i=10*i+(l-48),this.bump()}var u=C(r,this.clonePosition());return n?V(i*=a)?{val:i,err:null}:this.error(t,u):this.error(e,u)},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 le(e){e.forEach((function(e){if(delete e.location,v(e)||d(e))for(var t in e.options)delete e.options[t].location,le(e.options[t].value);else p(e)&&g(e.style)||(c(e)||h(e))&&b(e.style)?delete e.style.location:m(e)&&le(e.children)}))}function ue(e,t){void 0===t&&(t={}),t=u({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)||le(a.val),a.val}function oe(e,t){return(t&&t.strategy?t.strategy:ce)(e,{cache:t&&t.cache?t.cache:fe,serializer:t&&t.serializer?t.serializer:he})}function se(e,t,a,r){var n,i=null==(n=r)||"number"==typeof n||"boolean"==typeof n?r:a(r),l=t.get(i);return void 0===l&&(l=e.call(this,r),t.set(i,l)),l}function ye(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 pe(e,t,a,r,n){return a.bind(t,e,r,n)}function ce(e,t){return pe(e,this,1===e.length?se:ye,t.cache.create(),t.serializer)}var he=function(){return JSON.stringify(arguments)};function ve(){this.cache=Object.create(null)}ve.prototype.get=function(e){return this.cache[e]},ve.prototype.set=function(e,t){this.cache[e]=t};var de,fe={create:function(){return new ve}},me={variadic:function(e,t){return pe(e,this,ye,t.cache.create(),t.serializer)},monadic:function(e,t){return pe(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"}(de||(de={}));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),Ee=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('", "'),'"'),de.INVALID_VALUE,n)||this}return r(t,e),t}(be),we=function(e){function t(t,a,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(a),de.INVALID_VALUE,r)||this}return r(t,e),t}(be),He=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,'"'),de.MISSING_VALUE,a)||this}return r(t,e),t}(be);function Be(e){return"function"==typeof e}function Te(e,t,a,r,n,i,l){if(1===e.length&&s(e[0]))return[{type:ge.literal,value:e[0].value}];for(var u=[],o=0,E=e;o<E.length;o++){var w=E[o];if(s(w))u.push({type:ge.literal,value:w.value});else if(f(w))"number"==typeof i&&u.push({type:ge.literal,value:a.getNumberFormat(t).format(i)});else{var H=w.value;if(!n||!(H in n))throw new He(H,l);var B=n[H];if(y(w))B&&"string"!=typeof B&&"number"!=typeof B||(B="string"==typeof B||"number"==typeof B?String(B):""),u.push({type:"string"==typeof B?ge.literal:ge.object,value:B});else if(c(w)){var T="string"==typeof w.style?r.date[w.style]:b(w.style)?w.style.parsedOptions:void 0;u.push({type:ge.literal,value:a.getDateTimeFormat(t,T).format(B)})}else if(h(w))T="string"==typeof w.style?r.time[w.style]:b(w.style)?w.style.parsedOptions:r.time.medium,u.push({type:ge.literal,value:a.getDateTimeFormat(t,T).format(B)});else if(p(w))(T="string"==typeof w.style?r.number[w.style]:g(w.style)?w.style.parsedOptions:void 0)&&T.scale&&(B*=T.scale||1),u.push({type:ge.literal,value:a.getNumberFormat(t,T).format(B)});else{if(m(w)){var A=w.children,I=w.value,S=n[I];if(!Be(S))throw new we(I,"function",l);var x=S(Te(A,t,a,r,n,i).map((function(e){return e.value})));Array.isArray(x)||(x=[x]),u.push.apply(u,x.map((function(e){return{type:"string"==typeof e?ge.literal:ge.object,value:e}})))}if(v(w)){if(!(N=w.options[B]||w.options.other))throw new Ee(w.value,B,Object.keys(w.options),l);u.push.apply(u,Te(N.value,t,a,r,n))}else if(d(w)){var N;if(!(N=w.options["=".concat(B)])){if(!Intl.PluralRules)throw new be('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',de.MISSING_INTL_API,l);var R=a.getPluralRules(t,{type:w.pluralType}).select(B-(w.offset||0));N=w.options[R]||w.options.other}if(!N)throw new Ee(w.value,B,Object.keys(w.options),l);u.push.apply(u,Te(N.value,t,a,r,n,B-(w.offset||0)))}}}}return(M=u).length<2?M:M.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 M}function Ae(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){var i,l,s=this;if(void 0===a&&(a=e.defaultLocale),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 Te(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},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`");this.ast=e.__parse(t,{ignoreTag:null==n?void 0:n.ignoreTag,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,(l=r)?Object.keys(i).reduce((function(e,t){var a,r;return e[t]=(a=i[t],(r=l[t])?u(u(u({},a||{}),r||{}),Object.keys(a).reduce((function(e,t){return e[t]=u(u({},a[t]),r[t]||{}),e}),{})):a),e}),u({},i)):i),this.formatters=n&&n.formatters||function(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:oe((function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.NumberFormat).bind.apply(e,o([void 0],t,!1)))}),{cache:Ae(e.number),strategy:me.variadic}),getDateTimeFormat:oe((function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.DateTimeFormat).bind.apply(e,o([void 0],t,!1)))}),{cache:Ae(e.dateTime),strategy:me.variadic}),getPluralRules:oe((function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.PluralRules).bind.apply(e,o([void 0],t,!1)))}),{cache:Ae(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){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=ue,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 xe=function(e){function t(a,r,n){var i=this,l=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(l?"\n".concat(l.message,"\n").concat(l.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}(xe),Re=function(e){function t(t,a){return e.call(this,Ie.INVALID_CONFIG,t,a)||this}return r(t,e),t}(xe),Me=function(e){function t(t,a){return e.call(this,Ie.MISSING_DATA,t,a)||this}return r(t,e),t}(xe),Le=function(e){function t(t,a,r){return e.call(this,Ie.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(a,"\n"),r)||this}return r(t,e),t}(xe),je=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}return r(t,e),t}(Le),Ue=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":"id"," as fallback."))||this;return r.descriptor=t,r}return r(t,e),t}(xe);function Oe(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 Pe={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(){},onWarn:function(){}};function De(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,a){e[t]=a}}}}}function Ce(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]=u({timeZone:t},e[r]),a}),{})}function ke(e,t){return Object.keys(u(u({},e),t)).reduce((function(a,r){return a[r]=u(u({},e[r]||{}),t[r]||{}),a}),{})}function _e(e,t){if(!t)return e;var a=Se.formats;return u(u(u({},a),e),{date:ke(Fe(a.date,t),Fe(e.date||{},t)),time:ke(Fe(a.time,t),Fe(e.time||{},t))})}function ze(e,t,a,r,n){var l=e.locale,o=e.formats,s=e.messages,y=e.defaultLocale,p=e.defaultFormats,c=e.fallbackOnEmptyString,h=e.onError,v=e.timeZone,d=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&&!d)return b.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=u(u({},d),r||{}),o=_e(o,v),p=_e(p,v),!b){if(!1===c&&""===b)return b;if((!m||l&&l.toLowerCase()!==y.toLowerCase())&&h(new Ue(a,l)),m)try{return t.getMessageFormat(m,y,p,n).format(r)}catch(e){return h(new je('Error formatting default message for: "'.concat(g,'", rendering default message verbatim'),l,a,e)),"string"==typeof m?m:g}return g}try{return t.getMessageFormat(b,l,o,u({formatters:t},n||{})).format(r)}catch(e){h(new je('Error formatting message: "'.concat(g,'", using ').concat(m?"default message":"id"," as fallback."),l,a,e))}if(m)try{return t.getMessageFormat(m,y,p,n).format(r)}catch(e){h(new je('Error formatting the default message for: "'.concat(g,'", rendering message verbatim'),l,a,e))}return"string"==typeof b?b:"string"==typeof m?m:g}var Ge=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function qe(e,t,a,r){var n=e.locale,i=e.formats,l=e.onError,o=e.timeZone;void 0===r&&(r={});var s=r.format,y=u(u({},o&&{timeZone:o}),s&&Ce(i,t,s,l)),p=Oe(r,Ge,y);return"time"!==t||p.hour||p.minute||p.second||p.timeStyle||p.dateStyle||(p=u(u({},p),{hour:"numeric",minute:"numeric"})),a(n,p)}function Ve(e,t){for(var a=[],r=2;r<arguments.length;r++)a[r-2]=arguments[r];var n=a[0],i=a[1],l=void 0===i?{}:i,u="string"==typeof n?new Date(n||0):n;try{return qe(e,"date",t,l).format(u)}catch(t){e.onError(new xe(Ie.FORMAT_ERROR,"Error formatting date.",t))}return String(u)}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],l=void 0===i?{}:i,u="string"==typeof n?new Date(n||0):n;try{return qe(e,"time",t,l).format(u)}catch(t){e.onError(new xe(Ie.FORMAT_ERROR,"Error formatting time.",t))}return String(u)}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],l=a[2],u=void 0===l?{}:l,o=e.timeZone,s=e.locale,y=e.onError,p=Oe(u,Ge,o?{timeZone:o}:{});try{return t(s,p).formatRange(n,i)}catch(e){y(new xe(Ie.FORMAT_ERROR,"Error formatting date time range.",e))}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],l=void 0===i?{}:i,u="string"==typeof n?new Date(n||0):n;try{return qe(e,"date",t,l).formatToParts(u)}catch(t){e.onError(new xe(Ie.FORMAT_ERROR,"Error formatting date.",t))}return[]}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],l=void 0===i?{}:i,u="string"==typeof n?new Date(n||0):n;try{return qe(e,"time",t,l).formatToParts(u)}catch(t){e.onError(new xe(Ie.FORMAT_ERROR,"Error formatting time.",t))}return[]}var Je=["localeMatcher","style","type","fallback"];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',de.MISSING_INTL_API));var l=Oe(r,Je);try{return t(n,l).of(a)}catch(e){i(new xe(Ie.FORMAT_ERROR,"Error formatting display name.",e))}}var Qe=["localeMatcher","type","style"],$e=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]: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',de.MISSING_INTL_API));var l=Oe(r,Qe);try{var o={},s=a.map((function(e,t){if("object"==typeof e){var a=function(e){return"".concat($e,"_").concat(e,"_").concat($e)}(t);return o[a]=e,a}return String(e)}));return t(n,l).formatToParts(s).map((function(e){return"literal"===e.type?e:u(u({},e),{value:o[e.value]||e.value})}))}catch(e){i(new xe(Ie.FORMAT_ERROR,"Error formatting list.",e))}return a}var at=["localeMatcher","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',de.MISSING_INTL_API));var l=Oe(r,at);try{return t(n,l).select(a)}catch(e){i(new Le("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',de.MISSING_INTL_API));try{return function(e,t,a){var r=e.locale;void 0===a&&(a={});var n=a.format,i=!!n&&Ce(e.formats,"relative",n,e.onError)||{};return t(r,Oe(a,nt,i))}(e,t,n).format(a,r)}catch(t){e.onError(new Le("Error formatting relative time.",e.locale,t))}return String(a)}var lt=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function ut(e,t,a){var r=e.locale;void 0===a&&(a={});var n=a.format,i=n&&Ce(e.formats,"number",n,e.onError)||{};return t(r,Oe(a,lt,i))}function ot(e,t,a,r){void 0===r&&(r={});try{return ut(e,t,r).format(a)}catch(t){e.onError(new xe(Ie.FORMAT_ERROR,"Error formatting number.",t))}return String(a)}function st(e,t,a,r){void 0===r&&(r={});try{return ut(e,t,r).formatToParts(a)}catch(t){e.onError(new xe(Ie.FORMAT_ERROR,"Error formatting number.",t))}return[]}const yt=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")}(),pt=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=oe((function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.DateTimeFormat).bind.apply(e,o([void 0],t,!1)))}),{cache:De(e.dateTime),strategy:me.variadic}),i=oe((function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.NumberFormat).bind.apply(e,o([void 0],t,!1)))}),{cache:De(e.number),strategy:me.variadic}),l=oe((function(){for(var e,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];return new((e=Intl.PluralRules).bind.apply(e,o([void 0],t,!1)))}),{cache:De(e.pluralRules),strategy:me.variadic});return{getDateTimeFormat:n,getNumberFormat:i,getMessageFormat:oe((function(e,t,a,r){return new Se(e,t,a,u({formatters:{getNumberFormat:i,getDateTimeFormat:n,getPluralRules:l}},r||{}))}),{cache:De(e.message),strategy:me.variadic}),getRelativeTimeFormat:oe((function(){for(var e=[],a=0;a<arguments.length;a++)e[a]=arguments[a];return new(t.bind.apply(t,o([void 0],e,!1)))}),{cache:De(e.relativeTime),strategy:me.variadic}),getPluralRules:l,getListFormat:oe((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(a.bind.apply(a,o([void 0],e,!1)))}),{cache:De(e.list),strategy:me.variadic}),getDisplayNames:oe((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,o([void 0],e,!1)))}),{cache:De(e.displayNames),strategy:me.variadic})}}(t),r=u(u({},Pe),e),n=r.locale,i=r.defaultLocale,l=r.onError;return n?!Intl.NumberFormat.supportedLocalesOf(n).length&&l?l(new Me('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&&l&&l(new Me('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'))):(l&&l(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),u(u({},r),{formatters:a,formatNumber:ot.bind(null,r,a.getNumberFormat),formatNumberToParts:st.bind(null,r,a.getNumberFormat),formatRelativeTime:it.bind(null,r,a.getRelativeTimeFormat),formatDate:Ve.bind(null,r,a.getDateTimeFormat),formatDateToParts:Ke.bind(null,r,a.getDateTimeFormat),formatTime:We.bind(null,r,a.getDateTimeFormat),formatDateTimeRange:Ye.bind(null,r,a.getDateTimeFormat),formatTimeToParts:Ze.bind(null,r,a.getDateTimeFormat),formatPlural:rt.bind(null,r,a.getPluralRules),formatMessage:ze.bind(null,r,a),$t:ze.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:yt,defaultLocale:"en",messages:t[yt]||e},{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});function ct(){return"wmcl-"+Math.random().toString(36).substr(2,10)}function ht(e,t){let a,r=!1;return function(){const n=this;r||(e.apply(n,arguments),r=!0,clearTimeout(a),a=setTimeout((function(){r=!1}),t))}}function vt(e,t){let a;return function(){const r=this,n=()=>e.apply(r,arguments);clearTimeout(a),a=setTimeout(n,t)}}function dt(){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"===dt()?t.right:t.left,r=t.top),{x:a,y:r}}function mt(e){for(;e;){if(e.scrollHeight>e.clientHeight&&["scroll","auto"].includes(window.getComputedStyle(e).overflowY))return e;e=e.parentElement}}function gt(e,t){const a=function(e){for(;e;){if("visible"!==window.getComputedStyle(e).overflowY)return e;e=e.parentElement}}(e);return{closableElHeight:t.clientHeight,closableElWidth:t.clientWidth,spaceAbove:a?e.getBoundingClientRect().top-a.getBoundingClientRect().top:e.getBoundingClientRect().top,spaceBelow:a?a.getBoundingClientRect().bottom-e.getBoundingClientRect().bottom:document.documentElement.clientHeight-e.getBoundingClientRect().bottom,spaceLeft:a?e.getBoundingClientRect().left-a.getBoundingClientRect().left:e.getBoundingClientRect().left,spaceRight:a?a.getBoundingClientRect().right-e.getBoundingClientRect().right:document.documentElement.clientWidth-e.getBoundingClientRect().right}}function bt(e,t,a=0,r=0){const{closableElHeight:n,spaceAbove:i,spaceBelow:l}=gt(e,t);return n>l+r&&n<=i+a}function Et(e,t,a=0,r=0){const{closableElHeight:n,spaceAbove:i,spaceBelow:l}=gt(e,t);return n>i+a&&n<=l+r}function wt(e,t){const{closableElWidth:a,spaceLeft:r,spaceRight:n}=gt(e,t);return a>r&&n>r}function Ht(e,t){const{closableElWidth:a,spaceLeft:r,spaceRight:n}=gt(e,t);return a>n&&r>n}function Bt(e,t,a){const{spaceLeft:r,spaceRight:n,spaceBelow:i,spaceAbove:l}=gt(t,a),u=a.getBoundingClientRect().width,o=a.getBoundingClientRect().height,s=l>o,y=i>o,p=r-24>u,c=n-24>u,h=e=>s?e:e.replace("top","bottom"),v=e=>!y&&s?e.replace("bottom","top"):e,d=(e,t)=>(!p&&c?e=e.replace("left","right"):p||c||(e=t),e),f=(e,t)=>(!c&&p?e=e.replace("right","left"):c||p||(e=t),e);switch(e){case"left":e=d(e,"bottom");case"right":e=f(e,"bottom");case"top-left":e=h(e=d(e,"top"));case"top-right":e=h(e=f(e,"top"));case"bottom-left":e=v(e=d(e,"bottom"));case"bottom-right":e=v(e=f(e,"bottom"));case"top":e=h(e);case"bottom":e=v(e)}return e}function Tt(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 At(e){for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function It(e){let t=e;return["button","a","input","select","textarea","wm-button","wm-search","wm-select","wm-action-menu","wm-tab-item","wm-datepicker"].forEach((e=>{if(t&&t.shadowRoot){let a=t.shadowRoot.querySelector(e);a&&(t=e.startsWith("wm-")?It(a):a)}})),t}function St(e){if(function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!=e.rel;case"INPUT":return"hidden"!=e.type&&"file"!=e.type;case"BUTTON":case"SELECT":case"TEXTAREA":case"WM-BUTTON":case"WM-SELECT":case"WM-ACTION-MENU":case"WM-DATEPICKER":case"WM-TIMEPICKER":case"WM-INPUT":case"WM-TAG-INPUT":case"WM-TAB-ITEM":case"WM-SEARCH":return!0;default:return!1}}(e))return It(e);e.childNodes.length>0&&e.childNodes.forEach((e=>{const t=St(e);return t&&It(t)}))}function xt(e,t){const a=t.split(" "),r=e.name&&e.name.split("."),n=r&&r.length>1&&r[r.length-1];return n?a.includes(n.toLowerCase()):!e.type||function(e){const t={aac:["audio/aac"],abw:["application/x-abiword"],arc:["application/x-freearc"],avi:["video/x-msvideo"],azw:["application/vnd.amazon.ebook"],bin:["application/octet-stream"],bmp:["image/bmp"],bz:["application/x-bzip"],bz2:["application/x-bzip2"],csh:["application/x-csh"],css:["text/css"],csv:["text/csv"],doc:["application/msword"],docx:["application/vnd.openxmlformats-officedocument.wordprocessingml.document"],eot:["application/vnd.ms-fontobject"],epub:["application/epub+zip"],gz:["application/gzip"],gif:["image/gif"],htm:["text/html"],html:["text/html"],ico:["image/vnd.microsoft.icon"],ics:["text/calendar"],jar:["application/java-archive"],jpeg:["image/jpeg"],jpg:["image/jpeg"],js:["text/javascript"],json:["application/json"],jsonld:["application/ld+json"],log:["text/plain"],mid:["audio/x-midi"],midi:["audio/x-midi"],mjs:["text/javascript"],mp3:["audio/mpeg"],mpeg:["video/mpeg"],mpkg:["application/vnd.apple.installer+xml"],odp:["application/vnd.oasis.opendocument.presentation"],ods:["application/vnd.oasis.opendocument.spreadsheet"],odt:["application/vnd.oasis.opendocument.text"],oga:["audio/ogg"],ogv:["video/ogg"],ogx:["application/ogg"],opus:["audio/opus"],otf:["font/otf"],png:["image/png"],pdf:["application/pdf"],php:["application/php"],ppt:["application/vnd.ms-powerpoint"],pptx:["application/vnd.openxmlformats-officedocument.presentationml.presentation"],rar:["application/vnd.rar","application/x-rar","application/x-rar-compressed"],rtf:["application/rtf"],sh:["application/x-sh"],svg:["image/svg+xml"],swf:["application/x-shockwave-flash"],tar:["application/x-tar"],tif:["image/tiff"],tiff:["image/tiff"],ts:["video/mp2t"],ttf:["font/ttf"],txt:["text/plain"],vsd:["application/vnd.visio"],wav:["audio/wav"],weba:["audio/webm"],webm:["video/webm"],webp:["image/webp"],woff:["font/woff"],woff2:["font/woff2"],xhtml:["application/xhtml+xml"],xls:["application/vnd.ms-excel"],xlsx:["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],xml:["application/xml","text/xml"],xul:["application/vnd.mozilla.xul+xml"],zip:["application/zip","application/x-zip-compressed","multipart/x-zip"],"3gp":["video/3gpp","audio/3gpp"],"3g2":["video/3gpp2","audio/3gpp2"],"7z":["application/x-7z-compressed"]};return e.reduce(((e,a)=>e.concat(t[a])),[])}(a).includes(e.type)}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,t,a){let r=e;return"ArrowDown"===t&&(r=(e+1)%a),"ArrowUp"===t&&(r=0===e?a-1:e-1),r}function Mt(e,t){const a=t.split(" ");return e.relatedTarget&&a.includes(e.relatedTarget.id)}function Lt(e){return"false"!=e&&!!e}export{Bt as a,ft as b,At as c,vt as d,Mt as e,mt as f,ct as g,It as h,pt as i,St as j,Rt as k,bt as l,Et as m,wt as n,Ht as o,xt as p,dt as q,ht as r,Nt as s,Lt as t,Tt as u}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function l(e){try{o(n.next(e))}catch(e){i(e)}}function s(e){try{o(n["throw"](e))}catch(e){i(e)}}function o(e){e.done?r(e.value):a(e.value).then(l,s)}o((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return o([e,t])}}function o(l){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;a=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1];i=l;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(l);break}if(i[2])r.ops.pop();r.trys.pop();continue}l=t.call(e,r)}catch(e){l=[6,e];a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return e.concat(i||Array.prototype.slice.call(t))};System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n="ripple";var a;var i;var l=false;var s=false;var o=typeof window!=="undefined"?window:{};var f=o.document||{head:{}};var u={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var $=e("p",(function(e){return Promise.resolve(e)}));var c=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var v=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var l=p(e,n);var s=d(t,i);var o=h(n);u.ael(l,a,s,o);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return u.rel(l,a,s,o)}))}))}};var d=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){we(e)}}};var p=function(e,t){if(t&4)return f;if(t&8)return o;return e};var h=function(e){return(e&2)!==0};var m="{visibility:hidden}.hydrated{visibility:inherit}";var g="http://www.w3.org/1999/xlink";var y=function(e,t){if(t===void 0){t=""}{return function(){return}}};var w=function(e,t){{return function(){return}}};var b=new WeakMap;var _=function(e,t,r){var n=Se.get(e);if(c&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}Se.set(e,n)};var S=function(e,t,r,n){var a=k(t);var i=Se.get(a);e=e.nodeType===11?e:f;if(i){if(typeof i==="string"){e=e.head||e;var l=b.get(e);var s=void 0;if(!l){b.set(e,l=new Set)}if(!l.has(a)){{{s=f.createElement("style");s.innerHTML=i}e.insertBefore(s,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var R=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=y("attachStyles",t.$tagName$);var i=S(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var k=function(e,t){return"sc-"+e.$tagName$};var x={};var N="http://www.w3.org/2000/svg";var L="http://www.w3.org/1999/xhtml";var j=function(e){return e!=null};var E=function(e){e=typeof e;return e==="object"||e==="function"};var P=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var l=false;var s=false;var o=[];var f=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!E(a)){a=String(a)}if(l&&s){o[o.length-1].$text$+=a}else{o.push(l?C(null,a):a)}s=l}}};f(r);if(t){if(t.key){i=t.key}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}var $=C(e,null);$.$attrs$=t;if(o.length>0){$.$children$=o}{$.$key$=i}return $}));var C=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}return r};var O=e("H",{});var A=function(e){return e&&e.$tag$===O};var M=function(e,t,r,n,a,i){if(r!==n){var l=ye(e,t);var s=t.toLowerCase();if(t==="class"){var f=e.classList;var $=T(r);var c=T(n);f.remove.apply(f,$.filter((function(e){return e&&!c.includes(e)})));f.add.apply(f,c.filter((function(e){return e&&!$.includes(e)})))}else if(t==="style"){{for(var v in r){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!r||n[v]!==r[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(ye(o,s)){t=s.slice(2)}else{t=s[2]+t.slice(3)}if(r){u.rel(e,t,r,false)}if(n){u.ael(e,t,n,false)}}else{var d=E(n);if((l||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var p=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=p){e[t]=p}}else{e[t]=n}}catch(e){}}var h=false;{if(s!==(s=s.replace(/^xlink\:?/,""))){t=s;h=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(h){e.removeAttributeNS(g,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!d){n=n===true?"":n;if(h){e.setAttributeNS(g,t,n)}else{e.setAttribute(t,n)}}}}};var I=/\s/;var T=function(e){return!e?[]:e.split(I)};var U=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||x;var l=t.$attrs$||x;{for(n in i){if(!(n in l)){M(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){M(a,n,i[n],l[n],r,t.$flags$)}};var q=function(e,t,r,n){var i=t.$children$[r];var s=0;var o;var u;if(i.$text$!==null){o=i.$elm$=f.createTextNode(i.$text$)}else{if(!l){l=i.$tag$==="svg"}o=i.$elm$=f.createElementNS(l?N:L,i.$tag$);if(l&&i.$tag$==="foreignObject"){l=false}{U(null,i,l)}if(j(a)&&o["s-si"]!==a){o.classList.add(o["s-si"]=a)}if(i.$children$){for(s=0;s<i.$children$.length;++s){u=q(e,i,s);if(u){o.appendChild(u)}}}{if(i.$tag$==="svg"){l=false}else if(o.tagName==="foreignObject"){l=true}}}return o};var z=function(e,t,r,n,a,l){var s=e;var o;if(s.shadowRoot&&s.tagName===i){s=s.shadowRoot}for(;a<=l;++a){if(n[a]){o=q(null,r,a);if(o){n[a].$elm$=o;s.insertBefore(o,t)}}}};var B=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;D(n);a.remove()}}};var H=function(e,t,r,n){var a=0;var i=0;var l=0;var s=0;var o=t.length-1;var f=t[0];var u=t[o];var $=n.length-1;var c=n[0];var v=n[$];var d;var p;while(a<=o&&i<=$){if(f==null){f=t[++a]}else if(u==null){u=t[--o]}else if(c==null){c=n[++i]}else if(v==null){v=n[--$]}else if(V(f,c)){W(f,c);f=t[++a];c=n[++i]}else if(V(u,v)){W(u,v);u=t[--o];v=n[--$]}else if(V(f,v)){W(f,v);e.insertBefore(f.$elm$,u.$elm$.nextSibling);f=t[++a];v=n[--$]}else if(V(u,c)){W(u,c);e.insertBefore(u.$elm$,f.$elm$);u=t[--o];c=n[++i]}else{l=-1;{for(s=a;s<=o;++s){if(t[s]&&t[s].$key$!==null&&t[s].$key$===c.$key$){l=s;break}}}if(l>=0){p=t[l];if(p.$tag$!==c.$tag$){d=q(t&&t[i],r,l)}else{W(p,c);t[l]=undefined;d=p.$elm$}c=n[++i]}else{d=q(t&&t[i],r,i);c=n[++i]}if(d){{f.$elm$.parentNode.insertBefore(d,f.$elm$)}}}}if(a>o){z(e,n[$+1]==null?null:n[$+1].$elm$,r,n,i,$)}else if(i>$){B(t,a,o)}};var V=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var W=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var i=t.$tag$;var s=t.$text$;if(s===null){{l=i==="svg"?true:i==="foreignObject"?false:l}{if(i==="slot");else{U(e,t,l)}}if(n!==null&&a!==null){H(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}z(r,null,t,a,0,a.length-1)}else if(n!==null){B(n,0,n.length-1)}if(l&&i==="svg"){l=false}}else if(e.$text$!==s){r.data=s}};var D=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(D)}};var F=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var l=e.$vnode$||C(null,null);var s=A(t)?t:P(null,null,t);i=r.tagName;if(n.$attrsToReflect$){s.$attrs$=s.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return s.$attrs$[n]=r[t]}))}s.$tag$=null;s.$flags$|=4;e.$vnode$=s;s.$elm$=l.$elm$=r.shadowRoot||r;{a=r["s-sc"]}W(l,s)};var G=e("g",(function(e){return he(e).$hostElement$}));var J=e("c",(function(e,t,r){var n=G(e);return{emit:function(e){return K(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var K=function(e,t,r){var n=u.ce(t,r);e.dispatchEvent(n);return n};var Q=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var X=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}Q(e,e.$ancestorComponent$);var r=function(){return Y(e,t)};return Ee(r)};var Y=function(e,t){var r=y("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return ae(n,t,r)}));e.$queuedListeners$=null}}{a=ae(n,"componentWillLoad")}}else{{a=ae(n,"componentWillUpdate")}}r();return ie(a,(function(){return Z(e,n,t)}))};var Z=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,s,o;return __generator(this,(function(f){r=e.$hostElement$;a=y("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){R(e)}l=y("render",e.$cmpMeta$.$tagName$);{ee(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{s=r["s-p"];o=function(){return te(e)};if(s.length===0){o()}else{Promise.all(s).then(o);e.$flags$|=4;s.length=0}}return[2]}))}))};var ee=function(e,t,r){try{t=t.render&&t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{F(e,t)}}}}catch(t){we(t,e.$hostElement$)}return null};var te=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=y("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{ae(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{le(r)}{ae(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!i){ne()}}}else{{ae(a,"componentDidUpdate")}n()}{e.$onInstanceResolve$(r)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){je((function(){return X(e,false)}))}e.$flags$&=~(4|512)}};var re=e("f",(function(e){{var t=he(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){X(t,false)}return r}}));var ne=function(e){{le(f.documentElement)}je((function(){return K(o,"appload",{detail:{namespace:n}})}))};var ae=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){we(e)}}return undefined};var ie=function(e,t){return e&&e.then?e.then(t):t()};var le=function(e){return e.classList.add("hydrated")};var se=function(e,t){if(e!=null&&!E(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var oe=function(e,t){return he(e).$instanceValues$.get(t)};var fe=function(e,t,r,n){var a=he(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var s=a.$flags$;var o=a.$lazyInstance$;r=se(r,n.$members$[t][0]);if((!(s&8)||l===undefined)&&r!==l){a.$instanceValues$.set(t,r);if(o){if(n.$watchers$&&s&128){var f=n.$watchers$[t];if(f){f.map((function(e){try{o[e](r,l,t)}catch(e){we(e,i)}}))}}if((s&(2|16))===2){X(a,false)}}}};var ue=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return oe(this,n)},set:function(e){fe(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=he(this);return r.$onInstancePromise$.then((function(){var t;return(t=r.$lazyInstance$)[n].apply(t,e)}))}})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;u.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var $e=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,s,o,f;return __generator(this,(function(u){switch(u.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=_e(n);if(!i.then)return[3,2];e=w();return[4,i];case 1:i=u.sent();e();u.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}ue(i,n,2);i.isProxied=true}r=y("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){we(e)}{t.$flags$&=~8}{t.$flags$|=128}r();if(i.style){a=i.style;l=k(n);if(!Se.has(l)){s=y("registerStyles",n.$tagName$);_(l,a,!!(n.$flags$&1));s()}}u.label=3;case 3:o=t.$ancestorComponent$;f=function(){return X(t,true)};if(o&&o["s-rc"]){o["s-rc"].push(f)}else{f()}return[2]}}))}))};var ce=function(e){if((u.$flags$&1)===0){var t=he(e);var r=t.$cmpMeta$;var n=y("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){Q(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{$e(e,t,r)}}else{v(e,t,r.$listeners$)}n()}};var ve=function(e){if((u.$flags$&1)===0){var t=he(e);{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}}};var de=e("b",(function(e,t){if(t===void 0){t={}}var r=y();var n=[];var a=t.exclude||[];var i=o.customElements;var l=f.head;var s=l.querySelector("meta[charset]");var $=f.createElement("style");var c=[];var v;var d=true;Object.assign(u,t);u.$resourcesUrl$=new URL(t.resourcesUrl||"./",f.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var l=r.$tagName$;var s=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;ge(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(d){c.push(this)}else{u.jmp((function(){return ce(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;u.jmp((function(){return ve(e)}))};t.prototype.componentOnReady=function(){return he(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,ue(s,r,1))}}))}));{$.innerHTML=n+m;$.setAttribute("data-styles","");l.insertBefore($,s?s.nextSibling:l.firstChild)}d=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{u.jmp((function(){return v=setTimeout(ne,30)}))}}r()}));var pe=new WeakMap;var he=function(e){return pe.get(e)};var me=e("r",(function(e,t){return pe.set(t.$lazyInstance$=e,t)}));var ge=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onInstancePromise$=new Promise((function(e){return r.$onInstanceResolve$=e}))}{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}v(e,r,t.$listeners$);return pe.set(e,r)};var ye=function(e,t){return t in e};var we=function(e,t){return(0,console.error)(e,t)};var be=new Map;var _e=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=be.get(i);if(l){return l[a]}return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{be.set(i,e)}return e[a]}),we)};var Se=new Map;var Re=[];var ke=[];var xe=function(e,t){return function(r){e.push(r);if(!s){s=true;if(t&&u.$flags$&4){je(Le)}else{u.raf(Le)}}}};var Ne=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){we(e)}}e.length=0};var Le=function(){Ne(Re);{Ne(ke);if(s=Re.length>0){u.raf(Le)}}};var je=function(e){return $().then(e)};var Ee=xe(ke,true)}}}));
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function l(e){try{o(n.next(e))}catch(e){i(e)}}function s(e){try{o(n["throw"](e))}catch(e){i(e)}}function o(e){e.done?r(e.value):a(e.value).then(l,s)}o((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return o([e,t])}}function o(l){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:r.label++;return{value:l[1],done:false};case 5:r.label++;a=l[1];l=[0];continue;case 7:l=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1];i=l;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(l);break}if(i[2])r.ops.pop();r.trys.pop();continue}l=t.call(e,r)}catch(e){l=[6,e];a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return e.concat(i||Array.prototype.slice.call(t))};System.register([],(function(e,t){"use strict";return{execute:function(){var r=this;var n="ripple";var a;var i;var l=false;var s=false;var o=typeof window!=="undefined"?window:{};var f=o.document||{head:{}};var u={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var $=e("p",(function(e){return Promise.resolve(e)}));var c=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var v=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var l=p(e,n);var s=d(t,i);var o=h(n);u.ael(l,a,s,o);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return u.rel(l,a,s,o)}))}))}};var d=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){we(e)}}};var p=function(e,t){if(t&4)return f;if(t&8)return o;return e};var h=function(e){return(e&2)!==0};var m="{visibility:hidden}.hydrated{visibility:inherit}";var g="http://www.w3.org/1999/xlink";var y=function(e,t){if(t===void 0){t=""}{return function(){return}}};var w=function(e,t){{return function(){return}}};var b=new WeakMap;var _=function(e,t,r){var n=Se.get(e);if(c&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}Se.set(e,n)};var S=function(e,t,r,n){var a=N(t);var i=Se.get(a);e=e.nodeType===11?e:f;if(i){if(typeof i==="string"){e=e.head||e;var l=b.get(e);var s=void 0;if(!l){b.set(e,l=new Set)}if(!l.has(a)){{{s=f.createElement("style");s.innerHTML=i}e.insertBefore(s,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var R=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=y("attachStyles",t.$tagName$);var i=S(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var N=function(e,t){return"sc-"+e.$tagName$};var k={};var x="http://www.w3.org/2000/svg";var L="http://www.w3.org/1999/xhtml";var j=function(e){return e!=null};var E=function(e){e=typeof e;return e==="object"||e==="function"};var P=e("h",(function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var l=false;var s=false;var o=[];var f=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!E(a)){a=String(a)}if(l&&s){o[o.length-1].$text$+=a}else{o.push(l?C(null,a):a)}s=l}}};f(r);if(t){if(t.key){i=t.key}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}var $=C(e,null);$.$attrs$=t;if(o.length>0){$.$children$=o}{$.$key$=i}return $}));var C=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}return r};var O=e("H",{});var A=function(e){return e&&e.$tag$===O};var M=function(e,t,r,n,a,i){if(r!==n){var l=ye(e,t);var s=t.toLowerCase();if(t==="class"){var f=e.classList;var $=T(r);var c=T(n);f.remove.apply(f,$.filter((function(e){return e&&!c.includes(e)})));f.add.apply(f,c.filter((function(e){return e&&!$.includes(e)})))}else if(t==="style"){{for(var v in r){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!r||n[v]!==r[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(ye(o,s)){t=s.slice(2)}else{t=s[2]+t.slice(3)}if(r){u.rel(e,t,r,false)}if(n){u.ael(e,t,n,false)}}else{var d=E(n);if((l||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var p=n==null?"":n;if(t==="list"){l=false}else if(r==null||e[t]!=p){e[t]=p}}else{e[t]=n}}catch(e){}}var h=false;{if(s!==(s=s.replace(/^xlink\:?/,""))){t=s;h=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(h){e.removeAttributeNS(g,t)}else{e.removeAttribute(t)}}}else if((!l||i&4||a)&&!d){n=n===true?"":n;if(h){e.setAttributeNS(g,t,n)}else{e.setAttribute(t,n)}}}}};var I=/\s/;var T=function(e){return!e?[]:e.split(I)};var U=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||k;var l=t.$attrs$||k;{for(n in i){if(!(n in l)){M(a,n,i[n],undefined,r,t.$flags$)}}}for(n in l){M(a,n,i[n],l[n],r,t.$flags$)}};var q=function(e,t,r,n){var i=t.$children$[r];var s=0;var o;var u;if(i.$text$!==null){o=i.$elm$=f.createTextNode(i.$text$)}else{if(!l){l=i.$tag$==="svg"}o=i.$elm$=f.createElementNS(l?x:L,i.$tag$);if(l&&i.$tag$==="foreignObject"){l=false}{U(null,i,l)}if(j(a)&&o["s-si"]!==a){o.classList.add(o["s-si"]=a)}if(i.$children$){for(s=0;s<i.$children$.length;++s){u=q(e,i,s);if(u){o.appendChild(u)}}}{if(i.$tag$==="svg"){l=false}else if(o.tagName==="foreignObject"){l=true}}}return o};var z=function(e,t,r,n,a,l){var s=e;var o;if(s.shadowRoot&&s.tagName===i){s=s.shadowRoot}for(;a<=l;++a){if(n[a]){o=q(null,r,a);if(o){n[a].$elm$=o;s.insertBefore(o,t)}}}};var B=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;D(n);a.remove()}}};var H=function(e,t,r,n){var a=0;var i=0;var l=0;var s=0;var o=t.length-1;var f=t[0];var u=t[o];var $=n.length-1;var c=n[0];var v=n[$];var d;var p;while(a<=o&&i<=$){if(f==null){f=t[++a]}else if(u==null){u=t[--o]}else if(c==null){c=n[++i]}else if(v==null){v=n[--$]}else if(V(f,c)){W(f,c);f=t[++a];c=n[++i]}else if(V(u,v)){W(u,v);u=t[--o];v=n[--$]}else if(V(f,v)){W(f,v);e.insertBefore(f.$elm$,u.$elm$.nextSibling);f=t[++a];v=n[--$]}else if(V(u,c)){W(u,c);e.insertBefore(u.$elm$,f.$elm$);u=t[--o];c=n[++i]}else{l=-1;{for(s=a;s<=o;++s){if(t[s]&&t[s].$key$!==null&&t[s].$key$===c.$key$){l=s;break}}}if(l>=0){p=t[l];if(p.$tag$!==c.$tag$){d=q(t&&t[i],r,l)}else{W(p,c);t[l]=undefined;d=p.$elm$}c=n[++i]}else{d=q(t&&t[i],r,i);c=n[++i]}if(d){{f.$elm$.parentNode.insertBefore(d,f.$elm$)}}}}if(a>o){z(e,n[$+1]==null?null:n[$+1].$elm$,r,n,i,$)}else if(i>$){B(t,a,o)}};var V=function(e,t){if(e.$tag$===t.$tag$){{return e.$key$===t.$key$}}return false};var W=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var i=t.$tag$;var s=t.$text$;if(s===null){{l=i==="svg"?true:i==="foreignObject"?false:l}{if(i==="slot");else{U(e,t,l)}}if(n!==null&&a!==null){H(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}z(r,null,t,a,0,a.length-1)}else if(n!==null){B(n,0,n.length-1)}if(l&&i==="svg"){l=false}}else if(e.$text$!==s){r.data=s}};var D=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(D)}};var F=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var l=e.$vnode$||C(null,null);var s=A(t)?t:P(null,null,t);i=r.tagName;if(n.$attrsToReflect$){s.$attrs$=s.$attrs$||{};n.$attrsToReflect$.map((function(e){var t=e[0],n=e[1];return s.$attrs$[n]=r[t]}))}s.$tag$=null;s.$flags$|=4;e.$vnode$=s;s.$elm$=l.$elm$=r.shadowRoot||r;{a=r["s-sc"]}W(l,s)};var G=e("g",(function(e){return he(e).$hostElement$}));var J=e("c",(function(e,t,r){var n=G(e);return{emit:function(e){return K(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var K=function(e,t,r){var n=u.ce(t,r);e.dispatchEvent(n);return n};var Q=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var X=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}Q(e,e.$ancestorComponent$);var r=function(){return Y(e,t)};return Ee(r)};var Y=function(e,t){var r=y("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return ae(n,t,r)}));e.$queuedListeners$=null}}{a=ae(n,"componentWillLoad")}}else{{a=ae(n,"componentWillUpdate")}}r();return ie(a,(function(){return Z(e,n,t)}))};var Z=function(e,t,n){return __awaiter(r,void 0,void 0,(function(){var r,a,i,l,s,o;return __generator(this,(function(f){r=e.$hostElement$;a=y("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(n){R(e)}l=y("render",e.$cmpMeta$.$tagName$);{ee(e,t)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}l();a();{s=r["s-p"];o=function(){return te(e)};if(s.length===0){o()}else{Promise.all(s).then(o);e.$flags$|=4;s.length=0}}return[2]}))}))};var ee=function(e,t,r){try{t=t.render&&t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{F(e,t)}}}}catch(t){we(t,e.$hostElement$)}return null};var te=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=y("postUpdate",t);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{ae(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{le(r)}{ae(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!i){ne()}}}else{{ae(a,"componentDidUpdate")}n()}{e.$onInstanceResolve$(r)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){je((function(){return X(e,false)}))}e.$flags$&=~(4|512)}};var re=e("f",(function(e){{var t=he(e);var r=t.$hostElement$.isConnected;if(r&&(t.$flags$&(2|16))===2){X(t,false)}return r}}));var ne=function(e){{le(f.documentElement)}je((function(){return K(o,"appload",{detail:{namespace:n}})}))};var ae=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){we(e)}}return undefined};var ie=function(e,t){return e&&e.then?e.then(t):t()};var le=function(e){return e.classList.add("hydrated")};var se=function(e,t){if(e!=null&&!E(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var oe=function(e,t){return he(e).$instanceValues$.get(t)};var fe=function(e,t,r,n){var a=he(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(t);var s=a.$flags$;var o=a.$lazyInstance$;r=se(r,n.$members$[t][0]);var f=Number.isNaN(l)&&Number.isNaN(r);var u=r!==l&&!f;if((!(s&8)||l===undefined)&&u){a.$instanceValues$.set(t,r);if(o){if(n.$watchers$&&s&128){var $=n.$watchers$[t];if($){$.map((function(e){try{o[e](r,l,t)}catch(e){we(e,i)}}))}}if((s&(2|16))===2){X(a,false)}}}};var ue=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return oe(this,n)},set:function(e){fe(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=he(this);return r.$onInstancePromise$.then((function(){var t;return(t=r.$lazyInstance$)[n].apply(t,e)}))}})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;u.jmp((function(){var t=i.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}else if(a.hasOwnProperty(t)&&typeof n[t]==="number"&&n[t]==r){return}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a=n[1]||r;i.set(a,r);if(n[0]&512){t.$attrsToReflect$.push([r,a])}return a}))}}return e};var $e=function(e,t,n,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,l,s,o,f;return __generator(this,(function(u){switch(u.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;i=_e(n);if(!i.then)return[3,2];e=w();return[4,i];case 1:i=u.sent();e();u.label=2;case 2:if(!i.isProxied){{n.$watchers$=i.watchers}ue(i,n,2);i.isProxied=true}r=y("createInstance",n.$tagName$);{t.$flags$|=8}try{new i(t)}catch(e){we(e)}{t.$flags$&=~8}{t.$flags$|=128}r();if(i.style){a=i.style;l=N(n);if(!Se.has(l)){s=y("registerStyles",n.$tagName$);_(l,a,!!(n.$flags$&1));s()}}u.label=3;case 3:o=t.$ancestorComponent$;f=function(){return X(t,true)};if(o&&o["s-rc"]){o["s-rc"].push(f)}else{f()}return[2]}}))}))};var ce=function(e){if((u.$flags$&1)===0){var t=he(e);var r=t.$cmpMeta$;var n=y("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){Q(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{$e(e,t,r)}}else{v(e,t,r.$listeners$)}n()}};var ve=function(e){if((u.$flags$&1)===0){var t=he(e);{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}}};var de=e("b",(function(e,t){if(t===void 0){t={}}var r=y();var n=[];var a=t.exclude||[];var i=o.customElements;var l=f.head;var s=l.querySelector("meta[charset]");var $=f.createElement("style");var c=[];var v;var d=true;Object.assign(u,t);u.$resourcesUrl$=new URL(t.resourcesUrl||"./",f.baseURI).href;e.map((function(e){e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$attrsToReflect$=[]}{r.$watchers$={}}var l=r.$tagName$;var s=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;ge(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(d){c.push(this)}else{u.jmp((function(){return ce(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;u.jmp((function(){return ve(e)}))};t.prototype.componentOnReady=function(){return he(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){n.push(l);i.define(l,ue(s,r,1))}}))}));{$.innerHTML=n+m;$.setAttribute("data-styles","");l.insertBefore($,s?s.nextSibling:l.firstChild)}d=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{u.jmp((function(){return v=setTimeout(ne,30)}))}}r()}));var pe=new WeakMap;var he=function(e){return pe.get(e)};var me=e("r",(function(e,t){return pe.set(t.$lazyInstance$=e,t)}));var ge=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onInstancePromise$=new Promise((function(e){return r.$onInstanceResolve$=e}))}{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}v(e,r,t.$listeners$);return pe.set(e,r)};var ye=function(e,t){return t in e};var we=function(e,t){return(0,console.error)(e,t)};var be=new Map;var _e=function(e,r,n){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=be.get(i);if(l){return l[a]}return t.import("./".concat(i,".entry.js").concat("")).then((function(e){{be.set(i,e)}return e[a]}),we)};var Se=new Map;var Re=[];var Ne=[];var ke=function(e,t){return function(r){e.push(r);if(!s){s=true;if(t&&u.$flags$&4){je(Le)}else{u.raf(Le)}}}};var xe=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){we(e)}}e.length=0};var Le=function(){xe(Re);{xe(Ne);if(s=Re.length>0){u.raf(Le)}}};var je=function(e){return $().then(e)};var Ee=ke(Ne,true)}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as e,H as s,g as o,f as r}from"./p-c2abdcba.js";import{i as n,d as a,g as h,l,q as p}from"./p-70d0e993.js";const d=class{constructor(e){t(this,e),this.wmOptionSelected=i(this,"wmOptionSelected",7),this.wmKeyUpPressed=i(this,"wmKeyUpPressed",7),this.wmKeyDownPressed=i(this,"wmKeyDownPressed",7),this.wmEscKeyPressed=i(this,"wmEscKeyPressed",7),this.wmHomeKeyPressed=i(this,"wmHomeKeyPressed",7),this.wmEndKeyPressed=i(this,"wmEndKeyPressed",7),this.wmEnterKeyPressed=i(this,"wmEnterKeyPressed",7),this.wmLetterPressed=i(this,"wmLetterPressed",7),this.wmOptionBlurred=i(this,"wmOptionBlurred",7),this.subinfo=void 0,this.disabled=!1,this.selected=!1,this.focused=!1,this.searchTerm=""}get hostClasses(){let t=[];return this.subinfo&&t.push("hassubinfo"),this.parentSelectEl.multiple&&t.push("multi-option"),this.el.textContent.toLowerCase().includes(this.searchTerm)||t.push("filtered-out"),t.join(" ")}get parentSelectEl(){var t;return"WM-SELECT"!==(null===(t=this.el.parentElement)||void 0===t?void 0:t.nodeName)?this.el.getRootNode().host:this.el.parentElement}handleKeydown(t){switch(t.key){case"ArrowUp":t.preventDefault(),this.wmKeyUpPressed.emit(this.el);break;case"ArrowDown":t.preventDefault(),this.wmKeyDownPressed.emit(this.el);break;case"Enter":t.preventDefault(),this.disabled||(this.el.click(),this.wmEnterKeyPressed.emit(this.el));break;case" ":t.preventDefault(),this.el.click();break;case"Escape":t.preventDefault(),t.stopPropagation(),this.wmEscKeyPressed.emit();break;case"Home":t.preventDefault(),this.wmHomeKeyPressed.emit();break;case"End":t.preventDefault(),this.wmEndKeyPressed.emit();break;default:this.wmLetterPressed.emit(t.key)}}handleSelection(){this.disabled||this.wmOptionSelected.emit(this.el)}handleBlur(t){this.wmOptionBlurred.emit({relatedTarget:t.relatedTarget})}syncAriaSelected(){this.selected?this.el.setAttribute("aria-selected","true"):this.el.removeAttribute("aria-selected")}syncAriaDisabled(){this.disabled?this.el.setAttribute("aria-disabled","true"):this.el.removeAttribute("aria-disabled")}focusHandler(t){t&&this.el.focus()}updateDisabledOnClick(){this.disabled&&this.el.onclick?(this.onClickFunc=this.el.onclick,this.el.onclick=null):!this.disabled&&this.onClickFunc&&(this.el.onclick=this.onClickFunc)}handleSearch(t){if(this.searchTerm=t.detail.searchTerm.toLowerCase(),this.searchTerm){const t=new RegExp(`${this.searchTerm}`,"gi"),i=this.el.textContent.replace(t,(t=>`<strong>${t}</strong>`));this.textEl.innerHTML=i}else this.textEl.innerHTML=this.el.textContent}componentWillLoad(){this.syncAriaSelected(),this.syncAriaDisabled(),this.updateDisabledOnClick(),this.parentSelectEl.addEventListener("wmSelectSearchChanged",(t=>this.handleSearch(t)))}render(){return e(s,{role:"option",tabindex:this.focused?0:-1,class:this.hostClasses},e("div",{class:"option-wrapper "+(this.parentSelectEl.multiple?"checkbox":"")},e("span",{"aria-hidden":"true",ref:t=>this.textEl=t},this.el.textContent),e("span",{class:"sr-only"},this.el.textContent)),e("div",{class:"subinfo"},this.subinfo))}get el(){return o(this)}static get watchers(){return{selected:["syncAriaSelected"],disabled:["syncAriaDisabled","updateDisabledOnClick"],focused:["focusHandler"]}}};d.style=':host(:not(:last-child)),wm-option:not(:last-child){border-bottom:2px solid rgba(46, 27, 70, 0.05)}:host,wm-option{display:block;cursor:pointer;position:relative;padding:1.25rem;background:#fff;font-family:inherit;list-style:none;color:#4a4a4a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host:focus,:host.focus,wm-option:focus,wm-option.focus{outline:none;background:#f4f4f4}:host.icon,wm-option.icon{color:#575195}:host .sr-only,wm-option .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}.checkbox:before{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:"\\f131";display:inline;margin-right:0.25rem;color:#575195}:host([aria-selected=true]),wm-option[aria-selected=true]{background:rgba(46, 27, 70, 0.05);font-weight:500}:host([aria-selected=true]) .checkbox:before,wm-option[aria-selected=true] .checkbox:before{content:"\\f132"}:host([aria-disabled=true]),wm-option[aria-disabled=true]{font-style:italic;color:#6b6b6b;cursor:default}:host([aria-disabled=true]) .checkbox:before,wm-option[aria-disabled=true] .checkbox:before{color:#6b6b6b}:host(.multi-option),wm-option.multi-option{background:unset}:host(.hidden),wm-option.hidden,:host(.filtered-out),wm-option.filtered-out{display:none}:host(.duplicate.last),wm-option.duplicate.last{border-bottom:12px solid rgba(46, 27, 70, 0.05)}:host(.hassubinfo),wm-option.hassubinfo{display:-ms-flexbox;display:flex}:host(.hassubinfo) .option-wrapper,wm-option.hassubinfo .option-wrapper{-ms-flex:1;flex:1}:host(.hassubinfo) .subinfo,wm-option.hassubinfo .subinfo{-ms-flex:none;flex:none}.subinfo{font-style:italic}.option-wrapper{display:inline-block}::slotted{font-family:inherit}::slotted(i){font-size:0.875rem}::slotted(i):before{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;display:inline-block;margin-right:0.625rem;pointer-events:none}:host(:focus),wm-option:focus{outline:none;background:#f4f4f4}:host(:hover){background:#f4f4f4;outline:none}';const c=class{constructor(e){t(this,e),this.wmSelectDidLoad=i(this,"wmSelectDidLoad",7),this.wmSelectBlurred=i(this,"wmSelectBlurred",7),this.wmComponentBlurred=i(this,"wmComponentBlurred",7),this.wmSelectSearchChanged=i(this,"wmSelectSearchChanged",7),this.disabled=!1,this.invalid=!1,this.labelPosition="top",this.requiredField=!1,this.errorMessage="",this.multiple=!1,this.search=!1,this.placeholder=n.formatMessage({id:"select.multiPlaceholder",defaultMessage:"Make a selection",description:"Placeholder text. Use imperative"}),this.searchPlaceholder=n.formatMessage({id:"select.searchPlaceholder",defaultMessage:"Search",description:"Placeholder text. Use imperative"}),this.allSelectedMessage=n.formatMessage({id:"select.allSelected",defaultMessage:"All selected",description:"Text displayed when all options are selected"}),this.requiredMessage=n.formatMessage({id:"global.requiredField",defaultMessage:"required field"}),this.isTabbing=!1,this.isExpanded=!1,this.announcement="",this.keysSoFar="",this.searchIndex=0,this.keyClear=null,this.openUp=!1,this.overflowCount=0,this.displayedOptions=[],this.debouncedSearch=a((()=>{this.wmSelectSearchChanged.emit({searchTerm:this.searchTerm}),this.announce(this.filteredOptions.length?this.resultsFoundMessage:this.noResultsFoundMessage)}),150)}get childOptions(){return Array.from(this.el.querySelectorAll("wm-option"))}get duplicateOptions(){return Array.from(this.el.shadowRoot.querySelectorAll("wm-option"))}get allOptionEls(){return this.duplicateOptions.concat(this.childOptions)}get visibleOptionEls(){return this.allOptionEls.filter((t=>!t.classList.contains("hidden")&&!t.classList.contains("filtered-out")))}get searchTerm(){return this.searchFieldEl?this.searchFieldEl.value:""}get filteredOptions(){return this.childOptions.filter((t=>{var i;return null===(i=t.textContent)||void 0===i?void 0:i.toLowerCase().includes(this.searchTerm.toLowerCase())}))}get selectedOptions(){return Array.from(this.el.querySelectorAll("wm-option")).filter((t=>t.selected))}get allSelected(){return this.childOptions.filter((t=>t.selected)).length===this.childOptions.length}get resultsFoundMessage(){return n.formatMessage({id:"select.searchResultsFound",defaultMessage:"{numResults, plural, one {1 option found} other {# options found}}",description:"The message read by the screen reader, indicating how many results a search returned"},{numResults:this.filteredOptions.length})}get noResultsFoundMessage(){return n.formatMessage({id:"select.noSearchResults",defaultMessage:"No results found. Please try your search again.",description:"The message displayed when no options pass the search filter"})}toggleTabbingOn(){this.isTabbing=!0}toggleTabbingOff(){this.isTabbing=!1}handleOptionSelection(t){this.multiple||this.childOptions.forEach((i=>i.selected=i===t.detail)),this.focusOption(t.detail),this.selectOption(t.detail),this.multiple||this.close()}handleChildEnter(){this.close()}handleChildUp(t){this.moveUp(t.detail)}handleChildDown(t){this.moveDown(t.detail)}moveToFirstOption(){this.focusOption(this.visibleOptionEls[0])}moveToLastOption(){this.focusOption(this.visibleOptionEls[this.visibleOptionEls.length-1])}closePopupOnEscape(){this.close()}handleOptionBlur(t){if(!this.isElOrChild(t.detail.relatedTarget)){const i=new CustomEvent("blur");i.relatedTarget=t.detail.relatedTarget,this.el.dispatchEvent(i)}}handleClick(t){this.isElOrChild(t.target)||this.close()}handleButtonBlur(t){this.isElOrChild(t.relatedTarget)&&t.stopPropagation()}handleSearchFieldBlur(t){this.searchFieldWrapperEl.classList.remove("focus"),this.isElOrChild(t.relatedTarget)&&t.stopPropagation()}handleKey(t){switch(t.key){case"ArrowDown":!1===this.isExpanded&&(t.preventDefault(),this.open("next"));break;case"ArrowUp":!1===this.isExpanded&&(t.preventDefault(),this.open("previous"))}}componentWillLoad(){this.label||console.error("For accessibility purposes, this component requires a label (even if `label-position` is set to `none`)."),this.el.focus=function(){this.disabled||this.shadowRoot.querySelector("button").focus()},this.uid=this.el.id?this.el.id:h(),document.body.classList.contains("wmcl-user-is-tabbing")&&this.toggleTabbingOn(),this.selectedOptions.length>0?this.selectedOptions.forEach((t=>{this.displayedOptions.push(t)})):this.multiple||this.selectOption(this.allOptionEls[0])}componentDidLoad(){if(this.wmSelectDidLoad.emit(),this.multiple&&this.allOptionEls.filter((t=>t.subinfo)).length>0)throw new Error("wm-select with the multiple prop cannot have subinfo options");if(this.multiple&&!this.placeholder)throw new Error("wm-select with the multiple prop needs to also use the placeholder prop.");this.dropdownEl.classList.add("hidden"),r(this.el),this.maxHeight&&(this.listboxEl.style.maxHeight=this.maxHeight),new MutationObserver((()=>this.handleSelectedMutation())).observe(this.el,{attributes:!0,attributeFilter:["selected"],subtree:!0}),this.multiple&&this.updateOptionVisibility(),this.setButtonText()}componentWillUpdate(){if(this.multiple){const t=this.visibleOptionEls.filter((t=>t.classList.contains("duplicate")));t.forEach(((i,e)=>{e===t.length-1?i.classList.add("last"):i.classList.remove("last")}))}}handleSelectedMutation(){const t=new CustomEvent("change");this.el.dispatchEvent(t)}moveUp(t){const i=this.visibleOptionEls[this.visibleOptionEls.indexOf(t)-1];i?(i.getBoundingClientRect().top<this.listboxEl.getBoundingClientRect().top&&this.scrollOptionToTop(i),this.focusOption(i)):this.search?this.searchFieldEl.focus():this.focusOption(this.visibleOptionEls[this.visibleOptionEls.length-1])}moveDown(t){const i=this.visibleOptionEls[this.visibleOptionEls.indexOf(t)+1];i?(i.getBoundingClientRect().bottom>this.listboxEl.getBoundingClientRect().bottom&&this.scrollOptionToBottom(i),this.focusOption(i)):this.focusOption(this.visibleOptionEls[0])}scrollOptionToTop(t){this.listboxEl.scrollTop=t.getBoundingClientRect().top-this.listboxEl.getBoundingClientRect().top+this.listboxEl.scrollTop}scrollOptionToBottom(t){this.listboxEl.scrollTop=t.getBoundingClientRect().bottom-this.listboxEl.getBoundingClientRect().top+this.listboxEl.scrollTop-this.listboxEl.offsetHeight}open(t){this.disabled||(this.openUp=l(this.el,this.dropdownEl,this.el.clientHeight,this.buttonEl.clientHeight),this.isExpanded=!0,this.dropdownEl.classList.remove("hidden"),window.requestAnimationFrame((()=>{switch(t){case"next":this.search?(this.searchFieldEl.focus(),this.listboxEl.scrollTop=0):this.moveDown(this.visibleOptionEls.filter((t=>t.selected)).slice(-1)[0]);break;case"previous":this.search?this.focusOption(this.visibleOptionEls[this.visibleOptionEls.length-1]):this.moveUp(this.visibleOptionEls.filter((t=>t.selected))[0]);break;default:this.search?(this.searchFieldEl.focus(),this.listboxEl.scrollTop=0):this.focusOption(this.selectedOptions.length>0?this.visibleOptionEls.filter((t=>t.selected))[0]:this.visibleOptionEls[0])}})))}close(t=!0){this.isExpanded&&(this.isExpanded=!1,this.allOptionEls.map((t=>t.focused=!1)),window.setTimeout((()=>{this.dropdownEl.classList.add("hidden"),this.multiple&&this.updateOptionVisibility(),this.search&&(this.searchFieldEl.value="",this.wmSelectSearchChanged.emit({searchTerm:this.searchTerm})),t&&this.el.focus()}),150))}updateOptionVisibility(){this.childOptions.forEach(((t,i)=>{const e=this.duplicateOptions[i];t.selected?(t.classList.add("hidden"),e.classList.remove("hidden")):(t.classList.remove("hidden"),e.classList.add("hidden"))}))}focusOption(t){this.allOptionEls.forEach((i=>i.focused=i===t)),t.focus()}selectOption(t){if(t.classList.contains("duplicate")){const i=this.findCorrespondingOption(t);i.selected=!i.selected,r(this.el)}else this.multiple?t.selected=!t.selected:this.allOptionEls.forEach((i=>i.selected=i===t));this.setButtonText()}findAndFocusOption(t){const i=t.detail.toUpperCase();if(!this.keysSoFar)for(var e=0;e<this.allOptionEls.length;e++)this.allOptionEls[e].focused&&(this.searchIndex=e);this.keysSoFar+=i,this.clearKeysSoFarAfterDelay();var s=this.findMatchInRange(this.allOptionEls,this.searchIndex+1,this.allOptionEls.length);s||(s=this.findMatchInRange(this.allOptionEls,0,this.searchIndex)),s&&this.focusOption(s)}clearKeysSoFarAfterDelay(){this.keyClear&&(window.clearTimeout(this.keyClear),this.keyClear=null),this.keyClear=window.setTimeout(function(){this.keysSoFar="",this.keyClear=null}.bind(this),500)}findMatchInRange(t,i,e){for(var s=i;s<e;s++){var o=t[s].textContent;if(o&&0===o.toUpperCase().indexOf(this.keysSoFar))return t[s]}return null}findCorrespondingOption(t){return t.classList.contains("duplicate")?this.childOptions[this.duplicateOptions.indexOf(t)]:this.duplicateOptions[this.childOptions.indexOf(t)]}isElOrChild(t){var i;return t===this.el||this.el.contains(t)||(null===(i=this.el.shadowRoot)||void 0===i?void 0:i.contains(t))}exposeErrors(){const t=h();this.errorContainer.id=`wm-errors-${t}`,this.buttonEl.setAttribute("aria-describedby",`wm-errors-${t}`)}renderErrorContainer(){return e("div",{id:"wm-errors",class:this.errorMessage?"error-message":"",ref:t=>this.errorContainer=t,"aria-live":"assertive","aria-atomic":"true"},this.errorMessage)}handleComponentBlur(t){this.el.contains(t.relatedTarget)||(this.close(!1),this.wmSelectBlurred.emit(),this.wmComponentBlurred.emit())}handleSearchFieldKeyDown(t){switch(t.key){case"ArrowDown":t.preventDefault(),this.visibleOptionEls.length&&this.focusOption(this.visibleOptionEls[0]);break;case"ArrowUp":t.preventDefault(),this.visibleOptionEls.length&&this.focusOption(this.visibleOptionEls[this.visibleOptionEls.length-1]);break;case"Escape":t.preventDefault(),this.close()}}setButtonText(){if(this.displayedOptions=this.childOptions.filter((t=>t.selected)).map((t=>t.classList.contains("hidden")?this.findCorrespondingOption(t):t)),this.multiple){const t=38,i=window.getComputedStyle(this.buttonEl),e=parseInt(i.getPropertyValue("padding-left").slice(0,-2)),s=parseInt(i.getPropertyValue("padding-right").slice(0,-2)),o=this.buttonEl.clientWidth-e-s-t;let r=this.displayedOptions.map((t=>t.shadowRoot.querySelector(".option-wrapper").clientWidth)),n=r.reduce(((t,i)=>t+i),0);for(this.overflowCount=0;n>o&&this.displayedOptions.length>1;)this.overflowCount++,n-=r[r.length-1],r.pop(),this.displayedOptions.pop()}}announce(t){this.liveRegionEl.textContent===t&&(t+=" "),this.announcement=t}renderButtonText(){return this.multiple&&this.displayedOptions.length<1?e("span",null,this.placeholder):this.multiple&&this.allSelected&&this.overflowCount>0?this.allSelectedMessage:this.displayedOptions.map(((t,i)=>e("span",null,i>0?", ":"",t.textContent)))}renderSubinfo(){if(!this.multiple&&this.selectedOptions.length>0&&this.selectedOptions[0].subinfo)return e("span",{class:"subinfo"},this.selectedOptions[0].subinfo)}renderOverflowCount(){if(this.overflowCount>0&&!this.allSelected)return e("span",null,e("span",{class:"overflow-counter"},"+",this.overflowCount))}renderSearchField(){return e("div",{class:"search"},e("div",{class:"searchfield-wrapper",ref:t=>this.searchFieldWrapperEl=t},e("div",{class:"icon"}),e("input",{ref:t=>this.searchFieldEl=t,class:"searchfield",role:"combobox","aria-controls":`list-${this.uid}`,"aria-expanded":this.isExpanded?"true":"false",onKeyDown:t=>this.handleSearchFieldKeyDown(t),onFocus:()=>this.searchFieldWrapperEl.classList.add("focus"),onBlur:t=>this.handleSearchFieldBlur(t),onInput:()=>this.debouncedSearch(),placeholder:this.searchPlaceholder})))}renderSearchFailedMessage(){return e("div",{class:"search-results-message"},this.noResultsFoundMessage)}renderDuplicateOptions(){return Array.from(this.el.children).map((t=>e("wm-option",{class:"duplicate",selected:t.selected},t.textContent)))}render(){const t={id:`selectbtn-${this.uid}`,disabled:this.disabled,"aria-controls":`list-${this.uid}`,"aria-labelledby":`label-${this.uid} selectbtn-${this.uid}`,"aria-describedby":"wm-errors","aria-expanded":this.isExpanded?"true":"false",onClick:()=>this.isExpanded?this.close():this.open()};return e(s,{onBlur:t=>this.handleComponentBlur(t)},e("div",{class:`wrapper ${p()} label-${this.labelPosition} ${this.invalid||this.errorMessage?"invalid":""}`},e("div",{class:"label-wrapper"},e("label",{class:"label",id:`label-${this.uid}`,htmlFor:`selectbtn-${this.uid}`},this.label,this.requiredField?e("span",{class:"required"},e("span",{class:"sr-only"},this.requiredMessage),e("span",{"aria-hidden":"true"},"*")):"")),e("div",{class:"button-wrapper"},e("button",Object.assign({},t,{class:"displayedoption "+(this.isTabbing?"user-is-tabbing":""),ref:t=>this.buttonEl=t,onBlur:t=>this.handleButtonBlur(t),onFocus:()=>this.close()}),e("span",{class:this.selectedOptions.length>0&&this.selectedOptions.filter((t=>t.subinfo)).length>0?"overflowcontrol hassubinfo":"overflowcontrol"},e("span",{class:"button-text"},this.renderButtonText()),this.renderSubinfo()),this.renderOverflowCount()),e("div",{class:`dropdown ${this.isExpanded?"open":""} ${this.openUp?"upwards":""}`,ref:t=>this.dropdownEl=t},this.search&&this.renderSearchField(),e("div",{id:`list-${this.uid}`,class:"options-wrapper",tabindex:-1,role:"listbox","aria-multiselectable":this.multiple?"true":null,"aria-labelledby":`label-${this.uid}`,ref:t=>this.listboxEl=t},this.search&&0===this.filteredOptions.length&&this.renderSearchFailedMessage(),this.multiple&&this.renderDuplicateOptions(),e("slot",null))),this.renderErrorContainer(),e("div",{id:"announcement","aria-live":"polite",class:"sr-only",ref:t=>this.liveRegionEl=t},this.announcement))))}get el(){return o(this)}static get watchers(){return{errorMessage:["exposeErrors"]}}};c.style=':host{position:relative;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:inherit}:host .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}.wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:0.875rem}.wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}.wrapper .label .required{color:#c0392b}.wrapper.label-left{-ms-flex-direction:row;flex-direction:row}.wrapper.label-left .label-wrapper{line-height:2.5rem}.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}.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}.wrapper.invalid .label{color:#c0392b}.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] .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}.wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}.wrapper .button-wrapper{position:relative;-ms-flex:1;flex:1;font-size:1.125rem;color:#575195;min-width:8.75rem}.wrapper .button-wrapper .displayedoption{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background:transparent;width:100%;border:solid 1px rgba(35, 35, 35, 0.6);padding:0 1.875rem 0 0.9375rem;cursor:pointer;height:2.5rem;line-height:normal;font-family:inherit;color:#575195;font-weight:400;font-size:0.875rem;text-transform:none;text-align:left}@media only screen and (max-width: 768px){.wrapper .button-wrapper .displayedoption{height:2.75rem}}.wrapper .button-wrapper .displayedoption:before{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:"\\f140";position:absolute;right:0.5625rem;pointer-events:none}.wrapper .button-wrapper .displayedoption:hover:not(:disabled):not(.-disabled):not(.-raised){background:transparent;text-decoration:none}.wrapper .button-wrapper .displayedoption:active{-ms-transform:scale(1, 1) !important;-webkit-transform:scale(1, 1) !important;transform:scale(1, 1) !important}.wrapper .button-wrapper .displayedoption:focus{outline:none}.wrapper .button-wrapper .displayedoption::-moz-focus-inner{border:0}.wrapper .button-wrapper .displayedoption.user-is-tabbing:focus{-webkit-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;-moz-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e}.wrapper .button-wrapper .displayedoption.user-is-tabbing:focus::-moz-focus-inner{border:0}.wrapper .button-wrapper .displayedoption .overflowcontrol{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;-ms-flex:1;flex:1}.wrapper .button-wrapper .displayedoption .overflowcontrol.hassubinfo{display:-ms-flexbox;display:flex}.wrapper .button-wrapper .displayedoption .overflowcontrol.hassubinfo .button-text{-ms-flex:1;flex:1;text-overflow:ellipsis;overflow:hidden;min-width:0}.wrapper .button-wrapper .displayedoption .overflowcontrol.hassubinfo .subinfo{-ms-flex:none;flex:none;font-style:italic}.wrapper .button-wrapper .displayedoption .overflow-counter{font-weight:bold;margin-left:0.5rem}.wrapper .button-wrapper>.displayedoption[disabled]{color:#6b6b6b;border-color:#8a8a8a;background:#f0f0f0;cursor:default}.wrapper .button-wrapper>.dropdown{-webkit-overflow-scrolling:touch;-webkit-box-shadow:0 4px 15px 0 rgba(0, 0, 0, 0.2);-moz-box-shadow:0 4px 15px 0 rgba(0, 0, 0, 0.2);box-shadow:0 4px 15px 0 rgba(0, 0, 0, 0.2);-ms-transition:transform 0.25s ease;-webkit-transition:transform 0.25s ease;-moz-transition:transform 0.25s ease;-webkit-transition:-webkit-transform 0.25s ease;transition:-webkit-transform 0.25s ease;transition:transform 0.25s ease;transition:transform 0.25s ease, -webkit-transform 0.25s ease;-ms-transform:scale(1, 0);-webkit-transform:scale(1, 0);-moz-transform:scale(1, 0);transform:scale(1, 0);-ms-transform-origin:center top;-webkit-transform-origin:center top;-moz-transform-origin:center top;transform-origin:center top;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;position:absolute;top:0;right:0;background:#fff;z-index:100;width:100%;font-size:0.875rem}.wrapper .button-wrapper>.dropdown.upwards{top:unset;bottom:calc(100% - 2.5rem);-ms-transform-origin:center bottom;-webkit-transform-origin:center bottom;-moz-transform-origin:center bottom;transform-origin:center bottom}.wrapper .button-wrapper>.dropdown.hidden{visibility:hidden}.wrapper .button-wrapper>.dropdown.open{-ms-transform:scale(1, 1);-webkit-transform:scale(1, 1);-moz-transform:scale(1, 1);transform:scale(1, 1)}.wrapper.invalid .button-wrapper .displayedoption{-webkit-box-shadow:0 0 0 1px #c0392b;-moz-box-shadow:0 0 0 1px #c0392b;box-shadow:0 0 0 1px #c0392b;border-color:#c0392b}.wrapper .error-message{color:#c0392b;font-size:0.875rem;margin-top:0.25rem;margin-bottom:0.25rem;display:block;top:100%;left:0;font-style:italic}.options-wrapper{max-height:12.5rem;overflow:auto}.search{-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:2px solid rgba(46, 27, 70, 0.05);padding:1.25rem}.search .searchfield-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:2.75rem;width:100%;padding:0 0.75rem;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;border:1px solid #4a4a4a}.search .searchfield-wrapper:focus,.search .searchfield-wrapper.focus{-webkit-box-shadow:0 0 0 1px #20cbd4;-moz-box-shadow:0 0 0 1px #20cbd4;box-shadow:0 0 0 1px #20cbd4;outline:none;border-color:#20cbd4}.search .searchfield{width:100%;border:none;outline:none;font-family:inherit;font-size:0.875rem;margin-left:0.25rem}.search .icon:before{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:"\\f349";color:#6b6b6b;font-size:0.875rem}.search-results-message{padding:1.25rem;color:#4a4a4a;font-size:0.875rem;font-style:italic}.rtl>.dropdown{-ms-transform-origin:left top;-webkit-transform-origin:left top;-moz-transform-origin:left top;transform-origin:left top;left:0;right:auto}.rtl>.dropdown .option{padding-left:3rem;padding-right:1.25rem}.rtl>.displayedoption{padding:0 0.9375rem 0 1.875rem;text-align:right}.rtl>.displayedoption:before{right:auto;left:0.5625rem}';export{d as wm_option,c as wm_select}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var n=0,r=t.length,i;n<r;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return e.concat(i||Array.prototype.slice.call(t))};System.register(["./p-a0c3ef16.system.js","./p-726c979a.system.js"],(function(e){"use strict";var t,a,n,r,i;return{setters:[function(e){t=e.r;a=e.c;n=e.h;r=e.g},function(e){i=e.d}],execute:function(){var s='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;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-ms-transition:none;-webkit-transition:none;-moz-transition:none;transition:none;border:none;color:#575195;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}nav .largescreen .paginationbtn svg *,nav .smallscreen .paginationbtn svg *{fill:#565397}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:#9f9f9f;pointer-events:none}nav .largescreen .paginationbtn[disabled] svg *,nav .smallscreen .paginationbtn[disabled] svg *{fill:#9f9f9f}nav .largescreen .previousbtn,nav .smallscreen .previousbtn{margin-right:0.625rem;width:auto !important}nav .largescreen .nextbtn,nav .smallscreen .nextbtn{margin-left:0.625rem;margin-right:0;width:auto !important}nav .largescreen .previousbtn,nav .largescreen .nextbtn,nav .smallscreen .previousbtn,nav .smallscreen .nextbtn{-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 .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]),nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]){-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]):before,nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]):before{position:absolute;content:"";height:auto;width:16px;top:0;bottom:0;left:12px;right:0;background:-webkit-gradient(linear, left top, right top, color-stop(66%, #3862e9), color-stop(0, transparent)) repeat-x;background:linear-gradient(90deg, #3862e9 66%, transparent 0) repeat-x;background-size:6px 2px;background-position:0 2em;border-radius:0;line-height:normal}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).previousbtn:focus:before,nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).previousbtn:focus:before{left:0 !important}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).nextbtn:focus:before,nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).nextbtn:focus:before{left:0 !important}nav .largescreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus,nav .smallscreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus{-webkit-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;-moz-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e}nav .largescreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus::-moz-focus-inner,nav .smallscreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus::-moz-focus-inner{border:0}nav .largescreen .user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).previousbtn:focus:before{width:56px !important}nav .largescreen .user-is-tabbing :focus:not(.-disabled):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 2px 2px 0 rgba(87, 81, 149, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.2);-moz-box-shadow:0 2px 2px 0 rgba(87, 81, 149, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.2);box-shadow:0 2px 2px 0 rgba(87, 81, 149, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.2);background-color:#575195;color:#fff}nav .largescreen .paginationbtn[aria-current=page]:hover{-webkit-box-shadow:0 4px 2px 0 rgba(87, 81, 149, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.2);-moz-box-shadow:0 4px 2px 0 rgba(87, 81, 149, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.2);box-shadow:0 4px 2px 0 rgba(87, 81, 149, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.2);background:#4e4986}.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 o=e("wm_pagination",function(){function e(e){var n=this;t(this,e);this.wmPaginationPageClicked=a(this,"wmPaginationPageClicked",7);this.pageClicked=a(this,"pageClicked",7);this.focusCurrentPage=a(this,"focusCurrentPage",7);this.currentPage=1;this.totalItems=undefined;this.itemsPerPage=undefined;this.value=1;this.isLargeViewport=window.innerWidth>600;this.isTabbing=false;this.srAnnouncement="";this.totalPages=0;this.debouncedResize=i((function(){n.isLargeViewport=window.innerWidth>600}),250);this.getMiddlePageNums=function(){var e;if(n.currentPage<4){e=[2,3,4]}else if(n.currentPage>n.totalPages-3){e=[n.totalPages-3,n.totalPages-2,n.totalPages-1]}else{e=[n.currentPage-1,n.currentPage,n.currentPage+1]}return e}}e.prototype.toggleTabbingOn=function(){this.isTabbing=true};e.prototype.toggleTabbingOff=function(){this.isTabbing=false};e.prototype.maintainFocusOnNumberChange=function(e){var t=this;window.requestAnimationFrame((function(){switch(e){case"previous":t.currentPage===1&&t.el.shadowRoot.querySelector("button#wm-1").focus();break;case"next":t.currentPage===t.totalPages&&t.el.shadowRoot.querySelector("button#wm-".concat(t.totalPages)).focus();break;case"prev-arrow":t.currentPage===1&&t.el.shadowRoot.querySelector("#next-arw").focus();break;case"next-arrow":t.currentPage===t.totalPages&&t.el.shadowRoot.querySelector("#previous-arw").focus();break;case"page":t.el.shadowRoot.querySelector("button#wm-".concat(t.currentPage)).focus();default:return}}))};e.prototype.handleResize=function(){this.debouncedResize()};e.prototype.calculateTotalPages=function(){this.totalPages=Math.ceil(this.totalItems/this.itemsPerPage)};e.prototype.componentWillLoad=function(){if(!this.totalItems||!this.itemsPerPage||!this.currentPage){throw new Error("Please check the required attributes")}this.calculateTotalPages();if(document.body.classList.contains("wmcl-user-is-tabbing")){this.toggleTabbingOn()}};e.prototype.updatePageDisplayed=function(e){this.value=e;this.wmPaginationPageClicked.emit();this.pageClicked.emit();this.srAnnouncement="Current page, ".concat(this.currentPage,". ").concat(this.getCurrentPagesInView())};e.prototype.displayShortPagination=function(){var e=[];for(var t=1;t<=this.totalPages;t++){e.push(this.displayPageNumber(t))}return e};e.prototype.displayLongPagination=function(){var e=this;var t=__spreadArray(__spreadArray([this.displayPageNumber(1),this.currentPage>3&&this.displayEllipsis()],this.getMiddlePageNums().map((function(t){return e.displayPageNumber(t)})),true),[this.currentPage+2<this.totalPages&&this.displayEllipsis(),this.displayPageNumber(this.totalPages)],false);return t};e.prototype.displayPageNumber=function(e){var t=this;return n("button",{id:"wm-".concat(e),class:"paginationbtn",onClick:function(){t.currentPage=e;t.updatePageDisplayed(e);t.maintainFocusOnNumberChange("page")},value:e,"aria-label":this.currentPage!==e?"Go to page ".concat(e):"","aria-current":this.currentPage===e?"page":undefined},e)};e.prototype.displayEllipsis=function(){return n("span",{class:"ellipsis"},"...")};e.prototype.getCurrentPagesInView=function(){var e=this.itemsPerPage*this.currentPage;var t=e-this.itemsPerPage+1;if(e>this.totalItems){e=this.totalItems}return"Viewing "+(t===e?"".concat(t):"".concat(t,"–").concat(e," of ").concat(this.totalItems))};e.prototype.renderLarge=function(){var e=this;return n("div",{class:"largescreen"},n("div",{class:"pageview"},this.getCurrentPagesInView()),n("div",{class:"pagebtncontainer ".concat(this.isTabbing?"user-is-tabbing":"")},n("button",{id:"previous",class:"paginationbtn previousbtn",onClick:function(){e.currentPage=e.currentPage-1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("previous")},disabled:this.currentPage===1,"aria-label":"Go to previous page","aria-controls":"status"},"Previous"),this.totalPages<6?this.displayShortPagination():this.displayLongPagination(),n("button",{id:"next",class:"paginationbtn nextbtn",onClick:function(){e.currentPage=e.currentPage+1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("next")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page","aria-controls":"status"},"Next")))};e.prototype.renderSmall=function(){var e=this;return n("div",{class:"smallscreen"},n("div",{class:"pagebtncontainer ".concat(this.isTabbing?"user-is-tabbing":"")},n("button",{id:"wm-1-arw",class:"paginationbtn",onClick:function(){e.currentPage=1;e.updatePageDisplayed(1);e.maintainFocusOnNumberChange("prev-arrow")},value:1,"aria-current":this.currentPage===1?"page":undefined,"aria-label":"Go to page 1","aria-controls":"status",disabled:this.currentPage===1},n("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("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"}))),n("button",{id:"previous-arw",class:"paginationbtn previousbtn",onClick:function(){e.currentPage-=1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("prev-arrow")},disabled:this.currentPage===1,"aria-label":"Go to previous page"},n("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6z"}))),"Page ",this.currentPage," of ",this.totalPages,n("button",{id:"next-arw",class:"paginationbtn nextbtn",onClick:function(){e.currentPage+=1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("next-arrow")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page"},n("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6z"}))),n("button",{id:"wm-".concat(this.totalPages,"-arw"),class:"paginationbtn",onClick:function(){e.currentPage=e.totalPages;e.updatePageDisplayed(e.totalPages);e.maintainFocusOnNumberChange("next-arrow")},value:this.totalPages,"aria-current":this.currentPage===this.totalPages?"page":undefined,"aria-label":"Go to last page, page ".concat(this.totalPages),"aria-controls":"status",disabled:this.currentPage===this.totalPages},n("svg",{width:"17",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("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"})))))};e.prototype.render=function(){return this.totalItems>this.itemsPerPage&&n("nav",{"aria-label":"Pagination Navigation. ".concat(this.getCurrentPagesInView(),". Current page, ").concat(this.currentPage,".")},this.isLargeViewport?this.renderLarge():this.renderSmall(),n("div",{id:"status",class:"sr-only","aria-live":"polite","aria-relevant":"text","aria-atomic":"true"},this.srAnnouncement))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{totalItems:["calculateTotalPages"],itemsPerPage:["calculateTotalPages"]}},enumerable:false,configurable:true});return e}());o.style=s}}}));
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var n=0,r=t.length,i;n<r;n++){if(i||!(n in t)){if(!i)i=Array.prototype.slice.call(t,0,n);i[n]=t[n]}}return e.concat(i||Array.prototype.slice.call(t))};System.register(["./p-726b9452.system.js","./p-db899686.system.js"],(function(e){"use strict";var t,a,n,r,i;return{setters:[function(e){t=e.r;a=e.c;n=e.h;r=e.g},function(e){i=e.d}],execute:function(){var s='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;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-ms-transition:none;-webkit-transition:none;-moz-transition:none;transition:none;border:none;color:#575195;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}nav .largescreen .paginationbtn svg *,nav .smallscreen .paginationbtn svg *{fill:#565397}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:#9f9f9f;pointer-events:none}nav .largescreen .paginationbtn[disabled] svg *,nav .smallscreen .paginationbtn[disabled] svg *{fill:#9f9f9f}nav .largescreen .previousbtn,nav .smallscreen .previousbtn{margin-right:0.625rem;width:auto !important}nav .largescreen .nextbtn,nav .smallscreen .nextbtn{margin-left:0.625rem;margin-right:0;width:auto !important}nav .largescreen .previousbtn,nav .largescreen .nextbtn,nav .smallscreen .previousbtn,nav .smallscreen .nextbtn{-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 .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]),nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]){-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]):before,nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]):before{position:absolute;content:"";height:auto;width:16px;top:0;bottom:0;left:12px;right:0;background:-webkit-gradient(linear, left top, right top, color-stop(66%, #3862e9), color-stop(0, transparent)) repeat-x;background:linear-gradient(90deg, #3862e9 66%, transparent 0) repeat-x;background-size:6px 2px;background-position:0 2em;border-radius:0;line-height:normal}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).previousbtn:focus:before,nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).previousbtn:focus:before{left:0 !important}nav .largescreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).nextbtn:focus:before,nav .smallscreen .pagebtncontainer.user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).nextbtn:focus:before{left:0 !important}nav .largescreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus,nav .smallscreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus{-webkit-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;-moz-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e}nav .largescreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus::-moz-focus-inner,nav .smallscreen .pagebtncontainer.user-is-tabbing [aria-current=page]:focus::-moz-focus-inner{border:0}nav .largescreen .user-is-tabbing :focus:not(.-disabled):not([aria-current=page]).previousbtn:focus:before{width:56px !important}nav .largescreen .user-is-tabbing :focus:not(.-disabled):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 2px 2px 0 rgba(87, 81, 149, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.2);-moz-box-shadow:0 2px 2px 0 rgba(87, 81, 149, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.2);box-shadow:0 2px 2px 0 rgba(87, 81, 149, 0.12), 0 2px 2px 0 rgba(0, 0, 0, 0.2);background-color:#575195;color:#fff}nav .largescreen .paginationbtn[aria-current=page]:hover{-webkit-box-shadow:0 4px 2px 0 rgba(87, 81, 149, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.2);-moz-box-shadow:0 4px 2px 0 rgba(87, 81, 149, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.2);box-shadow:0 4px 2px 0 rgba(87, 81, 149, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.2);background:#4e4986}.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 o=e("wm_pagination",function(){function e(e){var n=this;t(this,e);this.wmPaginationPageClicked=a(this,"wmPaginationPageClicked",7);this.pageClicked=a(this,"pageClicked",7);this.focusCurrentPage=a(this,"focusCurrentPage",7);this.currentPage=1;this.totalItems=undefined;this.itemsPerPage=undefined;this.value=1;this.isLargeViewport=window.innerWidth>600;this.isTabbing=false;this.srAnnouncement="";this.totalPages=0;this.debouncedResize=i((function(){n.isLargeViewport=window.innerWidth>600}),250);this.getMiddlePageNums=function(){var e;if(n.currentPage<4){e=[2,3,4]}else if(n.currentPage>n.totalPages-3){e=[n.totalPages-3,n.totalPages-2,n.totalPages-1]}else{e=[n.currentPage-1,n.currentPage,n.currentPage+1]}return e}}e.prototype.toggleTabbingOn=function(){this.isTabbing=true};e.prototype.toggleTabbingOff=function(){this.isTabbing=false};e.prototype.maintainFocusOnNumberChange=function(e){var t=this;window.requestAnimationFrame((function(){switch(e){case"previous":t.currentPage===1&&t.el.shadowRoot.querySelector("button#wm-1").focus();break;case"next":t.currentPage===t.totalPages&&t.el.shadowRoot.querySelector("button#wm-".concat(t.totalPages)).focus();break;case"prev-arrow":t.currentPage===1&&t.el.shadowRoot.querySelector("#next-arw").focus();break;case"next-arrow":t.currentPage===t.totalPages&&t.el.shadowRoot.querySelector("#previous-arw").focus();break;case"page":t.el.shadowRoot.querySelector("button#wm-".concat(t.currentPage)).focus();default:return}}))};e.prototype.handleResize=function(){this.debouncedResize()};e.prototype.calculateTotalPages=function(){this.totalPages=Math.ceil(this.totalItems/this.itemsPerPage)};e.prototype.componentWillLoad=function(){if(!this.totalItems||!this.itemsPerPage||!this.currentPage){throw new Error("Please check the required attributes")}this.calculateTotalPages();if(document.body.classList.contains("wmcl-user-is-tabbing")){this.toggleTabbingOn()}};e.prototype.updatePageDisplayed=function(e){this.value=e;this.wmPaginationPageClicked.emit();this.pageClicked.emit();this.srAnnouncement="Current page, ".concat(this.currentPage,". ").concat(this.getCurrentPagesInView())};e.prototype.displayShortPagination=function(){var e=[];for(var t=1;t<=this.totalPages;t++){e.push(this.displayPageNumber(t))}return e};e.prototype.displayLongPagination=function(){var e=this;var t=__spreadArray(__spreadArray([this.displayPageNumber(1),this.currentPage>3&&this.displayEllipsis()],this.getMiddlePageNums().map((function(t){return e.displayPageNumber(t)})),true),[this.currentPage+2<this.totalPages&&this.displayEllipsis(),this.displayPageNumber(this.totalPages)],false);return t};e.prototype.displayPageNumber=function(e){var t=this;return n("button",{id:"wm-".concat(e),class:"paginationbtn",onClick:function(){t.currentPage=e;t.updatePageDisplayed(e);t.maintainFocusOnNumberChange("page")},value:e,"aria-label":this.currentPage!==e?"Go to page ".concat(e):"","aria-current":this.currentPage===e?"page":undefined},e)};e.prototype.displayEllipsis=function(){return n("span",{class:"ellipsis"},"...")};e.prototype.getCurrentPagesInView=function(){var e=this.itemsPerPage*this.currentPage;var t=e-this.itemsPerPage+1;if(e>this.totalItems){e=this.totalItems}return"Viewing "+(t===e?"".concat(t):"".concat(t,"–").concat(e," of ").concat(this.totalItems))};e.prototype.renderLarge=function(){var e=this;return n("div",{class:"largescreen"},n("div",{class:"pageview"},this.getCurrentPagesInView()),n("div",{class:"pagebtncontainer ".concat(this.isTabbing?"user-is-tabbing":"")},n("button",{id:"previous",class:"paginationbtn previousbtn",onClick:function(){e.currentPage=e.currentPage-1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("previous")},disabled:this.currentPage===1,"aria-label":"Go to previous page","aria-controls":"status"},"Previous"),this.totalPages<6?this.displayShortPagination():this.displayLongPagination(),n("button",{id:"next",class:"paginationbtn nextbtn",onClick:function(){e.currentPage=e.currentPage+1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("next")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page","aria-controls":"status"},"Next")))};e.prototype.renderSmall=function(){var e=this;return n("div",{class:"smallscreen"},n("div",{class:"pagebtncontainer ".concat(this.isTabbing?"user-is-tabbing":"")},n("button",{id:"wm-1-arw",class:"paginationbtn",onClick:function(){e.currentPage=1;e.updatePageDisplayed(1);e.maintainFocusOnNumberChange("prev-arrow")},value:1,"aria-current":this.currentPage===1?"page":undefined,"aria-label":"Go to page 1","aria-controls":"status",disabled:this.currentPage===1},n("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("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"}))),n("button",{id:"previous-arw",class:"paginationbtn previousbtn",onClick:function(){e.currentPage-=1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("prev-arrow")},disabled:this.currentPage===1,"aria-label":"Go to previous page"},n("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6z"}))),"Page ",this.currentPage," of ",this.totalPages,n("button",{id:"next-arw",class:"paginationbtn nextbtn",onClick:function(){e.currentPage+=1;e.updatePageDisplayed(e.currentPage);e.maintainFocusOnNumberChange("next-arrow")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page"},n("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("path",{d:"M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6z"}))),n("button",{id:"wm-".concat(this.totalPages,"-arw"),class:"paginationbtn",onClick:function(){e.currentPage=e.totalPages;e.updatePageDisplayed(e.totalPages);e.maintainFocusOnNumberChange("next-arrow")},value:this.totalPages,"aria-current":this.currentPage===this.totalPages?"page":undefined,"aria-label":"Go to last page, page ".concat(this.totalPages),"aria-controls":"status",disabled:this.currentPage===this.totalPages},n("svg",{width:"17",height:"12",xmlns:"http://www.w3.org/2000/svg"},n("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"})))))};e.prototype.render=function(){return this.totalItems>this.itemsPerPage&&n("nav",{"aria-label":"Pagination Navigation. ".concat(this.getCurrentPagesInView(),". Current page, ").concat(this.currentPage,".")},this.isLargeViewport?this.renderLarge():this.renderSmall(),n("div",{id:"status",class:"sr-only","aria-live":"polite","aria-relevant":"text","aria-atomic":"true"},this.srAnnouncement))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{totalItems:["calculateTotalPages"],itemsPerPage:["calculateTotalPages"]}},enumerable:false,configurable:true});return e}());o.style=s}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c as e,h as t,H as r,g as a}from"./p-c2abdcba.js";import{i as s,g as p,e as n}from"./p-70d0e993.js";const l=class{constructor(t){i(this,t),this.wmInputValueChanged=e(this,"wmInputValueChanged",7),this.labelPosition="top",this.value="",this.disabled=!1,this.placeholder="",this.requiredField=!1,this.type="text",this.step=1,this.announcement="",this.displayedErrorMessage="",this.uid="",this.previousBlurredValue="",this.requiredErrorMessage=s.formatMessage({id:"global.requiredError",defaultMessage:"This field is required."}),this.numberErrorMessage=s.formatMessage({id:"input.numberError",defaultMessage:"Please enter a valid number."})}get charCount(){return this.value.length}componentWillLoad(){this.uid=this.el.id?this.el.id:p(),this.el.focus=function(){this.disabled||this.shadowRoot.querySelector("input").focus()},this.label||console.error("wm-input requires the label property")}componentDidLoad(){this.value&&(this.inputEl.value=this.value,this.previousBlurredValue=this.inputEl.value)}handleErrorMessage(i){this.displayedErrorMessage=i}handleKeyDown(i){const e=i.ctrlKey||i.metaKey||i.altKey;/^.$/.test(i.key)&&!e&&this.characterLimit&&this.inputEl.value.length>=this.characterLimit&&this.announce(this.generateCharacterLimitWarning(this.charCount,this.characterLimit))}handleBlur(i){this.value!==this.previousBlurredValue&&this.wmInputValueChanged.emit({value:this.value}),this.previousBlurredValue=this.value,this.preventValidation&&n(i,this.preventValidation)||(this.displayedErrorMessage=this.validate()),this.inputWrapperEl.classList.remove("focus")}handleInput(i){this.value=i.target.value,this.characterLimit&&this.charCount>=this.characterLimit-5&&this.announce(this.generateCharacterLimitWarning(this.charCount,this.characterLimit))}handleFocus(){this.inputWrapperEl.classList.add("focus")}validate(){const i=[this.validateNumber.bind(this),this.validateRequired.bind(this)];return this.errorMessage?this.errorMessage:i.reduce(((i,e)=>i||e()),"")}validateRequired(){return this.requiredField&&""===this.value?this.requiredErrorMessage:""}validateNumber(){return"number"===this.type&&this.inputEl.validity.badInput?this.numberErrorMessage:""}announce(i){this.liveRegionEl.textContent===i&&(i+=" "),this.announcement=i}generateCharacterLimitWarning(i,e){const t=s.formatMessage({id:"global.charactersEntered",defaultMessage:"{x, number} of {y, number} characters entered.",description:"for screen readers"},{x:i,y:e}),r=s.formatMessage({id:"global.characterLimitReached",defaultMessage:"No additional characters will be entered.",description:"for screen readers"});return`${t}${i>=e?" "+r:""}`}generateCharacterLimitLabel(i){return s.formatMessage({id:"global.characterLimit",defaultMessage:"{limit, number} characters allowed.",description:"for screen readers"},{limit:i})}renderErrorMessage(){return this.errorMessage||this.displayedErrorMessage}render(){return t(r,{id:this.uid},t("div",{class:`wrapper label-${this.labelPosition} ${this.errorMessage||this.displayedErrorMessage?"invalid":""}`,ref:i=>this.inputWrapperEl=i},t("div",{class:"label-wrapper"},"none"!==this.labelPosition&&t("label",{htmlFor:`inputfield-${this.uid}`,class:"label"},this.label,this.requiredField&&t("span",{class:"required","aria-hidden":"true"},"*"))),t("div",{class:"inner-wrapper"},t("div",{class:"inputfield-wrapper"},t("input",{ref:i=>this.inputEl=i,id:`inputfield-${this.uid}`,disabled:this.disabled,"aria-label":`${this.label}${this.characterLimit?" "+this.generateCharacterLimitLabel(this.characterLimit):""}`,"aria-describedby":`info-${this.uid} error-${this.uid}`,onInput:i=>this.handleInput(i),onKeyDown:i=>this.handleKeyDown(i),onBlur:i=>this.handleBlur(i),onFocus:this.handleFocus.bind(this),placeholder:this.placeholder,autocomplete:"off",required:this.requiredField,maxLength:this.characterLimit||void 0,type:this.type,step:this.step,max:this.max,min:this.min}),this.characterLimit&&"number"==typeof this.characterLimit?t("div",{class:"character-count"},this.charCount,"/",this.characterLimit):""),this.info&&t("div",{id:`info-${this.uid}`,class:"info"},this.info),t("div",{id:`error-${this.uid}`,"aria-live":"assertive",class:"error-message","aria-atomic":"true"},this.renderErrorMessage()),t("div",{class:"sr-only","aria-live":"polite","aria-atomic":"true",ref:i=>this.liveRegionEl=i},this.announcement))))}get el(){return a(this)}static get watchers(){return{errorMessage:["handleErrorMessage"]}}};l.style=':host,wm-input{font-family:inherit;width:100%}:host *,wm-input *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .wrapper,wm-input .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,wm-input .wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required,wm-input .wrapper .label .required{color:#c0392b}:host .wrapper.label-left,wm-input .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper,wm-input .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .wrapper.label-left .label-wrapper .label,wm-input .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,wm-input .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,wm-input .wrapper.invalid .label{color:#c0392b}:host .wrapper.invalid .label:after,wm-input .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,[dir=RTL] wm-input .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label,wm-input .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper .inner-wrapper,wm-input .wrapper .inner-wrapper{width:100%}:host .wrapper .inputfield-wrapper,wm-input .wrapper .inputfield-wrapper{height:2.5rem;border:1px solid #4a4a4a;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;display:-ms-flexbox;display:flex}:host .wrapper .character-count,wm-input .wrapper .character-count{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:5rem;background-color:rgba(74, 74, 74, 0.05);font-size:0.875rem;font-weight:500;-ms-flex-item-align:stretch;align-self:stretch}:host .wrapper input,wm-input .wrapper input{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;border:none;font-family:inherit;font-size:0.875rem;height:100%;-ms-flex:1;flex:1;padding:0.75rem 1rem;width:100%}:host .wrapper input:disabled,wm-input .wrapper input:disabled{background-color:#f0f0f0;color:#737373}:host .wrapper input:focus,wm-input .wrapper input:focus{outline:none}:host .wrapper .info,wm-input .wrapper .info{font-style:italic;line-height:100%;margin:4px 0}:host .wrapper.invalid .inputfield-wrapper,wm-input .wrapper.invalid .inputfield-wrapper{-webkit-box-shadow:0 0 0 1px #c0392b;-moz-box-shadow:0 0 0 1px #c0392b;box-shadow:0 0 0 1px #c0392b;border-color:#c0392b}:host .wrapper.invalid .error-message,wm-input .wrapper.invalid .error-message{color:#c0392b;margin:4px 0;display:block;font-style:italic;line-height:100%}:host .wrapper:focus .inputfield-wrapper,:host .wrapper.focus .inputfield-wrapper,wm-input .wrapper:focus .inputfield-wrapper,wm-input .wrapper.focus .inputfield-wrapper{-webkit-box-shadow:0 0 0 1px #20cbd4;-moz-box-shadow:0 0 0 1px #20cbd4;box-shadow:0 0 0 1px #20cbd4;outline:none;border-color:#20cbd4}:host .sr-only,wm-input .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{l as wm_input}
|