PageSourceSearch

https://www.askpmos.org/app-901085316cb3f5b86b1c.js

js askpmos.org collected 2026-10-04 20:11:33 UTC 445,089 bytes, 3 lines download raw bytes

1/*! For license information please see app-901085316cb3f5b86b1c.js.LICENSE.txt */
2(self.webpackChunkask_pcos_application=self.webpackChunkask_pcos_application||[]).push([[3524],{59723:function(e,t,n){"use strict";var r,o;function i(e){return e&&!!["provider"].find((function(t){return e.hasOwnProperty(t)}))}function s(e){return void 0!==e.redirectSignIn}n.d(t,{N:function(){return X}}),function(e){e.Cognito="COGNITO",e.Google="Google",e.Facebook="Facebook",e.Amazon="LoginWithAmazon",e.Apple="SignInWithApple"}(r||(r={})),function(e){e.NoConfig="noConfig",e.MissingAuthConfig="missingAuthConfig",e.EmptyUsername="emptyUsername",e.InvalidUsername="invalidUsername",e.EmptyPassword="emptyPassword",e.EmptyCode="emptyCode",e.SignUpError="signUpError",e.NoMFA="noMFA",e.InvalidMFA="invalidMFA",e.EmptyChallengeResponse="emptyChallengeResponse",e.NoUserSession="noUserSession",e.Default="default"}(o||(o={}));var a=n(34549),u=n(78868),c=n(47523),l=new a.C("Parser"),f=function(e){var t,n={};if(e.aws_mobile_analytics_app_id){var r={AWSPinpoint:{appId:e.aws_mobile_analytics_app_id,region:e.aws_mobile_analytics_app_region}};n.Analytics=r}return(e.aws_cognito_identity_pool_id||e.aws_user_pools_id)&&(n.Auth={userPoolId:e.aws_user_pools_id,userPoolWebClientId:e.aws_user_pools_web_client_id,region:e.aws_cognito_region,identityPoolId:e.aws_cognito_identity_pool_id,identityPoolRegion:e.aws_cognito_region,mandatorySignIn:"enable"===e.aws_mandatory_sign_in}),t=e.aws_user_files_s3_bucket?{AWSS3:{bucket:e.aws_user_files_s3_bucket,region:e.aws_user_files_s3_bucket_region,dangerouslyConnectToHttpEndpointForTesting:e.aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing}}:e?e.Storage||e:{},n.Analytics=Object.assign({},n.Analytics,e.Analytics),n.Auth=Object.assign({},n.Auth,e.Auth),n.Storage=Object.assign({},t),l.debug("parse config",e,"to amplifyconfig",n),n},h=function(){function e(){}return e.parseMobilehubConfig=f,e}(),d=n(57427);function p(e,t){void 0===t&&(t={});var n=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(function(e,t){return void 0===t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(n,t.doNotParse))try{return JSON.parse(n)}catch(r){}return e}var g=function(){return g=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},g.apply(this,arguments)},y=function(){function e(e,t){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e,t){return"string"==typeof e?d.q(e,t):"object"==typeof e&&null!==e?e:{}}(e,t),new Promise((function(){n.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie})).catch((function(){}))}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=d.q(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,n){return void 0===t&&(t={}),this._updateBrowserValues(n),p(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var n={};for(var r in this.cookies)n[r]=p(this.cookies[r],e);return n},e.prototype.set=function(e,t,n){var r;"object"==typeof t&&(t=JSON.stringify(t)),this.cookies=g(g({},this.cookies),((r={})[e]=t,r)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=d.l(e,t,n)),this._emitChange({name:e,value:t,options:n})},e.prototype.remove=function(e,t){var n=t=g(g({},t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=g({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=d.l(e,"",n)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}(),m=n(64988),v=(0,m.gy)().isBrowser,b=function(){function e(e){void 0===e&&(e={}),this.cookies=new y,this.store=v?window.localStorage:Object.create(null),this.cookies=e.req?new y(e.req.headers.cookie):new y,Object.assign(this.store,this.cookies.getAll())}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.entries(this.store).length},enumerable:!0,configurable:!0}),e.prototype.clear=function(){var e=this;Array.from(new Array(this.length)).map((function(t,n){return e.key(n)}
2)).forEach((function(t){return e.removeItem(t)}))},e.prototype.getItem=function(e){return this.getLocalItem(e)},e.prototype.getLocalItem=function(e){return Object.prototype.hasOwnProperty.call(this.store,e)?this.store[e]:null},e.prototype.getUniversalItem=function(e){return this.cookies.get(e)},e.prototype.key=function(e){return Object.keys(this.store)[e]},e.prototype.removeItem=function(e){this.removeLocalItem(e),this.removeUniversalItem(e)},e.prototype.removeLocalItem=function(e){delete this.store[e]},e.prototype.removeUniversalItem=function(e){this.cookies.remove(e,{path:"/"})},e.prototype.setItem=function(e,t){switch(this.setLocalItem(e,t),e.split(".").pop()){case"LastAuthUser":case"accessToken":case"idToken":this.setUniversalItem(e,t)}},e.prototype.setLocalItem=function(e,t){this.store[e]=t},e.prototype.setUniversalItem=function(e,t){this.cookies.set(e,t,{path:"/",sameSite:!0,secure:"localhost"!==window.location.hostname})},e}(),w=n(54769);var S,_=n(88319),A=n(51764),P=n(88835),E=function(e){var t=window.open(e,"_self");return t?Promise.resolve(t):Promise.reject()},C=n(63009),x=n.n(C),O=n(80754),I=n.n(O),k=function(){return k=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},k.apply(this,arguments)},T=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},R=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},U=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},M="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",j=function(e,t,n){u.YZ.dispatch("auth",{event:e,data:t,message:n},"Auth",M)},D=new a.C("OAuth"),F=function(){function e(e){var t=e.config,n=e.cognitoClientId,r=e.scopes,o=void 0===r?[]:r;if(this._urlOpener=t.urlOpener||E,this._config=t,this._cognitoClientId=n,!this.isValidScopes(o))throw Error("scopes must be a String Array");this._scopes=o}return e.prototype.isValidScopes=function(e){return Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))},e.prototype.oauthSignIn=function(e,t,n,o,i,s){void 0===e&&(e="code"),void 0===i&&(i=r.Cognito);var a=this._generateState(32),u=s?a+"-"+s.split("").map((function(e){return e.charCodeAt(0).toString(16).padStart(2,"0")})).join(""):a;!function(e){window.sessionStorage.setItem("oauth_state",e)}(u);var c,l=this._generateRandom(128);c=l,window.sessionStorage.setItem("ouath_pkce_key",c);var f=this._generateChallenge(l),h=this._scopes.join(" "),d="https://"+t+"/oauth2/authorize?"+Object.entries(k(k({redirect_uri:n,response_type:e,client_id:o,identity_provider:i,scope:h,state:u},"code"===e?{code_challenge:f}:{}),"code"===e?{code_challenge_method:"S256"}:{})).map((function(e){var t=U(e,2),n=t[0],r=t[1];return encodeURIComponent(n)+"="+encodeURIComponent(r)})).join("&");D.debug("Redirecting to "+d),this._urlOpener(d,n)},e.prototype._handleCodeFlow=function(e){return T(this,void 0,void 0,(function(){var t,n,r,o,i,a,u,c,l,f,h,d,p,g;return R(this,(function(y){switch(y.label){case 0:return t=((0,P.qg)(e).query||"").split("&").map((function(e){return e.split("=")})).reduce((function(e,t){var n,r=U(t,2),o=r[0],i=r[1];return k(k({},e),((n={})[o]=i,n))}),{code:void 0}).code,n=(0,P.qg)(e).pathname||"/",r=(0,P.qg)(this._config.redirectSignIn).pathname||"/",t&&n===r?(o="https://"+this._config.domain+"/oauth2/token",j("codeFlow",{},"Retrieving tokens from "+o),i=s(this._config)?this._cognitoClientId:this._config.clientID,a=s(this._config)?this._config.redirectSignIn:this._config.redirectUri,m=window.sessionStorage.getItem("ouath_pkce_key"),window.sessionStorage.removeItem("ouath_pkce_key"),c=k({grant_type:"authorization_code",code:t,client_id:i,redirect_uri:a},(u=m)?{code_verifier:u}:{}),D.debug("Calling token endpoint: "+o+" with",c),l=Object.entries(c).map((function(e){var t=U(e,2),n=t[0],r=t[1];return encodeURIComponent(n)+"="+encodeURIComponent(r)})).join("&"),[4,fetch(o,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:l})]):[2];case 1:return[4,y.sent().json()];case 2:if(f=y.sent(),h=f.access_token,d=f.refresh_token,p=f.id_token,g=f.error)throw new Error(g);return[2,{accessToken:h,refreshToken:d,idToken:p}]}var m}))}))},e.prototype._handleImplicitFlow=function(e){return T(this,void 0,void 0,(function(){var t,n,r;return R(this,(function(o){return t=((0,P.qg)(e).hash||"#").substr(1).split("&").map((function(e){return e.split("=")})).reduce((function(e,t){var n,r=U(t,2),o=r[0],i=r[1];return k(k({},e),((n={})[o]=i,n))}),{id_token:void 0,access_token:void 0}),n=t.id_token,r=t.access_token,j("implicitFlow",{},"Got tokens from "+e),D.debug("Retrieving implicit tokens from "+e+" with"),[2,{accessToken:r,idToken:n,refreshToken:null}]}))}))},e.prototype.handleAuthResponse=function(e){return T(this,void 0,void 0,(function(){var t,n,r,o,i,s,a;return R(this,(function(u){switch(u.label){case 0:if(u.trys.push([0,5,,6]),t=e?k(k({},((0,P.qg)(e).hash||"#").substr(1).split("&").map((function(e){return e.split("=")})).reduce((function(e,t){var n=U(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})),((0,P.qg)(e).query||"").split("&").map((function(e){return e.split("=")})).reduce((function(e,t){var n=U(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})):{},n=t.error,r=t.error_description,n)throw new Error(r);
2return o=this._validateState(t),D.debug("Starting "+this._config.responseType+" flow with "+e),"code"!==this._config.responseType?[3,2]:(i=[{}],[4,this._handleCodeFlow(e)]);case 1:return[2,k.apply(void 0,[k.apply(void 0,i.concat([u.sent()])),{state:o}])];case 2:return s=[{}],[4,this._handleImplicitFlow(e)];case 3:return[2,k.apply(void 0,[k.apply(void 0,s.concat([u.sent()])),{state:o}])];case 4:return[3,6];case 5:throw a=u.sent(),D.error("Error handling auth response.",a),a;case 6:return[2]}}))}))},e.prototype._validateState=function(e){if(e){var t,n=(t=window.sessionStorage.getItem("oauth_state"),window.sessionStorage.removeItem("oauth_state"),t),r=e.state;if(n&&n!==r)throw new Error("Invalid state in OAuth flow");return r}},e.prototype.signOut=function(){return T(this,void 0,void 0,(function(){var e,t,n;return R(this,(function(r){return e="https://"+this._config.domain+"/logout?",t=s(this._config)?this._cognitoClientId:this._config.oauth.clientID,n=s(this._config)?this._config.redirectSignOut:this._config.returnTo,e+=Object.entries({client_id:t,logout_uri:encodeURIComponent(n)}).map((function(e){var t=U(e,2);return t[0]+"="+t[1]})).join("&"),j("oAuthSignOut",{oAuth:"signOut"},"Signing out from "+e),D.debug("Signing out from "+e),[2,this._urlOpener(e)]}))}))},e.prototype._generateState=function(e){for(var t="",n=e,r="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";n>0;--n)t+=r[Math.round(61*Math.random())];return t},e.prototype._generateChallenge=function(e){return this._base64URL(x()(e))},e.prototype._base64URL=function(e){return e.toString(I()).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},e.prototype._generateRandom=function(e){var t=new Uint8Array(e);if("undefined"!=typeof window&&window.crypto)window.crypto.getRandomValues(t);else for(var n=0;n<e;n+=1)t[n]=66*Math.random()|0;return this._bufferToString(t)},e.prototype._bufferToString=function(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[],r=0;r<e.byteLength;r+=1){var o=e[r]%62;n.push(t[o])}return n.join("")},e}();!function(e){e.DEFAULT_MSG="Authentication Error",e.EMPTY_USERNAME="Username cannot be empty",e.INVALID_USERNAME="The username should either be a string or one of the sign in types",e.EMPTY_PASSWORD="Password cannot be empty",e.EMPTY_CODE="Confirmation code cannot be empty",e.SIGN_UP_ERROR="Error creating account",e.NO_MFA="No valid MFA method provided",e.INVALID_MFA="Invalid MFA type",e.EMPTY_CHALLENGE="Challenge response cannot be empty",e.NO_USER_SESSION="Failed to get the session because the user is empty"}(S||(S={}));var N,L=(N=function(e,t){return N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},N(e,t)},function(e,t){function n(){this.constructor=e}N(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),B=new a.C("AuthError"),H=function(e){function t(n){var r=this,o=W[n],i=o.message,s=o.log;return(r=e.call(this,i)||this).constructor=t,Object.setPrototypeOf(r,t.prototype),r.name="AuthError",r.log=s||i,B.error(r.log),r}return L(t,e),t}(Error),q=function(e){function t(n){var r=e.call(this,n)||this;return r.constructor=t,Object.setPrototypeOf(r,t.prototype),r.name="NoUserPoolError",r}return L(t,e),t}(H),W={noConfig:{message:S.DEFAULT_MSG,log:"\n            Error: Amplify has not been configured correctly.\n            This error is typically caused by one of the following scenarios:\n\n            1. Make sure you're passing the awsconfig object to Amplify.configure() in your app's entry point\n                See https://aws-amplify.github.io/docs/js/authentication#configure-your-app for more information\n            \n            2. There might be multiple conflicting versions of amplify packages in your node_modules.\n\t\t\t\tRefer to our docs site for help upgrading Amplify packages (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js)\n        "},missingAuthConfig:{message:S.DEFAULT_MSG,log:"\n            Error: Amplify has not been configured correctly. \n            The configuration object is missing required auth properties.\n            This error is typically caused by one of the following scenarios:\n\n            1. Did you run `amplify push` after adding auth via `amplify add auth`?\n                See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information\n\n            2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages.\n        "},emptyUsername:{message:S.EMPTY_USERNAME},invalidUsername:{message:S.INVALID_USERNAME},emptyPassword:{message:S.EMPTY_PASSWORD},emptyCode:{message:S.EMPTY_CODE},signUpError:{message:S.SIGN_UP_ERROR,log:"The first parameter should either be non-null string or object"},noMFA:{message:S.NO_MFA},invalidMFA:{message:S.INVALID_MFA},emptyChallengeResponse:{message:S.EMPTY_CHALLENGE},noUserSession:{message:S.NO_USER_SESSION},default:{message:S.DEFAULT_MSG}},V=function(){return V=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},V.apply(this,arguments)}
2,K=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},z=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},G=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},$=new a.C("AuthClass"),J="aws.cognito.signin.user.admin",Y="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",Q=function(e,t,n){u.YZ.dispatch("auth",{event:e,data:t,message:n},"Auth",Y)},Z=function(){function e(e){var t=this;this.userPool=null,this.user=null,this.oAuthFlowInProgress=!1,this.Credentials=c.Ji,this.wrapRefreshSessionCallback=function(e){return function(t,n){return n?Q("tokenRefresh",void 0,"New token retrieved"):Q("tokenRefresh_failure",t,"Failed to retrieve new token"),e(t,n)}},this.configure(e),this.currentCredentials=this.currentCredentials.bind(this),this.currentUserCredentials=this.currentUserCredentials.bind(this),u.YZ.listen("auth",(function(e){switch(e.payload.event){case"signIn":t._storage.setItem("amplify-signin-with-hostedUI","false");break;case"signOut":t._storage.removeItem("amplify-signin-with-hostedUI");break;case"cognitoHostedUI":t._storage.setItem("amplify-signin-with-hostedUI","true")}}))}return e.prototype.getModuleName=function(){return"Auth"},e.prototype.configure=function(e){var t=this;if(!e)return this._config||{};$.debug("configure Auth");var n=Object.assign({},this._config,h.parseMobilehubConfig(e).Auth,e);this._config=n;var r=this._config,o=r.userPoolId,i=r.userPoolWebClientId,a=r.cookieStorage,u=r.oauth,c=r.region,l=r.identityPoolId,f=r.mandatorySignIn,d=r.refreshHandlers,p=r.identityPoolRegion,g=r.clientMetadata,y=r.endpoint;if(this._config.storage){if(!this._isValidAuthStorage(this._config.storage))throw $.error("The storage in the Auth config is not valid!"),new Error("Empty storage object");this._storage=this._config.storage}else this._storage=a?new A.W6(a):e.ssr?new b:(new w.i1).getStorage();if(this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),o){var v={UserPoolId:o,ClientId:i,endpoint:y};v.Storage=this._storage,this.userPool=new A.NE(v,this.wrapRefreshSessionCallback)}this.Credentials.configure({mandatorySignIn:f,region:p||c,userPoolId:o,identityPoolId:l,refreshHandlers:d,storage:this._storage});var S=u?s(this._config.oauth)?u:u.awsCognito:void 0;if(S){var _=Object.assign({cognitoClientId:i,UserPoolId:o,domain:S.domain,scopes:S.scope,redirectSignIn:S.redirectSignIn,redirectSignOut:S.redirectSignOut,responseType:S.responseType,Storage:this._storage,urlOpener:S.urlOpener,clientMetadata:g},S.options);this._oAuthHandler=new F({scopes:_.scopes,config:_,cognitoClientId:_.cognitoClientId});var P={};!function(e){if(m.JS.browserOrNode().isBrowser&&window.location)e({url:window.location.href});else if(!m.JS.browserOrNode().isNode)throw new Error("Not supported")}((function(e){var n=e.url;P[n]||(P[n]=!0,t._handleAuthResponse(n))}))}return Q("configured",null,"The Auth category has been configured successfully"),this._config},e.prototype.signUp=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(!this.userPool)return this.rejectNoUserPool();var i,s=null,a=null,u=[],c=null;if(e&&"string"==typeof e){s=e,a=n?n[0]:null;var l=n?n[1]:null,f=n?n[2]:null;l&&u.push(new A.HB({Name:"email",Value:l})),f&&u.push(new A.HB({Name:"phone_number",Value:f}))}else{if(!e||"object"!=typeof e)return this.rejectAuthError(o.SignUpError);s=e.username,a=e.password,e&&e.clientMetadata?i=e.clientMetadata:this._config.clientMetadata&&(i=this._config.clientMetadata);var h=e.attributes;h&&Object.keys(h).map((function(e){u.push(new A.HB({Name:e,Value:h[e]}))}));var d=e.validationData;d&&(c=[],Object.keys(d).map((function(e){c.push(new A.HB({Name:e,Value:d[e]}))})))}return s?a?($.debug("signUp attrs:",u),$.debug("signUp validation data:",c),new Promise((function(e,n){t.userPool.signUp(s,a,u,c,(function(t,r){t?(Q("signUp_failure",t,s+" failed to signup"),n(t)):(Q("signUp",r,s+" has signed up successfully"),e(r))}),i)}))):this.rejectAuthError(o.EmptyPassword):this.rejectAuthError(o.EmptyUsername)}
2,e.prototype.confirmSignUp=function(e,t,n){if(!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(o.EmptyUsername);if(!t)return this.rejectAuthError(o.EmptyCode);var r,i=this.createCognitoUser(e),s=!n||"boolean"!=typeof n.forceAliasCreation||n.forceAliasCreation;return n&&n.clientMetadata?r=n.clientMetadata:this._config.clientMetadata&&(r=this._config.clientMetadata),new Promise((function(e,n){i.confirmRegistration(t,s,(function(t,r){t?n(t):e(r)}),r)}))},e.prototype.resendSignUp=function(e,t){if(void 0===t&&(t=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(o.EmptyUsername);var n=this.createCognitoUser(e);return new Promise((function(e,r){n.resendConfirmationCode((function(t,n){t?r(t):e(n)}),t)}))},e.prototype.signIn=function(e,t,n){if(void 0===n&&(n=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();var r=null,i=null,s={};if("string"==typeof e)r=e,i=t;else{if(!e.username)return this.rejectAuthError(o.InvalidUsername);void 0!==t&&$.warn("The password should be defined under the first parameter object!"),r=e.username,i=e.password,s=e.validationData}if(!r)return this.rejectAuthError(o.EmptyUsername);var a=new A.By({Username:r,Password:i,ValidationData:s,ClientMetadata:n});return i?this.signInWithPassword(a):this.signInWithoutPassword(a)},e.prototype.authCallbacks=function(e,t,n){var r=this,o=this;return{onSuccess:function(i){return K(r,void 0,void 0,(function(){var r,s,a,u;return z(this,(function(c){switch(c.label){case 0:$.debug(i),delete e.challengeName,delete e.challengeParam,c.label=1;case 1:return c.trys.push([1,4,5,9]),[4,this.Credentials.clear()];case 2:return c.sent(),[4,this.Credentials.set(i,"session")];case 3:return r=c.sent(),$.debug("succeed to get cognito credentials",r),[3,9];case 4:return s=c.sent(),$.debug("cannot get cognito credentials",s),[3,9];case 5:return c.trys.push([5,7,,8]),[4,this.currentUserPoolUser()];case 6:return a=c.sent(),o.user=a,Q("signIn",a,"A user "+e.getUsername()+" has been signed in"),t(a),[3,8];case 7:return u=c.sent(),$.error("Failed to get the signed in user",u),n(u),[3,8];case 8:return[7];case 9:return[2]}}
2))}))},onFailure:function(t){$.debug("signIn failure",t),Q("signIn_failure",t,e.getUsername()+" failed to signin"),n(t)},customChallenge:function(n){$.debug("signIn custom challenge answer required"),e.challengeName="CUSTOM_CHALLENGE",e.challengeParam=n,t(e)},mfaRequired:function(n,r){$.debug("signIn MFA required"),e.challengeName=n,e.challengeParam=r,t(e)},mfaSetup:function(n,r){$.debug("signIn mfa setup",n),e.challengeName=n,e.challengeParam=r,t(e)},newPasswordRequired:function(n,r){$.debug("signIn new password"),e.challengeName="NEW_PASSWORD_REQUIRED",e.challengeParam={userAttributes:n,requiredAttributes:r},t(e)},totpRequired:function(n,r){$.debug("signIn totpRequired"),e.challengeName=n,e.challengeParam=r,t(e)},selectMFAType:function(n,r){$.debug("signIn selectMFAType",n),e.challengeName=n,e.challengeParam=r,t(e)}}},e.prototype.signInWithPassword=function(e){var t=this;if(this.pendingSignIn)throw new Error("Pending sign-in attempt already in progress");var n=this.createCognitoUser(e.getUsername());return this.pendingSignIn=new Promise((function(r,o){n.authenticateUser(e,t.authCallbacks(n,(function(e){t.pendingSignIn=null,r(e)}),(function(e){t.pendingSignIn=null,o(e)})))})),this.pendingSignIn},e.prototype.signInWithoutPassword=function(e){var t=this,n=this.createCognitoUser(e.getUsername());return n.setAuthenticationFlowType("CUSTOM_AUTH"),new Promise((function(r,o){n.initiateAuth(e,t.authCallbacks(n,r,o))}))},e.prototype.getMFAOptions=function(e){return new Promise((function(t,n){e.getMFAOptions((function(e,r){if(e)return $.debug("get MFA Options failed",e),void n(e);$.debug("get MFA options success",r),t(r)}))}))},e.prototype.getPreferredMFA=function(e,t){var n=this,r=this;return new Promise((function(o,i){var s=n._config.clientMetadata,a=!!t&&t.bypassCache;e.getUserData((function(e,t){if(e)return $.debug("getting preferred mfa failed",e),void i(e);var n=r._getMfaTypeFromUserData(t);return n?void o(n):void i("invalid MFA Type")}),{bypassCache:a,clientMetadata:s})}))},e.prototype._getMfaTypeFromUserData=function(e){var t=null,n=e.PreferredMfaSetting;if(n)t=n;else{var r=e.UserMFASettingList;if(r)0===r.length?t="NOMFA":$.debug("invalid case for getPreferredMFA",e);else t=e.MFAOptions?"SMS_MFA":"NOMFA"}return t},e.prototype._getUserData=function(e,t){return new Promise((function(n,r){e.getUserData((function(e,t){return e?($.debug("getting user data failed",e),void r(e)):void n(t)}),t)}))},e.prototype.setPreferredMFA=function(e,t){return K(this,void 0,void 0,(function(){var n,r,i,s,a,u;return z(this,(function(c){switch(c.label){case 0:return n=this._config.clientMetadata,[4,this._getUserData(e,{bypassCache:!0,clientMetadata:n})];case 1:switch(r=c.sent(),i=null,s=null,t){case"TOTP":return[3,2];case"SMS":return[3,3];case"NOMFA":return[3,4]}return[3,6];case 2:return s={PreferredMfa:!0,Enabled:!0},[3,7];case 3:return i={PreferredMfa:!0,Enabled:!0},[3,7];case 4:return a=r.UserMFASettingList,[4,this._getMfaTypeFromUserData(r)];case 5:if("NOMFA"===(u=c.sent()))return[2,Promise.resolve("No change for mfa type")];if("SMS_MFA"===u)i={PreferredMfa:!1,Enabled:!1};else{if("SOFTWARE_TOKEN_MFA"!==u)return[2,this.rejectAuthError(o.InvalidMFA)];s={PreferredMfa:!1,Enabled:!1}}return a&&0!==a.length&&a.forEach((function(e){"SMS_MFA"===e?i={PreferredMfa:!1,Enabled:!1}:"SOFTWARE_TOKEN_MFA"===e&&(s={PreferredMfa:!1,Enabled:!1})})),[3,7];case 6:return $.debug("no validmfa method provided"),[2,this.rejectAuthError(o.NoMFA)];case 7:return this,[2,new Promise((function(t,r){e.setUserMfaPreference(i,s,(function(o,i){if(o)return $.debug("Set user mfa preference error",o),r(o);$.debug("Set user mfa success",i),$.debug("Caching the latest user data into local"),e.getUserData((function(e,n){return e?($.debug("getting user data failed",e),r(e)):t(i)}),{bypassCache:!0,clientMetadata:n})}))}))]}}))}))},e.prototype.disableSMS=function(e){return new Promise((function(t,n){e.disableMFA((function(e,r){if(e)return $.debug("disable mfa failed",e),void n(e);$.debug("disable mfa succeed",r),t(r)}))}))},e.prototype.enableSMS=function(e){return new Promise((function(t,n){e.enableMFA((function(e,r){if(e)return $.debug("enable mfa failed",e),void n(e);$.debug("enable mfa succeed",r),t(r)}))}))},e.prototype.setupTOTP=function(e){return new Promise((function(t,n){e.associateSoftwareToken({onFailure:function(e){$.debug("associateSoftwareToken failed",e),n(e)},associateSecretCode:function(e){$.debug("associateSoftwareToken sucess",e),t(e)}})}))},e.prototype.verifyTotpToken=function(e,t){return $.debug("verification totp token",e,t),new Promise((function(n,r){e.verifySoftwareToken(t,"My TOTP device",{onFailure:function(e){$.debug("verifyTotpToken failed",e),r(e)},onSuccess:function(t){Q("signIn",e,"A user "+e.getUsername()+" has been signed in"),$.debug("verifyTotpToken success",t),n(t)}})}))},e.prototype.confirmSignIn=function(e,t,n,r){var i=this;if(void 0===r&&(r=this._config.clientMetadata),!t)return this.rejectAuthError(o.EmptyCode);var s=this;return new Promise((function(o,a){e.sendMFACode(t,{onSuccess:function(t){return K(i,void 0,void 0,(function(){var n,r;return z(this,(function(i){switch(i.label){case 0:$.debug(t),i.label=1;case 1:return i.trys.push([1,4,5,6]),[4,this.Credentials.clear()];case 2:return i.sent(),[4,this.Credentials.set(t,"session")];case 3:return n=i.sent(),$.debug("succeed to get cognito credentials",n),[3,6];case 4:return r=i.sent(),$.debug("cannot get cognito credentials",r),[3,6];case 5:return s.user=e,Q("signIn",e,"A user "+e.getUsername()+" has been signed in"),o(e),[7];case 6:return[2]}}
2))}))},onFailure:function(e){$.debug("confirm signIn failure",e),a(e)}},n,r)}))},e.prototype.completeNewPassword=function(e,t,n,r){var i=this;if(void 0===n&&(n={}),void 0===r&&(r=this._config.clientMetadata),!t)return this.rejectAuthError(o.EmptyPassword);var s=this;return new Promise((function(o,a){e.completeNewPasswordChallenge(t,n,{onSuccess:function(t){return K(i,void 0,void 0,(function(){var n,r;return z(this,(function(i){switch(i.label){case 0:$.debug(t),i.label=1;case 1:return i.trys.push([1,4,5,6]),[4,this.Credentials.clear()];case 2:return i.sent(),[4,this.Credentials.set(t,"session")];case 3:return n=i.sent(),$.debug("succeed to get cognito credentials",n),[3,6];case 4:return r=i.sent(),$.debug("cannot get cognito credentials",r),[3,6];case 5:return s.user=e,Q("signIn",e,"A user "+e.getUsername()+" has been signed in"),o(e),[7];case 6:return[2]}}))}))},onFailure:function(e){$.debug("completeNewPassword failure",e),Q("completeNewPassword_failure",e,i.user+" failed to complete the new password flow"),a(e)},mfaRequired:function(t,n){$.debug("signIn MFA required"),e.challengeName=t,e.challengeParam=n,o(e)},mfaSetup:function(t,n){$.debug("signIn mfa setup",t),e.challengeName=t,e.challengeParam=n,o(e)},totpRequired:function(t,n){$.debug("signIn mfa setup",t),e.challengeName=t,e.challengeParam=n,o(e)}},r)}))},e.prototype.sendCustomChallengeAnswer=function(e,t,n){var r=this;if(void 0===n&&(n=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!t)return this.rejectAuthError(o.EmptyChallengeResponse);return new Promise((function(o,i){e.sendCustomChallengeAnswer(t,r.authCallbacks(e,o,i),n)}))},e.prototype.updateUserAttributes=function(e,t,n){void 0===n&&(n=this._config.clientMetadata);var r=[],o=this;return new Promise((function(i,s){o.userSession(e).then((function(o){for(var a in t)if("sub"!==a&&a.indexOf("_verified")<0){var u={Name:a,Value:t[a]};r.push(u)}e.updateAttributes(r,(function(e,t){return e?s(e):i(t)}),n)}))}))},e.prototype.userAttributes=function(e){var t=this;return new Promise((function(n,r){t.userSession(e).then((function(t){e.getUserAttributes((function(e,t){e?r(e):n(t)}))}))}))},e.prototype.verifiedContact=function(e){var t=this;return this.userAttributes(e).then((function(e){var n=t.attributesToObject(e),r={},o={};return n.email&&(n.email_verified?o.email=n.email:r.email=n.email),n.phone_number&&(n.phone_number_verified?o.phone_number=n.phone_number:r.phone_number=n.phone_number),{verified:o,unverified:r}}))},e.prototype.currentUserPoolUser=function(e){var t=this;return this.userPool?new Promise((function(n,r){t._storageSync.then((function(){return K(t,void 0,void 0,(function(){var t,o,i=this;return z(this,(function(s){switch(s.label){case 0:return this.isOAuthInProgress()?($.debug("OAuth signIn in progress, waiting for resolution..."),[4,new Promise((function(e){var t=setTimeout((function(){$.debug("OAuth signIn in progress timeout"),u.YZ.remove("auth",n),e()}),1e4);function n(r){var o=r.payload.event;"cognitoHostedUI"!==o&&"cognitoHostedUI_failure"!==o||($.debug("OAuth signIn resolved: "+o),clearTimeout(t),u.YZ.remove("auth",n),e())}u.YZ.listen("auth",n)}))]):[3,2];case 1:s.sent(),s.label=2;case 2:return(t=this.userPool.getCurrentUser())?(o=this._config.clientMetadata,t.getSession((function(o,s){return K(i,void 0,void 0,(function(){var i,a,u,c=this;return z(this,(function(l){switch(l.label){case 0:return o?($.debug("Failed to get the user session",o),r(o),[2]):(i=!!e&&e.bypassCache)?[4,this.Credentials.clear()]:[3,2];case 1:l.sent(),l.label=2;case 2:return a=this._config.clientMetadata,u=s.getAccessToken().decodePayload().scope,(void 0===u?"":u).split(" ").includes(J)?(t.getUserData((function(e,o){if(e)return $.debug("getting user data failed",e),void("User is disabled."===e.message||"User does not exist."===e.message||"Access Token has been revoked"===e.message?r(e):n(t));for(var i=o.PreferredMfaSetting||"NOMFA",s=[],a=0;a<o.UserAttributes.length;a++){var u={Name:o.UserAttributes[a].Name,Value:o.UserAttributes[a].Value},l=new A.HB(u);s.push(l)}var f=c.attributesToObject(s);return Object.assign(t,{attributes:f,preferredMFA:i}),n(t)}),{bypassCache:i,clientMetadata:a}),[2]):($.debug("Unable to get the user data because the "+J+" is not in the scopes of the access token"),[2,n(t)])}}))}))}),{clientMetadata:o}),[2]):($.debug("Failed to get user from user pool"),r("No current user"),[2])}}))}))})).catch((function(e){return $.debug("Failed to sync cache info into memory",e),r(e)}))})):this.rejectNoUserPool()},e.prototype.isOAuthInProgress=function(){return this.oAuthFlowInProgress},e.prototype.currentAuthenticatedUser=function(e){return K(this,void 0,void 0,(function(){var t,n,r,o,i;return z(this,(function(s){switch(s.label){case 0:$.debug("getting current authenticated user"),t=null,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this._storageSync];case 2:return s.sent(),[3,4];case 3:throw n=s.sent(),$.debug("Failed to sync cache info into memory",n),n;case 4:try{(r=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")))&&(t=V(V({},r.user),{token:r.token}))}catch(a){$.debug("cannot load federated user from auth storage")}return t?(this.user=t,$.debug("get current authenticated federated user",this.user),[2,this.user]):[3,5];case 5:$.debug("get current authenticated userpool user"),o=null,s.label=6;case 6:return s.trys.push([6,8,,9]),[4,this.currentUserPoolUser(e)];case 7:return o=s.sent(),[3,9];case 8:return"No userPool"===(i=s.sent())&&$.error("Cannot get the current user because the user pool is missing. Please make sure the Auth module is configured with a valid Cognito User Pool ID"),$.debug("The user is not authenticated by the error",i),[2,Promise.reject("The user is not authenticated")];case 9:return this.user=o,[2,this.user]}}
2))}))},e.prototype.currentSession=function(){var e=this;return $.debug("Getting current session"),this.userPool?new Promise((function(t,n){e.currentUserPoolUser().then((function(r){e.userSession(r).then((function(e){t(e)})).catch((function(e){$.debug("Failed to get the current session",e),n(e)}))})).catch((function(e){$.debug("Failed to get the current user",e),n(e)}))})):Promise.reject()},e.prototype.userSession=function(e){if(!e)return $.debug("the user is null"),this.rejectAuthError(o.NoUserSession);var t=this._config.clientMetadata;return new Promise((function(n,r){$.debug("Getting the session from this user:",e),e.getSession((function(t,o){return t?($.debug("Failed to get the session from user",e),void r(t)):($.debug("Succeed to get the user session",o),void n(o))}),{clientMetadata:t})}))},e.prototype.currentUserCredentials=function(){return K(this,void 0,void 0,(function(){var e,t,n=this;return z(this,(function(r){switch(r.label){case 0:$.debug("Getting current user credentials"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this._storageSync];case 2:return r.sent(),[3,4];case 3:throw e=r.sent(),$.debug("Failed to sync cache info into memory",e),e;case 4:t=null;try{t=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo"))}catch(o){$.debug("failed to get or parse item aws-amplify-federatedInfo",o)}return t?[2,this.Credentials.refreshFederatedToken(t)]:[2,this.currentSession().then((function(e){return $.debug("getting session success",e),n.Credentials.set(e,"session")})).catch((function(e){return $.debug("getting session failed",e),n.Credentials.set(null,"guest")}))]}}))}))},e.prototype.currentCredentials=function(){return $.debug("getting current credentials"),this.Credentials.get()},e.prototype.verifyUserAttribute=function(e,t,n){return void 0===n&&(n=this._config.clientMetadata),new Promise((function(r,o){e.getAttributeVerificationCode(t,{onSuccess:function(){return r()},onFailure:function(e){return o(e)}},n)}))},e.prototype.verifyUserAttributeSubmit=function(e,t,n){return n?new Promise((function(r,o){e.verifyAttribute(t,n,{onSuccess:function(e){r(e)},onFailure:function(e){o(e)}})})):this.rejectAuthError(o.EmptyCode)},e.prototype.verifyCurrentUserAttribute=function(e){var t=this;return t.currentUserPoolUser().then((function(n){return t.verifyUserAttribute(n,e)}))},e.prototype.verifyCurrentUserAttributeSubmit=function(e,t){var n=this;return n.currentUserPoolUser().then((function(r){return n.verifyUserAttributeSubmit(r,e,t)}))},e.prototype.cognitoIdentitySignOut=function(e,t){return K(this,void 0,void 0,(function(){var n,r,o=this;return z(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this._storageSync];case 1:return i.sent(),[3,3];case 2:throw n=i.sent(),$.debug("Failed to sync cache info into memory",n),n;case 3:return r=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2,new Promise((function(n,i){if(e&&e.global){$.debug("user global sign out",t);var s=o._config.clientMetadata;t.getSession((function(e,s){if(e)return $.debug("failed to get the user session",e),i(e);t.globalSignOut({onSuccess:function(e){if($.debug("global sign out success"),!r)return n();o.oAuthSignOutRedirect(n,i)},onFailure:function(e){return $.debug("global sign out failed",e),i(e)}})}),{clientMetadata:s})}else{if($.debug("user sign out",t),t.signOut(),!r)return n();o.oAuthSignOutRedirect(n,i)}}))]}}))}))},e.prototype.oAuthSignOutRedirect=function(e,t){m.JS.browserOrNode().isBrowser?this.oAuthSignOutRedirectOrReject(t):this.oAuthSignOutAndResolve(e)},e.prototype.oAuthSignOutAndResolve=function(e){this._oAuthHandler.signOut(),e()},e.prototype.oAuthSignOutRedirectOrReject=function(e){this._oAuthHandler.signOut(),setTimeout((function(){return e("Signout timeout fail")}),3e3)},e.prototype.signOut=function(e){return K(this,void 0,void 0,(function(){var t;return z(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.cleanCachedItems()];case 1:return n.sent(),[3,3];case 2:return n.sent(),$.debug("failed to clear cached items"),[3,3];case 3:return this.userPool?(t=this.userPool.getCurrentUser())?[4,this.cognitoIdentitySignOut(e,t)]:[3,5]:[3,7];case 4:return n.sent(),[3,6];case 5:$.debug("no current Cognito user"),n.label=6;case 6:return[3,8];case 7:$.debug("no Congito User pool"),n.label=8;case 8:return Q("signOut",this.user,"A user has been signed out"),this.user=null,[2]}}))}))},e.prototype.cleanCachedItems=function(){return K(this,void 0,void 0,(function(){return z(this,(function(e){switch(e.label){case 0:return[4,this.Credentials.clear()];case 1:return e.sent(),[2]}}))}))},e.prototype.changePassword=function(e,t,n,r){var o=this;return void 0===r&&(r=this._config.clientMetadata),new Promise((function(i,s){o.userSession(e).then((function(o){e.changePassword(t,n,(function(e,t){return e?($.debug("change password failure",e),s(e)):i(t)}),r)}))}))},e.prototype.forgotPassword=function(e,t){if(void 0===t&&(t=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(o.EmptyUsername);var n=this.createCognitoUser(e);return new Promise((function(r,o){n.forgotPassword({onSuccess:function(){r()},onFailure:function(t){$.debug("forgot password failure",t),Q("forgotPassword_failure",t,e+" forgotPassword failed"),o(t)},inputVerificationCode:function(t){Q("forgotPassword",n,e+" has initiated forgot password flow"),r(t)}},t)}))},e.prototype.forgotPasswordSubmit=function(e,t,n,r){if(void 0===r&&(r=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(o.EmptyUsername);if(!t)return this.rejectAuthError(o.EmptyCode);if(!n)return this.rejectAuthError(o.EmptyPassword);var i=this.createCognitoUser(e);return new Promise((function(o,s){i.confirmPassword(t,n,{onSuccess:function(){Q("forgotPasswordSubmit",i,e+" forgotPasswordSubmit successful"),o()},onFailure:function(t){Q("forgotPasswordSubmit_failure",t,e+" forgotPasswordSubmit failed"),s(t)}},r)}))},e.prototype.currentUserInfo=function(){return K(this,void 0,void 0,(function(){var e,t,n,r,o,i,s;return z(this,(function(a){switch(a.label){case 0:return(e=this.Credentials.getCredSource())&&"aws"!==e&&"userPool"!==e?[3,9]:[4,this.currentUserPoolUser().catch((function(e){return $.debug(e)}))];case 1:if(!(s=a.sent()))return[2,null];a.label=2;case 2:return a.trys.push([2,8,,9]),[4,this.userAttributes(s)];case 3:t=a.sent(),n=this.attributesToObject(t),r=null,a.label=4;case 4:return a.trys.push([4,6,,7]),[4,this.currentCredentials()];case 5:return r=a.sent(),[3,7];case 6:return o=a.sent(),$.debug("Failed to retrieve credentials while getting current user info",o),[3,7];case 7:return[2,{id:r?r.identityId:void 0,username:s.getUsername(),attributes:n}];case 8:return i=a.sent(),$.debug("currentUserInfo error",i),[2,{}];case 9:return"federated"===e?[2,(s=this.user)||{}]:[2]}}))}))},e.prototype.federatedSignIn=function(e,t,n){return K(this,void 0,void 0,(function(){var o,a,u,c,l,f,h,d,p,g,y;return z(this,(function(m){switch(m.label){case 0:if(!this._config.identityPoolId&&!this._config.userPoolId)throw new Error("Federation requires either a User Pool or Identity Pool in config");if(void 0===e&&this._config.identityPoolId&&!this._config.userPoolId)throw new Error("Federation with Identity Pools requires tokens passed as arguments");return i(e)||(v=e)&&["customProvider"].find((function(e){return v.hasOwnProperty(e)}))||function(e){return e&&!!["customState"].find((function(t){return e.hasOwnProperty(t)}))}(e)||void 0===e?(o=e||{provider:r.Cognito},l=i(o)?o.provider:o.customProvider,i(o),a=o.customState,this._config.userPoolId&&(u=s(this._config.oauth)?this._config.userPoolWebClientId:this._config.oauth.clientID,c=s(this._config.oauth)?this._config.oauth.redirectSignIn:this._config.oauth.redirectUri,this._oAuthHandler.oauthSignIn(this._config.oauth.responseType,this._config.oauth.domain,c,u,l,a)),[3,4]):[3,1];case 1:l=e;try{(f=JSON.stringify(JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")).user))&&$.warn("There is already a signed in user: "+f+" in your app.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou should not call Auth.federatedSignIn method again as it may cause unexpected behavior.")}catch(b){}return h=t.token,d=t.identity_id,p=t.expires_at,[4,this.Credentials.set({provider:l,token:h,identity_id:d,user:n,expires_at:p},"federation")];case 2:return g=m.sent(),[4,this.currentAuthenticatedUser()];case 3:return y=m.sent(),Q("signIn",y,"A user "+y.username+" has been signed in"),$.debug("federated sign in credentials",g),[2,g];case 4:return[2]}var v}))}))},e.prototype._handleAuthResponse=function(e){return K(this,void 0,void 0,(function(){var t,n,r,o,i,s,a,u,c,l,f,h,d,p;return z(this,(function(g){switch(g.label){case 0:if(this.oAuthFlowInProgress)return $.debug("Skipping URL "+e+" current flow in progress"),[2];g.label=1;case 1:if(g.trys.push([1,,8,9]),this.oAuthFlowInProgress=!0,!this._config.userPoolId)throw new Error("OAuth responses require a User Pool defined in config");if(Q("parsingCallbackUrl",{url:e},"The callback url is being parsed"),t=e||(m.JS.browserOrNode().isBrowser?window.location.href:""),n=!!((0,P.qg)(t).query||"").split("&").map((function(e){return e.split("=")})).find((function(e){var t=G(e,1)[0];return"code"===t||"error"===t})),r=!!((0,P.qg)(t).hash||"#").substr(1).split("&").map((function(e){return e.split("=")})).find((function(e){var t=G(e,1)[0];return"access_token"===t||"error"===t})),!n&&!r)return[3,7];this._storage.setItem("amplify-redirected-from-hosted-ui","true"),g.label=2;case 2:return g.trys.push([2,6,,7]),[4,this._oAuthHandler.handleAuthResponse(t)];case 3:return o=g.sent(),i=o.accessToken,s=o.idToken,a=o.refreshToken,u=o.state,c=new A.p4({IdToken:new A.Yw({IdToken:s}),RefreshToken:new A.c9({RefreshToken:a}),AccessToken:new A.pD({AccessToken:i})}),l=void 0,this._config.identityPoolId?[4,this.Credentials.set(c,"session")]:[3,5];case 4:l=g.sent(),$.debug("AWS credentials",l),g.label=5;case 5:return f=/-/.test(u),(h=this.createCognitoUser(c.getIdToken().decodePayload()["cognito:username"])).setSignInUserSession(c),window&&void 0!==window.history&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),Q("signIn",h,"A user "+h.getUsername()+" has been signed in"),Q("cognitoHostedUI",h,"A user "+h.getUsername()+" has been signed in via Cognito Hosted UI"),f&&(d=u.split("-").splice(1).join("-"),Q("customOAuthState",d.match(/.{2}/g).map((function(e){return String.fromCharCode(parseInt(e,16))})).join(""),"State for user "+h.getUsername())),[2,l];case 6:return p=g.sent(),$.debug("Error in cognito hosted auth response",p),Q("signIn_failure",p,"The OAuth response flow failed"),Q("cognitoHostedUI_failure",p,"A failure occurred when returning to the Cognito Hosted UI"),Q("customState_failure",p,"A failure occurred when returning state"),[3,7];case 7:return[3,9];case 8:return this.oAuthFlowInProgress=!1,[7];case 9:return[2]}}
2))}))},e.prototype.essentialCredentials=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e.prototype.attributesToObject=function(e){var t=this,n={};return e&&e.map((function(e){"email_verified"===e.Name||"phone_number_verified"===e.Name?n[e.Name]=t.isTruthyString(e.Value)||!0===e.Value:n[e.Name]=e.Value})),n},e.prototype.isTruthyString=function(e){return"function"==typeof e.toLowerCase&&"true"===e.toLowerCase()},e.prototype.createCognitoUser=function(e){var t={Username:e,Pool:this.userPool};t.Storage=this._storage;var n=this._config.authenticationFlowType,r=new A.TU(t);return n&&r.setAuthenticationFlowType(n),r},e.prototype._isValidAuthStorage=function(e){return!!e&&"function"==typeof e.getItem&&"function"==typeof e.setItem&&"function"==typeof e.removeItem&&"function"==typeof e.clear},e.prototype.noUserPoolErrorHandler=function(e){return!e||e.userPoolId&&e.identityPoolId?o.NoConfig:o.MissingAuthConfig},e.prototype.rejectAuthError=function(e){return Promise.reject(new H(e))},e.prototype.rejectNoUserPool=function(){var e=this.noUserPoolErrorHandler(this._config);return Promise.reject(new q(e))},e}(),X=new Z(null);_.HA.register(X)},88319:function(e,t,n){"use strict";n.d(t,{HA:function(){return s}});var r=n(34549),o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},i=new r.C("Amplify"),s=new(function(){function e(){this._components=[],this._config={},this._modules={},this.Auth=null,this.Analytics=null,this.API=null,this.Credentials=null,this.Storage=null,this.I18n=null,this.Cache=null,this.PubSub=null,this.Interactions=null,this.Pushnotification=null,this.UI=null,this.XR=null,this.Predictions=null,this.DataStore=null,this.Logger=r.C,this.ServiceWorker=null}return e.prototype.register=function(e){i.debug("component registered in amplify",e),this._components.push(e),"function"==typeof e.getModuleName?(this._modules[e.getModuleName()]=e,this[e.getModuleName()]=e):i.debug("no getModuleName method for component",e),e.configure(this._config)},e.prototype.configure=function(e){var t=this;return e?(this._config=Object.assign(this._config,e),i.debug("amplify config",this._config),Object.entries(this._modules).forEach((function(e){var n=o(e,2),r=(n[0],n[1]);Object.keys(r).forEach((function(e){t._modules[e]&&(r[e]=t._modules[e])}))})),this._components.map((function(e){e.configure(t._config)})),this._config):this._config},e.prototype.addPluggable=function(e){e&&e.getCategory&&"function"==typeof e.getCategory&&this._components.map((function(t){t.addPluggable&&"function"==typeof t.addPluggable&&t.addPluggable(e)}))},e}())},47523:function(e,t,n){"use strict";n.d(t,{Ji:function(){return jn}});var r,o,i,s,a,u,c,l,f,h,d,p,g,y,m,v,b,w,S,_,A,P,E,C,x,O,I,k,T,R,U,M,j,D,F,N,L,B,H,q,W,V,K,z,G,$,J,Y,Q,Z,X,ee,te,ne,re,oe,ie,se=n(34549),ae=n(54769),ue=n(64988),ce=n(766),le=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},fe=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},he=new se.C("CognitoCredentials"),de=new Promise((function(e,t){return(0,ue.gy)().isBrowser?(window.gapi&&window.gapi.auth2?window.gapi.auth2:null)?(he.debug("google api already loaded"),e()):void setTimeout((function(){return e()}),2e3):(he.debug("not in the browser, directly resolved"),e())})),pe=function(){function e(){this.initialized=!1,this.refreshGoogleToken=this.refreshGoogleToken.bind(this),this._refreshGoogleTokenImpl=this._refreshGoogleTokenImpl.bind(this)}return e.prototype.refreshGoogleToken=function(){return le(this,void 0,void 0,(function(){return fe(this,(function(e){switch(e.label){case 0:return this.initialized?[3,2]:(he.debug("need to wait for the Google SDK loaded"),[4,de]);case 1:e.sent(),this.initialized=!0,he.debug("finish waiting"),e.label=2;case 2:return[2,this._refreshGoogleTokenImpl()]}}))}))},e.prototype._refreshGoogleTokenImpl=function(){var e=null;return(0,ue.gy)().isBrowser&&(e=window.gapi&&window.gapi.auth2?window.gapi.auth2:null),e?new Promise((function(t,n){e.getAuthInstance().then((function(e){e||(he.debug("google Auth undefined"),n(new ce.OI("google Auth undefined")));var r=e.currentUser.get();r.isSignedIn()?(he.debug("refreshing the google access token"),r.reloadAuthResponse().then((function(e){var n=e.id_token,r=e.expires_at;t({token:n,expires_at:r})})).catch((function(e){e&&"network_error"===e.error?n("Network error reloading google auth response"):n(new ce.OI("Failed to reload google auth response"))}))):n(new ce.OI("User is not signed in with Google"))})).catch((function(e){he.debug("Failed to refresh google token",e),n(new ce.OI("Failed to refresh google token"))}))})):(he.debug("no gapi auth2 available"),Promise.reject("no gapi auth2 available"))},e}
2(),ge=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},ye=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},me=new se.C("CognitoCredentials"),ve=new Promise((function(e,t){return(0,ue.gy)().isBrowser?window.FB?(me.debug("FB SDK already loaded"),e()):void setTimeout((function(){return e()}),2e3):(me.debug("not in the browser, directly resolved"),e())})),be=function(){function e(){this.initialized=!1,this.refreshFacebookToken=this.refreshFacebookToken.bind(this),this._refreshFacebookTokenImpl=this._refreshFacebookTokenImpl.bind(this)}return e.prototype.refreshFacebookToken=function(){return ge(this,void 0,void 0,(function(){return ye(this,(function(e){switch(e.label){case 0:return this.initialized?[3,2]:(me.debug("need to wait for the Facebook SDK loaded"),[4,ve]);case 1:e.sent(),this.initialized=!0,me.debug("finish waiting"),e.label=2;case 2:return[2,this._refreshFacebookTokenImpl()]}}))}))},e.prototype._refreshFacebookTokenImpl=function(){var e=null;if((0,ue.gy)().isBrowser&&(e=window.FB),!e){var t="no fb sdk available";return me.debug(t),Promise.reject(new ce.OI(t))}return new Promise((function(t,n){e.getLoginStatus((function(e){if(e&&e.authResponse){var r=e.authResponse,o=r.accessToken,i=1e3*r.expiresIn+(new Date).getTime();if(!o){s="the jwtToken is undefined";me.debug(s),n(new ce.OI(s))}t({token:o,expires_at:i})}else{var s="no response from facebook when refreshing the jwt token";me.debug(s),n(new ce.OI(s))}}),{scope:"public_profile,email"})}))},e}(),we=new pe,Se=new be,_e=n(71805),Ae=n(88319),Pe=n(15215),Ee=n(36318);!function(e){e.AUTHENTICATED_ROLE="AuthenticatedRole",e.DENY="Deny"}(r||(r={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(o||(o={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(i||(i={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(s||(s={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(a||(a={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(u||(u={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(c||(c={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(l||(l={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(f||(f={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(h||(h={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(d||(d={})),function(e){e.ACCESS_DENIED="AccessDenied",e.INTERNAL_SERVER_ERROR="InternalServerError"}(p||(p={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(g||(g={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(y||(y={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(m||(m={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(v||(v={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(b||(b={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(w||(w={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(S||(S={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(_||(_={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(A||(A={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(P||(P={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(E||(E={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(C||(C={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(x||(x={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(O||(O={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(I||(I={})),function(e){e.CONTAINS="Contains",e.EQUALS="Equals",e.NOT_EQUAL="NotEqual",e.STARTS_WITH="StartsWith"}(k||(k={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(T||(T={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(R||(R={})),function(e){e.RULES="Rules",e.TOKEN="Token"}(U||(U={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(M||(M={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(j||(j={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(D||(D={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(F||(F={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(N||(N={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(L||(L={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(B||(B={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(H||(H={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(q||(q={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(W||(W={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(V||(V={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(K||(K={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(z||(z={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(G||(G={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}($||($={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(J||(J={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(Y||(Y={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(Q||(Q={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(Z||(Z={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(X||(X={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(ee||(ee={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(te||(te={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(ne||(ne={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(re||(re={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(oe||(oe={})),function(e){e.filterSensitiveLog=function(e){return(0,Ee.Cl)({},e)}}(ie||(ie={}));var Ce=n(24451),xe={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},Oe={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function Ie(e,t,n){return{applyToStack:function(r){r.add(function(e,t){return function(n,r){return function(r){return(0,Pe.__awaiter)(void 0,void 0,void 0,(function(){var o,i;return(0,Pe.__generator)(this,(function(s){switch(s.label){case 0:return[4,n(r)];case 1:return o=s.sent().response,[4,t(o,e)];case 2:return i=s.sent(),[2,{response:o,output:i}]}}))}))}}}(e,n),xe),r.add(function(e,t){return function(n,r){return function(r){return(0,Pe.__awaiter)(void 0,void 0,void 0,(function(){var o;return(0,Pe.__generator)(this,(function(i){switch(i.label){case 0:return[4,t(r.input,e)];case 1:return o=i.sent(),[2,n((0,Pe.__assign)((0,Pe.__assign)({},r),{request:o}))]}}))}))}}}(e,t),Oe)}}}var ke=function(){var e=[],t=[],n=new Set,r=function(n){return e.forEach((function(e){n.add(e.middleware,(0,Pe.__assign)({},e))})),t.forEach((function(e){n.addRelativeTo(e.middleware,(0,Pe.__assign)({},e))})),n},o=function(e){var t=[];return e.before.forEach((function(e){0===e.before.length&&0===e.after.length?t.push(e):t.push.apply(t,(0,Pe.__spread)(o(e)))}
2)),t.push(e),e.after.reverse().forEach((function(e){0===e.before.length&&0===e.after.length?t.push(e):t.push.apply(t,(0,Pe.__spread)(o(e)))})),t},i=function(){var n,r=[],i=[],s={};return e.forEach((function(e){var t=(0,Pe.__assign)((0,Pe.__assign)({},e),{before:[],after:[]});t.name&&(s[t.name]=t),r.push(t)})),t.forEach((function(e){var t=(0,Pe.__assign)((0,Pe.__assign)({},e),{before:[],after:[]});t.name&&(s[t.name]=t),i.push(t)})),i.forEach((function(e){if(e.toMiddleware){var t=s[e.toMiddleware];if(void 0===t)throw new Error(e.toMiddleware+" is not found when adding "+(e.name||"anonymous")+" middleware "+e.relation+" "+e.toMiddleware);"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}})),(n=r,n.sort((function(e,t){return Te[t.step]-Te[e.step]||Re[t.priority||"normal"]-Re[e.priority||"normal"]}))).map(o).reduce((function(e,t){return e.push.apply(e,(0,Pe.__spread)(t)),e}),[]).map((function(e){return e.middleware}))},s={add:function(t,r){void 0===r&&(r={});var o=r.name,i=r.override,s=(0,Pe.__assign)({step:"initialize",priority:"normal",middleware:t},r);if(o){if(n.has(o)){if(!i)throw new Error("Duplicate middleware name '"+o+"'");var a=e.findIndex((function(e){return e.name===o})),u=e[a];if(u.step!==s.step||u.priority!==s.priority)throw new Error('"'+o+'" middleware with '+u.priority+" priority in "+u.step+" step cannot be overridden by same-name middleware with "+s.priority+" priority in "+s.step+" step.");e.splice(a,1)}n.add(o)}e.push(s)},addRelativeTo:function(e,r){var o=r.name,i=r.override,s=(0,Pe.__assign)({middleware:e},r);if(o){if(n.has(o)){if(!i)throw new Error("Duplicate middleware name '"+o+"'");var a=t.findIndex((function(e){return e.name===o})),u=t[a];if(u.toMiddleware!==s.toMiddleware||u.relation!==s.relation)throw new Error('"'+o+'" middleware '+u.relation+' "'+u.toMiddleware+'" middleware cannot be overridden by same-name middleware '+s.relation+' "'+s.toMiddleware+'" middleware.');t.splice(a,1)}n.add(o)}t.push(s)},clone:function(){return r(ke())},use:function(e){e.applyToStack(s)},remove:function(r){return"string"==typeof r?function(r){var o=!1,i=function(e){return!e.name||e.name!==r||(o=!0,n.delete(r),!1)};return e=e.filter(i),t=t.filter(i),o}(r):function(r){var o=!1,i=function(e){return e.middleware!==r||(o=!0,e.name&&n.delete(e.name),!1)};return e=e.filter(i),t=t.filter(i),o}(r)},removeByTag:function(r){var o=!1,i=function(e){var t=e.tags,i=e.name;return!t||!t.includes(r)||(i&&n.delete(i),o=!0,!1)};return e=e.filter(i),t=t.filter(i),o},concat:function(e){var t=r(ke());return t.use(e),t},applyToStack:r,resolve:function(e,t){var n,r;try{for(var o=(0,Pe.__values)(i().reverse()),s=o.next();!s.done;s=o.next()){e=(0,s.value)(e,t)}}catch(a){n={error:a}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return e}};return s},Te={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Re={high:3,normal:2,low:1},Ue=function(){function e(e){this.middlewareStack=ke(),this.config=e}return e.prototype.send=function(e,t,n){var r="function"!=typeof t?t:void 0,o="function"==typeof t?t:n,i=e.resolveMiddleware(this.middlewareStack,this.config,r);if(!o)return i(e).then((function(e){return e.output}));i(e).then((function(e){return o(null,e.output)}),(function(e){return o(e)})).catch((function(){}))},e.prototype.destroy=function(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()},e}(),Me=function(){this.middlewareStack=ke()},je=function(){var e=Object.getPrototypeOf(this).constructor,t=new(Function.bind.apply(String,(0,Pe.__spread)([null],arguments)));return Object.setPrototypeOf(t,e.prototype),t};je.prototype=Object.create(String.prototype,{constructor:{value:je,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(je,String);!function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(0,Pe.__extends)(t,e),t.prototype.deserializeJSON=function(){return JSON.parse(e.prototype.toString.call(this))},t.prototype.toJSON=function(){return e.prototype.toString.call(this)},t.fromObject=function(e){return e instanceof t?e:new t(e instanceof String||"string"==typeof e?e:JSON.stringify(e))}}(je);var De=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,Ee.C6)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Ie(t,this.serialize,this.deserialize));var r=e.concat(this.middlewareStack),o={logger:t.logger,clientName:"CognitoIdentityClient",commandName:"GetCredentialsForIdentityCommand",inputFilterSensitiveLog:A.filterSensitiveLog,outputFilterSensitiveLog:E.filterSensitiveLog},i=t.requestHandler;return r.resolve((function(e){return i.handle(e.request,n||{})}),o)},t.prototype.serialize=function(e,t){return(0,Ce.uq)(e,t)},t.prototype.deserialize=function(e,t){return(0,Ce.j8)(e,t)},t}(Me),Fe=function(e){function t(t,n){void 0===n&&(n=!0);var r=e.call(this,t)||this;return r.tryNextLink=n,r}return(0,Pe.__extends)(t,e),t}(Error);function Ne(e){return Promise.all(Object.keys(e).reduce((function(t,n){var r=e[n];
2return"string"==typeof r?t.push([n,r]):t.push(r().then((function(e){return[n,e]}))),t}),[])).then((function(e){return e.reduce((function(e,t){var n=(0,Pe.__read)(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})}))}function Le(e){var t=this;return function(){return(0,Pe.__awaiter)(t,void 0,void 0,(function(){var t,n,r,o,i,s,a,u,c,l,f,h,d;return(0,Pe.__generator)(this,(function(p){switch(p.label){case 0:return l=(c=e.client).send,f=De.bind,d={CustomRoleArn:e.customRoleArn,IdentityId:e.identityId},e.logins?[4,Ne(e.logins)]:[3,2];case 1:return h=p.sent(),[3,3];case 2:h=void 0,p.label=3;case 3:return[4,l.apply(c,[new(f.apply(De,[void 0,(d.Logins=h,d)]))])];case 4:return t=p.sent().Credentials,n=void 0===t?function(){throw new Fe("Response from Amazon Cognito contained no credentials")}():t,r=n.AccessKeyId,o=void 0===r?function(){throw new Fe("Response from Amazon Cognito contained no access key ID")}():r,i=n.Expiration,s=n.SecretKey,a=void 0===s?function(){throw new Fe("Response from Amazon Cognito contained no secret key")}():s,u=n.SessionToken,[2,{identityId:e.identityId,accessKeyId:o,secretAccessKey:a,sessionToken:u,expiration:i}]}}))}))}}var Be=function(e){function t(t){var n=e.call(this)||this;return n.input=t,n}return(0,Ee.C6)(t,e),t.prototype.resolveMiddleware=function(e,t,n){this.middlewareStack.use(Ie(t,this.serialize,this.deserialize));var r=e.concat(this.middlewareStack),o={logger:t.logger,clientName:"CognitoIdentityClient",commandName:"GetIdCommand",inputFilterSensitiveLog:x.filterSensitiveLog,outputFilterSensitiveLog:O.filterSensitiveLog},i=t.requestHandler;return r.resolve((function(e){return i.handle(e.request,n||{})}),o)},t.prototype.serialize=function(e,t){return(0,Ce._1)(e,t)},t.prototype.deserialize=function(e,t){return(0,Ce.Ro)(e,t)},t}(Me),He="IdentityIds",qe=function(){function e(e){void 0===e&&(e="aws:cognito-identity-ids"),this.dbName=e}return e.prototype.getItem=function(e){return this.withObjectStore("readonly",(function(t){var n=t.get(e);return new Promise((function(e){n.onerror=function(){return e(null)},n.onsuccess=function(){return e(n.result?n.result.value:null)}}))})).catch((function(){return null}))},e.prototype.removeItem=function(e){return this.withObjectStore("readwrite",(function(t){var n=t.delete(e);return new Promise((function(e,t){n.onerror=function(){return t(n.error)},n.onsuccess=function(){return e()}}))}))},e.prototype.setItem=function(e,t){return this.withObjectStore("readwrite",(function(n){var r=n.put({id:e,value:t});return new Promise((function(e,t){r.onerror=function(){return t(r.error)},r.onsuccess=function(){return e()}}))}))},e.prototype.getDb=function(){var e=self.indexedDB.open(this.dbName,1);return new Promise((function(t,n){e.onsuccess=function(){t(e.result)},e.onerror=function(){n(e.error)},e.onblocked=function(){n(new Error("Unable to access DB"))},e.onupgradeneeded=function(){var t=e.result;t.onerror=function(){n(new Error("Failed to create object store"))},t.createObjectStore(He,{keyPath:"id"})}}))},e.prototype.withObjectStore=function(e,t){return this.getDb().then((function(n){var r=n.transaction(He,e);return r.oncomplete=function(){return n.close()},new Promise((function(e,n){r.onerror=function(){return n(r.error)},e(t(r.objectStore(He)))})).catch((function(e){throw n.close(),e}))}))},e}(),We=new(function(){function e(e){void 0===e&&(e={}),this.store=e}return e.prototype.getItem=function(e){return e in this.store?this.store[e]:null},e.prototype.removeItem=function(e){delete this.store[e]},e.prototype.setItem=function(e,t){this.store[e]=t},e}());function Ve(e){var t=this,n=e.accountId,r=e.cache,o=void 0===r?"object"==typeof self&&self.indexedDB?new qe:"object"==typeof window&&window.localStorage?window.localStorage:We:r,i=e.client,s=e.customRoleArn,a=e.identityPoolId,u=e.logins,c=e.userIdentifier,l=void 0===c?u&&0!==Object.keys(u).length?void 0:"ANONYMOUS":c,f=l?"aws:cognito-identity-credentials:"+a+":"+l:void 0,h=function(){return(0,Pe.__awaiter)(t,void 0,void 0,(function(){var e,t,r,c,l,d,p,g,y;return(0,Pe.__generator)(this,(function(m){switch(m.label){case 0:return(t=f)?[4,o.getItem(f)]:[3,2];case 1:t=m.sent(),m.label=2;case 2:return(e=t)?[3,7]:(d=(l=i).send,p=Be.bind,y={AccountId:n,IdentityPoolId:a},u?[4,Ne(u)]:[3,4]);case 3:return g=m.sent(),[3,5];case 4:g=void 0,m.label=5;case 5:return[4,d.apply(l,[new(p.apply(Be,[void 0,(y.Logins=g,y)]))])];case 6:r=m.sent().IdentityId,c=void 0===r?function(){throw new Fe("Response from Amazon Cognito contained no identity ID")}():r,e=c,f&&Promise.resolve(o.setItem(f,e)).catch((function(){})),m.label=7;case 7:return[2,(h=Le({client:i,customRoleArn:s,logins:u,identityId:e}))()]}}))}))};return function(){return h().catch((function(e){return(0,Pe.__awaiter)(t,void 0,void 0,(function(){return(0,Pe.__generator)(this,(function(t){throw f&&Promise.resolve(o.removeItem(f)).catch((function(){})),e}))}))}))}}var Ke=n(36634),ze=n(84834),Ge=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,$e)},$e=function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()};for(var Je=function(){function e(e){var t=(void 0===e?{}:e).requestTimeout;this.requestTimeout=t}return e.prototype.destroy=function(){},e.prototype.handle=function(e,t){var n=(void 0===t?{}:t).abortSignal,r=this.requestTimeout;if(null==n?void 0:n.aborted){var o=new Error("Request aborted");return o.name="AbortError",Promise.reject(o)}var i=e.path;if(e.query){var s=function(e){var t,n,r=[];try{for(var o=(0,Pe.__values)(Object.keys(e).sort()),i=o.next();!i.done;i=o.next()){var s=i.value,a=e[s];if(s=Ge(s),Array.isArray(a))for(var u=0,c=a.length;u<c;u++)r.push(s+"="+Ge(a[u]));else{var l=s;(a||"string"==typeof a)&&(l+="="+Ge(a)),r.push(l)}}}catch(f){t={error:f}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r.join("&")}(e.query);s&&(i+="?"+s)}var a=e.port,u=e.method,c=e.protocol+"//"+e.hostname+(a?":"+a:"")+i,l={body:"GET"===u||"HEAD"===u?void 0:e.body,headers:new Headers(e.headers),method:u};"undefined"!=typeof AbortController&&(l.signal=n);
2var f,h=new Request(c,l),d=[fetch(h).then((function(e){var t,n,r=e.headers,o={};try{for(var i=(0,Pe.__values)(r.entries()),s=i.next();!s.done;s=i.next()){var a=s.value;o[a[0]]=a[1]}}catch(u){t={error:u}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return void 0!==e.body?{response:new ze.cS({headers:o,statusCode:e.status,body:e.body})}:e.blob().then((function(t){return{response:new ze.cS({headers:o,statusCode:e.status,body:t})}}))})),(f=r,void 0===f&&(f=0),new Promise((function(e,t){f&&setTimeout((function(){var e=new Error("Request did not complete within "+f+" ms");e.name="TimeoutError",t(e)}),f)})))];return n&&d.push(new Promise((function(e,t){n.onabort=function(){var e=new Error("Request aborted");e.name="AbortError",t(e)}}))),Promise.race(d)},e}(),Ye={},Qe=new Array(64),Ze=0,Xe="A".charCodeAt(0),et="Z".charCodeAt(0);Ze+Xe<=et;Ze++){var tt=String.fromCharCode(Ze+Xe);Ye[tt]=Ze,Qe[Ze]=tt}for(Ze=0,Xe="a".charCodeAt(0),et="z".charCodeAt(0);Ze+Xe<=et;Ze++){tt=String.fromCharCode(Ze+Xe);var nt=Ze+26;Ye[tt]=nt,Qe[nt]=tt}for(Ze=0;Ze<10;Ze++){Ye[Ze.toString(10)]=Ze+52;tt=Ze.toString(10),nt=Ze+52;Ye[tt]=nt,Qe[nt]=tt}
2Ye["+"]=62,Qe[62]="+",Ye["/"]=63,Qe[63]="/";var rt=6,ot=8;function it(e){var t=e.length/4*3;"=="===e.substr(-2)?t-=2:"="===e.substr(-1)&&t--;for(var n=new ArrayBuffer(t),r=new DataView(n),o=0;o<e.length;o+=4){for(var i=0,s=0,a=o,u=o+3;a<=u;a++)"="!==e[a]?(i|=Ye[e[a]]<<(u-a)*rt,s+=rt):i>>=rt;var c=o/4*3;i>>=s%ot;for(var l=Math.floor(s/ot),f=0;f<l;f++){var h=(l-f-1)*ot;r.setUint8(c+f,(i&255<<h)>>h)}}return new Uint8Array(n)}function st(e){return new Promise((function(t,n){var r=new FileReader;r.onloadend=function(){var e;if(2!==r.readyState)return n(new Error("Reader aborted too early"));var o=null!==(e=r.result)&&void 0!==e?e:"",i=o.indexOf(","),s=i>-1?i+1:o.length;t(o.substring(s))},r.onabort=function(){return n(new Error("Read aborted"))},r.onerror=function(){return n(r.error)},r.readAsDataURL(e)}))}var at={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},ut=function(e){return{applyToStack:function(t){t.add(function(e){return function(t,n){return function(r){return(0,Pe.__awaiter)(void 0,void 0,void 0,(function(){var o;return(0,Pe.__generator)(this,(function(i){return(null===(o=null==e?void 0:e.retryStrategy)||void 0===o?void 0:o.mode)&&(n.userAgent=(0,Pe.__spread)(n.userAgent||[],[["cfg/retry-mode",e.retryStrategy.mode]])),[2,e.retryStrategy.retry(t,r)]}))}))}}}(e),at)}}},ct=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],lt=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],ft=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"],ht=[500,502,503,504],dt=function(e){var t,n;return 429===(null===(t=e.$metadata)||void 0===t?void 0:t.httpStatusCode)||lt.includes(e.name)||1==(null===(n=e.$retryable)||void 0===n?void 0:n.throttling)},pt=n(68414),gt=function(e,t){return Math.floor(Math.min(2e4,Math.random()*Math.pow(2,t)*e))},yt=function(e){return!!e&&(function(e){return void 0!==e.$retryable}(e)||function(e){return ct.includes(e.name)}(e)||dt(e)||function(e){var t;return ft.includes(e.name)||ht.includes((null===(t=e.$metadata)||void 0===t?void 0:t.httpStatusCode)||0)}(e))},mt="standard",vt=function(){function e(e,t){var n,r,o,i,s,a,u,c;this.maxAttemptsProvider=e,this.mode=mt,this.retryDecider=null!==(n=null==t?void 0:t.retryDecider)&&void 0!==n?n:yt,this.delayDecider=null!==(r=null==t?void 0:t.delayDecider)&&void 0!==r?r:gt,this.retryQuota=null!==(o=null==t?void 0:t.retryQuota)&&void 0!==o?o:(s=i=500,a=i,u=function(e){return"TimeoutError"===e.name?10:5},c=function(e){return u(e)<=a},Object.freeze({hasRetryTokens:c,retrieveRetryTokens:function(e){if(!c(e))throw new Error("No retry token available");var t=u(e);return a-=t,t},releaseRetryTokens:function(e){a+=null!=e?e:1,a=Math.min(a,s)}}))}return e.prototype.shouldRetry=function(e,t,n){return t<n&&this.retryDecider(e)&&this.retryQuota.hasRetryTokens(e)},e.prototype.getMaxAttempts=function(){return(0,Pe.__awaiter)(this,void 0,void 0,(function(){var e;return(0,Pe.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.maxAttemptsProvider()];case 1:return e=t.sent(),[3,3];case 2:return t.sent(),e=3,[3,3];case 3:return[2,e]}}))}))},e.prototype.retry=function(e,t){return(0,Pe.__awaiter)(this,void 0,void 0,(function(){var n,r,o,i,s,a,u,c;return(0,Pe.__generator)(this,(function(l){switch(l.label){case 0:return r=0,o=0,[4,this.getMaxAttempts()];case 1:i=l.sent(),s=t.request,ze.Kd.isInstance(s)&&(s.headers["amz-sdk-invocation-id"]=(0,pt.v4)()),a=function(){var a,c,l,f,h;return(0,Pe.__generator)(this,(function(d){switch(d.label){case 0:return d.trys.push([0,2,,5]),ze.Kd.isInstance(s)&&(s.headers["amz-sdk-request"]="attempt="+(r+1)+"; max="+i),[4,e(t)];case 1:return a=d.sent(),c=a.response,l=a.output,u.retryQuota.releaseRetryTokens(n),l.$metadata.attempts=r+1,l.$metadata.totalRetryDelay=o,[2,{value:{response:c,output:l}}];case 2:return f=d.sent(),r++,u.shouldRetry(f,r,i)?(n=u.retryQuota.retrieveRetryTokens(f),h=u.delayDecider(dt(f)?500:100,r),o+=h,[4,new Promise((function(e){return setTimeout(e,h)}))]):[3,4];case 3:return d.sent(),[2,"continue"];case 4:throw f.$metadata||(f.$metadata={}),f.$metadata.attempts=r,f.$metadata.totalRetryDelay=o,f;case 5:return[2]}}
2))},u=this,l.label=2;case 2:return[5,a()];case 3:return"object"==typeof(c=l.sent())?[2,c.value]:[3,2];case 4:return[2]}}))}))},e}(),bt=function(e){if(void 0===e&&(e=3),"number"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e};var wt=n(46880),St=n.n(wt),_t=n(17620),At="cognito-identity.{region}.amazonaws.com",Pt=new Set(["af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-south-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),Et=new Set(["cn-north-1","cn-northwest-1"]),Ct=new Set(["us-iso-east-1"]),xt=new Set(["us-isob-east-1"]),Ot=new Set(["us-gov-east-1","us-gov-west-1"]);var It,kt,Tt,Rt,Ut={apiVersion:"2014-06-30",disableHostPrefix:!1,logger:{},regionInfoProvider:function(e,t){var n=void 0;switch(e){case"ap-northeast-1":n={hostname:"cognito-identity.ap-northeast-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-2":n={hostname:"cognito-identity.ap-northeast-2.amazonaws.com",partition:"aws"};break;case"ap-south-1":n={hostname:"cognito-identity.ap-south-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-1":n={hostname:"cognito-identity.ap-southeast-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-2":n={hostname:"cognito-identity.ap-southeast-2.amazonaws.com",partition:"aws"};break;case"ca-central-1":n={hostname:"cognito-identity.ca-central-1.amazonaws.com",partition:"aws"};break;case"cn-north-1":n={hostname:"cognito-identity.cn-north-1.amazonaws.com.cn",partition:"aws-cn"};break;case"eu-central-1":n={hostname:"cognito-identity.eu-central-1.amazonaws.com",partition:"aws"};break;case"eu-north-1":n={hostname:"cognito-identity.eu-north-1.amazonaws.com",partition:"aws"};break;case"eu-west-1":n={hostname:"cognito-identity.eu-west-1.amazonaws.com",partition:"aws"};break;case"eu-west-2":n={hostname:"cognito-identity.eu-west-2.amazonaws.com",partition:"aws"};break;case"eu-west-3":n={hostname:"cognito-identity.eu-west-3.amazonaws.com",partition:"aws"};break;case"fips-us-east-1":n={hostname:"cognito-identity-fips.us-east-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"fips-us-east-2":n={hostname:"cognito-identity-fips.us-east-2.amazonaws.com",partition:"aws",signingRegion:"us-east-2"};break;case"fips-us-gov-west-1":n={hostname:"cognito-identity-fips.us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"fips-us-west-2":n={hostname:"cognito-identity-fips.us-west-2.amazonaws.com",partition:"aws",signingRegion:"us-west-2"};break;case"sa-east-1":n={hostname:"cognito-identity.sa-east-1.amazonaws.com",partition:"aws"};break;case"us-east-1":n={hostname:"cognito-identity.us-east-1.amazonaws.com",partition:"aws"};break;case"us-east-2":n={hostname:"cognito-identity.us-east-2.amazonaws.com",partition:"aws"};break;case"us-gov-west-1":n={hostname:"cognito-identity.us-gov-west-1.amazonaws.com",partition:"aws-us-gov"};break;case"us-west-1":n={hostname:"cognito-identity.us-west-1.amazonaws.com",partition:"aws"};break;case"us-west-2":n={hostname:"cognito-identity.us-west-2.amazonaws.com",partition:"aws"};break;default:Pt.has(e)&&(n={hostname:At.replace("{region}",e),partition:"aws"}),Et.has(e)&&(n={hostname:"cognito-identity.{region}.amazonaws.com.cn".replace("{region}",e),partition:"aws-cn"}),Ct.has(e)&&(n={hostname:"cognito-identity.{region}.c2s.ic.gov".replace("{region}",e),partition:"aws-iso"}),xt.has(e)&&(n={hostname:"cognito-identity.{region}.sc2s.sgov.gov".replace("{region}",e),partition:"aws-iso-b"}),Ot.has(e)&&(n={hostname:"cognito-identity.{region}.amazonaws.com".replace("{region}",e),partition:"aws-us-gov"}),void 0===n&&(n={hostname:At.replace("{region}",e),partition:"aws"})}return Promise.resolve((0,Ee.Cl)({signingService:"cognito-identity"},n))},serviceId:"Cognito Identity",urlParser:function(e){var t,n=new URL(e),r=n.hostname,o=n.pathname,i=n.port,s=n.protocol,a=n.search;return a&&(t=function(e){var t,n,r={};if(e=e.replace(/^\?/,""))try{for(var o=(0,Pe.__values)(e.split("&")),i=o.next();!i.done;i=o.next()){var s=i.value,a=(0,Pe.__read)(s.split("="),2),u=a[0],c=a[1],l=void 0===c?null:c;u=decodeURIComponent(u),l&&(l=decodeURIComponent(l)),u in r?Array.isArray(r[u])?r[u].push(l):r[u]=[r[u],l]:r[u]=l}}catch(f){t={error:f}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}(a)),{hostname:r,port:i?parseInt(i):void 0,protocol:s,path:o,query:t}}},Mt=(0,Ee.Cl)((0,Ee.Cl)({},Ut),{runtime:"browser",base64Decoder:it,base64Encoder:function(e){for(var t="",n=0;n<e.length;n+=3){for(var r=0,o=0,i=n,s=Math.min(n+3,e.length);i<s;i++)r|=e[i]<<(s-i-1)*ot,o+=ot;var a=Math.ceil(o/rt);r<<=a*rt-o;for(var u=1;u<=a;u++){var c=(a-u)*rt;t+=Qe[(r&63<<c)>>c]}t+="==".slice(0,4-a)}return t},bodyLengthChecker:function(e){if("string"==typeof e){for(var t=e.length,n=t-1;n>=0;n--){var r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2)}return t}return"number"==typeof e.byteLength?e.byteLength:"number"==typeof e.size?e.size:void 0},credentialDefaultProvider:function(e){return function(){return Promise.reject(new Error("Credential is missing"))}},defaultUserAgentProvider:(kt={serviceId:Ut.serviceId,clientVersion:"3.6.1"},Tt=kt.serviceId,Rt=kt.clientVersion,function(){return(0,Pe.__awaiter)(void 0,void 0,void 0,(function(){var e,t,n,r,o,i,s,a,u;return(0,Pe.__generator)(this,(function(c){return e=(null===(n=null===window||void 0===window?void 0:window.navigator)||void 0===n?void 0:n.userAgent)?St().parse(window.navigator.userAgent):void 0,t=[["aws-sdk-js",Rt],["os/"+((null===(r=null==e?void 0:e.os)||void 0===r?void 0:r.name)||"other"),null===(o=null==e?void 0:e.os)||void 0===o?void 0:o.version],["lang/js"],["md/browser",(null!==(s=null===(i=null==e?void 0:e.browser)||void 0===i?void 0:i.name)&&void 0!==s?s:"unknown")+"_"+(null!==(u=null===(a=null==e?void 0:e.browser)||void 0===a?void 0:a.version)&&void 0!==u?u:"unknown")]],Tt&&t.push(["api/"+Tt,Rt]),[2,t]}))}
2))}),maxAttempts:3,region:(It="Region is missing",function(){return Promise.reject(It)}),requestHandler:new Je,sha256:Ke.Sha256,streamCollector:function(e){return"function"==typeof Blob&&e instanceof Blob?function(e){return(0,Pe.__awaiter)(this,void 0,void 0,(function(){var t,n;return(0,Pe.__generator)(this,(function(r){switch(r.label){case 0:return[4,st(e)];case 1:return t=r.sent(),n=it(t),[2,new Uint8Array(n)]}}))}))}(e):function(e){return(0,Pe.__awaiter)(this,void 0,void 0,(function(){var t,n,r,o,i,s,a;return(0,Pe.__generator)(this,(function(u){switch(u.label){case 0:t=new Uint8Array(0),n=e.getReader(),r=!1,u.label=1;case 1:return r?[3,3]:[4,n.read()];case 2:return o=u.sent(),i=o.done,(s=o.value)&&(a=t,(t=new Uint8Array(a.length+s.length)).set(a),t.set(s,a.length)),r=i,[3,1];case 3:return[2,t]}}))}))}(e)},utf8Decoder:_t.fromUtf8,utf8Encoder:_t.toUtf8}),jt=function(e){var t=e.endpoint,n=e.urlParser;if("string"==typeof t){var r=Promise.resolve(n(t));return function(){return r}}if("object"==typeof t){var o=Promise.resolve(t);return function(){return o}}return t},Dt=function(e){return(0,Pe.__awaiter)(void 0,void 0,void 0,(function(){var t,n,r,o,i;return(0,Pe.__generator)(this,(function(s){switch(s.label){case 0:return t=e.tls,n=void 0===t||t,[4,e.region()];case 1:if(r=s.sent(),!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(r))throw new Error("Invalid region in client config");return[4,e.regionInfoProvider(r)];case 2:if(!(o=(null!==(i=s.sent())&&void 0!==i?i:{}).hostname))throw new Error("Cannot resolve hostname from client config");return[2,e.urlParser((n?"https:":"http:")+"//"+o)]}}))}))},Ft=function(e){if("string"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e},Nt="content-length";var Lt={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},Bt=function(e){return{applyToStack:function(t){t.add(function(e){var t=this;return function(n){return function(r){return(0,Pe.__awaiter)(t,void 0,void 0,(function(){var t,o,i,s,a;return(0,Pe.__generator)(this,(function(u){return t=r.request,ze.Kd.isInstance(t)&&(o=t.body,i=t.headers,o&&-1===Object.keys(i).map((function(e){return e.toLowerCase()}
2)).indexOf(Nt)&&void 0!==(s=e(o))&&(t.headers=(0,Pe.__assign)((0,Pe.__assign)({},t.headers),((a={})[Nt]=String(s),a)))),[2,n((0,Pe.__assign)((0,Pe.__assign)({},r),{request:t}))]}))}))}}}(e.bodyLengthChecker),Lt)}}};var Ht={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},qt=function(e){return{applyToStack:function(t){t.add(function(e){return function(t){return function(n){return(0,Pe.__awaiter)(void 0,void 0,void 0,(function(){var r,o;return(0,Pe.__generator)(this,(function(i){return ze.Kd.isInstance(n.request)?(r=n.request,(void 0===(o=(e.requestHandler.metadata||{}).handlerProtocol)?"":o).indexOf("h2")>=0&&!r.headers[":authority"]?(delete r.headers.host,r.headers[":authority"]=""):r.headers.host||(r.headers.host=r.hostname),[2,t(n)]):[2,t(n)]}))}))}}}(e),Ht)}}},Wt={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},Vt=function(e){return{applyToStack:function(e){e.add((function(e,t){return function(n){return(0,Pe.__awaiter)(void 0,void 0,void 0,(function(){var r,o,i,s,a,u,c,l,f;return(0,Pe.__generator)(this,(function(h){switch(h.label){case 0:return r=t.clientName,o=t.commandName,i=t.inputFilterSensitiveLog,s=t.logger,a=t.outputFilterSensitiveLog,[4,e(n)];case 1:return u=h.sent(),s?("function"==typeof s.info&&(c=u.output,l=c.$metadata,f=(0,Pe.__rest)(c,["$metadata"]),s.info({clientName:r,commandName:o,input:i(n.input),output:a(f),metadata:l})),[2,u]):[2,u]}}))}))}}),Wt)}}},Kt=n(60102),zt="X-Amz-Date",Gt="X-Amz-Signature",$t="X-Amz-Security-Token",Jt="authorization",Yt=zt.toLowerCase(),Qt=[Jt,Yt,"date"],Zt=Gt.toLowerCase(),Xt="x-amz-content-sha256",en=$t.toLowerCase(),tn={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},nn=/^proxy-/,rn=/^sec-/,on="AWS4-HMAC-SHA256",sn="AWS4-HMAC-SHA256-PAYLOAD",an="aws4_request",un={},cn=[];
2function ln(e,t,n){return e+"/"+t+"/"+n+"/"+an}function fn(e,t,n){var r=new e(t);return r.update(n),r.digest()}function hn(e,t,n){var r,o,i=e.headers,s={};try{for(var a=(0,Pe.__values)(Object.keys(i).sort()),u=a.next();!u.done;u=a.next()){var c=u.value,l=c.toLowerCase();(l in tn||(null==t?void 0:t.has(l))||nn.test(l)||rn.test(l))&&(!n||n&&!n.has(l))||(s[l]=i[c].trim().replace(/\s+/g," "))}}catch(f){r={error:f}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return s}function dn(e,t){var n=e.headers,r=e.body;return(0,Pe.__awaiter)(this,void 0,void 0,(function(){var e,o,i,s,a,u,c;return(0,Pe.__generator)(this,(function(l){switch(l.label){case 0:try{for(e=(0,Pe.__values)(Object.keys(n)),o=e.next();!o.done;o=e.next())if((i=o.value).toLowerCase()===Xt)return[2,n[i]]}catch(h){u={error:h}}finally{try{o&&!o.done&&(c=e.return)&&c.call(e)}finally{if(u)throw u.error}}return null!=r?[3,1]:[2,"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"];case 1:return"string"==typeof r||ArrayBuffer.isView(r)||(f=r,"function"==typeof ArrayBuffer&&f instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(f))?((s=new t).update(r),a=Kt.n,[4,s.digest()]):[3,3];case 2:return[2,a.apply(void 0,[l.sent()])];case 3:return[2,"UNSIGNED-PAYLOAD"]}var f}))}))}function pn(e){var t=e.headers,n=e.query,r=(0,Pe.__rest)(e,["headers","query"]);return(0,Pe.__assign)((0,Pe.__assign)({},r),{headers:(0,Pe.__assign)({},t),query:n?gn(n):void 0})}function gn(e){return Object.keys(e).reduce((function(t,n){var r,o=e[n];return(0,Pe.__assign)((0,Pe.__assign)({},t),((r={})[n]=Array.isArray(o)?(0,Pe.__spread)(o):o,r))}),{})}function yn(e){var t,n;e="function"==typeof e.clone?e.clone():pn(e);try{for(var r=(0,Pe.__values)(Object.keys(e.headers)),o=r.next();!o.done;o=r.next()){var i=o.value;Qt.indexOf(i.toLowerCase())>-1&&delete e.headers[i]}}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return e}function mn(e){return function(e){if("number"==typeof e)return new Date(1e3*e);if("string"==typeof e)return Number(e)?new Date(1e3*Number(e)):new Date(e);return e}(e).toISOString().replace(/\.\d{3}Z$/,"Z")}var vn=function(){function e(e){var t=e.applyChecksum,n=e.credentials,r=e.region,o=e.service,i=e.sha256,s=e.uriEscapePath,a=void 0===s||s;this.service=o,this.sha256=i,this.uriEscapePath=a,this.applyChecksum="boolean"!=typeof t||t,this.regionProvider=Sn(r),this.credentialProvider=_n(n)}return e.prototype.presign=function(e,t){return void 0===t&&(t={}),(0,Pe.__awaiter)(this,void 0,void 0,(function(){var n,r,o,i,s,a,u,c,l,f,h,d,p,g,y,m,v,b,w,S,_,A,P,E;return(0,Pe.__generator)(this,(function(C){switch(C.label){case 0:return n=t.signingDate,r=void 0===n?new Date:n,o=t.expiresIn,i=void 0===o?3600:o,s=t.unsignableHeaders,a=t.unhoistableHeaders,u=t.signableHeaders,c=t.signingRegion,l=t.signingService,[4,this.credentialProvider()];case 1:return f=C.sent(),null==c?[3,2]:(d=c,[3,4]);case 2:return[4,this.regionProvider()];
2case 3:d=C.sent(),C.label=4;case 4:return h=d,p=bn(r),g=p.longDate,y=p.shortDate,i>604800?[2,Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")]:(m=ln(y,h,null!=l?l:this.service),v=function(e,t){var n,r,o;void 0===t&&(t={});var i="function"==typeof e.clone?e.clone():pn(e),s=i.headers,a=i.query,u=void 0===a?{}:a;try{for(var c=(0,Pe.__values)(Object.keys(s)),l=c.next();!l.done;l=c.next()){var f=l.value,h=f.toLowerCase();"x-amz-"!==h.substr(0,6)||(null===(o=t.unhoistableHeaders)||void 0===o?void 0:o.has(h))||(u[f]=s[f],delete s[f])}}catch(d){n={error:d}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return(0,Pe.__assign)((0,Pe.__assign)({},e),{headers:s,query:u})}(yn(e),{unhoistableHeaders:a}),f.sessionToken&&(v.query[$t]=f.sessionToken),v.query["X-Amz-Algorithm"]=on,v.query["X-Amz-Credential"]=f.accessKeyId+"/"+m,v.query[zt]=g,v.query["X-Amz-Expires"]=i.toString(10),b=hn(v,s,u),v.query["X-Amz-SignedHeaders"]=wn(b),w=v.query,S=Gt,_=this.getSignature,A=[g,m,this.getSigningKey(f,h,y,l)],P=this.createCanonicalRequest,E=[v,b],[4,dn(e,this.sha256)]);case 5:return[4,_.apply(this,A.concat([P.apply(this,E.concat([C.sent()]))]))];case 6:return w[S]=C.sent(),[2,v]}}))}))},e.prototype.sign=function(e,t){return(0,Pe.__awaiter)(this,void 0,void 0,(function(){return(0,Pe.__generator)(this,(function(n){return"string"==typeof e?[2,this.signString(e,t)]:e.headers&&e.payload?[2,this.signEvent(e,t)]:[2,this.signRequest(e,t)]}))}))},e.prototype.signEvent=function(e,t){var n=e.headers,r=e.payload,o=t.signingDate,i=void 0===o?new Date:o,s=t.priorSignature,a=t.signingRegion,u=t.signingService;return(0,Pe.__awaiter)(this,void 0,void 0,(function(){var e,t,o,c,l,f,h,d,p,g,y;return(0,Pe.__generator)(this,(function(m){switch(m.label){case 0:return null==a?[3,1]:(t=a,[3,3]);case 1:return[4,this.regionProvider()];case 2:t=m.sent(),m.label=3;case 3:return e=t,o=bn(i),c=o.shortDate,l=o.longDate,f=ln(c,e,null!=u?u:this.service),[4,dn({headers:{},body:r},this.sha256)];case 4:return h=m.sent(),(d=new this.sha256).update(n),g=Kt.n,[4,d.digest()];case 5:return p=g.apply(void 0,[m.sent()]),y=[sn,l,f,s,p,h].join("\n"),[2,this.signString(y,{signingDate:i,signingRegion:e,signingService:u})]}}))}))},e.prototype.signString=function(e,t){var n=void 0===t?{}:t,r=n.signingDate,o=void 0===r?new Date:r,i=n.signingRegion,s=n.signingService;return(0,Pe.__awaiter)(this,void 0,void 0,(function(){var t,n,r,a,u,c,l,f;return(0,Pe.__generator)(this,(function(h){switch(h.label){case 0:return[4,this.credentialProvider()];case 1:return t=h.sent(),null==i?[3,2]:(r=i,[3,4]);case 2:return[4,this.regionProvider()];case 3:r=h.sent(),h.label=4;case 4:return n=r,a=bn(o).shortDate,l=(c=this.sha256).bind,[4,this.getSigningKey(t,n,a,s)];case 5:return(u=new(l.apply(c,[void 0,h.sent()]))).update(e),f=Kt.n,[4,u.digest()];case 6:return[2,f.apply(void 0,[h.sent()])]}}))}))},e.prototype.signRequest=function(e,t){var n=void 0===t?{}:t,r=n.signingDate,o=void 0===r?new Date:r,i=n.signableHeaders,s=n.unsignableHeaders,a=n.signingRegion,u=n.signingService;return(0,Pe.__awaiter)(this,void 0,void 0,(function(){var t,n,r,c,l,f,h,d,p,g,y;return(0,Pe.__generator)(this,(function(m){switch(m.label){case 0:return[4,this.credentialProvider()];case 1:return t=m.sent(),null==a?[3,2]:(r=a,[3,4]);case 2:return[4,this.regionProvider()];case 3:r=m.sent(),m.label=4;case 4:return n=r,c=yn(e),l=bn(o),f=l.longDate,h=l.shortDate,d=ln(h,n,null!=u?u:this.service),c.headers[Yt]=f,t.sessionToken&&(c.headers[en]=t.sessionToken),[4,dn(c,this.sha256)];case 5:return p=m.sent(),!function(e,t){var n,r;e=e.toLowerCase();try{for(var o=(0,Pe.__values)(Object.keys(t)),i=o.next();!i.done;i=o.next())if(e===i.value.toLowerCase())return!0}catch(s){n={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!1}(Xt,c.headers)&&this.applyChecksum&&(c.headers[Xt]=p),g=hn(c,s,i),[4,this.getSignature(f,d,this.getSigningKey(t,n,h,u),this.createCanonicalRequest(c,g,p))];case 6:return y=m.sent(),c.headers[Jt]=on+" Credential="+t.accessKeyId+"/"+d+", SignedHeaders="+wn(g)+", Signature="+y,[2,c]}}))}))},e.prototype.createCanonicalRequest=function(e,t,n){var r=Object.keys(t).sort();return e.method+"\n"+this.getCanonicalPath(e)+"\n"+function(e){var t,n,r=e.query,o=void 0===r?{}:r,i=[],s={},a=function(e){if(e.toLowerCase()===Zt)return"continue";i.push(e);var t=o[e];"string"==typeof t?s[e]=Ge(e)+"="+Ge(t):Array.isArray(t)&&(s[e]=t.slice(0).sort().reduce((function(t,n){return t.concat([Ge(e)+"="+Ge(n)])}),[]).join("&"))};try{for(var u=(0,Pe.__values)(Object.keys(o).sort()),c=u.next();!c.done;c=u.next())a(c.value)}
2catch(l){t={error:l}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return i.map((function(e){return s[e]})).filter((function(e){return e})).join("&")}(e)+"\n"+r.map((function(e){return e+":"+t[e]})).join("\n")+"\n\n"+r.join(";")+"\n"+n},e.prototype.createStringToSign=function(e,t,n){return(0,Pe.__awaiter)(this,void 0,void 0,(function(){var r,o;return(0,Pe.__generator)(this,(function(i){switch(i.label){case 0:return(r=new this.sha256).update(n),[4,r.digest()];case 1:return o=i.sent(),[2,on+"\n"+e+"\n"+t+"\n"+(0,Kt.n)(o)]}}))}))},e.prototype.getCanonicalPath=function(e){var t=e.path;return this.uriEscapePath?"/"+encodeURIComponent(t.replace(/^\//,"")).replace(/%2F/g,"/"):t},e.prototype.getSignature=function(e,t,n,r){return(0,Pe.__awaiter)(this,void 0,void 0,(function(){var o,i,s,a,u;return(0,Pe.__generator)(this,(function(c){switch(c.label){case 0:return[4,this.createStringToSign(e,t,r)];case 1:return o=c.sent(),a=(s=this.sha256).bind,[4,n];case 2:return(i=new(a.apply(s,[void 0,c.sent()]))).update(o),u=Kt.n,[4,i.digest()];case 3:return[2,u.apply(void 0,[c.sent()])]}}))}))},e.prototype.getSigningKey=function(e,t,n,r){return function(e,t,n,r,o){return(0,Pe.__awaiter)(void 0,void 0,void 0,(function(){var i,s,a,u,c,l,f,h,d;return(0,Pe.__generator)(this,(function(p){switch(p.label){case 0:return[4,fn(e,t.secretAccessKey,t.accessKeyId)];case 1:if(i=p.sent(),(s=n+":"+r+":"+o+":"+(0,Kt.n)(i)+":"+t.sessionToken)in un)return[2,un[s]];for(cn.push(s);cn.length>50;)delete un[cn.shift()];a="AWS4"+t.secretAccessKey,p.label=2;case 2:p.trys.push([2,7,8,9]),u=(0,Pe.__values)([n,r,o,an]),c=u.next(),p.label=3;case 3:return c.done?[3,6]:(l=c.value,[4,fn(e,a,l)]);case 4:a=p.sent(),p.label=5;case 5:return c=u.next(),[3,3];case 6:return[3,9];case 7:return f=p.sent(),h={error:f},[3,9];case 8:try{c&&!c.done&&(d=u.return)&&d.call(u)}finally{if(h)throw h.error}return[7];case 9:return[2,un[s]=a]}}))}))}(this.sha256,e,n,t,r||this.service)},e}(),bn=function(e){var t=mn(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.substr(0,8)}},wn=function(e){return Object.keys(e).sort().join(";")},Sn=function(e){if("string"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e},_n=function(e){if("object"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e};function An(e){if("object"==typeof e){var t=Promise.resolve(e);return function(){return t}}return e}var Pn="user-agent",En=/[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,Cn=function(e){var t=(0,Pe.__read)(e,2),n=t[0],r=t[1],o=n.indexOf("/"),i=n.substring(0,o),s=n.substring(o+1);return"api"===i&&(s=s.toLowerCase()),[i,s,r].filter((function(e){return e&&e.length>0})).map((function(e){return null==e?void 0:e.replace(En,"_")})).join("/")},xn={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},On=function(e){return{applyToStack:function(t){var n;t.add((n=e,function(e,t){return function(r){return(0,Pe.__awaiter)(void 0,void 0,void 0,(function(){var o,i,s,a,u,c,l,f;return(0,Pe.__generator)(this,(function(h){switch(h.label){case 0:return o=r.request,ze.Kd.isInstance(o)?(i=o.headers,s=(null===(l=null==t?void 0:t.userAgent)||void 0===l?void 0:l.map(Cn))||[],[4,n.defaultUserAgentProvider()]):[2,e(r)];case 1:return a=h.sent().map(Cn),u=(null===(f=null==n?void 0:n.customUserAgent)||void 0===f?void 0:f.map(Cn))||[],i["x-amz-user-agent"]=(0,Pe.__spread)(a,s,u).join(" "),c=(0,Pe.__spread)(a.filter((function(e){return e.startsWith("aws-sdk-")})),u).join(" "),"browser"!==n.runtime&&c&&(i[Pn]=i[Pn]?i[Pn]+" "+c:c),[2,e((0,Pe.__assign)((0,Pe.__assign)({},r),{request:o}))]}}))}))}}),xn)}}},In=function(e){function t(t){var n,r,o=this,i=function(e){if(!e.region)throw new Error("Region is missing");return(0,Pe.__assign)((0,Pe.__assign)({},e),{region:Ft(e.region)})}((0,Ee.Cl)((0,Ee.Cl)({},Mt),t)),s=function(e){var t;return(0,Pe.__assign)((0,Pe.__assign)({},e),{tls:null===(t=e.tls)||void 0===t||t,endpoint:e.endpoint?jt(e):function(){return Dt(e)},isCustomEndpoint:!!e.endpoint})}(i),a=function(e){var t,n=this,r=An(e.credentials||e.credentialDefaultProvider(e)),o=e.signingEscapePath,i=void 0===o||o,s=e.systemClockOffset,a=void 0===s?e.systemClockOffset||0:s,u=e.sha256;return t=e.signer?An(e.signer):function(){return An(e.region)().then((function(t){return(0,Pe.__awaiter)(n,void 0,void 0,(function(){return(0,Pe.__generator)(this,(function(n){switch(n.label){case 0:return[4,e.regionInfoProvider(t)];case 1:return[2,[n.sent()||{},t]]}}))}))})).then((function(t){var n=(0,Pe.__read)(t,2),o=n[0],s=n[1],a=o.signingRegion,c=o.signingService;return e.signingRegion=e.signingRegion||a||s,e.signingName=e.signingName||c||e.serviceId,new vn({credentials:r,region:e.signingRegion,service:e.signingName,sha256:u,uriEscapePath:i})}))},(0,Pe.__assign)((0,Pe.__assign)({},e),{systemClockOffset:a,signingEscapePath:i,credentials:r,signer:t})}(s),u=function(e){return(0,Pe.__assign)((0,Pe.__assign)({},e),{customUserAgent:"string"==typeof e.customUserAgent?[[e.customUserAgent]]:e.customUserAgent})}((r=bt((n=a).maxAttempts),(0,Pe.__assign)((0,Pe.__assign)({},n),{maxAttempts:r,retryStrategy:n.retryStrategy||new vt(r)})));return(o=e.call(this,u)||this).config=u,o.middlewareStack.use(ut(o.config)),o.middlewareStack.use(Bt(o.config)),o.middlewareStack.use(qt(o.config)),o.middlewareStack.use(Vt(o.config)),o.middlewareStack.use(On(o.config)),o}return(0,Ee.C6)(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this)},t}(Ue),kn=function(){return kn=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},kn.apply(this,arguments)}
2,Tn=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},Rn=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},Un=new se.C("Credentials"),Mn=function(){function e(e){this._gettingCredPromise=null,this._refreshHandlers={},this.Auth=void 0,this.configure(e),this._refreshHandlers.google=we.refreshGoogleToken,this._refreshHandlers.facebook=Se.refreshFacebookToken}return e.prototype.getModuleName=function(){return"Credentials"},e.prototype.getCredSource=function(){return this._credentials_source},e.prototype.configure=function(e){if(!e)return this._config||{};this._config=Object.assign({},this._config,e);var t=this._config.refreshHandlers;return t&&(this._refreshHandlers=kn(kn({},this._refreshHandlers),t)),this._storage=this._config.storage,this._storage||(this._storage=(new ae.i1).getStorage()),this._storageSync=Promise.resolve(),"function"==typeof this._storage.sync&&(this._storageSync=this._storage.sync()),this._config},e.prototype.get=function(){return Un.debug("getting credentials"),this._pickupCredentials()},e.prototype._pickupCredentials=function(){return Un.debug("picking up credentials"),this._gettingCredPromise&&this._gettingCredPromise.isPending()?Un.debug("getting old cred promise"):(Un.debug("getting new cred promise"),this._gettingCredPromise=(0,ue.VN)(this._keepAlive())),this._gettingCredPromise},e.prototype._keepAlive=function(){return Tn(this,void 0,void 0,(function(){var e,t,n,r,o,i,s;return Rn(this,(function(a){switch(a.label){case 0:if(Un.debug("checking if credentials exists and not expired"),(e=this._credentials)&&!this._isExpired(e)&&!this._isPastTTL())return Un.debug("credentials not changed and not expired, directly return"),[2,Promise.resolve(e)];if(Un.debug("need to get a new credential or refresh the existing one"),t=this.Auth,!(n=void 0===t?Ae.HA.Auth:t)||"function"!=typeof n.currentUserCredentials)return[2,Promise.reject("No Auth module registered in Amplify")];if(this._isExpired(e)||!this._isPastTTL())return[3,6];Un.debug("ttl has passed but token is not yet expired"),a.label=1;case 1:return a.trys.push([1,5,,6]),[4,n.currentUserPoolUser()];case 2:return r=a.sent(),[4,n.currentSession()];case 3:return o=a.sent(),i=o.refreshToken,[4,new Promise((function(e,t){r.refreshSession(i,(function(n,r){return n?t(n):e(r)}))}))];case 4:return a.sent(),[3,6];case 5:return s=a.sent(),Un.debug("Error attempting to refreshing the session",s),[3,6];case 6:return[2,n.currentUserCredentials()]}}))}))},e.prototype.refreshFederatedToken=function(e){Un.debug("Getting federated credentials");var t=e.provider,n=e.user,r=e.token,o=e.identity_id,i=e.expires_at;i=1970===new Date(i).getFullYear()?1e3*i:i;var s=this;return Un.debug("checking if federated jwt token expired"),i>(new Date).getTime()?(Un.debug("token not expired"),this._setCredentialsFromFederation({provider:t,token:r,user:n,identity_id:o,expires_at:i})):s._refreshHandlers[t]&&"function"==typeof s._refreshHandlers[t]?(Un.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:s._refreshHandlers[t],provider:t,user:n})):(Un.debug("no refresh handler for provider:",t),this.clear(),Promise.reject("no refresh handler for provider"))},e.prototype._providerRefreshWithRetry=function(e){var t=this,n=e.refreshHandler,r=e.provider,o=e.user;return(0,ce.hu)(n,[],1e4).then((function(e){return Un.debug("refresh federated token sucessfully",e),t._setCredentialsFromFederation({provider:r,token:e.token,user:o,identity_id:e.identity_id,expires_at:e.expires_at})})).catch((function(e){return"string"==typeof e&&0===e.toLowerCase().lastIndexOf("network error",e.length)||t.clear(),Un.debug("refresh federated token failed",e),Promise.reject("refreshing federation token failed: "+e)}))},e.prototype._isExpired=function(e){if(!e)return Un.debug("no credentials for expiration check"),!0;Un.debug("are these credentials expired?",e);var t=Date.now();return e.expiration.getTime()<=t},e.prototype._isPastTTL=function(){return this._nextCredentialsRefresh<=Date.now()},e.prototype._setCredentialsForGuest=function(){return Tn(this,void 0,void 0,(function(){var e,t,n,r,o,i,s,a,u=this;return Rn(this,(function(c){switch(c.label){case 0:if(Un.debug("setting credentials for guest"),e=this._config,t=e.identityPoolId,n=e.region,e.mandatorySignIn)return[2,Promise.reject("cannot get guest credentials when mandatory signin enabled")];if(!t)return Un.debug("No Cognito Identity pool provided for unauthenticated access"),[2,Promise.reject("No Cognito Identity pool provided for unauthenticated access")];if(!n)return Un.debug("region is not configured for getting the credentials"),[2,Promise.reject("region is not configured for getting the credentials")];r=void 0,c.label=1;case 1:return c.trys.push([1,3,,4]),[4,this._storageSync];case 2:return c.sent(),r=this._storage.getItem("CognitoIdentityId-"+t),this._identityId=r,[3,4];case 3:return o=c.sent(),Un.debug("Failed to get the cached identityId",o),[3,4];case 4:return i=new In({region:n,customUserAgent:(0,_e.fE)()}),s=void 0,r?s=Le({identityId:r,client:i})():(a=function(){return Tn(u,void 0,void 0,(function(){var e;return Rn(this,(function(n){switch(n.label){case 0:return[4,i.send(new Be({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,Le({client:i,identityId:e})()]}}))}))},s=a().catch((function(e){return Tn(u,void 0,void 0,(function(){return Rn(this,(function(t){throw e}))}))}))),[2,this._loadCredentials(s,"guest",!1,null).then((function(e){return e})).catch((function(e){return Tn(u,void 0,void 0,(function(){var n,o=this;return Rn(this,(function(a){return"ResourceNotFoundException"===e.name&&e.message==="Identity '"+r+"' not found."?(Un.debug("Failed to load guest credentials"),this._storage.removeItem("CognitoIdentityId-"+t),n=function(){return Tn(o,void 0,void 0,(function(){var e;return Rn(this,(function(n){switch(n.label){case 0:return[4,i.send(new Be({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,Le({client:i,identityId:e})()]}}))}))},s=n().catch((function(e){return Tn(o,void 0,void 0,(function(){return Rn(this,(function(t){throw e}))}))})),[2,this._loadCredentials(s,"guest",!1,null)]):[2,e]}))}))}))]}}))}))},e.prototype._setCredentialsFromFederation=function(e){var t=e.provider,n=e.token,r=e.identity_id,o={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"}[t]||t;if(!o)return Promise.reject("You must specify a federated provider");var i={};i[o]=n;var s=this._config,a=s.identityPoolId,u=s.region;if(!a)return Un.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");
2if(!u)return Un.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var c=new In({region:u,customUserAgent:(0,_e.fE)()}),l=void 0;r?l=Le({identityId:r,logins:i,client:c})():l=Ve({logins:i,identityPoolId:a,client:c})();return this._loadCredentials(l,"federated",!0,e)},e.prototype._setCredentialsFromSession=function(e){var t=this;Un.debug("set credentials from session");var n=e.getIdToken().getJwtToken(),r=this._config,o=r.region,i=r.userPoolId,s=r.identityPoolId;if(!s)return Un.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!o)return Un.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var a={};a["cognito-idp."+o+".amazonaws.com/"+i]=n;var u=new In({region:o,customUserAgent:(0,_e.fE)()}),c=Tn(t,void 0,void 0,(function(){var e;return Rn(this,(function(t){switch(t.label){case 0:return[4,u.send(new Be({IdentityPoolId:s,Logins:a}))];case 1:return e=t.sent().IdentityId,this._identityId=e,[2,Le({client:u,logins:a,identityId:e})()]}}))})).catch((function(e){return Tn(t,void 0,void 0,(function(){return Rn(this,(function(t){throw e}))}))}));return this._loadCredentials(c,"userPool",!0,null)},e.prototype._loadCredentials=function(e,t,n,r){var o=this,i=this,s=this._config.identityPoolId;return new Promise((function(a,u){e.then((function(e){return Tn(o,void 0,void 0,(function(){var o,u,c,l,f,h;return Rn(this,(function(d){switch(d.label){case 0:if(Un.debug("Load credentials successfully",e),this._identityId&&!e.identityId&&(e.identityId=this._identityId),i._credentials=e,i._credentials.authenticated=n,i._credentials_source=t,i._nextCredentialsRefresh=(new Date).getTime()+3e6,"federated"===t){o=Object.assign({id:this._credentials.identityId},r.user),u=r.provider,c=r.token,l=r.expires_at,f=r.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:u,token:c,user:o,expires_at:l,identity_id:f}))}catch(p){Un.debug("Failed to put federated info into auth storage",p)}}if("guest"!==t)return[3,4];d.label=1;case 1:return d.trys.push([1,3,,4]),[4,this._storageSync];case 2:return d.sent(),this._storage.setItem("CognitoIdentityId-"+s,e.identityId),[3,4];case 3:return h=d.sent(),Un.debug("Failed to cache identityId",h),[3,4];case 4:return a(i._credentials),[2]}}))}))})).catch((function(t){if(t)return Un.debug("Failed to load credentials",e),Un.debug("Error loading credentials",t),void u(t)}))}))},e.prototype.set=function(e,t){return"session"===t?this._setCredentialsFromSession(e):"federation"===t?this._setCredentialsFromFederation(e):"guest"===t?this._setCredentialsForGuest():(Un.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},e.prototype.clear=function(){return Tn(this,void 0,void 0,(function(){return Rn(this,(function(e){return this._credentials=null,this._credentials_source=null,Un.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2]}))}))},e.prototype.shear=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e}(),jn=new Mn(null);Ae.HA.register(jn)},78868:function(e,t,n){"use strict";n.d(t,{YZ:function(){return c}});var r=n(34549),o=function(){return o=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},o.apply(this,arguments)},i=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},s=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(i(arguments[t]));return e},a=new r.C("Hub"),u="undefined"!=typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default";var c=new(function(){function e(e){this.listeners=[],this.patterns=[],this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","xr"],this.name=e}return e.prototype.remove=function(e,t){if(e instanceof RegExp){var n=this.patterns.find((function(t){return t.pattern.source===e.source}));if(!n)return void a.warn("No listeners for "+e);this.patterns=s(this.patterns.filter((function(e){return e!==n})))}else{var r=this.listeners[e];if(!r)return void a.warn("No listeners for "+e);this.listeners[e]=s(r.filter((function(e){return e.callback!==t})))}},e.prototype.dispatch=function(e,t,n,r){(void 0===n&&(n=""),this.protectedChannels.indexOf(e)>-1)&&(r===u||a.warn("WARNING: "+e+" is protected and dispatching on it can have unintended consequences"));var i={channel:e,payload:o({},t),source:n,patternInfo:[]};try{this._toListeners(i)}catch(s){a.error(s)}},e.prototype.listen=function(e,t,n){var r,o=this;if(void 0===n&&(n="noname"),function(e){return void 0!==e.onHubCapsule}(t))a.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),r=t.onHubCapsule.bind(t);else{if("function"!=typeof t)throw new Error("No callback supplied to Hub");r=t}if(e instanceof RegExp)this.patterns.push({pattern:e,callback:r});else{var i=this.listeners[e];i||(i=[],this.listeners[e]=i),i.push({name:n,callback:r})}return function(){o.remove(e,r)}},e.prototype._toListeners=function(e){var t=e.channel,n=e.payload,r=this.listeners[t];if(r&&r.forEach((function(r){a.debug("Dispatching to "+t+" with ",n);try{r.callback(e)}catch(o){a.error(o)}})),this.patterns.length>0){if(!n.message)return void a.warn("Cannot perform pattern matching without a message 
2key");var s=n.message;this.patterns.forEach((function(t){var n=s.match(t.pattern);if(n){var r=i(n).slice(1),u=o(o({},e),{patternInfo:r});try{t.callback(u)}catch(c){a.error(c)}}}))}},e}())("__default__")},64988:function(e,t,n){"use strict";n.d(t,{JS:function(){return y},VN:function(){return l},gy:function(){return h}});var r=[{type:"text/plain",ext:"txt"},{type:"text/html",ext:"html"},{type:"text/javascript",ext:"js"},{type:"text/css",ext:"css"},{type:"text/csv",ext:"csv"},{type:"text/yaml",ext:"yml"},{type:"text/yaml",ext:"yaml"},{type:"text/calendar",ext:"ics"},{type:"text/calendar",ext:"ical"},{type:"image/apng",ext:"apng"},{type:"image/bmp",ext:"bmp"},{type:"image/gif",ext:"gif"},{type:"image/x-icon",ext:"ico"},{type:"image/x-icon",ext:"cur"},{type:"image/jpeg",ext:"jpg"},{type:"image/jpeg",ext:"jpeg"},{type:"image/jpeg",ext:"jfif"},{type:"image/jpeg",ext:"pjp"},{type:"image/jpeg",ext:"pjpeg"},{type:"image/png",ext:"png"},{type:"image/svg+xml",ext:"svg"},{type:"image/tiff",ext:"tif"},{type:"image/tiff",ext:"tiff"},{type:"image/webp",ext:"webp"},{type:"application/json",ext:"json"},{type:"application/xml",ext:"xml"},{type:"application/x-sh",ext:"sh"},{type:"application/zip",ext:"zip"},{type:"application/x-rar-compressed",ext:"rar"},{type:"application/x-tar",ext:"tar"},{type:"application/x-bzip",ext:"bz"},{type:"application/x-bzip2",ext:"bz2"},{type:"application/pdf",ext:"pdf"},{type:"application/java-archive",ext:"jar"},{type:"application/msword",ext:"doc"},{type:"application/vnd.ms-excel",ext:"xls"},{type:"application/vnd.ms-excel",ext:"xlsx"},{type:"message/rfc822",ext:"eml"}],o=function(e){return void 0===e&&(e={}),0===Object.keys(e).length},i=function(e,t,n){if(!e||!e.sort)return!1;var r=n&&"desc"===n?-1:1;return e.sort((function(e,n){var o=e[t],i=n[t];return void 0===i?void 0===o?0:1*r:void 0===o||o<i?-1*r:o>i?1*r:0})),!0},s=function(e,t){var n=Object.assign({},e);return t&&("string"==typeof t?delete n[t]:t.forEach((function(e){delete n[e]}))),n},a=function(e,t){void 0===t&&(t="application/octet-stream");var n=e.toLowerCase(),o=r.filter((function(e){return n.endsWith("."+e.ext)}));return o.length>0?o[0].type:t},u=function(e){var t=e.toLowerCase();return!!t.startsWith("text/")||("application/json"===t||"application/xml"===t||"application/sh"===t)},c=function(){for(var e="",t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",n=32;n>0;n-=1)e+=t[Math.floor(62*Math.random())];return e},l=function(e){if(e.isResolved)return e;var t=!0,n=!1,r=!1,o=e.then((function(e){return r=!0,t=!1,e}),(function(e){throw n=!0,t=!1,e}));return o.isFullfilled=function(){return r},o.isPending=function(){return t},o.isRejected=function(){return n},o},f=function(){if("undefined"==typeof self)return!1;var e=self;return void 0!==e.WorkerGlobalScope&&self instanceof e.WorkerGlobalScope},h=function(){return{isBrowser:"undefined"!=typeof window&&void 0!==window.document,isNode:"undefined"!=typeof process&&null!=process.versions&&null!=process.versions.node}},d=function(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),!g(e))return e;var r={};for(var o in e){if(e.hasOwnProperty(o))r[t.includes(o)?o:o[0].toLowerCase()+o.slice(1)]=n.includes(o)?e[o]:d(e[o],t,n)}return r},p=function(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),!g(e))return e;var r={};for(var o in e){if(e.hasOwnProperty(o))r[t.includes(o)?o:o[0].toUpperCase()+o.slice(1)]=n.includes(o)?e[o]:p(e[o],t,n)}return r},g=function(e){return!(!(e instanceof Object)||e instanceof Array||e instanceof Function||e instanceof Number||e instanceof String||e instanceof Boolean)},y=function(){function e(){}return e.isEmpty=o,e.sortByField=i,e.objectLessAttributes=s,e.filenameToContentType=a,e.isTextFile=u,e.generateRandomString=c,e.makeQuerablePromise=l,e.isWebWorker=f,e.browserOrNode=h,e.transferKeyToLowerCase=d,e.transferKeyToUpperCase=p,e.isStrictObject=g,e}()},34549:function(e,t,n){"use strict";n.d(t,{C:function(){return s}});var r=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},o=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(r(arguments[t]));return e},i={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5},s=function(){function e(e,t){void 0===t&&(t="WARN"),this.name=e,this.level=t}return e.prototype._padding=function(e){return e<10?"0"+e:""+e},e.prototype._ts=function(){var e=new Date;return[this._padding(e.getMinutes()),this._padding(e.getSeconds())].join(":")+"."+e.getMilliseconds()},e.prototype._log=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=this.level;if(e.LOG_LEVEL&&(o=e.LOG_LEVEL),"undefined"!=typeof window&&window.LOG_LEVEL&&(o=window.LOG_LEVEL),i[t]>=i[o]){var s=console.log.bind(console);"ERROR"===t&&console.error&&(s=console.error.bind(console)),"WARN"===t&&console.warn&&(s=console.warn.bind(console));var a="["+t+"] "+this._ts()+" "+this.name;if(1===n.length&&"string"==typeof n[0])s(a+" - "+n[0]);else if(1===n.length)s(a,n[0]);else if("string"==typeof n[0]){var u=n.slice(1);1===u.length&&(u=u[0]),s(a+" - "+n[0],u)}else s(a,n)}},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,o(["INFO"],e))},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,o(["INFO"],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,o(["WARN"],e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,o(["ERROR"],e))},e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,o(["DEBUG"],e))},e.prototype.verbose=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._log.apply(this,o(["VERBOSE"],e))},e.LOG_LEVEL=null,e}()},71805:function(e,t,n){"use strict";n.d(t,{OD:function(){return o},fE:function(){return i}});var r="aws-amplify/3.8.23",o={userAgent:r+" js",product:"",navigator:null,isReactNative:!1};if("undefined"!=typeof navigator&&navigator.product)if(o.product=navigator.product||"",o.navigator=navigator||null,"ReactNative"===navigator.product)o.userAgent=r+" react-native",o.isReactNative=!0;else o.userAgent=r+" js",o.isReactNative=!1;var i=function(){return o.userAgent}},54769:function(e,t,n){"use strict";n.d(t,{i1:function(){return i}});var r={},o=function(){function e(){}return e.setItem=function(e,t){return r[e]=t,r[e]},e.getItem=function(e){return Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0},e.removeItem=function(e){return delete r[e]},e.clear=function(){return r={}},e}(),i=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.amplify.test-ls",1),this.storageWindow.removeItem("aws.amplify.test-ls")}catch(e){this.storageWindow=o}}return e.prototype.getStorage=function(){return this.storageWindow},e}()},766:function(e,t,n){"use strict";n.d(t,{OI:function(){return f},hu:function(){return d}});var r,o=n(34549),i=(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)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}
2),s=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},a=function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},u=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},c=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e},l=new o.C("Util"),f=function(e){function t(t){var n=e.call(this,t)||this;return n.nonRetryable=!0,n}return i(t,e),t}(Error);function h(e,t,n,r){return void 0===r&&(r=1),s(this,void 0,void 0,(function(){var o,i;return a(this,(function(s){switch(s.label){case 0:if("function"!=typeof e)throw Error("functionToRetry must be a function");l.debug(e.name+" attempt #"+r+" with this vars: "+JSON.stringify(t)),s.label=1;case 1:return s.trys.push([1,3,,8]),[4,e.apply(void 0,c(t))];case 2:return[2,s.sent()];case 3:if(o=s.sent(),l.debug("error on "+e.name,o),(a=o)&&a.nonRetryable)throw l.debug(e.name+" non retryable error",o),o;return i=n(r,t,o),l.debug(e.name+" retrying in "+i+" ms"),!1===i?[3,6]:[4,new Promise((function(e){return setTimeout(e,i)}))];case 4:return s.sent(),[4,h(e,t,n,r+1)];case 5:return[2,s.sent()];case 6:throw o;case 7:return[3,8];case 8:return[2]}var a}))}))}var d=function(e,t,n){return void 0===n&&(n=3e5),h(e,t,function(e){return function(t){var n=100*Math.pow(2,t)+100*Math.random();return!(n>e)&&n}}(n))}},28904:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},58145:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},90304:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},39116:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},35660:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMsWindow=void 0;var n=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];t.isMsWindow=function(e){if(function(e){return"MSInputMethodContext"in e&&"msCrypto"in e}(e)&&void 0!==e.msCrypto.subtle){var t=e.msCrypto,r=t.getRandomValues,o=t.subtle;return n.map((function(e){return o[e]})).concat(r).every((function(e){return"function"==typeof e}))}return!1}},18086:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15215);r.__exportStar(n(28904),t),r.__exportStar(n(58145),t),r.__exportStar(n(90304),t),r.__exportStar(n(39116),t),r.__exportStar(n(35660),t)},14955:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DATA_SHA_256=t.SHA_256_HMAC_ALGO=t.SHA_256_HASH=void 0,t.SHA_256_HASH={name:"SHA-256"},t.SHA_256_HMAC_ALGO={name:"HMAC",hash:t.SHA_256_HASH},t.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])},69258:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(71195),o=n(32038),i=n(33523),s=n(23469),a=n(18086),u=n(77226),c=function(){function e(e){(0,s.supportsWebCrypto)((0,u.locateWindow)())?this.hash=new o.Sha256(e):(0,a.isMsWindow)((0,u.locateWindow)())?this.hash=new r.Sha256(e):this.hash=new i.Sha256(e)}return e.prototype.update=function(e,t){this.hash.update(e,t)},e.prototype.digest=function(){return this.hash.digest()},e}();t.Sha256=c},71195:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(85787),o=n(14955),i=n(17620),s=n(77226),a=function(){function e(e){e?(this.operation=function(e){return new Promise((function(t,n){var r=(0,s.locateWindow)().msCrypto.subtle.importKey("raw",u(e),o.SHA_256_HMAC_ALGO,!1,["sign"]);r.oncomplete=function(){r.result&&t(r.result),n(new Error("ImportKey completed without importing key."))},r.onerror=function(){n(new Error("ImportKey failed to import key."))}}))}(e).then((function(e){return(0,s.locateWindow)().msCrypto.subtle.sign(o.SHA_256_HMAC_ALGO,e)})),this.operation.catch((function(){}))):this.operation=Promise.resolve((0,s.locateWindow)().msCrypto.subtle.digest("SHA-256"))}return e.prototype.update=function(e){var t=this;(0,r.isEmptyData)(e)||(this.operation=this.operation.then((function(n){return n.onerror=function(){t.operation=Promise.reject(new Error("Error encountered updating hash"))},n.process(u(e)),n})),this.operation.catch((function(){})))},e.prototype.digest=function(){return this.operation.then((function(e){return new Promise((function(t,n){e.onerror=function(){n(new Error("Error encountered finalizing hash"))},e.oncomplete=function(){e.result&&t(new Uint8Array(e.result)),n(new Error("Error encountered finalizing hash"))},e.finish()}))}))},e}();function u(e){return"string"==typeof e?(0,i.fromUtf8)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}t.Sha256=a},36634:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebCryptoSha256=t.Ie11Sha256=void 0,(0,n(15215).__exportStar)(n(69258),t);var r=n(71195);Object.defineProperty(t,"Ie11Sha256",{enumerable:!0,get:function(){return r.Sha256}});var o=n(32038);Object.defineProperty(t,"WebCryptoSha256",{enumerable:!0,get:function(){return o.Sha256}})},85787:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},32038:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(65388),o=n(14955),i=n(77226),s=function(){function e(e){this.toHash=new Uint8Array(0),void 0!==e&&(this.key=new Promise((function(t,n){(0,i.locateWindow)().crypto.subtle.importKey("raw",(0,r.convertToBuffer)(e),o.SHA_256_HMAC_ALGO,!1,["sign"]).then(t,n)})),this.key.catch((function(){})))}return e.prototype.update=function(e){if(!(0,r.isEmptyData)(e)){var t=(0,r.convertToBuffer)(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then((function(t){return(0,i.locateWindow)().crypto.subtle.sign(o.SHA_256_HMAC_ALGO,t,e.toHash).then((function(e){return new Uint8Array(e)}))})):(0,r.isEmptyData)(this.toHash)?Promise.resolve(o.EMPTY_DATA_SHA_256):Promise.resolve().then((function(){return(0,i.locateWindow)().crypto.subtle.digest(o.SHA_256_HASH,e.toHash)})).then((function(e){return Promise.resolve(new Uint8Array(e))}))},e}();t.Sha256=s},34602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RawSha256=void 0;var r=n(65494),o=function(){function e(){this.state=Int32Array.from(r.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=0,n=e.byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>r.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,this.bufferLength===r.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(t.setUint8(this.bufferLength++,128),n%r.BLOCK_SIZE>=r.BLOCK_SIZE-8){for(var o=this.bufferLength;o<r.BLOCK_SIZE;o++)t.setUint8(o,0);this.hashBuffer(),this.bufferLength=0}for(o=this.bufferLength;o<r.BLOCK_SIZE-8;o++)t.setUint8(o,0);t.setUint32(r.BLOCK_SIZE-8,Math.floor(e/4294967296),!0),t.setUint32(r.BLOCK_SIZE-4,e),this.hashBuffer(),this.finished=!0}var i=new Uint8Array(r.DIGEST_LENGTH);for(o=0;o<8;o++)i[4*o]=this.state[o]>>>24&255,i[4*o+1]=this.state[o]>>>16&255,i[4*o+2]=this.state[o]>>>8&255,i[4*o+3]=this.state[o]>>>0&255;return i},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,n=t[0],o=t[1],i=t[2],s=t[3],a=t[4],u=t[5],c=t[6],l=t[7],f=0;f<r.BLOCK_SIZE;f++){if(f<16)this.temp[f]=(255&e[4*f])<<24|(255&e[4*f+1])<<16|(255&e[4*f+2])<<8|255&e[4*f+3];else{var h=this.temp[f-2],d=(h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10,p=((h=this.temp[f-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3;this.temp[f]=(d+this.temp[f-7]|0)+(p+this.temp[f-16]|0)}var g=(((a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(a&u^~a&c)|0)+(l+(r.KEY[f]+this.temp[f]|0)|0)|0,y=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&o^n&i^o&i)|0;l=c,c=u,u=a,a=s+g|0,s=i,i=o,o=n,n=g+y|0}t[0]+=n,t[1]+=o,t[2]+=i,t[3]+=s,t[4]+=a,t[5]+=u,t[6]+=c,t[7]+=l},e}();t.RawSha256=o},65494:function(e,t){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_HASHABLE_LENGTH=t.INIT=t.KEY=t.DIGEST_LENGTH=t.BLOCK_SIZE=void 0,t.BLOCK_SIZE=64,t.DIGEST_LENGTH=32,t.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),t.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],t.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1},33523:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(0,n(15215).__exportStar)(n(20871),t)},20871:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sha256=void 0;var r=n(15215),o=n(65494),i=n(34602),s=n(65388),a=function(){function e(e){if(this.hash=new i.RawSha256,e){this.outer=new i.RawSha256;var t=function(e){var t=(0,s.convertToBuffer)(e);if(t.byteLength>o.BLOCK_SIZE){var n=new i.RawSha256;n.update(t),t=n.digest()}var r=new Uint8Array(o.BLOCK_SIZE);return r.set(t),r}(e),n=new Uint8Array(o.BLOCK_SIZE);n.set(t);for(var r=0;r<o.BLOCK_SIZE;r++)t[r]^=54,n[r]^=92;this.hash.update(t),this.outer.update(n);for(r=0;r<t.byteLength;r++)t[r]=0}}return e.prototype.update=function(e){if(!(0,s.isEmptyData)(e)&&!this.error)try{this.hash.update((0,s.convertToBuffer)(e))}catch(t){this.error=t}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return(0,r.__awaiter)(this,void 0,void 0,(function(){return(0,r.__generator)(this,(function(e){return[2,this.digestSync()]}))}))},e}();t.Sha256=a},23469:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(15215).__exportStar(n(13526),t)},13526:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportsZeroByteGCM=t.supportsSubtleCrypto=t.supportsSecureRandom=t.supportsWebCrypto=void 0;var r=n(15215),o=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function i(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}function s(e){return e&&o.every((function(t){return"function"==typeof e[t]}))}t.supportsWebCrypto=function(e){return!(!i(e)||"object"!=typeof e.crypto.subtle)&&s(e.crypto.subtle)},t.supportsSecureRandom=i,t.supportsSubtleCrypto=s,t.supportsZeroByteGCM=function(e){return r.__awaiter(this,void 0,void 0,(function(){var t;return r.__generator(this,(function(n){switch(n.label){case 0:if(!s(e))return[2,!1];n.label=1;case 1:return n.trys.push([1,4,,5]),[4,e.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return t=n.sent(),[4,e.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},t,new Uint8Array(0))];case 3:return[2,16===n.sent().byteLength];case 4:return n.sent(),[2,!1];case 5:return[2]}}
2))}))}},51024:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertToBuffer=void 0;var r=n(80256),o="undefined"!=typeof Buffer&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:r.fromUtf8;t.convertToBuffer=function(e){return e instanceof Uint8Array?e:"string"==typeof e?o(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}},65388:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=t.numToUint8=t.isEmptyData=t.convertToBuffer=void 0;var r=n(51024);Object.defineProperty(t,"convertToBuffer",{enumerable:!0,get:function(){return r.convertToBuffer}});var o=n(70165);Object.defineProperty(t,"isEmptyData",{enumerable:!0,get:function(){return o.isEmptyData}});var i=n(15413);Object.defineProperty(t,"numToUint8",{enumerable:!0,get:function(){return i.numToUint8}});var s=n(82110);Object.defineProperty(t,"uint32ArrayFrom",{enumerable:!0,get:function(){return s.uint32ArrayFrom}})},70165:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},15413:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numToUint8=void 0,t.numToUint8=function(e){return new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e])}},82110:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=void 0,t.uint32ArrayFrom=function(e){if(!Array.from){for(var t=new Uint32Array(e.length);0<e.length;)t[0]=e[0];return t}return Uint32Array.from(e)}},80256:function(e,t,n){"use strict";n.r(t),n.d(t,{fromUtf8:function(){return r},toUtf8:function(){return o}});const r=e=>"function"==typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):(e=>{const t=[];for(let n=0,r=e.length;n<r;n++){const r=e.charCodeAt(n);if(r<128)t.push(r);else if(r<2048)t.push(r>>6|192,63&r|128);else if(n+1<e.length&&55296==(64512&r)&&56320==(64512&e.charCodeAt(n+1))){const o=65536+((1023&r)<<10)+(1023&e.charCodeAt(++n));t.push(o>>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}else t.push(r>>12|224,r>>6&63|128,63&r|128)}return Uint8Array.from(t)})(e),o=e=>"function"==typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):(e=>{let t="";for(let n=0,r=e.length;n<r;n++){const r=e[n];if(r<128)t+=String.fromCharCode(r);else if(192<=r&&r<224){const o=e[++n];t+=String.fromCharCode((31&r)<<6|63&o)}else if(240<=r&&r<365){const o="%"+[r,e[++n],e[++n],e[++n]].map((e=>e.toString(16))).join("%");t+=decodeURIComponent(o)}else t+=String.fromCharCode((15&r)<<12|(63&e[++n])<<6|63&e[++n])}return t})(e)},84834:function(e,t,n){"use strict";n.d(t,{Kd:function(){return i},cS:function(){return r}});var r=function(){function e(e){this.statusCode=e.statusCode,this.headers=e.headers||{},this.body=e.body}return e.isInstance=function(e){if(!e)return!1;var t=e;return"number"==typeof t.statusCode&&"object"==typeof t.headers},e}(),o=n(15215),i=function(){function e(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.substr(-1)?e.protocol+":":e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?"/"+e.path:e.path:"/"}return e.isInstance=function(e){if(!e)return!1;var t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers},e.prototype.clone=function(){var t,n=new e((0,o.__assign)((0,o.__assign)({},this),{headers:(0,o.__assign)({},this.headers)}));return n.query&&(n.query=(t=n.query,Object.keys(t).reduce((function(e,n){var r,i=t[n];return(0,o.__assign)((0,o.__assign)({},e),((r={})[n]=Array.isArray(i)?(0,o.__spread)(i):i,r))}),{}))),n},e}()},60102:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});for(var r={},o={},i=0;i<256;i++){var s=i.toString(16).toLowerCase();1===s.length&&(s="0"+s),r[i]=s,o[s]=i}function a(e){for(var t="",n=0;n<e.byteLength;n++)t+=r[e[n]];return t}},77226:function(e,t,n){"use strict";n.r(t),n.d(t,{locateWindow:function(){return o}});const r={};function o(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:r}},17620:function(e,t,n){"use strict";n.r(t),n.d(t,{fromUtf8:function(){return r},toUtf8:function(){return o}});var r=function(e){return"function"==typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):function(e){for(var t=[],n=0,r=e.length;n<r;n++){var o=e.charCodeAt(n);if(o<128)t.push(o);else if(o<2048)t.push(o>>6|192,63&o|128);else if(n+1<e.length&&55296==(64512&o)&&56320==(64512&e.charCodeAt(n+1))){var i=65536+((1023&o)<<10)+(1023&e.charCodeAt(++n));t.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else t.push(o>>12|224,o>>6&63|128,63&o|128)}return Uint8Array.from(t)}(e)},o=function(e){return"function"==typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):function(e){for(var t="",n=0,r=e.length;n<r;n++){var o=e[n];if(o<128)t+=String.fromCharCode(o);else if(192<=o&&o<224){var i=e[++n];t+=String.fromCharCode((31&o)<<6|63&i)}else if(240<=o&&o<365){var s="%"+[o,e[++n],e[++n],e[++n]].map((function(e){return e.toString(16)})).join("%");t+=decodeURIComponent(s)}
vendor: 10,208 bytes, line 2
2else t+=String.fromCharCode((15&o)<<12|(63&e[++n])<<6|63&e[++n])}return t}(e)}},51764:function(e,t,n){"use strict";n.d(t,{By:function(){return o},pD:function(){return U},Yw:function(){return j},c9:function(){return D},TU:function(){return $},HB:function(){return W},NE:function(){return re},p4:function(){return L},W6:function(){return ie}});var r,o=function(){function e(e){var t=e||{},n=t.ValidationData,r=t.Username,o=t.Password,i=t.AuthParameters,s=t.ClientMetadata;this.validationData=n||{},this.authParameters=i||{},this.clientMetadata=s||{},this.username=r,this.password=o}var t=e.prototype;return t.getUsername=function(){return this.username},t.getPassword=function(){return this.password},t.getValidationData=function(){return this.validationData},t.getAuthParameters=function(){return this.authParameters},t.getClientMetadata=function(){return this.clientMetadata},e}(),i=n(48287),s=n(19021),a=n.n(s),u=(n(6440),n(63009)),c=n.n(u),l=n(3793),f=n.n(l);if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(45682)}catch(se){}function h(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(se){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(se){}}throw new Error("Native crypto module could not be used to get secure random number.")}var d,p=function(){function e(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length}var t=e.prototype;return t.random=function(t){for(var n=[],r=0;r<t;r+=4)n.push(h());return new e(n,t)},t.toString=function(){return function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")}(this)},e}(),g=y;function y(e,t){null!=e&&this.fromString(e,t)}function m(){return new y(null)}var v="undefined"!=typeof navigator;v&&"Microsoft Internet Explorer"==navigator.appName?(y.prototype.am=function(e,t,n,r,o,i){for(var s=32767&t,a=t>>15;--i>=0;){var u=32767&this[e],c=this[e++]>>15,l=a*u+c*s;o=((u=s*u+((32767&l)<<15)+n[r]+(1073741823&o))>>>30)+(l>>>15)+a*c+(o>>>30),n[r++]=1073741823&u}return o},d=30):v&&"Netscape"!=navigator.appName?(y.prototype.am=function(e,t,n,r,o,i){for(;--i>=0;){var s=t*this[e++]+n[r]+o;o=Math.floor(s/67108864),n[r++]=67108863&s}return o},d=26):(y.prototype.am=function(e,t,n,r,o,i){for(var s=16383&t,a=t>>14;--i>=0;){var u=16383&this[e],c=this[e++]>>14,l=a*u+c*s;o=((u=s*u+((16383&l)<<14)+n[r]+o)>>28)+(l>>14)+a*c,n[r++]=268435455&u}return o},d=28),y.prototype.DB=d,y.prototype.DM=(1<<d)-1,y.prototype.DV=1<<d;y.prototype.FV=Math.pow(2,52),y.prototype.F1=52-d,y.prototype.F2=2*d-52;var b,w,S="0123456789abcdefghijklmnopqrstuvwxyz",_=new Array;for(b="0".charCodeAt(0),w=0;w<=9;++w)_[b++]=w;for(b="a".charCodeAt(0),w=10;w<36;++w)_[b++]=w;for(b="A".charCodeAt(0),w=10;w<36;++w)_[b++]=w;function A(e){return S.charAt(e)}function P(e,t){var n=_[e.charCodeAt(t)];return null==n?-1:n}function E(e){var t=m();return t.fromInt(e),t}function C(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function x(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function O(e){return i.hp.from((new p).random(e).toString(),"hex")}x.prototype.convert=function(e){var t=m();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(y.ZERO)>0&&this.m.subTo(t,t),t},x.prototype.revert=function(e){var t=m();return e.copyTo(t),this.reduce(t),t},x.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},x.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},x.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},y.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},y.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},y.prototype.fromString=function(e,t){var n;if(16==t)n=4;else if(8==t)n=3;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");n=2}this.t=0,this.s=0;for(var r=e.length,o=!1,i=0;--r>=0;){var s=P(e,r);s<0?"-"==e.charAt(r)&&(o=!0):(o=!1,0==i?this[this.t++]=s:i+n>this.DB?(this[this.t-1]|=(s&(1<<this.DB-i)-1)<<i,this[this.t++]=s>>this.DB-i):this[this.t-1]|=s<<i,(i+=n)>=this.DB&&(i-=this.DB))}this.clamp(),o&&y.ZERO.subTo(this,this)},y.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},y.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},y.prototype.drShiftTo=function(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s},y.prototype.lShiftTo=function(e,t){var n,r=e%this.DB,o=this.DB-r,i=(1<<o)-1,s=Math.floor(e/this.DB),a=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+s+1]=this[n]>>o|a,a=(this[n]&i)<<r;for(n=s-1;n>=0;--n)t[n]=0;t[s]=a,t.t=this.t+s+1,t.s=this.s,t.clamp()},y.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,o=this.DB-r,i=(1<<r)-1;t[0]=this[n]>>r;for(var s=n+1;s<this.t;++s)t[s-n-1]|=(this[s]&i)<<o,t[s-n]=this[s]>>r;r>0&&(t[this.t-n-1]|=(this.s&i)<<o),t.t=this.t-n,t.clamp()}},y.prototype.subTo=function(e,t){for(var n=0,r=0,o=Math.min(e.t,this.t);n<o;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()},y.prototype.multiplyTo=function(e,t){var n=this.abs(),r=e.abs(),o=n.t;for(t.t=o+r.t;--o>=0;)t[o]=0;for(o=0;o<r.t;++o)t[o+n.t]=n.am(0,r[o],t,o,0,n.t);t.s=0,t.clamp(),this.s!=e.s&&y.ZERO.subTo(t,t)},y.prototype.squareTo=function(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},y.prototype.divRemTo=function(e,t,n){var r=e.abs();if(!(r.t<=0)){var o=this.abs();if(o.t<r.t)return null!=t&&t.fromInt(0),void(null!=n&&this.copyTo(n));null==n&&(n=m());var i=m(),s=this.s,a=e.s,u=this.DB-C(r[r.t-1]);u>0?(r.lShiftTo(u,i),o.lShiftTo(u,n)):(r.copyTo(i),o.copyTo(n));var c=i.t,l=i[c-1];if(0!=l){var f=l*(1<<this.F1)+(c>1?i[c-2]>>this.F2:0),h=this.FV/f,d=(1<<this.F1)/f,p=1<<this.F2,g=n.t,v=g-c,b=null==t?m():t;for(i.dlShiftTo(v,b),n.compareTo(b)>=0&&(n[n.t++]=1,n.subTo(b,n)),y.ONE.dlShiftTo(c,b),b.subTo(i,i);i.t<c;)i[i.t++]=0;for(;--v>=0;){var w=n[--g]==l?this.DM:Math.floor(n[g]*h+(n[g-1]+p)*d);if((n[g]+=i.am(0,w,n,v,0,c))<w)for(i.dlShiftTo(v,b),n.subTo(b,n);n[g]<--w;)n.subTo(b,n)}null!=t&&(n.drShiftTo(c,t),s!=a&&y.ZERO.subTo(t,t)),n.t=c,n.clamp(),u>0&&n.rShiftTo(u,n),s<0&&y.ZERO.subTo(n,n)}}},y.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(!(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},y.prototype.addTo=function(e,t){for(var n=0,r=0,o=Math.min(e.t,this.t);n<o;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()},y.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");t=2}var n,r=(1<<t)-1,o=!1,i="",s=this.t,a=this.DB-s*this.DB%t;if(s-- >0)for(a<this.DB&&(n=this[s]>>a)>0&&(o=!0,i=A(n));s>=0;)a<t?(n=(this[s]&(1<<a)-1)<<t-a,n|=this[--s]>>(a+=this.DB-t)):(n=this[s]>>(a-=t)&r,a<=0&&(a+=this.DB,--s)),n>0&&(o=!0),o&&(i+=A(n));return o?i:"0"},y.prototype.negate=function(){var e=m();return y.ZERO.subTo(this,e),e},y.prototype.abs=function(){return this.s<0?this.negate():this},y.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},y.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+C(this[this.t-1]^this.s&this.DM)},y.prototype.mod=function(e){var t=m();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(y.ZERO)>0&&e.subTo(t,t),t},y.prototype.equals=function(e){return 0==this.compareTo(e)},y.prototype.add=function(e){var t=m();return this.addTo(e,t),t},y.prototype.subtract=function(e){var t=m();return this.subTo(e,t),t},y.prototype.multiply=function(e){var t=m();return this.multiplyTo(e,t),t},y.prototype.divide=function(e){var t=m();return this.divRemTo(e,t,null),t},y.prototype.modPow=function(e,t,n){var r,o=e.bitLength(),i=E(1),s=new x(t);if(o<=0)return i;r=o<18?1:o<48?3:o<144?4:o<768?5:6;var a=new Array,u=3,c=r-1,l=(1<<r)-1;if(a[1]=s.convert(this),r>1){var f=m();for(s.sqrTo(a[1],f);u<=l;)a[u]=m(),s.mulTo(f,a[u-2],a[u]),u+=2}var h,d,p=e.t-1,g=!0,y=m();for(o=C(e[p])-1;p>=0;){for(o>=c?h=e[p]>>o-c&l:(h=(e[p]&(1<<o+1)-1)<<c-o,p>0&&(h|=e[p-1]>>this.DB+o-c)),u=r;!(1&h);)h>>=1,--u;if((o-=u)<0&&(o+=this.DB,--p),g)a[h].copyTo(i),g=!1;else{for(;u>1;)s.sqrTo(i,y),s.sqrTo(y,i),u-=2;u>0?s.sqrTo(i,y):(d=i,i=y,y=d),s.mulTo(y,a[h],i)}for(;p>=0&&!(e[p]&1<<o);)s.sqrTo(i,y),d=i,i=y,y=d,--o<0&&(o=this.DB-1,--p)}var v=s.revert(i);return n(null,v),v},y.ZERO=E(0),y.ONE=E(1);var I=/^[89a-f]/i,k=function(){function e(e){this.N=new g("FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E
27EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF",16),this.g=new g("2",16),this.k=new g(this.hexHash(""+this.padHex(this.N)+this.padHex(this.g)),16),this.smallAValue=this.generateRandomSmallA(),this.getLargeAValue((function(){})),this.infoBits=i.hp.from("Caldera Derived Key","utf8"),this.poolName=e}var t=e.prototype;return t.getSmallAValue=function(){return this.smallAValue},t.getLargeAValue=function(e){var t=this;this.largeAValue?e(null,this.largeAValue):this.calculateA(this.smallAValue,(function(n,r){n&&e(n,null),t.largeAValue=r,e(null,t.largeAValue)}))},t.generateRandomSmallA=function(){var e=O(128).toString("hex");return new g(e,16)},t.generateRandomString=function(){return O(40).toString("base64")},t.getRandomPassword=function(){return this.randomPassword},t.getSaltDevices=function(){return this.SaltToHashDevices},t.getVerifierDevices=function(){return this.verifierDevices},t.generateHashDevice=function(e,t,n){var r=this;this.randomPassword=this.generateRandomString();var o=""+e+t+":"+this.randomPassword,i=this.hash(o),s=O(16).toString("hex");this.SaltToHashDevices=this.padHex(new g(s,16)),this.g.modPow(new g(this.hexHash(this.SaltToHashDevices+i),16),this.N,(function(e,t){e&&n(e,null),r.verifierDevices=r.padHex(t),n(null,null)}))},t.calculateA=function(e,t){var n=this;this.g.modPow(e,this.N,(function(e,r){e&&t(e,null),r.mod(n.N).equals(g.ZERO)&&t(new Error("Illegal paramater. A mod N cannot be 0."),null),t(null,r)}))},t.calculateU=function(e,t){return this.UHexHash=this.hexHash(this.padHex(e)+this.padHex(t)),new g(this.UHexHash,16)},t.hash=function(e){var t=e instanceof i.hp?a().lib.WordArray.create(e):e,n=c()(t).toString();return new Array(64-n.length).join("0")+n},t.hexHash=function(e){return this.hash(i.hp.from(e,"hex"))},t.computehkdf=function(e,t){var n=a().lib.WordArray.create(i.hp.concat([this.infoBits,i.hp.from(String.fromCharCode(1),"utf8")])),r=e instanceof i.hp?a().lib.WordArray.create(e):e,o=t instanceof i.hp?a().lib.WordArray.create(t):t,s=f()(r,o),u=f()(n,s);return i.hp.from(u.toString(),"hex").slice(0,16)},t.getPasswordAuthenticationKey=function(e,t,n,r,o){var s=this;if(n.mod(this.N).equals(g.ZERO))throw new Error("B cannot be zero.");if(this.UValue=this.calculateU(this.largeAValue,n),this.UValue.equals(g.ZERO))throw new Error("U cannot be zero.");var a=""+this.poolName+e+":"+t,u=this.hash(a),c=new g(this.hexHash(this.padHex(r)+u),16);this.calculateS(c,n,(function(e,t){e&&o(e,null);var n=s.computehkdf(i.hp.from(s.padHex(t),"hex"),i.hp.from(s.padHex(s.UValue),"hex"));o(null,n)}))},t.calculateS=function(e,t,n){var r=this;this.g.modPow(e,this.N,(function(o,i){o&&n(o,null),t.subtract(r.k.multiply(i)).modPow(r.smallAValue.add(r.UValue.multiply(e)),r.N,(function(e,t){e&&n(e,null),n(null,t.mod(r.N))}))}))},t.getNewPasswordRequiredChallengeUserAttributePrefix=function(){return"userAttributes."},t.padHex=function(e){if(!(e instanceof g))throw new Error("Not a BigInteger");var t=e.compareTo(g.ZERO)<0,n=e.abs().toString(16);if(n=n.length%2!=0?"0"+n:n,n=I.test(n)?"00"+n:n,t){var r=n.split("").map((function(e){var t=15&~parseInt(e,16);return"0123456789ABCDEF".charAt(t)})).join("");(n=new g(r,16).add(g.ONE).toString(16)).toUpperCase().startsWith("FF8")&&(n=n.substring(2))}return n},e}(),T=function(){function e(e){this.jwtToken=e||"",this.payload=this.decodePayload()}var t=e.prototype;return t.getJwtToken=function(){return this.jwtToken},t.getExpiration=function(){return this.payload.exp},t.getIssuedAt=function(){return this.payload.iat},t.decodePayload=function(){var e=this.jwtToken.split(".")[1];try{return JSON.parse(i.hp.from(e,"base64").toString("utf8"))}catch(se){return{}}},e}();
2function R(e,t){return R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},R(e,t)}var U=function(e){var t,n;function r(t){var n=(void 0===t?{}:t).AccessToken;return e.call(this,n||"")||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,R(t,n),r}(T);function M(e,t){return M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},M(e,t)}var j=function(e){var t,n;function r(t){var n=(void 0===t?{}:t).IdToken;return e.call(this,n||"")||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,M(t,n),r}(T),D=function(){function e(e){var t=(void 0===e?{}:e).RefreshToken;this.token=t||""}return e.prototype.getToken=function(){return this.token},e}(),F=n(80754),N=n.n(F),L=function(){function e(e){var t=void 0===e?{}:e,n=t.IdToken,r=t.RefreshToken,o=t.AccessToken,i=t.ClockDrift;if(null==o||null==n)throw new Error("Id token and Access Token must be present.");this.idToken=n,this.refreshToken=r,this.accessToken=o,this.clockDrift=void 0===i?this.calculateClockDrift():i}var t=e.prototype;return t.getIdToken=function(){return this.idToken},t.getRefreshToken=function(){return this.refreshToken},t.getAccessToken=function(){return this.accessToken},t.getClockDrift=function(){return this.clockDrift},t.calculateClockDrift=function(){return Math.floor(new Date/1e3)-Math.min(this.accessToken.getIssuedAt(),this.idToken.getIssuedAt())},t.isValid=function(){var e=Math.floor(new Date/1e3)-this.clockDrift;return e<this.accessToken.getExpiration()&&e<this.idToken.getExpiration()},e}(),B=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],H=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],q=function(){function e(){}return e.prototype.getNowString=function(){var e=new Date,t=H[e.getUTCDay()],n=B[e.getUTCMonth()],r=e.getUTCDate(),o=e.getUTCHours();o<10&&(o="0"+o);var i=e.getUTCMinutes();i<10&&(i="0"+i);var s=e.getUTCSeconds();return s<10&&(s="0"+s),t+" "+n+" "+r+" "+o+":"+i+":"+s+" UTC "+e.getUTCFullYear()},e}(),W=function(){function e(e){var t=void 0===e?{}:e,n=t.Name,r=t.Value;this.Name=n||"",this.Value=r||""}var t=e.prototype;return t.getValue=function(){return this.Value},t.setValue=function(e){return this.Value=e,this},t.getName=function(){return this.Name},t.setName=function(e){return this.Name=e,this},t.toString=function(){return JSON.stringify(this)},t.toJSON=function(){return{Name:this.Name,Value:this.Value}},e}(),V={},K=function(){function e(){}return e.setItem=function(e,t){return V[e]=t,V[e]},e.getItem=function(e){return Object.prototype.hasOwnProperty.call(V,e)?V[e]:void 0},e.removeItem=function(e){return delete V[e]},e.clear=function(){return V={}},e}(),z=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.cognito.test-ls",1),this.storageWindow.removeItem("aws.cognito.test-ls")}catch(e){this.storageWindow=K}}return e.prototype.getStorage=function(){return this.storageWindow},e}(),G="undefined"!=typeof navigator?navigator.userAgent:"nodejs",$=function(){function e(e){if(null==e||null==e.Username||null==e.Pool)throw new Error("Username and Pool information are required.");this.username=e.Username||"",this.pool=e.Pool,this.Session=null,this.client=e.Pool.client,this.signInUserSession=null,this.authenticationFlowType="USER_SRP_AUTH",this.storage=e.Storage||(new z).getStorage(),this.keyPrefix="CognitoIdentityServiceProvider."+this.pool.getClientId(),this.userDataKey=this.keyPrefix+"."+this.username+".userData"}var t=e.prototype;return t.setSignInUserSession=function(e){this.clearCachedUserData(),this.signInUserSession=e,this.cacheTokens()},t.getSignInUserSession=function(){return this.signInUserSession},t.getUsername=function(){return this.username},t.getAuthenticationFlowType=function(){return this.authenticationFlowType},t.setAuthenticationFlowType=function(e){this.authenticationFlowType=e},t.initiateAuth=function(e,t){var n=this,r=e.getAuthParameters();r.USERNAME=this.username;var o=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),i={AuthFlow:"CUSTOM_AUTH",ClientId:this.pool.getClientId(),AuthParameters:r,ClientMetadata:o};this.getUserContextData()&&(i.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",i,(function(e,r){if(e)return t.onFailure(e);var o=r.ChallengeName,i=r.ChallengeParameters;return"CUSTOM_CHALLENGE"===o?(n.Session=r.Session,t.customChallenge(i)):(n.signInUserSession=n.getCognitoUserSession(r.AuthenticationResult),n.cacheTokens(),t.onSuccess(n.signInUserSession))}))},t.authenticateUser=function(e,t){return"USER_PASSWORD_AUTH"===this.authenticationFlowType?this.authenticateUserPlainUsernamePassword(e,t):"USER_SRP_AUTH"===this.authenticationFlowType||"CUSTOM_AUTH"===this.authenticationFlowType?this.authenticateUserDefaultAuth(e,t):t.onFailure(new Error("Authentication flow type is invali
2d."))},t.authenticateUserDefaultAuth=function(e,t){var n,r,o=this,s=new k(this.pool.getUserPoolId().split("_")[1]),u=new q,c={};null!=this.deviceKey&&(c.DEVICE_KEY=this.deviceKey),c.USERNAME=this.username,s.getLargeAValue((function(l,h){l&&t.onFailure(l),c.SRP_A=h.toString(16),"CUSTOM_AUTH"===o.authenticationFlowType&&(c.CHALLENGE_NAME="SRP_A");var d=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),p={AuthFlow:o.authenticationFlowType,ClientId:o.pool.getClientId(),AuthParameters:c,ClientMetadata:d};o.getUserContextData(o.username)&&(p.UserContextData=o.getUserContextData(o.username)),o.client.request("InitiateAuth",p,(function(c,l){if(c)return t.onFailure(c);var h=l.ChallengeParameters;o.username=h.USER_ID_FOR_SRP,o.userDataKey=o.keyPrefix+"."+o.username+".userData",n=new g(h.SRP_B,16),r=new g(h.SALT,16),o.getCachedDeviceKeyAndPassword(),s.getPasswordAuthenticationKey(o.username,e.getPassword(),n,r,(function(e,n){e&&t.onFailure(e);var r=u.getNowString(),c=a().lib.WordArray.create(i.hp.concat([i.hp.from(o.pool.getUserPoolId().split("_")[1],"utf8"),i.hp.from(o.username,"utf8"),i.hp.from(h.SECRET_BLOCK,"base64"),i.hp.from(r,"utf8")])),p=a().lib.WordArray.create(n),g=N().stringify(f()(c,p)),y={};y.USERNAME=o.username,y.PASSWORD_CLAIM_SECRET_BLOCK=h.SECRET_BLOCK,y.TIMESTAMP=r,y.PASSWORD_CLAIM_SIGNATURE=g,null!=o.deviceKey&&(y.DEVICE_KEY=o.deviceKey);var m={ChallengeName:"PASSWORD_VERIFIER",ClientId:o.pool.getClientId(),ChallengeResponses:y,Session:l.Session,ClientMetadata:d};o.getUserContextData()&&(m.UserContextData=o.getUserContextData()),function e(t,n){return o.client.request("RespondToAuthChallenge",t,(function(r,i){return r&&"ResourceNotFoundException"===r.code&&-1!==r.message.toLowerCase().indexOf("device")?(y.DEVICE_KEY=null,o.deviceKey=null,o.randomPassword=null,o.deviceGroupKey=null,o.clearCachedDeviceKeyAndPassword(),e(t,n)):n(r,i)}))}(m,(function(e,n){return e?t.onFailure(e):o.authenticateUserInternal(n,s,t)}))}))}))}))},t.authenticateUserPlainUsernamePassword=function(e,t){var n=this,r={};if(r.USERNAME=this.username,r.PASSWORD=e.getPassword(),r.PASSWORD){var o=new k(this.pool.getUserPoolId().split("_")[1]);this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(r.DEVICE_KEY=this.deviceKey);var i=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),s={AuthFlow:"USER_PASSWORD_AUTH",ClientId:this.pool.getClientId(),AuthParameters:r,ClientMetadata:i};this.getUserContextData(this.username)&&(s.UserContextData=this.getUserContextData(this.username)),this.client.request("InitiateAuth",s,(function(e,r){return e?t.onFailure(e):n.authenticateUserInternal(r,o,t)}))}else t.onFailure(new Error("PASSWORD parameter is required"))},t.authenticateUserInternal=function(e,t,n){var r=this,o=e.ChallengeName,s=e.ChallengeParameters;if("SMS_MFA"===o)return this.Session=e.Session,n.mfaRequired(o,s);if("SELECT_MFA_TYPE"===o)return this.Session=e.Session,n.selectMFAType(o,s);if("MFA_SETUP"===o)return this.Session=e.Session,n.mfaSetup(o,s);if("SOFTWARE_TOKEN_MFA"===o)return this.Session=e.Session,n.totpRequired(o,s);if("CUSTOM_CHALLENGE"===o)return this.Session=e.Session,n.customChallenge(s);if("NEW_PASSWORD_REQUIRED"===o){this.Session=e.Session;var a=null,u=null,c=[],l=t.getNewPasswordRequiredChallengeUserAttributePrefix();if(s&&(a=JSON.parse(e.ChallengeParameters.userAttributes),u=JSON.parse(e.ChallengeParameters.requiredAttributes)),u)for(var f=0;f<u.length;f++)c[f]=u[f].substr(l.length);return n.newPasswordRequired(a,c)}if("DEVICE_SRP_AUTH"!==o){this.signInUserSession=this.getCognitoUserSession(e.AuthenticationResult),this.challengeName=o,this.cacheTokens();var h=e.AuthenticationResult.NewDeviceMetadata;if(null==h)return n.onSuccess(this.signInUserSession);t.generateHashDevice(e.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,e.AuthenticationResult.NewDeviceMetadata.DeviceKey,(function(o){if(o)return n.onFailure(o);var s={Salt:i.hp.from(t.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:i.hp.from(t.getVerifierDevices(),"hex").toString("base64")};r.verifierDevices=s.PasswordVerifier,r.deviceGroupKey=h.DeviceGroupKey,r.randomPassword=t.getRandomPassword(),r.client.request("ConfirmDevice",{DeviceKey:h.DeviceKey,AccessToken:r.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:s,DeviceName:G},(function(t,o){return t?n.onFailure(t):(r.deviceKey=e.AuthenticationResult.
2NewDeviceMetadata.DeviceKey,r.cacheDeviceKeyAndPassword(),!0===o.UserConfirmationNecessary?n.onSuccess(r.signInUserSession,o.UserConfirmationNecessary):n.onSuccess(r.signInUserSession))}))}))}else this.getDeviceResponse(n)},t.completeNewPasswordChallenge=function(e,t,n,r){var o=this;if(!e)return n.onFailure(new Error("New password is required."));var i=new k(this.pool.getUserPoolId().split("_")[1]),s=i.getNewPasswordRequiredChallengeUserAttributePrefix(),a={};t&&Object.keys(t).forEach((function(e){a[s+e]=t[e]})),a.NEW_PASSWORD=e,a.USERNAME=this.username;var u={ChallengeName:"NEW_PASSWORD_REQUIRED",ClientId:this.pool.getClientId(),ChallengeResponses:a,Session:this.Session,ClientMetadata:r};this.getUserContextData()&&(u.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",u,(function(e,t){return e?n.onFailure(e):o.authenticateUserInternal(t,i,n)}))},t.getDeviceResponse=function(e,t){var n=this,r=new k(this.deviceGroupKey),o=new q,s={};s.USERNAME=this.username,s.DEVICE_KEY=this.deviceKey,r.getLargeAValue((function(u,c){u&&e.onFailure(u),s.SRP_A=c.toString(16);var l={ChallengeName:"DEVICE_SRP_AUTH",ClientId:n.pool.getClientId(),ChallengeResponses:s,ClientMetadata:t};n.getUserContextData()&&(l.UserContextData=n.getUserContextData()),n.client.request("RespondToAuthChallenge",l,(function(t,s){if(t)return e.onFailure(t);var u=s.ChallengeParameters,c=new g(u.SRP_B,16),l=new g(u.SALT,16);r.getPasswordAuthenticationKey(n.deviceKey,n.randomPassword,c,l,(function(t,r){if(t)return e.onFailure(t);var c=o.getNowString(),l=a().lib.WordArray.create(i.hp.concat([i.hp.from(n.deviceGroupKey,"utf8"),i.hp.from(n.deviceKey,"utf8"),i.hp.from(u.SECRET_BLOCK,"base64"),i.hp.from(c,"utf8")])),h=a().lib.WordArray.create(r),d=N().stringify(f()(l,h)),p={};p.USERNAME=n.username,p.PASSWORD_CLAIM_SECRET_BLOCK=u.SECRET_BLOCK,p.TIMESTAMP=c,p.PASSWORD_CLAIM_SIGNATURE=d,p.DEVICE_KEY=n.deviceKey;var g={ChallengeName:"DEVICE_PASSWORD_VERIFIER",ClientId:n.pool.getClientId(),ChallengeResponses:p,Session:s.Session};n.getUserContextData()&&(g.UserContextData=n.getUserContextData()),n.client.request("RespondToAuthChallenge",g,(function(t,r){return t?e.onFailure(t):(n.signInUserSession=n.getCognitoUserSession(r.AuthenticationResult),n.cacheTokens(),e.onSuccess(n.signInUserSession))}))}))}))}))},t.confirmRegistration=function(e,t,n,r){var o={ClientId:this.pool.getClientId(),ConfirmationCode:e,Username:this.username,ForceAliasCreation:t,ClientMetadata:r};this.getUserContextData()&&(o.UserContextData=this.getUserContextData()),this.client.request("ConfirmSignUp",o,(function(e){return e?n(e,null):n(null,"SUCCESS")}))},t.sendCustomChallengeAnswer=function(e,t,n){var r=this,o={};o.USERNAME=this.username,o.ANSWER=e;var i=new k(this.pool.getUserPoolId().split("_")[1]);this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(o.DEVICE_KEY=this.deviceKey);var s={ChallengeName:"CUSTOM_CHALLENGE",ChallengeResponses:o,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:n};this.getUserContextData()&&(s.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",s,(function(e,n){return e?t.onFailure(e):r.authenticateUserInternal(n,i,t)}))},t.sendMFACode=function(e,t,n,r){var o=this,s={};s.USERNAME=this.username,s.SMS_MFA_CODE=e;var a=n||"SMS_MFA";"SOFTWARE_TOKEN_MFA"===a&&(s.SOFTWARE_TOKEN_MFA_CODE=e),null!=this.deviceKey&&(s.DEVICE_KEY=this.deviceKey);var u={ChallengeName:a,ChallengeResponses:s,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:r};this.getUserContextData()&&(u.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",u,(function(e,n){if(e)return t.onFailure(e);
vendor: 4,137 bytes, line 2
2if("DEVICE_SRP_AUTH"!==n.ChallengeName){if(o.signInUserSession=o.getCognitoUserSession(n.AuthenticationResult),o.cacheTokens(),null==n.AuthenticationResult.NewDeviceMetadata)return t.onSuccess(o.signInUserSession);var r=new k(o.pool.getUserPoolId().split("_")[1]);r.generateHashDevice(n.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,n.AuthenticationResult.NewDeviceMetadata.DeviceKey,(function(e){if(e)return t.onFailure(e);var s={Salt:i.hp.from(r.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:i.hp.from(r.getVerifierDevices(),"hex").toString("base64")};o.verifierDevices=s.PasswordVerifier,o.deviceGroupKey=n.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,o.randomPassword=r.getRandomPassword(),o.client.request("ConfirmDevice",{DeviceKey:n.AuthenticationResult.NewDeviceMetadata.DeviceKey,AccessToken:o.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:s,DeviceName:G},(function(e,r){return e?t.onFailure(e):(o.deviceKey=n.AuthenticationResult.NewDeviceMetadata.DeviceKey,o.cacheDeviceKeyAndPassword(),!0===r.UserConfirmationNecessary?t.onSuccess(o.signInUserSession,r.UserConfirmationNecessary):t.onSuccess(o.signInUserSession))}))}))}else o.getDeviceResponse(t)}))},t.changePassword=function(e,t,n,r){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n(new Error("User is not authenticated"),null);this.client.request("ChangePassword",{PreviousPassword:e,ProposedPassword:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:r},(function(e){return e?n(e,null):n(null,"SUCCESS")}))},t.enableMFA=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);var t=[];t.push({DeliveryMedium:"SMS",AttributeName:"phone_number"}),this.client.request("SetUserSettings",{MFAOptions:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(t){return t?e(t,null):e(null,"SUCCESS")}))},t.setUserMfaPreference=function(e,t,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n(new Error("User is not authenticated"),null);this.client.request("SetUserMFAPreference",{SMSMfaSettings:e,SoftwareTokenMfaSettings:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(e){return e?n(e,null):n(null,"SUCCESS")}))},t.disableMFA=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);this.client.request("SetUserSettings",{MFAOptions:[],AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(t){return t?e(t,null):e(null,"SUCCESS")}))},t.deleteUser=function(e,t){var n=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);this.client.request("DeleteUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:t},(function(t){return t?e(t,null):(n.clearCachedUser(),e(null,"SUCCESS"))}))},t.updateAttributes=function(e,t,n){var r=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);this.client.request("UpdateUserAttributes",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserAttributes:e,ClientMetadata:n},(function(e){return e?t(e,null):r.getUserData((function(){return t(null,"SUCCESS")}),{bypassCache:!0})}))},t.getUserAttributes=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(t,n){if(t)return e(t,null);for(var r=[],o=0;o<n.UserAttributes.length;o++){var i={Name:n.UserAttributes[o].Name,Value:n.UserAttributes[o].Value},s=new W(i);r.push(s)}return e(null,r)}))},t.getMFAOptions=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()}
2,(function(t,n){return t?e(t,null):e(null,n.MFAOptions)}))},t.createGetUserRequest=function(){return this.client.promisifyRequest("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()})},t.refreshSessionIfPossible=function(e){var t=this;return void 0===e&&(e={}),new Promise((function(n){var r=t.signInUserSession.getRefreshToken();r&&r.getToken()?t.refreshSession(r,n,e.clientMetadata):n()}))},t.getUserData=function(e,t){var n=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return this.clearCachedUserData(),e(new Error("User is not authenticated"),null);var r=this.getUserDataFromCache();if(r)if(this.isFetchUserDataAndTokenRequired(t))this.fetchUserData().then((function(e){return n.refreshSessionIfPossible(t).then((function(){return e}))})).then((function(t){return e(null,t)})).catch(e);else try{return void e(null,JSON.parse(r))}catch(se){return this.clearCachedUserData(),void e(se,null)}else this.fetchUserData().then((function(t){e(null,t)})).catch(e)},t.getUserDataFromCache=function(){return this.storage.getItem(this.userDataKey)},t.isFetchUserDataAndTokenRequired=function(e){var t=(e||{}).bypassCache;return void 0!==t&&t},t.fetchUserData=function(){var e=this;return this.createGetUserRequest().then((function(t){return e.cacheUserData(t),t}))},t.deleteAttributes=function(e,t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);this.client.request("DeleteUserAttributes",{UserAttributeNames:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(e){return e?t(e,null):t(null,"SUCCESS")}))},t.resendConfirmationCode=function(e,t){var n={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:t};this.client.request("ResendConfirmationCode",n,(function(t,n){return t?e(t,null):e(null,n)}))},t.getSession=function(e,t){if(void 0===t&&(t={}),null==this.username)return e(new Error("Username is null. Cannot retrieve a new session"),null);if(null!=this.signInUserSession&&this.signInUserSession.isValid())return e(null,this.signInUserSession);var n="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,r=n+".idToken",o=n+".accessToken",i=n+".refreshToken",s=n+".clockDrift";if(this.storage.getItem(r)){var a=new j({IdToken:this.storage.getItem(r)}),u=new U({AccessToken:this.storage.getItem(o)}),c=new D({RefreshToken:this.storage.getItem(i)}),l=parseInt(this.storage.getItem(s),0)||0,f=new L({IdToken:a,AccessToken:u,RefreshToken:c,ClockDrift:l});if(f.isValid())return this.signInUserSession=f,e(null,this.signInUserSession);if(!c.getToken())return e(new Error("Cannot retrieve a new session. Please authenticate."),null);this.refreshSession(c,e,t.clientMetadata)}else e(new Error("Local storage is missing an ID Token, Please authenticate"),null)},t.refreshSession=function(e,t,n){var r=this,o=this.pool.wrapRefreshSessionCallback?this.pool.wrapRefreshSessionCallback(t):t,i={};i.REFRESH_TOKEN=e.getToken();var s="CognitoIdentityServiceProvider."+this.pool.getClientId(),a=s+".LastAuthUser";if(this.storage.getItem(a)){this.username=this.storage.getItem(a);var u=s+"."+this.username+".deviceKey";this.deviceKey=this.storage.getItem(u),i.DEVICE_KEY=this.deviceKey}var c={ClientId:this.pool.getClientId(),AuthFlow:"REFRESH_TOKEN_AUTH",AuthParameters:i,ClientMetadata:n};this.getUserContextData()&&(c.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",c,(function(t,n){if(t)return"NotAuthorizedException"===t.code&&r.clearCachedUser(),o(t,null);if(n){var i=n.AuthenticationResult;return Object.prototype.hasOwnProperty.call(i,"RefreshToken")||(i.RefreshToken=e.getToken()),r.signInUserSession=r.getCognitoUserSession(i),r.cacheTokens(),o(null,r.signInUserSession)}}))},t.cacheTokens=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId(),t=e+"."+this.username+".idToken",n=e+"."+this.username+".accessToken",r=e+"."+this.username+".refreshToken",o=e+"."+this.username+".clockDrift",i=e+".LastAuthUser";this.storage.setItem(t,this.signInUserSession.getIdToken().getJwtToken()),this.storage.setItem(n,this.signInUserSession.getAccessToken().getJwtToken()),this.storage.setItem(r,this.signInUserSession.getRefreshToken().getToken()),this.storage.setItem(o,""+this.signInUserSession.getClockDrift()),this.storage.setItem(i,this.username)},t.cacheUserData=function(e){this.storage.setItem(this.userDataKey,JSON.stringify(e))},t.clearCachedUserData=function(){this.storage.removeItem(this.userDataKey)},t.clearCachedUser=function(){this.clearCachedTokens(),this.clearCachedUserData()}
2,t.cacheDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,t=e+".deviceKey",n=e+".randomPasswordKey",r=e+".deviceGroupKey";this.storage.setItem(t,this.deviceKey),this.storage.setItem(n,this.randomPassword),this.storage.setItem(r,this.deviceGroupKey)},t.getCachedDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,t=e+".deviceKey",n=e+".randomPasswordKey",r=e+".deviceGroupKey";this.storage.getItem(t)&&(this.deviceKey=this.storage.getItem(t),this.randomPassword=this.storage.getItem(n),this.deviceGroupKey=this.storage.getItem(r))},t.clearCachedDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,t=e+".deviceKey",n=e+".randomPasswordKey",r=e+".deviceGroupKey";this.storage.removeItem(t),this.storage.removeItem(n),this.storage.removeItem(r)},t.clearCachedTokens=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId(),t=e+"."+this.username+".idToken",n=e+"."+this.username+".accessToken",r=e+"."+this.username+".refreshToken",o=e+".LastAuthUser",i=e+"."+this.username+".clockDrift";this.storage.removeItem(t),this.storage.removeItem(n),this.storage.removeItem(r),this.storage.removeItem(o),this.storage.removeItem(i)},t.getCognitoUserSession=function(e){var t=new j(e),n=new U(e),r=new D(e);return new L({IdToken:t,AccessToken:n,RefreshToken:r})},t.forgotPassword=function(e,t){var n={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:t};this.getUserContextData()&&(n.UserContextData=this.getUserContextData()),this.client.request("ForgotPassword",n,(function(t,n){return t?e.onFailure(t):"function"==typeof e.inputVerificationCode?e.inputVerificationCode(n):e.onSuccess(n)}))},t.confirmPassword=function(e,t,n,r){var o={ClientId:this.pool.getClientId(),Username:this.username,ConfirmationCode:e,Password:t,ClientMetadata:r};this.getUserContextData()&&(o.UserContextData=this.getUserContextData()),this.client.request("ConfirmForgotPassword",o,(function(e){return e?n.onFailure(e):n.onSuccess()}))},t.getAttributeVerificationCode=function(e,t,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(new Error("User is not authenticated"));this.client.request("GetUserAttributeVerificationCode",{AttributeName:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:n},(function(e,n){return e?t.onFailure(e):"function"==typeof t.inputVerificationCode?t.inputVerificationCode(n):t.onSuccess()}))},t.verifyAttribute=function(e,t,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n.onFailure(new Error("User is not authenticated"));this.client.request("VerifyUserAttribute",{AttributeName:e,Code:t,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(e){return e?n.onFailure(e):n.onSuccess("SUCCESS")}))},t.getDevice=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(new Error("User is not authenticated"));this.client.request("GetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey},(function(t,n){return t?e.onFailure(t):e.onSuccess(n)}))},t.forgetSpecificDevice=function(e,t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(new Error("User is not authenticated"));this.client.request("ForgetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:e},(function(e){return e?t.onFailure(e):t.onSuccess("SUCCESS")}))},t.forgetDevice=function(e){var t=this;this.forgetSpecificDevice(this.deviceKey,{onFailure:e.onFailure,onSuccess:function(n){return t.deviceKey=null,t.deviceGroupKey=null,t.randomPassword=null,t.clearCachedDeviceKeyAndPassword(),e.onSuccess(n)}})},t.setDeviceStatusRemembered=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(new Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"remembered"},(function(t){return t?e.onFailure(t):e.onSuccess("SUCCESS")}))},t.setDeviceStatusNotRemembered=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(new Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"not_remembered"},(function(t){return t?e.onFailure(t):e.onSuccess("SUCCESS")}))},t.listDevices=function(e,t,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n.onFailure(new Error("User is not authenticated"));var r={AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),Limit:e};t&&(r.PaginationToken=t),this.client.request("ListDevices",r,(function(e,t){return e?n.onFailure(e):n.onSuccess(t)}))},t.globalSignOut=function(e){var t=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(new Error("User is not authenticated"));this.client.request("GlobalSignOut",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(n){return n?e.onFailure(n):(t.clearCachedUser(),e.onSuccess("SUCCESS"))}))},t.signOut=function(){this.signInUserSession=null,this.clearCachedUser()},t.sendMFASelectionAnswer=function(e,t){var n=this,r={};
2r.USERNAME=this.username,r.ANSWER=e;var o={ChallengeName:"SELECT_MFA_TYPE",ChallengeResponses:r,ClientId:this.pool.getClientId(),Session:this.Session};this.getUserContextData()&&(o.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",o,(function(r,o){return r?t.onFailure(r):(n.Session=o.Session,"SMS_MFA"===e?t.mfaRequired(o.ChallengeName,o.ChallengeParameters):"SOFTWARE_TOKEN_MFA"===e?t.totpRequired(o.ChallengeName,o.ChallengeParameters):void 0)}))},t.getUserContextData=function(){return this.pool.getUserContextData(this.username)},t.associateSoftwareToken=function(e){var t=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("AssociateSoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(t,n){return t?e.onFailure(t):e.associateSecretCode(n.SecretCode)})):this.client.request("AssociateSoftwareToken",{Session:this.Session},(function(n,r){return n?e.onFailure(n):(t.Session=r.Session,e.associateSecretCode(r.SecretCode))}))},t.verifySoftwareToken=function(e,t,n){var r=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("VerifySoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserCode:e,FriendlyDeviceName:t},(function(e,t){return e?n.onFailure(e):n.onSuccess(t)})):this.client.request("VerifySoftwareToken",{Session:this.Session,UserCode:e,FriendlyDeviceName:t},(function(e,t){if(e)return n.onFailure(e);r.Session=t.Session;var o={};o.USERNAME=r.username;var i={ChallengeName:"MFA_SETUP",ClientId:r.pool.getClientId(),ChallengeResponses:o,Session:r.Session};r.getUserContextData()&&(i.UserContextData=r.getUserContextData()),r.client.request("RespondToAuthChallenge",i,(function(e,t){return e?n.onFailure(e):(r.signInUserSession=r.getCognitoUserSession(t.AuthenticationResult),r.cacheTokens(),n.onSuccess(r.signInUserSession))}))}))},e}();n(86071);function J(){}J.prototype.userAgent="aws-amplify/0.1.x js";var Y=J;function Q(e){var t="function"==typeof Map?new Map:void 0;return Q=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Z(e,arguments,ee(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),X(r,e)},Q(e)}function Z(e,t,n){return Z=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}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&X(o,n.prototype),o},Z.apply(null,arguments)}function X(e,t){return X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},X(e,t)}function ee(e){return ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ee(e)}var te=function(e){var t,n;function r(t,n,r,o){var i;return(i=e.call(this,t)||this).code=n,i.name=r,i.statusCode=o,i}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,X(t,n),r}(Q(Error)),ne=function(){function e(e,t,n){this.endpoint=t||"https://cognito-idp."+e+".amazonaws.com/";var r=(n||{}).credentials;this.fetchOptions=r?{credentials:r}:{}}var t=e.prototype;return t.promisifyRequest=function(e,t){var n=this;return new Promise((function(r,o){n.request(e,t,(function(e,t){e?o(new te(e.message,e.code,e.name,e.statusCode)):r(t)}))}))},t.request=function(e,t,n){var r,o={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityProviderService."+e,"X-Amz-User-Agent":Y.prototype.userAgent},i=Object.assign({},this.fetchOptions,{headers:o,method:"POST",mode:"cors",cache:"no-cache",body:JSON.stringify(t)});fetch(this.endpoint,i).then((function(e){return r=e,e}),(function(e){if(e instanceof TypeError)throw new Error("Network error");throw e})).then((function(e){return e.json().catch((function(){return{}}))})).then((function(e){if(r.ok)return n(null,e);e;var t=(e.__type||e.code).split("#").pop(),o={code:t,name:t,message:e.message||e.Message||null};return n(o)})).catch((function(e){if(!(r&&r.headers&&r.headers.get("x-amzn-errortype"))){if(e instanceof Error&&"Network error"===e.message){var t={code:"NetworkError",name:e.name,message:e.message};return n(t)}return n(e)}try{var o=r.headers.get("x-amzn-errortype").split(":")[0],i={code:o,name:o,statusCode:r.status,message:r.status?r.status.toString():null};return n(i)}catch(s){return n(e)}}))},e}(),re=function(){function e(e,t){var n=e||{},r=n.UserPoolId,o=n.ClientId,i=n.endpoint,s=n.fetchOptions,a=n.AdvancedSecurityDataCollectionFlag;if(!r||!o)throw new Error("Both UserPoolId and ClientId are required.");
2if(!/^[\w-]+_.+$/.test(r))throw new Error("Invalid UserPoolId format.");var u=r.split("_")[0];this.userPoolId=r,this.clientId=o,this.client=new ne(u,i,s),this.advancedSecurityDataCollectionFlag=!1!==a,this.storage=e.Storage||(new z).getStorage(),t&&(this.wrapRefreshSessionCallback=t)}var t=e.prototype;return t.getUserPoolId=function(){return this.userPoolId},t.getClientId=function(){return this.clientId},t.signUp=function(e,t,n,r,o,i){var s=this,a={ClientId:this.clientId,Username:e,Password:t,UserAttributes:n,ValidationData:r,ClientMetadata:i};this.getUserContextData(e)&&(a.UserContextData=this.getUserContextData(e)),this.client.request("SignUp",a,(function(t,n){if(t)return o(t,null);var r={Username:e,Pool:s,Storage:s.storage},i={user:new $(r),userConfirmed:n.UserConfirmed,userSub:n.UserSub,codeDeliveryDetails:n.CodeDeliveryDetails};return o(null,i)}))},t.getCurrentUser=function(){var e="CognitoIdentityServiceProvider."+this.clientId+".LastAuthUser",t=this.storage.getItem(e);if(t){var n={Username:t,Pool:this,Storage:this.storage};return new $(n)}return null},t.getUserContextData=function(e){if("undefined"!=typeof AmazonCognitoAdvancedSecurityData){var t=AmazonCognitoAdvancedSecurityData;if(this.advancedSecurityDataCollectionFlag){var n=t.getData(e,this.userPoolId,this.clientId);if(n)return{EncodedData:n}}return{}}},e}(),oe=n(12215),ie=function(){function e(e){if(!e.domain)throw new Error("The domain of cookieStorage can not be undefined.");if(this.domain=e.domain,e.path?this.path=e.path:this.path="/",Object.prototype.hasOwnProperty.call(e,"expires")?this.expires=e.expires:this.expires=365,Object.prototype.hasOwnProperty.call(e,"secure")?this.secure=e.secure:this.secure=!0,Object.prototype.hasOwnProperty.call(e,"sameSite")){if(!["strict","lax","none"].includes(e.sameSite))throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===e.sameSite&&!this.secure)throw new Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=e.sameSite}else this.sameSite=null}var t=e.prototype;return t.setItem=function(e,t){var n={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(n.sameSite=this.sameSite),oe.set(e,t,n),oe.get(e)},t.getItem=function(e){return oe.get(e)},t.removeItem=function(e){var t={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(t.sameSite=this.sameSite),oe.remove(e,t)},t.clear=function(){for(var e=oe.get(),t=Object.keys(e).length,n=0;n<t;++n)this.removeItem(Object.keys(e)[n]);return{}},e}()},63193:function(e,t,n){e.exports={default:n(58489),__esModule:!0}},85505:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n(63193),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default||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}},58489:function(e,t,n){n(79115),e.exports=n(6791).Object.assign},73934:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},90531:function(e,t,n){var r=n(90326);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},73901:function(e,t,n){var r=n(69204),o=n(9250),i=n(8830);e.exports=function(e){return function(t,n,s){var a,u=r(t),c=o(u.length),l=i(s,c);if(e&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},64194:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},6791:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},33971:function(e,t,n){var r=n(73934);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},54947:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},75872:function(e,t,n){e.exports=!n(82451)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},50559:function(e,t,n){var r=n(90326),o=n(56903).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},22499:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleStr
2ing,toString,valueOf".split(",")},19786:function(e,t,n){var r=n(56903),o=n(6791),i=n(33971),s=n(14632),a=n(43066),u="prototype",c=function(e,t,n){var l,f,h,d=e&c.F,p=e&c.G,g=e&c.S,y=e&c.P,m=e&c.B,v=e&c.W,b=p?o:o[t]||(o[t]={}),w=b[u],S=p?r:g?r[t]:(r[t]||{})[u];for(l in p&&(n=t),n)(f=!d&&S&&void 0!==S[l])&&a(b,l)||(h=f?S[l]:n[l],b[l]=p&&"function"!=typeof S[l]?n[l]:m&&f?i(h,r):v&&S[l]==h?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[u]=e[u],t}(h):y&&"function"==typeof h?i(Function.call,h):h,y&&((b.virtual||(b.virtual={}))[l]=h,e&c.R&&w&&!w[l]&&s(w,l,h)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},82451:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},56903:function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},43066:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},14632:function(e,t,n){var r=n(21672),o=n(15495);e.exports=n(75872)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},14913:function(e,t,n){e.exports=!n(75872)&&!n(82451)((function(){return 7!=Object.defineProperty(n(50559)("div"),"a",{get:function(){return 7}}).a}))},63278:function(e,t,n){var r=n(64194);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},90326:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},98849:function(e){e.exports=!0},99369:function(e,t,n){"use strict";var r=n(75872),o=n(64796),i=n(14259),s=n(98936),a=n(64873),u=n(63278),c=Object.assign;e.exports=!c||n(82451)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=a(e),c=arguments.length,l=1,f=i.f,h=s.f;c>l;)for(var d,p=u(arguments[l++]),g=f?o(p).concat(f(p)):o(p),y=g.length,m=0;y>m;)d=g[m++],r&&!h.call(p,d)||(n[d]=p[d]);return n}:c},21672:function(e,t,n){var r=n(90531),o=n(14913),i=n(78381),s=Object.defineProperty;t.f=n(75872)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},14259:function(e,t){t.f=Object.getOwnPropertySymbols},59480:function(e,t,n){var r=n(43066),o=n(69204),i=n(73901)(!1),s=n(36211)("IE_PROTO");e.exports=function(e,t){var n,a=o(e),u=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;t.length>u;)r(a,n=t[u++])&&(~i(c,n)||c.push(n));return c}},64796:function(e,t,n){var r=n(59480),o=n(22499);e.exports=Object.keys||function(e){return r(e,o)}},98936:function(e,t){t.f={}.propertyIsEnumerable},15495:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},36211:function(e,t,n){var r=n(7421)("keys"),o=n(93108);e.exports=function(e){return r[e]||(r[e]=o(e))}},7421:function(e,t,n){var r=n(6791),o=n(56903),i="__core-js_shared__",s=o[i]||(o[i]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(98849)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},8830:function(e,t,n){var r=n(43570),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},43570:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},69204:function(e,t,n){var r=n(63278),o=n(54947);e.exports=function(e){return r(o(e))}},9250:function(e,t,n){var r=n(43570),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},64873:function(e,t,n){var r=n(54947);e.exports=function(e){return Object(r(e))}},78381:function(e,t,n){var r=n(90326);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},93108:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},79115:function(e,t,n){var r=n(19786);r(r.S+r.F,"Object",{assign:n(99369)})},67526:function(e,t){"use strict";t.byteLength=function(e){var t=a(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=a(e),s=i[0],u=i[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,s,u)),l=0,f=u>0?s-4:s;for(n=0;n<f;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===u&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[l++]=255&t);1===u&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],s=16383,a=0,c=r-o;a<c;a+=s)i.push(u(e,a,a+s>c?c:a+s));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/",s=0;s<64;++s)n[s]=i[s],r[i.charCodeAt(s)]=s;function a(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,r){for(var o,i,s=[],a=t;a<r;a+=3)o=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},46880:function(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=90)}({17:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(18),o=function(){function e(){}return e.getFirstMatch=function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""},e.getSecondMatch=function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""},e.matchAndReturnConst=function(e,t,n){if(e.test(t))return n},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,n,r){void 0===r&&(r=!1);var o=e.getVersionPrecision(t),i=e.getVersionPrecision(n),s=Math.max(o,i),a=0,u=e.map([t,n],(function(t){var n=s-e.getVersionPrecision(t),r=t+new Array(n+1).join(".0");return e.map(r.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(r&&(a=s-Math.min(o,i)),s-=1;s>=a;){if(u[0][s]>u[1][s])return 1;if(u[0][s]===u[1][s]){if(s===a)return 0;s-=1}else if(u[0][s]<u[1][s])return-1}},e.map=function(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n+=1)r.push(t(e[n]));return r},e.find=function(e,t){var n,r;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(n=0,r=e.length;n<r;n+=1){var o=e[n];if(t(o,n))return o}},e.assign=function(e){for(var t,n,r=e,o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];if(Object.assign)return Object.assign.apply(Object,[e].concat(i));var a=function(){var e=i[t];"object"==typeof e&&null!==e&&Object.keys(e).forEach((function(t){r[t]=e[t]}))};for(t=0,n=i.length;t<n;t+=1)a();return e},e.getBrowserAlias=function(e){return r.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return r.BROWSER_MAP[e]||""},e}();t.default=o,e.exports=t.default},18:function(e,t,n){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(91))&&r.__esModule?r:{default:r},i=n(18);function s(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=function(){function e(){}var t,n,r;return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new o.default(e,t)},e.parse=function(e){return new o.default(e).getResult()},t=e,r=[{key:"BROWSER_MAP",get:function(){return i.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return i.ENGINE_MAP}},{key:"OS_MAP",get:function(){return i.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return i.PLATFORMS_MAP}}],(n=null)&&s(t.prototype,n),r&&s(t,r),e}();t.default=a,e.exports=t.default},91:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=u(n(92)),o=u(n(93)),i=u(n(94)),s=u(n(95)),a=u(n(17));
vendor: 7,009 bytes, line 2
2function u(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=a.default.find(r.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=a.default.find(o.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=a.default.find(i.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=a.default.find(s.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return a.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,n={},r=0,o={},i=0;if(Object.keys(e).forEach((function(t){var s=e[t];"string"==typeof s?(o[t]=s,i+=1):"object"==typeof s&&(n[t]=s,r+=1)})),r>0){var s=Object.keys(n),u=a.default.find(s,(function(e){return t.isOS(e)}));if(u){var c=this.satisfies(n[u]);if(void 0!==c)return c}var l=a.default.find(s,(function(e){return t.isPlatform(e)}));if(l){var f=this.satisfies(n[l]);if(void 0!==f)return f}}if(i>0){var h=Object.keys(o),d=a.default.find(h,(function(e){return t.isBrowser(e,!0)}));if(void 0!==d)return this.compareVersion(o[d])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),o=a.default.getBrowserTypeByAlias(r);return t&&o&&(r=o.toLowerCase()),r===n},t.compareVersion=function(e){var t=[0],n=e,r=!1,o=this.getBrowserVersion();if("string"==typeof o)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(r=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(r=!0,n=e.substr(1)),t.indexOf(a.default.compareVersions(o,n,r))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=c,e.exports=t.default},92:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(17))&&r.__esModule?r:{default:r},i=/version\/(\d+(\.?_?\d+)+)/i,s=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=o.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=o.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=o.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=o.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=o.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},n=o.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=o.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"}
vendor: 7,818 bytes, line 2
2,n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=o.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=o.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=o.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=o.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=o.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=o.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=o.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=o.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=o.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=o.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=o.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=o.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=o.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=o.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=o.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},n=o.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},n=o.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=o.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=o.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=o.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=o.default.getFirstMatch(i,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:o.default.getFirstMatch(t,e),version:o.default.getSecondMatch(t,e)}}}];t.default=s,e.exports=t.default},93:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(17))&&r.__esModule?r:{default:r},i=n(18),s=[{test:[/Roku\/DVP/],describe:function(e){var t=o.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:i.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=o.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=o.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=o.default.getWindowsVersionName(t);return{name:i.OS_MAP.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:i.OS_MAP.iOS},n=o.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe:function(e){var t=o.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=o.default.getMacOSVersionName(t),r={name:i.OS_MAP.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=o.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:i.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=o.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=o.default.getAndroidVersionName(t),r={name:i.OS_MAP.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=o.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:i.OS_MAP.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=o.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||o.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||o.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:i.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=o.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=o.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:i.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:i.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=o.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);
2return{name:i.OS_MAP.PlayStation4,version:t}}}];t.default=s,e.exports=t.default},94:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(17))&&r.__esModule?r:{default:r},i=n(18),s=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=o.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:i.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=o.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:i.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:i.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:i.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:i.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:i.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.tv}}}];t.default=s,e.exports=t.default},95:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(17))&&r.__esModule?r:{default:r},i=n(18),s=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:i.ENGINE_MAP.Blink};var t=o.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:i.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:i.ENGINE_MAP.Trident},n=o.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:i.ENGINE_MAP.Presto},n=o.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:i.ENGINE_MAP.Gecko},n=o.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:i.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:i.ENGINE_MAP.WebKit},n=o.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];t.default=s,e.exports=t.default}})},48287:function(e,t,n){"use strict";var r=n(67526),o=n(251),i=n(35336);function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=h(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(t,n);e=a(e,r);var o=e.write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(u.isBuffer(t)){var n=0|d(t.length);return 0===(e=a(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?a(e,0):h(e,t);if("Buffer"===t.type&&i(t.data))return h(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=a(e,t<0?0:0|d(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function h(e,t){var n=t.length<0?0:0|d(t.length);e=a(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function d(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&
vendor: 16,365 bytes, line 2
2(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(e).length;default:if(r)return H(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return k(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return I(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function m(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){var i,s=1,a=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var l=-1;for(i=n;i<a;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*s}else-1!==l&&(i-=i-l),l=-1}else for(n+u>a&&(n=a-u),i=n;i>=0;i--){for(var f=!0,h=0;h<u;h++)if(c(e,i+h)!==c(t,h)){f=!1;break}if(f)return i}return-1}function b(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var s=0;s<r;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[n+s]=a}return s}function w(e,t,n,r){return W(H(t,e.length-n),e,n,r)}function S(e,t,n,r){return W(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function _(e,t,n,r){return S(e,t,n,r)}function A(e,t,n,r){return W(q(t),e,n,r)}function P(e,t,n,r){return W(function(e,t){for(var n,r,o,i=[],s=0;s<e.length&&!((t-=2)<0);++s)r=(n=e.charCodeAt(s))>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,s,a,u,c=e[o],l=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],s=e[o+2],128==(192&i)&&128==(192&s)&&(u=(15&c)<<12|(63&i)<<6|63&s)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],s=e[o+2],a=e[o+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&(u=(15&c)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),o+=f}return function(e){var t=e.length;if(t<=x)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=x));return n}(r)}t.hp=u,t.IS=50,u.TYPED_ARRAY_SUPPORT=void 0!==n.g.TYPED_ARRAY_SUPPORT?n.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return c(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return function(e,t,n,r){return l(t),t<=0?a(e,t):void 0!==n?"string"==typeof r?a(e,t).fill(n,r):a(e,t).fill(n):a(e,t)}(null,e,t,n)},u.allocUnsafe=function(e){return f(null,e)},u.allocUnsafeSlow=function(e){return f(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var s=e[n];if(!u.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,o),o+=s.length}return r},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?C(this,0,e):g.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.IS;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,o){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(i,s),c=this.slice(r,o),l=e.slice(t,n),f=0;f<a;++f)if(c[f]!==l[f]){i=c[f],s=l[f];break}return i<s?-1:s<i?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return S(this,e,t,n);case"latin1":case"binary":return _(this,e,t,n);case"base64":return A(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var x=4096;function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function I(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function k(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=B(e[i]);return o}function T(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function R(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function U(e,t,n,r,o,i){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function M(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function j(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function D(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,r,i){return i||D(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function N(e,t,n,r,i){return i||D(e,0,n,8),o.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=u.prototype;else{var o=t-e;n=new u(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},u.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||U(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||U(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);U(this,e,t,n,o-1,-o)}var i=0,s=1,a=0;for(this[t]=255&e;++i<n&&(s*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);U(this,e,t,n,o-1,-o)}var i=n-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return N(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return N(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!u.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var s=u.isBuffer(e)?e:H(new u(e,r).toString()),a=s.length;for(i=0;i<n-t;++i)this[i+t]=s[i%a]}return this};var L=/[^+\/0-9A-Za-z-_]/g;function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],s=0;s<r;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>
2-1&&i.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function q(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function W(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}},35336:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},38075:function(e,t,n){"use strict";var r=n(70453),o=n(10487),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},10487:function(e,t,n){"use strict";var r=n(66743),o=n(70453),i=n(96897),s=n(69675),a=o("%Function.prototype.apply%"),u=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(u,a),l=n(30655),f=o("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new s("a function is required");var t=c(r,u,arguments);return i(t,1+f(0,e.length-(arguments.length-1)),!0)};var h=function(){return c(r,a,arguments)};l?l(e.exports,"apply",{value:h}):e.exports.apply=h},57427:function(e,t){"use strict";t.q=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},o=t||{},s=e.split(";"),a=o.decode||n,u=0;u<s.length;u++){var c=s[u],l=c.indexOf("=");if(!(l<0)){var f=c.substring(0,l).trim();if(null==r[f]){var h=c.substring(l+1,c.length).trim();'"'===h[0]&&(h=h.slice(1,-1)),r[f]=i(h,a)}}}return r},t.l=function(e,t,n){var i=n||{},s=i.encode||r;if("function"!=typeof s)throw new TypeError("option encode is invalid");if(!o.test(e))throw new TypeError("argument name is invalid");var a=s(t);if(a&&!o.test(a))throw new TypeError("argument val is invalid");var u=e+"="+a;if(null!=i.maxAge){var c=i.maxAge-0;if(isNaN(c)||!isFinite(c))throw new TypeError("option maxAge is invalid");u+="; Max-Age="+Math.floor(c)}if(i.domain){if(!o.test(i.domain))throw new TypeError("option domain is invalid");u+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw new TypeError("option path is invalid");u+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw new TypeError("option expires is invali
2d");u+="; Expires="+i.expires.toUTCString()}i.httpOnly&&(u+="; HttpOnly");i.secure&&(u+="; Secure");if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"strict":u+="; SameSite=Strict";break;case"none":u+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return u};var n=decodeURIComponent,r=encodeURIComponent,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(e,t){try{return t(e)}catch(n){return e}}},19021:function(e,t,n){var r;e.exports=(r=r||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(50477)}catch(y){}var o=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(y){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(y){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),s={},a=s.lib={},u=a.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=a.WordArray=u.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||f).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,o=e.sigBytes;if(this.clamp(),r%4)for(var i=0;i<o;i++){var s=n[i>>>2]>>>24-i%4*8&255;t[r+i>>>2]|=s<<24-(r+i)%4*8}else for(var a=0;a<o;a+=4)t[r+a>>>2]=n[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(o());return new c.init(t,e)}}),l=s.enc={},f=l.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},h=l.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o<n;o++){var i=t[o>>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},d=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},p=a.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,o=r.words,i=r.sigBytes,s=this.blockSize,a=i/(4*s),u=(a=t?e.ceil(a):e.max((0|a)-this._minBufferSize,0))*s,l=e.min(4*u,i);if(u){for(var f=0;f<u;f+=s)this._doProcessBlock(o,f);n=o.splice(0,u),r.sigBytes-=l}return new c.init(n,l)},clone:function(){var e=u.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),g=(a.Hasher=p.extend({cfg:u.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new g.HMAC.init(e,n).finalize(t)}}}),s.algo={});return s}(Math),r)},80754:function(e,t,n){var r;e.exports=(r=n(19021),function(){var e=r,t=e.lib.WordArray;function n(e,n,r){for(var o=[],i=0,s=0;s<n;s++)if(s%4){var a=r[e.charCodeAt(s-1)]<<s%4*2|r[e.charCodeAt(s)]>>>6-s%4*2;o[i>>>2]|=a<<24-i%4*8,i++}return t.create(o,i)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i<n;i+=3)for(var s=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a<n;a++)o.push(r.charAt(s>>>6*(3-a)&63));var u=r.charAt(64);if(u)for(;o.length%4;)o.push(u);return o.join("")},parse:function(e){var t=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i<r.length;i++)o[r.charCodeAt(i)]=i}var s=r.charAt(64);if(s){var a=e.indexOf(s);-1!==a&&(t=a)}return n(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/="}}(),r.enc.Base64)},3793:function(e,t,n){var r;e.exports=(r=n(19021),n(63009),n(51025),r.HmacSHA256)},51025:function(e,t,n){var r,o,i,s;e.exports=(r=n(19021),i=(o=r).lib.Base,s=o.enc.Utf8,void(o.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=s.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),i=this._iKey=t.clone(),a=o.words,u=i.words,c=0;c<n;c++)a[c]^=1549556828,u[c]^=909522486;o.sigBytes=i.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})))},6440:function(e,t,n){var r;e.exports=(r=n(19021),function(){if("function"==typeof ArrayBuffer){var e=r.lib.WordArray,t=e.init,n=e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var n=e.byteLength,r=[],o=0;o<n;o++)r[o>>>2]|=e[o]<<24-o%4*8;t.call(this,r,n)}else t.apply(this,arguments)};n.prototype=e}}(),r.lib.WordArray)},63009:function(e,t,n){var r;e.exports=(r=n(19021),function(e){var t=r,n=t.lib,o=n.WordArray,i=n.Hasher,s=t.algo,a=[],u=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)t(r)&&(o<8&&(a[o]=n(e.pow(r,.5))),u[o]=n(e.pow(r,1/3)),o++),r++}();var c=[],l=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],l=n[5],f=n[6],h=n[7],d=0;d<64;d++){if(d<16)c[d]=0|e[t+d];else{var p=c[d-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,y=c[d-2],m=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;c[d]=g+c[d-7]+m+c[d-16]}var v=r&o^r&i^o&i,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),w=h+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&l^~a&f)+u[d]+c[d];h=f,f=l,l=a,a=s+w|0,s=i,i=o,o=r,r=w+(b+v)|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+l|0,n[6]=n[6]+f|0,n[7]=n[7]+h|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(l),t.HmacSHA256=i._createHmacHelper(l)}(Math),r.SHA256)},30454:function(e){"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(i){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var n={"%FE%FF":"��","%FF%FE":"��"},o=r.exec(e);o;){try{n[o[0]]=decodeURIComponent(o[0])}catch(t){var s=i(o[0]);s!==o[0]&&(n[o[0]]=s)}o=r.exec(e)}n["%C2"]="�";for(var a=Object.keys(n),u=0;u<a.length;u++){var c=a[u];e=e.replace(new RegExp(c,"g"),n[c])}return e}(e)}}},30041:function(e,t,n){"use strict";var r=n(30655),o=n(58068),i=n(69675),s=n(75795);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],f=!!s&&s(e,t);
2if(r)r(e,t,{configurable:null===c&&f?f.configurable:!c,enumerable:null===a&&f?f.enumerable:!a,value:n,writable:null===u&&f?f.writable:!u});else{if(!l&&(a||u||c))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},30655:function(e,t,n){"use strict";var r=n(70453)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(o){r=!1}e.exports=r},41237:function(e){"use strict";e.exports=EvalError},69383:function(e){"use strict";e.exports=Error},79290:function(e){"use strict";e.exports=RangeError},79538:function(e){"use strict";e.exports=ReferenceError},58068:function(e){"use strict";e.exports=SyntaxError},69675:function(e){"use strict";e.exports=TypeError},35345:function(e){"use strict";e.exports=URIError},73055:function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var s=r[i],a=e[s];(o?-1!==t.indexOf(s):t(s,a,e))&&(n[s]=a)}return n}},89353:function(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var o=0;o<t.length;o+=1)n[o+e.length]=t[o];return n};e.exports=function(e){var o=this;if("function"!=typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,s=function(e,t){for(var n=[],r=t||0,o=0;r<e.length;r+=1,o+=1)n[o]=e[r];return n}(arguments,1),a=n(0,o.length-s.length),u=[],c=0;c<a;c++)u[c]="$"+c;if(i=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n}(u,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var t=o.apply(this,r(s,arguments));return Object(t)===t?t:this}return o.apply(e,r(s,arguments))})),o.prototype){var l=function(){};l.prototype=o.prototype,i.prototype=new l,l.prototype=null}return i}},66743:function(e,t,n){"use strict";var r=n(89353);e.exports=Function.prototype.bind||r},96395:function(e,t){"use strict";t.T=void 0;const n=[".html",".json",".js",".map",".txt",".xml",".pdf"];t.T=(e,t="always")=>{if("/"===e)return e;const r=e.endsWith("/");return((e,t)=>{for(const n of e)if(t.endsWith(n))return!0;return!1})(n,e)?e:"always"===t?r?e:`${e}/`:"never"===t&&r?e.slice(0,-1):e}},97035:function(e,t,n){"use strict";t.RV=t.z_=void 0;var r=n(33215);t.z_=r.ScrollHandler;var o=n(73721);t.RV=o.useScrollRestoration},33215:function(e,t,n){"use strict";var r=n(24994);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(12475)),i=r(n(6221)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(96540)),a=r(n(5556)),u=n(74351);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var l=s.createContext(new u.SessionStorage);t.ScrollContext=l,l.displayName="GatsbyScrollContext";var f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this)._stateStorage=new u.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,o.default)(t))))},t.windowScroll=function(e,n){t.shouldUpdateScroll(n,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,n){var r=document.getElementById(e.substring(1));r&&t.shouldUpdateScroll(n,t.props)&&r.scrollIntoView()},t.shouldUpdateScroll=function(e,n){var r=t.props.shouldUpdateScroll;return!r||r.call((0,o.default)(t),e,n)},t}(0,i.default)(t,e);var n=t.prototype;return n._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,n=t.key,r=t.hash;n&&(e=this._stateStorage.read(this.props.location,n)),r?this.scrollToHash(decodeURI(r),void 0):e&&this.windowScroll(e,void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(e){var t,n=this.props.location,r=n.hash,o=n.key;o&&(t=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),e):this.windowScroll(t,e)},n.render=function(){return s.createElement(l.Provider,{value:this._stateStorage},this.props.children)},t}(s.Component);t.ScrollHandler=f,f.propTypes={shouldUpdateScroll:a.default.func,children:a.default.element.isRequired,location:a.default.object.isRequired}},74351:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var r=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(r);return o?JSON.parse(o):0}catch(i){return window&&window[n]&&window[n][r]?window[n][r]:0}},t.save=function(e,t,r){var o=this.getStateKey(e,t),i=JSON.stringify(r);try{window.sessionStorage.setItem(o,i)}catch(s){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(i)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r},73721:function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,i.useLocation)(),n=(0,o.useContext)(r.ScrollC
2ontext),s=(0,o.useRef)(null);return(0,o.useLayoutEffect)((function(){if(s.current){var r=n.read(t,e);s.current.scrollTo(0,r||0)}}),[t.key]),{ref:s,onScroll:function(){s.current&&n.save(t,e,s.current.scrollTop)}}};var r=n(33215),o=n(96540),i=n(86462)},86071:function(e,t,n){"use strict";e.exports=n.g.fetch},2311:function(e,t,n){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;n(75535),n(99300);t.onInitialClientRender=()=>{}},53309:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap((e=>(null==e?void 0:e.forward)||[]))}},99300:function(e,t,n){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),n=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();n&&n.remove();const i=(0,o.getForwards)(e),s=document.createElement("script");s.dataset.partytown="",s.innerHTML=(0,r.partytownSnippet)({forward:i}),document.head.appendChild(s)};var r=n(14656),o=n(53309)},96877:function(e,t,n){t.components={"component---src-components-page-components-article-page-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(9021),n.e(9747),n.e(4760),n.e(1886),n.e(884),n.e(2073),n.e(9481)]).then(n.bind(n,91655)),"component---src-components-page-components-ask-lifestyle-article-page-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(9021),n.e(9747),n.e(4760),n.e(1886),n.e(884),n.e(2073),n.e(7563)]).then(n.bind(n,88292)),"component---src-components-page-components-topics-page-topic-page-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(9021),n.e(9747),n.e(4760),n.e(1886),n.e(884),n.e(1146)]).then(n.bind(n,99985)),"component---src-pages-404-js":()=>n.e(5125).then(n.bind(n,23331)),"component---src-pages-account-deletion-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(3703)]).then(n.bind(n,22794)),"component---src-pages-ask-lifestyle-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(9021),n.e(9747),n.e(2775)]).then(n.bind(n,61437)),"component---src-pages-ask-qpl-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(3772),n.e(4321),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(9021),n.e(1886),n.e(4247),n.e(7342),n.e(2375)]).then(n.bind(n,58135)),"component---src-pages-ask-self-assessment-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(9021),n.e(7391)]).then(n.bind(n,79699)),"component---src-pages-decision-aid-fertility-compare-and-choose-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(6661),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(2207),n.e(6479),n.e(5605),n.e(4968)]).then(n.bind(n,22761)),"component---src-pages-decision-aid-fertility-explore-your-options-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(5422),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(8467)]).then(n.bind(n,95242)),"component---src-pages-decision-aid-fertility-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(8938)]).then(n.bind(n,5486)),"component---src-pages-decision-aid-fertility-more-information-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4267)]).then(n.bind(n,3561)),"component---src-pages-decision-aid-fertility-option-groups-advanced-fertility-treatments-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(7838),n.e(8780),n.e(9698)]).then(n.bind(n,18257)),"component---src-pages-decision-aid-fertility-option-groups-ovulation-induction-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(7838),n.e(8780),n.e(6912)]).then(n.bind(n,85712)),"component---src-pages-decision-aid-fertility-options-clomiphene-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(7838),n.e(8780),n.e(6513)]).then(n.bind(n,38389)),"component---src-pages-decision-aid-fertility-options-gonadotropin-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(7838),n.e(8780),n.e(6845)]).then(n.bind(n,74865)),"component---src-pages-decision-aid-fertility-options-ivf-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(7838),n.e(8780),n.e(4474)]).then(n.bind(n,2364)),"component---src-pages-decision-aid-fertility-options-ivm-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(7838),n.e(8780),n.e(5805)]).then(n.bind(n,91431)),"component---src-pages-decision-aid-fertility-options-letrozole-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(7838),n.e(8780),n.e(1909)]).then(n.bind(n,73243)),"component---src-pages-decision-aid-fertility-options-metformin-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(7838),n.e(8780),n.e(1922)]).then(n.bind(n,61568)),"component---src-pages-decision-aid-fertility-options-natural-conception-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(7838),n.e(8780),n.e(2527)]).then(n.bind(n,34990)),"component---src-pages-decision-aid-fertility-options-ovarian-surgery-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(7838),n.e(8780),n.e(9519)]).then(n.bind(n,56829)),"component---src-pages-decision-aid-fertility-take-action-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(9964),n.e(6256),n.e(6489),n.e(3548),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4788),n.e(6719),n.e(6479),n.e(5701)]).then(n.bind(n,449)),"component---src-pages-decision-aid-fertility-understand-pros-cons-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4046)]).then(n.bind(n,40746)),"component---src-pages-decision-aid-fertility-what-else-do-you-need-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(7568)]).then(n.bind(n,94956)),"component---src-pages-decision-aid-fertility-what-may-affect-your-choice-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(2761)]).then(n.bind(n,27648)),"component---src-pages-decision-aid-fertility-your-next-steps-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6479),n.e(560
25),n.e(3682)]).then(n.bind(n,18962)),"component---src-pages-decision-aid-fertility-your-options-overview-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(2721)]).then(n.bind(n,56846)),"component---src-pages-decision-aid-hirsutism-how-decision-aid-works-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7467),n.e(2705)]).then(n.bind(n,59621)),"component---src-pages-decision-aid-hirsutism-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(7137),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7467),n.e(1520),n.e(1820)]).then(n.bind(n,13662)),"component---src-pages-decision-aid-hirsutism-options-antiandrogens-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7502),n.e(7467),n.e(4588),n.e(830),n.e(9850)]).then(n.bind(n,65343)),"component---src-pages-decision-aid-hirsutism-options-compare-choose-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7502),n.e(7467),n.e(7941),n.e(7950)]).then(n.bind(n,19054)),"component---src-pages-decision-aid-hirsutism-options-contraceptive-pill-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7502),n.e(7467),n.e(4588),n.e(830),n.e(9350)]).then(n.bind(n,283)),"component---src-pages-decision-aid-hirsutism-options-cosmetic-treatments-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7502),n.e(7467),n.e(4588),n.e(830),n.e(9904)]).then(n.bind(n,79203)),"component---src-pages-decision-aid-hirsutism-options-do-nothing-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7502),n.e(7467),n.e(4588),n.e(830),n.e(8324)]).then(n.bind(n,98665)),"component---src-pages-decision-aid-hirsutism-options-electrolysis-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7502),n.e(7467),n.e(4588),n.e(830),n.e(1323)]).then(n.bind(n,45430)),"component---src-pages-decision-aid-hirsutism-options-laser-light-therapy-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7502),n.e(7467),n.e(4588),n.e(830),n.e(6539)]).then(n.bind(n,46159)),"component---src-pages-decision-aid-hirsutism-options-more-information-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(2361)]).then(n.bind(n,23265)),"component---src-pages-decision-aid-hirsutism-options-what-else-do-you-need-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(132)]).then(n.bind(n,70129)),"component---src-pages-decision-aid-hirsutism-options-your-next-steps-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7502),n.e(7467),n.e(3982)]).then(n.bind(n,52349)),"component---src-pages-decision-aid-hirsutism-take-action-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(9964),n.e(6256),n.e(6489),n.e(3548),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7502),n.e(7467),n.e(4788),n.e(116)]).then(n.bind(n,53824)),"component---src-pages-decision-aid-hirsutism-your-options-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7502),n.e(7467),n.e(516)]).then(n.bind(n,55673)),"component---src-pages-decision-aid-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(9021),n.e(9747),n.e(2415)]).then(n.bind(n,82705)),"component---src-pages-decision-aid-irregular-periods-explore-options-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(1902)]).then(n.bind(n,53828)),"component---src-pages-decision-aid-irregular-periods-factors-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(2652),n.e(198)]).then(n.bind(n,74920)),"component---src-pages-decision-aid-irregular-periods-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(2698)]).then(n.bind(n,7043)),"component---src-pages-decision-aid-irregular-periods-options-combined-contraceptive-pill-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(2964)]).then(n.bind(n,85469)),"component---src-pages-decision-aid-irregular-periods-options-compare-choose-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(6661),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(7502),n.e(3714),n.e(2207),n.e(5592)]).then(n.bind(n,85625)),"component---src-pages-decision-aid-irregular-periods-options-do-nothing-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(5254)]).then(n.bind(n,4149
26)),"component---src-pages-decision-aid-irregular-periods-options-lifestyle-management-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(814)]).then(n.bind(n,33758)),"component---src-pages-decision-aid-irregular-periods-options-metformin-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(3074)]).then(n.bind(n,37752)),"component---src-pages-decision-aid-irregular-periods-options-more-information-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(8599)]).then(n.bind(n,90660)),"component---src-pages-decision-aid-irregular-periods-options-progestin-only-pill-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(303)]).then(n.bind(n,45197)),"component---src-pages-decision-aid-irregular-periods-options-what-else-do-you-need-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(3938)]).then(n.bind(n,22285)),"component---src-pages-decision-aid-irregular-periods-options-your-next-steps-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(7502),n.e(3714),n.e(1732)]).then(n.bind(n,2621)),"component---src-pages-decision-aid-irregular-periods-take-action-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(9964),n.e(6256),n.e(6489),n.e(3548),n.e(7886),n.e(3942),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(4788),n.e(6719),n.e(8142)]).then(n.bind(n,51904)),"component---src-pages-decision-aid-irregular-periods-your-options-overview-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(298)]).then(n.bind(n,15197)),"component---src-pages-decision-aid-pcos-diagnosis-health-profile-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(5422),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7467),n.e(4588),n.e(2410),n.e(9911)]).then(n.bind(n,72062)),"component---src-pages-decision-aid-pcos-diagnosis-how-decision-aid-works-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7467),n.e(3932)]).then(n.bind(n,4090)),"component---src-pages-decision-aid-pcos-diagnosis-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(7137),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7467),n.e(1520),n.e(1271)]).then(n.bind(n,50470)),"component---src-pages-decision-aid-pcos-diagnosis-next-steps-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(7467),n.e(3689),n.e(1494),n.e(4588),n.e(7941),n.e(2060),n.e(2410),n.e(9900)]).then(n.bind(n,61744)),"component---src-pages-decision-aid-pcos-diagnosis-old-diagnosis-wizard-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7137),n.e(5422),n.e(6631),n.e(6444),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(6012)]).then(n.bind(n,62574)),"component---src-pages-decision-aid-pcos-diagnosis-old-explore-options-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(6153),n.e(3055)]).then(n.bind(n,17120)),"component---src-pages-decision-aid-pcos-diagnosis-old-factors-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(2652),n.e(7143)]).then(n.bind(n,78688)),"component---src-pages-decision-aid-pcos-diagnosis-old-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7867)]).then(n.bind(n,81828)),"component---src-pages-decision-aid-pcos-diagnosis-old-options-amh-test-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(7145),n.e(1121)]).then(n.bind(n,24840)),"component---src-pages-decision-aid-pcos-diagnosis-old-options-compare-choose-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(6661),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(7502),n.e(3714),n.e(2207),n.e(5503)]).then(n.bind(n,31596)
2),"component---src-pages-decision-aid-pcos-diagnosis-old-options-do-nothing-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(7145),n.e(5153)]).then(n.bind(n,85142)),"component---src-pages-decision-aid-pcos-diagnosis-old-options-more-information-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(5280)]).then(n.bind(n,45950)),"component---src-pages-decision-aid-pcos-diagnosis-old-options-take-action-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(9964),n.e(6256),n.e(6489),n.e(3548),n.e(7886),n.e(3942),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(4788),n.e(6719),n.e(1694)]).then(n.bind(n,66343)),"component---src-pages-decision-aid-pcos-diagnosis-old-options-transabdominal-ultrasound-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(7145),n.e(1429)]).then(n.bind(n,51039)),"component---src-pages-decision-aid-pcos-diagnosis-old-options-transvaginal-ultrasound-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(7145),n.e(4322)]).then(n.bind(n,17328)),"component---src-pages-decision-aid-pcos-diagnosis-old-options-what-else-do-you-need-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(4695)]).then(n.bind(n,79406)),"component---src-pages-decision-aid-pcos-diagnosis-old-options-your-next-steps-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(7502),n.e(3714),n.e(9269)]).then(n.bind(n,28923)),"component---src-pages-decision-aid-pcos-diagnosis-old-required-tests-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(6153),n.e(4590)]).then(n.bind(n,93120)),"component---src-pages-decision-aid-pcos-diagnosis-options-amh-test-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7467),n.e(4588),n.e(830),n.e(7445),n.e(9101)]).then(n.bind(n,60975)),"component---src-pages-decision-aid-pcos-diagnosis-options-compare-choose-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(7467),n.e(3689),n.e(1494),n.e(7941),n.e(2060),n.e(3819)]).then(n.bind(n,15189)),"component---src-pages-decision-aid-pcos-diagnosis-options-do-nothing-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7467),n.e(4588),n.e(830),n.e(7445),n.e(6389)]).then(n.bind(n,2647)),"component---src-pages-decision-aid-pcos-diagnosis-options-transabdominal-ultrasound-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7467),n.e(4588),n.e(830),n.e(7445),n.e(4697)]).then(n.bind(n,59749)),"component---src-pages-decision-aid-pcos-diagnosis-options-transvaginal-ultrasound-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(1972),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7467),n.e(4588),n.e(830),n.e(7445),n.e(8222)]).then(n.bind(n,68549)),"component---src-pages-decision-aid-pcos-diagnosis-self-check-summary-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7467),n.e(7491)]).then(n.bind(n,49605)),"component---src-pages-decision-aid-pcos-diagnosis-self-checks-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7467),n.e(4588),n.e(2155)]).then(n.bind(n,96992)),"component---src-pages-decision-aid-pcos-diagnosis-take-action-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(9964),n.e(6256),n.e(6489),n.e(3548),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7467),n.e(4788),n.e(3303)
2]).then(n.bind(n,68195)),"component---src-pages-decision-aid-pcos-diagnosis-your-options-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(3772),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(7467),n.e(8097)]).then(n.bind(n,57253)),"component---src-pages-decision-aid-pcos-metabolic-health-compare-and-choose-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(6661),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(2207),n.e(5341),n.e(4563)]).then(n.bind(n,67298)),"component---src-pages-decision-aid-pcos-metabolic-health-explore-your-options-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(1376)]).then(n.bind(n,93349)),"component---src-pages-decision-aid-pcos-metabolic-health-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(591)]).then(n.bind(n,57983)),"component---src-pages-decision-aid-pcos-metabolic-health-metabolic-health-risks-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(9956)]).then(n.bind(n,44697)),"component---src-pages-decision-aid-pcos-metabolic-health-options-diabetes-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(7905)]).then(n.bind(n,34685)),"component---src-pages-decision-aid-pcos-metabolic-health-options-do-nothing-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(3689),n.e(7838),n.e(6717)]).then(n.bind(n,83499)),"component---src-pages-decision-aid-pcos-metabolic-health-options-dyslipidemia-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(3689),n.e(7838),n.e(874)]).then(n.bind(n,47791)),"component---src-pages-decision-aid-pcos-metabolic-health-options-fbg-test-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(3689),n.e(7838),n.e(5782)]).then(n.bind(n,37812)),"component---src-pages-decision-aid-pcos-metabolic-health-options-hba-1-c-test-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(3689),n.e(7838),n.e(3756)]).then(n.bind(n,43977)),"component---src-pages-decision-aid-pcos-metabolic-health-options-hypertension-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(3689),n.e(7838),n.e(8378)]).then(n.bind(n,17182)),"component---src-pages-decision-aid-pcos-metabolic-health-options-ogtt-test-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(3689),n.e(7838),n.e(4573)]).then(n.bind(n,49630)),"component---src-pages-decision-aid-pcos-metabolic-health-take-action-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(9964),n.e(6256),n.e(6489),n.e(3548),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4788),n.e(6719),n.e(6104)]).then(n.bind(n,16028)),"component---src-pages-decision-aid-pcos-metabolic-health-what-else-do-you-need-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(121)]).then(n.bind(n,54209)),"component---src-pages-decision-aid-pcos-metabolic-health-what-may-affect-your-choice-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(3656)]).then(n.bind(n,88134)),"component---src-pages-decision-aid-pcos-metabolic-health-your-next-steps-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(5341),n.e(2559)]).then(n.bind(n,55087)),"component---src-pages-decision-aid-pcos-metabolic-health-your-options-overview-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(624)]).then(n.bind(n,33188)),"component---src-pages-decision-aid-pcos-weight-management-explore-options-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(6153),n.e(1824)]).then(n.bind(n,23630)),"component---src-pages-decision-aid-pcos-weight-management-factors-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(2652),n.e(3500)]).then(n.bind(n,67299)),"component---src-pages-decision-aid-pcos-weight-management-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(7544)]).then(n.bind(n,8250)),"component---src-pages-decision-aid-pcos-weight-management-medications-to-support-weight-loss-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(8359)
2]).then(n.bind(n,15077)),"component---src-pages-decision-aid-pcos-weight-management-options-compare-choose-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(6661),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(7502),n.e(3714),n.e(2207),n.e(8650)]).then(n.bind(n,68546)),"component---src-pages-decision-aid-pcos-weight-management-options-healthy-lifestyle-focused-on-weight-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(2794),n.e(6031)]).then(n.bind(n,882)),"component---src-pages-decision-aid-pcos-weight-management-options-healthy-lifestyle-not-focused-on-weight-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(7311)]).then(n.bind(n,7e4)),"component---src-pages-decision-aid-pcos-weight-management-options-incretins-based-medication-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(5760)]).then(n.bind(n,15634)),"component---src-pages-decision-aid-pcos-weight-management-options-metformin-wm-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(2794),n.e(5133)]).then(n.bind(n,7908)),"component---src-pages-decision-aid-pcos-weight-management-options-more-information-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(2197)]).then(n.bind(n,5136)),"component---src-pages-decision-aid-pcos-weight-management-options-naltrexone-with-bupropion-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(1613)]).then(n.bind(n,34012)),"component---src-pages-decision-aid-pcos-weight-management-options-orlistat-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(1751)]).then(n.bind(n,56490)),"component---src-pages-decision-aid-pcos-weight-management-options-phentermine-and-topiramate-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(2273)]).then(n.bind(n,22537)),"component---src-pages-decision-aid-pcos-weight-management-options-surgery-to-support-weight-loss-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(7502),n.e(3689),n.e(1494),n.e(1515)]).then(n.bind(n,96146)),"component---src-pages-decision-aid-pcos-weight-management-options-what-else-do-you-need-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(3992)]).then(n.bind(n,154)),"component---src-pages-decision-aid-pcos-weight-management-options-your-next-steps-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(4029),n.e(7502),n.e(3714),n.e(5826)]).then(n.bind(n,31256)),"component---src-pages-decision-aid-pcos-weight-management-take-action-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(8916),n.e(9964),n.e(6256),n.e(6489),n.e(3548),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(4029),n.e(4788),n.e(6719),n.e(5704)]).then(n.bind(n,27404)),"component---src-pages-decision-aid-pcos-weight-management-your-option-overview-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(7602),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4875
2)]).then(n.bind(n,11276)),"component---src-pages-discussion-forum-edit-topic-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(1134)]).then(n.bind(n,28185)),"component---src-pages-discussion-forum-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(6004)]).then(n.bind(n,73154)),"component---src-pages-discussion-forum-start-topic-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(3978)]).then(n.bind(n,73539)),"component---src-pages-discussion-forum-thread-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(9021),n.e(7124)]).then(n.bind(n,44018)),"component---src-pages-goal-setting-achieveable-slider-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(7886),n.e(8815),n.e(5962),n.e(8023),n.e(6899)]).then(n.bind(n,59743)),"component---src-pages-goal-setting-add-habits-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(8916),n.e(203),n.e(5673),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(4802),n.e(9021),n.e(5962),n.e(9747),n.e(9529)]).then(n.bind(n,82908)),"component---src-pages-goal-setting-choose-habits-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(1407),n.e(8916),n.e(7137),n.e(203),n.e(6631),n.e(5673),n.e(8746),n.e(3802),n.e(7682),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(4802),n.e(9021),n.e(5962),n.e(9747),n.e(467)]).then(n.bind(n,25847)),"component---src-pages-goal-setting-goal-review-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(4802),n.e(9021),n.e(5962),n.e(5861),n.e(1976)]).then(n.bind(n,85750)),"component---src-pages-goal-setting-homepage-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(9021),n.e(5962),n.e(5861),n.e(4978)]).then(n.bind(n,91378)),"component---src-pages-goal-setting-importance-slider-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(7886),n.e(8815),n.e(5962),n.e(8023),n.e(5118)]).then(n.bind(n,61364)),"component---src-pages-goal-setting-obstacles-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(7886),n.e(3942),n.e(8815),n.e(4802),n.e(9021),n.e(5962),n.e(6020)]).then(n.bind(n,41977)),"component---src-pages-goal-setting-select-solutions-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(4802),n.e(9021),n.e(5962),n.e(8289)]).then(n.bind(n,98023)),"component---src-pages-goal-setting-set-goal-metrics-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(9021),n.e(5962),n.e(8318)]).then(n.bind(n,22684)),"component---src-pages-goal-setting-solutions-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(7886),n.e(3942),n.e(8815),n.e(4802),n.e(9021),n.e(5962),n.e(1597)]).then(n.bind(n,64978)),"component---src-pages-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(6153),n.e(9021),n.e(9747),n.e(9245)]).then(n.bind(n,88081)),"component---src-pages-log-in-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4760),n.e(2377)]).then(n.bind(n,65958)),"component---src-pages-log-out-tsx":()=>Promise.all([n.e(1869),n.e(3616)]).then(n.bind(n,47610)),"component---src-pages-my-dashboard-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(4321),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(9021),n.e(5962),n.e(1886),n.e(5861),n.e(4247),n.e(7342),n.e(8314)]).then(n.bind(n,91375)),"component---src-pages-privacy-policy-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(756)]).then(n.bind(n,10555)),"component---src-pages-profile-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(5054)]).then(n.bind(n,99256)),"component---src-pages-search-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(2292)]).then(n.bind(n,39301)),"component---src-pages-sign-up-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4760),n.e(7374)]).then(n.bind(n,19069)),"component---src-pages-terms-privacy-index-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4288)]
2).then(n.bind(n,64906)),"component---src-pages-topics-tsx":()=>Promise.all([n.e(1869),n.e(6593),n.e(6379),n.e(3197),n.e(7886),n.e(3942),n.e(8815),n.e(470),n.e(3861),n.e(4802),n.e(9021),n.e(9747),n.e(5459)]).then(n.bind(n,65897))}},79377:function(e,t,n){e.exports=[{plugin:n(18710),options:{plugins:[],trackingIds:["G-ZXZGCX9FZF "],pluginConfig:{head:!0,respectDNT:!1,exclude:[],origin:"https://www.googletagmanager.com",delayOnRouteUpdate:0},gtagConfig:{}}},{plugin:n(95817),options:{plugins:[],google:{families:["Work Sans:400,500,600","Quattrocento Sans:400, 400i, 700"]}}},{plugin:n(37514),options:{plugins:[],pathToConfigModule:"src/utils/typography",omitGoogleFont:!0}},{plugin:n(27914),options:{plugins:[],name:"AskPMOS",short_name:"AskPMOS",start_url:"/",background_color:"#ffffff",theme_color:"#003b78",display:"standalone",icon:"src/images/app-icon-rounded-favicon.png",icon_options:{purpose:"any maskable"},legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"a7dbbc57171127c9d44afa31af417b85"}},{plugin:n(26074),options:{plugins:[]}},{plugin:n(18108),options:{plugins:[]}},{plugin:n(2311),options:{plugins:[]}}]},60020:function(e,t,n){const r=n(79377),{getResourceURLsForPathname:o,loadPage:i,loadPageSync:s}=n(56814).Zf;t.N=function(e,t,n,a){void 0===t&&(t={});let u=r.map((n=>{if(!n.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=i,t.loadPageSync=s;const r=n.plugin[e](t,n.options);return r&&a&&(t=a({args:t,result:r,plugin:n})),r}));return u=u.filter((e=>void 0!==e)),u.length>0?u:n?[n]:[]},t.v=(e,t,n)=>r.reduce(((n,r)=>r.plugin[e]?n.then((()=>r.plugin[e](t,r.options))):n),Promise.resolve())},50700:function(e,t){t.U=()=>""},79369:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map((function(e){e(n)})),(e["*"]||[]).slice().map((function(e){e(t,n)}))}}}()},88990:function(e,t,n){"use strict";n.d(t,{Yl:function(){return h},Hh:function(){return p},UA:function(){return d},QX:function(){return f}});var r=n(86462),o=n(38797),i=e=>{if(void 0===e)return e;let[t,n=""]=e.split("?");return n&&(n="?"+n),"/"===t?"/"+n:"/"===t.charAt(t.length-1)?t.slice(0,-1)+n:t+n},s=n(16491);const a=new Map;let u=[];const c=e=>{let t=e;if(-1!==e.indexOf("?")){const[n,r]=e.split("?");t=`${n}?${encodeURIComponent(r)}`}const n=decodeURIComponent(t);return(0,o.A)(n,decodeURIComponent("")).split("#")[0]};function l(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const f=e=>{u=e},h=e=>{const t=g(e),n=u.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),o=(0,r.pick)(n,t);return o?i(o.route.originalPath):null},d=e=>{const t=g(e),n=u.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),o=(0,r.pick)(n,t);return o?o.params:{}},p=e=>{const t=c(l(e));if(a.has(t))return a.get(t);const n=(0,s.X)(e);if(n)return p(n.toPath);let r=h(t);return r||(r=g(e)),a.set(t,r),r},g=e=>{let t=c(l(e));return"/index.html"===t&&(t="/"),t=i(t),t}},24794:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return a.N_},PageRenderer:function(){return i()},Script:function(){return A.Script},ScriptStrategy:function(){return A.ScriptStrategy},Slice:function(){return w},StaticQuery:function(){return u.de},StaticQueryContext:function(){return u.G},collectedScriptsByPage:function(){return A.collectedScriptsByPage},graphql:function(){return E},navigate:function(){return a.oo},parsePath:function(){return a.Rr},prefetchPathname:function(){return P},scriptCache:function(){return A.scriptCache},scriptCallbackCache:function(){return A.scriptCallbackCache},useScrollRestoration:function(){return s.RV},useStaticQuery:function(){return u.GR},withAssetPrefix:function(){return a.Zf},withPrefix:function(){return a.Fe}});var r=n(56814),o=n(42549),i=n.n(o),s=n(97035),a=n(57078),u=n(7231),c=n(77387);function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=n(63662);function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function d(e){var t="function"==typeof Map?new Map:void 0;return d=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(h())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&(0,f.A)(o,n.prototype),o}(e,arguments,l(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,f.A)(n,e)},d(e)}var p=n(96540),g=n(50700),y=n(2024);const m=e=>{let{sliceId:t,children:n}=e;const r=[p.createElement("slice-start",{id:`${t}-1`}),p.createElement("slice-end",{id:`${t}-1`})];return n&&(r.push(n),r.push(p.createElement("slice-start",{id:`${t}-2`}),p.createElement("slice-end",{id:`${t}-2`}))),r},v=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const i=(0,p.useContext)(y.Jr),s=(0,p.useContext)(y.hr),a=i[t];if(!a){if(n)return null;throw new Error(`Slice "${a}" for "${t}" slot not found`)}const u=((e,t)=>Object.keys(t).length?`${e}-${(0,g.U)(t)}`:e)(a,o);let c=s[u];return c?r&&(c.hasChildren=!0):s[u]=c={props:o,sliceName:a,hasChildren:!!r},p.createElement(m,{sliceId:u},r)},b=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const i=(0,p.useContext)(y.Jr),s=(0,p.useContext)(y.dd),a=i[t],u=s.get(a);if(!u){if(n)return null;throw new Error(`Slice "${a}" for "${t}" slot not found`)}return p.createElement(u.component,Object.assign({sliceContext:u.sliceContext,data:u.data},o),r)};function w(e){{const t={...e,sliceName:e.alias};delete t.alias,delete t.__renderedByLocation;const n=(0,p.useContext)(y.j$),r=_(e);if(Object.keys(r).length)throw new S("browser"===n.renderEnvironment,t.sliceName,r,e.__renderedByLocation);if("server"===n.renderEnvironment)return p.createElement(v,t);if("browser"===n.renderEnvironment)return p.createElement(b,t);if("engines"===n.renderEnvironment||"dev-ssr"===n.renderEnvironment)return p.createElement(b,t);if("slices"===n.renderEnvironment){let t="";try{t=`\n\nSlice component "${n.sliceRoot.name}" (${n.sliceRoot.componentPath}) tried to render <Slice alias="${e.alias}
2"/>`}catch{}throw new Error(`Nested slices are not supported.${t}\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices`)}throw new Error(`Slice context "${n.renderEnvironment}" is not supported.`)}}let S=function(e){function t(n,r,o,i){var s;const a=Object.entries(o).map((e=>{let[t,n]=e;return`not serializable "${n}" type passed to "${t}" prop`})).join(", "),u="SlicePropsError";let c="",l="";if(n){const e=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack().trim().split("\n").slice(1);e[0]=e[0].trim(),c="\n"+e.join("\n"),l=`Slice "${r}" was passed props that are not serializable (${a}).`}else{l=`${u}: Slice "${r}" was passed props that are not serializable (${a}).`;c=`${l}\n${(new Error).stack.trim().split("\n").slice(2).join("\n")}`}return(s=e.call(this,l)||this).name=u,c?s.stack=c:Error.captureStackTrace(s,t),i&&(s.forcedLocation={...i,functionName:"Slice"}),s}return(0,c.A)(t,e),t}(d(Error));const _=function(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n=[]),void 0===r&&(r=null);for(const[o,i]of Object.entries(e)){if(null==i||!r&&"children"===o)continue;const e=r?`${r}.${o}`:o;"function"==typeof i?t[e]=typeof i:"object"==typeof i&&n.indexOf(i)<=0&&(n.push(i),_(i,t,n,e))}return t};var A=n(75535);const P=r.Ay.enqueue;function E(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},56814:function(e,t,n){"use strict";n.d(t,{Wi:function(){return f},N5:function(){return S},Ay:function(){return P},Rh:function(){return C},LE:function(){return E},Zf:function(){return A},iC:function(){return _}});var r=n(77387),o=n(54506),i=n(4051);const s=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise(((n,r)=>{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((e=>{o.setAttribute(e,t[e])})),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=()=>{200===r.status?t():n()},r.send(null)}))},a={};var u=function(e,t){return new Promise((n=>{a[e]?n():s(e,t).then((()=>{n(),a[e]=!0})).catch((()=>{}))}))},c=n(79369),l=n(88990);const f={Error:"error",Success:"success"},h=e=>{const[t,n]=e.split("?");var r;return`/page-data/${"/"===t?"index":(r="/"===(r=t)[0]?r.slice(1):r).endsWith("/")?r.slice(0,-1):r}/page-data.json${n?`?${n}`:""}`},d=e=>e.startsWith("//");function p(e,t){return void 0===t&&(t="GET"),new Promise((n=>{const r=new XMLHttpRequest;r.open(t,e,!0),r.onreadystatechange=()=>{4==r.readyState&&n(r)},r.send(null)}))}const g=/bot|crawler|spider|crawling/i,y=function(e,t,n){var r;void 0===t&&(t=null);const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(r=e.slicesMap)&&void 0!==r?r:{}};return{component:t,head:n,json:e.result,page:o}};function m(e){return new Promise((t=>{try{const n=e.readRoot();t(n)}catch(n){if(!Object.hasOwnProperty.call(n,"_response")||!Object.hasOwnProperty.call(n,"_status"))throw n;setTimeout((()=>{m(e).then(t)}),200)}}))}let v=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slicesDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,l.QX)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=p(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then((t=>(this.inFlightNetworkRequests.delete(e),t))).catch((t=>{throw this.inFlightNetworkRequests.delete(e),t}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((e=>e))},t.fetchPageDataJson=function(e){const{pagePath:t,retries:n=0}=e,r=h(t);return this.memoizedGet(r).then((r=>{const{status:o,responseText:i}=r;if(200===o)try{const n=JSON.parse(i);if(void 0===n.path)throw new Error("not a valid pageData response");const r=t.split("?")[1];return r&&!n.path.includes(r)&&(n.path+=`?${r}`),Object.assign(e,{status:f.Success,payload:n})}catch(s){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:f.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0}
2)):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPageDataJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:f.Error})}))},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:n=0}=e,r=h(t).replace(".json","-rsc.json");return this.memoizedGet(r).then((r=>{const{status:o,responseText:i}=r;if(200===o)try{return Object.assign(e,{status:f.Success,payload:i})}catch(s){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:f.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:f.Error})}))},t.loadPageDataJson=function(e){const t=(0,l.Hh)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then((e=>(this.pageDataDb.set(t,e),e)))},t.loadPartialHydrationJson=function(e){const t=(0,l.Hh)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then((e=>(this.partialHydrationDb.set(t,e),e)))}
2,t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return p(`/slice-data/${e}.json`,"GET").then((t=>{const n=JSON.parse(t.responseText);return this.slicesDataDb.set(e,n),{sliceName:e,jsonPayload:n}}))},t.findMatchPath=function(e){return(0,l.Yl)(e)},t.loadPage=function(e){const t=(0,l.Hh)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const n=[this.loadAppData(),this.loadPageDataJson(t)];const r=Promise.all(n).then((e=>{const[n,r,s]=e;if(r.status===f.Error||(null==s?void 0:s.status)===f.Error)return{status:f.Error};let a=r.payload;const{componentChunkName:u,staticQueryHashes:l=[],slicesMap:h={}}=a,d={},p=Array.from(new Set(Object.values(h))),g=e=>{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then((t=>{return{component:(n=t,n&&n.default||n),sliceContext:e.result.sliceContext,data:e.result.data};var n}));return this.sliceInflightDb.set(e.name,t),t.then((t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)})),t};return Promise.all(p.map((e=>this.loadSliceDataJson(e)))).then((e=>{const h=[],p=(0,o.A)(l);for(const{jsonPayload:t,sliceName:n}of Object.values(e)){h.push({name:n,...t});for(const e of t.staticQueryHashes)p.includes(e)||p.push(e)}const v=[Promise.all(h.map(g)),this.loadComponent(u,"head")];v.push(this.loadComponent(u));const b=Promise.all(v).then((e=>{const[t,o,u]=e;d.createdAt=new Date;for(const n of t)(!n||n instanceof Error)&&(d.status=f.Error,d.error=n);let c;if((!u||u instanceof Error)&&(d.status=f.Error,d.error=u),d.status!==f.Error){if(d.status=f.Success,!0!==r.notFound&&!0!==(null==s?void 0:s.notFound)||(d.notFound=!0),a=Object.assign(a,{webpackCompilationHash:n?n.webpackCompilationHash:""}),"string"==typeof(null==s?void 0:s.payload)){c=y(a,null,o),c.partialHydration=s.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(s.payload))},pull(e){e.close()},cancel(){}});return m((0,i.createFromReadableStream)(e)).then((e=>(c.partialHydration=e,c)))}c=y(a,u,o)}return c})),w=Promise.all(p.map((e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet(`/page-data/sq/d/${e}.json`).then((t=>{const n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}})).catch((()=>{throw new Error(`We couldn't load "/page-data/sq/d/${e}.json"`)}))}))).then((e=>{const t={};return e.forEach((e=>{let{staticQueryHash:n,jsonPayload:r}=e;t[n]=r,this.staticQueryDb[n]=r})),t}));return Promise.all([b,w]).then((e=>{let n,[r,o]=e;return r&&(n={...r,staticQueryResults:o},d.payload=n,c.A.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,d),d.error?{error:d.error,status:d.status}:n})).catch((e=>({error:e,status:f.Error})))}))}));return r.then((()=>{this.inFlightDb.delete(t)})).catch((e=>{throw this.inFlightDb.delete(t),e})),this.inFlightDb.set(t,r),r},t.loadPageSync=function(e,t){void 0===t&&(t={});const n=(0,l.Hh)(e);if(this.pageDb.has(n)){var r;const e=this.pageDb.get(n);if(e.payload)return e.payload;if(null!==(r=t)&&void 0!==r&&r.withErrorDetails)return{error:e.error,status:e.status}}},t.shouldPrefetch=function(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&((!navigator.userAgent||!g.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise(((e,n)=>{t.resolve=e,t.reject=n})),this.prefetchQueued.push([e,t]);const n=new AbortController;return n.signal.addEventListener("abort",(()=>{const t=this.prefetchQueued.findIndex((t=>{let[n]=t;return n===e}));-1!==t&&this.prefetchQueued.splice(t,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)),{then:(e,n)=>t.promise.then(e,n),abort:n.abort.bind(n)}},t._processNextPrefetchBatch=function(){(window.requestIdleCallback||(e=>setTimeout(e,0)))((()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map((e=>{let[t,n]=e;return this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled?n.resolve(!1):this.doPrefetch((0,l.Hh)(t)).then((()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t)),n.resolve(!0)}))})));this.prefetchQueued.length?t.then((()=>{setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)})):this.isPrefetchQueueRunning=!1}))},t.doPrefetch=function(e){const t=h(e);return u(t,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(e)))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,l.Hh)(e),n=this.pageDataDb.get(t);if(n){const e=y(n.payload);return[].concat((0,o.A)(b(e.page.componentChunkName)),[h(t)])}return null},t.isPageNotFound=function(e){const t=(0,l.Hh)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/page-d
2ata/app-data.json").then((t=>{const{status:n,responseText:r}=t;let o;if(200!==n&&e<3)return this.loadAppData(e+1);if(200===n)try{const e=JSON.parse(r);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(i){}return o}))},e}();const b=e=>(window.___chunkMapping[e]||[]).map((e=>""+e));let w,S=function(e){function t(t,n,r){var o;return o=e.call(this,(function(e,n){if(void 0===n&&(n="components"),!t[n="components"][e])throw new Error(`We couldn't find the correct component chunk with the name "${e}"`);return t[n][e]().catch((e=>e))}),n)||this,r&&o.pageDataDb.set((0,l.Hh)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.A)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((e=>{if(e.status!==f.Success)return Promise.resolve();const t=e.payload,n=t.componentChunkName,r=b(n);return Promise.all(r.map(u)).then((()=>t))}))},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((e=>e.notFound?d(t)?e:p(t,"HEAD").then((t=>200===t.status?{status:f.Error}:e)):e))},n.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then((e=>e.notFound?d(t)?e:p(t,"HEAD").then((t=>200===t.status?{status:f.Error}:e)):e))},t}(v);const _=e=>{w=e},A={enqueue:e=>w.prefetch(e),getResourceURLsForPathname:e=>w.getResourceURLsForPathname(e),loadPage:e=>w.loadPage(e),loadPageSync:function(e,t){return void 0===t&&(t={}),w.loadPageSync(e,t)},prefetch:e=>w.prefetch(e),isPageNotFound:e=>w.isPageNotFound(e),hovering:e=>w.hovering(e),loadAppData:()=>w.loadAppData()};var P=A;function E(){return w?w.staticQueryDb:{}}function C(){return w?w.slicesDb:{}}},6017:function(e,t,n){"use strict";n.d(t,{A:function(){return P}});var r=n(96540),o=n(5556),i=n.n(o),s=n(60020),a=n(88990),u=n(54506),c=n(24794),l=n(86462),f=n(79732);function h(e){let{children:t,callback:n}=e;return(0,r.useEffect)((()=>{n()})),t}const d=["link","meta","style","title","base","noscript","script","html","body"];function p(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){const r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function g(e,t){void 0===t&&(t={html:{},body:{}});const n=new Map,r=[];for(const c of e.childNodes){var o,i;const e=c.nodeName.toLowerCase(),l=null===(o=c.attributes)||void 0===o||null===(i=o.id)||void 0===i?void 0:i.value;if(v(c)){if(m(e))if("html"===e||"body"===e)for(const n of c.attributes){const r="style"===n.name;var s;if(t[e]={...t[e]},r||(t[e][n.name]=n.value),r)t[e].style=`${null!==(s=t[e])&&void 0!==s&&s.style?t[e].style:""}${n.value} `}else{let e=c.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),"script"===e.nodeName.toLowerCase()&&(e=y(e)),l)if(n.has(l)){var a;const t=n.get(l);null===(a=r[t].parentNode)||void 0===a||a.removeChild(r[t]),r[t]=e}else r.push(e),n.set(l,r.length-1);else r.push(e)}c.childNodes.length&&r.push.apply(r,(0,u.A)(g(c,t).validHeadNodes))}}return{validHeadNodes:r,htmlAndBodyAttributes:t}}function y(e){const t=document.createElement("script");for(const n of e.attributes)t.setAttribute(n.name,n.value);return t.innerHTML=e.innerHTML,t}function m(e){return d.includes(e)}function v(e){return 1===e.nodeType}const b=document.createElement("div"),w={html:[],body:[]},S=()=>{var e;const{validHeadNodes:t,htmlAndBodyAttributes:n}=g(b);w.html=Object.keys(n.html),w.body=Object.keys(n.body),function(e){if(!e)return;const{html:t,body:n}=e,r=document.querySelector("html");
2r&&Object.entries(t).forEach((e=>{let[t,n]=e;r.setAttribute(t,n)}));const o=document.querySelector("body");o&&Object.entries(n).forEach((e=>{let[t,n]=e;o.setAttribute(t,n)}))}(n);const r=document.querySelectorAll("[data-gatsby-head]");var o;if(0===r.length)return void(o=document.head).append.apply(o,(0,u.A)(t));const i=[];!function(e){let{oldNodes:t,newNodes:n,onStale:r,onNew:o}=e;for(const i of t){const e=n.findIndex((e=>p(e,i)));-1===e?r(i):n.splice(e,1)}for(const i of n)o(i)}({oldNodes:r,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>i.push(e)}),(e=document.head).append.apply(e,i)};function _(e){let{pageComponent:t,staticQueryResults:n,pageComponentProps:o}=e;(0,r.useEffect)((()=>{if(null!=t&&t.Head){!function(e){if("function"!=typeof e)throw new Error(`Expected "Head" export to be a function got "${typeof e}".`)}(t.Head);const{render:i}=(0,f.n)(),a=r.createElement(t.Head,{location:{pathname:(e=o).location.pathname},params:e.params,data:e.data||{},serverData:e.serverData,pageContext:e.pageContext}),u=(0,s.N)("wrapRootElement",{element:a},a,(e=>{let{result:t}=e;return{element:t}})).pop();i(r.createElement(h,{callback:S},r.createElement(c.StaticQueryContext.Provider,{value:n},r.createElement(l.LocationProvider,null,u))),b)}var e;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const{html:t,body:n}=e;if(t){const e=document.querySelector("html");t.forEach((t=>{e&&e.removeAttribute(t)}))}if(n){const e=document.querySelector("body");n.forEach((t=>{e&&e.removeAttribute(t)}))}}(w)}}))}function A(e){const t={...e,params:{...(0,a.UA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let n;var o;n=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,r.createElement)((o=e.pageResources.component)&&o.default||o,{...t,key:e.path||e.pageResources.page.path});_({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,s.N)("wrapPageElement",{element:n,props:t},n,(e=>{let{result:n}=e;return{element:n,props:t}})).pop()}A.propTypes={location:i().object.isRequired,pageResources:i().object.isRequired,data:i().object,pageContext:i().object.isRequired};var P=A},56498:function(e,t,n){"use strict";var r=n(77387),o=n(60020),i=n(96540),s=n(86462),a=n(97035),u=n(7231),c=n(2024),l=n(56814),f=n(16491),h=n(79369);const d={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"};var p=n(57078);function g(e){const t=(0,f.X)(e),{hash:n,search:r}=window.location;return null!=t&&(window.___replace(t.toPath+r+n),!0)}let y="";window.addEventListener("unhandledrejection",(e=>{/loading chunk \d* failed./i.test(e.reason)&&y&&(window.location.pathname=y)}));const m=(e,t)=>{g(e.pathname)||(y=e.pathname,(0,o.N)("onPreRouteUpdate",{location:e,prevLocation:t}))},v=(e,t)=>{g(e.pathname)||(0,o.N)("onRouteUpdate",{location:e,prevLocation:t})},b=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void s.globalHistory.navigate(e);const{pathname:n,search:r,hash:i}=(0,p.Rr)(e),a=(0,f.X)(n);if(a&&(e=a.toPath+r+i),window.___swUpdated)return void(window.location=n+r+i);const u=setTimeout((()=>{h.A.emit("onDelayedLoadPageResources",{pathname:n}),(0,o.N)("onRouteUpdateDelayed",{location:window.location})}),1e3);l.Ay.loadPage(n+r).then((o=>{if(!o||o.status===l.Wi.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(u);o&&o.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=n+r+i),(0,s.navigate)(e,t),clearTimeout(u)}))};function w(e,t){let{location:n}=t;const{pathname:r,hash:i}=n,s=(0,o.N)("shouldUpdateScroll",{prevRouterProps:e,pathname:r,routerProps:{location:n},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(s.length>0)return s[s.length-1];if(e){const{location:{pathname:t}}=e;if(t===r)return i?decodeURI(i.slice(1)):[0,0]}return!0}let S=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=i.createRef(),n}(0,r.A)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){requestAnimationFrame((()=>{let e=`new page at ${this.props.location.pathname}`;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const n=`Navigated to ${e}`;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}}))},n.render=function(){return i.createElement("div",Object.assign({},d,{ref:this.announcementRef}))},t}(i.Component);const _=(e,t)=>
2{var n,r;return e.href!==t.href||(null==e||null===(n=e.state)||void 0===n?void 0:n.key)!==(null==t||null===(r=t.state)||void 0===r?void 0:r.key)};let A=function(e){function t(t){var n;return n=e.call(this,t)||this,m(t.location,null),n}(0,r.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){v(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!_(this.props.location,e.location)&&(m(e.location,this.props.location),!0)},n.componentDidUpdate=function(e){_(e.location,this.props.location)&&v(this.props.location,e.location)},n.render=function(){return i.createElement(i.Fragment,null,this.props.children,i.createElement(S,{location:location}))},t}(i.Component);var P=n(6017),E=n(96877);function C(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var x=function(e){function t(t){var n;n=e.call(this)||this;const{location:r,pageResources:o}=t;return n.state={location:{...r},pageResources:o||l.Ay.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.A)(t,e),t.getDerivedStateFromProps=function(e,t){let{location:n}=e;if(t.location.href!==n.href){return{pageResources:l.Ay.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:{...n}}}return{location:{...n}}};var n=t.prototype;return n.loadResources=function(e){l.Ay.loadPage(e).then((t=>{t&&t.status!==l.Wi.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)}))},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return C(e.props,t)||C(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},n.render=function(){return this.props.children(this.state)},t}(i.Component),O=n(38797),I=n(79732);const k=new l.N5(E,[],window.pageData);(0,l.iC)(k),k.setApiRunner(o.N);const{render:T,hydrate:R}=(0,I.n)();window.asyncRequires=E,window.___emitter=h.A,window.___loader=l.Zf,s.globalHistory.listen((e=>{e.location.action=e.action})),window.___push=e=>b(e,{replace:!1}),window.___replace=e=>b(e,{replace:!0}),window.___navigate=(e,t)=>b(e,t);const U="gatsby-reload-compilation-hash-match";(0,o.v)("onClientEntry").then((()=>{(0,o.N)("registerServiceWorker").filter(Boolean).length>0&&n(30626);const e=e=>i.createElement(s.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},i.createElement(P.A,e)),t=i.createContext({}),f={renderEnvironment:"browser"};let h=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.A)(n,e),n.prototype.render=function(){const{children:e}=this.props;return i.createElement(s.Location,null,(n=>{let{location:r}=n;return i.createElement(x,{location:r},(n=>{let{pageResources:r,location:o}=n;const s=(0,l.LE)(),a=(0,l.Rh)();return i.createElement(u.G.Provider,{value:s},i.createElement(c.j$.Provider,{value:f},i.createElement(c.dd.Provider,{value:a},i.createElement(c.Jr.Provider,{value:r.page.slicesMap},i.createElement(t.Provider,{value:{pageResources:r,location:o}},e)))))}))}))},n}(i.Component),d=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.A)(o,n),o.prototype.render=function(){return i.createElement(t.Consumer,null,(t=>{let{pageResources:n,location:r}=t;return i.createElement(A,{location:r},i.createElement(a.z_,{location:r,shouldUpdateScroll:w},i.createElement(s.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},i.createElement(e,Object.assign({path:"/404.html"===n.page.path||"/500.html"===n.page.path?(0,O.A)(r.pathname,""):encodeURI((n.page.matchPath||n.page.path).split("?")[0])},this.props,{location:r,pageResources:n},n.json)))))}))},o}(i.Component);const{pagePath:p,location:g}=window;p&&""+p!==g.pathname+(p.includes("?")?g.search:"")&&!(k.findMatchPath((0,O.A)(g.pathname,""))||p.match(/^\/(404|500)(\/?|.html)$/)||p.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,s.navigate)(""+p+(p.includes("?")?""
2:g.search)+g.hash,{replace:!0});const y=()=>{try{return sessionStorage}catch{return null}};l.Zf.loadPage(g.pathname+g.search).then((e=>{var t;const n=y();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),n)){if(!("1"===n.getItem(U)))return n.setItem(U,"1"),void window.location.reload(!0)}if(n&&n.removeItem(U),!e||e.status===l.Wi.Error){const t=`page resources for ${g.pathname} not found. Not rendering React`;if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}const r=(0,o.N)("wrapRootElement",{element:i.createElement(d,null)},i.createElement(d,null),(e=>{let{result:t}=e;return{element:t}})).pop(),s=function(){const e=i.useRef(!1);return i.useEffect((()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.N)("onInitialClientRender"))}),[]),i.createElement(h,null,r)},a=document.getElementById("gatsby-focus-wrapper");let u=T;a&&a.children.length&&(u=R);const c=(0,o.N)("replaceHydrateFunction",void 0,u)[0];function f(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;c(i.createElement(s,null),e)}const p=document;if("complete"===p.readyState||"loading"!==p.readyState&&!p.documentElement.doScroll)setTimeout((function(){f()}),0);else{const e=function(){p.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),f()};p.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}}))}))},50963:function(e,t,n){"use strict";n.r(t);var r=n(96540),o=n(56814),i=n(6017);t.default=e=>{let{location:t}=e;const n=o.Ay.loadPageSync(t.pathname);return n?r.createElement(i.A,{location:t,pageResources:n,...n.json}):null}},42549:function(e,t,n){var r;e.exports=(r=n(50963))&&r.default||r},79732:function(e,t,n){"use strict";n.d(t,{n:function(){return o}});const r=new WeakMap;function o(){const e=n(5338);return{render:(t,n)=>{let o=r.get(n);o||r.set(n,o=e.createRoot(n)),o.render(t)},hydrate:(t,n)=>e.hydrateRoot(n,t)}}},16491:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});const r=new Map,o=new Map;function i(e){let t=r.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach((e=>{e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)}))},30626:function(e,t,n){"use strict";n.r(t);var r=n(60020);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",(()=>{(0,r.N)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.N)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.N)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.N)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.N)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},2024:function(e,t,n){"use strict";n.d(t,{Jr:function(){return s},dd:function(){return o},hr:function(){return a},j$:function(){return i}});var r=n(96540);const o=r.createContext({}),i=r.createContext({}),s=r.createContext({}),a=r.createContext({})},7231:function(e,t,n){"use strict";n.d(t,{de:function(){return u},G:function(){return o},GR:function(){return c}});var r=n(96540);const o=(i="StaticQuery",s={},r.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=r.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(i,s):r.createContext(s));var i,s;function a(e){let{staticQueryData:t,data:n,query:o,render:i}=e;const s=n?n.data:t[o]&&t[o].data;return r.createElement(r.Fragment,null,s&&i(s),!s&&r.createElement("div",null,"Loa
2ding (StaticQuery)"))}const u=e=>{const{data:t,query:n,render:i,children:s}=e;return r.createElement(o.Consumer,null,(e=>r.createElement(a,{data:t,query:n,render:i||s,staticQueryData:e})))},c=e=>{var t;r.useContext;const n=r.useContext(o);if(isNaN(Number(e)))throw new Error(`useStaticQuery was called with a string but expects to be called using \`graphql\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\`${e}\`);\n`);if(null!==(t=n[e])&&void 0!==t&&t.data)return n[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},38797:function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e:e}n.d(t,{A:function(){return r}})},18108:function(e,t,n){const{wrapRootElement:r}=n(31304);t.wrapRootElement=r,t.onServiceWorkerUpdateReady=()=>{window.location.reload()}},18710:function(e,t){"use strict";t.onRouteUpdate=function(e,t){var n=e.location;if(void 0===t&&(t={}),"function"!=typeof gtag)return null;var r=t.pluginConfig||{};if(n&&void 0!==window.excludeGtagPaths&&window.excludeGtagPaths.some((function(e){return e.test(n.pathname)})))return null;var o=function(){var e=n?n.pathname+n.search+n.hash:void 0;window.gtag("event","page_view",{page_path:e})},i=r.delayOnRouteUpdate,s=void 0===i?0:i;return"requestAnimationFrame"in window?requestAnimationFrame((function(){requestAnimationFrame((function(){return setTimeout(o,s)}))})):setTimeout(o,32+s),null}},27914:function(e,t,n){"use strict";n.r(t),n.d(t,{onRouteUpdate:function(){return r}});n(24794),n(24598);const r=function(e,t){let{location:n}=e}},24598:function(e,t,n){"use strict";var r=n(24794)},37514:function(){"use strict"},26074:function(e,t,n){"use strict";n.r(t),n.d(t,{wrapRootElement:function(){return a}});var r=n(96540),o=n(86462),i=n(90035),s=e=>{let{children:t}=e;return r.createElement(o.Location,null,(e=>{let{location:n}=e;return r.createElement(i.HX,{location:n,reachHistory:o.globalHistory},t)}))};const a=e=>{let{element:t}=e;return r.createElement(s,null,t)}},95817:function(e,t,n){"use strict";var r,o=n(85505),i=(r=o)&&r.__esModule?r:{default:r};var s=n(15371);t.onInitialClientRender=function(e,t){delete(t=(0,i.default)({},t)).plugins,s.load(t)}},284:function(e,t,n){"use strict";n.d(t,{o:function(){return s},s:function(){return a}});var r=n(59723),o=n(96540);const i=(0,o.createContext)(void 0),s=e=>{let{children:t}=e;const{0:n,1:s}=(0,o.useState)(null),{0:a,1:u}=(0,o.useState)(!0),{0:c,1:l}=(0,o.useState)(null),f=async()=>{try{u(!0),l(null);const e=await r.N.currentAuthenticatedUser();s(e?{user_sub:e.attributes.sub,email:e.attributes.email,firstName:e.attributes.given_name||e.attributes.name||void 0}:null)}catch(e){console.error("Error refreshing user profile:",e),s(null),l("Failed to load user profile")}finally{u(!1)}};return(0,o.useEffect)((()=>{f()}),[]),o.createElement(i.Provider,{value:{userProfile:n,isLoading:a,error:c,refreshUserProfile:f}},t)},a=()=>{const e=(0,o.useContext)(i);if(void 0===e)throw new Error("useUserProfile must be used within a UserProfileProvider");return e}},31304:function(e,t,n){"use strict";n.r(t),n.d(t,{wrapRootElement:function(){return i}});var r=n(96540),o=n(284);const i=e=>{let{element:t}=e;return r.createElement(o.o,null,t)}},79599:function(e,t,n){"use strict";var r=n(96540),o={stream:!0},i=new Map,s=Symbol.for("react.element"),a=Symbol.for("react.lazy"),u=Symbol.for("react.default_value"),c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function l(e,t,n){this._status=e,this._value=t,this._response=n}function f(e){switch(e._status){case 3:return e._value;case 1:var t=JSON.parse(e._value,e._response._fromJSON);return e._status=3,e._value=t;case 2:for(var r=(t=e._value).chunks,o=0;o<r.length;o++){var s=i.get(r[o]);if(null!==s)throw s}return r=n(t.id),t="*"===t.name?r:""===t.name?r.__esModule?r.default:r:r[t.name],e._status=3,e._value=t;case 0:throw e;default:throw e._value}}function h(){return f(m(this,0))}function d(e,t){return new l(3,t,e)}function p(e){if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}function g(e,t){if(0===e._status){var n=e._value;e._status=4,e._value=t,p(n)}}function y(e,t){e._chunks.forEach((function(e){g(e,t)}))}function m(e,t){var n=e._chunks,r=n.get(t);return r||(r=new l(0,null,e),n.set(t,r)),r}function v(e){y(e,Error("Connection closed."))}function b(e,t){if(""!==t){var o=t[0],s=t.indexOf(":",1),a=parseInt(t.substring(1,s),16);switch(s=t.substring(s+1),o){case"J":(o=(t=e._chunks).get(a))?0===o._status&&(e=o._value,o._status=1,o._value=s,p(e)):t.set(a,new l(1,s,e));break;case"M":o=(t=e._chunks).get(a),s=JSON.parse(s,e._fromJSON);var f=e._bundlerConfig;f=(s=f?f[s.id][s.name]:s).chunks;for(var h=0;h<f.length;h++){var y=f[h];if(void 0===i.get(y)){var m=n.e(y),v=i.set.bind(i,y,null),b=i.set.bind(i,y);m.then(v,b),i.set(y,m)}}o?0===o._status&&(e=o._value,o._status=2,o._value=s,p(e)):t.set(a,new l(2,s,e));break;case"P":e._chunks.set(a,d(e,function(e){return c[e]||(c[e]=r.createServerContext(e,u)),c[e]}(s).Provider));break;case"S":o=JSON.parse(s),e._chunks.set(a,d(e,Symbol.for(o)));break;case"E":t=JSON.parse(s),(o=Error(t.message)).stack=t.stack,(s=(t=e._chunks).get(a))?g(s,o):t.set(a,new l(4,o,e));break;default:throw Error("Error parsing the data. It's probably an error code or network corruption.")}}}function w(e){return function(t,n){return"string"==typeof n?function(e,t,n){switch(n[0]){case"$":return"$"===n?s:"$"===n[1]||"@"===n[1]?n.substring(1):f(e=m(e,parseInt(n.substring(1),16)));case"@":return e=m(e,parseInt(n.substring(1),16)),{$$typeof:a,_payload:e,_init:f}}return n}(e,0,n):"object"==typeof n&&null!==n?n[0]===s?{$$typeof:s,type:n[1],key:n[2],ref:null,props:n[3],_owner:null}:n:n}}function S(e){var t=new TextDecoder;return(e={_bundlerConfig:e,_chunks:new Map,readRoot:h,_partialRow:"",_stringDecoder:t})._fromJSON=w(e),e}function _(e,t){function n(t){y(e,t)}var r=t.getReader();r.read().then((function t(i){var s=i.value;if(!i.done){i=s,s=e._stringDecoder;for(var a=i.indexOf(10);-1<a;){var u=e._partialRow,c=i.subarray(0,a);c=s.decode(c),b(e,u+c),e._partialRow="",a=(i=i.subarray(a+1)).indexOf(10)}return e._partialRow+=s.decode(i,o),r.read().then(t,n)}v(e)}),n)}l.prototype.then=function(e){0===this._status?(null===this._value&&(this._value=[]),this._value.push(e)):e()},t.createFromReadableStream=function(e,t){return _(t=S(t&&t.moduleMap?t.moduleMap:null),e),t}},4051:function(e,t,n){"use strict";e.exports=n(79599)},70453:function(e,t,n){"use strict";var r,o=n(69383),i=n(41237),s=n(79290),a=n(79538),u=n(58068),c=n(69675),l=n(35345),f=Function,h=function(e){try{return f('"use strict"; return ('+e+").constructor;")()}catch(t){}},d=Object.getOwnPropertyDescriptor;if(d)try{d({},"")}catch(j){d=null}var p=function(){throw new c},g=d?function(){try{return p}catch(e){try{return d(arguments,"callee").get}catch(t){return p}}}():p,y=n(64039)(),m=n(80024)(),v=Object.getPrototypeOf||(m?function(e){return e.__proto__}:null),b={},w="undefined"!=typeof Uint8Array&&v?v(Uint8Array):r,S={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":y&&v?v([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"==typeof Atomics?r:Atom
vendor: 10,562 bytes, line 2
2ics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":b,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":y&&v?v(v([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&y&&v?v((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":s,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&y&&v?v((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":y&&v?v(""[Symbol.iterator]()):r,"%Symbol%":y?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":g,"%TypedArray%":w,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":l,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(v)try{null.error}catch(j){var _=v(v(j));S["%Error.prototype%"]=_}var A=function e(t){var n;if("%AsyncFunction%"===t)n=h("async function () {}");else if("%GeneratorFunction%"===t)n=h("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=h("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&v&&(n=v(o.prototype))}return S[t]=n,n},P={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},E=n(66743),C=n(9957),x=E.call(Function.call,Array.prototype.concat),O=E.call(Function.apply,Array.prototype.splice),I=E.call(Function.call,String.prototype.replace),k=E.call(Function.call,String.prototype.slice),T=E.call(Function.call,RegExp.prototype.exec),R=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,U=/\\(\\)?/g,M=function(e,t){var n,r=e;if(C(P,r)&&(r="%"+(n=P[r])[0]+"%"),C(S,r)){var o=S[r];if(o===b&&(o=A(r)),void 0===o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===T(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=k(e,0,1),n=k(e,-1);if("%"===t&&"%"!==n)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var r=[];return I(e,R,(function(e,t,n,o){r[r.length]=n?I(o,U,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=M("%"+r+"%",t),i=o.name,s=o.value,a=!1,l=o.alias;l&&(r=l[0],O(n,x([0,1],l)));for(var f=1,h=!0;f<n.length;f+=1){var p=n[f],g=k(p,0,1),y=k(p,-1);if(('"'===g||"'"===g||"`"===g||'"'===y||"'"===y||"`"===y)&&g!==y)throw new u("property names with quotes must have matching quotes");if("constructor"!==p&&h||(a=!0),C(S,i="%"+(r+="."+p)+"%"))s=S[i];else if(null!=s){if(!(p in s)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(d&&f+1>=n.length){var m=d(s,p);s=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:s[p]}else h=C(s,p),s=s[p];h&&!a&&(S[i]=s)}}return s}},75795:function(e,t,n){"use strict";var r=n(70453)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(o){r=null}e.exports=r},30592:function(e,t,n){"use strict";var r=n(30655),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},80024:function(e){"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},64039:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(41333);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},41333:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},9957:function(e,t,n){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(66743);e.exports=i.call(r,o)},251:function(e,t){t.read=function(e,t,n,r,o){var i,s,a=8*o-r-1,u=(1<<a)-1,c=u>>1,l=-7,f=n?o-1:0,h=n?-1:1,d=e[t+f];for(f+=h,i=d&(1<<-l)-1,d>>=-l,l+=a;l>0;i=256*i+e[t+f],f+=h,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=r;l>0;s=256*s+e[t+f],f+=h,l-=8);if(0===i)i=1-c;else{if(i===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),i-=c}return(d?-1:1)*s*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var s,a,u,c=8*i-o-1,l=(1<<c)-1,f=l>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(s++,u/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*u-1)*Math.pow(2,o),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,o),s=0));o>=8;e[n+d]=255&a,d+=p,a/=256,o-=8);for(s=s<<o|a,c+=o;c>0;e[n+d]=255&s,d+=p,s/=256,c-=8);e[n+d-p]|=128*g}},20311:function(e){"use strict";e.exports=function(e,t,n,r,o,i,s,a){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,s,a],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},12215:function(e,t,n){var r,o;!function(i){if(void 0===(o="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o),!0,e.exports=i(),!!0){var s=window.Cookies,a=window.Cookies=i();a.noConflict=function(){return window.Cookies=s,a}}}((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2}
2)+/g,decodeURIComponent)}return function n(r){function o(){}function i(t,n,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var s=JSON.stringify(n);/^[\{\[]/.test(s)&&(n=s)}catch(c){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var u in i)i[u]&&(a+="; "+u,!0!==i[u]&&(a+="="+i[u].split(";")[0]));return document.cookie=t+"="+n+a}}function s(e,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],s=0;s<i.length;s++){var a=i[s].split("="),u=a.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var c=t(a[0]);if(u=(r.read||r)(u,c)||t(u),n)try{u=JSON.parse(u)}catch(l){}if(o[c]=u,e===c)break}catch(l){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return s(e,!1)},o.getJSON=function(e){return s(e,!0)},o.remove=function(t,n){i(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))}))},58859:function(e,t,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,s=r&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&u&&"function"==typeof u.get?u.get:null,l=a&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,g=Object.prototype.toString,y=Function.prototype.toString,m=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,S=String.prototype.toLowerCase,_=RegExp.prototype.test,A=Array.prototype.concat,P=Array.prototype.join,E=Array.prototype.slice,C=Math.floor,x="function"==typeof BigInt?BigInt.prototype.valueOf:null,O=Object.getOwnPropertySymbols,I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"==typeof Symbol.iterator,T="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===k||"symbol")?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,U=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function M(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||_.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-C(-e):C(e);if(r!==e){var o=String(r),i=v.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var j=n(42634),D=j.custom,F=q(D)?D:null;function N(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function L(e){return b.call(String(e),/"/g,"&quot;")}function B(e){return!("[object Array]"!==K(e)||T&&"object"==typeof e&&T in e)}function H(e){return!("[object RegExp]"!==K(e)||T&&"object"==typeof e&&T in e)}function q(e){if(k)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!I)return!1;try{return I.call(e),!0}catch(t){}return!1}e.exports=function e(t,r,o,a){var u=r||{};if(V(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(u,"maxStringLength")&&("number"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var g=!V(u,"customInspect")||u.customInspect;if("boolean"!=typeof g&&"symbol"!==g)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
vendor: 5,948 bytes, line 2
2if(V(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(u,"numericSeparator")&&"boolean"!=typeof u.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=u.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return G(t,u);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var _=String(t);return w?M(t,_):_}if("bigint"==typeof t){var C=String(t)+"n";return w?M(t,C):C}var O=void 0===u.depth?5:u.depth;if(void 0===o&&(o=0),o>=O&&O>0&&"object"==typeof t)return B(t)?"[Array]":"[Object]";var D=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=P.call(Array(e.indent+1)," ")}return{base:n,prev:P.call(Array(t+1),n)}}(u,o);if(void 0===a)a=[];else if(z(a,t)>=0)return"[Circular]";function W(t,n,r){if(n&&(a=E.call(a)).push(n),r){var i={depth:u.depth};return V(u,"quoteStyle")&&(i.quoteStyle=u.quoteStyle),e(t,i,o+1,a)}return e(t,u,o+1,a)}if("function"==typeof t&&!H(t)){var $=function(e){if(e.name)return e.name;var t=m.call(y.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),ee=X(t,W);return"[Function"+($?": "+$:" (anonymous)")+"]"+(ee.length>0?" { "+P.call(ee,", ")+" }":"")}if(q(t)){var te=k?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(t);return"object"!=typeof t||k?te:J(te)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var ne="<"+S.call(String(t.nodeName)),re=t.attributes||[],oe=0;oe<re.length;oe++)ne+=" "+re[oe].name+"="+N(L(re[oe].value),"double",u);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+="</"+S.call(String(t.nodeName))+">"}if(B(t)){if(0===t.length)return"[]";var ie=X(t,W);return D&&!function(e){for(var t=0;t<e.length;t++)if(z(e[t],"\n")>=0)return!1;return!0}(ie)?"["+Z(ie,D)+"]":"[ "+P.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==K(e)||T&&"object"==typeof e&&T in e)}(t)){var se=X(t,W);return"cause"in Error.prototype||!("cause"in t)||R.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+P.call(se,", ")+" }":"{ ["+String(t)+"] "+P.call(A.call("[cause]: "+W(t.cause),se),", ")+" }"}if("object"==typeof t&&g){if(F&&"function"==typeof t[F]&&j)return j(t,{depth:O-o});if("symbol"!==g&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{c.call(e)}catch(ne){return!0}return e instanceof Map}catch(t){}return!1}(t)){var ae=[];return s&&s.call(t,(function(e,n){ae.push(W(n,t,!0)+" => "+W(e,t))})),Q("Map",i.call(t),ae,D)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var ue=[];return l&&l.call(t,(function(e){ue.push(W(e,t))})),Q("Set",c.call(t),ue,D)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{h.call(e,h)}catch(ne){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return Y("WeakMap");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{f.call(e,f)}catch(ne){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return Y("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(t){}return!1}(t))return Y("WeakRef");if(function(e){return!("[object Number]"!==K(e)||T&&"object"==typeof e&&T in e)}(t))return J(W(Number(t)));if(function(e){if(!e||"object"!=typeof e||!x)return!1;try{return x.call(e),!0}catch(t){}return!1}(t))return J(W(x.call(t)));if(function(e){return!("[object Boolean]"!==K(e)||T&&"object"==typeof e&&T in e)}(t))return J(p.call(t));if(function(e){return!("[object String]"!==K(e)||T&&"object"==typeof e&&T in e)}(t))return J(W(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==K(e)||T&&"object"==typeof e&&T in e)}(t)&&!H(t)){var ce=X(t,W),le=U?U(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?"":"null prototype",he=!le&&T&&Object(t)===t&&T in t?v.call(K(t),8,-1):fe?"Object":"",de=(le||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(he||fe?"["+P.call(A.call([],he||[],fe||[]),": ")+"] ":"");return 0===ce.length?de+"{}":D?de+"{"+Z(ce,D)+"}":de+"{ "+P.call(ce,", ")+" }"}return String(t)};var W=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return W.call(e,t)}function K(e){return g.call(e)}function z(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function G(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return G(v.call(e,0,t.maxStringLength),t)+r}return N(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,$),"single",t)}function $(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function J(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function Q(e,t,n,r){return e+" ("+t+") {"+(r?Z(n,r):P.call(n,", "))+"}"}function Z(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+P.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=B(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=V(e,o)?t(e[o],e):""}var i,s="function"==typeof O?O(e):[];if(k){i={};for(var a=0;a<s.length;a++)i["$"+s[a]]=s[a]}for(var u in e)V(e,u)&&(n&&String(Number(u))===u&&u<e.length||k&&i["$"+u]instanceof Symbol||(_.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof O)for(var c=0;c<s.length;
2c++)R.call(e,s[c])&&r.push("["+t(s[c])+"]: "+t(e[s[c]],e));return r}},86663:function(e,t,n){"use strict";const r=n(24280),o=n(30454),i=n(528),s=n(73055);function a(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function c(e,t){return t.decode?o(e):e}function l(e){return Array.isArray(e)?e.sort():"object"==typeof e?l(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function f(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function h(e){const t=(e=f(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function d(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function p(e,t){a((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&c(n,e).includes(e.arrayFormatSeparator);n=i?c(n,e):n;const s=o||i?n.split(e.arrayFormatSeparator).map((t=>c(t,e))):null===n?n:c(n,e);r[t]=s};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,s]=i(t.decode?o.replace(/\+/g," "):o,"=");s=void 0===s?null:["comma","separator"].includes(t.arrayFormat)?s:c(s,t),n(c(e,t),s,r)}for(const o of Object.keys(r)){const e=r[o];if("object"==typeof e&&null!==e)for(const n of Object.keys(e))e[n]=d(e[n],t);else r[o]=d(e,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=l(n):e[t]=n,e}),Object.create(null))}t.extract=h,t.parse=p,t.stringify=(e,t)=>{if(!e)return"";a((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[",o,"]"].join("")]:[...n,[u(t,e),"[",u(o,e),"]=",u(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[]"].join("")]:[...n,[u(t,e),"[]=",u(r,e)].join("")];case"comma":case"separator":return t=>(n,r)=>null==r||0===r.length?n:0===n.length?[[u(t,e),"=",u(r,e)].join("")]:[[n,u(r,e)].join(e.arrayFormatSeparator)];default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,u(t,e)]:[...n,[u(t,e),"=",u(r,e)].join("")]}}(t),o={};for(const s of Object.keys(e))n(s)||(o[s]=e[s]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?u(n,t):Array.isArray(o)?o.reduce(r(n),[]).join("&"):u(n,t)+"="+u(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>
2{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:p(h(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:c(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=f(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),s=Object.assign(i,e.query);let a=t.stringify(s,n);a&&(a=`?${a}`);let c=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(c=`#${u(e.fragmentIdentifier,n)}`),`${r}${a}${c}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0},r);const{url:o,query:i,fragmentIdentifier:a}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:s(i,n),fragmentIdentifier:a},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},96897:function(e,t,n){"use strict";var r=n(70453),o=n(30041),i=n(30592)(),s=n(75795),a=n(69675),u=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new a("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&s){var l=s(e,"length");l&&!l.configurable&&(r=!1),l&&!l.writable&&(c=!1)}return(r||c||!n)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},920:function(e,t,n){"use strict";var r=n(70453),o=n(38075),i=n(58859),s=n(69675),a=r("%WeakMap%",!0),u=r("%Map%",!0),c=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),h=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),p=o("Map.prototype.has",!0),g=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new s("Side channel does not contain "+i(e))},get:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(u){if(t)return h(t,r)}else if(n)return function(e,t){var n=g(e,t);return n&&n.value}(n,r)},has:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return f(e,r)}else if(u){if(t)return p(t,r)}else if(n)return function(e,t){return!!g(e,t)}(n,r);return!1},set:function(r,o){a&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new a),l(e,r,o)):u?(t||(t=new u),d(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=g(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},528:function(e){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},24280:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},15215:function(e,t,n){"use strict";n.r(t),n.d(t,{__assign:function(){return i},__asyncDelegator:function(){return w},__asyncGenerator:function(){return b},__asyncValues:function(){return S},__await:function(){return v},__awaiter:function(){return l},__classPrivateFieldGet:function(){return E},__classPrivateFieldSet:function(){return C},__createBinding:function(){return h},__decorate:function(){return a},__exportStar:function(){return d},__extends:function(){return o},__generator:function(){return f},__importDefault:function(){return P},__importStar:function(){return A}
vendor: 5,336 bytes, line 2
2,__makeTemplateObject:function(){return _},__metadata:function(){return c},__param:function(){return u},__read:function(){return g},__rest:function(){return s},__spread:function(){return y},__spreadArrays:function(){return m},__values:function(){return p}});var 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)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var 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)};function s(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}function a(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function f(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(a){i=[6,a],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function h(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function d(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function p(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function m(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,o++)r[o]=i[s];return r}function v(e){return this instanceof v?(this.v=e,this):new v(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||a(e,t)}))})}function a(e,t){try{(n=o[e](t)).value instanceof v?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(r){l(i[0][3],r)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function w(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:v(e[r](t)),done:"return"===r}:o?o(t):t}:o}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=p(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}
2function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function P(e){return e&&e.__esModule?e:{default:e}}function E(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function C(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},61270:function(e,t,n){var r;e=n.nmd(e),function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof n.g&&n.g;i.global!==i&&i.window!==i&&i.self;var s,a=2147483647,u=36,c=1,l=26,f=38,h=700,d=72,p=128,g="-",y=/^xn--/,m=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=u-c,S=Math.floor,_=String.fromCharCode;function A(e){throw new RangeError(b[e])}function P(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+P((e=e.replace(v,".")).split("."),t).join(".")}function C(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function x(e){return P(e,(function(e){var t="";return e>65535&&(t+=_((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=_(e)})).join("")}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function I(e,t,n){var r=0;for(e=n?S(e/h):e>>1,e+=S(e/t);e>w*l>>1;r+=u)e=S(e/w);return S(r+(w+1)*e/(e+f))}function k(e){var t,n,r,o,i,s,f,h,y,m,v,b=[],w=e.length,_=0,P=p,E=d;for((n=e.lastIndexOf(g))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&A("not-basic"),b.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<w;){for(i=_,s=1,f=u;o>=w&&A("invalid-input"),((h=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:u)>=u||h>S((a-_)/s))&&A("overflow"),_+=h*s,!(h<(y=f<=E?c:f>=E+l?l:f-E));f+=u)s>S(a/(m=u-y))&&A("overflow"),s*=m;E=I(_-i,t=b.length+1,0==i),S(_/t)>a-P&&A("overflow"),P+=S(_/t),_%=t,b.splice(_++,0,P)}return x(b)}function T(e){var t,n,r,o,i,s,f,h,y,m,v,b,w,P,E,x=[];for(b=(e=C(e)).length,t=p,n=0,i=d,s=0;s<b;++s)(v=e[s])<128&&x.push(_(v));for(r=o=x.length,o&&x.push(g);r<b;){for(f=a,s=0;s<b;++s)(v=e[s])>=t&&v<f&&(f=v);for(f-t>S((a-n)/(w=r+1))&&A("overflow"),n+=(f-t)*w,t=f,s=0;s<b;++s)if((v=e[s])<t&&++n>a&&A("overflow"),v==t){for(h=n,y=u;!(h<(m=y<=i?c:y>=i+l?l:y-i));y+=u)E=h-m,P=u-m,x.push(_(O(m+E%P,0))),h=S(E/P);x.push(_(O(h,0))),i=I(n,w,r==o),n=0,++r}++n,++t}return x.join("")}s={version:"1.4.1",ucs2:{decode:C,encode:x},decode:k,encode:T,toASCII:function(e){return E(e,(function(e){return m.test(e)?"xn--"+T(e):e}))},toUnicode:function(e){return E(e,(function(e){return y.test(e)?k(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return s}.call(t,n,t,e))||(e.exports=r)}()},95902:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:o}},63098:function(e,t,n){"use strict";var r=n(91207),o=n(60969),i=n(95902);e.exports={formats:i,parse:o,stringify:r}},60969:function(e,t,n){"use strict";var r=n(62795),o=Object.prototype.hasOwnProperty,i=Array.isArray,s={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,s=/(\[[^[\]]*])/g,a=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=a?i.slice(0,a.index):i,l=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var f=0;n.depth>0&&null!==(a=s.exec(i))&&f<n.depth;){if(f+=1,!n.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(a[1])}return a&&l.push("["+i.slice(a.index)+"]"),function(e,t,n,r){for(var o=r?t:u(t,n),i=e.length-1;i>=0;--i){var s,a=e[i];if("[]"===a&&n.parseArrays)s=n.allowEmptyArrays&&""===o?[]:[].concat(o);else{s=n.plainObjects?Object.create(null):{};var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,l=n.decodeDotInKeys?c.replace(/%2E/g,"."):c,f=parseInt(l,10);n.parseArrays||""!==l?!isNaN(f)&&a!==l&&String(f)===l&&f>=0&&n.parseArrays&&f<=n.arrayLimit?(s=[])[f]=o:"__proto__"!==l&&(s[l]=o):s={0:o}}o=s}return o}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return s;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
vendor: 7,666 bytes, line 2
2if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?s.charset:e.charset,n=void 0===e.duplicates?s.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||s.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:s.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:s.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:s.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:s.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:s.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:s.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:s.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:s.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:s.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:s.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:s.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,c={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,h=l.split(t.delimiter,f),d=-1,p=t.charset;if(t.charsetSentinel)for(n=0;n<h.length;++n)0===h[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===h[n]?p="utf-8":"utf8=%26%2310003%3B"===h[n]&&(p="iso-8859-1"),d=n,n=h.length);for(n=0;n<h.length;++n)if(n!==d){var g,y,m=h[n],v=m.indexOf("]="),b=-1===v?m.indexOf("="):v+1;-1===b?(g=t.decoder(m,s.decoder,p,"key"),y=t.strictNullHandling?null:""):(g=t.decoder(m.slice(0,b),s.decoder,p,"key"),y=r.maybeMap(u(m.slice(b+1),t),(function(e){return t.decoder(e,s.decoder,p,"value")}))),y&&t.interpretNumericEntities&&"iso-8859-1"===p&&(y=a(y)),m.indexOf("[]=")>-1&&(y=i(y)?[y]:y);var w=o.call(c,g);w&&"combine"===t.duplicates?c[g]=r.combine(c[g],y):w&&"last"!==t.duplicates||(c[g]=y)}return c}(e,n):e,f=n.plainObjects?Object.create(null):{},h=Object.keys(l),d=0;d<h.length;++d){var p=h[d],g=c(p,l[p],n,"string"==typeof e);f=r.merge(f,g,n)}return!0===n.allowSparse?f:r.compact(f)}},91207:function(e,t,n){"use strict";var r=n(920),o=n(62795),i=n(95902),s=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,u(t)?t:[t])},f=Date.prototype.toISOString,h=i.default,d={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},p={},g=function e(t,n,i,s,a,c,f,h,g,y,m,v,b,w,S,_,A,P){for(var E,C=t,x=P,O=0,I=!1;void 0!==(x=x.get(p))&&!I;){var k=x.get(t);if(O+=1,void 0!==k){if(k===O)throw new RangeError("Cyclic object value");I=!0}void 0===x.get(p)&&(O=0)}if("function"==typeof y?C=y(n,C):C instanceof Date?C=b(C):"comma"===i&&u(C)&&(C=o.maybeMap(C,(function(e){return e instanceof Date?b(e):e}))),null===C){if(c)return g&&!_?g(n,d.encoder,A,"key",w):n;C=""}if("string"==typeof(E=C)||"number"==typeof E||"boolean"==typeof E||"symbol"==typeof E||"bigint"==typeof E||o.isBuffer(C))return g?[S(_?n:g(n,d.encoder,A,"key",w))+"="+S(g(C,d.encoder,A,"value",w))]:[S(n)+"="+S(String(C))];var T,R=[];if(void 0===C)return R;if("comma"===i&&u(C))_&&g&&(C=o.maybeMap(C,g)),T=[{value:C.length>0?C.join(",")||null:void 0}];else if(u(y))T=y;else{var U=Object.keys(C);T=m?U.sort(m):U}var M=h?n.replace(/\./g,"%2E"):n,j=s&&u(C)&&1===C.length?M+"[]":M;if(a&&u(C)&&0===C.length)return j+"[]";for(var D=0;D<T.length;++D){var F=T[D],N="object"==typeof F&&void 0!==F.value?F.value:C[F];if(!f||null!==N){var L=v&&h?F.replace(/\./g,"%2E"):F,B=u(C)?"function"==typeof i?i(j,L):j:j+(v?"."+L:"["+L+"]");P.set(t,O);var H=r();H.set(p,P),l(R,e(N,B,i,s,a,c,f,h,"comma"===i&&_&&u(C)?null:g,y,m,v,b,w,S,_,A,H))}}return R};e.exports=function(e,t){var n,o=e,c=function(e){if(!e)return d;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!s.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r,o=i.formatters[n],c=d.filter;if(("function"==typeof e.filter||u(e.filter))&&(c=e.filter),r=e.arrayFormat in a?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":d.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var l=void 0===e.allowDots?!0===e.encodeDotInKeys||d.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:l,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:d.allowEmptyArrays,arrayFormat:r,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:d.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:c,format:n,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof c.filter?o=(0,c.filter)("",o):u(c.filter)&&(n=c.filter);var f=[];if("object"!=typeof o||null===o)return"";var h=a[c.arrayFormat],p="comma"===h&&c.commaRoundTrip;n||(n=Object.keys(o)),c.sort&&n.sort(c.sort);for(var y=r(),m=0;m<n.length;++m){var v=n[m];c.skipNulls&&null===o[v]||l(f,g(o[v],v,h,p,c.allowEmptyArrays,c.strictNullHandling,c.skipNulls,c.encodeDotInKeys,c.encode?
vendor: 11,350 bytes, line 2
2c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,y))}var b=f.join(c.delimiter),w=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),b.length>0?w+b:""}},62795:function(e,t,n){"use strict";var r=n(95902),o=Object.prototype.hasOwnProperty,i=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],s=o.obj[o.prop],a=Object.keys(s),u=0;u<a.length;++u){var c=a[u],l=s[c];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:s,prop:c}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",c=0;c<a.length;++c){var l=a.charCodeAt(c);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)?u+=a.charAt(c):l<128?u+=s[l]:l<2048?u+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?u+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&a.charCodeAt(c)),u+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return u},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(i(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var s=t;return i(t)&&!i(n)&&(s=a(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var s=t[i];s&&"object"==typeof s&&n&&"object"==typeof n?t[i]=e(s,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var s=n[i];return o.call(t,i)?t[i]=e(t[i],s,r):t[i]=s,t}),s)}}},88835:function(e,t,n){"use strict";var r=n(61270);function o(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var i=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(u),l=["%","/","?",";","#"].concat(c),f=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},m=n(63098);function v(e,t,n){if(e&&"object"==typeof e&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}o.prototype.parse=function(e,t,n){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),s=-1!==o&&o<e.indexOf("#")?"?":"#",u=e.split(s);u[0]=u[0].replace(/\\/g,"/");var v=e=u.join(s);if(v=v.trim(),!n&&1===e.split("#").length){var b=a.exec(v);if(b)return this.path=v,this.href=v,this.pathname=b[1],b[2]?(this.search=b[2],this.query=t?m.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=i.exec(v);if(w){var S=(w=w[0]).toLowerCase();this.protocol=S,v=v.substr(w.length)}if(n||w||v.match(/^\/\/[^@/]+@[^@/]+/)){var _="//"===v.substr(0,2);!_||w&&g[w]||(v=v.substr(2),this.slashes=!0)}if(!g[w]&&(_||w&&!y[w])){for(var A,P,E=-1,C=0;C<f.length;C++){-1!==(x=v.indexOf(f[C]))&&(-1===E||x<E)&&(E=x)}-1!==(P=-1===E?v.lastIndexOf("@"):v.lastIndexOf("@",E))&&(A=v.slice(0,P),v=v.slice(P+1),this.auth=decodeURIComponent(A)),E=-1;for(C=0;C<l.length;C++){var x;-1!==(x=v.indexOf(l[C]))&&(-1===E||x<E)&&(E=x)}-1===E&&(E=v.length),this.host=v.slice(0,E),v=v.slice(E),this.parseHost(),this.hostname=this.hostname||"";var O="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!O)for(var I=this.hostname.split(/\./),k=(C=0,I.length);C<k;C++){var T=I[C];if(T&&!T.match(h)){for(var R="",U=0,M=T.length;U<M;U++)T.charCodeAt(U)>127?R+="x":R+=T[U];if(!R.match(h)){var j=I.slice(0,C),D=I.slice(C+1),F=T.match(d);F&&(j.push(F[1]),D.unshift(F[2])),D.length&&(v="/"+D.join(".")+v),this.hostname=j.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=r.toASCII(this.hostname));var N=this.port?":"+this.port:"",L=this.hostname||"";this.host=L+N,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==v[0]&&(v="/"+v))}if(!p[S])for(C=0,k=c.length;C<k;C++){var B=c[C];if(-1!==v.indexOf(B)){var H=encodeURIComponent(B);H===B&&(H=escape(B)),v=v.split(B).join(H)}}var q=v.indexOf("#");-1!==q&&(this.hash=v.substr(q),v=v.slice(0,q));var W=v.indexOf("?");if(-1!==W?(this.search=v.substr(W),this.query=v.substr(W+1),t&&(this.query=m.parse(this.query)),v=v.slice(0,W)):t&&(this.search="",this.query={}),v&&(this.pathname=v),y[S]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){N=this.pathname||"";var V=this.search||"";this.path=N+V}return this.href=this.format(),this},o.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(i=m.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var s=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+o+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},o.prototype.resolve=function(e){return this.resolveObject(v(e,!1,!0)).format()},o.prototype.resolveObject=function(e){if("string"==typeof e){var t=new o;t.parse(e,!1,!0),e=t}for(var n=new o,r=Object.keys(this),i=0;i<r.length;i++){var s=r[i];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),u=0;u<a.length;u++){var c=a[u];"protocol"!==c&&(n[c]=e[c])}return y[n.protocol]&&n.hostname&&!n.pathname&&(n.pathname="/",n.path=n.pathname),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!y[e.protocol]){for(var l=Object.keys(e),f=0;f<l.length;f++){var h=l[f];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||g[e.protocol])n.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),n.pathname=d.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var p=n.pathname||"",m=n.search||"";n.path=p+m}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var v=n.pathname&&"/"===n.pathname.charAt(0),b=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=b||v||n.host&&e.pathname,S=w,_=n.pathname&&n.pathname.split("/")||[],A=(d=e.pathname&&e.pathname.split("/")||[],n.protocol&&!y[n.protocol]);if(A&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),w=w&&(""===d[0]||""===_[0])),b)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,_=d;else if(d.length)_||(_=[]),_.pop(),_=_.concat(d),n.search=e.search,n.query=e.query;else if(null!=e.search){if(A)n.host=_.shift(),n.hostname=n.host,(O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=O.shift(),n.hostname=O.shift(),n.host=n.hostname);return n.search=e.search,n.query=e.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var P=_.slice(-1)[0],E=(n.host||e.host||_.length>1)&&("."===P||".."===P)||""===P,C=0,x=_.length;x>=0;x--)"."===(P=_[x])?_.splice(x,1):".."===P?(_.splice(x,1),C++):C&&(_.splice(x,1),C--);if(!w&&!S)for(;C--;C)_.unshift("..");!w||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),E&&"/"!==_.join("/").substr(-1)&&_.push("");var O,I=""===_[0]||_[0]&&"/"===_[0].charAt(0);A&&(n.hostname=I?"":_.length?_.shift():"",n.host=n.hostname,(O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=O.shift(),n.hostname=O.shift(),n.host=n.hostname));return(w=w||n.host&&_.length)&&!I&&_.unshift(""),_.length>0?n.pathname=_.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.qg=v,t.GP=function(e){return"string"==typeof e&&(e=v(e)),e instanceof o?e.format():o.prototype.format.call(e)}},90035:function(e,t,n){"use strict";n.d(t,{HX:function(){return T},fr:function(){return i},pE:function(){return A}});function r(e,t){if(null==e)return e;if(0===e.length&&(!t||t&&""!==e))return null;var n=e instanceof Array?e[0]:e;return null==n||t||""!==n?n:null}function o(e){var t=r(e,!0);return null==t?t:String(t)}var i={encode:function(e){return null==e?e:String(e)},decode:o},s=n(86663),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)};'{}[],":'.split("").map((function(e){return[e,encodeURIComponent(e)]}));function u(e,t,n){var r=(0,s.stringify)(e,n);n&&n.transformSearchString&&(r=n.transformSearchString(r));var o=r.length?"?"+r:"",i=(0,s.parseUrl)(t.href||"").url+o;return a(a({},t),{key:""+Date.now(),href:i,search:o,query:e})}var c=n(96540),l=Object.prototype.hasOwnProperty;function f(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function h(e,t,n){var r,o;
2if(f(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var i=Object.keys(e),s=Object.keys(t);if(i.length!==s.length)return!1;for(var a=0;a<i.length;a++){var u=null!==(o=null===(r=null==n?void 0:n[i[a]])||void 0===r?void 0:r.equals)&&void 0!==o?o:f;if(!l.call(t,i[a])||!u(e[i[a]],t[i[a]]))return!1}return!0}function d(e,t,n){void 0===n&&(n=h);var r=(null==e.current||null==t)&&e.current===t||!n(e.current,t);c.useEffect((function(){r&&(e.current=t)}),[e,t,r])}function p(e){return"object"==typeof e?"undefined"!=typeof window?e.search:(0,s.extract)(""+e.pathname+(e.search?e.search:"")):""}function g(e,t,n,r){switch(void 0===n&&(n="pushIn"),n){case"replace":case"push":return u(e,t,r);default:return function(e,t,n){var r=(0,s.parse)(t.search,{parseNumbers:!1});return u(a(a({},r),e),t,n)}(e,t,r)}}var y=c.createContext({location:{},getLocation:function(){return{}},setLocation:function(){}});function m(e){var t=e.history,n=e.location,r=e.children,o=e.stringifyOptions,i=c.useRef(n);c.useEffect((function(){i.current=n}),[n]);var s=c.useCallback((function(){return i.current}),[i]),a=c.useCallback((function(e,n){i.current=g(e,null==t||null==t.location?i.current:t.location,n,o),t&&function(e,t,n){switch(void 0===n&&(n="pushIn"),n){case"pushIn":case"push":e.push(t);break;default:e.replace(t)}}(t,i.current,n)}),[t,o]);return c.createElement(y.Provider,{value:{location:n,getLocation:s,setLocation:a}},r)}var v,b,w,S=(b=v,w=(0,s.parse)(b||""),function(e){return b!==e&&(b=e,w=(0,s.parse)(b)),w});function _(e,t,n,r,o,i){var s,a=!h(r.current,n),u=null!==(s=n.equals)&&void 0!==s?s:h,c=S(p(e)),l=!h(o.current,c[t]),f=l?c[t]:o.current;if(!l&&!a&&void 0!==i.current)return i.current;var d=n.decode(f);return(null==i.current||null==d)&&i.current===d||!u(i.current,d)?d:i.current}var A=function(e,t){void 0===t&&(t=i);var n=c.useContext(y),r=n.location,o=n.getLocation,s=n.setLocation,a=S(p(r)),u=c.useRef(),l=c.useRef(t),f=c.useRef(),h=_(r,e,t,l,u,f);d(u,a[e]),d(l,t),d(f,h,t.equals);var g={paramConfig:t,name:e,setLocation:s,getLocation:o},m=c.useRef(g);m.current=g;var v=c.useCallback((function(e,t){var n,r,o=m.current;if("function"==typeof e){var i=_(o.getLocation(),o.name,o.paramConfig,l,u,f);f.current=i,r=o.paramConfig.encode(e(i))}else r=o.paramConfig.encode(e);o.setLocation(((n={})[o.name]=r,n),t)}),[]);return[h,v]};var P,E,C,x,O=function(){return O=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},O.apply(this,arguments)};function I(e){if(e===C&&null!=x)return x;var t={replace:function(t){e.navigate(t.protocol+"//"+t.host+t.pathname+t.search,{replace:!0})},push:function(t){e.navigate(t.protocol+"//"+t.host+t.pathname+t.search,{replace:!1})},get location(){return e.location}};return C=e,x=t,t}function k(e){var t=void 0===e?{}:e,n=t.history,r=t.location;if("undefined"!=typeof window&&(n||(n=function(e){if(e===P&&null!=E)return E;var t={replace:function(t){e.replaceState(t.state,"",t.protocol+"//"+t.host+t.pathname+t.search)},push:function(t){e.pushState(t.state,"",t.protocol+"//"+t.host+t.pathname+t.search)},get location(){return window.location}};return P=e,E=t,t}(window.history)),r||(r=window.location)),!r)throw new Error("\n        Could not read the location. Is the router wired up correctly?\n      ");return{history:n,location:r}}function T(e){var t=e.children,n=e.ReactRouterRoute,r=e.reachHistory,o=e.history,i=e.location,s=e.stringifyOptions,a=c.useRef(s),u=!h(a.current,s)?s:a.current;return c.useEffect((function(){a.current=u}),[u]),n?c.createElement(n,null,(function(e){return c.createElement(m,O({stringifyOptions:u},k(e)),t)})):r?c.createElement(m,O({stringifyOptions:u},k({history:I(r),location:i})),t):c.createElement(m,O({stringifyOptions:u},k({history:o,location:i})),t)}},68414:function(e,t,n){var r=n(41033),o=n(12550),i=o;i.v1=r,i.v4=o,e.exports=i},60471:function(e){for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var r=n||0,o=t;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}},25814:function(e){var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},41033:function(e,t,n){var r,o,i=n(25814),s=n(60471),a=0,u=0;e.exports=function(e,t,n){var c=t&&n||0,l=t||[],f=(e=e||{}).node||r,h=void 0!==e.clockseq?e.clockseq:o;if(null==f||null==h){var d=i();null==f&&(f=r=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==h&&(h=o=16383&(d[6]<<8|d[7]))}var p=void 0!==e.msecs?e.msecs:(new Date).getTime(),g=void 0!==e.nsecs?e.nsecs:u+1,y=p-a+(g-u)/1e4;if(y<0&&void 0===e.clockseq&&(h=h+1&16383),(y<0||p>a)&&void 0===e.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=p,u=g,o=h;var m=(1e4*(268435455&(p+=122192928e5))+g)%4294967296;l[c++]=m>>>24&255,l[c++]=m>>>16&255,l[c++]=m>>>8&255,l[c++]=255&m;var v=p/4294967296*1e4&268435455;l[c++]=v>>>8&255,l[c++]=255&v,l[c++]=v>>>
vendor: 12,944 bytes, line 2
224&15|16,l[c++]=v>>>16&255,l[c++]=h>>>8|128,l[c++]=255&h;for(var b=0;b<6;++b)l[c+b]=f[b];return t||s(l)}},12550:function(e,t,n){var r=n(25814),o=n(60471);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[i+a]=s[a];return t||o(s)}},15371:function(e,t,n){var r;!function(){function o(e,t,n){return e.call.apply(e.bind,arguments)}function i(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function s(e,t,n){return(s=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?o:i).apply(null,arguments)}var a=Date.now||function(){return+new Date};function u(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var c=!!window.FontFace;function l(e,t,n,r){if(t=e.c.createElement(t),n)for(var o in n)n.hasOwnProperty(o)&&("style"==o?t.style.cssText=n[o]:t.setAttribute(o,n[o]));return r&&t.appendChild(e.c.createTextNode(r)),t}function f(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function h(e){e.parentNode&&e.parentNode.removeChild(e)}function d(e,t,n){t=t||[],n=n||[];for(var r=e.className.split(/\s+/),o=0;o<t.length;o+=1){for(var i=!1,s=0;s<r.length;s+=1)if(t[o]===r[s]){i=!0;break}i||r.push(t[o])}for(t=[],o=0;o<r.length;o+=1){for(i=!1,s=0;s<n.length;s+=1)if(r[o]===n[s]){i=!0;break}i||t.push(r[o])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function p(e,t){for(var n=e.className.split(/\s+/),r=0,o=n.length;r<o;r++)if(n[r]==t)return!0;return!1}function g(e,t,n){function r(){a&&o&&i&&(a(s),a=null)}t=l(e,"link",{rel:"stylesheet",href:t,media:"all"});var o=!1,i=!0,s=null,a=n||null;c?(t.onload=function(){o=!0,r()},t.onerror=function(){o=!0,s=Error("Stylesheet failed to load"),r()}):setTimeout((function(){o=!0,r()}),0),f(e,"head",t)}function y(e,t,n,r){var o=e.c.getElementsByTagName("head")[0];if(o){var i=l(e,"script",{src:t}),s=!1;return i.onload=i.onreadystatechange=function(){s||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(s=!0,n&&n(null),i.onload=i.onreadystatechange=null,"HEAD"==i.parentNode.tagName&&o.removeChild(i))},o.appendChild(i),setTimeout((function(){s||(s=!0,n&&n(Error("Script load timeout")))}),r||5e3),i}return null}function m(){this.a=0,this.c=null}function v(e){return e.a++,function(){e.a--,w(e)}}function b(e,t){e.c=t,w(e)}function w(e){0==e.a&&e.c&&(e.c(),e.c=null)}function S(e){this.a=e||"-"}function _(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function A(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var r=e[n].replace(/['"]/g,"");-1!=r.indexOf(" ")||/^\d/.test(r)?t.push("'"+r+"'"):t.push(r)}return t.join(",")}function P(e){return e.a+e.f}function E(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function C(e){var t=4,n="n",r=null;return e&&((r=e.match(/(normal|oblique|italic)/i))&&r[1]&&(n=r[1].substr(0,1).toLowerCase()),(r=e.match(/([1-9]00|normal|bold)/i))&&r[1]&&(/bold/i.test(r[1])?t=7:/[1-9]00/.test(r[1])&&(t=parseInt(r[1].substr(0,1),10)))),n+t}function x(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new S("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function O(e){if(e.g){var t=p(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),d(e.f,n,r)}I(e,"inactive")}function I(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,P(n)):e.h[t]())}function k(){this.c={}}function T(e,t){this.c=e,this.f=t,this.a=l(this.c,"span",{"aria-hidden":"true"},this.f)}function R(e){f(e.c,"body",e.a)}function U(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+A(e.c)+";font-style:"+E(e)+";font-weight:"+e.f+"00;"}function M(e,t,n,r,o,i){this.g=e,this.j=t,this.a=r,this.c=n,this.f=o||3e3,this.h=i||void 0}function j(e,t,n,r,o,i,s){this.v=e,this.B=t,this.c=n,this.a=r,this.s=s||"BESbswy",this.f={},this.w=o||3e3,this.u=i||null,this.m=this.j=this.h=this.g=null,this.g=new T(this.c,this.s),this.h=new T(this.c,this.s),this.j=new T(this.c,this.s),this.m=new T(this.c,this.s),e=U(e=new _(this.a.c+",serif",P(this.a))),this.g.a.style.cssText=e,e=U(e=new _(this.a.c+",sans-serif",P(this.a))),this.h.a.style.cssText=e,e=U(e=new _("serif",P(this.a))),this.j.a.style.cssText=e,e=U(e=new _("sans-serif",P(this.a))),this.m.a.style.cssText=e,R(this.g),R(this.h),R(this.j),R(this.m)}S.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},M.prototype.start=function(){var e=this.c.o.document,t=this,n=a(),r=new Promise((function(r,o){!function i(){a()-n>=t.f?o():e.fonts.load(function(e){return E(e)+" "+e.f+"00 300px "+A(e.c)}(t.a),t.h).then((function(e){1<=e.length?r():setTimeout(i,25)}),(function(){o()}))}()})),o=null,i=new Promise((function(e,n){o=setTimeout(n,t.f)}));Promise.race([i,r]).then((function(){o&&(clearTimeout(o),o=null),t.g(t.a)}),(function(){t.j(t.a)}))};var D={D:"serif",C:"sans-serif"},F=null;function N(){if(null===F){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);F=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return F}function L(e,t,n){for(var r in D)if(D.hasOwnProperty(r)&&t===e.f[D[r]]&&n===e.f[D[r]])return!0;return!1}function B(e){var t,n=e.g.a.offsetWidth,r=e.h.a.offsetWidth;(t=n===e.f.serif&&r===e.f["sans-serif"])||(t=N()&&L(e,n,r)),t?a()-e.A>=e.w?N()&&L(e,n,r)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?H(e,e.v):H(e,e.B):function(e){setTimeout(s((function(){B(this)}),e),50)}(e):H(e,e.v)}function H(e,t){setTimeout(s((function(){h(this.g.a),h(this.h.a),h(this.j.a),h(this.m.a),t(this.a)}),e),0)}function q(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}j.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=a(),B(this)};var W=null;function V(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&d(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),I(e,"active")):O(e.a))}function K(e){this.j=e,this.a=new k,this.h=0,this.f=this.g=!0}function z(e,t,n,r,o){var i=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=o||null,a=r||{};if(0===n.length&&i)O(t.a);else{t.f+=n.length,i&&(t.j=i);var u,c=[];for(u=0;u<n.length;u++){var l=n[u],f=a[l.c],h=t.a,p=l;if(h.g&&d(h.f,[h.a.c("wf",p.c,P(p).toString(),"loading")]),I(h,"fontloading",p),h=null,null===W)if(window.FontFace){p=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var g=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);W=p?42<parseInt(p[1],10):!g}else W=!1;h=W?new M(s(t.g,t),s(t.h,t),t.c,l,t.s,f):new j(s(t.g,t),s(t.h,t),t.c,l,t.s,e,f),c.push(h)}for(u=0;u<c.length;u++)c[u].start()}}),0)}function G(e,t){this.c=e,this.a=t}function $(e,t){this.c=e,this.a=t}function J(e,t){this.c=e||Y,this.a=[],this.f=[],this.g=t||""}q.prototype.g=function(e){var t=this.a;t.g&&d(t.f,[t.a.c("wf",e.c,P(e).toString(),"active")],[t.a.c("wf",e.c,P(e).toString(),"loading"),t.a.c("wf",e.c,P(e).toString(),"inactive")]),I(t,"fontactive",e),this.m=!0,V(this)},q.prototype.h=function(e){var t=this.a;if(t.g){var n=p(t.f,t.a.c("wf",e.c,P(e).toString(),"active")),r=[],o=[t.a.c("wf",e.c,P(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,P(e).toString(),"inactive")),d(t.f,r,o)}I(t,"fontinactive",e),V(this)},K.prototype.load=function(e){this.c=new u(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var r=[],o=n.timeout;!function(e){e.g&&d(e.f,[e.a.c("wf","loading")]),I(e,"loading")}(t);r=function(e,t,n){var r,o=[];for(r in t)if(t.hasOwnProperty(r)){var i=e.c[r];i&&o.push(i(t[r],n))}return o}(e.a,n,e.c);var i=new q(e.c,t,o);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load((function(t,n,r){z(e,i,t,n,r)}))}(this,new x(this.c,e),e)},G.prototype.load=function(e){function t(){if(i["__mti_fntLst"+r]){var n,o=i["__mti_fntLst"+r](),s=[];if(o)for(var a=0;a<o.length;a++){var u=o[a].fontfamily;null!=o[a].fontStyle&&null!=o[a].fontWeight?(n=o[a].fontStyle+o[a].fontWeight,s.push(new _(u,n))):s.push(new _(u))}e(s)}else setTimeout((function(){t()}),50)}var n=this,r=n.a.projectId,o=n.a.version;if(r){var i=n.c.o;y(this.c,(n.a.api||"https://fast.fonts.net/jsapi")+"/"+r+".js"+(o?"?v="+o:""),(function(o){o?e([]):(i["__MonotypeConfiguration__"+r]=function(){return n.a},t())})).id="__MonotypeAPIScript__"+r}else e([])},$.prototype.load=function(e){var t,n,r=this.a.urls||[],o=this.a.families||[],i=this.a.testStrings||{},s=new m;for(t=0,n=r.length;t<n;t++)g(this.c,r[t],v(s));var a=[];for(t=0,n=o.length;t<n;t++)if((r=o[t].split(":"))[1])for(var u=r[1].split(","),c=0;c<u.length;c+=1)a.push(new _(r[0],u[c]));else a.push(new _(r[0]));b(s,(function(){e(a,i)}))};var Y="https://fonts.googleapis.com/css";function Q(e){this.f=e,this.a=[],this.c={}}var Z={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},X={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ee={i:"i",italic:"i",n:"n",normal:"n"},te=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function ne(e,t){this.c=e,this.a=t}var re={Arimo:!0,Cousine:!0,Tinos:!0};function oe(e,t){this.c=e,this.a=t}function ie(e,t){this.c=e,this.f=t,this.a=[]}ne.prototype.load=function(e){var t=new m,n=this.c,r=new J(this.a.api,this.a.text),o=this.a.families;!function(e,t){for(var n=t.length,r=0;r<n;r++){var o=t[r].split(":");3==o.length&&e.f.push(o.pop());var i="";2==o.length&&""!=o[1]&&(i=":"),e.a.push(o.join(i))}}(r,o);var i=new Q(o);!function(e){for(var t=e.f.length,n=0;n<t;n++){var r=e.f[n].split(":"),o=r[0].replace(/\+/g," "),i=["n4"];if(2<=r.length){var s;if(s=[],a=r[1])for(var a,u=(a=a.split(",")).length,c=0;c<u;c++){var l;if((l=a[c]).match(/^[\w-]+$/))if(null==(f=te.exec(l.toLowerCase())))l="";else{if(l=null==(l=f[2])||""==l?"n":ee[l],null==(f=f[1])||""==f)f="4";else var f=X[f]||(isNaN(f)?"4":f.substr(0,1));l=[l,f].join("")}else l="";l&&s.push(l)}0<s.length&&(i=s),3==r.length&&(s=[],0<(r=(r=r[2])?r.split(","):s).length&&(r=Z[r[0]])&&(e.c[o]=r))}for(e.c[o]||(r=Z[o])&&(e.c[o]=r),r=0;r<i.length;r+=1)e.a.push(new _(o,i[r]))}}(i),g(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],r=0;r<t;r++)n.push(e.a[r].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(r),v(t)),b(t,(function(){e(i.a,i.c,re)}))},oe.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?y(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var r=[],o=0;o<t.length;o+=2)for(var i=t[o],s=t[o+1],a=0;a<s.length;a++)r.push(new _(i,s[a]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(u){}e(r)}}),2e3):e([])},ie.prototype.load=function(e){var t=this.f.id,n=this.c.o,r=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var o=0,i=n.fonts.length;o<i;++o){var s=n.fonts[o];r.a.push(new _(s.name,C("font-weight:"+s.weight+";font-style:"+s.style)))}e(r.a)},y(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var se=new K(window);se.a.c.custom=function(e,t){return new $(t,e)},se.a.c.fontdeck=function(e,t){return new ie(t,e)},se.a.c.monotype=function(e,t){return new G(t,e)},se.a.c.typekit=function(e,t){return new oe(t,e)},se.a.c.google=function(e,t){return new ne(t,e)};var ae={load:s(se.load,se)};void 0===(r=function(){return ae}.call(t,n,t,e))||(e.exports=r)}()},45682:function(){},50477:function(){},42634:function(){},12475:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},6221:function(e,t,n){var r=n(95636);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports}
2,24994:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},95636:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},14656:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SCRIPT_TYPE="text/partytown",t.partytownSnippet=e=>((e,t)=>{const{forward:n=[],...r}=e||{},o=JSON.stringify(r,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t)));return["!(function(w,p,f,c){",Object.keys(r).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",n.length>0?`.concat(${JSON.stringify(n)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.6 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(f,1e4),e.addEventListener("pt0",w),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):f())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.7.6":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;n<s.length;n++)(r=e.createElement("script")).innerHTML=s[n].innerHTML,e.head.appendChild(r);c&&c.parentNode.removeChild(c)}function w(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);')},36318:function(e,t,n){"use strict";n.d(t,{C6:function(){return o},Cl:function(){return i},YH:function(){return a},sH:function(){return s},zs:function(){return u}});var 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 o(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)}var 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)};function s(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(t){i(t)}}function a(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))}function a(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(u){a=[6,u],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}Object.create;function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}Object.create;"function"==typeof SuppressedError&&SuppressedError},77387:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(63662);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},63662:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:function(){return r}})},54506:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e){return function(e){if(Array.isArray(e))return r(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 r(e,t);var n={}.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)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,{A:function(){return o}})},86462:function(e,t,n){"use strict";var r;n.r(t),n.d(t,{BaseContext:function(){return y},Link:function(){return G},Location:function(){return Z},LocationContext:function(){return m},LocationProvider:function(){return Q},Match:function(){return ee},Redirect:function(){return P},Router:function(){return ae},ServerLocation:function(){return X},createHistory:function(){return l},createMemorySource:function(){return f},globalHistory:function(){return d},insertParams:function(){return I},isRedirect:function(){return S},match:function(){return x},navigate:function(){return p},pick:function(){return C},redirectTo:function(){return _},resolve:function(){return O},shallowCompare:function(){return L},startsWith:function(){return E},useBaseContext:function(){return v},useLocation:function(){return ce},useLocationContext:function(){return b},useMatch:function(){return he},useNavigate:function(){return le},useParams:function(){return fe},validateRedirect:function(){return k}});var o=n(96540),i=n(5556),s=n(20311);function a(){return a=Object.assign?Object.assign.bind():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},a.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}const c=e=>{const{search:t,hash:n,href:r,origin:o,protocol:i,host:s,hostname:a,port:u}=e.location;let{pathname:c}=e.location;return!c&&r&&h&&(c=new URL(r).pathname),{pathname:encodeURI(decodeURI(c)),search:t,hash:n,href:r,origin:o,protocol:i,host:s,hostname:a,port:u,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},l=(e,t)=>
2{let n=[],r=c(e),o=!1,i=()=>{};return{get location(){return r},get transitioning(){return o},_onTransitionComplete(){o=!1,i()},listen(t){n.push(t);const o=()=>{r=c(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),n=n.filter((e=>e!==t))}},navigate(t,{state:s,replace:u=!1}={}){if("number"==typeof t)e.history.go(t);else{s=a({},s,{key:Date.now()+""});try{o||u?e.history.replaceState(s,null,t):e.history.pushState(s,null,t)}catch(n){e.location[u?"replace":"assign"](t)}}r=c(e),o=!0;const l=new Promise((e=>i=e));return n.forEach((e=>e({location:r,action:"PUSH"}))),l}}},f=(e="/")=>{const t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let r=0;const o=[n],i=[null];return{get location(){return o[r]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return r},get state(){return i[r]},pushState(e,t,n){const[s,a=""]=n.split("?");r++,o.push({pathname:s,search:a.length?`?${a}`:a}),i.push(e)},replaceState(e,t,n){const[s,a=""]=n.split("?");o[r]={pathname:s,search:a},i[r]=e},go(e){const t=r+e;t<0||t>i.length-1||(r=t)}}}},h=!("undefined"==typeof window||!window.document||!window.document.createElement),d=l(h?window:f()),{navigate:p}=d;function g(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}const y=g("Base",{baseuri:"/",basepath:"/"}),m=g("Location"),v=()=>o.useContext(y),b=()=>o.useContext(m);function w(e){this.uri=e}const S=e=>e instanceof w,_=e=>{throw new w(e)};function A(e){const{to:t,replace:n=!0,state:r,noThrow:i,baseuri:s}=e;o.useEffect((()=>{Promise.resolve().then((()=>{const o=O(t,s);p(I(o,e),{replace:n,state:r})}))}),[]);const a=O(t,s);return i||_(I(a,e)),null}const P=e=>{const t=b(),{baseuri:n}=v();return o.createElement(A,a({},t,{baseuri:n},e))};P.propTypes={from:i.string,to:i.string.isRequired};const E=(e,t)=>e.substr(0,t.length)===t,C=(e,t)=>{let n,r;const[o]=t.split("?"),i=D(o),a=""===i[0],u=j(e);for(let c=0,l=u.length;c<l;c++){let e=!1;const o=u[c].route;if(o.default){r={route:o,params:{},uri:t};continue}const l=D(o.path),f={},h=Math.max(i.length,l.length);let d=0;for(;d<h;d++){const t=l[d],n=i[d];if(U(t)){f[t.slice(1)||"*"]=i.slice(d).map(decodeURIComponent).join("/");break}if(void 0===n){e=!0;break}const r=T.exec(t);if(r&&!a){const e=-1===N.indexOf(r[1]);s(e,`<Router> dynamic segment "${r[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(n);f[r[1]]=t}else if(t!==n){e=!0;break}}if(!e){n={route:o,params:f,uri:"/"+i.slice(0,d).join("/")};break}}return n||r||null},x=(e,t)=>C([{path:e}],t),O=(e,t)=>{if(E(e,"/"))return e;const[n,r]=e.split("?"),[o]=t.split("?"),i=D(n),s=D(o);if(""===i[0])return F(o,r);if(!E(i[0],".")){const e=s.concat(i).join("/");return F(("/"===o?"":"/")+e,r)}const a=s.concat(i),u=[];for(let c=0,l=a.length;c<l;c++){const e=a[c];".."===e?u.pop():"."!==e&&u.push(e)}return F("/"+u.join("/"),r)},I=(e,t)=>{const[n,r=""]=e.split("?");let o="/"+D(n).map((e=>{const n=T.exec(e);return n?t[n[1]]:e})).join("/");const{location:{search:i=""}={}}=t,s=i.split("?")[1]||"";return o=F(o,r,s),o},k=(e,t)=>{const n=e=>R(e);return D(e).filter(n).sort().join("/")===D(t).filter(n).sort().join("/")},T=/^:(.+)/,R=e=>T.test(e),U=e=>e&&"*"===e[0],M=(e,t)=>({route:e,score:e.default?0:D(e.path).reduce(((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:R(t)?e+=2:U(t)?e-=5:e+=3,e)),0),index:t}),j=e=>e.map(M).sort(((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index)),D=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),F=(e,...t)=>e+((t=t.filter((e=>e&&e.length>0)))&&t.length>0?`?${t.join("&")}`:""),N=["uri","path"],L=(e,t)=>{const n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((n=>t.hasOwnProperty(n)&&e[n]===t[n]))},B=e=>e.replace(/(^\/+|\/+$)/g,""),H=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,H(e));if(s(t.props.path||t.props.default||t.type===P,`<Router>: Children of <Router> must have a \`path\` or \`default\` prop, or be a \`<Redirect>\`. None found on element type \`${t.type}\``),s(!!(t.type!==P||t.props.from&&t.props.to),`<Redirect from="${t.props.from}" to="${t.props.to}"/> requires both "from" and "to" props when inside a <Router>.`),s(!(t.type===P&&!k(t.props.from,t.props.to)),`<Redirect from="${t.props.from} to="${t.props.to}"/> has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const n=t.type===P?t.props.from:t.props.path,r="/"===n?e:`${B(e)}/${B(n)}`;return{value:t,default:t.props.default,path:t.props.children?`${B(r)}/*`:r}},q=["innerRef"],W=["to","state","replace","getProps"],V=["key"];let{forwardRef:K}=r||(r=n.t(o,2));void 0===K&&(K=e=>e);const z=()=>{},G=K(((e,t)=>{let{innerRef:n}=e,r=u(e,q);const{baseuri:i}=v(),{location:s}=b(),{to:c,state:l,replace:f,getProps:h=z}=r,d=u(r,W),g=O(c,i),y=encodeURI(g),m=s.pathname===y,w=E(s.pathname,y);return o.createElement("a",a({ref:t||n,"aria-current":m?"page":void 0},d,h({isCurrent:m,isPartiallyCurrent:w,href:g,location:s}),{href:g,onClick:e=>{if(d.onClick&&d.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=f;if("boolean"!=typeof f&&m){const e=u(a({},s.state),V);t=L(a({},l),e)}p(g,{state:l,replace:t})}}}))}));G.displayName="Link",G.propTypes={to:i.string.isRequired};class $ extends o.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const J=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function Y({children:e}){const[t,n]=o.useState(),r=o.useRef(),i=o.useMemo((()=>({componentDidCatch:r,error:t,setError:n})),[t]);return o.createElement(J.Provider,{value:i},o.createElement($,{error:t,onError:(e,t)=>
2{n(e),null==r.current||r.current(e,t)}},e))}Y.displayName="ReactUseErrorBoundaryContext";const Q=function(e){var t,n;function r(t){return o.createElement(Y,null,o.createElement(e,a({key:"WrappedComponent"},t)))}return r.displayName=`WithErrorBoundary(${null!=(t=null!=(n=e.displayName)?n:e.name)?t:"Component"})`,r}((({history:e=d,children:t})=>{const{location:n}=e,[r,i]=o.useState({location:n}),[s]=function(e){const t=o.useContext(J);t.componentDidCatch.current=void 0;const n=o.useCallback((()=>{t.setError(void 0)}),[]);return[t.error,n]}();if(o.useEffect((()=>{e._onTransitionComplete()}),[r.location]),o.useEffect((()=>{let t=!1;const n=e.listen((({location:e})=>{Promise.resolve().then((()=>{requestAnimationFrame((()=>{t||i({location:e})}))}))}));return()=>{t=!0,n()}}),[]),s){if(!S(s))throw s;p(s.uri,{replace:!0})}return o.createElement(m.Provider,{value:r},"function"==typeof t?t(r):t||null)})),Z=({children:e})=>{const t=b();return t?e(t):o.createElement(Q,null,e)},X=({url:e,children:t})=>{const n=e.indexOf("?");let r,i="";return n>-1?(r=e.substring(0,n),i=e.substring(n)):r=e,o.createElement(m.Provider,{value:{location:{pathname:r,search:i,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:n}=v(),{location:r}=b(),o=O(e,n),i=x(o,r.pathname);return t({location:r,match:i?a({},i.params,{uri:i.uri,path:e}):null})},te=["uri","location","component"],ne=["children","style","component","uri","location"],re=e=>{let{uri:t,location:n,component:r}=e,i=u(e,te);return o.createElement(ie,a({},i,{component:r,uri:t,location:n}))};let oe=0;const ie=e=>{let{children:t,style:n,component:r="div",uri:i,location:s}=e,c=u(e,ne);const l=o.useRef(),f=o.useRef(!0),h=o.useRef(i),d=o.useRef(s.pathname),p=o.useRef(!1);o.useEffect((()=>(oe++,g(),()=>{oe--,0===oe&&(f.current=!0)})),[]),o.useEffect((()=>{let e=!1,t=!1;i!==h.current&&(h.current=i,e=!0),s.pathname!==d.current&&(d.current=s.pathname,t=!0),p.current=e||t&&s.pathname===i,p.current&&g()}),[i,s]);const g=o.useCallback((()=>{var e;f.current?f.current=!1:(e=l.current,p.current&&e&&e.focus())}),[]);return o.createElement(r,a({style:a({outline:"none"},n),tabIndex:"-1",ref:l},c),t)},se=["location","primary","children","basepath","baseuri","component"],ae=e=>{const t=v(),n=b();return o.createElement(ue,a({},t,n,e))};function ue(e){const{location:t,primary:n=!0,children:r,basepath:i,component:s="div"}=e,c=u(e,se),l=o.Children.toArray(r).reduce(((e,t)=>{const n=H(i)(t);return e.concat(n)}),[]),{pathname:f}=t,h=C(l,f);if(h){const{params:e,uri:r,route:u,route:{value:l}}=h,f=u.default?i:u.path.replace(/\*$/,""),d=a({},e,{uri:r,location:t}),p=o.cloneElement(l,d,l.props.children?o.createElement(ae,{location:t,primary:n},l.props.children):void 0),g=n?re:s,m=n?a({uri:r,location:t,component:s},c):c;return o.createElement(y.Provider,{value:{baseuri:r,basepath:f}},o.createElement(g,m,p))}return null}const ce=()=>{const e=b();if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},le=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},fe=()=>{const e=v();if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const t=ce(),n=x(e.basepath,t.pathname);return n?n.params:null},he=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=v();if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const n=ce(),r=O(e,t.baseuri),o=x(r,n.pathname);return o?a({},o.params,{uri:o.uri,path:e}):null}},57078:function(e,t,n){"use strict";n.d(t,{Fe:function(){return d},N_:function(){return _},Rr:function(){return u},Zf:function(){return v},oo:function(){return A}});var r=n(5556),o=n(96540),i=n(86462),s=n(96395);function a(){return a=Object.assign?Object.assign.bind():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},a.apply(this,arguments)}function u(e){let t=e||"/",n="",r="";const o=t.indexOf("#");-1!==o&&(r=t.slice(o),t=t.slice(0,o));const i=t.indexOf("?");return-1!==i&&(n=t.slice(i),t=t.slice(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}const c=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{if("string"==typeof e)return!(e=>c.test(e))(e)},f=()=>"",h=()=>"";function d(e,t=f()){var n;if(!l(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const r=null!=(n=null!=t?t:h())?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${e.startsWith("/")?e:`/${e}`}`}const p=e=>null==e?void 0:e.startsWith("/");function g(e,t){const{pathname:n,search:r,hash:o}=u(e);return`${(0,s.T)(n,t)}${r}${o}`}const y=(e,t)=>"number"==typeof e?e:l(e)?p(e)?function(e){const t=d(e),n="always";return g(t,n)}(e):function(e,t){if(p(e))return e;const n="always",r=(0,i.resolve)(e,t);return g(r,n)}(e,t):e,m=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function v(e){return d(e,h())}const b={activeClassName:r.string,activeStyle:r.object,partiallyActive:r.bool};function w(e){return o.createElement(i.Location,null,(({location:t})=>o.createElement(S,a({},e,{_location:t}))))}class S extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(
2Boolean).join(" "),style:a({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=u(y(this.props.to,e)),n=t.pathname+t.search;if(e!==n)return ___loader.enqueue(n)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const n=new window.IntersectionObserver((n=>{n.forEach((n=>{e===n.target&&t(n.isIntersecting||n.intersectionRatio>0)}))}));return n.observe(e),{instance:n,el:e}})(e,(e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const e=this.props,{to:t,getProps:n=this.defaultGetProps,onClick:r,onMouseEnter:s,state:c,replace:f,_location:h}=e,d=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(e,m),p=y(t,h.pathname);return l(p)?o.createElement(i.Link,a({to:p,state:c,getProps:n,innerRef:this.handleRef,onMouseEnter:e=>{s&&s(e);const t=u(p);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(r&&r(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=f;const n=encodeURI(p)===h.pathname;"boolean"!=typeof f&&n&&(t=!0),window.___navigate(p,{state:c,replace:t})}return!0}},d)):o.createElement("a",a({href:p},d))}}S.propTypes=a({},b,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});const _=o.forwardRef(((e,t)=>o.createElement(w,a({innerRef:t},e)))),A=(e,t)=>{window.___navigate(y(e,window.location.pathname),t)}},75535:function(e,t,n){"use strict";n.r(t),n.d(t,{Script:function(){return p},ScriptStrategy:function(){return c},collectedScriptsByPage:function(){return a},scriptCache:function(){return h},scriptCallbackCache:function(){return d}});var r=n(96540),o=n(86462);function i(){return i=Object.assign?Object.assign.bind():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},i.apply(this,arguments)}const s=new Map,a={get:e=>s.get(e)||[],set(e,t){const n=s.get(e)||[];n.push(t),s.set(e,n)},delete(e){s.delete(e)}},u="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};var c,l;(l=c||(c={})).postHydrate="post-hydrate",l.idle="idle",l.offMainThread="off-main-thread";const f=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),h=new Set,d=new Map;function p(e){return r.createElement(o.Location,null,(()=>r.createElement(g,e)))}function g(e){const{src:t,strategy:n=c.postHydrate}=e||{},{pathname:s}=(0,o.useLocation)();if((0,r.useEffect)((()=>{let t;switch(n){case c.postHydrate:t=y(e);break;case c.idle:u((()=>{t=y(e)}));break;case c.offMainThread:{const t=v(e);a.set(s,t)}}return()=>{const{script:e,loadCallback:n,errorCallback:r}=t||{};n&&(null==e||e.removeEventListener("load",n)),r&&(null==e||e.removeEventListener("error",r)),null==e||e.remove()}}),[]),n===c.offMainThread){const o=m(e),u=v(e);return"undefined"==typeof window&&a.set(s,u),r.createElement("script",o?i({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},u,{dangerouslySetInnerHTML:{__html:m(e)}}):i({type:"text/partytown",src:b(t),"data-strategy":n,crossOrigin:"anonymous"},u))}return null}function y(e){const{id:t,src:n,strategy:r=c.postHydrate,onLoad:o,onError:s}=e||{},a=t||n,u=["load","error"],l={load:o,error:s};if(a){for(const e of u)if(null!=l&&l[e]){var f;const t=d.get(a)||{},{callbacks:n=[]}=(null==t?void 0:t[e])||{};var p,g;n.push(null==l?void 0:l[e]),null!=t&&null!=(f=t[e])&&f.event?null==l||null==(p=l[e])||p.call(l,null==t||null==(g=t[e])?void 0:g.event):d.set(a,i({},t,{[e]:{callbacks:n}}))}if(h.has(a))return null}const y=m(e),b=v(e),S=document.createElement("script");t&&(S.id=t),S.dataset.strategy=r;for(const[i,c]of Object.entries(b))S.setAttribute(i,c);y&&(S.textContent=y),n&&(S.src=n);const _={};if(a){for(const e of u){const t=t=>w(t,a,e);S.addEventListener(e,t),_[`${e}Callback`]=t}h.add(a)}return document.body.appendChild(S),{script:S,loadCallback:_.loadCallback,errorCallback:_.errorCallback}}function m(e){const{dangerouslySetInnerHTML:t,children:n=""}=e||{},{__html:r=""}=t||{};return r||n}function v(e){const t={};for(const[n,r]of Object.entries(e))f.has(n)||(t[n]=r);return t}function b(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function w(e,t,n){const r=d.get(t)||{};for(const i of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;i(e)}d.set(t,{[n]:{event:e}})}}},function(e){e.O(0,[6593,5952],(function(){return t=56498,e(e.s=t);var t}));e.O()}]);
3//# sourceMappingURL=app-901085316cb3f5b86b1c.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.