PageSourceSearch

https://amministrapro.web.app/_next/static/chunks/91531-f4005dfcdbe80911.js

js amministrapro.web.app collected 2026-10-03 12:16:53 UTC 100,559 bytes, 15 lines download raw bytes

1!function(){try{var t="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="2c0c6c22-57f2-4e06-b114-a2be3795c1e3",t._sentryDebugIdIdentifier="sentry-dbid-2c0c6c22-57f2-4e06-b114-a2be3795c1e3")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[91531],{13549:(t,e,i)=>{i.d(e,{VV:()=>r,jz:()=>n});var n,r,s="u">typeof globalThis?globalThis:"u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{},o={};(function(){function t(){this.blockSize=-1,this.blockSize=64,this.g=[,,,,],this.C=Array(this.blockSize),this.o=this.h=0,this.u()}var e=function(){this.blockSize=-1};function i(){}function s(t,e,i){i||(i=0);let n=Array(16);if("string"==typeof e)for(var r=0;r<16;++r)n[r]=e.charCodeAt(i++)|e.charCodeAt(i++)<<8|e.charCodeAt(i++)<<16|e.charCodeAt(i++)<<24;else for(r=0;r<16;++r)n[r]=e[i++]|e[i++]<<8|e[i++]<<16|e[i++]<<24;e=t.g[0],i=t.g[1],r=t.g[2];let s=t.g[3],o;o=e+(s^i&(r^s))+n[0]+0xd76aa478|0,o=s+(r^(e=i+(o<<7|o>>>25))&(i^r))+n[1]+0xe8c7b756|0,o=r+(i^(s=e+(o<<12|o>>>20))&(e^i))+n[2]+0x242070db|0,o=i+(e^(r=s+(o<<17|o>>>15))&(s^e))+n[3]+0xc1bdceee|0,o=e+(s^(i=r+(o<<22|o>>>10))&(r^s))+n[4]+0xf57c0faf|0,o=s+(r^(e=i+(o<<7|o>>>25))&(i^r))+n[5]+0x4787c62a|0,o=r+(i^(s=e+(o<<12|o>>>20))&(e^i))+n[6]+0xa8304613|0,o=i+(e^(r=s+(o<<17|o>>>15))&(s^e))+n[7]+0xfd469501|0,o=e+(s^(i=r+(o<<22|o>>>10))&(r^s))+n[8]+0x698098d8|0,o=s+(r^(e=i+(o<<7|o>>>25))&(i^r))+n[9]+0x8b44f7af|0,o=r+(i^(s=e+(o<<12|o>>>20))&(e^i))+n[10]+0xffff5bb1|0,o=i+(e^(r=s+(o<<17|o>>>15))&(s^e))+n[11]+0x895cd7be|0,o=e+(s^(i=r+(o<<22|o>>>10))&(r^s))+n[12]+0x6b901122|0,o=s+(r^(e=i+(o<<7|o>>>25))&(i^r))+n[13]+0xfd987193|0,o=r+(i^(s=e+(o<<12|o>>>20))&(e^i))+n[14]+0xa679438e|0,o=i+(e^(r=s+(o<<17|o>>>15))&(s^e))+n[15]+0x49b40821|0,i=r+(o<<22|o>>>10),o=e+(r^s&(i^r))+n[1]+0xf61e2562|0,e=i+(o<<5|o>>>27),o=s+(i^r&(e^i))+n[6]+0xc040b340|0,s=e+(o<<9|o>>>23),o=r+(e^i&(s^e))+n[11]+0x265e5a51|0,r=s+(o<<14|o>>>18),o=i+(s^e&(r^s))+n[0]+0xe9b6c7aa|0,i=r+(o<<20|o>>>12),o=e+(r^s&(i^r))+n[5]+0xd62f105d|0,e=i+(o<<5|o>>>27),o=s+(i^r&(e^i))+n[10]+0x2441453|0,s=e+(o<<9|o>>>23),o=r+(e^i&(s^e))+n[15]+0xd8a1e681|0,r=s+(o<<14|o>>>18),o=i+(s^e&(r^s))+n[4]+0xe7d3fbc8|0,i=r+(o<<20|o>>>12),o=e+(r^s&(i^r))+n[9]+0x21e1cde6|0,e=i+(o<<5|o>>>27),o=s+(i^r&(e^i))+n[14]+0xc33707d6|0,s=e+(o<<9|o>>>23),o=r+(e^i&(s^e))+n[3]+0xf4d50d87|0,r=s+(o<<14|o>>>18),o=i+(s^e&(r^s))+n[8]+0x455a14ed|0,i=r+(o<<20|o>>>12),o=e+(r^s&(i^r))+n[13]+0xa9e3e905|0,e=i+(o<<5|o>>>27),o=s+(i^r&(e^i))+n[2]+0xfcefa3f8|0,s=e+(o<<9|o>>>23),o=r+(e^i&(s^e))+n[7]+0x676f02d9|0,r=s+(o<<14|o>>>18),o=i+(s^e&(r^s))+n[12]+0x8d2a4c8a|0,o=e+((i=r+(o<<20|o>>>12))^r^s)+n[5]+0xfffa3942|0,o=s+((e=i+(o<<4|o>>>28))^i^r)+n[8]+0x8771f681|0,o=r+((s=e+(o<<11|o>>>21))^e^i)+n[11]+0x6d9d6122|0,o=i+((r=s+(o<<16|o>>>16))^s^e)+n[14]+0xfde5380c|0,o=e+((i=r+(o<<23|o>>>9))^r^s)+n[1]+0xa4beea44|0,o=s+((e=i+(o<<4|o>>>28))^i^r)+n[4]+0x4bdecfa9|0,o=r+((s=e+(o<<11|o>>>21))^e^i)+n[7]+0xf6bb4b60|0,o=i+((r=s+(o<<16|o>>>16))^s^e)+n[10]+0xbebfbc70|0,o=e+((i=r+(o<<23|o>>>9))^r^s)+n[13]+0x289b7ec6|0,o=s+((e=i+(o<<4|o>>>28))^i^r)+n[0]+0xeaa127fa|0,o=r+((s=e+(o<<11|o>>>21))^e^i)+n[3]+0xd4ef3085|0,o=i+((r=s+(o<<16|o>>>16))^s^e)+n[6]+0x4881d05|0,o=e+((i=r+(o<<23|o>>>9))^r^s)+n[9]+0xd9d4d039|0,o=s+((e=i+(o<<4|o>>>28))^i^r)+n[12]+0xe6db99e5|0,o=r+((s=e+(o<<11|o>>>21))^e^i)+n[15]+0x1fa27cf8|0,o=i+((r=s+(o<<16|o>>>16))^s^e)+n[2]+0xc4ac5665|0,i=r+(o<<23|o>>>9),o=e+(r^(i|~s))+n[0]+0xf4292244|0,e=i+(o<<6|o>>>26),o=s+(i^(e|~r))+n[7]+0x432aff97|0,s=e+(o<<10|o>>>22),o=r+(e^(s|~i))+n[14]+0xab9423a7|0,r=s+(o<<15|o>>>17),o=i+(s^(r|~e))+n[5]+0xfc93a039|0,i=r+(o<<21|o>>>11),o=e+(r^(i|~s))+n[12]+0x655b59c3|0,e=i+(o<<6|o>>>26),o=s+(i^(e|~r))+n[3]+0x8f0ccc92|0,s=e+(o<<10|o>>>22),o=r+(e^(s|~i))+n[10]+0xffeff47d|0,r=s+(o<<15|o>>>17),o=i+(s^(r|~e))+n[1]+0x85845dd1|0,i=r+(o<<21|o>>>11),o=e+(r^(i|~s))+n[8]+0x6fa87e4f|0,e=i+(o<<6|o>>>26),o=s+(i^(e|~r))+n[15]+0xfe2ce6e0|0,s=e+(o<<10|o>>>22),o=r+(e^(s|~i))+n[6]+0xa3014314|0,r=s+(o<<15|o>>>17),o=i+(s^(r|~e))+n[13]+0x4e0811a1|0,i=r+(o<<21|o>>>11),o=e+(r^(i|~s))+n[4]+0xf7537e82|0,e=i+(o<<6|o>>>26),o=s+(i^(e|~r))+n[11]+0xbd3af235|0,s=e+(o<<10|o>>>22),o=r+(e^(s|~i))+n[2]+0x2ad7d2bb|0,r=s+(o<<15|o>>>17),o=i+(s^(r|~e))+n[9]+0xeb86d391|0,t.g[0]=t.g[0]+e|0,t.g[1]=t.g[1]+(r+(o<<21|o>>>11))|0,t.g[2]=t.g[2]+r|0,t.g[3]=t.g[3]+s|0}function a(t,e){this.h=e;let i=[],n=!0;for(let r=t.length-1;r>=0;r--){let s=0|t[r];n&&s==e||(i[r]=s,n=!1)}this.g=i}i.prototype=e.prototype,t.F=e.prototype,t.prototype=new i,t.prototype.constructor=t,t.D=function(t,i,n){for(var r=Array(arguments.length-2),s=2;s<arguments.length;s++)r[s-2]=arguments[s];return e.prototype[i].apply(t,r)},t.prototype.u=function(){this.g[0]=0x67452301,this.g[1]=0xefcdab89,this.g[2]=0x98badcfe,this.g[3]=0x10325476,this.o=this.h=0},t.prototype.v=function(t,e){void 0===e&&(e=t.length);let i=e-this.blockSize,n=this.C,r=this.h,o=0;for(;o<e;){if(0==r)for(;o<=i;)s(this,t,o),o+=this.blockSize;if("string"==typeof t){for(;o<e;)if(n[r++]=t.charCodeAt(o++),r==this.blockSize){s(this,n),r=0;break}}else for(;o<e;)if(n[r++]=t[o++],r==this.blockSize){s(this,n),r=0;break}}this.h=r,this.o+=e},t.prototype.A=function(){var t=Array((this.h<56?this.blockSize:2*this.blockSize)-this.h);t[0]=128;for(var e=1;e<t.length-8;++e)t[e]=0;e=8*this.o;for(var i=t.length-8;i<t.length;++i)t[i]=255&e,e/=256;for(this.v(t),t=Array(16),e=0,i=0;i<4;++i)for(let n=0;n<32;n+=8)t[e++]=this.g[i]>>>n&255;return t};var h,l={};function u(t){var e;return -128<=t&&t<128?(e=function(t){return new a([0|t],t<0?-1:0)},Object.prototype.hasOwnProperty.call(l,t)?l[t]:l[t]=e(t)):new a([0|t],t<0?-1:0)}function c(t){if(isNaN(t)||!isFinite(t))return f;if(t<0)return m(c(-t));let e=[],i=1;for(let n=0;t>=i;
1n++)e[n]=t/i|0,i*=0x100000000;return new a(e,0)}var f=u(0),d=u(1),p=u(0x1000000);function g(t){if(0!=t.h)return!1;for(let e=0;e<t.g.length;e++)if(0!=t.g[e])return!1;return!0}function y(t){return -1==t.h}function m(t){let e=t.g.length,i=[];for(let n=0;n<e;n++)i[n]=~t.g[n];return new a(i,~t.h).add(d)}function b(t,e){return t.add(m(e))}function v(t,e){for(;(65535&t[e])!=t[e];)t[e+1]+=t[e]>>>16,t[e]&=65535,e++}function _(t,e){this.g=t,this.h=e}function w(t,e){if(g(e))throw Error("division by zero");if(g(t))return new _(f,f);if(y(t))return e=w(m(t),e),new _(m(e.g),m(e.h));if(y(e))return e=w(t,m(e)),new _(m(e.g),e.h);if(t.g.length>30){if(y(t)||y(e))throw Error("slowDivide_ only works with positive integers.");for(var i=d,n=e;0>=n.l(t);)i=C(i),n=C(n);var r=I(i,1),s=I(n,1);for(n=I(n,2),i=I(i,2);!g(n);){var o=s.add(n);0>=o.l(t)&&(r=r.add(i),s=o),n=I(n,1),i=I(i,1)}return e=b(t,r.j(e)),new _(r,e)}for(r=f;t.l(e)>=0;){for(n=(n=Math.ceil(Math.log(i=Math.max(1,Math.floor(t.m()/e.m())))/Math.LN2))<=48?1:Math.pow(2,n-48),o=(s=c(i)).j(e);y(o)||o.l(t)>0;)i-=n,o=(s=c(i)).j(e);g(s)&&(s=d),r=r.add(s),t=b(t,o)}return new _(r,t)}function C(t){let e=t.g.length+1,i=[];for(let n=0;n<e;n++)i[n]=t.i(n)<<1|t.i(n-1)>>>31;return new a(i,t.h)}function I(t,e){let i=e>>5;e%=32;let n=t.g.length-i,r=[];for(let s=0;s<n;s++)r[s]=e>0?t.i(s+i)>>>e|t.i(s+i+1)<<32-e:t.i(s+i);return new a(r,t.h)}(h=a.prototype).m=function(){if(y(this))return-m(this).m();let t=0,e=1;for(let i=0;i<this.g.length;i++){let n=this.i(i);t+=(n>=0?n:0x100000000+n)*e,e*=0x100000000}return t},h.toString=function(t){if((t=t||10)<2||36<t)throw Error("radix out of range: "+t);if(g(this))return"0";if(y(this))return"-"+m(this).toString(t);let e=c(Math.pow(t,6));var i=this;let n="";for(;;){let r=w(i,e).g,s=(((i=b(i,r.j(e))).g.length>0?i.g[0]:i.h)>>>0).toString(t);if(g(i=r))return s+n;for(;s.length<6;)s="0"+s;n=s+n}},h.i=function(t){return t<0?0:t<this.g.length?this.g[t]:this.h},h.l=function(t){return y(t=b(this,t))?-1:+!g(t)},h.abs=function(){return y(this)?m(this):this},h.add=function(t){let e=Math.max(this.g.length,t.g.length),i=[],n=0;for(let r=0;r<=e;r++){let e=n+(65535&this.i(r))+(65535&t.i(r)),s=(e>>>16)+(this.i(r)>>>16)+(t.i(r)>>>16);n=s>>>16,e&=65535,s&=65535,i[r]=s<<16|e}return new a(i,-0x80000000&i[i.length-1]?-1:0)},h.j=function(t){if(g(this)||g(t))return f;if(y(this))return y(t)?m(this).j(m(t)):m(m(this).j(t));if(y(t))return m(this.j(m(t)));if(0>this.l(p)&&0>t.l(p))return c(this.m()*t.m());let e=this.g.length+t.g.length,i=[];for(var n=0;n<2*e;n++)i[n]=0;for(n=0;n<this.g.length;n++)for(let e=0;e<t.g.length;e++){let r=this.i(n)>>>16,s=65535&this.i(n),o=t.i(e)>>>16,a=65535&t.i(e);i[2*n+2*e]+=s*a,v(i,2*n+2*e),i[2*n+2*e+1]+=r*a,v(i,2*n+2*e+1),i[2*n+2*e+1]+=s*o,v(i,2*n+2*e+1),i[2*n+2*e+2]+=r*o,v(i,2*n+2*e+2)}for(t=0;t<e;t++)i[t]=i[2*t+1]<<16|i[2*t];for(t=e;t<2*e;t++)i[t]=0;return new a(i,0)},h.B=function(t){return w(this,t).h},h.and=function(t){let e=Math.max(this.g.length,t.g.length),i=[];for(let n=0;n<e;n++)i[n]=this.i(n)&t.i(n);return new a(i,this.h&t.h)},h.or=function(t){let e=Math.max(this.g.length,t.g.length),i=[];for(let n=0;n<e;n++)i[n]=this.i(n)|t.i(n);return new a(i,this.h|t.h)},h.xor=function(t){let e=Math.max(this.g.length,t.g.length),i=[];for(let n=0;n<e;n++)i[n]=this.i(n)^t.i(n);return new a(i,this.h^t.h)},t.prototype.digest=t.prototype.A,t.prototype.reset=t.prototype.u,t.prototype.update=t.prototype.v,r=o.Md5=t,a.prototype.add=a.prototype.add,a.prototype.multiply=a.prototype.j,a.prototype.modulo=a.prototype.B,a.prototype.compare=a.prototype.l,a.prototype.toNumber=a.prototype.m,a.prototype.toString=a.prototype.toString,a.prototype.getBits=a.prototype.i,a.fromNumber=c,a.fromString=function t(e,i){if(0==e.length)throw Error("number format error: empty string");if((i=i||10)<2||36<i)throw Error("radix out of range: "+i);if("-"==e.charAt(0))return m(t(e.substring(1),i));if(e.indexOf("-")>=0)throw Error('number format error: interior "-" character');let n=c(Math.pow(i,8)),r=f;for(let t=0;t<e.length;t+=8){var s=Math.min(8,e.length-t);let o=parseInt(e.substring(t,t+s),i);s<8?(s=c(Math.pow(i,s)),r=r.j(s).add(c(o))):r=(r=r.j(n)).add(c(o))}return r},n=o.Integer=a}).apply(void 0!==s?s:"u">typeof self?self:"u">typeof window?window:{})},15154:(t,e,i)=>{let n,r,s;i.d(e,{MF:()=>L,j6:()=>N,xZ:()=>
1k,om:()=>M,Sx:()=>B,Dk:()=>F,Wp:()=>P,KO:()=>H});var o=i(42543),a=i(68756),h=i(77104);let l=new WeakMap,u=new WeakMap,c=new WeakMap,f=new WeakMap,d=new WeakMap,p={get(t,e,i){if(t instanceof IDBTransaction){if("done"===e)return u.get(t);if("objectStoreNames"===e)return t.objectStoreNames||c.get(t);if("store"===e)return i.objectStoreNames[1]?void 0:i.objectStore(i.objectStoreNames[0])}return g(t[e])},set:(t,e,i)=>(t[e]=i,!0),has:(t,e)=>t instanceof IDBTransaction&&("done"===e||"store"===e)||e in t};function g(t){if(t instanceof IDBRequest){let e;return(e=new Promise((e,i)=>{let n=()=>{t.removeEventListener("success",r),t.removeEventListener("error",s)},r=()=>{e(g(t.result)),n()},s=()=>{i(t.error),n()};t.addEventListener("success",r),t.addEventListener("error",s)})).then(e=>{e instanceof IDBCursor&&l.set(e,t)}).catch(()=>{}),d.set(e,t),e}if(f.has(t))return f.get(t);let e=function(t){if("function"==typeof t)return t!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(r||(r=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(y(this),e),g(l.get(this))}:function(...e){return g(t.apply(y(this),e))}:function(e,...i){let n=t.call(y(this),e,...i);return c.set(n,e.sort?e.sort():[e]),g(n)};return t instanceof IDBTransaction&&function(t){if(u.has(t))return;let e=new Promise((e,i)=>{let n=()=>{t.removeEventListener("complete",r),t.removeEventListener("error",s),t.removeEventListener("abort",s)},r=()=>{e(),n()},s=()=>{i(t.error||new DOMException("AbortError","AbortError")),n()};t.addEventListener("complete",r),t.addEventListener("error",s),t.addEventListener("abort",s)});u.set(t,e)}(t),(n||(n=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some(e=>t instanceof e)?new Proxy(t,p):t}(t);return e!==t&&(f.set(t,e),d.set(e,t)),e}let y=t=>d.get(t),m=["get","getKey","getAll","getAllKeys","count"],b=["put","add","delete","clear"],v=new Map;function _(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&"string"==typeof e))return;if(v.get(e))return v.get(e);let i=e.replace(/FromIndex$/,""),n=e!==i,r=b.includes(i);if(!(i in(n?IDBIndex:IDBObjectStore).prototype)||!(r||m.includes(i)))return;let s=async function(t,...e){let s=this.transaction(t,r?"readwrite":"readonly"),o=s.store;return n&&(o=o.index(e.shift())),(await Promise.all([o[i](...e),r&&s.done]))[0]};return v.set(e,s),s}p={...s=p,get:(t,e,i)=>_(t,e)||s.get(t,e,i),has:(t,e)=>!!_(t,e)||s.has(t,e)};class w{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(t=>{let e;if(e=t.getComponent(),e?.type!=="VERSION")return null;{let e=t.getImmediate();return`${e.library}/${e.version}`}}).filter(t=>t).join(" ")}}let C="@firebase/app",I="0.14.8",E=new a.Vy("@firebase/app"),S="[DEFAULT]",A={[C]:"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/data-connect":"fire-data-connect","@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","@firebase/ai":"fire-vertex","fire-js":"fire-js",firebase:"fire-js-all"},D=new Map,T=new Map,x=new Map;function O(t,e){try{t.container.addComponent(e)}catch(i){E.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`,i)}}function M(t){let e=t.name;if(x.has(e))return E.debug(`There were multiple attempts to register component ${e}.`),!1;
1for(let i of(x.set(e,t),D.values()))O(i,t);for(let e of T.values())O(e,t);return!0}function N(t,e){let i=t.container.getProvider("heartbeat").getImmediate({optional:!0});return i&&i.triggerHeartbeat(),t.container.getProvider(e)}function k(t){return null!=t&&void 0!==t.settings}let j=new h.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","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-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}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class R{constructor(t,e,i){this._isDeleted=!1,this._options={...t},this._config={...e},this._name=e.name,this._automaticDataCollectionEnabled=e.automaticDataCollectionEnabled,this._container=i,this.container.addComponent(new o.uA("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}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(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw j.create("app-deleted",{appName:this._name})}}let L="12.9.0";function P(t,e={}){let i=t;"object"!=typeof e&&(e={name:e});let n={name:S,automaticDataCollectionEnabled:!0,...e},r=n.name;if("string"!=typeof r||!r)throw j.create("bad-app-name",{appName:String(r)});if(i||(i=(0,h.T9)()),!i)throw j.create("no-options");let s=D.get(r);if(s)if((0,h.bD)(i,s.options)&&(0,h.bD)(n,s.config))return s;else throw j.create("duplicate-app",{appName:r});let a=new o.h1(r);for(let t of x.values())a.addComponent(t);let l=new R(i,n,a);return D.set(r,l),l}function B(t=S){let e=D.get(t);if(!e&&t===S&&(0,h.T9)())return P();if(!e)throw j.create("no-app",{appName:t});return e}function F(){return Array.from(D.values())}function H(t,e,i){let n=A[t]??t;i&&(n+=`-${i}`);let r=n.match(/\s|\//),s=e.match(/\s|\//);if(r||s){let t=[`Unable to register library "${n}" with version "${e}":`];r&&t.push(`library name "${n}" contains illegal characters (whitespace or "/")`),r&&s&&t.push("and"),s&&t.push(`version name "${e}" contains illegal characters (whitespace or "/")`),E.warn(t.join(" "));return}M(new o.uA(`${n}-version`,()=>({library:n,version:e}),"VERSION"))}let V="firebase-heartbeat-store",U=null;function W(){return U||(U=(function(t,{blocked:e,upgrade:i,blocking:n,terminated:r}={}){let s=indexedDB.open(t,1),o=g(s);return i&&s.addEventListener("upgradeneeded",t=>{i(g(s.result),t.oldVersion,t.newVersion,g(s.transaction),t)}),e&&s.addEventListener("blocked",t=>e(t.oldVersion,t.newVersion,t)),o.then(t=>{r&&t.addEventListener("close",()=>r()),n&&t.addEventListener("versionchange",t=>n(t.oldVersion,t.newVersion,t))}).catch(()=>{}),o})("firebase-heartbeat-database",{upgrade:(t,e)=>{if(0===e)try{t.createObjectStore(V)}catch(t){console.warn(t)}}}).catch(t=>{throw j.create("idb-open",{originalErrorMessage:t.message})})),U}async function q(t){try{let e=(await W()).transaction(V),i=await e.objectStore(V).get(z(t));return await e.done,i}catch(t){if(t instanceof h.g)E.warn(t.message);else{let e=j.create("idb-get",{originalErrorMessage:t?.message});E.warn(e.message)}}}async function $(t,e){try{let i=(await W()).transaction(V,"readwrite"),n=i.objectStore(V);await n.put(e,z(t)),await i.done}catch(t){if(t instanceof h.g)E.warn(t.message);else{let e=j.create("idb-set",{originalErrorMessage:t?.message});E.warn(e.message)}}}function z(t){return`${t.name}!${t.options.appId}`}class X{constructor(t){this.container=t,this._heartbeatsCache=null;const e=this.container.getProvider("app").getImmediate();this._storage=new K(e),this._heartbeatsCachePromise=this._storage.read().then(t=>(this._heartbeatsCache=t,t))}async triggerHeartbeat(){try{let t=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),e=G();if(this._heartbeatsCache?.heartbeats==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,this._heartbeatsCache?.heartbeats==null)||this._heartbeatsCache.lastSentHeartbeatDate===e||this._heartbeatsCache.heartbeats.some(t=>t.date===e))return;if(this._heartbeatsCache.heartbeats.push({date:e,agent:t}),this._heartbeatsCache.heartbeats.length>30){let t=function(t){if(0===t.length)return -1;let e=0,i=t[0].date;for(let n=1;n<t.length;n++)t[n].date<i&&(i=t[n].date,e=n);return e}(this._heartbeatsCache.heartbeats);this._heartbeatsCache.heartbeats.splice(t,1)}return this._storage.overwrite(this._heartbeatsCache)}catch(t){E.warn(t)}}async getHeartbeatsHeader(){try{if(null===this._heartbeatsCache&&await this._heartbeatsCachePromise,this._heartbeatsCache?.heartbeats==null||0===this._heartbeatsCache.heartbeats.length)return"";let t=G(),{heartbeatsToSend:e,unsentEntries:i}=function(t,e=1024){let i=[],n=t.slice();for(let r of t){let t=i.find(t=>t.agent===r.agent);if(t){if(t.dates.push(r.date),Y(i)>e){t.dates.pop();break}}else if(i.push({agent:r.agent,dates:[r.date]}),Y(i)>e){i.pop();break}n=n.slice(1)}return{heartbeatsToSend:i,unsentEntries:n}}(this._heartbeatsCache.heartbeats),n=(0,h.Uj)(JSON.stringify({version:2,heartbeats:e}));return this._heartbeatsCache.lastSentHeartbeatDate=t,i.length>0?(this._heartbeatsCache.heartbeats=i,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),n}catch(t){return E.warn(t),""}}}function G(){return new Date().toISOString().substring(0,10)}class K{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return!!(0,h.zW)()&&(0,h.eX)().then(()=>!0).catch(()=>!1)}async read(){if(!await this._canUseIndexedDBPromise)return{heartbeats:[]};{let t=await q(this.app);return t?.heartbeats?t:{heartbeats:[]}}}async overwrite(t){if(await this._canUseIndexedDBPromise){let e=await this.read();return $(this.app,{lastSentHeartbeatDate:t.lastSentHeartbeatDate??e.lastSentHeartbeatDate,heartbeats:t.heartbeats})}}async add(t){if(await this._canUseIndexedDBPromise){let e=await this.read();return $(this.app,{lastSentHeartbeatDate:t.lastSentHeartbeatDate??e.lastSentHeartbeatDate,heartbeats:[...e.heartbeats,...t.heartbeats]})}}}function Y(t){return(0,h.Uj)(JSON.stringify({version:2,heartbeats:t})).length}M(new o.uA("platform-logger",t=>new w(t),"PRIVATE")),M(new o.uA("heartbeat",t=>new X(t),"PRIVATE")),H(C,I,""),H(C,I,"esm2020"),H("fire-js","")},42543:(t,e,i)=>{i.d(e,{h1:()=>a,uA:()=>r});var n=i(77104);
1class r{constructor(t,e,i){this.name=t,this.instanceFactory=e,this.type=i,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}let s="[DEFAULT]";class o{constructor(t,e){this.name=t,this.container=e,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){let e=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(e)){let t=new n.cY;if(this.instancesDeferred.set(e,t),this.isInitialized(e)||this.shouldAutoInitialize())try{let i=this.getOrInitializeService({instanceIdentifier:e});i&&t.resolve(i)}catch(t){}}return this.instancesDeferred.get(e).promise}getImmediate(t){let e=this.normalizeInstanceIdentifier(t?.identifier),i=t?.optional??!1;if(this.isInitialized(e)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:e})}catch(t){if(i)return null;throw t}if(i)return null;throw Error(`Service ${this.name} is not available`)}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,this.shouldAutoInitialize()){if("EAGER"===t.instantiationMode)try{this.getOrInitializeService({instanceIdentifier:s})}catch(t){}for(let[t,e]of this.instancesDeferred.entries()){let i=this.normalizeInstanceIdentifier(t);try{let t=this.getOrInitializeService({instanceIdentifier:i});e.resolve(t)}catch(t){}}}}clearInstance(t=s){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){let t=Array.from(this.instances.values());await Promise.all([...t.filter(t=>"INTERNAL"in t).map(t=>t.INTERNAL.delete()),...t.filter(t=>"_delete"in t).map(t=>t._delete())])}isComponentSet(){return null!=this.component}isInitialized(t=s){return this.instances.has(t)}getOptions(t=s){return this.instancesOptions.get(t)||{}}initialize(t={}){let{options:e={}}=t,i=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(i))throw Error(`${this.name}(${i}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);let n=this.getOrInitializeService({instanceIdentifier:i,options:e});for(let[t,e]of this.instancesDeferred.entries())i===this.normalizeInstanceIdentifier(t)&&e.resolve(n);return n}onInit(t,e){let i=this.normalizeInstanceIdentifier(e),n=this.onInitCallbacks.get(i)??new Set;n.add(t),this.onInitCallbacks.set(i,n);let r=this.instances.get(i);return r&&t(r,i),()=>{n.delete(t)}}invokeOnInitCallbacks(t,e){let i=this.onInitCallbacks.get(e);if(i)for(let n of i)try{n(t,e)}catch{}}getOrInitializeService({instanceIdentifier:t,options:e={}}){var i;let n=this.instances.get(t);if(!n&&this.component&&(n=this.component.instanceFactory(this.container,{instanceIdentifier:(i=t)===s?void 0:i,options:e}),this.instances.set(t,n),this.instancesOptions.set(t,e),this.invokeOnInitCallbacks(n,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,n)}catch{}return n||null}normalizeInstanceIdentifier(t=s){return this.component?this.component.multipleInstances?t:s:t}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class a{constructor(t){this.name=t,this.providers=new Map}addComponent(t){let e=this.getProvider(t.name);if(e.isComponentSet())throw Error(`Component ${t.name} has already been registered with ${this.name}`);e.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);let e=new o(t,this);return this.providers.set(t,e),e}getProviders(){return Array.from(this.providers.values())}}},48785:(t,e,i)=>{i.d(e,{Ao:()=>l,Bx:()=>s,Jh:()=>h,O4:()=>o,ZS:()=>n,fF:()=>u,iO:()=>r,ro:()=>a});var n,r,s,o,a,h,l,u,c="u">typeof globalThis?globalThis:"u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{},f={};(function(){var t,e,i=Object.defineProperty,d=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof c&&c];for(var e=0;e<t.length;++e){var i=t[e];if(i&&i.Math==Math)return i}throw Error("Cannot find global object")}(this);function p(t,e){if(e)t:{var n=d;t=t.split(".");for(var r=0;r<t.length-1;r++){var s=t[r];
1if(!(s in n))break t;n=n[s]}(e=e(r=n[t=t[t.length-1]]))!=r&&null!=e&&i(n,t,{configurable:!0,writable:!0,value:e})}}p("Symbol.dispose",function(t){return t||Symbol("Symbol.dispose")}),p("Array.prototype.values",function(t){return t||function(){return this[Symbol.iterator]()}}),p("Object.entries",function(t){return t||function(t){var e,i=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&i.push([e,t[e]]);return i}});var g=g||{},y=this||self;function m(t){var e=typeof t;return"object"==e&&null!=t||"function"==e}function b(t,e,i){return t.call.apply(t.bind,arguments)}function v(t,e,i){return(v=b).apply(null,arguments)}function _(t,e){var i=Array.prototype.slice.call(arguments,1);return function(){var e=i.slice();return e.push.apply(e,arguments),t.apply(this,e)}}function w(t,e){function i(){}i.prototype=e.prototype,t.Z=e.prototype,t.prototype=new i,t.prototype.constructor=t,t.Ob=function(t,i,n){for(var r=Array(arguments.length-2),s=2;s<arguments.length;s++)r[s-2]=arguments[s];return e.prototype[i].apply(t,r)}}var C="u">typeof AsyncContext&&"function"==typeof AsyncContext.Snapshot?t=>t&&AsyncContext.Snapshot.wrap(t):t=>t;function I(t){let e=t.length;if(e>0){let i=Array(e);for(let n=0;n<e;n++)i[n]=t[n];return i}return[]}function E(t,e){for(let e=1;e<arguments.length;e++){let n=arguments[e];var i=typeof n;if("array"==(i="object"!=i?i:n?Array.isArray(n)?"array":i:"null")||"object"==i&&"number"==typeof n.length){i=t.length||0;let e=n.length||0;t.length=i+e;for(let r=0;r<e;r++)t[i+r]=n[r]}else t.push(n)}}class S{constructor(t,e){this.i=t,this.j=e,this.h=0,this.g=null}get(){let t;return this.h>0?(this.h--,t=this.g,this.g=t.next,t.next=null):t=this.i(),t}}class A{constructor(){this.h=this.g=null}add(t,e){let i=D.get();i.set(t,e),this.h?this.h.next=i:this.g=i,this.h=i}}var D=new S(()=>new T,t=>t.reset());class T{constructor(){this.next=this.g=this.h=null}set(t,e){this.h=t,this.g=e,this.next=null}reset(){this.next=this.g=this.h=null}}let x,O=!1,M=new A,N=()=>{let t=Promise.resolve(void 0);x=()=>{t.then(k)}};function k(){let t;for(var e;t=null,M.g&&(t=M.g,M.g=M.g.next,M.g||(M.h=null),t.next=null),e=t;){try{e.h.call(e.g)}catch(t){!function(t){y.setTimeout(()=>{throw t},0)}(t)}D.j(e),D.h<100&&(D.h++,e.next=D.g,D.g=e)}O=!1}function j(){this.u=this.u,this.C=this.C}function R(t,e){this.type=t,this.g=this.target=e,this.defaultPrevented=!1}j.prototype.u=!1,j.prototype.dispose=function(){this.u||(this.u=!0,this.N())},j.prototype[Symbol.dispose]=function(){this.dispose()},j.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()},R.prototype.h=function(){this.defaultPrevented=!0};var L=function(){if(!y.addEventListener||!Object.defineProperty)return!1;var t=!1,e=Object.defineProperty({},"passive",{get:function(){t=!0}});try{let t=()=>{};y.addEventListener("test",t,e),y.removeEventListener("test",t,e)}catch(t){}return t}();function P(t){return/^[\s\xa0]*$/.test(t)}function B(t,e){R.call(this,t?t.type:""),this.relatedTarget=this.g=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.state=null,this.pointerId=0,this.pointerType="",this.i=null,t&&this.init(t,e)}w(B,R),B.prototype.init=function(t,e){let i=this.type=t.type,n=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:null;this.target=t.target||t.srcElement,this.g=e,(e=t.relatedTarget)||("mouseover"==i?e=t.fromElement:"mouseout"==i&&(e=t.toElement)),this.relatedTarget=e,n?(this.clientX=void 0!==n.clientX?n.clientX:n.pageX,this.clientY=void 0!==n.clientY?n.clientY:n.pageY,this.screenX=n.screenX||0,this.screenY=n.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=t.pointerType,this.state=t.state,this.i=t,t.defaultPrevented&&B.Z.h.call(this)},B.prototype.h=function(){B.Z.h.call(this);let t=this.i;t.preventDefault?t.preventDefault():t.returnValue=!1};var F="closure_listenable_"+(1e6*Math.random()|0),H=0;function V(t,e,i,n,r){this.listener=t,this.proxy=null,this.src=e,this.type=i,this.capture=!!n,this.ha=r,this.key=++H,this.da=this.fa=!1}function U(t){t.da=!0,t.listener=null,t.proxy=null,t.src=null,t.ha=null}function W(t,e,i){for(let n in t)e.call(i,t[n],n,t)}function q(t){let e={};for(let i in t)e[i]=t[i];return e}let $="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleStr
1ing toString valueOf".split(" ");function z(t,e){let i,n;for(let e=1;e<arguments.length;e++){for(i in n=arguments[e])t[i]=n[i];for(let e=0;e<$.length;e++)i=$[e],Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}}function X(t){this.src=t,this.g={},this.h=0}function G(t,e){let i=e.type;if(i in t.g){var n,r=t.g[i],s=Array.prototype.indexOf.call(r,e,void 0);(n=s>=0)&&Array.prototype.splice.call(r,s,1),n&&(U(e),0==t.g[i].length&&(delete t.g[i],t.h--))}}function K(t,e,i,n){for(let r=0;r<t.length;++r){let s=t[r];if(!s.da&&s.listener==e&&!!i==s.capture&&s.ha==n)return r}return -1}X.prototype.add=function(t,e,i,n,r){let s=t.toString();(t=this.g[s])||(t=this.g[s]=[],this.h++);let o=K(t,e,n,r);return o>-1?(e=t[o],i||(e.fa=!1)):((e=new V(e,this.src,s,!!n,r)).fa=i,t.push(e)),e};var Y="closure_lm_"+(1e6*Math.random()|0),J={};function Z(t,e,i,n,r,s){if(!e)throw Error("Invalid event type");let o=m(r)?!!r.capture:!!r,a=ti(t);if(a||(t[Y]=a=new X(t)),(i=a.add(e,i,n,o,s)).proxy)return i;if(n=function t(e){return te.call(t.src,t.listener,e)},i.proxy=n,n.src=t,n.listener=i,t.addEventListener)L||(r=o),void 0===r&&(r=!1),t.addEventListener(e.toString(),n,r);else if(t.attachEvent)t.attachEvent(tt(e.toString()),n);else if(t.addListener&&t.removeListener)t.addListener(n);else throw Error("addEventListener and attachEvent are unavailable.");return i}function Q(t){if("number"!=typeof t&&t&&!t.da){var e=t.src;if(e&&e[F])G(e.i,t);else{var i=t.type,n=t.proxy;e.removeEventListener?e.removeEventListener(i,n,t.capture):e.detachEvent?e.detachEvent(tt(i),n):e.addListener&&e.removeListener&&e.removeListener(n),(i=ti(e))?(G(i,t),0==i.h&&(i.src=null,e[Y]=null)):U(t)}}}function tt(t){return t in J?J[t]:J[t]="on"+t}function te(t,e){if(t.da)t=!0;else{e=new B(e,this);let i=t.listener,n=t.ha||t.src;t.fa&&Q(t),t=i.call(n,e)}return t}function ti(t){return(t=t[Y])instanceof X?t:null}var tn="__closure_events_fn_"+(1e9*Math.random()>>>0);function tr(t){return"function"==typeof t?t:(t[tn]||(t[tn]=function(e){return t.handleEvent(e)}),t[tn])}function ts(){j.call(this),this.i=new X(this),this.M=this,this.G=null}function to(t,e){let i,n;var r,s=t.G;if(s)for(r=[];s;s=s.G)r.push(s);if(t=t.M,s=e.type||e,"string"==typeof e)e=new R(e,t);else if(e instanceof R)e.target=e.target||t;else{var o=e;z(e=new R(s,t),o)}if(o=!0,r)for(n=r.length-1;n>=0;n--)o=ta(i=e.g=r[n],s,!0,e)&&o;if(o=ta(i=e.g=t,s,!0,e)&&o,o=ta(i,s,!1,e)&&o,r)for(n=0;n<r.length;n++)o=ta(i=e.g=r[n],s,!1,e)&&o}function ta(t,e,i,n){if(!(e=t.i.g[String(e)]))return!0;e=e.concat();let r=!0;for(let s=0;s<e.length;++s){let o=e[s];if(o&&!o.da&&o.capture==i){let e=o.listener,i=o.ha||o.src;o.fa&&G(t.i,o),r=!1!==e.call(i,n)&&r}}return r&&!n.defaultPrevented}w(ts,j),ts.prototype[F]=!0,ts.prototype.removeEventListener=function(t,e,i,n){!function t(e,i,n,r,s){if(Array.isArray(i))for(var o=0;o<i.length;o++)t(e,i[o],n,r,s);else(r=m(r)?!!r.capture:!!r,n=tr(n),e&&e[F])?(e=e.i,(o=String(i).toString())in e.g&&(n=K(i=e.g[o],n,r,s))>-1&&(U(i[n]),Array.prototype.splice.call(i,n,1),0==i.length&&(delete e.g[o],e.h--))):e&&(e=ti(e))&&(i=e.g[i.toString()],e=-1,i&&(e=K(i,n,r,s)),(n=e>-1?i[e]:null)&&Q(n))}(this,t,e,i,n)},ts.prototype.N=function(){if(ts.Z.N.call(this),this.i){var t=this.i;for(let e in t.g){let i=t.g[e];for(let t=0;t<i.length;t++)U(i[t]);delete t.g[e],t.h--}}this.G=null},ts.prototype.J=function(t,e,i,n){return this.i.add(String(t),e,!1,i,n)},ts.prototype.K=function(t,e,i,n){return this.i.add(String(t),e,!0,i,n)};class th extends j{constructor(t,e){super(),this.m=t,this.l=e,this.h=null,this.i=!1,this.g=null}j(t){this.h=arguments,this.g?this.i=!0:function t(e){e.g=function(t,e){if("function"!=typeof t)if(t&&"function"==typeof t.handleEvent)t=v(t.handleEvent,t);else throw Error("Invalid listener argument");return Number(e)>0x7fffffff?-1:y.setTimeout(t,e||0)}(()=>{e.g=null,e.i&&(e.i=!1,t(e))},e.l);let i=e.h;e.h=null,e.m.apply(null,i)}(this)}N(){super.N(),this.g&&(y.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)}}function tl(t){j.call(this),this.h=t,this.g={}}w(tl,j);var tu=[];function tc(t){W(t.g,function(t,e){this.g.hasOwnProperty(e)&&Q(t)},t),t.g={}}tl.prototype.N=function(){tl.Z.N.call(this),tc(this)},tl.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")};var tf=y.JSON.stringify,td=y.JSON.parse,tp=class{stringify(t){return y.JSON.stringify(t,void 0)}parse(t){return y.JSON.parse(t,void 0)}};function tg(){}function ty(){}var tm={OPEN:"a",hb:"b",ERROR:"c",tb:"d"};function tb(){R.call(this,"d")}function tv(){R.call(this,"c")}w(tb,R),w(tv,R);var t_={},tw=null;function tC(){return tw=tw||new ts}function tI(t){R.call(this,t_.Ia,t)}function tE(t){let e=tC();to(e,new tI(e))}function tS(t,e){R.call(this,t_.STAT_EVENT,t),this.stat=e}function tA(t){let e=tC();to(e,new tS(e,t))}function tD(t,e){R.call(this,t_.Ja,t),this.size=e}function tT(t,e){if("function"!=typeof t)throw Error("Fn must not be null and must be a function");return y.setTimeout(function(){t()},e)}function tx(){this.g=!0}function tO(t,e,i,n){t.info(function(){return"XMLHTTP TEXT ("+e+"): "+function(t,e){if(!t.g)return e;if(!e)return null;try{let s=JSON.parse(e);if(s){for(t=0;t<s.length;t++)if(Array.isArray(s[t])){var i=s[t];if(!(i.length<2)){var n=i[1];if(Array.isArray(n)&&!(n.length<1)){var r=n[0];if("noop"!=r&&"stop"!=r&&"close"!=r)for(let t=1;t<n.length;t++)n[t]=""}}}}return tf(s)}catch(t){return e}}(t,i)+(n?" "+n:"")})}t_.Ia="serverreachability",w(tI,R),t_.STAT_EVENT="statevent",w(tS,R),t_.Ja="timingevent",w(tD,R),tx.prototype.ua=function(){this.g=!1},tx.prototype.info=function(){};var tM={NO_ERROR:0,cb:1,qb:2,pb:3,kb:4,ob:5,rb:6,Ga:7,TIMEOUT:8,ub:9},tN={ib:"complete",Fb:"success",ERROR:"error",Ga:"abort",xb:"ready",yb:"readystatechange",TIMEOUT:"timeout",sb:"incrementaldata",wb:"progress",lb:"downloadprogress",Nb:"uploadprogress"};function tk(){}function tj(t){return encodeURIComponent(String(t))}function tR(t,e,i,n){this.j=t,this.i=e,this.l=i,this.S=n||1,this.V=new tl(this),this.H=45e3,this.J=null,this.o=!1,this.u=this.B=this.A=this.M=this.F=this.T=this.D=null,this.G=[],this.g=null,this.C=0,this.m=this.v=null,this.X=-1,this.K=!1,this.P=0,this.O=null,this.W=this.L=this.U=this.R=!1,this.h=new tL}function tL(){this.i=null,this.g="",this.h=!1}w(tk,tg),tk.prototype.g=function(){return new XMLHttpRequest},t=new tk;var tP={},tB={};function tF(t,e,i){t.M=1,t.A=t9(t3(e)),t.u=i,t.R=!0,tH(t,null)}function tH(t,e){t.F=Date.now(),tU(t),t.B=t3(t.A);var i,n,r,s,o,a,h=t.B,l=t.S;Array.isArray(l)||(l=[String(l)]),ed(h.i,"t",l),t.C=0,h=t.j.L,t.h=new tL,t.g=eQ(t.j,h?e:null,!t.u),t.P>0&&(t.O=new th(v(t.Y,t,t.g),t.P)),e=t.V,h=t.g,l=t.ba;var u="readystatechange";Array.isArray(u)||(u&&(tu[0]=u.toString()),u=tu);for(let t=0;t<u.length;t++){let i=function t(e,i,n,r,s){if(r&&r.once)return function t(e,i,n,r,s){if(Array.isArray(i)){for(let o=0;o<i.length;o++)t(e,i[o],n,r,s);return null}return n=tr(n),e&&e[F]?e.K(i,n,m(r)?!!r.capture:!!r,s):Z(e,i,n,!0,r,s)}(e,i,n,r,s);if(Array.isArray(i)){for(let o=0;o<i.length;o++)t(e,i[o],n,r,s);return null}return n=tr(n),e&&e[F]?e.J(i,n,m(r)?!!r.capture:!!r,s):Z(e,i,n,!1,r,s)}(h,u[t],l||e.handleEvent,!1,e.h||e);if(!i)break;e.g[i.key]=i}e=t.J?q(t.J):{},t.u?(t.v||(t.v="POST"),e["Content-Type"]="application/x-www-form-urlencoded",t.g.ea(t.B,t.v,t.u,e)):(t.v="GET",t.g.ea(t.B,t.v,null,e)),tE(),i=t.i,n=t.v,r=t.B,s=t.l,o=t.S,a=t.u,i.info(function(){if(i.g)if(a){var t="",e=a.split("&");for(let i=0;i<e.length;i++){var h=e[i].split("=");if(h.length>1){let e=h[0];h=h[1];let i=e.split("_");t=i.length>=2&&"type"==i[1]?t+(e+"=")+h+"&":t+(e+"=redacted&")}}}else t=null;else t=a;return"XMLHTTP REQ ("+s+") [attempt "+o+"]: "+n+"\n"+r+"\n"+t})}function tV(t){return!!t.g&&"GET"==t.v&&2!=t.M&&t.j.Aa}function tU(t){t.T=Date.now()+t.H,tW(t,t.H)}function tW(t,e){if(null!=t.D)throw Error("WatchDog timer not null");t.D=tT(v(t.aa,t),e)}function tq(t){t.D&&(y.clearTimeout(t.D),t.D=null)}function t$(t){0==t.j.I||t.K||eG(t.j,t)}function tz(t){tq(t);var e=t.O;e&&"function"==typeof e.dispose&&e.dispose(),t.O=null,tc(t.V),t.g&&(e=t.g,t.g=null,e.abort(),e.dispose())}function tX(t,e){try{var i=t.j;if(0!=i.I&&(i.g==t||tZ(i.h,t))){if(!t.L&&tZ(i.h,t)&&3==i.I){try{var n=i.Ba.g.parse(e)}catch(t){n=null}if(Array.isArray(n)&&3==n.length){var r=n;if(0==r[0]){t:if(!i.v){if(i.g)if(i.g.F+3e3<t.F)eX(i),eP(i);else break t;eq(i),tA(18)}}else i.xa=r[1],0<i.xa-i.K&&r[2]<37500&&i.F&&0==i.A&&!i.C&&(i.C=tT(v(i.Va,i),6e3));1>=tJ(i.h)&&i.ta&&(i.ta=void 0)}else eY(i,11)}else if((t.L||i.g==t)&&eX(i),!P(e))for(r=i.Ba.g.parse(e),e=0;e<r.length;e++){let a=r[e],h=a[0];if(!(h<=i.K))if(i.K=h,a=a[1],2==i.I)if("c"==a[0]){i.M=a[1],i.ba=a[2];let e=a[3];null!=e&&(i.ka=e,i.j.info("VER="+i.ka));let r=a[4];null!=r&&(i.za=r,i.j.info("SVER="+i.za));let h=a[5];null!=h&&"number"==typeof h&&h>0&&(i.O=n=1.5*h,i.j.info("backChannelRequestTimeoutMs_="+n)),n=i;let l=t.g;if(l){let t=l.g?l.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(t){var s=n.h;s.g||-1==t.indexOf("spdy")&&-1==t.indexOf("quic")&&-1==t.indexOf("h2")||(s.j=s.l,s.g=new Set,s.h&&(tQ(s,s.h),s.h=null))}if(n.G){let t=l.g?l.g.getResponseHeader("X-HTTP-Session-Id"):null;t&&(n.wa=t,t7(n.J,n.G,t))}}if(i.I=3,i.l&&i.l.ra(),i.aa&&(i.T=Date.now()-t.F,i.j.info("Handshake RTT: "+i.T+"ms")),(n=i).na=eZ(n,n.L?n.ba:null,n.W),t.L){t0(n.h,t);var o=n.O;o&&(t.H=o),t.D&&(tq(t),tU(t)),n.g=t}else eW(n);i.i.length>0&&eF(i)}else"stop"!=a[0]&&"close"!=a[0]||eY(i,7);else 3==i.I&&("stop"==a[0]||"close"==a[0]?"stop"==a[0]?eY(i,7):eL(i):"noop"!=a[0]&&i.l&&i.l.qa(a),i.A=0)}}tE(4)}catch(t){}}tR.prototype.ba=function(t){t=t.target;let e=this.O;e&&3==eN(t)?e.j():this.Y(t)},tR.prototype.Y=function(t){try{if(t==this.g)t:{let f=eN(this.g),d=this.g.ya(),p=this.g.ca();if(!(f<3)&&(3!=f||this.g&&(this.h.h||this.g.la()||ek(this.g)))){this.K||4!=f||7==d||(8==d||p<=0?tE(3):tE(2)),tq(this);var e=this.g.ca();this.X=e;var i=function(t){if(!tV(t))return t.g.la();let e=ek(t.g);if(""===e)return"";let i="",n=e.length,r=4==eN(t.g);
1if(!t.h.i){if("u"<typeof TextDecoder)return tz(t),t$(t),"";t.h.i=new y.TextDecoder}for(let s=0;s<n;s++)t.h.h=!0,i+=t.h.i.decode(e[s],{stream:!(r&&s==n-1)});return e.length=0,t.h.g+=i,t.C=0,t.h.g}(this);if(this.o=200==e,n=this.i,r=this.v,s=this.B,o=this.l,a=this.S,n.info(function(){return"XMLHTTP RESP ("+o+") [ attempt "+a+"]: "+r+"\n"+s+"\n"+f+" "+e}),this.o){if(this.U&&!this.L){e:{if(this.g){var n,r,s,o,a,h,l=this.g;if((h=l.g?l.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!P(h)){var u=h;break e}}u=null}if(t=u)tO(this.i,this.l,t,"Initial handshake response via X-HTTP-Initial-Response"),this.L=!0,tX(this,t);else{this.o=!1,this.m=3,tA(12),tz(this),t$(this);break t}}if(this.R){let e;for(t=!0;!this.K&&this.C<i.length;)if((e=function(t,e){var i=t.C,n=e.indexOf("\n",i);return -1==n?tB:isNaN(i=Number(e.substring(i,n)))?tP:(n+=1)+i>e.length?tB:(e=e.slice(n,n+i),t.C=n+i,e)}(this,i))==tB){4==f&&(this.m=4,tA(14),t=!1),tO(this.i,this.l,null,"[Incomplete Response]");break}else if(e==tP){this.m=4,tA(15),tO(this.i,this.l,i,"[Invalid Chunk]"),t=!1;break}else tO(this.i,this.l,e,null),tX(this,e);if(tV(this)&&0!=this.C&&(this.h.g=this.h.g.slice(this.C),this.C=0),4!=f||0!=i.length||this.h.h||(this.m=1,tA(16),t=!1),this.o=this.o&&t,t){if(i.length>0&&!this.W){this.W=!0;var c=this.j;c.g==this&&c.aa&&!c.P&&(c.j.info("Great, no buffering proxy detected. Bytes received: "+i.length),e$(c),c.P=!0,tA(11))}}else tO(this.i,this.l,i,"[Invalid Chunked Response]"),tz(this),t$(this)}else tO(this.i,this.l,i,null),tX(this,i);4==f&&tz(this),this.o&&!this.K&&(4==f?eG(this.j,this):(this.o=!1,tU(this)))}else(function(t){let e={};t=(t.g&&eN(t)>=2&&t.g.getAllResponseHeaders()||"").split("\r\n");for(let n=0;n<t.length;n++){if(P(t[n]))continue;var i=function(t){var e=1;t=t.split(":");let i=[];for(;e>0&&t.length;)i.push(t.shift()),e--;return t.length&&i.push(t.join(":")),i}(t[n]);let r=i[0];if("string"!=typeof(i=i[1]))continue;i=i.trim();let s=e[r]||[];e[r]=s,s.push(i)}var n=function(t){return t.join(", ")};for(let t in e)n.call(void 0,e[t],t,e)})(this.g),400==e&&i.indexOf("Unknown SID")>0?(this.m=3,tA(12)):(this.m=0,tA(13)),tz(this),t$(this)}}}catch(t){}finally{}},tR.prototype.cancel=function(){this.K=!0,tz(this)},tR.prototype.aa=function(){var t,e;this.D=null;let i=Date.now();i-this.T>=0?(t=this.i,e=this.B,t.info(function(){return"TIMEOUT: "+e}),2!=this.M&&(tE(),tA(17)),tz(this),this.m=2,t$(this)):tW(this,this.T-i)};var tG=class{constructor(t,e){this.g=t,this.map=e}};function tK(t){this.l=t||10,t=y.PerformanceNavigationTiming?(t=y.performance.getEntriesByType("navigation")).length>0&&("hq"==t[0].nextHopProtocol||"h2"==t[0].nextHopProtocol):!!(y.chrome&&y.chrome.loadTimes&&y.chrome.loadTimes()&&y.chrome.loadTimes().wasFetchedViaSpdy),this.j=t?this.l:1,this.g=null,this.j>1&&(this.g=new Set),this.h=null,this.i=[]}function tY(t){return!!t.h||!!t.g&&t.g.size>=t.j}function tJ(t){return t.h?1:t.g?t.g.size:0}function tZ(t,e){return t.h?t.h==e:!!t.g&&t.g.has(e)}function tQ(t,e){t.g?t.g.add(e):t.h=e}function t0(t,e){t.h&&t.h==e?t.h=null:t.g&&t.g.has(e)&&t.g.delete(e)}function t1(t){if(null!=t.h)return t.i.concat(t.h.G);if(null!=t.g&&0!==t.g.size){let e=t.i;for(let i of t.g.values())e=e.concat(i.G);return e}return I(t.i)}tK.prototype.cancel=function(){if(this.i=t1(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&0!==this.g.size){for(let t of this.g.values())t.cancel();this.g.clear()}};var t2=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function t6(t){let e;this.g=this.o=this.j="",this.u=null,this.m=this.h="",this.l=!1,t instanceof t6?(this.l=t.l,t4(this,t.j),this.o=t.o,this.g=t.g,t5(this,t.u),this.h=t.h,t8(this,ep(t.i)),this.m=t.m):t&&(e=String(t).match(t2))?(this.l=!1,t4(this,e[1]||"",!0),this.o=et(e[2]||""),this.g=et(e[3]||"",!0),t5(this,e[4]),this.h=et(e[5]||"",!0),t8(this,e[6]||"",!0),this.m=et(e[7]||"")):(this.l=!1,this.i=new eh(null,this.l))}function t3(t){return new t6(t)}function t4(t,e,i){t.j=i?et(e,!0):e,t.j&&(t.j=t.j.replace(/:$/,""))}function t5(t,e){if(e){if(isNaN(e=Number(e))||e<0)throw Error("Bad port number "+e);t.u=e}else t.u=null}function t8(t,e,i){var n,r;e instanceof eh?(t.i=e,n=t.i,(r=t.l)&&!n.j&&(el(n),n.i=null,n.g.forEach(function(t,e){let i=e.toLowerCase();e!=i&&(eu(this,e),ed(this,i,t))},n)),n.j=r):(i||(e=ee(e,eo)),t.i=new eh(e,t.l))}
vendor: 9,593 bytes, line 1
1function t7(t,e,i){t.i.set(e,i)}function t9(t){return t7(t,"zx",Math.floor(0x80000000*Math.random()).toString(36)+Math.abs(Math.floor(0x80000000*Math.random())^Date.now()).toString(36)),t}function et(t,e){return t?e?decodeURI(t.replace(/%25/g,"%2525")):decodeURIComponent(t):""}function ee(t,e,i){return"string"==typeof t?(t=encodeURI(t).replace(e,ei),i&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function ei(t){return"%"+((t=t.charCodeAt(0))>>4&15).toString(16)+(15&t).toString(16)}t6.prototype.toString=function(){let t=[];var e=this.j;e&&t.push(ee(e,en,!0),":");var i=this.g;return(i||"file"==e)&&(t.push("//"),(e=this.o)&&t.push(ee(e,en,!0),"@"),t.push(tj(i).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(i=this.u)&&t.push(":",String(i))),(i=this.h)&&(this.g&&"/"!=i.charAt(0)&&t.push("/"),t.push(ee(i,"/"==i.charAt(0)?es:er,!0))),(i=this.i.toString())&&t.push("?",i),(i=this.m)&&t.push("#",ee(i,ea)),t.join("")},t6.prototype.resolve=function(t){let e=t3(this),i=!!t.j;i?t4(e,t.j):i=!!t.o,i?e.o=t.o:i=!!t.g,i?e.g=t.g:i=null!=t.u;var n=t.h;if(i)t5(e,t.u);else if(i=!!t.h){if("/"!=n.charAt(0))if(this.g&&!this.h)n="/"+n;else{var r=e.h.lastIndexOf("/");-1!=r&&(n=e.h.slice(0,r+1)+n)}if(".."==(r=n)||"."==r)n="";else if(-1!=r.indexOf("./")||-1!=r.indexOf("/.")){n=0==r.lastIndexOf("/",0),r=r.split("/");let t=[];for(let e=0;e<r.length;){let i=r[e++];"."==i?n&&e==r.length&&t.push(""):".."==i?((t.length>1||1==t.length&&""!=t[0])&&t.pop(),n&&e==r.length&&t.push("")):(t.push(i),n=!0)}n=t.join("/")}else n=r}return i?e.h=n:i=""!==t.i.toString(),i?t8(e,ep(t.i)):i=!!t.m,i&&(e.m=t.m),e};var en=/[#\/\?@]/g,er=/[#\?:]/g,es=/[#\?]/g,eo=/[#\?@]/g,ea=/#/g;function eh(t,e){this.h=this.g=null,this.i=t||null,this.j=!!e}function el(t){t.g||(t.g=new Map,t.h=0,t.i&&function(t,e){if(t){t=t.split("&");for(let i=0;i<t.length;i++){let n=t[i].indexOf("="),r,s=null;n>=0?(r=t[i].substring(0,n),s=t[i].substring(n+1)):r=t[i],e(r,s?decodeURIComponent(s.replace(/\+/g," ")):"")}}}(t.i,function(e,i){t.add(decodeURIComponent(e.replace(/\+/g," ")),i)}))}function eu(t,e){el(t),e=eg(t,e),t.g.has(e)&&(t.i=null,t.h-=t.g.get(e).length,t.g.delete(e))}function ec(t,e){return el(t),e=eg(t,e),t.g.has(e)}function ef(t,e){el(t);let i=[];if("string"==typeof e)ec(t,e)&&(i=i.concat(t.g.get(eg(t,e))));else for(t=Array.from(t.g.values()),e=0;e<t.length;e++)i=i.concat(t[e]);return i}function ed(t,e,i){eu(t,e),i.length>0&&(t.i=null,t.g.set(eg(t,e),I(i)),t.h+=i.length)}function ep(t){let e=new eh;return e.i=t.i,t.g&&(e.g=new Map(t.g),e.h=t.h),e}function eg(t,e){return e=String(e),t.j&&(e=e.toLowerCase()),e}function ey(t,e,i,n,r){try{r&&(r.onload=null,r.onerror=null,r.onabort=null,r.ontimeout=null),n(i)}catch(t){}}function em(){this.g=new tp}function eb(t){this.i=t.Sb||null,this.h=t.ab||!1}function ev(t,e){ts.call(this),this.H=t,this.o=e,this.m=void 0,this.status=this.readyState=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.A=new Headers,this.h=null,this.F="GET",this.D="",this.g=!1,this.B=this.j=this.l=null,this.v=new AbortController}function e_(t){t.j.read().then(t.Ma.bind(t)).catch(t.ga.bind(t))}function ew(t){t.readyState=4,t.l=null,t.j=null,t.B=null,eC(t)}function eC(t){t.onreadystatechange&&t.onreadystatechange.call(t)}function eI(t){let e="";return W(t,function(t,i){e+=i,e+=":",e+=t,e+="\r\n"}),e}function eE(t,e,i){t:{for(n in i){var n=!1;break t}n=!0}n||(i=eI(i),"string"==typeof t?null!=i&&tj(i):t7(t,e,i))}function eS(t){ts.call(this),this.headers=new Map,this.L=t||null,this.h=!1,this.g=null,this.D="",this.o=0,this.l="",this.j=this.B=this.v=this.A=!1,this.m=null,this.F="",this.H=!1}(e=eh.prototype).add=function(t,e){el(this),this.i=null,t=eg(this,t);let i=this.g.get(t);return i||this.g.set(t,i=[]),i.push(e),this.h+=1,this},e.forEach=function(t,e){el(this),this.g.forEach(function(i,n){i.forEach(function(i){t.call(e,i,n,this)},this)},this)},e.set=function(t,e){return el(this),this.i=null,ec(this,t=eg(this,t))&&(this.h-=this.g.get(t).length),this.g.set(t,[e]),this.h+=1,this},e.get=function(t,e){return t&&(t=ef(this,t)).length>0?String(t[0]):e},e.toString=function(){if(this.i)return this.i;if(!this.g)return"";let t=[],e=Array.from(this.g.keys());for(let n=0;n<e.length;n++){var i=e[n];let r=tj(i);i=ef(this,i);for(let e=0;e<i.length;e++){let n=r;""!==i[e]&&(n+="="+tj(i[e])),t.push(n)}}return this.i=t.join("&")},w(eb,tg),eb.prototype.g=function(){return new ev(this.i,this.h)},w(ev,ts),(e=ev.prototype).open=function(t,e){if(0!=this.readyState)throw this.abort(),Error("Error reopening a connection");this.F=t,this.D=e,this.readyState=1,eC(this)},e.send=function(t){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");if(this.v.signal.aborted)throw this.abort(),Error("Request was aborted.");this.g=!0;let e={headers:this.A,method:this.F,credentials:this.m,cache:void 0,signal:this.v.signal};t&&(e.body=t),(this.H||y).fetch(new Request(this.D,e)).then(this.Pa.bind(this),this.ga.bind(this))},e.abort=function(){this.response=this.responseText="",this.A=new Headers,this.status=0,this.v.abort(),this.j&&this.j.cancel("Request was aborted.").catch(()=>{}),this.readyState>=1&&this.g&&4!=this.readyState&&(this.g=!1,ew(this)),this.readyState=0},e.Pa=function(t){if(this.g&&(this.l=t,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=t.headers,this.readyState=2,eC(this)),this.g&&(this.readyState=3,eC(this),this.g)))if("arraybuffer"===this.responseType)t.arrayBuffer().then(this.Na.bind(this),this.ga.bind(this));else if(void 0!==y.ReadableStream&&"body"in t){if(this.j=t.body.getReader(),this.o){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.B=new TextDecoder;e_(this)}else t.text().then(this.Oa.bind(this),this.ga.bind(this))},e.Ma=function(t){if(this.g){if(this.o&&t.value)this.response.push(t.value);else if(!this.o){var e=t.value?t.value:new Uint8Array(0);(e=this.B.decode(e,{stream:!t.done}))&&(this.response=this.responseText+=e)}t.done?ew(this):eC(this),3==this.readyState&&e_(this)}},e.Oa=function(t){this.g&&(this.response=this.responseText=t,ew(this))},e.Na=function(t){this.g&&(this.response=t,ew(this))},e.ga=function(){this.g&&ew(this)},e.setRequestHeader=function(t,e){this.A.append(t,e)},e.getResponseHeader=function(t){return this.h&&this.h.get(t.toLowerCase())||""},e.getAllResponseHeaders=function(){if(!this.h)return"";let t=[],e=this.h.entries();for(var i=e.next();!i.done;)t.push((i=i.value)[0]+": "+i[1]),i=e.next();return t.join("\r\n")},Object.defineProperty(ev.prototype,"withCredentials",{get:function(){return"include"===this.m},set:function(t){this.m=t?"include":"same-origin"}}),w(eS,ts);var eA=/^https?$/i,eD=["POST","PUT"];function eT(t,e){t.h=!1,t.g&&(t.j=!0,t.g.abort(),t.j=!1),t.l=e,t.o=5,ex(t),eM(t)}function ex(t){t.A||(t.A=!0,to(t,"complete"),to(t,"error"))}function eO(t){if(t.h&&void 0!==g){if(t.v&&4==eN(t))setTimeout(t.Ca.bind(t),0);else if(to(t,"readystatechange"),4==eN(t)){t.h=!1;try{let s=t.ca();switch(s){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var e,i,n=!0;break;default:n=!1}if(!(e=n)){if(i=0===s){let e=String(t.D).match(t2)[1]||null;!e&&y.self&&y.self.location&&(e=y.self.location.protocol.slice(0,-1)),i=!eA.test(e?e.toLowerCase():"")}e=i}if(e)to(t,"complete"),to(t,"success");else{t.o=6;try{var r=eN(t)>2?t.g.statusText:""}catch(t){r=""}t.l=r+" ["+t.ca()+"]",ex(t)}}finally{eM(t)}}}}function eM(t,e){if(t.g){t.m&&(clearTimeout(t.m),t.m=null);let i=t.g;t.g=null,e||to(t,"ready");try{i.onreadystatechange=null}catch(t){}}}function eN(t){return t.g?t.g.readyState:0}function ek(t){try{if(!t.g)return null;if("response"in t.g)return t.g.response;switch(t.F){case"":case"text":return t.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in t.g)return t.g.mozResponseArrayBuffer}return null}catch(t){return null}}function ej(t,e,i){return i&&i.internalChannelParams&&i.internalChannelParams[t]||e}function eR(t){this.za=0,this.i=[],this.j=new tx,this.ba=this.na=this.J=this.W=this.g=this.wa=this.G=this.H=this.u=this.U=this.o=null,this.Ya=this.V=0,this.Sa=ej("failFast",!1,t),this.F=this.C=this.v=this.m=this.l=null,this.X=!0,this.xa=this.K=-1,this.Y=this.A=this.D=0,this.Qa=ej("baseRetryDelayMs",5e3,t),this.Za=ej("retryDelaySeedMs",1e4,t),this.Ta=ej("forwardChannelMaxRetries",2,t),this.va=ej("forwardChannelRequestTimeoutMs",2e4,t),this.ma=t&&t.xmlHttpFactory||void 0,this.Ua=t&&t.Rb||void 0,this.Aa=t&&t.useFetchStreams||!1,this.O=void 0,this.L=t&&t.supportsCrossDomainXhr||!1,this.M="",this.h=new tK(t&&t.concurrentRequestLimit),this.Ba=new em,this.S=t&&t.fastHandshake||!1,this.R=t&&t.encodeInitMessageHeaders||!1,this.S&&this.R&&(this.R=!1),this.Ra=t&&t.Pb||!1,t&&t.ua&&this.j.ua(),t&&t.forceLongPolling&&(this.X=!1),this.aa=!this.S&&this.X&&t&&t.detectBufferingProxy||!1,this.ia=void 0,t&&t.longPollingTimeout&&t.longPollingTimeout>0&&(this.ia=t.longPollingTimeout),this.ta=void 0,this.T=0,this.P=!1,this.ja=this.B=null}function eL(t){if(eB(t),3==t.I){var e=t.V++,i=t3(t.J);if(t7(i,"SID",t.M),t7(i,"RID",e),t7(i,"TYPE","terminate"),eV(t,i),(e=new tR(t,t.j,e)).M=2,e.A=t9(t3(i)),i=!1,y.navigator&&y.navigator.sendBeacon)try{i=y.navigator.sendBeacon(e.A.toString(),"")}catch(t){}!i&&y.Image&&((new Image).src=e.A,i=!0),i||(e.g=eQ(e.j,null),e.g.ea(e.A)),e.F=Date.now(),tU(e)}eJ(t)}function eP(t){t.g&&(e$(t),t.g.cancel(),t.g=null)}function eB(t){eP(t),t.v&&(y.clearTimeout(t.v),t.v=null),eX(t),t.h.cancel(),t.m&&("number"==typeof t.m&&y.clearTimeout(t.m),t.m=null)}
1function eF(t){if(!tY(t.h)&&!t.m){t.m=!0;var e=t.Ea;x||N(),O||(x(),O=!0),M.add(e,t),t.D=0}}function eH(t,e){var i;i=e?e.l:t.V++;let n=t3(t.J);t7(n,"SID",t.M),t7(n,"RID",i),t7(n,"AID",t.K),eV(t,n),t.u&&t.o&&eE(n,t.u,t.o),i=new tR(t,t.j,i,t.D+1),null===t.u&&(i.J=t.o),e&&(t.i=e.G.concat(t.i)),e=eU(t,i,1e3),i.H=Math.round(.5*t.va)+Math.round(.5*t.va*Math.random()),tQ(t.h,i),tF(i,n,e)}function eV(t,e){t.H&&W(t.H,function(t,i){t7(e,i,t)}),t.l&&W({},function(t,i){t7(e,i,t)})}function eU(t,e,i){i=Math.min(t.i.length,i);let n=t.l?v(t.l.Ka,t.l,t):null;t:{var r=t.i;let e=-1;for(;;){let t=["count="+i];-1==e?i>0?(e=r[0].g,t.push("ofs="+e)):e=0:t.push("ofs="+e);let a=!0;for(let h=0;h<i;h++){var s=r[h].g;let i=r[h].map;if((s-=e)<0)e=Math.max(0,r[h].g-100),a=!1;else try{s="req"+s+"_";try{var o=i instanceof Map?i:Object.entries(i);for(let[e,i]of o){let n=i;m(i)&&(n=tf(i)),t.push(s+e+"="+encodeURIComponent(n))}}catch(e){throw t.push(s+"type="+encodeURIComponent("_badmap")),e}}catch(t){n&&n(i)}}if(a){o=t.join("&");break t}}o=void 0}return e.G=t=t.i.splice(0,i),o}function eW(t){if(!t.g&&!t.v){t.Y=1;var e=t.Da;x||N(),O||(x(),O=!0),M.add(e,t),t.A=0}}function eq(t){return!t.g&&!t.v&&!(t.A>=3)&&(t.Y++,t.v=tT(v(t.Da,t),eK(t,t.A)),t.A++,!0)}function e$(t){null!=t.B&&(y.clearTimeout(t.B),t.B=null)}function ez(t){t.g=new tR(t,t.j,"rpc",t.Y),null===t.u&&(t.g.J=t.o),t.g.P=0;var e=t3(t.na);t7(e,"RID","rpc"),t7(e,"SID",t.M),t7(e,"AID",t.K),t7(e,"CI",t.F?"0":"1"),!t.F&&t.ia&&t7(e,"TO",t.ia),t7(e,"TYPE","xmlhttp"),eV(t,e),t.u&&t.o&&eE(e,t.u,t.o),t.O&&(t.g.H=t.O);var i=t.g;t=t.ba,i.M=1,i.A=t9(t3(e)),i.u=null,i.R=!0,tH(i,t)}function eX(t){null!=t.C&&(y.clearTimeout(t.C),t.C=null)}function eG(t,e){var i,n=null;if(t.g==e){eX(t),e$(t),t.g=null;var r=2}else{if(!tZ(t.h,e))return;n=e.G,t0(t.h,e),r=1}if(0!=t.I){if(e.o)if(1==r){n=e.u?e.u.length:0,e=Date.now()-e.F;var s=t.D;to(r=tC(),new tD(r,n)),eF(t)}else eW(t);else if(3==(s=e.m)||0==s&&e.X>0||!(1==r&&(i=e,!(tJ(t.h)>=t.h.j-!!t.m)&&(t.m?(t.i=i.G.concat(t.i),!0):1!=t.I&&2!=t.I&&!(t.D>=(t.Sa?0:t.Ta))&&(t.m=tT(v(t.Ea,t,i),eK(t,t.D)),t.D++,!0)))||2==r&&eq(t)))switch(n&&n.length>0&&((e=t.h).i=e.i.concat(n)),s){case 1:eY(t,5);break;case 4:eY(t,10);break;case 3:eY(t,6);break;default:eY(t,2)}}}function eK(t,e){let i=t.Qa+Math.floor(Math.random()*t.Za);return t.isActive()||(i*=2),i*e}function eY(t,e){if(t.j.info("Error code "+e),2==e){let e,s,o;var i,n=v(t.bb,t),r=t.Ua;let a=!r;r=new t6(r||"//www.google.com/images/cleardot.gif"),y.location&&"http"==y.location.protocol||t4(r,"https"),t9(r),a?function(t,e){let i=new tx;if(y.Image){let n=new Image;n.onload=_(ey,i,"TestLoadImage: loaded",!0,e,n),n.onerror=_(ey,i,"TestLoadImage: error",!1,e,n),n.onabort=_(ey,i,"TestLoadImage: abort",!1,e,n),n.ontimeout=_(ey,i,"TestLoadImage: timeout",!1,e,n),y.setTimeout(function(){n.ontimeout&&n.ontimeout()},1e4),n.src=t}else e(!1)}(r.toString(),n):(i=r.toString(),e=new tx,s=new AbortController,o=setTimeout(()=>{s.abort(),ey(e,"TestPingServer: timeout",!1,n)},1e4),fetch(i,{signal:s.signal}).then(t=>{clearTimeout(o),t.ok?ey(e,"TestPingServer: ok",!0,n):ey(e,"TestPingServer: server error",!1,n)}).catch(()=>{clearTimeout(o),ey(e,"TestPingServer: error",!1,n)}))}else tA(2);t.I=0,t.l&&t.l.pa(e),eJ(t),eB(t)}function eJ(t){if(t.I=0,t.ja=[],t.l){let e=t1(t.h);(0!=e.length||0!=t.i.length)&&(E(t.ja,e),E(t.ja,t.i),t.h.i.length=0,I(t.i),t.i.length=0),t.l.oa()}}function eZ(t,e,i){var n=i instanceof t6?t3(i):new t6(i);if(""!=n.g)e&&(n.g=e+"."+n.g),t5(n,n.u);else{var r=y.location;n=r.protocol,e=e?e+"."+r.hostname:r.hostname,r=+r.port;let t=new t6(null);n&&t4(t,n),e&&(t.g=e),r&&t5(t,r),i&&(t.h=i),n=t}return i=t.G,e=t.wa,i&&e&&t7(n,i,e),t7(n,"VER",t.ka),eV(t,n),n}function eQ(t,e,i){if(e&&!t.L)throw Error("Can't create secondary domain capable XhrIo object.");return(e=new eS(t.Aa&&!t.ma?new eb({ab:i}):t.ma)).Fa(t.L),e}function e0(){}function e1(){}function e2(t,e){ts.call(this),this.g=new eR(e),this.l=t,this.h=e&&e.messageUrlParams||null,t=e&&e.messageHeaders||null,e&&e.clientProtocolHeaderRequired&&(t?t["X-Client-Protocol"]="webchannel":t={"X-Client-Protocol":"webchannel"}),this.g.o=t,t=e&&e.initMessageHeaders||null,e&&e.messageContentType&&(t?t["X-WebChannel-Content-Type"]=e.messageContentType:t={"X-WebChannel-Content-Type":e.messageContentType}),e&&e.sa&&(t?t["X-WebChannel-Client-Profile"]=e.sa:t={"X-WebChannel-Client-Profile":e.sa}),this.g.U=t,(t=e&&e.Qb)&&!P(t)&&(this.g.u=t),this.A=e&&e.supportsCrossDomainXhr||!1,this.v=e&&e.sendRawJson||!1,(e=e&&e.httpSessionIdParam)&&!P(e)&&(this.g.G=e,null!==(t=this.h)&&e in t&&e in(t=this.h)&&delete t[e]),this.j=new e4(this)}function e6(t){tb.call(this),t.__headers__&&(this.headers=t.__headers__,this.statusCode=t.__status__,delete t.__headers__,delete t.__status__);var e=t.__sm__;if(e){t:{for(let i in e){t=i;break t}t=void 0}(this.i=t)&&(t=this.i,e=null!==e&&t in e?e[t]:void 0),this.data=e}else this.data=t}function e3(){tv.call(this),this.status=1}function e4(t){this.g=t}(e=eS.prototype).Fa=function(t){this.H=t},e.ea=function(e,i,n,r){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+e);i=i?i.toUpperCase():"GET",this.D=e,this.l="",this.o=0,this.A=!1,this.h=!0,this.g=this.L?this.L.g():t.g(),this.g.onreadystatechange=C(v(this.Ca,this));try{this.B=!0,this.g.open(i,String(e),!0),this.B=!1}catch(t){eT(this,t);return}if(e=n||"",n=new Map(this.headers),r)if(Object.getPrototypeOf(r)===Object.prototype)for(var s in r)n.set(s,r[s]);else if("function"==typeof r.keys&&"function"==typeof r.get)for(let t of r.keys())n.set(t,r.get(t));else throw Error("Unknown input type for opt_headers: "+String(r));for(let[t,o]of(r=Array.from(n.keys()).find(t=>"content-type"==t.toLowerCase()),s=y.FormData&&e instanceof y.FormData,!(Array.prototype.indexOf.call(eD,i,void 0)>=0)||r||s||n.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),n))this.g.setRequestHeader(t,o);this.F&&(this.g.responseType=this.F),"withCredentials"in this.g&&this.g.withCredentials!==this.H&&(this.g.withCredentials=this.H);try{this.m&&(clearTimeout(this.m),this.m=null),this.v=!0,this.g.send(e),this.v=!1}catch(t){eT(this,t)}},e.abort=function(t){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,this.o=t||7,to(this,"complete"),to(this,"abort"),eM(this))},e.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),eM(this,!0)),eS.Z.N.call(this)},e.Ca=function(){this.u||(this.B||this.v||this.j?eO(this):this.Xa())},e.Xa=function(){eO(this)},e.isActive=function(){return!!this.g},e.ca=function(){try{return eN(this)>2?this.g.status:-1}catch(t){return -1}},e.la=function(){try{return this.g?this.g.responseText:""}catch(t){return""}},e.La=function(t){if(this.g){var e=this.g.responseText;return t&&0==e.indexOf(t)&&(e=e.substring(t.length)),td(e)}},e.ya=function(){return this.o},e.Ha=function(){return"string"==typeof this.l?this.l:String(this.l)}
1,(e=eR.prototype).ka=8,e.I=1,e.connect=function(t,e,i,n){tA(0),this.W=t,this.H=e||{},i&&void 0!==n&&(this.H.OSID=i,this.H.OAID=n),this.F=this.X,this.J=eZ(this,null,this.W),eF(this)},e.Ea=function(t){if(this.m)if(this.m=null,1==this.I){if(!t){this.V=Math.floor(1e5*Math.random()),t=this.V++;let r=new tR(this,this.j,t),s=this.o;if(this.U&&(s?z(s=q(s),this.U):s=this.U),null!==this.u||this.R||(r.J=s,s=null),this.S)t:{for(var e=0,i=0;i<this.i.length;i++){e:{var n=this.i[i];if("__data__"in n.map&&"string"==typeof(n=n.map.__data__)){n=n.length;break e}n=void 0}if(void 0===n)break;if((e+=n)>4096){e=i;break t}if(4096===e||i===this.i.length-1){e=i+1;break t}}e=1e3}else e=1e3;e=eU(this,r,e),t7(i=t3(this.J),"RID",t),t7(i,"CVER",22),this.G&&t7(i,"X-HTTP-Session-Id",this.G),eV(this,i),s&&(this.R?e="headers="+tj(eI(s))+"&"+e:this.u&&eE(i,this.u,s)),tQ(this.h,r),this.Ra&&t7(i,"TYPE","init"),this.S?(t7(i,"$req",e),t7(i,"SID","null"),r.U=!0,tF(r,i,null)):tF(r,i,e),this.I=2}}else 3==this.I&&(t?eH(this,t):0==this.i.length||tY(this.h)||eH(this))},e.Da=function(){if(this.v=null,ez(this),this.aa&&!(this.P||null==this.g||this.T<=0)){var t=4*this.T;this.j.info("BP detection timer enabled: "+t),this.B=tT(v(this.Wa,this),t)}},e.Wa=function(){this.B&&(this.B=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.F=!1,this.P=!0,tA(10),eP(this),ez(this))},e.Va=function(){null!=this.C&&(this.C=null,eP(this),eq(this),tA(19))},e.bb=function(t){t?(this.j.info("Successfully pinged google.com"),tA(2)):(this.j.info("Failed to ping google.com"),tA(1))},e.isActive=function(){return!!this.l&&this.l.isActive(this)},(e=e0.prototype).ra=function(){},e.qa=function(){},e.pa=function(){},e.oa=function(){},e.isActive=function(){return!0},e.Ka=function(){},e1.prototype.g=function(t,e){return new e2(t,e)},w(e2,ts),e2.prototype.m=function(){this.g.l=this.j,this.A&&(this.g.L=!0),this.g.connect(this.l,this.h||void 0)},e2.prototype.close=function(){eL(this.g)},e2.prototype.o=function(t){var e=this.g;if("string"==typeof t){var i={};i.__data__=t,t=i}else this.v&&((i={}).__data__=tf(t),t=i);e.i.push(new tG(e.Ya++,t)),3==e.I&&eF(e)},e2.prototype.N=function(){this.g.l=null,delete this.j,eL(this.g),delete this.g,e2.Z.N.call(this)},w(e6,tb),w(e3,tv),w(e4,e0),e4.prototype.ra=function(){to(this.g,"a")},e4.prototype.qa=function(t){to(this.g,new e6(t))},e4.prototype.pa=function(t){to(this.g,new e3)},e4.prototype.oa=function(){to(this.g,"b")},e1.prototype.createWebChannel=e1.prototype.g,e2.prototype.send=e2.prototype.o,e2.prototype.open=e2.prototype.m,e2.prototype.close=e2.prototype.close,u=f.createWebChannelTransport=function(){return new e1},l=f.getStatEventTarget=function(){return tC()},h=f.Event=t_,a=f.Stat={jb:0,mb:1,nb:2,Hb:3,Mb:4,Jb:5,Kb:6,Ib:7,Gb:8,Lb:9,PROXY:10,NOPROXY:11,Eb:12,Ab:13,Bb:14,zb:15,Cb:16,Db:17,fb:18,eb:19,gb:20},tM.NO_ERROR=0,tM.TIMEOUT=8,tM.HTTP_ERROR=6,o=f.ErrorCode=tM,tN.COMPLETE="complete",s=f.EventType=tN,ty.EventType=tm,tm.OPEN="a",tm.CLOSE="b",tm.ERROR="c",tm.MESSAGE="d",ts.prototype.listen=ts.prototype.J,r=f.WebChannel=ty,f.FetchXmlHttpFactory=eb,eS.prototype.listenOnce=eS.prototype.K,eS.prototype.getLastError=eS.prototype.Ha,eS.prototype.getLastErrorCode=eS.prototype.ya,eS.prototype.getStatus=eS.prototype.ca,eS.prototype.getResponseJson=eS.prototype.La,eS.prototype.getResponseText=eS.prototype.la,eS.prototype.send=eS.prototype.ea,eS.prototype.setWithCredentials=eS.prototype.Fa,n=f.XhrIo=eS}).apply(void 0!==c?c:"u">typeof self?self:"u">typeof window?window:{})},68756:(t,e,i)=>{var n,r;i.d(e,{$b:()=>n,Vy:()=>u});let s=[];(r=n||(n={}))[r.DEBUG=0]="DEBUG",r[r.VERBOSE=1]="VERBOSE",r[r.INFO=2]="INFO",r[r.WARN=3]="WARN",r[r.ERROR=4]="ERROR",r[r.SILENT=5]="SILENT";let o={debug:n.DEBUG,verbose:n.VERBOSE,info:n.INFO,warn:n.WARN,error:n.ERROR,silent:n.SILENT},a=n.INFO,h={[n.DEBUG]:"log",[n.VERBOSE]:"log",[n.INFO]:"info",[n.WARN]:"warn",[n.ERROR]:"error"},l=(t,e,...i)=>{if(e<t.logLevel)return;let n=new Date().toISOString(),r=h[e];if(r)console[r](`[${n}]  ${t.name}:`,...i);
1else throw Error(`Attempted to log a message with an invalid logType (value: ${e})`)};class u{constructor(t){this.name=t,this._logLevel=a,this._logHandler=l,this._userLogHandler=null,s.push(this)}get logLevel(){return this._logLevel}set logLevel(t){if(!(t in n))throw TypeError(`Invalid value "${t}" assigned to \`logLevel\``);this._logLevel=t}setLogLevel(t){this._logLevel="string"==typeof t?o[t]:t}get logHandler(){return this._logHandler}set logHandler(t){if("function"!=typeof t)throw TypeError("Value assigned to `logHandler` must be a function");this._logHandler=t}get userLogHandler(){return this._userLogHandler}set userLogHandler(t){this._userLogHandler=t}debug(...t){this._userLogHandler&&this._userLogHandler(this,n.DEBUG,...t),this._logHandler(this,n.DEBUG,...t)}log(...t){this._userLogHandler&&this._userLogHandler(this,n.VERBOSE,...t),this._logHandler(this,n.VERBOSE,...t)}info(...t){this._userLogHandler&&this._userLogHandler(this,n.INFO,...t),this._logHandler(this,n.INFO,...t)}warn(...t){this._userLogHandler&&this._userLogHandler(this,n.WARN,...t),this._logHandler(this,n.WARN,...t)}error(...t){this._userLogHandler&&this._userLogHandler(this,n.ERROR,...t),this._logHandler(this,n.ERROR,...t)}}},77104:(t,e,i)=>{i.d(e,{cY:()=>m,FA:()=>L,g:()=>R,u:()=>u,Uj:()=>l,Fy:()=>_,tD:()=>W,bD:()=>function t(e,i){if(e===i)return!0;let n=Object.keys(e),r=Object.keys(i);for(let s of n){if(!r.includes(s))return!1;let n=e[s],o=i[s];if(F(n)&&F(o)){if(!t(n,o))return!1}else if(n!==o)return!1}for(let t of r)if(!n.includes(t))return!1;return!0},hp:()=>U,T9:()=>g,Tj:()=>d,yU:()=>p,XA:()=>y,mS:()=>c,Ku:()=>z,ZQ:()=>E,sr:()=>T,zJ:()=>b,c1:()=>D,Im:()=>B,lT:()=>O,zW:()=>k,jZ:()=>S,lV:()=>x,nr:()=>M,Ov:()=>N,gE:()=>v,Am:()=>H,I9:()=>V,P1:()=>I,eX:()=>j});var n=i(41463);let r=function(t){let e=[],i=0;for(let n=0;n<t.length;n++){let r=t.charCodeAt(n);r<128?e[i++]=r:(r<2048?e[i++]=r>>6|192:((64512&r)==55296&&n+1<t.length&&(64512&t.charCodeAt(n+1))==56320?(r=65536+((1023&r)<<10)+(1023&t.charCodeAt(++n)),e[i++]=r>>18|240,e[i++]=r>>12&63|128):e[i++]=r>>12|224,e[i++]=r>>6&63|128),e[i++]=63&r|128)}return e},s=function(t){let e=[],i=0,n=0;for(;i<t.length;){let r=t[i++];if(r<128)e[n++]=String.fromCharCode(r);else if(r>191&&r<224){let s=t[i++];e[n++]=String.fromCharCode((31&r)<<6|63&s)}else if(r>239&&r<365){let s=((7&r)<<18|(63&t[i++])<<12|(63&t[i++])<<6|63&t[i++])-65536;e[n++]=String.fromCharCode(55296+(s>>10)),e[n++]=String.fromCharCode(56320+(1023&s))}else{let s=t[i++],o=t[i++];e[n++]=String.fromCharCode((15&r)<<12|(63&s)<<6|63&o)}}return e.join("")},o={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(t,e){if(!Array.isArray(t))throw Error("encodeByteArray takes an array as a parameter");this.init_();let i=e?this.byteToCharMapWebSafe_:this.byteToCharMap_,n=[];for(let e=0;e<t.length;e+=3){let r=t[e],s=e+1<t.length,o=s?t[e+1]:0,a=e+2<t.length,h=a?t[e+2]:0,l=r>>2,u=(3&r)<<4|o>>4,c=(15&o)<<2|h>>6,f=63&h;!a&&(f=64,s||(c=64)),n.push(i[l],i[u],i[c],i[f])}return n.join("")},encodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?btoa(t):this.encodeByteArray(r(t),e)},decodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?atob(t):s(this.decodeStringToByteArray(t,e))},decodeStringToByteArray(t,e){this.init_();let i=e?this.charToByteMapWebSafe_:this.charToByteMap_,n=[];for(let e=0;e<t.length;){let r=i[t.charAt(e++)],s=e<t.length?i[t.charAt(e)]:0,o=++e<t.length?i[t.charAt(e)]:64,h=++e<t.length?i[t.charAt(e)]:64;if(++e,null==r||null==s||null==o||null==h)throw new a;let l=r<<2|s>>4;if(n.push(l),64!==o){let t=s<<4&240|o>>2;if(n.push(t),64!==h){let t=o<<6&192|h;n.push(t)}}}return n},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let t=0;t<this.ENCODED_VALS.length;t++)this.byteToCharMap_[t]=this.ENCODED_VALS.charAt(t),this.charToByteMap_[this.byteToCharMap_[t]]=t,this.byteToCharMapWebSafe_[t]=this.ENCODED_VALS_WEBSAFE.charAt(t),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[t]]=t,t>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(t)]=t,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(t)]=t)}}};
1class a extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}let h=function(t){let e=r(t);return o.encodeByteArray(e,!0)},l=function(t){return h(t).replace(/\./g,"")},u=function(t){try{return o.decodeString(t,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};function c(){if("u">typeof self)return self;if("u">typeof window)return window;if(void 0!==i.g)return i.g;throw Error("Unable to locate global object.")}let f=()=>{try{return c().__FIREBASE_DEFAULTS__||(()=>{if(void 0===n||void 0===n.env)return;let t=n.env.__FIREBASE_DEFAULTS__;if(t)return JSON.parse(t)})()||(()=>{let t;if("u"<typeof document)return;try{t=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch(t){return}let e=t&&u(t[1]);return e&&JSON.parse(e)})()}catch(t){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${t}`);return}},d=t=>f()?.emulatorHosts?.[t],p=t=>{let e=d(t);if(!e)return;let i=e.lastIndexOf(":");if(i<=0||i+1===e.length)throw Error(`Invalid host ${e} with no separate hostname and port!`);let n=parseInt(e.substring(i+1),10);return"["===e[0]?[e.substring(1,i-1),n]:[e.substring(0,i),n]},g=()=>f()?.config,y=t=>f()?.[`_${t}`];class m{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}wrapCallback(t){return(e,i)=>{e?this.reject(e):this.resolve(i),"function"==typeof t&&(this.promise.catch(()=>{}),1===t.length?t(e):t(e,i))}}}function b(t){try{return(t.startsWith("http://")||t.startsWith("https://")?new URL(t).hostname:t).endsWith(".cloudworkstations.dev")}catch{return!1}}async function v(t){return(await fetch(t,{credentials:"include"})).ok}function _(t,e){if(t.uid)throw Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');
1let i=e||"demo-project",n=t.iat||0,r=t.sub||t.user_id;if(!r)throw Error("mockUserToken must contain 'sub' or 'user_id' field!");let s={iss:`https://securetoken.google.com/${i}`,aud:i,iat:n,exp:n+3600,auth_time:n,sub:r,user_id:r,firebase:{sign_in_provider:"custom",identities:{}},...t};return[l(JSON.stringify({alg:"none",type:"JWT"})),l(JSON.stringify(s)),""].join(".")}let w={},C=!1;function I(t,e){if("u"<typeof window||"u"<typeof document||!b(window.location.host)||w[t]===e||w[t]||C)return;function i(t){return`__firebase__banner__${t}`}w[t]=e;let n="__firebase__banner",r=function(){let t={prod:[],emulator:[]};for(let e of Object.keys(w))w[e]?t.emulator.push(e):t.prod.push(e);return t}().prod.length>0;function s(){let t,e,s=(t=document.getElementById(n),e=!1,t||((t=document.createElement("div")).setAttribute("id",n),e=!0),{created:e,element:t}),o=i("text"),a=document.getElementById(o)||document.createElement("span"),h=i("learnmore"),l=document.getElementById(h)||document.createElement("a"),u=i("preprendIcon"),c=document.getElementById(u)||document.createElementNS("http://www.w3.org/2000/svg","svg");if(s.created){let t,e=s.element;e.style.display="flex",e.style.background="#7faaf0",e.style.position="fixed",e.style.bottom="5px",e.style.left="5px",e.style.padding=".5em",e.style.borderRadius="5px",e.style.alignItems="center",l.setAttribute("id",h),l.innerText="Learn more",l.href="https://firebase.google.com/docs/studio/preview-apps#preview-backend",l.setAttribute("target","__blank"),l.style.paddingLeft="5px",l.style.textDecoration="underline";let i=((t=document.createElement("span")).style.cursor="pointer",t.style.marginLeft="16px",t.style.fontSize="24px",t.innerHTML=" &times;",t.onclick=()=>{let t;C=!0,(t=document.getElementById(n))&&t.remove()},t);c.setAttribute("width","24"),c.setAttribute("id",u),c.setAttribute("height","24"),c.setAttribute("viewBox","0 0 24 24"),c.setAttribute("fill","none"),c.style.marginLeft="-6px",e.append(c,a,l,i),document.body.appendChild(e)}r?(a.innerText="Preview backend disconnected.",c.innerHTML=`<g clip-path="url(#clip0_6013_33858)">
2<path d="M4.8 17.6L12 5.6L19.2 17.6H4.8ZM6.91667 16.4H17.0833L12 7.93333L6.91667 16.4ZM12 15.6C12.1667 15.6 12.3056 15.5444 12.4167 15.4333C12.5389 15.3111 12.6 15.1667 12.6 15C12.6 14.8333 12.5389 14.6944 12.4167 14.5833C12.3056 14.4611 12.1667 14.4 12 14.4C11.8333 14.4 11.6889 14.4611 11.5667 14.5833C11.4556 14.6944 11.4 14.8333 11.4 15C11.4 15.1667 11.4556 15.3111 11.5667 15.4333C11.6889 15.5444 11.8333 15.6 12 15.6ZM11.4 13.6H12.6V10.4H11.4V13.6Z" fill="#212121"/>
3</g>
4<defs>
5<clipPath id="clip0_6013_33858">
6<rect width="24" height="24" fill="white"/>
7</clipPath>
8</defs>`):(c.innerHTML=`<g clip-path="url(#clip0_6083_34804)">
9<path d="M11.4 15.2H12.6V11.2H11.4V15.2ZM12 10C12.1667 10 12.3056 9.94444 12.4167 9.83333C12.5389 9.71111 12.6 9.56667 12.6 9.4C12.6 9.23333 12.5389 9.09444 12.4167 8.98333C12.3056 8.86111 12.1667 8.8 12 8.8C11.8333 8.8 11.6889 8.86111 11.5667 8.98333C11.4556 9.09444 11.4 9.23333 11.4 9.4C11.4 9.56667 11.4556 9.71111 11.5667 9.83333C11.6889 9.94444 11.8333 10 12 10ZM12 18.4C11.1222 18.4 10.2944 18.2333 9.51667 17.9C8.73889 17.5667 8.05556 17.1111 7.46667 16.5333C6.88889 15.9444 6.43333 15.2611 6.1 14.4833C5.76667 13.7056 5.6 12.8778 5.6 12C5.6 11.1111 5.76667 10.2833 6.1 9.51667C6.43333 8.73889 6.88889 8.06111 7.46667 7.48333C8.05556 6.89444 8.73889 6.43333 9.51667 6.1C10.2944 5.76667 11.1222 5.6 12 5.6C12.8889 5.6 13.7167 5.76667 14.4833 6.1C15.2611 6.43333 15.9389 6.89444 16.5167 7.48333C17.1056 8.06111 17.5667 8.73889 17.9 9.51667C18.2333 10.2833 18.4 11.1111 18.4 12C18.4 12.8778 18.2333 13.7056 17.9 14.4833C17.5667 15.2611 17.1056 15.9444 16.5167 16.5333C15.9389 17.1111 15.2611 17.5667 14.4833 17.9C13.7167 18.2333 12.8889 18.4 12 18.4ZM12 17.2C13.4444 17.2 14.6722 16.6944 15.6833 15.6833C16.6944 14.6722 17.2 13.4444 17.2 12C17.2 10.5556 16.6944 9.32778 15.6833 8.31667C14.6722 7.30555 13.4444 6.8 12 6.8C10.5556 6.8 9.32778 7.30555 8.31667 8.31667C7.30556 9.32778 6.8 10.5556 6.8 12C6.8 13.4444 7.30556 14.6722 8.31667 15.6833C9.32778 16.6944 10.5556 17.2 12 17.2Z" fill="#212121"/>
10</g>
11<defs>
12<clipPath id="clip0_6083_34804">
13<rect width="24" height="24" fill="white"/>
14</clipPath>
15</defs>`,a.innerText="Preview backend running in this workspace."),a.setAttribute("id",o)}"loading"===document.readyState?window.addEventListener("DOMContentLoaded",s):s()}function E(){return"u">typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function S(){return"u">typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(E())}function A(){let t=f()?.forceEnvironment;if("node"===t)return!0;
15if("browser"===t)return!1;try{return"[object process]"===Object.prototype.toString.call(i.g.process)}catch(t){return!1}}function D(){return"u">typeof navigator&&"Cloudflare-Workers"===navigator.userAgent}function T(){let t="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof t&&void 0!==t.id}function x(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function O(){let t=E();return t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0}function M(){return!A()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function N(){return!A()&&!!navigator.userAgent&&(navigator.userAgent.includes("Safari")||navigator.userAgent.includes("WebKit"))&&!navigator.userAgent.includes("Chrome")}function k(){try{return"object"==typeof indexedDB}catch(t){return!1}}function j(){return new Promise((t,e)=>{try{let i=!0,n="validate-browser-context-for-indexeddb-analytics-module",r=self.indexedDB.open(n);r.onsuccess=()=>{r.result.close(),i||self.indexedDB.deleteDatabase(n),t(!0)},r.onupgradeneeded=()=>{i=!1},r.onerror=()=>{e(r.error?.message||"")}}catch(t){e(t)}})}class R extends Error{constructor(t,e,i){super(e),this.code=t,this.customData=i,this.name="FirebaseError",Object.setPrototypeOf(this,R.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,L.prototype.create)}}class L{constructor(t,e,i){this.service=t,this.serviceName=e,this.errors=i}create(t,...e){var i,n;let r=e[0]||{},s=`${this.service}/${t}`,o=this.errors[t],a=o?(i=o,n=r,i.replace(P,(t,e)=>{let i=n[e];return null!=i?String(i):`<${e}?>`})):"Error",h=`${this.serviceName}: ${a} (${s}).`;return new R(s,h,r)}}let P=/\{\$([^}]+)}/g;function B(t){for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}function F(t){return null!==t&&"object"==typeof t}function H(t){let e=[];for(let[i,n]of Object.entries(t))Array.isArray(n)?n.forEach(t=>{e.push(encodeURIComponent(i)+"="+encodeURIComponent(t))}):e.push(encodeURIComponent(i)+"="+encodeURIComponent(n));return e.length?"&"+e.join("&"):""}function V(t){let e={};return t.replace(/^\?/,"").split("&").forEach(t=>{if(t){let[i,n]=t.split("=");e[decodeURIComponent(i)]=decodeURIComponent(n)}}),e}function U(t){let e=t.indexOf("?");if(!e)return"";let i=t.indexOf("#",e);return t.substring(e,i>0?i:void 0)}function W(t,e){let i=new q(t,e);return i.subscribe.bind(i)}class q{constructor(t,e){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=e,this.task.then(()=>{t(this)}).catch(t=>{this.error(t)})}next(t){this.forEachObserver(e=>{e.next(t)})}error(t){this.forEachObserver(e=>{e.error(t)}),this.close(t)}complete(){this.forEachObserver(t=>{t.complete()}),this.close()}subscribe(t,e,i){let n;if(void 0===t&&void 0===e&&void 0===i)throw Error("Missing Observer.");void 0===(n=!function(t,e){if("object"!=typeof t||null===t)return!1;for(let i of e)if(i in t&&"function"==typeof t[i])return!0;return!1}(t,["next","error","complete"])?{next:t,error:e,complete:i}:t).next&&(n.next=$),void 0===n.error&&(n.error=$),void 0===n.complete&&(n.complete=$);let r=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?n.error(this.finalError):n.complete()}catch(t){}}),this.observers.push(n),r}unsubscribeOne(t){void 0!==this.observers&&void 0!==this.observers[t]&&(delete this.observers[t],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(t){if(!this.finalized)for(let e=0;e<this.observers.length;e++)this.sendOne(e,t)}sendOne(t,e){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[t])try{e(this.observers[t])}catch(t){"u">typeof console&&console.error&&console.error(t)}})}close(t){this.finalized||(this.finalized=!0,void 0!==t&&(this.finalError=t),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function $(){}function z(t){return t&&t._delegate?t._delegate:t}},91531:(t,e,i)=>{i.d(e,{S0:()=>s.aw,Timestamp:()=>s.az,gS:()=>tt,C3:()=>s.aL,hq:()=>s.aM,collection:()=>s.aO,Cs:()=>s.aP,vN:()=>s.aQ,kd:()=>Q,CL:()=>s.aR,H9:()=>s.a6,Fs:()=>s.aT,FD:()=>x,O_:()=>B,getCountFromServer:()=>P,getDoc:()=>K,getDocs:()=>Y,aU:()=>s.aX,GV:()=>s.aY,_A:()=>s.aZ,limit:()=>E,onSnapshot:()=>te,My:()=>C,query:()=>m,c4:()=>G,O5:()=>s.a$,BN:()=>J,HM:()=>D,EO:()=>A,cz:()=>L,mZ:()=>Z,where:()=>v,wP:()=>tr});var n=i(15154),r=i(42543),s=i(3695),o=i(77104);i(13549),i(68756),i(48785);let a="@firebase/firestore",h="4.11.0";function l(t){if("object"!=typeof t||null===t)return!1;for(let e of["next","error","complete"])if(e in t&&"function"==typeof t[e])return!0;return!1}class u{constructor(t="count",e){this._internalFieldPath=e,this.type="AggregateField",this.aggregateType=t}}class c{constructor(t,e,i){this._userDataWriter=e,this._data=i,this.type="AggregateQuerySnapsh
15ot",this.query=t}data(){return this._userDataWriter.convertObjectMap(this._data)}_fieldsProto(){return new s.O({mapValue:{fields:this._data}}).clone().value.mapValue.fields}}class f{constructor(t,e,i,n,r){this._firestore=t,this._userDataWriter=e,this._key=i,this._document=n,this._converter=r}get id(){return this._key.path.lastSegment()}get ref(){return new s.D(this._firestore,this._converter,this._key)}exists(){return null!==this._document}data(){if(this._document){if(this._converter){let t=new d(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(t)}return this._userDataWriter.convertValue(this._document.data.value)}}_fieldsProto(){return this._document?.data.clone().value.mapValue.fields??void 0}get(t){if(this._document){let e=this._document.data.field((0,s.i)("DocumentSnapshot.get",t));if(null!==e)return this._userDataWriter.convertValue(e)}}}class d extends f{data(){return super.data()}}function p(t){if("L"===t.limitType&&0===t.explicitOrderBy.length)throw new s.d(s.C.UNIMPLEMENTED,"limitToLast() queries require specifying at least one orderBy() clause")}class g{}class y extends g{}function m(t,e,...i){let n=[];for(let r of(e instanceof g&&n.push(e),function(t){let e=t.filter(t=>t instanceof _).length,i=t.filter(t=>t instanceof b).length;if(e>1||e>0&&i>0)throw new s.d(s.C.INVALID_ARGUMENT,"InvalidQuery. When using composite filters, you cannot use more than one filter at the top level. Consider nesting the multiple filters within an `and(...)` statement. For example: change `query(query, where(...), or(...))` to `query(query, and(where(...), or(...)))`.")}(n=n.concat(i)),n))t=r._apply(t);return t}class b extends y{constructor(t,e,i){super(),this._field=t,this._op=e,this._value=i,this.type="where"}static _create(t,e,i){return new b(t,e,i)}_apply(t){let e=this._parse(t);return k(t._query,e),new s.Q(t.firestore,t.converter,(0,s.e)(t._query,e))}_parse(t){let e=(0,s.f)(t.firestore);return function(t,e,i,n,r,o,a){let h;if(r.isKeyField()){if("array-contains"===o||"array-contains-any"===o)throw new s.d(s.C.INVALID_ARGUMENT,`Invalid Query. You can't perform '${o}' queries on documentId().`);if("in"===o||"not-in"===o){N(a,o);let e=[];for(let i of a)e.push(M(n,t,i));h={arrayValue:{values:e}}}else h=M(n,t,a)}else"in"!==o&&"not-in"!==o&&"array-contains-any"!==o||N(a,o),h=(0,s.g)(i,e,a,"in"===o||"not-in"===o);return s.h.create(r,o,h)}(t._query,"where",e,t.firestore._databaseId,this._field,this._op,this._value)}}function v(t,e,i){let n=(0,s.i)("where",t);return b._create(n,e,i)}class _ extends g{constructor(t,e){super(),this.type=t,this._queryConstraints=e}static _create(t,e){return new _(t,e)}_parse(t){let e=this._queryConstraints.map(e=>e._parse(t)).filter(t=>t.getFilters().length>0);return 1===e.length?e[0]:s.j.create(e,this._getOperator())}_apply(t){let e=this._parse(t);return 0===e.getFilters().length?t:(function(t,e){let i=t;for(let t of e.getFlattenedFilters())k(i,t),i=(0,s.e)(i,t)}(t._query,e),new s.Q(t.firestore,t.converter,(0,s.e)(t._query,e)))}_getQueryConstraints(){return this._queryConstraints}_getOperator(){return"and"===this.type?"and":"or"}}class w extends y{constructor(t,e){super(),this._field=t,this._direction=e,this.type="orderBy"}static _create(t,e){return new w(t,e)}_apply(t){let e=function(t,e,i){if(null!==t.startAt)throw new s.d(s.C.INVALID_ARGUMENT,"Invalid query. You must not call startAt() or startAfter() before calling orderBy().");if(null!==t.endAt)throw new s.d(s.C.INVALID_ARGUMENT,"Invalid query. You must not call endAt() or endBefore() before calling orderBy().");return new s.an(e,i)}(t._query,this._field,this._direction);return new s.Q(t.firestore,t.converter,(0,s.k)(t._query,e))}}function C(t,e="asc"){let i=(0,s.i)("orderBy",t);return w._create(i,e)}class I extends y{constructor(t,e,i){super(),this.type=t,this._limit=e,this._limitType=i}static _create(t,e,i){return new I(t,e,i)}_apply(t){return new s.Q(t.firestore,t.converter,(0,s.l)(t._query,this._limit,this._limitType))}}function E(t){return(0,s.m)("limit",t),I._create("limit",t,"F")}class S extends y{constructor(t,e,i){super(),this.type=t,this._docOrFields=e,this._inclusive=i}static _create(t,e,i){return new S(t,e,i)}_apply(t){let e=O(t,this.type,this._docOrFields,this._inclusive);return new s.Q(t.firestore,t.converter,(0,s.n)(t._query,e))}}function A(...t){return S._create("startAt",t,!0)}function D(...t){return S._create("startAfter",t,!1)}class T extends y{constructor(t,e,i){super(),this.type=t,this._docOrFields=e,this._inclusive=i}static _create(t,e,i){return new T(t,e,i)}_apply(t){let e=O(t,this.type,this._docOrFields,this._inclusive);return new s.Q(t.firestore,t.converter,(0,s.o)(t._query,e))}}function x(...t){return T._create("endAt",t,!0)}function O(t,e,i,n){if(i[0]=(0,o.Ku)(i[0]),i[0]instanceof f)return function(t,e,
15i,n,r){if(!n)throw new s.d(s.C.NOT_FOUND,`Can't use a DocumentSnapshot that doesn't exist for ${i}().`);let o=[];for(let i of(0,s.q)(t))if(i.field.isKeyField())o.push((0,s.r)(e,n.key));else{let t=n.data.field(i.field);if((0,s.s)(t))throw new s.d(s.C.INVALID_ARGUMENT,'Invalid query. You are trying to start or end a query using a document for which the field "'+i.field+'" is an uncommitted server timestamp. (Since the value of this field is unknown, you cannot start/end a query with it.)');if(null===t){let t=i.field.canonicalString();throw new s.d(s.C.INVALID_ARGUMENT,`Invalid query. You are trying to start or end a query using a document for which the field '${t}' (used as the orderBy) does not exist.`)}o.push(t)}return new s.t(o,r)}(t._query,t.firestore._databaseId,e,i[0]._document,n);{let r=(0,s.f)(t.firestore);return function(t,e,i,n,r,o){let a=t.explicitOrderBy;if(r.length>a.length)throw new s.d(s.C.INVALID_ARGUMENT,`Too many arguments provided to ${n}(). The number of arguments must be less than or equal to the number of orderBy() clauses`);let h=[];for(let o=0;o<r.length;o++){let l=r[o];if(a[o].field.isKeyField()){if("string"!=typeof l)throw new s.d(s.C.INVALID_ARGUMENT,`Invalid query. Expected a string for document ID in ${n}(), but got a ${typeof l}`);if(!(0,s.u)(t)&&-1!==l.indexOf("/"))throw new s.d(s.C.INVALID_ARGUMENT,`Invalid query. When querying a collection and ordering by documentId(), the value passed to ${n}() must be a plain document ID, but '${l}' contains a slash.`);let i=t.path.child(s.R.fromString(l));if(!s.v.isDocumentKey(i))throw new s.d(s.C.INVALID_ARGUMENT,`Invalid query. When querying a collection group and ordering by documentId(), the value passed to ${n}() must result in a valid document path, but '${i}' is not because it contains an odd number of segments.`);let r=new s.v(i);h.push((0,s.r)(e,r))}else{let t=(0,s.g)(i,n,l);h.push(t)}}return new s.t(h,o)}(t._query,t.firestore._databaseId,r,e,i,n)}}function M(t,e,i){if("string"==typeof(i=(0,o.Ku)(i))){if(""===i)throw new s.d(s.C.INVALID_ARGUMENT,"Invalid query. When querying with documentId(), you must provide a valid document ID, but it was an empty string.");if(!(0,s.u)(e)&&-1!==i.indexOf("/"))throw new s.d(s.C.INVALID_ARGUMENT,`Invalid query. When querying a collection by documentId(), you must provide a plain document ID, but '${i}' contains a '/' character.`);let n=e.path.child(s.R.fromString(i));if(!s.v.isDocumentKey(n))throw new s.d(s.C.INVALID_ARGUMENT,`Invalid query. When querying a collection group by documentId(), the value provided must result in a valid document path, but '${n}' is not because it has an odd number of segments (${n.length}).`);return(0,s.r)(t,new s.v(n))}if(i instanceof s.D)return(0,s.r)(t,i._key);throw new s.d(s.C.INVALID_ARGUMENT,`Invalid query. When querying with documentId(), you must provide a valid string or a DocumentReference, but it was: ${(0,s.w)(i)}.`)}function N(t,e){if(!Array.isArray(t)||0===t.length)throw new s.d(s.C.INVALID_ARGUMENT,`Invalid Query. A non-empty array is required for '${e.toString()}' filters.`)}function k(t,e){let i=function(t,e){for(let i of t)for(let t of i.getFlattenedFilters())if(e.indexOf(t.op)>=0)return t.op;return null}(t.filters,function(t){switch(t){case"!=":return["!=","not-in"];case"array-contains-any":case"in":return["not-in"];case"not-in":return["array-contains-any","in","not-in","!="];default:return[]}}(e.op));if(null!==i)throw i===e.op?new s.d(s.C.INVALID_ARGUMENT,`Invalid query. You cannot use more than one '${e.op.toString()}' filter.`):new s.d(s.C.INVALID_ARGUMENT,`Invalid query. You cannot use '${e.op.toString()}' filters with '${i.toString()}' filters.`)}function j(t,e,i){return t?i&&(i.merge||i.mergeFields)?t.toFirestore(e,i):t.toFirestore(e):e}class R extends s.A{constructor(t){super(),this.firestore=t}convertBytes(t){return new s.B(t)}convertReference(t){let e=this.convertDocumentKey(t,this.firestore._databaseId);return new s.D(this.firestore,null,e)}}function L(t){return new u("sum",(0,s.i)("sum",t))}function P(t){return B(t,{count:new u("count")})}function B(t,e){let i=(0,s.y)(t.firestore,s.F),n=(0,s.z)(i),r=(0,s.E)(e,(t,e)=>new s.ao(e,t.aggregateType,t._internalFieldPath));return(0,s.G)(n,t._query,r).then(e=>new c(t,new s.H(i),e))}class F{constructor(t,e){this.hasPendingWrites=t,this.fromCache=e}isEqual(t){return this.hasPendingWrites===t.hasPendingWrites&&this.fromCache===t.fromCache}}class H extends f{constructor(t,e,i,n,r,s){super(t,e,i,n,s),this._firestore=t,this._firestoreImpl=t,this.metadata=r}exists(){return super.exists()}data(t={}){if(this._document){if(this._converter){let e=new V(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(e,t)}return this._userDataWriter.convertValue(this._document.data.value,t.serverTimestamps)}}get(t,e={}){if(this._document){let i=this._document.data.field((0,s.i)("DocumentSnapshot.get",t));if(null!==i)return this._userDataWriter.convertValue(i,e.serverTimestamps)}}toJSON(){if(this.metadata.hasPendingWrites)throw new s.d(s.C.FAILED_PRECONDITION,"DocumentSnapshot.toJSON() attempted to serialize a document with pending writes. Await waitForPendingWrites() before invoking toJSON().");let t=this._document,e={};return e.type=H._jsonSchemaVersion,e.bundle="",e.bundleSource="DocumentSnapshot",e.bundleName=this._key.toString(),t&&t.isValidDocument()&&t.isFoundDocument()&&
15(this._userDataWriter.convertObjectMap(t.data.value.mapValue.fields,"previous"),this._firestore,this.ref.path,e.bundle="NOT SUPPORTED"),e}}H._jsonSchemaVersion="firestore/documentSnapshot/1.0",H._jsonSchema={type:(0,s.p)("string",H._jsonSchemaVersion),bundleSource:(0,s.p)("string","DocumentSnapshot"),bundleName:(0,s.p)("string"),bundle:(0,s.p)("string")};class V extends H{data(t={}){return super.data(t)}}class U{constructor(t,e,i,n){this._firestore=t,this._userDataWriter=e,this._snapshot=n,this.metadata=new F(n.hasPendingWrites,n.fromCache),this.query=i}get docs(){let t=[];return this.forEach(e=>t.push(e)),t}get size(){return this._snapshot.docs.size}get empty(){return 0===this.size}forEach(t,e){this._snapshot.docs.forEach(i=>{t.call(e,new V(this._firestore,this._userDataWriter,i.key,i,new F(this._snapshot.mutatedKeys.has(i.key),this._snapshot.fromCache),this.query.converter))})}docChanges(t={}){let e=!!t.includeMetadataChanges;if(e&&this._snapshot.excludesMetadataChanges)throw new s.d(s.C.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===e||(this._cachedChanges=function(t,e){if(t._snapshot.oldDocs.isEmpty()){let e=0;return t._snapshot.docChanges.map(i=>{let n=new V(t._firestore,t._userDataWriter,i.doc.key,i.doc,new F(t._snapshot.mutatedKeys.has(i.doc.key),t._snapshot.fromCache),t.query.converter);return i.doc,{type:"added",doc:n,oldIndex:-1,newIndex:e++}})}{let i=t._snapshot.oldDocs;return t._snapshot.docChanges.filter(t=>e||3!==t.type).map(e=>{let n=new V(t._firestore,t._userDataWriter,e.doc.key,e.doc,new F(t._snapshot.mutatedKeys.has(e.doc.key),t._snapshot.fromCache),t.query.converter),r=-1,o=-1;return 0!==e.type&&(r=i.indexOf(e.doc.key),i=i.delete(e.doc.key)),1!==e.type&&(o=(i=i.add(e.doc)).indexOf(e.doc.key)),{type:function(t){switch(t){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return(0,s.U)(61501,{type:t})}}(e.type),doc:n,oldIndex:r,newIndex:o}})}}(this,e),this._cachedChangesIncludeMetadataChanges=e),this._cachedChanges}toJSON(){if(this.metadata.hasPendingWrites)throw new s.d(s.C.FAILED_PRECONDITION,"QuerySnapshot.toJSON() attempted to serialize a document with pending writes. Await waitForPendingWrites() before invoking toJSON().");let t={};t.type=U._jsonSchemaVersion,t.bundleSource="QuerySnapshot",t.bundleName=s.N.newId(),this._firestore._databaseId.database,this._firestore._databaseId.projectId;let e=[],i=[],n=[];return this.docs.forEach(t=>{null!==t._document&&(e.push(t._document),i.push(this._userDataWriter.convertObjectMap(t._document.data.value.mapValue.fields,"previous")),n.push(t.ref.path))}),this._firestore,this.query._query,t.bundleName,t.bundle="NOT SUPPORTED",t}}U._jsonSchemaVersion="firestore/querySnapshot/1.0",U._jsonSchema={type:(0,s.p)("string",U._jsonSchemaVersion),bundleSource:(0,s.p)("string","QuerySnapshot"),bundleName:(0,s.p)("string"),bundle:(0,s.p)("string")};let W={maxAttempts:5};class q{constructor(t,e){this._firestore=t,this._commitHandler=e,this._mutations=[],this._committed=!1,this._dataReader=(0,s.f)(t)}set(t,e,i){this._verifyNotCommitted();let n=$(t,this._firestore),r=j(n.converter,e,i),o=(0,s.W)(this._dataReader,"WriteBatch.set",n._key,r,null!==n.converter,i);return this._mutations.push(o.toMutation(n._key,s.X.none())),this}update(t,e,i,...n){let r;this._verifyNotCommitted();let a=$(t,this._firestore);return r="string"==typeof(e=(0,o.Ku)(e))||e instanceof s.Y?(0,s.Z)(this._dataReader,"WriteBatch.update",a._key,e,i,n):(0,s.$)(this._dataReader,"WriteBatch.update",a._key,e),this._mutations.push(r.toMutation(a._key,s.X.exists(!0))),this}delete(t){this._verifyNotCommitted();let e=$(t,this._firestore);return this._mutations=this._mutations.concat(new s.a0(e._key,s.X.none())),this}commit(){return this._verifyNotCommitted(),this._committed=!0,this._mutations.length>0?this._commitHandler(this._mutations):Promise.resolve()}_verifyNotCommitted(){if(this._committed)throw new s.d(s.C.FAILED_PRECONDITION,"A write batch can no longer be used after commit() has been called.")}}function $(t,e){if((t=(0,o.Ku)(t)).firestore!==e)throw new s.d(s.C.INVALID_ARGUMENT,"Provided document reference is from a different Firestore instance.");return t}class z{constructor(t,e){this._firestore=t,this._transaction=e,this._dataReader=(0,s.f)(t)}get(t){let e=$(t,this._firestore),i=new R(this._firestore);return this._transaction.lookup([e._key]).then(t=>{if(!t||1!==t.length)return(0,s.U)(24041);let n=t[0];if(n.isFoundDocument())return new f(this._firestore,i,n.key,n,e.converter);if(n.isNoDocument())return new f(this._firestore,i,e._key,null,e.converter);throw(0,s.U)(18433,{doc:n})})}set(t,e,i){let n=$(t,this._firestore),r=j(n.converter,e,i),o=(0,s.W)(this._dataReader,"Transaction.set",n._key,r,null!==n.converter,i);return this._transaction.set(n._key,o),this}update(t,e,i,...n){let r,a=$(t,this._firestore);return r="string"==typeof(e=(0,o.Ku)(e))||e instanceof s.Y?(0,s.Z)(this._dataReader,"Transaction.update",a._key,e,i,n):(0,s.$)(this._dataReader,"Transaction.update",a._key,e),this._transaction.update(a._key,r),this}delete(t){let e=$(t,this._firestore);return this._transaction.delete(e._key),this}}class X extends z{constructor(t,e){super(t,e),this._firestore=t}get(t){let e=$(t,this._firestore),i=new s.H(this._firestore);return super.get(t).then(t=>new H(this._firestore,i,e._key,t._document,new F(!1,!1),e.converter))}}function G(t,e,i){t=(0,s.y)(t,s.F);let n={...W,...i};if(n.maxAttempts<1)throw new s.d(s.C.INVALID_ARGUMENT,"Max attempts must be at least 1");let r=(0,s.z)(t);return(0,s.a1)(r,i=>e(new X(t,i)),n)}function K(t){t=(0,s.y)(t,s.D);let e=(0,s.y)(t.firestore,s.F),i=(0,s.z)(e);return(0,s.a2)(i,t._key).then(i=>tn(e,t,i))}function Y(t){t=(0,s.y)(t,s.Q);let e=(0,s.y)(t.firestore,s.F),i=(0,s.z)(e),n=new s.H(e);return p(t._query),(0,s.a4)(i,t._query).then(i=>
15new U(e,n,t,i))}function J(t,e,i){t=(0,s.y)(t,s.D);let n=(0,s.y)(t.firestore,s.F),r=j(t.converter,e,i),o=(0,s.f)(n);return ti(n,[(0,s.W)(o,"setDoc",t._key,r,null!==t.converter,i).toMutation(t._key,s.X.none())])}function Z(t,e,i,...n){t=(0,s.y)(t,s.D);let r=(0,s.y)(t.firestore,s.F),a=(0,s.f)(r);return ti(r,[("string"==typeof(e=(0,o.Ku)(e))||e instanceof s.Y?(0,s.Z)(a,"updateDoc",t._key,e,i,n):(0,s.$)(a,"updateDoc",t._key,e)).toMutation(t._key,s.X.exists(!0))])}function Q(t){return ti((0,s.y)(t.firestore,s.F),[new s.a0(t._key,s.X.none())])}function tt(t,e){let i=(0,s.y)(t.firestore,s.F),n=(0,s.a6)(t),r=j(t.converter,e),o=(0,s.f)(t.firestore);return ti(i,[(0,s.W)(o,"addDoc",n._key,r,null!==t.converter,{}).toMutation(n._key,s.X.exists(!1))]).then(()=>n)}function te(t,...e){let i,n,r;t=(0,o.Ku)(t);let a={includeMetadataChanges:!1,source:"default"},h=0;"object"!=typeof e[0]||l(e[h])||(a=e[h++]);let u={includeMetadataChanges:a.includeMetadataChanges,source:a.source};if(l(e[h])){let t=e[h];e[h]=t.next?.bind(t),e[h+1]=t.error?.bind(t),e[h+2]=t.complete?.bind(t)}if(t instanceof s.D)n=(0,s.y)(t.firestore,s.F),r=(0,s.a7)(t._key.path),i={next:i=>{e[h]&&e[h](tn(n,t,i))},error:e[h+1],complete:e[h+2]};else{let o=(0,s.y)(t,s.Q);n=(0,s.y)(o.firestore,s.F),r=o._query;let a=new s.H(n);i={next:t=>{e[h]&&e[h](new U(n,a,o,t))},error:e[h+1],complete:e[h+2]},p(t._query)}let c=(0,s.z)(n);return(0,s.a8)(c,r,u,i)}function ti(t,e){let i=(0,s.z)(t);return(0,s.ac)(i,e)}function tn(t,e,i){let n=i.docs.get(e._key),r=new s.H(t);return new H(t,r,e._key,n,new F(i.hasPendingWrites,i.fromCache),e.converter)}function tr(t){return t=(0,s.y)(t,s.F),(0,s.z)(t),new q(t,e=>ti(t,e))}new WeakMap,function(t=!0){(0,s._)(n.MF),(0,n.om)(new r.uA("firestore",(e,{instanceIdentifier:i,options:n})=>{let r=e.getProvider("app").getImmediate(),o=new s.F(new s.a(e.getProvider("auth-internal")),new s.b(r,e.getProvider("app-check-internal")),(0,s.c)(r,i),r);return n={useFetchStreams:t,...n},o._setSettings(n),o},"PUBLIC").setMultipleInstances(!0)),(0,n.KO)(a,h,void 0),(0,n.KO)(a,h,"esm2020")}()}}]);

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.