PageSourceSearch

https://hellonext.vercel.app/_next/static/chunks/52066749.94301741b6c9eae223c4.js

js hellonext.vercel.app collected 2026-10-03 07:04:20 UTC 179,562 bytes, 1 lines download raw bytes

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

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.