@department-of-veterans-affairs/component-library 54.1.2 → 54.3.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 (118) hide show
  1. package/dist/0.app.bundle.js +1 -1
  2. package/dist/12.app.bundle.js +1 -1
  3. package/dist/141.app.bundle.js +1 -1
  4. package/dist/1822.app.bundle.js +1 -1
  5. package/dist/1966.app.bundle.js +1 -1
  6. package/dist/2205.app.bundle.js +1 -1
  7. package/dist/2236.app.bundle.js +1 -1
  8. package/dist/2482.app.bundle.js +1 -1
  9. package/dist/251.app.bundle.js +1 -1
  10. package/dist/272.app.bundle.js +1 -1
  11. package/dist/2923.app.bundle.js +1 -1
  12. package/dist/2986.app.bundle.js +1 -1
  13. package/dist/323.app.bundle.js +1 -1
  14. package/dist/3305.app.bundle.js +1 -1
  15. package/dist/3397.app.bundle.js +1 -1
  16. package/dist/3589.app.bundle.js +1 -1
  17. package/dist/3600.app.bundle.js +1 -1
  18. package/dist/3601.app.bundle.js +1 -1
  19. package/dist/4157.app.bundle.js +1 -1
  20. package/dist/4351.app.bundle.js +1 -1
  21. package/dist/4400.app.bundle.js +1 -1
  22. package/dist/4432.app.bundle.js +1 -1
  23. package/dist/4475.app.bundle.js +1 -1
  24. package/dist/4780.app.bundle.js +1 -1
  25. package/dist/4996.app.bundle.js +1 -1
  26. package/dist/5119.app.bundle.js +1 -1
  27. package/dist/5341.app.bundle.js +1 -1
  28. package/dist/5348.app.bundle.js +1 -1
  29. package/dist/5663.app.bundle.js +1 -1
  30. package/dist/5689.app.bundle.js +1 -1
  31. package/dist/5705.app.bundle.js +1 -1
  32. package/dist/5845.app.bundle.js +1 -1
  33. package/dist/5938.app.bundle.js +1 -1
  34. package/dist/5990.app.bundle.js +1 -1
  35. package/dist/{6104.app.bundle.js → 6043.app.bundle.js} +1 -1
  36. package/dist/606.app.bundle.js +1 -1
  37. package/dist/6095.app.bundle.js +1 -1
  38. package/dist/6308.app.bundle.js +1 -1
  39. package/dist/6498.app.bundle.js +1 -1
  40. package/dist/6555.app.bundle.js +1 -1
  41. package/dist/6650.app.bundle.js +1 -1
  42. package/dist/6696.app.bundle.js +1 -1
  43. package/dist/6718.app.bundle.js +1 -1
  44. package/dist/6830.app.bundle.js +1 -1
  45. package/dist/6832.app.bundle.js +1 -1
  46. package/dist/6849.app.bundle.js +1 -1
  47. package/dist/7084.app.bundle.js +1 -1
  48. package/dist/7166.app.bundle.js +1 -1
  49. package/dist/{4534.app.bundle.js → 7267.app.bundle.js} +1 -1
  50. package/dist/7307.app.bundle.js +1 -1
  51. package/dist/7372.app.bundle.js +1 -1
  52. package/dist/7481.app.bundle.js +1 -1
  53. package/dist/7495.app.bundle.js +1 -1
  54. package/dist/7734.app.bundle.js +1 -1
  55. package/dist/8255.app.bundle.js +1 -1
  56. package/dist/8463.app.bundle.js +1 -1
  57. package/dist/8762.app.bundle.js +1 -1
  58. package/dist/8913.app.bundle.js +1 -1
  59. package/dist/8915.app.bundle.js +1 -1
  60. package/dist/9186.app.bundle.js +1 -1
  61. package/dist/9376.app.bundle.js +1 -1
  62. package/dist/9496.app.bundle.js +1 -1
  63. package/dist/960.app.bundle.js +1 -1
  64. package/dist/9851.app.bundle.js +1 -1
  65. package/dist/app.bundle.js +1 -1
  66. package/dist/components/contacts.js +1 -1
  67. package/dist/components/index.js +1 -1
  68. package/dist/components/types/components.d.ts +40 -16
  69. package/dist/components/va-accordion2.js +1 -1
  70. package/dist/components/va-alert2.js +1 -1
  71. package/dist/components/va-banner.js +1 -1
  72. package/dist/components/va-checkbox-group2.js +1 -1
  73. package/dist/components/va-checkbox2.js +1 -1
  74. package/dist/components/va-combo-box2.js +1 -1
  75. package/dist/components/va-crisis-line-modal2.js +1 -1
  76. package/dist/components/va-date.js +1 -1
  77. package/dist/components/va-file-input-multiple.js +1 -1
  78. package/dist/components/va-file-input2.js +1 -1
  79. package/dist/components/va-header-minimal.js +1 -1
  80. package/dist/components/va-icon2.js +1 -1
  81. package/dist/components/va-language-toggle.js +1 -1
  82. package/dist/components/va-link-action.js +1 -1
  83. package/dist/components/va-loading-indicator.js +1 -1
  84. package/dist/components/va-maintenance-banner.js +1 -1
  85. package/dist/components/va-memorable-date.js +1 -1
  86. package/dist/components/va-minimal-footer.js +1 -1
  87. package/dist/components/va-modal2.js +1 -1
  88. package/dist/components/va-need-help.js +1 -1
  89. package/dist/components/va-official-gov-banner2.js +1 -1
  90. package/dist/components/va-omb-info.js +1 -1
  91. package/dist/components/va-on-this-page.js +1 -1
  92. package/dist/components/va-pagination.js +1 -1
  93. package/dist/components/va-privacy-agreement.js +1 -1
  94. package/dist/components/va-process-list-item.js +1 -1
  95. package/dist/components/va-process-list.js +1 -1
  96. package/dist/components/va-progress-bar2.js +1 -1
  97. package/dist/components/va-radio-option.js +1 -1
  98. package/dist/components/va-radio.js +1 -1
  99. package/dist/components/va-search-input.js +1 -1
  100. package/dist/components/va-select2.js +1 -1
  101. package/dist/components/va-sidenav-item.js +1 -1
  102. package/dist/components/va-sidenav-submenu.js +1 -1
  103. package/dist/components/va-statement-of-truth.js +1 -1
  104. package/dist/components/va-summary-box.js +1 -1
  105. package/dist/components/va-tab-item.js +1 -1
  106. package/dist/components/va-tab-panel.js +1 -1
  107. package/dist/components/va-table-inner2.js +1 -1
  108. package/dist/components/va-table-row.js +1 -1
  109. package/dist/components/va-table.js +1 -1
  110. package/dist/components/va-tag-status.js +1 -1
  111. package/dist/components/va-telephone-input.js +1 -1
  112. package/dist/components/va-telephone2.js +1 -1
  113. package/dist/components/va-text-input2.js +1 -1
  114. package/dist/components/va-textarea.js +1 -1
  115. package/dist/main.css +1 -1
  116. package/package.json +4 -4
  117. package/src/i18n/translations/en.mjs +12 -1
  118. package/dist/components/i18n-setup.js +0 -1
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 0.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([[0,4569],{4569:function(i,n,e){e.r(n),e.d(n,{c:function(){return t}});var o,a={exports:{}};o=a,function(){var i={}.hasOwnProperty;function n(){for(var e=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var t=typeof a;if("string"===t||"number"===t)e.push(a);else if(Array.isArray(a)){if(a.length){var r=n.apply(null,a);r&&e.push(r)}}else if("object"===t)if(a.toString===Object.prototype.toString)for(var l in a)i.call(a,l)&&a[l]&&e.push(l);else e.push(a.toString())}}return e.join(" ")}o.exports?(n.default=n,o.exports=n):window.classNames=n}();var t=a.exports},0:function(i,n,e){e.r(n),e.d(n,{va_link:function(){return t}});var o=e(7911),a=e(4569),t=function(){function i(i){var n=this;(0,o.r)(this,i),this.componentLibraryAnalytics=(0,o.c)(this,"component-library-analytics",7),this.handleClick=function(i){if(!n.disableAnalytics){var e={componentName:"va-link",action:"click",details:{label:n.text,destination:n.href,origin:window.location.href}};n.componentLibraryAnalytics.emit(e)}},this.getAbbreviationTitle=function(){var i=n,e=i.abbrTitle;return"PDF"===i.filetype?"Portable Document Format":e},this.abbrTitle=void 0,this.active=!1,this.back=!1,this.calendar=!1,this.channel=!1,this.disableAnalytics=!1,this.download=!1,this.href=void 0,this.filename=void 0,this.filetype=void 0,this.pages=void 0,this.text=void 0,this.video=!1,this.reverse=!1,this.external=!1,this.label=null,this.iconName=null,this.iconSize=3,this.language=void 0}return i.prototype.render=function(){var i=this,n=i.active,e=i.back,t=i.calendar,r=i.channel,l=i.download,c=i.filetype,s=i.filename,h=i.getAbbreviationTitle,u=i.handleClick,v=i.href,f=i.pages,d=i.text,b=i.video,k=i.reverse,p=i.external,g=i.iconName,m=i.iconSize,y=i.language,x=i.label,w=(0,a.c)({"va-link--reverse":k,"link--center":g});if(n)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,onClick:u,"aria-label":x},d,(0,o.h)("span",{class:"link-icon--active-icon-wrapper"},(0,o.h)("va-icon",{class:"link-icon--active",icon:"chevron_right"}))));if(e){var _=(0,o.h)("va-icon",{icon:"arrow_back",class:"link-icon--left link-icon--back"});return(0,o.h)(o.H,null,(0,o.h)("div",{class:"link-container"},_,(0,o.h)("a",{href:v,class:w,onClick:u,"aria-label":x},d)))}if(r||b){var C=r?"youtube":"play_circle";return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,"aria-label":x,onClick:u,rel:"noopener",target:"_blank"},(0,o.h)("va-icon",{class:"link-icon--left",icon:C}),d," ",(0,o.h)("dfn",null,r?"YouTube":"on YouTube")))}if(t)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,download:s,"aria-label":x,onClick:u},(0,o.h)("va-icon",{class:"link-icon--left",icon:"calendar_today"}),d));if(l)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,download:s,"aria-label":x,onClick:u},(0,o.h)("va-icon",{class:"link-icon--left",icon:"file_download"}),d," ",c&&(0,o.h)("dfn",null,"(",(0,o.h)("abbr",{title:h()},c),f&&", ".concat(f," pages"),")")));if(g)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,"aria-label":x,onClick:u},(0,o.h)("va-icon",{icon:g,size:m,part:"icon"}),d));if(p)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,rel:"noreferrer",class:w,onClick:u,"aria-label":x,target:"_blank"},d," ",(0,o.h)("span",{class:"screen-only"},"(opens in a new tab)")));var H=y||null;return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,onClick:u,"aria-label":x,part:"anchor",lang:H,hrefLang:H},d))},i}();t.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}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}a{text-decoration:none;color:var(--vads-color-link);-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color}a:hover{background-color:rgba(0, 0, 0, 0.05);color:inherit}a:visited{color:var(--vads-color-link-visited)}.usa-sr-only{position:absolute;left:-999em;right:auto}:host{display:inline}:host([href]:focus){outline:none !important}:host a{cursor:pointer;text-decoration:underline;font:inherit}:host a.va-link--reverse,:host a.va-link--reverse .link-icon--back{color:var(--vads-color-white)}:host a.va-link--reverse:hover,:host a.va-link--reverse:active,:host a.va-link--reverse:hover .link-icon--back,:host a.va-link--reverse:active .link-icon--back,:host a.va-link--reverse .link-icon--back:hover,:host a.va-link--reverse .link-icon--back:active,:host a.va-link--reverse .link-icon--back:hover .link-icon--back,:host a.va-link--reverse .link-icon--back:active .link-icon--back{color:var(--vads-color-action-focus-on-light);background-color:transparent}:host([active]:not([active=false])) a{font-weight:700}:host([icon-name]) va-icon{margin-right:4px}:host .link-icon--active-icon-wrapper{white-space:nowrap}.link-icon--active{vertical-align:baseline;position:relative;top:3px}.link-icon--left{margin-right:4px;vertical-align:baseline;position:relative;top:3px}.link-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.link-icon--back{color:var(--vads-color-gray-medium);-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color}.link--center{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}dfn{font-style:normal}abbr{text-decoration:none}.external-link-icon{margin-left:4px}@media print{.screen-only{display:none}}'}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[0,4569],{4569:function(i,n,e){e.r(n),e.d(n,{c:function(){return t}});var o,a={exports:{}};o=a,function(){var i={}.hasOwnProperty;function n(){for(var e=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var t=typeof a;if("string"===t||"number"===t)e.push(a);else if(Array.isArray(a)){if(a.length){var r=n.apply(null,a);r&&e.push(r)}}else if("object"===t)if(a.toString===Object.prototype.toString)for(var l in a)i.call(a,l)&&a[l]&&e.push(l);else e.push(a.toString())}}return e.join(" ")}o.exports?(n.default=n,o.exports=n):window.classNames=n}();var t=a.exports},0:function(i,n,e){e.r(n),e.d(n,{va_link:function(){return t}});var o=e(1484),a=e(4569),t=function(){function i(i){var n=this;(0,o.r)(this,i),this.componentLibraryAnalytics=(0,o.c)(this,"component-library-analytics",7),this.handleClick=function(i){if(!n.disableAnalytics){var e={componentName:"va-link",action:"click",details:{label:n.text,destination:n.href,origin:window.location.href}};n.componentLibraryAnalytics.emit(e)}},this.getAbbreviationTitle=function(){var i=n,e=i.abbrTitle;return"PDF"===i.filetype?"Portable Document Format":e},this.abbrTitle=void 0,this.active=!1,this.back=!1,this.calendar=!1,this.channel=!1,this.disableAnalytics=!1,this.download=!1,this.href=void 0,this.filename=void 0,this.filetype=void 0,this.pages=void 0,this.text=void 0,this.video=!1,this.reverse=!1,this.external=!1,this.label=null,this.iconName=null,this.iconSize=3,this.language=void 0}return i.prototype.render=function(){var i=this,n=i.active,e=i.back,t=i.calendar,r=i.channel,l=i.download,c=i.filetype,s=i.filename,h=i.getAbbreviationTitle,u=i.handleClick,v=i.href,f=i.pages,d=i.text,b=i.video,k=i.reverse,p=i.external,g=i.iconName,m=i.iconSize,y=i.language,x=i.label,w=(0,a.c)({"va-link--reverse":k,"link--center":g});if(n)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,onClick:u,"aria-label":x},d,(0,o.h)("span",{class:"link-icon--active-icon-wrapper"},(0,o.h)("va-icon",{class:"link-icon--active",icon:"chevron_right"}))));if(e){var _=(0,o.h)("va-icon",{icon:"arrow_back",class:"link-icon--left link-icon--back"});return(0,o.h)(o.H,null,(0,o.h)("div",{class:"link-container"},_,(0,o.h)("a",{href:v,class:w,onClick:u,"aria-label":x},d)))}if(r||b){var C=r?"youtube":"play_circle";return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,"aria-label":x,onClick:u,rel:"noopener",target:"_blank"},(0,o.h)("va-icon",{class:"link-icon--left",icon:C}),d," ",(0,o.h)("dfn",null,r?"YouTube":"on YouTube")))}if(t)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,download:s,"aria-label":x,onClick:u},(0,o.h)("va-icon",{class:"link-icon--left",icon:"calendar_today"}),d));if(l)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,download:s,"aria-label":x,onClick:u},(0,o.h)("va-icon",{class:"link-icon--left",icon:"file_download"}),d," ",c&&(0,o.h)("dfn",null,"(",(0,o.h)("abbr",{title:h()},c),f&&", ".concat(f," pages"),")")));if(g)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,"aria-label":x,onClick:u},(0,o.h)("va-icon",{icon:g,size:m,part:"icon"}),d));if(p)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,rel:"noreferrer",class:w,onClick:u,"aria-label":x,target:"_blank"},d," ",(0,o.h)("span",{class:"screen-only"},"(opens in a new tab)")));var H=y||null;return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,onClick:u,"aria-label":x,part:"anchor",lang:H,hrefLang:H},d))},i}();t.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}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}a{text-decoration:none;color:var(--vads-color-link);-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color}a:hover{background-color:rgba(0, 0, 0, 0.05);color:inherit}a:visited{color:var(--vads-color-link-visited)}.usa-sr-only{position:absolute;left:-999em;right:auto}:host{display:inline}:host([href]:focus){outline:none !important}:host a{cursor:pointer;text-decoration:underline;font:inherit}:host a.va-link--reverse,:host a.va-link--reverse .link-icon--back{color:var(--vads-color-white)}:host a.va-link--reverse:hover,:host a.va-link--reverse:active,:host a.va-link--reverse:hover .link-icon--back,:host a.va-link--reverse:active .link-icon--back,:host a.va-link--reverse .link-icon--back:hover,:host a.va-link--reverse .link-icon--back:active,:host a.va-link--reverse .link-icon--back:hover .link-icon--back,:host a.va-link--reverse .link-icon--back:active .link-icon--back{color:var(--vads-color-action-focus-on-light);background-color:transparent}:host([active]:not([active=false])) a{font-weight:700}:host([icon-name]) va-icon{margin-right:4px}:host .link-icon--active-icon-wrapper{white-space:nowrap}.link-icon--active{vertical-align:baseline;position:relative;top:3px}.link-icon--left{margin-right:4px;vertical-align:baseline;position:relative;top:3px}.link-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.link-icon--back{color:var(--vads-color-gray-medium);-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color}.link--center{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}dfn{font-style:normal}abbr{text-decoration:none}.external-link-icon{margin-left:4px}@media print{.screen-only{display:none}}'}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[12,6104],{6104:function(t,n,e){function r(t){return!Number.isNaN(parseFloat(t))}function o(t,n,e){void 0===e&&(e="slot");var r=t.shadowRoot.querySelector(e).assignedNodes();return null!==n?Array.from(r).filter((function(t){return t.nodeName.toLowerCase()===n})):Array.from(r)}function i(t){return 1===t?"":"s"}function a(t,n){if(void 0===t||""===t)return"".concat(n," character").concat(i(n)," allowed");var e;if(t.length<=n){var r=n-t.length;e="".concat(r," character").concat(i(r)," left")}else r=t.length-n,e="".concat(r," character").concat(i(r)," over limit");return e}function u(t,n){return Array.from({length:n-t+1},(function(n,e){return t+e}))}e.r(n),e.d(n,{S:function(){return s},a:function(){return o},b:function(){return r},c:function(){return v},d:function(){return p},e:function(){return m},f:function(){return a},g:function(){return f},h:function(){return d},i:function(){return h},m:function(){return u},s:function(){return c},u:function(){return b}}),e(7911);var l=function(t){return t&&"object"==typeof t&&1===t.nodeType};function c(t,n){var e=function(t,n){if("string"!=typeof t)return[];if(!n||!l(n))return[];var e=n.shadowRoot.querySelectorAll(t);return Array.from(e)}(t,n);return"string"!=typeof t||l(n)&&n.matches(t)&&e.push(n),e}var s={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(t){return s._entities[t]},escapeHTML:function(t){for(var n="",e=0;e<t.length;e++)n+=t[e],e+1<arguments.length&&(n+=String(arguments[e+1]||"").replace(s._entity,s.getEntity));return n}};function f(t){var n;return(n="string"==typeof t?parseInt(t,10):Math.floor(t))>=1&&n<=6?"h".concat(n):null}function d(t){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(t.tagName)}function h(t){return t&&"false"!==t||!1}function g(t){return"[object Arguments]"===Object.prototype.toString.call(t)}function p(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(t===n)return!0;if("function"==typeof t||"function"==typeof n)return!0;if("object"!=typeof t||"object"!=typeof n)return!1;if(null===t||null===n)return!1;if(t instanceof Date&&n instanceof Date)return t.getTime()===n.getTime();if(t instanceof RegExp&&n instanceof RegExp)return t.source===n.source&&t.global===n.global&&t.multiline===n.multiline&&t.lastIndex===n.lastIndex&&t.ignoreCase===n.ignoreCase;if(g(t)||g(n)){if(!g(t)||!g(n))return!1;var o=Array.prototype.slice;return p(o.call(t),o.call(n),e,r)}if(t.constructor!==n.constructor)return!1;var i=Object.keys(t),a=Object.keys(n);if(0===i.length&&0===a.length)return!0;if(i.length!==a.length)return!1;for(var u=e.length;u--;)if(e[u]===t)return r[u]===n;e.push(t),r.push(n),i.sort(),a.sort();for(var l=i.length-1;l>=0;l--)if(i[l]!==a[l])return!1;for(var c=void 0,s=i.length-1;s>=0;s--)if(!p(t[c=i[s]],n[c],e,r))return!1;return e.pop(),r.pop(),!0}function v(t,n){var e;return function(){for(var r=this,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];clearTimeout(e),e=setTimeout((function(){return t.apply(r,o)}),n)}}function m(t){if(null!=t){var n="string"==typeof t?parseInt(t,10):t;if(!(n<=0||isNaN(n)))return n}}function b(t,n,e){t&&(t.innerText=a(n,m(e)))}},12:function(t,n,e){e.r(n),e.d(n,{va_on_this_page:function(){return a}});var r=e(7911),o=(e(8181),e(6104)),i=e(4665),a=function(){function t(t){var n=this;(0,r.r)(this,t),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.handleHeadingBlur=function(t){var n=t.target;n.removeAttribute("tabindex"),n.removeAttribute("role")},this.moveFocusToHeading=function(t){var e=t.currentTarget,r=document.getElementById(e.hash.slice(1));r&&(r.setAttribute("tabindex","-1"),r.setAttribute("role","text"),r.focus(),r.addEventListener("blur",n.handleHeadingBlur,{once:!0}))},this.handleOnClick=function(t){var e,r,o,i;n.moveFocusToHeading(t),n.disableAnalytics||n.componentLibraryAnalytics.emit({componentName:"va-on-this-page",action:"click",details:{"click-text":(null===(r=null===(e=t.composedPath())||void 0===e?void 0:e[0])||void 0===r?void 0:r.textContent)||(null===(i=null===(o=t.path)||void 0===o?void 0:o[0])||void 0===i?void 0:i.textContent)}})},this.headerLevel=2,this.disableAnalytics=!1}return t.prototype.connectedCallback=function(){var t=this;i.i.on("languageChanged",(function(){(0,r.f)(t.el)}))},t.prototype.disconnectedCallback=function(){i.i.off("languageChanged")},t.prototype.render=function(){var t=this.handleOnClick,n=(0,o.g)(this.headerLevel)||"h2",e=Array.from(document.querySelectorAll("article h2")).filter((function(t){return t.id}));return(0,r.h)("nav",{"aria-labelledby":"on-this-page"},(0,r.h)(n,{id:"on-this-page"},i.i.t("on-this-page")),(0,r.h)("ul",null,e.map((function(n){return(0,r.h)("li",null,(0,r.h)("a",{href:"#".concat(n.id),onClick:t},(0,r.h)("va-icon",{icon:"arrow_downward"}),(0,r.h)("span",null,n.innerText)))}))))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),t}();a.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}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}a{text-decoration:none;color:var(--vads-color-link);-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color}a:hover{background-color:rgba(0, 0, 0, 0.05);color:inherit}a:visited{color:var(--vads-color-link-visited)}:host{display:block;border:1px solid var(--vads-color-base-light);border-radius:4px;padding:1em}@media (min-width: 768px){:host{border:none;padding:1em 1em 1em 0}}#on-this-page{font-family:var(--font-serif);font-size:1.25rem;font-weight:var(--font-weight-normal);margin:0.4em 0em}ul{margin-top:0;margin-bottom:0;margin-left:0;list-style-type:none;padding-left:0}li,#on-this-page{padding:0.5em;max-width:var(--vads-size-line-length-4)}li a{line-height:1.5em;display:-ms-flexbox;display:flex}li:hover{background-color:rgba(0, 0, 0, 0.05)}li a:hover{background-color:transparent}va-icon{margin-right:4px;padding-top:4px;line-height:1}'}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[12,6043],{6043:function(t,n,e){function r(t){return!Number.isNaN(parseFloat(t))}function o(t,n,e){void 0===e&&(e="slot");var r=t.shadowRoot.querySelector(e).assignedNodes();return null!==n?Array.from(r).filter((function(t){return t.nodeName.toLowerCase()===n})):Array.from(r)}function i(t){return 1===t?"":"s"}function a(t,n){if(void 0===t||""===t)return"".concat(n," character").concat(i(n)," allowed");var e;if(t.length<=n){var r=n-t.length;e="".concat(r," character").concat(i(r)," left")}else r=t.length-n,e="".concat(r," character").concat(i(r)," over limit");return e}function u(t,n){return Array.from({length:n-t+1},(function(n,e){return t+e}))}e.r(n),e.d(n,{S:function(){return s},a:function(){return o},b:function(){return r},c:function(){return v},d:function(){return p},e:function(){return m},f:function(){return a},g:function(){return f},h:function(){return d},i:function(){return h},m:function(){return u},s:function(){return c},u:function(){return b}}),e(1484);var l=function(t){return t&&"object"==typeof t&&1===t.nodeType};function c(t,n){var e=function(t,n){if("string"!=typeof t)return[];if(!n||!l(n))return[];var e=n.shadowRoot.querySelectorAll(t);return Array.from(e)}(t,n);return"string"!=typeof t||l(n)&&n.matches(t)&&e.push(n),e}var s={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(t){return s._entities[t]},escapeHTML:function(t){for(var n="",e=0;e<t.length;e++)n+=t[e],e+1<arguments.length&&(n+=String(arguments[e+1]||"").replace(s._entity,s.getEntity));return n}};function f(t){var n;return(n="string"==typeof t?parseInt(t,10):Math.floor(t))>=1&&n<=6?"h".concat(n):null}function d(t){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(t.tagName)}function h(t){return t&&"false"!==t||!1}function g(t){return"[object Arguments]"===Object.prototype.toString.call(t)}function p(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(t===n)return!0;if("function"==typeof t||"function"==typeof n)return!0;if("object"!=typeof t||"object"!=typeof n)return!1;if(null===t||null===n)return!1;if(t instanceof Date&&n instanceof Date)return t.getTime()===n.getTime();if(t instanceof RegExp&&n instanceof RegExp)return t.source===n.source&&t.global===n.global&&t.multiline===n.multiline&&t.lastIndex===n.lastIndex&&t.ignoreCase===n.ignoreCase;if(g(t)||g(n)){if(!g(t)||!g(n))return!1;var o=Array.prototype.slice;return p(o.call(t),o.call(n),e,r)}if(t.constructor!==n.constructor)return!1;var i=Object.keys(t),a=Object.keys(n);if(0===i.length&&0===a.length)return!0;if(i.length!==a.length)return!1;for(var u=e.length;u--;)if(e[u]===t)return r[u]===n;e.push(t),r.push(n),i.sort(),a.sort();for(var l=i.length-1;l>=0;l--)if(i[l]!==a[l])return!1;for(var c=void 0,s=i.length-1;s>=0;s--)if(!p(t[c=i[s]],n[c],e,r))return!1;return e.pop(),r.pop(),!0}function v(t,n){var e;return function(){for(var r=this,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];clearTimeout(e),e=setTimeout((function(){return t.apply(r,o)}),n)}}function m(t){if(null!=t){var n="string"==typeof t?parseInt(t,10):t;if(!(n<=0||isNaN(n)))return n}}function b(t,n,e){t&&(t.innerText=a(n,m(e)))}},12:function(t,n,e){e.r(n),e.d(n,{va_on_this_page:function(){return a}});var r=e(1484),o=(e(1429),e(6043)),i=e(4665),a=function(){function t(t){var n=this;(0,r.r)(this,t),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.handleHeadingBlur=function(t){var n=t.target;n.removeAttribute("tabindex"),n.removeAttribute("role")},this.moveFocusToHeading=function(t){var e=t.currentTarget,r=document.getElementById(e.hash.slice(1));r&&(r.setAttribute("tabindex","-1"),r.setAttribute("role","text"),r.focus(),r.addEventListener("blur",n.handleHeadingBlur,{once:!0}))},this.handleOnClick=function(t){var e,r,o,i;n.moveFocusToHeading(t),n.disableAnalytics||n.componentLibraryAnalytics.emit({componentName:"va-on-this-page",action:"click",details:{"click-text":(null===(r=null===(e=t.composedPath())||void 0===e?void 0:e[0])||void 0===r?void 0:r.textContent)||(null===(i=null===(o=t.path)||void 0===o?void 0:o[0])||void 0===i?void 0:i.textContent)}})},this.headerLevel=2,this.disableAnalytics=!1}return t.prototype.connectedCallback=function(){var t=this;i.i.on("languageChanged",(function(){(0,r.f)(t.el)}))},t.prototype.disconnectedCallback=function(){i.i.off("languageChanged")},t.prototype.render=function(){var t=this.handleOnClick,n=(0,o.g)(this.headerLevel)||"h2",e=Array.from(document.querySelectorAll("article h2")).filter((function(t){return t.id}));return(0,r.h)("nav",{"aria-labelledby":"on-this-page"},(0,r.h)(n,{id:"on-this-page"},i.i.t("on-this-page")),(0,r.h)("ul",null,e.map((function(n){return(0,r.h)("li",null,(0,r.h)("a",{href:"#".concat(n.id),onClick:t},(0,r.h)("va-icon",{icon:"arrow_downward"}),(0,r.h)("span",null,n.innerText)))}))))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),t}();a.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}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}a{text-decoration:none;color:var(--vads-color-link);-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color}a:hover{background-color:rgba(0, 0, 0, 0.05);color:inherit}a:visited{color:var(--vads-color-link-visited)}:host{display:block;border:1px solid var(--vads-color-base-light);border-radius:4px;padding:1em}@media (min-width: 768px){:host{border:none;padding:1em 1em 1em 0}}#on-this-page{font-family:var(--font-serif);font-size:1.25rem;font-weight:var(--font-weight-normal);margin:0.4em 0em}ul{margin-top:0;margin-bottom:0;margin-left:0;list-style-type:none;padding-left:0}li,#on-this-page{padding:0.5em;max-width:var(--vads-size-line-length-4)}li a{line-height:1.5em;display:-ms-flexbox;display:flex}li:hover{background-color:rgba(0, 0, 0, 0.05)}li a:hover{background-color:transparent}va-icon{margin-right:4px;padding-top:4px;line-height:1}'}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 141.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([[141,4569],{4569:function(e,i,t){t.r(i),t.d(i,{c:function(){return o}});var n,r={exports:{}};n=r,function(){var e={}.hasOwnProperty;function i(){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var a=i.apply(null,r);a&&t.push(a)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var s in r)e.call(r,s)&&r[s]&&t.push(s);else t.push(r.toString())}}return t.join(" ")}n.exports?(i.default=i,n.exports=i):window.classNames=i}();var o=r.exports},141:function(e,i,t){t.r(i),t.d(i,{va_icon:function(){return a}});var n=t(7911),r=t(4569),o=t(6012),a=function(){function e(e){(0,n.r)(this,e),this.fallbackSpriteLocation="/img/sprite.svg",this.icon=void 0,this.spriteLocation=void 0,this.size=void 0,this.srtext=void 0}return e.prototype.getSize=function(){return this.size&&![3,4,5,6,7,8,9].includes(this.size)?null:this.size},e.prototype.validateSpriteLocation=function(e){var i=this.fallbackSpriteLocation;try{var t=new URL(e,window.location.origin);return t.origin===window.location.origin&&t.pathname.endsWith(".svg")&&!e.includes("..")&&(i=t.pathname),i}catch(e){return i}},e.prototype.componentWillLoad=function(){globalThis.getVaIconSpriteLocation||(0,o.i)()},e.prototype.render=function(){var e,i=this,t=i.icon,o=i.srtext,a=i.spriteLocation,s=this.getSize(),c=(0,r.c)(((e={"usa-icon":!0})["usa-icon--size-".concat(s)]=!!s,e)),l=this.validateSpriteLocation(a||globalThis.getVaIconSpriteLocation())+"#".concat(t);return(0,n.h)(n.H,{key:"791b80e7e07e9264120e888dc80d183be2bcc2fa"},(0,n.h)("svg",{key:"e3f207728b1530284161f41ccfb685c0fbf213ed",class:c,"aria-labelledby":o?"icon-title":null,"aria-hidden":o?null:"true",focusable:"false",role:"img"},o&&(0,n.h)("title",{key:"ff3449ac8fa69c69827c7ab1317a194c392aef93",id:"icon-title"},o),(0,n.h)("use",{key:"660753ee708ad4d0c520dda081b10288e9fa43a2",href:l})))},Object.defineProperty(e,"assetsDirs",{get:function(){return["../img"]},enumerable:!1,configurable:!0}),e}();a.style=".usa-icon{display:inline-block;fill:currentColor;height:1em;position:relative;width:1em}.usa-icon--size-3{height:1.5rem;width:1.5rem}.usa-icon--size-4{height:2rem;width:2rem}.usa-icon--size-5{height:2.5rem;width:2.5rem}.usa-icon--size-6{height:3rem;width:3rem}.usa-icon--size-7{height:3.5rem;width:3.5rem}.usa-icon--size-8{height:4rem;width:4rem}.usa-icon--size-9{height:4.5rem;width:4.5rem}:host{display:inline-block;line-height:0;vertical-align:bottom}"}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[141,4569],{4569:function(i,e,t){t.r(e),t.d(e,{c:function(){return o}});var n,r={exports:{}};n=r,function(){var i={}.hasOwnProperty;function e(){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var a=e.apply(null,r);a&&t.push(a)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var s in r)i.call(r,s)&&r[s]&&t.push(s);else t.push(r.toString())}}return t.join(" ")}n.exports?(e.default=e,n.exports=e):window.classNames=e}();var o=r.exports},141:function(i,e,t){t.r(e),t.d(e,{va_icon:function(){return a}});var n=t(1484),r=t(4569),o=t(6012),a=function(){function i(i){(0,n.r)(this,i),this.fallbackSpriteLocation="/img/sprite.svg",this.icon=void 0,this.spriteLocation=void 0,this.size=void 0,this.srtext=void 0}return i.prototype.getSize=function(){return this.size&&![3,4,5,6,7,8,9].includes(this.size)?null:this.size},i.prototype.validateSpriteLocation=function(i){var e=this.fallbackSpriteLocation;try{var t=new URL(i,window.location.origin);return t.origin===window.location.origin&&t.pathname.endsWith(".svg")&&!i.includes("..")&&(e=t.pathname),e}catch(i){return e}},i.prototype.componentWillLoad=function(){globalThis.getVaIconSpriteLocation||(0,o.i)()},i.prototype.render=function(){var i,e=this,t=e.icon,o=e.srtext,a=e.spriteLocation,s=this.getSize(),c=(0,r.c)(((i={"usa-icon":!0})["usa-icon--size-".concat(s)]=!!s,i)),l=this.validateSpriteLocation(a||globalThis.getVaIconSpriteLocation())+"#".concat(t);return(0,n.h)(n.H,{key:"87937ec8feb83c5fda54a8df2e4fb8d568c3e6bf"},(0,n.h)("svg",{key:"90af82328276ad672588d5595164fb4ab7a6123e",class:c,"aria-labelledby":o?"icon-title":null,"aria-hidden":o?null:"true",focusable:"false",role:"img"},o&&(0,n.h)("title",{key:"8bd56db2a5c8adcb615472314cdb99f1a7084396",id:"icon-title"},o),(0,n.h)("use",{key:"e7f1b8669691a35229718e0406cdde453729d6c7",href:l})))},Object.defineProperty(i,"assetsDirs",{get:function(){return["../img"]},enumerable:!1,configurable:!0}),i}();a.style=".usa-icon{display:inline-block;fill:currentColor;height:1em;position:relative;width:1em}.usa-icon--size-3{height:1.5rem;width:1.5rem}.usa-icon--size-4{height:2rem;width:2rem}.usa-icon--size-5{height:2.5rem;width:2.5rem}.usa-icon--size-6{height:3rem;width:3rem}.usa-icon--size-7{height:3.5rem;width:3.5rem}.usa-icon--size-8{height:4rem;width:4rem}.usa-icon--size-9{height:4.5rem;width:4.5rem}:host{display:inline-block;line-height:0;vertical-align:bottom}"}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 1822.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([[1822,4569,6104],{4569:function(e,t,r){r.r(t),r.d(t,{c:function(){return o}});var n,a={exports:{}};n=a,function(){var e={}.hasOwnProperty;function t(){for(var r=[],n=0;n<arguments.length;n++){var a=arguments[n];if(a){var o=typeof a;if("string"===o||"number"===o)r.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&r.push(i)}}else if("object"===o)if(a.toString===Object.prototype.toString)for(var s in a)e.call(a,s)&&a[s]&&r.push(s);else r.push(a.toString())}}return r.join(" ")}n.exports?(t.default=t,n.exports=t):window.classNames=t}();var o=a.exports},6104:function(e,t,r){function n(e){return!Number.isNaN(parseFloat(e))}function a(e,t,r){void 0===r&&(r="slot");var n=e.shadowRoot.querySelector(r).assignedNodes();return null!==t?Array.from(n).filter((function(e){return e.nodeName.toLowerCase()===t})):Array.from(n)}function o(e){return 1===e?"":"s"}function i(e,t){if(void 0===e||""===e)return"".concat(t," character").concat(o(t)," allowed");var r;if(e.length<=t){var n=t-e.length;r="".concat(n," character").concat(o(n)," left")}else n=e.length-t,r="".concat(n," character").concat(o(n)," over limit");return r}function s(e,t){return Array.from({length:t-e+1},(function(t,r){return e+r}))}r.r(t),r.d(t,{S:function(){return g},a:function(){return a},b:function(){return n},c:function(){return v},d:function(){return f},e:function(){return p},f:function(){return i},g:function(){return h},h:function(){return c},i:function(){return m},m:function(){return s},s:function(){return u},u:function(){return b}}),r(7911);var l=function(e){return e&&"object"==typeof e&&1===e.nodeType};function u(e,t){var r=function(e,t){if("string"!=typeof e)return[];if(!t||!l(t))return[];var r=t.shadowRoot.querySelectorAll(e);return Array.from(r)}(e,t);return"string"!=typeof e||l(t)&&t.matches(e)&&r.push(t),r}var g={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return g._entities[e]},escapeHTML:function(e){for(var t="",r=0;r<e.length;r++)t+=e[r],r+1<arguments.length&&(t+=String(arguments[r+1]||"").replace(g._entity,g.getEntity));return t}};function h(e){var t;return(t="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&t<=6?"h".concat(t):null}function c(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function m(e){return e&&"false"!==e||!1}function d(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function f(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"==typeof e||"function"==typeof t)return!0;if("object"!=typeof e||"object"!=typeof t)return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(d(e)||d(t)){if(!d(e)||!d(t))return!1;var a=Array.prototype.slice;return f(a.call(e),a.call(t),r,n)}if(e.constructor!==t.constructor)return!1;var o=Object.keys(e),i=Object.keys(t);if(0===o.length&&0===i.length)return!0;if(o.length!==i.length)return!1;for(var s=r.length;s--;)if(r[s]===e)return n[s]===t;r.push(e),n.push(t),o.sort(),i.sort();for(var l=o.length-1;l>=0;l--)if(o[l]!==i[l])return!1;for(var u=void 0,g=o.length-1;g>=0;g--)if(!f(e[u=o[g]],t[u],r,n))return!1;return r.pop(),n.pop(),!0}function v(e,t){var r;return function(){for(var n=this,a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];clearTimeout(r),r=setTimeout((function(){return e.apply(n,a)}),t)}}function p(e){if(null!=e){var t="string"==typeof e?parseInt(e,10):e;if(!(t<=0||isNaN(t)))return t}}function b(e,t,r){e&&(e.innerText=i(t,p(r)))}},1822:function(e,t,r){r.r(t),r.d(t,{va_alert_sign_in:function(){return l}});var n,a,o=r(7911),i=r(4569),s=r(6104);(a=n||(n={})).signInRequired="signInRequired",a.signInOptional="signInOptional",a.signInOptionalNoPrefill="signInOptionalNoPrefill",a.verifyIdMe="verifyIdMe",a.verifyLoginGov="verifyLoginGov",a.signInEither="signInEither";var l=function(){function e(e){(0,o.r)(this,e),this.variant=n.signInRequired,this.headingLevel=2,this.visible=!0,this.timeLimit="15 minutes",this.noSignInLink=void 0}return e.prototype.render=function(){var e,t=this,r=this.visible,a=this.variant;if(Object.values(n).includes(a)||(console.error("A non-allowed variant name was provided, please check your spelling."),a=n.signInRequired),!r)return(0,o.h)("div",{"aria-live":"polite"});var l=(0,i.c)("usa-alert","va-alert-sign-in--".concat(a),{"usa-alert--info":a===n.signInRequired||a===n.signInOptional||a===n.signInOptionalNoPrefill,"usa-alert--warning":a!==n.signInRequired&&a!==n.signInOptional&&a!==n.signInOptionalNoPrefill}),u=(0,s.g)(this.headingLevel),g=((e={})[n.signInEither]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"You need to sign in with a different account"),(0,o.h)("p",null,"We need you to sign in with an identity-verified account. This helps us protect all Veterans’ information and prevent scammers from stealing your benefits. You have 2 options: a verified"," ",(0,o.h)("strong",null,"Login.gov")," or a verified ",(0,o.h)("strong",null,"ID.me")," ","account."),(0,o.h)("p",null,(0,o.h)("strong",null,"If you already have a Login.gov or ID.me account,")," ","sign in with that account. If you still need to verify your identity for your account, we’ll help you do that now."),(0,o.h)("p",null,(0,o.h)("strong",null,"If you don’t have a Login.gov or ID.me account,")," ","create one now. We’ll help you verify your identity."),(0,o.h)("p",null,(0,o.h)("slot",{name:"LoginGovSignInButton"})),(0,o.h)("p",null,(0,o.h)("slot",{name:"IdMeSignInButton"})),(0,o.h)("p",null,(0,o.h)("va-link",{href:"https://www.va.gov/resources/creating-an-account-for-vagov",text:"Learn about creating an account",disableAnalytics:!0})))},e[n.signInOptional]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Sign in with a verified account"),(0,o.h)("p",null,"Here’s how signing in with an identity-verified account helps you:"),(0,o.h)("ul",null,(0,o.h)("li",null,"We can fill in some of your information for you to save you time."),(0,o.h)("li",null,"You can save your work in progress. You’ll have ",t.timeLimit," ","from when you start or make changes to submit your form.")),(0,o.h)("p",null,(0,o.h)("strong",null,"Don’t yet have a verified account?")," Create a"," ",(0,o.h)("strong",null,"Login.gov")," or ",(0,o.h)("strong",null,"ID.me")," account. We’ll help you verify your identity for your account now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Not sure if your account is verified?")," Sign in here. If you still need to verify your identity, we’ll help you do that now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Note:")," You can sign in after you start filling out your form. But you’ll lose any information you already filled in."),(0,o.h)("p",null,(0,o.h)("slot",{name:"SignInButton"})),t.noSignInLink&&(0,o.h)("p",null,(0,o.h)("va-link",{href:t.noSignInLink,text:"Start your form without signing in",disableAnalytics:!0})))},e[n.signInOptionalNoPrefill]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Sign in with a verified account"),(0,o.h)("p",null,"When you sign in with an identity-verified account, you can save your work in progress. You’ll have 60 days from when you start or make changes to submit your form."),(0,o.h)("p",null,(0,o.h)("strong",null,"Don’t yet have a verified account?")," Create a"," ",(0,o.h)("strong",null,"Login.gov")," or ",(0,o.h)("strong",null,"ID.me")," account. We’ll help you verify your identity for your account now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Not sure if your account is verified?")," Sign in here. If you still need to verify your identity, we’ll help you do that now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Note:")," You can sign in after you start filling out your form. But you’ll lose any information you already filled in."),(0,o.h)("p",null,(0,o.h)("slot",{name:"SignInButton"})),t.noSignInLink&&(0,o.h)("p",null,(0,o.h)("va-link",{href:t.noSignInLink,text:"Start your form without signing in",disableAnalytics:!0})))},e[n.signInRequired]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Sign in with a verified account"),(0,o.h)("p",null,"You’ll need to sign in with an identity-verified account through one of our account providers. Identity verification helps us protect all Veterans’ information and prevent scammers from stealing your benefits."),(0,o.h)("p",null,(0,o.h)("strong",null,"Don’t yet have a verified account?")," Create a"," ",(0,o.h)("strong",null,"Login.gov")," or ",(0,o.h)("strong",null,"ID.me")," account. We’ll help you verify your identity for your account now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Not sure if your account is verified?")," Sign in here. If you still need to verify your identity, we’ll help you do that now."),(0,o.h)("p",null,(0,o.h)("slot",{name:"SignInButton"})),(0,o.h)("p",null,(0,o.h)("va-link",{href:"https://www.va.gov/resources/creating-an-account-for-vagov",text:"Learn about creating an account",disableAnalytics:!0})))},e[n.verifyIdMe]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Verify your identity"),(0,o.h)("p",null,"We need you to verify your identity for your ",(0,o.h)("strong",null,"ID.me")," ","account. This step helps us protect all Veterans’ information and prevent scammers from stealing your benefits."),(0,o.h)("p",null,"This one-time process often takes about 10 minutes. You’ll need to provide certain personal information and identification."),(0,o.h)("p",null,(0,o.h)("slot",{name:"IdMeVerifyButton"})),(0,o.h)("p",null,(0,o.h)("va-link",{href:"https://www.va.gov/resources/verifying-your-identity-on-vagov/",text:"Learn more about verifying your identity",disableAnalytics:!0})))},e[n.verifyLoginGov]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Verify your identity"),(0,o.h)("p",null,"We need you to verify your identity for your"," ",(0,o.h)("strong",null,"Login.gov")," account. This step helps us protect all Veterans’ information and prevent scammers from stealing your benefits."),(0,o.h)("p",null,"This one-time process often takes about 10 minutes. You’ll need to provide certain personal information and identification."),(0,o.h)("p",null,(0,o.h)("slot",{name:"LoginGovVerifyButton"})),(0,o.h)("p",null,(0,o.h)("va-link",{href:"https://www.va.gov/resources/verifying-your-identity-on-vagov/",text:"Learn more about verifying your identity",disableAnalytics:!0})))},e)[a];return(0,o.h)(o.H,null,(0,o.h)("div",{role:this.el.getAttribute("data-role"),class:l,"aria-label":this.el.getAttribute("data-label")},(0,o.h)("div",{class:"usa-alert__body"},(0,o.h)("div",null,(0,o.h)("va-icon",{class:"va-alert-sign-in__lock-icon",icon:"lock",size:4}),(0,o.h)(g,null)))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,o.g)(this)},enumerable:!1,configurable:!0}),e}();l.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}.usa-alert{background-color:#f0f0f0;border-left:0.5rem solid #a9aeb1;color:#1b1b1b}.usa-alert .usa-alert__body{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;padding-bottom:1rem;padding-top:1rem;position:relative}.usa-alert .usa-alert__text{margin-bottom:0;margin-top:0}.usa-alert .usa-alert__text:only-child{padding-bottom:0;padding-top:0}.usa-alert .usa-alert__heading{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.46rem;line-height:0.9;margin-top:0;margin-bottom:0.5rem}.usa-alert>.usa-list,.usa-alert .usa-alert__body>.usa-list{padding-left:2ch}.usa-alert>.usa-list:last-child,.usa-alert .usa-alert__body>.usa-list:last-child{margin-bottom:0}.usa-alert .usa-alert__body{padding-left:1.25rem;padding-right:1.25rem}.usa-alert .usa-alert__body::before{left:1.0833333333rem}*+.usa-alert{margin-top:1rem}.usa-alert--success{background-color:#ecf3ec;border-left-color:#00a91c}.usa-alert--success .usa-alert__body{color:#1b1b1b;background-color:#ecf3ec;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--success .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--success .usa-alert__body::before{background:none;background-color:#1b1b1b;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--success .usa-alert__body>*{margin-left:2.5rem}.usa-alert--success .usa-alert__body .usa-link{color:#005ea2}.usa-alert--success .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--success .usa-alert__body .usa-link:hover,.usa-alert--success .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--warning{background-color:#faf3d1;border-left-color:#ffbe2e}.usa-alert--warning .usa-alert__body{color:#1b1b1b;background-color:#faf3d1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--warning .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--warning .usa-alert__body::before{background:none;background-color:#1b1b1b;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--warning .usa-alert__body>*{margin-left:2.5rem}.usa-alert--warning .usa-alert__body .usa-link{color:#005ea2}.usa-alert--warning .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--warning .usa-alert__body .usa-link:hover,.usa-alert--warning .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--error{background-color:#f4e3db;border-left-color:#d54309}.usa-alert--error .usa-alert__body{color:#1b1b1b;background-color:#f4e3db;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--error .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--error .usa-alert__body::before{background:none;background-color:#1b1b1b;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--error .usa-alert__body>*{margin-left:2.5rem}.usa-alert--error .usa-alert__body .usa-link{color:#005ea2}.usa-alert--error .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--error .usa-alert__body .usa-link:hover,.usa-alert--error .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--info{background-color:#e7f6f8;border-left-color:#00bde3}.usa-alert--info .usa-alert__body{color:#1b1b1b;background-color:#e7f6f8;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--info .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--info .usa-alert__body::before{background:none;background-color:#1b1b1b;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--info .usa-alert__body>*{margin-left:2.5rem}.usa-alert--info .usa-alert__body .usa-link{color:#005ea2}.usa-alert--info .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--info .usa-alert__body .usa-link:hover,.usa-alert--info .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--emergency{background-color:#9c3d10;border-left-color:#9c3d10}.usa-alert--emergency .usa-alert__body{color:white;background-color:#9c3d10;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--emergency .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 width%3D%2224%22%3E%3Cpath d%3D%22M0 0h24v24H0z%22 fill%3D%22none%22%2F%3E%3Cpath fill%3D%22%23fff%22 d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--emergency .usa-alert__body::before{background:none;background-color:white;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--emergency .usa-alert__body>*{margin-left:2.5rem}.usa-alert--emergency .usa-alert__body .usa-link{color:#dfe1e2}.usa-alert--emergency .usa-alert__body .usa-link:visited{color:#dfe1e2}.usa-alert--emergency .usa-alert__body .usa-link:hover,.usa-alert--emergency .usa-alert__body .usa-link:active{color:#f0f0f0}.usa-alert--slim .usa-alert__body{padding-bottom:0.5rem;padding-top:0.5rem;min-height:0}.usa-alert--slim .usa-alert__body:before{height:1.5rem;top:0.5rem;width:1.5rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--slim .usa-alert__body:before{-webkit-mask-size:1.5rem;mask-size:1.5rem}}.usa-alert--slim .usa-alert__body>*{margin-left:2rem}.usa-alert--slim .usa-alert__body::before{left:1.125rem}.usa-alert--no-icon .usa-alert__body{min-height:0}.usa-alert--no-icon .usa-alert__body:before{display:none}.usa-alert--no-icon .usa-alert__body>*{margin-left:0}.usa-alert--validation .usa-checklist{margin-top:1rem}:host{display:block;position:relative}.usa-alert--info .usa-alert__body::before,.usa-alert--warning .usa-alert__body::before{-webkit-mask:none;mask:none;background:transparent}.va-alert-sign-in__lock-icon{position:absolute;top:12px;left:24px}@media screen and (max-width: 1024px){.va-alert-sign-in__lock-icon{left:12px}}:host .headline{font-size:1.33rem;margin-top:0;margin-bottom:0.5rem;font-family:var(--font-serif)}:host ul{-webkit-padding-start:1.2em;padding-inline-start:1.2em}'}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[1822,4569,6043],{4569:function(e,t,r){r.r(t),r.d(t,{c:function(){return o}});var n,a={exports:{}};n=a,function(){var e={}.hasOwnProperty;function t(){for(var r=[],n=0;n<arguments.length;n++){var a=arguments[n];if(a){var o=typeof a;if("string"===o||"number"===o)r.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&r.push(i)}}else if("object"===o)if(a.toString===Object.prototype.toString)for(var s in a)e.call(a,s)&&a[s]&&r.push(s);else r.push(a.toString())}}return r.join(" ")}n.exports?(t.default=t,n.exports=t):window.classNames=t}();var o=a.exports},6043:function(e,t,r){function n(e){return!Number.isNaN(parseFloat(e))}function a(e,t,r){void 0===r&&(r="slot");var n=e.shadowRoot.querySelector(r).assignedNodes();return null!==t?Array.from(n).filter((function(e){return e.nodeName.toLowerCase()===t})):Array.from(n)}function o(e){return 1===e?"":"s"}function i(e,t){if(void 0===e||""===e)return"".concat(t," character").concat(o(t)," allowed");var r;if(e.length<=t){var n=t-e.length;r="".concat(n," character").concat(o(n)," left")}else n=e.length-t,r="".concat(n," character").concat(o(n)," over limit");return r}function s(e,t){return Array.from({length:t-e+1},(function(t,r){return e+r}))}r.r(t),r.d(t,{S:function(){return g},a:function(){return a},b:function(){return n},c:function(){return v},d:function(){return f},e:function(){return p},f:function(){return i},g:function(){return h},h:function(){return c},i:function(){return m},m:function(){return s},s:function(){return u},u:function(){return b}}),r(1484);var l=function(e){return e&&"object"==typeof e&&1===e.nodeType};function u(e,t){var r=function(e,t){if("string"!=typeof e)return[];if(!t||!l(t))return[];var r=t.shadowRoot.querySelectorAll(e);return Array.from(r)}(e,t);return"string"!=typeof e||l(t)&&t.matches(e)&&r.push(t),r}var g={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(e){return g._entities[e]},escapeHTML:function(e){for(var t="",r=0;r<e.length;r++)t+=e[r],r+1<arguments.length&&(t+=String(arguments[r+1]||"").replace(g._entity,g.getEntity));return t}};function h(e){var t;return(t="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&t<=6?"h".concat(t):null}function c(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function m(e){return e&&"false"!==e||!1}function d(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function f(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"==typeof e||"function"==typeof t)return!0;if("object"!=typeof e||"object"!=typeof t)return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(d(e)||d(t)){if(!d(e)||!d(t))return!1;var a=Array.prototype.slice;return f(a.call(e),a.call(t),r,n)}if(e.constructor!==t.constructor)return!1;var o=Object.keys(e),i=Object.keys(t);if(0===o.length&&0===i.length)return!0;if(o.length!==i.length)return!1;for(var s=r.length;s--;)if(r[s]===e)return n[s]===t;r.push(e),n.push(t),o.sort(),i.sort();for(var l=o.length-1;l>=0;l--)if(o[l]!==i[l])return!1;for(var u=void 0,g=o.length-1;g>=0;g--)if(!f(e[u=o[g]],t[u],r,n))return!1;return r.pop(),n.pop(),!0}function v(e,t){var r;return function(){for(var n=this,a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];clearTimeout(r),r=setTimeout((function(){return e.apply(n,a)}),t)}}function p(e){if(null!=e){var t="string"==typeof e?parseInt(e,10):e;if(!(t<=0||isNaN(t)))return t}}function b(e,t,r){e&&(e.innerText=i(t,p(r)))}},1822:function(e,t,r){r.r(t),r.d(t,{va_alert_sign_in:function(){return l}});var n,a,o=r(1484),i=r(4569),s=r(6043);(a=n||(n={})).signInRequired="signInRequired",a.signInOptional="signInOptional",a.signInOptionalNoPrefill="signInOptionalNoPrefill",a.verifyIdMe="verifyIdMe",a.verifyLoginGov="verifyLoginGov",a.signInEither="signInEither";var l=function(){function e(e){(0,o.r)(this,e),this.variant=n.signInRequired,this.headingLevel=2,this.visible=!0,this.timeLimit="15 minutes",this.noSignInLink=void 0}return e.prototype.render=function(){var e,t=this,r=this.visible,a=this.variant;if(Object.values(n).includes(a)||(console.error("A non-allowed variant name was provided, please check your spelling."),a=n.signInRequired),!r)return(0,o.h)("div",{"aria-live":"polite"});var l=(0,i.c)("usa-alert","va-alert-sign-in--".concat(a),{"usa-alert--info":a===n.signInRequired||a===n.signInOptional||a===n.signInOptionalNoPrefill,"usa-alert--warning":a!==n.signInRequired&&a!==n.signInOptional&&a!==n.signInOptionalNoPrefill}),u=(0,s.g)(this.headingLevel),g=((e={})[n.signInEither]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"You need to sign in with a different account"),(0,o.h)("p",null,"We need you to sign in with an identity-verified account. This helps us protect all Veterans’ information and prevent scammers from stealing your benefits. You have 2 options: a verified"," ",(0,o.h)("strong",null,"Login.gov")," or a verified ",(0,o.h)("strong",null,"ID.me")," ","account."),(0,o.h)("p",null,(0,o.h)("strong",null,"If you already have a Login.gov or ID.me account,")," ","sign in with that account. If you still need to verify your identity for your account, we’ll help you do that now."),(0,o.h)("p",null,(0,o.h)("strong",null,"If you don’t have a Login.gov or ID.me account,")," ","create one now. We’ll help you verify your identity."),(0,o.h)("p",null,(0,o.h)("slot",{name:"LoginGovSignInButton"})),(0,o.h)("p",null,(0,o.h)("slot",{name:"IdMeSignInButton"})),(0,o.h)("p",null,(0,o.h)("va-link",{href:"https://www.va.gov/resources/creating-an-account-for-vagov",text:"Learn about creating an account",disableAnalytics:!0})))},e[n.signInOptional]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Sign in with a verified account"),(0,o.h)("p",null,"Here’s how signing in with an identity-verified account helps you:"),(0,o.h)("ul",null,(0,o.h)("li",null,"We can fill in some of your information for you to save you time."),(0,o.h)("li",null,"You can save your work in progress. You’ll have ",t.timeLimit," ","from when you start or make changes to submit your form.")),(0,o.h)("p",null,(0,o.h)("strong",null,"Don’t yet have a verified account?")," Create a"," ",(0,o.h)("strong",null,"Login.gov")," or ",(0,o.h)("strong",null,"ID.me")," account. We’ll help you verify your identity for your account now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Not sure if your account is verified?")," Sign in here. If you still need to verify your identity, we’ll help you do that now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Note:")," You can sign in after you start filling out your form. But you’ll lose any information you already filled in."),(0,o.h)("p",null,(0,o.h)("slot",{name:"SignInButton"})),t.noSignInLink&&(0,o.h)("p",null,(0,o.h)("va-link",{href:t.noSignInLink,text:"Start your form without signing in",disableAnalytics:!0})))},e[n.signInOptionalNoPrefill]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Sign in with a verified account"),(0,o.h)("p",null,"When you sign in with an identity-verified account, you can save your work in progress. You’ll have 60 days from when you start or make changes to submit your form."),(0,o.h)("p",null,(0,o.h)("strong",null,"Don’t yet have a verified account?")," Create a"," ",(0,o.h)("strong",null,"Login.gov")," or ",(0,o.h)("strong",null,"ID.me")," account. We’ll help you verify your identity for your account now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Not sure if your account is verified?")," Sign in here. If you still need to verify your identity, we’ll help you do that now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Note:")," You can sign in after you start filling out your form. But you’ll lose any information you already filled in."),(0,o.h)("p",null,(0,o.h)("slot",{name:"SignInButton"})),t.noSignInLink&&(0,o.h)("p",null,(0,o.h)("va-link",{href:t.noSignInLink,text:"Start your form without signing in",disableAnalytics:!0})))},e[n.signInRequired]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Sign in with a verified account"),(0,o.h)("p",null,"You’ll need to sign in with an identity-verified account through one of our account providers. Identity verification helps us protect all Veterans’ information and prevent scammers from stealing your benefits."),(0,o.h)("p",null,(0,o.h)("strong",null,"Don’t yet have a verified account?")," Create a"," ",(0,o.h)("strong",null,"Login.gov")," or ",(0,o.h)("strong",null,"ID.me")," account. We’ll help you verify your identity for your account now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Not sure if your account is verified?")," Sign in here. If you still need to verify your identity, we’ll help you do that now."),(0,o.h)("p",null,(0,o.h)("slot",{name:"SignInButton"})),(0,o.h)("p",null,(0,o.h)("va-link",{href:"https://www.va.gov/resources/creating-an-account-for-vagov",text:"Learn about creating an account",disableAnalytics:!0})))},e[n.verifyIdMe]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Verify your identity"),(0,o.h)("p",null,"We need you to verify your identity for your ",(0,o.h)("strong",null,"ID.me")," ","account. This step helps us protect all Veterans’ information and prevent scammers from stealing your benefits."),(0,o.h)("p",null,"This one-time process often takes about 10 minutes. You’ll need to provide certain personal information and identification."),(0,o.h)("p",null,(0,o.h)("slot",{name:"IdMeVerifyButton"})),(0,o.h)("p",null,(0,o.h)("va-link",{href:"https://www.va.gov/resources/verifying-your-identity-on-vagov/",text:"Learn more about verifying your identity",disableAnalytics:!0})))},e[n.verifyLoginGov]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Verify your identity"),(0,o.h)("p",null,"We need you to verify your identity for your"," ",(0,o.h)("strong",null,"Login.gov")," account. This step helps us protect all Veterans’ information and prevent scammers from stealing your benefits."),(0,o.h)("p",null,"This one-time process often takes about 10 minutes. You’ll need to provide certain personal information and identification."),(0,o.h)("p",null,(0,o.h)("slot",{name:"LoginGovVerifyButton"})),(0,o.h)("p",null,(0,o.h)("va-link",{href:"https://www.va.gov/resources/verifying-your-identity-on-vagov/",text:"Learn more about verifying your identity",disableAnalytics:!0})))},e)[a];return(0,o.h)(o.H,null,(0,o.h)("div",{role:this.el.getAttribute("data-role"),class:l,"aria-label":this.el.getAttribute("data-label")},(0,o.h)("div",{class:"usa-alert__body"},(0,o.h)("div",null,(0,o.h)("va-icon",{class:"va-alert-sign-in__lock-icon",icon:"lock",size:4}),(0,o.h)(g,null)))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,o.g)(this)},enumerable:!1,configurable:!0}),e}();l.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}.usa-alert{background-color:#f0f0f0;border-left:0.5rem solid #a9aeb1;color:#1b1b1b}.usa-alert .usa-alert__body{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;padding-bottom:1rem;padding-top:1rem;position:relative}.usa-alert .usa-alert__text{margin-bottom:0;margin-top:0}.usa-alert .usa-alert__text:only-child{padding-bottom:0;padding-top:0}.usa-alert .usa-alert__heading{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.46rem;line-height:0.9;margin-top:0;margin-bottom:0.5rem}.usa-alert>.usa-list,.usa-alert .usa-alert__body>.usa-list{padding-left:2ch}.usa-alert>.usa-list:last-child,.usa-alert .usa-alert__body>.usa-list:last-child{margin-bottom:0}.usa-alert .usa-alert__body{padding-left:1.25rem;padding-right:1.25rem}.usa-alert .usa-alert__body::before{left:1.0833333333rem}*+.usa-alert{margin-top:1rem}.usa-alert--success{background-color:#ecf3ec;border-left-color:#00a91c}.usa-alert--success .usa-alert__body{color:#1b1b1b;background-color:#ecf3ec;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--success .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--success .usa-alert__body::before{background:none;background-color:#1b1b1b;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--success .usa-alert__body>*{margin-left:2.5rem}.usa-alert--success .usa-alert__body .usa-link{color:#005ea2}.usa-alert--success .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--success .usa-alert__body .usa-link:hover,.usa-alert--success .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--warning{background-color:#faf3d1;border-left-color:#ffbe2e}.usa-alert--warning .usa-alert__body{color:#1b1b1b;background-color:#faf3d1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--warning .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--warning .usa-alert__body::before{background:none;background-color:#1b1b1b;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--warning .usa-alert__body>*{margin-left:2.5rem}.usa-alert--warning .usa-alert__body .usa-link{color:#005ea2}.usa-alert--warning .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--warning .usa-alert__body .usa-link:hover,.usa-alert--warning .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--error{background-color:#f4e3db;border-left-color:#d54309}.usa-alert--error .usa-alert__body{color:#1b1b1b;background-color:#f4e3db;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--error .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--error .usa-alert__body::before{background:none;background-color:#1b1b1b;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--error .usa-alert__body>*{margin-left:2.5rem}.usa-alert--error .usa-alert__body .usa-link{color:#005ea2}.usa-alert--error .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--error .usa-alert__body .usa-link:hover,.usa-alert--error .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--info{background-color:#e7f6f8;border-left-color:#00bde3}.usa-alert--info .usa-alert__body{color:#1b1b1b;background-color:#e7f6f8;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--info .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--info .usa-alert__body::before{background:none;background-color:#1b1b1b;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--info .usa-alert__body>*{margin-left:2.5rem}.usa-alert--info .usa-alert__body .usa-link{color:#005ea2}.usa-alert--info .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--info .usa-alert__body .usa-link:hover,.usa-alert--info .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--emergency{background-color:#9c3d10;border-left-color:#9c3d10}.usa-alert--emergency .usa-alert__body{color:white;background-color:#9c3d10;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--emergency .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 width%3D%2224%22%3E%3Cpath d%3D%22M0 0h24v24H0z%22 fill%3D%22none%22%2F%3E%3Cpath fill%3D%22%23fff%22 d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--emergency .usa-alert__body::before{background:none;background-color:white;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--emergency .usa-alert__body>*{margin-left:2.5rem}.usa-alert--emergency .usa-alert__body .usa-link{color:#dfe1e2}.usa-alert--emergency .usa-alert__body .usa-link:visited{color:#dfe1e2}.usa-alert--emergency .usa-alert__body .usa-link:hover,.usa-alert--emergency .usa-alert__body .usa-link:active{color:#f0f0f0}.usa-alert--slim .usa-alert__body{padding-bottom:0.5rem;padding-top:0.5rem;min-height:0}.usa-alert--slim .usa-alert__body:before{height:1.5rem;top:0.5rem;width:1.5rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--slim .usa-alert__body:before{-webkit-mask-size:1.5rem;mask-size:1.5rem}}.usa-alert--slim .usa-alert__body>*{margin-left:2rem}.usa-alert--slim .usa-alert__body::before{left:1.125rem}.usa-alert--no-icon .usa-alert__body{min-height:0}.usa-alert--no-icon .usa-alert__body:before{display:none}.usa-alert--no-icon .usa-alert__body>*{margin-left:0}.usa-alert--validation .usa-checklist{margin-top:1rem}:host{display:block;position:relative}.usa-alert--info .usa-alert__body::before,.usa-alert--warning .usa-alert__body::before{-webkit-mask:none;mask:none;background:transparent}.va-alert-sign-in__lock-icon{position:absolute;top:12px;left:24px}@media screen and (max-width: 1024px){.va-alert-sign-in__lock-icon{left:12px}}:host .headline{font-size:1.33rem;margin-top:0;margin-bottom:0.5rem;font-family:var(--font-serif)}:host ul{-webkit-padding-start:1.2em;padding-inline-start:1.2em}'}}]);
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 1966.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([[1966,4569],{4569:function(t,o,a){a.r(o),a.d(o,{c:function(){return n}});var e,u={exports:{}};e=u,function(){var t={}.hasOwnProperty;function o(){for(var a=[],e=0;e<arguments.length;e++){var u=arguments[e];if(u){var n=typeof u;if("string"===n||"number"===n)a.push(u);else if(Array.isArray(u)){if(u.length){var s=o.apply(null,u);s&&a.push(s)}}else if("object"===n)if(u.toString===Object.prototype.toString)for(var r in u)t.call(u,r)&&u[r]&&a.push(r);else a.push(u.toString())}}return a.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o}();var n=u.exports},1966:function(t,o,a){a.r(o),a.d(o,{va_button_icon:function(){return n},va_card:function(){return s},va_progress_bar:function(){return r}});var e=a(7911),u=a(4569),n=function(){function t(t){(0,e.r)(this,t),this.componentLibraryAnalytics=(0,e.c)(this,"component-library-analytics",7),this.buttonTypeMap={"change-file":{icon:"attach_file",text:"Change File"},delete:{icon:"delete",text:"Delete"},cancel:{icon:"cancel",text:"Cancel"}},this.disableAnalytics=!1,this.label=void 0,this.buttonType=void 0}return t.prototype.handleClick=function(t){if(!this.disableAnalytics){var o={componentName:"va-button",action:"click",details:{type:"tertiary",label:this.buttonTypeMap[this.buttonType].text}};this.componentLibraryAnalytics.emit(o)}},t.prototype.render=function(){var t=this.label,o=this.buttonType,a=(0,u.c)({"usa-button":!0,"va-button-icon--destructive":"cancel"===o||"delete"===o});return(0,e.h)(e.H,{key:"bfcea8a089d5f55b8cee8f86d5c4b93c8b8126c4"},(0,e.h)("button",{key:"971a2a68888901443f9f839ac736caaf0c7a8526",class:a,"aria-label":t,type:"button",part:"button"},(0,e.h)("va-icon",{key:"7941f42ff7d8d59865dcb0f13c6b3dc29e12d641",icon:this.buttonTypeMap[o].icon,size:2}),this.buttonTypeMap[o].text))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,e.g)(this)},enumerable:!1,configurable:!0}),t}();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}.usa-button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:0.9;color:white;background-color:#005ea2;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-align:center;align-items:center;border:0;border-radius:0.25rem;cursor:pointer;-webkit-column-gap:0.5rem;-moz-column-gap:0.5rem;column-gap:0.5rem;display:-ms-inline-flexbox;display:inline-flex;font-weight:700;-ms-flex-pack:center;justify-content:center;margin-right:0.5rem;padding:0.75rem 1.25rem;text-align:center;text-decoration:none;width:100%}@media all and (min-width: 30em){.usa-button{width:auto}}.usa-button:visited{color:white}.usa-button:hover,.usa-button.usa-button--hover{color:white;background-color:#1a4480;border-bottom:0;text-decoration:none}.usa-button:active,.usa-button.usa-button--active{color:white;background-color:#162e51}.usa-button:not([disabled]):focus,.usa-button:not([disabled]).usa-focus{outline-offset:0.25rem}.usa-button:disabled,.usa-button[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1}.usa-button:disabled:hover,.usa-button:disabled:active,.usa-button:disabled:focus,.usa-button:disabled.usa-focus,.usa-button[aria-disabled=true]:hover,.usa-button[aria-disabled=true]:active,.usa-button[aria-disabled=true]:focus,.usa-button[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-button:disabled,.usa-button[aria-disabled=true]{border:0;color:GrayText}.usa-button:disabled:hover,.usa-button:disabled:active,.usa-button:disabled:focus,.usa-button:disabled.usa-focus,.usa-button[aria-disabled=true]:hover,.usa-button[aria-disabled=true]:active,.usa-button[aria-disabled=true]:focus,.usa-button[aria-disabled=true].usa-focus{color:GrayText}}.usa-button:disabled.usa-button--hover,.usa-button:disabled.usa-button--active,.usa-button[aria-disabled=true].usa-button--hover,.usa-button[aria-disabled=true].usa-button--active{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1}.usa-button:disabled.usa-button--hover:hover,.usa-button:disabled.usa-button--hover:active,.usa-button:disabled.usa-button--hover:focus,.usa-button:disabled.usa-button--hover.usa-focus,.usa-button:disabled.usa-button--active:hover,.usa-button:disabled.usa-button--active:active,.usa-button:disabled.usa-button--active:focus,.usa-button:disabled.usa-button--active.usa-focus,.usa-button[aria-disabled=true].usa-button--hover:hover,.usa-button[aria-disabled=true].usa-button--hover:active,.usa-button[aria-disabled=true].usa-button--hover:focus,.usa-button[aria-disabled=true].usa-button--hover.usa-focus,.usa-button[aria-disabled=true].usa-button--active:hover,.usa-button[aria-disabled=true].usa-button--active:active,.usa-button[aria-disabled=true].usa-button--active:focus,.usa-button[aria-disabled=true].usa-button--active.usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-button:disabled.usa-button--hover,.usa-button:disabled.usa-button--active,.usa-button[aria-disabled=true].usa-button--hover,.usa-button[aria-disabled=true].usa-button--active{border:0;color:GrayText}.usa-button:disabled.usa-button--hover:hover,.usa-button:disabled.usa-button--hover:active,.usa-button:disabled.usa-button--hover:focus,.usa-button:disabled.usa-button--hover.usa-focus,.usa-button:disabled.usa-button--active:hover,.usa-button:disabled.usa-button--active:active,.usa-button:disabled.usa-button--active:focus,.usa-button:disabled.usa-button--active.usa-focus,.usa-button[aria-disabled=true].usa-button--hover:hover,.usa-button[aria-disabled=true].usa-button--hover:active,.usa-button[aria-disabled=true].usa-button--hover:focus,.usa-button[aria-disabled=true].usa-button--hover.usa-focus,.usa-button[aria-disabled=true].usa-button--active:hover,.usa-button[aria-disabled=true].usa-button--active:active,.usa-button[aria-disabled=true].usa-button--active:focus,.usa-button[aria-disabled=true].usa-button--active.usa-focus{color:GrayText}}@media (forced-colors: active){.usa-button:disabled:not(.usa-button--unstyled),.usa-button[aria-disabled=true]:not(.usa-button--unstyled){border:2px solid GrayText}}.usa-button .usa-icon{-ms-flex-negative:0;flex-shrink:0}@media (forced-colors: active){.usa-button:not(.usa-button--unstyled){border:2px solid transparent}}.usa-button--accent-cool{color:#1b1b1b;background-color:#00bde3}.usa-button--accent-cool:visited{color:#1b1b1b;background-color:#00bde3}.usa-button--accent-cool:hover,.usa-button--accent-cool.usa-button--hover{color:#1b1b1b;background-color:#28a0cb}.usa-button--accent-cool:active,.usa-button--accent-cool.usa-button--active{color:white;background-color:#07648d}.usa-button--accent-warm{color:#1b1b1b;background-color:#fa9441}.usa-button--accent-warm:visited{color:#1b1b1b;background-color:#fa9441}.usa-button--accent-warm:hover,.usa-button--accent-warm.usa-button--hover{color:white;background-color:#c05600}.usa-button--accent-warm:active,.usa-button--accent-warm.usa-button--active{color:white;background-color:#775540}.usa-button--outline{background-color:transparent;-webkit-box-shadow:inset 0 0 0 2px #005ea2;box-shadow:inset 0 0 0 2px #005ea2;color:#005ea2}.usa-button--outline:visited{color:#005ea2}.usa-button--outline:hover,.usa-button--outline.usa-button--hover{background-color:transparent;-webkit-box-shadow:inset 0 0 0 2px #1a4480;box-shadow:inset 0 0 0 2px #1a4480;color:#1a4480}.usa-button--outline:active,.usa-button--outline.usa-button--active{background-color:transparent;-webkit-box-shadow:inset 0 0 0 2px #162e51;box-shadow:inset 0 0 0 2px #162e51;color:#162e51}.usa-button--outline.usa-button--inverse{-webkit-box-shadow:inset 0 0 0 2px #dfe1e2;box-shadow:inset 0 0 0 2px #dfe1e2;color:#dfe1e2}.usa-button--outline.usa-button--inverse:visited{color:#dfe1e2}.usa-button--outline.usa-button--inverse:hover,.usa-button--outline.usa-button--inverse.usa-button--hover{-webkit-box-shadow:inset 0 0 0 2px #f0f0f0;box-shadow:inset 0 0 0 2px #f0f0f0;color:#f0f0f0}.usa-button--outline.usa-button--inverse:active,.usa-button--outline.usa-button--inverse.usa-button--active{background-color:transparent;-webkit-box-shadow:inset 0 0 0 2px white;box-shadow:inset 0 0 0 2px white;color:white}.usa-button--outline.usa-button--inverse.usa-button--unstyled{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;color:#dfe1e2}.usa-button--outline.usa-button--inverse.usa-button--unstyled:visited{color:#54278f}.usa-button--outline.usa-button--inverse.usa-button--unstyled:hover{color:#1a4480}.usa-button--outline.usa-button--inverse.usa-button--unstyled:active{color:#162e51}.usa-button--outline.usa-button--inverse.usa-button--unstyled:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-button--outline.usa-button--inverse.usa-button--unstyled:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled.usa-button--hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true].usa-button--hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled:active,.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--active,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled:active,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:active,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled.usa-button--active,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true].usa-button--active,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled:focus,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:focus,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled.usa-focus,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true].usa-focus,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true],.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--hover{color:#1a4480}.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--active{color:#162e51}.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true],.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true],.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:focus{color:GrayText}}.usa-button--outline.usa-button--inverse.usa-button--unstyled:visited{color:#dfe1e2}.usa-button--outline.usa-button--inverse.usa-button--unstyled:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--hover{color:#f0f0f0}.usa-button--outline.usa-button--inverse.usa-button--unstyled:active,.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--active{color:white}.usa-button--base{color:white;background-color:#71767a}.usa-button--base:hover,.usa-button--base.usa-button--hover{color:white;background-color:#565c65}.usa-button--base:active,.usa-button--base.usa-button--active{color:white;background-color:#3d4551}.usa-button--secondary{color:white;background-color:#d83933}.usa-button--secondary:hover,.usa-button--secondary.usa-button--hover{color:white;background-color:#b50909}.usa-button--secondary:active,.usa-button--secondary.usa-button--active{color:white;background-color:#8b0a03}.usa-button--big{border-radius:0.25rem;font-size:1.46rem;padding:1rem 1.5rem}.usa-button--outline:disabled,.usa-button--outline:disabled:hover,.usa-button--outline:disabled:active,.usa-button--outline:disabled:focus,.usa-button--outline[aria-disabled=true],.usa-button--outline[aria-disabled=true]:hover,.usa-button--outline[aria-disabled=true]:active,.usa-button--outline[aria-disabled=true]:focus,.usa-button--outline-inverse:disabled,.usa-button--outline-inverse:disabled:hover,.usa-button--outline-inverse:disabled:active,.usa-button--outline-inverse:disabled:focus,.usa-button--outline-inverse[aria-disabled=true],.usa-button--outline-inverse[aria-disabled=true]:hover,.usa-button--outline-inverse[aria-disabled=true]:active,.usa-button--outline-inverse[aria-disabled=true]:focus{background-color:transparent;color:#757575}.usa-button--outline:disabled,.usa-button--outline[aria-disabled=true]{-webkit-box-shadow:inset 0 0 0 2px #c9c9c9;box-shadow:inset 0 0 0 2px #c9c9c9}.usa-button--outline:disabled.usa-button--inverse,.usa-button--outline[aria-disabled=true].usa-button--inverse{-webkit-box-shadow:inset 0 0 0 2px #919191;box-shadow:inset 0 0 0 2px #919191;color:#919191}@media (forced-colors: active){.usa-button--outline:disabled.usa-button--inverse,.usa-button--outline[aria-disabled=true].usa-button--inverse{color:GrayText}}.usa-button--unstyled{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}.usa-button--unstyled:visited{color:#54278f}.usa-button--unstyled:hover{color:#1a4480}.usa-button--unstyled:active{color:#162e51}.usa-button--unstyled:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-button--unstyled:hover,.usa-button--unstyled.usa-button--hover,.usa-button--unstyled:disabled:hover,.usa-button--unstyled[aria-disabled=true]:hover,.usa-button--unstyled:disabled.usa-button--hover,.usa-button--unstyled[aria-disabled=true].usa-button--hover,.usa-button--unstyled:active,.usa-button--unstyled.usa-button--active,.usa-button--unstyled:disabled:active,.usa-button--unstyled[aria-disabled=true]:active,.usa-button--unstyled:disabled.usa-button--active,.usa-button--unstyled[aria-disabled=true].usa-button--active,.usa-button--unstyled:disabled:focus,.usa-button--unstyled[aria-disabled=true]:focus,.usa-button--unstyled:disabled.usa-focus,.usa-button--unstyled[aria-disabled=true].usa-focus,.usa-button--unstyled:disabled,.usa-button--unstyled[aria-disabled=true],.usa-button--unstyled.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-button--unstyled.usa-button--hover{color:#1a4480}.usa-button--unstyled.usa-button--active{color:#162e51}.usa-button--unstyled:disabled,.usa-button--unstyled[aria-disabled=true],.usa-button--unstyled:disabled:hover,.usa-button--unstyled[aria-disabled=true]:hover,.usa-button--unstyled[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-button--unstyled:disabled,.usa-button--unstyled[aria-disabled=true],.usa-button--unstyled:disabled:hover,.usa-button--unstyled[aria-disabled=true]:hover,.usa-button--unstyled[aria-disabled=true]:focus{color:GrayText}}:host{display:inline-block}:host .usa-button{background:var(--vads-button-color-background-secondary-on-light, #FFFFFF);color:var(--vads-color-link);text-transform:uppercase;position:relative;-webkit-column-gap:0.25rem;-moz-column-gap:0.25rem;column-gap:0.25rem}:host .usa-button:hover,:host .usa-button:focus,:host .usa-button:active{color:var(--vads-color-primary-dark);background:var(--vads-color-primary-lighter)}:host .usa-button:focus{z-index:1}:host .usa-button.va-button-icon--destructive{color:var(--vads-color-secondary-dark)}:host .usa-button.va-button-icon--destructive:hover,:host .usa-button.va-button-icon--destructive:focus,:host .usa-button.va-button-icon--destructive:active{color:var(--vads-color-secondary-darkest);background:var(--vads-color-secondary-lightest)}';var s=function(){function t(t){(0,e.r)(this,t),this.showShadow=!1,this.background=!1,this.iconName=void 0}return t.prototype.render=function(){return(0,e.h)(e.H,{key:"14a3fb82620d7d18233e2519004bfa8b97416f29"},this.iconName&&(0,e.h)("div",{key:"a8112c0220937e722b88b45bce48bcee1d44cfaa",class:"va-card__icon-wrapper"},(0,e.h)("span",{key:"231f85a062cebe5cfdd7b4615db58e38c3c6bbfb",class:"va-card__icon-circle"},(0,e.h)("va-icon",{key:"43a6cee8f2283328806b63a31be0b151e3b68521",icon:this.iconName,size:5}))),(0,e.h)("slot",{key:"de83322bc4051afb4b4a0c7a27387e2367a2003f"}))},t}();s.style=':host{display:block;position:relative;border:1px solid var(--vads-color-gray-medium);background-color:var(--vads-color-white);font-size:1rem;padding:var(--vads-spacing-2)}:host([show-shadow]:not([show-shadow=false])),:host([show-shadow]:not([show-shadow=false])[background]:not([background=false])){-webkit-box-shadow:1px 1px 5px 1px rgba(0, 0, 0, 0.32);box-shadow:1px 1px 5px 1px rgba(0, 0, 0, 0.32);border:1px solid var(--vads-color-gray-medium);background-color:var(--vads-color-white)}:host([background]:not([background=false])){background-color:var(--vads-color-base-lightest);border:none}.va-card__icon-wrapper{position:absolute;top:0;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);z-index:2;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-bottom:0}.va-card__icon-circle{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:var(--vads-color-primary-darker);border-radius:50%;width:56px;height:56px;-webkit-box-shadow:0 2px 6px rgba(0, 0, 0, 0.08);box-shadow:0 2px 6px rgba(0, 0, 0, 0.08)}.va-card__icon-circle va-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--vads-color-white)}:host([icon-name]:not([icon-name=""])){padding-top:var(--vads-spacing-4);margin-top:28px}';var r=function(){function t(t){(0,e.r)(this,t),this.componentLibraryAnalytics=(0,e.c)(this,"component-library-analytics",7),this.enableAnalytics=!1,this.percent=void 0,this.label=void 0}return t.prototype.componentDidRender=function(){!this.enableAnalytics||0!==this.percent&&100!==this.percent||this.componentLibraryAnalytics.emit({componentName:"va-progress-bar",action:"change",details:{label:this.label||"".concat(this.percent,"% complete"),percent:this.percent}})},t.prototype.render=function(){var t=this.label,o=void 0===t?"".concat(this.percent.toFixed(0),"% complete"):t,a=this.percent;return(0,e.h)(e.H,{key:"f763852af3f15b71a364b3ceb01bdc67d2331d83"},(0,e.h)("div",{key:"220561a6848ce077dbe7fd83e90c18f058445fb7","aria-label":o,"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":a.toFixed(0),"aria-valuetext":o,class:"progress-bar",tabindex:"0",role:"progressbar"},(0,e.h)("div",{key:"3690d74c48659a933669d0c69d8dcfb43fbed330",class:"progress-bar-inner",style:{width:"".concat(a,"%")}})),(0,e.h)("span",{key:"780212740ef2a17ee60ef40ae716ded7e88be9b0","aria-atomic":"true","aria-live":"polite",class:"sr-only"},a.toFixed(0),"% complete"))},t}();r.style=".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}div{-webkit-box-sizing:border-box;box-sizing:border-box}.progress-bar{border:2px solid var(--vads-color-primary);border-radius:1em;display:block;height:1em;margin:1em 0;width:100%}.progress-bar-inner{background-color:var(--vads-color-primary);content:'&nbsp;';display:block;height:100%;max-width:100%}"}}]);
2
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[1966,4569],{4569:function(t,o,a){a.r(o),a.d(o,{c:function(){return n}});var e,u={exports:{}};e=u,function(){var t={}.hasOwnProperty;function o(){for(var a=[],e=0;e<arguments.length;e++){var u=arguments[e];if(u){var n=typeof u;if("string"===n||"number"===n)a.push(u);else if(Array.isArray(u)){if(u.length){var s=o.apply(null,u);s&&a.push(s)}}else if("object"===n)if(u.toString===Object.prototype.toString)for(var r in u)t.call(u,r)&&u[r]&&a.push(r);else a.push(u.toString())}}return a.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o}();var n=u.exports},1966:function(t,o,a){a.r(o),a.d(o,{va_button_icon:function(){return n},va_card:function(){return s},va_progress_bar:function(){return r}});var e=a(1484),u=a(4569),n=function(){function t(t){(0,e.r)(this,t),this.componentLibraryAnalytics=(0,e.c)(this,"component-library-analytics",7),this.buttonTypeMap={"change-file":{icon:"attach_file",text:"Change File"},delete:{icon:"delete",text:"Delete"},cancel:{icon:"cancel",text:"Cancel"}},this.disableAnalytics=!1,this.label=void 0,this.buttonType=void 0}return t.prototype.handleClick=function(t){if(!this.disableAnalytics){var o={componentName:"va-button",action:"click",details:{type:"tertiary",label:this.buttonTypeMap[this.buttonType].text}};this.componentLibraryAnalytics.emit(o)}},t.prototype.render=function(){var t=this.label,o=this.buttonType,a=(0,u.c)({"usa-button":!0,"va-button-icon--destructive":"cancel"===o||"delete"===o});return(0,e.h)(e.H,{key:"bfcea8a089d5f55b8cee8f86d5c4b93c8b8126c4"},(0,e.h)("button",{key:"971a2a68888901443f9f839ac736caaf0c7a8526",class:a,"aria-label":t,type:"button",part:"button"},(0,e.h)("va-icon",{key:"7941f42ff7d8d59865dcb0f13c6b3dc29e12d641",icon:this.buttonTypeMap[o].icon,size:2}),this.buttonTypeMap[o].text))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,e.g)(this)},enumerable:!1,configurable:!0}),t}();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}.usa-button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:0.9;color:white;background-color:#005ea2;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-align:center;align-items:center;border:0;border-radius:0.25rem;cursor:pointer;-webkit-column-gap:0.5rem;-moz-column-gap:0.5rem;column-gap:0.5rem;display:-ms-inline-flexbox;display:inline-flex;font-weight:700;-ms-flex-pack:center;justify-content:center;margin-right:0.5rem;padding:0.75rem 1.25rem;text-align:center;text-decoration:none;width:100%}@media all and (min-width: 30em){.usa-button{width:auto}}.usa-button:visited{color:white}.usa-button:hover,.usa-button.usa-button--hover{color:white;background-color:#1a4480;border-bottom:0;text-decoration:none}.usa-button:active,.usa-button.usa-button--active{color:white;background-color:#162e51}.usa-button:not([disabled]):focus,.usa-button:not([disabled]).usa-focus{outline-offset:0.25rem}.usa-button:disabled,.usa-button[aria-disabled=true]{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1}.usa-button:disabled:hover,.usa-button:disabled:active,.usa-button:disabled:focus,.usa-button:disabled.usa-focus,.usa-button[aria-disabled=true]:hover,.usa-button[aria-disabled=true]:active,.usa-button[aria-disabled=true]:focus,.usa-button[aria-disabled=true].usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-button:disabled,.usa-button[aria-disabled=true]{border:0;color:GrayText}.usa-button:disabled:hover,.usa-button:disabled:active,.usa-button:disabled:focus,.usa-button:disabled.usa-focus,.usa-button[aria-disabled=true]:hover,.usa-button[aria-disabled=true]:active,.usa-button[aria-disabled=true]:focus,.usa-button[aria-disabled=true].usa-focus{color:GrayText}}.usa-button:disabled.usa-button--hover,.usa-button:disabled.usa-button--active,.usa-button[aria-disabled=true].usa-button--hover,.usa-button[aria-disabled=true].usa-button--active{color:#454545;background-color:#c9c9c9;cursor:not-allowed;opacity:1}.usa-button:disabled.usa-button--hover:hover,.usa-button:disabled.usa-button--hover:active,.usa-button:disabled.usa-button--hover:focus,.usa-button:disabled.usa-button--hover.usa-focus,.usa-button:disabled.usa-button--active:hover,.usa-button:disabled.usa-button--active:active,.usa-button:disabled.usa-button--active:focus,.usa-button:disabled.usa-button--active.usa-focus,.usa-button[aria-disabled=true].usa-button--hover:hover,.usa-button[aria-disabled=true].usa-button--hover:active,.usa-button[aria-disabled=true].usa-button--hover:focus,.usa-button[aria-disabled=true].usa-button--hover.usa-focus,.usa-button[aria-disabled=true].usa-button--active:hover,.usa-button[aria-disabled=true].usa-button--active:active,.usa-button[aria-disabled=true].usa-button--active:focus,.usa-button[aria-disabled=true].usa-button--active.usa-focus{color:#454545;background-color:#c9c9c9}@media (forced-colors: active){.usa-button:disabled.usa-button--hover,.usa-button:disabled.usa-button--active,.usa-button[aria-disabled=true].usa-button--hover,.usa-button[aria-disabled=true].usa-button--active{border:0;color:GrayText}.usa-button:disabled.usa-button--hover:hover,.usa-button:disabled.usa-button--hover:active,.usa-button:disabled.usa-button--hover:focus,.usa-button:disabled.usa-button--hover.usa-focus,.usa-button:disabled.usa-button--active:hover,.usa-button:disabled.usa-button--active:active,.usa-button:disabled.usa-button--active:focus,.usa-button:disabled.usa-button--active.usa-focus,.usa-button[aria-disabled=true].usa-button--hover:hover,.usa-button[aria-disabled=true].usa-button--hover:active,.usa-button[aria-disabled=true].usa-button--hover:focus,.usa-button[aria-disabled=true].usa-button--hover.usa-focus,.usa-button[aria-disabled=true].usa-button--active:hover,.usa-button[aria-disabled=true].usa-button--active:active,.usa-button[aria-disabled=true].usa-button--active:focus,.usa-button[aria-disabled=true].usa-button--active.usa-focus{color:GrayText}}@media (forced-colors: active){.usa-button:disabled:not(.usa-button--unstyled),.usa-button[aria-disabled=true]:not(.usa-button--unstyled){border:2px solid GrayText}}.usa-button .usa-icon{-ms-flex-negative:0;flex-shrink:0}@media (forced-colors: active){.usa-button:not(.usa-button--unstyled){border:2px solid transparent}}.usa-button--accent-cool{color:#1b1b1b;background-color:#00bde3}.usa-button--accent-cool:visited{color:#1b1b1b;background-color:#00bde3}.usa-button--accent-cool:hover,.usa-button--accent-cool.usa-button--hover{color:#1b1b1b;background-color:#28a0cb}.usa-button--accent-cool:active,.usa-button--accent-cool.usa-button--active{color:white;background-color:#07648d}.usa-button--accent-warm{color:#1b1b1b;background-color:#fa9441}.usa-button--accent-warm:visited{color:#1b1b1b;background-color:#fa9441}.usa-button--accent-warm:hover,.usa-button--accent-warm.usa-button--hover{color:white;background-color:#c05600}.usa-button--accent-warm:active,.usa-button--accent-warm.usa-button--active{color:white;background-color:#775540}.usa-button--outline{background-color:transparent;-webkit-box-shadow:inset 0 0 0 2px #005ea2;box-shadow:inset 0 0 0 2px #005ea2;color:#005ea2}.usa-button--outline:visited{color:#005ea2}.usa-button--outline:hover,.usa-button--outline.usa-button--hover{background-color:transparent;-webkit-box-shadow:inset 0 0 0 2px #1a4480;box-shadow:inset 0 0 0 2px #1a4480;color:#1a4480}.usa-button--outline:active,.usa-button--outline.usa-button--active{background-color:transparent;-webkit-box-shadow:inset 0 0 0 2px #162e51;box-shadow:inset 0 0 0 2px #162e51;color:#162e51}.usa-button--outline.usa-button--inverse{-webkit-box-shadow:inset 0 0 0 2px #dfe1e2;box-shadow:inset 0 0 0 2px #dfe1e2;color:#dfe1e2}.usa-button--outline.usa-button--inverse:visited{color:#dfe1e2}.usa-button--outline.usa-button--inverse:hover,.usa-button--outline.usa-button--inverse.usa-button--hover{-webkit-box-shadow:inset 0 0 0 2px #f0f0f0;box-shadow:inset 0 0 0 2px #f0f0f0;color:#f0f0f0}.usa-button--outline.usa-button--inverse:active,.usa-button--outline.usa-button--inverse.usa-button--active{background-color:transparent;-webkit-box-shadow:inset 0 0 0 2px white;box-shadow:inset 0 0 0 2px white;color:white}.usa-button--outline.usa-button--inverse.usa-button--unstyled{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;color:#dfe1e2}.usa-button--outline.usa-button--inverse.usa-button--unstyled:visited{color:#54278f}.usa-button--outline.usa-button--inverse.usa-button--unstyled:hover{color:#1a4480}.usa-button--outline.usa-button--inverse.usa-button--unstyled:active{color:#162e51}.usa-button--outline.usa-button--inverse.usa-button--unstyled:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-button--outline.usa-button--inverse.usa-button--unstyled:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled.usa-button--hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true].usa-button--hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled:active,.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--active,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled:active,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:active,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled.usa-button--active,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true].usa-button--active,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled:focus,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:focus,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled.usa-focus,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true].usa-focus,.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true],.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--hover{color:#1a4480}.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--active{color:#162e51}.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true],.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true],.usa-button--outline.usa-button--inverse.usa-button--unstyled:disabled:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled[aria-disabled=true]:focus{color:GrayText}}.usa-button--outline.usa-button--inverse.usa-button--unstyled:visited{color:#dfe1e2}.usa-button--outline.usa-button--inverse.usa-button--unstyled:hover,.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--hover{color:#f0f0f0}.usa-button--outline.usa-button--inverse.usa-button--unstyled:active,.usa-button--outline.usa-button--inverse.usa-button--unstyled.usa-button--active{color:white}.usa-button--base{color:white;background-color:#71767a}.usa-button--base:hover,.usa-button--base.usa-button--hover{color:white;background-color:#565c65}.usa-button--base:active,.usa-button--base.usa-button--active{color:white;background-color:#3d4551}.usa-button--secondary{color:white;background-color:#d83933}.usa-button--secondary:hover,.usa-button--secondary.usa-button--hover{color:white;background-color:#b50909}.usa-button--secondary:active,.usa-button--secondary.usa-button--active{color:white;background-color:#8b0a03}.usa-button--big{border-radius:0.25rem;font-size:1.46rem;padding:1rem 1.5rem}.usa-button--outline:disabled,.usa-button--outline:disabled:hover,.usa-button--outline:disabled:active,.usa-button--outline:disabled:focus,.usa-button--outline[aria-disabled=true],.usa-button--outline[aria-disabled=true]:hover,.usa-button--outline[aria-disabled=true]:active,.usa-button--outline[aria-disabled=true]:focus,.usa-button--outline-inverse:disabled,.usa-button--outline-inverse:disabled:hover,.usa-button--outline-inverse:disabled:active,.usa-button--outline-inverse:disabled:focus,.usa-button--outline-inverse[aria-disabled=true],.usa-button--outline-inverse[aria-disabled=true]:hover,.usa-button--outline-inverse[aria-disabled=true]:active,.usa-button--outline-inverse[aria-disabled=true]:focus{background-color:transparent;color:#757575}.usa-button--outline:disabled,.usa-button--outline[aria-disabled=true]{-webkit-box-shadow:inset 0 0 0 2px #c9c9c9;box-shadow:inset 0 0 0 2px #c9c9c9}.usa-button--outline:disabled.usa-button--inverse,.usa-button--outline[aria-disabled=true].usa-button--inverse{-webkit-box-shadow:inset 0 0 0 2px #919191;box-shadow:inset 0 0 0 2px #919191;color:#919191}@media (forced-colors: active){.usa-button--outline:disabled.usa-button--inverse,.usa-button--outline[aria-disabled=true].usa-button--inverse{color:GrayText}}.usa-button--unstyled{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}.usa-button--unstyled:visited{color:#54278f}.usa-button--unstyled:hover{color:#1a4480}.usa-button--unstyled:active{color:#162e51}.usa-button--unstyled:focus{outline:0.25rem solid #2491ff;outline-offset:0rem}.usa-button--unstyled:hover,.usa-button--unstyled.usa-button--hover,.usa-button--unstyled:disabled:hover,.usa-button--unstyled[aria-disabled=true]:hover,.usa-button--unstyled:disabled.usa-button--hover,.usa-button--unstyled[aria-disabled=true].usa-button--hover,.usa-button--unstyled:active,.usa-button--unstyled.usa-button--active,.usa-button--unstyled:disabled:active,.usa-button--unstyled[aria-disabled=true]:active,.usa-button--unstyled:disabled.usa-button--active,.usa-button--unstyled[aria-disabled=true].usa-button--active,.usa-button--unstyled:disabled:focus,.usa-button--unstyled[aria-disabled=true]:focus,.usa-button--unstyled:disabled.usa-focus,.usa-button--unstyled[aria-disabled=true].usa-focus,.usa-button--unstyled:disabled,.usa-button--unstyled[aria-disabled=true],.usa-button--unstyled.usa-button--disabled{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;text-decoration:underline}.usa-button--unstyled.usa-button--hover{color:#1a4480}.usa-button--unstyled.usa-button--active{color:#162e51}.usa-button--unstyled:disabled,.usa-button--unstyled[aria-disabled=true],.usa-button--unstyled:disabled:hover,.usa-button--unstyled[aria-disabled=true]:hover,.usa-button--unstyled[aria-disabled=true]:focus{color:#757575}@media (forced-colors: active){.usa-button--unstyled:disabled,.usa-button--unstyled[aria-disabled=true],.usa-button--unstyled:disabled:hover,.usa-button--unstyled[aria-disabled=true]:hover,.usa-button--unstyled[aria-disabled=true]:focus{color:GrayText}}:host{display:inline-block}:host .usa-button{background:var(--vads-button-color-background-secondary-on-light, #FFFFFF);color:var(--vads-color-link);text-transform:uppercase;position:relative;-webkit-column-gap:0.25rem;-moz-column-gap:0.25rem;column-gap:0.25rem}:host .usa-button:hover,:host .usa-button:focus,:host .usa-button:active{color:var(--vads-color-primary-dark);background:var(--vads-color-primary-lighter)}:host .usa-button:focus{z-index:1}:host .usa-button.va-button-icon--destructive{color:var(--vads-color-secondary-dark)}:host .usa-button.va-button-icon--destructive:hover,:host .usa-button.va-button-icon--destructive:focus,:host .usa-button.va-button-icon--destructive:active{color:var(--vads-color-secondary-darkest);background:var(--vads-color-secondary-lightest)}';var s=function(){function t(t){(0,e.r)(this,t),this.showShadow=!1,this.background=!1,this.iconName=void 0}return t.prototype.render=function(){return(0,e.h)(e.H,{key:"14a3fb82620d7d18233e2519004bfa8b97416f29"},this.iconName&&(0,e.h)("div",{key:"a8112c0220937e722b88b45bce48bcee1d44cfaa",class:"va-card__icon-wrapper"},(0,e.h)("span",{key:"231f85a062cebe5cfdd7b4615db58e38c3c6bbfb",class:"va-card__icon-circle"},(0,e.h)("va-icon",{key:"43a6cee8f2283328806b63a31be0b151e3b68521",icon:this.iconName,size:5}))),(0,e.h)("slot",{key:"de83322bc4051afb4b4a0c7a27387e2367a2003f"}))},t}();s.style=':host{display:block;position:relative;border:1px solid var(--vads-color-gray-medium);background-color:var(--vads-color-white);font-size:1rem;padding:var(--vads-spacing-2)}:host([show-shadow]:not([show-shadow=false])),:host([show-shadow]:not([show-shadow=false])[background]:not([background=false])){-webkit-box-shadow:1px 1px 5px 1px rgba(0, 0, 0, 0.32);box-shadow:1px 1px 5px 1px rgba(0, 0, 0, 0.32);border:1px solid var(--vads-color-gray-medium);background-color:var(--vads-color-white)}:host([background]:not([background=false])){background-color:var(--vads-color-base-lightest);border:none}.va-card__icon-wrapper{position:absolute;top:0;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);z-index:2;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-bottom:0}.va-card__icon-circle{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background-color:var(--vads-color-primary-darker);border-radius:50%;width:56px;height:56px;-webkit-box-shadow:0 2px 6px rgba(0, 0, 0, 0.08);box-shadow:0 2px 6px rgba(0, 0, 0, 0.08)}.va-card__icon-circle va-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--vads-color-white)}:host([icon-name]:not([icon-name=""])){padding-top:var(--vads-spacing-4);margin-top:28px}';var r=function(){function t(t){(0,e.r)(this,t),this.componentLibraryAnalytics=(0,e.c)(this,"component-library-analytics",7),this.enableAnalytics=!1,this.percent=void 0,this.label=void 0,this.noPercentScreenReader=!1}return t.prototype.componentDidRender=function(){!this.enableAnalytics||0!==this.percent&&100!==this.percent||this.componentLibraryAnalytics.emit({componentName:"va-progress-bar",action:"change",details:{label:this.label||"".concat(this.percent,"% complete"),percent:this.percent}})},t.prototype.render=function(){var t=this,o=t.label,a=void 0===o?"".concat(this.percent.toFixed(0),"% complete"):o,u=t.percent,n=t.noPercentScreenReader;return(0,e.h)(e.H,{key:"81b3c7f3ae2350219b264bcb1e2adc5c98d081e6"},(0,e.h)("div",{key:"b6409865bd0657b838672f790d08fe825d555a66","aria-label":a,"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":u.toFixed(0),"aria-valuetext":a,class:"progress-bar",tabindex:"0",role:"progressbar"},(0,e.h)("div",{key:"38a72f403036aae5a62ea361e46ffe3cafa89efa",class:"progress-bar-inner",style:{width:"".concat(u,"%")}})),n?null:(0,e.h)("span",{"aria-atomic":"true","aria-live":"polite",class:"usa-sr-only"},u.toFixed(0),"% complete"))},t}();r.style=".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}div{-webkit-box-sizing:border-box;box-sizing:border-box}.progress-bar{border:2px solid var(--vads-color-primary);border-radius:1em;display:block;height:1em;margin:1em 0;width:100%}.progress-bar-inner{background-color:var(--vads-color-primary);content:'&nbsp;';display:block;height:100%;max-width:100%}"}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2205],{2205:function(e,t,i){i.r(t),i.d(t,{va_crisis_line_modal:function(){return r},va_official_gov_banner:function(){return s}});var a=i(7911),n=i(8181),o=i(4665),r=function(){function e(e){var t=this;(0,a.r)(this,e),this.triggerElement=null,this.onExternalTriggerClick=function(){t.open()},this.onExternalTriggerFocus=function(){t.trapFocus()},this.phoneNumber="988",this.phoneExtension="1",this.textNumber="838255",this.chatUrl="https://www.veteranscrisisline.net/get-help-now/chat/",this.ttyNumber=n.a.CRISIS_MODAL_TTY.phoneNumber||"711",this.ttyCrisisExtension=n.a.CRISIS_MODAL_TTY.extension||"988",this.triggerRef=void 0,this.isOpen=!1,this.shifted=!1}return e.prototype.onTriggerRefChange=function(e){this.attachTriggerListeners(e)},e.prototype.componentDidLoad=function(){this.triggerRef&&this.attachTriggerListeners(this.triggerRef)},e.prototype.disconnectedCallback=function(){this.detachTriggerListeners()},e.prototype.attachTriggerListeners=function(e){if(this.detachTriggerListeners(),e){var t=e.startsWith("#")?document.getElementById(e.slice(1)):document.querySelector(e);t instanceof HTMLElement&&(this.triggerElement=t,this.triggerElement.addEventListener("click",this.onExternalTriggerClick),this.triggerElement.addEventListener("focusin",this.onExternalTriggerFocus))}},e.prototype.detachTriggerListeners=function(){this.triggerElement&&(this.triggerElement.removeEventListener("click",this.onExternalTriggerClick),this.triggerElement.removeEventListener("focusin",this.onExternalTriggerFocus),this.triggerElement=null)},e.prototype.open=function(){this.setVisible()},e.prototype.setVisible=function(){this.isOpen=!0},e.prototype.setNotVisible=function(){this.isOpen=!1},e.prototype.trackShiftKey=function(e){this.shifted=e.shiftKey},e.prototype.trapFocus=function(){var e,t=null===(e=this.el)||void 0===e?void 0:e.shadowRoot.querySelector("va-modal"),i=null==t?void 0:t.getAttribute("visible");if(null!==i&&"false"!==i){var a=void 0,n=this.shifted?".last-focusable-child":'[role="document"]';null==(a=this.shifted?null==t?void 0:t.querySelector(n):null==t?void 0:t.shadowRoot.querySelector(n))||a.focus()}},e.prototype.render=function(){var e=this,t=this,i=t.phoneNumber,n=t.phoneExtension,o=t.textNumber,r=t.chatUrl,s=t.ttyNumber,c=t.ttyCrisisExtension,d=t.triggerRef;return(0,a.h)(a.H,{key:"a8bbb4b36a22f999395557ba076cc26210556e63"},!d&&(0,a.h)("div",{key:"8f34619819ed7bd806fd79391ebe8842b2dc2be5",class:"va-crisis-line-container"},(0,a.h)("button",{key:"1e13f218e313aeac1b9f0c16db9887173f33f5a7",onClick:function(){return e.setVisible()},onFocusin:function(){return e.trapFocus()},"data-show":"#modal-crisisline",class:"va-crisis-line va-overlay-trigger",part:"button"},(0,a.h)("div",{key:"c8961ed6c2575f200ae46b4ca5026e9a6c4644c5",class:"va-crisis-line-inner"},(0,a.h)("span",{key:"c5719c7da8048a04fb127a7a3c9bd94b48c80bfd",class:"va-crisis-line-icon","aria-hidden":"true"}),(0,a.h)("span",{key:"0198af4707b2d0aca6df218ea6fba09972b34894",class:"va-crisis-line-text"},"Talk to the ",(0,a.h)("strong",{key:"1ce662b7ab9674b39b7763e4d1e1e0f2b3bbabe7"},"Veterans Crisis Line")," now"),(0,a.h)("va-icon",{key:"b8be59ffb9a747b23b4c2abffc45183d50f97dcf",class:"va-icon__right-arrow",icon:"navigate_next",size:3})))),(0,a.h)("va-modal",{key:"4961efb191517408b655976e6557b00f1d43aba6",modalTitle:"We’re here anytime, day or night – 24/7",onPrimaryButtonClick:function(){return e.setNotVisible()},onCloseEvent:function(){return e.setNotVisible()},visible:this.isOpen,large:!0},(0,a.h)("p",{key:"1a4d64246b72e38d12edf8fc9256876f0897b788"},"If you are a Veteran in crisis or concerned about one, connect with our caring, qualified responders for confidential help. Many of them are Veterans themselves."),(0,a.h)("ul",{key:"638e82f978b565ab3eefe6b2750e3105ca9c1880",class:"va-crisis-panel-list"},(0,a.h)("li",{key:"8e1ad7a3b394179ac62b499b41498176d71dba1b"},(0,a.h)("va-icon",{key:"d2627e50a01da10a292e756a4d5eb0cf0582c035",class:"va-clm__icon",icon:"phone",size:3}),(0,a.h)("span",{key:"2b073c04bdcda810f9ee7a184a2c30c194480300"},"Call"," ",(0,a.h)("strong",{key:"1a432545369f12141e94a61354f366b7caff7382"},(0,a.h)("va-telephone",{key:"7643fa3778a98ea973f0e3946ac974ab5c9c4b41",contact:i}),n?" and select ".concat(n):null))),(0,a.h)("li",{key:"e7a890f1a35a16d33f40245a87f570578fb9f606"},(0,a.h)("va-icon",{key:"6f924bc25c7172f50059e5e940a2429dec981e06",icon:"phone_iphone",class:"va-clm__icon",size:3}),(0,a.h)("span",{key:"03322523bc9a8af2477ed68e6fa5e2c095013b4b"},"Text ",(0,a.h)("strong",{key:"bf0f0da43f952a983703f76768e15bbce6cfa04f"},(0,a.h)("va-telephone",{key:"15287086544d6fdfb9eb8850faaed79e0ed0cd60",sms:!0,contact:o})))),(0,a.h)("li",{key:"b818d18e2fd7022aa7c23ef465b7db3609e0ee43"},(0,a.h)("va-icon",{key:"d80250d17a6aca0d5e0a5d70c7ec5e28d46a2986",icon:"chat",class:"va-clm__icon",size:3}),(0,a.h)("a",{key:"a75710edbe45c04978ea6e3cdd5dce32d3d76ee5",class:"no-external-icon",href:r},"Start a confidential chat")),(0,a.h)("li",{key:"1deb65fe872cc2d6d9d8eecb9f4b1fdf42c2b283"},(0,a.h)("va-icon",{key:"8b0108466960733e70af1ccc051803cc2f5c48f0",icon:"tty",class:"va-clm__icon",size:3}),(0,a.h)("p",{key:"9c5213c63dd7c65c478c9db90f8de06c677a7340"},"For TTY, call"," ",(0,a.h)("strong",{key:"127e966b36dab2de16615678294aac14fc07a0dc"},(0,a.h)("va-telephone",{key:"fb97f16e873901f94d214054109a502d4ed14eaa",contact:s}),c?" then ".concat(c):null)))),(0,a.h)("p",{key:"7713d84bc83e67b6d21ef066f3d692a273d7c1cf"},"Get more resources at"," ",(0,a.h)("a",{key:"59bd65f53d9dc1c05a425d9630ed0b2d16fdcd84",class:"no-external-icon",href:"https://www.veteranscrisisline.net/"},"VeteransCrisisLine.net"))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"watchers",{get:function(){return{triggerRef:["onTriggerRefChange"]}},enumerable:!1,configurable:!0}),e}();r.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}.va-crisis-line-container{position:relative;margin:auto;background-color:var(--vads-color-secondary-dark)}@media (min-width: 1024px){.va-crisis-line-container{max-width:60.938rem;background-color:transparent}}a{color:var(--vads-color-link)}button.va-crisis-line{cursor:pointer;background-color:var(--vads-color-secondary-darkest);display:block;border-radius:0;color:var(--vads-button-color-text-primary-alt-on-light);font-family:var(--font-source-sans);font-size:16px;font-weight:normal;text-decoration:none;padding:0;margin:0;width:100%;border:0;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:background-color;transition-property:background-color}button.va-crisis-line:focus{outline-offset:-2px}button.va-crisis-line:hover,button.va-crisis-line:active{background-color:#8b0a03}@media (min-width: 1024px){button.va-crisis-line:hover .va-crisis-line-icon,button.va-crisis-line:active .va-crisis-line-icon{background-color:#b51d09}}@media (min-width: 1024px){button.va-crisis-line{width:auto;border-radius:0 0 2.3px 2.3px;-webkit-box-shadow:0 2px 5px var(--vads-color-base);box-shadow:0 2px 5px var(--vads-color-base)}}.va-crisis-line-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:auto}@media (min-width: 1024px){.va-crisis-line-inner{text-align:left;-ms-flex-pack:justify;justify-content:space-between}}.va-crisis-line-icon{content:"";background:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 96 60%22 width%3D%2296px%22 height%3D%2260px%22%3E%3Cpath d%3D%22M58 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 30c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 46c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm-48 2L32 60h-2V48H4c-2.20914 0-4-1.79086-4-4V4c0-2.20914 1.79086-4 4-4h40c2.20914 0 4 1.79086 4 4v40c0 2.20914-1.79086 4-4 4h-2zM24 31.72174L33.86667 39l-3.73334-11.86087L40 20.13043H28L24 8l-4 12.13043H8l9.86667 7.0087L14.13333 39 24 31.72174z%22 fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat right 29%;background-size:30px auto;background-position:8px 8px;width:40px;height:36px;padding-right:3px;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:background-color;transition-property:background-color}@media (max-width: 480px){.va-crisis-line-icon{display:none}}@media (min-width: 1024px){.va-crisis-line-icon{border-bottom-left-radius:3.2px}}.va-crisis-line-text{padding:8px}.va-icon__right-arrow{position:relative;top:2px}.va-clm__icon{position:relative;top:15px;margin-right:23px}.va-crisis-panel{color:var(--vads-color-base)}.va-crisis-panel-body{max-height:100%}.va-crisis-panel-title{color:var(--vads-color-base);padding-left:41px;background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 96 60%22 width%3D%2296px%22 height%3D%2260px%22%3E%3Cpath d%3D%22M58 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 30c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 46c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm-48 2L32 60h-2V48H4c-2.20914 0-4-1.79086-4-4V4c0-2.20914 1.79086-4 4-4h40c2.20914 0 4 1.79086 4 4v40c0 2.20914-1.79086 4-4 4h-2zM24 31.72174L33.86667 39l-3.73334-11.86087L40 20.13043H28L24 8l-4 12.13043H8l9.86667 7.0087L14.13333 39 24 31.72174z%22 fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat left;background-position:left 5px;background-size:32px auto}.va-crisis-panel-list{list-style:none;padding:0}.va-crisis-panel-list>li{display:-ms-flexbox;display:flex;min-height:56px;margin-bottom:0;border-top:1px solid var(--vads-color-base-light)}.va-crisis-panel-list>li:last-child{border-bottom:1px solid var(--vads-color-base-light)}.va-crisis-panel-list>li>a,.va-crisis-panel-list>li>span{padding:8px 0;-ms-flex-item-align:center;align-self:center}';var s=function(){function e(e){var t=this;(0,a.r)(this,e),this.componentLibraryAnalytics=(0,a.c)(this,"component-library-analytics",7),this.handleClick=function(){var e,i,a,n=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".content"),o=null===(i=t.el.shadowRoot)||void 0===i?void 0:i.querySelector("button"),r=null===(a=t.el.shadowRoot)||void 0===a?void 0:a.querySelector("div#header");if(o.setAttribute("aria-expanded","true"===o.getAttribute("aria-expanded")?"false":"true"),r.classList.toggle("expanded"),n.hidden?n.removeAttribute("hidden"):n.setAttribute("hidden","true"),!t.disableAnalytics){var s={componentName:"va-official-gov-banner",action:"true"===o.getAttribute("aria-expanded")?"expand":"collapse"};t.componentLibraryAnalytics.emit(s)}},this.govSiteExplanationText=function(){var e,i=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".gov-site-explanation-text");if(i){var a=o.i.t("gov-site-explanation",{tld:t.tld});a&&(i.innerHTML=a.replace(".".concat(t.tld),"<strong>.".concat(t.tld,"</strong>")))}},this.govSiteLockText=function(){var e,i=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".gov-site-lock-text"),a=o.i.t("gov-site-lock",{image:"SVG",tld:t.tld});a=(a=(a=(a=a.replace("SVG",'(&nbsp;<span class="icon-lock"><svg xmlns="http://www.w3.org/2000/svg" width="52" height="64" viewBox="0 0 52 64" role="img" aria-labelledby="banner-lock-description" focusable="false">\n <title id="banner-lock-title">Lock</title>\n <desc id="banner-lock-description">Locked padlock icon</desc>\n <path fill="#000000" fill-rule="evenodd" d="M26 0c10.493 0 19 8.507 19 19v9h3a4 4 0 0 1 4 4v28a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V32a4 4 0 0 1 4-4h3v-9C7 8.507 15.507 0 26 0zm0 8c-5.979 0-10.843 4.77-10.996 10.712L15 19v9h22v-9c0-6.075-4.925-11-11-11z"></path>\n </svg></span>&nbsp;)')).replace("lock","<strong>lock</strong>")).replace("candado","<strong>candado</strong>")).replace("https://","<strong>https://</strong>"),i&&(i.innerHTML=a)},this.disableAnalytics=!1,this.tld="gov"}return e.prototype.connectedCallback=function(){var e=this;o.i.on("languageChanged",(function(){(0,a.f)(e.el)}))},e.prototype.disconnectedCallback=function(){o.i.off("languageChanged")},e.prototype.componentDidLoad=function(){this.govSiteExplanationText(),this.govSiteLockText()},e.prototype.render=function(){var e=this.tld;if("gov"===e||"mil"===e)return(0,a.h)(a.H,{key:"2060b615768996924dcd092206927322b4ab4d8b"},(0,a.h)("div",{key:"8d2a2b8515345b64c8c4619aa91e077e19406a2f",class:"banner"},(0,a.h)("div",{key:"0f37a58dbe7966392d31df8cf474e46e11ee677d",class:"accordion"},(0,a.h)("div",{key:"1ef73144fde5dd02b2789a989c188c6f0a5583c9",id:"header"},(0,a.h)("div",{key:"d5b94f8751d46eeaf73c0eb46403f93b2d6ce7c8",class:"inner"},(0,a.h)("div",{key:"13845c69a2a1d46b1cceaaf0d67938408c067dbf",class:"grid-col-auto"},(0,a.h)("img",{key:"96a7ff231d3faaadcff4c58bae1b0d218d8f89c0",role:"presentation",class:"header-flag",src:"https://s3-us-gov-west-1.amazonaws.com/content.www.va.gov/img/tiny-usa-flag.png",alt:""})),(0,a.h)("div",{key:"395b57e4c941532bb72be289a9e13a90fdf3122c",class:"grid-col-fill","aria-hidden":"true"},(0,a.h)("p",{key:"5408cbefd45e88e7f27b717a0ab4916be80324bf",class:"header-text"},o.i.t("gov-site-label")),(0,a.h)("p",{key:"3815939f19630121c335ab5e542665de55111780",class:"header-action"},o.i.t("gov-site-button"))),(0,a.h)("button",{key:"315120c2417be9ef91a1d55eb86b1cb9e9cb104c",onClick:this.handleClick,type:"button","aria-expanded":"false","aria-controls":"official-gov-banner"},(0,a.h)("span",{key:"6fa12b1c3924103739baea718a4b6bfed696ad03",class:"button-text"},o.i.t("gov-site-button"))))),(0,a.h)("div",{key:"19daae504004a328647567e4d2e9101829c47158",class:"content",id:"official-gov-banner",hidden:!0},(0,a.h)("div",{key:"6c4b785892b774c55fb30114a2870324c89cacaa",class:"grid-row"},(0,a.h)("div",{key:"45689a43f3bbdd0c8f0bd9249b7fa82e4e9e88bf",class:"col"},(0,a.h)("img",{key:"d9e72766fa61faf1efbd1c67ee23cbd6becf431e",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjx0aXRsZT5pY29uLWRvdC1nb3Y8L3RpdGxlPjxwYXRoIGZpbGw9IiMyMzc4QzMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTMyIDBjMTcuNjczIDAgMzIgMTQuMzI3IDMyIDMyIDAgMTcuNjczLTE0LjMyNyAzMi0zMiAzMkMxNC4zMjcgNjQgMCA0OS42NzMgMCAzMiAwIDE0LjMyNyAxNC4zMjcgMCAzMiAwem0wIDEuMjA4QzE0Ljk5NCAxLjIwOCAxLjIwOCAxNC45OTQgMS4yMDggMzJTMTQuOTk0IDYyLjc5MiAzMiA2Mi43OTIgNjIuNzkyIDQ5LjAwNiA2Mi43OTIgMzIgNDkuMDA2IDEuMjA4IDMyIDEuMjA4em0xMC41OSAzOC44NThhLjg1Ny44NTcgMCAwIDEgLjg4Mi44MjJ2MS42NDJIMTguODg2di0xLjY0MmEuODU3Ljg1NyAwIDAgMSAuODgyLS44MjJINDIuNTl6TTI1LjQ0MyAyNy43NzR2OS44MjloMS42NDJ2LTkuODNoMy4yNzN2OS44M0gzMnYtOS44M2gzLjI3MnY5LjgzaDEuNjQzdi05LjgzaDMuMjcydjkuODNoLjc2YS44NTcuODU3IDAgMCAxIC44ODIuODIxdi44MjFoLTIxLjN2LS44MDlhLjg1Ny44NTcgMCAwIDEgLjg4LS44MmguNzYydi05Ljg0MmgzLjI3MnptNS43MzYtOC4xODhsMTIuMjkzIDQuOTE1djEuNjQyaC0xLjYzYS44NTcuODU3IDAgMCAxLS44ODIuODIySDIxLjQxYS44NTcuODU3IDAgMCAxLS44ODItLjgyMmgtMS42NDJ2LTEuNjQybDEyLjI5My00LjkxNXoiLz48L3N2Zz4=",role:"presentation",alt:""}),(0,a.h)("div",{key:"b12c828e301364b207c13a73015a62bbf107f68e",class:"media-block"},(0,a.h)("p",{key:"9d07a084d91a05625177ef8e5a1774ba3588ed3b"},(0,a.h)("strong",{key:"7f6c0984827c25913ebfe1d87125f663d58c4273"},o.i.t("gov-site-website",{tld:e})),(0,a.h)("br",{key:"cbd0a682f5028aa6bd7db23a5539c89f4e669191"}),(0,a.h)("span",{key:"a07256d1f1a405cdfa9fce22e0ec7830d344eef8",class:"gov-site-explanation-text"},this.govSiteExplanationText())))),(0,a.h)("div",{key:"14495d1e7500d79530125680cc64c6bbd74a4fb5",class:"col"},(0,a.h)("img",{key:"74415c885d1305dcd54326600ffe6410ad155844",src:"data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMzIgMGMxNy42NzMgMCAzMiAxNC4zMjcgMzIgMzJzLTE0LjMyNyAzMi0zMiAzMi0zMi0xNC4zMjctMzItMzIgMTQuMzI3LTMyIDMyLTMyem0wIDEuMjA4Yy0xNy4wMDYgMC0zMC43OTIgMTMuNzg2LTMwLjc5MiAzMC43OTJzMTMuNzg2IDMwLjc5MiAzMC43OTIgMzAuNzkyIDMwLjc5Mi0xMy43ODYgMzAuNzkyLTMwLjc5Mi0xMy43ODYtMzAuNzkyLTMwLjc5Mi0zMC43OTJ6bTAgMTguODg2YTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1IDcuMjQ1djMuMTAzaC41MmMuODYgMCAxLjU1Ny42OTggMS41NTcgMS41NTh2OS4zMjJjMCAuODYtLjY5NyAxLjU1OC0xLjU1NyAxLjU1OGgtMTUuNTNjLS44NiAwLTEuNTU3LS42OTctMS41NTctMS41NTh2LTkuMzIyYzAtLjg2LjY5Ny0xLjU1OCAxLjU1Ny0xLjU1OGguNTJ2LTMuMTAyYTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1LTcuMjQ2em0wIDMuMTAzYTQuMTQyIDQuMTQyIDAgMCAwIC00LjE0MiA0LjE0MnYzLjEwM2g4LjI4NHYtMy4xMDJhNC4xNDIgNC4xNDIgMCAwIDAgLTQuMTQyLTQuMTQzeiIgZmlsbD0iIzcxOWYyYSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",role:"presentation",alt:""}),(0,a.h)("div",{key:"143f7edeb304a12061f34b17ff1e76c577bc430e",class:"media-block"},(0,a.h)("p",{key:"bba12988d28fd80a41507a1b317402d981195c09"},(0,a.h)("strong",{key:"1231627d507a0fca426413dc96a21073d79ec3ca"},o.i.t("gov-site-https",{tld:e})),(0,a.h)("br",{key:"0b17d6eed3a2a383500dd921d930a3367393bf18"}),(0,a.h)("span",{key:"66edb83391dee1528c2a3ea6248f6368acf86817",class:"gov-site-lock-text"},this.govSiteLockText())))))))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),e}();s.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}:host{display:block}.banner{background-color:#f0f0f0;font-size:12px;line-height:1.5;padding-bottom:0}.accordion{color:#1b1b1b;line-height:1.5;list-style-type:none;margin:0;padding:0;width:100%}.grid-col-fill{-ms-flex:1 1 0%;flex:1 1 0%;min-width:1px}.grid-col-auto,.grid-col-fill{-ms-flex:0 1 auto;flex:0 1 auto;width:auto;max-width:100%}.grid-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-0.469rem;margin-right:-0.469rem;margin-top:0;margin-bottom:0}.col{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex;-ms-flex:0 0 46%;flex:0 0 46%;padding-left:0.469rem;padding-right:0.469rem}@media (max-width: 767px){.col{-ms-flex:unset;flex:unset}}#header{padding-bottom:6px;padding-top:6px;position:relative}#header.expanded .header-action{display:none}@media (max-width: 767px){#header{min-height:32px}#header.expanded{padding-right:56px}}.inner{margin-left:auto;margin-right:auto;max-width:1024px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start;padding-right:0}.header-flag{float:left;margin-right:8px;width:16px}.header-text{font-size:12px;margin-bottom:2px;margin-right:5px;margin-top:2px;line-height:1.1}.header-action{color:#005ea2;font-size:12px;line-height:1.1;margin-bottom:0;margin-top:2px;text-decoration:underline}@media (min-width: 768px){.header-action{display:none}}button:not([disabled]):focus{outline:2px solid var(--vads-color-action-focus-on-light)}button[aria-expanded=false],button[aria-expanded=true]{background-image:none}@media (max-width: 767px){button{width:100%}}button{border:0;color:#005ea2;font-size:12px;margin:0;margin-left:0.313rem;padding-left:0;padding-right:0;position:relative}@media (max-width: 767px){button{-webkit-font-smoothing:inherit;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;margin:0;margin-bottom:-4px;text-align:left;left:0;position:absolute;bottom:0;top:0;color:#005ea2;display:block;height:auto;line-height:1.1;padding:0;text-decoration:none;width:100%}}button:hover{color:#1a4480;cursor:pointer}.button-text{position:absolute;left:-999em;right:auto;text-decoration:underline}@media (min-width: 768px){.button-text{position:static;display:inline}}@media (max-width: 767px){#header .header-action::after,#header.expanded .header-action::after{background-color:#005ea2}#header.expanded .header-action::after,#header .header-action::after{background:0 0;background-color:#005ea2;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;display:inline-block;height:18px;width:18px;content:"";vertical-align:middle;margin-left:2px}}@media (min-width: 768px){button::after,button:hover::after{background-color:#005ea2;position:absolute}button::after,#header.expanded button::after{background:0 0;background-color:#005ea2;display:inline-block;height:18px;width:18px;content:"";vertical-align:middle;margin-left:2px;top:-1px}button::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain}#header.expanded button::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain}}@media (max-width: 767px){button[aria-expanded=true]:after{bottom:0;top:0;position:absolute;right:0}@supports ((-webkit-mask: url()) or (mask: url())){button[aria-expanded=true]::after{background:0 0;background-color:#005ea2 !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/24px 24px;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/24px 24px}}button[aria-expanded=true]::after,button[aria-expanded=true]:before{position:absolute;content:"";height:48px;width:48px;bottom:0;top:0;right:0}button[aria-expanded=true]::after{background:0 0;background-color:#005ea2;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;display:inline-block;height:48px;width:48px;content:"";vertical-align:middle;margin-left:0}button[aria-expanded=true]:before{background-color:#dfe1e2;display:block}}button::after{position:absolute}.content{margin-left:auto;margin-right:auto;max-width:1024px;background-color:transparent;font-size:16px;overflow:hidden;padding:24px 32px 16px 16px}.content img{-ms-flex-negative:0;flex-shrink:0;margin-right:8px;width:45px}.content .media-block{-ms-flex:1 1 0%;flex:1 1 0%}.content svg{height:1.5ex;width:1.21875ex}.content p{margin-top:0;-webkit-margin-after:1em;margin-block-end:1em}'}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2205],{2205:function(e,t,i){i.r(t),i.d(t,{va_crisis_line_modal:function(){return c},va_official_gov_banner:function(){return r}});var a=i(1484),n=i(1429),o=i(4665),c=function(){function e(e){(0,a.r)(this,e),this.allowModalRender=!1,this.phoneNumber="988",this.phoneExtension="1",this.textNumber="838255",this.chatUrl="https://www.veteranscrisisline.net/get-help-now/chat/",this.ttyNumber=n.a.CRISIS_MODAL_TTY.phoneNumber||"711",this.ttyCrisisExtension=n.a.CRISIS_MODAL_TTY.extension||"988",this.mode=void 0,this.isOpen=!1,this.shifted=!1}return e.prototype.handleGlobalOpen=function(){this.allowModalRender&&this.open()},e.prototype.open=function(){this.setVisible()},e.prototype.setVisible=function(){this.isOpen=!0},e.prototype.setNotVisible=function(){this.isOpen=!1},e.prototype.componentWillLoad=function(){e.modalOwner||"trigger"===this.mode||(this.allowModalRender=!0,e.modalOwner=this.el)},e.prototype.disconnectedCallback=function(){e.modalOwner===this.el&&(e.modalOwner=null)},e.prototype.trackShiftKey=function(e){this.shifted=e.shiftKey},e.prototype.trapFocus=function(){var e,t=null===(e=this.el)||void 0===e?void 0:e.shadowRoot.querySelector("va-modal"),i=null==t?void 0:t.getAttribute("visible");if(null!==i&&"false"!==i){var a=void 0,n=this.shifted?".last-focusable-child":'[role="document"]';null==(a=this.shifted?null==t?void 0:t.querySelector(n):null==t?void 0:t.shadowRoot.querySelector(n))||a.focus()}},e.prototype.render=function(){var e=this,t=this,i=t.phoneNumber,n=t.phoneExtension,c=t.textNumber,r=t.chatUrl,s=t.ttyNumber,d=t.ttyCrisisExtension,l=t.mode,g="modal"!==l,b=this.allowModalRender&&"trigger"!==l;return(0,a.h)(a.H,{key:"88996025fcdc1122068df01cdbb286ce7dbe1ca3"},g&&(0,a.h)("div",{key:"8ca76bd5525e87c7e2d5baa3ee2d9ec697bdeb33",class:"va-crisis-line-container"},(0,a.h)("button",{key:"ff230af3b7ae30b4e2acfada0f9cc96252b4ee43",onClick:function(){return document.dispatchEvent(new CustomEvent("vaCrisisLineModalOpen"))},onFocusin:function(){return e.trapFocus()},"data-show":"#modal-crisisline",class:"va-crisis-line va-overlay-trigger",part:"button"},(0,a.h)("div",{key:"c9b1200a32d95e5900412630b317bd89e53603f2",class:"va-crisis-line-inner"},(0,a.h)("span",{key:"095f4f84351c0e079148dab58bcce488cf84e424",class:"va-crisis-line-icon","aria-hidden":"true"}),(0,a.h)("span",{key:"dedec2994be5d539f6766f4d5363883d6e839c60",class:"va-crisis-line-text",innerHTML:o.i.t("crisis-line-trigger-text")}),(0,a.h)("va-icon",{key:"67403aa0e9a4903d7f0385e1bccee3f4d02545a1",class:"va-icon__right-arrow",icon:"navigate_next",size:3})))),b&&(0,a.h)("va-modal",{key:"1188106f0740a332ea48d2ba62286c4de1ea2902",modalTitle:o.i.t("crisis-line-modal-title"),onPrimaryButtonClick:function(){return e.setNotVisible()},onCloseEvent:function(){return e.setNotVisible()},visible:this.isOpen,large:!0},(0,a.h)("p",{key:"56160927cdc08a2ef882204f85812cd73fb2a831"},o.i.t("crisis-line-intro")),(0,a.h)("ul",{key:"6e1a36268509617d8e57380bfc9dc8a28a4566c7",class:"va-crisis-panel-list"},(0,a.h)("li",{key:"700d2bfc15dca8c06db7b75d15dea23d3bf56890"},(0,a.h)("va-icon",{key:"1d23a524dc9792e6e7a4d09b5a8a839fbccf161a",class:"va-clm__icon",icon:"phone",size:3}),(0,a.h)("span",{key:"59a1661b09c8aa9e6126d34b80b2fe3c54802657"},o.i.t("crisis-line-phone-label")+" "," ",(0,a.h)("strong",{key:"935d09b1bce83e714a1cd37d5897c15989337ae2"},(0,a.h)("va-telephone",{key:"747ed72e35f04c845833cbfe09235157c8187009",contact:i}),n?" ".concat(o.i.t("crisis-line-phone-extension-label")," ").concat(n):null))),(0,a.h)("li",{key:"aeede56bad734f94133bcf5591b5b67d3c8fff6a"},(0,a.h)("va-icon",{key:"f0ddbdbf66ee74d82dc0bfddaa0f7e0a3ab876b8",icon:"phone_iphone",class:"va-clm__icon",size:3}),(0,a.h)("span",{key:"ed2320795746f7d6389d1d460d397f70a66ea713"},o.i.t("crisis-line-text-label")+" "," ",(0,a.h)("strong",{key:"f330d828ae8d16f84d6400d85113667cf7cab014"},(0,a.h)("va-telephone",{key:"39d1cdd2ba7ebef934b8141294d9ffc8d0ea193b",sms:!0,contact:c})))),(0,a.h)("li",{key:"1144f351bb07ff02c2b2e9c4b9c1655154c5e1a4"},(0,a.h)("va-icon",{key:"8ed4fbe5d0c38e9a24bcb8821e56039089bad21e",icon:"chat",class:"va-clm__icon",size:3}),(0,a.h)("a",{key:"382d7434d4562f304ee4d06988c79a3185b7ee9d",class:"no-external-icon",href:r},o.i.t("crisis-line-chat-label"))),(0,a.h)("li",{key:"19d0c97e974ad7a0636d77bc6494930b3d4e2170"},(0,a.h)("va-icon",{key:"013b9601534c628160d8364a99dcda6570116b97",icon:"tty",class:"va-clm__icon",size:3}),(0,a.h)("p",{key:"e34dc521517f7092411d1860ef50f8a8b02b979a"},o.i.t("crisis-line-tty-label")+" ",(0,a.h)("strong",{key:"f46ac0836caed675365caadb2c96108187f6a6f1"},(0,a.h)("va-telephone",{key:"e9b0e4f6e43be4950c2e76c7f81bb5f352074fb0",contact:s}),d?" ".concat(o.i.t("crisis-line-tty-extension-label")," ").concat(d):null)))),(0,a.h)("p",{key:"1e65899bba6878050240021802eee22e580851e4"},o.i.t("crisis-line-resources-link-label")+" ",(0,a.h)("a",{key:"8835e5ac2c94c138370d377f31a6ae0d8f544b7f",class:"no-external-icon",href:"https://www.veteranscrisisline.net/"},o.i.t("crisis-line-resources-link-text")))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),e}();c.modalOwner=null,c.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}.va-crisis-line-container{position:relative;margin:auto;background-color:var(--vads-color-secondary-dark)}@media (min-width: 1024px){.va-crisis-line-container{max-width:60.938rem;background-color:transparent}}a{color:var(--vads-color-link)}button.va-crisis-line{cursor:pointer;background-color:var(--vads-color-secondary-darkest);display:block;border-radius:0;color:var(--vads-button-color-text-primary-alt-on-light);font-family:var(--font-source-sans);font-size:16px;font-weight:normal;text-decoration:none;padding:0;margin:0;width:100%;border:0;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:background-color;transition-property:background-color}button.va-crisis-line:focus{outline-offset:-2px}button.va-crisis-line:hover,button.va-crisis-line:active{background-color:#8b0a03}@media (min-width: 1024px){button.va-crisis-line:hover .va-crisis-line-icon,button.va-crisis-line:active .va-crisis-line-icon{background-color:#b51d09}}@media (min-width: 1024px){button.va-crisis-line{width:auto;border-radius:0 0 2.3px 2.3px;-webkit-box-shadow:0 2px 5px var(--vads-color-base);box-shadow:0 2px 5px var(--vads-color-base)}}.va-crisis-line-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;margin:auto}@media (min-width: 1024px){.va-crisis-line-inner{text-align:left;-ms-flex-pack:justify;justify-content:space-between}}.va-crisis-line-icon{content:"";background:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 96 60%22 width%3D%2296px%22 height%3D%2260px%22%3E%3Cpath d%3D%22M58 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 30c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 46c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm-48 2L32 60h-2V48H4c-2.20914 0-4-1.79086-4-4V4c0-2.20914 1.79086-4 4-4h40c2.20914 0 4 1.79086 4 4v40c0 2.20914-1.79086 4-4 4h-2zM24 31.72174L33.86667 39l-3.73334-11.86087L40 20.13043H28L24 8l-4 12.13043H8l9.86667 7.0087L14.13333 39 24 31.72174z%22 fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat right 29%;background-size:30px auto;background-position:8px 8px;width:40px;height:36px;padding-right:3px;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:background-color;transition-property:background-color}@media (max-width: 480px){.va-crisis-line-icon{display:none}}@media (min-width: 1024px){.va-crisis-line-icon{border-bottom-left-radius:3.2px}}.va-crisis-line-text{padding:8px}.va-icon__right-arrow{position:relative;top:2px}.va-clm__icon{position:relative;top:15px;margin-right:23px}.va-crisis-panel{color:var(--vads-color-base)}.va-crisis-panel-body{max-height:100%}.va-crisis-panel-title{color:var(--vads-color-base);padding-left:41px;background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 96 60%22 width%3D%2296px%22 height%3D%2260px%22%3E%3Cpath d%3D%22M58 14c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 30c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zM58 46c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm16 0c-3.3137 0-6-2.6863-6-6s2.6863-6 6-6 6 2.6863 6 6-2.6863 6-6 6zm-48 2L32 60h-2V48H4c-2.20914 0-4-1.79086-4-4V4c0-2.20914 1.79086-4 4-4h40c2.20914 0 4 1.79086 4 4v40c0 2.20914-1.79086 4-4 4h-2zM24 31.72174L33.86667 39l-3.73334-11.86087L40 20.13043H28L24 8l-4 12.13043H8l9.86667 7.0087L14.13333 39 24 31.72174z%22 fill%3D%22%23FFF%22 fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat left;background-position:left 5px;background-size:32px auto}.va-crisis-panel-list{list-style:none;padding:0}.va-crisis-panel-list>li{display:-ms-flexbox;display:flex;min-height:56px;margin-bottom:0;border-top:1px solid var(--vads-color-base-light)}.va-crisis-panel-list>li:last-child{border-bottom:1px solid var(--vads-color-base-light)}.va-crisis-panel-list>li>a,.va-crisis-panel-list>li>span{padding:8px 0;-ms-flex-item-align:center;align-self:center}';var r=function(){function e(e){var t=this;(0,a.r)(this,e),this.componentLibraryAnalytics=(0,a.c)(this,"component-library-analytics",7),this.handleClick=function(){var e,i,a,n=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".content"),o=null===(i=t.el.shadowRoot)||void 0===i?void 0:i.querySelector("button"),c=null===(a=t.el.shadowRoot)||void 0===a?void 0:a.querySelector("div#header");if(o.setAttribute("aria-expanded","true"===o.getAttribute("aria-expanded")?"false":"true"),c.classList.toggle("expanded"),n.hidden?n.removeAttribute("hidden"):n.setAttribute("hidden","true"),!t.disableAnalytics){var r={componentName:"va-official-gov-banner",action:"true"===o.getAttribute("aria-expanded")?"expand":"collapse"};t.componentLibraryAnalytics.emit(r)}},this.govSiteExplanationText=function(){var e,i=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".gov-site-explanation-text");if(i){var a=o.i.t("gov-site-explanation",{tld:t.tld});a&&(i.innerHTML=a.replace(".".concat(t.tld),"<strong>.".concat(t.tld,"</strong>")))}},this.govSiteLockText=function(){var e,i=null===(e=t.el.shadowRoot)||void 0===e?void 0:e.querySelector(".gov-site-lock-text"),a=o.i.t("gov-site-lock",{image:"SVG",tld:t.tld});a=(a=(a=(a=a.replace("SVG",'(&nbsp;<span class="icon-lock"><svg xmlns="http://www.w3.org/2000/svg" width="52" height="64" viewBox="0 0 52 64" role="img" aria-labelledby="banner-lock-description" focusable="false">\n <title id="banner-lock-title">Lock</title>\n <desc id="banner-lock-description">Locked padlock icon</desc>\n <path fill="#000000" fill-rule="evenodd" d="M26 0c10.493 0 19 8.507 19 19v9h3a4 4 0 0 1 4 4v28a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V32a4 4 0 0 1 4-4h3v-9C7 8.507 15.507 0 26 0zm0 8c-5.979 0-10.843 4.77-10.996 10.712L15 19v9h22v-9c0-6.075-4.925-11-11-11z"></path>\n </svg></span>&nbsp;)')).replace("lock","<strong>lock</strong>")).replace("candado","<strong>candado</strong>")).replace("https://","<strong>https://</strong>"),i&&(i.innerHTML=a)},this.disableAnalytics=!1,this.tld="gov"}return e.prototype.connectedCallback=function(){var e=this;o.i.on("languageChanged",(function(){(0,a.f)(e.el)}))},e.prototype.disconnectedCallback=function(){o.i.off("languageChanged")},e.prototype.componentDidLoad=function(){this.govSiteExplanationText(),this.govSiteLockText()},e.prototype.render=function(){var e=this.tld;if("gov"===e||"mil"===e)return(0,a.h)(a.H,{key:"6f9aeb2cb2db419faeb6b82af943b21e7accb5b7"},(0,a.h)("div",{key:"d2f87f49f67b6b14c1c91ffabb9f0c021f0aea45",class:"banner"},(0,a.h)("div",{key:"2e7d39ca06f55434e70f277e1f01a13cb01baa59",class:"accordion"},(0,a.h)("div",{key:"652eded07fd0f9f953d3e814f4abc6476b0701c0",id:"header"},(0,a.h)("div",{key:"d9a27ec47c7c2a0346c2005544b253a828d4d1be",class:"inner"},(0,a.h)("div",{key:"b8a8c9dc09088a43f114cdc509f23b4dce67816a",class:"grid-col-auto"},(0,a.h)("img",{key:"3e314e8c242bca4adf4830fa92a2a5144000b262",role:"presentation",class:"header-flag",src:"https://s3-us-gov-west-1.amazonaws.com/content.www.va.gov/img/tiny-usa-flag.png",alt:""})),(0,a.h)("div",{key:"aa6336982dc72fd4805ad92a44c942e3871ef07f",class:"grid-col-fill","aria-hidden":"true"},(0,a.h)("p",{key:"b41c2831130b25a6416c070c5f804c31fdab7f9b",class:"header-text"},o.i.t("gov-site-label")),(0,a.h)("p",{key:"2d4a526e651cbce9a836e4e4eeef5d29c5d95b6f",class:"header-action"},o.i.t("gov-site-button"))),(0,a.h)("button",{key:"3c64d2251ddcd9a20e3ab25a321bd083be8a3656",onClick:this.handleClick,type:"button","aria-expanded":"false","aria-controls":"official-gov-banner"},(0,a.h)("span",{key:"3a95d02acc4886be90bda95e4c0cc0ffcc334def",class:"button-text"},o.i.t("gov-site-button"))))),(0,a.h)("div",{key:"6ac396b01113cb9b384a272fb7dd95834c16e458",class:"content",id:"official-gov-banner",hidden:!0},(0,a.h)("div",{key:"8499334de2c023a0123f5e9681867638655fe332",class:"grid-row"},(0,a.h)("div",{key:"b8bee619ccc4680da0102c589cd609e0b7a76042",class:"col"},(0,a.h)("img",{key:"29af4299ac44cc7cab91e7a8893a2b2929ebffc8",src:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiPjx0aXRsZT5pY29uLWRvdC1nb3Y8L3RpdGxlPjxwYXRoIGZpbGw9IiMyMzc4QzMiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTMyIDBjMTcuNjczIDAgMzIgMTQuMzI3IDMyIDMyIDAgMTcuNjczLTE0LjMyNyAzMi0zMiAzMkMxNC4zMjcgNjQgMCA0OS42NzMgMCAzMiAwIDE0LjMyNyAxNC4zMjcgMCAzMiAwem0wIDEuMjA4QzE0Ljk5NCAxLjIwOCAxLjIwOCAxNC45OTQgMS4yMDggMzJTMTQuOTk0IDYyLjc5MiAzMiA2Mi43OTIgNjIuNzkyIDQ5LjAwNiA2Mi43OTIgMzIgNDkuMDA2IDEuMjA4IDMyIDEuMjA4em0xMC41OSAzOC44NThhLjg1Ny44NTcgMCAwIDEgLjg4Mi44MjJ2MS42NDJIMTguODg2di0xLjY0MmEuODU3Ljg1NyAwIDAgMSAuODgyLS44MjJINDIuNTl6TTI1LjQ0MyAyNy43NzR2OS44MjloMS42NDJ2LTkuODNoMy4yNzN2OS44M0gzMnYtOS44M2gzLjI3MnY5LjgzaDEuNjQzdi05LjgzaDMuMjcydjkuODNoLjc2YS44NTcuODU3IDAgMCAxIC44ODIuODIxdi44MjFoLTIxLjN2LS44MDlhLjg1Ny44NTcgMCAwIDEgLjg4LS44MmguNzYydi05Ljg0MmgzLjI3MnptNS43MzYtOC4xODhsMTIuMjkzIDQuOTE1djEuNjQyaC0xLjYzYS44NTcuODU3IDAgMCAxLS44ODIuODIySDIxLjQxYS44NTcuODU3IDAgMCAxLS44ODItLjgyMmgtMS42NDJ2LTEuNjQybDEyLjI5My00LjkxNXoiLz48L3N2Zz4=",role:"presentation",alt:""}),(0,a.h)("div",{key:"cb7caa57c2e4133bdb77a299b693bc4bac94fa63",class:"media-block"},(0,a.h)("p",{key:"898adcec23908baa34350dc9bec6ce3e42a8261a"},(0,a.h)("strong",{key:"5948d078f03c00d153ce259a94d0e1907f6cd222"},o.i.t("gov-site-website",{tld:e})),(0,a.h)("br",{key:"6a111b8adfae61cba46692e4eb985cfa165ebe04"}),(0,a.h)("span",{key:"1fb26cd3fc899d9714732a15b397355b42bb9a02",class:"gov-site-explanation-text"},this.govSiteExplanationText())))),(0,a.h)("div",{key:"93e1edc13bd27d8fecd5eaaa2e827e3aa4f18f03",class:"col"},(0,a.h)("img",{key:"207df00a766ea1b39200d881a732a719abf193eb",src:"data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjY0IiB2aWV3Qm94PSIwIDAgNjQgNjQiIHdpZHRoPSI2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMzIgMGMxNy42NzMgMCAzMiAxNC4zMjcgMzIgMzJzLTE0LjMyNyAzMi0zMiAzMi0zMi0xNC4zMjctMzItMzIgMTQuMzI3LTMyIDMyLTMyem0wIDEuMjA4Yy0xNy4wMDYgMC0zMC43OTIgMTMuNzg2LTMwLjc5MiAzMC43OTJzMTMuNzg2IDMwLjc5MiAzMC43OTIgMzAuNzkyIDMwLjc5Mi0xMy43ODYgMzAuNzkyLTMwLjc5Mi0xMy43ODYtMzAuNzkyLTMwLjc5Mi0zMC43OTJ6bTAgMTguODg2YTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1IDcuMjQ1djMuMTAzaC41MmMuODYgMCAxLjU1Ny42OTggMS41NTcgMS41NTh2OS4zMjJjMCAuODYtLjY5NyAxLjU1OC0xLjU1NyAxLjU1OGgtMTUuNTNjLS44NiAwLTEuNTU3LS42OTctMS41NTctMS41NTh2LTkuMzIyYzAtLjg2LjY5Ny0xLjU1OCAxLjU1Ny0xLjU1OGguNTJ2LTMuMTAyYTcuMjQ1IDcuMjQ1IDAgMCAxIDcuMjQ1LTcuMjQ2em0wIDMuMTAzYTQuMTQyIDQuMTQyIDAgMCAwIC00LjE0MiA0LjE0MnYzLjEwM2g4LjI4NHYtMy4xMDJhNC4xNDIgNC4xNDIgMCAwIDAgLTQuMTQyLTQuMTQzeiIgZmlsbD0iIzcxOWYyYSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+",role:"presentation",alt:""}),(0,a.h)("div",{key:"ce684c9cca25aa15652c69c9d68e3d49a30dd024",class:"media-block"},(0,a.h)("p",{key:"acb2c7f0f0ec2aaf88e6d36fe44574f3606dcb5b"},(0,a.h)("strong",{key:"4a4d7d020a95f97f0e15061681f4e480c6491a84"},o.i.t("gov-site-https",{tld:e})),(0,a.h)("br",{key:"b184da4667c77cf95353ac25631d06b5c2c12e07"}),(0,a.h)("span",{key:"1061015c5b1bfd206dfc2b7f263e5bfc22ba85a1",class:"gov-site-lock-text"},this.govSiteLockText())))))))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),e}();r.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}:host{display:block}.banner{background-color:#f0f0f0;font-size:12px;line-height:1.5;padding-bottom:0}.accordion{color:#1b1b1b;line-height:1.5;list-style-type:none;margin:0;padding:0;width:100%}.grid-col-fill{-ms-flex:1 1 0%;flex:1 1 0%;min-width:1px}.grid-col-auto,.grid-col-fill{-ms-flex:0 1 auto;flex:0 1 auto;width:auto;max-width:100%}.grid-row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-0.469rem;margin-right:-0.469rem;margin-top:0;margin-bottom:0}.col{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex;-ms-flex:0 0 46%;flex:0 0 46%;padding-left:0.469rem;padding-right:0.469rem}@media (max-width: 767px){.col{-ms-flex:unset;flex:unset}}#header{padding-bottom:6px;padding-top:6px;position:relative}#header.expanded .header-action{display:none}@media (max-width: 767px){#header{min-height:32px}#header.expanded{padding-right:56px}}.inner{margin-left:auto;margin-right:auto;max-width:1024px;padding-left:16px;padding-right:16px;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start;padding-right:0}.header-flag{float:left;margin-right:8px;width:16px}.header-text{font-size:12px;margin-bottom:2px;margin-right:5px;margin-top:2px;line-height:1.1}.header-action{color:#005ea2;font-size:12px;line-height:1.1;margin-bottom:0;margin-top:2px;text-decoration:underline}@media (min-width: 768px){.header-action{display:none}}button:not([disabled]):focus{outline:2px solid var(--vads-color-action-focus-on-light)}button[aria-expanded=false],button[aria-expanded=true]{background-image:none}@media (max-width: 767px){button{width:100%}}button{border:0;color:#005ea2;font-size:12px;margin:0;margin-left:0.313rem;padding-left:0;padding-right:0;position:relative}@media (max-width: 767px){button{-webkit-font-smoothing:inherit;background-color:transparent;border:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none;margin:0;margin-bottom:-4px;text-align:left;left:0;position:absolute;bottom:0;top:0;color:#005ea2;display:block;height:auto;line-height:1.1;padding:0;text-decoration:none;width:100%}}button:hover{color:#1a4480;cursor:pointer}.button-text{position:absolute;left:-999em;right:auto;text-decoration:underline}@media (min-width: 768px){.button-text{position:static;display:inline}}@media (max-width: 767px){#header .header-action::after,#header.expanded .header-action::after{background-color:#005ea2}#header.expanded .header-action::after,#header .header-action::after{background:0 0;background-color:#005ea2;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;display:inline-block;height:18px;width:18px;content:"";vertical-align:middle;margin-left:2px}}@media (min-width: 768px){button::after,button:hover::after{background-color:#005ea2;position:absolute}button::after,#header.expanded button::after{background:0 0;background-color:#005ea2;display:inline-block;height:18px;width:18px;content:"";vertical-align:middle;margin-left:2px;top:-1px}button::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain}#header.expanded button::after{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain}}@media (max-width: 767px){button[aria-expanded=true]:after{bottom:0;top:0;position:absolute;right:0}@supports ((-webkit-mask: url()) or (mask: url())){button[aria-expanded=true]::after{background:0 0;background-color:#005ea2 !important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/24px 24px;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/24px 24px}}button[aria-expanded=true]::after,button[aria-expanded=true]:before{position:absolute;content:"";height:48px;width:48px;bottom:0;top:0;right:0}button[aria-expanded=true]::after{background:0 0;background-color:#005ea2;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z%22%2F%3E%3C%2Fsvg%3E") no-repeat center/contain;display:inline-block;height:48px;width:48px;content:"";vertical-align:middle;margin-left:0}button[aria-expanded=true]:before{background-color:#dfe1e2;display:block}}button::after{position:absolute}.content{margin-left:auto;margin-right:auto;max-width:1024px;background-color:transparent;font-size:16px;overflow:hidden;padding:24px 32px 16px 16px}.content img{-ms-flex-negative:0;flex-shrink:0;margin-right:8px;width:45px}.content .media-block{-ms-flex:1 1 0%;flex:1 1 0%}.content svg{height:1.5ex;width:1.21875ex}.content p{margin-top:0;-webkit-margin-after:1em;margin-block-end:1em}'}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2236],{2236:function(e,t,r){r.r(t),r.d(t,{va_file_input_multiple:function(){return s}});var i=r(7911),o=(r(8181),r(4665)),n=function(e,t,r){if(r||2===arguments.length)for(var i,o=0,n=t.length;o<n;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))},s=function(){function e(e){var t=this;(0,i.r)(this,e),this.vaMultipleChange=(0,i.c)(this,"vaMultipleChange",7),this.fileKeyCounter=0,this.additionalSlot=null,this.getAdditionalFileUploadMessage=function(){return(0,i.h)("span",null,"Drag an additional file here or"," ",(0,i.h)("span",{class:"file-input-choose-text"},"choose from folder"))},this.renderLabelOrHeader=function(e,t,r){var n=t?(0,i.h)("span",{class:"required"}," ",o.i.t("required")):null;if(r&&r>=1&&r<=6){var s="h".concat(r);return(0,i.h)("div",{class:"label-header"},(0,i.h)(s,{part:"label",class:"label-header-tag"},e,n))}return(0,i.h)("div",{class:"label-header"},(0,i.h)("label",{part:"label",class:"usa-label"},e,n))},this.addValueFiles=function(){return function(e,t,r,i){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function s(e){try{l(i.next(e))}catch(e){n(e)}}function a(e){try{l(i.throw(e))}catch(e){n(e)}}function l(e){e.done?r(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))}(t,void 0,void 0,(function(){var e=this;return function(e,t){var r,i,o,n,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;n&&(n=0,a[0]&&(s=0)),s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}(this,(function(t){return this.files.shift(),this.value.forEach((function(t){e.files.push({file:t,key:e.fileKeyCounter,content:e.getAdditionalContent()||null}),e.fileKeyCounter++})),this.readOnly||this.files.push({file:null,key:this.fileKeyCounter,content:null}),this.valueAdded=!0,[2,Promise.resolve()]}))}))},this.hasErrors=function(){return t.errors.some((function(e){return!!e}))},this.label=void 0,this.name=void 0,this.required=!1,this.accept=void 0,this.errors=[],this.passwordErrors=[],this.encrypted=[],this.hint=void 0,this.enableAnalytics=!1,this.headerSize=void 0,this.value=void 0,this.readOnly=!1,this.slotFieldIndexes=null,this.percentUploaded=[],this.maxFileSize=1/0,this.minFileSize=0,this.statusText=void 0,this.uploadedFiles=void 0,this.files=[{key:0,file:null,content:null,hasError:!1}],this.valueAdded=!1}return e.prototype.findFileByKey=function(e){return this.files.find((function(t){return t.key===e}))},e.prototype.findIndexByKey=function(e){return this.files.indexOf(this.files.find((function(t){return t.key===e})))},e.prototype.isEmpty=function(){return null===this.files[0].file&&!0!==this.files[0].hasError},e.prototype.setSlotContent=function(){var e=this.el.shadowRoot.querySelector("slot");this.additionalSlot||(this.additionalSlot=e?e.assignedElements({flatten:!0}):[]),null==e||e.remove()},e.prototype.getAdditionalContent=function(){return this.additionalSlot&&this.additionalSlot.map((function(e){return e.cloneNode(!0)}))},e.prototype.ensurePlaceholder=function(){if(!this.readOnly&&!this.files.some((function(e){return null===e.file&&!0!==e.hasError}))){this.fileKeyCounter++;var e={file:null,key:this.fileKeyCounter,content:null,error:!1};this.files=n(n([],this.files,!0),[e],!1)}},e.prototype.handleChange=function(e,t,r){var i,o,s,a=e.detail.files[0];if(a){var l=this.findFileByKey(t);l.hasError&&(l.hasError=!1),l.file?(o="FILE_UPDATED",s=a,l.file=a):(o="FILE_ADDED",s=a,l.file=a,l.content=this.getAdditionalContent(),this.fileKeyCounter++,this.files=n([],this.files,!0),this.ensurePlaceholder()),i=this.buildFilesArray(this.files,!1,this.findIndexByKey(t))}else{o="FILE_REMOVED",s=this.files[r].file;var h=n([],this.files,!0);h.splice(r,1),this.files=h;var f=this.el.shadowRoot.querySelector("#statusMessage");f.textContent="",setTimeout((function(){f.textContent="File deleted."}),1e3),i=this.buildFilesArray(this.files,!0)}this.ensurePlaceholder(),this.updateFilesState(),this.vaMultipleChange.emit({action:o,file:s,state:i,index:r})},e.prototype.handlePasswordChange=function(e,t,r){var i=this.findFileByKey(t);i.password=e.detail.password;var o=this.buildFilesArray(this.files,!1,this.findIndexByKey(t)),n={action:"PASSWORD_UPDATE",file:i.file,state:o,index:r};this.vaMultipleChange.emit(n)},e.prototype.updateFilesState=function(){this.files=n([],this.files,!0)},e.prototype.buildFilesArray=function(e,t,r){var i=e.filter((function(e){return!!e.file})).map((function(e){return{file:e.file,changed:!1,password:e.password}}));return!t&&i[r]&&(i[r].changed=!0),i},e.prototype.componentDidRender=function(){var e=this,t=this.el.shadowRoot.querySelectorAll("va-file-input");return this.setSlotContent(),t.forEach((function(t,r){!e.files[r].content||e.slotFieldIndexes&&!e.slotFieldIndexes.includes(r)||e.files[r].content.forEach((function(e){return t.append(e)}))})),this.value&&this.value.length&&!this.valueAdded?this.addValueFiles():Promise.resolve()},e.prototype.render=function(){var e=this,t=this,r=t.label,o=t.required,n=t.headerSize,s=t.hint,a=t.files,l=t.name,h=t.accept,f=t.errors,d=t.encrypted,u=t.percentUploaded,p=t.passwordErrors,c=t.enableAnalytics,m=t.readOnly,b=t.maxFileSize,g=t.minFileSize,v=t.statusText,y=t.uploadedFiles,x=this.isEmpty()?"":"outer-wrap",w=this.hasErrors()?"has-error":"";return(0,i.h)(i.H,{key:"8f38f91c9cab0db9aeb6fe250be033e44df71a06",class:w,error:w?"error":""},r&&!m&&this.renderLabelOrHeader(r,o,n),s&&!m&&(0,i.h)("div",{key:"5f7ddf944c1b5215fce3f43e169ca7c41435780e",class:"usa-hint",id:"input-hint-message"},s),(0,i.h)("div",{key:"84222f23a2fe716a9d06ae3a54e7750dac691a56",class:x},(0,i.h)("div",{key:"7fff4a5ff2437531a74e62a4c03f03b4d9482f85",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),!this.isEmpty()&&(0,i.h)("div",{key:"7b8fd2dc123b025869fb601e6a2c075371982042",class:"selected-files-label"},m?"Files you uploaded":"Selected files"),a.map((function(t,n){var a=u&&u.length>=n?u[n]:null,x=p&&p.length>=n?p[n]:null,w=y&&y.length>=n?y[n]:null;return(0,i.h)("va-file-input",Object.assign({key:t.key,id:"instance-".concat(n),headless:!0,label:r,hint:s,name:"".concat(l,"-").concat(t.key),accept:h,required:o},n>0?{uploadMessage:e.getAdditionalFileUploadMessage()}:{},{error:f[n],encrypted:d[n],percentUploaded:a,passwordError:x,onVaChange:function(r){return e.handleChange(r,t.key,n)},onVaFileInputError:function(){var r=e.findIndexByKey(t.key);r>-1&&(e.files[r]=Object.assign(Object.assign({},e.files[r]),{hasError:!0}),e.updateFilesState(),e.ensurePlaceholder())},onVaPasswordChange:function(r){return e.handlePasswordChange(r,t.key,n)},"enable-analytics":c,value:t.file,readOnly:m,maxFileSize:b,minFileSize:g,statusText:v,uploadedFile:w,class:t.file||t.hasError?"has-file":"no-file","max-file-size":b,"min-file-size":g}))}))),(0,i.h)("slot",{key:"1a4fc1e2a895d3845a2f0e7f8290433caf567ca6"}))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,i.g)(this)},enumerable:!1,configurable:!0}),e}();s.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}@import \'~@department-of-veterans-affairs/css-library/dist/stylesheets/base/headings.css\';:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-hint{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1023px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}[hidden]{display:none}:host{display:block;font-family:var(--font-source-sans);font-size:16.96px;}:host .label-header{color:var(--vads-color-base);font-weight:var(--font-weight-normal)}:host .label-header-tag{margin:0;display:inline-block}:host .file-input-wrapper{display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host .file-input{cursor:pointer;height:100%;width:100%;max-width:none;top:0;left:0;z-index:1;margin:0;position:absolute;text-indent:-999em;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target{border:1px dashed var(--vads-color-action-border-base-active-on-dark);display:block;margin-top:0.3125rem;position:relative;text-align:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target.file-input-target-error{border:2px dashed var(--vads-color-secondary-dark)}:host .file-input-box{background:var(--vads-color-white);height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}:host .file-input-instructions{font-size:1.06rem;padding:1.25rem 0.625rem;pointer-events:none;position:relative;z-index:3}:host .file-input-choose-text{color:var(--vads-color-link);text-decoration:underline;font-weight:var(--font-weight-normal)}:host .file-icon{color:var(--vads-color-primary-alt-darkest)}:host .selected-files-wrapper{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light)}:host .selected-files-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;border-bottom:1px solid var(--vads-color-white);margin-bottom:8px;padding:8px}:host .va-card{margin:8px}:host .file-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;padding:0 8px;display:block;width:100%;word-wrap:break-word;word-break:break-word;overflow:hidden}:host #input-error-message{padding:0 8px;width:100%}:host .file-size-label,:host .file-status-label{color:var(--vads-color-base-dark);font-weight:var(--font-weight-normal);font-size:1.06rem;padding:0 8px;display:block}:host .file-status-label{font-style:italic}:host .file-info-section{padding:0 8px 8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .file-button-section{margin-top:8px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row}:host .file-button-section>va-button-icon{font-size:1.06rem}@media screen and (max-width: 320px){:host .file-button-section{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}}:host .with-separator{border-top:1px solid var(--vads-color-base-lighter)}:host .vads-u-line-height--2{line-height:1.15}:host .thumbnail-container{height:40px;width:40px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host .thumbnail-preview{max-width:40px;width:auto;max-height:40px;height:auto}:host .thumbnail-error{color:#b21d38}:host va-progress-bar{font-size:var(--vads-font-size-root);display:block;margin-left:16px}:host .uploading-status{font-style:var(--font-style-italic)}:host(.has-error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host(.has-error){margin-left:-0.9rem}}.required{color:var(--vads-color-secondary-dark);margin-left:0.25rem}h1 .required,h2 .required,h3 .required,h4 .required,h5 .required,h6 .required{font-family:var(--font-source-sans);font-size:initial;font-weight:initial}.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.has-error{border-left:0.25rem solid #b50909;padding-left:1rem}:host .outer-wrap{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light);display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host va-file-input.no-file{margin:0 8px}:host va-file-input:not(:last-child){border-bottom:1px solid var(--vads-color-white)}:host va-file-input.has-error{border-left:none;padding-left:0}@media screen and (min-width: 1024px){:host va-file-input.has-error{margin-left:0}}'}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2236],{2236:function(e,t,r){r.r(t),r.d(t,{va_file_input_multiple:function(){return s}});var i=r(1484),o=(r(1429),r(4665)),n=function(e,t,r){if(r||2===arguments.length)for(var i,o=0,n=t.length;o<n;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))},s=function(){function e(e){var t=this;(0,i.r)(this,e),this.vaMultipleChange=(0,i.c)(this,"vaMultipleChange",7),this.fileKeyCounter=0,this.additionalSlot=null,this.getAdditionalFileUploadMessage=function(){return(0,i.h)("span",null,"Drag an additional file here or"," ",(0,i.h)("span",{class:"file-input-choose-text"},"choose from folder"))},this.renderLabelOrHeader=function(e,t,r){var n=t?(0,i.h)("span",{class:"required"}," ",o.i.t("required")):null;if(r&&r>=1&&r<=6){var s="h".concat(r);return(0,i.h)("div",{class:"label-header"},(0,i.h)(s,{part:"label",class:"label-header-tag"},e,n))}return(0,i.h)("div",{class:"label-header"},(0,i.h)("label",{part:"label",class:"usa-label"},e,n))},this.addValueFiles=function(){return function(e,t,r,i){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function s(e){try{l(i.next(e))}catch(e){n(e)}}function a(e){try{l(i.throw(e))}catch(e){n(e)}}function l(e){e.done?r(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))}(t,void 0,void 0,(function(){var e=this;return function(e,t){var r,i,o,n,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;n&&(n=0,a[0]&&(s=0)),s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}(this,(function(t){return this.files.shift(),this.value.forEach((function(t){e.files.push({file:t,key:e.fileKeyCounter,content:e.getAdditionalContent()||null}),e.fileKeyCounter++})),this.readOnly||this.files.push({file:null,key:this.fileKeyCounter,content:null}),this.valueAdded=!0,[2,Promise.resolve()]}))}))},this.hasErrors=function(){return t.errors.some((function(e){return!!e}))},this.label=void 0,this.name=void 0,this.required=!1,this.accept=void 0,this.errors=[],this.passwordErrors=[],this.encrypted=[],this.hint=void 0,this.enableAnalytics=!1,this.headerSize=void 0,this.value=void 0,this.readOnly=!1,this.slotFieldIndexes=null,this.percentUploaded=[],this.maxFileSize=1/0,this.minFileSize=0,this.statusText=void 0,this.uploadedFiles=void 0,this.files=[{key:0,file:null,content:null,hasError:!1}],this.valueAdded=!1}return e.prototype.findFileByKey=function(e){return this.files.find((function(t){return t.key===e}))},e.prototype.findIndexByKey=function(e){return this.files.indexOf(this.files.find((function(t){return t.key===e})))},e.prototype.isEmpty=function(){return null===this.files[0].file&&!0!==this.files[0].hasError},e.prototype.setSlotContent=function(){var e=this.el.shadowRoot.querySelector("slot");this.additionalSlot||(this.additionalSlot=e?e.assignedElements({flatten:!0}):[]),null==e||e.remove()},e.prototype.getAdditionalContent=function(){return this.additionalSlot&&this.additionalSlot.map((function(e){return e.cloneNode(!0)}))},e.prototype.ensurePlaceholder=function(){if(!this.readOnly&&!this.files.some((function(e){return null===e.file&&!0!==e.hasError}))){this.fileKeyCounter++;var e={file:null,key:this.fileKeyCounter,content:null,error:!1};this.files=n(n([],this.files,!0),[e],!1)}},e.prototype.handleChange=function(e,t,r){var i,o,s,a=e.detail.files[0];if(a){var l=this.findFileByKey(t);l.hasError&&(l.hasError=!1),l.file?(o="FILE_UPDATED",s=a,l.file=a):(o="FILE_ADDED",s=a,l.file=a,l.content=this.getAdditionalContent(),this.fileKeyCounter++,this.files=n([],this.files,!0),this.ensurePlaceholder()),i=this.buildFilesArray(this.files,!1,this.findIndexByKey(t))}else{o="FILE_REMOVED",s=this.files[r].file;var h=n([],this.files,!0);h.splice(r,1),this.files=h;var d=this.el.shadowRoot.querySelector("#statusMessage");d.textContent="",setTimeout((function(){d.textContent="File deleted.",setTimeout((function(){d.textContent=""}),1e4)}),1e3),i=this.buildFilesArray(this.files,!0)}this.ensurePlaceholder(),this.updateFilesState(),this.vaMultipleChange.emit({action:o,file:s,state:i,index:r})},e.prototype.handlePasswordChange=function(e,t,r){var i=this.findFileByKey(t);i.password=e.detail.password;var o=this.buildFilesArray(this.files,!1,this.findIndexByKey(t)),n={action:"PASSWORD_UPDATE",file:i.file,state:o,index:r};this.vaMultipleChange.emit(n)},e.prototype.updateFilesState=function(){this.files=n([],this.files,!0)},e.prototype.buildFilesArray=function(e,t,r){var i=e.filter((function(e){return!!e.file})).map((function(e){return{file:e.file,changed:!1,password:e.password}}));return!t&&i[r]&&(i[r].changed=!0),i},e.prototype.componentDidRender=function(){var e=this,t=this.el.shadowRoot.querySelectorAll("va-file-input");return this.setSlotContent(),t.forEach((function(t,r){!e.files[r].content||e.slotFieldIndexes&&!e.slotFieldIndexes.includes(r)||e.files[r].content.forEach((function(e){return t.append(e)}))})),this.value&&this.value.length&&!this.valueAdded?this.addValueFiles():Promise.resolve()},e.prototype.render=function(){var e=this,t=this,r=t.label,o=t.required,n=t.headerSize,s=t.hint,a=t.files,l=t.name,h=t.accept,d=t.errors,f=t.encrypted,u=t.percentUploaded,p=t.passwordErrors,c=t.enableAnalytics,m=t.readOnly,b=t.maxFileSize,g=t.minFileSize,v=t.statusText,y=t.uploadedFiles,x=this.isEmpty()?"":"outer-wrap",w=this.hasErrors()?"has-error":"";return(0,i.h)(i.H,{key:"59ebf2f2aa24d163b5f6de91bd9091c056d42db9",class:w,error:w?"error":""},r&&!m&&this.renderLabelOrHeader(r,o,n),s&&!m&&(0,i.h)("div",{key:"f85aff6acbe3f0e54fac53d7546ae1fc1d8bf1d9",class:"usa-hint",id:"input-hint-message"},s),(0,i.h)("div",{key:"463737f15c632f90f79b5a7a0b865759d6576d31",class:x},(0,i.h)("div",{key:"bb4d1b4d316ddee685db7166760bb7a04dd9db85",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),!this.isEmpty()&&(0,i.h)("div",{key:"33635cbf1164cf863309db70f7832a65831ae08d",class:"selected-files-label"},m?"Files you uploaded":"Selected files"),a.map((function(t,n){var a=u&&u.length>=n?u[n]:null,x=p&&p.length>=n?p[n]:null,w=y&&y.length>=n?y[n]:null;return(0,i.h)("va-file-input",Object.assign({key:t.key,id:"instance-".concat(n),headless:!0,label:r,hint:s,name:"".concat(l,"-").concat(t.key),accept:h,required:o},n>0?{uploadMessage:e.getAdditionalFileUploadMessage()}:{},{error:d[n],encrypted:f[n],percentUploaded:a,passwordError:x,onVaChange:function(r){return e.handleChange(r,t.key,n)},onVaFileInputError:function(){var r=e.findIndexByKey(t.key);r>-1&&(e.files[r]=Object.assign(Object.assign({},e.files[r]),{hasError:!0}),e.updateFilesState(),e.ensurePlaceholder())},onVaPasswordChange:function(r){return e.handlePasswordChange(r,t.key,n)},"enable-analytics":c,value:t.file,readOnly:m,maxFileSize:b,minFileSize:g,statusText:v,uploadedFile:w,class:t.file||t.hasError?"has-file":"no-file","max-file-size":b,"min-file-size":g}))}))),(0,i.h)("slot",{key:"358b2c4d0af79aad4d654a9b817c316c4998abaa"}))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,i.g)(this)},enumerable:!1,configurable:!0}),e}();s.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}@import \'~@department-of-veterans-affairs/css-library/dist/stylesheets/base/headings.css\';:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-hint{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1023px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}[hidden]{display:none}:host{display:block;font-family:var(--font-source-sans);font-size:16.96px;}:host .label-header{color:var(--vads-color-base);font-weight:var(--font-weight-normal)}:host .label-header-tag{margin:0;display:inline-block}:host .file-input-wrapper{display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host .file-input{cursor:pointer;height:100%;width:100%;max-width:none;top:0;left:0;z-index:1;margin:0;position:absolute;text-indent:-999em;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target{border:1px dashed var(--vads-color-action-border-base-active-on-dark);display:block;margin-top:0.3125rem;position:relative;text-align:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target.file-input-target-error{border:2px dashed var(--vads-color-secondary-dark)}:host .file-input-box{background:var(--vads-color-white);height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}:host .file-input-instructions{font-size:1.06rem;padding:1.25rem 0.625rem;pointer-events:none;position:relative;z-index:3}:host .file-input-choose-text{color:var(--vads-color-link);text-decoration:underline;font-weight:var(--font-weight-normal)}:host .file-icon{color:var(--vads-color-primary-alt-darkest)}:host .selected-files-wrapper{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light)}:host .selected-files-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;border-bottom:1px solid var(--vads-color-white);margin-bottom:8px;padding:8px}:host .va-card{margin:8px}:host .file-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;padding:0 8px;display:block;width:100%;word-wrap:break-word;word-break:break-word;overflow:hidden}:host #input-error-message{padding:0 8px;width:100%}:host .file-size-label,:host .file-status-label{color:var(--vads-color-base-dark);font-weight:var(--font-weight-normal);font-size:1.06rem;padding:0 8px;display:block}:host .file-status-label{font-style:italic}:host .file-info-section{padding:0 8px 8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .file-button-section{margin-top:8px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row}:host .file-button-section>va-button-icon{font-size:1.06rem}@media screen and (max-width: 320px){:host .file-button-section{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}}:host .with-separator{border-top:1px solid var(--vads-color-base-lighter)}:host .vads-u-line-height--2{line-height:1.15}:host .thumbnail-container{height:40px;width:40px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host .thumbnail-preview{max-width:40px;width:auto;max-height:40px;height:auto}:host .thumbnail-error{color:#b21d38}:host va-progress-bar{font-size:var(--vads-font-size-root);display:block;margin-left:16px}:host .uploading-status{font-style:var(--font-style-italic)}:host(.has-error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host(.has-error){margin-left:-0.9rem}}.required{color:var(--vads-color-secondary-dark);margin-left:0.25rem}h1 .required,h2 .required,h3 .required,h4 .required,h5 .required,h6 .required{font-family:var(--font-source-sans);font-size:initial;font-weight:initial}.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.has-error{border-left:0.25rem solid #b50909;padding-left:1rem}:host .outer-wrap{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light);display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host va-file-input.no-file{margin:0 8px}:host va-file-input:not(:last-child){border-bottom:1px solid var(--vads-color-white)}:host va-file-input.has-error{border-left:none;padding-left:0}@media screen and (min-width: 1024px){:host va-file-input.has-error{margin-left:0}}'}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2482],{2482:function(e,t,n){n.r(t),n.d(t,{va_need_help:function(){return r}});var a=n(7911),r=function(){function e(e){(0,a.r)(this,e)}return e.prototype.render=function(){return(0,a.h)(a.H,{key:"0501bf935520396706a2a6f9fd1f102337f2c1fd"},(0,a.h)("div",{key:"8eb6771e69bfc4d56670eb7202d4db72a80af132",class:"need-help"},(0,a.h)("h2",{key:"fc8d9591bc662231cc37a70f03fa3a02628ecb5c",id:"need-help"},"Need help?"),(0,a.h)("slot",{key:"75aabb88d9f47a3bdf476136ace6aa38e180313d",name:"content"})))},e}();r.style=":host{display:block}.need-help h2{border-bottom:3px solid var(--vads-color-primary);margin:0.3em 0;font-family:var(--font-serif);font-size:var(--font-size-h3);line-height:1.5;font-weight:bold}::slotted([slot='content']){font-family:var(--font-sans-serif);margin-top:0 !important}::slotted(p){font-family:var(--font-sans-serif);margin:0.5em 0 !important;padding:0 !important}"}}]);
1
+ "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2482],{2482:function(e,t,n){n.r(t),n.d(t,{va_need_help:function(){return r}});var a=n(1484),r=function(){function e(e){(0,a.r)(this,e)}return e.prototype.render=function(){return(0,a.h)(a.H,{key:"a2abd96a4e05b49793504e31fbbc13abf19137b3"},(0,a.h)("div",{key:"81d1d16e9ac12ebe440ca5c90636aa1e5a7f6e62",class:"need-help"},(0,a.h)("h2",{key:"035b3db1d231e713fd9a7d77343d57805a835ea3",id:"need-help"},"Need help?"),(0,a.h)("slot",{key:"6f7808fa24d38100b1ba09337124c45c8b637c0b",name:"content"})))},e}();r.style=":host{display:block}.need-help h2{border-bottom:3px solid var(--vads-color-primary);margin:0.3em 0;font-family:var(--font-serif);font-size:var(--font-size-h3);line-height:1.5;font-weight:bold}::slotted([slot='content']){font-family:var(--font-sans-serif);margin-top:0 !important}::slotted(p){font-family:var(--font-sans-serif);margin:0.5em 0 !important;padding:0 !important}"}}]);