PageSourceSearch

https://whirlpool-master.firebaseapp.com/880.5138df1f9bdc3715.js

js whirlpool-master.firebaseapp.com collected 2026-10-03 14:08:17 UTC 179,145 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkaiii_ng_quickstart=self.webpackChunkaiii_ng_quickstart||[]).push([[880],{25880:function(gd,yd,ec){var I=ec(58367);(function(){var h,ic="function"==typeof Object.defineProperties?Object.defineProperty:function(t,n,e){t!=Array.prototype&&t!=Object.prototype&&(t[n]=e.value)},es=function rc(t){t=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global,t];for(var n=0;n<t.length;++n){var e=t[n];if(e&&e.Math==Math)return e}return globalThis}(this);function sc(t){var n=0;return function(){return n<t.length?{done:!1,value:t[n++]}:{done:!0}}}function is(t){var n="undefined"!=typeof Symbol&&Symbol.iterator&&t[Symbol.iterator];return n?n.call(t):{next:sc(t)}}!function oc(t,n){if(n){var e=es;t=t.split(".");for(var i=0;i<t.length-1;i++){var r=t[i];r in e||(e[r]={}),e=e[r]}(n=n(i=e[t=t[t.length-1]]))!=i&&null!=n&&ic(e,t,{configurable:!0,writable:!0,value:n})}}("Promise",function(t){function n(s){this.b=0,this.c=void 0,this.a=[];var u=this.f();try{s(u.resolve,u.reject)}catch(c){u.reject(c)}}function e(){this.a=null}function i(s){return s instanceof n?s:new n(function(u){u(s)})}if(t)return t;e.prototype.b=function(s){if(null==this.a){this.a=[];var u=this;this.c(function(){u.g()})}this.a.push(s)};var r=es.setTimeout;e.prototype.c=function(s){r(s,0)},e.prototype.g=function(){for(;this.a&&this.a.length;){var s=this.a;this.a=[];for(var u=0;u<s.length;++u){var c=s[u];s[u]=null;try{c()}catch(l){this.f(l)}}}this.a=null},e.prototype.f=function(s){this.c(function(){throw s})},n.prototype.f=function(){function s(l){return function(v){c||(c=!0,l.call(u,v))}}var u=this,c=!1;return{resolve:s(this.m),reject:s(this.g)}},n.prototype.m=function(s){if(s===this)this.g(new TypeError("A Promise cannot resolve to itself"));else if(s instanceof n)this.s(s);else{t:switch(typeof s){case"object":var u=null!=s;break t;case"function":u=!0;break t;default:u=!1}u?this.v(s):this.h(s)}},n.prototype.v=function(s){var u=void 0;try{u=s.then}catch(c){return void this.g(c)}"function"==typeof u?this.u(u,s):this.h(s)},n.prototype.g=function(s){this.i(2,s)},n.prototype.h=function(s){this.i(1,s)},n.prototype.i=function(s,u){if(0!=this.b)throw Error("Cannot settle("+s+", "+u+"): Promise already settled in state"+this.b);this.b=s,this.c=u,this.l()},n.prototype.l=function(){if(null!=this.a){for(var s=0;s<this.a.length;++s)o.b(this.a[s]);this.a=null}};var o=new e;return n.prototype.s=function(s){var u=this.f();s.Qa(u.resolve,u.reject)},n.prototype.u=function(s,u){var c=this.f();try{s.call(u,c.resolve,c.reject)}catch(l){c.reject(l)}},n.prototype.then=function(s,u){function c(E,M){return"function"==typeof E?function(yi){try{l(E(yi))}catch(kt){v(kt)}}:M}var l,v,k=new n(function(E,M){l=E,v=M});return this.Qa(c(s,l),c(u,v)),k},n.prototype.catch=function(s){return this.then(void 0,s)},n.prototype.Qa=function(s,u){function c(){switch(l.b){case 1:s(l.c);break;case 2:u(l.c);break;default:throw Error("Unexpected state: "+l.b)}}var l=this;null==this.a?o.b(c):this.a.push(c)},n.resolve=i,n.reject=function(s){return new n(function(u,c){c(s)})},n.race=function(s){return new n(function(u,c){for(var l=is(s),v=l.next();!v.done;v=l.next())i(v.value).Qa(u,c)})},n.all=function(s){var u=is(s),c=u.next();return c.done?i([]):new n(function(l,v){function k(yi){return function(kt){E[yi]=kt,0==--M&&l(E)}}var E=[],M=0;do{E.push(void 0),M++,i(c.value).Qa(k(E.length-1),v),c=u.next()}while(!c.done)})},n});var wi=wi||{},f=this||self,uc=/^[\w+/_-]+[=]{0,2}$/,Ii=null;function rs(t){return(t=t.querySelector&&t.querySelector("script[nonce]"))&&(t=t.nonce||t.getAttribute("nonce"))&&uc.test(t)?t:""}function at(){}function On(t){var n=typeof t;return"object"!=n?n:t?Array.isArray(t)?"array":n:"null"}function Cn(t){var n=On(t);return"array"==n||"object"==n&&"number"==typeof t.length}function yt(t){return"function"==On(t)}function j(t){var n=typeof t;return"object"==n&&null!=t||"function"==n}function os(t){return Object.prototype.hasOwnProperty.call(t,bi)&&t[bi]||(t[bi]=++hc)}var bi="closure_uid_"+(1e9*Math.random()>>>0),hc=0;function ac(t,n,e){return t.call.apply(t.bind,arguments)}function cc(t,n,e){if(!t)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var r=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(r,i),t.apply(n,r)}}return function(){return t.apply(n,arguments)}}function g(t,n,e){return(g=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ac:cc).apply(null,arguments)}
1function nn(t,n){var e=Array.prototype.slice.call(arguments,1);return function(){var i=e.slice();return i.push.apply(i,arguments),t.apply(this,i)}}var ve=Date.now;function y(t,n){function e(){}e.prototype=n.prototype,t.ab=n.prototype,t.prototype=new e,t.prototype.constructor=t}function Ti(t){return t}function a(t,n,e){this.code=Rn+t,this.message=n||fc[t]||"",this.a=e||null}function ss(t){var n=t&&t.code;return n?new a(n.substring(Rn.length),t.message,t.serverResponse):null}y(a,Error),a.prototype.w=function(){var t={code:this.code,message:this.message};return this.a&&(t.serverResponse=this.a),t},a.prototype.toJSON=function(){return this.w()};var Pn,Rn="auth/",fc={"admin-restricted-operation":"This operation is restricted to administrators only.","argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"The reCAPTCHA response token provided is either invalid, expired, already used or the domain associated with it does not match the list of whitelisted domains.","code-expired":"The SMS code has expired. Please re-send the verification code to try again.","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-change-needs-verification":"Multi-factor users must al
1ways have a verified email.","email-already-in-use":"The email address is already in use by another account.","expired-action-code":"The action code has expired. ","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal error has occurred.","invalid-app-credential":"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.","invalid-app-id":"The mobile app identifier is not registed for the current project.","invalid-user-token":"This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key.","invalid-auth-event":"An internal error has occurred.","invalid-verification-code":"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure use the verification code provided by the user.","invalid-continue-uri":"The continue URL provided in the request is invalid.","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-dynamic-link-domain":"The provided dynamic link domain is not configured or authorized for the current project.","invalid-email":"The email address is badly formatted.","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-cert-hash":"The SHA-1 certificate hash provided is invalid.","invalid-credential":"The supplied auth credential is malformed or has expired.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-multi-factor-session":"The request does not contain a valid proof of first factor successful sign-in.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","invalid-oauth-client-id":"The OAuth client ID provided is either invalid or does not match the specified API key.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-persistence-type":"The specified persistence type is invalid. It can only be local, session or none.","invali
1d-phone-number":"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].","invalid-provider-id":"The specified provider ID is invalid.","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"The verification ID used to create the phone auth credential is invalid.","invalid-tenant-id":"The Auth instance's tenant ID is invalid.","multi-factor-info-not-found":"The user does not have a second factor matching the identifier provided.","multi-factor-auth-required":"Proof of ownership of a second factor is required to complete sign-in.","missing-android-pkg-name":"An Android Package Name must be provided if the Android App is required to be installed.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.","missing-verification-code":"The phone auth credential was created with an empty SMS verification code.","missing-continue-uri":"A continue URL must be provided in the request.","missing-iframe-start":"An internal error has occurred.","missing-ios-bundle-id":"An iOS Bundle ID must be provided if an App Store ID is provided.","missing-multi-factor-info":"No second factor identifier is provided.","missing-multi-factor-session":"The request is missing proof of first factor successful sign-in.","missing-or-invalid-nonce":"The request does not contain a valid nonce. This can occur if the SHA-256 hash of the provided raw nonce does not match the hashed nonce in the ID token payload.","missing-phone-number":"To send verification codes, provide a phone number for the recipient.","missing-verification-id":"The phone auth credential was created with an empty verification ID.","app-deleted":"This instance of FirebaseApp has been deleted.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network error (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal error has occurred.","no-such-provider":"User was not linked to an account with the given provider.","null-user":"A null user object was provided as the argument for an operation which requires a non-null user object.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"The project's quota for this operation has been exceeded.","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.","rejected-credential":"The request contains malformed or mismatching credentials.","second-factor-already-in-use":"The second factor is already enrolled on this account.","maximum-second-factor-count-exceeded":"The maximum allowed number of second factors on a user has been exceeded.","tenant-id-mismatch":"The provided tenant ID does not match the Auth instance's tenant ID",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","unauthorized-continue-uri":"The domain of the continue URL is not whitelisted.  Please whitelist the domain in the Firebase console.","unsupported-first-factor":"Enrolling a second factor or signing in with a multi-factor account requires sign-in with a supported first factor.","unsupported-persistence-type":"The current environment does not support the specified persistence type.","unsupported-tenant-operation":"This operation is not supported in a multi-tenant context.","unverified-email":"The operation requires a verified email.","user-cancelled":"The user did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled."},Ei={ld:{Ta:"https://staging-identitytoolkit.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",Za:"https://staging-securetoken.sandbox.googleapis.com/v1/token",Wa:"https://staging-identitytoolkit.sandbox.googleapis.com/v2/",id:"b"},sd:{Ta:"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",Za:"https://securetoken.googleapis.com/v1/token",Wa:"https://identitytoolkit.googleapis.com/v2/",id:"p"},ud:{Ta:"https://staging-www.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",Za:"https://staging-securetoken.sandbox.googleapis.com/v1/token",Wa:"https://staging-identitytoolkit.sandbox.googleapis.com/v2/",id:"s"},vd:{Ta:"https://www-googleapis-test.sandbox.google.com/identitytoolkit/v3/relyingparty/",Za:"https://test-securetoken.sandbox.googleapis.com/v1/token",Wa:"https://test-identitytoolkit.sandbox.googleapis.com/v2/",id:"t"}};function Dn(t){for(var n in Ei)if(Ei[n].id===t)return{firebaseEndpoint:(t=Ei[n]).Ta,secureTokenEndpoint:t.Za,identityPlatformEndpoint:t.Wa};return null}function us(t){if(!t)return!1;
1try{return!!t.$goog_Thenable}catch(n){return!1}}function Z(t){if(Error.captureStackTrace)Error.captureStackTrace(this,Z);else{var n=Error().stack;n&&(this.stack=n)}t&&(this.message=String(t))}function ki(t,n){for(var e="",i=(t=t.split("%s")).length-1,r=0;r<i;r++)e+=t[r]+(r<n.length?n[r]:"%s");Z.call(this,e+t[i])}function en(t,n){throw new ki("Failure"+(t?": "+t:""),Array.prototype.slice.call(arguments,1))}function Ai(t,n){this.c=t,this.f=n,this.b=0,this.a=null}function hs(t,n){t.f(n),100>t.b&&(t.b++,n.next=t.a,t.a=n)}function as(){this.b=this.a=null}Pn=Dn("__EID__")?"__EID__":void 0,y(Z,Error),Z.prototype.name="CustomError",y(ki,Z),ki.prototype.name="AssertionError",Ai.prototype.get=function(){if(0<this.b){this.b--;var t=this.a;this.a=t.next,t.next=null}else t=this.c();return t};var cs=new Ai(function(){return new Si},function(t){t.reset()});function lc(){var t=js,n=null;return t.a&&(n=t.a,t.a=t.a.next,t.a||(t.b=null),n.next=null),n}function Si(){this.next=this.b=this.a=null}as.prototype.add=function(t,n){var e=cs.get();e.set(t,n),this.b?this.b.next=e:this.a=e,this.b=e},Si.prototype.set=function(t,n){this.a=t,this.b=n,this.next=null},Si.prototype.reset=function(){this.next=this.b=this.a=null};var fs=Array.prototype.indexOf?function(t,n){return Array.prototype.indexOf.call(t,n,void 0)}:function(t,n){if("string"==typeof t)return"string"!=typeof n||1!=n.length?-1:t.indexOf(n,0);for(var e=0;e<t.length;e++)if(e in t&&t[e]===n)return e;return-1},O=Array.prototype.forEach?function(t,n,e){Array.prototype.forEach.call(t,n,e)}:function(t,n,e){for(var i=t.length,r="string"==typeof t?t.split(""):t,o=0;o<i;o++)o in r&&n.call(e,r[o],o,t)},dc=Array.prototype.filter?function(t,n){return Array.prototype.filter.call(t,n,void 0)}:function(t,n){for(var e=t.length,i=[],r=0,o="string"==typeof t?t.split(""):t,s=0;s<e;s++)if(s in o){var u=o[s];n.call(void 0,u,s,t)&&(i[r++]=u)}return i},ge=Array.prototype.map?function(t,n){return Array.prototype.map.call(t,n,void 0)}:function(t,n){for(var e=t.length,i=Array(e),r="string"==typeof t?t.split(""):t,o=0;o<e;o++)o in r&&(i[o]=n.call(void 0,r[o],o,t));return i},mc=Array.prototype.some?function(t,n){return Array.prototype.some.call(t,n,void 0)}:function(t,n){for(var e=t.length,i="string"==typeof t?t.split(""):t,r=0;r<e;r++)if(r in i&&n.call(void 0,i[r],r,t))return!0;return!1};function wt(t,n){return 0<=fs(t,n)}function ye(t,n){var e;return(e=0<=(n=fs(t,n)))&&Array.prototype.splice.call(t,n,1),e}function et(t,n){!function pc(t,n){for(var e="string"==typeof t?t.split(""):t,i=t.length-1;0<=i;--i)i in e&&n.call(void 0,e[i],i,t)}(t,function(i,r){n.call(void 0,i,r,t)&&Array.prototype.splice.call(t,r,1)})}function Ni(t){return Array.prototype.concat.apply([],arguments)}function Lt(t){var n=t.length;if(0<n){for(var e=Array(n),i=0;i<n;i++)e[i]=t[i];return e}return[]}var rn,ls=String.prototype.trim?function(t){return t.trim()}:function(t){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(t)[1]},gc=/&/g,yc=/</g,wc=/>/g,Ic=/"/g,bc=/'/g,Tc=/\x00/g,Ec=/[\x00&<>"']/;function S(t,n){return-1!=t.indexOf(n)}function _i(t,n){return t<n?-1:t>n?1:0}t:{var ps=f.navigator;if(ps){var ds=ps.userAgent;if(ds){rn=ds;break t}}rn=""}function U(t){return S(rn,t)}function ms(t,n){for(var e in t)n.call(void 0,t[e],e,t)}function Mt(t){for(var n in t)return!1;return!0}function At(t){var e,n={};for(e in t)n[e]=t[e];return n}var vs="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function K(t,n){for(var e,i,r=1;r<arguments.length;r++){for(e in i=arguments[r])t[e]=i[e];for(var o=0;o<vs.length;o++)e=vs[o],Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e])}}function gs(t,n){t:{try{var e=t&&t.ownerDocument,i=e&&(e.defaultView||e.parentWindow);if((i=i||f).Element&&i.Location){var r=i;break t}}catch(s){}r=null}if(r&&void 0!==r[n]&&(!t||!(t instanceof r[n])&&(t instanceof r.Location||t instanceof r.Element))){if(j(t))try{var o=t.constructor.displayName||t.constructor.name||Object.prototype.toString.call(t)}catch(s){o="<object could not be stringified>"}else o=void 0===t?"undefined":null===t?"null":typeof t;en("Argument is not a %s (or a non-Element, non-Location mock); got: %s",n,o)}}function ct(t,n){this.a=t===we&&n||"",this.b=ys}function Oi(t){return t instanceof ct&&t.constructor===ct&&t.b===ys?t.a:(en("expected object of type Const, got '"+t+"'"),"type_error:Const")}ct.prototype.sa=!0,ct.prototype.ra=function(){return this.a},ct.prototype.toString=function(){return"Const{"+this.a+"}"};var Ie,ys={},we={};function ws(){if(void 0===Ie){var t=null,n=f.trustedTypes;if(n&&n.createPolicy){try{t=n.createPolicy("goog#html",{createHTML:Ti,createScript:Ti,createScriptURL:Ti})}catch(e){f.console&&f.console.error(e.message)}Ie=t}else Ie=t}return Ie}function on(t,n){this.a=n===bs?t:""}function Is(t){return t instanceof on&&t.constructor===on?t.a:(en("expected object of type TrustedResourceUrl, got '"+t+"' of type "+On(t)),"type_error:TrustedResourceUrl")}function Ci(t,n){var e=Oi(t);if(!Ac.test(e))throw Error("Invalid TrustedResourceUrl format: "+e);return function Sc(t){var n=ws();return new on(t=n?n.createScriptURL(t):t,bs)}(t=e.replace(kc,function(i,r){if(!Object.prototype.hasOwnProperty.call(n,r))throw Error('Found marker, "'+r+'", in format str
1ing, "'+e+'", but no valid label mapping found in args: '+JSON.stringify(n));return(i=n[r])instanceof ct?Oi(i):encodeURIComponent(String(i))}))}on.prototype.sa=!0,on.prototype.ra=function(){return this.a.toString()},on.prototype.toString=function(){return"TrustedResourceUrl{"+this.a+"}"};var kc=/%{(\w+)}/g,Ac=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,bs={};function G(t,n){this.a=n===Ln?t:""}function be(t){return t instanceof G&&t.constructor===G?t.a:(en("expected object of type SafeUrl, got '"+t+"' of type "+On(t)),"type_error:SafeUrl")}G.prototype.sa=!0,G.prototype.ra=function(){return this.a.toString()},G.prototype.toString=function(){return"SafeUrl{"+this.a+"}"};var Nc=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,_c=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,Ts=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function Es(t){if(t instanceof G)return t;if(t="object"==typeof t&&t.sa?t.ra():String(t),Ts.test(t))t=new G(t,Ln);else{var n=(t=(t=String(t)).replace(/(%0A|%0D)/g,"")).match(_c);t=n&&Nc.test(n[1])?new G(t,Ln):null}return t}function ks(t){return t instanceof G?t:(t="object"==typeof t&&t.sa?t.ra():String(t),Ts.test(t)||(t="about:invalid#zClosurez"),new G(t,Ln))}var Ln={},As=new G("about:invalid#zClosurez",Ln);function sn(t,n,e){this.a=e===Ss?t:""}sn.prototype.sa=!0,sn.prototype.ra=function(){return this.a.toString()},sn.prototype.toString=function(){return"SafeHtml{"+this.a+"}"};var Ss={};function Ns(t,n,e,i){return t=t instanceof G?t:ks(t),n=n||f,e=e instanceof ct?Oi(e):e||"",n.open(be(t),e,i,void 0)}function _s(t,n){for(var e=t.split("%s"),i="",r=Array.prototype.slice.call(arguments,1);r.length&&1<e.length;)i+=e.shift()+r.shift();return i+e.join("%s")}function Ri(t){return Ec.test(t)&&(-1!=t.indexOf("&")&&(t=t.replace(gc,"&amp;")),-1!=t.indexOf("<")&&(t=t.replace(yc,"&lt;")),-1!=t.indexOf(">")&&(t=t.replace(wc,"&gt;")),-1!=t.indexOf('"')&&(t=t.replace(Ic,"&quot;")),-1!=t.indexOf("'")&&(t=t.replace(bc,"&#39;")),-1!=t.indexOf("\0")&&(t=t.replace(Tc,"&#0;"))),t}function Di(t){return Di[" "](t),t}Di[" "]=at;var Te,t,Dc=U("Opera"),it=U("Trident")||U("MSIE"),Os=U("Edge"),Pc=Os||it,Cs=U("Gecko")&&!(S(rn.toLowerCase(),"webkit")&&!U("Edge"))&&!(U("Trident")||U("MSIE"))&&!U("Edge"),Lc=S(rn.toLowerCase(),"webkit")&&!U("Edge");function Rs(){var t=f.document;return t?t.documentMode:void 0}t:{var Pi="",Li=(t=rn,Cs?/rv:([^\);]+)(\)|;)/.exec(t):Os?/Edge\/([\d\.]+)/.exec(t):it?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(t):Lc?/WebKit\/(\S+)/.exec(t):Dc?/(?:Version)[ \/]?(\S+)/.exec(t):void 0);if(Li&&(Pi=Li?Li[1]:""),it){var Mi=Rs();if(null!=Mi&&Mi>parseFloat(Pi)){Te=String(Mi);break t}}Te=Pi}var Mc={};function Ds(t){return function Rc(t,n){var e=Mc;return Object.prototype.hasOwnProperty.call(e,t)?e[t]:e[t]=n(t)}(t,function(){for(var n=0,e=ls(String(Te)).split("."),i=ls(String(t)).split("."),r=Math.max(e.length,i.length),o=0;0==n&&o<r;o++){var s=e[o]||"",u=i[o]||"";do{if(s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],u=/(\d*)(\D*)(.*)/.exec(u)||["","","",""],0==s[0].length&&0==u[0].length)break;n=_i(0==s[1].length?0:parseInt(s[1],10),0==u[1].length?0:parseInt(u[1],10))||_i(0==s[2].length,0==u[2].length)||_i(s[2],u[2]),s=s[3],u=u[3]}while(0==n)}return 0<=n})}var St=f.document&&it&&(Rs()||parseInt(Te,10))||void 0;try{new self.OffscreenCanvas(0,0).getContext("2d")}catch(t){}var xc=!it||9<=Number(St);function Mn(t){var n=document;return"string"==typeof t?n.getElementById(t):t}function Ls(t,n){ms(n,function(e,i){e&&"object"==typeof e&&e.sa&&(e=e.ra()),"style"==i?t.style.cssText=e:"class"==i?t.className=e:"for"==i?t.htmlFor=e:Ms.hasOwnProperty(i)?t.setAttribute(Ms[i],e):0==i.lastIndexOf("aria-",0)||0==i.lastIndexOf("data-",0)?t.setAttribute(i,e):t[i]=e})}var ji,Ae,Ms={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function Uc(t,n,e){function i(u){u&&n.appendChild("string"==typeof u?t.createTextNode(u):u)}for(var r=2;r<e.length;r++){var o=e[r];if(!Cn(o)||j(o)&&0<o.nodeType)i(o);else{t:{if(o&&"number"==typeof o.length){if(j(o)){var s="function"==typeof o.item||"string"==typeof o.item;break t}if(yt(o)){s="function"==typeof o.item;break t}}s=!1}O(s?Lt(o):o,i)}}}function Ee(t,n){return n=String(n),"application/xhtml+xml"===t.contentType&&(n=n.toLowerCase()),t.createElement(n)}function xs(t){f.setTimeout(function(){throw t},0)}function ke(t,n){Ae||function Fc(){if(f.Promise&&f.Promise.resolve){var t=f.Promise.resolve(void 0);Ae=function(){t.then(Us)}}else Ae=function(){var e=Us;!yt(f.setImmediate)||f.Window&&f.Window.prototype&&!U("Edge")&&f.Window.prototype.setImmediate==f.setImmediate?(ji||(ji=function Vc(){var t=f.MessageChannel;if(void 0===t&&"undefined"!=typeof window&&window.postMessage&&window.addEventListener&&!U("Presto")&&(t=function(){var o=Ee(document,"IFRAME");o.style.display="none",document.documentElement.appendChild(o);var s=o.contentWindow;(o=s.document).open(),o.close();var u="callImmediate"+Math.random(),c="file:"==s.location.protocol?"*":s.location.protocol+"//"+s.location.host;o=g(function(l){("*"==c||l.origin==c)&&l.data==u&&this.port1.onmessage()},this),s.addEventListener("message",o,!1),this.port1={},this.port2={postMessage:function(){s.postMessage(u,c)}}}),void 0!==t&&!U("Trident")&&!U("MSIE")){var n=new t,e={},i=e;return n.port1.onmessage=function(){if(void 0!==e.next){var r=(e=e.next).Gb;e.Gb=null,r()}},function(r){i.next={Gb:r},i=i.next,n.port2.postMessage(0)}}return function(r){f.setTimeout(r,0)}}()),ji(e)):f.setImmediate(e)}}(),Ui||(Ae(),Ui=!0),js.add(t,n)}var Ui=!1,js=new as;function Us(){for(var t;t=lc();
1){try{t.a.call(t.b)}catch(n){xs(n)}hs(cs,t)}Ui=!1}function b(t,n){if(this.a=xt,this.i=void 0,this.f=this.b=this.c=null,this.g=this.h=!1,t!=at)try{var e=this;t.call(n,function(i){jt(e,xn,i)},function(i){if(!(i instanceof un))try{throw i instanceof Error?i:Error("Promise rejected.")}catch(r){}jt(e,It,i)})}catch(i){jt(this,It,i)}}var xt=0,xn=2,It=3;function Vs(){this.next=this.f=this.b=this.g=this.a=null,this.c=!1}Vs.prototype.reset=function(){this.f=this.b=this.g=this.a=null,this.c=!1};var Fs=new Ai(function(){return new Vs},function(t){t.reset()});function Vi(t,n,e){var i=Fs.get();return i.g=t,i.b=n,i.f=e,i}function m(t){if(t instanceof b)return t;var n=new b(at);return jt(n,xn,t),n}function N(t){return new b(function(n,e){e(t)})}function qs(t,n,e){Bs(t,n,e,null)||ke(nn(n,t))}function Hs(t){return new b(function(n){var e=t.length,i=[];if(e)for(var r=function(c,l,v){e--,i[c]=l?{Pb:!0,value:v}:{Pb:!1,reason:v},0==e&&n(i)},o=0;o<t.length;o++)qs(t[o],nn(r,o,!0),nn(r,o,!1));else n(i)})}function Ks(t,n){if(t.a==xt)if(t.c){var e=t.c;if(e.b){for(var i=0,r=null,o=null,s=e.b;s&&(s.c||(i++,s.a==t&&(r=s),!(r&&1<i)));s=s.next)r||(o=s);r&&(e.a==xt&&1==i?Ks(e,n):(o?((i=o).next==e.f&&(e.f=i),i.next=i.next.next):Xs(e),Zs(e,r,It,n)))}t.c=null}else jt(t,It,n)}function Fi(t,n){t.b||t.a!=xn&&t.a!=It||Ws(t),t.f?t.f.next=n:t.b=n,t.f=n}function Gs(t,n,e,i){var r=Vi(null,null,null);return r.a=new b(function(o,s){r.g=n?function(u){try{var c=n.call(i,u);o(c)}catch(l){s(l)}}:o,r.b=e?function(u){try{var c=e.call(i,u);void 0===c&&u instanceof un?s(u):o(c)}catch(l){s(l)}}:s}),r.a.c=t,Fi(t,r),r.a}function jt(t,n,e){t.a==xt&&(t===e&&(n=It,e=new TypeError("Promise cannot resolve to itself")),t.a=1,Bs(e,t.$c,t.ad,t)||(t.i=e,t.a=n,t.c=null,Ws(t),n!=It||e instanceof un||function Kc(t,n){t.g=!0,ke(function(){t.g&&Ys.call(null,n)})}(t,e)))}function Bs(t,n,e,i){if(t instanceof b)return Fi(t,Vi(n||at,e||null,i)),!0;if(us(t))return t.then(n,e,i),!0;if(j(t))try{var r=t.then;if(yt(r))return function Hc(t,n,e,i,r){function o(c){u||(u=!0,i.call(r,c))}var u=!1;try{n.call(t,function s(c){u||(u=!0,e.call(r,c))},o)}catch(c){o(c)}}(t,r,n,e,i),!0}catch(o){return e.call(i,o),!0}return!1}function Ws(t){t.h||(t.h=!0,ke(t.gc,t))}function Xs(t){var n=null;return t.b&&(t.b=(n=t.b).next,n.next=null),t.b||(t.f=null),n}function Zs(t,n,e,i){if(e==It&&n.b&&!n.c)for(;t&&t.g;t=t.c)t.g=!1;if(n.a)n.a.c=null,Js(n,e,i);else try{n.c?n.g.call(n.f):Js(n,e,i)}catch(r){Ys.call(null,r)}hs(Fs,n)}function Js(t,n,e){n==xn?t.g.call(t.f,e):t.b&&t.b.call(t.f,e)}b.prototype.then=function(t,n,e){return Gs(this,yt(t)?t:null,yt(n)?n:null,e)},b.prototype.$goog_Thenable=!0,(h=b.prototype).oa=function(t,n){return(t=Vi(t,t,n)).c=!0,Fi(this,t),this},h.o=function(t,n){return Gs(this,null,t,n)},h.cancel=function(t){if(this.a==xt){var n=new un(t);ke(function(){Ks(this,n)},this)}},h.$c=function(t){this.a=xt,jt(this,xn,t)},h.ad=function(t){this.a=xt,jt(this,It,t)},h.gc=function(){for(var t;t=Xs(this);)Zs(this,t,this.a,this.i);this.h=!1};var Ys=xs;function un(t){Z.call(this,t)}function Se(){0!=qi&&(zs[os(this)]=this),this.xa=this.xa,this.pa=this.pa}y(un,Z),un.prototype.name="cancel";var qi=0,zs={};function $s(t){if(!t.xa&&(t.xa=!0,t.Da(),0!=qi)){var n=os(t);if(0!=qi&&t.pa&&0<t.pa.length)throw Error(t+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete zs[n]}}Se.prototype.xa=!1,Se.prototype.Da=function(){if(this.pa)for(;this.pa.length;)this.pa.shift()()};var Gc=Object.freeze||function(t){return t},Qs=!it||9<=Number(St),Bc=it&&!Ds("9"),Wc=function(){if(!f.addEventListener||!Object.defineProperty)return!1;var t=!1,n=Object.defineProperty({},"passive",{get:function(){t=!0}});try{f.addEventListener("test",at,n),f.removeEventListener("test",at,n)}catch(e){}return t}();function B(t,n){this.type=t,this.b=this.target=n,this.defaultPrevented=!1}function Ut(t,n){if(B.call(this,t?t.type:""),this.relatedTarget=this.b=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.pointerId=0,this.pointerType="",this.a=null,t){var e=this.type=t.type,i=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:null;if(this.target=t.target||t.srcElement,this.b=n,n=t.relatedTarget){if(Cs){t:{try{Di(n.nodeName);var r=!0;break t}catch(o){}r=!1}r||(n=null)}}
1else"mouseover"==e?n=t.fromElement:"mouseout"==e&&(n=t.toElement);this.relatedTarget=n,i?(this.clientX=void 0!==i.clientX?i.clientX:i.pageX,this.clientY=void 0!==i.clientY?i.clientY:i.pageY,this.screenX=i.screenX||0,this.screenY=i.screenY||0):(this.clientX=void 0!==t.clientX?t.clientX:t.pageX,this.clientY=void 0!==t.clientY?t.clientY:t.pageY,this.screenX=t.screenX||0,this.screenY=t.screenY||0),this.button=t.button,this.key=t.key||"",this.ctrlKey=t.ctrlKey,this.altKey=t.altKey,this.shiftKey=t.shiftKey,this.metaKey=t.metaKey,this.pointerId=t.pointerId||0,this.pointerType="string"==typeof t.pointerType?t.pointerType:Xc[t.pointerType]||"",this.a=t,t.defaultPrevented&&this.preventDefault()}}B.prototype.preventDefault=function(){this.defaultPrevented=!0},y(Ut,B);var Xc=Gc({2:"touch",3:"pen",4:"mouse"});Ut.prototype.preventDefault=function(){Ut.ab.preventDefault.call(this);var t=this.a;if(t.preventDefault)t.preventDefault();else if(t.returnValue=!1,Bc)try{(t.ctrlKey||112<=t.keyCode&&123>=t.keyCode)&&(t.keyCode=-1)}catch(n){}},Ut.prototype.g=function(){return this.a};var jn="closure_listenable_"+(1e6*Math.random()|0),Zc=0;function Jc(t,n,e,i,r){this.listener=t,this.proxy=null,this.src=n,this.type=e,this.capture=!!i,this.Va=r,this.key=++Zc,this.va=this.Pa=!1}function Ne(t){t.va=!0,t.listener=null,t.proxy=null,t.src=null,t.Va=null}function _e(t){this.src=t,this.a={},this.b=0}function Hi(t,n){var e=n.type;e in t.a&&ye(t.a[e],n)&&(Ne(n),0==t.a[e].length&&(delete t.a[e],t.b--))}function Ki(t,n,e,i){for(var r=0;r<t.length;++r){var o=t[r];if(!o.va&&o.listener==n&&o.capture==!!e&&o.Va==i)return r}return-1}_e.prototype.add=function(t,n,e,i,r){var o=t.toString();(t=this.a[o])||(t=this.a[o]=[],this.b++);var s=Ki(t,n,i,r);return-1<s?(n=t[s],e||(n.Pa=!1)):((n=new Jc(n,this.src,o,!!i,r)).Pa=e,t.push(n)),n};var Gi="closure_lm_"+(1e6*Math.random()|0),Bi={};function $(t,n,e,i,r){if(i&&i.once)Wi(t,n,e,i,r);else if(Array.isArray(n))for(var o=0;o<n.length;o++)$(t,n[o],e,i,r);else e=Zi(e),t&&t[jn]?su(t,n,e,j(i)?!!i.capture:!!i,r):nu(t,n,e,!1,i,r)}function nu(t,n,e,i,r,o){if(!n)throw Error("Invalid event type");var s=j(r)?!!r.capture:!!r,u=Oe(t);if(u||(t[Gi]=u=new _e(t)),!(e=u.add(n,e,i,s,o)).proxy)if(i=function Yc(){var t=zc,n=Qs?function(e){return t.call(n.src,n.listener,e)}:function(e){if(!(e=t.call(n.src,n.listener,e)))return e};return n}(),e.proxy=i,i.src=t,i.listener=e,t.addEventListener)Wc||(r=s),void 0===r&&(r=!1),t.addEventListener(n.toString(),i,r);else if(t.attachEvent)t.attachEvent(iu(n.toString()),i);else{if(!t.addListener||!t.removeListener)throw Error("addEventListener and attachEvent are unavailable.");t.addListener(i)}}function Wi(t,n,e,i,r){if(Array.isArray(n))for(var o=0;o<n.length;o++)Wi(t,n[o],e,i,r);else e=Zi(e),t&&t[jn]?Ji(t,n,e,j(i)?!!i.capture:!!i,r):nu(t,n,e,!0,i,r)}function J(t,n,e,i,r){if(Array.isArray(n))for(var o=0;o<n.length;o++)J(t,n[o],e,i,r);else i=j(i)?!!i.capture:!!i,e=Zi(e),t&&t[jn]?(t=t.v,(n=String(n).toString())in t.a&&-1<(e=Ki(o=t.a[n],e,i,r))&&(Ne(o[e]),Array.prototype.splice.call(o,e,1),0==o.length&&(delete t.a[n],t.b--))):t&&(t=Oe(t))&&(n=t.a[n.toString()],t=-1,n&&(t=Ki(n,e,i,r)),(e=-1<t?n[t]:null)&&eu(e))}function eu(t){if("number"!=typeof t&&t&&!t.va){var n=t.src;if(n&&n[jn])Hi(n.v,t);else{var e=t.type,i=t.proxy;n.removeEventListener?n.removeEventListener(e,i,t.capture):n.detachEvent?n.detachEvent(iu(e),i):n.addListener&&n.removeListener&&n.removeListener(i),(e=Oe(n))?(Hi(e,t),0==e.b&&(e.src=null,n[Gi]=null)):Ne(t)}}}function iu(t){return t in Bi?Bi[t]:Bi[t]="on"+t}function ru(t,n,e,i){var r=!0;if((t=Oe(t))&&(n=t.a[n.toString()]))for(n=n.concat(),t=0;t<n.length;t++){var o=n[t];o&&o.capture==e&&!o.va&&(o=ou(o,i),r=r&&!1!==o)}return r}function ou(t,n){var e=t.listener,i=t.Va||t.src;return t.Pa&&eu(t),e.call(i,n)}function zc(t,n){if(t.va)return!0;if(!Qs){if(!n)t:{n=["window","event"];for(var e=f,i=0;i<n.length;i++)if(null==(e=e[n[i]])){n=null;break t}n=e}if(n=new Ut(i=n,this),e=!0,!(0>i.keyCode||null!=i.returnValue)){t:{var r=!1;if(0==i.keyCode)try{i.keyCode=-1;break t}catch(s){r=!0}(r||null==i.returnValue)&&(i.returnValue=!0)}for(i=[],r=n.b;r;r=r.parentNode)i.push(r);for(t=t.type,r=i.length-1;0<=r;r--){n.b=i[r];var o=ru(i[r],t,!0,n);e=e&&o}for(r=0;r<i.length;r++)n.b=i[r],o=ru(i[r],t,!1,n),e=e&&o}return e}return ou(t,new Ut(n,this))}function Oe(t){return(t=t[Gi])instanceof _e?t:null}var Xi="__closure_events_fn_"+(1e9*Math.random()>>>0);function Zi(t){return yt(t)?t:(t[Xi]||(t[Xi]=function(n){return t.handleEvent(n)}
1),t[Xi])}function q(){Se.call(this),this.v=new _e(this),this.ac=this,this.gb=null}function su(t,n,e,i,r){t.v.add(String(n),e,!1,i,r)}function Ji(t,n,e,i,r){t.v.add(String(n),e,!0,i,r)}function Ce(t,n,e,i){if(!(n=t.v.a[String(n)]))return!0;n=n.concat();for(var r=!0,o=0;o<n.length;++o){var s=n[o];if(s&&!s.va&&s.capture==e){var u=s.listener,c=s.Va||s.src;s.Pa&&Hi(t.v,s),r=!1!==u.call(c,i)&&r}}return r&&!i.defaultPrevented}function Yi(t,n,e){if(yt(t))e&&(t=g(t,e));else{if(!t||"function"!=typeof t.handleEvent)throw Error("Invalid listener argument");t=g(t.handleEvent,t)}return 2147483647<Number(n)?-1:f.setTimeout(t,n||0)}function hn(t){var n=null;return new b(function(e,i){-1==(n=Yi(function(){e(void 0)},t))&&i(Error("Failed to schedule timer."))}).o(function(e){throw f.clearTimeout(n),e})}function uu(t){if(t.W&&"function"==typeof t.W)return t.W();if("string"==typeof t)return t.split("");if(Cn(t)){for(var n=[],e=t.length,i=0;i<e;i++)n.push(t[i]);return n}for(i in n=[],e=0,t)n[e++]=t[i];return n}function hu(t){if(t.Y&&"function"==typeof t.Y)return t.Y();if(!t.W||"function"!=typeof t.W){if(Cn(t)||"string"==typeof t){var n=[];t=t.length;for(var e=0;e<t;e++)n.push(e);return n}for(var i in n=[],e=0,t)n[e++]=i;return n}}function an(t,n){this.b={},this.a=[],this.c=0;var e=arguments.length;if(1<e){if(e%2)throw Error("Uneven number of arguments");for(var i=0;i<e;i+=2)this.set(arguments[i],arguments[i+1])}else if(t)if(t instanceof an)for(e=t.Y(),i=0;i<e.length;i++)this.set(e[i],t.get(e[i]));else for(i in t)this.set(i,t[i])}function zi(t){if(t.c!=t.a.length){for(var n=0,e=0;n<t.a.length;){var i=t.a[n];Vt(t.b,i)&&(t.a[e++]=i),n++}t.a.length=e}if(t.c!=t.a.length){var r={};for(e=n=0;n<t.a.length;)Vt(r,i=t.a[n])||(t.a[e++]=i,r[i]=1),n++;t.a.length=e}}function Vt(t,n){return Object.prototype.hasOwnProperty.call(t,n)}y(q,Se),q.prototype[jn]=!0,q.prototype.addEventListener=function(t,n,e,i){$(this,t,n,e,i)},q.prototype.removeEventListener=function(t,n,e,i){J(this,t,n,e,i)},q.prototype.dispatchEvent=function(t){var n,e=this.gb;if(e)for(n=[];e;e=e.gb)n.push(e);e=this.ac;var i=t.type||t;if("string"==typeof t)t=new B(t,e);else if(t instanceof B)t.target=t.target||e;else{var r=t;K(t=new B(i,e),r)}if(r=!0,n)for(var o=n.length-1;0<=o;o--){var s=t.b=n[o];r=Ce(s,i,!0,t)&&r}if(r=Ce(s=t.b=e,i,!0,t)&&r,r=Ce(s,i,!1,t)&&r,n)for(o=0;o<n.length;o++)r=Ce(s=t.b=n[o],i,!1,t)&&r;return r},q.prototype.Da=function(){if(q.ab.Da.call(this),this.v){var e,t=this.v;for(e in t.a){for(var i=t.a[e],r=0;r<i.length;r++)Ne(i[r]);delete t.a[e],t.b--}}this.gb=null},(h=an.prototype).W=function(){zi(this);for(var t=[],n=0;n<this.a.length;n++)t.push(this.b[this.a[n]]);return t},h.Y=function(){return zi(this),this.a.concat()},h.clear=function(){this.b={},this.c=this.a.length=0},h.get=function(t,n){return Vt(this.b,t)?this.b[t]:n},h.set=function(t,n){Vt(this.b,t)||(this.c++,this.a.push(t)),this.b[t]=n},h.forEach=function(t,n){for(var e=this.Y(),i=0;i<e.length;i++){var r=e[i],o=this.get(r);t.call(n,o,r,this)}};var au=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function Nt(t,n){var e;this.a=this.l=this.c="",this.g=null,this.h=this.f="",this.i=!1,t instanceof Nt?(this.i=void 0!==n?n:t.i,Un(this,t.c),this.l=t.l,this.a=t.a,Vn(this,t.g),this.f=t.f,$i(this,pu(t.b)),this.h=t.h):t&&(e=String(t).match(au))?(this.i=!!n,Un(this,e[1]||"",!0),this.l=Fn(e[2]||""),this.a=Fn(e[3]||"",!0),Vn(this,e[4]),this.f=Fn(e[5]||"",!0),$i(this,e[6]||"",!0),this.h=Fn(e[7]||"")):(this.i=!!n,this.b=new Ft(null,this.i))}function Un(t,n,e){t.c=e?Fn(n,!0):n,t.c&&(t.c=t.c.replace(/:$/,""))}function Vn(t,n){if(n){if(n=Number(n),isNaN(n)||0>n)throw Error("Bad port number "+n);t.g=n}else t.g=null}function $i(t,n,e){n instanceof Ft?(t.b=n,function sf(t,n){n&&!t.f&&(_t(t),t.c=null,t.a.forEach(function(e,i){var r=i.toLowerCase();i!=r&&(ft(this,i),lu(this,r,e))},t)),t.f=n}(t.b,t.i)):(e||(n=qn(n,rf)),t.b=new Ft(n,t.i))}function D(t,n,e){t.b.set(n,e)}function Q(t,n){return t.b.get(n)}function W(t){return t instanceof Nt?new Nt(t):new Nt(t,void 0)}function Re(t,n,e,i){var r=new Nt(null,void 0);return t&&Un(r,t),n&&(r.a=n),e&&Vn(r,e),i&&(r.f=i),r}function Fn(t,n){return t?n?decodeURI(t.replace(/%25/g,"%2525")):decodeURIComponent(t):""}function qn(t,n,e){return"string"==typeof t?(t=encodeURI(t).replace(n,tf),e&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function tf(t){return"%"+((t=t.charCodeAt(0))>>4&15).toString(16)+(15&t).toString(16)}Nt.prototype.toString=function(){var t=[],n=this.c;
1n&&t.push(qn(n,cu,!0),":");var e=this.a;return(e||"file"==n)&&(t.push("//"),(n=this.l)&&t.push(qn(n,cu,!0),"@"),t.push(encodeURIComponent(String(e)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(e=this.g)&&t.push(":",String(e))),(e=this.f)&&(this.a&&"/"!=e.charAt(0)&&t.push("/"),t.push(qn(e,"/"==e.charAt(0)?ef:nf,!0))),(e=this.b.toString())&&t.push("?",e),(e=this.h)&&t.push("#",qn(e,of)),t.join("")},Nt.prototype.resolve=function(t){var n=new Nt(this),e=!!t.c;e?Un(n,t.c):e=!!t.l,e?n.l=t.l:e=!!t.a,e?n.a=t.a:e=null!=t.g;var i=t.f;if(e)Vn(n,t.g);else if(e=!!t.f){if("/"!=i.charAt(0))if(this.a&&!this.f)i="/"+i;else{var r=n.f.lastIndexOf("/");-1!=r&&(i=n.f.substr(0,r+1)+i)}if(".."==(r=i)||"."==r)i="";else if(S(r,"./")||S(r,"/.")){i=0==r.lastIndexOf("/",0),r=r.split("/");for(var o=[],s=0;s<r.length;){var u=r[s++];"."==u?i&&s==r.length&&o.push(""):".."==u?((1<o.length||1==o.length&&""!=o[0])&&o.pop(),i&&s==r.length&&o.push("")):(o.push(u),i=!0)}i=o.join("/")}else i=r}return e?n.f=i:e=""!==t.b.toString(),e?$i(n,pu(t.b)):e=!!t.h,e&&(n.h=t.h),n};var cu=/[#\/\?@]/g,nf=/[#\?:]/g,ef=/[#\?]/g,rf=/[#\?@]/g,of=/#/g;function Ft(t,n){this.b=this.a=null,this.c=t||null,this.f=!!n}function _t(t){t.a||(t.a=new an,t.b=0,t.c&&function Qc(t,n){if(t){t=t.split("&");for(var e=0;e<t.length;e++){var i=t[e].indexOf("="),r=null;if(0<=i){var o=t[e].substring(0,i);r=t[e].substring(i+1)}else o=t[e];n(o,r?decodeURIComponent(r.replace(/\+/g," ")):"")}}}(t.c,function(n,e){t.add(decodeURIComponent(n.replace(/\+/g," ")),e)}))}function fu(t){var n=hu(t);if(void 0===n)throw Error("Keys are undefined");var e=new Ft(null,void 0);t=uu(t);for(var i=0;i<n.length;i++){var r=n[i],o=t[i];Array.isArray(o)?lu(e,r,o):e.add(r,o)}return e}function ft(t,n){_t(t),n=cn(t,n),Vt(t.a.b,n)&&(t.c=null,t.b-=t.a.get(n).length,Vt((t=t.a).b,n)&&(delete t.b[n],t.c--,t.a.length>2*t.c&&zi(t)))}function Qi(t,n){return _t(t),n=cn(t,n),Vt(t.a.b,n)}function lu(t,n,e){ft(t,n),0<e.length&&(t.c=null,t.a.set(cn(t,n),Lt(e)),t.b+=e.length)}function pu(t){var n=new Ft;return n.c=t.c,t.a&&(n.a=new an(t.a),n.b=t.b),n}function cn(t,n){return n=String(n),t.f&&(n=n.toLowerCase()),n}function du(t){var n=[];return tr(new uf,t,n),n.join("")}function uf(){}function tr(t,n,e){if(null==n)e.push("null");else{if("object"==typeof n){if(Array.isArray(n)){var i=n;n=i.length,e.push("[");for(var r="",o=0;o<n;o++)e.push(r),tr(t,i[o],e),r=",";return void e.push("]")}if(!(n instanceof String||n instanceof Number||n instanceof Boolean)){for(i in e.push("{"),r="",n)Object.prototype.hasOwnProperty.call(n,i)&&"function"!=typeof(o=n[i])&&(e.push(r),vu(i,e),e.push(":"),tr(t,o,e),r=",");return void e.push("}")}n=n.valueOf()}switch(typeof n){case"string":vu(n,e);break;case"number":e.push(isFinite(n)&&!isNaN(n)?String(n):"null");break;case"boolean":e.push(String(n));break;case"function":e.push("null");break;default:throw Error("Unknown type: "+typeof n)}}}(h=Ft.prototype).add=function(t,n){_t(this),this.c=null,t=cn(this,t);var e=this.a.get(t);return e||this.a.set(t,e=[]),e.push(n),this.b+=1,this},h.clear=function(){this.a=this.c=null,this.b=0},h.forEach=function(t,n){_t(this),this.a.forEach(function(e,i){O(e,function(r){t.call(n,r,i,this)},this)},this)},h.Y=function(){_t(this);for(var t=this.a.W(),n=this.a.Y(),e=[],i=0;i<n.length;i++)for(var r=t[i],o=0;o<r.length;o++)e.push(n[i]);return e},h.W=function(t){_t(this);var n=[];if("string"==typeof t)Qi(this,t)&&(n=Ni(n,this.a.get(cn(this,t))));else{t=this.a.W();for(var e=0;e<t.length;e++)n=Ni(n,t[e])}return n},h.set=function(t,n){return _t(this),this.c=null,Qi(this,t=cn(this,t))&&(this.b-=this.a.get(t).length),this.a.set(t,[n]),this.b+=1,this},h.get=function(t,n){return t&&0<(t=this.W(t)).length?String(t[0]):n},h.toString=function(){if(this.c)return this.c;if(!this.a)return"";for(var t=[],n=this.a.Y(),e=0;e<n.length;e++){var i=n[e],r=encodeURIComponent(String(i));i=this.W(i);for(var o=0;o<i.length;o++){var s=r;""!==i[o]&&(s+="="+encodeURIComponent(String(i[o]))),t.push(s)}}return this.c=t.join("&")};var mu={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},hf=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;function vu(t,n){n.push('"',t.replace(hf,function(e){var i=mu[e];
1return i||(i="\\u"+(65536|e.charCodeAt(0)).toString(16).substr(1),mu[e]=i),i}),'"')}function nr(){var t=F();return it&&!!St&&11==St||/Edge\/\d+/.test(t)}function Hn(){return f.window&&f.window.location.href||self&&self.location&&self.location.href||""}function gu(t,n){n=n||f.window;var e="about:blank";t&&(e=be(Es(t)||As)),n.location.href=e}function yu(t,n){var i,e=[];for(i in t)i in n?typeof t[i]!=typeof n[i]?e.push(i):"object"==typeof t[i]&&null!=t[i]&&null!=n[i]?0<yu(t[i],n[i]).length&&e.push(i):t[i]!==n[i]&&e.push(i):e.push(i);for(i in n)i in t||e.push(i);return e}function wu(t){return!!((t=(t||F()).toLowerCase()).match(/android/)||t.match(/webos/)||t.match(/iphone|ipad|ipod/)||t.match(/blackberry/)||t.match(/windows phone/)||t.match(/iemobile/))}function qt(t){t=t||f.window;try{t.close()}catch(n){}}function Iu(t,n,e){var i=Math.floor(1e9*Math.random()).toString();n=n||500,e=e||600;var r=(window.screen.availHeight-e)/2,o=(window.screen.availWidth-n)/2;for(s in n={width:n,height:e,top:0<r?r:0,left:0<o?o:0,location:!0,resizable:!0,statusbar:!0,toolbar:!1},e=F().toLowerCase(),i&&(n.target=i,S(e,"crios/")&&(n.target="_blank")),fn(F())==rr&&(t=t||"http://localhost",n.scrollbars=!0),e=t||"",(t=n)||(t={}),i=window,n=e instanceof G?e:Es(void 0!==e.href?e.href:String(e))||As,e=t.target||e.target,r=[],t)switch(s){case"width":case"height":case"top":case"left":r.push(s+"="+t[s]);break;case"target":case"noopener":case"noreferrer":break;default:r.push(s+"="+(t[s]?1:0))}var s=r.join(",");if((U("iPhone")&&!U("iPod")&&!U("iPad")||U("iPad")||U("iPod"))&&i.navigator&&i.navigator.standalone&&e&&"_self"!=e?(gs(s=Ee(document,"A"),"HTMLAnchorElement"),n=n instanceof G?n:ks(n),s.href=be(n),s.setAttribute("target",e),t.noreferrer&&s.setAttribute("rel","noreferrer"),(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,i,1),s.dispatchEvent(t),s={}):t.noreferrer?(s=Ns("",i,e,s),t=be(n),s&&(Pc&&S(t,";")&&(t="'"+t.replace(/'/g,"%27")+"'"),s.opener=null,t='<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+Ri(t)+'">',t=new sn(t=(i=ws())?i.createHTML(t):t,null,Ss),i=s.document)&&(i.write(function Oc(t){return t instanceof sn&&t.constructor===sn?t.a:(en("expected object of type SafeHtml, got '"+t+"' of type "+On(t)),"type_error:SafeHtml")}(t)),i.close())):(s=Ns(n,i,e,s))&&t.noopener&&(s.opener=null),s)try{s.focus()}catch(u){}return s}var ff=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,lf=/^[^@]+@[^@]+$/;function De(){var t=null;return new b(function(n){"complete"==f.document.readyState?n():(t=function(){n()},Wi(window,"load",t))}).o(function(n){throw J(window,"load",t),n})}function er(t){return t=t||F(),!("file:"!==pn()&&"ionic:"!==pn()||!t.toLowerCase().match(/iphone|ipad|ipod|android/))}function ir(){var t=f.window;try{return!(!t||t==t.top)}catch(n){return!1}}function rt(){return void 0!==f.WorkerGlobalScope&&"function"==typeof f.importScripts}function lt(){return I.Z.INTERNAL.hasOwnProperty("reactNative")?"ReactNative":I.Z.INTERNAL.hasOwnProperty("node")?"Node":rt()?"Worker":"Browser"}function bu(){var t=lt();return"ReactNative"===t||"Node"===t}var rr="Firefox";function fn(t){var n=t.toLowerCase();return S(n,"opera/")||S(n,"opr/")||S(n,"opios/")?"Opera":S(n,"iemobile")?"IEMobile":S(n,"msie")||S(n,"trident/")?"IE":S(n,"edge/")?"Edge":S(n,"firefox/")?rr:S(n,"silk/")?"Silk":S(n,"blackberry")?"Blackberry":S(n,"webos")?"Webos":!S(n,"safari/")||S(n,"chrome/")||S(n,"crios/")||S(n,"android")?!S(n,"chrome/")&&!S(n,"crios/")||S(n,"edge/")?S(n,"android")?"Android":(t=t.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/))&&2==t.length?t[1]:"Other":"Chrome":"Safari"}var Eu={md:"FirebaseCore-web",od:"FirebaseUI-web"};function ln(t,n){n=n||[];var r,e=[],i={};for(r in Eu)i[Eu[r]]=!0;for(r=0;r<n.length;r++)void 0!==i[n[r]]&&(delete i[n[r]],e.push(n[r]));return e.sort(),(n=e).length||(n=["FirebaseCore-web"]),"Browser"===(e=lt())?e=fn(i=F()):"Worker"===e&&(e=fn(i=F())+"-"+e),e+"/JsCore/"+t+"/"+n.join(",")}function F(){return f.navigator&&f.navigator.userAgent||""}function _(t,n){t=t.split("."),n=n||f;for(var e=0;e<t.length&&"object"==typeof n&&null!=n;e++)n=n[t[e]];return e!=t.length&&(n=void 0),n}function or(){try{var t=f.localStorage,n=Kt();if(t)return t.setItem(n,"1"),t.removeItem(n),!nr()||!!f.indexedDB}catch(e){return rt()&&!!f.indexedDB}return!1}function Ht(){return(Pe()||"chrome-extension:"===pn()||er())&&!bu()&&or()&&!rt()}function Pe(){return"http:"===pn()||"https:"===pn()}function pn(){return f.location&&f.location.protocol||null}function Kn(t){return!(wu(t=t||F())||fn(t)==rr)}function Gn(t){return void 0===t?null:du(t)}function ku(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&null!=t[e]&&(n[e]=t[e]);return n}function dn(t){if(null!==t)return JSON.parse(t)}function Kt(t){return t||Math.floor(1e9*Math.random()).toString()}function Au(t){return!("Safari"==fn(t=t||F())||t.toLowerCase().match(/iphone|ipad|ipod/))}function Su(){var t=f.___jsl;if(t&&t.H)for(var n in t.H)if(t.H[n].r=t.H[n].r||[],t.H[n].L=t.H[n].L||[],t.H[n].r=t.H[n].L.concat(),t.CP)for(var e=0;e<t.CP.length;e++)t.CP[e]=null}function Ot(t,n){if(t>
1n)throw Error("Short delay should be less than long delay!");this.a=t,this.c=n,t=F(),n=lt(),this.b=wu(t)||"ReactNative"===n}function sr(){var t=f.document;return!t||void 0===t.visibilityState||"visible"==t.visibilityState}function Bn(t){try{var n=new Date(parseInt(t,10));if(!isNaN(n.getTime())&&!/[^0-9]/.test(t))return n.toUTCString()}catch(e){}return null}function Nu(){return!(!_("fireauth.oauthhelper",f)&&!_("fireauth.iframe",f))}Ot.prototype.get=function(){var t=f.navigator;return!t||"boolean"!=typeof t.onLine||!Pe()&&"chrome-extension:"!==pn()&&void 0===t.connection||t.onLine?this.b?this.c:this.a:Math.min(5e3,this.a)};var hr,_u={};function ur(t){_u[t]||(_u[t]=!0,"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(t))}try{var ar={};Object.defineProperty(ar,"abcd",{configurable:!0,enumerable:!0,value:1}),Object.defineProperty(ar,"abcd",{configurable:!0,enumerable:!0,value:2}),hr=2==ar.abcd}catch(t){hr=!1}function d(t,n,e){hr?Object.defineProperty(t,n,{configurable:!0,enumerable:!0,value:e}):t[n]=e}function H(t,n){if(n)for(var e in n)n.hasOwnProperty(e)&&d(t,e,n[e])}function pt(t){var n={};return H(n,t),n}function cr(t){var n=t;if("object"==typeof t&&null!=t)for(var e in n="length"in t?[]:{},t)d(n,e,cr(t[e]));return n}function fr(t){var n=t&&(t[mr]?"phone":null);if(!(n&&t&&t[dr]))throw new a("internal-error","Internal assert: invalid MultiFactorInfo object");d(this,"uid",t[dr]),d(this,"displayName",t[Ou]||null);var e=null;t[pr]&&(e=new Date(t[pr]).toUTCString()),d(this,"enrollmentTime",e),d(this,"factorId",n)}function lr(t){try{var n=new Wn(t)}catch(e){n=null}return n}fr.prototype.w=function(){return{uid:this.uid,displayName:this.displayName,factorId:this.factorId,enrollmentTime:this.enrollmentTime}};var Ou="displayName",pr="enrolledAt",dr="mfaEnrollmentId",mr="phoneInfo";function Wn(t){fr.call(this,t),d(this,"phoneNumber",t[mr])}function If(t){var n={},e=t[bf],i=t[Ef],r=t[kf];if(t=lr(t[Tf]),!r||r!=Le&&r!=Xn&&!e||r==Xn&&!i||r==vr&&!t)throw Error("Invalid checkActionCode response!");
1r==Xn?(n[Ru]=e||null,n[Du]=e||null,n[Cu]=i):(n[Ru]=i||null,n[Du]=i||null,n[Cu]=e||null),n[Af]=t||null,d(this,Nf,r),d(this,Sf,cr(n))}y(Wn,fr),Wn.prototype.w=function(){var t=Wn.ab.w.call(this);return t.phoneNumber=this.phoneNumber,t};var vr="REVERT_SECOND_FACTOR_ADDITION",Le="EMAIL_SIGNIN",Xn="VERIFY_AND_CHANGE_EMAIL",bf="email",Tf="mfaInfo",Ef="newEmail",kf="requestType",Cu="email",Ru="fromEmail",Af="multiFactorInfo",Du="previousEmail",Sf="data",Nf="operation";function gr(t){var n=Q(t=W(t),Pu)||null,e=Q(t,Lu)||null,i=Q(t,Mu)||null;if(i=i&&Rf[i]||null,!n||!e||!i)throw new a("argument-error",Pu+", "+Lu+"and "+Mu+" are required in a valid action code URL.");H(this,{apiKey:n,operation:i,code:e,continueUrl:Q(t,_f)||null,languageCode:Q(t,Of)||null,tenantId:Q(t,Cf)||null})}var Pu="apiKey",Lu="oobCode",_f="continueUrl",Of="languageCode",Mu="mode",Cf="tenantId",Rf={recoverEmail:"RECOVER_EMAIL",resetPassword:"PASSWORD_RESET",revertSecondFactorAddition:vr,signIn:Le,verifyAndChangeEmail:Xn,verifyEmail:"VERIFY_EMAIL"};function xu(t){try{return new gr(t)}catch(n){return null}}function Me(t){var n=t[Df];if(void 0===n)throw new a("missing-continue-uri");if("string"!=typeof n||"string"==typeof n&&!n.length)throw new a("invalid-continue-uri");this.h=n,this.b=this.a=null,this.g=!1;var e=t[ju];if(e&&"object"==typeof e){n=e[Hu];var i=e[Fu];if(e=e[qu],"string"==typeof n&&n.length){if(this.a=n,void 0!==i&&"boolean"!=typeof i)throw new a("argument-error",Fu+" property must be a boolean when specified.");if(this.g=!!i,void 0!==e&&("string"!=typeof e||"string"==typeof e&&!e.length))throw new a("argument-error",qu+" property must be a non empty string when specified.");this.b=e||null}else{if(void 0!==n)throw new a("argument-error",Hu+" property must be a non empty string when specified.");if(void 0!==i||void 0!==e)throw new a("missing-android-pkg-name")}}else if(void 0!==e)throw new a("argument-error",ju+" property must be a non null object when specified.");if(this.f=null,(n=t[Vu])&&"object"==typeof n){if("string"==typeof(n=n[Ku])&&n.length)this.f=n;else if(void 0!==n)throw new a("argument-error",Ku+" property must be a non empty string when specified.")}else if(void 0!==n)throw new a("argument-error",Vu+" property must be a non null object when specified.");if(void 0!==(n=t[yr])&&"boolean"!=typeof n)throw new a("argument-error",yr+" property must be a boolean when specified.");if(this.c=!!n,void 0!==(t=t[Uu])&&("string"!=typeof t||"string"==typeof t&&!t.length))throw new a("argument-error",Uu+" property must be a non empty string when specified.");this.i=t||null}var ju="android",Uu="dynamicLinkDomain",yr="handleCodeInApp",Vu="iOS",Df="url",Fu="installApp",qu="minimumVersion",Hu="packageName",Ku="bundleId";function xe(t){var n={};for(var e in n.continueUrl=t.h,n.canHandleCodeInApp=t.c,(n.androidPackageName=t.a)&&(n.androidMinimumVersion=t.b,n.androidInstallApp=t.g),n.iOSBundleId=t.f,n.dynamicLinkDomain=t.i,n)null===n[e]&&delete n[e];return n}var Zn=null;function je(t){var n=Gu(t);if(!(n&&n.sub&&n.iss&&n.aud&&n.exp))throw Error("Invalid JWT");this.h=t,this.a=n.exp,this.i=n.sub,t=Date.now()/1e3,this.g=n.iat||(t>this.a?this.a:t),this.b=n.provider_id||n.firebase&&n.firebase.sign_in_provider||null,this.f=n.firebase&&n.firebase.tenant||null,this.c=!!n.is_anonymous||"anonymous"==this.b}function Ue(t){try{return new je(t)}catch(n){return null}}function Gu(t){if(!t||3!=(t=t.split(".")).length)return null;for(var n=(4-(t=t[1]).length%4)%4,e=0;e<n;e++)t+=".";try{var i=function Lf(t){var n=[];return function Mf(t,n){function e(c){for(;i<t.length;){var l=t.charAt(i++),v=Zn[l];if(null!=v)return v;if(!/^[\s\xa0]*$/.test(l))throw Error("Unknown base64 encoding at char: "+l)}return c}!function xf(){if(!Zn){Zn={};for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),n=["+/=","+/","-_=","-_.","-_"],e=0;5>e;e++)for(var i=t.concat(n[e].split("")),r=0;r<i.length;r++){var o=i[r];void 0===Zn[o]&&(Zn[o]=r)}}}();for(var i=0;;){var r=e(-1),o=e(0),s=e(64),u=e(64);if(64===u&&-1===r)break;n(r<<2|o>>4),64!=s&&(n(o<<4&240|s>>2),64!=u&&n(s<<6&192|u))}}(t,function(e){n.push(e)}),n}(t);for(t=[],e=n=0;n<i.length;){var r=i[n++];if(128>r)t[e++]=String.fromCharCode(r);else if(191<r&&224>r){var o=i[n++];t[e++]=String.fromCharCode((31&r)<<6|63&o)}else if(239<r&&365>r){o=i[n++];var s=i[n++],c=((7&r)<<18|(63&o)<<12|(63&s)<<6|63&i[n++])-65536;t[e++]=String.fromCharCode(55296+(c>>10)),t[e++]=String.fromCharCode(56320+(1023&c))}
1else o=i[n++],s=i[n++],t[e++]=String.fromCharCode((15&r)<<12|(63&o)<<6|63&s)}return JSON.parse(t.join(""))}catch(l){}return null}je.prototype.T=function(){return this.f},je.prototype.l=function(){return this.c},je.prototype.toString=function(){return this.h};var Bu="oauth_consumer_key oauth_nonce oauth_signature oauth_signature_method oauth_timestamp oauth_token oauth_version".split(" "),Ve=["client_id","response_type","scope","redirect_uri","state"],wr={nd:{Ja:"locale",ua:700,ta:600,fa:"facebook.com",Xa:Ve},pd:{Ja:null,ua:500,ta:750,fa:"github.com",Xa:Ve},qd:{Ja:"hl",ua:515,ta:680,fa:"google.com",Xa:Ve},wd:{Ja:"lang",ua:485,ta:705,fa:"twitter.com",Xa:Bu},kd:{Ja:"locale",ua:640,ta:600,fa:"apple.com",Xa:[]}};function Ir(t){for(var n in wr)if(wr[n].fa==t)return wr[n];return null}function Wu(t){var n={};n["facebook.com"]=Zu,n["google.com"]=Yu,n["github.com"]=Ju,n["twitter.com"]=zu;var e=t&&t[Xu];try{if(e)return n[e]?new n[e](t):new dt(t);if(void 0!==t[br])return new Tr(t)}catch(i){}return null}var br="idToken",Xu="providerId";function Tr(t){var n=t[Xu];if(!n&&t[br]){var e=Ue(t[br]);e&&e.b&&(n=e.b)}if(!n)throw Error("Invalid additional user info!");("anonymous"==n||"custom"==n)&&(n=null),e=!1,void 0!==t.isNewUser?e=!!t.isNewUser:"identitytoolkit#SignupNewUserResponse"===t.kind&&(e=!0),d(this,"providerId",n),d(this,"isNewUser",e)}function dt(t){Tr.call(this,t),d(this,"profile",cr((t=dn(t.rawUserInfo||"{}"))||{}))}function Zu(t){if(dt.call(this,t),"facebook.com"!=this.providerId)throw Error("Invalid provider ID!")}function Ju(t){if(dt.call(this,t),"github.com"!=this.providerId)throw Error("Invalid provider ID!");d(this,"username",this.profile&&this.profile.login||null)}function Yu(t){if(dt.call(this,t),"google.com"!=this.providerId)throw Error("Invalid provider ID!")}function zu(t){if(dt.call(this,t),"twitter.com"!=this.providerId)throw Error("Invalid provider ID!");d(this,"username",t.screenName||null)}function $u(t){var n=W(t),e=Q(n,"link"),i=Q(W(e),"link");return n=Q(n,"deep_link_id"),Q(W(n),"link")||n||i||e||t}function Fe(t,n){if(!t&&!n)throw new a("internal-error","Internal assert: no raw session string available");if(t&&n)throw new a("internal-error","Internal assert: unable to determine the session type");this.a=t||null,this.b=n||null,this.type=this.a?Jn:qe}y(dt,Tr),y(Zu,dt),y(Ju,dt),y(Yu,dt),y(zu,dt);var Jn="enroll",qe="signin";function mn(){}function vn(t,n){return t.then(function(e){if(e[ut]){var i=Ue(e[ut]);if(!i||n!=i.i)throw new a("user-mismatch");return e}throw new a("user-mismatch")}).o(function(e){throw e&&e.code&&e.code==Rn+"user-not-found"?new a("user-mismatch"):e})}function Gt(t,n){if(!n)throw new a("internal-error","failed to construct a credential");this.a=n,d(this,"providerId",t),d(this,"signInMethod",t)}function Er(t){return{pendingToken:t.a,requestUri:"http://localhost"}}function jf(t){if(t&&t.providerId&&t.signInMethod&&0==t.providerId.indexOf("saml.")&&t.pendingToken)try{return new Gt(t.providerId,t.pendingToken)}catch(n){}return null}function bt(t,n,e){if(this.a=null,n.idToken||n.accessToken)n.idToken&&d(this,"idToken",n.idToken),n.accessToken&&d(this,"accessToken",n.accessToken),n.nonce&&!n.pendingToken&&d(this,"nonce",n.nonce),n.pendingToken&&(this.a=n.pendingToken);else{if(!n.oauthToken||!n.oauthTokenSecret)throw new a("internal-error","failed to construct a credential");d(this,"accessToken",n.oauthToken),d(this,"secret",n.oauthTokenSecret)}d(this,"providerId",t),d(this,"signInMethod",e)}function kr(t){var n={};return t.idToken&&(n.id_token=t.idToken),t.accessToken&&(n.access_token=t.accessToken),t.secret&&(n.oauth_token_secret=t.secret),n.providerId=t.providerId,t.nonce&&!t.a&&(n.nonce=t.nonce),n={postBody:fu(n).toString(),requestUri:"http://localhost"},t.a&&(delete n.postBody,n.pendingToken=t.a),n}function Uf(t){if(t&&t.providerId&&t.signInMethod){var n={idToken:t.oauthIdToken,accessToken:t.oauthTokenSecret?null:t.oauthAccessToken,oauthTokenSecret:t.oauthTokenSecret,oauthToken:t.oauthTokenSecret&&t.oauthAccessToken,nonce:t.nonce,pendingToken:t.pendingToken};try{return new bt(t.providerId,n,t.signInMethod)}catch(e){}}return null}function Bt(t,n){this.Qc=n||[],H(this,{providerId:t,isOAuthProvider:!0}),this.Ib={},this.pb=(Ir(t)||{}).Ja||null,this.ob=null}function Qu(t){if("string"!=typeof t||0!=t.indexOf("saml."))throw new a("argument-error",'SAML provider IDs must be prefixed with "saml."');Bt.call(this,t,[])}function Y(t){Bt.call(this,t,Ve),this.a=[]}function Wt(){Y.call(this,"facebook.com")}function th(t){if(!t)throw new a("argument-error","credential failed: expected 1 argument (the OAuth access token).");var n=t;return j(t)&&(n=t.accessToken),(new Wt).credential({accessToken:n})}function Xt(){Y.call(this,"github.com")}function nh(t){if(!t)throw new a("argument-error","credential failed: expected 1 argument (the OAuth access token).");var n=t;return j(t)&&(n=t.accessToken),(new Xt).credential({accessToken:n})}function Zt(){Y.call(this,"google.com"),this.Ca("profile")}function eh(t,n){var e=t;return j(t)&&(e=t.idToken,n=t.accessToken),(new Zt).credential({idToken:e,accessToken:n})}function gn(){Bt.call(this,"twitter.com",Bu)}function ih(t,n){var e=t;if(j(e)||(e={oauthToken:t,oauthTokenSecret:n}),!e.oauthToken||!e.oauthTokenSecret)throw new a("argument-error","credential failed: expected 2 arguments (the OAuth access token and secret).");return new bt("twitter.com",e,"twitter.com")}function Ct(t,n,e){this.a=t,this.f=n,d(this,"providerId","password"),d(this,"signInMethod",e===tt.EMAIL_LINK_SIGN_IN_METHOD?tt.EMAIL_LINK_SIGN_IN_METHOD:tt.EMAIL_PASSWORD_SIGN_IN_METHOD)}function Vf(t){return t&&t.email&&t.password?new Ct(t.email,t.password,t.signInMethod):null}function tt(){H(this,{providerId:"password",isOAuthProvider:!1})}function rh(t,n){if(!(n=Ar(n)))throw new a("argument-error","Invalid email link!");return new Ct(t,n.code,tt.EMAIL_LINK_SIGN_IN_METHOD)}function Ar(t){return(t=xu(t=$u(t)))&&t.operation===Le?t:null}function Rt(t){if(!(t.eb&&t.cb||t.La&&t.ea))throw new a("internal-error");this.a=t,d(this,"providerId","phone"),this.fa="phone",d(this,"signInMethod","phone")}function Ff(t){if(t&&"phone"===t.providerId&&(t.verificationId&&t.verificationCode||t.temporaryProof&&t.phoneNumber)){var n={};return O(["verificationId","verificationCode","temporaryProof","phoneNumber"],function(e){t[e]&&(n[e]=t[e])}),new Rt(n)}return null}function Yn(t){return t.a.La&&t.a.ea?{temporaryProof:t.a.La,phoneNumber:t.a.ea}:{sessionInfo:t.a.eb,code:t.a.cb}}function Tt(t){try{this.a=t||I.Z.auth()}catch(n){throw new a("argument-error","Either an instance of firebase.auth.Auth must be passed as an argument to the firebase.auth.PhoneAuthProvider constructor, or the default firebase App instance must be initialized via firebase.initializeApp().")}H(this,{providerId:"phone",isOAuthProvider:!1})}function oh(t,n){if(!t)throw new a("missing-verification-id");if(!n)throw new a("missing-verification-code");return new Rt({eb:t,cb:n})}function Sr(t){if(t.temporaryProof&&t.phoneNumber)return new Rt({La:t.temporaryProof,ea:t.phoneNumber});var n=t&&t.providerId;if(!n||"password"===n)return null;var e=t&&t.oauthAccessToken,i=t&&t.oauthTokenSecret,r=t&&t.nonce,o=t&&t.oauthIdToken,s=t&&t.pendingToken;try{switch(n){case"google.com":return eh(o,e);case"facebook.com":return th(e);case"github.com":return nh(e);case"twitter.com":return ih(e,i);default:return e||i||o||s?s?0==n.indexOf("saml.")?new Gt(n,s):new bt(n,{pendingToken:s,idToken:t.oauthIdToken,accessToken:t.oauthAccessToken},n):new Y(n).credential({idToken:o,accessToken:e,rawNonce:r}):null}}catch(u){return null}}function Nr(t){if(!t.isOAuthProvider)throw new a("invalid-oauth-provider")}function ot(t,n,e,i,r,o,s){if(this.c=t,this.b=n||null,this.g=e||null,this.f=i||null,this.i=o||null,this.h=s||null,this.a=r||null,!this.g&&!this.a)throw new a("invalid-auth-event");
1if(this.g&&this.a)throw new a("invalid-auth-event");if(this.g&&!this.f)throw new a("invalid-auth-event")}function sh(t){return(t=t||{}).type?new ot(t.type,t.eventId,t.urlResponse,t.sessionId,t.error&&ss(t.error),t.postBody,t.tenantId):null}function qf(){this.b=null,this.a=[]}Fe.prototype.Ha=function(){return m(this.a?this.a:this.b)},Fe.prototype.w=function(){return this.type==Jn?{multiFactorSession:{idToken:this.a}}:{multiFactorSession:{pendingCredential:this.b}}},mn.prototype.ka=function(){},mn.prototype.b=function(){},mn.prototype.c=function(){},mn.prototype.w=function(){},Gt.prototype.ka=function(t){return Wr(t,Er(this))},Gt.prototype.b=function(t,n){var e=Er(this);return e.idToken=n,Xr(t,e)},Gt.prototype.c=function(t,n){return vn(Zr(t,Er(this)),n)},Gt.prototype.w=function(){return{providerId:this.providerId,signInMethod:this.signInMethod,pendingToken:this.a}},bt.prototype.ka=function(t){return Wr(t,kr(this))},bt.prototype.b=function(t,n){var e=kr(this);return e.idToken=n,Xr(t,e)},bt.prototype.c=function(t,n){return vn(Zr(t,kr(this)),n)},bt.prototype.w=function(){var t={providerId:this.providerId,sign
1InMethod:this.signInMethod};return this.idToken&&(t.oauthIdToken=this.idToken),this.accessToken&&(t.oauthAccessToken=this.accessToken),this.secret&&(t.oauthTokenSecret=this.secret),this.nonce&&(t.nonce=this.nonce),this.a&&(t.pendingToken=this.a),t},Bt.prototype.Ka=function(t){return this.Ib=At(t),this},y(Qu,Bt),y(Y,Bt),Y.prototype.Ca=function(t){return wt(this.a,t)||this.a.push(t),this},Y.prototype.Qb=function(){return Lt(this.a)},Y.prototype.credential=function(t,n){var e;if(!(e=j(t)?{idToken:t.idToken||null,accessToken:t.accessToken||null,nonce:t.rawNonce||null}:{idToken:t||null,accessToken:n||null}).idToken&&!e.accessToken)throw new a("argument-error","credential failed: must provide the ID token and/or the access token.");return new bt(this.providerId,e,this.providerId)},y(Wt,Y),d(Wt,"PROVIDER_ID","facebook.com"),d(Wt,"FACEBOOK_SIGN_IN_METHOD","facebook.com"),y(Xt,Y),d(Xt,"PROVIDER_ID","github.com"),d(Xt,"GITHUB_SIGN_IN_METHOD","github.com"),y(Zt,Y),d(Zt,"PROVIDER_ID","google.com"),d(Zt,"GOOGLE_SIGN_IN_METHOD","google.com"),y(gn,Bt),d(gn,"PROVIDER_ID","twitter.com"),d(gn,"TWITTER_SIGN_IN_METHOD","twitter.com"),Ct.prototype.ka=function(t){return this.signInMethod==tt.EMAIL_LINK_SIGN_IN_METHOD?T(t,El,{email:this.a,oobCode:this.f}):T(t,Rh,{email:this.a,password:this.f})},Ct.prototype.b=function(t,n){return this.signInMethod==tt.EMAIL_LINK_SIGN_IN_METHOD?T(t,kl,{idToken:n,email:this.a,oobCode:this.f}):T(t,Ch,{idToken:n,email:this.a,password:this.f})},Ct.prototype.c=function(t,n){return vn(this.ka(t),n)},Ct.prototype.w=function(){return{email:this.a,password:this.f,signInMethod:this.signInMethod}},H(tt,{PROVIDER_ID:"password"}),H(tt,{EMAIL_LINK_SIGN_IN_METHOD:"emailLink"}),H(tt,{EMAIL_PASSWORD_SIGN_IN_METHOD:"password"}),Rt.prototype.ka=function(t){return t.fb(Yn(this))},Rt.prototype.b=function(t,n){var e=Yn(this);return e.idToken=n,T(t,Gl,e)},Rt.prototype.c=function(t,n){var e=Yn(this);return e.operation="REAUTH",vn(t=T(t,Bl,e),n)},Rt.prototype.w=function(){var t={providerId:"phone"};return this.a.eb&&(t.verificationId=this.a.eb),this.a.cb&&(t.verificationCode=this.a.cb),this.a.La&&(t.temporaryProof=this.a.La),this.a.ea&&(t.phoneNumber=this.a.ea),t},Tt.prototype.fb=function(t,n){var e=this.a.a;return m(n.verify()).then(function(i){if("string"!=typeof i)throw new a("argument-error","An implementation of firebase.auth.ApplicationVerifier.prototype.verify() must return a firebase.Promise that resolves with a string.");if("recaptcha"===n.type){var s,r=j(t)?t.session:null,o=j(t)?t.phoneNumber:t;return s=r&&r.type==Jn?r.Ha().then(function(u){return function dl(t,n){return T(t,jl,n).then(function(e){return e.phoneSessionInfo.sessionInfo})}(e,{idToken:u,phoneEnrollmentInfo:{phoneNumber:o,recaptchaToken:i}})}):r&&r.type==qe?r.Ha().then(function(u){return function ml(t,n){return T(t,Ul,n).then(function(e){return e.phoneResponseInfo.sessionInfo})}(e,{mfaPendingCredential:u,mfaEnrollmentId:t.multiFactorHint&&t.multiFactorHint.uid||t.multiFactorUid,phoneSignInInfo:{recaptchaToken:i}})}):function pl(t,n){return T(t,Ml,n)}(e,{phoneNumber:o,recaptchaToken:i}),s.then(function(u){return"function"==typeof n.reset&&n.reset(),u},function(u){throw"function"==typeof n.reset&&n.reset(),u})}throw new a("argument-error",'Only firebase.auth.ApplicationVerifiers with type="recaptcha" are currently supported.')})},H(Tt,{PROVIDER_ID:"phone"}),H(Tt,{PHONE_SIGN_IN_METHOD:"phone"}),ot.prototype.getUid=function(){var t=[];return t.push(this.c),this.b&&t.push(this.b),this.f&&t.push(this.f),this.h&&t.push(this.h),t.join("-")},ot.prototype.T=function(){return this.h},ot.prototype.w=function(){return{type:this.c,eventId:this.b,urlResponse:this.g,sessionId:this.f,postBody:this.i,tenantId:this.h,error:this.a&&this.a.w()}};var Cr,_r=null;function Or(t){var n="unauthorized-domain",e=void 0,i=W(t);t=i.a,"chrome-extension"==(i=i.c)?e=_s("This chrome extension ID (chrome-extension://%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",t):"http"==i||"https"==i?e=_s("This domain (%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",t):n="operation-not-supported-in-this-environment",a.call(this,n,e)}function zn(t,n,e){a.call(this,t,e),(t=n||{}).Jb&&d(this,"email",t.Jb),t.ea&&d(this,"phoneNumber",t.ea),t.credential&&d(this,"credential",t.credential),t.Zb&&d(this,"tenantId",t.Zb)}function He(t){if(t.code){var n=t.code||"";0==n.indexOf(Rn)&&(n=n.substring(Rn.length));var e={credential:Sr(t),Zb:t.tenantId};if(t.email)e.Jb=t.email;else if(t.phoneNumber)e.ea=t.phoneNumber;else if(!e.credential)return new a(n,t.message||void 0);return new zn(n,e,t.message)}return null}function $n(){}function Ke(){}function hh(t){if(!t.f&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var n=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],e=0;e<n.length;e++){var i=n[e];try{return new ActiveXObject(i),t.f=i}catch(r){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return t.f}function Ge(){}function ah(){this.a=new XDomainRequest,this.readyState=0,this.onreadystatechange=null,this.responseType=this.responseText=this.response="",this.status=-1,this.statusText="",this.a.onload=g(this.qc,this),this.a.onerror=g(this.Sb,this),this.a.onprogress=g(this.rc,this),this.a.ontimeout=g(this.vc,this)}function Rr(t,n){t.readyState=n,t.onreadystatechange&&t.onreadystatechange()}function Dr(t,n,e){this.reset(t,n,e,void 0,void 0)}function Pr(t){this.f=t,this.b=this.c=this.a=null}function Qn(t,n){this.name=t,this.value=n}y(Or,a),y(zn,a),zn.prototype.w=function(){var t={code:this.code,message:this.message};this.email&&(t.email=this.email),this.phoneNumber&&(t.phoneNumber=this.phoneNumber),this.tenantId&&(t.tenantId=this.tenantId);var n=this.credential&&this.credential.w();return n&&K(t,n),t},zn.prototype.toJSON=function(){return this.w()},$n.prototype.c=null,y(Ke,$n),Ke.prototype.a=function(){var t=hh(this);return t?new ActiveXObject(t):new XMLHttpRequest},Ke.prototype.b=function(){var t={};return hh(this)&&(t[0]=!0,t[1]=!0),t},Cr=new Ke,y(Ge,$n),Ge.prototype.a=function(){var t=new XMLHttpRequest;if("withCredentials"in t)return t;if("undefined"!=typeof XDomainRequest)return new ah;throw Error("Unsupported browser")},Ge.prototype.b=function(){return{}},(h=ah.prototype).open=function(t,n,e){if(null!=e&&!e)throw Error("Only async requests are supported.");this.a.open(t,n)},h.send=function(t){if(t){if("string"!=typeof t)throw Error("Only string data is supported");this.a.send(t)}else this.a.send()},h.abort=function(){this.a.abort()},h.setRequestHeader=function(){},h.getResponseHeader=function(t){return"content-type"==t.toLowerCase()?this.a.contentType:""},h.qc=function(){this.status=200,this.response=this.responseText=this.a.responseText,Rr(this,4)},h.Sb=function(){this.status=500,this.response=this.responseText="",Rr(this,4)},h.vc=function(){this.Sb()},h.rc=function(){this.status=200,Rr(this,1)},h.getAllResponseHeaders=function(){return"content-type: "+this.a.contentType},Dr.prototype.a=null,Dr.prototype.reset=function(t,n,e,i,r){i||ve(),delete this.a},Qn.prototype.toString=function(){return this.name};var ch=new Qn("SEVERE",1e3),Lr=new Qn("WARNING",900),Gf=new Qn("CONFIG",700),Bf=new Qn("FINE",500);function fh(t){return t.c?t.c:t.a?fh(t.a):(en("Root logger has no level set."),null)}Pr.prototype.log=function(t,n,e){if(t.value>=fh(this).value)for(yt(n)&&(n=n()),t=new Dr(t,String(n),this.f),e&&(t.a=e),e=this;e;)e=e.a};var Mr={},Be=null;function xr(t){var n;if(Be||(Be=new Pr(""),Mr[""]=Be,Be.c=Gf),!(n=Mr[t])){n=new Pr(t);var e=t.lastIndexOf("."),i=t.substr(e+1);(e=xr(t.substr(0,e))).b||(e.b={}),e.b[i]=n,n.a=e,Mr[t]=n}return n}function nt(t,n){t&&t.log(Bf,n,void 0)}function We(t){this.f=t}function Xe(t){q.call(this),this.u=t,this.h=void 0,this.readyState=jr,this.status=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.l=new Headers,this.b=null,this.s="GET",this.f="",this.a=!1,this.i=xr("goog.net.FetchXmlHttp"),this.m=this.c=this.g=null}y(We,$n),We.prototype.a=function(){return new Xe(this.f)},We.prototype.b=function(t){return function(){return t}}({}),y(Xe,q);var jr=0;function lh(t){t.c.read().then(t.pc.bind(t)).catch(t.Ua.bind(t))}function te(t){t.readyState=4,t.g=null,t.c=null,t.m=null,ne(t)}function ne(t){t.onreadystatechange&&t.onreadystatechange.call(t)}function ee(t){q.call(this),this.headers=new an,this.D=t||null,this.c=!1,this.C=this.a=null,this.h=this.R=this.l="",this.f=this.O=this.i=this.J=!1,this.g=0,this.s=null,this.m=ph,this.u=this.S=!1}(h=Xe.prototype).open=function(t,n){if(this.readyState!=jr)throw this.abort(),Error("Error reopening a connection");this.s=t,this.f=n,this.readyState=1,ne(this)},h.send=function(t){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.a=!0;var n={headers:this.l,method:this.s,credentials:this.h,cache:void 0};
1t&&(n.body=t),this.u.fetch(new Request(this.f,n)).then(this.uc.bind(this),this.Ua.bind(this))},h.abort=function(){this.response=this.responseText="",this.l=new Headers,this.status=0,this.c&&this.c.cancel("Request was aborted."),1<=this.readyState&&this.a&&4!=this.readyState&&(this.a=!1,te(this)),this.readyState=jr},h.uc=function(t){this.a&&(this.g=t,this.b||(this.status=this.g.status,this.statusText=this.g.statusText,this.b=t.headers,this.readyState=2,ne(this)),this.a&&(this.readyState=3,ne(this),this.a&&("arraybuffer"===this.responseType?t.arrayBuffer().then(this.sc.bind(this),this.Ua.bind(this)):void 0!==f.ReadableStream&&"body"in t?(this.response=this.responseText="",this.c=t.body.getReader(),this.m=new TextDecoder,lh(this)):t.text().then(this.tc.bind(this),this.Ua.bind(this)))))},h.pc=function(t){if(this.a){var n=this.m.decode(t.value?t.value:new Uint8Array(0),{stream:!t.done});n&&(this.response=this.responseText+=n),t.done?te(this):ne(this),3==this.readyState&&lh(this)}},h.tc=function(t){this.a&&(this.response=this.responseText=t,te(this))},h.sc=function(t){this.a&&(this.response=t,te(this))},h.Ua=function(t){var n=this.i;n&&n.log(Lr,"Failed to fetch url "+this.f,t instanceof Error?t:Error(t)),this.a&&te(this)},h.setRequestHeader=function(t,n){this.l.append(t,n)},h.getResponseHeader=function(t){return this.b?this.b.get(t.toLowerCase())||"":((t=this.i)&&t.log(Lr,"Attempting to get response header but no headers have been received for url: "+this.f,void 0),"")},h.getAllResponseHeaders=function(){if(!this.b){var t=this.i;return t&&t.log(Lr,"Attempting to get all response headers but no headers have been received for url: "+this.f,void 0),""}t=[];for(var n=this.b.entries(),e=n.next();!e.done;)t.push((e=e.value)[0]+": "+e[1]),e=n.next();return t.join("\r\n")},Object.defineProperty(Xe.prototype,"withCredentials",{get:function(){return"include"===this.h},set:function(n){this.h=n?"include":"same-origin"}}),y(ee,q);var ph="";ee.prototype.b=xr("goog.net.XhrIo");var Wf=/^https?$/i,Xf=["POST","PUT"];function Yf(t){return"content-type"==t.toLowerCase()}function dh(t,n){t.c=!1,t.a&&(t.f=!0,t.a.abort(),t.f=!1),t.h=n,mh(t),Ze(t)}function mh(t){t.J||(t.J=!0,t.dispatchEvent("complete"),t.dispatchEvent("error"))}function vh(t){if(t.c&&void 0!==wi)if(t.C[1]&&4==ie(t)&&2==Je(t))nt(t.b,Et(t,"Local request error detected and ignored"));else if(t.i&&4==ie(t))Yi(t.Vb,0,t);else if(t.dispatchEvent("readystatechange"),4==ie(t)){nt(t.b,Et(t,"Request complete")),t.c=!1;try{var i,n=Je(t);t:switch(n){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var e=!0;break t;default:e=!1}if(!(i=e)){var r;if(r=0===n){var o=String(t.l).match(au)[1]||null;if(!o&&f.self&&f.self.location){var s=f.self.location.protocol;o=s.substr(0,s.length-1)}r=!Wf.test(o?o.toLowerCase():"")}i=r}if(i)t.dispatchEvent("complete"),t.dispatchEvent("success");else{try{var u=2<ie(t)?t.a.statusText:""}catch(c){nt(t.b,"Can not get status: "+c.message),u=""}t.h=u+" ["+Je(t)+"]",mh(t)}}finally{Ze(t)}}}function Ze(t,n){if(t.a){gh(t);var e=t.a,i=t.C[0]?at:null;t.a=null,t.C=null,n||t.dispatchEvent("ready");try{e.onreadystatechange=i}catch(r){(t=t.b)&&t.log(ch,"Problem encountered resetting onreadystatechange: "+r.message,void 0)}}}function gh(t){t.a&&t.u&&(t.a.ontimeout=null),t.s&&(f.clearTimeout(t.s),t.s=null)}function ie(t){return t.a?t.a.readyState:0}function Je(t){try{return 2<ie(t)?t.a.status:-1}catch(n){return-1}}function Et(t,n){return n+" ["+t.R+" "+t.l+" "+Je(t)+"]"}function Jt(t){var n=tl;this.g=[],this.u=n,this.s=t||null,this.f=this.a=!1,this.c=void 0,this.v=this.C=this.i=!1,this.h=0,this.b=null,this.l=0}function re(t,n,e){t.a=!0,t.c=e,t.f=!n,wh(t)}function Ye(t){if(t.a){if(!t.v)throw new ze(t);t.v=!1}}function Ur(t,n,e,i){t.g.push([n,e,i]),t.a&&wh(t)}function yh(t){return mc(t.g,function(n){return yt(n[1])})}function wh(t){if(t.h&&t.a&&yh(t)){var n=t.h,e=$e[n];e&&(f.clearTimeout(e.a),delete $e[n]),t.h=0}t.b&&(t.b.l--,delete t.b),n=t.c;for(var i=e=!1;t.g.length&&!t.i;){var r=t.g.shift(),o=r[0],s=r[1];if(r=r[2],o=t.f?s:o)try{var u=o.call(r||t.s,n);void 0!==u&&(t.f=t.f&&(u==n||u instanceof Error),t.c=n=u),(us(n)||"function"==typeof f.Promise&&n instanceof f.Promise)&&(i=!0,t.i=!0)}catch(c){n=c,t.f=!0,yh(t)||(e=!0)}}t.c=n,i&&(u=g(t.m,t,!0),i=g(t.m,t,!1),n instanceof Jt?(Ur(n,u,i),n.C=!0):n.then(u,i)),e&&(n=new Ih(n),$e[n.a]=n,t.h=n.a)}function ze(){Z.call(this)}function oe(){Z.call(this)}function Ih(t){this.a=f.setTimeout(g(this.c,this),0),this.b=t}(h=ee.prototype).Ma=function(){void 0!==wi&&this.a&&(this.h="Timed out after "+this.g+"ms, aborting",nt(this.b,Et(this,this.h)),this.dispatchEvent("timeout"),this.abort(8))},h.abort=function(){this.a&&this.c&&(nt(this.b,Et(this,"Aborting")),this.c=!1,this.f=!0,this.a.abort(),this.f=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Ze(this))},h.Da=function(){this.a&&(this.c&&(this.c=!1,this.f=!0,this.a.abort(),this.f=!1),Ze(this,!0)),ee.ab.Da.call(this)},h.Vb=function(){this.xa||(this.O||this.i||this.f?vh(this):this.Jc())},h.Jc=function(){vh(this)},h.getResponse=function(){try{if(!this.a)return null;if("response"in this.a)return this.a.response;switch(this.m){case ph:case"text":return this.a.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in this.a)return this.a.mozResponseArrayBuffer}var t=this.b;return t&&t.log(ch,"Response type "+this.m+" is not supported on this browser",void 0),null}catch(n){return nt(this.b,"Can not get response: "+n.message),null}},Jt.prototype.cancel=function(t){if(this.a)this.c instanceof Jt&&this.c.cancel();else{if(this.b){var n=this.b;delete this.b,t?n.cancel(t):(n.l--,0>=n.l&&n.cancel())}this.u?this.u.call(this.s,this):this.v=!0,this.a||(t=new oe(this),Ye(this),re(this,!1,t))}},Jt.prototype.m=function(t,n){this.i=!1,re(this,t,n)},Jt.prototype.then=function(t,n,e){var i,r,o=new b(function(s,u){i=s,r=u});return Ur(this,i,function(s){s instanceof oe?o.cancel():r(s)}),o.then(t,n,e)}
1,Jt.prototype.$goog_Thenable=!0,y(ze,Z),ze.prototype.message="Deferred has already fired",ze.prototype.name="AlreadyCalledError",y(oe,Z),oe.prototype.message="Deferred was canceled",oe.prototype.name="CanceledError",Ih.prototype.c=function(){throw delete $e[this.a],this.b};var $e={};function Vr(t){var n={},e=n.document||document,i=Is(t).toString(),r=Ee(document,"SCRIPT"),o={Wb:r,Ma:void 0},s=new Jt(o),u=null,c=null!=n.timeout?n.timeout:5e3;return 0<c&&(u=window.setTimeout(function(){Qe(r,!0);var l=new Fr(el,"Timeout reached for loading script "+i);Ye(s),re(s,!1,l)},c),o.Ma=u),r.onload=r.onreadystatechange=function(){r.readyState&&"loaded"!=r.readyState&&"complete"!=r.readyState||(Qe(r,n.xd||!1,u),Ye(s),re(s,!0,null))},r.onerror=function(){Qe(r,!0,u);var l=new Fr(nl,"Error while loading script "+i);Ye(s),re(s,!1,l)},K(o=n.attributes||{},{type:"text/javascript",charset:"UTF-8"}),Ls(r,o),function Cc(t,n){gs(t,"HTMLScriptElement"),t.src=Is(n),(n=t.ownerDocument&&t.ownerDocument.defaultView)&&n!=f?n=rs(n.document):(null===Ii&&(Ii=rs(f.document)),n=Ii),n&&t.setAttribute("nonce",n)}(r,t),function Qf(t){var n;return(n=(t||document).getElementsByTagName("HEAD"))&&0!=n.length?n[0]:t.documentElement}(e).appendChild(r),s}function tl(){if(this&&this.Wb){var t=this.Wb;t&&"SCRIPT"==t.tagName&&Qe(t,!0,this.Ma)}}function Qe(t,n,e){null!=e&&f.clearTimeout(e),t.onload=at,t.onerror=at,t.onreadystatechange=at,n&&window.setTimeout(function(){t&&t.parentNode&&t.parentNode.removeChild(t)},0)}var nl=0,el=1;function Fr(t,n){var e="Jsloader error (code #"+t+")";n&&(e+=": "+n),Z.call(this,e),this.code=t}function ti(t){this.f=t}function st(t,n,e){if(this.c=t,this.l=(t=n||{}).secureTokenEndpoint||"https://securetoken.googleapis.com/v1/token",this.m=t.secureTokenTimeout||il,this.g=At(t.secureTokenHeaders||rl),this.h=t.firebaseEndpoint||"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",this.i=t.identityPlatformEndpoint||"https://identitytoolkit.googleapis.com/v2/",this.v=t.firebaseTimeout||ol,this.a=At(t.firebaseHeaders||sl),e&&(this.a["X-Client-Version"]=e,this.g["X-Client-Version"]=e),e="Node"==lt(),!(e=f.XMLHttpRequest||e&&I.Z.INTERNAL.node&&I.Z.INTERNAL.node.XMLHttpRequest)&&!rt())throw new a("internal-error","The XMLHttpRequest compatibility library was not found.");this.f=void 0,this.f=rt()?new We(self):bu()?new ti(e):new Ge,this.b=null}y(Fr,Z),y(ti,$n),ti.prototype.a=function(){return new this.f},ti.prototype.b=function(){return{}};var qr,ut="idToken",il=new Ot(3e4,6e4),rl={"Content-Type":"application/x-www-form-urlencoded"},ol=new Ot(3e4,6e4),sl={"Content-Type":"application/json"};function bh(t,n){n?t.a["X-Firebase-Locale"]=n:delete t.a["X-Firebase-Locale"]}function yn(t,n){n&&(t.l=Hr("https://securetoken.googleapis.com/v1/token",n),t.h=Hr("https://www.googleapis.com/identitytoolkit/v3/relyingparty/",n),t.i=Hr("https://identitytoolkit.googleapis.com/v2/",n))}function Hr(t,n){return t=W(t),n=W(n.url),t.f=t.a+t.f,Un(t,n.c),t.a=n.a,Vn(t,n.g),t.toString()}function Th(t,n){n?(t.a["X-Client-Version"]=n,t.g["X-Client-Version"]=n):(delete t.a["X-Client-Version"],delete t.g["X-Client-Version"])}function Eh(t,n,e,i,r,o,s){(function af(){var t=F();return!((t="Chrome"!=fn(t)?null:(t=t.match(/\sChrome\/(\d+)/i))&&2==t.length?parseInt(t[1],10):null)&&30>t||it&&St&&!(9<St))})()||rt()?t=g(t.u,t):(qr||(qr=new b(function(u,c){!function hl(t,n){((window.gapi||{}).client||{}).request?t():(f[kh]=function(){((window.gapi||{}).client||{}).request?t():n(Error("CORS_UNSUPPORTED"))},function $f(t,n){Ur(t,null,n,void 0)}(Vr(Ci(ul,{onload:kh})),function(){n(Error("CORS_UNSUPPORTED"))}))}(u,c)})),t=g(t.s,t)),t(n,e,i,r,o,s)}st.prototype.T=function(){return this.b},st.prototype.u=function(t,n,e,i,r,o){if(rt()&&(void 0===f.fetch||void 0===f.Headers||void 0===f.Request))throw new a("operation-not-supported-in-this-environment","fetch, Headers and Request native APIs or equivalent Polyfills must be available to support HTTP requests from a Worker environment.");var s=new ee(this.f);if(o){s.g=Math.max(0,o);var u=setTimeout(function(){s.dispatchEvent("timeout")},o)}su(s,"complete",function(){u&&clearTimeout(u);var c=null;try{c=JSON.parse(function zf(t){try{return t.a?t.a.responseText:""}catch(n){return nt(t.b,"Can not get responseText: "+n.message),""}}(this))||null}catch(l){c=null}n&&n(c)}),Ji(s,"ready",function(){u&&clearTimeout(u),$s(this)}),Ji(s,"timeout",function(){u&&clearTimeout(u),$s(this),n&&n(null)}),function Zf(t,n,e,i,r){if(t.a)throw Error("[goog.net.XhrIo] Object is active with another request="+t.l+"; newUri="+n);e=e?e.toUpperCase():"GET",t.l=n,t.h="",t.R=e,t.J=!1,t.c=!0,t.a=t.D?t.D.a():Cr.a(),t.C=function uh(t){return t.c||(t.c=t.b())}(t.D?t.D:Cr),t.a.onreadystatechange=g(t.Vb,t);try{nt(t.b,Et(t,"Opening Xhr")),t.O=!0,t.a.open(e,String(n),!0),t.O=!1}catch(s){return nt(t.b,Et(t,"Error opening Xhr: "+s.message)),void dh(t,s)}n=i||"";var o=new an(t.headers);r&&function $c(t,n){if(t.forEach&&"function"==typeof t.forEach)t.forEach(n,void 0);else if(Cn(t)||"string"==typeof t)O(t,n,void 0);else for(var e=hu(t),i=uu(t),r=i.length,o=0;o<r;o++)n.call(void 0,i[o],e&&e[o],t)}(r,function(s,u){o.set(u,s)}),r=function vc(t){t:{for(var n=Yf,e=t.length,i="string"==typeof t?t.split(""):t,r=0;r<e;r++)if(r in i&&n.call(void 0,i[r],r,t)){n=r;break t}n=-1}return 0>n?null:"string"==typeof t?t.charAt(n):t[n]}(o.Y()),i=f.FormData&&n instanceof f.FormData,!wt(Xf,e)||r||i||o.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),o.forEach(function(s,u){this.a.setRequestHeader(u,s)},t),t.m&&(t.a.responseType=t.m),"withCredentials"in t.a&&t.a.withCredentials!==t.S&&(t.a.withCredentials=t.S);try{gh(t),0<t.g&&(t.u=function Jf(t){return it&&Ds(9)&&"number"==typeof t.timeout&&void 0!==t.ontimeout}(t.a),nt(t.b,Et(t,"Will abort after "+t.g+"ms if incomplete, xhr2 "+t.u)),t.u?(t.a.timeout=t.g,t.a.ontimeout=g(t.Ma,t)):t.s=Yi(t.Ma,t.g,t)),nt(t.b,Et(t,"Sending request")),t.i=!0,t.a.send(n),t.i=!1}catch(s){nt(t.b,Et(t,"Send error: "+s.message)),dh(t,s)}}(s,t,e,i,r)};var ul=new ct(we,"https://apis.google.com/js/client.js?onload=%{onload}"),kh="__fcb"+Math.floor(1e6*Math.random()).toString();function Yt(t){if("string"!=typeof(t=t.email)||!lf.test(t))throw new a("invalid-email")}function Sh(t){"email"in t&&Yt(t)}function X(t){if(!t[ut])throw t.mfaPendingCredential?new a("multi-factor-auth-required",null,At(t)):new a("internal-error")}function Kr(t){if(t.phoneNumber||t.temporaryProof){if(!t.phoneNumber||!t.temporaryProof)throw new a("internal-error")}else{if(!t.sessionInfo)throw new a("missing-verification-id");if(!t.code)throw new a("missing-verification-code")}}st.prototype.s=function(t,n,e,i,r){var o=this;qr.then(function(){window.gapi.client.setApiKey(o.c);var s=window.gapi.auth.getToken();window.gapi.auth.setToken(null),window.gapi.client.request({path:t,method:e,body:i,headers:r,authType:"none",callback:function(c){window.gapi.auth.setToken(s),n&&n(c)}})}).o(function(s){n&&n({error:{message:s&&s.message||"CORS_UNSUPPORTED"}})})},st.prototype.zb=function(){return T(this,xl,{})},st.prototype.Bb=function(t,n){return T(this,Oh,{idToken:t,email:n})},st.prototype.Cb=function(t,n){return T(this,Ch,{idToken:t,password:n})};var ll={displayName:"DISPLAY_NAME",photoUrl:"PHOTO_URL"};function Nh(t){if(!t.phoneVerificationInfo)throw new a("internal-error");
1if(!t.phoneVerificationInfo.sessionInfo)throw new a("missing-verification-id");if(!t.phoneVerificationInfo.code)throw new a("missing-verification-code")}function Gr(t){if(!t.requestUri||!t.sessionId&&!t.postBody&&!t.pendingToken)throw new a("internal-error")}function Br(t,n){return n.oauthIdToken&&n.providerId&&0==n.providerId.indexOf("oidc.")&&!n.pendingToken&&(t.sessionId?n.nonce=t.sessionId:t.postBody&&Qi(t=new Ft(t.postBody),"nonce")&&(n.nonce=t.get("nonce"))),n}function _h(t){var n=null;if(t.needConfirmation?(t.code="account-exists-with-different-credential",n=He(t)):"FEDERATED_USER_ID_ALREADY_LINKED"==t.errorMessage?(t.code="credential-already-in-use",n=He(t)):"EMAIL_EXISTS"==t.errorMessage?(t.code="email-already-in-use",n=He(t)):t.errorMessage&&(n=Dh(t.errorMessage)),n)throw n;X(t)}function Wr(t,n){return n.returnIdpCredential=!0,T(t,Vl,n)}function Xr(t,n){return n.returnIdpCredential=!0,T(t,ql,n)}function Zr(t,n){return n.returnIdpCredential=!0,n.autoCreate=!1,T(t,Fl,n)}function Jr(t){if(!t.oobCode)throw new a("invalid-action-code")}(h=st.prototype).Db=function(t,n){var e={idToken:t},i=[];return ms(ll,function(r,o){var s=n[o];null===s?i.push(r):o in n&&(e[o]=s)}),i.length&&(e.deleteAttribute=i),T(this,Oh,e)},h.vb=function(t,n){return K(t={requestType:"PASSWORD_RESET",email:t},n),T(this,Rl,t)},h.wb=function(t,n){return K(t={requestType:"EMAIL_SIGNIN",email:t},n),T(this,_l,t)},h.ub=function(t,n){return K(t={requestType:"VERIFY_EMAIL",idToken:t},n),T(this,Ol,t)},h.Eb=function(t,n,e){return K(t={requestType:"VERIFY_AND_CHANGE_EMAIL",idToken:t,newEmail:n},e),T(this,Cl,t)},h.fb=function(t){return T(this,Kl,t)},h.nb=function(t,n){return T(this,Ll,{oobCode:t,newPassword:n})},h.Ra=function(t){return T(this,yl,{oobCode:t})},h.jb=function(t){return T(this,gl,{oobCode:t})};var gl={endpoint:"setAccountInfo",A:Jr,Z:"email",B:!0},yl={endpoint:"resetPassword",A:Jr,G:function(n){var e=n.requestType;if(!e||!n.email&&"EMAIL_SIGNIN"!=e&&"VERIFY_AND_CHANGE_EMAIL"!=e)throw new a("internal-error")},B:!0},wl={endpoint:"signupNewUser",A:function(n){if(Yt(n),!n.password)throw new a("weak-password")},G:X,V:!0,B:!0},Il={endpoint:"createAuthUri",B:!0},bl={endpoint:"deleteAccount",N:["idToken"]},Tl={endpoint:"setAccountInfo",N:["idToken","deleteProvider"],A:function(n){if(!Array.isArray(n.deleteProvider))throw new a("internal-error")}},El={endpoint:"emailLinkSignin",N:["email","oobCode"],A:Yt,G:X,V:!0,B:!0},kl={endpoint:"emailLinkSignin",N:["idToken","email","oobCode"],A:Yt,G:X,V:!0},Al={endpoint:"accounts/mfaEnrollment:finalize",N:["idToken","phoneVerificationInfo"],A:Nh,G:X,B:!0,Na:!0},Sl={endpoint:"accounts/mfaSignIn:finalize",N:["mfaPendingCredential","phoneVerificationInfo"],A:Nh,G:X,B:!0,Na:!0},Nl={endpoint:"getAccountInfo"},_l={endpoint:"getOobConfirmationCode",N:["requestType"],A:function(n){if("EMAIL_SIGNIN"!=n.requestType)throw new a("internal-error");Yt(n)},Z:"email",B:!0},Ol={endpoint:"getOobConfirmationCode",N:["idToken","requestType"],A:function(n){if("VERIFY_EMAIL"!=n.requestType)throw new a("internal-error")},Z:"email",B:!0},Cl={endpoint:"getOobConfirmationCode",N:["idToken","newEmail","requestType"],A:function(n){if("VERIFY_AND_CHANGE_EMAIL"!=n.requestType)throw new a("internal-error")},Z:"email",B:!0},Rl={endpoint:"getOobConfirmationCode",N:["requestType"],A:function(n){if("PASSWORD_RESET"!=n.requestType)throw new a("internal-error");Yt(n)},Z:"email",B:!0},Dl={lb:!0,endpoint:"getProjectConfig",Ub:"GET"},Pl={lb:!0,endpoint:"getRecaptchaParam",Ub:"GET",G:function(n){if(!n.recaptchaSiteKey)throw new a("internal-error")}},Ll={endpoint:"resetPassword",A:Jr,Z:"email",B:!0},Ml={endpoint:"sendVerificationCode",N:["phoneNumber","recaptchaToken"],Z:"sessionInfo",B:!0},Oh={endpoint:"setAccountInfo",N:["idToken"],A:Sh,V:!0},Ch={endpoint:"setAccountInfo",N:["idToken"],A:function(n){if(Sh(n),!n.password)throw new a("weak-password")},G:X,V:!0},xl={endpoint:"signupNewUser",G:X,V:!0,B:!0},jl={endpoint:"accounts/mfaEnrollment:start",N:["idToken","phoneEnrollmentInfo"],A:function(n){if(!n.phoneEnrollmentInfo)throw new a("internal-error");if(!n.phoneEnrollmentInfo.phoneNumber)throw new a("missing-phone-number");if(!n.phoneEnrollmentInfo.recaptchaToken)throw new a("missing-app-credential")},G:function(n){if(!n.phoneSessionInfo||!n.phoneSessionInfo.sessionInfo)throw new a("internal-error")},B:!0,Na:!0},Ul={endpoint:"accounts/mfaSignIn:start",N:["mfaPendingCredential","mfaEnrollmentId","phoneSignInInfo"],A:function(n){if(!n.phoneSignInInfo||!n.phoneSignInInfo.recaptchaToken)throw new a("missing-app-credential")},G:function(n){if(!n.phoneResponseInfo||!n.phoneResponseInfo.sessionInfo)throw new a("internal-error")},B:!0,Na:!0},Vl={endpoint:"verifyAssertion",A:Gr,Ya:Br,G:_h,V:!0,B:!0},Fl={endpoint:"verifyAssertion",A:Gr,Ya:Br,G:function(n){if(n.errorMessage&&"USER_NOT_FOUND"==n.errorMessage)throw new a("user-not-found");if(n.errorMessage)throw Dh(n.errorMessage);X(n)},V:!0,B:!0},ql={endpoint:"verifyAssertion",A:function(n){if(Gr(n),!n.idToken)throw new a("internal-error")},Ya:Br,G:_h,V:!0},Hl={endpoint:"verifyCustomToken",A:function(n){if(!n.token)throw new a("invalid-custom-token")},G:X,V:!0,B:!0},Rh={endpoint:"verifyPassword",A:function(n){if(Yt(n),!n.password)throw new a("wrong-password")},G:X,V:!0,B:!0},Kl={endpoint:"verifyPhoneNumber",A:Kr,G:X,B:!0},Gl={endpoint:"verifyPhoneNumber",A:function(n){if(!n.idToken)throw new a("internal-error");Kr(n)},G:function(n){if(n.temporaryProof)throw n.code="credential-already-in-use",He(n);X(n)}},Bl={Hb:{USER_NOT_FOUND:"user-not-found"},endpoint:"verifyPhoneNumber",A:Kr,G:X,B:!0},Wl={endpoint:"accounts/mfaEnrollment:withdraw",N:["idToken","mfaEnrollmentId"],G:function(n){if(!!n[ut]^!!n.refreshToken)throw new a("internal-error")},B:!0,Na:!0};function T(t,n,e){if(!function wf(t,n){if(!n||!n.length)return!0;
1if(!t)return!1;for(var e=0;e<n.length;e++){var i=t[n[e]];if(null==i||""===i)return!1}return!0}(e,n.N))return N(new a("internal-error"));var o,i=!!n.Na,r=n.Ub||"POST";return m(e).then(n.A).then(function(){return n.V&&(e.returnSecureToken=!0),n.B&&t.b&&void 0===e.tenantId&&(e.tenantId=t.b),function Ah(t,n,e,i,r,o,s){var u=W(n+e);D(u,"key",t.c),s&&D(u,"cb",ve().toString());var c="GET"==i;if(c)for(var l in r)r.hasOwnProperty(l)&&D(u,l,r[l]);return new b(function(v,k){Eh(t,u.toString(),function(E){E?E.error?k(Yr(E,o||{})):v(E):k(new a("network-request-failed"))},i,c?void 0:du(ku(r)),t.a,t.v.get())})}(t,i?t.i:t.h,n.endpoint,r,e,n.Hb,n.lb||!1)}).then(function(s){return o=s,n.Ya?n.Ya(e,o):o}).then(n.G).then(function(){if(!n.Z)return o;if(!(n.Z in o))throw new a("internal-error");return o[n.Z]})}function Dh(t){return Yr({error:{errors:[{message:t}],code:400,message:t}})}function Yr(t,n){var e=(t.error&&t.error.errors&&t.error.errors[0]||{}).reason||"",i={keyInvalid:"invalid-api-key",ipRefererBlocked:"app-not-authorized"};if(e=i[e]?new a(i[e]):null)return e;for(var r in e=t.error&&t.error.message||"",K(i={INVALID_CUSTOM_TOKEN:"invalid-custom-token",CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_EMAIL:"invalid-email",INVALID_PASSWORD:"wrong-password",USER_DISABLED:"user-disabled",MISSING_PASSWORD:"internal-error",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_OR_INVALID_
1NONCE:"missing-or-invalid-nonce",INVALID_MESSAGE_PAYLOAD:"invalid-message-payload",INVALID_RECIPIENT_EMAIL:"invalid-recipient-email",INVALID_SENDER:"invalid-sender",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",INVALID_PROVIDER_ID:"invalid-provider-id",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",CORS_UNSUPPORTED:"cors-unsupported",DYNAMIC_LINK_NOT_ACTIVATED:"dynamic-link-not-activated",INVALID_APP_ID:"invalid-app-id",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",WEAK_PASSWORD:"weak-password",OPERATION_NOT_ALLOWED:"operation-not-allowed",USER_CANCELLED:"user-cancelled",CAPTCHA_CHECK_FAILED:"captcha-check-failed",INVALID_APP_CREDENTIAL:"invalid-app-credential",INVALID_CODE:"invalid-verification-code",INVALID_PHONE_NUMBER:"invalid-phone-number",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_APP_CREDENTIAL:"missing-app-credential",MISSING_CODE:"missing-verification-code",MISSING_PHONE_NUMBER:"missing-phone-number",MISSING_SESSION_INFO:"missing-verification-id",QUOTA_EXCEEDED:"quota-exceeded",SESSION_EXPIRED:"code-expired",REJECTED_CREDENTIAL:"rejected-credential",INVALID_CONTINUE_URI:"invalid-continue-uri",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",MISSING_IOS_BUNDLE_ID:"missing-ios-bundle-id",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_DYNAMIC_LINK_DOMAIN:"invalid-dynamic-link-domain",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",INVALID_CERT_HASH:"invalid-cert-hash",UNSUPPORTED_TENANT_OPERATION:"unsupported-tenant-operation",INVALID_TENANT_ID:"invalid-tenant-id",TENANT_ID_MISMATCH:"tenant-id-mismatch",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",EMAIL_CHANGE_NEEDS_VERIFICATION:"email-change-needs-verification",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",UNSUPPORTED_FIRST_FACTOR:"unsupported-first-factor",UNVERIFIED_EMAIL:"unverified-email"},n||{}),n=(n=e.match(/^[^\s]+\s*:\s*([\s\S]*)$/))&&1<n.length?n[1]:void 0,i)if(0===e.indexOf(r))return new a(i[r],n);return!n&&t&&(n=Gn(t)),new a("internal-error",n)}function Xl(t){this.b=t,this.a=null,this.rb=function Zl(t){return function tp(){return ni||(ni=new b(function(t,n){function e(){Su(),_("gapi.load")("gapi.iframes",{callback:t,ontimeout:function(){Su(),n(Error("Network Error"))},timeout:$l.get()})}if(_("gapi.iframes.Iframe"))t();else if(_("gapi.load"))e();else{var i="__iframefcb"+Math.floor(1e6*Math.random()).toString();f[i]=function(){_("gapi.load")?e():n(Error("Network Error"))},m(Vr(i=Ci(zl,{onload:i}))).o(function(){n(Error("Network Error"))})}}).o(function(t){throw ni=null,t}))}().then(function(){return new b(function(n,e){_("gapi.iframes.getContext")().open({where:document.body,url:t.b,messageHandlersFilter:_("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"),attributes:{style:{position:"absolute",top:"-100px",width:"1px",height:"1px"}},dontclear:!0},function(i){function r(){clearTimeout(o),n()}t.a=i,t.a.restyle({setHideOnLeave:!1});var o=setTimeout(function(){e(Error("Network Error"))},Ql.get());i.ping(r).then(r,function(){e(Error("Network Error"))})})})})}(this)}var zl=new ct(we,"https://apis.google.com/js/api.js?onload=%{onload}"),$l=new Ot(3e4,6e4),Ql=new Ot(5e3,15e3),ni=null;function Ph(t,n,e,i){this.l=t,this.h=n,this.i=e,this.g=i,this.f=null,t=this.g?Re((t=W(this.g.url)).c,t.a,t.g,"/emulator/auth/iframe"):Re("https",this.l,null,"/__/auth/iframe"),this.a=t,D(this.a,"apiKey",this.h),D(this.a,"appName",this.i),this.b=null,this.c=[]}function zr(t,n,e,i,r,o){this.u=t,this.s=n,this.c=e,this.m=i,this.v=o,this.i=this.g=this.l=null,this.a=r,this.h=this.f=null}function $r(t){try{return I.Z.app(t).auth().Ga()}catch(n){return[]}}function Lh(t,n,e,i,r,o){this.s=t,this.g=n,this.b=e,this.f=o,this.c=i||null,this.i=r||null,this.l=this.u=this.C=null,this.h=[],this.m=this.a=null}function Mh(t){var n=Hn();return function fl(t){return T(t,Dl,{}).then(function(n){return n.authorizedDomains||[]})}(t).then(function(e){t:{var i=W(n),r=i.c;i=i.a;for(var o=0;o<e.length;o++){var s=e[o],u=i,c=r;if(0==s.indexOf("chrome-extension://")?u=W(s).a==u&&"chrome-extension"==c:"http"!=c&&"https"!=c?u=!1:ff.test(s)?u=u==s:(s=s.split(".").join("\\."),u=new RegExp("^(.+\\."+s+"|"+s+")$","i").test(u)),u){e=!0;break t}}e=!1}if(!e)throw new Or(Hn())})}function xh(t){return t.m||(t.m=De().then(function(){if(!t.u){var n=t.c,e=t.i,i=$r(t.b),r=new Ph(t.s,t.g,t.b,t.f);r.f=n,r.b=e,r.c=Lt(i||[]),t.u=r.toString()}t.v=new Xl(t.u),function np(t){if(!t.v)throw Error("IfcHandler must be initialized!");!function Yl(t,n){t.rb.then(function(){t.a.register("authEvent",n,_("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))})}(t.v,function(n){var e={};if(n&&n.authEvent){var i=!1;for(n=sh(n.authEvent),e=0;e<t.h.length;e++)i=t.h[e](n)||i;return(e={}).status=i?"ACK":"ERROR",m(e)}return e.status="ERROR",m(e)})}(t)})),t.m}function jh(t){return t.l||(t.C=t.c?ln(t.c,$r(t.b)):null,t.l=new st(t.g,Dn(t.i),t.C),t.f&&yn(t.l,t.f)),t.l}function se(t,n,e,i,r,o,s,u,c,l,v,k){return(t=new zr(t,n,e,i,r,k)).l=o,t.g=s,t.i=u,t.b=At(c||null),t.f=l,t.yb(v).toString()}function Uh(t){if(this.a=t||I.Z.INTERNAL.reactNative&&I.Z.INTERNAL.reactNative.AsyncStorage,!this.a)throw new a("internal-error","The React Native compatibility library was not found.");this.type="asyncStorage"}function Vh(t){this.b=t,this.a={},this.f=g(this.c,this)}Ph.prototype.toString=function(){return this.f?D(this.a,"v",this.f):ft(this.a.b,"v"),this.b?D(this.a,"eid",this.b):ft(this.a.b,"eid"),this.c.length?D(this.a,"fw",this.c.join(",")):ft(this.a.b,"fw"),this.a.toString()},zr.prototype.yb=function(t){return this.h=t,this},zr.prototype.toString=function(){if(this.v){var t=W(this.v.url);t=Re(t.c,t.a,t.g,"/emulator/auth/handler")}else t=Re("https",this.u,null,"/__/auth/handler");if(D(t,"apiKey",this.s),D(t,"appName",this.c),D(t,"authType",this.m),this.a.isOAuthProvider){var n=this.a;try{var e=I.Z.app(this.c).auth().la()}catch(u){e=null}for(var i in n.ob=e,D(t,"providerId",this.a.providerId),n=ku((e=this.a).Ib))n[i]=n[i].toString();i=e.Qc,n=At(n);for(var r=0;r<i.length;r++){var o=i[r];o in n&&delete n[o]}e.pb&&e.ob&&!n[e.pb]&&(n[e.pb]=e.ob),Mt(n)||D(t,"customParameters",Gn(n))}if("function"==typeof this.a.Qb&&(e=this.a.Qb()).length&&D(t,"scopes",e.join(",")),this.l?D(t,"redirectUrl",this.l):ft(t.b,"redirectUrl"),this.g?D(t,"eventId",this.g):ft(t.b,"eventId"),this.i?D(t,"v",this.i):ft(t.b,"v"),this.b)for(var s in this.b)this.b.hasOwnProperty(s)&&!Q(t,s)&&D(t,s,this.b[s]);return this.h?D(t,"tid",this.h):ft(t.b,"tid"),this.f?D(t,"eid",this.f):ft(t.b,"eid"),(s=$r(this.c)).length&&D(t,"fw",s.join(",")),t.toString()},(h=Lh.prototype).Ob=function(t,n,e){var i=new a("popup-closed-by-user"),r=new a("web-storage-unsupported"),o=this,s=!1;return this.ma().then(function(){(function ep(t){var n={type:"webStorageSupport"};return xh(t).then(function(){return function Jl(t,n){return t.rb.then(function(){return new b(function(e){t.a.send(n.t
1ype,n,e,_("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))})})}(t.v,n)}).then(function(e){if(e&&e.length&&void 0!==e[0].webStorageSupport)return e[0].webStorageSupport;throw Error()})})(o).then(function(u){u||(t&&qt(t),n(r),s=!0)})}).o(function(){}).then(function(){if(!s)return function cf(t){return new b(function(n){return function e(){hn(2e3).then(function(){if(t&&!t.closed)return e();n()})}()})}(t)}).then(function(){if(!s)return hn(e).then(function(){n(i)})})},h.Xb=function(){var t=F();return!Kn(t)&&!Au(t)},h.Tb=function(){return!1},h.Mb=function(t,n,e,i,r,o,s,u){if(!t)return N(new a("popup-blocked"));if(s&&!Kn())return this.ma().o(function(l){qt(t),r(l)}),i(),m();this.a||(this.a=Mh(jh(this)));var c=this;return this.a.then(function(){var l=c.ma().o(function(v){throw qt(t),r(v),v});return i(),l}).then(function(){Nr(e),s||gu(se(c.s,c.g,c.b,n,e,null,o,c.c,void 0,c.i,u,c.f),t)}).o(function(l){throw"auth/network-request-failed"==l.code&&(c.a=null),l})},h.Nb=function(t,n,e,i){this.a||(this.a=Mh(jh(this)));var r=this;return this.a.then(function(){Nr(n),gu(se(r.s,r.g,r.b,t,n,Hn(),e,r.c,void 0,r.i,i,r.f))}).o(function(o){throw"auth/network-request-failed"==o.code&&(r.a=null),o})},h.ma=function(){var t=this;return xh(this).then(function(){return t.v.rb}).o(function(){throw t.a=null,new a("network-request-failed")})},h.$b=function(){return!0},h.Ea=function(t){this.h.push(t)},h.Sa=function(t){et(this.h,function(n){return n==t})},(h=Uh.prototype).get=function(t){return m(this.a.getItem(t)).then(function(n){return n&&dn(n)})},h.set=function(t,n){return m(this.a.setItem(t,Gn(n)))},h.U=function(t){return m(this.a.removeItem(t))},h.ca=function(){},h.ia=function(){};var to,Fh=[];function qh(t,n,e){Mt(t.a)&&t.b.addEventListener("message",t.f),void 0===t.a[n]&&(t.a[n]=[]),t.a[n].push(e)}function Hh(t){this.a=t}function Kh(t){this.c=t,this.b=!1,this.a=[]}function Gh(t,n,e,i){var r,s,u,c,o=e||{},l=null;if(t.b)return N(Error("connection_unavailable"));var v=i?800:50,k="undefined"!=typeof MessageChannel?new MessageChannel:null;return new b(function(E,M){k?(r=Math.floor(Math.random()*Math.pow(10,20)).toString(),k.port1.start(),u=setTimeout(function(){M(Error("unsupported_event"))},v),t.a.push(l={messageChannel:k,onMessage:s=function(kt){kt.data.eventId===r&&("ack"===kt.data.status?(clearTimeout(u),c=setTimeout(function(){M(Error("timeout"))},3e3)):"done"===kt.data.status?(clearTimeout(c),void 0!==kt.data.response?E(kt.data.response):M(Error("unknown_error"))):(clearTimeout(u),clearTimeout(c),M(Error("invalid_response"))))}}),k.port1.addEventListener("message",s),t.c.postMessage({eventType:n,eventId:r,data:o},[k.port2])):M(Error("connection_unavailable"))}).then(function(E){return Qr(t,l),E}).o(function(E){throw Qr(t,l),E})}function Qr(t,n){if(n){var e=n.messageChannel;e&&(e.port1.removeEventListener("message",n.onMessage),e.port1.close()),et(t.a,function(r){return r==n})}}function Bh(){if(!eo())throw new a("web-storage-unsupported");this.c={},this.a=[],this.b=0,this.m=f.indexedDB,this.type="indexedDB",this.g=this.v=this.f=this.l=null,this.s=!1,this.h=null;var t=this;rt()&&self?(this.v=function ip(){var t=rt()?self:null;if(O(Fh,function(e){e.b==t&&(n=e)}),!n){var n=new Vh(t);Fh.push(n)}return n}(),qh(this.v,"keyChanged",function(n,e){return Zh(t).then(function(i){return 0<i.length&&O(t.a,function(r){r(i)}),{keyProcessed:wt(i,e.key)}})}),qh(this.v,"ping",function(){return m(["keyChanged"])})):function gf(){var t=f.navigator;return t&&t.serviceWorker?m().then(function(){return t.serviceWorker.ready}).then(function(n){return n.active||null}).o(function(){return null}):m(null)}().then(function(n){(t.h=n)&&(t.g=new Kh(new Hh(n)),Gh(t.g,"ping",null,!0).then(function(e){e[0].fulfilled&&wt(e[0].value,"keyChanged")&&(t.s=!0)}).o(function(){}))})}function Wh(t){return new b(function(n,e){var i=t.m.open("firebaseLocalStorageDb",1);i.onerror=function(r){try{r.preventDefault()}catch(o){}e(Error(r.target.error))},i.onupgradeneeded=function(r){r=r.target.result;try{r.createObjectStore("firebaseLocalStorage",{keyPath:"fbase_key"})}catch(o){e(o)}},i.onsuccess=function(r){(r=r.target.result).objectStoreNames.contains("firebaseLocalStorage")?n(r):function rp(t){return new b(function(n,e){var i=t.m.deleteDatabase("firebaseLocalStorageDb");i.onsuccess=function(){n()},i.onerror=function(r){e(Error(r.target.error))}})}(t).then(function(){return Wh(t)}).then(function(o){n(o)}).o(function(o){e(o)})}})}function no(t){return t.i||(t.i=Wh(t)),t.i}function ei(t,n){var i=0;return new b(function e(r,o){no(t).then(n).then(r).o(function(s){if(!(3<++i))return no(t).then(function(u){return u.close(),t.i=void 0,e(r,o)}).o(function(u){o(u)});o(s)})})}function eo(){try{return!!f.indexedDB}catch(t){return!1}}function ue(t){return t.objectStore("firebaseLocalStorage")}function he(t,n){return t.transaction(["firebaseLocalStorage"],n?"readwrite":"readonly")}function wn(t){return new b(function(n,e){t.onsuccess=function(i){i&&i.target?n(i.target.result):n()},t.onerror=function(i){e(i.target.error)}})}function Xh(t,n){return t.g&&t.h&&function vf(){var t=f.navigator;return t&&t.serviceWorker&&t.serviceWorker.controller||null}()===t.h?Gh(t.g,"keyChanged",{key:n},t.s).then(function(){}).o(function(){}):m()}function Zh(t){return no(t).then(function(n){var e=ue(he(n,!1));return e.getAll?wn(e.getAll()):new b(function(i,r){var o=[],s=e.openCursor();s.onsuccess=function(u){(u=u.target.result)?(o.push(u.value),u.continue()):i(o)},s.onerror=function(u){r(u.target.error)}})}).then(function(n){var e={},i=[];if(0==t.b){for(i=0;i<n.length;i++)e[n[i].fbase_key]=n[i].value;i=yu(t.c,e),t.c=e}return i})}function Jh(t){t.l&&t.l.cancel("STOP_EVENT"),t.f&&(clearTimeout(t.f),t.f=null)}function Yh(t){var n=this,e=null;this.a=[],this.type="indexedDB",this.c=t,this.b=m().then(function(){if(eo()){var i=Kt(),r="__sak"+i;return to||(to=new Bh),(e=to).set(r,i).then(function(){return e.get(r)}
1).then(function(o){if(o!==i)throw Error("indexedDB not supported!");return e.U(r)}).then(function(){return e}).o(function(){return n.c})}return n.c}).then(function(i){return n.type=i.type,i.ca(function(r){O(n.a,function(o){o(r)})}),i})}function ae(){this.a={},this.type="inMemory"}function ii(){if(!function sp(){var t="Node"==lt();if(!(t=zh()||t&&I.Z.INTERNAL.node&&I.Z.INTERNAL.node.localStorage))return!1;try{return t.setItem("__sak","1"),t.removeItem("__sak"),!0}catch(n){return!1}}())throw"Node"==lt()?new a("internal-error","The LocalStorage compatibility library was not found."):new a("web-storage-unsupported");this.a=zh()||I.Z.INTERNAL.node.localStorage,this.type="localStorage"}function zh(){try{var t=f.localStorage,n=Kt();return t&&(t.setItem(n,"1"),t.removeItem(n)),t}catch(e){return null}}function io(){this.type="nullStorage"}function ro(){if(!function up(){var t="Node"==lt();if(!(t=$h()||t&&I.Z.INTERNAL.node&&I.Z.INTERNAL.node.sessionStorage))return!1;try{return t.setItem("__sak","1"),t.removeItem("__sak"),!0}catch(n){return!1}}())throw"Node"==lt()?new a("internal-error","The SessionStorage compatibility library was not found."):new a("web-storage-unsupported");this.a=$h()||I.Z.INTERNAL.node.sessionStorage,this.type="sessionStorage"}function $h(){try{var t=f.sessionStorage,n=Kt();return t&&(t.setItem(n,"1"),t.removeItem(n)),t}catch(e){return null}}function hp(){var t={};t.Browser=ap,t.Node=cp,t.ReactNative=fp,t.Worker=lp,this.a=t[lt()]}Vh.prototype.c=function(t){var n=t.data.eventType,e=t.data.eventId,i=this.a[n];if(i&&0<i.length){t.ports[0].postMessage({status:"ack",eventId:e,eventType:n,response:null});var r=[];O(i,function(o){r.push(m().then(function(){return o(t.origin,t.data.data)}))}),Hs(r).then(function(o){var s=[];O(o,function(u){s.push({fulfilled:u.Pb,value:u.value,reason:u.reason?u.reason.message:void 0})}),O(s,function(u){for(var c in u)void 0===u[c]&&delete u[c]}),t.ports[0].postMessage({status:"done",eventId:e,eventType:n,response:s})})}},Hh.prototype.postMessage=function(t,n){this.a.postMessage(t,n)},Kh.prototype.close=function(){for(;0<this.a.length;)Qr(this,this.a[0]);this.b=!0},(h=Bh.prototype).set=function(t,n){var e=this,i=!1;return ei(this,function(r){return wn((r=ue(he(r,!0))).get(t))}).then(function(r){return ei(e,function(o){if(o=ue(he(o,!0)),r)return r.value=n,wn(o.put(r));e.b++,i=!0;var s={};return s.fbase_key=t,s.value=n,wn(o.add(s))})}).then(function(){return e.c[t]=n,Xh(e,t)}).oa(function(){i&&e.b--})},h.get=function(t){return ei(this,function(n){return wn(ue(he(n,!1)).get(t))}).then(function(n){return n&&n.value})},h.U=function(t){var n=this,e=!1;return ei(this,function(i){return e=!0,n.b++,wn(ue(he(i,!0)).delete(t))}).then(function(){return delete n.c[t],Xh(n,t)}).oa(function(){e&&n.b--})},h.ca=function(t){0==this.a.length&&function op(t){Jh(t),function n(){t.f=setTimeout(function(){t.l=Zh(t).then(function(e){0<e.length&&O(t.a,function(i){i(e)})}).then(function(){n()}).o(function(e){"STOP_EVENT"!=e.message&&n()})},800)}()}(this),this.a.push(t)},h.ia=function(t){et(this.a,function(n){return n==t}),0==this.a.length&&Jh(this)},(h=Yh.prototype).get=function(t){return this.b.then(function(n){return n.get(t)})},h.set=function(t,n){return this.b.then(function(e){return e.set(t,n)})},h.U=function(t){return this.b.then(function(n){return n.U(t)})},h.ca=function(t){this.a.push(t)},h.ia=function(t){et(this.a,function(n){return n==t})},(h=ae.prototype).get=function(t){return m(this.a[t])},h.set=function(t,n){return this.a[t]=n,m()},h.U=function(t){return delete this.a[t],m()},h.ca=function(){},h.ia=function(){},(h=ii.prototype).get=function(t){var n=this;return m().then(function(){return dn(n.a.getItem(t))})},h.set=function(t,n){var e=this;return m().then(function(){var i=Gn(n);null===i?e.U(t):e.a.setItem(t,i)})},h.U=function(t){var n=this;return m().then(function(){n.a.removeItem(t)})},h.ca=function(t){f.window&&$(f.window,"storage",t)},h.ia=function(t){f.window&&J(f.window,"storage",t)},(h=io.prototype).get=function(){return m(null)},h.set=function(){return m()},h.U=function(){return m()},h.ca=function(){},h.ia=function(){},(h=ro.prototype).get=function(t){var n=this;return m().then(function(){return dn(n.a.getItem(t))})},h.set=function(t,n){var e=this;return m().then(function(){var i=Gn(n);null===i?e.U(t):e.a.setItem(t,i)})},h.U=function(t){var n=this;return m().then(function(){n.a.removeItem(t)})},h.ca=function(){},h.ia=function(){};var oo,so,ap={F:ii,bb:ro},cp={F:ii,bb:ro},fp={F:Uh,bb:io},lp={F:ii,bb:io},In={rd:"local",NONE:"none",td:"session"};function Qh(){var t=!(Au(F())||!ir()),n=Kn(),e=or();this.m=t,this.h=n,this.l=e,this.a={},oo||(oo=new hp),t=oo;try{this.g=!nr()&&Nu()||!f.indexedDB?new t.a.F:new Yh(rt()?new ae:new t.a.F)}catch(i){this.g=new ae,this.h=!0}try{this.i=new t.a.bb}catch(i){this.i=new ae}this.v=new ae,this.f=g(this.Yb,this),this.b={}}function ce(){return so||(so=new Qh),so}function zt(t,n){switch(n){case"session":return t.i;case"none":return t.v;default:return t.g}}function bn(t,n){return"firebase:"+t.name+(n?":"+n:"")}function Tn(t,n,e){return e=bn(n,e),"local"==n.F&&(t.b[e]=null),zt(t,n.F).U(e)}function uo(t){t.c&&(clearInterval(t.c),t.c=null)}function vp(t){this.a=t,this.b=ce()}(h=Qh.prototype).get=function(t,n){return zt(this,t.F).get(bn(t,n))},h.set=function(t,n,e){var i=bn(t,e),r=this,o=zt(this,t.F);return o.set(i,n).then(function(){return o.get(i)}).then(function(s){"local"==t.F&&(r.b[i]=s)})},h.addListener=function(t,n,e){t=bn(t,n),this.l&&(this.b[t]=f.localStorage.getItem(t)),Mt(this.a)&&(zt(this,"local").ca(this.f),this.h||(nr()||!Nu())&&f.indexedDB||!this.l||function mp(t){uo(t),t.c=setInterval(function(){for(var n in t.a){var e=f.localStorage.getItem(n),i=t.b[n];e!=i&&(t.b[n]=e,e=new Ut({type:"storage",key:n,target:window,oldValue:i,newValue:e,a:!0}),t.Yb(e))}},1e3)}(this)),this.a[t]||(this.a[t]=[]),this.a[t].push(e)},h.removeListener=function(t,n,e){t=bn(t,n),this.a[t]&&(et(this.a[t],function(i){return i==e}),0==this.a[t].length&&delete this.a[t]),Mt(this.a)&&(zt(this,"local").ia(this.f),uo(this))},h.Yb=function(t){if(t&&t.g){var n=t.a.key;if(null==n)for(var e in this.a){var i=this.b[e];void 0===i&&(i=null);var r=f.localStorage.getItem(e);r!==i&&(this.b[e]=r,this.mb(e))}else if(0==n.indexOf("firebase:")&&this.a[n]){if(void 0!==t.a.a?zt(this,"local").ia(this.f):uo(this),this.m)if(e=f.localStorage.getItem(n),(i=t.a.newValue)!==e)null!==i?f.localStorage.setItem(n,i):f.localStorage.removeItem(n);else if(this.b[n]===i&&void 0===t.a.a)return;var o=this;e=function(){(void 0!==t.a.a||o.b[n]!==f.localStorage.getItem(n))&&(o.b[n]=f.localStorage.getItem(n),o.mb(n))},it&&St&&10==St&&f.localStorage.getItem(n)!==t.a.newValue&&t.a.newValue!==t.a.oldValue?setTimeout(e,10):e()}}else O(t,g(this.mb,this))},h.mb=function(t){this.a[t]&&O(this.a[t],function(n){n()})};var oi,ho={name:"authEvent",F:"local"};function yp(){this.a=ce()}function ri(t,n){this.b=ta,this.f=f.Uint8Array?new Uint8Array(this.b):Array(this.b),this.g=this.c=0,this.a=[],this.i=t,this.h=n,this.l=f.Int32Array?new Int32Array(64):Array(64),void 0===oi&&(oi=f.Int32Array?new Int32Array(ia):ia),this.reset()}y(ri,function wp(){this.b=-1});for(var ta=64,Ip=ta-1,na=[],ao=0;ao<Ip;ao++)na[ao]=0;var ea=Ni(128,na);
1function co(t){for(var n=t.f,e=t.l,i=0,r=0;r<n.length;)e[i++]=n[r]<<24|n[r+1]<<16|n[r+2]<<8|n[r+3],r=4*i;for(n=16;64>n;n++){var o=(0|e[n-16])+(((r=0|e[n-15])>>>7|r<<25)^(r>>>18|r<<14)^r>>>3)|0,s=(0|e[n-7])+(((i=0|e[n-2])>>>17|i<<15)^(i>>>19|i<<13)^i>>>10)|0;e[n]=o+s|0}i=0|t.a[0],r=0|t.a[1];var u=0|t.a[2],c=0|t.a[3],l=0|t.a[4],v=0|t.a[5],k=0|t.a[6];for(o=0|t.a[7],n=0;64>n;n++){var E=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&r^i&u^r&u)|0;s=(o=o+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))|0)+((s=(s=l&v^~l&k)+(0|oi[n])|0)+(0|e[n])|0)|0,o=k,k=v,v=l,l=c+s|0,c=u,u=r,r=i,i=s+E|0}t.a[0]=t.a[0]+i|0,t.a[1]=t.a[1]+r|0,t.a[2]=t.a[2]+u|0,t.a[3]=t.a[3]+c|0,t.a[4]=t.a[4]+l|0,t.a[5]=t.a[5]+v|0,t.a[6]=t.a[6]+k|0,t.a[7]=t.a[7]+o|0}function fo(t,n,e){void 0===e&&(e=n.length);var i=0,r=t.c;if("string"==typeof n)for(;i<e;)t.f[r++]=n.charCodeAt(i++),r==t.b&&(co(t),r=0);else{if(!Cn(n))throw Error("message must be string or array");for(;i<e;){var o=n[i++];if(!("number"==typeof o&&0<=o&&255>=o&&o==(0|o)))throw Error("message must be a byte array");t.f[r++]=o,r==t.b&&(co(t),r=0)}}t.c=r,t.g+=e}ri.prototype.reset=function(){this.g=this.c=0,this.a=f.Int32Array?new Int32Array(this.h):Lt(this.h)};var ia=[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];function ra(){ri.call(this,8,bp)}y(ra,ri);var bp=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];function oa(t,n,e,i,r,o){this.v=t,this.i=n,this.l=e,this.m=i||null,this.u=r||null,this.s=o,this.h=n+":"+e,this.C=new yp,this.g=new vp(this.h),this.f=null,this.b=[],this.a=this.c=null}function si(t){return new a("invalid-cordova-configuration",t)}function sa(t,n){for(var e=0;e<t.b.length;e++)try{t.b[e](n)}catch(i){}}function ua(t){return t.f||(t.f=t.ma().then(function(){return new b(function(n){t.Ea(function e(i){return n(i),t.Sa(e),!1}),function Ap(t){function n(s){i=!0,r&&r.cancel(),lo(t).then(function(u){var c=e;if(u&&s&&s.url){var l=null;-1!=(c=$u(s.url)).indexOf("/__/auth/callback")&&(l=(l="object"==typeof(l=dn(Q(l=W(c),"firebaseError")||null))?ss(l):null)?new ot(u.c,u.b,null,null,l,null,u.T()):new ot(u.c,u.b,c,u.f,null,null,u.T())),c=l||e}sa(t,c)})}var e=new ot("unknown",null,null,null,new a("no-auth-event")),i=!1,r=hn(500).then(function(){return lo(t).then(function(){i||sa(t,e)})}),o=f.handleOpenURL;f.handleOpenURL=function(s){if(0==s.toLowerCase().indexOf(_("BuildInfo.packageName",f).toLowerCase()+"://")&&n({url:s}),"function"==typeof o)try{o(s)}catch(u){console.error(u)}},_r||(_r=new qf),function Hf(t){var n=_r;n.a.push(t),n.b||(n.b=function(e){for(var i=0;i<n.a.length;i++)n.a[i](e)},"function"==typeof(t=_("universalLinks.subscribe",f))&&t(null,n.b))}(n)}(t)})})),t.f}function lo(t){var n=null;return function gp(t){return t.b.get(ho,t.a).then(function(n){return sh(n)})}(t.g).then(function(e){return n=e,Tn((e=t.g).b,ho,e.a)}).then(function(){return n})}function Sp(t){this.a=t,this.b=ce()}(h=oa.prototype).ma=function(){return this.Ia?this.Ia:this.Ia=function pf(){return er(void 0)?De().then(function(){return new b(function(t,n){var e=f.document,i=setTimeout(function(){n(Error("Cordova framework is not ready."))},1e3);e.addEventListener("deviceready",function(){clearTimeout(i),t()},!1)})}):N(Error("Cordova must run in an Android or iOS file scheme."))}().then(function(){if("function"!=typeof _("universalLinks.subscribe",f))throw si("cordova-universal-links-plugin-fix is not installed");
1if(void 0===_("BuildInfo.packageName",f))throw si("cordova-plugin-buildinfo is not installed");if("function"!=typeof _("cordova.plugins.browsertab.openUrl",f))throw si("cordova-plugin-browsertab is not installed");if("function"!=typeof _("cordova.InAppBrowser.open",f))throw si("cordova-plugin-inappbrowser is not installed")},function(){throw new a("cordova-not-ready")})},h.Ob=function(t,n){return n(new a("operation-not-supported-in-this-environment")),m()},h.Mb=function(){return N(new a("operation-not-supported-in-this-environment"))},h.$b=function(){return!1},h.Xb=function(){return!0},h.Tb=function(){return!0},h.Nb=function(t,n,e,i){if(this.c)return N(new a("redirect-operation-pending"));var r=this,o=f.document,s=null,u=null,c=null,l=null;return this.c=m().then(function(){return Nr(n),ua(r)}).then(function(){return function kp(t,n,e,i,r){var o=function Tp(){for(var t=20,n=[];0<t;)n.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),t--;return n.join("")}(),s=new ot(n,i,null,o,new a("no-auth-event"),null,r),u=_("BuildInfo.packageName",f);if("string"!=typeof u)throw new a("invalid-cordova-configuration");var c=_("BuildInfo.displayName",f),l={};if(F().toLowerCase().match(/iphone|ipad|ipod/))l.ibi=u;else{if(!F().toLowerCase().match(/android/))return N(new a("operation-not-supported-in-this-environment"));l.apn=u}c&&(l.appDisplayName=c),o=function Ep(t){var n=new ra;fo(n,t),t=[];var e=8*n.g;fo(n,ea,56>n.c?56-n.c:n.b-(n.c-56));for(var i=63;56<=i;i--)n.f[i]=255&e,e/=256;for(co(n),i=e=0;i<n.i;i++)for(var r=24;0<=r;r-=8)t[e++]=n.a[i]>>r&255;return function Pf(t){return ge(t,function(n){return 1<(n=n.toString(16)).length?n:"0"+n}).join("")}(t)}(o),l.sessionId=o;var v=se(t.v,t.i,t.l,n,e,null,i,t.m,l,t.u,r,t.s);return t.ma().then(function(){var k=t.h;return t.C.a.set(ho,s.w(),k)}).then(function(){var k=_("cordova.plugins.browsertab.isAvailable",f);if("function"!=typeof k)throw new a("invalid-cordova-configuration");var E=null;k(function(M){if(M){if("function"!=typeof(E=_("cordova.plugins.browsertab.openUrl",f)))throw new a("invalid-cordova-configuration");E(v)}else{if("function"!=typeof(E=_("cordova.InAppBrowser.open",f)))throw new a("invalid-cordova-configuration");M=F(),t.a=E(v,M.match(/(iPad|iPhone|iPod).*OS 7_\d/i)||M.match(/(iPad|iPhone|iPod).*OS 8_\d/i)?"_blank":"_system","location=yes")}})})}(r,t,n,e,i)}).then(function(){return new b(function(v,k){u=function(){var M=_("cordova.plugins.browsertab.close",f);return v(),"function"==typeof M&&M(),r.a&&"function"==typeof r.a.close&&(r.a.close(),r.a=null),!1},r.Ea(u),l=function(){sr()&&c()},o.addEventListener("resume",c=function(){s||(s=hn(2e3).then(function(){k(new a("redirect-cancelled-by-user"))}))},!1),F().toLowerCase().match(/android/)||o.addEventListener("visibilitychange",l,!1)}).o(function(v){return lo(r).then(function(){throw v})})}).oa(function(){c&&o.removeEventListener("resume",c,!1),l&&o.removeEventListener("visibilitychange",l,!1),s&&s.cancel(),u&&r.Sa(u),r.c=null})},h.Ea=function(t){this.b.push(t),ua(this).o(function(n){"auth/invalid-cordova-configuration"===n.code&&(n=new ot("unknown",null,null,null,new a("no-auth-event")),t(n))})},h.Sa=function(t){et(this.b,function(n){return n==t})};var po={name:"pendingRedirect",F:"session"};function mo(t){return Tn(t.b,po,t.a)}function ui(t,n,e,i){this.i={},this.u=0,this.D=t,this.v=n,this.m=e,this.J=i,this.h=[],this.f=!1,this.l=g(this.s,this),this.b=new hi,this.C=new wa,this.g=new Sp(ma(this.v,this.m)),this.c={},this.c.unknown=this.b,this.c.signInViaRedirect=this.b,this.c.linkViaRedirect=this.b,this.c.reauthViaRedirect=this.b,this.c.signInViaPopup=this.C,this.c.linkViaPopup=this.C,this.c.reauthViaPopup=this.C,this.a=ha(this.D,this.v,this.m,Pn,this.J)}function ha(t,n,e,i,r){var o=I.Z.SDK_VERSION||null;return er()?new oa(t,n,e,o,i,r):new Lh(t,n,e,o,i,r)}function aa(t){t.f||(t.f=!0,t.a.Ea(t.l));var n=t.a;return t.a.ma().o(function(e){throw t.a==n&&t.reset(),e})}function ca(t){t.a.Xb()&&aa(t).o(function(n){var e=new ot("unknown",null,null,null,new a("operation-not-supported-in-this-environment"));go(n)&&t.s(e)}),t.a.Tb()||ga(t.b)}function vo(t,n){wt(t.h,n)||t.h.push(n),t.f||function _p(t){return t.b.get(po,t.a).then(function(n){return"pending"==n})}(t.g).then(function(e){e?mo(t.g).then(function(){aa(t).o(function(i){var r=new ot("unknown",null,null,null,new a("operation-not-supported-in-this-environment"));go(i)&&t.s(r)})}):ca(t)}).o(function(){ca(t)})}function fa(t,n){et(t.h,function(e){return e==n}
1)}ui.prototype.reset=function(){this.f=!1,this.a.Sa(this.l),this.a=ha(this.D,this.v,this.m,null,this.J),this.i={}},ui.prototype.s=function(t){if(!t)throw new a("invalid-auth-event");if(6e5<=ve()-this.u&&(this.i={},this.u=0),t&&t.getUid()&&this.i.hasOwnProperty(t.getUid()))return!1;for(var n=!1,e=0;e<this.h.length;e++){var i=this.h[e];if(i.Fb(t.c,t.b)){(n=this.c[t.c])&&(n.h(t,i),t&&(t.f||t.b)&&(this.i[t.getUid()]=!0,this.u=ve())),n=!0;break}}return ga(this.b),n};var Op=new Ot(2e3,1e4),Cp=new Ot(3e4,6e4);function la(t,n,e,i,r,o,s){return t.a.Mb(n,e,i,function(){t.f||(t.f=!0,t.a.Ea(t.l))},function(){t.reset()},r,o,s)}function go(t){return!(!t||"auth/cordova-not-ready"!=t.code)}function pa(t,n,e,i,r){var o;return function Np(t){return t.b.set(po,"pending",t.a)}(t.g).then(function(){return t.a.Nb(n,e,i,r).o(function(s){if(go(s))throw new a("operation-not-supported-in-this-environment");return o=s,mo(t.g).then(function(){throw o})}).then(function(){return t.a.$b()?new b(function(){}):mo(t.g).then(function(){return t.qa()}).then(function(){}).o(function(){})})})}function da(t,n,e,i,r){return t.a.Ob(i,function(o){n.na(e,null,o,r)},Op.get())}ui.prototype.qa=function(){return this.b.qa()};var yo={};function ma(t,n,e){return t=t+":"+n,e&&(t=t+":"+e.url),t}function va(t,n,e,i){var r=ma(n,e,i);return yo[r]||(yo[r]=new ui(t,n,e,i)),yo[r]}function hi(){this.b=null,this.f=[],this.c=[],this.a=null,this.i=this.g=!1}function ga(t){t.g||(t.g=!0,$t(t,!1,null,null))}function ai(t){t.g&&!t.i&&$t(t,!1,null,null)}function ya(t,n){if(t.b=function(){return m(n)},t.f.length)for(var e=0;e<t.f.length;e++)t.f[e](n)}function $t(t,n,e,i){n?i?function Dp(t,n){if(t.b=function(){return N(n)},t.c.length)for(var e=0;e<t.c.length;e++)t.c[e](n)}(t,i):ya(t,e):ya(t,{user:null}),t.f=[],t.c=[]}function wa(){}function Ia(){this.ib=!1,Object.defineProperty(this,"appVerificationDisabled",{get:function(){return this.ib},set:function(n){this.ib=n},enumerable:!1})}function wo(t,n){this.a=n,d(this,"verificationId",t)}function Io(t,n,e,i){return new Tt(t).fb(n,e).then(function(r){return new wo(r,i)})}function Mp(t){var n=Gu(t);if(!(n&&n.exp&&n.auth_time&&n.iat))throw new a("internal-error","An internal error occurred. The token obtained by Firebase appears to be malformed. Please retry the operation.");H(this,{token:t,expirationTime:Bn(1e3*n.exp),authTime:Bn(1e3*n.auth_time),issuedAtTime:Bn(1e3*n.iat),signInProvider:n.firebase&&n.firebase.sign_in_provider?n.firebase.sign_in_provider:null,signInSecondFactor:n.firebase&&n.firebase.sign_in_second_factor?n.firebase.sign_in_second_factor:null,claims:n})}function bo(t,n,e){var i=n&&n[Ta];if(!i)throw new a("argument-error","Internal assert: Invalid MultiFactorResolver");this.a=t,this.f=At(n),this.g=e,this.c=new Fe(null,i),this.b=[];var r=this;O(n[ba]||[],function(o){(o=lr(o))&&r.b.push(o)}),d(this,"auth",this.a),d(this,"session",this.c),d(this,"hints",this.b)}hi.prototype.reset=function(){this.b=null,this.a&&(this.a.cancel(),this.a=null)},hi.prototype.h=function(t,n){if(t){this.reset(),this.g=!0;var e=t.c,i=t.b,r=t.a&&"auth/web-storage-unsupported"==t.a.code,o=t.a&&"auth/operation-not-supported-in-this-environment"==t.a.code;this.i=!(!r&&!o),"unknown"!=e||r||o?t.a?($t(this,!0,null,t.a),m()):n.Fa(e,i)?function Rp(t,n,e){e=e.Fa(n.c,n.b);var i=n.g,r=n.f,o=n.i,s=n.T(),u=!!n.c.match(/Redirect$/);e(i,r,s,o).then(function(c){$t(t,u,c,null)}).o(function(c){$t(t,u,null,c)})}(this,t,n):N(new a("invalid-auth-event")):($t(this,!1,null,null),m())}else N(new a("invalid-auth-event"))},hi.prototype.qa=function(){var t=this;return new b(function(n,e){t.b?t.b().then(n,e):(t.f.push(n),t.c.push(e),function Pp(t){var n=new a("timeout");t.a&&t.a.cancel(),t.a=hn(Cp.get()).then(function(){t.b||(t.g=!0,$t(t,!0,null,n))})}(t))})},wa.prototype.h=function(t,n){if(t){var e=t.c,i=t.b;t.a?(n.na(t.c,null,t.a,t.b),m()):n.Fa(e,i)?function Lp(t,n){var e=t.b,i=t.c;n.Fa(i,e)(t.g,t.f,t.T(),t.i).then(function(r){n.na(i,r,null,e)}).o(function(r){n.na(i,null,r,e)})}(t,n):N(new a("invalid-auth-event"))}else N(new a("invalid-auth-event"))},wo.prototype.confirm=function(t){return t=oh(this.verificationId,t),this.a(t)};var ba="mfaInfo",Ta="mfaPendingCredential";function To(t,n,e,i){a.call(this,"multi-factor-auth-required",i,n),this.b=new bo(t,n,e),d(this,"resolver",this.b)}function Ea(t,n,e){if(t&&j(t.serverResponse)&&"auth/multi-factor-auth-required"===t.code)try{return new To(n,t.serverResponse,e,t.message)}catch(i){}return null}function ka(){}function Eo(t){d(this,"factorId",t.fa),this.a=t}function Aa(t){if(Eo.call(this,t),this.a.fa!=Tt.PROVIDER_ID)throw new a("argument-error","firebase.auth.PhoneMultiFactorAssertion requires a valid firebase.auth.PhoneAuthCredential")}function En(t,n){for(var e in B.call(this,t),n)this[e]=n[e]}function ko(t,n){this.a=t,this.b=[],this.c=g(this.yc,this),$(this.a,"userReloaded",this.c);var e=[];n&&n.multiFactor&&n.multiFactor.enrolledFactors&&O(n.multiFactor.enrolledFactors,function(i){var r=null,o={};if(i){i.uid&&(o[dr]=i.uid),i.displayName&&(o[Ou]=i.displayName),i.enrollmentTime&&(o[pr]=new Date(i.enrollmentTime).toISOString()),i.phoneNumber&&(o[mr]=i.phoneNumber);try{r=new Wn(o)}catch(s){}i=r}else i=null;i&&e.push(i)}),ci(this,e)}function ci(t,n){t.b=n,d(t,"enrolledFactors",n)}function Ao(t,n,e){if(this.h=t,this.i=n,this.g=e,this.c=3e4,this.f=96e4,this.b=null,this.a=this.c,this.f<this.c)throw Error("Proactive refresh lower bound greater than upper bound!")}function So(t,n){t.stop(),t.b=hn(function Vp(t,n){return n?(t.a=t.c,t.g()):(n=t.a,t.a*=2,t.a>t.f&&(t.a=t.f),n)}
1(t,n)).then(function(){return function mf(){var t=f.document,n=null;return sr()||!t?m():new b(function(e){n=function(){sr()&&(t.removeEventListener("visibilitychange",n,!1),e())},t.addEventListener("visibilitychange",n,!1)}).o(function(e){throw t.removeEventListener("visibilitychange",n,!1),e})}()}).then(function(){return t.h()}).then(function(){So(t,!0)}).o(function(e){t.i(e)&&So(t,!1)})}function No(t){this.f=t,this.b=this.a=null,this.c=Date.now()}function Sa(t,n){void 0===n&&(n=t.b?(n=t.b).a-n.g:0),t.c=Date.now()+1e3*n}function Na(t,n){t.b=Ue(n[ut]||""),t.a=n.refreshToken,Sa(t,void 0!==(n=n.expiresIn)?Number(n):void 0)}function fi(t,n){this.a=t||null,this.b=n||null,H(this,{lastSignInTime:Bn(n||null),creationTime:Bn(t||null)})}function Kp(t,n,e,i,r,o){H(this,{uid:t,displayName:i||null,photoURL:r||null,email:e||null,phoneNumber:o||null,providerId:n})}function z(t,n,e){this.J=[],this.l=t.apiKey,this.m=t.appName,this.s=t.authDomain||null;var i=I.Z.SDK_VERSION?ln(I.Z.SDK_VERSION):null;this.a=new st(this.l,Dn(Pn),i),t.emulatorConfig&&yn(this.a,t.emulatorConfig),this.b=new No(this.a),Po(this,n[ut]),Na(this.b,n),d(this,"refreshToken",this.b.a),Oa(this,e||{}),q.call(this),this.R=!1,this.s&&Ht()&&(this.i=va(this.s,this.l,this.m)),this.S=[],this.h=null,this.u=function Gp(t){return new Ao(function(){return t.I(!0)},function(n){return!(!n||"auth/network-request-failed"!=n.code)},function(){var n=t.b.c-Date.now()-3e5;return 0<n?n:0})}(this),this.aa=g(this.hb,this);var r=this;this.ya=null,this.Oa=function(o){r.wa(o.h)},this.ja=null,this.Aa=function(o){yn(r.a,o.c)},this.X=null,this.$=[],this.Ba=function(o){fe(r,o.f)},this.ba=null,this.O=new ko(this,e),d(this,"multiFactor",this.O)}function _o(t,n){t.ja&&J(t.ja,"languageCodeChanged",t.Oa),(t.ja=n)&&$(n,"languageCodeChanged",t.Oa)}function Oo(t,n){t.X&&J(t.X,"emulatorConfigChanged",t.Aa),(t.X=n)&&$(n,"emulatorConfigChanged",t.Aa)}function fe(t,n){t.$=n,Th(t.a,I.Z.SDK_VERSION?ln(I.Z.SDK_VERSION,t.$):null)}function Co(t,n){t.ba&&J(t.ba,"frameworkChanged",t.Ba),(t.ba=n)&&$(n,"frameworkChanged",t.Ba)}function Ro(t){try{return I.Z.app(t.m).auth()}catch(n){throw new a("internal-error","No firebase.auth.Auth instance is available for the Firebase App '"+t.m+"'!")}}function _a(t){t.D||t.u.b||(t.u.start(),J(t,"tokenChanged",t.aa),$(t,"tokenChanged",t.aa))}function Do(t){J(t,"tokenChanged",t.aa),t.u.stop()}function Po(t,n){t.za=n,d(t,"_lat",n)}function Qt(t){for(var n=[],e=0;e<t.S.length;e++)n.push(t.S[e](t));return Hs(n).then(function(){return t})}function le(t){t.i&&!t.R&&(t.R=!0,vo(t.i,t))}function Oa(t,n){H(t,{uid:n.uid,displayName:n.displayName||null,photoURL:n.photoURL||null,email:n.email||null,emailVerified:n.emailVerified||!1,phoneNumber:n.phoneNumber||null,isAnonymous:n.isAnonymous||!1,tenantId:n.tenantId||null,metadata:new fi(n.createdAt,n.lastLoginAt),providerData:[]}),t.a.b=t.tenantId}function Ca(){}function Lo(t){return m().then(function(){if(t.D)throw new a("app-deleted")})}function Mo(t){return ge(t.providerData,function(n){return n.providerId})}function xo(t,n){n&&(Ra(t,n.providerId),t.providerData.push(n))}function Ra(t,n){et(t.providerData,function(e){return e.providerId==n})}function Dt(t,n,e){("uid"!=n||e)&&t.hasOwnProperty(n)&&d(t,n,e)}function li(t,n){t!=n&&(H(t,{uid:n.uid,displayName:n.displayName,photoURL:n.photoURL,email:n.email,emailVerified:n.emailVerified,phoneNumber:n.phoneNumber,isAnonymous:n.isAnonymous,tenantId:n.tenantId,providerData:[]}),d(t,"metadata",n.metadata?function Hp(t){return new fi(t.a,t.b)}(n.metadata):new fi),O(n.providerData,function(e){xo(t,e)}),function Fp(t,n){t.b=n.b,t.a=n.a,t.c=n.c}(t.b,n.b),d(t,"refreshToken",t.b.a),ci(t.O,n.O.b))}function jo(t){return t.I().then(function(n){var e=t.isAnonymous;return function Wp(t,n){return T(t.a,Nl,{idToken:n}).then(g(t.Kc,t))}(t,n).then(function(){return e||Dt(t,"isAnonymous",!1),n})})}function mt(t,n){n[ut]&&t.za!=n[ut]&&(Na(t.b,n),t.dispatchEvent(new En("tokenChanged")),Po(t,n[ut]),Dt(t,"refreshToken",t.b.a))}function pi(t,n){return jo(t).then(function(){if(wt(Mo(t),n))return Qt(t).then(function(){throw new a("provider-already-linked")})})}function pe(t,n,e){return pt({user:t,credential:Sr(n),additionalUserInfo:n=Wu(n),operationType:e})}function Da(t,n){return mt(t,n),t.reload().then(function(){return t})}function Pa(t,n,e,i,r){if(!Ht())return N(new a("operation-not-supported-in-this-environment"));if(t.h&&!r)return N(t.h);var o=Ir(e.providerId),s=Kt(t.uid+":::"),u=null;(!Kn()||ir())&&t.s&&e.isOAuthProvider&&(u=se(t.s,t.l,t.m,n,e,null,s,I.Z.SDK_VERSION||null,null,null,t.tenantId));var c=Iu(u,o&&o.ua,o&&o.ta);return i=i().then(function(){if(Ma(t),!r)return t.I().then(function(){})}).then(function(){return la(t.i,c,n,e,s,!!u,t.tenantId)}).then(function(){return new b(function(l,v){t.na(n,null,new a("cancelled-popup-request"),t.g||null),t.f=l,t.C=v,t.g=s,t.c=da(t.i,t,n,c,s)})}).then(function(l){return c&&qt(c),l?pt(l):null}).o(function(l){throw c&&qt(c),l}),V(t,i,r)}function La(t,n,e,i,r){if(!Ht())return N(new a("operation-not-supported-in-this-environment"));if(t.h&&!r)return N(t.h);var o=null,s=Kt(t.uid+":::");return i=i().then(function(){if(Ma(t),!r)return t.I().then(function(){})}).then(function(){return t.ga=s,Qt(t)}).then(function(u){return t.ha&&(u=(u=t.ha).b.set(Uo,t.w(),u.a)),u}).then(function(){return pa(t.i,n,e,s,t.tenantId)}).o(function(u){if(o=u,t.ha)return ja(t.ha);throw o}).then(function(){if(o)throw o}),V(t,i,r)}function Ma(t){if(!t.i||!t.R)throw new a(t.i&&!t.R?"internal-error":"auth-domain-config-required")}function V(t,n,e){var i=function Zp(t,n,e){return t.h&&!e?(n.cancel(),N(t.h)):n.o(function(i){throw!i||"auth/user-disabled"!=i.code&&"auth/user-token-expired"!=i.code||(t.h||t.dispatchEvent(new En("userInvalidated")),t.h=i),i})}
1(t,n,e);return t.J.push(i),i.oa(function(){ye(t.J,i)}),i.o(function(r){var o=null;throw r&&"auth/multi-factor-auth-required"===r.code&&(o=Ea(r.w(),Ro(t),g(t.jc,t))),o||r})}function xa(t){if(!t.apiKey)return null;var n={apiKey:t.apiKey,authDomain:t.authDomain,appName:t.appName,emulatorConfig:t.emulatorConfig},e={};if(!t.stsTokenManager||!t.stsTokenManager.accessToken)return null;e[ut]=t.stsTokenManager.accessToken,e.refreshToken=t.stsTokenManager.refreshToken||null;var i=t.stsTokenManager.expirationTime;i&&(e.expiresIn=(i-Date.now())/1e3);var r=new z(n,e,t);return t.providerData&&O(t.providerData,function(o){o&&xo(r,pt(o))}),t.redirectEventId&&(r.ga=t.redirectEventId),r}function zp(t){this.a=t,this.b=ce()}bo.prototype.Rc=function(t){var n=this;return t.sb(this.a.a,this.c).then(function(e){var i=At(n.f);return delete i[ba],delete i[Ta],K(i,e),n.g(i)})},y(To,a),ka.prototype.sb=function(t,n,e){return n.type==Jn?function xp(t,n,e,i){return e.Ha().then(function(r){return r={idToken:r},void 0!==i&&(r.displayName=i),K(r,{phoneVerificationInfo:Yn(t.a)}),T(n,Al,r)})}(this,t,n,e):function jp(t,n,e){return e.Ha().then(function(i){return K(i={mfaPendingCredential:i},{phoneVerificationInfo:Yn(t.a)}),T(n,Sl,i)})}(this,t,n)},y(Eo,ka),y(Aa,Eo),y(En,B),(h=ko.prototype).yc=function(t){ci(this,function Up(t){var n=[];return O(t.mfaInfo||[],function(e){(e=lr(e))&&n.push(e)}),n}(t.hd))},h.Rb=function(){return this.a.I().then(function(t){return new Fe(t,null)})},h.fc=function(t,n){var e=this,i=this.a.a;return this.Rb().then(function(r){return t.sb(i,r,n)}).then(function(r){return mt(e.a,r),e.a.reload()})},h.bd=function(t){var n=this,e="string"==typeof t?t:t.uid,i=this.a.a;return this.a.I().then(function(r){return T(i,Wl,{idToken:r,mfaEnrollmentId:e})}).then(function(r){var o=dc(n.b,function(s){return s.uid!=e});return ci(n,o),mt(n.a,r),n.a.reload().o(function(s){if("auth/user-token-expired"!=s.code)throw s})})},h.w=function(){return{multiFactor:{enrolledFactors:ge(this.b,function(t){return t.w()})}}},Ao.prototype.start=function(){this.a=this.c,So(this,!0)},Ao.prototype.stop=function(){this.b&&(this.b.cancel(),this.b=null)},No.prototype.w=function(){return{apiKey:this.f.c,refreshToken:this.a,accessToken:this.b&&this.b.toString(),expirationTime:this.c}},No.prototype.getToken=function(t){return t=!!t,this.b&&!this.a?N(new a("user-token-expired")):t||!this.b||Date.now()>this.c-3e4?this.a?function qp(t,n){return function al(t,n){return new b(function(e,i){"refresh_token"==n.grant_type&&n.refresh_token||"authorization_code"==n.grant_type&&n.code?Eh(t,t.l+"?key="+encodeURIComponent(t.c),function(r){r?r.error?i(Yr(r)):r.access_token&&r.refresh_token?e(r):i(new a("internal-error")):i(new a("network-request-failed"))},"POST",fu(n).toString(),t.g,t.m.get()):i(new a("internal-error"))})}(t.f,n).then(function(e){return t.b=Ue(e.access_token),t.a=e.refresh_token,Sa(t,e.expires_in),{accessToken:t.b.toString(),refreshToken:t.a}}).o(function(e){throw"auth/user-token-expired"==e.code&&(t.a=null),e})}(this,{grant_type:"refresh_token",refresh_token:this.a}):m(null):m({accessToken:this.b.toString(),refreshToken:this.a})},fi.prototype.w=function(){return{lastLoginAt:this.b,createdAt:this.a}},y(z,q),z.prototype.wa=function(t){this.ya=t,bh(this.a,t)},z.prototype.la=function(){return this.ya},z.prototype.Ga=function(){return Lt(this.$)},z.prototype.hb=function(){this.u.b&&(this.u.stop(),this.u.start())},d(z.prototype,"providerId","firebase"),(h=z.prototype).reload=function(){var t=this;return V(this,Lo(this).then(function(){return jo(t).then(function(){return Qt(t)}).then(Ca)}))},h.oc=function(t){return this.I(t).then(function(n){return new Mp(n)})},h.I=function(t){var n=this;return V(this,Lo(this).then(function(){return n.b.getToken(t)}).then(function(e){if(!e)throw new a("internal-error");return e.accessToken!=n.za&&(Po(n,e.accessToken),n.dispatchEvent(new En("tokenChanged"))),Dt(n,"refreshToken",e.refreshToken),e.accessToken}))},h.Kc=function(t){if(!(t=t.users)||!t.length)throw new a("internal-error");Oa(this,{uid:(t=t[0]).localId,displayName:t.displayName,photoURL:t.photoUrl,email:t.email,emailVerified:!!t.emailVerified,phoneNumber:t.phoneNumber,lastLoginAt:t.lastLoginAt,createdAt:t.createdAt,tenantId:t.tenantId});for(var n=function Xp(t){return(t=t.providerUserInfo)&&t.length?ge(t,function(n){return new Kp(n.rawId,n.providerId,n.email,n.displayName,n.photoUrl,n.phoneNumber)}):[]}(t),e=0;e<n.length;e++)xo(this,n[e]);Dt(this,"isAnonymous",!(this.email&&t.passwordHash||this.providerData&&this.providerData.length)),this.dispatchEvent(new En("userReloaded",{hd:t}))},h.Lc=function(t){return ur("firebase.User.prototype.reauthenticateAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.reauthenticateWithCredential instead."),this.tb(t)},h.tb=function(t){var n=this,e=null;return V(this,t.c(this.a,this.uid).then(function(i){return mt(n,i),e=pe(n,i,"reauthenticate"),n.h=null,n.reload()}).then(function(){return e}),!0)},h.Cc=function(t){return ur("firebase.User.prototype.linkAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.linkWithCredential instead."),this.qb(t)},h.qb=function(t){var n=this,e=null;return V(this,pi(this,t.providerId).then(function(){return n.I()}).then(function(i){return t.b(n.a,i)}).then(function(i){return e=pe(n,i,"link"),Da(n,i)}).then(function(){return e}))},h.Dc=function(t,n){var e=this;return V(this,pi(this,"phone").then(function(){return Io(Ro(e),t,n,g(e.qb,e))}))},h.Mc=function(t,n){var e=this;return V(this,m().then(function(){return Io(Ro(e),t,n,g(e.tb,e))}),!0)},h.Bb=function(t){var n=this;return V(this,this.I().then(function(e){return n.a.Bb(e,t)}).then(function(e){return mt(n,e),n.reload()}))},h.ed=function(t){var n=this;return V(this,this.I().then(function(e){return t.b(n.a,e)}).then(function(e){return mt(n,e),n.reload()}))},h.Cb=function(t){var n=this;return V(this,this.I().then(function(e){return n.a.Cb(e,t)}).then(function(e){return mt(n,e),n.reload()}))},h.Db=function(t){if(void 0===t.displayName&&void 0===t.photoURL)return Lo(this);var n=this;return V(this,this.I().then(function(e){return n.a.Db(e,{displayName:t.displayName,photoUrl:t.photoURL})}).then(function(e){return mt(n,e),Dt(n,"displayName",e.displayName||null),Dt(n,"photoURL",e.photoUrl||null),O(n.providerData,function(i){"password"===i.providerId&&(d(i,"displayName",n.displayName),d(i,"photoURL",n.photoURL))}),Qt(n)}).then(Ca))},h.cd=function(t){var n=this;return V(this,jo(this).then(function(e){return wt(Mo(n),t)?function vl(t,n,e){return T(t,Tl,{idToken:n,deleteProvider:e})}(n.a,e,[t]).then(function(i){var r={};return O(i.providerUserInfo||[],function(o){r[o.providerId]=!0}),O(Mo(n),function(o){r[o]||Ra(n,o)}),r[Tt.PROVIDER_ID]||d(n,"phoneNumber",null),Qt(n)}):Qt(n).then(function(){throw new a("no-such-provider")})}))},h.delete=function(){var t=this;return V(this,this.I().then(function(n){return T(t.a,bl,{idToken:n})}).then(function(){t.dispatchEvent(new En("userDeleted"))})).then(function(){for(var n=0;n<t.J.length;n++)t.J[n].cancel("app-deleted");_o(t,null),Oo(t,null),Co(t,null),t.J=[],t.D=!0,Do(t),d(t,"refreshToken",null),t.i&&fa(t.i,t)})},h.Fb=function(t,n){return!!("linkViaPopup"==t&&(this.g||null)==n&&this.f||"reauthViaPopup"==t&&(this.g||null)==n&&this.f||"linkViaRedirect"==t&&(this.ga||null)==n||"reauthViaRedirect"==t&&(this.ga||null)==n)},h.na=function(t,n,e,i){"linkViaPopup"!=t&&"reauthViaPopup"!=t||i!=(this.g||null)||(e&&this.C?this.C(e):n&&!e&&this.f&&this.f(n),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.C)},h.Fa=function(t,n){return"linkViaPopup"==t&&n==(this.g||null)?g(this.Kb,this):"reauthViaPopup"==t&&n==(this.g||null)?g(this.Lb,this):"linkViaRedirect"==t&&(this.ga||null)==n?g(this.Kb,this):"reauthViaRedirect"==t&&(this.ga||null)==n?g(this.Lb,this):null},h.Ec=function(t){var n=this;return Pa(this,"linkViaPopup",t,function(){return pi(n,t.providerId).then(function(){return Qt(n)})},!1)},h.Nc=function(t){return Pa(this,"reauthViaPopup",t,function(){return m()},!0)},h.Fc=function(t){var n=this;return La(this,"linkViaRedirect",t,function(){return pi(n,t.providerId)},!1)},h.Oc=function(t){return La(this,"reauthViaRedirect",t,function(){return m()},!0)},h.Kb=function(t,n,e,i){var r=this;this.c&&(this.c.cancel(),this.c=null);var o=null;return V(this,this.I().then(function(s){return Xr(r.a,{requestUri:t,postBody:i,sessionId:n,idToken:s})}).then(function(s){return o=pe(r,s,"link"),Da(r,s)}).then(function(){return o}
1))},h.Lb=function(t,n,e,i){var r=this;this.c&&(this.c.cancel(),this.c=null);var o=null;return V(this,m().then(function(){return vn(Zr(r.a,{requestUri:t,sessionId:n,postBody:i,tenantId:e}),r.uid)}).then(function(u){return o=pe(r,u,"reauthenticate"),mt(r,u),r.h=null,r.reload()}).then(function(){return o}),!0)},h.ub=function(t){var n=this,e=null;return V(this,this.I().then(function(i){return e=i,void 0===t||Mt(t)?{}:xe(new Me(t))}).then(function(i){return n.a.ub(e,i)}).then(function(i){if(n.email!=i)return n.reload()}).then(function(){}))},h.Eb=function(t,n){var e=this,i=null;return V(this,this.I().then(function(r){return i=r,void 0===n||Mt(n)?{}:xe(new Me(n))}).then(function(r){return e.a.Eb(i,t,r)}).then(function(r){if(e.email!=r)return e.reload()}).then(function(){}))},h.jc=function(t){var n=null,e=this;return V(this,t=vn(m(t),e.uid).then(function(i){return n=pe(e,i,"reauthenticate"),mt(e,i),e.h=null,e.reload()}).then(function(){return n}),!0)},h.toJSON=function(){return this.w()},h.w=function(){var t={uid:this.uid,displayName:this.displayName,photoURL:this.photoURL,email:this.email,emailVerified:this.emailVerified,phoneNumber:this.phoneNumber,isAnonymous:this.isAnonymous,tenantId:this.tenantId,providerData:[],apiKey:this.l,appName:this.m,authDomain:this.s,stsTokenManager:this.b.w(),redirectEventId:this.ga||null};return this.metadata&&K(t,this.metadata.w()),O(this.providerData,function(n){t.providerData.push(function yf(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}(n))}),K(t,this.O.w()),t};var Uo={name:"redirectUser",F:"session"};function ja(t){return Tn(t.b,Uo,t.a)}function Vo(t){this.a=t,this.b=ce(),this.c=null,this.f=function Qp(t){var n=vt("local"),e=vt("session"),i=vt("none");return function dp(t,n,e){var i=bn(n,e),r=zt(t,n.F);return t.get(n,e).then(function(o){var s=null;try{s=dn(f.localStorage.getItem(i))}catch(u){}if(s&&!o)return f.localStorage.removeItem(i),t.set(n,s,e);s&&o&&"localStorage"!=r.type&&f.localStorage.removeItem(i)})}(t.b,n,t.a).then(function(){return t.b.get(e,t.a)}).then(function(r){return r?e:t.b.get(i,t.a).then(function(o){return o?i:t.b.get(n,t.a).then(function(s){return s?n:t.b.get(qo,t.a).then(function(u){return u?vt(u):n})})})}).then(function(r){return t.c=r,Fo(t,r.F)}).o(function(){t.c||(t.c=n)})}(this),this.b.addListener(vt("local"),this.a,g(this.g,this))}function Fo(t,n){var i,e=[];for(i in In)In[i]!==n&&e.push(Tn(t.b,vt(In[i]),t.a));return e.push(Tn(t.b,qo,t.a)),function qc(t){return new b(function(n,e){var i=t.length,r=[];if(i)for(var o=function(v,k){i--,r[v]=k,0==i&&n(r)},s=function(v){e(v)},u=0;u<t.length;u++)qs(t[u],nn(o,u),s);else n(r)})}(e)}Vo.prototype.g=function(){var t=this,n=vt("local");kn(this,function(){return m().then(function(){return t.c&&"local"!=t.c.F?t.b.get(n,t.a):null}).then(function(e){if(e)return Fo(t,"local").then(function(){t.c=n})})})};var qo={name:"persistence",F:"session"};function vt(t){return{name:"authUser",F:t}}function Ua(t,n){return kn(t,function(){return t.b.set(t.c,n.w(),t.a)})}function Va(t){return kn(t,function(){return Tn(t.b,t.c,t.a)})}function Fa(t,n,e){return kn(t,function(){return t.b.get(t.c,t.a).then(function(i){return i&&n&&(i.authDomain=n),i&&e&&(i.emulatorConfig=e),xa(i||{})})})}function kn(t,n){return t.f=t.f.then(n,n),t.f}function ht(t){if(this.l=!1,d(this,"settings",new Ia),d(this,"app",t),!A(this).options||!A(this).options.apiKey)throw new a("invalid-api-key");t=I.Z.SDK_VERSION?ln(I.Z.SDK_VERSION):null,this.a=new st(A(this).options&&A(this).options.apiKey,Dn(Pn),t),this.R=[],this.s=[],this.O=[],this.hb=I.Z.INTERNAL.createSubscribe(g(this.zc,this)),this.X=void 0,this.bc=I.Z.INTERNAL.createSubscribe(g(this.Ac,this)),An(this,null),this.i=new Vo(A(this).options.apiKey+":"+A(this).name),this.D=new zp(A(this).options.apiKey+":"+A(this).name),this.$=R(this,function sd(t){var n=A(t).options.authDomain,e=function od(t){var n=function $p(t,n){return t.b.get(Uo,t.a).then(function(e){return e&&n&&(e.authDomain=n),xa(e||{})})}(t.D,A(t).options.authDomain).then(function(e){return(t.m=e)&&(e.ha=t.D),ja(t.D)});return R(t,n)}(t).then(function(){return Fa(t.i,n,t.P)}).then(function(i){return i?(i.ha=t.D,t.m&&(t.m.ga||null)==(i.ga||null)?i:i.reload().then(function(){return Ua(t.i,i).then(function(){return i})}).o(function(r){return"auth/network-request-failed"==r.code?i:Va(t.i)})):null}).then(function(i){An(t,i||null)});return R(t,e)}(this)),this.h=R(this,function ud(t){return t.$.then(function(){return Ga(t)}).o(function(){}).then(function(){if(!t.l)return t.ja()}).o(function(){}).then(function(){if(!t.l){t.ba=!0;var n=t.i;n.b.addListener(vt("local"),n.a,t.ja)}})}(this)),this.ba=!1,this.ja=g(this.Zc,this),this.Ba=g(this.da,this),this.ya=g(this.mc,this),this.za=g(this.wc,this),this.Aa=g(this.xc,this),this.b=null,function id(t){var n=A(t).options.authDomain,e=A(t).options.apiKey;n&&Ht()&&(t.Oa=t.$.then(function(){if(!t.l){if(t.b=va(n,e,A(t).name,t.P),vo(t.b,t),w(t)&&le(w(t)),t.m){le(t.m);var i=t.m;i.wa(t.la()),_o(i,t),fe(i=t.m,t.J),Co(i,t),yn((i=t.m).a,t.P),Oo(i,t),t.m=null}return t.b}}))}(this),this.INTERNAL={},this.INTERNAL.delete=g(this.delete,this),this.INTERNAL.logFramework=g(this.Gc,this),this.u=0,q.call(this),function ed(t){Object.defineProperty(t,"lc",{get:function(){return this.la()},set:function(e){this.wa(e)},enumerable:!1}),t.aa=null,Object.defineProperty(t,"ti",{get:function(){return this.T()},set:function(e){this.yb(e)},enumerable:!1}),t.S=null,Object.defineProperty(t,"emulatorConfig",{get:function(){if(this.P){var e=W(this.P.url);e=pt({protocol:e.c,host:e.a,port:e.g,options:pt({disableWarnings:this.P.ec})})}else e=null;return e},enumerable:!1})}(this),this.J=[],this.P=null}function qa(t){B.call(this,"languageCodeChanged"),this.h=t}function Ha(t){B.call(this,"emulatorConfigChanged"),this.c=t}function Ka(t){B.call(this,"frameworkChanged"),this.f=t}function Ho(t){return t.Oa||N(new a("auth-domain-config-required"))}function Ga(t){if(!Ht())return N(new a("operation-not-supported-in-this-environment"));var n=Ho(t).then(function(){return t.b.qa()}).then(function(e){return e?pt(e):null});return R(t,n)}function An(t,n){w(t)&&(function Bp(t,n){et(t.S,function(e){return e==n}
1)}(w(t),t.Ba),J(w(t),"tokenChanged",t.ya),J(w(t),"userDeleted",t.za),J(w(t),"userInvalidated",t.Aa),Do(w(t))),n&&(n.S.push(t.Ba),$(n,"tokenChanged",t.ya),$(n,"userDeleted",t.za),$(n,"userInvalidated",t.Aa),0<t.u&&_a(n)),d(t,"currentUser",n),n&&(n.wa(t.la()),_o(n,t),fe(n,t.J),Co(n,t),yn(n.a,t.P),Oo(n,t))}function tn(t,n){var e=null,i=null;return R(t,n.then(function(r){return e=Sr(r),i=Wu(r),function rd(t,n){var e={};return e.apiKey=A(t).options.apiKey,e.authDomain=A(t).options.authDomain,e.appName=A(t).name,t.P&&(e.emulatorConfig=t.P),t.$.then(function(){return function Jp(t,n,e,i){var r=new z(t,n);return e&&(r.ha=e),i&&fe(r,i),r.reload().then(function(){return r})}(e,n,t.D,t.Ga())}).then(function(i){return w(t)&&i.uid==w(t).uid?(li(w(t),i),t.da(i)):(An(t,i),le(i),t.da(i))}).then(function(){de(t)})}(t,r)},function(r){var o=null;throw r&&"auth/multi-factor-auth-required"===r.code&&(o=Ea(r.w(),t,g(t.kc,t))),o||r}).then(function(){return pt({user:w(t),credential:e,additionalUserInfo:i,operationType:"signIn"})}))}function A(t){return t.app}function w(t){return t.currentUser}function di(t){return w(t)&&w(t)._lat||null}function de(t){if(t.ba){for(var n=0;n<t.s.length;n++)t.s[n]&&t.s[n](di(t));if(t.X!==t.getUid()&&t.O.length)for(t.X=t.getUid(),n=0;n<t.O.length;n++)t.O[n]&&t.O[n](di(t))}}function R(t,n){return t.R.push(n),n.oa(function(){ye(t.R,n)}),n}function me(){}function Sn(){this.a={},this.b=1e12}Vo.prototype.xb=function(t){var n=null,e=this;return function pp(t){var n=new a("invalid-persistence-type"),e=new a("unsupported-persistence-type");t:{for(i in In)if(In[i]==t){var i=!0;break t}i=!1}if(!i||"string"!=typeof t)throw n;switch(lt()){case"ReactNative":if("session"===t)throw e;break;case"Node":if("none"!==t)throw e;break;case"Worker":if("session"===t||!eo()&&"none"!==t)throw e;break;default:if(!or()&&"none"!==t)throw e}}(t),kn(this,function(){return t!=e.c.F?e.b.get(e.c,e.a).then(function(i){return n=i,Fo(e,t)}).then(function(){if(e.c=vt(t),n)return e.b.set(e.c,n,e.a)}):m()})},y(ht,q),y(qa,B),y(Ha,B),y(Ka,B),(h=ht.prototype).xb=function(t){return R(this,t=this.i.xb(t))},h.wa=function(t){this.aa===t||this.l||(this.aa=t,bh(this.a,this.aa),this.dispatchEvent(new qa(this.la())))},h.la=function(){return this.aa},h.fd=function(){var t=f.navigator;this.wa(t&&(t.languages&&t.languages[0]||t.language||t.userLanguage)||null)},h.gd=function(t,n){if(!this.P){if(!/^https?:\/\//.test(t))throw new a("argument-error","Emulator URL must start with a valid scheme (http:// or https://).");(function nd(t){"undefined"!=typeof console&&"function"==typeof console.info&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only.  Do not use with production credentials."),f.document&&!t&&De().then(function(){var n=f.document.createElement("div");n.innerText="Running in emulator mode. Do not use with production credentials.",n.style.position="fixed",n.style.width="100%",n.style.backgroundColor="#ffffff",n.style.border=".1em solid #000000",n.style.color="#ff0000",n.style.bottom="0px",n.style.left="0px",n.style.margin="0px",n.style.zIndex=1e4,n.style.textAlign="center",n.classList.add("firebase-emulator-warning"),f.document.body.appendChild(n)})})(n=!!n&&!!n.disableWarnings),this.P={url:t,ec:n},this.settings.ib=!0,yn(this.a,this.P),this.dispatchEvent(new Ha(this.P))}},h.Gc=function(t){this.J.push(t),Th(this.a,I.Z.SDK_VERSION?ln(I.Z.SDK_VERSION,this.J):null),this.dispatchEvent(new Ka(this.J))},h.Ga=function(){return Lt(this.J)},h.yb=function(t){this.S===t||this.l||(this.S=t,this.a.b=this.S)},h.T=function(){return this.S},h.toJSON=function(){return{apiKey:A(this).options.apiKey,authDomain:A(this).options.authDomain,appName:A(this).name,currentUser:w(this)&&w(this).w()}},h.Fb=function(t,n){switch(t){case"unknown":case"signInViaRedirect":return!0;case"signInViaPopup":return this.g==n&&!!this.f;default:return!1}},h.na=function(t,n,e,i){"signInViaPopup"==t&&this.g==i&&(e&&this.C?this.C(e):n&&!e&&this.f&&this.f(n),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.C)},h.Fa=function(t,n){return"signInViaRedirect"==t||"signInViaPopup"==t&&this.g==n&&this.f?g(this.ic,this):null},h.ic=function(t,n,e,i){var r=this,o={requestUri:t,postBody:i,sessionId:n,tenantId:e};return this.c&&(this.c.cancel(),this.c=null),r.$.then(function(){return tn(r,Wr(r.a,o))})},h.Xc=function(t){if(!Ht())return N(new a("operation-not-supported-in-this-environment"));var n=this,e=Ir(t.providerId),i=Kt(),r=null;(!Kn()||ir())&&A(this).options.authDomain&&t.isOAuthProvider&&(r=se(A(this).options.authDomain,A(this).options.apiKey,A(this).name,"signInViaPopup",t,null,i,I.Z.SDK_VERSION||null,null,null,this.T(),this.P));var o=Iu(r,e&&e.ua,e&&e.ta);return R(this,e=Ho(this).then(function(s){return la(s,o,"signInViaPopup",t,i,!!r,n.T())}).then(function(){return new b(function(s,u){n.na("signInViaPopup",null,new a("cancelled-popup-request"),n.g),n.f=s,n.C=u,n.g=i,n.c=da(n.b,n,"signInViaPopup",o,i)})}).then(function(s){return o&&qt(o),s?pt(s):null}).o(function(s){throw o&&qt(o),s}))},h.Yc=function(t){if(!Ht())return N(new a("operation-not-supported-in-this-environment"));var n=this,e=Ho(this).then(function(){return function td(t){return kn(t,function(){return t.b.set(qo,t.c.F,t.a)})}(n.i)}).then(function(){return pa(n.b,"signInViaRedirect",t,void 0,n.T())});return R(this,e)},h.qa=function(){var t=this;return Ga(this).then(function(n){return t.b&&ai(t.b.b),n}).o(function(n){throw t.b&&ai(t.b.b),n})},h.dd=function(t){if(!t)return N(new a("null-user"));if(this.S!=t.tenantId)return N(new a("tenant-id-mismatch"));var n=this,e={};e.apiKey=A(this).options.apiKey,e.authDomain=A(this).options.authDomain,e.appName=A(this).name;var i=function Yp(t,n,e,i){var r=t.b,o={};return o[ut]=r.b&&r.b.toString(),o.refreshToken=r.a,n=new z(n||{apiKey:t.l,authDomain:t.s,appName:t.m},o),e&&(n.ha=e),i&&fe(n,i),li(n,t),n}(t,e,n.D,n.Ga());return R(this,this.h.then(function(){if(A(n).options.apiKey!=t.l)return i.reload()}).then(function(){return w(n)&&t.uid==w(n).uid?(li(w(n),t),n.da(t)):(An(n,i),le(i),n.da(i))}).then(function(){de(n)}))},h.Ab=function(){var t=this;return R(this,this.h.then(function(){return t.b&&ai(t.b.b),w(t)?(An(t,null),Va(t.i).then(function(){de(t)})):m()}))},h.Zc=function(){var t=this;return Fa(this.i,A(this).options.authDomain).then(function(n){if(!t.l){var e;if(e=w(t)&&n){e=w(t).uid;var i=n.uid;e=null!=e&&""!==e&&null!=i&&""!==i&&e==i}if(e)return li(w(t),n),w(t).I();(w(t)||n)&&(An(t,n),n&&(le(n),n.ha=t.D),t.b&&vo(t.b,t),de(t))}})},h.da=function(t){return Ua(this.i,t)},h.mc=function(){de(this),this.da(w(this))},h.wc=function(){this.Ab()},h.xc=function(){this.Ab()},h.kc=function(t){var n=this;return this.h.then(function(){return tn(n,m(t))})},h.zc=function(t){var n=this;this.addAuthTokenListener(function(){t.next(w(n))})},h.Ac=function(t){var n=this;!function hd(t,n){t.O.push(n),R(t,t.h.then(function(){!t.l&&wt(t.O,n)&&t.X!==t.getUid()&&(t.X=t.getUid(),n(di(t)))}))}(this,function(){t.next(w(n))})},h.Ic=function(t,n,e){var i=this;return this.ba&&Promise.resolve().then(function(){"function"==typeof t?t(w(i)):"function"==typeof t.next&&t.next(w(i))}),this.hb(t,n,e)},h.Hc=function(t,n,e){var i=this;return this.ba&&Promise.resolve().then(function(){i.X=i.getUid(),"function"==typeof t?t(w(i)):"function"==typeof t.next&&t.next(w(i))}),this.bc(t,n,e)},h.nc=function(t){var n=this;return R(this,this.h.then(function(){return w(n)?w(n).I(t).then(function(i){return{accessToken:i}}):null}))},h.Tc=function(t){var n=this;return this.h.then(function(){return tn(n,T(n.a,Hl,{token:t}))}).then(function(e){var i=e.user;return Dt(i,"isAnonymous",!1),n.da(i),e})},h.Uc=function(t,n){var e=this;return this.h.then(function(){return tn(e,T(e.a,Rh,{email:t,password:n}))})},h.dc=function(t,n){var e=this;return this.h.then(function(){return tn(e,T(e.a,wl,{email:t,password:n}))})},h.$a=function(t){var n=this;return this.h.then(function(){return tn(n,t.ka(n.a))})},h.Sc=function(t){return ur("firebase.auth.Auth.prototype.signInAndRetrieveDataWithCredential is deprecated. Please use firebase.auth.Auth.prototype.signInWithCredential instead."),this.$a(t)},h.zb=function(){var t=this;return this.h.then(function(){var n=w(t);if(n&&n.isAnonymous){var e=pt({providerId:null,isNewUser:!1});return pt({user:n,credential:null,additionalUserInfo:e,operationType:"signIn"})}return tn(t,t.a.zb()).then(function(i){var r=i.user;return Dt(r,"isAnonymous",!0),t.da(r),i})})},h.getUid=function(){return w(this)&&w(this).uid||null},h.cc=function(t){this.addAuthTokenListener(t),this.u++,0<this.u&&w(this)&&_a(w(this))},h.Pc=function(t){var n=this;O(this.s,function(e){e==t&&n.u--}),0>this.u&&(this.u=0),0==this.u&&w(this)&&Do(w(this)),this.removeAuthTokenListener(t)},h.addAuthTokenListener=function(t){var n=this;this.s.push(t),R(this,this.h.then(function(){n.l||wt(n.s,t)&&t(di(n))}))},h.removeAuthTokenListener=function(t){et(this.s,function(n){return n==t})},h.delete=function(){this.l=!0;for(var t=0;t<this.R.length;t++)this.R[t].cancel("app-deleted");return this.R=[],this.i&&(t=this.i).b.removeListener(vt("local"),t.a,this.ja),this.b&&(fa(this.b,this),ai(this.b.b)),Promise.resolve()},h.hc=function(t){return R(this,function cl(t,n){return T(t,Il,{identifier:n,continueUri:Pe()?Hn():"http://localhost"}).then(function(e){return e.signinMethods||[]})}(this.a,t))},h.Bc=function(t){return!!Ar(t)},h.wb=function(t,n){var e=this;return R(this,m().then(function(){var i=new Me(n);if(!i.c)throw new a("argument-error",yr+" must be true when sending sign in link to email");return xe(i)}).then(function(i){return e.a.wb(t,i)}).then(function(){}))},h.jd=function(t){return this.Ra(t).then(function(n){return n.data.email})},h.nb=function(t,n){return R(this,this.a.nb(t,n).then(function(){}))},h.Ra=function(t){return R(this,this.a.Ra(t).then(function(n){return new If(n)}))},h.jb=function(t){return R(this,this.a.jb(t).then(function(){}))},h.vb=function(t,n){var e=this;return R(this,m().then(function(){return void 0===n||Mt(n)?{}:xe(new Me(n))}).then(function(i){return e.a.vb(t,i)}).then(function(){}))},h.Wc=function(t,n){return R(this,Io(this,t,n,g(this.$a,this)))},h.Vc=function(t,n){var e=this;return R(this,m().then(function(){var i=n||Hn(),r=rh(t,i);if(!(i=Ar(i)))throw new a("argument-error","Invalid email link!");if(i.tenantId!==e.T())throw new a("tenant-id-mismatch");return e.$a(r)}))},me.prototype.render=function(){},me.prototype.reset=function(){},me.prototype.getResponse=function(){},me.prototype.execute=function(){};var Ko=null;function Go(t,n){return(n=Ba(n))&&t.a[n]||null}function Ba(t){return(t=void 0===t?1e12:t)?t.toString():null}function mi(t,n){this.g=!1,this.c=n,this.a=this.b=null,this.h="invisible"!==this.c.size,this.f=Mn(t);var e=this;this.i=function(){e.execute()},this.h?this.execute():$(this.f,"click",this.i)}function Bo(t){if(t.g)throw Error("reCAPTCHA mock was already deleted!")}function Wo(){}function Xo(){}Sn.prototype.render=function(t,n){return this.a[this.b.toString()]=new mi(t,n),this.b++},Sn.prototype.reset=function(t){var n=Go(this,t);t=Ba(t),n&&t&&(n.delete(),delete this.a[t])},Sn.prototype.getResponse=function(t){return(t=Go(this,t))?t.getResponse():null},Sn.prototype.execute=function(t){(t=Go(this,t))&&t.execute()},mi.prototype.getResponse=function(){return Bo(this),this.b},mi.prototype.execute=function(){Bo(this);var t=this;this.a||(this.a=setTimeout(function(){t.b=function df(){for(var t=50,n=[];0<t;)n.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),t--;return n.join("")}();var n=t.c.callback,e=t.c["expired-callback"];if(n)try{n(t.b)}catch(i){}t.a=setTimeout(function(){if(t.a=null,t.b=null,e)try{e()}catch(i){}t.h&&t.execute()},6e4)},500))},mi.prototype.delete=function(){Bo(this),this.g=!0,clearTimeout(this.a),this.a=null,J(this.f,"click",this.i)},d(Wo,"FACTOR_ID","phone"),Xo.prototype.g=function(){return Ko||(Ko=new Sn),m(Ko)},Xo.prototype.c=function(){};var Zo=null;function Jo(){this.b=f.grecaptcha?1/0:0,this.f=null,this.a="__rcb"+Math.floor(1e6*Math.random()).toString()}var ad=new ct(we,"https://www.google.com/recaptcha/api.js?onload=%{onload}&render=explicit&hl=%{hl}"),cd=new Ot(3e4,6e4);Jo.prototype.g=function(t){var n=this;return new b(function(e,i){var r=setTimeout(function(){i(new a("network-request-failed"))},cd.get());!f.grecaptcha||t!==n.f&&!n.b?(f[n.a]=function(){if(f.grecaptcha){n.f=t;
1var s=f.grecaptcha.render;f.grecaptcha.render=function(u,c){return u=s(u,c),n.b++,u},clearTimeout(r),e(f.grecaptcha)}else clearTimeout(r),i(new a("internal-error"));delete f[n.a]},m(Vr(Ci(ad,{onload:n.a,hl:t||""}))).o(function(){clearTimeout(r),i(new a("internal-error","Unable to load external reCAPTCHA dependencies!"))})):(clearTimeout(r),e(f.grecaptcha))})},Jo.prototype.c=function(){this.b--};var Yo=null;function zo(t,n,e,i,r,o,s){if(d(this,"type","recaptcha"),this.c=this.f=null,this.D=!1,this.v=n,this.g=null,s?(Zo||(Zo=new Xo),s=Zo):(Yo||(Yo=new Jo),s=Yo),this.m=s,this.a=e||{theme:"light",type:"image"},this.h=[],this.a[Za])throw new a("argument-error","sitekey should not be provided for reCAPTCHA as one is automatically provisioned for the current project.");if(this.i="invisible"===this.a[fd],!f.document)throw new a("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment with DOM support.");if(!Mn(n)||!this.i&&Mn(n).hasChildNodes())throw new a("argument-error","reCAPTCHA container is either not found or already contains inner elements!");this.s=new st(t,o||null,r||null),this.u=i||function(){return null};var u=this;this.l=[];var c=this.a[Wa];this.a[Wa]=function(v){if(Ja(u,v),"function"==typeof c)c(v);else if("string"==typeof c){var k=_(c,f);"function"==typeof k&&k(v)}};var l=this.a[Xa];this.a[Xa]=function(){if(Ja(u,null),"function"==typeof l)l();else if("string"==typeof l){var v=_(l,f);"function"==typeof v&&v()}}}var Wa="callback",Xa="expired-callback",Za="sitekey",fd="size";function Ja(t,n){for(var e=0;e<t.l.length;e++)try{t.l[e](n)}catch(i){}}function $o(t,n){return t.h.push(n),n.oa(function(){ye(t.h,n)}),n}function vi(t){if(t.D)throw new a("internal-error","RecaptchaVerifier instance has been destroyed.")}function Qo(t,n,e){var i=!1;try{this.b=e||I.Z.app()}catch(s){throw new a("argument-error","No firebase.app.App instance is currently initialized.")}if(!this.b.options||!this.b.options.apiKey)throw new a("invalid-api-key");e=this.b.options.apiKey;var r=this,o=null;try{o=this.b.auth().Ga()}catch(s){}try{i=this.b.auth().settings.appVerificationDisabledForTesting}catch(s){}o=I.Z.SDK_VERSION?ln(I.Z.SDK_VERSION,o):null,zo.call(this,e,t,n,function(){try{var s=r.b.auth().la()}catch(u){s=null}return s},o,Dn(Pn),i)}function Ya(t,n,e,i){t:{e=Array.prototype.slice.call(e);for(var r=0,o=!1,s=0;s<n.length;s++)if(n[s].optional)o=!0;else{if(o)throw new a("internal-error","Argument validator encountered a required argument after an optional argument.");r++}if(o=n.length,e.length<r||o<e.length)i="Expected "+(r==o?1==r?"1 argument":r+" arguments":r+"-"+o+" arguments")+" but got "+e.length+".";else{for(r=0;r<e.length;r++)if(o=n[r].optional&&void 0===e[r],!n[r].M(e[r])&&!o){if(n=n[r],0>r||r>=za.length)throw new a("internal-error","Argument validator received an unsupported number of arguments.");e=za[r],i=(i?"":e+" argument ")+(n.name?'"'+n.name+'" ':"")+"must be "+n.K+".";break t}i=null}}if(i)throw new a("argument-error",t+" failed: "+i)}(h=zo.prototype).Ia=function(){var t=this;return this.f?this.f:this.f=$o(this,m().then(function(){if(Pe()&&!rt())return De();throw new a("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment.")}).then(function(){return t.m.g(t.u())}).then(function(n){return t.g=n,T(t.s,Pl,{})}).then(function(n){t.a[Za]=n.recaptchaSiteKey}).o(function(n){throw t.f=null,n}))},h.render=function(){vi(this);var t=this;return $o(this,this.Ia().then(function(){if(null===t.c){var n=t.v;if(!t.i){var e=Mn(n);n=function jc(t,n,e){var i=arguments,r=document,o=String(i[0]),s=i[1];if(!xc&&s&&(s.name||s.type)){if(o=["<",o],s.name&&o.push(' name="',Ri(s.name),'"'),s.type){o.push(' type="',Ri(s.type),'"');var u={};K(u,s),delete u.type,s=u}o.push(">"),o=o.join("")}return o=Ee(r,o),s&&("string"==typeof s?o.className=s:Array.isArray(s)?o.className=s.join(" "):Ls(o,s)),2<i.length&&Uc(r,o,i),o}("DIV"),e.appendChild(n)}t.c=t.g.render(n,t.a)}return t.c}))},h.verify=function(){vi(this);var t=this;return $o(this,this.render().then(function(n){return new b(function(e){var i=t.g.getResponse(n);
1i?e(i):(t.l.push(function o(s){s&&(function ld(t,n){et(t.l,function(e){return e==n})}(t,o),e(s))}),t.i&&t.g.execute(t.c))})}))},h.reset=function(){vi(this),null!==this.c&&this.g.reset(this.c)},h.clear=function(){vi(this),this.D=!0,this.m.c();for(var t=0;t<this.h.length;t++)this.h[t].cancel("RecaptchaVerifier instance has been destroyed.");if(!this.i){t=Mn(this.v);for(var n;n=t.firstChild;)t.removeChild(n)}},y(Qo,zo);var za="First Second Third Fourth Fifth Sixth Seventh Eighth Ninth".split(" ");function p(t,n){return{name:t||"",K:"a valid string",optional:!!n,M:function(i){return"string"==typeof i}}}function ts(t,n){return{name:t||"",K:"a boolean",optional:!!n,M:function(i){return"boolean"==typeof i}}}function x(t,n){return{name:t||"",K:"a valid object",optional:!!n,M:j}}function Nn(t,n){return{name:t||"",K:"a function",optional:!!n,M:function(i){return"function"==typeof i}}}function gt(t,n){return{name:t||"",K:"null",optional:!!n,M:function(i){return null===i}}}function Pt(t){return{name:t?t+"Credential":"credential",K:t?"a valid "+t+" credential":"a valid credential",optional:!1,M:function(e){return!!e&&!(!e.ka||t&&e.providerId!==t)}}}function ns(t,n){return j(t)&&"string"==typeof t.type&&t.type===n&&"function"==typeof t.Ha}function Qa(t){return j(t)&&"string"==typeof t.uid}function P(t,n,e,i){return{name:e||"",K:t.K+" or "+n.K,optional:!!i,M:function(o){return t.M(o)||n.M(o)}}}function C(t,n){for(var e in n){var i=n[e].name;t[i]=nc(i,t[e],n[e].j)}}function tc(t,n){for(var e in n){var i=n[e].name;i!==e&&Object.defineProperty(t,i,{get:nn(function(r){return this[r]},e),set:nn(function(r,o,s,u){Ya(r,[s],[u],!0),this[o]=u},i,e,n[e].kb),enumerable:!0})}}function L(t,n,e,i){t[n]=nc(n,e,i)}function nc(t,n,e){function i(){var s=Array.prototype.slice.call(arguments);return Ya(r,e,s),n.apply(this,s)}if(!e)return n;var o,r=function vd(t){return(t=t.split("."))[t.length-1]}(t);for(o in n)i[o]=n[o];for(o in n.prototype)i.prototype[o]=n.prototype[o];return i}C(ht.prototype,{jb:{name:"applyActionCode",j:[p("code")]},Ra:{name:"checkActionCode",j:[p("code")]},nb:{name:"confirmPasswordReset",j:[p("code"),p("newPassword")]},dc:{name:"createUserWithEmailAndPassword",j:[p("email"),p("password")]},hc:{name:"fetchSignInMethodsForEmail",j:[p("email")]},qa:{name:"getRedirectResult",j:[]},Bc:{name:"isSignInWithEmailLink",j:[p("emailLink")]},Hc:{name:"onAuthStateChanged",j:[P(x(),Nn(),"nextOrObserver"),Nn("opt_error",!0),Nn("opt_completed",!0)]},Ic:{name:"onIdTokenChanged",j:[P(x(),Nn(),"nextOrObserver"),Nn("opt_error",!0),Nn("opt_completed",!0)]},vb:{name:"sendPasswordResetEmail",j:[p("email"),P(x("opt_actionCodeSettings",!0),gt(null,!0),"opt_actionCodeSettings",!0)]},wb:{name:"sendSignInLinkToEmail",j:[p("email"),x("actionCodeSettings")]},xb:{name:"setPersistence",j:[p("persistence")]},Sc:{name:"signInAndRetrieveDataWithCredential",j:[Pt()]},zb:{name:"signInAnonymously",j:[]},$a:{name:"signInWithCredential",j:[Pt()]},Tc:{name:"signInWithCustomToken",j:[p("token")]},Uc:{name:"signInWithEmailAndPassword",j:[p("email"),p("password")]},Vc:{name:"signInWithEmailLink",j:[p("email"),p("emailLink",!0)]},Wc:{name:"signInWithPhoneNumber",j:[p("phoneNumber"),{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(n){return!(!n||"string"!=typeof n.type||"function"!=typeof n.verify)}}]},Xc:{name:"signInWithPopup",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(n){return!!(n&&n.providerId&&n.hasOwnProperty&&n.hasOwnProperty("isOAuthProvider"))}}]},Yc:{name:"signInWithRedirect",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(n){return!!(n&&n.providerId&&n.hasOwnProperty&&n.hasOwnProperty("isOAuthProvider"))}}]},dd:{name:"updateCurrentUser",j:[P({name:"user",K:"an instance of Firebase User",optional:!1,M:function(e){return!!(e&&e instanceof z)}},gt(),"user")]},Ab:{name:"signOut",j:[]},toJSON:{name:"toJSON",j:[p(null,!0)]},fd:{name:"useDeviceLanguage",j:[]},gd:{name:"useEmulator",j:[p("url"),x("options",!0)]},jd:{name:"verifyPasswordResetCode",j:[p("code")]}}),tc(ht.prototype,{lc:{name:"languageCode",kb:P(p(),gt(),"languageCode")}
1,ti:{name:"tenantId",kb:P(p(),gt(),"tenantId")}}),(ht.Persistence=In).LOCAL="local",ht.Persistence.SESSION="session",ht.Persistence.NONE="none",C(z.prototype,{delete:{name:"delete",j:[]},oc:{name:"getIdTokenResult",j:[ts("opt_forceRefresh",!0)]},I:{name:"getIdToken",j:[ts("opt_forceRefresh",!0)]},Cc:{name:"linkAndRetrieveDataWithCredential",j:[Pt()]},qb:{name:"linkWithCredential",j:[Pt()]},Dc:{name:"linkWithPhoneNumber",j:[p("phoneNumber"),{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(n){return!(!n||"string"!=typeof n.type||"function"!=typeof n.verify)}}]},Ec:{name:"linkWithPopup",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(n){return!!(n&&n.providerId&&n.hasOwnProperty&&n.hasOwnProperty("isOAuthProvider"))}}]},Fc:{name:"linkWithRedirect",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(n){return!!(n&&n.providerId&&n.hasOwnProperty&&n.hasOwnProperty("isOAuthProvider"))}}]},Lc:{name:"reauthenticateAndRetrieveDataWithCredential",j:[Pt()]},tb:{name:"reauthenticateWithCredential",j:[Pt()]},Mc:{name:"reauthenticateWithPhoneNumber",j:[p("phoneNumber"),{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(n){return!(!n||"string"!=typeof n.type||"function"!=typeof n.verify)}}]},Nc:{name:"reauthenticateWithPopup",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(n){return!!(n&&n.providerId&&n.hasOwnProperty&&n.hasOwnProperty("isOAuthProvider"))}}]},Oc:{name:"reauthenticateWithRedirect",j:[{name:"authProvider",K:"a valid Auth provider",optional:!1,M:function(n){return!!(n&&n.providerId&&n.hasOwnProperty&&n.hasOwnProperty("isOAuthProvider"))}}]},reload:{name:"reload",j:[]},ub:{name:"sendEmailVerification",j:[P(x("opt_actionCodeSettings",!0),gt(null,!0),"opt_actionCodeSettings",!0)]},toJSON:{name:"toJSON",j:[p(null,!0)]},cd:{name:"unlink",j:[p("provider")]},Bb:{name:"updateEmail",j:[p("email")]},Cb:{name:"updatePassword",j:[p("password")]},ed:{name:"updatePhoneNumber",j:[Pt("phone")]},Db:{name:"updateProfile",j:[x("profile")]},Eb:{name:"verifyBeforeUpdateEmail",j:[p("email"),P(x("opt_actionCodeSettings",!0),gt(null,!0),"opt_actionCodeSettings",!0)]}}),C(Sn.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),C(me.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),C(b.prototype,{oa:{name:"finally"},o:{name:"catch"},then:{name:"then"}}),tc(Ia.prototype,{appVerificationDisabled:{name:"appVerificationDisabledForTesting",kb:ts("appVerificationDisabledForTesting")}}),C(wo.prototype,{confirm:{name:"confirm",j:[p("verificationCode")]}}),L(mn,"fromJSON",function(t){t="string"==typeof t?JSON.parse(t):t;for(var n,e=[Uf,Vf,Ff,jf],i=0;i<e.length;i++)if(n=e[i](t))return n;return null},[P(p(),x(),"json")]),L(tt,"credential",function(t,n){return new Ct(t,n)},[p("email"),p("password")]),C(Ct.prototype,{w:{name:"toJSON",j:[p(null,!0)]}}),C(Wt.prototype,{Ca:{name:"addScope",j:[p("scope")]},Ka:{name:"setCustomParameters",j:[x("customOAuthParameters")]}}),L(Wt,"credential",th,[P(p(),x(),"token")]),L(tt,"credentialWithLink",rh,[p("email"),p("emailLink")]),C(Xt.prototype,{Ca:{name:"addScope",j:[p("scope")]},Ka:{name:"setCustomParameters",j:[x("customOAuthParameters")]}}),L(Xt,"credential",nh,[P(p(),x(),"token")]),C(Zt.prototype,{Ca:{name:"addScope",j:[p("scope")]},Ka:{name:"setCustomParameters",j:[x("customOAuthParameters")]}}),L(Zt,"credential",eh,[P(p(),P(x(),gt()),"idToken"),P(p(),gt(),"accessToken",!0)]),C(gn.prototype,{Ka:{name:"setCustomParameters",j:[x("customOAuthParameters")]}}),L(gn,"credential",ih,[P(p(),x(),"token"),p("secret",!0)]),C(Y.prototype,{Ca:{name:"addScope",j:[p("scope")]},credential:{name:"credential",j:[P(p(),P(x(),gt()),"optionsOrIdToken"),P(p(),gt(),"accessToken",!0)]},Ka:{name:"setCustomParameters",j:[x("customOAuthParameters")]}}),C(bt.prototype,{w:{name:"toJSON",j:[p(null,!0)]}}),C(Gt.prototype,{w:{name:"toJSON",j:[p(null,!0)]}}),L(Tt,"credential",oh,[p("verificationId"),p("verificationCode")]),C(Tt.prototype,{fb:{name:"verifyPhoneNumber",j:[P(p(),{name:"phoneInfoOptions",K:"valid phone info o
1ptions",optional:!1,M:function(i){return!!i&&(i.session&&i.phoneNumber?ns(i.session,Jn)&&"string"==typeof i.phoneNumber:i.session&&i.multiFactorHint?ns(i.session,qe)&&Qa(i.multiFactorHint):i.session&&i.multiFactorUid?ns(i.session,qe)&&"string"==typeof i.multiFactorUid:!!i.phoneNumber&&"string"==typeof i.phoneNumber)}},"phoneInfoOptions"),{name:"applicationVerifier",K:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,M:function(n){return!(!n||"string"!=typeof n.type||"function"!=typeof n.verify)}}]}}),C(Rt.prototype,{w:{name:"toJSON",j:[p(null,!0)]}}),C(a.prototype,{toJSON:{name:"toJSON",j:[p(null,!0)]}}),C(zn.prototype,{toJSON:{name:"toJSON",j:[p(null,!0)]}}),C(Or.prototype,{toJSON:{name:"toJSON",j:[p(null,!0)]}}),C(To.prototype,{toJSON:{name:"toJSON",j:[p(null,!0)]}}),C(bo.prototype,{Rc:{name:"resolveSignIn",j:[{name:"multiFactorAssertion",K:"a valid multiFactorAssertion",optional:!1,M:function(n){return!!n&&!!n.sb}}]}}),C(ko.prototype,{Rb:{name:"getSession",j:[]},fc:{name:"enroll",j:[{name:"multiFactorAssertion",K:"a valid multiFactorAssertion",optional:!1,M:function(n){return!!n&&!!n.sb}},p("displayName",!0)]},bd:{name:"unenroll",j:[P({name:"multiFactorInfo",K:"a valid multiFactorInfo",optional:!1,M:Qa},p(),"multiFactorInfoIdentifier")]}}),C(Qo.prototype,{clear:{name:"clear",j:[]},render:{name:"render",j:[]},verify:{name:"verify",j:[]}}),L(gr,"parseLink",xu,[p("link")]),L(Wo,"assertion",function(t){return new Aa(t)},[Pt("phone")]),function(){if(void 0===I.Z||!I.Z.INTERNAL||!I.Z.INTERNAL.registerComponent)throw Error("Cannot find the firebase namespace; be sure to include firebase-app.js before this library.");var t={ActionCodeInfo:{Operation:{EMAIL_SIGNIN:Le,PASSWORD_RESET:"PASSWORD_RESET",RECOVER_EMAIL:"RECOVER_EMAIL",REVERT_SECOND_FACTOR_ADDITION:vr,VERIFY_AND_CHANGE_EMAIL:Xn,VERIFY_EMAIL:"VERIFY_EMAIL"}},Auth:ht,AuthCredential:mn,Error:a};L(t,"EmailAuthProvider",tt,[]),L(t,"FacebookAuthProvider",Wt,[]),L(t,"GithubAuthProvider",Xt,[]),L(t,"GoogleAuthProvider",Zt,[]),L(t,"TwitterAuthProvider",gn,[]),L(t,"OAuthProvider",Y,[p("providerId")]),L(t,"SAMLAuthProvider",Qu,[p("providerId")]),L(t,"PhoneAuthProvider",Tt,[{name:"auth",K:"an instance of Firebase Auth",optional:!0,M:function(n){return!!(n&&n instanceof ht)}}]),L(t,"RecaptchaVerifier",Qo,[P(p(),{name:"",K:"an HTML element",optional:!1,M:function(n){return!!(n&&n instanceof Element)}},"recaptchaContainer"),x("recaptchaParameters",!0),{name:"app",K:"an instance of Firebase App",optional:!0,M:function(n){return!!(n&&n instanceof I.Z.app.App)}}]),L(t,"ActionCodeURL",gr,[]),L(t,"PhoneMultiFactorGenerator",Wo,[]),I.Z.INTERNAL.registerComponent({name:"auth",instanceFactory:function(e){return new ht(e=e.getProvider("app").getImmediate())},multipleInstances:!1,serviceProps:t,instantiationMode:"LAZY",type:"PUBLIC"}),I.Z.INTERNAL.registerComponent({name:"auth-internal",instanceFactory:function(e){return{getUid:g((e=e.getProvider("auth").getImmediate()).getUid,e),getToken:g(e.nc,e),addAuthTokenListener:g(e.cc,e),removeAuthTokenListener:g(e.Pc,e)}},multipleInstances:!1,instantiationMode:"LAZY",type:"PRIVATE"}),I.Z.registerVersion("@firebase/auth","0.16.3"),I.Z.INTERNAL.extendNamespace({User:z})}()}).apply("undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})}}]);

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.