@gov-design-system-ce/components 0.0.58 → 0.0.60

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 (416) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/gov-app.cjs.entry.js +174 -37
  3. package/dist/cjs/gov-app.cjs.entry.js.map +1 -1
  4. package/dist/cjs/gov-backdrop.cjs.entry.js.map +1 -1
  5. package/dist/cjs/gov-badge.cjs.entry.js +1 -1
  6. package/dist/cjs/gov-badge.cjs.entry.js.map +1 -1
  7. package/dist/cjs/gov-button.cjs.entry.js +1 -1
  8. package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
  9. package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
  10. package/dist/cjs/gov-dropdown.cjs.entry.js.map +1 -1
  11. package/dist/cjs/gov-form-autocomplete.cjs.entry.js +15 -15
  12. package/dist/cjs/gov-form-autocomplete.cjs.entry.js.map +1 -1
  13. package/dist/cjs/gov-form-checkbox.cjs.entry.js +2 -2
  14. package/dist/cjs/gov-form-checkbox.cjs.entry.js.map +1 -1
  15. package/dist/cjs/gov-form-file.cjs.entry.js +1 -1
  16. package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
  17. package/dist/cjs/gov-form-input.cjs.entry.js +1 -1
  18. package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
  19. package/dist/cjs/gov-form-label.cjs.entry.js +1 -1
  20. package/dist/cjs/gov-form-label.cjs.entry.js.map +1 -1
  21. package/dist/cjs/gov-form-multi-select.cjs.entry.js +29 -24
  22. package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
  23. package/dist/cjs/gov-form-radio.cjs.entry.js +1 -1
  24. package/dist/cjs/gov-form-radio.cjs.entry.js.map +1 -1
  25. package/dist/cjs/gov-form-select.cjs.entry.js +18 -17
  26. package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
  27. package/dist/cjs/gov-form-switch.cjs.entry.js +2 -2
  28. package/dist/cjs/gov-form-switch.cjs.entry.js.map +1 -1
  29. package/dist/cjs/gov-icon.cjs.entry.js +2 -2
  30. package/dist/cjs/gov-icon.cjs.entry.js.map +1 -1
  31. package/dist/cjs/gov-infobar.cjs.entry.js +90 -0
  32. package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -0
  33. package/dist/cjs/gov-pagination.cjs.entry.js +1 -1
  34. package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
  35. package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
  36. package/dist/cjs/gov-stepper-item.cjs.entry.js.map +1 -1
  37. package/dist/cjs/gov-toast.cjs.entry.js +5 -2
  38. package/dist/cjs/gov-toast.cjs.entry.js.map +1 -1
  39. package/dist/cjs/gov-tooltip-content.cjs.entry.js +16 -4
  40. package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -1
  41. package/dist/cjs/gov-tooltip.cjs.entry.js +73 -46
  42. package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
  43. package/dist/cjs/gov-wizard-item.cjs.entry.js +1 -1
  44. package/dist/cjs/gov-wizard-item.cjs.entry.js.map +1 -1
  45. package/dist/cjs/index-83edd4fe.js +4 -4
  46. package/dist/cjs/loader.cjs.js +1 -1
  47. package/dist/collection/collection-manifest.json +1 -1
  48. package/dist/collection/components/gov-accordion/gov-accordion-item.css +1 -1
  49. package/dist/collection/components/gov-accordion/gov-accordion.css +1 -1
  50. package/dist/collection/components/gov-app/gov-app.css +1 -1
  51. package/dist/collection/components/gov-app/gov-app.js +2 -2
  52. package/dist/collection/components/gov-app/gov-app.js.map +1 -1
  53. package/dist/collection/components/gov-attachments/gov-attachments-item.css +1 -1
  54. package/dist/collection/components/gov-attachments/gov-attachments.css +1 -1
  55. package/dist/collection/components/gov-backdrop/gov-backdrop.css +1 -1
  56. package/dist/collection/components/gov-backdrop/gov-backdrop.js.map +1 -1
  57. package/dist/collection/components/gov-badge/gov-badge.css +41 -11
  58. package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +1 -1
  59. package/dist/collection/components/gov-button/default/gov-button.css +10 -1
  60. package/dist/collection/components/gov-button/dropdown/gov-dropdown.css +1 -3
  61. package/dist/collection/components/gov-card/gov-card.css +1 -1
  62. package/dist/collection/components/gov-container/gov-container.css +1 -1
  63. package/dist/collection/components/gov-control-group/gov-control-group.css +1 -1
  64. package/dist/collection/components/gov-cookiebar/gov-cookiebar.css +1 -1
  65. package/dist/collection/components/gov-empty/gov-empty.css +1 -1
  66. package/dist/collection/components/gov-error-code/gov-error-code.css +1 -1
  67. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.css +1 -1
  68. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js +24 -23
  69. package/dist/collection/components/gov-form/autocomplete/gov-form-autocomplete.js.map +1 -1
  70. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.css +1 -1
  71. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js +5 -4
  72. package/dist/collection/components/gov-form/checkbox/gov-form-checkbox.js.map +1 -1
  73. package/dist/collection/components/gov-form/control/gov-form-control.css +1 -1
  74. package/dist/collection/components/gov-form/file/gov-form-file.css +1 -1
  75. package/dist/collection/components/gov-form/file/gov-form-file.js +4 -3
  76. package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
  77. package/dist/collection/components/gov-form/group/gov-form-group.css +1 -1
  78. package/dist/collection/components/gov-form/input/gov-form-input.css +1 -1
  79. package/dist/collection/components/gov-form/input/gov-form-input.js +4 -3
  80. package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
  81. package/dist/collection/components/gov-form/label/gov-form-label.css +5 -1
  82. package/dist/collection/components/gov-form/message/gov-form-message.css +1 -1
  83. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.css +49 -4
  84. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +87 -26
  85. package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
  86. package/dist/collection/components/gov-form/password-power/gov-form-password-power.css +1 -1
  87. package/dist/collection/components/gov-form/radio/gov-form-radio.css +1 -1
  88. package/dist/collection/components/gov-form/radio/gov-form-radio.js +4 -3
  89. package/dist/collection/components/gov-form/radio/gov-form-radio.js.map +1 -1
  90. package/dist/collection/components/gov-form/search/gov-form-search.css +1 -1
  91. package/dist/collection/components/gov-form/select/gov-form-select.css +49 -1
  92. package/dist/collection/components/gov-form/select/gov-form-select.js +39 -20
  93. package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
  94. package/dist/collection/components/gov-form/switch/gov-form-switch.css +1 -1
  95. package/dist/collection/components/gov-form/switch/gov-form-switch.js +5 -4
  96. package/dist/collection/components/gov-form/switch/gov-form-switch.js.map +1 -1
  97. package/dist/collection/components/gov-grid/gov-grid-item.css +1 -1
  98. package/dist/collection/components/gov-grid/gov-grid.css +1 -1
  99. package/dist/collection/components/gov-icon/gov-icon.css +3 -1
  100. package/dist/collection/components/gov-infobar/default/constants.js +12 -0
  101. package/dist/collection/components/gov-infobar/default/constants.js.map +1 -0
  102. package/dist/collection/components/gov-infobar/default/gov-infobar.css +384 -0
  103. package/dist/collection/components/{gov-alert/gov-alert.js → gov-infobar/default/gov-infobar.js} +27 -27
  104. package/dist/collection/components/gov-infobar/default/gov-infobar.js.map +1 -0
  105. package/dist/collection/components/gov-infobar/default/gov-infobar.types.js +2 -0
  106. package/dist/collection/components/gov-infobar/default/gov-infobar.types.js.map +1 -0
  107. package/dist/collection/components/gov-layout/gov-layout-column.css +1 -1
  108. package/dist/collection/components/gov-layout/gov-layout.css +1 -1
  109. package/dist/collection/components/gov-loading/loading/gov-loading.css +1 -1
  110. package/dist/collection/components/gov-loading/skeleton/gov-skeleton.css +1 -1
  111. package/dist/collection/components/gov-message/gov-message.css +1 -1
  112. package/dist/collection/components/gov-modal/gov-modal.css +1 -1
  113. package/dist/collection/components/gov-nav/gov-nav-item.css +1 -1
  114. package/dist/collection/components/gov-nav/gov-nav.css +1 -1
  115. package/dist/collection/components/gov-pagination/gov-pagination.css +2 -2
  116. package/dist/collection/components/gov-promp/gov-prompt.css +1 -1
  117. package/dist/collection/components/gov-side-nav/gov-side-nav-item.css +1 -1
  118. package/dist/collection/components/gov-side-nav/gov-side-nav.css +1 -1
  119. package/dist/collection/components/gov-spacer/gov-spacer.css +1 -1
  120. package/dist/collection/components/gov-statsbar/gov-statsbar-item.css +1 -1
  121. package/dist/collection/components/gov-statsbar/gov-statsbar.css +1 -1
  122. package/dist/collection/components/gov-stepper/gov-stepper-item.css +2 -1
  123. package/dist/collection/components/gov-stepper/gov-stepper.css +1 -1
  124. package/dist/collection/components/gov-tabs/gov-tabs-item.css +1 -1
  125. package/dist/collection/components/gov-tabs/gov-tabs.css +1 -1
  126. package/dist/collection/components/gov-tile/container/gov-tiles.css +1 -1
  127. package/dist/collection/components/gov-tile/gov-tile.css +1 -1
  128. package/dist/collection/components/gov-toast/gov-toast.css +2 -2
  129. package/dist/collection/components/gov-toast/gov-toast.js +4 -1
  130. package/dist/collection/components/gov-toast/gov-toast.js.map +1 -1
  131. package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +32 -27
  132. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js +101 -5
  133. package/dist/collection/components/gov-tooltip/gov-tooltip-content.js.map +1 -1
  134. package/dist/collection/components/gov-tooltip/gov-tooltip.css +1 -17
  135. package/dist/collection/components/gov-tooltip/gov-tooltip.js +83 -51
  136. package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
  137. package/dist/collection/components/gov-wizard/gov-wizard-item.css +2 -4
  138. package/dist/collection/components/gov-wizard/gov-wizard.css +1 -1
  139. package/dist/collection/data/color-definitions.js +307 -0
  140. package/dist/collection/data/font-definitions.js +94 -0
  141. package/dist/collection/pages/Card.js +11 -9
  142. package/dist/collection/pages/Card.js.map +1 -1
  143. package/dist/collection/pages/Forms.js +75 -0
  144. package/dist/collection/pages/Forms.js.map +1 -1
  145. package/dist/collection/pages/Home.js +43 -1
  146. package/dist/collection/pages/Home.js.map +1 -1
  147. package/dist/collection/pages/{Alert.js → Infobar.js} +42 -27
  148. package/dist/collection/pages/Infobar.js.map +1 -0
  149. package/dist/collection/pages/Stepper.js +3 -0
  150. package/dist/collection/pages/Stepper.js.map +1 -1
  151. package/dist/components/gov-accordion-item.js +1 -1
  152. package/dist/components/gov-app.js +1 -1
  153. package/dist/components/gov-app.js.map +1 -1
  154. package/dist/components/gov-attachments-item.js +1 -1
  155. package/dist/components/gov-badge.js +1 -1
  156. package/dist/components/gov-button.js +1 -1
  157. package/dist/components/gov-card.js +1 -1
  158. package/dist/components/gov-dropdown.js +1 -1
  159. package/dist/components/gov-dropdown.js.map +1 -1
  160. package/dist/components/gov-form-autocomplete.js +1 -1
  161. package/dist/components/gov-form-checkbox.js +1 -1
  162. package/dist/components/gov-form-checkbox.js.map +1 -1
  163. package/dist/components/gov-form-file.js +1 -1
  164. package/dist/components/gov-form-file.js.map +1 -1
  165. package/dist/components/gov-form-input.js +1 -1
  166. package/dist/components/gov-form-label.js +1 -1
  167. package/dist/components/gov-form-label.js.map +1 -1
  168. package/dist/components/gov-form-multi-select.js +1 -1
  169. package/dist/components/gov-form-multi-select.js.map +1 -1
  170. package/dist/components/gov-form-radio.js +1 -1
  171. package/dist/components/gov-form-radio.js.map +1 -1
  172. package/dist/components/gov-form-select.js +1 -1
  173. package/dist/components/gov-form-switch.js +1 -1
  174. package/dist/components/gov-form-switch.js.map +1 -1
  175. package/dist/components/gov-icon.js +1 -1
  176. package/dist/components/{gov-alert.d.ts → gov-infobar.d.ts} +4 -4
  177. package/dist/components/gov-infobar.js +2 -0
  178. package/dist/components/gov-infobar.js.map +1 -0
  179. package/dist/components/gov-loading.js +1 -1
  180. package/dist/components/gov-modal.js +1 -1
  181. package/dist/components/gov-pagination.js +1 -1
  182. package/dist/components/gov-pagination.js.map +1 -1
  183. package/dist/components/gov-prompt.js +1 -1
  184. package/dist/components/gov-side-nav-item.js +1 -1
  185. package/dist/components/gov-stepper-item.js +1 -1
  186. package/dist/components/gov-stepper-item.js.map +1 -1
  187. package/dist/components/gov-tabs.js +1 -1
  188. package/dist/components/gov-tile.js +1 -1
  189. package/dist/components/gov-toast.js +1 -1
  190. package/dist/components/gov-toast.js.map +1 -1
  191. package/dist/components/gov-tooltip-content.js +1 -1
  192. package/dist/components/gov-tooltip-content.js.map +1 -1
  193. package/dist/components/gov-tooltip.js +1 -1
  194. package/dist/components/gov-tooltip.js.map +1 -1
  195. package/dist/components/gov-wizard-item.js +1 -1
  196. package/dist/components/gov-wizard-item.js.map +1 -1
  197. package/dist/components/p-010f8351.js +2 -0
  198. package/dist/components/{p-35f6490a.js.map → p-010f8351.js.map} +1 -1
  199. package/dist/components/p-3e8a9e92.js.map +1 -1
  200. package/dist/components/p-4981dc67.js +2 -0
  201. package/dist/components/p-4981dc67.js.map +1 -0
  202. package/dist/components/{p-0378da4d.js → p-8d44ca3c.js} +2 -2
  203. package/dist/components/p-8d44ca3c.js.map +1 -0
  204. package/dist/components/{p-da3b225f.js → p-9231ec61.js} +2 -2
  205. package/dist/components/p-9231ec61.js.map +1 -0
  206. package/dist/components/{p-404f469e.js → p-9a4c910d.js} +2 -2
  207. package/dist/components/{p-70d9d879.js → p-a3d3943d.js} +2 -2
  208. package/dist/components/p-a3d3943d.js.map +1 -0
  209. package/dist/components/{p-9cba3cd3.js → p-b00d2836.js} +2 -2
  210. package/dist/components/{p-a6915747.js → p-b9447c86.js} +2 -2
  211. package/dist/components/p-b9447c86.js.map +1 -0
  212. package/dist/core/core.css +1 -1
  213. package/dist/core/core.esm.js +1 -1
  214. package/dist/core/core.esm.js.map +1 -1
  215. package/dist/core/p-0553eb92.entry.js +2 -0
  216. package/dist/core/p-0553eb92.entry.js.map +1 -0
  217. package/dist/core/{p-3d0ab343.entry.js → p-0c57e410.entry.js} +2 -2
  218. package/dist/core/{p-d4cfa93a.entry.js → p-19a54ee9.entry.js} +2 -2
  219. package/dist/core/p-19a54ee9.entry.js.map +1 -0
  220. package/dist/core/p-19b897c0.entry.js +2 -0
  221. package/dist/core/p-19b897c0.entry.js.map +1 -0
  222. package/dist/core/{p-69f944d1.entry.js → p-1c40fdd5.entry.js} +2 -2
  223. package/dist/core/p-1c40fdd5.entry.js.map +1 -0
  224. package/dist/core/{p-13624a77.entry.js → p-28f39f69.entry.js} +2 -2
  225. package/dist/core/p-28f39f69.entry.js.map +1 -0
  226. package/dist/core/{p-18ef9623.entry.js → p-2bf0c1c5.entry.js} +2 -2
  227. package/dist/core/{p-6a65af35.entry.js → p-32a4b7e3.entry.js} +2 -2
  228. package/dist/core/p-32a4b7e3.entry.js.map +1 -0
  229. package/dist/core/p-35c1c12c.entry.js +2 -0
  230. package/dist/core/p-35c1c12c.entry.js.map +1 -0
  231. package/dist/core/{p-bd1cb5bd.entry.js → p-4452c278.entry.js} +2 -2
  232. package/dist/core/{p-ae894a40.js → p-570ef4e5.js} +2 -2
  233. package/dist/core/p-5cc3e768.entry.js +2 -0
  234. package/dist/core/p-5cc3e768.entry.js.map +1 -0
  235. package/dist/core/{p-33bf5974.entry.js → p-7372b066.entry.js} +2 -2
  236. package/dist/core/{p-87aca157.entry.js → p-7702c8c2.entry.js} +2 -2
  237. package/dist/core/{p-9d72d80b.entry.js → p-7e8d2066.entry.js} +2 -2
  238. package/dist/core/{p-a5d00433.entry.js → p-7fa1290e.entry.js} +2 -2
  239. package/dist/core/p-80f5140b.entry.js +2 -0
  240. package/dist/core/{p-2944bf77.entry.js.map → p-80f5140b.entry.js.map} +1 -1
  241. package/dist/core/p-82b4b522.entry.js +2 -0
  242. package/dist/core/p-82b4b522.entry.js.map +1 -0
  243. package/dist/core/p-84f6b11a.entry.js +2 -0
  244. package/dist/core/{p-0c769f1a.entry.js.map → p-84f6b11a.entry.js.map} +1 -1
  245. package/dist/core/{p-41e88980.entry.js → p-93897e60.entry.js} +2 -2
  246. package/dist/core/{p-41e88980.entry.js.map → p-93897e60.entry.js.map} +1 -1
  247. package/dist/core/{p-cacd0fed.entry.js → p-998c3336.entry.js} +2 -2
  248. package/dist/core/{p-404f469e.js → p-9a4c910d.js} +2 -2
  249. package/dist/core/p-a7719b55.entry.js +2 -0
  250. package/dist/core/p-a7719b55.entry.js.map +1 -0
  251. package/dist/core/{p-9bfab069.entry.js → p-acd6a9f4.entry.js} +2 -2
  252. package/dist/core/p-acd6a9f4.entry.js.map +1 -0
  253. package/dist/core/{p-667dc3de.entry.js → p-afa12399.entry.js} +2 -2
  254. package/dist/core/{p-70140f70.entry.js → p-b0c97376.entry.js} +2 -2
  255. package/dist/core/p-b8c35c57.entry.js +2 -0
  256. package/dist/core/p-b8c35c57.entry.js.map +1 -0
  257. package/dist/core/p-bcf71ab5.entry.js +2 -0
  258. package/dist/core/p-bcf71ab5.entry.js.map +1 -0
  259. package/dist/core/{p-0c1697ce.entry.js → p-c4c9ff83.entry.js} +2 -2
  260. package/dist/core/p-c5d3efc2.entry.js +2 -0
  261. package/dist/core/{p-f8252fea.entry.js.map → p-c5d3efc2.entry.js.map} +1 -1
  262. package/dist/core/{p-af646ce2.entry.js → p-c61444f7.entry.js} +2 -2
  263. package/dist/core/p-c61444f7.entry.js.map +1 -0
  264. package/dist/core/p-d84b290e.entry.js +2 -0
  265. package/dist/core/p-d84b290e.entry.js.map +1 -0
  266. package/dist/core/{p-a85f4a62.entry.js → p-e2d6efaf.entry.js} +2 -2
  267. package/dist/core/p-e2d6efaf.entry.js.map +1 -0
  268. package/dist/core/{p-dd39ede4.entry.js → p-e5227e40.entry.js} +2 -2
  269. package/dist/core/{p-dd39ede4.entry.js.map → p-e5227e40.entry.js.map} +1 -1
  270. package/dist/core/{p-8fce08d1.entry.js → p-fab698a7.entry.js} +2 -2
  271. package/dist/core/p-fab698a7.entry.js.map +1 -0
  272. package/dist/esm/{constants-f7b618c2.js → constants-887c5391.js} +2 -2
  273. package/dist/esm/{constants-f7b618c2.js.map → constants-887c5391.js.map} +1 -1
  274. package/dist/esm/core.js +1 -1
  275. package/dist/esm/gov-accordion.entry.js +1 -1
  276. package/dist/esm/gov-app.entry.js +174 -37
  277. package/dist/esm/gov-app.entry.js.map +1 -1
  278. package/dist/esm/gov-attachments_3.entry.js +1 -1
  279. package/dist/esm/gov-backdrop.entry.js +1 -1
  280. package/dist/esm/gov-backdrop.entry.js.map +1 -1
  281. package/dist/esm/gov-badge.entry.js +1 -1
  282. package/dist/esm/gov-badge.entry.js.map +1 -1
  283. package/dist/esm/gov-breadcrumbs.entry.js +1 -1
  284. package/dist/esm/gov-button.entry.js +2 -2
  285. package/dist/esm/gov-button.entry.js.map +1 -1
  286. package/dist/esm/gov-card.entry.js +1 -1
  287. package/dist/esm/gov-dropdown.entry.js +1 -1
  288. package/dist/esm/gov-dropdown.entry.js.map +1 -1
  289. package/dist/esm/gov-form-autocomplete.entry.js +15 -15
  290. package/dist/esm/gov-form-autocomplete.entry.js.map +1 -1
  291. package/dist/esm/gov-form-checkbox.entry.js +3 -3
  292. package/dist/esm/gov-form-checkbox.entry.js.map +1 -1
  293. package/dist/esm/gov-form-file.entry.js +2 -2
  294. package/dist/esm/gov-form-file.entry.js.map +1 -1
  295. package/dist/esm/gov-form-input.entry.js +2 -2
  296. package/dist/esm/gov-form-input.entry.js.map +1 -1
  297. package/dist/esm/gov-form-label.entry.js +1 -1
  298. package/dist/esm/gov-form-label.entry.js.map +1 -1
  299. package/dist/esm/gov-form-multi-select.entry.js +30 -25
  300. package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
  301. package/dist/esm/gov-form-radio.entry.js +2 -2
  302. package/dist/esm/gov-form-radio.entry.js.map +1 -1
  303. package/dist/esm/gov-form-select.entry.js +19 -18
  304. package/dist/esm/gov-form-select.entry.js.map +1 -1
  305. package/dist/esm/gov-form-switch.entry.js +3 -3
  306. package/dist/esm/gov-form-switch.entry.js.map +1 -1
  307. package/dist/esm/gov-icon.entry.js +2 -2
  308. package/dist/esm/gov-icon.entry.js.map +1 -1
  309. package/dist/esm/gov-infobar.entry.js +86 -0
  310. package/dist/esm/gov-infobar.entry.js.map +1 -0
  311. package/dist/esm/gov-modal.entry.js +1 -1
  312. package/dist/esm/gov-nav.entry.js +1 -1
  313. package/dist/esm/gov-pagination.entry.js +2 -2
  314. package/dist/esm/gov-pagination.entry.js.map +1 -1
  315. package/dist/esm/gov-prompt.entry.js +1 -1
  316. package/dist/esm/gov-side-nav.entry.js +1 -1
  317. package/dist/esm/gov-skeleton.entry.js +1 -1
  318. package/dist/esm/gov-stepper-item.entry.js +1 -1
  319. package/dist/esm/gov-stepper-item.entry.js.map +1 -1
  320. package/dist/esm/gov-tabs.entry.js +1 -1
  321. package/dist/esm/gov-toast.entry.js +5 -2
  322. package/dist/esm/gov-toast.entry.js.map +1 -1
  323. package/dist/esm/gov-tooltip-content.entry.js +17 -5
  324. package/dist/esm/gov-tooltip-content.entry.js.map +1 -1
  325. package/dist/esm/gov-tooltip.entry.js +74 -47
  326. package/dist/esm/gov-tooltip.entry.js.map +1 -1
  327. package/dist/esm/gov-wizard-item.entry.js +1 -1
  328. package/dist/esm/gov-wizard-item.entry.js.map +1 -1
  329. package/dist/esm/gov-wizard.entry.js +1 -1
  330. package/dist/esm/index-ae3c50f1.js +4 -4
  331. package/dist/esm/loader.js +1 -1
  332. package/dist/esm/{wcag-062e7ca9.js → wcag-06bd4d01.js} +2 -2
  333. package/dist/esm/{wcag-062e7ca9.js.map → wcag-06bd4d01.js.map} +1 -1
  334. package/dist/globals.d.ts +2 -0
  335. package/dist/hydrate/index.js +461 -267
  336. package/dist/types/components/gov-app/gov-app.d.ts +1 -1
  337. package/dist/types/components/gov-backdrop/gov-backdrop.d.ts +1 -1
  338. package/dist/types/components/gov-form/autocomplete/gov-form-autocomplete.d.ts +3 -3
  339. package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +15 -3
  340. package/dist/types/components/gov-form/select/gov-form-select.d.ts +7 -3
  341. package/dist/types/components/gov-infobar/default/constants.d.ts +12 -0
  342. package/dist/types/components/{gov-alert/gov-alert.d.ts → gov-infobar/default/gov-infobar.d.ts} +9 -9
  343. package/dist/types/components/gov-infobar/default/gov-infobar.types.d.ts +4 -0
  344. package/dist/types/components/gov-tooltip/gov-tooltip-content.d.ts +19 -1
  345. package/dist/types/components/gov-tooltip/gov-tooltip.d.ts +7 -3
  346. package/dist/types/components.d.ts +148 -84
  347. package/dist/types/pages/Infobar.d.ts +3 -0
  348. package/dist/types/types/typings.d.ts +6 -0
  349. package/package.json +2 -2
  350. package/dist/cjs/gov-alert.cjs.entry.js +0 -90
  351. package/dist/cjs/gov-alert.cjs.entry.js.map +0 -1
  352. package/dist/collection/components/gov-alert/constants.js +0 -12
  353. package/dist/collection/components/gov-alert/constants.js.map +0 -1
  354. package/dist/collection/components/gov-alert/gov-alert.css +0 -398
  355. package/dist/collection/components/gov-alert/gov-alert.js.map +0 -1
  356. package/dist/collection/components/gov-alert/gov-alert.types.js +0 -2
  357. package/dist/collection/components/gov-alert/gov-alert.types.js.map +0 -1
  358. package/dist/collection/pages/Alert.js.map +0 -1
  359. package/dist/components/gov-alert.js +0 -2
  360. package/dist/components/gov-alert.js.map +0 -1
  361. package/dist/components/p-0378da4d.js.map +0 -1
  362. package/dist/components/p-35f6490a.js +0 -2
  363. package/dist/components/p-70d9d879.js.map +0 -1
  364. package/dist/components/p-a6915747.js.map +0 -1
  365. package/dist/components/p-da3b225f.js.map +0 -1
  366. package/dist/components/p-ee60cdd1.js +0 -2
  367. package/dist/components/p-ee60cdd1.js.map +0 -1
  368. package/dist/core/p-0c769f1a.entry.js +0 -2
  369. package/dist/core/p-13624a77.entry.js.map +0 -1
  370. package/dist/core/p-2944bf77.entry.js +0 -2
  371. package/dist/core/p-3b9df792.entry.js +0 -2
  372. package/dist/core/p-3b9df792.entry.js.map +0 -1
  373. package/dist/core/p-3e5432d7.entry.js +0 -2
  374. package/dist/core/p-3e5432d7.entry.js.map +0 -1
  375. package/dist/core/p-42c1935f.entry.js +0 -2
  376. package/dist/core/p-42c1935f.entry.js.map +0 -1
  377. package/dist/core/p-4c79a97a.entry.js +0 -2
  378. package/dist/core/p-4c79a97a.entry.js.map +0 -1
  379. package/dist/core/p-69f944d1.entry.js.map +0 -1
  380. package/dist/core/p-6a65af35.entry.js.map +0 -1
  381. package/dist/core/p-85258200.entry.js +0 -2
  382. package/dist/core/p-85258200.entry.js.map +0 -1
  383. package/dist/core/p-8fce08d1.entry.js.map +0 -1
  384. package/dist/core/p-9bfab069.entry.js.map +0 -1
  385. package/dist/core/p-a85f4a62.entry.js.map +0 -1
  386. package/dist/core/p-ae04e58f.entry.js +0 -2
  387. package/dist/core/p-ae04e58f.entry.js.map +0 -1
  388. package/dist/core/p-af646ce2.entry.js.map +0 -1
  389. package/dist/core/p-bbcbe1cc.entry.js +0 -2
  390. package/dist/core/p-bbcbe1cc.entry.js.map +0 -1
  391. package/dist/core/p-d4cfa93a.entry.js.map +0 -1
  392. package/dist/core/p-dfc080f2.entry.js +0 -2
  393. package/dist/core/p-dfc080f2.entry.js.map +0 -1
  394. package/dist/core/p-f8252fea.entry.js +0 -2
  395. package/dist/core/p-fb99f144.entry.js +0 -2
  396. package/dist/core/p-fb99f144.entry.js.map +0 -1
  397. package/dist/esm/gov-alert.entry.js +0 -86
  398. package/dist/esm/gov-alert.entry.js.map +0 -1
  399. package/dist/types/components/gov-alert/constants.d.ts +0 -12
  400. package/dist/types/components/gov-alert/gov-alert.types.d.ts +0 -4
  401. package/dist/types/pages/Alert.d.ts +0 -3
  402. /package/dist/components/{p-404f469e.js.map → p-9a4c910d.js.map} +0 -0
  403. /package/dist/components/{p-9cba3cd3.js.map → p-b00d2836.js.map} +0 -0
  404. /package/dist/core/{p-3d0ab343.entry.js.map → p-0c57e410.entry.js.map} +0 -0
  405. /package/dist/core/{p-18ef9623.entry.js.map → p-2bf0c1c5.entry.js.map} +0 -0
  406. /package/dist/core/{p-bd1cb5bd.entry.js.map → p-4452c278.entry.js.map} +0 -0
  407. /package/dist/core/{p-ae894a40.js.map → p-570ef4e5.js.map} +0 -0
  408. /package/dist/core/{p-33bf5974.entry.js.map → p-7372b066.entry.js.map} +0 -0
  409. /package/dist/core/{p-87aca157.entry.js.map → p-7702c8c2.entry.js.map} +0 -0
  410. /package/dist/core/{p-9d72d80b.entry.js.map → p-7e8d2066.entry.js.map} +0 -0
  411. /package/dist/core/{p-a5d00433.entry.js.map → p-7fa1290e.entry.js.map} +0 -0
  412. /package/dist/core/{p-cacd0fed.entry.js.map → p-998c3336.entry.js.map} +0 -0
  413. /package/dist/core/{p-404f469e.js.map → p-9a4c910d.js.map} +0 -0
  414. /package/dist/core/{p-667dc3de.entry.js.map → p-afa12399.entry.js.map} +0 -0
  415. /package/dist/core/{p-70140f70.entry.js.map → p-b0c97376.entry.js.map} +0 -0
  416. /package/dist/core/{p-0c1697ce.entry.js.map → p-c4c9ff83.entry.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["toBool","value","indexOf","govButtonCss","Tags","GovButton","proxyCustomElement","H","constructor","this","h","govHost","host","validateVariant","newValue","validateProp","ButtonVariants","ButtonClass","root","validateType","Type","validateSize","Sizes","validateNativeType","NativeType","componentWillLoad","variant","type","size","nativeType","componentDidRender","canValidateWcagOnRender","delay","validateWcag","classNames","prepareClasses","hasSlot","rootWithIcon","render","Tag","href","A","BUTTON","undefined","Host","hoverable","class","classes","inverse","ref","el","triggerRef","onClick","onClickHandler","bind","onFocus","onFocusHandler","onBlur","onBlurHandler","onMouseDown","isPressed","onMouseUp","disabled","id","identifier","target","download","hreflang","rel","name","tabindex","focusable","wcagActiveDescendant","wcagDescription","wcagControls","wcagDetails","toBoolAttrIfDefined","wcagExpanded","wcagLabel","wcagLabelledBy","wcagOwns","wcagHasPopup","toBoolAttr","wcagCurrent","loading","e","stopPropagation","govClick","emit","component","originalEvent","govFocus","govBlur","setFocus","focus","getTriggerRef","validateWcagRef","validateWcagLabel"],"sources":["../../../packages/core/src/utils/bool.utils.ts","../../../packages/core/src/components/gov-button/default/gov-button.scss?tag=gov-button","../../../packages/core/src/components/gov-button/default/gov-button.tsx"],"sourcesContent":["export function toBool(value: any): boolean {\n\tif (typeof value === 'string') {\n\t\treturn ['true', 'True', 'TRUE', '1'].indexOf(value) !== -1\n\t} else if (typeof value === 'number') {\n\t\treturn value > 0\n\t} else if (typeof value === 'boolean') {\n\t\treturn value\n\t} else {\n\t\treturn value ? true : false\n\t}\n}\n","/*\n * Button\n */\n\n// Shared definitions - BUTTON & badge\n@import \"gov-button-core\";\n\n.gov-button {\n\t@extend %button-core;\n\tdisplay: inline-block;\n\t.element {\n\t\tborder-radius: #{$border-radius};\n\t}\n\n\t&[type=\"link\"] {\n\t\t.element {\n\t\t\tjustify-content: flex-start;\n\t\t\talign-items: flex-start;\n\t\t\ttext-align: left;\n\t\t\tmin-height: inherit;\n\t\t\tpadding: 0 !important;\n\t\t\tline-height: inherit;\n\t\t\ttext-decoration: underline;\n\t\t\t@include hover() {\n\t\t\t\ttext-decoration: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t// STATES\n\t&[loading=\"true\"],\n\t&[loading=\"1\"] {\n\t\t.element {\n\t\t\t> .gov-icon:not(.gov-spin-animation),\n\t\t\t> gov-icon:not(.gov-spin-animation) {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t\t.gov-icon {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t// VARIANTS\n\t@each $size, $definitions in $button-sizes {\n\t\t// Loading state\n\t\t&[loading=\"0\"][size=\"#{$size}\"],\n\t\t&[loading=\"false\"][size=\"#{$size}\"],\n\t\t&[loading=\"\"][size=\"#{$size}\"] {\n\t\t\t.element {\n\t\t\t\tpadding: get(\"padding-y\", $definitions) calc(((get(\"padding-x\", $definitions) * 3) + get(\"icon-size\", $definitions)) / 2);\n\t\t\t}\n\t\t}\n\t\t&[size=\"#{$size}\"] {\n\t\t\t.element {\n\t\t\t\tfont-weight: map-get($definitions, \"font-weight\");\n\t\t\t}\n\t\t}\n\t}\n\t&[size=\"s\"][type=\"link\"] .gov-icon {\n\t\tmargin-top: 4px;\n\t}\n\t&[size=\"m\"][type=\"link\"] .gov-icon {\n\t\tmargin-top: 2px;\n\t}\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../../helpers/Validate/props\"\nimport {\n\tButtonSizesType,\n\tNativeTypesType,\n\tTypesType,\n\tButtonVariants,\n\tButtonVariantType,\n\tButtonClass,\n\tType,\n\tNativeType,\n\tButtonTargetType,\n} from \"./constants\"\nimport { govHost, toBoolAttr, toBoolAttrIfDefined, prepareClasses } from \"../../../helpers/Dom/template\"\nimport { GovHost } from \"../../../helpers/Dom/template.types\"\nimport { toBool } from \"../../../utils/bool.utils\"\nimport { Sizes } from \"../../../core/constants/sizes\"\nimport { validateWcagLabel, validateWcagRef } from \"../../../helpers/Validate/wcag\"\nimport { canValidateWcagOnRender } from \"../../../helpers/Dom/win\"\nimport { delay } from \"../../../utils/utils\"\nimport { ButtonEvent } from \"./gov-button.types\"\n\nenum Tags {\n\tA = \"a\",\n\tBUTTON = \"button\",\n}\n\n@Component({\n\ttag: \"gov-button\",\n\tstyleUrl: \"gov-button.scss\",\n})\nexport class GovButton {\n\tprivate h: GovHost\n\tprivate triggerRef?: HTMLButtonElement | HTMLLinkElement\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovButtonElement\n\n\t/**\n\t * Style variation of the button\n\t */\n\t@Prop({ reflect: true }) readonly variant?: ButtonVariantType\n\t/**\n\t * Button’s size\n\t */\n\t@Prop({ reflect: true }) readonly size?: ButtonSizesType = \"m\"\n\t/**\n\t * Button's type\n\t */\n\t@Prop({ reflect: true }) readonly type?: TypesType = \"solid\"\n\t/**\n\t * Expands the button to fill 100% of the container width\n\t */\n\t@Prop() readonly expanded: boolean = false\n\t/**\n\t * Determine if component should have inversed colors to be used on dark background\n\t */\n\t@Prop() readonly inverse: boolean = false\n\t/**\n\t * The name of the button, which gets paired with the button's value when submitted as part of a form. Corresponds with the native HTML name attribute\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Makes the button component disabled.\n\t * This prevents users from being able to interact with the button, and conveys its inactive state to assistive technologies\n\t */\n\t@Prop({ reflect: true }) readonly disabled: boolean = false\n\t/**\n\t * Same as original parameter\n\t * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type\n\t */\n\t@Prop() readonly nativeType?: NativeTypesType = \"button\"\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href\n\t */\n\t@Prop() readonly href: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target\n\t */\n\t@Prop() readonly target?: ButtonTargetType\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download\n\t */\n\t@Prop() readonly download: boolean\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-hreflang\n\t */\n\t@Prop() readonly hreflang: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-referrerpolicy\n\t */\n\t@Prop() readonly referrerpolicy: string\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-rel\n\t */\n\t@Prop() readonly rel: string\n\t/**\n\t * Indicates whether an asynchronous process is running\n\t */\n\t@Prop() readonly loading: string\n\t/**\n\t * Same as original parametr\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/focusable\n\t */\n\t@Prop() readonly focusable: boolean = true\n\t/**\n\t * Custom button identifier\n\t */\n\t@Prop({ attribute: \"identifier\" }) readonly identifier: string\n\t/**\n\t * Indicates the id of a related component’s visually focused element\n\t */\n\t@Prop({ attribute: \"wcag-active-descendant\" }) readonly wcagActiveDescendant: string\n\t/**\n\t * Use this property to add an aria-controls attribute to the button. Use the attribute to point to the unique id of the content that the button manages\n\t */\n\t@Prop({ attribute: \"wcag-controls\" }) readonly wcagControls: string\n\t/**\n\t * Indicates the id of a component that describes the button\n\t */\n\t@Prop({ attribute: \"wcag-described-by\" }) readonly wcagDescribedBy: string\n\t/**\n\t * Aria description the button\n\t */\n\t@Prop({ attribute: \"wcag-description\" }) readonly wcagDescription: string\n\t/**\n\t * Details of the component\n\t */\n\t@Prop({ attribute: \"wcag-details\" }) readonly wcagDetails: string\n\t/**\n\t * If a button expands or collapses adjacent content, then use the ariaExpanded prop to add the aria-expanded attribute to the button\n\t * Set the value to convey the current expanded (true) or collapsed (false) state of the content\n\t */\n\t@Prop({ attribute: \"wcag-expanded\" }) readonly wcagExpanded: boolean\n\t/**\n\t * Adds accessible label for the button that is only shown for screen readers\n\t * Typically, this label text replaces the visible text on the button for users who use assistive technology\n\t */\n\t@Prop({ attribute: \"wcag-label\" }) readonly wcagLabel: string\n\t/**\n\t * String of id's that indicate alternative labels elements\n\t */\n\t@Prop({ attribute: \"wcag-labelled-by\" }) readonly wcagLabelledBy: string\n\t/**\n\t * Indicates the id of a component owned by the button\n\t */\n\t@Prop({ attribute: \"wcag-owns\" }) readonly wcagOwns: string\n\t/**\n\t * \tUse this property to add an aria-haspopup attribute to a button, if you are using it as a menu button\n\t */\n\t@Prop({ attribute: \"wcag-has-popup\" }) readonly wcagHasPopup: string\n\t/**\n\t * Tells screen reader the element is pressed\n\t */\n\t@Prop({ attribute: \"wcag-pressed\" }) readonly wcagPressed: string\n\t/**\n\t * Indicates the current item within a container or set of related elements\n\t */\n\t@Prop({ attribute: \"wcag-current\" }) readonly wcagCurrent: string\n\t/**\n\t * Emitted when the button click\n\t */\n\t@Event({ eventName: \"gov-click\" }) govClick: EventEmitter<ButtonEvent>\n\t/**\n\t * Emitted when the button has focus\n\t */\n\t@Event({ eventName: \"gov-focus\" }) govFocus: EventEmitter<ButtonEvent>\n\t/**\n\t * Emitted when the button loses focus\n\t */\n\t@Event({ eventName: \"gov-blur\" }) govBlur: EventEmitter<ButtonEvent>\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(ButtonVariants, newValue, ButtonClass.root)\n\t}\n\n\t@Watch(\"type\")\n\tvalidateType(newValue: string): void {\n\t\tvalidateProp(Type, newValue, ButtonClass.root)\n\t}\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(Sizes, newValue, ButtonClass.root)\n\t}\n\n\t@Watch(\"nativeType\")\n\tvalidateNativeType(newValue: string): void {\n\t\tvalidateProp(NativeType, newValue, ButtonClass.root)\n\t}\n\n\t@State() isPressed = false\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateType(this.type)\n\t\tthis.validateSize(this.size)\n\t\tthis.validateNativeType(this.nativeType)\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\tget classNames(): string {\n\t\tconst { h } = this\n\n\t\treturn prepareClasses([ButtonClass.root, h.hasSlot(\"left-icon\") && ButtonClass.rootWithIcon, h.hasSlot(\"right-icon\") && ButtonClass.rootWithIcon])\n\t}\n\n\trender() {\n\t\tconst Tag = this.href ? Tags.A : Tags.BUTTON\n\t\tconst nativeType = Tag === Tags.A ? undefined : this.nativeType\n\n\t\treturn (\n\t\t\t<Host hoverable={true} size={this.size} variant={this.variant} class={this.h.classes(this.classNames)} type={this.type} inverse={this.inverse}>\n\t\t\t\t<Tag\n\t\t\t\t\tclass=\"element\"\n\t\t\t\t\tref={el => (this.triggerRef = el as HTMLButtonElement | HTMLLinkElement)}\n\t\t\t\t\tonClick={this.onClickHandler.bind(this)}\n\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\tonMouseDown={() => (this.isPressed = true)}\n\t\t\t\t\tonMouseUp={() => (this.isPressed = false)}\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\tid={this.identifier}\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t\tdownload={this.download}\n\t\t\t\t\threflang={this.hreflang}\n\t\t\t\t\trel={this.rel}\n\t\t\t\t\tname={this.name}\n\t\t\t\t\ttype={nativeType}\n\t\t\t\t\ttabindex={this.focusable ? \"0\" : \"-1\"}\n\t\t\t\t\taria-activedescendant={this.wcagActiveDescendant}\n\t\t\t\t\taria-describedby={this.wcagActiveDescendant}\n\t\t\t\t\taria-description={this.wcagDescription}\n\t\t\t\t\taria-controls={this.wcagControls}\n\t\t\t\t\taria-details={this.wcagDetails}\n\t\t\t\t\taria-expanded={toBoolAttrIfDefined(this.wcagExpanded)}\n\t\t\t\t\taria-label={this.wcagLabel}\n\t\t\t\t\taria-labelledby={this.wcagLabelledBy}\n\t\t\t\t\taria-owns={this.wcagOwns}\n\t\t\t\t\taria-haspopup={toBoolAttrIfDefined(this.wcagHasPopup)}\n\t\t\t\t\taria-pressed={toBoolAttr(this.isPressed)}\n\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\taria-current={this.wcagCurrent}\n\t\t\t\t>\n\t\t\t\t\t{toBool(this.loading) && !this.h.hasSlot(\"right-icon\") &&\n\t\t\t\t\t\t\t\t\t\t\t<gov-icon name=\"loader\" class=\"gov-spin-animation\"></gov-icon>}\n\t\t\t\t\t{this.h.hasSlot(\"left-icon\") && <slot name=\"left-icon\"></slot>}\n\t\t\t\t\t<slot />\n\t\t\t\t\t{this.h.hasSlot(\"right-icon\") && <slot name=\"right-icon\"></slot>}\n\t\t\t\t\t{toBool(this.loading) && this.h.hasSlot(\"right-icon\") &&\n\t\t\t\t\t\t\t\t\t\t\t<gov-icon name=\"loader\" class=\"gov-spin-animation\"></gov-icon>}\n\t\t\t\t</Tag>\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onClickHandler(e: PointerEvent): void {\n\t\te.stopPropagation()\n\t\tif (this.disabled === false) {\n\t\t\tthis.govClick.emit({\n\t\t\t\tcomponent: ButtonClass.root,\n\t\t\t\toriginalEvent: e,\n\t\t\t\tref: this.host,\n\t\t\t})\n\t\t}\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: ButtonClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tref: this.host,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: ButtonClass.root,\n\t\t\toriginalEvent: e,\n\t\t\tref: this.host,\n\t\t})\n\t}\n\n\t/**\n\t * Focus button element\n\t */\n\t@Method()\n\tasync setFocus(): Promise<void> {\n\t\tthis.triggerRef.focus()\n\t}\n\n\t/**\n\t * Returns a clickable element instance\n\t */\n\t@Method()\n\tasync getTriggerRef() {\n\t\treturn this.triggerRef\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tif (this.focusable) {\n\t\t\tvalidateWcagRef(this.wcagActiveDescendant, \"aria-activedescendant\", ButtonClass.root)\n\t\t\tvalidateWcagRef(this.wcagControls, \"aria-controls\", ButtonClass.root)\n\t\t\tvalidateWcagRef(this.wcagDetails, \"aria-details\", ButtonClass.root)\n\t\t\tvalidateWcagRef(this.wcagOwns, \"aria-owns\", ButtonClass.root)\n\t\t\tvalidateWcagRef(this.wcagHasPopup, \"aria-haspopup\", ButtonClass.root)\n\t\t\tvalidateWcagLabel(this.wcagLabel, this.wcagLabelledBy, ButtonClass.root)\n\t\t}\n\t}\n}\n"],"mappings":"0ZAAgBA,EAAOC,GACtB,UAAWA,IAAU,SAAU,CAC9B,MAAO,CAAC,OAAQ,OAAQ,OAAQ,KAAKC,QAAQD,MAAY,C,MACnD,UAAWA,IAAU,SAAU,CACrC,OAAOA,EAAQ,C,MACT,UAAWA,IAAU,UAAW,CACtC,OAAOA,C,KACD,CACN,OAAOA,EAAQ,KAAO,K,CAExB,CCVA,MAAME,EAAe,8jxECsBrB,IAAKC,GAAL,SAAKA,GACJA,EAAA,SACAA,EAAA,kBACA,EAHD,CAAKA,MAAI,K,MASIC,EAASC,EAAA,MAAAD,UAAAE,EAIrB,WAAAC,G,yKAa2D,I,UAIN,Q,cAIhB,M,aAID,M,kCASkB,M,gBAKN,S,iLAuCV,K,+XAwFjB,MArKpBC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAkJvB,eAAAC,CAAgBC,GACfC,EAAaC,EAAgBF,EAAUG,EAAYC,K,CAIpD,YAAAC,CAAaL,GACZC,EAAaK,EAAMN,EAAUG,EAAYC,K,CAI1C,YAAAG,CAAaP,GACZC,EAAaO,EAAOR,EAAUG,EAAYC,K,CAI3C,kBAAAK,CAAmBT,GAClBC,EAAaS,EAAYV,EAAUG,EAAYC,K,CAKhD,iBAAAO,GACChB,KAAKI,gBAAgBJ,KAAKiB,SAC1BjB,KAAKU,aAAaV,KAAKkB,MACvBlB,KAAKY,aAAaZ,KAAKmB,MACvBnB,KAAKc,mBAAmBd,KAAKoB,W,CAG9B,wBAAMC,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNvB,KAAKwB,c,EAIb,cAAIC,GACH,MAAMxB,EAAEA,GAAMD,KAEd,OAAO0B,EAAe,CAAClB,EAAYC,KAAMR,EAAE0B,QAAQ,cAAgBnB,EAAYoB,aAAc3B,EAAE0B,QAAQ,eAAiBnB,EAAYoB,c,CAGrI,MAAAC,GACC,MAAMC,EAAM9B,KAAK+B,KAAOpC,EAAKqC,EAAIrC,EAAKsC,OACtC,MAAMb,EAAaU,IAAQnC,EAAKqC,EAAIE,UAAYlC,KAAKoB,WAErD,OACCnB,EAACkC,EAAI,CAACC,UAAW,KAAMjB,KAAMnB,KAAKmB,KAAMF,QAASjB,KAAKiB,QAASoB,MAAOrC,KAAKC,EAAEqC,QAAQtC,KAAKyB,YAAaP,KAAMlB,KAAKkB,KAAMqB,QAASvC,KAAKuC,SACrItC,EAAC6B,EAAG,CACHO,MAAM,UACNG,IAAKC,GAAOzC,KAAK0C,WAAaD,EAC9BE,QAAS3C,KAAK4C,eAAeC,KAAK7C,MAClC8C,QAAS9C,KAAK+C,eAAeF,KAAK7C,MAClCgD,OAAQhD,KAAKiD,cAAcJ,KAAK7C,MAChCkD,YAAa,IAAOlD,KAAKmD,UAAY,KACrCC,UAAW,IAAOpD,KAAKmD,UAAY,MACnCE,SAAUrD,KAAKqD,SACfC,GAAItD,KAAKuD,WACTxB,KAAM/B,KAAK+B,KACXyB,OAAQxD,KAAKwD,OACbC,SAAUzD,KAAKyD,SACfC,SAAU1D,KAAK0D,SACfC,IAAK3D,KAAK2D,IACVC,KAAM5D,KAAK4D,KACX1C,KAAME,EACNyC,SAAU7D,KAAK8D,UAAY,IAAM,KAAI,wBACd9D,KAAK+D,qBAAoB,mBAC9B/D,KAAK+D,qBAAoB,mBACzB/D,KAAKgE,gBAAe,gBACvBhE,KAAKiE,aAAY,eAClBjE,KAAKkE,YAAW,gBACfC,EAAoBnE,KAAKoE,cAAa,aACzCpE,KAAKqE,UAAS,kBACTrE,KAAKsE,eAAc,YACzBtE,KAAKuE,SAAQ,gBACTJ,EAAoBnE,KAAKwE,cAAa,eACvCC,EAAWzE,KAAKmD,WAAU,gBACzBgB,EAAoBnE,KAAKqD,UAAS,eACnCrD,KAAK0E,aAElBnF,EAAOS,KAAK2E,WAAa3E,KAAKC,EAAE0B,QAAQ,eACnC1B,EAAA,YAAU2D,KAAK,SAASvB,MAAM,uBACnCrC,KAAKC,EAAE0B,QAAQ,cAAgB1B,EAAA,QAAM2D,KAAK,cAC3C3D,EAAA,aACCD,KAAKC,EAAE0B,QAAQ,eAAiB1B,EAAA,QAAM2D,KAAK,eAC3CrE,EAAOS,KAAK2E,UAAY3E,KAAKC,EAAE0B,QAAQ,eAClC1B,EAAA,YAAU2D,KAAK,SAASvB,MAAM,wB,CAMhC,cAAAO,CAAegC,GACtBA,EAAEC,kBACF,GAAI7E,KAAKqD,WAAa,MAAO,CAC5BrD,KAAK8E,SAASC,KAAK,CAClBC,UAAWxE,EAAYC,KACvBwE,cAAeL,EACfpC,IAAKxC,KAAKG,M,EAKL,cAAA4C,CAAe6B,GACtBA,EAAEC,kBACF7E,KAAKkF,SAASH,KAAK,CAClBC,UAAWxE,EAAYC,KACvBwE,cAAeL,EACfpC,IAAKxC,KAAKG,M,CAIJ,aAAA8C,CAAc2B,GACrBA,EAAEC,kBACF7E,KAAKmF,QAAQJ,KAAK,CACjBC,UAAWxE,EAAYC,KACvBwE,cAAeL,EACfpC,IAAKxC,KAAKG,M,CAQZ,cAAMiF,GACLpF,KAAK0C,WAAW2C,O,CAOjB,mBAAMC,GACL,OAAOtF,KAAK0C,U,CAOb,kBAAMlB,GACL,GAAIxB,KAAK8D,UAAW,CACnByB,EAAgBvF,KAAK+D,qBAAsB,wBAAyBvD,EAAYC,MAChF8E,EAAgBvF,KAAKiE,aAAc,gBAAiBzD,EAAYC,MAChE8E,EAAgBvF,KAAKkE,YAAa,eAAgB1D,EAAYC,MAC9D8E,EAAgBvF,KAAKuE,SAAU,YAAa/D,EAAYC,MACxD8E,EAAgBvF,KAAKwE,aAAc,gBAAiBhE,EAAYC,MAChE+E,EAAkBxF,KAAKqE,UAAWrE,KAAKsE,eAAgB9D,EAAYC,K"}
@@ -1,2 +1,2 @@
1
- import{p as t,H as e,c as a,h as s,d as o}from"./p-80c0109d.js";import{a as i}from"./p-b72a7bed.js";import{v as n}from"./p-ae894a40.js";import{c as r}from"./p-cac3881f.js";import{d as m}from"./p-03990da5.js";import{g as c}from"./p-3f37ddb6.js";import{d as l}from"./p-70d9d879.js";import{d as g}from"./p-35f6490a.js";const p=".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-attachments-item{position:relative;display:block;width:100%;margin:0rem 0rem 0.5rem}.gov-attachments-item__messages>*:last-child{margin-bottom:0}.gov-attachments-item__file{display:flex;gap:1rem}.gov-attachments-item__name{display:flex;gap:0 0.5rem;flex-wrap:wrap;align-items:center;align-self:center;margin:0;color:var(--gov-attachments-name-color, var(--gov-color-primary))}.gov-attachments-item__name span{font-weight:var(--gov-text-xs-font-weight);font-size:var(--gov-text-xs-font-size);line-height:var(--gov-text-xs-line-height);letter-spacing:var(--gov-text-xs-letter-spacing);color:var(--gov-attachments-decor-color, var(--gov-color-secondary-700))}";const v=t(class t extends e{constructor(){super();this.__registerHost();this.govRemove=a(this,"gov-remove",7);this.wcagRemoveLabel=undefined;this.wcagRemoveLabelledBy=undefined;this.h=c(this.host)}async componentDidRender(){if(r()){await m(500);await this.validateWcag()}}render(){return s(o,{class:this.h.classes(i.root),role:"listitem"},s("div",{class:i.file},s("p",{class:i.name},s("slot",null),s("slot",{name:"info"})),s("gov-button",{variant:"primary",type:"base",size:"s","wcag-label":this.wcagRemoveLabel,"wcag-labelled-by":this.wcagRemoveLabelledBy,"on-gov-click":this.govRemove.emit},s("gov-icon",{slot:"left-icon",name:"x-lg"}))),this.h.hasSlot("message")&&s("div",{class:i.messages},s("slot",{name:"message"})))}async validateWcag(){n(this.wcagRemoveLabel,this.wcagRemoveLabelledBy,i.root)}get host(){return this}static get style(){return p}},[4,"gov-attachments-item",{wcagRemoveLabel:[1,"wcag-remove-label"],wcagRemoveLabelledBy:[1,"wcag-remove-labelled-by"],validateWcag:[64]}]);function d(){if(typeof customElements==="undefined"){return}const t=["gov-attachments-item","gov-button","gov-icon"];t.forEach((t=>{switch(t){case"gov-attachments-item":if(!customElements.get(t)){customElements.define(t,v)}break;case"gov-button":if(!customElements.get(t)){l()}break;case"gov-icon":if(!customElements.get(t)){g()}break}}))}d();export{v as G,d};
2
- //# sourceMappingURL=p-9cba3cd3.js.map
1
+ import{p as t,H as e,c as a,h as s,d as o}from"./p-80c0109d.js";import{a as i}from"./p-b72a7bed.js";import{v as n}from"./p-ae894a40.js";import{c as r}from"./p-cac3881f.js";import{d as m}from"./p-03990da5.js";import{g as c}from"./p-3f37ddb6.js";import{d as l}from"./p-a3d3943d.js";import{d as g}from"./p-010f8351.js";const p=".gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-attachments-item{position:relative;display:block;width:100%;margin:0rem 0rem 0.5rem}.gov-attachments-item__messages>*:last-child{margin-bottom:0}.gov-attachments-item__file{display:flex;gap:1rem}.gov-attachments-item__name{display:flex;gap:0 0.5rem;flex-wrap:wrap;align-items:center;align-self:center;margin:0;color:var(--gov-attachments-name-color, var(--gov-color-primary))}.gov-attachments-item__name span{font-weight:var(--gov-text-xs-font-weight);font-size:var(--gov-text-xs-font-size);line-height:var(--gov-text-xs-line-height);letter-spacing:var(--gov-text-xs-letter-spacing);color:var(--gov-attachments-decor-color, var(--gov-color-secondary-700))}";const v=t(class t extends e{constructor(){super();this.__registerHost();this.govRemove=a(this,"gov-remove",7);this.wcagRemoveLabel=undefined;this.wcagRemoveLabelledBy=undefined;this.h=c(this.host)}async componentDidRender(){if(r()){await m(500);await this.validateWcag()}}render(){return s(o,{class:this.h.classes(i.root),role:"listitem"},s("div",{class:i.file},s("p",{class:i.name},s("slot",null),s("slot",{name:"info"})),s("gov-button",{variant:"primary",type:"base",size:"s","wcag-label":this.wcagRemoveLabel,"wcag-labelled-by":this.wcagRemoveLabelledBy,"on-gov-click":this.govRemove.emit},s("gov-icon",{slot:"left-icon",name:"x-lg"}))),this.h.hasSlot("message")&&s("div",{class:i.messages},s("slot",{name:"message"})))}async validateWcag(){n(this.wcagRemoveLabel,this.wcagRemoveLabelledBy,i.root)}get host(){return this}static get style(){return p}},[4,"gov-attachments-item",{wcagRemoveLabel:[1,"wcag-remove-label"],wcagRemoveLabelledBy:[1,"wcag-remove-labelled-by"],validateWcag:[64]}]);function d(){if(typeof customElements==="undefined"){return}const t=["gov-attachments-item","gov-button","gov-icon"];t.forEach((t=>{switch(t){case"gov-attachments-item":if(!customElements.get(t)){customElements.define(t,v)}break;case"gov-button":if(!customElements.get(t)){l()}break;case"gov-icon":if(!customElements.get(t)){g()}break}}))}d();export{v as G,d};
2
+ //# sourceMappingURL=p-b00d2836.js.map
@@ -1,2 +1,2 @@
1
- import{p as o,H as i,c as t,h as e,d as r}from"./p-80c0109d.js";import{g as n,c as a,d as s,e as l}from"./p-17c1ffc1.js";import{g as v,a as g,t as c,c as m}from"./p-3f37ddb6.js";import{c as p}from"./p-cac3881f.js";import{v as u}from"./p-26acf964.js";import{b as f,c as d}from"./p-ae894a40.js";import{c as h}from"./p-24636c53.js";import{d as x}from"./p-03990da5.js";import{d as z}from"./p-35f6490a.js";const y='.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-form-input{position:relative;display:flex;width:100%;align-items:center}.gov-form-input .element{position:relative;display:flex;flex:1 1 auto}.gov-form-input input,.gov-form-input select,.gov-form-input textarea{width:100%;border-radius:var(--gov-border-radius, 0.1875rem);background-color:var(--gov-form-bg-color, var(--gov-color-neutral-white));font-family:var(--gov-font-family, "Roboto", sans-serif)}.gov-form-input input:focus,.gov-form-input select:focus,.gov-form-input textarea:focus{outline:none}.gov-form-input input:focus-visible,.gov-form-input select:focus-visible,.gov-form-input textarea:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-form-input input::-moz-placeholder,.gov-form-input select::-moz-placeholder,.gov-form-input textarea::-moz-placeholder{color:var(--gov-form-placeholder-color, var(--gov-color-secondary-600))}.gov-form-input input::placeholder,.gov-form-input select::placeholder,.gov-form-input textarea::placeholder{color:var(--gov-form-placeholder-color, var(--gov-color-secondary-600))}.gov-form-input textarea{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);padding:0.5rem 0.75rem;resize:none}.gov-form-input *[slot=left-icon],.gov-form-input *[slot=right-icon]{position:absolute;top:50%;display:flex;justify-content:center;transform:translateY(-50%);pointer-events:none}.gov-form-input *[slot=left-icon]{left:0}.gov-form-input *[slot=right-icon]{right:0}.gov-form-input *[slot=prefix],.gov-form-input *[slot=sufix]{margin:0}[size=s].gov-form-input{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);gap:0.5rem var(--gov-form-input-core-s-icon-size, 1rem)}[size=s].gov-form-input input,[size=s].gov-form-input select{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);height:var(--gov-form-input-core-s-height, 2rem);padding:var(--gov-form-input-core-s-padding, 0.25rem 0.75rem)}[size=s].gov-form-input *[slot=left-icon],[size=s].gov-form-input *[slot=right-icon]{width:var(--gov-form-input-core-s-icon-size, 1rem);height:var(--gov-form-input-core-s-icon-size, 1rem)}[size=s].gov-form-input *[slot=left-icon]{left:calc((var(--gov-form-input-core-s-icon-padding, 2rem) - var(--gov-form-input-core-s-icon-size, 1rem)) / 2)}[size=s].gov-form-input *[slot=left-icon]~input{padding-left:var(--gov-form-input-core-s-icon-padding, 2rem)}[size=s].gov-form-input *[slot=right-icon]{right:calc((var(--gov-form-input-core-s-icon-padding, 2rem) - var(--gov-form-input-core-s-icon-size, 1rem)) / 2)}[size=s].gov-form-input *[slot=right-icon]~input,[size=s].gov-form-input *[slot=right-icon]~select{padding-right:var(--gov-form-input-core-s-icon-padding, 2rem)}[size=m].gov-form-input{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);gap:0.5rem var(--gov-form-input-core-m-icon-size, 1rem)}[size=m].gov-form-input input,[size=m].gov-form-input select{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);height:var(--gov-form-input-core-m-height, 2.5rem);padding:var(--gov-form-input-core-m-padding, 0.4375rem 0.75rem)}[size=m].gov-form-input *[slot=left-icon],[size=m].gov-form-input *[slot=right-icon]{width:var(--gov-form-input-core-m-icon-size, 1rem);height:var(--gov-form-input-core-m-icon-size, 1rem)}[size=m].gov-form-input *[slot=left-icon]{left:calc((var(--gov-form-input-core-m-icon-padding, 2.5rem) - var(--gov-form-input-core-m-icon-size, 1rem)) / 2)}[size=m].gov-form-input *[slot=left-icon]~input{padding-left:var(--gov-form-input-core-m-icon-padding, 2.5rem)}[size=m].gov-form-input *[slot=right-icon]{right:calc((var(--gov-form-input-core-m-icon-padding, 2.5rem) - var(--gov-form-input-core-m-icon-size, 1rem)) / 2)}[size=m].gov-form-input *[slot=right-icon]~input,[size=m].gov-form-input *[slot=right-icon]~select{padding-right:var(--gov-form-input-core-m-icon-padding, 2.5rem)}[size=l].gov-form-input{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);gap:0.5rem var(--gov-form-input-core-l-icon-size, 1rem)}[size=l].gov-form-input input,[size=l].gov-form-input select{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);height:var(--gov-form-input-core-l-height, 3rem);padding:var(--gov-form-input-core-l-padding, 0.6875rem 0.75rem)}[size=l].gov-form-input *[slot=left-icon],[size=l].gov-form-input *[slot=right-icon]{width:var(--gov-form-input-core-l-icon-size, 1rem);height:var(--gov-form-input-core-l-icon-size, 1rem)}[size=l].gov-form-input *[slot=left-icon]{left:calc((var(--gov-form-input-core-l-icon-padding, 2.5rem) - var(--gov-form-input-core-l-icon-size, 1rem)) / 2)}[size=l].gov-form-input *[slot=left-icon]~input{padding-left:var(--gov-form-input-core-l-icon-padding, 2.5rem)}[size=l].gov-form-input *[slot=right-icon]{right:calc((var(--gov-form-input-core-l-icon-padding, 2.5rem) - var(--gov-form-input-core-l-icon-size, 1rem)) / 2)}[size=l].gov-form-input *[slot=right-icon]~input,[size=l].gov-form-input *[slot=right-icon]~select{padding-right:var(--gov-form-input-core-l-icon-padding, 2.5rem)}[size=xl].gov-form-input{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing);gap:0.5rem var(--gov-form-input-core-xl-icon-size, 1.25rem)}[size=xl].gov-form-input input,[size=xl].gov-form-input select{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing);height:var(--gov-form-input-core-xl-height, 3.5rem);padding:var(--gov-form-input-core-xl-padding, 0.9375rem 1rem 0.875rem)}[size=xl].gov-form-input *[slot=left-icon],[size=xl].gov-form-input *[slot=right-icon]{width:var(--gov-form-input-core-xl-icon-size, 1.25rem);height:var(--gov-form-input-core-xl-icon-size, 1.25rem)}[size=xl].gov-form-input *[slot=left-icon]{left:calc((var(--gov-form-input-core-xl-icon-padding, 3rem) - var(--gov-form-input-core-xl-icon-size, 1.25rem)) / 2)}[size=xl].gov-form-input *[slot=left-icon]~input{padding-left:var(--gov-form-input-core-xl-icon-padding, 3rem)}[size=xl].gov-form-input *[slot=right-icon]{right:calc((var(--gov-form-input-core-xl-icon-padding, 3rem) - var(--gov-form-input-core-xl-icon-size, 1.25rem)) / 2)}[size=xl].gov-form-input *[slot=right-icon]~input,[size=xl].gov-form-input *[slot=right-icon]~select{padding-right:var(--gov-form-input-core-xl-icon-padding, 3rem)}[variant=primary].gov-form-input input,[variant=primary].gov-form-input select,[variant=primary].gov-form-input textarea{color:var(--gov-form-input-color-primary, var(--gov-color-secondary-700));border:var(--gov-form-input-border-primary, 0.0625rem solid var(--gov-color-primary-600))}[variant=primary].gov-form-input *[slot=left-icon],[variant=primary].gov-form-input *[slot=right-icon]:not(.icon-arrow){color:var(--gov-form-input-icon-color-primary, var(--gov-color-primary))}[variant=secondary].gov-form-input input,[variant=secondary].gov-form-input select,[variant=secondary].gov-form-input textarea{color:var(--gov-form-input-color-secondary, var(--gov-color-secondary-700));border:var(--gov-form-input-border-secondary, 0.0625rem solid var(--gov-color-secondary-700))}[variant=secondary].gov-form-input *[slot=left-icon],[variant=secondary].gov-form-input *[slot=right-icon]:not(.icon-arrow){color:var(--gov-form-input-icon-color-secondary, var(--gov-color-primary))}[disabled=""].gov-form-input,[disabled=true i].gov-form-input,[disabled="1"].gov-form-input{pointer-events:none}[disabled=""].gov-form-input input,[disabled=""].gov-form-input select,[disabled=""].gov-form-input textarea,[disabled=true i].gov-form-input input,[disabled=true i].gov-form-input select,[disabled=true i].gov-form-input textarea,[disabled="1"].gov-form-input input,[disabled="1"].gov-form-input select,[disabled="1"].gov-form-input textarea{border-color:var(--gov-form-state-color-disabled, var(--gov-color-secondary-600));background:var(--gov-form-input-disabled-bg, var(--gov-color-secondary-300));color:var(--gov-form-state-color-disabled, var(--gov-color-secondary-600))}[disabled=""].gov-form-input *[slot=left-icon],[disabled=""].gov-form-input *[slot=right-icon],[disabled=true i].gov-form-input *[slot=left-icon],[disabled=true i].gov-form-input *[slot=right-icon],[disabled="1"].gov-form-input *[slot=left-icon],[disabled="1"].gov-form-input *[slot=right-icon]{color:var(--gov-form-state-color-disabled, var(--gov-color-secondary-600)) !important}[invalid=""].gov-form-input input,[invalid=""].gov-form-input select,[invalid=""].gov-form-input textarea,[invalid=true i].gov-form-input input,[invalid=true i].gov-form-input select,[invalid=true i].gov-form-input textarea,[invalid="1"].gov-form-input input,[invalid="1"].gov-form-input select,[invalid="1"].gov-form-input textarea{border-color:var(--gov-form-state-color-error, var(--gov-color-error));color:var(--gov-form-state-color-error, var(--gov-color-error))}[invalid=""].gov-form-input input::-moz-placeholder,[invalid=""].gov-form-input select::-moz-placeholder,[invalid=""].gov-form-input textarea::-moz-placeholder,[invalid=true i].gov-form-input input::-moz-placeholder,[invalid=true i].gov-form-input select::-moz-placeholder,[invalid=true i].gov-form-input textarea::-moz-placeholder,[invalid="1"].gov-form-input input::-moz-placeholder,[invalid="1"].gov-form-input select::-moz-placeholder,[invalid="1"].gov-form-input textarea::-moz-placeholder{color:var(--gov-form-state-color-error, var(--gov-color-error-300))}[invalid=""].gov-form-input input::placeholder,[invalid=""].gov-form-input select::placeholder,[invalid=""].gov-form-input textarea::placeholder,[invalid=true i].gov-form-input input::placeholder,[invalid=true i].gov-form-input select::placeholder,[invalid=true i].gov-form-input textarea::placeholder,[invalid="1"].gov-form-input input::placeholder,[invalid="1"].gov-form-input select::placeholder,[invalid="1"].gov-form-input textarea::placeholder{color:var(--gov-form-state-color-error, var(--gov-color-error-300))}[invalid=""].gov-form-input *[slot=left-icon],[invalid=""].gov-form-input *[slot=right-icon],[invalid=true i].gov-form-input *[slot=left-icon],[invalid=true i].gov-form-input *[slot=right-icon],[invalid="1"].gov-form-input *[slot=left-icon],[invalid="1"].gov-form-input *[slot=right-icon]{color:var(--gov-form-state-color-error, var(--gov-color-error)) !important}[invalid=""].gov-form-input *[slot=right-icon]:not(.icon-validation):not(.icon-arrow),[invalid=true i].gov-form-input *[slot=right-icon]:not(.icon-validation):not(.icon-arrow),[invalid="1"].gov-form-input *[slot=right-icon]:not(.icon-validation):not(.icon-arrow){display:none}[success=""].gov-form-input *[slot=right-icon]:not(.icon-arrow),[success=true i].gov-form-input *[slot=right-icon]:not(.icon-arrow),[success="1"].gov-form-input *[slot=right-icon]:not(.icon-arrow){color:var(--gov-form-state-color-success, var(--gov-color-success))}[success=""].gov-form-input *[slot=right-icon]:not(.icon-validation):not(.icon-arrow),[success=true i].gov-form-input *[slot=right-icon]:not(.icon-validation):not(.icon-arrow),[success="1"].gov-form-input *[slot=right-icon]:not(.icon-validation):not(.icon-arrow){display:none}[multiline=""].gov-form-input *[slot=left-icon],[multiline=""].gov-form-input *[slot=right-icon],[multiline=true i].gov-form-input *[slot=left-icon],[multiline=true i].gov-form-input *[slot=right-icon],[multiline="1"].gov-form-input *[slot=left-icon],[multiline="1"].gov-form-input *[slot=right-icon]{display:none}.gov-form-input[type=reset] input{border-width:0}.gov-form-input[type=reset] input:focus{outline:none}';var b;(function(o){o["INPUT"]="input";o["TEXTAREA"]="textarea"})(b||(b={}));const w=o(class o extends i{constructor(){super();this.__registerHost();this.govFocus=t(this,"gov-focus",7);this.govBlur=t(this,"gov-blur",7);this.govInput=t(this,"gov-input",7);this.govKeyUp=t(this,"gov-keyup",7);this.govKeyDown=t(this,"gov-keydown",7);this.value=undefined;this.identifier=undefined;this.variant="secondary";this.success=undefined;this.size="m";this.name=undefined;this.multiline=undefined;this.rows=undefined;this.cols=undefined;this.required=false;this.disabled=undefined;this.placeholder=undefined;this.readonly=undefined;this.minlength=undefined;this.maxlength=undefined;this.min=undefined;this.max=undefined;this.autocomplete=undefined;this.autocorrect=undefined;this.type=undefined;this.inputType="text";this.role=undefined;this.invalid=undefined;this.wcagDescribedBy=undefined;this.wcagLabelledBy=undefined;this.wcagOwns=undefined;this.wcagAutocomplete=undefined;this.wcagExpanded=undefined;this.focused=undefined;this.h=v(this.host);this.inputId=h("GovInput");this.f=n(this.h)}validateVariant(o){u(s,o,a.root)}validateSize(o){u(l,o,a.root)}watchDisabled(){this.passControlAttrs()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("disabled",g(this.disabled));this.f.passAttrToControl("invalid",g(this.invalid));this.f.passAttrToControl("type",this.multiline?b.TEXTAREA:b.INPUT)}componentWillLoad(){this.validateVariant(this.variant);this.validateSize(this.size);this.passControlAttrs();this.f.passAttrToLabel("required",String(this.required))}async componentDidRender(){if(p()){await x(500);await this.validateWcag()}}render(){const o=this.multiline?b.TEXTAREA:b.INPUT;return e(r,{class:a.root,size:this.size,variant:this.variant,type:this.type},this.h.hasSlot("prefix")&&e("slot",{name:"prefix"}),e("span",{class:"element"},this.h.hasSlot("left-icon")&&e("slot",{name:"left-icon"}),this.h.hasSlot("right-icon")&&!(this.success||this.invalid)&&e("slot",{name:"right-icon"}),this.success&&!this.multiline&&e("gov-icon",{slot:"right-icon",class:"icon-validation",name:"check-lg"}),this.invalid&&!this.multiline&&e("gov-icon",{slot:"right-icon",class:"icon-validation",name:"exclamation-lg"}),e(o,{type:this.inputType,disabled:this.disabled,id:this.identifier||this.inputId,name:this.name,onFocus:this.onFocusHandler.bind(this),onInput:this.onInputHandler.bind(this),onBlur:this.onBlurHandler.bind(this),onKeyUp:this.onKeyUpHandler.bind(this),onKeyDown:this.onKeyDownHandler.bind(this),ref:o=>this.inputRef=o,placeholder:this.placeholder,value:this.value,readonly:c(this.readonly),autocomplete:m(this.autocomplete),autocorrect:m(this.autocorrect),minlength:this.minlength,maxlength:this.maxlength,min:this.min,max:this.max,required:this.required,rows:this.rows,cols:this.cols,role:this.role,"aria-required":c(this.required),"aria-invalid":c(this.invalid),"aria-disabled":c(this.disabled),"aria-describedby":this.wcagDescribedBy,"aria-labelledby":this.wcagLabelledBy,"aria-owns":this.wcagOwns,"aria-expanded":c(this.wcagExpanded),"aria-autocomplete":this.wcagAutocomplete})),this.h.hasSlot("sufix")&&e("slot",{name:"sufix"}))}onFocusHandler(o){o.stopPropagation();this.focused=true;this.govFocus.emit({component:a.root,value:this.value,originalEvent:o})}onBlurHandler(o){o.stopPropagation();this.focused=false;this.govBlur.emit({component:a.root,value:this.value,originalEvent:o})}onKeyUpHandler(o){o.stopPropagation();this.govKeyUp.emit({component:a.root,value:this.value,originalEvent:o})}onKeyDownHandler(o){o.stopPropagation();this.govKeyDown.emit({component:a.root,value:this.value,originalEvent:o})}onInputHandler(o){this.value=o.target.value;o.stopPropagation();this.govInput.emit({component:a.root,value:this.value,originalEvent:o})}async setFocus(o){return this.inputRef.focus(o)}async setValue(o){this.value=o}async clearValue(){this.value="";this.inputRef.value=""}async getRef(){return this.inputRef}async validateWcag(){f(this.wcagDescribedBy,"wcag-described-by",a.root);f(this.wcagLabelledBy,"wcag-labelled-by",a.root);f(this.wcagOwns,"wcag-owns",a.root);d(this.identifier||this.inputId,this.wcagLabelledBy,a.root)}get host(){return this}static get watchers(){return{variant:["validateVariant"],size:["validateSize","watchDisabled"],disabled:["watchDisabled"],invalid:["watchDisabled"],type:["watchDisabled"]}}static get style(){return y}},[4,"gov-form-input",{value:[1537],identifier:[1],variant:[1],success:[4],size:[1],name:[1],multiline:[4],rows:[2],cols:[2],required:[4],disabled:[4],placeholder:[1],readonly:[4],minlength:[2],maxlength:[2],min:[8],max:[8],autocomplete:[4],autocorrect:[4],type:[1],inputType:[1,"input-type"],role:[1],invalid:[4],wcagDescribedBy:[1,"wcag-described-by"],wcagLabelledBy:[1,"wcag-labelled-by"],wcagOwns:[1,"wcag-owns"],wcagAutocomplete:[1,"wcag-autocomplete"],wcagExpanded:[4,"wcag-expanded"],focused:[32],setFocus:[64],setValue:[64],clearValue:[64],getRef:[64],validateWcag:[64]}]);function k(){if(typeof customElements==="undefined"){return}const o=["gov-form-input","gov-icon"];o.forEach((o=>{switch(o){case"gov-form-input":if(!customElements.get(o)){customElements.define(o,w)}break;case"gov-icon":if(!customElements.get(o)){z()}break}}))}k();export{w as G,k as d};
2
- //# sourceMappingURL=p-a6915747.js.map
1
+ import{p as o,H as i,c as t,h as e,d as r}from"./p-80c0109d.js";import{g as n,c as a,d as s,e as l}from"./p-17c1ffc1.js";import{g as v,a as g,t as c,c as m}from"./p-3f37ddb6.js";import{c as p}from"./p-cac3881f.js";import{v as u}from"./p-26acf964.js";import{b as f,c as d}from"./p-ae894a40.js";import{c as h}from"./p-24636c53.js";import{d as x}from"./p-03990da5.js";import{d as z}from"./p-010f8351.js";const y='.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-form-input{position:relative;display:flex;width:100%;align-items:center}.gov-form-input .element{position:relative;display:flex;flex:1 1 auto}.gov-form-input input,.gov-form-input select,.gov-form-input textarea{width:100%;border-radius:var(--gov-border-radius, 0.1875rem);background-color:var(--gov-form-bg-color, var(--gov-color-neutral-white));font-family:var(--gov-font-family, "Roboto", sans-serif)}.gov-form-input input:focus,.gov-form-input select:focus,.gov-form-input textarea:focus{outline:none}.gov-form-input input:focus-visible,.gov-form-input select:focus-visible,.gov-form-input textarea:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0}.gov-form-input input::-moz-placeholder,.gov-form-input select::-moz-placeholder,.gov-form-input textarea::-moz-placeholder{color:var(--gov-form-placeholder-color, var(--gov-color-secondary-600))}.gov-form-input input::placeholder,.gov-form-input select::placeholder,.gov-form-input textarea::placeholder{color:var(--gov-form-placeholder-color, var(--gov-color-secondary-600))}.gov-form-input textarea{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);padding:0.5rem 0.75rem;resize:none}.gov-form-input *[slot=left-icon],.gov-form-input *[slot=right-icon]{position:absolute;top:50%;display:flex;justify-content:center;transform:translateY(-50%);pointer-events:none}.gov-form-input *[slot=left-icon]{left:0}.gov-form-input *[slot=right-icon]{right:0}.gov-form-input *[slot=prefix],.gov-form-input *[slot=sufix]{margin:0}[size=s].gov-form-input{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);gap:0.5rem var(--gov-form-input-core-s-icon-size, 1rem)}[size=s].gov-form-input input,[size=s].gov-form-input select{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);height:var(--gov-form-input-core-s-height, 2rem);padding:var(--gov-form-input-core-s-padding, 0.25rem 0.75rem)}[size=s].gov-form-input *[slot=left-icon],[size=s].gov-form-input *[slot=right-icon]{width:var(--gov-form-input-core-s-icon-size, 1rem);height:var(--gov-form-input-core-s-icon-size, 1rem)}[size=s].gov-form-input *[slot=left-icon]{left:calc((var(--gov-form-input-core-s-icon-padding, 2rem) - var(--gov-form-input-core-s-icon-size, 1rem)) / 2)}[size=s].gov-form-input *[slot=left-icon]~input{padding-left:var(--gov-form-input-core-s-icon-padding, 2rem)}[size=s].gov-form-input *[slot=right-icon]{right:calc((var(--gov-form-input-core-s-icon-padding, 2rem) - var(--gov-form-input-core-s-icon-size, 1rem)) / 2)}[size=s].gov-form-input *[slot=right-icon]~input,[size=s].gov-form-input *[slot=right-icon]~select{padding-right:var(--gov-form-input-core-s-icon-padding, 2rem)}[size=m].gov-form-input{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);gap:0.5rem var(--gov-form-input-core-m-icon-size, 1rem)}[size=m].gov-form-input input,[size=m].gov-form-input select{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);height:var(--gov-form-input-core-m-height, 2.5rem);padding:var(--gov-form-input-core-m-padding, 0.4375rem 0.75rem)}[size=m].gov-form-input *[slot=left-icon],[size=m].gov-form-input *[slot=right-icon]{width:var(--gov-form-input-core-m-icon-size, 1rem);height:var(--gov-form-input-core-m-icon-size, 1rem)}[size=m].gov-form-input *[slot=left-icon]{left:calc((var(--gov-form-input-core-m-icon-padding, 2.5rem) - var(--gov-form-input-core-m-icon-size, 1rem)) / 2)}[size=m].gov-form-input *[slot=left-icon]~input{padding-left:var(--gov-form-input-core-m-icon-padding, 2.5rem)}[size=m].gov-form-input *[slot=right-icon]{right:calc((var(--gov-form-input-core-m-icon-padding, 2.5rem) - var(--gov-form-input-core-m-icon-size, 1rem)) / 2)}[size=m].gov-form-input *[slot=right-icon]~input,[size=m].gov-form-input *[slot=right-icon]~select{padding-right:var(--gov-form-input-core-m-icon-padding, 2.5rem)}[size=l].gov-form-input{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);gap:0.5rem var(--gov-form-input-core-l-icon-size, 1rem)}[size=l].gov-form-input input,[size=l].gov-form-input select{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);height:var(--gov-form-input-core-l-height, 3rem);padding:var(--gov-form-input-core-l-padding, 0.6875rem 0.75rem)}[size=l].gov-form-input *[slot=left-icon],[size=l].gov-form-input *[slot=right-icon]{width:var(--gov-form-input-core-l-icon-size, 1rem);height:var(--gov-form-input-core-l-icon-size, 1rem)}[size=l].gov-form-input *[slot=left-icon]{left:calc((var(--gov-form-input-core-l-icon-padding, 2.5rem) - var(--gov-form-input-core-l-icon-size, 1rem)) / 2)}[size=l].gov-form-input *[slot=left-icon]~input{padding-left:var(--gov-form-input-core-l-icon-padding, 2.5rem)}[size=l].gov-form-input *[slot=right-icon]{right:calc((var(--gov-form-input-core-l-icon-padding, 2.5rem) - var(--gov-form-input-core-l-icon-size, 1rem)) / 2)}[size=l].gov-form-input *[slot=right-icon]~input,[size=l].gov-form-input *[slot=right-icon]~select{padding-right:var(--gov-form-input-core-l-icon-padding, 2.5rem)}[size=xl].gov-form-input{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing);gap:0.5rem var(--gov-form-input-core-xl-icon-size, 1.25rem)}[size=xl].gov-form-input input,[size=xl].gov-form-input select{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing);height:var(--gov-form-input-core-xl-height, 3.5rem);padding:var(--gov-form-input-core-xl-padding, 0.9375rem 1rem 0.875rem)}[size=xl].gov-form-input *[slot=left-icon],[size=xl].gov-form-input *[slot=right-icon]{width:var(--gov-form-input-core-xl-icon-size, 1.25rem);height:var(--gov-form-input-core-xl-icon-size, 1.25rem)}[size=xl].gov-form-input *[slot=left-icon]{left:calc((var(--gov-form-input-core-xl-icon-padding, 3rem) - var(--gov-form-input-core-xl-icon-size, 1.25rem)) / 2)}[size=xl].gov-form-input *[slot=left-icon]~input{padding-left:var(--gov-form-input-core-xl-icon-padding, 3rem)}[size=xl].gov-form-input *[slot=right-icon]{right:calc((var(--gov-form-input-core-xl-icon-padding, 3rem) - var(--gov-form-input-core-xl-icon-size, 1.25rem)) / 2)}[size=xl].gov-form-input *[slot=right-icon]~input,[size=xl].gov-form-input *[slot=right-icon]~select{padding-right:var(--gov-form-input-core-xl-icon-padding, 3rem)}[variant=primary].gov-form-input input,[variant=primary].gov-form-input select,[variant=primary].gov-form-input textarea{color:var(--gov-form-input-color-primary, var(--gov-color-secondary-700));border:var(--gov-form-input-border-primary, 0.0625rem solid var(--gov-color-primary-600))}[variant=primary].gov-form-input *[slot=left-icon],[variant=primary].gov-form-input *[slot=right-icon]:not(.icon-arrow){color:var(--gov-form-input-icon-color-primary, var(--gov-color-primary))}[variant=secondary].gov-form-input input,[variant=secondary].gov-form-input select,[variant=secondary].gov-form-input textarea{color:var(--gov-form-input-color-secondary, var(--gov-color-secondary-700));border:var(--gov-form-input-border-secondary, 0.0625rem solid var(--gov-color-secondary-700))}[variant=secondary].gov-form-input *[slot=left-icon],[variant=secondary].gov-form-input *[slot=right-icon]:not(.icon-arrow){color:var(--gov-form-input-icon-color-secondary, var(--gov-color-primary))}[disabled=""].gov-form-input,[disabled=true i].gov-form-input,[disabled="1"].gov-form-input{pointer-events:none}[disabled=""].gov-form-input input,[disabled=""].gov-form-input select,[disabled=""].gov-form-input textarea,[disabled=true i].gov-form-input input,[disabled=true i].gov-form-input select,[disabled=true i].gov-form-input textarea,[disabled="1"].gov-form-input input,[disabled="1"].gov-form-input select,[disabled="1"].gov-form-input textarea{border-color:var(--gov-form-state-color-disabled, var(--gov-color-secondary-600));background:var(--gov-form-input-disabled-bg, var(--gov-color-secondary-300));color:var(--gov-form-state-color-disabled, var(--gov-color-secondary-600))}[disabled=""].gov-form-input *[slot=left-icon],[disabled=""].gov-form-input *[slot=right-icon],[disabled=true i].gov-form-input *[slot=left-icon],[disabled=true i].gov-form-input *[slot=right-icon],[disabled="1"].gov-form-input *[slot=left-icon],[disabled="1"].gov-form-input *[slot=right-icon]{color:var(--gov-form-state-color-disabled, var(--gov-color-secondary-600)) !important}[invalid=""].gov-form-input input,[invalid=""].gov-form-input select,[invalid=""].gov-form-input textarea,[invalid=true i].gov-form-input input,[invalid=true i].gov-form-input select,[invalid=true i].gov-form-input textarea,[invalid="1"].gov-form-input input,[invalid="1"].gov-form-input select,[invalid="1"].gov-form-input textarea{border-color:var(--gov-form-state-color-error, var(--gov-color-error));color:var(--gov-form-state-color-error, var(--gov-color-error))}[invalid=""].gov-form-input input::-moz-placeholder,[invalid=""].gov-form-input select::-moz-placeholder,[invalid=""].gov-form-input textarea::-moz-placeholder,[invalid=true i].gov-form-input input::-moz-placeholder,[invalid=true i].gov-form-input select::-moz-placeholder,[invalid=true i].gov-form-input textarea::-moz-placeholder,[invalid="1"].gov-form-input input::-moz-placeholder,[invalid="1"].gov-form-input select::-moz-placeholder,[invalid="1"].gov-form-input textarea::-moz-placeholder{color:var(--gov-form-state-color-error, var(--gov-color-error-300))}[invalid=""].gov-form-input input::placeholder,[invalid=""].gov-form-input select::placeholder,[invalid=""].gov-form-input textarea::placeholder,[invalid=true i].gov-form-input input::placeholder,[invalid=true i].gov-form-input select::placeholder,[invalid=true i].gov-form-input textarea::placeholder,[invalid="1"].gov-form-input input::placeholder,[invalid="1"].gov-form-input select::placeholder,[invalid="1"].gov-form-input textarea::placeholder{color:var(--gov-form-state-color-error, var(--gov-color-error-300))}[invalid=""].gov-form-input *[slot=left-icon],[invalid=""].gov-form-input *[slot=right-icon],[invalid=true i].gov-form-input *[slot=left-icon],[invalid=true i].gov-form-input *[slot=right-icon],[invalid="1"].gov-form-input *[slot=left-icon],[invalid="1"].gov-form-input *[slot=right-icon]{color:var(--gov-form-state-color-error, var(--gov-color-error)) !important}[invalid=""].gov-form-input *[slot=right-icon]:not(.icon-validation):not(.icon-arrow),[invalid=true i].gov-form-input *[slot=right-icon]:not(.icon-validation):not(.icon-arrow),[invalid="1"].gov-form-input *[slot=right-icon]:not(.icon-validation):not(.icon-arrow){display:none}[success=""].gov-form-input *[slot=right-icon]:not(.icon-arrow),[success=true i].gov-form-input *[slot=right-icon]:not(.icon-arrow),[success="1"].gov-form-input *[slot=right-icon]:not(.icon-arrow){color:var(--gov-form-state-color-success, var(--gov-color-success))}[success=""].gov-form-input *[slot=right-icon]:not(.icon-validation):not(.icon-arrow),[success=true i].gov-form-input *[slot=right-icon]:not(.icon-validation):not(.icon-arrow),[success="1"].gov-form-input *[slot=right-icon]:not(.icon-validation):not(.icon-arrow){display:none}[multiline=""].gov-form-input *[slot=left-icon],[multiline=""].gov-form-input *[slot=right-icon],[multiline=true i].gov-form-input *[slot=left-icon],[multiline=true i].gov-form-input *[slot=right-icon],[multiline="1"].gov-form-input *[slot=left-icon],[multiline="1"].gov-form-input *[slot=right-icon]{display:none}.gov-form-input[type=reset] input{border-width:0}.gov-form-input[type=reset] input:focus{outline:none}';var b;(function(o){o["INPUT"]="input";o["TEXTAREA"]="textarea"})(b||(b={}));const w=o(class o extends i{constructor(){super();this.__registerHost();this.govFocus=t(this,"gov-focus",7);this.govBlur=t(this,"gov-blur",7);this.govInput=t(this,"gov-input",7);this.govKeyUp=t(this,"gov-keyup",7);this.govKeyDown=t(this,"gov-keydown",7);this.value=undefined;this.identifier=undefined;this.variant="secondary";this.success=undefined;this.size="m";this.name=undefined;this.multiline=undefined;this.rows=undefined;this.cols=undefined;this.required=false;this.disabled=false;this.placeholder=undefined;this.readonly=undefined;this.minlength=undefined;this.maxlength=undefined;this.min=undefined;this.max=undefined;this.autocomplete=undefined;this.autocorrect=undefined;this.type=undefined;this.inputType="text";this.role=undefined;this.invalid=undefined;this.wcagDescribedBy=undefined;this.wcagLabelledBy=undefined;this.wcagOwns=undefined;this.wcagAutocomplete=undefined;this.wcagExpanded=undefined;this.focused=undefined;this.h=v(this.host);this.inputId=h("GovInput");this.f=n(this.h)}validateVariant(o){u(s,o,a.root)}validateSize(o){u(l,o,a.root)}watchDisabled(){this.passControlAttrs()}passControlAttrs(){this.f.passAttrToControl("size",this.size);this.f.passAttrToControl("disabled",g(this.disabled));this.f.passAttrToControl("invalid",g(this.invalid));this.f.passAttrToControl("type",this.multiline?b.TEXTAREA:b.INPUT)}componentWillLoad(){this.validateVariant(this.variant);this.validateSize(this.size);this.passControlAttrs();this.f.passAttrToLabel("required",String(this.required))}async componentDidRender(){if(p()){await x(500);await this.validateWcag()}}render(){const o=this.multiline?b.TEXTAREA:b.INPUT;return e(r,{class:a.root,size:this.size,variant:this.variant,type:this.type},this.h.hasSlot("prefix")&&e("slot",{name:"prefix"}),e("span",{class:"element"},this.h.hasSlot("left-icon")&&e("slot",{name:"left-icon"}),this.h.hasSlot("right-icon")&&!(this.success||this.invalid)&&e("slot",{name:"right-icon"}),this.success&&!this.multiline&&e("gov-icon",{slot:"right-icon",class:"icon-validation",name:"check-lg"}),this.invalid&&!this.multiline&&e("gov-icon",{slot:"right-icon",class:"icon-validation",name:"exclamation-lg"}),e(o,{type:this.inputType,disabled:this.disabled,id:this.identifier||this.inputId,name:this.name,onFocus:this.onFocusHandler.bind(this),onInput:this.onInputHandler.bind(this),onBlur:this.onBlurHandler.bind(this),onKeyUp:this.onKeyUpHandler.bind(this),onKeyDown:this.onKeyDownHandler.bind(this),ref:o=>this.inputRef=o,placeholder:this.placeholder,value:this.value,readonly:c(this.readonly),autocomplete:m(this.autocomplete),autocorrect:m(this.autocorrect),minlength:this.minlength,maxlength:this.maxlength,min:this.min,max:this.max,required:this.required,rows:this.rows,cols:this.cols,role:this.role,"aria-required":c(this.required),"aria-invalid":c(this.invalid),"aria-disabled":c(this.disabled),"aria-describedby":this.wcagDescribedBy,"aria-labelledby":this.wcagLabelledBy,"aria-owns":this.wcagOwns,"aria-expanded":c(this.wcagExpanded),"aria-autocomplete":this.wcagAutocomplete})),this.h.hasSlot("sufix")&&e("slot",{name:"sufix"}))}onFocusHandler(o){o.stopPropagation();this.focused=true;this.govFocus.emit({component:a.root,value:this.value,originalEvent:o})}onBlurHandler(o){o.stopPropagation();this.focused=false;this.govBlur.emit({component:a.root,value:this.value,originalEvent:o})}onKeyUpHandler(o){o.stopPropagation();this.govKeyUp.emit({component:a.root,value:this.value,originalEvent:o})}onKeyDownHandler(o){o.stopPropagation();this.govKeyDown.emit({component:a.root,value:this.value,originalEvent:o})}onInputHandler(o){this.value=o.target.value;o.stopPropagation();this.govInput.emit({component:a.root,value:this.value,originalEvent:o})}async setFocus(o){return this.inputRef.focus(o)}async setValue(o){this.value=o}async clearValue(){this.value="";this.inputRef.value=""}async getRef(){return this.inputRef}async validateWcag(){f(this.wcagDescribedBy,"wcag-described-by",a.root);f(this.wcagLabelledBy,"wcag-labelled-by",a.root);f(this.wcagOwns,"wcag-owns",a.root);d(this.identifier||this.inputId,this.wcagLabelledBy,a.root)}get host(){return this}static get watchers(){return{variant:["validateVariant"],size:["validateSize","watchDisabled"],disabled:["watchDisabled"],invalid:["watchDisabled"],type:["watchDisabled"]}}static get style(){return y}},[4,"gov-form-input",{value:[1537],identifier:[1],variant:[1],success:[4],size:[1],name:[1],multiline:[4],rows:[2],cols:[2],required:[4],disabled:[1540],placeholder:[1],readonly:[4],minlength:[2],maxlength:[2],min:[8],max:[8],autocomplete:[4],autocorrect:[4],type:[1],inputType:[1,"input-type"],role:[1],invalid:[4],wcagDescribedBy:[1,"wcag-described-by"],wcagLabelledBy:[1,"wcag-labelled-by"],wcagOwns:[1,"wcag-owns"],wcagAutocomplete:[1,"wcag-autocomplete"],wcagExpanded:[4,"wcag-expanded"],focused:[32],setFocus:[64],setValue:[64],clearValue:[64],getRef:[64],validateWcag:[64]}]);function k(){if(typeof customElements==="undefined"){return}const o=["gov-form-input","gov-icon"];o.forEach((o=>{switch(o){case"gov-form-input":if(!customElements.get(o)){customElements.define(o,w)}break;case"gov-icon":if(!customElements.get(o)){z()}break}}))}k();export{w as G,k as d};
2
+ //# sourceMappingURL=p-b9447c86.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["govFormInputCss","Tags","GovFormInput","proxyCustomElement","H","constructor","this","h","govHost","host","inputId","createID","f","govForm","validateVariant","newValue","validateProp","FormInputVariants","FormInputClass","root","validateSize","FormInputSizes","watchDisabled","passControlAttrs","passAttrToControl","size","toBoolAttr","disabled","invalid","multiline","TEXTAREA","INPUT","componentWillLoad","variant","passAttrToLabel","String","required","componentDidRender","canValidateWcagOnRender","delay","validateWcag","render","Tag","Host","class","type","hasSlot","name","success","slot","inputType","id","identifier","onFocus","onFocusHandler","bind","onInput","onInputHandler","onBlur","onBlurHandler","onKeyUp","onKeyUpHandler","onKeyDown","onKeyDownHandler","ref","el","inputRef","placeholder","value","readonly","toBoolAttrIfDefined","autocomplete","toOnOffAttrIfDefined","autocorrect","minlength","maxlength","min","max","rows","cols","role","wcagDescribedBy","wcagLabelledBy","wcagOwns","wcagExpanded","wcagAutocomplete","e","stopPropagation","focused","govFocus","emit","component","originalEvent","govBlur","govKeyUp","govKeyDown","target","govInput","setFocus","options","focus","setValue","clearValue","getRef","validateWcagRef","validateWcagLabelFor"],"sources":["../../../packages/core/src/components/gov-form/input/gov-form-input.scss?tag=gov-form-input","../../../packages/core/src/components/gov-form/input/gov-form-input.tsx"],"sourcesContent":["/*\n * Input\n */\n\n@import \"../input/gov-form-input-core.scss\";\n$class: \".gov-form-input\";\n\n#{$class} {\n\t@extend %form-input-core;\n\n\t// VARIANTS\n\t&[type=\"reset\"] {\n\t\tinput {\n\t\t\tborder-width: 0;\n\t\t\t&:focus {\n\t\t\t\toutline: none;\n\t\t\t}\n\t\t}\n\t}\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from \"@stencil/core\"\nimport { govForm } from \"../../../helpers/Dom/form\"\nimport { GovForm } from \"../../../helpers/Dom/form.types\"\nimport { govHost, toBoolAttr, toBoolAttrIfDefined, toOnOffAttrIfDefined } from \"../../../helpers/Dom/template\"\nimport { GovHost } from \"../../../helpers/Dom/template.types\"\nimport { canValidateWcagOnRender } from \"../../../helpers/Dom/win\"\nimport { validateProp } from \"../../../helpers/Validate/props\"\nimport { validateWcagLabelFor, validateWcagRef } from \"../../../helpers/Validate/wcag\"\nimport { createID } from \"../../../utils/string.utils\"\nimport { delay } from \"../../../utils/utils\"\nimport {\n\tFormInputClass,\n\tFormInputSizes,\n\tFormInputSizesType,\n\tFormInputVariants,\n\tFormInputVariantType,\n\tInputType,\n\tType,\n} from \"./constants\"\nimport { FormInputEvent } from \"./gov-form-input.types\"\nimport { Nullable } from \"../../../types/interfaces\"\n\nenum Tags {\n\tINPUT = \"input\",\n\tTEXTAREA = \"textarea\",\n}\n\n@Component({\n\ttag: \"gov-form-input\",\n\tstyleUrl: \"gov-form-input.scss\",\n})\nexport class GovFormInput {\n\tprivate f: GovForm\n\tprivate readonly h: GovHost\n\tprivate inputRef?: HTMLInputElement\n\tprivate readonly inputId: string\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t\tthis.inputId = createID(\"GovInput\")\n\t\tthis.f = govForm(this.h)\n\t}\n\n\t@Element() host: HTMLGovFormInputElement\n\t/**\n\t * Value of input\n\t */\n\t@Prop({ reflect: true, mutable: true }) value: string\n\t/**\n\t * Custom input identifier.\n\t */\n\t@Prop({ attribute: \"identifier\" }) readonly identifier: string\n\t/**\n\t * Style variation of the form input.\n\t */\n\t@Prop() readonly variant?: FormInputVariantType = \"secondary\"\n\t/**\n\t * Indicates the entered value of child form element does conform to the format expected by the application.\n\t */\n\t@Prop() readonly success: boolean\n\t/**\n\t * Input’s size.\n\t */\n\t@Prop() readonly size?: FormInputSizesType = \"m\"\n\t/**\n\t * Name of the input.\n\t */\n\t@Prop() readonly name: string\n\t/**\n\t * Generates a texarea for the possibility of multiple lines\n\t */\n\t@Prop() readonly multiline: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows\n\t */\n\t@Prop() readonly rows: number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-cols\n\t */\n\t@Prop() readonly cols: number\n\t/**\n\t * Set whether the input is required or not. Please note that this is necessary for accessible inputs when the user is required to fill them.\n\t * When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.\n\t */\n\t@Prop() readonly required: boolean = false\n\t/**\n\t * Makes the input component disabled.\n\t * This prevents users from being able to interact with the select, and conveys its inactive state to assistive technologies.\n\t */\n\t@Prop({ reflect: true, mutable: true }) readonly disabled: boolean = false\n\t/**\n\t * Text that appears in the form control when it has no value set\n\t */\n\t@Prop() readonly placeholder: string\n\t/**\n\t * The value is not editable\n\t */\n\t@Prop() readonly readonly: boolean\n\t/**\n\t * Minimum length (number of characters) of value\n\t */\n\t@Prop() readonly minlength: number\n\t/**\n\t * Maximum length (number of characters) of value\n\t */\n\t@Prop() readonly maxlength: number\n\t/**\n\t * Minimum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly min?: string | number\n\t/**\n\t * Maximum value that is acceptable and valid for the input containing the attribute\n\t */\n\t@Prop() readonly max?: string | number\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocomplete\n\t */\n\t@Prop() readonly autocomplete: boolean\n\t/**\n\t * Same as original parameter https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-autocorrect\n\t */\n\t@Prop() readonly autocorrect: boolean\n\t/**\n\t * Defineds the visual style of input\n\t */\n\t@Prop() readonly type?: Type\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types\n\t */\n\t@Prop() readonly inputType: InputType = \"text\"\n\t/**\n\t * Same as original parameter\n\t * @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/input_role\n\t */\n\t@Prop() readonly role: Nullable<string>\n\t/**\n\t * Indicates the entered value does not conform to the format expected by the application.\n\t */\n\t@Prop() readonly invalid: boolean\n\t/**\n\t * Indicates the id of a component that describes the input.\n\t */\n\t@Prop({ attribute: \"wcag-described-by\" }) readonly wcagDescribedBy: string\n\t/**\n\t * Indicates the id of a component that labels the input.\n\t */\n\t@Prop({ attribute: \"wcag-labelled-by\" }) readonly wcagLabelledBy: string\n\t/**\n\t * Indicates the id of a component that describes the input.\n\t */\n\t@Prop({ attribute: \"wcag-owns\" }) readonly wcagOwns: string\n\t/**\n\t * Indicates whether inputting text could trigger display of one or more predictions of the user's intended value.\n\t */\n\t@Prop({ attribute: \"wcag-autocomplete\" }) readonly wcagAutocomplete: string\n\t/**\n\t * Attribute is set on an element to indicate if a control is expanded or collapsed\n\t */\n\t@Prop({ attribute: \"wcag-expanded\" }) readonly wcagExpanded: boolean\n\t/**\n\t * Emitted when the input has focus.\n\t */\n\t@Event({ eventName: \"gov-focus\" }) govFocus: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input loses focus.\n\t */\n\t@Event({ eventName: \"gov-blur\" }) govBlur: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({ eventName: \"gov-input\" }) govInput: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({ eventName: \"gov-keyup\" }) govKeyUp: EventEmitter<FormInputEvent>\n\t/**\n\t * Emitted when the input change value.\n\t */\n\t@Event({ eventName: \"gov-keydown\" }) govKeyDown: EventEmitter<FormInputEvent>\n\t@State() focused: boolean\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(FormInputVariants, newValue, FormInputClass.root)\n\t}\n\n\t@Watch(\"size\")\n\tvalidateSize(newValue: string): void {\n\t\tvalidateProp(FormInputSizes, newValue, FormInputClass.root)\n\t}\n\n\t@Watch(\"disabled\")\n\t@Watch(\"invalid\")\n\t@Watch(\"type\")\n\t@Watch(\"size\")\n\twatchDisabled(): void {\n\t\tthis.passControlAttrs()\n\t}\n\n\tprivate passControlAttrs() {\n\t\tthis.f.passAttrToControl(\"size\", this.size)\n\t\tthis.f.passAttrToControl(\"disabled\", toBoolAttr(this.disabled))\n\t\tthis.f.passAttrToControl(\"invalid\", toBoolAttr(this.invalid))\n\t\tthis.f.passAttrToControl(\"type\", this.multiline ? Tags.TEXTAREA : Tags.INPUT)\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.validateVariant(this.variant)\n\t\tthis.validateSize(this.size)\n\t\tthis.passControlAttrs()\n\n\t\tthis.f.passAttrToLabel(\"required\", String(this.required))\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\tconst Tag = this.multiline ? Tags.TEXTAREA : Tags.INPUT\n\n\t\treturn (\n\t\t\t<Host class={FormInputClass.root} size={this.size} variant={this.variant} type={this.type}>\n\t\t\t\t{this.h.hasSlot(\"prefix\") && <slot name=\"prefix\"></slot>}\n\t\t\t\t<span class=\"element\">\n\t\t\t\t\t{this.h.hasSlot(\"left-icon\") && <slot name=\"left-icon\" />}\n\n\t\t\t\t\t{this.h.hasSlot(\"right-icon\") && !(this.success || this.invalid) && <slot name=\"right-icon\" />}\n\n\t\t\t\t\t{this.success && !this.multiline &&\n\t\t\t\t\t\t\t\t\t\t\t<gov-icon slot=\"right-icon\" class=\"icon-validation\" name=\"check-lg\"></gov-icon>}\n\t\t\t\t\t{this.invalid && !this.multiline &&\n\t\t\t\t\t\t\t\t\t\t\t<gov-icon slot=\"right-icon\" class=\"icon-validation\" name=\"exclamation-lg\"></gov-icon>}\n\t\t\t\t\t<Tag\n\t\t\t\t\t\ttype={this.inputType}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tid={this.identifier || this.inputId}\n\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\tonFocus={this.onFocusHandler.bind(this)}\n\t\t\t\t\t\tonInput={this.onInputHandler.bind(this)}\n\t\t\t\t\t\tonBlur={this.onBlurHandler.bind(this)}\n\t\t\t\t\t\tonKeyUp={this.onKeyUpHandler.bind(this)}\n\t\t\t\t\t\tonKeyDown={this.onKeyDownHandler.bind(this)}\n\t\t\t\t\t\tref={el => (this.inputRef = el as HTMLInputElement)}\n\t\t\t\t\t\tplaceholder={this.placeholder}\n\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\treadonly={toBoolAttrIfDefined(this.readonly)}\n\t\t\t\t\t\tautocomplete={toOnOffAttrIfDefined(this.autocomplete)}\n\t\t\t\t\t\tautocorrect={toOnOffAttrIfDefined(this.autocorrect)}\n\t\t\t\t\t\tminlength={this.minlength}\n\t\t\t\t\t\tmaxlength={this.maxlength}\n\t\t\t\t\t\tmin={this.min}\n\t\t\t\t\t\tmax={this.max}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\trows={this.rows}\n\t\t\t\t\t\tcols={this.cols}\n\t\t\t\t\t\trole={this.role}\n\t\t\t\t\t\taria-required={toBoolAttrIfDefined(this.required)}\n\t\t\t\t\t\taria-invalid={toBoolAttrIfDefined(this.invalid)}\n\t\t\t\t\t\taria-disabled={toBoolAttrIfDefined(this.disabled)}\n\t\t\t\t\t\taria-describedby={this.wcagDescribedBy}\n\t\t\t\t\t\taria-labelledby={this.wcagLabelledBy}\n\t\t\t\t\t\taria-owns={this.wcagOwns}\n\t\t\t\t\t\taria-expanded={toBoolAttrIfDefined(this.wcagExpanded)}\n\t\t\t\t\t\taria-autocomplete={this.wcagAutocomplete}\n\t\t\t\t\t/>\n\t\t\t\t</span>\n\t\t\t\t{this.h.hasSlot(\"sufix\") && <slot name=\"sufix\"></slot>}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tprivate onFocusHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = true\n\t\tthis.govFocus.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onBlurHandler(e: FocusEvent) {\n\t\te.stopPropagation()\n\t\tthis.focused = false\n\t\tthis.govBlur.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyUpHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyUp.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onKeyDownHandler(e: KeyboardEvent) {\n\t\te.stopPropagation()\n\t\tthis.govKeyDown.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\tprivate onInputHandler(e: InputEvent) {\n\t\tthis.value = (e.target as HTMLInputElement).value\n\t\te.stopPropagation()\n\t\tthis.govInput.emit({\n\t\t\tcomponent: FormInputClass.root,\n\t\t\tvalue: this.value,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Returns the current state of the component\n\t */\n\t@Method()\n\tasync setFocus(options?: FocusOptions): Promise<void> {\n\t\treturn this.inputRef.focus(options)\n\t}\n\n\t/**\n\t * Sets the ordered value of the element\n\t */\n\t@Method()\n\tasync setValue(value: string): Promise<void> {\n\t\tthis.value = value\n\t}\n\n\t/**\n\t * Clears input value\n\t */\n\t@Method()\n\tasync clearValue(): Promise<void> {\n\t\tthis.value = \"\"\n\t\tthis.inputRef.value = \"\"\n\t}\n\n\t/**\n\t * Returns an instance of the native html input element\n\t */\n\t@Method()\n\tasync getRef(): Promise<HTMLInputElement> {\n\t\treturn this.inputRef\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tvalidateWcagRef(this.wcagDescribedBy, \"wcag-described-by\", FormInputClass.root)\n\t\tvalidateWcagRef(this.wcagLabelledBy, \"wcag-labelled-by\", FormInputClass.root)\n\t\tvalidateWcagRef(this.wcagOwns, \"wcag-owns\", FormInputClass.root)\n\t\tvalidateWcagLabelFor(this.identifier || this.inputId, this.wcagLabelledBy, FormInputClass.root)\n\t}\n}\n"],"mappings":"iZAAA,MAAMA,EAAkB,28YCsBxB,IAAKC,GAAL,SAAKA,GACJA,EAAA,iBACAA,EAAA,sBACA,EAHD,CAAKA,MAAI,K,MASIC,EAAYC,EAAA,MAAAD,UAAAE,EAMxB,WAAAC,G,gRAkBkD,Y,iCAQL,I,mGAqBR,M,cAKgC,M,qOAyC7B,O,mNA5FvCC,KAAKC,EAAIC,EAAQF,KAAKG,MACtBH,KAAKI,QAAUC,EAAS,YACxBL,KAAKM,EAAIC,EAAQP,KAAKC,E,CA+IvB,eAAAO,CAAgBC,GACfC,EAAaC,EAAmBF,EAAUG,EAAeC,K,CAI1D,YAAAC,CAAaL,GACZC,EAAaK,EAAgBN,EAAUG,EAAeC,K,CAOvD,aAAAG,GACChB,KAAKiB,kB,CAGE,gBAAAA,GACPjB,KAAKM,EAAEY,kBAAkB,OAAQlB,KAAKmB,MACtCnB,KAAKM,EAAEY,kBAAkB,WAAYE,EAAWpB,KAAKqB,WACrDrB,KAAKM,EAAEY,kBAAkB,UAAWE,EAAWpB,KAAKsB,UACpDtB,KAAKM,EAAEY,kBAAkB,OAAQlB,KAAKuB,UAAY5B,EAAK6B,SAAW7B,EAAK8B,M,CAGxE,iBAAAC,GACC1B,KAAKQ,gBAAgBR,KAAK2B,SAC1B3B,KAAKc,aAAad,KAAKmB,MACvBnB,KAAKiB,mBAELjB,KAAKM,EAAEsB,gBAAgB,WAAYC,OAAO7B,KAAK8B,U,CAGhD,wBAAMC,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNjC,KAAKkC,c,EAIb,MAAAC,GACC,MAAMC,EAAMpC,KAAKuB,UAAY5B,EAAK6B,SAAW7B,EAAK8B,MAElD,OACCxB,EAACoC,EAAI,CAACC,MAAO1B,EAAeC,KAAMM,KAAMnB,KAAKmB,KAAMQ,QAAS3B,KAAK2B,QAASY,KAAMvC,KAAKuC,MACnFvC,KAAKC,EAAEuC,QAAQ,WAAavC,EAAA,QAAMwC,KAAK,WACxCxC,EAAA,QAAMqC,MAAM,WACVtC,KAAKC,EAAEuC,QAAQ,cAAgBvC,EAAA,QAAMwC,KAAK,cAE1CzC,KAAKC,EAAEuC,QAAQ,iBAAmBxC,KAAK0C,SAAW1C,KAAKsB,UAAYrB,EAAA,QAAMwC,KAAK,eAE9EzC,KAAK0C,UAAY1C,KAAKuB,WACjBtB,EAAA,YAAU0C,KAAK,aAAaL,MAAM,kBAAkBG,KAAK,aAC9DzC,KAAKsB,UAAYtB,KAAKuB,WACjBtB,EAAA,YAAU0C,KAAK,aAAaL,MAAM,kBAAkBG,KAAK,mBAC/DxC,EAACmC,EAAG,CACHG,KAAMvC,KAAK4C,UACXvB,SAAUrB,KAAKqB,SACfwB,GAAI7C,KAAK8C,YAAc9C,KAAKI,QAC5BqC,KAAMzC,KAAKyC,KACXM,QAAS/C,KAAKgD,eAAeC,KAAKjD,MAClCkD,QAASlD,KAAKmD,eAAeF,KAAKjD,MAClCoD,OAAQpD,KAAKqD,cAAcJ,KAAKjD,MAChCsD,QAAStD,KAAKuD,eAAeN,KAAKjD,MAClCwD,UAAWxD,KAAKyD,iBAAiBR,KAAKjD,MACtC0D,IAAKC,GAAO3D,KAAK4D,SAAWD,EAC5BE,YAAa7D,KAAK6D,YAClBC,MAAO9D,KAAK8D,MACZC,SAAUC,EAAoBhE,KAAK+D,UACnCE,aAAcC,EAAqBlE,KAAKiE,cACxCE,YAAaD,EAAqBlE,KAAKmE,aACvCC,UAAWpE,KAAKoE,UAChBC,UAAWrE,KAAKqE,UAChBC,IAAKtE,KAAKsE,IACVC,IAAKvE,KAAKuE,IACVzC,SAAU9B,KAAK8B,SACf0C,KAAMxE,KAAKwE,KACXC,KAAMzE,KAAKyE,KACXC,KAAM1E,KAAK0E,KAAI,gBACAV,EAAoBhE,KAAK8B,UAAS,eACnCkC,EAAoBhE,KAAKsB,SAAQ,gBAChC0C,EAAoBhE,KAAKqB,UAAS,mBAC/BrB,KAAK2E,gBAAe,kBACrB3E,KAAK4E,eAAc,YACzB5E,KAAK6E,SAAQ,gBACTb,EAAoBhE,KAAK8E,cAAa,oBAClC9E,KAAK+E,oBAGzB/E,KAAKC,EAAEuC,QAAQ,UAAYvC,EAAA,QAAMwC,KAAK,U,CAKlC,cAAAO,CAAegC,GACtBA,EAAEC,kBACFjF,KAAKkF,QAAU,KACflF,KAAKmF,SAASC,KAAK,CAClBC,UAAWzE,EAAeC,KAC1BiD,MAAO9D,KAAK8D,MACZwB,cAAeN,G,CAIT,aAAA3B,CAAc2B,GACrBA,EAAEC,kBACFjF,KAAKkF,QAAU,MACflF,KAAKuF,QAAQH,KAAK,CACjBC,UAAWzE,EAAeC,KAC1BiD,MAAO9D,KAAK8D,MACZwB,cAAeN,G,CAIT,cAAAzB,CAAeyB,GACtBA,EAAEC,kBACFjF,KAAKwF,SAASJ,KAAK,CAClBC,UAAWzE,EAAeC,KAC1BiD,MAAO9D,KAAK8D,MACZwB,cAAeN,G,CAIT,gBAAAvB,CAAiBuB,GACxBA,EAAEC,kBACFjF,KAAKyF,WAAWL,KAAK,CACpBC,UAAWzE,EAAeC,KAC1BiD,MAAO9D,KAAK8D,MACZwB,cAAeN,G,CAIT,cAAA7B,CAAe6B,GACtBhF,KAAK8D,MAASkB,EAAEU,OAA4B5B,MAC5CkB,EAAEC,kBACFjF,KAAK2F,SAASP,KAAK,CAClBC,UAAWzE,EAAeC,KAC1BiD,MAAO9D,KAAK8D,MACZwB,cAAeN,G,CAQjB,cAAMY,CAASC,GACd,OAAO7F,KAAK4D,SAASkC,MAAMD,E,CAO5B,cAAME,CAASjC,GACd9D,KAAK8D,MAAQA,C,CAOd,gBAAMkC,GACLhG,KAAK8D,MAAQ,GACb9D,KAAK4D,SAASE,MAAQ,E,CAOvB,YAAMmC,GACL,OAAOjG,KAAK4D,Q,CAOb,kBAAM1B,GACLgE,EAAgBlG,KAAK2E,gBAAiB,oBAAqB/D,EAAeC,MAC1EqF,EAAgBlG,KAAK4E,eAAgB,mBAAoBhE,EAAeC,MACxEqF,EAAgBlG,KAAK6E,SAAU,YAAajE,EAAeC,MAC3DsF,EAAqBnG,KAAK8C,YAAc9C,KAAKI,QAASJ,KAAK4E,eAAgBhE,EAAeC,K"}
@@ -1 +1 @@
1
- .gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}*{margin:0}h1,.h1{font-weight:var(--gov-text-6xl-font-weight);font-size:var(--gov-text-6xl-font-size);line-height:var(--gov-text-6xl-line-height);letter-spacing:var(--gov-text-6xl-letter-spacing);margin-bottom:var(--gov-text-6xl-margin-bottom)}*+h1,*+.h1{margin-top:var(--gov-text-6xl-margin-top)}h2,.h2{font-weight:var(--gov-text-5xl-font-weight);font-size:var(--gov-text-5xl-font-size);line-height:var(--gov-text-5xl-line-height);letter-spacing:var(--gov-text-5xl-letter-spacing);margin-bottom:var(--gov-text-5xl-margin-bottom)}*+h2,*+.h2{margin-top:var(--gov-text-5xl-margin-top)}h3,.h3{font-weight:var(--gov-text-4xl-font-weight);font-size:var(--gov-text-4xl-font-size);line-height:var(--gov-text-4xl-line-height);letter-spacing:var(--gov-text-4xl-letter-spacing);margin-bottom:var(--gov-text-4xl-margin-bottom)}*+h3,*+.h3{margin-top:var(--gov-text-4xl-margin-top)}h4,.h4{font-weight:var(--gov-text-3xl-font-weight);font-size:var(--gov-text-3xl-font-size);line-height:var(--gov-text-3xl-line-height);letter-spacing:var(--gov-text-3xl-letter-spacing);margin-bottom:var(--gov-text-3xl-margin-bottom)}*+h4,*+.h4{margin-top:var(--gov-text-3xl-margin-top)}h5,.h5{font-weight:var(--gov-text-2xl-font-weight);font-size:var(--gov-text-2xl-font-size);line-height:var(--gov-text-2xl-line-height);letter-spacing:var(--gov-text-2xl-letter-spacing);margin-bottom:var(--gov-text-2xl-margin-bottom)}*+h5,*+.h5{margin-top:var(--gov-text-2xl-margin-top)}h6,.h6{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);margin-bottom:var(--gov-text-xl-margin-bottom)}*+h6,*+.h6{margin-top:var(--gov-text-xl-margin-top)}p{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);margin-bottom:var(--gov-text-m-margin-bottom)}*+p{margin-top:var(--gov-text-m-margin-top)}.gov-text--xs{font-weight:var(--gov-text-xs-font-weight);font-size:var(--gov-text-xs-font-size);line-height:var(--gov-text-xs-line-height);letter-spacing:var(--gov-text-xs-letter-spacing);margin-bottom:var(--gov-text-xs-margin-bottom)}*+.gov-text--xs{margin-top:var(--gov-text-xs-margin-top)}.gov-text--s{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing);margin-bottom:var(--gov-text-s-margin-bottom)}*+.gov-text--s{margin-top:var(--gov-text-s-margin-top)}.gov-text--m{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);margin-bottom:var(--gov-text-m-margin-bottom)}*+.gov-text--m{margin-top:var(--gov-text-m-margin-top)}.gov-text--l{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing);margin-bottom:var(--gov-text-l-margin-bottom)}*+.gov-text--l{margin-top:var(--gov-text-l-margin-top)}.gov-text--xl{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);margin-bottom:var(--gov-text-xl-margin-bottom)}*+.gov-text--xl{margin-top:var(--gov-text-xl-margin-top)}.gov-text--2xl{font-weight:var(--gov-text-2xl-font-weight);font-size:var(--gov-text-2xl-font-size);line-height:var(--gov-text-2xl-line-height);letter-spacing:var(--gov-text-2xl-letter-spacing);margin-bottom:var(--gov-text-2xl-margin-bottom)}*+.gov-text--2xl{margin-top:var(--gov-text-2xl-margin-top)}.gov-text--3xl{font-weight:var(--gov-text-3xl-font-weight);font-size:var(--gov-text-3xl-font-size);line-height:var(--gov-text-3xl-line-height);letter-spacing:var(--gov-text-3xl-letter-spacing);margin-bottom:var(--gov-text-3xl-margin-bottom)}*+.gov-text--3xl{margin-top:var(--gov-text-3xl-margin-top)}.gov-text--4xl{font-weight:var(--gov-text-4xl-font-weight);font-size:var(--gov-text-4xl-font-size);line-height:var(--gov-text-4xl-line-height);letter-spacing:var(--gov-text-4xl-letter-spacing);margin-bottom:var(--gov-text-4xl-margin-bottom)}*+.gov-text--4xl{margin-top:var(--gov-text-4xl-margin-top)}.gov-text--5xl{font-weight:var(--gov-text-5xl-font-weight);font-size:var(--gov-text-5xl-font-size);line-height:var(--gov-text-5xl-line-height);letter-spacing:var(--gov-text-5xl-letter-spacing);margin-bottom:var(--gov-text-5xl-margin-bottom)}*+.gov-text--5xl{margin-top:var(--gov-text-5xl-margin-top)}.gov-text--6xl{font-weight:var(--gov-text-6xl-font-weight);font-size:var(--gov-text-6xl-font-size);line-height:var(--gov-text-6xl-line-height);letter-spacing:var(--gov-text-6xl-letter-spacing);margin-bottom:var(--gov-text-6xl-margin-bottom)}*+.gov-text--6xl{margin-top:var(--gov-text-6xl-margin-top)}a,.gov-link{color:var(--gov-color-primary);text-decoration:underline;transition:color 150ms ease-in-out;cursor:pointer}a:focus,.gov-link:focus{outline:none}a:focus-visible,.gov-link:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}a>*,.gov-link>*{color:var(--gov-color-primary)}a .gov-link--icon-unset .gov-icon,.gov-link .gov-link--icon-unset .gov-icon{display:none !important}a .gov-link--external-unset:after,.gov-link .gov-link--external-unset:after{display:none !important}@media not all and (pointer: coarse){a:hover,.gov-link:hover{text-decoration:none}}a .gov-link--external.gov-text--xs::after,a[target=_blank].gov-text--xs::after,.gov-link .gov-link--external.gov-text--xs::after,.gov-link[target=_blank].gov-text--xs::after{font-size:calc(var(--gov-text-xs-font-size) * 1.4)}a .gov-link--external.gov-text--s::after,a[target=_blank].gov-text--s::after,.gov-link .gov-link--external.gov-text--s::after,.gov-link[target=_blank].gov-text--s::after{font-size:calc(var(--gov-text-s-font-size) * 1.4)}a .gov-link--external.gov-text--m::after,a[target=_blank].gov-text--m::after,.gov-link .gov-link--external.gov-text--m::after,.gov-link[target=_blank].gov-text--m::after{font-size:calc(var(--gov-text-m-font-size) * 1.4)}a .gov-link--external.gov-text--l::after,a[target=_blank].gov-text--l::after,.gov-link .gov-link--external.gov-text--l::after,.gov-link[target=_blank].gov-text--l::after{font-size:calc(var(--gov-text-l-font-size) * 1.4)}a .gov-link--external.gov-text--xl::after,a[target=_blank].gov-text--xl::after,.gov-link .gov-link--external.gov-text--xl::after,.gov-link[target=_blank].gov-text--xl::after{font-size:calc(var(--gov-text-xl-font-size) * 1.4)}a .gov-link--external.gov-text--2xl::after,a[target=_blank].gov-text--2xl::after,.gov-link .gov-link--external.gov-text--2xl::after,.gov-link[target=_blank].gov-text--2xl::after{font-size:calc(var(--gov-text-2xl-font-size) * 1.4)}a .gov-link--external.gov-text--3xl::after,a[target=_blank].gov-text--3xl::after,.gov-link .gov-link--external.gov-text--3xl::after,.gov-link[target=_blank].gov-text--3xl::after{font-size:calc(var(--gov-text-3xl-font-size) * 1.4)}a .gov-link--external.gov-text--4xl::after,a[target=_blank].gov-text--4xl::after,.gov-link .gov-link--external.gov-text--4xl::after,.gov-link[target=_blank].gov-text--4xl::after{font-size:calc(var(--gov-text-4xl-font-size) * 1.4)}a .gov-link--external.gov-text--5xl::after,a[target=_blank].gov-text--5xl::after,.gov-link .gov-link--external.gov-text--5xl::after,.gov-link[target=_blank].gov-text--5xl::after{font-size:calc(var(--gov-text-5xl-font-size) * 1.4)}a .gov-link--external.gov-text--6xl::after,a[target=_blank].gov-text--6xl::after,.gov-link .gov-link--external.gov-text--6xl::after,.gov-link[target=_blank].gov-text--6xl::after{font-size:calc(var(--gov-text-6xl-font-size) * 1.4)}a .gov-link--external.gov-text--xl::after,a[target=_blank].gov-text--xl::after,.gov-link .gov-link--external.gov-text--xl::after,.gov-link[target=_blank].gov-text--xl::after{font-size:calc(var(--gov-text-xl-font-size) * 1.4)}a .gov-link--external.gov-text--2xl::after,a[target=_blank].gov-text--2xl::after,.gov-link .gov-link--external.gov-text--2xl::after,.gov-link[target=_blank].gov-text--2xl::after{font-size:calc(var(--gov-text-2xl-font-size) * 1.4)}a .gov-link--external.gov-text--3xl::after,a[target=_blank].gov-text--3xl::after,.gov-link .gov-link--external.gov-text--3xl::after,.gov-link[target=_blank].gov-text--3xl::after{font-size:calc(var(--gov-text-3xl-font-size) * 1.4)}a .gov-link--external.gov-text--4xl::after,a[target=_blank].gov-text--4xl::after,.gov-link .gov-link--external.gov-text--4xl::after,.gov-link[target=_blank].gov-text--4xl::after{font-size:calc(var(--gov-text-4xl-font-size) * 1.4)}a .gov-link--external.gov-text--5xl::after,a[target=_blank].gov-text--5xl::after,.gov-link .gov-link--external.gov-text--5xl::after,.gov-link[target=_blank].gov-text--5xl::after{font-size:calc(var(--gov-text-5xl-font-size) * 1.4)}a .gov-link--external.gov-text--6xl::after,a[target=_blank].gov-text--6xl::after,.gov-link .gov-link--external.gov-text--6xl::after,.gov-link[target=_blank].gov-text--6xl::after{font-size:calc(var(--gov-text-6xl-font-size) * 1.4)}a .gov-link--external.gov-text--xl::after,a[target=_blank].gov-text--xl::after,.gov-link .gov-link--external.gov-text--xl::after,.gov-link[target=_blank].gov-text--xl::after{font-size:calc(var(--gov-text-xl-font-size) * 1.4)}a .gov-link--external.gov-text--2xl::after,a[target=_blank].gov-text--2xl::after,.gov-link .gov-link--external.gov-text--2xl::after,.gov-link[target=_blank].gov-text--2xl::after{font-size:calc(var(--gov-text-2xl-font-size) * 1.4)}a .gov-link--external.gov-text--3xl::after,a[target=_blank].gov-text--3xl::after,.gov-link .gov-link--external.gov-text--3xl::after,.gov-link[target=_blank].gov-text--3xl::after{font-size:calc(var(--gov-text-3xl-font-size) * 1.4)}a .gov-link--external.gov-text--4xl::after,a[target=_blank].gov-text--4xl::after,.gov-link .gov-link--external.gov-text--4xl::after,.gov-link[target=_blank].gov-text--4xl::after{font-size:calc(var(--gov-text-4xl-font-size) * 1.4)}a .gov-link--external.gov-text--5xl::after,a[target=_blank].gov-text--5xl::after,.gov-link .gov-link--external.gov-text--5xl::after,.gov-link[target=_blank].gov-text--5xl::after{font-size:calc(var(--gov-text-5xl-font-size) * 1.4)}a .gov-link--external.gov-text--6xl::after,a[target=_blank].gov-text--6xl::after,.gov-link .gov-link--external.gov-text--6xl::after,.gov-link[target=_blank].gov-text--6xl::after{font-size:calc(var(--gov-text-6xl-font-size) * 1.4)}ol,.gov-ordered-list{margin:0}ol>li,ol>.gov-ordered-list__item,.gov-ordered-list>li,.gov-ordered-list>.gov-ordered-list__item{margin-bottom:0.25rem}ul,.gov-list{margin:0;list-style:none}ul>*:last-child,.gov-list>*:last-child{margin-bottom:0}ul--plain,.gov-list--plain{padding-left:0}ul--plain>li,ul--plain>.gov-list__item,.gov-list--plain>li,.gov-list--plain>.gov-list__item{margin-bottom:0.25rem}ul--plain>li::before,ul--plain>.gov-list__item::before,.gov-list--plain>li::before,.gov-list--plain>.gov-list__item::before{display:none}ul--inline>li,ul--inline>.gov-list__item,.gov-list--inline>li,.gov-list--inline>.gov-list__item{display:inline-block;margin-right:0.75rem}ul>li,.gov-list>li,.gov-list__item{position:relative;margin-bottom:0.5rem}ul>li::before,.gov-list>li::before,.gov-list__item::before{content:"";position:absolute;display:block;top:0.625rem;left:-0.875rem;width:0.3125rem;height:0.3125rem;border-radius:100%;background-color:var(--gov-color-primary)}.gov-box-shadow--unset{box-shadow:none}.gov-box-shadow--s{box-shadow:0 0 0.75rem rgba(var(--gov-color-secondary-800-rgb), 0.16)}.gov-box-shadow--m{box-shadow:0 0 1.25rem rgba(var(--gov-color-secondary-800-rgb), 0.2)}.gov-box-shadow--l{box-shadow:0 0 1.5rem rgba(var(--gov-color-secondary-800-rgb), 0.24)}.gov-box-shadow--xl{box-shadow:0 0 2rem rgba(var(--gov-color-secondary-800-rgb), 0.32)}.gov-bg--primary-100{background-color:var(--gov-color-primary-100)}.gov-bg--primary-200{background-color:var(--gov-color-primary-200)}.gov-bg--primary-300{background-color:var(--gov-color-primary-300)}.gov-bg--primary-400{background-color:var(--gov-color-primary-400)}.gov-bg--primary-500{background-color:var(--gov-color-primary-500)}.gov-bg--primary-600{background-color:var(--gov-color-primary-600)}.gov-bg--primary-700{background-color:var(--gov-color-primary-700)}.gov-bg--primary-800{background-color:var(--gov-color-primary-800)}.gov-bg--primary-900{background-color:var(--gov-color-primary-900)}.gov-bg--secondary-100{background-color:var(--gov-color-secondary-100)}.gov-bg--secondary-200{background-color:var(--gov-color-secondary-200)}.gov-bg--secondary-300{background-color:var(--gov-color-secondary-300)}.gov-bg--secondary-400{background-color:var(--gov-color-secondary-400)}.gov-bg--secondary-500{background-color:var(--gov-color-secondary-500)}.gov-bg--secondary-600{background-color:var(--gov-color-secondary-600)}.gov-bg--secondary-700{background-color:var(--gov-color-secondary-700)}.gov-bg--secondary-800{background-color:var(--gov-color-secondary-800)}.gov-bg--secondary-900{background-color:var(--gov-color-secondary-900)}.gov-bg--success-100{background-color:var(--gov-color-success-100)}.gov-bg--success-200{background-color:var(--gov-color-success-200)}.gov-bg--success-300{background-color:var(--gov-color-success-300)}.gov-bg--success-400{background-color:var(--gov-color-success-400)}.gov-bg--success-500{background-color:var(--gov-color-success-500)}.gov-bg--success-600{background-color:var(--gov-color-success-600)}.gov-bg--success-700{background-color:var(--gov-color-success-700)}.gov-bg--warning-100{background-color:var(--gov-color-warning-100)}.gov-bg--warning-200{background-color:var(--gov-color-warning-200)}.gov-bg--warning-300{background-color:var(--gov-color-warning-300)}.gov-bg--warning-400{background-color:var(--gov-color-warning-400)}.gov-bg--warning-500{background-color:var(--gov-color-warning-500)}.gov-bg--warning-600{background-color:var(--gov-color-warning-600)}.gov-bg--warning-700{background-color:var(--gov-color-warning-700)}.gov-bg--error-100{background-color:var(--gov-color-error-100)}.gov-bg--error-200{background-color:var(--gov-color-error-200)}.gov-bg--error-300{background-color:var(--gov-color-error-300)}.gov-bg--error-400{background-color:var(--gov-color-error-400)}.gov-bg--error-500{background-color:var(--gov-color-error-500)}.gov-bg--error-600{background-color:var(--gov-color-error-600)}.gov-bg--focus-base{background-color:var(--gov-color-focus-base)}.gov-bg--neutral-black{background-color:var(--gov-color-neutral-black)}.gov-bg--neutral-white{background-color:var(--gov-color-neutral-white)}.gov-color--primary-100{color:var(--gov-color-primary-100)}.gov-color--primary-200{color:var(--gov-color-primary-200)}.gov-color--primary-300{color:var(--gov-color-primary-300)}.gov-color--primary-400{color:var(--gov-color-primary-400)}.gov-color--primary-500{color:var(--gov-color-primary-500)}.gov-color--primary-600{color:var(--gov-color-primary-600)}.gov-color--primary-700{color:var(--gov-color-primary-700)}.gov-color--primary-800{color:var(--gov-color-primary-800)}.gov-color--primary-900{color:var(--gov-color-primary-900)}.gov-color--secondary-100{color:var(--gov-color-secondary-100)}.gov-color--secondary-200{color:var(--gov-color-secondary-200)}.gov-color--secondary-300{color:var(--gov-color-secondary-300)}.gov-color--secondary-400{color:var(--gov-color-secondary-400)}.gov-color--secondary-500{color:var(--gov-color-secondary-500)}.gov-color--secondary-600{color:var(--gov-color-secondary-600)}.gov-color--secondary-700{color:var(--gov-color-secondary-700)}.gov-color--secondary-800{color:var(--gov-color-secondary-800)}.gov-color--secondary-900{color:var(--gov-color-secondary-900)}.gov-color--success-100{color:var(--gov-color-success-100)}.gov-color--success-200{color:var(--gov-color-success-200)}.gov-color--success-300{color:var(--gov-color-success-300)}.gov-color--success-400{color:var(--gov-color-success-400)}.gov-color--success-500{color:var(--gov-color-success-500)}.gov-color--success-600{color:var(--gov-color-success-600)}.gov-color--success-700{color:var(--gov-color-success-700)}.gov-color--warning-100{color:var(--gov-color-warning-100)}.gov-color--warning-200{color:var(--gov-color-warning-200)}.gov-color--warning-300{color:var(--gov-color-warning-300)}.gov-color--warning-400{color:var(--gov-color-warning-400)}.gov-color--warning-500{color:var(--gov-color-warning-500)}.gov-color--warning-600{color:var(--gov-color-warning-600)}.gov-color--warning-700{color:var(--gov-color-warning-700)}.gov-color--error-100{color:var(--gov-color-error-100)}.gov-color--error-200{color:var(--gov-color-error-200)}.gov-color--error-300{color:var(--gov-color-error-300)}.gov-color--error-400{color:var(--gov-color-error-400)}.gov-color--error-500{color:var(--gov-color-error-500)}.gov-color--error-600{color:var(--gov-color-error-600)}.gov-color--focus-base{color:var(--gov-color-focus-base)}.gov-color--neutral-black{color:var(--gov-color-neutral-black)}.gov-color--neutral-white{color:var(--gov-color-neutral-white)}.gov-hide{display:none}@media (max-width: 29.99em){.gov-hide--sm{display:none;visibility:hidden}}@media (max-width: 47.99em){.gov-hide--md{display:none;visibility:hidden}}@media (max-width: 63.99em){.gov-hide--lg{display:none;visibility:hidden}}@media (max-width: 74.99em){.gov-hide--xl{display:none;visibility:hidden}}:root,:host{--gov-color-primary:#2362a2;--gov-color-secondary:#3b3b3b;--gov-color-success:#6fbd2c;--gov-color-warning:#f9c13c;--gov-color-error:#c52a3a;--gov-color-primary-100-rgb:236, 247, 255;--gov-color-primary-100:#ecf7ff;--gov-color-primary-200-rgb:217, 239, 255;--gov-color-primary-200:#d9efff;--gov-color-primary-300-rgb:181, 217, 243;--gov-color-primary-300:#b5d9f3;--gov-color-primary-400-rgb:102, 161, 216;--gov-color-primary-400:#66a1d8;--gov-color-primary-500-rgb:48, 119, 183;--gov-color-primary-500:#3077b7;--gov-color-primary-600-rgb:35, 98, 162;--gov-color-primary-600:#2362a2;--gov-color-primary-700-rgb:37, 78, 128;--gov-color-primary-700:#254e80;--gov-color-primary-800-rgb:21, 53, 94;--gov-color-primary-800:#15355e;--gov-color-primary-900-rgb:13, 33, 58;--gov-color-primary-900:#0d213a;--gov-color-secondary-100-rgb:252, 252, 252;--gov-color-secondary-100:#fcfcfc;--gov-color-secondary-200-rgb:250, 250, 250;--gov-color-secondary-200:#fafafa;--gov-color-secondary-300-rgb:245, 245, 245;--gov-color-secondary-300:#f5f5f5;--gov-color-secondary-400-rgb:234, 234, 234;--gov-color-secondary-400:#eaeaea;--gov-color-secondary-500-rgb:221, 221, 221;--gov-color-secondary-500:#dddddd;--gov-color-secondary-600-rgb:168, 168, 168;--gov-color-secondary-600:#a8a8a8;--gov-color-secondary-700-rgb:104, 104, 104;--gov-color-secondary-700:#686868;--gov-color-secondary-800-rgb:59, 59, 59;--gov-color-secondary-800:#3b3b3b;--gov-color-secondary-900-rgb:35, 35, 35;--gov-color-secondary-900:#232323;--gov-color-success-100-rgb:245, 250, 240;--gov-color-success-100:#f5faf0;--gov-color-success-200-rgb:220, 239, 204;--gov-color-success-200:#dcefcc;--gov-color-success-300-rgb:163, 213, 120;--gov-color-success-300:#a3d578;--gov-color-success-400-rgb:111, 189, 44;--gov-color-success-400:#6fbd2c;--gov-color-success-500-rgb:72, 133, 21;--gov-color-success-500:#488515;--gov-color-success-600-rgb:58, 98, 23;--gov-color-success-600:#3a6217;--gov-color-success-700-rgb:44, 79, 13;--gov-color-success-700:#2c4f0d;--gov-color-warning-100-rgb:254, 249, 239;--gov-color-warning-100:#fef9ef;--gov-color-warning-200-rgb:250, 236, 200;--gov-color-warning-200:#faecc8;--gov-color-warning-300-rgb:250, 212, 123;--gov-color-warning-300:#fad47b;--gov-color-warning-400-rgb:249, 193, 60;--gov-color-warning-400:#f9c13c;--gov-color-warning-500-rgb:199, 131, 0;--gov-color-warning-500:#c78300;--gov-color-warning-600-rgb:153, 98, 15;--gov-color-warning-600:#99620f;--gov-color-warning-700-rgb:134, 81, 2;--gov-color-warning-700:#865102;--gov-color-error-100-rgb:255, 232, 234;--gov-color-error-100:#ffe8ea;--gov-color-error-200-rgb:247, 205, 210;--gov-color-error-200:#f7cdd2;--gov-color-error-300-rgb:217, 102, 113;--gov-color-error-300:#d96671;--gov-color-error-400-rgb:197, 42, 58;--gov-color-error-400:#c52a3a;--gov-color-error-500-rgb:158, 6, 21;--gov-color-error-500:#9e0615;--gov-color-error-600-rgb:131, 7, 19;--gov-color-error-600:#830713;--gov-color-focus-base-rgb:0, 123, 255;--gov-color-focus-base:#007bff;--gov-color-neutral-black-rgb:0, 0, 0;--gov-color-neutral-black:#000000;--gov-color-neutral-white-rgb:255, 255, 255;--gov-color-neutral-white:#ffffff;--gov-box-shadow-unset:none;--gov-box-shadow-s:0 0 0.75rem rgba(var(--gov-color-secondary-800-rgb), 0.16);--gov-box-shadow-m:0 0 1.25rem rgba(var(--gov-color-secondary-800-rgb), 0.2);--gov-box-shadow-l:0 0 1.5rem rgba(var(--gov-color-secondary-800-rgb), 0.24);--gov-box-shadow-xl:0 0 2rem rgba(var(--gov-color-secondary-800-rgb), 0.32)}@media (min-width: 0){:root,:host{--gov-text-xs-font-size:0.75rem;--gov-text-xs-line-height:150%;--gov-text-xs-font-weight:400;--gov-text-xs-letter-spacing:0.0166em;--gov-text-xs-margin-bottom:0.5rem;--gov-text-s-font-size:0.875rem;--gov-text-s-line-height:150%;--gov-text-s-font-weight:400;--gov-text-s-letter-spacing:0.0125em;--gov-text-s-margin-bottom:0.5rem;--gov-text-m-font-size:1rem;--gov-text-m-line-height:150%;--gov-text-m-font-weight:400;--gov-text-m-letter-spacing:0.0125em;--gov-text-m-margin-bottom:0.5rem;--gov-text-l-font-size:1.125rem;--gov-text-l-line-height:150%;--gov-text-l-font-weight:400;--gov-text-l-letter-spacing:0.0125em;--gov-text-l-margin-bottom:0.5rem;--gov-text-xl-font-size:1.25rem;--gov-text-xl-line-height:150%;--gov-text-xl-font-weight:500;--gov-text-xl-letter-spacing:0.0125em;--gov-text-xl-margin-top:0.5rem;--gov-text-xl-margin-bottom:0.5rem;--gov-text-2xl-font-size:1.375rem;--gov-text-2xl-line-height:150%;--gov-text-2xl-font-weight:500;--gov-text-2xl-letter-spacing:0.0312em;--gov-text-2xl-margin-top:0.5rem;--gov-text-2xl-margin-bottom:0.5rem;--gov-text-3xl-font-size:1.625rem;--gov-text-3xl-line-height:150%;--gov-text-3xl-font-weight:400;--gov-text-3xl-margin-top:1rem;--gov-text-3xl-margin-bottom:0.5rem;--gov-text-4xl-font-size:2rem;--gov-text-4xl-line-height:130%;--gov-text-4xl-font-weight:300;--gov-text-4xl-margin-top:1rem;--gov-text-4xl-margin-bottom:1rem;--gov-text-5xl-font-size:2.25rem;--gov-text-5xl-line-height:125%;--gov-text-5xl-font-weight:300;--gov-text-5xl-margin-top:1.5rem;--gov-text-5xl-margin-bottom:1rem;--gov-text-6xl-font-size:3rem;--gov-text-6xl-line-height:125%;--gov-text-6xl-font-weight:300;--gov-text-6xl-margin-top:2rem;--gov-text-6xl-margin-bottom:1.5rem}}@media (min-width: 48em){:root,:host{--gov-text-xl-font-size:1.25rem;--gov-text-xl-margin-top:1rem;--gov-text-2xl-font-size:1.25rem;--gov-text-2xl-margin-top:1rem;--gov-text-3xl-font-size:1.75rem;--gov-text-3xl-line-height:150%;--gov-text-3xl-margin-top:1.5rem;--gov-text-4xl-font-size:2.25rem;--gov-text-4xl-margin-top:1.5rem;--gov-text-5xl-font-size:2.625rem;--gov-text-5xl-margin-top:2rem;--gov-text-6xl-font-size:3.625rem;--gov-text-6xl-margin-top:2.5rem}}@media (min-width: 64em){:root,:host{--gov-text-xl-font-size:1.25rem;--gov-text-2xl-font-size:1.5rem;--gov-text-3xl-font-size:2rem;--gov-text-4xl-font-size:2.5rem;--gov-text-5xl-font-size:3rem;--gov-text-6xl-font-size:4rem}}html{font-size:16px;box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}body,:host{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);min-width:var(--gov-layout-min-width, 20rem);margin:0;padding:0;color:var(--gov-color-secondary);font-family:var(--gov-font-family, "Roboto", sans-serif)}body.body-fixed,:host.body-fixed{overflow:hidden}:first-child{margin-top:0}.container-view{padding:12px}.container-view--inline{display:flex;gap:16px}hr{height:0;border:0 none;border-top:1px solid gainsboro;font-size:0}
1
+ .gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}*{margin:0}h1,.h1{font-weight:var(--gov-text-6xl-font-weight);font-size:var(--gov-text-6xl-font-size);line-height:var(--gov-text-6xl-line-height);letter-spacing:var(--gov-text-6xl-letter-spacing)}h2,.h2{font-weight:var(--gov-text-5xl-font-weight);font-size:var(--gov-text-5xl-font-size);line-height:var(--gov-text-5xl-line-height);letter-spacing:var(--gov-text-5xl-letter-spacing)}h3,.h3{font-weight:var(--gov-text-4xl-font-weight);font-size:var(--gov-text-4xl-font-size);line-height:var(--gov-text-4xl-line-height);letter-spacing:var(--gov-text-4xl-letter-spacing)}h4,.h4{font-weight:var(--gov-text-3xl-font-weight);font-size:var(--gov-text-3xl-font-size);line-height:var(--gov-text-3xl-line-height);letter-spacing:var(--gov-text-3xl-letter-spacing)}h5,.h5{font-weight:var(--gov-text-2xl-font-weight);font-size:var(--gov-text-2xl-font-size);line-height:var(--gov-text-2xl-line-height);letter-spacing:var(--gov-text-2xl-letter-spacing)}h6,.h6{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing)}p{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing)}.gov-text--xs{font-weight:var(--gov-text-xs-font-weight);font-size:var(--gov-text-xs-font-size);line-height:var(--gov-text-xs-line-height);letter-spacing:var(--gov-text-xs-letter-spacing)}.gov-text--s{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing)}.gov-text--m{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing)}.gov-text--l{font-weight:var(--gov-text-l-font-weight);font-size:var(--gov-text-l-font-size);line-height:var(--gov-text-l-line-height);letter-spacing:var(--gov-text-l-letter-spacing)}.gov-text--xl{font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing)}.gov-text--2xl{font-weight:var(--gov-text-2xl-font-weight);font-size:var(--gov-text-2xl-font-size);line-height:var(--gov-text-2xl-line-height);letter-spacing:var(--gov-text-2xl-letter-spacing)}.gov-text--3xl{font-weight:var(--gov-text-3xl-font-weight);font-size:var(--gov-text-3xl-font-size);line-height:var(--gov-text-3xl-line-height);letter-spacing:var(--gov-text-3xl-letter-spacing)}.gov-text--4xl{font-weight:var(--gov-text-4xl-font-weight);font-size:var(--gov-text-4xl-font-size);line-height:var(--gov-text-4xl-line-height);letter-spacing:var(--gov-text-4xl-letter-spacing)}.gov-text--5xl{font-weight:var(--gov-text-5xl-font-weight);font-size:var(--gov-text-5xl-font-size);line-height:var(--gov-text-5xl-line-height);letter-spacing:var(--gov-text-5xl-letter-spacing)}.gov-text--6xl{font-weight:var(--gov-text-6xl-font-weight);font-size:var(--gov-text-6xl-font-size);line-height:var(--gov-text-6xl-line-height);letter-spacing:var(--gov-text-6xl-letter-spacing)}a,.gov-link{color:var(--gov-color-primary);text-decoration:underline;transition:color 150ms ease-in-out;cursor:pointer}a:focus,.gov-link:focus{outline:none}a:focus-visible,.gov-link:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:0.0625rem}a>*,.gov-link>*{color:var(--gov-color-primary)}a .gov-link--icon-unset .gov-icon,.gov-link .gov-link--icon-unset .gov-icon{display:none !important}a .gov-link--external-unset:after,.gov-link .gov-link--external-unset:after{display:none !important}@media not all and (pointer: coarse){a:hover,.gov-link:hover{text-decoration:none}}a .gov-link--external.gov-text--xs::after,a[target=_blank].gov-text--xs::after,.gov-link .gov-link--external.gov-text--xs::after,.gov-link[target=_blank].gov-text--xs::after{font-size:calc(var(--gov-text-xs-font-size) * 1.4)}a .gov-link--external.gov-text--s::after,a[target=_blank].gov-text--s::after,.gov-link .gov-link--external.gov-text--s::after,.gov-link[target=_blank].gov-text--s::after{font-size:calc(var(--gov-text-s-font-size) * 1.4)}a .gov-link--external.gov-text--m::after,a[target=_blank].gov-text--m::after,.gov-link .gov-link--external.gov-text--m::after,.gov-link[target=_blank].gov-text--m::after{font-size:calc(var(--gov-text-m-font-size) * 1.4)}a .gov-link--external.gov-text--l::after,a[target=_blank].gov-text--l::after,.gov-link .gov-link--external.gov-text--l::after,.gov-link[target=_blank].gov-text--l::after{font-size:calc(var(--gov-text-l-font-size) * 1.4)}a .gov-link--external.gov-text--xl::after,a[target=_blank].gov-text--xl::after,.gov-link .gov-link--external.gov-text--xl::after,.gov-link[target=_blank].gov-text--xl::after{font-size:calc(var(--gov-text-xl-font-size) * 1.4)}a .gov-link--external.gov-text--2xl::after,a[target=_blank].gov-text--2xl::after,.gov-link .gov-link--external.gov-text--2xl::after,.gov-link[target=_blank].gov-text--2xl::after{font-size:calc(var(--gov-text-2xl-font-size) * 1.4)}a .gov-link--external.gov-text--3xl::after,a[target=_blank].gov-text--3xl::after,.gov-link .gov-link--external.gov-text--3xl::after,.gov-link[target=_blank].gov-text--3xl::after{font-size:calc(var(--gov-text-3xl-font-size) * 1.4)}a .gov-link--external.gov-text--4xl::after,a[target=_blank].gov-text--4xl::after,.gov-link .gov-link--external.gov-text--4xl::after,.gov-link[target=_blank].gov-text--4xl::after{font-size:calc(var(--gov-text-4xl-font-size) * 1.4)}a .gov-link--external.gov-text--5xl::after,a[target=_blank].gov-text--5xl::after,.gov-link .gov-link--external.gov-text--5xl::after,.gov-link[target=_blank].gov-text--5xl::after{font-size:calc(var(--gov-text-5xl-font-size) * 1.4)}a .gov-link--external.gov-text--6xl::after,a[target=_blank].gov-text--6xl::after,.gov-link .gov-link--external.gov-text--6xl::after,.gov-link[target=_blank].gov-text--6xl::after{font-size:calc(var(--gov-text-6xl-font-size) * 1.4)}a .gov-link--external.gov-text--2xl::after,a[target=_blank].gov-text--2xl::after,.gov-link .gov-link--external.gov-text--2xl::after,.gov-link[target=_blank].gov-text--2xl::after{font-size:calc(var(--gov-text-2xl-font-size) * 1.4)}a .gov-link--external.gov-text--3xl::after,a[target=_blank].gov-text--3xl::after,.gov-link .gov-link--external.gov-text--3xl::after,.gov-link[target=_blank].gov-text--3xl::after{font-size:calc(var(--gov-text-3xl-font-size) * 1.4)}a .gov-link--external.gov-text--4xl::after,a[target=_blank].gov-text--4xl::after,.gov-link .gov-link--external.gov-text--4xl::after,.gov-link[target=_blank].gov-text--4xl::after{font-size:calc(var(--gov-text-4xl-font-size) * 1.4)}a .gov-link--external.gov-text--5xl::after,a[target=_blank].gov-text--5xl::after,.gov-link .gov-link--external.gov-text--5xl::after,.gov-link[target=_blank].gov-text--5xl::after{font-size:calc(var(--gov-text-5xl-font-size) * 1.4)}a .gov-link--external.gov-text--6xl::after,a[target=_blank].gov-text--6xl::after,.gov-link .gov-link--external.gov-text--6xl::after,.gov-link[target=_blank].gov-text--6xl::after{font-size:calc(var(--gov-text-6xl-font-size) * 1.4)}ol,.gov-ordered-list{margin:0}ol>li,ol>.gov-ordered-list__item,.gov-ordered-list>li,.gov-ordered-list>.gov-ordered-list__item{margin-bottom:0.25rem}ul,.gov-list{margin:0;list-style:none}ul>*:last-child,.gov-list>*:last-child{margin-bottom:0}ul--plain,.gov-list--plain{padding-left:0}ul--plain>li,ul--plain>.gov-list__item,.gov-list--plain>li,.gov-list--plain>.gov-list__item{margin-bottom:0.25rem}ul--plain>li::before,ul--plain>.gov-list__item::before,.gov-list--plain>li::before,.gov-list--plain>.gov-list__item::before{display:none}ul--inline>li,ul--inline>.gov-list__item,.gov-list--inline>li,.gov-list--inline>.gov-list__item{display:inline-block;margin-right:0.75rem}ul>li,.gov-list>li,.gov-list__item{position:relative;margin-bottom:0.5rem}ul>li::before,.gov-list>li::before,.gov-list__item::before{content:"";position:absolute;display:block;top:0.625rem;left:-0.875rem;width:0.3125rem;height:0.3125rem;border-radius:100%;background-color:var(--gov-color-primary)}.gov-box-shadow--unset{box-shadow:none}.gov-box-shadow--s{box-shadow:0 0 0.75rem rgba(var(--gov-color-secondary-800-rgb), 0.16)}.gov-box-shadow--m{box-shadow:0 0 1.25rem rgba(var(--gov-color-secondary-800-rgb), 0.2)}.gov-box-shadow--l{box-shadow:0 0 1.5rem rgba(var(--gov-color-secondary-800-rgb), 0.24)}.gov-box-shadow--xl{box-shadow:0 0 2rem rgba(var(--gov-color-secondary-800-rgb), 0.32)}.gov-bg--primary-100{background-color:var(--gov-color-primary-100)}.gov-bg--primary-200{background-color:var(--gov-color-primary-200)}.gov-bg--primary-300{background-color:var(--gov-color-primary-300)}.gov-bg--primary-400{background-color:var(--gov-color-primary-400)}.gov-bg--primary-500{background-color:var(--gov-color-primary-500)}.gov-bg--primary-600{background-color:var(--gov-color-primary-600)}.gov-bg--primary-700{background-color:var(--gov-color-primary-700)}.gov-bg--primary-800{background-color:var(--gov-color-primary-800)}.gov-bg--primary-900{background-color:var(--gov-color-primary-900)}.gov-bg--secondary-100{background-color:var(--gov-color-secondary-100)}.gov-bg--secondary-200{background-color:var(--gov-color-secondary-200)}.gov-bg--secondary-300{background-color:var(--gov-color-secondary-300)}.gov-bg--secondary-400{background-color:var(--gov-color-secondary-400)}.gov-bg--secondary-500{background-color:var(--gov-color-secondary-500)}.gov-bg--secondary-600{background-color:var(--gov-color-secondary-600)}.gov-bg--secondary-700{background-color:var(--gov-color-secondary-700)}.gov-bg--secondary-800{background-color:var(--gov-color-secondary-800)}.gov-bg--secondary-900{background-color:var(--gov-color-secondary-900)}.gov-bg--success-100{background-color:var(--gov-color-success-100)}.gov-bg--success-200{background-color:var(--gov-color-success-200)}.gov-bg--success-300{background-color:var(--gov-color-success-300)}.gov-bg--success-400{background-color:var(--gov-color-success-400)}.gov-bg--success-500{background-color:var(--gov-color-success-500)}.gov-bg--success-600{background-color:var(--gov-color-success-600)}.gov-bg--success-700{background-color:var(--gov-color-success-700)}.gov-bg--warning-100{background-color:var(--gov-color-warning-100)}.gov-bg--warning-200{background-color:var(--gov-color-warning-200)}.gov-bg--warning-300{background-color:var(--gov-color-warning-300)}.gov-bg--warning-400{background-color:var(--gov-color-warning-400)}.gov-bg--warning-500{background-color:var(--gov-color-warning-500)}.gov-bg--warning-600{background-color:var(--gov-color-warning-600)}.gov-bg--warning-700{background-color:var(--gov-color-warning-700)}.gov-bg--error-100{background-color:var(--gov-color-error-100)}.gov-bg--error-200{background-color:var(--gov-color-error-200)}.gov-bg--error-300{background-color:var(--gov-color-error-300)}.gov-bg--error-400{background-color:var(--gov-color-error-400)}.gov-bg--error-500{background-color:var(--gov-color-error-500)}.gov-bg--error-600{background-color:var(--gov-color-error-600)}.gov-bg--focus-base{background-color:var(--gov-color-focus-base)}.gov-bg--neutral-black{background-color:var(--gov-color-neutral-black)}.gov-bg--neutral-white{background-color:var(--gov-color-neutral-white)}.gov-color--primary-100{color:var(--gov-color-primary-100)}.gov-color--primary-200{color:var(--gov-color-primary-200)}.gov-color--primary-300{color:var(--gov-color-primary-300)}.gov-color--primary-400{color:var(--gov-color-primary-400)}.gov-color--primary-500{color:var(--gov-color-primary-500)}.gov-color--primary-600{color:var(--gov-color-primary-600)}.gov-color--primary-700{color:var(--gov-color-primary-700)}.gov-color--primary-800{color:var(--gov-color-primary-800)}.gov-color--primary-900{color:var(--gov-color-primary-900)}.gov-color--secondary-100{color:var(--gov-color-secondary-100)}.gov-color--secondary-200{color:var(--gov-color-secondary-200)}.gov-color--secondary-300{color:var(--gov-color-secondary-300)}.gov-color--secondary-400{color:var(--gov-color-secondary-400)}.gov-color--secondary-500{color:var(--gov-color-secondary-500)}.gov-color--secondary-600{color:var(--gov-color-secondary-600)}.gov-color--secondary-700{color:var(--gov-color-secondary-700)}.gov-color--secondary-800{color:var(--gov-color-secondary-800)}.gov-color--secondary-900{color:var(--gov-color-secondary-900)}.gov-color--success-100{color:var(--gov-color-success-100)}.gov-color--success-200{color:var(--gov-color-success-200)}.gov-color--success-300{color:var(--gov-color-success-300)}.gov-color--success-400{color:var(--gov-color-success-400)}.gov-color--success-500{color:var(--gov-color-success-500)}.gov-color--success-600{color:var(--gov-color-success-600)}.gov-color--success-700{color:var(--gov-color-success-700)}.gov-color--warning-100{color:var(--gov-color-warning-100)}.gov-color--warning-200{color:var(--gov-color-warning-200)}.gov-color--warning-300{color:var(--gov-color-warning-300)}.gov-color--warning-400{color:var(--gov-color-warning-400)}.gov-color--warning-500{color:var(--gov-color-warning-500)}.gov-color--warning-600{color:var(--gov-color-warning-600)}.gov-color--warning-700{color:var(--gov-color-warning-700)}.gov-color--error-100{color:var(--gov-color-error-100)}.gov-color--error-200{color:var(--gov-color-error-200)}.gov-color--error-300{color:var(--gov-color-error-300)}.gov-color--error-400{color:var(--gov-color-error-400)}.gov-color--error-500{color:var(--gov-color-error-500)}.gov-color--error-600{color:var(--gov-color-error-600)}.gov-color--focus-base{color:var(--gov-color-focus-base)}.gov-color--neutral-black{color:var(--gov-color-neutral-black)}.gov-color--neutral-white{color:var(--gov-color-neutral-white)}.gov-hide{display:none}@media (max-width: 29.99em){.gov-hide--sm{display:none;visibility:hidden}}@media (max-width: 47.99em){.gov-hide--md{display:none;visibility:hidden}}@media (max-width: 63.99em){.gov-hide--lg{display:none;visibility:hidden}}@media (max-width: 74.99em){.gov-hide--xl{display:none;visibility:hidden}}:root,:host{--gov-color-primary:#2362a2;--gov-color-secondary:#3b3b3b;--gov-color-success:#6fbd2c;--gov-color-warning:#f9c13c;--gov-color-error:#c52a3a;--gov-color-primary-100-rgb:236, 247, 255;--gov-color-primary-100:#ecf7ff;--gov-color-primary-200-rgb:217, 239, 255;--gov-color-primary-200:#d9efff;--gov-color-primary-300-rgb:181, 217, 243;--gov-color-primary-300:#b5d9f3;--gov-color-primary-400-rgb:102, 161, 216;--gov-color-primary-400:#66a1d8;--gov-color-primary-500-rgb:48, 119, 183;--gov-color-primary-500:#3077b7;--gov-color-primary-600-rgb:35, 98, 162;--gov-color-primary-600:#2362a2;--gov-color-primary-700-rgb:37, 78, 128;--gov-color-primary-700:#254e80;--gov-color-primary-800-rgb:21, 53, 94;--gov-color-primary-800:#15355e;--gov-color-primary-900-rgb:13, 33, 58;--gov-color-primary-900:#0d213a;--gov-color-secondary-100-rgb:252, 252, 252;--gov-color-secondary-100:#fcfcfc;--gov-color-secondary-200-rgb:250, 250, 250;--gov-color-secondary-200:#fafafa;--gov-color-secondary-300-rgb:245, 245, 245;--gov-color-secondary-300:#f5f5f5;--gov-color-secondary-400-rgb:234, 234, 234;--gov-color-secondary-400:#eaeaea;--gov-color-secondary-500-rgb:221, 221, 221;--gov-color-secondary-500:#dddddd;--gov-color-secondary-600-rgb:168, 168, 168;--gov-color-secondary-600:#a8a8a8;--gov-color-secondary-700-rgb:104, 104, 104;--gov-color-secondary-700:#686868;--gov-color-secondary-800-rgb:59, 59, 59;--gov-color-secondary-800:#3b3b3b;--gov-color-secondary-900-rgb:35, 35, 35;--gov-color-secondary-900:#232323;--gov-color-success-100-rgb:245, 250, 240;--gov-color-success-100:#f5faf0;--gov-color-success-200-rgb:220, 239, 204;--gov-color-success-200:#dcefcc;--gov-color-success-300-rgb:163, 213, 120;--gov-color-success-300:#a3d578;--gov-color-success-400-rgb:111, 189, 44;--gov-color-success-400:#6fbd2c;--gov-color-success-500-rgb:72, 133, 21;--gov-color-success-500:#488515;--gov-color-success-600-rgb:58, 98, 23;--gov-color-success-600:#3a6217;--gov-color-success-700-rgb:44, 79, 13;--gov-color-success-700:#2c4f0d;--gov-color-warning-100-rgb:254, 249, 239;--gov-color-warning-100:#fef9ef;--gov-color-warning-200-rgb:250, 236, 200;--gov-color-warning-200:#faecc8;--gov-color-warning-300-rgb:250, 212, 123;--gov-color-warning-300:#fad47b;--gov-color-warning-400-rgb:249, 193, 60;--gov-color-warning-400:#f9c13c;--gov-color-warning-500-rgb:199, 131, 0;--gov-color-warning-500:#c78300;--gov-color-warning-600-rgb:153, 98, 15;--gov-color-warning-600:#99620f;--gov-color-warning-700-rgb:134, 81, 2;--gov-color-warning-700:#865102;--gov-color-error-100-rgb:255, 232, 234;--gov-color-error-100:#ffe8ea;--gov-color-error-200-rgb:247, 205, 210;--gov-color-error-200:#f7cdd2;--gov-color-error-300-rgb:217, 102, 113;--gov-color-error-300:#d96671;--gov-color-error-400-rgb:197, 42, 58;--gov-color-error-400:#c52a3a;--gov-color-error-500-rgb:158, 6, 21;--gov-color-error-500:#9e0615;--gov-color-error-600-rgb:131, 7, 19;--gov-color-error-600:#830713;--gov-color-focus-base-rgb:0, 123, 255;--gov-color-focus-base:#007bff;--gov-color-neutral-black-rgb:0, 0, 0;--gov-color-neutral-black:#000000;--gov-color-neutral-white-rgb:255, 255, 255;--gov-color-neutral-white:#ffffff;--gov-box-shadow-unset:none;--gov-box-shadow-s:0 0 0.75rem rgba(var(--gov-color-secondary-800-rgb), 0.16);--gov-box-shadow-m:0 0 1.25rem rgba(var(--gov-color-secondary-800-rgb), 0.2);--gov-box-shadow-l:0 0 1.5rem rgba(var(--gov-color-secondary-800-rgb), 0.24);--gov-box-shadow-xl:0 0 2rem rgba(var(--gov-color-secondary-800-rgb), 0.32)}@media (min-width: 0){:root,:host{--gov-text-xs-font-size:0.75rem;--gov-text-xs-line-height:150%;--gov-text-xs-font-weight:400;--gov-text-xs-letter-spacing:0.0166em;--gov-text-xs-margin-bottom:0.5rem;--gov-text-s-font-size:0.875rem;--gov-text-s-line-height:150%;--gov-text-s-font-weight:400;--gov-text-s-letter-spacing:0.0125em;--gov-text-s-margin-bottom:0.5rem;--gov-text-m-font-size:1rem;--gov-text-m-line-height:150%;--gov-text-m-font-weight:400;--gov-text-m-letter-spacing:0.0125em;--gov-text-m-margin-bottom:0.5rem;--gov-text-l-font-size:1.125rem;--gov-text-l-line-height:150%;--gov-text-l-font-weight:400;--gov-text-l-letter-spacing:0.0125em;--gov-text-l-margin-bottom:0.5rem;--gov-text-xl-font-size:1.25rem;--gov-text-xl-line-height:150%;--gov-text-xl-font-weight:500;--gov-text-xl-letter-spacing:0.0125em;--gov-text-xl-margin-top:0.5rem;--gov-text-xl-margin-bottom:0.5rem;--gov-text-2xl-font-size:1.375rem;--gov-text-2xl-line-height:150%;--gov-text-2xl-font-weight:500;--gov-text-2xl-letter-spacing:0.0312em;--gov-text-2xl-margin-top:0.5rem;--gov-text-2xl-margin-bottom:0.5rem;--gov-text-3xl-font-size:1.625rem;--gov-text-3xl-line-height:150%;--gov-text-3xl-font-weight:400;--gov-text-3xl-margin-top:1rem;--gov-text-3xl-margin-bottom:0.5rem;--gov-text-4xl-font-size:2rem;--gov-text-4xl-line-height:130%;--gov-text-4xl-font-weight:300;--gov-text-4xl-margin-top:1rem;--gov-text-4xl-margin-bottom:1rem;--gov-text-5xl-font-size:2.25rem;--gov-text-5xl-line-height:125%;--gov-text-5xl-font-weight:300;--gov-text-5xl-margin-top:1.5rem;--gov-text-5xl-margin-bottom:1rem;--gov-text-6xl-font-size:3rem;--gov-text-6xl-line-height:125%;--gov-text-6xl-font-weight:300;--gov-text-6xl-margin-top:2rem;--gov-text-6xl-margin-bottom:1.5rem}}@media (min-width: 48em){:root,:host{--gov-text-2xl-font-size:1.375rem;--gov-text-2xl-margin-top:1rem;--gov-text-3xl-font-size:1.75rem;--gov-text-3xl-line-height:150%;--gov-text-3xl-margin-top:1.5rem;--gov-text-4xl-font-size:2.25rem;--gov-text-4xl-margin-top:1.5rem;--gov-text-5xl-font-size:2.625rem;--gov-text-5xl-margin-top:2rem;--gov-text-6xl-font-size:3.625rem;--gov-text-6xl-margin-top:2.5rem}}.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-content h1,.gov-content .h1{margin-bottom:var(--gov-text-6xl-margin-bottom);margin-top:var(--gov-text-6xl-margin-top)}.gov-content h2,.gov-content .h2{margin-bottom:var(--gov-text-5xl-margin-bottom);margin-top:var(--gov-text-5xl-margin-top)}.gov-content h3,.gov-content .h3{margin-bottom:var(--gov-text-4xl-margin-bottom);margin-top:var(--gov-text-4xl-margin-top)}.gov-content h4,.gov-content .h4{margin-bottom:var(--gov-text-3xl-margin-bottom);margin-top:var(--gov-text-3xl-margin-top)}.gov-content h5,.gov-content .h5{margin-bottom:var(--gov-text-2xl-margin-bottom);margin-top:var(--gov-text-2xl-margin-top)}.gov-content h6,.gov-content .h6{margin-bottom:var(--gov-text-xl-margin-bottom);margin-top:var(--gov-text-xl-margin-top)}.gov-content p{margin-bottom:var(--gov-text-m-margin-bottom);margin-top:var(--gov-text-m-margin-top)}.gov-content .gov-text--xs{margin-bottom:var(--gov-text-xs-margin-bottom);margin-top:var(--gov-text-xs-margin-top)}.gov-content .gov-text--s{margin-bottom:var(--gov-text-s-margin-bottom);margin-top:var(--gov-text-s-margin-top)}.gov-content .gov-text--m{margin-bottom:var(--gov-text-m-margin-bottom);margin-top:var(--gov-text-m-margin-top)}.gov-content .gov-text--l{margin-bottom:var(--gov-text-l-margin-bottom);margin-top:var(--gov-text-l-margin-top)}.gov-content .gov-text--xl{margin-bottom:var(--gov-text-xl-margin-bottom);margin-top:var(--gov-text-xl-margin-top)}.gov-content .gov-text--2xl{margin-bottom:var(--gov-text-2xl-margin-bottom);margin-top:var(--gov-text-2xl-margin-top)}.gov-content .gov-text--3xl{margin-bottom:var(--gov-text-3xl-margin-bottom);margin-top:var(--gov-text-3xl-margin-top)}.gov-content .gov-text--4xl{margin-bottom:var(--gov-text-4xl-margin-bottom);margin-top:var(--gov-text-4xl-margin-top)}.gov-content .gov-text--5xl{margin-bottom:var(--gov-text-5xl-margin-bottom);margin-top:var(--gov-text-5xl-margin-top)}.gov-content .gov-text--6xl{margin-bottom:var(--gov-text-6xl-margin-bottom);margin-top:var(--gov-text-6xl-margin-top)}.gov-content *:first-child{margin-top:0}.gov-content *:last-child{margin-bottom:0}html{font-size:16px;box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}body,:host{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing);min-width:var(--gov-layout-min-width, 20rem);margin:0;padding:0;color:var(--gov-color-secondary);font-family:var(--gov-font-family, "Roboto", sans-serif)}body.body-fixed,:host.body-fixed{overflow:hidden}:first-child{margin-top:0}hr{height:0;border:0 none;border-top:1px solid gainsboro;font-size:0}legend{margin-bottom:1rem;color:var(--gov-form-legend-color, #3b3b3b)}fieldset{border:none;padding:0}
@@ -1,2 +1,2 @@
1
- import{p as e,b as a}from"./p-10cbc3fe.js";export{s as setNonce}from"./p-10cbc3fe.js";const l=()=>{const a=import.meta.url;const l={};if(a!==""){l.resourcesUrl=new URL(".",a).href}return e(l)};l().then((e=>a(JSON.parse('[["p-13624a77",[[4,"gov-form-file",{"expanded":[4],"required":[4],"disabled":[4],"displayAttachments":[4,"display-attachments"],"name":[1],"accept":[1],"multiple":[4],"maxFileSize":[2,"max-file-size"],"identifier":[1],"invalid":[4],"errorSize":[1,"error-size"],"errorAccept":[1,"error-accept"],"attachmentsLabel":[1,"attachments-label"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagRemoveLabel":[1,"wcag-remove-label"],"wcagAttachmentsLabel":[1,"wcag-attachments-label"],"files":[32],"getRef":[64],"getAreaRef":[64],"reset":[64],"validateWcag":[64]}]]],["p-a85f4a62",[[4,"gov-form-multi-select",{"identifier":[1],"placeholder":[1],"variant":[1],"size":[1],"name":[1],"required":[4],"disabled":[4],"invalid":[4],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"focused":[32],"value":[32],"selectedOptions":[32],"setFocus":[64],"setValue":[64],"getRef":[64],"validateWcag":[64]}]]],["p-667dc3de",[[4,"gov-modal",{"open":[1028],"label":[1],"role":[1],"labelTag":[1,"label-tag"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagCloseLabel":[1,"wcag-close-label"],"wcagCloseLabelledBy":[1,"wcag-close-labelled-by"],"show":[64],"hide":[64],"validateWcag":[64]}]]],["p-42c1935f",[[0,"gov-pagination",{"type":[1],"current":[2],"total":[2],"inverse":[4],"size":[1],"variant":[1],"pageSize":[2,"page-size"],"maxPages":[2,"max-pages"],"link":[1],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagSelectLabel":[1,"wcag-select-label"],"wcagPageLabel":[1,"wcag-page-label"],"pagination":[32],"validateWcag":[64]}]]],["p-cacd0fed",[[4,"gov-prompt",{"open":[1028],"label":[1],"role":[1],"labelTag":[1,"label-tag"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagCloseLabel":[1,"wcag-close-label"],"wcagCloseLabelledBy":[1,"wcag-close-labelled-by"],"show":[64],"hide":[64],"validateWcag":[64]}]]],["p-0c1697ce",[[4,"gov-tabs",{"type":[1],"variant":[1],"orientation":[1],"wcagLabel":[1,"wcag-label"],"wcagSelectLabel":[1,"wcag-select-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"controller":[32],"focusIndex":[32],"compactControls":[32],"refresh":[64],"currentTab":[64],"setActiveTab":[64],"validateWcag":[64]}]]],["p-dfc080f2",[[4,"gov-alert",{"headline":[1],"variant":[1],"inverse":[4],"wcagCloseLabel":[1,"wcag-close-label"],"wcagToggleLabel":[1,"wcag-toggle-label"],"closable":[4],"toggleContent":[32],"validateWcag":[64]}]]],["p-2bb9f781",[[4,"gov-loading"]]],["p-49926f53",[[4,"gov-side-nav-item",{"inverse":[4],"compact":[4],"identifier":[1],"count":[4],"label":[1],"disabled":[4],"href":[1],"isExpanded":[4,"is-expanded"],"isExpandedState":[32],"open":[64],"close":[64],"toggle":[64],"currentState":[64]}]]],["p-dd39ede4",[[4,"gov-toast",{"variant":[1],"gravity":[1],"position":[1],"type":[1],"time":[2],"closeLabel":[1,"close-label"],"wcagCloseLabel":[1,"wcag-close-label"],"destroy":[64]}]]],["p-de5c9181",[[4,"gov-accordion-item",{"variant":[1],"identifier":[1],"size":[1],"disabled":[4],"isExpanded":[1028,"is-expanded"],"isExpandedState":[32],"open":[64],"close":[64],"toggle":[64],"currentState":[64]}]]],["p-3d0ab343",[[4,"gov-card",{"promotion":[4],"label":[1],"collapsible":[4],"expanded":[4],"headlineTag":[1,"headline-tag"],"wcagTriggerLabel":[1,"wcag-trigger-label"],"wcagTriggerLabelledBy":[1,"wcag-trigger-labelled-by"],"isExpanded":[32],"open":[64],"close":[64],"validateWcag":[64]}]]],["p-85258200",[[4,"gov-form-checkbox",{"value":[1],"checked":[1540],"required":[4],"disabled":[4],"name":[1],"size":[1],"identifier":[1],"noLabel":[4,"no-label"],"invalid":[4],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"getRef":[64],"validateWcag":[64]}]]],["p-74ce7780",[[4,"gov-tile",{"href":[1],"target":[1],"getTriggerRef":[64]}]]],["p-f8252fea",[[4,"gov-wizard-item",{"variant":[1],"size":[1],"identifier":[1],"collapsible":[4],"annotation":[1],"label":[1],"disabled":[4],"isExpanded":[1028,"is-expanded"],"labelTag":[1,"label-tag"],"open":[64],"close":[64],"toggle":[64],"currentState":[64]}]]],["p-87aca157",[[4,"gov-accordion",{"size":[1],"variant":[1],"noBorder":[4,"no-border"],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]}]]],["p-4c79a97a",[[0,"gov-app"]]],["p-18ef9623",[[4,"gov-breadcrumbs",{"collapsible":[4],"isExpanded":[4,"is-expanded"],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labeled-by"],"validateWcag":[64]}]]],["p-1c62f175",[[4,"gov-container",{"slottedChildren":[64]}]]],["p-89921159",[[4,"gov-control-group",{"variant":[1],"noBorder":[4,"no-border"]}]]],["p-041d30b1",[[4,"gov-cookiebar"]]],["p-0c769f1a",[[4,"gov-dropdown",{"open":[1028],"position":[1],"getState":[64],"setOpen":[64]}]]],["p-1da9f871",[[4,"gov-empty"]]],["p-88a78167",[[4,"gov-error-code"]]],["p-ab426e50",[[4,"gov-form-control",{"gap":[1],"identifier":[1],"invalid":[4],"disabled":[4],"success":[4],"fieldset":[4],"size":[1]}]]],["p-06699657",[[4,"gov-form-group",{"gap":[1],"orientation":[1]}]]],["p-bbcbe1cc",[[4,"gov-form-label",{"identifier":[1],"size":[1],"required":[4],"legend":[4]}]]],["p-da762184",[[4,"gov-form-password-power",{"power":[2]}]]],["p-9bfab069",[[4,"gov-form-radio",{"value":[1],"noLabel":[4,"no-label"],"checked":[1540],"required":[4],"disabled":[4],"name":[1],"size":[1],"identifier":[1],"invalid":[4],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"getRef":[64],"validateWcag":[64]}]]],["p-5e23a6ba",[[4,"gov-form-search",{"variant":[1]}]]],["p-8fce08d1",[[4,"gov-form-switch",{"value":[1],"noLabel":[4,"no-label"],"checked":[1540],"required":[4],"disabled":[4],"name":[1],"size":[1],"identifier":[1],"invalid":[4],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"getRef":[64],"validateWcag":[64]}]]],["p-0eb11cfc",[[4,"gov-grid",{"alignX":[1,"align-x"],"alignY":[1,"align-y"]}]]],["p-739dd451",[[4,"gov-grid-item",{"size":[1],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]],["p-6f43bd00",[[4,"gov-layout",{"type":[1],"variant":[1],"inverse":[4]}]]],["p-93042b25",[[4,"gov-layout-column"]]],["p-5316e768",[[4,"gov-message",{"variant":[1]}]]],["p-70140f70",[[4,"gov-nav",{"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]}]]],["p-33895061",[[4,"gov-nav-item",{"href":[1],"isExpandedState":[32]}]]],["p-a5d00433",[[4,"gov-side-nav",{"inverse":[4],"compact":[4],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]}]]],["p-33bf5974",[[0,"gov-skeleton",{"variant":[1],"count":[2],"shape":[1],"width":[1],"height":[1],"animation":[1],"wcagLabel":[1,"wcag-label"],"validateWcag":[64]}]]],["p-88010439",[[0,"gov-spacer",{"size":[1],"breakpoint":[1]}]]],["p-e1780dba",[[4,"gov-statsbar",{"iconPosition":[1,"icon-position"],"variant":[1]}]]],["p-c81d62db",[[4,"gov-statsbar-item",{"iconPosition":[1,"icon-position"]}]]],["p-2fe9d3ea",[[4,"gov-stepper",{"size":[1]}]]],["p-2944bf77",[[4,"gov-stepper-item",{"variant":[1],"size":[1],"identifier":[1],"label":[1],"annotation":[1],"triggerTag":[1,"trigger-tag"],"isExpandedState":[32],"currentState":[64]}]]],["p-9633e7b5",[[4,"gov-tabs-item",{"identifier":[1],"triggerIdentifier":[1,"trigger-identifier"],"label":[1],"default":[4],"isActive":[32],"getIdentifier":[64],"getTriggerIdentifier":[64],"setActiveStatus":[64]}]]],["p-228da18e",[[4,"gov-tiles",{"columns":[2],"noBorder":[4,"no-border"]}]]],["p-3b9df792",[[4,"gov-tooltip",{"variant":[1],"size":[1],"position":[1],"message":[1],"identifier":[1],"icon":[4],"show":[64],"hide":[64]}]]],["p-3e5432d7",[[4,"gov-tooltip-content",{"isVisible":[4,"is-visible"]}]]],["p-bd1cb5bd",[[4,"gov-wizard",{"size":[1],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]}]]],["p-fb99f144",[[0,"gov-icon",{"name":[1],"type":[1],"iconData":[32],"visible":[32],"error":[32]}]]],["p-69f944d1",[[4,"gov-form-input",{"value":[1537],"identifier":[1],"variant":[1],"success":[4],"size":[1],"name":[1],"multiline":[4],"rows":[2],"cols":[2],"required":[4],"disabled":[4],"placeholder":[1],"readonly":[4],"minlength":[2],"maxlength":[2],"min":[8],"max":[8],"autocomplete":[4],"autocorrect":[4],"type":[1],"inputType":[1,"input-type"],"role":[1],"invalid":[4],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"wcagAutocomplete":[1,"wcag-autocomplete"],"wcagExpanded":[4,"wcag-expanded"],"focused":[32],"setFocus":[64],"setValue":[64],"clearValue":[64],"getRef":[64],"validateWcag":[64]}]]],["p-ae04e58f",[[4,"gov-form-autocomplete",{"value":[1537],"identifier":[1],"variant":[1],"success":[4],"size":[1],"nameKey":[1,"name-key"],"name":[1],"required":[4],"disabled":[4],"placeholder":[1],"readonly":[4],"invalid":[4],"minlength":[2],"maxlength":[2],"messageEmpty":[1,"message-empty"],"messageLoading":[1,"message-loading"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"focused":[32],"processing":[32],"arrowCounter":[32],"list":[32],"setFocus":[64],"setOptions":[64],"clearValue":[64],"setProcessing":[64],"setSearchCallback":[64],"setTemplateResolver":[64]}]]],["p-d4cfa93a",[[4,"gov-form-select",{"value":[1537],"identifier":[1],"variant":[1],"size":[1],"name":[1],"required":[4],"disabled":[4],"invalid":[4],"wcagActiveDescendant":[1,"wcag-active-descendant"],"wcagControls":[1,"wcag-controls"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"focused":[32],"setFocus":[64],"setValue":[64],"getRef":[64],"validateWcag":[64]}]]],["p-af646ce2",[[4,"gov-badge",{"inverse":[4],"disabled":[4],"href":[1],"target":[1],"size":[1],"tag":[1],"variant":[1],"wcagLabel":[1,"wcag-label"],"getTriggerRef":[64]}]]],["p-9d72d80b",[[4,"gov-attachments-item",{"wcagRemoveLabel":[1,"wcag-remove-label"],"wcagRemoveLabelledBy":[1,"wcag-remove-labelled-by"],"validateWcag":[64]}],[4,"gov-attachments",{"label":[1],"wcagLabel":[1,"wcag-label"],"validateWcag":[64]}],[4,"gov-form-message",{"variant":[1],"identifier":[64]}]]],["p-41e88980",[[0,"gov-backdrop",{"inverse":[4],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]}]]],["p-6a65af35",[[4,"gov-button",{"variant":[513],"size":[513],"type":[513],"expanded":[4],"inverse":[4],"name":[1],"disabled":[516],"nativeType":[1,"native-type"],"href":[1],"target":[1],"download":[4],"hreflang":[1],"referrerpolicy":[1],"rel":[1],"loading":[1],"focusable":[4],"identifier":[1],"wcagActiveDescendant":[1,"wcag-active-descendant"],"wcagControls":[1,"wcag-controls"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagDescription":[1,"wcag-description"],"wcagDetails":[1,"wcag-details"],"wcagExpanded":[4,"wcag-expanded"],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"wcagHasPopup":[1,"wcag-has-popup"],"wcagPressed":[1,"wcag-pressed"],"wcagCurrent":[1,"wcag-current"],"isPressed":[32],"setFocus":[64],"getTriggerRef":[64],"validateWcag":[64]}]]]]'),e)));
1
+ import{p as e,b as a}from"./p-10cbc3fe.js";export{s as setNonce}from"./p-10cbc3fe.js";const l=()=>{const a=import.meta.url;const l={};if(a!==""){l.resourcesUrl=new URL(".",a).href}return e(l)};l().then((e=>a(JSON.parse('[["p-28f39f69",[[4,"gov-form-file",{"expanded":[4],"required":[4],"disabled":[1540],"displayAttachments":[4,"display-attachments"],"name":[1],"accept":[1],"multiple":[4],"maxFileSize":[2,"max-file-size"],"identifier":[1],"invalid":[4],"errorSize":[1,"error-size"],"errorAccept":[1,"error-accept"],"attachmentsLabel":[1,"attachments-label"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagRemoveLabel":[1,"wcag-remove-label"],"wcagAttachmentsLabel":[1,"wcag-attachments-label"],"files":[32],"getRef":[64],"getAreaRef":[64],"reset":[64],"validateWcag":[64]}]]],["p-e2d6efaf",[[4,"gov-form-multi-select",{"identifier":[1],"placeholder":[1],"variant":[1],"size":[1],"name":[1],"required":[4],"disabled":[1540],"invalid":[4],"success":[4],"messageEmpty":[1,"message-empty"],"messageLoading":[1,"message-loading"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"focused":[32],"value":[32],"selectedOptions":[32],"setFocus":[64],"setValue":[64],"getRef":[64],"validateWcag":[64]}]]],["p-afa12399",[[4,"gov-modal",{"open":[1028],"label":[1],"role":[1],"labelTag":[1,"label-tag"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagCloseLabel":[1,"wcag-close-label"],"wcagCloseLabelledBy":[1,"wcag-close-labelled-by"],"show":[64],"hide":[64],"validateWcag":[64]}]]],["p-19b897c0",[[0,"gov-pagination",{"type":[1],"current":[2],"total":[2],"inverse":[4],"size":[1],"variant":[1],"pageSize":[2,"page-size"],"maxPages":[2,"max-pages"],"link":[1],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagSelectLabel":[1,"wcag-select-label"],"wcagPageLabel":[1,"wcag-page-label"],"pagination":[32],"validateWcag":[64]}]]],["p-998c3336",[[4,"gov-prompt",{"open":[1028],"label":[1],"role":[1],"labelTag":[1,"label-tag"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagCloseLabel":[1,"wcag-close-label"],"wcagCloseLabelledBy":[1,"wcag-close-labelled-by"],"show":[64],"hide":[64],"validateWcag":[64]}]]],["p-c4c9ff83",[[4,"gov-tabs",{"type":[1],"variant":[1],"orientation":[1],"wcagLabel":[1,"wcag-label"],"wcagSelectLabel":[1,"wcag-select-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"controller":[32],"focusIndex":[32],"compactControls":[32],"refresh":[64],"currentTab":[64],"setActiveTab":[64],"validateWcag":[64]}]]],["p-0553eb92",[[4,"gov-infobar",{"headline":[1],"variant":[1],"inverse":[4],"wcagCloseLabel":[1,"wcag-close-label"],"wcagToggleLabel":[1,"wcag-toggle-label"],"closable":[4],"toggleContent":[32],"validateWcag":[64]}]]],["p-2bb9f781",[[4,"gov-loading"]]],["p-49926f53",[[4,"gov-side-nav-item",{"inverse":[4],"compact":[4],"identifier":[1],"count":[4],"label":[1],"disabled":[4],"href":[1],"isExpanded":[4,"is-expanded"],"isExpandedState":[32],"open":[64],"close":[64],"toggle":[64],"currentState":[64]}]]],["p-e5227e40",[[4,"gov-toast",{"variant":[1],"gravity":[1],"position":[1],"type":[1],"time":[2],"closeLabel":[1,"close-label"],"wcagCloseLabel":[1,"wcag-close-label"],"destroy":[64]}]]],["p-bcf71ab5",[[4,"gov-tooltip-content",{"variant":[1],"size":[1],"persist":[4],"isVisible":[1028,"is-visible"],"parentId":[1,"parent-id"]}]]],["p-de5c9181",[[4,"gov-accordion-item",{"variant":[1],"identifier":[1],"size":[1],"disabled":[4],"isExpanded":[1028,"is-expanded"],"isExpandedState":[32],"open":[64],"close":[64],"toggle":[64],"currentState":[64]}]]],["p-0c57e410",[[4,"gov-card",{"promotion":[4],"label":[1],"collapsible":[4],"expanded":[4],"headlineTag":[1,"headline-tag"],"wcagTriggerLabel":[1,"wcag-trigger-label"],"wcagTriggerLabelledBy":[1,"wcag-trigger-labelled-by"],"isExpanded":[32],"open":[64],"close":[64],"validateWcag":[64]}]]],["p-35c1c12c",[[4,"gov-form-checkbox",{"value":[1],"checked":[1540],"required":[4],"disabled":[1540],"name":[1],"size":[1],"identifier":[1],"noLabel":[4,"no-label"],"invalid":[4],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"getRef":[64],"validateWcag":[64]}]]],["p-74ce7780",[[4,"gov-tile",{"href":[1],"target":[1],"getTriggerRef":[64]}]]],["p-c5d3efc2",[[4,"gov-wizard-item",{"variant":[1],"size":[1],"identifier":[1],"collapsible":[4],"annotation":[1],"label":[1],"disabled":[4],"isExpanded":[1028,"is-expanded"],"labelTag":[1,"label-tag"],"open":[64],"close":[64],"toggle":[64],"currentState":[64]}]]],["p-7702c8c2",[[4,"gov-accordion",{"size":[1],"variant":[1],"noBorder":[4,"no-border"],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]}]]],["p-d84b290e",[[0,"gov-app"]]],["p-2bf0c1c5",[[4,"gov-breadcrumbs",{"collapsible":[4],"isExpanded":[4,"is-expanded"],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labeled-by"],"validateWcag":[64]}]]],["p-1c62f175",[[4,"gov-container",{"slottedChildren":[64]}]]],["p-89921159",[[4,"gov-control-group",{"variant":[1],"noBorder":[4,"no-border"]}]]],["p-041d30b1",[[4,"gov-cookiebar"]]],["p-84f6b11a",[[4,"gov-dropdown",{"open":[1028],"position":[1],"getState":[64],"setOpen":[64]}]]],["p-1da9f871",[[4,"gov-empty"]]],["p-88a78167",[[4,"gov-error-code"]]],["p-ab426e50",[[4,"gov-form-control",{"gap":[1],"identifier":[1],"invalid":[4],"disabled":[4],"success":[4],"fieldset":[4],"size":[1]}]]],["p-06699657",[[4,"gov-form-group",{"gap":[1],"orientation":[1]}]]],["p-82b4b522",[[4,"gov-form-label",{"identifier":[1],"size":[1],"required":[4],"legend":[4]}]]],["p-da762184",[[4,"gov-form-password-power",{"power":[2]}]]],["p-acd6a9f4",[[4,"gov-form-radio",{"value":[1],"noLabel":[4,"no-label"],"checked":[1540],"required":[4],"disabled":[1540],"name":[1],"size":[1],"identifier":[1],"invalid":[4],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"getRef":[64],"validateWcag":[64]}]]],["p-5e23a6ba",[[4,"gov-form-search",{"variant":[1]}]]],["p-fab698a7",[[4,"gov-form-switch",{"value":[1],"noLabel":[4,"no-label"],"checked":[1540],"required":[4],"disabled":[1540],"name":[1],"size":[1],"identifier":[1],"invalid":[4],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"getRef":[64],"validateWcag":[64]}]]],["p-0eb11cfc",[[4,"gov-grid",{"alignX":[1,"align-x"],"alignY":[1,"align-y"]}]]],["p-739dd451",[[4,"gov-grid-item",{"size":[1],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]],["p-6f43bd00",[[4,"gov-layout",{"type":[1],"variant":[1],"inverse":[4]}]]],["p-93042b25",[[4,"gov-layout-column"]]],["p-5316e768",[[4,"gov-message",{"variant":[1]}]]],["p-b0c97376",[[4,"gov-nav",{"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]}]]],["p-33895061",[[4,"gov-nav-item",{"href":[1],"isExpandedState":[32]}]]],["p-7fa1290e",[[4,"gov-side-nav",{"inverse":[4],"compact":[4],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]}]]],["p-7372b066",[[0,"gov-skeleton",{"variant":[1],"count":[2],"shape":[1],"width":[1],"height":[1],"animation":[1],"wcagLabel":[1,"wcag-label"],"validateWcag":[64]}]]],["p-88010439",[[0,"gov-spacer",{"size":[1],"breakpoint":[1]}]]],["p-e1780dba",[[4,"gov-statsbar",{"iconPosition":[1,"icon-position"],"variant":[1]}]]],["p-c81d62db",[[4,"gov-statsbar-item",{"iconPosition":[1,"icon-position"]}]]],["p-2fe9d3ea",[[4,"gov-stepper",{"size":[1]}]]],["p-80f5140b",[[4,"gov-stepper-item",{"variant":[1],"size":[1],"identifier":[1],"label":[1],"annotation":[1],"triggerTag":[1,"trigger-tag"],"isExpandedState":[32],"currentState":[64]}]]],["p-9633e7b5",[[4,"gov-tabs-item",{"identifier":[1],"triggerIdentifier":[1,"trigger-identifier"],"label":[1],"default":[4],"isActive":[32],"getIdentifier":[64],"getTriggerIdentifier":[64],"setActiveStatus":[64]}]]],["p-228da18e",[[4,"gov-tiles",{"columns":[2],"noBorder":[4,"no-border"]}]]],["p-5cc3e768",[[4,"gov-tooltip",{"variant":[1],"size":[1],"position":[1],"message":[1],"identifier":[1],"icon":[4],"persist":[32],"show":[64],"hide":[64]}]]],["p-4452c278",[[4,"gov-wizard",{"size":[1],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]}]]],["p-b8c35c57",[[0,"gov-icon",{"name":[1],"type":[1],"iconData":[32],"visible":[32],"error":[32]}]]],["p-1c40fdd5",[[4,"gov-form-input",{"value":[1537],"identifier":[1],"variant":[1],"success":[4],"size":[1],"name":[1],"multiline":[4],"rows":[2],"cols":[2],"required":[4],"disabled":[1540],"placeholder":[1],"readonly":[4],"minlength":[2],"maxlength":[2],"min":[8],"max":[8],"autocomplete":[4],"autocorrect":[4],"type":[1],"inputType":[1,"input-type"],"role":[1],"invalid":[4],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"wcagAutocomplete":[1,"wcag-autocomplete"],"wcagExpanded":[4,"wcag-expanded"],"focused":[32],"setFocus":[64],"setValue":[64],"clearValue":[64],"getRef":[64],"validateWcag":[64]}]]],["p-a7719b55",[[4,"gov-form-autocomplete",{"value":[1537],"identifier":[1],"variant":[1],"success":[4],"size":[1],"nameKey":[1,"name-key"],"name":[1],"required":[4],"disabled":[1540],"placeholder":[1],"readonly":[4],"invalid":[4],"minlength":[2],"maxlength":[2],"messageEmpty":[1,"message-empty"],"messageLoading":[1,"message-loading"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"focused":[32],"processing":[32],"arrowCounter":[32],"list":[32],"setFocus":[64],"setOptions":[64],"clearValue":[64],"setProcessing":[64],"setSearchCallback":[64],"setTemplateResolver":[64]}]]],["p-19a54ee9",[[4,"gov-form-select",{"value":[1537],"identifier":[1],"variant":[1],"size":[1],"name":[1],"required":[4],"success":[4],"disabled":[1540],"invalid":[4],"wcagActiveDescendant":[1,"wcag-active-descendant"],"wcagControls":[1,"wcag-controls"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"focused":[32],"setFocus":[64],"setValue":[64],"getRef":[64],"validateWcag":[64]}]]],["p-c61444f7",[[4,"gov-badge",{"inverse":[4],"disabled":[4],"href":[1],"target":[1],"size":[1],"tag":[1],"variant":[1],"wcagLabel":[1,"wcag-label"],"getTriggerRef":[64]}]]],["p-7e8d2066",[[4,"gov-attachments-item",{"wcagRemoveLabel":[1,"wcag-remove-label"],"wcagRemoveLabelledBy":[1,"wcag-remove-labelled-by"],"validateWcag":[64]}],[4,"gov-attachments",{"label":[1],"wcagLabel":[1,"wcag-label"],"validateWcag":[64]}],[4,"gov-form-message",{"variant":[1],"identifier":[64]}]]],["p-93897e60",[[0,"gov-backdrop",{"inverse":[4],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"validateWcag":[64]}]]],["p-32a4b7e3",[[4,"gov-button",{"variant":[513],"size":[513],"type":[513],"expanded":[4],"inverse":[4],"name":[1],"disabled":[516],"nativeType":[1,"native-type"],"href":[1],"target":[1],"download":[4],"hreflang":[1],"referrerpolicy":[1],"rel":[1],"loading":[1],"focusable":[4],"identifier":[1],"wcagActiveDescendant":[1,"wcag-active-descendant"],"wcagControls":[1,"wcag-controls"],"wcagDescribedBy":[1,"wcag-described-by"],"wcagDescription":[1,"wcag-description"],"wcagDetails":[1,"wcag-details"],"wcagExpanded":[4,"wcag-expanded"],"wcagLabel":[1,"wcag-label"],"wcagLabelledBy":[1,"wcag-labelled-by"],"wcagOwns":[1,"wcag-owns"],"wcagHasPopup":[1,"wcag-has-popup"],"wcagPressed":[1,"wcag-pressed"],"wcagCurrent":[1,"wcag-current"],"isPressed":[32],"setFocus":[64],"getTriggerRef":[64],"validateWcag":[64]}]]]]'),e)));
2
2
  //# sourceMappingURL=core.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","JSON","parse"],"sources":["../../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.2.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAKA,MAAMA,EAAe,KAyBjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,EC/B/BH,IAAeQ,MAAKC,GAEXC,EAAcC,KAAAC,MAAA,m5VAAuCH"}
1
+ {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","JSON","parse"],"sources":["../../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.2.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAKA,MAAMA,EAAe,KAyBjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,EC/B/BH,IAAeQ,MAAKC,GAEXC,EAAcC,KAAAC,MAAA,umWAAuCH"}
@@ -0,0 +1,2 @@
1
+ import{r as o,c as r,h as a,H as n,g as i}from"./p-10cbc3fe.js";import{v}from"./p-26acf964.js";import{V as e}from"./p-ff7365ae.js";import{p as t,d as c}from"./p-03990da5.js";import{g as s,a as g}from"./p-3f37ddb6.js";import{F as b}from"./p-1c1d0bbe.js";import{c as f}from"./p-570ef4e5.js";import{c as l}from"./p-cac3881f.js";import"./p-561fa17b.js";import"./p-24636c53.js";const _=t(e,["PRIMARY","SECONDARY","WARNING","ERROR","SUCCESS"]);const d={root:"gov-infobar",section:"gov-infobar__section",icon:"gov-infobar__icon",content:"gov-infobar__content",headline:"gov-infobar__headline",close:"gov-infobar__close"};const m='.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-infobar{position:relative;display:block;width:100%}.gov-infobar__section{display:flex;gap:1rem;padding:1rem}.gov-infobar__icon{flex:0 0 auto}.gov-infobar__icon>*{width:1.25rem;height:1.25rem}.gov-infobar__headline{display:flex;gap:1rem}.gov-infobar__headline+div{margin-top:0.5rem}.gov-infobar__headline p{margin-bottom:0}.gov-infobar__headline gov-button{margin-top:-0.25rem}.gov-infobar__content{padding-right:3.5rem}.gov-infobar__content>*:last-child{margin-bottom:0}.gov-infobar__content p{font-weight:var(--gov-text-m-font-weight);font-size:var(--gov-text-m-font-size);line-height:var(--gov-text-m-line-height);letter-spacing:var(--gov-text-m-letter-spacing)}.gov-infobar__content a{color:inherit}@media not all and (pointer: coarse){.gov-infobar__content a:hover{color:inherit}}.gov-infobar__close{position:absolute;top:0.875rem;right:1rem}.gov-infobar[variant=warning]{background-color:var(--gov-infobar-warning-bg-color, var(--gov-color-warning))}.gov-infobar[variant=warning] .gov-infobar__icon{color:var(--gov-infobar-warning-icon-color, var(--gov-color-secondary))}.gov-infobar[variant=warning] .gov-infobar__content{color:var(--gov-infobar-warning-text-color, var(--gov-color-secondary))}.gov-infobar[variant=warning][inverse=""],.gov-infobar[variant=warning][inverse=true i],.gov-infobar[variant=warning][inverse="1"]{border-bottom:var(--gov-infobar-border, 0.0625rem solid var(--gov-color-secondary-400));background-color:var(--gov-infobar-inverse-bg, var(--gov-color-neutral-white))}.gov-infobar[variant=warning][inverse=""] .gov-infobar__icon,.gov-infobar[variant=warning][inverse=true i] .gov-infobar__icon,.gov-infobar[variant=warning][inverse="1"] .gov-infobar__icon{color:var(--gov-infobar-warning-bg-color, var(--gov-color-warning))}.gov-infobar[variant=warning][inverse=""] .gov-infobar__content,.gov-infobar[variant=warning][inverse=true i] .gov-infobar__content,.gov-infobar[variant=warning][inverse="1"] .gov-infobar__content{color:var(--gov-infobar-inverse-color, var(--gov-color-secondary-800))}.gov-infobar[variant=error]{background-color:var(--gov-infobar-error-bg-color, var(--gov-color-error))}.gov-infobar[variant=error] .gov-infobar__icon{color:var(--gov-infobar-error-icon-color, var(--gov-color-neutral-white))}.gov-infobar[variant=error] .gov-infobar__content{color:var(--gov-infobar-error-text-color, var(--gov-color-neutral-white))}.gov-infobar[variant=error][inverse=""],.gov-infobar[variant=error][inverse=true i],.gov-infobar[variant=error][inverse="1"]{border-bottom:var(--gov-infobar-border, 0.0625rem solid var(--gov-color-secondary-400));background-color:var(--gov-infobar-inverse-bg, var(--gov-color-neutral-white))}.gov-infobar[variant=error][inverse=""] .gov-infobar__icon,.gov-infobar[variant=error][inverse=true i] .gov-infobar__icon,.gov-infobar[variant=error][inverse="1"] .gov-infobar__icon{color:var(--gov-infobar-error-bg-color, var(--gov-color-error))}.gov-infobar[variant=error][inverse=""] .gov-infobar__content,.gov-infobar[variant=error][inverse=true i] .gov-infobar__content,.gov-infobar[variant=error][inverse="1"] .gov-infobar__content{color:var(--gov-infobar-inverse-color, var(--gov-color-secondary-800))}.gov-infobar[variant=secondary]{background-color:var(--gov-infobar-secondary-bg-color, var(--gov-color-secondary))}.gov-infobar[variant=secondary] .gov-infobar__icon{color:var(--gov-infobar-secondary-icon-color, var(--gov-color-neutral-white))}.gov-infobar[variant=secondary] .gov-infobar__content{color:var(--gov-infobar-secondary-text-color, var(--gov-color-neutral-white))}.gov-infobar[variant=secondary][inverse=""],.gov-infobar[variant=secondary][inverse=true i],.gov-infobar[variant=secondary][inverse="1"]{border-bottom:var(--gov-infobar-border, 0.0625rem solid var(--gov-color-secondary-400));background-color:var(--gov-infobar-inverse-bg, var(--gov-color-neutral-white))}.gov-infobar[variant=secondary][inverse=""] .gov-infobar__icon,.gov-infobar[variant=secondary][inverse=true i] .gov-infobar__icon,.gov-infobar[variant=secondary][inverse="1"] .gov-infobar__icon{color:var(--gov-infobar-secondary-bg-color, var(--gov-color-secondary))}.gov-infobar[variant=secondary][inverse=""] .gov-infobar__content,.gov-infobar[variant=secondary][inverse=true i] .gov-infobar__content,.gov-infobar[variant=secondary][inverse="1"] .gov-infobar__content{color:var(--gov-infobar-inverse-color, var(--gov-color-secondary-800))}.gov-infobar[variant=success]{background-color:var(--gov-infobar-success-bg-color, var(--gov-color-success-500))}.gov-infobar[variant=success] .gov-infobar__icon{color:var(--gov-infobar-success-icon-color, var(--gov-color-neutral-white))}.gov-infobar[variant=success] .gov-infobar__content{color:var(--gov-infobar-success-text-color, var(--gov-color-neutral-white))}.gov-infobar[variant=success][inverse=""],.gov-infobar[variant=success][inverse=true i],.gov-infobar[variant=success][inverse="1"]{border-bottom:var(--gov-infobar-border, 0.0625rem solid var(--gov-color-secondary-400));background-color:var(--gov-infobar-inverse-bg, var(--gov-color-neutral-white))}.gov-infobar[variant=success][inverse=""] .gov-infobar__icon,.gov-infobar[variant=success][inverse=true i] .gov-infobar__icon,.gov-infobar[variant=success][inverse="1"] .gov-infobar__icon{color:var(--gov-infobar-success-bg-color, var(--gov-color-success-500))}.gov-infobar[variant=success][inverse=""] .gov-infobar__content,.gov-infobar[variant=success][inverse=true i] .gov-infobar__content,.gov-infobar[variant=success][inverse="1"] .gov-infobar__content{color:var(--gov-infobar-inverse-color, var(--gov-color-secondary-800))}.gov-infobar[variant=primary]{background-color:var(--gov-infobar-primary-bg-color, var(--gov-color-primary))}.gov-infobar[variant=primary] .gov-infobar__icon{color:var(--gov-infobar-primary-icon-color, var(--gov-color-neutral-white))}.gov-infobar[variant=primary] .gov-infobar__content{color:var(--gov-infobar-primary-text-color, var(--gov-color-neutral-white))}.gov-infobar[variant=primary][inverse=""],.gov-infobar[variant=primary][inverse=true i],.gov-infobar[variant=primary][inverse="1"]{border-bottom:var(--gov-infobar-border, 0.0625rem solid var(--gov-color-secondary-400));background-color:var(--gov-infobar-inverse-bg, var(--gov-color-neutral-white))}.gov-infobar[variant=primary][inverse=""] .gov-infobar__icon,.gov-infobar[variant=primary][inverse=true i] .gov-infobar__icon,.gov-infobar[variant=primary][inverse="1"] .gov-infobar__icon{color:var(--gov-infobar-primary-bg-color, var(--gov-color-primary))}.gov-infobar[variant=primary][inverse=""] .gov-infobar__content,.gov-infobar[variant=primary][inverse=true i] .gov-infobar__content,.gov-infobar[variant=primary][inverse="1"] .gov-infobar__content{color:var(--gov-infobar-inverse-color, var(--gov-color-secondary-800))}@media (min-width: 75em){.gov-infobar__content{padding-right:2rem}}';const h=class{constructor(a){o(this,a);this.govClose=r(this,"gov-close",7);this.headline=undefined;this.variant="primary";this.inverse=false;this.wcagCloseLabel=undefined;this.wcagToggleLabel=undefined;this.closable=false;this.toggleContent=false;this.h=s(this.host)}validateVariant(o){v(_,o,d.root)}componentWillLoad(){this.validateVariant(this.variant)}async componentDidRender(){if(l()){await c(500);await this.validateWcag()}}render(){let o=!this.inverse;let r=this.inverse?"secondary":this.variant;if(this.variant=="warning"){o=false;r="secondary"}const i=a("div",{class:d.close},a("gov-button",{size:"s","aria-label":this.wcagCloseLabel,type:"base",variant:r,inverse:o,"on-gov-click":this.onCloseHandler.bind(this)},a("gov-icon",{name:"x-lg"})));return a(n,{class:this.h.classes(d.root),variant:this.variant},a("section",{class:d.section,role:"infobar"},this.h.hasSlot("icon")&&a("div",{class:d.icon},a("slot",{name:"icon"})),a("div",{class:d.content},this.headline?a(b,null,a("div",{class:d.headline},a("p",null,this.headline),a("gov-button",{size:"s","aria-label":this.wcagToggleLabel,type:"base",variant:r,inverse:o,"on-gov-click":()=>this.toggleContent=!this.toggleContent},a("gov-icon",{name:this.toggleContent?"chevron-up":"chevron-down"}))),a("div",{hidden:!this.toggleContent,"aria-hidden":g(this.toggleContent)},a("slot",null))):a("slot",null))),this.closable&&i)}onCloseHandler(o){this.govClose.emit({component:d.root,ref:this.host,originalEvent:o})}async validateWcag(){if(this.closable){f(this.wcagCloseLabel,"wcag-close-label",d.root)}if(this.headline){f(this.wcagToggleLabel,"wcag-toggle-label",d.root)}}get host(){return i(this)}static get watchers(){return{variant:["validateVariant"]}}};h.style=m;export{h as gov_infobar};
2
+ //# sourceMappingURL=p-0553eb92.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["InfobarVariants","pick","Variants","InfobarClass","root","section","icon","content","headline","close","govInfobarCss","GovInfobar","constructor","hostRef","this","h","govHost","host","validateVariant","newValue","validateProp","componentWillLoad","variant","componentDidRender","canValidateWcagOnRender","delay","validateWcag","render","inverse","closeButton","class","size","wcagCloseLabel","type","onCloseHandler","bind","name","Host","classes","role","hasSlot","Fragment","wcagToggleLabel","toggleContent","hidden","toBoolAttr","closable","e","govClose","emit","component","ref","originalEvent","validateWcagProp"],"sources":["../../../packages/core/src/components/gov-infobar/default/constants.ts","../../../packages/core/src/components/gov-infobar/default/gov-infobar.scss?tag=gov-infobar","../../../packages/core/src/components/gov-infobar/default/gov-infobar.tsx"],"sourcesContent":["import { Variants } from '../../../core/constants/variants'\nimport { pick } from '../../../utils/utils'\nimport { ValueOf } from '../../../types/interfaces'\n\nexport const InfobarVariants = pick(Variants, ['PRIMARY', 'SECONDARY', 'WARNING', 'ERROR', 'SUCCESS'])\nexport type VariantType = `${ValueOf<typeof InfobarVariants>}`\n\nexport const InfobarClass = {\n\troot: 'gov-infobar',\n\tsection: 'gov-infobar__section',\n\ticon: 'gov-infobar__icon',\n\tcontent: 'gov-infobar__content',\n\theadline: 'gov-infobar__headline',\n\tclose: 'gov-infobar__close',\n}\n","/*\n * Infobar\n */\n\n$class: \".gov-infobar\";\n\n#{$class} {\n\t@include base();\n\n\t&__section {\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\t\tpadding: rem-calc(16);\n\t}\n\n\t&__icon {\n\t\tflex: 0 0 auto;\n\n\t\t& > * {\n\t\t\twidth: rem-calc(20);\n\t\t\theight: rem-calc(20);\n\t\t}\n\t}\n\n\t&__headline {\n\t\tdisplay: flex;\n\t\tgap: rem-calc(16);\n\n\t\t+ div {\n\t\t\tmargin-top: rem-calc(8);\n\t\t}\n\n\t\tp {\n\t\t\tmargin-bottom: 0;\n\t\t}\n\n\t\tgov-button {\n\t\t\tmargin-top: rem-calc(-4);\n\t\t}\n\t}\n\n\t&__content {\n\t\t@include reset-last-margin();\n\t\tpadding-right: rem-calc(56);\n\n\t\tp {\n\t\t\t@include typography($font-size-m);\n\t\t}\n\n\t\ta {\n\t\t\tcolor: inherit;\n\t\t\t@include hover() {\n\t\t\t\tcolor: inherit;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__close {\n\t\tposition: absolute;\n\t\ttop: rem-calc(14);\n\t\tright: rem-calc(16);\n\t}\n\n\t// VARIANTS\n\t@each $variant, $definitions in $infobar-variants {\n\t\t&[variant=\"#{$variant}\"] {\n\t\t\tbackground-color: get(\"bg-color\", $definitions);\n\n\t\t\t#{$class} {\n\t\t\t\t&__icon {\n\t\t\t\t\tcolor: get(\"icon-color\", $definitions);\n\t\t\t\t}\n\n\t\t\t\t&__content {\n\t\t\t\t\tcolor: get(\"text-color\", $definitions);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@if deep-map-check($definitions, \"border\") {\n\t\t\t\tborder-bottom: $infobar-border;\n\t\t\t}\n\n\t\t\t// STATES\n\t\t\t@include parameter(\"inverse\") {\n\t\t\t\tborder-bottom: $infobar-border;\n\t\t\t\tbackground-color: $infobar-inverse-bg;\n\t\t\t\t#{$class} {\n\t\t\t\t\t&__icon {\n\t\t\t\t\t\tcolor: get(\"bg-color\", $definitions);\n\t\t\t\t\t}\n\n\t\t\t\t\t&__content {\n\t\t\t\t\t\tcolor: $infobar-inverse-color;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// MQ\n\t@include mq($from: xl) {\n\t\t&__content {\n\t\t\tpadding-right: rem-calc(32);\n\t\t}\n\t}\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from \"@stencil/core\"\nimport { validateProp } from \"../../../helpers/Validate/props\"\nimport { InfobarClass, InfobarVariants, VariantType } from \"./constants\"\nimport { govHost, toBoolAttr } from \"../../../helpers/Dom/template\"\nimport { GovHost } from \"../../../helpers/Dom/template.types\"\nimport { InfobarEvent } from \"./gov-infobar.types\"\nimport { ButtonEvent } from \"../../gov-button/default/gov-button.types\"\nimport Fragment from \"../../../helpers/Fragment\"\nimport { validateWcagProp } from \"../../../helpers/Validate/wcag\"\nimport { canValidateWcagOnRender } from \"../../../helpers/Dom/win\"\nimport { delay } from \"../../../utils/utils\"\n\n@Component({\n\ttag: \"gov-infobar\",\n\tstyleUrl: \"gov-infobar.scss\",\n})\nexport class GovInfobar {\n\tprivate h: GovHost\n\n\tconstructor() {\n\t\tthis.h = govHost(this.host)\n\t}\n\n\t@Element() host: HTMLGovInfobarElement\n\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly headline: string\n\t/**\n\t * Style variation of the button.\n\t */\n\t@Prop() readonly variant: VariantType = \"primary\"\n\t/**\n\t * Determine if component should have inverse colors to be used on dark background\n\t */\n\t@Prop() readonly inverse: boolean = false\n\t/**\n\t * Aria label for the closing button. It is mandatory if the infobar is closable\n\t */\n\t@Prop({ attribute: \"wcag-close-label\" }) readonly wcagCloseLabel: string\n\t/**\n\t * Aria label for the toggle button. It is mandatory if the infobar has headline\n\t */\n\t@Prop({ attribute: \"wcag-toggle-label\" }) readonly wcagToggleLabel: string\n\t/**\n\t * Called when the close button is clicked\n\t */\n\t@Event({ eventName: \"gov-close\" }) govClose: EventEmitter<InfobarEvent>\n\t/**\n\t * Displays the option to close the infobar\n\t */\n\t@Prop() readonly closable?: boolean = false\n\n\t@State() toggleContent = false\n\n\t@Watch(\"variant\")\n\tvalidateVariant(newValue: string): void {\n\t\tvalidateProp(InfobarVariants, newValue, InfobarClass.root)\n\t}\n\n\tcomponentWillLoad(): void {\n\t\tthis.validateVariant(this.variant)\n\t}\n\n\tasync componentDidRender() {\n\t\tif (canValidateWcagOnRender()) {\n\t\t\tawait delay(500)\n\t\t\tawait this.validateWcag()\n\t\t}\n\t}\n\n\trender() {\n\t\tlet inverse = !this.inverse\n\t\tlet variant = this.inverse ? \"secondary\" : this.variant\n\n\t\tif (this.variant == \"warning\") {\n\t\t\tinverse = false\n\t\t\tvariant = \"secondary\"\n\t\t}\n\n\t\tconst closeButton = (\n\t\t\t<div class={InfobarClass.close}>\n\t\t\t\t<gov-button\n\t\t\t\t\tsize=\"s\"\n\t\t\t\t\taria-label={this.wcagCloseLabel}\n\t\t\t\t\ttype=\"base\"\n\t\t\t\t\tvariant={variant}\n\t\t\t\t\tinverse={inverse}\n\t\t\t\t\ton-gov-click={this.onCloseHandler.bind(this)}\n\t\t\t\t>\n\t\t\t\t\t<gov-icon name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</div>\n\t\t)\n\n\t\treturn (\n\t\t\t<Host class={this.h.classes(InfobarClass.root)} variant={this.variant}>\n\t\t\t\t<section class={InfobarClass.section} role=\"infobar\">\n\t\t\t\t\t{this.h.hasSlot(\"icon\") && (\n\t\t\t\t\t\t<div class={InfobarClass.icon}>\n\t\t\t\t\t\t\t<slot name=\"icon\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t\t<div class={InfobarClass.content}>\n\t\t\t\t\t\t{this.headline ? (\n\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t<div class={InfobarClass.headline}>\n\t\t\t\t\t\t\t\t\t<p>{this.headline}</p>\n\t\t\t\t\t\t\t\t\t<gov-button\n\t\t\t\t\t\t\t\t\t\tsize=\"s\"\n\t\t\t\t\t\t\t\t\t\taria-label={this.wcagToggleLabel}\n\t\t\t\t\t\t\t\t\t\ttype=\"base\"\n\t\t\t\t\t\t\t\t\t\tvariant={variant}\n\t\t\t\t\t\t\t\t\t\tinverse={inverse}\n\t\t\t\t\t\t\t\t\t\ton-gov-click={() => this.toggleContent = !this.toggleContent}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<gov-icon name={this.toggleContent ? 'chevron-up' : 'chevron-down'}></gov-icon>\n\t\t\t\t\t\t\t\t\t</gov-button>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div hidden={!this.toggleContent} aria-hidden={toBoolAttr(this.toggleContent)}>\n\t\t\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</section>\n\t\t\t\t{this.closable && closeButton}\n\t\t\t</Host>\n\t\t)\n\t}\n\n\tonCloseHandler(e: CustomEvent<ButtonEvent>) {\n\t\tthis.govClose.emit({\n\t\t\tcomponent: InfobarClass.root,\n\t\t\tref: this.host,\n\t\t\toriginalEvent: e,\n\t\t})\n\t}\n\n\t/**\n\t * Validate the WCAG attributes of the component\n\t */\n\t@Method()\n\tasync validateWcag(): Promise<void> {\n\t\tif (this.closable) {\n\t\t\tvalidateWcagProp(this.wcagCloseLabel, 'wcag-close-label', InfobarClass.root)\n\t\t}\n\t\tif (this.headline) {\n\t\t\tvalidateWcagProp(this.wcagToggleLabel, 'wcag-toggle-label', InfobarClass.root)\n\t\t}\n\t}\n}\n"],"mappings":"qXAIO,MAAMA,EAAkBC,EAAKC,EAAU,CAAC,UAAW,YAAa,UAAW,QAAS,YAGpF,MAAMC,EAAe,CAC3BC,KAAM,cACNC,QAAS,uBACTC,KAAM,oBACNC,QAAS,uBACTC,SAAU,wBACVC,MAAO,sBCbR,MAAMC,EAAgB,+gO,MCgBTC,EAAU,MAGtB,WAAAC,CAAAC,G,mFAawC,U,aAIJ,M,2EAgBE,M,mBAEb,MAlCxBC,KAAKC,EAAIC,EAAQF,KAAKG,K,CAqCvB,eAAAC,CAAgBC,GACfC,EAAapB,EAAiBmB,EAAUhB,EAAaC,K,CAGtD,iBAAAiB,GACCP,KAAKI,gBAAgBJ,KAAKQ,Q,CAG3B,wBAAMC,GACL,GAAIC,IAA2B,OACxBC,EAAM,WACNX,KAAKY,c,EAIb,MAAAC,GACC,IAAIC,GAAWd,KAAKc,QACpB,IAAIN,EAAUR,KAAKc,QAAU,YAAcd,KAAKQ,QAEhD,GAAIR,KAAKQ,SAAW,UAAW,CAC9BM,EAAU,MACVN,EAAU,W,CAGX,MAAMO,EACLd,EAAA,OAAKe,MAAO3B,EAAaM,OACxBM,EAAA,cACCgB,KAAK,IAAG,aACIjB,KAAKkB,eACjBC,KAAK,OACLX,QAASA,EACTM,QAASA,EAAO,eACFd,KAAKoB,eAAeC,KAAKrB,OAEvCC,EAAA,YAAUqB,KAAK,WAKlB,OACCrB,EAACsB,EAAI,CAACP,MAAOhB,KAAKC,EAAEuB,QAAQnC,EAAaC,MAAOkB,QAASR,KAAKQ,SAC7DP,EAAA,WAASe,MAAO3B,EAAaE,QAASkC,KAAK,WACzCzB,KAAKC,EAAEyB,QAAQ,SACfzB,EAAA,OAAKe,MAAO3B,EAAaG,MACxBS,EAAA,QAAMqB,KAAK,UAGbrB,EAAA,OAAKe,MAAO3B,EAAaI,SACvBO,KAAKN,SACLO,EAAC0B,EAAQ,KACR1B,EAAA,OAAKe,MAAO3B,EAAaK,UACxBO,EAAA,SAAID,KAAKN,UACTO,EAAA,cACCgB,KAAK,IAAG,aACIjB,KAAK4B,gBACjBT,KAAK,OACLX,QAASA,EACTM,QAASA,EAAO,eACF,IAAMd,KAAK6B,eAAiB7B,KAAK6B,eAE/C5B,EAAA,YAAUqB,KAAMtB,KAAK6B,cAAgB,aAAe,mBAGtD5B,EAAA,OAAK6B,QAAS9B,KAAK6B,cAAa,cAAeE,EAAW/B,KAAK6B,gBAC9D5B,EAAA,eAIFA,EAAA,eAIFD,KAAKgC,UAAYjB,E,CAKrB,cAAAK,CAAea,GACdjC,KAAKkC,SAASC,KAAK,CAClBC,UAAW/C,EAAaC,KACxB+C,IAAKrC,KAAKG,KACVmC,cAAeL,G,CAQjB,kBAAMrB,GACL,GAAIZ,KAAKgC,SAAU,CAClBO,EAAiBvC,KAAKkB,eAAgB,mBAAoB7B,EAAaC,K,CAExE,GAAIU,KAAKN,SAAU,CAClB6C,EAAiBvC,KAAK4B,gBAAiB,oBAAqBvC,EAAaC,K"}
@@ -1,2 +1,2 @@
1
- import{r as o,c as a,h as r,H as e,g as i}from"./p-10cbc3fe.js";import{g as d,b as t}from"./p-3f37ddb6.js";import{c}from"./p-24636c53.js";import{a as s}from"./p-561fa17b.js";import{v as n}from"./p-ae894a40.js";import{c as l}from"./p-cac3881f.js";import{d as g}from"./p-03990da5.js";const v={root:"gov-card",header:"gov-card__header",title:"gov-card__title",inner:"gov-card__inner",img:"gov-card__img",main:"gov-card__main",content:"gov-card__content",icon:"gov-card__icon",btns:"gov-card__btns",footer:"gov-card__footer",arrow:"gov-card__arrow"};const h='.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-card{position:relative;display:flex;width:100%;flex-direction:column;border:var(--gov-card-border-width, 0.0625rem solid var(--gov-color-secondary-500));border-radius:var(--gov-border-radius, 0.1875rem);background:var(--gov-card-bg, var(--gov-color-neutral-white));overflow:hidden}.gov-card__header{gap:1.75rem;width:100%;padding:1.5rem;border-bottom:var(--gov-card-border-width, 0.0625rem solid var(--gov-color-secondary-500));border-radius:0;text-align:left;text-transform:none;transition:background-color 150ms ease-in-out}.gov-card__arrow{flex:0 0 auto;width:1rem;height:1rem;color:var(--gov-card-arrow-color, var(--gov-color-primary))}.gov-card__title{margin:0;padding:0;font-family:var(--gov-font-family, "Roboto", sans-serif);font-weight:400;box-sizing:border-box;font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);color:var(--gov-card-title-color, var(--gov-color-secondary-800));font-weight:700}.gov-card__img{width:100%;margin:0;line-height:1}.gov-card__img img{width:100%;height:auto}.gov-card__inner{display:flex;flex:1 1 auto;flex-direction:column}.gov-card__inner[aria-hidden=""],.gov-card__inner[aria-hidden=true i],.gov-card__inner[aria-hidden="1"]{display:none}.gov-card__main{display:flex;gap:16px 24px;flex:1 1 auto;flex-direction:column;padding:1.5rem}.gov-card__icon{flex:0 0 auto;width:2.5rem;height:2.5rem;color:var(--gov-card-icon-color, var(--gov-color-primary))}.gov-card__btns{display:flex;gap:1rem;flex:0 0 auto;flex-wrap:wrap}.gov-card__content>*:last-child{margin-bottom:0}.gov-card__footer{padding:1rem 1.5rem;background:var(--gov-card-footer-bg, var(--gov-color-primary-100))}.gov-card__footer>*:last-child{margin-bottom:0}.gov-card__footer p{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing)}.gov-card[is-expanded=""],.gov-card[is-expanded=true i],.gov-card[is-expanded="1"]{height:100%}.gov-card[collapsible=""] .gov-card__header,.gov-card[collapsible=true i] .gov-card__header,.gov-card[collapsible="1"] .gov-card__header{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border:0;background-color:transparent;text-align:center;text-decoration:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;justify-content:space-between;text-align:left}.gov-card[collapsible=""] .gov-card__header:focus,.gov-card[collapsible=true i] .gov-card__header:focus,.gov-card[collapsible="1"] .gov-card__header:focus{outline:none}.gov-card[collapsible=""] .gov-card__header:focus,.gov-card[collapsible=true i] .gov-card__header:focus,.gov-card[collapsible="1"] .gov-card__header:focus{outline:none}.gov-card[collapsible=""] .gov-card__header:focus-visible,.gov-card[collapsible=true i] .gov-card__header:focus-visible,.gov-card[collapsible="1"] .gov-card__header:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:-0.125rem}@media not all and (pointer: coarse){.gov-card[collapsible=""] .gov-card__header:hover,.gov-card[collapsible=true i] .gov-card__header:hover,.gov-card[collapsible="1"] .gov-card__header:hover{background:var(--gov-card-header-hover-bg, var(--gov-color-primary-100))}}.gov-card[collapsible=""][is-expanded=""] .gov-card__header,.gov-card[collapsible=""][is-expanded=true i] .gov-card__header,.gov-card[collapsible=""][is-expanded="1"] .gov-card__header,.gov-card[collapsible=true i][is-expanded=""] .gov-card__header,.gov-card[collapsible=true i][is-expanded=true i] .gov-card__header,.gov-card[collapsible=true i][is-expanded="1"] .gov-card__header,.gov-card[collapsible="1"][is-expanded=""] .gov-card__header,.gov-card[collapsible="1"][is-expanded=true i] .gov-card__header,.gov-card[collapsible="1"][is-expanded="1"] .gov-card__header{border-bottom:var(--gov-card-border-width, 0.0625rem solid var(--gov-color-secondary-500))}.gov-card[collapsible=""][is-expanded=""] .gov-card__arrow,.gov-card[collapsible=""][is-expanded=true i] .gov-card__arrow,.gov-card[collapsible=""][is-expanded="1"] .gov-card__arrow,.gov-card[collapsible=true i][is-expanded=""] .gov-card__arrow,.gov-card[collapsible=true i][is-expanded=true i] .gov-card__arrow,.gov-card[collapsible=true i][is-expanded="1"] .gov-card__arrow,.gov-card[collapsible="1"][is-expanded=""] .gov-card__arrow,.gov-card[collapsible="1"][is-expanded=true i] .gov-card__arrow,.gov-card[collapsible="1"][is-expanded="1"] .gov-card__arrow{transform:scale(-1)}@media (min-width: 30em){.gov-card[promotion=""] .gov-card__main,.gov-card[promotion=true i] .gov-card__main,.gov-card[promotion="1"] .gov-card__main{flex-direction:row;padding:2rem}.gov-card[promotion=""] .gov-card__icon,.gov-card[promotion=true i] .gov-card__icon,.gov-card[promotion="1"] .gov-card__icon{width:3rem;height:3rem}.gov-card[promotion=""] .gov-card__btns,.gov-card[promotion=true i] .gov-card__btns,.gov-card[promotion="1"] .gov-card__btns{flex-direction:column}}';const p=class{constructor(r){o(this,r);this.govToggle=a(this,"gov-toggle",7);this.promotion=false;this.label=undefined;this.collapsible=false;this.expanded=false;this.headlineTag="h3";this.wcagTriggerLabel=undefined;this.wcagTriggerLabelledBy=undefined;this.isExpanded=undefined;this.h=d(this.host);this.headlineId=c("GovCardHeadline");this.contentId=c("GovCardContent")}validateHeadlineTag(o){const a=["h1","h2","h3","h4","h5","h6","span"];if(o){if(!a.includes(o)){s(`[${v.root}]: Tag ${o} is not allowed.`)}}}componentWillLoad(){this.isExpanded=this.label?this.expanded:true;this.validateHeadlineTag(this.headlineTag)}async componentDidRender(){if(l()){await g(500);await this.validateWcag()}}emmitChange(){this.govToggle.emit({open:this.isExpanded,element:this.host})}render(){const o=this.headlineTag;return r(e,{class:this.h.classes(v.root),"is-expanded":this.isExpanded,collapsible:t(this.collapsible),promotion:this.promotion},this.label&&this.collapsible?r("button",{id:this.headlineId,class:v.header,"aria-label":this.wcagTriggerLabel,"aria-labelledby":this.wcagTriggerLabelledBy,"aria-expanded":t(this.isExpanded),"aria-controls":this.contentId,onClick:this.onClickHandler.bind(this)},r(o,{class:v.title},this.label),r("gov-icon",{class:v.arrow,name:"chevron-down"})):null,this.label&&!this.collapsible?r("div",{class:v.header},r(o,{class:v.title},this.label)):null,r("div",{class:v.inner,id:this.contentId,"aria-hidden":this.collapsible?t(!this.isExpanded):undefined,hidden:this.collapsible?!this.isExpanded:undefined,"aria-labelledby":this.collapsible?this.headlineId:undefined},this.h.hasSlot("img")&&r("p",{class:v.img},r("slot",{name:"img"})),r("div",{class:v.main},this.h.hasSlot("icon")&&this.promotion&&r("div",{class:v.icon},r("slot",{name:"icon"})),r("div",{class:v.content},r("slot",null)),this.h.hasSlot("btn")&&this.promotion&&r("div",{class:v.btns},r("slot",{name:"btn"}))),this.h.hasSlot("footer")&&r("div",{class:v.footer},r("slot",{name:"footer"}))))}onClickHandler(o){o.stopPropagation();if(this.collapsible){this.isExpanded=!this.isExpanded;this.emmitChange()}}async open(){if(this.collapsible){this.isExpanded=true;this.emmitChange()}}async close(){if(this.collapsible){this.isExpanded=false;this.emmitChange()}}async validateWcag(){if(this.collapsible){n(this.wcagTriggerLabel,this.wcagTriggerLabelledBy,v.root)}}get host(){return i(this)}static get watchers(){return{headlineTag:["validateHeadlineTag"]}}};p.style=h;export{p as gov_card};
2
- //# sourceMappingURL=p-3d0ab343.entry.js.map
1
+ import{r as o,c as a,h as r,H as e,g as i}from"./p-10cbc3fe.js";import{g as d,b as t}from"./p-3f37ddb6.js";import{c}from"./p-24636c53.js";import{a as s}from"./p-561fa17b.js";import{v as n}from"./p-570ef4e5.js";import{c as l}from"./p-cac3881f.js";import{d as g}from"./p-03990da5.js";const v={root:"gov-card",header:"gov-card__header",title:"gov-card__title",inner:"gov-card__inner",img:"gov-card__img",main:"gov-card__main",content:"gov-card__content",icon:"gov-card__icon",btns:"gov-card__btns",footer:"gov-card__footer",arrow:"gov-card__arrow"};const h='.gov-spin-animation,.gov-pseudo-spin-animation::before{animation:spin 4s linear infinite}@keyframes spin{100%{transform:rotate(360deg)}}@keyframes countdown{to{transform:scaleX(0)}}@keyframes progress{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}.gov-card{position:relative;display:flex;width:100%;flex-direction:column;border:var(--gov-card-border-width, 0.0625rem solid var(--gov-color-secondary-500));border-radius:var(--gov-border-radius, 0.1875rem);background:var(--gov-card-bg, var(--gov-color-neutral-white));overflow:hidden}.gov-card__header{gap:1.75rem;width:100%;padding:1.5rem;border-bottom:var(--gov-card-border-width, 0.0625rem solid var(--gov-color-secondary-500));border-radius:0;text-align:left;text-transform:none;transition:background-color 150ms ease-in-out}.gov-card__arrow{flex:0 0 auto;width:1rem;height:1rem;color:var(--gov-card-arrow-color, var(--gov-color-primary))}.gov-card__title{margin:0;padding:0;font-family:var(--gov-font-family, "Roboto", sans-serif);font-weight:400;box-sizing:border-box;font-weight:var(--gov-text-xl-font-weight);font-size:var(--gov-text-xl-font-size);line-height:var(--gov-text-xl-line-height);letter-spacing:var(--gov-text-xl-letter-spacing);color:var(--gov-card-title-color, var(--gov-color-secondary-800));font-weight:700}.gov-card__img{width:100%;margin:0;line-height:1}.gov-card__img img{width:100%;height:auto}.gov-card__inner{display:flex;flex:1 1 auto;flex-direction:column}.gov-card__inner[aria-hidden=""],.gov-card__inner[aria-hidden=true i],.gov-card__inner[aria-hidden="1"]{display:none}.gov-card__main{display:flex;gap:16px 24px;flex:1 1 auto;flex-direction:column;padding:1.5rem}.gov-card__icon{flex:0 0 auto;width:2.5rem;height:2.5rem;color:var(--gov-card-icon-color, var(--gov-color-primary))}.gov-card__btns{display:flex;gap:1rem;flex:0 0 auto;flex-wrap:wrap}.gov-card__content>*:last-child{margin-bottom:0}.gov-card__footer{padding:1rem 1.5rem;background:var(--gov-card-footer-bg, var(--gov-color-primary-100))}.gov-card__footer>*:last-child{margin-bottom:0}.gov-card__footer p{font-weight:var(--gov-text-s-font-weight);font-size:var(--gov-text-s-font-size);line-height:var(--gov-text-s-line-height);letter-spacing:var(--gov-text-s-letter-spacing)}.gov-card[is-expanded=""],.gov-card[is-expanded=true i],.gov-card[is-expanded="1"]{height:100%}.gov-card[collapsible=""] .gov-card__header,.gov-card[collapsible=true i] .gov-card__header,.gov-card[collapsible="1"] .gov-card__header{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border:0;background-color:transparent;text-align:center;text-decoration:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;justify-content:space-between;text-align:left}.gov-card[collapsible=""] .gov-card__header:focus,.gov-card[collapsible=true i] .gov-card__header:focus,.gov-card[collapsible="1"] .gov-card__header:focus{outline:none}.gov-card[collapsible=""] .gov-card__header:focus,.gov-card[collapsible=true i] .gov-card__header:focus,.gov-card[collapsible="1"] .gov-card__header:focus{outline:none}.gov-card[collapsible=""] .gov-card__header:focus-visible,.gov-card[collapsible=true i] .gov-card__header:focus-visible,.gov-card[collapsible="1"] .gov-card__header:focus-visible{border-radius:var(--gov-border-radius, 0.1875rem);outline:var(--gov-outline-width, 0.125rem) solid var(--gov-color-focus-base);outline-offset:-0.125rem}@media not all and (pointer: coarse){.gov-card[collapsible=""] .gov-card__header:hover,.gov-card[collapsible=true i] .gov-card__header:hover,.gov-card[collapsible="1"] .gov-card__header:hover{background:var(--gov-card-header-hover-bg, var(--gov-color-primary-100))}}.gov-card[collapsible=""][is-expanded=""] .gov-card__header,.gov-card[collapsible=""][is-expanded=true i] .gov-card__header,.gov-card[collapsible=""][is-expanded="1"] .gov-card__header,.gov-card[collapsible=true i][is-expanded=""] .gov-card__header,.gov-card[collapsible=true i][is-expanded=true i] .gov-card__header,.gov-card[collapsible=true i][is-expanded="1"] .gov-card__header,.gov-card[collapsible="1"][is-expanded=""] .gov-card__header,.gov-card[collapsible="1"][is-expanded=true i] .gov-card__header,.gov-card[collapsible="1"][is-expanded="1"] .gov-card__header{border-bottom:var(--gov-card-border-width, 0.0625rem solid var(--gov-color-secondary-500))}.gov-card[collapsible=""][is-expanded=""] .gov-card__arrow,.gov-card[collapsible=""][is-expanded=true i] .gov-card__arrow,.gov-card[collapsible=""][is-expanded="1"] .gov-card__arrow,.gov-card[collapsible=true i][is-expanded=""] .gov-card__arrow,.gov-card[collapsible=true i][is-expanded=true i] .gov-card__arrow,.gov-card[collapsible=true i][is-expanded="1"] .gov-card__arrow,.gov-card[collapsible="1"][is-expanded=""] .gov-card__arrow,.gov-card[collapsible="1"][is-expanded=true i] .gov-card__arrow,.gov-card[collapsible="1"][is-expanded="1"] .gov-card__arrow{transform:scale(-1)}@media (min-width: 30em){.gov-card[promotion=""] .gov-card__main,.gov-card[promotion=true i] .gov-card__main,.gov-card[promotion="1"] .gov-card__main{flex-direction:row;padding:2rem}.gov-card[promotion=""] .gov-card__icon,.gov-card[promotion=true i] .gov-card__icon,.gov-card[promotion="1"] .gov-card__icon{width:3rem;height:3rem}.gov-card[promotion=""] .gov-card__btns,.gov-card[promotion=true i] .gov-card__btns,.gov-card[promotion="1"] .gov-card__btns{flex-direction:column}}';const p=class{constructor(r){o(this,r);this.govToggle=a(this,"gov-toggle",7);this.promotion=false;this.label=undefined;this.collapsible=false;this.expanded=false;this.headlineTag="h3";this.wcagTriggerLabel=undefined;this.wcagTriggerLabelledBy=undefined;this.isExpanded=undefined;this.h=d(this.host);this.headlineId=c("GovCardHeadline");this.contentId=c("GovCardContent")}validateHeadlineTag(o){const a=["h1","h2","h3","h4","h5","h6","span"];if(o){if(!a.includes(o)){s(`[${v.root}]: Tag ${o} is not allowed.`)}}}componentWillLoad(){this.isExpanded=this.label?this.expanded:true;this.validateHeadlineTag(this.headlineTag)}async componentDidRender(){if(l()){await g(500);await this.validateWcag()}}emmitChange(){this.govToggle.emit({open:this.isExpanded,element:this.host})}render(){const o=this.headlineTag;return r(e,{class:this.h.classes(v.root),"is-expanded":this.isExpanded,collapsible:t(this.collapsible),promotion:this.promotion},this.label&&this.collapsible?r("button",{id:this.headlineId,class:v.header,"aria-label":this.wcagTriggerLabel,"aria-labelledby":this.wcagTriggerLabelledBy,"aria-expanded":t(this.isExpanded),"aria-controls":this.contentId,onClick:this.onClickHandler.bind(this)},r(o,{class:v.title},this.label),r("gov-icon",{class:v.arrow,name:"chevron-down"})):null,this.label&&!this.collapsible?r("div",{class:v.header},r(o,{class:v.title},this.label)):null,r("div",{class:v.inner,id:this.contentId,"aria-hidden":this.collapsible?t(!this.isExpanded):undefined,hidden:this.collapsible?!this.isExpanded:undefined,"aria-labelledby":this.collapsible?this.headlineId:undefined},this.h.hasSlot("img")&&r("p",{class:v.img},r("slot",{name:"img"})),r("div",{class:v.main},this.h.hasSlot("icon")&&this.promotion&&r("div",{class:v.icon},r("slot",{name:"icon"})),r("div",{class:v.content},r("slot",null)),this.h.hasSlot("btn")&&this.promotion&&r("div",{class:v.btns},r("slot",{name:"btn"}))),this.h.hasSlot("footer")&&r("div",{class:v.footer},r("slot",{name:"footer"}))))}onClickHandler(o){o.stopPropagation();if(this.collapsible){this.isExpanded=!this.isExpanded;this.emmitChange()}}async open(){if(this.collapsible){this.isExpanded=true;this.emmitChange()}}async close(){if(this.collapsible){this.isExpanded=false;this.emmitChange()}}async validateWcag(){if(this.collapsible){n(this.wcagTriggerLabel,this.wcagTriggerLabelledBy,v.root)}}get host(){return i(this)}static get watchers(){return{headlineTag:["validateHeadlineTag"]}}};p.style=h;export{p as gov_card};
2
+ //# sourceMappingURL=p-0c57e410.entry.js.map