@department-of-veterans-affairs/component-library 51.0.0 → 51.2.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.
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see app.bundle.js.LICENSE.txt */
2
- !function(){var e,t,n={305:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var o=u(n(4041)),a=u(n(9870)),i=n(5465),s=u(n(736));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(v,e);var t,n,u,h,g=(u=v,h=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=p(u);if(h){var n=p(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}(this,e)});function v(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),(t=g.call(this,e)).handleDocumentKeyDown=t.handleDocumentKeyDown.bind(d(t)),t.handleClose=t.handleClose.bind(d(t)),t.handleDocumentClicked=t.handleDocumentClicked.bind(d(t)),t}return t=v,(n=[{key:"componentDidMount",value:function(){this.props.visible&&this.setupModal()}},{key:"componentDidUpdate",value:function(e){!e.visible&&this.props.visible?this.setupModal():e.visible&&!this.props.visible&&this.teardownModal()}},{key:"componentWillUnmount",value:function(){this.props.visible&&this.teardownModal()}},{key:"setupModal",value:function(){var e,t;this.setInitialModalFocus(),document.body.classList.add("modal-open"),document.addEventListener("keydown",this.handleDocumentKeyDown,!1),this.props.clickToClose&&document.addEventListener("click",this.handleDocumentClicked,!0),this.props.disableAnalytics||(0,s.default)({componentName:"Modal",action:"show",details:{status:this.props.status,title:this.props.title,primaryButtonText:null===(e=this.props.primaryButton)||void 0===e?void 0:e.text,secondaryButtonText:null===(t=this.props.secondaryButton)||void 0===t?void 0:t.text}})}},{key:"teardownModal",value:function(){document.body.classList.remove("modal-open"),document.removeEventListener("keydown",this.handleDocumentKeyDown,!1),this.props.clickToClose&&document.removeEventListener("click",this.handleDocumentClicked,!0)}},{key:"handleDocumentKeyDown",value:function(e){27===e.keyCode&&this.handleClose(e)}},{key:"handleClose",value:function(e){e.preventDefault(),this.props.onClose()}},{key:"handleDocumentClicked",value:function(e){this.props.visible&&!this.element.contains(e.target)&&this.props.onClose()}},{key:"setInitialModalFocus",value:function(){if(this.props.initialFocusSelector){var e=this.element.querySelector(this.props.initialFocusSelector);e&&e.setAttribute("data-autofocus","true")}}},{key:"renderAlertActions",value:function(){var e=this.props,t=e.primaryButton,n=e.secondaryButton;return t||n?o.default.createElement("div",{className:"alert-actions"},t&&o.default.createElement("button",{className:"usa-button",onClick:t.action},t.text),n&&o.default.createElement("button",{className:"usa-button-secondary",onClick:n.action},n.text)):null}},{key:"render",value:function(){var e,t=this;if(!this.props.visible)return null;var n=this.props,r=n.id,s=n.status,u=n.title,c="".concat(r||"va-modal","-title"),f=this.props.contents||this.props.children,d=(0,a.default)("va-modal",this.props.cssClass),p=(0,a.default)("va-modal-inner",(l(e={"usa-alert":s},"usa-alert-".concat(s),s),l(e,"va-modal-alert",s),e)),h=s?"usa-alert-body":"va-modal-body",g=(0,a.default)(s?"usa-alert-heading":"va-modal-title","vads-u-font-size--h3"),v=(0,a.default)({"usa-alert-text":s}),m=u?"close ".concat(u," modal"):"close modal",y=!this.props.hideCloseButton&&o.default.createElement("button",{className:"va-modal-close",type:"button","aria-label":m,onClick:this.handleClose},o.default.createElement("i",{className:"fas fa-times-circle","aria-hidden":"true"}));return o.default.createElement(i.FocusOn,{returnFocus:!0},o.default.createElement("div",{className:d,id:r,role:function(e){return"warning"===e||"error"===e?"alertdialog":"dialog"}(s),"aria-labelledby":c,"aria-modal":!0},o.default.createElement("div",{className:p,ref:function(e){t.element=e}},y,o.default.createElement("div",{className:h},o.default.createElement("div",{role:"document"},u&&o.default.createElement("h1",{id:c,className:g,tabIndex:"-1"},u),f&&o.default.createElement("div",{className:v},f)),this.renderAlertActions()))))}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),v}(o.default.Component);h.defaultProps={visible:!1,clickToClose:!1,focusSelector:"button, input, select, a"}},736:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.componentName,n=e.action,r=e.details,a=new CustomEvent("component-library-analytics",{detail:{componentName:t,action:n,details:r,version:o}});document.body.dispatchEvent(a)};var o=((r=n(4799))&&r.__esModule?r:{default:r}).default.version},7885:function(e,t,n){"use strict";n.r(t),n.d(t,{g:function(){return r}});var r=function(){}},7470:function(e,t,n){"use strict";n.r(t),n.d(t,{C:function(){return j},c:function(){return S}});var r=n(3244);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=[],i=a.forEach,s=a.slice,u=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,l={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var n=function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return null}(e.lookupCookie);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+60*n*1e3)),r&&(o.domain=r),document.cookie=function(e,t,n){var r=n||{};r.path=r.path||"/";var o=e+"="+encodeURIComponent(t);if(r.maxAge>0){var a=r.maxAge-0;if(isNaN(a))throw new Error("maxAge should be a Number");o+="; Max-Age="+Math.floor(a)}if(r.domain){if(!u.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain="+r.domain}if(r.path){if(!u.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");o+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o}(e,encodeURIComponent(t),o)}(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},c={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var r=n.substring(1).split("&"),o=0;o<r.length;o++){var a=r[o].indexOf("=");a>0&&r[o].substring(0,a)===e.lookupQuerystring&&(t=r[o].substring(a+1))}}return t}},f=null,d=function(){if(null!==f)return f;try{f="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){f=!1}return f},p={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&d()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&d()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},h=null,g=function(){if(null!==h)return h;try{h="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){h=!1}return h},v={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&g()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&g()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},m={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)t.push(navigator.languages[n]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},y={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},b={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},w={name:"subdomain",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);n instanceof Array&&(t="number"==typeof e.lookupFromSubdomainIndex?n[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):n[0].replace("http://","").replace("https://","").replace(".",""))}return t}},k=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return function(e,t){t&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1})}(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return i.call(s.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(l),this.addDetector(c),this.addDetector(p),this.addDetector(v),this.addDetector(m),this.addDetector(y),this.addDetector(b),this.addDetector(w)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return e.forEach((function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"==typeof r&&(r=[r]),r&&(n=n.concat(r))}})),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)})))}}]),e}();k.type="languageDetector";var O={name:"mainTag",lookup:function(e){var t=document.querySelector("main");return null==t?void 0:t.getAttribute("lang")}},x=new k;x.addDetector(O),r.i.use(x).init({fallbackLng:"en",detection:{order:["mainTag","htmlTag"]},resources:{en:{translation:{error:"Error",required:"(*Required)",select:"- Select -","max-chars":"(Max. {{length}} characters)","min-chars":"(Min. {{length}} characters)","date-of-birth":"Date of birth",month:"Month",day:"Day",year:"Year","month-select":"Please select a month","month-range":"Please enter a month between {{start}} and {{end}}","day-range":"Please enter a day between {{start}} and {{end}}","year-range":"Please enter a year between {{start}} and {{end}}","expand-all":"Expand all","collapse-all":"Collapse all","expand-all-aria-label":"Expand all accordions","collapse-all-aria-label":"Collapse all accordions",january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December","on-this-page":"On this page","date-hint":"Enter 2 digits for the month and day and 4 digits for the year","date-hint-with-select":"For example: January 19 2000","date-error":"Please enter a complete date","number-error":"Please enter a valid number","gov-site-label":"Official website of the United States government","gov-site-button":"Here's how you know","gov-site-website":"Official websites use .{{tld}}","gov-site-explanation":"A .{{tld}} website belongs to an official government organization in the United States.","gov-site-https":"Secure .{{tld}} websites use HTTPS","gov-site-lock":"A lock {{image}} or https:// means you've safely connected to the .{{tld}} website. Share sensitive information only on official, secure websites.",next:"Next",previous:"Previous"}},es:{translation:{error:"Error",required:"(*Requerido)",select:"- Seleccione -","max-chars":"(Número máximo de caracteres: {{length}})","min-chars":"(Número mínimo de caracteres: {{length}})","date-of-birth":"Fecha de nacimiento",month:"Mes",day:"Día",year:"Año","month-range":"Ingrese un mes entre {{start}} y {{end}}","day-range":"Ingrese un día entre {{start}} y {{end}}","year-range":"Ingrese un año entre {{start}} y {{end}}","expand-all":"Expandir todo","collapse-all":"Contraer todo","expand-all-aria-label":"Expandir todos los acordeones","collapse-all-aria-label":"Contraer todos los acordeones",january:"Enero",february:"Febrero",march:"Marzo",april:"Abril",may:"Mayo",june:"Junio",july:"Julio",august:"Agosto",september:"Septiembre",october:"Octubre",november:"Noviembre",december:"Diciembre","on-this-page":"En esta página","date-hint":"Ingrese 2 dígitos para el mes y el día y 4 dígitos para el año","date-hint-with-select":"Por ejemplo: Enero 19 2000","date-error":"Ingrese una fecha completa","gov-site-label":"Un sitio oficial del Gobierno de Estados Unidos","gov-site-button":"Así es como usted puede verificarlo","gov-site-website":"Los sitios web oficiales usan .{{tld}}","gov-site-explanation":"Un sitio web .{{tld}} pertenece a una organización oficial del Gobierno de Estados Unidos.","gov-site-https":"Los sitios web seguros .{{tld}} usan HTTPS","gov-site-lock":"Un candado {{image}} o https:// significa que usted se conectó de forma segura a un sitio web .{{tld}}. Comparta información sensible sólo en sitios web oficiales y seguros.",next:"Siguiente",previous:"Anterior"}},tl:{translation:{error:"Error",required:"(*Kailangan)","max-chars":"(Pinakamarami ang {{length}} karakter)","min-chars":"(Pinakamababa ang {{length}} karakter)","date-of-birth":"Petsa ng Kapanganakan",month:"Buwan",day:"Araw",year:"Taon","month-range":"Mangyaring ilagay ang buwan sa pagitan ng {{start}} at {{end}}","day-range":"Mangyaring ilagay ang araw sa pagitan ng {{start}} at {{end}}","year-range":"Mangyaring ilagay ang taon sa pagitan ng {{start}} at {{end}}","expand-all":"I-expand lahat","collapse-all":"I-collapse ang lahat","expand-all-aria-label":"I-expand ang lahat ng accordion","collapse-all-aria-label":"I-collapse ang lahat ng accordion","on-this-page":"Sa pahinang ito","date-hint":"Mangyaring magpasok ng 2 numero para sa buwan at araw at 4 na numero para sa taon","date-error":"Mangyaring maglagay ng kumpletong petsa"}}}}),window.addEventListener("load",(function(e){console.log("DOM fully loaded and parsed");var t=document.querySelector("main");if(t){var n=t.getAttribute("lang");n&&r.i.changeLanguage(n);var o=new MutationObserver((function(e){e.forEach((function(e){"attributes"===e.type&&"lang"===e.attributeName&&r.i.changeLanguage(t.getAttribute("lang"))}))}));o.observe(t,{attributes:!0})}}));var S=Object.freeze({"222_VETS":{phoneNumber:"8772228387",description:"VA Help Line"},"4AID_VET":{phoneNumber:"8774243838",description:"National Call Center for Homeless Veterans"},711:{phoneNumber:"711",description:"Telecommunications Relay Service"},911:{phoneNumber:"911",description:"911"},CAREGIVER:{phoneNumber:"8552603274",description:"VA National Caregiver Support Line"},CRISIS_LINE:{phoneNumber:"8002738255",description:"Veterans Crisis hotline"},CRISIS_TTY:{phoneNumber:"8007994889",description:"Veterans Crisis hotline TTY"},DMC:{phoneNumber:"8008270648",description:"Debt Management Center"},DMC_OVERSEAS:{phoneNumber:"6127136415",description:"Debt Management Center (Overseas)"},DMDC_DEERS:{phoneNumber:"8663632883",description:"Defense Manpower Data Center (DMDC) | Defense Enrollment Eligibility Reporting System (DEERS) Support Office"},DS_LOGON:{phoneNumber:"8005389552",description:"Defense Manpower Data Center"},DS_LOGON_TTY:{phoneNumber:"8663632883",description:"Defense Manpower Data Center TTY"},FEDERAL_RELAY_SERVICE:{phoneNumber:"8008778339",description:"Federal Relay Service"},GI_BILL:{phoneNumber:"8884424551",description:"Education Call Center (1-888-GI-BILL-1)"},GO_DIRECT:{phoneNumber:"8003331795",description:"Go Direct/Direct Express (Treasury)"},HELP_DESK:{phoneNumber:"8006982411",description:"VA Help desk"},HEALTH_RESOURCE_CENTER:{phoneNumber:"8664001238",description:"Health Resource Center"},HEALTHCARE_ELIGIBILITY_CENTER:{phoneNumber:"8554888440",description:"VA Healthcare Eligibility Center (Eligibility Division)"},HELP_TTY:{phoneNumber:"8008778339",description:"VA Help Desk TTY"},MY_HEALTHEVET:{phoneNumber:"8773270022",description:"My HealtheVet help desk"},NCA:{phoneNumber:"8005351117",description:"National Cemetery Scheduling Office"},SUICIDE_PREVENTION_LIFELINE:{phoneNumber:"8007994889",description:"Suicide Prevention Line"},TESC:{phoneNumber:"8882242950",description:"U.S. Treasury Electronic Payment Solution Center"},TREASURY_DMS:{phoneNumber:"8888263127",description:"U.S. Department of the Treasury (Debt Management Services)"},VA_311:{phoneNumber:"8006982411",description:"VA Help desk (VA411)"},VA_411:{phoneNumber:"8006982411",description:"VA Help desk (VA411)"},VA_BENEFITS:{phoneNumber:"8008271000",description:"Veterans Benefits Assistance"}}),j=Object.freeze(Object.entries(S).reduce((function(e,t){var n;return Object.assign(Object.assign({},e),((n={})[t[0]]=t[1].phoneNumber,n))}),{}))},3244:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n.r(t),n.d(t,{i:function(){return ue}});var v={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},m=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.init(t,n)}return i(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||v,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,g(g({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}}]),e}(),y=new m,b=function(){function e(){o(this,e),this.observers={}}return i(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach((function(e){e.apply(void 0,n)})),this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(t){t.apply(t,[e].concat(n))}))}}]),e}();function w(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function k(e){return null==e?"":""+e}function O(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var a="string"!=typeof t?[].concat(t):t.split(".");a.length>1;){if(o())return{};var i=r(a.shift());!e[i]&&n&&(e[i]=new n),e=Object.prototype.hasOwnProperty.call(e,i)?e[i]:{}}return o()?{}:{obj:e,k:r(a.shift())}}function x(e,t,n){var r=O(e,t,Object);r.obj[r.k]=n}function S(e,t){var n=O(e,t),r=n.obj,o=n.k;if(r)return r[o]}function j(e,t,n){var r=S(e,n);return void 0!==r?r:S(t,n)}function E(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):E(e[r],t[r],n):e[r]=t[r]);return e}function P(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var L={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function N(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return L[e]})):e}var C="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,R=[" ",",","?","!",";"];function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,a=0;a<r.length;++a){if(!o)return;if("string"==typeof o[r[a]]&&a+1<r.length)return;if(void 0===o[r[a]]){for(var i=2,s=r.slice(a,a+i).join(n),u=o[s];void 0===u&&r.length>a+i;)i++,u=o[s=r.slice(a,a+i).join(n)];if(void 0===u)return;if(t.endsWith(s)){if("string"==typeof u)return u;if(s&&"string"==typeof u[s])return u[s]}var l=r.slice(a+i).join(n);return l?T(u,l,n):void 0}o=o[r[a]]}return o}}var I=function(e){l(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return o(this,n),r=t.call(this),C&&b.call(s(r)),r.data=e||{},r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return i(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,a=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,i=[e,t];n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(i=e.split("."));var s=S(this.data,i);return s||!a||"string"!=typeof n?s:T(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=this.options.keySeparator;void 0===a&&(a=".");var i=[e,t];n&&(i=i.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(r=t,t=(i=e.split("."))[1]),this.addNamespaces(t),x(this.data,i,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},i=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(i=e.split("."))[1]),this.addNamespaces(t);var s=S(this.data,i)||{};r?E(s,n,o):s=D(D({},s),n),x(this.data,i,s),a.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?D(D({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(b),F={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var a=this;return e.forEach((function(e){a.processors[e]&&(t=a.processors[e].process(t,n,r,o))})),t}};function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U={},V=function(e){l(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(this,n),r=t.call(this),C&&b.call(s(r)),function(e,t,n){["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((function(e){t[e]&&(n[e]=t[e])}))}(0,e,s(r)),r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=y.create("translator"),r}return i(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,i=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=R.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var o=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),a=!o.test(e);if(!a){var i=e.indexOf(n);i>0&&!o.test(e.substring(0,i))&&(a=!0)}return a}(e,n,r));if(a&&!i){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:o};var u=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),e=u.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,t,o){var a=this;if("object"!==r(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),u=s.key,l=s.namespaces,c=l[l.length-1],f=t.lng||this.language,d=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&"cimode"===f.toLowerCase()){if(d){var p=t.nsSeparator||this.options.nsSeparator;return c+p+u}return u}var h=this.resolve(e,t),g=h&&h.res,v=h&&h.usedKey||u,m=h&&h.exactUsedKey||u,y=Object.prototype.toString.apply(g),b=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject;if(w&&g&&"string"!=typeof g&&"boolean"!=typeof g&&"number"!=typeof g&&["[object Number]","[object Function]","[object RegExp]"].indexOf(y)<0&&("string"!=typeof b||"[object Array]"!==y)){if(!t.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,g,_(_({},t),{},{ns:l})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");if(i){var k="[object Array]"===y,O=k?[]:{},x=k?m:v;for(var S in g)if(Object.prototype.hasOwnProperty.call(g,S)){var j="".concat(x).concat(i).concat(S);O[S]=this.translate(j,_(_({},t),{joinArrays:!1,ns:l})),O[S]===j&&(O[S]=g[S])}g=O}}else if(w&&"string"==typeof b&&"[object Array]"===y)(g=g.join(b))&&(g=this.extendTranslation(g,e,t,o));else{var E=!1,P=!1,L=void 0!==t.count&&"string"!=typeof t.count,N=n.hasDefaultValue(t),C=L?this.pluralResolver.getSuffix(f,t.count,t):"",R=t["defaultValue".concat(C)]||t.defaultValue;!this.isValidLookup(g)&&N&&(E=!0,g=R),this.isValidLookup(g)||(P=!0,g=u);var A=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&P?void 0:g,D=N&&R!==g&&this.options.updateMissing;if(P||E||D){if(this.logger.log(D?"updateKey":"missingKey",f,c,u,D?R:g),i){var T=this.resolve(u,_(_({},t),{},{keySeparator:!1}));T&&T.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var I=[],F=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&F&&F[0])for(var M=0;M<F.length;M++)I.push(F[M]);else"all"===this.options.saveMissingTo?I=this.languageUtils.toResolveHierarchy(t.lng||this.language):I.push(t.lng||this.language);var U=function(e,n,r){var o=N&&r!==g?r:A;a.options.missingKeyHandler?a.options.missingKeyHandler(e,c,n,o,D,t):a.backendConnector&&a.backendConnector.saveMissing&&a.backendConnector.saveMissing(e,c,n,o,D,t),a.emit("missingKey",e,c,n,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&L?I.forEach((function(e){a.pluralResolver.getSuffixes(e,t).forEach((function(n){U([e],u+n,t["defaultValue".concat(n)]||R)}))})):U(I,u,R))}g=this.extendTranslation(g,e,t,h,o),P&&g===u&&this.options.appendNamespaceToMissingKey&&(g="".concat(c,":").concat(u)),(P||E)&&this.options.parseMissingKeyHandler&&(g="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(u,E?g:void 0):this.options.parseMissingKeyHandler(g))}return g}},{key:"extendTranslation",value:function(e,t,n,r,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(_(_({},n),{interpolation:_(_({},this.options.interpolation),n.interpolation)}));var i,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var u=e.match(this.interpolator.nestingRegexp);i=u&&u.length}var l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=_(_({},this.options.interpolation.defaultVariables),l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),s){var c=e.match(this.interpolator.nestingRegexp);i<(c&&c.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return o&&o[0]===r[0]&&!n.context?(a.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):a.translate.apply(a,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=F.handle(d,e,t,this.options&&this.options.postProcessPassResolved?_({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,a,i=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!i.isValidLookup(t)){var u=i.extractFromKey(e,s),l=u.key;n=l;var c=u.namespaces;i.options.fallbackNS&&(c=c.concat(i.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,d=f&&!s.ordinal&&0===s.count&&i.pluralResolver.shouldUseIntlApi(),p=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:i.languageUtils.toResolveHierarchy(s.lng||i.language,s.fallbackLng);c.forEach((function(e){i.isValidLookup(t)||(a=e,!U["".concat(h[0],"-").concat(e)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(a)&&(U["".concat(h[0],"-").concat(e)]=!0,i.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(a,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((function(n){if(!i.isValidLookup(t)){o=n;var a,u=[l];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(u,l,n,e,s);else{var c;f&&(c=i.pluralResolver.getSuffix(n,s.count,s));var h="_zero";if(f&&(u.push(l+c),d&&u.push(l+h)),p){var g="".concat(l).concat(i.options.contextSeparator).concat(s.context);u.push(g),f&&(u.push(g+c),d&&u.push(g+h))}}for(;a=u.pop();)i.isValidLookup(t)||(r=a,t=i.getResource(n,e,a,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:a}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}]),n}(b);function H(e){return e.charAt(0).toUpperCase()+e.slice(1)}var B=function(){function e(t){o(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=y.create("languageUtils")}return i(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=H(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=H(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=H(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],a=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):"string"==typeof e&&a(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&a(n.formatLanguageCode(e))})),o}}]),e}(),q=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],K={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},$=["v1","v2","v3"],z={zero:0,one:1,two:2,few:3,many:4,other:5},J=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.languageUtils=t,this.options=n,this.logger=y.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){var e={};return q.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:K[t.fc]}}))})),e}()}return i(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return z[e]-z[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var a=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?a():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!$.includes(this.options.compatibilityJSON)}}]),e}();function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var G=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.logger=y.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return i(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:N,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?P(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?P(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?P(t.nestingPrefix):t.nestingPrefixEscaped||P("$t("),this.nestingSuffix=t.nestingSuffix?P(t.nestingSuffix):t.nestingSuffixEscaped||P(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,a,i,s=this,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(e.indexOf(s.formatSeparator)<0){var o=j(t,u,e);return s.alwaysFormat?s.format(o,void 0,n,Y(Y(Y({},r),t),{},{interpolationkey:e})):o}var a=e.split(s.formatSeparator),i=a.shift().trim(),l=a.join(s.formatSeparator).trim();return s.format(j(t,u,i),l,n,Y(Y(Y({},r),t),{},{interpolationkey:i}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,p=[{regex:this.regexpUnescape,safeValue:function(e){return l(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?l(s.escape(e)):l(e)}}];return p.forEach((function(t){for(i=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(a=c(n)))if("function"==typeof f){var u=f(e,o,r);a="string"==typeof u?u:""}else if(r&&r.hasOwnProperty(n))a="";else{if(d){a=o[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),a=""}else"string"==typeof a||s.useRawValueToEscape||(a=k(a));var l=t.safeValue(a);if(e=e.replace(o[0],l),d?(t.regex.lastIndex+=l.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++i>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Y({},a);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,i)).replace(/'/g,'"');try{i=JSON.parse(o),t&&(i=Y(Y({},t),i))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete i.defaultValue,e}for(i.applyPostProcessor=!1,delete i.defaultValue;n=this.nestingRegexp.exec(e);){var u=[],l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),u=c,l=!0}if((r=t(s.call(this,n[1].trim(),i),i))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=k(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),l&&(r=u.reduce((function(e,t){return o.format(e,t,a.lng,Y(Y({},a),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Q=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.logger=y.create("formatter"),this.options=t,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,X(X({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,X({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,X({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,X({},n)).format(e)}},this.init(t)}return i(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"format",value:function(e,t,n,r){var o=this,a=t.split(this.formatSeparator).reduce((function(e,t){var a=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach((function(e){if(e){var t=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.split(":")),r=t[0],o=t.slice(1).join(":");n[r.trim()]||(n[r.trim()]=o.trim()),"false"===o.trim()&&(n[r.trim()]=!1),"true"===o.trim()&&(n[r.trim()]=!0),isNaN(o.trim())||(n[r.trim()]=parseInt(o.trim(),10))}}))}return{formatName:t,formatOptions:n}}(t),i=a.formatName,s=a.formatOptions;if(o.formats[i]){var u=e;try{var l=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},c=l.locale||l.lng||r.locale||r.lng||n;u=o.formats[i](e,c,X(X(X({},s),r),l))}catch(e){o.logger.warn(e)}return u}return o.logger.warn("there was no format function for ".concat(i)),e}),e);return a}}]),e}();function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ne=function(e){l(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}(n);function n(e,r,a){var i,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return o(this,n),i=t.call(this),C&&b.call(s(i)),i.backend=e,i.store=r,i.services=a,i.languageUtils=a.languageUtils,i.options=u,i.logger=y.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(a,u.backend,u),i}return i(n,[{key:"queueLoad",value:function(e,t,n,r){var o=this,a=[],i=[],s=[],u=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?i.indexOf(s)<0&&i.push(s):(o.state[s]=1,r=!1,i.indexOf(s)<0&&i.push(s),a.indexOf(s)<0&&a.push(s),u.indexOf(t)<0&&u.push(t)))})),r||s.push(e)})),(a.length||i.length)&&this.queue.push({pending:i,loaded:{},errors:[],callback:r}),{toLoad:a,pending:i,toLoadLanguages:s,toLoadNamespaces:u}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],a=r[1];t&&this.emit("failedLoading",o,a,t),n&&this.store.addResourceBundle(o,a,n),this.state[e]=t?-1:2;var i={};this.queue.forEach((function(n){!function(e,t,n){var r=O(e,t,Object),o=r.obj,a=r.k;o[a]=o[a]||[],o[a].push(n)}(n.loaded,[o],a),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){i[e]||(i[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){i[e].indexOf(t)<0&&i[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",i),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,i=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,u){s&&u&&o<5?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*a,i)}),a):i(s,u)})):i(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var a=this.queueLoad(e,t,r,o);if(!a.toLoad.length)return a.pending.length||o(),null;a.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],a=r[1];this.read(o,a,"read",void 0,void 0,(function(r,i){r&&t.logger.warn("".concat(n,"loading namespace ").concat(a," for language ").concat(o," failed"),r),!r&&i&&t.logger.log("".concat(n,"loaded namespace ").concat(a," for language ").concat(o),i),t.loaded(e,r,i)}))}},{key:"saveMissing",value:function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,te(te({},a),{},{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),n}(b);function re(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ie(){}var se=function(e){l(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(o(this,n),e=t.call(this),C&&b.call(s(e)),e.options=re(r),e.services={},e.logger=y,e.modules={external:[]},function(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))}))}(s(e)),a&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,a),c(e,s(e));setTimeout((function(){e.init(r,a)}),0)}return e}return i(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var o={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===r(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===r(e[2])||"object"===r(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function a(e){return e?"function"==typeof e?new e:e:null}if(this.options=ae(ae(ae({},o),this.options),re(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=ae(ae({},o.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var i;this.modules.logger?y.init(a(this.modules.logger),this.options):y.init(null,this.options),this.modules.formatter?i=this.modules.formatter:"undefined"!=typeof Intl&&(i=Q);var s=new B(this.options);this.store=new I(this.options.resources,this.options);var u=this.services;u.logger=y,u.resourceStore=this.store,u.languageUtils=s,u.pluralResolver=new J(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!i||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(u.formatter=a(i),u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new G(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new ne(a(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(u.languageDetector=a(this.modules.languageDetector),u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=a(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new V(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=ie),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var c=w(),f=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),c.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var o=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};r?a(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return a(e)})),this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(o,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=w();return e||(e=this.languages),t||(t=this.options.ns),n||(n=ie),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&F.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=w();this.emit("languageChanging",e);var o=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},a=function(e,a){a?(o(a),n.translator.changeLanguage(a),n.isLanguageChangingTo=void 0,n.emit("languageChanged",a),n.logger.log("languageChanged",a)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))},i=function(t){e||t||!n.services.languageDetector||(t=[]);var r="string"==typeof t?t:n.services.languageUtils.getBestMatchFromCodes(t);r&&(n.language||o(r),n.translator.language||n.translator.changeLanguage(r),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(r)),n.loadResources(r,(function(e){a(e,r)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var o=this,a=function e(t,a){var i;if("object"!==r(a)){for(var s=arguments.length,u=new Array(s>2?s-2:0),l=2;l<s;l++)u[l-2]=arguments[l];i=o.options.overloadTranslationOptionHandler([t,a].concat(u))}else i=ae({},a);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns;var c=o.options.keySeparator||".",f=n?"".concat(n).concat(c).concat(t):t;return o.t(f,i)};return"string"==typeof e?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,i);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||!(!i(r,e)||o&&!i(a,e))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=w();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=w();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie,o=ae(ae(ae({},this.options),t),{isClone:!0}),a=new n(o);return["store","services","language"].forEach((function(t){a[t]=e[t]})),a.services=ae({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new V(a.services,a.options),a.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];a.emit.apply(a,[e].concat(n))})),a.init(o,r),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(b);d(se,"createInstance",(function(){return new se(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var ue=se.createInstance();ue.createInstance=se.createInstance},7911:function(e,t,n){"use strict";n.r(t),n.d(t,{F:function(){return Ke},H:function(){return W},N:function(){return l},a:function(){return D},b:function(){return qe},c:function(){return Q},d:function(){return k},f:function(){return Fe},g:function(){return X},h:function(){return z},p:function(){return S},r:function(){return p},s:function(){return Ye}});var r,o=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},i=function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){e.done?n(e.value):o(e.value).then(i,s)}u((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=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 i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},u=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},l="component-library",c=Object.defineProperty,f=new WeakMap,d=function(e){return f.get(e)},p=function(e,t){return f.set(t.t=e,t)},h=function(e,t){return t in e},g=function(e,t){return(0,console.error)(e,t)},v=new Map,m=new Map,y="slot-fb{display:contents}slot-fb[hidden]{display:none}",b="http://www.w3.org/1999/xlink",w="undefined"!=typeof window?window:{},k=w.document||{head:{}},O={o:0,h:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}},x=function(){var e=!1;try{k.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(e){}return e}(),S=function(e){return Promise.resolve(e)},j=function(){try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1}(),E=!1,P=[],L=[],N=function(e){for(var t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){g(e)}e.length=0},C=function(){N(P),N(L),(E=P.length>0)&&O.raf(C)},R=function(e){return S().then(e)},A=function(e){return function(t){e.push(t),E||(E=!0,4&O.o?R(C):O.raf(C))}}(L),D=function(e){var t=new URL(e,O.h);return t.origin!==w.location.origin?t.href:t.pathname},T={},I=function(e){return"object"==(e=typeof e)||"function"===e};function F(e){var t,n,r;return null!=(r=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?r:void 0}!function(e,t){for(var n in t)c(e,n,{get:t[n],enumerable:!0})}({},{err:function(){return _},map:function(){return U},ok:function(){return M},unwrap:function(){return q},unwrapErr:function(){return K}});var M=function(e){return{isOk:!0,isErr:!1,value:e}},_=function(e){return{isOk:!1,isErr:!0,value:e}};function U(e,t){if(e.isOk){var n=t(e.value);return n instanceof Promise?n.then((function(e){return M(e)})):M(n)}if(e.isErr){var r=e.value;return _(r)}throw"should never get here"}var V,H,B,q=function(e){if(e.isOk)return e.value;throw e.value},K=function(e){if(e.isErr)return e.value;throw e.value},$=function(e,t){return void 0===t&&(t=""),function(){}},z=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=null,a=null,i=null,s=!1,u=!1,l=[],c=function(t){for(var n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!I(o))&&(o=String(o)),s&&u?l[l.length-1].S+=o:l.push(s?J(null,o):o),u=s)};if(c(n),t){t.key&&(a=t.key),t.name&&(i=t.name);var f=t.className||t.class;f&&(t.class="object"!=typeof f?f:Object.keys(f).filter((function(e){return f[e]})).join(" "))}if("function"==typeof e)return e(null===t?{}:t,l,Y);var d=J(e,null);return d._=t,l.length>0&&(d.C=l),d.k=a,d.T=i,d},J=function(e,t){return{o:0,j:e,S:t,N:null,C:null,_:null,k:null,T:null}},W={},Y={forEach:function(e,t){return e.map(G).forEach(t)},map:function(e,t){return e.map(G).map(t).map(Z)}},G=function(e){return{vattrs:e._,vchildren:e.C,vkey:e.k,vname:e.T,vtag:e.j,vtext:e.S}},Z=function(e){if("function"==typeof e.vtag){var t=a({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),z.apply(void 0,u([e.vtag,t],e.vchildren||[],!1))}var n=J(e.vtag,e.vtext);return n._=e.vattrs,n.C=e.vchildren,n.k=e.vkey,n.T=e.vname,n},X=function(e){return d(e).$hostElement$},Q=function(e,t,n){var r=X(e);return{emit:function(e){return ee(r,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}}},ee=function(e,t,n){var r=O.ce(t,n);return e.dispatchEvent(r),r},te=new WeakMap,ne=function(e,t){return"sc-"+e.p},re=function(e,t,n,r,o,a){if(n!==r){var i=h(e,t),s=t.toLowerCase();if("class"===t){var u=e.classList,l=ae(n),c=ae(r);u.remove.apply(u,l.filter((function(e){return e&&!c.includes(e)}))),u.add.apply(u,c.filter((function(e){return e&&!l.includes(e)})))}else if("style"===t){for(var f in n)r&&null!=r[f]||(f.includes("-")?e.style.removeProperty(f):e.style[f]="");for(var f in r)n&&r[f]===n[f]||(f.includes("-")?e.style.setProperty(f,r[f]):e.style[f]=r[f])}else if("key"===t);else if("ref"===t)r&&r(e);else if(i||"o"!==t[0]||"n"!==t[1]){var d=I(r);if((i||d&&null!==r)&&!o)try{if(e.tagName.includes("-"))e[t]=r;else{var p=null==r?"":r;"list"===t?i=!1:null!=n&&e[t]==p||(e[t]=p)}}catch(e){}var g=!1;s!==(s=s.replace(/^xlink\:?/,""))&&(t=s,g=!0),null==r||!1===r?!1===r&&""!==e.getAttribute(t)||(g?e.removeAttributeNS(b,t):e.removeAttribute(t)):(!i||4&a||o)&&!d&&(r=!0===r?"":r,g?e.setAttributeNS(b,t,r):e.setAttribute(t,r))}else if(t="-"===t[2]?t.slice(3):h(w,s)?s.slice(2):s[2]+t.slice(3),n||r){var v=t.endsWith(ie);t=t.replace(se,""),n&&O.rel(e,t,n,v),r&&O.ael(e,t,r,v)}}},oe=/\s/,ae=function(e){return e?e.split(oe):[]},ie="Capture",se=new RegExp(ie+"$"),ue=function(e,t,n){for(var r=11===t.N.nodeType&&t.N.host?t.N.host:t.N,o=e&&e._||T,a=t._||T,i=0,s=le(Object.keys(o));i<s.length;i++)(c=s[i])in a||re(r,c,o[c],void 0,n,t.o);for(var u=0,l=le(Object.keys(a));u<l.length;u++){var c=l[u];re(r,c,o[c],a[c],n,t.o)}};function le(e){return e.includes("ref")?u(u([],e.filter((function(e){return"ref"!==e})),!0),["ref"],!1):e}var ce=!1,fe=!1,de=!1,pe=!1,he=function(e,t,n,r){var o,a,i,s,u=t.C[n],l=0;if(ce||(de=!0,"slot"===u.j&&(V&&r.classList.add(V+"-s"),u.o|=u.C?2:1)),null!==u.S)a=u.N=k.createTextNode(u.S);else if(1&u.o)a=u.N=k.createTextNode("");else{if(pe||(pe="svg"===u.j),a=u.N=k.createElementNS(pe?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!ce&&2&u.o?"slot-fb":u.j),pe&&"foreignObject"===u.j&&(pe=!1),ue(null,u,pe),a.getRootNode().querySelector("body"),u.C)for(l=0;l<u.C.length;++l)(i=he(e,u,l,a))&&a.appendChild(i);"svg"===u.j?pe=!1:"foreignObject"===a.tagName&&(pe=!0)}return a["s-hn"]=B,3&u.o&&(a["s-sr"]=!0,a["s-cr"]=H,a["s-sn"]=u.T||"",a["s-rf"]=null==(o=u._)?void 0:o.ref,(s=e&&e.C&&e.C[n])&&s.j===u.j&&e.N&&ge(e.N,!1)),a},ge=function(e,t){O.o|=1;var n=Array.from(e.childNodes);e["s-sr"];for(var r=n.length-1;r>=0;r--){var o=n[r];o["s-hn"]!==B&&o["s-ol"]&&(Pe(we(o),o,be(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,de=!0),t&&ge(o,t)}O.o&=-2},ve=function(e,t,n,r,o,a){var i,s=e["s-cr"]&&e["s-cr"].parentNode||e;for(s.shadowRoot&&s.tagName===B&&(s=s.shadowRoot);o<=a;++o)r[o]&&(i=he(null,n,o,e))&&(r[o].N=i,Pe(s,i,be(t)))},me=function(e,t,n){for(var r=t;r<=n;++r){var o=e[r];if(o){var a=o.N;Ee(o),a&&(fe=!0,a["s-ol"]?a["s-ol"].remove():ge(a,!0),a.remove())}}},ye=function(e,t,n){return void 0===n&&(n=!1),!(e.j!==t.j||("slot"===e.j?"L"in e&&n&&8!==e.N.nodeType||e.T!==t.T:!n&&e.k!==t.k))},be=function(e){return e&&e["s-ol"]||e},we=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode},ke=function(e,t,n){void 0===n&&(n=!1);var r,o=t.N=e.N,a=e.C,i=t.C,s=t.j,u=t.S;null===u?(pe="svg"===s||"foreignObject"!==s&&pe,("slot"!==s||ce)&&ue(e,t,pe),null!==a&&null!==i?function(e,t,n,r,o){void 0===o&&(o=!1);for(var a,i,s=0,u=0,l=0,c=0,f=t.length-1,d=t[0],p=t[f],h=r.length-1,g=r[0],v=r[h];s<=f&&u<=h;)if(null==d)d=t[++s];else if(null==p)p=t[--f];else if(null==g)g=r[++u];else if(null==v)v=r[--h];else if(ye(d,g,o))ke(d,g,o),d=t[++s],g=r[++u];else if(ye(p,v,o))ke(p,v,o),p=t[--f],v=r[--h];else if(ye(d,v,o))"slot"!==d.j&&"slot"!==v.j||ge(d.N.parentNode,!1),ke(d,v,o),Pe(e,d.N,p.N.nextSibling),d=t[++s],v=r[--h];else if(ye(p,g,o))"slot"!==d.j&&"slot"!==v.j||ge(p.N.parentNode,!1),ke(p,g,o),Pe(e,p.N,d.N),p=t[--f],g=r[++u];else{for(l=-1,c=s;c<=f;++c)if(t[c]&&null!==t[c].k&&t[c].k===g.k){l=c;break}l>=0?((i=t[l]).j!==g.j?a=he(t&&t[u],n,l,e):(ke(i,g,o),t[l]=void 0,a=i.N),g=r[++u]):(a=he(t&&t[u],n,u,e),g=r[++u]),a&&Pe(we(d.N),a,be(d.N))}s>f?ve(e,null==r[h+1]?null:r[h+1].N,n,r,u,h):u>h&&me(t,s,f)}(o,a,t,i,n):null!==i?(null!==e.S&&(o.textContent=""),ve(o,null,t,i,0,i.length-1)):!n&&null!==a&&me(a,0,a.length-1),pe&&"svg"===s&&(pe=!1)):(r=o["s-cr"])?r.parentNode.textContent=u:e.S!==u&&(o.data=u)},Oe=function(e){for(var t=e.childNodes,n=0,r=t;n<r.length;n++){var o=r[n];if(1===o.nodeType){if(o["s-sr"]){var a=o["s-sn"];o.hidden=!1;for(var i=0,s=t;i<s.length;i++){var u=s[i];if(u!==o)if(u["s-hn"]!==o["s-hn"]||""!==a){if(1===u.nodeType&&(a===u.getAttribute("slot")||a===u["s-sn"])||3===u.nodeType&&a===u["s-sn"]){o.hidden=!0;break}}else if(1===u.nodeType||3===u.nodeType&&""!==u.textContent.trim()){o.hidden=!0;break}}}Oe(o)}}},xe=[],Se=function(e){for(var t,n,r,o=0,a=e.childNodes;o<a.length;o++){var i=a[o];if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;var s=i["s-sn"],u=function(){if(!(t=n[r])["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==i["s-hn"])if(je(t,s)){var e=xe.find((function(e){return e.A===t}));fe=!0,t["s-sn"]=t["s-sn"]||s,e?(e.A["s-sh"]=i["s-hn"],e.M=i):(t["s-sh"]=i["s-hn"],xe.push({M:i,A:t})),t["s-sr"]&&xe.map((function(n){je(n.A,t["s-sn"])&&(e=xe.find((function(e){return e.A===t})))&&!n.M&&(n.M=e.M)}))}else xe.some((function(e){return e.A===t}))||xe.push({A:t})};for(r=n.length-1;r>=0;r--)u()}1===i.nodeType&&Se(i)}},je=function(e,t){return 1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t},Ee=function(e){e._&&e._.ref&&e._.ref(null),e.C&&e.C.map(Ee)},Pe=function(e,t,n){return null==e?void 0:e.insertBefore(t,n)},Le=function(e,t){t&&!e.O&&t["s-p"]&&t["s-p"].push(new Promise((function(t){return e.O=t})))},Ne=function(e,t){if(e.o|=16,!(4&e.o))return Le(e,e.V),A((function(){return Ce(e,t)}));e.o|=512},Ce=function(e,t){var n,r=e.$hostElement$,o=$(0,e.i.p),a=e.t;if(!a)throw new Error("Can't render component <".concat(r.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"));return t&&(e.o|=256,e.P&&(e.P.map((function(e){var t=e[0],n=e[1];return _e(a,t,n)})),e.P=void 0),n=_e(a,"componentWillLoad")),n=Re(n,(function(){return _e(a,"componentWillRender")})),o(),Re(n,(function(){return De(e,a,t)}))},Re=function(e,t){return Ae(e)?e.then(t).catch((function(e){console.error(e),t()})):t()},Ae=function(e){return e instanceof Promise||e&&e.then&&"function"==typeof e.then},De=function(e,t,n){return i(void 0,void 0,void 0,(function(){var r,o,a,i,l,c,f;return s(this,(function(s){return o=e.$hostElement$,a=$(0,e.i.p),i=o["s-rc"],n&&function(e){var t=e.i,n=e.$hostElement$,r=t.o,o=$(0,t.p),a=function(e,t){var n,r=ne(t),o=m.get(r);if(e=11===e.nodeType?e:k,o)if("string"==typeof o){e=e.head||e;var a=te.get(e),i=void 0;if(a||te.set(e,a=new Set),!a.has(r)){(i=k.createElement("style")).innerHTML=o;var s=null!=(n=O.R)?n:F(k);null!=s&&i.setAttribute("nonce",s),(!(1&t.o)||1&t.o&&"HEAD"!==e.nodeName)&&e.insertBefore(i,e.querySelector("link")),4&t.o&&(i.innerHTML+=y),a&&a.add(r)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=u(u([],e.adoptedStyleSheets,!0),[o],!1));return r}(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&r&&2&r&&(n["s-sc"]=a,n.classList.add(a+"-h")),o()}(e),l=$(0,e.i.p),Te(e,t,o,n),i&&(i.map((function(e){return e()})),o["s-rc"]=void 0),l(),a(),c=null!=(r=o["s-p"])?r:[],f=function(){return Ie(e)},0===c.length?f():(Promise.all(c).then(f),e.o|=4,c.length=0),[2]}))}))},Te=function(e,t,n,r){try{t=t.render(),e.o&=-17,e.o|=2,function(e,t,n){var r,o,a,i;void 0===n&&(n=!1);var s=e.$hostElement$,u=e.i,l=e.D||J(null,null),c=function(e){return e&&e.j===W}(t)?t:z(null,null,t);if(B=s.tagName,u.I&&(c._=c._||{},u.I.map((function(e){var t=e[0],n=e[1];return c._[n]=s[t]}))),n&&c._)for(var f=0,d=Object.keys(c._);f<d.length;f++){var p=d[f];s.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(c._[p]=s[p])}if(c.j=null,c.o|=4,e.D=c,c.N=l.N=s.shadowRoot||s,V=s["s-sc"],ce=!!(1&u.o),H=s["s-cr"],fe=!1,ke(l,c,n),O.o|=1,de){Se(c.N);for(var h=0,g=xe;h<g.length;h++)(b=(y=g[h]).A)["s-ol"]||((j=k.createTextNode(""))["s-nr"]=b,Pe(b.parentNode,b["s-ol"]=j,b));for(var v=0,m=xe;v<m.length;v++){var y,b=(y=m[v]).A,w=y.M;if(w){for(var x=w.parentNode,S=w.nextSibling,j=null==(r=b["s-ol"])?void 0:r.previousSibling;j;){var E=null!=(o=j["s-nr"])?o:null;if(E&&E["s-sn"]===b["s-sn"]&&x===E.parentNode){for(E=E.nextSibling;E===b||(null==E?void 0:E["s-sr"]);)E=null==E?void 0:E.nextSibling;if(!E||!E["s-nr"]){S=E;break}}j=j.previousSibling}(!S&&x!==b.parentNode||b.nextSibling!==S)&&b!==S&&(!b["s-hn"]&&b["s-ol"]&&(b["s-hn"]=b["s-ol"].parentNode.nodeName),Pe(x,b,S),1===b.nodeType&&(b.hidden=null!=(a=b["s-ih"])&&a)),b&&"function"==typeof w["s-rf"]&&w["s-rf"](b)}else 1===b.nodeType&&(n&&(b["s-ih"]=null!=(i=b.hidden)&&i),b.hidden=!0)}}fe&&Oe(c.N),O.o&=-2,xe.length=0,H=void 0}(e,t,r)}catch(t){g(t,e.$hostElement$)}return null},Ie=function(e){var t=e.i.p,n=e.$hostElement$,r=$(0,t),o=e.t,a=e.V;_e(o,"componentDidRender"),64&e.o?(_e(o,"componentDidUpdate"),r()):(e.o|=64,Ue(n),_e(o,"componentDidLoad"),r(),e.v(n),a||Me()),e.O&&(e.O(),e.O=void 0),512&e.o&&R((function(){return Ne(e,!1)})),e.o&=-517},Fe=function(e){var t=d(e),n=t.$hostElement$.isConnected;return n&&2==(18&t.o)&&Ne(t,!1),n},Me=function(e){Ue(k.documentElement),R((function(){return ee(w,"appload",{detail:{namespace:l}})}))},_e=function(e,t,n){if(e&&e[t])try{return e[t](n)}catch(e){g(e)}},Ue=function(e){return e.classList.add("hydrated")},Ve=function(e,t,n){var r,o,a=e.prototype;if(t.F||t.$||e.watchers){e.watchers&&!t.$&&(t.$=e.watchers);var i=Object.entries(null!=(r=t.F)?r:{});if(i.map((function(e){var r=e[0],o=e[1][0];(31&o||2&n&&32&o)&&Object.defineProperty(a,r,{get:function(){return function(e,t){return d(e).l.get(t)}(this,r)},set:function(e){!function(e,t,n,r){var o=d(e);if(!o)throw new Error("Couldn't find host element for \"".concat(r.p,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).'));var a=o.$hostElement$,i=o.l.get(t),s=o.o,u=o.t;n=function(e,t){return null==e||I(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e}(n,r.F[t][0]);var l=Number.isNaN(i)&&Number.isNaN(n);if((!(8&s)||void 0===i)&&n!==i&&!l&&(o.l.set(t,n),u)){if(r.$&&128&s){var c=r.$[t];c&&c.map((function(e){try{u[e](n,i,t)}catch(e){g(e,a)}}))}2==(18&s)&&Ne(o,!1)}}(this,r,e,t)},configurable:!0,enumerable:!0})})),1&n){var s=new Map;a.attributeChangedCallback=function(e,n,r){var o=this;O.jmp((function(){var i,u=s.get(e);if(o.hasOwnProperty(u))r=o[u],delete o[u];else{if(a.hasOwnProperty(u)&&"number"==typeof o[u]&&o[u]==r)return;if(null==u){var l=d(o),c=null==l?void 0:l.o;if(c&&!(8&c)&&128&c&&r!==n){var f=l.t,p=null==(i=t.$)?void 0:i[e];null==p||p.forEach((function(t){null!=f[t]&&f[t].call(f,r,n,e)}))}return}}o[u]=(null!==r||"boolean"!=typeof o[u])&&r}))},e.observedAttributes=Array.from(new Set(u(u([],Object.keys(null!=(o=t.$)?o:{}),!0),i.filter((function(e){return e[0],15&e[1][0]})).map((function(e){var n,r=e[0],o=e[1],a=o[1]||r;return s.set(a,r),512&o[0]&&(null==(n=t.I)||n.push([r,a])),a})),!0)))}}return e},He=function(e){_e(e,"connectedCallback")},Be=function(e){_e(e,"disconnectedCallback")},qe=function(e,t){var r;void 0===t&&(t={});var a,u=$(),l=[],c=t.exclude||[],p=w.customElements,h=k.head,b=h.querySelector("meta[charset]"),x=k.createElement("style"),S=[],E=!0;Object.assign(O,t),O.h=new URL(t.resourcesUrl||"./",k.baseURI).href;var P=!1;if(e.map((function(e){e[1].map((function(t){var r,u={o:t[0],p:t[1],F:t[2],H:t[3]};4&u.o&&(P=!0),u.F=t[2],u.H=t[3],u.I=[],u.$=null!=(r=t[4])?r:{};var h=u.p,y=function(e){function t(t){var n=e.call(this,t)||this;if(n.hasRegisteredEventListeners=!1,function(e,t){var n={o:0,$hostElement$:e,i:t,l:new Map};n.u=new Promise((function(e){return n.v=e})),e["s-p"]=[],e["s-rc"]=[],f.set(e,n)}(t=n,u),1&u.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw new Error("Unable to re-use existing shadow root for ".concat(u.p,"! Mode is set to ").concat(t.shadowRoot.mode," but Stencil only supports open shadow roots."))}else t.attachShadow({mode:"open"});return n}return o(t,e),t.prototype.connectedCallback=function(){var e=this,t=d(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,$e(this,t,u.H)),a&&(clearTimeout(a),a=null),E?S.push(this):O.jmp((function(){return function(e){if(!(1&O.o)){var t=d(e),r=t.i,o=$(0,r.p);if(1&t.o)$e(e,t,r.H),(null==t?void 0:t.t)?He(t.t):(null==t?void 0:t.u)&&t.u.then((function(){return He(t.t)}));else{t.o|=1,12&r.o&&function(e){var t=e["s-cr"]=k.createComment("");t["s-cn"]=!0,Pe(e,t,e.firstChild)}(e);for(var a=e;a=a.parentNode||a.host;)if(a["s-p"]){Le(t,t.V=a);break}r.F&&Object.entries(r.F).map((function(t){var n=t[0];if(31&t[1][0]&&e.hasOwnProperty(n)){var r=e[n];delete e[n],e[n]=r}})),function(e,t,r){i(void 0,void 0,void 0,(function(){var o,a,i,u,l,c,f,d,p,h;return s(this,(function(s){switch(s.label){case 0:return 32&t.o?[3,6]:(t.o|=32,r.m?(a=function(e){var t=e.p.replace(/-/g,"_"),r=e.m;if(r){var o=v.get(r);if(o)return o[t];var a=function(e){return v.set(r,e),e[t]};switch(r){case"va-additional-info":return n.e(5990).then(n.bind(n,5990)).then(a,g);case"va-alert-expandable":return n.e(6849).then(n.bind(n,6849)).then(a,g);case"va-alert-sign-in":return n.e(1822).then(n.bind(n,1822)).then(a,g);case"va-back-to-top":return n.e(6095).then(n.bind(n,6095)).then(a,g);case"va-banner":return n.e(6830).then(n.bind(n,6830)).then(a,g);case"va-breadcrumbs":return n.e(6308).then(n.bind(n,6308)).then(a,g);case"va-button-pair":return n.e(4157).then(n.bind(n,4157)).then(a,g);case"va-button-segmented":return n.e(3305).then(n.bind(n,3305)).then(a,g);case"va-date":return n.e(6696).then(n.bind(n,6696)).then(a,g);case"va-file-input-multiple":return n.e(2236).then(n.bind(n,2236)).then(a,g);case"va-header-minimal":return n.e(4351).then(n.bind(n,4351)).then(a,g);case"va-language-toggle":return n.e(7495).then(n.bind(n,7495)).then(a,g);case"va-link-action":return n.e(7307).then(n.bind(n,7307)).then(a,g);case"va-loading-indicator":return n.e(6498).then(n.bind(n,6498)).then(a,g);case"va-maintenance-banner":return n.e(272).then(n.bind(n,272)).then(a,g);case"va-memorable-date":return n.e(5663).then(n.bind(n,5663)).then(a,g);case"va-minimal-footer":return n.e(5689).then(n.bind(n,5689)).then(a,g);case"va-need-help":return n.e(2482).then(n.bind(n,2482)).then(a,g);case"va-notification":return n.e(8915).then(n.bind(n,8915)).then(a,g);case"va-omb-info":return n.e(3397).then(n.bind(n,3397)).then(a,g);case"va-on-this-page":return n.e(12).then(n.bind(n,12)).then(a,g);case"va-pagination":return n.e(9496).then(n.bind(n,9496)).then(a,g);case"va-privacy-agreement":return n.e(5119).then(n.bind(n,5119)).then(a,g);case"va-process-list":return n.e(6832).then(n.bind(n,6832)).then(a,g);case"va-process-list-item":return n.e(2986).then(n.bind(n,2986)).then(a,g);case"va-promo-banner":return n.e(3600).then(n.bind(n,3600)).then(a,g);case"va-radio":return n.e(8913).then(n.bind(n,8913)).then(a,g);case"va-radio-option":return n.e(323).then(n.bind(n,323)).then(a,g);case"va-search-filter":return n.e(251).then(n.bind(n,251)).then(a,g);case"va-search-input":return n.e(5845).then(n.bind(n,5845)).then(a,g);case"va-segmented-progress-bar":return n.e(4432).then(n.bind(n,4432)).then(a,g);case"va-service-list-item":return n.e(960).then(n.bind(n,960)).then(a,g);case"va-statement-of-truth":return n.e(7481).then(n.bind(n,7481)).then(a,g);case"va-summary-box":return n.e(6718).then(n.bind(n,6718)).then(a,g);case"va-table":return n.e(7734).then(n.bind(n,7734)).then(a,g);case"va-table-row":return n.e(8463).then(n.bind(n,8463)).then(a,g);case"va-telephone-input":return n.e(8255).then(n.bind(n,8255)).then(a,g);case"va-textarea":return n.e(6650).then(n.bind(n,6650)).then(a,g);case"va-accordion_3":return n.e(9474).then(n.bind(n,9474)).then(a,g);case"va-alert":return n.e(9376).then(n.bind(n,9376)).then(a,g);case"va-combo-box":return n.e(7372).then(n.bind(n,7372)).then(a,g);case"va-crisis-line-modal_2":return n.e(2205).then(n.bind(n,2205)).then(a,g);case"va-critical-action":return n.e(7084).then(n.bind(n,7084)).then(a,g);case"va-file-input":return n.e(6555).then(n.bind(n,6555)).then(a,g);case"va-table-inner":return n.e(9851).then(n.bind(n,9851)).then(a,g);case"va-button-icon_3":return n.e(1966).then(n.bind(n,1966)).then(a,g);case"va-select":return n.e(4780).then(n.bind(n,4780)).then(a,g);case"va-checkbox":return n.e(3589).then(n.bind(n,3589)).then(a,g);case"va-modal_2":return n.e(9186).then(n.bind(n,9186)).then(a,g);case"va-link":return n.e(0).then(n.bind(n,0)).then(a,g);case"va-text-input":return n.e(7166).then(n.bind(n,7166)).then(a,g);case"va-button":return n.e(4400).then(n.bind(n,4400)).then(a,g);case"va-icon":return n.e(141).then(n.bind(n,141)).then(a,g)}return n(6494)("./".concat(r,".entry.js").concat("")).then((function(e){return v.set(r,e),e[t]}),g)}}(r),a&&"then"in a?(i=function(){},[4,a]):[3,2]):[3,4]);case 1:return o=s.sent(),i(),[3,3];case 2:o=a,s.label=3;case 3:if(!o)throw new Error('Constructor for "'.concat(r.p,"#").concat(t.U,'" was not found'));o.isProxied||(r.$=o.watchers,Ve(o,r,2),o.isProxied=!0),u=$(0,r.p),t.o|=8;try{new o(t)}catch(e){g(e)}return t.o&=-9,t.o|=128,u(),He(t.t),[3,5];case 4:o=e.constructor,l=e.localName,customElements.whenDefined(l).then((function(){return t.o|=128})),s.label=5;case 5:o&&o.style&&(c=void 0,"string"==typeof o.style&&(c=o.style),f=ne(r),m.has(f)||(d=$(0,r.p),function(e,t,n){var r=m.get(e);j&&n?"string"==typeof(r=r||new CSSStyleSheet)?r=t:r.replaceSync(t):r=t,m.set(e,r)}(f,c,!!(1&r.o)),d())),s.label=6;case 6:return p=t.V,h=function(){return Ne(t,!0)},p&&p["s-rc"]?p["s-rc"].push(h):h(),[2]}}))}))}(e,t,r)}o()}}(e)}))},t.prototype.disconnectedCallback=function(){var e=this;O.jmp((function(){return function(e){return i(void 0,void 0,void 0,(function(){var t;return s(this,(function(n){return 1&O.o||((t=d(e)).B&&(t.B.map((function(e){return e()})),t.B=void 0),(null==t?void 0:t.t)?Be(t.t):(null==t?void 0:t.u)&&t.u.then((function(){return Be(t.t)}))),[2]}))}))}(e)}))},t.prototype.componentOnReady=function(){return d(this).u},t}(HTMLElement);!function(e,t){var n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.item=function(e){return this[e]},t}(Array);if(8&t.o){var r=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return 1===e.nodeType}))}}),Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}}),Object.defineProperty(e,"childNodes",{get:function(){var e=r.call(this);if(!(1&O.o)&&2&d(this).o){for(var t=new n,o=0;o<e.length;o++){var a=e[o]["s-nr"];a&&t.push(a)}return t}return n.from(e)}})}}(y.prototype,u),u.m=e[0],c.includes(h)||p.get(h)||(l.push(h),p.define(h,Ve(y,u,1)))}))})),l.length>0&&(P&&(x.textContent+=y),x.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",x.innerHTML.length)){x.setAttribute("data-styles","");var L=null!=(r=O.R)?r:F(k);null!=L&&x.setAttribute("nonce",L),h.insertBefore(x,b?b.nextSibling:h.firstChild)}E=!1,S.length?S.map((function(e){return e.connectedCallback()})):O.jmp((function(){return a=setTimeout(Me,30)})),u()},Ke=function(e,t){return t},$e=function(e,t,n,r){n&&n.map((function(n){var r=n[0],o=n[1],a=n[2],i=Je(e,r),s=ze(t,a),u=We(r);O.ael(i,o,s,u),(t.B=t.B||[]).push((function(){return O.rel(i,o,s,u)}))}))},ze=function(e,t){return function(n){var r;try{256&e.o?null==(r=e.t)||r[t](n):(e.P=e.P||[]).push([t,n])}catch(e){g(e)}}},Je=function(e,t){return 8&t?w:e},We=function(e){return x?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e)},Ye=function(e){return O.R=e}},4882:function(e,t,n){"use strict";n.r(t),n.d(t,{CONTACTS:function(){return r.C},contactsMap:function(){return r.c},i18next:function(){return o.i}});var r=n(7470),o=n(3244)},5023:function(e,t,n){"use strict";n.r(t),n.d(t,{defineCustomElements:function(){return a},setNonce:function(){return r.s}});var r=n(7911),o=n(7885),a=function(e,t){return function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){e.done?n(e.value):o(e.value).then(i,s)}u((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){return function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=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 i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}(this,(function(e){switch(e.label){case 0:return"undefined"==typeof window?[2,void 0]:[4,(0,o.g)()];case 1:return e.sent(),[2,(0,r.b)(JSON.parse('[["va-file-input-multiple",[[1,"va-file-input-multiple",{"label":[1],"name":[1],"required":[4],"accept":[1],"errors":[16],"encrypted":[16],"hint":[1],"enableAnalytics":[4,"enable-analytics"],"headerSize":[2,"header-size"],"value":[16],"readOnly":[4,"read-only"],"slotFieldIndexes":[16],"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-search-filter",[[1,"va-search-filter",{"header":[1],"filterOptions":[1040],"totalActiveFilters":[32]},[[9,"resize","handleResize"]],{"filterOptions":["filterOptionsChanged"]}]]],["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-privacy-agreement",[[1,"va-privacy-agreement",{"checked":[1028],"showError":[4,"show-error"],"enableAnalytics":[4,"enable-analytics"]}]]],["va-service-list-item",[[1,"va-service-list-item",{"serviceName":[1,"service-name"],"serviceNameHeadingLevel":[2,"service-name-heading-level"],"serviceLink":[1,"service-link"],"serviceStatus":[1,"service-status"],"serviceDetails":[1,"service-details"],"icon":[1],"action":[1],"optionalLink":[1,"optional-link"],"parsedServiceDetails":[32],"parsedAction":[32],"parsedOptionalLink":[32]},null,{"serviceDetails":["handleServiceDetailsChange"],"action":["handleActionChange"],"optionalLink":["handleOptionalLinkChange"]}]]],["va-telephone-input",[[1,"va-telephone-input",{"contact":[1537],"country":[1537],"label":[1],"hint":[1],"error":[1537],"noCountry":[4,"no-country"],"required":[4],"showInternalErrors":[4,"show-internal-errors"],"formattedContact":[32],"countries":[32],"countryError":[32],"contactError":[32],"isValid":[32],"touched":[32]},null,{"error":["syncErrorMessages"]}]]],["va-alert-sign-in",[[1,"va-alert-sign-in",{"variant":[1],"headingLevel":[2,"heading-level"],"visible":[4],"timeLimit":[1,"time-limit"],"noSignInLink":[1,"no-sign-in-link"]}]]],["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"],"dismissedBannerId":[1,"dismissed-banner-id"],"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-language-toggle",[[1,"va-language-toggle",{"language":[1025],"enHref":[1,"en-href"],"esHref":[1,"es-href"],"tlHref":[1,"tl-href"],"routerLinks":[4,"router-links"],"urls":[32]}]]],["va-table",[[1,"va-table",{"tableTitle":[1,"table-title"],"tableType":[1,"table-type"],"stacked":[4],"scrollable":[4],"sortable":[4],"striped":[4],"fullWidth":[4,"full-width"],"rightAlignCols":[1,"right-align-cols"],"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],"showClearButton":[32]},null,{"value":["watchValueHandler"],"suggestions":["watchSuggestionsHandler"]}]]],["va-breadcrumbs",[[1,"va-breadcrumbs",{"label":[1],"wrapping":[4],"breadcrumbList":[1,"breadcrumb-list"],"homeVeteransAffairs":[4,"home-veterans-affairs"],"currentPageRedirect":[4,"current-page-redirect"],"disableAnalytics":[4,"disable-analytics"],"formattedBreadcrumbs":[32]},null,{"breadcrumbList":["watchBreadcrumbListHandler"]}]]],["va-button-segmented",[[1,"va-button-segmented",{"label":[1],"buttons":[1040],"disableAnalytics":[4,"disable-analytics"],"selected":[1026]},null,{"buttons":["validateButtons"],"selected":["validateSelectedIndex"]}]]],["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"],"page":[2],"pages":[2],"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],"statusText":[1,"status-text"]}]]],["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-text-input",[[1,"va-text-input",{"label":[1],"error":[1537],"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],"errorHasPii":[4,"error-has-pii"],"paddingLeftValue":[32],"paddingRightValue":[32]}]]],["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],"statusText":[1,"status-text"],"uploadMessage":[16],"enableAnalytics":[4,"enable-analytics"],"headerSize":[2,"header-size"],"headless":[4],"readOnly":[4,"read-only"],"encrypted":[4],"uploadedFile":[16],"maxFileSize":[2,"max-file-size"],"percentUploaded":[1026,"percent-uploaded"],"file":[32],"fileContents":[32],"internalError":[32],"showModal":[32],"showSeparator":[32]},null,{"statusText":["handleValueChange"],"percentUploaded":["percentHandler"]}]]],["va-alert",[[1,"va-alert",{"status":[513],"disableAnalytics":[4,"disable-analytics"],"visible":[4],"closeBtnAriaLabel":[1025,"close-btn-aria-label"],"closeable":[516],"fullWidth":[4,"full-width"],"slim":[4]}]]],["va-critical-action",[[1,"va-critical-action",{"link":[1],"text":[1]}]]],["va-table-inner",[[1,"va-table-inner",{"tableTitle":[1,"table-title"],"rows":[2],"cols":[2],"tableType":[1,"table-type"],"stacked":[4],"sortable":[4],"scrollable":[4],"striped":[4],"fullWidth":[4,"full-width"],"rightAlignCols":[1,"right-align-cols"],"sortdir":[32],"sortindex":[32]}]]],["va-combo-box",[[1,"va-combo-box",{"required":[4],"disabled":[4],"label":[1],"placeholder":[1],"name":[1],"value":[1537],"error":[1],"hint":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"showInputError":[4,"show-input-error"],"options":[32],"labelNode":[32]},[[0,"input","handleInput"]],{"error":["updateErrorClass"]}]]],["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-select",[[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],"fullWidth":[4,"full-width"],"showError":[4,"show-error"],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"],"options":[32]},null,{"value":["handleValueChange"]}]]],["va-accordion_3",[[1,"va-accordion",{"openSingle":[4,"open-single"],"disableAnalytics":[4,"disable-analytics"],"sectionHeading":[1,"section-heading"],"expanded":[32]},[[0,"accordionItemToggled","itemToggledHandler"]]],[1,"va-accordion-item",{"header":[1],"headerSrOnly":[1,"header-sr-only"],"subheader":[1],"open":[516],"level":[2],"bordered":[4],"slotHeader":[32],"slotTag":[32]}],[1,"va-checkbox-group",{"label":[1],"labelSrOnly":[1,"label-sr-only"],"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"],[9,"resize","handleResize"]]]]],["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],"indeterminate":[4]}]]],["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"],"language":[1]}]]],["va-button-icon_3",[[1,"va-button-icon",{"disableAnalytics":[4,"disable-analytics"],"label":[1],"buttonType":[1,"button-type"]},[[0,"click","handleClick"]]],[1,"va-progress-bar",{"enableAnalytics":[4,"enable-analytics"],"percent":[2],"label":[1]}],[1,"va-card",{"showShadow":[4,"show-shadow"],"background":[4],"iconName":[1,"icon-name"]}]]],["va-button",[[1,"va-button",{"back":[516],"big":[516],"continue":[516],"disableAnalytics":[4,"disable-analytics"],"disabled":[516],"fullWidth":[4,"full-width"],"loading":[516],"label":[1],"primaryAlternate":[4,"primary-alternate"],"secondary":[516],"submit":[1],"text":[1],"messageAriaDescribedby":[1,"message-aria-describedby"]},[[0,"click","handleClickOverride"]],{"loading":["announceLoadingChange"]}]]],["va-modal_2",[[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"],"disableAnalytics":[4,"disable-analytics"]}],[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"]}]]]]'),t)]}}))}))}},9870:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},1513:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var l in a=Object(arguments[u]))n.call(a,l)&&(s[l]=a[l]);if(t){i=t(a);for(var c=0;c<i.length;c++)r.call(a,i[c])&&(s[i[c]]=a[i[c]])}}return s}},5465:function(e,t,n){"use strict";n.r(t),n.d(t,{AutoFocusInside:function(){return ft},FocusOn:function(){return lt},InFocusGuard:function(){return S},MoveFocusInside:function(){return pt},classNames:function(){return ht}});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create,Object.create;var a=n(4041),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},s="right-scroll-bar-position",u="width-before-scroll-bar",l=function(){return l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)};function c(e){return e}function f(e,t){void 0===t&&(t=c);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}}}function d(e,t){return void 0===t&&(t=c),f(e,t)}function p(e){void 0===e&&(e={});var t=f(null);return t.options=l({async:!0,ssr:!1},e),t}var h=p();function g(e,t){return n=t,r=function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))},(o=(0,a.useState)((function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}}))[0]).callback=r,o.facade;var n,r,o}var v=function(){},m=a.forwardRef((function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:v}),o=r[0],s=r[1],u=e.forwardProps,l=e.children,c=e.className,f=e.removeScrollBar,d=e.enabled,p=e.shards,m=e.sideCar,y=e.noIsolation,b=e.inert,w=e.allowPinchZoom,k=e.as,O=void 0===k?"div":k,x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),S=m,j=g([n,t]),E=i({},x,o);return a.createElement(a.Fragment,null,d&&a.createElement(S,{sideCar:h,removeScrollBar:f,shards:p,noIsolation:y,inert:b,setCallbacks:s,allowPinchZoom:!!w,lockRef:n}),u?a.cloneElement(a.Children.only(l),i({},E,{ref:j})):a.createElement(O,i({},E,{className:c,ref:j}),l))}));function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}m.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},m.classNames={fullWidth:u,zeroRight:s};var b="data-focus-lock",w="data-focus-lock-disabled",k="data-autofocus-inside",O={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},x=function(e){var t=e.children;return a.createElement(a.Fragment,null,a.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:O}),t,t&&a.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:O}))};x.propTypes={},x.defaultProps={children:null};var S=x,j=d({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),E=d(),P=d(),L=p({async:!0}),N=[],C=a.forwardRef((function(e,t){var n,r=a.useState(),o=r[0],i=r[1],s=a.useRef(),u=a.useRef(!1),l=a.useRef(null),c=e.children,f=e.disabled,d=e.noFocusGuards,p=e.persistentFocus,h=e.crossFrame,v=e.autoFocus,m=(e.allowTextSelection,e.group),k=e.className,x=e.whiteList,S=e.hasPositiveIndices,P=e.shards,C=void 0===P?N:P,R=e.as,A=void 0===R?"div":R,D=e.lockProps,T=void 0===D?{}:D,I=e.sideCar,F=e.returnFocus,M=e.focusOptions,_=e.onActivation,U=e.onDeactivation,V=a.useState({})[0],H=a.useCallback((function(){l.current=l.current||document&&document.activeElement,s.current&&_&&_(s.current),u.current=!0}),[_]),B=a.useCallback((function(){u.current=!1,U&&U(s.current)}),[U]);(0,a.useEffect)((function(){f||(l.current=null)}),[]);var q=a.useCallback((function(e){var t=l.current;if(t&&t.focus){var n="function"==typeof F?F(t):F;if(n){var r="object"==typeof n?n:void 0;l.current=null,e?Promise.resolve().then((function(){return t.focus(r)})):t.focus(r)}}}),[F]),K=a.useCallback((function(e){u.current&&j.useMedium(e)}),[]),$=E.useMedium,z=a.useCallback((function(e){s.current!==e&&(s.current=e,i(e))}),[]),J=y(((n={})[w]=f&&"disabled",n[b]=m,n),T),W=!0!==d,Y=W&&"tail"!==d,G=g([t,z]);return a.createElement(a.Fragment,null,W&&[a.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:O}),S?a.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:O}):null],!f&&a.createElement(I,{id:V,sideCar:L,observed:o,disabled:f,persistentFocus:p,crossFrame:h,autoFocus:v,whiteList:x,shards:C,onActivation:H,onDeactivation:B,returnFocus:q,focusOptions:M}),a.createElement(A,y({ref:G},J,{className:k,onBlur:$,onFocus:K}),c),Y&&a.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:O}))}));C.propTypes={},C.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var R=C,A=p(),D="data-focus-on-hidden",T=a.forwardRef((function(e,t){var n=a.useState(!1),i=n[0],s=n[1],u=e.children,l=e.autoFocus,c=e.shards,f=e.enabled,d=void 0===f||f,p=e.scrollLock,h=void 0===p||p,g=e.focusLock,v=void 0===g||g,y=e.returnFocus,b=void 0===y||y,w=e.inert,k=e.allowPinchZoom,O=e.sideCar,x=e.className,S=e.shouldIgnore,j=e.style,E=e.as,P=o(e,["children","autoFocus","shards","enabled","scrollLock","focusLock","returnFocus","inert","allowPinchZoom","sideCar","className","shouldIgnore","style","as"]),L=O,N=i.onActivation,C=i.onDeactivation,D=o(i,["onActivation","onDeactivation"]);return a.createElement(a.Fragment,null,a.createElement(R,{ref:t,sideCar:O,disabled:!(i&&d&&v),returnFocus:b,autoFocus:l,shards:c,onActivation:N,onDeactivation:C,className:x,as:m,whiteList:S,lockProps:r({},D,{sideCar:O,shards:c,allowPinchZoom:k,as:E,inert:w,style:j,enabled:d&&h})},u),d&&a.createElement(L,r({},P,{sideCar:A,setLockProps:s,shards:c})))})),I=function(e){var t=e.sideCar,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return a.createElement(r,l({},n))};function F(e,t){return e.useMedium(t),I}function M(e,t){return M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},M(e,t)}I.isSideCarExport=!0;var _=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},U=function(e){return Array.isArray(e)?e:[e]},V=function(){return document.activeElement?document.activeElement.shadowRoot?document.activeElement.shadowRoot.activeElement:document.activeElement:void 0},H=function(e){return e.parentNode?H(e.parentNode):e},B=function(e){return U(e).filter(Boolean).reduce((function(e,t){var n=t.getAttribute(b);return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var a=e[r].compareDocumentPosition(e[o]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter((function(e,n){return!t.has(n)}))}(_(H(t).querySelectorAll("[".concat(b,'="').concat(n,'"]:not([').concat(w,'="disabled"])')))):[t]),e}),[])},q=function(e){var t=document&&V();return!(!t||t.dataset&&t.dataset.focusGuard)&&B(e).reduce((function(e,n){return e||n.contains(t)||function(e){return Boolean(_(e.querySelectorAll("iframe")).some((function(e){return e===document.activeElement})))}(n)}),!1)},K=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue||"none"!==t.getPropertyValue("display")&&"hidden"!==t.getPropertyValue("visibility"))}(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)}(t,K.bind(void 0,e));return e.set(t,r),r},$=function(e){return e.dataset},z=function(e){return"INPUT"===e.tagName},J=function(e){return z(e)&&"radio"===e.type},W=function(e){var t;return Boolean(e&&(null===(t=$(e))||void 0===t?void 0:t.focusGuard))},Y=function(e){return!W(e)},G=function(e){return Boolean(e)},Z=function(e,t){return J(e)&&e.name?function(e,t){return t.filter(J).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},X=function(e){return e[0]&&e.length>1?Z(e[0],e):e[0]},Q=function(e,t){return e.length>1?e.indexOf(Z(e[t],e)):t},ee="NEW_FOCUS",te=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return n||r},ne=function(e,t,n){return _(e).map((function(e,t){return{node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(te)},re=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),oe="".concat(re,", [data-focus-guard]"),ae=function(e,t){return e.reduce((function(e,n){return e.concat(_(n.querySelectorAll(t?oe:re)),n.parentNode?_(n.parentNode.querySelectorAll(re)).filter((function(e){return e===n})):[])}),[])},ie=function(e,t){return _(e).filter((function(e){return K(t,e)})).filter((function(e){return function(e){return!((z(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled)||e.ariaDisabled)}(e)}))},se=function(e,t,n){return ne(ie(ae(e,n),t),!0,n)},ue=function(e,t){return ne(ie(ae(e),t),!1)},le=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&le(e.parentNode,t),t},ce=function(e,t){for(var n=le(e),r=le(t),o=0;o<n.length;o+=1){var a=n[o];if(r.indexOf(a)>=0)return a}return!1},fe=function(e,t,n){var r=U(e),o=U(t),a=r[0],i=!1;return o.filter(Boolean).forEach((function(e){i=ce(i||e,e)||i,n.filter(Boolean).forEach((function(e){var t=ce(a,e);t&&(i=!i||t.contains(i)?t:ce(t,i))}))})),i},de=function(e,t){var n=document&&V(),r=B(e).filter(Y),o=fe(n||e,e,r),a=new Map,i=ue(r,a),s=se(r,a).filter((function(e){var t=e.node;return Y(t)}));if(s[0]||(s=i)[0]){var u,l,c,f,d=ue([o],a).map((function(e){return e.node})),p=(u=d,l=s,c=new Map,l.forEach((function(e){return c.set(e.node,e)})),u.map((function(e){return c.get(e)})).filter(G)),h=p.map((function(e){return e.node})),g=function(e,t,n,r){var o=e.length,a=e[0],i=e[o-1],s=W(n);if(!(n&&e.indexOf(n)>=0)){var u,l,c=void 0!==n?t.indexOf(n):-1,f=r?t.indexOf(r):c,d=r?e.indexOf(r):-1,p=c-f,h=t.indexOf(a),g=t.indexOf(i),v=(u=t,l=new Set,u.forEach((function(e){return l.add(Z(e,u))})),u.filter((function(e){return l.has(e)}))),m=(void 0!==n?v.indexOf(n):-1)-(r?v.indexOf(r):c),y=Q(e,0),b=Q(e,o-1);return-1===c||-1===d?ee:!p&&d>=0?d:c<=h&&s&&Math.abs(p)>1?b:c>=g&&s&&Math.abs(p)>1?y:p&&Math.abs(m)>1?d:c<=h?b:c>g?y:p?Math.abs(p)>1?d:(o+d+p)%o:void 0}}(h,d,n,t);if(g===ee){var v=i.map((function(e){return e.node})).filter((f=function(e,t){return e.reduce((function(e,n){return e.concat(function(e,t){return ie((n=e.querySelectorAll("[".concat(k,"]")),_(n).map((function(e){return ae([e])})).reduce((function(e,t){return e.concat(t)}),[])),t);var n}(n,t))}),[])}(r,a),function(e){var t;return e.autofocus||!!(null===(t=$(e))||void 0===t?void 0:t.autofocus)||f.indexOf(e)>=0}));return{node:v&&v.length?X(v):X(h)}}return void 0===g?g:p[g]}},pe=0,he=!1,ge=function(e,t,n){void 0===n&&(n={});var r,o,a=de(e,t);if(!he&&a){if(pe>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),he=!0,void setTimeout((function(){he=!1}),1);pe++,r=a.node,o=n.focusOptions,"focus"in r&&r.focus(o),"contentWindow"in r&&r.contentWindow&&r.contentWindow.focus(),pe--}};function ve(e){var t=window.setImmediate;void 0!==t?t(e):setTimeout(e,1)}var me=function(e,t){var n={};return n[e]=t,n},ye=null,be=null,we=null,ke=!1,Oe=function(){return!0};function xe(e,t,n,r){var o=null,a=e;do{var i=r[a];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else{if(!i.lockItem)break;if(a!==e)return;o=null}}while((a+=n)!==t);o&&(o.node.tabIndex=0)}var Se=function(e){return e&&"current"in e?e.current:e},je=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},Ee=function(){var e,t,n,r,o,a,i,s=!1;if(ye){var u=ye,l=u.observed,c=u.persistentFocus,f=u.autoFocus,d=u.shards,p=u.crossFrame,h=u.focusOptions,g=l||we&&we.portaledElement,v=document&&document.activeElement;if(g){var m=[g].concat(d.map(Se).filter(Boolean));if(v&&!function(e){return(ye.whiteList||Oe)(e)}(v)||(c||(p?Boolean(ke):"meanwhile"===ke)||!function(){return document&&document.activeElement===document.body||!!(e=document&&V())&&_(document.querySelectorAll("[".concat("data-no-focus-lock","]"))).some((function(t){return t.contains(e)}));var e}()||!be&&f)&&(g&&!(q(m)||v&&function(e,t){return t.some((function(t){return je(e,t,t)}))}(v,m)||(i=v,we&&we.portaledElement===i))&&(document&&!be&&v&&!f?(v.blur&&v.blur(),document.body.focus()):(s=ge(m,be,{focusOptions:h}),we={})),ke=!1,be=document&&document.activeElement),document){var y=document&&document.activeElement,b=(t=B(e=m).filter(Y),n=fe(e,e,t),r=new Map,o=se([n],r,!0),a=se(t,r).filter((function(e){var t=e.node;return Y(t)})).map((function(e){return e.node})),o.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:a.indexOf(t)>=0,guard:W(t)}}))),w=b.map((function(e){return e.node})).indexOf(y);w>-1&&(b.filter((function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),xe(w,b.length,1,b),xe(w,-1,-1,b))}}}return s},Pe=function(e){Ee()&&e&&(e.stopPropagation(),e.preventDefault())},Le=function(){return ve(Ee)},Ne=function(){ke="just",setTimeout((function(){ke="meanwhile"}),0)};j.assignSyncMedium((function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(we={observerNode:n,portaledElement:t})})),E.assignMedium(Le),P.assignMedium((function(e){return e({moveFocusInside:ge,focusInside:q})}));var Ce,Re,Ae=(Ce=function(e){return e.filter((function(e){return!e.disabled}))},Re=function(e){var t=e.slice(-1)[0];t&&!ye&&(document.addEventListener("focusin",Pe),document.addEventListener("focusout",Le),window.addEventListener("blur",Ne));var n=ye,r=n&&t&&t.id===n.id;ye=t,n&&!r&&(n.onDeactivation(),e.filter((function(e){return e.id===n.id})).length||n.returnFocus(!t)),t?(be=null,r&&n.observed===t.observed||t.onActivation(),Ee(),ve(Ee)):(document.removeEventListener("focusin",Pe),document.removeEventListener("focusout",Le),window.removeEventListener("blur",Ne),be=null)},function(e){var t,n=[];function r(){t=Ce(n.map((function(e){return e.props}))),Re(t)}var o,i,s,u=function(o){var i,s;function u(){return o.apply(this,arguments)||this}s=o,(i=u).prototype=Object.create(s.prototype),i.prototype.constructor=i,M(i,s),u.peek=function(){return t};var l=u.prototype;return l.componentDidMount=function(){n.push(this),r()},l.componentDidUpdate=function(){r()},l.componentWillUnmount=function(){var e=n.indexOf(this);n.splice(e,1),r()},l.render=function(){return a.createElement(e,this.props)},u}(a.PureComponent);return o=u,i="displayName",s="SideEffect("+function(e){return e.displayName||e.name||"Component"}(e)+")",i in o?Object.defineProperty(o,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[i]=s,u})((function(){return null}));F(L,Ae);var De=function(){var e=0,t=null;return{add:function(r){var o,a;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=n.nc;return t&&e.setAttribute("nonce",t),e}())&&(a=r,(o=t).styleSheet?o.styleSheet.cssText=a:o.appendChild(document.createTextNode(a)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Te=function(){var e,t=(e=De(),function(t){a.useEffect((function(){return e.add(t),function(){e.remove()}}),[])});return function(e){var n=e.styles;return t(n),null}},Ie={left:0,top:0,right:0,gap:0},Fe=function(e){return parseInt(e||"",10)||0},Me=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Ie;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Fe(n),Fe(r),Fe(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},_e=Te(),Ue=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .with-scroll-bars-hidden {\n overflow: hidden "+r+";\n padding-right: "+l+"px "+r+";\n }\n body {\n overflow: hidden "+r+";\n "+[t&&"position: relative "+r+";","margin"===n&&"\n padding-left: "+o+"px;\n padding-top: "+a+"px;\n padding-right: "+i+"px;\n margin-left:0;\n margin-top:0;\n margin-right: "+l+"px "+r+";\n ","padding"===n&&"padding-right: "+l+"px "+r+";"].filter(Boolean).join("")+"\n }\n \n ."+s+" {\n right: "+l+"px "+r+";\n }\n \n ."+u+" {\n margin-right: "+l+"px "+r+";\n }\n \n ."+s+" ."+s+" {\n right: 0 "+r+";\n }\n \n ."+u+" ."+u+" {\n margin-right: 0 "+r+";\n }\n \n body {\n --removed-body-scroll-bar-size: "+l+"px;\n }\n"},Ve=function(e){var t=a.useState(Me(e.gapMode)),n=t[0],r=t[1];a.useEffect((function(){r(Me(e.gapMode))}),[e.gapMode]);var o=e.noRelative,i=e.noImportant,s=e.gapMode,u=void 0===s?"margin":s;return a.createElement(_e,{styles:Ue(n,!o,u,i?"":"!important")})},He=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Be(e,n)){var r=qe(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Be=function(e,t){return"v"===e?function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)}(t):function(e){var t=window.getComputedStyle(e);return"range"===e.type||"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)}(t)},qe=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},Ke=!1;if("undefined"!=typeof window)try{var $e=Object.defineProperty({},"passive",{get:function(){return Ke=!0,!0}});window.addEventListener("test",$e,$e),window.removeEventListener("test",$e,$e)}catch(e){Ke=!1}var ze=!!Ke&&{passive:!1},Je=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},We=function(e){return[e.deltaX,e.deltaY]},Ye=function(e){return e&&"current"in e?e.current:e},Ge=function(e){return"\n .block-interactivity-"+e+" {pointer-events: none;}\n .allow-interactivity-"+e+" {pointer-events: all;}\n"},Ze=0,Xe=[];F(h,(function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(Ze++)[0],i=a.useState((function(){return Te()}))[0],s=a.useRef(e);a.useEffect((function(){s.current=e}),[e]),a.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-"+o);var t=[e.lockRef.current].concat((e.shards||[]).map(Ye)).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-"+o)})),function(){document.body.classList.remove("block-interactivity-"+o),t.forEach((function(e){return e.classList.remove("allow-interactivity-"+o)}))}}}),[e.inert,e.lockRef.current,e.shards]);var u=a.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var o,a=Je(e),i=n.current,u="deltaX"in e?e.deltaX:i[0]-a[0],l="deltaY"in e?e.deltaY:i[1]-a[1],c=e.target,f=Math.abs(u)>Math.abs(l)?"h":"v",d=He(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=He(f,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(u||l)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=o*r,i=n.target,s=t.contains(i),u=!1,l=a>0,c=0,f=0;do{var d=qe(e,i),p=d[0],h=d[1]-d[2]-o*p;(p||h)&&Be(e,i)&&(c+=h,f+=p),i=i.parentNode}while(!s&&i!==document.body||s&&(t.contains(i)||t===i));return(l&&(0===c||!1)||!l&&(0===f||!1))&&(u=!0),u}(p,t,e,"h"===p?u:l)}),[]),l=a.useCallback((function(e){var n=e;if(Xe.length&&Xe[Xe.length-1]===i){var r="deltaY"in n?We(n):Je(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o}))[0];if(o&&o.should)n.preventDefault();else if(!o){var a=(s.current.shards||[]).map(Ye).filter(Boolean).filter((function(e){return e.contains(n.target)}));(a.length>0?u(n,a[0]):!s.current.noIsolation)&&n.preventDefault()}}}),[]),c=a.useCallback((function(e,n,r,o){var a={name:e,delta:n,target:r,should:o};t.current.push(a),setTimeout((function(){t.current=t.current.filter((function(e){return e!==a}))}),1)}),[]),f=a.useCallback((function(e){n.current=Je(e),r.current=void 0}),[]),d=a.useCallback((function(t){c(t.type,We(t),t.target,u(t,e.lockRef.current))}),[]),p=a.useCallback((function(t){c(t.type,Je(t),t.target,u(t,e.lockRef.current))}),[]);a.useEffect((function(){return Xe.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,ze),document.addEventListener("touchmove",l,ze),document.addEventListener("touchstart",f,ze),function(){Xe=Xe.filter((function(e){return e!==i})),document.removeEventListener("wheel",l,ze),document.removeEventListener("touchmove",l,ze),document.removeEventListener("touchstart",f,ze)}}),[]);var h=e.removeScrollBar,g=e.inert;return a.createElement(a.Fragment,null,g?a.createElement(i,{styles:Ge(o)}):null,h?a.createElement(Ve,{gapMode:"margin"}):null)}));var Qe=new WeakMap,et=new WeakMap,tt={},nt=0,rt=Te(),ot="\n ["+D+"] {\n pointer-events: none !important;\n }\n",at=function(){return a.createElement(rt,{styles:ot})},it=function(e){return"current"in e?e.current:e},st=F(A,(function(e){var t=e.setLockProps,n=e.onEscapeKey,r=e.onClickOutside,o=e.shards,i=e.onActivation,s=e.onDeactivation,u=e.noIsolation,l=(0,a.useState)(void 0),c=l[0],f=l[1],d=(0,a.useRef)(null),p=(0,a.useRef)(0);return a.useEffect((function(){var e=function(e){e.defaultPrevented||"Escape"!==e.code&&"Escape"!==e.key&&27!==e.keyCode||!n||n(e)},t=function(e){e.defaultPrevented||e.target===d.current||e instanceof MouseEvent&&0!==e.button||o&&o.map(it).some((function(t){return t&&t.contains(e.target)||t===e.target}))||r&&r(e)},a=function(e){t(e),p.current=e.touches.length},i=function(e){p.current=e.touches.length};if(c)return document.addEventListener("keydown",e),document.addEventListener("mousedown",t),document.addEventListener("touchstart",a),document.addEventListener("touchend",i),function(){document.removeEventListener("keydown",e),document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",a),document.removeEventListener("touchend",i)}}),[c,r,n]),(0,a.useEffect)((function(){if(c)return i&&i(c),function(){s&&s()}}),[!!c]),(0,a.useEffect)((function(){var e=function(){return null},n=!1;return t({onMouseDown:function(e){d.current=e.target},onTouchStart:function(e){d.current=e.target},onActivation:function(t){e=function(e,t,n){void 0===t&&(t=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e)),void 0===n&&(n="data-aria-hidden");var r=Array.isArray(e)?e:[e];tt[n]||(tt[n]=new WeakMap);var o=tt[n],a=[],i=new Set,s=function(e){e&&!i.has(e)&&(i.add(e),s(e.parentNode))};r.forEach(s);var u=function(e){!e||r.indexOf(e)>=0||Array.prototype.forEach.call(e.children,(function(e){if(i.has(e))u(e);else{var t=e.getAttribute("aria-hidden"),r=null!==t&&"false"!==t,s=(Qe.get(e)||0)+1,l=(o.get(e)||0)+1;Qe.set(e,s),o.set(e,l),a.push(e),1===s&&r&&et.set(e,!0),1===l&&e.setAttribute(n,"true"),r||e.setAttribute("aria-hidden","true")}}))};return u(t),i.clear(),nt++,function(){a.forEach((function(e){var t=Qe.get(e)-1,r=o.get(e)-1;Qe.set(e,t),o.set(e,r),t||(et.has(e)||e.removeAttribute("aria-hidden"),et.delete(e)),r||e.removeAttribute(n)})),--nt||(Qe=new WeakMap,Qe=new WeakMap,et=new WeakMap,tt={})}}([t].concat((o||[]).map(it)),document.body,u?void 0:D),f((function(){return t}))},onDeactivation:function(){e(),n||f(null)}}),function(){n=!0,t(!1)}}),[]),a.createElement(at,null)})),ut=function(e){return a.createElement(st,r({},e))},lt=a.forwardRef((function(e,t){return a.createElement(T,r({},e,{ref:t,sideCar:ut}))})),ct=function(e){var t=e.disabled,n=e.children,r=e.className;return a.createElement("div",y({},me(k,!t),{className:r}),n)};ct.propTypes={},ct.defaultProps={disabled:!1,className:void 0};var ft=ct;function dt(e){var t,n=e.disabled,r=e.className,o=e.children,i=a.useRef(null);return t=n?void 0:i,a.useEffect((function(){var e=!0;return P.useMedium((function(n){var r=t&&t.current;e&&r&&(n.focusInside(r)||n.moveFocusInside(r,null))})),function(){e=!1}}),[t]),a.createElement("div",y({},me(k,!n),{ref:i,className:r}),o)}dt.propTypes={},dt.defaultProps={disabled:!1,className:void 0};var pt=dt,ht=r({},m.classNames)},4304:function(e,t,n){"use strict";var r=n(1513),o="function"==typeof Symbol&&Symbol.for,a=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function k(){}function O(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=w.prototype;var x=O.prototype=new k;x.constructor=O,r(x,w.prototype),x.isPureReactComponent=!0;var S={current:null},j=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,n){var r,o={},i=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)j.call(t,r)&&!E.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:a,type:e,key:i,ref:s,props:o,_owner:S.current}}function L(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var N=/\/+/g,C=[];function R(e,t,n,r){if(C.length){var o=C.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function A(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>C.length&&C.push(e)}function D(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var s=!1;if(null===e)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case a:case i:s=!0}}if(s)return n(r,e,""===t?"."+I(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){var l=t+I(o=e[u],u);s+=D(o,l,n,r)}else if("function"==typeof(l=null===e||"object"!=typeof e?null:"function"==typeof(l=v&&e[v]||e["@@iterator"])?l:null))for(e=l.call(e),u=0;!(o=e.next()).done;)s+=D(o=o.value,l=t+I(o,u++),n,r);else if("object"===o)throw n=""+e,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return s}function T(e,t,n){return null==e?0:D(e,"",t,n)}function I(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function F(e,t){e.func.call(e.context,t,e.count++)}function M(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?_(e,r,n,(function(e){return e})):null!=e&&(L(e)&&(e=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+n)),r.push(e))}function _(e,t,n,r,o){var a="";null!=n&&(a=(""+n).replace(N,"$&/")+"/"),T(e,M,t=R(t,a,r,o)),A(t)}var U={current:null};function V(){var e=U.current;if(null===e)throw Error(m(321));return e}var H={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:S,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return _(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;T(e,F,t=R(null,null,t,n)),A(t)},count:function(e){return T(e,(function(){return null}),null)},toArray:function(e){var t=[];return _(e,t,null,(function(e){return e})),t},only:function(e){if(!L(e))throw Error(m(143));return e}},t.Component=w,t.Fragment=s,t.Profiler=l,t.PureComponent=O,t.StrictMode=u,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,t.cloneElement=function(e,t,n){if(null==e)throw Error(m(267,e));var o=r({},e.props),i=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=S.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)j.call(t,c)&&!E.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){l=Array(c);for(var f=0;f<c;f++)l[f]=arguments[f+2];o.children=l}return{$$typeof:a,type:e.type,key:i,ref:s,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=P,t.createFactory=function(e){var t=P.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=L,t.lazy=function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return V().useCallback(e,t)},t.useContext=function(e,t){return V().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return V().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return V().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return V().useLayoutEffect(e,t)},t.useMemo=function(e,t){return V().useMemo(e,t)},t.useReducer=function(e,t,n){return V().useReducer(e,t,n)},t.useRef=function(e){return V().useRef(e)},t.useState=function(e){return V().useState(e)},t.version="16.14.0"},4041:function(e,t,n){"use strict";e.exports=n(4304)},6494:function(e,t,n){var r={"./":[4882],"./app-globals-0f993ce5":[7885],"./app-globals-0f993ce5.js":[7885],"./component-library":[4475,4475],"./component-library.js":[4475,4475],"./contacts-98977b08":[7470],"./contacts-98977b08.js":[7470],"./date-utils-7c9e7429":[7747,7747],"./date-utils-7c9e7429.js":[7747,7747],"./i18next-858cee77":[3244],"./i18next-858cee77.js":[3244],"./index":[4882],"./index-33e762f0":[7911],"./index-33e762f0.js":[7911],"./index-6d7ecf98":[4569,4569],"./index-6d7ecf98.js":[4569,4569],"./index.js":[4882],"./loader":[5023],"./loader.js":[5023],"./utils-d9025a38":[7508,7508],"./utils-d9025a38.js":[7508,7508],"./va-accordion_3.entry":[9474,9474],"./va-accordion_3.entry.js":[9474,9474],"./va-additional-info.entry":[5990,5990],"./va-additional-info.entry.js":[5990,5990],"./va-alert-expandable.entry":[6849,6849],"./va-alert-expandable.entry.js":[6849,6849],"./va-alert-sign-in.entry":[1822,1822],"./va-alert-sign-in.entry.js":[1822,1822],"./va-alert.entry":[9376,9376],"./va-alert.entry.js":[9376,9376],"./va-back-to-top.entry":[6095,6095],"./va-back-to-top.entry.js":[6095,6095],"./va-banner.entry":[6830,6830],"./va-banner.entry.js":[6830,6830],"./va-breadcrumbs.entry":[6308,6308],"./va-breadcrumbs.entry.js":[6308,6308],"./va-button-icon_3.entry":[1966,1966],"./va-button-icon_3.entry.js":[1966,1966],"./va-button-pair.entry":[4157,4157],"./va-button-pair.entry.js":[4157,4157],"./va-button-segmented.entry":[3305,3305],"./va-button-segmented.entry.js":[3305,3305],"./va-button.entry":[4400,4400],"./va-button.entry.js":[4400,4400],"./va-checkbox.entry":[3589,3589],"./va-checkbox.entry.js":[3589,3589],"./va-combo-box.entry":[7372,7372],"./va-combo-box.entry.js":[7372,7372],"./va-crisis-line-modal_2.entry":[2205,2205],"./va-crisis-line-modal_2.entry.js":[2205,2205],"./va-critical-action.entry":[7084,7084],"./va-critical-action.entry.js":[7084,7084],"./va-date.entry":[6696,6696],"./va-date.entry.js":[6696,6696],"./va-file-input-multiple.entry":[2236,2236],"./va-file-input-multiple.entry.js":[2236,2236],"./va-file-input.entry":[6555,6555],"./va-file-input.entry.js":[6555,6555],"./va-header-minimal.entry":[4351,4351],"./va-header-minimal.entry.js":[4351,4351],"./va-icon.entry":[141,141],"./va-icon.entry.js":[141,141],"./va-language-toggle.entry":[7495,7495],"./va-language-toggle.entry.js":[7495,7495],"./va-link-action.entry":[7307,7307],"./va-link-action.entry.js":[7307,7307],"./va-link.entry":[0,0],"./va-link.entry.js":[0,0],"./va-loading-indicator.entry":[6498,6498],"./va-loading-indicator.entry.js":[6498,6498],"./va-maintenance-banner.entry":[272,272],"./va-maintenance-banner.entry.js":[272,272],"./va-memorable-date.entry":[5663,5663],"./va-memorable-date.entry.js":[5663,5663],"./va-minimal-footer.entry":[5689,5689],"./va-minimal-footer.entry.js":[5689,5689],"./va-modal_2.entry":[9186,9186],"./va-modal_2.entry.js":[9186,9186],"./va-need-help.entry":[2482,2482],"./va-need-help.entry.js":[2482,2482],"./va-notification.entry":[8915,8915],"./va-notification.entry.js":[8915,8915],"./va-omb-info.entry":[3397,3397],"./va-omb-info.entry.js":[3397,3397],"./va-on-this-page.entry":[12,12],"./va-on-this-page.entry.js":[12,12],"./va-pagination.entry":[9496,9496],"./va-pagination.entry.js":[9496,9496],"./va-privacy-agreement.entry":[5119,5119],"./va-privacy-agreement.entry.js":[5119,5119],"./va-process-list-item.entry":[2986,2986],"./va-process-list-item.entry.js":[2986,2986],"./va-process-list.entry":[6832,6832],"./va-process-list.entry.js":[6832,6832],"./va-promo-banner.entry":[3600,3600],"./va-promo-banner.entry.js":[3600,3600],"./va-radio-option.entry":[323,323],"./va-radio-option.entry.js":[323,323],"./va-radio.entry":[8913,8913],"./va-radio.entry.js":[8913,8913],"./va-search-filter.entry":[251,251],"./va-search-filter.entry.js":[251,251],"./va-search-input.entry":[5845,5845],"./va-search-input.entry.js":[5845,5845],"./va-segmented-progress-bar.entry":[4432,4432],"./va-segmented-progress-bar.entry.js":[4432,4432],"./va-select.entry":[4780,4780],"./va-select.entry.js":[4780,4780],"./va-service-list-item.entry":[960,960],"./va-service-list-item.entry.js":[960,960],"./va-statement-of-truth.entry":[7481,7481],"./va-statement-of-truth.entry.js":[7481,7481],"./va-summary-box.entry":[6718,6718],"./va-summary-box.entry.js":[6718,6718],"./va-table-inner.entry":[9851,9851],"./va-table-inner.entry.js":[9851,9851],"./va-table-row.entry":[8463,8463],"./va-table-row.entry.js":[8463,8463],"./va-table.entry":[7734,7734],"./va-table.entry.js":[7734,7734],"./va-telephone-input.entry":[8255,8255],"./va-telephone-input.entry.js":[8255,8255],"./va-text-input.entry":[7166,7166],"./va-text-input.entry.js":[7166,7166],"./va-textarea.entry":[6650,6650],"./va-textarea.entry.js":[6650,6650]};function o(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(o)}))}o.keys=function(){return Object.keys(r)},o.id=6494,e.exports=o},4799:function(e){"use strict";e.exports=JSON.parse('{"name":"@department-of-veterans-affairs/react-components","version":"28.1.0","description":"VA.gov component library in React","keywords":["react","js","formation","va","vads"],"homepage":"http://design.va.gov","license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/department-of-veterans-affairs/component-library.git"},"scripts":{"build":"node ./scripts/build.js","prepublishOnly":"pinst --disable && node ./scripts/prepublish.js","postpublish":"pinst --enable","test-debug":"karma start testing/karma.conf.js --browsers Chrome","test":"karma start testing/karma.conf.js --single-run","test-watch":"karma start testing/karma.conf.js --auto-watch"},"bugs":{"url":"https://github.com/department-of-veterans-affairs/component-library/issues"},"lint-staged":{"*.(js|jsx)":"eslint --fix"},"dependencies":{"classnames":"^2.2.6","prop-types":"^15.6.2","react-focus-on":"^3.5.1","react-transition-group":"1","recast":"^0.14.4"},"devDependencies":{"@babel/core":"^7.12.17","@babel/eslint-parser":"^7.12.17","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-proposal-export-namespace-from":"^7.14.5","@babel/plugin-proposal-function-sent":"^7.12.1","@babel/plugin-proposal-json-strings":"^7.14.5","@babel/plugin-proposal-numeric-separator":"^7.14.5","@babel/plugin-proposal-optional-chaining":"^7.14.5","@babel/plugin-proposal-throw-expressions":"^7.12.1","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-syntax-import-meta":"^7.10.4","@babel/preset-env":"^7.12.10","@babel/preset-react":"^7.14.5","@department-of-veterans-affairs/formation":"^11.0.6","@department-of-veterans-affairs/web-components":"workspace:packages/web-components","@testing-library/react":"^12.0.0","@testing-library/user-event":"^13.2.1","axe-core":"^4.4.1","babel-loader":"^8.1.0","babel-plugin-lodash":"^3.3.4","babel-plugin-transform-react-remove-prop-types":"^0.4.24","chai":"^4.1.2","chai-as-promised":"^7.1.1","chalk":"^4.1.0","enzyme":"^3.1.0","enzyme-adapter-react-16":"^1.7.1","eslint":"^7.19.0","eslint-config-prettier":"^7.2.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-mocha":"^8.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.3.1","eslint-plugin-react":"^7.22.0","fs-extra":"^9.1.0","glob":"^7.1.6","husky":"^5.0.9","is-docker":"^2.1.1","karma":"^6.3.14","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-webpack":"^5.0.0","lint-staged":"^10.5.4","mocha":"^4.0.1","pinst":"^2.1.4","prettier":"^2.2.1","react":"^16.13.1","react-dom":"^16.7.0","react-router":"3","rimraf":"^3.0.2","sinon":"^9.2.2"},"resolutions":{"trim-newlines":"^4.0.2"},"peerDependencies":{"@department-of-veterans-affairs/web-components":"*","i18next":"*","i18next-browser-languagedetector":"*","react":"^17","react-dom":"*"}}')}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e](a,a.exports,o),a.exports}o.m=n,o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(t,n){return o.f[n](e,t),t}),[]))},o.u=function(e){return e+".app.bundle.js"},o.miniCssF=function(e){},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e={},t="@department-of-veterans-affairs/component-library:",o.l=function(n,r,a,i){if(e[n])e[n].push(r);else{var s,u;if(void 0!==a)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var f=l[c];if(f.getAttribute("src")==n||f.getAttribute("data-webpack")==t+a){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",t+a),s.src=n),e[n]=[r];var d=function(t,r){s.onerror=s.onload=null,clearTimeout(p);var o=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((function(e){return e(r)})),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),u&&document.head.appendChild(s)}},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="",function(){var e={8792:0};o.f.j=function(t,n){var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise((function(n,o){r=e[t]=[n,o]}));n.push(r[2]=a);var i=o.p+o.u(t),s=new Error;o.l(i,(function(n){if(o.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,r[1](s)}}),"chunk-"+t,t)}};var t=function(t,n){var r,a,i=n[0],s=n[1],u=n[2],l=0;if(i.some((function(t){return 0!==e[t]}))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);u&&u(o)}for(t&&t(n);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},n=self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),o.nc=void 0,function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}function u(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}o(305);var h={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},g=function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,e),this.init(n,r)}return r(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||h,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,p(p({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}}]),e}(),v=new g,m=function(){function e(){t(this,e),this.observers={}}return r(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach((function(e){e.apply(void 0,n)})),this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(t){t.apply(t,[e].concat(n))}))}}]),e}();function y(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function b(e){return null==e?"":""+e}function w(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var a="string"!=typeof t?[].concat(t):t.split(".");a.length>1;){if(o())return{};var i=r(a.shift());!e[i]&&n&&(e[i]=new n),e=Object.prototype.hasOwnProperty.call(e,i)?e[i]:{}}return o()?{}:{obj:e,k:r(a.shift())}}function k(e,t,n){var r=w(e,t,Object);r.obj[r.k]=n}function O(e,t){var n=w(e,t),r=n.obj,o=n.k;if(r)return r[o]}function x(e,t,n){var r=O(e,n);return void 0!==r?r:O(t,n)}function S(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):S(e[r],t[r],n):e[r]=t[r]);return e}function j(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var E={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function P(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return E[e]})):e}var L="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,N=[" ",",","?","!",";"];function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,a=0;a<r.length;++a){if(!o)return;if("string"==typeof o[r[a]]&&a+1<r.length)return;if(void 0===o[r[a]]){for(var i=2,s=r.slice(a,a+i).join(n),u=o[s];void 0===u&&r.length>a+i;)i++,u=o[s=r.slice(a,a+i).join(n)];if(void 0===u)return;if(t.endsWith(s)){if("string"==typeof u)return u;if(s&&"string"==typeof u[s])return u[s]}var l=r.slice(a+i).join(n);return l?A(u,l,n):void 0}o=o[r[a]]}return o}}var D=function(e){s(c,e);var n,o,i=(n=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(n);if(o){var r=l(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return u(this,e)});function c(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return t(this,c),n=i.call(this),L&&m.call(a(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return r(c,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,a=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,i=[e,t];n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(i=e.split("."));var s=O(this.data,i);return s||!a||"string"!=typeof n?s:A(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=this.options.keySeparator;void 0===a&&(a=".");var i=[e,t];n&&(i=i.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(r=t,t=(i=e.split("."))[1]),this.addNamespaces(t),k(this.data,i,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},i=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(i=e.split("."))[1]),this.addNamespaces(t);var s=O(this.data,i)||{};r?S(s,n,o):s=R(R({},s),n),k(this.data,i,s),a.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?R(R({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),c}(m),T={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var a=this;return e.forEach((function(e){a.processors[e]&&(t=a.processors[e].process(t,n,r,o))})),t}};function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M={},_=function(n){s(f,n);var o,i,c=(o=f,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(o);if(i){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function f(e){var n,r,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t(this,f),n=c.call(this),L&&m.call(a(n)),r=e,o=a(n),["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((function(e){r[e]&&(o[e]=r[e])})),n.options=i,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=v.create("translator"),n}return r(f,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,i=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=N.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var o=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),a=!o.test(e);if(!a){var i=e.indexOf(n);i>0&&!o.test(e.substring(0,i))&&(a=!0)}return a}(e,n,r));if(a&&!i){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:o};var u=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),e=u.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(t,n,r){var o=this;if("object"!==e(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==t)return"";Array.isArray(t)||(t=[String(t)]);var a=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,i=this.extractFromKey(t[t.length-1],n),s=i.key,u=i.namespaces,l=u[u.length-1],c=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(d){var p=n.nsSeparator||this.options.nsSeparator;return l+p+s}return s}var h=this.resolve(t,n),g=h&&h.res,v=h&&h.usedKey||s,m=h&&h.exactUsedKey||s,y=Object.prototype.toString.apply(g),b=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject;if(w&&g&&"string"!=typeof g&&"boolean"!=typeof g&&"number"!=typeof g&&["[object Number]","[object Function]","[object RegExp]"].indexOf(y)<0&&("string"!=typeof b||"[object Array]"!==y)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,g,F(F({},n),{},{ns:u})):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(a){var k="[object Array]"===y,O=k?[]:{},x=k?m:v;for(var S in g)if(Object.prototype.hasOwnProperty.call(g,S)){var j="".concat(x).concat(a).concat(S);O[S]=this.translate(j,F(F({},n),{joinArrays:!1,ns:u})),O[S]===j&&(O[S]=g[S])}g=O}}else if(w&&"string"==typeof b&&"[object Array]"===y)(g=g.join(b))&&(g=this.extendTranslation(g,t,n,r));else{var E=!1,P=!1,L=void 0!==n.count&&"string"!=typeof n.count,N=f.hasDefaultValue(n),C=L?this.pluralResolver.getSuffix(c,n.count,n):"",R=n["defaultValue".concat(C)]||n.defaultValue;!this.isValidLookup(g)&&N&&(E=!0,g=R),this.isValidLookup(g)||(P=!0,g=s);var A=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&P?void 0:g,D=N&&R!==g&&this.options.updateMissing;if(P||E||D){if(this.logger.log(D?"updateKey":"missingKey",c,l,s,D?R:g),a){var T=this.resolve(s,F(F({},n),{},{keySeparator:!1}));T&&T.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var I=[],M=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&M&&M[0])for(var _=0;_<M.length;_++)I.push(M[_]);else"all"===this.options.saveMissingTo?I=this.languageUtils.toResolveHierarchy(n.lng||this.language):I.push(n.lng||this.language);var U=function(e,t,r){var a=N&&r!==g?r:A;o.options.missingKeyHandler?o.options.missingKeyHandler(e,l,t,a,D,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,l,t,a,D,n),o.emit("missingKey",e,l,t,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&L?I.forEach((function(e){o.pluralResolver.getSuffixes(e,n).forEach((function(t){U([e],s+t,n["defaultValue".concat(t)]||R)}))})):U(I,s,R))}g=this.extendTranslation(g,t,n,h,r),P&&g===s&&this.options.appendNamespaceToMissingKey&&(g="".concat(l,":").concat(s)),(P||E)&&this.options.parseMissingKeyHandler&&(g="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(s,E?g:void 0):this.options.parseMissingKeyHandler(g))}return g}},{key:"extendTranslation",value:function(e,t,n,r,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(F(F({},n),{interpolation:F(F({},this.options.interpolation),n.interpolation)}));var i,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var u=e.match(this.interpolator.nestingRegexp);i=u&&u.length}var l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=F(F({},this.options.interpolation.defaultVariables),l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),s){var c=e.match(this.interpolator.nestingRegexp);i<(c&&c.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return o&&o[0]===r[0]&&!n.context?(a.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):a.translate.apply(a,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=T.handle(d,e,t,this.options&&this.options.postProcessPassResolved?F({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,a,i=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!i.isValidLookup(t)){var u=i.extractFromKey(e,s),l=u.key;n=l;var c=u.namespaces;i.options.fallbackNS&&(c=c.concat(i.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,d=f&&!s.ordinal&&0===s.count&&i.pluralResolver.shouldUseIntlApi(),p=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:i.languageUtils.toResolveHierarchy(s.lng||i.language,s.fallbackLng);c.forEach((function(e){i.isValidLookup(t)||(a=e,!M["".concat(h[0],"-").concat(e)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(a)&&(M["".concat(h[0],"-").concat(e)]=!0,i.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(a,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((function(n){if(!i.isValidLookup(t)){o=n;var a,u=[l];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(u,l,n,e,s);else{var c;f&&(c=i.pluralResolver.getSuffix(n,s.count,s));var h="_zero";if(f&&(u.push(l+c),d&&u.push(l+h)),p){var g="".concat(l).concat(i.options.contextSeparator).concat(s.context);u.push(g),f&&(u.push(g+c),d&&u.push(g+h))}}for(;a=u.pop();)i.isValidLookup(t)||(r=a,t=i.getResource(n,e,a,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:a}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}]),f}(m);function U(e){return e.charAt(0).toUpperCase()+e.slice(1)}var V=function(){function e(n){t(this,e),this.options=n,this.supportedLngs=this.options.supportedLngs||!1,this.logger=v.create("languageUtils")}return r(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=U(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=U(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=U(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],a=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):"string"==typeof e&&a(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&a(n.formatLanguageCode(e))})),o}}]),e}(),H=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],B={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},q=["v1","v2","v3"],K={zero:0,one:1,two:2,few:3,many:4,other:5},$=function(){function e(n){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,e),this.languageUtils=n,this.options=o,this.logger=v.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(r={},H.forEach((function(e){e.lngs.forEach((function(t){r[t]={numbers:e.nr,plurals:B[e.fc]}}))})),r)}return r(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return K[e]-K[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var a=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?a():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!q.includes(this.options.compatibilityJSON)}}]),e}();function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var W=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.logger=v.create("interpolator"),this.options=n,this.format=n.interpolation&&n.interpolation.format||function(e){return e},this.init(n)}return r(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:P,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?j(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?j(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?j(t.nestingPrefix):t.nestingPrefixEscaped||j("$t("),this.nestingSuffix=t.nestingSuffix?j(t.nestingSuffix):t.nestingSuffixEscaped||j(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,a,i,s=this,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(e.indexOf(s.formatSeparator)<0){var o=x(t,u,e);return s.alwaysFormat?s.format(o,void 0,n,J(J(J({},r),t),{},{interpolationkey:e})):o}var a=e.split(s.formatSeparator),i=a.shift().trim(),l=a.join(s.formatSeparator).trim();return s.format(x(t,u,i),l,n,J(J(J({},r),t),{},{interpolationkey:i}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return l(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?l(s.escape(e)):l(e)}}].forEach((function(t){for(i=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(a=c(n)))if("function"==typeof f){var u=f(e,o,r);a="string"==typeof u?u:""}else if(r&&r.hasOwnProperty(n))a="";else{if(d){a=o[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),a=""}else"string"==typeof a||s.useRawValueToEscape||(a=b(a));var l=t.safeValue(a);if(e=e.replace(o[0],l),d?(t.regex.lastIndex+=l.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++i>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=J({},a);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,i)).replace(/'/g,'"');try{i=JSON.parse(o),t&&(i=J(J({},t),i))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete i.defaultValue,e}for(i.applyPostProcessor=!1,delete i.defaultValue;n=this.nestingRegexp.exec(e);){var u=[],l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),u=c,l=!0}if((r=t(s.call(this,n[1].trim(),i),i))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=b(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),l&&(r=u.reduce((function(e,t){return o.format(e,t,a.lng,J(J({},a),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Z=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.logger=v.create("formatter"),this.options=n,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,G(G({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,G({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,G({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,G({},n)).format(e)}},this.init(n)}return r(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"format",value:function(e,t,n,r){var o=this;return t.split(this.formatSeparator).reduce((function(e,t){var a=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach((function(e){if(e){var t=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.split(":")),r=t[0],o=t.slice(1).join(":");n[r.trim()]||(n[r.trim()]=o.trim()),"false"===o.trim()&&(n[r.trim()]=!1),"true"===o.trim()&&(n[r.trim()]=!0),isNaN(o.trim())||(n[r.trim()]=parseInt(o.trim(),10))}}))}return{formatName:t,formatOptions:n}}(t),i=a.formatName,s=a.formatOptions;if(o.formats[i]){var u=e;try{var l=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},c=l.locale||l.lng||r.locale||r.lng||n;u=o.formats[i](e,c,G(G(G({},s),r),l))}catch(e){o.logger.warn(e)}return u}return o.logger.warn("there was no format function for ".concat(i)),e}),e)}}]),e}();function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ee=function(e){s(c,e);var n,o,i=(n=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(n);if(o){var r=l(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return u(this,e)});function c(e,n,r){var o,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t(this,c),o=i.call(this),L&&m.call(a(o)),o.backend=e,o.store=n,o.services=r,o.languageUtils=r.languageUtils,o.options=s,o.logger=v.create("backendConnector"),o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(r,s.backend,s),o}return r(c,[{key:"queueLoad",value:function(e,t,n,r){var o=this,a=[],i=[],s=[],u=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?i.indexOf(s)<0&&i.push(s):(o.state[s]=1,r=!1,i.indexOf(s)<0&&i.push(s),a.indexOf(s)<0&&a.push(s),u.indexOf(t)<0&&u.push(t)))})),r||s.push(e)})),(a.length||i.length)&&this.queue.push({pending:i,loaded:{},errors:[],callback:r}),{toLoad:a,pending:i,toLoadLanguages:s,toLoadNamespaces:u}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],a=r[1];t&&this.emit("failedLoading",o,a,t),n&&this.store.addResourceBundle(o,a,n),this.state[e]=t?-1:2;var i={};this.queue.forEach((function(n){!function(e,t,n){var r=w(e,t,Object),o=r.obj,a=r.k;o[a]=o[a]||[],o[a].push(n)}(n.loaded,[o],a),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){i[e]||(i[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){i[e].indexOf(t)<0&&i[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",i),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,i=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,u){s&&u&&o<5?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*a,i)}),a):i(s,u)})):i(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var a=this.queueLoad(e,t,r,o);if(!a.toLoad.length)return a.pending.length||o(),null;a.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],a=r[1];this.read(o,a,"read",void 0,void 0,(function(r,i){r&&t.logger.warn("".concat(n,"loading namespace ").concat(a," for language ").concat(o," failed"),r),!r&&i&&t.logger.log("".concat(n,"loaded namespace ").concat(a," for language ").concat(o),i),t.loaded(e,r,i)}))}},{key:"saveMissing",value:function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,Q(Q({},a),{},{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),c}(m);function te(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(){}var ae=function(n){s(f,n);var o,i,c=(o=f,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(o);if(i){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function f(){var e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(t(this,f),e=c.call(this),L&&m.call(a(e)),e.options=te(r),e.services={},e.logger=v,e.modules={external:[]},n=a(e),Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((function(e){"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),o&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,o),u(e,a(e));setTimeout((function(){e.init(r,o)}),0)}return e}return r(f,[{key:"init",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;"function"==typeof n&&(r=n,n={}),!n.defaultNS&&n.ns&&("string"==typeof n.ns?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));var o={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if("object"===e(t[1])&&(n=t[1]),"string"==typeof t[1]&&(n.defaultValue=t[1]),"string"==typeof t[2]&&(n.tDescription=t[2]),"object"===e(t[2])||"object"===e(t[3])){var r=t[3]||t[2];Object.keys(r).forEach((function(e){n[e]=r[e]}))}return n},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function a(e){return e?"function"==typeof e?new e:e:null}if(this.options=re(re(re({},o),this.options),te(n)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=re(re({},o.interpolation),this.options.interpolation)),void 0!==n.keySeparator&&(this.options.userDefinedKeySeparator=n.keySeparator),void 0!==n.nsSeparator&&(this.options.userDefinedNsSeparator=n.nsSeparator),!this.options.isClone){var i;this.modules.logger?v.init(a(this.modules.logger),this.options):v.init(null,this.options),this.modules.formatter?i=this.modules.formatter:"undefined"!=typeof Intl&&(i=Z);var s=new V(this.options);this.store=new D(this.options.resources,this.options);var u=this.services;u.logger=v,u.resourceStore=this.store,u.languageUtils=s,u.pluralResolver=new $(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!i||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(u.formatter=a(i),u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new W(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new ee(a(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit.apply(t,[e].concat(r))})),this.modules.languageDetector&&(u.languageDetector=a(this.modules.languageDetector),u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=a(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new _(this.services,this.options),this.translator.on("*",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit.apply(t,[e].concat(r))})),this.modules.external.forEach((function(e){e.init&&e.init(t)}))}if(this.format=this.options.interpolation.format,r||(r=oe),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments),t}}));var c=y(),f=function(){var e=function(e,n){t.isInitialized&&!t.initializedStoreOnce&&t.logger.warn("init: i18next is already initialized. You should call init just once!"),t.isInitialized=!0,t.options.isClone||t.logger.log("initialized",t.options),t.emit("initialized",t.options),c.resolve(n),r(e,n)};if(t.languages&&"v1"!==t.options.compatibilityAPI&&!t.isInitialized)return e(null,t.t.bind(t));t.changeLanguage(t.options.lng,e)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var o=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};r?a(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return a(e)})),this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(o,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=y();return e||(e=this.languages),t||(t=this.options.ns),n||(n=oe),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&T.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=y();this.emit("languageChanging",e);var o=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},a=function(a){e||a||!n.services.languageDetector||(a=[]);var i="string"==typeof a?a:n.services.languageUtils.getBestMatchFromCodes(a);i&&(n.language||o(i),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,a){a?(o(a),n.translator.changeLanguage(a),n.isLanguageChangingTo=void 0,n.emit("languageChanged",a),n.logger.log("languageChanged",a)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(t,n,r){var o=this,a=function t(n,a){var i;if("object"!==e(a)){for(var s=arguments.length,u=new Array(s>2?s-2:0),l=2;l<s;l++)u[l-2]=arguments[l];i=o.options.overloadTranslationOptionHandler([n,a].concat(u))}else i=re({},a);i.lng=i.lng||t.lng,i.lngs=i.lngs||t.lngs,i.ns=i.ns||t.ns;var c=o.options.keySeparator||".",f=r?"".concat(r).concat(c).concat(n):n;return o.t(f,i)};return"string"==typeof t?a.lng=t:a.lngs=t,a.ns=n,a.keyPrefix=r,a}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,i);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||!(!i(r,e)||o&&!i(a,e))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=y();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=y();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe,r=re(re(re({},this.options),t),{isClone:!0}),o=new f(r);return["store","services","language"].forEach((function(t){o[t]=e[t]})),o.services=re({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new _(o.services,o.options),o.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit.apply(o,[e].concat(n))})),o.init(r,n),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),f}(m);c(ae,"createInstance",(function(){return new ae(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var ie=ae.createInstance();ie.createInstance=ae.createInstance,ie.createInstance,ie.init,ie.loadResources,ie.reloadResources,ie.use,ie.changeLanguage,ie.getFixedT,ie.t,ie.exists,ie.setDefaultNamespace,ie.hasLoadedNamespace,ie.loadNamespaces,ie.loadLanguages;var se=ie;function ue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var le=[],ce=le.forEach,fe=le.slice,de=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,pe={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var n=function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return null}(e.lookupCookie);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+60*n*1e3)),r&&(o.domain=r),document.cookie=function(e,t,n){var r=n||{};r.path=r.path||"/";var o=e+"="+encodeURIComponent(t);if(r.maxAge>0){var a=r.maxAge-0;if(isNaN(a))throw new Error("maxAge should be a Number");o+="; Max-Age="+Math.floor(a)}if(r.domain){if(!de.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain="+r.domain}if(r.path){if(!de.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");o+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o}(e,encodeURIComponent(t),o)}(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},he={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var r=n.substring(1).split("&"),o=0;o<r.length;o++){var a=r[o].indexOf("=");a>0&&r[o].substring(0,a)===e.lookupQuerystring&&(t=r[o].substring(a+1))}}return t}},ge=null,ve=function(){if(null!==ge)return ge;try{ge="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){ge=!1}return ge},me={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&ve()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&ve()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},ye=null,be=function(){if(null!==ye)return ye;try{ye="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){ye=!1}return ye},we={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&be()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&be()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},ke={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)t.push(navigator.languages[n]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},Oe={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},xe={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},Se={name:"subdomain",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);n instanceof Array&&(t="number"==typeof e.lookupFromSubdomainIndex?n[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):n[0].replace("http://","").replace("https://","").replace(".",""))}return t}},je=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}var t,n;return t=e,n=[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return ce.call(fe.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(pe),this.addDetector(he),this.addDetector(me),this.addDetector(we),this.addDetector(ke),this.addDetector(Oe),this.addDetector(xe),this.addDetector(Se)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return e.forEach((function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"==typeof r&&(r=[r]),r&&(n=n.concat(r))}})),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)})))}}],n&&ue(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();je.type="languageDetector";var Ee={name:"mainTag",lookup(e){const t=document.querySelector("main");return t?.getAttribute("lang")}};const Pe=new je;Pe.addDetector(Ee),se.use(Pe).init({fallbackLng:"en",detection:{order:["mainTag","htmlTag"]},resources:{en:{translation:{error:"Error",required:"(*Required)",select:"- Select -","max-chars":"(Max. {{length}} characters)","min-chars":"(Min. {{length}} characters)","date-of-birth":"Date of birth",month:"Month",day:"Day",year:"Year","month-select":"Please select a month","month-range":"Please enter a month between {{start}} and {{end}}","day-range":"Please enter a day between {{start}} and {{end}}","year-range":"Please enter a year between {{start}} and {{end}}","expand-all":"Expand all","collapse-all":"Collapse all","expand-all-aria-label":"Expand all accordions","collapse-all-aria-label":"Collapse all accordions",january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December","on-this-page":"On this page","date-hint":"Enter 2 digits for the month and day and 4 digits for the year","date-hint-with-select":"For example: January 19 2000","date-error":"Please enter a complete date","number-error":"Please enter a valid number","gov-site-label":"Official website of the United States government","gov-site-button":"Here's how you know","gov-site-website":"Official websites use .{{tld}}","gov-site-explanation":"A .{{tld}} website belongs to an official government organization in the United States.","gov-site-https":"Secure .{{tld}} websites use HTTPS","gov-site-lock":"A lock {{image}} or https:// means you've safely connected to the .{{tld}} website. Share sensitive information only on official, secure websites.",next:"Next",previous:"Previous"}},es:{translation:{error:"Error",required:"(*Requerido)",select:"- Seleccione -","max-chars":"(Número máximo de caracteres: {{length}})","min-chars":"(Número mínimo de caracteres: {{length}})","date-of-birth":"Fecha de nacimiento",month:"Mes",day:"Día",year:"Año","month-range":"Ingrese un mes entre {{start}} y {{end}}","day-range":"Ingrese un día entre {{start}} y {{end}}","year-range":"Ingrese un año entre {{start}} y {{end}}","expand-all":"Expandir todo","collapse-all":"Contraer todo","expand-all-aria-label":"Expandir todos los acordeones","collapse-all-aria-label":"Contraer todos los acordeones",january:"Enero",february:"Febrero",march:"Marzo",april:"Abril",may:"Mayo",june:"Junio",july:"Julio",august:"Agosto",september:"Septiembre",october:"Octubre",november:"Noviembre",december:"Diciembre","on-this-page":"En esta página","date-hint":"Ingrese 2 dígitos para el mes y el día y 4 dígitos para el año","date-hint-with-select":"Por ejemplo: Enero 19 2000","date-error":"Ingrese una fecha completa","gov-site-label":"Un sitio oficial del Gobierno de Estados Unidos","gov-site-button":"Así es como usted puede verificarlo","gov-site-website":"Los sitios web oficiales usan .{{tld}}","gov-site-explanation":"Un sitio web .{{tld}} pertenece a una organización oficial del Gobierno de Estados Unidos.","gov-site-https":"Los sitios web seguros .{{tld}} usan HTTPS","gov-site-lock":"Un candado {{image}} o https:// significa que usted se conectó de forma segura a un sitio web .{{tld}}. Comparta información sensible sólo en sitios web oficiales y seguros.",next:"Siguiente",previous:"Anterior"}},tl:{translation:{error:"Error",required:"(*Kailangan)","max-chars":"(Pinakamarami ang {{length}} karakter)","min-chars":"(Pinakamababa ang {{length}} karakter)","date-of-birth":"Petsa ng Kapanganakan",month:"Buwan",day:"Araw",year:"Taon","month-range":"Mangyaring ilagay ang buwan sa pagitan ng {{start}} at {{end}}","day-range":"Mangyaring ilagay ang araw sa pagitan ng {{start}} at {{end}}","year-range":"Mangyaring ilagay ang taon sa pagitan ng {{start}} at {{end}}","expand-all":"I-expand lahat","collapse-all":"I-collapse ang lahat","expand-all-aria-label":"I-expand ang lahat ng accordion","collapse-all-aria-label":"I-collapse ang lahat ng accordion","on-this-page":"Sa pahinang ito","date-hint":"Mangyaring magpasok ng 2 numero para sa buwan at araw at 4 na numero para sa taon","date-error":"Mangyaring maglagay ng kumpletong petsa"}}}}),window.addEventListener("load",(e=>{console.log("DOM fully loaded and parsed");const t=document.querySelector("main");if(t){const e=t.getAttribute("lang");e&&se.changeLanguage(e),new MutationObserver((e=>{e.forEach((e=>{"attributes"===e.type&&"lang"===e.attributeName&&se.changeLanguage(t.getAttribute("lang"))}))})).observe(t,{attributes:!0})}})),o(4882),o(5023),function(){if("undefined"!=typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}}()}()}();
2
+ !function(){var e,t,n={305:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var o=u(n(4041)),a=u(n(9870)),i=n(5465),s=u(n(736));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(v,e);var t,n,u,h,g=(u=v,h=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=p(u);if(h){var n=p(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}(this,e)});function v(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),(t=g.call(this,e)).handleDocumentKeyDown=t.handleDocumentKeyDown.bind(d(t)),t.handleClose=t.handleClose.bind(d(t)),t.handleDocumentClicked=t.handleDocumentClicked.bind(d(t)),t}return t=v,(n=[{key:"componentDidMount",value:function(){this.props.visible&&this.setupModal()}},{key:"componentDidUpdate",value:function(e){!e.visible&&this.props.visible?this.setupModal():e.visible&&!this.props.visible&&this.teardownModal()}},{key:"componentWillUnmount",value:function(){this.props.visible&&this.teardownModal()}},{key:"setupModal",value:function(){var e,t;this.setInitialModalFocus(),document.body.classList.add("modal-open"),document.addEventListener("keydown",this.handleDocumentKeyDown,!1),this.props.clickToClose&&document.addEventListener("click",this.handleDocumentClicked,!0),this.props.disableAnalytics||(0,s.default)({componentName:"Modal",action:"show",details:{status:this.props.status,title:this.props.title,primaryButtonText:null===(e=this.props.primaryButton)||void 0===e?void 0:e.text,secondaryButtonText:null===(t=this.props.secondaryButton)||void 0===t?void 0:t.text}})}},{key:"teardownModal",value:function(){document.body.classList.remove("modal-open"),document.removeEventListener("keydown",this.handleDocumentKeyDown,!1),this.props.clickToClose&&document.removeEventListener("click",this.handleDocumentClicked,!0)}},{key:"handleDocumentKeyDown",value:function(e){27===e.keyCode&&this.handleClose(e)}},{key:"handleClose",value:function(e){e.preventDefault(),this.props.onClose()}},{key:"handleDocumentClicked",value:function(e){this.props.visible&&!this.element.contains(e.target)&&this.props.onClose()}},{key:"setInitialModalFocus",value:function(){if(this.props.initialFocusSelector){var e=this.element.querySelector(this.props.initialFocusSelector);e&&e.setAttribute("data-autofocus","true")}}},{key:"renderAlertActions",value:function(){var e=this.props,t=e.primaryButton,n=e.secondaryButton;return t||n?o.default.createElement("div",{className:"alert-actions"},t&&o.default.createElement("button",{className:"usa-button",onClick:t.action},t.text),n&&o.default.createElement("button",{className:"usa-button-secondary",onClick:n.action},n.text)):null}},{key:"render",value:function(){var e,t=this;if(!this.props.visible)return null;var n=this.props,r=n.id,s=n.status,u=n.title,c="".concat(r||"va-modal","-title"),f=this.props.contents||this.props.children,d=(0,a.default)("va-modal",this.props.cssClass),p=(0,a.default)("va-modal-inner",(l(e={"usa-alert":s},"usa-alert-".concat(s),s),l(e,"va-modal-alert",s),e)),h=s?"usa-alert-body":"va-modal-body",g=(0,a.default)(s?"usa-alert-heading":"va-modal-title","vads-u-font-size--h3"),v=(0,a.default)({"usa-alert-text":s}),m=u?"close ".concat(u," modal"):"close modal",y=!this.props.hideCloseButton&&o.default.createElement("button",{className:"va-modal-close",type:"button","aria-label":m,onClick:this.handleClose},o.default.createElement("i",{className:"fas fa-times-circle","aria-hidden":"true"}));return o.default.createElement(i.FocusOn,{returnFocus:!0},o.default.createElement("div",{className:d,id:r,role:function(e){return"warning"===e||"error"===e?"alertdialog":"dialog"}(s),"aria-labelledby":c,"aria-modal":!0},o.default.createElement("div",{className:p,ref:function(e){t.element=e}},y,o.default.createElement("div",{className:h},o.default.createElement("div",{role:"document"},u&&o.default.createElement("h1",{id:c,className:g,tabIndex:"-1"},u),f&&o.default.createElement("div",{className:v},f)),this.renderAlertActions()))))}}])&&c(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),v}(o.default.Component);h.defaultProps={visible:!1,clickToClose:!1,focusSelector:"button, input, select, a"}},736:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.componentName,n=e.action,r=e.details,a=new CustomEvent("component-library-analytics",{detail:{componentName:t,action:n,details:r,version:o}});document.body.dispatchEvent(a)};var o=((r=n(4799))&&r.__esModule?r:{default:r}).default.version},7885:function(e,t,n){"use strict";n.r(t),n.d(t,{g:function(){return r}});var r=function(){}},7470:function(e,t,n){"use strict";n.r(t),n.d(t,{C:function(){return j},c:function(){return S}});var r=n(3244);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=[],i=a.forEach,s=a.slice,u=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,l={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var n=function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return null}(e.lookupCookie);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+60*n*1e3)),r&&(o.domain=r),document.cookie=function(e,t,n){var r=n||{};r.path=r.path||"/";var o=e+"="+encodeURIComponent(t);if(r.maxAge>0){var a=r.maxAge-0;if(isNaN(a))throw new Error("maxAge should be a Number");o+="; Max-Age="+Math.floor(a)}if(r.domain){if(!u.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain="+r.domain}if(r.path){if(!u.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");o+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o}(e,encodeURIComponent(t),o)}(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},c={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var r=n.substring(1).split("&"),o=0;o<r.length;o++){var a=r[o].indexOf("=");a>0&&r[o].substring(0,a)===e.lookupQuerystring&&(t=r[o].substring(a+1))}}return t}},f=null,d=function(){if(null!==f)return f;try{f="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){f=!1}return f},p={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&d()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&d()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},h=null,g=function(){if(null!==h)return h;try{h="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){h=!1}return h},v={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&g()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&g()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},m={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)t.push(navigator.languages[n]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},y={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},b={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},w={name:"subdomain",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);n instanceof Array&&(t="number"==typeof e.lookupFromSubdomainIndex?n[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):n[0].replace("http://","").replace("https://","").replace(".",""))}return t}},k=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return function(e,t){t&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1})}(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return i.call(s.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(l),this.addDetector(c),this.addDetector(p),this.addDetector(v),this.addDetector(m),this.addDetector(y),this.addDetector(b),this.addDetector(w)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return e.forEach((function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"==typeof r&&(r=[r]),r&&(n=n.concat(r))}})),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)})))}}]),e}();k.type="languageDetector";var O={name:"mainTag",lookup:function(e){var t=document.querySelector("main");return null==t?void 0:t.getAttribute("lang")}},x=new k;x.addDetector(O),r.i.use(x).init({fallbackLng:"en",detection:{order:["mainTag","htmlTag"]},resources:{en:{translation:{error:"Error",required:"(*Required)",select:"- Select -","max-chars":"(Max. {{length}} characters)","min-chars":"(Min. {{length}} characters)","date-of-birth":"Date of birth",month:"Month",day:"Day",year:"Year","month-select":"Please select a month","month-range":"Please enter a month between {{start}} and {{end}}","day-range":"Please enter a day between {{start}} and {{end}}","year-range":"Please enter a year between {{start}} and {{end}}","expand-all":"Expand all","collapse-all":"Collapse all","expand-all-aria-label":"Expand all accordions","collapse-all-aria-label":"Collapse all accordions",january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December","on-this-page":"On this page","date-hint":"Enter 2 digits for the month and day and 4 digits for the year","date-hint-with-select":"For example: January 19 2000","date-error":"Please enter a complete date","number-error":"Please enter a valid number","gov-site-label":"Official website of the United States government","gov-site-button":"Here's how you know","gov-site-website":"Official websites use .{{tld}}","gov-site-explanation":"A .{{tld}} website belongs to an official government organization in the United States.","gov-site-https":"Secure .{{tld}} websites use HTTPS","gov-site-lock":"A lock {{image}} or https:// means you've safely connected to the .{{tld}} website. Share sensitive information only on official, secure websites.",next:"Next",previous:"Previous"}},es:{translation:{error:"Error",required:"(*Requerido)",select:"- Seleccione -","max-chars":"(Número máximo de caracteres: {{length}})","min-chars":"(Número mínimo de caracteres: {{length}})","date-of-birth":"Fecha de nacimiento",month:"Mes",day:"Día",year:"Año","month-range":"Ingrese un mes entre {{start}} y {{end}}","day-range":"Ingrese un día entre {{start}} y {{end}}","year-range":"Ingrese un año entre {{start}} y {{end}}","expand-all":"Expandir todo","collapse-all":"Contraer todo","expand-all-aria-label":"Expandir todos los acordeones","collapse-all-aria-label":"Contraer todos los acordeones",january:"Enero",february:"Febrero",march:"Marzo",april:"Abril",may:"Mayo",june:"Junio",july:"Julio",august:"Agosto",september:"Septiembre",october:"Octubre",november:"Noviembre",december:"Diciembre","on-this-page":"En esta página","date-hint":"Ingrese 2 dígitos para el mes y el día y 4 dígitos para el año","date-hint-with-select":"Por ejemplo: Enero 19 2000","date-error":"Ingrese una fecha completa","gov-site-label":"Un sitio oficial del Gobierno de Estados Unidos","gov-site-button":"Así es como usted puede verificarlo","gov-site-website":"Los sitios web oficiales usan .{{tld}}","gov-site-explanation":"Un sitio web .{{tld}} pertenece a una organización oficial del Gobierno de Estados Unidos.","gov-site-https":"Los sitios web seguros .{{tld}} usan HTTPS","gov-site-lock":"Un candado {{image}} o https:// significa que usted se conectó de forma segura a un sitio web .{{tld}}. Comparta información sensible sólo en sitios web oficiales y seguros.",next:"Siguiente",previous:"Anterior"}},tl:{translation:{error:"Error",required:"(*Kailangan)","max-chars":"(Pinakamarami ang {{length}} karakter)","min-chars":"(Pinakamababa ang {{length}} karakter)","date-of-birth":"Petsa ng Kapanganakan",month:"Buwan",day:"Araw",year:"Taon","month-range":"Mangyaring ilagay ang buwan sa pagitan ng {{start}} at {{end}}","day-range":"Mangyaring ilagay ang araw sa pagitan ng {{start}} at {{end}}","year-range":"Mangyaring ilagay ang taon sa pagitan ng {{start}} at {{end}}","expand-all":"I-expand lahat","collapse-all":"I-collapse ang lahat","expand-all-aria-label":"I-expand ang lahat ng accordion","collapse-all-aria-label":"I-collapse ang lahat ng accordion","on-this-page":"Sa pahinang ito","date-hint":"Mangyaring magpasok ng 2 numero para sa buwan at araw at 4 na numero para sa taon","date-error":"Mangyaring maglagay ng kumpletong petsa"}}}}),window.addEventListener("load",(function(e){console.log("DOM fully loaded and parsed");var t=document.querySelector("main");if(t){var n=t.getAttribute("lang");n&&r.i.changeLanguage(n);var o=new MutationObserver((function(e){e.forEach((function(e){"attributes"===e.type&&"lang"===e.attributeName&&r.i.changeLanguage(t.getAttribute("lang"))}))}));o.observe(t,{attributes:!0})}}));var S=Object.freeze({"222_VETS":{phoneNumber:"8772228387",description:"VA Help Line"},"4AID_VET":{phoneNumber:"8774243838",description:"National Call Center for Homeless Veterans"},711:{phoneNumber:"711",description:"Telecommunications Relay Service"},911:{phoneNumber:"911",description:"911"},CAREGIVER:{phoneNumber:"8552603274",description:"VA National Caregiver Support Line"},CRISIS_LINE:{phoneNumber:"8002738255",description:"Veterans Crisis hotline"},CRISIS_TTY:{phoneNumber:"8007994889",description:"Veterans Crisis hotline TTY"},DMC:{phoneNumber:"8008270648",description:"Debt Management Center"},DMC_OVERSEAS:{phoneNumber:"6127136415",description:"Debt Management Center (Overseas)"},DMDC_DEERS:{phoneNumber:"8663632883",description:"Defense Manpower Data Center (DMDC) | Defense Enrollment Eligibility Reporting System (DEERS) Support Office"},DS_LOGON:{phoneNumber:"8005389552",description:"Defense Manpower Data Center"},DS_LOGON_TTY:{phoneNumber:"8663632883",description:"Defense Manpower Data Center TTY"},FEDERAL_RELAY_SERVICE:{phoneNumber:"8008778339",description:"Federal Relay Service"},GI_BILL:{phoneNumber:"8884424551",description:"Education Call Center (1-888-GI-BILL-1)"},GO_DIRECT:{phoneNumber:"8003331795",description:"Go Direct/Direct Express (Treasury)"},HELP_DESK:{phoneNumber:"8006982411",description:"VA Help desk"},HEALTH_RESOURCE_CENTER:{phoneNumber:"8664001238",description:"Health Resource Center"},HEALTHCARE_ELIGIBILITY_CENTER:{phoneNumber:"8554888440",description:"VA Healthcare Eligibility Center (Eligibility Division)"},HELP_TTY:{phoneNumber:"8008778339",description:"VA Help Desk TTY"},MY_HEALTHEVET:{phoneNumber:"8773270022",description:"My HealtheVet help desk"},NCA:{phoneNumber:"8005351117",description:"National Cemetery Scheduling Office"},SUICIDE_PREVENTION_LIFELINE:{phoneNumber:"8007994889",description:"Suicide Prevention Line"},TESC:{phoneNumber:"8882242950",description:"U.S. Treasury Electronic Payment Solution Center"},TREASURY_DMS:{phoneNumber:"8888263127",description:"U.S. Department of the Treasury (Debt Management Services)"},VA_311:{phoneNumber:"8006982411",description:"VA Help desk (VA411)"},VA_411:{phoneNumber:"8006982411",description:"VA Help desk (VA411)"},VA_BENEFITS:{phoneNumber:"8008271000",description:"Veterans Benefits Assistance"}}),j=Object.freeze(Object.entries(S).reduce((function(e,t){var n;return Object.assign(Object.assign({},e),((n={})[t[0]]=t[1].phoneNumber,n))}),{}))},3244:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return s(e)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n.r(t),n.d(t,{i:function(){return ue}});var v={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},m=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.init(t,n)}return i(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||v,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,g(g({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}}]),e}(),y=new m,b=function(){function e(){o(this,e),this.observers={}}return i(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach((function(e){e.apply(void 0,n)})),this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(t){t.apply(t,[e].concat(n))}))}}]),e}();function w(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function k(e){return null==e?"":""+e}function O(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var a="string"!=typeof t?[].concat(t):t.split(".");a.length>1;){if(o())return{};var i=r(a.shift());!e[i]&&n&&(e[i]=new n),e=Object.prototype.hasOwnProperty.call(e,i)?e[i]:{}}return o()?{}:{obj:e,k:r(a.shift())}}function x(e,t,n){var r=O(e,t,Object);r.obj[r.k]=n}function S(e,t){var n=O(e,t),r=n.obj,o=n.k;if(r)return r[o]}function j(e,t,n){var r=S(e,n);return void 0!==r?r:S(t,n)}function E(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):E(e[r],t[r],n):e[r]=t[r]);return e}function P(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var L={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function N(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return L[e]})):e}var C="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,R=[" ",",","?","!",";"];function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,a=0;a<r.length;++a){if(!o)return;if("string"==typeof o[r[a]]&&a+1<r.length)return;if(void 0===o[r[a]]){for(var i=2,s=r.slice(a,a+i).join(n),u=o[s];void 0===u&&r.length>a+i;)i++,u=o[s=r.slice(a,a+i).join(n)];if(void 0===u)return;if(t.endsWith(s)){if("string"==typeof u)return u;if(s&&"string"==typeof u[s])return u[s]}var l=r.slice(a+i).join(n);return l?D(u,l,n):void 0}o=o[r[a]]}return o}}var I=function(e){l(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return o(this,n),r=t.call(this),C&&b.call(s(r)),r.data=e||{},r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return i(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,a=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,i=[e,t];n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(i=e.split("."));var s=S(this.data,i);return s||!a||"string"!=typeof n?s:D(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=this.options.keySeparator;void 0===a&&(a=".");var i=[e,t];n&&(i=i.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(r=t,t=(i=e.split("."))[1]),this.addNamespaces(t),x(this.data,i,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},i=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(i=e.split("."))[1]),this.addNamespaces(t);var s=S(this.data,i)||{};r?E(s,n,o):s=T(T({},s),n),x(this.data,i,s),a.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?T(T({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(b),F={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var a=this;return e.forEach((function(e){a.processors[e]&&(t=a.processors[e].process(t,n,r,o))})),t}};function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U={},V=function(e){l(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(this,n),r=t.call(this),C&&b.call(s(r)),function(e,t,n){["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((function(e){t[e]&&(n[e]=t[e])}))}(0,e,s(r)),r.options=a,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=y.create("translator"),r}return i(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,i=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=R.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var o=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),a=!o.test(e);if(!a){var i=e.indexOf(n);i>0&&!o.test(e.substring(0,i))&&(a=!0)}return a}(e,n,r));if(a&&!i){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:o};var u=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),e=u.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,t,o){var a=this;if("object"!==r(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),u=s.key,l=s.namespaces,c=l[l.length-1],f=t.lng||this.language,d=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&"cimode"===f.toLowerCase()){if(d){var p=t.nsSeparator||this.options.nsSeparator;return c+p+u}return u}var h=this.resolve(e,t),g=h&&h.res,v=h&&h.usedKey||u,m=h&&h.exactUsedKey||u,y=Object.prototype.toString.apply(g),b=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject;if(w&&g&&"string"!=typeof g&&"boolean"!=typeof g&&"number"!=typeof g&&["[object Number]","[object Function]","[object RegExp]"].indexOf(y)<0&&("string"!=typeof b||"[object Array]"!==y)){if(!t.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,g,_(_({},t),{},{ns:l})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");if(i){var k="[object Array]"===y,O=k?[]:{},x=k?m:v;for(var S in g)if(Object.prototype.hasOwnProperty.call(g,S)){var j="".concat(x).concat(i).concat(S);O[S]=this.translate(j,_(_({},t),{joinArrays:!1,ns:l})),O[S]===j&&(O[S]=g[S])}g=O}}else if(w&&"string"==typeof b&&"[object Array]"===y)(g=g.join(b))&&(g=this.extendTranslation(g,e,t,o));else{var E=!1,P=!1,L=void 0!==t.count&&"string"!=typeof t.count,N=n.hasDefaultValue(t),C=L?this.pluralResolver.getSuffix(f,t.count,t):"",R=t["defaultValue".concat(C)]||t.defaultValue;!this.isValidLookup(g)&&N&&(E=!0,g=R),this.isValidLookup(g)||(P=!0,g=u);var A=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&P?void 0:g,T=N&&R!==g&&this.options.updateMissing;if(P||E||T){if(this.logger.log(T?"updateKey":"missingKey",f,c,u,T?R:g),i){var D=this.resolve(u,_(_({},t),{},{keySeparator:!1}));D&&D.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var I=[],F=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&F&&F[0])for(var M=0;M<F.length;M++)I.push(F[M]);else"all"===this.options.saveMissingTo?I=this.languageUtils.toResolveHierarchy(t.lng||this.language):I.push(t.lng||this.language);var U=function(e,n,r){var o=N&&r!==g?r:A;a.options.missingKeyHandler?a.options.missingKeyHandler(e,c,n,o,T,t):a.backendConnector&&a.backendConnector.saveMissing&&a.backendConnector.saveMissing(e,c,n,o,T,t),a.emit("missingKey",e,c,n,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&L?I.forEach((function(e){a.pluralResolver.getSuffixes(e,t).forEach((function(n){U([e],u+n,t["defaultValue".concat(n)]||R)}))})):U(I,u,R))}g=this.extendTranslation(g,e,t,h,o),P&&g===u&&this.options.appendNamespaceToMissingKey&&(g="".concat(c,":").concat(u)),(P||E)&&this.options.parseMissingKeyHandler&&(g="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(u,E?g:void 0):this.options.parseMissingKeyHandler(g))}return g}},{key:"extendTranslation",value:function(e,t,n,r,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(_(_({},n),{interpolation:_(_({},this.options.interpolation),n.interpolation)}));var i,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var u=e.match(this.interpolator.nestingRegexp);i=u&&u.length}var l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=_(_({},this.options.interpolation.defaultVariables),l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),s){var c=e.match(this.interpolator.nestingRegexp);i<(c&&c.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return o&&o[0]===r[0]&&!n.context?(a.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):a.translate.apply(a,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=F.handle(d,e,t,this.options&&this.options.postProcessPassResolved?_({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,a,i=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!i.isValidLookup(t)){var u=i.extractFromKey(e,s),l=u.key;n=l;var c=u.namespaces;i.options.fallbackNS&&(c=c.concat(i.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,d=f&&!s.ordinal&&0===s.count&&i.pluralResolver.shouldUseIntlApi(),p=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:i.languageUtils.toResolveHierarchy(s.lng||i.language,s.fallbackLng);c.forEach((function(e){i.isValidLookup(t)||(a=e,!U["".concat(h[0],"-").concat(e)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(a)&&(U["".concat(h[0],"-").concat(e)]=!0,i.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(a,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((function(n){if(!i.isValidLookup(t)){o=n;var a,u=[l];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(u,l,n,e,s);else{var c;f&&(c=i.pluralResolver.getSuffix(n,s.count,s));var h="_zero";if(f&&(u.push(l+c),d&&u.push(l+h)),p){var g="".concat(l).concat(i.options.contextSeparator).concat(s.context);u.push(g),f&&(u.push(g+c),d&&u.push(g+h))}}for(;a=u.pop();)i.isValidLookup(t)||(r=a,t=i.getResource(n,e,a,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:a}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}]),n}(b);function H(e){return e.charAt(0).toUpperCase()+e.slice(1)}var B=function(){function e(t){o(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=y.create("languageUtils")}return i(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=H(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=H(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=H(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],a=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):"string"==typeof e&&a(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&a(n.formatLanguageCode(e))})),o}}]),e}(),q=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],K={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},$=["v1","v2","v3"],z={zero:0,one:1,two:2,few:3,many:4,other:5},J=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.languageUtils=t,this.options=n,this.logger=y.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){var e={};return q.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:K[t.fc]}}))})),e}()}return i(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return z[e]-z[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var a=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?a():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!$.includes(this.options.compatibilityJSON)}}]),e}();function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var G=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.logger=y.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return i(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:N,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?P(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?P(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?P(t.nestingPrefix):t.nestingPrefixEscaped||P("$t("),this.nestingSuffix=t.nestingSuffix?P(t.nestingSuffix):t.nestingSuffixEscaped||P(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,a,i,s=this,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(e.indexOf(s.formatSeparator)<0){var o=j(t,u,e);return s.alwaysFormat?s.format(o,void 0,n,Y(Y(Y({},r),t),{},{interpolationkey:e})):o}var a=e.split(s.formatSeparator),i=a.shift().trim(),l=a.join(s.formatSeparator).trim();return s.format(j(t,u,i),l,n,Y(Y(Y({},r),t),{},{interpolationkey:i}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,p=[{regex:this.regexpUnescape,safeValue:function(e){return l(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?l(s.escape(e)):l(e)}}];return p.forEach((function(t){for(i=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(a=c(n)))if("function"==typeof f){var u=f(e,o,r);a="string"==typeof u?u:""}else if(r&&r.hasOwnProperty(n))a="";else{if(d){a=o[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),a=""}else"string"==typeof a||s.useRawValueToEscape||(a=k(a));var l=t.safeValue(a);if(e=e.replace(o[0],l),d?(t.regex.lastIndex+=l.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++i>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Y({},a);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,i)).replace(/'/g,'"');try{i=JSON.parse(o),t&&(i=Y(Y({},t),i))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete i.defaultValue,e}for(i.applyPostProcessor=!1,delete i.defaultValue;n=this.nestingRegexp.exec(e);){var u=[],l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),u=c,l=!0}if((r=t(s.call(this,n[1].trim(),i),i))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=k(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),l&&(r=u.reduce((function(e,t){return o.format(e,t,a.lng,Y(Y({},a),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Q=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.logger=y.create("formatter"),this.options=t,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,X(X({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,X({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,X({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,X({},n)).format(e)}},this.init(t)}return i(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"format",value:function(e,t,n,r){var o=this,a=t.split(this.formatSeparator).reduce((function(e,t){var a=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach((function(e){if(e){var t=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.split(":")),r=t[0],o=t.slice(1).join(":");n[r.trim()]||(n[r.trim()]=o.trim()),"false"===o.trim()&&(n[r.trim()]=!1),"true"===o.trim()&&(n[r.trim()]=!0),isNaN(o.trim())||(n[r.trim()]=parseInt(o.trim(),10))}}))}return{formatName:t,formatOptions:n}}(t),i=a.formatName,s=a.formatOptions;if(o.formats[i]){var u=e;try{var l=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},c=l.locale||l.lng||r.locale||r.lng||n;u=o.formats[i](e,c,X(X(X({},s),r),l))}catch(e){o.logger.warn(e)}return u}return o.logger.warn("there was no format function for ".concat(i)),e}),e);return a}}]),e}();function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ne=function(e){l(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}(n);function n(e,r,a){var i,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return o(this,n),i=t.call(this),C&&b.call(s(i)),i.backend=e,i.store=r,i.services=a,i.languageUtils=a.languageUtils,i.options=u,i.logger=y.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(a,u.backend,u),i}return i(n,[{key:"queueLoad",value:function(e,t,n,r){var o=this,a=[],i=[],s=[],u=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?i.indexOf(s)<0&&i.push(s):(o.state[s]=1,r=!1,i.indexOf(s)<0&&i.push(s),a.indexOf(s)<0&&a.push(s),u.indexOf(t)<0&&u.push(t)))})),r||s.push(e)})),(a.length||i.length)&&this.queue.push({pending:i,loaded:{},errors:[],callback:r}),{toLoad:a,pending:i,toLoadLanguages:s,toLoadNamespaces:u}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],a=r[1];t&&this.emit("failedLoading",o,a,t),n&&this.store.addResourceBundle(o,a,n),this.state[e]=t?-1:2;var i={};this.queue.forEach((function(n){!function(e,t,n){var r=O(e,t,Object),o=r.obj,a=r.k;o[a]=o[a]||[],o[a].push(n)}(n.loaded,[o],a),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){i[e]||(i[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){i[e].indexOf(t)<0&&i[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",i),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,i=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,u){s&&u&&o<5?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*a,i)}),a):i(s,u)})):i(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var a=this.queueLoad(e,t,r,o);if(!a.toLoad.length)return a.pending.length||o(),null;a.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],a=r[1];this.read(o,a,"read",void 0,void 0,(function(r,i){r&&t.logger.warn("".concat(n,"loading namespace ").concat(a," for language ").concat(o," failed"),r),!r&&i&&t.logger.log("".concat(n,"loaded namespace ").concat(a," for language ").concat(o),i),t.loaded(e,r,i)}))}},{key:"saveMissing",value:function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,te(te({},a),{},{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),n}(b);function re(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ie(){}var se=function(e){l(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(o(this,n),e=t.call(this),C&&b.call(s(e)),e.options=re(r),e.services={},e.logger=y,e.modules={external:[]},function(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))}))}(s(e)),a&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,a),c(e,s(e));setTimeout((function(){e.init(r,a)}),0)}return e}return i(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var o={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===r(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===r(e[2])||"object"===r(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function a(e){return e?"function"==typeof e?new e:e:null}if(this.options=ae(ae(ae({},o),this.options),re(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=ae(ae({},o.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var i;this.modules.logger?y.init(a(this.modules.logger),this.options):y.init(null,this.options),this.modules.formatter?i=this.modules.formatter:"undefined"!=typeof Intl&&(i=Q);var s=new B(this.options);this.store=new I(this.options.resources,this.options);var u=this.services;u.logger=y,u.resourceStore=this.store,u.languageUtils=s,u.pluralResolver=new J(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!i||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(u.formatter=a(i),u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new G(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new ne(a(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(u.languageDetector=a(this.modules.languageDetector),u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=a(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new V(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=ie),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var c=w(),f=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),c.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var o=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};r?a(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return a(e)})),this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(o,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=w();return e||(e=this.languages),t||(t=this.options.ns),n||(n=ie),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&F.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=w();this.emit("languageChanging",e);var o=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},a=function(e,a){a?(o(a),n.translator.changeLanguage(a),n.isLanguageChangingTo=void 0,n.emit("languageChanged",a),n.logger.log("languageChanged",a)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))},i=function(t){e||t||!n.services.languageDetector||(t=[]);var r="string"==typeof t?t:n.services.languageUtils.getBestMatchFromCodes(t);r&&(n.language||o(r),n.translator.language||n.translator.changeLanguage(r),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(r)),n.loadResources(r,(function(e){a(e,r)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var o=this,a=function e(t,a){var i;if("object"!==r(a)){for(var s=arguments.length,u=new Array(s>2?s-2:0),l=2;l<s;l++)u[l-2]=arguments[l];i=o.options.overloadTranslationOptionHandler([t,a].concat(u))}else i=ae({},a);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns;var c=o.options.keySeparator||".",f=n?"".concat(n).concat(c).concat(t):t;return o.t(f,i)};return"string"==typeof e?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,i);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||!(!i(r,e)||o&&!i(a,e))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=w();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=w();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ie,o=ae(ae(ae({},this.options),t),{isClone:!0}),a=new n(o);return["store","services","language"].forEach((function(t){a[t]=e[t]})),a.services=ae({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new V(a.services,a.options),a.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];a.emit.apply(a,[e].concat(n))})),a.init(o,r),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(b);d(se,"createInstance",(function(){return new se(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var ue=se.createInstance();ue.createInstance=se.createInstance},7911:function(e,t,n){"use strict";n.r(t),n.d(t,{F:function(){return Ke},H:function(){return W},N:function(){return l},a:function(){return T},b:function(){return qe},c:function(){return Q},d:function(){return k},f:function(){return Fe},g:function(){return X},h:function(){return z},p:function(){return S},r:function(){return p},s:function(){return Ye}});var r,o=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},i=function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){e.done?n(e.value):o(e.value).then(i,s)}u((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=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 i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},u=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},l="component-library",c=Object.defineProperty,f=new WeakMap,d=function(e){return f.get(e)},p=function(e,t){return f.set(t.t=e,t)},h=function(e,t){return t in e},g=function(e,t){return(0,console.error)(e,t)},v=new Map,m=new Map,y="slot-fb{display:contents}slot-fb[hidden]{display:none}",b="http://www.w3.org/1999/xlink",w="undefined"!=typeof window?window:{},k=w.document||{head:{}},O={o:0,h:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}},x=function(){var e=!1;try{k.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(e){}return e}(),S=function(e){return Promise.resolve(e)},j=function(){try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1}(),E=!1,P=[],L=[],N=function(e){for(var t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){g(e)}e.length=0},C=function(){N(P),N(L),(E=P.length>0)&&O.raf(C)},R=function(e){return S().then(e)},A=function(e){return function(t){e.push(t),E||(E=!0,4&O.o?R(C):O.raf(C))}}(L),T=function(e){var t=new URL(e,O.h);return t.origin!==w.location.origin?t.href:t.pathname},D={},I=function(e){return"object"==(e=typeof e)||"function"===e};function F(e){var t,n,r;return null!=(r=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?r:void 0}!function(e,t){for(var n in t)c(e,n,{get:t[n],enumerable:!0})}({},{err:function(){return _},map:function(){return U},ok:function(){return M},unwrap:function(){return q},unwrapErr:function(){return K}});var M=function(e){return{isOk:!0,isErr:!1,value:e}},_=function(e){return{isOk:!1,isErr:!0,value:e}};function U(e,t){if(e.isOk){var n=t(e.value);return n instanceof Promise?n.then((function(e){return M(e)})):M(n)}if(e.isErr){var r=e.value;return _(r)}throw"should never get here"}var V,H,B,q=function(e){if(e.isOk)return e.value;throw e.value},K=function(e){if(e.isErr)return e.value;throw e.value},$=function(e,t){return void 0===t&&(t=""),function(){}},z=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=null,a=null,i=null,s=!1,u=!1,l=[],c=function(t){for(var n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!I(o))&&(o=String(o)),s&&u?l[l.length-1].S+=o:l.push(s?J(null,o):o),u=s)};if(c(n),t){t.key&&(a=t.key),t.name&&(i=t.name);var f=t.className||t.class;f&&(t.class="object"!=typeof f?f:Object.keys(f).filter((function(e){return f[e]})).join(" "))}if("function"==typeof e)return e(null===t?{}:t,l,Y);var d=J(e,null);return d._=t,l.length>0&&(d.C=l),d.k=a,d.T=i,d},J=function(e,t){return{o:0,j:e,S:t,N:null,C:null,_:null,k:null,T:null}},W={},Y={forEach:function(e,t){return e.map(G).forEach(t)},map:function(e,t){return e.map(G).map(t).map(Z)}},G=function(e){return{vattrs:e._,vchildren:e.C,vkey:e.k,vname:e.T,vtag:e.j,vtext:e.S}},Z=function(e){if("function"==typeof e.vtag){var t=a({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),z.apply(void 0,u([e.vtag,t],e.vchildren||[],!1))}var n=J(e.vtag,e.vtext);return n._=e.vattrs,n.C=e.vchildren,n.k=e.vkey,n.T=e.vname,n},X=function(e){return d(e).$hostElement$},Q=function(e,t,n){var r=X(e);return{emit:function(e){return ee(r,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}}},ee=function(e,t,n){var r=O.ce(t,n);return e.dispatchEvent(r),r},te=new WeakMap,ne=function(e,t){return"sc-"+e.p},re=function(e,t,n,r,o,a){if(n!==r){var i=h(e,t),s=t.toLowerCase();if("class"===t){var u=e.classList,l=ae(n),c=ae(r);u.remove.apply(u,l.filter((function(e){return e&&!c.includes(e)}))),u.add.apply(u,c.filter((function(e){return e&&!l.includes(e)})))}else if("style"===t){for(var f in n)r&&null!=r[f]||(f.includes("-")?e.style.removeProperty(f):e.style[f]="");for(var f in r)n&&r[f]===n[f]||(f.includes("-")?e.style.setProperty(f,r[f]):e.style[f]=r[f])}else if("key"===t);else if("ref"===t)r&&r(e);else if(i||"o"!==t[0]||"n"!==t[1]){var d=I(r);if((i||d&&null!==r)&&!o)try{if(e.tagName.includes("-"))e[t]=r;else{var p=null==r?"":r;"list"===t?i=!1:null!=n&&e[t]==p||(e[t]=p)}}catch(e){}var g=!1;s!==(s=s.replace(/^xlink\:?/,""))&&(t=s,g=!0),null==r||!1===r?!1===r&&""!==e.getAttribute(t)||(g?e.removeAttributeNS(b,t):e.removeAttribute(t)):(!i||4&a||o)&&!d&&(r=!0===r?"":r,g?e.setAttributeNS(b,t,r):e.setAttribute(t,r))}else if(t="-"===t[2]?t.slice(3):h(w,s)?s.slice(2):s[2]+t.slice(3),n||r){var v=t.endsWith(ie);t=t.replace(se,""),n&&O.rel(e,t,n,v),r&&O.ael(e,t,r,v)}}},oe=/\s/,ae=function(e){return e?e.split(oe):[]},ie="Capture",se=new RegExp(ie+"$"),ue=function(e,t,n){for(var r=11===t.N.nodeType&&t.N.host?t.N.host:t.N,o=e&&e._||D,a=t._||D,i=0,s=le(Object.keys(o));i<s.length;i++)(c=s[i])in a||re(r,c,o[c],void 0,n,t.o);for(var u=0,l=le(Object.keys(a));u<l.length;u++){var c=l[u];re(r,c,o[c],a[c],n,t.o)}};function le(e){return e.includes("ref")?u(u([],e.filter((function(e){return"ref"!==e})),!0),["ref"],!1):e}var ce=!1,fe=!1,de=!1,pe=!1,he=function(e,t,n,r){var o,a,i,s,u=t.C[n],l=0;if(ce||(de=!0,"slot"===u.j&&(V&&r.classList.add(V+"-s"),u.o|=u.C?2:1)),null!==u.S)a=u.N=k.createTextNode(u.S);else if(1&u.o)a=u.N=k.createTextNode("");else{if(pe||(pe="svg"===u.j),a=u.N=k.createElementNS(pe?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!ce&&2&u.o?"slot-fb":u.j),pe&&"foreignObject"===u.j&&(pe=!1),ue(null,u,pe),a.getRootNode().querySelector("body"),u.C)for(l=0;l<u.C.length;++l)(i=he(e,u,l,a))&&a.appendChild(i);"svg"===u.j?pe=!1:"foreignObject"===a.tagName&&(pe=!0)}return a["s-hn"]=B,3&u.o&&(a["s-sr"]=!0,a["s-cr"]=H,a["s-sn"]=u.T||"",a["s-rf"]=null==(o=u._)?void 0:o.ref,(s=e&&e.C&&e.C[n])&&s.j===u.j&&e.N&&ge(e.N,!1)),a},ge=function(e,t){O.o|=1;var n=Array.from(e.childNodes);e["s-sr"];for(var r=n.length-1;r>=0;r--){var o=n[r];o["s-hn"]!==B&&o["s-ol"]&&(Pe(we(o),o,be(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,de=!0),t&&ge(o,t)}O.o&=-2},ve=function(e,t,n,r,o,a){var i,s=e["s-cr"]&&e["s-cr"].parentNode||e;for(s.shadowRoot&&s.tagName===B&&(s=s.shadowRoot);o<=a;++o)r[o]&&(i=he(null,n,o,e))&&(r[o].N=i,Pe(s,i,be(t)))},me=function(e,t,n){for(var r=t;r<=n;++r){var o=e[r];if(o){var a=o.N;Ee(o),a&&(fe=!0,a["s-ol"]?a["s-ol"].remove():ge(a,!0),a.remove())}}},ye=function(e,t,n){return void 0===n&&(n=!1),!(e.j!==t.j||("slot"===e.j?"L"in e&&n&&8!==e.N.nodeType||e.T!==t.T:!n&&e.k!==t.k))},be=function(e){return e&&e["s-ol"]||e},we=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode},ke=function(e,t,n){void 0===n&&(n=!1);var r,o=t.N=e.N,a=e.C,i=t.C,s=t.j,u=t.S;null===u?(pe="svg"===s||"foreignObject"!==s&&pe,("slot"!==s||ce)&&ue(e,t,pe),null!==a&&null!==i?function(e,t,n,r,o){void 0===o&&(o=!1);for(var a,i,s=0,u=0,l=0,c=0,f=t.length-1,d=t[0],p=t[f],h=r.length-1,g=r[0],v=r[h];s<=f&&u<=h;)if(null==d)d=t[++s];else if(null==p)p=t[--f];else if(null==g)g=r[++u];else if(null==v)v=r[--h];else if(ye(d,g,o))ke(d,g,o),d=t[++s],g=r[++u];else if(ye(p,v,o))ke(p,v,o),p=t[--f],v=r[--h];else if(ye(d,v,o))"slot"!==d.j&&"slot"!==v.j||ge(d.N.parentNode,!1),ke(d,v,o),Pe(e,d.N,p.N.nextSibling),d=t[++s],v=r[--h];else if(ye(p,g,o))"slot"!==d.j&&"slot"!==v.j||ge(p.N.parentNode,!1),ke(p,g,o),Pe(e,p.N,d.N),p=t[--f],g=r[++u];else{for(l=-1,c=s;c<=f;++c)if(t[c]&&null!==t[c].k&&t[c].k===g.k){l=c;break}l>=0?((i=t[l]).j!==g.j?a=he(t&&t[u],n,l,e):(ke(i,g,o),t[l]=void 0,a=i.N),g=r[++u]):(a=he(t&&t[u],n,u,e),g=r[++u]),a&&Pe(we(d.N),a,be(d.N))}s>f?ve(e,null==r[h+1]?null:r[h+1].N,n,r,u,h):u>h&&me(t,s,f)}(o,a,t,i,n):null!==i?(null!==e.S&&(o.textContent=""),ve(o,null,t,i,0,i.length-1)):!n&&null!==a&&me(a,0,a.length-1),pe&&"svg"===s&&(pe=!1)):(r=o["s-cr"])?r.parentNode.textContent=u:e.S!==u&&(o.data=u)},Oe=function(e){for(var t=e.childNodes,n=0,r=t;n<r.length;n++){var o=r[n];if(1===o.nodeType){if(o["s-sr"]){var a=o["s-sn"];o.hidden=!1;for(var i=0,s=t;i<s.length;i++){var u=s[i];if(u!==o)if(u["s-hn"]!==o["s-hn"]||""!==a){if(1===u.nodeType&&(a===u.getAttribute("slot")||a===u["s-sn"])||3===u.nodeType&&a===u["s-sn"]){o.hidden=!0;break}}else if(1===u.nodeType||3===u.nodeType&&""!==u.textContent.trim()){o.hidden=!0;break}}}Oe(o)}}},xe=[],Se=function(e){for(var t,n,r,o=0,a=e.childNodes;o<a.length;o++){var i=a[o];if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;var s=i["s-sn"],u=function(){if(!(t=n[r])["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==i["s-hn"])if(je(t,s)){var e=xe.find((function(e){return e.A===t}));fe=!0,t["s-sn"]=t["s-sn"]||s,e?(e.A["s-sh"]=i["s-hn"],e.M=i):(t["s-sh"]=i["s-hn"],xe.push({M:i,A:t})),t["s-sr"]&&xe.map((function(n){je(n.A,t["s-sn"])&&(e=xe.find((function(e){return e.A===t})))&&!n.M&&(n.M=e.M)}))}else xe.some((function(e){return e.A===t}))||xe.push({A:t})};for(r=n.length-1;r>=0;r--)u()}1===i.nodeType&&Se(i)}},je=function(e,t){return 1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t},Ee=function(e){e._&&e._.ref&&e._.ref(null),e.C&&e.C.map(Ee)},Pe=function(e,t,n){return null==e?void 0:e.insertBefore(t,n)},Le=function(e,t){t&&!e.O&&t["s-p"]&&t["s-p"].push(new Promise((function(t){return e.O=t})))},Ne=function(e,t){if(e.o|=16,!(4&e.o))return Le(e,e.V),A((function(){return Ce(e,t)}));e.o|=512},Ce=function(e,t){var n,r=e.$hostElement$,o=$(0,e.i.p),a=e.t;if(!a)throw new Error("Can't render component <".concat(r.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"));return t&&(e.o|=256,e.P&&(e.P.map((function(e){var t=e[0],n=e[1];return _e(a,t,n)})),e.P=void 0),n=_e(a,"componentWillLoad")),n=Re(n,(function(){return _e(a,"componentWillRender")})),o(),Re(n,(function(){return Te(e,a,t)}))},Re=function(e,t){return Ae(e)?e.then(t).catch((function(e){console.error(e),t()})):t()},Ae=function(e){return e instanceof Promise||e&&e.then&&"function"==typeof e.then},Te=function(e,t,n){return i(void 0,void 0,void 0,(function(){var r,o,a,i,l,c,f;return s(this,(function(s){return o=e.$hostElement$,a=$(0,e.i.p),i=o["s-rc"],n&&function(e){var t=e.i,n=e.$hostElement$,r=t.o,o=$(0,t.p),a=function(e,t){var n,r=ne(t),o=m.get(r);if(e=11===e.nodeType?e:k,o)if("string"==typeof o){e=e.head||e;var a=te.get(e),i=void 0;if(a||te.set(e,a=new Set),!a.has(r)){(i=k.createElement("style")).innerHTML=o;var s=null!=(n=O.R)?n:F(k);null!=s&&i.setAttribute("nonce",s),(!(1&t.o)||1&t.o&&"HEAD"!==e.nodeName)&&e.insertBefore(i,e.querySelector("link")),4&t.o&&(i.innerHTML+=y),a&&a.add(r)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=u(u([],e.adoptedStyleSheets,!0),[o],!1));return r}(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&r&&2&r&&(n["s-sc"]=a,n.classList.add(a+"-h")),o()}(e),l=$(0,e.i.p),De(e,t,o,n),i&&(i.map((function(e){return e()})),o["s-rc"]=void 0),l(),a(),c=null!=(r=o["s-p"])?r:[],f=function(){return Ie(e)},0===c.length?f():(Promise.all(c).then(f),e.o|=4,c.length=0),[2]}))}))},De=function(e,t,n,r){try{t=t.render(),e.o&=-17,e.o|=2,function(e,t,n){var r,o,a,i;void 0===n&&(n=!1);var s=e.$hostElement$,u=e.i,l=e.D||J(null,null),c=function(e){return e&&e.j===W}(t)?t:z(null,null,t);if(B=s.tagName,u.I&&(c._=c._||{},u.I.map((function(e){var t=e[0],n=e[1];return c._[n]=s[t]}))),n&&c._)for(var f=0,d=Object.keys(c._);f<d.length;f++){var p=d[f];s.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(c._[p]=s[p])}if(c.j=null,c.o|=4,e.D=c,c.N=l.N=s.shadowRoot||s,V=s["s-sc"],ce=!!(1&u.o),H=s["s-cr"],fe=!1,ke(l,c,n),O.o|=1,de){Se(c.N);for(var h=0,g=xe;h<g.length;h++)(b=(y=g[h]).A)["s-ol"]||((j=k.createTextNode(""))["s-nr"]=b,Pe(b.parentNode,b["s-ol"]=j,b));for(var v=0,m=xe;v<m.length;v++){var y,b=(y=m[v]).A,w=y.M;if(w){for(var x=w.parentNode,S=w.nextSibling,j=null==(r=b["s-ol"])?void 0:r.previousSibling;j;){var E=null!=(o=j["s-nr"])?o:null;if(E&&E["s-sn"]===b["s-sn"]&&x===E.parentNode){for(E=E.nextSibling;E===b||(null==E?void 0:E["s-sr"]);)E=null==E?void 0:E.nextSibling;if(!E||!E["s-nr"]){S=E;break}}j=j.previousSibling}(!S&&x!==b.parentNode||b.nextSibling!==S)&&b!==S&&(!b["s-hn"]&&b["s-ol"]&&(b["s-hn"]=b["s-ol"].parentNode.nodeName),Pe(x,b,S),1===b.nodeType&&(b.hidden=null!=(a=b["s-ih"])&&a)),b&&"function"==typeof w["s-rf"]&&w["s-rf"](b)}else 1===b.nodeType&&(n&&(b["s-ih"]=null!=(i=b.hidden)&&i),b.hidden=!0)}}fe&&Oe(c.N),O.o&=-2,xe.length=0,H=void 0}(e,t,r)}catch(t){g(t,e.$hostElement$)}return null},Ie=function(e){var t=e.i.p,n=e.$hostElement$,r=$(0,t),o=e.t,a=e.V;_e(o,"componentDidRender"),64&e.o?(_e(o,"componentDidUpdate"),r()):(e.o|=64,Ue(n),_e(o,"componentDidLoad"),r(),e.v(n),a||Me()),e.O&&(e.O(),e.O=void 0),512&e.o&&R((function(){return Ne(e,!1)})),e.o&=-517},Fe=function(e){var t=d(e),n=t.$hostElement$.isConnected;return n&&2==(18&t.o)&&Ne(t,!1),n},Me=function(e){Ue(k.documentElement),R((function(){return ee(w,"appload",{detail:{namespace:l}})}))},_e=function(e,t,n){if(e&&e[t])try{return e[t](n)}catch(e){g(e)}},Ue=function(e){return e.classList.add("hydrated")},Ve=function(e,t,n){var r,o,a=e.prototype;if(t.F||t.$||e.watchers){e.watchers&&!t.$&&(t.$=e.watchers);var i=Object.entries(null!=(r=t.F)?r:{});if(i.map((function(e){var r=e[0],o=e[1][0];(31&o||2&n&&32&o)&&Object.defineProperty(a,r,{get:function(){return function(e,t){return d(e).l.get(t)}(this,r)},set:function(e){!function(e,t,n,r){var o=d(e);if(!o)throw new Error("Couldn't find host element for \"".concat(r.p,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).'));var a=o.$hostElement$,i=o.l.get(t),s=o.o,u=o.t;n=function(e,t){return null==e||I(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e}(n,r.F[t][0]);var l=Number.isNaN(i)&&Number.isNaN(n);if((!(8&s)||void 0===i)&&n!==i&&!l&&(o.l.set(t,n),u)){if(r.$&&128&s){var c=r.$[t];c&&c.map((function(e){try{u[e](n,i,t)}catch(e){g(e,a)}}))}2==(18&s)&&Ne(o,!1)}}(this,r,e,t)},configurable:!0,enumerable:!0})})),1&n){var s=new Map;a.attributeChangedCallback=function(e,n,r){var o=this;O.jmp((function(){var i,u=s.get(e);if(o.hasOwnProperty(u))r=o[u],delete o[u];else{if(a.hasOwnProperty(u)&&"number"==typeof o[u]&&o[u]==r)return;if(null==u){var l=d(o),c=null==l?void 0:l.o;if(c&&!(8&c)&&128&c&&r!==n){var f=l.t,p=null==(i=t.$)?void 0:i[e];null==p||p.forEach((function(t){null!=f[t]&&f[t].call(f,r,n,e)}))}return}}o[u]=(null!==r||"boolean"!=typeof o[u])&&r}))},e.observedAttributes=Array.from(new Set(u(u([],Object.keys(null!=(o=t.$)?o:{}),!0),i.filter((function(e){return e[0],15&e[1][0]})).map((function(e){var n,r=e[0],o=e[1],a=o[1]||r;return s.set(a,r),512&o[0]&&(null==(n=t.I)||n.push([r,a])),a})),!0)))}}return e},He=function(e){_e(e,"connectedCallback")},Be=function(e){_e(e,"disconnectedCallback")},qe=function(e,t){var r;void 0===t&&(t={});var a,u=$(),l=[],c=t.exclude||[],p=w.customElements,h=k.head,b=h.querySelector("meta[charset]"),x=k.createElement("style"),S=[],E=!0;Object.assign(O,t),O.h=new URL(t.resourcesUrl||"./",k.baseURI).href;var P=!1;if(e.map((function(e){e[1].map((function(t){var r,u={o:t[0],p:t[1],F:t[2],H:t[3]};4&u.o&&(P=!0),u.F=t[2],u.H=t[3],u.I=[],u.$=null!=(r=t[4])?r:{};var h=u.p,y=function(e){function t(t){var n=e.call(this,t)||this;if(n.hasRegisteredEventListeners=!1,function(e,t){var n={o:0,$hostElement$:e,i:t,l:new Map};n.u=new Promise((function(e){return n.v=e})),e["s-p"]=[],e["s-rc"]=[],f.set(e,n)}(t=n,u),1&u.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw new Error("Unable to re-use existing shadow root for ".concat(u.p,"! Mode is set to ").concat(t.shadowRoot.mode," but Stencil only supports open shadow roots."))}else t.attachShadow({mode:"open"});return n}return o(t,e),t.prototype.connectedCallback=function(){var e=this,t=d(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,$e(this,t,u.H)),a&&(clearTimeout(a),a=null),E?S.push(this):O.jmp((function(){return function(e){if(!(1&O.o)){var t=d(e),r=t.i,o=$(0,r.p);if(1&t.o)$e(e,t,r.H),(null==t?void 0:t.t)?He(t.t):(null==t?void 0:t.u)&&t.u.then((function(){return He(t.t)}));else{t.o|=1,12&r.o&&function(e){var t=e["s-cr"]=k.createComment("");t["s-cn"]=!0,Pe(e,t,e.firstChild)}(e);for(var a=e;a=a.parentNode||a.host;)if(a["s-p"]){Le(t,t.V=a);break}r.F&&Object.entries(r.F).map((function(t){var n=t[0];if(31&t[1][0]&&e.hasOwnProperty(n)){var r=e[n];delete e[n],e[n]=r}})),function(e,t,r){i(void 0,void 0,void 0,(function(){var o,a,i,u,l,c,f,d,p,h;return s(this,(function(s){switch(s.label){case 0:return 32&t.o?[3,6]:(t.o|=32,r.m?(a=function(e){var t=e.p.replace(/-/g,"_"),r=e.m;if(r){var o=v.get(r);if(o)return o[t];var a=function(e){return v.set(r,e),e[t]};switch(r){case"va-additional-info":return n.e(5990).then(n.bind(n,5990)).then(a,g);case"va-alert-expandable":return n.e(6849).then(n.bind(n,6849)).then(a,g);case"va-alert-sign-in":return n.e(1822).then(n.bind(n,1822)).then(a,g);case"va-back-to-top":return n.e(6095).then(n.bind(n,6095)).then(a,g);case"va-banner":return n.e(6830).then(n.bind(n,6830)).then(a,g);case"va-breadcrumbs":return n.e(6308).then(n.bind(n,6308)).then(a,g);case"va-button-pair":return n.e(4157).then(n.bind(n,4157)).then(a,g);case"va-button-segmented":return n.e(3305).then(n.bind(n,3305)).then(a,g);case"va-date":return n.e(6696).then(n.bind(n,6696)).then(a,g);case"va-file-input-multiple":return n.e(2236).then(n.bind(n,2236)).then(a,g);case"va-header-minimal":return n.e(4351).then(n.bind(n,4351)).then(a,g);case"va-language-toggle":return n.e(7495).then(n.bind(n,7495)).then(a,g);case"va-link-action":return n.e(7307).then(n.bind(n,7307)).then(a,g);case"va-loading-indicator":return n.e(6498).then(n.bind(n,6498)).then(a,g);case"va-maintenance-banner":return n.e(272).then(n.bind(n,272)).then(a,g);case"va-memorable-date":return n.e(5663).then(n.bind(n,5663)).then(a,g);case"va-minimal-footer":return n.e(5689).then(n.bind(n,5689)).then(a,g);case"va-need-help":return n.e(2482).then(n.bind(n,2482)).then(a,g);case"va-notification":return n.e(8915).then(n.bind(n,8915)).then(a,g);case"va-omb-info":return n.e(3397).then(n.bind(n,3397)).then(a,g);case"va-on-this-page":return n.e(12).then(n.bind(n,12)).then(a,g);case"va-pagination":return n.e(9496).then(n.bind(n,9496)).then(a,g);case"va-privacy-agreement":return n.e(5119).then(n.bind(n,5119)).then(a,g);case"va-process-list":return n.e(6832).then(n.bind(n,6832)).then(a,g);case"va-process-list-item":return n.e(2986).then(n.bind(n,2986)).then(a,g);case"va-promo-banner":return n.e(3600).then(n.bind(n,3600)).then(a,g);case"va-radio":return n.e(8913).then(n.bind(n,8913)).then(a,g);case"va-radio-option":return n.e(323).then(n.bind(n,323)).then(a,g);case"va-search-filter":return n.e(251).then(n.bind(n,251)).then(a,g);case"va-search-input":return n.e(5845).then(n.bind(n,5845)).then(a,g);case"va-segmented-progress-bar":return n.e(4432).then(n.bind(n,4432)).then(a,g);case"va-service-list-item":return n.e(960).then(n.bind(n,960)).then(a,g);case"va-statement-of-truth":return n.e(7481).then(n.bind(n,7481)).then(a,g);case"va-summary-box":return n.e(6718).then(n.bind(n,6718)).then(a,g);case"va-table":return n.e(7734).then(n.bind(n,7734)).then(a,g);case"va-table-row":return n.e(8463).then(n.bind(n,8463)).then(a,g);case"va-telephone-input":return n.e(8255).then(n.bind(n,8255)).then(a,g);case"va-textarea":return n.e(6650).then(n.bind(n,6650)).then(a,g);case"va-accordion_3":return n.e(9474).then(n.bind(n,9474)).then(a,g);case"va-alert":return n.e(9376).then(n.bind(n,9376)).then(a,g);case"va-combo-box":return n.e(7372).then(n.bind(n,7372)).then(a,g);case"va-crisis-line-modal_2":return n.e(2205).then(n.bind(n,2205)).then(a,g);case"va-critical-action":return n.e(7084).then(n.bind(n,7084)).then(a,g);case"va-file-input":return n.e(6555).then(n.bind(n,6555)).then(a,g);case"va-table-inner":return n.e(9851).then(n.bind(n,9851)).then(a,g);case"va-button-icon_3":return n.e(1966).then(n.bind(n,1966)).then(a,g);case"va-select":return n.e(4780).then(n.bind(n,4780)).then(a,g);case"va-checkbox":return n.e(3589).then(n.bind(n,3589)).then(a,g);case"va-modal_2":return n.e(9186).then(n.bind(n,9186)).then(a,g);case"va-link":return n.e(0).then(n.bind(n,0)).then(a,g);case"va-text-input":return n.e(7166).then(n.bind(n,7166)).then(a,g);case"va-button":return n.e(4400).then(n.bind(n,4400)).then(a,g);case"va-icon":return n.e(141).then(n.bind(n,141)).then(a,g)}return n(6494)("./".concat(r,".entry.js").concat("")).then((function(e){return v.set(r,e),e[t]}),g)}}(r),a&&"then"in a?(i=function(){},[4,a]):[3,2]):[3,4]);case 1:return o=s.sent(),i(),[3,3];case 2:o=a,s.label=3;case 3:if(!o)throw new Error('Constructor for "'.concat(r.p,"#").concat(t.U,'" was not found'));o.isProxied||(r.$=o.watchers,Ve(o,r,2),o.isProxied=!0),u=$(0,r.p),t.o|=8;try{new o(t)}catch(e){g(e)}return t.o&=-9,t.o|=128,u(),He(t.t),[3,5];case 4:o=e.constructor,l=e.localName,customElements.whenDefined(l).then((function(){return t.o|=128})),s.label=5;case 5:o&&o.style&&(c=void 0,"string"==typeof o.style&&(c=o.style),f=ne(r),m.has(f)||(d=$(0,r.p),function(e,t,n){var r=m.get(e);j&&n?"string"==typeof(r=r||new CSSStyleSheet)?r=t:r.replaceSync(t):r=t,m.set(e,r)}(f,c,!!(1&r.o)),d())),s.label=6;case 6:return p=t.V,h=function(){return Ne(t,!0)},p&&p["s-rc"]?p["s-rc"].push(h):h(),[2]}}))}))}(e,t,r)}o()}}(e)}))},t.prototype.disconnectedCallback=function(){var e=this;O.jmp((function(){return function(e){return i(void 0,void 0,void 0,(function(){var t;return s(this,(function(n){return 1&O.o||((t=d(e)).B&&(t.B.map((function(e){return e()})),t.B=void 0),(null==t?void 0:t.t)?Be(t.t):(null==t?void 0:t.u)&&t.u.then((function(){return Be(t.t)}))),[2]}))}))}(e)}))},t.prototype.componentOnReady=function(){return d(this).u},t}(HTMLElement);!function(e,t){var n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.item=function(e){return this[e]},t}(Array);if(8&t.o){var r=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return 1===e.nodeType}))}}),Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}}),Object.defineProperty(e,"childNodes",{get:function(){var e=r.call(this);if(!(1&O.o)&&2&d(this).o){for(var t=new n,o=0;o<e.length;o++){var a=e[o]["s-nr"];a&&t.push(a)}return t}return n.from(e)}})}}(y.prototype,u),u.m=e[0],c.includes(h)||p.get(h)||(l.push(h),p.define(h,Ve(y,u,1)))}))})),l.length>0&&(P&&(x.textContent+=y),x.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",x.innerHTML.length)){x.setAttribute("data-styles","");var L=null!=(r=O.R)?r:F(k);null!=L&&x.setAttribute("nonce",L),h.insertBefore(x,b?b.nextSibling:h.firstChild)}E=!1,S.length?S.map((function(e){return e.connectedCallback()})):O.jmp((function(){return a=setTimeout(Me,30)})),u()},Ke=function(e,t){return t},$e=function(e,t,n,r){n&&n.map((function(n){var r=n[0],o=n[1],a=n[2],i=Je(e,r),s=ze(t,a),u=We(r);O.ael(i,o,s,u),(t.B=t.B||[]).push((function(){return O.rel(i,o,s,u)}))}))},ze=function(e,t){return function(n){var r;try{256&e.o?null==(r=e.t)||r[t](n):(e.P=e.P||[]).push([t,n])}catch(e){g(e)}}},Je=function(e,t){return 8&t?w:e},We=function(e){return x?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e)},Ye=function(e){return O.R=e}},4882:function(e,t,n){"use strict";n.r(t),n.d(t,{CONTACTS:function(){return r.C},contactsMap:function(){return r.c},i18next:function(){return a.i},initIconSpriteLocation:function(){return o.i}});var r=n(7470),o=n(6012),a=n(3244)},5023:function(e,t,n){"use strict";n.r(t),n.d(t,{defineCustomElements:function(){return a},setNonce:function(){return r.s}});var r=n(7911),o=n(7885),a=function(e,t){return function(e,t,n,r){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function i(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){e.done?n(e.value):o(e.value).then(i,s)}u((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){return function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=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 i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}(this,(function(e){switch(e.label){case 0:return"undefined"==typeof window?[2,void 0]:[4,(0,o.g)()];case 1:return e.sent(),[2,(0,r.b)(JSON.parse('[["va-file-input-multiple",[[1,"va-file-input-multiple",{"label":[1],"name":[1],"required":[4],"accept":[1],"errors":[16],"encrypted":[16],"hint":[1],"enableAnalytics":[4,"enable-analytics"],"headerSize":[2,"header-size"],"value":[16],"readOnly":[4,"read-only"],"slotFieldIndexes":[16],"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-search-filter",[[1,"va-search-filter",{"header":[1],"filterOptions":[1040],"totalActiveFilters":[32]},[[9,"resize","handleResize"]],{"filterOptions":["filterOptionsChanged"]}]]],["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"],"hideLegalNote":[4,"hide-legal-note"],"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-privacy-agreement",[[1,"va-privacy-agreement",{"checked":[1028],"showError":[4,"show-error"],"enableAnalytics":[4,"enable-analytics"]}]]],["va-service-list-item",[[1,"va-service-list-item",{"serviceName":[1,"service-name"],"serviceNameHeadingLevel":[2,"service-name-heading-level"],"serviceLink":[1,"service-link"],"serviceStatus":[1,"service-status"],"serviceDetails":[1,"service-details"],"icon":[1],"action":[1],"optionalLink":[1,"optional-link"],"parsedServiceDetails":[32],"parsedAction":[32],"parsedOptionalLink":[32]},null,{"serviceDetails":["handleServiceDetailsChange"],"action":["handleActionChange"],"optionalLink":["handleOptionalLinkChange"]}]]],["va-telephone-input",[[1,"va-telephone-input",{"contact":[1537],"country":[1537],"label":[1],"hint":[1],"error":[1537],"noCountry":[4,"no-country"],"required":[4],"showInternalErrors":[4,"show-internal-errors"],"formattedContact":[32],"countries":[32],"countryError":[32],"contactError":[32],"isValid":[32],"touched":[32]},null,{"error":["syncErrorMessages"]}]]],["va-alert-sign-in",[[1,"va-alert-sign-in",{"variant":[1],"headingLevel":[2,"heading-level"],"visible":[4],"timeLimit":[1,"time-limit"],"noSignInLink":[1,"no-sign-in-link"]}]]],["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"],"dismissedBannerId":[1,"dismissed-banner-id"],"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-language-toggle",[[1,"va-language-toggle",{"language":[1025],"enHref":[1,"en-href"],"esHref":[1,"es-href"],"tlHref":[1,"tl-href"],"routerLinks":[4,"router-links"],"urls":[32]}]]],["va-table",[[1,"va-table",{"tableTitle":[1,"table-title"],"tableType":[1,"table-type"],"stacked":[4],"scrollable":[4],"sortable":[4],"striped":[4],"fullWidth":[4,"full-width"],"rightAlignCols":[1,"right-align-cols"],"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],"showClearButton":[32]},null,{"value":["watchValueHandler"],"suggestions":["watchSuggestionsHandler"]}]]],["va-breadcrumbs",[[1,"va-breadcrumbs",{"label":[1],"wrapping":[4],"breadcrumbList":[1,"breadcrumb-list"],"homeVeteransAffairs":[4,"home-veterans-affairs"],"currentPageRedirect":[4,"current-page-redirect"],"disableAnalytics":[4,"disable-analytics"],"formattedBreadcrumbs":[32]}]]],["va-button-segmented",[[1,"va-button-segmented",{"label":[1],"buttons":[1040],"disableAnalytics":[4,"disable-analytics"],"selected":[1026]},null,{"buttons":["validateButtons"],"selected":["validateSelectedIndex"]}]]],["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"],"page":[2],"pages":[2],"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],"statusText":[1,"status-text"]}]]],["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],"spriteLocation":[1,"sprite-location"],"size":[2],"srtext":[1]}]]],["va-text-input",[[1,"va-text-input",{"label":[1],"error":[1537],"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],"errorHasPii":[4,"error-has-pii"],"paddingLeftValue":[32],"paddingRightValue":[32]}]]],["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],"statusText":[1,"status-text"],"uploadMessage":[16],"enableAnalytics":[4,"enable-analytics"],"headerSize":[2,"header-size"],"headless":[4],"readOnly":[4,"read-only"],"encrypted":[4],"uploadedFile":[16],"maxFileSize":[2,"max-file-size"],"percentUploaded":[1026,"percent-uploaded"],"passwordError":[1,"password-error"],"resetVisualState":[1028,"reset-visual-state"],"file":[32],"fileContents":[32],"internalError":[32],"showModal":[32],"showSeparator":[32]},null,{"statusText":["handleValueChange"],"percentUploaded":["percentHandler"],"resetVisualState":["handleError"]}]]],["va-alert",[[1,"va-alert",{"status":[513],"disableAnalytics":[4,"disable-analytics"],"visible":[4],"closeBtnAriaLabel":[1025,"close-btn-aria-label"],"closeable":[516],"fullWidth":[4,"full-width"],"slim":[4]}]]],["va-critical-action",[[1,"va-critical-action",{"link":[1],"text":[1]}]]],["va-table-inner",[[1,"va-table-inner",{"tableTitle":[1,"table-title"],"rows":[2],"cols":[2],"tableType":[1,"table-type"],"stacked":[4],"sortable":[4],"scrollable":[4],"striped":[4],"fullWidth":[4,"full-width"],"rightAlignCols":[1,"right-align-cols"],"sortdir":[32],"sortindex":[32]}]]],["va-combo-box",[[1,"va-combo-box",{"required":[4],"disabled":[4],"label":[1],"placeholder":[1],"name":[1],"value":[1537],"error":[1],"hint":[1],"messageAriaDescribedby":[1,"message-aria-describedby"],"showInputError":[4,"show-input-error"],"options":[32],"labelNode":[32]},[[0,"input","handleInput"]],{"error":["updateErrorClass"]}]]],["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-select",[[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],"fullWidth":[4,"full-width"],"showError":[4,"show-error"],"useFormsPattern":[1,"use-forms-pattern"],"formHeadingLevel":[2,"form-heading-level"],"formHeading":[1,"form-heading"],"options":[32]},null,{"value":["handleValueChange"]}]]],["va-accordion_3",[[1,"va-accordion",{"openSingle":[4,"open-single"],"disableAnalytics":[4,"disable-analytics"],"sectionHeading":[1,"section-heading"],"expanded":[32]},[[0,"accordionItemToggled","itemToggledHandler"]]],[1,"va-accordion-item",{"header":[1],"headerSrOnly":[1,"header-sr-only"],"subheader":[1],"open":[516],"level":[2],"bordered":[4],"slotHeader":[32],"slotTag":[32]}],[1,"va-checkbox-group",{"label":[1],"labelSrOnly":[1,"label-sr-only"],"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"],[9,"resize","handleResize"]]]]],["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],"indeterminate":[4]}]]],["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"],"language":[1]}]]],["va-button-icon_3",[[1,"va-button-icon",{"disableAnalytics":[4,"disable-analytics"],"label":[1],"buttonType":[1,"button-type"]},[[0,"click","handleClick"]]],[1,"va-progress-bar",{"enableAnalytics":[4,"enable-analytics"],"percent":[2],"label":[1]}],[1,"va-card",{"showShadow":[4,"show-shadow"],"background":[4],"iconName":[1,"icon-name"]}]]],["va-button",[[1,"va-button",{"back":[516],"big":[516],"continue":[516],"disableAnalytics":[4,"disable-analytics"],"disabled":[516],"fullWidth":[4,"full-width"],"loading":[516],"label":[1],"primaryAlternate":[4,"primary-alternate"],"secondary":[516],"submit":[1],"text":[1],"messageAriaDescribedby":[1,"message-aria-describedby"]},[[0,"click","handleClickOverride"]],{"loading":["announceLoadingChange"]}]]],["va-modal_2",[[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"],"disableAnalytics":[4,"disable-analytics"]}],[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"]}]]]]'),t)]}}))}))}},6012:function(e,t,n){"use strict";function r(){var e="__VA_ICON_SPRITE_LOCATION__";globalThis.setVaIconSpriteLocation=function(t){globalThis[e]=t},globalThis.getVaIconSpriteLocation=function(){return globalThis[e]||"/img/sprite.svg"}}n.r(t),n.d(t,{i:function(){return r}})},9870:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},1513:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var l in a=Object(arguments[u]))n.call(a,l)&&(s[l]=a[l]);if(t){i=t(a);for(var c=0;c<i.length;c++)r.call(a,i[c])&&(s[i[c]]=a[i[c]])}}return s}},5465:function(e,t,n){"use strict";n.r(t),n.d(t,{AutoFocusInside:function(){return ft},FocusOn:function(){return lt},InFocusGuard:function(){return S},MoveFocusInside:function(){return pt},classNames:function(){return ht}});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create,Object.create;var a=n(4041),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},s="right-scroll-bar-position",u="width-before-scroll-bar",l=function(){return l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)};function c(e){return e}function f(e,t){void 0===t&&(t=c);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}}}function d(e,t){return void 0===t&&(t=c),f(e,t)}function p(e){void 0===e&&(e={});var t=f(null);return t.options=l({async:!0,ssr:!1},e),t}var h=p();function g(e,t){return n=t,r=function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))},(o=(0,a.useState)((function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}}))[0]).callback=r,o.facade;var n,r,o}var v=function(){},m=a.forwardRef((function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:v}),o=r[0],s=r[1],u=e.forwardProps,l=e.children,c=e.className,f=e.removeScrollBar,d=e.enabled,p=e.shards,m=e.sideCar,y=e.noIsolation,b=e.inert,w=e.allowPinchZoom,k=e.as,O=void 0===k?"div":k,x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),S=m,j=g([n,t]),E=i({},x,o);return a.createElement(a.Fragment,null,d&&a.createElement(S,{sideCar:h,removeScrollBar:f,shards:p,noIsolation:y,inert:b,setCallbacks:s,allowPinchZoom:!!w,lockRef:n}),u?a.cloneElement(a.Children.only(l),i({},E,{ref:j})):a.createElement(O,i({},E,{className:c,ref:j}),l))}));function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}m.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},m.classNames={fullWidth:u,zeroRight:s};var b="data-focus-lock",w="data-focus-lock-disabled",k="data-autofocus-inside",O={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},x=function(e){var t=e.children;return a.createElement(a.Fragment,null,a.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:O}),t,t&&a.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:O}))};x.propTypes={},x.defaultProps={children:null};var S=x,j=d({},(function(e){return{target:e.target,currentTarget:e.currentTarget}})),E=d(),P=d(),L=p({async:!0}),N=[],C=a.forwardRef((function(e,t){var n,r=a.useState(),o=r[0],i=r[1],s=a.useRef(),u=a.useRef(!1),l=a.useRef(null),c=e.children,f=e.disabled,d=e.noFocusGuards,p=e.persistentFocus,h=e.crossFrame,v=e.autoFocus,m=(e.allowTextSelection,e.group),k=e.className,x=e.whiteList,S=e.hasPositiveIndices,P=e.shards,C=void 0===P?N:P,R=e.as,A=void 0===R?"div":R,T=e.lockProps,D=void 0===T?{}:T,I=e.sideCar,F=e.returnFocus,M=e.focusOptions,_=e.onActivation,U=e.onDeactivation,V=a.useState({})[0],H=a.useCallback((function(){l.current=l.current||document&&document.activeElement,s.current&&_&&_(s.current),u.current=!0}),[_]),B=a.useCallback((function(){u.current=!1,U&&U(s.current)}),[U]);(0,a.useEffect)((function(){f||(l.current=null)}),[]);var q=a.useCallback((function(e){var t=l.current;if(t&&t.focus){var n="function"==typeof F?F(t):F;if(n){var r="object"==typeof n?n:void 0;l.current=null,e?Promise.resolve().then((function(){return t.focus(r)})):t.focus(r)}}}),[F]),K=a.useCallback((function(e){u.current&&j.useMedium(e)}),[]),$=E.useMedium,z=a.useCallback((function(e){s.current!==e&&(s.current=e,i(e))}),[]),J=y(((n={})[w]=f&&"disabled",n[b]=m,n),D),W=!0!==d,Y=W&&"tail"!==d,G=g([t,z]);return a.createElement(a.Fragment,null,W&&[a.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:O}),S?a.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:O}):null],!f&&a.createElement(I,{id:V,sideCar:L,observed:o,disabled:f,persistentFocus:p,crossFrame:h,autoFocus:v,whiteList:x,shards:C,onActivation:H,onDeactivation:B,returnFocus:q,focusOptions:M}),a.createElement(A,y({ref:G},J,{className:k,onBlur:$,onFocus:K}),c),Y&&a.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:O}))}));C.propTypes={},C.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var R=C,A=p(),T="data-focus-on-hidden",D=a.forwardRef((function(e,t){var n=a.useState(!1),i=n[0],s=n[1],u=e.children,l=e.autoFocus,c=e.shards,f=e.enabled,d=void 0===f||f,p=e.scrollLock,h=void 0===p||p,g=e.focusLock,v=void 0===g||g,y=e.returnFocus,b=void 0===y||y,w=e.inert,k=e.allowPinchZoom,O=e.sideCar,x=e.className,S=e.shouldIgnore,j=e.style,E=e.as,P=o(e,["children","autoFocus","shards","enabled","scrollLock","focusLock","returnFocus","inert","allowPinchZoom","sideCar","className","shouldIgnore","style","as"]),L=O,N=i.onActivation,C=i.onDeactivation,T=o(i,["onActivation","onDeactivation"]);return a.createElement(a.Fragment,null,a.createElement(R,{ref:t,sideCar:O,disabled:!(i&&d&&v),returnFocus:b,autoFocus:l,shards:c,onActivation:N,onDeactivation:C,className:x,as:m,whiteList:S,lockProps:r({},T,{sideCar:O,shards:c,allowPinchZoom:k,as:E,inert:w,style:j,enabled:d&&h})},u),d&&a.createElement(L,r({},P,{sideCar:A,setLockProps:s,shards:c})))})),I=function(e){var t=e.sideCar,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return a.createElement(r,l({},n))};function F(e,t){return e.useMedium(t),I}function M(e,t){return M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},M(e,t)}I.isSideCarExport=!0;var _=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},U=function(e){return Array.isArray(e)?e:[e]},V=function(){return document.activeElement?document.activeElement.shadowRoot?document.activeElement.shadowRoot.activeElement:document.activeElement:void 0},H=function(e){return e.parentNode?H(e.parentNode):e},B=function(e){return U(e).filter(Boolean).reduce((function(e,t){var n=t.getAttribute(b);return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var a=e[r].compareDocumentPosition(e[o]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter((function(e,n){return!t.has(n)}))}(_(H(t).querySelectorAll("[".concat(b,'="').concat(n,'"]:not([').concat(w,'="disabled"])')))):[t]),e}),[])},q=function(e){var t=document&&V();return!(!t||t.dataset&&t.dataset.focusGuard)&&B(e).reduce((function(e,n){return e||n.contains(t)||function(e){return Boolean(_(e.querySelectorAll("iframe")).some((function(e){return e===document.activeElement})))}(n)}),!1)},K=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue||"none"!==t.getPropertyValue("display")&&"hidden"!==t.getPropertyValue("visibility"))}(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)}(t,K.bind(void 0,e));return e.set(t,r),r},$=function(e){return e.dataset},z=function(e){return"INPUT"===e.tagName},J=function(e){return z(e)&&"radio"===e.type},W=function(e){var t;return Boolean(e&&(null===(t=$(e))||void 0===t?void 0:t.focusGuard))},Y=function(e){return!W(e)},G=function(e){return Boolean(e)},Z=function(e,t){return J(e)&&e.name?function(e,t){return t.filter(J).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},X=function(e){return e[0]&&e.length>1?Z(e[0],e):e[0]},Q=function(e,t){return e.length>1?e.indexOf(Z(e[t],e)):t},ee="NEW_FOCUS",te=function(e,t){var n=e.tabIndex-t.tabIndex,r=e.index-t.index;if(n){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return n||r},ne=function(e,t,n){return _(e).map((function(e,t){return{node:e,index:t,tabIndex:n&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(te)},re=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),oe="".concat(re,", [data-focus-guard]"),ae=function(e,t){return e.reduce((function(e,n){return e.concat(_(n.querySelectorAll(t?oe:re)),n.parentNode?_(n.parentNode.querySelectorAll(re)).filter((function(e){return e===n})):[])}),[])},ie=function(e,t){return _(e).filter((function(e){return K(t,e)})).filter((function(e){return function(e){return!((z(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled)||e.ariaDisabled)}(e)}))},se=function(e,t,n){return ne(ie(ae(e,n),t),!0,n)},ue=function(e,t){return ne(ie(ae(e),t),!1)},le=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&le(e.parentNode,t),t},ce=function(e,t){for(var n=le(e),r=le(t),o=0;o<n.length;o+=1){var a=n[o];if(r.indexOf(a)>=0)return a}return!1},fe=function(e,t,n){var r=U(e),o=U(t),a=r[0],i=!1;return o.filter(Boolean).forEach((function(e){i=ce(i||e,e)||i,n.filter(Boolean).forEach((function(e){var t=ce(a,e);t&&(i=!i||t.contains(i)?t:ce(t,i))}))})),i},de=function(e,t){var n=document&&V(),r=B(e).filter(Y),o=fe(n||e,e,r),a=new Map,i=ue(r,a),s=se(r,a).filter((function(e){var t=e.node;return Y(t)}));if(s[0]||(s=i)[0]){var u,l,c,f,d=ue([o],a).map((function(e){return e.node})),p=(u=d,l=s,c=new Map,l.forEach((function(e){return c.set(e.node,e)})),u.map((function(e){return c.get(e)})).filter(G)),h=p.map((function(e){return e.node})),g=function(e,t,n,r){var o=e.length,a=e[0],i=e[o-1],s=W(n);if(!(n&&e.indexOf(n)>=0)){var u,l,c=void 0!==n?t.indexOf(n):-1,f=r?t.indexOf(r):c,d=r?e.indexOf(r):-1,p=c-f,h=t.indexOf(a),g=t.indexOf(i),v=(u=t,l=new Set,u.forEach((function(e){return l.add(Z(e,u))})),u.filter((function(e){return l.has(e)}))),m=(void 0!==n?v.indexOf(n):-1)-(r?v.indexOf(r):c),y=Q(e,0),b=Q(e,o-1);return-1===c||-1===d?ee:!p&&d>=0?d:c<=h&&s&&Math.abs(p)>1?b:c>=g&&s&&Math.abs(p)>1?y:p&&Math.abs(m)>1?d:c<=h?b:c>g?y:p?Math.abs(p)>1?d:(o+d+p)%o:void 0}}(h,d,n,t);if(g===ee){var v=i.map((function(e){return e.node})).filter((f=function(e,t){return e.reduce((function(e,n){return e.concat(function(e,t){return ie((n=e.querySelectorAll("[".concat(k,"]")),_(n).map((function(e){return ae([e])})).reduce((function(e,t){return e.concat(t)}),[])),t);var n}(n,t))}),[])}(r,a),function(e){var t;return e.autofocus||!!(null===(t=$(e))||void 0===t?void 0:t.autofocus)||f.indexOf(e)>=0}));return{node:v&&v.length?X(v):X(h)}}return void 0===g?g:p[g]}},pe=0,he=!1,ge=function(e,t,n){void 0===n&&(n={});var r,o,a=de(e,t);if(!he&&a){if(pe>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),he=!0,void setTimeout((function(){he=!1}),1);pe++,r=a.node,o=n.focusOptions,"focus"in r&&r.focus(o),"contentWindow"in r&&r.contentWindow&&r.contentWindow.focus(),pe--}};function ve(e){var t=window.setImmediate;void 0!==t?t(e):setTimeout(e,1)}var me=function(e,t){var n={};return n[e]=t,n},ye=null,be=null,we=null,ke=!1,Oe=function(){return!0};function xe(e,t,n,r){var o=null,a=e;do{var i=r[a];if(i.guard)i.node.dataset.focusAutoGuard&&(o=i);else{if(!i.lockItem)break;if(a!==e)return;o=null}}while((a+=n)!==t);o&&(o.node.tabIndex=0)}var Se=function(e){return e&&"current"in e?e.current:e},je=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},Ee=function(){var e,t,n,r,o,a,i,s=!1;if(ye){var u=ye,l=u.observed,c=u.persistentFocus,f=u.autoFocus,d=u.shards,p=u.crossFrame,h=u.focusOptions,g=l||we&&we.portaledElement,v=document&&document.activeElement;if(g){var m=[g].concat(d.map(Se).filter(Boolean));if(v&&!function(e){return(ye.whiteList||Oe)(e)}(v)||(c||(p?Boolean(ke):"meanwhile"===ke)||!function(){return document&&document.activeElement===document.body||!!(e=document&&V())&&_(document.querySelectorAll("[".concat("data-no-focus-lock","]"))).some((function(t){return t.contains(e)}));var e}()||!be&&f)&&(g&&!(q(m)||v&&function(e,t){return t.some((function(t){return je(e,t,t)}))}(v,m)||(i=v,we&&we.portaledElement===i))&&(document&&!be&&v&&!f?(v.blur&&v.blur(),document.body.focus()):(s=ge(m,be,{focusOptions:h}),we={})),ke=!1,be=document&&document.activeElement),document){var y=document&&document.activeElement,b=(t=B(e=m).filter(Y),n=fe(e,e,t),r=new Map,o=se([n],r,!0),a=se(t,r).filter((function(e){var t=e.node;return Y(t)})).map((function(e){return e.node})),o.map((function(e){var t=e.node;return{node:t,index:e.index,lockItem:a.indexOf(t)>=0,guard:W(t)}}))),w=b.map((function(e){return e.node})).indexOf(y);w>-1&&(b.filter((function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard})).forEach((function(e){return e.node.removeAttribute("tabIndex")})),xe(w,b.length,1,b),xe(w,-1,-1,b))}}}return s},Pe=function(e){Ee()&&e&&(e.stopPropagation(),e.preventDefault())},Le=function(){return ve(Ee)},Ne=function(){ke="just",setTimeout((function(){ke="meanwhile"}),0)};j.assignSyncMedium((function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(we={observerNode:n,portaledElement:t})})),E.assignMedium(Le),P.assignMedium((function(e){return e({moveFocusInside:ge,focusInside:q})}));var Ce,Re,Ae=(Ce=function(e){return e.filter((function(e){return!e.disabled}))},Re=function(e){var t=e.slice(-1)[0];t&&!ye&&(document.addEventListener("focusin",Pe),document.addEventListener("focusout",Le),window.addEventListener("blur",Ne));var n=ye,r=n&&t&&t.id===n.id;ye=t,n&&!r&&(n.onDeactivation(),e.filter((function(e){return e.id===n.id})).length||n.returnFocus(!t)),t?(be=null,r&&n.observed===t.observed||t.onActivation(),Ee(),ve(Ee)):(document.removeEventListener("focusin",Pe),document.removeEventListener("focusout",Le),window.removeEventListener("blur",Ne),be=null)},function(e){var t,n=[];function r(){t=Ce(n.map((function(e){return e.props}))),Re(t)}var o,i,s,u=function(o){var i,s;function u(){return o.apply(this,arguments)||this}s=o,(i=u).prototype=Object.create(s.prototype),i.prototype.constructor=i,M(i,s),u.peek=function(){return t};var l=u.prototype;return l.componentDidMount=function(){n.push(this),r()},l.componentDidUpdate=function(){r()},l.componentWillUnmount=function(){var e=n.indexOf(this);n.splice(e,1),r()},l.render=function(){return a.createElement(e,this.props)},u}(a.PureComponent);return o=u,i="displayName",s="SideEffect("+function(e){return e.displayName||e.name||"Component"}(e)+")",i in o?Object.defineProperty(o,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[i]=s,u})((function(){return null}));F(L,Ae);var Te=function(){var e=0,t=null;return{add:function(r){var o,a;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=n.nc;return t&&e.setAttribute("nonce",t),e}())&&(a=r,(o=t).styleSheet?o.styleSheet.cssText=a:o.appendChild(document.createTextNode(a)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},De=function(){var e,t=(e=Te(),function(t){a.useEffect((function(){return e.add(t),function(){e.remove()}}),[])});return function(e){var n=e.styles;return t(n),null}},Ie={left:0,top:0,right:0,gap:0},Fe=function(e){return parseInt(e||"",10)||0},Me=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Ie;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Fe(n),Fe(r),Fe(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},_e=De(),Ue=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .with-scroll-bars-hidden {\n overflow: hidden "+r+";\n padding-right: "+l+"px "+r+";\n }\n body {\n overflow: hidden "+r+";\n "+[t&&"position: relative "+r+";","margin"===n&&"\n padding-left: "+o+"px;\n padding-top: "+a+"px;\n padding-right: "+i+"px;\n margin-left:0;\n margin-top:0;\n margin-right: "+l+"px "+r+";\n ","padding"===n&&"padding-right: "+l+"px "+r+";"].filter(Boolean).join("")+"\n }\n \n ."+s+" {\n right: "+l+"px "+r+";\n }\n \n ."+u+" {\n margin-right: "+l+"px "+r+";\n }\n \n ."+s+" ."+s+" {\n right: 0 "+r+";\n }\n \n ."+u+" ."+u+" {\n margin-right: 0 "+r+";\n }\n \n body {\n --removed-body-scroll-bar-size: "+l+"px;\n }\n"},Ve=function(e){var t=a.useState(Me(e.gapMode)),n=t[0],r=t[1];a.useEffect((function(){r(Me(e.gapMode))}),[e.gapMode]);var o=e.noRelative,i=e.noImportant,s=e.gapMode,u=void 0===s?"margin":s;return a.createElement(_e,{styles:Ue(n,!o,u,i?"":"!important")})},He=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Be(e,n)){var r=qe(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Be=function(e,t){return"v"===e?function(e){var t=window.getComputedStyle(e);return"hidden"!==t.overflowY&&!(t.overflowY===t.overflowX&&"visible"===t.overflowY)}(t):function(e){var t=window.getComputedStyle(e);return"range"===e.type||"hidden"!==t.overflowX&&!(t.overflowY===t.overflowX&&"visible"===t.overflowX)}(t)},qe=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},Ke=!1;if("undefined"!=typeof window)try{var $e=Object.defineProperty({},"passive",{get:function(){return Ke=!0,!0}});window.addEventListener("test",$e,$e),window.removeEventListener("test",$e,$e)}catch(e){Ke=!1}var ze=!!Ke&&{passive:!1},Je=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},We=function(e){return[e.deltaX,e.deltaY]},Ye=function(e){return e&&"current"in e?e.current:e},Ge=function(e){return"\n .block-interactivity-"+e+" {pointer-events: none;}\n .allow-interactivity-"+e+" {pointer-events: all;}\n"},Ze=0,Xe=[];F(h,(function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(Ze++)[0],i=a.useState((function(){return De()}))[0],s=a.useRef(e);a.useEffect((function(){s.current=e}),[e]),a.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-"+o);var t=[e.lockRef.current].concat((e.shards||[]).map(Ye)).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-"+o)})),function(){document.body.classList.remove("block-interactivity-"+o),t.forEach((function(e){return e.classList.remove("allow-interactivity-"+o)}))}}}),[e.inert,e.lockRef.current,e.shards]);var u=a.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var o,a=Je(e),i=n.current,u="deltaX"in e?e.deltaX:i[0]-a[0],l="deltaY"in e?e.deltaY:i[1]-a[1],c=e.target,f=Math.abs(u)>Math.abs(l)?"h":"v",d=He(f,c);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=He(f,c)),!d)return!1;if(!r.current&&"changedTouches"in e&&(u||l)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=o*r,i=n.target,s=t.contains(i),u=!1,l=a>0,c=0,f=0;do{var d=qe(e,i),p=d[0],h=d[1]-d[2]-o*p;(p||h)&&Be(e,i)&&(c+=h,f+=p),i=i.parentNode}while(!s&&i!==document.body||s&&(t.contains(i)||t===i));return(l&&(0===c||!1)||!l&&(0===f||!1))&&(u=!0),u}(p,t,e,"h"===p?u:l)}),[]),l=a.useCallback((function(e){var n=e;if(Xe.length&&Xe[Xe.length-1]===i){var r="deltaY"in n?We(n):Je(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o}))[0];if(o&&o.should)n.preventDefault();else if(!o){var a=(s.current.shards||[]).map(Ye).filter(Boolean).filter((function(e){return e.contains(n.target)}));(a.length>0?u(n,a[0]):!s.current.noIsolation)&&n.preventDefault()}}}),[]),c=a.useCallback((function(e,n,r,o){var a={name:e,delta:n,target:r,should:o};t.current.push(a),setTimeout((function(){t.current=t.current.filter((function(e){return e!==a}))}),1)}),[]),f=a.useCallback((function(e){n.current=Je(e),r.current=void 0}),[]),d=a.useCallback((function(t){c(t.type,We(t),t.target,u(t,e.lockRef.current))}),[]),p=a.useCallback((function(t){c(t.type,Je(t),t.target,u(t,e.lockRef.current))}),[]);a.useEffect((function(){return Xe.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,ze),document.addEventListener("touchmove",l,ze),document.addEventListener("touchstart",f,ze),function(){Xe=Xe.filter((function(e){return e!==i})),document.removeEventListener("wheel",l,ze),document.removeEventListener("touchmove",l,ze),document.removeEventListener("touchstart",f,ze)}}),[]);var h=e.removeScrollBar,g=e.inert;return a.createElement(a.Fragment,null,g?a.createElement(i,{styles:Ge(o)}):null,h?a.createElement(Ve,{gapMode:"margin"}):null)}));var Qe=new WeakMap,et=new WeakMap,tt={},nt=0,rt=De(),ot="\n ["+T+"] {\n pointer-events: none !important;\n }\n",at=function(){return a.createElement(rt,{styles:ot})},it=function(e){return"current"in e?e.current:e},st=F(A,(function(e){var t=e.setLockProps,n=e.onEscapeKey,r=e.onClickOutside,o=e.shards,i=e.onActivation,s=e.onDeactivation,u=e.noIsolation,l=(0,a.useState)(void 0),c=l[0],f=l[1],d=(0,a.useRef)(null),p=(0,a.useRef)(0);return a.useEffect((function(){var e=function(e){e.defaultPrevented||"Escape"!==e.code&&"Escape"!==e.key&&27!==e.keyCode||!n||n(e)},t=function(e){e.defaultPrevented||e.target===d.current||e instanceof MouseEvent&&0!==e.button||o&&o.map(it).some((function(t){return t&&t.contains(e.target)||t===e.target}))||r&&r(e)},a=function(e){t(e),p.current=e.touches.length},i=function(e){p.current=e.touches.length};if(c)return document.addEventListener("keydown",e),document.addEventListener("mousedown",t),document.addEventListener("touchstart",a),document.addEventListener("touchend",i),function(){document.removeEventListener("keydown",e),document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",a),document.removeEventListener("touchend",i)}}),[c,r,n]),(0,a.useEffect)((function(){if(c)return i&&i(c),function(){s&&s()}}),[!!c]),(0,a.useEffect)((function(){var e=function(){return null},n=!1;return t({onMouseDown:function(e){d.current=e.target},onTouchStart:function(e){d.current=e.target},onActivation:function(t){e=function(e,t,n){void 0===t&&(t=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e)),void 0===n&&(n="data-aria-hidden");var r=Array.isArray(e)?e:[e];tt[n]||(tt[n]=new WeakMap);var o=tt[n],a=[],i=new Set,s=function(e){e&&!i.has(e)&&(i.add(e),s(e.parentNode))};r.forEach(s);var u=function(e){!e||r.indexOf(e)>=0||Array.prototype.forEach.call(e.children,(function(e){if(i.has(e))u(e);else{var t=e.getAttribute("aria-hidden"),r=null!==t&&"false"!==t,s=(Qe.get(e)||0)+1,l=(o.get(e)||0)+1;Qe.set(e,s),o.set(e,l),a.push(e),1===s&&r&&et.set(e,!0),1===l&&e.setAttribute(n,"true"),r||e.setAttribute("aria-hidden","true")}}))};return u(t),i.clear(),nt++,function(){a.forEach((function(e){var t=Qe.get(e)-1,r=o.get(e)-1;Qe.set(e,t),o.set(e,r),t||(et.has(e)||e.removeAttribute("aria-hidden"),et.delete(e)),r||e.removeAttribute(n)})),--nt||(Qe=new WeakMap,Qe=new WeakMap,et=new WeakMap,tt={})}}([t].concat((o||[]).map(it)),document.body,u?void 0:T),f((function(){return t}))},onDeactivation:function(){e(),n||f(null)}}),function(){n=!0,t(!1)}}),[]),a.createElement(at,null)})),ut=function(e){return a.createElement(st,r({},e))},lt=a.forwardRef((function(e,t){return a.createElement(D,r({},e,{ref:t,sideCar:ut}))})),ct=function(e){var t=e.disabled,n=e.children,r=e.className;return a.createElement("div",y({},me(k,!t),{className:r}),n)};ct.propTypes={},ct.defaultProps={disabled:!1,className:void 0};var ft=ct;function dt(e){var t,n=e.disabled,r=e.className,o=e.children,i=a.useRef(null);return t=n?void 0:i,a.useEffect((function(){var e=!0;return P.useMedium((function(n){var r=t&&t.current;e&&r&&(n.focusInside(r)||n.moveFocusInside(r,null))})),function(){e=!1}}),[t]),a.createElement("div",y({},me(k,!n),{ref:i,className:r}),o)}dt.propTypes={},dt.defaultProps={disabled:!1,className:void 0};var pt=dt,ht=r({},m.classNames)},4304:function(e,t,n){"use strict";var r=n(1513),o="function"==typeof Symbol&&Symbol.for,a=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function k(){}function O(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=w.prototype;var x=O.prototype=new k;x.constructor=O,r(x,w.prototype),x.isPureReactComponent=!0;var S={current:null},j=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,n){var r,o={},i=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)j.call(t,r)&&!E.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:a,type:e,key:i,ref:s,props:o,_owner:S.current}}function L(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var N=/\/+/g,C=[];function R(e,t,n,r){if(C.length){var o=C.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function A(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>C.length&&C.push(e)}function T(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var s=!1;if(null===e)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case a:case i:s=!0}}if(s)return n(r,e,""===t?"."+I(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){var l=t+I(o=e[u],u);s+=T(o,l,n,r)}else if("function"==typeof(l=null===e||"object"!=typeof e?null:"function"==typeof(l=v&&e[v]||e["@@iterator"])?l:null))for(e=l.call(e),u=0;!(o=e.next()).done;)s+=T(o=o.value,l=t+I(o,u++),n,r);else if("object"===o)throw n=""+e,Error(m(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return s}function D(e,t,n){return null==e?0:T(e,"",t,n)}function I(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function F(e,t){e.func.call(e.context,t,e.count++)}function M(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?_(e,r,n,(function(e){return e})):null!=e&&(L(e)&&(e=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+n)),r.push(e))}function _(e,t,n,r,o){var a="";null!=n&&(a=(""+n).replace(N,"$&/")+"/"),D(e,M,t=R(t,a,r,o)),A(t)}var U={current:null};function V(){var e=U.current;if(null===e)throw Error(m(321));return e}var H={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:S,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return _(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;D(e,F,t=R(null,null,t,n)),A(t)},count:function(e){return D(e,(function(){return null}),null)},toArray:function(e){var t=[];return _(e,t,null,(function(e){return e})),t},only:function(e){if(!L(e))throw Error(m(143));return e}},t.Component=w,t.Fragment=s,t.Profiler=l,t.PureComponent=O,t.StrictMode=u,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,t.cloneElement=function(e,t,n){if(null==e)throw Error(m(267,e));var o=r({},e.props),i=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=S.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)j.call(t,c)&&!E.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){l=Array(c);for(var f=0;f<c;f++)l[f]=arguments[f+2];o.children=l}return{$$typeof:a,type:e.type,key:i,ref:s,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=P,t.createFactory=function(e){var t=P.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:d,render:e}},t.isValidElement=L,t.lazy=function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return V().useCallback(e,t)},t.useContext=function(e,t){return V().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return V().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return V().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return V().useLayoutEffect(e,t)},t.useMemo=function(e,t){return V().useMemo(e,t)},t.useReducer=function(e,t,n){return V().useReducer(e,t,n)},t.useRef=function(e){return V().useRef(e)},t.useState=function(e){return V().useState(e)},t.version="16.14.0"},4041:function(e,t,n){"use strict";e.exports=n(4304)},6494:function(e,t,n){var r={"./":[4882],"./app-globals-0f993ce5":[7885],"./app-globals-0f993ce5.js":[7885],"./component-library":[4475,4475],"./component-library.js":[4475,4475],"./contacts-98977b08":[7470],"./contacts-98977b08.js":[7470],"./date-utils-7c9e7429":[7747,7747],"./date-utils-7c9e7429.js":[7747,7747],"./i18next-858cee77":[3244],"./i18next-858cee77.js":[3244],"./index":[4882],"./index-33e762f0":[7911],"./index-33e762f0.js":[7911],"./index-6d7ecf98":[4569,4569],"./index-6d7ecf98.js":[4569,4569],"./index.js":[4882],"./loader":[5023],"./loader.js":[5023],"./utils-d9025a38":[7508,7508],"./utils-d9025a38.js":[7508,7508],"./va-accordion_3.entry":[9474,9474],"./va-accordion_3.entry.js":[9474,9474],"./va-additional-info.entry":[5990,5990],"./va-additional-info.entry.js":[5990,5990],"./va-alert-expandable.entry":[6849,6849],"./va-alert-expandable.entry.js":[6849,6849],"./va-alert-sign-in.entry":[1822,1822],"./va-alert-sign-in.entry.js":[1822,1822],"./va-alert.entry":[9376,9376],"./va-alert.entry.js":[9376,9376],"./va-back-to-top.entry":[6095,6095],"./va-back-to-top.entry.js":[6095,6095],"./va-banner.entry":[6830,6830],"./va-banner.entry.js":[6830,6830],"./va-breadcrumbs.entry":[6308,6308],"./va-breadcrumbs.entry.js":[6308,6308],"./va-button-icon_3.entry":[1966,1966],"./va-button-icon_3.entry.js":[1966,1966],"./va-button-pair.entry":[4157,4157],"./va-button-pair.entry.js":[4157,4157],"./va-button-segmented.entry":[3305,3305],"./va-button-segmented.entry.js":[3305,3305],"./va-button.entry":[4400,4400],"./va-button.entry.js":[4400,4400],"./va-checkbox.entry":[3589,3589],"./va-checkbox.entry.js":[3589,3589],"./va-combo-box.entry":[7372,7372],"./va-combo-box.entry.js":[7372,7372],"./va-crisis-line-modal_2.entry":[2205,2205],"./va-crisis-line-modal_2.entry.js":[2205,2205],"./va-critical-action.entry":[7084,7084],"./va-critical-action.entry.js":[7084,7084],"./va-date.entry":[6696,6696],"./va-date.entry.js":[6696,6696],"./va-file-input-multiple.entry":[2236,2236],"./va-file-input-multiple.entry.js":[2236,2236],"./va-file-input.entry":[6555,6555],"./va-file-input.entry.js":[6555,6555],"./va-header-minimal.entry":[4351,4351],"./va-header-minimal.entry.js":[4351,4351],"./va-icon-global-6688c016":[6012],"./va-icon-global-6688c016.js":[6012],"./va-icon.entry":[141,141],"./va-icon.entry.js":[141,141],"./va-language-toggle.entry":[7495,7495],"./va-language-toggle.entry.js":[7495,7495],"./va-link-action.entry":[7307,7307],"./va-link-action.entry.js":[7307,7307],"./va-link.entry":[0,0],"./va-link.entry.js":[0,0],"./va-loading-indicator.entry":[6498,6498],"./va-loading-indicator.entry.js":[6498,6498],"./va-maintenance-banner.entry":[272,272],"./va-maintenance-banner.entry.js":[272,272],"./va-memorable-date.entry":[5663,5663],"./va-memorable-date.entry.js":[5663,5663],"./va-minimal-footer.entry":[5689,5689],"./va-minimal-footer.entry.js":[5689,5689],"./va-modal_2.entry":[9186,9186],"./va-modal_2.entry.js":[9186,9186],"./va-need-help.entry":[2482,2482],"./va-need-help.entry.js":[2482,2482],"./va-notification.entry":[8915,8915],"./va-notification.entry.js":[8915,8915],"./va-omb-info.entry":[3397,3397],"./va-omb-info.entry.js":[3397,3397],"./va-on-this-page.entry":[12,12],"./va-on-this-page.entry.js":[12,12],"./va-pagination.entry":[9496,9496],"./va-pagination.entry.js":[9496,9496],"./va-privacy-agreement.entry":[5119,5119],"./va-privacy-agreement.entry.js":[5119,5119],"./va-process-list-item.entry":[2986,2986],"./va-process-list-item.entry.js":[2986,2986],"./va-process-list.entry":[6832,6832],"./va-process-list.entry.js":[6832,6832],"./va-promo-banner.entry":[3600,3600],"./va-promo-banner.entry.js":[3600,3600],"./va-radio-option.entry":[323,323],"./va-radio-option.entry.js":[323,323],"./va-radio.entry":[8913,8913],"./va-radio.entry.js":[8913,8913],"./va-search-filter.entry":[251,251],"./va-search-filter.entry.js":[251,251],"./va-search-input.entry":[5845,5845],"./va-search-input.entry.js":[5845,5845],"./va-segmented-progress-bar.entry":[4432,4432],"./va-segmented-progress-bar.entry.js":[4432,4432],"./va-select.entry":[4780,4780],"./va-select.entry.js":[4780,4780],"./va-service-list-item.entry":[960,960],"./va-service-list-item.entry.js":[960,960],"./va-statement-of-truth.entry":[7481,7481],"./va-statement-of-truth.entry.js":[7481,7481],"./va-summary-box.entry":[6718,6718],"./va-summary-box.entry.js":[6718,6718],"./va-table-inner.entry":[9851,9851],"./va-table-inner.entry.js":[9851,9851],"./va-table-row.entry":[8463,8463],"./va-table-row.entry.js":[8463,8463],"./va-table.entry":[7734,7734],"./va-table.entry.js":[7734,7734],"./va-telephone-input.entry":[8255,8255],"./va-telephone-input.entry.js":[8255,8255],"./va-text-input.entry":[7166,7166],"./va-text-input.entry.js":[7166,7166],"./va-textarea.entry":[6650,6650],"./va-textarea.entry.js":[6650,6650]};function o(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(o)}))}o.keys=function(){return Object.keys(r)},o.id=6494,e.exports=o},4799:function(e){"use strict";e.exports=JSON.parse('{"name":"@department-of-veterans-affairs/react-components","version":"28.1.0","description":"VA.gov component library in React","keywords":["react","js","formation","va","vads"],"homepage":"http://design.va.gov","license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/department-of-veterans-affairs/component-library.git"},"scripts":{"build":"node ./scripts/build.js","prepublishOnly":"pinst --disable && node ./scripts/prepublish.js","postpublish":"pinst --enable","test-debug":"karma start testing/karma.conf.js --browsers Chrome","test":"karma start testing/karma.conf.js --single-run","test-watch":"karma start testing/karma.conf.js --auto-watch"},"bugs":{"url":"https://github.com/department-of-veterans-affairs/component-library/issues"},"lint-staged":{"*.(js|jsx)":"eslint --fix"},"dependencies":{"classnames":"^2.2.6","prop-types":"^15.6.2","react-focus-on":"^3.5.1","react-transition-group":"1","recast":"^0.14.4","util":"^0.12.5"},"devDependencies":{"@babel/core":"^7.12.17","@babel/eslint-parser":"^7.12.17","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-proposal-export-namespace-from":"^7.14.5","@babel/plugin-proposal-function-sent":"^7.12.1","@babel/plugin-proposal-json-strings":"^7.14.5","@babel/plugin-proposal-numeric-separator":"^7.14.5","@babel/plugin-proposal-optional-chaining":"^7.14.5","@babel/plugin-proposal-throw-expressions":"^7.12.1","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-syntax-import-meta":"^7.10.4","@babel/preset-env":"^7.12.10","@babel/preset-react":"^7.14.5","@department-of-veterans-affairs/formation":"^11.0.6","@department-of-veterans-affairs/web-components":"workspace:packages/web-components","@testing-library/react":"^12.0.0","@testing-library/user-event":"^13.2.1","axe-core":"^4.4.1","babel-loader":"^8.1.0","babel-plugin-lodash":"^3.3.4","babel-plugin-transform-react-remove-prop-types":"^0.4.24","chai":"^4.1.2","chai-as-promised":"^7.1.1","chalk":"^4.1.0","enzyme":"^3.1.0","enzyme-adapter-react-16":"^1.7.1","eslint":"^7.19.0","eslint-config-prettier":"^7.2.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-mocha":"^8.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.3.1","eslint-plugin-react":"^7.22.0","fs-extra":"^9.1.0","glob":"^7.1.6","husky":"^5.0.9","is-docker":"^2.1.1","karma":"^6.3.14","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-webpack":"^5.0.0","lint-staged":"^10.5.4","mocha":"^4.0.1","pinst":"^2.1.4","prettier":"^2.2.1","react":"^16.13.1","react-dom":"^16.7.0","react-router":"3","rimraf":"^3.0.2","sinon":"^9.2.2"},"resolutions":{"trim-newlines":"^4.0.2"},"peerDependencies":{"@department-of-veterans-affairs/web-components":"*","i18next":"*","i18next-browser-languagedetector":"*","react":"^17","react-dom":"*"}}')}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e](a,a.exports,o),a.exports}o.m=n,o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(t,n){return o.f[n](e,t),t}),[]))},o.u=function(e){return e+".app.bundle.js"},o.miniCssF=function(e){},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e={},t="@department-of-veterans-affairs/component-library:",o.l=function(n,r,a,i){if(e[n])e[n].push(r);else{var s,u;if(void 0!==a)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var f=l[c];if(f.getAttribute("src")==n||f.getAttribute("data-webpack")==t+a){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",t+a),s.src=n),e[n]=[r];var d=function(t,r){s.onerror=s.onload=null,clearTimeout(p);var o=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((function(e){return e(r)})),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),u&&document.head.appendChild(s)}},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="",function(){var e={8792:0};o.f.j=function(t,n){var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise((function(n,o){r=e[t]=[n,o]}));n.push(r[2]=a);var i=o.p+o.u(t),s=new Error;o.l(i,(function(n){if(o.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,r[1](s)}}),"chunk-"+t,t)}};var t=function(t,n){var r,a,i=n[0],s=n[1],u=n[2],l=0;if(i.some((function(t){return 0!==e[t]}))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);u&&u(o)}for(t&&t(n);l<i.length;l++)a=i[l],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},n=self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),o.nc=void 0,function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}function u(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}o(305);var h={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},g=function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,e),this.init(n,r)}return r(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||h,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,p(p({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}}]),e}(),v=new g,m=function(){function e(){t(this,e),this.observers={}}return r(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach((function(e){e.apply(void 0,n)})),this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(t){t.apply(t,[e].concat(n))}))}}]),e}();function y(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function b(e){return null==e?"":""+e}function w(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var a="string"!=typeof t?[].concat(t):t.split(".");a.length>1;){if(o())return{};var i=r(a.shift());!e[i]&&n&&(e[i]=new n),e=Object.prototype.hasOwnProperty.call(e,i)?e[i]:{}}return o()?{}:{obj:e,k:r(a.shift())}}function k(e,t,n){var r=w(e,t,Object);r.obj[r.k]=n}function O(e,t){var n=w(e,t),r=n.obj,o=n.k;if(r)return r[o]}function x(e,t,n){var r=O(e,n);return void 0!==r?r:O(t,n)}function S(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):S(e[r],t[r],n):e[r]=t[r]);return e}function j(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var E={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function P(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return E[e]})):e}var L="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,N=[" ",",","?","!",";"];function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,a=0;a<r.length;++a){if(!o)return;if("string"==typeof o[r[a]]&&a+1<r.length)return;if(void 0===o[r[a]]){for(var i=2,s=r.slice(a,a+i).join(n),u=o[s];void 0===u&&r.length>a+i;)i++,u=o[s=r.slice(a,a+i).join(n)];if(void 0===u)return;if(t.endsWith(s)){if("string"==typeof u)return u;if(s&&"string"==typeof u[s])return u[s]}var l=r.slice(a+i).join(n);return l?A(u,l,n):void 0}o=o[r[a]]}return o}}var T=function(e){s(c,e);var n,o,i=(n=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(n);if(o){var r=l(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return u(this,e)});function c(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return t(this,c),n=i.call(this),L&&m.call(a(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return r(c,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,a=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,i=[e,t];n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(i=e.split("."));var s=O(this.data,i);return s||!a||"string"!=typeof n?s:A(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=this.options.keySeparator;void 0===a&&(a=".");var i=[e,t];n&&(i=i.concat(a?n.split(a):n)),e.indexOf(".")>-1&&(r=t,t=(i=e.split("."))[1]),this.addNamespaces(t),k(this.data,i,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},i=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(i=e.split("."))[1]),this.addNamespaces(t);var s=O(this.data,i)||{};r?S(s,n,o):s=R(R({},s),n),k(this.data,i,s),a.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?R(R({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),c}(m),D={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var a=this;return e.forEach((function(e){a.processors[e]&&(t=a.processors[e].process(t,n,r,o))})),t}};function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M={},_=function(n){s(f,n);var o,i,c=(o=f,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(o);if(i){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function f(e){var n,r,o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t(this,f),n=c.call(this),L&&m.call(a(n)),r=e,o=a(n),["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((function(e){r[e]&&(o[e]=r[e])})),n.options=i,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=v.create("translator"),n}return r(f,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],a=n&&e.indexOf(n)>-1,i=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=N.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var o=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),a=!o.test(e);if(!a){var i=e.indexOf(n);i>0&&!o.test(e.substring(0,i))&&(a=!0)}return a}(e,n,r));if(a&&!i){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:o};var u=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),e=u.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(t,n,r){var o=this;if("object"!==e(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==t)return"";Array.isArray(t)||(t=[String(t)]);var a=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,i=this.extractFromKey(t[t.length-1],n),s=i.key,u=i.namespaces,l=u[u.length-1],c=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(d){var p=n.nsSeparator||this.options.nsSeparator;return l+p+s}return s}var h=this.resolve(t,n),g=h&&h.res,v=h&&h.usedKey||s,m=h&&h.exactUsedKey||s,y=Object.prototype.toString.apply(g),b=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject;if(w&&g&&"string"!=typeof g&&"boolean"!=typeof g&&"number"!=typeof g&&["[object Number]","[object Function]","[object RegExp]"].indexOf(y)<0&&("string"!=typeof b||"[object Array]"!==y)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,g,F(F({},n),{},{ns:u})):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(a){var k="[object Array]"===y,O=k?[]:{},x=k?m:v;for(var S in g)if(Object.prototype.hasOwnProperty.call(g,S)){var j="".concat(x).concat(a).concat(S);O[S]=this.translate(j,F(F({},n),{joinArrays:!1,ns:u})),O[S]===j&&(O[S]=g[S])}g=O}}else if(w&&"string"==typeof b&&"[object Array]"===y)(g=g.join(b))&&(g=this.extendTranslation(g,t,n,r));else{var E=!1,P=!1,L=void 0!==n.count&&"string"!=typeof n.count,N=f.hasDefaultValue(n),C=L?this.pluralResolver.getSuffix(c,n.count,n):"",R=n["defaultValue".concat(C)]||n.defaultValue;!this.isValidLookup(g)&&N&&(E=!0,g=R),this.isValidLookup(g)||(P=!0,g=s);var A=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&P?void 0:g,T=N&&R!==g&&this.options.updateMissing;if(P||E||T){if(this.logger.log(T?"updateKey":"missingKey",c,l,s,T?R:g),a){var D=this.resolve(s,F(F({},n),{},{keySeparator:!1}));D&&D.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var I=[],M=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&M&&M[0])for(var _=0;_<M.length;_++)I.push(M[_]);else"all"===this.options.saveMissingTo?I=this.languageUtils.toResolveHierarchy(n.lng||this.language):I.push(n.lng||this.language);var U=function(e,t,r){var a=N&&r!==g?r:A;o.options.missingKeyHandler?o.options.missingKeyHandler(e,l,t,a,T,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,l,t,a,T,n),o.emit("missingKey",e,l,t,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&L?I.forEach((function(e){o.pluralResolver.getSuffixes(e,n).forEach((function(t){U([e],s+t,n["defaultValue".concat(t)]||R)}))})):U(I,s,R))}g=this.extendTranslation(g,t,n,h,r),P&&g===s&&this.options.appendNamespaceToMissingKey&&(g="".concat(l,":").concat(s)),(P||E)&&this.options.parseMissingKeyHandler&&(g="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(s,E?g:void 0):this.options.parseMissingKeyHandler(g))}return g}},{key:"extendTranslation",value:function(e,t,n,r,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(F(F({},n),{interpolation:F(F({},this.options.interpolation),n.interpolation)}));var i,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var u=e.match(this.interpolator.nestingRegexp);i=u&&u.length}var l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=F(F({},this.options.interpolation.defaultVariables),l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),s){var c=e.match(this.interpolator.nestingRegexp);i<(c&&c.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return o&&o[0]===r[0]&&!n.context?(a.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):a.translate.apply(a,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=D.handle(d,e,t,this.options&&this.options.postProcessPassResolved?F({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,a,i=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!i.isValidLookup(t)){var u=i.extractFromKey(e,s),l=u.key;n=l;var c=u.namespaces;i.options.fallbackNS&&(c=c.concat(i.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,d=f&&!s.ordinal&&0===s.count&&i.pluralResolver.shouldUseIntlApi(),p=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:i.languageUtils.toResolveHierarchy(s.lng||i.language,s.fallbackLng);c.forEach((function(e){i.isValidLookup(t)||(a=e,!M["".concat(h[0],"-").concat(e)]&&i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(a)&&(M["".concat(h[0],"-").concat(e)]=!0,i.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(a,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((function(n){if(!i.isValidLookup(t)){o=n;var a,u=[l];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(u,l,n,e,s);else{var c;f&&(c=i.pluralResolver.getSuffix(n,s.count,s));var h="_zero";if(f&&(u.push(l+c),d&&u.push(l+h)),p){var g="".concat(l).concat(i.options.contextSeparator).concat(s.context);u.push(g),f&&(u.push(g+c),d&&u.push(g+h))}}for(;a=u.pop();)i.isValidLookup(t)||(r=a,t=i.getResource(n,e,a,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:a}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}]),f}(m);function U(e){return e.charAt(0).toUpperCase()+e.slice(1)}var V=function(){function e(n){t(this,e),this.options=n,this.supportedLngs=this.options.supportedLngs||!1,this.logger=v.create("languageUtils")}return r(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=U(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=U(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=U(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],a=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):"string"==typeof e&&a(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&a(n.formatLanguageCode(e))})),o}}]),e}(),H=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],B={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},q=["v1","v2","v3"],K={zero:0,one:1,two:2,few:3,many:4,other:5},$=function(){function e(n){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,e),this.languageUtils=n,this.options=o,this.logger=v.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(r={},H.forEach((function(e){e.lngs.forEach((function(t){r[t]={numbers:e.nr,plurals:B[e.fc]}}))})),r)}return r(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return K[e]-K[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var a=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?a():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!q.includes(this.options.compatibilityJSON)}}]),e}();function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var W=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.logger=v.create("interpolator"),this.options=n,this.format=n.interpolation&&n.interpolation.format||function(e){return e},this.init(n)}return r(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:P,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?j(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?j(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?j(t.nestingPrefix):t.nestingPrefixEscaped||j("$t("),this.nestingSuffix=t.nestingSuffix?j(t.nestingSuffix):t.nestingSuffixEscaped||j(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,a,i,s=this,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(e.indexOf(s.formatSeparator)<0){var o=x(t,u,e);return s.alwaysFormat?s.format(o,void 0,n,J(J(J({},r),t),{},{interpolationkey:e})):o}var a=e.split(s.formatSeparator),i=a.shift().trim(),l=a.join(s.formatSeparator).trim();return s.format(x(t,u,i),l,n,J(J(J({},r),t),{},{interpolationkey:i}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return l(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?l(s.escape(e)):l(e)}}].forEach((function(t){for(i=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(a=c(n)))if("function"==typeof f){var u=f(e,o,r);a="string"==typeof u?u:""}else if(r&&r.hasOwnProperty(n))a="";else{if(d){a=o[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),a=""}else"string"==typeof a||s.useRawValueToEscape||(a=b(a));var l=t.safeValue(a);if(e=e.replace(o[0],l),d?(t.regex.lastIndex+=l.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++i>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=J({},a);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,i)).replace(/'/g,'"');try{i=JSON.parse(o),t&&(i=J(J({},t),i))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete i.defaultValue,e}for(i.applyPostProcessor=!1,delete i.defaultValue;n=this.nestingRegexp.exec(e);){var u=[],l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),u=c,l=!0}if((r=t(s.call(this,n[1].trim(),i),i))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=b(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),l&&(r=u.reduce((function(e,t){return o.format(e,t,a.lng,J(J({},a),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Z=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.logger=v.create("formatter"),this.options=n,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,G(G({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,G({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,G({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,G({},n)).format(e)}},this.init(n)}return r(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"format",value:function(e,t,n,r){var o=this;return t.split(this.formatSeparator).reduce((function(e,t){var a=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach((function(e){if(e){var t=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.split(":")),r=t[0],o=t.slice(1).join(":");n[r.trim()]||(n[r.trim()]=o.trim()),"false"===o.trim()&&(n[r.trim()]=!1),"true"===o.trim()&&(n[r.trim()]=!0),isNaN(o.trim())||(n[r.trim()]=parseInt(o.trim(),10))}}))}return{formatName:t,formatOptions:n}}(t),i=a.formatName,s=a.formatOptions;if(o.formats[i]){var u=e;try{var l=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},c=l.locale||l.lng||r.locale||r.lng||n;u=o.formats[i](e,c,G(G(G({},s),r),l))}catch(e){o.logger.warn(e)}return u}return o.logger.warn("there was no format function for ".concat(i)),e}),e)}}]),e}();function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ee=function(e){s(c,e);var n,o,i=(n=c,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(n);if(o){var r=l(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return u(this,e)});function c(e,n,r){var o,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t(this,c),o=i.call(this),L&&m.call(a(o)),o.backend=e,o.store=n,o.services=r,o.languageUtils=r.languageUtils,o.options=s,o.logger=v.create("backendConnector"),o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(r,s.backend,s),o}return r(c,[{key:"queueLoad",value:function(e,t,n,r){var o=this,a=[],i=[],s=[],u=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?i.indexOf(s)<0&&i.push(s):(o.state[s]=1,r=!1,i.indexOf(s)<0&&i.push(s),a.indexOf(s)<0&&a.push(s),u.indexOf(t)<0&&u.push(t)))})),r||s.push(e)})),(a.length||i.length)&&this.queue.push({pending:i,loaded:{},errors:[],callback:r}),{toLoad:a,pending:i,toLoadLanguages:s,toLoadNamespaces:u}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],a=r[1];t&&this.emit("failedLoading",o,a,t),n&&this.store.addResourceBundle(o,a,n),this.state[e]=t?-1:2;var i={};this.queue.forEach((function(n){!function(e,t,n){var r=w(e,t,Object),o=r.obj,a=r.k;o[a]=o[a]||[],o[a].push(n)}(n.loaded,[o],a),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){i[e]||(i[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){i[e].indexOf(t)<0&&i[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",i),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,i=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,u){s&&u&&o<5?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*a,i)}),a):i(s,u)})):i(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var a=this.queueLoad(e,t,r,o);if(!a.toLoad.length)return a.pending.length||o(),null;a.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],a=r[1];this.read(o,a,"read",void 0,void 0,(function(r,i){r&&t.logger.warn("".concat(n,"loading namespace ").concat(a," for language ").concat(o," failed"),r),!r&&i&&t.logger.log("".concat(n,"loaded namespace ").concat(a," for language ").concat(o),i),t.loaded(e,r,i)}))}},{key:"saveMissing",value:function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,Q(Q({},a),{},{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),c}(m);function te(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(){}var ae=function(n){s(f,n);var o,i,c=(o=f,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(o);if(i){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return u(this,e)});function f(){var e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(t(this,f),e=c.call(this),L&&m.call(a(e)),e.options=te(r),e.services={},e.logger=v,e.modules={external:[]},n=a(e),Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((function(e){"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),o&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,o),u(e,a(e));setTimeout((function(){e.init(r,o)}),0)}return e}return r(f,[{key:"init",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;"function"==typeof n&&(r=n,n={}),!n.defaultNS&&n.ns&&("string"==typeof n.ns?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));var o={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if("object"===e(t[1])&&(n=t[1]),"string"==typeof t[1]&&(n.defaultValue=t[1]),"string"==typeof t[2]&&(n.tDescription=t[2]),"object"===e(t[2])||"object"===e(t[3])){var r=t[3]||t[2];Object.keys(r).forEach((function(e){n[e]=r[e]}))}return n},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function a(e){return e?"function"==typeof e?new e:e:null}if(this.options=re(re(re({},o),this.options),te(n)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=re(re({},o.interpolation),this.options.interpolation)),void 0!==n.keySeparator&&(this.options.userDefinedKeySeparator=n.keySeparator),void 0!==n.nsSeparator&&(this.options.userDefinedNsSeparator=n.nsSeparator),!this.options.isClone){var i;this.modules.logger?v.init(a(this.modules.logger),this.options):v.init(null,this.options),this.modules.formatter?i=this.modules.formatter:"undefined"!=typeof Intl&&(i=Z);var s=new V(this.options);this.store=new T(this.options.resources,this.options);var u=this.services;u.logger=v,u.resourceStore=this.store,u.languageUtils=s,u.pluralResolver=new $(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!i||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(u.formatter=a(i),u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new W(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new ee(a(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit.apply(t,[e].concat(r))})),this.modules.languageDetector&&(u.languageDetector=a(this.modules.languageDetector),u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=a(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new _(this.services,this.options),this.translator.on("*",(function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit.apply(t,[e].concat(r))})),this.modules.external.forEach((function(e){e.init&&e.init(t)}))}if(this.format=this.options.interpolation.format,r||(r=oe),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments),t}}));var c=y(),f=function(){var e=function(e,n){t.isInitialized&&!t.initializedStoreOnce&&t.logger.warn("init: i18next is already initialized. You should call init just once!"),t.isInitialized=!0,t.options.isClone||t.logger.log("initialized",t.options),t.emit("initialized",t.options),c.resolve(n),r(e,n)};if(t.languages&&"v1"!==t.options.compatibilityAPI&&!t.isInitialized)return e(null,t.t.bind(t));t.changeLanguage(t.options.lng,e)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),c}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var o=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};r?a(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return a(e)})),this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(o,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=y();return e||(e=this.languages),t||(t=this.options.ns),n||(n=oe),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&D.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=y();this.emit("languageChanging",e);var o=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},a=function(a){e||a||!n.services.languageDetector||(a=[]);var i="string"==typeof a?a:n.services.languageUtils.getBestMatchFromCodes(a);i&&(n.language||o(i),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,a){a?(o(a),n.translator.changeLanguage(a),n.isLanguageChangingTo=void 0,n.emit("languageChanged",a),n.logger.log("languageChanged",a)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,i)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(t,n,r){var o=this,a=function t(n,a){var i;if("object"!==e(a)){for(var s=arguments.length,u=new Array(s>2?s-2:0),l=2;l<s;l++)u[l-2]=arguments[l];i=o.options.overloadTranslationOptionHandler([n,a].concat(u))}else i=re({},a);i.lng=i.lng||t.lng,i.lngs=i.lngs||t.lngs,i.ns=i.ns||t.ns;var c=o.options.keySeparator||".",f=r?"".concat(r).concat(c).concat(n):n;return o.t(f,i)};return"string"==typeof t?a.lng=t:a.lngs=t,a.ns=n,a.keyPrefix=r,a}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,a=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var i=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,i);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||!(!i(r,e)||o&&!i(a,e))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=y();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=y();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe,r=re(re(re({},this.options),t),{isClone:!0}),o=new f(r);return["store","services","language"].forEach((function(t){o[t]=e[t]})),o.services=re({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new _(o.services,o.options),o.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit.apply(o,[e].concat(n))})),o.init(r,n),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),f}(m);c(ae,"createInstance",(function(){return new ae(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var ie=ae.createInstance();ie.createInstance=ae.createInstance,ie.createInstance,ie.init,ie.loadResources,ie.reloadResources,ie.use,ie.changeLanguage,ie.getFixedT,ie.t,ie.exists,ie.setDefaultNamespace,ie.hasLoadedNamespace,ie.loadNamespaces,ie.loadLanguages;var se=ie;function ue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var le=[],ce=le.forEach,fe=le.slice,de=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,pe={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var n=function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return null}(e.lookupCookie);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+60*n*1e3)),r&&(o.domain=r),document.cookie=function(e,t,n){var r=n||{};r.path=r.path||"/";var o=e+"="+encodeURIComponent(t);if(r.maxAge>0){var a=r.maxAge-0;if(isNaN(a))throw new Error("maxAge should be a Number");o+="; Max-Age="+Math.floor(a)}if(r.domain){if(!de.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain="+r.domain}if(r.path){if(!de.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");o+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o}(e,encodeURIComponent(t),o)}(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},he={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var r=n.substring(1).split("&"),o=0;o<r.length;o++){var a=r[o].indexOf("=");a>0&&r[o].substring(0,a)===e.lookupQuerystring&&(t=r[o].substring(a+1))}}return t}},ge=null,ve=function(){if(null!==ge)return ge;try{ge="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){ge=!1}return ge},me={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&ve()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&ve()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},ye=null,be=function(){if(null!==ye)return ye;try{ye="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){ye=!1}return ye},we={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&be()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&be()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},ke={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)t.push(navigator.languages[n]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},Oe={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},xe={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},Se={name:"subdomain",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);n instanceof Array&&(t="number"==typeof e.lookupFromSubdomainIndex?n[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):n[0].replace("http://","").replace("https://","").replace(".",""))}return t}},je=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}var t,n;return t=e,n=[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return ce.call(fe.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(pe),this.addDetector(he),this.addDetector(me),this.addDetector(we),this.addDetector(ke),this.addDetector(Oe),this.addDetector(xe),this.addDetector(Se)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return e.forEach((function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"==typeof r&&(r=[r]),r&&(n=n.concat(r))}})),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach((function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)})))}}],n&&ue(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();je.type="languageDetector";var Ee={name:"mainTag",lookup(e){const t=document.querySelector("main");return t?.getAttribute("lang")}};const Pe=new je;Pe.addDetector(Ee),se.use(Pe).init({fallbackLng:"en",detection:{order:["mainTag","htmlTag"]},resources:{en:{translation:{error:"Error",required:"(*Required)",select:"- Select -","max-chars":"(Max. {{length}} characters)","min-chars":"(Min. {{length}} characters)","date-of-birth":"Date of birth",month:"Month",day:"Day",year:"Year","month-select":"Please select a month","month-range":"Please enter a month between {{start}} and {{end}}","day-range":"Please enter a day between {{start}} and {{end}}","year-range":"Please enter a year between {{start}} and {{end}}","expand-all":"Expand all","collapse-all":"Collapse all","expand-all-aria-label":"Expand all accordions","collapse-all-aria-label":"Collapse all accordions",january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December","on-this-page":"On this page","date-hint":"Enter 2 digits for the month and day and 4 digits for the year","date-hint-with-select":"For example: January 19 2000","date-error":"Please enter a complete date","number-error":"Please enter a valid number","gov-site-label":"Official website of the United States government","gov-site-button":"Here's how you know","gov-site-website":"Official websites use .{{tld}}","gov-site-explanation":"A .{{tld}} website belongs to an official government organization in the United States.","gov-site-https":"Secure .{{tld}} websites use HTTPS","gov-site-lock":"A lock {{image}} or https:// means you've safely connected to the .{{tld}} website. Share sensitive information only on official, secure websites.",next:"Next",previous:"Previous"}},es:{translation:{error:"Error",required:"(*Requerido)",select:"- Seleccione -","max-chars":"(Número máximo de caracteres: {{length}})","min-chars":"(Número mínimo de caracteres: {{length}})","date-of-birth":"Fecha de nacimiento",month:"Mes",day:"Día",year:"Año","month-range":"Ingrese un mes entre {{start}} y {{end}}","day-range":"Ingrese un día entre {{start}} y {{end}}","year-range":"Ingrese un año entre {{start}} y {{end}}","expand-all":"Expandir todo","collapse-all":"Contraer todo","expand-all-aria-label":"Expandir todos los acordeones","collapse-all-aria-label":"Contraer todos los acordeones",january:"Enero",february:"Febrero",march:"Marzo",april:"Abril",may:"Mayo",june:"Junio",july:"Julio",august:"Agosto",september:"Septiembre",october:"Octubre",november:"Noviembre",december:"Diciembre","on-this-page":"En esta página","date-hint":"Ingrese 2 dígitos para el mes y el día y 4 dígitos para el año","date-hint-with-select":"Por ejemplo: Enero 19 2000","date-error":"Ingrese una fecha completa","gov-site-label":"Un sitio oficial del Gobierno de Estados Unidos","gov-site-button":"Así es como usted puede verificarlo","gov-site-website":"Los sitios web oficiales usan .{{tld}}","gov-site-explanation":"Un sitio web .{{tld}} pertenece a una organización oficial del Gobierno de Estados Unidos.","gov-site-https":"Los sitios web seguros .{{tld}} usan HTTPS","gov-site-lock":"Un candado {{image}} o https:// significa que usted se conectó de forma segura a un sitio web .{{tld}}. Comparta información sensible sólo en sitios web oficiales y seguros.",next:"Siguiente",previous:"Anterior"}},tl:{translation:{error:"Error",required:"(*Kailangan)","max-chars":"(Pinakamarami ang {{length}} karakter)","min-chars":"(Pinakamababa ang {{length}} karakter)","date-of-birth":"Petsa ng Kapanganakan",month:"Buwan",day:"Araw",year:"Taon","month-range":"Mangyaring ilagay ang buwan sa pagitan ng {{start}} at {{end}}","day-range":"Mangyaring ilagay ang araw sa pagitan ng {{start}} at {{end}}","year-range":"Mangyaring ilagay ang taon sa pagitan ng {{start}} at {{end}}","expand-all":"I-expand lahat","collapse-all":"I-collapse ang lahat","expand-all-aria-label":"I-expand ang lahat ng accordion","collapse-all-aria-label":"I-collapse ang lahat ng accordion","on-this-page":"Sa pahinang ito","date-hint":"Mangyaring magpasok ng 2 numero para sa buwan at araw at 4 na numero para sa taon","date-error":"Mangyaring maglagay ng kumpletong petsa"}}}}),window.addEventListener("load",(e=>{console.log("DOM fully loaded and parsed");const t=document.querySelector("main");if(t){const e=t.getAttribute("lang");e&&se.changeLanguage(e),new MutationObserver((e=>{e.forEach((e=>{"attributes"===e.type&&"lang"===e.attributeName&&se.changeLanguage(t.getAttribute("lang"))}))})).observe(t,{attributes:!0})}})),o(4882),o(5023),function(){if("undefined"!=typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}}()}()}();