@department-of-veterans-affairs/component-library 47.3.0 → 48.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/dist/{6166.app.bundle.js → 1059.app.bundle.js} +1 -1
  2. package/dist/1237.app.bundle.js +2 -0
  3. package/dist/{5232.app.bundle.js → 1274.app.bundle.js} +1 -1
  4. package/dist/{6569.app.bundle.js → 1321.app.bundle.js} +2 -2
  5. package/dist/{3661.app.bundle.js → 1558.app.bundle.js} +1 -1
  6. package/dist/{3476.app.bundle.js → 1563.app.bundle.js} +2 -2
  7. package/dist/{9370.app.bundle.js → 1674.app.bundle.js} +2 -2
  8. package/dist/{8214.app.bundle.js → 1680.app.bundle.js} +1 -1
  9. package/dist/{4104.app.bundle.js → 2010.app.bundle.js} +1 -1
  10. package/dist/2025.app.bundle.js +2 -0
  11. package/dist/{5669.app.bundle.js → 2159.app.bundle.js} +2 -2
  12. package/dist/2272.app.bundle.js +1 -0
  13. package/dist/{9893.app.bundle.js → 2715.app.bundle.js} +1 -1
  14. package/dist/{9262.app.bundle.js → 2783.app.bundle.js} +2 -2
  15. package/dist/3510.app.bundle.js +1 -0
  16. package/dist/3718.app.bundle.js +2 -0
  17. package/dist/3848.app.bundle.js +1 -0
  18. package/dist/{8716.app.bundle.js → 3853.app.bundle.js} +2 -2
  19. package/dist/{6205.app.bundle.js → 3882.app.bundle.js} +2 -2
  20. package/dist/{1279.app.bundle.js → 3977.app.bundle.js} +1 -1
  21. package/dist/{5434.app.bundle.js → 4114.app.bundle.js} +1 -1
  22. package/dist/{3499.app.bundle.js → 4348.app.bundle.js} +1 -1
  23. package/dist/4397.app.bundle.js +2 -0
  24. package/dist/{4437.app.bundle.js → 4934.app.bundle.js} +1 -1
  25. package/dist/{2305.app.bundle.js → 5194.app.bundle.js} +2 -2
  26. package/dist/5431.app.bundle.js +1 -0
  27. package/dist/{6874.app.bundle.js → 5585.app.bundle.js} +1 -1
  28. package/dist/{2104.app.bundle.js → 5847.app.bundle.js} +1 -1
  29. package/dist/{7454.app.bundle.js → 5889.app.bundle.js} +2 -2
  30. package/dist/{2843.app.bundle.js → 6230.app.bundle.js} +1 -1
  31. package/dist/{934.app.bundle.js → 646.app.bundle.js} +2 -2
  32. package/dist/{6734.app.bundle.js → 6879.app.bundle.js} +1 -1
  33. package/dist/{9727.app.bundle.js → 7183.app.bundle.js} +2 -2
  34. package/dist/{6596.app.bundle.js → 7339.app.bundle.js} +2 -2
  35. package/dist/{8509.app.bundle.js → 7384.app.bundle.js} +2 -2
  36. package/dist/{1652.app.bundle.js → 7422.app.bundle.js} +1 -1
  37. package/dist/{4846.app.bundle.js → 7576.app.bundle.js} +1 -1
  38. package/dist/7785.app.bundle.js +2 -0
  39. package/dist/{7485.app.bundle.js → 7906.app.bundle.js} +2 -2
  40. package/dist/{1185.app.bundle.js → 8074.app.bundle.js} +2 -2
  41. package/dist/{6391.app.bundle.js → 8151.app.bundle.js} +2 -2
  42. package/dist/{6171.app.bundle.js → 8361.app.bundle.js} +2 -2
  43. package/dist/{2108.app.bundle.js → 8429.app.bundle.js} +2 -2
  44. package/dist/{4317.app.bundle.js → 8750.app.bundle.js} +2 -2
  45. package/dist/{4859.app.bundle.js → 8912.app.bundle.js} +1 -1
  46. package/dist/8991.app.bundle.js +2 -0
  47. package/dist/{6246.app.bundle.js → 9101.app.bundle.js} +1 -1
  48. package/dist/{4818.app.bundle.js → 9200.app.bundle.js} +2 -2
  49. package/dist/{3389.app.bundle.js → 9275.app.bundle.js} +2 -2
  50. package/dist/{5154.app.bundle.js → 9356.app.bundle.js} +1 -1
  51. package/dist/{4181.app.bundle.js → 9407.app.bundle.js} +2 -2
  52. package/dist/app.bundle.js +1 -1
  53. package/dist/components/types/components.d.ts +9 -1
  54. package/dist/components/va-file-input-multiple.js +1 -1
  55. package/dist/components/va-pagination.js +1 -1
  56. package/dist/components/va-telephone2.js +1 -1
  57. package/dist/main.css +1 -1
  58. package/package.json +1 -1
  59. package/dist/360.app.bundle.js +0 -2
  60. package/dist/383.app.bundle.js +0 -2
  61. package/dist/529.app.bundle.js +0 -2
  62. package/dist/569.app.bundle.js +0 -2
  63. package/dist/6998.app.bundle.js +0 -2
  64. package/dist/7375.app.bundle.js +0 -1
  65. package/dist/753.app.bundle.js +0 -2
  66. package/dist/783.app.bundle.js +0 -1
  67. package/dist/876.app.bundle.js +0 -1
  68. package/dist/9398.app.bundle.js +0 -1
  69. /package/dist/{1185.app.bundle.js.LICENSE.txt → 1237.app.bundle.js.LICENSE.txt} +0 -0
  70. /package/dist/{2108.app.bundle.js.LICENSE.txt → 1321.app.bundle.js.LICENSE.txt} +0 -0
  71. /package/dist/{2305.app.bundle.js.LICENSE.txt → 1563.app.bundle.js.LICENSE.txt} +0 -0
  72. /package/dist/{3389.app.bundle.js.LICENSE.txt → 1674.app.bundle.js.LICENSE.txt} +0 -0
  73. /package/dist/{3476.app.bundle.js.LICENSE.txt → 2025.app.bundle.js.LICENSE.txt} +0 -0
  74. /package/dist/{360.app.bundle.js.LICENSE.txt → 2159.app.bundle.js.LICENSE.txt} +0 -0
  75. /package/dist/{383.app.bundle.js.LICENSE.txt → 2783.app.bundle.js.LICENSE.txt} +0 -0
  76. /package/dist/{4181.app.bundle.js.LICENSE.txt → 3718.app.bundle.js.LICENSE.txt} +0 -0
  77. /package/dist/{4317.app.bundle.js.LICENSE.txt → 3853.app.bundle.js.LICENSE.txt} +0 -0
  78. /package/dist/{4818.app.bundle.js.LICENSE.txt → 3882.app.bundle.js.LICENSE.txt} +0 -0
  79. /package/dist/{529.app.bundle.js.LICENSE.txt → 4397.app.bundle.js.LICENSE.txt} +0 -0
  80. /package/dist/{5669.app.bundle.js.LICENSE.txt → 5194.app.bundle.js.LICENSE.txt} +0 -0
  81. /package/dist/{569.app.bundle.js.LICENSE.txt → 5889.app.bundle.js.LICENSE.txt} +0 -0
  82. /package/dist/{6171.app.bundle.js.LICENSE.txt → 646.app.bundle.js.LICENSE.txt} +0 -0
  83. /package/dist/{6205.app.bundle.js.LICENSE.txt → 7183.app.bundle.js.LICENSE.txt} +0 -0
  84. /package/dist/{6391.app.bundle.js.LICENSE.txt → 7339.app.bundle.js.LICENSE.txt} +0 -0
  85. /package/dist/{6569.app.bundle.js.LICENSE.txt → 7384.app.bundle.js.LICENSE.txt} +0 -0
  86. /package/dist/{6596.app.bundle.js.LICENSE.txt → 7785.app.bundle.js.LICENSE.txt} +0 -0
  87. /package/dist/{6998.app.bundle.js.LICENSE.txt → 7906.app.bundle.js.LICENSE.txt} +0 -0
  88. /package/dist/{7454.app.bundle.js.LICENSE.txt → 8074.app.bundle.js.LICENSE.txt} +0 -0
  89. /package/dist/{7485.app.bundle.js.LICENSE.txt → 8151.app.bundle.js.LICENSE.txt} +0 -0
  90. /package/dist/{753.app.bundle.js.LICENSE.txt → 8361.app.bundle.js.LICENSE.txt} +0 -0
  91. /package/dist/{8509.app.bundle.js.LICENSE.txt → 8429.app.bundle.js.LICENSE.txt} +0 -0
  92. /package/dist/{8716.app.bundle.js.LICENSE.txt → 8750.app.bundle.js.LICENSE.txt} +0 -0
  93. /package/dist/{9262.app.bundle.js.LICENSE.txt → 8991.app.bundle.js.LICENSE.txt} +0 -0
  94. /package/dist/{934.app.bundle.js.LICENSE.txt → 9200.app.bundle.js.LICENSE.txt} +0 -0
  95. /package/dist/{9370.app.bundle.js.LICENSE.txt → 9275.app.bundle.js.LICENSE.txt} +0 -0
  96. /package/dist/{9727.app.bundle.js.LICENSE.txt → 9407.app.bundle.js.LICENSE.txt} +0 -0
@@ -1516,6 +1516,10 @@ export namespace Components {
1516
1516
  * Numeric string representing the contact number. Typical length is 3 or 10 digits - SMS short codes will be 5 or 6 digits.
1517
1517
  */
1518
1518
  "contact": string;
1519
+ /**
1520
+ * Prepends the country code to the given contact number. Do NOT include the '+'
1521
+ */
1522
+ "countryCode"?: string;
1519
1523
  /**
1520
1524
  * Optional numeric string phone number extension
1521
1525
  */
@@ -3677,7 +3681,7 @@ declare namespace LocalJSX {
3677
3681
  */
3678
3682
  "name"?: string;
3679
3683
  /**
3680
- * Event emitted when any change to the file inputs occurs.
3684
+ * Event emitted when any change to the file inputs occurs. Sends back an array of FileDetails
3681
3685
  */
3682
3686
  "onVaMultipleChange"?: (event: VaFileInputMultipleCustomEvent<any>) => void;
3683
3687
  /**
@@ -4746,6 +4750,10 @@ declare namespace LocalJSX {
4746
4750
  * Numeric string representing the contact number. Typical length is 3 or 10 digits - SMS short codes will be 5 or 6 digits.
4747
4751
  */
4748
4752
  "contact": string;
4753
+ /**
4754
+ * Prepends the country code to the given contact number. Do NOT include the '+'
4755
+ */
4756
+ "countryCode"?: string;
4749
4757
  /**
4750
4758
  * Optional numeric string phone number extension
4751
4759
  */
@@ -1 +1 @@
1
- import{proxyCustomElement,HTMLElement,createEvent,h,Host}from"@stencil/core/internal/client";import"./i18n-setup.js";import"./contacts.js";import{d as defineCustomElement$7}from"./va-button2.js";import{d as defineCustomElement$6}from"./va-button-icon2.js";import{d as defineCustomElement$5}from"./va-card2.js";import{d as defineCustomElement$4}from"./va-file-input2.js";import{d as defineCustomElement$3}from"./va-icon2.js";import{d as defineCustomElement$2}from"./va-modal2.js";import{i as instance}from"./i18next.js";const vaFileInputMultipleCss='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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}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", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:1.875rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}@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=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){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{color:var(--vads-color-base-dark);font-weight:var(--font-weight-normal);font-size:1.06rem;padding:0 8px;display:block}: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 .separator{border:0;border-top:1px solid var(--vads-color-base-lighter);margin:0}: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(.has-error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host(.has-error){margin-left:-0.9rem}}.required{color:var(--vads-color-secondary-dark);margin-left:0.25rem}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){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: 1008px){:host va-file-input.has-error{margin-left:0}}',VaFileInputMultipleStyle0=vaFileInputMultipleCss,VaFileInputMultiple$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.vaMultipleChange=createEvent(this,"vaMultipleChange",7),this.fileKeyCounter=0,this.additionalSlot=null,this.additionalFileUploadMessage=h("span",null,"Drag an additional file here or"," ",h("span",{class:"file-input-choose-text"},"choose from folder")),this.renderLabelOrHeader=(e,t,i)=>{const o=t?h("span",{class:"required"}," ",instance.t("required")):null;return i&&i>=1&&i<=6?h("div",{class:"label-header"},h(`h${i}`,{htmlFor:"fileInputField",part:"label",class:"label-header-tag"},e,o)):h("div",{class:"label-header"},h("span",{part:"label",class:"usa-label"},e),o)},this.addValueFiles=async()=>(this.files.shift(),this.value.forEach((e=>{this.files.push({file:e,key:this.fileKeyCounter,content:this.getAdditionalContent()||null}),this.fileKeyCounter++})),this.readOnly||this.files.push({file:null,key:this.fileKeyCounter,content:null}),this.valueAdded=!0,Promise.resolve()),this.hasErrors=()=>this.errors.some((e=>!!e)),this.label=void 0,this.name=void 0,this.required=!1,this.accept=void 0,this.errors=[],this.hint=void 0,this.enableAnalytics=!1,this.headerSize=void 0,this.value=void 0,this.readOnly=!1,this.files=[{key:0,file:null,content:null}],this.valueAdded=!1}findFileByKey(e){return this.files.find((t=>t.key===e))}isEmpty(){return null===this.files[0].file}setSlotContent(){const e=this.el.shadowRoot.querySelector("slot");this.additionalSlot||(this.additionalSlot=e?e.assignedElements({flatten:!0}):[]),null==e||e.remove()}getAdditionalContent(){return this.additionalSlot&&this.additionalSlot.map((e=>e.cloneNode(!0)))}handleChange(e,t,i){const o=e.detail.files[0];if(o){const e=this.findFileByKey(t);e.file?e.file=o:(e.file=o,e.content=this.getAdditionalContent(),this.fileKeyCounter++,this.files.push({file:null,key:this.fileKeyCounter,content:null}))}else{this.files.splice(i,1);const e=this.el.shadowRoot.querySelector("#statusMessage");e.textContent="",setTimeout((()=>{e.textContent="File removed."}),1e3)}this.vaMultipleChange.emit({files:this.files.map((e=>e.file)).filter((e=>!!e))}),this.files=Array.of(...this.files)}componentWillRender(){return this.value&&this.value.length&&!this.valueAdded?this.addValueFiles():Promise.resolve()}componentDidRender(){const e=this.el.shadowRoot.querySelectorAll("va-file-input");this.setSlotContent(),e.forEach(((e,t)=>{this.files[t].content&&this.files[t].content.forEach((t=>e.append(t)))}))}render(){const{label:e,required:t,headerSize:i,hint:o,files:r,name:s,accept:a,errors:n,enableAnalytics:l,readOnly:d}=this,m=this.isEmpty()?"":"outer-wrap",f=this.hasErrors()?"has-error":"";return h(Host,{key:"b92095e09c4f693289fb4a31cde8231a38b51fe3",class:f},e&&!d&&this.renderLabelOrHeader(e,t,i),o&&!d&&h("div",{key:"1ad6aa0dd5696383bd9ce9a88dece14e68abfedb",class:"usa-hint",id:"input-hint-message"},o),h("div",{key:"9a377774e173b39b4e6202f2269eff1149544284",class:m},h("div",{key:"f2c2ec28cf4440447d05f1e5d4b20a97b3c19be1",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),!this.isEmpty()&&h("div",{key:"46441e5c6b0548316255f31a6b4375c700a842db",class:"selected-files-label"},d?"Files you uploaded":"Selected files"),r.map(((i,r)=>h("va-file-input",Object.assign({key:i.key,headless:!0,label:e,hint:o,name:`${s}-${i.key}`,accept:a,required:t},r>0?{uploadMessage:this.additionalFileUploadMessage}:{},{error:n[r],onVaChange:e=>this.handleChange(e,i.key,r),"enable-analytics":l,value:i.file,readOnly:d,class:i.file?"has-file":"no-file"}))))),h("slot",{key:"0157a314732e1f6a063bac3804d1ac2397617fb0"}))}get el(){return this}static get style(){return VaFileInputMultipleStyle0}},[1,"va-file-input-multiple",{label:[1],name:[1],required:[4],accept:[1],errors:[16],hint:[1],enableAnalytics:[4,"enable-analytics"],headerSize:[2,"header-size"],value:[16],readOnly:[4,"read-only"],files:[32],valueAdded:[32]}]);function defineCustomElement$1(){"undefined"!=typeof customElements&&["va-file-input-multiple","va-button","va-button-icon","va-card","va-file-input","va-icon","va-modal"].forEach((e=>{switch(e){case"va-file-input-multiple":customElements.get(e)||customElements.define(e,VaFileInputMultiple$1);break;case"va-button":customElements.get(e)||defineCustomElement$7();break;case"va-button-icon":customElements.get(e)||defineCustomElement$6();break;case"va-card":customElements.get(e)||defineCustomElement$5();break;case"va-file-input":customElements.get(e)||defineCustomElement$4();break;case"va-icon":customElements.get(e)||defineCustomElement$3();break;case"va-modal":customElements.get(e)||defineCustomElement$2()}}))}const VaFileInputMultiple=VaFileInputMultiple$1,defineCustomElement=defineCustomElement$1;export{VaFileInputMultiple,defineCustomElement};
1
+ import{proxyCustomElement,HTMLElement,createEvent,h,Host}from"@stencil/core/internal/client";import"./i18n-setup.js";import"./contacts.js";import{d as defineCustomElement$7}from"./va-button2.js";import{d as defineCustomElement$6}from"./va-button-icon2.js";import{d as defineCustomElement$5}from"./va-card2.js";import{d as defineCustomElement$4}from"./va-file-input2.js";import{d as defineCustomElement$3}from"./va-icon2.js";import{d as defineCustomElement$2}from"./va-modal2.js";import{i as instance}from"./i18next.js";const vaFileInputMultipleCss='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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}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", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:1.875rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}@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=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){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{color:var(--vads-color-base-dark);font-weight:var(--font-weight-normal);font-size:1.06rem;padding:0 8px;display:block}: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 .separator{border:0;border-top:1px solid var(--vads-color-base-lighter);margin:0}: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(.has-error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host(.has-error){margin-left:-0.9rem}}.required{color:var(--vads-color-secondary-dark);margin-left:0.25rem}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){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: 1008px){:host va-file-input.has-error{margin-left:0}}',VaFileInputMultipleStyle0=vaFileInputMultipleCss,VaFileInputMultiple$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.vaMultipleChange=createEvent(this,"vaMultipleChange",7),this.fileKeyCounter=0,this.additionalSlot=null,this.additionalFileUploadMessage=h("span",null,"Drag an additional file here or"," ",h("span",{class:"file-input-choose-text"},"choose from folder")),this.renderLabelOrHeader=(e,t,i)=>{const o=t?h("span",{class:"required"}," ",instance.t("required")):null;return i&&i>=1&&i<=6?h("div",{class:"label-header"},h(`h${i}`,{htmlFor:"fileInputField",part:"label",class:"label-header-tag"},e,o)):h("div",{class:"label-header"},h("span",{part:"label",class:"usa-label"},e),o)},this.addValueFiles=async()=>(this.files.shift(),this.value.forEach((e=>{this.files.push({file:e,key:this.fileKeyCounter,content:this.getAdditionalContent()||null}),this.fileKeyCounter++})),this.readOnly||this.files.push({file:null,key:this.fileKeyCounter,content:null}),this.valueAdded=!0,Promise.resolve()),this.hasErrors=()=>this.errors.some((e=>!!e)),this.label=void 0,this.name=void 0,this.required=!1,this.accept=void 0,this.errors=[],this.hint=void 0,this.enableAnalytics=!1,this.headerSize=void 0,this.value=void 0,this.readOnly=!1,this.files=[{key:0,file:null,content:null}],this.valueAdded=!1}findFileByKey(e){return this.files.find((t=>t.key===e))}findIndexByKey(e){return this.files.indexOf(this.files.find((t=>t.key===e)))}isEmpty(){return null===this.files[0].file}setSlotContent(){const e=this.el.shadowRoot.querySelector("slot");this.additionalSlot||(this.additionalSlot=e?e.assignedElements({flatten:!0}):[]),null==e||e.remove()}getAdditionalContent(){return this.additionalSlot&&this.additionalSlot.map((e=>e.cloneNode(!0)))}handleChange(e,t,i){const o=e.detail.files[0];let r;if(o){const e=this.findFileByKey(t);e.file?e.file=o:(e.file=o,e.content=this.getAdditionalContent(),this.fileKeyCounter++,this.files.push({file:null,key:this.fileKeyCounter,content:null})),r=this.buildFilesArray(this.files.map((e=>e.file)),!1,this.findIndexByKey(t))}else{this.files.splice(i,1);const e=this.el.shadowRoot.querySelector("#statusMessage");e.textContent="",setTimeout((()=>{e.textContent="File removed."}),1e3),r=this.buildFilesArray(this.files.map((e=>e.file)),!0)}this.vaMultipleChange.emit(r),this.files=Array.of(...this.files)}buildFilesArray(e,t,i){let o=e.filter((e=>!!e)).map((e=>({file:e,changed:!1})));return!t&&o[i]&&(o[i].changed=!0),o}componentDidRender(){const e=this.el.shadowRoot.querySelectorAll("va-file-input");return this.setSlotContent(),e.forEach(((e,t)=>{this.files[t].content&&this.files[t].content.forEach((t=>e.append(t)))})),this.value&&this.value.length&&!this.valueAdded?this.addValueFiles():Promise.resolve()}render(){const{label:e,required:t,headerSize:i,hint:o,files:r,name:s,accept:a,errors:n,enableAnalytics:l,readOnly:d}=this,m=this.isEmpty()?"":"outer-wrap",f=this.hasErrors()?"has-error":"";return h(Host,{key:"ef69530aa2dae0e311b8d037129fa6c604d6185e",class:f},e&&!d&&this.renderLabelOrHeader(e,t,i),o&&!d&&h("div",{key:"a60c2c5dd4d4f20be69cdcf5b79b62ebcbd40fde",class:"usa-hint",id:"input-hint-message"},o),h("div",{key:"61bd80bb4b125eaab953c2587d31f88757fceeb3",class:m},h("div",{key:"a9a08ce66abc17edc3bcac18e461a89da5a48727",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),!this.isEmpty()&&h("div",{key:"1d3935ac1109a9821ccfa311bd63addedc1c633b",class:"selected-files-label"},d?"Files you uploaded":"Selected files"),r.map(((i,r)=>h("va-file-input",Object.assign({key:i.key,headless:!0,label:e,hint:o,name:`${s}-${i.key}`,accept:a,required:t},r>0?{uploadMessage:this.additionalFileUploadMessage}:{},{error:n[r],onVaChange:e=>this.handleChange(e,i.key,r),"enable-analytics":l,value:i.file,readOnly:d,class:i.file?"has-file":"no-file"}))))),h("slot",{key:"6c2b2c12c423588bd4a4bc8ed13f977f4a55f56c"}))}get el(){return this}static get style(){return VaFileInputMultipleStyle0}},[1,"va-file-input-multiple",{label:[1],name:[1],required:[4],accept:[1],errors:[16],hint:[1],enableAnalytics:[4,"enable-analytics"],headerSize:[2,"header-size"],value:[16],readOnly:[4,"read-only"],files:[32],valueAdded:[32]}]);function defineCustomElement$1(){"undefined"!=typeof customElements&&["va-file-input-multiple","va-button","va-button-icon","va-card","va-file-input","va-icon","va-modal"].forEach((e=>{switch(e){case"va-file-input-multiple":customElements.get(e)||customElements.define(e,VaFileInputMultiple$1);break;case"va-button":customElements.get(e)||defineCustomElement$7();break;case"va-button-icon":customElements.get(e)||defineCustomElement$6();break;case"va-card":customElements.get(e)||defineCustomElement$5();break;case"va-file-input":customElements.get(e)||defineCustomElement$4();break;case"va-icon":customElements.get(e)||defineCustomElement$3();break;case"va-modal":customElements.get(e)||defineCustomElement$2()}}))}const VaFileInputMultiple=VaFileInputMultiple$1,defineCustomElement=defineCustomElement$1;export{VaFileInputMultiple,defineCustomElement};
@@ -1 +1 @@
1
- import{Build,proxyCustomElement,HTMLElement,createEvent,forceUpdate,h,Fragment,Host,getAssetPath}from"@stencil/core/internal/client";import{c as classnames}from"./index2.js";import"./i18n-setup.js";import"./contacts.js";import{m as makeArray}from"./utils.js";import{i as instance}from"./i18next.js";const vaPaginationCss='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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}.usa-pagination{margin-bottom:1rem;margin-top:1rem;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;color:#1b1b1b;background-color:white;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.usa-pagination .usa-icon{height:1.13rem;width:1.13rem}.usa-pagination__list{margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:center;justify-content:center;width:auto}.usa-pagination__item{display:-ms-inline-flexbox;display:inline-flex;height:2.5rem;-ms-flex-pack:center;justify-content:center;line-height:1;margin-left:0.25rem;margin-right:0.25rem;min-width:2.5rem}@media all and (min-width: 40em){.usa-pagination__item{-ms-flex:1 0 auto;flex:1 0 auto}}.usa-pagination__arrow{display:none}@media all and (min-width: 40em){.usa-pagination__arrow{display:inherit}}@media all and (min-width: 40em){.usa-pagination__previous-page{margin-right:1.25rem}}@media all and (min-width: 40em){.usa-pagination__next-page{margin-left:1.25rem}}.usa-pagination__link{-ms-flex-align:center;align-items:center;color:#005ea2;display:-ms-inline-flexbox;display:inline-flex;text-decoration:none}.usa-pagination__link[disabled]{opacity:0.4 !important;pointer-events:none}.usa-pagination__link:hover,.usa-pagination__link:focus,.usa-pagination__link:active{color:#1a4480;text-decoration:underline}.usa-pagination__link:visited{color:#005ea2}.usa-pagination__button{-ms-flex-align:center;align-items:center;border-color:rgba(27, 27, 27, 0.2);border-radius:0.25rem;border-style:solid;border-width:1px;color:#005ea2;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;padding:0.5rem;text-decoration:none;width:100%}.usa-pagination__button:hover,.usa-pagination__button:focus,.usa-pagination__button:active{color:#1a4480;border-color:#1a4480}@media (forced-colors: active){.usa-pagination__button:hover,.usa-pagination__button:focus,.usa-pagination__button:active{border:2px solid transparent}}.usa-pagination .usa-current{background-color:#1b1b1b;border-color:transparent;color:white}@media (forced-colors: active){.usa-pagination .usa-current{border:2px solid transparent;color:buttonText}}.usa-pagination .usa-current:hover,.usa-pagination .usa-current:focus,.usa-pagination .usa-current:active{background-color:#1b1b1b;color:white;text-decoration:none}@media (forced-colors: active){.usa-pagination .usa-current:hover,.usa-pagination .usa-current:focus,.usa-pagination .usa-current:active{color:buttontext}}.usa-pagination__overflow{-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;display:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0.5rem}.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}.va-pagination__item{-webkit-box-sizing:border-box;box-sizing:border-box}:host a.usa-pagination__next-page>div,:host a.usa-pagination__previous-page>div{display:-ms-flexbox;display:flex}:host{background-color:var(--vads-color-white);border-top:1px solid var(--vads-color-base-lightest);display:-ms-flexbox;display:flex;font-family:var(--font-source-sans);-ms-flex-pack:center;justify-content:center;overflow:hidden;padding:1.25rem 0 0.625rem;width:100%}ul{list-style-type:none;margin:0;padding:0}li{display:-ms-inline-flexbox;display:inline-flex}button{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;background-color:transparent;border:0;color:var(--vads-color-link);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;font-family:inherit;font-size:0.89rem;font-weight:400;-ms-flex-pack:center;justify-content:center;line-height:2;padding:0;-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out;-webkit-transition-property:color, background-color;transition-property:color, background-color}',VaPaginationStyle0=vaPaginationCss;Build.isTesting&&instance.init({lng:"cimode"});const VaPagination$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.pageSelect=createEvent(this,"pageSelect",7),this.componentLibraryAnalytics=createEvent(this,"component-library-analytics",7),this.SHOW_ALL_PAGES=7,this.handlePageSelect=(e,a)=>{var n,i,t;if(this.pageSelect.emit({page:e}),null===(t=null===(i=null===(n=this.el)||void 0===n?void 0:n.shadowRoot)||void 0===i?void 0:i.activeElement)||void 0===t||t.blur(),this.enableAnalytics){const n={componentName:"va-pagination",action:"linkClick",details:{event:a,"page-number":e}};this.componentLibraryAnalytics.emit(n)}},this.pageNumbers=()=>{const{maxPageListLength:e,page:a,pages:n,unbounded:i}=this,t=Math.floor(e/2),o=i?0:1;let s,l;return n<=this.SHOW_ALL_PAGES?makeArray(1,n):a<=t+1?(s=1,l=e>=n?n:e-1-o,l===a&&l++,makeArray(s,l)):a+t>=n?(l=n,s=n-e>0?n-(e-2-1):1,s===a&&s--,makeArray(s,l)):(s=a-(t-2),l=a+t>n?n:a+(t-1-o),makeArray(s,l))},this.handleKeyDown=(e,a)=>{const n=e.key;if("Enter"===n||" "===n){if(e.preventDefault(),!a)return;this.handlePageSelect(a,"nav-paginate-number")}},this.ariaLabelSuffix="",this.enableAnalytics=!0,this.maxPageListLength=10,this.page=void 0,this.pages=void 0,this.showLastPage=!1,this.unbounded=!1}addIcons(){var e,a;function n(e){return`<svg\n class="usa-icon"\n aria-hidden="true"\n role="img">\n <use href=${getAssetPath("/img/sprite.svg")}#${e}></use>\n </svg>`}const i=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector("#previous-arrow-icon");i&&(i.innerHTML=n("navigate_before"));const t=null===(a=this.el.shadowRoot)||void 0===a?void 0:a.querySelector("#next-arrow-icon");t&&(t.innerHTML=n("navigate_next"))}componentDidRender(){this.addIcons()}connectedCallback(){instance.on("languageChanged",(()=>{forceUpdate(this.el)}))}disconnectedCallback(){instance.off("languageChanged")}render(){const{ariaLabelSuffix:e,page:a,pages:n}=this;if(1===n)return h("div",null);const i=e?`Previous page ${e}`:"Previous page",t=e?`Next page ${e}`:"Next page",o=this.pageNumbers(),s=classnames({"usa-pagination__item":!0,"usa-pagination__page-no":!0,"va-pagination__item":!0}),l=classnames({"usa-pagination__item":!0,"usa-pagination__overflow":!0,"va-pagination__item":!0}),r=classnames({"usa-pagination__item":!0,"usa-pagination__arrow":!0}),c=a>1?h(Fragment,null,h("li",{class:r,"aria-label":i},h("a",{onClick:()=>this.handlePageSelect(a-1,"nav-paginate-number"),onKeyDown:e=>this.handleKeyDown(e,a-1),class:"usa-pagination__link usa-pagination__previous-page",href:"javascript:void(0)"},h("div",{id:"previous-arrow-icon"}),h("span",{class:"usa-pagination__link-text"},instance.t("previous")))),!o.includes(1)&&h(Fragment,null,h("li",{class:s},h("a",{onClick:()=>this.handlePageSelect(1,"nav-paginate-number"),onKeyDown:e=>this.handleKeyDown(e,1),href:"javascript:void(0)",class:"usa-pagination__button","aria-label":"page 1, first page"},"1")),h("li",{class:l,"aria-label":"ellipsis indicating non-visible pages"},h("span",null,"…")))):null,u=o.map((i=>{const t=classnames({"usa-pagination__button":!0,"usa-current":a===i});let o=e?`page ${i} ${e}`:`page ${i}`;return 1===i&&(o=`${o}, first page`),i===n&&(o=`${o}, last page`),h("li",{class:s},h("a",{onClick:()=>this.handlePageSelect(i,"nav-paginate-number"),onKeyDown:e=>this.handleKeyDown(e,i),href:"javascript:void(0)",class:t,"aria-current":a===i?"page":null,"aria-label":o},i))})),g=-1===o.indexOf(n)?h(Fragment,null,n>this.SHOW_ALL_PAGES&&h("li",{class:l,"aria-label":"ellipsis indicating non-visible pages"},h("span",null,"…")),!this.unbounded&&n>this.SHOW_ALL_PAGES&&h("li",{class:s},h("a",{onClick:()=>this.handlePageSelect(n,"nav-paginate-number"),onKeyDown:e=>this.handleKeyDown(e,n),href:"javascript:void(0)",class:"usa-pagination__button","aria-label":`page ${n}, last page`},n))):null,p=a<n?h(Fragment,null,h("li",{class:r,"aria-label":t},h("a",{onClick:()=>this.handlePageSelect(a+1,"nav-paginate-number"),onKeyDown:e=>this.handleKeyDown(e,a+1),class:"usa-pagination__link usa-pagination__next-page",href:"javascript:void(0)"},h("span",{class:"usa-pagination__link-text"},instance.t("next")),h("div",{id:"next-arrow-icon"})))):null;return h(Host,null,h("nav",{class:"usa-pagination","aria-label":"Pagination"},h("ul",{class:"usa-pagination__list"},c,u,g,p)))}static get assetsDirs(){return["../assets"]}get el(){return this}static get style(){return VaPaginationStyle0}},[1,"va-pagination",{ariaLabelSuffix:[1,"aria-label-suffix"],enableAnalytics:[4,"enable-analytics"],maxPageListLength:[2,"max-page-list-length"],page:[2],pages:[2],showLastPage:[4,"show-last-page"],unbounded:[4]}]);function defineCustomElement$1(){"undefined"!=typeof customElements&&["va-pagination"].forEach((e=>{"va-pagination"===e&&(customElements.get(e)||customElements.define(e,VaPagination$1))}))}const VaPagination=VaPagination$1,defineCustomElement=defineCustomElement$1;export{VaPagination,defineCustomElement};
1
+ import{Build,proxyCustomElement,HTMLElement,createEvent,forceUpdate,h,Fragment,Host,getAssetPath}from"@stencil/core/internal/client";import{c as classnames}from"./index2.js";import"./i18n-setup.js";import"./contacts.js";import{m as makeArray}from"./utils.js";import{i as instance}from"./i18next.js";const vaPaginationCss='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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-pagination{margin-bottom:1rem;margin-top:1rem;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;color:#1b1b1b;background-color:white;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.usa-pagination .usa-icon{height:1.13rem;width:1.13rem}.usa-pagination__list{margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:center;justify-content:center;width:auto}.usa-pagination__item{display:-ms-inline-flexbox;display:inline-flex;height:2.5rem;-ms-flex-pack:center;justify-content:center;line-height:1;margin-left:0.25rem;margin-right:0.25rem;min-width:2.5rem}@media all and (min-width: 40em){.usa-pagination__item{-ms-flex:1 0 auto;flex:1 0 auto}}.usa-pagination__arrow{display:none}@media all and (min-width: 40em){.usa-pagination__arrow{display:inherit}}@media all and (min-width: 40em){.usa-pagination__previous-page{margin-right:1.25rem}}@media all and (min-width: 40em){.usa-pagination__next-page{margin-left:1.25rem}}.usa-pagination__link{-ms-flex-align:center;align-items:center;color:#005ea2;display:-ms-inline-flexbox;display:inline-flex;text-decoration:none}.usa-pagination__link[disabled]{opacity:0.4 !important;pointer-events:none}.usa-pagination__link:hover,.usa-pagination__link:focus,.usa-pagination__link:active{color:#1a4480;text-decoration:underline}.usa-pagination__link:visited{color:#005ea2}.usa-pagination__button{-ms-flex-align:center;align-items:center;border-color:rgba(27, 27, 27, 0.2);border-radius:0.25rem;border-style:solid;border-width:1px;color:#005ea2;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;padding:0.5rem;text-decoration:none;width:100%}.usa-pagination__button:hover,.usa-pagination__button:focus,.usa-pagination__button:active{color:#1a4480;border-color:#1a4480}@media (forced-colors: active){.usa-pagination__button:hover,.usa-pagination__button:focus,.usa-pagination__button:active{border:2px solid transparent}}.usa-pagination .usa-current{background-color:#1b1b1b;border-color:transparent;color:white}@media (forced-colors: active){.usa-pagination .usa-current{border:2px solid transparent;color:buttonText}}.usa-pagination .usa-current:hover,.usa-pagination .usa-current:focus,.usa-pagination .usa-current:active{background-color:#1b1b1b;color:white;text-decoration:none}@media (forced-colors: active){.usa-pagination .usa-current:hover,.usa-pagination .usa-current:focus,.usa-pagination .usa-current:active{color:buttontext}}.usa-pagination__overflow{-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;display:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0.5rem}.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}.va-pagination__item{-webkit-box-sizing:border-box;box-sizing:border-box}:host a.usa-pagination__next-page>div,:host a.usa-pagination__previous-page>div{display:-ms-flexbox;display:flex}:host{background-color:var(--vads-color-white);border-top:1px solid var(--vads-color-base-lightest);display:-ms-flexbox;display:flex;font-family:var(--font-source-sans);-ms-flex-pack:center;justify-content:center;overflow:hidden;padding:1.25rem 0 0.625rem;width:100%}ul{list-style-type:none;margin:0;padding:0}li{display:-ms-inline-flexbox;display:inline-flex}button{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;background-color:transparent;border:0;color:var(--vads-color-link);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;font-family:inherit;font-size:0.89rem;font-weight:400;-ms-flex-pack:center;justify-content:center;line-height:2;padding:0;-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out;-webkit-transition-property:color, background-color;transition-property:color, background-color}',VaPaginationStyle0=vaPaginationCss;Build.isTesting&&instance.init({lng:"cimode"});const VaPagination$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.pageSelect=createEvent(this,"pageSelect",7),this.componentLibraryAnalytics=createEvent(this,"component-library-analytics",7),this.SHOW_ALL_PAGES=7,this.handlePageSelect=(e,a)=>{var n,i,t;if(this.pageSelect.emit({page:e}),null===(t=null===(i=null===(n=this.el)||void 0===n?void 0:n.shadowRoot)||void 0===i?void 0:i.activeElement)||void 0===t||t.blur(),this.enableAnalytics){const n={componentName:"va-pagination",action:"linkClick",details:{event:a,"page-number":e}};this.componentLibraryAnalytics.emit(n)}},this.pageNumbers=()=>{const{maxPageListLength:e,page:a,pages:n,unbounded:i}=this,t=Math.floor(e/2),o=i?0:1;let s,l;return n<=this.SHOW_ALL_PAGES?makeArray(1,n):a<=t+1?(s=1,l=e>=n?n:e-1-o,l===a&&l++,makeArray(s,l)):a+t>=n?(l=n,s=n-e>0?n-(e-2-1):1,s===a&&s--,makeArray(s,l)):(s=a-(t-2),l=a+t>n?n:a+(t-1-o),makeArray(s,l))},this.handleKeyDown=(e,a)=>{const n=e.key;if("Enter"===n||" "===n){if(e.preventDefault(),!a)return;this.handlePageSelect(a,"nav-paginate-number")}},this.ariaLabelSuffix="",this.enableAnalytics=!0,this.maxPageListLength=10,this.page=void 0,this.pages=void 0,this.showLastPage=!1,this.unbounded=!1}addIcons(){var e,a;function n(e){return`<svg\n class="usa-icon"\n aria-hidden="true"\n role="img">\n <use href=${getAssetPath("/img/sprite.svg")}#${e}></use>\n </svg>`}const i=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector("#previous-arrow-icon");i&&(i.innerHTML=n("navigate_before"));const t=null===(a=this.el.shadowRoot)||void 0===a?void 0:a.querySelector("#next-arrow-icon");t&&(t.innerHTML=n("navigate_next"))}componentDidRender(){this.addIcons()}connectedCallback(){instance.on("languageChanged",(()=>{forceUpdate(this.el)}))}disconnectedCallback(){instance.off("languageChanged")}render(){const{ariaLabelSuffix:e,page:a,pages:n}=this;if(1===n)return h("div",null);const i=e?`Previous page ${e}`:"Previous page",t=e?`Next page ${e}`:"Next page",o=this.pageNumbers(),s=classnames({"usa-pagination__item":!0,"usa-pagination__page-no":!0,"va-pagination__item":!0}),l=classnames({"usa-pagination__item":!0,"usa-pagination__overflow":!0,"va-pagination__item":!0}),r=classnames({"usa-pagination__item":!0,"usa-pagination__arrow":!0}),c=a>1?h(Fragment,null,h("li",{class:r},h("a",{"aria-label":i,onClick:()=>this.handlePageSelect(a-1,"nav-paginate-number"),onKeyDown:e=>this.handleKeyDown(e,a-1),class:"usa-pagination__link usa-pagination__previous-page",href:"javascript:void(0)"},h("div",{id:"previous-arrow-icon"}),h("span",{class:"usa-pagination__link-text"},instance.t("previous")))),!o.includes(1)&&h(Fragment,null,h("li",{class:s},h("a",{onClick:()=>this.handlePageSelect(1,"nav-paginate-number"),onKeyDown:e=>this.handleKeyDown(e,1),href:"javascript:void(0)",class:"usa-pagination__button","aria-label":"page 1, first page"},"1")),h("li",{class:l},h("span",{class:"usa-sr-only"},"Ellipsis indicating non-visible pages"),h("span",{"aria-hidden":"true"},"…")))):null,u=o.map((i=>{const t=classnames({"usa-pagination__button":!0,"usa-current":a===i});let o=e?`page ${i} ${e}`:`page ${i}`;return 1===i&&(o=`${o}, first page`),i===n&&(o=`${o}, last page`),h("li",{class:s},h("a",{onClick:()=>this.handlePageSelect(i,"nav-paginate-number"),onKeyDown:e=>this.handleKeyDown(e,i),href:"javascript:void(0)",class:t,"aria-current":a===i?"page":null,"aria-label":o},i))})),g=-1===o.indexOf(n)?h(Fragment,null,n>this.SHOW_ALL_PAGES&&h("li",{class:l},h("span",{class:"usa-sr-only"},"Ellipsis indicating non-visible pages"),h("span",{"aria-hidden":"true"},"…")),!this.unbounded&&n>this.SHOW_ALL_PAGES&&h("li",{class:s},h("a",{onClick:()=>this.handlePageSelect(n,"nav-paginate-number"),onKeyDown:e=>this.handleKeyDown(e,n),href:"javascript:void(0)",class:"usa-pagination__button","aria-label":`page ${n}, last page`},n))):null,p=a<n?h(Fragment,null,h("li",{class:r},h("a",{"aria-label":t,onClick:()=>this.handlePageSelect(a+1,"nav-paginate-number"),onKeyDown:e=>this.handleKeyDown(e,a+1),class:"usa-pagination__link usa-pagination__next-page",href:"javascript:void(0)"},h("span",{class:"usa-pagination__link-text"},instance.t("next")),h("div",{id:"next-arrow-icon"})))):null;return h(Host,null,h("nav",{class:"usa-pagination","aria-label":"Pagination"},h("ul",{class:"usa-pagination__list"},c,u,g,p)))}static get assetsDirs(){return["../assets"]}get el(){return this}static get style(){return VaPaginationStyle0}},[1,"va-pagination",{ariaLabelSuffix:[1,"aria-label-suffix"],enableAnalytics:[4,"enable-analytics"],maxPageListLength:[2,"max-page-list-length"],page:[2],pages:[2],showLastPage:[4,"show-last-page"],unbounded:[4]}]);function defineCustomElement$1(){"undefined"!=typeof customElements&&["va-pagination"].forEach((e=>{"va-pagination"===e&&(customElements.get(e)||customElements.define(e,VaPagination$1))}))}const VaPagination=VaPagination$1,defineCustomElement=defineCustomElement$1;export{VaPagination,defineCustomElement};
@@ -1 +1 @@
1
- import{proxyCustomElement,HTMLElement,createEvent,h,Host,Fragment}from"@stencil/core/internal/client";const vaTelephoneCss="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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}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)}.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}:host{font-size:1.06rem}a{white-space:nowrap}a,a:hover{text-decoration:underline}",VaTelephoneStyle0=vaTelephoneCss,VaTelephone=proxyCustomElement(class e extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.componentLibraryAnalytics=createEvent(this,"component-library-analytics",7),this.contact=void 0,this.extension=void 0,this.notClickable=!1,this.international=!1,this.tty=!1,this.sms=!1,this.vanity=void 0,this.messageAriaDescribedby=void 0}static cleanContact(e){return(e||"").replace(/[^\d]/g,"")}static splitContact(t){const n=e.cleanContact(t);if(10===n.length){const e=[.../^(\d{3})(\d{3})(\d{4})$/g.exec(n)];return 4===e.length?e.slice(-3):[n]}return[n]}static formatPhoneNumber(t,n,o=!1,i,a=!1){const s=e.splitContact(t);let r=s.join("");if(10===r.length){const[e,t,a]=s;r=`${e}-${t}-${a}`,o&&(r=`+1-${r}`),n&&(r=`${r}, ext. ${n}`),i&&(r=`${e}-${t}-${i} (${a})`)}return a&&(r=`TTY: ${r}`),r}static createHref(t,n,o){const i=e.cleanContact(t),a=3===i.length;let s=null;return s=o?`sms:${i}`:a?`tel:${i}`:`tel:+1${i}`,`${s}${n?`,${n}`:""}`}handleClick(){this.componentLibraryAnalytics.emit({componentName:"va-telephone",action:"click",details:{contact:this.contact,extension:this.extension}})}render(){const{contact:t,extension:n,notClickable:o,international:i,tty:a,vanity:s,sms:r,messageAriaDescribedby:c}=this,l=e.formatPhoneNumber(t,n,i,s,a),d=c?"number-description":null;return h(Host,{key:"988efec031bb976708e51d6c92ba9d695a33365a"},o?h(Fragment,null,h("span",{"aria-hidden":"true","aria-describedby":d},l)):h("a",{"aria-describedby":d,href:e.createHref(t,n,r),onClick:this.handleClick.bind(this)},l),c&&h("span",{key:"5f2a90943d500ae9ef292e25f091d008c61babfb",id:"number-description",class:"sr-only"},c))}static get style(){return VaTelephoneStyle0}},[1,"va-telephone",{contact:[1],extension:[1],notClickable:[4,"not-clickable"],international:[4],tty:[4],sms:[4],vanity:[1],messageAriaDescribedby:[1,"message-aria-describedby"]}]);function defineCustomElement(){"undefined"!=typeof customElements&&["va-telephone"].forEach((e=>{"va-telephone"===e&&(customElements.get(e)||customElements.define(e,VaTelephone))}))}export{VaTelephone as V,defineCustomElement as d};
1
+ import{proxyCustomElement,HTMLElement,createEvent,h,Host,Fragment}from"@stencil/core/internal/client";const vaTelephoneCss="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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}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)}.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}:host{font-size:1.06rem}a{white-space:nowrap}a,a:hover{text-decoration:underline}",VaTelephoneStyle0=vaTelephoneCss,VaTelephone=proxyCustomElement(class t extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.componentLibraryAnalytics=createEvent(this,"component-library-analytics",7),this.contact=void 0,this.extension=void 0,this.notClickable=!1,this.international=!1,this.countryCode=void 0,this.tty=!1,this.sms=!1,this.vanity=void 0,this.messageAriaDescribedby=void 0}static cleanContact(t){return(t||"").replace(/[^\d]/g,"")}static splitContact(e){const n=t.cleanContact(e);if(10===n.length){const t=[.../^(\d{3})(\d{3})(\d{4})$/g.exec(n)];return 4===t.length?t.slice(-3):[n]}return[n]}static formatPhoneNumber({contact:e,extension:n,international:o=!1,countryCode:i,vanity:a,tty:s=!1}){const r=i?[e]:t.splitContact(e);let c=r.join("");if(10===c.length&&!i){const[t,e,i]=r;c=`${t}-${e}-${i}`,o&&(c=`+1-${c}`),n&&(c=`${c}, ext. ${n}`),a&&(c=`${t}-${e}-${a} (${i})`)}return i&&(c=`+${i} ${c}`),s&&(c=`TTY: ${c}`),c}static createHref({contact:e,extension:n,sms:o,countryCode:i}){const a=t.cleanContact(e),s=3===a.length;let r=null;return r=o?`sms:${a}`:s?`tel:${a}`:i?`tel:+${i}${a}`:`tel:+1${a}`,`${r}${n?`,${n}`:""}`}handleClick(){this.componentLibraryAnalytics.emit({componentName:"va-telephone",action:"click",details:{contact:this.contact,extension:this.extension}})}render(){const{contact:e,extension:n,notClickable:o,international:i,countryCode:a,tty:s,vanity:r,sms:c,messageAriaDescribedby:l}=this,d=t.formatPhoneNumber({contact:e,extension:n,international:i,countryCode:a,vanity:r,tty:s}),u=t.createHref({contact:e,extension:n,sms:c,countryCode:a}),p=l?"number-description":null;return h(Host,{key:"4a9b5ed7ef3e37a0d75316c2852670bcf2f39c7a"},o?h(Fragment,null,h("span",{"aria-hidden":"true","aria-describedby":p},d)):h("a",{"aria-describedby":p,href:u,onClick:this.handleClick.bind(this)},d),l&&h("span",{key:"a7ccd675158bbceeedb0d50e1c767d845338f4b3",id:"number-description",class:"sr-only"},l))}static get style(){return VaTelephoneStyle0}},[1,"va-telephone",{contact:[1],extension:[1],notClickable:[4,"not-clickable"],international:[4],countryCode:[1,"country-code"],tty:[4],sms:[4],vanity:[1],messageAriaDescribedby:[1,"message-aria-describedby"]}]);function defineCustomElement(){"undefined"!=typeof customElements&&["va-telephone"].forEach((t=>{"va-telephone"===t&&(customElements.get(t)||customElements.define(t,VaTelephone))}))}export{VaTelephone as V,defineCustomElement as d};
package/dist/main.css CHANGED
@@ -1 +1 @@
1
- :root{--xsmall-screen:320px;--small-screen:481px;--tablet:640px;--medium-screen:768px;--small-desktop-screen:1024px;--large-screen:1201px;--mobile:320px;--mobile-lg:480px;--desktop:1024px;--desktop-lg:1201px;--color-link-default-hover:rgba(#000000, 0.05);--vads-button-color-background-primary-alt-active-on-light:#154c21;--vads-button-color-background-secondary-on-light:#ffffff;--vads-button-color-text-primary-alt-on-light:#ffffff;--vads-button-color-text-primary-on-light:#ffffff;--vads-input-background-color-on-light:#ffffff;--vads-color-white:#ffffff;--vads-label-hint-text-color-on-light:#757575;--vads-process-list-color-text-pending-on-light:#757575;--vads-color-gray-medium:#757575;--vads-color-gray-light-alt:#edeff0;--vads-color-gray-warm-light:#e6e6e2;--vads-color-gray-warm-dark:#454540;--vads-color-gray-cool-light:#e1e7f1;--vads-color-action-focus-on-light:#face00;--vads-color-base:#1b1b1b;--vads-color-base-dark:#565c65;--vads-color-base-darker:#3d4551;--vads-color-base-darkest:#1b1b1b;--vads-color-base-light:#a9aeb1;--vads-color-base-lighter:#dfe1e2;--vads-color-base-lightest:#f0f0f0;--vads-color-emergency:#9c3d10;--vads-color-emergency-dark:#332d29;--vads-color-error:#d54309;--vads-color-error-dark:#b21d38;--vads-color-error-darker:#6f3331;--vads-color-error-light:#f39268;--vads-color-error-lighter:#f4e3db;--vads-color-gibill-accent:#fef0c8;--vads-color-hub-burials:#2378c3;--vads-color-hub-careers:#bd5727;--vads-color-hub-disability:#a23737;--vads-color-hub-education:#162e51;--vads-color-hub-health-care:#3f57a6;--vads-color-hub-housing:#8e704f;--vads-color-hub-life-insurance:#6f7a41;--vads-color-hub-pension:#4d8055;--vads-color-hub-records:#6f7a41;--vads-color-hub-service-member:#162e51;--vads-color-hub-family-member:#162e51;--vads-color-info:#00bde3;--vads-color-info-dark:#009ec1;--vads-color-info-darker:#2e6276;--vads-color-info-light:#99deea;--vads-color-info-lighter:#e7f6f8;--vads-color-ink:#1b1b1b;--vads-color-inset-bg:#e7f6f8;--vads-color-link:#005ea2;--vads-color-link-active:#0b4778;--vads-color-link-visited:#54278f;--vads-color-primary:#005ea2;--vads-color-primary-alt:#00bde3;--vads-color-primary-alt-dark:#28a0cb;--vads-color-primary-alt-darkest:#07648d;--vads-color-primary-alt-light:#97d4ea;--vads-color-primary-alt-lightest:#e1f3f8;--vads-color-primary-dark:#1a4480;--vads-color-primary-darker:#162e51;--vads-color-primary-light:#73b3e7;--vads-color-primary-lighter:#d9e8f6;--vads-color-secondary:#d83933;--vads-color-secondary-dark:#b50909;--vads-color-secondary-darkest:#8b0a03;--vads-color-secondary-light:#f2938c;--vads-color-secondary-lightest:#f8dfe2;--vads-color-success:#00a91c;--vads-color-success-dark:#008817;--vads-color-success-darker:#216e1f;--vads-color-success-light:#70e17b;--vads-color-success-lighter:#ecf3ec;--vads-color-green-light:#5e9f69;--vads-color-va-accent:#8a7237;--vads-color-warning:#ffbe2e;--vads-color-warning-dark:#e5a000;--vads-color-warning-darker:#936f38;--vads-color-warning-light:#fee685;--vads-color-warning-lighter:#faf3d1;--vads-color-gold-lighter:#ffe396;--vads-color-gold-lightest:#fef0c8;--vads-color-black:#000000;--vads-color-green-lighter:#b4d0b9;--vads-color-blue-cool:#345d96;--vads-color-blue-cool-light:#4a77b4;--vads-color-blue-cool-lightest:#98afd2;--vads-color-action-surface-default-on-dark:#58b4ff;--vads-color-action-surface-destructive-on-dark:#fb5a47;--vads-color-action-border-base-active-on-light:#2e2e2e;--vads-color-action-border-base-active-on-dark:#adadad;--vads-color-feedback-surface-info-on-dark:#112f4e;--vads-color-feedback-surface-success-on-dark:#19311e;--vads-color-feedback-surface-warning-on-dark:#422d19;--vads-color-feedback-surface-error-on-dark:#5c1111;--vads-color-feedback-border-warning-on-dark:#face00;--vads-color-background-default-on-dark:#171716;--vads-color-forms-surface-active-on-light:#ecf1f7;--vads-color-forms-surface-active-on-dark:#252f3e;--font-family-sans:'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;--font-family-serif:Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;--font-serif:Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;--font-source-sans:'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;--font-weight-normal:400;--font-weight-bold:700;--font-style-normal:normal;--font-style-italic:italic;--font-size-sm:0.938rem;--font-size-base:1rem;--font-size-md:1.063rem;--font-size-lg:1.25rem;--font-size-xl:1.875rem;--font-size-2xl:2.5rem;--font-size-h1:2.5rem;--font-size-h2:1.875rem;--font-size-h3:1.25rem;--font-size-h4:1.063rem;--font-size-h5:0.938rem;--font-size-h6:0.938rem;--v3-font-base-size:16px;--vads-font-line-height-body-lead:1.75;--vads-font-line-height-default:1.5;--vads-font-line-height-heading:1.2;--vads-font-size-body-large:20px;--vads-font-size-body-lead:20px;--vads-font-size-body-medium:17px;--vads-font-size-body-small:15px;--vads-font-size-eyebrow:17px;--vads-font-size-heading-level-1:40px;--vads-font-size-heading-level-2:32px;--vads-font-size-heading-level-3:20px;--vads-font-size-heading-level-4:17px;--vads-font-size-heading-level-5:15px;--vads-font-size-heading-level-6:15px;--units-0:0;--units-1:0.5rem;--units-2:1rem;--units-3:1.5rem;--units-4:2rem;--units-5:2.5rem;--units-6:3rem;--units-7:3.5rem;--units-8:4rem;--units-9:4.5rem;--units-10:5rem;--units-15:7.5rem;--units-1px:1px;--units-0p25:2px;--units-0p5:0.25rem;--units-1p5:0.75rem;--units-2p5:1.25rem;--units-neg-1px:-1px;--units-neg-0p25:-2px;--units-neg-0p5:-0.25rem;--units-neg-1:-0.5rem;--units-neg-1p5:-0.75rem;--units-neg-2:-1rem;--units-neg-2p5:-1.25rem;--units-neg-3:-1.5rem;--units-neg-4:-2rem;--units-neg-5:-2.5rem;--units-neg-6:-3rem;--units-neg-7:-3.5rem;--units-neg-8:-4rem;--units-neg-9:-4.5rem;--units-neg-10:-5rem;--units-neg-15:-7.5rem;--uswds-system-color-blue-5:#eff6fb;--uswds-system-color-blue-10:#d9e8f6;--uswds-system-color-blue-20:#aacdec;--uswds-system-color-blue-30:#73b3e7;--uswds-system-color-blue-40:#4f97d1;--uswds-system-color-blue-50:#2378c3;--uswds-system-color-blue-60:#2c608a;--uswds-system-color-blue-70:#274863;--uswds-system-color-blue-80:#1f303e;--uswds-system-color-blue-90:#11181d;--uswds-system-color-blue-vivid-30:#58b4ff;--uswds-system-color-blue-vivid-50:#0076d6;--uswds-system-color-blue-vivid-60:#005ea2;--uswds-system-color-blue-vivid-70:#0b4778;--uswds-system-color-blue-vivid-80:#112f4e;--uswds-system-color-blue-cool-60:#2e6276;--uswds-system-color-blue-cool-vivid-5:#e1f3f8;--uswds-system-color-blue-cool-vivid-20:#97d4ea;--uswds-system-color-blue-cool-vivid-40:#28a0cb;--uswds-system-color-blue-cool-vivid-60:#07648d;--uswds-system-color-blue-warm-5:#ecf1f7;--uswds-system-color-blue-warm-10:#e1e7f1;--uswds-system-color-blue-warm-30:#98afd2;--uswds-system-color-blue-warm-50:#4a77b4;--uswds-system-color-blue-warm-60:#345d96;--uswds-system-color-blue-warm-80:#252f3e;--uswds-system-color-blue-warm-vivid-60:#0050d8;--uswds-system-color-blue-warm-vivid-70:#1a4480;--uswds-system-color-blue-warm-vivid-80:#162e51;--uswds-system-color-cyan-5:#e7f6f8;--uswds-system-color-cyan-20:#99deea;--uswds-system-color-cyan-vivid-30:#00bde3;--uswds-system-color-cyan-vivid-40:#009ec1;--uswds-system-color-gold-50:#8e704f;--uswds-system-color-gold-vivid-5:#fef0c8;--uswds-system-color-gold-vivid-10:#ffe396;--uswds-system-color-gold-vivid-20:#ffbe2e;--uswds-system-color-gold-vivid-30:#e5a000;--uswds-system-color-gold-vivid-50:#936f38;--uswds-system-color-gray-1:#fcfcfc;--uswds-system-color-gray-2:#f9f9f9;--uswds-system-color-gray-3:#f6f6f6;--uswds-system-color-gray-4:#f3f3f3;--uswds-system-color-gray-5:#f0f0f0;--uswds-system-color-gray-10:#e6e6e6;--uswds-system-color-gray-20:#c9c9c9;--uswds-system-color-gray-30:#adadad;--uswds-system-color-gray-40:#919191;--uswds-system-color-gray-50:#757575;--uswds-system-color-gray-60:#5c5c5c;--uswds-system-color-gray-70:#454545;--uswds-system-color-gray-80:#2e2e2e;--uswds-system-color-gray-90:#1b1b1b;--uswds-system-color-gray-100:#000000;--uswds-system-color-gray-cool-1:#fbfcfd;--uswds-system-color-gray-cool-2:#f7f9fa;--uswds-system-color-gray-cool-3:#f5f6f7;--uswds-system-color-gray-cool-4:#f1f3f6;--uswds-system-color-gray-cool-5:#edeff0;--uswds-system-color-gray-cool-10:#dfe1e2;--uswds-system-color-gray-cool-20:#c6cace;--uswds-system-color-gray-cool-30:#a9aeb1;--uswds-system-color-gray-cool-40:#8d9297;--uswds-system-color-gray-cool-50:#71767a;--uswds-system-color-gray-cool-60:#565c65;--uswds-system-color-gray-cool-70:#3d4551;--uswds-system-color-gray-cool-80:#2d2e2f;--uswds-system-color-gray-cool-90:#1c1d1f;--uswds-system-color-gray-warm-10:#e6e6e2;--uswds-system-color-gray-warm-70:#454540;--uswds-system-color-gray-warm-90:#171716;--uswds-system-color-green-warm-50:#6f7a41;--uswds-system-color-green-cool-5:#ecf3ec;--uswds-system-color-green-cool-20:#b4d0b9;--uswds-system-color-green-cool-40:#5e9f69;--uswds-system-color-green-cool-50:#4d8055;--uswds-system-color-green-cool-vivid-20:#70e17b;--uswds-system-color-green-cool-vivid-40:#00a91c;--uswds-system-color-green-cool-vivid-50:#008817;--uswds-system-color-green-cool-vivid-60:#216e1f;--uswds-system-color-green-cool-vivid-70:#154c21;--uswds-system-color-green-cool-vivid-80:#19311e;--uswds-system-color-orange-40:#dd7533;--uswds-system-color-orange-warm-50:#bd5727;--uswds-system-color-red-30:#f2938c;--uswds-system-color-red-50:#d83933;--uswds-system-color-red-60:#a23737;--uswds-system-color-red-70:#6f3331;--uswds-system-color-red-vivid-40:#fb5a47;--uswds-system-color-red-vivid-60:#b50909;--uswds-system-color-red-vivid-70:#8b0a03;--uswds-system-color-red-vivid-80:#5c1111;--uswds-system-color-red-cool-vivid-10:#f8dfe2;--uswds-system-color-red-cool-vivid-50:#e41d3d;--uswds-system-color-red-cool-vivid-60:#b21d38;--uswds-system-color-red-cool-vivid-70:#822133;--uswds-system-color-red-warm-10:#f4e3db;--uswds-system-color-red-warm-80:#332d29;--uswds-system-color-red-warm-vivid-30:#f39268;--uswds-system-color-red-warm-vivid-50:#d54309;--uswds-system-color-red-warm-vivid-60:#9c3d10;--uswds-system-color-violet-vivid-70:#54278f;--uswds-system-color-violet-warm-60:#864381;--uswds-system-color-yellow-5:#faf3d1;--uswds-system-color-yellow-50:#8a7237;--uswds-system-color-yellow-vivid-10:#fee685;--uswds-system-color-yellow-vivid-20:#face00;--uswds-system-color-yellow-vivid-80:#422d19;--uswds-system-color-indigo-cool-60:#3f57a6;--uswds-system-color-mint-cool-50:#40807e}va-breadcrumbs .va-breadcrumbs-li{display:inline-block;line-height:1.5;margin:4px 0;padding:4px 0 4px 0;vertical-align:middle}va-breadcrumbs .va-breadcrumbs-li::after{content:' \203A ';display:inline-block;padding:0 5.6px}va-breadcrumbs .va-breadcrumbs-li:last-child::after{content:''}@media screen and (max-width: 481px){va-breadcrumbs .va-breadcrumbs-li{display:none}va-breadcrumbs .va-breadcrumbs-li:nth-last-child(2){display:-ms-flexbox;display:flex}va-breadcrumbs .va-breadcrumbs-li:nth-last-child(2)::before{content:' \2039 ';display:inline-block;padding:0 2.4px}va-breadcrumbs .va-breadcrumbs-li:nth-last-child(2)::after{content:'';display:none;padding:0}}va-breadcrumbs li>a{background-color:transparent;color:var(--vads-color-link);display:inline-block;padding:2px;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}va-breadcrumbs li>a:hover{background:rgba(0, 0, 0, 0.05)}va-breadcrumbs li>a:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}va-breadcrumbs li>a[aria-current='page']{color:var(--vads-color-base-darker);cursor:default;font-weight:bold;pointer-events:none;text-decoration:none}va-modal p:first-child{margin-top:0}va-table>va-table-row[slot] button{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;border-radius:0}va-table>va-table-row[slot] button:hover{background-color:rgba(0, 0, 0, 0.05) !important;-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}va-table>va-table-row[slot] button svg{width:1.5rem}@media screen and (min-width: 768px){va-table-row span.text-align-right{text-align:right!important}}:is(va-alert)>:is(h1,h2,h3,h4,h5,h6){font-size:21.28px;margin-top:0;margin-bottom:8px;}va-alert p{max-width:100%;margin-bottom:1em;margin-top:1em}va-process-list li :is(h2,h3,h4,h5){margin-top:0;clear:none;padding-top:0.188rem}va-promo-banner[href]:focus{outline:none}
1
+ :root{--xsmall-screen:320px;--small-screen:481px;--tablet:640px;--medium-screen:768px;--small-desktop-screen:1024px;--large-screen:1201px;--mobile:320px;--mobile-lg:480px;--desktop:1024px;--desktop-lg:1201px;--color-link-default-hover:rgba(#000000, 0.05);--vads-button-color-background-primary-alt-active-on-light:#154c21;--vads-button-color-background-secondary-on-light:#ffffff;--vads-button-color-text-primary-alt-on-light:#ffffff;--vads-button-color-text-primary-on-light:#ffffff;--vads-input-background-color-on-light:#ffffff;--vads-color-white:#ffffff;--vads-label-hint-text-color-on-light:#757575;--vads-process-list-color-text-pending-on-light:#757575;--vads-color-gray-medium:#757575;--vads-color-gray-light-alt:#edeff0;--vads-color-gray-warm-light:#e6e6e2;--vads-color-gray-warm-dark:#454540;--vads-color-gray-cool-light:#e1e7f1;--vads-color-action-focus-on-light:#face00;--vads-color-base:#1b1b1b;--vads-color-base-dark:#565c65;--vads-color-base-darker:#3d4551;--vads-color-base-darkest:#1b1b1b;--vads-color-base-light:#a9aeb1;--vads-color-base-lighter:#dfe1e2;--vads-color-base-lightest:#f0f0f0;--vads-color-emergency:#9c3d10;--vads-color-emergency-dark:#332d29;--vads-color-error:#d54309;--vads-color-error-dark:#b21d38;--vads-color-error-darker:#6f3331;--vads-color-error-light:#f39268;--vads-color-error-lighter:#f4e3db;--vads-color-gibill-accent:#fef0c8;--vads-color-hub-burials:#2378c3;--vads-color-hub-careers:#bd5727;--vads-color-hub-disability:#a23737;--vads-color-hub-education:#162e51;--vads-color-hub-health-care:#3f57a6;--vads-color-hub-housing:#8e704f;--vads-color-hub-life-insurance:#6f7a41;--vads-color-hub-pension:#4d8055;--vads-color-hub-records:#6f7a41;--vads-color-hub-service-member:#162e51;--vads-color-hub-family-member:#162e51;--vads-color-info:#00bde3;--vads-color-info-dark:#009ec1;--vads-color-info-darker:#2e6276;--vads-color-info-light:#99deea;--vads-color-info-lighter:#e7f6f8;--vads-color-ink:#1b1b1b;--vads-color-inset-bg:#e7f6f8;--vads-color-link:#005ea2;--vads-color-link-active:#0b4778;--vads-color-link-visited:#54278f;--vads-color-primary:#005ea2;--vads-color-primary-alt:#00bde3;--vads-color-primary-alt-dark:#28a0cb;--vads-color-primary-alt-darkest:#07648d;--vads-color-primary-alt-light:#97d4ea;--vads-color-primary-alt-lightest:#e1f3f8;--vads-color-primary-dark:#1a4480;--vads-color-primary-darker:#162e51;--vads-color-primary-light:#73b3e7;--vads-color-primary-lighter:#d9e8f6;--vads-color-secondary:#d83933;--vads-color-secondary-dark:#b50909;--vads-color-secondary-darkest:#8b0a03;--vads-color-secondary-light:#f2938c;--vads-color-secondary-lightest:#f8dfe2;--vads-color-success:#00a91c;--vads-color-success-dark:#008817;--vads-color-success-darker:#216e1f;--vads-color-success-light:#70e17b;--vads-color-success-lighter:#ecf3ec;--vads-color-green-light:#5e9f69;--vads-color-va-accent:#8a7237;--vads-color-warning:#ffbe2e;--vads-color-warning-dark:#e5a000;--vads-color-warning-darker:#936f38;--vads-color-warning-light:#fee685;--vads-color-warning-lighter:#faf3d1;--vads-color-gold-lighter:#ffe396;--vads-color-gold-lightest:#fef0c8;--vads-color-black:#000000;--vads-color-green-lighter:#b4d0b9;--vads-color-blue-cool:#345d96;--vads-color-blue-cool-light:#4a77b4;--vads-color-blue-cool-lightest:#98afd2;--vads-color-action-surface-default-on-dark:#58b4ff;--vads-color-action-surface-destructive-on-dark:#fb5a47;--vads-color-action-border-base-active-on-light:#2e2e2e;--vads-color-action-border-base-active-on-dark:#adadad;--vads-color-feedback-surface-info-on-dark:#112f4e;--vads-color-feedback-surface-success-on-dark:#19311e;--vads-color-feedback-surface-warning-on-dark:#422d19;--vads-color-feedback-surface-error-on-dark:#5c1111;--vads-color-feedback-border-warning-on-dark:#face00;--vads-color-background-default-on-dark:#171716;--vads-color-forms-surface-active-on-light:#ecf1f7;--vads-color-forms-surface-active-on-dark:#252f3e;--font-family-sans:'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;--font-family-serif:Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;--font-serif:Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;--font-source-sans:'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;--font-weight-normal:400;--font-weight-bold:700;--font-style-normal:normal;--font-style-italic:italic;--font-size-sm:0.938rem;--font-size-base:1rem;--font-size-md:1.063rem;--font-size-lg:1.25rem;--font-size-xl:1.875rem;--font-size-2xl:2.5rem;--font-size-h1:2.5rem;--font-size-h2:1.875rem;--font-size-h3:1.25rem;--font-size-h4:1.063rem;--font-size-h5:0.938rem;--font-size-h6:0.938rem;--v3-font-base-size:16px;--vads-font-line-height-body-lead:1.75;--vads-font-line-height-default:1.5;--vads-font-line-height-heading:1.2;--vads-font-size-body-large:20px;--vads-font-size-body-lead:20px;--vads-font-size-body-medium:17px;--vads-font-size-body-small:15px;--vads-font-size-eyebrow:17px;--vads-font-size-heading-level-1:40px;--vads-font-size-heading-level-2:32px;--vads-font-size-heading-level-3:20px;--vads-font-size-heading-level-4:17px;--vads-font-size-heading-level-5:15px;--vads-font-size-heading-level-6:15px;--vads-size-line-length-1:44ex;--vads-size-line-length-2:60ex;--vads-size-line-length-3:64ex;--vads-size-line-length-4:68ex;--vads-size-line-length-5:72ex;--vads-size-line-length-6:88ex;--vads-size-line-length-none:inherit;--units-0:0;--units-1:0.5rem;--units-2:1rem;--units-3:1.5rem;--units-4:2rem;--units-5:2.5rem;--units-6:3rem;--units-7:3.5rem;--units-8:4rem;--units-9:4.5rem;--units-10:5rem;--units-15:7.5rem;--units-1px:1px;--units-0p25:2px;--units-0p5:0.25rem;--units-1p5:0.75rem;--units-2p5:1.25rem;--units-neg-1px:-1px;--units-neg-0p25:-2px;--units-neg-0p5:-0.25rem;--units-neg-1:-0.5rem;--units-neg-1p5:-0.75rem;--units-neg-2:-1rem;--units-neg-2p5:-1.25rem;--units-neg-3:-1.5rem;--units-neg-4:-2rem;--units-neg-5:-2.5rem;--units-neg-6:-3rem;--units-neg-7:-3.5rem;--units-neg-8:-4rem;--units-neg-9:-4.5rem;--units-neg-10:-5rem;--units-neg-15:-7.5rem;--uswds-system-color-blue-5:#eff6fb;--uswds-system-color-blue-10:#d9e8f6;--uswds-system-color-blue-20:#aacdec;--uswds-system-color-blue-30:#73b3e7;--uswds-system-color-blue-40:#4f97d1;--uswds-system-color-blue-50:#2378c3;--uswds-system-color-blue-60:#2c608a;--uswds-system-color-blue-70:#274863;--uswds-system-color-blue-80:#1f303e;--uswds-system-color-blue-90:#11181d;--uswds-system-color-blue-vivid-30:#58b4ff;--uswds-system-color-blue-vivid-50:#0076d6;--uswds-system-color-blue-vivid-60:#005ea2;--uswds-system-color-blue-vivid-70:#0b4778;--uswds-system-color-blue-vivid-80:#112f4e;--uswds-system-color-blue-cool-60:#2e6276;--uswds-system-color-blue-cool-vivid-5:#e1f3f8;--uswds-system-color-blue-cool-vivid-20:#97d4ea;--uswds-system-color-blue-cool-vivid-40:#28a0cb;--uswds-system-color-blue-cool-vivid-60:#07648d;--uswds-system-color-blue-warm-5:#ecf1f7;--uswds-system-color-blue-warm-10:#e1e7f1;--uswds-system-color-blue-warm-30:#98afd2;--uswds-system-color-blue-warm-50:#4a77b4;--uswds-system-color-blue-warm-60:#345d96;--uswds-system-color-blue-warm-80:#252f3e;--uswds-system-color-blue-warm-vivid-60:#0050d8;--uswds-system-color-blue-warm-vivid-70:#1a4480;--uswds-system-color-blue-warm-vivid-80:#162e51;--uswds-system-color-cyan-5:#e7f6f8;--uswds-system-color-cyan-20:#99deea;--uswds-system-color-cyan-vivid-30:#00bde3;--uswds-system-color-cyan-vivid-40:#009ec1;--uswds-system-color-gold-50:#8e704f;--uswds-system-color-gold-vivid-5:#fef0c8;--uswds-system-color-gold-vivid-10:#ffe396;--uswds-system-color-gold-vivid-20:#ffbe2e;--uswds-system-color-gold-vivid-30:#e5a000;--uswds-system-color-gold-vivid-50:#936f38;--uswds-system-color-gray-1:#fcfcfc;--uswds-system-color-gray-2:#f9f9f9;--uswds-system-color-gray-3:#f6f6f6;--uswds-system-color-gray-4:#f3f3f3;--uswds-system-color-gray-5:#f0f0f0;--uswds-system-color-gray-10:#e6e6e6;--uswds-system-color-gray-20:#c9c9c9;--uswds-system-color-gray-30:#adadad;--uswds-system-color-gray-40:#919191;--uswds-system-color-gray-50:#757575;--uswds-system-color-gray-60:#5c5c5c;--uswds-system-color-gray-70:#454545;--uswds-system-color-gray-80:#2e2e2e;--uswds-system-color-gray-90:#1b1b1b;--uswds-system-color-gray-100:#000000;--uswds-system-color-gray-cool-1:#fbfcfd;--uswds-system-color-gray-cool-2:#f7f9fa;--uswds-system-color-gray-cool-3:#f5f6f7;--uswds-system-color-gray-cool-4:#f1f3f6;--uswds-system-color-gray-cool-5:#edeff0;--uswds-system-color-gray-cool-10:#dfe1e2;--uswds-system-color-gray-cool-20:#c6cace;--uswds-system-color-gray-cool-30:#a9aeb1;--uswds-system-color-gray-cool-40:#8d9297;--uswds-system-color-gray-cool-50:#71767a;--uswds-system-color-gray-cool-60:#565c65;--uswds-system-color-gray-cool-70:#3d4551;--uswds-system-color-gray-cool-80:#2d2e2f;--uswds-system-color-gray-cool-90:#1c1d1f;--uswds-system-color-gray-warm-10:#e6e6e2;--uswds-system-color-gray-warm-70:#454540;--uswds-system-color-gray-warm-90:#171716;--uswds-system-color-green-warm-50:#6f7a41;--uswds-system-color-green-cool-5:#ecf3ec;--uswds-system-color-green-cool-20:#b4d0b9;--uswds-system-color-green-cool-40:#5e9f69;--uswds-system-color-green-cool-50:#4d8055;--uswds-system-color-green-cool-vivid-20:#70e17b;--uswds-system-color-green-cool-vivid-40:#00a91c;--uswds-system-color-green-cool-vivid-50:#008817;--uswds-system-color-green-cool-vivid-60:#216e1f;--uswds-system-color-green-cool-vivid-70:#154c21;--uswds-system-color-green-cool-vivid-80:#19311e;--uswds-system-color-orange-40:#dd7533;--uswds-system-color-orange-warm-50:#bd5727;--uswds-system-color-red-30:#f2938c;--uswds-system-color-red-50:#d83933;--uswds-system-color-red-60:#a23737;--uswds-system-color-red-70:#6f3331;--uswds-system-color-red-vivid-40:#fb5a47;--uswds-system-color-red-vivid-60:#b50909;--uswds-system-color-red-vivid-70:#8b0a03;--uswds-system-color-red-vivid-80:#5c1111;--uswds-system-color-red-cool-vivid-10:#f8dfe2;--uswds-system-color-red-cool-vivid-50:#e41d3d;--uswds-system-color-red-cool-vivid-60:#b21d38;--uswds-system-color-red-cool-vivid-70:#822133;--uswds-system-color-red-warm-10:#f4e3db;--uswds-system-color-red-warm-80:#332d29;--uswds-system-color-red-warm-vivid-30:#f39268;--uswds-system-color-red-warm-vivid-50:#d54309;--uswds-system-color-red-warm-vivid-60:#9c3d10;--uswds-system-color-violet-vivid-70:#54278f;--uswds-system-color-violet-warm-60:#864381;--uswds-system-color-yellow-5:#faf3d1;--uswds-system-color-yellow-50:#8a7237;--uswds-system-color-yellow-vivid-10:#fee685;--uswds-system-color-yellow-vivid-20:#face00;--uswds-system-color-yellow-vivid-80:#422d19;--uswds-system-color-indigo-cool-60:#3f57a6;--uswds-system-color-mint-cool-50:#40807e}va-breadcrumbs .va-breadcrumbs-li{display:inline-block;line-height:1.5;margin:4px 0;padding:4px 0 4px 0;vertical-align:middle}va-breadcrumbs .va-breadcrumbs-li::after{content:' \203A ';display:inline-block;padding:0 5.6px}va-breadcrumbs .va-breadcrumbs-li:last-child::after{content:''}@media screen and (max-width: 481px){va-breadcrumbs .va-breadcrumbs-li{display:none}va-breadcrumbs .va-breadcrumbs-li:nth-last-child(2){display:-ms-flexbox;display:flex}va-breadcrumbs .va-breadcrumbs-li:nth-last-child(2)::before{content:' \2039 ';display:inline-block;padding:0 2.4px}va-breadcrumbs .va-breadcrumbs-li:nth-last-child(2)::after{content:'';display:none;padding:0}}va-breadcrumbs li>a{background-color:transparent;color:var(--vads-color-link);display:inline-block;padding:2px;-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}va-breadcrumbs li>a:hover{background:rgba(0, 0, 0, 0.05)}va-breadcrumbs li>a:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}va-breadcrumbs li>a[aria-current='page']{color:var(--vads-color-base-darker);cursor:default;font-weight:bold;pointer-events:none;text-decoration:none}va-modal p:first-child{margin-top:0}va-table>va-table-row[slot] button{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;border-radius:0}va-table>va-table-row[slot] button:hover{background-color:rgba(0, 0, 0, 0.05) !important;-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}va-table>va-table-row[slot] button svg{width:1.5rem}@media screen and (min-width: 768px){va-table-row span.text-align-right{text-align:right!important}}:is(va-alert)>:is(h1,h2,h3,h4,h5,h6){font-size:21.28px;margin-top:0;margin-bottom:8px;}va-alert p{max-width:100%;margin-bottom:1em;margin-top:1em}va-process-list li :is(h2,h3,h4,h5){margin-top:0;clear:none;padding-top:0.188rem}va-promo-banner[href]:focus{outline:none}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@department-of-veterans-affairs/component-library",
3
3
  "description": "VA.gov component library. Includes React and web components.",
4
- "version": "47.3.0",
4
+ "version": "48.0.0",
5
5
  "license": "MIT",
6
6
  "scripts": {
7
7
  "build": "webpack"
@@ -1,2 +0,0 @@
1
- /*! For license information please see 360.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([[360,7485],{1320:function(e,a,t){t.r(a),t.d(a,{c:function(){return o}});var r,s={exports:{}};r=s,function(){var e={}.hasOwnProperty;function a(){for(var t=[],r=0;r<arguments.length;r++){var s=arguments[r];if(s){var o=typeof s;if("string"===o||"number"===o)t.push(s);else if(Array.isArray(s)){if(s.length){var i=a.apply(null,s);i&&t.push(i)}}else if("object"===o)if(s.toString===Object.prototype.toString)for(var l in s)e.call(s,l)&&s[l]&&t.push(l);else t.push(s.toString())}}return t.join(" ")}r.exports?(a.default=a,r.exports=a):window.classNames=a}();var o=s.exports},360:function(e,a,t){t.r(a),t.d(a,{va_alert:function(){return o}});var r=t(5304),s=t(1320),o=function(){function e(e){(0,r.r)(this,e),this.vaComponentDidLoad=(0,r.c)(this,"va-component-did-load",7),this.closeEvent=(0,r.c)(this,"closeEvent",7),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.status="info",this.disableAnalytics=!1,this.visible=!0,this.closeBtnAriaLabel="Close notification",this.closeable=!1,this.fullWidth=!1,this.slim=!1}return e.prototype.closeHandler=function(e){this.closeEvent.emit(e)},e.prototype.handleAlertBodyClick=function(e){var a=null;try{a=(t=this.el.shadowRoot.querySelector("slot").assignedNodes()).length>0?t[0].textContent:null}catch(e){var t,r=(t=this.el.shadowRoot.childNodes).filter((function(e){return["h1","h2","h3","h4","h5","h6"].includes(e.tagName.toLowerCase())}));a=r.length>0?r[0].textContent:null}if(!this.disableAnalytics){var s=e.target;if("A"===(null==s?void 0:s.tagName)){var o={componentName:"va-alert",action:"linkClick",details:{clickLabel:s.innerText,headline:a,status:this.status,closeable:this.closeable}};this.componentLibraryAnalytics.emit(o)}}},e.prototype.componentDidLoad=function(){this.vaComponentDidLoad.emit()},e.prototype.render=function(){var e=this,a=e.visible,t=e.closeable,o=e.slim,i=this.status;if(-1===["info","warning","error","success","continue"].indexOf(i)&&(i="info"),!a)return(0,r.h)("div",{"aria-live":"polite"});var l=(0,s.c)("usa-alert","usa-alert--".concat(i),{"usa-alert--success":"continue"===i,"usa-alert--slim":o});return(0,r.h)(r.H,null,(0,r.h)("div",{role:this.el.getAttribute("data-role"),class:l,"aria-label":this.el.getAttribute("data-label")},(0,r.h)("div",{class:"usa-alert__body",onClick:this.handleAlertBodyClick.bind(this),role:"presentation"},"continue"===i&&(0,r.h)("va-icon",{class:"va-alert__lock-icon",icon:"lock",size:o?3:4}),!o&&(0,r.h)("slot",{name:"headline"}),(0,r.h)("slot",null))),t&&(0,r.h)("button",{class:"va-alert-close","aria-label":this.closeBtnAriaLabel,onClick:this.closeHandler.bind(this)},(0,r.h)("va-icon",{icon:"cancel",size:4})))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();o.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;margin-left:auto;margin-right:auto;max-width:64rem;padding-bottom:1rem;padding-top:1rem;padding-left:1rem;padding-right:1rem;position:relative}@media all and (min-width: 64em){.usa-alert .usa-alert__body{padding-left:1.8333333333rem}}.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{margin-top:1rem}.usa-alert--success{background-color:#ecf3ec;border-left-color:#00a91c}.usa-alert--success .usa-alert__body{color:#1b1b1b;background-color:#ecf3ec;padding-left:2.9166666667rem}.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;left:0.5rem;position:absolute;top:0.75rem}@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}}@media all and (min-width: 64em){.usa-alert--success .usa-alert__body::before{left:1.5rem}}@media all and (min-width: 64em){.usa-alert--success .usa-alert__body{padding-left:4rem;padding-right:4rem}}.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;padding-left:2.9166666667rem}.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;left:0.5rem;position:absolute;top:0.75rem}@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}}@media all and (min-width: 64em){.usa-alert--warning .usa-alert__body::before{left:1.5rem}}@media all and (min-width: 64em){.usa-alert--warning .usa-alert__body{padding-left:4rem;padding-right:4rem}}.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;padding-left:2.9166666667rem}.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;left:0.5rem;position:absolute;top:0.75rem}@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}}@media all and (min-width: 64em){.usa-alert--error .usa-alert__body::before{left:1.5rem}}@media all and (min-width: 64em){.usa-alert--error .usa-alert__body{padding-left:4rem;padding-right:4rem}}.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;padding-left:2.9166666667rem}.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;left:0.5rem;position:absolute;top:0.75rem}@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}}@media all and (min-width: 64em){.usa-alert--info .usa-alert__body::before{left:1.5rem}}@media all and (min-width: 64em){.usa-alert--info .usa-alert__body{padding-left:4rem;padding-right:4rem}}.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;padding-left:2.9166666667rem}.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;left:0.5rem;position:absolute;top:0.75rem}@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}}@media all and (min-width: 64em){.usa-alert--emergency .usa-alert__body::before{left:1.5rem}}@media all and (min-width: 64em){.usa-alert--emergency .usa-alert__body{padding-left:4rem;padding-right:4rem}}.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;padding-left:2.4166666667rem}.usa-alert--slim .usa-alert__body:before{background-size:1.5rem;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}}@media all and (min-width: 64em){.usa-alert--slim .usa-alert__body{padding-left:3.5rem}}.usa-alert--no-icon .usa-alert__body{padding-left:0.5rem}.usa-alert--no-icon .usa-alert__body:before{display:none}@media all and (min-width: 64em){.usa-alert--no-icon .usa-alert__body{padding-left:1.8333333333rem}}.usa-alert--validation .usa-checklist{margin-top:1rem}:host{display:block;position:relative}:host ::slotted([slot=headline]){font-size:21.28px;margin-top:0;margin-bottom:8px;font-family:var(--font-serif)}.va-alert-close:hover{color:var(--vads-color-base)}.va-alert-close{margin:1rem;padding:0;width:auto;color:var(--vads-color-base-darker);font-size:1.40625rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;cursor:pointer;background:transparent;display:block;position:absolute;right:0;top:0}:host([closeable]:not([closeable=false])) .usa-alert .usa-alert__body{padding-right:3.563rem}.usa-alert--continue.usa-alert--success .usa-alert__body::before{-webkit-mask:none;mask:none;background:transparent}.va-alert__lock-icon{position:absolute;top:12px;left:24px}.usa-alert--continue.usa-alert--success.usa-alert--slim .va-alert__lock-icon{position:absolute;top:6px;left:28px}@media screen and (max-width: 64em){.va-alert__lock-icon{left:12px}.usa-alert--continue.usa-alert--success.usa-alert--slim .va-alert__lock-icon{left:12px}}'}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 383.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([[383,7485],{1320:function(i,n,o){o.r(n),o.d(n,{c:function(){return a}});var e,t={exports:{}};e=t,function(){var i={}.hasOwnProperty;function n(){for(var o=[],e=0;e<arguments.length;e++){var t=arguments[e];if(t){var a=typeof t;if("string"===a||"number"===a)o.push(t);else if(Array.isArray(t)){if(t.length){var r=n.apply(null,t);r&&o.push(r)}}else if("object"===a)if(t.toString===Object.prototype.toString)for(var l in t)i.call(t,l)&&t[l]&&o.push(l);else o.push(t.toString())}}return o.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}();var a=t.exports},383:function(i,n,o){o.r(n),o.d(n,{va_link:function(){return a}});var e=o(5304),t=o(1320),a=function(){function i(i){var n=this;(0,e.r)(this,i),this.componentLibraryAnalytics=(0,e.c)(this,"component-library-analytics",7),this.handleClick=function(i){if(!n.disableAnalytics){var o={componentName:"va-link",action:"click",details:{label:n.text,destination:n.href,origin:window.location.href}};n.componentLibraryAnalytics.emit(o)}},this.getAbbreviationTitle=function(){var i=n,o=i.abbrTitle;return"PDF"===i.filetype?"Portable Document Format":o},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}return i.prototype.render=function(){var i=this,n=i.active,o=i.back,a=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=(0,t.c)({"va-link--reverse":k,"link--center":g||p});if(n)return(0,e.h)(e.H,null,(0,e.h)("a",{href:v,class:y,onClick:u,"aria-label":this.label},d,(0,e.h)("va-icon",{class:"link-icon--active",icon:"chevron_right"})));if(o){var x=(0,e.h)("va-icon",{icon:"arrow_back",class:"link-icon--left link-icon--back"});return(0,e.h)(e.H,null,(0,e.h)("div",{class:"link-container"},x,(0,e.h)("a",{href:v,class:y,onClick:u,"aria-label":this.label},d)))}if(r||b){var w=r?"youtube":"play_circle";return(0,e.h)(e.H,null,(0,e.h)("a",{href:v,class:y,onClick:u,rel:"noopener",target:"_blank"},(0,e.h)("va-icon",{class:"link-icon--left",icon:w}),d," ",(0,e.h)("dfn",null,r?"YouTube":"on YouTube")))}return a?(0,e.h)(e.H,null,(0,e.h)("a",{href:v,class:y,download:s,onClick:u},(0,e.h)("va-icon",{class:"link-icon--left",icon:"calendar_today"}),d)):l?(0,e.h)(e.H,null,(0,e.h)("a",{href:v,class:y,download:s,onClick:u},(0,e.h)("va-icon",{class:"link-icon--left",icon:"file_download"}),d," ",c&&(0,e.h)("dfn",null,"(",(0,e.h)("abbr",{title:h()},c),f&&", ".concat(f," pages"),")"))):g?(0,e.h)(e.H,null,(0,e.h)("a",{href:v,class:y,onClick:u},(0,e.h)("va-icon",{icon:g,size:m,part:"icon"}),d)):p?(0,e.h)(e.H,null,(0,e.h)("a",{href:v,rel:"noreferrer",class:y,onClick:u,target:"_blank"},d,(0,e.h)("va-icon",{class:"external-link-icon",icon:"launch"}),(0,e.h)("span",{class:"usa-sr-only"},"opens in a new tab"))):(0,e.h)(e.H,null,(0,e.h)("a",{href:v,class:y,onClick:u,"aria-label":this.label},d))},i}();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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}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}.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}'}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 529.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([[529,7485],{1320:function(t,u,o){o.r(u),o.d(u,{c:function(){return s}});var a,e={exports:{}};a=e,function(){var t={}.hasOwnProperty;function u(){for(var o=[],a=0;a<arguments.length;a++){var e=arguments[a];if(e){var s=typeof e;if("string"===s||"number"===s)o.push(e);else if(Array.isArray(e)){if(e.length){var n=u.apply(null,e);n&&o.push(n)}}else if("object"===s)if(e.toString===Object.prototype.toString)for(var b in e)t.call(e,b)&&e[b]&&o.push(b);else o.push(e.toString())}}return o.join(" ")}a.exports?(u.default=u,a.exports=u):window.classNames=u}();var s=e.exports},529:function(t,u,o){o.r(u),o.d(u,{va_button_icon:function(){return s},va_card:function(){return n}});var a=o(5304),e=o(1320),s=function(){function t(t){(0,a.r)(this,t),this.componentLibraryAnalytics=(0,a.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 u={componentName:"va-button",action:"click",details:{type:"tertiary",label:this.buttonTypeMap[this.buttonType].text}};this.componentLibraryAnalytics.emit(u)}},t.prototype.render=function(){var t=this.label,u=this.buttonType,o=(0,e.c)({"usa-button":!0,"va-button-icon--destructive":"cancel"===u||"delete"===u});return(0,a.h)(a.H,{key:"e610fa396de08e5d4eb4bd7428b0bb6afd574ac4"},(0,a.h)("button",{key:"95af5dcd4ed5b2219863c3dfe22e6f09ea870a08",class:o,"aria-label":t,type:"button",part:"button"},(0,a.h)("va-icon",{key:"4c8a449d7be3847d858ac2d82e99192b9388558c",icon:this.buttonTypeMap[u].icon,size:2}),this.buttonTypeMap[u].text))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,a.g)(this)},enumerable:!1,configurable:!0}),t}();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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}.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;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}.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}: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.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 n=function(){function t(t){(0,a.r)(this,t),this.showShadow=!1,this.background=!1}return t.prototype.render=function(){return(0,a.h)(a.H,{key:"c7ccec50762bb212bde4dec48d89c4efd46da28a"},(0,a.h)("slot",{key:"8058992c88418906133cc58b2702ea3adc7325e2"}))},t}();n.style=":host{display:block;border:1px solid var(--vads-color-gray-medium);background-color:var(--vads-color-white);padding:16px}: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}"}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 569.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([[569,7485],{1320:function(n,i,o){o.r(i),o.d(i,{c:function(){return r}});var e,t={exports:{}};e=t,function(){var n={}.hasOwnProperty;function i(){for(var o=[],e=0;e<arguments.length;e++){var t=arguments[e];if(t){var r=typeof t;if("string"===r||"number"===r)o.push(t);else if(Array.isArray(t)){if(t.length){var a=i.apply(null,t);a&&o.push(a)}}else if("object"===r)if(t.toString===Object.prototype.toString)for(var s in t)n.call(t,s)&&t[s]&&o.push(s);else o.push(t.toString())}}return o.join(" ")}e.exports?(i.default=i,e.exports=i):window.classNames=i}();var r=t.exports},569:function(n,i,o){o.r(i),o.d(i,{va_link_action:function(){return r}});var e=o(5304),t=o(1320),r=function(){function n(n){var i=this;(0,e.r)(this,n),this.componentLibraryAnalytics=(0,e.c)(this,"component-library-analytics",7),this.handleClick=function(n){if(!i.disableAnalytics){var o={componentName:"va-link-action",action:"click",details:{label:i.text,destination:i.href,origin:window.location.href}};i.componentLibraryAnalytics.emit(o)}},this.disableAnalytics=!1,this.href=void 0,this.text=void 0,this.messageAriaDescribedby=void 0,this.type="primary",this.label=void 0,this.isSingleLine=!0}return n.prototype.componentDidLoad=function(){this.checkTextLines()},n.prototype.checkTextLines=function(){if(this.linkRef){var n=getComputedStyle(this.linkRef),i=parseFloat(n.lineHeight),o=this.linkRef.clientHeight;this.isSingleLine=o<=i}},n.prototype.render=function(){var n=this,i=this,o=i.handleClick,r=i.href,a=i.text,s=i.messageAriaDescribedby,c=i.type,l=i.label,d=(0,t.c)({"va-link--reverse":"reverse"===c,"va-link--primary":"primary"===c,"va-link--secondary":"secondary"===c}),f=(0,t.c)("link-icon--left","link-icon",{"link-icon--reverse":"reverse"===c}),p=s?"link-description":null;return(0,e.h)(e.H,{key:"cddc70eecdb587e9d0e49517f7e562bff21cad1b"},(0,e.h)("a",{key:"f9ffe41a55a1a910f36b52dba769e76a2d693a1f",href:r,class:d,"aria-label":l,"aria-describedby":p,onClick:o,ref:function(i){return n.linkRef=i}},(0,e.h)("va-icon",{key:"75bdbee659e3103f33eb07ad436f84f9468bd9ca",class:f,icon:"chevron_right",size:3}),(0,e.h)("span",{key:"b1cc89ea133cf049059ea7be8d35b6611be18edd",class:"link-text"},a)),s&&(0,e.h)("span",{key:"100e4c290d7f9b9f111a2c2705a0b377b3e6ad4f",id:"link-description",class:"sr-only"},s))},Object.defineProperty(n,"watchers",{get:function(){return{text:["checkTextLines"]}},enumerable:!1,configurable:!0}),n}();r.style="/* From the USWDS styles: */\n/* https://github.com/uswds/uswds/blob/3dc296ec56cd621fe52d918701fd94621d96a198/src/stylesheets/core/mixins/_focus.scss#L12-L13 */\nbutton:not([disabled]):focus,\nselect:not([disabled]):focus,\na:not([disabled]):focus,\nh1:focus,\ninput:not([disabled]):focus,\ntextarea:not([disabled]):focus,\n#form-question\n[role='option']:focus,\n*[tabindex]:focus {\n outline: 2px solid var(--vads-color-action-focus-on-light);\n outline-offset: 2px;\n}\n\n\na {\n text-decoration: none;\n color: var(--vads-color-link);\n -webkit-transition-duration: 0.3s;\n transition-duration: 0.3s;\n -webkit-transition-timing-function: ease-in-out;\n transition-timing-function: ease-in-out;\n -webkit-transition-property: color, background-color, border-color;\n transition-property: color, background-color, border-color;\n}\n\na:hover {\n background-color: rgba(0, 0, 0, 0.05);\n color: inherit;\n}\n\na:visited {\n color: var(--vads-color-link-visited);\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n -webkit-clip-path: inset(50%);\n clip-path: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute !important;\n width: 1px;\n /* Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1241631 */\n word-wrap: normal !important;\n}\n\n\n:host {\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n\n:host a {\n display: -ms-inline-flexbox;\n display: inline-flex;\n -ms-flex-align: start;\n align-items: flex-start;\n cursor: pointer;\n text-decoration: underline;\n font-weight: 700;\n font-size: 1.06rem;\n padding: 0.5rem 0;\n &:active {\n outline: 2px solid var(--vads-color-action-focus-on-light);\n outline-offset: 2px;\n }\n}\n\n:host a.va-link--primary,\n:host a.va-link--secondary {\n &:hover, &:active {\n color: var(--vads-color-link) !important;\n }\n}\n\n:host a.va-link--reverse {\n color: var(--vads-color-white);\n\n &:hover, &:active {\n color: var(--vads-color-action-focus-on-light);\n background-color: transparent;\n }\n}\n\n:host a.va-link--reverse va-icon {\n &:hover, &:active {\n background-color: var(--vads-color-action-focus-on-light);\n }\n}\n\n.link-icon--left {\n margin-right: 8px;\n vertical-align: baseline;\n position: relative;\n}\n\n.link-icon {\n border-radius: 50%;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-pack: center;\n justify-content: center;\n color: white;\n -webkit-transition-duration: 0.3s;\n transition-duration: 0.3s;\n -webkit-transition-timing-function: ease-in-out;\n transition-timing-function: ease-in-out;\n -webkit-transition-property: color, background-color, border-color;\n transition-property: color, background-color, border-color;\n}\n\n.va-link--primary {\n va-icon {\n background-color: var(--vads-color-success-dark);\n }\n}\n\n.va-link--secondary {\n va-icon {\n background-color: var(--vads-color-primary);\n }\n}\n\n.link-icon--reverse {\n background-color: var(--vads-color-white);\n color: var(--vads-color-black);\n}\n\n:host a.va-link--reverse:hover va-icon,\n:host a.va-link--reverse:active va-icon {\n background-color: var(--vads-color-action-focus-on-light) !important;\n}\n\n.link-text {\n display: inline-block;\n vertical-align: top;\n max-width: calc(100% - 24px);\n white-space: pre-wrap;\n}"}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 6998.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([[6998,7485,2104],{1320:function(n,e,a){a.r(e),a.d(e,{c:function(){return o}});var t,i={exports:{}};t=i,function(){var n={}.hasOwnProperty;function e(){for(var a=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var o=typeof i;if("string"===o||"number"===o)a.push(i);else if(Array.isArray(i)){if(i.length){var r=e.apply(null,i);r&&a.push(r)}}else if("object"===o)if(i.toString===Object.prototype.toString)for(var s in i)n.call(i,s)&&i[s]&&a.push(s);else a.push(i.toString())}}return a.join(" ")}t.exports?(e.default=e,t.exports=e):window.classNames=e}();var o=i.exports},2104:function(n,e,a){function t(n){return!Number.isNaN(parseFloat(n))}function i(n,e){var a=n.shadowRoot.querySelector("slot").assignedNodes();return null!==e?Array.from(a).filter((function(n){return n.nodeName.toLowerCase()===e})):Array.from(a)}function o(n){return 1===n?"":"s"}function r(n,e){if(void 0===n||""===n)return"".concat(e," character").concat(o(e)," allowed");var a;if(n.length<=e){var t=e-n.length;a="".concat(t," character").concat(o(t)," left")}else t=n.length-e,a="".concat(t," character").concat(o(t)," over limit");return a}function s(n,e){return Array.from({length:e-n+1},(function(e,a){return n+a}))}a.r(e),a.d(e,{S:function(){return u},a:function(){return p},b:function(){return r},g:function(){return i},i:function(){return t},m:function(){return s},s:function(){return c}}),a(5304);var l=function(n){return n&&"object"==typeof n&&1===n.nodeType};function c(n,e){var a=function(n,e){if("string"!=typeof n)return[];if(!e||!l(e))return[];var a=e.shadowRoot.querySelectorAll(n);return Array.from(a)}(n,e);return"string"!=typeof n||l(e)&&e.matches(n)&&a.push(e),a}var u={_entity:/[&<>"'/]/g,_entities:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","/":"&#x2F;"},getEntity:function(n){return u._entities[n]},escapeHTML:function(n){for(var e="",a=0;a<n.length;a++)if(e+=n[a],a+1<arguments.length){var t=arguments[a+1]||"";e+=String(t).replace(u._entity,u.getEntity)}return e}};function p(n){var e;return(e="string"==typeof n?parseInt(n,10):Math.floor(n))>=1&&e<=6?"h".concat(e):null}},6998:function(n,e,a){a.r(e),a.d(e,{va_pagination:function(){return s}});var t=a(5304),i=a(1320),o=(a(4259),a(2104)),r=a(2764),s=function(){function n(n){var e=this;(0,t.r)(this,n),this.pageSelect=(0,t.c)(this,"pageSelect",7),this.componentLibraryAnalytics=(0,t.c)(this,"component-library-analytics",7),this.SHOW_ALL_PAGES=7,this.handlePageSelect=function(n,a){var t,i,o;if(e.pageSelect.emit({page:n}),null===(o=null===(i=null===(t=e.el)||void 0===t?void 0:t.shadowRoot)||void 0===i?void 0:i.activeElement)||void 0===o||o.blur(),e.enableAnalytics){var r={componentName:"va-pagination",action:"linkClick",details:{event:a,"page-number":n}};e.componentLibraryAnalytics.emit(r)}},this.pageNumbers=function(){var n,a,t=e,i=t.maxPageListLength,r=t.page,s=t.pages,l=t.unbounded,c=Math.floor(i/2),u=l?0:1;return s<=e.SHOW_ALL_PAGES?(0,o.m)(1,s):r<=c+1?(n=1,(a=i>=s?s:i-1-u)===r&&a++,(0,o.m)(n,a)):r+c>=s?(a=s,(n=s-i>0?s-(i-2-1):1)===r&&n--,(0,o.m)(n,a)):(n=r-(c-2),a=r+c>s?s:r+(c-1-u),(0,o.m)(n,a))},this.handleKeyDown=function(n,a){var t=n.key;if("Enter"===t||" "===t){if(n.preventDefault(),!a)return;e.handlePageSelect(a,"nav-paginate-number")}},this.ariaLabelSuffix="",this.enableAnalytics=!0,this.maxPageListLength=10,this.page=void 0,this.pages=void 0,this.showLastPage=!1,this.unbounded=!1}return n.prototype.addIcons=function(){var n,e;function a(n){var e="".concat((0,t.a)("/img/sprite.svg"),"#").concat(n);return'<svg\n class="usa-icon"\n aria-hidden="true"\n role="img">\n <use href='.concat(e,"></use>\n </svg>")}var i=null===(n=this.el.shadowRoot)||void 0===n?void 0:n.querySelector("#previous-arrow-icon");i&&(i.innerHTML=a("navigate_before"));var o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector("#next-arrow-icon");o&&(o.innerHTML=a("navigate_next"))},n.prototype.componentDidRender=function(){this.addIcons()},n.prototype.connectedCallback=function(){var n=this;r.i.on("languageChanged",(function(){(0,t.f)(n.el)}))},n.prototype.disconnectedCallback=function(){r.i.off("languageChanged")},n.prototype.render=function(){var n=this,e=this,a=e.ariaLabelSuffix,o=e.page,s=e.pages;if(1===s)return(0,t.h)("div",null);var l=a?"Previous page ".concat(a):"Previous page",c=a?"Next page ".concat(a):"Next page",u=this.pageNumbers(),p=(0,i.c)({"usa-pagination__item":!0,"usa-pagination__page-no":!0,"va-pagination__item":!0}),g=(0,i.c)({"usa-pagination__item":!0,"usa-pagination__overflow":!0,"va-pagination__item":!0}),d=(0,i.c)({"usa-pagination__item":!0,"usa-pagination__arrow":!0}),f=o>1?(0,t.h)(t.F,null,(0,t.h)("li",{class:d,"aria-label":l},(0,t.h)("a",{onClick:function(){return n.handlePageSelect(o-1,"nav-paginate-number")},onKeyDown:function(e){return n.handleKeyDown(e,o-1)},class:"usa-pagination__link usa-pagination__previous-page",href:"javascript:void(0)"},(0,t.h)("div",{id:"previous-arrow-icon"}),(0,t.h)("span",{class:"usa-pagination__link-text"},r.i.t("previous")))),!u.includes(1)&&(0,t.h)(t.F,null,(0,t.h)("li",{class:p},(0,t.h)("a",{onClick:function(){return n.handlePageSelect(1,"nav-paginate-number")},onKeyDown:function(e){return n.handleKeyDown(e,1)},href:"javascript:void(0)",class:"usa-pagination__button","aria-label":"page 1, first page"},"1")),(0,t.h)("li",{class:g,"aria-label":"ellipsis indicating non-visible pages"},(0,t.h)("span",null,"…")))):null,h=u.map((function(e){var r=(0,i.c)({"usa-pagination__button":!0,"usa-current":o===e}),l=a?"page ".concat(e," ").concat(a):"page ".concat(e);return 1===e&&(l="".concat(l,", first page")),e===s&&(l="".concat(l,", last page")),(0,t.h)("li",{class:p},(0,t.h)("a",{onClick:function(){return n.handlePageSelect(e,"nav-paginate-number")},onKeyDown:function(a){return n.handleKeyDown(a,e)},href:"javascript:void(0)",class:r,"aria-current":o===e?"page":null,"aria-label":l},e))})),m=-1===u.indexOf(s)?(0,t.h)(t.F,null,s>this.SHOW_ALL_PAGES&&(0,t.h)("li",{class:g,"aria-label":"ellipsis indicating non-visible pages"},(0,t.h)("span",null,"…")),!this.unbounded&&s>this.SHOW_ALL_PAGES&&(0,t.h)("li",{class:p},(0,t.h)("a",{onClick:function(){return n.handlePageSelect(s,"nav-paginate-number")},onKeyDown:function(e){return n.handleKeyDown(e,s)},href:"javascript:void(0)",class:"usa-pagination__button","aria-label":"page ".concat(s,", last page")},s))):null,b=o<s?(0,t.h)(t.F,null,(0,t.h)("li",{class:d,"aria-label":c},(0,t.h)("a",{onClick:function(){return n.handlePageSelect(o+1,"nav-paginate-number")},onKeyDown:function(e){return n.handleKeyDown(e,o+1)},class:"usa-pagination__link usa-pagination__next-page",href:"javascript:void(0)"},(0,t.h)("span",{class:"usa-pagination__link-text"},r.i.t("next")),(0,t.h)("div",{id:"next-arrow-icon"})))):null;return(0,t.h)(t.H,null,(0,t.h)("nav",{class:"usa-pagination","aria-label":"Pagination"},(0,t.h)("ul",{class:"usa-pagination__list"},f,h,m,b)))},Object.defineProperty(n,"assetsDirs",{get:function(){return["../assets"]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"el",{get:function(){return(0,t.g)(this)},enumerable:!1,configurable:!0}),n}();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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}.usa-pagination{margin-bottom:1rem;margin-top:1rem;font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;color:#1b1b1b;background-color:white;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.usa-pagination .usa-icon{height:1.13rem;width:1.13rem}.usa-pagination__list{margin-bottom:0;margin-top:0;list-style-type:none;padding-left:0;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-pack:center;justify-content:center;width:auto}.usa-pagination__item{display:-ms-inline-flexbox;display:inline-flex;height:2.5rem;-ms-flex-pack:center;justify-content:center;line-height:1;margin-left:0.25rem;margin-right:0.25rem;min-width:2.5rem}@media all and (min-width: 40em){.usa-pagination__item{-ms-flex:1 0 auto;flex:1 0 auto}}.usa-pagination__arrow{display:none}@media all and (min-width: 40em){.usa-pagination__arrow{display:inherit}}@media all and (min-width: 40em){.usa-pagination__previous-page{margin-right:1.25rem}}@media all and (min-width: 40em){.usa-pagination__next-page{margin-left:1.25rem}}.usa-pagination__link{-ms-flex-align:center;align-items:center;color:#005ea2;display:-ms-inline-flexbox;display:inline-flex;text-decoration:none}.usa-pagination__link[disabled]{opacity:0.4 !important;pointer-events:none}.usa-pagination__link:hover,.usa-pagination__link:focus,.usa-pagination__link:active{color:#1a4480;text-decoration:underline}.usa-pagination__link:visited{color:#005ea2}.usa-pagination__button{-ms-flex-align:center;align-items:center;border-color:rgba(27, 27, 27, 0.2);border-radius:0.25rem;border-style:solid;border-width:1px;color:#005ea2;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;padding:0.5rem;text-decoration:none;width:100%}.usa-pagination__button:hover,.usa-pagination__button:focus,.usa-pagination__button:active{color:#1a4480;border-color:#1a4480}@media (forced-colors: active){.usa-pagination__button:hover,.usa-pagination__button:focus,.usa-pagination__button:active{border:2px solid transparent}}.usa-pagination .usa-current{background-color:#1b1b1b;border-color:transparent;color:white}@media (forced-colors: active){.usa-pagination .usa-current{border:2px solid transparent;color:buttonText}}.usa-pagination .usa-current:hover,.usa-pagination .usa-current:focus,.usa-pagination .usa-current:active{background-color:#1b1b1b;color:white;text-decoration:none}@media (forced-colors: active){.usa-pagination .usa-current:hover,.usa-pagination .usa-current:focus,.usa-pagination .usa-current:active{color:buttontext}}.usa-pagination__overflow{-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;display:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:0.5rem}.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}.va-pagination__item{-webkit-box-sizing:border-box;box-sizing:border-box}:host a.usa-pagination__next-page>div,:host a.usa-pagination__previous-page>div{display:-ms-flexbox;display:flex}:host{background-color:var(--vads-color-white);border-top:1px solid var(--vads-color-base-lightest);display:-ms-flexbox;display:flex;font-family:var(--font-source-sans);-ms-flex-pack:center;justify-content:center;overflow:hidden;padding:1.25rem 0 0.625rem;width:100%}ul{list-style-type:none;margin:0;padding:0}li{display:-ms-inline-flexbox;display:inline-flex}button{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;background-color:transparent;border:0;color:var(--vads-color-link);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;font-family:inherit;font-size:0.89rem;font-weight:400;-ms-flex-pack:center;justify-content:center;line-height:2;padding:0;-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out;-webkit-transition-property:color, background-color;transition-property:color, background-color}'}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[7375],{7375:function(e,a,n){n.r(a),n.d(a,{setNonce:function(){return t.s}});var i,t=n(5304),r=n(768);("file:///home/runner/work/component-library/component-library/packages/web-components/dist/esm-es5/component-library.js",i=(Array.from(t.d.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(t.N,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===t.N}))||{})["data-opts"]||{},i.resourcesUrl=new URL(".","file:///home/runner/work/component-library/component-library/packages/web-components/dist/esm-es5/component-library.js").href,(0,t.p)(i)).then((function(e){return function(e,a,n,i){function t(e){return e instanceof n?e:new n((function(a){a(e)}))}return new(n||(n=Promise))((function(n,r){function l(e){try{o(i.next(e))}catch(e){r(e)}}function s(e){try{o(i.throw(e))}catch(e){r(e)}}function o(e){e.done?n(e.value):t(e.value).then(l,s)}o((i=i.apply(e,a||[])).next())}))}(void 0,void 0,void 0,(function(){return function(e,a){var n,i,t,r,l={label:0,sent:function(){if(1&t[0])throw t[1];return t[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(a){return o([e,a])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(l=0)),l;)try{if(n=1,i&&(t=2&s[0]?i.return:s[0]?i.throw||((t=i.return)&&t.call(i),0):i.next)&&!(t=t.call(i,s[1])).done)return t;switch(i=0,t&&(s=[2&s[0],t.value]),s[0]){case 0:case 1:t=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(!((t=(t=l.trys).length>0&&t[t.length-1])||6!==s[0]&&2!==s[0])){l=0;continue}if(3===s[0]&&(!t||s[1]>t[0]&&s[1]<t[3])){l.label=s[1];break}if(6===s[0]&&l.label<t[1]){l.label=t[1],t=s;break}if(t&&l.label<t[2]){l.label=t[2],l.ops.push(s);break}t[2]&&l.ops.pop(),l.trys.pop();continue}s=a.call(e,l)}catch(e){s=[6,e],i=0}finally{n=t=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}(this,(function(a){switch(a.label){case 0:return[4,(0,r.g)()];case 1:return a.sent(),[2,(0,t.b)(JSON.parse('[["va-file-input-multiple",[[1,"va-file-input-multiple",{"label":[1],"name":[1],"required":[4],"accept":[1],"errors":[16],"hint":[1],"enableAnalytics":[4,"enable-analytics"],"headerSize":[2,"header-size"],"value":[16],"readOnly":[4,"read-only"],"files":[32],"valueAdded":[32]}]]],["va-header-minimal",[[1,"va-header-minimal",{"header":[1],"subheader":[1],"enableHeadings":[4,"enable-headings"],"shifted":[32]},[[8,"keydown","trackShiftKey"]]]]],["va-omb-info",[[1,"va-omb-info",{"benefitType":[1,"benefit-type"],"expDate":[1,"exp-date"],"ombNumber":[1,"omb-number"],"resBurden":[2,"res-burden"],"visible":[32],"shifted":[32]},[[8,"keydown","trackShiftKey"]]]]],["va-statement-of-truth",[[1,"va-statement-of-truth",{"heading":[1],"inputValue":[1,"input-value"],"inputError":[1,"input-error"],"checkboxError":[1,"checkbox-error"],"inputMessageAriaDescribedby":[1,"input-message-aria-describedby"],"checked":[4],"inputLabel":[1,"input-label"],"checkboxLabel":[1,"checkbox-label"]}]]],["va-date",[[1,"va-date",{"required":[4],"label":[1],"name":[1],"hint":[1],"error":[1537],"monthYearOnly":[4,"month-year-only"],"monthOptional":[4,"month-optional"],"value":[1537],"invalidDay":[1028,"invalid-day"],"invalidMonth":[1028,"invalid-month"],"invalidYear":[1028,"invalid-year"],"enableAnalytics":[4,"enable-analytics"]}]]],["va-memorable-date",[[1,"va-memorable-date",{"required":[4],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"],"monthSelect":[4,"month-select"],"label":[1],"name":[1],"hint":[1],"error":[1537],"value":[1537],"customDayErrorMessage":[1,"custom-day-error-message"],"customMonthErrorMessage":[1,"custom-month-error-message"],"customYearErrorMessage":[1,"custom-year-error-message"],"invalidDay":[1028,"invalid-day"],"invalidMonth":[1028,"invalid-month"],"invalidYear":[1028,"invalid-year"],"enableAnalytics":[4,"enable-analytics"]}]]],["va-notification",[[1,"va-notification",{"visible":[4],"symbol":[1],"closeBtnAriaLabel":[1,"close-btn-aria-label"],"closeable":[516],"hasBorder":[516,"has-border"],"hasCloseText":[4,"has-close-text"],"headline":[1],"headlineLevel":[1,"headline-level"],"dateTime":[1,"date-time"],"href":[1],"text":[1],"disableAnalytics":[4,"disable-analytics"]},[[0,"component-library-analytics","handleLinkAnalytics"]]]]],["va-banner",[[1,"va-banner",{"disableAnalytics":[4,"disable-analytics"],"showClose":[4,"show-close"],"headline":[1],"type":[1],"visible":[4],"windowSession":[4,"window-session"],"dataLabel":[1,"data-label"],"dismissedBanners":[32]}]]],["va-button-pair",[[1,"va-button-pair",{"continue":[4],"disableAnalytics":[4,"disable-analytics"],"primaryLabel":[1,"primary-label"],"secondaryLabel":[1,"secondary-label"],"submit":[1],"update":[4],"leftButtonText":[1,"left-button-text"],"rightButtonText":[1,"right-button-text"]},[[0,"component-library-analytics","handleButtonAnalytics"]]]]],["va-privacy-agreement",[[1,"va-privacy-agreement",{"checked":[1028],"showError":[4,"show-error"],"enableAnalytics":[4,"enable-analytics"]}]]],["va-table",[[1,"va-table",{"tableTitle":[1,"table-title"],"tableType":[1,"table-type"],"stacked":[4],"sortable":[4],"rows":[32],"cols":[32],"cells":[32]},[[0,"sortTable","doSort"]]]]],["va-additional-info",[[1,"va-additional-info",{"trigger":[1],"disableAnalytics":[4,"disable-analytics"],"disableBorder":[4,"disable-border"],"open":[32]},[[9,"resize","handleResize"]]]]],["va-alert-expandable",[[1,"va-alert-expandable",{"status":[1],"trigger":[1],"disableAnalytics":[4,"disable-analytics"],"iconless":[4],"open":[32]},[[9,"resize","handleResize"]]]]],["va-back-to-top",[[1,"va-back-to-top",{"revealed":[32],"isDocked":[32]}]]],["va-link-action",[[1,"va-link-action",{"disableAnalytics":[4,"disable-analytics"],"href":[1],"text":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"type":[1],"label":[1],"isSingleLine":[32]},null,{"text":["checkTextLines"]}]]],["va-maintenance-banner",[[1,"va-maintenance-banner",{"disableAnalytics":[4,"disable-analytics"],"bannerId":[1,"banner-id"],"maintenanceStartDateTime":[1,"maintenance-start-date-time"],"maintenanceEndDateTime":[1,"maintenance-end-date-time"],"maintenanceTitle":[1,"maintenance-title"],"upcomingWarnStartDateTime":[1,"upcoming-warn-start-date-time"],"upcomingWarnTitle":[1,"upcoming-warn-title"],"isError":[4,"is-error"]}]]],["va-on-this-page",[[1,"va-on-this-page",{"disableAnalytics":[4,"disable-analytics"]}]]],["va-promo-banner",[[1,"va-promo-banner",{"href":[1],"type":[1],"disableAnalytics":[4,"disable-analytics"],"dismissedBanners":[32]}]]],["va-search-input",[[1,"va-search-input",{"buttonText":[1,"button-text"],"label":[1],"suggestions":[8],"value":[1537],"big":[4],"small":[4],"disableAnalytics":[4,"disable-analytics"],"formattedSuggestions":[32],"isListboxOpen":[32],"isTouched":[32]},null,{"value":["watchValueHandler"],"suggestions":["watchSuggestionsHandler"]}]]],["va-accordion",[[1,"va-accordion",{"openSingle":[4,"open-single"],"disableAnalytics":[4,"disable-analytics"],"sectionHeading":[1,"section-heading"],"expanded":[32]},[[0,"accordionItemToggled","itemToggledHandler"]]]]],["va-accordion-item",[[1,"va-accordion-item",{"header":[1],"subheader":[1],"open":[4],"level":[2],"bordered":[4],"slotHeader":[32],"slotTag":[32]}]]],["va-breadcrumbs",[[1,"va-breadcrumbs",{"label":[1],"wrapping":[4],"breadcrumbList":[1,"breadcrumb-list"],"homeVeteransAffairs":[4,"home-veterans-affairs"],"disableAnalytics":[4,"disable-analytics"],"formattedBreadcrumbs":[32]},null,{"breadcrumbList":["watchBreadcrumbListHandler"]}]]],["va-checkbox-group",[[1,"va-checkbox-group",{"label":[1],"required":[4],"error":[1],"enableAnalytics":[4,"enable-analytics"],"hint":[1],"labelHeaderLevel":[1,"label-header-level"],"messageAriaDescribedby":[1,"message-aria-describedby"],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"]},[[0,"vaChange","vaChangeHandler"]]]]],["va-loading-indicator",[[1,"va-loading-indicator",{"message":[1],"label":[1],"setFocus":[4,"set-focus"],"enableAnalytics":[4,"enable-analytics"]}]]],["va-minimal-footer",[[1,"va-minimal-footer"]]],["va-need-help",[[1,"va-need-help"]]],["va-pagination",[[1,"va-pagination",{"ariaLabelSuffix":[1,"aria-label-suffix"],"enableAnalytics":[4,"enable-analytics"],"maxPageListLength":[2,"max-page-list-length"],"page":[2],"pages":[2],"showLastPage":[4,"show-last-page"],"unbounded":[4]}]]],["va-process-list",[[1,"va-process-list"]]],["va-process-list-item",[[4,"va-process-list-item",{"header":[1],"level":[2],"active":[4],"pending":[4],"checkmark":[4]}]]],["va-progress-bar",[[1,"va-progress-bar",{"enableAnalytics":[4,"enable-analytics"],"percent":[2],"label":[1]}]]],["va-radio",[[1,"va-radio",{"label":[1],"hint":[1],"required":[4],"error":[1],"enableAnalytics":[4,"enable-analytics"],"labelHeaderLevel":[1,"label-header-level"],"headerAriaDescribedby":[1,"header-aria-describedby"],"messageAriaDescribedby":[1,"message-aria-describedby"],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"]},[[0,"keydown","handleKeyDown"],[0,"radioOptionSelected","radioOptionSelectedHandler"]]]]],["va-radio-option",[[0,"va-radio-option",{"name":[1],"label":[1],"value":[1],"checked":[4],"tile":[4],"description":[1],"disabled":[4],"ariaDescribedby":[1,"aria-describedby"]}]]],["va-segmented-progress-bar",[[1,"va-segmented-progress-bar",{"enableAnalytics":[4,"enable-analytics"],"current":[2],"total":[2],"label":[1],"headerLevel":[2,"header-level"],"progressTerm":[1,"progress-term"],"labels":[1],"centeredLabels":[4,"centered-labels"],"counters":[1],"headingText":[1,"heading-text"],"useDiv":[4,"use-div"]}]]],["va-summary-box",[[1,"va-summary-box",{"headlineText":[32]}]]],["va-table-row",[[1,"va-table-row"]]],["va-textarea",[[1,"va-textarea",{"label":[1],"error":[1],"placeholder":[1],"name":[1],"required":[4],"hint":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"maxlength":[2],"value":[1537],"enableAnalytics":[4,"enable-analytics"],"labelHeaderLevel":[1,"label-header-level"],"headerAriaDescribedby":[1,"header-aria-describedby"],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"],"charcount":[4]}]]],["va-icon",[[1,"va-icon",{"icon":[1],"size":[2],"srtext":[1]}]]],["va-button",[[1,"va-button",{"back":[516],"big":[516],"continue":[516],"disableAnalytics":[4,"disable-analytics"],"disabled":[516],"label":[1],"primaryAlternate":[4,"primary-alternate"],"secondary":[516],"submit":[1],"text":[1],"messageAriaDescribedby":[1,"message-aria-describedby"]},[[0,"click","handleClickOverride"]]]]],["va-modal_2",[[1,"va-telephone",{"contact":[1],"extension":[1],"notClickable":[4,"not-clickable"],"international":[4],"tty":[4],"sms":[4],"vanity":[1],"messageAriaDescribedby":[1,"message-aria-describedby"]}],[1,"va-modal",{"clickToClose":[4,"click-to-close"],"disableAnalytics":[4,"disable-analytics"],"large":[516],"modalTitle":[1,"modal-title"],"forcedModal":[4,"forced-modal"],"unstyled":[4],"initialFocusSelector":[1,"initial-focus-selector"],"primaryButtonText":[1,"primary-button-text"],"secondaryButtonText":[1,"secondary-button-text"],"status":[1],"visible":[516],"ariaHiddenNodeExceptions":[16],"shifted":[32]},[[0,"component-library-analytics","handleButtonClickAnalytics"],[0,"click","handleClick"],[8,"keydown","handleKeyDown"]],{"visible":["watchVisibleHandler"]}]]],["va-file-input",[[1,"va-file-input",{"label":[1],"name":[1],"buttonText":[1,"button-text"],"value":[16],"required":[4],"accept":[1],"error":[1],"hint":[1],"uploadMessage":[16],"enableAnalytics":[4,"enable-analytics"],"headerSize":[2,"header-size"],"headless":[4],"readOnly":[4,"read-only"],"file":[32],"fileContents":[32],"internalError":[32],"showModal":[32],"showSeparator":[32]}]]],["va-alert",[[1,"va-alert",{"status":[513],"disableAnalytics":[4,"disable-analytics"],"visible":[4],"closeBtnAriaLabel":[1,"close-btn-aria-label"],"closeable":[516],"fullWidth":[4,"full-width"],"slim":[4]}]]],["va-table-inner",[[1,"va-table-inner",{"tableTitle":[1,"table-title"],"rows":[2],"cols":[2],"tableType":[1,"table-type"],"stacked":[4],"sortable":[4],"sortdir":[32],"sortindex":[32]}]]],["va-crisis-line-modal_2",[[1,"va-crisis-line-modal",{"isOpen":[32],"shifted":[32]},[[8,"keydown","trackShiftKey"]]],[1,"va-official-gov-banner",{"disableAnalytics":[4,"disable-analytics"],"tld":[1]}]]],["va-link",[[1,"va-link",{"abbrTitle":[1,"abbr-title"],"active":[516],"back":[4],"calendar":[4],"channel":[4],"disableAnalytics":[4,"disable-analytics"],"download":[4],"href":[1],"filename":[1],"filetype":[1],"pages":[2],"text":[1],"video":[4],"reverse":[4],"external":[4],"label":[1],"iconName":[1,"icon-name"],"iconSize":[2,"icon-size"]}]]],["va-checkbox",[[1,"va-checkbox",{"label":[1],"error":[513],"description":[1],"required":[4],"enableAnalytics":[4,"enable-analytics"],"checked":[1028],"hint":[1],"tile":[4],"checkboxDescription":[1,"checkbox-description"],"disabled":[4],"messageAriaDescribedby":[1,"message-aria-describedby"],"name":[1]}]]],["va-button-icon_2",[[1,"va-button-icon",{"disableAnalytics":[4,"disable-analytics"],"label":[1],"buttonType":[1,"button-type"]},[[0,"click","handleClick"]]],[1,"va-card",{"showShadow":[4,"show-shadow"],"background":[4]}]]],["va-select_2",[[1,"va-select",{"required":[4],"label":[1],"name":[1],"value":[1537],"error":[1],"reflectInputError":[4,"reflect-input-error"],"invalid":[4],"enableAnalytics":[4,"enable-analytics"],"hint":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"width":[1],"showError":[4,"show-error"],"options":[32]},null,{"value":["handleValueChange"]}],[1,"va-text-input",{"label":[1],"error":[513],"reflectInputError":[4,"reflect-input-error"],"showInputError":[516,"show-input-error"],"invalid":[4],"required":[4],"inputmode":[1],"step":[1],"type":[1],"maxlength":[2],"autocomplete":[1],"enableAnalytics":[4,"enable-analytics"],"name":[1],"pattern":[1],"hint":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"value":[1537],"success":[4],"width":[1],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"],"charcount":[4],"currency":[4],"inputPrefix":[1,"input-prefix"],"inputIconPrefix":[1,"input-icon-prefix"],"inputSuffix":[1,"input-suffix"],"inputIconSuffix":[1,"input-icon-suffix"],"min":[8],"max":[8],"paddingLeftValue":[32],"paddingRightValue":[32]}]]]]'),e)]}}))}))}))}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 753.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([[753,6246,7485],{6246:function(e,n,a){a.r(n),a.d(n,{a:function(){return b},b:function(){return v},d:function(){return l},f:function(){return f},g:function(){return d},i:function(){return h},m:function(){return r},v:function(){return u},z:function(){return p}}),a(2764),a(5304);var t=(new Date).getFullYear()+100,r=[{label:"January",value:1},{label:"February",value:2},{label:"March",value:3},{label:"April",value:4},{label:"May",value:5},{label:"June",value:6},{label:"July",value:7},{label:"August",value:8},{label:"September",value:9},{label:"October",value:10},{label:"November",value:11},{label:"December",value:12}],i=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"],o=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31"],l={1:o,2:["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29"],3:o,4:i,5:o,6:i,7:o,8:o,9:i,10:o,11:i,12:o},c=["year-range","day-range","month-range","date-error","month-select"];function s(e){return e?"month-select":"month-range"}function u(e){var n=e.component,a=e.year,r=e.month,i=e.day,o=e.monthYearOnly,l=e.yearTouched,u=e.monthTouched,d=e.dayTouched,f=e.monthSelect,v=e.monthOptional,b=m(a,r);n.invalidYear=!1,n.invalidMonth=!1,n.invalidDay=!1;var h=!(o&&v);if(h&&isNaN(r)&&u)return n.invalidMonth=!0,void(n.error=s(f));if(!o&&isNaN(i)&&d)return n.invalidDay=!0,void(n.error="day-range");if(isNaN(a)&&l)return n.invalidYear=!0,void(n.error="year-range");if(n.required&&(!a||h&&!r||!o&&!i)){if(h&&u&&!r)return n.invalidMonth=!0,void(n.error="date-error");if(d&&!i&&!o)return n.invalidDay=!0,void(n.error="date-error");if(l&&!a)return n.invalidYear=!0,void(n.error="date-error")}return h&&!r&&u?(n.invalidMonth=!0,void(n.error=s(f))):i||o||!d?!a&&l?(n.invalidYear=!0,void(n.error="year-range")):h&&r&&(r<1||r>12)&&u?(n.invalidMonth=!0,void(n.error=s(f))):i&&!o&&(i<1||i>b)&&d?(n.invalidDay=!0,void(n.error="day-range")):a&&(a<1900||a>t)&&l?(n.invalidYear=!0,void(n.error="year-range")):void(n.invalidYear||n.invalidMonth||n.invalidDay||n.error&&!c.includes(n.error)||(n.error=null)):(n.invalidDay=!0,void(n.error="day-range"))}function d(e,n,a){var r=m(n,a);switch(e){case"month-range":case"month-select":return{start:1,end:12};case"day-range":return{start:1,end:r};case"year-range":return{start:1900,end:t};default:return null}}var m=function(e,n){return e&&n?new Date(e,n,0).getDate():31},f=function(e,n,a){if(void 0===n&&(n={dateStyle:"full",timeStyle:"short"}),void 0===a&&(a="America/New_York"),e&&e instanceof Date)return e.toLocaleString("en-US",Object.assign(Object.assign({},n),{timeZone:a}))},v=function(e,n){if(e&&e instanceof Date&&n&&n instanceof Date)return e.getTime()>n.getTime()},b=function(e,n){if(e&&e instanceof Date&&n&&n instanceof Date)return e.getTime()<n.getTime()},h=function(e,n){if(e&&e instanceof Date&&n&&n instanceof Date)return e.getFullYear()===n.getFullYear()&&e.getMonth()===n.getMonth()&&e.getDay()===n.getDay()},p=function(e){return"00".concat((e||"").toString()).slice(-2)}},1320:function(e,n,a){a.r(n),a.d(n,{c:function(){return i}});var t,r={exports:{}};t=r,function(){var e={}.hasOwnProperty;function n(){for(var a=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)a.push(r);else if(Array.isArray(r)){if(r.length){var o=n.apply(null,r);o&&a.push(o)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var l in r)e.call(r,l)&&r[l]&&a.push(l);else a.push(r.toString())}}return a.join(" ")}t.exports?(n.default=n,t.exports=n):window.classNames=n}();var i=r.exports},753:function(e,n,a){a.r(n),a.d(n,{va_maintenance_banner:function(){return o}});var t=a(5304),r=a(1320),i=a(6246),o=(a(2764),function(){function e(e){var n=this;(0,t.r)(this,e),this.closeEvent=(0,t.c)(this,"closeEvent",7),this.componentLibraryAnalytics=(0,t.c)(this,"component-library-analytics",7),this.derivePostContent=function(e,n){var a=n.getTime()-e.getTime(),r=Math.floor(a/36e5),o=60*(a/36e5-r),l="".concat(r>0?r+" hours ":""," ").concat(o>0?o+" minutes":"");return(0,i.i)(e,n),(0,t.h)("div",null,(0,t.h)("p",null,(0,t.h)("strong",null,"Date:")," ",(0,i.f)(e,{dateStyle:"full"})),(0,t.h)("p",null,(0,t.h)("strong",null,"Time:")," ",(0,i.f)(e,{hour:"numeric",minute:"numeric",timeZoneName:"short"})),(0,t.h)("p",null,(0,t.h)("strong",null,"Duration:")," ",l))},this.onCloseAlert=function(){if(n.closeEvent.emit(),window.localStorage.setItem("MAINTENANCE_BANNER",n.bannerId),n.maintenanceBannerEl.remove(),!n.disableAnalytics){var e={componentName:"va-maintenance-banner",action:"close",details:{header:(0,i.a)(new Date,new Date(n.maintenanceStartDateTime))?n.upcomingWarnTitle:n.maintenanceTitle,upcomingWarnStartDateTime:n.upcomingWarnStartDateTime,maintenanceStartDateTime:n.maintenanceStartDateTime,maintenanceEndDateTime:n.maintenanceEndDateTime,displayedContent:n.maintenanceBannerContent.innerText}};n.componentLibraryAnalytics.emit(e)}},this.disableAnalytics=!1,this.bannerId=void 0,this.maintenanceStartDateTime=void 0,this.maintenanceEndDateTime=void 0,this.maintenanceTitle=void 0,this.upcomingWarnStartDateTime=void 0,this.upcomingWarnTitle=void 0,this.isError=void 0}return e.prototype.render=function(){var e=this,n=this,a=n.upcomingWarnStartDateTime,o=n.maintenanceEndDateTime,l=n.isError,c=new Date;if((0,i.a)(c,new Date(a)))return null;if((0,i.b)(c,new Date(o)))return null;if(window.localStorage.getItem("MAINTENANCE_BANNER")!==this.bannerId){var s=this,u=s.upcomingWarnTitle,d=s.maintenanceStartDateTime,m=s.maintenanceTitle,f=(0,i.a)(c,new Date(d))&&!l,v=(0,r.c)({"maintenance-banner":!0,"maintenance-banner--warning":f,"maintenance-banner--error":!f}),b=l?"error":"warning";return(0,t.h)(t.H,null,(0,t.h)("div",{class:v,ref:function(n){return e.maintenanceBannerEl=n}},(0,t.h)("va-icon",{class:"maintenance-banner__icon",icon:b,size:4}),(0,t.h)("div",{class:"maintenance-banner__body"},(0,t.h)("h4",{class:"maintenance-banner__title"},f?u:m),(0,t.h)("div",{class:"maintenance-banner__content",ref:function(n){return e.maintenanceBannerContent=n}},f?(0,t.h)("slot",{name:"warn-content"}):(0,t.h)("slot",{name:"maintenance-content"})),(0,t.h)("div",{class:"maintenance-banner__derived-content"},this.derivePostContent(new Date(d),new Date(o)))),(0,t.h)("button",{"aria-label":"Close notification",class:"maintenance-banner__close",onClick:this.onCloseAlert,type:"button"},(0,t.h)("va-icon",{icon:"cancel",size:4}))))}return null},e}());o.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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:5px;color:var(--vads-button-color-text-primary-alt-on-light);cursor:pointer;display:inline-block;font-family:var(--font-source-sans);font-size:1rem;font-weight:700;line-height:1;padding:0.625rem 1.25rem;text-align:center;text-decoration:none}.maintenance-banner{border-top:8px solid;background-color:var(--vads-color-base-lightest);position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.maintenance-banner__content{font-size:1.06rem}.maintenance-banner p{-webkit-margin-before:1em;margin-block-start:1em;-webkit-margin-after:1em;margin-block-end:1em}.maintenance-banner--warning{border-color:var(--vads-color-warning)}.maintenance-banner--error{border-color:var(--vads-color-secondary-dark)}.maintenance-banner__icon{position:absolute;top:18px;left:18px}.maintenance-banner--error .maintenance-banner__icon{color:var(--vads-color-secondary-dark)}.maintenance-banner__title{font-family:var(--font-serif);margin:0 0 8px;font-size:20px}.maintenance-banner__body{padding:16px 56px;position:relative;max-width:1000px;margin:0px auto}.maintenance-banner__close{-ms-flex-item-align:start;align-self:flex-start;color:var(--vads-color-base);margin-top:8px}.maintenance-banner__close:hover{color:var(--vads-color-base)}'}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[783],{783:function(o,n,t){t.r(n),t.d(n,{va_on_this_page:function(){return a}});var i=t(5304),e=(t(4259),t(2764)),a=function(){function o(o){var n=this;(0,i.r)(this,o),this.componentLibraryAnalytics=(0,i.c)(this,"component-library-analytics",7),this.handleOnClick=function(o){var t,i,e,a;n.disableAnalytics||n.componentLibraryAnalytics.emit({componentName:"va-on-this-page",action:"click",details:{"click-text":(null===(i=null===(t=o.composedPath())||void 0===t?void 0:t[0])||void 0===i?void 0:i.textContent)||(null===(a=null===(e=o.path)||void 0===e?void 0:e[0])||void 0===a?void 0:a.textContent)}})},this.disableAnalytics=!1}return o.prototype.connectedCallback=function(){var o=this;e.i.on("languageChanged",(function(){(0,i.f)(o.el)}))},o.prototype.disconnectedCallback=function(){e.i.off("languageChanged")},o.prototype.render=function(){var o=this.handleOnClick,n=Array.from(document.querySelectorAll("article h2")).filter((function(o){return o.id}));return(0,i.h)("nav",{"aria-labelledby":"on-this-page"},(0,i.h)("ul",null,(0,i.h)("li",{id:"on-this-page"},e.i.t("on-this-page")),n.map((function(n){return(0,i.h)("li",null,(0,i.h)("a",{href:"#".concat(n.id),onClick:o},(0,i.h)("va-icon",{icon:"arrow_downward"}),(0,i.h)("span",null,n.innerText)))}))))},Object.defineProperty(o.prototype,"el",{get:function(){return(0,i.g)(this)},enumerable:!1,configurable:!0}),o}();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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}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;margin:0.4em 0em}ul{margin-top:0;margin-bottom:0;margin-left:0;list-style-type:none;padding-left:0}li{padding:0.5em;max-width:285px}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 +0,0 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[876],{876:function(e,n,o){o.r(n),o.d(n,{va_promo_banner:function(){return a}});var t=o(5304),i=function(e,n,o){if(o||2===arguments.length)for(var t,i=0,r=n.length;i<r;i++)!t&&i in n||(t||(t=Array.prototype.slice.call(n,0,i)),t[i]=n[i]);return e.concat(t||Array.prototype.slice.call(n))},r="DISMISSED_PROMO_BANNERS",a=function(){function e(e){(0,t.r)(this,e),this.closeEvent=(0,t.c)(this,"closeEvent",7),this.componentLibraryAnalytics=(0,t.c)(this,"component-library-analytics",7),this.href=void 0,this.type=void 0,this.disableAnalytics=!1,this.dismissedBanners=[]}return e.prototype.closeHandler=function(){if(this.closeEvent.emit(),this.el.id){var e=i(i([],this.dismissedBanners,!0),[this.el.id],!1);this.dismissedBanners=e,localStorage.setItem(r,JSON.stringify(e))}if(!this.disableAnalytics){var n={componentName:"va-promo-banner",action:"close",details:{text:this.el.innerText,type:this.type}};this.componentLibraryAnalytics.emit(n)}},e.prototype.handleLinkClick=function(){if(!this.disableAnalytics){var e={componentName:"va-promo-banner",action:"linkClick",details:{text:this.el.innerText,href:this.href,type:this.type}};this.componentLibraryAnalytics.emit(e)}},e.prototype.componentWillLoad=function(){var e=localStorage.getItem(r);this.dismissedBanners=e?JSON.parse(e):[],document.body.classList.add("va-pad-promo-banner")},e.prototype.render=function(){var e,n=this;return(null===(e=this.dismissedBanners)||void 0===e?void 0:e.includes(this.el.id))?(document.body.classList.remove("va-pad-promo-banner"),null):(0,t.h)(t.H,null,(0,t.h)("div",{class:"va-banner-body"},(0,t.h)("va-icon",{class:"va-promo-banner__icon",icon:{announcement:"campaign","email-signup":"mail",news:"info"}[this.type],size:4}),(0,t.h)("a",{class:"va-banner-content-link",href:this.href,onClick:function(){return n.handleLinkClick()}},(0,t.h)("slot",null)," ",(0,t.h)("va-icon",{icon:"chevron_right",size:3})),(0,t.h)("button",{type:"button","aria-label":"Dismiss this promo banner",onClick:function(){return n.closeHandler()}},(0,t.h)("va-icon",{icon:"cancel",size:3}))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,t.g)(this)},enumerable:!1,configurable:!0}),e}();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{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}:host{z-index:1;position:fixed;bottom:0;left:0;width:100%;background-color:var(--vads-color-base-lightest);color:var(--vads-color-link);font-weight:700}.va-banner-body{max-width:62.5rem;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.va-promo-banner__icon{background-color:var(--vads-color-white);border-radius:50%;height:42px;width:42px;margin-left:0.5rem;margin-right:0.8rem;margin-top:0.8rem;margin-bottom:0.8rem;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:4px}@media (max-width: 767px){.va-promo-banner__icon{display:none}}.va-banner-content-link{padding:0.5rem;line-height:1.375rem;text-decoration:none;color:var(--vads-color-link);-ms-flex-positive:2;flex-grow:2;border-right:1px solid var(--vads-color-base-lighter)}.va-banner-content-link:hover{text-decoration:underline}button{background:none;background-color:transparent;color:var(--vads-color-link);border:none;font-size:1.25rem;padding:0 1rem}button:hover{cursor:pointer}@media screen and (min-width: 768px){.va-banner-body>i{display:block}.va-banner-content-link{border:none}}'}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[9398],{9398:function(e,t,i){i.r(t),i.d(t,{va_file_input_multiple:function(){return n}});var r=i(5304),o=(i(4259),i(2764)),n=function(){function e(e){var t=this;(0,r.r)(this,e),this.vaMultipleChange=(0,r.c)(this,"vaMultipleChange",7),this.fileKeyCounter=0,this.additionalSlot=null,this.additionalFileUploadMessage=(0,r.h)("span",null,"Drag an additional file here or"," ",(0,r.h)("span",{class:"file-input-choose-text"},"choose from folder")),this.renderLabelOrHeader=function(e,t,i){var n=t?(0,r.h)("span",{class:"required"}," ",o.i.t("required")):null;if(i&&i>=1&&i<=6){var a="h".concat(i);return(0,r.h)("div",{class:"label-header"},(0,r.h)(a,{htmlFor:"fileInputField",part:"label",class:"label-header-tag"},e,n))}return(0,r.h)("div",{class:"label-header"},(0,r.h)("span",{part:"label",class:"usa-label"},e),n)},this.addValueFiles=function(){return function(e,t,i,r){function o(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function a(e){try{l(r.next(e))}catch(e){n(e)}}function s(e){try{l(r.throw(e))}catch(e){n(e)}}function l(e){e.done?i(e.value):o(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(t,void 0,void 0,(function(){var e=this;return function(e,t){var i,r,o,n,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");for(;n&&(n=0,s[0]&&(a=0)),a;)try{if(i=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{i=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[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.hint=void 0,this.enableAnalytics=!1,this.headerSize=void 0,this.value=void 0,this.readOnly=!1,this.files=[{key:0,file:null,content:null}],this.valueAdded=!1}return e.prototype.findFileByKey=function(e){return this.files.find((function(t){return t.key===e}))},e.prototype.isEmpty=function(){return null===this.files[0].file},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.handleChange=function(e,t,i){var r=e.detail.files[0];if(r){var o=this.findFileByKey(t);o.file?o.file=r:(o.file=r,o.content=this.getAdditionalContent(),this.fileKeyCounter++,this.files.push({file:null,key:this.fileKeyCounter,content:null}))}else{this.files.splice(i,1);var n=this.el.shadowRoot.querySelector("#statusMessage");n.textContent="",setTimeout((function(){n.textContent="File removed."}),1e3)}this.vaMultipleChange.emit({files:this.files.map((function(e){return e.file})).filter((function(e){return!!e}))}),this.files=Array.of.apply(Array,this.files)},e.prototype.componentWillRender=function(){return this.value&&this.value.length&&!this.valueAdded?this.addValueFiles():Promise.resolve()},e.prototype.componentDidRender=function(){var e=this,t=this.el.shadowRoot.querySelectorAll("va-file-input");this.setSlotContent(),t.forEach((function(t,i){e.files[i].content&&e.files[i].content.forEach((function(e){return t.append(e)}))}))},e.prototype.render=function(){var e=this,t=this,i=t.label,o=t.required,n=t.headerSize,a=t.hint,s=t.files,l=t.name,h=t.accept,d=t.errors,f=t.enableAnalytics,u=t.readOnly,c=this.isEmpty()?"":"outer-wrap",p=this.hasErrors()?"has-error":"";return(0,r.h)(r.H,{key:"b92095e09c4f693289fb4a31cde8231a38b51fe3",class:p},i&&!u&&this.renderLabelOrHeader(i,o,n),a&&!u&&(0,r.h)("div",{key:"1ad6aa0dd5696383bd9ce9a88dece14e68abfedb",class:"usa-hint",id:"input-hint-message"},a),(0,r.h)("div",{key:"9a377774e173b39b4e6202f2269eff1149544284",class:c},(0,r.h)("div",{key:"f2c2ec28cf4440447d05f1e5d4b20a97b3c19be1",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),!this.isEmpty()&&(0,r.h)("div",{key:"46441e5c6b0548316255f31a6b4375c700a842db",class:"selected-files-label"},u?"Files you uploaded":"Selected files"),s.map((function(t,n){return(0,r.h)("va-file-input",Object.assign({key:t.key,headless:!0,label:i,hint:a,name:"".concat(l,"-").concat(t.key),accept:h,required:o},n>0?{uploadMessage:e.additionalFileUploadMessage}:{},{error:d[n],onVaChange:function(i){return e.handleChange(i,t.key,n)},"enable-analytics":f,value:t.file,readOnly:u,class:t.file?"has-file":"no-file"}))}))),(0,r.h)("slot",{key:"0157a314732e1f6a063bac3804d1ac2397617fb0"}))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),e}();n.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px}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", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:1.875rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:30px}h2{font-size:24px}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}@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=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){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{color:var(--vads-color-base-dark);font-weight:var(--font-weight-normal);font-size:1.06rem;padding:0 8px;display:block}: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 .separator{border:0;border-top:1px solid var(--vads-color-base-lighter);margin:0}: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(.has-error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host(.has-error){margin-left:-0.9rem}}.required{color:var(--vads-color-secondary-dark);margin-left:0.25rem}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1008px){:host([error]:not([error=""])){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1008px){:host([error]:not([error=""])[use-forms-pattern=multiple]){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: 1008px){:host va-file-input.has-error{margin-left:0}}'}}]);