@department-of-veterans-affairs/component-library 54.4.1 → 54.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/Modal.js +1 -1
  2. package/Modal.unit.spec.js +1 -1
  3. package/contacts.js +1 -1
  4. package/dist/1214.app.bundle.js +1 -1
  5. package/dist/1339.app.bundle.js +1 -1
  6. package/dist/1351.app.bundle.js +1 -1
  7. package/dist/1450.app.bundle.js +1 -1
  8. package/dist/2222.app.bundle.js +1 -1
  9. package/dist/2387.app.bundle.js +1 -1
  10. package/dist/2654.app.bundle.js +1 -1
  11. package/dist/2664.app.bundle.js +1 -1
  12. package/dist/2801.app.bundle.js +1 -1
  13. package/dist/2858.app.bundle.js +1 -1
  14. package/dist/3071.app.bundle.js +1 -1
  15. package/dist/3126.app.bundle.js +1 -1
  16. package/dist/3156.app.bundle.js +1 -1
  17. package/dist/4064.app.bundle.js +1 -1
  18. package/dist/4117.app.bundle.js +1 -1
  19. package/dist/4140.app.bundle.js +1 -1
  20. package/dist/4708.app.bundle.js +1 -1
  21. package/dist/4715.app.bundle.js +1 -1
  22. package/dist/5019.app.bundle.js +1 -1
  23. package/dist/5155.app.bundle.js +1 -1
  24. package/dist/5189.app.bundle.js +1 -1
  25. package/dist/5306.app.bundle.js +1 -1
  26. package/dist/5610.app.bundle.js +1 -1
  27. package/dist/5699.app.bundle.js +1 -1
  28. package/dist/5830.app.bundle.js +1 -1
  29. package/dist/6034.app.bundle.js +1 -1
  30. package/dist/6246.app.bundle.js +1 -1
  31. package/dist/6247.app.bundle.js +1 -1
  32. package/dist/6349.app.bundle.js +1 -1
  33. package/dist/641.app.bundle.js +1 -1
  34. package/dist/6527.app.bundle.js +1 -1
  35. package/dist/6633.app.bundle.js +1 -1
  36. package/dist/6655.app.bundle.js +1 -1
  37. package/dist/6683.app.bundle.js +1 -1
  38. package/dist/6771.app.bundle.js +1 -1
  39. package/dist/712.app.bundle.js +1 -1
  40. package/dist/7367.app.bundle.js +1 -1
  41. package/dist/7531.app.bundle.js +1 -1
  42. package/dist/7663.app.bundle.js +1 -1
  43. package/dist/7814.app.bundle.js +1 -1
  44. package/dist/7821.app.bundle.js +1 -1
  45. package/dist/8175.app.bundle.js +1 -1
  46. package/dist/82.app.bundle.js +1 -1
  47. package/dist/8206.app.bundle.js +1 -1
  48. package/dist/8495.app.bundle.js +1 -1
  49. package/dist/8735.app.bundle.js +1 -1
  50. package/dist/8762.app.bundle.js +1 -1
  51. package/dist/8859.app.bundle.js +1 -1
  52. package/dist/890.app.bundle.js +1 -1
  53. package/dist/9288.app.bundle.js +1 -1
  54. package/dist/9463.app.bundle.js +1 -1
  55. package/dist/9670.app.bundle.js +1 -1
  56. package/dist/9724.app.bundle.js +1 -1
  57. package/dist/9755.app.bundle.js +1 -1
  58. package/dist/9794.app.bundle.js +1 -1
  59. package/dist/9800.app.bundle.js +1 -1
  60. package/dist/9915.app.bundle.js +1 -1
  61. package/dist/9966.app.bundle.js +1 -1
  62. package/dist/app.bundle.js +1 -1
  63. package/dist/components/index.js +1 -1
  64. package/dist/components/p-169f3a43.js +1 -0
  65. package/dist/components/p-1cee576c.js +1 -0
  66. package/dist/components/p-2f76f321.js +1 -0
  67. package/dist/components/p-3269359a.js +1 -0
  68. package/dist/components/p-336ee68e.js +1 -0
  69. package/dist/components/p-44ff6df8.js +1 -0
  70. package/dist/components/p-4898e7aa.js +1 -0
  71. package/dist/components/p-63e66cce.js +1 -0
  72. package/dist/components/p-6a3cf3d7.js +1 -0
  73. package/dist/components/p-7216b018.js +1 -0
  74. package/dist/components/p-79aa9cf3.js +1 -0
  75. package/dist/components/p-7a223b44.js +1 -0
  76. package/dist/components/p-83458742.js +1 -0
  77. package/dist/components/p-8979a1dd.js +1 -0
  78. package/dist/components/p-8dd39312.js +1 -0
  79. package/dist/components/p-8fcb4dfa.js +1 -0
  80. package/dist/components/p-9240a389.js +1 -0
  81. package/dist/components/p-93249001.js +1 -0
  82. package/dist/components/p-9cd6282d.js +1 -0
  83. package/dist/components/{index2.js → p-a5dce9e6.js} +1 -1
  84. package/dist/components/p-a836c3e1.js +1 -0
  85. package/dist/components/{parsePhoneNumber_.js → p-b276cef8.js} +1 -1
  86. package/dist/components/p-bea05aab.js +1 -0
  87. package/dist/components/p-c872b7c8.js +1 -0
  88. package/dist/components/p-d4f5e756.js +1 -0
  89. package/dist/components/p-d910987e.js +1 -0
  90. package/dist/components/p-ddb87324.js +20 -0
  91. package/dist/components/p-ef5c0d66.js +1 -0
  92. package/dist/components/p-f78db65e.js +1 -0
  93. package/dist/components/types/components.d.ts +18 -2
  94. package/dist/components/types/index.d.ts +2 -0
  95. package/dist/components/va-accordion-item.js +1 -1
  96. package/dist/components/va-accordion.js +1 -1
  97. package/dist/components/va-additional-info.js +1 -1
  98. package/dist/components/va-alert-expandable.js +1 -1
  99. package/dist/components/va-alert-sign-in.js +1 -1
  100. package/dist/components/va-alert.js +1 -1
  101. package/dist/components/va-back-to-top.js +1 -1
  102. package/dist/components/va-banner.js +1 -1
  103. package/dist/components/va-breadcrumbs.js +1 -1
  104. package/dist/components/va-button-icon.js +1 -1
  105. package/dist/components/va-button-pair.js +1 -1
  106. package/dist/components/va-button-segmented.js +1 -1
  107. package/dist/components/va-button.js +1 -1
  108. package/dist/components/va-card.js +1 -1
  109. package/dist/components/va-checkbox-group.js +1 -1
  110. package/dist/components/va-checkbox.js +1 -1
  111. package/dist/components/va-combo-box.js +1 -1
  112. package/dist/components/va-crisis-line-modal.js +1 -1
  113. package/dist/components/va-critical-action.js +1 -1
  114. package/dist/components/va-date.js +1 -1
  115. package/dist/components/va-file-input-multiple.js +1 -1
  116. package/dist/components/va-file-input.js +1 -1
  117. package/dist/components/va-header-minimal.js +1 -1
  118. package/dist/components/va-icon.js +1 -1
  119. package/dist/components/va-language-toggle.js +1 -1
  120. package/dist/components/va-link-action.js +1 -1
  121. package/dist/components/va-link.js +1 -1
  122. package/dist/components/va-loading-indicator.js +1 -1
  123. package/dist/components/va-maintenance-banner.js +1 -1
  124. package/dist/components/va-memorable-date.js +1 -1
  125. package/dist/components/va-minimal-footer.js +1 -1
  126. package/dist/components/va-modal.js +1 -1
  127. package/dist/components/va-need-help.js +1 -1
  128. package/dist/components/va-notification.js +1 -1
  129. package/dist/components/va-official-gov-banner.js +1 -1
  130. package/dist/components/va-omb-info.js +1 -1
  131. package/dist/components/va-on-this-page.js +1 -1
  132. package/dist/components/va-pagination.js +1 -1
  133. package/dist/components/va-privacy-agreement.js +1 -1
  134. package/dist/components/va-process-list-item.js +1 -1
  135. package/dist/components/va-process-list.js +1 -1
  136. package/dist/components/va-progress-bar.js +1 -1
  137. package/dist/components/va-promo-banner.js +1 -1
  138. package/dist/components/va-radio-option.js +1 -1
  139. package/dist/components/va-radio.js +1 -1
  140. package/dist/components/va-search-filter.js +1 -1
  141. package/dist/components/va-search-input.js +1 -1
  142. package/dist/components/va-segmented-progress-bar.js +1 -1
  143. package/dist/components/va-select.js +1 -1
  144. package/dist/components/va-service-list-item.js +1 -1
  145. package/dist/components/va-sidenav-item.js +1 -1
  146. package/dist/components/va-sidenav-submenu.js +1 -1
  147. package/dist/components/va-sidenav.js +1 -1
  148. package/dist/components/va-statement-of-truth.js +1 -1
  149. package/dist/components/va-summary-box.js +1 -1
  150. package/dist/components/va-tab-item.js +1 -1
  151. package/dist/components/va-tab-panel.js +1 -1
  152. package/dist/components/va-table-inner.js +1 -1
  153. package/dist/components/va-table-row.js +1 -1
  154. package/dist/components/va-table.js +1 -1
  155. package/dist/components/va-tabs.js +1 -1
  156. package/dist/components/va-tag-status.js +1 -1
  157. package/dist/components/va-telephone-input.js +1 -1
  158. package/dist/components/va-telephone.js +1 -1
  159. package/dist/components/va-text-input.js +1 -1
  160. package/dist/components/va-textarea.js +1 -1
  161. package/dist/react-bindings/components.d.ts +336 -0
  162. package/dist/react-bindings/components.js +1 -0
  163. package/dist/react-bindings/components.js.map +1 -0
  164. package/dist/react-bindings/components.ts +961 -0
  165. package/dist/react-bindings/index.d.ts +6 -67
  166. package/dist/react-bindings/index.js +1 -1
  167. package/dist/react-bindings/index.js.map +1 -1
  168. package/dist/react-bindings/index.ts +6 -75
  169. package/format-date.js +1 -1
  170. package/format-date.unit.spec.js +1 -1
  171. package/package.json +4 -3
  172. package/test-helpers.js +1 -1
  173. package/utilities.unit.spec.js +1 -1
  174. package/validations.js +1 -1
  175. package/dist/components/contacts.js +0 -1
  176. package/dist/components/date-utils.js +0 -1
  177. package/dist/components/i18next.js +0 -1
  178. package/dist/components/utils.js +0 -1
  179. package/dist/components/va-accordion-item2.js +0 -1
  180. package/dist/components/va-accordion2.js +0 -1
  181. package/dist/components/va-alert2.js +0 -1
  182. package/dist/components/va-button-icon2.js +0 -1
  183. package/dist/components/va-button2.js +0 -1
  184. package/dist/components/va-card2.js +0 -1
  185. package/dist/components/va-checkbox-group2.js +0 -1
  186. package/dist/components/va-checkbox2.js +0 -1
  187. package/dist/components/va-combo-box2.js +0 -20
  188. package/dist/components/va-crisis-line-modal2.js +0 -1
  189. package/dist/components/va-critical-action2.js +0 -1
  190. package/dist/components/va-file-input2.js +0 -1
  191. package/dist/components/va-icon2.js +0 -1
  192. package/dist/components/va-link2.js +0 -1
  193. package/dist/components/va-modal2.js +0 -1
  194. package/dist/components/va-official-gov-banner2.js +0 -1
  195. package/dist/components/va-progress-bar2.js +0 -1
  196. package/dist/components/va-select2.js +0 -1
  197. package/dist/components/va-table-inner2.js +0 -1
  198. package/dist/components/va-telephone2.js +0 -1
  199. package/dist/components/va-text-input2.js +0 -1
  200. package/dist/react-bindings/react-component-lib/createComponent.d.ts +0 -10
  201. package/dist/react-bindings/react-component-lib/createComponent.js +0 -1
  202. package/dist/react-bindings/react-component-lib/createComponent.js.map +0 -1
  203. package/dist/react-bindings/react-component-lib/createComponent.tsx +0 -106
  204. package/dist/react-bindings/react-component-lib/createOverlayComponent.d.ts +0 -21
  205. package/dist/react-bindings/react-component-lib/createOverlayComponent.js +0 -1
  206. package/dist/react-bindings/react-component-lib/createOverlayComponent.js.map +0 -1
  207. package/dist/react-bindings/react-component-lib/createOverlayComponent.tsx +0 -142
  208. package/dist/react-bindings/react-component-lib/index.d.ts +0 -2
  209. package/dist/react-bindings/react-component-lib/index.js +0 -1
  210. package/dist/react-bindings/react-component-lib/index.js.map +0 -1
  211. package/dist/react-bindings/react-component-lib/index.ts +0 -2
  212. package/dist/react-bindings/react-component-lib/interfaces.d.ts +0 -29
  213. package/dist/react-bindings/react-component-lib/interfaces.js +0 -1
  214. package/dist/react-bindings/react-component-lib/interfaces.js.map +0 -1
  215. package/dist/react-bindings/react-component-lib/interfaces.ts +0 -34
  216. package/dist/react-bindings/react-component-lib/utils/attachProps.d.ts +0 -16
  217. package/dist/react-bindings/react-component-lib/utils/attachProps.js +0 -2
  218. package/dist/react-bindings/react-component-lib/utils/attachProps.js.LICENSE.txt +0 -4
  219. package/dist/react-bindings/react-component-lib/utils/attachProps.js.map +0 -1
  220. package/dist/react-bindings/react-component-lib/utils/attachProps.ts +0 -125
  221. package/dist/react-bindings/react-component-lib/utils/case.d.ts +0 -2
  222. package/dist/react-bindings/react-component-lib/utils/case.js +0 -1
  223. package/dist/react-bindings/react-component-lib/utils/case.js.map +0 -1
  224. package/dist/react-bindings/react-component-lib/utils/case.ts +0 -7
  225. package/dist/react-bindings/react-component-lib/utils/dev.d.ts +0 -2
  226. package/dist/react-bindings/react-component-lib/utils/dev.js +0 -1
  227. package/dist/react-bindings/react-component-lib/utils/dev.js.map +0 -1
  228. package/dist/react-bindings/react-component-lib/utils/dev.ts +0 -14
  229. package/dist/react-bindings/react-component-lib/utils/index.d.ts +0 -10
  230. package/dist/react-bindings/react-component-lib/utils/index.js +0 -1
  231. package/dist/react-bindings/react-component-lib/utils/index.js.map +0 -1
  232. package/dist/react-bindings/react-component-lib/utils/index.tsx +0 -50
  233. /package/dist/components/{index2.js.LICENSE.txt → p-a5dce9e6.js.LICENSE.txt} +0 -0
  234. /package/dist/components/{va-combo-box2.js.LICENSE.txt → p-ddb87324.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 2858.app.bundle.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2858,4164],{4164:function(e,t,r){r.r(t),r.d(t,{c:function(){return n}});var o,a={exports:{}};o=a,function(){var e={}.hasOwnProperty;function t(){for(var r=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var n=typeof a;if("string"===n||"number"===n)r.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&r.push(i)}}else if("object"===n)if(a.toString===Object.prototype.toString)for(var s in a)e.call(a,s)&&a[s]&&r.push(s);else r.push(a.toString())}}return r.join(" ")}o.exports?(t.default=t,o.exports=t):window.classNames=t}();var n=a.exports},2858:function(e,t,r){r.r(t),r.d(t,{va_tab_item:function(){return n}});var o=r(2625),a=r(4164),n=function(){function e(e){(0,o.r)(this,e),this.tabItemSelected=(0,o.c)(this,"tabItemSelected",7),this.tabItemKeyNavigated=(0,o.c)(this,"tabItemKeyNavigated",7),this.buttonText=void 0,this.targetId=void 0,this.selected=!1}return e.prototype.handleClick=function(e){e.preventDefault(),this.tabItemSelected.emit(e)},e.prototype.handleKeyDown=function(e){"ArrowLeft"===e.key||"ArrowRight"===e.key?(e.preventDefault(),this.tabItemKeyNavigated.emit(e)):"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.handleClick(new MouseEvent("click",{bubbles:!0,cancelable:!0})))},e.prototype.render=function(){var e=this,t=this,r=t.buttonText,n=t.targetId,i=t.selected,s=(0,a.c)({"va-tabs__tab_item":!0});return(0,o.h)(o.H,{key:"4bc83e092de4b77b228c5234c38ca74f410b15c0",role:"tab",class:s,"aria-selected":i?"true":"false","aria-controls":n,id:"".concat(n,"-tab"),ref:function(t){return e.buttonElement=t},tabIndex:i?0:-1,onClick:function(t){return e.handleClick(t)},onKeyDown:function(t){return e.handleKeyDown(t)},"data-label":r},r)},Object.defineProperty(e.prototype,"el",{get:function(){return(0,o.g)(this)},enumerable:!1,configurable:!0}),e}();n.style=':host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:transparent;color:var(--vads-color-primary);position:relative;padding:1rem;padding-bottom:calc(1rem - 4px);border:none;border-bottom:4px solid transparent;min-width:2.75rem;max-width:10rem;font-family:var(--font-source-sans);font-size:var(--vads-font-size-source-sans-normalized);text-align:center;line-height:var(--vads-font-line-height-2)}@media (forced-colors: active){:host{background-color:ButtonFace;color:ButtonText;border-bottom-color:ButtonFace}}:host(:focus){outline-offset:-2px !important}:host([aria-selected=false]:hover){cursor:pointer;background:var(--vads-color-base-lightest);border-bottom-color:var(--vads-color-primary)}:host([aria-selected=true]){border-bottom-color:var(--vads-color-primary);color:transparent}:host([aria-selected=true]:hover){cursor:pointer;background:var(--vads-color-base-lightest);border-bottom-color:var(--vads-color-primary)}:host([aria-selected=true])::after{content:attr(data-label)/"";display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:absolute;height:calc(100% - (2rem - 4px));top:1rem;width:calc(100% - 4px);left:2px;font-weight:700;color:var(--vads-color-link)}:host([aria-selected=true]:hover)::after{background-color:var(--vads-color-base-lightest)}@media screen and (min-width: 320px){:host{min-width:4rem}}@media screen and (min-width: 768px){:host{max-width:unset}}'}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2858,4164],{4164:function(e,t,r){r.r(t),r.d(t,{c:function(){return n}});var o,a={exports:{}};o=a,function(){var e={}.hasOwnProperty;function t(){for(var r=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var n=typeof a;if("string"===n||"number"===n)r.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&r.push(i)}}else if("object"===n)if(a.toString===Object.prototype.toString)for(var s in a)e.call(a,s)&&a[s]&&r.push(s);else r.push(a.toString())}}return r.join(" ")}o.exports?(t.default=t,o.exports=t):window.classNames=t}();var n=a.exports},2858:function(e,t,r){r.r(t),r.d(t,{va_tab_item:function(){return n}});var o=r(2625),a=r(4164),n=function(){function e(e){(0,o.r)(this,e),this.tabItemSelected=(0,o.c)(this,"tabItemSelected",7),this.tabItemKeyNavigated=(0,o.c)(this,"tabItemKeyNavigated",7),this.buttonText=void 0,this.targetId=void 0,this.selected=!1}return e.prototype.handleClick=function(e){e.preventDefault(),this.tabItemSelected.emit(e)},e.prototype.handleKeyDown=function(e){"ArrowLeft"===e.key||"ArrowRight"===e.key?(e.preventDefault(),this.tabItemKeyNavigated.emit(e)):"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.handleClick(new MouseEvent("click",{bubbles:!0,cancelable:!0})))},e.prototype.render=function(){var e=this,t=this,r=t.buttonText,n=t.targetId,i=t.selected,s=(0,a.c)({"va-tabs__tab_item":!0});return(0,o.h)(o.H,{key:"16837d82edd5d18ea2988e282796b942e65fde83",role:"tab",class:s,"aria-selected":i?"true":"false","aria-controls":n,id:"".concat(n,"-tab"),ref:function(t){return e.buttonElement=t},tabIndex:i?0:-1,onClick:function(t){return e.handleClick(t)},onKeyDown:function(t){return e.handleKeyDown(t)},"data-label":r},r)},Object.defineProperty(e.prototype,"el",{get:function(){return(0,o.g)(this)},enumerable:!1,configurable:!0}),e}();n.style=':host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background-color:transparent;color:var(--vads-color-primary);position:relative;padding:1rem;padding-bottom:calc(1rem - 4px);border:none;border-bottom:4px solid transparent;min-width:2.75rem;max-width:10rem;font-family:var(--font-source-sans);font-size:var(--vads-font-size-source-sans-normalized);text-align:center;line-height:var(--vads-font-line-height-2)}@media (forced-colors: active){:host{background-color:ButtonFace;color:ButtonText;border-bottom-color:ButtonFace}}:host(:focus){outline-offset:-2px !important}:host([aria-selected=false]:hover){cursor:pointer;background:var(--vads-color-base-lightest);border-bottom-color:var(--vads-color-primary)}:host([aria-selected=true]){border-bottom-color:var(--vads-color-primary);color:transparent}:host([aria-selected=true]:hover){cursor:pointer;background:var(--vads-color-base-lightest);border-bottom-color:var(--vads-color-primary)}:host([aria-selected=true])::after{content:attr(data-label)/"";display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:absolute;height:calc(100% - (2rem - 4px));top:1rem;width:calc(100% - 4px);left:2px;font-weight:700;color:var(--vads-color-link)}:host([aria-selected=true]:hover)::after{background-color:var(--vads-color-base-lightest)}@media screen and (min-width: 320px){:host{min-width:4rem}}@media screen and (min-width: 768px){:host{max-width:unset}}'}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3071],{3071:function(e,t,s){s.r(t),s.d(t,{va_process_list:function(){return r}});var o=s(2625),r=function(){function e(e){(0,o.r)(this,e)}return e.prototype.render=function(){return(0,o.h)("ol",{key:"ee4794d6944a5799003ce14862566a81ad55f992",role:"list",class:"usa-process-list"},(0,o.h)("slot",{key:"2ca46a5ccf48797ce044c7f9f670a7100ecac800"}))},e}();r.style='.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-process-list{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;counter-reset:usa-numbered-list;padding:20px 0 0 calc((2.5rem / 2) - (0.5rem / 2));position:relative}.usa-process-list>li{margin-bottom:0;max-width:unset}.usa-process-list>.usa-process-list__item{max-width:72ex}.usa-process-list__item{border-left:0.5rem solid #d9e8f6;font-size:1.06rem;margin-bottom:0;padding-bottom:2rem;padding-left:calc(calc(\n (2.5rem / 2) - 0.25rem\n) * 2)}.usa-prose .usa-process-list{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;counter-reset:usa-numbered-list;padding:20px 0 0 calc((2.5rem / 2) - (0.5rem / 2));position:relative}.usa-prose .usa-process-list>li{margin-bottom:0;max-width:unset}.usa-prose .usa-process-list>.usa-process-list__item{max-width:72ex}.usa-prose .usa-process-list__item{border-left:0.5rem solid #d9e8f6;font-size:1.06rem;margin-bottom:0;padding-bottom:2rem;padding-left:calc(calc(\n (2.5rem / 2) - 0.25rem\n) * 2)}.usa-process-list__item:last-child{border-left:0.5rem solid transparent}.usa-process-list__item::before{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:2.5rem;border-radius:99rem;width:2.5rem;background-color:white;border:0.25rem solid #1b1b1b;-webkit-box-shadow:0 0 0 0.25rem white;box-shadow:0 0 0 0.25rem white;color:#1b1b1b;content:counter(usa-numbered-list, decimal);counter-increment:usa-numbered-list;display:-ms-flexbox;display:flex;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.46rem;font-weight:700;height:2.5rem;left:0;line-height:0.9;margin-top:-0.4rem;position:absolute;width:2.5rem}.usa-process-list__item ul{list-style-type:disc}.usa-process-list__item ul li{margin-bottom:0.25rem}.usa-process-list__item ul li:last-child{margin-bottom:0}.usa-process-list__item>*:first-child{margin-top:0}.usa-process-list__item>*:last-child{margin-bottom:0}.usa-process-list__heading{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.46rem;line-height:1.1;color:#1b1b1b;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-weight:700;margin:0}.usa-process-list__heading+*{margin-top:0.25rem}*,::after,::before{-webkit-box-sizing:border-box;box-sizing:border-box}:host{counter-reset:usa-numbered-list}::slotted(va-process-list-item[checkmark=true]):before{color:var(--vads-color-success-dark) !important;border-color:var(--vads-color-success-dark) !important;content:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg width%3D%2218px%22 height%3D%2215px%22 viewBox%3D%220 0 18 15%22 version%3D%221.1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E %3Ctitle%3EIcons %2F Font Awesome %2F fa-check%3C%2Ftitle%3E %3Cg id%3D%22----Process-List%22 stroke%3D%22none%22 stroke-width%3D%221%22 fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Cg id%3D%22Process-List-%2F-_elements-%2F-number-%2F-complete-%22 transform%3D%22translate(-11.000000%2C -12.000000)%22 fill%3D%22%23008817%22%3E %3Cg id%3D%22Icons-%2F-Font-Awesome-%2F-fa-check%22 transform%3D%22translate(11.000000%2C 12.250000)%22%3E %3Cpath d%3D%22M18%2C2.69419355 C18%2C2.98451613 17.883871%2C3.27483871 17.6748387%2C3.48387097 L7.68774194%2C13.4709677 C7.47870968%2C13.68 7.1883871%2C13.796129 6.89806452%2C13.796129 C6.60774194%2C13.796129 6.31741935%2C13.68 6.1083871%2C13.4709677 L0.32516129%2C7.68774194 C0.116129032%2C7.47870968 0%2C7.1883871 0%2C6.89806452 C0%2C6.60774194 0.116129032%2C6.31741935 0.32516129%2C6.1083871 L1.90451613%2C4.52903226 C2.11354839%2C4.32 2.40387097%2C4.20387097 2.69419355%2C4.20387097 C2.98451613%2C4.20387097 3.27483871%2C4.32 3.48387097%2C4.52903226 L6.89806452%2C7.95483871 L14.516129%2C0.32516129 C14.7251613%2C0.116129032 15.0154839%2C-1.77635684e-15 15.3058065%2C-1.77635684e-15 C15.596129%2C-1.77635684e-15 15.8864516%2C0.116129032 16.0954839%2C0.32516129 L17.6748387%2C1.90451613 C17.883871%2C2.11354839 18%2C2.40387097 18%2C2.69419355 Z%22 id%3D%22icon%22%3E%3C%2Fpath%3E %3C%2Fg%3E %3C%2Fg%3E %3C%2Fg%3E%3C%2Fsvg%3E") !important;content:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg width%3D%2218px%22 height%3D%2215px%22 viewBox%3D%220 0 18 15%22 version%3D%221.1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E %3Ctitle%3EIcons %2F Font Awesome %2F fa-check%3C%2Ftitle%3E %3Cg id%3D%22----Process-List%22 stroke%3D%22none%22 stroke-width%3D%221%22 fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Cg id%3D%22Process-List-%2F-_elements-%2F-number-%2F-complete-%22 transform%3D%22translate(-11.000000%2C -12.000000)%22 fill%3D%22%23008817%22%3E %3Cg id%3D%22Icons-%2F-Font-Awesome-%2F-fa-check%22 transform%3D%22translate(11.000000%2C 12.250000)%22%3E %3Cpath d%3D%22M18%2C2.69419355 C18%2C2.98451613 17.883871%2C3.27483871 17.6748387%2C3.48387097 L7.68774194%2C13.4709677 C7.47870968%2C13.68 7.1883871%2C13.796129 6.89806452%2C13.796129 C6.60774194%2C13.796129 6.31741935%2C13.68 6.1083871%2C13.4709677 L0.32516129%2C7.68774194 C0.116129032%2C7.47870968 0%2C7.1883871 0%2C6.89806452 C0%2C6.60774194 0.116129032%2C6.31741935 0.32516129%2C6.1083871 L1.90451613%2C4.52903226 C2.11354839%2C4.32 2.40387097%2C4.20387097 2.69419355%2C4.20387097 C2.98451613%2C4.20387097 3.27483871%2C4.32 3.48387097%2C4.52903226 L6.89806452%2C7.95483871 L14.516129%2C0.32516129 C14.7251613%2C0.116129032 15.0154839%2C-1.77635684e-15 15.3058065%2C-1.77635684e-15 C15.596129%2C-1.77635684e-15 15.8864516%2C0.116129032 16.0954839%2C0.32516129 L17.6748387%2C1.90451613 C17.883871%2C2.11354839 18%2C2.40387097 18%2C2.69419355 Z%22 id%3D%22icon%22%3E%3C%2Fpath%3E %3C%2Fg%3E %3C%2Fg%3E %3C%2Fg%3E%3C%2Fsvg%3E")/"Completed" !important}::slotted(va-process-list-item[active=true]):before{color:var(--vads-color-primary) !important;border-color:var(--vads-color-primary) !important}::slotted(va-process-list-item[pending=true]):before{color:var(--vads-process-list-color-text-pending-on-light) !important;border-color:var(--vads-color-gray-medium) !important}::slotted(va-process-list-item[pending=true]){color:var(--vads-process-list-color-text-pending-on-light) !important}::slotted(va-process-list-item){border-left:8px solid var(--vads-color-gray-cool-light)}'}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3071],{3071:function(e,t,s){s.r(t),s.d(t,{va_process_list:function(){return r}});var o=s(2625),r=function(){function e(e){(0,o.r)(this,e)}return e.prototype.render=function(){return(0,o.h)("ol",{key:"18d4a895572026d3e69a985d0328b84d13e75521",role:"list",class:"usa-process-list"},(0,o.h)("slot",{key:"d16849806040f638f1b87321630c7980e498fd85"}))},e}();r.style='.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-process-list{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;counter-reset:usa-numbered-list;padding:20px 0 0 calc((2.5rem / 2) - (0.5rem / 2));position:relative}.usa-process-list>li{margin-bottom:0;max-width:unset}.usa-process-list>.usa-process-list__item{max-width:72ex}.usa-process-list__item{border-left:0.5rem solid #d9e8f6;font-size:1.06rem;margin-bottom:0;padding-bottom:2rem;padding-left:calc(calc(\n (2.5rem / 2) - 0.25rem\n) * 2)}.usa-prose .usa-process-list{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;counter-reset:usa-numbered-list;padding:20px 0 0 calc((2.5rem / 2) - (0.5rem / 2));position:relative}.usa-prose .usa-process-list>li{margin-bottom:0;max-width:unset}.usa-prose .usa-process-list>.usa-process-list__item{max-width:72ex}.usa-prose .usa-process-list__item{border-left:0.5rem solid #d9e8f6;font-size:1.06rem;margin-bottom:0;padding-bottom:2rem;padding-left:calc(calc(\n (2.5rem / 2) - 0.25rem\n) * 2)}.usa-process-list__item:last-child{border-left:0.5rem solid transparent}.usa-process-list__item::before{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:2.5rem;border-radius:99rem;width:2.5rem;background-color:white;border:0.25rem solid #1b1b1b;-webkit-box-shadow:0 0 0 0.25rem white;box-shadow:0 0 0 0.25rem white;color:#1b1b1b;content:counter(usa-numbered-list, decimal);counter-increment:usa-numbered-list;display:-ms-flexbox;display:flex;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.46rem;font-weight:700;height:2.5rem;left:0;line-height:0.9;margin-top:-0.4rem;position:absolute;width:2.5rem}.usa-process-list__item ul{list-style-type:disc}.usa-process-list__item ul li{margin-bottom:0.25rem}.usa-process-list__item ul li:last-child{margin-bottom:0}.usa-process-list__item>*:first-child{margin-top:0}.usa-process-list__item>*:last-child{margin-bottom:0}.usa-process-list__heading{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.46rem;line-height:1.1;color:#1b1b1b;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-weight:700;margin:0}.usa-process-list__heading+*{margin-top:0.25rem}*,::after,::before{-webkit-box-sizing:border-box;box-sizing:border-box}:host{counter-reset:usa-numbered-list}::slotted(va-process-list-item[checkmark=true]):before{color:var(--vads-color-success-dark) !important;border-color:var(--vads-color-success-dark) !important;content:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg width%3D%2218px%22 height%3D%2215px%22 viewBox%3D%220 0 18 15%22 version%3D%221.1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E %3Ctitle%3EIcons %2F Font Awesome %2F fa-check%3C%2Ftitle%3E %3Cg id%3D%22----Process-List%22 stroke%3D%22none%22 stroke-width%3D%221%22 fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Cg id%3D%22Process-List-%2F-_elements-%2F-number-%2F-complete-%22 transform%3D%22translate(-11.000000%2C -12.000000)%22 fill%3D%22%23008817%22%3E %3Cg id%3D%22Icons-%2F-Font-Awesome-%2F-fa-check%22 transform%3D%22translate(11.000000%2C 12.250000)%22%3E %3Cpath d%3D%22M18%2C2.69419355 C18%2C2.98451613 17.883871%2C3.27483871 17.6748387%2C3.48387097 L7.68774194%2C13.4709677 C7.47870968%2C13.68 7.1883871%2C13.796129 6.89806452%2C13.796129 C6.60774194%2C13.796129 6.31741935%2C13.68 6.1083871%2C13.4709677 L0.32516129%2C7.68774194 C0.116129032%2C7.47870968 0%2C7.1883871 0%2C6.89806452 C0%2C6.60774194 0.116129032%2C6.31741935 0.32516129%2C6.1083871 L1.90451613%2C4.52903226 C2.11354839%2C4.32 2.40387097%2C4.20387097 2.69419355%2C4.20387097 C2.98451613%2C4.20387097 3.27483871%2C4.32 3.48387097%2C4.52903226 L6.89806452%2C7.95483871 L14.516129%2C0.32516129 C14.7251613%2C0.116129032 15.0154839%2C-1.77635684e-15 15.3058065%2C-1.77635684e-15 C15.596129%2C-1.77635684e-15 15.8864516%2C0.116129032 16.0954839%2C0.32516129 L17.6748387%2C1.90451613 C17.883871%2C2.11354839 18%2C2.40387097 18%2C2.69419355 Z%22 id%3D%22icon%22%3E%3C%2Fpath%3E %3C%2Fg%3E %3C%2Fg%3E %3C%2Fg%3E%3C%2Fsvg%3E") !important;content:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg width%3D%2218px%22 height%3D%2215px%22 viewBox%3D%220 0 18 15%22 version%3D%221.1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E %3Ctitle%3EIcons %2F Font Awesome %2F fa-check%3C%2Ftitle%3E %3Cg id%3D%22----Process-List%22 stroke%3D%22none%22 stroke-width%3D%221%22 fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Cg id%3D%22Process-List-%2F-_elements-%2F-number-%2F-complete-%22 transform%3D%22translate(-11.000000%2C -12.000000)%22 fill%3D%22%23008817%22%3E %3Cg id%3D%22Icons-%2F-Font-Awesome-%2F-fa-check%22 transform%3D%22translate(11.000000%2C 12.250000)%22%3E %3Cpath d%3D%22M18%2C2.69419355 C18%2C2.98451613 17.883871%2C3.27483871 17.6748387%2C3.48387097 L7.68774194%2C13.4709677 C7.47870968%2C13.68 7.1883871%2C13.796129 6.89806452%2C13.796129 C6.60774194%2C13.796129 6.31741935%2C13.68 6.1083871%2C13.4709677 L0.32516129%2C7.68774194 C0.116129032%2C7.47870968 0%2C7.1883871 0%2C6.89806452 C0%2C6.60774194 0.116129032%2C6.31741935 0.32516129%2C6.1083871 L1.90451613%2C4.52903226 C2.11354839%2C4.32 2.40387097%2C4.20387097 2.69419355%2C4.20387097 C2.98451613%2C4.20387097 3.27483871%2C4.32 3.48387097%2C4.52903226 L6.89806452%2C7.95483871 L14.516129%2C0.32516129 C14.7251613%2C0.116129032 15.0154839%2C-1.77635684e-15 15.3058065%2C-1.77635684e-15 C15.596129%2C-1.77635684e-15 15.8864516%2C0.116129032 16.0954839%2C0.32516129 L17.6748387%2C1.90451613 C17.883871%2C2.11354839 18%2C2.40387097 18%2C2.69419355 Z%22 id%3D%22icon%22%3E%3C%2Fpath%3E %3C%2Fg%3E %3C%2Fg%3E %3C%2Fg%3E%3C%2Fsvg%3E")/"Completed" !important}::slotted(va-process-list-item[active=true]):before{color:var(--vads-color-primary) !important;border-color:var(--vads-color-primary) !important}::slotted(va-process-list-item[pending=true]):before{color:var(--vads-process-list-color-text-pending-on-light) !important;border-color:var(--vads-color-gray-medium) !important}::slotted(va-process-list-item[pending=true]){color:var(--vads-process-list-color-text-pending-on-light) !important}::slotted(va-process-list-item){border-left:8px solid var(--vads-color-gray-cool-light)}'}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3126],{3126:function(t,n,r){function e(t){return!Number.isNaN(parseFloat(t))}function o(t,n,r){void 0===r&&(r="slot");var e=t.shadowRoot.querySelector(r).assignedNodes();return null!==n?Array.from(e).filter((function(t){return t.nodeName.toLowerCase()===n})):Array.from(e)}function u(t){return 1===t?"":"s"}function i(t,n){if(void 0===t||""===t)return"".concat(n," character").concat(u(n)," allowed");var r;if(t.length<=n){var e=n-t.length;r="".concat(e," character").concat(u(e)," left")}else e=t.length-n,r="".concat(e," character").concat(u(e)," over limit");return r}function f(t,n){return Array.from({length:n-t+1},(function(n,r){return t+r}))}r.r(n),r.d(n,{S:function(){return l},a:function(){return o},b:function(){return e},c:function(){return v},d:function(){return y},e:function(){return m},f:function(){return i},g:function(){return s},h:function(){return p},i:function(){return g},m:function(){return f},s:function(){return a},u:function(){return d}}),r(2625);var c=function(t){return t&&"object"==typeof t&&1===t.nodeType};function a(t,n){var r=function(t,n){if("string"!=typeof t)return[];if(!n||!c(n))return[];var r=n.shadowRoot.querySelectorAll(t);return Array.from(r)}(t,n);return"string"!=typeof t||c(n)&&n.matches(t)&&r.push(n),r}var l={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(t){return l._entities[t]},escapeHTML:function(t){for(var n="",r=0;r<t.length;r++)n+=t[r],r+1<arguments.length&&(n+=String(arguments[r+1]||"").replace(l._entity,l.getEntity));return n}};function s(t){var n;return(n="string"==typeof t?parseInt(t,10):Math.floor(t))>=1&&n<=6?"h".concat(n):null}function p(t){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(t.tagName)}function g(t){return t&&"false"!==t||!1}function h(t){return"[object Arguments]"===Object.prototype.toString.call(t)}function y(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(t===n)return!0;if("function"==typeof t||"function"==typeof n)return!0;if("object"!=typeof t||"object"!=typeof n)return!1;if(null===t||null===n)return!1;if(t instanceof Date&&n instanceof Date)return t.getTime()===n.getTime();if(t instanceof RegExp&&n instanceof RegExp)return t.source===n.source&&t.global===n.global&&t.multiline===n.multiline&&t.lastIndex===n.lastIndex&&t.ignoreCase===n.ignoreCase;if(h(t)||h(n)){if(!h(t)||!h(n))return!1;var o=Array.prototype.slice;return y(o.call(t),o.call(n),r,e)}if(t.constructor!==n.constructor)return!1;var u=Object.keys(t),i=Object.keys(n);if(0===u.length&&0===i.length)return!0;if(u.length!==i.length)return!1;for(var f=r.length;f--;)if(r[f]===t)return e[f]===n;r.push(t),e.push(n),u.sort(),i.sort();for(var c=u.length-1;c>=0;c--)if(u[c]!==i[c])return!1;for(var a=void 0,l=u.length-1;l>=0;l--)if(!y(t[a=u[l]],n[a],r,e))return!1;return r.pop(),e.pop(),!0}function v(t,n){var r;return function(){for(var e=this,o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];clearTimeout(r),r=setTimeout((function(){return t.apply(e,o)}),n)}}function m(t){if(null!=t){var n="string"==typeof t?parseInt(t,10):t;if(!(n<=0||isNaN(n)))return n}}function d(t,n,r){t&&(t.innerText=i(n,m(r)))}}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3126],{3126:function(t,n,r){function e(t){return!Number.isNaN(parseFloat(t))}function o(t,n,r){void 0===r&&(r="slot");var e=t.shadowRoot.querySelector(r).assignedNodes();return null!==n?Array.from(e).filter(function(t){return t.nodeName.toLowerCase()===n}):Array.from(e)}function u(t){return 1===t?"":"s"}function i(t,n){if(void 0===t||""===t)return"".concat(n," character").concat(u(n)," allowed");var r;if(t.length<=n){var e=n-t.length;r="".concat(e," character").concat(u(e)," left")}else e=t.length-n,r="".concat(e," character").concat(u(e)," over limit");return r}function f(t,n){return Array.from({length:n-t+1},function(n,r){return t+r})}r.r(n),r.d(n,{S:function(){return l},a:function(){return o},b:function(){return e},c:function(){return v},d:function(){return y},e:function(){return m},f:function(){return i},g:function(){return s},h:function(){return p},i:function(){return g},m:function(){return f},s:function(){return a},u:function(){return d}}),r(2625);var c=function(t){return t&&"object"==typeof t&&1===t.nodeType};function a(t,n){var r=function(t,n){if("string"!=typeof t)return[];if(!n||!c(n))return[];var r=n.shadowRoot.querySelectorAll(t);return Array.from(r)}(t,n);return"string"!=typeof t||c(n)&&n.matches(t)&&r.push(n),r}var l={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(t){return l._entities[t]},escapeHTML:function(t){for(var n="",r=0;r<t.length;r++)n+=t[r],r+1<arguments.length&&(n+=String(arguments[r+1]||"").replace(l._entity,l.getEntity));return n}};function s(t){var n;return(n="string"==typeof t?parseInt(t,10):Math.floor(t))>=1&&n<=6?"h".concat(n):null}function p(t){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(t.tagName)}function g(t){return t&&"false"!==t||!1}function h(t){return"[object Arguments]"===Object.prototype.toString.call(t)}function y(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(t===n)return!0;if("function"==typeof t||"function"==typeof n)return!0;if("object"!=typeof t||"object"!=typeof n)return!1;if(null===t||null===n)return!1;if(t instanceof Date&&n instanceof Date)return t.getTime()===n.getTime();if(t instanceof RegExp&&n instanceof RegExp)return t.source===n.source&&t.global===n.global&&t.multiline===n.multiline&&t.lastIndex===n.lastIndex&&t.ignoreCase===n.ignoreCase;if(h(t)||h(n)){if(!h(t)||!h(n))return!1;var o=Array.prototype.slice;return y(o.call(t),o.call(n),r,e)}if(t.constructor!==n.constructor)return!1;var u=Object.keys(t),i=Object.keys(n);if(0===u.length&&0===i.length)return!0;if(u.length!==i.length)return!1;for(var f=r.length;f--;)if(r[f]===t)return e[f]===n;r.push(t),e.push(n),u.sort(),i.sort();for(var c=u.length-1;c>=0;c--)if(u[c]!==i[c])return!1;for(var a=void 0,l=u.length-1;l>=0;l--)if(!y(t[a=u[l]],n[a],r,e))return!1;return r.pop(),e.pop(),!0}function v(t,n){var r;return function(){for(var e=this,o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];clearTimeout(r),r=setTimeout(function(){return t.apply(e,o)},n)}}function m(t){if(null!=t){var n="string"==typeof t?parseInt(t,10):t;if(!(n<=0||isNaN(n)))return n}}function d(t,n,r){t&&(t.innerText=i(n,m(r)))}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3156],{3156:function(e,a,i){i.r(a),i.d(a,{va_header_minimal:function(){return o}});var t=i(2625),o=function(){function e(e){(0,t.r)(this,e),this.shifted=!1,this.header=void 0,this.subheader=void 0,this.enableHeadings=!1}return e.prototype.trackShiftKey=function(e){this.shifted=e.shiftKey},e.prototype.trapFocus=function(){var e,a=null===(e=this.el)||void 0===e?void 0:e.shadowRoot.querySelector("va-crisis-line-modal").shadowRoot.querySelector("va-modal"),i=null==a?void 0:a.getAttribute("visible");if(null!==i&&"false"!==i){var t=void 0,o=this.shifted?".last-focusable-child":".va-modal-close";null==(t=this.shifted?null==a?void 0:a.querySelector(o):null==a?void 0:a.shadowRoot.querySelector(o))||t.focus()}},e.prototype.render=function(){var e=this,a=this,i=a.header,o=a.subheader,r=a.enableHeadings;return(0,t.h)(t.H,{key:"2fda023320e4c67cf4499d221b64bbdd43ba7a9c",role:"banner"},(0,t.h)("va-official-gov-banner",{key:"814588d93f585aa79a1da23d869a495a41dfcce7"}),(0,t.h)("va-crisis-line-modal",{key:"7ef4cbcbb4d050a94fab4c0ddec5eaa76446100c"}),(0,t.h)("div",{key:"bb39421fce96aedb363fe905a924f92f9c730dff",onFocusin:function(){return e.trapFocus()},class:"va-header"},(0,t.h)("a",{key:"ae823a972c086c318a2e0220d44c15bc812255e0",href:"/",title:"Go to VA.gov",class:"va-logo-link"},(0,t.h)("img",{key:"adc6bcbae885ad66fb4f7f1888e4864ae70424fa",class:"va-logo",src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1Ny42IDM1LjIiIHJvbGU9ImltZyI+PHRpdGxlPlZBPC90aXRsZT48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJNMTEuMSAzNS4yTDAgMGg4LjZsNC4yIDE0LjljMS4yIDQuMiAyLjIgOC4yIDMuMSAxMi42aC4xYy45LTQuMiAxLjktOC40IDMuMS0xMi40TDIzLjUgMGg4LjNMMjAuMiAzNS4yaC05LjF6TTM2LjYgMjYuMmwtMi41IDloLThMMzYuNiAwaDEwLjJsMTAuOCAzNS4yaC04LjVsLTIuNy05aC05Ljh6bTguOC02bC0yLjItNy41Yy0uNi0yLjEtMS4yLTQuNy0xLjctNi44aC0uMWMtLjUgMi4xLTEgNC44LTEuNiA2LjhsLTIgNy41aDcuNnoiPjwvcGF0aD48L2c+PC9zdmc+",alt:"VA logo and Seal, U.S. Department of Veterans Affairs"})),(0,t.h)("div",{key:"ba9380c5b5c6ac47a802ca68df24b332562e835f",class:"header-container"},r?(0,t.h)("h1",null,i):(0,t.h)("div",{class:"header"},i),o&&(r?(0,t.h)("h2",null,o):(0,t.h)("div",{class:"subheader"},o)))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,t.g)(this)},enumerable:!1,configurable:!0}),e}();o.style=".va-header{display:-ms-flexbox;display:flex;margin-left:auto;margin-right:auto;max-width:1000px;background-color:var(--vads-color-primary-darker);color:var(--vads-button-color-text-primary-alt-on-light);-ms-flex-align:center;align-items:center;padding:10px 8px;line-height:22px}@media (min-width: 481px){.va-header{padding:10px 16px}}.va-logo-link:focus{outline:2px solid var(--vads-color-action-focus-on-light)}.va-logo{margin-right:8px;min-height:30px;min-width:48px}@media (min-width: 481px){.va-logo{margin-right:16px}}.header-container{padding-left:8px;border-left:1px solid var(--vads-color-white)}@media (min-width: 481px){.header-container{padding-left:16px}}.header-container h1,.header-container .header{font-size:20px;margin:0;font-weight:700}.header-container h2,.header-container .subheader{font-size:20px;margin:0;font-weight:100}@media (min-width: 1024px){va-crisis-line-modal::part(button){position:absolute;right:0;bottom:-5px}}"}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[3156],{3156:function(e,a,i){i.r(a),i.d(a,{va_header_minimal:function(){return o}});var t=i(2625),o=function(){function e(e){(0,t.r)(this,e),this.shifted=!1,this.header=void 0,this.subheader=void 0,this.enableHeadings=!1}return e.prototype.trackShiftKey=function(e){this.shifted=e.shiftKey},e.prototype.trapFocus=function(){var e,a=null===(e=this.el)||void 0===e?void 0:e.shadowRoot.querySelector("va-crisis-line-modal").shadowRoot.querySelector("va-modal"),i=null==a?void 0:a.getAttribute("visible");if(null!==i&&"false"!==i){var t=void 0,o=this.shifted?".last-focusable-child":".va-modal-close";null==(t=this.shifted?null==a?void 0:a.querySelector(o):null==a?void 0:a.shadowRoot.querySelector(o))||t.focus()}},e.prototype.render=function(){var e=this,a=this,i=a.header,o=a.subheader,r=a.enableHeadings;return(0,t.h)(t.H,{key:"247293dceda2d1afdbf24a3c2eb82204949613c9",role:"banner"},(0,t.h)("va-official-gov-banner",{key:"b3f809f861d4a3f45443c7d3cb7c217356b0366d"}),(0,t.h)("va-crisis-line-modal",{key:"764bbbec041d349bbc3e9874244320a8144d4d03"}),(0,t.h)("div",{key:"acd4c4458e9fcd28e6df6a040df8b0c77b054dbf",onFocusin:function(){return e.trapFocus()},class:"va-header"},(0,t.h)("a",{key:"765a6b8c5e134ad0a808284b92892e7ea6347a17",href:"/",title:"Go to VA.gov",class:"va-logo-link"},(0,t.h)("img",{key:"7d2e3be2528a6cc2ba087f90d49d7af51f03c6a6",class:"va-logo",src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1Ny42IDM1LjIiIHJvbGU9ImltZyI+PHRpdGxlPlZBPC90aXRsZT48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJNMTEuMSAzNS4yTDAgMGg4LjZsNC4yIDE0LjljMS4yIDQuMiAyLjIgOC4yIDMuMSAxMi42aC4xYy45LTQuMiAxLjktOC40IDMuMS0xMi40TDIzLjUgMGg4LjNMMjAuMiAzNS4yaC05LjF6TTM2LjYgMjYuMmwtMi41IDloLThMMzYuNiAwaDEwLjJsMTAuOCAzNS4yaC04LjVsLTIuNy05aC05Ljh6bTguOC02bC0yLjItNy41Yy0uNi0yLjEtMS4yLTQuNy0xLjctNi44aC0uMWMtLjUgMi4xLTEgNC44LTEuNiA2LjhsLTIgNy41aDcuNnoiPjwvcGF0aD48L2c+PC9zdmc+",alt:"VA logo and Seal, U.S. Department of Veterans Affairs"})),(0,t.h)("div",{key:"37166b0bd5a5e66a02a3bb0b1d0c9a2eef72e550",class:"header-container"},r?(0,t.h)("h1",null,i):(0,t.h)("div",{class:"header"},i),o&&(r?(0,t.h)("h2",null,o):(0,t.h)("div",{class:"subheader"},o)))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,t.g)(this)},enumerable:!1,configurable:!0}),e}();o.style=".va-header{display:-ms-flexbox;display:flex;margin-left:auto;margin-right:auto;max-width:1000px;background-color:var(--vads-color-primary-darker);color:var(--vads-button-color-text-primary-alt-on-light);-ms-flex-align:center;align-items:center;padding:10px 8px;line-height:22px}@media (min-width: 481px){.va-header{padding:10px 16px}}.va-logo-link:focus{outline:2px solid var(--vads-color-action-focus-on-light)}.va-logo{margin-right:8px;min-height:30px;min-width:48px}@media (min-width: 481px){.va-logo{margin-right:16px}}.header-container{padding-left:8px;border-left:1px solid var(--vads-color-white)}@media (min-width: 481px){.header-container{padding-left:16px}}.header-container h1,.header-container .header{font-size:20px;margin:0;font-weight:700}.header-container h2,.header-container .subheader{font-size:20px;margin:0;font-weight:100}@media (min-width: 1024px){va-crisis-line-modal::part(button){position:absolute;right:0;bottom:-5px}}"}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[4064,3126],{3126:function(e,t,i){function n(e){return!Number.isNaN(parseFloat(e))}function r(e,t,i){void 0===i&&(i="slot");var n=e.shadowRoot.querySelector(i).assignedNodes();return null!==t?Array.from(n).filter((function(e){return e.nodeName.toLowerCase()===t})):Array.from(n)}function a(e){return 1===e?"":"s"}function o(e,t){if(void 0===e||""===e)return"".concat(t," character").concat(a(t)," allowed");var i;if(e.length<=t){var n=t-e.length;i="".concat(n," character").concat(a(n)," left")}else n=e.length-t,i="".concat(n," character").concat(a(n)," over limit");return i}function s(e,t){return Array.from({length:t-e+1},(function(t,i){return e+i}))}i.r(t),i.d(t,{S:function(){return u},a:function(){return r},b:function(){return n},c:function(){return g},d:function(){return m},e:function(){return v},f:function(){return o},g:function(){return h},h:function(){return d},i:function(){return f},m:function(){return s},s:function(){return c},u:function(){return b}}),i(2625);var l=function(e){return e&&"object"==typeof e&&1===e.nodeType};function c(e,t){var i=function(e,t){if("string"!=typeof e)return[];if(!t||!l(t))return[];var i=t.shadowRoot.querySelectorAll(e);return Array.from(i)}(e,t);return"string"!=typeof e||l(t)&&t.matches(e)&&i.push(t),i}var u={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return u._entities[e]},escapeHTML:function(e){for(var t="",i=0;i<e.length;i++)t+=e[i],i+1<arguments.length&&(t+=String(arguments[i+1]||"").replace(u._entity,u.getEntity));return t}};function h(e){var t;return(t="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&t<=6?"h".concat(t):null}function d(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function f(e){return e&&"false"!==e||!1}function p(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function m(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"==typeof e||"function"==typeof t)return!0;if("object"!=typeof e||"object"!=typeof t)return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(p(e)||p(t)){if(!p(e)||!p(t))return!1;var r=Array.prototype.slice;return m(r.call(e),r.call(t),i,n)}if(e.constructor!==t.constructor)return!1;var a=Object.keys(e),o=Object.keys(t);if(0===a.length&&0===o.length)return!0;if(a.length!==o.length)return!1;for(var s=i.length;s--;)if(i[s]===e)return n[s]===t;i.push(e),n.push(t),a.sort(),o.sort();for(var l=a.length-1;l>=0;l--)if(a[l]!==o[l])return!1;for(var c=void 0,u=a.length-1;u>=0;u--)if(!m(e[c=a[u]],t[c],i,n))return!1;return i.pop(),n.pop(),!0}function g(e,t){var i;return function(){for(var n=this,r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];clearTimeout(i),i=setTimeout((function(){return e.apply(n,r)}),t)}}function v(e){if(null!=e){var t="string"==typeof e?parseInt(e,10):e;if(!(t<=0||isNaN(t)))return t}}function b(e,t,i){e&&(e.innerText=o(t,v(i)))}},4064:function(e,t,i){i.r(t),i.d(t,{va_file_input:function(){return j}});var n=i(2625),r=(i(2404),i(3126)),a=i(2265),o="usa",s="".concat(o,"-file-input"),l=".".concat(s),c="".concat(o,"-file-input__input"),u="".concat(o,"-file-input__target"),h=".".concat(c),d="".concat(o,"-file-input__box"),f="".concat(o,"-file-input__instructions"),p="".concat(o,"-file-input__preview"),m="".concat(o,"-file-input__preview-heading"),g="".concat(o,"-file-input--disabled"),v="".concat(o,"-file-input__choose"),b="".concat(o,"-file-input__accepted-files-message"),y="".concat(o,"-file-input__drag-text"),x="".concat(o,"-file-input--drag"),w="is-loading",A="has-invalid-file",S="".concat(o,"-file-input__preview-image"),z="".concat(S,"--generic"),T="".concat(S,"--pdf"),k="".concat(S,"--word"),F="".concat(S,"--video"),C="".concat(S,"--excel"),E="".concat(o,"-sr-only"),L="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",_=Boolean(!0),M="",q="",N=function(e){var t=e.charCodeAt(0);return 32===t?"-":t>=65&&t<=90?"img_".concat(e.toLowerCase()):"__000".concat(t.toString(16).slice(-4))},H=function(e){return e.hasAttribute("multiple")?"files":"file"},I=function(e){var t=e.hasAttribute("aria-disabled")||e.hasAttribute("disabled"),i=function(e){var t=document.createElement("div"),i=document.createElement("div"),n=document.createElement("div");return e.classList.remove(s),e.classList.add(c),t.classList.add(s),n.classList.add(d),i.classList.add(u),i.prepend(n),e.parentNode.insertBefore(i,e),e.parentNode.insertBefore(t,i),i.appendChild(e),t.appendChild(i),i}(e),n=function(e){var t=e.closest(l),i=H(e),n=document.createElement("div"),a="Drag ".concat(i," here or"),o="choose from folder";return M="".concat(a," ").concat(o),n.classList.add(f),n.setAttribute("aria-hidden","true"),e.setAttribute("aria-label",M),n.innerHTML=r.S.escapeHTML('<span class="'.concat(y,'">').concat(a,'</span> <span class="').concat(v,'">').concat(o,"</span>")),e.parentNode.insertBefore(n,e),(/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.querySelector(".".concat(y)).outerHTML=""),n}(e),a=function(e){var t=e.closest(l);if(!t)throw new Error("Element is missing outer ".concat(l));var i=t.querySelector(h);return{dropZoneEl:t,inputEl:i}}(e).dropZoneEl;return t?a.classList.add(g):function(e){var t=document.createElement("div"),i=H(e),n=e.closest(l),r=e.closest(".".concat(u));q="No ".concat(i," selected."),t.classList.add(E),t.setAttribute("aria-live","polite"),t.textContent=q,n.insertBefore(t,r)}(e),{instructions:n,dropTarget:i}},R=function(e,t){var i=e.querySelectorAll(".".concat(p)),n=e.querySelector(".".concat(m)),r=e.querySelector(".".concat(b));n&&(n.outerHTML=""),r&&(r.outerHTML="",e.classList.remove(A)),null!==i&&(t&&t.removeAttribute("hidden"),Array.prototype.forEach.call(i,(function(e){e.parentNode.removeChild(e)})))},B=function(e,t,i,n){!function(e,t,i,n){var r=t.getAttribute("accept");n.classList.remove(A);var a=function(e,t){var i=!1;return e.indexOf(t)>=0&&(i=!0),i};if(r){for(var o=r.split(","),s=document.createElement("div"),l=!0,c=e.target.files||e.dataTransfer.files,u=0;u<c.length;u+=1){var h=c[u];if(!l)break;for(var d=0;d<o.length;d+=1){var f=o[d];if(l=h.name.indexOf(f)>0||a(h.type,f.replace(/\*/g,""))){_=!0;break}}}l||(R(n,i),t.value="",n.insertBefore(s,t),s.textContent=t.dataset.errormessage||"This is not a valid file type.",s.classList.add(b),n.classList.add(A),_=!1,e.preventDefault(),e.stopPropagation())}}(e,t,i,n),!0===_&&function(e,t,i,n){var a=t.getAttribute("multiple")?e.target.files:[e.target.files[0]],o=n.closest(".".concat(s)).querySelector(".".concat(E)),l=[];R(n,i);for(var c=function(e){var t,o=new FileReader,s=a[e].name;l.push(s),o.onloadstart=function(){t=function(e){return"".concat(e,"-").concat(Math.floor(Date.now()/1e3))}(function(e){return e.replace(/[^a-z0-9]/g,N)}(s)),i.insertAdjacentHTML("afterend",r.S.escapeHTML('<div class="'.concat(p,'" aria-hidden="true">\n <img id="').concat(t,'" src="').concat(L,'" alt="" class="').concat(S," ").concat(w,'"/>').concat(s,"\n <div>")))},o.onloadend=function(){var e=n.querySelector("#".concat(t));s.indexOf(".pdf")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(L,'"; this.classList.add("').concat(T,'")')):s.indexOf(".doc")>0||s.indexOf(".pages")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(L,'"; this.classList.add("').concat(k,'")')):s.indexOf(".xls")>0||s.indexOf(".numbers")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(L,'"; this.classList.add("').concat(C,'")')):s.indexOf(".mov")>0||s.indexOf(".mp4")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(L,'"; this.classList.add("').concat(F,'")')):e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(L,'"; this.classList.add("').concat(z,'")')),e.classList.remove(w),e.src=o.result},a[e]&&o.readAsDataURL(a[e])},h=0;h<a.length;h+=1)c(h);0===a.length?t.setAttribute("aria-label",M):function(e,t){var i=document.createElement("div"),n=e.closest(".".concat(u)),a=n.querySelector(".".concat(f)),o="Change file",s="";1===t.length?s=r.S.escapeHTML('Selected file <span class="usa-file-input__choose">'.concat(o,"</span>")):t.length>1&&(o="Change files",s=r.S.escapeHTML("".concat(t.length,' files selected <span class="usa-file-input__choose">').concat(o,"</span>"))),a.setAttribute("hidden","true"),i.classList.add(m),i.innerHTML=s,n.insertBefore(i,a),e.setAttribute("aria-label",o)}(t,a),function(e,t,i){var n=e,r=q;1===t.length?r="You have selected the file: ".concat(i):t.length>1&&(r="You have selected ".concat(t.length," files: ").concat(i.join(", "))),setTimeout((function(){n.textContent=r}),1e3)}(o,a,l)}(e,t,i,n)},P={".txt":"text/plain",".pdf":"application/pdf",".doc":"application/msword",".docx":"application/vnd.openxmlformats-officedocument.wordprocessingml.document",".odt":"application/vnd.oasis.opendocument.text",".rtf":"application/rtf",".csv":"text/csv",".xls":"application/vnd.ms-excel",".xlsx":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",".ppt":"application/vnd.ms-powerpoint",".pptx":"application/vnd.openxmlformats-officedocument.presentationml.presentation",".jpg":"image/jpeg",".jpeg":"image/jpeg",".png":"image/png",".gif":"image/gif",".bmp":"image/bmp",".webp":"image/webp",".tif":"image/tiff",".tiff":"image/tiff",".svg":"image/svg+xml",".mp3":"audio/mpeg",".wav":"audio/wav",".ogg":"audio/ogg",".m4a":"audio/mp4",".aac":"audio/aac",".mp4":"video/mp4",".avi":"video/x-msvideo",".mov":"video/quicktime",".wmv":"video/x-ms-wmv",".flv":"video/x-flv",".mkv":"video/x-matroska",".webm":"video/webm",".zip":"application/zip",".rar":"application/x-rar-compressed",".7z":"application/x-7z-compressed",".tar":"application/x-tar",".gz":"application/gzip",".json":"application/json",".xml":"application/xml",".html":"text/html",".htm":"text/html",".css":"text/css",".js":"application/javascript",".heic":"image/heic"},j=function(){function e(e){var t=this;(0,n.r)(this,e),this.vaChange=(0,n.c)(this,"vaChange",7),this.vaPasswordChange=(0,n.c)(this,"vaPasswordChange",7),this.vaFileInputError=(0,n.c)(this,"vaFileInputError",7),this.componentLibraryAnalytics=(0,n.c)(this,"component-library-analytics",7),this.uploadStatus="idle",this.chooseFileString="choose from folder",this.dragFileString="Drag a file here or ",this.FILE_PREVIEW_SIZE_LIMIT=5242880,this.handleChange=function(e){var i=e.target;t.fileContents=null,i.files&&i.files.length>0&&t.handleFile(i.files[0]),i.value=""},this.handleDrop=function(e){e.preventDefault(),e.stopPropagation();var i=e.dataTransfer.files;i.length>0&&t.handleFile(i[0])},this.getExtension=function(e){var t=e.name.replace(/^\./,"");return(t.includes(".")?".".concat(t.split(".").pop()):null)||e.type},this.getFileTypeErrorMessage=function(e){var i=t.getExtension(e),n=i?"".concat(i," files"):"this file type";return"We do not accept ".concat(n,". Choose a new file.")},this.handleFile=function(e,i){void 0===i&&(i=!0);var n=null;if(t.accept){var r=t.normalizeAcceptProp(t.accept);t.isAcceptedFileType(e.type,r)||(t.removeFile(!1),n=t.getFileTypeErrorMessage(e))}if(0===e.size&&(n="The file you selected is empty. Files must be larger than 0B."),e.size>t.maxFileSize&&(n="\n We can't upload your file because it's too big. Files must be less than ".concat(t.formatFileSize(t.maxFileSize),".")),e.size<t.minFileSize&&(n="We can't upload your file because it's too small. Files must be at least ".concat(t.formatFileSize(t.minFileSize),".")),t.uploadedFile=null,t.file=e,n)return t.internalError=n,t.vaFileInputError.emit({error:n}),void t.resetState();i&&t.vaChange.emit({files:[t.file]}),t.uploadStatus="success",t.internalError=null,e.size<t.FILE_PREVIEW_SIZE_LIMIT&&t.generateFileContents(t.file),t.updateStatusMessage("You have selected the file: ".concat(t.file.name)),t.el.focus(),t.enableAnalytics&&t.componentLibraryAnalytics.emit({componentName:"va-file-input",action:"change",details:{label:t.label}})},this.removeFile=function(e){void 0===e&&(e=!0),t.closeModal(),t.uploadStatus="idle",t.internalError=null,e&&t.vaChange.emit({files:[]}),t.file=null,t.uploadedFile=null,t.updateStatusMessage("File deleted. No file selected."),t.el.focus()},this.openModal=function(){t.el.shadowRoot.querySelector("va-modal").setAttribute("status","warning"),t.showModal=!0},this.closeModal=function(){t.showModal=!1,setTimeout((function(){t.fileInputRef.focus()}),0)},this.changeFile=function(){t.fileInputRef&&t.fileInputRef.click()},this.formatFileSize=function(e){var t=["B","KB","MB","GB","TB"];if(0===e)return"0 B";var i=Math.floor(Math.log(e)/Math.log(1024));if(0===i)return"".concat(e," ").concat(t[i]);var n=(e/Math.pow(1024,i)).toFixed(i<2?0:1);return"".concat(n," ").concat(t[i])},this.normalizeAcceptProp=function(e){return e.split(",").map((function(e){return(e=e.trim()).startsWith(".")?P[e]:e}))},this.isAcceptedFileType=function(e,t){for(var i=0,n=t;i<n.length;i++){var r=n[i];if(r===e)return!0;if(r.endsWith("/*")&&e.startsWith(r.slice(0,-1)))return!0}return!1},this.renderLabelOrHeader=function(e,t,i){var r=t?(0,n.h)("span",{class:"required"}," ",a.i.t("required")):null;if(i&&i>=1&&i<=6){var o="h".concat(i);return(0,n.h)("div",{class:"label-header"},(0,n.h)(o,{htmlFor:"fileInputField",part:"label",class:"label-header-tag"},e,r))}return(0,n.h)("div",{class:"label-header"},(0,n.h)("label",{htmlFor:"fileInputField",part:"label",class:"usa-label"},e,r))},this.file=void 0,this.fileContents=void 0,this.internalError=void 0,this.showModal=!1,this.showSeparator=!0,this.label=void 0,this.name=void 0,this.value=void 0,this.required=!1,this.accept=void 0,this.error=void 0,this.hint=void 0,this.statusText=void 0,this.uploadMessage=null,this.enableAnalytics=!1,this.headerSize=void 0,this.headless=!1,this.readOnly=!1,this.encrypted=!1,this.uploadedFile=void 0,this.maxFileSize=1/0,this.minFileSize=0,this.percentUploaded=null,this.passwordError=void 0}return e.prototype.handleValueChange=function(e){var t=this;setTimeout((function(){t.updateStatusMessage(e)}))},e.prototype.percentHandler=function(e){e>=100&&this.resetState()},e.prototype.handleError=function(e,t){t&&e&&this.resetState()},e.prototype.resetState=function(){this.fileContents=null,this.uploadStatus="idle",this.percentUploaded=null,(0,n.f)(this.el)},e.prototype.updateStatusMessage=function(e){var t=this;setTimeout((function(){var i=t.el.shadowRoot.querySelector("#statusMessage");i&&(i.textContent=e),setTimeout((function(){i&&(i.textContent="")}),1e4)}),1e3)},e.prototype.generateFileContents=function(e){return function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function o(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){e.done?i(e.value):r(e.value).then(o,s)}l((n=n.apply(e,t||[])).next())}))}(this,void 0,void 0,(function(){var t,i,n,r,a=this;return function(e,t){var i,n,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(i=1,n&&(r=2&s[0]?n.return:s[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;switch(n=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){o.label=s[1];break}if(6===s[0]&&o.label<r[1]){o.label=r[1],r=s;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(s);break}r[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{i=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}(this,(function(o){switch(o.label){case 0:return e?[4,e.slice(0,20).arrayBuffer()]:[2];case 1:return t=o.sent(),i=new Uint8Array(t),n=i.every((function(e){return 0===e})),n||(r=new FileReader,this.fileType=e.type,r.onloadend=function(){a.fileContents=r.result},!this.fileType||"application/pdf"!==this.fileType&&!this.fileType.startsWith("image/")||this.fileType.includes("heic")||r.readAsDataURL(e)),[2]}}))}))},e.prototype.componentWillRender=function(){var e=!!this.el.querySelector(":scope > *"),t=!(!this.value&&!this.file||this.readOnly);this.showSeparator=e||t},e.prototype.componentDidLoad=function(){!function(e){(0,r.s)(l,e).forEach((function(e){var t=I(e),i=t.instructions,n=t.dropTarget;n.addEventListener("dragover",(function(){this.classList.add(x)}),!1),n.addEventListener("dragleave",(function(){this.classList.remove(x)}),!1),n.addEventListener("drop",(function(t){t.preventDefault(),this.classList.remove(x);var r=t.dataTransfer;if(t.target.files=r.files,!(r.files.length>1)){B(t,e,i,n);var a=new CustomEvent("change",{detail:{files:r.files}});e.dispatchEvent(a)}}),!1),e.addEventListener("input",(function(t){return B(t,e,i,n)}),!1)}))}(this.el)},e.prototype.connectedCallback=function(){this.el.addEventListener("change",this.handleChange)},e.prototype.disconnectedCallback=function(){this.el.removeEventListener("change",this.handleChange)},e.prototype.getDefaultUploadMessage=function(){return(0,n.h)("span",null,this.dragFileString,(0,n.h)("span",{class:"file-input-choose-text"},this.chooseFileString))},e.prototype.handlePasswordChange=function(e){this.vaPasswordChange.emit({password:e.target.value})},e.prototype.render=function(){var e=this,t=this,i=t.label,r=t.name,o=t.required,s=t.accept,l=t.error,c=t.hint,u=t.dragFileString,h=t.chooseFileString,d=t.uploadMessage,f=t.headerSize,p=t.fileContents,m=t.fileType,g=t.headless,v=t.value,b=t.readOnly,y=t.encrypted,x=t.statusText,w=t.uploadedFile,A=t.percentUploaded,S=t.passwordError,z=t.internalError;v&&!this.file&&this.handleFile(v,!1);var T=this.uploadStatus,k=this.file,F=l||z,C="".concat(c?"input-hint-message":""," ").concat(F?"input-error-message":"").trim()||null,E="file-input-target ".concat(F?"file-input-target-error":"").trim(),L=(0,n.h)("div",{key:"2a9207d6c52c70f433e690919b5d8bbede45ce3c",class:"thumbnail-container","aria-hidden":"true"},(0,n.h)("svg",{key:"0ef12f3c26be697762b8482f9c4cec22402897ec",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"#07648d",width:"40px",height:"40px"},(0,n.h)("path",{key:"0e1afced00c7d8d7a8317c4b1673487e7683a085",d:"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm160-14.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"})));F?L=(0,n.h)("div",{key:"645297225cdd9b0f619dd04660f3883acb72feeb",class:"thumbnail-container"},(0,n.h)("va-icon",{key:"02297e086380fe0cd80e56625c23cec071bdca5c",icon:"error",size:3,class:"thumbnail-preview thumbnail-error"})):p&&m.startsWith("image/")&&(L=(0,n.h)("div",{key:"51507a9f5a8b45594aca5fdbc7252f55eac030e7",class:"thumbnail-container","aria-hidden":"true"},(0,n.h)("img",{key:"1e304b78de0bf0772e9cab22bbb74835b8860933",class:"thumbnail-preview",src:p,alt:"image"})));var _=g?"headless-selected-files-wrapper":"selected-files-wrapper",M=null!==A&&A<100,q="file-status-label";return M&&(q="".concat(q," uploading-status")),(0,n.h)(n.H,{key:"d416dceedca410c4c3e74809fa5376a34894ea6a",class:{"has-error":!!F}},!b&&!g&&(0,n.h)("span",{key:"d347036d030bbda5780450d2df503a1905908c47"},i&&this.renderLabelOrHeader(i,o,f)),c&&!b&&!g&&(0,n.h)("div",{key:"0a576102d95284eb486bd8c4a4af408183eb968a",class:"usa-hint",id:"input-hint-message"},c),(0,n.h)("div",{key:"af20643cc5c1dd22a32324be60e08fb408272a2c",class:"file-input-wrapper",onDrop:this.handleDrop},(0,n.h)("input",{key:"1c380295da8d477fbe72be36f5cd1befa6472c31",id:"fileInputField",class:"file-input","aria-label":"".concat(i).concat(o?" "+a.i.t("required"):"",". ").concat(u).concat(h),style:{visibility:"success"===T||w||z?"hidden":"unset"},type:"file",ref:function(t){return e.fileInputRef=t},name:r,accept:s,"aria-describedby":C,onChange:this.handleChange}),w||k?(0,n.h)("div",{class:_},!g&&(0,n.h)("div",{class:"selected-files-label"},b?"Files you uploaded":"Selected files"),(0,n.h)("div",{class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),(0,n.h)("va-card",{class:"va-card"},(0,n.h)("div",{class:"file-info-section"},L,(0,n.h)("div",{class:"file-info-group vads-u-line-height--2"},(0,n.h)("span",{class:"file-label"},k?k.name:w.name),F&&(0,n.h)("span",{id:"input-error-message",role:"alert"},(0,n.h)("span",{class:"usa-sr-only"},a.i.t("error")),(0,n.h)("span",{"aria-live":"polite",class:"usa-error-message"},F)),!M&&(0,n.h)("span",{class:"file-size-label"},this.formatFileSize(k?k.size:w.size)),(0,n.h)("span",{class:q,"aria-live":"polite"},M?"Uploading...":x))),(0,n.h)("div",{class:this.showSeparator?"with-separator":void 0},!b&&M&&(0,n.h)(n.F,null,(0,n.h)("va-progress-bar",{percent:A,noPercentScreenReader:!0}),(0,n.h)("va-button-icon",{buttonType:"cancel",onClick:this.resetState.bind(this)})),!M&&(0,n.h)(n.F,null,y&&(0,n.h)("va-text-input",{type:"password",onInput:function(t){e.handlePasswordChange(t)},label:"File password",required:!0,error:S}),(0,n.h)("div",{class:"additional-info-slot"},(0,n.h)("slot",null))),!b&&!M&&(0,n.h)(n.F,null,(0,n.h)("div",{class:"file-button-section"},(0,n.h)("va-button-icon",{buttonType:"change-file",onClick:this.changeFile,label:"change file ".concat(k?k.name:w.name)}),(0,n.h)("va-button-icon",{buttonType:"delete",onClick:this.openModal,label:"delete file ".concat(k?k.name:w.name)})),(0,n.h)("va-modal",{modalTitle:"Delete this file?",visible:this.showModal,primaryButtonText:"Yes, delete this",secondaryButtonText:"No, keep this",onCloseEvent:this.closeModal,onPrimaryButtonClick:function(){return e.removeFile(!0)},onSecondaryButtonClick:this.closeModal},"We'll delete the uploaded file"," ",(0,n.h)("span",{class:"file-label"},k?k.name:w.name)))))):(0,n.h)("div",null,(0,n.h)("span",{id:"file-input-error-alert",role:"alert"},F&&(0,n.h)(n.F,null,(0,n.h)("span",{class:"usa-sr-only"},a.i.t("error")),(0,n.h)("span",{class:"usa-error-message"},F))),(0,n.h)("div",{class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),(0,n.h)("div",{class:E},(0,n.h)("div",{class:"file-input-box"}),(0,n.h)("div",{class:"file-input-instructions"},d||this.getDefaultUploadMessage())))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,n.g)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"watchers",{get:function(){return{statusText:["handleValueChange"],percentUploaded:["percentHandler"],error:["handleError"]}},enumerable:!1,configurable:!0}),e}();j.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-hint{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1023px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}[hidden]{display:none}:host{display:block;font-family:var(--font-source-sans);font-size:16.96px;}:host .label-header{color:var(--vads-color-base);font-weight:var(--font-weight-normal)}:host .label-header-tag{margin:0;display:inline-block}:host .file-input-wrapper{display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host .file-input{cursor:pointer;height:100%;width:100%;max-width:none;top:0;left:0;z-index:1;margin:0;position:absolute;text-indent:-999em;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target{border:1px dashed var(--vads-color-action-border-base-active-on-dark);display:block;margin-top:0.3125rem;position:relative;text-align:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target.file-input-target-error{border:2px dashed var(--vads-color-secondary-dark)}:host .file-input-box{background:var(--vads-color-white);height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}:host .file-input-instructions{font-size:1.06rem;padding:1.25rem 0.625rem;pointer-events:none;position:relative;z-index:3}:host .file-input-choose-text{color:var(--vads-color-link);text-decoration:underline;font-weight:var(--font-weight-normal)}:host .file-icon{color:var(--vads-color-primary-alt-darkest)}:host .selected-files-wrapper{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light)}:host .selected-files-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;border-bottom:1px solid var(--vads-color-white);margin-bottom:8px;padding:8px}:host .va-card{margin:8px}:host .file-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;padding:0 8px;display:block;width:100%;word-wrap:break-word;word-break:break-word;overflow:hidden}:host #input-error-message{padding:0 8px;width:100%}:host .file-size-label,:host .file-status-label{color:var(--vads-color-base-dark);font-weight:var(--font-weight-normal);font-size:1.06rem;padding:0 8px;display:block}:host .file-status-label{font-style:italic}:host .file-info-section{padding:0 8px 8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .file-button-section{margin-top:8px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row}:host .file-button-section>va-button-icon{font-size:1.06rem}@media screen and (max-width: 320px){:host .file-button-section{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}}:host .with-separator{border-top:1px solid var(--vads-color-base-lighter)}:host .vads-u-line-height--2{line-height:1.15}:host .thumbnail-container{height:40px;width:40px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host .thumbnail-preview{max-width:40px;width:auto;max-height:40px;height:auto}:host .thumbnail-error{color:#b21d38}:host va-progress-bar{font-size:var(--vads-font-size-root);display:block;margin-left:16px}:host .uploading-status{font-style:var(--font-style-italic)}:host(.has-error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host(.has-error){margin-left:-0.9rem}}.required{color:var(--vads-color-secondary-dark);margin-left:0.25rem}h1 .required,h2 .required,h3 .required,h4 .required,h5 .required,h6 .required{font-family:var(--font-source-sans);font-size:initial;font-weight:initial}'}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[4064,3126],{3126:function(e,t,n){function i(e){return!Number.isNaN(parseFloat(e))}function o(e,t,n){void 0===n&&(n="slot");var i=e.shadowRoot.querySelector(n).assignedNodes();return null!==t?Array.from(i).filter(function(e){return e.nodeName.toLowerCase()===t}):Array.from(i)}function a(e){return 1===e?"":"s"}function r(e,t){if(void 0===e||""===e)return"".concat(t," character").concat(a(t)," allowed");var n;if(e.length<=t){var i=t-e.length;n="".concat(i," character").concat(a(i)," left")}else i=e.length-t,n="".concat(i," character").concat(a(i)," over limit");return n}function s(e,t){return Array.from({length:t-e+1},function(t,n){return e+n})}n.r(t),n.d(t,{S:function(){return h},a:function(){return o},b:function(){return i},c:function(){return v},d:function(){return m},e:function(){return g},f:function(){return r},g:function(){return u},h:function(){return d},i:function(){return f},m:function(){return s},s:function(){return c},u:function(){return b}}),n(2625);var l=function(e){return e&&"object"==typeof e&&1===e.nodeType};function c(e,t){var n=function(e,t){if("string"!=typeof e)return[];if(!t||!l(t))return[];var n=t.shadowRoot.querySelectorAll(e);return Array.from(n)}(e,t);return"string"!=typeof e||l(t)&&t.matches(e)&&n.push(t),n}var h={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return h._entities[e]},escapeHTML:function(e){for(var t="",n=0;n<e.length;n++)t+=e[n],n+1<arguments.length&&(t+=String(arguments[n+1]||"").replace(h._entity,h.getEntity));return t}};function u(e){var t;return(t="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&t<=6?"h".concat(t):null}function d(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function f(e){return e&&"false"!==e||!1}function p(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"==typeof e||"function"==typeof t)return!0;if("object"!=typeof e||"object"!=typeof t)return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(p(e)||p(t)){if(!p(e)||!p(t))return!1;var o=Array.prototype.slice;return m(o.call(e),o.call(t),n,i)}if(e.constructor!==t.constructor)return!1;var a=Object.keys(e),r=Object.keys(t);if(0===a.length&&0===r.length)return!0;if(a.length!==r.length)return!1;for(var s=n.length;s--;)if(n[s]===e)return i[s]===t;n.push(e),i.push(t),a.sort(),r.sort();for(var l=a.length-1;l>=0;l--)if(a[l]!==r[l])return!1;for(var c=void 0,h=a.length-1;h>=0;h--)if(!m(e[c=a[h]],t[c],n,i))return!1;return n.pop(),i.pop(),!0}function v(e,t){var n;return function(){for(var i=this,o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout(function(){return e.apply(i,o)},t)}}function g(e){if(null!=e){var t="string"==typeof e?parseInt(e,10):e;if(!(t<=0||isNaN(t)))return t}}function b(e,t,n){e&&(e.innerText=r(t,g(n)))}},4064:function(e,t,n){n.r(t),n.d(t,{va_file_input:function(){return X}});var i=n(2625),o=n(3126),a=(n(2404),n(2265)),r="usa",s="".concat(r,"-file-input"),l=".".concat(s),c="".concat(r,"-file-input__input"),h="".concat(r,"-file-input__target"),u=".".concat(c),d="".concat(r,"-file-input__box"),f="".concat(r,"-file-input__instructions"),p="".concat(r,"-file-input__preview"),m="".concat(r,"-file-input__preview-heading"),v="".concat(r,"-file-input--disabled"),g="".concat(r,"-file-input__choose"),b="".concat(r,"-file-input__accepted-files-message"),w="".concat(r,"-file-input__drag-text"),y="".concat(r,"-file-input--drag"),x="is-loading",A="has-invalid-file",F="".concat(r,"-file-input__preview-image"),C="".concat(F,"--generic"),T="".concat(F,"--pdf"),z="".concat(F,"--word"),S="".concat(F,"--video"),L="".concat(F,"--excel"),k="".concat(r,"-sr-only"),E="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",_=Boolean(!0),I="",M="",H=function(e){var t=e.charCodeAt(0);return 32===t?"-":t>=65&&t<=90?"img_".concat(e.toLowerCase()):"__000".concat(t.toString(16).slice(-4))},q=function(e){return e.hasAttribute("multiple")?"files":"file"},R=function(e){var t=e.hasAttribute("aria-disabled")||e.hasAttribute("disabled"),n=function(e){var t=document.createElement("div"),n=document.createElement("div"),i=document.createElement("div");return e.classList.remove(s),e.classList.add(c),t.classList.add(s),i.classList.add(d),n.classList.add(h),n.prepend(i),e.parentNode.insertBefore(n,e),e.parentNode.insertBefore(t,n),n.appendChild(e),t.appendChild(n),n}(e),i=function(e){var t=e.closest(l),n=q(e),i=document.createElement("div"),a="Drag ".concat(n," here or"),r="choose from folder";return I="".concat(a," ").concat(r),i.classList.add(f),i.setAttribute("aria-hidden","true"),e.setAttribute("aria-label",I),i.innerHTML=o.S.escapeHTML('<span class="'.concat(w,'">').concat(a,'</span> <span class="').concat(g,'">').concat(r,"</span>")),e.parentNode.insertBefore(i,e),(/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.querySelector(".".concat(w)).outerHTML=""),i}(e),a=function(e){var t=e.closest(l);if(!t)throw new Error("Element is missing outer ".concat(l));var n=t.querySelector(u);return{dropZoneEl:t,inputEl:n}}(e).dropZoneEl;return t?a.classList.add(v):function(e){var t=document.createElement("div"),n=q(e),i=e.closest(l),o=e.closest(".".concat(h));M="No ".concat(n," selected."),t.classList.add(k),t.setAttribute("aria-live","polite"),t.textContent=M,i.insertBefore(t,o)}(e),{instructions:i,dropTarget:n}},W=function(e,t){var n=e.querySelectorAll(".".concat(p)),i=e.querySelector(".".concat(m)),o=e.querySelector(".".concat(b));i&&(i.outerHTML=""),o&&(o.outerHTML="",e.classList.remove(A)),null!==n&&(t&&t.removeAttribute("hidden"),Array.prototype.forEach.call(n,function(e){e.parentNode.removeChild(e)}))},B=function(e,t,n,i){!function(e,t,n,i){var o=t.getAttribute("accept");i.classList.remove(A);var a=function(e,t){var n=!1;return e.indexOf(t)>=0&&(n=!0),n};if(o){for(var r=o.split(","),s=document.createElement("div"),l=!0,c=e.target.files||e.dataTransfer.files,h=0;h<c.length;h+=1){var u=c[h];if(!l)break;for(var d=0;d<r.length;d+=1){var f=r[d];if(l=u.name.indexOf(f)>0||a(u.type,f.replace(/\*/g,""))){_=!0;break}}}l||(W(i,n),t.value="",i.insertBefore(s,t),s.textContent=t.dataset.errormessage||"This is not a valid file type.",s.classList.add(b),i.classList.add(A),_=!1,e.preventDefault(),e.stopPropagation())}}(e,t,n,i),!0===_&&function(e,t,n,i){var a=t.getAttribute("multiple")?e.target.files:[e.target.files[0]],r=i.closest(".".concat(s)).querySelector(".".concat(k)),l=[];W(i,n);for(var c=function(e){var t,r=new FileReader,s=a[e].name;l.push(s),r.onloadstart=function(){t=function(e){return"".concat(e,"-").concat(Math.floor(Date.now()/1e3))}(function(e){return e.replace(/[^a-z0-9]/g,H)}(s)),n.insertAdjacentHTML("afterend",o.S.escapeHTML('<div class="'.concat(p,'" aria-hidden="true">\n <img id="').concat(t,'" src="').concat(E,'" alt="" class="').concat(F," ").concat(x,'"/>').concat(s,"\n <div>")))},r.onloadend=function(){var e=i.querySelector("#".concat(t));s.indexOf(".pdf")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(E,'"; this.classList.add("').concat(T,'")')):s.indexOf(".doc")>0||s.indexOf(".pages")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(E,'"; this.classList.add("').concat(z,'")')):s.indexOf(".xls")>0||s.indexOf(".numbers")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(E,'"; this.classList.add("').concat(L,'")')):s.indexOf(".mov")>0||s.indexOf(".mp4")>0?e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(E,'"; this.classList.add("').concat(S,'")')):e.setAttribute("onerror",'this.onerror=null;this.src="'.concat(E,'"; this.classList.add("').concat(C,'")')),e.classList.remove(x),e.src=r.result},a[e]&&r.readAsDataURL(a[e])},u=0;u<a.length;u+=1)c(u);0===a.length?t.setAttribute("aria-label",I):function(e,t){var n=document.createElement("div"),i=e.closest(".".concat(h)),a=i.querySelector(".".concat(f)),r="Change file",s="";1===t.length?s=o.S.escapeHTML('Selected file <span class="usa-file-input__choose">'.concat(r,"</span>")):t.length>1&&(r="Change files",s=o.S.escapeHTML("".concat(t.length,' files selected <span class="usa-file-input__choose">').concat(r,"</span>"))),a.setAttribute("hidden","true"),n.classList.add(m),n.innerHTML=s,i.insertBefore(n,a),e.setAttribute("aria-label",r)}(t,a),function(e,t,n){var i=e,o=M;1===t.length?o="You have selected the file: ".concat(n):t.length>1&&(o="You have selected ".concat(t.length," files: ").concat(n.join(", "))),setTimeout(function(){i.textContent=o},1e3)}(r,a,l)}(e,t,n,i)},P={".txt":"text/plain",".pdf":"application/pdf",".doc":"application/msword",".docx":"application/vnd.openxmlformats-officedocument.wordprocessingml.document",".odt":"application/vnd.oasis.opendocument.text",".rtf":"application/rtf",".csv":"text/csv",".xls":"application/vnd.ms-excel",".xlsx":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",".ppt":"application/vnd.ms-powerpoint",".pptx":"application/vnd.openxmlformats-officedocument.presentationml.presentation",".jpg":"image/jpeg",".jpeg":"image/jpeg",".png":"image/png",".gif":"image/gif",".bmp":"image/bmp",".webp":"image/webp",".tif":"image/tiff",".tiff":"image/tiff",".svg":"image/svg+xml",".mp3":"audio/mpeg",".wav":"audio/wav",".ogg":"audio/ogg",".m4a":"audio/mp4",".aac":"audio/aac",".mp4":"video/mp4",".avi":"video/x-msvideo",".mov":"video/quicktime",".wmv":"video/x-ms-wmv",".flv":"video/x-flv",".mkv":"video/x-matroska",".webm":"video/webm",".zip":"application/zip",".rar":"application/x-rar-compressed",".7z":"application/x-7z-compressed",".tar":"application/x-tar",".gz":"application/gzip",".json":"application/json",".xml":"application/xml",".html":"text/html",".htm":"text/html",".css":"text/css",".js":"application/javascript",".heic":"image/heic"},N="choose from folder",U="Drag a file here or ",j="change file.",O="delete file.",D="Error:",G="You have selected the file:";function V(e,t,n){var i=0,o=function(){var a=e.shadowRoot.querySelector(t),r=null==a?void 0:a.shadowRoot.querySelector(n);r?r.focus():i<10&&(i++,setTimeout(o,100))};setTimeout(o,250)}function Y(e){V(e,"va-button-icon","button")}function Z(e){requestAnimationFrame(function(){requestAnimationFrame(function(){e&&e.focus()})})}function K(e){V(e,"va-text-input","input")}function Q(e){var t=["B","KB","MB","GB","TB"];if(0===e)return"0 B";var n=Math.floor(Math.log(e)/Math.log(1024));if(0===n)return"".concat(e," ").concat(t[n]);var i=(e/Math.pow(1024,n)).toFixed(n<2?0:1);return"".concat(i," ").concat(t[n])}function J(e){if(e)return(0,i.h)("span",{id:"input-error-message",class:"usa-error-message"},e)}var X=function(){function e(e){var t=this;(0,i.r)(this,e),this.vaChange=(0,i.c)(this,"vaChange",7),this.vaPasswordChange=(0,i.c)(this,"vaPasswordChange",7),this.vaFileInputError=(0,i.c)(this,"vaFileInputError",7),this.componentLibraryAnalytics=(0,i.c)(this,"component-library-analytics",7),this.delayPasswordInputFocusUntilWindowFocus=!1,this.delayChangeButtonFocusUntilWindowFocus=!1,this.slottedContent=null,this.windowHasFocus=!0,this.initialUploadAttemptHasTakenPlace=!1,this.FILE_PREVIEW_SIZE_LIMIT=5242880,this.handleChange=function(e){var n=e.target;t.fileContents=null,n.files&&n.files.length>0&&t.handleFile(n.files[0],!0)},this.handleDrop=function(e){e.preventDefault(),e.stopPropagation();var n=e.dataTransfer.files;n.length>0&&t.handleFile(n[0],!0)},this.removeFile=function(e){void 0===e&&(e=!0),t.internalError=null,e&&t.vaChange.emit({files:[]}),t.file=null,t.uploadedFile=null,t.fileInputRef&&(t.fileInputRef.value=""),t.closeModal()},this.openModal=function(){t.el.shadowRoot.querySelector("va-modal").setAttribute("status","warning"),t.showModal=!0},this.closeModal=function(){t.showModal=!1},this.changeFile=function(){t.fileInputRef&&t.fileInputRef.click()},this.file=void 0,this.fileContents=void 0,this.internalError=void 0,this.showModal=!1,this.showSeparator=!0,this.label=void 0,this.name=void 0,this.value=void 0,this.required=!1,this.accept=void 0,this.error=void 0,this.hint=void 0,this.statusText=void 0,this.uploadMessage=null,this.enableAnalytics=!1,this.headerSize=void 0,this.headless=!1,this.readOnly=!1,this.encrypted=!1,this.uploadedFile=void 0,this.maxFileSize=1/0,this.minFileSize=0,this.percentUploaded=null,this.passwordError=void 0}return e.prototype.handleExternalErrorChange=function(e,t){t&&e?this.resetState():e&&Z(this.fileInputRef)},e.prototype.handleInternalErrorChange=function(e){e&&this.windowHasFocus?Y(this.el):e&&!this.windowHasFocus&&(this.delayChangeButtonFocusUntilWindowFocus=!0)},e.prototype.percentHandler=function(e){e>=100&&this.resetState()},e.prototype.handleShowModalChange=function(e){e||this.file||Z(this.fileInputRef)},e.prototype.handleStatusTextChange=function(e){e&&Z(this.fileInputRef)},e.prototype.handleEncryptedChange=function(e){e&&this.file&&(this.windowHasFocus?K(this.el):this.delayPasswordInputFocusUntilWindowFocus=!0)},e.prototype.handleFileChange=function(e,t){e&&e!==t&&this.encrypted&&(this.windowHasFocus?K(this.el):this.delayPasswordInputFocusUntilWindowFocus=!0)},e.prototype.handleValueChange=function(e){e&&e!==this.file?this.handleFile(e,!1,!0):e||this.removeFile(!1)},e.prototype.handleWindowBlur=function(){this.windowHasFocus=!1},e.prototype.handleWindowFocus=function(){if(this.windowHasFocus=!0,this.delayChangeButtonFocusUntilWindowFocus||this.delayPasswordInputFocusUntilWindowFocus)return this.delayChangeButtonFocusUntilWindowFocus?(this.delayChangeButtonFocusUntilWindowFocus=!1,void Y(this.el)):void(this.delayPasswordInputFocusUntilWindowFocus&&(this.encrypted||this.passwordError)&&(this.delayPasswordInputFocusUntilWindowFocus=!1,K(this.el)))},e.prototype.resetState=function(){this.fileContents=null,this.percentUploaded=null,(0,i.f)(this.el)},e.prototype.handleFile=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1),this.initialUploadAttemptHasTakenPlace=!0;var i=null;if(this.accept){var o=function(e){return e.split(",").map(function(e){return(e=e.trim()).startsWith(".")?P[e]:e})}(this.accept);(function(e,t){for(var n=0,i=t;n<i.length;n++){var o=i[n];if(o===e)return!0;if(o.endsWith("/*")&&e.startsWith(o.slice(0,-1)))return!0}return!1})(e.type,o)||(this.removeFile(!1),i=function(e){var t=function(e){var t=e.name.replace(/^\./,"");return(t.includes(".")?".".concat(t.split(".").pop()):null)||e.type}(e),n=t?"".concat(t," files"):"this file type";return"We do not accept ".concat(n,". Choose a new file.")}(e))}if(0===e.size&&(i="The file you selected is empty. Files must be larger than 0B."),e.size>this.maxFileSize&&(i="\n We can't upload your file because it's too big. Files must be less than ".concat(Q(this.maxFileSize),".")),e.size<this.minFileSize&&(i="We can't upload your file because it's too small. Files must be at least ".concat(Q(this.minFileSize),".")),this.uploadedFile=null,this.file=e,i)return this.internalError=i,this.vaFileInputError.emit({error:i}),void this.resetState();t&&this.vaChange.emit({files:[this.file]}),this.internalError=null,e.size<this.FILE_PREVIEW_SIZE_LIMIT&&this.generateFileContents(this.file),n||Z(this.fileInputRef),this.enableAnalytics&&this.componentLibraryAnalytics.emit({componentName:"va-file-input",action:"change",details:{label:this.label}})},e.prototype.generateFileContents=function(e){return function(e,t,n,i){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,a){function r(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){e.done?n(e.value):o(e.value).then(r,s)}l((i=i.apply(e,t||[])).next())})}(this,void 0,void 0,function(){var t,n,i,o,a=this;return function(e,t){var n,i,o,a,r={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(r=0)),r;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return r.label++,{value:s[1],done:!1};case 5:r.label++,i=s[1],s=[0];continue;case 7:s=r.ops.pop(),r.trys.pop();continue;default:if(!((o=(o=r.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){r=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(6===s[0]&&r.label<o[1]){r.label=o[1],o=s;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(s);break}o[2]&&r.ops.pop(),r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}(this,function(r){switch(r.label){case 0:return e?[4,e.slice(0,20).arrayBuffer()]:[2];case 1:return t=r.sent(),n=new Uint8Array(t),i=n.every(function(e){return 0===e}),i||(o=new FileReader,this.fileType=e.type,o.onloadend=function(){a.fileContents=o.result},!this.fileType||"application/pdf"!==this.fileType&&!this.fileType.startsWith("image/")||this.fileType.includes("heic")||o.readAsDataURL(e)),[2]}})})},e.prototype.handlePasswordChange=function(e){this.vaPasswordChange.emit({password:e.target.value})},e.prototype.componentWillRender=function(){this.slottedContent=Array.from(this.el.querySelectorAll(":scope > *")),!this.value||this.file||this.initialUploadAttemptHasTakenPlace||(this.handleFile(this.value,!1,!0),this.initialUploadAttemptHasTakenPlace=!0);var e=!(!this.value&&!this.file||this.readOnly);this.showSeparator=this.slottedContent.length>0||e},e.prototype.componentDidLoad=function(){!function(e){(0,o.s)(l,e).forEach(function(e){var t=R(e),n=t.instructions,i=t.dropTarget;i.addEventListener("dragover",function(){this.classList.add(y)},!1),i.addEventListener("dragleave",function(){this.classList.remove(y)},!1),i.addEventListener("drop",function(t){t.preventDefault(),this.classList.remove(y);var o=t.dataTransfer;if(t.target.files=o.files,!(o.files.length>1)){B(t,e,n,i);var a=new CustomEvent("change",{detail:{files:o.files}});e.dispatchEvent(a)}},!1),e.addEventListener("input",function(t){return B(t,e,n,i)},!1)})}(this.el)},e.prototype.render=function(){var e=this,t=this,n=t.label,o=t.name,r=t.required,s=t.accept,l=t.error,c=t.hint,h=t.initialUploadAttemptHasTakenPlace,u=t.uploadMessage,d=t.headerSize,f=t.fileContents,p=t.fileType,m=t.headless,v=t.readOnly,g=t.encrypted,b=t.statusText,w=t.uploadedFile,y=t.percentUploaded,x=t.passwordError,A=t.internalError,F=this.file,C=l||A,T="file-input-target ".concat(C?"file-input-target-error":"").trim(),z=m?"headless-selected-files-wrapper":"selected-files-wrapper",S=null!==y&&y<100,L="file-status-label";S&&(L="".concat(L," uploading-status"));var k=function(e,t,n,i,o,r){var s="".concat(e).concat(t?" "+a.i.t("required"):"",". ").concat(U).concat(N);if(n)return{inputAriaLabel:"".concat(D," ").concat(n," ").concat(s),deleteFileAriaLabel:"".concat(O," ").concat(D," ").concat(n),changeFileAriaLabel:"".concat(j," ").concat(D," ").concat(n)};i&&o?s="".concat(G," ").concat(o.name,"."):!i&&r?s="".concat(G," ").concat(r.name,"."):!i||o||r||(s="".concat("File deleted. No file selected."," ").concat(s));var l=void 0,c=void 0;return o?(l="".concat(j," ").concat(o.name),c="".concat(O," ").concat(o.name)):r&&(l="".concat(j," ").concat(r.name),c="".concat(O," ").concat(r.name)),{inputAriaLabel:s,deleteFileAriaLabel:c,changeFileAriaLabel:l}}(n,r,C,h,F,w),E=k.inputAriaLabel,_=k.deleteFileAriaLabel,I=k.changeFileAriaLabel;return(0,i.h)(i.H,{key:"2c0d0b8ca817db08ca5cefaa28d8e196112be508",class:{"has-error":!!C}},!v&&!m&&(0,i.h)("span",{key:"6bf32739027312a5274c478d15bf7524433417f9"},n&&function(e,t,n){var o=t?(0,i.h)("span",{class:"required"}," ",a.i.t("required")):null;if(n&&n>=1&&n<=6){var r="h".concat(n);return(0,i.h)("div",{class:"label-header"},(0,i.h)(r,{htmlFor:"fileInputField",part:"label",class:"label-header-tag"},e,o))}return(0,i.h)("div",{class:"label-header"},(0,i.h)("label",{htmlFor:"fileInputField",part:"label",class:"usa-label"},e,o))}(n,r,d)),c&&!v&&!m&&(0,i.h)("div",{key:"9be648ac17f9d1d299d9d3a39f71bcb31572a442",class:"usa-hint",id:"input-hint-message"},c),(0,i.h)("div",{key:"6e36282114d2bbf4a4c853d7e9e64a6e0b95f649",class:"file-input-wrapper",onDrop:this.handleDrop},(0,i.h)("input",{key:"c60cb5ef06fe9f25587a486458404455529617b3",id:"fileInputField",class:"file-input ".concat(F||w?"with-file":""),"aria-label":E,type:"file",ref:function(t){return e.fileInputRef=t},name:o,accept:s,onChange:this.handleChange}),w||F?(0,i.h)("div",{class:z},!m&&(0,i.h)("div",{class:"selected-files-label"},v?"Files you uploaded":"Selected files"),(0,i.h)("va-card",{class:"va-card"},(0,i.h)("div",{class:"file-info-section"},function(e,t,n){return e?(0,i.h)("div",{class:"thumbnail-container"},(0,i.h)("va-icon",{icon:"error",size:3,class:"thumbnail-preview thumbnail-error"})):t&&(null==n?void 0:n.startsWith("image/"))?(0,i.h)("div",{class:"thumbnail-container","aria-hidden":"true"},(0,i.h)("img",{class:"thumbnail-preview",src:t,alt:"image"})):(0,i.h)("div",{class:"thumbnail-container","aria-hidden":"true"},(0,i.h)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"#07648d",width:"40px",height:"40px"},(0,i.h)("path",{d:"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm160-14.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"})))}(C,f,p),(0,i.h)("div",{class:"file-info-group vads-u-line-height--2"},(0,i.h)("span",{class:"file-label"},F?F.name:w.name),J(C),!S&&(0,i.h)("span",{class:"file-size-label"},Q(F?F.size:w.size)),(S||b)&&(0,i.h)("span",{class:L},S?"Uploading...":b))),(0,i.h)("div",{class:this.showSeparator?"with-separator":void 0},!v&&S&&(0,i.h)("div",{class:"progress-bar-and-cancel-button"},(0,i.h)("va-progress-bar",{percent:y,noPercentScreenReader:!0}),(0,i.h)("va-button-icon",{buttonType:"cancel",onClick:this.resetState.bind(this)})),!S&&(0,i.h)(i.F,null,g&&(0,i.h)("va-text-input",{type:"password",onInput:function(t){e.handlePasswordChange(t)},label:"File password",required:!0,error:x}),(0,i.h)("div",{class:"additional-info-slot"},(0,i.h)("slot",null))),!v&&!S&&(0,i.h)(i.F,null,(0,i.h)("div",{class:"file-button-section"},(0,i.h)("va-button-icon",{buttonType:"change-file",onClick:this.changeFile,label:I}),(0,i.h)("va-button-icon",{buttonType:"delete",onClick:this.openModal,label:_})),(0,i.h)("va-modal",{modalTitle:"Delete this file?",visible:this.showModal,primaryButtonText:"Yes, delete this",secondaryButtonText:"No, keep this",onCloseEvent:this.closeModal,onPrimaryButtonClick:function(){return e.removeFile(!0)},onSecondaryButtonClick:this.closeModal},"We'll delete the uploaded file"," ",(0,i.h)("span",{class:"file-label"},F?F.name:w.name)))))):(0,i.h)("div",null,(0,i.h)("span",{id:"file-input-error-alert"},J(C)),(0,i.h)("div",{class:T},(0,i.h)("div",{class:"file-input-box"}),(0,i.h)("div",{class:"file-input-instructions"},function(e){return e||(0,i.h)("span",null,U,(0,i.h)("span",{class:"file-input-choose-text"},N))}(u))))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,i.g)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"watchers",{get:function(){return{error:["handleExternalErrorChange"],internalError:["handleInternalErrorChange"],percentUploaded:["percentHandler"],showModal:["handleShowModalChange"],statusText:["handleStatusTextChange"],encrypted:["handleEncryptedChange"],file:["handleFileChange"],value:["handleValueChange"]}},enumerable:!1,configurable:!0}),e}();X.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-hint{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1023px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}[hidden]{display:none}:host{display:block;font-family:var(--font-source-sans);font-size:16.96px;}:host .label-header{color:var(--vads-color-base);font-weight:var(--font-weight-normal)}:host .label-header-tag{margin:0;display:inline-block}:host .file-input-wrapper{display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host .file-input{cursor:pointer;height:100%;width:100%;max-width:none;top:0;left:0;z-index:1;margin:0;position:absolute;text-indent:-999em;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input.with-file{pointer-events:none}:host .file-input-target{border:1px dashed var(--vads-color-action-border-base-active-on-dark);display:block;margin-top:0.3125rem;position:relative;text-align:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target.file-input-target-error{border:2px dashed var(--vads-color-secondary-dark)}:host .file-input-box{background:var(--vads-color-white);height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}:host .file-input-instructions{font-size:1.06rem;padding:1.25rem 0.625rem;pointer-events:none;position:relative;z-index:3}:host .file-input-choose-text{color:var(--vads-color-link);text-decoration:underline;font-weight:var(--font-weight-normal)}:host .file-icon{color:var(--vads-color-primary-alt-darkest)}:host .selected-files-wrapper{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light)}:host .selected-files-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;border-bottom:1px solid var(--vads-color-white);margin-bottom:8px;padding:8px}:host .va-card{margin:8px}:host .file-info-group{padding-left:0.5rem}:host #input-error-message{padding:0.25rem 0;width:100%}:host va-card #input-error-message{padding:0}:host .file-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;display:block;width:100%;word-wrap:break-word;word-break:break-word;overflow:hidden}:host .file-size-label,:host .file-status-label{color:var(--vads-color-base-dark);font-weight:var(--font-weight-normal);font-size:var(--vads-font-size-source-sans-normalized);line-height:var(--vads-font-line-height-1);display:block}:host .file-status-label{font-style:italic}:host .file-info-section{padding:0 8px 8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .file-button-section,:host .additional-info-slot,:host .progress-bar-and-cancel-button,:host va-text-input{position:relative;z-index:2}:host .file-button-section{margin-top:8px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row}:host .file-button-section>va-button-icon{font-size:1.06rem}@media screen and (max-width: 320px){:host .file-button-section{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}}:host .with-separator{border-top:1px solid var(--vads-color-base-lighter)}:host .vads-u-line-height--2{line-height:1.15}:host .thumbnail-container{height:40px;width:40px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0}:host .thumbnail-preview{max-width:40px;width:auto;max-height:40px;height:auto}:host .thumbnail-error{color:#b21d38}:host va-progress-bar{font-size:var(--vads-font-size-root);display:block;margin-left:16px}:host .uploading-status{font-style:var(--font-style-italic)}:host(.has-error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host(.has-error){margin-left:-0.9rem}}.required{color:var(--vads-color-secondary-dark);margin-left:0.25rem}h1 .required,h2 .required,h3 .required,h4 .required,h5 .required,h6 .required{font-family:var(--font-source-sans);font-size:initial;font-weight:initial}'}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 4117.app.bundle.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[4117,4164,3126],{4164:function(e,a,t){t.r(a),t.d(a,{c:function(){return o}});var r,i={exports:{}};r=i,function(){var e={}.hasOwnProperty;function a(){for(var t=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)t.push(i);else if(Array.isArray(i)){if(i.length){var n=a.apply(null,i);n&&t.push(n)}}else if("object"===o)if(i.toString===Object.prototype.toString)for(var s in i)e.call(i,s)&&i[s]&&t.push(s);else t.push(i.toString())}}return t.join(" ")}r.exports?(a.default=a,r.exports=a):window.classNames=a}();var o=i.exports},3126:function(e,a,t){function r(e){return!Number.isNaN(parseFloat(e))}function i(e,a,t){void 0===t&&(t="slot");var r=e.shadowRoot.querySelector(t).assignedNodes();return null!==a?Array.from(r).filter((function(e){return e.nodeName.toLowerCase()===a})):Array.from(r)}function o(e){return 1===e?"":"s"}function n(e,a){if(void 0===e||""===e)return"".concat(a," character").concat(o(a)," allowed");var t;if(e.length<=a){var r=a-e.length;t="".concat(r," character").concat(o(r)," left")}else r=e.length-a,t="".concat(r," character").concat(o(r)," over limit");return t}function s(e,a){return Array.from({length:a-e+1},(function(a,t){return e+t}))}t.r(a),t.d(a,{S:function(){return c},a:function(){return i},b:function(){return r},c:function(){return p},d:function(){return m},e:function(){return g},f:function(){return n},g:function(){return d},h:function(){return h},i:function(){return f},m:function(){return s},s:function(){return l},u:function(){return v}}),t(2625);var u=function(e){return e&&"object"==typeof e&&1===e.nodeType};function l(e,a){var t=function(e,a){if("string"!=typeof e)return[];if(!a||!u(a))return[];var t=a.shadowRoot.querySelectorAll(e);return Array.from(t)}(e,a);return"string"!=typeof e||u(a)&&a.matches(e)&&t.push(a),t}var c={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return c._entities[e]},escapeHTML:function(e){for(var a="",t=0;t<e.length;t++)a+=e[t],t+1<arguments.length&&(a+=String(arguments[t+1]||"").replace(c._entity,c.getEntity));return a}};function d(e){var a;return(a="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&a<=6?"h".concat(a):null}function h(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function f(e){return e&&"false"!==e||!1}function b(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function m(e,a){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===a)return!0;if("function"==typeof e||"function"==typeof a)return!0;if("object"!=typeof e||"object"!=typeof a)return!1;if(null===e||null===a)return!1;if(e instanceof Date&&a instanceof Date)return e.getTime()===a.getTime();if(e instanceof RegExp&&a instanceof RegExp)return e.source===a.source&&e.global===a.global&&e.multiline===a.multiline&&e.lastIndex===a.lastIndex&&e.ignoreCase===a.ignoreCase;if(b(e)||b(a)){if(!b(e)||!b(a))return!1;var i=Array.prototype.slice;return m(i.call(e),i.call(a),t,r)}if(e.constructor!==a.constructor)return!1;var o=Object.keys(e),n=Object.keys(a);if(0===o.length&&0===n.length)return!0;if(o.length!==n.length)return!1;for(var s=t.length;s--;)if(t[s]===e)return r[s]===a;t.push(e),r.push(a),o.sort(),n.sort();for(var u=o.length-1;u>=0;u--)if(o[u]!==n[u])return!1;for(var l=void 0,c=o.length-1;c>=0;c--)if(!m(e[l=o[c]],a[l],t,r))return!1;return t.pop(),r.pop(),!0}function p(e,a){var t;return function(){for(var r=this,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];clearTimeout(t),t=setTimeout((function(){return e.apply(r,i)}),a)}}function g(e){if(null!=e){var a="string"==typeof e?parseInt(e,10):e;if(!(a<=0||isNaN(a)))return a}}function v(e,a,t){e&&(e.innerText=n(a,g(t)))}},4117:function(e,a,t){t.r(a),t.d(a,{va_textarea:function(){return s}});var r=t(2625),i=t(4164),o=(t(2404),t(3126)),n=t(2265),s=function(){function e(e){var a=this;(0,r.r)(this,e),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.debouncedUpdateScreenReaderCount=(0,o.c)(o.u,1e3),this.handleInput=function(e){var t=e.target;a.value=t.value,a.debouncedUpdateScreenReaderCount(a.charCountElement,a.value,(0,o.e)(a.maxlength))},this.handleBlur=function(){a.enableAnalytics&&a.value&&a.componentLibraryAnalytics.emit({componentName:"va-textarea",action:"blur",details:{label:a.label,value:a.value}})},this.label=void 0,this.error=void 0,this.placeholder=void 0,this.name=void 0,this.required=!1,this.hint=void 0,this.messageAriaDescribedby=void 0,this.maxlength=void 0,this.value=void 0,this.enableAnalytics=!1,this.labelHeaderLevel=void 0,this.headerAriaDescribedby=void 0,this.useFormsPattern=void 0,this.formHeadingLevel=3,this.formHeading=void 0,this.charcount=!1}return e.prototype.connectedCallback=function(){var e=this;n.i.on("languageChanged",(function(){(0,r.f)(e.el)}))},e.prototype.disconnectedCallback=function(){n.i.off("languageChanged")},e.prototype.componentDidRender=function(){var e=this;this.charCountElement&&!this.charCountElement.innerText&&(this.charCountElement.innerText=(0,o.f)(this.value,(0,o.e)(this.maxlength)),setTimeout((function(){e.charCountElement.setAttribute("aria-live","polite")}),0))},e.prototype.render=function(){var e=this,a=this,t=a.label,s=a.error,u=a.placeholder,l=a.name,c=a.required,d=a.value,h=a.hint,f=a.charcount,b=a.messageAriaDescribedby,m=a.useFormsPattern,p=a.formHeadingLevel,g=a.headerAriaDescribedby,v=a.formHeading,y=(0,o.e)(this.maxlength),x="".concat(s?"input-error-message":""," ").concat(f&&y?"charcount-message":""," ").concat(b?"input-message":"").trim()||null,w="".concat(m&&v?"form-question":""," ").concat(m?"form-description":""," ").concat(m&&t?"input-label":"").trim()||null,k=(0,o.g)(this.labelHeaderLevel),T=g?"header-message":null,_=f&&(null==d?void 0:d.length)>y,z=(0,i.c)({"usa-label":!0,"usa-label--error":s}),A=(0,i.c)({"usa-textarea":!0,"usa-input--error":s}),S=(0,i.c)({"usa-hint":!0,"usa-character-count__status":f,"usa-character-count__status--invalid":f&&y&&(null==d?void 0:d.length)>y}),C=null;if("single"===m||"multiple"===m){var N=(0,o.g)(p);C=(0,r.h)(r.F,{key:"24f9b946173ebc8c111d01b37d353af001b08a78"},v&&(0,r.h)(N,{key:"339a89ac680930ecf31787c4e5569d65a10ad7b3",id:"form-question",part:"form-header"},v),(0,r.h)("div",{key:"1c8b286b75b940ee8339020ba460579f8e072cdb",id:"form-description"},(0,r.h)("slot",{key:"00cde737ee5dc0ca932f75096ec506aa96c61f0b",name:"form-description"})))}var q=(0,r.h)("label",{key:"255b31f042d7704992827f92d5d1caac78ff3a59",htmlFor:"input-type-textarea",id:"input-label",class:z,part:"label"},t,"multiple"===m&&g?(0,r.h)("span",{id:"header-message",class:"usa-sr-only"},(0,r.h)("span",null,t),(0,r.h)("span",null,g)):"multiple"===m?(0,r.h)("span",{id:"header-message",class:"usa-sr-only"},t):g?(0,r.h)("span",{id:"header-message",class:"usa-sr-only"},g):null,c&&(0,r.h)("span",{key:"53f624354ef85b75354330577c7872ec624e7090",class:"usa-label--required"}," ",n.i.t("required")),h&&(0,r.h)("div",{key:"7d46de17ec0de169590c1e3a241add5218adf489",class:"usa-hint"},h));return(0,r.h)(r.H,{key:"8b745bd6e95f720f66b860feda9ef6e59f8f7f6f"},C,(0,r.h)("div",{key:"1d09d1be40fa9689bbec3dae73f8d66eae3ad727",class:"input-wrap"},t&&k?(0,r.h)(k,{part:"header","aria-describedby":T},q):q,(0,r.h)("slot",{key:"ea6c2d3999d97dd100a5c9e037f6e70c7d5ca406"}),(0,r.h)("span",{key:"928943942585dbd43e81548e573329607b2b7da3",id:"input-error-message",role:"alert"},s&&(0,r.h)(r.F,{key:"6707e241cf5283830dec87d30bc441792160d942"},(0,r.h)("span",{key:"8396b7050fd093f55020afbe8de35c6589d66d2c",class:"usa-sr-only"},n.i.t("error")),(0,r.h)("span",{key:"a0b1606ac87b70424381c6ecf83cc32cdde728d1",class:"usa-error-message"},s))),(0,r.h)("textarea",{key:"bf772e6879bfd740b50a10a07ace914d616eb52b",class:A,"aria-describedby":x,"aria-invalid":s||_?"true":"false","aria-labelledby":w,onInput:this.handleInput,onBlur:this.handleBlur,id:"input-type-textarea",placeholder:u,name:l,maxLength:f?void 0:y,value:d,part:"input-type-textarea"}),!f&&y&&(null==d?void 0:d.length)>=y&&(0,r.h)("span",{key:"7c86219c5f617e90f0bcae56d37c079833e10fb5",class:S,"aria-live":"polite"},n.i.t("max-chars",{length:y})),f&&y&&(0,r.h)(r.F,{key:"278f15d970a824dc305cb7ad3f53823baabe89c6"},(0,r.h)("span",{key:"2272f75e92dffa6e6429c3bb31680351682366b8","aria-hidden":"true",class:S},(0,o.f)(this.value,(0,o.e)(this.maxlength))),(0,r.h)("span",{key:"e4ce3e648582ef0f7d45e7e775796b69e86a450e",id:"charcount-message",class:"usa-sr-only",ref:function(a){return e.charCountElement=a}})),(0,o.i)(b)&&(0,r.h)("span",{key:"d47dc199a00c63a8f079901b6e4e03778403cb79",id:"input-message",class:"usa-sr-only dd-privacy-hidden"},b)))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();s.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-textarea,.usa-hint,.usa-input{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-textarea,.usa-input{border-width:1px;border-color:#565c65;border-style:solid;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;color:#1b1b1b;display:block;height:2.5rem;margin-top:0.5rem;max-width:30rem;padding:0.5rem;width:100%}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-input:disabled,.usa-input[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1;-webkit-text-fill-color:#454545}.usa-input:disabled:hover,.usa-input:disabled:active,.usa-input:disabled:focus,.usa-input:disabled.usa-focus,.usa-input[aria-disabled=true]:hover,.usa-input[aria-disabled=true]:active,.usa-input[aria-disabled=true]:focus,.usa-input[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-input:disabled,.usa-input[aria-disabled=true]{border:0;color:GrayText}.usa-input:disabled:hover,.usa-input:disabled:active,.usa-input:disabled:focus,.usa-input:disabled.usa-focus,.usa-input[aria-disabled=true]:hover,.usa-input[aria-disabled=true]:active,.usa-input[aria-disabled=true]:focus,.usa-input[aria-disabled=true].usa-focus{color:GrayText}}@media (forced-colors: active){.usa-input:disabled,.usa-input[aria-disabled=true]{border:2px solid GrayText}}.usa-input--error{border-width:0.25rem;border-color:#b50909;border-style:solid;padding-top:calc(0.5rem - 0.25rem);padding-bottom:calc(0.5rem - 0.25rem)}.usa-input--success{border-width:0.25rem;border-color:#00a91c;border-style:solid;padding-top:calc(0.5rem - 0.25rem);padding-bottom:calc(0.5rem - 0.25rem)}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1}.usa-textarea:disabled:hover,.usa-textarea:disabled:active,.usa-textarea:disabled:focus,.usa-textarea:disabled.usa-focus,.usa-textarea[aria-disabled=true]:hover,.usa-textarea[aria-disabled=true]:active,.usa-textarea[aria-disabled=true]:focus,.usa-textarea[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{border:0;color:GrayText}.usa-textarea:disabled:hover,.usa-textarea:disabled:active,.usa-textarea:disabled:focus,.usa-textarea:disabled.usa-focus,.usa-textarea[aria-disabled=true]:hover,.usa-textarea[aria-disabled=true]:active,.usa-textarea[aria-disabled=true]:focus,.usa-textarea[aria-disabled=true].usa-focus{color:GrayText}}@media (forced-colors: active){.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{border:2px solid GrayText}}.usa-textarea{height:10rem}.usa-character-count__status{display:inline-block;padding-top:0.25rem}.usa-character-count__status.usa-character-count__status--invalid{color:#b50909;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1023px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}h1 .usa-label,h2 .usa-label,h3 .usa-label,h4 .usa-label,h5 .usa-label,h6 .usa-label{font-family:inherit;font-size:inherit;font-weight:inherit}h1 .usa-label .usa-label--required,h2 .usa-label .usa-label--required,h3 .usa-label .usa-label--required,h4 .usa-label .usa-label--required,h5 .usa-label .usa-label--required,h6 .usa-label .usa-label--required{font-family:var(--font-source-sans);font-size:initial;font-weight:initial}:host{color:var(--vads-color-base);display:block;resize:both;font-family:var(--font-source-sans)}:host(:focus){outline:none !important}.usa-hint{display:block;font-weight:normal}textarea{-webkit-box-sizing:border-box;box-sizing:border-box}'}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[4117,4164,3126],{4164:function(e,a,t){t.r(a),t.d(a,{c:function(){return o}});var r,i={exports:{}};r=i,function(){var e={}.hasOwnProperty;function a(){for(var t=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)t.push(i);else if(Array.isArray(i)){if(i.length){var n=a.apply(null,i);n&&t.push(n)}}else if("object"===o)if(i.toString===Object.prototype.toString)for(var s in i)e.call(i,s)&&i[s]&&t.push(s);else t.push(i.toString())}}return t.join(" ")}r.exports?(a.default=a,r.exports=a):window.classNames=a}();var o=i.exports},3126:function(e,a,t){function r(e){return!Number.isNaN(parseFloat(e))}function i(e,a,t){void 0===t&&(t="slot");var r=e.shadowRoot.querySelector(t).assignedNodes();return null!==a?Array.from(r).filter(function(e){return e.nodeName.toLowerCase()===a}):Array.from(r)}function o(e){return 1===e?"":"s"}function n(e,a){if(void 0===e||""===e)return"".concat(a," character").concat(o(a)," allowed");var t;if(e.length<=a){var r=a-e.length;t="".concat(r," character").concat(o(r)," left")}else r=e.length-a,t="".concat(r," character").concat(o(r)," over limit");return t}function s(e,a){return Array.from({length:a-e+1},function(a,t){return e+t})}t.r(a),t.d(a,{S:function(){return c},a:function(){return i},b:function(){return r},c:function(){return p},d:function(){return m},e:function(){return g},f:function(){return n},g:function(){return d},h:function(){return f},i:function(){return h},m:function(){return s},s:function(){return l},u:function(){return v}}),t(2625);var u=function(e){return e&&"object"==typeof e&&1===e.nodeType};function l(e,a){var t=function(e,a){if("string"!=typeof e)return[];if(!a||!u(a))return[];var t=a.shadowRoot.querySelectorAll(e);return Array.from(t)}(e,a);return"string"!=typeof e||u(a)&&a.matches(e)&&t.push(a),t}var c={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return c._entities[e]},escapeHTML:function(e){for(var a="",t=0;t<e.length;t++)a+=e[t],t+1<arguments.length&&(a+=String(arguments[t+1]||"").replace(c._entity,c.getEntity));return a}};function d(e){var a;return(a="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&a<=6?"h".concat(a):null}function f(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function h(e){return e&&"false"!==e||!1}function b(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function m(e,a){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===a)return!0;if("function"==typeof e||"function"==typeof a)return!0;if("object"!=typeof e||"object"!=typeof a)return!1;if(null===e||null===a)return!1;if(e instanceof Date&&a instanceof Date)return e.getTime()===a.getTime();if(e instanceof RegExp&&a instanceof RegExp)return e.source===a.source&&e.global===a.global&&e.multiline===a.multiline&&e.lastIndex===a.lastIndex&&e.ignoreCase===a.ignoreCase;if(b(e)||b(a)){if(!b(e)||!b(a))return!1;var i=Array.prototype.slice;return m(i.call(e),i.call(a),t,r)}if(e.constructor!==a.constructor)return!1;var o=Object.keys(e),n=Object.keys(a);if(0===o.length&&0===n.length)return!0;if(o.length!==n.length)return!1;for(var s=t.length;s--;)if(t[s]===e)return r[s]===a;t.push(e),r.push(a),o.sort(),n.sort();for(var u=o.length-1;u>=0;u--)if(o[u]!==n[u])return!1;for(var l=void 0,c=o.length-1;c>=0;c--)if(!m(e[l=o[c]],a[l],t,r))return!1;return t.pop(),r.pop(),!0}function p(e,a){var t;return function(){for(var r=this,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];clearTimeout(t),t=setTimeout(function(){return e.apply(r,i)},a)}}function g(e){if(null!=e){var a="string"==typeof e?parseInt(e,10):e;if(!(a<=0||isNaN(a)))return a}}function v(e,a,t){e&&(e.innerText=n(a,g(t)))}},4117:function(e,a,t){t.r(a),t.d(a,{va_textarea:function(){return s}});var r=t(2625),i=t(4164),o=(t(2404),t(3126)),n=t(2265),s=function(){function e(e){var a=this;(0,r.r)(this,e),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.debouncedUpdateScreenReaderCount=(0,o.c)(o.u,1e3),this.handleInput=function(e){var t=e.target;a.value=t.value,a.debouncedUpdateScreenReaderCount(a.charCountElement,a.value,(0,o.e)(a.maxlength))},this.handleBlur=function(){a.enableAnalytics&&a.value&&a.componentLibraryAnalytics.emit({componentName:"va-textarea",action:"blur",details:{label:a.label,value:a.value}})},this.label=void 0,this.error=void 0,this.placeholder=void 0,this.name=void 0,this.required=!1,this.hint=void 0,this.messageAriaDescribedby=void 0,this.maxlength=void 0,this.value=void 0,this.enableAnalytics=!1,this.labelHeaderLevel=void 0,this.headerAriaDescribedby=void 0,this.useFormsPattern=void 0,this.formHeadingLevel=3,this.formHeading=void 0,this.charcount=!1}return e.prototype.connectedCallback=function(){var e=this;n.i.on("languageChanged",function(){(0,r.f)(e.el)})},e.prototype.disconnectedCallback=function(){n.i.off("languageChanged")},e.prototype.componentDidRender=function(){var e=this;this.charCountElement&&!this.charCountElement.innerText&&(this.charCountElement.innerText=(0,o.f)(this.value,(0,o.e)(this.maxlength)),setTimeout(function(){e.charCountElement.setAttribute("aria-live","polite")},0))},e.prototype.render=function(){var e=this,a=this,t=a.label,s=a.error,u=a.placeholder,l=a.name,c=a.required,d=a.value,f=a.hint,h=a.charcount,b=a.messageAriaDescribedby,m=a.useFormsPattern,p=a.formHeadingLevel,g=a.headerAriaDescribedby,v=a.formHeading,y=(0,o.e)(this.maxlength),x="".concat(s?"input-error-message":""," ").concat(h&&y?"charcount-message":""," ").concat(b?"input-message":"").trim()||null,w="".concat(m&&v?"form-question":""," ").concat(m?"form-description":""," ").concat(m&&t?"input-label":"").trim()||null,k=(0,o.g)(this.labelHeaderLevel),T=g?"header-message":null,_=h&&(null==d?void 0:d.length)>y,z=(0,i.c)({"usa-label":!0,"usa-label--error":s}),A=(0,i.c)({"usa-textarea":!0,"usa-input--error":s}),S=(0,i.c)({"usa-hint":!0,"usa-character-count__status":h,"usa-character-count__status--invalid":h&&y&&(null==d?void 0:d.length)>y}),C=null;if("single"===m||"multiple"===m){var N=(0,o.g)(p);C=(0,r.h)(r.F,{key:"b362bafa0e2632da58a2538dd5b52a13e979da6d"},v&&(0,r.h)(N,{key:"dbd41a3e3b509a51925677a5b310a86f146e8c20",id:"form-question",part:"form-header"},v),(0,r.h)("div",{key:"70ef66b85b2b9fbe9a20562e66cf86bfa65e54d0",id:"form-description"},(0,r.h)("slot",{key:"dbad1687851beb94a5a295fab983ba54dd6be1a3",name:"form-description"})))}var q=(0,r.h)("label",{key:"bb54caa82dcfdfb77d3c7cc5832617df4ff95a32",htmlFor:"input-type-textarea",id:"input-label",class:z,part:"label"},t,"multiple"===m&&g?(0,r.h)("span",{id:"header-message",class:"usa-sr-only"},(0,r.h)("span",null,t),(0,r.h)("span",null,g)):"multiple"===m?(0,r.h)("span",{id:"header-message",class:"usa-sr-only"},t):g?(0,r.h)("span",{id:"header-message",class:"usa-sr-only"},g):null,c&&(0,r.h)("span",{key:"ea87afc1173b4e2b8e0d37f014b8450a8990a6e0",class:"usa-label--required"}," ",n.i.t("required")),f&&(0,r.h)("div",{key:"7a1f89c0e450e868ca11a7056263d241df8166d0",class:"usa-hint"},f));return(0,r.h)(r.H,{key:"69068fdacf2dd7bc9ba84f092ddb2e040c86f51a"},C,(0,r.h)("div",{key:"1e6527f2110785d3ae39197338a3b66da5891926",class:"input-wrap"},t&&k?(0,r.h)(k,{part:"header","aria-describedby":T},q):q,(0,r.h)("slot",{key:"86b2f848afdf3419948dd9af5a30171e17f3844a"}),(0,r.h)("span",{key:"d599993ea24ac07b21fb80e2ce97fa9ae700ba11",id:"input-error-message",role:"alert"},s&&(0,r.h)(r.F,{key:"0cffc5ca7945dc049194a7cb01d50e02af2ca76b"},(0,r.h)("span",{key:"9c764fb507accd478701ec4432f65c49a570374b",class:"usa-sr-only"},n.i.t("error")),(0,r.h)("span",{key:"ac36c8f8cf9440f4097c898887179614eef411f3",class:"usa-error-message"},s))),(0,r.h)("textarea",{key:"1a692c621394270187d00a9a517eadddb4b0dc68",class:A,"aria-describedby":x,"aria-invalid":s||_?"true":"false","aria-labelledby":w,onInput:this.handleInput,onBlur:this.handleBlur,id:"input-type-textarea",placeholder:u,name:l,maxLength:h?void 0:y,value:d,part:"input-type-textarea"}),!h&&y&&(null==d?void 0:d.length)>=y&&(0,r.h)("span",{key:"8b523d5a4289a20aa46ae0ca524bb0b806981fd8",class:S,"aria-live":"polite"},n.i.t("max-chars",{length:y})),h&&y&&(0,r.h)(r.F,{key:"bb32ecd7057f987b21ca193738e3f77257d8301c"},(0,r.h)("span",{key:"ef7fe167ae012610f4afc418ba3c8f768265b410","aria-hidden":"true",class:S},(0,o.f)(this.value,(0,o.e)(this.maxlength))),(0,r.h)("span",{key:"1e873a31965705ea31192a1e583705013dbddf9e",id:"charcount-message",class:"usa-sr-only",ref:function(a){return e.charCountElement=a}})),(0,o.i)(b)&&(0,r.h)("span",{key:"58684ff6beaf3573b67f6ac8a66128f8fe43687a",id:"input-message",class:"usa-sr-only dd-privacy-hidden"},b)))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();s.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-textarea,.usa-hint,.usa-input{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-textarea,.usa-input{border-width:1px;border-color:#565c65;border-style:solid;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0;color:#1b1b1b;display:block;height:2.5rem;margin-top:0.5rem;max-width:30rem;padding:0.5rem;width:100%}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-input:disabled,.usa-input[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1;-webkit-text-fill-color:#454545}.usa-input:disabled:hover,.usa-input:disabled:active,.usa-input:disabled:focus,.usa-input:disabled.usa-focus,.usa-input[aria-disabled=true]:hover,.usa-input[aria-disabled=true]:active,.usa-input[aria-disabled=true]:focus,.usa-input[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-input:disabled,.usa-input[aria-disabled=true]{border:0;color:GrayText}.usa-input:disabled:hover,.usa-input:disabled:active,.usa-input:disabled:focus,.usa-input:disabled.usa-focus,.usa-input[aria-disabled=true]:hover,.usa-input[aria-disabled=true]:active,.usa-input[aria-disabled=true]:focus,.usa-input[aria-disabled=true].usa-focus{color:GrayText}}@media (forced-colors: active){.usa-input:disabled,.usa-input[aria-disabled=true]{border:2px solid GrayText}}.usa-input--error{border-width:0.25rem;border-color:#b50909;border-style:solid;padding-top:calc(0.5rem - 0.25rem);padding-bottom:calc(0.5rem - 0.25rem)}.usa-input--success{border-width:0.25rem;border-color:#00a91c;border-style:solid;padding-top:calc(0.5rem - 0.25rem);padding-bottom:calc(0.5rem - 0.25rem)}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1}.usa-textarea:disabled:hover,.usa-textarea:disabled:active,.usa-textarea:disabled:focus,.usa-textarea:disabled.usa-focus,.usa-textarea[aria-disabled=true]:hover,.usa-textarea[aria-disabled=true]:active,.usa-textarea[aria-disabled=true]:focus,.usa-textarea[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{border:0;color:GrayText}.usa-textarea:disabled:hover,.usa-textarea:disabled:active,.usa-textarea:disabled:focus,.usa-textarea:disabled.usa-focus,.usa-textarea[aria-disabled=true]:hover,.usa-textarea[aria-disabled=true]:active,.usa-textarea[aria-disabled=true]:focus,.usa-textarea[aria-disabled=true].usa-focus{color:GrayText}}@media (forced-colors: active){.usa-textarea:disabled,.usa-textarea[aria-disabled=true]{border:2px solid GrayText}}.usa-textarea{height:10rem}.usa-character-count__status{display:inline-block;padding-top:0.25rem}.usa-character-count__status.usa-character-count__status--invalid{color:#b50909;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1023px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}h1 .usa-label,h2 .usa-label,h3 .usa-label,h4 .usa-label,h5 .usa-label,h6 .usa-label{font-family:inherit;font-size:inherit;font-weight:inherit}h1 .usa-label .usa-label--required,h2 .usa-label .usa-label--required,h3 .usa-label .usa-label--required,h4 .usa-label .usa-label--required,h5 .usa-label .usa-label--required,h6 .usa-label .usa-label--required{font-family:var(--font-source-sans);font-size:initial;font-weight:initial}:host{color:var(--vads-color-base);display:block;resize:both;font-family:var(--font-source-sans)}:host(:focus){outline:none !important}.usa-hint{display:block;font-weight:normal}textarea{-webkit-box-sizing:border-box;box-sizing:border-box}'}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[4140],{4140:function(e,t,i){i.r(t),i.d(t,{va_crisis_line_modal:function(){return c},va_official_gov_banner:function(){return r}});var a=i(2625),n=i(2404),o=i(2265),c=function(){function e(e){(0,a.r)(this,e),this.allowModalRender=!1,this.phoneNumber="988",this.phoneExtension="1",this.textNumber="838255",this.chatUrl="https://www.veteranscrisisline.net/get-help-now/chat/",this.ttyNumber=n.a.CRISIS_MODAL_TTY.phoneNumber||"711",this.ttyCrisisExtension=n.a.CRISIS_MODAL_TTY.extension||"988",this.mode=void 0,this.isOpen=!1,this.shifted=!1}return e.prototype.handleGlobalOpen=function(){this.allowModalRender&&this.open()},e.prototype.open=function(){this.setVisible()},e.prototype.setVisible=function(){this.isOpen=!0},e.prototype.setNotVisible=function(){this.isOpen=!1},e.prototype.componentWillLoad=function(){e.modalOwner||"trigger"===this.mode||(this.allowModalRender=!0,e.modalOwner=this.el)},e.prototype.disconnectedCallback=function(){e.modalOwner===this.el&&(e.modalOwner=null)},e.prototype.trackShiftKey=function(e){this.shifted=e.shiftKey},e.prototype.trapFocus=function(){var e,t=null===(e=this.el)||void 0===e?void 0:e.shadowRoot.querySelector("va-modal"),i=null==t?void 0:t.getAttribute("visible");if(null!==i&&"false"!==i){var a=void 0,n=this.shifted?".last-focusable-child":'[role="document"]';null==(a=this.shifted?null==t?void 0:t.querySelector(n):null==t?void 0:t.shadowRoot.querySelector(n))||a.focus()}},e.prototype.render=function(){var e=this,t=this,i=t.phoneNumber,n=t.phoneExtension,c=t.textNumber,r=t.chatUrl,s=t.ttyNumber,d=t.ttyCrisisExtension,l=t.mode,g="modal"!==l,b=this.allowModalRender&&"trigger"!==l;return(0,a.h)(a.H,{key:"88996025fcdc1122068df01cdbb286ce7dbe1ca3"},g&&(0,a.h)("div",{key:"8ca76bd5525e87c7e2d5baa3ee2d9ec697bdeb33",class:"va-crisis-line-container"},(0,a.h)("button",{key:"ff230af3b7ae30b4e2acfada0f9cc96252b4ee43",onClick:function(){return document.dispatchEvent(new CustomEvent("vaCrisisLineModalOpen"))},onFocusin:function(){return e.trapFocus()},"data-show":"#modal-crisisline",class:"va-crisis-line va-overlay-trigger",part:"button"},(0,a.h)("div",{key:"c9b1200a32d95e5900412630b317bd89e53603f2",class:"va-crisis-line-inner"},(0,a.h)("span",{key:"095f4f84351c0e079148dab58bcce488cf84e424",class:"va-crisis-line-icon","aria-hidden":"true"}),(0,a.h)("span",{key:"dedec2994be5d539f6766f4d5363883d6e839c60",class:"va-crisis-line-text",innerHTML:o.i.t("crisis-line-trigger-text")}),(0,a.h)("va-icon",{key:"67403aa0e9a4903d7f0385e1bccee3f4d02545a1",class:"va-icon__right-arrow",icon:"navigate_next",size:3})))),b&&(0,a.h)("va-modal",{key:"1188106f0740a332ea48d2ba62286c4de1ea2902",modalTitle:o.i.t("crisis-line-modal-title"),onPrimaryButtonClick:function(){return e.setNotVisible()},onCloseEvent:function(){return e.setNotVisible()},visible:this.isOpen,large:!0},(0,a.h)("p",{key:"56160927cdc08a2ef882204f85812cd73fb2a831"},o.i.t("crisis-line-intro")),(0,a.h)("ul",{key:"6e1a36268509617d8e57380bfc9dc8a28a4566c7",class:"va-crisis-panel-list"},(0,a.h)("li",{key:"700d2bfc15dca8c06db7b75d15dea23d3bf56890"},(0,a.h)("va-icon",{key:"1d23a524dc9792e6e7a4d09b5a8a839fbccf161a",class:"va-clm__icon",icon:"phone",size:3}),(0,a.h)("span",{key:"59a1661b09c8aa9e6126d34b80b2fe3c54802657"},o.i.t("crisis-line-phone-label")+" "," ",(0,a.h)("strong",{key:"935d09b1bce83e714a1cd37d5897c15989337ae2"},(0,a.h)("va-telephone",{key:"747ed72e35f04c845833cbfe09235157c8187009",contact:i}),n?" ".concat(o.i.t("crisis-line-phone-extension-label")," ").concat(n):null))),(0,a.h)("li",{key:"aeede56bad734f94133bcf5591b5b67d3c8fff6a"},(0,a.h)("va-icon",{key:"f0ddbdbf66ee74d82dc0bfddaa0f7e0a3ab876b8",icon:"phone_iphone",class:"va-clm__icon",size:3}),(0,a.h)("span",{key:"ed2320795746f7d6389d1d460d397f70a66ea713"},o.i.t("crisis-line-text-label")+" "," ",(0,a.h)("strong",{key:"f330d828ae8d16f84d6400d85113667cf7cab014"},(0,a.h)("va-telephone",{key:"39d1cdd2ba7ebef934b8141294d9ffc8d0ea193b",sms:!0,contact:c})))),(0,a.h)("li",{key:"1144f351bb07ff02c2b2e9c4b9c1655154c5e1a4"},(0,a.h)("va-icon",{key:"8ed4fbe5d0c38e9a24bcb8821e56039089bad21e",icon:"chat",class:"va-clm__icon",size:3}),(0,a.h)("a",{key:"382d7434d4562f304ee4d06988c79a3185b7ee9d",class:"no-external-icon",href:r},o.i.t("crisis-line-chat-label"))),(0,a.h)("li",{key:"19d0c97e974ad7a0636d77bc6494930b3d4e2170"},(0,a.h)("va-icon",{key:"013b9601534c628160d8364a99dcda6570116b97",icon:"tty",class:"va-clm__icon",size:3}),(0,a.h)("p",{key:"e34dc521517f7092411d1860ef50f8a8b02b979a"},o.i.t("crisis-line-tty-label")+" ",(0,a.h)("strong",{key:"f46ac0836caed675365caadb2c96108187f6a6f1"},(0,a.h)("va-telephone",{key:"e9b0e4f6e43be4950c2e76c7f81bb5f352074fb0",contact:s}),d?" ".concat(o.i.t("crisis-line-tty-extension-label")," ").concat(d):null)))),(0,a.h)("p",{key:"1e65899bba6878050240021802eee22e580851e4"},o.i.t("crisis-line-resources-link-label")+" ",(0,a.h)("a",{key:"8835e5ac2c94c138370d377f31a6ae0d8f544b7f",class:"no-external-icon",href:"https://www.veteranscrisisline.net/"},o.i.t("crisis-line-resources-link-text")))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),e}();c.modalOwner=null,c.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}.va-crisis-line-container{position:relative;margin:auto;background-color:var(--vads-color-secondary-dark)}@media (min-width: 1024px){.va-crisis-line-container{max-width:60.938rem;background-color:transparent}}a{color:var(--vads-color-link)}button.va-crisis-line{cursor:pointer;background-color:var(--vads-color-secondary-darkest);display:block;border-radius:0;color:var(--vads-button-color-text-primary-alt-on-light);font-family:var(--font-source-sans);font-size:16px;font-weight:normal;text-decoration:none;padding:0;margin:0;width:100%;border:0;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:background-color;transition-property:background-color}button.va-crisis-line:focus{outline-offset:-2px}button.va-crisis-line:hover,button.va-crisis-line:active{background-color:#8b0a03}@media (min-width: 1024px){button.va-crisis-line:hover .va-crisis-line-icon,button.va-crisis-line:active .va-crisis-line-icon{background-color:#b51d09}}@media (min-width: 1024px){button.va-crisis-line{width:auto;border-radius:0 0 2.3px 2.3px;-webkit-box-shadow:0 2px 5px var(--vads-color-base);box-shadow:0 2px 5px var(--vads-color-base)}}.va-crisis-line-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:auto}@media (min-width: 1024px){.va-crisis-line-inner{text-align:left;-ms-flex-pack:justify;justify-content:space-between}}.va-crisis-line-icon{content:"";background:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 96 60%22 width%3D%2296px%22 height%3D%2260px%22%3E%3Cpath d%3D%22M58 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 30c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 46c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm-48 2L32 60h-2V48H4c-2.20914 0-4-1.79086-4-4V4c0-2.20914 1.79086-4 4-4h40c2.20914 0 4 1.79086 4 4v40c0 2.20914-1.79086 4-4 4h-2zM24 31.72174L33.86667 39l-3.73334-11.86087L40 20.13043H28L24 8l-4 12.13043H8l9.86667 7.0087L14.13333 39 24 31.72174z%22 fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat right 29%;background-size:30px auto;background-position:8px 8px;width:40px;height:36px;padding-right:3px;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:background-color;transition-property:background-color}@media (max-width: 480px){.va-crisis-line-icon{display:none}}@media (min-width: 1024px){.va-crisis-line-icon{border-bottom-left-radius:3.2px}}.va-crisis-line-text{padding:8px}.va-icon__right-arrow{position:relative;top:2px}.va-clm__icon{position:relative;top:15px;margin-right:23px}.va-crisis-panel{color:var(--vads-color-base)}.va-crisis-panel-body{max-height:100%}.va-crisis-panel-title{color:var(--vads-color-base);padding-left:41px;background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 96 60%22 width%3D%2296px%22 height%3D%2260px%22%3E%3Cpath d%3D%22M58 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 30c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 46c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm-48 2L32 60h-2V48H4c-2.20914 0-4-1.79086-4-4V4c0-2.20914 1.79086-4 4-4h40c2.20914 0 4 1.79086 4 4v40c0 2.20914-1.79086 4-4 4h-2zM24 31.72174L33.86667 39l-3.73334-11.86087L40 20.13043H28L24 8l-4 12.13043H8l9.86667 7.0087L14.13333 39 24 31.72174z%22 fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat left;background-position:left 5px;background-size:32px auto}.va-crisis-panel-list{list-style:none;padding:0}.va-crisis-panel-list>li{display:-ms-flexbox;display:flex;min-height:56px;margin-bottom:0;border-top:1px solid var(--vads-color-base-light)}.va-crisis-panel-list>li:last-child{border-bottom:1px solid var(--vads-color-base-light)}.va-crisis-panel-list>li>a,.va-crisis-panel-list>li>span{padding:8px 0;-ms-flex-item-align:center;align-self:center}';var r=function(){function e(e){var t=this;(0,a.r)(this,e),this.componentLibraryAnalytics=(0,a.c)(this,"component-library-analytics",7),this.handleClick=function(){var e,i,a,n=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".content"),o=null===(i=t.el.shadowRoot)||void 0===i?void 0:i.querySelector("button"),c=null===(a=t.el.shadowRoot)||void 0===a?void 0:a.querySelector("div#header");if(o.setAttribute("aria-expanded","true"===o.getAttribute("aria-expanded")?"false":"true"),c.classList.toggle("expanded"),n.hidden?n.removeAttribute("hidden"):n.setAttribute("hidden","true"),!t.disableAnalytics){var r={componentName:"va-official-gov-banner",action:"true"===o.getAttribute("aria-expanded")?"expand":"collapse"};t.componentLibraryAnalytics.emit(r)}},this.govSiteExplanationText=function(){var e,i=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".gov-site-explanation-text");if(i){var a=o.i.t("gov-site-explanation",{tld:t.tld});a&&(i.innerHTML=a.replace(".".concat(t.tld),"<strong>.".concat(t.tld,"</strong>")))}},this.govSiteLockText=function(){var e,i=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".gov-site-lock-text"),a=o.i.t("gov-site-lock",{image:"SVG",tld:t.tld});a=(a=(a=(a=a.replace("SVG",'(&nbsp;<span class="icon-lock"><svg xmlns="http://www.w3.org/2000/svg" width="52" height="64" viewBox="0 0 52 64" role="img" aria-labelledby="banner-lock-description" focusable="false">\n <title id="banner-lock-title">Lock</title>\n <desc id="banner-lock-description">Locked padlock icon</desc>\n <path fill="#000000" fill-rule="evenodd" d="M26 0c10.493 0 19 8.507 19 19v9h3a4 4 0 0 1 4 4v28a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V32a4 4 0 0 1 4-4h3v-9C7 8.507 15.507 0 26 0zm0 8c-5.979 0-10.843 4.77-10.996 10.712L15 19v9h22v-9c0-6.075-4.925-11-11-11z"></path>\n </svg></span>&nbsp;)')).replace("lock","<strong>lock</strong>")).replace("candado","<strong>candado</strong>")).replace("https://","<strong>https://</strong>"),i&&(i.innerHTML=a)},this.disableAnalytics=!1,this.tld="gov"}return e.prototype.connectedCallback=function(){var e=this;o.i.on("languageChanged",(function(){(0,a.f)(e.el)}))},e.prototype.disconnectedCallback=function(){o.i.off("languageChanged")},e.prototype.componentDidLoad=function(){this.govSiteExplanationText(),this.govSiteLockText()},e.prototype.render=function(){var e=this.tld;if("gov"===e||"mil"===e)return(0,a.h)(a.H,{key:"6f9aeb2cb2db419faeb6b82af943b21e7accb5b7"},(0,a.h)("div",{key:"d2f87f49f67b6b14c1c91ffabb9f0c021f0aea45",class:"banner"},(0,a.h)("div",{key:"2e7d39ca06f55434e70f277e1f01a13cb01baa59",class:"accordion"},(0,a.h)("div",{key:"652eded07fd0f9f953d3e814f4abc6476b0701c0",id:"header"},(0,a.h)("div",{key:"d9a27ec47c7c2a0346c2005544b253a828d4d1be",class:"inner"},(0,a.h)("div",{key:"b8a8c9dc09088a43f114cdc509f23b4dce67816a",class:"grid-col-auto"},(0,a.h)("img",{key:"3e314e8c242bca4adf4830fa92a2a5144000b262",role:"presentation",class:"header-flag",src:"https://s3-us-gov-west-1.amazonaws.com/content.www.va.gov/img/tiny-usa-flag.png",alt:""})),(0,a.h)("div",{key:"aa6336982dc72fd4805ad92a44c942e3871ef07f",class:"grid-col-fill","aria-hidden":"true"},(0,a.h)("p",{key:"b41c2831130b25a6416c070c5f804c31fdab7f9b",class:"header-text"},o.i.t("gov-site-label")),(0,a.h)("p",{key:"2d4a526e651cbce9a836e4e4eeef5d29c5d95b6f",class:"header-action"},o.i.t("gov-site-button"))),(0,a.h)("button",{key:"3c64d2251ddcd9a20e3ab25a321bd083be8a3656",onClick:this.handleClick,type:"button","aria-expanded":"false","aria-controls":"official-gov-banner"},(0,a.h)("span",{key:"3a95d02acc4886be90bda95e4c0cc0ffcc334def",class:"button-text"},o.i.t("gov-site-button"))))),(0,a.h)("div",{key:"6ac396b01113cb9b384a272fb7dd95834c16e458",class:"content",id:"official-gov-banner",hidden:!0},(0,a.h)("div",{key:"8499334de2c023a0123f5e9681867638655fe332",class:"grid-row"},(0,a.h)("div",{key:"b8bee619ccc4680da0102c589cd609e0b7a76042",class:"col"},(0,a.h)("img",{key:"29af4299ac44cc7cab91e7a8893a2b2929ebffc8",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjx0aXRsZT5pY29uLWRvdC1nb3Y8L3RpdGxlPjxwYXRoIGZpbGw9IiMyMzc4QzMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTMyIDBjMTcuNjczIDAgMzIgMTQuMzI3IDMyIDMyIDAgMTcuNjczLTE0LjMyNyAzMi0zMiAzMkMxNC4zMjcgNjQgMCA0OS42NzMgMCAzMiAwIDE0LjMyNyAxNC4zMjcgMCAzMiAwem0wIDEuMjA4QzE0Ljk5NCAxLjIwOCAxLjIwOCAxNC45OTQgMS4yMDggMzJTMTQuOTk0IDYyLjc5MiAzMiA2Mi43OTIgNjIuNzkyIDQ5LjAwNiA2Mi43OTIgMzIgNDkuMDA2IDEuMjA4IDMyIDEuMjA4em0xMC41OSAzOC44NThhLjg1Ny44NTcgMCAwIDEgLjg4Mi44MjJ2MS42NDJIMTguODg2di0xLjY0MmEuODU3Ljg1NyAwIDAgMSAuODgyLS44MjJINDIuNTl6TTI1LjQ0MyAyNy43NzR2OS44MjloMS42NDJ2LTkuODNoMy4yNzN2OS44M0gzMnYtOS44M2gzLjI3MnY5LjgzaDEuNjQzdi05LjgzaDMuMjcydjkuODNoLjc2YS44NTcuODU3IDAgMCAxIC44ODIuODIxdi44MjFoLTIxLjN2LS44MDlhLjg1Ny44NTcgMCAwIDEgLjg4LS44MmguNzYydi05Ljg0MmgzLjI3MnptNS43MzYtOC4xODhsMTIuMjkzIDQuOTE1djEuNjQyaC0xLjYzYS44NTcuODU3IDAgMCAxLS44ODIuODIySDIxLjQxYS44NTcuODU3IDAgMCAxLS44ODItLjgyMmgtMS42NDJ2LTEuNjQybDEyLjI5My00LjkxNXoiLz48L3N2Zz4=",role:"presentation",alt:""}),(0,a.h)("div",{key:"cb7caa57c2e4133bdb77a299b693bc4bac94fa63",class:"media-block"},(0,a.h)("p",{key:"898adcec23908baa34350dc9bec6ce3e42a8261a"},(0,a.h)("strong",{key:"5948d078f03c00d153ce259a94d0e1907f6cd222"},o.i.t("gov-site-website",{tld:e})),(0,a.h)("br",{key:"6a111b8adfae61cba46692e4eb985cfa165ebe04"}),(0,a.h)("span",{key:"1fb26cd3fc899d9714732a15b397355b42bb9a02",class:"gov-site-explanation-text"},this.govSiteExplanationText())))),(0,a.h)("div",{key:"93e1edc13bd27d8fecd5eaaa2e827e3aa4f18f03",class:"col"},(0,a.h)("img",{key:"207df00a766ea1b39200d881a732a719abf193eb",src:"data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMzIgMGMxNy42NzMgMCAzMiAxNC4zMjcgMzIgMzJzLTE0LjMyNyAzMi0zMiAzMi0zMi0xNC4zMjctMzItMzIgMTQuMzI3LTMyIDMyLTMyem0wIDEuMjA4Yy0xNy4wMDYgMC0zMC43OTIgMTMuNzg2LTMwLjc5MiAzMC43OTJzMTMuNzg2IDMwLjc5MiAzMC43OTIgMzAuNzkyIDMwLjc5Mi0xMy43ODYgMzAuNzkyLTMwLjc5Mi0xMy43ODYtMzAuNzkyLTMwLjc5Mi0zMC43OTJ6bTAgMTguODg2YTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1IDcuMjQ1djMuMTAzaC41MmMuODYgMCAxLjU1Ny42OTggMS41NTcgMS41NTh2OS4zMjJjMCAuODYtLjY5NyAxLjU1OC0xLjU1NyAxLjU1OGgtMTUuNTNjLS44NiAwLTEuNTU3LS42OTctMS41NTctMS41NTh2LTkuMzIyYzAtLjg2LjY5Ny0xLjU1OCAxLjU1Ny0xLjU1OGguNTJ2LTMuMTAyYTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1LTcuMjQ2em0wIDMuMTAzYTQuMTQyIDQuMTQyIDAgMCAwIC00LjE0MiA0LjE0MnYzLjEwM2g4LjI4NHYtMy4xMDJhNC4xNDIgNC4xNDIgMCAwIDAgLTQuMTQyLTQuMTQzeiIgZmlsbD0iIzcxOWYyYSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",role:"presentation",alt:""}),(0,a.h)("div",{key:"ce684c9cca25aa15652c69c9d68e3d49a30dd024",class:"media-block"},(0,a.h)("p",{key:"acb2c7f0f0ec2aaf88e6d36fe44574f3606dcb5b"},(0,a.h)("strong",{key:"4a4d7d020a95f97f0e15061681f4e480c6491a84"},o.i.t("gov-site-https",{tld:e})),(0,a.h)("br",{key:"b184da4667c77cf95353ac25631d06b5c2c12e07"}),(0,a.h)("span",{key:"1061015c5b1bfd206dfc2b7f263e5bfc22ba85a1",class:"gov-site-lock-text"},this.govSiteLockText())))))))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),e}();r.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}:host{display:block}.banner{background-color:#f0f0f0;font-size:12px;line-height:1.5;padding-bottom:0}.accordion{color:#1b1b1b;line-height:1.5;list-style-type:none;margin:0;padding:0;width:100%}.grid-col-fill{-ms-flex:1 1 0%;flex:1 1 0%;min-width:1px}.grid-col-auto,.grid-col-fill{-ms-flex:0 1 auto;flex:0 1 auto;width:auto;max-width:100%}.grid-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-0.469rem;margin-right:-0.469rem;margin-top:0;margin-bottom:0}.col{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex;-ms-flex:0 0 46%;flex:0 0 46%;padding-left:0.469rem;padding-right:0.469rem}@media (max-width: 767px){.col{-ms-flex:unset;flex:unset}}#header{padding-bottom:6px;padding-top:6px;position:relative}#header.expanded .header-action{display:none}@media (max-width: 767px){#header{min-height:32px}#header.expanded{padding-right:56px}}.inner{margin-left:auto;margin-right:auto;max-width:1024px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start;padding-right:0}.header-flag{float:left;margin-right:8px;width:16px}.header-text{font-size:12px;margin-bottom:2px;margin-right:5px;margin-top:2px;line-height:1.1}.header-action{color:#005ea2;font-size:12px;line-height:1.1;margin-bottom:0;margin-top:2px;text-decoration:underline}@media (min-width: 768px){.header-action{display:none}}button:not([disabled]):focus{outline:2px solid var(--vads-color-action-focus-on-light)}button[aria-expanded=false],button[aria-expanded=true]{background-image:none}@media (max-width: 767px){button{width:100%}}button{border:0;color:#005ea2;font-size:12px;margin:0;margin-left:0.313rem;padding-left:0;padding-right:0;position:relative}@media (max-width: 767px){button{-webkit-font-smoothing:inherit;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;margin:0;margin-bottom:-4px;text-align:left;left:0;position:absolute;bottom:0;top:0;color:#005ea2;display:block;height:auto;line-height:1.1;padding:0;text-decoration:none;width:100%}}button:hover{color:#1a4480;cursor:pointer}.button-text{position:absolute;left:-999em;right:auto;text-decoration:underline}@media (min-width: 768px){.button-text{position:static;display:inline}}@media (max-width: 767px){#header .header-action::after,#header.expanded .header-action::after{background-color:#005ea2}#header.expanded .header-action::after,#header .header-action::after{background:0 0;background-color:#005ea2;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;display:inline-block;height:18px;width:18px;content:"";vertical-align:middle;margin-left:2px}}@media (min-width: 768px){button::after,button:hover::after{background-color:#005ea2;position:absolute}button::after,#header.expanded button::after{background:0 0;background-color:#005ea2;display:inline-block;height:18px;width:18px;content:"";vertical-align:middle;margin-left:2px;top:-1px}button::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain}#header.expanded button::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain}}@media (max-width: 767px){button[aria-expanded=true]:after{bottom:0;top:0;position:absolute;right:0}@supports ((-webkit-mask: url()) or (mask: url())){button[aria-expanded=true]::after{background:0 0;background-color:#005ea2 !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/24px 24px;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/24px 24px}}button[aria-expanded=true]::after,button[aria-expanded=true]:before{position:absolute;content:"";height:48px;width:48px;bottom:0;top:0;right:0}button[aria-expanded=true]::after{background:0 0;background-color:#005ea2;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;display:inline-block;height:48px;width:48px;content:"";vertical-align:middle;margin-left:0}button[aria-expanded=true]:before{background-color:#dfe1e2;display:block}}button::after{position:absolute}.content{margin-left:auto;margin-right:auto;max-width:1024px;background-color:transparent;font-size:16px;overflow:hidden;padding:24px 32px 16px 16px}.content img{-ms-flex-negative:0;flex-shrink:0;margin-right:8px;width:45px}.content .media-block{-ms-flex:1 1 0%;flex:1 1 0%}.content svg{height:1.5ex;width:1.21875ex}.content p{margin-top:0;-webkit-margin-after:1em;margin-block-end:1em}'}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[4140],{4140:function(e,t,i){i.r(t),i.d(t,{va_crisis_line_modal:function(){return r},va_official_gov_banner:function(){return s}});var a=i(2625),n=i(2404),o=i(2265),r=function(){function e(e){(0,a.r)(this,e),this.allowModalRender=!1,this.phoneNumber="988",this.phoneExtension="1",this.textNumber="838255",this.chatUrl="https://www.veteranscrisisline.net/get-help-now/chat/",this.ttyNumber=n.a.CRISIS_MODAL_TTY.phoneNumber||"711",this.ttyCrisisExtension=n.a.CRISIS_MODAL_TTY.extension||"988",this.mode=void 0,this.isOpen=!1,this.shifted=!1}return e.prototype.handleGlobalOpen=function(){this.allowModalRender&&this.open()},e.prototype.open=function(){this.setVisible()},e.prototype.setVisible=function(){this.isOpen=!0},e.prototype.setNotVisible=function(){this.isOpen=!1},e.prototype.componentWillLoad=function(){e.modalOwner||"trigger"===this.mode||(this.allowModalRender=!0,e.modalOwner=this.el)},e.prototype.disconnectedCallback=function(){e.modalOwner===this.el&&(e.modalOwner=null)},e.prototype.trackShiftKey=function(e){this.shifted=e.shiftKey},e.prototype.trapFocus=function(){var e,t=null===(e=this.el)||void 0===e?void 0:e.shadowRoot.querySelector("va-modal"),i=null==t?void 0:t.getAttribute("visible");if(null!==i&&"false"!==i){var a=void 0,n=this.shifted?".last-focusable-child":'[role="document"]';null==(a=this.shifted?null==t?void 0:t.querySelector(n):null==t?void 0:t.shadowRoot.querySelector(n))||a.focus()}},e.prototype.render=function(){var e=this,t=this,i=t.phoneNumber,n=t.phoneExtension,r=t.textNumber,s=t.chatUrl,c=t.ttyNumber,d=t.ttyCrisisExtension,l=t.mode,g="modal"!==l,b=this.allowModalRender&&"trigger"!==l;return(0,a.h)(a.H,{key:"88996025fcdc1122068df01cdbb286ce7dbe1ca3"},g&&(0,a.h)("div",{key:"8ca76bd5525e87c7e2d5baa3ee2d9ec697bdeb33",class:"va-crisis-line-container"},(0,a.h)("button",{key:"ff230af3b7ae30b4e2acfada0f9cc96252b4ee43",onClick:function(){return document.dispatchEvent(new CustomEvent("vaCrisisLineModalOpen"))},onFocusin:function(){return e.trapFocus()},"data-show":"#modal-crisisline",class:"va-crisis-line va-overlay-trigger",part:"button"},(0,a.h)("div",{key:"c9b1200a32d95e5900412630b317bd89e53603f2",class:"va-crisis-line-inner"},(0,a.h)("span",{key:"095f4f84351c0e079148dab58bcce488cf84e424",class:"va-crisis-line-icon","aria-hidden":"true"}),(0,a.h)("span",{key:"dedec2994be5d539f6766f4d5363883d6e839c60",class:"va-crisis-line-text",innerHTML:o.i.t("crisis-line-trigger-text")}),(0,a.h)("va-icon",{key:"67403aa0e9a4903d7f0385e1bccee3f4d02545a1",class:"va-icon__right-arrow",icon:"navigate_next",size:3})))),b&&(0,a.h)("va-modal",{key:"1188106f0740a332ea48d2ba62286c4de1ea2902",modalTitle:o.i.t("crisis-line-modal-title"),onPrimaryButtonClick:function(){return e.setNotVisible()},onCloseEvent:function(){return e.setNotVisible()},visible:this.isOpen,large:!0},(0,a.h)("p",{key:"56160927cdc08a2ef882204f85812cd73fb2a831"},o.i.t("crisis-line-intro")),(0,a.h)("ul",{key:"6e1a36268509617d8e57380bfc9dc8a28a4566c7",class:"va-crisis-panel-list"},(0,a.h)("li",{key:"700d2bfc15dca8c06db7b75d15dea23d3bf56890"},(0,a.h)("va-icon",{key:"1d23a524dc9792e6e7a4d09b5a8a839fbccf161a",class:"va-clm__icon",icon:"phone",size:3}),(0,a.h)("span",{key:"59a1661b09c8aa9e6126d34b80b2fe3c54802657"},o.i.t("crisis-line-phone-label")+" "," ",(0,a.h)("strong",{key:"935d09b1bce83e714a1cd37d5897c15989337ae2"},(0,a.h)("va-telephone",{key:"747ed72e35f04c845833cbfe09235157c8187009",contact:i}),n?" ".concat(o.i.t("crisis-line-phone-extension-label")," ").concat(n):null))),(0,a.h)("li",{key:"aeede56bad734f94133bcf5591b5b67d3c8fff6a"},(0,a.h)("va-icon",{key:"f0ddbdbf66ee74d82dc0bfddaa0f7e0a3ab876b8",icon:"phone_iphone",class:"va-clm__icon",size:3}),(0,a.h)("span",{key:"ed2320795746f7d6389d1d460d397f70a66ea713"},o.i.t("crisis-line-text-label")+" "," ",(0,a.h)("strong",{key:"f330d828ae8d16f84d6400d85113667cf7cab014"},(0,a.h)("va-telephone",{key:"39d1cdd2ba7ebef934b8141294d9ffc8d0ea193b",sms:!0,contact:r})))),(0,a.h)("li",{key:"1144f351bb07ff02c2b2e9c4b9c1655154c5e1a4"},(0,a.h)("va-icon",{key:"8ed4fbe5d0c38e9a24bcb8821e56039089bad21e",icon:"chat",class:"va-clm__icon",size:3}),(0,a.h)("a",{key:"382d7434d4562f304ee4d06988c79a3185b7ee9d",class:"no-external-icon",href:s},o.i.t("crisis-line-chat-label"))),(0,a.h)("li",{key:"19d0c97e974ad7a0636d77bc6494930b3d4e2170"},(0,a.h)("va-icon",{key:"013b9601534c628160d8364a99dcda6570116b97",icon:"tty",class:"va-clm__icon",size:3}),(0,a.h)("p",{key:"e34dc521517f7092411d1860ef50f8a8b02b979a"},o.i.t("crisis-line-tty-label")+" ",(0,a.h)("strong",{key:"f46ac0836caed675365caadb2c96108187f6a6f1"},(0,a.h)("va-telephone",{key:"e9b0e4f6e43be4950c2e76c7f81bb5f352074fb0",contact:c}),d?" ".concat(o.i.t("crisis-line-tty-extension-label")," ").concat(d):null)))),(0,a.h)("p",{key:"1e65899bba6878050240021802eee22e580851e4"},o.i.t("crisis-line-resources-link-label")+" ",(0,a.h)("a",{key:"8835e5ac2c94c138370d377f31a6ae0d8f544b7f",class:"no-external-icon",href:"https://www.veteranscrisisline.net/"},o.i.t("crisis-line-resources-link-text")))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),e}();r.modalOwner=null,r.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}.va-crisis-line-container{position:relative;margin:auto;background-color:var(--vads-color-secondary-dark)}@media (min-width: 1024px){.va-crisis-line-container{max-width:60.938rem;background-color:transparent}}a{color:var(--vads-color-link)}button.va-crisis-line{cursor:pointer;background-color:var(--vads-color-secondary-darkest);display:block;border-radius:0;color:var(--vads-button-color-text-primary-alt-on-light);font-family:var(--font-source-sans);font-size:16px;font-weight:normal;text-decoration:none;padding:0;margin:0;width:100%;border:0;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:background-color;transition-property:background-color}button.va-crisis-line:focus{outline-offset:-2px}button.va-crisis-line:hover,button.va-crisis-line:active{background-color:#8b0a03}@media (min-width: 1024px){button.va-crisis-line:hover .va-crisis-line-icon,button.va-crisis-line:active .va-crisis-line-icon{background-color:#b51d09}}@media (min-width: 1024px){button.va-crisis-line{width:auto;border-radius:0 0 2.3px 2.3px;-webkit-box-shadow:0 2px 5px var(--vads-color-base);box-shadow:0 2px 5px var(--vads-color-base)}}.va-crisis-line-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:auto}@media (min-width: 1024px){.va-crisis-line-inner{text-align:left;-ms-flex-pack:justify;justify-content:space-between}}.va-crisis-line-icon{content:"";background:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 96 60%22 width%3D%2296px%22 height%3D%2260px%22%3E%3Cpath d%3D%22M58 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 30c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 46c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm-48 2L32 60h-2V48H4c-2.20914 0-4-1.79086-4-4V4c0-2.20914 1.79086-4 4-4h40c2.20914 0 4 1.79086 4 4v40c0 2.20914-1.79086 4-4 4h-2zM24 31.72174L33.86667 39l-3.73334-11.86087L40 20.13043H28L24 8l-4 12.13043H8l9.86667 7.0087L14.13333 39 24 31.72174z%22 fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat right 29%;background-size:30px auto;background-position:8px 8px;width:40px;height:36px;padding-right:3px;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:background-color;transition-property:background-color}@media (max-width: 480px){.va-crisis-line-icon{display:none}}@media (min-width: 1024px){.va-crisis-line-icon{border-bottom-left-radius:3.2px}}.va-crisis-line-text{padding:8px}.va-icon__right-arrow{position:relative;top:2px}.va-clm__icon{position:relative;top:15px;margin-right:23px}.va-crisis-panel{color:var(--vads-color-base)}.va-crisis-panel-body{max-height:100%}.va-crisis-panel-title{color:var(--vads-color-base);padding-left:41px;background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 96 60%22 width%3D%2296px%22 height%3D%2260px%22%3E%3Cpath d%3D%22M58 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 30c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 46c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm-48 2L32 60h-2V48H4c-2.20914 0-4-1.79086-4-4V4c0-2.20914 1.79086-4 4-4h40c2.20914 0 4 1.79086 4 4v40c0 2.20914-1.79086 4-4 4h-2zM24 31.72174L33.86667 39l-3.73334-11.86087L40 20.13043H28L24 8l-4 12.13043H8l9.86667 7.0087L14.13333 39 24 31.72174z%22 fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat left;background-position:left 5px;background-size:32px auto}.va-crisis-panel-list{list-style:none;padding:0}.va-crisis-panel-list>li{display:-ms-flexbox;display:flex;min-height:56px;margin-bottom:0;border-top:1px solid var(--vads-color-base-light)}.va-crisis-panel-list>li:last-child{border-bottom:1px solid var(--vads-color-base-light)}.va-crisis-panel-list>li>a,.va-crisis-panel-list>li>span{padding:8px 0;-ms-flex-item-align:center;align-self:center}';var s=function(){function e(e){var t=this;(0,a.r)(this,e),this.componentLibraryAnalytics=(0,a.c)(this,"component-library-analytics",7),this.handleClick=function(){var e,i,a,n=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".content"),o=null===(i=t.el.shadowRoot)||void 0===i?void 0:i.querySelector("button"),r=null===(a=t.el.shadowRoot)||void 0===a?void 0:a.querySelector("div#header");if(o.setAttribute("aria-expanded","true"===o.getAttribute("aria-expanded")?"false":"true"),r.classList.toggle("expanded"),n.hidden?n.removeAttribute("hidden"):n.setAttribute("hidden","true"),!t.disableAnalytics){var s={componentName:"va-official-gov-banner",action:"true"===o.getAttribute("aria-expanded")?"expand":"collapse"};t.componentLibraryAnalytics.emit(s)}},this.govSiteExplanationText=function(){var e,i=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".gov-site-explanation-text");if(i){var a=o.i.t("gov-site-explanation",{tld:t.tld});a&&(i.innerHTML=a.replace(".".concat(t.tld),"<strong>.".concat(t.tld,"</strong>")))}},this.govSiteLockText=function(){var e,i=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".gov-site-lock-text"),a=o.i.t("gov-site-lock",{image:"SVG",tld:t.tld});a=(a=(a=(a=a.replace("SVG",'(&nbsp;<span class="icon-lock"><svg xmlns="http://www.w3.org/2000/svg" width="52" height="64" viewBox="0 0 52 64" role="img" aria-labelledby="banner-lock-description" focusable="false">\n <title id="banner-lock-title">Lock</title>\n <desc id="banner-lock-description">Locked padlock icon</desc>\n <path fill="#000000" fill-rule="evenodd" d="M26 0c10.493 0 19 8.507 19 19v9h3a4 4 0 0 1 4 4v28a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V32a4 4 0 0 1 4-4h3v-9C7 8.507 15.507 0 26 0zm0 8c-5.979 0-10.843 4.77-10.996 10.712L15 19v9h22v-9c0-6.075-4.925-11-11-11z"></path>\n </svg></span>&nbsp;)')).replace("lock","<strong>lock</strong>")).replace("candado","<strong>candado</strong>")).replace("https://","<strong>https://</strong>"),i&&(i.innerHTML=a)},this.disableAnalytics=!1,this.tld="gov"}return e.prototype.connectedCallback=function(){var e=this;o.i.on("languageChanged",function(){(0,a.f)(e.el)})},e.prototype.disconnectedCallback=function(){o.i.off("languageChanged")},e.prototype.componentDidLoad=function(){this.govSiteExplanationText(),this.govSiteLockText()},e.prototype.render=function(){var e=this.tld;if("gov"===e||"mil"===e)return(0,a.h)(a.H,{key:"87c94f819bedd589bf5453ba1c5d27120343241b"},(0,a.h)("div",{key:"39702c2c31eaa09c111e97d6081f6890725df283",class:"banner"},(0,a.h)("div",{key:"25f6b9f1fb101022f7df9040ac5317f4ef480c96",class:"accordion"},(0,a.h)("div",{key:"ee29058c66774758a5c2ce115be630f750566899",id:"header"},(0,a.h)("div",{key:"ffa496519054b0e8104b4ad97b859bd0c3e1193b",class:"inner"},(0,a.h)("div",{key:"402a5ea25f5fbc423a93e65afba9f7cc61ddf28b",class:"grid-col-auto"},(0,a.h)("img",{key:"1fbd820480e6e69c03e175565e28a52dac1fe613",role:"presentation",class:"header-flag",src:"https://s3-us-gov-west-1.amazonaws.com/content.www.va.gov/img/tiny-usa-flag.png",alt:""})),(0,a.h)("div",{key:"6ef48abb781dcd4de16b63e2a2850cb12648db52",class:"grid-col-fill","aria-hidden":"true"},(0,a.h)("p",{key:"5ff464b67bbec74f0a099fc5d6209657591a9774",class:"header-text"},o.i.t("gov-site-label")),(0,a.h)("p",{key:"efea58389527a679fcf62fa463fe8e4d4f4ffe15",class:"header-action"},o.i.t("gov-site-button"))),(0,a.h)("button",{key:"06977b9e3e1c7953f0d8e29d8902b8b7ee60ba95",onClick:this.handleClick,type:"button","aria-expanded":"false","aria-controls":"official-gov-banner"},(0,a.h)("span",{key:"99ea65054c7956c7140431b2c494b3b3cbf086f2",class:"button-text"},o.i.t("gov-site-button"))))),(0,a.h)("div",{key:"e7bc27c4abe992ea6f52c727fcfc2ad4d6953697",class:"content",id:"official-gov-banner",hidden:!0},(0,a.h)("div",{key:"deebbcc4c4c21993bd680fae450c82df191520de",class:"grid-row"},(0,a.h)("div",{key:"6bf9816f8610e25bcca221a4ca78ba1476cea6a2",class:"col"},(0,a.h)("img",{key:"18db25b612a24bd797f16be4988c41ff5b92413a",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjx0aXRsZT5pY29uLWRvdC1nb3Y8L3RpdGxlPjxwYXRoIGZpbGw9IiMyMzc4QzMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTMyIDBjMTcuNjczIDAgMzIgMTQuMzI3IDMyIDMyIDAgMTcuNjczLTE0LjMyNyAzMi0zMiAzMkMxNC4zMjcgNjQgMCA0OS42NzMgMCAzMiAwIDE0LjMyNyAxNC4zMjcgMCAzMiAwem0wIDEuMjA4QzE0Ljk5NCAxLjIwOCAxLjIwOCAxNC45OTQgMS4yMDggMzJTMTQuOTk0IDYyLjc5MiAzMiA2Mi43OTIgNjIuNzkyIDQ5LjAwNiA2Mi43OTIgMzIgNDkuMDA2IDEuMjA4IDMyIDEuMjA4em0xMC41OSAzOC44NThhLjg1Ny44NTcgMCAwIDEgLjg4Mi44MjJ2MS42NDJIMTguODg2di0xLjY0MmEuODU3Ljg1NyAwIDAgMSAuODgyLS44MjJINDIuNTl6TTI1LjQ0MyAyNy43NzR2OS44MjloMS42NDJ2LTkuODNoMy4yNzN2OS44M0gzMnYtOS44M2gzLjI3MnY5LjgzaDEuNjQzdi05LjgzaDMuMjcydjkuODNoLjc2YS44NTcuODU3IDAgMCAxIC44ODIuODIxdi44MjFoLTIxLjN2LS44MDlhLjg1Ny44NTcgMCAwIDEgLjg4LS44MmguNzYydi05Ljg0MmgzLjI3MnptNS43MzYtOC4xODhsMTIuMjkzIDQuOTE1djEuNjQyaC0xLjYzYS44NTcuODU3IDAgMCAxLS44ODIuODIySDIxLjQxYS44NTcuODU3IDAgMCAxLS44ODItLjgyMmgtMS42NDJ2LTEuNjQybDEyLjI5My00LjkxNXoiLz48L3N2Zz4=",role:"presentation",alt:""}),(0,a.h)("div",{key:"76cb154498c3a226ba25b9f35941998d5fa4b55b",class:"media-block"},(0,a.h)("p",{key:"67df93f4a0a57da991b24df97f7e561980615697"},(0,a.h)("strong",{key:"cee655729b121135a163c6d2fe857485b4186090"},o.i.t("gov-site-website",{tld:e})),(0,a.h)("br",{key:"ad226e949d9e92d63b781f08c89d4aa3fef16495"}),(0,a.h)("span",{key:"2172a6c3402103a17e04b3e49e85804bd3a81f70",class:"gov-site-explanation-text"},this.govSiteExplanationText())))),(0,a.h)("div",{key:"e1b45eee5c7ba32c00e99f3e4cbbff1e68b9e983",class:"col"},(0,a.h)("img",{key:"571116a66a4e5b9eba917a6b6fd24046bb0a4125",src:"data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMzIgMGMxNy42NzMgMCAzMiAxNC4zMjcgMzIgMzJzLTE0LjMyNyAzMi0zMiAzMi0zMi0xNC4zMjctMzItMzIgMTQuMzI3LTMyIDMyLTMyem0wIDEuMjA4Yy0xNy4wMDYgMC0zMC43OTIgMTMuNzg2LTMwLjc5MiAzMC43OTJzMTMuNzg2IDMwLjc5MiAzMC43OTIgMzAuNzkyIDMwLjc5Mi0xMy43ODYgMzAuNzkyLTMwLjc5Mi0xMy43ODYtMzAuNzkyLTMwLjc5Mi0zMC43OTJ6bTAgMTguODg2YTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1IDcuMjQ1djMuMTAzaC41MmMuODYgMCAxLjU1Ny42OTggMS41NTcgMS41NTh2OS4zMjJjMCAuODYtLjY5NyAxLjU1OC0xLjU1NyAxLjU1OGgtMTUuNTNjLS44NiAwLTEuNTU3LS42OTctMS41NTctMS41NTh2LTkuMzIyYzAtLjg2LjY5Ny0xLjU1OCAxLjU1Ny0xLjU1OGguNTJ2LTMuMTAyYTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1LTcuMjQ2em0wIDMuMTAzYTQuMTQyIDQuMTQyIDAgMCAwIC00LjE0MiA0LjE0MnYzLjEwM2g4LjI4NHYtMy4xMDJhNC4xNDIgNC4xNDIgMCAwIDAgLTQuMTQyLTQuMTQzeiIgZmlsbD0iIzcxOWYyYSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",role:"presentation",alt:""}),(0,a.h)("div",{key:"811a7296897918eb94171e8a44290287047fda78",class:"media-block"},(0,a.h)("p",{key:"79951b6559346e63548bca7a7c96f71293e42dbd"},(0,a.h)("strong",{key:"089ad9c2ac53c6d8da5af416ee89bdd7bd59243f"},o.i.t("gov-site-https",{tld:e})),(0,a.h)("br",{key:"1b54dd3abeb051dd0b97dfd6c616024b30eb0dd5"}),(0,a.h)("span",{key:"f8a88e83bcac877a3649d1b20f81dd9c808bc9cc",class:"gov-site-lock-text"},this.govSiteLockText())))))))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),e}();s.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}:host{display:block}.banner{background-color:#f0f0f0;font-size:12px;line-height:1.5;padding-bottom:0}.accordion{color:#1b1b1b;line-height:1.5;list-style-type:none;margin:0;padding:0;width:100%}.grid-col-fill{-ms-flex:1 1 0%;flex:1 1 0%;min-width:1px}.grid-col-auto,.grid-col-fill{-ms-flex:0 1 auto;flex:0 1 auto;width:auto;max-width:100%}.grid-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-0.469rem;margin-right:-0.469rem;margin-top:0;margin-bottom:0}.col{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex;-ms-flex:0 0 46%;flex:0 0 46%;padding-left:0.469rem;padding-right:0.469rem}@media (max-width: 767px){.col{-ms-flex:unset;flex:unset}}#header{padding-bottom:6px;padding-top:6px;position:relative}#header.expanded .header-action{display:none}@media (max-width: 767px){#header{min-height:32px}#header.expanded{padding-right:56px}}.inner{margin-left:auto;margin-right:auto;max-width:1024px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start;padding-right:0}.header-flag{float:left;margin-right:8px;width:16px}.header-text{font-size:12px;margin-bottom:2px;margin-right:5px;margin-top:2px;line-height:1.1}.header-action{color:#005ea2;font-size:12px;line-height:1.1;margin-bottom:0;margin-top:2px;text-decoration:underline}@media (min-width: 768px){.header-action{display:none}}button:not([disabled]):focus{outline:2px solid var(--vads-color-action-focus-on-light)}button[aria-expanded=false],button[aria-expanded=true]{background-image:none}@media (max-width: 767px){button{width:100%}}button{border:0;color:#005ea2;font-size:12px;margin:0;margin-left:0.313rem;padding-left:0;padding-right:0;position:relative}@media (max-width: 767px){button{-webkit-font-smoothing:inherit;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;margin:0;margin-bottom:-4px;text-align:left;left:0;position:absolute;bottom:0;top:0;color:#005ea2;display:block;height:auto;line-height:1.1;padding:0;text-decoration:none;width:100%}}button:hover{color:#1a4480;cursor:pointer}.button-text{position:absolute;left:-999em;right:auto;text-decoration:underline}@media (min-width: 768px){.button-text{position:static;display:inline}}@media (max-width: 767px){#header .header-action::after,#header.expanded .header-action::after{background-color:#005ea2}#header.expanded .header-action::after,#header .header-action::after{background:0 0;background-color:#005ea2;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;display:inline-block;height:18px;width:18px;content:"";vertical-align:middle;margin-left:2px}}@media (min-width: 768px){button::after,button:hover::after{background-color:#005ea2;position:absolute}button::after,#header.expanded button::after{background:0 0;background-color:#005ea2;display:inline-block;height:18px;width:18px;content:"";vertical-align:middle;margin-left:2px;top:-1px}button::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain}#header.expanded button::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain}}@media (max-width: 767px){button[aria-expanded=true]:after{bottom:0;top:0;position:absolute;right:0}@supports ((-webkit-mask: url()) or (mask: url())){button[aria-expanded=true]::after{background:0 0;background-color:#005ea2 !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/24px 24px;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/24px 24px}}button[aria-expanded=true]::after,button[aria-expanded=true]:before{position:absolute;content:"";height:48px;width:48px;bottom:0;top:0;right:0}button[aria-expanded=true]::after{background:0 0;background-color:#005ea2;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;display:inline-block;height:48px;width:48px;content:"";vertical-align:middle;margin-left:0}button[aria-expanded=true]:before{background-color:#dfe1e2;display:block}}button::after{position:absolute}.content{margin-left:auto;margin-right:auto;max-width:1024px;background-color:transparent;font-size:16px;overflow:hidden;padding:24px 32px 16px 16px}.content img{-ms-flex-negative:0;flex-shrink:0;margin-right:8px;width:45px}.content .media-block{-ms-flex:1 1 0%;flex:1 1 0%}.content svg{height:1.5ex;width:1.21875ex}.content p{margin-top:0;-webkit-margin-after:1em;margin-block-end:1em}'}}]);