PageSourceSearch

https://milonga.tw/_next/static/chunks/13404-4fe916fba9b01b87.js

js milonga.tw collected 2026-09-28 18:36:08 UTC 33,906 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[13404],{36743:(e,t,r)=>{r.d(t,{$L:()=>x,$g:()=>P,A4:()=>p,Am:()=>J,As:()=>$,Cv:()=>F,FA:()=>M,Fy:()=>S,Hk:()=>s,I9:()=>X,Im:()=>V,K3:()=>c,KA:()=>u,Ku:()=>ea,Ll:()=>O,OE:()=>ei,T9:()=>y,Tj:()=>_,Uj:()=>d,XA:()=>I,ZQ:()=>C,bD:()=>function e(t,r){if(t===r)return!0;let i=Object.keys(t),n=Object.keys(r);for(let a of i){if(!n.includes(a))return!1;let i=t[a],s=r[a];if(K(i)&&K(s)){if(!e(i,s))return!1}else if(i!==s)return!1}for(let e of n)if(!i.includes(e))return!1;return!0},cY:()=>w,dI:()=>et,eX:()=>B,g:()=>R,gR:()=>U,gz:()=>Y,hp:()=>q,jZ:()=>A,kH:()=>G,kj:()=>er,lT:()=>k,lV:()=>N,nr:()=>L,p9:()=>en,qc:()=>H,sr:()=>D,tD:()=>Z,u:()=>f,vA:()=>a,yU:()=>E,yw:()=>z,zW:()=>T});var i=r(65606);let n={NODE_CLIENT:!1,NODE_ADMIN:!1,SDK_VERSION:"${JSCORE_VERSION}"},a=function(e,t){if(!e)throw s(t)},s=function(e){return Error("Firebase Database ("+n.SDK_VERSION+") INTERNAL ASSERT FAILED: "+e)},o=function(e){let t=[],r=0;for(let i=0;i<e.length;i++){let n=e.charCodeAt(i);n<128?t[r++]=n:(n<2048?t[r++]=n>>6|192:((64512&n)==55296&&i+1<e.length&&(64512&e.charCodeAt(i+1))==56320?(n=65536+((1023&n)<<10)+(1023&e.charCodeAt(++i)),t[r++]=n>>18|240,t[r++]=n>>12&63|128):t[r++]=n>>12|224,t[r++]=n>>6&63|128),t[r++]=63&n|128)}return t},h=function(e){let t=[],r=0,i=0;for(;r<e.length;){let n=e[r++];if(n<128)t[i++]=String.fromCharCode(n);else if(n>191&&n<224){let a=e[r++];t[i++]=String.fromCharCode((31&n)<<6|63&a)}else if(n>239&&n<365){let a=((7&n)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++])-65536;t[i++]=String.fromCharCode(55296+(a>>10)),t[i++]=String.fromCharCode(56320+(1023&a))}else{let a=e[r++],s=e[r++];t[i++]=String.fromCharCode((15&n)<<12|(63&a)<<6|63&s)}}return t.join("")},c={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();let r=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,i=[];for(let t=0;t<e.length;t+=3){let n=e[t],a=t+1<e.length,s=a?e[t+1]:0,o=t+2<e.length,h=o?e[t+2]:0,c=n>>2,l=(3&n)<<4|s>>4,u=(15&s)<<2|h>>6,d=63&h;o||(d=64,a||(u=64)),i.push(r[c],r[l],r[u],r[d])}return i.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(o(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):h(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();let r=t?this.charToByteMapWebSafe_:this.charToByteMap_,i=[];for(let t=0;t<e.length;){let n=r[e.charAt(t++)],a=t<e.length?r[e.charAt(t)]:0,s=++t<e.length?r[e.charAt(t)]:64,o=++t<e.length?r[e.charAt(t)]:64;if(++t,null==n||null==a||null==s||null==o)throw new l;let h=n<<2|a>>4;if(i.push(h),64!==s){let e=a<<4&240|s>>2;if(i.push(e),64!==o){let e=s<<6&192|o;i.push(e)}}}return i},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class l extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}let u=function(e){let t=o(e);return c.encodeByteArray(t,!0)},d=function(e){return u(e).replace(/\./g,"")},f=function(e){try{return c.decodeString(e,!0)}catch(e){console.error("base64Decode failed: ",e)}return null};function p(e){return function e(t,r){if(!(r instanceof Object))return r;switch(r.constructor){case Date:return new Date(r.getTime());case Object:void 0===t&&(t={});break;case Array:t=[];break;default:return r}for(let i in r)r.hasOwnProperty(i)&&"__proto__"!==i&&(t[i]=e(t[i],r[i]));return t}(void 0,e)}let g=()=>(function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==r.g)return r.g;throw Error("Unable to locate global object.")})().__FIREBASE_DEFAULTS__,b=()=>{if(void 0===i||void 0===i.env)return;let e=i.env.__FIREBASE_DEFAULTS__;if(e)return JSON.parse(e)},m=()=>{let e;if("undefined"==typeof document)return;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;
1]+)/)}catch(e){return}let t=e&&f(e[1]);return t&&JSON.parse(t)},v=()=>{try{return g()||b()||m()}catch(e){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);return}},_=e=>{var t,r;return null===(r=null===(t=v())||void 0===t?void 0:t.emulatorHosts)||void 0===r?void 0:r[e]},E=e=>{let t=_(e);if(!t)return;let r=t.lastIndexOf(":");if(r<=0||r+1===t.length)throw Error(`Invalid host ${t} with no separate hostname and port!`);let i=parseInt(t.substring(r+1),10);return"["===t[0]?[t.substring(1,r-1),i]:[t.substring(0,r),i]},y=()=>{var e;return null===(e=v())||void 0===e?void 0:e.config},I=e=>{var t;return null===(t=v())||void 0===t?void 0:t[`_${e}`]};class w{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}wrapCallback(e){return(t,r)=>{t?this.reject(t):this.resolve(r),"function"==typeof e&&(this.promise.catch(()=>{}),1===e.length?e(t):e(t,r))}}}function S(e,t){if(e.uid)throw Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');let r=t||"demo-project",i=e.iat||0,n=e.sub||e.user_id;if(!n)throw Error("mockUserToken must contain 'sub' or 'user_id' field!");let a=Object.assign({iss:`https://securetoken.google.com/${r}`,aud:r,iat:i,exp:i+3600,auth_time:i,sub:n,user_id:n,firebase:{sign_in_provider:"custom",identities:{}}},e);return[d(JSON.stringify({alg:"none",type:"JWT"})),d(JSON.stringify(a)),""].join(".")}function C(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function A(){return"undefined"!=typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(C())}function O(){var e;let t=null===(e=v())||void 0===e?void 0:e.forceEnvironment;if("node"===t)return!0;if("browser"===t)return!1;try{return"[object process]"===Object.prototype.toString.call(r.g.process)}catch(e){return!1}}function D(){let e="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof e&&void 0!==e.id}function N(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function k(){let e=C();return e.indexOf("MSIE ")>=0||e.indexOf("Trident/")>=0}function P(){return!0===n.NODE_CLIENT||!0===n.NODE_ADMIN}
1function L(){return!O()&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function T(){try{return"object"==typeof indexedDB}catch(e){return!1}}function B(){return new Promise((e,t)=>{try{let r=!0,i="validate-browser-context-for-indexeddb-analytics-module",n=self.indexedDB.open(i);n.onsuccess=()=>{n.result.close(),r||self.indexedDB.deleteDatabase(i),e(!0)},n.onupgradeneeded=()=>{r=!1},n.onerror=()=>{var e;t((null===(e=n.error)||void 0===e?void 0:e.message)||"")}}catch(e){t(e)}})}class R extends Error{constructor(e,t,r){super(t),this.code=e,this.customData=r,this.name="FirebaseError",Object.setPrototypeOf(this,R.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,M.prototype.create)}}class M{constructor(e,t,r){this.service=e,this.serviceName=t,this.errors=r}create(e,...t){let r=t[0]||{},i=`${this.service}/${e}`,n=this.errors[e],a=n?n.replace(j,(e,t)=>{let i=r[t];return null!=i?String(i):`<${t}?>`}):"Error",s=`${this.serviceName}: ${a} (${i}).`;return new R(i,s,r)}}let j=/\{\$([^}]+)}/g;function x(e){return JSON.parse(e)}function $(e){return JSON.stringify(e)}let W=function(e){let t={},r={},i={},n="";try{let a=e.split(".");t=x(f(a[0])||""),r=x(f(a[1])||""),n=a[2],i=r.d||{},delete r.d}catch(e){}return{header:t,claims:r,data:i,signature:n}},F=function(e){let t=W(e).claims;return!!t&&"object"==typeof t&&t.hasOwnProperty("iat")},H=function(e){let t=W(e).claims;return"object"==typeof t&&!0===t.admin};function U(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function z(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function V(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function G(e,t,r){let i={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=t.call(r,e[n],n,e));return i}function K(e){return null!==e&&"object"==typeof e}function J(e){let t=[];for(let[r,i]of Object.entries(e))Array.isArray(i)?i.forEach(e=>{t.push(encodeURIComponent(r)+"="+encodeURIComponent(e))}):t.push(encodeURIComponent(r)+"="+encodeURIComponent(i));return t.length?"&"+t.join("&"):""}function X(e){let t={};return e.replace(/^\?/,"").split("&").forEach(e=>{if(e){let[r,i]=e.split("=");
1t[decodeURIComponent(r)]=decodeURIComponent(i)}}),t}function q(e){let t=e.indexOf("?");if(!t)return"";let r=e.indexOf("#",t);return e.substring(t,r>0?r:void 0)}class Y{constructor(){this.chain_=[],this.buf_=[],this.W_=[],this.pad_=[],this.inbuf_=0,this.total_=0,this.blockSize=64,this.pad_[0]=128;for(let e=1;e<this.blockSize;++e)this.pad_[e]=0;this.reset()}reset(){this.chain_[0]=0x67452301,this.chain_[1]=0xefcdab89,this.chain_[2]=0x98badcfe,this.chain_[3]=0x10325476,this.chain_[4]=0xc3d2e1f0,this.inbuf_=0,this.total_=0}compress_(e,t){let r,i;t||(t=0);let n=this.W_;if("string"==typeof e)for(let r=0;r<16;r++)n[r]=e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|e.charCodeAt(t+3),t+=4;else for(let r=0;r<16;r++)n[r]=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3],t+=4;for(let e=16;e<80;e++){let t=n[e-3]^n[e-8]^n[e-14]^n[e-16];n[e]=(t<<1|t>>>31)&0xffffffff}let a=this.chain_[0],s=this.chain_[1],o=this.chain_[2],h=this.chain_[3],c=this.chain_[4];for(let e=0;e<80;e++){e<40?e<20?(r=h^s&(o^h),i=0x5a827999):(r=s^o^h,i=0x6ed9eba1):e<60?(r=s&o|h&(s|o),i=0x8f1bbcdc):(r=s^o^h,i=0xca62c1d6);let t=(a<<5|a>>>27)+r+c+i+n[e]&0xffffffff;c=h,h=o,o=(s<<30|s>>>2)&0xffffffff,s=a,a=t}this.chain_[0]=this.chain_[0]+a&0xffffffff,this.chain_[1]=this.chain_[1]+s&0xffffffff,this.chain_[2]=this.chain_[2]+o&0xffffffff,this.chain_[3]=this.chain_[3]+h&0xffffffff,this.chain_[4]=this.chain_[4]+c&0xffffffff}update(e,t){if(null==e)return;void 0===t&&(t=e.length);let r=t-this.blockSize,i=0,n=this.buf_,a=this.inbuf_;for(;i<t;){if(0===a)for(;i<=r;)this.compress_(e,i),i+=this.blockSize;if("string"==typeof e){for(;i<t;)if(n[a]=e.charCodeAt(i),++a,++i,a===this.blockSize){this.compress_(n),a=0;break}}else for(;i<t;)if(n[a]=e[i],++a,++i,a===this.blockSize){this.compress_(n),a=0;break}}this.inbuf_=a,this.total_+=t}digest(){let e=[],t=8*this.total_;this.inbuf_<56?this.update(this.pad_,56-this.inbuf_):this.update(this.pad_,this.blockSize-(this.inbuf_-56));for(let e=this.blockSize-1;e>=56;e--)this.buf_[e]=255&t,t/=256;this.compress_(this.buf_);let r=0;for(let t=0;t<5;t++)for(let i=24;i>=0;i-=8)e[r]=this.chain_[t]>>i&255,++r;return e}}function Z(e,t){let r=new Q(e,t);return r.subscribe.bind(r)}class Q{constructor(e,t){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then(()=>{e(this)}).catch(e=>{this.error(e)})}next(e){this.forEachObserver(t=>{t.next(e)})}error(e){this.forEachObserver(t=>{t.error(e)}),this.close(e)}complete(){this.forEachObserver(e=>{e.complete()}),this.close()}subscribe(e,t,r){let i;if(void 0===e&&void 0===t&&void 0===r)throw Error("Missing Observer.");void 0===(i=!function(e,t){if("object"!=typeof e||null===e)return!1;for(let r of t)if(r in e&&"function"==typeof e[r])return!0;return!1}(e,["next","error","complete"])?{next:e,error:t,complete:r}:e).next&&(i.next=ee),void 0===i.error&&(i.error=ee),void 0===i.complete&&(i.complete=ee);let n=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?i.error(this.finalError):i.complete()}catch(e){}}),this.observers.push(i),n}unsubscribeOne(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(e){if(!this.finalized)for(let t=0;t<this.observers.length;t++)this.sendOne(t,e)}sendOne(e,t){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[e])try{t(this.observers[e])}catch(e){"undefined"!=typeof console&&console.error&&console.error(e)}})}close(e){this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function ee(){}function et(e,t){return`${e} failed: ${t} argument `}let er=function(e){let t=[],r=0;for(let i=0;i<e.length;i++){let n=e.charCodeAt(i);if(n>=55296&&n<=56319){let t=n-55296;a(++i<e.length,"Surrogate pair missing trail surrogate."),n=65536+(t<<10)+(e.charCodeAt(i)-56320)}n<128?t[r++]=n:(n<2048?t[r++]=n>>6|192:(n<65536?t[r++]=n>>12|224:(t[r++]=n>>18|240,t[r++]=n>>12&63|128),t[r++]=n>>6&63|128),t[r++]=63&n|128)}return t},ei=function(e){let t=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);i<128?t++:i<2048?t+=2:i>=55296&&i<=56319?(t+=4,r++):t+=3}return t};function en(e,t=1e3,r=2){let i=t*Math.pow(r,e),n=Math.round(.5*i*(Math.random()-.5)*2);return Math.min(144e5,i+n)}function ea(e){return e&&e._delegate?e._delegate:e}},49928:(e,t,r)=>{let i,n;r.d(t,{g:()=>o.g,MF:()=>B,j6:()=>
1k,om:()=>N,Us:()=>P,Sx:()=>M,Dk:()=>j,Wp:()=>R,KO:()=>x});var a=r(5125),s=r(63424),o=r(36743);let h=(e,t)=>t.some(t=>e instanceof t),c=new WeakMap,l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap,p={get(e,t,r){if(e instanceof IDBTransaction){if("done"===t)return l.get(e);if("objectStoreNames"===t)return e.objectStoreNames||u.get(e);if("store"===t)return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return g(e[t])},set:(e,t,r)=>(e[t]=r,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function g(e){var t;if(e instanceof IDBRequest)return function(e){let t=new Promise((t,r)=>{let i=()=>{e.removeEventListener("success",n),e.removeEventListener("error",a)},n=()=>{t(g(e.result)),i()},a=()=>{r(e.error),i()};e.addEventListener("success",n),e.addEventListener("error",a)});return t.then(t=>{t instanceof IDBCursor&&c.set(t,e)}).catch(()=>{}),f.set(t,e),t}(e);if(d.has(e))return d.get(e);let r="function"==typeof(t=e)?t!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(n||(n=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(b(this),e),g(c.get(this))}:function(...e){return g(t.apply(b(this),e))}:function(e,...r){let i=t.call(b(this),e,...r);return u.set(i,e.sort?e.sort():[e]),g(i)}:(t instanceof IDBTransaction&&function(e){if(l.has(e))return;let t=new Promise((t,r)=>{let i=()=>{e.removeEventListener("complete",n),e.removeEventListener("error",a),e.removeEventListener("abort",a)},n=()=>{t(),i()},a=()=>{r(e.error||new DOMException("AbortError","AbortError")),i()};e.addEventListener("complete",n),e.addEventListener("error",a),e.addEventListener("abort",a)});l.set(e,t)}(t),h(t,i||(i=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])))?new Proxy(t,p):t;return r!==e&&(d.set(e,r),f.set(r,e)),r}let b=e=>f.get(e),m=["get","getKey","getAll","getAllKeys","count"],v=["put","add","delete","clear"],_=new Map;function E(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&"string"==typeof t))return;if(_.get(t))return _.get(t);let r=t.replace(/FromIndex$/,""),i=t!==r,n=v.includes(r);if(!(r in(i?IDBIndex:IDBObjectStore).prototype)||!(n||m.includes(r)))return;let a=async function(e,...t){let a=this.transaction(e,n?"readwrite":"readonly"),s=a.store;return i&&(s=s.index(t.shift())),(await Promise.all([s[r](...t),n&&a.done]))[0]};return _.set(t,a),a}p=(e=>({...e,get:(t,r,i)=>E(t,r)||e.get(t,r,i),has:(t,r)=>!!E(t,r)||e.has(t,r)}))(p);class y{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map(e=>{if(!function(e){let t=e.getComponent();return(null==t?void 0:t.type)==="VERSION"}(e))return null;{let t=e.getImmediate();return`${t.library}/${t.version}`}}).filter(e=>e).join(" ")}}let I="@firebase/app",w="0.9.13",S=new s.Vy("@firebase/app"),C="[DEFAULT]",A={[I]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/database-compat":"fire-rtdb-compat","@firebase/functions":"fire-fn","@firebase/functions-compat":"fire-fn-compat","@firebase/installations":"fire-iid","@firebase/installations-compat":"fire-iid-compat","@firebase/messaging":"fire-fcm","@firebase/messaging-compat":"fire-fcm-compat","@firebase/performance":"fire-perf","@firebase/performance-compat":"fire-perf-compat","@firebase/remote-config":"fire-rc","@firebase/remote-config-compat":"fire-rc-compat","@firebase/storage":"fire-gcs","@firebase/storage-compat":"fire-gcs-compat","@firebase/firestore":"fire-fst","@firebase/firestore-compat":"fire-fst-compat","fire-js":"fire-js",firebase:"fire-js-all"},O=new Map,D=new Map;function N(e){let t=e.name;if(D.has(t))return S.debug(`There were multiple attempts to register component ${t}.`),!1;for(let r of(D.set(t,e),O.values()))!function(e,t){try{e.container.addComponent(t)}catch(r){S.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,r)}}(r,e);return!0}function k(e,t){let r=e.container.getProvider("heartbeat").getImmediate({optional:!0});return r&&r.triggerHeartbeat(),e.container.getProvider(t)}function P(e,t,r=C){k(e,t).clearInstance(r)}let L=new o.FA("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invali
1d-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."});class T{constructor(e,t,r){this._isDeleted=!1,this._options=Object.assign({},e),this._config=Object.assign({},t),this._name=t.name,this._automaticDataCollectionEnabled=t.automaticDataCollectionEnabled,this._container=r,this.container.addComponent(new a.uA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(e){this.checkDestroyed(),this._automaticDataCollectionEnabled=e}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}checkDestroyed(){if(this.isDeleted)throw L.create("app-deleted",{appName:this._name})}}let B="9.23.0";function R(e,t={}){let r=e;"object"!=typeof t&&(t={name:t});let i=Object.assign({name:C,automaticDataCollectionEnabled:!1},t),n=i.name;if("string"!=typeof n||!n)throw L.create("bad-app-name",{appName:String(n)});if(r||(r=(0,o.T9)()),!r)throw L.create("no-options");let s=O.get(n);if(s){if((0,o.bD)(r,s.options)&&(0,o.bD)(i,s.config))return s;throw L.create("duplicate-app",{appName:n})}let h=new a.h1(n);for(let e of D.values())h.addComponent(e);let c=new T(r,i,h);return O.set(n,c),c}function M(e=C){let t=O.get(e);if(!t&&e===C&&(0,o.T9)())return R();if(!t)throw L.create("no-app",{appName:e});return t}function j(){return Array.from(O.values())}function x(e,t,r){var i;let n=null!==(i=A[e])&&void 0!==i?i:e;r&&(n+=`-${r}`);let s=n.match(/\s|\//),o=t.match(/\s|\//);if(s||o){let e=[`Unable to register library "${n}" with version "${t}":`];s&&e.push(`library name "${n}" contains illegal characters (whitespace or "/")`),s&&o&&e.push("and"),o&&e.push(`version name "${t}" contains illegal characters (whitespace or "/")`),S.warn(e.join(" "));return}N(new a.uA(`${n}-version`,()=>({library:n,version:t}),"VERSION"))}let $="firebase-heartbeat-store",W=null;function F(){return W||(W=(function(e,t,{blocked:r,upgrade:i,blocking:n,terminated:a}={}){let s=indexedDB.open(e,1),o=g(s);return i&&s.addEventListener("upgradeneeded",e=>{i(g(s.result),e.oldVersion,e.newVersion,g(s.transaction),e)}),r&&s.addEventListener("blocked",e=>r(e.oldVersion,e.newVersion,e)),o.then(e=>{a&&e.addEventListener("close",()=>a()),n&&e.addEventListener("versionchange",e=>n(e.oldVersion,e.newVersion,e))}).catch(()=>{}),o})("firebase-heartbeat-database",0,{upgrade:(e,t)=>{0===t&&e.createObjectStore($)}}).catch(e=>{throw L.create("idb-open",{originalErrorMessage:e.message})})),W}async function H(e){try{let t=await F();return await t.transaction($).objectStore($).get(z(e))}catch(e){if(e instanceof o.g)S.warn(e.message);else{let t=L.create("idb-get",{originalErrorMessage:null==e?void 0:e.message});S.warn(t.message)}}}async function U(e,t){try{let r=(await F()).transaction($,"readwrite"),i=r.objectStore($);await i.put(t,z(e)),await r.done}catch(e){if(e instanceof o.g)S.warn(e.message);else{let t=L.create("idb-set",{originalErrorMessage:null==e?void 0:e.message});S.warn(t.message)}}}function z(e){return`${e.name}!${e.options.appId}`}class V{constructor(e){this.container=e,this._heartbeatsCache=null;let t=this.container.getProvider("app").getImmediate();this._storage=new K(t),this._heartbeatsCachePromise=this._storage.read().then(e=>(this._heartbeatsCache=e,e))}async triggerHeartbeat(){let e=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),t=G();return(null===this._heartbeatsCache&&(this._heartbeatsCache=await this._heartbeatsCachePromise),this._heartbeatsCache.lastSentHeartbeatDate===t||this._heartbeatsCache.heartbeats.some(e=>e.date===t))?void 0:(this._heartbeatsCache.heartbeats.push({date:t,agent:e}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(e=>{let t=new Date(e.date).valueOf();return Date.now()-t<=2592e6}),this._storage.overwrite(this._heartbeatsCache))}
1async getHeartbeatsHeader(){if(null===this._heartbeatsCache&&await this._heartbeatsCachePromise,null===this._heartbeatsCache||0===this._heartbeatsCache.heartbeats.length)return"";let e=G(),{heartbeatsToSend:t,unsentEntries:r}=function(e,t=1024){let r=[],i=e.slice();for(let n of e){let e=r.find(e=>e.agent===n.agent);if(e){if(e.dates.push(n.date),J(r)>t){e.dates.pop();break}}else if(r.push({agent:n.agent,dates:[n.date]}),J(r)>t){r.pop();break}i=i.slice(1)}return{heartbeatsToSend:r,unsentEntries:i}}(this._heartbeatsCache.heartbeats),i=(0,o.Uj)(JSON.stringify({version:2,heartbeats:t}));return this._heartbeatsCache.lastSentHeartbeatDate=e,r.length>0?(this._heartbeatsCache.heartbeats=r,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),i}}function G(){return new Date().toISOString().substring(0,10)}class K{constructor(e){this.app=e,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return!!(0,o.zW)()&&(0,o.eX)().then(()=>!0).catch(()=>!1)}async read(){return await this._canUseIndexedDBPromise&&await H(this.app)||{heartbeats:[]}}async overwrite(e){var t;if(await this._canUseIndexedDBPromise){let r=await this.read();return U(this.app,{lastSentHeartbeatDate:null!==(t=e.lastSentHeartbeatDate)&&void 0!==t?t:r.lastSentHeartbeatDate,heartbeats:e.heartbeats})}}async add(e){var t;if(await this._canUseIndexedDBPromise){let r=await this.read();return U(this.app,{lastSentHeartbeatDate:null!==(t=e.lastSentHeartbeatDate)&&void 0!==t?t:r.lastSentHeartbeatDate,heartbeats:[...r.heartbeats,...e.heartbeats]})}}}function J(e){return(0,o.Uj)(JSON.stringify({version:2,heartbeats:e})).length}N(new a.uA("platform-logger",e=>new y(e),"PRIVATE")),N(new a.uA("heartbeat",e=>new V(e),"PRIVATE")),x(I,w,""),x(I,w,"esm2017"),x("fire-js","")},82135:(e,t,r)=>{function i(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)0>t.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}r.d(t,{Tt:()=>i}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError},5125:(e,t,r)=>{r.d(t,{h1:()=>o,uA:()=>n});var i=r(36743);class n{constructor(e,t,r){this.name=e,this.instanceFactory=t,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}let a="[DEFAULT]";class s{constructor(e,t){this.name=e,this.container=t,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(e){let t=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(t)){let e=new i.cY;if(this.instancesDeferred.set(t,e),this.isInitialized(t)||this.shouldAutoInitialize())try{let r=this.getOrInitializeService({instanceIdentifier:t});r&&e.resolve(r)}catch(e){}}return this.instancesDeferred.get(t).promise}getImmediate(e){var t;let r=this.normalizeInstanceIdentifier(null==e?void 0:e.identifier),i=null!==(t=null==e?void 0:e.optional)&&void 0!==t&&t;if(this.isInitialized(r)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:r})}catch(e){if(i)return null;throw e}else{if(i)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(e){if(e.name!==this.name)throw Error(`Mismatching Component ${e.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=e,this.shouldAutoInitialize()){if("EAGER"===e.instantiationMode)try{this.getOrInitializeService({instanceIdentifier:a})}catch(e){}for(let[e,t]of this.instancesDeferred.entries()){let r=this.normalizeInstanceIdentifier(e);try{let e=this.getOrInitializeService({instanceIdentifier:r});t.resolve(e)}catch(e){}}}}clearInstance(e=a){this.instancesDeferred.delete(e),this.instancesOptions.delete(e),this.instances.delete(e)}async delete(){let e=Array.from(this.instances.values());await Promise.all([...e.filter(e=>"INTERNAL"in e).map(e=>e.INTERNAL.delete()),...e.filter(e=>"_delete"in e).map(e=>e._delete())])}isComponentSet(){return null!=this.component}isInitialized(e=a){return this.instances.has(e)}getOptions(e=a){return this.instancesOptions.get(e)||{}}initialize(e={}){let{options:t={}}=e,r=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(r))throw Error(`${this.name}(${r}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);let i=this.getOrInitializeService({instanceIdentifier:r,options:t});for(let[e,t]of this.instancesDeferred.entries())r===this.normalizeInstanceIdentifier(e)&&t.resolve(i);return i}onInit(e,t){var r;let i=this.normalizeInstanceIdentifier(t),n=null!==(r=this.onInitCallbacks.get(i))&&void 0!==r?r:new Set;n.add(e),this.onInitCallbacks.set(i,n);let a=this.instances.get(i);return a&&e(a,i),()=>{n.delete(e)}}invokeOnInitCallbacks(e,t){let r=this.onInitCallbacks.get(t);if(r)for(let i of r)try{i(e,t)}catch(e){}}getOrInitializeService({instanceIdentifier:e,options:t={}}){let r=this.instances.get(e);if(!r&&this.component&&(r=this.component.instanceFactory(this.container,{instanceIdentifier:e===a?void 0:e,options:t}),this.instances.set(e,r),this.instancesOptions.set(e,t),this.invokeOnInitCallbacks(r,e),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,e,r)}catch(e){}return r||null}normalizeInstanceIdentifier(e=a){return this.component?this.component.multipleInstances?e:a:e}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class o{constructor(e){this.name=e,this.providers=new Map}addComponent(e){let t=this.getProvider(e.name);if(t.isComponentSet())throw Error(`Component ${e.name} has already been registered with ${this.name}`);t.setComponent(e)}addOrOverwriteComponent(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)}getProvider(e){if(this.providers.has(e))return this.providers.get(e);let t=new s(e,this);return this.providers.set(e,t),t}getProviders(){return Array.from(this.providers.values())}}},63424:(e,t,r)=>{var i;r.d(t,{$b:()=>i,Vy:()=>c});let n=[];!function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.E
1RROR=4]="ERROR",e[e.SILENT=5]="SILENT"}(i||(i={}));let a={debug:i.DEBUG,verbose:i.VERBOSE,info:i.INFO,warn:i.WARN,error:i.ERROR,silent:i.SILENT},s=i.INFO,o={[i.DEBUG]:"log",[i.VERBOSE]:"log",[i.INFO]:"info",[i.WARN]:"warn",[i.ERROR]:"error"},h=(e,t,...r)=>{if(t<e.logLevel)return;let i=new Date().toISOString(),n=o[t];if(n)console[n](`[${i}]  ${e.name}:`,...r);else throw Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class c{constructor(e){this.name=e,this._logLevel=s,this._logHandler=h,this._userLogHandler=null,n.push(this)}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in i))throw TypeError(`Invalid value "${e}" assigned to \`logLevel\``);this._logLevel=e}setLogLevel(e){this._logLevel="string"==typeof e?a[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if("function"!=typeof e)throw TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,i.DEBUG,...e),this._logHandler(this,i.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,i.VERBOSE,...e),this._logHandler(this,i.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,i.INFO,...e),this._logHandler(this,i.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,i.WARN,...e),this._logHandler(this,i.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,i.ERROR,...e),this._logHandler(this,i.ERROR,...e)}}},70223:(e,t,r)=>{r.d(t,{Dk:()=>i.Dk,KO:()=>i.KO,Sx:()=>i.Sx,Wp:()=>i.Wp,g:()=>i.g});var i=r(49928);(0,i.KO)("firebase","9.23.0","app")},61032:(e,t,r)=>{r.r(t),r.d(t,{ActionCodeOperation:()=>i.A,ActionCodeURL:()=>i.ag,AuthCredential:()=>i.J,AuthErrorCodes:()=>i.G,EmailAuthCredential:()=>i.K,EmailAuthProvider:()=>i.Q,FacebookAuthProvider:()=>i.U,FactorId:()=>i.F,GithubAuthProvider:()=>i.W,GoogleAuthProvider:()=>i.V,OAuthCredential:()=>i.L,OAuthProvider:()=>i.X,OperationType:()=>i.O,PhoneAuthCredential:()=>i.M,PhoneAuthProvider:()=>i.P,PhoneMultiFactorGenerator:()=>i.m,ProviderId:()=>i.p,RecaptchaVerifier:()=>i.R,SAMLAuthProvider:()=>i.Y,SignInMethod:()=>i.S,TotpMultiFactorGenerator:()=>i.T,TotpSecret:()=>i.n,TwitterAuthProvider:()=>i.Z,applyActionCode:()=>i.a5,beforeAuthStateChanged:()=>i.w,browserLocalPersistence:()=>i.b,browserPopupRedirectResolver:()=>i.k,browserSessionPersistence:()=>i.a,checkActionCode:()=>i.a6,confirmPasswordReset:()=>i.a4,connectAuthEmulator:()=>i.I,createUserWithEmailAndPassword:()=>i.a8,debugErrorMap:()=>i.D,deleteUser:()=>i.C,fetchSignInMethodsForEmail:()=>i.ad,getAdditionalUserInfo:()=>i.ao,getAuth:()=>i.o,getIdToken:()=>i.al,getIdTokenResult:()=>i.am,getMultiFactorResolver:()=>i.aq,getRedirectResult:()=>i.j,inMemoryPersistence:()=>i.N,indexedDBLocalPersistence:()=>i.i,initializeAuth:()=>i.H,initializeRecaptchaConfig:()=>i.t,isSignInWithEmailLink:()=>i.ab,linkWithCredential:()=>i.a0,linkWithPhoneNumber:()=>i.l,linkWithPopup:()=>i.d,linkWithRedirect:()=>i.g,multiFactor:()=>i.ar,onAuthStateChanged:()=>i.x,onIdTokenChanged:()=>i.v,parseActionCodeURL:()=>i.ah,prodErrorMap:()=>i.E,reauthenticateWithCredential:()=>i.a1,reauthenticateWithPhoneNumber:()=>i.r,reauthenticateWithPopup:()=>i.e,reauthenticateWithRedirect:()=>i.h,reload:()=>i.ap,sendEmailVerification:()=>i.ae,sendPasswordResetEmail:()=>i.a3,sendSignInLinkToEmail:()=>i.aa,setPersistence:()=>i.q,signInAnonymously:()=>i._,signInWithCredential:()=>i.$,signInWithCustomToken:()=>i.a2,signInWithEmailAndPassword:()=>i.a9,signInWithEmailLink:()=>i.ac,signInWithPhoneNumber:()=>i.s,signInWithPopup:()=>i.c,signInWithRedirect:()=>i.f,signOut:()=>i.B,unlink:()=>i.an,updateCurrentUser:()=>i.z,updateEmail:()=>i.aj,updatePassword:()=>i.ak,updatePhoneNumber:()=>i.u,updateProfile:()=>i.ai,useDeviceLanguage:()=>i.y,verifyBeforeUpdateEmail:()=>i.af,verifyPasswordResetCode:()=>i.a7});var i=r(48509);r(36743),r(49928),r(63424),r(5125)}}]);

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.