@department-of-veterans-affairs/component-library 53.1.0 → 54.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/12.app.bundle.js +1 -1
  2. package/dist/141.app.bundle.js +1 -1
  3. package/dist/1822.app.bundle.js +1 -1
  4. package/dist/1966.app.bundle.js +1 -1
  5. package/dist/2205.app.bundle.js +1 -1
  6. package/dist/2236.app.bundle.js +1 -1
  7. package/dist/2482.app.bundle.js +1 -1
  8. package/dist/251.app.bundle.js +1 -1
  9. package/dist/2923.app.bundle.js +1 -1
  10. package/dist/2986.app.bundle.js +1 -1
  11. package/dist/323.app.bundle.js +1 -1
  12. package/dist/3397.app.bundle.js +1 -1
  13. package/dist/3589.app.bundle.js +1 -1
  14. package/dist/3600.app.bundle.js +1 -1
  15. package/dist/3601.app.bundle.js +1 -1
  16. package/dist/4351.app.bundle.js +1 -1
  17. package/dist/4475.app.bundle.js +1 -1
  18. package/dist/4780.app.bundle.js +1 -1
  19. package/dist/4996.app.bundle.js +1 -1
  20. package/dist/5119.app.bundle.js +1 -1
  21. package/dist/5341.app.bundle.js +1 -1
  22. package/dist/5663.app.bundle.js +1 -1
  23. package/dist/5689.app.bundle.js +1 -1
  24. package/dist/5705.app.bundle.js +2 -0
  25. package/dist/5705.app.bundle.js.LICENSE.txt +5 -0
  26. package/dist/5845.app.bundle.js +1 -1
  27. package/dist/5938.app.bundle.js +1 -1
  28. package/dist/5990.app.bundle.js +1 -1
  29. package/dist/6095.app.bundle.js +1 -1
  30. package/dist/6308.app.bundle.js +1 -1
  31. package/dist/6498.app.bundle.js +1 -1
  32. package/dist/6555.app.bundle.js +1 -1
  33. package/dist/6650.app.bundle.js +1 -1
  34. package/dist/6696.app.bundle.js +1 -1
  35. package/dist/6718.app.bundle.js +1 -1
  36. package/dist/6832.app.bundle.js +1 -1
  37. package/dist/7166.app.bundle.js +1 -1
  38. package/dist/7307.app.bundle.js +1 -1
  39. package/dist/7372.app.bundle.js +1 -1
  40. package/dist/7481.app.bundle.js +1 -1
  41. package/dist/7495.app.bundle.js +1 -1
  42. package/dist/7734.app.bundle.js +1 -1
  43. package/dist/8255.app.bundle.js +1 -1
  44. package/dist/8463.app.bundle.js +1 -1
  45. package/dist/8762.app.bundle.js +1 -1
  46. package/dist/8913.app.bundle.js +1 -1
  47. package/dist/9186.app.bundle.js +1 -1
  48. package/dist/9376.app.bundle.js +1 -1
  49. package/dist/9496.app.bundle.js +1 -1
  50. package/dist/960.app.bundle.js +1 -1
  51. package/dist/9851.app.bundle.js +1 -1
  52. package/dist/app.bundle.js +1 -1
  53. package/dist/components/i18n-setup.js +1 -1
  54. package/dist/components/index.d.ts +2 -0
  55. package/dist/components/index.js +1 -1
  56. package/dist/components/types/components.d.ts +89 -16
  57. package/dist/components/va-accordion-item2.js +1 -1
  58. package/dist/components/va-additional-info.js +1 -1
  59. package/dist/components/va-alert-sign-in.js +1 -1
  60. package/dist/components/va-alert2.js +1 -1
  61. package/dist/components/va-back-to-top.js +1 -1
  62. package/dist/components/va-breadcrumbs.js +1 -1
  63. package/dist/components/va-card2.js +1 -1
  64. package/dist/components/va-checkbox-group2.js +1 -1
  65. package/dist/components/va-checkbox2.js +1 -1
  66. package/dist/components/va-combo-box2.js +2 -2
  67. package/dist/components/va-crisis-line-modal2.js +1 -1
  68. package/dist/components/va-date.js +1 -1
  69. package/dist/components/va-file-input-multiple.js +1 -1
  70. package/dist/components/va-file-input2.js +1 -1
  71. package/dist/components/va-header-minimal.js +1 -1
  72. package/dist/components/va-icon2.js +1 -1
  73. package/dist/components/va-language-toggle.js +1 -1
  74. package/dist/components/va-link-action.js +1 -1
  75. package/dist/components/va-loading-indicator.js +1 -1
  76. package/dist/components/va-memorable-date.js +1 -1
  77. package/dist/components/va-minimal-footer.js +1 -1
  78. package/dist/components/va-modal2.js +1 -1
  79. package/dist/components/va-need-help.js +1 -1
  80. package/dist/components/va-official-gov-banner2.js +1 -1
  81. package/dist/components/va-omb-info.js +1 -1
  82. package/dist/components/va-privacy-agreement.js +1 -1
  83. package/dist/components/va-process-list-item.js +1 -1
  84. package/dist/components/va-process-list.js +1 -1
  85. package/dist/components/va-progress-bar2.js +1 -1
  86. package/dist/components/va-promo-banner.js +1 -1
  87. package/dist/components/va-radio-option.js +1 -1
  88. package/dist/components/va-radio.js +1 -1
  89. package/dist/components/va-search-filter.js +1 -1
  90. package/dist/components/va-search-input.js +1 -1
  91. package/dist/components/va-select2.js +1 -1
  92. package/dist/components/va-service-list-item.js +1 -1
  93. package/dist/components/va-sidenav-item.js +1 -1
  94. package/dist/components/va-sidenav-submenu.js +1 -1
  95. package/dist/components/va-statement-of-truth.js +1 -1
  96. package/dist/components/va-summary-box.js +1 -1
  97. package/dist/components/va-tab-item.js +1 -1
  98. package/dist/components/va-tab-panel.js +1 -1
  99. package/dist/components/va-table-inner2.js +1 -1
  100. package/dist/components/va-table-row.js +1 -1
  101. package/dist/components/va-table.js +1 -1
  102. package/dist/components/va-tag-status.d.ts +11 -0
  103. package/dist/components/va-tag-status.js +1 -0
  104. package/dist/components/va-telephone-input.js +1 -1
  105. package/dist/components/va-telephone2.js +1 -1
  106. package/dist/components/va-text-input2.js +1 -1
  107. package/dist/components/va-textarea.js +1 -1
  108. package/dist/main.css +1 -1
  109. package/dist/react-bindings/index.d.ts +1 -0
  110. package/dist/react-bindings/index.js +1 -1
  111. package/dist/react-bindings/index.js.map +1 -1
  112. package/dist/react-bindings/index.ts +1 -0
  113. package/package.json +2 -2
  114. package/src/i18n/translations/en.mjs +6 -2
  115. package/src/i18n/translations/es.mjs +6 -2
  116. package/src/i18n/translations/tl.mjs +6 -1
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[7481],{7481:function(e,a,t){t.r(a),t.d(a,{va_statement_of_truth:function(){return r}});var n=t(7911),r=function(){function e(e){var a=this;(0,n.r)(this,e),this.vaInputChange=(0,n.c)(this,"vaInputChange",7),this.vaInputBlur=(0,n.c)(this,"vaInputBlur",7),this.vaCheckboxChange=(0,n.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,r=e.checkboxLabel,o=e.inputMessageAriaDescribedby,i=e.hideLegalNote,c=e.checked,s=e.inputValue,h=e.inputError,f=e.checkboxError;return(0,n.h)(n.H,{key:"487fd64f5491eb60782479e61bc1987341d374c5"},!i&&(0,n.h)("p",{key:"72269f2512dca0b3073dbad91c5e0115c760c266",id:"legal-note",class:"font-sans-6"},(0,n.h)("strong",{key:"5c332e64436879612568c13f8c3b972ff915fad6"},"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,n.h)("article",{key:"5e2c2847722814f3b331e35dc0ee0f313dd3ef42"},(0,n.h)("h3",{key:"61512deecd03ddcb92ca8bfb541ce2c8116aa84c"},a),(0,n.h)("slot",{key:"ca5e2d0bcb27078d64dcea838fe22232ce71d93a"}),(0,n.h)("p",{key:"6af64ccf012dfded907c76a9aefed13d31a72313",class:"font-sans-6 short-line"},"I have read and accept the ",(0,n.h)("va-link",{key:"76bc2f32943f9720e219b153903ff0c1acca5316",external:!0,text:"privacy policy",href:"/privacy-policy/"}),"."),(0,n.h)("va-text-input",{key:"465727ad0d1e28af653237f2fa4e99f3c3469cb1",id:"veteran-signature",name:"veteran-signature",label:t,value:s,"message-aria-describedby":o,required:!0,error:h,onInput:this.handleInputChange,onBlur:this.handleInputBlur,"error-has-pii":!0}),(0,n.h)("va-checkbox",{key:"bc1305313602bdcdea12610aba634614fe5383ac",id:"veteran-certify",name:"veteran-certify",label:r,required:!0,checked:c,error:f,onVaChange:this.handleCheckboxChange})))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,n.g)(this)},enumerable:!1,configurable:!0}),e}();r.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:16.96px}:host h3{font-family:var(--font-serif);margin:24px 0}:host>p{margin:24px}@media screen and (max-width: 481px){:host .short-line{width:var(--vads-size-line-length-1)}}:host va-text-input{margin-bottom:24px}:host article{background-color:var(--vads-color-base-lightest);padding:1px 24px 24px 24px;margin-bottom:24px}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([[7481],{7481:function(e,a,t){t.r(a),t.d(a,{va_statement_of_truth:function(){return n}});var r=t(7911),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,f=e.inputError,h=e.checkboxError;return(0,r.h)(r.H,{key:"89bda52164083d09c1795e7d43d980eaf357c208"},!o&&(0,r.h)("p",{key:"ef7ef4142cf5f0021cac8dc6f03fe8a73ae31153",id:"legal-note",class:"font-sans-6"},(0,r.h)("strong",{key:"24baaeeeb9681fc075af05ff23fb09bf64051b58"},"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:"019dd21754bde70463a5eac47f441db11f3f817f"},(0,r.h)("h3",{key:"f647fe5e2254868ca964d752b3ed998ed21526c1"},a),(0,r.h)("slot",{key:"c2de0dc608f458ad5f5df81857d584ab44130d49"}),(0,r.h)("p",{key:"836d19585782e783c8e9345a343c07d7c7eb47fe",class:"font-sans-6 short-line"},"I have read and accept the ",(0,r.h)("va-link",{key:"6f44af57c7f0cbdce0f96e5efcf9b3f434e6b391",external:!0,text:"privacy policy",href:"/privacy-policy/"}),"."),(0,r.h)("va-text-input",{key:"46433be6e8980849169b5334695180e8248d2cdd",id:"veteran-signature",name:"veteran-signature",label:t,value:c,"message-aria-describedby":i,required:!0,error:f,onInput:this.handleInputChange,onBlur:this.handleInputBlur,"error-has-pii":!0}),(0,r.h)("va-checkbox",{key:"25c5fd68d03568d294a3965f18ea196233d8909b",id:"veteran-certify",name:"veteran-certify",label:n,required:!0,checked:s,error:h,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 7495.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([[4569,7495],{4569:function(t,e,n){n.r(e),n.d(e,{c:function(){return i}});var r,a={exports:{}};r=a,function(){var t={}.hasOwnProperty;function e(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var i=typeof a;if("string"===i||"number"===i)n.push(a);else if(Array.isArray(a)){if(a.length){var o=e.apply(null,a);o&&n.push(o)}}else if("object"===i)if(a.toString===Object.prototype.toString)for(var l in a)t.call(a,l)&&a[l]&&n.push(l);else n.push(a.toString())}}return n.join(" ")}r.exports?(e.default=e,r.exports=e):window.classNames=e}();var i=a.exports},7495:function(t,e,n){n.r(e),n.d(e,{va_language_toggle:function(){return o}});var r=n(7911),a=n(4569),i=function(t,e,n){if(n||2===arguments.length)for(var r,a=0,i=e.length;a<i;a++)!r&&a in e||(r||(r=Array.prototype.slice.call(e,0,a)),r[a]=e[a]);return t.concat(r||Array.prototype.slice.call(e))},o=function(){function t(t){(0,r.r)(this,t),this.vaLanguageToggle=(0,r.c)(this,"vaLanguageToggle",7),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.language="en",this.enHref=void 0,this.esHref=void 0,this.tlHref=void 0,this.urls=void 0,this.routerLinks=!1}return t.prototype.getUrl=function(t){var e=new URL(window.location.href);return e.searchParams.set("lang",t),e.href},t.prototype.handleToggle=function(t,e,n){this.routerLinks&&(t.preventDefault(),window.history.replaceState(null,null,this.getUrl(e)),this.language=e),this.vaLanguageToggle.emit({language:e});var r={componentName:"va-language-toggle",action:"linkClick",details:{"pipe-delimited-list-header":e,label:n}};this.componentLibraryAnalytics.emit(r)},t.prototype.componentWillLoad=function(){this.urls=[{label:"English",lang:"en",href:this.enHref}],this.esHref&&(this.urls=i(i([],this.urls,!0),[{label:"Español",lang:"es",href:this.esHref}],!1)),this.tlHref&&(this.urls=i(i([],this.urls,!0),[{label:"Tagalog",lang:"tl",href:this.tlHref}],!1))},t.prototype.render=function(){var t=this,e=this.language,n=this.urls;return(0,r.h)(r.H,{key:"f9bd43aa1525b293c2c4d5c716df25aaab76cdf2"},(0,r.h)("div",{key:"46392fc449cc921c49587790ccb9ce0dab257b7f",role:"group","aria-label":"Language selection"},n.map((function(i,o){var l=i.href,s=i.lang,c=i.label,g=(0,a.c)({"is-current-lang":s===e}),h=(0,a.c)({"inner-div":o<n.length-1});return s===e?(0,r.h)("div",{class:h},(0,r.h)("a",{class:g,href:l,hrefLang:s,onClick:function(e){return t.handleToggle(e,s,c)},"aria-current":"language"},c)):(0,r.h)("div",{class:h},(0,r.h)("va-link",{class:g,href:l,language:s,onClick:function(e){return t.handleToggle(e,s,c)},text:c,disableAnalytics:!0}))}))))},t}();o.style=":host div{display:inline-block}:host div div.inner-div{border-right:1px solid var(--vads-color-base-light);padding-right:8px;margin-right:8px}:host div a.is-current-lang{font-weight:var(--font-weight-bold);color:var(--vads-color-black);text-decoration:none;padding-top:10px;padding-bottom:16px}:host div a.is-current-lang:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}:host div va-link{color:var(--vads-color-link);padding-bottom:2px;border-bottom:1px solid var(--vads-color-link)}:host div va-link::part(anchor){text-decoration:none;padding-top:10px;padding-bottom:16px}"}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[4569,7495],{4569:function(t,e,n){n.r(e),n.d(e,{c:function(){return i}});var r,a={exports:{}};r=a,function(){var t={}.hasOwnProperty;function e(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var i=typeof a;if("string"===i||"number"===i)n.push(a);else if(Array.isArray(a)){if(a.length){var o=e.apply(null,a);o&&n.push(o)}}else if("object"===i)if(a.toString===Object.prototype.toString)for(var l in a)t.call(a,l)&&a[l]&&n.push(l);else n.push(a.toString())}}return n.join(" ")}r.exports?(e.default=e,r.exports=e):window.classNames=e}();var i=a.exports},7495:function(t,e,n){n.r(e),n.d(e,{va_language_toggle:function(){return o}});var r=n(7911),a=n(4569),i=function(t,e,n){if(n||2===arguments.length)for(var r,a=0,i=e.length;a<i;a++)!r&&a in e||(r||(r=Array.prototype.slice.call(e,0,a)),r[a]=e[a]);return t.concat(r||Array.prototype.slice.call(e))},o=function(){function t(t){(0,r.r)(this,t),this.vaLanguageToggle=(0,r.c)(this,"vaLanguageToggle",7),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.language="en",this.enHref=void 0,this.esHref=void 0,this.tlHref=void 0,this.urls=void 0,this.routerLinks=!1}return t.prototype.getUrl=function(t){var e=new URL(window.location.href);return e.searchParams.set("lang",t),e.href},t.prototype.handleToggle=function(t,e,n){this.routerLinks&&(t.preventDefault(),window.history.replaceState(null,null,this.getUrl(e)),this.language=e),this.vaLanguageToggle.emit({language:e});var r={componentName:"va-language-toggle",action:"linkClick",details:{"pipe-delimited-list-header":e,label:n}};this.componentLibraryAnalytics.emit(r)},t.prototype.componentWillLoad=function(){this.urls=[{label:"English",lang:"en",href:this.enHref}],this.esHref&&(this.urls=i(i([],this.urls,!0),[{label:"Español",lang:"es",href:this.esHref}],!1)),this.tlHref&&(this.urls=i(i([],this.urls,!0),[{label:"Tagalog",lang:"tl",href:this.tlHref}],!1))},t.prototype.render=function(){var t=this,e=this.language,n=this.urls;return(0,r.h)(r.H,{key:"dddc59ff2e8aa44651e9327ec336f56806958771"},(0,r.h)("div",{key:"4ffd3ba82d5e4111d25a35021e1c5c69cdd370df",role:"group","aria-label":"Language selection"},n.map((function(i,o){var l=i.href,s=i.lang,c=i.label,h=(0,a.c)({"is-current-lang":s===e}),g=(0,a.c)({"inner-div":o<n.length-1});return s===e?(0,r.h)("div",{class:g},(0,r.h)("a",{class:h,href:l,hrefLang:s,onClick:function(e){return t.handleToggle(e,s,c)},"aria-current":"language"},c)):(0,r.h)("div",{class:g},(0,r.h)("va-link",{class:h,href:l,language:s,onClick:function(e){return t.handleToggle(e,s,c)},text:c,disableAnalytics:!0}))}))))},t}();o.style=":host{font-size:1rem}:host div{display:inline-block}:host div div.inner-div{border-right:1px solid var(--vads-color-base-light);padding-right:var(--units-1);margin-right:var(--units-1)}:host div a.is-current-lang{font-weight:var(--font-weight-bold);color:var(--vads-color-black);text-decoration:none;padding-top:var(--units-1p5);padding-bottom:var(--units-2)}:host div a.is-current-lang:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}:host div va-link{color:var(--vads-color-link);padding-bottom:2px;border-bottom:1px solid var(--vads-color-link)}:host div va-link::part(anchor){text-decoration:none;padding-top:var(--units-1p5);padding-bottom:var(--units-2)}"}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[6104,7734],{6104: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(7911);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)))}},7734:function(t,a,e){e.r(a),e.d(a,{va_table:function(){return _}});var r=e(7911),o=e(6104),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.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.makeFragment=function(){var t=this,a=document.createDocumentFragment();return 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);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:"2c3ccf7c996f0942d4c54fc6e8ce0da1044414a0"},(0,r.h)("slot",{key:"5953ce634fe5fb97ab4d0e17868d6eff241dfdf7"}))},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([[6104,7734],{6104: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(7911);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)))}},7734:function(t,a,e){e.r(a),e.d(a,{va_table:function(){return _}});var r=e(7911),o=e(6104),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.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.makeFragment=function(){var t=this,a=document.createDocumentFragment();return 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:"89a9f9d6c91f719d4d7dd1854f8a978c661ded95"},(0,r.h)("slot",{key:"330741c90991e1733232db2254265ffac434ebd2"}))},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 8255.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([[4569,8255],{4569:function(t,e,r){r.r(e),r.d(e,{c:function(){return i}});var a,n={exports:{}};a=n,function(){var t={}.hasOwnProperty;function e(){for(var r=[],a=0;a<arguments.length;a++){var n=arguments[a];if(n){var i=typeof n;if("string"===i||"number"===i)r.push(n);else if(Array.isArray(n)){if(n.length){var o=e.apply(null,n);o&&r.push(o)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)t.call(n,s)&&n[s]&&r.push(s);else r.push(n.toString())}}return r.join(" ")}a.exports?(e.default=e,a.exports=e):window.classNames=e}();var i=n.exports},8255:function(t,e,r){r.r(e),r.d(e,{va_telephone_input:function(){return rt}});var a=r(7911),n=r(4569),i=(r(5384),r(6850)),o=r(4665);function s(){var t=(0,i.n)(arguments),e=t.text,r=t.options,a=t.metadata;return(0,i.p)(e,r,a)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(){var t=(0,i.n)(arguments),e=t.text,r=t.options,a=t.metadata;r=l(l({},r),{},{extract:!1});var n=(0,i.a)(e,r,a);return n&&n.isPossible()||!1}function f(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var d=function(){function t(e){var r=e.onCountryChange,a=e.onCallingCodeChange;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.onCountryChange=r,this.onCallingCodeChange=a}return function(t,e){e&&f(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"reset",value:function(t){var e=t.country,r=t.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(e,r)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberMatchesInput=!0,this.nationalPrefix=void 0,this.carrierCode=void 0,this.complexPrefixBeforeNationalSignificantNumber=void 0}},{key:"update",value:function(t){for(var e=0,r=Object.keys(t);e<r.length;e++){var a=r[e];this[a]=t[a]}}},{key:"initCountryAndCallingCode",value:function(t,e){this.setCountry(t),this.setCallingCode(e)}},{key:"setCountry",value:function(t){this.country=t,this.onCountryChange(t)}},{key:"setCallingCode",value:function(t){this.callingCode=t,this.onCallingCodeChange(t,this.country)}},{key:"startInternationalNumber",value:function(t,e){this.international=!0,this.initCountryAndCallingCode(t,e)}},{key:"appendDigits",value:function(t){this.digits+=t}},{key:"appendNationalSignificantNumberDigits",value:function(t){this.nationalSignificantNumber+=t}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}]),t}();function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=t[r];return a}var p="x",g=new RegExp(p);function b(t,e){if(e<1)return"";for(var r="";e>1;)1&e&&(r+=t),e>>=1,t+=t;return r+t}function v(t,e){return")"===t[e]&&e++,function(t){for(var e=[],r=0;r<t.length;)"("===t[r]?e.push(r):")"===t[r]&&e.pop(),r++;var a=0,n="";e.push(t.length);for(var i=0,o=e;i<o.length;i++){var s=o[i];n+=t.slice(a,s),a=s+1}return n}(t.slice(0,e))}function y(t,e,r){var a=r.metadata,n=r.shouldTryNationalPrefixFormattingRule,i=r.getSeparatorAfterNationalPrefix;if(new RegExp("^(?:".concat(e.pattern(),")$")).test(t.nationalSignificantNumber))return function(t,e,r){var a=r.metadata,n=r.getSeparatorAfterNationalPrefix;if((0,r.shouldTryNationalPrefixFormattingRule)(e)){var i=C(t,e,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:n,metadata:a});if(i)return i}return C(t,e,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:n,metadata:a})}(t,e,{metadata:a,shouldTryNationalPrefixFormattingRule:n,getSeparatorAfterNationalPrefix:i})}function C(t,e,r){var a=r.metadata,n=r.useNationalPrefixFormattingRule,o=r.getSeparatorAfterNationalPrefix,s=(0,i.f)(t.nationalSignificantNumber,e,{carrierCode:t.carrierCode,useInternationalFormat:t.international,withNationalPrefix:n,metadata:a});if(n||(t.nationalPrefix?s=t.nationalPrefix+o(e)+s:t.complexPrefixBeforeNationalSignificantNumber&&(s=t.complexPrefixBeforeNationalSignificantNumber+" "+s)),function(t,e){return(0,i.b)(t)===e.getNationalDigits()}(s,t))return s}function w(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var N=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e){e&&w(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"parse",value:function(t){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(t),1!==this.context.length)throw new Error("Non-finalized contexts left when pattern parse ended");var e=this.context[0],r=e.branches,a=e.instructions;if(r)return{op:"|",args:r.concat([k(a)])};if(0===a.length)throw new Error("Pattern is required");return 1===a.length?a[0]:a}},{key:"startContext",value:function(t){this.context.push(t)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(t){if(!t)throw new Error("Pattern is required");var e=t.match(S);if(e){var r=e[1],a=t.slice(0,e.index),n=t.slice(e.index+r.length);switch(r){case"(?:":a&&this.parsePattern(a),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw new Error('")" operator must be preceded by "(?:" operator');if(a&&this.parsePattern(a),0===this.getContext().instructions.length)throw new Error('No instructions found after "|" operator in an "or" group');var i=this.getContext().branches;i.push(k(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:i});break;case"|":if(!this.getContext().or)throw new Error('"|" operator can only be used inside "or" groups');if(a&&this.parsePattern(a),!this.getContext().branches){if(1!==this.context.length)throw new Error('"branches" not found in an "or" group context');this.getContext().branches=[]}this.getContext().branches.push(k(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":a&&this.parsePattern(a),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw new Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:x(a)});break;default:throw new Error("Unknown operator: ".concat(r))}n&&this.parsePattern(n)}else{if(P.test(t))throw new Error("Illegal characters found in a pattern: ".concat(t));this.getContext().instructions=this.getContext().instructions.concat(t.split(""))}}}]),t}();function x(t){for(var e=[],r=0;r<t.length;){if("-"===t[r]){if(0===r||r===t.length-1)throw new Error("Couldn't parse a one-of set pattern: ".concat(t));for(var a=t[r-1].charCodeAt(0)+1,n=t[r+1].charCodeAt(0)-1,i=a;i<=n;)e.push(String.fromCharCode(i)),i++}else e.push(t[r]);r++}return e}var P=/[\(\)\[\]\?\:\|]/,S=new RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function k(t){return 1===t.length?t[0]:t}function E(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return F(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?F(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var a=0;return function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function F(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=t[r];return a}function O(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var A=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.matchTree=(new N).parse(e)}return function(t,e){e&&O(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"match",value:function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).allowOverflow;if(!t)throw new Error("String is required");var r=T(t.split(""),this.matchTree,!0);if(r&&r.match&&delete r.matchedChars,!r||!r.overflow||e)return r}}]),t}();function T(t,e,r){if("string"==typeof e){var a=t.join("");return 0===e.indexOf(a)?t.length===e.length?{match:!0,matchedChars:t}:{partialMatch:!0}:0===a.indexOf(e)?r&&t.length>e.length?{overflow:!0}:{match:!0,matchedChars:t.slice(0,e.length)}:void 0}if(Array.isArray(e)){for(var n=t.slice(),i=0;i<e.length;){var o=T(n,e[i],r&&i===e.length-1);if(!o)return;if(o.overflow)return o;if(!o.match){if(o.partialMatch)return{partialMatch:!0};throw new Error("Unsupported match result:\n".concat(JSON.stringify(o,null,2)))}if(0===(n=n.slice(o.matchedChars.length)).length)return i===e.length-1?{match:!0,matchedChars:t}:{partialMatch:!0};i++}return r?{overflow:!0}:{match:!0,matchedChars:t.slice(0,t.length-n.length)}}switch(e.op){case"|":for(var s,u,l=E(e.args);!(u=l()).done;){var c=T(t,u.value,r);if(c){if(c.overflow)return c;if(c.match)return{match:!0,matchedChars:c.matchedChars};if(!c.partialMatch)throw new Error("Unsupported match result:\n".concat(JSON.stringify(c,null,2)));s=!0}}return s?{partialMatch:!0}:void 0;case"[]":for(var h,f=E(e.args);!(h=f()).done;){var d=h.value;if(t[0]===d)return 1===t.length?{match:!0,matchedChars:t}:r?{overflow:!0}:{match:!0,matchedChars:[d]}}return;default:throw new Error("Unsupported instruction tree: ".concat(e))}}function I(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return R(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?R(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var a=0;return function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=t[r];return a}function D(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var j=b("9",15),M=/[- ]/,U=new RegExp("["+i.V+"]*\\$1["+i.V+"]*(\\$\\d["+i.V+"]*)*$"),_=function(){function t(e){var r=e.metadata;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.metadata=r,this.resetFormat()}return function(t,e){e&&D(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(t,e){this.resetFormat(),t?(this.isNANP="1"===t.callingCode(),this.matchingFormats=t.formats(),e.nationalSignificantNumber&&this.narrowDownMatchingFormats(e)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(t,e){var r=this;if(function(t,e){return"IS_POSSIBLE"===(0,i.c)(t,e)}(e.nationalSignificantNumber,this.metadata))for(var a,n=I(this.matchingFormats);!(a=n()).done;){var o=a.value,s=y(e,o,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(t){return r.shouldTryNationalPrefixFormattingRule(t,{international:e.international,nationalPrefix:e.nationalPrefix})},getSeparatorAfterNationalPrefix:function(t){return r.getSeparatorAfterNationalPrefix(t)}});if(s)return this.resetFormat(),this.chosenFormat=o,this.setNationalNumberTemplate(s.replace(/\d/g,p),e),this.populatedNationalNumberTemplate=s,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(p),s}return this.formatNationalNumberWithNextDigits(t,e)}},{key:"formatNationalNumberWithNextDigits",value:function(t,e){var r=this.chosenFormat,a=this.chooseFormat(e);if(a)return a===r?this.formatNextNationalNumberDigits(t):this.formatNextNationalNumberDigits(e.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(t){var e=this,r=t.nationalSignificantNumber,a=t.nationalPrefix,n=t.international,i=r,o=i.length-3;o<0&&(o=0),this.matchingFormats=this.matchingFormats.filter((function(t){return e.formatSuits(t,n,a)&&e.formatMatches(t,i,o)})),this.chosenFormat&&-1===this.matchingFormats.indexOf(this.chosenFormat)&&this.resetFormat()}},{key:"formatSuits",value:function(t,e,r){return!(r&&!t.usesNationalPrefix()&&!t.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!e&&!r&&t.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function t(e,r,a){var n=e.leadingDigitsPatterns().length;if(0===n)return!0;a=Math.min(a,n-1);var i=e.leadingDigitsPatterns()[a];if(r.length<3)try{return void 0!==new A(i).match(r,{allowOverflow:!0})}catch(t){return console.error(t),!0}return new RegExp("^(".concat(i,")")).test(r)}},{key:"getFormatFormat",value:function(t,e){return e?t.internationalFormat():t.format()}},{key:"chooseFormat",value:function(t){for(var e,r=this,a=function(){var a=e.value;return r.chosenFormat===a?"break":U.test(r.getFormatFormat(a,t.international))?r.createTemplateForFormat(a,t)?(r.chosenFormat=a,"break"):(r.matchingFormats=r.matchingFormats.filter((function(t){return t!==a})),"continue"):"continue"},n=I(this.matchingFormats.slice());!(e=n()).done;){if("break"===a())break}return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(t,e){if(!(t.pattern().indexOf("|")>=0)){var r=this.getTemplateForFormat(t,e);return r?(this.setNationalNumberTemplate(r,e),!0):void 0}}},{key:"getSeparatorAfterNationalPrefix",value:function(t){return this.isNANP||t&&t.nationalPrefixFormattingRule()&&M.test(t.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(t,e){var r=t.IDDPrefix,a=t.missingPlus;return r?e&&!1===e.spacing?r:r+" ":a?"":"+"}},{key:"getTemplate",value:function(t){if(this.template){for(var e=-1,r=0,a=t.international?this.getInternationalPrefixBeforeCountryCallingCode(t,{spacing:!1}):"";r<a.length+t.getDigitsWithoutInternationalPrefix().length;)e=this.template.indexOf(p,e+1),r++;return v(this.template,e+1)}}},{key:"setNationalNumberTemplate",value:function(t,e){this.nationalNumberTemplate=t,this.populatedNationalNumberTemplate=t,this.populatedNationalNumberTemplatePosition=-1,e.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(e).replace(/[\d\+]/g,p)+b(p,e.callingCode.length)+" "+t:this.template=t}},{key:"getTemplateForFormat",value:function(t,e){var r=e.nationalSignificantNumber,a=e.international,n=e.nationalPrefix,o=e.complexPrefixBeforeNationalSignificantNumber,s=t.pattern();s=s.replace(/\[([^\[\]])*\]/g,"\\d").replace(/\d(?=[^,}][^,}])/g,"\\d");var u=j.match(s)[0];if(!(r.length>u.length)){var l=new RegExp("^"+s+"$"),c=r.replace(/\d/g,"9");l.test(c)&&(u=c);var h,f=this.getFormatFormat(t,a);if(this.shouldTryNationalPrefixFormattingRule(t,{international:a,nationalPrefix:n})){var d=f.replace(i.F,t.nationalPrefixFormattingRule());if((0,i.b)(t.nationalPrefixFormattingRule())===(n||"")+(0,i.b)("$1")&&(f=d,h=!0,n))for(var m=n.length;m>0;)f=f.replace(/\d/,p),m--}var g=u.replace(new RegExp(s),f).replace(new RegExp("9","g"),p);return h||(o?g=b(p,o.length)+" "+g:n&&(g=b(p,n.length)+this.getSeparatorAfterNationalPrefix(t)+g)),a&&(g=(0,i.d)(g)),g}}},{key:"formatNextNationalNumberDigits",value:function(t){var e=function(t,e,r){for(var a,n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return m(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var a=0;return function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r.split(""));!(a=n()).done;){var i=a.value;if(t.slice(e+1).search(g)<0)return;e=t.search(g),t=t.replace(g,i)}return[t,e]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,t);if(e)return this.populatedNationalNumberTemplate=e[0],this.populatedNationalNumberTemplatePosition=e[1],v(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1);this.resetFormat()}},{key:"shouldTryNationalPrefixFormattingRule",value:function(t,e){var r=e.international,a=e.nationalPrefix;if(t.nationalPrefixFormattingRule()){var n=t.usesNationalPrefix();if(n&&a||!n&&!r)return!0}}}]),t}();function V(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var a,n,i=[],o=!0,s=!1;try{for(r=r.call(t);!(o=(a=r.next()).done)&&(i.push(a.value),!e||i.length!==e);o=!0);}catch(t){s=!0,n=t}finally{try{o||null==r.return||r.return()}finally{if(s)throw n}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return L(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=t[r];return a}function W(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var B="["+i.V+i.i+"]+",q=new RegExp("^"+B+"$","i"),H="(?:["+i.P+"]["+i.V+i.i+"]*|["+i.V+i.i+"]+)",$=new RegExp("[^"+i.V+i.i+"]+.*$"),z=/[^\d\[\]]/,Y=function(){function t(e){var r=e.defaultCountry,a=e.defaultCallingCode,n=e.metadata,i=e.onNationalSignificantNumberChange;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.defaultCountry=r,this.defaultCallingCode=a,this.metadata=n,this.onNationalSignificantNumberChange=i}return function(t,e){e&&W(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"input",value:function(t,e){var r,a=function(t){var e=function(t){var e=function(t){var e,r=t.search(H);if(!(r<0))return"+"===(t=t.slice(r))[0]&&(e=!0,t=t.slice(1)),t=t.replace($,""),e&&(t="+"+t),t}(t)||"";return"+"===e[0]?[e.slice(1),!0]:[e]}(t),r=V(e,2),a=r[0],n=r[1];return q.test(a)||(a=""),[a,n]}(t),n=V(a,2),o=n[0],s=n[1],u=(0,i.b)(o);return s&&(e.digits||(e.startInternationalNumber(),u||(r=!0))),u&&this.inputDigits(u,e),{digits:u,justLeadingPlus:r}}},{key:"inputDigits",value:function(t,e){var r=e.digits,a=r.length<3&&r.length+t.length>=3;if(e.appendDigits(t),a&&this.extractIddPrefix(e),this.isWaitingForCountryCallingCode(e)){if(!this.extractCountryCallingCode(e))return}else e.appendNationalSignificantNumberDigits(t);e.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(e.getNationalDigits(),(function(t){return e.update(t)}))}},{key:"isWaitingForCountryCallingCode",value:function(t){var e=t.international,r=t.callingCode;return e&&!r}},{key:"extractCountryCallingCode",value:function(t){var e=(0,i.e)("+"+t.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),r=e.countryCallingCode,a=e.number;if(r)return t.setCallingCode(r),t.update({nationalSignificantNumber:a}),!0}},{key:"reset",value:function(t){if(t){this.hasSelectedNumberingPlan=!0;var e=t._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=e&&z.test(e)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(t,e){if(this.hasSelectedNumberingPlan){var r=(0,i.g)(t,this.metadata),a=r.nationalPrefix,n=r.nationalNumber,o=r.carrierCode;if(n!==t)return this.onExtractedNationalNumber(a,o,n,t,e),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(t,e,r){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(t,r);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var a=(0,i.g)(t,this.metadata),n=a.nationalPrefix,o=a.nationalNumber,s=a.carrierCode;if(o!==e)return this.onExtractedNationalNumber(n,s,o,t,r),!0}}},{key:"onExtractedNationalNumber",value:function(t,e,r,a,n){var i,o,s=a.lastIndexOf(r);if(s>=0&&s===a.length-r.length){o=!0;var u=a.slice(0,s);u!==t&&(i=u)}n({nationalPrefix:t,carrierCode:e,nationalSignificantNumber:r,nationalSignificantNumberMatchesInput:o,complexPrefixBeforeNationalSignificantNumber:i}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(t){return!!this.extractAnotherNationalSignificantNumber(t.getNationalDigits(),t.nationalSignificantNumber,(function(e){return t.update(e)}))||(this.extractIddPrefix(t)||this.fixMissingPlus(t)?(this.extractCallingCodeAndNationalSignificantNumber(t),!0):void 0)}},{key:"extractIddPrefix",value:function(t){var e=t.international,r=t.IDDPrefix,a=t.digits;if(!e&&!r){var n=(0,i.s)(a,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);return void 0!==n&&n!==a?(t.update({IDDPrefix:a.slice(0,a.length-n.length)}),this.startInternationalNumber(t,{country:void 0,callingCode:void 0}),!0):void 0}}},{key:"fixMissingPlus",value:function(t){if(!t.international){var e=(0,i.h)(t.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata).countryCallingCode;if(e)return t.update({missingPlus:!0}),this.startInternationalNumber(t,{country:t.country,callingCode:e}),!0}}},{key:"startInternationalNumber",value:function(t,e){var r=e.country,a=e.callingCode;t.startInternationalNumber(r,a),t.nationalSignificantNumber&&(t.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(t){this.extractCountryCallingCode(t)&&this.extractNationalSignificantNumber(t.getNationalDigits(),(function(e){return t.update(e)}))}}]),t}();function K(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=t[r];return a}function G(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var J=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.metadata=new i.M(r);var a=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var a,n,i=[],o=!0,s=!1;try{for(r=r.call(t);!(o=(a=r.next()).done)&&(i.push(a.value),!e||i.length!==e);o=!0);}catch(t){s=!0,n=t}finally{try{o||null==r.return||r.return()}finally{if(s)throw n}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return K(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?K(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this.getCountryAndCallingCode(e),2),n=a[0],o=a[1];this.defaultCountry=n,this.defaultCallingCode=o,this.reset()}return function(t,e){e&&G(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"getCountryAndCallingCode",value:function(t){var e,r;return t&&((0,i.m)(t)?(e=t.defaultCountry,r=t.defaultCallingCode):e=t),e&&!this.metadata.hasCountry(e)&&(e=void 0),[e,r]}},{key:"input",value:function(t){var e=this.parser.input(t,this.state),r=e.digits;if(e.justLeadingPlus)this.formattedOutput="+";else if(r){var a;if(this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state),this.metadata.hasSelectedNumberingPlan()&&(a=this.formatter.format(r,this.state)),void 0===a&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var n=this.state.getNationalDigits();n&&(a=this.formatter.format(n,this.state))}this.formattedOutput=a?this.getFullNumber(a):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var t=this;return this.state=new d({onCountryChange:function(e){t.country=e},onCallingCodeChange:function(e,r){t.metadata.selectNumberingPlan(r,e),t.formatter.reset(t.metadata.numberingPlan,t.state),t.parser.reset(t.metadata.numberingPlan)}}),this.formatter=new _({state:this.state,metadata:this.metadata}),this.parser=new Y({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){t.determineTheCountryIfNeeded(),t.formatter.reset(t.metadata.numberingPlan,t.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){if(this.isInternational())return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){if(this.state.digits)return this._getCountry()}},{key:"_getCountry",value:function(){return this.state.country}},{key:"determineTheCountryIfNeeded",value:function(){this.state.country&&!this.isCountryCallingCodeAmbiguous()||this.determineTheCountry()}},{key:"getFullNumber",value:function(t){var e=this;if(this.isInternational()){var r=this.state.callingCode;return function(t){return e.formatter.getInternationalPrefixBeforeCountryCallingCode(e.state,{spacing:!!t})+t}(r?t?"".concat(r," ").concat(t):r:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return t}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var t=this.state,e=t.nationalSignificantNumber,r=t.complexPrefixBeforeNationalSignificantNumber,a=t.nationalPrefix,n=e,i=r||a;return i&&(n=i+n),n}},{key:"getNonFormattedNumber",value:function(){var t=this.state.nationalSignificantNumberMatchesInput;return this.getFullNumber(t?this.getNonFormattedNationalNumberWithPrefix():this.state.getNationalDigits())}},{key:"getNonFormattedTemplate",value:function(){var t=this.getNonFormattedNumber();if(t)return t.replace(/[\+\d]/g,p)}},{key:"isCountryCallingCodeAmbiguous",value:function(){var t=this.state.callingCode,e=this.metadata.getCountryCodesForCallingCode(t);return e&&e.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry((0,i.j)(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var t=this.state,e=t.digits,r=t.callingCode,a=t.country,n=t.nationalSignificantNumber;if(e)return this.isInternational()?r?"+"+r+n:"+"+e:a||r?"+"+(a?this.metadata.countryCallingCode():r)+n:void 0}},{key:"getNumber",value:function(){var t=this.state,e=t.nationalSignificantNumber,r=t.carrierCode,a=t.callingCode,n=this._getCountry();if(e&&(n||a)){if(n&&n===this.defaultCountry){var o=new i.M(this.metadata.metadata);o.selectNumberingPlan(n);var s=o.numberingPlan.callingCode(),u=this.metadata.getCountryCodesForCallingCode(s);if(u.length>1){var l=(0,i.k)(e,{countries:u,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});l&&(n=l)}}var c=new i.l(n||a,e,this.metadata.metadata);return r&&(c.carrierCode=r),c}}},{key:"isPossible",value:function(){var t=this.getNumber();return!!t&&t.isPossible()}},{key:"isValid",value:function(){var t=this.getNumber();return!!t&&t.isValid()}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}]),t}();function Q(t){return new i.M(t).getCountries()}function X(t){return J.call(this,t,i.o)}function Z(){return i.M.call(this,i.o)}X.prototype=Object.create(J.prototype,{}),X.prototype.constructor=X,Z.prototype=Object.create(i.M.prototype,{}),Z.prototype.constructor=Z;var tt={names:{BQ:"Bonaire, Sint Eustatius and Saba",MF:"Saint Martin (French part)",PN:"Pitcairn",UM:"United States Minor Outlying Islands",FK:"Falkland Islands (Malvinas)",CG:"Congo",CD:"Congo, Democratic Republic of the",MM:"Myanmar",MD:"Moldova, Republic of",KP:"Korea, Democratic People's Republic of",SH:"Saint Helena, Ascension and Tristan da Cunha",RU:"Russian Federation",VC:"Saint Vincent and the Grenadines",SX:"Sint Maarten (Dutch part)",KR:"Korea, Republic of",SY:"Syrian Arab Republic",VI:"Virgin Islands (U.S.)",US:"United States of America",VA:"Holy See",VN:"Viet Nam"},countries:{GS:"FK",AQ:"NF",BV:"NO",TF:"RE",HM:"AU",UM:"US",PN:"NZ"}};function et(t){return function(){return(0,i.w)(i.q,arguments)}(t)?t:t in tt.countries?tt.countries[t]:void console.error("Not a valid country: ".concat(t))}var rt=function(){function t(t){(0,a.r)(this,t),this.vaContact=(0,a.c)(this,"vaContact",7),this.DEFAULT_COUNTRY="US",this.COUNTRY_ERROR="Please choose a country",this.CONTACT_ERROR="phone number in a valid format, for example,",this.contact="",this.country=this.DEFAULT_COUNTRY,this.label="Home phone number",this.hint=void 0,this.error="",this.noCountry=!1,this.required=!1,this.showInternalErrors=!0,this.formattedContact="",this.countries=null,this.countryError="",this.contactError="",this.isValid=!1,this.touched=!1,this.visibleError=void 0}return t.prototype.syncErrorMessages=function(t){(null==t?void 0:t.includes(this.CONTACT_ERROR))?this.contactError=this.error:t===this.COUNTRY_ERROR?this.countryError=t:this.resetErrors()},t.prototype.resetErrors=function(){this.countryError="",this.contactError="",this.visibleError=this.error},t.prototype.setValidityState=function(){this.country&&this.contact?(this.isValid=function(){return(0,i.w)(h,arguments)}(this.contact,et(this.country)),this.formattedContact=this.formatContact(this.contact)):this.isValid=!1},t.prototype.updateContact=function(t){var e=t.target.value;this.contact=e,this.formattedContact=this.formatContact(e),this.validateContact(),this.handleEmit()},t.prototype.getPhoneNumberLengthString=function(t){if(!t.length)return"";for(var e=t.slice().sort((function(t,e){return t-e})),r=!0,a=1;a<e.length;a++)if(e[a]!==e[a-1]+1){r=!1;break}return r&&e.length>1?"".concat(e[0]," to ").concat(e[e.length-1]):1===e.length?String(e[0]):2===e.length&&e[1]===e[0]+1?"".concat(e[0]," to ").concat(e[1]):2===e.length?"".concat(e[0]," or ").concat(e[1]):"".concat(e.slice(0,-1).join(", ")," or ").concat(e[e.length-1])},t.prototype.getValidPhoneNumberLengths=function(){var t=et(this.country),e=new Z;e.selectNumberingPlan(t);var r=e.numberingPlan.possibleLengths();return this.getPhoneNumberLengthString(r)},t.prototype.getErrorMessageForCountry=function(){var t=et(this.country),e=this.getCountryName(t);return"Enter a valid ".concat(e," phone number. Use ").concat(this.getValidPhoneNumberLengths()," digits.")},t.prototype.validateContact=function(){this.country?(this.resetErrors(),this.setValidityState(),!this.isValid&&this.touched&&this.showInternalErrors&&(this.visibleError=this.getErrorMessageForCountry(),this.contactError=this.visibleError)):this.validateCountry()},t.prototype.handleEmit=function(){var t,e=!!this.contact&&!!this.country;try{t=e?function(){return(0,i.w)(s,arguments)}(this.contact,et(this.country)):null}catch(e){t=null}var r=null;this.isValid||(r=this.country?this.getErrorMessageForCountry():this.COUNTRY_ERROR),this.vaContact.emit({callingCode:e&&null!==t?t.countryCallingCode:void 0,countryCode:this.country,contact:e&&null!==t?t.nationalNumber:this.contact,isValid:this.isValid,error:r,touched:this.touched})},t.prototype.validateCountry=function(){this.resetErrors(),this.touched||(this.touched=!0),this.country||(this.isValid=!1,this.showInternalErrors&&(this.visibleError=this.COUNTRY_ERROR,this.countryError=this.visibleError))},t.prototype.countryChange=function(t){var e=t.detail.value;this.country=e,this.validateContact(),this.handleEmit()},t.prototype.formatContact=function(t){var e=new X(et(this.country)).input(t);return""===e?t:e},t.prototype.buildCountryList=function(){var t=this,e=function(){return(0,i.w)(Q,arguments)}().filter((function(e){return e!==t.DEFAULT_COUNTRY}));e.push.apply(e,Object.keys(tt.countries));var r=e.sort((function(e,r){var a=t.getCountryName(e),n=t.getCountryName(r);return a.localeCompare(n)}));return function(t,e,r){if(r||2===arguments.length)for(var a,n=0,i=e.length;n<i;n++)!a&&n in e||(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))}([this.DEFAULT_COUNTRY],r,!0)},t.prototype.getCountryName=function(t){return t in tt.names?tt.names[t]:new Intl.DisplayNames(["en"],{type:"region"}).of(t.toUpperCase()).replace(/&/g,"and").replace(/St\./,"Saint")},t.prototype.componentWillLoad=function(){this.countries=this.buildCountryList(),""===this.country&&(this.country=this.DEFAULT_COUNTRY),this.visibleError=this.error},t.prototype.componentDidLoad=function(){this.contact&&(this.formattedContact=this.formatContact(this.contact),this.validateContact());var t=this.el.shadowRoot.querySelector("va-combo-box");t&&t.addEventListener("vaSelect",this.countryChange.bind(this)),this.handleEmit()},t.prototype.disconnectedCallback=function(){var t=this.el.shadowRoot.querySelector("va-combo-box");t&&t.removeEventListener("vaSelect",this.countryChange.bind(this))},t.prototype.getOptionText=function(t){var e=et(t);return t?"".concat(this.getCountryName(t)," +").concat(function(){return(0,i.w)(i.r,arguments)}(e)):""},t.prototype.handleBlur=function(){this.formattedContact&&(this.touched||(this.touched=!0),this.validateContact(),this.handleEmit())},t.prototype.render=function(){var t=this,e=this,r=e.label,i=e.hint,s=e.countries,u=e.formattedContact,l=e.country,c=e.countryError,h=e.contactError,f=e.visibleError,d=e.noCountry,m=e.required,p=(0,n.c)({"va-form-group--error":!!f}),g=(0,n.c)({"usa-legend":!0,"usa-label--error":!!f});return(0,a.h)(a.H,{key:"b975882abecd0862fdf24c388e7aeeb9acd5da93",class:p},(0,a.h)("div",{key:"2cb32107eba1786a02aba9a6553bca1a90725440",class:"input-wrap"},(0,a.h)("fieldset",{key:"45c2cc394110ffe80291c0e41fadd1ef9d6130d7",class:"usa-form usa-fieldset"},(0,a.h)("legend",{key:"b42cc31dd697f9774166f923f28b13b5e6650bb5",class:g},r,m&&(0,a.h)("span",{key:"8b02b361fbc6afc6981324443c6433a5f97742e8",class:"usa-label--required"}," ",o.i.t("required")),i&&(0,a.h)("div",{key:"c6479642bed38da0594de3609cca673d4ebeb894",class:"usa-hint"},i)),(0,a.h)("span",{key:"251aee26f54a93b036db8feb1ae10e5d5bd2de3f",id:"error-message",role:"alert"},f&&f),(0,a.h)("div",{key:"86170b37b9fa7de1e08790eddac5ebecdd8b8952",class:"va-input-telephone-wrapper",tabIndex:0},!d&&(0,a.h)("va-combo-box",{key:"9482933caeb633620df45ea93213ab56a64c2a27",label:"Country code",name:"country-codes","show-input-error":"false",error:c,value:l},s.map((function(e){return(0,a.h)("option",{value:e,key:e},t.getOptionText(e))}))),(0,a.h)("va-text-input",{key:"2c533f283994775d056c9393e20d7fc41e4b4865",label:"Phone number",type:"tel",autocomplete:"tel",inputmode:"tel",value:u,"show-input-error":"false",required:m,hideRequiredText:!0,error:h,onInput:function(e){return t.updateContact(e)},onBlur:function(){return t.handleBlur()}})))))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"watchers",{get:function(){return{error:["syncErrorMessages"]}},enumerable:!1,configurable:!0}),t}();rt.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}#error-message{margin-bottom:0.75rem}#error-message,#input-error-message{color:var(--vads-color-secondary-dark);display:block;font-weight:700;font-size:1.06rem}:host([error]:not([error=\'\'])),:host(.va-form-group--error){border-left:0.3rem solid var(--vads-color-secondary-dark);padding-left:1.25rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=\'\'])),:host(.va-form-group--error){margin-left:-1.4375rem;}}.usa-hint,.usa-fieldset{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-form{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}@media all and (min-width: 30em){.usa-form{max-width:20rem}}.usa-form abbr[title=required]{text-decoration:none}.usa-form .usa-input,.usa-form .usa-range,.usa-form .usa-select,.usa-form .usa-textarea{max-width:none}.usa-form .usa-input--2xs,.usa-form .usa-input-group--2xs{max-width:5ex}.usa-form .usa-input--xs,.usa-form .usa-input-group--xs{max-width:9ex}.usa-form .usa-input--sm,.usa-form .usa-input--small,.usa-form .usa-input-group--sm,.usa-form .usa-input-group--small{max-width:13ex}.usa-form .usa-input--md,.usa-form .usa-input--medium,.usa-form .usa-input-group--md,.usa-form .usa-input-group--medium{max-width:20ex}.usa-form .usa-input--lg,.usa-form .usa-input-group--lg{max-width:30ex}.usa-form .usa-input--xl,.usa-form .usa-input-group--xl{max-width:40ex}.usa-form .usa-input--2xl,.usa-form .usa-input-group--2xl{max-width:50ex}.usa-form .usa-button{margin-top:0.5rem}@media all and (min-width: 30em){.usa-form .usa-button{margin-top:1.5rem}}.usa-form a:where(:not(.usa-button)){color:#005ea2;text-decoration:underline}.usa-form a:where(:not(.usa-button)):visited{color:#54278f}.usa-form a:where(:not(.usa-button)):hover{color:#1a4480}.usa-form a:where(:not(.usa-button)):active{color:#162e51}.usa-form a:where(:not(.usa-button)):focus{outline:0.25rem solid #2491ff;outline-offset:0rem}@media all and (min-width: 30em){.usa-form--large{max-width:30rem}}.usa-show-password{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;cursor:pointer}.usa-show-password:visited{color:#54278f}.usa-show-password:hover{color:#1a4480}.usa-show-password:active{color:#162e51}.usa-show-password:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-show-password:hover,.usa-show-password.usa-button--hover,.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password:disabled.usa-button--hover,.usa-show-password[aria-disabled=true].usa-button--hover,.usa-show-password:active,.usa-show-password.usa-button--active,.usa-show-password:disabled:active,.usa-show-password[aria-disabled=true]:active,.usa-show-password:disabled.usa-button--active,.usa-show-password[aria-disabled=true].usa-button--active,.usa-show-password:disabled:focus,.usa-show-password[aria-disabled=true]:focus,.usa-show-password:disabled.usa-focus,.usa-show-password[aria-disabled=true].usa-focus,.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-show-password.usa-button--hover{color:#1a4480}.usa-show-password.usa-button--active{color:#162e51}.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password[aria-disabled=true]:focus{color:GrayText}}.usa-form__note,.usa-show-password{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:0.93rem;line-height:1.3;float:right;margin:0.25rem 0 1rem}.usa-fieldset{border:none;margin:0;padding:0}.usa-legend{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-legend--large{font-size:2.13rem;font-weight:700;margin-top:1rem}.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-form-group{margin-top:1.5rem}.usa-form-group .usa-label:first-child{margin-top:0}.usa-form-group--error{border-left-width:0.25rem;border-left-color:#b50909;border-left-style:solid;padding-left:1rem;position:relative}@media all and (min-width: 64em){.usa-form-group--error{margin-left:-1.25rem}}.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: 1008px){: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: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}:host{display:block;margin-top:24px}va-text-input::part(label),va-combo-box::part(label){margin-top:0}div.input-wrap{max-width:var(--mobile-lg) !important}fieldset{max-width:var(--mobile-lg) !important;container-name:component-wrapper;container-type:inline-size}va-combo-box{-ms-flex:1;flex:1;min-width:216px}va-text-input{width:20ch}.va-input-telephone-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;margin-top:8px;width:100%;max-width:var(--mobile-lg)}@media (max-width: 480px){va-combo-box,va-text-input{width:100%;max-width:100% !important;margin-top:16px;-ms-flex:0;flex:0}.va-input-telephone-wrapper{display:block}}'}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[4569,8255],{4569:function(t,e,r){r.r(e),r.d(e,{c:function(){return i}});var a,n={exports:{}};a=n,function(){var t={}.hasOwnProperty;function e(){for(var r=[],a=0;a<arguments.length;a++){var n=arguments[a];if(n){var i=typeof n;if("string"===i||"number"===i)r.push(n);else if(Array.isArray(n)){if(n.length){var o=e.apply(null,n);o&&r.push(o)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)t.call(n,s)&&n[s]&&r.push(s);else r.push(n.toString())}}return r.join(" ")}a.exports?(e.default=e,a.exports=e):window.classNames=e}();var i=n.exports},8255:function(t,e,r){r.r(e),r.d(e,{va_telephone_input:function(){return rt}});var a=r(7911),n=r(4569),i=(r(8014),r(6850)),o=r(4665);function s(){var t=(0,i.n)(arguments),e=t.text,r=t.options,a=t.metadata;return(0,i.p)(e,r,a)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,a)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(){var t=(0,i.n)(arguments),e=t.text,r=t.options,a=t.metadata;r=l(l({},r),{},{extract:!1});var n=(0,i.a)(e,r,a);return n&&n.isPossible()||!1}function f(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var d=function(){function t(e){var r=e.onCountryChange,a=e.onCallingCodeChange;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.onCountryChange=r,this.onCallingCodeChange=a}return function(t,e){e&&f(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"reset",value:function(t){var e=t.country,r=t.callingCode;this.international=!1,this.missingPlus=!1,this.IDDPrefix=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(e,r)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberMatchesInput=!0,this.nationalPrefix=void 0,this.carrierCode=void 0,this.complexPrefixBeforeNationalSignificantNumber=void 0}},{key:"update",value:function(t){for(var e=0,r=Object.keys(t);e<r.length;e++){var a=r[e];this[a]=t[a]}}},{key:"initCountryAndCallingCode",value:function(t,e){this.setCountry(t),this.setCallingCode(e)}},{key:"setCountry",value:function(t){this.country=t,this.onCountryChange(t)}},{key:"setCallingCode",value:function(t){this.callingCode=t,this.onCallingCodeChange(t,this.country)}},{key:"startInternationalNumber",value:function(t,e){this.international=!0,this.initCountryAndCallingCode(t,e)}},{key:"appendDigits",value:function(t){this.digits+=t}},{key:"appendNationalSignificantNumberDigits",value:function(t){this.nationalSignificantNumber+=t}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}]),t}();function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=t[r];return a}var p="x",g=new RegExp(p);function b(t,e){if(e<1)return"";for(var r="";e>1;)1&e&&(r+=t),e>>=1,t+=t;return r+t}function v(t,e){return")"===t[e]&&e++,function(t){for(var e=[],r=0;r<t.length;)"("===t[r]?e.push(r):")"===t[r]&&e.pop(),r++;var a=0,n="";e.push(t.length);for(var i=0,o=e;i<o.length;i++){var s=o[i];n+=t.slice(a,s),a=s+1}return n}(t.slice(0,e))}function y(t,e,r){var a=r.metadata,n=r.shouldTryNationalPrefixFormattingRule,i=r.getSeparatorAfterNationalPrefix;if(new RegExp("^(?:".concat(e.pattern(),")$")).test(t.nationalSignificantNumber))return function(t,e,r){var a=r.metadata,n=r.getSeparatorAfterNationalPrefix;if((0,r.shouldTryNationalPrefixFormattingRule)(e)){var i=C(t,e,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:n,metadata:a});if(i)return i}return C(t,e,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:n,metadata:a})}(t,e,{metadata:a,shouldTryNationalPrefixFormattingRule:n,getSeparatorAfterNationalPrefix:i})}function C(t,e,r){var a=r.metadata,n=r.useNationalPrefixFormattingRule,o=r.getSeparatorAfterNationalPrefix,s=(0,i.f)(t.nationalSignificantNumber,e,{carrierCode:t.carrierCode,useInternationalFormat:t.international,withNationalPrefix:n,metadata:a});if(n||(t.nationalPrefix?s=t.nationalPrefix+o(e)+s:t.complexPrefixBeforeNationalSignificantNumber&&(s=t.complexPrefixBeforeNationalSignificantNumber+" "+s)),function(t,e){return(0,i.b)(t)===e.getNationalDigits()}(s,t))return s}function w(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var N=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e){e&&w(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"parse",value:function(t){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(t),1!==this.context.length)throw new Error("Non-finalized contexts left when pattern parse ended");var e=this.context[0],r=e.branches,a=e.instructions;if(r)return{op:"|",args:r.concat([k(a)])};if(0===a.length)throw new Error("Pattern is required");return 1===a.length?a[0]:a}},{key:"startContext",value:function(t){this.context.push(t)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(t){if(!t)throw new Error("Pattern is required");var e=t.match(S);if(e){var r=e[1],a=t.slice(0,e.index),n=t.slice(e.index+r.length);switch(r){case"(?:":a&&this.parsePattern(a),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw new Error('")" operator must be preceded by "(?:" operator');if(a&&this.parsePattern(a),0===this.getContext().instructions.length)throw new Error('No instructions found after "|" operator in an "or" group');var i=this.getContext().branches;i.push(k(this.getContext().instructions)),this.endContext(),this.getContext().instructions.push({op:"|",args:i});break;case"|":if(!this.getContext().or)throw new Error('"|" operator can only be used inside "or" groups');if(a&&this.parsePattern(a),!this.getContext().branches){if(1!==this.context.length)throw new Error('"branches" not found in an "or" group context');this.getContext().branches=[]}this.getContext().branches.push(k(this.getContext().instructions)),this.getContext().instructions=[];break;case"[":a&&this.parsePattern(a),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw new Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:x(a)});break;default:throw new Error("Unknown operator: ".concat(r))}n&&this.parsePattern(n)}else{if(P.test(t))throw new Error("Illegal characters found in a pattern: ".concat(t));this.getContext().instructions=this.getContext().instructions.concat(t.split(""))}}}]),t}();function x(t){for(var e=[],r=0;r<t.length;){if("-"===t[r]){if(0===r||r===t.length-1)throw new Error("Couldn't parse a one-of set pattern: ".concat(t));for(var a=t[r-1].charCodeAt(0)+1,n=t[r+1].charCodeAt(0)-1,i=a;i<=n;)e.push(String.fromCharCode(i)),i++}else e.push(t[r]);r++}return e}var P=/[\(\)\[\]\?\:\|]/,S=new RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])");function k(t){return 1===t.length?t[0]:t}function E(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return F(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?F(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var a=0;return function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function F(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=t[r];return a}function O(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var A=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.matchTree=(new N).parse(e)}return function(t,e){e&&O(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"match",value:function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).allowOverflow;if(!t)throw new Error("String is required");var r=T(t.split(""),this.matchTree,!0);if(r&&r.match&&delete r.matchedChars,!r||!r.overflow||e)return r}}]),t}();function T(t,e,r){if("string"==typeof e){var a=t.join("");return 0===e.indexOf(a)?t.length===e.length?{match:!0,matchedChars:t}:{partialMatch:!0}:0===a.indexOf(e)?r&&t.length>e.length?{overflow:!0}:{match:!0,matchedChars:t.slice(0,e.length)}:void 0}if(Array.isArray(e)){for(var n=t.slice(),i=0;i<e.length;){var o=T(n,e[i],r&&i===e.length-1);if(!o)return;if(o.overflow)return o;if(!o.match){if(o.partialMatch)return{partialMatch:!0};throw new Error("Unsupported match result:\n".concat(JSON.stringify(o,null,2)))}if(0===(n=n.slice(o.matchedChars.length)).length)return i===e.length-1?{match:!0,matchedChars:t}:{partialMatch:!0};i++}return r?{overflow:!0}:{match:!0,matchedChars:t.slice(0,t.length-n.length)}}switch(e.op){case"|":for(var s,u,l=E(e.args);!(u=l()).done;){var c=T(t,u.value,r);if(c){if(c.overflow)return c;if(c.match)return{match:!0,matchedChars:c.matchedChars};if(!c.partialMatch)throw new Error("Unsupported match result:\n".concat(JSON.stringify(c,null,2)));s=!0}}return s?{partialMatch:!0}:void 0;case"[]":for(var h,f=E(e.args);!(h=f()).done;){var d=h.value;if(t[0]===d)return 1===t.length?{match:!0,matchedChars:t}:r?{overflow:!0}:{match:!0,matchedChars:[d]}}return;default:throw new Error("Unsupported instruction tree: ".concat(e))}}function I(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return R(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?R(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var a=0;return function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=t[r];return a}function D(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var j=b("9",15),M=/[- ]/,U=new RegExp("["+i.V+"]*\\$1["+i.V+"]*(\\$\\d["+i.V+"]*)*$"),_=function(){function t(e){var r=e.metadata;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.metadata=r,this.resetFormat()}return function(t,e){e&&D(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(t,e){this.resetFormat(),t?(this.isNANP="1"===t.callingCode(),this.matchingFormats=t.formats(),e.nationalSignificantNumber&&this.narrowDownMatchingFormats(e)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(t,e){var r=this;if(function(t,e){return"IS_POSSIBLE"===(0,i.c)(t,e)}(e.nationalSignificantNumber,this.metadata))for(var a,n=I(this.matchingFormats);!(a=n()).done;){var o=a.value,s=y(e,o,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(t){return r.shouldTryNationalPrefixFormattingRule(t,{international:e.international,nationalPrefix:e.nationalPrefix})},getSeparatorAfterNationalPrefix:function(t){return r.getSeparatorAfterNationalPrefix(t)}});if(s)return this.resetFormat(),this.chosenFormat=o,this.setNationalNumberTemplate(s.replace(/\d/g,p),e),this.populatedNationalNumberTemplate=s,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(p),s}return this.formatNationalNumberWithNextDigits(t,e)}},{key:"formatNationalNumberWithNextDigits",value:function(t,e){var r=this.chosenFormat,a=this.chooseFormat(e);if(a)return a===r?this.formatNextNationalNumberDigits(t):this.formatNextNationalNumberDigits(e.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(t){var e=this,r=t.nationalSignificantNumber,a=t.nationalPrefix,n=t.international,i=r,o=i.length-3;o<0&&(o=0),this.matchingFormats=this.matchingFormats.filter((function(t){return e.formatSuits(t,n,a)&&e.formatMatches(t,i,o)})),this.chosenFormat&&-1===this.matchingFormats.indexOf(this.chosenFormat)&&this.resetFormat()}},{key:"formatSuits",value:function(t,e,r){return!(r&&!t.usesNationalPrefix()&&!t.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!e&&!r&&t.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function t(e,r,a){var n=e.leadingDigitsPatterns().length;if(0===n)return!0;a=Math.min(a,n-1);var i=e.leadingDigitsPatterns()[a];if(r.length<3)try{return void 0!==new A(i).match(r,{allowOverflow:!0})}catch(t){return console.error(t),!0}return new RegExp("^(".concat(i,")")).test(r)}},{key:"getFormatFormat",value:function(t,e){return e?t.internationalFormat():t.format()}},{key:"chooseFormat",value:function(t){for(var e,r=this,a=function(){var a=e.value;return r.chosenFormat===a?"break":U.test(r.getFormatFormat(a,t.international))?r.createTemplateForFormat(a,t)?(r.chosenFormat=a,"break"):(r.matchingFormats=r.matchingFormats.filter((function(t){return t!==a})),"continue"):"continue"},n=I(this.matchingFormats.slice());!(e=n()).done;){if("break"===a())break}return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(t,e){if(!(t.pattern().indexOf("|")>=0)){var r=this.getTemplateForFormat(t,e);return r?(this.setNationalNumberTemplate(r,e),!0):void 0}}},{key:"getSeparatorAfterNationalPrefix",value:function(t){return this.isNANP||t&&t.nationalPrefixFormattingRule()&&M.test(t.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(t,e){var r=t.IDDPrefix,a=t.missingPlus;return r?e&&!1===e.spacing?r:r+" ":a?"":"+"}},{key:"getTemplate",value:function(t){if(this.template){for(var e=-1,r=0,a=t.international?this.getInternationalPrefixBeforeCountryCallingCode(t,{spacing:!1}):"";r<a.length+t.getDigitsWithoutInternationalPrefix().length;)e=this.template.indexOf(p,e+1),r++;return v(this.template,e+1)}}},{key:"setNationalNumberTemplate",value:function(t,e){this.nationalNumberTemplate=t,this.populatedNationalNumberTemplate=t,this.populatedNationalNumberTemplatePosition=-1,e.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(e).replace(/[\d\+]/g,p)+b(p,e.callingCode.length)+" "+t:this.template=t}},{key:"getTemplateForFormat",value:function(t,e){var r=e.nationalSignificantNumber,a=e.international,n=e.nationalPrefix,o=e.complexPrefixBeforeNationalSignificantNumber,s=t.pattern();s=s.replace(/\[([^\[\]])*\]/g,"\\d").replace(/\d(?=[^,}][^,}])/g,"\\d");var u=j.match(s)[0];if(!(r.length>u.length)){var l=new RegExp("^"+s+"$"),c=r.replace(/\d/g,"9");l.test(c)&&(u=c);var h,f=this.getFormatFormat(t,a);if(this.shouldTryNationalPrefixFormattingRule(t,{international:a,nationalPrefix:n})){var d=f.replace(i.F,t.nationalPrefixFormattingRule());if((0,i.b)(t.nationalPrefixFormattingRule())===(n||"")+(0,i.b)("$1")&&(f=d,h=!0,n))for(var m=n.length;m>0;)f=f.replace(/\d/,p),m--}var g=u.replace(new RegExp(s),f).replace(new RegExp("9","g"),p);return h||(o?g=b(p,o.length)+" "+g:n&&(g=b(p,n.length)+this.getSeparatorAfterNationalPrefix(t)+g)),a&&(g=(0,i.d)(g)),g}}},{key:"formatNextNationalNumberDigits",value:function(t){var e=function(t,e,r){for(var a,n=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return m(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var a=0;return function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r.split(""));!(a=n()).done;){var i=a.value;if(t.slice(e+1).search(g)<0)return;e=t.search(g),t=t.replace(g,i)}return[t,e]}(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,t);if(e)return this.populatedNationalNumberTemplate=e[0],this.populatedNationalNumberTemplatePosition=e[1],v(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1);this.resetFormat()}},{key:"shouldTryNationalPrefixFormattingRule",value:function(t,e){var r=e.international,a=e.nationalPrefix;if(t.nationalPrefixFormattingRule()){var n=t.usesNationalPrefix();if(n&&a||!n&&!r)return!0}}}]),t}();function V(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var a,n,i=[],o=!0,s=!1;try{for(r=r.call(t);!(o=(a=r.next()).done)&&(i.push(a.value),!e||i.length!==e);o=!0);}catch(t){s=!0,n=t}finally{try{o||null==r.return||r.return()}finally{if(s)throw n}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return L(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=t[r];return a}function W(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var B="["+i.V+i.i+"]+",q=new RegExp("^"+B+"$","i"),H="(?:["+i.P+"]["+i.V+i.i+"]*|["+i.V+i.i+"]+)",$=new RegExp("[^"+i.V+i.i+"]+.*$"),z=/[^\d\[\]]/,Y=function(){function t(e){var r=e.defaultCountry,a=e.defaultCallingCode,n=e.metadata,i=e.onNationalSignificantNumberChange;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.defaultCountry=r,this.defaultCallingCode=a,this.metadata=n,this.onNationalSignificantNumberChange=i}return function(t,e){e&&W(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"input",value:function(t,e){var r,a=function(t){var e=function(t){var e=function(t){var e,r=t.search(H);if(!(r<0))return"+"===(t=t.slice(r))[0]&&(e=!0,t=t.slice(1)),t=t.replace($,""),e&&(t="+"+t),t}(t)||"";return"+"===e[0]?[e.slice(1),!0]:[e]}(t),r=V(e,2),a=r[0],n=r[1];return q.test(a)||(a=""),[a,n]}(t),n=V(a,2),o=n[0],s=n[1],u=(0,i.b)(o);return s&&(e.digits||(e.startInternationalNumber(),u||(r=!0))),u&&this.inputDigits(u,e),{digits:u,justLeadingPlus:r}}},{key:"inputDigits",value:function(t,e){var r=e.digits,a=r.length<3&&r.length+t.length>=3;if(e.appendDigits(t),a&&this.extractIddPrefix(e),this.isWaitingForCountryCallingCode(e)){if(!this.extractCountryCallingCode(e))return}else e.appendNationalSignificantNumberDigits(t);e.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(e.getNationalDigits(),(function(t){return e.update(t)}))}},{key:"isWaitingForCountryCallingCode",value:function(t){var e=t.international,r=t.callingCode;return e&&!r}},{key:"extractCountryCallingCode",value:function(t){var e=(0,i.e)("+"+t.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),r=e.countryCallingCode,a=e.number;if(r)return t.setCallingCode(r),t.update({nationalSignificantNumber:a}),!0}},{key:"reset",value:function(t){if(t){this.hasSelectedNumberingPlan=!0;var e=t._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=e&&z.test(e)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(t,e){if(this.hasSelectedNumberingPlan){var r=(0,i.g)(t,this.metadata),a=r.nationalPrefix,n=r.nationalNumber,o=r.carrierCode;if(n!==t)return this.onExtractedNationalNumber(a,o,n,t,e),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(t,e,r){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(t,r);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var a=(0,i.g)(t,this.metadata),n=a.nationalPrefix,o=a.nationalNumber,s=a.carrierCode;if(o!==e)return this.onExtractedNationalNumber(n,s,o,t,r),!0}}},{key:"onExtractedNationalNumber",value:function(t,e,r,a,n){var i,o,s=a.lastIndexOf(r);if(s>=0&&s===a.length-r.length){o=!0;var u=a.slice(0,s);u!==t&&(i=u)}n({nationalPrefix:t,carrierCode:e,nationalSignificantNumber:r,nationalSignificantNumberMatchesInput:o,complexPrefixBeforeNationalSignificantNumber:i}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(t){return!!this.extractAnotherNationalSignificantNumber(t.getNationalDigits(),t.nationalSignificantNumber,(function(e){return t.update(e)}))||(this.extractIddPrefix(t)||this.fixMissingPlus(t)?(this.extractCallingCodeAndNationalSignificantNumber(t),!0):void 0)}},{key:"extractIddPrefix",value:function(t){var e=t.international,r=t.IDDPrefix,a=t.digits;if(!e&&!r){var n=(0,i.s)(a,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);return void 0!==n&&n!==a?(t.update({IDDPrefix:a.slice(0,a.length-n.length)}),this.startInternationalNumber(t,{country:void 0,callingCode:void 0}),!0):void 0}}},{key:"fixMissingPlus",value:function(t){if(!t.international){var e=(0,i.h)(t.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata).countryCallingCode;if(e)return t.update({missingPlus:!0}),this.startInternationalNumber(t,{country:t.country,callingCode:e}),!0}}},{key:"startInternationalNumber",value:function(t,e){var r=e.country,a=e.callingCode;t.startInternationalNumber(r,a),t.nationalSignificantNumber&&(t.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(t){this.extractCountryCallingCode(t)&&this.extractNationalSignificantNumber(t.getNationalDigits(),(function(e){return t.update(e)}))}}]),t}();function K(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=t[r];return a}function G(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var J=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.metadata=new i.M(r);var a=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var a,n,i=[],o=!0,s=!1;try{for(r=r.call(t);!(o=(a=r.next()).done)&&(i.push(a.value),!e||i.length!==e);o=!0);}catch(t){s=!0,n=t}finally{try{o||null==r.return||r.return()}finally{if(s)throw n}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return K(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?K(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(this.getCountryAndCallingCode(e),2),n=a[0],o=a[1];this.defaultCountry=n,this.defaultCallingCode=o,this.reset()}return function(t,e){e&&G(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"getCountryAndCallingCode",value:function(t){var e,r;return t&&((0,i.m)(t)?(e=t.defaultCountry,r=t.defaultCallingCode):e=t),e&&!this.metadata.hasCountry(e)&&(e=void 0),[e,r]}},{key:"input",value:function(t){var e=this.parser.input(t,this.state),r=e.digits;if(e.justLeadingPlus)this.formattedOutput="+";else if(r){var a;if(this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state),this.metadata.hasSelectedNumberingPlan()&&(a=this.formatter.format(r,this.state)),void 0===a&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var n=this.state.getNationalDigits();n&&(a=this.formatter.format(n,this.state))}this.formattedOutput=a?this.getFullNumber(a):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var t=this;return this.state=new d({onCountryChange:function(e){t.country=e},onCallingCodeChange:function(e,r){t.metadata.selectNumberingPlan(r,e),t.formatter.reset(t.metadata.numberingPlan,t.state),t.parser.reset(t.metadata.numberingPlan)}}),this.formatter=new _({state:this.state,metadata:this.metadata}),this.parser=new Y({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){t.determineTheCountryIfNeeded(),t.formatter.reset(t.metadata.numberingPlan,t.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){if(this.isInternational())return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){if(this.state.digits)return this._getCountry()}},{key:"_getCountry",value:function(){return this.state.country}},{key:"determineTheCountryIfNeeded",value:function(){this.state.country&&!this.isCountryCallingCodeAmbiguous()||this.determineTheCountry()}},{key:"getFullNumber",value:function(t){var e=this;if(this.isInternational()){var r=this.state.callingCode;return function(t){return e.formatter.getInternationalPrefixBeforeCountryCallingCode(e.state,{spacing:!!t})+t}(r?t?"".concat(r," ").concat(t):r:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return t}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var t=this.state,e=t.nationalSignificantNumber,r=t.complexPrefixBeforeNationalSignificantNumber,a=t.nationalPrefix,n=e,i=r||a;return i&&(n=i+n),n}},{key:"getNonFormattedNumber",value:function(){var t=this.state.nationalSignificantNumberMatchesInput;return this.getFullNumber(t?this.getNonFormattedNationalNumberWithPrefix():this.state.getNationalDigits())}},{key:"getNonFormattedTemplate",value:function(){var t=this.getNonFormattedNumber();if(t)return t.replace(/[\+\d]/g,p)}},{key:"isCountryCallingCodeAmbiguous",value:function(){var t=this.state.callingCode,e=this.metadata.getCountryCodesForCallingCode(t);return e&&e.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry((0,i.j)(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var t=this.state,e=t.digits,r=t.callingCode,a=t.country,n=t.nationalSignificantNumber;if(e)return this.isInternational()?r?"+"+r+n:"+"+e:a||r?"+"+(a?this.metadata.countryCallingCode():r)+n:void 0}},{key:"getNumber",value:function(){var t=this.state,e=t.nationalSignificantNumber,r=t.carrierCode,a=t.callingCode,n=this._getCountry();if(e&&(n||a)){if(n&&n===this.defaultCountry){var o=new i.M(this.metadata.metadata);o.selectNumberingPlan(n);var s=o.numberingPlan.callingCode(),u=this.metadata.getCountryCodesForCallingCode(s);if(u.length>1){var l=(0,i.k)(e,{countries:u,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});l&&(n=l)}}var c=new i.l(n||a,e,this.metadata.metadata);return r&&(c.carrierCode=r),c}}},{key:"isPossible",value:function(){var t=this.getNumber();return!!t&&t.isPossible()}},{key:"isValid",value:function(){var t=this.getNumber();return!!t&&t.isValid()}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}]),t}();function Q(t){return new i.M(t).getCountries()}function X(t){return J.call(this,t,i.o)}function Z(){return i.M.call(this,i.o)}X.prototype=Object.create(J.prototype,{}),X.prototype.constructor=X,Z.prototype=Object.create(i.M.prototype,{}),Z.prototype.constructor=Z;var tt={names:{BQ:"Bonaire, Sint Eustatius and Saba",MF:"Saint Martin (French part)",PN:"Pitcairn",UM:"United States Minor Outlying Islands",FK:"Falkland Islands (Malvinas)",CG:"Congo",CD:"Congo, Democratic Republic of the",MM:"Myanmar",MD:"Moldova, Republic of",KP:"Korea, Democratic People's Republic of",SH:"Saint Helena, Ascension and Tristan da Cunha",RU:"Russian Federation",VC:"Saint Vincent and the Grenadines",SX:"Sint Maarten (Dutch part)",KR:"Korea, Republic of",SY:"Syrian Arab Republic",VI:"Virgin Islands (U.S.)",US:"United States of America",VA:"Holy See",VN:"Viet Nam"},countries:{GS:"FK",AQ:"NF",BV:"NO",TF:"RE",HM:"AU",UM:"US",PN:"NZ"}};function et(t){return function(){return(0,i.w)(i.q,arguments)}(t)?t:t in tt.countries?tt.countries[t]:void console.error("Not a valid country: ".concat(t))}var rt=function(){function t(t){(0,a.r)(this,t),this.vaContact=(0,a.c)(this,"vaContact",7),this.DEFAULT_COUNTRY="US",this.COUNTRY_ERROR="Please choose a country",this.CONTACT_ERROR="phone number in a valid format, for example,",this.contact="",this.country=this.DEFAULT_COUNTRY,this.label="Home phone number",this.hint=void 0,this.error="",this.noCountry=!1,this.required=!1,this.showInternalErrors=!0,this.formattedContact="",this.countries=null,this.countryError="",this.contactError="",this.isValid=!1,this.touched=!1,this.visibleError=void 0}return t.prototype.syncErrorMessages=function(t){(null==t?void 0:t.includes(this.CONTACT_ERROR))?this.contactError=this.error:t===this.COUNTRY_ERROR?this.countryError=t:this.resetErrors()},t.prototype.resetErrors=function(){this.countryError="",this.contactError="",this.visibleError=this.error},t.prototype.setValidityState=function(){this.country&&this.contact?(this.isValid=function(){return(0,i.w)(h,arguments)}(this.contact,et(this.country)),this.formattedContact=this.formatContact(this.contact)):this.isValid=!1},t.prototype.updateContact=function(t){var e=t.target.value;this.contact=e,this.formattedContact=this.formatContact(e),this.validateContact(),this.handleEmit()},t.prototype.getPhoneNumberLengthString=function(t){if(!t.length)return"";for(var e=t.slice().sort((function(t,e){return t-e})),r=!0,a=1;a<e.length;a++)if(e[a]!==e[a-1]+1){r=!1;break}return r&&e.length>1?"".concat(e[0]," to ").concat(e[e.length-1]):1===e.length?String(e[0]):2===e.length&&e[1]===e[0]+1?"".concat(e[0]," to ").concat(e[1]):2===e.length?"".concat(e[0]," or ").concat(e[1]):"".concat(e.slice(0,-1).join(", ")," or ").concat(e[e.length-1])},t.prototype.getValidPhoneNumberLengths=function(){var t=et(this.country),e=new Z;e.selectNumberingPlan(t);var r=e.numberingPlan.possibleLengths();return this.getPhoneNumberLengthString(r)},t.prototype.getErrorMessageForCountry=function(){var t=et(this.country),e=this.getCountryName(t);return"Enter a valid ".concat(e," phone number. Use ").concat(this.getValidPhoneNumberLengths()," digits.")},t.prototype.validateContact=function(){this.country?(this.resetErrors(),this.setValidityState(),!this.isValid&&this.touched&&this.showInternalErrors&&(this.visibleError=this.getErrorMessageForCountry(),this.contactError=this.visibleError)):this.validateCountry()},t.prototype.handleEmit=function(){var t,e=!!this.contact&&!!this.country;try{t=e?function(){return(0,i.w)(s,arguments)}(this.contact,et(this.country)):null}catch(e){t=null}var r=null;this.isValid||(r=this.country?this.getErrorMessageForCountry():this.COUNTRY_ERROR),this.vaContact.emit({callingCode:e&&null!==t?t.countryCallingCode:void 0,countryCode:this.country,contact:e&&null!==t?t.nationalNumber:this.contact,isValid:this.isValid,error:r,touched:this.touched})},t.prototype.validateCountry=function(){this.resetErrors(),this.touched||(this.touched=!0),this.country||(this.isValid=!1,this.showInternalErrors&&(this.visibleError=this.COUNTRY_ERROR,this.countryError=this.visibleError))},t.prototype.countryChange=function(t){var e=t.detail.value;this.country=e,this.validateContact(),this.handleEmit()},t.prototype.formatContact=function(t){var e=new X(et(this.country)).input(t);return""===e?t:e},t.prototype.buildCountryList=function(){var t=this,e=function(){return(0,i.w)(Q,arguments)}().filter((function(e){return e!==t.DEFAULT_COUNTRY}));e.push.apply(e,Object.keys(tt.countries));var r=e.sort((function(e,r){var a=t.getCountryName(e),n=t.getCountryName(r);return a.localeCompare(n)}));return function(t,e,r){if(r||2===arguments.length)for(var a,n=0,i=e.length;n<i;n++)!a&&n in e||(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))}([this.DEFAULT_COUNTRY],r,!0)},t.prototype.getCountryName=function(t){return t in tt.names?tt.names[t]:new Intl.DisplayNames(["en"],{type:"region"}).of(t.toUpperCase()).replace(/&/g,"and").replace(/St\./,"Saint")},t.prototype.componentWillLoad=function(){this.countries=this.buildCountryList(),""===this.country&&(this.country=this.DEFAULT_COUNTRY),this.visibleError=this.error},t.prototype.componentDidLoad=function(){this.contact&&(this.formattedContact=this.formatContact(this.contact),this.validateContact());var t=this.el.shadowRoot.querySelector("va-combo-box");t&&t.addEventListener("vaSelect",this.countryChange.bind(this)),this.handleEmit()},t.prototype.disconnectedCallback=function(){var t=this.el.shadowRoot.querySelector("va-combo-box");t&&t.removeEventListener("vaSelect",this.countryChange.bind(this))},t.prototype.getOptionText=function(t){var e=et(t);return t?"".concat(this.getCountryName(t)," +").concat(function(){return(0,i.w)(i.r,arguments)}(e)):""},t.prototype.handleBlur=function(){this.formattedContact&&(this.touched||(this.touched=!0),this.validateContact(),this.handleEmit())},t.prototype.render=function(){var t=this,e=this,r=e.label,i=e.hint,s=e.countries,u=e.formattedContact,l=e.country,c=e.countryError,h=e.contactError,f=e.visibleError,d=e.noCountry,m=e.required,p=(0,n.c)({"va-form-group--error":!!f}),g=(0,n.c)({"usa-legend":!0,"usa-label--error":!!f});return(0,a.h)(a.H,{key:"8cb55dd91f1f7125782ec033ae4c32e6a0fb18c5",class:p},(0,a.h)("div",{key:"0d9471af2fb57b651a19b4dd51f82251c426c11f",class:"input-wrap"},(0,a.h)("fieldset",{key:"3749f1488310df37063d6c68b27be456d343e8c4",class:"usa-form usa-fieldset"},(0,a.h)("legend",{key:"b7ccd522f853151e1d1385144b92b72625a3d402",class:g},r,m&&(0,a.h)("span",{key:"6d6b5c364dc352fdc1e41e8ad571d5b9063dd684",class:"usa-label--required"}," ",o.i.t("required")),i&&(0,a.h)("div",{key:"540c241b25369177f4200b6008a001d2bc255515",class:"usa-hint"},i)),(0,a.h)("span",{key:"beddd0ce14f4da16e900b4f9c021858ef07400c7",id:"error-message",role:"alert"},f&&f),(0,a.h)("div",{key:"85013deaccbb85611dfdba7cc9f327217ae7f975",class:"va-input-telephone-wrapper",tabIndex:0},!d&&(0,a.h)("va-combo-box",{key:"1f8ede338504eb59a559d3081f52c90d4a3b5ea8",label:"Country code",name:"country-codes","show-input-error":"false",error:c,value:l},s.map((function(e){return(0,a.h)("option",{value:e,key:e},t.getOptionText(e))}))),(0,a.h)("va-text-input",{key:"48159a5d4c6f251820a5c523080de19df3b80bc9",label:"Phone number",type:"tel",autocomplete:"tel",inputmode:"tel",value:u,"show-input-error":"false",required:m,hideRequiredText:!0,error:h,onInput:function(e){return t.updateContact(e)},onBlur:function(){return t.handleBlur()}})))))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(t,"watchers",{get:function(){return{error:["syncErrorMessages"]}},enumerable:!1,configurable:!0}),t}();rt.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}.usa-hint,.usa-fieldset{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-form{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}@media all and (min-width: 30em){.usa-form{max-width:20rem}}.usa-form abbr[title=required]{text-decoration:none}.usa-form .usa-input,.usa-form .usa-range,.usa-form .usa-select,.usa-form .usa-textarea{max-width:none}.usa-form .usa-input--2xs,.usa-form .usa-input-group--2xs{max-width:5ex}.usa-form .usa-input--xs,.usa-form .usa-input-group--xs{max-width:9ex}.usa-form .usa-input--sm,.usa-form .usa-input--small,.usa-form .usa-input-group--sm,.usa-form .usa-input-group--small{max-width:13ex}.usa-form .usa-input--md,.usa-form .usa-input--medium,.usa-form .usa-input-group--md,.usa-form .usa-input-group--medium{max-width:20ex}.usa-form .usa-input--lg,.usa-form .usa-input-group--lg{max-width:30ex}.usa-form .usa-input--xl,.usa-form .usa-input-group--xl{max-width:40ex}.usa-form .usa-input--2xl,.usa-form .usa-input-group--2xl{max-width:50ex}.usa-form .usa-button{margin-top:0.5rem}@media all and (min-width: 30em){.usa-form .usa-button{margin-top:1.5rem}}.usa-form a:where(:not(.usa-button)){color:#005ea2;text-decoration:underline}.usa-form a:where(:not(.usa-button)):visited{color:#54278f}.usa-form a:where(:not(.usa-button)):hover{color:#1a4480}.usa-form a:where(:not(.usa-button)):active{color:#162e51}.usa-form a:where(:not(.usa-button)):focus{outline:0.25rem solid #2491ff;outline-offset:0rem}@media all and (min-width: 30em){.usa-form--large{max-width:30rem}}.usa-show-password{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;cursor:pointer}.usa-show-password:visited{color:#54278f}.usa-show-password:hover{color:#1a4480}.usa-show-password:active{color:#162e51}.usa-show-password:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-show-password:hover,.usa-show-password.usa-button--hover,.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password:disabled.usa-button--hover,.usa-show-password[aria-disabled=true].usa-button--hover,.usa-show-password:active,.usa-show-password.usa-button--active,.usa-show-password:disabled:active,.usa-show-password[aria-disabled=true]:active,.usa-show-password:disabled.usa-button--active,.usa-show-password[aria-disabled=true].usa-button--active,.usa-show-password:disabled:focus,.usa-show-password[aria-disabled=true]:focus,.usa-show-password:disabled.usa-focus,.usa-show-password[aria-disabled=true].usa-focus,.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-show-password.usa-button--hover{color:#1a4480}.usa-show-password.usa-button--active{color:#162e51}.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password[aria-disabled=true]:focus{color:GrayText}}.usa-form__note,.usa-show-password{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:0.93rem;line-height:1.3;float:right;margin:0.25rem 0 1rem}.usa-fieldset{border:none;margin:0;padding:0}.usa-legend{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-legend--large{font-size:2.13rem;font-weight:700;margin-top:1rem}.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-form-group{margin-top:1.5rem}.usa-form-group .usa-label:first-child{margin-top:0}.usa-form-group--error{border-left-width:0.25rem;border-left-color:#b50909;border-left-style:solid;padding-left:1rem;position:relative}@media all and (min-width: 64em){.usa-form-group--error{margin-left:-1.25rem}}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}#error-message{margin-bottom:0.75rem}#error-message,#input-error-message{color:var(--vads-color-secondary-dark);display:block;font-weight:700;font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.3rem solid var(--vads-color-secondary-dark);padding-left:1.25rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-1.4375rem;}}.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}}:host{display:block;margin-top:24px}va-text-input::part(label),va-combo-box::part(label){margin-top:0}div.input-wrap{max-width:var(--mobile-lg) !important}fieldset{max-width:var(--mobile-lg) !important;container-name:component-wrapper;container-type:inline-size}va-combo-box{-ms-flex:1;flex:1;min-width:216px}va-text-input{width:20ch}.va-input-telephone-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;margin-top:8px;width:100%;max-width:var(--mobile-lg)}@media (max-width: 480px){va-combo-box,va-text-input{width:100%;max-width:100% !important;margin-top:16px;-ms-flex:0;flex:0}.va-input-telephone-wrapper{display:block}}'}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[8463],{8463:function(e,t,r){r.r(t),r.d(t,{va_table_row:function(){return l}});var o=r(7911),l=function(){function e(e){(0,o.r)(this,e)}return e.prototype.render=function(){return(0,o.h)(o.H,{key:"ff979a8309757f7a99d372da743b404d13fab521"},(0,o.h)("slot",{key:"7f8b6887846192b09fe0ba199c984f571109accb"}))},e}();l.style=":host{display:table-row}::slotted([role='cell']){padding-top:1rem;padding-bottom:1rem;padding-left:1rem;word-wrap:break-word;vertical-align:top;border-left:0;border-right:0;border-top:0}::slotted(*::first-letter){text-transform:capitalize}::slotted(*){display:table-cell;border:1px solid var(--vads-color-base-dark);padding:0.625rem 0.938rem}::slotted(*:empty):before{content:'---'}@media screen and (max-width: 768px){:host{border-bottom:1px solid var(--vads-color-gray-medium)}:host:first-child{border-top:1px solid var(--vads-color-gray-medium)}::slotted([role='cell']){border:none;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}::slotted([role='cell']:first-child){margin-top:1rem}::slotted([role='cell']:last-child){margin-bottom:1rem;border-bottom:0}::slotted([role='cell'])::before{display:block;content:attr(data-label);font-weight:700}}"}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[8463],{8463:function(e,t,r){r.r(t),r.d(t,{va_table_row:function(){return l}});var o=r(7911),l=function(){function e(e){(0,o.r)(this,e)}return e.prototype.render=function(){return(0,o.h)(o.H,{key:"903e31b43c34ed35c96b30c77705b424df4cd931"},(0,o.h)("slot",{key:"1380be295b01321e0f86c1048464e2df4739acca"}))},e}();l.style=':host{display:table-row}::slotted([role=cell]){padding-top:1rem;padding-bottom:1rem;padding-left:1rem;word-wrap:break-word;vertical-align:top;border-left:0;border-right:0;border-top:0}::slotted(*::first-letter){text-transform:capitalize}::slotted(*){display:table-cell;border:1px solid var(--vads-color-base-dark);padding:0.625rem 0.938rem}::slotted(*:empty):before{content:"---"}@media screen and (max-width: 768px){:host{border-bottom:1px solid var(--vads-color-gray-medium)}:host:first-child{border-top:1px solid var(--vads-color-gray-medium)}::slotted([role=cell]){border:none;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}::slotted([role=cell]:first-child){margin-top:1rem}::slotted([role=cell]:last-child){margin-bottom:1rem;border-bottom:0}::slotted([role=cell])::before{display:block;content:attr(data-label);font-weight:700}}'}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[8762],{8762:function(e,t,a){a.r(t),a.d(t,{va_tab_panel:function(){return r}});var n=a(7911),r=function(){function e(e){(0,n.r)(this,e),this.panelId=void 0,this.selected=!1}return e.prototype.render=function(){var e=this.panelId,t=this.selected;return(0,n.h)(n.H,{key:"459abcfed72e4f5a9ec82ff7784941fae7b948eb",id:e,role:"tabpanel",tabindex:t?"0":"-1",class:"va-tab-panel__content",hidden:!t,"aria-labelledby":"".concat(e,"-tab")},(0,n.h)("slot",{key:"e66984bb457cc6d612f0867504518da4438fd69c"}))},e}();r.style=":host{display:block;padding:2rem 0;outline-offset:0 !important}"}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[8762],{8762:function(e,t,a){a.r(t),a.d(t,{va_tab_panel:function(){return r}});var n=a(7911),r=function(){function e(e){(0,n.r)(this,e),this.panelId=void 0,this.selected=!1}return e.prototype.render=function(){var e=this.panelId,t=this.selected;return(0,n.h)(n.H,{key:"d7bdc7b98fdbaf4f9a1c9809dc4a2ba1b3282f8e",id:e,role:"tabpanel",tabindex:t?"0":"-1",class:"va-tab-panel__content",hidden:!t,"aria-labelledby":"".concat(e,"-tab")},(0,n.h)("slot",{key:"e12e72954c2531b3fba43052e59830f736d22474"}))},e}();r.style=":host{display:block;padding:2rem 0;outline-offset:0 !important}"}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 8913.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([[4569,6104,8913],{4569:function(e,r,t){t.r(r),t.d(r,{c:function(){return s}});var a,o={exports:{}};a=o,function(){var e={}.hasOwnProperty;function r(){for(var t=[],a=0;a<arguments.length;a++){var o=arguments[a];if(o){var s=typeof o;if("string"===s||"number"===s)t.push(o);else if(Array.isArray(o)){if(o.length){var i=r.apply(null,o);i&&t.push(i)}}else if("object"===s)if(o.toString===Object.prototype.toString)for(var n in o)e.call(o,n)&&o[n]&&t.push(n);else t.push(o.toString())}}return t.join(" ")}a.exports?(r.default=r,a.exports=r):window.classNames=r}();var s=o.exports},6104:function(e,r,t){function a(e){return!Number.isNaN(parseFloat(e))}function o(e,r,t){void 0===t&&(t="slot");var a=e.shadowRoot.querySelector(t).assignedNodes();return null!==r?Array.from(a).filter((function(e){return e.nodeName.toLowerCase()===r})):Array.from(a)}function s(e){return 1===e?"":"s"}function i(e,r){if(void 0===e||""===e)return"".concat(r," character").concat(s(r)," allowed");var t;if(e.length<=r){var a=r-e.length;t="".concat(a," character").concat(s(a)," left")}else a=e.length-r,t="".concat(a," character").concat(s(a)," over limit");return t}function n(e,r){return Array.from({length:r-e+1},(function(r,t){return e+t}))}t.r(r),t.d(r,{S:function(){return d},a:function(){return o},b:function(){return a},c:function(){return b},d:function(){return p},e:function(){return g},f:function(){return i},g:function(){return f},h:function(){return h},i:function(){return c},m:function(){return n},s:function(){return l},u:function(){return w}}),t(7911);var u=function(e){return e&&"object"==typeof e&&1===e.nodeType};function l(e,r){var t=function(e,r){if("string"!=typeof e)return[];if(!r||!u(r))return[];var t=r.shadowRoot.querySelectorAll(e);return Array.from(t)}(e,r);return"string"!=typeof e||u(r)&&r.matches(e)&&t.push(r),t}var d={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return d._entities[e]},escapeHTML:function(e){for(var r="",t=0;t<e.length;t++)r+=e[t],t+1<arguments.length&&(r+=String(arguments[t+1]||"").replace(d._entity,d.getEntity));return r}};function f(e){var r;return(r="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&r<=6?"h".concat(r):null}function h(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function c(e){return e&&"false"!==e||!1}function m(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function p(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===r)return!0;if("function"==typeof e||"function"==typeof r)return!0;if("object"!=typeof e||"object"!=typeof r)return!1;if(null===e||null===r)return!1;if(e instanceof Date&&r instanceof Date)return e.getTime()===r.getTime();if(e instanceof RegExp&&r instanceof RegExp)return e.source===r.source&&e.global===r.global&&e.multiline===r.multiline&&e.lastIndex===r.lastIndex&&e.ignoreCase===r.ignoreCase;if(m(e)||m(r)){if(!m(e)||!m(r))return!1;var o=Array.prototype.slice;return p(o.call(e),o.call(r),t,a)}if(e.constructor!==r.constructor)return!1;var s=Object.keys(e),i=Object.keys(r);if(0===s.length&&0===i.length)return!0;if(s.length!==i.length)return!1;for(var n=t.length;n--;)if(t[n]===e)return a[n]===r;t.push(e),a.push(r),s.sort(),i.sort();for(var u=s.length-1;u>=0;u--)if(s[u]!==i[u])return!1;for(var l=void 0,d=s.length-1;d>=0;d--)if(!p(e[l=s[d]],r[l],t,a))return!1;return t.pop(),a.pop(),!0}function b(e,r){var t;return function(){for(var a=this,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];clearTimeout(t),t=setTimeout((function(){return e.apply(a,o)}),r)}}function g(e){if(null!=e){var r="string"==typeof e?parseInt(e,10):e;if(!(r<=0||isNaN(r)))return r}}function w(e,r,t){e&&(e.innerText=i(r,g(t)))}},8913:function(e,r,t){t.r(r),t.d(r,{va_radio:function(){return n}});var a=t(7911),o=t(4569),s=t(6104),i=(t(5384),t(4665)),n=function(){function e(e){(0,a.r)(this,e),this.componentLibraryAnalytics=(0,a.c)(this,"component-library-analytics",7),this.vaValueChange=(0,a.c)(this,"vaValueChange",7),this.label=void 0,this.hint=void 0,this.required=!1,this.error=void 0,this.enableAnalytics=!1,this.labelHeaderLevel=void 0,this.headerAriaDescribedby=void 0,this.messageAriaDescribedby=void 0,this.useFormsPattern=void 0,this.formHeadingLevel=3,this.formHeading=void 0}return e.prototype.handleKeyDown=function(e){var r=e.target,t=(0,s.a)(this.el,"va-radio-option").filter((function(e){return!e.disabled}));if(t.length){var a=t.findIndex((function(e){return e===r}));if(-1!==a){var o;switch(e.key){case" ":if(e.preventDefault(),r.checked)return;o=r,this.selectNextNode(r);break;case"ArrowDown":case"ArrowRight":e.preventDefault(),a===t.length-1?(o=t[0],this.deselectCurrentNode(r),this.selectNextNode(o)):(o=t[a+1],this.deselectCurrentNode(r),this.selectNextNode(o));break;case"ArrowUp":case"ArrowLeft":e.preventDefault(),0===a?(o=t[t.length-1],this.deselectCurrentNode(r),this.selectNextNode(o)):(o=t[a-1],this.deselectCurrentNode(r),this.selectNextNode(o))}o&&(this.enableAnalytics&&this.fireAnalyticsEvent(o.label),this.vaValueChange.emit({value:o.value}))}}},e.prototype.radioOptionSelectedHandler=function(e){var r=this,t=e.target;(0,s.a)(this.el,"va-radio-option").filter((function(e){return e!==t})).forEach((function(e){r.deselectCurrentNode(e)})),this.selectNextNode(t),this.enableAnalytics&&this.fireAnalyticsEvent(t.label),this.vaValueChange.emit({value:t.value})},e.prototype.fireAnalyticsEvent=function(e){this.componentLibraryAnalytics.emit({componentName:"va-radio",action:"change",details:{label:this.label,optionLabel:e,required:this.required}})},e.prototype.deselectCurrentNode=function(e){e.removeAttribute("checked")},e.prototype.selectNextNode=function(e){e.setAttribute("checked",""),e.focus()},e.prototype.getHeaderLevel=function(){var e=parseInt(this.labelHeaderLevel,10);return e>=1&&e<=6?"h".concat(e):null},e.prototype.connectedCallback=function(){var e=this;i.i.on("languageChanged",(function(){(0,a.f)(e.el)}))},e.prototype.disconnectedCallback=function(){i.i.off("languageChanged")},e.prototype.render=function(){var e=this,r=e.label,t=e.hint,n=e.required,u=e.error,l=e.headerAriaDescribedby,d=e.messageAriaDescribedby,f=e.useFormsPattern,h=e.formHeadingLevel,c=e.formHeading,m=this.getHeaderLevel(),p=l?"header-message":null,b=d?"description-message":null,g="".concat(f&&c?"form-question":""," ").concat(f?"form-description":""," ").concat("multiple"===f?"header-message":"").trim()||null,w=(0,o.c)({"usa-legend":!0,"usa-label--error":u}),v=null;if("single"===f||"multiple"===f){var y=(0,s.g)(h);v=(0,a.h)(a.F,{key:"0607bbc6357a5968222551deb1dddd2e4c1e0c99"},c&&(0,a.h)(y,{key:"da566c7d8f385be4f5529231b6c9492dc77e7a5f",id:"form-question",part:"form-header"},c),(0,a.h)("div",{key:"6fb1116e12bda827c18ebfd067661a0d4036747b",id:"form-description"},(0,a.h)("slot",{key:"e24148ea2d6bee340bf7c9e3e44d06415a5d6cd9",name:"form-description"})))}return(0,a.h)(a.H,{key:"f8dd146cfdef86199d1dcd723f2193fd8922703b","aria-invalid":u?"true":"false"},v,(0,a.h)("div",{key:"063aed905a8fe67a89105a8cb3bbf3406192c2d2",class:"input-wrap"},(0,a.h)("fieldset",{key:"12f6269547708528b6b798e6f673d36aa3c818df",class:"usa-fieldset","aria-labelledby":g},(0,a.h)("legend",{key:"b0381e71e8d2fc8d8cc167c0c7bce5137303dcea",class:w,part:"legend","aria-describedby":b},m?(0,a.h)(m,{part:"header","aria-describedby":p},r):r," ","multiple"===f&&(0,a.h)("span",{key:"e4a905b3b0f30ec7081cdb37103667799f6d9660",id:"header-message",class:"usa-sr-only"},r),l&&(0,a.h)("span",{key:"6ac3b2059367da00fb11a3566c1c690c8be0c1aa",id:"header-message",class:"usa-sr-only"},l),(0,s.i)(d)&&(0,a.h)("span",{key:"8784c223f91ebe176b8f0c2471e466b8ba5f9995",id:"description-message",class:"usa-sr-only"},d),n&&(0,a.h)("span",{key:"8ceb79649abf5e8b4923d51fc65f20a3e183aff1",class:"usa-label--required",part:"required"},i.i.t("required")),t&&(0,a.h)("div",{key:"f57e2ea057ff49c850a77ed0636e66457d404bc3",class:"usa-hint"},t)),(0,a.h)("span",{key:"135dabee17d616044e1439b616c1c4141816dd6d",id:"radio-error-message",role:"alert"},u&&(0,a.h)(a.F,{key:"2b36d1a81812f7a4f34766804f19bd596d839abd"},(0,a.h)("span",{key:"3b13fb0ef89df6dfc8c87dd5f7cd1c28a69037a6",class:"usa-sr-only"},i.i.t("error")),(0,a.h)("span",{key:"11eb72e29a4c208923d81b562aaa82a35670f3c0",class:"usa-error-message"},u))),(0,a.h)("slot",{key:"86efbf0376206ab3d345b0917d96e5b9812f561e"}))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),e}();n.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}.sr-only{border:0;clip:rect(0, 0, 0, 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important}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:1.875rem}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:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}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,.usa-fieldset{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-form{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}@media all and (min-width: 30em){.usa-form{max-width:20rem}}.usa-form abbr[title=required]{text-decoration:none}.usa-form .usa-input,.usa-form .usa-range,.usa-form .usa-select,.usa-form .usa-textarea{max-width:none}.usa-form .usa-input--2xs,.usa-form .usa-input-group--2xs{max-width:5ex}.usa-form .usa-input--xs,.usa-form .usa-input-group--xs{max-width:9ex}.usa-form .usa-input--sm,.usa-form .usa-input--small,.usa-form .usa-input-group--sm,.usa-form .usa-input-group--small{max-width:13ex}.usa-form .usa-input--md,.usa-form .usa-input--medium,.usa-form .usa-input-group--md,.usa-form .usa-input-group--medium{max-width:20ex}.usa-form .usa-input--lg,.usa-form .usa-input-group--lg{max-width:30ex}.usa-form .usa-input--xl,.usa-form .usa-input-group--xl{max-width:40ex}.usa-form .usa-input--2xl,.usa-form .usa-input-group--2xl{max-width:50ex}.usa-form .usa-button{margin-top:0.5rem}@media all and (min-width: 30em){.usa-form .usa-button{margin-top:1.5rem}}.usa-form a:where(:not(.usa-button)){color:#005ea2;text-decoration:underline}.usa-form a:where(:not(.usa-button)):visited{color:#54278f}.usa-form a:where(:not(.usa-button)):hover{color:#1a4480}.usa-form a:where(:not(.usa-button)):active{color:#162e51}.usa-form a:where(:not(.usa-button)):focus{outline:0.25rem solid #2491ff;outline-offset:0rem}@media all and (min-width: 30em){.usa-form--large{max-width:30rem}}.usa-show-password{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;cursor:pointer}.usa-show-password:visited{color:#54278f}.usa-show-password:hover{color:#1a4480}.usa-show-password:active{color:#162e51}.usa-show-password:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-show-password:hover,.usa-show-password.usa-button--hover,.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password:disabled.usa-button--hover,.usa-show-password[aria-disabled=true].usa-button--hover,.usa-show-password:active,.usa-show-password.usa-button--active,.usa-show-password:disabled:active,.usa-show-password[aria-disabled=true]:active,.usa-show-password:disabled.usa-button--active,.usa-show-password[aria-disabled=true].usa-button--active,.usa-show-password:disabled:focus,.usa-show-password[aria-disabled=true]:focus,.usa-show-password:disabled.usa-focus,.usa-show-password[aria-disabled=true].usa-focus,.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-show-password.usa-button--hover{color:#1a4480}.usa-show-password.usa-button--active{color:#162e51}.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password[aria-disabled=true]:focus{color:GrayText}}.usa-form__note,.usa-show-password{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:0.93rem;line-height:1.3;float:right;margin:0.25rem 0 1rem}.usa-fieldset{border:none;margin:0;padding:0}.usa-legend{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-legend--large{font-size:2.13rem;font-weight:700;margin-top:1rem}.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-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: 1008px){: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: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}:host{display:block;border:none;padding:0;margin-top:24px;max-width:480px}:host .usa-hint{font-weight:normal}'}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[4569,6104,8913],{4569:function(e,r,t){t.r(r),t.d(r,{c:function(){return s}});var a,o={exports:{}};a=o,function(){var e={}.hasOwnProperty;function r(){for(var t=[],a=0;a<arguments.length;a++){var o=arguments[a];if(o){var s=typeof o;if("string"===s||"number"===s)t.push(o);else if(Array.isArray(o)){if(o.length){var i=r.apply(null,o);i&&t.push(i)}}else if("object"===s)if(o.toString===Object.prototype.toString)for(var n in o)e.call(o,n)&&o[n]&&t.push(n);else t.push(o.toString())}}return t.join(" ")}a.exports?(r.default=r,a.exports=r):window.classNames=r}();var s=o.exports},6104:function(e,r,t){function a(e){return!Number.isNaN(parseFloat(e))}function o(e,r,t){void 0===t&&(t="slot");var a=e.shadowRoot.querySelector(t).assignedNodes();return null!==r?Array.from(a).filter((function(e){return e.nodeName.toLowerCase()===r})):Array.from(a)}function s(e){return 1===e?"":"s"}function i(e,r){if(void 0===e||""===e)return"".concat(r," character").concat(s(r)," allowed");var t;if(e.length<=r){var a=r-e.length;t="".concat(a," character").concat(s(a)," left")}else a=e.length-r,t="".concat(a," character").concat(s(a)," over limit");return t}function n(e,r){return Array.from({length:r-e+1},(function(r,t){return e+t}))}t.r(r),t.d(r,{S:function(){return f},a:function(){return o},b:function(){return a},c:function(){return b},d:function(){return p},e:function(){return g},f:function(){return i},g:function(){return d},h:function(){return h},i:function(){return c},m:function(){return n},s:function(){return l},u:function(){return w}}),t(7911);var u=function(e){return e&&"object"==typeof e&&1===e.nodeType};function l(e,r){var t=function(e,r){if("string"!=typeof e)return[];if(!r||!u(r))return[];var t=r.shadowRoot.querySelectorAll(e);return Array.from(t)}(e,r);return"string"!=typeof e||u(r)&&r.matches(e)&&t.push(r),t}var f={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return f._entities[e]},escapeHTML:function(e){for(var r="",t=0;t<e.length;t++)r+=e[t],t+1<arguments.length&&(r+=String(arguments[t+1]||"").replace(f._entity,f.getEntity));return r}};function d(e){var r;return(r="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&r<=6?"h".concat(r):null}function h(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function c(e){return e&&"false"!==e||!1}function m(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function p(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===r)return!0;if("function"==typeof e||"function"==typeof r)return!0;if("object"!=typeof e||"object"!=typeof r)return!1;if(null===e||null===r)return!1;if(e instanceof Date&&r instanceof Date)return e.getTime()===r.getTime();if(e instanceof RegExp&&r instanceof RegExp)return e.source===r.source&&e.global===r.global&&e.multiline===r.multiline&&e.lastIndex===r.lastIndex&&e.ignoreCase===r.ignoreCase;if(m(e)||m(r)){if(!m(e)||!m(r))return!1;var o=Array.prototype.slice;return p(o.call(e),o.call(r),t,a)}if(e.constructor!==r.constructor)return!1;var s=Object.keys(e),i=Object.keys(r);if(0===s.length&&0===i.length)return!0;if(s.length!==i.length)return!1;for(var n=t.length;n--;)if(t[n]===e)return a[n]===r;t.push(e),a.push(r),s.sort(),i.sort();for(var u=s.length-1;u>=0;u--)if(s[u]!==i[u])return!1;for(var l=void 0,f=s.length-1;f>=0;f--)if(!p(e[l=s[f]],r[l],t,a))return!1;return t.pop(),a.pop(),!0}function b(e,r){var t;return function(){for(var a=this,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];clearTimeout(t),t=setTimeout((function(){return e.apply(a,o)}),r)}}function g(e){if(null!=e){var r="string"==typeof e?parseInt(e,10):e;if(!(r<=0||isNaN(r)))return r}}function w(e,r,t){e&&(e.innerText=i(r,g(t)))}},8913:function(e,r,t){t.r(r),t.d(r,{va_radio:function(){return n}});var a=t(7911),o=t(4569),s=t(6104),i=(t(8014),t(4665)),n=function(){function e(e){(0,a.r)(this,e),this.componentLibraryAnalytics=(0,a.c)(this,"component-library-analytics",7),this.vaValueChange=(0,a.c)(this,"vaValueChange",7),this.label=void 0,this.hint=void 0,this.required=!1,this.error=void 0,this.enableAnalytics=!1,this.labelHeaderLevel=void 0,this.headerAriaDescribedby=void 0,this.messageAriaDescribedby=void 0,this.useFormsPattern=void 0,this.formHeadingLevel=3,this.formHeading=void 0}return e.prototype.handleKeyDown=function(e){var r=e.target,t=(0,s.a)(this.el,"va-radio-option").filter((function(e){return!e.disabled}));if(t.length){var a=t.findIndex((function(e){return e===r}));if(-1!==a){var o;switch(e.key){case" ":if(e.preventDefault(),r.checked)return;o=r,this.selectNextNode(r);break;case"ArrowDown":case"ArrowRight":e.preventDefault(),a===t.length-1?(o=t[0],this.deselectCurrentNode(r),this.selectNextNode(o)):(o=t[a+1],this.deselectCurrentNode(r),this.selectNextNode(o));break;case"ArrowUp":case"ArrowLeft":e.preventDefault(),0===a?(o=t[t.length-1],this.deselectCurrentNode(r),this.selectNextNode(o)):(o=t[a-1],this.deselectCurrentNode(r),this.selectNextNode(o))}o&&(this.enableAnalytics&&this.fireAnalyticsEvent(o.label),this.vaValueChange.emit({value:o.value}))}}},e.prototype.radioOptionSelectedHandler=function(e){var r=this,t=e.target;(0,s.a)(this.el,"va-radio-option").filter((function(e){return e!==t})).forEach((function(e){r.deselectCurrentNode(e)})),this.selectNextNode(t),this.enableAnalytics&&this.fireAnalyticsEvent(t.label),this.vaValueChange.emit({value:t.value})},e.prototype.fireAnalyticsEvent=function(e){this.componentLibraryAnalytics.emit({componentName:"va-radio",action:"change",details:{label:this.label,optionLabel:e,required:this.required}})},e.prototype.deselectCurrentNode=function(e){e.removeAttribute("checked")},e.prototype.selectNextNode=function(e){e.setAttribute("checked",""),e.focus()},e.prototype.getHeaderLevel=function(){var e=parseInt(this.labelHeaderLevel,10);return e>=1&&e<=6?"h".concat(e):null},e.prototype.connectedCallback=function(){var e=this;i.i.on("languageChanged",(function(){(0,a.f)(e.el)}))},e.prototype.disconnectedCallback=function(){i.i.off("languageChanged")},e.prototype.render=function(){var e=this,r=e.label,t=e.hint,n=e.required,u=e.error,l=e.headerAriaDescribedby,f=e.messageAriaDescribedby,d=e.useFormsPattern,h=e.formHeadingLevel,c=e.formHeading,m=this.getHeaderLevel(),p=l?"header-message":null,b=f?"description-message":null,g="".concat(d&&c?"form-question":""," ").concat(d?"form-description":""," ").concat("multiple"===d?"header-message":"").trim()||null,w=(0,o.c)({"usa-legend":!0,"usa-label--error":u}),v=null;if("single"===d||"multiple"===d){var y=(0,s.g)(h);v=(0,a.h)(a.F,{key:"42c5c6141c96b65edd34d8fb0c7629265b679254"},c&&(0,a.h)(y,{key:"3df16eff228ff1b39fdc8ec3dfe124c0e6e0579e",id:"form-question",part:"form-header"},c),(0,a.h)("div",{key:"90b1b2e20bc3a1cde46a9e2281e7923ffe9c5c9d",id:"form-description"},(0,a.h)("slot",{key:"95d7939e8c563b502381ccbf40f71f3b2612ba85",name:"form-description"})))}return(0,a.h)(a.H,{key:"9463a0e13c035b7c6a1bde9fe3f164e8197c5090","aria-invalid":u?"true":"false"},v,(0,a.h)("div",{key:"c734f18ad0591538380731b25ddb3fa41bb7233b",class:"input-wrap"},(0,a.h)("fieldset",{key:"784f9f3f053354ef26a083cb7903d0659e5297ef",class:"usa-fieldset","aria-labelledby":g},(0,a.h)("legend",{key:"788feaf904775449a50177f06802bef1bcfcb0a2",class:w,part:"legend","aria-describedby":b},m?(0,a.h)(m,{part:"header","aria-describedby":p},r):r," ","multiple"===d&&(0,a.h)("span",{key:"570fe14a80185fb2edb752580e40ab393219e241",id:"header-message",class:"usa-sr-only"},r),l&&(0,a.h)("span",{key:"5f02035db59ffb8cacf92db91c7018db99468551",id:"header-message",class:"usa-sr-only"},l),(0,s.i)(f)&&(0,a.h)("span",{key:"6878dec28510d01b858832a56ccdb2c64b2a4cab",id:"description-message",class:"usa-sr-only"},f),n&&(0,a.h)("span",{key:"7548ff219b9efaeed7da6f47e0ec590d235948c9",class:"usa-label--required",part:"required"},i.i.t("required")),t&&(0,a.h)("div",{key:"a8d24c5281c3517217f7238cad7e2cdda51b29a0",class:"usa-hint"},t)),(0,a.h)("span",{key:"a0752561767ecbaea4919c4e83b3a155fdddc0d9",id:"radio-error-message",role:"alert"},u&&(0,a.h)(a.F,{key:"f4a4cdd20cab730e23001cd820c0b1dcf821bfc8"},(0,a.h)("span",{key:"38932675714cac89baec1b6c2fc40eb2d03d3d03",class:"usa-sr-only"},i.i.t("error")),(0,a.h)("span",{key:"21ea908bfa84be8bb2cfd4c235a49d255eac5697",class:"usa-error-message"},u))),(0,a.h)("slot",{key:"1eb11ea64b4ed46778d42829a15cb55e9442638d"}))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),e}();n.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}.sr-only{border:0;clip:rect(0, 0, 0, 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important}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,.usa-fieldset{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-form{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}@media all and (min-width: 30em){.usa-form{max-width:20rem}}.usa-form abbr[title=required]{text-decoration:none}.usa-form .usa-input,.usa-form .usa-range,.usa-form .usa-select,.usa-form .usa-textarea{max-width:none}.usa-form .usa-input--2xs,.usa-form .usa-input-group--2xs{max-width:5ex}.usa-form .usa-input--xs,.usa-form .usa-input-group--xs{max-width:9ex}.usa-form .usa-input--sm,.usa-form .usa-input--small,.usa-form .usa-input-group--sm,.usa-form .usa-input-group--small{max-width:13ex}.usa-form .usa-input--md,.usa-form .usa-input--medium,.usa-form .usa-input-group--md,.usa-form .usa-input-group--medium{max-width:20ex}.usa-form .usa-input--lg,.usa-form .usa-input-group--lg{max-width:30ex}.usa-form .usa-input--xl,.usa-form .usa-input-group--xl{max-width:40ex}.usa-form .usa-input--2xl,.usa-form .usa-input-group--2xl{max-width:50ex}.usa-form .usa-button{margin-top:0.5rem}@media all and (min-width: 30em){.usa-form .usa-button{margin-top:1.5rem}}.usa-form a:where(:not(.usa-button)){color:#005ea2;text-decoration:underline}.usa-form a:where(:not(.usa-button)):visited{color:#54278f}.usa-form a:where(:not(.usa-button)):hover{color:#1a4480}.usa-form a:where(:not(.usa-button)):active{color:#162e51}.usa-form a:where(:not(.usa-button)):focus{outline:0.25rem solid #2491ff;outline-offset:0rem}@media all and (min-width: 30em){.usa-form--large{max-width:30rem}}.usa-show-password{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;cursor:pointer}.usa-show-password:visited{color:#54278f}.usa-show-password:hover{color:#1a4480}.usa-show-password:active{color:#162e51}.usa-show-password:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-show-password:hover,.usa-show-password.usa-button--hover,.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password:disabled.usa-button--hover,.usa-show-password[aria-disabled=true].usa-button--hover,.usa-show-password:active,.usa-show-password.usa-button--active,.usa-show-password:disabled:active,.usa-show-password[aria-disabled=true]:active,.usa-show-password:disabled.usa-button--active,.usa-show-password[aria-disabled=true].usa-button--active,.usa-show-password:disabled:focus,.usa-show-password[aria-disabled=true]:focus,.usa-show-password:disabled.usa-focus,.usa-show-password[aria-disabled=true].usa-focus,.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-show-password.usa-button--hover{color:#1a4480}.usa-show-password.usa-button--active{color:#162e51}.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-show-password:disabled,.usa-show-password[aria-disabled=true],.usa-show-password:disabled:hover,.usa-show-password[aria-disabled=true]:hover,.usa-show-password[aria-disabled=true]:focus{color:GrayText}}.usa-form__note,.usa-show-password{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:0.93rem;line-height:1.3;float:right;margin:0.25rem 0 1rem}.usa-fieldset{border:none;margin:0;padding:0}.usa-legend{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-legend--large{font-size:2.13rem;font-weight:700;margin-top:1rem}.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-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}}:host{display:block;border:none;padding:0;margin-top:24px;max-width:480px}:host .usa-hint{font-weight:normal}'}}]);