@department-of-veterans-affairs/component-library 54.4.2 → 54.5.1

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 (201) hide show
  1. package/dist/1214.app.bundle.js +1 -1
  2. package/dist/1450.app.bundle.js +1 -1
  3. package/dist/2222.app.bundle.js +1 -1
  4. package/dist/2387.app.bundle.js +1 -1
  5. package/dist/2858.app.bundle.js +1 -1
  6. package/dist/3071.app.bundle.js +1 -1
  7. package/dist/3156.app.bundle.js +1 -1
  8. package/dist/4064.app.bundle.js +1 -1
  9. package/dist/4117.app.bundle.js +1 -1
  10. package/dist/4140.app.bundle.js +1 -1
  11. package/dist/5019.app.bundle.js +1 -1
  12. package/dist/5155.app.bundle.js +1 -1
  13. package/dist/5306.app.bundle.js +1 -1
  14. package/dist/5610.app.bundle.js +1 -1
  15. package/dist/5830.app.bundle.js +1 -1
  16. package/dist/6034.app.bundle.js +1 -1
  17. package/dist/6246.app.bundle.js +1 -1
  18. package/dist/6247.app.bundle.js +1 -1
  19. package/dist/6527.app.bundle.js +1 -1
  20. package/dist/6655.app.bundle.js +1 -1
  21. package/dist/7531.app.bundle.js +1 -1
  22. package/dist/7663.app.bundle.js +1 -1
  23. package/dist/7821.app.bundle.js +1 -1
  24. package/dist/8495.app.bundle.js +1 -1
  25. package/dist/8735.app.bundle.js +1 -1
  26. package/dist/8762.app.bundle.js +1 -1
  27. package/dist/9288.app.bundle.js +1 -1
  28. package/dist/9463.app.bundle.js +1 -1
  29. package/dist/9670.app.bundle.js +1 -1
  30. package/dist/9724.app.bundle.js +1 -1
  31. package/dist/9794.app.bundle.js +1 -1
  32. package/dist/9800.app.bundle.js +1 -1
  33. package/dist/9966.app.bundle.js +1 -1
  34. package/dist/app.bundle.js +1 -1
  35. package/dist/components/contacts.js +1 -0
  36. package/dist/components/date-utils.js +1 -0
  37. package/dist/components/index.js +1 -1
  38. package/dist/components/{p-a5dce9e6.js → index2.js} +1 -1
  39. package/dist/components/types/components.d.ts +18 -2
  40. package/dist/components/utils.js +1 -0
  41. package/dist/components/va-accordion-item.js +1 -1
  42. package/dist/components/va-accordion-item2.js +1 -0
  43. package/dist/components/va-accordion.js +1 -1
  44. package/dist/components/va-accordion2.js +1 -0
  45. package/dist/components/va-additional-info.js +1 -1
  46. package/dist/components/va-alert-expandable.js +1 -1
  47. package/dist/components/va-alert-sign-in.js +1 -1
  48. package/dist/components/va-alert.js +1 -1
  49. package/dist/components/va-alert2.js +1 -0
  50. package/dist/components/va-back-to-top.js +1 -1
  51. package/dist/components/va-banner.js +1 -1
  52. package/dist/components/va-breadcrumbs.js +1 -1
  53. package/dist/components/va-button-icon.js +1 -1
  54. package/dist/components/va-button-icon2.js +1 -0
  55. package/dist/components/va-button-pair.js +1 -1
  56. package/dist/components/va-button-segmented.js +1 -1
  57. package/dist/components/va-button.js +1 -1
  58. package/dist/components/va-button2.js +1 -0
  59. package/dist/components/va-card.js +1 -1
  60. package/dist/components/va-card2.js +1 -0
  61. package/dist/components/va-checkbox-group.js +1 -1
  62. package/dist/components/va-checkbox-group2.js +1 -0
  63. package/dist/components/va-checkbox.js +1 -1
  64. package/dist/components/va-checkbox2.js +1 -0
  65. package/dist/components/va-combo-box.js +1 -1
  66. package/dist/components/{p-d20739b4.js → va-combo-box2.js} +4 -4
  67. package/dist/components/va-crisis-line-modal.js +1 -1
  68. package/dist/components/va-crisis-line-modal2.js +1 -0
  69. package/dist/components/va-critical-action.js +1 -1
  70. package/dist/components/va-critical-action2.js +1 -0
  71. package/dist/components/va-date.js +1 -1
  72. package/dist/components/va-file-input-multiple.js +1 -1
  73. package/dist/components/va-file-input.js +1 -1
  74. package/dist/components/va-file-input2.js +1 -0
  75. package/dist/components/va-header-minimal.js +1 -1
  76. package/dist/components/va-icon.js +1 -1
  77. package/dist/components/va-icon2.js +1 -0
  78. package/dist/components/va-language-toggle.js +1 -1
  79. package/dist/components/va-link-action.js +1 -1
  80. package/dist/components/va-link.js +1 -1
  81. package/dist/components/va-link2.js +1 -0
  82. package/dist/components/va-loading-indicator.js +1 -1
  83. package/dist/components/va-maintenance-banner.js +1 -1
  84. package/dist/components/va-memorable-date.js +1 -1
  85. package/dist/components/va-minimal-footer.js +1 -1
  86. package/dist/components/va-modal.js +1 -1
  87. package/dist/components/va-modal2.js +1 -0
  88. package/dist/components/va-need-help.js +1 -1
  89. package/dist/components/va-notification.js +1 -1
  90. package/dist/components/va-official-gov-banner.js +1 -1
  91. package/dist/components/va-official-gov-banner2.js +1 -0
  92. package/dist/components/va-omb-info.js +1 -1
  93. package/dist/components/va-on-this-page.js +1 -1
  94. package/dist/components/va-pagination.js +1 -1
  95. package/dist/components/va-privacy-agreement.js +1 -1
  96. package/dist/components/va-process-list-item.js +1 -1
  97. package/dist/components/va-process-list.js +1 -1
  98. package/dist/components/va-progress-bar.js +1 -1
  99. package/dist/components/va-progress-bar2.js +1 -0
  100. package/dist/components/va-promo-banner.js +1 -1
  101. package/dist/components/va-radio-option.js +1 -1
  102. package/dist/components/va-radio.js +1 -1
  103. package/dist/components/va-search-filter.js +1 -1
  104. package/dist/components/va-search-input.js +1 -1
  105. package/dist/components/va-segmented-progress-bar.js +1 -1
  106. package/dist/components/va-select.js +1 -1
  107. package/dist/components/va-select2.js +1 -0
  108. package/dist/components/va-service-list-item.js +1 -1
  109. package/dist/components/va-sidenav-item.js +1 -1
  110. package/dist/components/va-sidenav-submenu.js +1 -1
  111. package/dist/components/va-sidenav.js +1 -1
  112. package/dist/components/va-statement-of-truth.js +1 -1
  113. package/dist/components/va-summary-box.js +1 -1
  114. package/dist/components/va-tab-item.js +1 -1
  115. package/dist/components/va-tab-panel.js +1 -1
  116. package/dist/components/va-table-inner.js +1 -1
  117. package/dist/components/va-table-inner2.js +1 -0
  118. package/dist/components/va-table-row.js +1 -1
  119. package/dist/components/va-table.js +1 -1
  120. package/dist/components/va-tabs.js +1 -1
  121. package/dist/components/va-tag-status.js +1 -1
  122. package/dist/components/va-telephone-input.js +1 -1
  123. package/dist/components/va-telephone.js +1 -1
  124. package/dist/components/va-telephone2.js +1 -0
  125. package/dist/components/va-text-input.js +1 -1
  126. package/dist/components/va-text-input2.js +1 -0
  127. package/dist/components/va-textarea.js +1 -1
  128. package/dist/react-bindings/index.d.ts +67 -6
  129. package/dist/react-bindings/index.js +1 -1
  130. package/dist/react-bindings/index.js.map +1 -1
  131. package/dist/react-bindings/index.ts +75 -6
  132. package/dist/react-bindings/react-component-lib/createComponent.d.ts +10 -0
  133. package/dist/react-bindings/react-component-lib/createComponent.js +1 -0
  134. package/dist/react-bindings/react-component-lib/createComponent.js.map +1 -0
  135. package/dist/react-bindings/react-component-lib/createComponent.tsx +106 -0
  136. package/dist/react-bindings/react-component-lib/createOverlayComponent.d.ts +21 -0
  137. package/dist/react-bindings/react-component-lib/createOverlayComponent.js +1 -0
  138. package/dist/react-bindings/react-component-lib/createOverlayComponent.js.map +1 -0
  139. package/dist/react-bindings/react-component-lib/createOverlayComponent.tsx +142 -0
  140. package/dist/react-bindings/react-component-lib/index.d.ts +2 -0
  141. package/dist/react-bindings/react-component-lib/index.js +1 -0
  142. package/dist/react-bindings/react-component-lib/index.js.map +1 -0
  143. package/dist/react-bindings/react-component-lib/index.ts +2 -0
  144. package/dist/react-bindings/react-component-lib/interfaces.d.ts +29 -0
  145. package/dist/react-bindings/react-component-lib/interfaces.js +1 -0
  146. package/dist/react-bindings/react-component-lib/interfaces.js.map +1 -0
  147. package/dist/react-bindings/react-component-lib/interfaces.ts +34 -0
  148. package/dist/react-bindings/react-component-lib/utils/attachProps.d.ts +16 -0
  149. package/dist/react-bindings/react-component-lib/utils/attachProps.js +2 -0
  150. package/dist/react-bindings/react-component-lib/utils/attachProps.js.LICENSE.txt +4 -0
  151. package/dist/react-bindings/react-component-lib/utils/attachProps.js.map +1 -0
  152. package/dist/react-bindings/react-component-lib/utils/attachProps.ts +125 -0
  153. package/dist/react-bindings/react-component-lib/utils/case.d.ts +2 -0
  154. package/dist/react-bindings/react-component-lib/utils/case.js +1 -0
  155. package/dist/react-bindings/react-component-lib/utils/case.js.map +1 -0
  156. package/dist/react-bindings/react-component-lib/utils/case.ts +7 -0
  157. package/dist/react-bindings/react-component-lib/utils/dev.d.ts +2 -0
  158. package/dist/react-bindings/react-component-lib/utils/dev.js +1 -0
  159. package/dist/react-bindings/react-component-lib/utils/dev.js.map +1 -0
  160. package/dist/react-bindings/react-component-lib/utils/dev.ts +14 -0
  161. package/dist/react-bindings/react-component-lib/utils/index.d.ts +10 -0
  162. package/dist/react-bindings/react-component-lib/utils/index.js +1 -0
  163. package/dist/react-bindings/react-component-lib/utils/index.js.map +1 -0
  164. package/dist/react-bindings/react-component-lib/utils/index.tsx +50 -0
  165. package/package.json +3 -4
  166. package/Modal.unit.spec.js +0 -1
  167. package/dist/components/p-0311e4e3.js +0 -1
  168. package/dist/components/p-067d7618.js +0 -1
  169. package/dist/components/p-3962731f.js +0 -1
  170. package/dist/components/p-40738d84.js +0 -1
  171. package/dist/components/p-494b538e.js +0 -1
  172. package/dist/components/p-6a3cf3d7.js +0 -1
  173. package/dist/components/p-6b349d85.js +0 -1
  174. package/dist/components/p-6e4b9401.js +0 -1
  175. package/dist/components/p-70a619e9.js +0 -1
  176. package/dist/components/p-7129443f.js +0 -1
  177. package/dist/components/p-784bed9b.js +0 -1
  178. package/dist/components/p-a12014b1.js +0 -1
  179. package/dist/components/p-b92d2c38.js +0 -1
  180. package/dist/components/p-bac94659.js +0 -1
  181. package/dist/components/p-bea05aab.js +0 -1
  182. package/dist/components/p-c3fdb782.js +0 -1
  183. package/dist/components/p-ce1b8abc.js +0 -1
  184. package/dist/components/p-cf580be9.js +0 -1
  185. package/dist/components/p-d4b7abf9.js +0 -1
  186. package/dist/components/p-d9f21f0d.js +0 -1
  187. package/dist/components/p-dffbc03b.js +0 -1
  188. package/dist/components/p-e1092a04.js +0 -1
  189. package/dist/components/p-ef5c0d66.js +0 -1
  190. package/dist/components/p-f3a1dcd5.js +0 -1
  191. package/dist/components/p-fda59844.js +0 -1
  192. package/dist/react-bindings/components.d.ts +0 -336
  193. package/dist/react-bindings/components.js +0 -1
  194. package/dist/react-bindings/components.js.map +0 -1
  195. package/dist/react-bindings/components.ts +0 -961
  196. package/format-date.unit.spec.js +0 -1
  197. package/utilities.unit.spec.js +0 -1
  198. /package/dist/components/{p-a836c3e1.js → i18next.js} +0 -0
  199. /package/dist/components/{p-a5dce9e6.js.LICENSE.txt → index2.js.LICENSE.txt} +0 -0
  200. /package/dist/components/{p-b276cef8.js → parsePhoneNumber_.js} +0 -0
  201. /package/dist/components/{p-d20739b4.js.LICENSE.txt → va-combo-box2.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[1214],{1214:function(e,t,o){o.r(t),o.d(t,{va_omb_info:function(){return i}});var n=o(2625),i=function(){function e(e){var t=this;(0,n.r)(this,e),this.modalContents=null,this.toggleModalVisible=function(){t.visible=!t.visible},this.handleSlotChange=function(){t.modalContents=null},this.visible=void 0,this.shifted=!1,this.benefitType="benefits",this.expDate=void 0,this.ombNumber=void 0,this.formId=void 0,this.resBurden=void 0,this.modalClickToClose=!1}return 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"),o=null==t?void 0:t.getAttribute("visible");if(null!==o&&"false"!==o){var n=void 0,i=this.shifted?".last-focusable-child":'[role="document"]';null==(n=this.shifted?null==t?void 0:t.querySelector("va-telephone").shadowRoot.querySelector(i):null==t?void 0:t.shadowRoot.querySelector(i))||n.focus()}},e.prototype.formatRespondentBurden=function(){if(this.resBurden<=60)return"".concat(this.resBurden," minute").concat(1===this.resBurden?"":"s");var e=Math.floor(this.resBurden/60),t=this.resBurden%60,o="".concat(e," hour").concat(1===e?"":"s");return t&&(o+=" and ".concat(t," minute").concat(1===t?"":"s")),o},e.prototype.componentWillLoad=function(){this.modalContents=(0,n.h)("div",null,this.resBurden&&(0,n.h)("p",null,(0,n.h)("strong",null,"Respondent Burden:")," We need this information to determine your eligibility for ",this.benefitType," (38 U.S.C. 3471). Title 38, United States Code, allows us to ask for this information. We estimate that you will need an average of ",this.resBurden," ","minutes to review the instructions, find the information, and complete this form. The VA cannot conduct or sponsor a collection of information unless a valid OMB (Office of Management and Budget) control number is displayed. You are not required to respond to a collection of information if this number is not displayed. Valid OMB control numbers can be located on the OMB Internet Page at www.reginfo.gov/public/do/PRAMain. If desired, you can call"," ",(0,n.h)("va-telephone",{contact:"8008271000",international:!0})," to get information on where to send comments or suggestions about this form."),(0,n.h)("p",null,(0,n.h)("strong",null,"Privacy Act Notice:")," The VA will not disclose information collected on this form to any source other than what has been authorized under the Privacy Act of 1974 or title 38, Code of Federal Regulations, section 1.576 for routine uses (e.g., the VA sends educational forms or letters with a veteran’s identifying information to the Veteran’s school or training establishment to (1) assist the veteran in the completion of claims forms or (2) for the VA to obtain further information as may be necessary from the school for VA to properly process the Veteran’s education claim or to monitor his or her progress during training) as identified in the VA system of records, 58VA21/22/28, Compensation, Pension, Education, and Vocational Rehabilitation and Employment Records - VA, and published in the Federal Register. Your obligation to respond is required to obtain or retain",this.benefitType,". Giving us your SSN account information is voluntary. Refusal to provide your SSN by itself will not result in the denial of benefits. The VA will not deny an individual benefits for refusing to provide his or her SSN unless the disclosure of the SSN is required by a Federal Statute of law enacted before January 1, 1975, and still in effect. The requested information is considered relevant and necessary to determine the maximum benefits under the law. While you do not have to respond, VA cannot process your claim for education assistance unless the information is furnished as required by existing law (38 U.S.C. 3471). The responses you submit are considered confidential (38 U.S.C. 5701). Any information provided by applicants, recipients, and others may be subject to verification through computer matching programs with other agencies."))},e.prototype.render=function(){var e=this,t=this,o=t.expDate,i=t.handleSlotChange,r=t.modalContents,a=t.ombNumber,s=t.resBurden,d=t.toggleModalVisible,l=t.visible,c=t.formId;return(0,n.h)(n.H,{key:"0e8ae1472c5b825dbabc97873228fe4f2fc1fa9f"},s&&(0,n.h)("div",{key:"4f33f64137601ff4ad4a3ad02381a8469b7e5de8"},"Respondent burden: ",(0,n.h)("strong",{key:"d73bf40b4bdfae6b20ba8963636ef71c513ce723"},this.formatRespondentBurden())),a&&(0,n.h)("div",{key:"73d0f46e0d87fe3a4a2b5f6ca6b4ee37df7810ec"},"OMB Control #: ",(0,n.h)("strong",{key:"bd67e2066473010d2052b66ac98f50096b8125a0"},a)),(0,n.h)("div",{key:"575e38b3f630668cd6ff68567c82a6e0dc821e0b"},"Expiration date: ",(0,n.h)("strong",{key:"683b02ef82b606a14672830ec7edd9d6d784b398"},o)),(0,n.h)("div",{key:"1eb00393941450987ff9a434c0c6c86980e84514"},(0,n.h)("va-button",{key:"e3682cd0d44b36cf97887c5fbd373e88718b90bf",onClick:d,onFocusin:function(){return e.trapFocus()},secondary:!0,text:c?"Privacy Act Statement for VA Form ".concat(c):"Privacy Act Statement"})),(0,n.h)("va-modal",{key:"4815bd5599987a8b6a8ce9b291e116775499443f",large:!0,modalTitle:"Privacy Act Statement",onCloseEvent:d,visible:l,clickToClose:this.modalClickToClose},(0,n.h)("slot",{key:"65973b56b97d06142d9882970b5f58602231db0c",onSlotchange:i}),r))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,n.g)(this)},enumerable:!1,configurable:!0}),e}();i.style=":host{display:block;font-size:1.06rem}"}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[1214],{1214:function(e,t,o){o.r(t),o.d(t,{va_omb_info:function(){return i}});var n=o(2625),i=function(){function e(e){var t=this;(0,n.r)(this,e),this.modalContents=null,this.toggleModalVisible=function(){t.visible=!t.visible},this.handleSlotChange=function(){t.modalContents=null},this.visible=void 0,this.shifted=!1,this.benefitType="benefits",this.expDate=void 0,this.ombNumber=void 0,this.formId=void 0,this.resBurden=void 0,this.modalClickToClose=!1}return 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"),o=null==t?void 0:t.getAttribute("visible");if(null!==o&&"false"!==o){var n=void 0,i=this.shifted?".last-focusable-child":'[role="document"]';null==(n=this.shifted?null==t?void 0:t.querySelector("va-telephone").shadowRoot.querySelector(i):null==t?void 0:t.shadowRoot.querySelector(i))||n.focus()}},e.prototype.formatRespondentBurden=function(){if(this.resBurden<=60)return"".concat(this.resBurden," minute").concat(1===this.resBurden?"":"s");var e=Math.floor(this.resBurden/60),t=this.resBurden%60,o="".concat(e," hour").concat(1===e?"":"s");return t&&(o+=" and ".concat(t," minute").concat(1===t?"":"s")),o},e.prototype.componentWillLoad=function(){this.modalContents=(0,n.h)("div",null,this.resBurden&&(0,n.h)("p",null,(0,n.h)("strong",null,"Respondent Burden:")," We need this information to determine your eligibility for ",this.benefitType," (38 U.S.C. 3471). Title 38, United States Code, allows us to ask for this information. We estimate that you will need an average of ",this.resBurden," ","minutes to review the instructions, find the information, and complete this form. The VA cannot conduct or sponsor a collection of information unless a valid OMB (Office of Management and Budget) control number is displayed. You are not required to respond to a collection of information if this number is not displayed. Valid OMB control numbers can be located on the OMB Internet Page at www.reginfo.gov/public/do/PRAMain. If desired, you can call"," ",(0,n.h)("va-telephone",{contact:"8008271000",international:!0})," to get information on where to send comments or suggestions about this form."),(0,n.h)("p",null,(0,n.h)("strong",null,"Privacy Act Notice:")," The VA will not disclose information collected on this form to any source other than what has been authorized under the Privacy Act of 1974 or title 38, Code of Federal Regulations, section 1.576 for routine uses (e.g., the VA sends educational forms or letters with a veteran’s identifying information to the Veteran’s school or training establishment to (1) assist the veteran in the completion of claims forms or (2) for the VA to obtain further information as may be necessary from the school for VA to properly process the Veteran’s education claim or to monitor his or her progress during training) as identified in the VA system of records, 58VA21/22/28, Compensation, Pension, Education, and Vocational Rehabilitation and Employment Records - VA, and published in the Federal Register. Your obligation to respond is required to obtain or retain",this.benefitType,". Giving us your SSN account information is voluntary. Refusal to provide your SSN by itself will not result in the denial of benefits. The VA will not deny an individual benefits for refusing to provide his or her SSN unless the disclosure of the SSN is required by a Federal Statute of law enacted before January 1, 1975, and still in effect. The requested information is considered relevant and necessary to determine the maximum benefits under the law. While you do not have to respond, VA cannot process your claim for education assistance unless the information is furnished as required by existing law (38 U.S.C. 3471). The responses you submit are considered confidential (38 U.S.C. 5701). Any information provided by applicants, recipients, and others may be subject to verification through computer matching programs with other agencies."))},e.prototype.render=function(){var e=this,t=this,o=t.expDate,i=t.handleSlotChange,r=t.modalContents,a=t.ombNumber,s=t.resBurden,d=t.toggleModalVisible,l=t.visible,c=t.formId;return(0,n.h)(n.H,{key:"6666b54fc531c9b8cec8d0547e495aeb5c148e42"},s&&(0,n.h)("div",{key:"e2a2ba983f2873d737071778ddb5136b7807d535"},"Respondent burden: ",(0,n.h)("strong",{key:"904565f216c0c6f9902425f33e7dab7a03e7cbe6"},this.formatRespondentBurden())),a&&(0,n.h)("div",{key:"1481a6010cac53ac8ed8520ae8f17d0fabc91df6"},"OMB Control #: ",(0,n.h)("strong",{key:"0e35723979be3152d0e9d116e03e53e0c23fdfed"},a)),(0,n.h)("div",{key:"b721bfc4837c3b4b9ada0ce67010bd2e4eff8163"},"Expiration date: ",(0,n.h)("strong",{key:"b3c43f3c6271520240db97115b005ef60a543a32"},o)),(0,n.h)("div",{key:"b67de4c0ad1f7d9bdb16b67d55ece02afa0140ac"},(0,n.h)("va-button",{key:"d9ee2e9f7c3e70e23a78b573bdcdc91865aa8542",onClick:d,onFocusin:function(){return e.trapFocus()},secondary:!0,text:c?"Privacy Act Statement for VA Form ".concat(c):"Privacy Act Statement"})),(0,n.h)("va-modal",{key:"d1b4182b9f73539fe64b6b6891189dd332344ee9",large:!0,modalTitle:"Privacy Act Statement",onCloseEvent:d,visible:l,clickToClose:this.modalClickToClose},(0,n.h)("slot",{key:"133c529f262fa4f792e48f72f5df8b6f5f4ecb13",onSlotchange:i}),r))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,n.g)(this)},enumerable:!1,configurable:!0}),e}();i.style=":host{display:block;font-size:1.06rem}"}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[1450],{1450:function(e,a,t){t.r(a),t.d(a,{va_statement_of_truth:function(){return n}});var r=t(2625),n=function(){function e(e){var a=this;(0,r.r)(this,e),this.vaInputChange=(0,r.c)(this,"vaInputChange",7),this.vaInputBlur=(0,r.c)(this,"vaInputBlur",7),this.vaCheckboxChange=(0,r.c)(this,"vaCheckboxChange",7),this.handleInputChange=function(e){var t=e.currentTarget.value;a.vaInputChange.emit({value:t})},this.handleInputBlur=function(e){a.vaInputBlur.emit(e)},this.handleCheckboxChange=function(e){var t=e.currentTarget.checked;a.vaCheckboxChange.emit({checked:t})},this.heading="Statement of truth",this.inputValue="",this.inputError="",this.checkboxError="",this.inputMessageAriaDescribedby="",this.hideLegalNote=void 0,this.checked=void 0,this.inputLabel="Your full name",this.checkboxLabel="I certify the information above is correct and true to the best of my knowledge and belief."}return e.prototype.render=function(){var e=this,a=e.heading,t=e.inputLabel,n=e.checkboxLabel,i=e.inputMessageAriaDescribedby,o=e.hideLegalNote,s=e.checked,c=e.inputValue,h=e.inputError,f=e.checkboxError;return(0,r.h)(r.H,{key:"5df4228a347ea245d307f3fbc84ce0da3bab240e"},!o&&(0,r.h)("p",{key:"eb2ebce46d4d232e3320009ca4ad599eded86a32",id:"legal-note",class:"font-sans-6"},(0,r.h)("strong",{key:"aba806a56f1e8fe474b710c03f2ba32d6b66aec4"},"Note:")," According to federal law, there are criminal penalties, including a fine and/or imprisonment for up to 5 years, for withholding information or for providing incorrect information (Reference: 18 U.S.C. 1001)."),(0,r.h)("article",{key:"54e661258ae14d7736be4db2ee035f4a1e3e4766"},(0,r.h)("h3",{key:"0d1054696911753f5e2161bbec7601b5e2adcf3f"},a),(0,r.h)("slot",{key:"7e514b0e3c5da1ae2de9ccfef4c413f4e5f0fe35"}),(0,r.h)("p",{key:"a06a1483d36434a56519ce07bbfc7db2ea8f59aa",class:"font-sans-6 short-line"},"I have read and accept the ",(0,r.h)("va-link",{key:"d0babea7bf163acc2933751b8c324f74bdbaa49c",external:!0,text:"privacy policy",href:"/privacy-policy/"}),"."),(0,r.h)("va-text-input",{key:"bd21fe3f2a8c00b3c173beb45f8a0e8b254491f3",id:"veteran-signature",name:"veteran-signature",label:t,value:c,"message-aria-describedby":i,required:!0,error:h,onInput:this.handleInputChange,onBlur:this.handleInputBlur,"error-has-pii":!0}),(0,r.h)("va-checkbox",{key:"6888c1a0a8c7497a1439ab7726e510112f7dda94",id:"veteran-certify",name:"veteran-certify",label:n,required:!0,checked:s,error:f,onVaChange:this.handleCheckboxChange})))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();n.style='.usa-sr-only{position:absolute;left:-999em;right:auto}[class*=font-mono-]{font-family:Roboto Mono Web, Bitstream Vera Sans Mono, Consolas, Courier, monospace}[class*=font-sans-]{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans}[class*=font-serif-]{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif}[class*=font-ui-]{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans}[class*=font-heading-]{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif}[class*=font-body-]{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans}[class*=font-code-]{font-family:Roboto Mono Web, Bitstream Vera Sans Mono, Consolas, Courier, monospace}[class*=font-alt-]{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif}:host :not(h3){font-size:var(--vads-font-size-source-sans-normalized)}:host h3{font-family:var(--font-serif);margin:var(--units-3) 0}:host>p{margin:var(--units-3)}@media screen and (max-width: 481px){:host .short-line{text-wrap:pretty}}:host va-text-input{margin-bottom:var(--units-3)}:host article{background-color:var(--vads-color-base-lightest);padding:1px var(--units-3) var(--units-3) var(--units-3);margin-bottom:var(--units-3)}va-checkbox::part(checkbox){max-width:100%}a{color:var(--vads-color-link)}'}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[1450],{1450:function(e,a,t){t.r(a),t.d(a,{va_statement_of_truth:function(){return n}});var r=t(2625),n=function(){function e(e){var a=this;(0,r.r)(this,e),this.vaInputChange=(0,r.c)(this,"vaInputChange",7),this.vaInputBlur=(0,r.c)(this,"vaInputBlur",7),this.vaCheckboxChange=(0,r.c)(this,"vaCheckboxChange",7),this.handleInputChange=function(e){var t=e.currentTarget.value;a.vaInputChange.emit({value:t})},this.handleInputBlur=function(e){a.vaInputBlur.emit(e)},this.handleCheckboxChange=function(e){var t=e.currentTarget.checked;a.vaCheckboxChange.emit({checked:t})},this.heading="Statement of truth",this.inputValue="",this.inputError="",this.checkboxError="",this.inputMessageAriaDescribedby="",this.hideLegalNote=void 0,this.checked=void 0,this.inputLabel="Your full name",this.checkboxLabel="I certify the information above is correct and true to the best of my knowledge and belief."}return e.prototype.render=function(){var e=this,a=e.heading,t=e.inputLabel,n=e.checkboxLabel,i=e.inputMessageAriaDescribedby,o=e.hideLegalNote,s=e.checked,c=e.inputValue,h=e.inputError,f=e.checkboxError;return(0,r.h)(r.H,{key:"a4783baac886d5e3403f1826cdf282b3e2d5dd56"},!o&&(0,r.h)("p",{key:"abbd2b50a3c765334270904279fa9407248f3d5b",id:"legal-note",class:"font-sans-6"},(0,r.h)("strong",{key:"e72ff3d2824660aa8b671656bd087106304f7007"},"Note:")," According to federal law, there are criminal penalties, including a fine and/or imprisonment for up to 5 years, for withholding information or for providing incorrect information (Reference: 18 U.S.C. 1001)."),(0,r.h)("article",{key:"d5b61d927c5cb6f15ddcb14939d8defe795fa863"},(0,r.h)("h3",{key:"00187d8022655151cdf5c5f17ec3fe675ad43ddf"},a),(0,r.h)("slot",{key:"dc883ff0758d0cec8d532dbfc4098e716bed22bf"}),(0,r.h)("p",{key:"8ee62b0401918cfe003c32b635e3f7fae56b9521",class:"font-sans-6 short-line"},"I have read and accept the ",(0,r.h)("va-link",{key:"539cd909c6759e663506f4530d4ce0c5c9bb9d41",external:!0,text:"privacy policy",href:"/privacy-policy/"}),"."),(0,r.h)("va-text-input",{key:"9e22d7051dc1f0f82aa81d99039ae9ee2f6dddbf",id:"veteran-signature",name:"veteran-signature",label:t,value:c,"message-aria-describedby":i,required:!0,error:h,onInput:this.handleInputChange,onBlur:this.handleInputBlur,"error-has-pii":!0}),(0,r.h)("va-checkbox",{key:"95f1b003320170813a32ffa0ca2b10bda0b9808b",id:"veteran-certify",name:"veteran-certify",label:n,required:!0,checked:s,error:f,onVaChange:this.handleCheckboxChange})))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();n.style='.usa-sr-only{position:absolute;left:-999em;right:auto}[class*=font-mono-]{font-family:Roboto Mono Web, Bitstream Vera Sans Mono, Consolas, Courier, monospace}[class*=font-sans-]{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans}[class*=font-serif-]{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif}[class*=font-ui-]{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans}[class*=font-heading-]{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif}[class*=font-body-]{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans}[class*=font-code-]{font-family:Roboto Mono Web, Bitstream Vera Sans Mono, Consolas, Courier, monospace}[class*=font-alt-]{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif}:host :not(h3){font-size:var(--vads-font-size-source-sans-normalized)}:host h3{font-family:var(--font-serif);margin:var(--units-3) 0}:host>p{margin:var(--units-3)}@media screen and (max-width: 481px){:host .short-line{text-wrap:pretty}}:host va-text-input{margin-bottom:var(--units-3)}:host article{background-color:var(--vads-color-base-lightest);padding:1px var(--units-3) var(--units-3) var(--units-3);margin-bottom:var(--units-3)}va-checkbox::part(checkbox){max-width:100%}a{color:var(--vads-color-link)}'}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 2222.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([[2222,4164],{4164:function(i,e,t){t.r(e),t.d(e,{c:function(){return o}});var n,r={exports:{}};n=r,function(){var i={}.hasOwnProperty;function e(){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var a=e.apply(null,r);a&&t.push(a)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var s in r)i.call(r,s)&&r[s]&&t.push(s);else t.push(r.toString())}}return t.join(" ")}n.exports?(e.default=e,n.exports=e):window.classNames=e}();var o=r.exports},2222:function(i,e,t){t.r(e),t.d(e,{va_icon:function(){return a}});var n=t(2625),r=t(4164),o=t(4879),a=function(){function i(i){(0,n.r)(this,i),this.fallbackSpriteLocation="/img/sprite.svg",this.icon=void 0,this.spriteLocation=void 0,this.size=void 0,this.srtext=void 0}return i.prototype.getSize=function(){return this.size&&![3,4,5,6,7,8,9].includes(this.size)?null:this.size},i.prototype.validateSpriteLocation=function(i){var e=this.fallbackSpriteLocation;try{var t=new URL(i,window.location.origin);return t.origin===window.location.origin&&t.pathname.endsWith(".svg")&&!i.includes("..")&&(e=t.pathname),e}catch(i){return e}},i.prototype.componentWillLoad=function(){globalThis.getVaIconSpriteLocation||(0,o.i)()},i.prototype.render=function(){var i,e=this,t=e.icon,o=e.srtext,a=e.spriteLocation,s=this.getSize(),c=(0,r.c)(((i={"usa-icon":!0})["usa-icon--size-".concat(s)]=!!s,i)),l=this.validateSpriteLocation(a||globalThis.getVaIconSpriteLocation())+"#".concat(t);return(0,n.h)(n.H,{key:"87937ec8feb83c5fda54a8df2e4fb8d568c3e6bf"},(0,n.h)("svg",{key:"90af82328276ad672588d5595164fb4ab7a6123e",class:c,"aria-labelledby":o?"icon-title":null,"aria-hidden":o?null:"true",focusable:"false",role:"img"},o&&(0,n.h)("title",{key:"8bd56db2a5c8adcb615472314cdb99f1a7084396",id:"icon-title"},o),(0,n.h)("use",{key:"e7f1b8669691a35229718e0406cdde453729d6c7",href:l})))},Object.defineProperty(i,"assetsDirs",{get:function(){return["../img"]},enumerable:!1,configurable:!0}),i}();a.style=".usa-icon{display:inline-block;fill:currentColor;height:1em;position:relative;width:1em}.usa-icon--size-3{height:1.5rem;width:1.5rem}.usa-icon--size-4{height:2rem;width:2rem}.usa-icon--size-5{height:2.5rem;width:2.5rem}.usa-icon--size-6{height:3rem;width:3rem}.usa-icon--size-7{height:3.5rem;width:3.5rem}.usa-icon--size-8{height:4rem;width:4rem}.usa-icon--size-9{height:4.5rem;width:4.5rem}:host{display:inline-block;line-height:0;vertical-align:bottom}"}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2222,4164],{4164:function(i,e,t){t.r(e),t.d(e,{c:function(){return o}});var n,r={exports:{}};n=r,function(){var i={}.hasOwnProperty;function e(){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var a=e.apply(null,r);a&&t.push(a)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var s in r)i.call(r,s)&&r[s]&&t.push(s);else t.push(r.toString())}}return t.join(" ")}n.exports?(e.default=e,n.exports=e):window.classNames=e}();var o=r.exports},2222:function(i,e,t){t.r(e),t.d(e,{va_icon:function(){return a}});var n=t(2625),r=t(4164),o=t(4879),a=function(){function i(i){(0,n.r)(this,i),this.fallbackSpriteLocation="/img/sprite.svg",this.icon=void 0,this.spriteLocation=void 0,this.size=void 0,this.srtext=void 0}return i.prototype.getSize=function(){return this.size&&![3,4,5,6,7,8,9].includes(this.size)?null:this.size},i.prototype.validateSpriteLocation=function(i){var e=this.fallbackSpriteLocation;try{var t=new URL(i,window.location.origin);return t.origin===window.location.origin&&t.pathname.endsWith(".svg")&&!i.includes("..")&&(e=t.pathname),e}catch(i){return e}},i.prototype.componentWillLoad=function(){globalThis.getVaIconSpriteLocation||(0,o.i)()},i.prototype.render=function(){var i,e=this,t=e.icon,o=e.srtext,a=e.spriteLocation,s=this.getSize(),c=(0,r.c)(((i={"usa-icon":!0})["usa-icon--size-".concat(s)]=!!s,i)),l=this.validateSpriteLocation(a||globalThis.getVaIconSpriteLocation())+"#".concat(t);return(0,n.h)(n.H,{key:"1dce98b22837741699aa01d61bb34c807373031d"},(0,n.h)("svg",{key:"80fcffaa8c744404427e40c01053d4b5f870386f",class:c,"aria-labelledby":o?"icon-title":null,"aria-hidden":o?null:"true",focusable:"false",role:"img"},o&&(0,n.h)("title",{key:"03f9f60081aa755a56b783fd5a4a5fd2b81a988d",id:"icon-title"},o),(0,n.h)("use",{key:"933f896066edb3c2d57d28bcdbc1208846c24249",href:l})))},Object.defineProperty(i,"assetsDirs",{get:function(){return["../img"]},enumerable:!1,configurable:!0}),i}();a.style=".usa-icon{display:inline-block;fill:currentColor;height:1em;position:relative;width:1em}.usa-icon--size-3{height:1.5rem;width:1.5rem}.usa-icon--size-4{height:2rem;width:2rem}.usa-icon--size-5{height:2.5rem;width:2.5rem}.usa-icon--size-6{height:3rem;width:3rem}.usa-icon--size-7{height:3.5rem;width:3.5rem}.usa-icon--size-8{height:4rem;width:4rem}.usa-icon--size-9{height:4.5rem;width:4.5rem}:host{display:inline-block;line-height:0;vertical-align:bottom}"}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2387,3126],{3126:function(t,a,e){function r(t){return!Number.isNaN(parseFloat(t))}function o(t,a,e){void 0===e&&(e="slot");var r=t.shadowRoot.querySelector(e).assignedNodes();return null!==a?Array.from(r).filter(function(t){return t.nodeName.toLowerCase()===a}):Array.from(r)}function s(t){return 1===t?"":"s"}function l(t,a){if(void 0===t||""===t)return"".concat(a," character").concat(s(a)," allowed");var e;if(t.length<=a){var r=a-t.length;e="".concat(r," character").concat(s(r)," left")}else r=t.length-a,e="".concat(r," character").concat(s(r)," over limit");return e}function d(t,a){return Array.from({length:a-t+1},function(a,e){return t+e})}e.r(a),e.d(a,{S:function(){return i},a:function(){return o},b:function(){return r},c:function(){return g},d:function(){return f},e:function(){return m},f:function(){return l},g:function(){return u},h:function(){return h},i:function(){return c},m:function(){return d},s:function(){return n},u:function(){return p}}),e(2625);var b=function(t){return t&&"object"==typeof t&&1===t.nodeType};function n(t,a){var e=function(t,a){if("string"!=typeof t)return[];if(!a||!b(a))return[];var e=a.shadowRoot.querySelectorAll(t);return Array.from(e)}(t,a);return"string"!=typeof t||b(a)&&a.matches(t)&&e.push(a),e}var i={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(t){return i._entities[t]},escapeHTML:function(t){for(var a="",e=0;e<t.length;e++)a+=t[e],e+1<arguments.length&&(a+=String(arguments[e+1]||"").replace(i._entity,i.getEntity));return a}};function u(t){var a;return(a="string"==typeof t?parseInt(t,10):Math.floor(t))>=1&&a<=6?"h".concat(a):null}function h(t){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(t.tagName)}function c(t){return t&&"false"!==t||!1}function _(t){return"[object Arguments]"===Object.prototype.toString.call(t)}function f(t,a){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(t===a)return!0;if("function"==typeof t||"function"==typeof a)return!0;if("object"!=typeof t||"object"!=typeof a)return!1;if(null===t||null===a)return!1;if(t instanceof Date&&a instanceof Date)return t.getTime()===a.getTime();if(t instanceof RegExp&&a instanceof RegExp)return t.source===a.source&&t.global===a.global&&t.multiline===a.multiline&&t.lastIndex===a.lastIndex&&t.ignoreCase===a.ignoreCase;if(_(t)||_(a)){if(!_(t)||!_(a))return!1;var o=Array.prototype.slice;return f(o.call(t),o.call(a),e,r)}if(t.constructor!==a.constructor)return!1;var s=Object.keys(t),l=Object.keys(a);if(0===s.length&&0===l.length)return!0;if(s.length!==l.length)return!1;for(var d=e.length;d--;)if(e[d]===t)return r[d]===a;e.push(t),r.push(a),s.sort(),l.sort();for(var b=s.length-1;b>=0;b--)if(s[b]!==l[b])return!1;for(var n=void 0,i=s.length-1;i>=0;i--)if(!f(t[n=s[i]],a[n],e,r))return!1;return e.pop(),r.pop(),!0}function g(t,a){var e;return function(){for(var r=this,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];clearTimeout(e),e=setTimeout(function(){return t.apply(r,o)},a)}}function m(t){if(null!=t){var a="string"==typeof t?parseInt(t,10):t;if(!(a<=0||isNaN(a)))return a}}function p(t,a,e){t&&(t.innerText=l(a,m(e)))}},2387:function(t,a,e){e.r(a),e.d(a,{va_table:function(){return _}});var r=e(2625),o=e(3126),s={january:1,february:2,march:3,april:4,may:5,june:6,july:7,august:8,september:9,october:10,november:11,december:12},l={first:1,second:2,third:3,fourth:4,fifth:5,sixth:6,seventh:7,eighth:8,ninth:9,tenth:10,eleventh:11,twelfth:12,thirteenth:13,fourteenth:14,fifteenth:15,sixteenth:16,seventeenth:17,eighteenth:18,nineteenth:19,twentieth:20},d=/^(\d{1,2}\/){1,2}(\d{2}|\d{4})$/;function b(t){if(""===t)return-1/0;var a=t.toLowerCase();return a in l?l[a]:t.replace(/[$%,]|(th)|(st)|(rd)|(nd)/g,"")}function n(t){return""===t?-1/0:s[t.toLowerCase()]||new Date(t).getTime()}function i(t){var a,e=null===(a=null==this?void 0:this.el)||void 0===a?void 0:a.getAttribute("lang");return e=e||"en-US",function(a,r){var o="ascending"===t,s=o?a:r,l=o?r:a;return new Intl.Collator(e,{sensitivity:"base"}).compare(s,l)}}function u(t,a,e){return"ascending"===e?t-a:a-t}function h(t,a){var e;return e=function(t){var a=b(t);return!d.test(t)&&("number"==typeof a||(0,o.b)(a))}(t)?function(t){return function(a,e){return u(+b(a),+b(e),t)}}(a):function(t){var a=new Date(t);return!isNaN(a.getTime())||!!s[t.toLowerCase()]}(t)?function(t){return function(a,e){return u(n(a),n(e),t)}}(a):i.bind(this)(a),e}function c(t,a,e){for(var r=0,o=t;r<o.length;r++){var s=o[r].children[a],l=s.getAttribute("data-sort-value");if(null!==l)return h.bind(this)(l,e);var d=s.innerHTML.trim();if(""!==d)return h.bind(this)(d,e)}return null}var _=function(){function t(t){(0,r.r)(this,t),this.tableTitle=void 0,this.tableType="borderless",this.stacked=!0,this.scrollable=!1,this.sortable=!1,this.striped=!1,this.fullWidth=!1,this.rightAlignCols=void 0,this.monoFontCols=void 0,this.emptyCellText="Not available",this.rows=void 0,this.cols=void 0,this.cells=null}return t.prototype.getCellsInRow=function(t){var a=Array.from(t.querySelectorAll(":scope > span"));return this.cols||(this.cols=a.length),a},t.prototype.getRows=function(){var t=Array.from(this.el.querySelectorAll("va-table-row"));return t.forEach(function(t){return t.removeAttribute("role")}),this.rows||(this.rows=t.length),t},t.prototype.getAllCells=function(t){void 0===t&&(t=this.getRows());for(var a=[],e=0,r=0,o=t;r<o.length;r++){var s=o[r],l=this.getCellsInRow(s);l.forEach(function(t){t.setAttribute("slot","va-table-slot-".concat(e)),e++}),a.push.apply(a,l)}this.cells=a},t.prototype.checkForEmptyCells=function(){var t=this;this.cells.map(function(a){return""===a.innerHTML.trim()&&""===a.innerText.trim()?(a.innerText=t.emptyCellText,a.innerHTML=t.emptyCellText,a):a})},t.prototype.makeFragment=function(){var t=this,a=document.createDocumentFragment();return this.checkForEmptyCells(),this.cells.forEach(function(e){t.sortable?a.appendChild(e.cloneNode(!0)):a.appendChild(e)}),a},t.prototype.makeVATable=function(t,a){var e=document.createElement("va-table-inner");e.setAttribute("rows","".concat(this.rows)),e.setAttribute("cols","".concat(this.cols)),e.setAttribute("stacked",this.stacked&&!this.sortable?"true":"false"),e.setAttribute("sortable","".concat(this.sortable)),e.setAttribute("scrollable",this.scrollable?"true":"false"),e.setAttribute("striped",this.striped?"true":"false"),this.sortable&&t&&a&&(e.dataset.sortdir=t,e.dataset.sortindex="".concat(a)),this.tableTitle&&e.setAttribute("table-title",this.tableTitle),this.tableType&&e.setAttribute("table-type",this.tableType),this.fullWidth&&e.setAttribute("full-width",String(this.fullWidth)),this.rightAlignCols&&e.setAttribute("right-align-cols",this.rightAlignCols),this.monoFontCols&&e.setAttribute("mono-font-cols",this.monoFontCols);var r=this.makeFragment();return e.appendChild(r),e},t.prototype.resetVaTableInner=function(){var t=this.el.querySelector("va-table-inner");t&&(t.remove(),this.rows=null,this.cols=null,this.cells=null)},t.prototype.watchForDataChanges=function(){var t=this,a=this.el.querySelectorAll("va-table-row")[1];this.observer=new MutationObserver(function(){t.resetVaTableInner(),t.addVaTableInner()}),this.observer.observe(a,{childList:!0,subtree:!0,characterData:!0})},t.prototype.disconnectedCallback=function(){this.observer&&this.observer.disconnect()},t.prototype.addVaTableInner=function(t,a){void 0===t&&(t=null),void 0===a&&(a=null),this.getAllCells();var e=this.makeVATable(t,a);this.el.appendChild(e)},t.prototype.componentWillLoad=function(){this.addVaTableInner(),this.watchForDataChanges()},t.prototype.doSort=function(t){var a;t.stopPropagation();var e=t.detail,r=e.index,o=e.sortdir,s=this.getRows(),l=s[0],d=s.slice(1),b=c.bind(this)(d,r,o);if(null!==b){d.sort(function(t,a){var e=t.children[r],o=a.children[r],s=e.getAttribute("data-sort-value"),l=o.getAttribute("data-sort-value");if(null!==s&&null!==l)return b(s,l);var d=null!==s?s:e.innerHTML.trim(),n=null!==l?l:o.innerHTML.trim();return b(d,n)});var n=function(t,a,e){if(e||2===arguments.length)for(var r,o=0,s=a.length;o<s;o++)!r&&o in a||(r||(r=Array.prototype.slice.call(a,0,o)),r[o]=a[o]);return t.concat(r||Array.prototype.slice.call(a))}([l],d,!0);this.resetVaTableInner(),(a=this.el).replaceChildren.apply(a,n),this.addVaTableInner("ascending"===o?"descending":"ascending",r)}},t.prototype.render=function(){return(0,r.h)(r.H,{key:"b860a33efde9880e15093a343a63aabd9871a029"},(0,r.h)("slot",{key:"217aef464b447218084b67e7465431740b5e51a4"}))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),t}();_.style='.usa-table{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:1.06rem;line-height:1.5;border-collapse:collapse;border-spacing:0;color:#1b1b1b;margin:1.25rem 0;text-align:left;}.usa-table thead th{background-clip:padding-box;color:#1b1b1b;font-weight:700;line-height:1.3}.usa-table thead th,.usa-table thead td{background-color:#dfe1e2;color:#1b1b1b}.usa-table tbody th{text-align:left}.usa-table th,.usa-table td{background-color:white;border:1px solid #1b1b1b;font-weight:normal;padding:0.5rem 1rem}.usa-table caption{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:1rem;font-weight:700;margin-bottom:0.75rem;text-align:left}.usa-table th[data-sortable]{padding-right:2.5rem;position:relative}.usa-table th[data-sortable]::after{border-bottom-color:transparent;border-bottom-style:solid;border-bottom-width:1px;bottom:0;content:"";height:0;left:0;position:absolute;width:100%}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button{color:#005ea2;text-decoration:underline;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;font-weight:normal;-ms-flex-pack:normal;justify-content:normal;text-align:left;margin:0;padding:0;width:auto;height:2rem;width:2rem;background-position:center center;background-size:1.5rem;color:#71767a;cursor:pointer;display:inline-block;margin:0;position:absolute;right:0.25rem;text-align:center;text-decoration:none;top:50%;-webkit-transform:translate(0, -50%);transform:translate(0, -50%)}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:visited,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:visited{color:#54278f}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:hover{color:#1a4480}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:active{color:#162e51}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button.usa-button--hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled.usa-button--hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true].usa-button--hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:active,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button.usa-button--active,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled:active,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:active,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled.usa-button--active,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true].usa-button--active,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled:focus,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:focus,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled.usa-focus,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true].usa-focus,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button.usa-button--disabled,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button.usa-button--hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled.usa-button--hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true].usa-button--hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button.usa-button--active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled:active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled.usa-button--active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true].usa-button--active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled:focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled.usa-focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true].usa-focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button.usa-button--hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button.usa-button--hover{color:#1a4480}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button.usa-button--active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button.usa-button--active{color:#162e51}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:focus{color:GrayText}}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button .usa-icon,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button .usa-icon{height:1.5rem;width:1.5rem;vertical-align:middle}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button .usa-icon>g,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button .usa-icon>g{fill:transparent}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button .usa-icon>g.unsorted,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button .usa-icon>g.unsorted{fill:#1b1b1b}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:hover .usa-icon>g.unsorted,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:hover .usa-icon>g.unsorted{fill:black}.usa-table th[data-sortable][aria-sort=descending],.usa-table th[data-sortable][aria-sort=ascending]{background-color:#97d4ea}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button{color:#005ea2;text-decoration:underline;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;font-weight:normal;-ms-flex-pack:normal;justify-content:normal;text-align:left;margin:0;padding:0;width:auto;height:2rem;width:2rem;background-position:center center;background-size:1.5rem;color:#71767a;cursor:pointer;display:inline-block;margin:0;position:absolute;right:0.25rem;text-align:center;text-decoration:none;top:50%;-webkit-transform:translate(0, -50%);transform:translate(0, -50%)}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:visited{color:#54278f}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:hover{color:#1a4480}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:active{color:#162e51}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button.usa-button--hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled.usa-button--hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true].usa-button--hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:active,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button.usa-button--active,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled:active,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:active,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled.usa-button--active,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true].usa-button--active,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled:focus,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:focus,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled.usa-focus,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true].usa-focus,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button.usa-button--hover{color:#1a4480}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button.usa-button--active{color:#162e51}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:focus{color:GrayText}}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button .usa-icon{height:1.5rem;width:1.5rem;vertical-align:middle}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button .usa-icon>g{fill:transparent}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button .usa-icon>g.descending{fill:#1b1b1b}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button{color:#005ea2;text-decoration:underline;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;font-weight:normal;-ms-flex-pack:normal;justify-content:normal;text-align:left;margin:0;padding:0;width:auto;height:2rem;width:2rem;background-position:center center;background-size:1.5rem;color:#71767a;cursor:pointer;display:inline-block;margin:0;position:absolute;right:0.25rem;text-align:center;text-decoration:none;top:50%;-webkit-transform:translate(0, -50%);transform:translate(0, -50%)}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:visited{color:#54278f}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:hover{color:#1a4480}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:active{color:#162e51}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button.usa-button--hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled.usa-button--hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true].usa-button--hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:active,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button.usa-button--active,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled:active,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:active,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled.usa-button--active,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true].usa-button--active,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled:focus,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:focus,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled.usa-focus,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true].usa-focus,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button.usa-button--hover{color:#1a4480}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button.usa-button--active{color:#162e51}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:focus{color:GrayText}}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button .usa-icon{height:1.5rem;width:1.5rem;vertical-align:middle}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button .usa-icon>g{fill:transparent}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button .usa-icon>g.ascending{fill:#1b1b1b}.usa-table thead th[aria-sort]{background-color:#97d4ea;color:#1b1b1b}.usa-table td[data-sort-active],.usa-table th[data-sort-active]{background-color:#e1f3f8;color:#1b1b1b}.usa-table--borderless thead{}.usa-table--borderless thead th{background-color:white;border-top:0;color:#1b1b1b}.usa-table--borderless thead th[aria-sort]{color:#1b1b1b}.usa-table--borderless thead th[data-sortable]:not([aria-sort]) .usa-table__header__button .usa-icon>g.unsorted{fill:#1b1b1b}.usa-table--borderless thead th[data-sortable]:not([aria-sort]) .usa-table__header__button:hover .usa-icon>g.unsorted{fill:black}.usa-table--borderless th,.usa-table--borderless td{border-left:0;border-right:0}.usa-table--compact th,.usa-table--compact td{padding:0.25rem 0.75rem}.usa-table--striped tbody tr:nth-child(odd) td,.usa-table--striped tbody tr:nth-child(odd) th{background-color:#f0f0f0;color:#1b1b1b}.usa-table--striped tbody tr:nth-child(odd) td[data-sort-active],.usa-table--striped tbody tr:nth-child(odd) th[data-sort-active]{background-color:#c3ebfa;color:#1b1b1b}@media all and (max-width: 29.99em){.usa-table--stacked thead{display:none}.usa-table--stacked th,.usa-table--stacked td{border-bottom-width:0;display:block;width:100%}.usa-table--stacked tr{border-bottom:0.25rem solid #1b1b1b;border-top-width:0;width:100%}.usa-table--stacked tr th:first-child,.usa-table--stacked tr td:first-child{border-top-width:0}.usa-table--stacked tr:nth-child(odd) td,.usa-table--stacked tr:nth-child(odd) th{background-color:inherit}.usa-table--stacked tr:first-child th:first-child,.usa-table--stacked tr:first-child td:first-child{border-top:0.25rem solid #1b1b1b}.usa-table--stacked th[data-label],.usa-table--stacked td[data-label]{padding-bottom:0.75rem}.usa-table--stacked th[data-label]:before,.usa-table--stacked td[data-label]:before{content:attr(data-label);display:block;font-weight:700;margin:-0.5rem -1rem 0rem;padding:0.75rem 1rem 0.25rem}}@media all and (max-width: 29.99em){.usa-table--stacked-header thead{display:none}.usa-table--stacked-header th,.usa-table--stacked-header td{border-bottom-width:0;display:block;width:100%}.usa-table--stacked-header tr{border-bottom:0.25rem solid #1b1b1b;border-top-width:0;width:100%}.usa-table--stacked-header tr th:first-child,.usa-table--stacked-header tr td:first-child{border-top-width:0}.usa-table--stacked-header tr:nth-child(odd) td,.usa-table--stacked-header tr:nth-child(odd) th{background-color:inherit}.usa-table--stacked-header tr:first-child th:first-child,.usa-table--stacked-header tr:first-child td:first-child{border-top:0.25rem solid #1b1b1b}.usa-table--stacked-header th[data-label],.usa-table--stacked-header td[data-label]{padding-bottom:0.75rem}.usa-table--stacked-header th[data-label]:before,.usa-table--stacked-header td[data-label]:before{content:attr(data-label);display:block;font-weight:700;margin:-0.5rem -1rem 0rem;padding:0.75rem 1rem 0.25rem}.usa-table--stacked-header tr td:first-child,.usa-table--stacked-header tr th:first-child{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:1.06rem;line-height:1.1;background-color:#dfe1e2;color:#1b1b1b;font-weight:700;padding:0.75rem 1rem}.usa-table--stacked-header tr td:first-child:before,.usa-table--stacked-header tr th:first-child:before{display:none}}.width-mobile .usa-table--stacked thead{display:none}.width-mobile .usa-table--stacked th,.width-mobile .usa-table--stacked td{border-bottom-width:0;display:block;width:100%}.width-mobile .usa-table--stacked tr{border-bottom:0.25rem solid #1b1b1b;border-top-width:0;width:100%}.width-mobile .usa-table--stacked tr th:first-child,.width-mobile .usa-table--stacked tr td:first-child{border-top-width:0}.width-mobile .usa-table--stacked tr:nth-child(odd) td,.width-mobile .usa-table--stacked tr:nth-child(odd) th{background-color:inherit}.width-mobile .usa-table--stacked tr:first-child th:first-child,.width-mobile .usa-table--stacked tr:first-child td:first-child{border-top:0.25rem solid #1b1b1b}.width-mobile .usa-table--stacked th[data-label],.width-mobile .usa-table--stacked td[data-label]{padding-bottom:0.75rem}.width-mobile .usa-table--stacked th[data-label]:before,.width-mobile .usa-table--stacked td[data-label]:before{content:attr(data-label);display:block;font-weight:700;margin:-0.5rem -1rem 0rem;padding:0.75rem 1rem 0.25rem}.width-mobile .usa-table--stacked-header thead{display:none}.width-mobile .usa-table--stacked-header th,.width-mobile .usa-table--stacked-header td{border-bottom-width:0;display:block;width:100%}.width-mobile .usa-table--stacked-header tr{border-bottom:0.25rem solid #1b1b1b;border-top-width:0;width:100%}.width-mobile .usa-table--stacked-header tr th:first-child,.width-mobile .usa-table--stacked-header tr td:first-child{border-top-width:0}.width-mobile .usa-table--stacked-header tr:nth-child(odd) td,.width-mobile .usa-table--stacked-header tr:nth-child(odd) th{background-color:inherit}.width-mobile .usa-table--stacked-header tr:first-child th:first-child,.width-mobile .usa-table--stacked-header tr:first-child td:first-child{border-top:0.25rem solid #1b1b1b}.width-mobile .usa-table--stacked-header th[data-label],.width-mobile .usa-table--stacked-header td[data-label]{padding-bottom:0.75rem}.width-mobile .usa-table--stacked-header th[data-label]:before,.width-mobile .usa-table--stacked-header td[data-label]:before{content:attr(data-label);display:block;font-weight:700;margin:-0.5rem -1rem 0rem;padding:0.75rem 1rem 0.25rem}.width-mobile .usa-table--stacked-header tr td:first-child,.width-mobile .usa-table--stacked-header tr th:first-child{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:1.06rem;line-height:1.1;background-color:#dfe1e2;color:#1b1b1b;font-weight:700;padding:0.75rem 1rem}.width-mobile .usa-table--stacked-header tr td:first-child:before,.width-mobile .usa-table--stacked-header tr th:first-child:before{display:none}.usa-table--sticky-header{border:1px solid #1b1b1b;border-collapse:separate}.usa-table--sticky-header td,.usa-table--sticky-header th{border-left:none;border-top:none}.usa-table--sticky-header td:last-child,.usa-table--sticky-header th:last-child{border-right:none}.usa-table--sticky-header tbody tr:last-child td,.usa-table--sticky-header tbody tr:last-child th{border-bottom:none}.usa-table--sticky-header thead{position:-webkit-sticky;position:sticky;top:-1px}.usa-table--sticky-header.usa-table--borderless{border:none}.usa-table--sticky-header.usa-table--borderless thead th{background-color:white}.usa-table--sticky-header.usa-table--borderless td,.usa-table--sticky-header.usa-table--borderless th{border-right:none}.usa-table-container--scrollable{margin:1.25rem 0;overflow-y:hidden}.usa-table-container--scrollable .usa-table{margin:0}.usa-table-container--scrollable td{white-space:nowrap}va-table-row{display:none}'}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2387,3126],{3126:function(t,a,e){function r(t){return!Number.isNaN(parseFloat(t))}function o(t,a,e){void 0===e&&(e="slot");var r=t.shadowRoot.querySelector(e).assignedNodes();return null!==a?Array.from(r).filter(function(t){return t.nodeName.toLowerCase()===a}):Array.from(r)}function s(t){return 1===t?"":"s"}function l(t,a){if(void 0===t||""===t)return"".concat(a," character").concat(s(a)," allowed");var e;if(t.length<=a){var r=a-t.length;e="".concat(r," character").concat(s(r)," left")}else r=t.length-a,e="".concat(r," character").concat(s(r)," over limit");return e}function d(t,a){return Array.from({length:a-t+1},function(a,e){return t+e})}e.r(a),e.d(a,{S:function(){return i},a:function(){return o},b:function(){return r},c:function(){return g},d:function(){return f},e:function(){return m},f:function(){return l},g:function(){return u},h:function(){return h},i:function(){return c},m:function(){return d},s:function(){return n},u:function(){return p}}),e(2625);var b=function(t){return t&&"object"==typeof t&&1===t.nodeType};function n(t,a){var e=function(t,a){if("string"!=typeof t)return[];if(!a||!b(a))return[];var e=a.shadowRoot.querySelectorAll(t);return Array.from(e)}(t,a);return"string"!=typeof t||b(a)&&a.matches(t)&&e.push(a),e}var i={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(t){return i._entities[t]},escapeHTML:function(t){for(var a="",e=0;e<t.length;e++)a+=t[e],e+1<arguments.length&&(a+=String(arguments[e+1]||"").replace(i._entity,i.getEntity));return a}};function u(t){var a;return(a="string"==typeof t?parseInt(t,10):Math.floor(t))>=1&&a<=6?"h".concat(a):null}function h(t){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(t.tagName)}function c(t){return t&&"false"!==t||!1}function _(t){return"[object Arguments]"===Object.prototype.toString.call(t)}function f(t,a){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(t===a)return!0;if("function"==typeof t||"function"==typeof a)return!0;if("object"!=typeof t||"object"!=typeof a)return!1;if(null===t||null===a)return!1;if(t instanceof Date&&a instanceof Date)return t.getTime()===a.getTime();if(t instanceof RegExp&&a instanceof RegExp)return t.source===a.source&&t.global===a.global&&t.multiline===a.multiline&&t.lastIndex===a.lastIndex&&t.ignoreCase===a.ignoreCase;if(_(t)||_(a)){if(!_(t)||!_(a))return!1;var o=Array.prototype.slice;return f(o.call(t),o.call(a),e,r)}if(t.constructor!==a.constructor)return!1;var s=Object.keys(t),l=Object.keys(a);if(0===s.length&&0===l.length)return!0;if(s.length!==l.length)return!1;for(var d=e.length;d--;)if(e[d]===t)return r[d]===a;e.push(t),r.push(a),s.sort(),l.sort();for(var b=s.length-1;b>=0;b--)if(s[b]!==l[b])return!1;for(var n=void 0,i=s.length-1;i>=0;i--)if(!f(t[n=s[i]],a[n],e,r))return!1;return e.pop(),r.pop(),!0}function g(t,a){var e;return function(){for(var r=this,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];clearTimeout(e),e=setTimeout(function(){return t.apply(r,o)},a)}}function m(t){if(null!=t){var a="string"==typeof t?parseInt(t,10):t;if(!(a<=0||isNaN(a)))return a}}function p(t,a,e){t&&(t.innerText=l(a,m(e)))}},2387:function(t,a,e){e.r(a),e.d(a,{va_table:function(){return _}});var r=e(2625),o=e(3126),s={january:1,february:2,march:3,april:4,may:5,june:6,july:7,august:8,september:9,october:10,november:11,december:12},l={first:1,second:2,third:3,fourth:4,fifth:5,sixth:6,seventh:7,eighth:8,ninth:9,tenth:10,eleventh:11,twelfth:12,thirteenth:13,fourteenth:14,fifteenth:15,sixteenth:16,seventeenth:17,eighteenth:18,nineteenth:19,twentieth:20},d=/^(\d{1,2}\/){1,2}(\d{2}|\d{4})$/;function b(t){if(""===t)return-1/0;var a=t.toLowerCase();return a in l?l[a]:t.replace(/[$%,]|(th)|(st)|(rd)|(nd)/g,"")}function n(t){return""===t?-1/0:s[t.toLowerCase()]||new Date(t).getTime()}function i(t){var a,e=null===(a=null==this?void 0:this.el)||void 0===a?void 0:a.getAttribute("lang");return e=e||"en-US",function(a,r){var o="ascending"===t,s=o?a:r,l=o?r:a;return new Intl.Collator(e,{sensitivity:"base"}).compare(s,l)}}function u(t,a,e){return"ascending"===e?t-a:a-t}function h(t,a){var e;return e=function(t){var a=b(t);return!d.test(t)&&("number"==typeof a||(0,o.b)(a))}(t)?function(t){return function(a,e){return u(+b(a),+b(e),t)}}(a):function(t){var a=new Date(t);return!isNaN(a.getTime())||!!s[t.toLowerCase()]}(t)?function(t){return function(a,e){return u(n(a),n(e),t)}}(a):i.bind(this)(a),e}function c(t,a,e){for(var r=0,o=t;r<o.length;r++){var s=o[r].children[a],l=s.getAttribute("data-sort-value");if(null!==l)return h.bind(this)(l,e);var d=s.innerHTML.trim();if(""!==d)return h.bind(this)(d,e)}return null}var _=function(){function t(t){(0,r.r)(this,t),this.tableTitle=void 0,this.tableTitleSummary=void 0,this.tableType="borderless",this.stacked=!0,this.scrollable=!1,this.sortable=!1,this.striped=!1,this.fullWidth=!1,this.rightAlignCols=void 0,this.monoFontCols=void 0,this.emptyCellText="Not available",this.rows=void 0,this.cols=void 0,this.cells=null}return t.prototype.getCellsInRow=function(t){var a=Array.from(t.querySelectorAll(":scope > span"));return this.cols||(this.cols=a.length),a},t.prototype.getRows=function(){var t=Array.from(this.el.querySelectorAll("va-table-row"));return t.forEach(function(t){return t.removeAttribute("role")}),this.rows||(this.rows=t.length),t},t.prototype.getAllCells=function(t){void 0===t&&(t=this.getRows());for(var a=[],e=0,r=0,o=t;r<o.length;r++){var s=o[r],l=this.getCellsInRow(s);l.forEach(function(t){t.setAttribute("slot","va-table-slot-".concat(e)),e++}),a.push.apply(a,l)}this.cells=a},t.prototype.checkForEmptyCells=function(){var t=this;this.cells.map(function(a){return""===a.innerHTML.trim()&&""===a.innerText.trim()?(a.innerText=t.emptyCellText,a.innerHTML=t.emptyCellText,a):a})},t.prototype.makeFragment=function(){var t=this,a=document.createDocumentFragment();return this.checkForEmptyCells(),this.cells.forEach(function(e){t.sortable?a.appendChild(e.cloneNode(!0)):a.appendChild(e)}),a},t.prototype.makeVATable=function(t,a){var e=document.createElement("va-table-inner");e.setAttribute("rows","".concat(this.rows)),e.setAttribute("cols","".concat(this.cols)),e.setAttribute("stacked",this.stacked&&!this.sortable?"true":"false"),e.setAttribute("sortable","".concat(this.sortable)),e.setAttribute("scrollable",this.scrollable?"true":"false"),e.setAttribute("striped",this.striped?"true":"false"),this.sortable&&t&&a&&(e.dataset.sortdir=t,e.dataset.sortindex="".concat(a)),this.tableTitle&&e.setAttribute("table-title",this.tableTitle),this.tableTitleSummary&&e.setAttribute("table-title-summary",this.tableTitleSummary),this.tableType&&e.setAttribute("table-type",this.tableType),this.fullWidth&&e.setAttribute("full-width",String(this.fullWidth)),this.rightAlignCols&&e.setAttribute("right-align-cols",this.rightAlignCols),this.monoFontCols&&e.setAttribute("mono-font-cols",this.monoFontCols);var r=this.makeFragment();return e.appendChild(r),e},t.prototype.resetVaTableInner=function(){var t=this.el.querySelector("va-table-inner");t&&(t.remove(),this.rows=null,this.cols=null,this.cells=null)},t.prototype.watchForDataChanges=function(){var t=this,a=this.el.querySelectorAll("va-table-row")[1];this.observer=new MutationObserver(function(){t.resetVaTableInner(),t.addVaTableInner()}),this.observer.observe(a,{childList:!0,subtree:!0,characterData:!0})},t.prototype.disconnectedCallback=function(){this.observer&&this.observer.disconnect()},t.prototype.addVaTableInner=function(t,a){void 0===t&&(t=null),void 0===a&&(a=null),this.getAllCells();var e=this.makeVATable(t,a);this.el.appendChild(e)},t.prototype.componentWillLoad=function(){this.addVaTableInner(),this.watchForDataChanges()},t.prototype.doSort=function(t){var a;t.stopPropagation();var e=t.detail,r=e.index,o=e.sortdir,s=this.getRows(),l=s[0],d=s.slice(1),b=c.bind(this)(d,r,o);if(null!==b){d.sort(function(t,a){var e=t.children[r],o=a.children[r],s=e.getAttribute("data-sort-value"),l=o.getAttribute("data-sort-value");if(null!==s&&null!==l)return b(s,l);var d=null!==s?s:e.innerHTML.trim(),n=null!==l?l:o.innerHTML.trim();return b(d,n)});var n=function(t,a,e){if(e||2===arguments.length)for(var r,o=0,s=a.length;o<s;o++)!r&&o in a||(r||(r=Array.prototype.slice.call(a,0,o)),r[o]=a[o]);return t.concat(r||Array.prototype.slice.call(a))}([l],d,!0);this.resetVaTableInner(),(a=this.el).replaceChildren.apply(a,n),this.addVaTableInner("ascending"===o?"descending":"ascending",r)}},t.prototype.render=function(){return(0,r.h)(r.H,{key:"43694e63b535fb879e47003adb6f0b79bea05165"},(0,r.h)("slot",{key:"dfb3c6bc0de410d7f8d9cc0f87f9dfc149876f98"}))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),t}();_.style='.usa-table{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:1.06rem;line-height:1.5;border-collapse:collapse;border-spacing:0;color:#1b1b1b;margin:1.25rem 0;text-align:left;}.usa-table thead th{background-clip:padding-box;color:#1b1b1b;font-weight:700;line-height:1.3}.usa-table thead th,.usa-table thead td{background-color:#dfe1e2;color:#1b1b1b}.usa-table tbody th{text-align:left}.usa-table th,.usa-table td{background-color:white;border:1px solid #1b1b1b;font-weight:normal;padding:0.5rem 1rem}.usa-table caption{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:1rem;font-weight:700;margin-bottom:0.75rem;text-align:left}.usa-table th[data-sortable]{padding-right:2.5rem;position:relative}.usa-table th[data-sortable]::after{border-bottom-color:transparent;border-bottom-style:solid;border-bottom-width:1px;bottom:0;content:"";height:0;left:0;position:absolute;width:100%}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button{color:#005ea2;text-decoration:underline;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;font-weight:normal;-ms-flex-pack:normal;justify-content:normal;text-align:left;margin:0;padding:0;width:auto;height:2rem;width:2rem;background-position:center center;background-size:1.5rem;color:#71767a;cursor:pointer;display:inline-block;margin:0;position:absolute;right:0.25rem;text-align:center;text-decoration:none;top:50%;-webkit-transform:translate(0, -50%);transform:translate(0, -50%)}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:visited,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:visited{color:#54278f}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:hover{color:#1a4480}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:active{color:#162e51}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button.usa-button--hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled.usa-button--hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true].usa-button--hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:active,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button.usa-button--active,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled:active,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:active,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled.usa-button--active,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true].usa-button--active,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled:focus,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:focus,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled.usa-focus,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true].usa-focus,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button.usa-button--disabled,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button.usa-button--hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled.usa-button--hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true].usa-button--hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button.usa-button--active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled:active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled.usa-button--active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true].usa-button--active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled:focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled.usa-focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true].usa-focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button.usa-button--hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button.usa-button--hover{color:#1a4480}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button.usa-button--active,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button.usa-button--active{color:#162e51}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:disabled:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button[aria-disabled=true]:focus,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button[aria-disabled=true]:focus{color:GrayText}}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button .usa-icon,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button .usa-icon{height:1.5rem;width:1.5rem;vertical-align:middle}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button .usa-icon>g,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button .usa-icon>g{fill:transparent}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button .usa-icon>g.unsorted,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button .usa-icon>g.unsorted{fill:#1b1b1b}.usa-table th[data-sortable]:not([aria-sort]) .usa-table__header__button:hover .usa-icon>g.unsorted,.usa-table th[data-sortable][aria-sort=none] .usa-table__header__button:hover .usa-icon>g.unsorted{fill:black}.usa-table th[data-sortable][aria-sort=descending],.usa-table th[data-sortable][aria-sort=ascending]{background-color:#97d4ea}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button{color:#005ea2;text-decoration:underline;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;font-weight:normal;-ms-flex-pack:normal;justify-content:normal;text-align:left;margin:0;padding:0;width:auto;height:2rem;width:2rem;background-position:center center;background-size:1.5rem;color:#71767a;cursor:pointer;display:inline-block;margin:0;position:absolute;right:0.25rem;text-align:center;text-decoration:none;top:50%;-webkit-transform:translate(0, -50%);transform:translate(0, -50%)}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:visited{color:#54278f}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:hover{color:#1a4480}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:active{color:#162e51}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button.usa-button--hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled.usa-button--hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true].usa-button--hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:active,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button.usa-button--active,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled:active,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:active,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled.usa-button--active,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true].usa-button--active,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled:focus,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:focus,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled.usa-focus,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true].usa-focus,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button.usa-button--hover{color:#1a4480}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button.usa-button--active{color:#162e51}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button[aria-disabled=true]:focus{color:GrayText}}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button .usa-icon{height:1.5rem;width:1.5rem;vertical-align:middle}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button .usa-icon>g{fill:transparent}.usa-table th[data-sortable][aria-sort=descending] .usa-table__header__button .usa-icon>g.descending{fill:#1b1b1b}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button{color:#005ea2;text-decoration:underline;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;font-weight:normal;-ms-flex-pack:normal;justify-content:normal;text-align:left;margin:0;padding:0;width:auto;height:2rem;width:2rem;background-position:center center;background-size:1.5rem;color:#71767a;cursor:pointer;display:inline-block;margin:0;position:absolute;right:0.25rem;text-align:center;text-decoration:none;top:50%;-webkit-transform:translate(0, -50%);transform:translate(0, -50%)}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:visited{color:#54278f}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:hover{color:#1a4480}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:active{color:#162e51}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button.usa-button--hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled.usa-button--hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true].usa-button--hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:active,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button.usa-button--active,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled:active,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:active,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled.usa-button--active,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true].usa-button--active,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled:focus,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:focus,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled.usa-focus,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true].usa-focus,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button.usa-button--hover{color:#1a4480}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button.usa-button--active{color:#162e51}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true],.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button:disabled:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:hover,.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button[aria-disabled=true]:focus{color:GrayText}}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button .usa-icon{height:1.5rem;width:1.5rem;vertical-align:middle}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button .usa-icon>g{fill:transparent}.usa-table th[data-sortable][aria-sort=ascending] .usa-table__header__button .usa-icon>g.ascending{fill:#1b1b1b}.usa-table thead th[aria-sort]{background-color:#97d4ea;color:#1b1b1b}.usa-table td[data-sort-active],.usa-table th[data-sort-active]{background-color:#e1f3f8;color:#1b1b1b}.usa-table--borderless thead{}.usa-table--borderless thead th{background-color:white;border-top:0;color:#1b1b1b}.usa-table--borderless thead th[aria-sort]{color:#1b1b1b}.usa-table--borderless thead th[data-sortable]:not([aria-sort]) .usa-table__header__button .usa-icon>g.unsorted{fill:#1b1b1b}.usa-table--borderless thead th[data-sortable]:not([aria-sort]) .usa-table__header__button:hover .usa-icon>g.unsorted{fill:black}.usa-table--borderless th,.usa-table--borderless td{border-left:0;border-right:0}.usa-table--compact th,.usa-table--compact td{padding:0.25rem 0.75rem}.usa-table--striped tbody tr:nth-child(odd) td,.usa-table--striped tbody tr:nth-child(odd) th{background-color:#f0f0f0;color:#1b1b1b}.usa-table--striped tbody tr:nth-child(odd) td[data-sort-active],.usa-table--striped tbody tr:nth-child(odd) th[data-sort-active]{background-color:#c3ebfa;color:#1b1b1b}@media all and (max-width: 29.99em){.usa-table--stacked thead{display:none}.usa-table--stacked th,.usa-table--stacked td{border-bottom-width:0;display:block;width:100%}.usa-table--stacked tr{border-bottom:0.25rem solid #1b1b1b;border-top-width:0;width:100%}.usa-table--stacked tr th:first-child,.usa-table--stacked tr td:first-child{border-top-width:0}.usa-table--stacked tr:nth-child(odd) td,.usa-table--stacked tr:nth-child(odd) th{background-color:inherit}.usa-table--stacked tr:first-child th:first-child,.usa-table--stacked tr:first-child td:first-child{border-top:0.25rem solid #1b1b1b}.usa-table--stacked th[data-label],.usa-table--stacked td[data-label]{padding-bottom:0.75rem}.usa-table--stacked th[data-label]:before,.usa-table--stacked td[data-label]:before{content:attr(data-label);display:block;font-weight:700;margin:-0.5rem -1rem 0rem;padding:0.75rem 1rem 0.25rem}}@media all and (max-width: 29.99em){.usa-table--stacked-header thead{display:none}.usa-table--stacked-header th,.usa-table--stacked-header td{border-bottom-width:0;display:block;width:100%}.usa-table--stacked-header tr{border-bottom:0.25rem solid #1b1b1b;border-top-width:0;width:100%}.usa-table--stacked-header tr th:first-child,.usa-table--stacked-header tr td:first-child{border-top-width:0}.usa-table--stacked-header tr:nth-child(odd) td,.usa-table--stacked-header tr:nth-child(odd) th{background-color:inherit}.usa-table--stacked-header tr:first-child th:first-child,.usa-table--stacked-header tr:first-child td:first-child{border-top:0.25rem solid #1b1b1b}.usa-table--stacked-header th[data-label],.usa-table--stacked-header td[data-label]{padding-bottom:0.75rem}.usa-table--stacked-header th[data-label]:before,.usa-table--stacked-header td[data-label]:before{content:attr(data-label);display:block;font-weight:700;margin:-0.5rem -1rem 0rem;padding:0.75rem 1rem 0.25rem}.usa-table--stacked-header tr td:first-child,.usa-table--stacked-header tr th:first-child{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:1.06rem;line-height:1.1;background-color:#dfe1e2;color:#1b1b1b;font-weight:700;padding:0.75rem 1rem}.usa-table--stacked-header tr td:first-child:before,.usa-table--stacked-header tr th:first-child:before{display:none}}.width-mobile .usa-table--stacked thead{display:none}.width-mobile .usa-table--stacked th,.width-mobile .usa-table--stacked td{border-bottom-width:0;display:block;width:100%}.width-mobile .usa-table--stacked tr{border-bottom:0.25rem solid #1b1b1b;border-top-width:0;width:100%}.width-mobile .usa-table--stacked tr th:first-child,.width-mobile .usa-table--stacked tr td:first-child{border-top-width:0}.width-mobile .usa-table--stacked tr:nth-child(odd) td,.width-mobile .usa-table--stacked tr:nth-child(odd) th{background-color:inherit}.width-mobile .usa-table--stacked tr:first-child th:first-child,.width-mobile .usa-table--stacked tr:first-child td:first-child{border-top:0.25rem solid #1b1b1b}.width-mobile .usa-table--stacked th[data-label],.width-mobile .usa-table--stacked td[data-label]{padding-bottom:0.75rem}.width-mobile .usa-table--stacked th[data-label]:before,.width-mobile .usa-table--stacked td[data-label]:before{content:attr(data-label);display:block;font-weight:700;margin:-0.5rem -1rem 0rem;padding:0.75rem 1rem 0.25rem}.width-mobile .usa-table--stacked-header thead{display:none}.width-mobile .usa-table--stacked-header th,.width-mobile .usa-table--stacked-header td{border-bottom-width:0;display:block;width:100%}.width-mobile .usa-table--stacked-header tr{border-bottom:0.25rem solid #1b1b1b;border-top-width:0;width:100%}.width-mobile .usa-table--stacked-header tr th:first-child,.width-mobile .usa-table--stacked-header tr td:first-child{border-top-width:0}.width-mobile .usa-table--stacked-header tr:nth-child(odd) td,.width-mobile .usa-table--stacked-header tr:nth-child(odd) th{background-color:inherit}.width-mobile .usa-table--stacked-header tr:first-child th:first-child,.width-mobile .usa-table--stacked-header tr:first-child td:first-child{border-top:0.25rem solid #1b1b1b}.width-mobile .usa-table--stacked-header th[data-label],.width-mobile .usa-table--stacked-header td[data-label]{padding-bottom:0.75rem}.width-mobile .usa-table--stacked-header th[data-label]:before,.width-mobile .usa-table--stacked-header td[data-label]:before{content:attr(data-label);display:block;font-weight:700;margin:-0.5rem -1rem 0rem;padding:0.75rem 1rem 0.25rem}.width-mobile .usa-table--stacked-header tr td:first-child,.width-mobile .usa-table--stacked-header tr th:first-child{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:1.06rem;line-height:1.1;background-color:#dfe1e2;color:#1b1b1b;font-weight:700;padding:0.75rem 1rem}.width-mobile .usa-table--stacked-header tr td:first-child:before,.width-mobile .usa-table--stacked-header tr th:first-child:before{display:none}.usa-table--sticky-header{border:1px solid #1b1b1b;border-collapse:separate}.usa-table--sticky-header td,.usa-table--sticky-header th{border-left:none;border-top:none}.usa-table--sticky-header td:last-child,.usa-table--sticky-header th:last-child{border-right:none}.usa-table--sticky-header tbody tr:last-child td,.usa-table--sticky-header tbody tr:last-child th{border-bottom:none}.usa-table--sticky-header thead{position:-webkit-sticky;position:sticky;top:-1px}.usa-table--sticky-header.usa-table--borderless{border:none}.usa-table--sticky-header.usa-table--borderless thead th{background-color:white}.usa-table--sticky-header.usa-table--borderless td,.usa-table--sticky-header.usa-table--borderless th{border-right:none}.usa-table-container--scrollable{margin:1.25rem 0;overflow-y:hidden}.usa-table-container--scrollable .usa-table{margin:0}.usa-table-container--scrollable td{white-space:nowrap}va-table-row{display:none}'}}]);
@@ -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([[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}'}}]);