!function r(n,a,o){function i(t,e){if(!a[t]){if(!n[t]){var s="function"==typeof require&&require;if(!e&&s)return s(t,!0);if(c)return c(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}s=a[t]={exports:{}},n[t][0].call(s.exports,function(e){return i(n[t][1][e]||e)},s,s.exports,r,n,a,o)}return a[t].exports}for(var c="function"==typeof require&&require,e=0;e<o.length;e++)i(o[e]);return i}({1:[function(e,t,s){"use strict";var r;if("document"in window.self)if("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))(n=document.createElement("_")).classList.add("c1","c2"),n.classList.contains("c2")||((o=function(e){var r=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){for(var t=arguments.length,s=0;s<t;s++)r.call(this,arguments[s])}})("add"),o("remove")),n.classList.toggle("c3",!1),n.classList.contains("c3")&&(r=DOMTokenList.prototype.toggle,DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:r.call(this,e)});else if("Element"in(o=window.self)){var n="classList",a="prototype",o=o.Element[a],i=Object,c=String[a].trim||function(){return this.replace(/^\s+|\s+$/g,"")},l=Array[a].indexOf||function(e){for(var t=0,s=this.length;t<s;t++)if(t in this&&this[t]===e)return t;return-1},u=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},d=function(e,t){if(""===t)throw new u("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new u("INVALID_CHARACTER_ERR","String contains an invalid character");return l.call(e,t)},f=function(e){for(var t=c.call(e.getAttribute("class")||""),s=t?t.split(/\s+/):[],r=0,n=s.length;r<n;r++)this.push(s[r]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},p=f[a]=[],b=function(){return new f(this)};if(u[a]=Error[a],p.item=function(e){return this[e]||null},p.contains=function(e){return-1!==d(this,e+="")},p.add=function(){for(var e,t=arguments,s=0,r=t.length,n=!1;-1===d(this,e=t[s]+"")&&(this.push(e),n=!0),++s<r;);n&&this._updateClassName()},p.remove=function(){var e,t,s=arguments,r=0,n=s.length,a=!1;do{for(t=d(this,e=s[r]+"");-1!==t;)this.splice(t,1),a=!0,t=d(this,e)}while(++r<n);a&&this._updateClassName()},p.toggle=function(e,t){var s=this.contains(e+=""),r=s?!0!==t&&"remove":!1!==t&&"add";return r&&this[r](e),!0===t||!1===t?t:!s},p.toString=function(){return this.join(" ")},i.defineProperty){p={get:b,enumerable:!0,configurable:!0};try{i.defineProperty(o,n,p)}catch(e){-2146823252===e.number&&(p.enumerable=!1,i.defineProperty(o,n,p))}}else i[a].__defineGetter__&&o.__defineGetter__(n,b)}},{}],2:[function(e,t,s){"use strict";!function(e){void 0!==t?t.exports=e():"function"==typeof define&&"object"==typeof define.amd?define(e):this.domready=e()}(function(){var e,t=[],s=document,r=s.documentElement.doScroll,n="DOMContentLoaded",a=(r?/^loaded|^c/:/^loaded|^i|^c/).test(s.readyState);return a||s.addEventListener(n,e=function(){for(s.removeEventListener(n,e),a=1;e=t.shift();)e()}),function(e){a?setTimeout(e,0):t.push(e)}})},{}],3:[function(e,t,s){"use strict";var r;"function"!=typeof(r=window.Element.prototype).matches&&(r.matches=r.msMatchesSelector||r.mozMatchesSelector||r.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),s=0;t[s]&&t[s]!==this;)++s;return Boolean(t[s])}),"function"!=typeof r.closest&&(r.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})},{}],4:[function(e,t,s){"use strict";for(var r={polyfill:function(){if(!("KeyboardEvent"in window)||"key"in KeyboardEvent.prototype)return!1;var e={get:function(e){var t=r.keys[this.which||this.keyCode];return t=Array.isArray(t)?t[+this.shiftKey]:t}};return Object.defineProperty(KeyboardEvent.prototype,"key",e),e},keys:{3:"Cancel",6:"Help",8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",28:"Convert",29:"NonConvert",30:"Accept",31:"ModeChange",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",42:"Print",43:"Execute",44:"PrintScreen",45:"Insert",46:"Delete",48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],91:"OS",93:"ContextMenu",144:"NumLock",145:"ScrollLock",181:"VolumeMute",182:"VolumeDown",183:"VolumeUp",186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"'],224:"Meta",225:"AltGraph",246:"Attn",247:"CrSel",248:"ExSel",249:"EraseEof",250:"Play",251:"ZoomOut"}},n=1;n<25;n++)r.keys[111+n]="F"+n;var a="";for(n=65;n<91;n++)a=String.fromCharCode(n),r.keys[n]=[a.toLowerCase(),a.toUpperCase()];"function"==typeof define&&define.amd?define("keyboardevent-key-polyfill",r):void 0!==s&&void 0!==t?t.exports=r:window&&(window.keyboardeventKeyPolyfill=r)},{}],5:[function(e,t,s){"use strict";var c=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return;for(var t={},s=0;s<10;s++)t["_"+String.fromCharCode(s)]=s;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},r)).join("")?void 0:1}catch(e){return}}()?Object.assign:function(e,t){for(var s,r=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),n=1;n<arguments.length;n++){for(var a in s=Object(arguments[n]))l.call(s,a)&&(r[a]=s[a]);if(c)for(var o=c(s),i=0;i<o.length;i++)u.call(s,o[i])&&(r[o[i]]=s[o[i]])}return r}},{}],6:[function(e,t,s){"use strict";const c=e("object-assign"),l=e("../delegate"),u=e("../delegateAll"),d=/^(.+):delegate\((.+)\)$/;function f(e,t){var s=e[t];return delete e[t],s}t.exports=function(i,e){const s=Object.keys(i).reduce(function(e,t){s=i[t=t],(o=t.match(d))&&(t=o[1],r=o[2]),"object"==typeof s&&(n={capture:f(s,"capture"),passive:f(s,"passive")}),a={selector:r,delegate:"object"==typeof s?u(s):r?l(r,s):s,options:n};var s,r,n,a,o=-1<t.indexOf(" ")?t.split(" ").map(function(e){return c({type:e},a)}):(a.type=t,[a]);return e.concat(o)},[]);return c({add:function(t){s.forEach(function(e){t.addEventListener(e.type,e.delegate,e.options)})},remove:function(t){s.forEach(function(e){t.removeEventListener(e.type,e.delegate,e.options)})}},e)}},{"../delegate":8,"../delegateAll":9,"object-assign":5}],7:[function(e,t,s){"use strict";t.exports=function(e){return function(t){return e.some(function(e){return!1===e.call(this,t)},this)}}},{}],8:[function(e,t,s){"use strict";e("element-closest"),t.exports=function(s,r){return function(e){var t=e.target.closest(s);if(t)return r.call(t,e)}}},{"element-closest":3}],9:[function(e,t,s){"use strict";const r=e("../delegate"),n=e("../compose");t.exports=function(s){const e=Object.keys(s);if(1===e.length&&"*"===e[0])return s["*"];var t=e.reduce(function(e,t){return e.push(r(t,s[t])),e},[]);return n(t)}},{"../compose":7,"../delegate":8}],10:[function(e,t,s){"use strict";t.exports=function(t,s){return function(e){if(t!==e.target&&!t.contains(e.target))return s.call(this,e)}}},{}],11:[function(e,t,s){"use strict";t.exports={behavior:e("./behavior"),delegate:e("./delegate"),delegateAll:e("./delegateAll"),ignore:e("./ignore"),keymap:e("./keymap")}},{"./behavior":6,"./delegate":8,"./delegateAll":9,"./ignore":10,"./keymap":12}],12:[function(e,t,s){"use strict";e("keyboardevent-key-polyfill");const a={Alt:"altKey",Control:"ctrlKey",Ctrl:"ctrlKey",Shift:"shiftKey"};t.exports=function(n){const e=Object.keys(n).some(function(e){return-1<e.indexOf("+")});return function(s){var r=function(e,t){var s=e.key;if(t)for(var r in a)!0===e[a[r]]&&(s=[r,s].join("+"));return s}(s,e);return[r,r.toLowerCase()].reduce(function(e,t){return e=t in n?n[r].call(this,s):e},void 0)}},t.exports.MODIFIERS=a},{"keyboardevent-key-polyfill":4}],13:[function(e,t,s){"use strict";t.exports=function(t,s){function r(e){return e.currentTarget.removeEventListener(e.type,r,s),t.call(this,e)}return r}},{}],14:[function(e,t,s){"use strict";var r=/(^\s+)|(\s+$)/g,n=/\s+/,a=String.prototype.trim?function(e){return e.trim()}:function(e){return e.replace(r,"")};t.exports=function(e,t){if("string"!=typeof e)throw new Error("Expected a string but got "+typeof e);var s=((t=t||window.document).getElementById||function(e){return this.querySelector('[id="'+e.replace(/"/g,'\\"')+'"]')}).bind(t);return 1===(e=a(e).split(n)).length&&""===e[0]?[]:e.map(function(e){var t=s(e);if(t)return t;throw new Error('no element with id: "'+e+'"')})}},{}],15:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/behavior"),n=e("../../uswds-core/src/js/utils/toggle-form-input");var a=e("../../uswds-core/src/js/events")["CLICK"],e=e("../../uswds-core/src/js/config")["prefix"];t.exports=r({[a]:{[`.${e}-show-password`]:function(e){e.preventDefault(),n(this)}}})},{"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/events":34,"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/toggle-form-input":52}],16:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/select"),n=e("../../uswds-core/src/js/utils/behavior"),a=e("../../uswds-core/src/js/utils/toggle"),o=e("../../uswds-core/src/js/utils/is-in-viewport");var i=e("../../uswds-core/src/js/events")["CLICK"],e=e("../../uswds-core/src/js/config")["prefix"];const c=`.${e}-accordion, .${e}-accordion--bordered`,l=`.${e}-accordion__button[aria-controls]`,u="aria-expanded",d=t=>{const e=r(l,t);return e.filter(e=>e.closest(c)===t)},f=(t,e)=>{const s=t.closest(c);if(!s)throw new Error(l+" is missing outer "+c);var e=a(t,e),r=s.hasAttribute("data-allow-multiple");e&&!r&&d(s).forEach(e=>{e!==t&&a(e,!1)})};e=n({[i]:{[l](e){f(this),"true"!==this.getAttribute(u)||o(this)||this.scrollIntoView()}}},{init(e){r(l,e).forEach(e=>{var t="true"===e.getAttribute(u);f(e,t)})},ACCORDION:c,BUTTON:l,show:e=>f(e,!0),hide:e=>f(e,!1),toggle:f,getButtons:d});t.exports=e},{"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/events":34,"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/is-in-viewport":45,"../../uswds-core/src/js/utils/select":50,"../../uswds-core/src/js/utils/toggle":53}],17:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/behavior");var n=e("../../uswds-core/src/js/events")["CLICK"],e=e("../../uswds-core/src/js/config")["prefix"];const a=`.${e}-banner__header`,o=e+"-banner__header--expanded";t.exports=r({[n]:{[a+" [aria-controls]"]:function(e){e.preventDefault(),this.closest(a).classList.toggle(o)}}})},{"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/events":34,"../../uswds-core/src/js/utils/behavior":43}],18:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/select"),n=e("../../uswds-core/src/js/utils/behavior");e=e("../../uswds-core/src/js/config").prefix;const a=`.${e}-character-count`,o=`.${e}-character-count__field`,i=`.${e}-character-count__message`,c="The content is too long.",l=e+"-character-count__message--invalid",u=e=>{const t=e.closest(a);if(!t)throw new Error(o+" is missing outer "+a);e=t.querySelector(i);if(e)return{characterCountEl:t,messageEl:e};throw new Error(a+" is missing inner "+i)},d=t=>{const{characterCountEl:e,messageEl:s}=u(t);var r=parseInt(e.getAttribute("data-maxlength"),10);if(r){let e="";var n=t.value.length,a=n&&r<n;e=0===n?r+" characters allowed":(r=Math.abs(r-n))+` ${"character"+(1===r?"":"s")} `+(a?"over limit":"left"),s.classList.toggle(l,a),s.textContent=e,a&&!t.validationMessage&&t.setCustomValidity(c),a||t.validationMessage!==c||t.setCustomValidity("")}};e=n({input:{[o](){d(this)}}},{init(e){r(o,e).forEach(e=>{{var t=e;const r=u(t)["characterCountEl"];var s=t.getAttribute("maxlength");s&&(t.removeAttribute("maxlength"),r.setAttribute("data-maxlength",s))}d(e)})},MESSAGE_INVALID_CLASS:l,VALIDATION_MESSAGE:c});t.exports=e},{"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/select":50}],19:[function(e,t,I){"use strict";const s=e("receptor/keymap"),r=e("../../uswds-core/src/js/utils/select-or-matches"),n=e("../../uswds-core/src/js/utils/behavior"),p=e("../../uswds-core/src/js/utils/sanitizer");var a=e("../../uswds-core/src/js/config")["prefix"],e=e("../../uswds-core/src/js/events")["CLICK"],a=a+"-combo-box";const b=a+"--pristine",h=a+"__select",m=a+"__input",v=a+"__clear-input",O=v+"__wrapper",B=a+"__input-button-separator",g=a+"__toggle-list",H=g+"__wrapper",y=a+"__list",w=a+"__list-option",E=w+"--focused",A=w+"--selected",x=a+"__status",j="."+a,P="."+h,d="."+m,f="."+v,L="."+g,F="."+y,o="."+w,_="."+E,R="."+A,Y="."+x,K=".*{{query}}.*";const D=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";const s=e;s.value=t;e=new CustomEvent("change",{bubbles:!0,cancelable:!0,detail:{value:t}});s.dispatchEvent(e)},S=e=>{const t=e.closest(j);if(!t)throw new Error("Element is missing outer "+j);var e=t.querySelector(P),s=t.querySelector(d),r=t.querySelector(F),n=t.querySelector(Y),a=t.querySelector(_),o=t.querySelector(R),i=t.querySelector(L),c=t.querySelector(f),l=t.classList.contains(b),u="true"===t.dataset.disableFiltering;return{comboBoxEl:t,selectEl:e,inputEl:s,listEl:r,statusEl:n,focusedOptionEl:a,selectedOptionEl:o,toggleListBtnEl:i,clearInputBtnEl:c,isPristine:l,disableFiltering:u}},C=e=>{const{inputEl:t,toggleListBtnEl:s,clearInputBtnEl:r}=S(e);r.hidden=!0,r.disabled=!0,s.disabled=!0,t.disabled=!0};const i=e=>{const t=e.closest(j);if(!t.dataset.enhanced){const l=t.querySelector("select");if(!l)throw new Error(j+" is missing inner select");e=l.id;const u=document.querySelector(`label[for="${e}"]`);var r=e+"--list",n=e+"-label",a=e+"--assistiveHint";const d=[];var o=t.dataset["defaultValue"],i=t.dataset["placeholder"];let s;if(i&&d.push({placeholder:i}),o)for(let e=0,t=l.options.length;e<t;e+=1){var c=l.options[e];if(c.value===o){s=c;break}}if(!u||!u.matches(`label[for="${e}"]`))throw new Error(j+` for ${e} is either missing a label or a "for" attribute`);u.setAttribute("id",n),u.setAttribute("id",n),l.setAttribute("aria-hidden","true"),l.setAttribute("tabindex","-1"),l.classList.add("usa-sr-only",h),l.id="",l.value="",["required","aria-label","aria-labelledby"].forEach(e=>{var t;l.hasAttribute(e)&&(t=l.getAttribute(e),d.push({[e]:t}),l.removeAttribute(e))});const f=document.createElement("input");f.setAttribute("id",e),f.setAttribute("aria-owns",r),f.setAttribute("aria-controls",r),f.setAttribute("aria-autocomplete","list"),f.setAttribute("aria-describedby",a),f.setAttribute("aria-expanded","false"),f.setAttribute("autocapitalize","off"),f.setAttribute("autocomplete","off"),f.setAttribute("class",m),f.setAttribute("type","text"),f.setAttribute("role","combobox"),d.forEach(s=>Object.keys(s).forEach(e=>{var t=p.escapeHTML`${s[e]}`;f.setAttribute(e,t)})),t.insertAdjacentElement("beforeend",f),t.insertAdjacentHTML("beforeend",p.escapeHTML`
    <span class="${O}" tabindex="-1">
        <button type="button" class="${v}" aria-label="Clear the select contents"> </button>
      </span>
      <span class="${B}"> </span>
      <span class="${H}" tabindex="-1">
        <button type="button" tabindex="-1" class="${g}" aria-label="Toggle the dropdown list"> </button>
      </span>
      <ul
        tabindex="-1"
        id="${r}"
        class="${y}"
        role="listbox"
        aria-labelledby="${n}"
        hidden>
      </ul>
      <div class="${x} usa-sr-only" role="status"></div>
      <span id="${a}" class="usa-sr-only">
        When autocomplete results are available use up and down arrows to review and enter to select.
        Touch device users, explore by touch or with swipe gestures.
      </span>`),s&&(i=S(t)["inputEl"],D(l,s.value),D(i,s.text),t.classList.add(b)),l.disabled&&(C(t),l.disabled=!1),t.dataset.enhanced="true"}},T=function(e,t){var{skipFocus:s,preventScroll:r}=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};const{inputEl:n,listEl:a,focusedOptionEl:o}=S(e);o&&(o.classList.remove(E),o.setAttribute("tabIndex","-1")),t?(n.setAttribute("aria-activedescendant",t.id),t.setAttribute("tabIndex","0"),t.classList.add(E),r||(e=t.offsetTop+t.offsetHeight,a.scrollTop+a.offsetHeight<e&&(a.scrollTop=e-a.offsetHeight),t.offsetTop<a.scrollTop&&(a.scrollTop=t.offsetTop)),s||t.focus({preventScroll:r})):(n.setAttribute("aria-activedescendant",""),n.focus())},$=function(e){let r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};const a=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");e=`^(?:${e.replace(/{{(.*?)}}/g,(e,t)=>{var t=t.trim(),s=n[t];return"query"!==t&&s?(t=new RegExp(s,"i"),(s=r.match(t))?a(s[1]):""):a(r)})})$`;return new RegExp(e,"i")},c=e=>{const{comboBoxEl:t,selectEl:s,inputEl:r,listEl:n,statusEl:a,isPristine:o,disableFiltering:i}=S(e);let c,l;const u=n.id+"--option-";var d=(r.value||"").toLowerCase(),e=t.dataset.filter||K;const f=$(e,d,t.dataset),p=[];for(let e=0,t=s.options.length;e<t;e+=1){var b=s.options[e],h=u+p.length;b.value&&(i||o||!d||f.test(b.text))&&(s.value&&b.value===s.value&&(c=h),i&&!l&&f.test(b.text)&&(l=h),p.push(b))}e=p.length;const m=p.map((e,t)=>{var s=u+t;const r=[w];let n="-1",a="false";s===c&&(r.push(A,E),n="0",a="true"),c||0!==t||(r.push(E),n="0");const o=document.createElement("li");return o.setAttribute("aria-setsize",p.length),o.setAttribute("aria-posinset",t+1),o.setAttribute("aria-selected",a),o.setAttribute("id",s),o.setAttribute("class",r.join(" ")),o.setAttribute("tabindex",n),o.setAttribute("role","option"),o.setAttribute("data-value",e.value),o.textContent=e.text,o}),v=document.createElement("li");v.setAttribute("class",w+"--no-results"),v.textContent="No results found",n.hidden=!1,e?(n.innerHTML="",m.forEach(e=>n.insertAdjacentElement("beforeend",e))):(n.innerHTML="",n.insertAdjacentElement("beforeend",v)),r.setAttribute("aria-expanded","true"),a.textContent=e?e+` result${1<e?"s":""} available.`:"No results.";let g;o&&c?g=n.querySelector("#"+c):i&&l&&(g=n.querySelector("#"+l)),g&&T(n,g,{skipFocus:!0})},l=e=>{const{inputEl:t,listEl:s,statusEl:r,focusedOptionEl:n}=S(e);r.innerHTML="",t.setAttribute("aria-expanded","false"),t.setAttribute("aria-activedescendant",""),n&&n.classList.remove(E),s.scrollTop=0,s.hidden=!0},u=e=>{const{comboBoxEl:t,selectEl:s,inputEl:r}=S(e);D(s,e.dataset.value),D(r,e.textContent),t.classList.add(b),l(t),r.focus()},k=e=>{const{comboBoxEl:s,selectEl:r,inputEl:n}=S(e);var a=r.value,o=(n.value||"").toLowerCase();if(a)for(let e=0,t=r.options.length;e<t;e+=1){var i=r.options[e];if(i.value===a)return o!==i.text&&D(n,i.text),void s.classList.add(b)}o&&D(n)};var M=e=>{const{comboBoxEl:t,listEl:s}=S(e.target);s.hidden&&c(t);var r=s.querySelector(_)||s.querySelector(o);r&&T(t,r),e.preventDefault()},q=e=>{var t=e.target,s=t.nextSibling;s&&T(t,s),e.preventDefault()},N=e=>{var{comboBoxEl:t,listEl:s,focusedOptionEl:r}=S(e.target),r=r&&r.previousSibling,s=!s.hidden;T(t,r),s&&e.preventDefault(),r||l(t)};e=n({[e]:{[d](){var e,t;this.disabled||(e=this,{comboBoxEl:e,listEl:t}=S(e),t.hidden&&c(e))},[L](){if(!this.disabled){var e=this;const{comboBoxEl:t,listEl:s,inputEl:r}=S(e);(s.hidden?c:l)(t),r.focus()}},[o](){this.disabled||u(this)},[f](){if(!this.disabled){var e=this;const{comboBoxEl:t,listEl:s,selectEl:r,inputEl:n}=S(e);e=!s.hidden;r.value&&D(r),n.value&&D(n),t.classList.remove(b),e&&c(t),n.focus()}}},focusout:{[j](e){this.contains(e.relatedTarget)||(k(this),l(this))}},keydown:{[j]:s({Escape:e=>{const{comboBoxEl:t,inputEl:s}=S(e.target);l(t),k(t),s.focus()}}),[d]:s({Enter:e=>{var{comboBoxEl:t,listEl:s}=S(e.target),s=!s.hidden;(e=>{const{comboBoxEl:s,selectEl:r,inputEl:n,statusEl:t}=S(e);t.textContent="";var a=(n.value||"").toLowerCase();if(a)for(let e=0,t=r.options.length;e<t;e+=1){const o=r.options[e];if(o.text.toLowerCase()===a)return D(r,o.value),D(n,o.text),s.classList.add(b)}k(s)})(t),s&&l(t),e.preventDefault()},ArrowDown:M,Down:M}),[o]:s({ArrowUp:N,Up:N,ArrowDown:q,Down:q,Enter:e=>{u(e.target),e.preventDefault()},Tab:e=>{u(e.target),e.preventDefault()},"Shift+Tab":()=>{}})},input:{[d](){const e=this.closest(j);e.classList.remove(b),c(this)}},mouseover:{[o](){var e;(e=this).classList.contains(E)||T(e,e,{preventScroll:!0})}}},{init(e){r(j,e).forEach(e=>{i(e)})},getComboBoxContext:S,enhanceComboBox:i,generateDynamicRegExp:$,disable:C,enable:e=>{const{inputEl:t,toggleListBtnEl:s,clearInputBtnEl:r}=S(e);r.hidden=!1,r.disabled=!1,s.disabled=!1,t.disabled=!1},displayList:c,hideList:l,COMBO_BOX_CLASS:a});t.exports=e},{"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/events":34,"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/sanitizer":47,"../../uswds-core/src/js/utils/select-or-matches":49,"receptor/keymap":12}],20:[function(e,E,A){"use strict";const s=e("receptor/keymap"),x=e("../../uswds-core/src/js/utils/behavior"),j=e("../../uswds-core/src/js/utils/select"),L=e("../../uswds-core/src/js/utils/select-or-matches");var t=e("../../uswds-core/src/js/config")["prefix"],_=e("../../uswds-core/src/js/events")["CLICK"];const T=e("../../uswds-core/src/js/utils/active-element"),$=e("../../uswds-core/src/js/utils/is-ios-device"),k=e("../../uswds-core/src/js/utils/sanitizer");e=t+"-date-picker";const K=e+"__wrapper",U=e+"--initialized",V=e+"--active",W=e+"__internal-input",z=e+"__external-input",Q=e+"__button",o=e+"__calendar",G=e+"__status",M=o+"__date",Z=M+"--focused",X=M+"--selected",J=M+"--previous-month",ee=M+"--current-month",te=M+"--next-month",se=M+"--range-date",re=M+"--today",ne=M+"--range-date-start",ae=M+"--range-date-end",oe=M+"--within-range",ie=o+"__previous-year",ce=o+"__previous-month",le=o+"__next-year",ue=o+"__next-month",de=o+"__month-selection",fe=o+"__year-selection",f=o+"__month",pe=f+"--focused",be=f+"--selected",D=o+"__year",he=D+"--focused",me=D+"--selected",ve=o+"__previous-year-chunk",ge=o+"__next-year-chunk",ye=o+"__date-picker",we=o+"__month-picker",Ee=o+"__year-picker",q=o+"__table",Ae=o+"__row",N=o+"__cell",I=N+"--center-items",xe=o+"__month-label",je=o+"__day-of-week",b="."+e,Le="."+Q,_e="."+W,h="."+z,m="."+o,De="."+G;t="."+M;const c="."+Z;e="."+ee;const Se="."+ie,Ce="."+ce,Te="."+le,$e="."+ue;var ke="."+fe,Me="."+de,qe="."+f;const v="."+D,Ne="."+ve,Ie="."+ge,O="."+ye;var Oe="."+we;const Be="."+Ee,u="."+pe,d="."+he,He="Please enter a valid date",Pe=["January","February","March","April","May","June","July","August","September","October","November","December"],Fe=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],S=12,Re="MM/DD/YYYY",Ye="YYYY-MM-DD";function Ke(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return t.map(e=>e+":not([disabled])").join(", ")}var Ue=Ke(Se,Ce,ke,Me,Te,$e,c),Ve=Ke(u),We=Ke(Ne,Ie,d);const ze=(e,t)=>(t!==e.getMonth()&&e.setDate(0),e),Qe=(e,t,s)=>{const r=new Date(0);return r.setFullYear(e,t,s),r},Ge=()=>{const e=new Date;var t=e.getDate(),s=e.getMonth(),r=e.getFullYear();return Qe(r,s,t)},Ze=e=>{const t=new Date(0);return t.setFullYear(e.getFullYear(),e.getMonth(),1),t},Xe=e=>{const t=new Date(0);return t.setFullYear(e.getFullYear(),e.getMonth()+1,0),t},B=(e,t)=>{const s=new Date(e.getTime());return s.setDate(s.getDate()+t),s},Je=(e,t)=>B(e,-t),et=(e,t)=>B(e,7*t),tt=e=>{var t=e.getDay();return Je(e,t)},H=(e,t)=>{const s=new Date(e.getTime());e=(s.getMonth()+12+t)%12;return s.setMonth(s.getMonth()+t),ze(s,e),s},st=(e,t)=>H(e,-t),rt=(e,t)=>H(e,12*t),nt=(e,t)=>rt(e,-t),p=(e,t)=>{const s=new Date(e.getTime());return s.setMonth(t),ze(s,t),s},C=(e,t)=>{const s=new Date(e.getTime());e=s.getMonth();return s.setFullYear(t),ze(s,e),s},at=(e,t)=>{let s=t<e?t:e;return new Date(s.getTime())},ot=(e,t)=>{let s=e<t?t:e;return new Date(s.getTime())},it=(e,t)=>e&&t&&e.getFullYear()===t.getFullYear(),P=(e,t)=>it(e,t)&&e.getMonth()===t.getMonth(),F=(e,t)=>P(e,t)&&e.getDate()===t.getDate(),g=(e,t,s)=>{let r=e;return e<t?r=t:s&&s<e&&(r=s),new Date(r.getTime())},ct=(e,t,s)=>t<=e&&(!s||e<=s),lt=(e,t,s)=>Xe(e)<t||s&&Ze(e)>s,ut=(e,t,s)=>Xe(p(e,11))<t||s&&Ze(p(e,0))>s,y=function(r){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:Ye,a=2<arguments.length&&void 0!==arguments[2]&&arguments[2];let o,i,c,l,u;if(r){let e,t,s;n===Re?[e,t,s]=r.split("/"):[s,e,t]=r.split("-"),s&&(u=parseInt(s,10),Number.isNaN(u)||(l=u,a&&(l=Math.max(0,l),s.length<3&&(r=(n=Ge().getFullYear())-n%10**s.length,l=r+u)))),e&&(u=parseInt(e,10),Number.isNaN(u)||(i=u,a&&(i=Math.max(1,i),i=Math.min(12,i)))),i&&t&&null!=l&&(u=parseInt(t,10),Number.isNaN(u)||(c=u,a&&(n=Qe(l,i,0).getDate(),c=Math.max(1,c),c=Math.min(n,c)))),i&&c&&null!=l&&(o=Qe(l,i-1,c))}return o},R=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:Ye,s=(e,t)=>("0000"+e).slice(-t),r=e.getMonth()+1,n=e.getDate(),e=e.getFullYear();return t===Re?[s(r,2),s(n,2),s(e,4)].join("/"):[s(e,4),s(r,2),s(n,2)].join("-")},dt=(e,t)=>{const s=[];let r=[],n=0;for(;n<e.length;){r=[];const a=document.createElement("tr");for(;n<e.length&&r.length<t;){const o=document.createElement("td");o.insertAdjacentElement("beforeend",e[n]),r.push(o),n+=1}r.forEach(e=>{a.insertAdjacentElement("beforeend",e)}),s.push(a)}return s},ft=e=>{const t=document.createElement("tbody");return e.forEach(e=>{t.insertAdjacentElement("beforeend",e)}),t},pt=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";const s=e;s.value=t;e=new CustomEvent("change",{bubbles:!0,cancelable:!0,detail:{value:t}});s.dispatchEvent(e)},Y=e=>{const t=e.closest(b);if(!t)throw new Error("Element is missing outer "+b);var e=t.querySelector(_e),s=t.querySelector(h),r=t.querySelector(m),n=t.querySelector(Le),a=t.querySelector(De),o=t.querySelector(v),i=y(s.value,Re,!0),c=y(e.value),l=y(r.dataset.value),u=y(t.dataset.minDate),d=y(t.dataset.maxDate),f=y(t.dataset.rangeDate),p=y(t.dataset.defaultDate);if(u&&d&&d<u)throw new Error("Minimum date cannot be after maximum date");return{calendarDate:l,minDate:u,toggleBtnEl:n,selectedDate:c,maxDate:d,firstYearChunkEl:o,datePickerEl:t,inputDate:i,internalInputEl:e,externalInputEl:s,calendarEl:r,rangeDate:f,defaultDate:p,statusEl:a}},bt=e=>{const{externalInputEl:t,toggleBtnEl:s}=Y(e);s.disabled=!0,t.disabled=!0};const ht=e=>{var{externalInputEl:e,minDate:t,maxDate:s}=Y(e);const r=e.value;let n=!1;if(r){n=!0;const i=r.split("/");var[e,a,o]=i.map(e=>{let t;e=parseInt(e,10);return t=Number.isNaN(e)?t:e});if(e&&a&&null!=o){const c=Qe(o,e-1,a);c.getMonth()===e-1&&c.getDate()===a&&c.getFullYear()===o&&4===i[2].length&&ct(c,t,s)&&(n=!1)}}return n},mt=e=>{const t=Y(e)["externalInputEl"];e=ht(t);e&&!t.validationMessage&&t.setCustomValidity(He),e||t.validationMessage!==He||t.setCustomValidity("")},vt=(e,t)=>{var s,r,n=y(t);n&&(n=R(n,Re),{datePickerEl:e,internalInputEl:s,externalInputEl:r}=Y(e),pt(s,t),pt(r,n),mt(e))},l=(e,t)=>{const{datePickerEl:s,calendarEl:r,statusEl:n,selectedDate:d,maxDate:f,minDate:p,rangeDate:b}=Y(e),h=Ge();let a=t||h;e=r.hidden;const m=B(a,0);var o=a.getMonth(),t=a.getFullYear();const v=st(a,1),g=H(a,1);var i=R(a),c=Ze(a),l=P(a,p),u=P(a,f),y=d||a;const w=b&&at(y,b),E=b&&ot(y,b),A=b&&B(w,1),x=b&&Je(E,1);y=Pe[o];a=tt(c);const j=[];for(;j.length<28||a.getMonth()===o||j.length%7!=0;)j.push((e=>{const t=[M];var s=e.getDate(),r=e.getMonth(),n=e.getFullYear(),a=e.getDay(),o=R(e);let i="-1";var c=!ct(e,p,f),l=F(e,d),e=(P(e,v)&&t.push(J),P(e,m)&&t.push(ee),P(e,g)&&t.push(te),l&&t.push(X),F(e,h)&&t.push(re),b&&(F(e,b)&&t.push(se),F(e,w)&&t.push(ne),F(e,E)&&t.push(ae),ct(e,A,x)&&t.push(oe)),F(e,m)&&(i="0",t.push(Z)),Pe[r]),a=Fe[a];const u=document.createElement("button");return u.setAttribute("type","button"),u.setAttribute("tabindex",i),u.setAttribute("class",t.join(" ")),u.setAttribute("data-day",s),u.setAttribute("data-month",r+1),u.setAttribute("data-year",n),u.setAttribute("data-value",o),u.setAttribute("aria-label",k.escapeHTML`${s} ${e} ${n} ${a}`),u.setAttribute("aria-selected",l?"true":"false"),!0==c&&(u.disabled=!0),u.textContent=s,u})(a)),a=B(a,1);c=dt(j,7);const L=r.cloneNode(),_=(L.dataset.value=i,L.style.top=s.offsetHeight+"px",L.hidden=!1,L.innerHTML=k.escapeHTML`
    <div tabindex="-1" class="${ye}">
      <div class="${Ae}">
        <div class="${N} ${I}">
          <button
            type="button"
            class="${ie}"
            aria-label="Navigate back one year"
            ${l?'disabled="disabled"':""}
          ></button>
        </div>
        <div class="${N} ${I}">
          <button
            type="button"
            class="${ce}"
            aria-label="Navigate back one month"
            ${l?'disabled="disabled"':""}
          ></button>
        </div>
        <div class="${N} ${xe}">
          <button
            type="button"
            class="${de}" aria-label="${y}. Click to select month"
          >${y}</button>
          <button
            type="button"
            class="${fe}" aria-label="${t}. Click to select year"
          >${t}</button>
        </div>
        <div class="${N} ${I}">
          <button
            type="button"
            class="${ue}"
            aria-label="Navigate forward one month"
            ${u?'disabled="disabled"':""}
          ></button>
        </div>
        <div class="${N} ${I}">
          <button
            type="button"
            class="${le}"
            aria-label="Navigate forward one year"
            ${u?'disabled="disabled"':""}
          ></button>
        </div>
      </div>
    </div>
    `,document.createElement("table")),D=(_.setAttribute("class",q),_.setAttribute("role","presentation"),document.createElement("thead")),S=(_.insertAdjacentElement("beforeend",D),document.createElement("tr")),C=(D.insertAdjacentElement("beforeend",S),{Sunday:"S",Monday:"M",Tuesday:"T",Wednesday:"W",Thursday:"Th",Friday:"Fr",Saturday:"S"});Object.keys(C).forEach(e=>{const t=document.createElement("th");t.setAttribute("class",je),t.setAttribute("scope","presentation"),t.setAttribute("aria-label",e),t.textContent=C[e],S.insertAdjacentElement("beforeend",t)});i=ft(c);_.insertAdjacentElement("beforeend",i);const T=L.querySelector(O),$=(T.insertAdjacentElement("beforeend",_),r.parentNode.replaceChild(L,r),s.classList.add(V),[]);return F(d,m)&&$.push("Selected date"),e?($.push("You can navigate by day using left and right arrows","Weeks by using up and down arrows","Months by using page up and page down keys","Years by using shift plus page up and shift plus page down","Home and end keys navigate to the beginning and end of a week"),n.textContent=""):$.push(y+" "+t),n.textContent=$.join(". "),L},gt=e=>{const{datePickerEl:t,calendarEl:s,statusEl:r}=Y(e);t.classList.remove(V),s.hidden=!0,r.textContent=""},yt=e=>{var{calendarEl:e,inputDate:t,minDate:s,maxDate:r}=Y(e);!e.hidden&&t&&(t=g(t,s,r),l(e,t))},wt=(e,t)=>{const{calendarEl:s,statusEl:r,calendarDate:i,minDate:c,maxDate:l}=Y(e),u=i.getMonth(),d=null==t?u:t;e=Pe.map((e,t)=>{var s=p(i,t),s=lt(s,c,l);let r="-1";const n=[f];var a=t===u;t===d&&(r="0",n.push(pe)),a&&n.push(be);const o=document.createElement("button");return o.setAttribute("type","button"),o.setAttribute("tabindex",r),o.setAttribute("class",n.join(" ")),o.setAttribute("data-value",t),o.setAttribute("data-label",e),o.setAttribute("aria-selected",a?"true":"false"),!0===s&&(o.disabled=!0),o.textContent=e,o});const n=document.createElement("div"),a=(n.setAttribute("tabindex","-1"),n.setAttribute("class",we),document.createElement("table"));a.setAttribute("class",q),a.setAttribute("role","presentation");t=dt(e,3),e=ft(t);a.insertAdjacentElement("beforeend",e),n.insertAdjacentElement("beforeend",a);const o=s.cloneNode();return o.insertAdjacentElement("beforeend",n),s.parentNode.replaceChild(o,s),r.textContent="Select a month.",o},w=(e,t)=>{const{calendarEl:s,statusEl:r,calendarDate:n,minDate:a,maxDate:o}=Y(e);var i=n.getFullYear(),c=null==t?i:t,e=c,t=(e-=e%S,e=Math.max(0,e),ut(C(n,e-1),a,o)),l=ut(C(n,e+S),a,o);const u=[];let d=e;for(;u.length<S;){var f=ut(C(n,d),a,o);let e="-1";const L=[D];var p=d===i;d===c&&(e="0",L.push(he)),p&&L.push(me);const _=document.createElement("button");_.setAttribute("type","button"),_.setAttribute("tabindex",e),_.setAttribute("class",L.join(" ")),_.setAttribute("data-value",d),_.setAttribute("aria-selected",p?"true":"false"),!0===f&&(_.disabled=!0),_.textContent=d,u.push(_),d+=1}const b=s.cloneNode(),h=document.createElement("div"),m=(h.setAttribute("tabindex","-1"),h.setAttribute("class",Ee),document.createElement("table")),v=(m.setAttribute("role","presentation"),m.setAttribute("class",q),document.createElement("tbody")),g=document.createElement("tr"),y=document.createElement("button"),w=(y.setAttribute("type","button"),y.setAttribute("class",ve),y.setAttribute("aria-label",`Navigate back ${S} years`),!0===t&&(y.disabled=!0),y.innerHTML=k.escapeHTML` `,document.createElement("button")),E=(w.setAttribute("type","button"),w.setAttribute("class",ge),w.setAttribute("aria-label",`Navigate forward ${S} years`),!0===l&&(w.disabled=!0),w.innerHTML=k.escapeHTML` `,document.createElement("table"));E.setAttribute("class",q),E.setAttribute("role","presentation");t=dt(u,3),l=ft(t);E.insertAdjacentElement("beforeend",l);const A=document.createElement("td"),x=(A.insertAdjacentElement("beforeend",y),document.createElement("td")),j=(x.setAttribute("colspan","3"),x.insertAdjacentElement("beforeend",E),document.createElement("td"));return j.insertAdjacentElement("beforeend",w),g.insertAdjacentElement("beforeend",A),g.insertAdjacentElement("beforeend",x),g.insertAdjacentElement("beforeend",j),v.insertAdjacentElement("beforeend",g),m.insertAdjacentElement("beforeend",v),h.insertAdjacentElement("beforeend",m),b.insertAdjacentElement("beforeend",h),s.parentNode.replaceChild(b,s),r.textContent=k.escapeHTML`Showing years ${e} to ${e+S-1}. Select a year.`,b},Et=e=>{const{datePickerEl:t,externalInputEl:s}=Y(e.target);gt(t),s.focus(),e.preventDefault()};var r=i=>e=>{var{calendarEl:t,calendarDate:s,minDate:r,maxDate:n}=Y(e.target),a=i(s),a=g(a,r,n);if(!F(s,a)){const o=l(t,a);o.querySelector(c).focus()}e.preventDefault()},At=r(e=>((e,t)=>et(e,-t))(e,1)),xt=r(e=>et(e,1)),jt=r(e=>Je(e,1)),Lt=r(e=>B(e,1)),_t=r(e=>tt(e)),Dt=r(e=>{var t=e.getDay();return B(e,6-t)}),St=r(e=>H(e,1)),Ct=r(e=>st(e,1)),Tt=r(e=>rt(e,1)),r=r(e=>nt(e,1));var n=l=>e=>{var t=e.target,s=parseInt(t.dataset.value,10),{calendarEl:t,calendarDate:r,minDate:n,maxDate:a}=Y(t),o=p(r,s),s=l(s),s=Math.max(0,Math.min(11,s)),r=p(r,s);const i=g(r,n,a);if(!P(o,i)){const c=wt(t,i.getMonth());c.querySelector(u).focus()}e.preventDefault()},$t=n(e=>e-3),kt=n(e=>e+3),Mt=n(e=>e-1),qt=n(e=>e+1),Nt=n(e=>e-e%3),It=n(e=>e+2-e%3),Ot=n(()=>11),n=n(()=>0);var a=l=>e=>{var t=e.target,s=parseInt(t.dataset.value,10),{calendarEl:t,calendarDate:r,minDate:n,maxDate:a}=Y(t),o=C(r,s),s=l(s),s=Math.max(0,s),r=C(r,s);const i=g(r,n,a);if(!it(o,i)){const c=w(t,i.getFullYear());c.querySelector(d).focus()}e.preventDefault()},Bt=a(e=>e-3),Ht=a(e=>e+3),Pt=a(e=>e-1),Ft=a(e=>e+1),Rt=a(e=>e-e%3),Yt=a(e=>e+2-e%3),Kt=a(e=>e-S),a=a(e=>e+S);var i=a=>{const n=e=>{e=Y(e).calendarEl;const t=j(a,e);var e=t.length-1,s=t[0],r=t[e],n=t.indexOf(T());return{focusableElements:t,isNotFound:-1===n,firstTabStop:s,isFirstTab:0===n,lastTabStop:r,isLastTab:n===e}};return{tabAhead(e){const{firstTabStop:t,isLastTab:s,isNotFound:r}=n(e.target);(s||r)&&(e.preventDefault(),t.focus())},tabBack(e){const{lastTabStop:t,isFirstTab:s,isNotFound:r}=n(e.target);(s||r)&&(e.preventDefault(),t.focus())}}},Ue=i(Ue),Ve=i(Ve),i=i(We);const Ut={[_]:{[Le](){var e=this;if(!e.disabled){var{calendarEl:t,inputDate:s,minDate:r,maxDate:n,defaultDate:a}=Y(e);if(t.hidden){s=g(s||a||Ge(),r,n);const o=l(t,s);o.querySelector(c).focus()}else gt(e)}},[t](){var e=this;if(!e.disabled){const{datePickerEl:t,externalInputEl:s}=Y(e);vt(e,e.dataset.value),gt(t),s.focus()}},[qe](){var e=this;if(!e.disabled){var{calendarEl:t,calendarDate:s,minDate:r,maxDate:n}=Y(e),e=parseInt(e.dataset.value,10),s=p(s,e),s=g(s,r,n);const a=l(t,s);a.querySelector(c).focus()}},[v](){var e=this;if(!e.disabled){var{calendarEl:t,calendarDate:s,minDate:r,maxDate:n}=Y(e),e=parseInt(e.innerHTML,10),s=C(s,e),s=g(s,r,n);const a=l(t,s);a.querySelector(c).focus()}},[Ce](){var t=this;if(!t.disabled){var{calendarEl:t,calendarDate:s,minDate:r,maxDate:n}=Y(t),s=st(s,1),s=g(s,r,n);const a=l(t,s);let e=a.querySelector(Ce);(e=e.disabled?a.querySelector(O):e).focus()}},[$e](){var t=this;if(!t.disabled){var{calendarEl:t,calendarDate:s,minDate:r,maxDate:n}=Y(t),s=H(s,1),s=g(s,r,n);const a=l(t,s);let e=a.querySelector($e);(e=e.disabled?a.querySelector(O):e).focus()}},[Se](){var t=this;if(!t.disabled){var{calendarEl:t,calendarDate:s,minDate:r,maxDate:n}=Y(t),s=nt(s,1),s=g(s,r,n);const a=l(t,s);let e=a.querySelector(Se);(e=e.disabled?a.querySelector(O):e).focus()}},[Te](){var t=this;if(!t.disabled){var{calendarEl:t,calendarDate:s,minDate:r,maxDate:n}=Y(t),s=rt(s,1),s=g(s,r,n);const a=l(t,s);let e=a.querySelector(Te);(e=e.disabled?a.querySelector(O):e).focus()}},[Ne](){var t=this;if(!t.disabled){const{calendarEl:s,calendarDate:r,minDate:n,maxDate:a}=Y(t);t=s.querySelector(d),t=parseInt(t.textContent,10)-S,t=Math.max(0,t),t=C(r,t);const o=g(t,n,a),i=w(s,o.getFullYear());let e=i.querySelector(Ne);(e=e.disabled?i.querySelector(Be):e).focus()}},[Ie](){var t=this;if(!t.disabled){const{calendarEl:s,calendarDate:r,minDate:n,maxDate:a}=Y(t);t=s.querySelector(d),t=parseInt(t.textContent,10)+S,t=Math.max(0,t),t=C(r,t);const o=g(t,n,a),i=w(s,o.getFullYear());let e=i.querySelector(Ie);(e=e.disabled?i.querySelector(Be):e).focus()}},[Me](){const e=wt(this);e.querySelector(u).focus()},[ke](){const e=w(this);e.querySelector(d).focus()}},keyup:{[m](e){var t=this.dataset.keydownKeyCode;""+e.keyCode!==t&&e.preventDefault()}},keydown:{[h](e){13===e.keyCode&&mt(this)},[t]:s({Up:At,ArrowUp:At,Down:xt,ArrowDown:xt,Left:jt,ArrowLeft:jt,Right:Lt,ArrowRight:Lt,Home:_t,End:Dt,PageDown:St,PageUp:Ct,"Shift+PageDown":Tt,"Shift+PageUp":r,Tab:Ue.tabAhead}),[O]:s({Tab:Ue.tabAhead,"Shift+Tab":Ue.tabBack}),[qe]:s({Up:$t,ArrowUp:$t,Down:kt,ArrowDown:kt,Left:Mt,ArrowLeft:Mt,Right:qt,ArrowRight:qt,Home:Nt,End:It,PageDown:Ot,PageUp:n}),[Oe]:s({Tab:Ve.tabAhead,"Shift+Tab":Ve.tabBack}),[v]:s({Up:Bt,ArrowUp:Bt,Down:Ht,ArrowDown:Ht,Left:Pt,ArrowLeft:Pt,Right:Ft,ArrowRight:Ft,Home:Rt,End:Yt,PageDown:a,PageUp:Kt}),[Be]:s({Tab:i.tabAhead,"Shift+Tab":i.tabBack}),[m](e){this.dataset.keydownKeyCode=e.keyCode},[b](e){const t=s({Escape:Et});t(e)}},focusout:{[h](){mt(this)},[b](e){this.contains(e.relatedTarget)||gt(this)}},input:{[h](){{var t=this,{internalInputEl:s,inputDate:r}=Y(t);let e="";r&&!ht(t)&&(e=R(r)),s.value!==e&&pt(s,e)}yt(this)}}};$()||(Ut.mouseover={[e](){var e=this;if(!e.disabled){var t=e.closest(m),s=t.dataset.value,e=e.dataset.value;if(e!==s){s=y(e);const r=l(t,s);r.querySelector(c).focus()}}},[qe](){var e=this;if(!e.disabled&&!e.classList.contains(pe)){var t=parseInt(e.dataset.value,10);const s=wt(e,t);s.querySelector(u).focus()}},[v](){var e=this;if(!e.disabled&&!e.classList.contains(he)){var t=parseInt(e.dataset.value,10);const s=w(e,t);s.querySelector(d).focus()}}});We=x(Ut,{init(e){L(b,e).forEach(e=>{{const s=e.closest(b),r=(e=s.dataset.defaultValue,s.querySelector("input"));if(!r)throw new Error(b+" is missing inner input");r.value&&(r.value="");var t=y(s.dataset.minDate||r.getAttribute("min")),t;s.dataset.minDate=t?R(t):"0000-01-01",(t=y(s.dataset.maxDate||r.getAttribute("max")))&&(s.dataset.maxDate=R(t));const n=document.createElement("div"),a=(n.classList.add(K),r.cloneNode());return a.classList.add(z),a.type="text",n.appendChild(a),n.insertAdjacentHTML("beforeend",k.escapeHTML`
    <button type="button" class="${Q}" aria-haspopup="true" aria-label="Toggle calendar"></button>
    <div class="${o}" role="dialog" aria-modal="true" hidden></div>
    <div class="usa-sr-only ${G}" role="status" aria-live="polite"></div>`),r.setAttribute("aria-hidden","true"),r.setAttribute("tabindex","-1"),r.style.display="none",r.classList.add(W),r.removeAttribute("id"),r.removeAttribute("name"),r.required=!1,s.appendChild(n),s.classList.add(U),e&&vt(s,e),void(r.disabled&&(bt(s),r.disabled=!1))}})},getDatePickerContext:Y,disable:bt,enable:e=>{const{externalInputEl:t,toggleBtnEl:s}=Y(e);s.disabled=!1,t.disabled=!1},isDateInputInvalid:ht,setCalendarValue:vt,validateDateInput:mt,renderCalendar:l,updateCalendarIfVisible:yt});E.exports=We},{"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/events":34,"../../uswds-core/src/js/utils/active-element":42,"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/is-ios-device":46,"../../uswds-core/src/js/utils/sanitizer":47,"../../uswds-core/src/js/utils/select":50,"../../uswds-core/src/js/utils/select-or-matches":49,"receptor/keymap":12}],21:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/behavior"),n=e("../../uswds-core/src/js/utils/select"),a=e("../../uswds-core/src/js/utils/select-or-matches");var o=e("../../uswds-core/src/js/config")["prefix"];const{getDatePickerContext:i,isDateInputInvalid:c,updateCalendarIfVisible:l}=e("../../usa-date-picker/src/index");e=o+"-date-range-picker";const u=e+"__range-start",d=e+"__range-end",f="."+(o+"-date-picker"),p="."+e,b="."+u,h="."+d,m=e=>{const t=e.closest(p);if(!t)throw new Error("Element is missing outer "+p);var e=t.querySelector(b),s=t.querySelector(h);return{dateRangePickerEl:t,rangeStartEl:e,rangeEndEl:s}},v=e=>{const{dateRangePickerEl:t,rangeStartEl:s,rangeEndEl:r}=m(e);var e=i(s)["internalInputEl"],n=e.value;n&&!c(e)?(r.dataset.minDate=n,r.dataset.rangeDate=n,r.dataset.defaultDate=n):(r.dataset.minDate=t.dataset.minDate||"",r.dataset.rangeDate="",r.dataset.defaultDate=""),l(r)},g=e=>{const{dateRangePickerEl:t,rangeStartEl:s,rangeEndEl:r}=m(e);var e=i(r)["internalInputEl"],n=e.value;n&&!c(e)?(s.dataset.maxDate=n,s.dataset.rangeDate=n,s.dataset.defaultDate=n):(s.dataset.maxDate=t.dataset.maxDate||"",s.dataset.rangeDate="",s.dataset.defaultDate=""),l(s)};o=r({"input change":{[b](){v(this)},[h](){g(this)}}},{init(e){a(p,e).forEach(e=>{{const t=e.closest(p),[s,r]=n(f,t);if(!s)throw new Error(`${p} is missing inner two '${f}' elements`);if(r)return s.classList.add(u),r.classList.add(d),t.dataset.minDate||(t.dataset.minDate="0000-01-01"),e=t.dataset.minDate,s.dataset.minDate=e,r.dataset.minDate=e,(e=t.dataset.maxDate)&&(s.dataset.maxDate=e,r.dataset.maxDate=e),v(t),void g(t);throw new Error(`${p} is missing second '${f}' element`)}})}});t.exports=o},{"../../usa-date-picker/src/index":20,"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/select":50,"../../uswds-core/src/js/utils/select-or-matches":49}],22:[function(e,t,g){"use strict";const s=e("../../uswds-core/src/js/utils/select-or-matches"),r=e("../../uswds-core/src/js/utils/behavior"),A=e("../../uswds-core/src/js/utils/sanitizer");e=e("../../uswds-core/src/js/config").prefix;const c=e+"-file-input",n="."+c,l=e+"-file-input__input",u=e+"-file-input__target",i="."+l,d=e+"-file-input__box",f=e+"-file-input__instructions",x=e+"-file-input__preview",j=e+"-file-input__preview-heading",a=e+"-file-input--disabled",p=e+"-file-input__choose",L=e+"-file-input__accepted-files-message",b=e+"-file-input__drag-text",o=e+"-file-input--drag",_="is-loading",D="display-none",S="has-invalid-file",C=e+"-file-input__preview-image",T=C+"--generic",$=C+"--pdf",k=C+"--word",M=C+"--video",q=C+"--excel",N="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";let I=Boolean(!0);const h=e=>{const t=e.closest(n);if(!t)throw new Error("Element is missing outer "+n);e=t.querySelector(i);return{dropZoneEl:t,inputEl:e}},m=e=>{const{dropZoneEl:t,inputEl:s}=h(e);s.disabled=!0,t.classList.add(a),t.setAttribute("aria-disabled","true")};const v=e=>{const t=e.charCodeAt(0);return 32===t?"-":65<=t&&t<=90?"img_"+e.toLowerCase():"__"+t.toString(16).slice(-4)},O=e=>e.replace(/[^a-z0-9]/g,v),B=e=>e+"-"+Math.floor(Date.now().toString()/1e3),H=(e,t,s)=>{var r=e.querySelectorAll("."+x);const n=e.querySelector(i),a=e.querySelector("."+j),o=e.querySelector("."+L);a&&(a.outerHTML=""),o&&(o.outerHTML="",e.classList.remove(S)),null!==r&&(t&&t.classList.remove(D),n.setAttribute("aria-label",s),Array.prototype.forEach.call(r,e=>{e.parentNode.removeChild(e)}))},y=(e,t,s,r)=>{{var n=e,a=t,o=s,i=r;const b=a.getAttribute("accept");if(i.classList.remove(S),b){var c=b.split(",");const h=document.createElement("div");let t=!0;var l=n.target.files||n.dataTransfer.files;for(let e=0;e<l.length;e+=1){const m=l[e];if(!t)break;for(let e=0;e<c.length;e+=1){const v=c[e];if(t=0<m.name.indexOf(v)||((e,t)=>{let s=!1;e=e.indexOf(t);return s=0<=e?!0:s})(m.type,v.replace(/\*/g,""))){I=!0;break}}}t||(H(i,o),a.value="",i.insertBefore(h,a),h.textContent=a.dataset.errormessage||"This is not a valid file type.",h.classList.add(L),i.classList.add(S),I=!1,n.preventDefault(),n.stopPropagation())}}if(!0===I){o=e;var u=t;var d=s;var f=r;var p=o.target.files;const g=document.createElement("div");o=u.dataset.defaultAriaLabel;const y=[];H(f,d,o);for(let e=0;e<p.length;e+=1){const w=new FileReader,E=p[e].name;y.push(E),0===e?u.setAttribute("aria-label","You have selected the file: "+E):1<=e&&u.setAttribute("aria-label",`You have selected ${p.length} files: `+y.join(", ")),w.onloadstart=function(){var e=B(O(E));d.insertAdjacentHTML("afterend",A.escapeHTML`<div class="${x}" aria-hidden="true">
          <img id="${e}" src="${N}" alt="" class="${C} ${_}"/>${E}
        <div>`)},w.onloadend=function(){var e=B(O(E));const t=document.getElementById(e);0<E.indexOf(".pdf")?t.setAttribute("onerror",`this.onerror=null;this.src="${N}"; this.classList.add("${$}")`):0<E.indexOf(".doc")||0<E.indexOf(".pages")?t.setAttribute("onerror",`this.onerror=null;this.src="${N}"; this.classList.add("${k}")`):0<E.indexOf(".xls")||0<E.indexOf(".numbers")?t.setAttribute("onerror",`this.onerror=null;this.src="${N}"; this.classList.add("${q}")`):0<E.indexOf(".mov")||0<E.indexOf(".mp4")?t.setAttribute("onerror",`this.onerror=null;this.src="${N}"; this.classList.add("${M}")`):t.setAttribute("onerror",`this.onerror=null;this.src="${N}"; this.classList.add("${T}")`),t.classList.remove(_),t.src=w.result},p[e]&&w.readAsDataURL(p[e]),0===e?(f.insertBefore(g,d),g.innerHTML='Selected file <span class="usa-file-input__choose">Change file</span>'):1<=e&&(f.insertBefore(g,d),g.innerHTML=A.escapeHTML`${e+1} files selected <span class="usa-file-input__choose">Change files</span>`),g&&(d.classList.add(D),g.classList.add(j))}}};e=r({},{init(e){s(n,e).forEach(t=>{const{instructions:s,dropTarget:r}=(e=>{var t=e.hasAttribute("multiple");const s=document.createElement("div"),r=document.createElement("div"),n=document.createElement("div"),a=document.createElement("div");var o=e.hasAttribute("disabled");let i;return e.classList.remove(c),e.classList.add(l),s.classList.add(c),n.classList.add(d),a.classList.add(f),a.setAttribute("aria-hidden","true"),r.classList.add(u),e.setAttribute("aria-live","polite"),e.parentNode.insertBefore(r,e),e.parentNode.insertBefore(s,r),r.appendChild(e),s.appendChild(r),e.parentNode.insertBefore(a,e),e.parentNode.insertBefore(n,e),o&&m(e),t?(i="No files selected",a.innerHTML=A.escapeHTML`<span class="${b}">Drag files here or </span><span class="${p}">choose from folder</span>`):(i="No file selected",a.innerHTML=A.escapeHTML`<span class="${b}">Drag file here or </span><span class="${p}">choose from folder</span>`),e.setAttribute("aria-label",i),e.setAttribute("data-default-aria-label",i),(/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(s.querySelector("."+b).outerHTML=""),{instructions:a,dropTarget:r}})(t);r.addEventListener("dragover",function(){this.classList.add(o)},!1),r.addEventListener("dragleave",function(){this.classList.remove(o)},!1),r.addEventListener("drop",function(){this.classList.remove(o)},!1),t.addEventListener("change",e=>y(e,t,s,r),!1)})},teardown(e){s(i,e).forEach(e=>{const t=e.parentElement.parentElement;t.parentElement.replaceChild(e,t),e.className=c})},getFileInputContext:h,disable:m,enable:e=>{const{dropZoneEl:t,inputEl:s}=h(e);s.disabled=!1,t.classList.remove(a),t.removeAttribute("aria-disabled")}});t.exports=e},{"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/sanitizer":47,"../../uswds-core/src/js/utils/select-or-matches":49}],23:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/behavior");var n=e("../../uswds-core/src/js/events")["CLICK"];const a=e("../../uswds-core/src/js/config")["prefix"],o=`.${a}-footer--big`,i=o+" nav"+` .${a}-footer__primary-link`;function c(r){const e=document.querySelector(o);if(e){const t=e.querySelectorAll(i),n=r?"button":"h4";t.forEach(e=>{var t=e.getAttribute("class");const s=document.createElement(n);s.setAttribute("class",t),s.classList.toggle(a+"-footer__primary-link--button",r),s.textContent=e.textContent,r&&(t=a+"-footer-menu-list-"+Math.floor(1e5*Math.random()),s.setAttribute("aria-controls",t),s.setAttribute("aria-expanded","false"),e.nextElementSibling.setAttribute("id",t),s.setAttribute("type","button")),e.after(s),e.remove()})}}const l=e=>{c(e.matches)};t.exports=r({[n]:{[i]:function(){if(window.innerWidth<480){var e="true"===this.getAttribute("aria-expanded");const t=this.closest(o);t.querySelectorAll(i).forEach(e=>{e.setAttribute("aria-expanded",!1)}),this.setAttribute("aria-expanded",!e)}}}},{HIDE_MAX_WIDTH:480,init(){c(window.innerWidth<480),this.mediaQueryList=window.matchMedia("(max-width: 479.9px)"),this.mediaQueryList.addListener(l)},teardown(){this.mediaQueryList.removeListener(l)}})},{"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/events":34,"../../uswds-core/src/js/utils/behavior":43}],24:[function(e,t,N){"use strict";const s=e("receptor/keymap"),r=e("../../uswds-core/src/js/utils/behavior"),a=e("../../uswds-core/src/js/utils/select"),n=e("../../uswds-core/src/js/utils/toggle"),o=e("../../uswds-core/src/js/utils/focus-trap"),i=e("../../usa-accordion/src/index"),c=e("../../uswds-core/src/js/utils/scrollbar-width");var l=e("../../uswds-core/src/js/events")["CLICK"],e=e("../../uswds-core/src/js/config")["prefix"],u=`.${e}-header`;const d=`.${e}-nav`,f=`.${e}-nav__primary`,p=`.${e}-nav__primary-item`,b=`button.${e}-nav__link`;var h=d+" a";const m="data-nav-hidden",v=`.${e}-menu-btn`,g=`.${e}-nav__close`,y=`.${e}-overlay`;e=g+`, .${e}-overlay`;const w=[d,y].join(", "),E=`body > *:not(${u}):not([aria-hidden])`,A=(m,"usa-js-mobile-nav--active");let x,j,L;const _=()=>document.body.classList.contains(A),D=c(),S=window.getComputedStyle(document.body).getPropertyValue("padding-right"),C=parseInt(S.replace(/px/,""),10)+parseInt(D.replace(/px/,""),10)+"px",T=()=>{(L=document.querySelectorAll(E)).forEach(e=>{e.setAttribute("aria-hidden",!0),e.setAttribute(m,"")})},$=()=>{(L=document.querySelectorAll("[data-nav-hidden]"))&&L.forEach(e=>{e.removeAttribute("aria-hidden"),e.removeAttribute(m)})};u=e=>{const t=document["body"],s="boolean"==typeof e?e:!_(),r=(t.classList.toggle(A,s),a(w).forEach(e=>e.classList.toggle("is-visible",s)),x.focusTrap.update(s),t.querySelector(g)),n=document.querySelector(v);return t.style.paddingRight=t.style.paddingRight===C?S:C,(s?T:$)(),s&&r?r.focus():!s&&document.activeElement===r&&n&&n.focus(),s};const k=()=>{const e=document.body.querySelector(g);_()&&e&&0===e.getBoundingClientRect().width&&x.toggleNav.call(e,!1)},M=()=>x.toggleNav.call(x,!1),q=()=>{j&&(n(j,!1),j=null)};x=r({[l]:{[b](){return j!==this&&q(),j||(j=this,n(j,!0)),!1},body:q,[v]:u,[e]:u,[h](){var e=this.closest(i.ACCORDION);e&&i.getButtons(e).forEach(e=>i.hide(e)),_()&&x.toggleNav.call(x,!1)}},keydown:{[f]:s({Escape:e=>{q();{const t=e.target.closest(p);return void(e.target.matches(b)||t.querySelector(b).focus())}}})},focusout:{[f](e){const t=e.target.closest(f);t.contains(e.relatedTarget)||q()}}},{init(e){e=e.matches(d)?e:e.querySelector(d);e&&(x.focusTrap=o(e,{Escape:M})),k(),window.addEventListener("resize",k,!1)},teardown(){window.removeEventListener("resize",k,!1),j=!1},focusTrap:null,toggleNav:u}),t.exports=x},{"../../usa-accordion/src/index":16,"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/events":34,"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/focus-trap":44,"../../uswds-core/src/js/utils/scrollbar-width":48,"../../uswds-core/src/js/utils/select":50,"../../uswds-core/src/js/utils/toggle":53,"receptor/keymap":12}],25:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/behavior"),n=e("../../uswds-core/src/js/utils/select"),a=e("../../uswds-core/src/js/config")["prefix"];e=e("../../uswds-core/src/js/events").CLICK;const o=`.${a}-input-group`,i=o+` .${a}-input`;var c=o+` .${a}-input-prefix, ${o} .${a}-input-suffix`;const l="is-focused";function u(){this.closest(o).classList.add(l)}function d(){this.closest(o).classList.remove(l)}e=r({[e]:{[c](){this.closest(o).querySelector(`.${a}-input`).focus()}}},{init(e){n(i,e).forEach(e=>{e.addEventListener("focus",u,!1),e.addEventListener("blur",d,!1)})}});t.exports=e},{"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/events":34,"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/select":50}],26:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/select-or-matches"),u=e("../../uswds-core/src/js/utils/focus-trap"),n=e("../../uswds-core/src/js/utils/scrollbar-width");e=e("../../uswds-core/src/js/config").prefix;const d=e+"-modal",f=d+"-overlay",p=d+"-wrapper",b="data-open-modal",h="data-close-modal",m="data-force-action",v="data-modal-hidden",a="."+d,g=`.${p} *[data-focus]`,y=p+` *[${h}]`,w=(b,y+`, .${f}:not([${m}])`),E=`body > *:not(.${p}):not([aria-hidden])`,A=(v,"usa-js-modal--active"),x="is-hidden";let j;const o=n(),L=window.getComputedStyle(document.body).getPropertyValue("padding-right"),_=parseInt(L.replace(/px/,""),10)+parseInt(o.replace(/px/,""),10)+"px",D=()=>{j.toggleModal.call(j,!1)};function S(e){let t,s=e.target;const r=document["body"];var n=!document.body.classList.contains(A),a=s?s.getAttribute("aria-controls"):document.querySelector(".usa-modal-wrapper.is-visible");const o=n?document.getElementById(a):document.querySelector(".usa-modal-wrapper.is-visible");if(!o)return!1;const i=o.querySelector(g)?o.querySelector(g):o.querySelector(".usa-modal"),c=document.getElementById(o.getAttribute("data-opener"));var a=r.querySelector("*[data-open-modal][aria-controls]"),l=o.getAttribute(m);return(s="keydown"===e.type&&null!==o?o.querySelector(y):s)&&(s.hasAttribute(b)&&(null===this.getAttribute("id")?(t="modal-"+(Math.floor(9e5*Math.random())+1e5),this.setAttribute("id",t)):t=this.getAttribute("id"),o.setAttribute("data-opener",t)),s.closest("."+d)&&!s.hasAttribute(h)&&!s.closest(`[${h}]`))?(e.stopPropagation(),!1):(r.classList.toggle(A,n),o.classList.toggle("is-visible",n),o.classList.toggle(x,!n),l&&r.classList.toggle("usa-js-no-click",n),r.style.paddingRight=r.style.paddingRight===_?L:_,n&&i?(j.focusTrap=l?u(o):u(o,{Escape:D}),j.focusTrap.update(n),i.focus(),document.querySelectorAll(E).forEach(e=>{e.setAttribute("aria-hidden","true"),e.setAttribute(v,"")})):!n&&a&&c&&(document.querySelectorAll("[data-modal-hidden]").forEach(e=>{e.removeAttribute("aria-hidden"),e.removeAttribute(v)}),c.focus(),j.focusTrap.update(n)),n)}j={init(e){r(a,e).forEach(e=>{var t=e.id;{const o=e,i=document.createElement("div"),c=document.createElement("div"),l=e.getAttribute("id");var s=e.getAttribute("aria-labelledby"),r=e.getAttribute("aria-describedby"),n=!!e.hasAttribute(m)&&e.hasAttribute(m);const u=document.createElement("div");u.setAttribute("data-placeholder-for",l),u.style.display="none",u.setAttribute("aria-hidden","true");for(let e=0;e<o.attributes.length;e+=1){var a=o.attributes[e];u.setAttribute("data-original-"+a.name,a.value)}o.after(u),o.parentNode.insertBefore(i,o),i.appendChild(o),o.parentNode.insertBefore(c,o),c.appendChild(o),i.classList.add(x),i.classList.add(p),c.classList.add(f),i.setAttribute("role","dialog"),i.setAttribute("id",l),s&&i.setAttribute("aria-labelledby",s),r&&i.setAttribute("aria-describedby",r),n&&i.setAttribute(m,"true"),e.removeAttribute("id"),e.removeAttribute("aria-labelledby"),e.removeAttribute("aria-describedby"),e.setAttribute("tabindex","-1");const d=i.querySelectorAll(w);d.forEach(e=>{e.setAttribute("aria-controls",l)}),document.body.appendChild(i)}document.querySelectorAll(`[aria-controls="${t}"]`).forEach(e=>{"A"===e.nodeName&&(e.setAttribute("role","button"),e.addEventListener("click",e=>e.preventDefault())),e.addEventListener("click",S)})})},teardown(e){r(a,e).forEach(e=>{{var t=e;const s=t,r=s.parentElement.parentElement,n=(t=r.getAttribute("id"),document.querySelector(`[data-placeholder-for="${t}"]`));if(n){for(let e=0;e<n.attributes.length;e+=1){const a=n.attributes[e];a.name.startsWith("data-original-")&&s.setAttribute(a.name.substr(14),a.value)}n.after(s),n.parentElement.removeChild(n)}r.parentElement.removeChild(r)}t=e.id;document.querySelectorAll(`[aria-controls="${t}"]`).forEach(e=>e.removeEventListener("click",S))})},focusTrap:null,toggleModal:S,on(e){this.init(e)},off(e){this.teardown(e)}},t.exports=j},{"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/utils/focus-trap":44,"../../uswds-core/src/js/utils/scrollbar-width":48,"../../uswds-core/src/js/utils/select-or-matches":49}],27:[function(e,t,s){"use strict";const a=e("receptor/ignore"),r=e("../../uswds-core/src/js/utils/behavior"),n=e("../../uswds-core/src/js/utils/select"),o=e("../../uswds-core/src/js/events")["CLICK"],i=".js-search-button",c=".js-search-form",l="[type=search]",u="header";let d;const f=e=>{const t=e.closest(u);return(t||document).querySelector(c)},p=(e,t)=>{const s=f(e);if(!s)throw new Error(`No ${c} found for search toggle in ${u}!`);if(e.hidden=t,s.hidden=!t,t){const r=s.querySelector(l),n=(r&&r.focus(),a(s,()=>{d&&!function(){p(this,!1),d=void 0}.call(d),document.body.removeEventListener(o,n)}));setTimeout(()=>{document.body.addEventListener(o,n)},0)}};e=r({[o]:{".js-search-button":function(){p(this,!0),d=this}}},{init(e){n(i,e).forEach(e=>{p(e,!1)})},teardown(){d=void 0}});t.exports=e},{"../../uswds-core/src/js/events":34,"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/select":50,"receptor/ignore":10}],28:[function(e,t,s){"use strict";const r=e("receptor/once"),n=e("../../uswds-core/src/js/utils/behavior");var a=e("../../uswds-core/src/js/events")["CLICK"],e=e("../../uswds-core/src/js/config")["prefix"];t.exports=n({[a]:{[`.${e}-skipnav[href^="#"], .${e}-footer__return-to-top [href^="#"]`]:function(){const e=encodeURI(this.getAttribute("href")),t=document.getElementById("#"===e?"main-content":e.slice(1));t&&(t.style.outline="0",t.setAttribute("tabindex",0),t.focus(),t.addEventListener("blur",r(()=>{t.setAttribute("tabindex",-1)})))}}})},{"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/events":34,"../../uswds-core/src/js/utils/behavior":43,"receptor/once":13}],29:[function(e,t,s){"use strict";const i=e("../../uswds-core/src/js/utils/select"),r=e("../../uswds-core/src/js/utils/behavior");var n=e("../../uswds-core/src/js/events")["CLICK"];const a=e("../../uswds-core/src/js/config")["prefix"],o=e("../../uswds-core/src/js/utils/sanitizer"),c=`.${a}-table`,l="aria-sort",u="ascending",d="descending",f=a+"-table__header__button",p="."+f,b="th[data-sortable]",h=`.${a}-table__announcement-region[aria-live="polite"]`,m=(e,t)=>e.children[t].getAttribute("data-sort-value")||e.children[t].innerText||e.children[t].textContent,v=(r,n)=>(e,t)=>{const s=m(n?e:t,r);t=m(n?t:e,r);return s&&t&&!Number.isNaN(Number(s))&&!Number.isNaN(Number(t))?s-t:s.toString().localeCompare(t,navigator.language,{numeric:!0,ignorePunctuation:!0})},g=e=>{var t=e.innerText,s=e.getAttribute(l)===u,r=t+"', sortable column, currently "+(e.getAttribute(l)===u||e.getAttribute(l)===d||!1?s?"sorted "+u:"sorted "+d:"unsorted"),t=`Click to sort by ${t} in ${s?d:u} order.`;e.setAttribute("aria-label",r),e.querySelector(p).setAttribute("title",t)},y=(t,e)=>{var s=t.closest(c);let r=e;if("boolean"!=typeof r&&(r=t.getAttribute(l)===u),!s)throw new Error(b+" is missing outer "+c);if(r=((e,t)=>{e.setAttribute(l,!0===t?d:u),g(e);const s=e.closest(c).querySelector("tbody"),r=[].slice.call(s.querySelectorAll("tr")),n=[].slice.call(e.parentNode.children),a=n.indexOf(e);return r.sort(v(a,!t)).forEach(e=>{[].slice.call(e.children).forEach(e=>e.removeAttribute("data-sort-active")),e.children[a].setAttribute("data-sort-active",!0),s.appendChild(e)}),!0})(t,e)){(t=>{const e=i(b,t);return e.filter(e=>e.closest(c)===t)})(s).forEach(e=>{e!==t&&((e=e).removeAttribute(l),g(e))});{var e=s,s=t,n=e.querySelector("caption").innerText,a=s.getAttribute(l)===u,s=s.innerText;const o=e.nextElementSibling;if(!o||!o.matches(h))throw new Error("Table containing a sortable column header is not followed by an aria-live region.");e=`The table named "${n}" is now sorted by ${s} in ${a?u:d} order.`,o.innerText=e}}};e=r({[n]:{[p](e){e.preventDefault(),y(e.target.closest(b),e.target.closest(b).getAttribute(l)===u)}}},{init(e){const t=i(b,e),s=(t.forEach(e=>{{const t=document.createElement("button");return t.setAttribute("tabindex","0"),t.classList.add(f),t.innerHTML=o.escapeHTML`
  <svg class="${a}-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
    <g class="descending" fill="transparent">
      <path d="M17 17L15.59 15.59L12.9999 18.17V2H10.9999V18.17L8.41 15.58L7 17L11.9999 22L17 17Z" />
    </g>
    <g class="ascending" fill="transparent">
      <path transform="rotate(180, 12, 12)" d="M17 17L15.59 15.59L12.9999 18.17V2H10.9999V18.17L8.41 15.58L7 17L11.9999 22L17 17Z" />
    </g>
    <g class="unsorted" fill="transparent">
      <polygon points="15.17 15 13 17.17 13 6.83 15.17 9 16.58 7.59 12 3 7.41 7.59 8.83 9 11 6.83 11 17.17 8.83 15 7.42 16.41 12 21 16.59 16.41 15.17 15"/>
    </g>
  </svg>
  `,e.appendChild(t),void g(e)}}),t.filter(e=>e.getAttribute(l)===u||e.getAttribute(l)===d)[0]);void 0!==s&&((e=s.getAttribute(l))===u?y(s,!0):e===d&&y(s,!1))},TABLE:c,SORTABLE_HEADER:b,SORT_BUTTON:p});t.exports=e},{"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/events":34,"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/sanitizer":47,"../../uswds-core/src/js/utils/select":50}],30:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/behavior"),n=e("../../uswds-core/src/js/utils/select-or-matches");var a=e("../../uswds-core/src/js/config")["prefix"];const{COMBO_BOX_CLASS:b,enhanceComboBox:o}=e("../../usa-combo-box/src/index"),h="."+(a+"-time-picker"),m={filter:"0?{{ hourQueryFilter }}:{{minuteQueryFilter}}.*{{ apQueryFilter }}m?",apQueryFilter:"([ap])",hourQueryFilter:"([1-9][0-2]?)",minuteQueryFilter:"[\\d]+:([0-9]{0,2})"},v=e=>{let t;var s;return e&&([e,s]=e.split(":").map(e=>{let t;e=parseInt(e,10);return t=Number.isNaN(e)?t:e}),null!=e&&null!=s&&(t=60*e+s)),t},i=t=>{const s=t.closest(h),r=s.querySelector("input");if(!r)throw new Error(h+" is missing inner input");const n=document.createElement("select");["id","name","required","aria-label","aria-labelledby"].forEach(e=>{var t;r.hasAttribute(e)&&(t=r.getAttribute(e),n.setAttribute(e,t),r.removeAttribute(e))});var a=(e,t)=>("0000"+e).slice(-t),t=Math.max(0,v(s.dataset.minTime)||0),o=Math.min(1439,v(s.dataset.maxTime)||1439),i=Math.floor(Math.max(1,s.dataset.step||30));let c;for(let e=t;e<=o;e+=i){u=e,l=void 0,l=u%60,u=Math.floor(u/60);var{minute:l,hour24:u,hour12:d,ampm:f}={minute:l,hour24:u,hour12:u%12||12,ampm:u<12?"am":"pm"};const p=document.createElement("option");p.value=a(u,2)+":"+a(l,2),p.text=d+":"+a(l,2)+f,p.text===r.value&&(c=p.value),n.appendChild(p)}s.classList.add(b),Object.keys(m).forEach(e=>{s.dataset[e]=m[e]}),s.dataset.disableFiltering="true",s.dataset.defaultValue=c,s.appendChild(n),r.style.display="none"};e=r({},{init(e){n(h,e).forEach(e=>{i(e),o(e)})},FILTER_DATASET:m});t.exports=e},{"../../usa-combo-box/src/index":19,"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/select-or-matches":49}],31:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/select-or-matches"),n=e("../../uswds-core/src/js/utils/behavior");var a=e("../../uswds-core/src/js/config")["prefix"];const f=e("../../uswds-core/src/js/utils/is-in-viewport"),o=`.${a}-tooltip`,c=a+"-tooltip__trigger",l=a+"-tooltip",p=a+"-tooltip__body",b="is-visible",h=a+"-tooltip__body--wrap",i=(s,e,r)=>{var n=e.split(" ");for(let e=0,t=n.length;e<t;e+=1)s.addEventListener(n[e],r,!1)},u=(t,r,e)=>{t.setAttribute("aria-hidden","false"),t.classList.add("is-set");const n=e=>{t.classList.remove(p+"--top"),t.classList.remove(p+"--bottom"),t.classList.remove(p+"--right"),t.classList.remove(p+"--left"),t.classList.add(p+"--"+e)},a=e=>{e.style.top=null,e.style.bottom=null,e.style.right=null,e.style.left=null,e.style.margin=null},o=(e,t)=>parseInt(window.getComputedStyle(e).getPropertyValue(t),10),i=(e,t,s)=>{return 0<o(s,"margin-"+e)?t-o(s,"margin-"+e):t},s=e=>{a(e);var t=i("top",e.offsetHeight,r),s=i("left",e.offsetWidth,r);n("top"),e.style.left="50%",e.style.top="-5px",e.style.margin=`-${t}px 0 0 -${s/2}px`},c=e=>{a(e);var t=i("left",e.offsetWidth,r);n("bottom"),e.style.left="50%",e.style.margin=`5px 0 0 -${t/2}px`},l=e=>{a(e);var t=i("top",e.offsetHeight,r);n("right"),e.style.top="50%",e.style.left=r.offsetLeft+r.offsetWidth+5+"px",e.style.margin=`-${t/2}px 0 0 0`},u=e=>{a(e);var t=i("top",e.offsetHeight,r),s=i("left",r.offsetLeft>e.offsetWidth?r.offsetLeft-e.offsetWidth:e.offsetWidth,r);n("left"),e.style.top="50%",e.style.left="-5px",e.style.margin=`-${t/2}px 0 0 ${r.offsetLeft>e.offsetWidth?s:-s}px`};function d(r,e){let t=1<arguments.length&&void 0!==e?e:1;const n=[s,c,l,u];let a=!1;!function e(t){if(t<n.length){const s=n[t];s(r),f(r)?a=!0:e(t+=1)}}(0),a||(r.classList.add(h),t<=2&&d(r,t+=1))}switch(e){case"top":s(t),f(t)||d(t);break;case"bottom":c(t),f(t)||d(t);break;case"right":l(t),f(t)||d(t);break;case"left":u(t),f(t)||d(t)}setTimeout(()=>{t.classList.add(b)},20)};e=n({},{init(e){r(o,e).forEach(e=>{const{tooltipBody:t,position:s,tooltipContent:r,wrapper:n}=(e=>{var t="tooltip-"+(Math.floor(9e5*Math.random())+1e5),s=e.getAttribute("title");const r=document.createElement("span"),n=document.createElement("span");var a=e.getAttribute("data-position")?e.getAttribute("data-position"):"top";const o=e.getAttribute("data-classes");if(e.setAttribute("aria-describedby",t),e.setAttribute("tabindex","0"),e.setAttribute("title",""),e.classList.remove(l),e.classList.add(c),e.parentNode.insertBefore(r,e),r.appendChild(e),r.classList.add(l),r.appendChild(n),o){const i=o.split(" ");i.forEach(e=>r.classList.add(e))}return n.classList.add(p),n.setAttribute("id",t),n.setAttribute("role","tooltip"),n.setAttribute("aria-hidden","true"),n.textContent=s,{tooltipBody:n,position:a,tooltipContent:s,wrapper:r}})(e);r&&(i(e,"mouseenter focus",()=>(u(t,e,s,n),!1)),i(e,"mouseleave blur keydown",()=>{var e;return(e=t).classList.remove(b),e.classList.remove("is-set"),e.classList.remove(h),e.setAttribute("aria-hidden","true"),!1}))})}});t.exports=e},{"../../uswds-core/src/js/config":33,"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/is-in-viewport":45,"../../uswds-core/src/js/utils/select-or-matches":49}],32:[function(e,t,s){"use strict";const r=e("../../uswds-core/src/js/utils/behavior"),n=e("../../uswds-core/src/js/utils/validate-input");e=r({"keyup change":{"input[data-validation-element]":function(){n(this)}}});t.exports=e},{"../../uswds-core/src/js/utils/behavior":43,"../../uswds-core/src/js/utils/validate-input":54}],33:[function(e,t,s){"use strict";t.exports={prefix:"usa"}},{}],34:[function(e,t,s){"use strict";t.exports={CLICK:"click"}},{}],35:[function(e,t,s){"use strict";var r=e("../../../usa-accordion/src/index"),n=e("../../../usa-banner/src/index"),a=e("../../../usa-character-count/src/index"),o=e("../../../usa-combo-box/src/index"),i=e("../../../usa-date-picker/src/index"),c=e("../../../usa-date-range-picker/src/index"),l=e("../../../usa-file-input/src/index"),u=e("../../../usa-footer/src/index"),d=e("../../../usa-input-prefix-suffix/src/index"),f=e("../../../usa-modal/src/index"),p=e("../../../_usa-password/src/index"),b=e("../../../usa-search/src/index"),h=e("../../../usa-header/src/index"),m=e("../../../usa-skipnav/src/index"),v=e("../../../usa-table/src/index"),g=e("../../../usa-time-picker/src/index"),y=e("../../../usa-tooltip/src/index"),e=e("../../../usa-validation/src/index");t.exports={accordion:r,banner:n,characterCount:a,comboBox:o,datePicker:i,dateRangePicker:c,fileInput:l,footer:u,inputPrefixSuffix:d,modal:f,navigation:h,password:p,search:b,skipnav:m,table:v,timePicker:g,tooltip:y,validator:e}},{"../../../_usa-password/src/index":15,"../../../usa-accordion/src/index":16,"../../../usa-banner/src/index":17,"../../../usa-character-count/src/index":18,"../../../usa-combo-box/src/index":19,"../../../usa-date-picker/src/index":20,"../../../usa-date-range-picker/src/index":21,"../../../usa-file-input/src/index":22,"../../../usa-footer/src/index":23,"../../../usa-header/src/index":24,"../../../usa-input-prefix-suffix/src/index":25,"../../../usa-modal/src/index":26,"../../../usa-search/src/index":27,"../../../usa-skipnav/src/index":28,"../../../usa-table/src/index":29,"../../../usa-time-picker/src/index":30,"../../../usa-tooltip/src/index":31,"../../../usa-validation/src/index":32}],36:[function(e,t,s){"use strict";"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};const s=document.createEvent("CustomEvent");return s.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),s})},{}],37:[function(e,t,s){"use strict";var r=window.HTMLElement.prototype;const n="hidden";n in r||Object.defineProperty(r,n,{get(){return this.hasAttribute(n)},set(e){e?this.setAttribute(n,""):this.removeAttribute(n)}})},{}],38:[function(e,t,s){"use strict";e("classlist-polyfill"),e("./element-hidden"),e("./number-is-nan"),e("./custom-event"),e("./svg4everybody")},{"./custom-event":36,"./element-hidden":37,"./number-is-nan":39,"./svg4everybody":40,"classlist-polyfill":1}],39:[function(e,t,s){"use strict";Number.isNaN=Number.isNaN||function(e){return"number"==typeof e&&e!=e}},{}],40:[function(e,t,s){"use strict";function b(e,t,s,r){if(s){var n=document.createDocumentFragment(),a=!t.hasAttribute("viewBox")&&s.getAttribute("viewBox");a&&t.setAttribute("viewBox",a);for(var o=document.importNode?document.importNode(s,!0):s.cloneNode(!0),i=document.createElementNS(t.namespaceURI||"http://www.w3.org/2000/svg","g");o.childNodes.length;)i.appendChild(o.firstChild);if(r)for(var c=0;r.attributes.length>c;c++){var l=r.attributes[c];"xlink:href"!==l.name&&"href"!==l.name&&i.setAttribute(l.name,l.value)}n.appendChild(i),e.appendChild(n)}}t.exports=function(e){var c,l=Object(e),e=window.top!==window.self,u=(c="polyfill"in l?l.polyfill:/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/.test(navigator.userAgent)||(navigator.userAgent.match(/\bEdge\/12\.(\d+)\b/)||[])[1]<10547||(navigator.userAgent.match(/\bAppleWebKit\/(\d+)\b/)||[])[1]<537||/\bEdge\/.(\d+)\b/.test(navigator.userAgent)&&e,{}),d=window.requestAnimationFrame||setTimeout,f=document.getElementsByTagName("use"),p=0;c&&function e(){if(p&&f.length-p<=0)d(e,67);else{for(var t=p=0;t<f.length;){var s,r,n=f[t],a=n.parentNode,o=function(e){for(var t=e;"svg"!==t.nodeName.toLowerCase()&&(t=t.parentNode););return t}(a),i=n.getAttribute("xlink:href")||n.getAttribute("href");!i&&l.attributeName&&(i=n.getAttribute(l.attributeName)),o&&i?c&&(!l.validate||l.validate(i,o,n)?(a.removeChild(n),s=(i=i.split("#")).shift(),i=i.join("#"),s.length?((r=u[s])||((r=u[s]=new XMLHttpRequest).open("GET",s),r.send(),r._embeds=[]),r._embeds.push({parent:a,svg:o,id:i}),function(r,n){r.onreadystatechange=function(){var s;4===r.readyState&&((s=r._cachedDocument)||((s=r._cachedDocument=document.implementation.createHTMLDocument("")).body.innerHTML=r.responseText,s.domain!==document.domain&&(s.domain=document.domain),r._cachedTarget={}),r._embeds.splice(0).map(function(e){var t=(t=r._cachedTarget[e.id])||(r._cachedTarget[e.id]=s.getElementById(e.id));b(e.parent,e.svg,t,n)}))},r.onreadystatechange()}(r,n)):b(a,o,document.getElementById(i),n)):(++t,++p)):++t}d(e,67)}}()}},{}],41:[function(e,t,s){"use strict";const r=e("domready"),n=(window.uswdsPresent=!0,e("./polyfills"),e("./config")),a=e("./index"),o=e("./polyfills/svg4everybody");n.components=a,r(()=>{const s=document.body;Object.keys(a).forEach(e=>{const t=a[e];t.on(s)}),o()}),t.exports=n},{"./config":33,"./index":35,"./polyfills":38,"./polyfills/svg4everybody":40,domready:2}],42:[function(e,t,s){"use strict";t.exports=function(){return(0<arguments.length&&void 0!==arguments[0]?arguments[0]:document).activeElement}},{}],43:[function(e,t,s){"use strict";function r(){for(var e=arguments.length,s=new Array(e),t=0;t<e;t++)s[t]=arguments[t];return function(){let t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.body;s.forEach(e=>{"function"==typeof this[e]&&this[e].call(this,t)})}}const n=e("object-assign"),a=e("receptor/behavior");t.exports=(e,t)=>a(e,n({on:r("init","add"),off:r("teardown","remove")},t))},{"object-assign":5,"receptor/behavior":6}],44:[function(e,t,s){"use strict";const a=e("object-assign"),o=e("receptor")["keymap"],i=e("./behavior"),n=e("./select"),c=e("./active-element"),l=e=>{const t=n('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',e),s=t[0],r=t[t.length-1];return{firstTabStop:s,lastTabStop:r,tabAhead:function(e){c()===r&&(e.preventDefault(),s.focus())},tabBack:function(e){c()===s?(e.preventDefault(),r.focus()):t.includes(c())||(e.preventDefault(),s.focus())}}};t.exports=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};const s=l(e),r=t;var{Esc:e,Escape:n}=r,e=(n&&!e&&(r.Esc=n),o(a({Tab:s.tabAhead,"Shift+Tab":s.tabBack},t)));return i({keydown:e},{init(){s.firstTabStop&&s.firstTabStop.focus()},update(e){e?this.on():this.off()}})}},{"./active-element":42,"./behavior":43,"./select":50,"object-assign":5,receptor:11}],45:[function(e,t,s){"use strict";t.exports=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:window,s=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.documentElement,e=e.getBoundingClientRect();return 0<=e.top&&0<=e.left&&e.bottom<=(t.innerHeight||s.clientHeight)&&e.right<=(t.innerWidth||s.clientWidth)}},{}],46:[function(e,t,s){"use strict";t.exports=function(){return"undefined"!=typeof navigator&&(navigator.userAgent.match(/(iPod|iPhone|iPad)/g)||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints)&&!window.MSStream}},{}],47:[function(e,t,s){"use strict";t.exports=function(){"use strict";var a={_entity:/[&<>"'/]/g,_entities:{"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},getEntity:function(e){return a._entities[e]},escapeHTML:function(e){var t="";for(var s=0;s<e.length;s++){t+=e[s];if(s+1<arguments.length){var r=arguments[s+1]||"";t+=String(r).replace(a._entity,a.getEntity)}}return t},createSafeHTML:function(e){var t=arguments.length;var s=new Array(t>1?t-1:0);for(var r=1;r<t;r++)s[r-1]=arguments[r];var n=a.escapeHTML.apply(a,[e].concat(s));return{__html:n,toString:function(){return"[object WrappedHTMLObject]"},info:"This is a wrapped HTML object. See https://developer.mozilla.or"+"g/en-US/Firefox_OS/Security/Security_Automation for more."}},unwrapSafeHTML:function(){var e=arguments.length;var t=new Array(e);for(var s=0;s<e;s++)t[s]=arguments[s];var r=t.map(function(e){return e.__html});return r.join("")}};return a}()},{}],48:[function(e,t,s){"use strict";t.exports=function(){const e=document.createElement("div");e.style.visibility="hidden",e.style.overflow="scroll",e.style.msOverflowStyle="scrollbar",document.body.appendChild(e);var t=document.createElement("div"),t=(e.appendChild(t),e.offsetWidth-t.offsetWidth+"px");return e.parentNode.removeChild(e),t}},{}],49:[function(e,t,s){"use strict";const n=e("./select");t.exports=(e,t)=>{const s=n(e,t);var r;return"string"==typeof e&&(r=t)&&"object"==typeof r&&1===r.nodeType&&t.matches(e)&&s.push(t),s}},{"./select":50}],50:[function(e,t,s){"use strict";t.exports=(e,t)=>{if("string"!=typeof e)return[];var s=(t=t&&((s=t)&&"object"==typeof s&&1===s.nodeType)?t:window.document).querySelectorAll(e);return Array.prototype.slice.call(s)}},{}],51:[function(e,t,s){"use strict";t.exports=(e,t)=>{e.setAttribute("autocapitalize","off"),e.setAttribute("autocorrect","off"),e.setAttribute("type",t?"password":"text")}},{}],52:[function(e,t,s){"use strict";const a=e("resolve-id-refs"),o=e("./toggle-field-mask"),i="aria-pressed",c="data-show-text";t.exports=e=>{const t=e.hasAttribute(i)&&"true"!==e.getAttribute(i),s=a(e.getAttribute("aria-controls"));s.forEach(e=>o(e,t)),e.hasAttribute(c)||e.setAttribute(c,e.textContent);var r=e.getAttribute(c),n=e.getAttribute("data-hide-text")||r.replace(/\bShow\b/i,e=>`${"S"===e[0]?"H":"h"}ide`);return e.textContent=t?r:n,e.setAttribute(i,t),t}},{"./toggle-field-mask":51,"resolve-id-refs":14}],53:[function(e,t,s){"use strict";const n="aria-expanded";t.exports=(e,t)=>{let s=t;"boolean"!=typeof s&&(s="false"===e.getAttribute(n)),e.setAttribute(n,s);t=e.getAttribute("aria-controls");const r=document.getElementById(t);if(r)return s?r.removeAttribute("hidden"):r.setAttribute("hidden",""),s;throw new Error(`No toggle target found with id: "${t}"`)}},{}],54:[function(e,t,s){"use strict";e=e("../config").prefix;const c=e+"-checklist__item--checked";t.exports=function(o){const e=o.dataset.validationElement,i="#"===e.charAt(0)?document.querySelector(e):document.getElementById(e);if(!i)throw new Error(`No validation element found with id: "${e}"`);Object.entries(o.dataset).forEach(e=>{let[t,s]=e;if(t.startsWith("validate")){e=t.substr("validate".length).toLowerCase();const n=new RegExp(s);var r=`[data-validator="${e}"]`;const a=i.querySelector(r);if(!a)throw new Error(`No validator checkbox found for: "${e}"`);r=n.test(o.value);a.classList.toggle(c,r),a.setAttribute("aria-checked",r)}})}},{"../config":33}]},{},[41]);
//# sourceMappingURL=uswds.min.js.map