1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9846],{10136:(t,e,i)=>{i.d(e,{Ao:()=>l,Bx:()=>s,Jh:()=>h,O4:()=>o,ZS:()=>n,fF:()=>c,iO:()=>r,ro:()=>a});var n,r,s,o,a,h,l,c,u="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 u&&u];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];if(!(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 I="u">typeof AsyncContext&&"function"==typeof AsyncContext.Snapshot?t=>t&&AsyncContext.Snapshot.wrap(t):t=>t;function E(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 S(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 C{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 C(()=>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,j=new A,M=()=>{let t=Promise.resolve(void 0);x=()=>{t.then(k)}};function k(){let t;for(var e;t=null,j.g&&(t=j.g,j.g=j.g.next,j.g||(j.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 R(){this.u=this.u,this.C=this.C}function N(t,e){this.type=t,this.g=this.target=e,this.defaultPrevented=!1}R.prototype.u=!1,R.prototype.dispose=function(){this.u||(this.u=!0,this.N())},R.prototype[Symbol.dispose]=function(){this.dispose()},R.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()},N.prototype.h=function(){this.defaultPrevented=!0};var P=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 L(t){return/^[\s\xa0]*$/.test(t)}function B(t,e){N.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,N),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:"mou
1seout"==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 W(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 V(t,e,i){for(let n in t)e.call(i,t[n],n,t)}function z(t){let e={};for(let i in t)e[i]=t[i];return e}let $="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function q(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 K(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 G(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=G(t,e,n,r);return o>-1?(e=t[o],i||(e.fa=!1)):((e=new W(e,this.src,s,!!n,r)).fa=i,t.push(e)),e};var J="closure_lm_"+(1e6*Math.random()|0),Y={};function Q(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[J]=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)P||(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 Z(t){if("number"!=typeof t&&t&&!t.da){var e=t.src;if(e&&e[F])K(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))?(K(i,t),0==i.h&&(i.src=null,e[J]=null)):U(t)}}}function tt(t){return t in Y?Y[t]:Y[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&&Z(t),t=i.call(n,e)}return t}function ti(t){return(t=t[J])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(){R.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 N(e,t);else if(e instanceof N)e.target=e.target||t;else{var o=e;q(e=new N(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&&K(t.i,o),r=!1!==e.call(i,n)&&r}}return r&&!n.defaultPrevented}w(ts,R),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=G(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--))
1):e&&(e=ti(e))&&(i=e.g[i.toString()],e=-1,i&&(e=G(i,n,r,s)),(n=e>-1?i[e]:null)&&Z(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 R{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){R.call(this),this.h=t,this.g={}}w(tl,R);var tc=[];function tu(t){V(t.g,function(t,e){this.g.hasOwnProperty(e)&&Z(t)},t),t.g={}}tl.prototype.N=function(){tl.Z.N.call(this),tu(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(){N.call(this,"d")}function tv(){N.call(this,"c")}w(tb,N),w(tv,N);var t_={},tw=null;function tI(){return tw=tw||new ts}function tE(t){N.call(this,t_.Ia,t)}function tS(t){let e=tI();to(e,new tE(e))}function tC(t,e){N.call(this,t_.STAT_EVENT,t),this.stat=e}function tA(t){let e=tI();to(e,new tC(e,t))}function tD(t,e){N.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(tE,N),t_.STAT_EVENT="statevent",w(tC,N),t_.Ja="timingevent",w(tD,N),tx.prototype.ua=function(){this.g=!1},tx.prototype.info=function(){};var tj={NO_ERROR:0,cb:1,qb:2,pb:3,kb:4,ob:5,rb:6,Ga:7,TIMEOUT:8,ub:9},tM={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 tR(t){return encodeURIComponent(String(t))}function tN(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 tP}function tP(){this.i=null,this.g="",this.h=!1}w(tk,tg),tk.prototype.g=function(){return new XMLHttpRequest},t=new tk;var tL={},tB={};function tF(t,e,i){t.M=1,t.A=t7(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 tP,t.g=eZ(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 c="readystatechange";Array.isArray(c)||(c&&(tc[0]=c.toString()),c=tc);for(let t=0;t<c.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):Q(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):Q(e,i,n,!1,r,s)}(h,c[t],l||e.handleEvent,!1,e.h||e);if(!i)break;e.g[i.key]=i}e=t.J?z(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)),tS(),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 tW(t){return!!t.g&&"GET"==t.v&&2!=t.M&&t.j.Aa}function tU(t){t.T=Date.now()+t.H,tV(t,t.H)}function tV(t,e){if(null!=t.D)throw Error("WatchDog timer not null");t.D=tT(v(t.aa,t),e)}function tz(t){t.D&&(y.clearTimeout(t.D),t.D=null)}function t$(t){0==t.j.I||t.K||eK(t.j,t)}function tq(t){tz(t);var e=t.O;e&&"function"==typeof e.dispose&&e.dispose(),t.O=null,tu(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||tQ(i.h,t))){if(!t.L&&tQ(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),eL(i);else break t;ez(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>=tY(i.h)&&i.ta&&(i.ta=void 0)}else eJ(i,11)}else if((t.L||i.g==t)&&eX(i),!L(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&&(tZ(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,t9(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=eQ(n,n.L?n.ba:null,n.W),t.L){t0(n.h,t);var o=n.O;o&&(t.H=o),t.D&&(tz(t),tU(t)),n.g=t}else eV(n);i.i.length>0&&eF(i)}else"stop"!=a[0]&&"close"!=a[0]||eJ(i,7);else 3==i.I&&("stop"==a[0]||"close"==a[0]?"stop"==a[0]?eJ(i,7):eP(i):"noop"!=a[0]&&i.l&&i.l.qa(a),i.A=0)}}tS(4)}catch(t){}}tN.prototype.ba=function(t){t=t.target;let e=this.O;e&&3==eM(t)?e.j():this.Y(t)},tN.prototype.Y=function(t){try{if(t==this.g)t:{let f=eM(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?tS(3):tS(2)),tz(this);var e=this.g.ca();this.X=e;var i=function(t){if(!tW(t))return t.g.la();let e=ek(t.g);if(""===e)return"";let i="",n=e.length,r=4==eM(t.g);
1if(!t.h.i){if("u"<typeof TextDecoder)return tq(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)&&!L(h)){var c=h;break e}}c=null}if(t=c)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),tq(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)))?tL:(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==tL){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(tW(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 u=this.j;u.g==this&&u.aa&&!u.P&&(u.j.info("Great, no buffering proxy detected. Bytes received: "+i.length),e$(u),u.P=!0,tA(11))}}else tO(this.i,this.l,i,"[Invalid Chunked Response]"),tq(this),t$(this)}else tO(this.i,this.l,i,null),tX(this,i);4==f&&tq(this),this.o&&!this.K&&(4==f?eK(this.j,this):(this.o=!1,tU(this)))}else(function(t){let e={};t=(t.g&&eM(t)>=2&&t.g.getAllResponseHeaders()||"").split("\r\n");for(let n=0;n<t.length;n++){if(L(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)),tq(this),t$(this)}}}catch(t){}finally{}},tN.prototype.cancel=function(){this.K=!0,tq(this)},tN.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&&(tS(),tA(17)),tq(this),this.m=2,t$(this)):tV(this,this.T-i)};var tK=class{constructor(t,e){this.g=t,this.map=e}};function tG(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 tJ(t){return!!t.h||!!t.g&&t.g.size>=t.j}function tY(t){return t.h?1:t.g?t.g.size:0}function tQ(t,e){return t.h?t.h==e:!!t.g&&t.g.has(e)}function tZ(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 E(t.i)}tG.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&&(ec(this,e),ed(this,i,t))},n)),n.j=r):(i||(e=ee(e,eo)),t.i=new eh(e,t.l))}function t9(t,e,i){t.i.set(e,i)}function t7(t){return t9(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(tR(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.
1charAt(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 ec(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 eu(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)eu(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){ec(t,e),i.length>0&&(t.i=null,t.g.set(eg(t,e),E(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,eI(t)}function eI(t){t.onreadystatechange&&t.onreadystatechange.call(t)}function eE(t){let e="";return V(t,function(t,i){e+=i,e+=":",e+=t,e+="\r\n"}),e}function eS(t,e,i){t:{for(n in i){var n=!1;break t}n=!0}n||(i=eE(i),"string"==typeof t?null!=i&&tR(i):t9(t,e,i))}function eC(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,eu(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=tR(i);i=ef(this,i);for(let e=0;e<i.length;e++){let n=r;""!==i[e]&&(n+="="+tR(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,eI(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};
vendor: 4,701 bytes, line 1
1t&&(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,eI(this)),this.g&&(this.readyState=3,eI(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):eI(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(eC,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),ej(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==eM(t))setTimeout(t.Ca.bind(t),0);else if(to(t,"readystatechange"),4==eM(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=eM(t)>2?t.g.statusText:""}catch(t){r=""}t.l=r+" ["+t.ca()+"]",ex(t)}}finally{ej(t)}}}}function ej(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 eM(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 eR(t,e,i){return i&&i.internalChannelParams&&i.internalChannelParams[t]||e}function eN(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=eR("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=eR("baseRetryDelayMs",5e3,t),this.Za=eR("retryDelaySeedMs",1e4,t),this.Ta=eR("forwardChannelMaxRetries",2,t),this.va=eR("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 tG(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 eP(t){if(eB(t),3==t.I){var e=t.V++,i=t3(t.J);if(t9(i,"SID",t.M),t9(i,"RID",e),t9(i,"TYPE","terminate"),eW(t,i),(e=new tN(t,t.j,e)).M=2,e.A=t7(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=eZ(e.j,null),e.g.ea(e.A)),e.F=Date.now(),tU(e)}eY(t)}function eL(t){t.g&&(e$(t),t.g.cancel(),t.g=null)}function eB(t){eL(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(!tJ(t.h)&&!t.m){t.m=!0;var e=t.Ea;x||M(),O||(x(),O=!0),j.add(e,t),t.D=0}}function eH(t,e){var i;i=e?e.l:t.V++;let n=t3(t.J);t9(n,"SID",t.M),t9(n,"RID",i),t9(n,"AID",t.K),eW(t,n),t.u&&t.o&&eS(n,t.u,t.o),i=new tN(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()),tZ(t.h,i),tF(i,n,e)}function eW(t,e){t.H&&V(t.H,function(t,i){t9(e,i,t)}),t.l&&V({},function(t,i){t9(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 eV(t){if(!t.g&&!t.v){t.Y=1;var e=t.Da;x||M(),O||(x(),O=!0),j.add(e,t),t.A=0}}function ez(t){return!t.g&&!t.v&&!(t.A>=3)&&(t.Y++,t.v=tT(v(t.Da,t),eG(t,t.A)),t.A++,!0)}function e$(t){null!=t.B&&(y.clearTimeout(t.B),t.B=null)}function eq(t){t.g=new tN(t,t.j,"rpc",t.Y),null===t.u&&(t.g.J=t.o),t.g.P=0;var e=t3(t.na);t9(e,"RID","rpc"),t9(e,"SID",t.M),t9(e,"AID",t.K),t9(e,"CI",t.F?"0":"1"),!t.F&&t.ia&&t9(e,"TO",t.ia),t9(e,"TYPE","xmlhttp"),eW(t,e),t.u&&t.o&&eS(e,t.u,t.o),t.O&&(t.g.H=t.O);var i=t.g;t=t.ba,i.M=1,i.A=t7(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 eK(t,e){var i,n=null;if(t.g==e){eX(t),e$(t),t.g=null;var r=2}else{if(!tQ(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=tI(),new tD(r,n)),eF(t)}else eV(t);else if(3==(s=e.m)||0==s&&e.X>0||!(1==r&&(i=e,!(tY(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),eG(t,t.D)),t.D++,!0)))||2==r&&ez(t)))switch(n&&n.length>0&&((e=t.h).i=e.i.concat(n)),s){case 1:eJ(t,5);break;case 4:eJ(t,10);break;case 3:eJ(t,6);break;default:eJ(t,2)}}}function eG(t,e){let i=t.Qa+Math.floor(Math.random()*t.Za);return t.isActive()||(i*=2),i*e}function eJ(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"),t7(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),eY(t),eB(t)}function eY(t){if(t.I=0,t.ja=[],t.l){let e=t1(t.h);(0!=e.length||0!=t.i.length)&&(S(t.ja,e),S(t.ja,t.i),t.h.i.length=0,E(t.i),t.i.length=0),t.l.oa()}}function eQ(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&&t9(n,i,e),t9(n,"VER",t.ka),eW(t,n),n}function eZ(t,e,i){if(e&&!t.L)throw Error("Can't create secondary domain capable XhrIo object.");return(e=new eC(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 eN(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)&&!L(t)&&(this.g.u=t),this.A=e&&e.supportsCrossDomainXhr||!1,this.v=e&&e.sendRawJson||!1,(e=e&&e.httpSessionIdParam)&&!L(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=eC.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=I(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"),ej(this))},e.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),ej(this,!0)),eC.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 eM(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=eN.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=eQ(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 tN(this,this.j,t),s=this.o;if(this.U&&(s?q(s=z(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),t9(i=t3(this.J),"RID",t),t9(i,"CVER",22),this.G&&t9(i,"X-HTTP-Session-Id",this.G),eW(this,i),s&&(this.R?e="headers="+tR(eE(s))+"&"+e:this.u&&eS(i,this.u,s)),tZ(this.h,r),this.Ra&&t9(i,"TYPE","init"),this.S?(t9(i,"$req",e),t9(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||tJ(this.h)||eH(this))},e.Da=function(){if(this.v=null,eq(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),eL(this),eq(this))},e.Va=function(){null!=this.C&&(this.C=null,eL(this),ez(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(){eP(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 tK(e.Ya++,t)),3==e.I&&eF(e)},e2.prototype.N=function(){this.g.l=null,delete this.j,eP(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,c=f.createWebChannelTransport=function(){return new e1},l=f.getStatEventTarget=function(){return tI()},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},tj.NO_ERROR=0,tj.TIMEOUT=8,tj.HTTP_ERROR=6,o=f.ErrorCode=tj,tM.COMPLETE="complete",s=f.EventType=tM,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,eC.prototype.listenOnce=eC.prototype.K,eC.prototype.getLastError=eC.prototype.Ha,eC.prototype.getLastErrorCode=eC.prototype.ya,eC.prototype.getStatus=eC.prototype.ca,eC.prototype.getResponseJson=eC.prototype.La,eC.prototype.getResponseText=eC.prototype.la,eC.prototype.send=eC.prototype.ea,eC.prototype.setWithCredentials=eC.prototype.Fa,n=f.XhrIo=eC}).apply(void 0!==u?u:"u">typeof self?self:"u">typeof window?window:{})},22461:(t,e,i)=>{let n,r,s;i.d(e,{g:()=>h.g,MF:()=>P,j6:()=>M,xZ:()=>k,om:()=>j,Sx:()=>B,Dk:()=>F,Wp:()=>L,KO:()=>H});var o=i(81978),a=i(66943),h=i(22541);let l=new WeakMap,c=new WeakMap,u=new WeakMap,f=new WeakMap,d=new WeakMap,p={get(t,e,i){if(t instanceof IDBTransaction){if("done"===e)return c.get(t);if("objectStoreNames"===e)return t.objectStoreNames||u.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 u.set(n,e.sort?e.sort():[e]),g(n)};return t instanceof IDBTransaction&&function(t){if(c.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)});c.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;
1return 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 I="@firebase/app",E="0.14.10",S=new a.Vy("@firebase/app"),C="[DEFAULT]",A={[I]:"fire-core","@firebase/app-compat":"fire-core-compat","@firebase/analytics":"fire-analytics","@firebase/analytics-compat":"fire-analytics-compat","@firebase/app-check":"fire-app-check","@firebase/app-check-compat":"fire-app-check-compat","@firebase/auth":"fire-auth","@firebase/auth-compat":"fire-auth-compat","@firebase/database":"fire-rtdb","@firebase/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){S.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`,i)}}function j(t){let e=t.name;if(x.has(e))return S.debug(`There were multiple attempts to register component ${e}.`),!1;for(let i of(x.set(e,t),D.values()))O(i,t);for(let e of T.values())O(e,t);return!0}function M(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 R=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.","invali
1d-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 N{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 R.create("app-deleted",{appName:this._name})}}let P="12.11.0";function L(t,e={}){let i=t;"object"!=typeof e&&(e={name:e});let n={name:C,automaticDataCollectionEnabled:!0,...e},r=n.name;if("string"!=typeof r||!r)throw R.create("bad-app-name",{appName:String(r)});if(i||(i=(0,h.T9)()),!i)throw R.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 R.create("duplicate-app",{appName:r});let a=new o.h1(r);for(let t of x.values())a.addComponent(t);let l=new N(i,n,a);return D.set(r,l),l}function B(t=C){let e=D.get(t);if(!e&&t===C&&(0,h.T9)())return L();if(!e)throw R.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 "/")`),S.warn(t.join(" "));return}j(new o.uA(`${n}-version`,()=>({library:n,version:e}),"VERSION"))}let W="firebase-heartbeat-store",U=null;function V(){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(W)}catch(t){console.warn(t)}}}).catch(t=>{throw R.create("idb-open",{originalErrorMessage:t.message})})),U}async function z(t){try{let e=(await V()).transaction(W),i=await e.objectStore(W).get(q(t));return await e.done,i}catch(t){if(t instanceof h.g)S.warn(t.message);else{let e=R.create("idb-get",{originalErrorMessage:t?.message});S.warn(e.message)}}}async function $(t,e){try{let i=(await V()).transaction(W,"readwrite"),n=i.objectStore(W);await n.put(e,q(t)),await i.done}catch(t){if(t instanceof h.g)S.warn(t.message);else{let e=R.create("idb-set",{originalErrorMessage:t?.message});S.warn(e.message)}}}function q(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 G(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=K();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){S.warn(t)}}async getHeartbeatsHeader(){try{if(null===this._heartbeatsCache&&await this._heartbeatsCachePromise,this._heartbeatsCache?.heartbeats==null||0===this._heartbeatsCache.heartbeats.length)return"";let t=K(),{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),J(i)>e){t.dates.pop();break}}else if(i.push({agent:r.agent,dates:[r.date]}),J(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 S.warn(t),""}}}function K(){return new Date().toISOString().substring(0,10)}class G{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 z(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 J(t){return(0,h.Uj)(JSON.stringify({version:2,heartbeats:t})).length}j(new o.uA("platform-logger",t=>new w(t),"PRIVATE")),j(new o.uA("heartbeat",t=>new X(t),"PRIVATE")),H(I,E,""),H(I,E,"esm2020"),H("fire-js","")}
1,22541:(t,e,i)=>{i.d(e,{cY:()=>y,FA:()=>O,g:()=>x,u:()=>l,Uj:()=>h,Fy:()=>m,tD:()=>L,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(k(n)&&k(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:()=>P,T9:()=>p,Tj:()=>f,yU:()=>d,XA:()=>g,mS:()=>c,Ku:()=>H,ZQ:()=>b,sr:()=>I,zJ:()=>W,c1:()=>w,Im:()=>M,lT:()=>S,zW:()=>D,jZ:()=>v,lV:()=>E,nr:()=>C,Ov:()=>A,gE:()=>U,Am:()=>R,I9:()=>N,eX:()=>T}),i(75800);let n=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},r=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("")},s={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,c=(3&r)<<4|o>>4,u=(15&o)<<2|h>>6,f=63&h;!a&&(f=64,s||(u=64)),n.push(i[l],i[c],i[u],i[f])}return n.join("")},encodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?btoa(t):this.encodeByteArray(n(t),e)},decodeString(t,e){return this.HAS_NATIVE_SUPPORT&&!e?atob(t):r(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,a=++e<t.length?i[t.charAt(e)]:64,h=++e<t.length?i[t.charAt(e)]:64;if(++e,null==r||null==s||null==a||null==h)throw new o;let l=r<<2|s>>4;if(n.push(l),64!==a){let t=s<<4&240|a>>2;if(n.push(t),64!==h){let t=a<<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)}}};class o extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}let a=function(t){let e=n(t);return s.encodeByteArray(e,!0)},h=function(t){return a(t).replace(/\./g,"")},l=function(t){try{return s.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 u=()=>{try{return{config:{apiKey:"AIzaSyBIuKfkKyn9cZVNlH8DvpYOfopMXo0dKEQ",appId:"1:728338781282:web:27ca085c8ae6ff0882ad3b",authDomain:"publisherapp-8db99.firebaseapp.com",databaseURL:"",messagingSenderId:"728338781282",projectId:"publisherapp-8db99",storageBucket:"publisherapp-8db99.firebasestorage.app"},emulatorHosts:{}}}catch(t){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${t}`);return}},f=t=>u()?.emulatorHosts?.[t],d=t=>{let e=f(t);if(!e)return;let i=e.lastIndexOf(":");if(i<=0||i+1===e.length)throw Error(`Invalid host ${e}
1 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]},p=()=>u()?.config,g=t=>u()?.[`_${t}`];class y{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 m(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.');let 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[h(JSON.stringify({alg:"none",type:"JWT"})),h(JSON.stringify(s)),""].join(".")}function b(){return"u">typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function v(){return"u">typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(b())}function _(){let t=u()?.forceEnvironment;if("node"===t)return!0;if("browser"===t)return!1;try{return"[object process]"===Object.prototype.toString.call(i.g.process)}catch(t){return!1}}function w(){return"u">typeof navigator&&"Cloudflare-Workers"===navigator.userAgent}function I(){let t="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof t&&void 0!==t.id}function E(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function S(){let t=b();return t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0}function C(){return!_()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function A(){return!_()&&!!navigator.userAgent&&(navigator.userAgent.includes("Safari")||navigator.userAgent.includes("WebKit"))&&!navigator.userAgent.includes("Chrome")}function D(){try{return"object"==typeof indexedDB}catch(t){return!1}}function T(){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 x extends Error{constructor(t,e,i){super(e),this.code=t,this.customData=i,this.name="FirebaseError",Object.setPrototypeOf(this,x.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,O.prototype.create)}}class O{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(j,(t,e)=>{let i=n[e];return null!=i?String(i):`<${e}?>`})):"Error",h=`${this.serviceName}: ${a} (${s}).`;return new x(s,h,r)}}let j=/\{\$([^}]+)}/g;function M(t){for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}function k(t){return null!==t&&"object"==typeof t}function R(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 N(t){let e={};return t.replace(/^\?/,"").split("&").forEach(t=>{if(t){let[i,n]=t.split("=");e[decodeURIComponent(i)]=decodeURIComponent(n)}}),e}function P(t){let e=t.indexOf("?");if(!e)return"";let i=t.indexOf("#",e);return t.substring(e,i>0?i:void 0)}function L(t,e){let i=new B(t,e);return i.subscribe.bind(i)}class B{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=F),void 0===n.error&&(n.error=F),void 0===n.complete&&(n.complete=F);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}
1unsubscribeOne(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 F(){}function H(t){return t&&t._delegate?t._delegate:t}function W(t){try{return(t.startsWith("http://")||t.startsWith("https://")?new URL(t).hostname:t).endsWith(".cloudworkstations.dev")}catch{return!1}}async function U(t){return(await fetch(t,{credentials:"include"})).ok}},65944:(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>>>
122),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 c(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 u(t){if(isNaN(t)||!isFinite(t))return f;if(t<0)return m(u(-t));let e=[],i=1;for(let n=0;t>=i;n++)e[n]=t/i|0,i*=0x100000000;return new a(e,0)}var f=c(0),d=c(1),p=c(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=I(i),n=I(n);var r=E(i,1),s=E(n,1);for(n=E(n,2),i=E(i,2);!g(n);){var o=s.add(n);0>=o.l(t)&&(r=r.add(i),s=o),n=E(n,1),i=E(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=u(i)).j(e);y(o)||o.l(t)>0;)i-=n,o=(s=u(i)).j(e);g(s)&&(s=d),r=r.add(s),t=b(t,o)}return new _(r,t)}function I(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 E(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=u(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 u(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=u,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=u(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=u(Math.pow(i,s)),r=r.j(s).add(u(o))):r=(r=r.j(n)).add(u(o))}return r},n=o.Integer=a}).apply(void 0!==s?s:"u">typeof self?self:"u">typeof window?window:{})},66943:(t,e,i)=>{var n,r;i.d(e,{$b:()=>n,Vy:()=>c});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 c{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)}}},81978:(t,e,i)=>{i.d(e,{h1:()=>a,uA:()=>r});var n=i(22541);class 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())}}},99846:(t,e,i)=>{i.d(e,{AB:()=>S,BN:()=>V,C3:()=>s.aL,CL:()=>s.aR,Dc:()=>s.az,GG:()=>U,H9:()=>s.a6,My:()=>I,O5:()=>s.a$,P:()=>m,_M:()=>v,aQ:()=>X,aU:()=>s.aX,c4:()=>H,d_:()=>O,gS:()=>q,hq:()=>s.aM,kd:()=>$,mZ:()=>z,rJ:()=>s.aO,wP:()=>J,x7:()=>W});var n=i(22461),r=i(81978),s=i(78646),o=i(22541);i(65944),i(66943),i(10136);let a="@firebase/firestore",h="4.13.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 c{constructor(t="count",e){this._internalFieldPath=e,this.type="AggregateField",this.aggregateType=t}}class u{constructor(t,e,i){this._userDataWriter=e,this._data=i,this.type="AggregateQuerySnapsh
1ot",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.j)("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.e.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.e.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 D(t._query,e),new s.Q(t.firestore,t.converter,(0,s.f)(t._query,e))}_parse(t){let e=(0,s.g)(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.e.INVALID_ARGUMENT,`Invalid Query. You can't perform '${o}' queries on documentId().`);if("in"===o||"not-in"===o){A(a,o);let e=[];for(let i of a)e.push(C(n,t,i));h={arrayValue:{values:e}}}else h=C(n,t,a)}else"in"!==o&&"not-in"!==o&&"array-contains-any"!==o||A(a,o),h=(0,s.h)(i,e,a,"in"===o||"not-in"===o);return s.i.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.j)("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.C.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())D(i,t),i=(0,s.f)(i,t)}(t._query,e),new s.Q(t.firestore,t.converter,(0,s.f)(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.e.INVALID_ARGUMENT,"Invalid query. You must not call startAt() or startAfter() before calling orderBy().");if(null!==t.endAt)throw new s.d(s.e.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 I(t,e="asc"){let i=(0,s.j)("orderBy",t);return w._create(i,e)}class E extends y{constructor(t,e,i){super(),this.type=t,this._limit=e,this._limitType=i}static _create(t,e,i){return new E(t,e,i)}_apply(t){return new s.Q(t.firestore,t.converter,(0,s.l)(t._query,this._limit,this._limitType))}}function S(t){return(0,s.m)("limit",t),E._create("limit",t,"F")}function C(t,e,i){if("string"==typeof(i=(0,o.Ku)(i))){if(""===i)throw new s.d(s.e.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.e.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.e.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.e.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 A(t,e){if(!Array.isArray(t)||0===t.length)throw new s.d(s.e.INVALID_ARGUMENT,`Invalid Query. A non-empty array is required for '${e.toString()}' filters.`)}function D(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.e.INVALID_ARGUMENT,`Invalid query. You cannot use more than one '${e.op.toString()}' filter.`):new s.d(s.e.INVALID_ARGUMENT,`Invalid query. You cannot use '${e.op.toString()}' filters with '${i.toString()}' filters.`)}function T(t,e,i){return t?i&&(i.merge||i.mergeFields)?t.toFirestore(e,i):t.toFirestore(e):e}class x 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);
1return new s.D(this.firestore,null,e)}}function O(t){var e,i;let n,r,o;return e=t,i={count:new c("count")},n=(0,s.y)(e.firestore,s.F),r=(0,s.z)(n),o=(0,s.E)(i,(t,e)=>new s.ao(e,t.aggregateType,t._internalFieldPath)),(0,s.G)(r,e._query,o).then(t=>new u(e,new s.H(n),t))}class j{constructor(t,e){this.hasPendingWrites=t,this.fromCache=e}isEqual(t){return this.hasPendingWrites===t.hasPendingWrites&&this.fromCache===t.fromCache}}class M 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 k(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.j)("DocumentSnapshot.get",t));if(null!==i)return this._userDataWriter.convertValue(i,e.serverTimestamps)}}toJSON(){if(this.metadata.hasPendingWrites)throw new s.d(s.e.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=M._jsonSchemaVersion,e.bundle="",e.bundleSource="DocumentSnapshot",e.bundleName=this._key.toString(),t&&t.isValidDocument()&&t.isFoundDocument()&&(this._userDataWriter.convertObjectMap(t.data.value.mapValue.fields,"previous"),this._firestore,this.ref.path,e.bundle="NOT SUPPORTED"),e}}M._jsonSchemaVersion="firestore/documentSnapshot/1.0",M._jsonSchema={type:(0,s.p)("string",M._jsonSchemaVersion),bundleSource:(0,s.p)("string","DocumentSnapshot"),bundleName:(0,s.p)("string"),bundle:(0,s.p)("string")};class k extends M{data(t={}){return super.data(t)}}class R{constructor(t,e,i,n){this._firestore=t,this._userDataWriter=e,this._snapshot=n,this.metadata=new j(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 k(this._firestore,this._userDataWriter,i.key,i,new j(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.e.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 k(t._firestore,t._userDataWriter,i.doc.key,i.doc,new j(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 k(t._firestore,t._userDataWriter,e.doc.key,e.doc,new j(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.e.FAILED_PRECONDITION,"QuerySnapshot.toJSON() attempted to serialize a document with pending writes. Await waitForPendingWrites() before invoking toJSON().");let t={};t.type=R._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}}
1R._jsonSchemaVersion="firestore/querySnapshot/1.0",R._jsonSchema={type:(0,s.p)("string",R._jsonSchemaVersion),bundleSource:(0,s.p)("string","QuerySnapshot"),bundleName:(0,s.p)("string"),bundle:(0,s.p)("string")};let N={maxAttempts:5};class P{constructor(t,e){this._firestore=t,this._commitHandler=e,this._mutations=[],this._committed=!1,this._dataReader=(0,s.g)(t)}set(t,e,i){this._verifyNotCommitted();let n=L(t,this._firestore),r=T(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=L(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=L(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.e.FAILED_PRECONDITION,"A write batch can no longer be used after commit() has been called.")}}function L(t,e){if((t=(0,o.Ku)(t)).firestore!==e)throw new s.d(s.e.INVALID_ARGUMENT,"Provided document reference is from a different Firestore instance.");return t}class B{constructor(t,e){this._firestore=t,this._transaction=e,this._dataReader=(0,s.g)(t)}get(t){let e=L(t,this._firestore),i=new x(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=L(t,this._firestore),r=T(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=L(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=L(t,this._firestore);return this._transaction.delete(e._key),this}}class F extends B{constructor(t,e){super(t,e),this._firestore=t}get(t){let e=L(t,this._firestore),i=new s.H(this._firestore);return super.get(t).then(t=>new M(this._firestore,i,e._key,t._document,new j(!1,!1),e.converter))}}function H(t,e,i){t=(0,s.y)(t,s.F);let n={...N,...i};if(n.maxAttempts<1)throw new s.d(s.e.INVALID_ARGUMENT,"Max attempts must be at least 1");let r=(0,s.z)(t);return(0,s.a1)(r,i=>e(new F(t,i)),n)}function W(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=>G(e,t,i))}function U(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=>new R(e,n,t,i))}function V(t,e,i){t=(0,s.y)(t,s.D);let n=(0,s.y)(t.firestore,s.F),r=T(t.converter,e,i),o=(0,s.g)(n);return K(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.g)(r);return K(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 $(t){return K((0,s.y)(t.firestore,s.F),[new s.a0(t._key,s.X.none())])}function q(t,e){let i=(0,s.y)(t.firestore,s.F),n=(0,s.a6)(t),r=T(t.converter,e),o=(0,s.g)(t.firestore);return K(i,[(0,s.W)(o,"addDoc",n._key,r,null!==t.converter,{}).toMutation(n._key,s.X.exists(!1))]).then(()=>n)}function X(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 c={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](G(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 R(n,a,o,t))},error:e[h+1],complete:e[h+2]},p(t._query)}let u=(0,s.z)(n);return(0,s.a8)(u,r,c,i)}function K(t,e){let i=(0,s.z)(t);return(0,s.ac)(i,e)}function G(t,e,i){let n=i.docs.get(e._key),r=new s.H(t);return new M(t,r,e._key,n,new j(i.hasPendingWrites,i.fromCache),e.converter)}function J(t){return t=(0,s.y)(t,s.F),(0,s.z)(t),new P(t,e=>K(t,e))}
1new 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.