!function(){function t(e,n,r){function o(u,c){if(!n){if(!e){var a=“function”==typeof require&&require;if(!c&&a)return a(u,!0);if(i)return i(u,!0);var s=new Error(“Cannot find module '”u
“'”);throw s.code=“MODULE_NOT_FOUND”,s}var f=n={exports:{}};e[0].call(f.exports,function(t){var n=e[1];return o(n?n:t)},f,f.exports,t,e,n,r)}return n.exports}for(var i=“function”==typeof require&&require,u=0;u]0x[0-9a-f]
$/i,p=/^0b+$/i,v=/^0o+$/i,y=parseInt,b=“object”==(“undefined”==typeof t?“undefined”:c(t))&&t&&t.Object===Object&&t,h=“object”==(“undefined”==typeof self?“undefined”:c(self))&&self&&self.Object===Object&&self,g=b||h||Function(“return this”)(),m=Object.prototype,w=m.toString,x=Math.max,E=Math.min,S=function(){return g.Date.now()};e.exports=n}).call(this,“undefined”!=typeof global?global:“undefined”!=typeof self?self:“undefined”!=typeof window?window:{})},{}],9:[function(t,e,n){“use strict”;function r(t){if(null===t||void 0===t)throw new TypeError(“Object.assign cannot be called with null or undefined”);return Object(t)}function o(){try{if(!Object.assign)return!1;var t=new String(“abc”);if(t=“de”,“5”===Object.getOwnPropertyNames(t))return!1;for(var e={},n=0;n<10;n++)e=n;var r=Object.getOwnPropertyNames(e).map(function(t){return e});if(“0123456789”!==r.join(“”))return!1;var o={};return“abcdefghijklmnopqrst”.split(“”).forEach(function(t){o=t}),“abcdefghijklmnopqrst”===Object.keys(Object.assign({},o)).join(“”)}catch(i){return!1}}var i=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;e.exports=o()?Object.assign:function(t,e){for(var n,o,a=r(t),s=1;s<arguments.length;s++){n=Object(arguments);for(var f in n)u.call(n,f)&&(a=n);if(i){o=i(n);for(var l=0;lt
'”');return e})}},{}],19:[function(t,e,n){“use strict”;function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t=n,t}var o=t(“object-assign”),i=t(“array-filter”),u=t(“array-foreach”),c=t(“../utils/behavior”),a=t(“../utils/toggle”),s=t(“../utils/is-in-viewport”),f=t(“../events”),l=f.CLICK,d=t(“../config”),p=d.prefix,v=“.”p
“-accordion, .”p
“-accordion-bordered”,y=“.”p
“-accordion-button”,b=“aria-expanded”,h=“aria-multiselectable”,g=function(t){var e=t.querySelectorAll(y);return i(e,function(e){return e.closest(v)===t})},m=function(t,e){var n=t.closest(v),r=e;if(!n)throw new Error(y+“ is missing outer ”+v);r=a(t,e);var o=“true”===n.getAttribute(h);r&&!o&&u(g(n),function(e){e!==t&&a(e,!1)})},w=function(t){return m(t,!0)},x=function(t){return m(t,!1)},E=c(r({},l,r({},y,function(t){t.preventDefault(),m(this),“true”===this.getAttribute(b)&&(s(this)||this.scrollIntoView())})),{init:function(t){u(t.querySelectorAll(y),function(t){var e=“true”===t.getAttribute(b);m(t,e)})},ACCORDION:v,BUTTON:y,show:w,hide:x,toggle:m,getButtons:g}),S=function(t){this.root=t,E.on(this.root)};o(S,E),S.prototype.show=w,S.prototype.hide=x,S.prototype.remove=function(){E.off(this.root)},e.exports=S},{“../config”:28,“../events”:29,“../utils/behavior”:34,“../utils/is-in-viewport”:36,“../utils/toggle”:40,“array-filter”:1,“array-foreach”:2,“object-assign”:9}],20:[function(t,e,n){“use strict”;function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t=n,t}var o=t(“../utils/behavior”),i=t(“../events”),u=i.CLICK,c=t(“../config”),a=c.prefix,s=“.”a
“-banner-header”,f=a+“-banner-header-expanded”,l=function(t){return t.preventDefault(),this.closest(s).classList.toggle(f),!1};e.exports=o(r({},u,r({},s+“ [aria-controls]”,l)))},{“../config”:28,“../events”:29,“../utils/behavior”:34}],21:[function(t,e,n){“use strict”;function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t=n,t}function o(){if(window.innerWidth<g){var t=this.closest(h);t.classList.toggle(p);var e=t.closest(y).querySelectorAll(“ul”);u(e,function(e){e!==t&&e.classList.add(p)})}}var i=t(“lodash.debounce”),u=t(“array-foreach”),c=t(“../utils/behavior”),a=t(“../utils/select”),s=t(“../events”),f=s.CLICK,l=t(“../config”),d=l.prefix,p=“hidden”,v=“.”d
“-footer-big”,y=v+“ nav”,b=y+“ .”d
“-footer-primary-link”,h=y+“ ul”,g=600,m=180,w=i(function(){var t=window.innerWidth<g;u(a(h),function(e){e.classList.toggle(p,t)})},m);e.exports=c(r({},f,r({},b,o)),{HIDE_MAX_WIDTH:g,DEBOUNCE_RATE:m,init:function(){w(),window.addEventListener(“resize”,w)},teardown:function(){window.removeEventListener(“resize”,w)}})},{“../config”:28,“../events”:29,“../utils/behavior”:34,“../utils/select”:37,“array-foreach”:2,“lodash.debounce”:8}],22:[function(t,e,n){“use strict”;var r=t(“./accordion”),o=t(“./banner”),i=t(“./footer”),u=t(“./navigation”),c=t(“./password”),a=t(“./search”),s=t(“./skipnav”),f=t(“./validator”);e.exports={accordion:r,banner:o,footer:i,navigation:u,password:c,search:a,skipnav:s,validator:f}},{“./accordion”:19,“./banner”:20,“./footer”:21,“./navigation”:23,“./password”:24,“./search”:25,“./skipnav”:26,“./validator”:27}],23:[function(t,e,n){“use strict”;function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t=n,t}var o,i=t(“object-assign”),u=t(“array-foreach”),c=t(“../utils/behavior”),a=t(“../utils/select”),s=t(“../utils/focus-trap”),f=t(“./accordion”),l=t(“../events”),d=l.CLICK,p=t(“../config”),v=p.prefix,y=“.”v
“-nav”,b=y+“ a”,h=“.”v
“-menu-btn”,g=“.”v
“-nav-close”,m=“.”v
“-overlay”,w=g+“, .”v
“-overlay”,x=.join(“, ”),E=“usa-mobile_nav-active”,S=“is-visible”,A=void 0,j=function(){return document.body.classList.contains(E)},O=function(t){var e=document,n=e.body,r=“boolean”==typeof t?t:!j();n.classList.toggle(E,r),u(a(x),function(t){return t.classList.toggle(S,r)}),A.focusTrap.update®;var o=n.querySelector(g),i=n.querySelector(h);return r&&o?o.focus():!r&&document.activeElement===o&&i&&i.focus(),r},C=function(){var t=document.body.querySelector(g);j()&&t&&0===t.getBoundingClientRect().width&&A.toggleNav.call(t,!1)},k=function(){return A.toggleNav.call(A,!1)};A=c(r({},d,(o={},r(o,h,O),r(o,w,O),r(o,b,function(){var t=this.closest(f.ACCORDION);t&&f.getButtons(t).forEach(function(t){return f.hide(t)}),j()&&A.toggleNav.call(A,!1)}),o)),{init:function(){var t=document.querySelector(y);t&&(A.focusTrap=s(t,{Escape:k})),C(),window.addEventListener(“resize”,C,!1)},teardown:function(){window.removeEventListener(“resize”,C,!1)},focusTrap:null,toggleNav:O}),e.exports=i(function(t){return A.on(t)},A)},{“../config”:28,“../events”:29,“../utils/behavior”:34,“../utils/focus-trap”:35,“../utils/select”:37,“./accordion”:19,“array-foreach”:2,“object-assign”:9}],24:[function(t,e,n){“use strict”;function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t=n,t}function o(t){t.preventDefault(),u(this)}var i=t(“../utils/behavior”),u=t(“../utils/toggle-form-input”),c=t(“../events”),a=c.CLICK,s=t(“../config”),f=s.prefix,l=“.”f
“-show_password, .”f
“-show_multipassword”;e.exports=i(r({},a,r({},l,o)))},{“../config”:28,“../events”:29,“../utils/behavior”:34,“../utils/toggle-form-input”:39}],25:[function(t,e,n){“use strict”;function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t=n,t}function o(){m(this,!0),h=this}function i(){m(this,!1),h=void 0}var u=t(“object-assign”),c=t(“array-foreach”),a=t(“receptor/ignore”),s=t(“../utils/behavior”),f=t(“../utils/select”),l=t(“../events”),d=l.CLICK,p=“.js-search-button”,v=“.js-search-form”,y=“”,b=“header”,h=void 0,g=function(t){var e=t.closest(b);return e?e.querySelector(v):document.querySelector(v)},m=function(t,e){var n=g(t);if(!n)throw new Error(“No ”v
“ found for search toggle in ”b
“!”);if(t.hidden=e,n.hidden=!e,e){var r=n.querySelector(y);r&&r.focus();var o=a(n,function(){h&&i.call(h),document.body.removeEventListener(d,o)});setTimeout(function(){document.body.addEventListener(d,o)},0)}},w=s(r({},d,r({},p,o)),{init:function(t){c(f(p,t),function(t){m(t,!1)})},teardown:function(){h=void 0}});e.exports=u(function(t){return w.on(t)},w)},{“../events”:29,“../utils/behavior”:34,“../utils/select”:37,“array-foreach”:2,“object-assign”:9,“receptor/ignore”:14}],26:[function(t,e,n){“use strict”;function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t=n,t}function o(){var t=this.getAttribute(“href”),e=document.getElementById(“#”===t?d:t.slice(1));e&&(e.style.outline=“0”,e.setAttribute(“tabindex”,0),e.focus(),e.addEventListener(“blur”,i(function(){e.setAttribute(“tabindex”,-1)})))}var i=t(“receptor/once”),u=t(“../utils/behavior”),c=t(“../events”),a=c.CLICK,s=t(“../config”),f=s.prefix,l=“.”f
’-skipnav, .'f
'-footer-return-to-top [href^=“#”]',d=“main-content”;e.exports=u(r({},a,r({},l,o)))},{“../config”:28,“../events”:29,“../utils/behavior”:34,“receptor/once”:17}],27:[function(t,e,n){“use strict”;function r(){u(this)}var o=t(“object-assign”),i=t(“../utils/behavior”),u=t(“../utils/validate-input”),c=i({“keyup change”:{“input”:r}});e.exports=o(function(t){return c.on(t)},c)},{“../utils/behavior”:34,“../utils/validate-input”:41,“object-assign”:9}],28:[function(t,e,n){“use strict”;e.exports={prefix:“usa”}},{}],29:[function(t,e,n){“use strict”;e.exports={CLICK:“click”}},{}],30:[function(t,e,n){“use strict”;var r=window.HTMLElement.prototype,o=“hidden”;o in r||Object.defineProperty(r,o,{get:function(){return this.hasAttribute(o)},set:function(t){t?this.setAttribute(o,“”):this.removeAttribute(o)}})},{}],31:[function(t,e,n){“use strict”;t(“classlist-polyfill”),t(“./element-hidden”)},{“./element-hidden”:30,“classlist-polyfill”:3}],32:[function(t,e,n){“use strict”;var r=t(“domready”);t(“./polyfills”);var o=t(“./config”),i=t(“./components”);o.components=i,r(function(){var t=document.body;Object.keys(i).forEach(function(e){var n=i;n.on(t)})}),e.exports=o},{“./components”:22,“./config”:28,“./polyfills”:31,domready:4}],33:[function(t,e,n){“use strict”;e.exports=function(){var t=arguments.length>0&&void 0!==arguments?arguments:document;return t.activeElement}},{}],34:[function(t,e,n){“use strict”;var r=t(“object-assign”),o=t(“array-foreach”),i=t(“receptor/behavior”),u=function(){for(var t=arguments.length,e=Array(t),n=0;nu
'”');return c.setAttribute(i,!n),n}},{}],41:[function(t,e,n){“use strict”;var r=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var u,c=t();!(r=(u=c.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(a){o=!0,i=a}finally{try{!r&&c&&c()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),o=t(“elem-dataset”),i=t(“../config”),u=i.prefix,c=“aria-checked”,a=u+“-checklist-checked”;e.exports=function(t){var e=o(t),n=e.validationElement,i=“#”===n.charAt(0)?document.querySelector(n):document.getElementById(n);if(!i)throw new Error('No validation element found with id: “'n
'”');Object.entries(e).forEach(function(e){var n=r(e,2),o=n,u=n;if(o.startsWith(“validate”)){var s=o.substr(“validate”.length).toLowerCase(),f=new RegExp(u),l=’[data-validator=“‘s
’”]',d=i.querySelector(l);if(!d)throw new Error('No validator checkbox found for: “'s
'”');var p=f.test(t.value);d.classList.toggle(a,p),d.setAttribute(c,p)}})}},{“../config”:28,“elem-dataset”:5}]},{},[32]); //# sourceMappingURL=uswds.min.js.map