@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.
Files changed (308) hide show
  1. package/README.md +3 -3
  2. package/dist/cjs/{chartFunctions-34fdd3ce.js → chartFunctions-0ea0888f.js} +420 -420
  3. package/dist/cjs/{functions-120449cf.js → functions-8d3ceccd.js} +1894 -450
  4. package/dist/cjs/{global-c1940f7b.js → global-39ada944.js} +62 -62
  5. package/dist/cjs/{http-service-494d81de.js → http-service-9e8c4dd5.js} +49 -49
  6. package/dist/cjs/{index-acad7ab3.js → index-df6a3611.js} +4 -1
  7. package/dist/cjs/{interfaces-a3338581.js → interfaces-30a74c1f.js} +29 -29
  8. package/dist/cjs/loader.cjs.js +4 -4
  9. package/dist/cjs/priv-chart-popover.cjs.entry.js +87 -87
  10. package/dist/cjs/priv-datepicker.cjs.entry.js +658 -658
  11. package/dist/cjs/priv-navigator-button.cjs.entry.js +19 -19
  12. package/dist/cjs/priv-navigator-item.cjs.entry.js +24 -24
  13. package/dist/cjs/ripple.cjs.js +4 -4
  14. package/dist/cjs/wm-action-menu_2.cjs.entry.js +336 -336
  15. package/dist/cjs/wm-button.cjs.entry.js +242 -242
  16. package/dist/cjs/wm-chart-slice.cjs.entry.js +14 -14
  17. package/dist/cjs/wm-chart.cjs.entry.js +111 -111
  18. package/dist/cjs/wm-datepicker.cjs.entry.js +266 -266
  19. package/dist/cjs/wm-input.cjs.entry.js +135 -135
  20. package/dist/cjs/wm-modal-footer.cjs.entry.js +34 -34
  21. package/dist/cjs/wm-modal-header.cjs.entry.js +37 -37
  22. package/dist/cjs/wm-modal.cjs.entry.js +164 -164
  23. package/dist/cjs/wm-navigation_3.cjs.entry.js +228 -228
  24. package/dist/cjs/wm-navigator.cjs.entry.js +269 -269
  25. package/dist/cjs/wm-network-uploader.cjs.entry.js +455 -455
  26. package/dist/cjs/wm-option_2.cjs.entry.js +717 -710
  27. package/dist/cjs/wm-pagination.cjs.entry.js +168 -168
  28. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +130 -130
  29. package/dist/cjs/wm-search.cjs.entry.js +233 -233
  30. package/dist/cjs/wm-snackbar.cjs.entry.js +171 -171
  31. package/dist/cjs/wm-tab-item_3.cjs.entry.js +297 -297
  32. package/dist/cjs/wm-tag-input.cjs.entry.js +580 -580
  33. package/dist/cjs/wm-timepicker.cjs.entry.js +384 -384
  34. package/dist/cjs/wm-toggletip.cjs.entry.js +125 -125
  35. package/dist/cjs/wm-uploader.cjs.entry.js +630 -632
  36. package/dist/cjs/wm-wrapper.cjs.entry.js +13 -13
  37. package/dist/collection/collection-manifest.json +1 -1
  38. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +258 -258
  39. package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +115 -115
  40. package/dist/collection/components/charts/wm-chart/wm-chart.js +328 -328
  41. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +195 -195
  42. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +88 -88
  43. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +111 -111
  44. package/dist/collection/components/wm-action-menu/wm-action-menu.js +448 -448
  45. package/dist/collection/components/wm-button/wm-button.js +504 -504
  46. package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +1024 -1024
  47. package/dist/collection/components/wm-datepicker/wm-datepicker.js +471 -471
  48. package/dist/collection/components/wm-input/wm-input.js +423 -423
  49. package/dist/collection/components/wm-menuitem/wm-menuitem.js +444 -444
  50. package/dist/collection/components/wm-modal/wm-modal-footer.js +136 -136
  51. package/dist/collection/components/wm-modal/wm-modal-header.js +87 -87
  52. package/dist/collection/components/wm-modal/wm-modal.js +461 -461
  53. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +162 -162
  54. package/dist/collection/components/wm-navigation/wm-navigation-item.js +121 -121
  55. package/dist/collection/components/wm-navigation/wm-navigation.js +218 -218
  56. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +97 -97
  57. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +114 -114
  58. package/dist/collection/components/wm-navigator/wm-navigator.js +468 -468
  59. package/dist/collection/components/wm-option/wm-option.css +13 -0
  60. package/dist/collection/components/wm-option/wm-option.js +427 -419
  61. package/dist/collection/components/wm-pagination/wm-pagination.js +368 -368
  62. package/dist/collection/components/wm-search/wm-search.js +480 -480
  63. package/dist/collection/components/wm-select/wm-select.css +5 -2
  64. package/dist/collection/components/wm-select/wm-select.js +978 -978
  65. package/dist/collection/components/wm-snackbar/wm-snackbar.js +297 -297
  66. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +216 -216
  67. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +330 -330
  68. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +104 -104
  69. package/dist/collection/components/wm-tag-input/wm-tag-input.js +810 -810
  70. package/dist/collection/components/wm-timepicker/wm-timepicker.js +583 -583
  71. package/dist/collection/components/wm-toggletip/wm-toggletip.js +241 -241
  72. package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.js +787 -787
  73. package/dist/collection/components/wm-uploader/wm-uploader.js +1072 -1077
  74. package/dist/collection/components/wm-wrapper/wm-wrapper.js +27 -27
  75. package/dist/collection/dev/scripts.js +20 -20
  76. package/dist/collection/global/__mocks__/functions.js +6 -6
  77. package/dist/collection/global/chartFunctions.js +421 -421
  78. package/dist/collection/global/functions.js +441 -441
  79. package/dist/collection/global/global.js +69 -69
  80. package/dist/collection/global/interfaces.js +49 -49
  81. package/dist/collection/global/services/__mocks__/http-service.js +130 -130
  82. package/dist/collection/global/services/http-service.js +50 -50
  83. package/dist/collection/lang/lang.js +5 -5
  84. package/dist/collection/lang/missing.js +43 -43
  85. package/dist/collection/lang/piglatin.js +93 -93
  86. package/dist/esm/{chartFunctions-20f05eb5.js → chartFunctions-6f90586d.js} +420 -420
  87. package/dist/esm/{functions-036af8dc.js → functions-11c0c4e2.js} +1894 -450
  88. package/dist/esm/{global-e98c740f.js → global-d36a84c5.js} +62 -62
  89. package/dist/esm/{http-service-3dc3b3e7.js → http-service-5d037e16.js} +49 -49
  90. package/dist/esm/{index-7603f98e.js → index-17c79cc6.js} +4 -1
  91. package/dist/esm/{interfaces-2b97fab2.js → interfaces-61c6305b.js} +29 -29
  92. package/dist/esm/loader.js +4 -4
  93. package/dist/esm/polyfills/core-js.js +0 -0
  94. package/dist/esm/polyfills/css-shim.js +1 -1
  95. package/dist/esm/polyfills/dom.js +0 -0
  96. package/dist/esm/polyfills/es5-html-element.js +0 -0
  97. package/dist/esm/polyfills/index.js +0 -0
  98. package/dist/esm/polyfills/system.js +0 -0
  99. package/dist/esm/priv-chart-popover.entry.js +87 -87
  100. package/dist/esm/priv-datepicker.entry.js +658 -658
  101. package/dist/esm/priv-navigator-button.entry.js +19 -19
  102. package/dist/esm/priv-navigator-item.entry.js +24 -24
  103. package/dist/esm/ripple.js +4 -4
  104. package/dist/esm/wm-action-menu_2.entry.js +336 -336
  105. package/dist/esm/wm-button.entry.js +242 -242
  106. package/dist/esm/wm-chart-slice.entry.js +14 -14
  107. package/dist/esm/wm-chart.entry.js +111 -111
  108. package/dist/esm/wm-datepicker.entry.js +266 -266
  109. package/dist/esm/wm-input.entry.js +135 -135
  110. package/dist/esm/wm-modal-footer.entry.js +34 -34
  111. package/dist/esm/wm-modal-header.entry.js +37 -37
  112. package/dist/esm/wm-modal.entry.js +164 -164
  113. package/dist/esm/wm-navigation_3.entry.js +228 -228
  114. package/dist/esm/wm-navigator.entry.js +269 -269
  115. package/dist/esm/wm-network-uploader.entry.js +455 -455
  116. package/dist/esm/wm-option_2.entry.js +717 -710
  117. package/dist/esm/wm-pagination.entry.js +168 -168
  118. package/dist/esm/wm-progress-indicator_3.entry.js +130 -130
  119. package/dist/esm/wm-search.entry.js +233 -233
  120. package/dist/esm/wm-snackbar.entry.js +171 -171
  121. package/dist/esm/wm-tab-item_3.entry.js +297 -297
  122. package/dist/esm/wm-tag-input.entry.js +580 -580
  123. package/dist/esm/wm-timepicker.entry.js +384 -384
  124. package/dist/esm/wm-toggletip.entry.js +125 -125
  125. package/dist/esm/wm-uploader.entry.js +630 -632
  126. package/dist/esm/wm-wrapper.entry.js +13 -13
  127. package/dist/esm-es5/{chartFunctions-20f05eb5.js → chartFunctions-6f90586d.js} +1 -1
  128. package/dist/esm-es5/functions-11c0c4e2.js +1 -0
  129. package/dist/esm-es5/{global-e98c740f.js → global-d36a84c5.js} +1 -1
  130. package/dist/esm-es5/{http-service-3dc3b3e7.js → http-service-5d037e16.js} +0 -0
  131. package/dist/esm-es5/{index-7603f98e.js → index-17c79cc6.js} +1 -1
  132. package/dist/esm-es5/{interfaces-2b97fab2.js → interfaces-61c6305b.js} +0 -0
  133. package/dist/esm-es5/loader.js +1 -1
  134. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  135. package/dist/esm-es5/priv-datepicker.entry.js +1 -1
  136. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  137. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  138. package/dist/esm-es5/ripple.js +1 -1
  139. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  140. package/dist/esm-es5/wm-button.entry.js +1 -1
  141. package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
  142. package/dist/esm-es5/wm-chart.entry.js +1 -1
  143. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  144. package/dist/esm-es5/wm-input.entry.js +1 -1
  145. package/dist/esm-es5/wm-modal-footer.entry.js +1 -1
  146. package/dist/esm-es5/wm-modal-header.entry.js +1 -1
  147. package/dist/esm-es5/wm-modal.entry.js +1 -1
  148. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  149. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  150. package/dist/esm-es5/wm-network-uploader.entry.js +1 -1
  151. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  152. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  153. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  154. package/dist/esm-es5/wm-search.entry.js +1 -1
  155. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  156. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  157. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  158. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  159. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  160. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  161. package/dist/esm-es5/wm-wrapper.entry.js +1 -1
  162. package/dist/ripple/{p-1ccd994d.system.entry.js → p-06012eb7.system.entry.js} +1 -1
  163. package/dist/ripple/{p-06adbeb9.system.entry.js → p-07ebdcd4.system.entry.js} +1 -1
  164. package/dist/ripple/{p-f5df5903.system.js → p-08b7ec08.system.js} +0 -0
  165. package/dist/ripple/{p-7173b0a7.system.entry.js → p-08fc668c.system.entry.js} +1 -1
  166. package/dist/ripple/p-0e22a3a4.entry.js +1 -0
  167. package/dist/ripple/p-262c75ff.entry.js +1 -0
  168. package/dist/ripple/{p-2193190b.js → p-26f94f8f.js} +1 -1
  169. package/dist/ripple/{p-90ed3268.system.entry.js → p-27253ed2.system.entry.js} +1 -1
  170. package/dist/ripple/{p-0556279c.system.entry.js → p-2af0b657.system.entry.js} +1 -1
  171. package/dist/ripple/p-2e5cb321.entry.js +1 -0
  172. package/dist/ripple/{p-9d02957d.system.js → p-313b6073.system.js} +0 -0
  173. package/dist/ripple/{p-6bf5cbf4.system.entry.js → p-3e875e87.system.entry.js} +1 -1
  174. package/dist/ripple/p-4073ac6a.entry.js +1 -0
  175. package/dist/ripple/p-410687ea.entry.js +1 -0
  176. package/dist/ripple/p-41374812.system.js +1 -0
  177. package/dist/ripple/p-42dbd978.entry.js +1 -0
  178. package/dist/ripple/{p-752da0fb.system.entry.js → p-4439bdd1.system.entry.js} +1 -1
  179. package/dist/ripple/{p-bbcafbd6.system.entry.js → p-4650a83c.system.entry.js} +1 -1
  180. package/dist/ripple/{p-4ecd3430.js → p-490dafa4.js} +1 -1
  181. package/dist/ripple/p-4afa52d4.entry.js +1 -0
  182. package/dist/ripple/p-4f3f7b2b.entry.js +1 -0
  183. package/dist/ripple/p-5018f8ae.entry.js +1 -0
  184. package/dist/ripple/{p-cd3d74d1.system.entry.js → p-57a718f0.system.entry.js} +1 -1
  185. package/dist/ripple/p-57c94258.entry.js +1 -0
  186. package/dist/ripple/{p-1df2adee.system.entry.js → p-59678b70.system.entry.js} +1 -1
  187. package/dist/ripple/p-626d5017.entry.js +1 -0
  188. package/dist/ripple/{p-3a535823.system.js → p-6a8fd452.system.js} +1 -1
  189. package/dist/ripple/{p-c1443a0e.system.entry.js → p-6ffdab0d.system.entry.js} +1 -1
  190. package/dist/ripple/p-70d0e993.js +1 -0
  191. package/dist/ripple/{p-a0c3ef16.system.js → p-726b9452.system.js} +1 -1
  192. package/dist/ripple/p-758501d7.entry.js +1 -0
  193. package/dist/ripple/{p-af3ce4fc.system.entry.js → p-7cb0035a.system.entry.js} +1 -1
  194. package/dist/ripple/p-80a00759.entry.js +1 -0
  195. package/dist/ripple/p-80b62707.entry.js +1 -0
  196. package/dist/ripple/{p-995ba16f.system.entry.js → p-84d0d2ff.system.entry.js} +1 -1
  197. package/dist/ripple/p-86b9bfcf.system.entry.js +1 -0
  198. package/dist/ripple/{p-43f1298b.js → p-888bec42.js} +0 -0
  199. package/dist/ripple/p-8a2cabf2.entry.js +1 -0
  200. package/dist/ripple/{p-62eac2d6.system.entry.js → p-8b54c589.system.entry.js} +1 -1
  201. package/dist/ripple/{p-7ef6a7cf.system.entry.js → p-910b6dd5.system.entry.js} +1 -1
  202. package/dist/ripple/p-962f51ff.entry.js +1 -0
  203. package/dist/ripple/p-97683ddc.entry.js +1 -0
  204. package/dist/ripple/p-9c60325b.entry.js +1 -0
  205. package/dist/ripple/{p-fd8070fb.js → p-a6d6eae7.js} +0 -0
  206. package/dist/ripple/p-b0536ddb.entry.js +1 -0
  207. package/dist/ripple/{p-d48c56c7.system.entry.js → p-b4837126.system.entry.js} +1 -1
  208. package/dist/ripple/{p-04d8b674.system.js → p-b5b7c71f.system.js} +1 -1
  209. package/dist/ripple/{p-8612829b.system.entry.js → p-b793bc6f.system.entry.js} +1 -1
  210. package/dist/ripple/p-c2abdcba.js +1 -0
  211. package/dist/ripple/{p-04e44b30.system.entry.js → p-c49ef079.system.entry.js} +1 -1
  212. package/dist/ripple/{p-895f5ec5.system.entry.js → p-c4c21c82.system.entry.js} +1 -1
  213. package/dist/ripple/p-c656fcf1.entry.js +1 -0
  214. package/dist/ripple/p-caef11cc.entry.js +1 -0
  215. package/dist/ripple/p-cb357a84.entry.js +1 -0
  216. package/dist/ripple/p-d2a11410.entry.js +1 -0
  217. package/dist/ripple/{p-49fd7ede.system.entry.js → p-d927de70.system.entry.js} +1 -1
  218. package/dist/ripple/{p-ae6cfbca.system.entry.js → p-db44eb6f.system.entry.js} +1 -1
  219. package/dist/ripple/p-db899686.system.js +1 -0
  220. package/dist/ripple/{p-f23b3986.system.entry.js → p-dc7e5609.system.entry.js} +1 -1
  221. package/dist/ripple/p-dfa80ed1.entry.js +1 -0
  222. package/dist/ripple/p-e012273a.entry.js +1 -0
  223. package/dist/ripple/p-e4cb8aad.entry.js +1 -0
  224. package/dist/ripple/{p-e4439bc3.system.entry.js → p-f0d3ceb1.system.entry.js} +1 -1
  225. package/dist/ripple/{p-3b3e847c.system.entry.js → p-f17076c4.system.entry.js} +1 -1
  226. package/dist/ripple/p-fa632547.entry.js +1 -0
  227. package/dist/ripple/{p-0e9ccc6f.system.entry.js → p-fe4c1194.system.entry.js} +1 -1
  228. package/dist/ripple/{p-ca383a43.system.entry.js → p-ffc34819.system.entry.js} +1 -1
  229. package/dist/ripple/ripple.esm.js +1 -1
  230. package/dist/ripple/ripple.js +1 -1
  231. package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +27 -27
  232. package/dist/types/components/charts/wm-chart/wm-chart-slice.d.ts +11 -11
  233. package/dist/types/components/charts/wm-chart/wm-chart.d.ts +36 -36
  234. package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +27 -27
  235. package/dist/types/components/charts/wm-progress-monitor/wm-progress-monitor.d.ts +17 -17
  236. package/dist/types/components/charts/wm-progress-monitor/wm-progress-slice.d.ts +10 -10
  237. package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +47 -47
  238. package/dist/types/components/wm-button/wm-button.d.ts +43 -43
  239. package/dist/types/components/wm-datepicker/priv-datepicker/priv-datepicker.d.ts +80 -80
  240. package/dist/types/components/wm-datepicker/wm-datepicker.d.ts +41 -41
  241. package/dist/types/components/wm-input/wm-input.d.ts +46 -46
  242. package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +34 -34
  243. package/dist/types/components/wm-modal/wm-modal-footer.d.ts +14 -14
  244. package/dist/types/components/wm-modal/wm-modal-header.d.ts +11 -11
  245. package/dist/types/components/wm-modal/wm-modal.d.ts +41 -41
  246. package/dist/types/components/wm-navigation/wm-navigation-hamburger.d.ts +21 -21
  247. package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +13 -13
  248. package/dist/types/components/wm-navigation/wm-navigation.d.ts +28 -28
  249. package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +10 -10
  250. package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +13 -13
  251. package/dist/types/components/wm-navigator/wm-navigator.d.ts +61 -61
  252. package/dist/types/components/wm-option/wm-option.d.ts +35 -35
  253. package/dist/types/components/wm-pagination/wm-pagination.d.ts +32 -32
  254. package/dist/types/components/wm-search/wm-search.d.ts +86 -86
  255. package/dist/types/components/wm-select/wm-select.d.ts +94 -93
  256. package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +35 -35
  257. package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +38 -38
  258. package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +53 -53
  259. package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +20 -20
  260. package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +92 -92
  261. package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +61 -61
  262. package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +27 -27
  263. package/dist/types/components/wm-uploader/wm-network-uploader/wm-network-uploader.d.ts +85 -85
  264. package/dist/types/components/wm-uploader/wm-uploader.d.ts +118 -119
  265. package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +7 -7
  266. package/dist/types/components.d.ts +26 -26
  267. package/dist/types/global/__mocks__/functions.d.ts +6 -6
  268. package/dist/types/global/chartFunctions.d.ts +29 -29
  269. package/dist/types/global/functions.d.ts +42 -42
  270. package/dist/types/global/global.d.ts +1 -1
  271. package/dist/types/global/interfaces.d.ts +44 -44
  272. package/dist/types/global/services/__mocks__/http-service.d.ts +6 -6
  273. package/dist/types/global/services/http-service.d.ts +4 -4
  274. package/dist/types/lang/lang.d.ts +5 -5
  275. package/package.json +47 -47
  276. package/dist/esm-es5/functions-036af8dc.js +0 -15
  277. package/dist/ripple/p-17ceb8c1.entry.js +0 -1
  278. package/dist/ripple/p-1887286e.entry.js +0 -1
  279. package/dist/ripple/p-1d795f42.entry.js +0 -1
  280. package/dist/ripple/p-2996bfe6.entry.js +0 -1
  281. package/dist/ripple/p-2f860b24.entry.js +0 -1
  282. package/dist/ripple/p-358bde27.entry.js +0 -1
  283. package/dist/ripple/p-3680b55d.entry.js +0 -1
  284. package/dist/ripple/p-3a1d6fc4.entry.js +0 -1
  285. package/dist/ripple/p-4d59fe86.entry.js +0 -1
  286. package/dist/ripple/p-6aa6a818.entry.js +0 -1
  287. package/dist/ripple/p-726c979a.system.js +0 -15
  288. package/dist/ripple/p-7ae1a630.entry.js +0 -1
  289. package/dist/ripple/p-7ecbf258.entry.js +0 -1
  290. package/dist/ripple/p-7fae0cc2.entry.js +0 -1
  291. package/dist/ripple/p-8de546e8.entry.js +0 -1
  292. package/dist/ripple/p-93dee724.entry.js +0 -1
  293. package/dist/ripple/p-97c2b06f.entry.js +0 -1
  294. package/dist/ripple/p-9ae81a59.system.js +0 -1
  295. package/dist/ripple/p-9c92c93f.entry.js +0 -1
  296. package/dist/ripple/p-9e09d7a1.entry.js +0 -1
  297. package/dist/ripple/p-a04ba6c8.entry.js +0 -1
  298. package/dist/ripple/p-a9e0ce88.entry.js +0 -1
  299. package/dist/ripple/p-b3c71506.js +0 -1
  300. package/dist/ripple/p-bee0b62d.entry.js +0 -1
  301. package/dist/ripple/p-da403a48.system.entry.js +0 -1
  302. package/dist/ripple/p-de3367ee.js +0 -16
  303. package/dist/ripple/p-e083fca6.entry.js +0 -1
  304. package/dist/ripple/p-e524d462.entry.js +0 -1
  305. package/dist/ripple/p-e8d39f68.entry.js +0 -1
  306. package/dist/ripple/p-ed91be1a.entry.js +0 -1
  307. package/dist/ripple/p-fda61e7e.entry.js +0 -1
  308. package/dist/ripple/p-fe952112.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as a,g as n}from"./p-b3c71506.js";import{d as i}from"./p-de3367ee.js";let s=class{constructor(a){t(this,a),this.wmPaginationPageClicked=e(this,"wmPaginationPageClicked",7),this.pageClicked=e(this,"pageClicked",7),this.focusCurrentPage=e(this,"focusCurrentPage",7),this.currentPage=1,this.totalItems=void 0,this.itemsPerPage=void 0,this.value=1,this.isLargeViewport=window.innerWidth>600,this.isTabbing=!1,this.srAnnouncement="",this.totalPages=0,this.debouncedResize=i((()=>{this.isLargeViewport=window.innerWidth>600}),250),this.getMiddlePageNums=()=>{let t;return t=this.currentPage<4?[2,3,4]:this.currentPage>this.totalPages-3?[this.totalPages-3,this.totalPages-2,this.totalPages-1]:[this.currentPage-1,this.currentPage,this.currentPage+1],t}}toggleTabbingOn(){this.isTabbing=!0}toggleTabbingOff(){this.isTabbing=!1}maintainFocusOnNumberChange(t){window.requestAnimationFrame((()=>{switch(t){case"previous":1===this.currentPage&&this.el.shadowRoot.querySelector("button#wm-1").focus();break;case"next":this.currentPage===this.totalPages&&this.el.shadowRoot.querySelector(`button#wm-${this.totalPages}`).focus();break;case"prev-arrow":1===this.currentPage&&this.el.shadowRoot.querySelector("#next-arw").focus();break;case"next-arrow":this.currentPage===this.totalPages&&this.el.shadowRoot.querySelector("#previous-arw").focus();break;case"page":this.el.shadowRoot.querySelector(`button#wm-${this.currentPage}`).focus();default:return}}))}handleResize(){this.debouncedResize()}calculateTotalPages(){this.totalPages=Math.ceil(this.totalItems/this.itemsPerPage)}componentWillLoad(){if(!this.totalItems||!this.itemsPerPage||!this.currentPage)throw new Error("Please check the required attributes");this.calculateTotalPages(),document.body.classList.contains("wmcl-user-is-tabbing")&&this.toggleTabbingOn()}updatePageDisplayed(t){this.value=t,this.wmPaginationPageClicked.emit(),this.pageClicked.emit(),this.srAnnouncement=`Current page, ${this.currentPage}. ${this.getCurrentPagesInView()}`}displayShortPagination(){let t=[];for(let e=1;e<=this.totalPages;e++)t.push(this.displayPageNumber(e));return t}displayLongPagination(){return[this.displayPageNumber(1),this.currentPage>3&&this.displayEllipsis(),...this.getMiddlePageNums().map((t=>this.displayPageNumber(t))),this.currentPage+2<this.totalPages&&this.displayEllipsis(),this.displayPageNumber(this.totalPages)]}displayPageNumber(t){return a("button",{id:`wm-${t}`,class:"paginationbtn",onClick:()=>{this.currentPage=t,this.updatePageDisplayed(t),this.maintainFocusOnNumberChange("page")},value:t,"aria-label":this.currentPage!==t?`Go to page ${t}`:"","aria-current":this.currentPage===t?"page":void 0},t)}displayEllipsis(){return a("span",{class:"ellipsis"},"...")}getCurrentPagesInView(){let t=this.itemsPerPage*this.currentPage;const e=t-this.itemsPerPage+1;return t>this.totalItems&&(t=this.totalItems),"Viewing "+(e===t?`${e}`:`${e}–${t} of ${this.totalItems}`)}renderLarge(){return a("div",{class:"largescreen"},a("div",{class:"pageview"},this.getCurrentPagesInView()),a("div",{class:"pagebtncontainer "+(this.isTabbing?"user-is-tabbing":"")},a("button",{id:"previous",class:"paginationbtn previousbtn",onClick:()=>{this.currentPage=this.currentPage-1,this.updatePageDisplayed(this.currentPage),this.maintainFocusOnNumberChange("previous")},disabled:1===this.currentPage,"aria-label":"Go to previous page","aria-controls":"status"},"Previous"),this.totalPages<6?this.displayShortPagination():this.displayLongPagination(),a("button",{id:"next",class:"paginationbtn nextbtn",onClick:()=>{this.currentPage=this.currentPage+1,this.updatePageDisplayed(this.currentPage),this.maintainFocusOnNumberChange("next")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page","aria-controls":"status"},"Next")))}renderSmall(){return a("div",{class:"smallscreen"},a("div",{class:"pagebtncontainer "+(this.isTabbing?"user-is-tabbing":"")},a("button",{id:"wm-1-arw",class:"paginationbtn",onClick:()=>{this.currentPage=1,this.updatePageDisplayed(1),this.maintainFocusOnNumberChange("prev-arrow")},value:1,"aria-current":1===this.currentPage?"page":void 0,"aria-label":"Go to page 1","aria-controls":"status",disabled:1===this.currentPage},a("svg",{width:"16",height:"12",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6zM15.41 10.59L10.83 6l4.58-4.59L14 0 8 6l6 6z"}))),a("button",{id:"previous-arw",class:"paginationbtn previousbtn",onClick:()=>{this.currentPage-=1,this.updatePageDisplayed(this.currentPage),this.maintainFocusOnNumberChange("prev-arrow")},disabled:1===this.currentPage,"aria-label":"Go to previous page"},a("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M7.41 10.59L2.83 6l4.58-4.59L6 0 0 6l6 6z"}))),"Page ",this.currentPage," of ",this.totalPages,a("button",{id:"next-arw",class:"paginationbtn nextbtn",onClick:()=>{this.currentPage+=1,this.updatePageDisplayed(this.currentPage),this.maintainFocusOnNumberChange("next-arrow")},disabled:this.currentPage===this.totalPages,"aria-label":"Go to next page"},a("svg",{width:"8",height:"12",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6z"}))),a("button",{id:`wm-${this.totalPages}-arw`,class:"paginationbtn",onClick:()=>{this.currentPage=this.totalPages,this.updatePageDisplayed(this.totalPages),this.maintainFocusOnNumberChange("next-arrow")},value:this.totalPages,"aria-current":this.currentPage===this.totalPages?"page":void 0,"aria-label":`Go to last page, page ${this.totalPages}`,"aria-controls":"status",disabled:this.currentPage===this.totalPages},a("svg",{width:"17",height:"12",xmlns:"http://www.w3.org/2000/svg"},a("path",{d:"M.59 10.59L5.17 6 .59 1.41 2 0l6 6-6 6zM9.59 10.59L14.17 6 9.59 1.41 11 0l6 6-6 6z"})))))}render(){return this.totalItems>this.itemsPerPage&&a("nav",{"aria-label":`Pagination Navigation. ${this.getCurrentPagesInView()}. Current page, ${this.currentPage}.`},this.isLargeViewport?this.renderLarge():this.renderSmall(),a("div",{id:"status",class:"sr-only","aria-live":"polite","aria-relevant":"text","aria-atomic":"true"},this.srAnnouncement))}get el(){return n(this)}static get watchers(){return{totalItems:["calculateTotalPages"],itemsPerPage:["calculateTotalPages"]}}};s.style='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}';export{s as wm_pagination}
@@ -1 +0,0 @@
1
- import{r as t,c as e}from"./p-b3c71506.js";let s=class{constructor(s){t(this,s),this.wmChartSliceUpdated=e(this,"wmChartSliceUpdated",7)}componentDidLoad(){if(parseInt(this.amount)>0&&!this.legend)throw new Error("wm-chart-slice was provided an amount value without a legend. The legend is required unless the amount is 0 or left empty. For more information see https://components.watermarkinsights.com/chart")}componentDidUpdate(){this.wmChartSliceUpdated.emit()}};export{s as wm_chart_slice}
@@ -1 +0,0 @@
1
- import{r as e,c as r,h as t,H as i,g as o}from"./p-b3c71506.js";import{i as s,g as a,l as n,e as p}from"./p-de3367ee.js";let l=class{constructor(t){e(this,t),this.wmTimepickerNewValidValue=r(this,"wmTimepickerNewValidValue",7),this.wmTimepickerOnChange=r(this,"wmTimepickerOnChange",7),this.disabled=!1,this.value="",this.label="",this.labelPosition="top",this.requiredField=!1,this.isExpanded=!1,this.isTabbing=!1,this.twelveHrValid=/^(0?[0-9]|1[0-2])\s*:?\s*([0-5][0-9])?\s?(a|p|am|pm)?$/i,this.twentyFourHrValid=/^(0?[0-9]|1[0-9]|2[0-4])\s*:?\s*([0-5][0-9])?$/,this.uid="",this.timeFormat="hh:mm",this.times=[],this.openUp=!1,this.buttonAriaLabel=s.formatMessage({id:"time.selectTime",defaultMessage:"Select time",description:"Button text for screen readers."})}toggleTabbingOn(){this.isTabbing=!0}toggleTabbingOff(){this.isTabbing=!1}handleKey(e){switch(e.key){case"ArrowDown":e.preventDefault(),!1===this.isExpanded?this.open("next"):this.moveDown(this.selectedOption);break;case"ArrowUp":e.preventDefault(),!1===this.isExpanded?this.open("previous"):this.moveUp(this.selectedOption);break;case"Enter":case" ":this.isExpanded&&(e.preventDefault(),this.handleOptionClick(this.selectedOption.textContent));break;case"Escape":e.preventDefault(),this.isExpanded&&(e.stopPropagation(),this.close());break;case"Tab":this.isExpanded&&this.close(!1);break;case"Home":e.preventDefault(),this.isExpanded&&(this.focusOption(this.optionsList[0]),this.setDropdownPosition("first"));break;case"End":e.preventDefault(),this.isExpanded&&(this.focusOption(this.optionsList[this.optionsList.length-1]),this.setDropdownPosition("last"))}}updateErrorState(){this.displayedErrorMessage=this.errorMessage}componentWillLoad(){""===this.label&&console.error("You must include a label prop for the timepicker (for accessibility reasons), even if the label position is none."),this.el.focus=function(){this.disabled||this.shadowRoot.querySelector("input").focus()},this.uid=this.el.id?this.el.id:a(),this.updateErrorState(),this.timeFormat=s.formatMessage({id:"time.timeFormat",defaultMessage:"hh:mm"}),this.times=this.generateTimes()}componentDidLoad(){this.optionsEl.classList.add("hidden"),this.optionsList=Array.from(this.optionsEl.querySelectorAll("li")),this.value&&this.processInput()}isValidTime(e){return this.twelveHrValid.test(e)||this.twentyFourHrValid.test(e)}generateTimes(){let e=[],r=0;for(let t=0;r<1440;t++){const i=Math.floor(r/60).toString().padStart(2,"0"),o=(r%60).toString().padStart(2,"0");e[t]=`${i}:${o}`,r+=15}return e}findNearestTimeInterval(e){let r=this.formatToStorage(e);const t=parseInt(r.slice(3,5));if(t%15!=0){const i=parseInt(r.slice(0,2));let o=(15*Math.round(t/15)).toString().padStart(2,"0");if("60"===o){o="00";let e=i+1;24===e&&(e=0),r=r.replace(`${i.toString().padStart(2,"0")}:`,`${e.toString().padStart(2,"0")}:`)}parseInt(o)<8&&(o="00"),e=r.replace(`:${t.toString().padStart(2,"0")}`,`:${o}`)}return e}handleListSelection(e){e=this.findNearestTimeInterval(e);const r=this.optionsList.filter((r=>r.textContent==this.formatToDisplay(e)))[0];r&&this.focusOption(r)}setValue(e){const r=this.value;this.inputEl.value=this.formatToDisplay(e),this.value=this.formatToStorage(e),this.handleListSelection(e),r!==this.value&&this.wmTimepickerNewValidValue.emit({value:this.value}),this.wmTimepickerOnChange.emit({value:this.value,isValid:!!this.displayedErrorMessage})}processInput(){this.isValidTime(this.value)&&this.setValue(this.value);const e=this.determineErrorMessage();this.displayedErrorMessage=e}determineErrorMessage(){let e=this.errorMessage;const r=s.formatMessage({id:"time.requiredError",defaultMessage:"A time is required."}),t=s.formatMessage({id:"time.invalidTime",defaultMessage:"Please enter a valid time."}),i=this.isValidTime(this.value);return i&&!this.errorMessage?e=null:i||this.errorMessage||(e=this.requiredField&&!this.value?r:this.value?t:null),e}splitTime(e){const r=this.twelveHrValid.exec(e)||this.twentyFourHrValid.exec(e);let t=parseInt(r[1]),i=r[2]||"00",o=r?r[3]:void 0;return 0===t&&(null==o?void 0:o.toUpperCase().includes("P"))&&(o="AM"),[t,i,o]}formatToDisplay(e){let[r,t,i]=this.splitTime(e);return 12!==r||i||(i="PM"),0!==r&&24!==r||(r=12),r>12&&(r-=12,i="PM"),i=i&&i.toUpperCase().includes("P")?"PM":"AM",`${r.toString().padStart(2,"0")}:${t} ${i}`}formatToStorage(e){let[r,t,i]=this.splitTime(e);return 24===r&&(r=0),12===r&&i&&i.toUpperCase().includes("A")&&(r-=12),i&&i.toUpperCase().includes("P")&&12!==r&&(r+=12),`${r.toString().padStart(2,"0")}:${t}`}open(e){this.openUp=n(this.el,this.optionsEl),this.isExpanded=!0,this.optionsEl.classList.remove("hidden"),!this.errorMessage&&this.value||this.handleListSelection("09:00"),this.setDropdownPosition("center",this.selectedOption),this.focusOption(this.selectedOption),window.requestAnimationFrame((()=>{"next"===e?this.moveDown(this.selectedOption):"previous"===e&&this.moveUp(this.selectedOption)}))}close(e=!0){this.isExpanded=!1,window.setTimeout((()=>{this.optionsEl.classList.add("hidden"),e&&this.buttonEl.focus()}),150)}focusOption(e){this.optionsList.forEach((e=>{e.tabIndex=-1})),e.tabIndex=0,this.selectedOption=e,e.focus()}setDropdownPosition(e,r){switch(e){case"top":this.optionsEl.scrollTop=(null==r?void 0:r.previousElementSibling).getBoundingClientRect().top-this.optionsEl.getBoundingClientRect().top+this.optionsEl.scrollTop;break;case"bottom":this.optionsEl.scrollTop=(null==r?void 0:r.nextElementSibling).getBoundingClientRect().bottom-this.optionsEl.getBoundingClientRect().top+this.optionsEl.scrollTop-this.optionsEl.offsetHeight;break;case"center":this.optionsEl.scrollTop=(this.optionsList.findIndex((e=>e.textContent===(null==r?void 0:r.textContent)))-2)*r.offsetHeight;break;case"first":this.optionsEl.scrollTop=0;break;case"last":this.optionsEl.scrollTop=this.optionsList[0].clientHeight*this.optionsList.length}}moveUp(e){const r=e.previousElementSibling;r?(r.getBoundingClientRect().top<this.optionsEl.getBoundingClientRect().top&&this.setDropdownPosition("top",e),this.focusOption(r)):(this.focusOption(this.optionsList[this.optionsList.length-1]),this.setDropdownPosition("last"))}moveDown(e){const r=e.nextElementSibling;r?(r.getBoundingClientRect().bottom>this.optionsEl.getBoundingClientRect().bottom&&this.setDropdownPosition("bottom",e),this.focusOption(r)):(this.focusOption(this.optionsList[0]),this.setDropdownPosition("first"))}handleOptionClick(e){this.close(),this.setValue(e),this.processInput()}handleInput(){this.value=this.inputEl.value,this.isValidTime(this.value)&&(this.handleListSelection(this.findNearestTimeInterval(this.value)),this.setDropdownPosition("center",this.selectedOption))}handleInputBlur(e){this.preventValidation&&p(e,this.preventValidation)||this.processInput(),this.tpWrapper.classList.remove("focus")}renderOptions(){return this.times.map(((e,r)=>t("li",{id:`option${r+1}`,role:"option",onClick:()=>this.handleOptionClick(e)},this.formatToDisplay(e))))}render(){return t(i,{id:this.uid,invalid:this.displayedErrorMessage?"true":null,onBlur:()=>this.close(!1)},t("div",{class:`wrapper label-${this.labelPosition} ${this.displayedErrorMessage?"invalid":""}`,ref:e=>this.tpWrapper=e},t("div",{class:"label-wrapper"},"none"!==this.labelPosition&&t("label",{id:`label-${this.uid}`,class:"label",htmlFor:`time-input-${this.uid}`},this.label,this.requiredField&&t("span",{class:"required","aria-hidden":"true"},"*"))),t("div",null,t("div",{class:"inner-wrapper"},t("input",{id:`time-input-${this.uid}`,"aria-label":this.label,"aria-describedby":`error-${this.uid}`,ref:e=>this.inputEl=e,onBlur:e=>this.handleInputBlur(e),onInput:()=>this.handleInput(),disabled:this.disabled,required:this.requiredField,placeholder:this.timeFormat,autocomplete:"off",onFocus:()=>this.tpWrapper.classList.add("focus")}),t("button",{id:`btn-${this.uid}`,class:this.isTabbing?"user-is-tabbing":"",ref:e=>this.buttonEl=e,disabled:this.disabled,"aria-controls":`list-${this.uid}`,"aria-expanded":this.isExpanded?"true":"false","aria-label":this.buttonAriaLabel,"aria-describedby":`time-input-${this.uid}`,onClick:()=>this.isExpanded?this.close():this.open(),onMouseDown:e=>{e.preventDefault(),this.buttonEl.focus()}},t("span",{class:"clock"})),t("ul",{class:`options ${this.isExpanded?"open":""} ${this.openUp?"upwards":""}`,id:`list-${this.uid}`,role:"listbox","aria-labelledby":`label-${this.uid}`,"aria-describedby":this.isExpanded?"collapsed":null,tabindex:-1,ref:e=>this.optionsEl=e},this.renderOptions())),t("div",{id:`error-${this.uid}`,class:"error","aria-live":"assertive","aria-atomic":"true"},this.displayedErrorMessage))))}get el(){return o(this)}static get watchers(){return{errorMessage:["updateErrorState"]}}};l.style=':host,wm-timepicker{font-family:inherit}:host *,wm-timepicker *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .sr-only,wm-timepicker .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}:host .wrapper,wm-timepicker .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-timepicker .wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required,wm-timepicker .wrapper .label .required{color:#c0392b}:host .wrapper.label-left,wm-timepicker .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper,wm-timepicker .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .wrapper.label-left .label-wrapper .label,wm-timepicker .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-timepicker .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-timepicker .wrapper.invalid .label{color:#c0392b}:host .wrapper.invalid .label:after,wm-timepicker .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-timepicker .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label,wm-timepicker .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper .inner-wrapper,wm-timepicker .wrapper .inner-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:2.5rem;border:1px solid #4a4a4a;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;max-width:236px;-ms-flex-pack:justify;justify-content:space-between;position:relative}:host .wrapper .inner-wrapper input,wm-timepicker .wrapper .inner-wrapper input{-moz-border-top-left-radius:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-bottom-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border:none;font-size:0.875rem;padding:0.625rem 0.9375rem 0.5rem;min-width:0;height:100%;-ms-flex:1;flex:1;margin:0;font-family:inherit}:host .wrapper .inner-wrapper input:disabled,wm-timepicker .wrapper .inner-wrapper input:disabled{background-color:#f0f0f0;color:#737373}:host .wrapper .inner-wrapper input:focus,wm-timepicker .wrapper .inner-wrapper input:focus{outline:none}:host .wrapper .inner-wrapper button,wm-timepicker .wrapper .inner-wrapper button{all:unset;cursor:pointer;padding:0 0.375rem;height:2.375rem;background-color:#fff;border:none;-moz-border-top-right-radius:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-moz-border-bottom-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-moz-border-top-left-radius:0;-webkit-border-top-left-radius:0;border-top-left-radius:0;-moz-border-bottom-left-radius:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}:host .wrapper .inner-wrapper button .clock::after,wm-timepicker .wrapper .inner-wrapper button .clock::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:"\\f150";color:#575195;font-size:1.5rem;padding:0;line-height:2.5rem}:host .wrapper .inner-wrapper button:hover,wm-timepicker .wrapper .inner-wrapper button:hover{background:#e6e6e6;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}:host .wrapper .inner-wrapper button:disabled,wm-timepicker .wrapper .inner-wrapper button:disabled{background-color:rgba(74, 74, 74, 0.05);pointer-events:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}:host .wrapper .inner-wrapper button:disabled .clock::after,wm-timepicker .wrapper .inner-wrapper button:disabled .clock::after{color:#7b7b7b}[dir=RTL] :host .wrapper .inner-wrapper button,[dir=RTL] wm-timepicker .wrapper .inner-wrapper button{right:auto;left:0}:host .wrapper .inner-wrapper button:focus,wm-timepicker .wrapper .inner-wrapper button:focus{outline:none}:host .wrapper .inner-wrapper button.user-is-tabbing:focus,wm-timepicker .wrapper .inner-wrapper button.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}:host .wrapper .inner-wrapper button.user-is-tabbing:focus::-moz-focus-inner,wm-timepicker .wrapper .inner-wrapper button.user-is-tabbing:focus::-moz-focus-inner{border:0}:host .wrapper .inner-wrapper button::-moz-focus-inner,wm-timepicker .wrapper .inner-wrapper button::-moz-focus-inner{border:0}:host .wrapper .inner-wrapper .options,wm-timepicker .wrapper .inner-wrapper .options{margin:0;padding:0;-webkit-overflow-scrolling:touch;overflow:auto;max-height:19.0625rem;-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:2.5rem;right:0;background:#fff;z-index:100;width:100%;font-size:0.875rem}:host .wrapper .inner-wrapper .options.upwards,wm-timepicker .wrapper .inner-wrapper .options.upwards{top:unset;bottom:2.5rem;-ms-transform-origin:center bottom;-webkit-transform-origin:center bottom;-moz-transform-origin:center bottom;transform-origin:center bottom}:host .wrapper .inner-wrapper .options.hidden,wm-timepicker .wrapper .inner-wrapper .options.hidden{visibility:hidden}:host .wrapper .inner-wrapper .options [role=option],wm-timepicker .wrapper .inner-wrapper .options [role=option]{display:block;cursor:pointer;position:relative;padding:1.25rem;background:#fff;font-family:inherit;list-style:none;color:#4a4a4a}:host .wrapper .inner-wrapper .options [role=option]:hover,wm-timepicker .wrapper .inner-wrapper .options [role=option]:hover{background:#f4f4f4;outline:none}:host .wrapper .inner-wrapper .options [role=option]:focus,wm-timepicker .wrapper .inner-wrapper .options [role=option]:focus{outline:none;background:#f4f4f4}:host .wrapper .inner-wrapper .options [role=option]:not(:last-child),wm-timepicker .wrapper .inner-wrapper .options [role=option]:not(:last-child){border-bottom:2px solid rgba(46, 27, 70, 0.05)}:host .wrapper .inner-wrapper .options.open,wm-timepicker .wrapper .inner-wrapper .options.open{-ms-transform:scale(1, 1);-webkit-transform:scale(1, 1);-moz-transform:scale(1, 1);transform:scale(1, 1)}:host .wrapper.invalid .inner-wrapper,wm-timepicker .wrapper.invalid .inner-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,wm-timepicker .wrapper.invalid .error{color:#c0392b;margin-top:4px;margin-bottom:4px;display:block;top:100%;left:0;font-style:italic}:host .wrapper:focus .inner-wrapper,:host .wrapper.focus .inner-wrapper,wm-timepicker .wrapper:focus .inner-wrapper,wm-timepicker .wrapper.focus .inner-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}';export{l as wm_timepicker}
@@ -1 +0,0 @@
1
- import{r as t,c as o,h as i,H as e,g as r}from"./p-b3c71506.js";import{i as n}from"./p-de3367ee.js";let s=class{constructor(i){t(this,i),this.wmChartPopoverButtonTriggered=o(this,"wmChartPopoverButtonTriggered",7),this.wmProgressIndicatorButtonTriggered=o(this,"wmProgressIndicatorButtonTriggered",7),this.chartEl=this.el.parentElement.getRootNode().host,this.open=!1,this.coords={},this.popoverWidth=168,this.popoverClicked=!1}get eventToEmit(){return"WM-CHART"===this.chartEl.nodeName?this.wmChartPopoverButtonTriggered:this.wmProgressIndicatorButtonTriggered}handleClickOnDocument(){this.open=this.popoverClicked,this.popoverClicked=!1}handleClick(t){let o=!1;this.btnEl&&(o=t.target===this.btnEl||this.btnEl.contains(t.target)),this.popoverClicked=!o&&(t.target===this.el||this.el.contains(t.target))}handleButtonClick(){this.sliceRef&&(this.sliceRef.click(),this.eventToEmit.emit(this.sliceRef)),this.open=!1}renderLiveRegion(){if(this.liveRegion){this.liveRegion.innerHTML="";const t=document.createElement("div"),o=document.createElement("span");o.innerHTML=this.popoverTitle+" "||"",t.appendChild(o);const i=document.createElement("span");if(i.innerHTML=this.popoverText+" "||"",t.appendChild(i),this.buttonText){const o=document.createElement("span");o.innerHTML=this.buttonText+" "+n.formatMessage({id:"chart.infoButton",defaultMessage:"Button. Click for more information."}),t.appendChild(o)}this.liveRegion.appendChild(t)}}positionPopover(){this.el.style.top=this.coords.y+"px",this.el.style.left=window.innerWidth-this.coords.x>=this.popoverWidth+10?this.coords.x+"px":this.coords.x-this.popoverWidth+"px"}render(){return i(e,null,this.open?i("div",{"aria-hidden":"true",class:"popover"},i("h1",{class:"title"},this.popoverTitle),i("p",{class:"text"},this.popoverText),this.buttonText?i("button",{tabindex:"-1",focusable:"false",ref:t=>this.btnEl=t,class:"popover-button",onClick:()=>this.handleButtonClick()},i("svg",{class:"btn-icon",height:"9",width:"9"},i("path",{fill:"#575195",d:"M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z"})),i("span",{class:"button-text"},this.buttonText)):""):"",i("div",{ref:t=>this.liveRegion=t,class:"live-region sr-only","aria-live":"polite","aria-atomic":"true"},this.open&&this.renderLiveRegion()))}get el(){return r(this)}static get watchers(){return{coords:["positionPopover"]}}};s.style="priv-chart-popover{position:fixed;z-index:10;border-radius:0.1875rem;-webkit-box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);-moz-box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);background-color:#fff;font-size:0.875rem;text-align:left}priv-chart-popover.user-is-tabbing .button-text{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 3px;background-position:0 1em;border-radius:0;line-height:normal}.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}.popover{width:10.5rem;padding:0.625rem 0.9375rem;-webkit-box-sizing:border-box;box-sizing:border-box}.popover h1.title{font-size:1em;font-weight:500;margin:0;padding-top:0;padding-left:0;padding-bottom:0.25rem}.popover .text{margin:0;margin-bottom:0.5rem}.popover .popover-button{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;position:relative;display:inline-block;margin-left:1rem;padding-left:0;padding-right:0;height:auto;border:none;background:transparent;cursor:pointer;text-decoration:none;letter-spacing:0;text-transform:none;text-align:initial;font-size:0.875rem;font-weight:700;color:#575195;line-height:normal}.popover .popover-button .btn-icon{position:absolute;top:0.1875rem;left:-1rem}.popover .popover-button:focus{outline:none}.popover .popover-button::-moz-focus-inner{border:0;outline:none}.popover .popover-button:hover{text-decoration:none;background:none;color:#454077}.popover .popover-button:hover span{text-decoration:underline}";export{s as priv_chart_popover}
@@ -1 +0,0 @@
1
- import{r,c as s,g as t}from"./p-b3c71506.js";let e=class{constructor(t){r(this,t),this.wmWrapperLoaded=s(this,"wmWrapperLoaded",7)}componentDidLoad(){this.wmWrapperLoaded.emit()}render(){}get el(){return t(this)}};export{e as wm_wrapper}
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as i,H as r,g as a}from"./p-b3c71506.js";import{i as s,e as p,h as o,g as l}from"./p-de3367ee.js";let n=class{constructor(i){e(this,i),this.wmDatepickerNewValidValue=t(this,"wmDatepickerNewValidValue",7),this.value="",this.disabled=!1,this.dateFormat="US",this.errorMessage="",this.labelPosition="top",this.label="",this.requiredField=!1,this.displayError="",this.lastCommittedValue=this.value,this.parsableEntry=/^(\d{1}|\d{2}|\d{4})[\-\.\/]\d{1,2}[\-\.\/](\d{1}|\d{2}|\d{4})$/,this.isoEntry=/^\d\d\d\d[-]\d\d[-]\d\d$/,this.eightDigitsEntry=/^\d{8}$/,this.dateFormats={US:s.formatMessage({id:"date.formatUS",defaultMessage:"mm/dd/yyyy"}),INT:s.formatMessage({id:"date.formatINT",defaultMessage:"dd/mm/yyyy"}),ISO:s.formatMessage({id:"date.formatISO",defaultMessage:"yyyy/mm/dd"})}}handleTabbingOn(){this.dpWrapper&&this.dpWrapper.classList.add("user-is-tabbing")}handleTabbingOff(){this.dpWrapper&&this.dpWrapper.classList.remove("user-is-tabbing")}handleError(){this.errorMessage?this.generateError():(this.clearError(),this.processInput())}handleInput(e){this.value=e.target.value}handleBlur(e){this.preventValidation&&p(e,this.preventValidation)||this.processInput(),this.dpWrapper.classList.remove("focus")}focusHandler(){this.dpWrapper.classList.add("focus")}handlePopupBlurred(e){if(e.detail.relatedTarget!==this.el){const t=new CustomEvent("blur");t.relatedTarget=e.detail.relatedTarget,this.el.dispatchEvent(t)}}getActiveElement(){return o(document.activeElement)}handleCellTriggered(e){let t=e.detail,i=t.getAttribute("data-year")+"-"+t.getAttribute("data-month")+"-"+t.textContent;this.inputEl.value=this.reformatDate(this.dateFormat,i),this.processInput();const r=new CustomEvent("input");this.el.dispatchEvent(r)}processInput(e){const t=!e&&this.requiredField;let i=this.inputEl.value;if(this.eightDigitsEntry.test(this.inputEl.value)&&(this.inputEl.value=this.addSlashes(this.inputEl.value)),this.parsableEntry.test(this.inputEl.value)?(i=this.reformatDate("ISO",this.inputEl.value),this.inputEl.value=this.reformatDate(this.dateFormat,i),this.isValidDate(i)?this.errorMessage?this.generateError():this.clearError():this.inputEl.value.length&&this.generateError()):this.inputEl.value.length||t||this.errorMessage?this.generateError():this.inputEl.value.length||t||this.clearError(),i!==this.lastCommittedValue){this.value=i;const e=new CustomEvent("change");this.el.dispatchEvent(e),this.lastCommittedValue=this.value}this.isValidDate(i)&&i!==this.lastValidValue&&(this.wmDatepickerNewValidValue.emit(),this.lastValidValue=i)}reformatDate(e,t){if(!t)return"";if(!this.parsableEntry.test(t))return t;{let i=t.replace(/[\-\.]/gi,"/").split("/");switch(e){case"US":case this.dateFormats.US:return i[1].padStart(2,"0")+"/"+i[2].padStart(2,"0")+"/"+i[0].padStart(4,"20");case"INT":case this.dateFormats.INT:return i[2].padStart(2,"0")+"/"+i[1].padStart(2,"0")+"/"+i[0].padStart(4,"20");case"ISO":case this.dateFormats.ISO:if("US"===this.dateFormat||this.dateFormat===this.dateFormats.US)return i[2].padStart(4,"20")+"-"+i[0].padStart(2,"0")+"-"+i[1].padStart(2,"0");if("INT"===this.dateFormat||this.dateFormat===this.dateFormats.INT)return i[2].padStart(4,"20")+"-"+i[1].padStart(2,"0")+"-"+i[0].padStart(2,"0");if("ISO"===this.dateFormat||this.dateFormat===this.dateFormats.ISO)return i[0].padStart(4,"20")+"-"+i[1].padStart(2,"0")+"-"+i[2].padStart(2,"0");default:return i.join("/")}}}isValidDate(e){if(e&&this.isoEntry.test(e)){let t=e.split("-"),i=parseInt(t[2],10),r=parseInt(t[1],10),a=parseInt(t[0],10);if(a<1e3||a>3e3||0==r||r>12)return!1;let s=[31,28,31,30,31,30,31,31,30,31,30,31];return(a%400==0||a%100!=0&&a%4==0)&&(s[1]=29),i>0&&i<=s[r-1]}return!1}generateError(){const e=s.formatMessage({id:"date.requiredDateError",defaultMessage:"A date is required."}),t=s.formatMessage({id:"date.invalidDate",defaultMessage:"Please enter a valid date in the format {dateFormat, select, us {mm/dd/yyyy} int {dd/mm/yyyy} other {yyyy/mm/dd}}."},{dateFormat:this.dateFormat.toLowerCase()});this.errorMessage?this.displayError=this.errorMessage:this.inputEl.value.length?this.displayError=t:!this.inputEl.value.length&&this.requiredField&&(this.displayError=e)}clearError(){this.displayError=""}addSlashes(e){return"ISO"===this.dateFormat||this.dateFormat===this.dateFormats.ISO?e.substring(0,4)+"/"+e.substring(4,6)+"/"+e.substring(6):e.substring(0,2)+"/"+e.substring(2,4)+"/"+e.substring(4)}componentWillLoad(){this.el.focus=function(){this.disabled||this.shadowRoot.querySelector("input").focus()},""===this.label&&console.error("You must include a label prop for the datepicker input (for accessibility reasons), even if the label position is none."),this.errorMessage&&this.generateError(),this.uid=this.el.id?this.el.id:l(),this.value&&this.isValidDate(this.value)&&(this.lastValidValue=this.value)}componentDidLoad(){this.inputEl.value=this.reformatDate(this.dateFormat,this.value),this.processInput(!0)}render(){const e=s.formatMessage({id:"date.format",defaultMessage:"{dateFormat, select, us {mm/dd/yyyy} int {dd/mm/yyyy} other {yyyy/mm/dd}}"},{dateFormat:this.dateFormat.toLowerCase()});return i(r,{id:this.uid,"aria-busy":"false",class:this.displayError?"invalid":"",invalid:this.displayError?"true":null},i("div",{ref:e=>this.dpWrapper=e,class:`wrapper label-${this.labelPosition} ${this.displayError?"invalid":""}`},i("div",{class:"label-wrapper"},"none"!==this.labelPosition&&i("label",{id:`datepickerLabel-${this.uid}`,htmlFor:`date-input-${this.uid}`,class:"label",title:`${this.label} (${e})`},this.label,this.requiredField&&i("span",{"aria-hidden":"true",class:"required"},"*"))),i("div",null,i("div",{class:"inner-wrapper"},i("input",{disabled:this.disabled,type:"text",id:`date-input-${this.uid}`,class:"date-input",name:"date",placeholder:e,onFocus:this.focusHandler.bind(this),onInput:e=>this.handleInput(e),onBlur:e=>this.handleBlur(e),ref:e=>this.inputEl=e,"aria-describedby":`error-${this.uid}`,"aria-controls":`popup-${this.uid}`,"aria-label":this.label,required:this.requiredField}),i("priv-datepicker",{disabled:this.disabled,date:this.lastValidValue?new Date(this.lastValidValue):new Date,parentId:this.uid})),i("div",{id:`error-${this.uid}`,class:"error","aria-live":"assertive","aria-atomic":"true"},this.displayError))))}get el(){return a(this)}static get watchers(){return{errorMessage:["handleError"]}}};n.style=':host,wm-datepicker{font-family:inherit}:host *,wm-datepicker *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .wrapper,wm-datepicker .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-datepicker .wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required,wm-datepicker .wrapper .label .required{color:#c0392b}:host .wrapper.label-left,wm-datepicker .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper,wm-datepicker .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .wrapper.label-left .label-wrapper .label,wm-datepicker .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-datepicker .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-datepicker .wrapper.invalid .label{color:#c0392b}:host .wrapper.invalid .label:after,wm-datepicker .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-datepicker .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label,wm-datepicker .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper,wm-datepicker .wrapper{position:relative}:host .wrapper .required,wm-datepicker .wrapper .required{color:#c4431c}:host .wrapper .inner-wrapper,wm-datepicker .wrapper .inner-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:2.5rem;border:1px solid;border-color:rgba(35, 35, 35, 0.6);-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;max-width:236px;-ms-flex-pack:justify;justify-content:space-between;position:relative}:host .wrapper .inner-wrapper .date-input,wm-datepicker .wrapper .inner-wrapper .date-input{-moz-border-top-left-radius:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-bottom-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;border:none;font-size:0.875rem;padding:0.625rem 0.9375rem 0.5rem;min-width:0;height:100%;-ms-flex:1;flex:1;margin:0}:host .wrapper .inner-wrapper .date-input:disabled,wm-datepicker .wrapper .inner-wrapper .date-input:disabled{background-color:#f0f0f0;color:#737373}:host .wrapper .inner-wrapper .date-input:focus,wm-datepicker .wrapper .inner-wrapper .date-input:focus{outline:none}:host .wrapper.invalid .inner-wrapper,wm-datepicker .wrapper.invalid .inner-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,wm-datepicker .wrapper.invalid .error{margin-top:4px;margin-bottom:4px;display:block;top:100%;left:0;font-style:italic;font-size:0.875rem;color:#c0392b}:host .wrapper.focus .inner-wrapper,wm-datepicker .wrapper.focus .inner-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 .user-is-tabbing .toggle:focus:not(:active),wm-datepicker .user-is-tabbing .toggle:focus:not(:active){border:none;z-index:11}';export{n as wm_datepicker}
@@ -1,15 +0,0 @@
1
- System.register([],(function(e){"use strict";return{execute:function(){e({a:Jt,b:Vt,c:$t,d:zt,e:la,f:Bt,g:jt,h:ea,j:aa,k:oa,l:Yt,m:Ht,n:Zt,o:Kt,p:ra,q:qt,r:Gt,s:na,t:ua,u:Qt});var t={"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"}]};var a={"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."}]};var r={"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:"%"}]};var i={"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 n=Object.freeze({__proto__:null,en:t,fr:a,es:r,pig:i});
2
- /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */var o=function(e,t){o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]};return o(e,t)};function l(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(e,t);function a(){this.constructor=e}e.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}var u=function(){u=Object.assign||function e(t){for(var a,r=1,i=arguments.length;r<i;r++){a=arguments[r];for(var n in a)if(Object.prototype.hasOwnProperty.call(a,n))t[n]=a[n]}return t};return u.apply(this,arguments)};function s(e,t,a){if(a||arguments.length===2)for(var r=0,i=t.length,n;r<i;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))}var p;(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"})(p||(p={}));var c;(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"})(c||(c={}));var y;(function(e){e[e["number"]=0]="number";e[e["dateTime"]=1]="dateTime"})(y||(y={}));function v(e){return e.type===c.literal}function d(e){return e.type===c.argument}function f(e){return e.type===c.number}function m(e){return e.type===c.date}function h(e){return e.type===c.time}function g(e){return e.type===c.select}function E(e){return e.type===c.plural}function b(e){return e.type===c.pound}function T(e){return e.type===c.tag}function A(e){return!!(e&&typeof e==="object"&&e.type===y.number)}function w(e){return!!(e&&typeof e==="object"&&e.type===y.dateTime)}var I=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;var R=/(?:[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 S(e){var t={};e.replace(R,(function(e){var a=e.length;switch(e[0]){case"G":t.era=a===4?"long":a===5?"narrow":"short";break;case"y":t.year=a===2?"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=a===4?"short":a===5?"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=true;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""}));return t}var _=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function N(e){if(e.length===0){throw new Error("Number skeleton cannot be empty")}var t=e.split(_).filter((function(e){return e.length>0}));var a=[];for(var r=0,i=t;r<i.length;r++){var n=i[r];var o=n.split("/");if(o.length===0){throw new Error("Invalid number skeleton")}var l=o[0],u=o.slice(1);for(var s=0,p=u;s<p.length;s++){var c=p[s];if(c.length===0){throw new Error("Invalid number skeleton")}}a.push({stem:l,options:u})}return a}function L(e){return e.replace(/^(.*?)-/,"")}var P=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g;var O=/^(@+)?(\+|#+)?[rs]?$/g;var M=/(\*)(0+)|(#+)(0+)|(0+)/g;var x=/^(0+)$/;function C(e){var t={};if(e[e.length-1]==="r"){t.roundingPriority="morePrecision"}else if(e[e.length-1]==="s"){t.roundingPriority="lessPrecision"}e.replace(O,(function(e,a,r){if(typeof r!=="string"){t.minimumSignificantDigits=a.length;t.maximumSignificantDigits=a.length}else if(r==="+"){t.minimumSignificantDigits=a.length}else if(a[0]==="#"){t.maximumSignificantDigits=a.length}else{t.minimumSignificantDigits=a.length;t.maximumSignificantDigits=a.length+(typeof r==="string"?r.length:0)}return""}));return t}function U(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 F(e){var t;if(e[0]==="E"&&e[1]==="E"){t={notation:"engineering"};e=e.slice(2)}else if(e[0]==="E"){t={notation:"scientific"};e=e.slice(1)}if(t){var a=e.slice(0,2);if(a==="+!"){t.signDisplay="always";e=e.slice(2)}else if(a==="+?"){t.signDisplay="exceptZero";e=e.slice(2)}if(!x.test(e)){throw new Error("Malformed concise eng/scientific notation")}t.minimumIntegerDigits=e.length}return t}function D(e){var t={};var a=U(e);if(a){return a}return t}function k(e){var t={};for(var a=0,r=e;a<r.length;a++){var i=r[a];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent";t.scale=100;continue;case"currency":t.style="currency";t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=false;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit";t.unit=L(i.options[0]);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"}),i.options.reduce((function(e,t){return u(u({},e),D(t))}),{}));continue;case"engineering":t=u(u(u({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return u(u({},e),D(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(i.options[0]);continue;case"integer-width":if(i.options.length>1){throw new RangeError("integer-width stems only accept a single optional option")}i.options[0].replace(M,(function(e,a,r,i,n,o){if(a){t.minimumIntegerDigits=r.length}else if(i&&n){throw new Error("We currently do not support maximum integer digits")}else if(o){throw new Error("We currently do not support exact integer digits")}return""}));continue}if(x.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(P.test(i.stem)){if(i.options.length>1){throw new RangeError("Fraction-precision stems only accept a single optional option")}i.stem.replace(P,(function(e,a,r,i,n,o){if(r==="*"){t.minimumFractionDigits=a.length}else if(i&&i[0]==="#"){t.maximumFractionDigits=i.length}else if(n&&o){t.minimumFractionDigits=n.length;t.maximumFractionDigits=n.length+o.length}else{t.minimumFractionDigits=a.length;t.maximumFractionDigits=a.length}return""}));var n=i.options[0];if(n==="w"){t=u(u({},t),{trailingZeroDisplay:"stripIfInteger"})}else if(n){t=u(u({},t),C(n))}continue}if(O.test(i.stem)){t=u(u({},t),C(i.stem));continue}var o=U(i.stem);if(o){t=u(u({},t),o)}var l=F(i.stem);if(l){t=u(u({},t),l)}}return t}var j;var G=new RegExp("^".concat(I.source,"*"));var z=new RegExp("".concat(I.source,"*$"));function q(e,t){return{start:e,end:t}}var V=!!String.prototype.startsWith;var B=!!String.fromCodePoint;var X=!!Object.fromEntries;var W=!!String.prototype.codePointAt;var Y=!!String.prototype.trimStart;var H=!!String.prototype.trimEnd;var Z=!!Number.isSafeInteger;var K=Z?Number.isSafeInteger:function(e){return typeof e==="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991};var J=true;try{var Q=ne("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");J=((j=Q.exec("a"))===null||j===void 0?void 0:j[0])==="a"}catch(e){J=false}var $=V?function e(t,a,r){return t.startsWith(a,r)}:function e(t,a,r){return t.slice(r,r+a.length)===a};var ee=B?String.fromCodePoint:function e(){var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}var r="";var i=t.length;var n=0;var o;while(i>n){o=t[n++];if(o>1114111)throw RangeError(o+" is not a valid code point");r+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return r};var te=X?Object.fromEntries:function e(t){var a={};for(var r=0,i=t;r<i.length;r++){var n=i[r],o=n[0],l=n[1];a[o]=l}return a};var ae=W?function e(t,a){return t.codePointAt(a)}:function e(t,a){var r=t.length;if(a<0||a>=r){return undefined}var i=t.charCodeAt(a);var n;return i<55296||i>56319||a+1===r||(n=t.charCodeAt(a+1))<56320||n>57343?i:(i-55296<<10)+(n-56320)+65536};var re=Y?function e(t){return t.trimStart()}:function e(t){return t.replace(G,"")};var ie=H?function e(t){return t.trimEnd()}:function e(t){return t.replace(z,"")};function ne(e,t){return new RegExp(e,t)}var oe;if(J){var le=ne("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");oe=function e(t,a){var r;le.lastIndex=a;var i=le.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else{oe=function e(t,a){var r=[];while(true){var i=ae(t,a);if(i===undefined||ye(i)||ve(i)){break}r.push(i);a+=i>=65536?2:1}return ee.apply(void 0,r)}}var ue=function(){function e(e,t){if(t===void 0){t={}}this.message=e;this.position={offset:0,line:1,column:1};this.ignoreTag=!!t.ignoreTag;this.requiresOtherClause=!!t.requiresOtherClause;this.shouldParseSkeletons=!!t.shouldParseSkeletons}e.prototype.parse=function(){if(this.offset()!==0){throw Error("parser can only be used once")}return this.parseMessage(0,"",false)};e.prototype.parseMessage=function(e,t,a){var r=[];while(!this.isEOF()){var i=this.char();if(i===123){var n=this.parseArgument(e,a);if(n.err){return n}r.push(n.val)}else if(i===125&&e>0){break}else if(i===35&&(t==="plural"||t==="selectordinal")){var o=this.clonePosition();this.bump();r.push({type:c.pound,location:q(o,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(a){break}else{return this.error(p.UNMATCHED_CLOSING_TAG,q(this.clonePosition(),this.clonePosition()))}}else if(i===60&&!this.ignoreTag&&se(this.peek()||0)){var n=this.parseTag(e,t);if(n.err){return n}r.push(n.val)}else{var n=this.parseLiteral(e,t);if(n.err){return n}r.push(n.val)}}return{val:r,err:null}};e.prototype.parseTag=function(e,t){var a=this.clonePosition();this.bump();var r=this.parseTagName();this.bumpSpace();if(this.bumpIf("/>")){return{val:{type:c.literal,value:"<".concat(r,"/>"),location:q(a,this.clonePosition())},err:null}}else if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,true);if(i.err){return i}var n=i.val;var o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!se(this.char())){return this.error(p.INVALID_TAG,q(o,this.clonePosition()))}var l=this.clonePosition();var u=this.parseTagName();if(r!==u){return this.error(p.UNMATCHED_CLOSING_TAG,q(l,this.clonePosition()))}this.bumpSpace();if(!this.bumpIf(">")){return this.error(p.INVALID_TAG,q(o,this.clonePosition()))}return{val:{type:c.tag,value:r,children:n,location:q(a,this.clonePosition())},err:null}}else{return this.error(p.UNCLOSED_TAG,q(a,this.clonePosition()))}}else{return this.error(p.INVALID_TAG,q(a,this.clonePosition()))}};e.prototype.parseTagName=function(){var e=this.offset();this.bump();while(!this.isEOF()&&ce(this.char())){this.bump()}return this.message.slice(e,this.offset())};e.prototype.parseLiteral=function(e,t){var a=this.clonePosition();var r="";while(true){var i=this.tryParseQuote(t);if(i){r+=i;continue}var n=this.tryParseUnquoted(e,t);if(n){r+=n;continue}var o=this.tryParseLeftAngleBracket();if(o){r+=o;continue}break}var l=q(a,this.clonePosition());return{val:{type:c.literal,value:r,location:l},err:null}};e.prototype.tryParseLeftAngleBracket=function(){if(!this.isEOF()&&this.char()===60&&(this.ignoreTag||!pe(this.peek()||0))){this.bump();return"<"}return null};e.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39){return null}switch(this.peek()){case 39:this.bump();this.bump();return"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal"){break}return null;default:return null}this.bump();var t=[this.char()];this.bump();while(!this.isEOF()){var a=this.char();if(a===39){if(this.peek()===39){t.push(39);this.bump()}else{this.bump();break}}else{t.push(a)}this.bump()}return ee.apply(void 0,t)};e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF()){return null}var a=this.char();if(a===60||a===123||a===35&&(t==="plural"||t==="selectordinal")||a===125&&e>0){return null}else{this.bump();return ee(a)}};e.prototype.parseArgument=function(e,t){var a=this.clonePosition();this.bump();this.bumpSpace();if(this.isEOF()){return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,q(a,this.clonePosition()))}if(this.char()===125){this.bump();return this.error(p.EMPTY_ARGUMENT,q(a,this.clonePosition()))}var r=this.parseIdentifierIfPossible().value;if(!r){return this.error(p.MALFORMED_ARGUMENT,q(a,this.clonePosition()))}this.bumpSpace();if(this.isEOF()){return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,q(a,this.clonePosition()))}switch(this.char()){case 125:{this.bump();return{val:{type:c.argument,value:r,location:q(a,this.clonePosition())},err:null}}case 44:{this.bump();this.bumpSpace();if(this.isEOF()){return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,q(a,this.clonePosition()))}return this.parseArgumentOptions(e,t,r,a)}default:return this.error(p.MALFORMED_ARGUMENT,q(a,this.clonePosition()))}};e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition();var t=this.offset();var a=oe(this.message,t);var r=t+a.length;this.bumpTo(r);var i=this.clonePosition();var n=q(e,i);return{value:a,location:n}};e.prototype.parseArgumentOptions=function(e,t,a,r){var i;var n=this.clonePosition();var o=this.parseIdentifierIfPossible().value;var l=this.clonePosition();switch(o){case"":return this.error(p.EXPECT_ARGUMENT_TYPE,q(n,l));case"number":case"date":case"time":{this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var v=this.clonePosition();var d=this.parseSimpleArgStyleIfPossible();if(d.err){return d}var f=ie(d.val);if(f.length===0){return this.error(p.EXPECT_ARGUMENT_STYLE,q(this.clonePosition(),this.clonePosition()))}var m=q(v,this.clonePosition());s={style:f,styleLocation:m}}var h=this.tryParseArgumentClose(r);if(h.err){return h}var g=q(r,this.clonePosition());if(s&&$(s===null||s===void 0?void 0:s.style,"::",0)){var E=re(s.style.slice(2));if(o==="number"){var d=this.parseNumberSkeletonFromString(E,s.styleLocation);if(d.err){return d}return{val:{type:c.number,value:a,location:g,style:d.val},err:null}}else{if(E.length===0){return this.error(p.EXPECT_DATE_TIME_SKELETON,g)}var f={type:y.dateTime,pattern:E,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?S(E):{}};var b=o==="date"?c.date:c.time;return{val:{type:b,value:a,location:g,style:f},err:null}}}return{val:{type:o==="number"?c.number:o==="date"?c.date:c.time,value:a,location:g,style:(i=s===null||s===void 0?void 0:s.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var T=this.clonePosition();this.bumpSpace();if(!this.bumpIf(",")){return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,q(T,u({},T)))}this.bumpSpace();var A=this.parseIdentifierIfPossible();var w=0;if(o!=="select"&&A.value==="offset"){if(!this.bumpIf(":")){return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,q(this.clonePosition(),this.clonePosition()))}this.bumpSpace();var d=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err){return d}this.bumpSpace();A=this.parseIdentifierIfPossible();w=d.val}var I=this.tryParsePluralOrSelectOptions(e,o,t,A);if(I.err){return I}var h=this.tryParseArgumentClose(r);if(h.err){return h}var R=q(r,this.clonePosition());if(o==="select"){return{val:{type:c.select,value:a,options:te(I.val),location:R},err:null}}else{return{val:{type:c.plural,value:a,options:te(I.val),offset:w,pluralType:o==="plural"?"cardinal":"ordinal",location:R},err:null}}}default:return this.error(p.INVALID_ARGUMENT_TYPE,q(n,l))}};e.prototype.tryParseArgumentClose=function(e){if(this.isEOF()||this.char()!==125){return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,q(e,this.clonePosition()))}this.bump();return{val:true,err:null}};e.prototype.parseSimpleArgStyleIfPossible=function(){var e=0;var t=this.clonePosition();while(!this.isEOF()){var a=this.char();switch(a){case 39:{this.bump();var r=this.clonePosition();if(!this.bumpUntil("'")){return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,q(r,this.clonePosition()))}this.bump();break}case 123:{e+=1;this.bump();break}case 125:{if(e>0){e-=1}else{return{val:this.message.slice(t.offset,this.offset()),err:null}}break}default:this.bump();break}}return{val:this.message.slice(t.offset,this.offset()),err:null}};e.prototype.parseNumberSkeletonFromString=function(e,t){var a=[];try{a=N(e)}catch(e){return this.error(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:y.number,tokens:a,location:t,parsedOptions:this.shouldParseSkeletons?k(a):{}},err:null}};e.prototype.tryParsePluralOrSelectOptions=function(e,t,a,r){var i;var n=false;var o=[];var l=new Set;var u=r.value,s=r.location;while(true){if(u.length===0){var c=this.clonePosition();if(t!=="select"&&this.bumpIf("=")){var y=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(y.err){return y}s=q(c,this.clonePosition());u=this.message.slice(c.offset,this.offset())}else{break}}if(l.has(u)){return this.error(t==="select"?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,s)}if(u==="other"){n=true}this.bumpSpace();var v=this.clonePosition();if(!this.bumpIf("{")){return this.error(t==="select"?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,q(this.clonePosition(),this.clonePosition()))}var d=this.parseMessage(e+1,t,a);if(d.err){return d}var f=this.tryParseArgumentClose(v);if(f.err){return f}o.push([u,{value:d.val,location:q(v,this.clonePosition())}]);l.add(u);this.bumpSpace();i=this.parseIdentifierIfPossible(),u=i.value,s=i.location}if(o.length===0){return this.error(t==="select"?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,q(this.clonePosition(),this.clonePosition()))}if(this.requiresOtherClause&&!n){return this.error(p.MISSING_OTHER_CLAUSE,q(this.clonePosition(),this.clonePosition()))}return{val:o,err:null}};e.prototype.tryParseDecimalInteger=function(e,t){var a=1;var r=this.clonePosition();if(this.bumpIf("+"));else if(this.bumpIf("-")){a=-1}var i=false;var n=0;while(!this.isEOF()){var o=this.char();if(o>=48&&o<=57){i=true;n=n*10+(o-48);this.bump()}else{break}}var l=q(r,this.clonePosition());if(!i){return this.error(e,l)}n*=a;if(!K(n)){return this.error(t,l)}return{val:n,err:null}};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=ae(this.message,e);if(t===undefined){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()){return}var e=this.char();if(e===10){this.position.line+=1;this.position.column=1;this.position.offset+=1}else{this.position.column+=1;this.position.offset+=e<65536?1:2}};e.prototype.bumpIf=function(e){if($(this.message,e,this.offset())){for(var t=0;t<e.length;t++){this.bump()}return true}return false};e.prototype.bumpUntil=function(e){var t=this.offset();var a=this.message.indexOf(e,t);if(a>=0){this.bumpTo(a);return true}else{this.bumpTo(this.message.length);return false}};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()))}e=Math.min(e,this.message.length);while(true){var t=this.offset();if(t===e){break}if(t>e){throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"))}this.bump();if(this.isEOF()){break}}};e.prototype.bumpSpace=function(){while(!this.isEOF()&&ye(this.char())){this.bump()}};e.prototype.peek=function(){if(this.isEOF()){return null}var e=this.char();var t=this.offset();var a=this.message.charCodeAt(t+(e>=65536?2:1));return a!==null&&a!==void 0?a:null};return e}();function se(e){return e>=97&&e<=122||e>=65&&e<=90}function pe(e){return se(e)||e===47}function ce(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||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}function ye(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ve(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===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>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||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||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===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>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===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>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||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||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function de(e){e.forEach((function(e){delete e.location;if(g(e)||E(e)){for(var t in e.options){delete e.options[t].location;de(e.options[t].value)}}else if(f(e)&&A(e.style)){delete e.style.location}else if((m(e)||h(e))&&w(e.style)){delete e.style.location}else if(T(e)){de(e.children)}}))}function fe(e,t){if(t===void 0){t={}}t=u({shouldParseSkeletons:true,requiresOtherClause:true},t);var a=new ue(e,t).parse();if(a.err){var r=SyntaxError(p[a.err.kind]);r.location=a.err.location;r.originalMessage=a.err.message;throw r}if(!(t===null||t===void 0?void 0:t.captureLocation)){de(a.val)}return a.val}function me(e,t){var a=t&&t.cache?t.cache:Se;var r=t&&t.serializer?t.serializer:Ie;var i=t&&t.strategy?t.strategy:Te;return i(e,{cache:a,serializer:r})}function he(e){return e==null||typeof e==="number"||typeof e==="boolean"}function ge(e,t,a,r){var i=he(r)?r:a(r);var n=t.get(i);if(typeof n==="undefined"){n=e.call(this,r);t.set(i,n)}return n}function Ee(e,t,a){var r=Array.prototype.slice.call(arguments,3);var i=a(r);var n=t.get(i);if(typeof n==="undefined"){n=e.apply(this,r);t.set(i,n)}return n}function be(e,t,a,r,i){return a.bind(t,e,r,i)}function Te(e,t){var a=e.length===1?ge:Ee;return be(e,this,a,t.cache.create(),t.serializer)}function Ae(e,t){return be(e,this,Ee,t.cache.create(),t.serializer)}function we(e,t){return be(e,this,ge,t.cache.create(),t.serializer)}var Ie=function(){return JSON.stringify(arguments)};function Re(){this.cache=Object.create(null)}Re.prototype.get=function(e){return this.cache[e]};Re.prototype.set=function(e,t){this.cache[e]=t};var Se={create:function e(){return new Re}};var _e={variadic:Ae,monadic:we};var Ne;(function(e){e["MISSING_VALUE"]="MISSING_VALUE";e["INVALID_VALUE"]="INVALID_VALUE";e["MISSING_INTL_API"]="MISSING_INTL_API"})(Ne||(Ne={}));var Le=function(e){l(t,e);function t(t,a,r){var i=e.call(this,t)||this;i.code=a;i.originalMessage=r;return i}t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};return t}(Error);var Pe=function(e){l(t,e);function t(t,a,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(a,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Ne.INVALID_VALUE,i)||this}return t}(Le);var Oe=function(e){l(t,e);function t(t,a,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(a),Ne.INVALID_VALUE,r)||this}return t}(Le);var Me=function(e){l(t,e);function t(t,a){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(a,'"'),Ne.MISSING_VALUE,a)||this}return t}(Le);var xe;(function(e){e[e["literal"]=0]="literal";e[e["object"]=1]="object"})(xe||(xe={}));function Ce(e){if(e.length<2){return e}return e.reduce((function(e,t){var a=e[e.length-1];if(!a||a.type!==xe.literal||t.type!==xe.literal){e.push(t)}else{a.value+=t.value}return e}),[])}function Ue(e){return typeof e==="function"}function Fe(e,t,a,r,i,n,o){if(e.length===1&&v(e[0])){return[{type:xe.literal,value:e[0].value}]}var l=[];for(var u=0,s=e;u<s.length;u++){var p=s[u];if(v(p)){l.push({type:xe.literal,value:p.value});continue}if(b(p)){if(typeof n==="number"){l.push({type:xe.literal,value:a.getNumberFormat(t).format(n)})}continue}var c=p.value;if(!(i&&c in i)){throw new Me(c,o)}var y=i[c];if(d(p)){if(!y||typeof y==="string"||typeof y==="number"){y=typeof y==="string"||typeof y==="number"?String(y):""}l.push({type:typeof y==="string"?xe.literal:xe.object,value:y});continue}if(m(p)){var I=typeof p.style==="string"?r.date[p.style]:w(p.style)?p.style.parsedOptions:undefined;l.push({type:xe.literal,value:a.getDateTimeFormat(t,I).format(y)});continue}if(h(p)){var I=typeof p.style==="string"?r.time[p.style]:w(p.style)?p.style.parsedOptions:undefined;l.push({type:xe.literal,value:a.getDateTimeFormat(t,I).format(y)});continue}if(f(p)){var I=typeof p.style==="string"?r.number[p.style]:A(p.style)?p.style.parsedOptions:undefined;if(I&&I.scale){y=y*(I.scale||1)}l.push({type:xe.literal,value:a.getNumberFormat(t,I).format(y)});continue}if(T(p)){var R=p.children,S=p.value;var _=i[S];if(!Ue(_)){throw new Oe(S,"function",o)}var N=Fe(R,t,a,r,i,n);var L=_(N.map((function(e){return e.value})));if(!Array.isArray(L)){L=[L]}l.push.apply(l,L.map((function(e){return{type:typeof e==="string"?xe.literal:xe.object,value:e}})))}if(g(p)){var P=p.options[y]||p.options.other;if(!P){throw new Pe(p.value,y,Object.keys(p.options),o)}l.push.apply(l,Fe(P.value,t,a,r,i));continue}if(E(p)){var P=p.options["=".concat(y)];if(!P){if(!Intl.PluralRules){throw new Le('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ne.MISSING_INTL_API,o)}var O=a.getPluralRules(t,{type:p.pluralType}).select(y-(p.offset||0));P=p.options[O]||p.options.other}if(!P){throw new Pe(p.value,y,Object.keys(p.options),o)}l.push.apply(l,Fe(P.value,t,a,r,i,y-(p.offset||0)));continue}}return Ce(l)}function De(e,t){if(!t){return e}return u(u(u({},e||{}),t||{}),Object.keys(e).reduce((function(a,r){a[r]=u(u({},e[r]),t[r]||{});return a}),{}))}function ke(e,t){if(!t){return e}return Object.keys(e).reduce((function(a,r){a[r]=De(e[r],t[r]);return a}),u({},e))}function je(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,a){e[t]=a}}}}}function Ge(e){if(e===void 0){e={number:{},dateTime:{},pluralRules:{}}}return{getNumberFormat:me((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.NumberFormat).bind.apply(e,s([void 0],t,false)))}),{cache:je(e.number),strategy:_e.variadic}),getDateTimeFormat:me((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.DateTimeFormat).bind.apply(e,s([void 0],t,false)))}),{cache:je(e.dateTime),strategy:_e.variadic}),getPluralRules:me((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.PluralRules).bind.apply(e,s([void 0],t,false)))}),{cache:je(e.pluralRules),strategy:_e.variadic})}}var ze=function(){function e(t,a,r,i){var n=this;if(a===void 0){a=e.defaultLocale}this.formatterCache={number:{},dateTime:{},pluralRules:{}};this.format=function(e){var t=n.formatToParts(e);if(t.length===1){return t[0].value}var a=t.reduce((function(e,t){if(!e.length||t.type!==xe.literal||typeof e[e.length-1]!=="string"){e.push(t.value)}else{e[e.length-1]+=t.value}return e}),[]);if(a.length<=1){return a[0]||""}return a};this.formatToParts=function(e){return Fe(n.ast,n.locales,n.formatters,n.formats,e,undefined,n.message)};this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(n.locales)[0]}};this.getAst=function(){return n.ast};if(typeof t==="string"){this.message=t;if(!e.__parse){throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`")}this.ast=e.__parse(t,{ignoreTag:i===null||i===void 0?void 0:i.ignoreTag})}else{this.ast=t}if(!Array.isArray(this.ast)){throw new TypeError("A message must be provided as a String or AST.")}this.formats=ke(e.formats,r);this.locales=a;this.formatters=i&&i.formatters||Ge(this.formatterCache)}Object.defineProperty(e,"defaultLocale",{get:function(){if(!e.memoizedDefaultLocale){e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale}return e.memoizedDefaultLocale},enumerable:false,configurable:true});e.memoizedDefaultLocale=null;e.__parse=fe;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"}}};return e}();var qe;(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"})(qe||(qe={}));var Ve=function(e){l(t,e);function t(a,r,i){var n=this;var o=i?i instanceof Error?i:new Error(String(i)):undefined;n=e.call(this,"[@formatjs/intl Error ".concat(a,"] ").concat(r," \n").concat(o?"\n".concat(o.message,"\n").concat(o.stack):""))||this;n.code=a;if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(n,t)}return n}return t}(Error);var Be=function(e){l(t,e);function t(t,a){return e.call(this,qe.UNSUPPORTED_FORMATTER,t,a)||this}return t}(Ve);var Xe=function(e){l(t,e);function t(t,a){return e.call(this,qe.INVALID_CONFIG,t,a)||this}return t}(Ve);var We=function(e){l(t,e);function t(t,a){return e.call(this,qe.MISSING_DATA,t,a)||this}return t}(Ve);var Ye=function(e){l(t,e);function t(t,a,r){return e.call(this,qe.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(a,"\n"),r)||this}return t}(Ve);var He=function(e){l(t,e);function t(t,a,r,i){var n=e.call(this,"".concat(t," \nMessageID: ").concat(r===null||r===void 0?void 0:r.id,"\nDefault Message: ").concat(r===null||r===void 0?void 0:r.defaultMessage,"\nDescription: ").concat(r===null||r===void 0?void 0:r.description," \n"),a,i)||this;n.descriptor=r;return n}return t}(Ye);var Ze=function(e){l(t,e);function t(t,a){var r=e.call(this,qe.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(a,'", using ').concat(t.defaultMessage?"default message":"id"," as fallback."))||this;r.descriptor=t;return r}return t}(Ve);function Ke(e,t,a){if(a===void 0){a={}}return t.reduce((function(t,r){if(r in e){t[r]=e[r]}else if(r in a){t[r]=a[r]}return t}),{})}var Je=function(e){};var Qe={formats:{},messages:{},timeZone:undefined,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:true,onError:Je};function $e(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function et(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,a){e[t]=a}}}}}function tt(e){if(e===void 0){e=$e()}var t=Intl.RelativeTimeFormat;var a=Intl.ListFormat;var r=Intl.DisplayNames;var i=me((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.DateTimeFormat).bind.apply(e,s([void 0],t,false)))}),{cache:et(e.dateTime),strategy:_e.variadic});var n=me((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.NumberFormat).bind.apply(e,s([void 0],t,false)))}),{cache:et(e.number),strategy:_e.variadic});var o=me((function(){var e;var t=[];for(var a=0;a<arguments.length;a++){t[a]=arguments[a]}return new((e=Intl.PluralRules).bind.apply(e,s([void 0],t,false)))}),{cache:et(e.pluralRules),strategy:_e.variadic});return{getDateTimeFormat:i,getNumberFormat:n,getMessageFormat:me((function(e,t,a,r){return new ze(e,t,a,u({formatters:{getNumberFormat:n,getDateTimeFormat:i,getPluralRules:o}},r||{}))}),{cache:et(e.message),strategy:_e.variadic}),getRelativeTimeFormat:me((function(){var e=[];for(var a=0;a<arguments.length;a++){e[a]=arguments[a]}return new(t.bind.apply(t,s([void 0],e,false)))}),{cache:et(e.relativeTime),strategy:_e.variadic}),getPluralRules:o,getListFormat:me((function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return new(a.bind.apply(a,s([void 0],e,false)))}),{cache:et(e.list),strategy:_e.variadic}),getDisplayNames:me((function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return new(r.bind.apply(r,s([void 0],e,false)))}),{cache:et(e.displayNames),strategy:_e.variadic})}}function at(e,t,a,r){var i=e&&e[t];var n;if(i){n=i[a]}if(n){return n}r(new Be("No ".concat(t," format named: ").concat(a)))}function rt(e,t,a){if(a===void 0){a=Error}if(!e){throw new a(t)}}function it(e,t){return Object.keys(e).reduce((function(a,r){a[r]=u({timeZone:t},e[r]);return a}),{})}function nt(e,t){var a=Object.keys(u(u({},e),t));return a.reduce((function(a,r){a[r]=u(u({},e[r]||{}),t[r]||{});return a}),{})}function ot(e,t){if(!t){return e}var a=ze.formats;return u(u(u({},a),e),{date:nt(it(a.date,t),it(e.date||{},t)),time:nt(it(a.time,t),it(e.time||{},t))})}function lt(e,t,a,r,i){var n=e.locale,o=e.formats,l=e.messages,s=e.defaultLocale,p=e.defaultFormats,y=e.fallbackOnEmptyString,v=e.onError,d=e.timeZone,f=e.defaultRichTextElements;if(a===void 0){a={id:""}}var m=a.id,h=a.defaultMessage;rt(!!m,"[@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");var g=String(m);var E=l&&Object.prototype.hasOwnProperty.call(l,g)&&l[g];if(Array.isArray(E)&&E.length===1&&E[0].type===c.literal){return E[0].value}if(!r&&E&&typeof E==="string"&&!f){return E.replace(/'\{(.*?)\}'/gi,"{$1}")}r=u(u({},f),r||{});o=ot(o,d);p=ot(p,d);if(!E){if(y===false&&E===""){return E}if(!h||n&&n.toLowerCase()!==s.toLowerCase()){v(new Ze(a,n))}if(h){try{var b=t.getMessageFormat(h,s,p,i);return b.format(r)}catch(e){v(new He('Error formatting default message for: "'.concat(g,'", rendering default message verbatim'),n,a,e));return typeof h==="string"?h:g}}return g}try{var b=t.getMessageFormat(E,n,o,u({formatters:t},i||{}));return b.format(r)}catch(e){v(new He('Error formatting message: "'.concat(g,'", using ').concat(h?"default message":"id"," as fallback."),n,a,e))}if(h){try{var b=t.getMessageFormat(h,s,p,i);return b.format(r)}catch(e){v(new He('Error formatting the default message for: "'.concat(g,'", rendering message verbatim'),n,a,e))}}if(typeof E==="string"){return E}if(typeof h==="string"){return h}return g}var ut=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function st(e,t,a,r){var i=e.locale,n=e.formats,o=e.onError,l=e.timeZone;if(r===void 0){r={}}var s=r.format;var p=u(u({},l&&{timeZone:l}),s&&at(n,t,s,o));var c=Ke(r,ut,p);if(t==="time"&&!c.hour&&!c.minute&&!c.second&&!c.timeStyle&&!c.dateStyle){c=u(u({},c),{hour:"numeric",minute:"numeric"})}return a(i,c)}function pt(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var i=a[0],n=a[1],o=n===void 0?{}:n;var l=typeof i==="string"?new Date(i||0):i;try{return st(e,"date",t,o).format(l)}catch(t){e.onError(new Ve(qe.FORMAT_ERROR,"Error formatting date.",t))}return String(l)}function ct(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var i=a[0],n=a[1],o=n===void 0?{}:n;var l=typeof i==="string"?new Date(i||0):i;try{return st(e,"time",t,o).format(l)}catch(t){e.onError(new Ve(qe.FORMAT_ERROR,"Error formatting time.",t))}return String(l)}function yt(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var i=a[0],n=a[1],o=a[2],l=o===void 0?{}:o;var u=e.timeZone,s=e.locale,p=e.onError;var c=Ke(l,ut,u?{timeZone:u}:{});try{return t(s,c).formatRange(i,n)}catch(e){p(new Ve(qe.FORMAT_ERROR,"Error formatting date time range.",e))}return String(i)}function vt(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var i=a[0],n=a[1],o=n===void 0?{}:n;var l=typeof i==="string"?new Date(i||0):i;try{return st(e,"date",t,o).formatToParts(l)}catch(t){e.onError(new Ve(qe.FORMAT_ERROR,"Error formatting date.",t))}return[]}function dt(e,t){var a=[];for(var r=2;r<arguments.length;r++){a[r-2]=arguments[r]}var i=a[0],n=a[1],o=n===void 0?{}:n;var l=typeof i==="string"?new Date(i||0):i;try{return st(e,"time",t,o).formatToParts(l)}catch(t){e.onError(new Ve(qe.FORMAT_ERROR,"Error formatting time.",t))}return[]}var ft=["localeMatcher","style","type","fallback"];function mt(e,t,a,r){var i=e.locale,n=e.onError;var o=Intl.DisplayNames;if(!o){n(new Le('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',Ne.MISSING_INTL_API))}var l=Ke(r,ft);try{return t(i,l).of(a)}catch(e){n(new Ve(qe.FORMAT_ERROR,"Error formatting display name.",e))}}var ht=["localeMatcher","type","style"];var gt=Date.now();function Et(e){return"".concat(gt,"_").concat(e,"_").concat(gt)}function bt(e,t,a,r){if(r===void 0){r={}}var i=Tt(e,t,a,r).reduce((function(e,t){var a=t.value;if(typeof a!=="string"){e.push(a)}else if(typeof e[e.length-1]==="string"){e[e.length-1]+=a}else{e.push(a)}return e}),[]);return i.length===1?i[0]:i}function Tt(e,t,a,r){var i=e.locale,n=e.onError;if(r===void 0){r={}}var o=Intl.ListFormat;if(!o){n(new Le('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',Ne.MISSING_INTL_API))}var l=Ke(r,ht);try{var s={};var p=a.map((function(e,t){if(typeof e==="object"){var a=Et(t);s[a]=e;return a}return String(e)}));return t(i,l).formatToParts(p).map((function(e){return e.type==="literal"?e:u(u({},e),{value:s[e.value]||e.value})}))}catch(e){n(new Ve(qe.FORMAT_ERROR,"Error formatting list.",e))}return a}var At=["localeMatcher","type"];function wt(e,t,a,r){var i=e.locale,n=e.onError;if(r===void 0){r={}}if(!Intl.PluralRules){n(new Le('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ne.MISSING_INTL_API))}var o=Ke(r,At);try{return t(i,o).select(a)}catch(e){n(new Ye("Error formatting plural.",i,e))}return"other"}var It=["numeric","style"];function Rt(e,t,a){var r=e.locale,i=e.formats,n=e.onError;if(a===void 0){a={}}var o=a.format;var l=!!o&&at(i,"relative",o,n)||{};var u=Ke(a,It,l);return t(r,u)}function St(e,t,a,r,i){if(i===void 0){i={}}if(!r){r="second"}var n=Intl.RelativeTimeFormat;if(!n){e.onError(new Le('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',Ne.MISSING_INTL_API))}try{return Rt(e,t,i).format(a,r)}catch(t){e.onError(new Ye("Error formatting relative time.",e.locale,t))}return String(a)}var _t=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Nt(e,t,a){var r=e.locale,i=e.formats,n=e.onError;if(a===void 0){a={}}var o=a.format;var l=o&&at(i,"number",o,n)||{};var u=Ke(a,_t,l);return t(r,u)}function Lt(e,t,a,r){if(r===void 0){r={}}try{return Nt(e,t,r).format(a)}catch(t){e.onError(new Ve(qe.FORMAT_ERROR,"Error formatting number.",t))}return String(a)}function Pt(e,t,a,r){if(r===void 0){r={}}try{return Nt(e,t,r).formatToParts(a)}catch(t){e.onError(new Ve(qe.FORMAT_ERROR,"Error formatting number.",t))}return[]}function Ot(e){var t=e?e[Object.keys(e)[0]]:undefined;return typeof t==="string"}function Mt(e){if(e.defaultRichTextElements&&Ot(e.messages||{})){console.warn('[@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')}}function xt(e,t){var a=tt(t);var r=u(u({},Qe),e);var i=r.locale,n=r.defaultLocale,o=r.onError;if(!i){if(o){o(new Xe('"locale" was not configured, using "'.concat(n,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details')))}r.locale=r.defaultLocale||"en"}else if(!Intl.NumberFormat.supportedLocalesOf(i).length&&o){o(new We('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(n,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')))}else if(!Intl.DateTimeFormat.supportedLocalesOf(i).length&&o){o(new We('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(n,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details')))}Mt(r);return u(u({},r),{formatters:a,formatNumber:Lt.bind(null,r,a.getNumberFormat),formatNumberToParts:Pt.bind(null,r,a.getNumberFormat),formatRelativeTime:St.bind(null,r,a.getRelativeTimeFormat),formatDate:pt.bind(null,r,a.getDateTimeFormat),formatDateToParts:vt.bind(null,r,a.getDateTimeFormat),formatTime:ct.bind(null,r,a.getDateTimeFormat),formatDateTimeRange:yt.bind(null,r,a.getDateTimeFormat),formatTimeToParts:dt.bind(null,r,a.getDateTimeFormat),formatPlural:wt.bind(null,r,a.getPluralRules),formatMessage:lt.bind(null,r,a),formatList:bt.bind(null,r,a.getListFormat),formatListToParts:Tt.bind(null,r,a.getListFormat),formatDisplayName:mt.bind(null,r,a.getDisplayNames)})}var Ct="en";function Ut(){var e=document.documentElement.getAttribute("lang");if(!!e){return e}else if(window.navigator&&window.navigator.language){var t=window.navigator.languages?window.navigator.languages[0]:window.navigator.language;return t.slice(0,2)}else{return Ct}}var Ft=$e();var Dt=Ut();var kt=e("i",xt({locale:Dt,defaultLocale:"en",messages:n[Dt]||t},Ft));function jt(){return"wmcl-"+Math.random().toString(36).substr(2,10)}function Gt(e,t){var a;var r=false;return function(){var i=this;if(!r){e.apply(i,arguments);r=true;clearTimeout(a);a=setTimeout((function(){r=false}),t)}}}function zt(e,t){var a;return function(){var r=this;var i=function(){return e.apply(r,arguments)};clearTimeout(a);a=setTimeout(i,t)}}function qt(){var e=document.querySelector("html").getAttribute("dir");return e?e.toLowerCase():""}function Vt(e){var t=e.getBoundingClientRect();var a=t.x;var r=t.y;if(!a){if(qt()==="rtl"){a=t.right}else{a=t.left}r=t.top}return{x:a,y:r}}function Bt(e){while(!!e){if(e.scrollHeight>e.clientHeight&&["scroll","auto"].includes(window.getComputedStyle(e).overflowY)){return e}e=e.parentElement}}function Xt(e){while(!!e){if(window.getComputedStyle(e).overflowY!=="visible"){return e}e=e.parentElement}}function Wt(e,t){var a=Xt(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 Yt(e,t,a,r){if(a===void 0){a=0}if(r===void 0){r=0}var i=Wt(e,t),n=i.closableElHeight,o=i.spaceAbove,l=i.spaceBelow;var u=n>l+r&&n<=o+a;return u}function Ht(e,t,a,r){if(a===void 0){a=0}if(r===void 0){r=0}var i=Wt(e,t),n=i.closableElHeight,o=i.spaceAbove,l=i.spaceBelow;var u=n>o+a&&n<=l+r;return u}function Zt(e,t){var a=Wt(e,t),r=a.closableElWidth,i=a.spaceLeft,n=a.spaceRight;var o=r>i&&n>i;return o}function Kt(e,t){var a=Wt(e,t),r=a.closableElWidth,i=a.spaceLeft,n=a.spaceRight;var o=r>n&&i>n;return o}function Jt(e,t,a){var r=Wt(t,a),i=r.spaceLeft,n=r.spaceRight,o=r.spaceBelow,l=r.spaceAbove;var u=a.getBoundingClientRect().width;var s=a.getBoundingClientRect().height;var p=l>s;var c=o>s;var y=i-24>u;var v=n-24>u;var d=function(e){return!p?e.replace("top","bottom"):e};var f=function(e){return!c&&p?e.replace("bottom","top"):e};var m=function(e,t){if(!y&&v){e=e.replace("left","right")}else if(!y&&!v){e=t}return e};var h=function(e,t){if(!v&&y){e=e.replace("right","left")}else if(!v&&!y){e=t}return e};switch(e){case"left":e=m(e,"bottom");case"right":e=h(e,"bottom");case"top-left":e=m(e,"top");e=d(e);case"top-right":e=h(e,"top");e=d(e);case"bottom-left":e=m(e,"bottom");e=f(e);case"bottom-right":e=h(e,"bottom");e=f(e);case"top":e=d(e);case"bottom":e=f(e)}return e}function Qt(e,t){var a=0;if(e.type==="click"){a=e.clientX}else if(e.type==="focus"){a=0}else{var r=e;while(r){if(r.tagName=="BODY"){var i=r.scrollLeft||document.documentElement.scrollLeft;a+=r.offsetLeft-i+r.clientLeft}else{a+=r.offsetLeft-r.scrollLeft+r.clientLeft}r=r.offsetParent}}return window.innerWidth-a>=t}function $t(e){while(e&&e.shadowRoot){e=e.shadowRoot.activeElement}return e}function ea(e){var t=["button","a","input","select","textarea","wm-button","wm-search","wm-select","wm-action-menu","wm-tab-item","wm-datepicker"];var a=e;t.forEach((function(e){if(a&&a.shadowRoot){var t=a.shadowRoot.querySelector(e);if(t){if(e.startsWith("wm-")){a=ea(t)}else{a=t}}}}));return a}function ta(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null){return true}if(e.disabled){return false}switch(e.nodeName){case"A":return!!e.href&&e.rel!="ignore";case"INPUT":return e.type!="hidden"&&e.type!="file";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 true;default:return false}}function aa(e){if(ta(e)){return ea(e)}else if(e.childNodes.length>0){e.childNodes.forEach((function(e){var t=aa(e);return t&&ea(t)}))}}function ra(e,t){var a=t.split(" ");var r=e.name&&e.name.split(".");var i=r&&r.length>1&&r[r.length-1];return i?a.includes(i.toLowerCase()):!!e.type?ia(a).includes(e.type):true}function ia(e){var 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((function(e,a){return e.concat(t[a])}),[])}function na(e){var t=/^([a-z0-9]*)(_[a-z0-9]*)*$/g;if(t.test(e)){var a="";var r=e.split("_");r.forEach((function(e,t){a+=t===0?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1)}));return a}else{return e}}function oa(e,t,a){var r=e;if(t==="ArrowDown"){r=(e+1)%a}if(t==="ArrowUp"){r=e===0?a-1:e-1}return r}function la(e,t){var a=t.split(" ");return e.relatedTarget&&a.includes(e.relatedTarget.id)}function ua(e){return e=="false"?false:!!e}}}}));
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as i,g as s}from"./p-b3c71506.js";import{i as a}from"./p-de3367ee.js";let o=class{constructor(t){e(this,t),this.heading="",this.subheading="",this.closeTooltipMessage=a.formatMessage({id:"global.closeVerb",defaultMessage:"Close",description:"For a button, to close a user interface element"})}componentWillLoad(){this.uid=this.el.parentElement.uid,this.el.parentElement.addEventListener("focusFirstElement",(()=>{this.closeButtonEl.focus()}))}emitParentCloseEvent(){this.el.parentElement.emitCloseEvent()}render(){return t(i,null,t("div",{class:"wm-wrapper"},t("div",null,t("h2",{class:"title",id:`wm-modal-heading-text-${this.uid}`},this.heading,t("span",{class:"subtitle"},this.subheading))),t("wm-button",{"button-type":"navigational",icon:"f156",tooltip:this.closeTooltipMessage,"tooltip-position":"left",id:`wm-modal-close-${this.uid}`,ref:e=>this.closeButtonEl=e,onClick:()=>this.emitParentCloseEvent()})))}get el(){return s(this)}};o.style="wm-modal-header{-webkit-border-radius:5px 5px 0 0px;-moz-border-radius:5px 5px 0 0px;-ms-border-radius:5px 5px 0 0px;border-radius:5px 5px 0 0px;margin-bottom:-1px}wm-modal-header .wm-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}wm-modal-header .wm-wrapper .title{margin:0;font-weight:600;font-size:1.125rem;color:#4a4a4a;line-height:normal}wm-modal-header .wm-wrapper .title .subtitle{display:block;font-size:0.875rem;font-weight:normal}wm-modal-header .wm-wrapper .title:focus{outline:none}";export{o as wm_modal_header}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,H as s,g as o,f as n}from"./p-b3c71506.js";import{i as a,r}from"./p-de3367ee.js";let l=class{constructor(e){t(this,e),this.wmNavigationStateChanged=i(this,"wmNavigationStateChanged",7),this.open=!1,this.isTabbing=!1,this.mainNavigationMessage=a.formatMessage({id:"navigation.mainNavigation",defaultMessage:"Main",description:"Label describing the site navigation, for screen reader users"}),this.openTooltipMessage=a.formatMessage({id:"global.openVerb",defaultMessage:"Open",description:"For a button, to open a user interface element"}),this.closeTooltipMessage=a.formatMessage({id:"global.closeVerb",defaultMessage:"Close",description:"For a button, to close a user interface element"}),this.throttledRerender=r((()=>n(this.el)),50)}get isCollapsible(){return window.innerWidth<1024}get ariaExpanded(){return this.isCollapsible?this.open.toString():void 0}toggleTabbingOn(){this.isTabbing=!0}toggleTabbingOff(){this.isTabbing=!1}closeOnEscape(t){"Escape"===t.key&&(this.open=!1)}handleWindowResize(){this.throttledRerender()}handleHamburgerClicked(){this.open=!this.open}handleClickOnItem(){this.open=!1}handleStateChange(){this.isCollapsible&&(this.wmNavigationStateChanged.emit(),this.open?this.expand():this.collapse())}componentWillLoad(){document.body.classList.contains("wmcl-user-is-tabbing")&&this.toggleTabbingOn(),this.el.focus=()=>{const t=this.open?this.el.shadowRoot.querySelector(".toggle"):document.querySelector("wm-navigation-hamburger"),i=this.el.querySelector("wm-navigation-item");this.isCollapsible?t.focus():i.focus()},this.isCollapsible&&this.open&&(this.wmNavigationStateChanged.emit(),this.expand())}redirectFocusFromBody(t){"BODY"!==document.activeElement.tagName||t.relatedTarget||this.el.focus()}expand(){document.body.tabIndex=0,document.body.addEventListener("focus",this.redirectFocusFromBody.bind(this),!0),setTimeout((()=>this.toggleEl.focus()),250)}collapse(){document.body.tabIndex=-1,document.body.removeEventListener("focus",this.redirectFocusFromBody.bind(this));const t=document.querySelector("wm-navigation-hamburger");t&&t.focus()}focusLastItem(){const t=this.el.querySelectorAll("wm-navigation-item");Array.from(t).pop().focus()}renderOverlay(){return e("div",{class:"overlay",onClick:()=>{this.open=!1}})}render(){return e(s,{role:"navigation","aria-expanded":this.ariaExpanded,"aria-label":this.mainNavigationMessage},this.open?this.renderOverlay():"",this.isCollapsible&&e("div",{class:"trapfocus",tabindex:this.open?0:void 0,onFocus:()=>this.focusLastItem()}),e("div",{class:"tray"},e("div",{class:"toggle-wrapper"},e("wm-button",{ref:t=>this.toggleEl=t,class:"toggle "+(this.isTabbing?"user-is-tabbing":""),"button-type":"navigational",icon:this.open?"f156":"f35c","icon-size":"2rem",tooltip:this.open?this.closeTooltipMessage:this.openTooltipMessage,"tooltip-position":"left",tabIndex:this.open?void 0:-1,onClick:()=>{this.open=!this.open}})),e("ul",{class:"navlist"},e("slot",null))),this.isCollapsible&&e("div",{class:"trapfocus",tabindex:this.open?0:void 0,onFocus:()=>this.toggleEl.focus()}))}get el(){return o(this)}static get watchers(){return{open:["handleStateChange"]}}};l.style=":host{z-index:10}:host([aria-expanded=true]){z-index:5000}.tray{-webkit-box-shadow:0 0 14px 0 rgba(0, 0, 0, 0.14);-moz-box-shadow:0 0 14px 0 rgba(0, 0, 0, 0.14);box-shadow:0 0 14px 0 rgba(0, 0, 0, 0.14);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:7.5625rem;background-color:#fff;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;font-size:0.875rem;height:100%}.navlist{margin:0;padding:0}.toggle-wrapper{display:none}@media screen and (max-width: 1023px){.tray{-ms-transition:transform 0.33s ease;-webkit-transition:transform 0.33s ease;-moz-transition:transform 0.33s ease;-webkit-transition:-webkit-transform 0.33s ease;transition:-webkit-transform 0.33s ease;transition:transform 0.33s ease;transition:transform 0.33s ease, -webkit-transform 0.33s ease;position:fixed;top:0;bottom:0;left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.tray ul{visibility:hidden}.tray .toggle-wrapper{display:inline-block;min-height:5rem;width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host([aria-expanded=true]) .tray{-webkit-transform:translateX(0);transform:translateX(0)}:host([aria-expanded=true]) .tray ul{visibility:visible}.overlay{width:100vw;height:100vh;max-width:none;max-height:none;position:fixed !important;top:0;bottom:0;left:0;right:0;-webkit-transform:translate(0%, 0%);transform:translate(0%, 0%);background-color:rgba(25, 25, 25, 0.4);-ms-transition:opacity 0.5s ease-out;-webkit-transition:opacity 0.5s ease-out;-moz-transition:opacity 0.5s ease-out;transition:opacity 0.5s ease-out}}";let h=class{constructor(e){t(this,e),this.wmNavigationHamburgerClicked=i(this,"wmNavigationHamburgerClicked",7),this.tooltipVisible=!1,this.isTabbing=!1,this.open=!1,this.showNavMessage=a.formatMessage({id:"navigation.showNavigation",defaultMessage:"Show navigation",description:"For user interface element opening a navigation menu"})}get tooltipEl(){return document.getElementById("wm-tooltip")}toggleTabbingOn(){this.isTabbing=!0}toggleTabbingOff(){this.isTabbing=!1}handleNavigationStateChanged(t){this.open=t.target.open}componentWillLoad(){this.el.focus=function(){this.shadowRoot.querySelector("button").focus(),requestAnimationFrame((()=>{this.tooltipVisible=!1}))},document.body.classList.contains("wmcl-user-is-tabbing")&&this.toggleTabbingOn(),this.navId||console.error("wm-navigation-hamburger: nav-id is a required prop")}showTooltip(){this.tooltipEl.textContent=this.showNavMessage,this.tooltipEl.style.top="1.125rem",this.tooltipEl.style.left="2.75rem",this.tooltipEl.style.transitionDelay="500ms",this.tooltipEl.style.opacity="1",setTimeout((()=>{this.tooltipVisible=!0}),500)}hideTooltip(){this.tooltipEl.style.transitionDelay="0s",this.tooltipEl.style.opacity="0",this.tooltipVisible=!1}showTooltipForKeyboardUsers(){this.isTabbing&&this.showTooltip()}handleClick(){this.hideTooltip(),this.wmNavigationHamburgerClicked.emit()}render(){return e(s,{class:"hamburger "+(this.open?"nav-open":"nav-closed")},e("button",{class:this.isTabbing?"user-is-tabbing":void 0,"aria-expanded":this.open,"aria-controls":this.navId,"aria-label":this.showNavMessage,onMouseEnter:()=>this.showTooltip(),onMouseLeave:()=>this.hideTooltip(),onFocus:()=>this.showTooltipForKeyboardUsers(),onBlur:()=>this.hideTooltip(),onClick:()=>this.handleClick()},e("span",{class:"icon"})))}get el(){return o(this)}};h.style='button{display:none;width:100%;height:100%;border:none;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:background-color 500ms cubic-bezier(0.4, 0, 0.2, 1);transition:background-color 500ms cubic-bezier(0.4, 0, 0.2, 1);background-color:transparent;outline:none;padding:0}button.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}button.user-is-tabbing:focus::-moz-focus-inner{border:0}button:hover{background-color:#d7d6d9}.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:"\\f35c";font-size:1.5rem;color:#575195}@media screen and (max-width: 1023px){:host{width:3.75rem;height:3.75rem}button{display:initial}}';let c=class{constructor(e){t(this,e),this.wmNavigationItemClicked=i(this,"wmNavigationItemClicked",7),this.isTabbing=!1}toggleTabbingOn(){this.isTabbing=!0}toggleTabbingOff(){this.isTabbing=!1}componentWillLoad(){this.el.focus=function(){this.shadowRoot.querySelector(".link").focus()},document.body.classList.contains("wmcl-user-is-tabbing")&&this.toggleTabbingOn()}render(){return e(s,{role:"listitem"},e("a",{class:`link ${this.active?"active":""} ${this.isTabbing?"user-is-tabbing":""}`,href:this.href,onClick:()=>this.wmNavigationItemClicked.emit()},e("div",{class:"icon","aria-hidden":"true"},e("slot",null)),e("div",{class:"text"},this.text)))}get el(){return o(this)}};c.style='.link{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;color:inherit;text-decoration:none;min-height:4.5rem;text-align:center;padding:1.25rem 0.5rem;font-weight:500;outline:none;position:relative}.link:hover{background-color:#f2f2f2}.link .icon{font-size:1.375rem;color:#6b6b6b}.link .text{font-size:0.875rem}.link.user-is-tabbing:focus{-webkit-box-shadow:inset 0 2px 2px 0 rgba(244, 243, 246, 0.2), inset 0 2px 2px 0 rgba(0, 0, 0, 0.1), inset 0 0 4px 3px #61279e;box-shadow:inset 0 2px 2px 0 rgba(244, 243, 246, 0.2), inset 0 2px 2px 0 rgba(0, 0, 0, 0.1), inset 0 0 4px 3px #61279e}.link.active{background-color:#e9e7ec}.link.active:before{content:"";background-color:#575195;position:absolute;height:100%;width:5px;left:0}.link.active .text{color:#575195}.link.active .icon{color:#575195}';export{l as wm_navigation,h as wm_navigation_hamburger,c as wm_navigation_item}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as a,g as o}from"./p-b3c71506.js";let r=class{constructor(a){t(this,a),this.buttonActivated=i(this,"buttonActivated",7),this.expanded=!1,this.altText="",this.isTabbing=!1}handleClick(){this.buttonActivated.emit()}render(){const{handleClick:t,altText:i}=this,o=this.isTabbing?"user-is-tabbing":"";return a("button",{"aria-expanded":this.expanded.toString(),class:`navigator ${o}`,onClick:t.bind(this),"aria-label":i})}get el(){return o(this)}};r.style=':host *,priv-navigator-button *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .navigator,priv-navigator-button .navigator{color:#575195;padding:0 1.25rem;position:static !important;height:100%;background:transparent;border:none;min-height:3.75rem;cursor:pointer;border-radius:0;top:50%}:host .navigator img,priv-navigator-button .navigator img{height:2.25rem;width:2.25rem;vertical-align:middle}:host .navigator:hover,priv-navigator-button .navigator:hover{background:#dcdbde}:host .navigator:active,:host .navigator:focus,priv-navigator-button .navigator:active,priv-navigator-button .navigator:focus{outline:none}:host .navigator.user-is-tabbing:focus,priv-navigator-button .navigator.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}:host .navigator.user-is-tabbing:focus::-moz-focus-inner,priv-navigator-button .navigator.user-is-tabbing:focus::-moz-focus-inner{border:0}:host button:after,priv-navigator-button button:after{vertical-align:middle;height:2.25rem;width:2.25rem;background-size:36px;display:inline-block;background-image:url(https://cdn.watermarkinsights.com/images/icons/appswitchericon_purple.svg);content:""}';export{r as priv_navigator_button}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,f as s,g as o}from"./p-b3c71506.js";import{i as a,l as r,u as n}from"./p-de3367ee.js";let h=class{constructor(s){t(this,s),this.cellTriggered=e(this,"cellTriggered",7),this.toggleButtonClicked=e(this,"toggleButtonClicked",7),this.popupClosed=e(this,"popupClosed",7),this.popupBlurred=e(this,"popupBlurred",7),this.disabled=!1,this.isExpanded=!1,this.view="day",this.date=new Date,this.selectedYear=this.date.getUTCFullYear(),this.selectedMonth=this.date.getUTCMonth()+1,this.selectedDay=this.date.getUTCDate(),this.monthInFocus=this.selectedMonth,this.yearInFocus=this.selectedYear,this.dayInFocus=this.selectedDay,this.monthNumInFocus=this.selectedMonth,this.parentId="",this.isTabbing=!1,this.popupClicked=!0,this.buttonClicked=!0,this.prevClicked=!0,this.nextClicked=!0,this.openUp=!1,this.calendar_months=[a.formatMessage({id:"date.january",defaultMessage:"January",description:"Month of the year"}),a.formatMessage({id:"date.february",defaultMessage:"February",description:"Month of the year"}),a.formatMessage({id:"date.march",defaultMessage:"March",description:"Month of the year"}),a.formatMessage({id:"date.april",defaultMessage:"April",description:"Month of the year"}),a.formatMessage({id:"date.may",defaultMessage:"May",description:"Month of the year"}),a.formatMessage({id:"date.june",defaultMessage:"June",description:"Month of the year"}),a.formatMessage({id:"date.july",defaultMessage:"July",description:"Month of the year"}),a.formatMessage({id:"date.august",defaultMessage:"August",description:"Month of the year"}),a.formatMessage({id:"date.september",defaultMessage:"September",description:"Month of the year"}),a.formatMessage({id:"date.october",defaultMessage:"October",description:"Month of the year"}),a.formatMessage({id:"date.november",defaultMessage:"November",description:"Month of the year"}),a.formatMessage({id:"date.december",defaultMessage:"December",description:"Month of the year"})],this.weekdays=[a.formatMessage({id:"date.sunday",defaultMessage:"Sunday"}),a.formatMessage({id:"date.monday",defaultMessage:"Monday"}),a.formatMessage({id:"date.tuesday",defaultMessage:"Tuesday"}),a.formatMessage({id:"date.wednesday",defaultMessage:"Wednesday"}),a.formatMessage({id:"date.thursday",defaultMessage:"Thursday"}),a.formatMessage({id:"date.friday",defaultMessage:"Friday"}),a.formatMessage({id:"date.saturday",defaultMessage:"Saturday"})],this.renderCalendarDate=(t,e)=>{let s=this.removeZeroes(String(t[1])),o=this.removeZeroes(String(t[2])),r=s===this.monthInFocus?"current-month":"";const n=t[0]+t[1]+t[2],h=this.isDateToday(t);return i("div",{role:"gridcell",id:`cell-${n}-${this.parentId}`,class:`date-cell ${r}`,"aria-selected":!1,"aria-label":`${h?`${a.formatMessage({id:"date.today",defaultMessage:"today",description:"calendar button"})}, `:""}${this.weekdays[e]}, ${this.calendar_months[s-1]} ${o}, ${t[0]}`,onClick:t=>{this.handleTriggeredDate(t.target)},onKeyDown:t=>this.trapFocusEnd(t),"data-month":t[1],"data-year":t[0],onBlur:t=>t.stopPropagation()},o)}}handleKey(t){switch(this.prevClicked=!1,this.nextClicked=!1,t.key){case"Enter":t.preventDefault(),!t.target.id.includes("popup-title")&&t.target.click();break;case"Escape":t.preventDefault(),this.isExpanded&&(t.stopPropagation(),this.closePopup(!0));break;case"PageUp":t.preventDefault(),this.backOneMonth();break;case"PageDown":t.preventDefault(),this.forwardOneMonth();break;case"Home":t.preventDefault(),this.unfocusCell(),this.dayInFocus=1,s(this.el);break;case"End":t.preventDefault(),this.unfocusCell(),this.dayInFocus=this.getMonthDays(this.monthInFocus,this.yearInFocus),s(this.el);break;case"ArrowLeft":if(t.preventDefault(),"day"===this.view)if(this.unfocusCell(),1===this.dayInFocus){const t=this.getPreviousMonth(this.monthInFocus,this.yearInFocus);this.monthInFocus=t.month,this.yearInFocus=t.year,this.dayInFocus=this.getMonthDays(this.monthInFocus,this.yearInFocus)}else this.dayInFocus-=1;else this.unfocusMonth(),0===this.monthNumInFocus?this.monthNumInFocus=11:this.monthNumInFocus-=1;break;case"ArrowRight":if(t.preventDefault(),"day"===this.view)if(this.unfocusCell(),this.dayInFocus===this.getMonthDays(this.monthInFocus,this.yearInFocus)){const t=this.getNextMonth(this.monthInFocus,this.yearInFocus);this.monthInFocus=t.month,this.yearInFocus=t.year,this.dayInFocus=1}else this.dayInFocus+=1;else this.unfocusMonth(),11===this.monthNumInFocus?this.monthNumInFocus=0:this.monthNumInFocus+=1;break;case"ArrowUp":if(t.preventDefault(),"day"===this.view)if(this.unfocusCell(),this.dayInFocus<8){const t=this.getPreviousMonth(this.monthInFocus,this.yearInFocus);this.monthInFocus=t.month,this.yearInFocus=t.year;const e=7-this.dayInFocus;this.dayInFocus=this.getMonthDays(this.monthInFocus,this.yearInFocus)-e}else this.dayInFocus-=7;else this.unfocusMonth(),this.monthNumInFocus<3?this.monthNumInFocus+=9:this.monthNumInFocus-=3;break;case"ArrowDown":if(t.preventDefault(),this.isExpanded)if("day"===this.view){if(!(document.activeElement.shadowRoot||document).activeElement.classList.contains("date-cell")){this.focusCell();break}this.unfocusCell();const t=this.getMonthDays(this.monthInFocus,this.yearInFocus)-7;if(this.dayInFocus>t){const e=this.getNextMonth(this.monthInFocus,this.yearInFocus);this.monthInFocus=e.month,this.yearInFocus=e.year,this.dayInFocus=this.dayInFocus-t}else this.dayInFocus+=7}else{const t=(document.activeElement.shadowRoot||document).activeElement;if("BUTTON"===t.tagName||t.id.includes("popup-title-year")){this.focusMonth();break}this.unfocusMonth(),this.monthNumInFocus>8?this.monthNumInFocus-=9:this.monthNumInFocus+=3}else this.openPopup()}}toggleTabbingOn(t){["Tab","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Enter"].includes(t.key)&&(this.isTabbing=!0)}toggleTabbingOff(){this.isTabbing=!1}blurHandler(t){this.popupClicked||this.buttonClicked||!this.isExpanded||(this.closePopup(),this.popupBlurred.emit({relatedTarget:t.target})),this.popupClicked=!1,this.buttonClicked=!1}handleBlurOnWindow(t){this.isExpanded&&(this.closePopup(),this.popupBlurred.emit({relatedTarget:t.target}))}componentDidUpdate(){this.handleSelectedDate(),this.isExpanded&&(this.prevClicked?this.prevButton.focus():this.nextClicked?this.nextButton.focus():"day"===this.view?this.focusCell():this.focusMonth())}componentDidLoad(){this.handleSelectedDate(),this.setDateValuesForView()}zeroPad(t,e){return String.prototype.padStart||(String.prototype.padStart=function(t,e){return(t-=this.length)>e.length&&(e+=e.repeat(t/e.length)),e.slice(0,t)+String(this)}),`${t.toString()}`.padStart(e,"0")}removeZeroes(t){return+t<10?+t.slice(1):+t}isDateToday(t){const e=new Date;return[e.getFullYear().toString(),(e.getMonth()+1).toString(),e.getDate().toString()].reduce(((e,i,s)=>e&&this.removeZeroes(t[s]).toString()===i),!0)}togglePopup(){this.isExpanded?this.closePopup():this.openPopup(),this.buttonClicked=!0}closePopup(t=!1){this.isExpanded=!1,this.popupEl.classList.remove("open"),window.setTimeout((()=>{this.popupEl.style.visibility="hidden"}),250),"day"===this.view&&this.unfocusCell(),this.monthInFocus=this.selectedMonth,this.yearInFocus=this.selectedYear,this.dayInFocus=this.selectedDay,this.changeView("day"),t&&this.buttonEl.focus()}openPopup(){this.panelPosition(),this.setDateValuesForView(),this.prevClicked=!1,this.nextClicked=!1,this.popupEl.style.visibility="visible",window.requestAnimationFrame((()=>{this.popupEl.classList.add("open")})),this.isExpanded=!0,this.focusCell()}getMonthDays(t,e){return 2===t?e%4==0?29:28:[4,6,9,11].includes(t)?30:31}getMonthFirstDay(t,e){return+new Date(e,t-1,1,12,0,0).getDay()+1}getPreviousMonth(t,e){return{month:t>1?t-1:12,year:t>1?e:e-1}}getNextMonth(t,e){return{month:t<12?t+1:1,year:t<12?e:e+1}}getCalendarDates(t,e){const i=this.getMonthDays(t,e),s=this.getMonthFirstDay(t,e)-1;let o=42-(s+i);o=o>6?o-7:o;const{month:a,year:r}=this.getPreviousMonth(t,e),{month:n,year:h}=this.getNextMonth(t,e),d=this.getMonthDays(a,r);return[...[...new Array(s).fill("1")].map(((t,e)=>{const i=e+1+(d-s);return[r.toString(),this.zeroPad(a,2),this.zeroPad(i,2)]})),...[...new Array(i).fill("1")].map(((i,s)=>{const o=s+1;return[e.toString(),this.zeroPad(t,2),this.zeroPad(o,2)]})),...[...new Array(o).fill("1")].map(((t,e)=>{const i=e+1;return[h.toString(),this.zeroPad(n,2),this.zeroPad(i,2)]}))]}forwardOneMonth(){this.unfocusCell();const t=this.getNextMonth(this.monthInFocus,this.yearInFocus);this.monthInFocus=t.month,this.yearInFocus=t.year;const e=this.getMonthDays(this.monthInFocus,this.yearInFocus);this.dayInFocus>this.getMonthDays(this.monthInFocus,this.yearInFocus)&&(this.dayInFocus=e),this.updateLiveRegion(`Displaying ${this.calendar_months[this.monthInFocus-1]}, ${this.yearInFocus}`)}backOneMonth(){this.unfocusCell();const t=this.getPreviousMonth(this.monthInFocus,this.yearInFocus);this.monthInFocus=t.month,this.yearInFocus=t.year;const e=this.getMonthDays(this.monthInFocus,this.yearInFocus);this.dayInFocus>this.getMonthDays(this.monthInFocus,this.yearInFocus)&&(this.dayInFocus=e),this.updateLiveRegion(`Viewing ${this.calendar_months[this.monthInFocus-1]}, ${this.yearInFocus}`)}handleTriggeredDate(t){this.cellTriggered.emit(t),this.closePopup(!0)}handleSelectedDate(){this.selectedDate&&this.selectedDate.removeAttribute("aria-selected"),this.selectedDate=this.getCellById(this.selectedYear,this.selectedMonth,this.selectedDay),this.selectedDate&&this.selectedDate.setAttribute("aria-selected","true")}getCellById(t,e,i){const s=t+this.zeroPad(e,2)+this.zeroPad(i,2);return this.el.querySelector(`#cell-${s}-${this.parentId}`)}unfocusCell(){this.getCellById(this.yearInFocus,this.monthInFocus,this.dayInFocus).tabIndex=-1}focusCell(){const t=this.getMonthDays(this.monthInFocus,this.yearInFocus);this.dayInFocus=this.dayInFocus>t?t:this.dayInFocus;const e=this.getCellById(this.yearInFocus,this.monthInFocus,this.dayInFocus);e&&(e.tabIndex=0,e.focus())}unfocusMonth(){this.el.querySelector(`#month-${this.monthNumInFocus}-${this.parentId}`).tabIndex=-1}focusMonth(){const t=this.el.querySelector(`#month-${this.monthNumInFocus}-${this.parentId}`);t.tabIndex=0,t.focus()}trapFocusLeft(t){t.shiftKey&&"Tab"===t.key&&(t.preventDefault(),this.focusCellInView())}trapFocusEnd(t){t.shiftKey||"Tab"!==t.key||(t.preventDefault(),this.prevButton.focus())}trapFocusRight(t){t.shiftKey||"Tab"!==t.key||(t.preventDefault(),this.focusCellInView())}focusCellInView(){"day"===this.view?this.focusCell():this.focusMonth()}toggleBusyAttribute(t){this.el.querySelector("#wm-container").setAttribute("aria-busy",t)}setDateValuesForView(){this.selectedYear=this.date.getUTCFullYear(),this.selectedMonth=this.date.getUTCMonth()+1,this.selectedDay=this.date.getUTCDate(),this.monthInFocus=this.selectedMonth,this.yearInFocus=this.selectedYear,this.dayInFocus=this.selectedDay,this.monthNumInFocus=this.selectedMonth-1}updateLiveRegion(t){this.el.querySelector("#live-region").innerHTML=t}panelPosition(){let t=document.getElementById(this.parentId);const e=t.shadowRoot.querySelector(".label-wrapper").clientHeight;this.openUp=r(t,this.popupEl,e),n(t,336)?(this.popupEl.style.left="0",this.popupEl.style.right="auto"):(this.popupEl.style.right="0",this.popupEl.style.left="auto")}changeView(t){this.view=t,this.monthNumInFocus=this.monthInFocus-1}renderMonths(t,e){return i("div",{id:`month-${e}-${this.parentId}`,class:"month "+(this.selectedMonth-1===e?"selected":""),role:"gridcell",tabindex:e+1===this.monthInFocus?0:-1,onKeyDown:t=>this.trapFocusEnd(t),onBlur:t=>t.stopPropagation(),onClick:()=>{this.monthInFocus=e+1,this.changeView("day")}},t)}render(){const t=this.getCalendarDates(this.monthInFocus,this.yearInFocus);return i("div",{class:"container",id:"wm-container"},i("button",{disabled:this.disabled,onClick:this.togglePopup.bind(this),"aria-describedby":`date-input-${this.parentId}`,ref:t=>this.buttonEl=t,"aria-expanded":`${this.isExpanded}`,class:"toggle",id:`toggle-${this.parentId}`},i("span",{class:"calendar",title:a.formatMessage({id:"date.calendarView",defaultMessage:"Calendar View",description:"Calendar button"})})),i("div",{class:`popup ${this.view}-view ${this.openUp?"expand-upwards":""} ${this.isTabbing?"user-is-tabbing":""}`,id:`popup-${this.parentId}`,ref:t=>this.popupEl=t,onClick:()=>this.popupClicked=!0,role:"application","aria-describedby":"application"},"day"===this.view?i("div",{class:"day-view"},i("div",{class:"calendar-header"},i("button",{onClick:()=>{this.prevClicked=!0,this.popupClicked=!0,this.backOneMonth()},onKeyDown:t=>this.trapFocusLeft(t),ref:t=>this.prevButton=t,class:"arw-btn","aria-label":a.formatMessage({id:"date.selectPreviousMonth",defaultMessage:"Select previous month",description:"Calendar button"})},i("span",{class:"mdi"},"")),i("div",{id:`popup-title-month-${this.parentId}`,class:"title-box",tabindex:0,role:"button",onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.changeView("month"))},onClick:this.changeView.bind(this,"month"),"aria-label":`${a.formatMessage({id:"date.currentMonth",defaultMessage:"current month",description:"Calendar button"})}: ${this.calendar_months[this.monthInFocus-1]}\n ${this.yearInFocus}.`,"aria-describedby":"month-title"},i("span",{class:"title","aria-hidden":"true"},this.calendar_months[this.monthInFocus-1]," ",this.yearInFocus)),i("button",{onClick:()=>{this.nextClicked=!0,this.popupClicked=!0,this.forwardOneMonth()},onKeyDown:t=>this.trapFocusRight(t),"aria-label":a.formatMessage({id:"date.selectNextMonth",defaultMessage:"Select next month",description:"Calendar button"}),ref:t=>this.nextButton=t,class:"arw-btn"},i("span",{class:"mdi"},""))),i("div",{"aria-labelledby":`popup-title-month-${this.parentId}`,role:"grid",class:"date-grid"},i("div",{role:"rowgroup",class:"date-header"},i("div",{role:"row",class:"header-row"},i("div",{role:"columnheader",class:"header-cell"},i("span",null,a.formatMessage({id:"date.su",defaultMessage:"Su",description:"Abbreviated day of the week"}))),i("div",{role:"columnheader",class:"header-cell"},i("span",null,a.formatMessage({id:"date.mo",defaultMessage:"Mo",description:"Abbreviated day of the week"}))),i("div",{role:"columnheader",class:"header-cell"},i("span",null,a.formatMessage({id:"date.tu",defaultMessage:"Tu",description:"Abbreviated day of the week"}))),i("div",{role:"columnheader",class:"header-cell"},i("span",null,a.formatMessage({id:"date.we",defaultMessage:"We",description:"Abbreviated day of the week"}))),i("div",{role:"columnheader",class:"header-cell"},i("span",null,a.formatMessage({id:"date.th",defaultMessage:"Th",description:"Abbreviated day of the week"}))),i("div",{role:"columnheader",class:"header-cell"},i("span",null,a.formatMessage({id:"date.fr",defaultMessage:"Fr",description:"Abbreviated day of the week"}))),i("div",{role:"columnheader",class:"header-cell"},i("span",null,a.formatMessage({id:"date.sa",defaultMessage:"Sa",description:"Abbreviated day of the week"}))))),i("div",{role:"rowgroup"},i("div",{role:"row",class:"date-row"},t.slice(0,7).map(((t,e)=>this.renderCalendarDate(t,e)))),i("div",{role:"row"},t.slice(7,14).map(((t,e)=>this.renderCalendarDate(t,e)))),i("div",{role:"row"},t.slice(14,21).map(((t,e)=>this.renderCalendarDate(t,e)))),i("div",{role:"row"},t.slice(21,28).map(((t,e)=>this.renderCalendarDate(t,e)))),i("div",{role:"row"},t.slice(28,35).map(((t,e)=>this.renderCalendarDate(t,e)))),t.length>35?i("div",{role:"row"},t.slice(35).map(((t,e)=>this.renderCalendarDate(t,e)))):""))):i("div",{class:"month-view"},i("div",{class:"calendar-header"},i("button",{onClick:()=>{this.prevClicked=!0,this.popupClicked=!0,this.yearInFocus-=1,this.updateLiveRegion(`${this.yearInFocus} selected.`)},onKeyDown:t=>this.trapFocusLeft(t),"aria-label":a.formatMessage({id:"date.selectPreviousYear",defaultMessage:"Select previous year",description:"Calendar button"}),ref:t=>this.prevButton=t,class:"arw-btn"},i("span",{class:"mdi"},"")),i("div",{id:`popup-title-year-${this.parentId}`,tabindex:0,class:"title-box year",role:"button",onClick:this.changeView.bind(this,"day"),onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.changeView("day"))},"aria-labelledby":"year-title"},i("span",{class:"title"},this.yearInFocus)),i("button",{onClick:()=>{this.nextClicked=!0,this.popupClicked=!0,this.yearInFocus+=1,this.updateLiveRegion(`${this.yearInFocus} selected.`)},"aria-label":a.formatMessage({id:"date.selectNextYear",defaultMessage:"Select next year",description:"Calendar button"}),onKeyDown:t=>this.trapFocusRight(t),ref:t=>this.nextButton=t,class:"arw-btn"},i("span",{class:"mdi"},""))),i("div",{"aria-labelledby":`popup-title-year-${this.parentId}`,role:"grid",class:"months"},i("div",{role:"row",class:"month-row"},this.calendar_months.slice(0,3).map(((t,e)=>this.renderMonths(t,e)))),i("div",{role:"row",class:"month-row"},this.calendar_months.slice(3,6).map(((t,e)=>this.renderMonths(t,e+3)))),i("div",{role:"row",class:"month-row"},this.calendar_months.slice(6,9).map(((t,e)=>this.renderMonths(t,e+6)))),i("div",{role:"row",class:"month-row"},this.calendar_months.slice(9).map(((t,e)=>this.renderMonths(t,e+9))))))),this.isExpanded&&i("div",{id:"live-region","aria-live":"polite","aria-relevant":"text",class:"sr-only"}),i("div",{id:"month-title",class:"sr-only"},a.formatMessage({id:"date.selectMonth",defaultMessage:"Activate to select a month.",description:"Calendar button"})),i("div",{id:"year-title",class:"sr-only"},a.formatMessage({id:"date.selectYear",defaultMessage:"Activate to select a year.",description:"Calendar button"})),i("div",{id:"application",class:"sr-only"},a.formatMessage({id:"date.instructions",defaultMessage:"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."})))}get el(){return o(this)}};h.style='.toggle{all:unset;cursor:pointer;padding:0 0.375rem;height:2.375rem;border:none;-moz-border-top-right-radius:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-moz-border-bottom-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-moz-border-top-left-radius:0;-webkit-border-top-left-radius:0;border-top-left-radius:0;-moz-border-bottom-left-radius:0;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background-color:#fff}.toggle:disabled{pointer-events:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background-color:rgba(74, 74, 74, 0.05)}.toggle:disabled .calendar::after{color:#7b7b7b}.toggle:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;background:#e6e6e6}.toggle:hover .calendar::after{color:#575195}[dir=RTL] .toggle{right:auto;left:0}.toggle span::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:"\\f0ed";font-size:1.5rem;color:#575195;padding:0;line-height:2.5rem}.toggle:focus{outline:none}.toggle::-moz-focus-inner{border:0}.user-is-tabbing .toggle: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}.user-is-tabbing .toggle:focus::-moz-focus-inner{border:0}.popup{visibility:hidden;font-family:inherit;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;-webkit-box-shadow:0px 4px 15px 0px rgba(0, 0, 0, 0.2);-moz-box-shadow:0px 4px 15px 0px rgba(0, 0, 0, 0.2);box-shadow:0px 4px 15px 0px rgba(0, 0, 0, 0.2);width:21rem;z-index:10;position:absolute;left:0;top:40px;min-height:21.0625rem;-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;-webkit-transform-origin:center top;transform-origin:center top;-webkit-transform:scale(1, 0);transform:scale(1, 0);background-color:#fff}.popup.open{-webkit-transform:scale(1, 1);transform:scale(1, 1)}.popup.expand-upwards{top:auto;bottom:2.375rem;-webkit-transform-origin:center bottom;transform-origin:center bottom}.popup .calendar-header{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;position:relative;padding:0.9375rem 0.25rem}.popup .calendar-header .title-box{height:2.625rem;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;border:1px solid;font-weight:500;font-size:0.875rem;background:transparent;cursor:pointer;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;padding:0 0.375rem 0 0.75rem;border-color:#575195;color:#575195}.popup .calendar-header .title-box: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:"\\f140";padding-left:0.75rem}.popup .calendar-header .title-box.year:after{content:"\\f143"}.popup .calendar-header .title-box::-moz-focus-inner{border:0}.popup .calendar-header .title-box:focus{outline:none}.popup .calendar-header .arw-btn{cursor:pointer;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%;width:2.75rem;height:2.75rem;border:none;color:#575195;background:transparent;padding:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;line-height:2.75rem}.popup .calendar-header .arw-btn .mdi{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;font-size:1.5rem;font-weight:normal;line-height:2.75rem}.popup .calendar-header .arw-btn .mdi:hover{background-color:#efeef1}.popup .calendar-header .arw-btn:focus{outline:none}.popup .calendar-header .arw-btn:active{-ms-transform:scale(0.9, 0.9);-webkit-transform:scale(0.9, 0.9);-moz-transform:scale(0.9, 0.9);transform:scale(0.9, 0.9);background-color:#d7d6d9}.popup .day-view{min-width:100%}.popup .day-view .date-grid{width:100%;text-align:center;border-collapse:collapse;margin-bottom:0.4375rem;color:#757575}.popup .day-view .date-grid .date-row:first-child .date-cell{margin-top:0.125rem}.popup .day-view .date-grid .date-header{background-color:#eeedf4}.popup .day-view .date-grid .header-cell{height:2.0625rem;line-height:2.0625rem;width:2.75rem;margin:0 calc((14.28% - 44px) / 2);padding:0;display:inline-block;font-size:0.8125rem;font-weight:bold;color:#4a4a4a;border:none}.popup .day-view .date-grid .date-cell{cursor:pointer;display:inline-block;padding:0;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;border-radius:50%;height:2.75rem;width:2.75rem;margin:0 calc((14.28% - 44px) / 2);font-size:0.875rem;font-weight:500;line-height:2.75rem}.popup .day-view .date-grid .date-cell:focus{outline:none}.popup .day-view .date-grid .date-cell:hover{background-color:#efeef1}.popup .day-view .date-grid .date-cell:active{background-color:#575195;color:#ffffff}.popup .day-view .date-grid .date-cell.current-month{color:#4a4a4a}.popup .day-view .date-grid .date-cell.current-month[aria-selected=true]{background-color:#575195;color:#ffffff}.popup .month-view .months{border-top:2px solid;border-top-color:#eeedf4;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.popup .month-view .month-row{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;width:100%;border-bottom:2px solid;border-bottom-color:#eeedf4}.popup .month-view .month{cursor:pointer;text-align:center;width:100%;height:4rem;line-height:4rem;font-weight:500;color:#575195}.popup .month-view .month:not(:last-child){border-right:2px solid;border-right-color:#eeedf4}.popup .month-view .month:focus{outline:none}.popup .month-view .month:hover{background-color:#efeef1}.popup .month-view .month:active,.popup .month-view .month.selected{background-color:#575195;color:#ffffff}.popup.user-is-tabbing button:focus,.popup.user-is-tabbing .title-box:focus,.popup.user-is-tabbing .date-cell:focus,.popup.user-is-tabbing .month: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;border:none;z-index:11}.popup.user-is-tabbing button:focus::-moz-focus-inner,.popup.user-is-tabbing .title-box:focus::-moz-focus-inner,.popup.user-is-tabbing .date-cell:focus::-moz-focus-inner,.popup.user-is-tabbing .month:focus::-moz-focus-inner{border:0}.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{h as priv_datepicker}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,H as s,g as a,f as o}from"./p-b3c71506.js";import{d as n,g as r}from"./p-de3367ee.js";let h=class{constructor(e){t(this,e),this.wmTabSelected=i(this,"wmTabSelected",7),this.tabSelected=i(this,"tabSelected",7),this.keydownOnTabItem=i(this,"keydownOnTabItem",7),this.tabItemLoaded=i(this,"tabItemLoaded",7),this.selected=!1,this.show=!0,this.tabId="",this.tabClicked=t=>{t.preventDefault(),this.wmTabSelected.emit({tabId:this.tabId}),this.tabSelected.emit({tabId:this.tabId})},this.tabPressed=t=>{const i=t.key;"Enter"===i||" "===i?(t.preventDefault(),this.wmTabSelected.emit({tabId:this.tabId}),this.tabSelected.emit({tabId:this.tabId})):i.includes("Arrow")&&(t.preventDefault(),this.keydownOnTabItem.emit({tabItem:this.el,key:t.key}))}}get parentTabList(){return this.el.parentElement}toggleTabbingOn(){this.linkEl&&this.linkEl.classList.add("user-is-tabbing")}toggleTabbingOff(){this.linkEl&&this.linkEl.classList.remove("user-is-tabbing")}componentWillLoad(){this.el.focus=function(){const t=this.shadowRoot.querySelector("a");t&&t.focus()}}componentDidLoad(){this.tabItemLoaded.emit()}render(){let t=this.show?"":"hide ";t+=this.parentTabList&&"dark"==this.parentTabList.customBackground?"dark":"";let i={};const a=this.parentTabList&&this.parentTabList.customPadding;if(a){const t=2*parseInt(a,10)||0,e=a.split(/([0-9]+)/).pop();i={"padding-left":this.parentTabList.customPadding,"padding-right":this.parentTabList.customPadding,"background-size":`calc(100% - ${t}${e}) 3px`}}return e(s,{role:"presentation"},e("li",{class:"tab-item",role:"presentation"},e("a",{class:`tab ${t}`,style:i,role:"tab",ref:t=>this.linkEl=t,onClick:this.tabClicked,id:`tab-link-${this.tabId}`,onKeyDown:t=>this.tabPressed(t),"aria-selected":this.selected?"true":"false",tabindex:this.selected?0:-1},e("slot",null))))}get el(){return a(this)}};h.style=":host{font-family:inherit;display:inline-block}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .tab-item{list-style-type:none;height:100%;display:inline-block}:host .tab-item .tab{-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;color:#575195;text-decoration:none;letter-spacing:0.7px;font-size:0.875rem;font-weight:500;opacity:1;position:relative;text-transform:uppercase;display:inline-block;height:3.3333333333em;line-height:3.3333333333em;padding-right:1.5rem;padding-left:1.5rem}:host .tab-item .tab[aria-selected=true]{font-weight:700;opacity:1;background:-webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)) bottom/0 0 no-repeat;background:linear-gradient(currentColor, currentColor) bottom/0 0 no-repeat;background-size:calc(100% - 50px) 3px}:host .tab-item .tab[aria-selected=true].dark{color:#fff}:host .tab-item .tab,:host .tab-item .tab:hover,:host .tab-item .tab:active{outline:none}:host .tab-item .tab:focus{outline:none}:host .tab-item .tab.dark:not([aria-selected=true]){opacity:0.8;color:#fff}:host .tab-item .tab.user-is-tabbing:focus:not(:active){outline:none;-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}:host .tab-item .tab.user-is-tabbing:focus:not(:active)::-moz-focus-inner{border:0}:host.hide{display:none}";let b=class{constructor(e){t(this,e),this.wmTabSelected=i(this,"wmTabSelected",7),this.tabSelected=i(this,"tabSelected",7),this.controllerEnabled=!1,this.getSelectedTabItem=()=>this.tabItems.filter((t=>t.selected))[0],this.debouncedSetLayout=n((()=>{this.listWidth||this.setListWidth(),o(this.el)}),250)}get menuLayout(){return!!this.listWidth&&this.el.offsetWidth<this.listWidth-24}get tabItems(){return Array.from(this.el.querySelectorAll("wm-tab-item"))}getLinkEl(t){return t.shadowRoot.querySelector("a")}get panels(){const t=Array.from(document.querySelectorAll("wm-tab-panel")),i=this.tabItems.map((t=>t.tabId));return t.filter((t=>i.includes(t.tabId)))}getPanel(t){return this.panels.find((i=>i.tabId===t))}setListWidth(){let t=this.tabItems.reduce(((t,i)=>t+i.offsetWidth),0);this.listWidth=t&&t>0?t:this.listWidth}setSelected(t){if(this.tabItems.map((i=>i.selected=i.tabId===t)),1===this.panels.length&&this.tabItems.length>1){const t=this.getSelectedTabItem();this.setAttributesOnPanel(this.panels[0],t),this.panels[0].active=!0}else this.panels.map((i=>i.active=i.tabId===t))}showItems(){this.tabItems.map((t=>t.show=!0))}hideItems(){this.tabItems.map((t=>t.show=!1))}componentWillLoad(){this.el.focus=function(){const t=Array.from(this.querySelectorAll("wm-tab-item")).filter((t=>t.selected))[0];t&&t.focus()}}componentDidLoad(){this.setLayout(),this.setSelected(this.selectedTab||this.tabItems[0].tabId)}tabItemLoaded(t){this.setAriaOnPanelAndTab(t.target)}setAriaOnPanelAndTab(t){const i=this.getPanel(t.tabId);i?(this.setAttributesOnPanel(i,t),this.setAttributesOnTab(t,i)):1===this.panels.length&&this.setAttributesOnTab(t,this.panels[0])}setAttributesOnTab(t,i){const e=this.getLinkEl(t);e&&(e.setAttribute("aria-controls",i.id),e.setAttribute("href",`#${i.id}`))}removeAttributesOnTab(t){const i=this.getLinkEl(t);i&&(i.removeAttribute("aria-controls"),i.removeAttribute("href"))}setAttributesOnPanel(t,i){const e=this.getLinkEl(i);e&&(t.setAttribute("aria-labelledby",e.id),t.setAttribute("tab-id",i.tabId))}handleTabSelected(t){this.controllerEnabled&&this.setSelected(t.detail.tabId)}handleKeydown(t){const i=t.detail.key,e=this.tabItems.indexOf(t.detail.tabItem);"ArrowLeft"!==i&&"ArrowRight"!==i||this.handleLeftRightArrow(e,i),"ArrowDown"!==i&&"ArrowUp"!==i||this.handleUpDownArrow(i)}handleLeftRightArrow(t,i){i&&(t="ArrowLeft"===i?t-1:t+1),t<0?t=this.tabItems.length-1:t===this.tabItems.length&&(t=0),this.getLinkEl(this.tabItems[t]).focus()}handleUpDownArrow(t){if("ArrowDown"===t&&this.selectedTab){const t=this.getPanel(this.selectedTab);t&&t.focus()}}setLayout(){this.debouncedSetLayout()}renderMenuOrTabs(){if(this.menuLayout)return this.hideItems(),e("wm-select",{label:"Tab Selection","label-position":"none"},this.renderOptions());{this.showItems();let t={};return this.customPadding&&(t={"margin-left":"-"+this.customPadding}),e("ul",{class:`tabcontainer ${this.customBackground||""}`,style:t,role:"tablist"},e("slot",null))}}renderOptions(){return this.tabItems.map((t=>e("wm-option",{id:`tab-link-${t.tabId}`,selected:t.tabId===this.selectedTab,onClick:i=>{i.preventDefault(),this.wmTabSelected.emit({tabId:t.tabId}),this.tabSelected.emit({tabId:t.tabId})}},t.textContent)))}render(){return e(s,{class:this.menuLayout?"menu":""},this.renderMenuOrTabs())}get el(){return a(this)}static get watchers(){return{selectedTab:["setSelected"]}}};b.style=":host,wm-tab-list{position:relative;white-space:nowrap;height:100%;display:block}:host *,wm-tab-list *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .tabcontainer,wm-tab-list .tabcontainer{margin:0;margin-left:-24px;width:100%;height:4.0625rem;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;padding:0}:host .tabcontainer.dark,wm-tab-list .tabcontainer.dark{background:#353b48;margin:0}:host wm-select,wm-tab-list wm-select{padding:0.375rem 0}";let l=class{constructor(e){t(this,e),this.tabPanelLoaded=i(this,"tabPanelLoaded",7),this.active=!1,this.tabId=""}componentWillLoad(){!this.el.id&&this.el.setAttribute("id",r())}componentDidLoad(){this.tabPanelLoaded.emit({tabId:this.tabId})}toggleTabbingOn(){this.el.classList.add("user-is-tabbing")}toggleTabbingOff(){this.el.classList.remove("user-is-tabbing")}render(){return e(s,{role:"tabpanel","aria-hidden":this.active?"false":"true",class:{"tab-hidden":!this.active},onBlur:()=>this.el.tabIndex=-1,tabIndex:-1})}get el(){return a(this)}};l.style="wm-tab-panel{visibility:inherit}wm-tab-panel.tab-hidden{display:none}wm-tab-panel:active{outline:none}wm-tab-panel:focus{outline:none}wm-tab-panel.user-is-tabbing:focus{outline:-webkit-focus-ring-color auto 5px}";export{h as wm_tab_item,b as wm_tab_list,l as wm_tab_panel}
@@ -1 +0,0 @@
1
- import{r,f as e,h as p,H as o,g as t,c as n}from"./p-b3c71506.js";import{g as a,i as s,d as i}from"./p-de3367ee.js";import{t as m,h as c,g as w,a as l,b as g,r as h,c as d,e as b}from"./p-4ecd3430.js";let u=class{constructor(e){r(this,e),this.showLegend=!0,this.isTabbing=!1,this.userIsNavigating=!1,this.uid=a(),this.slicesData=[],this.chartLabelMessage=s.formatMessage({id:"chart.interactiveChart",defaultMessage:"Interactive chart. Use arrow keys to browse elements, press Tab to exit."})}get popoverEl(){return this.el.shadowRoot.querySelector("priv-chart-popover")}get sliceEls(){return Array.from(this.el.shadowRoot.querySelectorAll(".segment"))}get chartData(){return this.mode?m[this.mode]:void 0}get ariaLabelText(){let r=`${this.label}, ${this.chartLabelMessage}`;return this.subinfo&&(r+=` ${this.subinfo}`),r}toggleTabbingOn(){this.isTabbing=!0}toggleTabbingOff(){this.isTabbing=!1}handleKeydown(r){c.call(this,r)}componentWillLoad(){this.label||console.error("For accessibility purposes, you must provide a label for the chart. See https://components.watermarkinsights.com/chart for more information."),2!==this.el.children.length&&console.warn("wm-progress-indicator component must have 2 wm-progress-slice children."),this.el.parentElement.addEventListener("wmProgressMonitorModeChange",(r=>this.mode=r.detail))}async handleSliceUpdate(){await w.call(this,this.mode),e(this.el)}handleModeUpdate(){this.mode&&w.call(this,this.mode)}renderBarOrDoughnut(){return this.total>0&&"bar"===this.mode?l.call(this,this.mode):g.call(this,this.mode)}render(){return p(o,{role:"application","aria-label":this.ariaLabelText,tabindex:"0",onBlur:()=>b.call(this)},p("div",{class:`component-wrapper ${this.mode} ${this.isTabbing&&!this.userIsNavigating?"user-is-tabbing":""}`},p("label",{class:"label",id:`label-${this.uid}`,htmlFor:`graphic-${this.uid}`},p("span",{class:"label-text"},this.label),this.subinfo?p("span",{class:"subinfo"},this.subinfo):""),"bar"===this.mode?h.call(this):"",this.mode&&this.renderBarOrDoughnut(),"doughnut"===this.mode?h.call(this):"",p("priv-chart-popover",{class:this.isTabbing?"user-is-tabbing":""}),"doughnut"===this.mode?d.call(this):""))}get el(){return t(this)}static get watchers(){return{mode:["handleModeUpdate"]}}};u.style=":host .component-wrapper,wm-progress-indicator .component-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;font-size:0.875rem;position:relative;}:host .component-wrapper .label,wm-progress-indicator .component-wrapper .label{display:block;margin:0;padding-bottom:0.25rem;font-weight:500;position:relative}:host .component-wrapper .label .subinfo,wm-progress-indicator .component-wrapper .label .subinfo{display:block;font-weight:normal;font-style:italic;bottom:0.25rem;width:100%;color:#6b6b6b}:host .component-wrapper .legend-wrapper,wm-progress-indicator .component-wrapper .legend-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center}:host .component-wrapper .legend-wrapper .legend,wm-progress-indicator .component-wrapper .legend-wrapper .legend{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;text-align:center;padding-top:0.25rem;padding-bottom:0.75rem;-webkit-box-sizing:border-box;box-sizing:border-box}:host .component-wrapper .legend-wrapper .legend.--top,wm-progress-indicator .component-wrapper .legend-wrapper .legend.--top{margin-top:-0.75rem}:host .component-wrapper .legend-wrapper .legend.--top .legend-item,wm-progress-indicator .component-wrapper .legend-wrapper .legend.--top .legend-item{padding-top:0.75rem}:host .component-wrapper .legend-wrapper .legend.--top .legend-color,wm-progress-indicator .component-wrapper .legend-wrapper .legend.--top .legend-color{top:0.75rem}:host .component-wrapper .legend-wrapper .legend.--bottom,wm-progress-indicator .component-wrapper .legend-wrapper .legend.--bottom{margin-bottom:-0.75rem}:host .component-wrapper .legend-wrapper .legend.--bottom .legend-item,wm-progress-indicator .component-wrapper .legend-wrapper .legend.--bottom .legend-item{padding-bottom:0.75rem}:host .component-wrapper .legend-wrapper .legend.--bottom .legend-color,wm-progress-indicator .component-wrapper .legend-wrapper .legend.--bottom .legend-color{top:-0.75rem}:host .component-wrapper .legend-wrapper .legend .legend-item,wm-progress-indicator .component-wrapper .legend-wrapper .legend .legend-item{position:relative}:host .component-wrapper .legend-wrapper .legend .legend-item:not(:last-of-type),wm-progress-indicator .component-wrapper .legend-wrapper .legend .legend-item:not(:last-of-type){padding-right:1.25rem}:host .component-wrapper .legend-wrapper .legend .legend-text,wm-progress-indicator .component-wrapper .legend-wrapper .legend .legend-text{padding-left:1rem;line-height:1}:host .component-wrapper .legend-wrapper .legend .legend-color,wm-progress-indicator .component-wrapper .legend-wrapper .legend .legend-color{position:absolute;left:0;bottom:0;margin:auto;width:0.6875rem;height:0.6875rem}:host .component-wrapper .legend-wrapper .cluster-warning,wm-progress-indicator .component-wrapper .legend-wrapper .cluster-warning{font-size:0.75rem;font-style:italic;max-width:100%}:host .component-wrapper .doughnut-svg,wm-progress-indicator .component-wrapper .doughnut-svg,:host .component-wrapper .inner-bar-wrapper,wm-progress-indicator .component-wrapper .inner-bar-wrapper{overflow:visible}:host .component-wrapper .bar-wrapper,wm-progress-indicator .component-wrapper .bar-wrapper{-ms-flex-positive:1;flex-grow:1;width:100%}:host .component-wrapper .bar-wrapper .inner-bar-wrapper,wm-progress-indicator .component-wrapper .bar-wrapper .inner-bar-wrapper{width:100%}:host .component-wrapper .bar-wrapper .inner-bar-wrapper .values,wm-progress-indicator .component-wrapper .bar-wrapper .inner-bar-wrapper .values{display:-ms-flexbox;display:flex}:host .component-wrapper .bar-wrapper .inner-bar-wrapper .bar-segments-wrapper,wm-progress-indicator .component-wrapper .bar-wrapper .inner-bar-wrapper .bar-segments-wrapper{display:-ms-flexbox;display:flex}:host .component-wrapper .bar-wrapper .inner-bar-wrapper .bar-segments-wrapper .bar-segment,wm-progress-indicator .component-wrapper .bar-wrapper .inner-bar-wrapper .bar-segments-wrapper .bar-segment{height:30px;cursor:pointer}:host .component-wrapper .bar-wrapper .inner-bar-wrapper .bar-segments-wrapper .bar-segment:not(.zero):not(:last-of-type),wm-progress-indicator .component-wrapper .bar-wrapper .inner-bar-wrapper .bar-segments-wrapper .bar-segment:not(.zero):not(:last-of-type){margin-right:2px}:host .component-wrapper .doughnut-wrapper,wm-progress-indicator .component-wrapper .doughnut-wrapper{-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;border-radius:4px}:host .component-wrapper .doughnut-wrapper .doughnut-segment,wm-progress-indicator .component-wrapper .doughnut-wrapper .doughnut-segment{cursor:pointer}:host .component-wrapper .value,wm-progress-indicator .component-wrapper .value{display:inline-block;text-align:center}:host .component-wrapper .value:not(:last-of-type),wm-progress-indicator .component-wrapper .value:not(:last-of-type){margin-right:2px}:host .component-wrapper path:active,wm-progress-indicator .component-wrapper path:active,:host .component-wrapper path:hover,wm-progress-indicator .component-wrapper path:hover,:host .component-wrapper path:focus,wm-progress-indicator .component-wrapper path:focus,:host .component-wrapper .bar-segment:active,wm-progress-indicator .component-wrapper .bar-segment:active,:host .component-wrapper .bar-segment:hover,wm-progress-indicator .component-wrapper .bar-segment:hover,:host .component-wrapper .bar-segment:focus,wm-progress-indicator .component-wrapper .bar-segment:focus{outline:none}:host .component-wrapper .bar-segment:active.bar-segment,wm-progress-indicator .component-wrapper .bar-segment:active.bar-segment,:host .component-wrapper .bar-segment:hover.bar-segment,wm-progress-indicator .component-wrapper .bar-segment:hover.bar-segment,:host .component-wrapper .bar-segment:focus.bar-segment,wm-progress-indicator .component-wrapper .bar-segment:focus.bar-segment{-webkit-box-shadow:0px 0px 6px #333;-moz-box-shadow:0px 0px 6px #333;box-shadow:0px 0px 6px #333}:host .component-wrapper path:active.doughnut-segment,wm-progress-indicator .component-wrapper path:active.doughnut-segment,:host .component-wrapper path:hover.doughnut-segment,wm-progress-indicator .component-wrapper path:hover.doughnut-segment,:host .component-wrapper path:focus.doughnut-segment,wm-progress-indicator .component-wrapper path:focus.doughnut-segment,:host .component-wrapper .bar-segment:active.doughnut-segment,wm-progress-indicator .component-wrapper .bar-segment:active.doughnut-segment,:host .component-wrapper .bar-segment:hover.doughnut-segment,wm-progress-indicator .component-wrapper .bar-segment:hover.doughnut-segment,:host .component-wrapper .bar-segment:focus.doughnut-segment,wm-progress-indicator .component-wrapper .bar-segment:focus.doughnut-segment{-webkit-filter:url(#wmHoverDropShadow);filter:url(#wmHoverDropShadow)}:host .component-wrapper path::-moz-focus-inner,wm-progress-indicator .component-wrapper path::-moz-focus-inner,:host .component-wrapper .bar-segment::-moz-focus-inner,wm-progress-indicator .component-wrapper .bar-segment::-moz-focus-inner{border:0;outline:none}:host .component-wrapper.doughnut,wm-progress-indicator .component-wrapper.doughnut{width:300px}:host .component-wrapper.doughnut1 label,wm-progress-indicator .component-wrapper.doughnut1 label,:host .component-wrapper.doughnut1 .label-text,wm-progress-indicator .component-wrapper.doughnut1 .label-text,:host .component-wrapper.doughnut2 label,wm-progress-indicator .component-wrapper.doughnut2 label,:host .component-wrapper.doughnut2 .label-text,wm-progress-indicator .component-wrapper.doughnut2 .label-text,:host .component-wrapper.doughnut3 label,wm-progress-indicator .component-wrapper.doughnut3 label,:host .component-wrapper.doughnut3 .label-text,wm-progress-indicator .component-wrapper.doughnut3 .label-text{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .component-wrapper.doughnut0,wm-progress-indicator .component-wrapper.doughnut0,:host .component-wrapper.doughnut,wm-progress-indicator .component-wrapper.doughnut{-ms-flex-align:center;align-items:center}:host .component-wrapper.doughnut0 label,wm-progress-indicator .component-wrapper.doughnut0 label,:host .component-wrapper.doughnut label,wm-progress-indicator .component-wrapper.doughnut label{text-align:center;width:100%;padding-bottom:1.5rem}:host .component-wrapper.doughnut0 label .subinfo,wm-progress-indicator .component-wrapper.doughnut0 label .subinfo,:host .component-wrapper.doughnut label .subinfo,wm-progress-indicator .component-wrapper.doughnut label .subinfo{position:absolute}:host .component-wrapper.doughnut0 .legend,wm-progress-indicator .component-wrapper.doughnut0 .legend,:host .component-wrapper.doughnut .legend,wm-progress-indicator .component-wrapper.doughnut .legend{display:-ms-flexbox;display:flex}:host .component-wrapper.doughnut0 .completion-message,wm-progress-indicator .component-wrapper.doughnut0 .completion-message,:host .component-wrapper.doughnut .completion-message,wm-progress-indicator .component-wrapper.doughnut .completion-message{padding-top:0.625rem}:host .component-wrapper.bar1,wm-progress-indicator .component-wrapper.bar1,:host .component-wrapper.bar,wm-progress-indicator .component-wrapper.bar{padding:1.25rem;-ms-flex-align:start;align-items:flex-start}:host .component-wrapper.bar1 label,wm-progress-indicator .component-wrapper.bar1 label,:host .component-wrapper.bar label,wm-progress-indicator .component-wrapper.bar label{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .component-wrapper.bar1 label .subinfo,wm-progress-indicator .component-wrapper.bar1 label .subinfo,:host .component-wrapper.bar label .subinfo,wm-progress-indicator .component-wrapper.bar label .subinfo{position:initial}:host .component-wrapper.bar1 .legend,wm-progress-indicator .component-wrapper.bar1 .legend,:host .component-wrapper.bar .legend,wm-progress-indicator .component-wrapper.bar .legend{display:none}:host .component-wrapper.bar1 .chart-wrapper,wm-progress-indicator .component-wrapper.bar1 .chart-wrapper,:host .component-wrapper.bar .chart-wrapper,wm-progress-indicator .component-wrapper.bar .chart-wrapper{display:-ms-flexbox;display:flex}:host .component-wrapper.bar1 .chart-wrapper .single-perc,wm-progress-indicator .component-wrapper.bar1 .chart-wrapper .single-perc,:host .component-wrapper.bar .chart-wrapper .single-perc,wm-progress-indicator .component-wrapper.bar .chart-wrapper .single-perc{width:4rem;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;height:30px;-ms-flex-align:center;align-items:center}:host .component-wrapper.bar1 .chart-wrapper .inner-bar-wrapper,wm-progress-indicator .component-wrapper.bar1 .chart-wrapper .inner-bar-wrapper,:host .component-wrapper.bar .chart-wrapper .inner-bar-wrapper,wm-progress-indicator .component-wrapper.bar .chart-wrapper .inner-bar-wrapper{-ms-flex:1;flex:1}:host .component-wrapper.bar1 .chart-wrapper .completion-message,wm-progress-indicator .component-wrapper.bar1 .chart-wrapper .completion-message,:host .component-wrapper.bar .chart-wrapper .completion-message,wm-progress-indicator .component-wrapper.bar .chart-wrapper .completion-message{width:100%;text-align:right;margin-top:0.25rem}@media screen and (min-width: 768px){:host .component-wrapper.bar1,wm-progress-indicator .component-wrapper.bar1,:host .component-wrapper.bar,wm-progress-indicator .component-wrapper.bar{-ms-flex-direction:row;flex-direction:row}:host .component-wrapper.bar1 label,wm-progress-indicator .component-wrapper.bar1 label,:host .component-wrapper.bar label,wm-progress-indicator .component-wrapper.bar label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;min-height:30px;width:12rem;text-align:left;padding-right:1.25rem;padding-bottom:0;-ms-flex:none;flex:none}:host .component-wrapper.bar1 .bar-wrapper,wm-progress-indicator .component-wrapper.bar1 .bar-wrapper,:host .component-wrapper.bar .bar-wrapper,wm-progress-indicator .component-wrapper.bar .bar-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host .component-wrapper.bar1 .bar-wrapper .single-perc,wm-progress-indicator .component-wrapper.bar1 .bar-wrapper .single-perc,:host .component-wrapper.bar .bar-wrapper .single-perc,wm-progress-indicator .component-wrapper.bar .bar-wrapper .single-perc{text-align:center;padding-left:0.5rem;-ms-flex-pack:center;justify-content:center}}:host .component-wrapper.bar2,wm-progress-indicator .component-wrapper.bar2,:host .component-wrapper.bar3,wm-progress-indicator .component-wrapper.bar3,:host .component-wrapper.bar4,wm-progress-indicator .component-wrapper.bar4,:host .component-wrapper.bar5,wm-progress-indicator .component-wrapper.bar5{-ms-flex-align:start;align-items:flex-start}:host .component-wrapper.bar2 .inner-bar-wrapper,wm-progress-indicator .component-wrapper.bar2 .inner-bar-wrapper,:host .component-wrapper.bar4 .inner-bar-wrapper,wm-progress-indicator .component-wrapper.bar4 .inner-bar-wrapper,:host .component-wrapper.bar5 .inner-bar-wrapper,wm-progress-indicator .component-wrapper.bar5 .inner-bar-wrapper{height:30px;margin-bottom:0}:host .component-wrapper.bar2 .inner-bar-wrapper.show-values,wm-progress-indicator .component-wrapper.bar2 .inner-bar-wrapper.show-values,:host .component-wrapper.bar4 .inner-bar-wrapper.show-values,wm-progress-indicator .component-wrapper.bar4 .inner-bar-wrapper.show-values,:host .component-wrapper.bar5 .inner-bar-wrapper.show-values,wm-progress-indicator .component-wrapper.bar5 .inner-bar-wrapper.show-values{height:60px;margin-top:0}:host .component-wrapper.bar3 .legend,wm-progress-indicator .component-wrapper.bar3 .legend{padding-bottom:1.25rem}:host .component-wrapper.bar3 .chart-wrapper,wm-progress-indicator .component-wrapper.bar3 .chart-wrapper{position:relative;height:100px}:host .component-wrapper.bar3 .chart-wrapper .inner-bar-wrapper,wm-progress-indicator .component-wrapper.bar3 .chart-wrapper .inner-bar-wrapper{position:absolute;top:35px;left:0;right:0;bottom:0;height:30px}:host .component-wrapper.bar3 .chart-wrapper .inner-bar-wrapper text,wm-progress-indicator .component-wrapper.bar3 .chart-wrapper .inner-bar-wrapper text{fill:#4a4a4a}:host .component-wrapper.bar3 .chart-wrapper .axis,wm-progress-indicator .component-wrapper.bar3 .chart-wrapper .axis{position:absolute;top:0;left:0;height:90px;width:100%;overflow:visible;-webkit-transform:translateY(90px);transform:translateY(90px)}:host .component-wrapper.bar3 .chart-wrapper .axis line,wm-progress-indicator .component-wrapper.bar3 .chart-wrapper .axis line{stroke:#eeedf4;stroke-width:1px}:host .component-wrapper.bar3 .chart-wrapper .axis text,wm-progress-indicator .component-wrapper.bar3 .chart-wrapper .axis text{-webkit-transform:translate(4px, 24px);transform:translate(4px, 24px);text-anchor:middle}:host .component-wrapper.left-label,wm-progress-indicator .component-wrapper.left-label{-ms-flex-direction:row;flex-direction:row}:host .component-wrapper.left-label .label,wm-progress-indicator .component-wrapper.left-label .label{width:12rem;padding-right:1.25rem;-ms-flex:none;flex:none;-ms-flex-item-align:end;align-self:flex-end;min-height:30px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(:focus){outline:none}:host(:focus) .component-wrapper.user-is-tabbing .bar-segments-wrapper,:host(:focus) .component-wrapper.user-is-tabbing .doughnut-wrapper{-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}:host(:focus) .component-wrapper.user-is-tabbing .bar-segments-wrapper::-moz-focus-inner,:host(:focus) .component-wrapper.user-is-tabbing .doughnut-wrapper::-moz-focus-inner{border:0}";let x=class{constructor(p){r(this,p),this.wmProgressMonitorModeChange=n(this,"wmProgressMonitorModeChange",7),this.doughnutWidth=300,this.modeInitialized=!1,this.debouncedUpdate=i((()=>e(this.el)),50)}get parsedBreakpoint(){const r=this.parseToNum(this.breakpoint?this.breakpoint:this.el.children.length);return r>=20?r:r*this.doughnutWidth}get mode(){return this.el.clientWidth>this.parsedBreakpoint?"doughnut":"bar"}componentWillLoad(){new ResizeObserver((()=>this.debouncedUpdate())).observe(this.el)}componentDidLoad(){this.wmProgressMonitorModeChange.emit(this.mode),this.modeInitialized=!0}componentWillUpdate(){this.prevMode!==this.mode&&this.wmProgressMonitorModeChange.emit(this.mode),this.prevMode=this.mode}parseToNum(r){const e=r.toString().replace("px","");return parseInt(e)}render(){return p(o,{class:"doughnut"===this.mode?"row":"column"},this.modeInitialized&&p("slot",null))}get el(){return t(this)}};x.style=":host,wm-progress-monitor{display:-ms-flexbox;display:flex}:host(.row){-ms-flex-direction:row;flex-direction:row}:host(.column){-ms-flex-direction:column;flex-direction:column}";let f=class{constructor(e){r(this,e),this.wmProgressSliceUpdated=n(this,"wmProgressSliceUpdated",7)}componentDidUpdate(){this.wmProgressSliceUpdated.emit()}};export{u as wm_progress_indicator,x as wm_progress_monitor,f as wm_progress_slice}