1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="f62c8c00-b537-7b2e-8c1b-6cc0f7b21478")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,861008,e=>{"use strict";var t=e.i(605001);class r extends t.AmplifyError{constructor(e){super(e),this.constructor=r,Object.setPrototypeOf(this,r.prototype)}}e.s(["AuthError",0,r])},753316,e=>{"use strict";var t=e.i(647366),r=e.i(861008);e.s(["assertServiceError",0,function(e){if(!e||"Error"===e.name||e instanceof TypeError)throw new r.AuthError({name:t.AmplifyErrorCode.Unknown,message:"An unknown error has occurred.",underlyingError:e})}])},543893,e=>{"use strict";var t=e.i(601713),r=e.i(337349);let o=(0,t.composeTransferHandler)(r.unauthenticatedHandler,[()=>(e,t)=>async function(t){return t.headers["cache-control"]="no-store",e(t)}]);e.s(["cognitoUserPoolTransferHandler",0,o])},764586,e=>{"use strict";var t=e.i(543830),r=e.i(753316),o=e.i(861008);e.s(["createUserPoolDeserializer",0,()=>async e=>{if(e.statusCode>=300){let i=await (0,t.parseJsonError)(e);throw(0,r.assertServiceError)(i),new o.AuthError({name:i.name,message:i.message,metadata:i.$metadata})}return(0,t.parseJsonBody)(e)}])},257995,e=>{"use strict";e.s(["createUserPoolSerializer",0,e=>(t,r)=>{let o;return(({url:e},t,r)=>({headers:t,url:e,body:r,method:"POST"}))(r,(o=e,{"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityProviderService.${o}`}),JSON.stringify(t))}])},923244,e=>{"use strict";var t=e.i(861008);e.s(["getRegionFromIdentityPoolId",0,function(e){if(!e||!e.includes(":"))throw new t.AuthError({name:"InvalidIdentityPoolIdException",message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."});return e.split(":")[0]},"getRegionFromUserPoolId",0,function(e){let r=e?.split("_")[0];if(!e||0>e.indexOf("_")||!r||"string"!=typeof r)throw new t.AuthError({name:"InvalidUserPoolId",message:"Invalid user pool id provided."});return r}])},642017,111640,e=>{"use strict";var t=e.i(54626),r=e.i(681702);let o="cognito-idp";e.s(["COGNITO_IDP_SERVICE_NAME",0,o],111640),e.s(["createCognitoUserPoolEndpointResolver",0,({endpointOverride:e})=>i=>e?{url:new t.AmplifyUrl(e)}:(({region:e})=>({url:new t.AmplifyUrl(`https://${o}.${e}.${(0,r.getDnsSuffix)(e)}`)}))(i)],642017)},718127,e=>{"use strict";var t,r=e.i(64654),o=e.i(861008);let i={accessToken:"accessToken",idToken:"idToken",oidcProvider:"oidcProvider",clockDrift:"clockDrift",refreshToken:"refreshToken",deviceKey:"deviceKey",randomPasswordKey:"randomPasswordKey",deviceGroupKey:"deviceGroupKey",signInDetails:"signInDetails",oauthMetadata:"oauthMetadata"};var n=e.i(542434);(t||(t={})).InvalidAuthTokens="InvalidAuthTokens";let s={[t.InvalidAuthTokens]:{message:"Invalid tokens.",recoverySuggestion:"Make sure the tokens are valid."}},a=(0,n.createAssertionFunction)(s),u="CognitoIdentityServiceProvider";function c(e){let t=Object.values({...e});return(e,r)=>t.reduce((t,o)=>({...t,[o]:`${e}.${r}.${o}`}),{})}e.s(["DefaultTokenStore",0,class{getKeyValueStorage(){if(!this.keyValueStorage)throw new o.AuthError({name:"KeyValueStorageNotFoundException",message:"KeyValueStorage was not found in TokenStore"});return this.keyValueStorage}setKeyValueStorage(e){this.keyValueStorage=e}setAuthConfig(e){this.authConfig=e}async loadTokens(){try{let e=await this.getAuthKeys(),t=await this.getKeyValueStorage().getItem(e.accessToken);if(!t)throw new o.AuthError({name:"NoSessionFoundException",message:"Auth session was not found. Make sure to call signIn."});let i=(0,r.decodeJWT)(t),n=await this.getKeyValueStorage().getItem(e.idToken),s=n?(0,r.decodeJWT)(n):void 0,a=await this.getKeyValueStorage().getItem(e.refreshToken)??void 0,u=await this.getKeyValueStorage().getItem(e.clockDrift)??"0",c=Number.parseInt(u),l=await this.getKeyValueStorage().getItem(e.signInDetails),h={accessToken:i,idToken:s,refreshToken:a,deviceMetadata:await this.getDeviceMetadata()??void 0,clockDrift:c,username:await this.getLastAuthUser()};
2return l&&(h.signInDetails=JSON.parse(l)),h}catch(e){return null}}async storeTokens(e){a(void 0!==e,t.InvalidAuthTokens);let r=e.username;await this.getKeyValueStorage().setItem(this.getLastAuthUserKey(),r);let o=await this.getAuthKeys();await this.getKeyValueStorage().setItem(o.accessToken,e.accessToken.toString()),e.idToken?await this.getKeyValueStorage().setItem(o.idToken,e.idToken.toString()):await this.getKeyValueStorage().removeItem(o.idToken),e.refreshToken?await this.getKeyValueStorage().setItem(o.refreshToken,e.refreshToken):await this.getKeyValueStorage().removeItem(o.refreshToken),e.deviceMetadata&&(e.deviceMetadata.deviceKey&&await this.getKeyValueStorage().setItem(o.deviceKey,e.deviceMetadata.deviceKey),e.deviceMetadata.deviceGroupKey&&await this.getKeyValueStorage().setItem(o.deviceGroupKey,e.deviceMetadata.deviceGroupKey),await this.getKeyValueStorage().setItem(o.randomPasswordKey,e.deviceMetadata.randomPassword)),e.signInDetails?await this.getKeyValueStorage().setItem(o.signInDetails,JSON.stringify(e.signInDetails)):await this.getKeyValueStorage().removeItem(o.signInDetails),await this.getKeyValueStorage().setItem(o.clockDrift,`${e.clockDrift}`)}async clearTokens(){let e=await this.getAuthKeys();await Promise.all([this.getKeyValueStorage().removeItem(e.accessToken),this.getKeyValueStorage().removeItem(e.idToken),this.getKeyValueStorage().removeItem(e.clockDrift),this.getKeyValueStorage().removeItem(e.refreshToken),this.getKeyValueStorage().removeItem(e.signInDetails),this.getKeyValueStorage().removeItem(this.getLastAuthUserKey()),this.getKeyValueStorage().removeItem(e.oauthMetadata)])}async getDeviceMetadata(e){let t=await this.getAuthKeys(e),r=await this.getKeyValueStorage().getItem(t.deviceKey),o=await this.getKeyValueStorage().getItem(t.deviceGroupKey),i=await this.getKeyValueStorage().getItem(t.randomPasswordKey);return i&&o&&r?{deviceKey:r,deviceGroupKey:o,randomPassword:i}:null}async clearDeviceMetadata(e){let t=await this.getAuthKeys(e);await Promise.all([this.getKeyValueStorage().removeItem(t.deviceKey),this.getKeyValueStorage().removeItem(t.deviceGroupKey),this.getKeyValueStorage().removeItem(t.randomPasswordKey)])}async getAuthKeys(e){let t,o;(0,r.assertTokenProviderConfig)(this.authConfig?.Cognito);let n=e??await this.getLastAuthUser();return t=u,o=`${this.authConfig.Cognito.userPoolClientId}.${n}`,c(i)(`${t}`,o)}getLastAuthUserKey(){(0,r.assertTokenProviderConfig)(this.authConfig?.Cognito);let e=this.authConfig.Cognito.userPoolClientId;return`${u}.${e}.LastAuthUser`}async getLastAuthUser(){return await this.getKeyValueStorage().getItem(this.getLastAuthUserKey())??"username"}async setOAuthMetadata(e){let{oauthMetadata:t}=await this.getAuthKeys();await this.getKeyValueStorage().setItem(t,JSON.stringify(e))}async getOAuthMetadata(){let{oauthMetadata:e}=await this.getAuthKeys(),t=await this.getKeyValueStorage().getItem(e);return t&&JSON.parse(t)}},"getAuthStorageKeys",0,c],718127)},657237,419507,e=>{"use strict";var t=e.i(475758),r=e.i(587002),o=e.i(718127),i=e.i(19200),n=e.i(702020),s=e.i(64654),a=e.i(711065),u=e.i(753316),c=e.i(861008),l=e.i(726257);let h=[],d=e=>{h.push(e)};e.s(["addInflightPromise",0,d,"resolveAndClearInflightPromises",0,()=>{for(;h.length;)h.pop()?.()}],419507);class g{constructor(){this.waitForInflightOAuth=(0,n.isBrowser)()?async()=>{if(await l.oAuthStore.loadOAuthInFlight())return this.inflightPromise||(this.inflightPromise=new Promise((e,t)=>{d(e)})),this.inflightPromise}:async()=>{}}setAuthConfig(e){l.oAuthStore.setAuthConfig(e.Cognito),this.authConfig=e}setTokenRefresher(e){this.tokenRefresher=e}setAuthTokenStore(e){this.tokenStore=e}getTokenStore(){if(!this.tokenStore)throw new c.AuthError({name:"EmptyTokenStoreException",message:"TokenStore not set"});return this.tokenStore}getTokenRefresher(){if(!this.tokenRefresher)throw new c.AuthError({name:"EmptyTokenRefresherException",message:"TokenRefresher not set"});return this.tokenRefresher}setClientMetadataProvider(e){this.clientMetadataProvider=e}async getTokens(e){let t;try{(0,s.assertTokenProviderConfig)(this.authConfig?.Cognito)}catch(e){return null}await this.waitForInflightOAuth(),this.inflightPromise=void 0,t=await this.getTokenStore().loadTokens();let r=await this.getTokenStore().getLastAuthUser();if(null===t)return null;let o=!!t?.idToken&&(0,a.isTokenExpired)({expiresAt:(t.idToken?.payload?.exp??0)*1e3,clockDrift:t.clockDrift??0}),i=(0,a.isTokenExpired)({expiresAt:(t.accessToken?.payload?.exp??0)*1e3,clockDrift:t.clockDrift??0});return(e?.forceRefresh||o||i)&&null===(t=await this.refreshTokens({tokens:t,username:r,clientMetadata:e?.clientMetadata??await this.clientMetadataProvider?.()}))?null:{accessToken:t?.accessToken,idToken:t?.idToken,signInDetail
2s:t?.signInDetails}}async refreshTokens({tokens:e,username:t,clientMetadata:r}){try{let{signInDetails:o}=e,n=await this.getTokenRefresher()({tokens:e,authConfig:this.authConfig,username:t,clientMetadata:r});return n.signInDetails=o,await this.setTokens({tokens:n}),i.Hub.dispatch("auth",{event:"tokenRefresh"},"Auth",i.AMPLIFY_SYMBOL),n}catch(e){return this.handleErrors(e)}}handleErrors(e){if((0,u.assertServiceError)(e),this.isAuthenticationError(e)&&this.clearTokens(),i.Hub.dispatch("auth",{event:"tokenRefresh_failure",data:{error:e}},"Auth",i.AMPLIFY_SYMBOL),e.name.startsWith("NotAuthorizedException"))return null;throw e}isAuthenticationError(e){return["NotAuthorizedException","TokenRevokedException","UserNotFoundException","PasswordResetRequiredException","UserNotConfirmedException","RefreshTokenReuseException"].some(t=>e?.name?.startsWith?.(t))}async setTokens({tokens:e}){return this.getTokenStore().storeTokens(e)}async clearTokens(){return this.getTokenStore().clearTokens()}getDeviceMetadata(e){return this.getTokenStore().getDeviceMetadata(e)}clearDeviceMetadata(e){return this.getTokenStore().clearDeviceMetadata(e)}setOAuthMetadata(e){return this.getTokenStore().setOAuthMetadata(e)}getOAuthMetadata(){return this.getTokenStore().getOAuthMetadata()}}let f=new class{constructor(){this.authTokenStore=new o.DefaultTokenStore,this.authTokenStore.setKeyValueStorage(t.defaultStorage),this.tokenOrchestrator=new g,this.tokenOrchestrator.setAuthTokenStore(this.authTokenStore),this.tokenOrchestrator.setTokenRefresher(r.refreshAuthTokens)}getTokens(e={}){return this.tokenOrchestrator.getTokens(e)}setKeyValueStorage(e){this.authTokenStore.setKeyValueStorage(e)}setClientMetadataProvider(e){this.tokenOrchestrator.setClientMetadataProvider(e)}setAuthConfig(e){this.authTokenStore.setAuthConfig(e),this.tokenOrchestrator.setAuthConfig(e)}},{tokenOrchestrator:p}=f;e.s(["cognitoUserPoolsTokenProvider",0,f,"tokenOrchestrator",0,p],657237)},726257,2725,e=>{"use strict";var t=e.i(475758),r=e.i(64654),o=e.i(718127),i=e.i(413811);let n="amplify-signin-with-hostedUI",s="CognitoIdentityServiceProvider";class a{constructor(e){this.keyValueStorage=e}async clearOAuthInflightData(){(0,r.assertTokenProviderConfig)(this.cognitoConfig);let e=u(s,this.cognitoConfig.userPoolClientId);await Promise.all([this.keyValueStorage.removeItem(e.inflightOAuth),this.keyValueStorage.removeItem(e.oauthPKCE),this.keyValueStorage.removeItem(e.oauthState)])}async clearOAuthData(){(0,r.assertTokenProviderConfig)(this.cognitoConfig);let e=u(s,this.cognitoConfig.userPoolClientId);return await this.clearOAuthInflightData(),await this.keyValueStorage.removeItem(n),this.keyValueStorage.removeItem(e.oauthSignIn)}loadOAuthState(){(0,r.assertTokenProviderConfig)(this.cognitoConfig);let e=u(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthState)}storeOAuthState(e){(0,r.assertTokenProviderConfig)(this.cognitoConfig);let t=u(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthState,e)}loadPKCE(){(0,r.assertTokenProviderConfig)(this.cognitoConfig);let e=u(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(e.oauthPKCE)}storePKCE(e){(0,r.assertTokenProviderConfig)(this.cognitoConfig);let t=u(s,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(t.oauthPKCE,e)}setAuthConfig(e){this.cognitoConfig=e}async loadOAuthInFlight(){(0,r.assertTokenProviderConfig)(this.cognitoConfig);let e=u(s,this.cognitoConfig.userPoolClientId);return await this.keyValueStorage.getItem(e.inflightOAuth)==="true"}async storeOAuthInFlight(e){(0,r.assertTokenProviderConfig)(this.cognitoConfig);let t=u(s,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(t.inflightOAuth,`${e}`)}async loadOAuthSignIn(){(0,r.assertTokenProviderConfig)(this.cognitoConfig);let e=u(s,this.cognitoConfig.userPoolClientId),t=await this.keyValueStorage.getItem(n),[o,i]=(await this.keyValueStorage.getItem(e.oauthSignIn))?.split(",")??[];return{isOAuthSignIn:"true"===o||"true"===t,preferPrivateSession:"true"===i}}async storeOAuthSignIn(e,t=!1){(0,r.assertTokenProviderConfig)(this.cognitoConfig);let o=u(s,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(o.oauthSignIn,`${e},${t}`)}}let u=(e,t)=>
2(0,o.getAuthStorageKeys)(i.OAuthStorageKeys)(e,t);e.s(["DefaultOAuthStore",0,a],2725);let c=new a(t.defaultStorage);e.s(["oAuthStore",0,c],726257)},587002,439406,e=>{"use strict";var t=e.i(831410),r=e.i(64654),o=e.i(923244),i=e.i(413811),n=e.i(861008),s=e.i(642017),a=e.i(94893),u=e.i(257995),c=e.i(764586),l=e.i(543893),h=e.i(577988),d=e.i(543830),g=e.i(367872),f=e.i(389100);let p={service:e.i(111640).COGNITO_IDP_SERVICE_NAME,retryDecider:(0,h.getRetryDecider)(d.parseJsonError),computeDelay:g.jitteredBackoff,get userAgentValue(){return(0,f.getAmplifyUserAgent)()},cache:"no-store"};e.s(["DEFAULT_SERVICE_CLIENT_API_CONFIG",0,p],439406);let y=async({tokens:e,authConfig:t,username:h,clientMetadata:d})=>{let g;(0,r.assertTokenProviderConfig)(t?.Cognito);let{userPoolId:f,userPoolClientId:y,userPoolEndpoint:m}=t.Cognito,w=(0,o.getRegionFromUserPoolId)(f);(0,i.assertAuthTokensWithRefreshToken)(e);let S=(g={endpointResolver:(0,s.createCognitoUserPoolEndpointResolver)({endpointOverride:m})},(0,a.composeServiceApi)(l.cognitoUserPoolTransferHandler,(0,u.createUserPoolSerializer)("GetTokensFromRefreshToken"),(0,c.createUserPoolDeserializer)(),{...p,...g})),{AuthenticationResult:E}=await S({region:w},{ClientId:y,RefreshToken:e.refreshToken,DeviceKey:e.deviceMetadata?.deviceKey,ClientMetadata:d}),v=(0,r.decodeJWT)(E?.AccessToken??""),A=E?.IdToken?(0,r.decodeJWT)(E.IdToken):void 0,{iat:I}=v.payload;if(!I)throw new n.AuthError({name:"iatNotFoundException",message:"iat not found in access token"});return{accessToken:v,idToken:A,clockDrift:1e3*I-new Date().getTime(),refreshToken:E?.RefreshToken??e.refreshToken,username:h}},m=(0,t.deDupeAsyncFunction)(y);e.s(["refreshAuthTokens",0,m],587002)},413811,508057,e=>{"use strict";var t=e.i(861008);let r="UserUnAuthenticatedException",o="DeviceMetadataNotFoundException",i=new t.AuthError({name:"InvalidRedirectException",message:"signInRedirect or signOutRedirect had an invalid format or was not found.",recoverySuggestion:"Please make sure the signIn/Out redirect in your oauth config is valid."});new t.AuthError({name:"InvalidAppSchemeException",message:"A valid non-http app scheme was not found in the config.",recoverySuggestion:"Please make sure a valid custom app scheme is present in the config."});let n=new t.AuthError({name:"InvalidPreferredRedirectUrlException",message:"The given preferredRedirectUrl does not match any items in the redirectSignOutUrls array from the config.",recoverySuggestion:"Please make sure a matching preferredRedirectUrl is provided."}),s=new t.AuthError({name:"InvalidOriginException",message:"redirect is coming from a different origin. The oauth flow needs to be initiated from the same origin",recoverySuggestion:"Please call signInWithRedirect from the same origin."}),a="TokenRefreshException";e.s(["AUTO_SIGN_IN_EXCEPTION",0,"AutoSignInException","DEVICE_METADATA_NOT_FOUND_EXCEPTION",0,o,"OAUTH_SIGNOUT_EXCEPTION",0,"OAuthSignOutException","TOKEN_REFRESH_EXCEPTION",0,a,"UNEXPECTED_SIGN_IN_INTERRUPTION_EXCEPTION",0,"UnexpectedSignInInterruptionException","USER_ALREADY_AUTHENTICATED_EXCEPTION",0,"UserAlreadyAuthenticatedException","USER_UNAUTHENTICATED_EXCEPTION",0,r,"invalidOriginException",0,s,"invalidPreferredRedirectUrlException",0,n,"invalidRedirectException",0,i],508057);let u=new t.AuthError({name:a,message:`Token refresh is not supported when authenticated with the 'implicit grant' (token) oauth flow. 3 Please change your oauth configuration to use 'code grant' flow.`,recoverySuggestion:`Please logout and change your Amplify configuration to use "code grant" flow. 4 E.g { responseType: 'code' }`}),c=new t.AuthError({name:r,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."});function l(e){return e?.accessToken||e?.idToken}e.s(["OAuthStorageKeys",0,{inflightOAuth:"inflightOAuth",oauthSignIn:"oauthSignIn",oauthPKCE:"oauthPKCE",oauthState:"oauthState"},"assertAuthTokens",0,function(e){if(!e||!e.accessToken)throw new t.AuthError({name:r,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})},"assertAuthTokensWithRefreshToken",0,function(e){var t,r;if(l(t=e)&&!t?.refreshToken)throw u;if(!(l(r=e)&&r?.refreshToken))throw c},"assertDeviceMetadata",0,function(e){if(!e||!e.deviceKey||!e.deviceGroupKey||!e.randomPassword)throw new t.AuthError({name:o,message:"Either deviceKey, deviceGroupKey or secretPassword were not found during the sign-in process.",recoverySuggestion:"Make sure to not clear storage after calling the signIn API."})},"assertIdTokenInAuthTokens",0,function(e){if(!e||!e.idToken)throw new t.AuthError({name:r,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}],413811)},19200,e=>{"use strict";var t=e.i(138374),r=e.i(882354),o=e.i(605001);let i="u">typeof Symbol?Symbol("amplify_default"):"@@amplify_default",n=new t.ConsoleLogger("Hub");class s{constructor(e){this.listeners=new Map,this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=e}_remove(e,t){let r=this.listeners.get(e);r?this.listeners.set(e,[...r.filter(({callback:e})=>e!==t)]):n.warn(`No listeners for ${e}`)}
4dispatch(e,t,r,o){"string"==typeof e&&this.protectedChannels.indexOf(e)>-1&&o!==i&&n.warn(`WARNING: ${e} is protected and dispatching on it can have unintended consequences`);let s={channel:e,payload:{...t},source:r,patternInfo:[]};try{this._toListeners(s)}catch(e){n.error(e)}}listen(e,t,i="noname"){if("function"!=typeof t)throw new o.AmplifyError({name:r.NO_HUBCALLBACK_PROVIDED_EXCEPTION,message:"No callback supplied to Hub"});let n=this.listeners.get(e);return n||(n=[],this.listeners.set(e,n)),n.push({name:i,callback:t}),()=>{this._remove(e,t)}}_toListeners(e){let{channel:t,payload:r}=e,o=this.listeners.get(t);o&&o.forEach(o=>{n.debug(`Dispatching to ${t} with `,r);try{o.callback(e)}catch(e){n.error(e)}})}}let a=new s("__default__"),u=new s("internal-hub");e.s(["AMPLIFY_SYMBOL",0,i,"Hub",0,a,"HubInternal",0,u])},138374,882354,e=>{"use strict";var t,r;let o="Logging";e.s(["AWS_CLOUDWATCH_CATEGORY",0,o,"NO_HUBCALLBACK_PROVIDED_EXCEPTION",0,"NoHubcallbackProvidedException","USER_AGENT_HEADER",0,"x-amz-user-agent"],882354),(r=t||(t={})).DEBUG="DEBUG",r.ERROR="ERROR",r.INFO="INFO",r.WARN="WARN",r.VERBOSE="VERBOSE",r.NONE="NONE";let i={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5,NONE:6};class n{constructor(e,r=t.WARN){this.name=e,this.level=r,this._pluggables=[]}_padding(e){return e<10?"0"+e:""+e}_ts(){let e=new Date;return[this._padding(e.getMinutes()),this._padding(e.getSeconds())].join(":")+"."+e.getMilliseconds()}configure(e){return e&&(this._config=e),this._config}_log(e,...r){let o=this.level;n.LOG_LEVEL&&(o=n.LOG_LEVEL),"u">typeof window&&window.LOG_LEVEL&&(o=window.LOG_LEVEL);let s=i[o];if(!(i[e]>=s))return;let a=console.log.bind(console);e===t.ERROR&&console.error&&(a=console.error.bind(console)),e===t.WARN&&console.warn&&(a=console.warn.bind(console)),n.BIND_ALL_LOG_LEVELS&&(e===t.INFO&&console.info&&(a=console.info.bind(console)),e===t.DEBUG&&console.debug&&(a=console.debug.bind(console)));let u=`[${e}] ${this._ts()} ${this.name}`,c="";if(1===r.length&&"string"==typeof r[0])a(c=`${u} - ${r[0]}`);else if(1===r.length)c=`${u} ${r[0]}`,a(u,r[0]);else if("string"==typeof r[0]){let e=r.slice(1);1===e.length&&(e=e[0]),c=`${u} - ${r[0]} ${e}`,a(`${u} - ${r[0]}`,e)}else c=`${u} ${r}`,a(u,r);for(let e of this._pluggables){let t={message:c,timestamp:Date.now()};e.pushLogs([t])}}log(...e){this._log(t.INFO,...e)}info(...e){this._log(t.INFO,...e)}warn(...e){this._log(t.WARN,...e)}error(...e){this._log(t.ERROR,...e)}debug(...e){this._log(t.DEBUG,...e)}verbose(...e){this._log(t.VERBOSE,...e)}addPluggable(e){e&&e.getCategoryName()===o&&(this._pluggables.push(e),e.configure(this._config))}listPluggables(){return this._pluggables}}n.LOG_LEVEL=null,n.BIND_ALL_LOG_LEVELS=!1,e.s(["ConsoleLogger",0,n],138374)},389100,344037,e=>{"use strict";let t;(o=p||(p={})).WebUnknown="0",o.React="1",o.NextJs="2",o.Angular="3",o.VueJs="4",o.Nuxt="5",o.Svelte="6",o.ServerSideUnknown="100",o.ReactSSR="101",o.NextJsSSR="102",o.AngularSSR="103",o.VueJsSSR="104",o.NuxtSSR="105",o.SvelteSSR="106",o.ReactNative="201",o.Expo="202",(i=y||(y={})).AI="ai",i.API="api",i.Auth="auth",i.Analytics="analytics",i.DataStore="datastore",i.Geo="geo",i.InAppMessaging="inappmessaging",i.Interactions="interactions",i.Predictions="predictions",i.PubSub="pubsub",i.PushNotification="pushnotification",i.Storage="storage",(n=m||(m={})).CreateConversation="1",n.GetConversation="2",n.ListConversations="3",n.DeleteConversation="4",n.SendMessage="5",n.ListMessages="6",n.OnMessage="7",n.Generation="8",n.UpdateConversation="9",(s=w||(w={})).Record="1",s.IdentifyUser="2",(a=S||(S={})).GraphQl="1",a.Get="2",a.Post="3",a.Put="4",a.Patch="5",a.Del="6",a.Head="7",(u=E||(E={})).SignUp="1",u.ConfirmSignUp="2",u.ResendSignUpCode="3",u.SignIn="4",u.FetchMFAPreference="6",u.UpdateMFAPreference="7",u.SetUpTOTP="10",u.VerifyTOTPSetup="11",u.ConfirmSignIn="12",u.DeleteUserAttributes="15",u.DeleteUser="16",u.UpdateUserAttributes="17",u.FetchUserAttributes="18",u.ConfirmUserAttribute="22",u.SignOut="26",u.UpdatePassword="27",u.ResetPassword="28",u.ConfirmResetPassword="29",u.FederatedSignIn="30",u.RememberDevice="32",u.ForgetDevice="33",u.FetchDevices="34",u.SendUserAttributeVerificationCode="35",u.SignInWithRedirect="36",u.StartWebAuthnRegistration="37",u.CompleteWebAuthnRegistration="38",u.ListWebAuthnCredentials="39",u.DeleteWebAuthnCredential="40",(c=v||(v={})).Subscribe="1",c.GraphQl="2",(l=A||(A={})).SearchByText="0",l.SearchByCoordinates="1",l.SearchForSuggestions="2",l.SearchByPlaceId="3",l.SaveGeofences="4",l.GetGeofence="5",l.ListGeofences="6",l.DeleteGeofences="7",(h=I||(I={})).SyncMessages="1",h.IdentifyUser="2",h.NotifyMessageInteraction="3",(k||(k={})).None="0",(d=T||(T={})).Convert="1",d.Identify="2",d.Interpret="3",(b||(b={})).Subscribe="1",(g=x||(x={})).InitializePushNotifications="1",g.IdentifyUser="2",(f=C||(C={})).UploadData="1",f.DownloadData="2",f.List="3",f.Copy="4",f.Remove="5",f.GetProperties="6",f.GetUrl="7",f.GetDataAccess="8",f.ListCallerAccessGrants="9",e.s(["AuthAction",0,E,"Category",0,y,"Framework",0,p],344037);let r="6.16.2";var o,i,n,s,a,u,c,l,h,d,g,f,p,y,m,w,S,E,v,A,I,k,T,b,x,C,P=e.i(312319);let _=(e,t)=>
4!!Object.keys(e).find(e=>e.startsWith(t)),R=[{platform:p.Expo,detectionMethod:function(){return void 0!==e.g.expo}},{platform:p.ReactNative,detectionMethod:function(){return"u">typeof navigator&&void 0!==navigator.product&&"ReactNative"===navigator.product}},{platform:p.NextJs,detectionMethod:function(){return"u">typeof window&&window.next&&"object"==typeof window.next}},{platform:p.Nuxt,detectionMethod:function(){return"u">typeof window&&(void 0!==window.__NUXT__||void 0!==window.$nuxt)}},{platform:p.Angular,detectionMethod:function(){let e=!!("u">typeof document&&document.querySelector("[ng-version]")),t=!!("u">typeof window&&void 0!==window.ng);return e||t}},{platform:p.React,detectionMethod:function(){let e=e=>e.startsWith("_react")||e.startsWith("__react");return"u">typeof document&&Array.from(document.querySelectorAll("[id]")).some(t=>Object.keys(t).find(e))}},{platform:p.VueJs,detectionMethod:function(){return"u">typeof window&&_(window,"__VUE")}},{platform:p.Svelte,detectionMethod:function(){return"u">typeof window&&_(window,"__SVELTE")}},{platform:p.WebUnknown,detectionMethod:function(){return"u">typeof window}},{platform:p.NextJsSSR,detectionMethod:function(){return _(e.g,"__next")||_(e.g,"__NEXT")}},{platform:p.NuxtSSR,detectionMethod:function(){return void 0!==e.g.__NUXT_PATHS__}},{platform:p.ReactSSR,detectionMethod:function(){return void 0!==P.default&&void 0!==P.default.env&&!!Object.keys(P.default.env).find(e=>e.includes("react"))}},{platform:p.VueJsSSR,detectionMethod:function(){return _(e.g,"__VUE")}},{platform:p.AngularSSR,detectionMethod:function(){return void 0!==P.default&&"object"==typeof P.default.env&&P.default.env.npm_lifecycle_script?.startsWith("ng ")||!1}},{platform:p.SvelteSSR,detectionMethod:function(){return void 0!==P.default&&void 0!==P.default.env&&!!Object.keys(P.default.env).find(e=>e.includes("svelte"))}}],U=[],O=!1,D=()=>{if(!t){if(t=R.find(e=>e.detectionMethod())?.platform||p.ServerSideUnknown,O)for(;U.length;)U.pop()?.();else U.forEach(e=>{e()});N(p.ServerSideUnknown,10),N(p.WebUnknown,10)}return t};function N(e,r){t!==e||O||setTimeout(()=>{t=void 0,O=!0,setTimeout(D,1e3)},r)}let M={},K="aws-amplify";new class{constructor(){this.userAgent=`${K}/${(e=>e.replace(/\+.*/,""))(r)}`}get framework(){return D()}get isReactNative(){return this.framework===p.ReactNative||this.framework===p.Expo}observeFrameworkChanges(e){O||U.push(e)}},e.s(["getAmplifyUserAgent",0,e=>(({category:e,action:t}={})=>{let o=[[K,r.replace(/\+.*/,"")]];if(e&&o.push([e,t]),o.push(["framework",D()]),e&&t){let r=M[e]?.[t]?.additionalDetails;r&&r.forEach(e=>{o.push(e)})}return o})(e).map(([e,t])=>e&&t?`${e}/${t}`:e).join(" ")],389100)},681702,e=>{"use strict";let t={id:"aws",outputs:{dnsSuffix:"amazonaws.com"},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:["aws-global"]},r={partitions:[t,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]};e.s(["getDnsSuffix",0,e=>{let{partitions:o}=r;for(let{regions:t,outputs:r,regionRegex:i}of o){let o=new RegExp(i);if(t.includes(e)||o.test(e))return r.dnsSuffix}return t.outputs.dnsSuffix}],681702)},337349,e=>{"use strict";var t=e.i(48090),r=e.i(733690),o=e.i(949373),i=e.i(795828),n=e.i(601713),s=e.i(605001),a=e.i(647366);let u=e=>{let t;return()=>(t||(t=e()),t)},c=async({url:e,method:t,headers:r,body:o},{abortSignal:i,cache:n,withCrossDomainCredentials:c})=>{let l;try{l=await fetch(e,{method:t,headers:r,body:["HEAD","GET"].includes(t.toUpperCase())?void 0:o,signal:i,cache:n,credentials:c?"include":"same-origin"})}catch(e){if(e instanceof TypeError)throw new s.AmplifyError({name:a.AmplifyErrorCode.NetworkError,message:"A network error has occurred.",underlyingError:e});throw e}let h={};l.headers?.forEach((e,t)=>{h[t.toLowerCase()]=e});let d={statusCode:l.status,headers:h,body:null},g=Object.assign(l.body??{},{text:u(()=>l.text()),blob:u(()=>l.blob()),json:u(()=>l.json())});return{...d,body:g}},l=(0,n.composeTransferHandler)(c,[i.userAgentMiddlewareFactory,r.amzSdkInvocationIdHeaderMiddlewareFactory,t.retryMiddlewareFactory,o.amzSdkRequestHeaderMiddlewareFactory]);e.s(["unauthenticatedHandler",0,l],337349)},94893,e=>{"use strict";e.s(["composeServiceApi",0,(e,t,r,o)=>async(i,n)=>{let s={...o,...i},a=await s.endpointResolver(s,n),u=await t(n,a);return r(await e(u,{...s}))}])},601713,e=>{"use strict";e.s(["composeTransferHandler",0,(e,t)=>(r,o)=>{let i={},n=t=>e(t,o);for(let e=t.length-1;e>=0;e--)n=(0,t[e])(o)(n,i);return n(r)}])},733690,949373,795828,e=>{"use strict";var t=e.i(352152);e.i(385040),e.i(37268);var r=e.i(231898);
4e.s(["amzSdkInvocationIdHeaderMiddlewareFactory",0,()=>e=>async function(o){return o.headers[r.AMZ_SDK_INVOCATION_ID_HEADER]||(o.headers[r.AMZ_SDK_INVOCATION_ID_HEADER]=(0,t.amplifyUuid)()),e(o)}],733690);var o=r;e.s(["amzSdkRequestHeaderMiddlewareFactory",0,({maxAttempts:e=o.DEFAULT_RETRY_ATTEMPTS})=>(t,r)=>async function(i){let n=r.attemptsCount??0;return i.headers[o.AMZ_SDK_REQUEST_HEADER]=`attempt=${n+1}; max=${e}`,t(i)}],949373),e.s(["userAgentMiddlewareFactory",0,({userAgentHeader:e="x-amz-user-agent",userAgentValue:t=""})=>r=>async function(o){if(0===t.trim().length)return await r(o);{let i=e.toLowerCase();return o.headers[i]=o.headers[i]?`${o.headers[i]} ${t}`:t,await r(o)}}],795828)},231898,e=>{"use strict";e.s(["AMZ_SDK_INVOCATION_ID_HEADER",0,"amz-sdk-invocation-id","AMZ_SDK_REQUEST_HEADER",0,"amz-sdk-request","DEFAULT_MAX_DELAY_MS",0,3e5,"DEFAULT_RETRY_ATTEMPTS",0,3])},577988,e=>{"use strict";var t=e.i(647366);let r=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"],o=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],i=["TimeoutError","RequestTimeout","RequestTimeoutException"];e.s(["getRetryDecider",0,e=>async(n,s)=>{let a,u,c,l,h,d=s??await e(n)??void 0,g=d?.code||d?.name,f=n?.statusCode;return{retryable:(a=s,[t.AmplifyErrorCode.NetworkError,"ERR_NETWORK"].includes(a?.name)||(u=f,c=g,429===u||!!c&&o.includes(c))||!!g&&r.includes(g)||(l=f,h=g,!!l&&[500,502,503,504].includes(l)||!!h&&i.includes(h)))}}],577988)},367872,e=>{"use strict";var t=e.i(836261),r=e.i(231898);
4e.s(["jitteredBackoff",0,e=>{let o=(0,t.jitteredBackoff)(r.DEFAULT_MAX_DELAY_MS)(e);return!1===o?r.DEFAULT_MAX_DELAY_MS:o}])},48090,352152,e=>{"use strict";let t;var r=e.i(231898);let o=(e,t)=>{let r,o;if(t?.aborted)return Promise.resolve();let i=new Promise(t=>{o=t,r=setTimeout(t,e)});return t?.addEventListener("abort",function e(i){clearTimeout(r),t?.removeEventListener("abort",e),o()}),i},i=(e,t)=>{"[object Object]"===Object.prototype.toString.call(e)&&(e.$metadata={...e.$metadata??{},attempts:t})};e.s(["retryMiddlewareFactory",0,({maxAttempts:e=r.DEFAULT_RETRY_ATTEMPTS,retryDecider:t,computeDelay:n,abortSignal:s})=>{if(e<1)throw Error("maxAttempts must be greater than 0");return(r,a)=>async function(u){let c,l,h=a.attemptsCount??0,d=()=>{if(l)return i(l,h),l;throw i(c,h),c};for(;!s?.aborted&&h<e;){try{l=await r(u),c=void 0}catch(e){c=e,l=void 0}h=(a.attemptsCount??0)>h?a.attemptsCount??0:h+1,a.attemptsCount=h;let{isCredentialsExpiredError:i,retryable:g}=await t(l,c,a);if(!g)return d();if(a.isCredentialsExpired=!!i,!s?.aborted&&h<e){let e=n(h);await o(e,s)}}if(!s?.aborted)return d();throw Error("Request aborted.")}}],48090);let n="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),s=new Uint8Array(16),a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));e.s(["amplifyUuid",0,function(e,r,o){if(n&&!r&&!e)return n();let i=(e=e||{}).random??e.rng?.()??function(){if(!t){if("u"<typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(s)}();if(i.length<16)throw Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,r){if((o=o||0)<0||o+16>r.length)throw RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`);for(let e=0;e<16;++e)r[o+e]=i[e];return r}return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(i)}],352152)},543830,790608,e=>{"use strict";let t=e=>{let{headers:t,statusCode:o}=e;return{...r(e)?e.$metadata:{},httpStatusCode:o,requestId:t["x-amzn-requestid"]??t["x-amzn-request-id"]??t["x-amz-request-id"],extendedRequestId:t["x-amz-id-2"],cfId:t["x-amz-cf-id"]}},r=e=>"object"==typeof e?.$metadata;e.s(["parseMetadata",0,t],790608);let o=async e=>{if(!e||e.statusCode<300)return;let r=await i(e),o=(e=>{let[t]=e.toString().split(/[,:]+/);return t.includes("#")?t.split("#")[1]:t})(e.headers["x-amzn-errortype"]??r.code??r.__type??"UnknownError");return Object.assign(Error(r.message??r.Message??"Unknown error"),{name:o,$metadata:t(e)})},i=async e=>{if(!e.body)throw Error("Missing response payload");return Object.assign(await e.body.json(),{$metadata:t(e)})};e.s(["parseJsonBody",0,i,"parseJsonError",0,o],543830)},605001,e=>{"use strict";class t extends Error{constructor({message:e,name:r,recoverySuggestion:o,underlyingError:i,metadata:n}){if(super(e),this.name=r,this.underlyingError=i,this.recoverySuggestion=o,n){const{extendedRequestId:e,httpStatusCode:t,requestId:r}=n;this.metadata={extendedRequestId:e,httpStatusCode:t,requestId:r}}this.constructor=t,Object.setPrototypeOf(this,t.prototype)}}e.s(["AmplifyError",0,t])},64654,139215,846334,542434,e=>{"use strict";var t,r,o=e.i(605001);let i=()=>{if("u">typeof window&&"function"==typeof window.atob)return window.atob;if("function"==typeof atob)return atob;throw new o.AmplifyError({name:"Base64EncoderError",message:"Cannot resolve the `atob` function from the environment."})};e.s(["getAtob",0,i,"getBtoa",0,()=>{if("u">typeof window&&"function"==typeof window.btoa)return window.btoa;if("function"==typeof btoa)return btoa;throw new o.AmplifyError({name:"Base64EncoderError",message:"Cannot resolve the `btoa` function from the environment."})},"getCrypto",0,()=>{if("object"==typeof window&&"object"==typeof window.crypto)return window.crypto;if("object"==typeof crypto)return crypto;throw new o.AmplifyError({name:"MissingPolyfill",message:"Cannot resolve the `crypto` function from the environment."})}],139215);let n={convert(e,t){let r=e;return t?.urlSafe&&(r=r.replace(/-/g,"+").replace(/_/g,"/")),i()(r)}};e.s(["base64Decoder",0,n],846334);var s=o;let a=(e,t=s.AmplifyError)=>(r,o,i)=>{let{message:n,recoverySuggestion:s}=e[o];if(!r)throw new t({name:o,message:i?`${n} ${i}`:n,recoverySuggestion:s})};e.s(["createAssertionFunction",0,a],542434),(t=r||(r={})).AuthTokenConfigException="AuthTokenConfigException",t.AuthUserPoolAndIdentityPoolException="AuthUserPoolAndIdentityPoolException",t.AuthUserPoolException="AuthUserPoolException",t.InvalidIdentityPoolIdException="InvalidIdentityPoolIdException",t.OAuthNotConfigureException="OAuthNotConfigureException";let u=a({[r.AuthTokenConfigException]:{message:"Auth Token Provider not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app."},[r.AuthUserPoolAndIdentityPoolException]:{message:"Auth UserPool or IdentityPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with UserPoolId and IdentityPoolId."},[r.AuthUserPoolException]:{message:"Auth UserPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with userPoolId and userPoolClientId."},[r.InvalidIdentityPoolIdException]:{message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."},[r.OAuthNotConfigureException]:{message:"oauth param not configured.",recoverySuggestion:"Make sure to call Amplify.configure with oauth parameter in your app."}});e.s(["assertIdentityPoolIdConfig",0,function(e){u(!!e?.identityPoolId,r.InvalidIdentityPoolIdException)},"assertOAuthConfig",0,function(e){u(!!e?.loginWith?.oauth?.domain&&!!e?.loginWith?.oauth?.redirectSignOut&&!!e?.loginWith?.oauth?.redirectSignIn&&!!e?.loginWith?.oauth?.responseType,r.OAuthNotConfigureException)},"assertTokenProviderConfig",0,function(e){u(!!e&&!!e.userPoolId&&!!e.userPoolClientId,r.AuthUserPoolException)},"decodeJWT",0,function(e){let t=e.split(".");if(3!==t.length)throw Error("Invalid token");try{let r=t[1].replace(/-/g,"+").replace(/_/g,"/"),o=decodeURIComponent(n.convert(r).split("").map(e=>`%${`00${e.charCodeAt(0).toString(16)}`.slice(-2)}`).join("")),i=JSON.parse(o);return{toString:()=>e,payload:i}}catch(e){throw Error("Invalid token payload")}}],64654)},964426,212471,e=>{"use strict";var t=e.i(647366),r=e.i(605001);class o extends r.AmplifyError{constructor(){super({name:t.AmplifyErrorCode.PlatformNotSupported,message:"Function not supported on current platform"})}}e.s(["PlatformNotSupportedError",0,o],212471),e.s(["KeyValueStorage",0,class{constructor(e){this.storage=e}async setItem(e,t){if(!this.storage)throw new o;this.storage.setItem(e,t)}async getItem(e){if(!this.storage)throw new o;return this.storage.getItem(e)}async removeItem(e){if(!this.storage)throw new o;this.storage.removeItem(e)}async clear(){if(!this.storage)throw new o;this.storage.clear()}}],964426)},475758,e=>{"use strict";var t=e.i(964426),r=e.i(138374);class o{constructor(){this.storage=new Map}get length(){return this.storage.size}key(e){return e>this.length-1?null:Array.from(this.storage.keys())[e]}setItem(e,t){this.storage.set(e,t)}getItem(e){return this.storage.get(e)??null}removeItem(e){this.storage.delete(e)}clear(){this.storage.clear()}}let i=new r.ConsoleLogger("CoreStorageUtils"),n=()=>{try{if("u">typeof window&&window.sessionStorage)return window.sessionStorage.getItem("test"),window.sessionStorage;throw Error("sessionStorage is not defined")}catch(e){return i.info("sessionStorage not found. InMemoryStorage is used as a fallback."),new o}};class s extends t.KeyValueStorage{constructor(){super((()=>{try{if("u">typeof window&&window.localStorage)return window.localStorage}catch(e){i.info("localStorage not found. InMemoryStorage is used as a fallback.")}return new o})())}}var a=t;class u extends a.KeyValueStorage{constructor(){super(n())}}var c=e.i(212471);class l{constructor(e){this._storage=e}get storage(){if(!this._storage)throw new c.PlatformNotSupportedError;return this._storage}setItem(e,t){this.storage.setItem(e,t)}getItem(e){return this.storage.getItem(e)}removeItem(e){this.storage.removeItem(e)}clear(){this.storage.clear()}}let h=new s;new u;let d=new class extends l{constructor(){super(n())}};new t.KeyValueStorage(new o),e.s(["defaultStorage",0,h,"syncSessionStorage",0,d],475758)},647366,e=>{"use strict";var t,r;(r=t||(t={})).NoEndpointId="NoEndpointId",r.PlatformNotSupported="PlatformNotSupported",r.Unknown="Unknown",r.NetworkError="NetworkError",e.s(["AmplifyErrorCode",0,t])},54626,e=>{"use strict";let t=URL;URLSearchParams,e.s(["AmplifyUrl",0,t])},831410,e=>{"use strict";e.s(["deDupeAsyncFunction",0,e=>{let t;return async(...r)=>t||(t=new Promise((o,i)=>{e(...r).then(e=>{o(e)}).catch(e=>{i(e)}).finally(()=>{t=void 0})}))}])},702020,e=>{"use strict";e.s(["isBrowser",0,()=>"u">typeof window&&void 0!==window.document])},711065,e=>{"use strict";e.s(["isTokenExpired",0,function({expiresAt:e,clockDrift:t,tolerance:r=5e3}){return Date.now()+t+r>e}])},836261,e=>{"use strict";e.s(["jitteredBackoff",0,function(e=3e5){return t=>{let r=2**t*100+100*Math.random();return!(r>e)&&r}}],836261)},385040,590308,37268,e=>{"use strict";
4var t=e.i(274466),r=new Uint32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),o=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],i=function(){function e(){this.state=Int32Array.from(o),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 Error("Attempted to update an already finished hash.");var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>0x1fffffffffffff)throw Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(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),r=this.bufferLength;if(t.setUint8(this.bufferLength++,128),r%64>=56){for(var o=this.bufferLength;o<64;o++)t.setUint8(o,0);this.hashBuffer(),this.bufferLength=0}for(var o=this.bufferLength;o<56;o++)t.setUint8(o,0);t.setUint32(56,Math.floor(e/0x100000000),!0),t.setUint32(60,e),this.hashBuffer(),this.finished=!0}for(var i=new Uint8Array(32),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,o=t[0],i=t[1],n=t[2],s=t[3],a=t[4],u=t[5],c=t[6],l=t[7],h=0;h<64;h++){if(h<16)this.temp[h]=(255&e[4*h])<<24|(255&e[4*h+1])<<16|(255&e[4*h+2])<<8|255&e[4*h+3];else{var d=this.temp[h-2],g=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,f=((d=this.temp[h-15])>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[h]=(g+this.temp[h-7]|0)+(f+this.temp[h-16]|0)}var p=(((a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(a&u^~a&c)|0)+(l+(r[h]+this.temp[h]|0)|0)|0,y=((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+(o&i^o&n^i&n)|0;l=c,c=u,u=a,a=s+p|0,s=n,n=i,i=o,o=p+y|0}t[0]+=o,t[1]+=i,t[2]+=n,t[3]+=s,t[4]+=a,t[5]+=u,t[6]+=c,t[7]+=l},e}(),n=e.i(439638),s=void 0!==n.Buffer&&n.Buffer.from?function(e){return n.Buffer.from(e,"utf8")}:e=>new TextEncoder().encode(e);function a(e){return e instanceof Uint8Array?e:"string"==typeof e?s(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var u=function(){function e(e){this.secret=e,this.hash=new i,this.reset()}return e.prototype.update=function(e){if(!("string"==typeof e?0===e.length:0===e.byteLength)&&!this.error)try{this.hash.update(a(e))}catch(e){this.error=e}},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,t.__awaiter)(this,void 0,void 0,function(){return(0,t.__generator)(this,function(e){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new i,this.secret){this.outer=new i;var e=function(e){var t=a(e);if(t.byteLength>64){var r=new i;r.update(t),t=r.digest()}var o=new Uint8Array(64);return o.set(t),o}(this.secret),t=new Uint8Array(64);t.set(e);for(var r=0;r<64;r++)e[r]^=54,t[r]^=92;this.hash.update(e),this.outer.update(t);for(var r=0;r<e.byteLength;r++)e[r]=0}},e}();e.s(["Sha256",0,u],590308),e.s([],385040);let c={},l={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),c[e]=t,l[t]=e}e.s([],37268)}]); 5 6//# debugId=f62c8c00-b537-7b2e-8c1b-6cc0f7b21478
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.