@ukic/canary-web-components 3.0.0-canary.26 → 3.0.0-canary.28

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 (458) hide show
  1. package/dist/cjs/common-helpers-944cb54d.js +21 -0
  2. package/dist/cjs/common-helpers-944cb54d.js.map +1 -0
  3. package/dist/cjs/core.cjs.js +1 -1
  4. package/dist/cjs/{helpers-b55826ba.js → helpers-046745ee.js} +3 -1
  5. package/dist/cjs/helpers-046745ee.js.map +1 -0
  6. package/dist/cjs/helpers-da852478.js.map +1 -1
  7. package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-action-chip.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-alert.cjs.entry.js +4 -4
  11. package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  13. package/dist/cjs/ic-badge.cjs.entry.js +1 -1
  14. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  15. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  16. package/dist/cjs/ic-button_3.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-card-vertical.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-checkbox-group.cjs.entry.js +12 -5
  19. package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
  20. package/dist/cjs/ic-checkbox_3.cjs.entry.js +35 -23
  21. package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
  22. package/dist/cjs/ic-chip.cjs.entry.js +6 -5
  23. package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  25. package/dist/cjs/ic-data-table.cjs.entry.js +13 -13
  26. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ic-date-input.cjs.entry.js +9 -5
  28. package/dist/cjs/ic-date-input.cjs.entry.js.map +1 -1
  29. package/dist/cjs/ic-date-picker.cjs.entry.js +15 -10
  30. package/dist/cjs/ic-date-picker.cjs.entry.js.map +1 -1
  31. package/dist/cjs/ic-dialog.cjs.entry.js +36 -11
  32. package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  34. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  35. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  36. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +7 -6
  40. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  42. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  43. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  44. package/dist/cjs/ic-menu.cjs.entry.js +29 -10
  45. package/dist/cjs/ic-menu.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
  48. package/dist/cjs/ic-navigation-item.cjs.entry.js +2 -2
  49. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  51. package/dist/cjs/ic-page-header.cjs.entry.js +2 -2
  52. package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
  53. package/dist/cjs/ic-pagination_4.cjs.entry.js +23 -16
  54. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  55. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  56. package/dist/cjs/ic-radio-group.cjs.entry.js +14 -7
  57. package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
  58. package/dist/cjs/ic-radio-option.cjs.entry.js +2 -2
  59. package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  61. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  62. package/dist/cjs/ic-status-tag.cjs.entry.js +2 -2
  63. package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
  64. package/dist/cjs/ic-step.cjs.entry.js +67 -54
  65. package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ic-stepper.cjs.entry.js +21 -3
  67. package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
  68. package/dist/cjs/ic-switch.cjs.entry.js +1 -1
  69. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  70. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  71. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  72. package/dist/cjs/ic-time-input.cjs.entry.js +13 -9
  73. package/dist/cjs/ic-time-input.cjs.entry.js.map +1 -1
  74. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  75. package/dist/cjs/ic-toggle-button-group.cjs.entry.js +1 -1
  76. package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
  77. package/dist/cjs/ic-top-navigation.cjs.entry.js +2 -2
  78. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  79. package/dist/cjs/ic-tree-view.cjs.entry.js +6 -4
  80. package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ic-typography.cjs.entry.js +1 -1
  82. package/dist/cjs/loader.cjs.js +1 -1
  83. package/dist/cjs/purify-039f565a.js +1365 -0
  84. package/dist/cjs/purify-039f565a.js.map +1 -0
  85. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.js.map +1 -1
  86. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.stories.js.map +1 -1
  87. package/dist/collection/components/ic-card-horizontal/ic-card-horizontal.types.js.map +1 -1
  88. package/dist/collection/components/ic-data-table/ic-data-table.js +12 -13
  89. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  90. package/dist/collection/components/ic-data-table/ic-data-table.stories.js.map +1 -1
  91. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  92. package/dist/collection/components/ic-data-table/story-data.js +52 -21
  93. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  94. package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js.map +1 -1
  95. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js.map +1 -1
  96. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.stories.js.map +1 -1
  97. package/dist/collection/components/ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.js.map +1 -1
  98. package/dist/collection/components/ic-date-input/ic-date-input.css +6 -0
  99. package/dist/collection/components/ic-date-input/ic-date-input.js +34 -4
  100. package/dist/collection/components/ic-date-input/ic-date-input.js.map +1 -1
  101. package/dist/collection/components/ic-date-input/ic-date-input.stories.js +81 -0
  102. package/dist/collection/components/ic-date-input/ic-date-input.stories.js.map +1 -1
  103. package/dist/collection/components/ic-date-input/story-data.js.map +1 -1
  104. package/dist/collection/components/ic-date-input/test/helpers/ic-date-input.js.map +1 -1
  105. package/dist/collection/components/ic-date-picker/ic-date-picker.js +41 -10
  106. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +1 -1
  107. package/dist/collection/components/ic-date-picker/ic-date-picker.stories.js.map +1 -1
  108. package/dist/collection/components/ic-date-picker/ic-day-button.js.map +1 -1
  109. package/dist/collection/components/ic-date-picker/ic-month-picker.js.map +1 -1
  110. package/dist/collection/components/ic-date-picker/ic-year-picker.js.map +1 -1
  111. package/dist/collection/components/ic-date-picker/story-data.js.map +1 -1
  112. package/dist/collection/components/ic-date-picker/test/a11y/ic-date-picker.test.a11y.js.map +1 -1
  113. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +43 -25
  114. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  115. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.stories.js +1 -1
  116. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.stories.js.map +1 -1
  117. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.types.js.map +1 -1
  118. package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js.map +1 -1
  119. package/dist/collection/components/ic-table-of-contents/ic-table-of-contents-item.js.map +1 -1
  120. package/dist/collection/components/ic-table-of-contents/ic-table-of-contents.js.map +1 -1
  121. package/dist/collection/components/ic-table-of-contents/ic-table-of-contents.stories.js.map +1 -1
  122. package/dist/collection/components/ic-table-of-contents/test/a11y/ic-table-of-contents.test.a11y.js.map +1 -1
  123. package/dist/collection/components/ic-time-input/ic-time-input.css +1 -1
  124. package/dist/collection/components/ic-time-input/ic-time-input.js +38 -8
  125. package/dist/collection/components/ic-time-input/ic-time-input.js.map +1 -1
  126. package/dist/collection/components/ic-time-input/ic-time-input.stories.js +82 -1
  127. package/dist/collection/components/ic-time-input/ic-time-input.stories.js.map +1 -1
  128. package/dist/collection/components/ic-time-input/test/helpers/ic-time-input.js.map +1 -1
  129. package/dist/collection/components/ic-tree-item/ic-tree-item.js.map +1 -1
  130. package/dist/collection/components/ic-tree-view/ic-tree-view.js +5 -4
  131. package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -1
  132. package/dist/collection/components/ic-tree-view/ic-tree-view.stories.js.map +1 -1
  133. package/dist/collection/components/ic-tree-view/ic-tree-view.types.js.map +1 -1
  134. package/dist/collection/index.js.map +1 -1
  135. package/dist/collection/utils/constants.js.map +1 -1
  136. package/dist/collection/utils/date-helpers.js.map +1 -1
  137. package/dist/collection/utils/helpers.js.map +1 -1
  138. package/dist/collection/utils/testa11y.helpers.js.map +1 -1
  139. package/dist/collection/utils/types.js.map +1 -1
  140. package/dist/components/common-helpers.js +19 -0
  141. package/dist/components/common-helpers.js.map +1 -0
  142. package/dist/components/helpers.js +2 -1
  143. package/dist/components/helpers.js.map +1 -1
  144. package/dist/components/helpers2.js.map +1 -1
  145. package/dist/components/ic-alert.js +3 -3
  146. package/dist/components/ic-alert.js.map +1 -1
  147. package/dist/components/ic-checkbox-group.js +12 -4
  148. package/dist/components/ic-checkbox-group.js.map +1 -1
  149. package/dist/components/ic-chip.js +5 -4
  150. package/dist/components/ic-chip.js.map +1 -1
  151. package/dist/components/ic-data-table.js +12 -13
  152. package/dist/components/ic-data-table.js.map +1 -1
  153. package/dist/components/ic-date-input2.js +10 -5
  154. package/dist/components/ic-date-input2.js.map +1 -1
  155. package/dist/components/ic-date-picker.js +16 -10
  156. package/dist/components/ic-date-picker.js.map +1 -1
  157. package/dist/components/ic-dialog.js +35 -10
  158. package/dist/components/ic-dialog.js.map +1 -1
  159. package/dist/components/ic-footer.js +1 -1
  160. package/dist/components/ic-horizontal-scroll2.js +1 -1
  161. package/dist/components/ic-input-validation2.js +6 -5
  162. package/dist/components/ic-input-validation2.js.map +1 -1
  163. package/dist/components/ic-menu2.js +29 -10
  164. package/dist/components/ic-menu2.js.map +1 -1
  165. package/dist/components/ic-navigation-button.js +1 -1
  166. package/dist/components/ic-navigation-group.js +1 -1
  167. package/dist/components/ic-navigation-item.js +2 -2
  168. package/dist/components/ic-navigation-item.js.map +1 -1
  169. package/dist/components/ic-navigation-menu2.js +1 -1
  170. package/dist/components/ic-page-header.js +1 -1
  171. package/dist/components/ic-page-header.js.map +1 -1
  172. package/dist/components/ic-pagination-bar2.js +34 -22
  173. package/dist/components/ic-pagination-bar2.js.map +1 -1
  174. package/dist/components/ic-pagination-item2.js +1 -1
  175. package/dist/components/ic-radio-group.js +14 -6
  176. package/dist/components/ic-radio-group.js.map +1 -1
  177. package/dist/components/ic-radio-option.js +1 -1
  178. package/dist/components/ic-radio-option.js.map +1 -1
  179. package/dist/components/ic-search-bar.js +1 -1
  180. package/dist/components/ic-select2.js +17 -9
  181. package/dist/components/ic-select2.js.map +1 -1
  182. package/dist/components/ic-side-navigation.js +1 -1
  183. package/dist/components/ic-status-tag.js +1 -1
  184. package/dist/components/ic-status-tag.js.map +1 -1
  185. package/dist/components/ic-step.js +67 -53
  186. package/dist/components/ic-step.js.map +1 -1
  187. package/dist/components/ic-stepper.js +21 -2
  188. package/dist/components/ic-stepper.js.map +1 -1
  189. package/dist/components/ic-text-field2.js +9 -9
  190. package/dist/components/ic-text-field2.js.map +1 -1
  191. package/dist/components/ic-theme.js +1 -1
  192. package/dist/components/ic-time-input.js +14 -9
  193. package/dist/components/ic-time-input.js.map +1 -1
  194. package/dist/components/ic-toast.js +1 -1
  195. package/dist/components/ic-toggle-button.js +1 -1
  196. package/dist/components/ic-top-navigation.js +2 -2
  197. package/dist/components/ic-top-navigation.js.map +1 -1
  198. package/dist/components/ic-tree-view.js +5 -4
  199. package/dist/components/ic-tree-view.js.map +1 -1
  200. package/dist/components/purify.js +1363 -0
  201. package/dist/components/purify.js.map +1 -0
  202. package/dist/core/core.css +6 -6
  203. package/dist/core/core.esm.js +1 -1
  204. package/dist/core/core.esm.js.map +1 -1
  205. package/dist/core/{p-20f248be.entry.js → p-05e0cadf.entry.js} +2 -2
  206. package/dist/core/{p-b8cb867c.entry.js → p-07365d6f.entry.js} +2 -2
  207. package/dist/core/{p-a7bc9a19.entry.js → p-0b0cc10d.entry.js} +2 -2
  208. package/dist/core/p-0f22f41e.js.map +1 -1
  209. package/dist/core/p-1131db25.entry.js +2 -0
  210. package/dist/core/p-1131db25.entry.js.map +1 -0
  211. package/dist/core/{p-9f5a1473.entry.js → p-154bb0fb.entry.js} +2 -2
  212. package/dist/core/p-154bb0fb.entry.js.map +1 -0
  213. package/dist/core/{p-3414247d.entry.js → p-18b793e0.entry.js} +2 -2
  214. package/dist/core/p-1d89fcda.entry.js +2 -0
  215. package/dist/core/p-1d89fcda.entry.js.map +1 -0
  216. package/dist/core/{p-fc125ca6.entry.js → p-266d5e13.entry.js} +2 -2
  217. package/dist/core/p-2bba11f8.entry.js +2 -0
  218. package/dist/core/{p-c08ea34d.entry.js.map → p-2bba11f8.entry.js.map} +1 -1
  219. package/dist/core/{p-570ff466.entry.js → p-2f0ab1d0.entry.js} +2 -2
  220. package/dist/core/p-349d91dc.js +3 -0
  221. package/dist/core/p-349d91dc.js.map +1 -0
  222. package/dist/core/p-479e5fa2.entry.js +2 -0
  223. package/dist/core/p-479e5fa2.entry.js.map +1 -0
  224. package/dist/core/p-4c5af5f7.entry.js +2 -0
  225. package/dist/core/p-4c5af5f7.entry.js.map +1 -0
  226. package/dist/core/p-542ac498.js +2 -0
  227. package/dist/core/p-542ac498.js.map +1 -0
  228. package/dist/core/{p-4fa1a80f.entry.js → p-54da2d5f.entry.js} +2 -2
  229. package/dist/core/{p-6a884eef.entry.js → p-553531bf.entry.js} +2 -2
  230. package/dist/core/p-5bc54721.entry.js +2 -0
  231. package/dist/core/p-5bc54721.entry.js.map +1 -0
  232. package/dist/core/p-62ad6ce5.entry.js +2 -0
  233. package/dist/core/p-62ad6ce5.entry.js.map +1 -0
  234. package/dist/core/{p-8bb49790.entry.js → p-656b92d7.entry.js} +2 -2
  235. package/dist/core/{p-b12c4643.entry.js → p-66f45822.entry.js} +2 -2
  236. package/dist/core/p-66f45822.entry.js.map +1 -0
  237. package/dist/core/{p-a0c361ec.entry.js → p-6addd986.entry.js} +2 -2
  238. package/dist/core/{p-c7a97221.entry.js → p-6d4418e4.entry.js} +2 -2
  239. package/dist/core/{p-9c491db1.entry.js → p-6e5fc63c.entry.js} +2 -2
  240. package/dist/core/{p-d6a1b39c.entry.js → p-70447473.entry.js} +2 -2
  241. package/dist/core/p-74439163.entry.js +2 -0
  242. package/dist/core/p-74439163.entry.js.map +1 -0
  243. package/dist/core/p-760a57e7.entry.js +2 -0
  244. package/dist/core/p-760a57e7.entry.js.map +1 -0
  245. package/dist/core/p-76ab72ef.entry.js +2 -0
  246. package/dist/core/p-76ab72ef.entry.js.map +1 -0
  247. package/dist/core/{p-17423822.entry.js → p-77c4d1d2.entry.js} +2 -2
  248. package/dist/core/{p-4479c7e7.entry.js → p-796b9ac5.entry.js} +2 -2
  249. package/dist/core/{p-09c0961a.entry.js → p-7986db4a.entry.js} +2 -2
  250. package/dist/core/p-8b0abe0f.entry.js +2 -0
  251. package/dist/core/p-8b0abe0f.entry.js.map +1 -0
  252. package/dist/core/{p-f4b08cdb.entry.js → p-8b4a7a78.entry.js} +2 -2
  253. package/dist/core/p-8b8df1da.entry.js +2 -0
  254. package/dist/core/p-8b8df1da.entry.js.map +1 -0
  255. package/dist/core/{p-b95d99c7.entry.js → p-8c841dc8.entry.js} +2 -2
  256. package/dist/core/{p-55934942.entry.js → p-94e5ed81.entry.js} +2 -2
  257. package/dist/core/{p-b5dd226f.entry.js → p-9af5008c.entry.js} +2 -2
  258. package/dist/core/{p-7821c7dc.entry.js → p-9b68bee6.entry.js} +2 -2
  259. package/dist/core/p-9fa329f2.entry.js +2 -0
  260. package/dist/core/p-9fa329f2.entry.js.map +1 -0
  261. package/dist/core/{p-98286c35.entry.js → p-a4184f39.entry.js} +2 -2
  262. package/dist/core/p-a4184f39.entry.js.map +1 -0
  263. package/dist/core/p-a422b778.js +2 -0
  264. package/dist/core/p-a422b778.js.map +1 -0
  265. package/dist/core/{p-30a2abe9.entry.js → p-a7a572d9.entry.js} +2 -2
  266. package/dist/core/{p-3bb4ea35.entry.js → p-a86756fa.entry.js} +2 -2
  267. package/dist/core/p-b7a726fb.entry.js +2 -0
  268. package/dist/core/p-b7a726fb.entry.js.map +1 -0
  269. package/dist/core/{p-d3eb3356.entry.js → p-ba26a1f0.entry.js} +2 -2
  270. package/dist/core/{p-d3b9c04b.entry.js → p-bad17ba7.entry.js} +2 -2
  271. package/dist/core/p-bc58e37e.entry.js +2 -0
  272. package/dist/core/p-bc58e37e.entry.js.map +1 -0
  273. package/dist/core/{p-9ad64b6f.entry.js → p-bf08d34c.entry.js} +2 -2
  274. package/dist/core/{p-b2c49dfd.entry.js → p-bf5558ac.entry.js} +2 -2
  275. package/dist/core/{p-d143aa70.entry.js → p-c1ae14ad.entry.js} +2 -2
  276. package/dist/core/{p-a8d934fe.entry.js → p-c5d03c65.entry.js} +2 -2
  277. package/dist/core/{p-a8d934fe.entry.js.map → p-c5d03c65.entry.js.map} +1 -1
  278. package/dist/core/p-d4a1e90d.entry.js +2 -0
  279. package/dist/core/p-d4a1e90d.entry.js.map +1 -0
  280. package/dist/core/{p-92f199b0.entry.js → p-d77981a5.entry.js} +2 -2
  281. package/dist/core/{p-f5cc4e94.entry.js → p-e8cea1d5.entry.js} +2 -2
  282. package/dist/core/{p-5534bb37.entry.js → p-f591abc2.entry.js} +2 -2
  283. package/dist/core/p-f6209622.entry.js +2 -0
  284. package/dist/core/p-f6209622.entry.js.map +1 -0
  285. package/dist/core/{p-e435052b.entry.js → p-fba9f5b6.entry.js} +2 -2
  286. package/dist/core/{p-0fffe635.entry.js → p-ff4a873e.entry.js} +2 -2
  287. package/dist/esm/common-helpers-86c07ff1.js +19 -0
  288. package/dist/esm/common-helpers-86c07ff1.js.map +1 -0
  289. package/dist/esm/core.js +1 -1
  290. package/dist/esm/{helpers-fee7d348.js → helpers-1dbd527e.js} +3 -2
  291. package/dist/esm/helpers-1dbd527e.js.map +1 -0
  292. package/dist/esm/helpers-89cb996d.js.map +1 -1
  293. package/dist/esm/ic-accordion-group.entry.js +1 -1
  294. package/dist/esm/ic-accordion.entry.js +1 -1
  295. package/dist/esm/ic-action-chip.entry.js +1 -1
  296. package/dist/esm/ic-alert.entry.js +4 -4
  297. package/dist/esm/ic-alert.entry.js.map +1 -1
  298. package/dist/esm/ic-back-to-top.entry.js +1 -1
  299. package/dist/esm/ic-badge.entry.js +1 -1
  300. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  301. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  302. package/dist/esm/ic-button_3.entry.js +1 -1
  303. package/dist/esm/ic-card-vertical.entry.js +1 -1
  304. package/dist/esm/ic-checkbox-group.entry.js +12 -5
  305. package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
  306. package/dist/esm/ic-checkbox_3.entry.js +35 -23
  307. package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
  308. package/dist/esm/ic-chip.entry.js +6 -5
  309. package/dist/esm/ic-chip.entry.js.map +1 -1
  310. package/dist/esm/ic-data-row.entry.js +1 -1
  311. package/dist/esm/ic-data-table.entry.js +13 -13
  312. package/dist/esm/ic-data-table.entry.js.map +1 -1
  313. package/dist/esm/ic-date-input.entry.js +9 -5
  314. package/dist/esm/ic-date-input.entry.js.map +1 -1
  315. package/dist/esm/ic-date-picker.entry.js +15 -10
  316. package/dist/esm/ic-date-picker.entry.js.map +1 -1
  317. package/dist/esm/ic-dialog.entry.js +36 -11
  318. package/dist/esm/ic-dialog.entry.js.map +1 -1
  319. package/dist/esm/ic-divider.entry.js +1 -1
  320. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  321. package/dist/esm/ic-footer-link.entry.js +1 -1
  322. package/dist/esm/ic-footer.entry.js +1 -1
  323. package/dist/esm/ic-hero.entry.js +1 -1
  324. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  325. package/dist/esm/ic-input-component-container_4.entry.js +7 -6
  326. package/dist/esm/ic-input-component-container_4.entry.js.map +1 -1
  327. package/dist/esm/ic-link.entry.js +1 -1
  328. package/dist/esm/ic-menu-group.entry.js +1 -1
  329. package/dist/esm/ic-menu-item.entry.js +1 -1
  330. package/dist/esm/ic-menu.entry.js +29 -10
  331. package/dist/esm/ic-menu.entry.js.map +1 -1
  332. package/dist/esm/ic-navigation-button.entry.js +1 -1
  333. package/dist/esm/ic-navigation-group.entry.js +1 -1
  334. package/dist/esm/ic-navigation-item.entry.js +2 -2
  335. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  336. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  337. package/dist/esm/ic-page-header.entry.js +2 -2
  338. package/dist/esm/ic-page-header.entry.js.map +1 -1
  339. package/dist/esm/ic-pagination_4.entry.js +23 -16
  340. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  341. package/dist/esm/ic-popover-menu.entry.js +1 -1
  342. package/dist/esm/ic-radio-group.entry.js +14 -7
  343. package/dist/esm/ic-radio-group.entry.js.map +1 -1
  344. package/dist/esm/ic-radio-option.entry.js +2 -2
  345. package/dist/esm/ic-radio-option.entry.js.map +1 -1
  346. package/dist/esm/ic-search-bar.entry.js +1 -1
  347. package/dist/esm/ic-side-navigation.entry.js +1 -1
  348. package/dist/esm/ic-status-tag.entry.js +2 -2
  349. package/dist/esm/ic-status-tag.entry.js.map +1 -1
  350. package/dist/esm/ic-step.entry.js +67 -54
  351. package/dist/esm/ic-step.entry.js.map +1 -1
  352. package/dist/esm/ic-stepper.entry.js +21 -3
  353. package/dist/esm/ic-stepper.entry.js.map +1 -1
  354. package/dist/esm/ic-switch.entry.js +1 -1
  355. package/dist/esm/ic-tab-group.entry.js +1 -1
  356. package/dist/esm/ic-tab.entry.js +1 -1
  357. package/dist/esm/ic-theme.entry.js +1 -1
  358. package/dist/esm/ic-time-input.entry.js +13 -9
  359. package/dist/esm/ic-time-input.entry.js.map +1 -1
  360. package/dist/esm/ic-toast.entry.js +1 -1
  361. package/dist/esm/ic-toggle-button-group.entry.js +1 -1
  362. package/dist/esm/ic-toggle-button.entry.js +1 -1
  363. package/dist/esm/ic-top-navigation.entry.js +2 -2
  364. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  365. package/dist/esm/ic-tree-view.entry.js +6 -4
  366. package/dist/esm/ic-tree-view.entry.js.map +1 -1
  367. package/dist/esm/ic-typography.entry.js +1 -1
  368. package/dist/esm/loader.js +1 -1
  369. package/dist/esm/purify-6eaa9893.js +1363 -0
  370. package/dist/esm/purify-6eaa9893.js.map +1 -0
  371. package/dist/types/components/ic-data-table/story-data.d.ts +0 -9
  372. package/dist/types/components/ic-date-input/ic-date-input.d.ts +5 -1
  373. package/dist/types/components/ic-date-input/ic-date-input.stories.d.ts +15 -9
  374. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +5 -1
  375. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +3 -4
  376. package/dist/types/components/ic-pagination-bar/ic-pagination-bar.types.d.ts +4 -0
  377. package/dist/types/components/ic-time-input/ic-time-input.d.ts +5 -1
  378. package/dist/types/components/ic-time-input/ic-time-input.stories.d.ts +14 -8
  379. package/dist/types/components.d.ts +30 -6
  380. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/utils/common-helpers.d.ts +2 -0
  381. package/dist/types/home/runner/work/ic-ui-kit/ic-ui-kit/packages/canary-web-components/.stencil/web-components/src/utils/constants.d.ts +44 -0
  382. package/dist/types/utils/types.d.ts +6 -2
  383. package/hydrate/index.js +1683 -180
  384. package/hydrate/index.mjs +1683 -180
  385. package/package.json +3 -3
  386. package/dist/cjs/helpers-b55826ba.js.map +0 -1
  387. package/dist/core/p-25d21dbd.entry.js +0 -2
  388. package/dist/core/p-25d21dbd.entry.js.map +0 -1
  389. package/dist/core/p-318c6a4c.entry.js +0 -2
  390. package/dist/core/p-318c6a4c.entry.js.map +0 -1
  391. package/dist/core/p-3bee8f39.entry.js +0 -2
  392. package/dist/core/p-3bee8f39.entry.js.map +0 -1
  393. package/dist/core/p-4eb74281.entry.js +0 -2
  394. package/dist/core/p-4eb74281.entry.js.map +0 -1
  395. package/dist/core/p-514c4401.entry.js +0 -2
  396. package/dist/core/p-514c4401.entry.js.map +0 -1
  397. package/dist/core/p-587d704d.entry.js +0 -2
  398. package/dist/core/p-587d704d.entry.js.map +0 -1
  399. package/dist/core/p-816aae93.entry.js +0 -2
  400. package/dist/core/p-816aae93.entry.js.map +0 -1
  401. package/dist/core/p-9810080e.entry.js +0 -2
  402. package/dist/core/p-9810080e.entry.js.map +0 -1
  403. package/dist/core/p-98286c35.entry.js.map +0 -1
  404. package/dist/core/p-9c8070a1.entry.js +0 -2
  405. package/dist/core/p-9c8070a1.entry.js.map +0 -1
  406. package/dist/core/p-9f5a1473.entry.js.map +0 -1
  407. package/dist/core/p-aaa6d8e1.entry.js +0 -2
  408. package/dist/core/p-aaa6d8e1.entry.js.map +0 -1
  409. package/dist/core/p-b0462734.entry.js +0 -2
  410. package/dist/core/p-b0462734.entry.js.map +0 -1
  411. package/dist/core/p-b12c4643.entry.js.map +0 -1
  412. package/dist/core/p-c039a175.entry.js +0 -2
  413. package/dist/core/p-c039a175.entry.js.map +0 -1
  414. package/dist/core/p-c08ea34d.entry.js +0 -2
  415. package/dist/core/p-c95be271.entry.js +0 -2
  416. package/dist/core/p-c95be271.entry.js.map +0 -1
  417. package/dist/core/p-cd3f12ad.entry.js +0 -2
  418. package/dist/core/p-cd3f12ad.entry.js.map +0 -1
  419. package/dist/core/p-d7c44cce.entry.js +0 -2
  420. package/dist/core/p-d7c44cce.entry.js.map +0 -1
  421. package/dist/core/p-ee95905f.js +0 -2
  422. package/dist/core/p-ee95905f.js.map +0 -1
  423. package/dist/core/p-f6772530.entry.js +0 -2
  424. package/dist/core/p-f6772530.entry.js.map +0 -1
  425. package/dist/esm/helpers-fee7d348.js.map +0 -1
  426. /package/dist/core/{p-20f248be.entry.js.map → p-05e0cadf.entry.js.map} +0 -0
  427. /package/dist/core/{p-b8cb867c.entry.js.map → p-07365d6f.entry.js.map} +0 -0
  428. /package/dist/core/{p-a7bc9a19.entry.js.map → p-0b0cc10d.entry.js.map} +0 -0
  429. /package/dist/core/{p-3414247d.entry.js.map → p-18b793e0.entry.js.map} +0 -0
  430. /package/dist/core/{p-fc125ca6.entry.js.map → p-266d5e13.entry.js.map} +0 -0
  431. /package/dist/core/{p-570ff466.entry.js.map → p-2f0ab1d0.entry.js.map} +0 -0
  432. /package/dist/core/{p-4fa1a80f.entry.js.map → p-54da2d5f.entry.js.map} +0 -0
  433. /package/dist/core/{p-6a884eef.entry.js.map → p-553531bf.entry.js.map} +0 -0
  434. /package/dist/core/{p-8bb49790.entry.js.map → p-656b92d7.entry.js.map} +0 -0
  435. /package/dist/core/{p-a0c361ec.entry.js.map → p-6addd986.entry.js.map} +0 -0
  436. /package/dist/core/{p-c7a97221.entry.js.map → p-6d4418e4.entry.js.map} +0 -0
  437. /package/dist/core/{p-9c491db1.entry.js.map → p-6e5fc63c.entry.js.map} +0 -0
  438. /package/dist/core/{p-d6a1b39c.entry.js.map → p-70447473.entry.js.map} +0 -0
  439. /package/dist/core/{p-17423822.entry.js.map → p-77c4d1d2.entry.js.map} +0 -0
  440. /package/dist/core/{p-4479c7e7.entry.js.map → p-796b9ac5.entry.js.map} +0 -0
  441. /package/dist/core/{p-09c0961a.entry.js.map → p-7986db4a.entry.js.map} +0 -0
  442. /package/dist/core/{p-f4b08cdb.entry.js.map → p-8b4a7a78.entry.js.map} +0 -0
  443. /package/dist/core/{p-b95d99c7.entry.js.map → p-8c841dc8.entry.js.map} +0 -0
  444. /package/dist/core/{p-55934942.entry.js.map → p-94e5ed81.entry.js.map} +0 -0
  445. /package/dist/core/{p-b5dd226f.entry.js.map → p-9af5008c.entry.js.map} +0 -0
  446. /package/dist/core/{p-7821c7dc.entry.js.map → p-9b68bee6.entry.js.map} +0 -0
  447. /package/dist/core/{p-30a2abe9.entry.js.map → p-a7a572d9.entry.js.map} +0 -0
  448. /package/dist/core/{p-3bb4ea35.entry.js.map → p-a86756fa.entry.js.map} +0 -0
  449. /package/dist/core/{p-d3eb3356.entry.js.map → p-ba26a1f0.entry.js.map} +0 -0
  450. /package/dist/core/{p-d3b9c04b.entry.js.map → p-bad17ba7.entry.js.map} +0 -0
  451. /package/dist/core/{p-9ad64b6f.entry.js.map → p-bf08d34c.entry.js.map} +0 -0
  452. /package/dist/core/{p-b2c49dfd.entry.js.map → p-bf5558ac.entry.js.map} +0 -0
  453. /package/dist/core/{p-d143aa70.entry.js.map → p-c1ae14ad.entry.js.map} +0 -0
  454. /package/dist/core/{p-92f199b0.entry.js.map → p-d77981a5.entry.js.map} +0 -0
  455. /package/dist/core/{p-f5cc4e94.entry.js.map → p-e8cea1d5.entry.js.map} +0 -0
  456. /package/dist/core/{p-5534bb37.entry.js.map → p-f591abc2.entry.js.map} +0 -0
  457. /package/dist/core/{p-e435052b.entry.js.map → p-fba9f5b6.entry.js.map} +0 -0
  458. /package/dist/core/{p-0fffe635.entry.js.map → p-ff4a873e.entry.js.map} +0 -0
package/hydrate/index.js CHANGED
@@ -3281,6 +3281,7 @@ const IGNORED_KEYBOARD_CHARACTERS = [
3281
3281
  "Shift",
3282
3282
  "Tab",
3283
3283
  ];
3284
+ const IC_CUSTOM_ALLOWED_COMPONENTS$1 = [];
3284
3285
 
3285
3286
  const DARK_MODE_THRESHOLD = 133.3505;
3286
3287
  const ANYWHERE_SEARCH_POSITION = "anywhere";
@@ -4181,7 +4182,7 @@ var closeIcon = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fil
4181
4182
  </svg>
4182
4183
  `;
4183
4184
 
4184
- const icAlertCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}:host ::slotted(ic-typography){--ic-typography-color:var(--ic-alert-description)}.container{min-height:var(--ic-alert-min-height);border-radius:var(--ic-space-xxs) var(--ic-space-xxxs) var(--ic-space-xxxs)\n var(--ic-space-xxs);position:relative;display:flex;align-items:center}.container-neutral{background-color:var(--ic-alert-background-neutral);border:var(--ic-space-xxxs) solid var(--ic-alert-border-neutral)}.container-info{background-color:var(--ic-alert-background-info);border:var(--ic-space-xxxs) solid var(--ic-alert-border-info)}.container-warning{background-color:var(--ic-alert-background-warning);border:var(--ic-space-xxxs) solid var(--ic-alert-border-warning)}.container-error{background-color:var(--ic-alert-background-error);border:var(--ic-space-xxxs) solid var(--ic-alert-border-error)}.container-success{background-color:var(--ic-alert-background-success);border:var(--ic-space-xxxs) solid var(--ic-alert-border-success)}.container-ai{background-color:var(--ic-alert-background-ai);border:var(--ic-space-xxxs) solid var(--ic-alert-border-ai)}.alert-icon-container{height:100%;display:flex;align-items:center}.divider{height:100%;width:var(--ic-space-xs);border-radius:var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs);position:absolute}.divider-neutral{background-color:var(--ic-alert-status-type-neutral)}.divider-info{background-color:var(--ic-alert-status-type-info)}.divider-warning{background-color:var(--ic-alert-status-type-warning)}.divider-error{background-color:var(--ic-alert-status-type-error)}.divider-success{background-color:var(--ic-alert-status-type-success)}.divider-ai{background-color:var(--ic-alert-status-type-ai)}.alert-icon{height:var(--ic-space-lg);width:1.375rem;margin-left:1.125rem}.icon-placeholder{margin-left:var(--ic-space-xs)}.alert-icon>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}:host([showdefaulticon=\"false\"]) .icon-neutral{visibility:hidden;width:0;margin-left:0.625rem}.icon-neutral>svg,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block;fill:var(--ic-alert-icon-neutral)}:host([variant=\"info\"]) .alert-icon svg{fill:var(--ic-alert-icon-info)}:host([variant=\"warning\"]) .alert-icon svg{fill:var(--ic-alert-icon-warning)}:host([variant=\"error\"]) .alert-icon svg{fill:var(--ic-alert-icon-error)}:host([variant=\"success\"]) .alert-icon svg{fill:var(--ic-alert-icon-success)}:host([variant=\"ai\"]) .alert-icon svg{fill:var(--ic-alert-icon-ai)}.alert-content{display:flex;align-items:center;margin-left:0.625rem;width:100%}.alert-message{display:flex;align-items:center;padding:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;flex:1;--ic-typography-color:var(--ic-alert-description)}.alert-message-title-above{display:inline}.alert-title{margin-right:var(--ic-space-xs);--ic-typography-color:var(--ic-alert-title)}.alert-title-above{white-space:normal}.alert-action-container{margin-right:var(--ic-space-xs);display:flex;align-items:center}.dismiss-icon{margin-right:var(--ic-space-xxxs);margin-left:-0.375rem;padding:0.375rem;border:none;border-radius:50%;background-color:inherit;display:flex;align-items:center;justify-content:center}.dismiss-icon>svg{color:var(--ic-alert-icon-dismissible)}.dismiss-icon:hover{cursor:pointer}@media (max-width: 628px){.alert-content{display:flex;flex-direction:column;align-items:flex-start}.alert-message{display:flex;flex-direction:column;align-items:flex-start}.alert-title{white-space:normal}.alert-action-container{margin-bottom:var(--ic-space-xs)}}@media (forced-colors: active){.container{border:var(--ic-border-hc)}.dismiss-icon>svg{color:var(--ic-architectural-white)}}";
4185
+ const icAlertCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}:host ::slotted(ic-typography){--ic-typography-color:var(--ic-alert-description)}.container{min-height:var(--ic-alert-min-height);border-radius:var(--ic-space-xxs) var(--ic-space-xxxs) var(--ic-space-xxxs)\n var(--ic-space-xxs);position:relative;display:flex;align-items:center}.container-neutral{background-color:var(--ic-alert-background-neutral);border:var(--ic-space-xxxs) solid var(--ic-alert-border-neutral)}.container-info{background-color:var(--ic-alert-background-info);border:var(--ic-space-xxxs) solid var(--ic-alert-border-info)}.container-warning{background-color:var(--ic-alert-background-warning);border:var(--ic-space-xxxs) solid var(--ic-alert-border-warning)}.container-error{background-color:var(--ic-alert-background-error);border:var(--ic-space-xxxs) solid var(--ic-alert-border-error)}.container-success{background-color:var(--ic-alert-background-success);border:var(--ic-space-xxxs) solid var(--ic-alert-border-success)}.container-ai{background-color:var(--ic-alert-background-ai);border:var(--ic-space-xxxs) solid var(--ic-alert-border-ai)}.divider{height:100%;width:var(--ic-space-xs);border-radius:var(--ic-space-xxxs) 0 0 var(--ic-space-xxxs);position:absolute}.divider-neutral{background-color:var(--ic-alert-status-type-neutral)}.divider-info{background-color:var(--ic-alert-status-type-info)}.divider-warning{background-color:var(--ic-alert-status-type-warning)}.divider-error{background-color:var(--ic-alert-status-type-error)}.divider-success{background-color:var(--ic-alert-status-type-success)}.divider-ai{background-color:var(--ic-alert-status-type-ai)}.alert-icon{align-self:flex-start;margin-top:var(--ic-space-xs);margin-right:var(--ic-space-xs)}.alert-icon>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}:host([showdefaulticon=\"false\"]) .icon-neutral{visibility:hidden;width:0;margin-left:0.625rem}.icon-neutral>svg,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block;fill:var(--ic-alert-icon-neutral)}:host([variant=\"info\"]) .alert-icon svg{fill:var(--ic-alert-icon-info)}:host([variant=\"warning\"]) .alert-icon svg{fill:var(--ic-alert-icon-warning)}:host([variant=\"error\"]) .alert-icon svg{fill:var(--ic-alert-icon-error)}:host([variant=\"success\"]) .alert-icon svg{fill:var(--ic-alert-icon-success)}:host([variant=\"ai\"]) .alert-icon svg{fill:var(--ic-alert-icon-ai)}.alert-content{display:flex;align-items:center;margin-left:1.125rem;width:100%;flex-wrap:wrap}.alert-message{display:flex;align-items:center;padding:var(--ic-space-xs) var(--ic-space-xs) var(--ic-space-xs) 0;flex:1;--ic-typography-color:var(--ic-alert-description)}.alert-message-title-above{display:inline}.alert-title{margin-right:var(--ic-space-xs);margin-top:0;margin-bottom:auto;--ic-typography-color:var(--ic-alert-title)}.alert-title-above{white-space:normal}.alert-action-container{margin-right:var(--ic-space-xs);display:flex;align-items:center}.dismiss-icon{margin-right:var(--ic-space-xxxs);margin-left:-0.375rem;padding:0.375rem;border:none;border-radius:50%;background-color:inherit;display:flex;align-items:center;justify-content:center}.dismiss-icon>svg{color:var(--ic-alert-icon-dismissible)}.dismiss-icon:hover{cursor:pointer}@media (max-width: 628px){.alert-message{display:inline}.alert-title{white-space:normal}.alert-action-container{margin-bottom:var(--ic-space-xs);flex-basis:100%}.alert-icon~.alert-action-container{margin-left:2rem}}@media (forced-colors: active){.container{border:var(--ic-border-hc)}.dismiss-icon>svg{color:var(--ic-architectural-white)}}";
4185
4186
  var IcAlertStyle0 = icAlertCss;
4186
4187
 
4187
4188
  /**
@@ -4287,14 +4288,14 @@ class Alert {
4287
4288
  return (hAsync("div", { class: iconClass }, hAsync("slot", { name: "neutral-icon" })));
4288
4289
  }
4289
4290
  else if (!showDefaultIcon) {
4290
- return hAsync("div", { class: "icon-placeholder" });
4291
+ return hAsync("div", null);
4291
4292
  }
4292
4293
  }
4293
4294
  return (hAsync("span", { class: iconClass, innerHTML: VARIANT_ICONS[variant].icon }));
4294
4295
  };
4295
4296
  return (visible && (hAsync(Host, { role: announced ? "alert" : null, class: {
4296
4297
  [`ic-theme-${theme}`]: theme !== "inherit",
4297
- } }, hAsync("div", { class: { container: true, [`container-${variant}`]: true } }, hAsync("div", { class: "alert-icon-container" }, hAsync("div", { class: { divider: true, [`divider-${variant}`]: true } }), hAsync(Icon, null)), hAsync("div", { class: "alert-content" }, hAsync("div", { class: {
4298
+ } }, hAsync("div", { class: { container: true, [`container-${variant}`]: true } }, hAsync("div", { class: { divider: true, [`divider-${variant}`]: true } }), hAsync("div", { class: "alert-content" }, hAsync(Icon, null), hAsync("div", { class: {
4298
4299
  "alert-message": true,
4299
4300
  "alert-message-title-above": titleAbove || alertTitleWrap,
4300
4301
  }, ref: (el) => (this.messageEl = el) }, heading && (hAsync("ic-typography", { class: {
@@ -6334,7 +6335,7 @@ class Checkbox {
6334
6335
  }; }
6335
6336
  }
6336
6337
 
6337
- const icCheckboxGroupCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--ic-input-label-text-color:var(--ic-checkbox-group-label);--ic-input-label-helper-text-color:var(--ic-checkbox-group-subtitle);--ic-input-validation-error:var(--ic-checkbox-state-icon-error);--ic-input-validation-status-text-color:var(--ic-checkbox-state-text)}:host(.ic-checkbox-group-disabled){--ic-input-label-text-color:var(--ic-checkbox-group-label-disabled);--ic-input-label-helper-text-color:var(\n --ic-checkbox-group-subtitle-disabled\n )}ic-input-label.error{color:var(--ic-checkbox-group-label-error);--ic-typography-color:var(--ic-checkbox-group-label-error);--ic-input-label-helper-text-color:var(--ic-checkbox-group-subtitle-error)}ic-input-label:not(.with-helper) .ic-typography-label,ic-input-label .helpertext{margin-bottom:var(--ic-space-sm)}:host(.ic-checkbox-group-small) ic-input-label:not(.with-helper) .ic-typography-label,:host(.ic-checkbox-group-small) ic-input-label .helpertext{margin-bottom:calc(var(--ic-space-sm) / 2)}:host(.ic-checkbox-group-large) ic-input-label:not(.with-helper) .ic-typography-label,:host(.ic-checkbox-group-large) ic-input-label .helpertext{margin-bottom:calc(var(--ic-space-sm) * 1.5)}ic-input-label .helpertext{display:block}ic-input-validation{margin-top:var(--ic-space-sm)}:host(.ic-checkbox-group-small) ic-input-validation{margin-top:calc(var(--ic-space-sm) / 2)}:host(.ic-checkbox-group-large) ic-input-validation{margin-top:calc(var(--ic-space-sm) * 1.5)}.checkboxes-container{margin-bottom:calc(-1 * var(--ic-space-xxs))}:host(.ic-checkbox-group-small) .checkboxes-container{margin-bottom:calc(-1 * var(--ic-space-xxxs))}.screen-reader-only-text{position:absolute;left:-9999px;background-color:#fff;color:#000;text-transform:none}.screen-reader-only-text:dir(rtl){right:-9999px}";
6338
+ const icCheckboxGroupCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--ic-input-label-text-color:var(--ic-checkbox-group-label);--ic-input-label-helper-text-color:var(--ic-checkbox-group-subtitle);--ic-input-validation-error:var(--ic-checkbox-state-icon-error);--ic-input-validation-status-text-color:var(--ic-checkbox-state-text)}:host(.ic-checkbox-group-disabled){--ic-input-label-text-color:var(--ic-checkbox-group-label-disabled);--ic-input-label-helper-text-color:var(\n --ic-checkbox-group-subtitle-disabled\n )}ic-input-label.error{color:var(--ic-checkbox-group-label-error);--ic-typography-color:var(--ic-checkbox-group-label-error);--ic-input-label-helper-text-color:var(--ic-checkbox-group-subtitle-error)}ic-input-label:not(.with-helper) .ic-typography-label,ic-input-label .helpertext{margin-bottom:var(--ic-space-sm)}:host(.ic-checkbox-group-small) ic-input-label:not(.with-helper) .ic-typography-label,:host(.ic-checkbox-group-small) ic-input-label .helpertext{margin-bottom:calc(var(--ic-space-sm) / 2)}:host(.ic-checkbox-group-large) ic-input-label:not(.with-helper) .ic-typography-label,:host(.ic-checkbox-group-large) ic-input-label .helpertext{margin-bottom:calc(var(--ic-space-sm) * 1.5)}ic-input-label .helpertext{display:block}ic-input-validation.show-validation{margin-top:var(--ic-space-sm)}:host(.ic-checkbox-group-small) ic-input-validation.show-validation{margin-top:calc(var(--ic-space-sm) / 2)}:host(.ic-checkbox-group-large) ic-input-validation.show-validation{margin-top:calc(var(--ic-space-sm) * 1.5)}.checkboxes-container{margin-bottom:calc(-1 * var(--ic-space-xxs))}:host(.ic-checkbox-group-small) .checkboxes-container{margin-bottom:calc(-1 * var(--ic-space-xxxs))}.screen-reader-only-text{position:absolute;left:-9999px;background-color:#fff;color:#000;text-transform:none}.screen-reader-only-text:dir(rtl){right:-9999px}";
6338
6339
  var IcCheckboxGroupStyle0 = icCheckboxGroupCss;
6339
6340
 
6340
6341
  const CHECKBOX_SELECTOR = "ic-checkbox";
@@ -6370,6 +6371,10 @@ class CheckboxGroup {
6370
6371
  * Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
6371
6372
  */
6372
6373
  this.theme = "inherit";
6374
+ /**
6375
+ * The value of the `aria-live` attribute on the validation message.
6376
+ */
6377
+ this.validationAriaLive = "polite";
6373
6378
  /**
6374
6379
  * The validation status - e.g. 'error' | 'warning' | 'success'.
6375
6380
  */
@@ -6429,14 +6434,17 @@ class CheckboxGroup {
6429
6434
  });
6430
6435
  }
6431
6436
  render() {
6432
- const { disabled, helperText, hideLabel, label, name, required, size, theme, validationStatus, validationText, } = this;
6437
+ const { disabled, helperText, hideLabel, label, name, required, size, theme, validationAriaLive, validationStatus, validationText, } = this;
6433
6438
  const describedBy = getInputDescribedByText$1(this.el, name, helperText !== "", validationStatus !== "");
6434
6439
  const renderSRText = validationStatus === "error" || required || hideLabel;
6435
- return (hAsync(Host, { key: '0fb0440f1e5b5801cc5eadfd589ac04a63eb9f99', class: {
6440
+ const showValidation = hasValidationStatus(validationStatus, disabled);
6441
+ return (hAsync(Host, { key: 'ee4fc914d346b2f35dd8d44ff73a44b479caee95', class: {
6436
6442
  "ic-checkbox-group-disabled": !!disabled,
6437
6443
  [`ic-checkbox-group-${size}`]: true,
6438
6444
  [`ic-theme-${theme}`]: theme !== "inherit",
6439
- } }, renderSRText && (hAsync("span", { key: 'c0bb18f0b0c32cece059ec3121fa85b829096bde', id: "screenReaderOnlyText", class: "screen-reader-only-text", "aria-hidden": "true" }, label, " ", validationStatus === "error" ? "invalid data " : null, " ", required ? "required" : null)), hAsync("fieldset", { key: '34617958bbc17c41bbe4ee00958e2a00077e53ed', id: name, "aria-labelledby": `${renderSRText ? "screenReaderOnlyText" : ""} ${describedBy}`.trim(), disabled: disabled }, !hideLabel && (hAsync("legend", { key: '0b8ddb361a14f5c0cbca1d27da58428f13ccec9a' }, hAsync("ic-input-label", { key: '06dc432363a51aba3540b1bf5e72e514b8cd9393', class: { [`${validationStatus}`]: true }, label: label, helperText: helperText, required: required, disabled: disabled, useLabelTag: false }, hAsync("slot", { key: '7617aeae70bf582bc28ad3e38e63c7bb2d33e704', name: "helper-text", slot: "helper-text" })))), hAsync("div", { key: 'fcfc716f0dbddacdd97f2bf253882b19e9c7be9f', class: "checkboxes-container" }, hAsync("slot", { key: '6698eb710655c4dae00ed4597bb2221042e3b0c2' }))), hasValidationStatus(validationStatus, disabled) && (hAsync("ic-input-validation", { key: '8f7ff310f825d7af04eb37a97aca30f3791b5a38', for: name, ariaLiveMode: "polite", status: validationStatus, message: validationText }))));
6445
+ } }, renderSRText && (hAsync("span", { key: '3718d5e6fce1597c836d01050ed17bcd01c97e6e', id: "screenReaderOnlyText", class: "screen-reader-only-text", "aria-hidden": "true" }, label, " ", validationStatus === "error" ? "invalid data " : null, " ", required ? "required" : null)), hAsync("fieldset", { key: '318e6c61787f136916d39acdd2823fa644c8d865', id: name, "aria-labelledby": `${renderSRText ? "screenReaderOnlyText" : ""} ${describedBy}`.trim(), disabled: disabled }, !hideLabel && (hAsync("legend", { key: '6348eb25d5a2de666033441d694b407f72ae834b' }, hAsync("ic-input-label", { key: '96ef66ab6b4e3a02a2385eb9b8f5936c1fc57ad0', class: { [`${validationStatus}`]: true }, label: label, helperText: helperText, required: required, disabled: disabled, useLabelTag: false }, hAsync("slot", { key: 'f9f0532834d50a57dbc2f075a9f94788071cceb6', name: "helper-text", slot: "helper-text" })))), hAsync("div", { key: '9b72caba2adb5951814689ef5c8b1fa5d7ea11ed', class: "checkboxes-container" }, hAsync("slot", { key: '5cf045069c87416b7889e7b29b44e6f137ca0b4f' }))), hAsync("ic-input-validation", { key: '4b9680fcb5468fbf6e9c2e1eb6d45f929b2b09dc', class: {
6446
+ "show-validation": showValidation,
6447
+ }, for: name, ariaLiveMode: validationAriaLive, status: showValidation ? validationStatus : "", message: showValidation ? validationText : "" })));
6440
6448
  }
6441
6449
  get el() { return getElement(this); }
6442
6450
  static get watchers() { return {
@@ -6458,6 +6466,7 @@ class CheckboxGroup {
6458
6466
  "required": [4],
6459
6467
  "size": [1],
6460
6468
  "theme": [1],
6469
+ "validationAriaLive": [1, "validation-aria-live"],
6461
6470
  "validationStatus": [1, "validation-status"],
6462
6471
  "validationText": [1, "validation-text"]
6463
6472
  },
@@ -6472,7 +6481,7 @@ var dismissIcon = `<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org
6472
6481
  </svg>
6473
6482
  `;
6474
6483
 
6475
- const icChipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;max-width:100%;vertical-align:middle}.chip{--chip-bg-color:transparent;--chip-hover-bg:var(--ic-chip-action-hover);--chip-pressed-bg:var(--ic-chip-action-pressed);display:flex;padding:calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);font-size:0.875rem;border-radius:var(--ic-space-md);text-align:left;text-decoration:none;position:relative;background-color:var(--chip-bg-color);border:var(--ic-border-width) solid transparent;justify-content:space-between}@media (prefers-reduced-motion: no-preference){.chip{transition:var(--ic-easing-transition-fast)}}.chip.small{padding:var(--ic-space-1px) var(--ic-space-xxxs);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.chip.large{padding:calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}.label{padding:0 var(--ic-space-xs)}.chip:focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);z-index:1}ic-tooltip:focus-within{z-index:1}.filled{--chip-bg-color:var(\n --chip-custom-color,\n var(--ic-chip-background-filled-default)\n );--ic-typography-color:var(\n --chip-custom-foreground-color,\n var(--ic-chip-label)\n );color:var(--chip-custom-foreground-color, var(--ic-chip-label))}.filled.disabled{--chip-bg-color:var(--ic-chip-background-filled-inactive)}:host(.ic-chip-dark-text){--chip-custom-foreground-color:var(--ic-architectural-black)}:host(.ic-chip-light-text){--chip-custom-foreground-color:var(--ic-architectural-white)}:host(.ic-chip-dark-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-dark-bg-hover)}:host(.ic-chip-dark-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-dark-bg-pressed)}:host(.ic-chip-light-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-light-bg-hover)}:host(.ic-chip-light-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-light-bg-pressed)}.outlined{color:var(--ic-chip-outline-label);border-color:var(--chip-custom-color, var(--ic-chip-outline));padding:calc(var(--ic-space-xxs));--ic-typography-color:var(--ic-chip-outline-label)}.outlined.disabled{border:var(--ic-border-disabled);border-color:var(--ic-chip-outline-inactive)}.chip.disabled ic-typography{--ic-typography-color:var(--ic-chip-label-inactive)}.dismiss-icon{border:none;border-radius:50%;padding:0;color:currentcolor;background:none;cursor:pointer;margin:var(--ic-space-xxxs);height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs))}.dismiss-icon:focus{outline:var(--ic-hc-focus-outline)}.dismiss-icon[disabled]{pointer-events:none;color:var(--ic-chip-icon-inactive)}.icon{padding:var(--ic-space-xxxs);box-sizing:border-box}.icon,ic-tooltip{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chip.disabled path,.chip.disabled ::slotted(svg){fill:var(--ic-chip-icon-inactive)}.outlined.non-transparent{background-color:var(--ic-chip-outline-background)}:host .chip.hovered:not(:focus-within){background-image:linear-gradient(var(--chip-hover-bg) 0 0)}:host .chip:focus-within{background-image:linear-gradient(var(--chip-pressed-bg) 0 0)}.sr-only{position:absolute;left:-9999px}.sr-only:dir(rtl){right:-9999px}@media (forced-colors: active){.chip{border:var(--ic-border-hc)}.chip.disabled{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.chip.disabled ic-typography{--ic-typography-color:GrayText}.chip.disabled path,.chip.disabled ::slotted(svg){fill:GrayText}.chip:focus-within{outline:none;border-color:Highlight}}";
6484
+ const icChipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;max-width:100%;vertical-align:middle}:host(.ic-chip-dismissed){display:none}.chip{--chip-bg-color:transparent;--chip-hover-bg:var(--ic-chip-action-hover);--chip-pressed-bg:var(--ic-chip-action-pressed);display:flex;padding:calc(var(--ic-space-xxs) - var(--ic-space-1px)) var(--ic-space-xxs);font-size:0.875rem;border-radius:var(--ic-space-md);text-align:left;text-decoration:none;position:relative;background-color:var(--chip-bg-color);border:var(--ic-border-width) solid transparent;justify-content:space-between}@media (prefers-reduced-motion: no-preference){.chip{transition:var(--ic-easing-transition-fast)}}.chip.small{padding:var(--ic-space-1px) var(--ic-space-xxxs);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.chip.large{padding:calc(var(--ic-space-xs) - var(--ic-space-1px)) var(--ic-space-xs);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}.label{padding:0 var(--ic-space-xs)}.chip:focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);z-index:1}ic-tooltip:focus-within{z-index:1}.filled{--chip-bg-color:var(\n --chip-custom-color,\n var(--ic-chip-background-filled-default)\n );--ic-typography-color:var(\n --chip-custom-foreground-color,\n var(--ic-chip-label)\n );color:var(--chip-custom-foreground-color, var(--ic-chip-label))}.filled.disabled{--chip-bg-color:var(--ic-chip-background-filled-inactive)}:host(.ic-chip-dark-text){--chip-custom-foreground-color:var(--ic-architectural-black)}:host(.ic-chip-light-text){--chip-custom-foreground-color:var(--ic-architectural-white)}:host(.ic-chip-dark-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-dark-bg-hover)}:host(.ic-chip-dark-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-dark-bg-pressed)}:host(.ic-chip-light-text) .chip.filled.hovered:not(:focus-within){--chip-hover-bg:var(--ic-action-light-bg-hover)}:host(.ic-chip-light-text) .chip.filled:focus-within{--chip-pressed-bg:var(--ic-action-light-bg-pressed)}.outlined{color:var(--ic-chip-outline-label);border-color:var(--chip-custom-color, var(--ic-chip-outline));padding:calc(var(--ic-space-xxs));--ic-typography-color:var(--ic-chip-outline-label)}.outlined.disabled{border:var(--ic-border-disabled);border-color:var(--ic-chip-outline-inactive)}.chip.disabled ic-typography{--ic-typography-color:var(--ic-chip-label-inactive)}.dismiss-icon{border:none;border-radius:50%;padding:0;color:currentcolor;background:none;cursor:pointer;margin:var(--ic-space-xxxs);height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs))}.dismiss-icon:focus{outline:var(--ic-hc-focus-outline)}.dismiss-icon[disabled]{pointer-events:none;color:var(--ic-chip-icon-inactive)}.icon{padding:var(--ic-space-xxxs);box-sizing:border-box}.icon,ic-tooltip{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chip.disabled path,.chip.disabled ::slotted(svg){fill:var(--ic-chip-icon-inactive)}.outlined.non-transparent{background-color:var(--ic-chip-outline-background)}:host .chip.hovered:not(:focus-within){background-image:linear-gradient(var(--chip-hover-bg) 0 0)}:host .chip:focus-within{background-image:linear-gradient(var(--chip-pressed-bg) 0 0)}.sr-only{position:absolute;left:-9999px}.sr-only:dir(rtl){right:-9999px}@media (forced-colors: active){.chip{border:var(--ic-border-hc)}.chip.disabled{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.chip.disabled ic-typography{--ic-typography-color:GrayText}.chip.disabled path,.chip.disabled ::slotted(svg){fill:GrayText}.chip:focus-within{outline:none;border-color:Highlight}}";
6476
6485
  var IcChipStyle0 = icChipCss;
6477
6486
 
6478
6487
  /**
@@ -6566,10 +6575,11 @@ class Chip {
6566
6575
  render() {
6567
6576
  const { label, variant, size, dismissible, visible, disabled, hovered, theme, foregroundColor, dismissLabel, transparentBackground, } = this;
6568
6577
  const ariaLabel = `${label} chip`;
6569
- return (hAsync(Host, { key: 'ced030b6d7a5aeb6b7030ea7858200187d16ae90', class: {
6578
+ return (hAsync(Host, { key: 'c7b88d4999b6de5004edc4bd27e185b9232fdaf9', class: {
6579
+ "ic-chip-dismissed": !visible,
6570
6580
  [`ic-theme-${theme}`]: theme !== "inherit",
6571
6581
  [`ic-chip-${foregroundColor}-text`]: variant === "filled" && !!foregroundColor,
6572
- } }, visible && (hAsync("div", { key: 'dca2da18144d1ee47d9507cbb616bc6493060f94', class: {
6582
+ } }, visible && (hAsync("div", { key: 'dbbb2bd77adea5e65d61e11b6c4b2b06fadbb9b1', class: {
6573
6583
  chip: true,
6574
6584
  [`${variant}`]: true,
6575
6585
  [`${size}`]: true,
@@ -6577,7 +6587,7 @@ class Chip {
6577
6587
  dismissible,
6578
6588
  hovered,
6579
6589
  "non-transparent": variant === "outlined" && !transparentBackground,
6580
- } }, isSlotUsed$1(this.el, "icon") && (hAsync("div", { key: '3e1537327125e7cfd54a20aeeb3f6279560da02f', class: "icon" }, hAsync("slot", { key: '33a229dad89f94f165c0a3f77e83720e1cc0603f', name: "icon" }))), hAsync("ic-typography", { key: '7445c7ae2254c909af206b43e5044f643177f1af', variant: "label", "apply-vertical-margins": false, class: { label: true, "in-ag-grid": isElInAGGrid(this.el) } }, hAsync("span", { key: 'af34cb3ca942ea778c3ba4716f983755571626db' }, label)), dismissible && (hAsync("ic-tooltip", { key: '7664945e7ddc8cb66a302265a5b7affcea514241', label: dismissLabel, target: "dismiss-icon", class: { "tooltip-disabled": disabled } }, hAsync("button", { key: '692fd13b54eef71e29ef4d3639182617770684df', id: "dismiss-icon", class: "dismiss-icon", ref: (el) => (this.buttonEl = el), "aria-label": `${dismissLabel} ${ariaLabel}`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: '6db0a5f0dd29df3315caa52aba01d339449e3bdd', name: "badge" }))), dismissible && (hAsync("div", { key: '2d989a411ff7eedad1e9238714c704c3e2d0d536', class: "sr-only", "aria-live": "polite" }, !visible ? `Dismissed ${ariaLabel}` : ""))));
6590
+ } }, isSlotUsed$1(this.el, "icon") && (hAsync("div", { key: '443ef9dc619483da883171e367ac9541aaf61a38', class: "icon" }, hAsync("slot", { key: '3d5f5e0db37a1d2c0b8d2f25e0af2801cc52598e', name: "icon" }))), hAsync("ic-typography", { key: '23603177321e0a67c86da4720574592e3db8db80', variant: "label", "apply-vertical-margins": false, class: { label: true, "in-ag-grid": isElInAGGrid(this.el) } }, hAsync("span", { key: '2d55524b494e17a0ee3c8a7441ffbc1a5d47f6a4' }, label)), dismissible && (hAsync("ic-tooltip", { key: '2def11f340b2b51518caebdf0e87b61e87d9baeb', label: dismissLabel, target: "dismiss-icon", class: { "tooltip-disabled": disabled } }, hAsync("button", { key: 'c437a1dc096b14ba3bb2fa5723fa0044e83a9b3a', id: "dismiss-icon", class: "dismiss-icon", ref: (el) => (this.buttonEl = el), "aria-label": `${dismissLabel} ${ariaLabel}`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))), isSlotUsed$1(this.el, "badge") && hAsync("slot", { key: '9b3fec37d1d44def4248cf53ae2916d9f62e1a08', name: "badge" }))), dismissible && (hAsync("div", { key: 'bc8d8601488092dde7dae7db5f0f36b802f6df9f', class: "sr-only", "aria-live": "polite" }, !visible ? `Dismissed ${ariaLabel}` : ""))));
6581
6591
  }
6582
6592
  static get delegatesFocus() { return true; }
6583
6593
  get el() { return getElement(this); }
@@ -6836,6 +6846,1380 @@ var descendingIcon = `<svg focusable="false" aria-hidden="true" viewBox="0 0 24
6836
6846
  <path d="M16.01 11H4v2h12.01v3L20 12l-3.99-4z"></path>
6837
6847
  </svg>`;
6838
6848
 
6849
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6850
+
6851
+ var purify = {exports: {}};
6852
+
6853
+ /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
6854
+
6855
+ (function (module, exports) {
6856
+ (function (global, factory) {
6857
+ module.exports = factory() ;
6858
+ })(commonjsGlobal, (function () {
6859
+ const {
6860
+ entries,
6861
+ setPrototypeOf,
6862
+ isFrozen,
6863
+ getPrototypeOf,
6864
+ getOwnPropertyDescriptor
6865
+ } = Object;
6866
+ let {
6867
+ freeze,
6868
+ seal,
6869
+ create
6870
+ } = Object; // eslint-disable-line import/no-mutable-exports
6871
+ let {
6872
+ apply,
6873
+ construct
6874
+ } = typeof Reflect !== 'undefined' && Reflect;
6875
+ if (!freeze) {
6876
+ freeze = function freeze(x) {
6877
+ return x;
6878
+ };
6879
+ }
6880
+ if (!seal) {
6881
+ seal = function seal(x) {
6882
+ return x;
6883
+ };
6884
+ }
6885
+ if (!apply) {
6886
+ apply = function apply(fun, thisValue, args) {
6887
+ return fun.apply(thisValue, args);
6888
+ };
6889
+ }
6890
+ if (!construct) {
6891
+ construct = function construct(Func, args) {
6892
+ return new Func(...args);
6893
+ };
6894
+ }
6895
+ const arrayForEach = unapply(Array.prototype.forEach);
6896
+ const arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
6897
+ const arrayPop = unapply(Array.prototype.pop);
6898
+ const arrayPush = unapply(Array.prototype.push);
6899
+ const arraySplice = unapply(Array.prototype.splice);
6900
+ const stringToLowerCase = unapply(String.prototype.toLowerCase);
6901
+ const stringToString = unapply(String.prototype.toString);
6902
+ const stringMatch = unapply(String.prototype.match);
6903
+ const stringReplace = unapply(String.prototype.replace);
6904
+ const stringIndexOf = unapply(String.prototype.indexOf);
6905
+ const stringTrim = unapply(String.prototype.trim);
6906
+ const objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);
6907
+ const regExpTest = unapply(RegExp.prototype.test);
6908
+ const typeErrorCreate = unconstruct(TypeError);
6909
+ /**
6910
+ * Creates a new function that calls the given function with a specified thisArg and arguments.
6911
+ *
6912
+ * @param func - The function to be wrapped and called.
6913
+ * @returns A new function that calls the given function with a specified thisArg and arguments.
6914
+ */
6915
+ function unapply(func) {
6916
+ return function (thisArg) {
6917
+ if (thisArg instanceof RegExp) {
6918
+ thisArg.lastIndex = 0;
6919
+ }
6920
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
6921
+ args[_key - 1] = arguments[_key];
6922
+ }
6923
+ return apply(func, thisArg, args);
6924
+ };
6925
+ }
6926
+ /**
6927
+ * Creates a new function that constructs an instance of the given constructor function with the provided arguments.
6928
+ *
6929
+ * @param func - The constructor function to be wrapped and called.
6930
+ * @returns A new function that constructs an instance of the given constructor function with the provided arguments.
6931
+ */
6932
+ function unconstruct(func) {
6933
+ return function () {
6934
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
6935
+ args[_key2] = arguments[_key2];
6936
+ }
6937
+ return construct(func, args);
6938
+ };
6939
+ }
6940
+ /**
6941
+ * Add properties to a lookup table
6942
+ *
6943
+ * @param set - The set to which elements will be added.
6944
+ * @param array - The array containing elements to be added to the set.
6945
+ * @param transformCaseFunc - An optional function to transform the case of each element before adding to the set.
6946
+ * @returns The modified set with added elements.
6947
+ */
6948
+ function addToSet(set, array) {
6949
+ let transformCaseFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : stringToLowerCase;
6950
+ if (setPrototypeOf) {
6951
+ // Make 'in' and truthy checks like Boolean(set.constructor)
6952
+ // independent of any properties defined on Object.prototype.
6953
+ // Prevent prototype setters from intercepting set as a this value.
6954
+ setPrototypeOf(set, null);
6955
+ }
6956
+ let l = array.length;
6957
+ while (l--) {
6958
+ let element = array[l];
6959
+ if (typeof element === 'string') {
6960
+ const lcElement = transformCaseFunc(element);
6961
+ if (lcElement !== element) {
6962
+ // Config presets (e.g. tags.js, attrs.js) are immutable.
6963
+ if (!isFrozen(array)) {
6964
+ array[l] = lcElement;
6965
+ }
6966
+ element = lcElement;
6967
+ }
6968
+ }
6969
+ set[element] = true;
6970
+ }
6971
+ return set;
6972
+ }
6973
+ /**
6974
+ * Clean up an array to harden against CSPP
6975
+ *
6976
+ * @param array - The array to be cleaned.
6977
+ * @returns The cleaned version of the array
6978
+ */
6979
+ function cleanArray(array) {
6980
+ for (let index = 0; index < array.length; index++) {
6981
+ const isPropertyExist = objectHasOwnProperty(array, index);
6982
+ if (!isPropertyExist) {
6983
+ array[index] = null;
6984
+ }
6985
+ }
6986
+ return array;
6987
+ }
6988
+ /**
6989
+ * Shallow clone an object
6990
+ *
6991
+ * @param object - The object to be cloned.
6992
+ * @returns A new object that copies the original.
6993
+ */
6994
+ function clone(object) {
6995
+ const newObject = create(null);
6996
+ for (const [property, value] of entries(object)) {
6997
+ const isPropertyExist = objectHasOwnProperty(object, property);
6998
+ if (isPropertyExist) {
6999
+ if (Array.isArray(value)) {
7000
+ newObject[property] = cleanArray(value);
7001
+ } else if (value && typeof value === 'object' && value.constructor === Object) {
7002
+ newObject[property] = clone(value);
7003
+ } else {
7004
+ newObject[property] = value;
7005
+ }
7006
+ }
7007
+ }
7008
+ return newObject;
7009
+ }
7010
+ /**
7011
+ * This method automatically checks if the prop is function or getter and behaves accordingly.
7012
+ *
7013
+ * @param object - The object to look up the getter function in its prototype chain.
7014
+ * @param prop - The property name for which to find the getter function.
7015
+ * @returns The getter function found in the prototype chain or a fallback function.
7016
+ */
7017
+ function lookupGetter(object, prop) {
7018
+ while (object !== null) {
7019
+ const desc = getOwnPropertyDescriptor(object, prop);
7020
+ if (desc) {
7021
+ if (desc.get) {
7022
+ return unapply(desc.get);
7023
+ }
7024
+ if (typeof desc.value === 'function') {
7025
+ return unapply(desc.value);
7026
+ }
7027
+ }
7028
+ object = getPrototypeOf(object);
7029
+ }
7030
+ function fallbackValue() {
7031
+ return null;
7032
+ }
7033
+ return fallbackValue;
7034
+ }
7035
+
7036
+ const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);
7037
+ const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
7038
+ const svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);
7039
+ // List of SVG elements that are disallowed by default.
7040
+ // We still need to know them so that we can do namespace
7041
+ // checks properly in case one wants to add them to
7042
+ // allow-list.
7043
+ const svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);
7044
+ const mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover', 'mprescripts']);
7045
+ // Similarly to SVG, we want to know all MathML elements,
7046
+ // even those that we disallow by default.
7047
+ const mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
7048
+ const text = freeze(['#text']);
7049
+
7050
+ const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);
7051
+ const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
7052
+ const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);
7053
+ const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
7054
+
7055
+ // eslint-disable-next-line unicorn/better-regex
7056
+ const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode
7057
+ const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
7058
+ const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm); // eslint-disable-line unicorn/better-regex
7059
+ const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/); // eslint-disable-line no-useless-escape
7060
+ const ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
7061
+ const IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i // eslint-disable-line no-useless-escape
7062
+ );
7063
+ const IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i);
7064
+ const ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g // eslint-disable-line no-control-regex
7065
+ );
7066
+ const DOCTYPE_NAME = seal(/^html$/i);
7067
+ const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
7068
+
7069
+ var EXPRESSIONS = /*#__PURE__*/Object.freeze({
7070
+ __proto__: null,
7071
+ ARIA_ATTR: ARIA_ATTR,
7072
+ ATTR_WHITESPACE: ATTR_WHITESPACE,
7073
+ CUSTOM_ELEMENT: CUSTOM_ELEMENT,
7074
+ DATA_ATTR: DATA_ATTR,
7075
+ DOCTYPE_NAME: DOCTYPE_NAME,
7076
+ ERB_EXPR: ERB_EXPR,
7077
+ IS_ALLOWED_URI: IS_ALLOWED_URI,
7078
+ IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,
7079
+ MUSTACHE_EXPR: MUSTACHE_EXPR,
7080
+ TMPLIT_EXPR: TMPLIT_EXPR
7081
+ });
7082
+
7083
+ /* eslint-disable @typescript-eslint/indent */
7084
+ // https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
7085
+ const NODE_TYPE = {
7086
+ element: 1,
7087
+ attribute: 2,
7088
+ text: 3,
7089
+ cdataSection: 4,
7090
+ entityReference: 5,
7091
+ // Deprecated
7092
+ entityNode: 6,
7093
+ // Deprecated
7094
+ progressingInstruction: 7,
7095
+ comment: 8,
7096
+ document: 9,
7097
+ documentType: 10,
7098
+ documentFragment: 11,
7099
+ notation: 12 // Deprecated
7100
+ };
7101
+ const getGlobal = function getGlobal() {
7102
+ return typeof window === 'undefined' ? null : window;
7103
+ };
7104
+ /**
7105
+ * Creates a no-op policy for internal use only.
7106
+ * Don't export this function outside this module!
7107
+ * @param trustedTypes The policy factory.
7108
+ * @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).
7109
+ * @return The policy created (or null, if Trusted Types
7110
+ * are not supported or creating the policy failed).
7111
+ */
7112
+ const _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {
7113
+ if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') {
7114
+ return null;
7115
+ }
7116
+ // Allow the callers to control the unique policy name
7117
+ // by adding a data-tt-policy-suffix to the script element with the DOMPurify.
7118
+ // Policy creation with duplicate names throws in Trusted Types.
7119
+ let suffix = null;
7120
+ const ATTR_NAME = 'data-tt-policy-suffix';
7121
+ if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {
7122
+ suffix = purifyHostElement.getAttribute(ATTR_NAME);
7123
+ }
7124
+ const policyName = 'dompurify' + (suffix ? '#' + suffix : '');
7125
+ try {
7126
+ return trustedTypes.createPolicy(policyName, {
7127
+ createHTML(html) {
7128
+ return html;
7129
+ },
7130
+ createScriptURL(scriptUrl) {
7131
+ return scriptUrl;
7132
+ }
7133
+ });
7134
+ } catch (_) {
7135
+ // Policy creation failed (most likely another DOMPurify script has
7136
+ // already run). Skip creating the policy, as this will only cause errors
7137
+ // if TT are enforced.
7138
+ console.warn('TrustedTypes policy ' + policyName + ' could not be created.');
7139
+ return null;
7140
+ }
7141
+ };
7142
+ const _createHooksMap = function _createHooksMap() {
7143
+ return {
7144
+ afterSanitizeAttributes: [],
7145
+ afterSanitizeElements: [],
7146
+ afterSanitizeShadowDOM: [],
7147
+ beforeSanitizeAttributes: [],
7148
+ beforeSanitizeElements: [],
7149
+ beforeSanitizeShadowDOM: [],
7150
+ uponSanitizeAttribute: [],
7151
+ uponSanitizeElement: [],
7152
+ uponSanitizeShadowNode: []
7153
+ };
7154
+ };
7155
+ function createDOMPurify() {
7156
+ let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
7157
+ const DOMPurify = root => createDOMPurify(root);
7158
+ DOMPurify.version = '3.2.6';
7159
+ DOMPurify.removed = [];
7160
+ if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
7161
+ // Not running in a browser, provide a factory function
7162
+ // so that you can pass your own Window
7163
+ DOMPurify.isSupported = false;
7164
+ return DOMPurify;
7165
+ }
7166
+ let {
7167
+ document
7168
+ } = window;
7169
+ const originalDocument = document;
7170
+ const currentScript = originalDocument.currentScript;
7171
+ const {
7172
+ DocumentFragment,
7173
+ HTMLTemplateElement,
7174
+ Node,
7175
+ Element,
7176
+ NodeFilter,
7177
+ NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap,
7178
+ HTMLFormElement,
7179
+ DOMParser,
7180
+ trustedTypes
7181
+ } = window;
7182
+ const ElementPrototype = Element.prototype;
7183
+ const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');
7184
+ const remove = lookupGetter(ElementPrototype, 'remove');
7185
+ const getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');
7186
+ const getChildNodes = lookupGetter(ElementPrototype, 'childNodes');
7187
+ const getParentNode = lookupGetter(ElementPrototype, 'parentNode');
7188
+ // As per issue #47, the web-components registry is inherited by a
7189
+ // new document created via createHTMLDocument. As per the spec
7190
+ // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)
7191
+ // a new empty registry is used when creating a template contents owner
7192
+ // document, so we use that as our parent document to ensure nothing
7193
+ // is inherited.
7194
+ if (typeof HTMLTemplateElement === 'function') {
7195
+ const template = document.createElement('template');
7196
+ if (template.content && template.content.ownerDocument) {
7197
+ document = template.content.ownerDocument;
7198
+ }
7199
+ }
7200
+ let trustedTypesPolicy;
7201
+ let emptyHTML = '';
7202
+ const {
7203
+ implementation,
7204
+ createNodeIterator,
7205
+ createDocumentFragment,
7206
+ getElementsByTagName
7207
+ } = document;
7208
+ const {
7209
+ importNode
7210
+ } = originalDocument;
7211
+ let hooks = _createHooksMap();
7212
+ /**
7213
+ * Expose whether this browser supports running the full DOMPurify.
7214
+ */
7215
+ DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;
7216
+ const {
7217
+ MUSTACHE_EXPR,
7218
+ ERB_EXPR,
7219
+ TMPLIT_EXPR,
7220
+ DATA_ATTR,
7221
+ ARIA_ATTR,
7222
+ IS_SCRIPT_OR_DATA,
7223
+ ATTR_WHITESPACE,
7224
+ CUSTOM_ELEMENT
7225
+ } = EXPRESSIONS;
7226
+ let {
7227
+ IS_ALLOWED_URI: IS_ALLOWED_URI$1
7228
+ } = EXPRESSIONS;
7229
+ /**
7230
+ * We consider the elements and attributes below to be safe. Ideally
7231
+ * don't add any new ones but feel free to remove unwanted ones.
7232
+ */
7233
+ /* allowed element names */
7234
+ let ALLOWED_TAGS = null;
7235
+ const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);
7236
+ /* Allowed attribute names */
7237
+ let ALLOWED_ATTR = null;
7238
+ const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);
7239
+ /*
7240
+ * Configure how DOMPurify should handle custom elements and their attributes as well as customized built-in elements.
7241
+ * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)
7242
+ * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)
7243
+ * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.
7244
+ */
7245
+ let CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {
7246
+ tagNameCheck: {
7247
+ writable: true,
7248
+ configurable: false,
7249
+ enumerable: true,
7250
+ value: null
7251
+ },
7252
+ attributeNameCheck: {
7253
+ writable: true,
7254
+ configurable: false,
7255
+ enumerable: true,
7256
+ value: null
7257
+ },
7258
+ allowCustomizedBuiltInElements: {
7259
+ writable: true,
7260
+ configurable: false,
7261
+ enumerable: true,
7262
+ value: false
7263
+ }
7264
+ }));
7265
+ /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */
7266
+ let FORBID_TAGS = null;
7267
+ /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */
7268
+ let FORBID_ATTR = null;
7269
+ /* Decide if ARIA attributes are okay */
7270
+ let ALLOW_ARIA_ATTR = true;
7271
+ /* Decide if custom data attributes are okay */
7272
+ let ALLOW_DATA_ATTR = true;
7273
+ /* Decide if unknown protocols are okay */
7274
+ let ALLOW_UNKNOWN_PROTOCOLS = false;
7275
+ /* Decide if self-closing tags in attributes are allowed.
7276
+ * Usually removed due to a mXSS issue in jQuery 3.0 */
7277
+ let ALLOW_SELF_CLOSE_IN_ATTR = true;
7278
+ /* Output should be safe for common template engines.
7279
+ * This means, DOMPurify removes data attributes, mustaches and ERB
7280
+ */
7281
+ let SAFE_FOR_TEMPLATES = false;
7282
+ /* Output should be safe even for XML used within HTML and alike.
7283
+ * This means, DOMPurify removes comments when containing risky content.
7284
+ */
7285
+ let SAFE_FOR_XML = true;
7286
+ /* Decide if document with <html>... should be returned */
7287
+ let WHOLE_DOCUMENT = false;
7288
+ /* Track whether config is already set on this instance of DOMPurify. */
7289
+ let SET_CONFIG = false;
7290
+ /* Decide if all elements (e.g. style, script) must be children of
7291
+ * document.body. By default, browsers might move them to document.head */
7292
+ let FORCE_BODY = false;
7293
+ /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html
7294
+ * string (or a TrustedHTML object if Trusted Types are supported).
7295
+ * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead
7296
+ */
7297
+ let RETURN_DOM = false;
7298
+ /* Decide if a DOM `DocumentFragment` should be returned, instead of a html
7299
+ * string (or a TrustedHTML object if Trusted Types are supported) */
7300
+ let RETURN_DOM_FRAGMENT = false;
7301
+ /* Try to return a Trusted Type object instead of a string, return a string in
7302
+ * case Trusted Types are not supported */
7303
+ let RETURN_TRUSTED_TYPE = false;
7304
+ /* Output should be free from DOM clobbering attacks?
7305
+ * This sanitizes markups named with colliding, clobberable built-in DOM APIs.
7306
+ */
7307
+ let SANITIZE_DOM = true;
7308
+ /* Achieve full DOM Clobbering protection by isolating the namespace of named
7309
+ * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.
7310
+ *
7311
+ * HTML/DOM spec rules that enable DOM Clobbering:
7312
+ * - Named Access on Window (§7.3.3)
7313
+ * - DOM Tree Accessors (§3.1.5)
7314
+ * - Form Element Parent-Child Relations (§4.10.3)
7315
+ * - Iframe srcdoc / Nested WindowProxies (§4.8.5)
7316
+ * - HTMLCollection (§4.2.10.2)
7317
+ *
7318
+ * Namespace isolation is implemented by prefixing `id` and `name` attributes
7319
+ * with a constant string, i.e., `user-content-`
7320
+ */
7321
+ let SANITIZE_NAMED_PROPS = false;
7322
+ const SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';
7323
+ /* Keep element content when removing element? */
7324
+ let KEEP_CONTENT = true;
7325
+ /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead
7326
+ * of importing it into a new Document and returning a sanitized copy */
7327
+ let IN_PLACE = false;
7328
+ /* Allow usage of profiles like html, svg and mathMl */
7329
+ let USE_PROFILES = {};
7330
+ /* Tags to ignore content of when KEEP_CONTENT is true */
7331
+ let FORBID_CONTENTS = null;
7332
+ const DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);
7333
+ /* Tags that are safe for data: URIs */
7334
+ let DATA_URI_TAGS = null;
7335
+ const DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);
7336
+ /* Attributes safe for values like "javascript:" */
7337
+ let URI_SAFE_ATTRIBUTES = null;
7338
+ const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);
7339
+ const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';
7340
+ const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
7341
+ const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';
7342
+ /* Document namespace */
7343
+ let NAMESPACE = HTML_NAMESPACE;
7344
+ let IS_EMPTY_INPUT = false;
7345
+ /* Allowed XHTML+XML namespaces */
7346
+ let ALLOWED_NAMESPACES = null;
7347
+ const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);
7348
+ let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);
7349
+ let HTML_INTEGRATION_POINTS = addToSet({}, ['annotation-xml']);
7350
+ // Certain elements are allowed in both SVG and HTML
7351
+ // namespace. We need to specify them explicitly
7352
+ // so that they don't get erroneously deleted from
7353
+ // HTML namespace.
7354
+ const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);
7355
+ /* Parsing of strict XHTML documents */
7356
+ let PARSER_MEDIA_TYPE = null;
7357
+ const SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];
7358
+ const DEFAULT_PARSER_MEDIA_TYPE = 'text/html';
7359
+ let transformCaseFunc = null;
7360
+ /* Keep a reference to config to pass to hooks */
7361
+ let CONFIG = null;
7362
+ /* Ideally, do not touch anything below this line */
7363
+ /* ______________________________________________ */
7364
+ const formElement = document.createElement('form');
7365
+ const isRegexOrFunction = function isRegexOrFunction(testValue) {
7366
+ return testValue instanceof RegExp || testValue instanceof Function;
7367
+ };
7368
+ /**
7369
+ * _parseConfig
7370
+ *
7371
+ * @param cfg optional config literal
7372
+ */
7373
+ // eslint-disable-next-line complexity
7374
+ const _parseConfig = function _parseConfig() {
7375
+ let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
7376
+ if (CONFIG && CONFIG === cfg) {
7377
+ return;
7378
+ }
7379
+ /* Shield configuration object from tampering */
7380
+ if (!cfg || typeof cfg !== 'object') {
7381
+ cfg = {};
7382
+ }
7383
+ /* Shield configuration object from prototype pollution */
7384
+ cfg = clone(cfg);
7385
+ PARSER_MEDIA_TYPE =
7386
+ // eslint-disable-next-line unicorn/prefer-includes
7387
+ SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE;
7388
+ // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.
7389
+ transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;
7390
+ /* Set configuration parameters */
7391
+ ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
7392
+ ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
7393
+ ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
7394
+ URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
7395
+ DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
7396
+ FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
7397
+ FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone({});
7398
+ FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone({});
7399
+ USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES : false;
7400
+ ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true
7401
+ ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true
7402
+ ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false
7403
+ ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true
7404
+ SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false
7405
+ SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true
7406
+ WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false
7407
+ RETURN_DOM = cfg.RETURN_DOM || false; // Default false
7408
+ RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false
7409
+ RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false
7410
+ FORCE_BODY = cfg.FORCE_BODY || false; // Default false
7411
+ SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true
7412
+ SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false
7413
+ KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true
7414
+ IN_PLACE = cfg.IN_PLACE || false; // Default false
7415
+ IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI;
7416
+ NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
7417
+ MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS;
7418
+ HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS;
7419
+ CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};
7420
+ if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
7421
+ CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
7422
+ }
7423
+ if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {
7424
+ CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;
7425
+ }
7426
+ if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {
7427
+ CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;
7428
+ }
7429
+ if (SAFE_FOR_TEMPLATES) {
7430
+ ALLOW_DATA_ATTR = false;
7431
+ }
7432
+ if (RETURN_DOM_FRAGMENT) {
7433
+ RETURN_DOM = true;
7434
+ }
7435
+ /* Parse profile info */
7436
+ if (USE_PROFILES) {
7437
+ ALLOWED_TAGS = addToSet({}, text);
7438
+ ALLOWED_ATTR = [];
7439
+ if (USE_PROFILES.html === true) {
7440
+ addToSet(ALLOWED_TAGS, html$1);
7441
+ addToSet(ALLOWED_ATTR, html);
7442
+ }
7443
+ if (USE_PROFILES.svg === true) {
7444
+ addToSet(ALLOWED_TAGS, svg$1);
7445
+ addToSet(ALLOWED_ATTR, svg);
7446
+ addToSet(ALLOWED_ATTR, xml);
7447
+ }
7448
+ if (USE_PROFILES.svgFilters === true) {
7449
+ addToSet(ALLOWED_TAGS, svgFilters);
7450
+ addToSet(ALLOWED_ATTR, svg);
7451
+ addToSet(ALLOWED_ATTR, xml);
7452
+ }
7453
+ if (USE_PROFILES.mathMl === true) {
7454
+ addToSet(ALLOWED_TAGS, mathMl$1);
7455
+ addToSet(ALLOWED_ATTR, mathMl);
7456
+ addToSet(ALLOWED_ATTR, xml);
7457
+ }
7458
+ }
7459
+ /* Merge configuration parameters */
7460
+ if (cfg.ADD_TAGS) {
7461
+ if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
7462
+ ALLOWED_TAGS = clone(ALLOWED_TAGS);
7463
+ }
7464
+ addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
7465
+ }
7466
+ if (cfg.ADD_ATTR) {
7467
+ if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
7468
+ ALLOWED_ATTR = clone(ALLOWED_ATTR);
7469
+ }
7470
+ addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
7471
+ }
7472
+ if (cfg.ADD_URI_SAFE_ATTR) {
7473
+ addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
7474
+ }
7475
+ if (cfg.FORBID_CONTENTS) {
7476
+ if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
7477
+ FORBID_CONTENTS = clone(FORBID_CONTENTS);
7478
+ }
7479
+ addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
7480
+ }
7481
+ /* Add #text in case KEEP_CONTENT is set to true */
7482
+ if (KEEP_CONTENT) {
7483
+ ALLOWED_TAGS['#text'] = true;
7484
+ }
7485
+ /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */
7486
+ if (WHOLE_DOCUMENT) {
7487
+ addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);
7488
+ }
7489
+ /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */
7490
+ if (ALLOWED_TAGS.table) {
7491
+ addToSet(ALLOWED_TAGS, ['tbody']);
7492
+ delete FORBID_TAGS.tbody;
7493
+ }
7494
+ if (cfg.TRUSTED_TYPES_POLICY) {
7495
+ if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') {
7496
+ throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
7497
+ }
7498
+ if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') {
7499
+ throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
7500
+ }
7501
+ // Overwrite existing TrustedTypes policy.
7502
+ trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;
7503
+ // Sign local variables required by `sanitize`.
7504
+ emptyHTML = trustedTypesPolicy.createHTML('');
7505
+ } else {
7506
+ // Uninitialized policy, attempt to initialize the internal dompurify policy.
7507
+ if (trustedTypesPolicy === undefined) {
7508
+ trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);
7509
+ }
7510
+ // If creating the internal policy succeeded sign internal variables.
7511
+ if (trustedTypesPolicy !== null && typeof emptyHTML === 'string') {
7512
+ emptyHTML = trustedTypesPolicy.createHTML('');
7513
+ }
7514
+ }
7515
+ // Prevent further manipulation of configuration.
7516
+ // Not available in IE8, Safari 5, etc.
7517
+ if (freeze) {
7518
+ freeze(cfg);
7519
+ }
7520
+ CONFIG = cfg;
7521
+ };
7522
+ /* Keep track of all possible SVG and MathML tags
7523
+ * so that we can perform the namespace checks
7524
+ * correctly. */
7525
+ const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]);
7526
+ const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);
7527
+ /**
7528
+ * @param element a DOM element whose namespace is being checked
7529
+ * @returns Return false if the element has a
7530
+ * namespace that a spec-compliant parser would never
7531
+ * return. Return true otherwise.
7532
+ */
7533
+ const _checkValidNamespace = function _checkValidNamespace(element) {
7534
+ let parent = getParentNode(element);
7535
+ // In JSDOM, if we're inside shadow DOM, then parentNode
7536
+ // can be null. We just simulate parent in this case.
7537
+ if (!parent || !parent.tagName) {
7538
+ parent = {
7539
+ namespaceURI: NAMESPACE,
7540
+ tagName: 'template'
7541
+ };
7542
+ }
7543
+ const tagName = stringToLowerCase(element.tagName);
7544
+ const parentTagName = stringToLowerCase(parent.tagName);
7545
+ if (!ALLOWED_NAMESPACES[element.namespaceURI]) {
7546
+ return false;
7547
+ }
7548
+ if (element.namespaceURI === SVG_NAMESPACE) {
7549
+ // The only way to switch from HTML namespace to SVG
7550
+ // is via <svg>. If it happens via any other tag, then
7551
+ // it should be killed.
7552
+ if (parent.namespaceURI === HTML_NAMESPACE) {
7553
+ return tagName === 'svg';
7554
+ }
7555
+ // The only way to switch from MathML to SVG is via`
7556
+ // svg if parent is either <annotation-xml> or MathML
7557
+ // text integration points.
7558
+ if (parent.namespaceURI === MATHML_NAMESPACE) {
7559
+ return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);
7560
+ }
7561
+ // We only allow elements that are defined in SVG
7562
+ // spec. All others are disallowed in SVG namespace.
7563
+ return Boolean(ALL_SVG_TAGS[tagName]);
7564
+ }
7565
+ if (element.namespaceURI === MATHML_NAMESPACE) {
7566
+ // The only way to switch from HTML namespace to MathML
7567
+ // is via <math>. If it happens via any other tag, then
7568
+ // it should be killed.
7569
+ if (parent.namespaceURI === HTML_NAMESPACE) {
7570
+ return tagName === 'math';
7571
+ }
7572
+ // The only way to switch from SVG to MathML is via
7573
+ // <math> and HTML integration points
7574
+ if (parent.namespaceURI === SVG_NAMESPACE) {
7575
+ return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];
7576
+ }
7577
+ // We only allow elements that are defined in MathML
7578
+ // spec. All others are disallowed in MathML namespace.
7579
+ return Boolean(ALL_MATHML_TAGS[tagName]);
7580
+ }
7581
+ if (element.namespaceURI === HTML_NAMESPACE) {
7582
+ // The only way to switch from SVG to HTML is via
7583
+ // HTML integration points, and from MathML to HTML
7584
+ // is via MathML text integration points
7585
+ if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {
7586
+ return false;
7587
+ }
7588
+ if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {
7589
+ return false;
7590
+ }
7591
+ // We disallow tags that are specific for MathML
7592
+ // or SVG and should never appear in HTML namespace
7593
+ return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);
7594
+ }
7595
+ // For XHTML and XML documents that support custom namespaces
7596
+ if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {
7597
+ return true;
7598
+ }
7599
+ // The code should never reach this place (this means
7600
+ // that the element somehow got namespace that is not
7601
+ // HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).
7602
+ // Return false just in case.
7603
+ return false;
7604
+ };
7605
+ /**
7606
+ * _forceRemove
7607
+ *
7608
+ * @param node a DOM node
7609
+ */
7610
+ const _forceRemove = function _forceRemove(node) {
7611
+ arrayPush(DOMPurify.removed, {
7612
+ element: node
7613
+ });
7614
+ try {
7615
+ // eslint-disable-next-line unicorn/prefer-dom-node-remove
7616
+ getParentNode(node).removeChild(node);
7617
+ } catch (_) {
7618
+ remove(node);
7619
+ }
7620
+ };
7621
+ /**
7622
+ * _removeAttribute
7623
+ *
7624
+ * @param name an Attribute name
7625
+ * @param element a DOM node
7626
+ */
7627
+ const _removeAttribute = function _removeAttribute(name, element) {
7628
+ try {
7629
+ arrayPush(DOMPurify.removed, {
7630
+ attribute: element.getAttributeNode(name),
7631
+ from: element
7632
+ });
7633
+ } catch (_) {
7634
+ arrayPush(DOMPurify.removed, {
7635
+ attribute: null,
7636
+ from: element
7637
+ });
7638
+ }
7639
+ element.removeAttribute(name);
7640
+ // We void attribute values for unremovable "is" attributes
7641
+ if (name === 'is') {
7642
+ if (RETURN_DOM || RETURN_DOM_FRAGMENT) {
7643
+ try {
7644
+ _forceRemove(element);
7645
+ } catch (_) {}
7646
+ } else {
7647
+ try {
7648
+ element.setAttribute(name, '');
7649
+ } catch (_) {}
7650
+ }
7651
+ }
7652
+ };
7653
+ /**
7654
+ * _initDocument
7655
+ *
7656
+ * @param dirty - a string of dirty markup
7657
+ * @return a DOM, filled with the dirty markup
7658
+ */
7659
+ const _initDocument = function _initDocument(dirty) {
7660
+ /* Create a HTML document */
7661
+ let doc = null;
7662
+ let leadingWhitespace = null;
7663
+ if (FORCE_BODY) {
7664
+ dirty = '<remove></remove>' + dirty;
7665
+ } else {
7666
+ /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */
7667
+ const matches = stringMatch(dirty, /^[\r\n\t ]+/);
7668
+ leadingWhitespace = matches && matches[0];
7669
+ }
7670
+ if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {
7671
+ // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)
7672
+ dirty = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + dirty + '</body></html>';
7673
+ }
7674
+ const dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;
7675
+ /*
7676
+ * Use the DOMParser API by default, fallback later if needs be
7677
+ * DOMParser not work for svg when has multiple root element.
7678
+ */
7679
+ if (NAMESPACE === HTML_NAMESPACE) {
7680
+ try {
7681
+ doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);
7682
+ } catch (_) {}
7683
+ }
7684
+ /* Use createHTMLDocument in case DOMParser is not available */
7685
+ if (!doc || !doc.documentElement) {
7686
+ doc = implementation.createDocument(NAMESPACE, 'template', null);
7687
+ try {
7688
+ doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;
7689
+ } catch (_) {
7690
+ // Syntax error if dirtyPayload is invalid xml
7691
+ }
7692
+ }
7693
+ const body = doc.body || doc.documentElement;
7694
+ if (dirty && leadingWhitespace) {
7695
+ body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);
7696
+ }
7697
+ /* Work on whole document or just its body */
7698
+ if (NAMESPACE === HTML_NAMESPACE) {
7699
+ return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];
7700
+ }
7701
+ return WHOLE_DOCUMENT ? doc.documentElement : body;
7702
+ };
7703
+ /**
7704
+ * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.
7705
+ *
7706
+ * @param root The root element or node to start traversing on.
7707
+ * @return The created NodeIterator
7708
+ */
7709
+ const _createNodeIterator = function _createNodeIterator(root) {
7710
+ return createNodeIterator.call(root.ownerDocument || root, root,
7711
+ // eslint-disable-next-line no-bitwise
7712
+ NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);
7713
+ };
7714
+ /**
7715
+ * _isClobbered
7716
+ *
7717
+ * @param element element to check for clobbering attacks
7718
+ * @return true if clobbered, false if safe
7719
+ */
7720
+ const _isClobbered = function _isClobbered(element) {
7721
+ return element instanceof HTMLFormElement && (typeof element.nodeName !== 'string' || typeof element.textContent !== 'string' || typeof element.removeChild !== 'function' || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== 'function' || typeof element.setAttribute !== 'function' || typeof element.namespaceURI !== 'string' || typeof element.insertBefore !== 'function' || typeof element.hasChildNodes !== 'function');
7722
+ };
7723
+ /**
7724
+ * Checks whether the given object is a DOM node.
7725
+ *
7726
+ * @param value object to check whether it's a DOM node
7727
+ * @return true is object is a DOM node
7728
+ */
7729
+ const _isNode = function _isNode(value) {
7730
+ return typeof Node === 'function' && value instanceof Node;
7731
+ };
7732
+ function _executeHooks(hooks, currentNode, data) {
7733
+ arrayForEach(hooks, hook => {
7734
+ hook.call(DOMPurify, currentNode, data, CONFIG);
7735
+ });
7736
+ }
7737
+ /**
7738
+ * _sanitizeElements
7739
+ *
7740
+ * @protect nodeName
7741
+ * @protect textContent
7742
+ * @protect removeChild
7743
+ * @param currentNode to check for permission to exist
7744
+ * @return true if node was killed, false if left alive
7745
+ */
7746
+ const _sanitizeElements = function _sanitizeElements(currentNode) {
7747
+ let content = null;
7748
+ /* Execute a hook if present */
7749
+ _executeHooks(hooks.beforeSanitizeElements, currentNode, null);
7750
+ /* Check if element is clobbered or can clobber */
7751
+ if (_isClobbered(currentNode)) {
7752
+ _forceRemove(currentNode);
7753
+ return true;
7754
+ }
7755
+ /* Now let's check the element's type and name */
7756
+ const tagName = transformCaseFunc(currentNode.nodeName);
7757
+ /* Execute a hook if present */
7758
+ _executeHooks(hooks.uponSanitizeElement, currentNode, {
7759
+ tagName,
7760
+ allowedTags: ALLOWED_TAGS
7761
+ });
7762
+ /* Detect mXSS attempts abusing namespace confusion */
7763
+ if (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
7764
+ _forceRemove(currentNode);
7765
+ return true;
7766
+ }
7767
+ /* Remove any occurrence of processing instructions */
7768
+ if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {
7769
+ _forceRemove(currentNode);
7770
+ return true;
7771
+ }
7772
+ /* Remove any kind of possibly harmful comments */
7773
+ if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, currentNode.data)) {
7774
+ _forceRemove(currentNode);
7775
+ return true;
7776
+ }
7777
+ /* Remove element if anything forbids its presence */
7778
+ if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
7779
+ /* Check if we have a custom element to handle */
7780
+ if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
7781
+ if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
7782
+ return false;
7783
+ }
7784
+ if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) {
7785
+ return false;
7786
+ }
7787
+ }
7788
+ /* Keep content except for bad-listed elements */
7789
+ if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {
7790
+ const parentNode = getParentNode(currentNode) || currentNode.parentNode;
7791
+ const childNodes = getChildNodes(currentNode) || currentNode.childNodes;
7792
+ if (childNodes && parentNode) {
7793
+ const childCount = childNodes.length;
7794
+ for (let i = childCount - 1; i >= 0; --i) {
7795
+ const childClone = cloneNode(childNodes[i], true);
7796
+ childClone.__removalCount = (currentNode.__removalCount || 0) + 1;
7797
+ parentNode.insertBefore(childClone, getNextSibling(currentNode));
7798
+ }
7799
+ }
7800
+ }
7801
+ _forceRemove(currentNode);
7802
+ return true;
7803
+ }
7804
+ /* Check whether element has a valid namespace */
7805
+ if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {
7806
+ _forceRemove(currentNode);
7807
+ return true;
7808
+ }
7809
+ /* Make sure that older browsers don't get fallback-tag mXSS */
7810
+ if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(/<\/no(script|embed|frames)/i, currentNode.innerHTML)) {
7811
+ _forceRemove(currentNode);
7812
+ return true;
7813
+ }
7814
+ /* Sanitize element content to be template-safe */
7815
+ if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {
7816
+ /* Get the element's text content */
7817
+ content = currentNode.textContent;
7818
+ arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
7819
+ content = stringReplace(content, expr, ' ');
7820
+ });
7821
+ if (currentNode.textContent !== content) {
7822
+ arrayPush(DOMPurify.removed, {
7823
+ element: currentNode.cloneNode()
7824
+ });
7825
+ currentNode.textContent = content;
7826
+ }
7827
+ }
7828
+ /* Execute a hook if present */
7829
+ _executeHooks(hooks.afterSanitizeElements, currentNode, null);
7830
+ return false;
7831
+ };
7832
+ /**
7833
+ * _isValidAttribute
7834
+ *
7835
+ * @param lcTag Lowercase tag name of containing element.
7836
+ * @param lcName Lowercase attribute name.
7837
+ * @param value Attribute value.
7838
+ * @return Returns true if `value` is valid, otherwise false.
7839
+ */
7840
+ // eslint-disable-next-line complexity
7841
+ const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
7842
+ /* Make sure attribute cannot clobber */
7843
+ if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
7844
+ return false;
7845
+ }
7846
+ /* Allow valid data-* attributes: At least one character after "-"
7847
+ (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
7848
+ XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
7849
+ We don't need to check the value; it's always URI safe. */
7850
+ if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
7851
+ if (
7852
+ // First condition does a very basic check if a) it's basically a valid custom element tagname AND
7853
+ // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
7854
+ // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
7855
+ _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) ||
7856
+ // Alternative, second condition checks if it's an `is`-attribute, AND
7857
+ // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
7858
+ lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {
7859
+ return false;
7860
+ }
7861
+ /* Check value is safe. First, is attr inert? If so, is safe */
7862
+ } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (value) {
7863
+ return false;
7864
+ } else ;
7865
+ return true;
7866
+ };
7867
+ /**
7868
+ * _isBasicCustomElement
7869
+ * checks if at least one dash is included in tagName, and it's not the first char
7870
+ * for more sophisticated checking see https://github.com/sindresorhus/validate-element-name
7871
+ *
7872
+ * @param tagName name of the tag of the node to sanitize
7873
+ * @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.
7874
+ */
7875
+ const _isBasicCustomElement = function _isBasicCustomElement(tagName) {
7876
+ return tagName !== 'annotation-xml' && stringMatch(tagName, CUSTOM_ELEMENT);
7877
+ };
7878
+ /**
7879
+ * _sanitizeAttributes
7880
+ *
7881
+ * @protect attributes
7882
+ * @protect nodeName
7883
+ * @protect removeAttribute
7884
+ * @protect setAttribute
7885
+ *
7886
+ * @param currentNode to sanitize
7887
+ */
7888
+ const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {
7889
+ /* Execute a hook if present */
7890
+ _executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
7891
+ const {
7892
+ attributes
7893
+ } = currentNode;
7894
+ /* Check if we have attributes; if not we might have a text node */
7895
+ if (!attributes || _isClobbered(currentNode)) {
7896
+ return;
7897
+ }
7898
+ const hookEvent = {
7899
+ attrName: '',
7900
+ attrValue: '',
7901
+ keepAttr: true,
7902
+ allowedAttributes: ALLOWED_ATTR,
7903
+ forceKeepAttr: undefined
7904
+ };
7905
+ let l = attributes.length;
7906
+ /* Go backwards over all attributes; safely remove bad ones */
7907
+ while (l--) {
7908
+ const attr = attributes[l];
7909
+ const {
7910
+ name,
7911
+ namespaceURI,
7912
+ value: attrValue
7913
+ } = attr;
7914
+ const lcName = transformCaseFunc(name);
7915
+ const initValue = attrValue;
7916
+ let value = name === 'value' ? initValue : stringTrim(initValue);
7917
+ /* Execute a hook if present */
7918
+ hookEvent.attrName = lcName;
7919
+ hookEvent.attrValue = value;
7920
+ hookEvent.keepAttr = true;
7921
+ hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set
7922
+ _executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent);
7923
+ value = hookEvent.attrValue;
7924
+ /* Full DOM Clobbering protection via namespace isolation,
7925
+ * Prefix id and name attributes with `user-content-`
7926
+ */
7927
+ if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {
7928
+ // Remove the attribute with this value
7929
+ _removeAttribute(name, currentNode);
7930
+ // Prefix the value and later re-create the attribute with the sanitized value
7931
+ value = SANITIZE_NAMED_PROPS_PREFIX + value;
7932
+ }
7933
+ /* Work around a security issue with comments inside attributes */
7934
+ if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
7935
+ _removeAttribute(name, currentNode);
7936
+ continue;
7937
+ }
7938
+ /* Did the hooks approve of the attribute? */
7939
+ if (hookEvent.forceKeepAttr) {
7940
+ continue;
7941
+ }
7942
+ /* Did the hooks approve of the attribute? */
7943
+ if (!hookEvent.keepAttr) {
7944
+ _removeAttribute(name, currentNode);
7945
+ continue;
7946
+ }
7947
+ /* Work around a security issue in jQuery 3.0 */
7948
+ if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\/>/i, value)) {
7949
+ _removeAttribute(name, currentNode);
7950
+ continue;
7951
+ }
7952
+ /* Sanitize attribute content to be template-safe */
7953
+ if (SAFE_FOR_TEMPLATES) {
7954
+ arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
7955
+ value = stringReplace(value, expr, ' ');
7956
+ });
7957
+ }
7958
+ /* Is `value` valid for this attribute? */
7959
+ const lcTag = transformCaseFunc(currentNode.nodeName);
7960
+ if (!_isValidAttribute(lcTag, lcName, value)) {
7961
+ _removeAttribute(name, currentNode);
7962
+ continue;
7963
+ }
7964
+ /* Handle attributes that require Trusted Types */
7965
+ if (trustedTypesPolicy && typeof trustedTypes === 'object' && typeof trustedTypes.getAttributeType === 'function') {
7966
+ if (namespaceURI) ; else {
7967
+ switch (trustedTypes.getAttributeType(lcTag, lcName)) {
7968
+ case 'TrustedHTML':
7969
+ {
7970
+ value = trustedTypesPolicy.createHTML(value);
7971
+ break;
7972
+ }
7973
+ case 'TrustedScriptURL':
7974
+ {
7975
+ value = trustedTypesPolicy.createScriptURL(value);
7976
+ break;
7977
+ }
7978
+ }
7979
+ }
7980
+ }
7981
+ /* Handle invalid data-* attribute set by try-catching it */
7982
+ if (value !== initValue) {
7983
+ try {
7984
+ if (namespaceURI) {
7985
+ currentNode.setAttributeNS(namespaceURI, name, value);
7986
+ } else {
7987
+ /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. "x-schema". */
7988
+ currentNode.setAttribute(name, value);
7989
+ }
7990
+ if (_isClobbered(currentNode)) {
7991
+ _forceRemove(currentNode);
7992
+ } else {
7993
+ arrayPop(DOMPurify.removed);
7994
+ }
7995
+ } catch (_) {
7996
+ _removeAttribute(name, currentNode);
7997
+ }
7998
+ }
7999
+ }
8000
+ /* Execute a hook if present */
8001
+ _executeHooks(hooks.afterSanitizeAttributes, currentNode, null);
8002
+ };
8003
+ /**
8004
+ * _sanitizeShadowDOM
8005
+ *
8006
+ * @param fragment to iterate over recursively
8007
+ */
8008
+ const _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) {
8009
+ let shadowNode = null;
8010
+ const shadowIterator = _createNodeIterator(fragment);
8011
+ /* Execute a hook if present */
8012
+ _executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);
8013
+ while (shadowNode = shadowIterator.nextNode()) {
8014
+ /* Execute a hook if present */
8015
+ _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);
8016
+ /* Sanitize tags and elements */
8017
+ _sanitizeElements(shadowNode);
8018
+ /* Check attributes next */
8019
+ _sanitizeAttributes(shadowNode);
8020
+ /* Deep shadow DOM detected */
8021
+ if (shadowNode.content instanceof DocumentFragment) {
8022
+ _sanitizeShadowDOM(shadowNode.content);
8023
+ }
8024
+ }
8025
+ /* Execute a hook if present */
8026
+ _executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);
8027
+ };
8028
+ // eslint-disable-next-line complexity
8029
+ DOMPurify.sanitize = function (dirty) {
8030
+ let cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
8031
+ let body = null;
8032
+ let importedNode = null;
8033
+ let currentNode = null;
8034
+ let returnNode = null;
8035
+ /* Make sure we have a string to sanitize.
8036
+ DO NOT return early, as this will return the wrong type if
8037
+ the user has requested a DOM object rather than a string */
8038
+ IS_EMPTY_INPUT = !dirty;
8039
+ if (IS_EMPTY_INPUT) {
8040
+ dirty = '<!-->';
8041
+ }
8042
+ /* Stringify, in case dirty is an object */
8043
+ if (typeof dirty !== 'string' && !_isNode(dirty)) {
8044
+ if (typeof dirty.toString === 'function') {
8045
+ dirty = dirty.toString();
8046
+ if (typeof dirty !== 'string') {
8047
+ throw typeErrorCreate('dirty is not a string, aborting');
8048
+ }
8049
+ } else {
8050
+ throw typeErrorCreate('toString is not a function');
8051
+ }
8052
+ }
8053
+ /* Return dirty HTML if DOMPurify cannot run */
8054
+ if (!DOMPurify.isSupported) {
8055
+ return dirty;
8056
+ }
8057
+ /* Assign config vars */
8058
+ if (!SET_CONFIG) {
8059
+ _parseConfig(cfg);
8060
+ }
8061
+ /* Clean up removed elements */
8062
+ DOMPurify.removed = [];
8063
+ /* Check if dirty is correctly typed for IN_PLACE */
8064
+ if (typeof dirty === 'string') {
8065
+ IN_PLACE = false;
8066
+ }
8067
+ if (IN_PLACE) {
8068
+ /* Do some early pre-sanitization to avoid unsafe root nodes */
8069
+ if (dirty.nodeName) {
8070
+ const tagName = transformCaseFunc(dirty.nodeName);
8071
+ if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
8072
+ throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');
8073
+ }
8074
+ }
8075
+ } else if (dirty instanceof Node) {
8076
+ /* If dirty is a DOM element, append to an empty document to avoid
8077
+ elements being stripped by the parser */
8078
+ body = _initDocument('<!---->');
8079
+ importedNode = body.ownerDocument.importNode(dirty, true);
8080
+ if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === 'BODY') {
8081
+ /* Node is already a body, use as is */
8082
+ body = importedNode;
8083
+ } else if (importedNode.nodeName === 'HTML') {
8084
+ body = importedNode;
8085
+ } else {
8086
+ // eslint-disable-next-line unicorn/prefer-dom-node-append
8087
+ body.appendChild(importedNode);
8088
+ }
8089
+ } else {
8090
+ /* Exit directly if we have nothing to do */
8091
+ if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&
8092
+ // eslint-disable-next-line unicorn/prefer-includes
8093
+ dirty.indexOf('<') === -1) {
8094
+ return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;
8095
+ }
8096
+ /* Initialize the document to work on */
8097
+ body = _initDocument(dirty);
8098
+ /* Check we have a DOM node from the data */
8099
+ if (!body) {
8100
+ return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';
8101
+ }
8102
+ }
8103
+ /* Remove first element node (ours) if FORCE_BODY is set */
8104
+ if (body && FORCE_BODY) {
8105
+ _forceRemove(body.firstChild);
8106
+ }
8107
+ /* Get node iterator */
8108
+ const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);
8109
+ /* Now start iterating over the created document */
8110
+ while (currentNode = nodeIterator.nextNode()) {
8111
+ /* Sanitize tags and elements */
8112
+ _sanitizeElements(currentNode);
8113
+ /* Check attributes next */
8114
+ _sanitizeAttributes(currentNode);
8115
+ /* Shadow DOM detected, sanitize it */
8116
+ if (currentNode.content instanceof DocumentFragment) {
8117
+ _sanitizeShadowDOM(currentNode.content);
8118
+ }
8119
+ }
8120
+ /* If we sanitized `dirty` in-place, return it. */
8121
+ if (IN_PLACE) {
8122
+ return dirty;
8123
+ }
8124
+ /* Return sanitized string or DOM */
8125
+ if (RETURN_DOM) {
8126
+ if (RETURN_DOM_FRAGMENT) {
8127
+ returnNode = createDocumentFragment.call(body.ownerDocument);
8128
+ while (body.firstChild) {
8129
+ // eslint-disable-next-line unicorn/prefer-dom-node-append
8130
+ returnNode.appendChild(body.firstChild);
8131
+ }
8132
+ } else {
8133
+ returnNode = body;
8134
+ }
8135
+ if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) {
8136
+ /*
8137
+ AdoptNode() is not used because internal state is not reset
8138
+ (e.g. the past names map of a HTMLFormElement), this is safe
8139
+ in theory but we would rather not risk another attack vector.
8140
+ The state that is cloned by importNode() is explicitly defined
8141
+ by the specs.
8142
+ */
8143
+ returnNode = importNode.call(originalDocument, returnNode, true);
8144
+ }
8145
+ return returnNode;
8146
+ }
8147
+ let serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;
8148
+ /* Serialize doctype if allowed */
8149
+ if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {
8150
+ serializedHTML = '<!DOCTYPE ' + body.ownerDocument.doctype.name + '>\n' + serializedHTML;
8151
+ }
8152
+ /* Sanitize final string template-safe */
8153
+ if (SAFE_FOR_TEMPLATES) {
8154
+ arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
8155
+ serializedHTML = stringReplace(serializedHTML, expr, ' ');
8156
+ });
8157
+ }
8158
+ return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;
8159
+ };
8160
+ DOMPurify.setConfig = function () {
8161
+ let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
8162
+ _parseConfig(cfg);
8163
+ SET_CONFIG = true;
8164
+ };
8165
+ DOMPurify.clearConfig = function () {
8166
+ CONFIG = null;
8167
+ SET_CONFIG = false;
8168
+ };
8169
+ DOMPurify.isValidAttribute = function (tag, attr, value) {
8170
+ /* Initialize shared config vars if necessary. */
8171
+ if (!CONFIG) {
8172
+ _parseConfig({});
8173
+ }
8174
+ const lcTag = transformCaseFunc(tag);
8175
+ const lcName = transformCaseFunc(attr);
8176
+ return _isValidAttribute(lcTag, lcName, value);
8177
+ };
8178
+ DOMPurify.addHook = function (entryPoint, hookFunction) {
8179
+ if (typeof hookFunction !== 'function') {
8180
+ return;
8181
+ }
8182
+ arrayPush(hooks[entryPoint], hookFunction);
8183
+ };
8184
+ DOMPurify.removeHook = function (entryPoint, hookFunction) {
8185
+ if (hookFunction !== undefined) {
8186
+ const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);
8187
+ return index === -1 ? undefined : arraySplice(hooks[entryPoint], index, 1)[0];
8188
+ }
8189
+ return arrayPop(hooks[entryPoint]);
8190
+ };
8191
+ DOMPurify.removeHooks = function (entryPoint) {
8192
+ hooks[entryPoint] = [];
8193
+ };
8194
+ DOMPurify.removeAllHooks = function () {
8195
+ hooks = _createHooksMap();
8196
+ };
8197
+ return DOMPurify;
8198
+ }
8199
+ var purify = createDOMPurify();
8200
+
8201
+ return purify;
8202
+
8203
+ }));
8204
+
8205
+ }(purify));
8206
+
8207
+ var purifier = purify.exports;
8208
+
8209
+ const IC_CUSTOM_ALLOWED_COMPONENTS = [];
8210
+
8211
+ /* istanbul ignore next */
8212
+ const getCustomElementHandling$1 = (allowICPrefix) => ({
8213
+ CUSTOM_ELEMENT_HANDLING: {
8214
+ tagNameCheck: (tagName) => (allowICPrefix && tagName.startsWith("ic-")) ||
8215
+ IC_CUSTOM_ALLOWED_COMPONENTS.includes(tagName),
8216
+ attributeNameCheck: /.*/,
8217
+ },
8218
+ });
8219
+ const sanitizeHTMLIconString$1 = (html) => {
8220
+ return purifier.sanitize(html, getCustomElementHandling$1(false));
8221
+ };
8222
+
6839
8223
  const icDataTableCss = ":host{position:relative;display:inline-flex;max-height:100%;width:var(--table-width, 100%);height:100%;min-width:var(--table-min-width);max-width:var(--table-max-width)}tbody{vertical-align:top}.table-container{position:relative;height:calc(100% - var(--ic-space-xxxs));display:flex;flex-direction:column;width:100%}.cell-container{display:flex;min-height:1.5rem;overflow-y:hidden;height:var(--row-height);--ic-typography-color:var(--ic-data-table-text-default-emphasis)}.truncation-show-hide{display:block}.cell-icon.truncation-show-hide{display:flex}.cell-container:not(.data-type-element,.truncation-show-hide){overflow-x:hidden}ic-loading-indicator{position:sticky;top:20px}.table-row-container{position:relative;height:100%;overflow:auto;transition:var(--ic-easing-transition-fast);overflow-anchor:none}:host([show-pagination=\"true\"]) .table-row-container{height:calc(100% - 3.5625rem)}table{table-layout:var(--table-layout, \"fixed\");border-spacing:0;width:100%;height:var(--table-height, auto)}.table-row-container:focus{outline:none;box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast);z-index:1}:host([embedded=\"true\"]) .table-row-container{border:var(--ic-space-1px) solid var(--ic-data-table-border)}.column-header-inner-container{padding:var(--ic-space-xs);box-sizing:border-box}.column-header-inner-container ic-tooltip{pointer-events:none}.column-header-inner-container ic-tooltip.show-trunc-tooltip{pointer-events:auto}.column-header-inner-container ic-tooltip .column-header-text{--ic-line-clamp:1}.column-header-sticky{position:sticky;top:0;z-index:1}.column-header-overlay{position:sticky;top:0;z-index:1;box-shadow:0 0.375rem var(--ic-space-xs) calc(var(--ic-space-xxs * -1))\n rgb(0 0 0 / 20%)}.row-header-sticky{position:sticky;left:0}.column-header,.table-row{box-sizing:border-box}.table-row-selected{background-image:linear-gradient(\n var(--ic-data-table-cell-background-selected) 0 0\n );background-color:var(--ic-data-table-cell-background) !important}.table-row:hover{background-image:linear-gradient(\n var(--ic-data-table-cell-background-hover) 0 0\n );background-color:var(--ic-data-table-cell-background) !important}.table-row-selected:hover{background-image:linear-gradient(\n var(--ic-data-table-cell-background-selected-hover) 0 0\n )}.sort-button{margin-left:auto}.sort-button:hover{background-color:var(--ic-data-table-icon-button-background-hover)}.sort-button:active{background-color:var(--ic-data-table-icon-button-background-pressed)}.sort-button svg{color:var(--ic-data-table-sort-toggle-icon)}.sort-button-unsorted svg{color:var(--ic-data-table-sort-toggle-icon-default)}.table-density-dense .column-header-inner-container,td.table-density-dense{padding:var(--ic-space-xxs) var(--ic-space-xs) !important}.text-dense{font-size:var(--ic-font-size-label)}.table-density-spacious .column-header-inner-container,td.table-density-spacious{padding:0.625rem var(--ic-space-xs) !important}.text-spacious{font-size:1.125rem}.column-header-text{font-weight:var(--ic-font-weight-bold)}.dummy-column-header-text{white-space:nowrap;overflow:hidden;height:0;width:-moz-fit-content;width:fit-content}.row-header,.column-header{text-align:left;padding:var(--ic-space-xs);background-color:var(--ic-data-table-header-background);border-right:var(--ic-space-1px) solid var(--ic-data-table-header-keyline);border-bottom:var(--ic-space-1px) solid var(--ic-data-table-header-keyline);color:var(--ic-data-table-header-text)}.column-header{padding:0;width:var(--column-width);min-width:var(--column-min-width, 4rem);max-width:var(--column-max-width)}.column-header:last-child{border-right:none}.scrollable .column-header:last-child{border-right:var(--ic-space-1px) solid var(--ic-data-table-header-keyline) !important}:host([embedded=\"true\"]) tr:last-child .table-cell,:host([embedded=\"true\"]) tr:last-child .row-header{border-bottom:none}.column-header-alignment-left,.row-header-alignment-left,.cell-alignment-left{text-align:left !important;justify-content:start !important}.column-header-alignment-right,.row-header-alignment-right,.cell-alignment-right{text-align:right !important;justify-content:end !important}.cell-alignment-right.truncation-tooltip ic-tooltip ic-typography{padding-right:calc(var(--ic-space-xxs) + var(--ic-space-xs))}.cell-alignment-right.truncation-show-hide ic-typography{--ellipsis-padding-right:calc(var(--ic-space-xxs) + var(--ic-space-xs))}.column-header-alignment-center,.row-header-alignment-center,.cell-alignment-center{text-align:center !important;justify-content:center !important}.table-row{background-color:var(--ic-data-table-cell-background)}.table-row:nth-child(even){background-color:var(--ic-data-table-cell-background-stripe)}.table-cell{padding:var(--ic-space-xs);border-bottom:solid var(--ic-data-table-cell-keyline) var(--ic-space-1px);overflow:hidden;box-sizing:border-box;max-width:var(--column-max-width);min-width:var(--column-min-width)}.table-cell.with-overflow{overflow:visible}.data-type-string,.data-type-address{text-align:left}.data-type-number,.data-type-date{text-align:right;justify-content:end}.cell-vertical-align-top{vertical-align:top;align-items:flex-start}.cell-vertical-align-middle{vertical-align:middle;align-items:center}.cell-vertical-align-bottom{vertical-align:bottom;align-items:flex-end}.cell-emphasis-low ic-typography{--ic-typography-color:var(--ic-data-table-text-low-emphasis)}.cell-emphasis-high ic-typography{--ic-typography-color:var(--ic-data-table-text-high-emphasis);font-weight:var(--ic-font-weight-bold)}.pagination-container{background-color:var(--ic-data-table-pagination-bar-background-color);border-top:var(--ic-space-1px) solid\n var(--ic-data-table-pagination-bar-keyline)}.screen-reader-sort-text,.table-caption{position:absolute;left:-100rem}.table-cell,.column-header,.row-header{word-wrap:break-word;white-space:pre-wrap}.loading-empty{padding:var(--ic-space-xl) var(--ic-space-xxl);margin-top:var(--ic-space-xl)}.updating-state{padding:0;border-bottom:var(--ic-space-1px) solid var(--ic-data-table-header-keyline)}.updating-state-headers{border-bottom:none}.loading{position:absolute;left:calc(50% - 5.9741rem);opacity:0;transition:opacity var(--ic-transition-duration-slow);z-index:calc(var(--ic-z-index-popover) - 1);background-color:var(--ic-data-table-overlay-background);border:var(--ic-space-1px) solid var(--ic-data-table-overlay-border)}.loading.show{opacity:1}.icon,::slotted(svg){height:var(--ic-space-lg);width:var(--ic-space-lg);margin-right:var(--ic-space-xxs)}.column-header .icon>svg,.column-header ::slotted(svg){fill:var(--ic-data-table-icon)}.table-cell .icon>svg,.table-cell ::slotted(svg),.cell-description-icon>svg{fill:var(--ic-data-table-icon-default-emphasis)}.cell-emphasis-high .icon>svg,.cell-emphasis-high ::slotted(svg){fill:var(--ic-data-table-icon-high-emphasis)}.cell-emphasis-low .icon>svg,.cell-emphasis-low ::slotted(svg){fill:var(--ic-data-table-icon-low-emphasis)}.column-header-alignment-right>.icon,.row-header-alignment-right>.icon,.cell-alignment-right>.icon,.column-header-alignment-right>::slotted(svg),.row-header-alignment-right>::slotted(svg),.cell-alignment-right>::slotted(svg){margin-right:auto}.column-header-alignment-center>ic-typography,.column-header-alignment-center>.cell-text-wrapper,.row-header-alignment-right>ic-typography,.row-header-alignment-right>.cell-text-wrapper,.cell-alignment-center>ic-typography,.cell-alignment-center>.cell-text-wrapper{flex:1}.checkbox-cell{--column-width:var(--ic-space-xxl);align-content:center;border-right:none}.table-density-dense.checkbox-cell{--column-width:2.5rem}.checkbox-wrapper{display:flex;justify-content:center}.icon>svg{height:var(--ic-space-lg);width:var(--ic-space-lg);display:inline-block}.truncation-tooltip ic-typography{display:-webkit-box;line-clamp:var(--ic-line-clamp, 0);-webkit-line-clamp:var(--ic-line-clamp, 0);-webkit-box-orient:vertical;overflow:hidden}.truncation-tooltip ic-typography,.truncation-show-hide ic-typography{white-space:normal}.ic-tooltip-overflow{overflow:hidden;width:100%}.action-element{display:flex;justify-content:right}.cell-grid-wrapper{display:grid;grid-template-columns:auto auto}.loading-overlay{visibility:hidden;position:absolute;top:0;left:0;width:100%;height:100%;background:var(--ic-data-table-loading-indicator-overlay-background);z-index:calc(var(--ic-z-index-popover) - 2);opacity:0;transition:opacity var(--ic-transition-duration-slow)}.loading-overlay.show{visibility:visible;opacity:0.6}.sr-only{position:absolute;left:-9999px}@media (prefers-reduced-motion: reduce){.loading-overlay{transition:none}}.cell-text-wrapper{overflow:hidden}.cell-text-wrapper>ic-typography{margin-left:2px}.cell-text-no-wrap{word-wrap:initial}.cell-container-with-description{display:flex;flex-direction:row}.cell-description{display:flex;flex-direction:row;margin-top:var(--ic-space-xxs);word-break:break-all}.cell-description-text{color:var(--ic-data-table-cell-data-description)}.cell-description-icon{padding-right:var(--ic-space-xs)}.cell-description-icon>svg{height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs));display:flex}@media (min-width: 577px){.column-header-inner-container{display:flex;align-items:center}}@media (max-width: 577px){.cell-icon{flex-wrap:wrap}.cell-description-icon{padding-right:0}}@media (forced-colors: active){.icon,::slotted(svg),.cell-description-icon>svg{fill:currentcolor}.sort-button svg{color:currentcolor}.table-row-selected{background-color:Highlight !important}}";
6840
8224
  var IcDataTableStyle0 = icDataTableCss;
6841
8225
 
@@ -7421,10 +8805,7 @@ class DataTable {
7421
8805
  };
7422
8806
  this.createCellContent = (columnProps, cell, cellSlotName, hasIcon, cellValue, rowOptions, currentRowHeight) => {
7423
8807
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
7424
- return (hAsync("div", { innerHTML: (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) === "element" &&
7425
- !isSlotUsed(this.el, cellSlotName)
7426
- ? cell
7427
- : undefined, class: Object.assign(Object.assign({ "cell-container": (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element", "cell-icon": hasIcon || !!((_a = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _a === void 0 ? void 0 : _a.icon), [`cell-alignment-${((_b = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _b === void 0 ? void 0 : _b.horizontal) ||
8808
+ return (hAsync("div", { class: Object.assign(Object.assign({ "cell-container": (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element", "cell-icon": hasIcon || !!((_a = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _a === void 0 ? void 0 : _a.icon), [`cell-alignment-${((_b = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _b === void 0 ? void 0 : _b.horizontal) ||
7428
8809
  ((_c = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _c === void 0 ? void 0 : _c.horizontal) ||
7429
8810
  this.getCellAlignment(cell, "horizontal")}`]: !!((_d = columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnAlignment) === null || _d === void 0 ? void 0 : _d.horizontal) ||
7430
8811
  !!((_e = rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.rowAlignment) === null || _e === void 0 ? void 0 : _e.horizontal) ||
@@ -7437,7 +8818,8 @@ class DataTable {
7437
8818
  !!(rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.emphasis) }, this.setTruncationClass()), { [this.CELL_CONTAINER_WITH_DESCRIPTION_STRING]: this.isObject(cell) && Object.keys(cell).includes("description") }), style: Object.assign(Object.assign({}, this.getCalculatedRowHeight(columnProps, cell, rowOptions === null || rowOptions === void 0 ? void 0 : rowOptions.textWrap, currentRowHeight)), this.getColumnWidth(columnProps === null || columnProps === void 0 ? void 0 : columnProps.columnWidth)), "data-row-height": this.truncationPattern || currentRowHeight
7438
8819
  ? this.setRowHeight(currentRowHeight)
7439
8820
  : null }, isSlotUsed(this.el, cellSlotName) ? (hAsync("slot", { name: cellSlotName })) : (hAsync(Fragment, null, isSlotUsed(this.el, `${cellSlotName}-icon`) ? (hAsync("slot", { name: `${cellSlotName}-icon` })) : ((hasIcon || ((_f = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _f === void 0 ? void 0 : _f.onAllCells)) &&
7440
- (cellValue("icon") || ((_g = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _g === void 0 ? void 0 : _g.icon)) && (hAsync("span", { class: "icon", innerHTML: cellValue("icon") || ((_h = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _h === void 0 ? void 0 : _h.icon) }))), (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element" &&
8821
+ (cellValue("icon") || ((_g = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _g === void 0 ? void 0 : _g.icon)) && (hAsync("span", { class: "icon", innerHTML: sanitizeHTMLIconString$1(cellValue("icon")) ||
8822
+ sanitizeHTMLIconString$1((_h = columnProps === null || columnProps === void 0 ? void 0 : columnProps.icon) === null || _h === void 0 ? void 0 : _h.icon) }))), (columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType) !== "element" &&
7441
8823
  !isSlotUsed(this.el, cellSlotName) && (hAsync("div", { class: {
7442
8824
  "cell-text-wrapper": true,
7443
8825
  "cell-text-no-wrap": !this.truncationPattern,
@@ -7452,7 +8834,7 @@ class DataTable {
7452
8834
  Object.keys(cell).includes("description") && (hAsync("div", { class: {
7453
8835
  ["cell-description"]: true,
7454
8836
  [`data-type-${columnProps === null || columnProps === void 0 ? void 0 : columnProps.dataType}`]: true,
7455
- } }, ((_j = cellValue("description")) === null || _j === void 0 ? void 0 : _j.icon) && (hAsync("span", { class: "cell-description-icon", innerHTML: cellValue("description").icon })), hAsync("ic-typography", { variant: "caption", class: "cell-description-text" }, (_l = (_k = cellValue("description")) === null || _k === void 0 ? void 0 : _k.data) !== null && _l !== void 0 ? _l : cellValue("description"))))))))));
8837
+ } }, ((_j = cellValue("description")) === null || _j === void 0 ? void 0 : _j.icon) && (hAsync("span", { class: "cell-description-icon", innerHTML: sanitizeHTMLIconString$1(cellValue("description").icon) })), hAsync("ic-typography", { variant: "caption", class: "cell-description-text" }, (_l = (_k = cellValue("description")) === null || _k === void 0 ? void 0 : _k.data) !== null && _l !== void 0 ? _l : cellValue("description"))))))))));
7456
8838
  };
7457
8839
  this.createCells = (row, rowIndex) => {
7458
8840
  var _a;
@@ -7498,7 +8880,7 @@ class DataTable {
7498
8880
  "truncation-tooltip": this.columnHeaderTruncation,
7499
8881
  [`column-header-alignment-${cellAlignment}`]: !!cellAlignment,
7500
8882
  } }, isSlotUsed(this.el, `${key}-column-icon`) ? (hAsync("slot", { name: `${key}-column-icon` })) : (icon &&
7501
- !icon.hideOnHeader && (hAsync("span", { class: "icon", innerHTML: icon.icon }))), this.columnHeaderTruncation ? (hAsync("ic-tooltip", { label: title, target: `column-header-${index}` }, hAsync("ic-typography", { id: `column-header-${index}`, variant: "body", class: {
8883
+ !icon.hideOnHeader && (hAsync("span", { class: "icon", innerHTML: sanitizeHTMLIconString$1(icon.icon) }))), this.columnHeaderTruncation ? (hAsync("ic-tooltip", { label: title, target: `column-header-${index}` }, hAsync("ic-typography", { id: `column-header-${index}`, variant: "body", class: {
7502
8884
  ["column-header-text"]: true,
7503
8885
  [`text-${this.density}`]: this.notDefaultDensity(),
7504
8886
  } }, title))) : (hAsync("ic-typography", { variant: "body", class: {
@@ -8175,22 +9557,22 @@ class DataTable {
8175
9557
  ? "deselect all"
8176
9558
  : "select all remaining"
8177
9559
  : "select all";
8178
- return (hAsync(Host, { key: 'bcb83a93fd9734b2ddb501c75a0bd7267f22b45c', style: Object.assign({}, this.setTableDimensions()), class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: '2aeadd74b7a8e5acf93ea72ce77c7a0ad520d95b', class: "table-container" }, isSlotUsed(this.el, "title-bar") && hAsync("slot", { key: '359c51f2db8d1ef0f4ba4da77acc334cb82f0ff1', name: "title-bar" }), hAsync("div", { key: 'ad28fdb967fe02e2d3b31e9e73787655f9b5bf5c', class: {
9560
+ return (hAsync(Host, { key: 'c5b57495acaac9787d44d93b1da833e209e627fa', style: Object.assign({}, this.setTableDimensions()), class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: '8feecd07aefd2fba2700ea0a2abc728a489d4354', class: "table-container" }, isSlotUsed(this.el, "title-bar") && hAsync("slot", { key: '22d7dddca26638d24b2ee608582a59ae3d72d9be', name: "title-bar" }), hAsync("div", { key: 'e2be083520e1cdc27746fd01eabf82904d22590b', class: {
8179
9561
  ["table-row-container"]: true,
8180
9562
  scrollable,
8181
- }, tabIndex: scrollable ? 0 : undefined, onScroll: updateScrollOffset }, hAsync("table", { key: 'ed247db011e9783c6d56a03afe480fe5f4f2b6d0', style: {
9563
+ }, tabIndex: scrollable ? 0 : undefined, onScroll: updateScrollOffset }, hAsync("table", { key: 'eff477957c0785a651c480b4e9ddd88534563a81', style: {
8182
9564
  "--table-layout": tableLayout,
8183
- } }, hAsync("caption", { key: '52bd7f8ae17ba373dceba49f7ee628780c825c71', class: "table-caption" }, caption), !hideColumnHeaders && (hAsync("thead", { key: '04d0c0199793ac830c9cc24fca64c999a287b690', class: {
9565
+ } }, hAsync("caption", { key: 'e41a3f6133cb02f96e2fd537cdcb24c3467e92a6', class: "table-caption" }, caption), !hideColumnHeaders && (hAsync("thead", { key: 'b36805140e81e3e3a9fd065792c0ac514d64ae16', class: {
8184
9566
  ["column-header-sticky"]: stickyColumnHeaders,
8185
9567
  ["column-header-overlay"]: stickyColumnHeaders && scrollOffset !== 0,
8186
- } }, hAsync("tr", { key: '5ff4686d2053f702a4d8217986d94d7a45596402' }, rowSelection && data && (hAsync("th", { key: 'b03c33ef7d27c1be4b9cff06eecfd85f280fb379', class: {
9568
+ } }, hAsync("tr", { key: '7b377adb333d251f84400dd6aa499dfa1fa3df6d' }, rowSelection && data && (hAsync("th", { key: 'ab9831b9c3f4e4b96c5223961753506ce0629cc1', class: {
8187
9569
  "column-header": true,
8188
9570
  "checkbox-cell": true,
8189
9571
  "updating-state-headers": updating && !loading,
8190
9572
  [`table-density-${density}`]: this.notDefaultDensity(),
8191
- } }, hAsync("div", { key: '5c114f3e53652b8b700b2fad7365976f87b7b6c2', class: "checkbox-wrapper" }, hAsync("ic-checkbox", { key: '349c87540675235321324f16157deedbd3221e45', class: "ic-data-table-checkbox", checked: rowsSelected && allRowsSelected, disabled: updating || loading, hideLabel: true, indeterminate: rowsSelected && !allRowsSelected, label: `${caption} ${headerCheckboxLabelState} rows`, nativeIndeterminateBehaviour: true, onIcCheck: () => selectAllRows(), size: density === "dense" ? "small" : "medium", value: caption })))), createColumnHeaders()))), updating &&
9573
+ } }, hAsync("div", { key: '785236605fa8c29a12fecb6eb4f936c2f65b29b5', class: "checkbox-wrapper" }, hAsync("ic-checkbox", { key: '64975b6e2e4af589ad2b535c68ecc16e2f2abea9', class: "ic-data-table-checkbox", checked: rowsSelected && allRowsSelected, disabled: updating || loading, hideLabel: true, indeterminate: rowsSelected && !allRowsSelected, label: `${caption} ${headerCheckboxLabelState} rows`, nativeIndeterminateBehaviour: true, onIcCheck: () => selectAllRows(), size: density === "dense" ? "small" : "medium", value: caption })))), createColumnHeaders()))), updating &&
8192
9574
  !loading &&
8193
- (hideColumnHeaders ? (hAsync("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), this.renderTableBody(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), this.renderEmptyState(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), hAsync("div", { key: '913a847423633138a6f2ed004499c82863ae9b90', "aria-live": "assertive", class: "sr-only" }, this.renderAriaLiveLoading()), this.renderLoadingIndicator(loading, loadingOptions), (showPagination || isSlotUsed(this.el, "pagination-bar")) && (hAsync("div", { key: '3998139318125dd0767c2ec0faf5e3059335aa40', class: "pagination-container" }, isSlotUsed(this.el, "pagination-bar") ? (hAsync("slot", { name: "pagination-bar" })) : (hAsync("ic-pagination-bar", { alignment: paginationBarOptions.alignment, hideAllFromItemsPerPage: paginationBarOptions.hideAllFromItemsPerPage, hideRangeLabel: paginationBarOptions.hideRangeLabel, itemLabel: paginationBarOptions.itemLabel, itemsPerPageOptions: paginationBarOptions.itemsPerPageOptions, monochrome: paginationBarOptions.monochrome, pageLabel: paginationBarOptions.pageLabel, rangeLabelType: paginationBarOptions.rangeLabelType, selectedItemsPerPage: paginationBarOptions.selectedItemsPerPage, selectItemsPerPageOnEnter: paginationBarOptions.selectItemsPerPageOnEnter, setToFirstPageOnPaginationChange: paginationBarOptions.setToFirstPageOnPaginationChange, showGoToPageControl: paginationBarOptions.showGoToPageControl, showItemsPerPageControl: paginationBarOptions.showItemsPerPageControl, theme: theme, totalItems: (_a = data === null || data === void 0 ? void 0 : data.length) !== null && _a !== void 0 ? _a : 0, type: paginationBarOptions.type })))), sortable && (hAsync("div", { key: '97605941ae5d70267886542504d34751695ea57f', class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
9575
+ (hideColumnHeaders ? (hAsync("thead", null, createUpdatingIndicator())) : (createUpdatingIndicator())), this.renderTableBody(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), this.renderEmptyState(loading, data, loadingOptions === null || loadingOptions === void 0 ? void 0 : loadingOptions.overlay)), hAsync("div", { key: '8d04e4eb5e786f981868b313ea1a0edad7b989b2', "aria-live": "assertive", class: "sr-only" }, this.renderAriaLiveLoading()), this.renderLoadingIndicator(loading, loadingOptions), (showPagination || isSlotUsed(this.el, "pagination-bar")) && (hAsync("div", { key: 'abda6bfbad63dd765dbc8ec4e16609cb4526de2a', class: "pagination-container" }, isSlotUsed(this.el, "pagination-bar") ? (hAsync("slot", { name: "pagination-bar" })) : (hAsync("ic-pagination-bar", { alignment: paginationBarOptions.alignment, hideAllFromItemsPerPage: paginationBarOptions.hideAllFromItemsPerPage, hideRangeLabel: paginationBarOptions.hideRangeLabel, itemLabel: paginationBarOptions.itemLabel, itemsPerPageOptions: paginationBarOptions.itemsPerPageOptions, monochrome: paginationBarOptions.monochrome, pageLabel: paginationBarOptions.pageLabel, rangeLabelType: paginationBarOptions.rangeLabelType, selectedItemsPerPage: paginationBarOptions.selectedItemsPerPage, selectItemsPerPageOnEnter: paginationBarOptions.selectItemsPerPageOnEnter, setToFirstPageOnPaginationChange: paginationBarOptions.setToFirstPageOnPaginationChange, showGoToPageControl: paginationBarOptions.showGoToPageControl, showItemsPerPageControl: paginationBarOptions.showItemsPerPageControl, theme: theme, totalItems: (_a = data === null || data === void 0 ? void 0 : data.length) !== null && _a !== void 0 ? _a : 0, type: paginationBarOptions.type })))), sortable && (hAsync("div", { key: '11a1b7220450c29b08e352071b76a9389614751a', class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
8194
9576
  ? `${((_b = columns.find((col) => col.key === sortedColumn)) === null || _b === void 0 ? void 0 : _b.title) ||
8195
9577
  sortedColumn} sorted ${sortedColumnOrder}`
8196
9578
  : "table unsorted")))));
@@ -8422,7 +9804,7 @@ var Calendar = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" v
8422
9804
  <path d="M16.6667 2.50004H15.8334V0.833374H14.1667V2.50004H5.83342V0.833374H4.16675V2.50004H3.33341C2.41675 2.50004 1.66675 3.25004 1.66675 4.16671V17.5C1.66675 18.4167 2.41675 19.1667 3.33341 19.1667H16.6667C17.5834 19.1667 18.3334 18.4167 18.3334 17.5V4.16671C18.3334 3.25004 17.5834 2.50004 16.6667 2.50004ZM16.6667 17.5H3.33341V6.66671H16.6667V17.5Z" fill="currentColor"/>
8423
9805
  </svg>`;
8424
9806
 
8425
- const icDateInputCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{--ic-input-label-helpertext-padding:var(--ic-space-xs);--input-bg-color:var(--ic-date-input-bg);--ic-input-label-text-color:var(--ic-date-input-label);--ic-input-label-helper-text-color:var(--ic-date-input-subtitle);--border-color:var(--ic-date-input-border);--border-color-disabled:var(--ic-date-input-border-disabled);--border-color-hover:var(--ic-date-input-border-default-hover);--border-color-pressed:var(--ic-date-input-border-default-pressed);--border-error-color:var(--ic-date-input-border-error);--border-error-color-hover:var(--ic-date-input-border-error-hover);--border-error-color-pressed:var(--ic-date-input-border-error-pressed);--border-success-color:var(--ic-date-input-border-success);--border-success-color-hover:var(--ic-date-input-border-success-hover);--border-success-color-pressed:var(--ic-date-input-border-success-pressed);--border-warning-color:var(--ic-date-input-border-warning);--border-warning-color-hover:var(--ic-date-input-border-warning-hover);--border-warning-color-pressed:var(--ic-date-input-border-warning-pressed)}:host(.ic-date-input-disabled){--ic-input-label-text-color:var(--ic-date-input-label-disabled);--ic-input-label-helper-text-color:var(--ic-date-input-subtitle-disabled)}input{border:0;height:100%;padding:0;outline:none;background:none;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;color:var(--ic-date-input-text-filled);caret-color:var(--ic-date-input-typing-cursor)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none}input:-webkit-autofill{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-color-background-primary) inset;-webkit-text-fill-color:var(--ic-date-input-text-filled) !important}input::-moz-placeholder{color:var(--ic-date-input-text-placeholder)}input::placeholder{color:var(--ic-date-input-text-placeholder)}ic-input-component-container{cursor:text}ic-input-component-container .focus-indicator{padding:var(--ic-space-xxxs) var(--ic-space-xs);align-items:center}.date-inputs{color:var(--ic-date-input-text-placeholder)}.day-input{width:1.438rem}.month-input{width:1.813rem}.year-input,.year-input.fit-to-value{width:2.313rem}.fit-to-value{width:1.25rem}.sr-only{position:absolute;left:-9999px}.input-container{width:100%;display:flex;justify-content:space-between;align-items:center;position:relative}.action-buttons{display:flex;align-items:center}.show-calendar-button-wrapper{display:flex;justify-content:center;align-items:center}.clear-button,.calendar-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition);margin:0}.clear-button.hidden{display:none}.clear-button:focus,.calendar-button:focus,.clear-button:active,.calendar-button:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:0.25rem}.calendar-button:focus,.calendar-button:active{--ic-button-tertiary-text-active:var(--ic-atoms-input-clear-button-focus);--ic-button-tertiary-text-hover-active:var(\n --ic-atoms-input-clear-button-focus\n );--ic-button-tertiary-text-pressed-active:var(\n --ic-atoms-input-clear-button-focus\n )}.clear-button:focus,.calendar-button:focus,.clear-button:active *,.calendar-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button svg{color:var(--ic-date-input-clear-icon)}.clear-button:focus svg{color:var(--ic-atoms-input-clear-button-focus)}.divider{margin:0 var(--ic-space-xxs);width:var(--ic-space-1px);background-color:var(--ic-atoms-input-divider);border-radius:var(--ic-space-1px)}.divider.small{height:var(--ic-space-md)}.divider.medium{height:calc(var(--ic-space-sm) + var(--ic-space-xs))}.divider.large{height:var(--ic-space-lg)}ic-input-validation{--ic-input-validation-status-text-color:var(--ic-date-input-status-text);--ic-input-validation-error:var(--ic-date-input-icon-error);--ic-input-validation-warning-icon-color:var(--ic-date-input-icon-warning);--ic-input-validation-success-icon-color:var(--ic-date-input-icon-success)}";
9807
+ const icDateInputCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{--ic-input-label-helpertext-padding:var(--ic-space-xs);--input-bg-color:var(--ic-date-input-bg);--ic-input-label-text-color:var(--ic-date-input-label);--ic-input-label-helper-text-color:var(--ic-date-input-subtitle);--border-color:var(--ic-date-input-border);--border-color-disabled:var(--ic-date-input-border-disabled);--border-color-hover:var(--ic-date-input-border-default-hover);--border-color-pressed:var(--ic-date-input-border-default-pressed);--border-error-color:var(--ic-date-input-border-error);--border-error-color-hover:var(--ic-date-input-border-error-hover);--border-error-color-pressed:var(--ic-date-input-border-error-pressed);--border-success-color:var(--ic-date-input-border-success);--border-success-color-hover:var(--ic-date-input-border-success-hover);--border-success-color-pressed:var(--ic-date-input-border-success-pressed);--border-warning-color:var(--ic-date-input-border-warning);--border-warning-color-hover:var(--ic-date-input-border-warning-hover);--border-warning-color-pressed:var(--ic-date-input-border-warning-pressed)}:host(.ic-date-input-disabled){--ic-input-label-text-color:var(--ic-date-input-label-disabled);--ic-input-label-helper-text-color:var(--ic-date-input-subtitle-disabled)}input{border:0;height:100%;padding:0;outline:none;background:none;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;color:var(--ic-date-input-text-filled);caret-color:var(--ic-date-input-typing-cursor)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none}input:-webkit-autofill{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-color-background-primary) inset;-webkit-text-fill-color:var(--ic-date-input-text-filled) !important}input::-moz-placeholder{color:var(--ic-date-input-text-placeholder)}input::placeholder{color:var(--ic-date-input-text-placeholder)}ic-input-component-container{cursor:text}ic-input-component-container .focus-indicator{padding:var(--ic-space-xxxs) var(--ic-space-xs);align-items:center}.date-inputs{color:var(--ic-date-input-text-placeholder)}.day-input{width:1.438rem}.month-input{width:1.813rem}.year-input,.year-input.fit-to-value{width:2.313rem}.fit-to-value{width:1.25rem}.sr-only{position:absolute;left:-9999px}.input-container{width:100%;display:flex;justify-content:space-between;align-items:center;position:relative}.action-buttons{display:flex;align-items:center}.show-calendar-button-wrapper{display:flex;justify-content:center;align-items:center}.clear-button,.calendar-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition);margin:0}.clear-button.hidden{display:none}.clear-button:focus,.calendar-button:focus,.clear-button:active,.calendar-button:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:0.25rem}.calendar-button:focus,.calendar-button:active{--ic-button-tertiary-text-active:var(--ic-atoms-input-clear-button-focus);--ic-button-tertiary-text-hover-active:var(\n --ic-atoms-input-clear-button-focus\n );--ic-button-tertiary-text-pressed-active:var(\n --ic-atoms-input-clear-button-focus\n )}.clear-button:focus,.calendar-button:focus,.clear-button:active *,.calendar-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button svg{color:var(--ic-date-input-clear-icon)}.clear-button:focus svg{color:var(--ic-atoms-input-clear-button-focus)}.divider{margin:0 var(--ic-space-xxs);width:var(--ic-space-1px);background-color:var(--ic-atoms-input-divider);border-radius:var(--ic-space-1px)}.divider.small{height:var(--ic-space-md)}.divider.medium{height:calc(var(--ic-space-sm) + var(--ic-space-xs))}.divider.large{height:var(--ic-space-lg)}ic-input-validation{--ic-input-validation-status-text-color:var(--ic-date-input-status-text);--ic-input-validation-error:var(--ic-date-input-icon-error);--ic-input-validation-warning-icon-color:var(--ic-date-input-icon-warning);--ic-input-validation-success-icon-color:var(--ic-date-input-icon-success)}@media (forced-colors: active){.clear-button svg{color:currentcolor}}";
8426
9808
  var IcDateInputStyle0 = icDateInputCss;
8427
9809
 
8428
9810
  let inputIds$5 = 0;
@@ -8557,6 +9939,10 @@ class DateInput {
8557
9939
  * The value of the date input. The value can be in any format supported as `dateFormat`, in ISO 8601 date string format (`yyyy-mm-dd`) or as a JavaScript `Date` object.
8558
9940
  */
8559
9941
  this.value = "";
9942
+ /**
9943
+ * The value of the `aria-live` attribute on the validation message.
9944
+ */
9945
+ this.validationAriaLive = "polite";
8560
9946
  /**
8561
9947
  * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
8562
9948
  */
@@ -9584,7 +10970,7 @@ class DateInput {
9584
10970
  }
9585
10971
  }
9586
10972
  render() {
9587
- const { inputId, label, disabled, helperText, hideHelperText, hideLabel, showClearButton, showCalendarButton, size, theme, } = this;
10973
+ const { inputId, label, disabled, helperText, hideHelperText, hideLabel, showClearButton, showCalendarButton, size, theme, validationAriaLive, } = this;
9588
10974
  const hasCustomValidation = !isEmptyString(this.validationStatus);
9589
10975
  const validationStatus = hasCustomValidation
9590
10976
  ? this.validationStatus
@@ -9593,15 +10979,15 @@ class DateInput {
9593
10979
  : "";
9594
10980
  const assistiveHint = `Type or use the up and down arrow keys to change the values for the ${this.getDescOfInputsOrder()}.`;
9595
10981
  renderHiddenInput(true, this.el, this.name, this.convertToDate(this.year, this.month, this.day), this.disabled);
9596
- return (hAsync(Host, { key: '7ced152386fffdfcd023d8ded5a0eb1733c7013a', class: {
10982
+ return (hAsync(Host, { key: '33c9f19456f403afe9f42486834ca419c772a9c2', class: {
9597
10983
  [`ic-theme-${theme}`]: theme !== "inherit",
9598
10984
  [`ic-date-input-disabled`]: disabled,
9599
- }, onBlur: this.handleHostBlur, onFocus: this.handleHostFocus }, hAsync("ic-input-container", { key: 'bb80b694e3f38978c21b7fb5ae1e78f79b35dc3c', disabled: disabled }, !(hideLabel && hideHelperText) && (hAsync("ic-input-label", { key: '0e8dfb49234774f38e9a64d65c1b3d23f3622d4d', for: inputId, label: label, hideLabel: hideLabel, helperText: !hideHelperText ? helperText : "", disabled: disabled }, hAsync("slot", { key: '56f0e54039017b907b4b6260ee6aa6195d762cab', name: "helper-text", slot: "helper-text" }))), hAsync("span", { key: 'e27f938ef389962dbf35bfd5ff1a6f73744aaabb', id: this.screenReaderInfoId, class: "sr-only", "aria-hidden": "true" }, this.getScreenReaderInfo(validationStatus), hideLabel && `${label}\n`, hideHelperText && `${helperText}\n`, `${this.defaultHelperText}.`), hAsync("span", { key: '2718994db39d6cff9e2ac49c761fe104afd700ca', id: this.assistiveHintId, class: "sr-only", "aria-hidden": "true" }, assistiveHint), hAsync("span", { key: 'dd0e46f647f57f431f5f7a04c1d9bc1e8fa5c279', id: "live-region", "aria-live": "assertive", class: "sr-only" }), hAsync("ic-input-component-container", { key: '8b795ce5a1c2c5b30ad3388630595db355e7f6bf', id: inputId, ref: (el) => (this.inputCompContainerEl = el), disabled: disabled, validationStatus: validationStatus, size: size, role: "group", class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: '7a07353e1b7e8076cb39b5b73793f2b70b0db040', class: "input-container" }, hAsync("div", { key: '9e257683e556c73e68f51c8e41b10e9e30cd8156', class: "date-inputs" }, this.getInputsInOrder()[0], "/", this.getInputsInOrder()[1], "/", this.getInputsInOrder()[2]), hAsync("div", { key: '8c9cd028d27861f195933c6ef09ce79f367686fd', class: "action-buttons" }, showClearButton && (hAsync("ic-button", { key: 'fcee2b92276a3598787d63ded0529973b8eb2eda', id: "clear-button", "aria-label": "Clear input", class: {
10985
+ }, onBlur: this.handleHostBlur, onFocus: this.handleHostFocus }, hAsync("ic-input-container", { key: 'b8cefe6a3f220b7791afaa60754920d4a0713942', disabled: disabled }, !(hideLabel && hideHelperText) && (hAsync("ic-input-label", { key: '74a72207a491822b85c43bca96dbda3ebc715adc', for: inputId, label: label, hideLabel: hideLabel, helperText: !hideHelperText ? helperText : "", disabled: disabled }, hAsync("slot", { key: '40a291cbc22b16618428188c45824b542bb77dee', name: "helper-text", slot: "helper-text" }))), hAsync("span", { key: 'fb33ae9d8ca00d83bdd69caaf37235be48350eb0', id: this.screenReaderInfoId, class: "sr-only", "aria-hidden": "true" }, this.getScreenReaderInfo(validationStatus), hideLabel && `${label}\n`, hideHelperText && `${helperText}\n`, `${this.defaultHelperText}.`), hAsync("span", { key: 'f4f6087a29494f42bdb520c5ecc1c109c078c13a', id: this.assistiveHintId, class: "sr-only", "aria-hidden": "true" }, assistiveHint), hAsync("span", { key: 'cbcd7d6aa456c902ffe2abaaded4d5022f709c1b', id: "live-region", "aria-live": "assertive", class: "sr-only" }), hAsync("ic-input-component-container", { key: '53ed8c7f11571ed09e1aa588800bf305bfada26d', id: inputId, ref: (el) => (this.inputCompContainerEl = el), disabled: disabled, validationStatus: validationStatus, size: size, role: "group", class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: 'edfe3218fc2cf6e49d730850daf9db47270dc632', class: "input-container" }, hAsync("div", { key: '50ab717e0ac08582999d0a0c39385b4154752901', class: "date-inputs" }, this.getInputsInOrder()[0], "/", this.getInputsInOrder()[1], "/", this.getInputsInOrder()[2]), hAsync("div", { key: '2c4e51bf8f8486f11404d985cdab19843b8ef242', class: "action-buttons" }, showClearButton && (hAsync("ic-button", { key: '736b0d00a2bf3e70b5fce2a1e24a449ba5b91c11', id: "clear-button", "aria-label": "Clear input", class: {
9600
10986
  ["clear-button"]: true,
9601
10987
  ["hidden"]: isEmptyString(this.day) &&
9602
10988
  isEmptyString(this.month) &&
9603
10989
  isEmptyString(this.year),
9604
- }, disabled: this.disabled, innerHTML: Clear$1, onClick: this.handleClear, onFocus: this.handleClearFocus, onBlur: this.handleClearBlur, variant: "icon-tertiary", theme: this.clearButtonFocused ? "light" : "dark", size: size })), showCalendarButton && (hAsync("div", { key: '47d6e339e971c24a87395b0b390e40be984292b4', class: "show-calendar-button-wrapper" }, hAsync("div", { key: '074366deea600d279257945e9710b95922d909dc', class: { divider: true, [size]: true } }), hAsync("ic-button", { key: 'ee6c418309f9140dc2e313e42c0c754d5118a438', id: "calendar-button", ref: (el) => (this.calendarButtonEl = el), "aria-label": "Display calendar", "aria-haspopup": "dialog", class: "calendar-button", disabled: this.disabled, innerHTML: Calendar, onClick: this.handleCalendarOpen, variant: "icon-tertiary", size: size, onFocus: this.handleCalendarFocus, onBlur: this.handleCalendarBlur, theme: this.calendarFocused ? "light" : "dark" })))))), hAsync("span", { key: 'c1cd23d1c568cce687afa77170fb054ab9938503', id: this.selectedDateInfoId, class: "sr-only", "aria-live": "polite" }, hAsync("span", { key: '9475acd6262f0e78a9c390caf200c7b5af1d1036', ref: (el) => (this.selectedDateInfoEl = el), role: "status" })), (hasCustomValidation || !isEmptyString(this.invalidDateText)) && (hAsync("ic-input-validation", { key: 'f1a1da7f67bd2d63b77bc18f284b31ba1f24628a', status: validationStatus, message: hasCustomValidation ? this.validationText : this.invalidDateText, for: inputId })))));
10990
+ }, disabled: this.disabled, innerHTML: Clear$1, onClick: this.handleClear, onFocus: this.handleClearFocus, onBlur: this.handleClearBlur, variant: "icon-tertiary", theme: this.clearButtonFocused ? "light" : "dark", size: size })), showCalendarButton && (hAsync("div", { key: '5808251b065005460c4a72ef9520d6da04d67584', class: "show-calendar-button-wrapper" }, hAsync("div", { key: 'b47a20ef8a94cfd5f555388c2790cf0b335a2dd6', class: { divider: true, [size]: true } }), hAsync("ic-button", { key: '3ed6760eb4af553a0553f8de5ef32865a27deb8e', id: "calendar-button", ref: (el) => (this.calendarButtonEl = el), "aria-label": "Display calendar", "aria-haspopup": "dialog", class: "calendar-button", disabled: this.disabled, innerHTML: Calendar, onClick: this.handleCalendarOpen, variant: "icon-tertiary", size: size, onFocus: this.handleCalendarFocus, onBlur: this.handleCalendarBlur, theme: this.calendarFocused ? "light" : "dark" })))))), hAsync("span", { key: 'e14cc27f33864c9f1f1aa6920b3425f6242d3e00', id: this.selectedDateInfoId, class: "sr-only", "aria-live": "polite" }, hAsync("span", { key: '1d567499ffb7220e92e21064c870731fa89495c4', ref: (el) => (this.selectedDateInfoEl = el), role: "status" })), hAsync("ic-input-validation", { key: 'a5783f4f8a6bebf4e4051816f871d7063871cf8d', status: validationStatus, message: hasCustomValidation ? this.validationText : this.invalidDateText, for: inputId, ariaLiveMode: validationAriaLive }))));
9605
10991
  }
9606
10992
  static get delegatesFocus() { return true; }
9607
10993
  get el() { return getElement(this); }
@@ -9645,6 +11031,7 @@ class DateInput {
9645
11031
  "size": [1],
9646
11032
  "theme": [1],
9647
11033
  "value": [1025],
11034
+ "validationAriaLive": [1, "validation-aria-live"],
9648
11035
  "validationStatus": [1025, "validation-status"],
9649
11036
  "validationText": [1, "validation-text"],
9650
11037
  "invalidDateText": [32],
@@ -9918,6 +11305,10 @@ class DatePicker {
9918
11305
  * Sets the date picker to the dark or light theme colors. "inherit" will set the color based on the system settings or ic-theme component.
9919
11306
  */
9920
11307
  this.theme = "inherit";
11308
+ /**
11309
+ * The value of the `aria-live` attribute on the validation message.
11310
+ */
11311
+ this.validationAriaLive = "polite";
9921
11312
  /**
9922
11313
  * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in date validation.
9923
11314
  */
@@ -10559,6 +11950,7 @@ class DatePicker {
10559
11950
  showCalendarButton: true,
10560
11951
  value: this.value,
10561
11952
  emitDatePartChange: this.emitDatePartChange,
11953
+ validationAriaLive: this.validationAriaLive,
10562
11954
  };
10563
11955
  if (this.dateFormat !== DEFAULT_DATE_FORMAT) {
10564
11956
  inputProps.dateFormat = this.dateFormat;
@@ -10784,33 +12176,33 @@ class DatePicker {
10784
12176
  yesterday.setDate(minDate.getDate() - 1);
10785
12177
  minDay = yesterday;
10786
12178
  }
10787
- return (hAsync(Host, { key: '9f01e93a809b4c0dd0a702b7716617643140601e', onKeyDown: this.keyDownHandler, class: {
12179
+ return (hAsync(Host, { key: 'b2137a0ddce74eafda6be2472afb1793cbf68eef', onKeyDown: this.keyDownHandler, class: {
10788
12180
  [`ic-date-picker-${size}`]: true,
10789
12181
  [`ic-theme-${theme}`]: theme !== "inherit",
10790
- } }, hAsync("div", { key: '8c4e6a6b965562994667acf2e2f12e79cfb7f026', class: "date-input-container" }, hAsync("ic-date-input", Object.assign({ key: '8baa5a1ba1f5042554dcc53f26945a872e6d62ca', ref: (el) => (this.inputEl = el) }, dateInputProps), hAsync("slot", { key: 'ee77883989839f1e375e82e19a4e68dad539606f', name: "helper-text", slot: "helper-text" }))), calendarOpen && (hAsync("div", { key: 'b6885a1077a70c25cf107be2e97e21bfb3065005' }, hAsync("span", { key: 'e06f399f1b71353f595532fe4d75679c9a30585c', id: "dialog-description", class: "sr-only" }, dialogDescription), hAsync("div", { key: '3b9e98f7360131d40e34072162f5b1b3a62df79b', role: "dialog", "aria-modal": "true", "aria-label": dialogLabel, "aria-describedBy": "dialog-description", class: {
12182
+ } }, hAsync("div", { key: '642c68aca8dac1c2c65d6fc30da6fbf7cae083e9', class: "date-input-container" }, hAsync("ic-date-input", Object.assign({ key: '7c360a109491013c58b40d0dde1cea2fa8bdf49d', ref: (el) => (this.inputEl = el) }, dateInputProps), hAsync("slot", { key: 'e26b8ae6d4bd987ed81bb193a3de998372479ba5', name: "helper-text", slot: "helper-text" }))), calendarOpen && (hAsync("div", { key: '4e97c468fb44045378e5a936f3f40a49e4eba65d' }, hAsync("span", { key: 'd619d8b0db95cc30b36b4499872b29cbf25cfec2', id: "dialog-description", class: "sr-only" }, dialogDescription), hAsync("div", { key: 'd84f35cdcff05860927ffc0f2541ebe10971937d', role: "dialog", "aria-modal": "true", "aria-label": dialogLabel, "aria-describedBy": "dialog-description", class: {
10791
12183
  "calendar-container": true,
10792
12184
  above: this.showPickerAbove,
10793
- }, onMouseDown: this.handleCalendarMouseDown, onClick: this.handleCalendarClick }, hAsync("span", { key: '8b9d2af7ec25c7f4390b6367ba61d1cc4edc6862', ref: (el) => (this.liveRegionEl = el), id: "live-region", "aria-live": "assertive", class: "sr-only" }), hAsync("div", { key: '8de6382adeab06868cc3679812c9dc7003a0dc38', class: {
12185
+ }, onMouseDown: this.handleCalendarMouseDown, onClick: this.handleCalendarClick }, hAsync("span", { key: 'e17eb60cf60cae2ddfdc620c8170f3fd20c8948f', ref: (el) => (this.liveRegionEl = el), id: "live-region", "aria-live": "assertive", class: "sr-only" }), hAsync("div", { key: 'e5553e29abf290e5e38f7a111946bd4bb9cf0f34', class: {
10794
12186
  "month-year-nav-container": true,
10795
- } }, hAsync("div", { key: '595f1d3b587316a0a8a9401759802794379bb01a', class: "month-year-nav" }, this.previousMonthButton(), hAsync("span", { key: 'db4136ca3865227558dce4bf7d53ff9ed745be56', id: "select-month-hint", "aria-hidden": "true" }, monthButtonText), hAsync("ic-button", { key: '58856c4d545e0c925ff484f0268bb15c2359cb43', ref: (el) => (this.monthButtonEl = el), size: size, class: "month-picker-button", "aria-haspopup": "menu", "aria-expanded": monthPickerVisible ? "true" : "false", "full-width": "true", variant: "tertiary", "aria-label": monthLabel, "aria-describedby": "select-month-hint", onKeyDown: this.monthButtonKeyDownHandler, onClick: this.monthButtonClickHandler }, monthNames[monthInView]), this.nextMonthButton()), hAsync("div", { key: 'd43213b8bf2c1850d3b2edc7abac54b9a601e862', class: "month-year-nav" }, this.previousYearButton(), hAsync("span", { key: 'ba3bd8c4eed337839606019aff6f7a03c5c35b3a', id: "select-year-hint", "aria-hidden": "true" }, yearButtonText), hAsync("ic-button", { key: '15c6ec0144f58dc3c76360f7ccfa28000c36af77', ref: (el) => (this.yearButtonEl = el), size: size, class: "year-picker-button", "aria-haspopup": "menu", "aria-expanded": yearPickerVisible ? "true" : "false", "full-width": "true", variant: "tertiary", "aria-label": yearLabel, "aria-describedby": "select-year-hint", onKeyDown: this.yearButtonKeyDownHandler, onClick: this.yearButtonClickHandler }, this.yearInView), this.nextYearButton())), !(monthPickerVisible || yearPickerVisible) && (hAsync("div", { key: '913a72924b2cc1db4b398a1faecfa2cf1bf4be42', class: {
12187
+ } }, hAsync("div", { key: '92ac58ac5dd9df901278bd025cf914f80e480d85', class: "month-year-nav" }, this.previousMonthButton(), hAsync("span", { key: '27da769612a75c1e902a3167d7e9cb348fdfe343', id: "select-month-hint", "aria-hidden": "true" }, monthButtonText), hAsync("ic-button", { key: 'a7e05080ddf126e9446bcf977ef4bec599ab953a', ref: (el) => (this.monthButtonEl = el), size: size, class: "month-picker-button", "aria-haspopup": "menu", "aria-expanded": monthPickerVisible ? "true" : "false", "full-width": "true", variant: "tertiary", "aria-label": monthLabel, "aria-describedby": "select-month-hint", onKeyDown: this.monthButtonKeyDownHandler, onClick: this.monthButtonClickHandler }, monthNames[monthInView]), this.nextMonthButton()), hAsync("div", { key: '9287686fe19a31a1cea431402ec91eb33463a859', class: "month-year-nav" }, this.previousYearButton(), hAsync("span", { key: '49bff3660edba939bb848a052b2904d81ce2ee54', id: "select-year-hint", "aria-hidden": "true" }, yearButtonText), hAsync("ic-button", { key: '9f05b2770f7c14c976f6c3f09a1661856f1a57f8', ref: (el) => (this.yearButtonEl = el), size: size, class: "year-picker-button", "aria-haspopup": "menu", "aria-expanded": yearPickerVisible ? "true" : "false", "full-width": "true", variant: "tertiary", "aria-label": yearLabel, "aria-describedby": "select-year-hint", onKeyDown: this.yearButtonKeyDownHandler, onClick: this.yearButtonClickHandler }, this.yearInView), this.nextYearButton())), !(monthPickerVisible || yearPickerVisible) && (hAsync("div", { key: '1a7880de3748d7d033a43599aabd2798af90f32b', class: {
10796
12188
  calendar: true,
10797
12189
  hidden: monthPickerVisible || yearPickerVisible,
10798
- }, onKeyDown: this.handleCalendarKeyDown }, hAsync("div", { key: '5f9784f58378b05de6e52a2763acab163ab6e3e5', class: "weekdays", "aria-hidden": "true" }, orderedDaysOfWeek.map((dayName) => {
12190
+ }, onKeyDown: this.handleCalendarKeyDown }, hAsync("div", { key: '0a3e3df8eab3fb77e1ce9c2550c20cf160f4f650', class: "weekdays", "aria-hidden": "true" }, orderedDaysOfWeek.map((dayName) => {
10799
12191
  const header = size === "small" ? dayName.charAt(0) : dayName;
10800
12192
  return (hAsync("div", { class: "calendar-day-header" }, hAsync("ic-typography", { variant: "caption" }, header)));
10801
- })), hAsync("div", { key: '1c1cfe77f48e7b50e6a014db13a597b924baab06', class: "calendar-days-container" }, this.currMonthView.map((day) => {
12193
+ })), hAsync("div", { key: 'f2415a435dea0633bd42657f9f19bd3bd49e6936', class: "calendar-days-container" }, this.currMonthView.map((day) => {
10802
12194
  var _a;
10803
12195
  return (hAsync(DayButton, { day: day, disableDay: (_a = this.disableDays) === null || _a === void 0 ? void 0 : _a.includes(Number(day.getDay())), today: dateMatches(day, this.today), selected: dateMatches(day, this.selectedDate), focussed: dateMatches(day, this.focussedDate), inRange: dateInRange(day, minDay, maxDate), monthInView: monthInView, onSelectDay: this.handleSelectDay, focussedDayRef: this.setFocussedDayEl, onFocusDay: this.onDayButtonFocusHandler, onBlurDay: this.onDayButtonBlurHandler, showDaysOutsideMonth: this.showDaysOutsideMonth }));
10804
- })))), hAsync("div", { key: '8b064369e1271b56085a85e0c00822ff7232d6e8', class: {
12196
+ })))), hAsync("div", { key: '1ed1a8c793883412ded234f949a7e7b65e66c414', class: {
10805
12197
  "month-picker-container": true,
10806
12198
  hidden: !monthPickerVisible,
10807
- } }, monthPickerVisible && (hAsync(MonthPicker, { key: 'cdd9f6ccb301355eb31a1607413396f44b828ca9', size: size, onSelectMonth: this.handleSelectMonth, monthInView: monthInView, focussedMonth: focussedMonth, onKeyDown: this.monthPickerKeyDownHandler, focussedMonthRef: this.setFocussedMonthEl, minDate: minDate, maxDate: maxDate, yearInView: yearInView }))), hAsync("div", { key: 'a629d2297686220a678d2ba7870fcc386b735c84', class: {
12199
+ } }, monthPickerVisible && (hAsync(MonthPicker, { key: 'd847bce743c2c7289184bb6cb881d81639986934', size: size, onSelectMonth: this.handleSelectMonth, monthInView: monthInView, focussedMonth: focussedMonth, onKeyDown: this.monthPickerKeyDownHandler, focussedMonthRef: this.setFocussedMonthEl, minDate: minDate, maxDate: maxDate, yearInView: yearInView }))), hAsync("div", { key: 'e56d5c9d5a31b6b3f530ac96b81182720ef264c8', class: {
10808
12200
  "year-picker-container": true,
10809
12201
  hidden: !yearPickerVisible,
10810
- } }, yearPickerVisible && (hAsync(YearPicker, { key: '113dfbbb61d28495a6aa0ec0c2d2aa6be1c3e881', decadeView: decadeView, size: size, focussedYear: focussedYear, onSelectYear: this.handleSelectYear, onKeyDown: this.yearPickerKeyDownHandler, onFocusYear: this.onYearButtonFocusHandler, onBlurYear: this.onYearButtonBlurHandler, yearInView: yearInView, minDate: minDate, maxDate: maxDate, focussedYearRef: this.setFocussedYearEl }))), hAsync("div", { key: '5a3a56a0fe0af5771e88a5d6573b5b4e2e491d4f', class: {
12202
+ } }, yearPickerVisible && (hAsync(YearPicker, { key: 'd40cc0d0384bb04d63628a4e21f9e7cec0fe1c5f', decadeView: decadeView, size: size, focussedYear: focussedYear, onSelectYear: this.handleSelectYear, onKeyDown: this.yearPickerKeyDownHandler, onFocusYear: this.onYearButtonFocusHandler, onBlurYear: this.onYearButtonBlurHandler, yearInView: yearInView, minDate: minDate, maxDate: maxDate, focussedYearRef: this.setFocussedYearEl }))), hAsync("div", { key: 'f59442e70666f9a8216e1657d2e1099b2436e376', class: {
10811
12203
  "bottom-buttons": true,
10812
12204
  "no-today": !showPickerTodayButton,
10813
- } }, showPickerTodayButton && (hAsync("ic-button", { key: '67e78d82526a164797c8dfa3c60b4eff27f77193', id: "today-button", variant: "tertiary", ref: (el) => (this.todayButtonEl = el), size: size, "aria-label": "Navigate to current date", onClick: this.todayButtonClickHandler, onKeyDown: this.todayButtonKeyDownHandler, disabled: this.isCurrentMonth() }, "Go to today")), showPickerClearButton && (hAsync("ic-button", { key: 'cd6f21520ba94b85cc078b4478ff3dffaac2bb15', id: "clear-button", "aria-label": "clear selected date", ref: (el) => (this.clearButtonEl = el), variant: "tertiary", size: size, onClick: this.clearButtonClickHandler, onKeyDown: this.clearButtonKeyDownHandler, disabled: this.value === "" ||
12205
+ } }, showPickerTodayButton && (hAsync("ic-button", { key: '506f36d5bec283f11df7cbdc3431f4f5bd5a80f6', id: "today-button", variant: "tertiary", ref: (el) => (this.todayButtonEl = el), size: size, "aria-label": "Navigate to current date", onClick: this.todayButtonClickHandler, onKeyDown: this.todayButtonKeyDownHandler, disabled: this.isCurrentMonth() }, "Go to today")), showPickerClearButton && (hAsync("ic-button", { key: 'ad295135a146065f627b66081ad96a1820b144ce', id: "clear-button", "aria-label": "clear selected date", ref: (el) => (this.clearButtonEl = el), variant: "tertiary", size: size, onClick: this.clearButtonClickHandler, onKeyDown: this.clearButtonKeyDownHandler, disabled: this.value === "" ||
10814
12206
  this.value === null ||
10815
12207
  this.value === undefined }, "Clear"))))))));
10816
12208
  }
@@ -10863,6 +12255,7 @@ class DatePicker {
10863
12255
  "size": [1],
10864
12256
  "startOfWeek": [2, "start-of-week"],
10865
12257
  "theme": [1],
12258
+ "validationAriaLive": [1, "validation-aria-live"],
10866
12259
  "validationStatus": [1, "validation-status"],
10867
12260
  "validationText": [1, "validation-text"],
10868
12261
  "value": [1025],
@@ -10918,7 +12311,9 @@ class Dialog {
10918
12311
  this.IC_CHECKBOX = "IC-CHECKBOX";
10919
12312
  this.IC_SEARCH_BAR = "IC-SEARCH-BAR";
10920
12313
  this.IC_TAB_CONTEXT = "IC-TAB-CONTEXT";
12314
+ this.interactiveElementList = [];
10921
12315
  this.resizeObserver = null;
12316
+ this.focusAttemptCount = 0;
10922
12317
  this.dialogRendered = false;
10923
12318
  this.fadeIn = false;
10924
12319
  /**
@@ -10987,6 +12382,7 @@ class Dialog {
10987
12382
  }
10988
12383
  }, 10);
10989
12384
  setTimeout(() => {
12385
+ this.getInteractiveElements();
10990
12386
  this.setInitialFocus();
10991
12387
  checkResizeObserver$1(this.runResizeObserver);
10992
12388
  }, 75);
@@ -11037,10 +12433,24 @@ class Dialog {
11037
12433
  };
11038
12434
  this.setInitialFocus = () => {
11039
12435
  this.sourceElement = document.activeElement;
11040
- this.focusedElementIndex = this.interactiveElementList
11041
- ? this.interactiveElementList.findIndex((element) => element.hasAttribute(this.DATA_GETS_FOCUS))
11042
- : 0;
11043
- this.focusElement(this.interactiveElementList[this.focusedElementIndex]);
12436
+ if (!this.interactiveElementList.length) {
12437
+ // No interactive elements yet, retry shortly
12438
+ setTimeout(() => {
12439
+ this.getInteractiveElements();
12440
+ if (this.interactiveElementList.length) {
12441
+ this.setInitialFocus();
12442
+ }
12443
+ }, 10);
12444
+ return;
12445
+ }
12446
+ this.focusedElementIndex = this.interactiveElementList.findIndex((element) => element.hasAttribute(this.DATA_GETS_FOCUS));
12447
+ if (this.focusedElementIndex === -1) {
12448
+ this.focusedElementIndex = 0;
12449
+ }
12450
+ const elToFocus = this.interactiveElementList[this.focusedElementIndex];
12451
+ if (elToFocus) {
12452
+ this.focusElement(elToFocus);
12453
+ }
11044
12454
  };
11045
12455
  this.getFocusedElementIndex = () => {
11046
12456
  var _a;
@@ -11075,17 +12485,22 @@ class Dialog {
11075
12485
  };
11076
12486
  this.getNextFocusEl = (focusedElementIndex) => this.interactiveElementList[focusedElementIndex];
11077
12487
  this.onTabKeyPress = (shiftKey) => {
12488
+ var _a;
11078
12489
  this.getFocusedElementIndex();
11079
- if (this.interactiveElementList[this.focusedElementIndex].tagName ===
12490
+ if (((_a = this.interactiveElementList[this.focusedElementIndex]) === null || _a === void 0 ? void 0 : _a.tagName) ===
11080
12491
  this.IC_SEARCH_BAR) {
11081
12492
  return false;
11082
12493
  }
11083
12494
  this.setFocusIndexBasedOnShiftKey(shiftKey);
11084
12495
  this.loopNextFocusIndexIfLastElement();
12496
+ this.focusAttemptCount = 0;
11085
12497
  this.focusElement(this.getNextFocusEl(this.focusedElementIndex), shiftKey);
11086
12498
  return true;
11087
12499
  };
11088
12500
  this.shouldSkipElement = (element) => {
12501
+ if (!element) {
12502
+ return true;
12503
+ }
11089
12504
  const isHidden = getComputedStyle(element).visibility === "hidden" ||
11090
12505
  element.offsetHeight === 0 ||
11091
12506
  element.hasAttribute("disabled") ||
@@ -11098,12 +12513,16 @@ class Dialog {
11098
12513
  !(radioEl.hasAttribute("selected") || element.tabIndex === 0)));
11099
12514
  };
11100
12515
  this.focusElement = (element, shiftKey = false) => {
11101
- let nextFocusEl = element;
12516
+ if (!element) {
12517
+ return;
12518
+ }
12519
+ if (this.focusAttemptCount++ > this.interactiveElementList.length) {
12520
+ return;
12521
+ }
11102
12522
  if (this.shouldSkipElement(element)) {
11103
12523
  this.setFocusIndexBasedOnShiftKey(shiftKey);
11104
12524
  this.loopNextFocusIndexIfLastElement();
11105
- nextFocusEl = this.getNextFocusEl(this.focusedElementIndex);
11106
- this.focusElement(nextFocusEl, shiftKey);
12525
+ this.focusElement(this.getNextFocusEl(this.focusedElementIndex), shiftKey);
11107
12526
  }
11108
12527
  else {
11109
12528
  switch (element.tagName) {
@@ -11158,7 +12577,6 @@ class Dialog {
11158
12577
  this.removeSlotChangeListener();
11159
12578
  }
11160
12579
  componentDidLoad() {
11161
- this.getInteractiveElements();
11162
12580
  this.refreshInteractiveElementsOnSlotChange();
11163
12581
  if (this.open) {
11164
12582
  this.dialogOpened();
@@ -11234,7 +12652,7 @@ class Dialog {
11234
12652
  }
11235
12653
  render() {
11236
12654
  const { dialogRendered, disableHeightConstraint, fadeIn, theme } = this;
11237
- return (hAsync(Host, { key: '6de63d3d94afa349dc9bb5b30296837bbf89f810', class: {
12655
+ return (hAsync(Host, { key: '90bdbe0ef1a88e61db6395c4f63bea39573a757b', class: {
11238
12656
  "ic-dialog-hidden": !dialogRendered,
11239
12657
  "ic-dialog-fade-in": fadeIn,
11240
12658
  "disable-height-constraint": !!disableHeightConstraint,
@@ -12270,7 +13688,7 @@ class InputLabel {
12270
13688
  }; }
12271
13689
  }
12272
13690
 
12273
- const icInputValidationCss = "ic-input-validation{width:var(--input-width, 20rem);margin-top:var(--ic-space-xs);display:flex}ic-input-validation.ic-input-validation-full-width{width:100%}ic-input-validation span.status-icon{padding-right:var(--ic-space-xxs)}ic-input-validation span.status-icon>svg{height:1.25rem;width:1.25rem}ic-input-validation span.icon-success>svg{fill:var(--ic-input-validation-success-icon-color)}ic-input-validation span.icon-error>svg{fill:var(--ic-input-validation-error, var(--ic-atoms-status-icon-error))}ic-input-validation span.icon-warning>svg{fill:var(--ic-input-validation-warning-icon-color)}ic-input-validation .statustext{flex-grow:1;color:var(\n --ic-input-validation-status-text-color,\n var(--ic-color-text-primary)\n );--ic-typography-color:var(\n --ic-input-validation-status-text-color,\n var(--ic-color-text-primary)\n )}ic-input-validation .sr-only{position:absolute;left:-9999px}";
13691
+ const icInputValidationCss = "ic-input-validation{width:var(--input-width, 20rem);display:flex}ic-input-validation.ic-input-validation-with-status{margin-top:var(--ic-space-xs)}ic-input-validation.ic-input-validation-full-width{width:100%}ic-input-validation span.status-icon{padding-right:var(--ic-space-xxs)}ic-input-validation span.status-icon>svg{height:1.25rem;width:1.25rem}ic-input-validation span.icon-success>svg{fill:var(--ic-input-validation-success-icon-color)}ic-input-validation span.icon-error>svg{fill:var(--ic-input-validation-error, var(--ic-atoms-status-icon-error))}ic-input-validation span.icon-warning>svg{fill:var(--ic-input-validation-warning-icon-color)}ic-input-validation .statustext{flex-grow:1;color:var(\n --ic-input-validation-status-text-color,\n var(--ic-color-text-primary)\n );--ic-typography-color:var(\n --ic-input-validation-status-text-color,\n var(--ic-color-text-primary)\n )}ic-input-validation .sr-only{position:absolute;left:-9999px}";
12274
13692
  var IcInputValidationStyle0 = icInputValidationCss;
12275
13693
 
12276
13694
  const ICON = {
@@ -12304,7 +13722,7 @@ class InputValidation {
12304
13722
  this.messageEl.textContent = INVISIBLE_CHAR;
12305
13723
  setTimeout(() => {
12306
13724
  this.messageEl.textContent = newValue;
12307
- }, 100); // Delay to help ensure screen readers detect change
13725
+ }, 200); // Delay to help ensure screen readers detect change
12308
13726
  }
12309
13727
  componentDidLoad() {
12310
13728
  onComponentRequiredPropUndefined$1([{ prop: this.message, propName: "message" }], "Input Validation");
@@ -12313,13 +13731,14 @@ class InputValidation {
12313
13731
  render() {
12314
13732
  const { ariaLiveMode, fullWidth, status, message } = this;
12315
13733
  const displayIcon = status !== "" ? ICON[status] : "";
12316
- return (hAsync(Host, { key: '34ecf789f9c0821d672bcdf532f778b8132bb595', class: {
13734
+ return (hAsync(Host, { key: 'f1ba7e992a65cbd63d86411844668a0db4944cf2', class: {
12317
13735
  [`ic-input-validation-${status}`]: status !== "",
12318
13736
  "ic-input-validation-full-width": !!fullWidth,
12319
- } }, displayIcon !== "" && (hAsync("span", { key: '8d40b240e1e7647725c0359205a638eae4cb2cee', class: {
13737
+ "ic-input-validation-with-status": status !== "",
13738
+ } }, displayIcon !== "" && (hAsync("span", { key: '43bf05c319e9f4cdb7f6e5affd403d745b7dac00', class: {
12320
13739
  "status-icon": true,
12321
13740
  [`icon-${status}`]: true,
12322
- }, innerHTML: displayIcon })), hAsync("ic-typography", { key: '841555cf1e183663ed22863bb98ccbf18dc5747d', variant: "caption", class: "statustext" }, hAsync("span", { key: '8f9cde8e980016736a58129b3928a8f90da8054c', id: this.for && getInputValidationTextID$1(this.for) }, message), hAsync("span", { key: '3497fb929f8e6d55db69462405d4d2655741511b', ref: (el) => (this.messageEl = el), class: "sr-only", "aria-live": ariaLiveMode })), hAsync("slot", { key: '58ac53581ef92420a088eb50bfb1e9fcedad5660', name: "validation-message-adornment" })));
13741
+ }, innerHTML: displayIcon })), hAsync("ic-typography", { key: '8d0f570e79158d1add1410653c8bbdb5e052aaa3', variant: "caption", class: "statustext" }, hAsync("span", { key: 'c363e60a30ef571a63779ed77a7e4e8358444d5f', id: this.for && getInputValidationTextID$1(this.for) }, message), hAsync("span", { key: '53959e2fb2d6b51aaa5eca1f9526f0a6e55b5bea', ref: (el) => (this.messageEl = el), class: "sr-only", "aria-live": ariaLiveMode })), hAsync("slot", { key: '861c3d827e89d6e4c917cb6d584e7d3ec6a5c27a', name: "validation-message-adornment" })));
12323
13742
  }
12324
13743
  get el() { return getElement(this); }
12325
13744
  static get watchers() { return {
@@ -14735,6 +16154,21 @@ var checkIcon = `<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2
14735
16154
  </svg>
14736
16155
  `;
14737
16156
 
16157
+ /* istanbul ignore next */
16158
+ const getCustomElementHandling = (allowICPrefix) => ({
16159
+ CUSTOM_ELEMENT_HANDLING: {
16160
+ tagNameCheck: (tagName) => (allowICPrefix && tagName.startsWith("ic-")) ||
16161
+ IC_CUSTOM_ALLOWED_COMPONENTS$1.includes(tagName),
16162
+ attributeNameCheck: /.*/,
16163
+ },
16164
+ });
16165
+ const sanitizeHTMLString = (html) => {
16166
+ return purifier.sanitize(html, getCustomElementHandling(true));
16167
+ };
16168
+ const sanitizeHTMLIconString = (html) => {
16169
+ return purifier.sanitize(html, getCustomElementHandling(false));
16170
+ };
16171
+
14738
16172
  const icMenuCss = "html.sc-ic-menu{line-height:1.15;-webkit-text-size-adjust:100%}body.sc-ic-menu{margin:0}main.sc-ic-menu{display:block}h1.sc-ic-menu{font-size:2em;margin:0.67em 0}hr.sc-ic-menu{box-sizing:content-box;height:0;overflow:visible}pre.sc-ic-menu{font-family:monospace, monospace;font-size:1em}a.sc-ic-menu{background-color:transparent}abbr[title].sc-ic-menu{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b.sc-ic-menu,strong.sc-ic-menu{font-weight:bolder}code.sc-ic-menu,kbd.sc-ic-menu,samp.sc-ic-menu{font-family:monospace, monospace;font-size:1em}small.sc-ic-menu{font-size:80%}sub.sc-ic-menu,sup.sc-ic-menu{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub.sc-ic-menu{bottom:-0.25em}sup.sc-ic-menu{top:-0.5em}img.sc-ic-menu{border-style:none}button.sc-ic-menu,input.sc-ic-menu,optgroup.sc-ic-menu,select.sc-ic-menu,textarea.sc-ic-menu{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button.sc-ic-menu,input.sc-ic-menu{overflow:visible}button.sc-ic-menu,select.sc-ic-menu{text-transform:none}button.sc-ic-menu,[type=\"button\"].sc-ic-menu,[type=\"reset\"].sc-ic-menu,[type=\"submit\"].sc-ic-menu{-webkit-appearance:button}button.sc-ic-menu::-moz-focus-inner,[type=\"button\"].sc-ic-menu::-moz-focus-inner,[type=\"reset\"].sc-ic-menu::-moz-focus-inner,[type=\"submit\"].sc-ic-menu::-moz-focus-inner{border-style:none;padding:0}button.sc-ic-menu:-moz-focusring,[type=\"button\"].sc-ic-menu:-moz-focusring,[type=\"reset\"].sc-ic-menu:-moz-focusring,[type=\"submit\"].sc-ic-menu:-moz-focusring{outline:1px dotted ButtonText}fieldset.sc-ic-menu{padding:0.35em 0.75em 0.625em}legend.sc-ic-menu{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress.sc-ic-menu{vertical-align:baseline}textarea.sc-ic-menu{overflow:auto}[type=\"checkbox\"].sc-ic-menu,[type=\"radio\"].sc-ic-menu{box-sizing:border-box;padding:0}[type=\"number\"].sc-ic-menu::-webkit-inner-spin-button,[type=\"number\"].sc-ic-menu::-webkit-outer-spin-button{height:auto}[type=\"search\"].sc-ic-menu{-webkit-appearance:textfield;outline-offset:-2px}[type=\"search\"].sc-ic-menu::-webkit-search-decoration{-webkit-appearance:none}.sc-ic-menu::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details.sc-ic-menu{display:block}summary.sc-ic-menu{display:list-item}template.sc-ic-menu{display:none}[hidden].sc-ic-menu{display:none}html.sc-ic-menu,body.sc-ic-menu,div.sc-ic-menu,span.sc-ic-menu,applet.sc-ic-menu,object.sc-ic-menu,iframe.sc-ic-menu,h1.sc-ic-menu,h2.sc-ic-menu,h3.sc-ic-menu,h4.sc-ic-menu,h5.sc-ic-menu,h6.sc-ic-menu,p.sc-ic-menu,blockquote.sc-ic-menu,pre.sc-ic-menu,a.sc-ic-menu,abbr.sc-ic-menu,acronym.sc-ic-menu,address.sc-ic-menu,big.sc-ic-menu,cite.sc-ic-menu,code.sc-ic-menu,del.sc-ic-menu,dfn.sc-ic-menu,em.sc-ic-menu,img.sc-ic-menu,ins.sc-ic-menu,kbd.sc-ic-menu,q.sc-ic-menu,s.sc-ic-menu,samp.sc-ic-menu,small.sc-ic-menu,strike.sc-ic-menu,strong.sc-ic-menu,sub.sc-ic-menu,sup.sc-ic-menu,tt.sc-ic-menu,var.sc-ic-menu,b.sc-ic-menu,u.sc-ic-menu,i.sc-ic-menu,center.sc-ic-menu,dl.sc-ic-menu,dt.sc-ic-menu,dd.sc-ic-menu,ol.sc-ic-menu,ul.sc-ic-menu,li.sc-ic-menu,fieldset.sc-ic-menu,form.sc-ic-menu,label.sc-ic-menu,legend.sc-ic-menu,table.sc-ic-menu,caption.sc-ic-menu,tbody.sc-ic-menu,tfoot.sc-ic-menu,thead.sc-ic-menu,tr.sc-ic-menu,th.sc-ic-menu,td.sc-ic-menu,article.sc-ic-menu,aside.sc-ic-menu,canvas.sc-ic-menu,details.sc-ic-menu,embed.sc-ic-menu,figure.sc-ic-menu,figcaption.sc-ic-menu,footer.sc-ic-menu,header.sc-ic-menu,hgroup.sc-ic-menu,menu.sc-ic-menu,nav.sc-ic-menu,output.sc-ic-menu,ruby.sc-ic-menu,section.sc-ic-menu,summary.sc-ic-menu,time.sc-ic-menu,mark.sc-ic-menu,audio.sc-ic-menu,video.sc-ic-menu{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}@media (prefers-reduced-motion: no-preference){.ic-menu-open.sc-ic-menu-h .menu.sc-ic-menu{transition:max-height var(--ic-transition-duration-slow)}}.sc-ic-menu-h{max-height:0;width:var(--menu-width, var(--input-width, 20rem));color:var(--menu-item-text-color, var(--ic-menu-list-option-text-color));--ic-typography-color:var(\n --menu-item-text-color,\n var(--ic-menu-list-option-text-color)\n );background-color:var(\n --menu-bg-color,\n var(--ic-menu-list-option-background-color)\n );position:relative;z-index:var(--ic-z-index-menu);box-sizing:border-box;box-shadow:var(--ic-elevation-overlay);border-radius:var(--ic-border-radius)}.ic-menu-open.sc-ic-menu-h:not(.ic-menu-no-focus):focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}.ic-select-select-all-focused.sc-ic-menu-h{box-shadow:var(--ic-elevation-overlay) !important}#retry-button.sc-ic-menu::part(button){height:var(--ic-space-lg)}.small.sc-ic-menu #retry-button.sc-ic-menu::part(button){height:var(--ic-space-md)}.on-dialog.sc-ic-menu-h{inset:auto !important}.menu.sc-ic-menu{text-decoration:none;list-style-type:none;border-radius:1px;background-color:var(\n --menu-bg-color,\n var(--ic-menu-list-option-background-color)\n );visibility:hidden;max-height:0;overflow-y:hidden}.menu.sc-ic-menu:has(+.option-bar).sc-ic-menu{border-radius:0 0 1px 1px}.menu-scroll.sc-ic-menu{overflow-y:auto}.menu.sc-ic-menu:focus-visible{outline:none}.ic-menu-open.sc-ic-menu-h{max-height:none;display:flex;flex-direction:column-reverse;border:var(--ic-border-width) solid\n var(--menu-border-color, var(--ic-menu-border-color));transition:box-shadow var(--ic-easing-transition-fast)}.ic-menu-open.sc-ic-menu-h .menu.sc-ic-menu{visibility:visible;max-height:calc(var(--ic-space-xl) * 10 + var(--ic-space-xxxs))}.ic-menu-open.sc-ic-menu-h .option-bar.sc-ic-menu{visibility:visible}.ic-menu-open.sc-ic-menu-h .select-all-button.sc-ic-menu{display:block}.ic-menu-full-width.sc-ic-menu-h{width:100%}.option.sc-ic-menu{padding:var(--ic-space-xs) calc(var(--ic-space-xs) - var(--ic-space-1px));cursor:pointer;display:flex;align-items:center;gap:var(--ic-space-xs)}.loading-option.sc-ic-menu p.sc-ic-menu{margin-bottom:0 !important}.option.sc-ic-menu:not(.loading-option){justify-content:space-between}.ic-menu-small.sc-ic-menu-h .option.sc-ic-menu{padding:var(--ic-space-xxs) calc(var(--ic-space-xs) - var(--ic-space-1px))}.ic-menu-large.sc-ic-menu-h .option.sc-ic-menu{padding:var(--ic-space-sm) calc(var(--ic-space-xs) - var(--ic-space-1px))}.option.sc-ic-menu:last-child{border-radius:0 0 1px 1px}.sc-ic-menu:not(.menu:has(+.option-bar)).sc-ic-menu .option.sc-ic-menu:first-child{border-radius:1px 1px 0 0}.option.sc-ic-menu:not(.disabled-option):hover{background-color:var(--ic-menu-list-option-hover-background-color)}.option.sc-ic-menu:not(.disabled-option):active{background-color:var(--ic-menu-list-option-pressed-background-color)}.option.sc-ic-menu:focus-visible{outline:var(--ic-hc-focus-outline)}.option.sc-ic-menu:not(.disabled-option) .option-description.sc-ic-menu{--ic-typography-color:var(\n --menu-item-desc-text-color,\n var(--ic-menu-list-option-description-text-color)\n )}.option.sc-ic-menu .option-label.sc-ic-menu{display:flex;flex-direction:row;align-items:top}.option.sc-ic-menu .option-label.sc-ic-menu ic-typography.sc-ic-menu{max-width:100%;word-wrap:break-word}.option.sc-ic-menu .option-element.sc-ic-menu{margin-top:var(--ic-space-xxs)}.option.sc-ic-menu .option-icon.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);margin-top:var(--ic-space-xxs);margin-right:var(--ic-space-xxxs)}.option-text-container.sc-ic-menu{pointer-events:none;width:100%}.option-text-container.show-check-icon.sc-ic-menu{flex-grow:1}.option.loading-option.sc-ic-menu .option-text-container.sc-ic-menu{margin-left:calc(var(--ic-space-xs) + var(--ic-space-xxxs));color:var(--ic-menu-loading-list-option-text-color);--ic-typography-color:var(--ic-menu-loading-list-option-text-color)}.error-icon-svg.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);fill:var(--ic-atoms-status-icon-error);align-self:center;display:flex;margin-right:calc(var(--ic-space-xxs) * 1.2)}.loading-error-info.sc-ic-menu{display:flex}.check-icon.sc-ic-menu{height:var(--ic-space-lg);min-width:var(--ic-space-lg);width:var(--ic-space-lg);pointer-events:none}.focused-option.sc-ic-menu .check-icon.sc-ic-menu *.sc-ic-menu{fill:currentcolor}.option-group-title.sc-ic-menu{padding:var(--ic-space-lg) calc(var(--ic-space-xs) - var(--ic-space-1px))\n var(--ic-space-xs);--ic-typography-color:var(--ic-menu-option-group-label-text-color)}.ic-menu-small.sc-ic-menu-h .option-group-title.sc-ic-menu{padding:var(--ic-space-sm) calc(var(--ic-space-xs) - var(--ic-space-1px))\n var(--ic-space-xxs)}.last-recommended-option.sc-ic-menu{border-bottom:var(--ic-menu-last-recommended-option-border)}.disabled-option.sc-ic-menu{color:var(--ic-atoms-list-option-text-disabled-light);--ic-typography-color:var(--ic-atoms-list-option-text-disabled-light);cursor:default;pointer-events:none}.focused-option.sc-ic-menu,.focused-option.sc-ic-menu .option-description.sc-ic-menu{background-color:var(--ic-color-focus-inner) !important;color:var(--ic-atoms-list-option-text-focused-light) !important;--ic-typography-color:var(\n --ic-atoms-list-option-text-focused-light\n ) !important}.no-results.sc-ic-menu-h li.sc-ic-menu{cursor:no-drop}.no-results.sc-ic-menu-h li.sc-ic-menu:hover{background-color:transparent}.option-bar.sc-ic-menu{padding:var(--ic-space-xxs) var(--ic-space-xs);display:flex;align-items:center;justify-content:space-between;background-color:var(--ic-menu-option-bar-background-color);visibility:hidden;border-bottom:var(--ic-border-width) solid\n var(--ic-menu-option-bar-divider-color);border-radius:1px 1px 0 0}.option-bar.sc-ic-menu p.sc-ic-menu{margin-bottom:0 !important}.ic-menu-large.sc-ic-menu-h .option-bar.sc-ic-menu{padding:var(--ic-space-xs)}.select-all-button.sc-ic-menu{display:none}.select-all-button.sc-ic-menu:focus{z-index:calc(var(--ic-z-index-menu) + 1)}@media (forced-colors: active){.focused-option.sc-ic-menu:focus{outline:none;border:0.125rem solid transparent}.disabled-option.sc-ic-menu{color:GrayText;--ic-typography-color:GrayText}}";
14739
16173
  var IcMenuStyle0 = icMenuCss;
14740
16174
 
@@ -15164,7 +16598,7 @@ class Menu {
15164
16598
  const { value, label } = event.target.dataset;
15165
16599
  if (this.multiSelect) {
15166
16600
  const menuOptions = this.getMenuOptions();
15167
- const selectedOptionIndex = menuOptions.findIndex((option) => option.value === value);
16601
+ const selectedOptionIndex = menuOptions.findIndex((option) => option[this.valueField] === value);
15168
16602
  this.handleOptionSelect(event, selectedOptionIndex, true);
15169
16603
  this.multiOptionClicked = value || null;
15170
16604
  }
@@ -15469,11 +16903,14 @@ class Menu {
15469
16903
  return (hAsync(Fragment, null, option.loading && hAsync("ic-loading-indicator", { size: "icon" }), hAsync("div", { class: {
15470
16904
  "option-text-container": true,
15471
16905
  "show-check-icon": showCheckIcon,
15472
- } }, hAsync("div", { class: "option-label" }, option.icon && (hAsync("div", { class: "option-icon", innerHTML: option.icon, "aria-hidden": "true" })), hAsync("ic-typography", { variant: "body", "aria-hidden": "true" }, option[this.labelField])), option.description && (hAsync("ic-typography", { id: `${this.getOptionId(option[this.valueField])}-description`, class: "option-description", variant: "caption", "aria-hidden": "true" }, hAsync("p", null, option.description))), option.element && (hAsync("div", { class: "option-element", innerHTML: option.element.component, "aria-hidden": "true" }))), showCheckIcon && hAsync("span", { class: "check-icon", innerHTML: checkIcon })));
16906
+ } }, (option.icon || !option.hideLabel) && (hAsync("div", { class: "option-label" }, option.icon && (hAsync("div", { class: "option-icon", innerHTML: sanitizeHTMLIconString(option.icon), "aria-hidden": "true" })), !option.hideLabel && (hAsync("ic-typography", { variant: "body", "aria-hidden": "true" }, option[this.labelField])))), option.description && (hAsync("ic-typography", { id: `${this.getOptionId(option[this.valueField])}-description`, class: "option-description", variant: "caption", "aria-hidden": "true" }, hAsync("p", null, option.description))), option.element && (hAsync("div", { class: {
16907
+ "option-element": option.icon || !option.hideLabel || option.description,
16908
+ }, innerHTML: sanitizeHTMLString(option.element.component), "aria-hidden": "true" }))), showCheckIcon && hAsync("span", { class: "check-icon", innerHTML: checkIcon })));
15473
16909
  };
15474
16910
  this.displayOption = (option, selected, index, parentOption) => {
16911
+ var _a;
15475
16912
  const { open, keyboardNav, isManualMode, initialOptionsListRender, optionHighlighted, options, } = this;
15476
- return (hAsync("li", { id: this.getOptionId(option[this.valueField]), class: {
16913
+ return (hAsync("li", Object.assign({ id: this.getOptionId(option[this.valueField]), class: {
15477
16914
  option: true,
15478
16915
  "focused-option": isManualMode
15479
16916
  ? (keyboardNav || initialOptionsListRender) &&
@@ -15491,7 +16928,7 @@ class Menu {
15491
16928
  ? "0"
15492
16929
  : "-1", "aria-label": this.getOptionAriaLabel(option, parentOption), "aria-selected": selected ? "true" : "false", "aria-disabled": option.disabled ? "true" : "false", onClick: !option.timedOut && !option.loading
15493
16930
  ? this.handleOptionClick
15494
- : undefined, onBlur: this.handleBlur, onMouseDown: this.handleMouseDown, "data-value": option[this.valueField], "data-label": option[this.labelField] }, option.timedOut ? (hAsync(Fragment, null, hAsync("div", { class: "loading-error-info" }, hAsync("svg", { class: "error-icon-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#000000" }, hAsync("title", null, "Error"), hAsync("g", null, hAsync("path", { d: "M8.77 3L3.5 8.27V15.73L8.77 21H16.23L21.5 15.73V8.27L16.23 3M8.91 7L12.5 10.59L16.09 7L17.5 8.41L13.91 12L17.5 15.59L16.09 17L12.5 13.41L8.91 17L7.5 15.59L11.09 12L7.5 8.41" }))), hAsync("ic-typography", { variant: "label" }, option[this.labelField])), hAsync("ic-button", { size: "small", variant: "tertiary", onClick: this.handleRetry, onKeyDown: this.handleRetryKeyDown, onBlur: this.handleTimeoutBlur, id: "retry-button" }, "Retry"))) : (this.optionContent(option, selected))));
16931
+ : undefined, onBlur: this.handleBlur, onMouseDown: this.handleMouseDown, "data-value": option[this.valueField], "data-label": option[this.labelField] }, ((_a = option.htmlProps) !== null && _a !== void 0 ? _a : {})), option.timedOut ? (hAsync(Fragment, null, hAsync("div", { class: "loading-error-info" }, hAsync("svg", { class: "error-icon-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#000000" }, hAsync("title", null, "Error"), hAsync("g", null, hAsync("path", { d: "M8.77 3L3.5 8.27V15.73L8.77 21H16.23L21.5 15.73V8.27L16.23 3M8.91 7L12.5 10.59L16.09 7L17.5 8.41L13.91 12L17.5 15.59L16.09 17L12.5 13.41L8.91 17L7.5 15.59L11.09 12L7.5 8.41" }))), hAsync("ic-typography", { variant: "label" }, option[this.labelField])), hAsync("ic-button", { size: "small", variant: "tertiary", onClick: this.handleRetry, onKeyDown: this.handleRetryKeyDown, onBlur: this.handleTimeoutBlur, id: "retry-button" }, "Retry"))) : (this.optionContent(option, selected))));
15495
16932
  };
15496
16933
  }
15497
16934
  watchOpenHandler() {
@@ -15658,7 +17095,7 @@ class Menu {
15658
17095
  const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, size, open, inputEl, keyboardNav, parentEl, SEARCH_BAR_TAG, multiSelect, } = this;
15659
17096
  const selectAllButtonText = `${(value === null || value === void 0 ? void 0 : value.length) === this.ungroupedOptions.length ? "Clear" : "Select"} all`;
15660
17097
  const hasNoResults = this.host.classList.contains("no-results");
15661
- return (hAsync(Host, { key: '7ebc58677f28ae3b2a1ee2ca04da5550fbd6dfb9', class: {
17098
+ return (hAsync(Host, { key: '3e49d54ba714dfa55e9695bd24fa5d2b87077232', class: {
15662
17099
  "ic-menu-full-width": !!fullWidth,
15663
17100
  "ic-menu-no-focus": ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" &&
15664
17101
  (parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) !== SEARCH_BAR_TAG) ||
@@ -15667,7 +17104,7 @@ class Menu {
15667
17104
  [`ic-menu-${size}`]: true,
15668
17105
  "ic-menu-open": open && options.length !== 0,
15669
17106
  "ic-menu-multiple": multiSelect,
15670
- } }, options.length !== 0 && (hAsync("ul", { key: 'f2947cec3c604848ab04f4bec4eff2f8589ccd08', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": multiSelect ? "true" : "false", tabindex: open &&
17107
+ } }, options.length !== 0 && (hAsync("ul", { key: '23fc717879b9c8bac93158984ccd81f0b0227ab9', id: menuId, class: "menu", role: "listbox", "aria-label": `${inputLabel} pop-up`, "aria-multiselectable": multiSelect ? "true" : "false", tabindex: open &&
15671
17108
  !keyboardNav &&
15672
17109
  ((inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ||
15673
17110
  (parentEl === null || parentEl === void 0 ? void 0 : parentEl.tagName) === SEARCH_BAR_TAG)
@@ -15675,7 +17112,7 @@ class Menu {
15675
17112
  : "-1", ref: (el) => (this.menu = el), onKeyDown: this.handleMenuKeyDown, onKeyUp: this.handleMenuKeyUp, onBlur: this.handleBlur }, this.getSortedOptions(options).map((option, index) => {
15676
17113
  if (option.children) {
15677
17114
  if (option.children.length > 0) {
15678
- return (hAsync("div", null, hAsync("ic-typography", { class: "option-group-title", role: "presentation", variant: "subtitle-small" }, hAsync("p", null, option[this.labelField])), option.children.map((childOption) => childOption.label &&
17115
+ return (hAsync("div", null, hAsync("ic-typography", { class: "option-group-title", role: "presentation", variant: "subtitle-small" }, hAsync("p", null, option[this.labelField])), option.children.map((childOption) => childOption[this.labelField] &&
15679
17116
  this.displayOption(childOption, multiSelect
15680
17117
  ? value === null || value === void 0 ? void 0 : value.includes(childOption[this.valueField])
15681
17118
  : childOption[this.valueField] === value, index, option))));
@@ -15686,7 +17123,7 @@ class Menu {
15686
17123
  }
15687
17124
  else {
15688
17125
  // Display option only if it has a label (rather than displaying an empty space)
15689
- return (option.label &&
17126
+ return (option[this.labelField] &&
15690
17127
  this.displayOption(option, multiSelect
15691
17128
  ? value === null || value === void 0 ? void 0 : value.includes(option[this.valueField])
15692
17129
  : option[this.valueField] === value, index));
@@ -15695,7 +17132,7 @@ class Menu {
15695
17132
  multiSelect &&
15696
17133
  !isLoading &&
15697
17134
  !hasTimedOut &&
15698
- !hasNoResults && (hAsync("div", { key: '29313beeca636e3811d71a706317e25e6e11ab08', class: "option-bar" }, hAsync("ic-typography", { key: 'baaf733c1f439239e3d2f369ece827e27fb2c9c3' }, hAsync("p", { key: '924b275d1014d474f38b5e078c98c4f1edb338db' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), hAsync("ic-button", { key: 'aed55c5ce6152aaa785ec29007c5e77d0e215d9f', class: "select-all-button", "aria-label": `${selectAllButtonText} options for ${inputLabel}`, ref: (el) => (this.selectAllButton = el), variant: "tertiary", onClick: this.handleSelectAllClick, onMouseDown: this.handleSelectAllMouseDown, onBlur: this.handleSelectAllBlur, onFocus: this.handleSelectAllFocus, size: size === "small" ? "small" : "medium" }, selectAllButtonText)))));
17135
+ !hasNoResults && (hAsync("div", { key: '997b84a875c8ab4cc763b6047ece029a51e03165', class: "option-bar" }, hAsync("ic-typography", { key: 'ff3ef41753cebd248a6d59169ef68ae12f0563ca' }, hAsync("p", { key: '3fe3ae4ca8f766216e5258eea8dbb71d1efd2169' }, `${value ? value.length : 0}/${getOptionsWithoutGroupTitlesCount(this.options)} selected`)), hAsync("ic-button", { key: 'f269fc5554327fd11a8093857f0f9208a3b1ca62', class: "select-all-button", "aria-label": `${selectAllButtonText} options for ${inputLabel}`, ref: (el) => (this.selectAllButton = el), variant: "tertiary", onClick: this.handleSelectAllClick, onMouseDown: this.handleSelectAllMouseDown, onBlur: this.handleSelectAllBlur, onFocus: this.handleSelectAllFocus, size: size === "small" ? "small" : "medium" }, selectAllButtonText)))));
15699
17136
  }
15700
17137
  get host() { return getElement(this); }
15701
17138
  static get watchers() { return {
@@ -16339,7 +17776,7 @@ class NavigationGroup {
16339
17776
  }; }
16340
17777
  }
16341
17778
 
16342
- const icNavigationItemCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--navigation-link-colour:var(--ic-brand-text-color)}:host(:focus-within){z-index:var(--ic-z-index-navigation-item)}svg{width:var(--ic-space-xl);fill:var(--ic-brand-text-color)}.svg{margin-left:auto}.chevron-container svg,.chevron-container .svg{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chevron-container{flex-grow:1}:host(.expandable.navigation-item) .link,:host(.expandable.navigation-item) ::slotted(a){padding-right:0}:host(.navigation-item) .link,:host(.navigation-item) ::slotted(a){height:calc(100% - var(--ic-space-xxs));width:-moz-fit-content;width:fit-content;color:var(--navigation-link-colour);display:flex;align-items:center;justify-content:center;padding:0 var(--ic-space-md) var(--ic-space-xxs);text-decoration:none;transition:var(--ic-easing-transition-fast);position:relative;white-space:nowrap}:host(.navigation-item) ::slotted(a){height:100%;font:var(--ic-font-label) !important;letter-spacing:var(--ic-font-letter-spacing-0pt025) !important;padding:0 var(--ic-space-md) !important}:host(.navigation-item-selected) .link::after,:host(.navigation-item-selected) ::slotted(a.active)::after,:host(.navigation-item-top-nav) ::slotted(a.active)::after{content:\"\";height:0.25rem;width:100%;position:absolute;bottom:0;background-color:var(--ic-top-navigation-theme)}:host(.navigation-item-selected.navigation-item-page-header) ::slotted(a.active)::after,:host(.navigation-item-selected.navigation-item-page-header) .link::after,:host(.navigation-item.navigation-item-page-header) ::slotted(a.active)::after,:host(.navigation-item-top-nav-child) ::slotted(a.active)::after{content:none}:host(.navigation-item-side-menu-selected) .link,:host(.navigation-item-side-menu) ::slotted(a.active),:host(.navigation-item-top-nav-child) ::slotted(a.active){box-shadow:none}:host(.navigation-item) .link:hover:not(:focus){background-color:var(--ic-brand-hover);cursor:pointer}:host(.navigation-item:not(.navigation-item-page-header,.navigation-item-side-menu,.navigation-item-top-nav-child)) ::slotted(a:hover:not(:focus)),:host(.navigation-item-side-nav.navigation-item) .link:hover:not(:focus){background-color:var(--ic-brand-hover) !important}:host(.navigation-item:not(.navigation-item-top-nav-child,.navigation-item-side-menu,.navigation-item-top-nav-child-selected .navigation-item-side-menu-selected)) .focus-indicator:focus-within{box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius)}:host(.navigation-item) .link:focus,:host(.navigation-item) ::slotted(a:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);outline-offset:calc(-1 * (var(--ic-space-xxxs) + var(--ic-space-1px) / 2))}:host(.navigation-item-selected) .link:focus,:host(.navigation-item) ::slotted(a.active:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);outline-offset:calc(-1 * (var(--ic-space-xxxs) + var(--ic-space-1px) / 2))}:host(.navigation-item) .link:active:not(:focus),:host(.navigation-item) ::slotted(a:active:not(:focus)){background-color:var(--ic-brand-active)}:host(.navigation-item-side-menu) .link,:host(.navigation-item-side-menu) ::slotted(a){min-height:2.5rem;height:auto;width:100%;box-sizing:border-box;color:var(--ic-top-navigation-nav-item);--ic-typography-color:var(--ic-top-navigation-nav-item);display:flex;align-items:center;justify-content:flex-start;text-decoration:none;text-wrap:wrap;white-space:normal;transition:box-shadow var(--ic-transition-duration-fast),\n border-radius var(--ic-transition-duration-fast)}:host(.navigation-item-top-nav-child) ::slotted(svg),:host(.navigation-item-side-menu) ::slotted(svg),:host(.navigation-item-page-header) ::slotted(svg){fill:var(--ic-color-text-primary)}:host(.navigation-item-side-menu) ::slotted(a){font:var(--ic-font-body) !important;letter-spacing:var(--ic-font-letter-spacing-0pt005) !important;transition:box-shadow var(--ic-easing-transition-fast),\n background-color var(--ic-easing-transition-fast)}:host(.navigation-item-side-menu) .link:hover:not(:focus){background-color:var(--ic-top-navigation-nav-item-hover)}:host(.navigation-item-side-menu) ::slotted(a:hover:not(:focus)){background-color:var(--ic-top-navigation-nav-item-hover) !important}:host(.navigation-item-side-menu) .focus-indicator:focus-within{box-shadow:none}:host(.navigation-item-side-menu) .link:focus,:host(.navigation-item-side-menu) ::slotted(a:focus){box-shadow:var(--ic-border-focus-inset) !important;width:auto;border-radius:var(--ic-border-radius-inset) !important}:host(.navigation-item-side-menu-selected) .link,:host(.navigation-item-side-menu-selected) ::slotted(a){transition:box-shadow var(--ic-easing-transition-slow),\n background-color var(--ic-easing-transition-slow)}:host(.navigation-item-side-menu-selected) .link:focus,:host(.navigation-item-side-menu) ::slotted(a.active:focus),:host(.navigation-item-top-nav-child) ::slotted(a.active:focus){margin-left:var(--ic-space-xs) !important;padding-left:var(--ic-space-xs) !important}:host(.navigation-item-top-nav-child) .link,:host(.navigation-item-top-nav-child) ::slotted(a){height:2.5rem;width:calc(100% - var(--ic-space-xl));min-width:9.063rem;color:var(--ic-top-navigation-nav-item);display:flex;align-items:center;justify-content:flex-start;padding:0 var(--ic-space-md) !important;text-decoration:none;position:relative;transition:box-shadow var(--ic-transition-duration-fast),\n border-radius var(--ic-transition-duration-slow)}:host(.navigation-item-top-nav-child) ::slotted(a){font:var(--ic-font-body) !important;letter-spacing:var(--ic-font-letter-spacing-0pt005) !important}:host(.navigation-item-top-nav-child) .link:hover:not(:focus),:host(.navigation-item-top-nav-child) ::slotted(a:hover:not(:focus)){background-color:var(--ic-top-navigation-nav-item-hover) !important}:host(.navigation-item-top-nav-child) .link:focus,:host(.navigation-item-top-nav-child) ::slotted(a:focus){z-index:1;outline:var(--ic-hc-focus-outline);border-radius:var(--ic-border-radius-inset);box-shadow:var(--ic-border-focus-inset);transition:border-radius 0s, box-shadow var(--ic-transition-duration-fast)}:host(.navigation-item-top-nav-child) ::slotted(a.active:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}:host(.navigation-item-side-menu) .link:active:not(:focus){background-color:var(--ic-top-navigation-nav-item-pressed)}:host(.navigation-item-top-nav-child) .link:active:not(:focus),:host(.navigation-item-top-nav-child) ::slotted(a:active:not(:focus)){outline:var(--ic-hc-focus-outline);background-color:var(--ic-top-navigation-nav-item-pressed)}:host(.navigation-item-top-nav-child) ::slotted(a:active:not(:focus)),:host(.navigation-item-side-menu) ::slotted(a:active:not(:focus)){background-color:var(--ic-top-navigation-nav-item-pressed) !important}:host(.navigation-item-side-menu-selected) *,:host(.navigation-item-top-nav-child-selected) *,:host(.navigation-item-side-menu) ::slotted(a.active),:host(.navigation-item-top-nav-child) ::slotted(a.active){font-weight:700 !important}:host(.navigation-item-top-nav-child) ::slotted(a.active)::before,:host(.navigation-item-top-nav-child-selected) .link::before,:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu) ::slotted(a.active)::before,:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before{content:\"\";position:absolute;left:0;width:var(--ic-space-xs);height:inherit;min-height:2.5rem;background-color:var(--ic-top-navigation-nav-item-banner);transition:left 0s}:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu-selected) .link:focus::before{margin-top:var(--ic-space-xxs)}:host(.navigation-item-top-nav-child-selected) .link:focus{margin-left:var(--ic-space-xs);margin-right:calc(-1 * var(--ic-space-xs));padding-left:var(--ic-space-xs) !important}:host(.navigation-item-top-nav-child-selected) .link:focus::before{left:calc(-1 * var(--ic-space-xs));z-index:1}:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu) ::slotted(a.active)::before,:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before{z-index:1}:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before,:host(.navigation-item-top-nav-child) ::slotted(a.active:focus)::before{left:calc(-1 * var(--ic-space-xs))}:host(.navigation-item-side-menu-selected) .link::after{display:none}:host(.navigation-item-side-nav-collapsed) .link{height:100%}:host(.navigation-item-side-nav-collapsed) ::slotted(svg),:host(.navigation-item-side-nav-collapsed-with-label) ::slotted(svg){margin:auto;pointer-events:none}:host(.navigation-item-side-nav-collapsed) .icon,:host(.navigation-item-side-nav-collapsed-with-label) .icon,:host(.navigation-item-side-nav-collapsed-with-label) ic-typography{align-items:center;padding:0;margin:auto 0;width:-moz-fit-content;width:fit-content;pointer-events:none}:host(.navigation-item-side-nav-collapsed-with-label) ic-typography{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:center}:host(.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:flex;flex-direction:column;height:-moz-fit-content;height:fit-content;padding:var(--ic-space-xs) !important;gap:var(--ic-space-xxs)}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) ::slotted(a){height:auto !important;gap:0;width:auto;padding:var(--ic-space-xs) !important}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:block;text-align:center}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link ic-typography{opacity:1;min-width:-moz-min-content;min-width:min-content}:host(.navigation-item-side-nav-collapsed) svg,:host(.navigation-item-side-nav-collapsed-with-label) svg{display:none}::slotted(svg){fill:var(--ic-brand-text-color);height:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:var(--ic-space-md)}.icon{height:1.5rem;width:var(--ic-space-xxl);margin-left:calc(-1 * var(--ic-space-md));flex:0 1 0%;position:relative}.icon>::slotted(*){margin-left:var(--ic-space-md) !important;margin-right:var(--ic-space-xs)}.inline-badge{margin-left:var(--ic-space-xs)}.badge{margin-left:0}:host(.navigation-item-side-nav-collapsed) .icon>::slotted(*){margin:auto !important}:host(.navigation-item-side-nav) .icon>::slotted(*){margin-right:0}:host(.navigation-item-side-nav) .link,:host(.navigation-item-side-nav) ::slotted(a){height:var(--navigation-item-height, 4rem);min-height:var(--navigation-item-min-height);width:var(--navigation-item-width, auto);justify-content:var(--navigation-item-justify-content);display:flex;gap:var(--ic-space-xs);box-sizing:border-box;color:var(--navigation-item-child-color) !important;text-decoration:none !important;white-space:nowrap;padding:0 var(--ic-space-md);text-wrap:wrap}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a){height:var(--navigation-item-child-height);width:var(--navigation-group-width);color:var(--navigation-item-child-color) !important;display:flex;gap:0.625rem;box-sizing:border-box;min-width:0;transition:box-shadow var(--ic-easing-transition-fast);text-decoration:none !important;white-space:nowrap}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link:focus,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a:focus){box-shadow:var(--ic-border-focus-dark)}:host(.navigation-item-side-nav.navigation-item-side-menu) .link:active{background-color:var(--navigation-item-child-active)}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link:active,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a:active){background-color:var(--navigation-item-child-active)}:host(.navigation-item-side-nav) a.link ic-typography,:host(.navigation-item-side-nav.navigation-item-top-nav-child) a.link ic-typography,:host(.navigation-item-side-nav) div.link ic-typography,:host(.navigation-item-side-nav.navigation-item-top-nav-child) div.link ic-typography,.navigation-item-side-nav-slotted-text{opacity:var(--navigation-item-label-opacity);transition:opacity var(--ic-easing-transition-slow);white-space:wrap;text-overflow:ellipsis;overflow:hidden}:host(.navigation-item-side-nav.navigation-item-selected) .link,:host(.navigation-item-side-nav.navigation-item) ::slotted(a.active){box-shadow:inset 0.313rem 0 0 var(--ic-brand-text-color)}:host(.navigation-item-side-nav.navigation-item-selected) .link::before,:host(.navigation-item-side-nav) ::slotted(a.active)::before{content:\"\";display:block;position:absolute;inset:0 0 0 0.313rem;border-radius:0.688rem !important;transition:var(--ic-easing-transition-slow)}:host(.navigation-item-side-nav.navigation-item-selected) .link:focus::before,:host(.navigation-item-side-nav) ::slotted(a.active:focus)::before{box-shadow:var(--ic-border-focus-inset)}:host(:not(.navigation-item-side-nav-collapsed).navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link{opacity:var(--navigation-item-label-opacity);height:auto}:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) ::slotted(a){min-width:var(--navigation-group-item-min-width);padding:var(--ic-space-xs) !important;height:auto;gap:0}:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:block}:host(.navigation-item-side-nav.navigation-item-selected) .link::after,:host(.navigation-item-side-nav) ::slotted(a.active)::after{display:none}:host(.navigation-item-side-nav.navigation-item) .link:focus,:host(.navigation-item-side-nav.navigation-item) ::slotted(a:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);background-color:transparent}:host(.navigation-item-side-nav.navigation-item-selected) .link:focus,:host(.navigation-item-side-nav) ::slotted(a.active:focus){margin:0 auto;box-shadow:inset 0.313rem 0 0 var(--ic-brand-text-color);border-radius:0}:host(.navigation-item-page-header).link,:host(.navigation-item-page-header) a,:host(.navigation-item-page-header) ::slotted(a){height:2.5rem !important;color:var(--ic-color-text-primary) !important;transition:all var(--ic-easing-transition-fast) !important;box-shadow:rgba(23 89 188 / 0%) !important}:host(.navigation-item-page-header.navigation-item-selected) .link::after,:host(.navigation-item-page-header) ::slotted(a.active)::after{content:\" \" !important;position:absolute;bottom:0;left:0;right:0;height:var(--ic-space-xxs);background-color:var(--ic-action-default) !important}:host(.navigation-item-page-header) .link:hover,:host(.navigation-item-page-header) ::slotted(.link:hover),:host(.navigation-item-page-header) ::slotted(a:hover),:host(.navigation-item-page-header) .link:hover:not(:focus){background-color:var(--ic-action-default-bg-hover) !important;cursor:pointer}:host(.navigation-item-page-header) .link:focus,:host(.navigation-item-page-header) ::slotted(a:focus){box-shadow:var(--ic-border-focus)}:host(.navigation-item-page-header) .link:active,:host(.navigation-item-page-header) ::slotted(a:active){background-color:var(--ic-action-default-bg-pressed) !important}:host(.navigation-item-page-header.navigation-item-selected) .link:focus::after,:host(.navigation-item-page-header) ::slotted(a.active:focus)::after{border-bottom-left-radius:var(--ic-border-radius);border-bottom-right-radius:var(--ic-border-radius)}:host(.navigation-item-page-header.navigation-item-selected.with-transition) .link,:host(.navigation-item-page-header.navigation-item-selected.with-transition) ::slotted(a.active){transition:all var(--ic-easing-transition-fast),\n border-color var(--ic-transition-duration-fast)}:host(.navigation-item-page-header) ::slotted(a.active)::before,:host(.navigation-item-page-header) ::slotted(a.active:focus)::before,:host(.navigation-item-page-header.navigation-item-selected) .link:focus::before{display:none}.open-in-new-icon{flex:1}.open-in-new-icon svg{margin-top:var(--ic-space-xxs);padding-left:var(--ic-space-xs)}:host(.navigation-item-side-nav) .open-in-new-icon{margin-left:calc(-1 * var(--ic-space-xs))}:host(.navigation-item-top-nav) .open-in-new-icon svg,:host(.navigation-item-page-header) .open-in-new-icon svg,:host(.navigation-item-side-nav) .open-in-new-icon svg{height:0.875rem;width:0.875rem}:host(.navigation-item-side-menu) .open-in-new-icon svg,:host(.navigation-item-top-nav-child) .open-in-new-icon svg{height:var(--ic-space-md);width:var(--ic-space-md)}:host(.navigation-item-page-header) .open-in-new-icon svg,:host(.navigation-item-top-nav-child) .open-in-new-icon svg,:host(.navigation-item-side-menu) .open-in-new-icon svg{fill:var(--ic-color-text-primary)}@media (forced-colors: active){.open-in-new-icon svg{fill:currentcolor}}";
17779
+ const icNavigationItemCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--navigation-link-colour:var(--ic-brand-text-color)}:host(:focus-within){z-index:var(--ic-z-index-navigation-item)}svg{width:var(--ic-space-xl);fill:var(--ic-brand-text-color)}.svg{margin-left:auto}.chevron-container svg,.chevron-container .svg{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chevron-container{flex-grow:1}:host(.expandable.navigation-item) .link,:host(.expandable.navigation-item) ::slotted(a){padding-right:0}:host(.navigation-item) .link,:host(.navigation-item) ::slotted(a){height:calc(100% - var(--ic-space-xxs));width:-moz-fit-content;width:fit-content;color:var(--navigation-link-colour);display:flex;align-items:center;justify-content:center;padding:0 var(--ic-space-md) var(--ic-space-xxs);text-decoration:none;transition:var(--ic-easing-transition-fast);position:relative;white-space:nowrap;--ic-typography-color:var(--navigation-link-colour)}:host(.navigation-item) ::slotted(a){height:100%;font:var(--ic-font-label) !important;letter-spacing:var(--ic-font-letter-spacing-0pt025) !important;padding:0 var(--ic-space-md) !important}:host(.navigation-item-selected) .link::after,:host(.navigation-item-selected) ::slotted(a.active)::after,:host(.navigation-item-top-nav) ::slotted(a.active)::after{content:\"\";height:0.25rem;width:100%;position:absolute;bottom:0;background-color:var(--ic-top-navigation-theme)}:host(.navigation-item-selected.navigation-item-page-header) ::slotted(a.active)::after,:host(.navigation-item-selected.navigation-item-page-header) .link::after,:host(.navigation-item.navigation-item-page-header) ::slotted(a.active)::after,:host(.navigation-item-top-nav-child) ::slotted(a.active)::after{content:none}:host(.navigation-item-side-menu-selected) .link,:host(.navigation-item-side-menu) ::slotted(a.active),:host(.navigation-item-top-nav-child) ::slotted(a.active){box-shadow:none}:host(.navigation-item) .link:hover:not(:focus){background-color:var(--ic-brand-hover);cursor:pointer}:host(.navigation-item:not(.navigation-item-page-header,.navigation-item-side-menu,.navigation-item-top-nav-child)) ::slotted(a:hover:not(:focus)),:host(.navigation-item-side-nav.navigation-item) .link:hover:not(:focus){background-color:var(--ic-brand-hover) !important}:host(.navigation-item:not(.navigation-item-top-nav-child,.navigation-item-side-menu,.navigation-item-top-nav-child-selected .navigation-item-side-menu-selected)) .focus-indicator:focus-within{box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius)}:host(.navigation-item) .link:focus,:host(.navigation-item) ::slotted(a:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);outline-offset:calc(-1 * (var(--ic-space-xxxs) + var(--ic-space-1px) / 2))}:host(.navigation-item-selected) .link:focus,:host(.navigation-item) ::slotted(a.active:focus){box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);outline:var(--ic-hc-focus-outline);outline-offset:calc(-1 * (var(--ic-space-xxxs) + var(--ic-space-1px) / 2))}:host(.navigation-item) .link:active:not(:focus),:host(.navigation-item) ::slotted(a:active:not(:focus)){background-color:var(--ic-brand-active)}:host(.navigation-item-side-menu) .link,:host(.navigation-item-side-menu) ::slotted(a){min-height:2.5rem;height:auto;width:100%;box-sizing:border-box;color:var(--ic-top-navigation-nav-item);--ic-typography-color:var(--ic-top-navigation-nav-item);display:flex;align-items:center;justify-content:flex-start;text-decoration:none;text-wrap:wrap;white-space:normal;transition:box-shadow var(--ic-transition-duration-fast),\n border-radius var(--ic-transition-duration-fast)}:host(.navigation-item-top-nav-child) ::slotted(svg),:host(.navigation-item-side-menu) ::slotted(svg),:host(.navigation-item-page-header) ::slotted(svg){fill:var(--ic-color-text-primary)}:host(.navigation-item-top-nav-child) .link,:host(.navigation-item-top-nav-child) ::slotted(a){color:var(--ic-color-text-primary);--ic-typography-color:var(--ic-color-text-primary)}:host(.navigation-item-side-menu) ::slotted(a){font:var(--ic-font-body) !important;letter-spacing:var(--ic-font-letter-spacing-0pt005) !important;transition:box-shadow var(--ic-easing-transition-fast),\n background-color var(--ic-easing-transition-fast)}:host(.navigation-item-side-menu) .link:hover:not(:focus){background-color:var(--ic-top-navigation-nav-item-hover)}:host(.navigation-item-side-menu) ::slotted(a:hover:not(:focus)){background-color:var(--ic-top-navigation-nav-item-hover) !important}:host(.navigation-item-side-menu) .focus-indicator:focus-within{box-shadow:none}:host(.navigation-item-side-menu) .link:focus,:host(.navigation-item-side-menu) ::slotted(a:focus){box-shadow:var(--ic-border-focus-inset) !important;width:auto;border-radius:var(--ic-border-radius-inset) !important}:host(.navigation-item-side-menu-selected) .link,:host(.navigation-item-side-menu-selected) ::slotted(a){transition:box-shadow var(--ic-easing-transition-slow),\n background-color var(--ic-easing-transition-slow)}:host(.navigation-item-side-menu-selected) .link:focus,:host(.navigation-item-side-menu) ::slotted(a.active:focus),:host(.navigation-item-top-nav-child) ::slotted(a.active:focus){margin-left:var(--ic-space-xs) !important;padding-left:var(--ic-space-xs) !important}:host(.navigation-item-top-nav-child) .link,:host(.navigation-item-top-nav-child) ::slotted(a){height:2.5rem;width:calc(100% - var(--ic-space-xl));min-width:9.063rem;color:var(--ic-top-navigation-nav-item);display:flex;align-items:center;justify-content:flex-start;padding:0 var(--ic-space-md) !important;text-decoration:none;position:relative;transition:box-shadow var(--ic-transition-duration-fast),\n border-radius var(--ic-transition-duration-slow)}:host(.navigation-item-top-nav-child) ::slotted(a){font:var(--ic-font-body) !important;letter-spacing:var(--ic-font-letter-spacing-0pt005) !important}:host(.navigation-item-top-nav-child) .link:hover:not(:focus),:host(.navigation-item-top-nav-child) ::slotted(a:hover:not(:focus)){background-color:var(--ic-top-navigation-nav-item-hover) !important}:host(.navigation-item-top-nav-child) .link:focus,:host(.navigation-item-top-nav-child) ::slotted(a:focus){z-index:1;outline:var(--ic-hc-focus-outline);border-radius:var(--ic-border-radius-inset);box-shadow:var(--ic-border-focus-inset);transition:border-radius 0s, box-shadow var(--ic-transition-duration-fast)}:host(.navigation-item-top-nav-child) ::slotted(a.active:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}:host(.navigation-item-side-menu) .link:active:not(:focus){background-color:var(--ic-top-navigation-nav-item-pressed)}:host(.navigation-item-top-nav-child) .link:active:not(:focus),:host(.navigation-item-top-nav-child) ::slotted(a:active:not(:focus)){outline:var(--ic-hc-focus-outline);background-color:var(--ic-top-navigation-nav-item-pressed)}:host(.navigation-item-top-nav-child) ::slotted(a:active:not(:focus)),:host(.navigation-item-side-menu) ::slotted(a:active:not(:focus)){background-color:var(--ic-top-navigation-nav-item-pressed) !important}:host(.navigation-item-side-menu-selected) *,:host(.navigation-item-top-nav-child-selected) *,:host(.navigation-item-side-menu) ::slotted(a.active),:host(.navigation-item-top-nav-child) ::slotted(a.active){font-weight:700 !important}:host(.navigation-item-top-nav-child) ::slotted(a.active)::before,:host(.navigation-item-top-nav-child-selected) .link::before,:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu) ::slotted(a.active)::before,:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before{content:\"\";position:absolute;left:0;width:var(--ic-space-xs);height:inherit;min-height:2.5rem;background-color:var(--ic-top-navigation-nav-item-banner);transition:left 0s}:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu-selected) .link:focus::before{margin-top:var(--ic-space-xxs)}:host(.navigation-item-top-nav-child-selected) .link:focus{margin-left:var(--ic-space-xs);margin-right:calc(-1 * var(--ic-space-xs));padding-left:var(--ic-space-xs) !important}:host(.navigation-item-top-nav-child-selected) .link:focus::before{left:calc(-1 * var(--ic-space-xs));z-index:1}:host(.navigation-item-side-menu-selected) .link::before,:host(.navigation-item-side-menu) ::slotted(a.active)::before,:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before{z-index:1}:host(.navigation-item-side-menu-selected) .link:focus::before,:host(.navigation-item-side-menu) ::slotted(a.active:focus)::before,:host(.navigation-item-top-nav-child) ::slotted(a.active:focus)::before{left:calc(-1 * var(--ic-space-xs))}:host(.navigation-item-side-menu-selected) .link::after{display:none}:host(.navigation-item-side-nav-collapsed) .link{height:100%}:host(.navigation-item-side-nav-collapsed) ::slotted(svg),:host(.navigation-item-side-nav-collapsed-with-label) ::slotted(svg){margin:auto;pointer-events:none}:host(.navigation-item-side-nav-collapsed) .icon,:host(.navigation-item-side-nav-collapsed-with-label) .icon,:host(.navigation-item-side-nav-collapsed-with-label) ic-typography{align-items:center;padding:0;margin:auto 0;width:-moz-fit-content;width:fit-content;pointer-events:none}:host(.navigation-item-side-nav-collapsed-with-label) ic-typography{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:center}:host(.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:flex;flex-direction:column;height:-moz-fit-content;height:fit-content;padding:var(--ic-space-xs) !important;gap:var(--ic-space-xxs)}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) ::slotted(a){height:auto !important;gap:0;width:auto;padding:var(--ic-space-xs) !important}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:block;text-align:center}:host(.navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link ic-typography{opacity:1;min-width:-moz-min-content;min-width:min-content}:host(.navigation-item-side-nav-collapsed) svg,:host(.navigation-item-side-nav-collapsed-with-label) svg{display:none}::slotted(svg){fill:var(--ic-brand-text-color);height:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:var(--ic-space-md)}.icon{height:1.5rem;width:var(--ic-space-xxl);margin-left:calc(-1 * var(--ic-space-md));flex:0 1 0%;position:relative}.icon>::slotted(*){margin-left:var(--ic-space-md) !important;margin-right:var(--ic-space-xs)}.inline-badge{margin-left:var(--ic-space-xs)}.badge{margin-left:0}:host(.navigation-item-side-nav-collapsed) .icon>::slotted(*){margin:auto !important}:host(.navigation-item-side-nav) .icon>::slotted(*){margin-right:0}:host(.navigation-item-side-nav) .link,:host(.navigation-item-side-nav) ::slotted(a){height:var(--navigation-item-height, 4rem);min-height:var(--navigation-item-min-height);width:var(--navigation-item-width, auto);justify-content:var(--navigation-item-justify-content);display:flex;gap:var(--ic-space-xs);box-sizing:border-box;color:var(--navigation-item-child-color) !important;text-decoration:none !important;white-space:nowrap;padding:0 var(--ic-space-md);text-wrap:wrap}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a){height:var(--navigation-item-child-height);width:var(--navigation-group-width);color:var(--navigation-item-child-color) !important;display:flex;gap:0.625rem;box-sizing:border-box;min-width:0;transition:box-shadow var(--ic-easing-transition-fast);text-decoration:none !important;white-space:nowrap}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link:focus,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a:focus){box-shadow:var(--ic-border-focus-dark)}:host(.navigation-item-side-nav.navigation-item-side-menu) .link:active{background-color:var(--navigation-item-child-active)}:host(.navigation-item-side-nav.navigation-item-top-nav-child) .link:active,:host(.navigation-item-side-nav.navigation-item-top-nav-child) ::slotted(a:active){background-color:var(--navigation-item-child-active)}:host(.navigation-item-side-nav) a.link ic-typography,:host(.navigation-item-side-nav.navigation-item-top-nav-child) a.link ic-typography,:host(.navigation-item-side-nav) div.link ic-typography,:host(.navigation-item-side-nav.navigation-item-top-nav-child) div.link ic-typography,.navigation-item-side-nav-slotted-text{opacity:var(--navigation-item-label-opacity);transition:opacity var(--ic-easing-transition-slow);white-space:wrap;text-overflow:ellipsis;overflow:hidden}:host(.navigation-item-side-nav.navigation-item-selected) .link,:host(.navigation-item-side-nav.navigation-item) ::slotted(a.active){box-shadow:inset 0.313rem 0 0 var(--ic-brand-text-color)}:host(.navigation-item-side-nav.navigation-item-selected) .link::before,:host(.navigation-item-side-nav) ::slotted(a.active)::before{content:\"\";display:block;position:absolute;inset:0 0 0 0.313rem;border-radius:0.688rem !important;transition:var(--ic-easing-transition-slow)}:host(.navigation-item-side-nav.navigation-item-selected) .link:focus::before,:host(.navigation-item-side-nav) ::slotted(a.active:focus)::before{box-shadow:var(--ic-border-focus-inset)}:host(:not(.navigation-item-side-nav-collapsed).navigation-item-side-nav.navigation-item-side-nav-collapsed-with-label) .link{opacity:var(--navigation-item-label-opacity);height:auto}:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) .link,:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) ::slotted(a){min-width:var(--navigation-group-item-min-width);padding:var(--ic-space-xs) !important;height:auto;gap:0}:host(.navigation-item-top-nav-child.navigation-item-side-nav-collapsed-with-label) ::slotted(a){display:block}:host(.navigation-item-side-nav.navigation-item-selected) .link::after,:host(.navigation-item-side-nav) ::slotted(a.active)::after{display:none}:host(.navigation-item-side-nav.navigation-item) .link:focus,:host(.navigation-item-side-nav.navigation-item) ::slotted(a:focus){box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset);background-color:transparent}:host(.navigation-item-side-nav.navigation-item-selected) .link:focus,:host(.navigation-item-side-nav) ::slotted(a.active:focus){margin:0 auto;box-shadow:inset 0.313rem 0 0 var(--ic-brand-text-color);border-radius:0}:host(.navigation-item-page-header).link,:host(.navigation-item-page-header) a,:host(.navigation-item-page-header) ::slotted(a){height:2.5rem !important;color:var(--ic-color-text-primary) !important;transition:all var(--ic-easing-transition-fast) !important;box-shadow:rgba(23 89 188 / 0%) !important}:host(.navigation-item-page-header.navigation-item-selected) .link::after,:host(.navigation-item-page-header) ::slotted(a.active)::after{content:\" \" !important;position:absolute;bottom:0;left:0;right:0;height:var(--ic-space-xxs);background-color:var(--ic-action-default) !important}:host(.navigation-item-page-header) .link:hover,:host(.navigation-item-page-header) ::slotted(.link:hover),:host(.navigation-item-page-header) ::slotted(a:hover),:host(.navigation-item-page-header) .link:hover:not(:focus){background-color:var(--ic-action-default-bg-hover) !important;cursor:pointer}:host(.navigation-item-page-header) .link:focus,:host(.navigation-item-page-header) ::slotted(a:focus){box-shadow:var(--ic-border-focus)}:host(.navigation-item-page-header) .link:active,:host(.navigation-item-page-header) ::slotted(a:active){background-color:var(--ic-action-default-bg-pressed) !important}:host(.navigation-item-page-header.navigation-item-selected) .link:focus::after,:host(.navigation-item-page-header) ::slotted(a.active:focus)::after{border-bottom-left-radius:var(--ic-border-radius);border-bottom-right-radius:var(--ic-border-radius)}:host(.navigation-item-page-header.navigation-item-selected.with-transition) .link,:host(.navigation-item-page-header.navigation-item-selected.with-transition) ::slotted(a.active){transition:all var(--ic-easing-transition-fast),\n border-color var(--ic-transition-duration-fast)}:host(.navigation-item-page-header) ::slotted(a.active)::before,:host(.navigation-item-page-header) ::slotted(a.active:focus)::before,:host(.navigation-item-page-header.navigation-item-selected) .link:focus::before{display:none}.open-in-new-icon{flex:1}.open-in-new-icon svg{margin-top:var(--ic-space-xxs);padding-left:var(--ic-space-xs)}:host(.navigation-item-side-nav) .open-in-new-icon{margin-left:calc(-1 * var(--ic-space-xs))}:host(.navigation-item-top-nav) .open-in-new-icon svg,:host(.navigation-item-page-header) .open-in-new-icon svg,:host(.navigation-item-side-nav) .open-in-new-icon svg{height:0.875rem;width:0.875rem}:host(.navigation-item-side-menu) .open-in-new-icon svg,:host(.navigation-item-top-nav-child) .open-in-new-icon svg{height:var(--ic-space-md);width:var(--ic-space-md)}:host(.navigation-item-page-header) .open-in-new-icon svg,:host(.navigation-item-top-nav-child) .open-in-new-icon svg,:host(.navigation-item-side-menu) .open-in-new-icon svg{fill:var(--ic-color-text-primary)}@media (forced-colors: active){.open-in-new-icon svg{fill:currentcolor}}";
16343
17780
  var IcNavigationItemStyle0 = icNavigationItemCss;
16344
17781
 
16345
17782
  /**
@@ -16754,7 +18191,7 @@ class NavigationMenu {
16754
18191
  }; }
16755
18192
  }
16756
18193
 
16757
- const icPageHeaderCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;z-index:var(--ic-z-index-page-header)}:host(.ic-page-header-sticky){position:sticky;top:0;box-shadow:var(--ic-elevation-overlay);z-index:var(--ic-z-index-sticky-page-header)}header{background-color:var(--ic-page-header-background)}header.border-bottom{border-bottom:var(--ic-border-default);border-bottom:var(--ic-space-1px) solid var(--ic-page-header-border)}header.tabs{padding-top:var(--ic-space-md)}.breadcrumb-area{margin-bottom:var(--ic-space-md)}.main-content{display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"title-area action-area\"\n \"input-area action-area\";-moz-column-gap:var(--ic-space-md);column-gap:var(--ic-space-md);justify-content:space-between;width:100%}.title-area{display:flex;flex-direction:column;flex:1;min-width:19rem;grid-area:title-area}.header-content{display:flex;align-items:center;width:100%;flex-wrap:wrap;-moz-column-gap:var(--ic-space-md);column-gap:var(--ic-space-md)}.heading{display:inline-block;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.subheading-content{margin-top:var(--ic-space-xs)}.subheading-content.small{margin-top:var(--ic-space-md)}.action-area{display:flex;gap:var(--ic-space-md);flex-flow:row wrap;justify-self:end;justify-content:flex-end;height:-moz-fit-content;height:fit-content;grid-area:action-area}.input-area,.navigation-area{margin-top:var(--ic-space-md);width:100%}.tabs-slot{display:flex;overflow-x:auto;padding:0.5rem;margin:-0.5rem}.tabs-slot::-webkit-scrollbar{display:none}.input-area{grid-area:input-area}@media screen and (max-width: 576px){::slotted(ic-text-field){--input-width:100%;max-width:20rem}.main-content{grid-template-areas:\"title-area\"\n \"action-area\"\n \"input-area\";justify-content:flex-start}.title-area{min-width:0}.action-area{min-width:100%;margin-top:var(--ic-space-md);justify-content:start}}@media screen and (min-width: 992px){:host(.ic-page-header-sticky-desktop){position:sticky;top:0;box-shadow:var(--ic-elevation-overlay);z-index:var(--ic-z-index-sticky-page-header)}}";
18194
+ const icPageHeaderCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;z-index:var(--ic-z-index-page-header)}:host(.ic-page-header-sticky){position:sticky;top:0;box-shadow:var(--ic-elevation-overlay);z-index:var(--ic-z-index-sticky-page-header)}header{background-color:var(--ic-page-header-background)}header.border-bottom{border-bottom:var(--ic-border-default);border-bottom:var(--ic-space-1px) solid var(--ic-page-header-border)}header.tabs{padding-top:var(--ic-space-md)}.breadcrumb-area{margin-bottom:var(--ic-space-md)}::slotted(ic-navigation-item){--navigation-link-colour:var(--ic-color-text-primary)}.main-content{display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"title-area action-area\"\n \"input-area action-area\";-moz-column-gap:var(--ic-space-md);column-gap:var(--ic-space-md);justify-content:space-between;width:100%}.title-area{display:flex;flex-direction:column;flex:1;min-width:19rem;grid-area:title-area}.header-content{display:flex;align-items:center;width:100%;flex-wrap:wrap;-moz-column-gap:var(--ic-space-md);column-gap:var(--ic-space-md)}.heading{display:inline-block;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.subheading-content{margin-top:var(--ic-space-xs)}.subheading-content.small{margin-top:var(--ic-space-md)}.action-area{display:flex;gap:var(--ic-space-md);flex-flow:row wrap;justify-self:end;justify-content:flex-end;height:-moz-fit-content;height:fit-content;grid-area:action-area}.input-area,.navigation-area{margin-top:var(--ic-space-md);width:100%}.tabs-slot{display:flex;overflow-x:auto;padding:0.5rem;margin:-0.5rem}.tabs-slot::-webkit-scrollbar{display:none}.input-area{grid-area:input-area}@media screen and (max-width: 576px){::slotted(ic-text-field){--input-width:100%;max-width:20rem}.main-content{grid-template-areas:\"title-area\"\n \"action-area\"\n \"input-area\";justify-content:flex-start}.title-area{min-width:0}.action-area{min-width:100%;margin-top:var(--ic-space-md);justify-content:start}}@media screen and (min-width: 992px){:host(.ic-page-header-sticky-desktop){position:sticky;top:0;box-shadow:var(--ic-elevation-overlay);z-index:var(--ic-z-index-sticky-page-header)}}";
16758
18195
  var IcPageHeaderStyle0 = icPageHeaderCss;
16759
18196
 
16760
18197
  /**
@@ -17280,6 +18717,16 @@ class PaginationBar {
17280
18717
  If `true`, the pagination bar is set to the first page when the 'items per page' changes
17281
18718
  */
17282
18719
  this.setToFirstPageOnPaginationChange = false;
18720
+ this.setSelectedItemsPerPage = (selectedItemsPerPage, displayedItemsPerPageOptions = []) => {
18721
+ const isSelectedItemsPerPagePresent = displayedItemsPerPageOptions === null || displayedItemsPerPageOptions === void 0 ? void 0 : displayedItemsPerPageOptions.some(({ value }) => { var _a; return value === ((_a = this.selectedItemsPerPage) === null || _a === void 0 ? void 0 : _a.toString()); });
18722
+ if (isSelectedItemsPerPagePresent) {
18723
+ this.setItemsPerPage(selectedItemsPerPage, false);
18724
+ }
18725
+ else {
18726
+ console.error(`The selected items per page option "${this.selectedItemsPerPage}" does not exist`);
18727
+ this.setItemsPerPage(+this.totalItems, false);
18728
+ }
18729
+ };
17283
18730
  this.changeItemsPerPage = () => {
17284
18731
  this.setItemsPerPage(Number(this.pageDropdownEl.value));
17285
18732
  this.userSetItemsPerPage = Number(this.pageDropdownEl.value);
@@ -17393,12 +18840,15 @@ class PaginationBar {
17393
18840
  this.activePage = firstPage;
17394
18841
  this.icPageChange.emit({ value: firstPage });
17395
18842
  };
17396
- this.setItemsPerPage = (newValue) => {
18843
+ this.setItemsPerPage = (newValue, isUserAction = true) => {
17397
18844
  var _a;
17398
18845
  if (this.itemsPerPage !== newValue) {
17399
18846
  this.itemsPerPage = newValue;
17400
18847
  this.itemsPerPageString = newValue.toString();
17401
- this.icItemsPerPageChange.emit({ value: this.itemsPerPage });
18848
+ this.icItemsPerPageChange.emit({
18849
+ value: this.itemsPerPage,
18850
+ isUserAction,
18851
+ });
17402
18852
  if (this.setToFirstPageOnPaginationChange) {
17403
18853
  this.setToFirstPage();
17404
18854
  }
@@ -17445,13 +18895,19 @@ class PaginationBar {
17445
18895
  this.setItemsPerPage(lastOptionValue);
17446
18896
  }
17447
18897
  else {
17448
- const updated = this.displayedItemsPerPageOptions.some(({ value }) => {
17449
- lastOptionValue = Number(value);
17450
- return this.itemsPerPage <= lastOptionValue;
17451
- });
17452
- this.setItemsPerPage(updated || (!updated && this.itemsPerPage > lastOptionValue)
17453
- ? lastOptionValue
17454
- : this.itemsPerPage);
18898
+ if (this.selectedItemsPerPage !== null &&
18899
+ this.selectedItemsPerPage !== undefined) {
18900
+ this.setSelectedItemsPerPage(this.selectedItemsPerPage, this.displayedItemsPerPageOptions);
18901
+ }
18902
+ else {
18903
+ const updated = this.displayedItemsPerPageOptions.some(({ value }) => {
18904
+ lastOptionValue = Number(value);
18905
+ return this.itemsPerPage <= lastOptionValue;
18906
+ });
18907
+ this.setItemsPerPage(updated || (!updated && this.itemsPerPage > lastOptionValue)
18908
+ ? lastOptionValue
18909
+ : this.itemsPerPage, false);
18910
+ }
17455
18911
  }
17456
18912
  };
17457
18913
  this.setUpperBound = () => {
@@ -17471,15 +18927,9 @@ class PaginationBar {
17471
18927
  }
17472
18928
  }
17473
18929
  watchSelectedItemsPerPageHandler() {
17474
- var _a;
17475
18930
  if (this.selectedItemsPerPage !== null &&
17476
18931
  this.selectedItemsPerPage !== undefined) {
17477
- if ((_a = this.displayedItemsPerPageOptions) === null || _a === void 0 ? void 0 : _a.filter((option) => option.value === `${this.selectedItemsPerPage}`).length) {
17478
- this.setItemsPerPage(this.selectedItemsPerPage);
17479
- }
17480
- else {
17481
- console.error(`The selected items per page option "${this.selectedItemsPerPage}" does not exist`);
17482
- }
18932
+ this.setSelectedItemsPerPage(this.selectedItemsPerPage, this.displayedItemsPerPageOptions);
17483
18933
  }
17484
18934
  }
17485
18935
  watchItemLabelHandler() {
@@ -17510,7 +18960,6 @@ class PaginationBar {
17510
18960
  this.watchPageLabelHandler();
17511
18961
  this.watchItemLabelHandler();
17512
18962
  this.setPaginationBarContent();
17513
- this.watchSelectedItemsPerPageHandler();
17514
18963
  }
17515
18964
  componentDidLoad() {
17516
18965
  var _a, _b, _c;
@@ -17532,21 +18981,21 @@ class PaginationBar {
17532
18981
  }
17533
18982
  render() {
17534
18983
  const { alignment, displayedItemsPerPageOptions, PAGE_INPUT_FIELD_ID, type, rangeLabelType, hideRangeLabel, showItemsPerPageControl, showGoToPageControl, pageLabel, capitalizedPageLabel, lowerCasePageLabel, capitalizedItemLabel, lowerCaseItemLabel, totalPages, activePage, itemsPerPageString, theme, monochrome, selectItemsPerPageOnEnter, } = this;
17535
- return (hAsync(Host, { key: '48f4fdc3d6fe116125e226a35d47a3659f8776ff', class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: 'ef61ae29f8ebb9c877ee16cc48a10710910d9062', class: {
18984
+ return (hAsync(Host, { key: 'c69d7b2032367620b35d339163cc56ec6383016a', class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: '0ffcb94ee6e3a04410d158d6716520e2969cecfe', class: {
17536
18985
  ["pagination-bar"]: true,
17537
18986
  [`pagination-bar-${alignment}`]: true,
17538
- }, ref: (el) => (this.paginationBarEl = el) }, (!hideRangeLabel || showItemsPerPageControl) && (hAsync("div", { key: 'e907ebd5912002cb262b1f47d9d77921d7e54107', class: "item-controls" }, showItemsPerPageControl && (hAsync("div", { key: '58f0aa36727b60122aee3334f19a6fe152d6758b', class: "items-per-page-holder" }, hAsync("ic-typography", { key: 'e8f4910aa351774a1168db3c610c2117cf557457', class: {
18987
+ }, ref: (el) => (this.paginationBarEl = el) }, (!hideRangeLabel || showItemsPerPageControl) && (hAsync("div", { key: '513180ace8fc3f82c26ee5c745e0d5b852a10fda', class: "item-controls" }, showItemsPerPageControl && (hAsync("div", { key: '042383e4d976e5d70386bd228d74036e5923d135', class: "items-per-page-holder" }, hAsync("ic-typography", { key: '5a803102cd7793f267b6de476f402a354c9daaee', class: {
17539
18988
  ["items-per-page-control-label"]: true,
17540
- }, variant: "label", onClick: this.itemsPerPageLabelClickHandler }, capitalizedItemLabel, "s per ", lowerCasePageLabel), hAsync("ic-select", { key: 'fae576cf7c9c6cdd1acc93e3784a1c0beda1d8e6', theme: theme, size: "small", label: "items-per-page-input", class: "items-per-page-input", hideLabel: true, options: displayedItemsPerPageOptions, selectOnEnter: selectItemsPerPageOnEnter, value: itemsPerPageString, onIcChange: this.changeItemsPerPage, ref: (el) => (this.pageDropdownEl = el) }))), !hideRangeLabel &&
18989
+ }, variant: "label", onClick: this.itemsPerPageLabelClickHandler }, capitalizedItemLabel, "s per ", lowerCasePageLabel), hAsync("ic-select", { key: '0165e03c68c40791ef35a0064a4cb94e0490763e', theme: theme, size: "small", label: "items-per-page-input", class: "items-per-page-input", hideLabel: true, options: displayedItemsPerPageOptions, selectOnEnter: selectItemsPerPageOnEnter, value: itemsPerPageString, onIcChange: this.changeItemsPerPage, ref: (el) => (this.pageDropdownEl = el) }))), !hideRangeLabel &&
17541
18990
  (rangeLabelType === "data" ? (hAsync("ic-typography", { class: {
17542
18991
  ["item-pagination-label"]: true,
17543
18992
  }, variant: "label", "aria-live": "polite" }, this.upperBound === 0 && `0 ${lowerCaseItemLabel}s`, this.upperBound > 0 &&
17544
18993
  `${this.lowerBound} - ${this.upperBound} of ${this.totalItems} ${lowerCaseItemLabel}${this.totalItems > 1 ? "s" : ""}`)) : (hAsync("ic-typography", { class: {
17545
18994
  ["page-pagination-label"]: true,
17546
- }, variant: "label", "aria-live": "polite" }, capitalizedPageLabel, " ", activePage, " of ", totalPages))))), hAsync("div", { key: '69d7f02aef2baa89cdaef4ecef76505539b6a068', class: {
18995
+ }, variant: "label", "aria-live": "polite" }, capitalizedPageLabel, " ", activePage, " of ", totalPages))))), hAsync("div", { key: '6fdec8e5aa7edac5b6857fe5dd71995539c1093a', class: {
17547
18996
  ["pagination-controls"]: true,
17548
18997
  ["pagination-controls-wrap"]: this.paginationWrapped,
17549
- } }, hAsync("div", { key: '2f780538f3d2bd25bc1007711040ffa7a59997d3', class: "pagination-holder" }, hAsync("ic-pagination", { key: 'e7968c6e7ed25285c4a3e0c6c3b08ea08f2d0181', type: type, pages: totalPages, label: pageLabel, ref: (el) => (this.paginationEl = el), currentPage: activePage, theme: theme, monochrome: monochrome })), showGoToPageControl && (hAsync("div", { key: 'ac40668cff492cf082e8abe8fd79bf71ec18ee33', class: "go-to-page-holder" }, hAsync("ic-typography", { key: '94871ec098ab46b5008d20effd6cce9483e3037e', variant: "label", onClick: this.goToPageLabelClickHandler }, "Go to ", lowerCasePageLabel), hAsync("ic-tooltip", { key: 'cd3d56d1c57997364ae4a2c849bcc390b4a2a760', label: this.inputError, target: `#${PAGE_INPUT_FIELD_ID}`, disableHover: true, disableClick: true, ref: (el) => (this.pageInputTooltipEl = el) }, hAsync("ic-text-field", { key: 'dfa2e4020ca3b39366e3b31679ce538465192080', theme: theme, type: "number", size: "small", label: PAGE_INPUT_FIELD_ID, class: PAGE_INPUT_FIELD_ID, id: PAGE_INPUT_FIELD_ID, hideLabel: true, onKeyDown: this.handleKeydown, onKeyUp: this.handleKeyUp, onInput: this.handleInputChange, max: totalPages, min: "1", validationInlineInternal: true, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: (el) => (this.pageInputEl = el) })), hAsync("ic-button", { key: '2af695640cabb037f1c60c06f868fda752c7fca4', variant: "secondary", onClick: this.goToPage, size: "small", class: "go-to-page-button" }, "Go")))))));
18998
+ } }, hAsync("div", { key: 'aa128b6414fdc3a62f0c0e0bbc70676279a80388', class: "pagination-holder" }, hAsync("ic-pagination", { key: '3fc38294f98b07e4b27a731d81eb72536bbf8907', type: type, pages: totalPages, label: pageLabel, ref: (el) => (this.paginationEl = el), currentPage: activePage, theme: theme, monochrome: monochrome })), showGoToPageControl && (hAsync("div", { key: '02d6832988b1e442682e63eb11c168d50a7f8aaa', class: "go-to-page-holder" }, hAsync("ic-typography", { key: 'cf0236ecc6cda9047ae4ce84bde95fd60130c1ae', variant: "label", onClick: this.goToPageLabelClickHandler }, "Go to ", lowerCasePageLabel), hAsync("ic-tooltip", { key: '5c1bb281471249243a00bb2ca336e1f01b63ea40', label: this.inputError, target: `#${PAGE_INPUT_FIELD_ID}`, disableHover: true, disableClick: true, ref: (el) => (this.pageInputTooltipEl = el) }, hAsync("ic-text-field", { key: '728e6563db060cdc166e9a18d1de5f3afd1e42f3', theme: theme, type: "number", size: "small", label: PAGE_INPUT_FIELD_ID, class: PAGE_INPUT_FIELD_ID, id: PAGE_INPUT_FIELD_ID, hideLabel: true, onKeyDown: this.handleKeydown, onKeyUp: this.handleKeyUp, onInput: this.handleInputChange, max: totalPages, min: "1", validationInlineInternal: true, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: (el) => (this.pageInputEl = el) })), hAsync("ic-button", { key: '418d9b8d49c185a6630ce0d742901bcf9a646947', variant: "secondary", onClick: this.goToPage, size: "small", class: "go-to-page-button" }, "Go")))))));
17550
18999
  }
17551
19000
  get el() { return getElement(this); }
17552
19001
  static get watchers() { return {
@@ -18007,7 +19456,7 @@ class PopoverMenu {
18007
19456
  }; }
18008
19457
  }
18009
19458
 
18010
- const icRadioGroupCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--ic-input-label-text-color:var(--ic-radio-button-input-field-label);--ic-input-label-helper-text-color:var(\n --ic-radio-button-input-field-subtitle\n );--ic-input-validation-status-text-color:var(--ic-radio-button-state-text);--ic-input-validation-error:var(--ic-radio-button-state-icon-error)}ic-input-label.error{--ic-input-label-text-color:var(--ic-radio-button-input-field-label-error)}ic-input-label.disabled{--ic-input-label-text-color:var(\n --ic-radio-button-input-field-label-disabled\n );--ic-input-label-helper-text-color:var(\n --ic-radio-button-input-field-subtitle-disabled\n )}ic-input-validation{margin-top:var(--ic-space-sm)}:host(.ic-radio-group-small) ic-input-validation{margin-top:calc(var(--ic-space-sm) / 2)}ic-input-label:not(.with-helper) .ic-typography-label,ic-input-label .helpertext{margin-bottom:var(--ic-space-sm)}:host(.ic-radio-group-small) ic-input-label:not(.with-helper) .ic-typography-label,:host(.ic-radio-group-small) ic-input-label .helpertext{margin-bottom:calc(var(--ic-space-sm) / 2)}ic-input-label .helpertext{display:block}:host .radio-buttons-container{display:flex;flex-direction:column;gap:var(--ic-space-xxs)}:host(.ic-radio-group-small) .radio-buttons-container{gap:var(--ic-space-xxxs)}:host .radio-buttons-container.horizontal{display:flex;flex-direction:row;gap:calc(var(--ic-space-xl) + var(--ic-space-xs))}:host(.ic-radio-group-small) .radio-buttons-container.horizontal{gap:var(--ic-space-xl)}";
19459
+ const icRadioGroupCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--ic-input-label-text-color:var(--ic-radio-button-input-field-label);--ic-input-label-helper-text-color:var(\n --ic-radio-button-input-field-subtitle\n );--ic-input-validation-status-text-color:var(--ic-radio-button-state-text);--ic-input-validation-error:var(--ic-radio-button-state-icon-error)}ic-input-label.error{--ic-input-label-text-color:var(--ic-radio-button-input-field-label-error)}ic-input-label.disabled{--ic-input-label-text-color:var(\n --ic-radio-button-input-field-label-disabled\n );--ic-input-label-helper-text-color:var(\n --ic-radio-button-input-field-subtitle-disabled\n )}ic-input-validation.show-validation{margin-top:var(--ic-space-sm)}:host(.ic-radio-group-small) ic-input-validation.show-validation{margin-top:calc(var(--ic-space-sm) / 2)}ic-input-label:not(.with-helper) .ic-typography-label,ic-input-label .helpertext{margin-bottom:var(--ic-space-sm)}:host(.ic-radio-group-small) ic-input-label:not(.with-helper) .ic-typography-label,:host(.ic-radio-group-small) ic-input-label .helpertext{margin-bottom:calc(var(--ic-space-sm) / 2)}ic-input-label .helpertext{display:block}:host .radio-buttons-container{display:flex;flex-direction:column;gap:var(--ic-space-xxs)}:host(.ic-radio-group-small) .radio-buttons-container{gap:var(--ic-space-xxxs)}:host .radio-buttons-container.horizontal{display:flex;flex-direction:row;gap:calc(var(--ic-space-xl) + var(--ic-space-xs))}:host(.ic-radio-group-small) .radio-buttons-container.horizontal{gap:var(--ic-space-xl)}";
18011
19460
  var IcRadioGroupStyle0 = icRadioGroupCss;
18012
19461
 
18013
19462
  /**
@@ -18043,6 +19492,10 @@ class RadioGroup {
18043
19492
  * The size of the radio group component.
18044
19493
  */
18045
19494
  this.size = "medium";
19495
+ /**
19496
+ * The value of the `aria-live` attribute on the validation message.
19497
+ */
19498
+ this.validationAriaLive = "polite";
18046
19499
  /**
18047
19500
  * The validation status - e.g. 'error' | 'warning' | 'success'.
18048
19501
  */
@@ -18236,17 +19689,20 @@ class RadioGroup {
18236
19689
  }
18237
19690
  }
18238
19691
  render() {
18239
- const { currentOrientation, disabled, handleKeyDown, helperText, hideLabel, label, required, size, validationStatus, validationText, theme, } = this;
18240
- return (hAsync(Host, { key: '1918a447f8496430296685b05e633e9b3fdc60b1', onKeyDown: handleKeyDown, class: {
19692
+ const { currentOrientation, disabled, handleKeyDown, helperText, hideLabel, label, required, size, validationAriaLive, validationStatus, validationText, theme, } = this;
19693
+ const showValidation = hasValidationStatus(validationStatus, disabled);
19694
+ return (hAsync(Host, { key: '4ea2e0ca7614fb4ce6563ea146f86d72707a399a', onKeyDown: handleKeyDown, class: {
18241
19695
  "ic-radio-group-small": size === "small",
18242
19696
  [`ic-theme-${theme}`]: theme !== "inherit",
18243
- } }, hAsync("fieldset", { key: '89b09cf7b89cff9e80077134e2ab675e4fa50f9f', role: "radiogroup", id: this.name, "aria-required": `${required}` }, !hideLabel && (hAsync("legend", { key: 'be8903e178ff4f75c6fe63398b9fbecfd7c05d68' }, hAsync("ic-input-label", { key: '98a73b9c42bfa5c9c8993eaa7c2fce79f2905540', class: {
19697
+ } }, hAsync("fieldset", { key: 'ebad7a878454455a15892bf53c43bdcb914b77c4', role: "radiogroup", id: this.name, "aria-required": `${required}` }, !hideLabel && (hAsync("legend", { key: 'aac1f37c7b1d4d5bc621bd3030dc9eef60417659' }, hAsync("ic-input-label", { key: 'fd04e3f74c89b633996eb22e60902e988a8ac8ef', class: {
18244
19698
  [`${validationStatus}`]: true,
18245
19699
  ["disabled"]: !!disabled,
18246
- }, label: label, helperText: helperText, required: required, disabled: disabled }, hAsync("slot", { key: '2440d6283794eb94b28da42e44d8824260ffb064', name: "helper-text", slot: "helper-text" })))), hAsync("div", { key: '51f662a214f2b191df64bf2ec1c84f914b53dd8e', class: {
19700
+ }, label: label, helperText: helperText, required: required, disabled: disabled }, hAsync("slot", { key: '66325d58018dff189c975e3e4fc01249b51b6b9f', name: "helper-text", slot: "helper-text" })))), hAsync("div", { key: '6d2d332396c87b798d5d160bdb5977c0a8ad6751', class: {
18247
19701
  "radio-buttons-container": true,
18248
19702
  horizontal: currentOrientation === this.RADIO_HORIZONTAL,
18249
- }, ref: (el) => (this.radioContainer = el) }, hAsync("slot", { key: '44ece542e47d62879f01d2daf14a7771818288fd' }))), hasValidationStatus(validationStatus, disabled) && (hAsync("ic-input-validation", { key: 'b9a2fd5d969534c01e7a30be1a0a3f45e5a59072', ariaLiveMode: "polite", status: validationStatus, message: validationText }))));
19703
+ }, ref: (el) => (this.radioContainer = el) }, hAsync("slot", { key: 'fb0a1b41503ba88ce9bda3c0bc8236ae0a7e3795' }))), hAsync("ic-input-validation", { key: 'f9f7c2bdffd83d705149f74fe2caad93e57dd85b', class: {
19704
+ "show-validation": showValidation,
19705
+ }, ariaLiveMode: validationAriaLive, status: showValidation ? validationStatus : "", message: showValidation ? validationText : "" })));
18250
19706
  }
18251
19707
  get el() { return getElement(this); }
18252
19708
  static get watchers() { return {
@@ -18267,6 +19723,7 @@ class RadioGroup {
18267
19723
  "orientation": [1],
18268
19724
  "required": [4],
18269
19725
  "size": [1],
19726
+ "validationAriaLive": [1, "validation-aria-live"],
18270
19727
  "validationStatus": [1, "validation-status"],
18271
19728
  "validationText": [1, "validation-text"],
18272
19729
  "theme": [1],
@@ -18281,7 +19738,7 @@ class RadioGroup {
18281
19738
  }; }
18282
19739
  }
18283
19740
 
18284
- const icRadioOptionCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}ic-radio-option{display:flex;flex-direction:column;width:-moz-fit-content;width:fit-content}.additional-field-wrapper [slot=\"additional-field\"]{margin-top:calc(var(--ic-space-sm) / 2);margin-left:var(--ic-space-xl)}ic-radio-option.ic-radio-option-disabled,ic-radio-option.ic-radio-option-disabled .radio-label{--ic-typography-color:var(--ic-radio-button-text-option-disabled)}.container input:focus+span.checkmark,.container:hover input:focus+span.checkmark,.container:active input:focus+span.checkmark,:host(:focus) .container input:checked+span.checkmark{box-shadow:var(--ic-border-focus)}.container{display:grid;grid-template-columns:min-content auto;position:relative;cursor:pointer;align-items:center;margin:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs)}.container.disabled,.container.disabled input:disabled{cursor:default}.container input{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-block;position:absolute;cursor:pointer;height:var(--ic-space-lg);width:var(--ic-space-lg);border-radius:50%;border:none}.checkmark{display:block;position:relative;top:0;left:0;height:var(--ic-space-lg);width:var(--ic-space-lg);background-color:var(--ic-radio-button-background-default);border:var(--ic-space-1px) solid var(--ic-radio-button-border-default);border-radius:50%;transition:var(--ic-easing-transition-fast);box-sizing:border-box}.container input:checked~.checkmark::after{display:inline-block}.container:hover input~.checkmark{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-hover);border:var(--ic-border-width) solid var(--ic-radio-button-default-hover)}.container:hover input:checked~.checkmark{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-hover);border:0.125rem solid var(--ic-radio-button-default-hover)}.container:hover:not(.disabled) input:checked~.checkmark::after{background-color:var(--ic-radio-button-default-hover)}.container:active input~.checkmark{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-pressed);border:var(--ic-border-width) solid var(--ic-radio-button-default-pressed)}.container:active input:checked~.checkmark{border:0.125rem solid var(--ic-radio-button-default-pressed);box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-pressed)}.container:active input:checked~.checkmark::after{background-color:var(--ic-radio-button-default-pressed)}.container input:checked~.checkmark{border:0.125rem solid var(--ic-radio-button-default-active)}.container input:checked:disabled~.checkmark{border:0.125rem solid var(--ic-radio-button-border-disabled)}.container input:disabled~.checkmark{border:var(--ic-border-width) dashed var(--ic-radio-button-border-disabled)}.container input:disabled~.checkmark::after{background:var(--ic-radio-button-disabled)}.container:hover input:disabled~.checkmark{box-shadow:none;border:0.125rem solid none}.container:active input:disabled~.checkmark::after{background-color:var(--ic-radio-button-disabled)}.container .checkmark::after{content:\"\";position:absolute;display:none;top:calc(50% - var(--ic-space-xs));left:calc(50% - var(--ic-space-xs));width:var(--ic-space-md);height:var(--ic-space-md);border-radius:50%;background:var(--ic-radio-button-default-active)}.radio-label{margin-left:var(--ic-space-md);--ic-typography-color:var(--ic-radio-button-text-option)}.additional-field-wrapper{margin-left:var(--ic-space-xs)}.branch-corner{color:var(--ic-radio-button-required-bar);height:var(--ic-space-md);width:var(--ic-space-xl);border-radius:0 0 0 0.188rem;border-bottom:0.125rem solid var(--ic-radio-button-required-bar);border-left:0.125rem solid var(--ic-radio-button-required-bar);margin-left:calc(-1 * var(--ic-space-1px))}.dynamic-container{display:flex;position:relative;margin:var(--ic-space-xxxs) 0 var(--ic-space-xxs) var(--ic-space-md);gap:var(--ic-space-xs)}.dynamic-container.hidden{display:none}.dynamic-text{color:var(--ic-radio-button-required-text);--ic-typography-color:var(--ic-radio-button-required-text);margin-top:calc(var(--ic-space-sm) / 2);margin-bottom:var(--ic-space-xs);border-radius:2%}@media (max-width: 576px){ic-text-field{--input-width:100%}}@media (forced-colors: active){.container input:checked~.checkmark,.container:active input:checked~.checkmark{border-color:Highlight}.container input:checked~.checkmark::after,.container:active input:checked~.checkmark::after{background-color:Highlight}.container input:disabled~.checkmark,.container input:checked:disabled~.checkmark{border-color:GrayText}.container input:disabled~.checkmark::after,.container:active input:disabled~.checkmark::after{background-color:GrayText}}input[type=\"radio\"]:dir(rtl){right:0}.radio-label:dir(rtl){padding-right:var(--ic-space-sm);padding-left:0}.branch-corner:dir(rtl){border-radius:0 0 0.188rem;border-right:0.125rem solid var(--ic-action-default);border-left:none}.dynamic-container:dir(rtl){margin:var(--ic-space-xxxs) var(--ic-space-sm) var(--ic-space-xxs) 0}";
19741
+ const icRadioOptionCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}ic-radio-option{display:flex;flex-direction:column;width:-moz-fit-content;width:fit-content}.additional-field-wrapper [slot=\"additional-field\"]{margin-top:calc(var(--ic-space-sm) / 2);margin-left:var(--ic-space-xl)}ic-radio-option.ic-radio-option-disabled,ic-radio-option.ic-radio-option-disabled .radio-label{--ic-typography-color:var(--ic-radio-button-text-option-disabled)}.container input:focus+span.checkmark,.container:hover input:focus+span.checkmark,.container:active input:focus+span.checkmark,:host(:focus) .container input:checked+span.checkmark{box-shadow:var(--ic-border-focus)}.container{display:grid;grid-template-columns:min-content auto;position:relative;cursor:pointer;align-items:center;margin:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-xxs)}.ic-radio-group-small .container{margin:0 0 0 var(--ic-space-xxs)}.container.disabled,.container.disabled input:disabled{cursor:default}.container input{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-block;position:absolute;cursor:pointer;height:var(--ic-space-lg);width:var(--ic-space-lg);border-radius:50%;border:none}.ic-radio-group-small .container input{height:var(--ic-space-md);width:var(--ic-space-md)}.checkmark{display:block;position:relative;top:0;left:0;height:var(--ic-space-lg);width:var(--ic-space-lg);background-color:var(--ic-radio-button-background-default);border:var(--ic-space-1px) solid var(--ic-radio-button-border-default);border-radius:50%;transition:var(--ic-easing-transition-fast);box-sizing:border-box}.ic-radio-group-small .checkmark{height:var(--ic-space-md);width:var(--ic-space-md)}.container input:checked~.checkmark::after{display:inline-block}.container:hover input~.checkmark{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-hover);border:var(--ic-border-width) solid var(--ic-radio-button-default-hover)}.container:hover input:checked~.checkmark{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-hover);border:0.125rem solid var(--ic-radio-button-default-hover)}.container:hover:not(.disabled) input:checked~.checkmark::after{background-color:var(--ic-radio-button-default-hover)}.container:active input~.checkmark{box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-pressed);border:var(--ic-border-width) solid var(--ic-radio-button-default-pressed)}.container:active input:checked~.checkmark{border:0.125rem solid var(--ic-radio-button-default-pressed);box-shadow:0 0 0 0.25rem var(--ic-radio-button-active-pressed)}.ic-radio-group-small .container input:checked~.checkmark{border-width:var(--ic-space-1px)}.container:active input:checked~.checkmark::after{background-color:var(--ic-radio-button-default-pressed)}.container input:checked~.checkmark{border:0.125rem solid var(--ic-radio-button-default-active)}.container input:checked:disabled~.checkmark{border:0.125rem solid var(--ic-radio-button-border-disabled)}.container input:disabled~.checkmark{border:var(--ic-border-width) dashed var(--ic-radio-button-border-disabled)}.container input:disabled~.checkmark::after{background:var(--ic-radio-button-disabled)}.container:hover input:disabled~.checkmark{box-shadow:none;border:0.125rem solid none}.container:active input:disabled~.checkmark::after{background-color:var(--ic-radio-button-disabled)}.container .checkmark::after{content:\"\";position:absolute;display:none;top:calc(50% - var(--ic-space-xs));left:calc(50% - var(--ic-space-xs));width:var(--ic-space-md);height:var(--ic-space-md);border-radius:50%;background:var(--ic-radio-button-default-active)}.ic-radio-group-small .container .checkmark::after{top:50%;left:50%;width:0.625rem;height:0.625rem;border-radius:50%;background:var(--ic-radio-button-default-active);transform:translate(-50%, -50%)}.radio-label{margin-left:var(--ic-space-md);--ic-typography-color:var(--ic-radio-button-text-option)}.ic-radio-group-small .radio-label{margin-left:var(--ic-space-xs)}.additional-field-wrapper{margin-left:var(--ic-space-xs)}.branch-corner{color:var(--ic-radio-button-required-bar);height:var(--ic-space-md);width:var(--ic-space-xl);border-radius:0 0 0 0.188rem;border-bottom:0.125rem solid var(--ic-radio-button-required-bar);border-left:0.125rem solid var(--ic-radio-button-required-bar);margin-left:calc(-1 * var(--ic-space-1px))}.dynamic-container{display:flex;position:relative;margin:var(--ic-space-xxs) 0 var(--ic-space-xxs) var(--ic-space-md);gap:var(--ic-space-xs)}.ic-radio-group-small .dynamic-container{margin-left:12px}.dynamic-container.hidden{display:none}.dynamic-text{color:var(--ic-radio-button-required-text);--ic-typography-color:var(--ic-radio-button-required-text);margin-top:calc(var(--ic-space-sm) / 2);margin-bottom:var(--ic-space-xs);border-radius:2%}@media (max-width: 576px){ic-text-field{--input-width:100%}}@media (forced-colors: active){.container input:checked~.checkmark,.container:active input:checked~.checkmark{border-color:Highlight}.container input:checked~.checkmark::after,.container:active input:checked~.checkmark::after{background-color:Highlight}.container input:disabled~.checkmark,.container input:checked:disabled~.checkmark{border-color:GrayText}.container input:disabled~.checkmark::after,.container:active input:disabled~.checkmark::after{background-color:GrayText}}input[type=\"radio\"]:dir(rtl){right:0}.radio-label:dir(rtl){padding-right:var(--ic-space-sm);padding-left:0}.branch-corner:dir(rtl){border-radius:0 0 0.188rem;border-right:0.125rem solid var(--ic-action-default);border-left:none}.dynamic-container:dir(rtl){margin:var(--ic-space-xxxs) var(--ic-space-sm) var(--ic-space-xxs) 0}";
18285
19742
  var IcRadioOptionStyle0 = icRadioOptionCss;
18286
19743
 
18287
19744
  const ADDITIONAL_FIELD = "additional-field";
@@ -19286,6 +20743,10 @@ class Select {
19286
20743
  * Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
19287
20744
  */
19288
20745
  this.theme = "inherit";
20746
+ /**
20747
+ * The value of the `aria-live` attribute on the validation message.
20748
+ */
20749
+ this.validationAriaLive = "polite";
19289
20750
  /**
19290
20751
  * The validation status - e.g. 'error' | 'warning' | 'success'.
19291
20752
  */
@@ -19940,12 +21401,13 @@ class Select {
19940
21401
  }
19941
21402
  render() {
19942
21403
  var _a;
19943
- const { size, disabled, fullWidth, helperText, hideLabel, label, menuId, multiple, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText, currValue, theme, hiddenInputValue, open, inputId, searchableSelectInputValue, loading, value, emptyOptionListText, uniqueOptions, selectOnEnter, form, inheritedAttributes, ariaActiveDescendant, hasTimedOut, noOptions, filteredOptions, clearButtonFocused, } = this;
21404
+ const { size, disabled, fullWidth, helperText, hideLabel, label, menuId, multiple, name, options, placeholder, readonly, required, searchable, showClearButton, validationAriaLive, validationStatus, validationText, currValue, theme, hiddenInputValue, open, inputId, searchableSelectInputValue, loading, value, emptyOptionListText, uniqueOptions, selectOnEnter, form, inheritedAttributes, ariaActiveDescendant, hasTimedOut, noOptions, filteredOptions, clearButtonFocused, } = this;
19944
21405
  // HTML inputs only accept 'string' for their value
19945
21406
  // Does not cause errors when it is a multi-select - sets value correctly, to a comma-separated string
19946
21407
  renderHiddenInput$1(this.el, searchable ? hiddenInputValue : currValue, name || inputId, disabled);
19947
21408
  const invalid = `${validationStatus === IcInformationStatus$1.Error}`;
19948
- const describedBy = getInputDescribedByText$1(this.el, inputId, helperText !== "", hasValidationStatus(validationStatus, !!disabled)).trim();
21409
+ const showValidation = hasValidationStatus(validationStatus, !!disabled);
21410
+ const describedBy = getInputDescribedByText$1(this.el, inputId, helperText !== "", showValidation).trim();
19949
21411
  const valueLabelString = multiple
19950
21412
  ? this.getMultipleOptionsString(currValue)
19951
21413
  : this.getLabelFromValue(currValue);
@@ -19953,18 +21415,18 @@ class Select {
19953
21415
  (searchable
19954
21416
  ? !!searchableSelectInputValue
19955
21417
  : !!currValue && !loading && showClearButton);
19956
- return (hAsync(Host, { key: 'f5904ffbfd98939566138b0b3cbc02541dbc9e23', class: {
21418
+ return (hAsync(Host, { key: 'd4771b458b86fdf5e8fd7242b0faa34c641dc1fd', class: {
19957
21419
  "ic-select-disabled": disabled,
19958
21420
  "ic-select-searchable": searchable,
19959
21421
  [`ic-select-${size}`]: size !== "medium",
19960
21422
  "ic-select-full-width": fullWidth,
19961
21423
  [`ic-theme-${theme}`]: theme !== "inherit",
19962
- }, onBlur: this.onBlur }, hAsync("ic-input-container", { key: '27f49919e3c64328952cf089eac456d71e555ab1', readonly: readonly }, !hideLabel && (hAsync("ic-input-label", { key: 'fe561a5ebe6dc81cca4a88c5be92aed4ca962883', for: inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly }, hAsync("slot", { key: 'b1abb9c01278c2767df3f684448eb0efb7de58e9', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: 'bbe206ebe78a9d93b3fb64a63e9fe3d14b1a9536', ref: (el) => (this.anchorEl = el), class: { "menu-open": open }, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, isSlotUsed$1(this.el, "icon") &&
21424
+ }, onBlur: this.onBlur }, hAsync("ic-input-container", { key: '085e9b190479932161c56015ed340dda3e94bd20', readonly: readonly }, !hideLabel && (hAsync("ic-input-label", { key: '7ed1f56a30c8ba83b5c5f21291221d8910310fbd', for: inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly }, hAsync("slot", { key: '1d3aac656b887c2a553f425e310d3be2fcc0a570', name: "helper-text", slot: "helper-text" }))), hAsync("ic-input-component-container", { key: '7f6973e971e7b892717e72d8420346d8951751ca', ref: (el) => (this.anchorEl = el), class: { "menu-open": open }, size: size, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, isSlotUsed$1(this.el, "icon") &&
19963
21425
  !disabled &&
19964
- (!readonly || !!value) && (hAsync("span", { key: 'fa16f00a341024e3714b4702f74a0e15e2152105', slot: "left-icon", class: {
21426
+ (!readonly || !!value) && (hAsync("span", { key: '208359e9a4b4c92823fa924ce0e7b0e5419c0cef', slot: "left-icon", class: {
19965
21427
  readonly,
19966
21428
  "has-value": !!value,
19967
- } }, hAsync("slot", { key: '200b59949e9f50eaa0e42e6125c507179f6a5646', name: "icon" }))), readonly ? (hAsync("ic-typography", null, hAsync("p", null, valueLabelString))) : isMobileOrTablet() && !multiple ? (hAsync("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown, form: form }, inheritedAttributes), hAsync("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => option.children ? (hAsync("optgroup", { label: option.label }, option.children.map((child) => this.renderNativeOption(child)))) : (this.renderNativeOption(option))))) : searchable ? (hAsync("div", { class: "searchable-select-container" }, hAsync("input", { class: {
21429
+ } }, hAsync("slot", { key: '462c17f5f746f3d54eaff493c990e6527ed7c381', name: "icon" }))), readonly ? (hAsync("ic-typography", null, hAsync("p", null, valueLabelString))) : isMobileOrTablet() && !multiple ? (hAsync("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown, form: form }, inheritedAttributes), hAsync("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => option.children ? (hAsync("optgroup", { label: option.label }, option.children.map((child) => this.renderNativeOption(child)))) : (this.renderNativeOption(option))))) : searchable ? (hAsync("div", { class: "searchable-select-container" }, hAsync("input", { class: {
19968
21430
  "value-text": true,
19969
21431
  "select-input": true,
19970
21432
  "with-clear-button": !!searchableSelectInputValue,
@@ -19985,13 +21447,15 @@ class Select {
19985
21447
  } }, valueLabelString || placeholder), hAsync("div", { class: "select-input-end" }, isClearable && hAsync("div", { class: "divider" }), hAsync("span", { class: {
19986
21448
  "expand-icon": true,
19987
21449
  "expand-icon-open": open,
19988
- }, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && (hAsync("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon-tertiary", theme: clearButtonFocused ? "light" : "dark" }))))), (!isMobileOrTablet() || multiple) && (hAsync("ic-menu", { key: '7da68ec2635584a01e03cd7c1a4a549677dc5ca4', class: {
21450
+ }, innerHTML: Expand, "aria-hidden": "true" }))), isClearable && (hAsync("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon-tertiary", theme: clearButtonFocused ? "light" : "dark" }))))), (!isMobileOrTablet() || multiple) && (hAsync("ic-menu", { key: '4daeee28961203c0b190687229c0f9f2b4a1d66e', class: {
19989
21451
  "no-results": loading ||
19990
21452
  hasTimedOut ||
19991
21453
  ((_a = noOptions === null || noOptions === void 0 ? void 0 : noOptions[0]) === null || _a === void 0 ? void 0 : _a.label) === emptyOptionListText,
19992
21454
  }, ref: (el) => (this.menu = el), inputEl: searchable
19993
21455
  ? this.searchableSelectElement
19994
- : this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: searchable ? filteredOptions : uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", closeOnSelect: !multiple, multiSelect: multiple ? true : false, searchableSelect: searchable ? true : false })), multiple && (hAsync("div", { key: '70e9f25c6d4c937a7cdf1afeeb30c125371c0ddb', "aria-live": "polite", role: "status", class: "multi-select-selected-count" })), hasValidationStatus(validationStatus, disabled) && (hAsync("ic-input-validation", { key: '5bc6df7d14d1db099a6047b24b27f068f918711f', class: { "menu-open": open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: inputId })))));
21456
+ : this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, size: size, menuId: menuId, open: open, options: searchable ? filteredOptions : uniqueOptions, value: multiple ? currValue : currValue, fullWidth: fullWidth, selectOnEnter: selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuOptionSelectAll: this.handleSelectAllChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: searchable || multiple || selectOnEnter ? "manual" : "automatic", closeOnSelect: !multiple, multiSelect: multiple ? true : false, searchableSelect: searchable ? true : false })), multiple && (hAsync("div", { key: '87993e273df521157bb8101f5f96639b0cb3503b', "aria-live": "polite", role: "status", class: "multi-select-selected-count" })), hAsync("ic-input-validation", { key: 'c0248fb27e0d97f885c8227ffda4534ab65561ec', class: {
21457
+ "menu-open": open,
21458
+ }, ariaLiveMode: validationAriaLive, status: showValidation ? validationStatus : "", message: showValidation ? validationText : "", for: inputId }))));
19995
21459
  }
19996
21460
  static get delegatesFocus() { return true; }
19997
21461
  get el() { return getElement(this); }
@@ -20032,6 +21496,7 @@ class Select {
20032
21496
  "size": [1],
20033
21497
  "timeout": [2],
20034
21498
  "theme": [1],
21499
+ "validationAriaLive": [1, "validation-aria-live"],
20035
21500
  "validationStatus": [1, "validation-status"],
20036
21501
  "validationText": [1, "validation-text"],
20037
21502
  "loading": [1028],
@@ -20688,7 +22153,7 @@ class SkipLink {
20688
22153
  }; }
20689
22154
  }
20690
22155
 
20691
- const icStatusTagCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}.tag{padding:var(--ic-space-xxs) var(--ic-space-sm);font-size:0.875rem;border-radius:var(--ic-space-md);display:inline-block;min-width:2.5rem;text-align:center;--ic-typography-color:var(--ic-status-tag-text)}.small{padding:var(--ic-space-xxxs) var(--ic-space-sm);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.large{padding:var(--ic-space-xs) var(--ic-space-sm);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}.filled-neutral{background-color:var(--ic-status-tag-neutral)}.filled-success{background-color:var(--ic-status-tag-success)}.filled-warning{background-color:var(--ic-status-tag-warning);--ic-typography-color:var(--ic-status-tag-filled-warning-text)}.filled-danger{background-color:var(--ic-status-tag-error)}.outlined{padding:calc(var(--ic-space-xxxs) + var(--ic-space-1px))\n calc(var(--ic-space-sm) - var(--ic-space-1px))}.outlined.small{padding:var(--ic-space-1px) calc(var(--ic-space-sm) - var(--ic-space-1px))}.outlined.large{padding:calc(var(--ic-space-xs) - var(--ic-space-1px))\n calc(var(--ic-space-sm) - var(--ic-space-1px))}.outlined-neutral{background-color:var(--ic-status-tag-outlined-background-neutral);border:var(--ic-border-width) solid var(--ic-status-tag-outlined-neutral);--ic-typography-color:var(--ic-status-tag-text-inverted)}.outlined-success{background-color:var(--ic-status-tag-outlined-background-success);border:var(--ic-border-width) solid var(--ic-status-tag-outlined-success);--ic-typography-color:var(--ic-status-tag-text-inverted)}.outlined-warning{background-color:var(--ic-status-tag-outlined-background-warning);border:var(--ic-border-width) solid var(--ic-status-tag-outlined-warning);--ic-typography-color:var(--ic-status-tag-text-inverted)}.outlined-danger{background-color:var(--ic-status-tag-outlined-background-error);border:var(--ic-border-width) solid var(--ic-status-tag-outlined-error);--ic-typography-color:var(--ic-status-tag-text-inverted)}@media (forced-colors: active){.tag{border:var(--ic-border-hc);-ms-high-contrast-adjust:none;forced-color-adjust:none;--ic-typography-color:var(--ic-status-tag-text)}}";
22156
+ const icStatusTagCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}.tag{padding:var(--ic-space-xxs) var(--ic-space-sm);font-size:0.875rem;border-radius:var(--ic-space-md);display:inline-block;min-width:2.5rem;text-align:center;--ic-typography-color:var(--ic-status-tag-text)}.small{padding:var(--ic-space-xxxs) var(--ic-space-sm);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.large{padding:var(--ic-space-xs) var(--ic-space-sm);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}.filled-neutral{background-color:var(--ic-status-tag-neutral)}.filled-success{background-color:var(--ic-status-tag-success)}.filled-warning{background-color:var(--ic-status-tag-warning);--ic-typography-color:var(--ic-status-tag-filled-warning-text)}.filled-danger{background-color:var(--ic-status-tag-error)}.outlined{padding:calc(var(--ic-space-xxxs) + var(--ic-space-1px))\n calc(var(--ic-space-sm) - var(--ic-space-1px))}.outlined.small{padding:var(--ic-space-1px) calc(var(--ic-space-sm) - var(--ic-space-1px))}.outlined.large{padding:calc(var(--ic-space-xs) - var(--ic-space-1px))\n calc(var(--ic-space-sm) - var(--ic-space-1px))}.outlined-neutral{background-color:var(--ic-status-tag-outlined-background-neutral);border:var(--ic-border-width) solid var(--ic-status-tag-outlined-neutral);--ic-typography-color:var(--ic-status-tag-text-inverted)}.outlined-success{background-color:var(--ic-status-tag-outlined-background-success);border:var(--ic-border-width) solid var(--ic-status-tag-outlined-success);--ic-typography-color:var(--ic-status-tag-text-inverted)}.outlined-warning{background-color:var(--ic-status-tag-outlined-background-warning);border:var(--ic-border-width) solid var(--ic-status-tag-outlined-warning);--ic-typography-color:var(--ic-status-tag-text-inverted)}.outlined-danger{background-color:var(--ic-status-tag-outlined-background-error);border:var(--ic-border-width) solid var(--ic-status-tag-outlined-error);--ic-typography-color:var(--ic-status-tag-text-inverted)}@media (forced-colors: active){:host{-ms-high-contrast-adjust:none;forced-color-adjust:none}}";
20692
22157
  var IcStatusTagStyle0 = icStatusTagCss;
20693
22158
 
20694
22159
  class StatusTag {
@@ -20765,6 +22230,20 @@ class Step {
20765
22230
  * @internal If `true`, and a compact stepper is being used, the current step will be the only step in view.
20766
22231
  */
20767
22232
  this.current = false;
22233
+ /**
22234
+ * Words within the component that can be replaced to translate the component into a different language
22235
+ */
22236
+ this.icI18n = {
22237
+ next: "Next",
22238
+ step: "Step",
22239
+ steps: "Steps",
22240
+ of: "of",
22241
+ lastStep: "Last step",
22242
+ completed: "Completed",
22243
+ notRequired: "Not required",
22244
+ required: "Required",
22245
+ optional: "Optional",
22246
+ };
20768
22247
  /**
20769
22248
  * @internal Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
20770
22249
  */
@@ -20784,96 +22263,95 @@ class Step {
20784
22263
  }
20785
22264
  render() {
20786
22265
  var _a, _b;
22266
+ const { compactStepStyling, current, heading, icI18n, lastStep, lastStepNum, nextStepHeading, progress, status, stepNum, subheading, theme, type, variant, } = this;
20787
22267
  // ARIA LABEL
20788
22268
  let ariaLabel = "";
20789
- if (this.type === "completed") {
20790
- ariaLabel = ". Completed step";
22269
+ if (type === "completed") {
22270
+ ariaLabel = `. ${icI18n.completed}`;
20791
22271
  }
20792
- else if (this.type === "disabled") {
20793
- ariaLabel = ". Non-required step";
22272
+ else if (type === "disabled") {
22273
+ ariaLabel = `. ${icI18n.notRequired}`;
20794
22274
  }
20795
- else if (this.status === "required") {
20796
- ariaLabel = ". Required step";
22275
+ else if (status === "required") {
22276
+ ariaLabel = `. ${icI18n.required}`;
20797
22277
  }
20798
- else if (this.status === "optional") {
20799
- ariaLabel = ". Optional step";
22278
+ else if (status === "optional") {
22279
+ ariaLabel = `. ${icI18n.optional}`;
20800
22280
  }
20801
22281
  // STEP STATUS
20802
22282
  let stepStatus;
20803
- if (this.status && isPropDefined$1(this.status)) {
20804
- stepStatus = this.status[0].toUpperCase() + this.status.slice(1);
22283
+ if (status && isPropDefined$1(status)) {
22284
+ stepStatus = status[0].toUpperCase() + status.slice(1);
20805
22285
  }
20806
22286
  // STEP TYPE
20807
22287
  let stepType;
20808
- if (this.type === "disabled" || this.compactStepStyling === "disabled") {
20809
- stepType = "Not required";
22288
+ if (type === "disabled" || compactStepStyling === "disabled") {
22289
+ stepType = icI18n.notRequired;
20810
22290
  }
20811
- else if (this.compactStepStyling === "completed") {
20812
- stepType = "Completed";
22291
+ else if (compactStepStyling === "completed") {
22292
+ stepType = icI18n.completed;
20813
22293
  }
20814
22294
  // STATUS ICON FOR COMPACT STEP
20815
22295
  let statusIcon;
20816
- if (this.type === "completed" || this.compactStepStyling === "completed") {
20817
- statusIcon = (hAsync("span", { key: '31e62d15ef4e1b19777678e5d0c8d3c3e1576b9b', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
22296
+ if (type === "completed" || compactStepStyling === "completed") {
22297
+ statusIcon = (hAsync("span", { key: 'c1e124ab66fda2ad2fe60769de15e35e34519951', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
20818
22298
  }
20819
- else if (this.type === "disabled" ||
20820
- this.compactStepStyling === "disabled") {
20821
- statusIcon = (hAsync("span", { key: '6f4911859d103732d5f2133a26dc4e05cd6a3d22', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
22299
+ else if (type === "disabled" || compactStepStyling === "disabled") {
22300
+ statusIcon = (hAsync("span", { key: 'e4a11bda9361099c4a082a17ea365c5f87c72ee9', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
20822
22301
  }
20823
22302
  // COMPACT STEP COMPONENT
20824
- const compactStep = (hAsync("div", { key: '3abb768b9f5072d26314ea3af8d8a1d15950aef2', class: {
22303
+ const compactStep = (hAsync("div", { key: 'f4ce620bf342de1d168cd8988e110b399d16e8a5', class: {
20825
22304
  ["step"]: true,
20826
- ["current"]: !!this.current,
20827
- [`compact-step-${this.compactStepStyling}`]: !!this.compactStepStyling,
20828
- ["disabled"]: this.type === "disabled" || this.compactStepStyling === "disabled",
20829
- } }, hAsync("ic-loading-indicator", { key: '01610eac2cb0eee7b3ee0f22de7d9cd8cf34f140', class: {
22305
+ ["current"]: !!current,
22306
+ [`compact-step-${compactStepStyling}`]: !!compactStepStyling,
22307
+ ["disabled"]: type === "disabled" || compactStepStyling === "disabled",
22308
+ } }, hAsync("ic-loading-indicator", { key: '69fe4783331f0d2c8537e46bb4065ee946e15922', class: {
20830
22309
  "compact-step-progress-indicator": true,
20831
- "not-required": this.type === "disabled" ||
20832
- this.compactStepStyling === "disabled",
20833
- }, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), hAsync("div", { key: '62012e70159993ed1706bd81d44f349390393c84', class: "heading-area" }, hAsync("ic-typography", { key: 'd7a88dc3a430c3278427c7ca05dfd4bad39e1142', variant: "h4", class: "heading" }, this.heading), hAsync("div", { key: 'd05bb42194a52eb5bc348a254e925b3b6471c1a9', class: "info-line" }, hAsync("ic-typography", { key: '0eb058bb2dd87513830a34885623cfe67c28013b', variant: "caption", class: "step-num" }, `${this.stepNum} of ${this.lastStepNum}`, hAsync("span", { key: '9ce66855d6b9776dbd1fcd8c0d55b3361cd97fa3', class: "visually-hidden" }, " steps")), (this.subheading ||
20834
- this.type === "completed" ||
20835
- this.type === "disabled" ||
22310
+ "not-required": type === "disabled" || compactStepStyling === "disabled",
22311
+ }, "aria-hidden": "true", size: "small", "inner-label": stepNum, progress: progress }), hAsync("div", { key: '5e44dab23d530705ce04d6f5e898224031be9eae', class: "heading-area" }, hAsync("ic-typography", { key: '09feb668ddc70f11313c4639b1b2dd3efa86903e', variant: "h4", class: "heading" }, heading), hAsync("div", { key: '5d2e680eec783d9da46298084f379b780a2dfbb5', class: "info-line" }, hAsync("ic-typography", { key: '8578d9363f9b29301cdfe46a360bdbf525ec16e8', variant: "caption", class: "step-num" }, `${stepNum} ${icI18n.of} ${lastStepNum}`, hAsync("span", { key: 'f9bcfd8e7ff1179ed7c48714741fddc401b9de00', class: "visually-hidden" }, ` ${icI18n.steps}`)), (this.subheading ||
22312
+ type === "completed" ||
22313
+ type === "disabled" ||
20836
22314
  (this.variant === "compact" &&
20837
- !!this.compactStepStyling &&
20838
- this.compactStepStyling !== "active") ||
20839
- !!this.status) && (hAsync("div", { key: 'a9fad93fb213aea850b57a508b2cfd18e66a4601', class: "step-status" }, statusIcon !== undefined && statusIcon, (this.subheading || stepType) && (hAsync("ic-typography", { key: 'c7efc458915ba355ab46bb7764685cb72a725742', variant: "caption" }, this.subheading !== null && isPropDefined$1(this.subheading)
20840
- ? this.subheading
20841
- : this.type === "disabled" ||
20842
- (this.variant === "compact" &&
20843
- this.compactStepStyling === "disabled") ||
20844
- this.type === "completed" ||
20845
- (this.variant === "compact" &&
20846
- this.compactStepStyling === "completed")
22315
+ !!compactStepStyling &&
22316
+ compactStepStyling !== "active") ||
22317
+ !!status) && (hAsync("div", { key: 'ee4276dfd163853a6b82563e89e123b75c224613', class: "step-status" }, statusIcon !== undefined && statusIcon, (subheading || stepType) && (hAsync("ic-typography", { key: '3a165f76bb8cf653705a0e86e931616fc75030b1', variant: "caption" }, subheading !== null && isPropDefined$1(subheading)
22318
+ ? subheading
22319
+ : type === "disabled" ||
22320
+ (variant === "compact" &&
22321
+ compactStepStyling === "disabled") ||
22322
+ type === "completed" ||
22323
+ (variant === "compact" &&
22324
+ compactStepStyling === "completed")
20847
22325
  ? stepType
20848
- : this.status && stepStatus))))), this.lastStep ? (hAsync("ic-typography", { variant: "subtitle-small", class: "next-step" }, "Last step")) : (isPropDefined$1(this.nextStepHeading) && (hAsync("ic-typography", { variant: "subtitle-small", class: "next-step" }, "Next", hAsync("span", { class: "visually-hidden" }, " step is"), ":", " ", this.nextStepHeading))))));
22326
+ : status && stepStatus))))), lastStep ? (hAsync("ic-typography", { variant: "subtitle-small", class: "next-step" }, icI18n.lastStep)) : (isPropDefined$1(nextStepHeading) && (hAsync("ic-typography", { variant: "subtitle-small", class: "next-step" }, icI18n.next, hAsync("span", { class: "visually-hidden" }, " ", icI18n.step), ":", " ", this.nextStepHeading))))));
20849
22327
  // ICON FOR DEFAULT STEP
20850
22328
  let icon;
20851
- if (this.type !== "completed") {
20852
- icon = (hAsync("ic-typography", { key: 'f2730d318e4fd63b63fdacafcb71a58cebbe2f59', variant: "subtitle-small" }, hAsync("span", { key: '03a7ddac3f3ded528cf1a46097a81a0e2568e3c6', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
22329
+ if (type !== "completed") {
22330
+ icon = (hAsync("ic-typography", { key: '4ada11af3f862b66af7ca387ca5e2ed0c7bd1456', variant: "subtitle-small" }, hAsync("span", { key: 'f7acc54618d69f93bdfc8d9c9322e23d58749a51', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
20853
22331
  }
20854
22332
  else {
20855
- icon = (hAsync("div", { key: '58fb2c4ee87edb92d49134763cbadd79f0c9a54e', class: "step-icon-inner", "aria-hidden": "true" }, hAsync("span", { key: '71753c297cf27e8bcdbcc33e1677d8e890ebc14b', class: "check-icon", innerHTML: checkIcon })));
22333
+ icon = (hAsync("div", { key: '5efba193e768116f7bf92a0369d61fdd7e8b04ff', class: "step-icon-inner", "aria-hidden": "true" }, hAsync("span", { key: '390a1f3f6daffa5e2e82293b81680a3eb9f1bb35', class: "check-icon", innerHTML: checkIcon })));
20856
22334
  }
20857
22335
  // STEP CONNECT FOR DEFAULT STEP
20858
- const partialBar = this.type === "current" && (hAsync("div", { key: 'a6bd5f3e2a433845a1e55fbd5b714ea8c87f44d5', class: "step-connect-inner" }));
20859
- const finalStep = !this.lastStep && (hAsync("div", { key: '28a9ba2a0fc5d7219e5bb5fa70696a62aa511b6d', class: {
22336
+ const partialBar = type === "current" && (hAsync("div", { key: 'd4255228e9626afbce26b5b65bb3b1329795cc84', class: "step-connect-inner" }));
22337
+ const finalStep = !lastStep && (hAsync("div", { key: '72093cf835767969a9f56a45e7952e42d2b21d46', class: {
20860
22338
  ["step-connect"]: true,
20861
22339
  ["aligned-full-width"]: !!(((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("ic-stepper-default")) &&
20862
22340
  !this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
20863
22341
  } }, partialBar));
20864
22342
  // DEFAULT STEP COMPONENT
20865
- const defaultStep = (hAsync("div", { key: 'fdef2ca76d51403edda89814d7c3bd359fa371ab', class: {
22343
+ const defaultStep = (hAsync("div", { key: '7ee74bb84e4678e20ee4eb5daa26f9252d795f83', class: {
20866
22344
  ["step"]: true,
20867
- [`${this.type}`]: true,
20868
- } }, hAsync("div", { key: '10a8908e0b3022b68255d0062d49cf9db75d3277', class: "step-top" }, hAsync("div", { key: '70d65414701e912b38d6b28bc49527f83c389849', class: "step-icon" }, icon), finalStep), (this.heading || this.subheading || this.status) && (hAsync("div", { key: 'b0f5ba114b2076b647b48e886620b72b60c68e07', class: "heading-area" }, this.heading && (hAsync("ic-typography", { key: '7be124b0b48932cd6f66264376a49b6387c5f6cc', variant: "subtitle-large", class: "heading" }, this.heading)), this.heading && (this.subheading || this.status) && (hAsync("ic-typography", { key: 'cc27e08a365f008d259cc67862fb7c92728dd3bc', variant: "caption", class: "subheading" }, this.subheading !== null && isPropDefined$1(this.subheading)
20869
- ? this.subheading
22345
+ [`${type}`]: true,
22346
+ } }, hAsync("div", { key: 'c3e678c9eab7688174b87c55bad404407ffedd72', class: "step-top" }, hAsync("div", { key: 'bad28cb205e9450b226073b8803e779d62616207', class: "step-icon" }, icon), finalStep), (heading || subheading || status) && (hAsync("div", { key: '946ab99559fdaa3106244e6758b7573ea454d5b8', class: "heading-area" }, heading && (hAsync("ic-typography", { key: 'c2a9e10b0e30b0de194b321f1683c6d36783020d', variant: "subtitle-large", class: "heading" }, heading)), heading && (subheading || status) && (hAsync("ic-typography", { key: 'bfa452d159a531bb0706540af3c91407f0c9f03f', variant: "caption", class: "subheading" }, subheading !== null && isPropDefined$1(subheading)
22347
+ ? subheading
20870
22348
  : stepStatus))))));
20871
- return (hAsync(Host, { key: '0fa86f597f22a806165b7583eb39d4bbdccc4d40', role: "listitem", "aria-label": `Step ${this.stepNum}${ariaLabel}`, "aria-current": (this.current || this.type === "current") && "step", class: {
22349
+ return (hAsync(Host, { key: 'e1d36358b31ec0f91ca0c9874a661ce10bd38d2c', role: "listitem", "aria-label": `${icI18n.step} ${stepNum}${ariaLabel}`, "aria-current": (current || type === "current") && "step", class: {
20872
22350
  ["aligned-full-width"]: !!(((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains("ic-stepper-default")) &&
20873
22351
  !this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
20874
- [`ic-step-${this.variant}`]: true,
20875
- [`ic-theme-${this.theme}`]: this.theme !== "inherit",
20876
- } }, this.variant === "compact" ? compactStep : defaultStep));
22352
+ [`ic-step-${variant}`]: true,
22353
+ [`ic-theme-${theme}`]: this.theme !== "inherit",
22354
+ } }, variant === "compact" ? compactStep : defaultStep));
20877
22355
  }
20878
22356
  get el() { return getElement(this); }
20879
22357
  static get watchers() { return {
@@ -20886,6 +22364,7 @@ class Step {
20886
22364
  "$members$": {
20887
22365
  "compactStepStyling": [1, "compact-step-styling"],
20888
22366
  "current": [1028],
22367
+ "icI18n": [16],
20889
22368
  "lastStep": [4, "last-step"],
20890
22369
  "lastStepNum": [2, "last-step-num"],
20891
22370
  "nextStepHeading": [1, "next-step-heading"],
@@ -20933,6 +22412,20 @@ class Stepper {
20933
22412
  * If `true`, the information about each step, i.e. step title, step subtitle and step status, will be hidden on all default steps. The information about each step will still be visible in the compact variant of the stepper.
20934
22413
  */
20935
22414
  this.hideStepInfo = false;
22415
+ /**
22416
+ * Provide alternative values for text in all child steps. For the purpose of translating the application into other languages.
22417
+ */
22418
+ this.icI18n = {
22419
+ next: "Next",
22420
+ step: "Step",
22421
+ steps: "Steps",
22422
+ of: "of",
22423
+ lastStep: "Last step",
22424
+ completed: "Completed",
22425
+ notRequired: "Not required",
22426
+ required: "Required",
22427
+ optional: "Optional",
22428
+ };
20936
22429
  /**
20937
22430
  * Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
20938
22431
  */
@@ -20978,6 +22471,10 @@ class Stepper {
20978
22471
  this.initialiseStepStates = () => {
20979
22472
  this.steps.forEach((step, index) => {
20980
22473
  var _a, _b, _c;
22474
+ // Set language
22475
+ if (this.icI18n !== undefined) {
22476
+ step.icI18n = this.icI18n;
22477
+ }
20981
22478
  // Set variant
20982
22479
  step.variant = this.variant;
20983
22480
  // Assign stepNum to each step
@@ -21149,11 +22646,11 @@ class Stepper {
21149
22646
  checkResizeObserver$1(this.runResizeObserver);
21150
22647
  }
21151
22648
  render() {
21152
- return (hAsync(Host, { key: 'b7a0dfaa4d7842f9df2f85e1dbc2e693d9c68679', class: {
22649
+ return (hAsync(Host, { key: '9d9ca9d145f10826c095669a86a99b532bee274d', class: {
21153
22650
  [`ic-stepper-${this.variant}`]: true,
21154
22651
  ["ic-stepper-aligned-left"]: this.variant === "default" && this.aligned === "left",
21155
22652
  [`ic-theme-${this.theme}`]: this.theme !== "inherit",
21156
- } }, hAsync("ul", { key: '051a97451fc7e8074978f332aa4aa1a6bcfcd17f', class: "step-item-list" }, hAsync("slot", { key: 'bbecef8f861b321f530606b70229a15a9d20549b' }))));
22653
+ } }, hAsync("ul", { key: '7cc19512929ba09b0e13b50f400c5b84967678d3', class: "step-item-list" }, hAsync("slot", { key: '35312de95aa58d5555e19911db1d030d31b74cb4' }))));
21157
22654
  }
21158
22655
  get el() { return getElement(this); }
21159
22656
  static get watchers() { return {
@@ -21169,6 +22666,7 @@ class Stepper {
21169
22666
  "aligned": [1],
21170
22667
  "connectorWidth": [2, "connector-width"],
21171
22668
  "hideStepInfo": [4, "hide-step-info"],
22669
+ "icI18n": [16],
21172
22670
  "theme": [1],
21173
22671
  "variant": [1025],
21174
22672
  "alignedFullWidth": [32],
@@ -22168,7 +23666,7 @@ class TableOfContents {
22168
23666
  }; }
22169
23667
  }
22170
23668
 
22171
- const icTextFieldCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--ic-input-label-helpertext-padding:var(--ic-space-xs);--border-color:var(--ic-text-field-border-neutral);--border-color-hover:var(--ic-text-field-border-neutral-hover);--border-color-pressed:var(--ic-text-field-border-neutral-pressed);--border-color-disabled:var(--ic-text-field-border-disabled);--border-color-error:var(--ic-text-field-border-error);--border-color-error-hover:var(--ic-text-field-border-error-hover);--border-color-error-pressed:var(--ic-text-field-border-error-pressed);--border-color-success:var(--ic-text-field-border-success);--border-color-success-hover:var(--ic-text-field-border-success-hover);--border-color-success-pressed:var(--ic-text-field-border-success-pressed);--border-color-warning:var(--ic-text-field-border-warning);--border-color-warning-hover:var(--ic-text-field-border-warning-hover);--border-color-warning-pressed:var(--ic-text-field-border-warning-pressed);--ic-input-label-text-color:var(--ic-text-field-label);--ic-input-label-helper-text-color:var(--ic-text-field-subtitle);--ic-input-validation-status-text-color:var(--ic-text-field-state-text);--ic-input-validation-error:var(--ic-text-field-state-icon-error);--ic-input-validation-warning-icon-color:var(\n --ic-text-field-state-icon-warning\n );--ic-input-validation-success-icon-color:var(\n --ic-text-field-state-icon-success\n );--ic-input-component-container-success-icon-inline-color:var(\n --ic-text-field-state-icon-success\n )}:host(.ic-text-field-disabled){--ic-input-label-text-color:var(--ic-text-field-label-disabled);--ic-input-label-helper-text-color:var(--ic-text-field-subtitle-disabled);--text-field-placeholder-color:var(\n --ic-text-field-text-area-placeholder-text-disabled\n )}:host(.ic-text-field-full-width){width:100%}::-moz-placeholder{color:var(\n --text-field-placeholder-color,\n var(--ic-text-field-placeholder-text)\n );opacity:1}::placeholder{color:var(\n --text-field-placeholder-color,\n var(--ic-text-field-placeholder-text)\n );opacity:1}input,textarea{border:0;border-radius:var(--ic-border-radius);color:var(--text-field-text-color, var(--ic-text-field-text));background-color:var(--input-bg-color, var(--ic-text-field-background));line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs);caret-color:var(\n --text-field-typing-cursor,\n var(--ic-text-field-typing-cursor)\n )}textarea{min-height:var(--ic-space-lg);resize:vertical;padding-top:0.375rem}input:focus,textarea:focus{border:0;outline:0}input:disabled,textarea:disabled{color:var(\n --text-field-disabled-text-color,\n var(--ic-text-field-text-disabled)\n )}input.readonly,textarea.readonly{color:var(--ic-text-field-read-only-input-text-internal);background:transparent}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=\"number\"]{-moz-appearance:textfield}textarea.no-resize{resize:none}.char-count-text{--ic-typography-color:var(--ic-text-field-character-limit);padding-right:var(--ic-space-xxxs)}:host(.ic-text-field-disabled) .char-count-text{--ic-typography-color:var(--ic-text-field-character-limit-disabled)}.no-left-pad{padding-left:0}::slotted([slot=\"icon\"]){fill:var(--ic-text-field-text-disabled)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-text-field-input-internal-icon)}.char-count{margin-right:calc(-1 * var(--ic-space-xxxs))}.remaining-char-count-desc{position:absolute;left:-9999px}.hidden-validation{margin:0}input[type=\"search\"]::-webkit-search-cancel-button,input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-results-button,input[type=\"search\"]::-webkit-search-results-decoration{display:none}input[type=\"search\"].truncate-value{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (forced-colors: active){input.readonly,textarea.readonly{color:canvastext}.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
23669
+ const icTextFieldCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--ic-input-label-helpertext-padding:var(--ic-space-xs);--border-color:var(--ic-text-field-border-neutral);--border-color-hover:var(--ic-text-field-border-neutral-hover);--border-color-pressed:var(--ic-text-field-border-neutral-pressed);--border-color-disabled:var(--ic-text-field-border-disabled);--border-color-error:var(--ic-text-field-border-error);--border-color-error-hover:var(--ic-text-field-border-error-hover);--border-color-error-pressed:var(--ic-text-field-border-error-pressed);--border-color-success:var(--ic-text-field-border-success);--border-color-success-hover:var(--ic-text-field-border-success-hover);--border-color-success-pressed:var(--ic-text-field-border-success-pressed);--border-color-warning:var(--ic-text-field-border-warning);--border-color-warning-hover:var(--ic-text-field-border-warning-hover);--border-color-warning-pressed:var(--ic-text-field-border-warning-pressed);--ic-input-label-text-color:var(--ic-text-field-label);--ic-input-label-helper-text-color:var(--ic-text-field-subtitle);--ic-input-validation-status-text-color:var(--ic-text-field-state-text);--ic-input-validation-error:var(--ic-text-field-state-icon-error);--ic-input-validation-warning-icon-color:var(\n --ic-text-field-state-icon-warning\n );--ic-input-validation-success-icon-color:var(\n --ic-text-field-state-icon-success\n );--ic-input-component-container-success-icon-inline-color:var(\n --ic-text-field-state-icon-success\n )}:host(.ic-text-field-disabled){--ic-input-label-text-color:var(--ic-text-field-label-disabled);--ic-input-label-helper-text-color:var(--ic-text-field-subtitle-disabled);--text-field-placeholder-color:var(\n --ic-text-field-text-area-placeholder-text-disabled\n )}:host(.ic-text-field-full-width){width:100%}::-moz-placeholder{color:var(\n --text-field-placeholder-color,\n var(--ic-text-field-placeholder-text)\n );opacity:1}::placeholder{color:var(\n --text-field-placeholder-color,\n var(--ic-text-field-placeholder-text)\n );opacity:1}input,textarea{border:0;border-radius:var(--ic-border-radius);color:var(--text-field-text-color, var(--ic-text-field-text));background-color:var(--input-bg-color, var(--ic-text-field-background));line-height:1.5rem;letter-spacing:0.005rem;width:100%;padding-right:var(--ic-space-xs);padding-left:var(--ic-space-xs);caret-color:var(\n --text-field-typing-cursor,\n var(--ic-text-field-typing-cursor)\n )}textarea{min-height:var(--ic-space-lg);resize:vertical;padding-top:0.375rem}input:focus,textarea:focus{border:0;outline:0}input:disabled,textarea:disabled{color:var(\n --text-field-disabled-text-color,\n var(--ic-text-field-text-disabled)\n )}input.readonly,textarea.readonly{color:var(--ic-text-field-read-only-input-text-internal);background:transparent}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=\"number\"]{-moz-appearance:textfield}textarea.no-resize{resize:none}.char-count-text{--ic-typography-color:var(--ic-text-field-character-limit);padding-right:var(--ic-space-xxxs)}:host(.ic-text-field-disabled) .char-count-text{--ic-typography-color:var(--ic-text-field-character-limit-disabled)}.no-left-pad{padding-left:0}::slotted([slot=\"icon\"]){fill:var(--ic-text-field-text-disabled)}.has-value ::slotted([slot=\"icon\"]){fill:var(--ic-text-field-input-internal-icon)}.char-count{margin-right:calc(-1 * var(--ic-space-xxxs))}.remaining-char-count-desc{position:absolute;left:-9999px}.show-validation{margin-top:var(--ic-space-xs)}input[type=\"search\"]::-webkit-search-cancel-button,input[type=\"search\"]::-webkit-search-decoration,input[type=\"search\"]::-webkit-search-results-button,input[type=\"search\"]::-webkit-search-results-decoration{display:none}input[type=\"search\"].truncate-value{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (forced-colors: active){input.readonly,textarea.readonly{color:canvastext}.has-value ::slotted([slot=\"icon\"]){fill:currentcolor}}";
22172
23670
  var IcTextFieldStyle0 = icTextFieldCss;
22173
23671
 
22174
23672
  let inputIds$1 = 0;
@@ -22196,10 +23694,6 @@ class TextField {
22196
23694
  this.maxValueExceeded = false;
22197
23695
  this.minValueUnattained = false;
22198
23696
  this.isFocussed = false;
22199
- /**
22200
- * The value of the `aria-live` attribute on the validation message. When set to "default", the `aria-live` value will be handled automatically, e.g. "assertive" for `validation-status="error"`.
22201
- */
22202
- this.validationAriaLive = "default";
22203
23697
  /**
22204
23698
  * The automatic capitalisation of the text value as it is entered/edited by the user.
22205
23699
  * Available options: "off", "none", "on", "sentences", "words", "characters".
@@ -22322,6 +23816,10 @@ class TextField {
22322
23816
  * The type of control to display. The default type is text.
22323
23817
  */
22324
23818
  this.type = "text";
23819
+ /**
23820
+ * The value of the `aria-live` attribute on the validation message. When set to "default", the `aria-live` value will be handled automatically, e.g. "assertive" for `validation-status="error"`.
23821
+ */
23822
+ this.validationAriaLive = "default";
22325
23823
  /**
22326
23824
  * If `true`, the icon in input control will be displayed - only applies when validationStatus ='success'.
22327
23825
  */
@@ -22568,12 +24066,12 @@ class TextField {
22568
24066
  "no-resize": resize === false || !!readonly,
22569
24067
  "no-left-pad": !showLeftIcon && !!readonly,
22570
24068
  readonly: !!readonly,
22571
- }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholder, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onScroll: this.onTextAreaScroll, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocomplete: autocomplete, autocapitalize: autocapitalize, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : undefined, minlength: minCharactersUnattained ? minCharacters : undefined }, inheritedAttributes))), isSlotUsed$1(el, "clear-button") && (hAsync("slot", { key: 'e02f69a6fd4c654b7f3b5f1593f7a29c7412d10f', name: "clear-button" })), isSlotUsed$1(el, "search-submit-button") && (hAsync("slot", { key: '2e32b1afd58a382a804a356537489efa523009ce', name: "search-submit-button" }))), isSlotUsed$1(el, "menu") && hAsync("slot", { key: '1cbac8ded359309907e51f16033b03d266eb8828', name: "menu" }), hAsync("ic-input-validation", { key: 'd5c1c75305e3bebe54a48b1a2a99429f4f64019a', class: { "hidden-validation": !this.showValidationMargin() }, status: this.hasStatus(currentStatus) === false ||
24069
+ }, name: name, ref: (el) => (this.inputEl = el), value: value, rows: rows, required: required, disabled: disabledMode, placeholder: placeholder, readonly: readonly, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onScroll: this.onTextAreaScroll, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, autocomplete: autocomplete, autocapitalize: autocapitalize, spellcheck: spellcheck, inputmode: inputmode, maxlength: maxCharactersReached ? maxCharacters : undefined, minlength: minCharactersUnattained ? minCharacters : undefined }, inheritedAttributes))), isSlotUsed$1(el, "clear-button") && (hAsync("slot", { key: 'e02f69a6fd4c654b7f3b5f1593f7a29c7412d10f', name: "clear-button" })), isSlotUsed$1(el, "search-submit-button") && (hAsync("slot", { key: '2e32b1afd58a382a804a356537489efa523009ce', name: "search-submit-button" }))), isSlotUsed$1(el, "menu") && hAsync("slot", { key: '1cbac8ded359309907e51f16033b03d266eb8828', name: "menu" }), hAsync("ic-input-validation", { key: '55a5e1762111cb2715679f6263719924b098acd4', class: { "show-validation": this.showValidationMargin() }, status: this.hasStatus(currentStatus) === false ||
22572
24070
  (currentStatus === IcInformationStatus$1.Success &&
22573
24071
  validationInline) ||
22574
24072
  validationInlineInternal
22575
24073
  ? ""
22576
- : currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (hAsync("div", { key: '8f44917b384aea5179dd8ec7ecb76c4deac324f4', slot: "validation-message-adornment" }, !hideCharCount && (hAsync("ic-typography", { key: '82c4343bc57ca67df98685ef351032e411010c82', variant: "caption", class: "char-count-text" }, hAsync("span", { key: 'c89807bfa34112d29f906cf540a97639846970fb', class: "char-count" }, numChars, "/", maxNumChars))), hAsync("span", { key: '24fef83685d9b7ac8c706c8776485b38fea74973', class: "remaining-char-count-desc", "aria-live": "polite", hidden: !isFocussed, id: remainingCharCountDescId }, remainingCharCountDesc), hAsync("span", { key: '98d23cac7439da80ea0d72a355cce23b57e5bea4', hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters.")))))));
24074
+ : currentStatus, message: showStatusText ? currentValidationText : "", ariaLiveMode: messageAriaLive, for: inputId, fullWidth: fullWidth }, !readonly && maxNumChars > 0 && (hAsync("div", { key: 'ce76d39f556c5cf5ab0e97abb93e243cb0153f54', slot: "validation-message-adornment" }, !hideCharCount && (hAsync("ic-typography", { key: '49a4898f4b336ca7e1ced4550a9494c5505a78a6', variant: "caption", class: "char-count-text" }, hAsync("span", { key: '2b714b46208c477500494f1f43d919f972501f9b', class: "char-count" }, numChars, "/", maxNumChars))), hAsync("span", { key: '3559afb42041b8bb3080ae5bd015bc76a9af3b2d', class: "remaining-char-count-desc", "aria-live": "polite", hidden: !isFocussed, id: remainingCharCountDescId }, remainingCharCountDesc), hAsync("span", { key: '9f98def180554d1dc13e05d6cefac85fd91638bb', hidden: true, id: hiddenCharCountDescId }, "Field can contain a maximum of ", maxNumChars, " characters.")))))));
22577
24075
  }
22578
24076
  get el() { return getElement(this); }
22579
24077
  static get watchers() { return {
@@ -22590,7 +24088,6 @@ class TextField {
22590
24088
  "ariaAutocomplete": [1, "aria-autocomplete"],
22591
24089
  "ariaExpanded": [1, "aria-expanded"],
22592
24090
  "ariaOwns": [1, "aria-owns"],
22593
- "validationAriaLive": [1, "validation-aria-live"],
22594
24091
  "autocapitalize": [1],
22595
24092
  "autocomplete": [1],
22596
24093
  "autocorrect": [1],
@@ -22624,6 +24121,7 @@ class TextField {
22624
24121
  "theme": [1],
22625
24122
  "truncateValue": [4, "truncate-value"],
22626
24123
  "type": [1],
24124
+ "validationAriaLive": [1, "validation-aria-live"],
22627
24125
  "validationInline": [4, "validation-inline"],
22628
24126
  "validationInlineInternal": [4, "validation-inline-internal"],
22629
24127
  "validationStatus": [1, "validation-status"],
@@ -22734,7 +24232,7 @@ class Theme {
22734
24232
 
22735
24233
  var Clock = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>clock-outline</title><path d="M12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22C6.47,22 2,17.5 2,12A10,10 0 0,1 12,2M12.5,7V12.25L17,14.92L16.25,16.15L11,13V7H12.5Z" /></svg>`;
22736
24234
 
22737
- const icTimeInputCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{--ic-input-label-helpertext-padding:var(--ic-space-xs);--input-bg-color:var(--ic-time-picker-field-background);--ic-input-label-text-color:var(--ic-time-picker-label);--ic-input-label-helper-text-color:var(--ic-time-picker-subtitle);--border-color:var(--ic-time-picker-time-field-border-default);--border-color-disabled:var(--ic-time-picker-border-disabled);--border-color-hover:var(--ic-time-picker-time-field-border-hover);--border-color-pressed:var(--ic-time-picker-time-field-border-pressed);--border-error-color:var(--ic-time-picker-border-error);--border-error-color-hover:var(--ic-time-picker-border-error-hover);--border-error-color-pressed:var(--ic-time-picker-border-error-pressed);--border-success-color:var(--ic-time-picker-border-success);--border-success-color-hover:var(--ic-time-picker-border-success-hover);--border-success-color-pressed:var(--ic-time-picker-border-success-pressed);--border-warning-color:var(--ic-time-picker-border-warning);--border-warning-color-hover:var(--ic-time-picker-border-warning-hover);--border-warning-color-pressed:var(--ic-time-picker-border-warning-pressed);--input-width:calc((4 * var(--ic-space-xxl)) + var(--ic-space-xxs))}:host(.ic-time-input-disabled){--ic-input-label-text-color:var(--ic-time-picker-label-disabled);--ic-input-label-helper-text-color:var(--ic-time-picker-subtitle-disabled)}:host(.ic-time-input-disabled) input{color:var(--ic-time-picker-time-text-disabled)}:host(.ic-time-input-large){--input-width:calc(\n (4 * var(--ic-space-xxl)) + var(--ic-space-xxs) + var(--ic-space-lg)\n )}:host(.ic-time-input-small){--input-width:calc(\n (3 * var(--ic-space-xxl)) + var(--ic-space-xxs) + var(--ic-space-xl)\n )}input{border:0;height:100%;padding:0;outline:none;background:none;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;color:var(--ic-time-picker-time-text-default);caret-color:var(--ic-time-picker-typing-cursor)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none}input:-webkit-autofill{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-color-background-primary) inset;-webkit-text-fill-color:var(--ic-time-picker-time-text-default) !important}input::-moz-placeholder{color:var(--ic-time-picker-field-placeholder-text)}input::placeholder{color:var(--ic-time-picker-field-placeholder-text)}ic-input-component-container{cursor:text}ic-input-component-container .focus-indicator{padding:var(--ic-space-xxxs) var(--ic-space-xs);align-items:center}.time-inputs{color:var(--ic-time-picker-field-placeholder-text)}.hour-input{width:1.438rem}.minute-input{width:1.813rem}.second-input,.second-input.fit-to-value{width:2.313rem}.fit-to-value{width:1.25rem}.sr-only{position:absolute;left:-9999px}.input-container{width:100%;display:flex;justify-content:space-between;align-items:center;position:relative}.action-buttons{display:flex;align-items:center}.show-clock-button-wrapper{display:flex;justify-content:center;align-items:center}.clear-button,.clock-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition);margin:0}.clear-button.hidden{display:none}.clear-button:focus,.clock-button:focus,.clear-button:active,.clock-button:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:0.25rem}.clock-button:focus,.clock-button:active{--ic-button-tertiary-text-active:var(--ic-atoms-input-clear-button-focus);--ic-button-tertiary-text-hover-active:var(\n --ic-atoms-input-clear-button-focus\n );--ic-button-tertiary-text-pressed-active:var(\n --ic-atoms-input-clear-button-focus\n )}.clear-button:focus,.clock-button:focus,.clear-button:active *,.clock-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button svg{color:var(--ic-time-picker-clear-icon)}.clear-button:focus svg{color:var(--ic-atoms-input-clear-button-focus)}.divider{margin:0 var(--ic-space-xxs);width:var(--ic-space-1px);background-color:var(--ic-atoms-input-divider);border-radius:var(--ic-space-1px)}.divider.small{height:var(--ic-space-md)}.divider.medium{height:calc(var(--ic-space-sm) + var(--ic-space-xs))}.divider.large{height:var(--ic-space-lg)}ic-input-validation{--ic-input-validation-status-text-color:var(--ic-time-picker-status-text);--ic-input-validation-error:var(--ic-time-picker-icon-error);--ic-input-validation-warning-icon-color:var(--ic-time-picker-icon-warning);--ic-input-validation-success-icon-color:var(--ic-time-picker-icon-success)}@media (forced-colors: active){.clear-button svg{color:currentColor}}";
24235
+ const icTimeInputCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{--ic-input-label-helpertext-padding:var(--ic-space-xs);--input-bg-color:var(--ic-time-picker-field-background);--ic-input-label-text-color:var(--ic-time-picker-label);--ic-input-label-helper-text-color:var(--ic-time-picker-subtitle);--border-color:var(--ic-time-picker-time-field-border-default);--border-color-disabled:var(--ic-time-picker-border-disabled);--border-color-hover:var(--ic-time-picker-time-field-border-hover);--border-color-pressed:var(--ic-time-picker-time-field-border-pressed);--border-error-color:var(--ic-time-picker-border-error);--border-error-color-hover:var(--ic-time-picker-border-error-hover);--border-error-color-pressed:var(--ic-time-picker-border-error-pressed);--border-success-color:var(--ic-time-picker-border-success);--border-success-color-hover:var(--ic-time-picker-border-success-hover);--border-success-color-pressed:var(--ic-time-picker-border-success-pressed);--border-warning-color:var(--ic-time-picker-border-warning);--border-warning-color-hover:var(--ic-time-picker-border-warning-hover);--border-warning-color-pressed:var(--ic-time-picker-border-warning-pressed);--input-width:calc((4 * var(--ic-space-xxl)) + var(--ic-space-xxs))}:host(.ic-time-input-disabled){--ic-input-label-text-color:var(--ic-time-picker-label-disabled);--ic-input-label-helper-text-color:var(--ic-time-picker-subtitle-disabled)}:host(.ic-time-input-disabled) input{color:var(--ic-time-picker-time-text-disabled)}:host(.ic-time-input-large){--input-width:calc(\n (4 * var(--ic-space-xxl)) + var(--ic-space-xxs) + var(--ic-space-lg)\n )}:host(.ic-time-input-small){--input-width:calc(\n (3 * var(--ic-space-xxl)) + var(--ic-space-xxs) + var(--ic-space-xl)\n )}input{border:0;height:100%;padding:0;outline:none;background:none;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;color:var(--ic-time-picker-time-text-default);caret-color:var(--ic-time-picker-typing-cursor)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none}input:-webkit-autofill{box-shadow:0 0 0 var(--ic-space-sm) var(--ic-color-background-primary) inset;-webkit-text-fill-color:var(--ic-time-picker-time-text-default) !important}input::-moz-placeholder{color:var(--ic-time-picker-field-placeholder-text)}input::placeholder{color:var(--ic-time-picker-field-placeholder-text)}ic-input-component-container{cursor:text}ic-input-component-container .focus-indicator{padding:var(--ic-space-xxxs) var(--ic-space-xs);align-items:center}.time-inputs{color:var(--ic-time-picker-field-placeholder-text)}.hour-input{width:1.438rem}.minute-input{width:1.813rem}.second-input,.second-input.fit-to-value{width:2.313rem}.fit-to-value{width:1.25rem}.sr-only{position:absolute;left:-9999px}.input-container{width:100%;display:flex;justify-content:space-between;align-items:center;position:relative}.action-buttons{display:flex;align-items:center}.show-clock-button-wrapper{display:flex;justify-content:center;align-items:center}.clear-button,.clock-button{border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition);margin:0}.clear-button.hidden{display:none}.clear-button:focus,.clock-button:focus,.clear-button:active,.clock-button:active{background-color:var(--ic-color-focus-inner) !important;box-shadow:inset 0 0 0 0.125rem var(--ic-color-focus-outer) !important;border-radius:0.25rem}.clock-button:focus,.clock-button:active{--ic-button-tertiary-text-active:var(--ic-atoms-input-clear-button-focus);--ic-button-tertiary-text-hover-active:var(\n --ic-atoms-input-clear-button-focus\n );--ic-button-tertiary-text-pressed-active:var(\n --ic-atoms-input-clear-button-focus\n )}.clear-button:focus,.clock-button:focus,.clear-button:active *,.clock-button:active *{fill:var(--ic-atoms-input-clear-button-focus)}.clear-button svg{color:var(--ic-time-picker-clear-icon)}.clear-button:focus svg{color:var(--ic-atoms-input-clear-button-focus)}.divider{margin:0 var(--ic-space-xxs);width:var(--ic-space-1px);background-color:var(--ic-atoms-input-divider);border-radius:var(--ic-space-1px)}.divider.small{height:var(--ic-space-md)}.divider.medium{height:calc(var(--ic-space-sm) + var(--ic-space-xs))}.divider.large{height:var(--ic-space-lg)}ic-input-validation{--ic-input-validation-status-text-color:var(--ic-time-picker-status-text);--ic-input-validation-error:var(--ic-time-picker-icon-error);--ic-input-validation-warning-icon-color:var(--ic-time-picker-icon-warning);--ic-input-validation-success-icon-color:var(--ic-time-picker-icon-success)}@media (forced-colors: active){.clear-button svg{color:currentcolor}}";
22738
24236
  var IcTimeInputStyle0 = icTimeInputCss;
22739
24237
 
22740
24238
  let inputIds = 0;
@@ -22845,6 +24343,10 @@ class TimeInput {
22845
24343
  * The value of the time input. The value can be in any format supported as `timeFormat`, in ISO 8601 time string format (`HH:MM:SS`) or as a JavaScript `Date` object.
22846
24344
  */
22847
24345
  this.value = "";
24346
+ /**
24347
+ * The value of the `aria-live` attribute on the validation message.
24348
+ */
24349
+ this.validationAriaLive = "polite";
22848
24350
  /**
22849
24351
  * The validation status - e.g. 'error' | 'warning' | 'success'. This will override the built-in time validation.
22850
24352
  */
@@ -22880,7 +24382,7 @@ class TimeInput {
22880
24382
  };
22881
24383
  this.setTimeValidity = () => {
22882
24384
  const minHour = 0;
22883
- const maxHour = this.timePeriod === "12" ? 11 : 23;
24385
+ const maxHour = this.timePeriod === "12" ? 12 : 23;
22884
24386
  if (!isEmptyString(this.hour)) {
22885
24387
  this.isValidHour = +this.hour >= minHour && +this.hour <= maxHour;
22886
24388
  }
@@ -23112,8 +24614,8 @@ class TimeInput {
23112
24614
  let minValue = 0;
23113
24615
  let maxValue = 59;
23114
24616
  if (input === this.hourInputEl) {
23115
- minValue = 0;
23116
- maxValue = this.timePeriod === "12" ? 11 : 23;
24617
+ minValue = this.timePeriod === "12" ? 1 : 0;
24618
+ maxValue = this.timePeriod === "12" ? 12 : 23;
23117
24619
  }
23118
24620
  let val = +input.value;
23119
24621
  if (event.key === "ArrowUp") {
@@ -23622,7 +25124,7 @@ class TimeInput {
23622
25124
  this.externalSetTime = false;
23623
25125
  }
23624
25126
  render() {
23625
- const { inputId, label, disabled, helperText, hideHelperText, hideLabel, showClearButton, showClockButton, size, theme, } = this;
25127
+ const { inputId, label, disabled, helperText, hideHelperText, hideLabel, showClearButton, showClockButton, size, theme, validationAriaLive, } = this;
23626
25128
  const hasCustomValidation = !isEmptyString(this.validationStatus);
23627
25129
  const validationStatus = hasCustomValidation
23628
25130
  ? this.validationStatus
@@ -23635,23 +25137,23 @@ class TimeInput {
23635
25137
  !(isEmptyString(this.hour) &&
23636
25138
  isEmptyString(this.minute) &&
23637
25139
  isEmptyString(this.second)));
23638
- return (hAsync(Host, { key: 'b98385e4ce15e3a5710472b5222b062055ffc5c5', class: {
25140
+ return (hAsync(Host, { key: 'ce72bf165b860dc73b3de7523ea59d7ae5091785', class: {
23639
25141
  [`ic-theme-${theme}`]: theme !== "inherit",
23640
25142
  [`ic-time-input-disabled`]: disabled,
23641
25143
  [`ic-time-input-${size}`]: true,
23642
- }, onBlur: this.handleHostBlur, onFocus: this.handleHostFocus }, hAsync("ic-input-container", { key: '85a0e77c6a4bb16625ae45ae8d24a481d3a69690', disabled: disabled }, !(hideLabel && hideHelperText) && (hAsync("ic-input-label", { key: '85608f12ae185946d470a85cbb92e572ef5c52a6', for: inputId, label: label, hideLabel: hideLabel, helperText: !hideHelperText ? helperText : "", disabled: disabled }, hAsync("slot", { key: 'a5ec9992107902e14c015a27dc9333db5acc722d', name: "helper-text", slot: "helper-text" }))), hAsync("span", { key: 'a54568674212ce84618de7d2543daaf8c9f3b290', id: this.screenReaderInfoId, class: "sr-only", "aria-hidden": "true" }, this.getScreenReaderInfo(validationStatus), hideLabel && `${label}\n`, hideHelperText && `${helperText}\n`, `${this.defaultHelperText}.`), hAsync("span", { key: '36ac6bb759ba70d5501605103dbc9a43e5315d20', id: this.assistiveHintId, class: "sr-only", "aria-hidden": "true" }, assistiveHint), hAsync("span", { key: '032b22fa3b0be5abc67f6ce5d99be575df66ff97', id: "live-region", "aria-live": "assertive", class: "sr-only" }), hAsync("ic-input-component-container", { key: '3faf515b455f03682a502048cb2f36220dbd824c', id: inputId, ref: (el) => (this.inputCompContainerEl = el), disabled: disabled, validationStatus: validationStatus, size: size, role: "group", class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: '1aec859059b9f6bc96a6d17318565704f80735e5', class: "input-container" }, hAsync("div", { key: '6d165dd62cfbe88945da06f08402179c65836799', class: "time-inputs" }, [
25144
+ }, onBlur: this.handleHostBlur, onFocus: this.handleHostFocus }, hAsync("ic-input-container", { key: '81289a19c2013efd8e0b7894964584163c2d9ca4', disabled: disabled }, !(hideLabel && hideHelperText) && (hAsync("ic-input-label", { key: '858282ddbc0d69d6a1c19c6c3660e96d26a578d4', for: inputId, label: label, hideLabel: hideLabel, helperText: !hideHelperText ? helperText : "", disabled: disabled }, hAsync("slot", { key: 'ea5647530d721574b23ec3a6470b6f791347de16', name: "helper-text", slot: "helper-text" }))), hAsync("span", { key: '78506ccf9f196f2439a54450000ff360f6b860da', id: this.screenReaderInfoId, class: "sr-only", "aria-hidden": "true" }, this.getScreenReaderInfo(validationStatus), hideLabel && `${label}\n`, hideHelperText && `${helperText}\n`, `${this.defaultHelperText}.`), hAsync("span", { key: '07594031d5f4078fc73493dea18e50477a2f7cc1', id: this.assistiveHintId, class: "sr-only", "aria-hidden": "true" }, assistiveHint), hAsync("span", { key: '368dda131a6b87269d0789d5c9c8eb7739c79ddd', id: "live-region", "aria-live": "assertive", class: "sr-only" }), hAsync("ic-input-component-container", { key: 'fdae26254c31f9d00eb43ad951df77f8c22498e7', id: inputId, ref: (el) => (this.inputCompContainerEl = el), disabled: disabled, validationStatus: validationStatus, size: size, role: "group", class: { [`ic-theme-${theme}`]: theme !== "inherit" } }, hAsync("div", { key: '3969cc96892663be7e7a4ece8eda8a8960edc156', class: "input-container" }, hAsync("div", { key: '983e2d740c97837800591f11dae903525586b50d', class: "time-inputs" }, [
23643
25145
  this.getInputsInOrder()[0],
23644
25146
  ":",
23645
25147
  this.getInputsInOrder()[1],
23646
25148
  !this.isHHMMFormat()
23647
25149
  ? [":", this.getInputsInOrder()[2]]
23648
25150
  : null,
23649
- ]), hAsync("div", { key: '508be4617c9d5bdd08fabad5eded1a94dcb9e659', class: "action-buttons" }, showClearButton && (hAsync("ic-button", { key: 'ad5c9ecd381947bec5aec738bfbc0680c360f2ab', id: "clear-button", "aria-label": "Clear input", class: {
25151
+ ]), hAsync("div", { key: '16b324e251f1e6441f44a4acb79f5fb6afe8da7b', class: "action-buttons" }, showClearButton && (hAsync("ic-button", { key: '62d73f8dcc167328cf0bc07aa70c3a4c2dfb5342', id: "clear-button", "aria-label": "Clear input", class: {
23650
25152
  ["clear-button"]: true,
23651
25153
  ["hidden"]: isEmptyString(this.hour) &&
23652
25154
  isEmptyString(this.minute) &&
23653
25155
  isEmptyString(this.second),
23654
- }, disabled: this.disabled, innerHTML: Clear$1, onClick: this.handleClear, onFocus: this.handleClearFocus, onBlur: this.handleClearBlur, variant: "icon-tertiary", theme: this.clearButtonFocused ? "light" : "dark", size: size })), showClockButton && (hAsync("div", { key: '38c7534df37f29db9273b165193c784e364f8b2a', class: "show-clock-button-wrapper" }, hAsync("div", { key: '20b447295797a275fc37469045891d0e456873ed', class: { divider: showDivider, [size]: true } }), hAsync("ic-button", { key: 'b2cfad7af3b6a582e4633e4b519b0d940df53bf6', id: "clock-button", "aria-label": "Display clock", "aria-haspopup": "dialog", class: "clock-button", disabled: this.disabled, innerHTML: Clock, variant: "icon-tertiary", size: size, onFocus: this.handleClockFocus, onBlur: this.handleClockBlur, theme: this.clockFocused ? "light" : "dark" })))))), hAsync("span", { key: '29117a343282c60d5554da7e93fd730ee0fc9f73', id: this.selectedTimeInfoId, class: "sr-only", "aria-live": "polite" }, hAsync("span", { key: '741936fd61e72d7a116db2d09a4d0b4aca52af0e', ref: (el) => (this.selectedTimeInfoEl = el), role: "status" })), (hasCustomValidation || !isEmptyString(this.invalidTimeText)) && (hAsync("ic-input-validation", { key: '836cb0b14412f8f74bf73833897eb9be7355b636', status: validationStatus, message: hasCustomValidation ? this.validationText : this.invalidTimeText, for: inputId })))));
25156
+ }, disabled: this.disabled, innerHTML: Clear$1, onClick: this.handleClear, onFocus: this.handleClearFocus, onBlur: this.handleClearBlur, variant: "icon-tertiary", theme: this.clearButtonFocused ? "light" : "dark", size: size })), showClockButton && (hAsync("div", { key: 'db0a978012dd1cdf299d8faf2d7cfb9784bdc793', class: "show-clock-button-wrapper" }, hAsync("div", { key: '3bb6324433b0e3c64e29851bb2aca866a9d30012', class: { divider: showDivider, [size]: true } }), hAsync("ic-button", { key: 'd73bc11220a5471b313e863e079cf91a7eeabca9', id: "clock-button", "aria-label": "Display clock", "aria-haspopup": "dialog", class: "clock-button", disabled: this.disabled, innerHTML: Clock, variant: "icon-tertiary", size: size, onFocus: this.handleClockFocus, onBlur: this.handleClockBlur, theme: this.clockFocused ? "light" : "dark" })))))), hAsync("span", { key: '03dd9556cf15a1645112922bc5c5a22190deb14f', id: this.selectedTimeInfoId, class: "sr-only", "aria-live": "polite" }, hAsync("span", { key: '0df9e0c4bb1ee1058643e927556246907041b5e2', ref: (el) => (this.selectedTimeInfoEl = el), role: "status" })), hAsync("ic-input-validation", { key: 'bd18e257fa39d093878dc64fc2466cdbd27c93a3', status: validationStatus, message: hasCustomValidation ? this.validationText : this.invalidTimeText, for: inputId, ariaLiveMode: validationAriaLive }))));
23655
25157
  }
23656
25158
  static get delegatesFocus() { return true; }
23657
25159
  get el() { return getElement(this); }
@@ -23689,6 +25191,7 @@ class TimeInput {
23689
25191
  "timeFormat": [1, "time-format"],
23690
25192
  "timePeriod": [1, "time-period"],
23691
25193
  "value": [1025],
25194
+ "validationAriaLive": [1, "validation-aria-live"],
23692
25195
  "validationStatus": [1025, "validation-status"],
23693
25196
  "validationText": [1, "validation-text"],
23694
25197
  "invalidTimeText": [32],
@@ -24720,7 +26223,7 @@ class Tooltip {
24720
26223
  }; }
24721
26224
  }
24722
26225
 
24723
- const icTopNavigationCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;color:var(--ic-top-navigation-text);width:100%;position:relative;--ic-typography-color:var(--ic-top-navigation-text);--ic-button-secondary-text-monochrome:var(--ic-brand-text-color);--ic-button-secondary-border-monochrome:var(--ic-brand-text-color);--navigation-link-colour:var(--ic-top-navigation-text)}:host(.dark){color:var(--ic-color-text-primary-light);--ic-typography-color:var(--ic-color-text-primary-light);--ic-top-navigation-logo:var(--ic-color-icon-neutral);--ic-top-navigation-icon:var(--ic-color-icon-neutral);--ic-top-navigation-icon-and-label:var(--ic-color-text-primary-light);--ic-top-navigation-theme:var(--ic-color-icon-neutral);--ic-top-navigation-status-tag:var(--ic-color-background-primary-dark);--ic-top-navigation-status-tag-text:var(--ic-color-brand-text);--ic-top-navigation-status-tag-secondary:var(--ic-state-layer-darken-10);--ic-top-navigation-title-hover:var(--ic-action-dark-bg-hover);--ic-top-navigation-title-pressed:var(--ic-action-dark-bg-pressed);--navigation-link-colour:var(--ic-color-text-primary-light)}:host(.dark) ::slotted(ic-navigation-button){--ic-button-icon-monochrome:var(--ic-color-text-primary-light)}::slotted(ic-navigation-button){--ic-button-icon-monochrome:white}:host .top-navigation{background-color:var(--ic-top-navigation-background);height:-moz-max-content;height:max-content}:host(.fullwidth-searchbar) slot[name=\"search\"]::slotted(form){width:100%}:host .title-link{display:inline-flex;align-items:center;text-decoration:none;padding:var(--ic-space-xxs);transition:var(--ic-easing-transition-fast)}:host .title-link,:host .title-link:visited,:host .title-link:active,:host .title-link ::slotted(a),:host .title-link:visited ::slotted(a),:host .title-link:active ::slotted(a){color:var(--ic-top-navigation-icon-and-label);text-decoration:none;outline:none}:host .title-link:hover:not(:focus){background-color:var(--ic-top-navigation-title-hover)}:host .title-link:active:not(:focus){background-color:var(--ic-top-navigation-title-pressed)}:host .title-link:hover{border-radius:var(--ic-border-radius)}:host .title-link:focus,:host .title-link:focus-within{border-radius:var(--ic-border-radius);box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}:host .title-link ic-typography{font-weight:600}:host .nav-panel-container{border-top:var(--ic-space-1px) solid var(--ic-top-navigation-keyline);padding:0 var(--ic-space-lg);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin));display:flex}:host(.dark) .nav-panel-container{border-top:var(--ic-border-keyline-darken)}.top-panel-container{display:flex;padding-top:0.5rem;padding-bottom:0.5rem}.navigation-tabs{margin-top:calc(-1 * var(--ic-space-1px))}.app-details-container{display:flex;align-items:center;flex:1 1 auto;margin-right:var(--ic-space-md)}.app-icon-container{display:flex;padding-right:var(--ic-space-xs)}.icon-buttons-container{display:flex;margin-left:var(--ic-space-md)}.icon-buttons-container ::slotted(nav){display:flex}.title-wrap{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}:host .app-status{border-radius:var(--ic-space-md);background-color:var(--ic-top-navigation-status-tag);color:var(--ic-top-navigation-status-tag-text);--ic-typography-color:var(--ic-top-navigation-status-tag-text);padding:var(--ic-space-xxs) var(--ic-space-lg);margin-left:var(--ic-space-md);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content}:host .app-version{border-radius:var(--ic-space-md);background-color:var(--ic-top-navigation-status-tag-secondary);color:var(--ic-top-navigation-status-tag);padding:var(--ic-space-xxs) var(--ic-space-sm);margin-left:var(--ic-space-xs);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content}slot[name=\"app-icon\"]::slotted(*){fill:var(--ic-top-navigation-logo);width:2em;height:2em;cursor:pointer}slot[name=\"toggle-icon\"] svg{fill:var(--ic-top-navigation-icon)}.search-menu-container{justify-content:right;display:flex;align-items:center}.menu-button-container{margin-left:var(--ic-space-md)}.menu-button-container .navigation-landmark-button-text{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}.menu-button-container .navigation-landmark-button-text:dir(rtl){right:-9999px}.search-actions-container{display:flex}.menu-buttons-slot{display:flex;flex-direction:column}.navigation-landmark-text{position:absolute;width:var(--ic-space-1px);height:var(--ic-space-1px);padding:0;margin:calc(-1 * var(--ic-space-1px));overflow:hidden}.navigation-item-list{display:flex;list-style:none;height:2.75rem}.navigation-item-list::-webkit-scrollbar{display:none}:host ic-section-container{padding-bottom:0 !important;padding-top:0 !important}@media screen and (min-width: 993px){.app-details-container{margin-right:var(--ic-space-lg)}}@media screen and (max-width: 1200px){:host .nav-panel-container{padding:0 var(--ic-space-md)}}:host(.mobile-mode) .app-status,:host(.mobile-mode) .app-version{display:none}:host(.mobile-mode) .title-link{margin-right:var(--ic-space-xs)}:host(.mobile-mode) .search-menu-container{max-width:10rem}:host(.mobile-mode) .search-bar-container{display:flex;justify-content:center;align-items:center;border-top:var(--ic-border-keyline-darken);height:4rem;padding-left:var(--ic-space-md);padding-right:var(--ic-space-md);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin))}@media screen and (max-width: 576px){:host .title-link{margin-right:var(--ic-space-xxxs);word-break:break-word;-webkit-hyphens:none;hyphens:none}.top-panel-container{min-height:2.5rem}.search-bar-container{margin-top:0;height:3.5rem;padding-left:var(--ic-space-xs);padding-right:var(--ic-space-xs)}.menu-button-container{margin-left:var(--ic-space-sm)}slot[name=\"app-icon\"]::slotted(*){width:1.5em;height:1.5em}slot[name=\"toggle-icon\"] svg{width:1.5em;height:1.5em}}@media (forced-colors: active){:host .top-navigation{border-bottom:var(--ic-border-hc)}.app-status,.app-version{border:var(--ic-border-hc)}slot[name=\"app-icon\"]::slotted(*){fill:currentcolor}slot[name=\"toggle-icon\"] svg{fill:currentcolor}}";
26226
+ const icTopNavigationCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;color:var(--ic-top-navigation-text);width:100%;position:relative;--ic-typography-color:var(--ic-top-navigation-text);--ic-button-secondary-text-monochrome:var(--ic-brand-text-color);--ic-button-secondary-border-monochrome:var(--ic-brand-text-color);--navigation-link-colour:var(--ic-top-navigation-text);--ic-top-navigation-status-tag-text:var(--ic-color-text-primary-light);--ic-top-navigation-status-tag-secondary:var(--ic-state-layer-lighten-20)}:host(.dark){--ic-top-navigation-status-tag-text:var(--ic-color-text-primary-dark);--ic-top-navigation-status-tag-secondary:var(--ic-state-layer-darken-10);--ic-top-navigation-title-hover:var(--ic-action-dark-bg-hover);--ic-top-navigation-title-pressed:var(--ic-action-dark-bg-pressed)}:host(.dark) ::slotted(ic-navigation-button){--ic-button-icon-monochrome:var(--ic-color-text-primary-light)}::slotted(ic-navigation-button){--ic-button-icon-monochrome:white}:host .top-navigation{background-color:var(--ic-top-navigation-background);height:-moz-max-content;height:max-content}:host(.fullwidth-searchbar) slot[name=\"search\"]::slotted(form){width:100%}:host .title-link{display:inline-flex;align-items:center;text-decoration:none;padding:var(--ic-space-xxs);transition:var(--ic-easing-transition-fast)}:host .title-link,:host .title-link:visited,:host .title-link:active,:host .title-link ::slotted(a),:host .title-link:visited ::slotted(a),:host .title-link:active ::slotted(a){color:var(--ic-top-navigation-icon-and-label);text-decoration:none;outline:none;--ic-typography-color:var(--ic-top-navigation-icon-and-label)}:host .title-link:hover:not(:focus){background-color:var(--ic-top-navigation-title-hover)}:host .title-link:active:not(:focus){background-color:var(--ic-top-navigation-title-pressed)}:host .title-link:hover{border-radius:var(--ic-border-radius)}:host .menu-button-container{--ic-button-secondary-text-monochrome:var(--ic-brand-text-color);--ic-button-secondary-border-monochrome:var(--ic-brand-text-color)}:host .title-link:focus,:host .title-link:focus-within{border-radius:var(--ic-border-radius);box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline)}:host .title-link ic-typography{font-weight:600}:host .nav-panel-container{border-top:var(--ic-space-1px) solid var(--ic-top-navigation-keyline);padding:0 var(--ic-space-lg);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin));display:flex}:host(.dark) .nav-panel-container{border-top:var(--ic-border-keyline-darken)}.top-panel-container{display:flex;padding-top:0.5rem;padding-bottom:0.5rem}.navigation-tabs{margin-top:calc(-1 * var(--ic-space-1px))}.app-details-container{display:flex;align-items:center;flex:1 1 auto;margin-right:var(--ic-space-md)}.app-icon-container{display:flex;padding-right:var(--ic-space-xs)}.icon-buttons-container{display:flex;margin-left:var(--ic-space-md)}.icon-buttons-container ::slotted(nav){display:flex}.title-wrap{overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}:host .app-status{border-radius:var(--ic-space-md);background-color:var(--ic-top-navigation-status-tag);color:var(--ic-top-navigation-status-tag-text);--ic-typography-color:var(--ic-top-navigation-status-tag-text);padding:var(--ic-space-xxs) var(--ic-space-lg);margin-left:var(--ic-space-md);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content}:host .app-version{border-radius:var(--ic-space-md);background-color:var(--ic-top-navigation-status-tag-secondary);color:var(--ic-top-navigation-status-tag);padding:var(--ic-space-xxs) var(--ic-space-sm);margin-left:var(--ic-space-xs);flex:1 1 0;max-width:-moz-fit-content;max-width:fit-content;--ic-typography-color:var(--ic-top-navigation-status-tag)}slot[name=\"app-icon\"]::slotted(*){fill:var(--ic-top-navigation-logo);width:2em;height:2em;cursor:pointer}slot[name=\"toggle-icon\"] svg{fill:var(--ic-top-navigation-icon)}.search-menu-container{justify-content:right;display:flex;align-items:center}.menu-button-container{margin-left:var(--ic-space-md)}.menu-button-container .navigation-landmark-button-text{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;color:var(--ic-brand-text-color)}.menu-button-container .navigation-landmark-button-text:dir(rtl){right:-9999px}.search-actions-container{display:flex}.menu-buttons-slot{display:flex;flex-direction:column}.navigation-landmark-text{position:absolute;width:var(--ic-space-1px);height:var(--ic-space-1px);padding:0;margin:calc(-1 * var(--ic-space-1px));overflow:hidden}.navigation-item-list{display:flex;list-style:none;height:2.75rem}.navigation-item-list::-webkit-scrollbar{display:none}:host ic-section-container{padding-bottom:0 !important;padding-top:0 !important}@media screen and (min-width: 993px){.app-details-container{margin-right:var(--ic-space-lg)}}@media screen and (max-width: 1200px){:host .nav-panel-container{padding:0 var(--ic-space-md)}}:host(.mobile-mode) .app-status,:host(.mobile-mode) .app-version{display:none}:host(.mobile-mode) .title-link{margin-right:var(--ic-space-xs)}:host(.mobile-mode) .search-menu-container{max-width:10rem}:host(.mobile-mode) .search-bar-container{display:flex;justify-content:center;align-items:center;border-top:var(--ic-border-keyline-darken);height:4rem;padding-left:var(--ic-space-md);padding-right:var(--ic-space-md);margin-left:calc(-1 * var(--section-container-margin));margin-right:calc(-1 * var(--section-container-margin))}@media screen and (max-width: 576px){:host .title-link{margin-right:var(--ic-space-xxxs);word-break:break-word;-webkit-hyphens:none;hyphens:none}.top-panel-container{min-height:2.5rem}.search-bar-container{margin-top:0;height:3.5rem;padding-left:var(--ic-space-xs);padding-right:var(--ic-space-xs)}.menu-button-container{margin-left:var(--ic-space-sm)}slot[name=\"app-icon\"]::slotted(*){width:1.5em;height:1.5em}slot[name=\"toggle-icon\"] svg{width:1.5em;height:1.5em}}@media (forced-colors: active){:host .top-navigation{border-bottom:var(--ic-border-hc)}.app-status,.app-version{border:var(--ic-border-hc)}slot[name=\"app-icon\"]::slotted(*){fill:currentcolor}slot[name=\"toggle-icon\"] svg{fill:currentcolor}}";
24724
26227
  var IcTopNavigationStyle0 = icTopNavigationCss;
24725
26228
 
24726
26229
  /**
@@ -25622,7 +27125,7 @@ class TreeView {
25622
27125
  if (icon) {
25623
27126
  const iconSlot = document.createElement("div");
25624
27127
  iconSlot.setAttribute("slot", "icon");
25625
- iconSlot.innerHTML = icon;
27128
+ iconSlot.innerHTML = sanitizeHTMLIconString$1(icon);
25626
27129
  treeItem.appendChild(iconSlot);
25627
27130
  }
25628
27131
  parentElement.appendChild(treeItem);
@@ -25642,14 +27145,14 @@ class TreeView {
25642
27145
  }
25643
27146
  render() {
25644
27147
  const { heading, isLoaded, size, theme, truncateHeading } = this;
25645
- return (hAsync(Host, { key: 'de6ecc695e3b57a10b899551155ab72dbb7ba5bd', "context-id": this.treeViewId, class: {
27148
+ return (hAsync(Host, { key: '414d715e703585390a75012284474a32406b4c33', "context-id": this.treeViewId, class: {
25646
27149
  [`ic-tree-view-${size}`]: size !== "medium",
25647
27150
  [`ic-theme-${theme}`]: theme !== "inherit",
25648
27151
  "ic-tree-view-truncate": truncateHeading,
25649
- }, onKeyDown: this.handleKeyDown, "aria-label": this.isHeadingDefined() ? heading : null }, this.hasHeadingAreaContent() && (hAsync("div", { key: 'b68665cc013e59e41858a5a100203dfc1fb16fd2', class: "heading-area-container" }, isSlotUsed(this.el, "icon") && (hAsync("div", { key: '03478968b0dba690043e582df5dfb3a72aac4617', class: "icon-container" }, hAsync("slot", { key: '46b179bd4ddf9ee8f90dfe7674c88f74e4e0762a', name: "icon" }))), hAsync("ic-typography", { key: '2581ccd88d25ecc56abdb5dd89648b1a42514324', variant: "subtitle-large", class: {
27152
+ }, onKeyDown: this.handleKeyDown, "aria-label": this.isHeadingDefined() ? heading : null }, this.hasHeadingAreaContent() && (hAsync("div", { key: '61415865200f228d82d4530f5e10b048743784c0', class: "heading-area-container" }, isSlotUsed(this.el, "icon") && (hAsync("div", { key: '6f27b38e2c407bd061d7269dc196abfa0e4a383c', class: "icon-container" }, hAsync("slot", { key: '648111ac2e052d29cbaa1574d1c21fcdd24c3fff', name: "icon" }))), hAsync("ic-typography", { key: '37a578333ada372b77e2647f4f42ecac9897d16a', variant: "subtitle-large", class: {
25650
27153
  "tree-view-header": true,
25651
27154
  "with-padding": this.truncateHeading && !isLoaded,
25652
- } }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (heading)))), hAsync("slot", { key: '010da125696264dc0c3a98c623a06be2545d61cf' })));
27155
+ } }, isSlotUsed(this.el, "heading") ? (hAsync("slot", { name: "heading" })) : (heading)))), hAsync("slot", { key: '3039892aa557a89cbe9caf6c141c6b6254db5077' })));
25653
27156
  }
25654
27157
  get el() { return getElement(this); }
25655
27158
  static get watchers() { return {