vendor: 4,895 bytes, lines 1-9
1(function(){const A=document.createElement("link").relList;if(A&&A.supports&&A.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const i of n)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function t(n){const i={};return n.integrity&&(i.integrity=n.integrity),n.referrerPolicy&&(i.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?i.credentials="include":n.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(n){if(n.ep)return;n.ep=!0;const i=t(n);fetch(n.href,i)}})();function G_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var K0={exports:{}},Qu={},G0={exports:{}},nA={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var Fo=Symbol.for("react.element"),W_=Symbol.for("react.portal"),j_=Symbol.for("react.fragment"),z_=Symbol.for("react.strict_mode"),X_=Symbol.for("react.profiler"),J_=Symbol.for("react.provider"),$_=Symbol.for("react.context"),Y_=Symbol.for("react.forward_ref"),q_=Symbol.for("react.suspense"),Z_=Symbol.for("react.memo"),AI=Symbol.for("react.lazy"),wB=Symbol.iterator;function eI(e){return e===null||typeof e!="object"?null:(e=wB&&e[wB]||e["@@iterator"],typeof e=="function"?e:null)}var W0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j0=Object.assign,z0={};function Di(e,A,t){this.props=e,this.context=A,this.refs=z0,this.updater=t||W0}Di.prototype.isReactComponent={};Di.prototype.setState=function(e,A){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,A,"setState")};Di.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function X0(){}X0.prototype=Di.prototype;function Id(e,A,t){this.props=e,this.context=A,this.refs=z0,this.updater=t||W0}var Ud=Id.prototype=new X0;Ud.constructor=Id;j0(Ud,Di.prototype);Ud.isPureReactComponent=!0;var yB=Array.isArray,J0=Object.prototype.hasOwnProperty,Fd={current:null},$0={key:!0,ref:!0,__self:!0,__source:!0};function Y0(e,A,t){var r,n={},i=null,s=null;if(A!=null)for(r in A.ref!==void 0&&(s=A.ref),A.key!==void 0&&(i=""+A.key),A)J0.call(A,r)&&!$0.hasOwnProperty(r)&&(n[r]=A[r]);var a=arguments.length-2;if(a===1)n.children=t;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];n.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)n[r]===void 0&&(n[r]=a[r]);return{$$typeof:Fo,type:e,key:i,ref:s,props:n,_owner:Fd.current}}function tI(e,A){return{$$typeof:Fo,type:e.type,key:A,ref:e.ref,props:e.props,_owner:e._owner}}function Td(e){return typeof e=="object"&&e!==null&&e.$$typeof===Fo}function rI(e){var A={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return A[t]})}var vB=/\/+/g;function Pc(e,A){return typeof e=="object"&&e!==null&&e.key!=null?rI(""+e.key):A.toString(36)}function rl(e,A,t,r,n){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Fo:case W_:s=!0}}if(s)return s=e,n=n(s),e=r===""?"."+Pc(s,0):r,yB(n)?(t="",e!=null&&(t=e.replace(vB,"$&/")+"/"),rl(n,A,t,"",function(u){return u})):n!=null&&(Td(n)&&(n=tI(n,t+(!n.key||s&&s.key===n.key?"":(""+n.key).replace(vB,"$&/")+"/")+e)),A.push(n)),1;if(s=0,r=r===""?".":r+":",yB(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+Pc(i,a);s+=rl(i,A,t,l,n)}else if(l=eI(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+Pc(i,a++),s+=rl(i,A,t,l,n);else if(i==="object")throw A=String(e),Error("Objects are not valid as a React child (found: "+(A==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":A)+"). If you meant to render a collection of children, use an array instead.");return s}function ca(e,A,t){if(e==null)return e;var r=[],n=0;return rl(e,r,"","",function(i){return A.call(t,i,n++)}),r}function nI(e){if(e._status===-1){var A=e._result;A=A(),A.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=A)}if(e._status===1)return e._result.default;throw e._result}var Te={current:null},nl={transition:null},iI={ReactCurrentDispatcher:Te,ReactCurrentBatchConfig:nl,ReactCurrentOwner:Fd};function q0(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 5,480 bytes, lines 9-25
9nA.Children={map:ca,forEach:function(e,A,t){ca(e,function(){A.apply(this,arguments)},t)},count:function(e){var A=0;return ca(e,function(){A++}),A},toArray:function(e){return ca(e,function(A){return A})||[]},only:function(e){if(!Td(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};nA.Component=Di;nA.Fragment=j_;nA.Profiler=X_;nA.PureComponent=Id;nA.StrictMode=z_;nA.Suspense=q_;nA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=iI;nA.act=q0;nA.cloneElement=function(e,A,t){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=j0({},e.props),n=e.key,i=e.ref,s=e._owner;if(A!=null){if(A.ref!==void 0&&(i=A.ref,s=Fd.current),A.key!==void 0&&(n=""+A.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in A)J0.call(A,l)&&!$0.hasOwnProperty(l)&&(r[l]=A[l]===void 0&&a!==void 0?a[l]:A[l])}var l=arguments.length-2;if(l===1)r.children=t;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Fo,type:e.type,key:n,ref:i,props:r,_owner:s}};nA.createContext=function(e){return e={$$typeof:$_,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:J_,_context:e},e.Consumer=e};nA.createElement=Y0;nA.createFactory=function(e){var A=Y0.bind(null,e);return A.type=e,A};nA.createRef=function(){return{current:null}};nA.forwardRef=function(e){return{$$typeof:Y_,render:e}};nA.isValidElement=Td;nA.lazy=function(e){return{$$typeof:AI,_payload:{_status:-1,_result:e},_init:nI}};nA.memo=function(e,A){return{$$typeof:Z_,type:e,compare:A===void 0?null:A}};nA.startTransition=function(e){var A=nl.transition;nl.transition={};try{e()}finally{nl.transition=A}};nA.unstable_act=q0;nA.useCallback=function(e,A){return Te.current.useCallback(e,A)};nA.useContext=function(e){return Te.current.useContext(e)};nA.useDebugValue=function(){};nA.useDeferredValue=function(e){return Te.current.useDeferredValue(e)};nA.useEffect=function(e,A){return Te.current.useEffect(e,A)};nA.useId=function(){return Te.current.useId()};nA.useImperativeHandle=function(e,A,t){return Te.current.useImperativeHandle(e,A,t)};nA.useInsertionEffect=function(e,A){return Te.current.useInsertionEffect(e,A)};nA.useLayoutEffect=function(e,A){return Te.current.useLayoutEffect(e,A)};nA.useMemo=function(e,A){return Te.current.useMemo(e,A)};nA.useReducer=function(e,A,t){return Te.current.useReducer(e,A,t)};nA.useRef=function(e){return Te.current.useRef(e)};nA.useState=function(e){return Te.current.useState(e)};nA.useSyncExternalStore=function(e,A,t){return Te.current.useSyncExternalStore(e,A,t)};nA.useTransition=function(){return Te.current.useTransition()};nA.version="18.3.1";G0.exports=nA;var OA=G0.exports;const sI=G_(OA);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var oI=OA,aI=Symbol.for("react.element"),lI=Symbol.for("react.fragment"),uI=Object.prototype.hasOwnProperty,cI=oI.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,hI={key:!0,ref:!0,__self:!0,__source:!0};function Z0(e,A,t){var r,n={},i=null,s=null;t!==void 0&&(i=""+t),A.key!==void 0&&(i=""+A.key),A.ref!==void 0&&(s=A.ref);for(r in A)uI.call(A,r)&&!hI.hasOwnProperty(r)&&(n[r]=A[r]);if(e&&e.defaultProps)for(r in A=e.defaultProps,A)n[r]===void 0&&(n[r]=A[r]);return{$$typeof:aI,type:e,key:i,ref:s,props:n,_owner:cI.current}}Qu.Fragment=lI;Qu.jsx=Z0;Qu.jsxs=Z0;K0.exports=Qu;var j=K0.exports,bh={},Ay={exports:{}},Ge={},ey={exports:{}},ty={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function A(b,X){var $=b.length;b.push(X);A:for(;0<$;){var lA=$-1>>>1,tA=b[lA];if(0<n(tA,X))b[lA]=X,b[$]=tA,$=lA;else break A}}function t(b){return b.length===0?null:b[0]}function r(b){if(b.length===0)return null;var X=b[0],$=b.pop();if($!==X){b[0]=$;A:for(var lA=0,tA=b.length,N=tA>>>1;lA<N;){var Z=2*(lA+1)-1,rA=b[Z],uA=Z+1,EA=b[uA];if(0>n(rA,$))uA<tA&&0>n(EA,rA)?(b[lA]=EA,b[uA]=$,lA=uA):(b[lA]=rA,b[Z]=$,lA=Z);else if(uA<tA&&0>n(EA,$))b[lA]=EA,b[uA]=$,lA=uA;else break A}}return X}function n(b,X){var $=b.sortIndex-X.sortIndex;return $!==0?$:b.id-X.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],h=1,d=null,g=3,E=!1,_=!1,F=!1,L=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function I(b){for(var X=t(u);X!==null;){if(X.callback===null)r(u);else if(X.startTime<=b)r(u),X.sortIndex=X.expirationTime,A(l,X);else break;X=t(u)}}function R(b){if(F=!1,I(b),!_)if(t(l)!==null)_=!0,SA(x);else{var X=t(u);X!==null&&yA(R,X.startTime-b)}}function x(b,X){_=!1,F&&(F=!1,v(B),B=-1),E=!0;var $=g;try{for(I(X),d=t(l);d!==null&&(!(d.expirationTime>X)||b&&!U());){var lA=d.callback;
vendor: 9,184 bytes, lines 25-34
25if(typeof lA=="function"){d.callback=null,g=d.priorityLevel;var tA=lA(d.expirationTime<=X);X=e.unstable_now(),typeof tA=="function"?d.callback=tA:d===t(l)&&r(l),I(X)}else r(l);d=t(l)}if(d!==null)var N=!0;else{var Z=t(u);Z!==null&&yA(R,Z.startTime-X),N=!1}return N}finally{d=null,g=$,E=!1}}var H=!1,y=null,B=-1,w=5,Q=-1;function U(){return!(e.unstable_now()-Q<w)}function T(){if(y!==null){var b=e.unstable_now();Q=b;var X=!0;try{X=y(!0,b)}finally{X?C():(H=!1,y=null)}}else H=!1}var C;if(typeof m=="function")C=function(){m(T)};else if(typeof MessageChannel<"u"){var hA=new MessageChannel,jA=hA.port2;hA.port1.onmessage=T,C=function(){jA.postMessage(null)}}else C=function(){L(T,0)};function SA(b){y=b,H||(H=!0,C())}function yA(b,X){B=L(function(){b(e.unstable_now())},X)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(b){b.callback=null},e.unstable_continueExecution=function(){_||E||(_=!0,SA(x))},e.unstable_forceFrameRate=function(b){0>b||125<b?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):w=0<b?Math.floor(1e3/b):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_getFirstCallbackNode=function(){return t(l)},e.unstable_next=function(b){switch(g){case 1:case 2:case 3:var X=3;break;default:X=g}var $=g;g=X;try{return b()}finally{g=$}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(b,X){switch(b){case 1:case 2:case 3:case 4:case 5:break;default:b=3}var $=g;g=b;try{return X()}finally{g=$}},e.unstable_scheduleCallback=function(b,X,$){var lA=e.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?lA+$:lA):$=lA,b){case 1:var tA=-1;break;case 2:tA=250;break;case 5:tA=1073741823;break;case 4:tA=1e4;break;default:tA=5e3}return tA=$+tA,b={id:h++,callback:X,priorityLevel:b,startTime:$,expirationTime:tA,sortIndex:-1},$>lA?(b.sortIndex=$,A(u,b),t(l)===null&&b===t(u)&&(F?(v(B),B=-1):F=!0,yA(R,$-lA))):(b.sortIndex=tA,A(l,b),_||E||(_=!0,SA(x))),b},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(b){var X=g;return function(){var $=g;g=X;try{return b.apply(this,arguments)}finally{g=$}}}})(ty);ey.exports=ty;var fI=ey.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var dI=OA,Me=fI;function O(e){for(var A="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)A+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+A+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ry=new Set,Ys={};function In(e,A){mi(e,A),mi(e+"Capture",A)}function mi(e,A){for(Ys[e]=A,e=0;e<A.length;e++)ry.add(A[e])}var Gt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Vh=Object.prototype.hasOwnProperty,gI=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,CB={},EB={};function pI(e){return Vh.call(EB,e)?!0:Vh.call(CB,e)?!1:gI.test(e)?EB[e]=!0:(CB[e]=!0,!1)}function BI(e,A,t,r){if(t!==null&&t.type===0)return!1;switch(typeof A){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function mI(e,A,t,r){if(A===null||typeof A>"u"||BI(e,A,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!A;case 4:return A===!1;case 5:return isNaN(A);case 6:return isNaN(A)||1>A}return!1}function Se(e,A,t,r,n,i,s){this.acceptsBooleans=A===2||A===3||A===4,this.attributeName=r,this.attributeNamespace=n,this.mustUseProperty=t,this.propertyName=e,this.type=A,this.sanitizeURL=i,this.removeEmptyString=s}var le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){le[e]=new Se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var A=e[0];le[A]=new Se(A,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){le[e]=new Se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){le[e]=new Se(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){le[e]=new Se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){le[e]=new Se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){le[e]=new Se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){le[e]=new Se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){le[e]=new Se(e,5,!1,e.toLowerCase(),null,!1,!1)});var Sd=/[\-:]([a-z])/g;function Rd(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var A=e.replace(Sd,Rd);le[A]=new Se(A,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var A=e.replace(Sd,Rd);le[A]=new Se(A,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var A=e.replace(Sd,Rd);le[A]=new Se(A,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){le[e]=new Se(e,1,!1,e.toLowerCase(),null,!1,!1)});le.xlinkHref=new Se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){le[e]=new Se(e,1,!1,e.toLowerCase(),null,!0,!0)});function Hd(e,A,t,r){var n=le.hasOwnProperty(A)?le[A]:null;(n!==null?n.type!==0:r||!(2<A.length)||A[0]!=="o"&&A[0]!=="O"||A[1]!=="n"&&A[1]!=="N")&&(mI(A,t,n,r)&&(t=null),r||n===null?pI(A)&&(t===null?e.removeAttribute(A):e.setAttribute(A,""+t)):n.mustUseProperty?e[n.propertyName]=t===null?n.type===3?!1:"":t:(A=n.attributeName,r=n.attributeNamespace,t===null?e.removeAttribute(A):(n=n.type,t=n===3||n===4&&t===!0?"":""+t,r?e.setAttributeNS(r,A,t):e.setAttribute(A,t))))}var Ar=dI.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ha=Symbol.for("react.element"),zn=Symbol.for("react.portal"),Xn=Symbol.for("react.fragment"),Ld=Symbol.for("react.strict_mode"),Mh=Symbol.for("react.profiler"),ny=Symbol.for("react.provider"),iy=Symbol.for("react.context"),Dd=Symbol.for("react.forward_ref"),Kh=Symbol.for("react.suspense"),Gh=Symbol.for("react.suspense_list"),xd=Symbol.for("react.memo"),lr=Symbol.for("react.lazy"),sy=Symbol.for("react.offscreen"),QB=Symbol.iterator;function ns(e){return e===null||typeof e!="object"?null:(e=QB&&e[QB]||e["@@iterator"],typeof e=="function"?e:null)}var LA=Object.assign,kc;function ms(e){if(kc===void 0)try{throw Error()}catch(t){var A=t.stack.trim().match(/\n( *(at )?)/);kc=A&&A[1]||""}return` 34`+kc+e}var Oc=!1;function Nc(e,A){if(!e||Oc)return"";Oc=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(A)if(A=function(){throw Error()},Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(u){var r=u}Reflect.construct(e,[],A)}else{try{A.call()}catch(u){r=u}e.call(A.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 14,090 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var n=u.stack.split(` 35`),i=r.stack.split(` 36`),s=n.length-1,a=i.length-1;1<=s&&0<=a&&n[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(n[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||n[s]!==i[a]){var l=` 37`+n[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Oc=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?ms(e):""}function wI(e){switch(e.tag){case 5:return ms(e.type);case 16:return ms("Lazy");case 13:return ms("Suspense");case 19:return ms("SuspenseList");case 0:case 2:case 15:return e=Nc(e.type,!1),e;case 11:return e=Nc(e.type.render,!1),e;case 1:return e=Nc(e.type,!0),e;default:return""}}function Wh(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Xn:return"Fragment";case zn:return"Portal";case Mh:return"Profiler";case Ld:return"StrictMode";case Kh:return"Suspense";case Gh:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case iy:return(e.displayName||"Context")+".Consumer";case ny:return(e._context.displayName||"Context")+".Provider";case Dd:var A=e.render;return e=e.displayName,e||(e=A.displayName||A.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xd:return A=e.displayName||null,A!==null?A:Wh(e.type)||"Memo";case lr:A=e._payload,e=e._init;try{return Wh(e(A))}catch{}}return null}function yI(e){var A=e.type;switch(e.tag){case 24:return"Cache";case 9:return(A.displayName||"Context")+".Consumer";case 10:return(A._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=A.render,e=e.displayName||e.name||"",A.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return A;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Wh(A);case 8:return A===Ld?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A}return null}function br(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function oy(e){var A=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(A==="checkbox"||A==="radio")}function vI(e){var A=oy(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,A),r=""+e[A];if(!e.hasOwnProperty(A)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var n=t.get,i=t.set;return Object.defineProperty(e,A,{configurable:!0,get:function(){return n.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,A,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[A]}}}}function fa(e){e._valueTracker||(e._valueTracker=vI(e))}function ay(e){if(!e)return!1;var A=e._valueTracker;if(!A)return!0;var t=A.getValue(),r="";return e&&(r=oy(e)?e.checked?"true":"false":e.value),e=r,e!==t?(A.setValue(e),!0):!1}function Fl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function jh(e,A){var t=A.checked;return LA({},A,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function _B(e,A){var t=A.defaultValue==null?"":A.defaultValue,r=A.checked!=null?A.checked:A.defaultChecked;t=br(A.value!=null?A.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:A.type==="checkbox"||A.type==="radio"?A.checked!=null:A.value!=null}}function ly(e,A){A=A.checked,A!=null&&Hd(e,"checked",A,!1)}function zh(e,A){ly(e,A);var t=br(A.value),r=A.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}A.hasOwnProperty("value")?Xh(e,A.type,t):A.hasOwnProperty("defaultValue")&&Xh(e,A.type,br(A.defaultValue)),A.checked==null&&A.defaultChecked!=null&&(e.defaultChecked=!!A.defaultChecked)}function IB(e,A,t){if(A.hasOwnProperty("value")||A.hasOwnProperty("defaultValue")){var r=A.type;if(!(r!=="submit"&&r!=="reset"||A.value!==void 0&&A.value!==null))return;A=""+e._wrapperState.initialValue,t||A===e.value||(e.value=A),e.defaultValue=A}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Xh(e,A,t){(A!=="number"||Fl(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var ws=Array.isArray;function oi(e,A,t,r){if(e=e.options,A){A={};for(var n=0;n<t.length;n++)A["$"+t[n]]=!0;for(t=0;t<e.length;t++)n=A.hasOwnProperty("$"+e[t].value),e[t].selected!==n&&(e[t].selected=n),n&&r&&(e[t].defaultSelected=!0)}else{for(t=""+br(t),A=null,n=0;n<e.length;n++){if(e[n].value===t){e[n].selected=!0,r&&(e[n].defaultSelected=!0);return}A!==null||e[n].disabled||(A=e[n])}A!==null&&(A.selected=!0)}}function Jh(e,A){if(A.dangerouslySetInnerHTML!=null)throw Error(O(91));return LA({},A,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function UB(e,A){var t=A.value;if(t==null){if(t=A.children,A=A.defaultValue,t!=null){if(A!=null)throw Error(O(92));if(ws(t)){if(1<t.length)throw Error(O(93));t=t[0]}A=t}A==null&&(A=""),t=A}e._wrapperState={initialValue:br(t)}}function uy(e,A){var t=br(A.value),r=br(A.defaultValue);t!=null&&(t=""+t,t!==e.value&&(e.value=t),A.defaultValue==null&&e.defaultValue!==t&&(e.defaultValue=t)),r!=null&&(e.defaultValue=""+r)}function FB(e){var A=e.textContent;A===e._wrapperState.initialValue&&A!==""&&A!==null&&(e.value=A)}function cy(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function $h(e,A){return e==null||e==="http://www.w3.org/1999/xhtml"?cy(A):e==="http://www.w3.org/2000/svg"&&A==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var da,hy=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(A,t,r,n){MSApp.execUnsafeLocalFunction(function(){return e(A,t,r,n)})}:e}(function(e,A){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=A;else{for(da=da||document.createElement("div"),da.innerHTML="<svg>"+A.valueOf().toString()+"</svg>",A=da.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;A.firstChild;)e.appendChild(A.firstChild)}});function qs(e,A){if(A){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=A;return}}e.textContent=A}var Hs={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},CI=["Webkit","ms","Moz","O"];Object.keys(Hs).forEach(function(e){CI.forEach(function(A){A=A+e.charAt(0).toUpperCase()+e.substring(1),Hs[A]=Hs[e]})});function fy(e,A,t){return A==null||typeof A=="boolean"||A===""?"":t||typeof A!="number"||A===0||Hs.hasOwnProperty(e)&&Hs[e]?(""+A).trim():A+"px"}function dy(e,A){e=e.style;for(var t in A)if(A.hasOwnProperty(t)){var r=t.indexOf("--")===0,n=fy(t,A[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,n):e[t]=n}}var EI=LA({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Yh(e,A){if(A){if(EI[e]&&(A.children!=null||A.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(A.dangerouslySetInnerHTML!=null){if(A.children!=null)throw Error(O(60));if(typeof A.dangerouslySetInnerHTML!="object"||!("__html"in A.dangerouslySetInnerHTML))throw Error(O(61))}if(A.style!=null&&typeof A.style!="object")throw Error(O(62))}}function qh(e,A){if(e.indexOf("-")===-1)return typeof A.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Zh=null;function Pd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Af=null,ai=null,li=null;function TB(e){if(e=Ro(e)){if(typeof Af!="function")throw Error(O(280));var A=e.stateNode;A&&(A=Tu(A),Af(e.stateNode,e.type,A))}}function gy(e){ai?li?li.push(e):li=[e]:ai=e}function py(){if(ai){var e=ai,A=li;if(li=ai=null,TB(e),A)for(e=0;e<A.length;e++)TB(A[e])}}function By(e,A){return e(A)}function my(){}var bc=!1;function wy(e,A,t){if(bc)return e(A,t);bc=!0;try{return By(e,A,t)}finally{bc=!1,(ai!==null||li!==null)&&(my(),py())}}function Zs(e,A){var t=e.stateNode;if(t===null)return null;var r=Tu(t);if(r===null)return null;t=r[A];A:switch(A){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break A;default:e=!1}if(e)return null;if(t&&typeof t!="function")throw Error(O(231,A,typeof t));return t}var ef=!1;if(Gt)try{var is={};Object.defineProperty(is,"passive",{get:function(){ef=!0}}),window.addEventListener("test",is,is),window.removeEventListener("test",is,is)}catch{ef=!1}function QI(e,A,t,r,n,i,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{A.apply(t,u)}catch(h){this.onError(h)}}var Ls=!1,Tl=null,Sl=!1,tf=null,_I={onError:function(e){Ls=!0,Tl=e}};function II(e,A,t,r,n,i,s,a,l){Ls=!1,Tl=null,QI.apply(_I,arguments)}function UI(e,A,t,r,n,i,s,a,l){if(II.apply(this,arguments),Ls){if(Ls){var u=Tl;Ls=!1,Tl=null}else throw Error(O(198));Sl||(Sl=!0,tf=u)}}function Un(e){var A=e,t=e;if(e.alternate)for(;A.return;)A=A.return;else{e=A;do A=e,A.flags&4098&&(t=A.return),e=A.return;while(e)}return A.tag===3?t:null}function yy(e){if(e.tag===13){var A=e.memoizedState;if(A===null&&(e=e.alternate,e!==null&&(A=e.memoizedState)),A!==null)return A.dehydrated}return null}function SB(e){if(Un(e)!==e)throw Error(O(188))}function FI(e){var A=e.alternate;if(!A){if(A=Un(e),A===null)throw Error(O(188));return A!==e?null:e}for(var t=e,r=A;;){var n=t.return;if(n===null)break;var i=n.alternate;if(i===null){if(r=n.return,r!==null){t=r;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===t)return SB(n),e;if(i===r)return SB(n),A;i=i.sibling}throw Error(O(188))}if(t.return!==r.return)t=n,r=i;else{for(var s=!1,a=n.child;a;){if(a===t){s=!0,t=n,r=i;break}if(a===r){s=!0,r=n,t=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===t){s=!0,t=i,r=n;break}if(a===r){s=!0,r=i,t=n;break}a=a.sibling}if(!s)throw Error(O(189))}}if(t.alternate!==r)throw Error(O(190))}if(t.tag!==3)throw Error(O(188));return t.stateNode.current===t?e:A}function vy(e){return e=FI(e),e!==null?Cy(e):null}function Cy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var A=Cy(e);if(A!==null)return A;e=e.sibling}return null}var Ey=Me.unstable_scheduleCallback,RB=Me.unstable_cancelCallback,TI=Me.unstable_shouldYield,SI=Me.unstable_requestPaint,VA=Me.unstable_now,RI=Me.unstable_getCurrentPriorityLevel,kd=Me.unstable_ImmediatePriority,Qy=Me.unstable_UserBlockingPriority,Rl=Me.unstable_NormalPriority,HI=Me.unstable_LowPriority,_y=Me.unstable_IdlePriority,_u=null,yt=null;function LI(e){if(yt&&typeof yt.onCommitFiberRoot=="function")try{yt.onCommitFiberRoot(_u,e,void 0,(e.current.flags&128)===128)}catch{}}var ct=Math.clz32?Math.clz32:PI,DI=Math.log,xI=Math.LN2;function PI(e){return e>>>=0,e===0?32:31-(DI(e)/xI|0)|0}var ga=64,pa=4194304;function ys(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Hl(e,A){var t=e.pendingLanes;if(t===0)return 0;var r=0,n=e.suspendedLanes,i=e.pingedLanes,s=t&268435455;if(s!==0){var a=s&~n;a!==0?r=ys(a):(i&=s,i!==0&&(r=ys(i)))}else s=t&~n,s!==0?r=ys(s):i!==0&&(r=ys(i));if(r===0)return 0;if(A!==0&&A!==r&&!(A&n)&&(n=r&-r,i=A&-A,n>=i||n===16&&(i&4194240)!==0))return A;if(r&4&&(r|=t&16),A=e.entangledLanes,A!==0)for(e=e.entanglements,A&=r;0<A;)t=31-ct(A),n=1<<t,r|=e[t],A&=~n;return r}function kI(e,A){switch(e){case 1:case 2:case 4:return A+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return A+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function OI(e,A){for(var t=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-ct(i),a=1<<s,l=n[s];l===-1?(!(a&t)||a&r)&&(n[s]=kI(a,A)):l<=A&&(e.expiredLanes|=a),i&=~a}}function rf(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Iy(){var e=ga;return ga<<=1,!(ga&4194240)&&(ga=64),e}function Vc(e){for(var A=[],t=0;31>t;t++)A.push(e);return A}
vendor: 4,087 bytes, line 37
37function To(e,A,t){e.pendingLanes|=A,A!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,A=31-ct(A),e[A]=t}function NI(e,A){var t=e.pendingLanes&~A;e.pendingLanes=A,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=A,e.mutableReadLanes&=A,e.entangledLanes&=A,A=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var n=31-ct(t),i=1<<n;A[n]=0,r[n]=-1,e[n]=-1,t&=~i}}function Od(e,A){var t=e.entangledLanes|=A;for(e=e.entanglements;t;){var r=31-ct(t),n=1<<r;n&A|e[r]&A&&(e[r]|=A),t&=~n}}var pA=0;function Uy(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Fy,Nd,Ty,Sy,Ry,nf=!1,Ba=[],Qr=null,_r=null,Ir=null,Ao=new Map,eo=new Map,hr=[],bI="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function HB(e,A){switch(e){case"focusin":case"focusout":Qr=null;break;case"dragenter":case"dragleave":_r=null;break;case"mouseover":case"mouseout":Ir=null;break;case"pointerover":case"pointerout":Ao.delete(A.pointerId);break;case"gotpointercapture":case"lostpointercapture":eo.delete(A.pointerId)}}function ss(e,A,t,r,n,i){return e===null||e.nativeEvent!==i?(e={blockedOn:A,domEventName:t,eventSystemFlags:r,nativeEvent:i,targetContainers:[n]},A!==null&&(A=Ro(A),A!==null&&Nd(A)),e):(e.eventSystemFlags|=r,A=e.targetContainers,n!==null&&A.indexOf(n)===-1&&A.push(n),e)}function VI(e,A,t,r,n){switch(A){case"focusin":return Qr=ss(Qr,e,A,t,r,n),!0;case"dragenter":return _r=ss(_r,e,A,t,r,n),!0;case"mouseover":return Ir=ss(Ir,e,A,t,r,n),!0;case"pointerover":var i=n.pointerId;return Ao.set(i,ss(Ao.get(i)||null,e,A,t,r,n)),!0;case"gotpointercapture":return i=n.pointerId,eo.set(i,ss(eo.get(i)||null,e,A,t,r,n)),!0}return!1}function Hy(e){var A=nn(e.target);if(A!==null){var t=Un(A);if(t!==null){if(A=t.tag,A===13){if(A=yy(t),A!==null){e.blockedOn=A,Ry(e.priority,function(){Ty(t)});return}}else if(A===3&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function il(e){if(e.blockedOn!==null)return!1;for(var A=e.targetContainers;0<A.length;){var t=sf(e.domEventName,e.eventSystemFlags,A[0],e.nativeEvent);if(t===null){t=e.nativeEvent;var r=new t.constructor(t.type,t);Zh=r,t.target.dispatchEvent(r),Zh=null}else return A=Ro(t),A!==null&&Nd(A),e.blockedOn=t,!1;A.shift()}return!0}function LB(e,A,t){il(e)&&t.delete(A)}function MI(){nf=!1,Qr!==null&&il(Qr)&&(Qr=null),_r!==null&&il(_r)&&(_r=null),Ir!==null&&il(Ir)&&(Ir=null),Ao.forEach(LB),eo.forEach(LB)}function os(e,A){e.blockedOn===A&&(e.blockedOn=null,nf||(nf=!0,Me.unstable_scheduleCallback(Me.unstable_NormalPriority,MI)))}function to(e){function A(n){return os(n,e)}if(0<Ba.length){os(Ba[0],e);for(var t=1;t<Ba.length;t++){var r=Ba[t];r.blockedOn===e&&(r.blockedOn=null)}}for(Qr!==null&&os(Qr,e),_r!==null&&os(_r,e),Ir!==null&&os(Ir,e),Ao.forEach(A),eo.forEach(A),t=0;t<hr.length;t++)r=hr[t],r.blockedOn===e&&(r.blockedOn=null);for(;0<hr.length&&(t=hr[0],t.blockedOn===null);)Hy(t),t.blockedOn===null&&hr.shift()}var ui=Ar.ReactCurrentBatchConfig,Ll=!0;function KI(e,A,t,r){var n=pA,i=ui.transition;ui.transition=null;try{pA=1,bd(e,A,t,r)}finally{pA=n,ui.transition=i}}function GI(e,A,t,r){var n=pA,i=ui.transition;ui.transition=null;try{pA=4,bd(e,A,t,r)}finally{pA=n,ui.transition=i}}function bd(e,A,t,r){if(Ll){var n=sf(e,A,t,r);if(n===null)Yc(e,A,r,Dl,t),HB(e,r);else if(VI(n,e,A,t,r))r.stopPropagation();else if(HB(e,r),A&4&&-1<bI.indexOf(e)){for(;n!==null;){var i=Ro(n);if(i!==null&&Fy(i),i=sf(e,A,t,r),i===null&&Yc(e,A,r,Dl,t),i===n)break;n=i}n!==null&&r.stopPropagation()}else Yc(e,A,r,null,t)}}var Dl=null;function sf(e,A,t,r){if(Dl=null,e=Pd(r),e=nn(e),e!==null)if(A=Un(e),A===null)e=null;else if(t=A.tag,t===13){if(e=yy(A),e!==null)return e;e=null}else if(t===3){if(A.stateNode.current.memoizedState.isDehydrated)return A.tag===3?A.stateNode.containerInfo:null;e=null}else A!==e&&(e=null);return Dl=e,null}
37function Ly(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(RI()){case kd:return 1;case Qy:return 4;case Rl:case HI:return 16;case _y:return 536870912;default:return 16}default:return 16}}
vendor: 5,776 bytes, line 37
37var mr=null,Vd=null,sl=null;function Dy(){if(sl)return sl;var e,A=Vd,t=A.length,r,n="value"in mr?mr.value:mr.textContent,i=n.length;for(e=0;e<t&&A[e]===n[e];e++);var s=t-e;for(r=1;r<=s&&A[t-r]===n[i-r];r++);return sl=n.slice(e,1<r?1-r:void 0)}function ol(e){var A=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&A===13&&(e=13)):e=A,e===10&&(e=13),32<=e||e===13?e:0}function ma(){return!0}function DB(){return!1}function We(e){function A(t,r,n,i,s){this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ma:DB,this.isPropagationStopped=DB,this}return LA(A.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=ma)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=ma)},persist:function(){},isPersistent:ma}),A}var xi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Md=We(xi),So=LA({},xi,{view:0,detail:0}),WI=We(So),Mc,Kc,as,Iu=LA({},So,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==as&&(as&&e.type==="mousemove"?(Mc=e.screenX-as.screenX,Kc=e.screenY-as.screenY):Kc=Mc=0,as=e),Mc)},movementY:function(e){return"movementY"in e?e.movementY:Kc}}),xB=We(Iu),jI=LA({},Iu,{dataTransfer:0}),zI=We(jI),XI=LA({},So,{relatedTarget:0}),Gc=We(XI),JI=LA({},xi,{animationName:0,elapsedTime:0,pseudoElement:0}),$I=We(JI),YI=LA({},xi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qI=We(YI),ZI=LA({},xi,{data:0}),PB=We(ZI),AU={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},eU={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},tU={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rU(e){var A=this.nativeEvent;return A.getModifierState?A.getModifierState(e):(e=tU[e])?!!A[e]:!1}function Kd(){return rU}var nU=LA({},So,{key:function(e){if(e.key){var A=AU[e.key]||e.key;if(A!=="Unidentified")return A}return e.type==="keypress"?(e=ol(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?eU[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kd,charCode:function(e){return e.type==="keypress"?ol(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ol(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),iU=We(nU),sU=LA({},Iu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kB=We(sU),oU=LA({},So,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kd}),aU=We(oU),lU=LA({},xi,{propertyName:0,elapsedTime:0,pseudoElement:0}),uU=We(lU),cU=LA({},Iu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),hU=We(cU),fU=[9,13,27,32],Gd=Gt&&"CompositionEvent"in window,Ds=null;Gt&&"documentMode"in document&&(Ds=document.documentMode);var dU=Gt&&"TextEvent"in window&&!Ds,xy=Gt&&(!Gd||Ds&&8<Ds&&11>=Ds),OB=String.fromCharCode(32),NB=!1;function Py(e,A){switch(e){case"keyup":return fU.indexOf(A.keyCode)!==-1;case"keydown":return A.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ky(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jn=!1;function gU(e,A){switch(e){case"compositionend":return ky(A);case"keypress":return A.which!==32?null:(NB=!0,OB);case"textInput":return e=A.data,e===OB&&NB?null:e;default:return null}}function pU(e,A){if(Jn)return e==="compositionend"||!Gd&&Py(e,A)?(e=Dy(),sl=Vd=mr=null,Jn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(A.ctrlKey||A.altKey||A.metaKey)||A.ctrlKey&&A.altKey){if(A.char&&1<A.char.length)return A.char;if(A.which)return String.fromCharCode(A.which)}return null;case"compositionend":return xy&&A.locale!=="ko"?null:A.data;default:return null}}var BU={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function bB(e){var A=e&&e.nodeName&&e.nodeName.toLowerCase();return A==="input"?!!BU[e.type]:A==="textarea"}function Oy(e,A,t,r){gy(r),A=xl(A,"onChange"),0<A.length&&(t=new Md("onChange","change",null,t,r),e.push({event:t,listeners:A}))}var xs=null,ro=null;function mU(e){Jy(e,0)}function Uu(e){var A=qn(e);if(ay(A))return e}function wU(e,A){if(e==="change")return A}var Ny=!1;if(Gt){var Wc;
vendor: 5,153 bytes, line 37
37if(Gt){var jc="oninput"in document;if(!jc){var VB=document.createElement("div");VB.setAttribute("oninput","return;"),jc=typeof VB.oninput=="function"}Wc=jc}else Wc=!1;Ny=Wc&&(!document.documentMode||9<document.documentMode)}function MB(){xs&&(xs.detachEvent("onpropertychange",by),ro=xs=null)}function by(e){if(e.propertyName==="value"&&Uu(ro)){var A=[];Oy(A,ro,e,Pd(e)),wy(mU,A)}}function yU(e,A,t){e==="focusin"?(MB(),xs=A,ro=t,xs.attachEvent("onpropertychange",by)):e==="focusout"&&MB()}function vU(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Uu(ro)}function CU(e,A){if(e==="click")return Uu(A)}function EU(e,A){if(e==="input"||e==="change")return Uu(A)}function QU(e,A){return e===A&&(e!==0||1/e===1/A)||e!==e&&A!==A}var ft=typeof Object.is=="function"?Object.is:QU;function no(e,A){if(ft(e,A))return!0;if(typeof e!="object"||e===null||typeof A!="object"||A===null)return!1;var t=Object.keys(e),r=Object.keys(A);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var n=t[r];if(!Vh.call(A,n)||!ft(e[n],A[n]))return!1}return!0}function KB(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function GB(e,A){var t=KB(e);e=0;for(var r;t;){if(t.nodeType===3){if(r=e+t.textContent.length,e<=A&&r>=A)return{node:t,offset:A-e};e=r}A:{for(;t;){if(t.nextSibling){t=t.nextSibling;break A}t=t.parentNode}t=void 0}t=KB(t)}}function Vy(e,A){return e&&A?e===A?!0:e&&e.nodeType===3?!1:A&&A.nodeType===3?Vy(e,A.parentNode):"contains"in e?e.contains(A):e.compareDocumentPosition?!!(e.compareDocumentPosition(A)&16):!1:!1}function My(){for(var e=window,A=Fl();A instanceof e.HTMLIFrameElement;){try{var t=typeof A.contentWindow.location.href=="string"}catch{t=!1}if(t)e=A.contentWindow;else break;A=Fl(e.document)}return A}function Wd(e){var A=e&&e.nodeName&&e.nodeName.toLowerCase();return A&&(A==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||A==="textarea"||e.contentEditable==="true")}function _U(e){var A=My(),t=e.focusedElem,r=e.selectionRange;if(A!==t&&t&&t.ownerDocument&&Vy(t.ownerDocument.documentElement,t)){if(r!==null&&Wd(t)){if(A=r.start,e=r.end,e===void 0&&(e=A),"selectionStart"in t)t.selectionStart=A,t.selectionEnd=Math.min(e,t.value.length);else if(e=(A=t.ownerDocument||document)&&A.defaultView||window,e.getSelection){e=e.getSelection();var n=t.textContent.length,i=Math.min(r.start,n);r=r.end===void 0?i:Math.min(r.end,n),!e.extend&&i>r&&(n=r,r=i,i=n),n=GB(t,i);var s=GB(t,r);n&&s&&(e.rangeCount!==1||e.anchorNode!==n.node||e.anchorOffset!==n.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(A=A.createRange(),A.setStart(n.node,n.offset),e.removeAllRanges(),i>r?(e.addRange(A),e.extend(s.node,s.offset)):(A.setEnd(s.node,s.offset),e.addRange(A)))}}for(A=[],e=t;e=e.parentNode;)e.nodeType===1&&A.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<A.length;t++)e=A[t],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var IU=Gt&&"documentMode"in document&&11>=document.documentMode,$n=null,of=null,Ps=null,af=!1;function WB(e,A,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;af||$n==null||$n!==Fl(r)||(r=$n,"selectionStart"in r&&Wd(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ps&&no(Ps,r)||(Ps=r,r=xl(of,"onSelect"),0<r.length&&(A=new Md("onSelect","select",null,A,t),e.push({event:A,listeners:r}),A.target=$n)))}function wa(e,A){var t={};return t[e.toLowerCase()]=A.toLowerCase(),t["Webkit"+e]="webkit"+A,t["Moz"+e]="moz"+A,t}var Yn={animationend:wa("Animation","AnimationEnd"),animationiteration:wa("Animation","AnimationIteration"),animationstart:wa("Animation","AnimationStart"),transitionend:wa("Transition","TransitionEnd")},zc={},Ky={};Gt&&(Ky=document.createElement("div").style,"AnimationEvent"in window||(delete Yn.animationend.animation,delete Yn.animationiteration.animation,delete Yn.animationstart.animation),"TransitionEvent"in window||delete Yn.transitionend.transition);function Fu(e){if(zc[e])return zc[e];if(!Yn[e])return e;var A=Yn[e],t;for(t in A)if(A.hasOwnProperty(t)&&t in Ky)return zc[e]=A[t];return e}var Gy=Fu("animationend"),Wy=Fu("animationiteration"),jy=Fu("animationstart"),zy=Fu("transitionend"),Xy=new Map,jB="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function jr(e,A){Xy.set(e,A),In(A,[e])}for(var Xc=0;Xc<jB.length;Xc++){var Jc=jB[Xc],UU=Jc.toLowerCase(),FU=Jc[0].toUpperCase()+Jc.slice(1);
vendor: 4,708 bytes, line 37
37jr(UU,"on"+FU)}jr(Gy,"onAnimationEnd");jr(Wy,"onAnimationIteration");jr(jy,"onAnimationStart");jr("dblclick","onDoubleClick");jr("focusin","onFocus");jr("focusout","onBlur");jr(zy,"onTransitionEnd");mi("onMouseEnter",["mouseout","mouseover"]);mi("onMouseLeave",["mouseout","mouseover"]);mi("onPointerEnter",["pointerout","pointerover"]);mi("onPointerLeave",["pointerout","pointerover"]);In("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));In("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));In("onBeforeInput",["compositionend","keypress","textInput","paste"]);In("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));In("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));In("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),TU=new Set("cancel close invalid load scroll toggle".split(" ").concat(vs));function zB(e,A,t){var r=e.type||"unknown-event";e.currentTarget=t,UI(r,A,void 0,e),e.currentTarget=null}function Jy(e,A){A=(A&4)!==0;for(var t=0;t<e.length;t++){var r=e[t],n=r.event;r=r.listeners;A:{var i=void 0;if(A)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&n.isPropagationStopped())break A;zB(n,a,u),i=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&n.isPropagationStopped())break A;zB(n,a,u),i=l}}}if(Sl)throw e=tf,Sl=!1,tf=null,e}function _A(e,A){var t=A[ff];t===void 0&&(t=A[ff]=new Set);var r=e+"__bubble";t.has(r)||($y(A,e,2,!1),t.add(r))}function $c(e,A,t){var r=0;A&&(r|=4),$y(t,e,r,A)}var ya="_reactListening"+Math.random().toString(36).slice(2);function io(e){if(!e[ya]){e[ya]=!0,ry.forEach(function(t){t!=="selectionchange"&&(TU.has(t)||$c(t,!1,e),$c(t,!0,e))});var A=e.nodeType===9?e:e.ownerDocument;A===null||A[ya]||(A[ya]=!0,$c("selectionchange",!1,A))}}function $y(e,A,t,r){switch(Ly(A)){case 1:var n=KI;break;case 4:n=GI;break;default:n=bd}t=n.bind(null,A,t,e),n=void 0,!ef||A!=="touchstart"&&A!=="touchmove"&&A!=="wheel"||(n=!0),r?n!==void 0?e.addEventListener(A,t,{capture:!0,passive:n}):e.addEventListener(A,t,!0):n!==void 0?e.addEventListener(A,t,{passive:n}):e.addEventListener(A,t,!1)}function Yc(e,A,t,r,n){var i=r;if(!(A&1)&&!(A&2)&&r!==null)A:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===n||a.nodeType===8&&a.parentNode===n)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===n||l.nodeType===8&&l.parentNode===n))return;s=s.return}for(;a!==null;){if(s=nn(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue A}a=a.parentNode}}r=r.return}wy(function(){var u=i,h=Pd(t),d=[];A:{var g=Xy.get(e);if(g!==void 0){var E=Md,_=e;switch(e){case"keypress":if(ol(t)===0)break A;case"keydown":case"keyup":E=iU;break;case"focusin":_="focus",E=Gc;break;case"focusout":_="blur",E=Gc;break;case"beforeblur":case"afterblur":E=Gc;break;case"click":if(t.button===2)break A;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":E=xB;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":E=zI;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":E=aU;break;case Gy:case Wy:case jy:E=$I;break;case zy:E=uU;break;case"scroll":E=WI;break;case"wheel":E=hU;break;case"copy":case"cut":case"paste":E=qI;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":E=kB}var F=(A&4)!==0,L=!F&&e==="scroll",v=F?g!==null?g+"Capture":null:g;F=[];for(var m=u,I;m!==null;){I=m;var R=I.stateNode;if(I.tag===5&&R!==null&&(I=R,v!==null&&(R=Zs(m,v),R!=null&&F.push(so(m,R,I)))),L)break;m=m.return}0<F.length&&(g=new E(g,_,null,t,h),d.push({event:g,listeners:F}))}}if(!(A&7)){A:{if(g=e==="mouseover"||e==="pointerover",E=e==="mouseout"||e==="pointerout",g&&t!==Zh&&(_=t.relatedTarget||t.fromElement)&&(nn(_)||_[Wt]))break A;if((E||g)&&(g=h.window===h?h:(g=h.ownerDocument)?g.defaultView||g.parentWindow:window,E?(_=t.relatedTarget||t.toElement,E=u,_=_?nn(_):null,_!==null&&(L=Un(_),_!==L||_.tag!==5&&_.tag!==6)&&(_=null)):(E=null,_=u),E!==_)){if(F=xB,R="onMouseLeave",v="onMouseEnter",m="mou
37se",(e==="pointerout"||e==="pointerover")&&(F=kB,R="onPointerLeave",v="onPointerEnter",m="pointer"),L=E==null?g:qn(E),I=_==null?g:qn(_),g=new F(R,m+"leave",E,t,h),g.target=L,g.relatedTarget=I,R=null,nn(h)===u&&(F=new F(v,m+"enter",_,t,h),F.target=I,F.relatedTarget=L,R=F),L=R,E&&_)e:{for(F=E,v=_,m=0,I=F;I;I=xn(I))m++;for(I=0,R=v;R;R=xn(R))I++;for(;0<m-I;)F=xn(F),m--;for(;0<I-m;)v=xn(v),I--;for(;m--;){if(F===v||v!==null&&F===v.alternate)break e;F=xn(F),v=xn(v)}F=null}else F=null;E!==null&&XB(d,g,E,F,!1),_!==null&&L!==null&&XB(d,L,_,F,!0)}}A:{if(g=u?qn(u):window,E=g.nodeName&&g.nodeName.toLowerCase(),E==="select"||E==="input"&&g.type==="file")var x=wU;else if(bB(g))if(Ny)x=EU;else{x=vU;var H=yU}else(E=g.nodeName)&&E.toLowerCase()==="input"&&(g.type==="checkbox"||g.type==="radio")&&(x=CU);if(x&&(x=x(e,u))){Oy(d,x,t,h);break A}H&&H(e,g,u),e==="focusout"&&(H=g._wrapperState)&&H.controlled&&g.type==="number"&&Xh(g,"number",g.value)}switch(H=u?qn(u):window,e){case"focusin":(bB(H)||H.contentEditable==="true")&&($n=H,of=u,Ps=null);break;case"focusout":Ps=of=$n=null;break;case"mousedown":af=!0;break;case"contextmenu":case"mouseup":case"dragend":af=!1,WB(d,t,h);break;case"selectionchange":if(IU)break;case"keydown":case"keyup":WB(d,t,h)}var y;if(Gd)A:{switch(e){case"compositionstart":var B="onCompositionStart";break A;case"compositionend":B="onCompositionEnd";break A;case"compositionupdate":B="onCompositionUpdate";break A}B=void 0}else Jn?Py(e,t)&&(B="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(B="onCompositionStart");B&&(xy&&t.locale!=="ko"&&(Jn||B!=="onCompositionStart"?B==="onCompositionEnd"&&Jn&&(y=Dy()):(mr=h,Vd="value"in mr?mr.value:mr.textContent,Jn=!0)),H=xl(u,B),0<H.length&&(B=new PB(B,e,null,t,h),d.push({event:B,listeners:H}),y?B.data=y:(y=ky(t),y!==null&&(B.data=y)))),(y=dU?gU(e,t):pU(e,t))&&(u=xl(u,"onBeforeInput"),0<u.length&&(h=new PB("onBeforeInput","beforeinput",null,t,h),d.push({event:h,listeners:u}),h.data=y))}Jy(d,A)})}function so(e,A,t){return{instance:e,listener:A,currentTarget:t}}function xl(e,A){for(var t=A+"Capture",r=[];e!==null;){var n=e,i=n.stateNode;n.tag===5&&i!==null&&(n=i,i=Zs(e,t),i!=null&&r.unshift(so(e,i,n)),i=Zs(e,A),i!=null&&r.push(so(e,i,n))),e=e.return}return r}function xn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function XB(e,A,t,r,n){for(var i=A._reactName,s=[];t!==null&&t!==r;){var a=t,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,n?(l=Zs(t,i),l!=null&&s.unshift(so(t,l,a))):n||(l=Zs(t,i),l!=null&&s.push(so(t,l,a)))),t=t.return}s.length!==0&&e.push({event:A,listeners:s})}var SU=/\r\n?/g,RU=/\u0000|\uFFFD/g;function JB(e){return(typeof e=="string"?e:""+e).replace(SU,` 38`).replace(RU,"")}function va(e,A,t){if(A=JB(A),JB(e)!==A&&t)throw Error(O(425))}function Pl(){}var lf=null,uf=null;function cf(e,A){return e==="textarea"||e==="noscript"||typeof A.children=="string"||typeof A.children=="number"||typeof A.dangerouslySetInnerHTML=="object"&&A.dangerouslySetInnerHTML!==null&&A.dangerouslySetInnerHTML.__html!=null}var hf=typeof setTimeout=="function"?setTimeout:void 0,HU=typeof clearTimeout=="function"?clearTimeout:void 0,$B=typeof Promise=="function"?Promise:void 0,LU=typeof queueMicrotask=="function"?queueMicrotask:typeof $B<"u"?function(e){return $B.resolve(null).then(e).catch(DU)}:hf;function DU(e){setTimeout(function(){throw e})}function qc(e,A){var t=A,r=0;do{var n=t.nextSibling;if(e.removeChild(t),n&&n.nodeType===8)if(t=n.data,t==="/$"){if(r===0){e.removeChild(n),to(A);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=n}while(t);to(A)}function Ur(e){for(;e!=null;e=e.nextSibling){var A=e.nodeType;if(A===1||A===3)break;if(A===8){if(A=e.data,A==="$"||A==="$!"||A==="$?")break;if(A==="/$")return null}}return e}function YB(e){e=e.previousSibling;for(var A=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"){if(A===0)return e;A--}else t==="/$"&&A++}e=e.previousSibling}return null}var Pi=Math.random().toString(36).slice(2),wt="__reactFiber$"+Pi,oo="__reactProps$"+Pi,Wt="__reactContainer$"+Pi,ff="__reactEvents$"+Pi,xU="__reactListeners$"+Pi,PU="__reactHandles$"+Pi;function nn(e){var A=e[wt];if(A)return A;for(var t=e.parentNode;t;){if(A=t[Wt]||t[wt]){if(t=A.alternate,A.child!==null||t!==null&&t.child!==null)for(e=YB(e);e!==null;){if(t=e[wt])return t;e=YB(e)}return A}e=t,t=e.parentNode}return null}function Ro(e){return e=e[wt]||e[Wt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function qn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(O(33))}function Tu(e){return e[oo]||null}var df=[],Zn=-1;function zr(e){return{current:e}}function UA(e){0>Zn||(e.current=df[Zn],df[Zn]=null,Zn--)}function CA(e,A){Zn++,df[Zn]=e.current,e.current=A}var Vr={},Ce=zr(Vr),De=zr(!1),gn=Vr;function wi(e,A){var t=e.type.contextTypes;if(!t)return Vr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===A)return r.__reactInternalMemoizedMaskedChildContext;var n={},i;for(i in t)n[i]=A[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=A,e.__reactInternalMemoizedMaskedChildContext=n),n}function xe(e){return e=e.childContextTypes,e!=null}function kl(){UA(De),UA(Ce)}function qB(e,A,t){if(Ce.current!==Vr)throw Error(O(168));CA(Ce,A),CA(De,t)}function Yy(e,A,t){var r=e.stateNode;if(A=A.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var n in r)if(!(n in A))throw Error(O(108,yI(e)||"Unknown",n));return LA({},t,r)}function Ol(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Vr,gn=Ce.current,CA(Ce,e),CA(De,De.current),!0}function ZB(e,A,t){var r=e.stateNode;if(!r)throw Error(O(169));t?(e=Yy(e,A,gn),r.__reactInternalMemoizedMergedChildContext=e,UA(De),UA(Ce),CA(Ce,e)):UA(De),CA(De,t)}var Dt=null,Su=!1,Zc=!1;function qy(e){Dt===null?Dt=[e]:Dt.push(e)}function kU(e){Su=!0,qy(e)}
vendor: 10,577 bytes, line 38
38function Xr(){if(!Zc&&Dt!==null){Zc=!0;var e=0,A=pA;try{var t=Dt;for(pA=1;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}Dt=null,Su=!1}catch(n){throw Dt!==null&&(Dt=Dt.slice(e+1)),Ey(kd,Xr),n}finally{pA=A,Zc=!1}}return null}var Ai=[],ei=0,Nl=null,bl=0,ze=[],Xe=0,pn=null,xt=1,Pt="";function An(e,A){Ai[ei++]=bl,Ai[ei++]=Nl,Nl=e,bl=A}function Zy(e,A,t){ze[Xe++]=xt,ze[Xe++]=Pt,ze[Xe++]=pn,pn=e;var r=xt;e=Pt;var n=32-ct(r)-1;r&=~(1<<n),t+=1;var i=32-ct(A)+n;if(30<i){var s=n-n%5;i=(r&(1<<s)-1).toString(32),r>>=s,n-=s,xt=1<<32-ct(A)+n|t<<n|r,Pt=i+e}else xt=1<<i|t<<n|r,Pt=e}function jd(e){e.return!==null&&(An(e,1),Zy(e,1,0))}function zd(e){for(;e===Nl;)Nl=Ai[--ei],Ai[ei]=null,bl=Ai[--ei],Ai[ei]=null;for(;e===pn;)pn=ze[--Xe],ze[Xe]=null,Pt=ze[--Xe],ze[Xe]=null,xt=ze[--Xe],ze[Xe]=null}var Ve=null,be=null,TA=!1,lt=null;function Av(e,A){var t=Ye(5,null,null,0);t.elementType="DELETED",t.stateNode=A,t.return=e,A=e.deletions,A===null?(e.deletions=[t],e.flags|=16):A.push(t)}function Am(e,A){switch(e.tag){case 5:var t=e.type;return A=A.nodeType!==1||t.toLowerCase()!==A.nodeName.toLowerCase()?null:A,A!==null?(e.stateNode=A,Ve=e,be=Ur(A.firstChild),!0):!1;case 6:return A=e.pendingProps===""||A.nodeType!==3?null:A,A!==null?(e.stateNode=A,Ve=e,be=null,!0):!1;case 13:return A=A.nodeType!==8?null:A,A!==null?(t=pn!==null?{id:xt,overflow:Pt}:null,e.memoizedState={dehydrated:A,treeContext:t,retryLane:1073741824},t=Ye(18,null,null,0),t.stateNode=A,t.return=e,e.child=t,Ve=e,be=null,!0):!1;default:return!1}}function gf(e){return(e.mode&1)!==0&&(e.flags&128)===0}function pf(e){if(TA){var A=be;if(A){var t=A;if(!Am(e,A)){if(gf(e))throw Error(O(418));A=Ur(t.nextSibling);var r=Ve;A&&Am(e,A)?Av(r,t):(e.flags=e.flags&-4097|2,TA=!1,Ve=e)}}else{if(gf(e))throw Error(O(418));e.flags=e.flags&-4097|2,TA=!1,Ve=e}}}function em(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ve=e}function Ca(e){if(e!==Ve)return!1;if(!TA)return em(e),TA=!0,!1;var A;if((A=e.tag!==3)&&!(A=e.tag!==5)&&(A=e.type,A=A!=="head"&&A!=="body"&&!cf(e.type,e.memoizedProps)),A&&(A=be)){if(gf(e))throw ev(),Error(O(418));for(;A;)Av(e,A),A=Ur(A.nextSibling)}if(em(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(O(317));A:{for(e=e.nextSibling,A=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(A===0){be=Ur(e.nextSibling);break A}A--}else t!=="$"&&t!=="$!"&&t!=="$?"||A++}e=e.nextSibling}be=null}}else be=Ve?Ur(e.stateNode.nextSibling):null;return!0}function ev(){for(var e=be;e;)e=Ur(e.nextSibling)}function yi(){be=Ve=null,TA=!1}function Xd(e){lt===null?lt=[e]:lt.push(e)}var OU=Ar.ReactCurrentBatchConfig;function ls(e,A,t){if(e=t.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(t._owner){if(t=t._owner,t){if(t.tag!==1)throw Error(O(309));var r=t.stateNode}if(!r)throw Error(O(147,e));var n=r,i=""+e;return A!==null&&A.ref!==null&&typeof A.ref=="function"&&A.ref._stringRef===i?A.ref:(A=function(s){var a=n.refs;s===null?delete a[i]:a[i]=s},A._stringRef=i,A)}if(typeof e!="string")throw Error(O(284));if(!t._owner)throw Error(O(290,e))}return e}function Ea(e,A){throw e=Object.prototype.toString.call(A),Error(O(31,e==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":e))}function tm(e){var A=e._init;return A(e._payload)}function tv(e){function A(v,m){if(e){var I=v.deletions;I===null?(v.deletions=[m],v.flags|=16):I.push(m)}}function t(v,m){if(!e)return null;for(;m!==null;)A(v,m),m=m.sibling;return null}function r(v,m){for(v=new Map;m!==null;)m.key!==null?v.set(m.key,m):v.set(m.index,m),m=m.sibling;return v}function n(v,m){return v=Rr(v,m),v.index=0,v.sibling=null,v}function i(v,m,I){return v.index=I,e?(I=v.alternate,I!==null?(I=I.index,I<m?(v.flags|=2,m):I):(v.flags|=2,m)):(v.flags|=1048576,m)}function s(v){return e&&v.alternate===null&&(v.flags|=2),v}function a(v,m,I,R){return m===null||m.tag!==6?(m=sh(I,v.mode,R),m.return=v,m):(m=n(m,I),m.return=v,m)}function l(v,m,I,R){var x=I.type;return x===Xn?h(v,m,I.props.children,R,I.key):m!==null&&(m.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===lr&&tm(x)===m.type)?(R=n(m,I.props),R.ref=ls(v,m,I),R.return=v,R):(R=dl(I.type,I.key,I.props,null,v.mode,R),R.ref=ls(v,m,I),R.return=v,R)}function u(v,m,I,R){return m===null||m.tag!==4||m.stateNode.containerInfo!==I.containerInfo||m.stateNode.implementation!==I.implementation?(m=oh(I,v.mode,R),m.return=v,m):(m=n(m,I.children||[]),m.return=v,m)}function h(v,m,I,R,x){return m===null||m.tag!==7?(m=cn(I,v.mode,R,x),m.return=v,m):(m=n(m,I),m.return=v,m)}function d(v,m,I){if(typeof m=="string"&&m!==""||typeof m=="number")return m=sh(""+m,v.mode,I),m.return=v,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ha:return I=dl(m.type,m.key,m.props,null,v.mode,I),I.ref=ls(v,null,m),I.return=v,I;case zn:return m=oh(m,v.mode,I),m.return=v,m;case lr:var R=m._init;return d(v,R(m._payload),I)}if(ws(m)||ns(m))return m=cn(m,v.mode,I,null),m.return=v,m;Ea(v,m)}return null}function g(v,m,I,R){var x=m!==null?m.key:null;if(typeof I=="string"&&I!==""||typeof I=="number")return x!==null?null:a(v,m,""+I,R);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case ha:return I.key===x?l(v,m,I,R):null;case zn:return I.key===x?u(v,m,I,R):null;case lr:return x=I._init,g(v,m,x(I._payload),R)}if(ws(I)||ns(I))return x!==null?null:h(v,m,I,R,null);Ea(v,I)}return null}function E(v,m,I,R,x){if(typeof R=="string"&&R!==""||typeof R=="number")return v=v.get(I)||null,a(m,v,""+R,x);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case ha:return v=v.get(R.key===null?I:R.key)||null,l(m,v,R,x);case zn:return v=v.get(R.key===null?I:R.key)||null,u(m,v,R,x);case lr:var H=R._init;return E(v,m,I,H(R._payload),x)}if(ws(R)||ns(R))return v=v.get(I)||null,h(m,v,R,x,null);Ea(m,R)}return null}function _(v,m,I,R){for(var x=null,H=null,y=m,B=m=0,w=null;y!==null&&B<I.length;B++){y.index>B?(w=y,y=null):w=y.sibling;var Q=g(v,y,I[B],R);if(Q===null){y===null&&(y=w);break}e&&y&&Q.alternate===null&&A(v,y),m=i(Q,m,B),H===null?x=Q:H.sibling=Q,H=Q,y=w}if(B===I.length)return t(v,y),TA&&An(v,B),x;if(y===null){for(;B<I.length;B++)y=d(v,I[B],R),y!==null&&(m=i(y,m,B),H===null?x=y:H.sibling=y,H=y);return TA&&An(v,B),x}for(y=r(v,y);B<I.length;B++)w=E(y,v,B,I[B],R),w!==null&&(e&&w.alternate!==null&&y.delete(w.key===null?B:w.key),m=i(w,m,B),H===null?x=w:H.sibling=w,H=w);return e&&y.forEach(function(U){return A(v,U)}),TA&&An(v,B),x}function F(v,m,I,R){var x=ns(I);if(typeof x!="function")throw Error(O(150));if(I=x.call(I),I==null)throw Error(O(151));for(var H=x=null,y=m,B=m=0,w=null,Q=I.next();y!==null&&!Q.done;B++,Q=I.next()){y.index>B?(w=y,y=null):w=y.sibling;var U=g(v,y,Q.value,R);if(U===null){y===null&&(y=w);break}e&&y&&U.alternate===null&&A(v,y),m=i(U,m,B),H===null?x=U:H.sibling=U,H=U,y=w}if(Q.done)return t(v,y),TA&&An(v,B),x;if(y===null){for(;!Q.done;B++,Q=I.next())Q=d(v,Q.value,R),Q!==null&&(m=i(Q,m,B),H===null?x=Q:H.sibling=Q,H=Q);return TA&&An(v,B),x}for(y=r(v,y);!Q.done;B++,Q=I.next())Q=E(y,v,B,Q.value,R),Q!==null&&(e&&Q.alternate!==null&&y.delete(Q.key===null?B:Q.key),m=i(Q,m,B),H===null?x=Q:H.sibling=Q,H=Q);return e&&y.forEach(function(T){return A(v,T)}),TA&&An(v,B),x}function L(v,m,I,R){if(typeof I=="object"&&I!==null&&I.type===Xn&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case ha:A:{for(var x=I.key,H=m;H!==null;){if(H.key===x){if(x=I.type,x===Xn){if(H.tag===7){t(v,H.sibling),m=n(H,I.props.children),m.return=v,v=m;break A}}else if(H.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===lr&&tm(x)===H.type){t(v,H.sibling),m=n(H,I.props),m.ref=ls(v,H,I),m.return=v,v=m;break A}t(v,H);break}else A(v,H);H=H.sibling}I.type===Xn?(m=cn(I.props.children,v.mode,R,I.key),m.return=v,v=m):(R=dl(I.type,I.key,I.props,null,v.mode,R),R.ref=ls(v,m,I),R.return=v,v=R)}return s(v);case zn:A:{for(H=I.key;m!==null;){if(m.key===H)if(m.tag===4&&m.stateNode.containerInfo===I.containerInfo&&m.stateNode.implementation===I.implementation){t(v,m.sibling),m=n(m,I.children||[]),m.return=v,v=m;break A}else{t(v,m);break}else A(v,m);m=m.sibling}m=oh(I,v.mode,R),m.return=v,v=m}return s(v);case lr:return H=I._init,L(v,m,H(I._payload),R)}if(ws(I))return _(v,m,I,R);if(ns(I))return F(v,m,I,R);Ea(v,I)}return typeof I=="string"&&I!==""||typeof I=="number"?(I=""+I,m!==null&&m.tag===6?(t(v,m.sibling),m=n(m,I),m.return=v,v=m):(t(v,m),m=sh(I,v.mode,R),m.return=v,v=m),s(v)):t(v,m)}return L}var vi=tv(!0),rv=tv(!1),Vl=zr(null),Ml=null,ti=null,Jd=null;function $d(){Jd=ti=Ml=null}function Yd(e){var A=Vl.current;UA(Vl),e._currentValue=A}function Bf(e,A,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&A)!==A?(e.childLanes|=A,r!==null&&(r.childLanes|=A)):r!==null&&(r.childLanes&A)!==A&&(r.childLanes|=A),e===t)break;e=e.return}}function ci(e,A){Ml=e,Jd=ti=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&A&&(Le=!0),e.firstContext=null)}function tt(e){var A=e._currentValue;if(Jd!==e)if(e={context:e,memoizedValue:A,next:null},ti===null){if(Ml===null)throw Error(O(308));ti=e,Ml.dependencies={lanes:0,firstContext:e}}else ti=ti.next=e;return A}var sn=null;function qd(e){sn===null?sn=[e]:sn.push(e)}function nv(e,A,t,r){var n=A.interleaved;return n===null?(t.next=t,qd(A)):(t.next=n.next,n.next=t),A.interleaved=t,jt(e,r)}function jt(e,A){e.lanes|=A;var t=e.alternate;for(t!==null&&(t.lanes|=A),t=e,e=e.return;e!==null;)e.childLanes|=A,t=e.alternate,t!==null&&(t.childLanes|=A),t=e,e=e.return;return t.tag===3?t.stateNode:null}var ur=!1;function Zd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function iv(e,A){e=e.updateQueue,A.updateQueue===e&&(A.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Vt(e,A){return{eventTime:e,lane:A,tag:0,payload:null,callback:null,next:null}}function Fr(e,A,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,cA&2){var n=r.pending;return n===null?A.next=A:(A.next=n.next,n.next=A),r.pending=A,jt(e,t)}return n=r.interleaved,n===null?(A.next=A,qd(r)):(A.next=n.next,n.next=A),r.interleaved=A,jt(e,t)}function al(e,A,t){if(A=A.updateQueue,A!==null&&(A=A.shared,(t&4194240)!==0)){var r=A.lanes;r&=e.pendingLanes,t|=r,A.lanes=t,Od(e,t)}}function rm(e,A){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var n=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var s={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};i===null?n=i=s:i=i.next=s,t=t.next}
vendor: 7,062 bytes, line 38
38while(t!==null);i===null?n=i=A:i=i.next=A}else n=i=A;t={baseState:r.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=A:e.next=A,t.lastBaseUpdate=A}function Kl(e,A,t,r){var n=e.updateQueue;ur=!1;var i=n.firstBaseUpdate,s=n.lastBaseUpdate,a=n.shared.pending;if(a!==null){n.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var h=e.alternate;h!==null&&(h=h.updateQueue,a=h.lastBaseUpdate,a!==s&&(a===null?h.firstBaseUpdate=u:a.next=u,h.lastBaseUpdate=l))}if(i!==null){var d=n.baseState;s=0,h=u=l=null,a=i;do{var g=a.lane,E=a.eventTime;if((r&g)===g){h!==null&&(h=h.next={eventTime:E,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});A:{var _=e,F=a;switch(g=A,E=t,F.tag){case 1:if(_=F.payload,typeof _=="function"){d=_.call(E,d,g);break A}d=_;break A;case 3:_.flags=_.flags&-65537|128;case 0:if(_=F.payload,g=typeof _=="function"?_.call(E,d,g):_,g==null)break A;d=LA({},d,g);break A;case 2:ur=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,g=n.effects,g===null?n.effects=[a]:g.push(a))}else E={eventTime:E,lane:g,tag:a.tag,payload:a.payload,callback:a.callback,next:null},h===null?(u=h=E,l=d):h=h.next=E,s|=g;if(a=a.next,a===null){if(a=n.shared.pending,a===null)break;g=a,a=g.next,g.next=null,n.lastBaseUpdate=g,n.shared.pending=null}}while(1);if(h===null&&(l=d),n.baseState=l,n.firstBaseUpdate=u,n.lastBaseUpdate=h,A=n.shared.interleaved,A!==null){n=A;do s|=n.lane,n=n.next;while(n!==A)}else i===null&&(n.shared.lanes=0);mn|=s,e.lanes=s,e.memoizedState=d}}function nm(e,A,t){if(e=A.effects,A.effects=null,e!==null)for(A=0;A<e.length;A++){var r=e[A],n=r.callback;if(n!==null){if(r.callback=null,r=t,typeof n!="function")throw Error(O(191,n));n.call(r)}}}var Ho={},vt=zr(Ho),ao=zr(Ho),lo=zr(Ho);function on(e){if(e===Ho)throw Error(O(174));return e}function Ag(e,A){switch(CA(lo,A),CA(ao,e),CA(vt,Ho),e=A.nodeType,e){case 9:case 11:A=(A=A.documentElement)?A.namespaceURI:$h(null,"");break;default:e=e===8?A.parentNode:A,A=e.namespaceURI||null,e=e.tagName,A=$h(A,e)}UA(vt),CA(vt,A)}function Ci(){UA(vt),UA(ao),UA(lo)}function sv(e){on(lo.current);var A=on(vt.current),t=$h(A,e.type);A!==t&&(CA(ao,e),CA(vt,t))}function eg(e){ao.current===e&&(UA(vt),UA(ao))}var RA=zr(0);function Gl(e){for(var A=e;A!==null;){if(A.tag===13){var t=A.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return A}else if(A.tag===19&&A.memoizedProps.revealOrder!==void 0){if(A.flags&128)return A}else if(A.child!==null){A.child.return=A,A=A.child;continue}if(A===e)break;for(;A.sibling===null;){if(A.return===null||A.return===e)return null;A=A.return}A.sibling.return=A.return,A=A.sibling}return null}var Ah=[];function tg(){for(var e=0;e<Ah.length;e++)Ah[e]._workInProgressVersionPrimary=null;Ah.length=0}var ll=Ar.ReactCurrentDispatcher,eh=Ar.ReactCurrentBatchConfig,Bn=0,HA=null,zA=null,ZA=null,Wl=!1,ks=!1,uo=0,NU=0;function de(){throw Error(O(321))}function rg(e,A){if(A===null)return!1;for(var t=0;t<A.length&&t<e.length;t++)if(!ft(e[t],A[t]))return!1;return!0}function ng(e,A,t,r,n,i){if(Bn=i,HA=A,A.memoizedState=null,A.updateQueue=null,A.lanes=0,ll.current=e===null||e.memoizedState===null?KU:GU,e=t(r,n),ks){i=0;do{if(ks=!1,uo=0,25<=i)throw Error(O(301));i+=1,ZA=zA=null,A.updateQueue=null,ll.current=WU,e=t(r,n)}while(ks)}if(ll.current=jl,A=zA!==null&&zA.next!==null,Bn=0,ZA=zA=HA=null,Wl=!1,A)throw Error(O(300));return e}function ig(){var e=uo!==0;return uo=0,e}function mt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ZA===null?HA.memoizedState=ZA=e:ZA=ZA.next=e,ZA}function rt(){if(zA===null){var e=HA.alternate;e=e!==null?e.memoizedState:null}else e=zA.next;var A=ZA===null?HA.memoizedState:ZA.next;if(A!==null)ZA=A,zA=e;else{if(e===null)throw Error(O(310));zA=e,e={memoizedState:zA.memoizedState,baseState:zA.baseState,baseQueue:zA.baseQueue,queue:zA.queue,next:null},ZA===null?HA.memoizedState=ZA=e:ZA=ZA.next=e}return ZA}function co(e,A){return typeof A=="function"?A(e):A}function th(e){var A=rt(),t=A.queue;if(t===null)throw Error(O(311));t.lastRenderedReducer=e;var r=zA,n=r.baseQueue,i=t.pending;if(i!==null){if(n!==null){var s=n.next;n.next=i.next,i.next=s}r.baseQueue=n=i,t.pending=null}if(n!==null){i=n.next,r=r.baseState;var a=s=null,l=null,u=i;do{var h=u.lane;if((Bn&h)===h)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:h,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,HA.lanes|=h,mn|=h}u=u.next}while(u!==null&&u!==i);l===null?s=r:l.next=a,ft(r,A.memoizedState)||(Le=!0),A.memoizedState=r,A.baseState=s,A.baseQueue=l,t.lastRenderedState=r}if(e=t.interleaved,e!==null){n=e;do i=n.lane,HA.lanes|=i,mn|=i,n=n.next;while(n!==e)}else n===null&&(t.lanes=0);return[A.memoizedState,t.dispatch]}function rh(e){var A=rt(),t=A.queue;if(t===null)throw Error(O(311));t.lastRenderedReducer=e;var r=t.dispatch,n=t.pending,i=A.memoizedState;if(n!==null){t.pending=null;var s=n=n.next;do i=e(i,s.action),s=s.next;while(s!==n);ft(i,A.memoizedState)||(Le=!0),A.memoizedState=i,A.baseQueue===null&&(A.baseState=i),t.lastRenderedState=i}return[i,r]}function ov(){}function av(e,A){var t=HA,r=rt(),n=A(),i=!ft(r.memoizedState,n);if(i&&(r.memoizedState=n,Le=!0),r=r.queue,sg(cv.bind(null,t,r,e),[e]),r.getSnapshot!==A||i||ZA!==null&&ZA.memoizedState.tag&1){if(t.flags|=2048,ho(9,uv.bind(null,t,r,n,A),void 0,null),Ae===null)throw Error(O(349));Bn&30||lv(t,A,n)}return n}function lv(e,A,t){e.flags|=16384,e={getSnapshot:A,value:t},A=HA.updateQueue,A===null?(A={lastEffect:null,stores:null},HA.updateQueue=A,A.stores=[e]):(t=A.stores,t===null?A.stores=[e]:t.push(e))}function uv(e,A,t,r){A.value=t,A.getSnapshot=r,hv(A)&&fv(e)}function cv(e,A,t){return t(function(){hv(A)&&fv(e)})}function hv(e){var A=e.getSnapshot;e=e.value;try{var t=A();return!ft(e,t)}catch{return!0}}function fv(e){var A=jt(e,1);A!==null&&ht(A,e,1,-1)}function im(e){var A=mt();return typeof e=="function"&&(e=e()),A.memoizedState=A.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:co,lastRenderedState:e},A.queue=e,e=e.dispatch=MU.bind(null,HA,e),[A.memoizedState,e]}function ho(e,A,t,r){return e={tag:e,create:A,destroy:t,deps:r,next:null},A=HA.updateQueue,A===null?(A={lastEffect:null,stores:null},HA.updateQueue=A,A.lastEffect=e.next=e):(t=A.lastEffect,t===null?A.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,A.lastEffect=e)),e}function dv(){return rt().memoizedState}function ul(e,A,t,r){var n=mt();HA.flags|=e,n.memoizedState=ho(1|A,t,void 0,r===void 0?null:r)}function Ru(e,A,t,r){var n=rt();r=r===void 0?null:r;var i=void 0;if(zA!==null){var s=zA.memoizedState;if(i=s.destroy,r!==null&&rg(r,s.deps)){n.memoizedState=ho(A,t,i,r);return}}HA.flags|=e,n.memoizedState=ho(1|A,t,i,r)}function sm(e,A){return ul(8390656,8,e,A)}function sg(e,A){return Ru(2048,8,e,A)}
vendor: 8,602 bytes, lines 38-40
38function gv(e,A){return Ru(4,2,e,A)}function pv(e,A){return Ru(4,4,e,A)}function Bv(e,A){if(typeof A=="function")return e=e(),A(e),function(){A(null)};if(A!=null)return e=e(),A.current=e,function(){A.current=null}}function mv(e,A,t){return t=t!=null?t.concat([e]):null,Ru(4,4,Bv.bind(null,A,e),t)}function og(){}function wv(e,A){var t=rt();A=A===void 0?null:A;var r=t.memoizedState;return r!==null&&A!==null&&rg(A,r[1])?r[0]:(t.memoizedState=[e,A],e)}function yv(e,A){var t=rt();A=A===void 0?null:A;var r=t.memoizedState;return r!==null&&A!==null&&rg(A,r[1])?r[0]:(e=e(),t.memoizedState=[e,A],e)}function vv(e,A,t){return Bn&21?(ft(t,A)||(t=Iy(),HA.lanes|=t,mn|=t,e.baseState=!0),A):(e.baseState&&(e.baseState=!1,Le=!0),e.memoizedState=t)}function bU(e,A){var t=pA;pA=t!==0&&4>t?t:4,e(!0);var r=eh.transition;eh.transition={};try{e(!1),A()}finally{pA=t,eh.transition=r}}function Cv(){return rt().memoizedState}function VU(e,A,t){var r=Sr(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Ev(e))Qv(A,t);else if(t=nv(e,A,t,r),t!==null){var n=Fe();ht(t,e,r,n),_v(t,A,r)}}function MU(e,A,t){var r=Sr(e),n={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Ev(e))Qv(A,n);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=A.lastRenderedReducer,i!==null))try{var s=A.lastRenderedState,a=i(s,t);if(n.hasEagerState=!0,n.eagerState=a,ft(a,s)){var l=A.interleaved;l===null?(n.next=n,qd(A)):(n.next=l.next,l.next=n),A.interleaved=n;return}}catch{}finally{}t=nv(e,A,n,r),t!==null&&(n=Fe(),ht(t,e,r,n),_v(t,A,r))}}function Ev(e){var A=e.alternate;return e===HA||A!==null&&A===HA}function Qv(e,A){ks=Wl=!0;var t=e.pending;t===null?A.next=A:(A.next=t.next,t.next=A),e.pending=A}function _v(e,A,t){if(t&4194240){var r=A.lanes;r&=e.pendingLanes,t|=r,A.lanes=t,Od(e,t)}}var jl={readContext:tt,useCallback:de,useContext:de,useEffect:de,useImperativeHandle:de,useInsertionEffect:de,useLayoutEffect:de,useMemo:de,useReducer:de,useRef:de,useState:de,useDebugValue:de,useDeferredValue:de,useTransition:de,useMutableSource:de,useSyncExternalStore:de,useId:de,unstable_isNewReconciler:!1},KU={readContext:tt,useCallback:function(e,A){return mt().memoizedState=[e,A===void 0?null:A],e},useContext:tt,useEffect:sm,useImperativeHandle:function(e,A,t){return t=t!=null?t.concat([e]):null,ul(4194308,4,Bv.bind(null,A,e),t)},useLayoutEffect:function(e,A){return ul(4194308,4,e,A)},useInsertionEffect:function(e,A){return ul(4,2,e,A)},useMemo:function(e,A){var t=mt();return A=A===void 0?null:A,e=e(),t.memoizedState=[e,A],e},useReducer:function(e,A,t){var r=mt();return A=t!==void 0?t(A):A,r.memoizedState=r.baseState=A,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:A},r.queue=e,e=e.dispatch=VU.bind(null,HA,e),[r.memoizedState,e]},useRef:function(e){var A=mt();return e={current:e},A.memoizedState=e},useState:im,useDebugValue:og,useDeferredValue:function(e){return mt().memoizedState=e},useTransition:function(){var e=im(!1),A=e[0];return e=bU.bind(null,e[1]),mt().memoizedState=e,[A,e]},useMutableSource:function(){},useSyncExternalStore:function(e,A,t){var r=HA,n=mt();if(TA){if(t===void 0)throw Error(O(407));t=t()}else{if(t=A(),Ae===null)throw Error(O(349));Bn&30||lv(r,A,t)}n.memoizedState=t;var i={value:t,getSnapshot:A};return n.queue=i,sm(cv.bind(null,r,i,e),[e]),r.flags|=2048,ho(9,uv.bind(null,r,i,t,A),void 0,null),t},useId:function(){var e=mt(),A=Ae.identifierPrefix;if(TA){var t=Pt,r=xt;t=(r&~(1<<32-ct(r)-1)).toString(32)+t,A=":"+A+"R"+t,t=uo++,0<t&&(A+="H"+t.toString(32)),A+=":"}else t=NU++,A=":"+A+"r"+t.toString(32)+":";return e.memoizedState=A},unstable_isNewReconciler:!1},GU={readContext:tt,useCallback:wv,useContext:tt,useEffect:sg,useImperativeHandle:mv,useInsertionEffect:gv,useLayoutEffect:pv,useMemo:yv,useReducer:th,useRef:dv,useState:function(){return th(co)},useDebugValue:og,useDeferredValue:function(e){var A=rt();return vv(A,zA.memoizedState,e)},useTransition:function(){var e=th(co)[0],A=rt().memoizedState;return[e,A]},useMutableSource:ov,useSyncExternalStore:av,useId:Cv,unstable_isNewReconciler:!1},WU={readContext:tt,useCallback:wv,useContext:tt,useEffect:sg,useImperativeHandle:mv,useInsertionEffect:gv,useLayoutEffect:pv,useMemo:yv,useReducer:rh,useRef:dv,useState:function(){return rh(co)},useDebugValue:og,useDeferredValue:function(e){var A=rt();return zA===null?A.memoizedState=e:vv(A,zA.memoizedState,e)},useTransition:function(){var e=rh(co)[0],A=rt().memoizedState;return[e,A]},useMutableSource:ov,useSyncExternalStore:av,useId:Cv,unstable_isNewReconciler:!1};function ot(e,A){if(e&&e.defaultProps){A=LA({},A),e=e.defaultProps;for(var t in e)A[t]===void 0&&(A[t]=e[t]);return A}return A}function mf(e,A,t,r){A=e.memoizedState,t=t(r,A),t=t==null?A:LA({},A,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var Hu={isMounted:function(e){return(e=e._reactInternals)?Un(e)===e:!1},enqueueSetState:function(e,A,t){e=e._reactInternals;var r=Fe(),n=Sr(e),i=Vt(r,n);i.payload=A,t!=null&&(i.callback=t),A=Fr(e,i,n),A!==null&&(ht(A,e,n,r),al(A,e,n))},enqueueReplaceState:function(e,A,t){e=e._reactInternals;var r=Fe(),n=Sr(e),i=Vt(r,n);i.tag=1,i.payload=A,t!=null&&(i.callback=t),A=Fr(e,i,n),A!==null&&(ht(A,e,n,r),al(A,e,n))},enqueueForceUpdate:function(e,A){e=e._reactInternals;var t=Fe(),r=Sr(e),n=Vt(t,r);n.tag=2,A!=null&&(n.callback=A),A=Fr(e,n,r),A!==null&&(ht(A,e,r,t),al(A,e,r))}};function om(e,A,t,r,n,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):A.prototype&&A.prototype.isPureReactComponent?!no(t,r)||!no(n,i):!0}function Iv(e,A,t){var r=!1,n=Vr,i=A.contextType;return typeof i=="object"&&i!==null?i=tt(i):(n=xe(A)?gn:Ce.current,r=A.contextTypes,i=(r=r!=null)?wi(e,n):Vr),A=new A(t,i),e.memoizedState=A.state!==null&&A.state!==void 0?A.state:null,A.updater=Hu,e.stateNode=A,A._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=i),A}function am(e,A,t,r){e=A.state,typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps(t,r),typeof A.UNSAFE_componentWillReceiveProps=="function"&&A.UNSAFE_componentWillReceiveProps(t,r),A.state!==e&&Hu.enqueueReplaceState(A,A.state,null)}function wf(e,A,t,r){var n=e.stateNode;n.props=t,n.state=e.memoizedState,n.refs={},Zd(e);var i=A.contextType;typeof i=="object"&&i!==null?n.context=tt(i):(i=xe(A)?gn:Ce.current,n.context=wi(e,i)),n.state=e.memoizedState,i=A.getDerivedStateFromProps,typeof i=="function"&&(mf(e,A,i,t),n.state=e.memoizedState),typeof A.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(A=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),A!==n.state&&Hu.enqueueReplaceState(n,n.state,null),Kl(e,t,n,r),n.state=e.memoizedState),typeof n.componentDidMount=="function"&&(e.flags|=4194308)}function Ei(e,A){try{var t="",r=A;do t+=wI(r),r=r.return;while(r);var n=t}catch(i){n=` 39Error generating stack: `+i.message+` 40`+i.stack}return{value:e,source:A,stack:n,digest:null}}function nh(e,A,t){return{value:e,source:null,stack:t??null,digest:A??null}}function yf(e,A){try{console.error(A.value)}catch(t){setTimeout(function(){throw t})}}var jU=typeof WeakMap=="function"?WeakMap:Map;function Uv(e,A,t){t=Vt(-1,t),t.tag=3,t.payload={element:null};var r=A.value;return t.callback=function(){Xl||(Xl=!0,Sf=r),yf(e,A)},t}function Fv(e,A,t){t=Vt(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var n=A.value;t.payload=function(){return r(n)},t.callback=function(){yf(e,A)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){yf(e,A),typeof r!="function"&&(Tr===null?Tr=new Set([this]):Tr.add(this));var s=A.stack;this.componentDidCatch(A.value,{componentStack:s!==null?s:""})}),t}function lm(e,A,t){var r=e.pingCache;if(r===null){r=e.pingCache=new jU;var n=new Set;r.set(A,n)}else n=r.get(A),n===void 0&&(n=new Set,r.set(A,n));n.has(t)||(n.add(t),e=sF.bind(null,e,A,t),A.then(e,e))}function um(e){do{var A;if((A=e.tag===13)&&(A=e.memoizedState,A=A!==null?A.dehydrated!==null:!0),A)return e;e=e.return}while(e!==null);return null}function cm(e,A,t,r,n){return e.mode&1?(e.flags|=65536,e.lanes=n,e):(e===A?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(A=Vt(-1,1),A.tag=2,Fr(t,A,1))),t.lanes|=1),e)}var zU=Ar.ReactCurrentOwner,Le=!1;
vendor: 10,137 bytes, line 40
40function Ue(e,A,t,r){A.child=e===null?rv(A,null,t,r):vi(A,e.child,t,r)}function hm(e,A,t,r,n){t=t.render;var i=A.ref;return ci(A,n),r=ng(e,A,t,r,i,n),t=ig(),e!==null&&!Le?(A.updateQueue=e.updateQueue,A.flags&=-2053,e.lanes&=~n,zt(e,A,n)):(TA&&t&&jd(A),A.flags|=1,Ue(e,A,r,n),A.child)}function fm(e,A,t,r,n){if(e===null){var i=t.type;return typeof i=="function"&&!gg(i)&&i.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(A.tag=15,A.type=i,Tv(e,A,i,r,n)):(e=dl(t.type,null,r,A,A.mode,n),e.ref=A.ref,e.return=A,A.child=e)}if(i=e.child,!(e.lanes&n)){var s=i.memoizedProps;if(t=t.compare,t=t!==null?t:no,t(s,r)&&e.ref===A.ref)return zt(e,A,n)}return A.flags|=1,e=Rr(i,r),e.ref=A.ref,e.return=A,A.child=e}function Tv(e,A,t,r,n){if(e!==null){var i=e.memoizedProps;if(no(i,r)&&e.ref===A.ref)if(Le=!1,A.pendingProps=r=i,(e.lanes&n)!==0)e.flags&131072&&(Le=!0);else return A.lanes=e.lanes,zt(e,A,n)}return vf(e,A,t,r,n)}function Sv(e,A,t){var r=A.pendingProps,n=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(A.mode&1))A.memoizedState={baseLanes:0,cachePool:null,transitions:null},CA(ni,Ne),Ne|=t;else{if(!(t&1073741824))return e=i!==null?i.baseLanes|t:t,A.lanes=A.childLanes=1073741824,A.memoizedState={baseLanes:e,cachePool:null,transitions:null},A.updateQueue=null,CA(ni,Ne),Ne|=e,null;A.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:t,CA(ni,Ne),Ne|=r}else i!==null?(r=i.baseLanes|t,A.memoizedState=null):r=t,CA(ni,Ne),Ne|=r;return Ue(e,A,n,t),A.child}function Rv(e,A){var t=A.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(A.flags|=512,A.flags|=2097152)}function vf(e,A,t,r,n){var i=xe(t)?gn:Ce.current;return i=wi(A,i),ci(A,n),t=ng(e,A,t,r,i,n),r=ig(),e!==null&&!Le?(A.updateQueue=e.updateQueue,A.flags&=-2053,e.lanes&=~n,zt(e,A,n)):(TA&&r&&jd(A),A.flags|=1,Ue(e,A,t,n),A.child)}function dm(e,A,t,r,n){if(xe(t)){var i=!0;Ol(A)}else i=!1;if(ci(A,n),A.stateNode===null)cl(e,A),Iv(A,t,r),wf(A,t,r,n),r=!0;else if(e===null){var s=A.stateNode,a=A.memoizedProps;s.props=a;var l=s.context,u=t.contextType;typeof u=="object"&&u!==null?u=tt(u):(u=xe(t)?gn:Ce.current,u=wi(A,u));var h=t.getDerivedStateFromProps,d=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&am(A,s,r,u),ur=!1;var g=A.memoizedState;s.state=g,Kl(A,r,s,n),l=A.memoizedState,a!==r||g!==l||De.current||ur?(typeof h=="function"&&(mf(A,t,h,r),l=A.memoizedState),(a=ur||om(A,t,a,r,g,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(A.flags|=4194308)):(typeof s.componentDidMount=="function"&&(A.flags|=4194308),A.memoizedProps=r,A.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(A.flags|=4194308),r=!1)}else{s=A.stateNode,iv(e,A),a=A.memoizedProps,u=A.type===A.elementType?a:ot(A.type,a),s.props=u,d=A.pendingProps,g=s.context,l=t.contextType,typeof l=="object"&&l!==null?l=tt(l):(l=xe(t)?gn:Ce.current,l=wi(A,l));var E=t.getDerivedStateFromProps;(h=typeof E=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||g!==l)&&am(A,s,r,l),ur=!1,g=A.memoizedState,s.state=g,Kl(A,r,s,n);var _=A.memoizedState;a!==d||g!==_||De.current||ur?(typeof E=="function"&&(mf(A,t,E,r),_=A.memoizedState),(u=ur||om(A,t,u,r,g,_,l)||!1)?(h||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,_,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,_,l)),typeof s.componentDidUpdate=="function"&&(A.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(A.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(A.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(A.flags|=1024),A.memoizedProps=r,A.memoizedState=_),s.props=r,s.state=_,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(A.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&g===e.memoizedState||(A.flags|=1024),r=!1)}return Cf(e,A,t,r,i,n)}function Cf(e,A,t,r,n,i){Rv(e,A);var s=(A.flags&128)!==0;if(!r&&!s)return n&&ZB(A,t,!1),zt(e,A,i);r=A.stateNode,zU.current=A;var a=s&&typeof t.getDerivedStateFromError!="function"?null:r.render();return A.flags|=1,e!==null&&s?(A.child=vi(A,e.child,null,i),A.child=vi(A,null,a,i)):Ue(e,A,a,i),A.memoizedState=r.state,n&&ZB(A,t,!0),A.child}function Hv(e){var A=e.stateNode;A.pendingContext?qB(e,A.pendingContext,A.pendingContext!==A.context):A.context&&qB(e,A.context,!1),Ag(e,A.containerInfo)}function gm(e,A,t,r,n){return yi(),Xd(n),A.flags|=256,Ue(e,A,t,r),A.child}var Ef={dehydrated:null,treeContext:null,retryLane:0};function Qf(e){return{baseLanes:e,cachePool:null,transitions:null}}function Lv(e,A,t){var r=A.pendingProps,n=RA.current,i=!1,s=(A.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(n&2)!==0),a?(i=!0,A.flags&=-129):(e===null||e.memoizedState!==null)&&(n|=1),CA(RA,n&1),e===null)return pf(A),e=A.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(A.mode&1?e.data==="$!"?A.lanes=8:A.lanes=1073741824:A.lanes=1,null):(s=r.children,e=r.fallback,i?(r=A.mode,i=A.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=xu(s,r,0,null),e=cn(e,r,t,null),i.return=A,e.return=A,i.sibling=e,A.child=i,A.child.memoizedState=Qf(t),A.memoizedState=Ef,e):ag(A,s));if(n=e.memoizedState,n!==null&&(a=n.dehydrated,a!==null))return XU(e,A,s,r,a,n,t);if(i){i=r.fallback,s=A.mode,n=e.child,a=n.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&A.child!==n?(r=A.child,r.childLanes=0,r.pendingProps=l,A.deletions=null):(r=Rr(n,l),r.subtreeFlags=n.subtreeFlags&14680064),a!==null?i=Rr(a,i):(i=cn(i,s,t,null),i.flags|=2),i.return=A,r.return=A,r.sibling=i,A.child=r,r=i,i=A.child,s=e.child.memoizedState,s=s===null?Qf(t):{baseLanes:s.baseLanes|t,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~t,A.memoizedState=Ef,r}return i=e.child,e=i.sibling,r=Rr(i,{mode:"visible",children:r.children}),!(A.mode&1)&&(r.lanes=t),r.return=A,r.sibling=null,e!==null&&(t=A.deletions,t===null?(A.deletions=[e],A.flags|=16):t.push(e)),A.child=r,A.memoizedState=null,r}function ag(e,A){return A=xu({mode:"visible",children:A},e.mode,0,null),A.return=e,e.child=A}function Qa(e,A,t,r){return r!==null&&Xd(r),vi(A,e.child,null,t),e=ag(A,A.pendingProps.children),e.flags|=2,A.memoizedState=null,e}function XU(e,A,t,r,n,i,s){if(t)return A.flags&256?(A.flags&=-257,r=nh(Error(O(422))),Qa(e,A,s,r)):A.memoizedState!==null?(A.child=e.child,A.flags|=128,null):(i=r.fallback,n=A.mode,r=xu({mode:"visible",children:r.children},n,0,null),i=cn(i,n,s,null),i.flags|=2,r.return=A,i.return=A,r.sibling=i,A.child=r,A.mode&1&&vi(A,e.child,null,s),A.child.memoizedState=Qf(s),A.memoizedState=Ef,i);if(!(A.mode&1))return Qa(e,A,s,null);if(n.data==="$!"){if(r=n.nextSibling&&n.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(O(419)),r=nh(i,r,void 0),Qa(e,A,s,r)}if(a=(s&e.childLanes)!==0,Le||a){if(r=Ae,r!==null){switch(s&-s){case 4:n=2;break;case 16:n=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:n=32;break;case 536870912:n=268435456;break;default:n=0}n=n&(r.suspendedLanes|s)?0:n,n!==0&&n!==i.retryLane&&(i.retryLane=n,jt(e,n),ht(r,e,n,-1))}return dg(),r=nh(Error(O(421))),Qa(e,A,s,r)}return n.data==="$?"?(A.flags|=128,A.child=e.child,A=oF.bind(null,e),n._reactRetry=A,null):(e=i.treeContext,be=Ur(n.nextSibling),Ve=A,TA=!0,lt=null,e!==null&&(ze[Xe++]=xt,ze[Xe++]=Pt,ze[Xe++]=pn,xt=e.id,Pt=e.overflow,pn=A),A=ag(A,r.children),A.flags|=4096,A)}function pm(e,A,t){e.lanes|=A;var r=e.alternate;r!==null&&(r.lanes|=A),Bf(e.return,A,t)}function ih(e,A,t,r,n){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:A,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:n}:(i.isBackwards=A,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=t,i.tailMode=n)}function Dv(e,A,t){var r=A.pendingProps,n=r.revealOrder,i=r.tail;if(Ue(e,A,r.children,t),r=RA.current,r&2)r=r&1|2,A.flags|=128;else{if(e!==null&&e.flags&128)A:for(e=A.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&pm(e,t,A);else if(e.tag===19)pm(e,t,A);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===A)break A;for(;e.sibling===null;){if(e.return===null||e.return===A)break A;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(CA(RA,r),!(A.mode&1))A.memoizedState=null;else switch(n){case"forwards":for(t=A.child,n=null;t!==null;)e=t.alternate,e!==null&&Gl(e)===null&&(n=t),t=t.sibling;t=n,t===null?(n=A.child,A.child=null):(n=t.sibling,t.sibling=null),ih(A,!1,n,t,i);break;case"backwards":for(t=null,n=A.child,A.child=null;n!==null;){if(e=n.alternate,e!==null&&Gl(e)===null){A.child=n;break}e=n.sibling,n.sibling=t,t=n,n=e}ih(A,!0,t,null,i);break;case"together":ih(A,!1,null,null,void 0);break;default:A.memoizedState=null}return A.child}function cl(e,A){!(A.mode&1)&&e!==null&&(e.alternate=null,A.alternate=null,A.flags|=2)}function zt(e,A,t){if(e!==null&&(A.dependencies=e.dependencies),mn|=A.lanes,!(t&A.childLanes))return null;if(e!==null&&A.child!==e.child)throw Error(O(153));if(A.child!==null){for(e=A.child,t=Rr(e,e.pendingProps),A.child=t,t.return=A;e.sibling!==null;)e=e.sibling,t=t.sibling=Rr(e,e.pendingProps),t.return=A;t.sibling=null}return A.child}function JU(e,A,t){switch(A.tag){case 3:Hv(A),yi();break;case 5:sv(A);break;case 1:xe(A.type)&&Ol(A);break;case 4:Ag(A,A.stateNode.containerInfo);break;
vendor: 4,413 bytes, line 40
40case 10:var r=A.type._context,n=A.memoizedProps.value;CA(Vl,r._currentValue),r._currentValue=n;break;case 13:if(r=A.memoizedState,r!==null)return r.dehydrated!==null?(CA(RA,RA.current&1),A.flags|=128,null):t&A.child.childLanes?Lv(e,A,t):(CA(RA,RA.current&1),e=zt(e,A,t),e!==null?e.sibling:null);CA(RA,RA.current&1);break;case 19:if(r=(t&A.childLanes)!==0,e.flags&128){if(r)return Dv(e,A,t);A.flags|=128}if(n=A.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),CA(RA,RA.current),r)break;return null;case 22:case 23:return A.lanes=0,Sv(e,A,t)}return zt(e,A,t)}var xv,_f,Pv,kv;xv=function(e,A){for(var t=A.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===A)break;for(;t.sibling===null;){if(t.return===null||t.return===A)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};_f=function(){};Pv=function(e,A,t,r){var n=e.memoizedProps;if(n!==r){e=A.stateNode,on(vt.current);var i=null;switch(t){case"input":n=jh(e,n),r=jh(e,r),i=[];break;case"select":n=LA({},n,{value:void 0}),r=LA({},r,{value:void 0}),i=[];break;case"textarea":n=Jh(e,n),r=Jh(e,r),i=[];break;default:typeof n.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Pl)}Yh(t,r);var s;t=null;for(u in n)if(!r.hasOwnProperty(u)&&n.hasOwnProperty(u)&&n[u]!=null)if(u==="style"){var a=n[u];for(s in a)a.hasOwnProperty(s)&&(t||(t={}),t[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ys.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=n!=null?n[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(t||(t={}),t[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(t||(t={}),t[s]=l[s])}else t||(i||(i=[]),i.push(u,t)),t=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ys.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&_A("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}t&&(i=i||[]).push("style",t);var u=i;(A.updateQueue=u)&&(A.flags|=4)}};kv=function(e,A,t,r){t!==r&&(A.flags|=4)};function us(e,A){if(!TA)switch(e.tailMode){case"hidden":A=e.tail;for(var t=null;A!==null;)A.alternate!==null&&(t=A),A=A.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?A||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ge(e){var A=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(A)for(var n=e.child;n!==null;)t|=n.lanes|n.childLanes,r|=n.subtreeFlags&14680064,r|=n.flags&14680064,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)t|=n.lanes|n.childLanes,r|=n.subtreeFlags,r|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=r,e.childLanes=t,A}function $U(e,A,t){var r=A.pendingProps;switch(zd(A),A.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ge(A),null;case 1:return xe(A.type)&&kl(),ge(A),null;case 3:return r=A.stateNode,Ci(),UA(De),UA(Ce),tg(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ca(A)?A.flags|=4:e===null||e.memoizedState.isDehydrated&&!(A.flags&256)||(A.flags|=1024,lt!==null&&(Lf(lt),lt=null))),_f(e,A),ge(A),null;case 5:eg(A);var n=on(lo.current);if(t=A.type,e!==null&&A.stateNode!=null)Pv(e,A,t,r,n),e.ref!==A.ref&&(A.flags|=512,A.flags|=2097152);else{if(!r){if(A.stateNode===null)throw Error(O(166));return ge(A),null}if(e=on(vt.current),Ca(A)){r=A.stateNode,t=A.type;var i=A.memoizedProps;switch(r[wt]=A,r[oo]=i,e=(A.mode&1)!==0,t){case"dialog":_A("cancel",r),_A("close",r);break;case"iframe":case"object":case"embed":_A("load",r);break;case"video":case"audio":for(n=0;n<vs.length;n++)_A(vs[n],r);break;case"source":_A("error",r);break;case"img":case"image":case"link":_A("error",r),_A("load",r);break;case"details":_A("toggle",r);break;case"input":_B(r,i),_A("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},_A("invalid",r);break;case"textarea":UB(r,i),_A("invalid",r)}Yh(t,i),n=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];
vendor: 14,313 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&va(r.textContent,a,e),n=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&va(r.textContent,a,e),n=["children",""+a]):Ys.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&_A("scroll",r)}switch(t){case"input":fa(r),IB(r,i,!0);break;case"textarea":fa(r),FB(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Pl)}r=n,A.updateQueue=r,r!==null&&(A.flags|=4)}else{s=n.nodeType===9?n:n.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=cy(t)),e==="http://www.w3.org/1999/xhtml"?t==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(t,{is:r.is}):(e=s.createElement(t),t==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,t),e[wt]=A,e[oo]=r,xv(e,A,!1,!1),A.stateNode=e;A:{switch(s=qh(t,r),t){case"dialog":_A("cancel",e),_A("close",e),n=r;break;case"iframe":case"object":case"embed":_A("load",e),n=r;break;case"video":case"audio":for(n=0;n<vs.length;n++)_A(vs[n],e);n=r;break;case"source":_A("error",e),n=r;break;case"img":case"image":case"link":_A("error",e),_A("load",e),n=r;break;case"details":_A("toggle",e),n=r;break;case"input":_B(e,r),n=jh(e,r),_A("invalid",e);break;case"option":n=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},n=LA({},r,{value:void 0}),_A("invalid",e);break;case"textarea":UB(e,r),n=Jh(e,r),_A("invalid",e);break;default:n=r}Yh(t,n),a=n;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?dy(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&hy(e,l)):i==="children"?typeof l=="string"?(t!=="textarea"||l!=="")&&qs(e,l):typeof l=="number"&&qs(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Ys.hasOwnProperty(i)?l!=null&&i==="onScroll"&&_A("scroll",e):l!=null&&Hd(e,i,l,s))}switch(t){case"input":fa(e),IB(e,r,!1);break;case"textarea":fa(e),FB(e);break;case"option":r.value!=null&&e.setAttribute("value",""+br(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?oi(e,!!r.multiple,i,!1):r.defaultValue!=null&&oi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof n.onClick=="function"&&(e.onclick=Pl)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break A;case"img":r=!0;break A;default:r=!1}}r&&(A.flags|=4)}A.ref!==null&&(A.flags|=512,A.flags|=2097152)}return ge(A),null;case 6:if(e&&A.stateNode!=null)kv(e,A,e.memoizedProps,r);else{if(typeof r!="string"&&A.stateNode===null)throw Error(O(166));if(t=on(lo.current),on(vt.current),Ca(A)){if(r=A.stateNode,t=A.memoizedProps,r[wt]=A,(i=r.nodeValue!==t)&&(e=Ve,e!==null))switch(e.tag){case 3:va(r.nodeValue,t,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&va(r.nodeValue,t,(e.mode&1)!==0)}i&&(A.flags|=4)}else r=(t.nodeType===9?t:t.ownerDocument).createTextNode(r),r[wt]=A,A.stateNode=r}return ge(A),null;case 13:if(UA(RA),r=A.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(TA&&be!==null&&A.mode&1&&!(A.flags&128))ev(),yi(),A.flags|=98560,i=!1;else if(i=Ca(A),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(O(318));if(i=A.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(O(317));i[wt]=A}else yi(),!(A.flags&128)&&(A.memoizedState=null),A.flags|=4;ge(A),i=!1}else lt!==null&&(Lf(lt),lt=null),i=!0;if(!i)return A.flags&65536?A:null}return A.flags&128?(A.lanes=t,A):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(A.child.flags|=8192,A.mode&1&&(e===null||RA.current&1?JA===0&&(JA=3):dg())),A.updateQueue!==null&&(A.flags|=4),ge(A),null);case 4:return Ci(),_f(e,A),e===null&&io(A.stateNode.containerInfo),ge(A),null;case 10:return Yd(A.type._context),ge(A),null;case 17:return xe(A.type)&&kl(),ge(A),null;case 19:if(UA(RA),i=A.memoizedState,i===null)return ge(A),null;if(r=(A.flags&128)!==0,s=i.rendering,s===null)if(r)us(i,!1);else{if(JA!==0||e!==null&&e.flags&128)for(e=A.child;e!==null;){if(s=Gl(e),s!==null){for(A.flags|=128,us(i,!1),r=s.updateQueue,r!==null&&(A.updateQueue=r,A.flags|=4),A.subtreeFlags=0,r=t,t=A.child;t!==null;)i=t,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return CA(RA,RA.current&1|2),A.child}e=e.sibling}i.tail!==null&&VA()>Qi&&(A.flags|=128,r=!0,us(i,!1),A.lanes=4194304)}else{if(!r)if(e=Gl(s),e!==null){if(A.flags|=128,r=!0,t=e.updateQueue,t!==null&&(A.updateQueue=t,A.flags|=4),us(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!TA)return ge(A),null}else 2*VA()-i.renderingStartTime>Qi&&t!==1073741824&&(A.flags|=128,r=!0,us(i,!1),A.lanes=4194304);i.isBackwards?(s.sibling=A.child,A.child=s):(t=i.last,t!==null?t.sibling=s:A.child=s,i.last=s)}return i.tail!==null?(A=i.tail,i.rendering=A,i.tail=A.sibling,i.renderingStartTime=VA(),A.sibling=null,t=RA.current,CA(RA,r?t&1|2:t&1),A):(ge(A),null);case 22:case 23:return fg(),r=A.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(A.flags|=8192),r&&A.mode&1?Ne&1073741824&&(ge(A),A.subtreeFlags&6&&(A.flags|=8192)):ge(A),null;case 24:return null;case 25:return null}throw Error(O(156,A.tag))}function YU(e,A){switch(zd(A),A.tag){case 1:return xe(A.type)&&kl(),e=A.flags,e&65536?(A.flags=e&-65537|128,A):null;case 3:return Ci(),UA(De),UA(Ce),tg(),e=A.flags,e&65536&&!(e&128)?(A.flags=e&-65537|128,A):null;case 5:return eg(A),null;case 13:if(UA(RA),e=A.memoizedState,e!==null&&e.dehydrated!==null){if(A.alternate===null)throw Error(O(340));yi()}return e=A.flags,e&65536?(A.flags=e&-65537|128,A):null;case 19:return UA(RA),null;case 4:return Ci(),null;case 10:return Yd(A.type._context),null;case 22:case 23:return fg(),null;case 24:return null;default:return null}}var _a=!1,ye=!1,qU=typeof WeakSet=="function"?WeakSet:Set,G=null;function ri(e,A){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){PA(e,A,r)}else t.current=null}function If(e,A,t){try{t()}catch(r){PA(e,A,r)}}var Bm=!1;function ZU(e,A){if(lf=Ll,e=My(),Wd(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else A:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var n=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break A}var s=0,a=-1,l=-1,u=0,h=0,d=e,g=null;e:for(;;){for(var E;d!==t||n!==0&&d.nodeType!==3||(a=s+n),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(E=d.firstChild)!==null;)g=d,d=E;for(;;){if(d===e)break e;if(g===t&&++u===n&&(a=s),g===i&&++h===r&&(l=s),(E=d.nextSibling)!==null)break;d=g,g=d.parentNode}d=E}t=a===-1||l===-1?null:{start:a,end:l}}else t=null}t=t||{start:0,end:0}}else t=null;for(uf={focusedElem:e,selectionRange:t},Ll=!1,G=A;G!==null;)if(A=G,e=A.child,(A.subtreeFlags&1028)!==0&&e!==null)e.return=A,G=e;else for(;G!==null;){A=G;try{var _=A.alternate;if(A.flags&1024)switch(A.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var F=_.memoizedProps,L=_.memoizedState,v=A.stateNode,m=v.getSnapshotBeforeUpdate(A.elementType===A.type?F:ot(A.type,F),L);v.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var I=A.stateNode.containerInfo;I.nodeType===1?I.textContent="":I.nodeType===9&&I.documentElement&&I.removeChild(I.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(R){PA(A,A.return,R)}if(e=A.sibling,e!==null){e.return=A.return,G=e;break}G=A.return}return _=Bm,Bm=!1,_}function Os(e,A,t){var r=A.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do{if((n.tag&e)===e){var i=n.destroy;n.destroy=void 0,i!==void 0&&If(A,t,i)}n=n.next}while(n!==r)}}function Lu(e,A){if(A=A.updateQueue,A=A!==null?A.lastEffect:null,A!==null){var t=A=A.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==A)}}function Uf(e){var A=e.ref;if(A!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof A=="function"?A(e):A.current=e}}function Ov(e){var A=e.alternate;A!==null&&(e.alternate=null,Ov(A)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(A=e.stateNode,A!==null&&(delete A[wt],delete A[oo],delete A[ff],delete A[xU],delete A[PU])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Nv(e){return e.tag===5||e.tag===3||e.tag===4}function mm(e){A:for(;;){for(;e.sibling===null;){if(e.return===null||Nv(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue A;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ff(e,A,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,A?t.nodeType===8?t.parentNode.insertBefore(e,A):t.insertBefore(e,A):(t.nodeType===8?(A=t.parentNode,A.insertBefore(e,t)):(A=t,A.appendChild(e)),t=t._reactRootContainer,t!=null||A.onclick!==null||(A.onclick=Pl));else if(r!==4&&(e=e.child,e!==null))for(Ff(e,A,t),e=e.sibling;e!==null;)Ff(e,A,t),e=e.sibling}function Tf(e,A,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,A?t.insertBefore(e,A):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Tf(e,A,t),e=e.sibling;e!==null;)Tf(e,A,t),e=e.sibling}var te=null,at=!1;function ir(e,A,t){for(t=t.child;t!==null;)bv(e,A,t),t=t.sibling}function bv(e,A,t){if(yt&&typeof yt.onCommitFiberUnmount=="function")try{yt.onCommitFiberUnmount(_u,t)}catch{}switch(t.tag){case 5:ye||ri(t,A);case 6:var r=te,n=at;te=null,ir(e,A,t),te=r,at=n,te!==null&&(at?(e=te,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):te.removeChild(t.stateNode));break;case 18:te!==null&&(at?(e=te,t=t.stateNode,e.nodeType===8?qc(e.parentNode,t):e.nodeType===1&&qc(e,t),to(e)):qc(te,t.stateNode));break;case 4:r=te,n=at,te=t.stateNode.containerInfo,at=!0,ir(e,A,t),te=r,at=n;break;case 0:case 11:case 14:case 15:if(!ye&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){n=r=r.next;do{var i=n,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&If(t,A,s),n=n.next}while(n!==r)}ir(e,A,t);break;case 1:if(!ye&&(ri(t,A),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(a){PA(t,A,a)}ir(e,A,t);break;case 21:ir(e,A,t);break;case 22:t.mode&1?(ye=(r=ye)||t.memoizedState!==null,ir(e,A,t),ye=r):ir(e,A,t);break;default:ir(e,A,t)}}function wm(e){var A=e.updateQueue;if(A!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new qU),A.forEach(function(r){var n=aF.bind(null,e,r);t.has(r)||(t.add(r),r.then(n,n))})}}function it(e,A){var t=A.deletions;if(t!==null)for(var r=0;r<t.length;r++){var n=t[r];try{var i=e,s=A,a=s;A:for(;a!==null;){switch(a.tag){case 5:te=a.stateNode,at=!1;break A;case 3:te=a.stateNode.containerInfo,at=!0;break A;case 4:te=a.stateNode.containerInfo,at=!0;break A}a=a.return}if(te===null)throw Error(O(160));bv(i,s,n),te=null,at=!1;var l=n.alternate;l!==null&&(l.return=null),n.return=null}catch(u){PA(n,A,u)}}if(A.subtreeFlags&12854)for(A=A.child;A!==null;)Vv(A,e),A=A.sibling}function Vv(e,A){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(it(A,e),pt(e),r&4){try{Os(3,e,e.return),Lu(3,e)}catch(F){PA(e,e.return,F)}try{Os(5,e,e.return)}catch(F){PA(e,e.return,F)}}break;case 1:it(A,e),pt(e),r&512&&t!==null&&ri(t,t.return);break;case 5:if(it(A,e),pt(e),r&512&&t!==null&&ri(t,t.return),e.flags&32){var n=e.stateNode;try{qs(n,"")}catch(F){PA(e,e.return,F)}}if(r&4&&(n=e.stateNode,n!=null)){var i=e.memoizedProps,s=t!==null?t.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&ly(n,i),qh(a,s);var u=qh(a,i);for(s=0;s<l.length;s+=2){var h=l[s],d=l[s+1];h==="style"?dy(n,d):h==="dangerouslySetInnerHTML"?hy(n,d):h==="children"?qs(n,d):Hd(n,h,d,u)}switch(a){case"input":zh(n,i);break;case"textarea":uy(n,i);break;case"select":var g=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!i.multiple;var E=i.value;E!=null?oi(n,!!i.multiple,E,!1):g!==!!i.multiple&&(i.defaultValue!=null?oi(n,!!i.multiple,i.defaultValue,!0):oi(n,!!i.multiple,i.multiple?[]:"",!1))}n[oo]=i}catch(F){PA(e,e.return,F)}}break;case 6:if(it(A,e),pt(e),r&4){if(e.stateNode===null)throw Error(O(162));n=e.stateNode,i=e.memoizedProps;try{n.nodeValue=i}catch(F){PA(e,e.return,F)}}break;case 3:if(it(A,e),pt(e),r&4&&t!==null&&t.memoizedState.isDehydrated)try{to(A.containerInfo)}catch(F){PA(e,e.return,F)}break;case 4:it(A,e),pt(e);break;case 13:it(A,e),pt(e),n=e.child,n.flags&8192&&(i=n.memoizedState!==null,n.stateNode.isHidden=i,!i||n.alternate!==null&&n.alternate.memoizedState!==null||(cg=VA())),r&4&&wm(e);break;case 22:if(h=t!==null&&t.memoizedState!==null,e.mode&1?(ye=(u=ye)||h,it(A,e),ye=u):it(A,e),pt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!h&&e.mode&1)for(G=e,h=e.child;h!==null;){for(d=G=h;G!==null;){switch(g=G,E=g.child,g.tag){case 0:case 11:case 14:case 15:Os(4,g,g.return);break;case 1:ri(g,g.return);var _=g.stateNode;if(typeof _.componentWillUnmount=="function"){r=g,t=g.return;try{A=r,_.props=A.memoizedProps,_.state=A.memoizedState,_.componentWillUnmount()}catch(F){PA(r,t,F)}}break;case 5:ri(g,g.return);break;case 22:if(g.memoizedState!==null){vm(d);continue}}E!==null?(E.return=g,G=E):vm(d)}h=h.sibling}A:for(h=null,d=e;;){if(d.tag===5){if(h===null){h=d;try{n=d.stateNode,u?(i=n.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=fy("display",s))}catch(F){PA(e,e.return,F)}}}else if(d.tag===6){if(h===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(F){PA(e,e.return,F)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.
vendor: 10,921 bytes, line 40
40child.return=d,d=d.child;continue}if(d===e)break A;for(;d.sibling===null;){if(d.return===null||d.return===e)break A;h===d&&(h=null),d=d.return}h===d&&(h=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:it(A,e),pt(e),r&4&&wm(e);break;case 21:break;default:it(A,e),pt(e)}}function pt(e){var A=e.flags;if(A&2){try{A:{for(var t=e.return;t!==null;){if(Nv(t)){var r=t;break A}t=t.return}throw Error(O(160))}switch(r.tag){case 5:var n=r.stateNode;r.flags&32&&(qs(n,""),r.flags&=-33);var i=mm(e);Tf(e,i,n);break;case 3:case 4:var s=r.stateNode.containerInfo,a=mm(e);Ff(e,a,s);break;default:throw Error(O(161))}}catch(l){PA(e,e.return,l)}e.flags&=-3}A&4096&&(e.flags&=-4097)}function AF(e,A,t){G=e,Mv(e)}function Mv(e,A,t){for(var r=(e.mode&1)!==0;G!==null;){var n=G,i=n.child;if(n.tag===22&&r){var s=n.memoizedState!==null||_a;if(!s){var a=n.alternate,l=a!==null&&a.memoizedState!==null||ye;a=_a;var u=ye;if(_a=s,(ye=l)&&!u)for(G=n;G!==null;)s=G,l=s.child,s.tag===22&&s.memoizedState!==null?Cm(n):l!==null?(l.return=s,G=l):Cm(n);for(;i!==null;)G=i,Mv(i),i=i.sibling;G=n,_a=a,ye=u}ym(e)}else n.subtreeFlags&8772&&i!==null?(i.return=n,G=i):ym(e)}}function ym(e){for(;G!==null;){var A=G;if(A.flags&8772){var t=A.alternate;try{if(A.flags&8772)switch(A.tag){case 0:case 11:case 15:ye||Lu(5,A);break;case 1:var r=A.stateNode;if(A.flags&4&&!ye)if(t===null)r.componentDidMount();else{var n=A.elementType===A.type?t.memoizedProps:ot(A.type,t.memoizedProps);r.componentDidUpdate(n,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=A.updateQueue;i!==null&&nm(A,i,r);break;case 3:var s=A.updateQueue;if(s!==null){if(t=null,A.child!==null)switch(A.child.tag){case 5:t=A.child.stateNode;break;case 1:t=A.child.stateNode}nm(A,s,t)}break;case 5:var a=A.stateNode;if(t===null&&A.flags&4){t=a;var l=A.memoizedProps;switch(A.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&t.focus();break;case"img":l.src&&(t.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(A.memoizedState===null){var u=A.alternate;if(u!==null){var h=u.memoizedState;if(h!==null){var d=h.dehydrated;d!==null&&to(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(O(163))}ye||A.flags&512&&Uf(A)}catch(g){PA(A,A.return,g)}}if(A===e){G=null;break}if(t=A.sibling,t!==null){t.return=A.return,G=t;break}G=A.return}}function vm(e){for(;G!==null;){var A=G;if(A===e){G=null;break}var t=A.sibling;if(t!==null){t.return=A.return,G=t;break}G=A.return}}function Cm(e){for(;G!==null;){var A=G;try{switch(A.tag){case 0:case 11:case 15:var t=A.return;try{Lu(4,A)}catch(l){PA(A,t,l)}break;case 1:var r=A.stateNode;if(typeof r.componentDidMount=="function"){var n=A.return;try{r.componentDidMount()}catch(l){PA(A,n,l)}}var i=A.return;try{Uf(A)}catch(l){PA(A,i,l)}break;case 5:var s=A.return;try{Uf(A)}catch(l){PA(A,s,l)}}}catch(l){PA(A,A.return,l)}if(A===e){G=null;break}var a=A.sibling;if(a!==null){a.return=A.return,G=a;break}G=A.return}}var eF=Math.ceil,zl=Ar.ReactCurrentDispatcher,lg=Ar.ReactCurrentOwner,At=Ar.ReactCurrentBatchConfig,cA=0,Ae=null,GA=null,oe=0,Ne=0,ni=zr(0),JA=0,fo=null,mn=0,Du=0,ug=0,Ns=null,He=null,cg=0,Qi=1/0,Lt=null,Xl=!1,Sf=null,Tr=null,Ia=!1,wr=null,Jl=0,bs=0,Rf=null,hl=-1,fl=0;function Fe(){return cA&6?VA():hl!==-1?hl:hl=VA()}function Sr(e){return e.mode&1?cA&2&&oe!==0?oe&-oe:OU.transition!==null?(fl===0&&(fl=Iy()),fl):(e=pA,e!==0||(e=window.event,e=e===void 0?16:Ly(e.type)),e):1}function ht(e,A,t,r){if(50<bs)throw bs=0,Rf=null,Error(O(185));To(e,t,r),(!(cA&2)||e!==Ae)&&(e===Ae&&(!(cA&2)&&(Du|=t),JA===4&&fr(e,oe)),Pe(e,r),t===1&&cA===0&&!(A.mode&1)&&(Qi=VA()+500,Su&&Xr()))}function Pe(e,A){var t=e.callbackNode;OI(e,A);var r=Hl(e,e===Ae?oe:0);if(r===0)t!==null&&RB(t),e.callbackNode=null,e.callbackPriority=0;else if(A=r&-r,e.callbackPriority!==A){if(t!=null&&RB(t),A===1)e.tag===0?kU(Em.bind(null,e)):qy(Em.bind(null,e)),LU(function(){!(cA&6)&&Xr()}),t=null;else{switch(Uy(r)){case 1:t=kd;break;case 4:t=Qy;break;case 16:t=Rl;break;case 536870912:t=_y;break;default:t=Rl}t=$v(t,Kv.bind(null,e))}e.callbackPriority=A,e.callbackNode=t}}function Kv(e,A){if(hl=-1,fl=0,cA&6)throw Error(O(327));var t=e.callbackNode;if(hi()&&e.callbackNode!==t)return null;var r=Hl(e,e===Ae?oe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||A)A=$l(e,r);else{A=r;var n=cA;cA|=2;var i=Wv();(Ae!==e||oe!==A)&&(Lt=null,Qi=VA()+500,un(e,A));do try{nF();break}catch(a){Gv(e,a)}while(1);$d(),zl.current=i,cA=n,GA!==null?A=0:(Ae=null,oe=0,A=JA)}if(A!==0){if(A===2&&(n=rf(e),n!==0&&(r=n,A=Hf(e,n))),A===1)throw t=fo,un(e,0),fr(e,r),Pe(e,VA()),t;if(A===6)fr(e,r);else{if(n=e.current.alternate,!(r&30)&&!tF(n)&&(A=$l(e,r),A===2&&(i=rf(e),i!==0&&(r=i,A=Hf(e,i))),A===1))throw t=fo,un(e,0),fr(e,r),Pe(e,VA()),t;switch(e.finishedWork=n,e.finishedLanes=r,A){case 0:case 1:throw Error(O(345));case 2:en(e,He,Lt);break;case 3:if(fr(e,r),(r&130023424)===r&&(A=cg+500-VA(),10<A)){if(Hl(e,0)!==0)break;if(n=e.suspendedLanes,(n&r)!==r){Fe(),e.pingedLanes|=e.suspendedLanes&n;break}e.timeoutHandle=hf(en.bind(null,e,He,Lt),A);break}en(e,He,Lt);break;case 4:if(fr(e,r),(r&4194240)===r)break;for(A=e.eventTimes,n=-1;0<r;){var s=31-ct(r);i=1<<s,s=A[s],s>n&&(n=s),r&=~i}if(r=n,r=VA()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*eF(r/1960))-r,10<r){e.timeoutHandle=hf(en.bind(null,e,He,Lt),r);break}en(e,He,Lt);break;case 5:en(e,He,Lt);break;default:throw Error(O(329))}}}return Pe(e,VA()),e.callbackNode===t?Kv.bind(null,e):null}function Hf(e,A){var t=Ns;return e.current.memoizedState.isDehydrated&&(un(e,A).flags|=256),e=$l(e,A),e!==2&&(A=He,He=t,A!==null&&Lf(A)),e}function Lf(e){He===null?He=e:He.push.apply(He,e)}function tF(e){for(var A=e;;){if(A.flags&16384){var t=A.updateQueue;if(t!==null&&(t=t.stores,t!==null))for(var r=0;r<t.length;r++){var n=t[r],i=n.getSnapshot;n=n.value;try{if(!ft(i(),n))return!1}catch{return!1}}}if(t=A.child,A.subtreeFlags&16384&&t!==null)t.return=A,A=t;else{if(A===e)break;for(;A.sibling===null;){if(A.return===null||A.return===e)return!0;A=A.return}A.sibling.return=A.return,A=A.sibling}}return!0}function fr(e,A){for(A&=~ug,A&=~Du,e.suspendedLanes|=A,e.pingedLanes&=~A,e=e.expirationTimes;0<A;){var t=31-ct(A),r=1<<t;e[t]=-1,A&=~r}}function Em(e){if(cA&6)throw Error(O(327));hi();var A=Hl(e,0);if(!(A&1))return Pe(e,VA()),null;var t=$l(e,A);if(e.tag!==0&&t===2){var r=rf(e);r!==0&&(A=r,t=Hf(e,r))}if(t===1)throw t=fo,un(e,0),fr(e,A),Pe(e,VA()),t;if(t===6)throw Error(O(345));return e.finishedWork=e.current.alternate,e.finishedLanes=A,en(e,He,Lt),Pe(e,VA()),null}function hg(e,A){var t=cA;cA|=1;try{return e(A)}finally{cA=t,cA===0&&(Qi=VA()+500,Su&&Xr())}}function wn(e){wr!==null&&wr.tag===0&&!(cA&6)&&hi();var A=cA;cA|=1;var t=At.transition,r=pA;try{if(At.transition=null,pA=1,e)return e()}finally{pA=r,At.transition=t,cA=A,!(cA&6)&&Xr()}}function fg(){Ne=ni.current,UA(ni)}function un(e,A){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(t!==-1&&(e.timeoutHandle=-1,HU(t)),GA!==null)for(t=GA.return;t!==null;){var r=t;switch(zd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&kl();break;case 3:Ci(),UA(De),UA(Ce),tg();break;case 5:eg(r);break;case 4:Ci();break;case 13:UA(RA);break;case 19:UA(RA);break;case 10:Yd(r.type._context);break;case 22:case 23:fg()}t=t.return}if(Ae=e,GA=e=Rr(e.current,null),oe=Ne=A,JA=0,fo=null,ug=Du=mn=0,He=Ns=null,sn!==null){for(A=0;A<sn.length;A++)if(t=sn[A],r=t.interleaved,r!==null){t.interleaved=null;var n=r.next,i=t.pending;if(i!==null){var s=i.next;i.next=n,r.next=s}t.pending=r}sn=null}return e}function Gv(e,A){do{var t=GA;try{if($d(),ll.current=jl,Wl){for(var r=HA.memoizedState;r!==null;){var n=r.queue;n!==null&&(n.pending=null),r=r.next}Wl=!1}if(Bn=0,ZA=zA=HA=null,ks=!1,uo=0,lg.current=null,t===null||t.return===null){JA=1,fo=A,GA=null;break}A:{var i=e,s=t.return,a=t,l=A;if(A=oe,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,h=a,d=h.tag;if(!(h.mode&1)&&(d===0||d===11||d===15)){var g=h.alternate;g?(h.updateQueue=g.updateQueue,h.memoizedState=g.memoizedState,h.lanes=g.lanes):(h.updateQueue=null,h.memoizedState=null)}var E=um(s);if(E!==null){E.flags&=-257,cm(E,s,a,i,A),E.mode&1&&lm(i,u,A),A=E,l=u;var _=A.updateQueue;if(_===null){var F=new Set;F.add(l),A.updateQueue=F}else _.add(l);break A}else{if(!(A&1)){lm(i,u,A),dg();break A}l=Error(O(426))}}else if(TA&&a.mode&1){var L=um(s);if(L!==null){!(L.flags&65536)&&(L.flags|=256),cm(L,s,a,i,A),Xd(Ei(l,a));break A}}i=l=Ei(l,a),JA!==4&&(JA=2),Ns===null?Ns=[i]:Ns.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,A&=-A,i.lanes|=A;var v=Uv(i,l,A);rm(i,v);break A;case 1:a=l;var m=i.type,I=i.stateNode;if(!(i.flags&128)&&(typeof m.getDerivedStateFromError=="function"||I!==null&&typeof I.componentDidCatch=="function"&&(Tr===null||!Tr.has(I)))){i.flags|=65536,A&=-A,i.lanes|=A;var R=Fv(i,a,A);rm(i,R);break A}}i=i.return}while(i!==null)}zv(t)}catch(x){A=x,GA===t&&t!==null&&(GA=t=t.return);continue}break}while(1)}function Wv(){var e=zl.current;return zl.current=jl,e===null?jl:e}function dg(){(JA===0||JA===3||JA===2)&&(JA=4),Ae===null||!(mn&268435455)&&!(Du&268435455)||fr(Ae,oe)}function $l(e,A){var t=cA;cA|=2;var r=Wv();(Ae!==e||oe!==A)&&(Lt=null,un(e,A));do try{rF();break}catch(n){Gv(e,n)}while(1);if($d(),cA=t,zl.current=r,GA!==null)throw Error(O(261));return Ae=null,oe=0,JA}function rF(){for(;GA!==null;)jv(GA)}function nF(){for(;GA!==null&&!TI();)jv(GA)}function jv(e){var A=Jv(e.alternate,e,Ne);e.memoizedProps=e.pendingProps,A===null?zv(e):GA=A,lg.current=null}function zv(e){var A=e;do{var t=A.alternate;if(e=A.return,A.flags&32768){if(t=YU(t,A),t!==null){t.flags&=32767,GA=t;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{JA=6,GA=null;return}}else if(t=$U(t,A,Ne),t!==null){GA=t;return}if(A=A.sibling,A!==null){GA=A;return}GA=A=e}while(A!==null);JA===0&&(JA=5)}function en(e,A,t){var r=pA,n=At.transition;try{At.transition=null,pA=1,iF(e,A,t,r)}finally{At.transition=n,pA=r}return null}function iF(e,A,t,r){do hi();while(wr!==null);if(cA&6)throw Error(O(327));t=e.finishedWork;var n=e.finishedLanes;if(t===null)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(O(177));e.callbackNode=null,e.callbackPriority=0;var i=t.lanes|t.childLanes;if(NI(e,i),e===Ae&&(GA=Ae=null,oe=0),!(t.subtreeFlags&2064)&&!(t.flags&2064)||Ia||(Ia=!0,$v(Rl,function(){return hi(),null})),i=(t.flags&15990)!==0,t.subtreeFlags&15990||i){i=At.transition,At.transition=null;var s=pA;pA=1;var a=cA;cA|=4,lg.current=null,ZU(e,t),Vv(t,e),_U(uf),Ll=!!lf,uf=lf=null,e.current=t,AF(t),SI(),cA=a,pA=s,At.transition=i}else e.current=t;if(Ia&&(Ia=!1,wr=e,Jl=n),i=e.pendingLanes,i===0&&(Tr=null),LI(t.stateNode),Pe(e,VA()),A!==null)for(r=e.onRecoverableError,t=0;t<A.length;t++)n=A[t],r(n.value,{componentStack:n.stack,digest:n.digest});if(Xl)throw Xl=!1,e=Sf,Sf=null,e;return Jl&1&&e.tag!==0&&hi(),i=e.pendingLanes,i&1?e===Rf?bs++:(bs=0,Rf=e):bs=0,Xr(
vendor: 4,724 bytes, line 40
40),null}function hi(){if(wr!==null){var e=Uy(Jl),A=At.transition,t=pA;try{if(At.transition=null,pA=16>e?16:e,wr===null)var r=!1;else{if(e=wr,wr=null,Jl=0,cA&6)throw Error(O(331));var n=cA;for(cA|=4,G=e.current;G!==null;){var i=G,s=i.child;if(G.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(G=u;G!==null;){var h=G;switch(h.tag){case 0:case 11:case 15:Os(8,h,i)}var d=h.child;if(d!==null)d.return=h,G=d;else for(;G!==null;){h=G;var g=h.sibling,E=h.return;if(Ov(h),h===u){G=null;break}if(g!==null){g.return=E,G=g;break}G=E}}}var _=i.alternate;if(_!==null){var F=_.child;if(F!==null){_.child=null;do{var L=F.sibling;F.sibling=null,F=L}while(F!==null)}}G=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,G=s;else A:for(;G!==null;){if(i=G,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Os(9,i,i.return)}var v=i.sibling;if(v!==null){v.return=i.return,G=v;break A}G=i.return}}var m=e.current;for(G=m;G!==null;){s=G;var I=s.child;if(s.subtreeFlags&2064&&I!==null)I.return=s,G=I;else A:for(s=m;G!==null;){if(a=G,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Lu(9,a)}}catch(x){PA(a,a.return,x)}if(a===s){G=null;break A}var R=a.sibling;if(R!==null){R.return=a.return,G=R;break A}G=a.return}}if(cA=n,Xr(),yt&&typeof yt.onPostCommitFiberRoot=="function")try{yt.onPostCommitFiberRoot(_u,e)}catch{}r=!0}return r}finally{pA=t,At.transition=A}}return!1}function Qm(e,A,t){A=Ei(t,A),A=Uv(e,A,1),e=Fr(e,A,1),A=Fe(),e!==null&&(To(e,1,A),Pe(e,A))}function PA(e,A,t){if(e.tag===3)Qm(e,e,t);else for(;A!==null;){if(A.tag===3){Qm(A,e,t);break}else if(A.tag===1){var r=A.stateNode;if(typeof A.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Tr===null||!Tr.has(r))){e=Ei(t,e),e=Fv(A,e,1),A=Fr(A,e,1),e=Fe(),A!==null&&(To(A,1,e),Pe(A,e));break}}A=A.return}}function sF(e,A,t){var r=e.pingCache;r!==null&&r.delete(A),A=Fe(),e.pingedLanes|=e.suspendedLanes&t,Ae===e&&(oe&t)===t&&(JA===4||JA===3&&(oe&130023424)===oe&&500>VA()-cg?un(e,0):ug|=t),Pe(e,A)}function Xv(e,A){A===0&&(e.mode&1?(A=pa,pa<<=1,!(pa&130023424)&&(pa=4194304)):A=1);var t=Fe();e=jt(e,A),e!==null&&(To(e,A,t),Pe(e,t))}function oF(e){var A=e.memoizedState,t=0;A!==null&&(t=A.retryLane),Xv(e,t)}function aF(e,A){var t=0;switch(e.tag){case 13:var r=e.stateNode,n=e.memoizedState;n!==null&&(t=n.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(O(314))}r!==null&&r.delete(A),Xv(e,t)}var Jv;Jv=function(e,A,t){if(e!==null)if(e.memoizedProps!==A.pendingProps||De.current)Le=!0;else{if(!(e.lanes&t)&&!(A.flags&128))return Le=!1,JU(e,A,t);Le=!!(e.flags&131072)}else Le=!1,TA&&A.flags&1048576&&Zy(A,bl,A.index);switch(A.lanes=0,A.tag){case 2:var r=A.type;cl(e,A),e=A.pendingProps;var n=wi(A,Ce.current);ci(A,t),n=ng(null,A,r,e,n,t);var i=ig();return A.flags|=1,typeof n=="object"&&n!==null&&typeof n.render=="function"&&n.$$typeof===void 0?(A.tag=1,A.memoizedState=null,A.updateQueue=null,xe(r)?(i=!0,Ol(A)):i=!1,A.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,Zd(A),n.updater=Hu,A.stateNode=n,n._reactInternals=A,wf(A,r,e,t),A=Cf(null,A,r,!0,i,t)):(A.tag=0,TA&&i&&jd(A),Ue(null,A,n,t),A=A.child),A;case 16:r=A.elementType;A:{switch(cl(e,A),e=A.pendingProps,n=r._init,r=n(r._payload),A.type=r,n=A.tag=uF(r),e=ot(r,e),n){case 0:A=vf(null,A,r,e,t);break A;case 1:A=dm(null,A,r,e,t);break A;case 11:A=hm(null,A,r,e,t);break A;case 14:A=fm(null,A,r,ot(r.type,e),t);break A}throw Error(O(306,r,""))}return A;case 0:return r=A.type,n=A.pendingProps,n=A.elementType===r?n:ot(r,n),vf(e,A,r,n,t);case 1:return r=A.type,n=A.pendingProps,n=A.elementType===r?n:ot(r,n),dm(e,A,r,n,t);case 3:A:{if(Hv(A),e===null)throw Error(O(387));r=A.pendingProps,i=A.memoizedState,n=i.element,iv(e,A),Kl(A,r,null,t);var s=A.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},A.updateQueue.baseState=i,A.memoizedState=i,A.flags&256){n=Ei(Error(O(423)),A),A=gm(e,A,r,t,n);break A}else if(r!==n){n=Ei(Error(O(424)),A),A=gm(e,A,r,t,n);break A}else for(be=Ur(A.stateNode.containerInfo.firstChild),Ve=A,TA=!0,lt=null,t=rv(A,null,r,t),A.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(yi(),r===n){A=zt(e,A,t);break A}Ue(e,A,r,t)}A=A.child}return A;case 5:return sv(A),e===null&&pf(A),r=A.type,n=A.pendingProps,i=e!==null?e.memoizedProps:null,s=n.children,cf(r,n)?s=null:i!==null&&cf(r,i)&&(A.flags|=32),Rv(e,A),Ue(e,A,s,t),A.child;case 6:return e===null&&pf(A),null;case 13:return Lv(e,A,t);case 4:return Ag(A,A.stateNode.containerInfo),r=A.pendingProps,e===null?A.child=vi(A,null,r,t):Ue(e,A,r,t),A.child;case 11:return r=A.type,n=A.pendingProps,n=A.elementType===r?n:ot(r,n),hm(e,A,r,n,t);
vendor: 9,300 bytes, line 40
40case 7:return Ue(e,A,A.pendingProps,t),A.child;case 8:return Ue(e,A,A.pendingProps.children,t),A.child;case 12:return Ue(e,A,A.pendingProps.children,t),A.child;case 10:A:{if(r=A.type._context,n=A.pendingProps,i=A.memoizedProps,s=n.value,CA(Vl,r._currentValue),r._currentValue=s,i!==null)if(ft(i.value,s)){if(i.children===n.children&&!De.current){A=zt(e,A,t);break A}}else for(i=A.child,i!==null&&(i.return=A);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Vt(-1,t&-t),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var h=u.pending;h===null?l.next=l:(l.next=h.next,h.next=l),u.pending=l}}i.lanes|=t,l=i.alternate,l!==null&&(l.lanes|=t),Bf(i.return,t,A),a.lanes|=t;break}l=l.next}}else if(i.tag===10)s=i.type===A.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(O(341));s.lanes|=t,a=s.alternate,a!==null&&(a.lanes|=t),Bf(s,t,A),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===A){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ue(e,A,n.children,t),A=A.child}return A;case 9:return n=A.type,r=A.pendingProps.children,ci(A,t),n=tt(n),r=r(n),A.flags|=1,Ue(e,A,r,t),A.child;case 14:return r=A.type,n=ot(r,A.pendingProps),n=ot(r.type,n),fm(e,A,r,n,t);case 15:return Tv(e,A,A.type,A.pendingProps,t);case 17:return r=A.type,n=A.pendingProps,n=A.elementType===r?n:ot(r,n),cl(e,A),A.tag=1,xe(r)?(e=!0,Ol(A)):e=!1,ci(A,t),Iv(A,r,n),wf(A,r,n,t),Cf(null,A,r,!0,e,t);case 19:return Dv(e,A,t);case 22:return Sv(e,A,t)}throw Error(O(156,A.tag))};function $v(e,A){return Ey(e,A)}function lF(e,A,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=A,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ye(e,A,t,r){return new lF(e,A,t,r)}function gg(e){return e=e.prototype,!(!e||!e.isReactComponent)}function uF(e){if(typeof e=="function")return gg(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Dd)return 11;if(e===xd)return 14}return 2}function Rr(e,A){var t=e.alternate;return t===null?(t=Ye(e.tag,A,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=A,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,A=e.dependencies,t.dependencies=A===null?null:{lanes:A.lanes,firstContext:A.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function dl(e,A,t,r,n,i){var s=2;if(r=e,typeof e=="function")gg(e)&&(s=1);else if(typeof e=="string")s=5;else A:switch(e){case Xn:return cn(t.children,n,i,A);case Ld:s=8,n|=8;break;case Mh:return e=Ye(12,t,A,n|2),e.elementType=Mh,e.lanes=i,e;case Kh:return e=Ye(13,t,A,n),e.elementType=Kh,e.lanes=i,e;case Gh:return e=Ye(19,t,A,n),e.elementType=Gh,e.lanes=i,e;case sy:return xu(t,n,i,A);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ny:s=10;break A;case iy:s=9;break A;case Dd:s=11;break A;case xd:s=14;break A;case lr:s=16,r=null;break A}throw Error(O(130,e==null?e:typeof e,""))}return A=Ye(s,t,A,n),A.elementType=e,A.type=r,A.lanes=i,A}function cn(e,A,t,r){return e=Ye(7,e,r,A),e.lanes=t,e}function xu(e,A,t,r){return e=Ye(22,e,r,A),e.elementType=sy,e.lanes=t,e.stateNode={isHidden:!1},e}function sh(e,A,t){return e=Ye(6,e,null,A),e.lanes=t,e}function oh(e,A,t){return A=Ye(4,e.children!==null?e.children:[],e.key,A),A.lanes=t,A.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},A}function cF(e,A,t,r,n){this.tag=A,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vc(0),this.expirationTimes=Vc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vc(0),this.identifierPrefix=r,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function pg(e,A,t,r,n,i,s,a,l){return e=new cF(e,A,t,a,l),A===1?(A=1,i===!0&&(A|=8)):A=0,i=Ye(3,null,null,A),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zd(i),e}function hF(e,A,t){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:zn,key:r==null?null:""+r,children:e,containerInfo:A,implementation:t}}function Yv(e){if(!e)return Vr;e=e._reactInternals;A:{if(Un(e)!==e||e.tag!==1)throw Error(O(170));var A=e;do{switch(A.tag){case 3:A=A.stateNode.context;break A;case 1:if(xe(A.type)){A=A.stateNode.__reactInternalMemoizedMergedChildContext;break A}}A=A.return}while(A!==null);throw Error(O(171))}if(e.tag===1){var t=e.type;if(xe(t))return Yy(e,t,A)}return A}function qv(e,A,t,r,n,i,s,a,l){return e=pg(t,r,!0,e,n,i,s,a,l),e.context=Yv(null),t=e.current,r=Fe(),n=Sr(t),i=Vt(r,n),i.callback=A??null,Fr(t,i,n),e.current.lanes=n,To(e,n,r),Pe(e,r),e}function Pu(e,A,t,r){var n=A.current,i=Fe(),s=Sr(n);return t=Yv(t),A.context===null?A.context=t:A.pendingContext=t,A=Vt(i,s),A.payload={element:e},r=r===void 0?null:r,r!==null&&(A.callback=r),e=Fr(n,A,s),e!==null&&(ht(e,n,s,i),al(e,n,s)),s}function Yl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function _m(e,A){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<A?t:A}}function Bg(e,A){_m(e,A),(e=e.alternate)&&_m(e,A)}function fF(){return null}var Zv=typeof reportError=="function"?reportError:function(e){console.error(e)};function mg(e){this._internalRoot=e}ku.prototype.render=mg.prototype.render=function(e){var A=this._internalRoot;if(A===null)throw Error(O(409));Pu(e,A,null,null)};ku.prototype.unmount=mg.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var A=e.containerInfo;wn(function(){Pu(null,e,null,null)}),A[Wt]=null}};function ku(e){this._internalRoot=e}ku.prototype.unstable_scheduleHydration=function(e){if(e){var A=Sy();e={blockedOn:null,target:e,priority:A};for(var t=0;t<hr.length&&A!==0&&A<hr[t].priority;t++);hr.splice(t,0,e),t===0&&Hy(e)}};function wg(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ou(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Im(){}function dF(e,A,t,r,n){if(n){if(typeof r=="function"){var i=r;r=function(){var u=Yl(s);i.call(u)}}var s=qv(A,r,e,0,null,!1,!1,"",Im);return e._reactRootContainer=s,e[Wt]=s.current,io(e.nodeType===8?e.parentNode:e),wn(),s}for(;n=e.lastChild;)e.removeChild(n);if(typeof r=="function"){var a=r;r=function(){var u=Yl(l);a.call(u)}}var l=pg(e,0,!1,null,null,!1,!1,"",Im);return e._reactRootContainer=l,e[Wt]=l.current,io(e.nodeType===8?e.parentNode:e),wn(function(){Pu(A,l,t,r)}),l}function Nu(e,A,t,r,n){var i=t._reactRootContainer;if(i){var s=i;if(typeof n=="function"){var a=n;n=function(){var l=Yl(s);a.call(l)}}Pu(A,s,e,n)}else s=dF(t,A,e,n,r);return Yl(s)}Fy=function(e){switch(e.tag){case 3:var A=e.stateNode;if(A.current.memoizedState.isDehydrated){var t=ys(A.pendingLanes);t!==0&&(Od(A,t|1),Pe(A,VA()),!(cA&6)&&(Qi=VA()+500,Xr()))}break;case 13:wn(function(){var r=jt(e,1);if(r!==null){var n=Fe();ht(r,e,1,n)}}),Bg(e,1)}};Nd=function(e){if(e.tag===13){var A=jt(e,134217728);if(A!==null){var t=Fe();ht(A,e,134217728,t)}Bg(e,134217728)}};Ty=function(e){if(e.tag===13){var A=Sr(e),t=jt(e,A);if(t!==null){var r=Fe();ht(t,e,A,r)}Bg(e,A)}};Sy=function(){return pA};Ry=function(e,A){var t=pA;try{return pA=e,A()}finally{pA=t}};Af=function(e,A,t){switch(A){case"input":if(zh(e,t),A=t.name,t.type==="radio"&&A!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+A)+'][type="radio"]'),A=0;A<t.length;A++){var r=t[A];if(r!==e&&r.form===e.form){var n=Tu(r);if(!n)throw Error(O(90));ay(r),zh(r,n)}}}break;case"textarea":uy(e,t);break;case"select":A=t.value,A!=null&&oi(e,!!t.multiple,A,!1)}};By=hg;my=wn;var gF={usingClientEntryPoint:!1,Events:[Ro,qn,Tu,gy,py,hg]},cs={findFiberByHostInstance:nn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},pF={bundleType:cs.bundleType,version:cs.version,rendererPackageName:cs.rendererPackageName,rendererConfig:cs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ar.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=vy(e),e===null?null:e.stateNode},findFiberByHostInstance:cs.findFiberByHostInstance||fF,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
vendor: 6,083 bytes, lines 40-57
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ua=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ua.isDisabled&&Ua.supportsFiber)try{_u=Ua.inject(pF),yt=Ua}catch{}}Ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gF;Ge.createPortal=function(e,A){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!wg(A))throw Error(O(200));return hF(e,A,null,t)};Ge.createRoot=function(e,A){if(!wg(e))throw Error(O(299));var t=!1,r="",n=Zv;return A!=null&&(A.unstable_strictMode===!0&&(t=!0),A.identifierPrefix!==void 0&&(r=A.identifierPrefix),A.onRecoverableError!==void 0&&(n=A.onRecoverableError)),A=pg(e,1,!1,null,null,t,!1,r,n),e[Wt]=A.current,io(e.nodeType===8?e.parentNode:e),new mg(A)};Ge.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var A=e._reactInternals;if(A===void 0)throw typeof e.render=="function"?Error(O(188)):(e=Object.keys(e).join(","),Error(O(268,e)));return e=vy(A),e=e===null?null:e.stateNode,e};Ge.flushSync=function(e){return wn(e)};Ge.hydrate=function(e,A,t){if(!Ou(A))throw Error(O(200));return Nu(null,e,A,!0,t)};Ge.hydrateRoot=function(e,A,t){if(!wg(e))throw Error(O(405));var r=t!=null&&t.hydratedSources||null,n=!1,i="",s=Zv;if(t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),A=qv(A,null,e,1,t??null,n,!1,i,s),e[Wt]=A.current,io(e),r)for(e=0;e<r.length;e++)t=r[e],n=t._getVersion,n=n(t._source),A.mutableSourceEagerHydrationData==null?A.mutableSourceEagerHydrationData=[t,n]:A.mutableSourceEagerHydrationData.push(t,n);return new ku(A)};Ge.render=function(e,A,t){if(!Ou(A))throw Error(O(200));return Nu(null,e,A,!1,t)};Ge.unmountComponentAtNode=function(e){if(!Ou(e))throw Error(O(40));return e._reactRootContainer?(wn(function(){Nu(null,null,e,!1,function(){e._reactRootContainer=null,e[Wt]=null})}),!0):!1};Ge.unstable_batchedUpdates=hg;Ge.unstable_renderSubtreeIntoContainer=function(e,A,t,r){if(!Ou(t))throw Error(O(200));if(e==null||e._reactInternals===void 0)throw Error(O(38));return Nu(e,A,t,!1,r)};Ge.version="18.3.1-next-f1338f8080-20240426";function AC(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(AC)}catch(e){console.error(e)}}AC(),Ay.exports=Ge;var BF=Ay.exports,Um=BF;bh.createRoot=Um.createRoot,bh.hydrateRoot=Um.hydrateRoot;/*! 41 * html2canvas 1.4.1 <https://html2canvas.hertzen.com> 42 * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com> 43 * Released under MIT License 44 *//*! ***************************************************************************** 45Copyright (c) Microsoft Corporation. 46 47Permission to use, copy, modify, and/or distribute this software for any 48purpose with or without fee is hereby granted. 49 50THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 51REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 52AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 53INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 54LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 55OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 56PERFORMANCE OF THIS SOFTWARE. 57***************************************************************************** */var Df=function(e,A){return Df=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Df(e,A)};function gt(e,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");Df(e,A);function t(){this.constructor=e}e.prototype=A===null?Object.create(A):(t.prototype=A.prototype,new t)}var xf=function(){return xf=Object.assign||function(A){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(A[i]=t[i])}return A},xf.apply(this,arguments)};function Ie(e,A,t,r){function n(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(h){try{u(r.next(h))}catch(d){s(d)}}function l(h){try{u(r.throw(h))}catch(d){s(d)}}function u(h){h.done?i(h.value):n(h.value).then(a,l)}u((r=r.apply(e,A||[])).next())})}function Be(e,A){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(u){return function(h){return l([u,h])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,n&&(i=u[0]&2?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,n=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){t.label=u[1];break}if(u[0]===6&&t.label<i[1]){t.label=i[1],i=u;break}if(i&&t.label<i[2]){t.label=i[2],t.ops.push(u);break}i[2]&&t.ops.pop(),t.trys.pop();continue}u=A.call(e,t)}catch(h){u=[6,h],n=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function Fa(e,A,t){if(t||arguments.length===2)for(var r=0,n=A.length,i;r<n;r++)(i||!(r in A))&&(i||(i=Array.prototype.slice.call(A,0,r)),i[r]=A[r]);return e.concat(i||A)}var Xt=function(){function e(A,t,r,n){this.left=A,this.top=t,this.width=r,this.height=n}return e.prototype.add=function(A,t,r,n){return new e(this.left+A,this.top+t,this.width+r,this.height+n)},e.fromClientRect=function(A,t){return new e(t.left+A.windowBounds.left,t.top+A.windowBounds.top,t.width,t.height)},e.fromDOMRectList=function(A,t){var r=Array.from(t).find(function(n){return n.width!==0});return r?new e(r.left+A.windowBounds.left,r.top+A.windowBounds.top,r.width,r.height):e.EMPTY}
vendor: 3,382 bytes, line 57
57,e.EMPTY=new e(0,0,0,0),e}(),bu=function(e,A){return Xt.fromClientRect(e,A.getBoundingClientRect())},mF=function(e){var A=e.body,t=e.documentElement;if(!A||!t)throw new Error("Unable to get document size");var r=Math.max(Math.max(A.scrollWidth,t.scrollWidth),Math.max(A.offsetWidth,t.offsetWidth),Math.max(A.clientWidth,t.clientWidth)),n=Math.max(Math.max(A.scrollHeight,t.scrollHeight),Math.max(A.offsetHeight,t.offsetHeight),Math.max(A.clientHeight,t.clientHeight));return new Xt(0,0,r,n)},Vu=function(e){for(var A=[],t=0,r=e.length;t<r;){var n=e.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var i=e.charCodeAt(t++);(i&64512)===56320?A.push(((n&1023)<<10)+(i&1023)+65536):(A.push(n),t--)}else A.push(n)}return A},NA=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var t=e.length;if(!t)return"";for(var r=[],n=-1,i="";++n<t;){var s=e[n];s<=65535?r.push(s):(s-=65536,r.push((s>>10)+55296,s%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Fm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",wF=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ta=0;Ta<Fm.length;Ta++)wF[Fm.charCodeAt(Ta)]=Ta;var Tm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Cs=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Sa=0;Sa<Tm.length;Sa++)Cs[Tm.charCodeAt(Sa)]=Sa;var yF=function(e){var A=e.length*.75,t=e.length,r,n=0,i,s,a,l;e[e.length-1]==="="&&(A--,e[e.length-2]==="="&&A--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),h=Array.isArray(u)?u:new Uint8Array(u);for(r=0;r<t;r+=4)i=Cs[e.charCodeAt(r)],s=Cs[e.charCodeAt(r+1)],a=Cs[e.charCodeAt(r+2)],l=Cs[e.charCodeAt(r+3)],h[n++]=i<<2|s>>4,h[n++]=(s&15)<<4|a>>2,h[n++]=(a&3)<<6|l&63;return u},vF=function(e){for(var A=e.length,t=[],r=0;r<A;r+=2)t.push(e[r+1]<<8|e[r]);return t},CF=function(e){for(var A=e.length,t=[],r=0;r<A;r+=4)t.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return t},hn=5,yg=6+5,ah=2,EF=yg-hn,eC=65536>>hn,QF=1<<hn,lh=QF-1,_F=1024>>hn,IF=eC+_F,UF=IF,FF=32,TF=UF+FF,SF=65536>>yg,RF=1<<EF,HF=RF-1,Sm=function(e,A,t){return e.slice?e.slice(A,t):new Uint16Array(Array.prototype.slice.call(e,A,t))},LF=function(e,A,t){return e.slice?e.slice(A,t):new Uint32Array(Array.prototype.slice.call(e,A,t))},DF=function(e,A){var t=yF(e),r=Array.isArray(t)?CF(t):new Uint32Array(t),n=Array.isArray(t)?vF(t):new Uint16Array(t),i=24,s=Sm(n,i/2,r[4]/2),a=r[5]===2?Sm(n,(i+r[4])/2):LF(r,Math.ceil((i+r[4])/4));return new xF(r[0],r[1],r[2],r[3],s,a)},xF=function(){function e(A,t,r,n,i,s){this.initialValue=A,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=s}return e.prototype.get=function(A){var t;if(A>=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>hn],t=(t<<ah)+(A&lh),this.data[t];if(A<=65535)return t=this.index[eC+(A-55296>>hn)],t=(t<<ah)+(A&lh),this.data[t];if(A<this.highStart)return t=TF-SF+(A>>yg),t=this.index[t],t+=A>>hn&HF,t=this.index[t],t=(t<<ah)+(A&lh),this.data[t];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),Rm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",PF=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ra=0;Ra<Rm.length;Ra++)PF[Rm.charCodeAt(Ra)]=Ra;var kF="
vendor: 5,502 bytes, line 57
57KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCI
vendor: 47,388 bytes, line 57
57IIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",
vendor: 3,546 bytes, line 57
57Hm=50,OF=1,tC=2,rC=3,NF=4,bF=5,Lm=7,nC=8,Dm=9,yr=10,Pf=11,xm=12,kf=13,VF=14,Es=15,Of=16,Ha=17,hs=18,MF=19,Pm=20,Nf=21,fs=22,uh=23,Pn=24,Oe=25,Qs=26,_s=27,kn=28,KF=29,rn=30,GF=31,La=32,Da=33,bf=34,Vf=35,Mf=36,go=37,Kf=38,gl=39,pl=40,ch=41,iC=42,WF=43,jF=[9001,65288],sC="!",iA="Ã",xa="÷",Gf=DF(kF),Rt=[rn,Mf],Wf=[OF,tC,rC,bF],oC=[yr,nC],km=[_s,Qs],zF=Wf.concat(oC),Om=[Kf,gl,pl,bf,Vf],XF=[Es,kf],JF=function(e,A){A===void 0&&(A="strict");var t=[],r=[],n=[];return e.forEach(function(i,s){var a=Gf.get(i);if(a>Hm?(n.push(!0),a-=Hm):n.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return r.push(s),t.push(Of);if(a===NF||a===Pf){if(s===0)return r.push(s),t.push(rn);var l=t[s-1];return zF.indexOf(l)===-1?(r.push(r[s-1]),t.push(l)):(r.push(s),t.push(rn))}if(r.push(s),a===GF)return t.push(A==="strict"?Nf:go);if(a===iC||a===KF)return t.push(rn);if(a===WF)return i>=131072&&i<=196605||i>=196608&&i<=262141?t.push(go):t.push(rn);t.push(a)}),[r,t,n]},hh=function(e,A,t,r){var n=r[t];if(Array.isArray(e)?e.indexOf(n)!==-1:e===n)for(var i=t;i<=r.length;){i++;var s=r[i];if(s===A)return!0;if(s!==yr)break}if(n===yr)for(var i=t;i>0;){i--;var a=r[i];if(Array.isArray(e)?e.indexOf(a)!==-1:e===a)for(var l=t;l<=r.length;){l++;var s=r[l];if(s===A)return!0;if(s!==yr)break}if(a!==yr)break}return!1},Nm=function(e,A){for(var t=e;t>=0;){var r=A[t];if(r===yr)t--;else return r}return 0},$F=function(e,A,t,r,n){if(t[r]===0)return iA;var i=r-1;if(Array.isArray(n)&&n[i]===!0)return iA;var s=i-1,a=i+1,l=A[i],u=s>=0?A[s]:0,h=A[a];if(l===tC&&h===rC)return iA;if(Wf.indexOf(l)!==-1)return sC;if(Wf.indexOf(h)!==-1||oC.indexOf(h)!==-1)return iA;if(Nm(i,A)===nC)return xa;if(Gf.get(e[i])===Pf||(l===La||l===Da)&&Gf.get(e[a])===Pf||l===Lm||h===Lm||l===Dm||[yr,kf,Es].indexOf(l)===-1&&h===Dm||[Ha,hs,MF,Pn,kn].indexOf(h)!==-1||Nm(i,A)===fs||hh(uh,fs,i,A)||hh([Ha,hs],Nf,i,A)||hh(xm,xm,i,A))return iA;if(l===yr)return xa;if(l===uh||h===uh)return iA;if(h===Of||l===Of)return xa;if([kf,Es,Nf].indexOf(h)!==-1||l===VF||u===Mf&&XF.indexOf(l)!==-1||l===kn&&h===Mf||h===Pm||Rt.indexOf(h)!==-1&&l===Oe||Rt.indexOf(l)!==-1&&h===Oe||l===_s&&[go,La,Da].indexOf(h)!==-1||[go,La,Da].indexOf(l)!==-1&&h===Qs||Rt.indexOf(l)!==-1&&km.indexOf(h)!==-1||km.indexOf(l)!==-1&&Rt.indexOf(h)!==-1||[_s,Qs].indexOf(l)!==-1&&(h===Oe||[fs,Es].indexOf(h)!==-1&&A[a+1]===Oe)||[fs,Es].indexOf(l)!==-1&&h===Oe||l===Oe&&[Oe,kn,Pn].indexOf(h)!==-1)return iA;if([Oe,kn,Pn,Ha,hs].indexOf(h)!==-1)for(var d=i;d>=0;){var g=A[d];if(g===Oe)return iA;if([kn,Pn].indexOf(g)!==-1)d--;else break}if([_s,Qs].indexOf(h)!==-1)for(var d=[Ha,hs].indexOf(l)!==-1?s:i;d>=0;){var g=A[d];if(g===Oe)return iA;if([kn,Pn].indexOf(g)!==-1)d--;else break}if(Kf===l&&[Kf,gl,bf,Vf].indexOf(h)!==-1||[gl,bf].indexOf(l)!==-1&&[gl,pl].indexOf(h)!==-1||[pl,Vf].indexOf(l)!==-1&&h===pl||Om.indexOf(l)!==-1&&[Pm,Qs].indexOf(h)!==-1||Om.indexOf(h)!==-1&&l===_s||Rt.indexOf(l)!==-1&&Rt.indexOf(h)!==-1||l===Pn&&Rt.indexOf(h)!==-1||Rt.concat(Oe).indexOf(l)!==-1&&h===fs&&jF.indexOf(e[a])===-1||Rt.concat(Oe).indexOf(h)!==-1&&l===hs)return iA;if(l===ch&&h===ch){for(var E=t[i],_=1;E>0&&(E--,A[E]===ch);)_++;if(_%2!==0)return iA}return l===La&&h===Da?iA:xa},YF=function(e,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var t=JF(e,A.lineBreak),r=t[0],n=t[1],i=t[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(n=n.map(function(a){return[Oe,rn,iC].indexOf(a)!==-1?go:a}));var s=A.wordBreak==="keep-all"?i.map(function(a,l){return a&&e[l]>=19968&&e[l]<=40959}):void 0;return[r,n,s]}
vendor: 4,488 bytes, line 57
57,qF=function(){function e(A,t,r,n){this.codePoints=A,this.required=t===sC,this.start=r,this.end=n}return e.prototype.slice=function(){return NA.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),ZF=function(e,A){var t=Vu(e),r=YF(t,A),n=r[0],i=r[1],s=r[2],a=t.length,l=0,u=0;return{next:function(){if(u>=a)return{done:!0,value:null};for(var h=iA;u<a&&(h=$F(t,i,n,++u,s))===iA;);if(h!==iA||u===a){var d=new qF(t,h,l,u);return l=u,{value:d,done:!1}}return{done:!0,value:null}}}},AT=1,eT=2,Lo=4,bm=8,ql=10,Vm=47,Vs=92,tT=9,rT=32,Pa=34,ds=61,nT=35,iT=36,sT=37,ka=39,Oa=40,gs=41,oT=95,Re=45,aT=33,lT=60,uT=62,cT=64,hT=91,fT=93,dT=61,gT=123,Na=63,pT=125,Mm=124,BT=126,mT=128,Km=65533,fh=42,an=43,wT=44,yT=58,vT=59,po=46,CT=0,ET=8,QT=11,_T=14,IT=31,UT=127,Bt=-1,aC=48,lC=97,uC=101,FT=102,TT=117,ST=122,cC=65,hC=69,fC=70,RT=85,HT=90,we=function(e){return e>=aC&&e<=57},LT=function(e){return e>=55296&&e<=57343},On=function(e){return we(e)||e>=cC&&e<=fC||e>=lC&&e<=FT},DT=function(e){return e>=lC&&e<=ST},xT=function(e){return e>=cC&&e<=HT},PT=function(e){return DT(e)||xT(e)},kT=function(e){return e>=mT},ba=function(e){return e===ql||e===tT||e===rT},Zl=function(e){return PT(e)||kT(e)||e===oT},Gm=function(e){return Zl(e)||we(e)||e===Re},OT=function(e){return e>=CT&&e<=ET||e===QT||e>=_T&&e<=IT||e===UT},cr=function(e,A){return e!==Vs?!1:A!==ql},Va=function(e,A,t){return e===Re?Zl(A)||cr(A,t):Zl(e)?!0:!!(e===Vs&&cr(e,A))},dh=function(e,A,t){return e===an||e===Re?we(A)?!0:A===po&&we(t):we(e===po?A:e)},NT=function(e){var A=0,t=1;(e[A]===an||e[A]===Re)&&(e[A]===Re&&(t=-1),A++);for(var r=[];we(e[A]);)r.push(e[A++]);var n=r.length?parseInt(NA.apply(void 0,r),10):0;e[A]===po&&A++;for(var i=[];we(e[A]);)i.push(e[A++]);var s=i.length,a=s?parseInt(NA.apply(void 0,i),10):0;(e[A]===hC||e[A]===uC)&&A++;var l=1;(e[A]===an||e[A]===Re)&&(e[A]===Re&&(l=-1),A++);for(var u=[];we(e[A]);)u.push(e[A++]);var h=u.length?parseInt(NA.apply(void 0,u),10):0;return t*(n+a*Math.pow(10,-s))*Math.pow(10,l*h)},bT={type:2},VT={type:3},MT={type:4},KT={type:13},GT={type:8},WT={type:21},jT={type:9},zT={type:10},XT={type:11},JT={type:12},$T={type:14},Ma={type:23},YT={type:1},qT={type:25},ZT={type:24},A1={type:26},e1={type:27},t1={type:28},r1={type:29},n1={type:31},jf={type:32},dC=function(){function e(){this._value=[]}return e.prototype.write=function(A){this._value=this._value.concat(Vu(A))},e.prototype.read=function(){for(var A=[],t=this.consumeToken();t!==jf;)A.push(t),t=this.consumeToken();return A},e.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case Pa:return this.consumeStringToken(Pa);case nT:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Gm(t)||cr(r,n)){var i=Va(t,r,n)?eT:AT,s=this.consumeName();return{type:5,value:s,flags:i}}break;case iT:if(this.peekCodePoint(0)===ds)return this.consumeCodePoint(),KT;break;case ka:return this.consumeStringToken(ka);case Oa:return bT;case gs:return VT;case fh:if(this.peekCodePoint(0)===ds)return this.consumeCodePoint(),$T;break;case an:if(dh(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case wT:return MT;case Re:var a=A,l=this.peekCodePoint(0),u=this.peekCodePoint(1);if(dh(a,l,u))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Va(a,l,u))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(l===Re&&u===uT)return this.consumeCodePoint(),this.consumeCodePoint(),ZT;break;case po:if(dh(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Vm:if(this.peekCodePoint(0)===fh)for(this.consumeCodePoint();;){var h=this.consumeCodePoint();if(h===fh&&(h=this.consumeCodePoint(),h===Vm))return this.consumeToken();if(h===Bt)return this.consumeToken()}break;case yT:return A1;case vT:return e1;case lT:if(this.peekCodePoint(0)===aT&&this.peekCodePoint(1)===Re&&this.peekCodePoint(2)===Re)return this.consumeCodePoint(),this.consumeCodePoint(),qT;break;case cT:var d=this.peekCodePoint(0),g=this.peekCodePoint(1),E=this.peekCodePoint(2);if(Va(d,g,E)){var s=this.consumeName();return{type:7,value:s}}break;case hT:return t1;case Vs:if(cr(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case fT:return r1;case dT:if(this.peekCodePoint(0)===ds)return this.consumeCodePoint(),GT;break;case gT:return XT;case pT:return JT;case TT:case RT:var _=this.peekCodePoint(0),F=this.peekCodePoint(1);
vendor: 4,038 bytes, line 57
57return _===an&&(On(F)||F===Na)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Mm:if(this.peekCodePoint(0)===ds)return this.consumeCodePoint(),jT;if(this.peekCodePoint(0)===Mm)return this.consumeCodePoint(),WT;break;case BT:if(this.peekCodePoint(0)===ds)return this.consumeCodePoint(),zT;break;case Bt:return jf}return ba(A)?(this.consumeWhiteSpace(),n1):we(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Zl(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:NA(A)}},e.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},e.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},e.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},e.prototype.consumeUnicodeRangeToken=function(){for(var A=[],t=this.consumeCodePoint();On(t)&&A.length<6;)A.push(t),t=this.consumeCodePoint();for(var r=!1;t===Na&&A.length<6;)A.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(NA.apply(void 0,A.map(function(l){return l===Na?aC:l})),16),i=parseInt(NA.apply(void 0,A.map(function(l){return l===Na?fC:l})),16);return{type:30,start:n,end:i}}var s=parseInt(NA.apply(void 0,A),16);if(this.peekCodePoint(0)===Re&&On(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var a=[];On(t)&&a.length<6;)a.push(t),t=this.consumeCodePoint();var i=parseInt(NA.apply(void 0,a),16);return{type:30,start:s,end:i}}else return{type:30,start:s,end:s}},e.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===Oa?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Oa?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},e.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Bt)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===ka||t===Pa){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Bt||this.peekCodePoint(0)===gs)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Ma)}for(;;){var n=this.consumeCodePoint();if(n===Bt||n===gs)return{type:22,value:NA.apply(void 0,A)};if(ba(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Bt||this.peekCodePoint(0)===gs?(this.consumeCodePoint(),{type:22,value:NA.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Ma);if(n===Pa||n===ka||n===Oa||OT(n))return this.consumeBadUrlRemnants(),Ma;if(n===Vs)if(cr(n,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ma;else A.push(n)}},e.prototype.consumeWhiteSpace=function(){for(;ba(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===gs||A===Bt)return;cr(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(A){for(var t=5e4,r="";A>0;){var n=Math.min(t,A);r+=NA.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),r},e.prototype.consumeStringToken=function(A){var t="",r=0;do{var n=this._value[r];if(n===Bt||n===void 0||n===A)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===ql)return this._value.splice(0,r),YT;if(n===Vs){var i=this._value[r+1];i!==Bt&&i!==void 0&&(i===ql?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):cr(n,i)&&(t+=this.consumeStringSlice(r),t+=NA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},e.prototype.consumeNumber=function(){var A=[],t=Lo,r=this.peekCodePoint(0);for((r===an||r===Re)&&A.push(this.consumeCodePoint());we(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===po&&we(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=bm;we(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);
vendor: 4,255 bytes, line 57
57if((r===hC||r===uC)&&((n===an||n===Re)&&we(i)||we(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=bm;we(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[NT(A),t]},e.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],r=A[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Va(n,i,s)){var a=this.consumeName();return{type:15,number:t,flags:r,unit:a}}return n===sT?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},e.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(On(A)){for(var t=NA(A);On(this.peekCodePoint(0))&&t.length<6;)t+=NA(this.consumeCodePoint());ba(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||LT(r)||r>1114111?Km:r}return A===Bt?Km:A},e.prototype.consumeName=function(){for(var A="";;){var t=this.consumeCodePoint();if(Gm(t))A+=NA(t);else if(cr(t,this.peekCodePoint(0)))A+=NA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),A}},e}(),gC=function(){function e(A){this._tokens=A}return e.create=function(A){var t=new dC;return t.write(A),new e(t.read())},e.parseValue=function(A){return e.create(A).parseComponentValue()},e.parseValues=function(A){return e.create(A).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var A=[];;){var t=this.consumeComponentValue();if(t.type===32)return A;A.push(t),A.push()}},e.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},e.prototype.consumeSimpleBlock=function(A){for(var t={type:A,values:[]},r=this.consumeToken();;){if(r.type===32||s1(r,A))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},e.prototype.consumeFunction=function(A){for(var t={name:A.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?jf:A},e.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},e}(),Do=function(e){return e.type===15},ki=function(e){return e.type===17},mA=function(e){return e.type===20},i1=function(e){return e.type===0},zf=function(e,A){return mA(e)&&e.value===A},pC=function(e){return e.type!==31},_i=function(e){return e.type!==31&&e.type!==4},Ut=function(e){var A=[],t=[];return e.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&A.push(t),A},s1=function(e,A){return A===11&&e.type===12||A===28&&e.type===29?!0:A===2&&e.type===3},Mr=function(e){return e.type===17||e.type===15},KA=function(e){return e.type===16||Mr(e)},BC=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},se={type:17,number:0,flags:Lo},vg={type:16,number:50,flags:Lo},vr={type:16,number:100,flags:Lo},Is=function(e,A,t){var r=e[0],n=e[1];return[vA(r,A),vA(typeof n<"u"?n:r,t)]},vA=function(e,A){if(e.type===16)return e.number/100*A;if(Do(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},mC="deg",wC="grad",yC="rad",vC="turn",Mu={name:"angle",parse:function(e,A){if(A.type===15)switch(A.unit){case mC:return Math.PI*A.number/180;case wC:return Math.PI/200*A.number;case yC:return A.number;case vC:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},CC=function(e){return e.type===15&&(e.unit===mC||e.unit===wC||e.unit===yC||e.unit===vC)},EC=function(e){var A=e.filter(mA).map(function(t){return t.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left"
vendor: 14,886 bytes, line 57
57:return[se,se];case"to top":case"bottom":return qe(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[se,vr];case"to right":case"left":return qe(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[vr,vr];case"to bottom":case"top":return qe(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[vr,se];case"to left":case"right":return qe(270)}return 0},qe=function(e){return Math.PI*e/180},Hr={name:"color",parse:function(e,A){if(A.type===18){var t=o1[A.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return t(e,A.values)}if(A.type===5){if(A.value.length===3){var r=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3);return Cr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(A.value.length===4){var r=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3),s=A.value.substring(3,4);return Cr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(s+s,16)/255)}if(A.value.length===6){var r=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6);return Cr(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(A.value.length===8){var r=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6),s=A.value.substring(6,8);return Cr(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(s,16)/255)}}if(A.type===20){var a=Mt[A.value.toUpperCase()];if(typeof a<"u")return a}return Mt.TRANSPARENT}},Lr=function(e){return(255&e)===0},YA=function(e){var A=255&e,t=255&e>>8,r=255&e>>16,n=255&e>>24;return A<255?"rgba("+n+","+r+","+t+","+A/255+")":"rgb("+n+","+r+","+t+")"},Cr=function(e,A,t,r){return(e<<24|A<<16|t<<8|Math.round(r*255)<<0)>>>0},Wm=function(e,A){if(e.type===17)return e.number;if(e.type===16){var t=A===3?1:255;return A===3?e.number/100*t:Math.round(e.number/100*t)}return 0},jm=function(e,A){var t=A.filter(_i);if(t.length===3){var r=t.map(Wm),n=r[0],i=r[1],s=r[2];return Cr(n,i,s,1)}if(t.length===4){var a=t.map(Wm),n=a[0],i=a[1],s=a[2],l=a[3];return Cr(n,i,s,l)}return 0};function gh(e,A,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(A-e)*t*6+e:t<1/2?A:t<2/3?(A-e)*6*(2/3-t)+e:e}var zm=function(e,A){var t=A.filter(_i),r=t[0],n=t[1],i=t[2],s=t[3],a=(r.type===17?qe(r.number):Mu.parse(e,r))/(Math.PI*2),l=KA(n)?n.number/100:0,u=KA(i)?i.number/100:0,h=typeof s<"u"&&KA(s)?vA(s,1):1;if(l===0)return Cr(u*255,u*255,u*255,1);var d=u<=.5?u*(l+1):u+l-u*l,g=u*2-d,E=gh(g,d,a+1/3),_=gh(g,d,a),F=gh(g,d,a-1/3);return Cr(E*255,_*255,F*255,h)},o1={hsl:zm,hsla:zm,rgb:jm,rgba:jm},Ms=function(e,A){return Hr.parse(e,gC.create(A).parseComponentValue())},Mt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},a1={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(t){if(mA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},l1={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ku=function(e,A){var t=Hr.parse(e,A[0]),r=A[1];return r&&KA(r)?{color:t,stop:r}:{color:t,stop:null}},Xm=function(e,A){var t=e[0],r=e[e.length-1];t.stop===null&&(t.stop=se),r.stop===null&&(r.stop=vr);for(var n=[],i=0,s=0;s<e.length;s++){var a=e[s].stop;if(a!==null){var l=vA(a,A);l>i?n.push(l):n.push(i),i=l}else n.push(null)}for(var u=null,s=0;s<n.length;s++){var h=n[s];if(h===null)u===null&&(u=s);else if(u!==null){for(var d=s-u,g=n[u-1],E=(h-g)/(d+1),_=1;_<=d;_++)n[u+_-1]=E*_;u=null}}return e.map(function(F,L){var v=F.color;return{color:v,stop:Math.max(Math.min(1,n[L]/A),0)}})},u1=function(e,A,t){var r=A/2,n=t/2,i=vA(e[0],A)-r,s=n-vA(e[1],t);return(Math.atan2(s,i)+Math.PI*2)%(Math.PI*2)},c1=function(e,A,t){var r=typeof e=="number"?e:u1(e,A,t),n=Math.abs(A*Math.sin(r))+Math.abs(t*Math.cos(r)),i=A/2,s=t/2,a=n/2,l=Math.sin(r-Math.PI/2)*a,u=Math.cos(r-Math.PI/2)*a;return[n,i-u,i+u,s-l,s+l]},st=function(e,A){return Math.sqrt(e*e+A*A)},Jm=function(e,A,t,r,n){var i=[[0,0],[0,A],[e,0],[e,A]];return i.reduce(function(s,a){var l=a[0],u=a[1],h=st(t-l,r-u);return(n?h<s.optimumDistance:h>s.optimumDistance)?{optimumCorner:a,optimumDistance:h}:s},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},h1=function(e,A,t,r,n){var i=0,s=0;switch(e.size){case 0:e.shape===0?i=s=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(t),Math.abs(t-n)):e.shape===1&&(i=Math.min(Math.abs(A),Math.abs(A-r)),s=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(e.shape===0)i=s=Math.min(st(A,t),st(A,t-n),st(A-r,t),st(A-r,t-n));else if(e.shape===1){var a=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(A),Math.abs(A-r)),l=Jm(r,n,A,t,!0),u=l[0],h=l[1];i=st(u-A,(h-t)/a),s=a*i}break;case 1:e.shape===0?i=s=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(t),Math.abs(t-n)):e.shape===1&&(i=Math.max(Math.abs(A),Math.abs(A-r)),s=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(e.shape===0)i=s=Math.max(st(A,t),st(A,t-n),st(A-r,t),st(A-r,t-n));else if(e.shape===1){var a=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(A),Math.abs(A-r)),d=Jm(r,n,A,t,!1),u=d[0],h=d[1];i=st(u-A,(h-t)/a),s=a*i}break}return Array.isArray(e.size)&&(i=vA(e.size[0],r),s=e.size.length===2?vA(e.size[1],n):i),[i,s]},f1=function(e,A){var t=qe(180),r=[];return Ut(A).forEach(function(n,i){if(i===0){var s=n[0];if(s.type===20&&s.value==="to"){t=EC(n);return}else if(CC(s)){t=Mu.parse(e,s);return}}var a=Ku(e,n);r.push(a)}),{angle:t,stops:r,type:1}},Ka=function(e,A){var t=qe(180),r=[];return Ut(A).forEach(function(n,i){if(i===0){var s=n[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){t=EC(n);return}else if(CC(s)){t=(Mu.parse(e,s)+qe(270))%qe(360);return}}var a=Ku(e,n);r.push(a)}),{angle:t,stops:r,type:1}},d1=function(e,A){var t=qe(180),r=[],n=1,i=0,s=3,a=[];return Ut(A).forEach(function(l,u){var h=l[0];if(u===0){if(mA(h)&&h.value==="linear"){n=1;return}else if(mA(h)&&h.value==="radial"){n=2;return}}if(h.type===18){if(h.name==="from"){var d=Hr.parse(e,h.values[0]);r.push({stop:se,color:d})}else if(h.name==="to"){var d=Hr.parse(e,h.values[0]);r.push({stop:vr,color:d})}else if(h.name==="color-stop"){var g=h.values.filter(_i);if(g.length===2){var d=Hr.parse(e,g[1]),E=g[0];ki(E)&&r.push({stop:{type:16,number:E.number*100,flags:E.flags},color:d})}}}}),n===1?{angle:(t+qe(180))%qe(360),stops:r,type:n}:{size:s,shape:i,stops:r,position:a,type:n}},QC="closest-side",_C="farthest-side",IC="closest-corner",UC="farthest-corner",FC="circle",TC="ellipse",SC="cover",RC="contain",g1=function(e,A){var t=0,r=3,n=[],i=[];return Ut(A).forEach(function(s,a){var l=!0;if(a===0){var u=!1;l=s.reduce(function(d,g){if(u)if(mA(g))switch(g.value){case"center":return i.push(vg),d;case"top":case"left":return i.push(se),d;case"right":case"bottom":return i.push(vr),d}else(KA(g)||Mr(g))&&i.push(g);else if(mA(g))switch(g.value){case FC:return t=0,!1;case TC:return t=1,!1;case"at":return u=!0,!1;case QC:return r=0,!1;case SC:case _C:return r=1,!1;case RC:case IC:return r=2,!1;case UC:return r=3,!1}else if(Mr(g)||KA(g))return Array.isArray(r)||(r=[]),r.push(g),!1;return d},l)}if(l){var h=Ku(e,s);n.push(h)}}),{size:r,shape:t,stops:n,position:i,type:2}},Ga=function(e,A){var t=0,r=3,n=[],i=[];return Ut(A).forEach(function(s,a){var l=!0;if(a===0?l=s.reduce(function(h,d){if(mA(d))switch(d.value){case"center":return i.push(vg),!1;case"top":case"left":return i.push(se),!1;case"right":case"bottom":return i.push(vr),!1}else if(KA(d)||Mr(d))return i.push(d),!1;return h},l):a===1&&(l=s.reduce(function(h,d){if(mA(d))switch(d.value){case FC:return t=0,!1;case TC:return t=1,!1;case RC:case QC:return r=0,!1;case _C:return r=1,!1;case IC:return r=2,!1;case SC:case UC:return r=3,!1}else if(Mr(d)||KA(d))return Array.isArray(r)||(r=[]),r.push(d),!1;return h},l)),l){var u=Ku(e,s);n.push(u)}}),{size:r,shape:t,stops:n,position:i,type:2}},p1=function(e){return e.type===1},B1=function(e){return e.type===2},Cg={name:"image",parse:function(e,A){if(A.type===22){var t={url:A.value,type:0};return e.cache.addImage(A.value),t}if(A.type===18){var r=HC[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return r(e,A.values)}throw new Error("Unsupported image type "+A.type)}};function m1(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!HC[e.name])}var HC={"linear-gradient":f1,"-moz-linear-gradient":Ka,"-ms-linear-gradient":Ka,"-o-linear-gradient":Ka,"-webkit-linear-gradient":Ka,"radial-gradient":g1,"-moz-radial-gradient":Ga,"-ms-radial-gradient":Ga,"-o-radial-gradient":Ga,"-webkit-radial-gradient":Ga,"-webkit-gradient":d1},w1={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var t=A[0];return t.type===20&&t.value==="none"?[]:A.filter(function(r){return _i(r)&&m1(r)}).map(function(r){return Cg.parse(e,r)})}},y1={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(t){if(mA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},v1={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,A){return Ut(A).map(function(t){return t.filter(KA)}).map(BC)}},C1={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,A){return Ut(A).map(function(t){return t.filter(mA).map(function(r){return r.value}).join(" ")}).map(E1)}},E1=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},fi;(function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"})(fi||(fi={}));var Q1={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,A){return Ut(A).map(function(t){return t.filter(_1)})}},_1=function(e){return mA(e)||KA(e)},Gu=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},I1=Gu("top"),U1=Gu("right"),F1=Gu("bottom"),T1=Gu("left"),Wu=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(A,t){return BC(t.filter(KA))}}},S1=Wu("top-left"),R1=Wu("top-right"),H1=Wu("bottom-right"),L1=Wu("bottom-left"),ju=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},D1=ju("top"),x1=ju("right"),P1=ju("bottom"),k1=ju("left"),zu=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,t){return Do(t)?t.number:0}}},O1=zu("top"),N1=zu("right"),b1=zu("bottom"),V1=zu("left"),M1={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},K1={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,A){switch(A){case"rtl":return 1;case"ltr":default:return 0}}},G1={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,A){return A.filter(mA).reduce(function(t,r){return t|W1(r.value)},0)}},W1=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;
vendor: 14,802 bytes, line 57
57case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},j1={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},z1={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},Au;(function(e){e.NORMAL="normal",e.STRICT="strict"})(Au||(Au={}));var X1={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"strict":return Au.STRICT;case"normal":default:return Au.NORMAL}}},J1={name:"line-height",initialValue:"normal",prefix:!1,type:4},$m=function(e,A){return mA(e)&&e.value==="normal"?1.2*A:e.type===17?A*e.number:KA(e)?vA(e,A):A},$1={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,A){return A.type===20&&A.value==="none"?null:Cg.parse(e,A)}},Y1={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,A){switch(A){case"inside":return 0;case"outside":default:return 1}}},Xf={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Xu=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},q1=Xu("top"),Z1=Xu("right"),AS=Xu("bottom"),eS=Xu("left"),tS={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,A){return A.filter(mA).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},rS={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ju=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},nS=Ju("top"),iS=Ju("right"),sS=Ju("bottom"),oS=Ju("left"),aS={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,A){switch(A){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},lS={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},uS={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.length===1&&zf(A[0],"none")?[]:Ut(A).map(function(t){for(var r={color:Mt.TRANSPARENT,offsetX:se,offsetY:se,blur:se},n=0,i=0;i<t.length;i++){var s=t[i];Mr(s)?(n===0?r.offsetX=s:n===1?r.offsetY=s:r.blur=s,n++):r.color=Hr.parse(e,s)}return r})}},cS={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},hS={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,A){if(A.type===20&&A.value==="none")return null;if(A.type===18){var t=gS[A.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return t(A.values)}return null}},fS=function(e){var A=e.filter(function(t){return t.type===17}).map(function(t){return t.number});return A.length===6?A:null},dS=function(e){var A=e.filter(function(l){return l.type===17}).map(function(l){return l.number}),t=A[0],r=A[1];A[2],A[3];var n=A[4],i=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var s=A[12],a=A[13];return A[14],A[15],A.length===16?[t,r,n,i,s,a]:null},gS={matrix:fS,matrix3d:dS},Ym={type:16,number:50,flags:Lo},pS=[Ym,Ym],BS={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,A){var t=A.filter(KA);return t.length!==2?pS:[t[0],t[1]]}},mS={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Ks;(function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"})(Ks||(Ks={}));var wS={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"break-all":return Ks.BREAK_ALL;case"keep-all":return Ks.KEEP_ALL;case"normal":default:return Ks.NORMAL}}},yS={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,A){if(A.type===20)return{auto:!0,order:0};if(ki(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},LC={name:"time",parse:function(e,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},vS={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,A){return ki(A)?A.number:1}},CS={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ES={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,A){return A.filter(mA).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},QS={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,A){var t=[],r=[];return A.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},_S={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},IS={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,A){if(ki(A))return A.number;if(mA(A))switch(A.value){case"bold":return 700;case"normal":default:return 400}return 400}},US={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.filter(mA).map(function(t){return t.value})}},FS={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},XA=function(e,A){return(e&A)!==0},TS={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var t=A[0];return t.type===20&&t.value==="none"?[]:A}},SS={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return null;var t=A[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=A.filter(pC),i=0;i<n.length;i++){var s=n[i],a=n[i+1];if(s.type===20){var l=a&&ki(a)?a.number:1;r.push({counter:s.value,increment:l})}}return r}},RS={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return[];for(var t=[],r=A.filter(pC),n=0;n<r.length;n++){var i=r[n],s=r[n+1];if(mA(i)&&i.value!=="none"){var a=s&&ki(s)?s.number:0;t.push({counter:i.value,reset:a})}}return t}},HS={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,A){return A.filter(Do).map(function(t){return LC.parse(e,t)})}},LS={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return null;var t=A[0];if(t.type===20&&t.value==="none")return null;var r=[],n=A.filter(i1);if(n.length%2!==0)return null;for(var i=0;i<n.length;i+=2){var s=n[i].value,a=n[i+1].value;r.push({open:s,close:a})}return r}},qm=function(e,A,t){if(!e)return"";var r=e[Math.min(A,e.length-1)];return r?t?r.open:r.close:""},DS={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.length===1&&zf(A[0],"none")?[]:Ut(A).map(function(t){for(var r={color:255,offsetX:se,offsetY:se,blur:se,spread:se,inset:!1},n=0,i=0;i<t.length;i++){var s=t[i];zf(s,"inset")?r.inset=!0:Mr(s)?(n===0?r.offsetX=s:n===1?r.offsetY=s:n===2?r.blur=s:r.spread=s,n++):r.color=Hr.parse(e,s)}return r})}},xS={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,A){var t=[0,1,2],r=[];return A.filter(mA).forEach(function(n){switch(n.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),t.forEach(function(n){r.indexOf(n)===-1&&r.push(n)}),r}},PS={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},kS={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,A){return Do(A)?A.number:0}},OS=function(){function e(A,t){var r,n;this.animationDuration=K(A,HS,t.animationDuration),this.backgroundClip=K(A,a1,t.backgroundClip),this.backgroundColor=K(A,l1,t.backgroundColor),this.backgroundImage=K(A,w1,t.backgroundImage),this.backgroundOrigin=K(A,y1,t.backgroundOrigin),this.backgroundPosition=K(A,v1,t.backgroundPosition),this.backgroundRepeat=K(A,C1,t.backgroundRepeat),this.backgroundSize=K(A,Q1,t.backgroundSize),this.borderTopColor=K(A,I1,t.borderTopColor),this.borderRightColor=K(A,U1,t.borderRightColor),this.borderBottomColor=K(A,F1,t.borderBottomColor),this.borderLeftColor=K(A,T1,t.borderLeftColor),this.borderTopLeftRadius=K(A,S1,t.borderTopLeftRadius),this.borderTopRightRadius=K(A,R1,t.borderTopRightRadius),this.borderBottomRightRadius=K(A,H1,t.borderBottomRightRadius),this.borderBottomLeftRadius=K(A,L1,t.borderBottomLeftRadius),this.borderTopStyle=K(A,D1,t.borderTopStyle),this.borderRightStyle=K(A,x1,t.borderRightStyle),this.borderBottomStyle=K(A,P1,t.borderBottomStyle),this.borderLeftStyle=K(A,k1,t.borderLeftStyle),this.borderTopWidth=K(A,O1,t.borderTopWidth),this.borderRightWidth=K(A,N1,t.borderRightWidth),this.borderBottomWidth=K(A,b1,t.borderBottomWidth),this.borderLeftWidth=K(A,V1,t.borderLeftWidth),this.boxShadow=K(A,DS,t.boxShadow),this.color=K(A,M1,t.color),this.direction=K(A,K1,t.direction),this.display=K(A,G1,t.display),this.float=K(A,j1,t.cssFloat),this.fontFamily=K(A,QS,t.fontFamily),this.fontSize=K(A,_S,t.fontSize),this.fontStyle=K(A,FS,t.fontStyle),this.fontVariant=K(A,US,t.fontVariant),this.fontWeight=K(A,IS,t.fontWeight),this.letterSpacing=K(A,z1,t.letterSpacing),this.lineBreak=K(A,X1,t.lineBreak),this.lineHeight=K(A,J1,t.lineHeight),this.listStyleImage=K(A,$1,t.listStyleImage),this.listStylePosition=K(A,Y1,t.listStylePosition),this.listStyleType=K(A,Xf,t.listStyleType),this.marginTop=K(A,q1,t.marginTop),this.marginRight=K(A,Z1,t.marginRight),this.marginBottom=K(A,AS,t.marginBottom),this.marginLeft=K(A,eS,t.marginLeft),this.opacity=K(A,vS,t.opacity);var i=K(A,tS,t.overflow);this.overflowX=i[0],this.overflowY=i[i.length>1?1:0],this.overflowWrap=K(A,rS,t.overflowWrap),this.paddingTop=K(A,nS,t.paddingTop),this.paddingRight=K(A,iS,t.paddingRight),this.paddingBottom=K(A,sS,t.paddingBottom),this.paddingLeft=K(A,oS,t.paddingLeft),this.paintOrder=K(A,xS,t.paintOrder),this.position=K(A,lS,t.position),this.textAlign=K(A,aS,t.textAlign),this.textDecorationColor=K(A,CS,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=K(A,ES,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=K(A,uS,t.textShadow),this.textTransform=K(A,cS,t.textTransform),this.transform=K(A,hS,t.transform),this.transformOrigin=K(A,BS,t.transformOrigin),this.visibility=K(A,mS,t.visibility),this.webkitTextStrokeColor=K(A,PS,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=K(A,kS,t.webkitTextStrokeWidth),this.wordBreak=K(A,wS,t.wordBreak),this.zIndex=K(A,yS,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return Lr(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return XA(this.display,4)||XA(this.display,33554432)||XA(this.display,268435456)||XA(this.display,536870912)||XA(this.display,67108864)||XA(this.display,134217728)},e}(),NS=function(){function e(A,t){this.content=K(A,TS,t.content),this.quotes=K(A,LS,t.quotes)}return e}(),Zm=function(){function e(A,t){this.counterIncrement=K(A,SS,t.counterIncrement),this.counterReset=K(A,RS,t.counterReset)}return e}(),K=function(e,A,t){var r=new dC,n=t!==null&&typeof t<"u"?t.toString():A.initialValue;r.write(n);var i=new gC(r.read());switch(A.type){case 2:var s=i.parseComponentValue();return A.parse(e,mA(s)?s.value:A.initialValue);case 0:return A.parse(e,i.parseComponentValue());case 1:return A.parse(e,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(A.format){case"angle":return Mu.parse(e,i.parseComponentValue());case"color":return Hr.parse(e,i.parseComponentValue());case"image":return Cg.parse(e,i.parseComponentValue());case"length":var a=i.parseComponentValue();return Mr(a)?a:se;case"length-percentage":var l=i.parseComponentValue();return KA(l)?l:se;case"time":return LC.parse(e,i.parseComponentValue())}break}},bS="data-html2canvas-debug",VS=function(e){var A=e.getAttribute(bS);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Jf=function(e,A){var t=VS(e);return t===1||A===t},Ft=function(){function e(A,t){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Jf(t,3))debugger;this.styles=new OS(A,window.getComputedStyle(t,null)),qf(t)&&(this.styles.animationDuration.some(function(r){return r>0}
57)&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=bu(this.context,t),Jf(t,4)&&(this.flags|=16)}return e}(),MS
vendor: 13,339 bytes, line 57
57="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAB
vendor: 12,821 bytes, line 57
57QAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",
57Aw="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 15,537 bytes, line 57
57+/",Us=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Wa=0;Wa<Aw.length;Wa++)Us[Aw.charCodeAt(Wa)]=Wa;var KS=function(e){var A=e.length*.75,t=e.length,r,n=0,i,s,a,l;e[e.length-1]==="="&&(A--,e[e.length-2]==="="&&A--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(A):new Array(A),h=Array.isArray(u)?u:new Uint8Array(u);for(r=0;r<t;r+=4)i=Us[e.charCodeAt(r)],s=Us[e.charCodeAt(r+1)],a=Us[e.charCodeAt(r+2)],l=Us[e.charCodeAt(r+3)],h[n++]=i<<2|s>>4,h[n++]=(s&15)<<4|a>>2,h[n++]=(a&3)<<6|l&63;return u},GS=function(e){for(var A=e.length,t=[],r=0;r<A;r+=2)t.push(e[r+1]<<8|e[r]);return t},WS=function(e){for(var A=e.length,t=[],r=0;r<A;r+=4)t.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return t},fn=5,Eg=6+5,ph=2,jS=Eg-fn,DC=65536>>fn,zS=1<<fn,Bh=zS-1,XS=1024>>fn,JS=DC+XS,$S=JS,YS=32,qS=$S+YS,ZS=65536>>Eg,AR=1<<jS,eR=AR-1,ew=function(e,A,t){return e.slice?e.slice(A,t):new Uint16Array(Array.prototype.slice.call(e,A,t))},tR=function(e,A,t){return e.slice?e.slice(A,t):new Uint32Array(Array.prototype.slice.call(e,A,t))},rR=function(e,A){var t=KS(e),r=Array.isArray(t)?WS(t):new Uint32Array(t),n=Array.isArray(t)?GS(t):new Uint16Array(t),i=24,s=ew(n,i/2,r[4]/2),a=r[5]===2?ew(n,(i+r[4])/2):tR(r,Math.ceil((i+r[4])/4));return new nR(r[0],r[1],r[2],r[3],s,a)},nR=function(){function e(A,t,r,n,i,s){this.initialValue=A,this.errorValue=t,this.highStart=r,this.highValueIndex=n,this.index=i,this.data=s}return e.prototype.get=function(A){var t;if(A>=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>fn],t=(t<<ph)+(A&Bh),this.data[t];if(A<=65535)return t=this.index[DC+(A-55296>>fn)],t=(t<<ph)+(A&Bh),this.data[t];if(A<this.highStart)return t=qS-ZS+(A>>Eg),t=this.index[t],t+=A>>fn&eR,t=this.index[t],t=(t<<ph)+(A&Bh),this.data[t];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),tw="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",iR=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var ja=0;ja<tw.length;ja++)iR[tw.charCodeAt(ja)]=ja;var sR=1,mh=2,wh=3,rw=4,nw=5,oR=7,iw=8,yh=9,vh=10,sw=11,ow=12,aw=13,lw=14,Ch=15,aR=function(e){for(var A=[],t=0,r=e.length;t<r;){var n=e.charCodeAt(t++);if(n>=55296&&n<=56319&&t<r){var i=e.charCodeAt(t++);(i&64512)===56320?A.push(((n&1023)<<10)+(i&1023)+65536):(A.push(n),t--)}else A.push(n)}return A},lR=function(){for(var e=[],A=0;A<arguments.length;A++)e[A]=arguments[A];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var t=e.length;if(!t)return"";for(var r=[],n=-1,i="";++n<t;){var s=e[n];s<=65535?r.push(s):(s-=65536,r.push((s>>10)+55296,s%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},uR=rR(MS),je="Ã",Eh="÷",cR=function(e){return uR.get(e)},hR=function(e,A,t){var r=t-2,n=A[r],i=A[t-1],s=A[t];if(i===mh&&s===wh)return je;if(i===mh||i===wh||i===rw||s===mh||s===wh||s===rw)return Eh;if(i===iw&&[iw,yh,sw,ow].indexOf(s)!==-1||(i===sw||i===yh)&&(s===yh||s===vh)||(i===ow||i===vh)&&s===vh||s===aw||s===nw||s===oR||i===sR)return je;if(i===aw&&s===lw){for(;n===nw;)n=A[--r];if(n===lw)return je}if(i===Ch&&s===Ch){for(var a=0;n===Ch;)a++,n=A[--r];if(a%2===0)return je}return Eh},fR=function(e){var A=aR(e),t=A.length,r=0,n=0,i=A.map(cR);return{next:function(){if(r>=t)return{done:!0,value:null};for(var s=je;r<t&&(s=hR(A,i,++r))===je;);if(s!==je||r===t){var a=lR.apply(null,A.slice(n,r));return n=r,{value:a,done:!1}}return{done:!0,value:null}}}},dR=function(e){for(var A=fR(e),t=[],r;!(r=A.next()).done;)r.value&&t.push(r.value.slice());return t},gR=function(e){var A=123;if(e.createRange){var t=e.createRange();if(t.getBoundingClientRect){var r=e.createElement("boundtest");r.style.height=A+"px",r.style.display="block",e.body.appendChild(r),t.selectNode(r);var n=t.getBoundingClientRect(),i=Math.round(n.height);if(e.body.removeChild(r),i===A)return!0}}return!1},pR=function(e){var A=e.createElement("boundtest");A.style.width="50px",A.style.display="block",A.style.fontSize="12px",A.style.letterSpacing="0px",A.style.wordSpacing="0px",e.body.appendChild(A);var t=e.createRange();A.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var r=A.firstChild,n=Vu(r.data).map(function(l){return NA(l)}),i=0,s={},a=n.every(function(l,u){t.setStart(r,i),t.setEnd(r,i+l.length);var h=t.getBoundingClientRect();i+=l.length;var d=h.x>s.x||h.y>s.y;return s=h,u===0?!0:d});return e.body.removeChild(A),a},BR=function(){return typeof new Image().crossOrigin<"u"},mR=function(){return typeof new XMLHttpRequest().responseType=="string"},wR=function(e){var A=new Image,t=e.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(A,0,0),t.toDataURL()}catch{return!1}return!0},uw=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},yR=function(e){var A=e.createElement("canvas"),t=100;A.width=t,A.height=t;var r=A.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,i=A.toDataURL();n.src=i;var s=$f(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),cw(s).then(function(a){r.drawImage(a,0,0);var l=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var u=e.createElement("div");return u.style.backgroundImage="url("+i+")",u.style.height=t+"px",uw(l)?cw($f(t,t,0,0,u)):Promise.reject(!1)}).then(function(a){return r.drawImage(a,0,0),uw(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},$f=function(e,A,t,r,n){var i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),a=document.createElementNS(i,"foreignObject");return s.setAttributeNS(null,"width",e.toString()),s.setAttributeNS(null,"height",A.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",t.toString()),a.setAttributeNS(null,"y",r.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(a),a.appendChild(n),s},cw=function(e){return new Promise(function(A,t){var r=new Image;r.onload=function(){return A(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},re={get SUPPORT_RANGE_BOUNDS(){var e=gR(document);return Object.defineProperty(re,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=re.SUPPORT_RANGE_BOUNDS&&pR(document);return Object.defineProperty(re,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=wR(document);return Object.defineProperty(re,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?yR(document):Promise.resolve(!1);return Object.defineProperty(re,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=BR();return Object.defineProperty(re,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=mR();return Object.defineProperty(re,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(re,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(re,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Gs=function(){function e(A,t){this.text=A,this.bounds=t}return e}(),vR=function(e,A,t,r){var n=QR(A,t),i=[],s=0;return n.forEach(function(a){if(t.textDecorationLine.length||a.trim().length>0)if(re.SUPPORT_RANGE_BOUNDS){var l=hw(r,s,a.length).getClientRects();if(l.length>1){var u=Qg(a),h=0;u.forEach(function(g){i.push(new Gs(g,Xt.fromDOMRectList(e,hw(r,h+s,g.length).getClientRects()))),h+=g.length})}else i.push(new Gs(a,Xt.fromDOMRectList(e,l)))}else{var d=r.splitText(a.length);i.push(new Gs(a,CR(e,r))),r=d}else re.SUPPORT_RANGE_BOUNDS||(r=r.splitText(a.length));s+=a.length}),i},CR=function(e,A){var t=A.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(r,A);var i=bu(e,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return Xt.EMPTY},hw=function(e,A,t){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(e,A),n.setEnd(e,A+t),n},Qg=function(e){if(re.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(e)).map(function(t){return t.segment})}return dR(e)},ER=function(e,A){if(re.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(e)).map(function(r){return r.segment})}return IR(e,A)},QR=function(e,A){return A.letterSpacing!==0?Qg(e):ER(e,A)},_R=[32,160,4961,65792,65793,4153,4241],IR=function(e,A){for(var t=ZF(e,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),r=[],n,i=function(){if(n.value){var s=n.value.slice(),a=Vu(s),l="";a.forEach(function(u){_R.indexOf(u)===-1?l+=NA(u):(l.length&&r.push(l),r.push(NA(u)),l="")}),l.length&&r.push(l)}};!(n=t.next()).done;)i();return r},UR=function(){function e(A,t,r){this.text=FR(t.data,r.textTransform),this.textBounds=vR(A,this.text,r,t)}return e}(),FR=function(e,A){switch(A){case 1:return e.toLowerCase();case 3:return e.replace(TR,SR);case 2:return e.toUpperCase();default:return e}},TR=/(^|\s|:|-|\(|\))([a-z])/g,SR=function(e,A,t){return e.length>0?A+t.toUpperCase():e},xC=function(e){gt(A,e);function A(t,r){var n=e.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return A}(Ft),PC=function(e){gt(A,e);function A(t,r){var n=e.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return A}(Ft),kC=function(e){gt(A,e);function A(t,r){var n=e.call(this,t,r)||this,i=new XMLSerializer,s=bu(t,r);return r.setAttribute("width",s.width+"px"),r.setAttribute("height",s.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return A}(Ft),OC=function(e){gt(A,e);function A(t,r){var n=e.call(this,t,r)||this;return n.value=r.value,n}return A}(Ft),Yf=function(e){gt(A,e);function A(t,r){var n=e.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return A}(Ft),RR=[{type:15,flags:0,unit:"px",number:3}],HR=[{type:16,flags:0,number:50}],LR=function(e){return e.width>e.height?new Xt(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new Xt(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},DR=function(e){var A=e.type===xR?new Array(e.value.length+1).join("â¢"):e.value;return A.length===0?e.placeholder||"":A},eu="checkbox",tu="radio",xR="password",fw=707406591,_g=function(e){gt(A,e);function A(t,r){var n=e.call(this,t,r)||this;switch(n.type=r.type.toLowerCase(),n.checked=r.checked,n.value=DR(r),(n.type===eu||n.type===tu)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=LR(n.bounds)),n.type){case eu:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=RR;break;case tu:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=HR;break}return n}return A}(Ft),NC=function(e){gt(A,e);function A(t,r){var n=e.call(this,t,r)||this,i=r.options[r.selectedIndex||0];return n.value=i&&i.text||"",n}return A}(Ft),bC=function(e){gt(A,e);function A(t,r){var n=e.call(this,t,r)||this;return n.value=r.value,n}return A}(Ft),VC=function(e){gt(A,e);function A(t,r){var n=e.call(this,t,r)||this;n.src=r.src,n.width=parseInt(r.width,10)||0,n.height=parseInt(r.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){n.tree=KC(t,r.contentWindow.document.documentElement);var i=r.contentWindow.document.documentElement?Ms(t,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):Mt.TRANSPARENT,s=r.contentWindow.document.body?Ms(t,getComputedStyle(r.contentWindow.document.body).backgroundColor):Mt.TRANSPARENT;n.backgroundColor=Lr(i)?Lr(s)?n.styles.backgroundColor:s:i}}catch{}return n}return A}(Ft),PR=["OL","UL","MENU"],Bl=function(e,A,t,r){for(var n=A.firstChild,i=void 0;n;n=i)if(i=n.nextSibling,GC(n)&&n.data.trim().length>0)t.textNodes.push(new UR(e,n,t.styles));else if(ii(n))if(XC(n)&&n.assignedNodes)n.assignedNodes().forEach(function(a){return Bl(e,a,t,r)});else{var s=MC(e,n);s.styles.isVisible()&&(kR(n,s,r)?s.flags|=4:OR(s.styles)&&(s.flags|=2),PR.indexOf(n.tagName)!==-1&&(s.flags|=8),t.elements.push(s),n.slot,n.shadowRoot?Bl(e,n.shadowRoot,s,r):!ru(n)&&!WC(n)&&!nu(n)&&Bl(e,n,s,r))}},MC=function(e,A){return Zf(A)?new xC(e,A):jC(A)?new PC(e,A):WC(A)?new kC(e,A):NR(A)?new OC(e,A):bR(A)?new Yf(e,A):VR(A)?new _g(e,A):nu(A)?new NC(e,A):ru(A)?new bC(e,A):zC(A)?new VC(e,A):new Ft(e,A)},KC=function(e,A){var t=MC(e,A);return t.flags|=4,Bl(e,A,t,t),t},kR=function(e,A,t){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Ig(e)&&t.styles.isTransparent()},OR=function(e){return e.isPositioned()||e.isFloating()},GC=function(e){return e.nodeType===Node.TEXT_NODE},ii=function(e){return e.nodeType===Node.ELEMENT_NODE},qf=function(e){return ii(e)&&typeof e.style<"u"&&!ml(e)},ml=function(e){return typeof e.className=="object"},NR=function(e){return e.tagName==="LI"},bR=function(e){return e.tagName==="OL"},VR=function(e){return e.tagName==="INPUT"},MR=function(e){return e.tagName==="HTML"},WC=function(e){return e.tagName==="svg"},Ig=function(e){return e.tagName==="BODY"},jC=function(e){return e.tagName==="CANVAS"},dw=function(e){return e.tagName==="VIDEO"},Zf=function(e){return e.tagName==="IMG"},zC=function(e){return e.tagName==="IFRAME"},gw=function(e){return e.tagName==="STYLE"},KR=function(e){return e.tagName==="SCRIPT"},ru=function(e){return e.tagName==="TEXTAREA"},nu=function(e){return e.tagName==="SELECT"},XC=function(e){return e.tagName==="SLOT"},pw=function(e){return e.tagName.indexOf("-")>0},GR=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(A){var t=this.counters[A];return t||[]},e.prototype.pop=function(A){var t=this;A.forEach(function(r){return t.counters[r].pop()})},e.prototype.parse=function(A){var t=this,r=A.counterIncrement,n=A.counterReset,i=!0;r!==null&&r.forEach(function(a){var l=t.counters[a.counter];l&&a.increment!==0&&(i=!1,l.length||l.push(1),l[Math.max(0,l.length-1)]+=a.increment)});var s=[];return i&&n.forEach(function(a){var l=t.counters[a.counter];s.push(a.counter),l||(l=t.counters[a.counter]=[]),l.push(a.reset)}),s},e}(),Bw={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},mw={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,9
vendor: 5,325 bytes, line 57
570,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ
","Õ","Õ","Õ","Õ","Õ","Ô¿","Ô¾","Ô½","Ô¼","Ô»","Ôº","Ô¹","Ô¸","Ô·","Ô¶","Ôµ","Ô´","Ô³","Ô²","Ô±"]},WR={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","ת","ש","ר","×§","צ","פ","×¢","ס","× ","×","×","×","××","××","××","××","××","×","×","×","×","×","×","×","×","×","×"]},jR={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["áµ","á°","á¯","á´","á®","á","á¬","á«","áª","á©","á¨","á§","á¦","á¥","á¤","á³","á¢","á¡","á ","á","á","á","á²","á","á","á","á","á","á","á±","á","á","á","á","á","á","á"]},Nn=function(e,A,t,r,n,i){return e<A||e>t?Bo(e,n,i.length>0):r.integers.reduce(function(s,a,l){for(;e>=a;)e-=a,s+=r.values[l];return s},"")+i},JC=function(e,A,t,r){var n="";do t||e--,n=r(e)+n,e/=A;while(e*A>=A);return n},kA=function(e,A,t,r,n){var i=t-A+1;return(e<0?"-":"")+(JC(Math.abs(e),i,r,function(s){return NA(Math.floor(s%i)+A)})+n)},Zr=function(e,A,t){t===void 0&&(t=". ");var r=A.length;return JC(Math.abs(e),r,!1,function(n){return A[Math.floor(n%r)]})+t},Mn=1,or=2,ar=4,Fs=8,Ht=function(e,A,t,r,n,i){if(e<-9999||e>9999)return Bo(e,4,n.length>0);var s=Math.abs(e),a=n;if(s===0)return A[0]+a;for(var l=0;s>0&&l<=4;l++){var u=s%10;u===0&&XA(i,Mn)&&a!==""?a=A[u]+a:u>1||u===1&&l===0||u===1&&l===1&&XA(i,or)||u===1&&l===1&&XA(i,ar)&&e>100||u===1&&l>1&&XA(i,Fs)?a=A[u]+(l>0?t[l-1]:"")+a:u===1&&l>0&&(a=t[l-1]+a),s=Math.floor(s/10)}return(e<0?r:"")+a},ww="åç¾åè¬",yw="æ¾ä½°ä»è¬",vw="ãã¤ãã¹",Qh="ë§ì´ëì¤",Bo=function(e,A,t){var r=t?". ":"",n=t?"ã":"",i=t?", ":"",s=t?" ":"";switch(A){case 0:return"â¢"+s;case 1:return"â¦"+s;case 2:return"â¾"+s;case 5:var a=kA(e,48,57,!0,r);return a.length<4?"0"+a:a;case 4:return Zr(e,"ãä¸äºä¸åäºå
ä¸å
«ä¹",n);case 6:return Nn(e,1,3999,Bw,3,r).toLowerCase();case 7:return Nn(e,1,3999,Bw,3,r);case 8:return kA(e,945,969,!1,r);case 9:return kA(e,97,122,!1,r);case 10:return kA(e,65,90,!1,r);case 11:return kA(e,1632,1641,!0,r);case 12:case 49:return Nn(e,1,9999,mw,3,r);case 35:return Nn(e,1,9999,mw,3,r).toLowerCase();case 13:return kA(e,2534,2543,!0,r);case 14:case 30:return kA(e,6112,6121,!0,r);case 15:return Zr(e,"åä¸å¯
å¯è¾°å·³åæªç³é
æäº¥",n);case 16:return Zr(e,"ç²ä¹ä¸ä¸æå·±åºè¾å£¬ç¸",n);case 17:case 48:return Ht(e,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹",ww,"è² ",n,or|ar|Fs);case 47:return Ht(e,"é¶å£¹è²³åèä¼é¸ææç",yw,"è² ",n,Mn|or|ar|Fs);case 42:return Ht(e,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹",ww,"è´",n,or|ar|Fs);case 41:return Ht(e,"é¶å£¹è´°åèä¼éææç",yw,"è´",n,Mn|or|ar|Fs);case 26:return Ht(e,"ãä¸äºä¸åäºå
ä¸å
«ä¹","åç¾åä¸",vw,n,0);case 25:return Ht(e,"é¶å£±å¼ååä¼å
ä¸å
«ä¹","æ¾ç¾åä¸",vw,n,Mn|or|ar);case 31:return Ht(e,"ìì¼ì´ì¼ì¬ì¤ì¡ì¹ í구","ìë°±ì²ë§",Qh,i,Mn|or|ar);case 33:return Ht(e,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹","åç¾åè¬",Qh,i,0);case 32:return Ht(e,"é¶å£¹è²³ååäºå
ä¸å
«ä¹","æ¾ç¾å",Qh,i,Mn|or|ar);case 18:return kA(e,2406,2415,!0,r);case 20:return Nn(e,1,19999,jR,3,r);case 21:return kA(e,2790,2799,!0,r);case 22:return kA(e,2662,2671,!0,r);case 22:return Nn(e,1,10999,WR,3,r);case 23:return Zr(e,"ããããããããããããããããã¡ã¤ã¦ã¨ãªã«ã¬ãã®ã¯ã²ãµã¸ã»ã¾ã¿ãããããããããããããããã");case 24:return Zr(e,"ããã¯ã«ã»ã¸ã¨ã¡ãã¬ããããããããã¤ããªããããã®ãããã¾ããµããã¦ãããããã¿ããã²ããã");case 27:return kA(e,3302,3311,!0,r);case 28:return Zr(e,"ã¢ã¤ã¦ã¨ãªã«ãã¯ã±ã³ãµã·ã¹ã»ã½ã¿ããããããããããããããããã ã¡ã¢ã¤ã¦ã¨ã©ãªã«ã¬ãã¯ã°ã±ã²ã³",n);case 29:return Zr(e,"ã¤ããããããããªãã«ã²ã¯ã«ã¨ã¿ã¬ã½ãããã©ã ã¦ã°ããªã¯ã¤ãã±ãã³ã¨ãã¢ãµãã¦ã¡ãã·ã±ãã¢ã»ã¹",n);case 34:return kA(e,3792,3801,!0,r);case 37:return kA(e,6160,6169,!0,r);case 38:return kA(e,4160,4169,!0,r);case 39:return kA(e,2918,2927,!0,r);case 40:return kA(e,1776,1785,!0,r);case 43:return kA(e,3046,3055,!0,r);case 44:return kA(e,3174,3183,!0,r);case 45:return kA(e,3664,3673,!0,r);case 46:return kA(e,3872,3881,!0,r);case 3:default:return kA(e,48,57,!0,r)}},$C="data-html2canvas-ignore",Cw=function(){function e(A,t,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new GR,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(A,t){var r=this,n=zR(A,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var i=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,a=n.contentWindow,l=a.document,u=$R(n).then(function(){return Ie(r,void 0,void 0,function(){var h,d;return Be(this,function(g){switch(g.label){case 0:return this.scrolledElements.forEac
vendor: 8,917 bytes, lines 57-61
57h(AH),a&&(a.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(a.scrollY!==t.top||a.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-t.left,a.scrollY-t.top,0,0))),h=this.options.onclone,d=this.clonedReferenceElement,typeof d>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:g.sent(),g.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,JR(l)]:[3,4];case 3:g.sent(),g.label=4;case 4:return typeof h=="function"?[2,Promise.resolve().then(function(){return h(l,d)}).then(function(){return n})]:[2,n]}})})});return l.open(),l.write(qR(document.doctype)+"<html></html>"),ZR(this.referenceElement.ownerDocument,i,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),u},e.prototype.createElementClone=function(A){if(Jf(A,2))debugger;if(jC(A))return this.createCanvasClone(A);if(dw(A))return this.createVideoClone(A);if(gw(A))return this.createStyleClone(A);var t=A.cloneNode(!1);return Zf(t)&&(Zf(A)&&A.currentSrc&&A.currentSrc!==A.src&&(t.src=A.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),pw(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(A){var t=document.createElement("html2canvascustomelement");return _h(A.style,t),t},e.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(i,s){return s&&typeof s.cssText=="string"?i+s.cssText:i},""),n=A.cloneNode(!1);return n.textContent=r,n}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return A.cloneNode(!1)},e.prototype.createCanvasClone=function(A){var t;if(this.options.inlineImages&&A.ownerDocument){var r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var i=A.getContext("2d"),s=n.getContext("2d");if(s)if(!this.options.allowTaint&&i)s.putImageData(i.getImageData(0,0,A.width,A.height),0,0);else{var a=(t=A.getContext("webgl2"))!==null&&t!==void 0?t:A.getContext("webgl");if(a){var l=a.getContextAttributes();(l==null?void 0:l.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}s.drawImage(A,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},e.prototype.createVideoClone=function(A){var t=A.ownerDocument.createElement("canvas");t.width=A.offsetWidth,t.height=A.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(A,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},e.prototype.appendChildNode=function(A,t,r){(!ii(t)||!KR(t)&&!t.hasAttribute($C)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!ii(t)||!gw(t))&&A.appendChild(this.cloneNode(t,r))},e.prototype.cloneChildNodes=function(A,t,r){for(var n=this,i=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;i;i=i.nextSibling)if(ii(i)&&XC(i)&&typeof i.assignedNodes=="function"){var s=i.assignedNodes();s.length&&s.forEach(function(a){return n.appendChildNode(t,a,r)})}else this.appendChildNode(t,i,r)},e.prototype.cloneNode=function(A,t){if(GC(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var r=A.ownerDocument.defaultView;if(r&&ii(A)&&(qf(A)||ml(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var i=r.getComputedStyle(A),s=r.getComputedStyle(A,":before"),a=r.getComputedStyle(A,":after");this.referenceElement===A&&qf(n)&&(this.clonedReferenceElement=n),Ig(n)&&rH(n);var l=this.counters.parse(new Zm(this.context,i)),u=this.resolvePseudoContent(A,n,s,Ws.BEFORE);pw(A)&&(t=!0),dw(A)||this.cloneChildNodes(A,n,t),u&&n.insertBefore(u,n.firstChild);var h=this.resolvePseudoContent(A,n,a,Ws.AFTER);return h&&n.appendChild(h),this.counters.pop(l),(i&&(this.options.copyStyles||ml(A))&&!zC(A)||t)&&_h(i,n),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(ru(A)||nu(A))&&(ru(n)||nu(n))&&(n.value=A.value),n}return A.cloneNode(!1)},e.prototype.resolvePseudoContent=function(A,t,r,n){var i=this;if(r){var s=r.content,a=t.ownerDocument;if(!(!a||!s||s==="none"||s==="-moz-alt-content"||r.display==="none")){this.counters.parse(new Zm(this.context,r));var l=new NS(this.context,r),u=a.createElement("html2canvaspseudoelement");_h(r,u),l.content.forEach(function(d){if(d.type===0)u.appendChild(a.createTextNode(d.value));else if(d.type===22){var g=a.createElement("img");g.src=d.value,g.style.opacity="1",u.appendChild(g)}else if(d.type===18){if(d.name==="attr"){var E=d.values.filter(mA);E.length&&u.appendChild(a.createTextNode(A.getAttribute(E[0].value)||""))}else if(d.name==="counter"){var _=d.values.filter(_i),F=_[0],L=_[1];if(F&&mA(F)){var v=i.counters.getCounterValue(F.value),m=L&&mA(L)?Xf.parse(i.context,L.value):3;u.appendChild(a.createTextNode(Bo(v,m,!1)))}}else if(d.name==="counters"){var I=d.values.filter(_i),F=I[0],R=I[1],L=I[2];if(F&&mA(F)){var x=i.counters.getCounterValues(F.value),H=L&&mA(L)?Xf.parse(i.context,L.value):3,y=R&&R.type===0?R.value:"",B=x.map(function(U){return Bo(U,H,!1)}).join(y);u.appendChild(a.createTextNode(B))}}}else if(d.type===20)switch(d.value){case"open-quote":u.appendChild(a.createTextNode(qm(l.quotes,i.quoteDepth++,!0)));break;case"close-quote":u.appendChild(a.createTextNode(qm(l.quotes,--i.quoteDepth,!1)));break;default:u.appendChild(a.createTextNode(d.value))}}),u.className=Ad+" "+ed;var h=n===Ws.BEFORE?" "+Ad:" "+ed;return ml(t)?t.className.baseValue+=h:t.className+=h,u}}},e.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},e}(),Ws;(function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"})(Ws||(Ws={}));var zR=function(e,A){var t=e.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=A.width.toString(),t.height=A.height.toString(),t.scrolling="no",t.setAttribute($C,"true"),e.body.appendChild(t),t},XR=function(e){return new Promise(function(A){if(e.complete){A();return}if(!e.src){A();return}e.onload=A,e.onerror=A})},JR=function(e){return Promise.all([].slice.call(e.images,0).map(XR))},$R=function(e){return new Promise(function(A,t){var r=e.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var i=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(i),A(e))},50)}})},YR=["all","d","content"],_h=function(e,A){for(var t=e.length-1;t>=0;t--){var r=e.item(t);YR.indexOf(r)===-1&&A.style.setProperty(r,e.getPropertyValue(r))}return A},qR=function(e){var A="";return e&&(A+="<!DOCTYPE ",e.name&&(A+=e.name),e.internalSubset&&(A+=e.internalSubset),e.publicId&&(A+='"'+e.publicId+'"'),e.systemId&&(A+='"'+e.systemId+'"'),A+=">"),A},ZR=function(e,A,t){e&&e.defaultView&&(A!==e.defaultView.pageXOffset||t!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(A,t)},AH=function(e){var A=e[0],t=e[1],r=e[2];A.scrollLeft=t,A.scrollTop=r},eH=":before",tH=":after",Ad="___html2canvas___pseudoelement_before",ed="___html2canvas___pseudoelement_after",Ew=`{ 58 content: "" !important; 59 display: none !important; 60}`,rH=function(e){nH(e,"."+Ad+eH+Ew+` 61 .`+ed+tH+Ew)},nH=function(e,A){var t=e.ownerDocument;if(t){var r=t.createElement("style");r.textContent=A,e.appendChild(r)}},YC=function(){function e(){}return e.getOrigin=function(A){var t=e._link;return t?(t.href=A,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},e.isSameOrigin=function(A){return e.getOrigin(A)===e._origin},e.setContext=function(A){e._link=A.document.createElement("a"),e._origin=e.getOrigin(A.location.href)},e._origin="about:blank",e}(),iH=function(){function e(A,t){this.context=A,this._options=t,this._cache={}}return e.prototype.addImage=function(A){var t=Promise.resolve();return this.has(A)||(Uh(A)||lH(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),t},e.prototype.match=function(A){return this._cache[A]},e.prototype.loadImage=function(A){return Ie(this,void 0,void 0,function(){var t,r,n,i,s=this;return Be(this,function(a){switch(a.label){case 0:return t=YC.isSameOrigin(A),r=!Ih(A)&&this._options.useCORS===!0&&re.SUPPORT_CORS_IMAGES&&!t,n=!Ih(A)&&!t&&!Uh(A)&&typeof this._options.proxy=="str
61ing"&&re.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!Ih(A)&&!Uh(A)&&!n&&!r?[2]:(i=A,n?[4,this.proxy(i)]:[3,2]);case 1:i=a.sent(),a.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(l,u){var h=new Image;h.onload=function(){return l(h)},h.onerror=u,(uH(i)||r)&&(h.crossOrigin="anonymous"),h.src=i,h.complete===!0&&setTimeout(function(){return l(h)},500),s._options.imageTimeout>0&&setTimeout(function(){return u("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,a.sent()]}})})},e.prototype.has=function(A){return typeof this._cache[A]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(A){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise(function(i,s){var a=re.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;l.onload=function(){if(l.status===200)if(a==="text")i(l.response);else{var d=new FileReader;d.addEventListener("load",function(){return i(d.result)},!1),d.addEventListener("error",function(g){return s(g)},!1),d.readAsDataURL(l.response)}else s("Failed to proxy resource "+n+" with status code "+l.status)},l.onerror=s;var u=r.indexOf("?")>-1?"&":"?";if(l.open("GET",""+r+u+"url="+encodeURIComponent(A)+"&responseType="+a),a!=="text"&&l instanceof XMLHttpRequest&&(l.responseType=a),t._options.imageTimeout){var h=t._options.imageTimeout;l.timeout=h,l.ontimeout=function(){return s("Timed out ("+h+"ms) proxying "+n)}}l.send()})},e}(),sH=/^data:image\/svg\+xml/i,oH=/^data:image\/.*;base64,/i,aH=/^data:image\/.*/i,lH=function(e){return re.SUPPORT_SVG_DRAWING||!cH(e)},Ih=function(e){return aH.test(e)},uH=function(e){return oH.test(e)},Uh=function(e){return e.substr(0,4)==="blob"},cH=function(e){return e.substr(-3).toLowerCase()==="svg"||sH.test(e)},M=function(){function e(A,t){this.type=0,this.x=A,this.y=t}return e.prototype.add=function(A,t){return new e(this.x+A,this.y+t)},e}(),bn=function(e,A,t){return new M(e.x+(A.x-e.x)*t,e.y+(A.y-e.y)*t)},za=function(){function e(A,t,r,n){this.type=1,this.start=A,this.startControl=t,this.endControl=r,this.end=n}return e.prototype.subdivide=function(A,t){var r=bn(this.start,this.startControl,A),n=bn(this.startControl,this.endControl,A),i=bn(this.endControl,this.end,A),s=bn(r,n,A),a=bn(n,i,A),l=bn(s,a,A);return t?new e(this.start,r,s,l):new e(l,a,i,this.end)},e.prototype.add=function(A,t){return new e(this.start.add(A,t),this.startControl.add(A,t),this.endControl.add(A,t),this.end.add(A,t))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),Je=function(e){return e.type===1},hH=function(){function e(A){var t=A.styles,r=A.bounds,n=Is(t.borderTopLeftRadius,r.width,r.height),i=n[0],s=n[1],a=Is(t.borderTopRightRadius,r.width,r.height),l=a[0],u=a[1],h=Is(t.borderBottomRightRadius,r.width,r.height),d=h[0],g=h[1],E=Is(t.borderBottomLeftRadius,r.width,r.height),_=E[0],F=E[1],L=[];L.push((i+l)/r.width),L.push((_+d)/r.width),L.push((s+F)/r.height),L.push((u+g)/r.height);var v=Math.max.apply(Math,L);v>1&&(i/=v,s/=v,l/=v,u/=v,d/=v,g/=v,_/=v,F/=v);var m=r.width-l,I=r.height-g,R=r.width-d,x=r.height-F,H=t.borderTopWidth,y=t.borderRightWidth,B=t.borderBottomWidth,w=t.borderLeftWidth,Q=vA(t.paddingTop,A.bounds.width),U=vA(t.paddingRight,A.bounds.width),T=vA(t.paddingBottom,A.bounds.width),C=vA(t.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||s>0?FA(r.left+w/3,r.top+H/3,i-w/3,s-H/3,gA.TOP_LEFT):new M(r.left+w/3,r.top+H/3),this.topRightBorderDoubleOuterBox=i>0||s>0?FA(r.left+m,r.top+H/3,l-y/3,u-H/3,gA.TOP_RIGHT):new M(r.left+r.
vendor: 2,178 bytes, line 61
61width-y/3,r.top+H/3),this.bottomRightBorderDoubleOuterBox=d>0||g>0?FA(r.left+R,r.top+I,d-y/3,g-B/3,gA.BOTTOM_RIGHT):new M(r.left+r.width-y/3,r.top+r.height-B/3),this.bottomLeftBorderDoubleOuterBox=_>0||F>0?FA(r.left+w/3,r.top+x,_-w/3,F-B/3,gA.BOTTOM_LEFT):new M(r.left+w/3,r.top+r.height-B/3),this.topLeftBorderDoubleInnerBox=i>0||s>0?FA(r.left+w*2/3,r.top+H*2/3,i-w*2/3,s-H*2/3,gA.TOP_LEFT):new M(r.left+w*2/3,r.top+H*2/3),this.topRightBorderDoubleInnerBox=i>0||s>0?FA(r.left+m,r.top+H*2/3,l-y*2/3,u-H*2/3,gA.TOP_RIGHT):new M(r.left+r.width-y*2/3,r.top+H*2/3),this.bottomRightBorderDoubleInnerBox=d>0||g>0?FA(r.left+R,r.top+I,d-y*2/3,g-B*2/3,gA.BOTTOM_RIGHT):new M(r.left+r.width-y*2/3,r.top+r.height-B*2/3),this.bottomLeftBorderDoubleInnerBox=_>0||F>0?FA(r.left+w*2/3,r.top+x,_-w*2/3,F-B*2/3,gA.BOTTOM_LEFT):new M(r.left+w*2/3,r.top+r.height-B*2/3),this.topLeftBorderStroke=i>0||s>0?FA(r.left+w/2,r.top+H/2,i-w/2,s-H/2,gA.TOP_LEFT):new M(r.left+w/2,r.top+H/2),this.topRightBorderStroke=i>0||s>0?FA(r.left+m,r.top+H/2,l-y/2,u-H/2,gA.TOP_RIGHT):new M(r.left+r.width-y/2,r.top+H/2),this.bottomRightBorderStroke=d>0||g>0?FA(r.left+R,r.top+I,d-y/2,g-B/2,gA.BOTTOM_RIGHT):new M(r.left+r.width-y/2,r.top+r.height-B/2),this.bottomLeftBorderStroke=_>0||F>0?FA(r.left+w/2,r.top+x,_-w/2,F-B/2,gA.BOTTOM_LEFT):new M(r.left+w/2,r.top+r.height-B/2),this.topLeftBorderBox=i>0||s>0?FA(r.left,r.top,i,s,gA.TOP_LEFT):new M(r.left,r.top),this.topRightBorderBox=l>0||u>0?FA(r.left+m,r.top,l,u,gA.TOP_RIGHT):new M(r.left+r.width,r.top),this.bottomRightBorderBox=d>0||g>0?FA(r.left+R,r.top+I,d,g,gA.BOTTOM_RIGHT):new M(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=_>0||F>0?FA(r.left,r.top+x,_,F,gA.BOTTOM_LEFT):new M(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||s>0?FA(r.left+w,r.top+H,Math.max(0,i-w),Math.max(0,s-H),gA.TOP_LEFT):new M(r.left+w,r.top+H),this.topRightPaddingBox=l>0||u>0?FA(r.left+Math.min(m,r.width-y),r.top+H,m>r.width+y?0:Math.max(0,l-y),Math.max(0,u-H),gA.TOP_RIGHT):new M(r.left+r.width-y,r.top+H),this.bottomRightPaddingBox=d>0||g>0?FA(r.left+Math.min(R,r.width-w),r.top+Math.min(I,r.height-B),Math.max(0,d-y),Math.max(0,g-B),gA.BOTTOM_RIGHT):new M(r.left+r.
vendor: 4,141 bytes, line 61
61width-y,r.top+r.height-B),this.bottomLeftPaddingBox=_>0||F>0?FA(r.left+w,r.top+Math.min(x,r.height-B),Math.max(0,_-w),Math.max(0,F-B),gA.BOTTOM_LEFT):new M(r.left+w,r.top+r.height-B),this.topLeftContentBox=i>0||s>0?FA(r.left+w+C,r.top+H+Q,Math.max(0,i-(w+C)),Math.max(0,s-(H+Q)),gA.TOP_LEFT):new M(r.left+w+C,r.top+H+Q),this.topRightContentBox=l>0||u>0?FA(r.left+Math.min(m,r.width+w+C),r.top+H+Q,m>r.width+w+C?0:l-w+C,u-(H+Q),gA.TOP_RIGHT):new M(r.left+r.width-(y+U),r.top+H+Q),this.bottomRightContentBox=d>0||g>0?FA(r.left+Math.min(R,r.width-(w+C)),r.top+Math.min(I,r.height+H+Q),Math.max(0,d-(y+U)),g-(B+T),gA.BOTTOM_RIGHT):new M(r.left+r.width-(y+U),r.top+r.height-(B+T)),this.bottomLeftContentBox=_>0||F>0?FA(r.left+w+C,r.top+x,Math.max(0,_-(w+C)),F-(B+T),gA.BOTTOM_LEFT):new M(r.left+w+C,r.top+r.height-(B+T))}return e}(),gA;(function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(gA||(gA={}));var FA=function(e,A,t,r,n){var i=4*((Math.sqrt(2)-1)/3),s=t*i,a=r*i,l=e+t,u=A+r;switch(n){case gA.TOP_LEFT:return new za(new M(e,u),new M(e,u-a),new M(l-s,A),new M(l,A));case gA.TOP_RIGHT:return new za(new M(e,A),new M(e+s,A),new M(l,u-a),new M(l,u));case gA.BOTTOM_RIGHT:return new za(new M(l,A),new M(l,A+a),new M(e+s,u),new M(e,u));case gA.BOTTOM_LEFT:default:return new za(new M(l,u),new M(l-s,u),new M(e,A+a),new M(e,A))}},iu=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},fH=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},su=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},dH=function(){function e(A,t,r){this.offsetX=A,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return e}(),Xa=function(){function e(A,t){this.path=A,this.target=t,this.type=1}return e}(),gH=function(){function e(A){this.opacity=A,this.type=2,this.target=6}return e}(),pH=function(e){return e.type===0},qC=function(e){return e.type===1},BH=function(e){return e.type===2},Qw=function(e,A){return e.length===A.length?e.some(function(t,r){return t===A[r]}):!1},mH=function(e,A,t,r,n){return e.map(function(i,s){switch(s){case 0:return i.add(A,t);case 1:return i.add(A+r,t);case 2:return i.add(A+r,t+n);case 3:return i.add(A,t+n)}return i})},ZC=function(){function e(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),AE=function(){function e(A,t){if(this.container=A,this.parent=t,this.effects=[],this.curves=new hH(this.container),this.container.styles.opacity<1&&this.effects.push(new gH(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new dH(r,n,i))}if(this.container.styles.overflowX!==0){var s=iu(this.curves),a=su(this.curves);Qw(s,a)?this.effects.push(new Xa(s,6)):(this.effects.push(new Xa(s,2)),this.effects.push(new Xa(a,4)))}}return e.prototype.getEffects=function(A){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var i=r.effects.filter(function(l){return!qC(l)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,i),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var s=iu(r.curves),a=su(r.curves);Qw(s,a)||n.unshift(new Xa(a,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter(function(l){return XA(l.target,A)})},e}(),td=function(e,A,t,r){e.container.elements.forEach(function(n){var i=XA(n.flags,4),s=XA(n.flags,2),a=new AE(n,e);XA(n.styles.display,2048)&&r.push(a);var l=XA(n.flags,8)?[]:r;if(i||s){var u=i||n.styles.isPositioned()?t:A,h=new ZC(a);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var d=n.styles.zIndex.order;
vendor: 5,253 bytes, line 61
61if(d<0){var g=0;u.negativeZIndex.some(function(_,F){return d>_.element.container.styles.zIndex.order?(g=F,!1):g>0}),u.negativeZIndex.splice(g,0,h)}else if(d>0){var E=0;u.positiveZIndex.some(function(_,F){return d>=_.element.container.styles.zIndex.order?(E=F+1,!1):E>0}),u.positiveZIndex.splice(E,0,h)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(h)}else n.styles.isFloating()?u.nonPositionedFloats.push(h):u.nonPositionedInlineLevel.push(h);td(a,h,i?h:t,l)}else n.styles.isInlineLevel()?A.inlineLevel.push(a):A.nonInlineLevel.push(a),td(a,A,t,l);XA(n.flags,8)&&eE(n,l)})},eE=function(e,A){for(var t=e instanceof Yf?e.start:1,r=e instanceof Yf?e.reversed:!1,n=0;n<A.length;n++){var i=A[n];i.container instanceof OC&&typeof i.container.value=="number"&&i.container.value!==0&&(t=i.container.value),i.listValue=Bo(t,i.container.styles.listStyleType,!0),t+=r?-1:1}},wH=function(e){var A=new AE(e,null),t=new ZC(A),r=[];return td(A,t,t,r),eE(A.container,r),t},_w=function(e,A){switch(A){case 0:return Ze(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return Ze(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return Ze(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return Ze(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},yH=function(e,A){switch(A){case 0:return Ze(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return Ze(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return Ze(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);case 3:default:return Ze(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},vH=function(e,A){switch(A){case 0:return Ze(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return Ze(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return Ze(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);case 3:default:return Ze(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},CH=function(e,A){switch(A){case 0:return Ja(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Ja(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Ja(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);case 3:default:return Ja(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},Ja=function(e,A){var t=[];return Je(e)?t.push(e.subdivide(.5,!1)):t.push(e),Je(A)?t.push(A.subdivide(.5,!0)):t.push(A),t},Ze=function(e,A,t,r){var n=[];return Je(e)?n.push(e.subdivide(.5,!1)):n.push(e),Je(t)?n.push(t.subdivide(.5,!0)):n.push(t),Je(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),Je(A)?n.push(A.subdivide(.5,!1).reverse()):n.push(A),n},tE=function(e){var A=e.bounds,t=e.styles;return A.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},ou=function(e){var A=e.styles,t=e.bounds,r=vA(A.paddingLeft,t.width),n=vA(A.paddingRight,t.width),i=vA(A.paddingTop,t.width),s=vA(A.paddingBottom,t.width);return t.add(r+A.borderLeftWidth,i+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+r+n),-(A.borderTopWidth+A.borderBottomWidth+i+s))},EH=function(e,A){return e===0?A.bounds:e===2?ou(A):tE(A)},QH=function(e,A){return e===0?A.bounds:e===2?ou(A):tE(A)},Fh=function(e,A,t){var r=EH(Kn(e.styles.backgroundOrigin,A),e),n=QH(Kn(e.styles.backgroundClip,A),e),i=_H(Kn(e.styles.backgroundSize,A),t,r),s=i[0],a=i[1],l=Is(Kn(e.styles.backgroundPosition,A),r.width-s,r.height-a),u=IH(Kn(e.styles.backgroundRepeat,A),l,i,r,n),h=Math.round(r.left+l[0]),d=Math.round(r.top+l[1]);return[u,h,d,s,a]},Vn=function(e){return mA(e)&&e.value===fi.AUTO},$a=function(e){return typeof e=="number"},_H=function(e,A,t){var r=A[0],n=A[1],i=A[2],s=e[0],a=e[1];if(!s)return[0,0];if(KA(s)&&a&&KA(a))return[vA(s,t.width),vA(a,t.height)];var l=$a(i);if(mA(s)&&(s.value===fi.CONTAIN||s.value===fi.COVER)){if($a(i)){var u=t.width/t.height;return u<i!=(s.value===fi.COVER)?[t.width,t.width/i]:[t.height*i,t.height]}return[t.width,t.height]}var h=$a(r),d=$a(n),g=h||d;if(Vn(s)&&(!a||Vn(a))){if(h&&d)return[r,n];if(!l&&!g)return[t.width,t.height];if(g&&l){var E=h?r:n*i,_=d?n:r/i;return[E,_]}var F=h?r:t.width,L=d?n:t.height;return[F,L]}if(l){var v=0,m=0;return KA(s)?v=vA(s,t.width):KA(a)&&(m=vA(a,t.height)),Vn(s)?v=m*i:(!a||Vn(a))&&(m=v/i),[v,m]}var I=null,R=null;if(KA(s)?I=vA(s,t.width):a&&KA(a)&&(R=vA(a,t.height)),I!==null&&(!a||Vn(a))&&(R=h&&d?I/r*n:t.height),R!==null&&Vn(s)&&(I=h&&d?R/n*r:t.width),I!==null&&R!==null)return[I,R];throw new Error("Unable to calculate background-size for element")},Kn=function(e,A){var t=e[A];return typeof t>"u"?e[0]:t},IH=function(e,A,t,r,n){var i=A[0],s=A[1],a=t[0],l=t[1];switch(e){case 2:return[new M(Math.round(r.left),Math.round(r.top+s)),new M(Math.round(r.left+r.
vendor: 4,939 bytes, line 61
61width),Math.round(r.top+s)),new M(Math.round(r.left+r.width),Math.round(l+r.top+s)),new M(Math.round(r.left),Math.round(l+r.top+s))];case 3:return[new M(Math.round(r.left+i),Math.round(r.top)),new M(Math.round(r.left+i+a),Math.round(r.top)),new M(Math.round(r.left+i+a),Math.round(r.height+r.top)),new M(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new M(Math.round(r.left+i),Math.round(r.top+s)),new M(Math.round(r.left+i+a),Math.round(r.top+s)),new M(Math.round(r.left+i+a),Math.round(r.top+s+l)),new M(Math.round(r.left+i),Math.round(r.top+s+l))];default:return[new M(Math.round(n.left),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.top)),new M(Math.round(n.left+n.width),Math.round(n.height+n.top)),new M(Math.round(n.left),Math.round(n.height+n.top))]}},UH="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Iw="Hidden Text",FH=function(){function e(A){this._data={},this._document=A}return e.prototype.parseMetrics=function(A,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),s=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",s.appendChild(r),n.src=UH,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=A,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(Iw)),r.appendChild(i),r.appendChild(n);var a=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(Iw)),r.style.lineHeight="normal",n.style.verticalAlign="super";var l=n.offsetTop-r.offsetTop+2;return s.removeChild(r),{baseline:a,middle:l}},e.prototype.getMetrics=function(A,t){var r=A+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,t)),this._data[r]},e}(),rE=function(){function e(A,t){this.context=A,this.options=t}return e}(),TH=1e4,SH=function(e){gt(A,e);function A(t,r){var n=e.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new FH(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return A.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},A.prototype.applyEffect=function(t){this.ctx.save(),BH(t)&&(this.ctx.globalAlpha=t.opacity),pH(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),qC(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(t){return Ie(this,void 0,void 0,function(){var r;return Be(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(t){return Ie(this,void 0,void 0,function(){return Be(this,function(r){switch(r.label){case 0:if(XA(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(t,r,n){var i=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var s=Qg(t.text);s.reduce(function(a,l){return i.ctx.fillText(l,a,t.bounds.top+n),a+i.ctx.measureText(l).width},t.bounds.left)}},A.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),n=xH(t.fontFamily).join(", "),i=Do(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,i,n].join(" "),n,i]},A.prototype.renderTextNode=function(t,r){return Ie(this,void 0,void 0,function(){var n,i,s,a,l,u,h,d,g=this;return Be(this,function(E){return n=this.createFontStyle(r),i=n[0],s=n[1],a=n[2],this.ctx.font=i,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",l=this.fontMetrics.getMetrics(s,a),u=l.baseline,h=l.middle,d=r.paintOrder,t.textBounds.forEach(function(_){d.forEach(function(F){switch(F){case 0:g.ctx.fillStyle=YA(r.color),g.renderTextWithLetterSpacing(_,r.letterSpacing,u);var L=r.textShadow;
vendor: 5,323 bytes, line 61
61L.length&&_.text.trim().length&&(L.slice(0).reverse().forEach(function(v){g.ctx.shadowColor=YA(v.color),g.ctx.shadowOffsetX=v.offsetX.number*g.options.scale,g.ctx.shadowOffsetY=v.offsetY.number*g.options.scale,g.ctx.shadowBlur=v.blur.number,g.renderTextWithLetterSpacing(_,r.letterSpacing,u)}),g.ctx.shadowColor="",g.ctx.shadowOffsetX=0,g.ctx.shadowOffsetY=0,g.ctx.shadowBlur=0),r.textDecorationLine.length&&(g.ctx.fillStyle=YA(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(v){switch(v){case 1:g.ctx.fillRect(_.bounds.left,Math.round(_.bounds.top+u),_.bounds.width,1);break;case 2:g.ctx.fillRect(_.bounds.left,Math.round(_.bounds.top),_.bounds.width,1);break;case 3:g.ctx.fillRect(_.bounds.left,Math.ceil(_.bounds.top+h),_.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&_.text.trim().length&&(g.ctx.strokeStyle=YA(r.webkitTextStrokeColor),g.ctx.lineWidth=r.webkitTextStrokeWidth,g.ctx.lineJoin=window.chrome?"miter":"round",g.ctx.strokeText(_.text,_.bounds.left,_.bounds.top+u)),g.ctx.strokeStyle="",g.ctx.lineWidth=0,g.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var i=ou(t),s=su(r);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(t){return Ie(this,void 0,void 0,function(){var r,n,i,s,a,l,m,m,u,h,d,g,R,E,_,x,F,L,v,m,I,R,x;return Be(this,function(H){switch(H.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,i=r.styles,s=0,a=r.textNodes,H.label=1;case 1:return s<a.length?(l=a[s],[4,this.renderTextNode(l,i)]):[3,4];case 2:H.sent(),H.label=3;case 3:return s++,[3,1];case 4:if(!(r instanceof xC))return[3,8];H.label=5;case 5:return H.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return m=H.sent(),this.renderReplacedElement(r,n,m),[3,8];case 7:return H.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof PC&&this.renderReplacedElement(r,n,r.canvas),!(r instanceof kC))return[3,12];H.label=9;case 9:return H.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return m=H.sent(),this.renderReplacedElement(r,n,m),[3,12];case 11:return H.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof VC&&r.tree?(u=new A(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,u.render(r.tree)]):[3,14];case 13:h=H.sent(),r.width&&r.height&&this.ctx.drawImage(h,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),H.label=14;case 14:if(r instanceof _g&&(d=Math.min(r.bounds.width,r.bounds.height),r.type===eu?r.checked&&(this.ctx.save(),this.path([new M(r.bounds.left+d*.39363,r.bounds.top+d*.79),new M(r.bounds.left+d*.16,r.bounds.top+d*.5549),new M(r.bounds.left+d*.27347,r.bounds.top+d*.44071),new M(r.bounds.left+d*.39694,r.bounds.top+d*.5649),new M(r.bounds.left+d*.72983,r.bounds.top+d*.23),new M(r.bounds.left+d*.84,r.bounds.top+d*.34085),new M(r.bounds.left+d*.39363,r.bounds.top+d*.79)]),this.ctx.fillStyle=YA(fw),this.ctx.fill(),this.ctx.restore()):r.type===tu&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+d/2,r.bounds.top+d/2,d/4,0,Math.PI*2,!0),this.ctx.fillStyle=YA(fw),this.ctx.fill(),this.ctx.restore())),RH(r)&&r.value.length){switch(g=this.createFontStyle(i),R=g[0],E=g[1],_=this.fontMetrics.getMetrics(R,E).baseline,this.ctx.font=R,this.ctx.fillStyle=YA(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=LH(r.styles.textAlign),x=ou(r),F=0,r.styles.textAlign){case 1:F+=x.width/2;break;case 2:F+=x.width;break}L=x.add(F,0,0,-x.height/2+1),this.ctx.save(),this.path([new M(x.left,x.top),new M(x.left+x.width,x.top),new M(x.left+x.width,x.top+x.height),new M(x.left,x.top+x.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Gs(r.value,L),i.letterSpacing,_),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!XA(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(v=r.styles.listStyleImage,v.type!==0)return[3,18];m=void 0,I=v.url,H.label=15;case 15:return H.trys.push([15,17,,18]),[4,this.context.cache.match(I)];case 16:return m=H.sent(),this.ctx.drawImage(m,r.bounds.left-(m.width+10),r.bounds.top),[3,18];case 17:return H.sent(),this.context.logger.error("Error loading list-style-image "+I),[3,18];case 18:return[3,20];case 19:t.listValue&&r.styles.listStyleType!==-1&&(R=this.createFontStyle(i)[0],this.ctx.font=R,this.ctx.fillStyle=YA(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",x=new Xt(r.bounds.left,r.bounds.top+vA(r.styles.paddingTop,r.bounds.width),r.bounds.width,$m(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Gs(t.listValue,x),i.letterSpacing,$m(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),H.label=20;case 20:return[2]}})})},A.prototype.renderStackContent=function(t){return Ie(this,void 0,void 0,function(){var r,n,v,i,s,v,a,l,v,u,h,v,d,g,v,E,_,v,F,L,v;return Be(this,function(m){switch(m.label){case 0:if(XA(t.element.container.flags,16))debugger;
vendor: 4,188 bytes, line 61
61return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:m.sent(),r=0,n=t.negativeZIndex,m.label=2;case 2:return r<n.length?(v=n[r],[4,this.renderStack(v)]):[3,5];case 3:m.sent(),m.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:m.sent(),i=0,s=t.nonInlineLevel,m.label=7;case 7:return i<s.length?(v=s[i],[4,this.renderNode(v)]):[3,10];case 8:m.sent(),m.label=9;case 9:return i++,[3,7];case 10:a=0,l=t.nonPositionedFloats,m.label=11;case 11:return a<l.length?(v=l[a],[4,this.renderStack(v)]):[3,14];case 12:m.sent(),m.label=13;case 13:return a++,[3,11];case 14:u=0,h=t.nonPositionedInlineLevel,m.label=15;case 15:return u<h.length?(v=h[u],[4,this.renderStack(v)]):[3,18];case 16:m.sent(),m.label=17;case 17:return u++,[3,15];case 18:d=0,g=t.inlineLevel,m.label=19;case 19:return d<g.length?(v=g[d],[4,this.renderNode(v)]):[3,22];case 20:m.sent(),m.label=21;case 21:return d++,[3,19];case 22:E=0,_=t.zeroOrAutoZIndexOrTransformedOrOpacity,m.label=23;case 23:return E<_.length?(v=_[E],[4,this.renderStack(v)]):[3,26];case 24:m.sent(),m.label=25;case 25:return E++,[3,23];case 26:F=0,L=t.positiveZIndex,m.label=27;case 27:return F<L.length?(v=L[F],[4,this.renderStack(v)]):[3,30];case 28:m.sent(),m.label=29;case 29:return F++,[3,27];case 30:return[2]}})})},A.prototype.mask=function(t){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(t.slice(0).reverse()),this.ctx.closePath()},A.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},A.prototype.formatPath=function(t){var r=this;t.forEach(function(n,i){var s=Je(n)?n.start:n;i===0?r.ctx.moveTo(s.x,s.y):r.ctx.lineTo(s.x,s.y),Je(n)&&r.ctx.bezierCurveTo(n.startControl.x,n.startControl.y,n.endControl.x,n.endControl.y,n.end.x,n.end.y)})},A.prototype.renderRepeat=function(t,r,n,i){this.path(t),this.ctx.fillStyle=r,this.ctx.translate(n,i),this.ctx.fill(),this.ctx.translate(-n,-i)},A.prototype.resizeImage=function(t,r,n){var i;if(t.width===r&&t.height===n)return t;var s=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,a=s.createElement("canvas");a.width=Math.max(1,r),a.height=Math.max(1,n);var l=a.getContext("2d");return l.drawImage(t,0,0,t.width,t.height,0,0,r,n),a},A.prototype.renderBackgroundImage=function(t){return Ie(this,void 0,void 0,function(){var r,n,i,s,a,l;return Be(this,function(u){switch(u.label){case 0:r=t.styles.backgroundImage.length-1,n=function(h){var d,g,E,Q,SA,yA,C,hA,B,_,Q,SA,yA,C,hA,F,L,v,m,I,R,x,H,y,B,w,Q,U,T,C,hA,jA,SA,yA,b,X,$,lA,tA,N,Z,rA;return Be(this,function(uA){switch(uA.label){case 0:if(h.type!==0)return[3,5];d=void 0,g=h.url,uA.label=1;case 1:return uA.trys.push([1,3,,4]),[4,i.context.cache.match(g)];case 2:return d=uA.sent(),[3,4];case 3:return uA.sent(),i.context.logger.error("Error loading background-image "+g),[3,4];case 4:return d&&(E=Fh(t,r,[d.width,d.height,d.width/d.height]),Q=E[0],SA=E[1],yA=E[2],C=E[3],hA=E[4],B=i.ctx.createPattern(i.resizeImage(d,C,hA),"repeat"),i.renderRepeat(Q,B,SA,yA)),[3,6];case 5:p1(h)?(_=Fh(t,r,[null,null,null]),Q=_[0],SA=_[1],yA=_[2],C=_[3],hA=_[4],F=c1(h.angle,C,hA),L=F[0],v=F[1],m=F[2],I=F[3],R=F[4],x=document.createElement("canvas"),x.width=C,x.height=hA,H=x.getContext("2d"),y=H.createLinearGradient(v,I,m,R),Xm(h.stops,L).forEach(function(EA){return y.addColorStop(EA.stop,YA(EA.color))}),H.fillStyle=y,H.fillRect(0,0,C,hA),C>0&&hA>0&&(B=i.ctx.createPattern(x,"repeat"),i.renderRepeat(Q,B,SA,yA))):B1(h)&&(w=Fh(t,r,[null,null,null]),Q=w[0],U=w[1],T=w[2],C=w[3],hA=w[4],jA=h.position.length===0?[vg]:h.position,SA=vA(jA[0],C),yA=vA(jA[jA.length-1],hA),b=h1(h,SA,yA,C,hA),X=b[0],$=b[1],X>0&&$>0&&(lA=i.ctx.createRadialGradient(U+SA,T+yA,0,U+SA,T+yA,X),Xm(h.stops,X*2).forEach(function(EA){return lA.addColorStop(EA.stop,YA(EA.color))}),i.path(Q),i.ctx.fillStyle=lA,X!==$?(tA=t.bounds.left+.5*t.bounds.width,N=t.bounds.top+.5*t.bounds.height,Z=$/X,rA=1/Z,i.ctx.save(),i.ctx.translate(tA,N),i.ctx.transform(1,0,0,Z,0,0),i.ctx.translate(-tA,-N),i.ctx.fillRect(U,rA*(T-N)+N,C,hA*rA),i.ctx.restore(
vendor: 8,178 bytes, line 61
61)):i.ctx.fill())),uA.label=6;case 6:return r--,[2]}})},i=this,s=0,a=t.styles.backgroundImage.slice(0).reverse(),u.label=1;case 1:return s<a.length?(l=a[s],[5,n(l)]):[3,4];case 2:u.sent(),u.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},A.prototype.renderSolidBorder=function(t,r,n){return Ie(this,void 0,void 0,function(){return Be(this,function(i){return this.path(_w(n,r)),this.ctx.fillStyle=YA(t),this.ctx.fill(),[2]})})},A.prototype.renderDoubleBorder=function(t,r,n,i){return Ie(this,void 0,void 0,function(){var s,a;return Be(this,function(l){switch(l.label){case 0:return r<3?[4,this.renderSolidBorder(t,n,i)]:[3,2];case 1:return l.sent(),[2];case 2:return s=yH(i,n),this.path(s),this.ctx.fillStyle=YA(t),this.ctx.fill(),a=vH(i,n),this.path(a),this.ctx.fill(),[2]}})})},A.prototype.renderNodeBackgroundAndBorders=function(t){return Ie(this,void 0,void 0,function(){var r,n,i,s,a,l,u,h,d=this;return Be(this,function(g){switch(g.label){case 0:return this.applyEffects(t.getEffects(2)),r=t.container.styles,n=!Lr(r.backgroundColor)||r.backgroundImage.length,i=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],s=HH(Kn(r.backgroundClip,0),t.curves),n||r.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),Lr(r.backgroundColor)||(this.ctx.fillStyle=YA(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:g.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(E){d.ctx.save();var _=iu(t.curves),F=E.inset?0:TH,L=mH(_,-F+(E.inset?1:-1)*E.spread.number,(E.inset?1:-1)*E.spread.number,E.spread.number*(E.inset?-2:2),E.spread.number*(E.inset?-2:2));E.inset?(d.path(_),d.ctx.clip(),d.mask(L)):(d.mask(_),d.ctx.clip(),d.path(L)),d.ctx.shadowOffsetX=E.offsetX.number+F,d.ctx.shadowOffsetY=E.offsetY.number,d.ctx.shadowColor=YA(E.color),d.ctx.shadowBlur=E.blur.number,d.ctx.fillStyle=E.inset?YA(E.color):"rgba(0,0,0,1)",d.ctx.fill(),d.ctx.restore()}),g.label=2;case 2:a=0,l=0,u=i,g.label=3;case 3:return l<u.length?(h=u[l],h.style!==0&&!Lr(h.color)&&h.width>0?h.style!==2?[3,5]:[4,this.renderDashedDottedBorder(h.color,h.width,a,t.curves,2)]:[3,11]):[3,13];case 4:return g.sent(),[3,11];case 5:return h.style!==3?[3,7]:[4,this.renderDashedDottedBorder(h.color,h.width,a,t.curves,3)];case 6:return g.sent(),[3,11];case 7:return h.style!==4?[3,9]:[4,this.renderDoubleBorder(h.color,h.width,a,t.curves)];case 8:return g.sent(),[3,11];case 9:return[4,this.renderSolidBorder(h.color,a,t.curves)];case 10:g.sent(),g.label=11;case 11:a++,g.label=12;case 12:return l++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(t,r,n,i,s){return Ie(this,void 0,void 0,function(){var a,l,u,h,d,g,E,_,F,L,v,m,I,R,x,H,x,H;return Be(this,function(y){return this.ctx.save(),a=CH(i,n),l=_w(i,n),s===2&&(this.path(l),this.ctx.clip()),Je(l[0])?(u=l[0].start.x,h=l[0].start.y):(u=l[0].x,h=l[0].y),Je(l[1])?(d=l[1].end.x,g=l[1].end.y):(d=l[1].x,g=l[1].y),n===0||n===2?E=Math.abs(u-d):E=Math.abs(h-g),this.ctx.beginPath(),s===3?this.formatPath(a):this.formatPath(l.slice(0,2)),_=r<3?r*3:r*2,F=r<3?r*2:r,s===3&&(_=r,F=r),L=!0,E<=_*2?L=!1:E<=_*2+F?(v=E/(2*_+F),_*=v,F*=v):(m=Math.floor((E+F)/(_+F)),I=(E-m*_)/(m-1),R=(E-(m+1)*_)/m,F=R<=0||Math.abs(F-I)<Math.abs(F-R)?I:R),L&&(s===3?this.ctx.setLineDash([0,_+F]):this.ctx.setLineDash([_,F])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=YA(t),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(Je(l[0])&&(x=l[3],H=l[0],this.ctx.beginPath(),this.formatPath([new M(x.end.x,x.end.y),new M(H.start.x,H.start.y)]),this.ctx.stroke()),Je(l[1])&&(x=l[1],H=l[2],this.ctx.beginPath(),this.formatPath([new M(x.end.x,x.end.y),new M(H.start.x,H.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},A.prototype.render=function(t){return Ie(this,void 0,void 0,function(){var r;return Be(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=YA(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=wH(t),[4,this.renderStack(r)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}})})},A}(rE),RH=function(e){return e instanceof bC||e instanceof NC?!0:e instanceof _g&&e.type!==tu&&e.type!==eu},HH=function(e,A){switch(e){case 0:return iu(A);case 2:return fH(A);case 1:default:return su(A)}},LH=function(e){switch(e){case 1:return"center";case 2:return"right";case 0:default:return"left"}},DH=["-apple-system","system-ui"],xH=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(A){return DH.indexOf(A)===-1}):e},PH=function(e){gt(A,e);function A(t,r){var n=e.call(this,t,r)||this;return n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=r,n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),n}return A.prototype.render=function(t){return Ie(this,void 0,void 0,function(){var r,n;return Be(this,function(i){switch(i.label){case 0:return r=$f(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,kH(r)];case 1:return n=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=YA(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},A}(rE),kH=function(e){return new Promise(function(A,t){var r=new Image;r.onload=function(){A(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},OH=function(){function e(A){var t=A.id,r=A.enabled;this.id=t,this.enabled=r,this.start=Date.now()}return e.prototype.debug=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,Fa([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,Fa([this.id,this.getTime()+"ms"],A))},e.prototype.warn=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,Fa([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.prototype.error=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,Fa([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},e.instances={},e}(),NH=function(){function e(A,t){var r;this.windowBounds=t,this.instanceName="#"+e.instanceCount++,this.logger=new OH({id:this.instanceName,enabled:A.logging}),this.cache=(r=A.cache)!==null&&r!==void 0?r:new iH(this,A)}return e.instanceCount=1,e}(),bH=function(e,A){return A===void 0&&(A={}),VH(e,A)};typeof window<"u"&&YC.setContext(window);var VH=function(e,A){return Ie(void 0,void 0,void 0,function(){var t,r,n,i,s,a,l,u,h,d,g,E,_,F,L,v,m,I,R,x,y,H,y,B,w,Q,U,T,C,hA,jA,SA,yA,b,X,$,lA,tA,N,Z;return Be(this,function(rA){switch(rA.label){case 0:if(!e||typeof e!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(t=e.ownerDocument,!t)throw new Error("Element is not attached to a Document");
vendor: 6,624 bytes, lines 61-91
61if(r=t.defaultView,!r)throw new Error("Document is not attached to a Window");return n={allowTaint:(B=A.allowTaint)!==null&&B!==void 0?B:!1,imageTimeout:(w=A.imageTimeout)!==null&&w!==void 0?w:15e3,proxy:A.proxy,useCORS:(Q=A.useCORS)!==null&&Q!==void 0?Q:!1},i=xf({logging:(U=A.logging)!==null&&U!==void 0?U:!0,cache:A.cache},n),s={windowWidth:(T=A.windowWidth)!==null&&T!==void 0?T:r.innerWidth,windowHeight:(C=A.windowHeight)!==null&&C!==void 0?C:r.innerHeight,scrollX:(hA=A.scrollX)!==null&&hA!==void 0?hA:r.pageXOffset,scrollY:(jA=A.scrollY)!==null&&jA!==void 0?jA:r.pageYOffset},a=new Xt(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),l=new NH(i,a),u=(SA=A.foreignObjectRendering)!==null&&SA!==void 0?SA:!1,h={allowTaint:(yA=A.allowTaint)!==null&&yA!==void 0?yA:!1,onclone:A.onclone,ignoreElements:A.ignoreElements,inlineImages:u,copyStyles:u},l.logger.debug("Starting document clone with size "+a.width+"x"+a.height+" scrolled to "+-a.left+","+-a.top),d=new Cw(l,e,h),g=d.clonedReferenceElement,g?[4,d.toIFrame(t,a)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return E=rA.sent(),_=Ig(g)||MR(g)?mF(g.ownerDocument):bu(l,g),F=_.width,L=_.height,v=_.left,m=_.top,I=MH(l,g,A.backgroundColor),R={canvas:A.canvas,backgroundColor:I,scale:(X=(b=A.scale)!==null&&b!==void 0?b:r.devicePixelRatio)!==null&&X!==void 0?X:1,x:(($=A.x)!==null&&$!==void 0?$:0)+v,y:((lA=A.y)!==null&&lA!==void 0?lA:0)+m,width:(tA=A.width)!==null&&tA!==void 0?tA:Math.ceil(F),height:(N=A.height)!==null&&N!==void 0?N:Math.ceil(L)},u?(l.logger.debug("Document cloned, using foreign object rendering"),y=new PH(l,R),[4,y.render(g)]):[3,3];case 2:return x=rA.sent(),[3,5];case 3:return l.logger.debug("Document cloned, element located at "+v+","+m+" with size "+F+"x"+L+" using computed rendering"),l.logger.debug("Starting DOM parsing"),H=KC(l,g),I===H.styles.backgroundColor&&(H.styles.backgroundColor=Mt.TRANSPARENT),l.logger.debug("Starting renderer for element at "+R.x+","+R.y+" with size "+R.width+"x"+R.height),y=new SH(l,R),[4,y.render(H)];case 4:x=rA.sent(),rA.label=5;case 5:return(!((Z=A.removeContainer)!==null&&Z!==void 0)||Z)&&(Cw.destroy(E)||l.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),l.logger.debug("Finished rendering"),[2,x]}})})},MH=function(e,A,t){var r=A.ownerDocument,n=r.documentElement?Ms(e,getComputedStyle(r.documentElement).backgroundColor):Mt.TRANSPARENT,i=r.body?Ms(e,getComputedStyle(r.body).backgroundColor):Mt.TRANSPARENT,s=typeof t=="string"?Ms(e,t):t===null?Mt.TRANSPARENT:4294967295;return A===r.documentElement?Lr(n)?Lr(i)?s:i:n:s};/** 62 * @license 63 * Copyright 2017 Google LLC 64 * 65 * Licensed under the Apache License, Version 2.0 (the "License"); 66 * you may not use this file except in compliance with the License. 67 * You may obtain a copy of the License at 68 * 69 * http://www.apache.org/licenses/LICENSE-2.0 70 * 71 * Unless required by applicable law or agreed to in writing, software 72 * distributed under the License is distributed on an "AS IS" BASIS, 73 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 74 * See the License for the specific language governing permissions and 75 * limitations under the License. 76 *//** 77 * @license 78 * Copyright 2017 Google LLC 79 * 80 * Licensed under the Apache License, Version 2.0 (the "License"); 81 * you may not use this file except in compliance with the License. 82 * You may obtain a copy of the License at 83 * 84 * http://www.apache.org/licenses/LICENSE-2.0 85 * 86 * Unless required by applicable law or agreed to in writing, software 87 * distributed under the License is distributed on an "AS IS" BASIS, 88 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 89 * See the License for the specific language governing permissions and 90 * limitations under the License. 91 */const nE=function(e){const A=[];let t=0;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);n<128?A[t++]=n:n<2048?(A[t++]=n>>6|192,A[t++]=n&63|128):(n&64512)===55296&&r+1<e.length&&(e.charCodeAt(r+1)&64512)===56320?(n=65536+((n&1023)<<10)+(e.charCodeAt(++r)&1023),A[t++]=n>>18|240,A[t++]=n>>12&63|128,A[t++]=n>>6&63|128,A[t++]=n&63|128):(A[t++]=n>>12|224,A[t++]=n>>6&63|128,A[t++]=n&63|128)}return A},KH=function(e){const A=[];let t=0,r=0;for(;t<e.length;){const n=e[t++];if(n<128)A[r++]=String.fromCharCode(n);else if(n>191&&n<224){const i=e[t++];A[r++]=String.fromCharCode((n&31)<<6|i&63)}else if(n>239&&n<365){const i=e[t++],s=e[t++],a=e[t++],l=((n&7)<<18|(i&63)<<12|(s&63)<<6|a&63)-65536;A[r++]=String.fromCharCode(55296+(l>>10)),A[r++]=String.fromCharCode(56320+(l&1023))}else{const i=e[t++],s=e[t++];A[r++]=String.fromCharCode((n&15)<<12|(i&63)<<6|s&63)}}return A.join("")},iE={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:typeof atob=="function",encodeByteArray(e,A){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const t=A?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let n=0;n<e.length;n+=3){const i=e[n],s=n+1<e.length,a=s?e[n+1]:0,l=n+2<e.length,u=l?e[n+2]:0,h=i>>2,d=(i&3)<<4|a>>4;let g=(a&15)<<2|u>>6,E=u&63;l||(E=64,s||(g=64)),r.push(t[h],t[d],t[g],t[E])}return r.join("")},encodeString(e,A){return this.HAS_NATIVE_SUPPORT&&!A?btoa(e):this.encodeByteArray(nE(e),A)},decodeString(e,A){return this.HAS_NATIVE_SUPPORT&&!A?atob(e):KH(this.decodeStringToByteArray(e,A))},decodeStringToByteArray(e,A){this.init_();const t=A?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let n=0;n<e.length;){const i=t[e.charAt(n++)],a=n<e.length?t[e.charAt(n)]:0;++n;const u=n<e.length?t[e.charAt(n)]:64;++n;const d=n<e.length?t[e.charAt(n)]:64;if(++n,i==null||a==null||u==null||d==null)throw new GH;const g=i<<2|a>>4;if(r.push(g),u!==64){const E=a<<4&240|u>>2;if(r.push(E),d!==64){const _=u<<6&192|d;r.push(_)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};
91class GH extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const WH=function(e){const A=nE(e);return iE.encodeByteArray(A,!0)},au=function(e){return WH(e).replace(/\./g,"")},sE=function(e){try{return iE.decodeString(e,!0)}catch(A){console.error("base64Decode failed: ",A)}return null};/** 92 * @license 93 * Copyright 2022 Google LLC 94 * 95 * Licensed under the Apache License, Version 2.0 (the "License"); 96 * you may not use this file except in compliance with the License. 97 * You may obtain a copy of the License at 98 * 99 * http://www.apache.org/licenses/LICENSE-2.0 100 * 101 * Unless required by applicable law or agreed to in writing, software 102 * distributed under the License is distributed on an "AS IS" BASIS, 103 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 104 * See the License for the specific language governing permissions and 105 * limitations under the License. 106 */function jH(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}/** 107 * @license 108 * Copyright 2022 Google LLC 109 * 110 * Licensed under the Apache License, Version 2.0 (the "License"); 111 * you may not use this file except in compliance with the License. 112 * You may obtain a copy of the License at 113 * 114 * http://www.apache.org/licenses/LICENSE-2.0 115 * 116 * Unless required by applicable law or agreed to in writing, software 117 * distributed under the License is distributed on an "AS IS" BASIS, 118 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 119 * See the License for the specific language governing permissions and 120 * limitations under the License. 121 */const zH=()=>jH().__FIREBASE_DEFAULTS__,XH=()=>{if(typeof process>"u"||typeof process.env>"u")return;const e={}.__FIREBASE_DEFAULTS__;if(e)return JSON.parse(e)},JH=()=>{if(typeof document>"u")return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const A=e&&sE(e[1]);return A&&JSON.parse(A)},$u=()=>{try{return zH()||XH()||JH()}catch(e){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);return}},oE=e=>{var A,t;return(t=(A=$u())===null||A===void 0?void 0:A.emulatorHosts)===null||t===void 0?void 0:t[e]},$H=e=>{const A=oE(e);if(!A)return;const t=A.lastIndexOf(":");if(t<=0||t+1===A.length)throw new Error(`Invalid host ${A} with no separate hostname and port!`);const r=parseInt(A.substring(t+1),10);return A[0]==="["?[A.substring(1,t-1),r]:[A.substring(0,t),r]},aE=()=>{var e;return(e=$u())===null||e===void 0?void 0:e.config},lE=e=>{var A;return(A=$u())===null||A===void 0?void 0:A[`_${e}`]};/** 122 * @license 123 * Copyright 2017 Google LLC 124 * 125 * Licensed under the Apache License, Version 2.0 (the "License"); 126 * you may not use this file except in compliance with the License. 127 * You may obtain a copy of the License at 128 * 129 * http://www.apache.org/licenses/LICENSE-2.0 130 * 131 * Unless required by applicable law or agreed to in writing, software 132 * distributed under the License is distributed on an "AS IS" BASIS, 133 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 134 * See the License for the specific language governing permissions and 135 * limitations under the License. 136 */class YH{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((A,t)=>{this.resolve=A,this.reject=t})}wrapCallback(A){return(t,r)=>{t?this.reject(t):this.resolve(r),typeof A=="function"&&(this.promise.catch(()=>{}),A.length===1?A(t):A(t,r))}}}/** 137 * @license 138 * Copyright 2021 Google LLC 139 * 140 * Licensed under the Apache License, Version 2.0 (the "License"); 141 * you may not use this file except in compliance with the License. 142 * You may obtain a copy of the License at 143 * 144 * http://www.apache.org/licenses/LICENSE-2.0 145 * 146 * Unless required by applicable law or agreed to in writing, software 147 * distributed under the License is distributed on an "AS IS" BASIS, 148 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 149 * See the License for the specific language governing permissions and 150 * limitations under the License. 151 */function qH(e,A){if(e.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const t={alg:"none",type:"JWT"},r=A||"demo-project",n=e.iat||0,i=e.sub||e.user_id;if(!i)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const s=Object.assign({iss:`https://securetoken.google.com/${r}`,aud:r,iat:n,exp:n+3600,auth_time:n,sub:i,user_id:i,firebase:{sign_in_provider:"custom",identities:{}}},e),a="";return[au(JSON.stringify(t)),au(JSON.stringify(s)),a].join(".")}/** 152 * @license 153 * Copyright 2017 Google LLC 154 * 155 * Licensed under the Apache License, Version 2.0 (the "License");
156 * you may not use this file except in compliance with the License. 157 * You may obtain a copy of the License at 158 * 159 * http://www.apache.org/licenses/LICENSE-2.0 160 * 161 * Unless required by applicable law or agreed to in writing, software 162 * distributed under the License is distributed on an "AS IS" BASIS, 163 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 164 * See the License for the specific language governing permissions and 165 * limitations under the License. 166 */function Ee(){return typeof navigator<"u"&&typeof navigator.userAgent=="string"?navigator.userAgent:""}function ZH(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(Ee())}function AL(){var e;const A=(e=$u())===null||e===void 0?void 0:e.forceEnvironment;if(A==="node")return!0;if(A==="browser")return!1;try{return Object.prototype.toString.call(global.process)==="[object process]"}catch{return!1}}function eL(){return typeof navigator<"u"&&navigator.userAgent==="Cloudflare-Workers"}function tL(){const e=typeof chrome=="object"?chrome.runtime:typeof browser=="object"?browser.runtime:void 0;return typeof e=="object"&&e.id!==void 0}function rL(){return typeof navigator=="object"&&navigator.product==="ReactNative"}function nL(){const e=Ee();return e.indexOf("MSIE ")>=0||e.indexOf("Trident/")>=0}function iL(){return!AL()&&!!navigator.userAgent&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function sL(){try{return typeof indexedDB=="object"}catch{return!1}}function oL(){return new Promise((e,A)=>{try{let t=!0;const r="validate-browser-context-for-indexeddb-analytics-module",n=self.indexedDB.open(r);n.onsuccess=()=>{n.result.close(),t||self.indexedDB.deleteDatabase(r),e(!0)},n.onupgradeneeded=()=>{t=!1},n.onerror=()=>{var i;A(((i=n.error)===null||i===void 0?void 0:i.message)||"")}}catch(t){A(t)}})}/** 167 * @license 168 * Copyright 2017 Google LLC 169 * 170 * Licensed under the Apache License, Version 2.0 (the "License"); 171 * you may not use this file except in compliance with the License. 172 * You may obtain a copy of the License at 173 * 174 * http://www.apache.org/licenses/LICENSE-2.0 175 * 176 * Unless required by applicable law or agreed to in writing, software 177 * distributed under the License is distributed on an "AS IS" BASIS, 178 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 179 * See the License for the specific language governing permissions and 180 * limitations under the License. 181 */const aL="FirebaseError";class er extends Error{constructor(A,t,r){super(t),this.code=A,this.customData=r,this.name=aL,Object.setPrototypeOf(this,er.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,xo.prototype.create)}}class xo{constructor(A,t,r){this.service=A,this.serviceName=t,this.errors=r}create(A,...t){const r=t[0]||{},n=`${this.service}/${A}`,i=this.errors[A],s=i?lL(i,r):"Error",a=`${this.serviceName}: ${s} (${n}).`;return new er(n,a,r)}}function lL(e,A){return e.replace(uL,(t,r)=>{const n=A[r];return n!=null?String(n):`<${r}?>`})}const uL=/\{\$([^}]+)}/g;function cL(e){for(const A in e)if(Object.prototype.hasOwnProperty.call(e,A))return!1;return!0}function lu(e,A){if(e===A)return!0;const t=Object.keys(e),r=Object.keys(A);for(const n of t){if(!r.includes(n))return!1;const i=e[n],s=A[n];if(Uw(i)&&Uw(s)){if(!lu(i,s))return!1}else if(i!==s)return!1}for(const n of r)if(!t.includes(n))return!1;return!0}function Uw(e){return e!==null&&typeof e=="object"}/** 182 * @license 183 * Copyright 2017 Google LLC 184 * 185 * Licensed under the Apache License, Version 2.0 (the "License"); 186 * you may not use this file except in compliance with the License. 187 * You may obtain a copy of the License at 188 * 189 * http://www.apache.org/licenses/LICENSE-2.0 190 * 191 * Unless required by applicable law or agreed to in writing, software 192 * distributed under the License is distributed on an "AS IS" BASIS, 193 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 194 * See the License for the specific language governing permissions and 195 * limitations under the License. 196 */function Po(e){const A=[];for(const[t,r]of Object.entries(e))Array.isArray(r)?r.forEach(n=>{A.push(encodeURIComponent(t)+"="+encodeURIComponent(n))}):A.push(encodeURIComponent(t)+"="+encodeURIComponent(r));return A.length?"&"+A.join("&"):""}function hL(e,A){const t=new fL(e,A);return t.subscribe.bind(t)}class fL{constructor(A,t){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Prom
196ise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then(()=>{A(this)}).catch(r=>{this.error(r)})}next(A){this.forEachObserver(t=>{t.next(A)})}error(A){this.forEachObserver(t=>{t.error(A)}),this.close(A)}complete(){this.forEachObserver(A=>{A.complete()}),this.close()}subscribe(A,t,r){let n;if(A===void 0&&t===void 0&&r===void 0)throw new Error("Missing Observer.");dL(A,["next","error","complete"])?n=A:n={next:A,error:t,complete:r},n.next===void 0&&(n.next=Th),n.error===void 0&&(n.error=Th),n.complete===void 0&&(n.complete=Th);const i=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?n.error(this.finalError):n.complete()}catch{}}),this.observers.push(n),i}unsubscribeOne(A){this.observers===void 0||this.observers[A]===void 0||(delete this.observers[A],this.observerCount-=1,this.observerCount===0&&this.onNoObservers!==void 0&&this.onNoObservers(this))}forEachObserver(A){if(!this.finalized)for(let t=0;t<this.observers.length;t++)this.sendOne(t,A)}sendOne(A,t){this.task.then(()=>{if(this.observers!==void 0&&this.observers[A]!==void 0)try{t(this.observers[A])}catch(r){typeof console<"u"&&console.error&&console.error(r)}})}close(A){this.finalized||(this.finalized=!0,A!==void 0&&(this.finalError=A),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function dL(e,A){if(typeof e!="object"||e===null)return!1;for(const t of A)if(t in e&&typeof e[t]=="function")return!0;return!1}function Th(){}/** 197 * @license 198 * Copyright 2021 Google LLC 199 * 200 * Licensed under the Apache License, Version 2.0 (the "License"); 201 * you may not use this file except in compliance with the License. 202 * You may obtain a copy of the License at 203 * 204 * http://www.apache.org/licenses/LICENSE-2.0 205 * 206 * Unless required by applicable law or agreed to in writing, software 207 * distributed under the License is distributed on an "AS IS" BASIS, 208 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 209 * See the License for the specific language governing permissions and 210 * limitations under the License. 211 */function Ke(e){return e&&e._delegate?e._delegate:e}class yn{constructor(A,t,r){this.name=A,this.instanceFactory=t,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(A){return this.instantiationMode=A,this}setMultipleInstances(A){return this.multipleInstances=A,this}setServiceProps(A){return this.serviceProps=A,this}setInstanceCreatedCallback(A){return this.onInstanceCreated=A,this}}/** 212 * @license 213 * Copyright 2019 Google LLC 214 * 215 * Licensed under the Apache License, Version 2.0 (the "License"); 216 * you may not use this file except in compliance with the License. 217 * You may obtain a copy of the License at 218 * 219 * http://www.apache.org/licenses/LICENSE-2.0 220 * 221 * Unless required by applicable law or agreed to in writing, software 222 * distributed under the License is distributed on an "AS IS" BASIS, 223 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 224 * See the License for the specific language governing permissions and 225 * limitations under the License. 226 */const tn="[DEFAULT]";/** 227 * @license 228 * Copyright 2019 Google LLC 229 * 230 * Licensed under the Apache License, Version 2.0 (the "License"); 231 * you may not use this file except in compliance with the License. 232 * You may obtain a copy of the License at 233 * 234 * http://www.apache.org/licenses/LICENSE-2.0 235 * 236 * Unless required by applicable law or agreed to in writing, software 237 * distributed under the License is distributed on an "AS IS" BASIS, 238 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 239 * See the License for the specific language governing permissions and 240 * limitations under the License. 241 */class gL{constructor(A,t){this.name=A,this.container=t,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(A){const t=this.normalizeInstanceIdentifier(A);if(!this.instancesDeferred.has(t)){const r=new YH;if(this.instancesDeferred.set(t,r),this.isInitialized(t)||this.shouldAutoInitialize())try{const n=this.getOrInitializeService({instanceIdentifier:t});n&&r.resolve(n)}catch{}}return this.instancesDeferred.get(t).promise}getImmediate(A){var t;const r=this.normalizeInstanceIdentifier(A==null?void 0:A.identifier),n=(t=A==null?void 0:A.optional)!==null&&t!==void 0?t:!1;if(this.isInitialized(r)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:r})}catch(i){if(n)return null;throw i}else{if(n)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(A){if(A.name!==this.name)throw Error(`Mismatching Component ${A.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=A,!!this.shouldAutoInitialize()){if(BL(A))try{this.getOrInitializeService({instanceIdentifier:tn})}catch{}for(const[t,r]of this.instancesDeferred.entries()){const n=this.normalizeInstanceIdentifier(t);try{const i=this.getOrInitializeService({instanceIdentifier:n});r.resolve(i)}catch{}}}}clearInstance(A=tn){this.instancesDeferred.delete(A),this.instancesOptions.delete(A),this.instances.delete(A)}async delete(){const A=Array.from(this.instances.values());await Promise.all([...A.filter(t=>"INTERNAL"in t).map(t=>t.INTERNAL.delete()),...A.filter(t=>"_delete"in t).map(t=>t._delete())])}isComponentSet(){return this.component!=null}isInitialized(A=tn){return this.instances.has(A)}getOptions(A=tn){return this.instancesOptions.get(A)||{}}initialize(A={}){const{options:t={}}=A,r=this.normalizeInstanceIdentifier(A.instanceIdentifier);if(this.isInitialized(r))throw Error(`${this.name}(${r}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const n=this.getOrInitializeService({instanceIdentifier:r,options:t});for(const[i,s]of this.instancesDeferred.entries()){const a=this.normalizeInstanceIdentifier(i);r===a&&s.resolve(n)}return n}onInit(A,t){var r;const n=this.normalizeInstanceIdentifier(t),i=(r=this.onInitCallbacks.get(n))!==null&&r!==void 0?r:new Set;i.add(A),this.onInitCallbacks.set(n,i);const s=this.instances.get(n);return s&&A(s,n),()=>{i.delete(A)}}invokeOnInitCallbacks(A,t){const r=this.onInitCallbacks.get(t);if(r)for(const n of r)try{n(A,t)}catch{}}getOrInitializeService({instanceIdentifier:A,options:t={}}){let r=this.instances.get(A);if(!r&&this.component&&(r=this.component.instanceFactory(this.container,{instanceIdentifier:pL(A),options:t}),this.instances.set(A,r),this.instancesOptions.set(A,t),this.invokeOnInitCallbacks(r,A),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,A,r)}catch{}return r||null}normalizeInstanceIdentifier(A=tn){return this.component?this.component.multipleInstances?A:tn:A}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function pL(e){return e===tn?void 0:e}function BL(e){return e.instantiationMode==="EAGER"}/** 242 * @license 243 * Copyright 2019 Google LLC 244 * 245 * Licensed under the Apache License, Version 2.0 (the "License");
246 * you may not use this file except in compliance with the License. 247 * You may obtain a copy of the License at 248 * 249 * http://www.apache.org/licenses/LICENSE-2.0 250 * 251 * Unless required by applicable law or agreed to in writing, software 252 * distributed under the License is distributed on an "AS IS" BASIS, 253 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 254 * See the License for the specific language governing permissions and 255 * limitations under the License. 256 */class mL{constructor(A){this.name=A,this.providers=new Map}addComponent(A){const t=this.getProvider(A.name);if(t.isComponentSet())throw new Error(`Component ${A.name} has already been registered with ${this.name}`);t.setComponent(A)}addOrOverwriteComponent(A){this.getProvider(A.name).isComponentSet()&&this.providers.delete(A.name),this.addComponent(A)}getProvider(A){if(this.providers.has(A))return this.providers.get(A);const t=new gL(A,this);return this.providers.set(A,t),t}getProviders(){return Array.from(this.providers.values())}}/** 257 * @license 258 * Copyright 2017 Google LLC 259 * 260 * Licensed under the Apache License, Version 2.0 (the "License"); 261 * you may not use this file except in compliance with the License. 262 * You may obtain a copy of the License at 263 * 264 * http://www.apache.org/licenses/LICENSE-2.0 265 * 266 * Unless required by applicable law or agreed to in writing, software 267 * distributed under the License is distributed on an "AS IS" BASIS, 268 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 269 * See the License for the specific language governing permissions and 270 * limitations under the License. 271 */var oA;(function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"})(oA||(oA={}));const wL={debug:oA.DEBUG,verbose:oA.VERBOSE,info:oA.INFO,warn:oA.WARN,error:oA.ERROR,silent:oA.SILENT},yL=oA.INFO,vL={[oA.DEBUG]:"log",[oA.VERBOSE]:"log",[oA.INFO]:"info",[oA.WARN]:"warn",[oA.ERROR]:"error"},CL=(e,A,...t)=>{if(A<e.logLevel)return;const r=new Date().toISOString(),n=vL[A];if(n)console[n](`[${r}] ${e.name}:`,...t);else throw new Error(`Attempted to log a message with an invalid logType (value: ${A})`)};class Ug{constructor(A){this.name=A,this._logLevel=yL,this._logHandler=CL,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(A){if(!(A in oA))throw new TypeError(`Invalid value "${A}" assigned to \`logLevel\``);this._logLevel=A}setLogLevel(A){this._logLevel=typeof A=="string"?wL[A]:A}get logHandler(){return this._logHandler}set logHandler(A){if(typeof A!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=A}get userLogHandler(){return this._userLogHandler}set userLogHandler(A){this._userLogHandler=A}debug(...A){this._userLogHandler&&this._userLogHandler(this,oA.DEBUG,...A),this._logHandler(this,oA.DEBUG,...A)}log(...A){this._userLogHandler&&this._userLogHandler(this,oA.VERBOSE,...A),this._logHandler(this,oA.VERBOSE,...A)}info(...A){this._userLogHandler&&this._userLogHandler(this,oA.INFO,...A),this._logHandler(this,oA.INFO,...A)}warn(...A){this._userLogHandler&&this._userLogHandler(this,oA.WARN,...A),this._logHandler(this,oA.WARN,...A)}error(...A){this._userLogHandler&&this._userLogHandler(this,oA.ERROR,...A),this._logHandler(this,oA.ERROR,...A)}}const EL=(e,A)=>A.some(t=>e instanceof t);let Fw,Tw;function QL(){return Fw||(Fw=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function _L(){return Tw||(Tw=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const uE=new WeakMap,rd=new WeakMap,cE=new WeakMap,Sh=new WeakMap,Fg=new WeakMap;function IL(e){const A=new Promise((t,r)=>{const n=()=>{e.removeEventListener("success",i),e.removeEventListener("error",s)},i=()=>{t(Dr(e.result)),n()},s=()=>{r(e.error),n()};e.addEventListener("success",i),e.addEventListener("error",s)});return A.then(t=>{t instanceof IDBCursor&&uE.set(t,e)}).catch(()=>{}),Fg.set(A,e),A}function UL(e){if(rd.has(e))return;const A=new Promise((t,r)=>{const n=()=>{e.removeEventListener("complete",i),e.removeEventListener("error",s),e.removeEventListener("abort",s)},i=()=>{t(),n()},s=()=>{r(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",i),e.addEventListener("error",s),e.addEventListener("abort",s)});rd.set(e,A)}let nd={get(e,A,t){if(e instanceof IDBTransaction){if(A==="done")return rd.get(e);if(A==="objectStoreNames")return e.objectStoreNames||cE.get(e);if(A==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return Dr(e[A])},set(e,A,t){return e[A]=t,!0},has(e,A){return e instanceof IDBTransaction&&(A==="done"||A==="store")?!0:A in e}};function FL(e){nd=e(nd)}function TL(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(A,...t){const r=e.call(
271Rh(this),A,...t);return cE.set(r,A.sort?A.sort():[A]),Dr(r)}:_L().includes(e)?function(...A){return e.apply(Rh(this),A),Dr(uE.get(this))}:function(...A){return Dr(e.apply(Rh(this),A))}}function SL(e){return typeof e=="function"?TL(e):(e instanceof IDBTransaction&&UL(e),EL(e,QL())?new Proxy(e,nd):e)}function Dr(e){if(e instanceof IDBRequest)return IL(e);if(Sh.has(e))return Sh.get(e);const A=SL(e);return A!==e&&(Sh.set(e,A),Fg.set(A,e)),A}const Rh=e=>Fg.get(e);function RL(e,A,{blocked:t,upgrade:r,blocking:n,terminated:i}={}){const s=indexedDB.open(e,A),a=Dr(s);return r&&s.addEventListener("upgradeneeded",l=>{r(Dr(s.result),l.oldVersion,l.newVersion,Dr(s.transaction),l)}),t&&s.addEventListener("blocked",l=>t(l.oldVersion,l.newVersion,l)),a.then(l=>{i&&l.addEventListener("close",()=>i()),n&&l.addEventListener("versionchange",u=>n(u.oldVersion,u.newVersion,u))}).catch(()=>{}),a}const HL=["get","getKey","getAll","getAllKeys","count"],LL=["put","add","delete","clear"],Hh=new Map;function Sw(e,A){if(!(e instanceof IDBDatabase&&!(A in e)&&typeof A=="string"))return;if(Hh.get(A))return Hh.get(A);const t=A.replace(/FromIndex$/,""),r=A!==t,n=LL.includes(t);if(!(t in(r?IDBIndex:IDBObjectStore).prototype)||!(n||HL.includes(t)))return;const i=async function(s,...a){const l=this.transaction(s,n?"readwrite":"readonly");let u=l.store;return r&&(u=u.index(a.shift())),(await Promise.all([u[t](...a),n&&l.done]))[0]};return Hh.set(A,i),i}FL(e=>({...e,get:(A,t,r)=>Sw(A,t)||e.get(A,t,r),has:(A,t)=>!!Sw(A,t)||e.has(A,t)}));/** 272 * @license 273 * Copyright 2019 Google LLC 274 * 275 * Licensed under the Apache License, Version 2.0 (the "License"); 276 * you may not use this file except in compliance with the License. 277 * You may obtain a copy of the License at 278 * 279 * http://www.apache.org/licenses/LICENSE-2.0 280 * 281 * Unless required by applicable law or agreed to in writing, software 282 * distributed under the License is distributed on an "AS IS" BASIS, 283 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 284 * See the License for the specific language governing permissions and 285 * limitations under the License. 286 */class DL{constructor(A){this.container=A}getPlatformInfoString(){return this.container.getProviders().map(t=>{if(xL(t)){const r=t.getImmediate();return`${r.library}/${r.version}`}else return null}).filter(t=>t).join(" ")}}function xL(e){const A=e.getComponent();return(A==null?void 0:A.type)==="VERSION"}const id="@firebase/app",Rw="0.10.13";/** 287 * @license 288 * Copyright 2019 Google LLC 289 * 290 * Licensed under the Apache License, Version 2.0 (the "License"); 291 * you may not use this file except in compliance with the License. 292 * You may obtain a copy of the License at 293 * 294 * http://www.apache.org/licenses/LICENSE-2.0 295 * 296 * Unless required by applicable law or agreed to in writing, software 297 * distributed under the License is distributed on an "AS IS" BASIS, 298 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 299 * See the License for the specific language governing permissions and 300 * limitations under the License. 301 */const Jt=new Ug("@firebase/app"),PL="@firebase/app-compat",kL="@firebase/analytics-compat",OL="@firebase/analytics",NL="@firebase/app-check-compat",bL="@firebase/app-check",VL="@firebase/auth",ML="@firebase/auth-compat",KL="@firebase/database",GL="@firebase/data-connect",WL="@firebase/database-compat",jL="@firebase/functions",zL="@firebase/functions-compat",XL="@firebase/installations",JL="@firebase/installations-compat",$L="@firebase/messaging",YL="@firebase/messaging-compat",qL="@firebase/performance",ZL="@firebase/performance-compat",A4="@firebase/remote-config",e4="@firebase/remote-config-compat",t4="@firebase/storage",r4="@firebase/storage-compat",n4="@firebase/firestore",i4="@firebase/vertexai-preview",s4="@firebase/firestore-compat",o4="firebase",a4="10.14.1";/** 302 * @license 303 * Copyright 2019 Google LLC 304 * 305 * Licensed under the Apache License, Version 2.0 (the "License"); 306 * you may not use this file except in compliance with the License. 307 * You may obtain a copy of the License at 308 * 309 * http://www.apache.org/licenses/LICENSE-2.0 310 * 311 * Unless required by applicable law or agreed to in writing, softw
311are 312 * distributed under the License is distributed on an "AS IS" BASIS, 313 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 314 * See the License for the specific language governing permissions and 315 * limitations under the License. 316 */const sd="[DEFAULT]",l4={[id]:"fire-core",[PL]:"fire-core-compat",[OL]:"fire-analytics",[kL]:"fire-analytics-compat",[bL]:"fire-app-check",[NL]:"fire-app-check-compat",[VL]:"fire-auth",[ML]:"fire-auth-compat",[KL]:"fire-rtdb",[GL]:"fire-data-connect",[WL]:"fire-rtdb-compat",[jL]:"fire-fn",[zL]:"fire-fn-compat",[XL]:"fire-iid",[JL]:"fire-iid-compat",[$L]:"fire-fcm",[YL]:"fire-fcm-compat",[qL]:"fire-perf",[ZL]:"fire-perf-compat",[A4]:"fire-rc",[e4]:"fire-rc-compat",[t4]:"fire-gcs",[r4]:"fire-gcs-compat",[n4]:"fire-fst",[s4]:"fire-fst-compat",[i4]:"fire-vertex","fire-js":"fire-js",[o4]:"fire-js-all"};/** 317 * @license 318 * Copyright 2019 Google LLC 319 * 320 * Licensed under the Apache License, Version 2.0 (the "License"); 321 * you may not use this file except in compliance with the License. 322 * You may obtain a copy of the License at 323 * 324 * http://www.apache.org/licenses/LICENSE-2.0 325 * 326 * Unless required by applicable law or agreed to in writing, software 327 * distributed under the License is distributed on an "AS IS" BASIS, 328 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 329 * See the License for the specific language governing permissions and 330 * limitations under the License. 331 */const uu=new Map,u4=new Map,od=new Map;function Hw(e,A){try{e.container.addComponent(A)}catch(t){Jt.debug(`Component ${A.name} failed to register with FirebaseApp ${e.name}`,t)}}function Ii(e){const A=e.name;if(od.has(A))return Jt.debug(`There were multiple attempts to register component ${A}.`),!1;od.set(A,e);for(const t of uu.values())Hw(t,e);for(const t of u4.values())Hw(t,e);return!0}function Tg(e,A){const t=e.container.getProvider("heartbeat").getImmediate({optional:!0});return t&&t.triggerHeartbeat(),e.container.getProvider(A)}function kt(e){return e.settings!==void 0}/** 332 * @license 333 * Copyright 2019 Google LLC 334 * 335 * Licensed under the Apache License, Version 2.0 (the "License"); 336 * you may not use this file except in compliance with the License. 337 * You may obtain a copy of the License at 338 * 339 * http://www.apache.org/licenses/LICENSE-2.0 340 * 341 * Unless required by applicable law or agreed to in writing, software 342 * distributed under the License is distributed on an "AS IS" BASIS, 343 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 344 * See the License for the specific language governing permissions and 345 * limitations under the License. 346 */const c4={"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
346d-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."},xr=new xo("app","Firebase",c4);/** 347 * @license 348 * Copyright 2019 Google LLC 349 * 350 * Licensed under the Apache License, Version 2.0 (the "License"); 351 * you may not use this file except in compliance with the License. 352 * You may obtain a copy of the License at 353 * 354 * http://www.apache.org/licenses/LICENSE-2.0 355 * 356 * Unless required by applicable law or agreed to in writing, software 357 * distributed under the License is distributed on an "AS IS" BASIS, 358 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 359 * See the License for the specific language governing permissions and 360 * limitations under the License. 361 */class h4{constructor(A,t,r){this._isDeleted=!1,this._options=Object.assign({},A),this._config=Object.assign({},t),this._name=t.name,this._automaticDataCollectionEnabled=t.automaticDataCollectionEnabled,this._container=r,this.container.addComponent(new yn("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(A){this.checkDestroyed(),this._automaticDataCollectionEnabled=A}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(A){this._isDeleted=A}checkDestroyed(){if(this.isDeleted)throw xr.create("app-deleted",{appName:this._name})}}/** 362 * @license 363 * Copyright 2019 Google LLC 364 * 365 * Licensed under the Apache License, Version 2.0 (the "License"); 366 * you may not use this file except in compliance with the License. 367 * You may obtain a copy of the License at 368 * 369 * http://www.apache.org/licenses/LICENSE-2.0 370 * 371 * Unless required by applicable law or agreed to in writing, software 372 * distributed under the License is distributed on an "AS IS" BASIS, 373 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 374 * See the License for the specific language governing permissions and 375 * limitations under the License. 376 */const Oi=a4;function hE(e,A={}){let t=e;typeof A!="object"&&(A={name:A});const r=Object.assign({name:sd,automaticDataCollectionEnabled:!1},A),n=r.name;if(typeof n!="string"||!n)throw xr.create("bad-app-name",{appName:String(n)});if(t||(t=aE()),!t)throw xr.create("no-options");const i=uu.get(n);if(i){if(lu(t,i.options)&&lu(r,i.config))return i;throw xr.create("duplicate-app",{appName:n})}const s=new mL(n);for(const l of od.values())s.addComponent(l);const a=new h4(t,r,s);return uu.set(n,a),a}function fE(e=sd){const A=uu.get(e);if(!A&&e===sd&&aE())return hE();if(!A)throw xr.create("no-app",{appName:e});return A}function Pr(e,A,t){var r;let n=(r=l4[e])!==null&&r!==void 0?r:e;t&&(n+=`-${t}`);const i=n.match(/\s|\//),s=A.match(/\s|\//);if(i||s){const a=[`Unable to register library "${n}" with version "${A}":`];i&&a.push(`library name "${n}" contains illegal characters (whitespace or "/")`),i&&s&&a.push("and"),s&&a.push(`version name "${A}" contains illegal characters (whitespace or "/")`),Jt.warn(a.join(" "));return}Ii(new yn(`${n}-version`,()=>({library:n,version:A}),"VERSION"))}/** 377 * @license 378 * Copyright 2021 Google LLC 379 * 380 * Licensed under the Apache License, Version 2.0 (the "License"); 381 * you may not use this file except in compliance with the License. 382 * You may obtain a copy of the License at 383 * 384 * http://www.apache.org/licenses/LICENSE-2.0 385 * 386 * Unless required by applicable law or agreed to in writing, softw
386are 387 * distributed under the License is distributed on an "AS IS" BASIS, 388 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 389 * See the License for the specific language governing permissions and 390 * limitations under the License. 391 */const f4="firebase-heartbeat-database",d4=1,mo="firebase-heartbeat-store";let Lh=null;function dE(){return Lh||(Lh=RL(f4,d4,{upgrade:(e,A)=>{switch(A){case 0:try{e.createObjectStore(mo)}catch(t){console.warn(t)}}}}).catch(e=>{throw xr.create("idb-open",{originalErrorMessage:e.message})})),Lh}async function g4(e){try{const t=(await dE()).transaction(mo),r=await t.objectStore(mo).get(gE(e));return await t.done,r}catch(A){if(A instanceof er)Jt.warn(A.message);else{const t=xr.create("idb-get",{originalErrorMessage:A==null?void 0:A.message});Jt.warn(t.message)}}}async function Lw(e,A){try{const r=(await dE()).transaction(mo,"readwrite");await r.objectStore(mo).put(A,gE(e)),await r.done}catch(t){if(t instanceof er)Jt.warn(t.message);else{const r=xr.create("idb-set",{originalErrorMessage:t==null?void 0:t.message});Jt.warn(r.message)}}}function gE(e){return`${e.name}!${e.options.appId}`}/** 392 * @license 393 * Copyright 2021 Google LLC 394 * 395 * Licensed under the Apache License, Version 2.0 (the "License"); 396 * you may not use this file except in compliance with the License. 397 * You may obtain a copy of the License at 398 * 399 * http://www.apache.org/licenses/LICENSE-2.0 400 * 401 * Unless required by applicable law or agreed to in writing, software 402 * distributed under the License is distributed on an "AS IS" BASIS, 403 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 404 * See the License for the specific language governing permissions and 405 * limitations under the License. 406 */const p4=1024,B4=30*24*60*60*1e3;class m4{constructor(A){this.container=A,this._heartbeatsCache=null;const t=this.container.getProvider("app").getImmediate();this._storage=new y4(t),this._heartbeatsCachePromise=this._storage.read().then(r=>(this._heartbeatsCache=r,r))}async triggerHeartbeat(){var A,t;try{const n=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),i=Dw();return((A=this._heartbeatsCache)===null||A===void 0?void 0:A.heartbeats)==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,((t=this._heartbeatsCache)===null||t===void 0?void 0:t.heartbeats)==null)||this._heartbeatsCache.lastSentHeartbeatDate===i||this._heartbeatsCache.heartbeats.some(s=>s.date===i)?void 0:(this._heartbeatsCache.heartbeats.push({date:i,agent:n}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(s=>{const a=new Date(s.date).valueOf();return Date.now()-a<=B4}),this._storage.overwrite(this._heartbeatsCache))}catch(r){Jt.warn(r)}}async getHeartbeatsHeader(){var A;try{if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,((A=this._heartbeatsCache)===null||A===void 0?void 0:A.heartbeats)==null||this._heartbeatsCache.heartbeats.length===0)return"";const t=Dw(),{heartbeatsToSend:r,unsentEntries:n}=w4(this._heartbeatsCache.heartbeats),i=au(JSON.stringify({version:2,heartbeats:r}));return this._heartbeatsCache.lastSentHeartbeatDate=t,n.length>0?(this._heartbeatsCache.heartbeats=n,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),i}catch(t){return Jt.warn(t),""}}}function Dw(){return new Date().toISOString().substring(0,10)}function w4(e,A=p4){const t=[];let r=e.slice();for(const n of e){const i=t.find(s=>s.agent===n.agent);if(i){if(i.dates.push(n.date),xw(t)>A){i.dates.pop();break}}else if(t.push({agent:n.agent,dates:[n.date]}),xw(t)>A){t.pop();break}r=r.slice(1)}return{heartbeatsToSend:t,unsentEntries:r}}class y4{constructor(A){this.app=A,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return sL()?oL().then(()=>!0).catch(()=>!1):!1}async read(){if(await this._canUseIndexedDBPromise){const t=await g4(this.app);return t!=null&&t.heartbeats?t:{heartbeats:[]}}else return{heartbeats:[]}}async overwrite(A){var t;if(await this._canUseIndexedDBPromise){const n=await this.read();return Lw(this.app,{lastSentHeartbeatDate:(t=A.lastSentHeartbeatDate)!==null&&t!==void 0?t:n.lastSentHeartbeatDate,heartbeats:A.heartbeats})}else return}async add(A){var t;if(await this._canUseIndexedDBPromise){const n=await this.read();return Lw(this.app,{lastSentHeartbeatDate:(t=A.lastSentHeartbeatDate)!==null&&t!==void 0?t:n.lastSentHeartbeatDate,heartbeats:[...n.heartbeats,...A.heartbeats]})}else return}}function xw(e){return au(JSON.stringify({version:2,heartbeats:e})).length}/** 407 * @license 408 * Copyright 2019 Google LLC 409 * 410 * Licensed under the Apache License, Version 2.0 (the "License");
411 * you may not use this file except in compliance with the License. 412 * You may obtain a copy of the License at 413 * 414 * http://www.apache.org/licenses/LICENSE-2.0 415 * 416 * Unless required by applicable law or agreed to in writing, software 417 * distributed under the License is distributed on an "AS IS" BASIS, 418 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 419 * See the License for the specific language governing permissions and 420 * limitations under the License. 421 */function v4(e){Ii(new yn("platform-logger",A=>new DL(A),"PRIVATE")),Ii(new yn("heartbeat",A=>new m4(A),"PRIVATE")),Pr(id,Rw,e),Pr(id,Rw,"esm2017"),Pr("fire-js","")}v4("");var C4="firebase",E4="10.14.1";/** 422 * @license 423 * Copyright 2020 Google LLC 424 * 425 * Licensed under the Apache License, Version 2.0 (the "License"); 426 * you may not use this file except in compliance with the License. 427 * You may obtain a copy of the License at 428 * 429 * http://www.apache.org/licenses/LICENSE-2.0 430 * 431 * Unless required by applicable law or agreed to in writing, software 432 * distributed under the License is distributed on an "AS IS" BASIS, 433 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 434 * See the License for the specific language governing permissions and 435 * limitations under the License. 436 */Pr(C4,E4,"app");function Sg(e,A){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&A.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)A.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(t[r[n]]=e[r[n]]);return t}function pE(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}}const Q4=pE,BE=new xo("auth","Firebase",pE());/** 437 * @license 438 * Copyright 2020 Google LLC 439 * 440 * Licensed under the Apache License, Version 2.0 (the "License"); 441 * you may not use this file except in compliance with the License. 442 * You may obtain a copy of the License at 443 * 444 * http://www.apache.org/licenses/LICENSE-2.0 445 * 446 * Unless required by applicable law or agreed to in writing, software 447 * distributed under the License is distributed on an "AS IS" BASIS, 448 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 449 * See the License for the specific language governing permissions and 450 * limitations under the License. 451 */const cu=new Ug("@firebase/auth");function _4(e,...A){cu.logLevel<=oA.WARN&&cu.warn(`Auth (${Oi}): ${e}`,...A)}function wl(e,...A){cu.logLevel<=oA.ERROR&&cu.error(`Auth (${Oi}): ${e}`,...A)}/** 452 * @license 453 * Copyright 2020 Google LLC 454 * 455 * Licensed under the Apache License, Version 2.0 (the "License"); 456 * you may not use this file except in compliance with the License. 457 * You may obtain a copy of the License at 458 * 459 * http://www.apache.org/licenses/LICENSE-2.0 460 * 461 * Unless required by applicable law or agreed to in writing, software 462 * distributed under the License is distributed on an "AS IS" BASIS, 463 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 464 * See the License for the specific language governing permissions and 465 * limitations under the License. 466 */function $t(e,...A){throw Rg(e,...A)}function Ct(e,...A){return Rg(e,...A)}function mE(e,A,t){const r=Object.assign(Object.assign({},Q4()),{[A]:t});return new xo("auth","Firebase",r).create(A,{appName:e.name})}function kr(e){return mE(e,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function Rg(e,...A){if(typeof e!="string"){const t=A[0],r=[...A.slice(1)];return r[0]&&(r[0].appName=e.name),e._errorFactory.create(t,...r)}return BE.create(e,...A)}function Y(e,A,...t){if(!e)throw Rg(A,...t)}function Ot(e){const A="INTERNAL ASSERTION FAILED: "+e;throw wl(A),new Error(A)}function Yt(e,A){e||Ot(A)}/** 467 * @license 468 * Copyright 2020 Google LLC 469 * 470 * Licensed under the Apache License, Version 2.0 (the "License");
471 * you may not use this file except in compliance with the License. 472 * You may obtain a copy of the License at 473 * 474 * http://www.apache.org/licenses/LICENSE-2.0 475 * 476 * Unless required by applicable law or agreed to in writing, software 477 * distributed under the License is distributed on an "AS IS" BASIS, 478 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 479 * See the License for the specific language governing permissions and 480 * limitations under the License. 481 */function ad(){var e;return typeof self<"u"&&((e=self.location)===null||e===void 0?void 0:e.href)||""}function I4(){return Pw()==="http:"||Pw()==="https:"}function Pw(){var e;return typeof self<"u"&&((e=self.location)===null||e===void 0?void 0:e.protocol)||null}/** 482 * @license 483 * Copyright 2020 Google LLC 484 * 485 * Licensed under the Apache License, Version 2.0 (the "License"); 486 * you may not use this file except in compliance with the License. 487 * You may obtain a copy of the License at 488 * 489 * http://www.apache.org/licenses/LICENSE-2.0 490 * 491 * Unless required by applicable law or agreed to in writing, software 492 * distributed under the License is distributed on an "AS IS" BASIS, 493 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 494 * See the License for the specific language governing permissions and 495 * limitations under the License. 496 */function U4(){return typeof navigator<"u"&&navigator&&"onLine"in navigator&&typeof navigator.onLine=="boolean"&&(I4()||tL()||"connection"in navigator)?navigator.onLine:!0}function F4(){if(typeof navigator>"u")return null;const e=navigator;return e.languages&&e.languages[0]||e.language||null}/** 497 * @license 498 * Copyright 2020 Google LLC 499 * 500 * Licensed under the Apache License, Version 2.0 (the "License"); 501 * you may not use this file except in compliance with the License. 502 * You may obtain a copy of the License at 503 * 504 * http://www.apache.org/licenses/LICENSE-2.0 505 * 506 * Unless required by applicable law or agreed to in writing, software 507 * distributed under the License is distributed on an "AS IS" BASIS, 508 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 509 * See the License for the specific language governing permissions and 510 * limitations under the License. 511 */class ko{constructor(A,t){this.shortDelay=A,this.longDelay=t,Yt(t>A,"Short delay should be less than long delay!"),this.isMobile=ZH()||rL()}get(){return U4()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}/** 512 * @license 513 * Copyright 2020 Google LLC 514 * 515 * Licensed under the Apache License, Version 2.0 (the "License"); 516 * you may not use this file except in compliance with the License. 517 * You may obtain a copy of the License at 518 * 519 * http://www.apache.org/licenses/LICENSE-2.0 520 * 521 * Unless required by applicable law or agreed to in writing, software 522 * distributed under the License is distributed on an "AS IS" BASIS, 523 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 524 * See the License for the specific language governing permissions and 525 * limitations under the License. 526 */function Hg(e,A){Yt(e.emulator,"Emulator should always be set here");const{url:t}=e.emulator;return A?`${t}${A.startsWith("/")?A.slice(1):A}`:t}/** 527 * @license 528 * Copyright 2020 Google LLC 529 * 530 * Licensed under the Apache License, Version 2.0 (the "License"); 531 * you may not use this file except in compliance with the License. 532 * You may obtain a copy of the License at 533 * 534 * http://www.apache.org/licenses/LICENSE-2.0 535 * 536 * Unless required by applicable law or agreed to in writing, software 537 * distributed under the License is distributed on an "AS IS" BASIS, 538 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 539 * See the License for the specific language governing permissions and 540 * limitations under the License. 541 */class wE{static initialize(A,t,r){this.fetchImpl=A,t&&(this.headersImpl=t),r&&(this.responseImpl=r)}static fetch(){if(this.fetchImpl)return this.fetchImpl;if(typeof self<"u"&&"fetch"in self)return self.fetch;if(typeof globalThis<"u"&&globalThis.fetch)return globalThis.fetch;if(typeof fetch<"u")return fetch;Ot("Could not find fetch implementation, make sure you call FetchProvi
541der.initialize() with an appropriate polyfill")}static headers(){if(this.headersImpl)return this.headersImpl;if(typeof self<"u"&&"Headers"in self)return self.Headers;if(typeof globalThis<"u"&&globalThis.Headers)return globalThis.Headers;if(typeof Headers<"u")return Headers;Ot("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){if(this.responseImpl)return this.responseImpl;if(typeof self<"u"&&"Response"in self)return self.Response;if(typeof globalThis<"u"&&globalThis.Response)return globalThis.Response;if(typeof Response<"u")return Response;Ot("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}/** 542 * @license 543 * Copyright 2020 Google LLC 544 * 545 * Licensed under the Apache License, Version 2.0 (the "License"); 546 * you may not use this file except in compliance with the License. 547 * You may obtain a copy of the License at 548 * 549 * http://www.apache.org/licenses/LICENSE-2.0 550 * 551 * Unless required by applicable law or agreed to in writing, software 552 * distributed under the License is distributed on an "AS IS" BASIS, 553 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 554 * See the License for the specific language governing permissions and 555 * limitations under the License. 556 */const T4={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"};/** 557 * @license 558 * Copyright 2020 Google LLC 559 * 560 * Licensed under the Apache License, Version 2.0 (the "License"); 561 * you may not use this file except in compliance with the License. 562 * You may obtain a copy of the License at 563 * 564 * http://www.apache.org/licenses/LICENSE-2.0 565 * 566 * Unless required by applicable law or agreed to in writing, software 567 * distributed under the License is distributed on an "AS IS" BASIS, 568 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 569 * See the License for the specific language governing permissions and 570 * limitations under the License. 571 */const S4=new ko(3e4,6e4);function Yu(e,A){return e.tenantId&&!A.tenantId?Object.assign(Object.assign({},A),{tenantId:e.tenantId}):A}async function Ni(e,A,t,r,n={}){return yE(e,n,async()=>{let i={},s={};r&&(A==="GET"?s=r:i={body:JSON.stringify(r)});const a=Po(Object.assign({key:e.config.apiKey},s)).slice(1),l=await e._getAdditionalHeaders();l["Content-Type"]="application/json",e.languageCode&&(l["X-Firebase-Locale"]=e.languageCode);const u=Object.assign({method:A,headers:l},i);return eL()||(u.referrerPolicy="no-referrer"),wE.fetch()(CE(e,e.config.apiHost,t,a),u)})}async function yE(e,A,t){e._canInitEmulator=!1;const r=Object.assign(Object.assign({},T4),A);try{const n=new R4(e),i=await Promise.race([t(),n.promise]);n.clearNetworkTimeout();const s=await i.json();if("needConfirmation"in s)throw Ya(e,"account-exists-with-different-credential",s);if(i.ok&&!("errorMessage"in s))return s;{const a=i.ok?s.errorMessage:s.error.message,[l,u]=a.split(" : ");if(l==="FEDERATED_USER_ID_ALREADY_LINKED")throw Ya(e,"credential-already-in-use",s);if(l==="EMAIL_EXISTS")throw Ya(e,"email-already-in-use",s);if(l==="USER_DISABLED")throw Ya(e,"user-disabled",s);const h=r[l]||l.toLowerCase().replace(/[_\s]+/g,"-");if(u)throw mE(e,h,u);$t(e,h)}}catch(n){if(n instanceof er)throw n;$t(e,"network-request-failed",{message:String(n)})}}async function vE(e,A,t,r,n={}){const i=await Ni(e,A,t,r,n);return"mfaPendingCredential"in i&&$t(e,"multi-factor-auth-required",{_serverResponse:i}),i}function CE(e,A,t,r){const n=`${A}${t}?${r}`;return e.config.emulator?Hg(e.config,n):`${e.config.apiScheme}://${n}`}class R4{constructor(A){this.auth=A,this.timer=null,this.promise=new Promise((t,r)=>{this.timer=setTimeout(()=>r(Ct(this.auth,"network-request-failed")),S4.get())})}clearNetworkTimeout(){clearTimeout(this.timer)}}
571function Ya(e,A,t){const r={appName:e.name};t.email&&(r.email=t.email),t.phoneNumber&&(r.phoneNumber=t.phoneNumber);const n=Ct(e,A,r);return n.customData._tokenResponse=t,n}/** 572 * @license 573 * Copyright 2020 Google LLC 574 * 575 * Licensed under the Apache License, Version 2.0 (the "License"); 576 * you may not use this file except in compliance with the License. 577 * You may obtain a copy of the License at 578 * 579 * http://www.apache.org/licenses/LICENSE-2.0 580 * 581 * Unless required by applicable law or agreed to in writing, software 582 * distributed under the License is distributed on an "AS IS" BASIS, 583 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 584 * See the License for the specific language governing permissions and 585 * limitations under the License. 586 */async function H4(e,A){return Ni(e,"POST","/v1/accounts:delete",A)}async function EE(e,A){return Ni(e,"POST","/v1/accounts:lookup",A)}/** 587 * @license 588 * Copyright 2020 Google LLC 589 * 590 * Licensed under the Apache License, Version 2.0 (the "License"); 591 * you may not use this file except in compliance with the License. 592 * You may obtain a copy of the License at 593 * 594 * http://www.apache.org/licenses/LICENSE-2.0 595 * 596 * Unless required by applicable law or agreed to in writing, software 597 * distributed under the License is distributed on an "AS IS" BASIS, 598 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 599 * See the License for the specific language governing permissions and 600 * limitations under the License. 601 */function js(e){if(e)try{const A=new Date(Number(e));if(!isNaN(A.getTime()))return A.toUTCString()}catch{}}async function L4(e,A=!1){const t=Ke(e),r=await t.getIdToken(A),n=Lg(r);Y(n&&n.exp&&n.auth_time&&n.iat,t.auth,"internal-error");const i=typeof n.firebase=="object"?n.firebase:void 0,s=i==null?void 0:i.sign_in_provider;return{claims:n,token:r,authTime:js(Dh(n.auth_time)),issuedAtTime:js(Dh(n.iat)),expirationTime:js(Dh(n.exp)),signInProvider:s||null,signInSecondFactor:(i==null?void 0:i.sign_in_second_factor)||null}}function Dh(e){return Number(e)*1e3}function Lg(e){const[A,t,r]=e.split(".");if(A===void 0||t===void 0||r===void 0)return wl("JWT malformed, contained fewer than 3 sections"),null;try{const n=sE(t);return n?JSON.parse(n):(wl("Failed to decode base64 JWT payload"),null)}catch(n){return wl("Caught error parsing JWT payload as JSON",n==null?void 0:n.toString()),null}}function kw(e){const A=Lg(e);return Y(A,"internal-error"),Y(typeof A.exp<"u","internal-error"),Y(typeof A.iat<"u","internal-error"),Number(A.exp)-Number(A.iat)}/** 602 * @license 603 * Copyright 2020 Google LLC 604 * 605 * Licensed under the Apache License, Version 2.0 (the "License"); 606 * you may not use this file except in compliance with the License. 607 * You may obtain a copy of the License at 608 * 609 * http://www.apache.org/licenses/LICENSE-2.0 610 * 611 * Unless required by applicable law or agreed to in writing, software 612 * distributed under the License is distributed on an "AS IS" BASIS, 613 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 614 * See the License for the specific language governing permissions and 615 * limitations under the License. 616 */async function wo(e,A,t=!1){if(t)return A;try{return await A}catch(r){throw r instanceof er&&D4(r)&&e.auth.currentUser===e&&await e.auth.signOut(),r}}function D4({code:e}){return e==="auth/user-disabled"||e==="auth/user-token-expired"}/** 617 * @license 618 * Copyright 2020 Google LLC 619 * 620 * Licensed under the Apache License, Version 2.0 (the "License"); 621 * you may not use this file except in compliance with the License. 622 * You may obtain a copy of the License at 623 * 624 * http://www.apache.org/licenses/LICENSE-2.0 625 * 626 * Unless required by applicable law or agreed to in writing, software 627 * distributed under the License is distributed on an "AS IS" BASIS, 628 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 629 * See the License for the specific language governing permissions and 630 * limitations under the License. 631 */class x4{constructor(A){this.user=A,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,this.timerId!==null&&clearTimeout(this.timerId))}getInterval(A){var t;if(A){const r=this.errorBackoff;return this.errorBackoff=Math.min(this.errorBackoff*2,96e4),r}else{this.errorBackoff=3e4;const n=((t=this.user.stsTokenManager.expirationTime)!==null&&t!==void 0?t:0)-Date.now()-3e5;return Math.max(0,n)}}schedule(A=!1){if(!this.isRunning)return;const t=this.getInterval(A);this.timerId=setTimeout(async()=>{await this.iteration()},t)}async iteration(){try{await this.user.getIdToken(!0)}catch(A){(A==null?void 0:A.code)==="auth/network-request-failed"&&this.schedule(!0);return}this.schedule()}}/** 632 * @license 633 * Copyright 2020 Google LLC 634 * 635 * Licensed under the Apache License, Version 2.0 (the "License");
636 * you may not use this file except in compliance with the License. 637 * You may obtain a copy of the License at 638 * 639 * http://www.apache.org/licenses/LICENSE-2.0 640 * 641 * Unless required by applicable law or agreed to in writing, software 642 * distributed under the License is distributed on an "AS IS" BASIS, 643 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 644 * See the License for the specific language governing permissions and 645 * limitations under the License. 646 */class ld{constructor(A,t){this.createdAt=A,this.lastLoginAt=t,this._initializeTime()}_initializeTime(){this.lastSignInTime=js(this.lastLoginAt),this.creationTime=js(this.createdAt)}_copy(A){this.createdAt=A.createdAt,this.lastLoginAt=A.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}/** 647 * @license 648 * Copyright 2019 Google LLC 649 * 650 * Licensed under the Apache License, Version 2.0 (the "License"); 651 * you may not use this file except in compliance with the License. 652 * You may obtain a copy of the License at 653 * 654 * http://www.apache.org/licenses/LICENSE-2.0 655 * 656 * Unless required by applicable law or agreed to in writing, software 657 * distributed under the License is distributed on an "AS IS" BASIS, 658 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 659 * See the License for the specific language governing permissions and 660 * limitations under the License. 661 */async function hu(e){var A;const t=e.auth,r=await e.getIdToken(),n=await wo(e,EE(t,{idToken:r}));Y(n==null?void 0:n.users.length,t,"internal-error");const i=n.users[0];e._notifyReloadListener(i);const s=!((A=i.providerUserInfo)===null||A===void 0)&&A.length?QE(i.providerUserInfo):[],a=k4(e.providerData,s),l=e.isAnonymous,u=!(e.email&&i.passwordHash)&&!(a!=null&&a.length),h=l?u:!1,d={uid:i.localId,displayName:i.displayName||null,photoURL:i.photoUrl||null,email:i.email||null,emailVerified:i.emailVerified||!1,phoneNumber:i.phoneNumber||null,tenantId:i.tenantId||null,providerData:a,metadata:new ld(i.createdAt,i.lastLoginAt),isAnonymous:h};Object.assign(e,d)}async function P4(e){const A=Ke(e);await hu(A),await A.auth._persistUserIfCurrent(A),A.auth._notifyListenersIfCurrent(A)}function k4(e,A){return[...e.filter(r=>!A.some(n=>n.providerId===r.providerId)),...A]}function QE(e){return e.map(A=>{var{providerId:t}=A,r=Sg(A,["providerId"]);return{providerId:t,uid:r.rawId||"",displayName:r.displayName||null,email:r.email||null,phoneNumber:r.phoneNumber||null,photoURL:r.photoUrl||null}})}/** 662 * @license 663 * Copyright 2020 Google LLC 664 * 665 * Licensed under the Apache License, Version 2.0 (the "License"); 666 * you may not use this file except in compliance with the License. 667 * You may obtain a copy of the License at 668 * 669 * http://www.apache.org/licenses/LICENSE-2.0 670 * 671 * Unless required by applicable law or agreed to in writing, software 672 * distributed under the License is distributed on an "AS IS" BASIS, 673 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 674 * See the License for the specific language governing permissions and 675 * limitations under the License. 676 */async function O4(e,A){const t=await yE(e,{},async()=>{const r=Po({grant_type:"refresh_token",refresh_token:A}).slice(1),{tokenApiHost:n,apiKey:i}=e.config,s=CE(e,n,"/v1/token",`key=${i}`),a=await e._getAdditionalHeaders();return a["Content-Type"]="application/x-www-form-urlencoded",wE.fetch()(s,{method:"POST",headers:a,body:r})});return{accessToken:t.access_token,expiresIn:t.expires_in,refreshToken:t.refresh_token}}async function N4(e,A){return Ni(e,"POST","/v2/accounts:revokeToken",Yu(e,A))}/** 677 * @license 678 * Copyright 2020 Google LLC 679 * 680 * Licensed under the Apache License, Version 2.0 (the "License"); 681 * you may not use this file except in compliance with the License. 682 * You may obtain a copy of the License at 683 * 684 * http://www.apache.org/licenses/LICENSE-2.0 685 * 686 * Unless required by applicable law or agreed to in writing, software 687 * distributed under the License is distributed on an "AS IS" BASIS, 688 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 689 * See the License for the specific language governing permissions and 690 * limitations under the License. 691 */class di{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(A){Y(A.idToken,"internal-error"),Y(typeof A.idToken<"u","internal-error"),Y(typeof A.refreshToken<"u","internal-error");
691const t="expiresIn"in A&&typeof A.expiresIn<"u"?Number(A.expiresIn):kw(A.idToken);this.updateTokensAndExpiration(A.idToken,A.refreshToken,t)}updateFromIdToken(A){Y(A.length!==0,"internal-error");const t=kw(A);this.updateTokensAndExpiration(A,null,t)}async getToken(A,t=!1){return!t&&this.accessToken&&!this.isExpired?this.accessToken:(Y(this.refreshToken,A,"user-token-expired"),this.refreshToken?(await this.refresh(A,this.refreshToken),this.accessToken):null)}clearRefreshToken(){this.refreshToken=null}async refresh(A,t){const{accessToken:r,refreshToken:n,expiresIn:i}=await O4(A,t);this.updateTokensAndExpiration(r,n,Number(i))}updateTokensAndExpiration(A,t,r){this.refreshToken=t||null,this.accessToken=A||null,this.expirationTime=Date.now()+r*1e3}static fromJSON(A,t){const{refreshToken:r,accessToken:n,expirationTime:i}=t,s=new di;return r&&(Y(typeof r=="string","internal-error",{appName:A}),s.refreshToken=r),n&&(Y(typeof n=="string","internal-error",{appName:A}),s.accessToken=n),i&&(Y(typeof i=="number","internal-error",{appName:A}),s.expirationTime=i),s}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(A){this.accessToken=A.accessToken,this.refreshToken=A.refreshToken,this.expirationTime=A.expirationTime}_clone(){return Object.assign(new di,this.toJSON())}_performRefresh(){return Ot("not implemented")}}/** 692 * @license 693 * Copyright 2020 Google LLC 694 * 695 * Licensed under the Apache License, Version 2.0 (the "License"); 696 * you may not use this file except in compliance with the License. 697 * You may obtain a copy of the License at 698 * 699 * http://www.apache.org/licenses/LICENSE-2.0 700 * 701 * Unless required by applicable law or agreed to in writing, software 702 * distributed under the License is distributed on an "AS IS" BASIS, 703 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 704 * See the License for the specific language governing permissions and 705 * limitations under the License. 706 */function sr(e,A){Y(typeof e=="string"||typeof e>"u","internal-error",{appName:A})}class Nt{constructor(A){var{uid:t,auth:r,stsTokenManager:n}=A,i=Sg(A,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new x4(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=t,this.auth=r,this.stsTokenManager=n,this.accessToken=n.accessToken,this.displayName=i.displayName||null,this.email=i.email||null,this.emailVerified=i.emailVerified||!1,this.phoneNumber=i.phoneNumber||null,this.photoURL=i.photoURL||null,this.isAnonymous=i.isAnonymous||!1,this.tenantId=i.tenantId||null,this.providerData=i.providerData?[...i.providerData]:[],this.metadata=new ld(i.createdAt||void 0,i.lastLoginAt||void 0)}async getIdToken(A){const t=await wo(this,this.stsTokenManager.getToken(this.auth,A));return Y(t,this.auth,"internal-error"),this.accessToken!==t&&(this.accessToken=t,await this.auth._persistUserIfCurrent(this),this.auth._notifyListenersIfCurrent(this)),t}getIdTokenResult(A){return L4(this,A)}reload(){return P4(this)}_assign(A){this!==A&&(Y(this.uid===A.uid,this.auth,"internal-error"),this.displayName=A.displayName,this.photoURL=A.photoURL,this.email=A.email,this.emailVerified=A.emailVerified,this.phoneNumber=A.phoneNumber,this.isAnonymous=A.isAnonymous,this.tenantId=A.tenantId,this.providerData=A.providerData.map(t=>Object.assign({},t)),this.metadata._copy(A.metadata),this.stsTokenManager._assign(A.stsTokenManager))}_clone(A){const t=new Nt(Object.assign(Object.assign({},this),{auth:A,stsTokenManager:this.stsTokenManager._clone()}));return t.metadata._copy(this.metadata),t}_onReload(A){Y(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=A,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(A){this.reloadListener?this.reloadListener(A):this.reloadUserInfo=A}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}async _updateTokensIfNecessary(A,t=!1){let r=!1;A.idToken&&A.idToken!==this.stsTokenManager.accessToken&&(this.stsTokenManager.updateFromServerResponse(A),r=!0),t&&await hu(this),await this.auth._persistUserIfCurrent(this),r&&this.auth._notifyListenersIfCurrent(this)}async delete(){if(kt(this.auth.app))return Promise.reject(kr(this.auth));const A=await this.getIdToken();return await wo(this,H4(this.auth,{idToken:A})),this.stsTokenManager.clearRefreshToken(),this.auth.signOut()}toJSON(){return Object.assign(Object.assign({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isA
706nonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(A=>Object.assign({},A)),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(A,t){var r,n,i,s,a,l,u,h;const d=(r=t.displayName)!==null&&r!==void 0?r:void 0,g=(n=t.email)!==null&&n!==void 0?n:void 0,E=(i=t.phoneNumber)!==null&&i!==void 0?i:void 0,_=(s=t.photoURL)!==null&&s!==void 0?s:void 0,F=(a=t.tenantId)!==null&&a!==void 0?a:void 0,L=(l=t._redirectEventId)!==null&&l!==void 0?l:void 0,v=(u=t.createdAt)!==null&&u!==void 0?u:void 0,m=(h=t.lastLoginAt)!==null&&h!==void 0?h:void 0,{uid:I,emailVerified:R,isAnonymous:x,providerData:H,stsTokenManager:y}=t;Y(I&&y,A,"internal-error");const B=di.fromJSON(this.name,y);Y(typeof I=="string",A,"internal-error"),sr(d,A.name),sr(g,A.name),Y(typeof R=="boolean",A,"internal-error"),Y(typeof x=="boolean",A,"internal-error"),sr(E,A.name),sr(_,A.name),sr(F,A.name),sr(L,A.name),sr(v,A.name),sr(m,A.name);const w=new Nt({uid:I,auth:A,email:g,emailVerified:R,displayName:d,isAnonymous:x,photoURL:_,phoneNumber:E,tenantId:F,stsTokenManager:B,createdAt:v,lastLoginAt:m});return H&&Array.isArray(H)&&(w.providerData=H.map(Q=>Object.assign({},Q))),L&&(w._redirectEventId=L),w}static async _fromIdTokenResponse(A,t,r=!1){const n=new di;n.updateFromServerResponse(t);const i=new Nt({uid:t.localId,auth:A,stsTokenManager:n,isAnonymous:r});return await hu(i),i}static async _fromGetAccountInfoResponse(A,t,r){const n=t.users[0];Y(n.localId!==void 0,"internal-error");const i=n.providerUserInfo!==void 0?QE(n.providerUserInfo):[],s=!(n.email&&n.passwordHash)&&!(i!=null&&i.length),a=new di;a.updateFromIdToken(r);const l=new Nt({uid:n.localId,auth:A,stsTokenManager:a,isAnonymous:s}),u={uid:n.localId,displayName:n.displayName||null,photoURL:n.photoUrl||null,email:n.email||null,emailVerified:n.emailVerified||!1,phoneNumber:n.phoneNumber||null,tenantId:n.tenantId||null,providerData:i,metadata:new ld(n.createdAt,n.lastLoginAt),isAnonymous:!(n.email&&n.passwordHash)&&!(i!=null&&i.length)};return Object.assign(l,u),l}}/** 707 * @license 708 * Copyright 2020 Google LLC 709 * 710 * Licensed under the Apache License, Version 2.0 (the "License"); 711 * you may not use this file except in compliance with the License. 712 * You may obtain a copy of the License at 713 * 714 * http://www.apache.org/licenses/LICENSE-2.0 715 * 716 * Unless required by applicable law or agreed to in writing, software 717 * distributed under the License is distributed on an "AS IS" BASIS, 718 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 719 * See the License for the specific language governing permissions and 720 * limitations under the License. 721 */const Ow=new Map;function bt(e){Yt(e instanceof Function,"Expected a class definition");let A=Ow.get(e);return A?(Yt(A instanceof e,"Instance stored in cache mismatched with class"),A):(A
721=new e,Ow.set(e,A),A)}/** 722 * @license 723 * Copyright 2019 Google LLC 724 * 725 * Licensed under the Apache License, Version 2.0 (the "License"); 726 * you may not use this file except in compliance with the License. 727 * You may obtain a copy of the License at 728 * 729 * http://www.apache.org/licenses/LICENSE-2.0 730 * 731 * Unless required by applicable law or agreed to in writing, software 732 * distributed under the License is distributed on an "AS IS" BASIS, 733 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 734 * See the License for the specific language governing permissions and 735 * limitations under the License. 736 */class _E{constructor(){this.type="NONE",this.storage={}}async _isAvailable(){return!0}async _set(A,t){this.storage[A]=t}async _get(A){const t=this.storage[A];return t===void 0?null:t}async _remove(A){delete this.storage[A]}_addListener(A,t){}_removeListener(A,t){}}_E.type="NONE";const Nw=_E;/** 737 * @license 738 * Copyright 2019 Google LLC 739 * 740 * Licensed under the Apache License, Version 2.0 (the "License"); 741 * you may not use this file except in compliance with the License. 742 * You may obtain a copy of the License at 743 * 744 * http://www.apache.org/licenses/LICENSE-2.0 745 * 746 * Unless required by applicable law or agreed to in writing, software 747 * distributed under the License is distributed on an "AS IS" BASIS, 748 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 749 * See the License for the specific language governing permissions and 750 * limitations under the License. 751 */function yl(e,A,t){return`firebase:${e}:${A}:${t}`}class gi{constructor(A,t,r){this.persistence=A,this.auth=t,this.userKey=r;const{config:n,name:i}=this.auth;this.fullUserKey=yl(this.userKey,n.apiKey,i),this.fullPersistenceKey=yl("persistence",n.apiKey,i),this.boundEventHandler=t._onStorageEvent.bind(t),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(A){return this.persistence._set(this.fullUserKey,A.toJSON())}async getCurrentUser(){const A=await this.persistence._get(this.fullUserKey);return A?Nt._fromJSON(this.auth,A):null}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}async setPersistence(A){if(this.persistence===A)return;const t=await this.getCurrentUser();if(await this.removeCurrentUser(),this.persistence=A,t)return this.setCurrentUser(t)}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static async create(A,t,r="authUser"){if(!t.length)return new gi(bt(Nw),A,r);const n=(await Promise.all(t.map(async u=>{if(await u._isAvailable())return u}))).filter(u=>u);let i=n[0]||bt(Nw);const s=yl(r,A.config.apiKey,A.name);let a=null;for(const u of t)try{const h=await u._get(s);if(h){const d=Nt._fromJSON(A,h);u!==i&&(a=d),i=u;break}}catch{}const l=n.filter(u=>u._shouldAllowMigration);return!i._shouldAllowMigration||!l.length?new gi(i,A,r):(i=l[0],a&&await i._set(s,a.toJSON()),await Promise.all(t.map(async u=>{if(u!==i)try{await u._remove(s)}catch{}})),new gi(i,A,r))}}/** 752 * @license 753 * Copyright 2020 Google LLC 754 * 755 * Licensed under the Apache License, Version 2.0 (the "License"); 756 * you may not use this file except in compliance with the License. 757 * You may obtain a copy of the License at 758 * 759 * http://www.apache.org/licenses/LICENSE-2.0 760 * 761 * Unless required by applicable law or agreed to in writing, software 762 * distributed under the License is distributed on an "AS IS" BASIS, 763 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 764 * See the License for the specific language governing permissions and 765 * limitations under the License. 766 */function bw(e){const A=e.toLowerCase();if(A.includes("opera/")||A.includes("opr/")||A.includes("opios/"))return"Opera";if(TE(A))return"IEMobile";if(A.includes("msie")||A.includes("trident/"))return"IE";if(A.includes("edge/"))return"Edge";if(IE(A))return"Firefox";if(A.includes("silk/"))return"Silk";if(RE(A))return"Blackberry";if(HE(A))return"Webos";if(UE(A))return"Safari";if((A.includes("chrome/")||FE(A))&&!A.includes("edge/"))return"Chrome";if(SE(A))return"Android";{const t=/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/,r=e.match(t);if((r==null?void 0:r.length)===2)return r[1]}return"Other"}function IE(e=Ee()){return/firefox\//i.test(e)}function UE(e=Ee()){const A=e.toLowerCase();return A.includes("safari/")&&!A.includes("chrome/")&&!A.includes("crios/")&&!A.includes("android")}function FE(e=Ee()){return/crios\//i.test(e)}function TE(e=Ee()){return/iemobile/i.test(e)}function SE(e=Ee()){return/android/i.test(e)}function RE(e=Ee()){return/blackberry/i.test(e)}function HE(e=Ee()){return/webos/i.test(e)}function Dg(e=Ee()){return/iphone|ipad|ipod/i.test(e)||/macintosh/i.test(e)&&/mobile/i.test(e)}function b4(e=Ee()){var A;return Dg(e)&&!!(!((A=window.navigator)===null||A===void 0)&&A.standalone)}function V4(){return nL()&&document.documentMode===10}function LE(e=Ee()){return Dg(e)||SE(e)||HE(e)||RE(e)||/windows phone/i.test(e)||TE(e)}/** 767 * @license 768 * Copyright 2020 Google LLC 769 * 770 * Licensed under the Apache License, Version 2.0 (the "License");
771 * you may not use this file except in compliance with the License. 772 * You may obtain a copy of the License at 773 * 774 * http://www.apache.org/licenses/LICENSE-2.0 775 * 776 * Unless required by applicable law or agreed to in writing, software 777 * distributed under the License is distributed on an "AS IS" BASIS, 778 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 779 * See the License for the specific language governing permissions and 780 * limitations under the License. 781 */function DE(e,A=[]){let t;switch(e){case"Browser":t=bw(Ee());break;case"Worker":t=`${bw(Ee())}-${e}`;break;default:t=e}const r=A.length?A.join(","):"FirebaseCore-web";return`${t}/JsCore/${Oi}/${r}`}/** 782 * @license 783 * Copyright 2022 Google LLC 784 * 785 * Licensed under the Apache License, Version 2.0 (the "License"); 786 * you may not use this file except in compliance with the License. 787 * You may obtain a copy of the License at 788 * 789 * http://www.apache.org/licenses/LICENSE-2.0 790 * 791 * Unless required by applicable law or agreed to in writing, software 792 * distributed under the License is distributed on an "AS IS" BASIS, 793 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 794 * See the License for the specific language governing permissions and 795 * limitations under the License. 796 */class M4{constructor(A){this.auth=A,this.queue=[]}pushCallback(A,t){const r=i=>new Promise((s,a)=>{try{const l=A(i);s(l)}catch(l){a(l)}});r.onAbort=t,this.queue.push(r);const n=this.queue.length-1;return()=>{this.queue[n]=()=>Promise.resolve()}}async runMiddleware(A){if(this.auth.currentUser===A)return;const t=[];try{for(const r of this.queue)await r(A),r.onAbort&&t.push(r.onAbort)}catch(r){t.reverse();for(const n of t)try{n()}catch{}throw this.auth._errorFactory.create("login-blocked",{originalMessage:r==null?void 0:r.message})}}}/** 797 * @license 798 * Copyright 2023 Google LLC 799 * 800 * Licensed under the Apache License, Version 2.0 (the "License"); 801 * you may not use this file except in compliance with the License. 802 * You may obtain a copy of the License at 803 * 804 * http://www.apache.org/licenses/LICENSE-2.0 805 * 806 * Unless required by applicable law or agreed to in writing, software 807 * distributed under the License is distributed on an "AS IS" BASIS, 808 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 809 * See the License for the specific language governing permissions and 810 * limitations under the License. 811 */async function K4(e,A={}){return Ni(e,"GET","/v2/passwordPolicy",Yu(e,A))}/** 812 * @license 813 * Copyright 2023 Google LLC 814 * 815 * Licensed under the Apache License, Version 2.0 (the "License"); 816 * you may not use this file except in compliance with the License. 817 * You may obtain a copy of the License at 818 * 819 * http://www.apache.org/licenses/LICENSE-2.0 820 * 821 * Unless required by applicable law or agreed to in writing, software 822 * distributed under the License is distributed on an "AS IS" BASIS, 823 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 824 * See the License for the specific language governing permissions and 825 * limitations under the License. 826 */const G4=6;class W4{constructor(A){var t,r,n,i;const s=A.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=(t=s.minPasswordLength)!==null&&t!==void 0?t:G4,s.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=s.maxPasswordLength),s.containsLowercaseCharacter!==void 0&&(this.customStrengthOptions.containsLowercaseLetter=s.containsLowercaseCharacter),s.containsUppercaseCharacter!==void 0&&(this.customStrengthOptions.containsUppercaseLetter=s.containsUppercaseCharacter),s.containsNumericCharacter!==void 0&&(this.customStrengthOptions.containsNumericCharacter=s.containsNumericCharacter),s.containsNonAlphanumericCharacter!==void 0&&(this.customStrengthOptions.containsNonAlphanumericCharacter=s.containsNonAlphanumericCharacter),this.enforcementState=A.enforcementState,this.enforcementState==="ENFORCEMENT_STATE_UNSPECIFIED"&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=(n=(r=A.allowedNonAlphanumericCharacters)===null||r===void 0?void 0:r.join(""))!==null&&n!==void 0?n:"",this.forceUpgradeOnSignin=(i=A.forceUpgradeOnSignin)!==null&&i!==void 0?i:!1,this.schemaVersion=A.sc
826hemaVersion}validatePassword(A){var t,r,n,i,s,a;const l={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(A,l),this.validatePasswordCharacterOptions(A,l),l.isValid&&(l.isValid=(t=l.meetsMinPasswordLength)!==null&&t!==void 0?t:!0),l.isValid&&(l.isValid=(r=l.meetsMaxPasswordLength)!==null&&r!==void 0?r:!0),l.isValid&&(l.isValid=(n=l.containsLowercaseLetter)!==null&&n!==void 0?n:!0),l.isValid&&(l.isValid=(i=l.containsUppercaseLetter)!==null&&i!==void 0?i:!0),l.isValid&&(l.isValid=(s=l.containsNumericCharacter)!==null&&s!==void 0?s:!0),l.isValid&&(l.isValid=(a=l.containsNonAlphanumericCharacter)!==null&&a!==void 0?a:!0),l}validatePasswordLengthOptions(A,t){const r=this.customStrengthOptions.minPasswordLength,n=this.customStrengthOptions.maxPasswordLength;r&&(t.meetsMinPasswordLength=A.length>=r),n&&(t.meetsMaxPasswordLength=A.length<=n)}validatePasswordCharacterOptions(A,t){this.updatePasswordCharacterOptionsStatuses(t,!1,!1,!1,!1);let r;for(let n=0;n<A.length;n++)r=A.charAt(n),this.updatePasswordCharacterOptionsStatuses(t,r>="a"&&r<="z",r>="A"&&r<="Z",r>="0"&&r<="9",this.allowedNonAlphanumericCharacters.includes(r))}updatePasswordCharacterOptionsStatuses(A,t,r,n,i){this.customStrengthOptions.containsLowercaseLetter&&(A.containsLowercaseLetter||(A.containsLowercaseLetter=t)),this.customStrengthOptions.containsUppercaseLetter&&(A.containsUppercaseLetter||(A.containsUppercaseLetter=r)),this.customStrengthOptions.containsNumericCharacter&&(A.containsNumericCharacter||(A.containsNumericCharacter=n)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(A.containsNonAlphanumericCharacter||(A.containsNonAlphanumericCharacter=i))}}/** 827 * @license 828 * Copyright 2020 Google LLC 829 * 830 * Licensed under the Apache License, Version 2.0 (the "License"); 831 * you may not use this file except in compliance with the License. 832 * You may obtain a copy of the License at 833 * 834 * http://www.apache.org/licenses/LICENSE-2.0 835 * 836 * Unless required by applicable law or agreed to in writing, software 837 * distributed under the License is distributed on an "AS IS" BASIS, 838 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 839 * See the License for the specific language governing permissions and 840 * limitations under the License. 841 */class j4{constructor(A,t,r,n){this.app=A,this.heartbeatServiceProvider=t,this.appCheckServiceProvider=r,this.config=n,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new Vw(this),this.idTokenSubscription=new Vw(this),this.beforeStateQueue=new M4(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=BE,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=A.name,this.clientVersion=n.sdkClientVersion}_initializeWithPersistence(A,t){return t&&(this._popupRedirectResolver=bt(t)),this._initializationPromise=this.queue(async()=>{var r,n;if(!this._deleted&&(this.persistenceManager=await gi.create(this,A),!this._deleted)){if(!((r=this._popupRedirectResolver)===null||r===void 0)&&r._shouldInitProactively)try{await this._popupRedirectResolver._initialize(this)}catch{}await this.initializeCurrentUser(t),this.lastNotifiedUid=((n=this.currentUser)===null||n===void 0?void 0:n.uid)||null,!this._deleted&&(this._isInitialized=!0)}}),this._initializationPromise}async _onStorageEvent(){if(this._deleted)return;const A=await this.assertedPersistence.getCurrentUser();if(!(!this.currentUser&&!A)){if(this.currentUser&&A&&this.currentUser.uid===A.uid){this._currentUser._assign(A),await this.currentUser.getIdToken();return}await this._updateCurrentUser(A,!0)}}async initializeCurrentUserFromIdToken(A){try{const t=await EE(this,{idToken:A}),r=await Nt._fromGetAccountInfoResponse(this,t,A);await this.directlySetCurrentUser(r)}catch(t){console.warn("FirebaseServerApp could not login user with provided authIdToken: ",t),await this.directlySetCurrentUser(null)}}async initializeCurrentUser(A){var t;if(kt(this.app)){const s=this.app.settings.authIdToken;return s?new Promise(a=>{setTimeout(()=>this.initializeCurrentUserFromIdToken(s).then(a,a))}):this.directlySetCurrentUser(null)}const r=await this.assertedPersistence.getCurrentUser();let n=r,i=!1;if(A&&this.config.authDomain){await this.getOrInitRedirectPersistenceManager();const s=(t=this.redirectUser)===null||t===void 0?void 0:t._redirectEventId,a=n==null?void 0:n._redirectEventId,l=await this.tryRedirectSignIn(A);(!s||s===a)&&(l!=null&&l.user)&&(n=l.user,i=!0)}if(!n)return this.directlySetCurrentUser(null);
841if(!n._redirectEventId){if(i)try{await this.beforeStateQueue.runMiddleware(n)}catch(s){n=r,this._popupRedirectResolver._overrideRedirectResult(this,()=>Promise.reject(s))}return n?this.reloadAndSetCurrentUserOrClear(n):this.directlySetCurrentUser(null)}return Y(this._popupRedirectResolver,this,"argument-error"),await this.getOrInitRedirectPersistenceManager(),this.redirectUser&&this.redirectUser._redirectEventId===n._redirectEventId?this.directlySetCurrentUser(n):this.reloadAndSetCurrentUserOrClear(n)}async tryRedirectSignIn(A){let t=null;try{t=await this._popupRedirectResolver._completeRedirectFn(this,A,!0)}catch{await this._setRedirectUser(null)}return t}async reloadAndSetCurrentUserOrClear(A){try{await hu(A)}catch(t){if((t==null?void 0:t.code)!=="auth/network-request-failed")return this.directlySetCurrentUser(null)}return this.directlySetCurrentUser(A)}useDeviceLanguage(){this.languageCode=F4()}async _delete(){this._deleted=!0}async updateCurrentUser(A){if(kt(this.app))return Promise.reject(kr(this));const t=A?Ke(A):null;return t&&Y(t.auth.config.apiKey===this.config.apiKey,this,"invalid-user-token"),this._updateCurrentUser(t&&t._clone(this))}async _updateCurrentUser(A,t=!1){if(!this._deleted)return A&&Y(this.tenantId===A.tenantId,this,"tenant-id-mismatch"),t||await this.beforeStateQueue.runMiddleware(A),this.queue(async()=>{await this.directlySetCurrentUser(A),this.notifyAuthListeners()})}async signOut(){return kt(this.app)?Promise.reject(kr(this)):(await this.beforeStateQueue.runMiddleware(null),(this.redirectPersistenceManager||this._popupRedirectResolver)&&await this._setRedirectUser(null),this._updateCurrentUser(null,!0))}setPersistence(A){return kt(this.app)?Promise.reject(kr(this)):this.queue(async()=>{await this.assertedPersistence.setPersistence(bt(A))})}_getRecaptchaConfig(){return this.tenantId==null?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}async validatePassword(A){this._getPasswordPolicyInternal()||await this._updatePasswordPolicy();const t=this._getPasswordPolicyInternal();return t.schemaVersion!==this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(this._errorFactory.create("unsupported-password-policy-schema-version",{})):t.validatePassword(A)}_getPasswordPolicyInternal(){return this.tenantId===null?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}async _updatePasswordPolicy(){const A=await K4(this),t=new W4(A);this.tenantId===null?this._projectPasswordPolicy=t:this._tenantPasswordPolicies[this.tenantId]=t}_getPersistence(){return this.assertedPersistence.persistence.type}_updateErrorMap(A){this._errorFactory=new xo("auth","Firebase",A())}onAuthStateChanged(A,t,r){return this.registerStateListener(this.authStateSubscription,A,t,r)}beforeAuthStateChanged(A,t){return this.beforeStateQueue.pushCallback(A,t)}onIdTokenChanged(A,t,r){return this.registerStateListener(this.idTokenSubscription,A,t,r)}authStateReady(){return new Promise((A,t)=>{if(this.currentUser)A();else{const r=this.onAuthStateChanged(()=>{r(),A()},t)}})}async revokeAccessToken(A){if(this.currentUser){const t=await this.currentUser.getIdToken(),r={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:A,idToken:t};this.tenantId!=null&&(r.tenantId=this.tenantId),await N4(this,r)}}toJSON(){var A;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:(A=this._currentUser)===null||A===void 0?void 0:A.toJSON()}}async _setRedirectUser(A,t){const r=await this.getOrInitRedirectPersistenceManager(t);return A===null?r.removeCurrentUser():r.setCurrentUser(A)}async getOrInitRedirectPersistenceManager(A){if(!this.redirectPersistenceManager){const t=A&&bt(A)||this._popupRedirectResolver;Y(t,this,"argument-error"),this.redirectPersistenceManager=await gi.create(this,[bt(t._redirectPersistence)],"redirectUser"),this.redirectUser=await this.redirectPersistenceManager.getCurrentUser()}return this.redirectPersistenceManager}async _redirectUserForId(A){var t,r;return this._isInitialized&&await this.queue(async()=>{}),((t=this._currentUser)===null||t===void 0?void 0:t._redirectEventId)===A?this._currentUser:((r=this.redirectUser)===null||r===void 0?void 0:r._redirectEventId)===A?this.redirectUser:null}async _persistUserIfCurrent(A){if(A===this.currentUser)return this.queue(async()=>this.directlySetCurrentUser(A))}_notifyListenersIfCurrent(A){A===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var A,t;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const r=(t=(A=this.currentUser)===null||A===void 0?void 0:A.uid)!==null&&t!==void 0?t:null;this.lastNotifiedUid!==r&&(this.lastNotifiedUid=r,this.authStateSubscription.next(this.currentUser))}registerStateListener(A,t,r,n){if(this._deleted)return()=>{};const i=typeof t=="function"?t:t.next.bind(t);let s=!1;const a=this._isInitialized?Promise.resolve():this._initializationPromise;if(Y(a,this,"internal-error"),a.then(()=>{s||i(this.currentUser)}),typeof t=="function"){const l=A.addObserver(t,r,n);return()=>{s=!0,l()}}else{const l=A.addObserver(t);return()=>{s=!0,l()}}}async directlySetCurrentUser(A){this.currentUser&&this.currentUser!==A&&this._currentUser._stopProactiveRefresh(),A&&this.isProactiveRefreshEnabled&&A._startProactiveRefresh(),this.currentUser=A,A?await this.assertedPersistence.setCurrentUser(A):await this.assertedPersistence.removeCurrentUser()}queue(A){return this.operations=this.operations.then(A,A),this.operations}get assertedPersistence(){return Y(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(A){!A||this.frameworks.includes(A)||(this.frameworks.push(A),this.frameworks.sort(),this.clientVersion=DE(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}async _getAdditionalHeaders(){var A;const t={"X-Client-Version":this.clientVersion};this.app.options.appId&&(t["X-Firebase-gmpid"]=this.app.options.appId);const r=await((A=this.heartbeatServiceProvider.getImmediate({optional:!0}))===null||A===void 0?void 0:A.getHeartbeatsHeader());r&&(t["X-Firebase-Client"]=r);const n=await this._getAppCheckToken();return n&&(t["X-Firebase-AppCheck"]=n),t}async _getAppCheckToken(){var A;const t=await((A=this.appCheckServiceProvider.getImmediate({optional:!0}))===null||A===void 0?void 0:A.getToken());return t!=null&&t.error&&_4(`Error while retrieving App Check token: ${t.error}`),t==null?void 0:t.token}}function qu(e){return Ke(e)}class Vw{constructor(A){this.auth=A,this.observer=null,this.addObserver=hL(t=>this.observer=t)}get next(){return Y(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}/** 842 * @license 843 * Copyright 2020 Google LLC 844 * 845 * Licensed under the Apache License, Version 2.0 (the "License");
846 * you may not use this file except in compliance with the License. 847 * You may obtain a copy of the License at 848 * 849 * http://www.apache.org/licenses/LICENSE-2.0 850 * 851 * Unless required by applicable law or agreed to in writing, software 852 * distributed under the License is distributed on an "AS IS" BASIS, 853 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 854 * See the License for the specific language governing permissions and 855 * limitations under the License. 856 */let xg={async loadJS(){throw new Error("Unable to load external scripts")},recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function z4(e){xg=e}function X4(e){return xg.loadJS(e)}function J4(){return xg.gapiScript}function $4(e){return`__${e}${Math.floor(Math.random()*1e6)}`}/** 857 * @license 858 * Copyright 2020 Google LLC 859 * 860 * Licensed under the Apache License, Version 2.0 (the "License"); 861 * you may not use this file except in compliance with the License. 862 * You may obtain a copy of the License at 863 * 864 * http://www.apache.org/licenses/LICENSE-2.0 865 * 866 * Unless required by applicable law or agreed to in writing, software 867 * distributed under the License is distributed on an "AS IS" BASIS, 868 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 869 * See the License for the specific language governing permissions and 870 * limitations under the License. 871 */function Y4(e,A){const t=Tg(e,"auth");if(t.isInitialized()){const n=t.getImmediate(),i=t.getOptions();if(lu(i,A??{}))return n;$t(n,"already-initialized")}return t.initialize({options:A})}function q4(e,A){const t=(A==null?void 0:A.persistence)||[],r=(Array.isArray(t)?t:[t]).map(bt);A!=null&&A.errorMap&&e._updateErrorMap(A.errorMap),e._initializeWithPersistence(r,A==null?void 0:A.popupRedirectResolver)}function Z4(e,A,t){const r=qu(e);Y(r._canInitEmulator,r,"emulator-config-failed"),Y(/^https?:\/\//.test(A),r,"invali
871d-emulator-scheme");const n=!!(t!=null&&t.disableWarnings),i=xE(A),{host:s,port:a}=AD(A),l=a===null?"":`:${a}`;r.config.emulator={url:`${i}//${s}${l}/`},r.settings.appVerificationDisabledForTesting=!0,r.emulatorConfig=Object.freeze({host:s,port:a,protocol:i.replace(":",""),options:Object.freeze({disableWarnings:n})}),n||eD()}function xE(e){const A=e.indexOf(":");return A<0?"":e.substr(0,A+1)}function AD(e){const A=xE(e),t=/(\/\/)?([^?#/]+)/.exec(e.substr(A.length));if(!t)return{host:"",port:null};const r=t[2].split("@").pop()||"",n=/^(\[[^\]]+\])(:|$)/.exec(r);if(n){const i=n[1];return{host:i,port:Mw(r.substr(i.length+1))}}else{const[i,s]=r.split(":");return{host:i,port:Mw(s)}}}function Mw(e){if(!e)return null;const A=Number(e);return isNaN(A)?null:A}function eD(){function e(){const A=document.createElement("p"),t=A.style;A.innerText="Running in emulator mode. Do not use with production credentials.",t.position="fixed",t.width="100%",t.backgroundColor="#ffffff",t.border=".1em solid #000000",t.color="#b50000",t.bottom="0px",t.left="0px",t.margin="0px",t.zIndex="10000",t.textAlign="center",A.classList.add("firebase-emulator-warning"),document.body.appendChild(A)}typeof console<"u"&&typeof console.info=="function"&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only. Do not use with production credentials."),typeof window<"u"&&typeof document<"u"&&(document.readyState==="loading"?window.addEventListener("DOMContentLoaded",e):e())}/** 872 * @license 873 * Copyright 2020 Google LLC 874 * 875 * Licensed under the Apache License, Version 2.0 (the "License"); 876 * you may not use this file except in compliance with the License. 877 * You may obtain a copy of the License at 878 * 879 * http://www.apache.org/licenses/LICENSE-2.0 880 * 881 * Unless required by applicable law or agreed to in writing, software 882 * distributed under the License is distributed on an "AS IS" BASIS, 883 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 884 * See the License for the specific language governing permissions and 885 * limitations under the License. 886 */class PE{constructor(A,t){this.providerId=A,this.signInMethod=t}toJSON(){return Ot("not implemented")}_getIdTokenResponse(A){return Ot("not implemented")}_linkToIdToken(A,t){return Ot("not implemented")}_getReauthenticationResolver(A){return Ot("not implemented")}}/** 887 * @license 888 * Copyright 2020 Google LLC 889 * 890 * Licensed under the Apache License, Version 2.0 (the "License"); 891 * you may not use this file except in compliance with the License. 892 * You may obtain a copy of the License at 893 * 894 * http://www.apache.org/licenses/LICENSE-2.0 895 * 896 * Unless required by applicable law or agreed to in writing, software 897 * distributed under the License is distributed on an "AS IS" BASIS, 898 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 899 * See the License for the specific language governing permissions and 900 * limitations under the License. 901 */async function pi(e,A){return vE(e,"POST","/v1/accounts:signInWithIdp",Yu(e,A))}/** 902 * @license 903 * Copyright 2020 Google LLC 904 * 905 * Licensed under the Apache License, Version 2.0 (the "License"); 906 * you may not use this file except in compliance with the License. 907 * You may obtain a copy of the License at 908 * 909 * http://www.apache.org/licenses/LICENSE-2.0 910 * 911 * Unless required by applicable law or agreed to in writing, software 912 * distributed under the License is distributed on an "AS IS" BASIS, 913 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 914 * See the License for the specific language governing permissions and 915 * limitations under the License. 916 */const tD="http://localhost";class vn extends PE{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(A){const t=new vn(A.providerId,A.signInMethod);return A.idToken||A.accessToken?(A.idToken&&(t.idToken=A.idToken),A.accessToken&&(t.accessToken=A.accessToken),A.nonce&&!A.pendingToken&&(t.nonce=A.nonce),A.pendingToken&&(t.pendingToken=A.pendingToken)):A.oauthToken&&A.oauthTokenSecret?(t.accessToken=A.oauthToken,t.secret=A.oauthTokenSecret):$t("argument-error"),t}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,n
916once:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(A){const t=typeof A=="string"?JSON.parse(A):A,{providerId:r,signInMethod:n}=t,i=Sg(t,["providerId","signInMethod"]);if(!r||!n)return null;const s=new vn(r,n);return s.idToken=i.idToken||void 0,s.accessToken=i.accessToken||void 0,s.secret=i.secret,s.nonce=i.nonce,s.pendingToken=i.pendingToken||null,s}_getIdTokenResponse(A){const t=this.buildRequest();return pi(A,t)}_linkToIdToken(A,t){const r=this.buildRequest();return r.idToken=t,pi(A,r)}_getReauthenticationResolver(A){const t=this.buildRequest();return t.autoCreate=!1,pi(A,t)}buildRequest(){const A={requestUri:tD,returnSecureToken:!0};if(this.pendingToken)A.pendingToken=this.pendingToken;else{const t={};this.idToken&&(t.id_token=this.idToken),this.accessToken&&(t.access_token=this.accessToken),this.secret&&(t.oauth_token_secret=this.secret),t.providerId=this.providerId,this.nonce&&!this.pendingToken&&(t.nonce=this.nonce),A.postBody=Po(t)}return A}}/** 917 * @license 918 * Copyright 2020 Google LLC 919 * 920 * Licensed under the Apache License, Version 2.0 (the "License"); 921 * you may not use this file except in compliance with the License. 922 * You may obtain a copy of the License at 923 * 924 * http://www.apache.org/licenses/LICENSE-2.0 925 * 926 * Unless required by applicable law or agreed to in writing, software 927 * distributed under the License is distributed on an "AS IS" BASIS, 928 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 929 * See the License for the specific language governing permissions and 930 * limitations under the License. 931 */class kE{constructor(A){this.providerId=A,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(A){this.defaultLanguageCode=A}setCustomParameters(A){return this.customParameters=A,this}getCustomParameters(){return this.customParameters}}/** 932 * @license 933 * Copyright 2019 Google LLC 934 * 935 * Licensed under the Apache License, Version 2.0 (the "License"); 936 * you may not use this file except in compliance with the License. 937 * You may obtain a copy of the License at 938 * 939 * http://www.apache.org/licenses/LICENSE-2.0 940 * 941 * Unless required by applicable law or agreed to in writing, software 942 * distributed under the License is distributed on an "AS IS" BASIS, 943 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 944 * See the License for the specific language governing permissions and 945 * limitations under the License. 946 */class Oo extends kE{constructor(){super(...arguments),this.scopes=[]}addScope(A){return this.scopes.includes(A)||this.scopes.push(A),this}getScopes(){return[...this.scopes]}}/** 947 * @license 948 * Copyright 2020 Google LLC 949 * 950 * Licensed under the Apache License, Version 2.0 (the "License"); 951 * you may not use this file except in compliance with the License. 952 * You may obtain a copy of the License at 953 * 954 * http://www.apache.org/licenses/LICENSE-2.0 955 * 956 * Unless required by applicable law or agreed to in writing, software 957 * distributed under the License is distributed on an "AS IS" BASIS, 958 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 959 * See the License for the specific language governing permissions and 960 * limitations under the License. 961 */class dr extends Oo{constructor(){super("facebook.com")}static credential(A){return vn._fromParams({providerId:dr.PROVIDER_ID,signInMethod:dr.FACEBOOK_SIGN_IN_METHOD,accessToken:A})}static credentialFromResult(A){return dr.credentialFromTaggedObject(A)}static credentialFromError(A){return dr.credentialFromTaggedObject(A.customData||{})}static credentialFromTaggedObject({_tokenResponse:A}){if(!A||!("oauthAccessToken"in A)||!A.oauthAccessToken)return null;try{return dr.credential(A.oauthAccessToken)}catch{return null}}}dr.FACEBOOK_SIGN_IN_METHOD="facebook.com";dr.PROVIDER_ID="facebook.com";/** 962 * @license 963 * Copyright 2020 Google LLC 964 * 965 * Licensed under the Apache License, Version 2.0 (the "License"); 966 * you may not use this file except in compliance with the License. 967 * You may obtain a copy of the License at 968 * 969 * http://www.apache.org/licenses/LICENSE-2.0 970 * 971 * Unless required by applicable law or agreed to in writing, softw
971are 972 * distributed under the License is distributed on an "AS IS" BASIS, 973 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 974 * See the License for the specific language governing permissions and 975 * limitations under the License. 976 */class gr extends Oo{constructor(){super("google.com"),this.addScope("profile")}static credential(A,t){return vn._fromParams({providerId:gr.PROVIDER_ID,signInMethod:gr.GOOGLE_SIGN_IN_METHOD,idToken:A,accessToken:t})}static credentialFromResult(A){return gr.credentialFromTaggedObject(A)}static credentialFromError(A){return gr.credentialFromTaggedObject(A.customData||{})}static credentialFromTaggedObject({_tokenResponse:A}){if(!A)return null;const{oauthIdToken:t,oauthAccessToken:r}=A;if(!t&&!r)return null;try{return gr.credential(t,r)}catch{return null}}}gr.GOOGLE_SIGN_IN_METHOD="google.com";gr.PROVIDER_ID="google.com";/** 977 * @license 978 * Copyright 2020 Google LLC 979 * 980 * Licensed under the Apache License, Version 2.0 (the "License"); 981 * you may not use this file except in compliance with the License. 982 * You may obtain a copy of the License at 983 * 984 * http://www.apache.org/licenses/LICENSE-2.0 985 * 986 * Unless required by applicable law or agreed to in writing, software 987 * distributed under the License is distributed on an "AS IS" BASIS, 988 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 989 * See the License for the specific language governing permissions and 990 * limitations under the License. 991 */class pr extends Oo{constructor(){super("github.com")}static credential(A){return vn._fromParams({providerId:pr.PROVIDER_ID,signInMethod:pr.GITHUB_SIGN_IN_METHOD,accessToken:A})}static credentialFromResult(A){return pr.credentialFromTaggedObject(A)}static credentialFromError(A){return pr.credentialFromTaggedObject(A.customData||{})}static credentialFromTaggedObject({_tokenResponse:A}){if(!A||!("oauthAccessToken"in A)||!A.oauthAccessToken)return null;try{return pr.credential(A.oauthAccessToken)}catch{return null}}}pr.GITHUB_SIGN_IN_METHOD="github.com";pr.PROVIDER_ID="github.com";/** 992 * @license 993 * Copyright 2020 Google LLC 994 * 995 * Licensed under the Apache License, Version 2.0 (the "License"); 996 * you may not use this file except in compliance with the License. 997 * You may obtain a copy of the License at 998 * 999 * http://www.apache.org/licenses/LICENSE-2.0 1000 * 1001 * Unless required by applicable law or agreed to in writing, software 1002 * distributed under the License is distributed on an "AS IS" BASIS, 1003 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1004 * See the License for the specific language governing permissions and 1005 * limitations under the License. 1006 */class Br extends Oo{constructor(){super("twitter.com")}static credential(A,t){return vn._fromParams({providerId:Br.PROVIDER_ID,signInMethod:Br.TWITTER_SIGN_IN_METHOD,oauthToken:A,oauthTokenSecret:t})}static credentialFromResult(A){return Br.credentialFromTaggedObject(A)}static credentialFromError(A){return Br.credentialFromTaggedObject(A.customData||{})}static credentialFromTaggedObject({_tokenResponse:A}){if(!A)return null;const{oauthAccessToken:t,oauthTokenSecret:r}=A;if(!t||!r)return null;try{return Br.credential(t,r)}catch{return null}}}Br.TWITTER_SIGN_IN_METHOD="twitter.com";Br.PROVIDER_ID="twitter.com";/** 1007 * @license 1008 * Copyright 2020 Google LLC 1009 * 1010 * Licensed under the Apache License, Version 2.0 (the "License"); 1011 * you may not use this file except in compliance with the License. 1012 * You may obtain a copy of the License at 1013 * 1014 * http://www.apache.org/licenses/LICENSE-2.0 1015 * 1016 * Unless required by applicable law or agreed to in writing, software 1017 * distributed under the License is distributed on an "AS IS" BASIS, 1018 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1019 * See the License for the specific language governing permissions and 1020 * limitations under the License. 1021 */class Cn{constructor(A){this.user=A.user,this.providerId=A.providerId,this._tokenResponse=A._tokenResponse,this.operationType=A.operationType}static async _fromIdTokenResponse(A,t,r,n=!1){const i=await Nt._fromIdTokenResponse(A,r,n),s=Kw(r);return new Cn({user:i,providerId:s,_tokenResponse:r,operationType:t})}static async _forOperation(A,t,r){await A._updateTokensIfNecessary(r,!0);const n=Kw(r);return new Cn({user:A,providerId:n,_tokenResponse:r,operationType:t})}}function Kw(e){return e.providerId?e.providerId:"phoneNumber"in e?"phone":null}/** 1022 * @license 1023 * Copyright 2020 Google LLC 1024 * 1025 * Licensed under the Apache License, Version 2.0 (the "License");
1026 * you may not use this file except in compliance with the License. 1027 * You may obtain a copy of the License at 1028 * 1029 * http://www.apache.org/licenses/LICENSE-2.0 1030 * 1031 * Unless required by applicable law or agreed to in writing, software 1032 * distributed under the License is distributed on an "AS IS" BASIS, 1033 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1034 * See the License for the specific language governing permissions and 1035 * limitations under the License. 1036 */class fu extends er{constructor(A,t,r,n){var i;super(t.code,t.message),this.operationType=r,this.user=n,Object.setPrototypeOf(this,fu.prototype),this.customData={appName:A.name,tenantId:(i=A.tenantId)!==null&&i!==void 0?i:void 0,_serverResponse:t.customData._serverResponse,operationType:r}}static _fromErrorAndOperation(A,t,r,n){return new fu(A,t,r,n)}}function OE(e,A,t,r){return(A==="reauthenticate"?t._getReauthenticationResolver(e):t._getIdTokenResponse(e)).catch(i=>{throw i.code==="auth/multi-factor-auth-required"?fu._fromErrorAndOperation(e,i,A,r):i})}async function rD(e,A,t=!1){const r=await wo(e,A._linkToIdToken(e.auth,await e.getIdToken()),t);return Cn._forOperation(e,"link",r)}/** 1037 * @license 1038 * Copyright 2019 Google LLC 1039 * 1040 * Licensed under the Apache License, Version 2.0 (the "License"); 1041 * you may not use this file except in compliance with the License. 1042 * You may obtain a copy of the License at 1043 * 1044 * http://www.apache.org/licenses/LICENSE-2.0 1045 * 1046 * Unless required by applicable law or agreed to in writing, software 1047 * distributed under the License is distributed on an "AS IS" BASIS, 1048 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1049 * See the License for the specific language governing permissions and 1050 * limitations under the License. 1051 */async function nD(e,A,t=!1){const{auth:r}=e;if(kt(r.app))return Promise.reject(kr(r));const n="reauthenticate";try{const i=await wo(e,OE(r,n,A,e),t);Y(i.idToken,r,"internal-error");const s=Lg(i.idToken);Y(s,r,"internal-error");const{sub:a}=s;return Y(e.uid===a,r,"user-mismatch"),Cn._forOperation(e,n,i)}catch(i){throw(i==null?void 0:i.code)==="auth/user-not-found"&&$t(r,"user-mismatch"),i}}/** 1052 * @license 1053 * Copyright 2020 Google LLC 1054 * 1055 * Licensed under the Apache License, Version 2.0 (the "License"); 1056 * you may not use this file except in compliance with the License. 1057 * You may obtain a copy of the License at 1058 * 1059 * http://www.apache.org/licenses/LICENSE-2.0 1060 * 1061 * Unless required by applicable law or agreed to in writing, software 1062 * distributed under the License is distributed on an "AS IS" BASIS, 1063 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1064 * See the License for the specific language governing permissions and 1065 * limitations under the License. 1066 */async function iD(e,A,t=!1){if(kt(e.app))return Promise.reject(kr(e));const r="signIn",n=await OE(e,r,A),i=await Cn._fromIdTokenResponse(e,r,n);return t||await e._updateCurrentUser(i.user),i}/** 1067 * @license 1068 * Copyright 2020 Google LLC 1069 * 1070 * Licensed under the Apache License, Version 2.0 (the "License"); 1071 * you may not use this file except in compliance with the License. 1072 * You may obtain a copy of the License at 1073 * 1074 * http://www.apache.org/licenses/LICENSE-2.0 1075 * 1076 * Unless required by applicable law or agreed to in writing, software 1077 * distributed under the License is distributed on an "AS IS" BASIS, 1078 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1079 * See the License for the specific language governing permissions and 1080 * limitations under the License. 1081 */async function sD(e,A){return vE(e,"POST","/v1/accounts:signInWithCustomToken",Yu(e,A))}/** 1082 * @license 1083 * Copyright 2020 Google LLC 1084 * 1085 * Licensed under the Apache License, Version 2.0 (the "License"); 1086 * you may not use this file except in compliance with the License. 1087 * You may obtain a copy of the License at 1088 * 1089 * http://www.apache.org/licenses/LICENSE-2.0 1090 * 1091 * Unless required by applicable law or agreed to in writing, software 1092 * distributed under the License is distributed on an "AS IS" BASIS, 1093 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1094 * See the License for the specific language governing permissions and 1095 * limitations under the License. 1096 */async function oD(e,A){if(kt(e.app))return Promise.reject(kr(e));const t=qu(e),r=await sD(t,{token:A,returnSecureToken:!0}),n=await Cn._fromIdTokenResponse(t,"signIn",r);return await t._updateCurrentUser(n.user),n}function aD(e,A,t,r){return Ke(e).onIdTokenChanged(A,t,r)}function lD(e,A,t){return Ke(e).beforeAuthStateChanged(A,t)}function uD(e,A,t,r){return Ke(e).onAuthStateChanged(A,t,r)}const du="__sak";/** 1097 * @license 1098 * Copyright 2019 Google LLC 1099 * 1100 * Licensed under the Apache License, Version 2.0 (the "License");
1101 * you may not use this file except in compliance with the License. 1102 * You may obtain a copy of the License at 1103 * 1104 * http://www.apache.org/licenses/LICENSE-2.0 1105 * 1106 * Unless required by applicable law or agreed to in writing, software 1107 * distributed under the License is distributed on an "AS IS" BASIS, 1108 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1109 * See the License for the specific language governing permissions and 1110 * limitations under the License. 1111 */class NE{constructor(A,t){this.storageRetriever=A,this.type=t}_isAvailable(){try{return this.storage?(this.storage.setItem(du,"1"),this.storage.removeItem(du),Promise.resolve(!0)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}_set(A,t){return this.storage.setItem(A,JSON.stringify(t)),Promise.resolve()}_get(A){const t=this.storage.getItem(A);return Promise.resolve(t?JSON.parse(t):null)}_remove(A){return this.storage.removeItem(A),Promise.resolve()}get storage(){return this.storageRetriever()}}/** 1112 * @license 1113 * Copyright 2020 Google LLC 1114 * 1115 * Licensed under the Apache License, Version 2.0 (the "License"); 1116 * you may not use this file except in compliance with the License. 1117 * You may obtain a copy of the License at 1118 * 1119 * http://www.apache.org/licenses/LICENSE-2.0 1120 * 1121 * Unless required by applicable law or agreed to in writing, software 1122 * distributed under the License is distributed on an "AS IS" BASIS, 1123 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1124 * See the License for the specific language governing permissions and 1125 * limitations under the License. 1126 */const cD=1e3,hD=10;class bE extends NE{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(A,t)=>this.onStorageEvent(A,t),this.listeners={},this.localCache={},this.pollTimer=null,this.fallbackToPolling=LE(),this._shouldAllowMigration=!0}forAllChangedKeys(A){for(const t of Object.keys(this.listeners)){const r=this.storage.getItem(t),n=this.localCache[t];r!==n&&A(t,n,r)}}onStorageEvent(A,t=!1){if(!A.key){this.forAllChangedKeys((s,a,l)=>{this.notifyListeners(s,l)});return}const r=A.key;t?this.detachListener():this.stopPolling();const n=()=>{const s=this.storage.getItem(r);!t&&this.localCache[r]===s||this.notifyListeners(r,s)},i=this.storage.getItem(r);V4()&&i!==A.newValue&&A.newValue!==A.oldValue?setTimeout(n,hD):n()}notifyListeners(A,t){this.localCache[A]=t;const r=this.listeners[A];if(r)for(const n of Array.from(r))n(t&&JSON.parse(t))}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((A,t,r)=>{this.onStorageEvent(new StorageEvent("storage",{key:A,oldValue:t,newValue:r}),!0)})},cD)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(A,t){Object.keys(this.listeners).length===0&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[A]||(this.listeners[A]=new Set,this.localCache[A]=this.storage.getItem(A)),this.listeners[A].add(t)}_removeListener(A,t){this.listeners[A]&&(this.listeners[A].delete(t),this.listeners[A].size===0&&delete this.listeners[A]),Object.keys(this.listeners).length===0&&(this.detachListener(),this.stopPolling())}async _set(A,t){await super._set(A,t),this.localCache[A]=JSON.stringify(t)}async _get(A){const t=await super._get(A);return this.localCache[A]=JSON.stringify(t),t}async _remove(A){await super._remove(A),delete this.localCache[A]}}bE.type="LOCAL";const fD=bE;/** 1127 * @license 1128 * Copyright 2020 Google LLC 1129 * 1130 * Licensed under the Apache License, Version 2.0 (the "License"); 1131 * you may not use this file except in compliance with the License. 1132 * You may obtain a copy of the License at 1133 * 1134 * http://www.apache.org/licenses/LICENSE-2.0 1135 * 1136 * Unless required by applicable law or agreed to in writing, software 1137 * distributed under the License is distributed on an "AS IS" BASIS, 1138 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1139 * See the License for the specific language governing permissions and 1140 * limitations under the License. 1141 */class VE extends NE{constructor(){super(()=>window.sessionStorage,"SESSION")}_addListener(A,t){}_removeListener(A,t){}}VE.type="SESSION";const ME=VE;/** 1142 * @license 1143 * Copyright 2019 Google LLC 1144 * 1145 * Licensed under the Apache License, Version 2.0 (the "License");
1146 * you may not use this file except in compliance with the License. 1147 * You may obtain a copy of the License at 1148 * 1149 * http://www.apache.org/licenses/LICENSE-2.0 1150 * 1151 * Unless required by applicable law or agreed to in writing, software 1152 * distributed under the License is distributed on an "AS IS" BASIS, 1153 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1154 * See the License for the specific language governing permissions and 1155 * limitations under the License. 1156 */function dD(e){return Promise.all(e.map(async A=>{try{return{fulfilled:!0,value:await A}}catch(t){return{fulfilled:!1,reason:t}}}))}/** 1157 * @license 1158 * Copyright 2019 Google LLC 1159 * 1160 * Licensed under the Apache License, Version 2.0 (the "License"); 1161 * you may not use this file except in compliance with the License. 1162 * You may obtain a copy of the License at 1163 * 1164 * http://www.apache.org/licenses/LICENSE-2.0 1165 * 1166 * Unless required by applicable law or agreed to in writing, software 1167 * distributed under the License is distributed on an "AS IS" BASIS, 1168 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1169 * See the License for the specific language governing permissions and 1170 * limitations under the License. 1171 */class Zu{constructor(A){this.eventTarget=A,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(A){const t=this.receivers.find(n=>n.isListeningto(A));if(t)return t;const r=new Zu(A);return this.receivers.push(r),r}isListeningto(A){return this.eventTarget===A}async handleEvent(A){const t=A,{eventId:r,eventType:n,data:i}=t.data,s=this.handlersMap[n];if(!(s!=null&&s.size))return;t.ports[0].postMessage({status:"ack",eventId:r,eventType:n});const a=Array.from(s).map(async u=>u(t.origin,i)),l=await dD(a);t.ports[0].postMessage({status:"done",eventId:r,eventType:n,response:l})}_subscribe(A,t){Object.keys(this.handlersMap).length===0&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[A]||(this.handlersMap[A]=new Set),this.handlersMap[A].add(t)}_unsubscribe(A,t){this.handlersMap[A]&&t&&this.handlersMap[A].delete(t),(!t||this.handlersMap[A].size===0)&&delete this.handlersMap[A],Object.keys(this.handlersMap).length===0&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}Zu.receivers=[];/** 1172 * @license 1173 * Copyright 2020 Google LLC 1174 * 1175 * Licensed under the Apache License, Version 2.0 (the "License"); 1176 * you may not use this file except in compliance with the License. 1177 * You may obtain a copy of the License at 1178 * 1179 * http://www.apache.org/licenses/LICENSE-2.0 1180 * 1181 * Unless required by applicable law or agreed to in writing, software 1182 * distributed under the License is distributed on an "AS IS" BASIS, 1183 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1184 * See the License for the specific language governing permissions and 1185 * limitations under the License. 1186 */function Pg(e="",A=10){let t="";for(let r=0;r<A;r++)t+=Math.floor(Math.random()*10);return e+t}/** 1187 * @license 1188 * Copyright 2019 Google LLC 1189 * 1190 * Licensed under the Apache License, Version 2.0 (the "License"); 1191 * you may not use this file except in compliance with the License. 1192 * You may obtain a copy of the License at 1193 * 1194 * http://www.apache.org/licenses/LICENSE-2.0 1195 * 1196 * Unless required by applicable law or agreed to in writing, software 1197 * distributed under the License is distributed on an "AS IS" BASIS, 1198 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1199 * See the License for the specific language governing permissions and 1200 * limitations under the License. 1201 */class gD{constructor(A){this.target=A,this.handlers=new Set}removeMessageHandler(A){A.messageChannel&&(A.messageChannel.port1.removeEventListener("message",A.onMessage),A.messageChannel.port1.close()),this.handlers.delete(A)}async _send(A,t,r=50){const n=typeof MessageChannel<"u"?new MessageChannel:null;if(!n)throw new Error("connection_unavailable");let i,s;return new Promise((a,l)=>{const u=Pg("",20);n.port1.start();const h=setTimeout(()=>{l(new Error("unsupported_event"))},r);s={messageChannel:n,onMessage(d){const g=d;if(g.data.eventId===u)switch(g.data.status){case"ack":clearTimeout(h),i=setTimeout(()=>{l(new Error("timeout"))},3e3);break;case"done":clearTimeout(i),a(g.data.response);break;default:clearTimeout(h),clearTimeout(i),l(new Error("invalid_response"));break}}},this.handlers.add(s),n.port1.addEventListener("message",s.onMessage),this.target.postMessage({eventType:A,eventId:u,data:t},[n.port2])}).finally(()=>{s&&this.removeMessageHandler(s)})}}/** 1202 * @license 1203 * Copyright 2020 Google LLC 1204 * 1205 * Licensed under the Apache License, Version 2.0 (the "License");
1206 * you may not use this file except in compliance with the License. 1207 * You may obtain a copy of the License at 1208 * 1209 * http://www.apache.org/licenses/LICENSE-2.0 1210 * 1211 * Unless required by applicable law or agreed to in writing, software 1212 * distributed under the License is distributed on an "AS IS" BASIS, 1213 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1214 * See the License for the specific language governing permissions and 1215 * limitations under the License. 1216 */function Et(){return window}function pD(e){Et().location.href=e}/** 1217 * @license 1218 * Copyright 2020 Google LLC. 1219 * 1220 * Licensed under the Apache License, Version 2.0 (the "License"); 1221 * you may not use this file except in compliance with the License. 1222 * You may obtain a copy of the License at 1223 * 1224 * http://www.apache.org/licenses/LICENSE-2.0 1225 * 1226 * Unless required by applicable law or agreed to in writing, software 1227 * distributed under the License is distributed on an "AS IS" BASIS, 1228 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1229 * See the License for the specific language governing permissions and 1230 * limitations under the License. 1231 */function KE(){return typeof Et().WorkerGlobalScope<"u"&&typeof Et().importScripts=="function"}async function BD(){if(!(navigator!=null&&navigator.serviceWorker))return null;try{return(await navigator.serviceWorker.ready).active}catch{return null}}function mD(){var e;return((e=navigator==null?void 0:navigator.serviceWorker)===null||e===void 0?void 0:e.controller)||null}function wD(){return KE()?self:null}/** 1232 * @license 1233 * Copyright 2019 Google LLC 1234 * 1235 * Licensed under the Apache License, Version 2.0 (the "License"); 1236 * you may not use this file except in compliance with the License. 1237 * You may obtain a copy of the License at 1238 * 1239 * http://www.apache.org/licenses/LICENSE-2.0 1240 * 1241 * Unless required by applicable law or agreed to in writing, software 1242 * distributed under the License is distributed on an "AS IS" BASIS, 1243 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1244 * See the License for the specific language governing permissions and 1245 * limitations under the License. 1246 */const GE="firebaseLocalStorageDb",yD=1,gu="firebaseLocalStorage",WE="fbase_key";class No{constructor(A){this.request=A}toPromise(){return new Promise((A,t)=>{this.request.addEventListener("success",()=>{A(this.request.result)}),this.request.addEventListener("error",()=>{t(this.request.error)})})}}function Ac(e,A){return e.transaction([gu],A?"readwrite":"readonly").objectStore(gu)}function vD(){const e=indexedDB.deleteDatabase(GE);
1246return new No(e).toPromise()}function ud(){const e=indexedDB.open(GE,yD);return new Promise((A,t)=>{e.addEventListener("error",()=>{t(e.error)}),e.addEventListener("upgradeneeded",()=>{const r=e.result;try{r.createObjectStore(gu,{keyPath:WE})}catch(n){t(n)}}),e.addEventListener("success",async()=>{const r=e.result;r.objectStoreNames.contains(gu)?A(r):(r.close(),await vD(),A(await ud()))})})}async function Gw(e,A,t){const r=Ac(e,!0).put({[WE]:A,value:t});return new No(r).toPromise()}async function CD(e,A){const t=Ac(e,!1).get(A),r=await new No(t).toPromise();return r===void 0?null:r.value}function Ww(e,A){const t=Ac(e,!0).delete(A);return new No(t).toPromise()}const ED=800,QD=3;class jE{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}async _openDb(){return this.db?this.db:(this.db=await ud(),this.db)}async _withRetries(A){let t=0;for(;;)try{const r=await this._openDb();return await A(r)}catch(r){if(t++>QD)throw r;this.db&&(this.db.close(),this.db=void 0)}}async initializeServiceWorkerMessaging(){return KE()?this.initializeReceiver():this.initializeSender()}async initializeReceiver(){this.receiver=Zu._getInstance(wD()),this.receiver._subscribe("keyChanged",async(A,t)=>({keyProcessed:(await this._poll()).includes(t.key)})),this.receiver._subscribe("ping",async(A,t)=>["keyChanged"])}async initializeSender(){var A,t;if(this.activeServiceWorker=await BD(),!this.activeServiceWorker)return;this.sender=new gD(this.activeServiceWorker);const r=await this.sender._send("ping",{},800);r&&!((A=r[0])===null||A===void 0)&&A.fulfilled&&!((t=r[0])===null||t===void 0)&&t.value.includes("keyChanged")&&(this.serviceWorkerReceiverAvailable=!0)}async notifyServiceWorker(A){if(!(!this.sender||!this.activeServiceWorker||mD()!==this.activeServiceWorker))try{await this.sender._send("keyChanged",{key:A},this.serviceWorkerReceiverAvailable?800:50)}catch{}}async _isAvailable(){try{if(!indexedDB)return!1;const A=await ud();return await Gw(A,du,"1"),await Ww(A,du),!0}catch{}return!1}async _withPendingWrite(A){this.pendingWrites++;try{await A()}finally{this.pendingWrites--}}async _set(A,t){return this._withPendingWrite(async()=>(await this._withRetries(r=>Gw(r,A,t)),this.localCache[A]=t,this.notifyServiceWorker(A)))}async _get(A){const t=await this._withRetries(r=>CD(r,A));return this.localCache[A]=t,t}async _remove(A){return this._withPendingWrite(async()=>(await this._withRetries(t=>Ww(t,A)),delete this.localCache[A],this.notifyServiceWorker(A)))}async _poll(){const A=await this._withRetries(n=>{const i=Ac(n,!1).getAll();return new No(i).toPromise()});if(!A)return[];if(this.pendingWrites!==0)return[];const t=[],r=new Set;if(A.length!==0)for(const{fbase_key:n,value:i}of A)r.add(n),JSON.stringify(this.localCache[n])!==JSON.stringify(i)&&(this.notifyListeners(n,i),t.push(n));for(const n of Object.keys(this.localCache))this.localCache[n]&&!r.has(n)&&(this.notifyListeners(n,null),t.push(n));return t}notifyListeners(A,t){this.localCache[A]=t;const r=this.listeners[A];if(r)for(const n of Array.from(r))n(t)}startPolling(){this.stopPolling(),this.pollTimer=setInterval(async()=>this._poll(),ED)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(A,t){Object.keys(this.listeners).length===0&&this.startPolling(),this.listeners[A]||(this.listeners[A]=new Set,this._get(A)),this.listeners[A].add(t)}_removeListener(A,t){this.listeners[A]&&(this.listeners[A].delete(t),this.listeners[A].size===0&&delete this.listeners[A]),Object.keys(this.listeners).length===0&&this.stopPolling()}}jE.type="LOCAL";const _D=jE;new ko(3e4,6e4);/** 1247 * @license 1248 * Copyright 2021 Google LLC 1249 * 1250 * Licensed under the Apache License, Version 2.0 (the "License"); 1251 * you may not use this file except in compliance with the License. 1252 * You may obtain a copy of the License at 1253 * 1254 * http://www.apache.org/licenses/LICENSE-2.0 1255 * 1256 * Unless required by applicable law or agreed to in writing, softw
1256are 1257 * distributed under the License is distributed on an "AS IS" BASIS, 1258 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1259 * See the License for the specific language governing permissions and 1260 * limitations under the License. 1261 */function ID(e,A){return A?bt(A):(Y(e._popupRedirectResolver,e,"argument-error"),e._popupRedirectResolver)}/** 1262 * @license 1263 * Copyright 2019 Google LLC 1264 * 1265 * Licensed under the Apache License, Version 2.0 (the "License"); 1266 * you may not use this file except in compliance with the License. 1267 * You may obtain a copy of the License at 1268 * 1269 * http://www.apache.org/licenses/LICENSE-2.0 1270 * 1271 * Unless required by applicable law or agreed to in writing, software 1272 * distributed under the License is distributed on an "AS IS" BASIS, 1273 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1274 * See the License for the specific language governing permissions and 1275 * limitations under the License. 1276 */class kg extends PE{constructor(A){super("custom","custom"),this.params=A}_getIdTokenResponse(A){return pi(A,this._buildIdpRequest())}_linkToIdToken(A,t){return pi(A,this._buildIdpRequest(t))}_getReauthenticationResolver(A){return pi(A,this._buildIdpRequest())}_buildIdpRequest(A){const t={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return A&&(t.idToken=A),t}}function UD(e){return iD(e.auth,new kg(e),e.bypassAuthState)}function FD(e){const{auth:A,user:t}=e;return Y(t,A,"internal-error"),nD(t,new kg(e),e.bypassAuthState)}async function TD(e){const{auth:A,user:t}=e;return Y(t,A,"internal-error"),rD(t,new kg(e),e.bypassAuthState)}/** 1277 * @license 1278 * Copyright 2020 Google LLC 1279 * 1280 * Licensed under the Apache License, Version 2.0 (the "License"); 1281 * you may not use this file except in compliance with the License. 1282 * You may obtain a copy of the License at 1283 * 1284 * http://www.apache.org/licenses/LICENSE-2.0 1285 * 1286 * Unless required by applicable law or agreed to in writing, software 1287 * distributed under the License is distributed on an "AS IS" BASIS, 1288 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1289 * See the License for the specific language governing permissions and 1290 * limitations under the License. 1291 */class zE{constructor(A,t,r,n,i=!1){this.auth=A,this.resolver=r,this.user=n,this.bypassAuthState=i,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(t)?t:[t]}execute(){return new Promise(async(A,t)=>{this.pendingPromise={resolve:A,reject:t};try{this.eventManager=await this.resolver._initialize(this.auth),await this.onExecution(),this.eventManager.registerConsumer(this)}catch(r){this.reject(r)}})}async onAuthEvent(A){const{urlResponse:t,sessionId:r,postBody:n,tenantId:i,error:s,type:a}=A;if(s){this.reject(s);return}const l={auth:this.auth,requestUri:t,sessionId:r,tenantId:i||void 0,postBody:n||void 0,user:this.user,bypassAuthState:this.bypassAuthState};try{this.resolve(await this.getIdpTask(a)(l))}catch(u){this.reject(u)}}onError(A){this.reject(A)}getIdpTask(A){switch(A){case"signInViaPopup":case"signInViaRedirect":return UD;case"linkViaPopup":case"linkViaRedirect":return TD;case"reauthViaPopup":case"reauthViaRedirect":return FD;default:$t(this.auth,"internal-error")}}resolve(A){Yt(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(A),this.unregisterAndCleanUp()}reject(A){Yt(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(A),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}}/** 1292 * @license 1293 * Copyright 2020 Google LLC 1294 * 1295 * Licensed under the Apache License, Version 2.0 (the "License"); 1296 * you may not use this file except in compliance with the License. 1297 * You may obtain a copy of the License at 1298 * 1299 * http://www.apache.org/licenses/LICENSE-2.0 1300 * 1301 * Unless required by applicable law or agreed to in writing, softw
1301are 1302 * distributed under the License is distributed on an "AS IS" BASIS, 1303 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1304 * See the License for the specific language governing permissions and 1305 * limitations under the License. 1306 */const SD=new ko(2e3,1e4);class si extends zE{constructor(A,t,r,n,i){super(A,t,n,i),this.provider=r,this.authWindow=null,this.pollId=null,si.currentPopupAction&&si.currentPopupAction.cancel(),si.currentPopupAction=this}async executeNotNull(){const A=await this.execute();return Y(A,this.auth,"internal-error"),A}async onExecution(){Yt(this.filter.length===1,"Popup operations only handle one event");const A=Pg();this.authWindow=await this.resolver._openPopup(this.auth,this.provider,this.filter[0],A),this.authWindow.associatedEvent=A,this.resolver._originValidation(this.auth).catch(t=>{this.reject(t)}),this.resolver._isIframeWebStorageSupported(this.auth,t=>{t||this.reject(Ct(this.auth,"web-storage-unsupported"))}),this.pollUserCancellation()}get eventId(){var A;return((A=this.authWindow)===null||A===void 0?void 0:A.associatedEvent)||null}cancel(){this.reject(Ct(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,si.currentPopupAction=null}pollUserCancellation(){const A=()=>{var t,r;if(!((r=(t=this.authWindow)===null||t===void 0?void 0:t.window)===null||r===void 0)&&r.closed){this.pollId=window.setTimeout(()=>{this.pollId=null,this.reject(Ct(this.auth,"popup-closed-by-user"))},8e3);return}this.pollId=window.setTimeout(A,SD.get())};A()}}si.currentPopupAction=null;/** 1307 * @license 1308 * Copyright 2020 Google LLC 1309 * 1310 * Licensed under the Apache License, Version 2.0 (the "License"); 1311 * you may not use this file except in compliance with the License. 1312 * You may obtain a copy of the License at 1313 * 1314 * http://www.apache.org/licenses/LICENSE-2.0 1315 * 1316 * Unless required by applicable law or agreed to in writing, software 1317 * distributed under the License is distributed on an "AS IS" BASIS, 1318 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1319 * See the License for the specific language governing permissions and 1320 * limitations under the License. 1321 */const RD="pendingRedirect",vl=new Map;class HD extends zE{constructor(A,t,r=!1){super(A,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],t,void 0,r),this.eventId=null}async execute(){let A=vl.get(this.auth._key());if(!A){try{const r=await LD(this.resolver,this.auth)?await super.execute():null;A=()=>Promise.resolve(r)}catch(t){A=()=>Promise.reject(t)}vl.set(this.auth._key(),A)}return this.bypassAuthState||vl.set(this.auth._key(),()=>Promise.resolve(null)),A()}async onAuthEvent(A){if(A.type==="signInViaRedirect")return super.onAuthEvent(A);if(A.type==="unknown"){this.resolve(null);return}if(A.eventId){const t=await this.auth._redirectUserForId(A.eventId);if(t)return this.user=t,super.onAuthEvent(A);this.resolve(null)}}async onExecution(){}cleanUp(){}}async function LD(e,A){const t=PD(A),r=xD(e);if(!await r._isAvailable())return!1;const n=await r._get(t)==="true";return await r._remove(t),n}function DD(e,A){vl.set(e._key(),A)}function xD(e){return bt(e._redirectPersistence)}function PD(e){return yl(RD,e.config.apiKey,e.name)}async function kD(e,A,t=!1){if(kt(e.app))return Promise.reject(kr(e));const r=qu(e),n=ID(r,A),s=await new HD(r,n,t).execute();return s&&!t&&(delete s.user._redirectEventId,await r._persistUserIfCurrent(s.user),await r._setRedirectUser(null,A)),s}/** 1322 * @license 1323 * Copyright 2020 Google LLC 1324 * 1325 * Licensed under the Apache License, Version 2.0 (the "License"); 1326 * you may not use this file except in compliance with the License. 1327 * You may obtain a copy of the License at 1328 * 1329 * http://www.apache.org/licenses/LICENSE-2.0 1330 * 1331 * Unless required by applicable law or agreed to in writing, software 1332 * distributed under the License is distributed on an "AS IS" BASIS, 1333 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1334 * See the License for the specific language governing permissions and 1335 * limitations under the License. 1336 */const OD=10*60*1e3;class ND{constructor(A){this.auth=A,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=
1336Date.now()}registerConsumer(A){this.consumers.add(A),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,A)&&(this.sendToConsumer(this.queuedRedirectEvent,A),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(A){this.consumers.delete(A)}onEvent(A){if(this.hasEventBeenHandled(A))return!1;let t=!1;return this.consumers.forEach(r=>{this.isEventForConsumer(A,r)&&(t=!0,this.sendToConsumer(A,r),this.saveEventToCache(A))}),this.hasHandledPotentialRedirect||!bD(A)||(this.hasHandledPotentialRedirect=!0,t||(this.queuedRedirectEvent=A,t=!0)),t}sendToConsumer(A,t){var r;if(A.error&&!XE(A)){const n=((r=A.error.code)===null||r===void 0?void 0:r.split("auth/")[1])||"internal-error";t.onError(Ct(this.auth,n))}else t.onAuthEvent(A)}isEventForConsumer(A,t){const r=t.eventId===null||!!A.eventId&&A.eventId===t.eventId;return t.filter.includes(A.type)&&r}hasEventBeenHandled(A){return Date.now()-this.lastProcessedEventTime>=OD&&this.cachedEventUids.clear(),this.cachedEventUids.has(jw(A))}saveEventToCache(A){this.cachedEventUids.add(jw(A)),this.lastProcessedEventTime=Date.now()}}function jw(e){return[e.type,e.eventId,e.sessionId,e.tenantId].filter(A=>A).join("-")}function XE({type:e,error:A}){return e==="unknown"&&(A==null?void 0:A.code)==="auth/no-auth-event"}function bD(e){switch(e.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return XE(e);default:return!1}}/** 1337 * @license 1338 * Copyright 2020 Google LLC 1339 * 1340 * Licensed under the Apache License, Version 2.0 (the "License"); 1341 * you may not use this file except in compliance with the License. 1342 * You may obtain a copy of the License at 1343 * 1344 * http://www.apache.org/licenses/LICENSE-2.0 1345 * 1346 * Unless required by applicable law or agreed to in writing, software 1347 * distributed under the License is distributed on an "AS IS" BASIS, 1348 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1349 * See the License for the specific language governing permissions and 1350 * limitations under the License. 1351 */async function VD(e,A={}){return Ni(e,"GET","/v1/projects",A)}/** 1352 * @license 1353 * Copyright 2020 Google LLC 1354 * 1355 * Licensed under the Apache License, Version 2.0 (the "License"); 1356 * you may not use this file except in compliance with the License. 1357 * You may obtain a copy of the License at 1358 * 1359 * http://www.apache.org/licenses/LICENSE-2.0 1360 * 1361 * Unless required by applicable law or agreed to in writing, software 1362 * distributed under the License is distributed on an "AS IS" BASIS, 1363 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1364 * See the License for the specific language governing permissions and 1365 * limitations under the License. 1366 */const MD=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,KD=/^https?/;async function GD(e){if(e.config.emulator)return;const{authorizedDomains:A}=await VD(e);for(const t of A)try{if(WD(t))return}catch{}$t(e,"unauthorized-domain")}function WD(e){const A=ad(),{protocol:t,hostname:r}=new URL(A);if(e.startsWith("chrome-extension://")){const s=new URL(e);return s.hostname===""&&r===""?t==="chrome-extension:"&&e.replace("chrome-extension://","")===A.replace("chrome-extension://",""):t==="chrome-extension:"&&s.hostname===r}if(!KD.test(t))return!1;if(MD.test(e))return r===e;const n=e.replace(/\./g,"\\.");return new RegExp("^(.+\\."+n+"|"+n+")$","i").test(r)}/** 1367 * @license 1368 * Copyright 2020 Google LLC. 1369 * 1370 * Licensed under the Apache License, Version 2.0 (the "License"); 1371 * you may not use this file except in compliance with the License. 1372 * You may obtain a copy of the License at 1373 * 1374 * http://www.apache.org/licenses/LICENSE-2.0 1375 * 1376 * Unless required by applicable law or agreed to in writing, software 1377 * distributed under the License is distributed on an "AS IS" BASIS, 1378 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1379 * See the License for the specific language governing permissions and 1380 * limitations under the License. 1381 */const jD=new ko(3e4,6e4);function zw(){const e=Et().___jsl;if(e!=null&&e.H){for(const A of Object.keys(e.H))if(e.H[A].r=e.H[A].r||[],e.H[A].L=e.H[A].L||[],e.H[A].r=[...e.H[A].L],e.CP)for(let t=0;t<e.CP.length;t++)e.CP[t]=null}}function zD(e){return new Promise((A,t)=>{var r,n,i;function s(){zw(),gapi.load("gapi.iframes",{callback:()=>{A(gapi.iframes.getContext())},ontimeout:()=>{zw(),t(Ct(e,"network-request-failed"))},timeout:jD.get()})}if(!((n=(r=Et().gapi)===null||r===void 0?void 0:r.iframes)===null||n===void 0)&&n.Iframe)A(gapi.iframes.getContext());else if(!((i=Et().gapi)===null||i===void 0)&&i.load)s();else{const a=$4("iframefcb");return Et()[a]=()=>{gapi.load?s():t(Ct(e,"network-request-failed"))},X4(`${J4()}?onload=${a}`).catch(l=>t(l))}}).catch(A=>{throw Cl=null,A})}let Cl=null;function XD(e){return Cl=Cl||zD(e),Cl}/** 1382 * @license 1383 * Copyright 2020 Google LLC. 1384 * 1385 * Licensed under the Apache License, Version 2.0 (the "License");
1386 * you may not use this file except in compliance with the License. 1387 * You may obtain a copy of the License at 1388 * 1389 * http://www.apache.org/licenses/LICENSE-2.0 1390 * 1391 * Unless required by applicable law or agreed to in writing, software 1392 * distributed under the License is distributed on an "AS IS" BASIS, 1393 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1394 * See the License for the specific language governing permissions and 1395 * limitations under the License. 1396 */const JD=new ko(5e3,15e3),$D="__/auth/iframe",YD="emulator/auth/iframe",qD={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},ZD=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);function Ax(e){const A=e.config;Y(A.authDomain,e,"auth-domain-config-required");const t=A.emulator?Hg(A,YD):`https://${e.config.authDomain}/${$D}`,r={apiKey:A.apiKey,appName:e.name,v:Oi},n=ZD.get(e.config.apiHost);n&&(r.eid=n);const i=e._getFrameworks();return i.length&&(r.fw=i.join(",")),`${t}?${Po(r).slice(1)}`}async function ex(e){const A=await XD(e),t=Et().gapi;return Y(t,e,"internal-error"),A.open({where:document.body,url:Ax(e),messageHandlersFilter:t.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:qD,dontclear:!0},r=>new Promise(async(n,i)=>{await r.restyle({setHideOnLeave:!1});const s=Ct(e,"network-request-failed"),a=Et().setTimeout(()=>{i(s)},JD.get());function l(){Et().clearTimeout(a),n(r)}r.ping(l).then(l,()=>{i(s)})}))}/** 1397 * @license 1398 * Copyright 2020 Google LLC. 1399 * 1400 * Licensed under the Apache License, Version 2.0 (the "License"); 1401 * you may not use this file except in compliance with the License. 1402 * You may obtain a copy of the License at 1403 * 1404 * http://www.apache.org/licenses/LICENSE-2.0 1405 * 1406 * Unless required by applicable law or agreed to in writing, software 1407 * distributed under the License is distributed on an "AS IS" BASIS, 1408 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1409 * See the License for the specific language governing permissions and 1410 * limitations under the License. 1411 */const tx={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"},rx=500,nx=600,ix="_blank",sx="http://localhost";class Xw{constructor(A){this.window=A,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch{}}}function ox(e,A,t,r=rx,n=nx){const i=Math.max((window.screen.availHeight-n)/2,0).toString(),s=Math.max((window.screen.availWidth-r)/2,0).toString();let a="";const l=Object.assign(Object.assign({},tx),{width:r.toString(),height:n.toString(),top:i,left:s}),u=Ee().toLowerCase();t&&(a=FE(u)?ix:t),IE(u)&&(A=A||sx,l.scrollbars="yes");const h=Object.entries(l).reduce((g,[E,_])=>`${g}${E}=${_},`,"");if(b4(u)&&a!=="_self")return ax(A||"",a),new Xw(null);const d=window.open(A||"",a,h);Y(d,e,"popup-blocked");try{d.focus()}catch{}return new Xw(d)}function ax(e,A){const t=document.createElement("a");t.href=e,t.target=A;const r=document.createEvent("MouseEvent");r.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),t.dispatchEvent(r)}/** 1412 * @license 1413 * Copyright 2021 Google LLC 1414 * 1415 * Licensed under the Apache License, Version 2.0 (the "License"); 1416 * you may not use this file except in compliance with the License. 1417 * You may obtain a copy of the License at 1418 * 1419 * http://www.apache.org/licenses/LICENSE-2.0 1420 * 1421 * Unless required by applicable law or agreed to in writing, software 1422 * distributed under the License is distributed on an "AS IS" BASIS, 1423 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1424 * See the License for the specific language governing permissions and 1425 * limitations under the License. 1426 */const lx="__/auth/handler",ux="emulator/auth/handler",cx=encodeURIComponent("fac");async function Jw(e,A,t,r,n,i){Y(e.config.authDomain,e,"auth-domain-config-required"),Y(e.config.apiKey,e,"invalid-api-key");const s={apiKey:e.config.apiKey,appName:e.name,authType:t,redirectUrl:r,v:Oi,eventId:n};if(A instanceof kE){A.setDefaultLanguage(e.languageCode),s.providerId=A.providerId||"",cL(A.getCustomParameters())||(s.customParameters=JSON.stringify(A.getCustomParameters()));for(const[h,d]of Object.entries(i||{}))s[h]=d}if(A instanceof Oo){const h=A.getScopes().filter(d=>d!=="");h.length>0&&(s.scopes=h.join(","))}e.tenantId&&(s.tid=e.tenantId);const a=s;for(const h of Object.keys(a))a[h]===void 0&&delete a[h];const l=await e._getAppCheckToken(),u=l?`#${cx}=${encodeURIComponent(l)}`:"";return`${hx(e)}?${Po(a).slice(1)}${u}`}function hx({config:e}){return e.emulator?Hg(e,ux):`https://${e.authDomain}/${lx}`}/** 1427 * @license 1428 * Copyright 2020 Google LLC 1429 * 1430 * Licensed under the Apache License, Version 2.0 (the "License");
1431 * you may not use this file except in compliance with the License. 1432 * You may obtain a copy of the License at 1433 * 1434 * http://www.apache.org/licenses/LICENSE-2.0 1435 * 1436 * Unless required by applicable law or agreed to in writing, software 1437 * distributed under the License is distributed on an "AS IS" BASIS, 1438 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1439 * See the License for the specific language governing permissions and 1440 * limitations under the License. 1441 */const xh="webStorageSupport";class fx{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=ME,this._completeRedirectFn=kD,this._overrideRedirectResult=DD}async _openPopup(A,t,r,n){var i;Yt((i=this.eventManagers[A._key()])===null||i===void 0?void 0:i.manager,"_initialize() not called before _openPopup()");const s=await Jw(A,t,r,ad(),n);return ox(A,s,Pg())}async _openRedirect(A,t,r,n){await this._originValidation(A);const i=await Jw(A,t,r,ad(),n);return pD(i),new Promise(()=>{})}_initialize(A){const t=A._key();if(this.eventManagers[t]){const{manager:n,promise:i}=this.eventManagers[t];return n?Promise.resolve(n):(Yt(i,"If manager is not set, promise should be"),i)}const r=this.initAndGetManager(A);return this.eventManagers[t]={promise:r},r.catch(()=>{delete this.eventManagers[t]}),r}async initAndGetManager(A){const t=await ex(A),r=new ND(A);return t.register("authEvent",n=>(Y(n==null?void 0:n.authEvent,A,"invalid-auth-event"),{status:r.onEvent(n.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[A._key()]={manager:r},this.iframes[A._key()]=t,r}_isIframeWebStorageSupported(A,t){this.iframes[A._key()].send(xh,{type:xh},n=>{var i;const s=(i=n==null?void 0:n[0])===null||i===void 0?void 0:i[xh];s!==void 0&&t(!!s),$t(A,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(A){const t=A._key();return this.originValidationPromises[t]||(this.originValidationPromises[t]=GD(A)),this.originValidationPromises[t]}get _shouldInitProactively(){return LE()||UE()||Dg()}}const dx=fx;var $w="@firebase/auth",Yw="1.7.9";/** 1442 * @license 1443 * Copyright 2020 Google LLC 1444 * 1445 * Licensed under the Apache License, Version 2.0 (the "License"); 1446 * you may not use this file except in compliance with the License. 1447 * You may obtain a copy of the License at 1448 * 1449 * http://www.apache.org/licenses/LICENSE-2.0 1450 * 1451 * Unless required by applicable law or agreed to in writing, software 1452 * distributed under the License is distributed on an "AS IS" BASIS, 1453 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1454 * See the License for the specific language governing permissions and 1455 * limitations under the License. 1456 */class gx{constructor(A){this.auth=A,this.internalListeners=new Map}getUid(){var A;return this.assertAuthConfigured(),((A=this.auth.currentUser)===null||A===void 0?void 0:A.uid)||null}async getToken(A){return this.assertAuthConfigured(),await this.auth._initializationPromise,this.auth.currentUser?{accessToken:await this.auth.currentUser.getIdToken(A)}:null}addAuthTokenListener(A){if(this.assertAuthConfigured(),this.internalListeners.has(A))return;const t=this.auth.onIdTokenChanged(r=>{A((r==null?void 0:r.stsTokenManager.accessToken)||null)});this.internalListeners.set(A,t),this.updateProactiveRefresh()}removeAuthTokenListener(A){this.assertAuthConfigured();const t=this.internalListeners.get(A);t&&(this.internalListeners.delete(A),t(),this.updateProactiveRefresh())}assertAuthConfigured(){Y(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}/** 1457 * @license 1458 * Copyright 2020 Google LLC 1459 * 1460 * Licensed under the Apache License, Version 2.0 (the "License"); 1461 * you may not use this file except in compliance with the License. 1462 * You may obtain a copy of the License at 1463 * 1464 * http://www.apache.org/licenses/LICENSE-2.0 1465 * 1466 * Unless required by applicable law or agreed to in writing, software 1467 * distributed under the License is distributed on an "AS IS" BASIS, 1468 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1469 * See the License for the specific language governing permissions and 1470 * limitations under the License. 1471 */function px(e){switch(e){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}function Bx(e){Ii(new yn("auth",(A,{options:t})=>{const r=A.getProvider("app").getImmediate(),n=A.getProvider("heartbeat"),i=A.getProvider("app-check-internal"),{apiKey:s,authDomain:a}=r.options;Y(s&&!s.includes(":"),"invalid-api-key",{appName:r.name});const l={apiKey:s,authDomain:a,clientPlatform:e,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:DE(e)},u=new j4(r,n,i,l);return q4(u,t),u},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((A,t,r)=>{A.getProvider("auth-internal").initialize()})),Ii(new yn("auth-internal",A=>{const t=qu(A.getProvider("auth").getImmediate());return(r=>new gx(r))(t)},"PRIVATE").setInstantiationMode("EXPLICIT")),Pr($w,Yw,px(e)),Pr($w,Yw,"esm2017")}/** 1472 * @license 1473 * Copyright 2021 Google LLC 1474 * 1475 * Licensed under the Apache License, Version 2.0 (the "License");
1476 * you may not use this file except in compliance with the License. 1477 * You may obtain a copy of the License at 1478 * 1479 * http://www.apache.org/licenses/LICENSE-2.0 1480 * 1481 * Unless required by applicable law or agreed to in writing, software 1482 * distributed under the License is distributed on an "AS IS" BASIS, 1483 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1484 * See the License for the specific language governing permissions and 1485 * limitations under the License. 1486 */const mx=5*60,wx=lE("authIdTokenMaxAge")||mx;let qw=null;const yx=e=>async A=>{const t=A&&await A.getIdTokenResult(),r=t&&(new Date().getTime()-Date.parse(t.issuedAtTime))/1e3;if(r&&r>wx)return;const n=t==null?void 0:t.token;qw!==n&&(qw=n,await fetch(e,{method:n?"POST":"DELETE",headers:n?{Authorization:`Bearer ${n}`}:{}}))};function vx(e=fE()){const A=Tg(e,"auth");if(A.isInitialized())return A.getImmediate();const t=Y4(e,{popupRedirectResolver:dx,persistence:[_D,fD,ME]}),r=lE("authTokenSyncURL");if(r&&typeof isSecureContext=="boolean"&&isSecureContext){const i=new URL(r,location.origin);if(location.origin===i.origin){const s=yx(i.toString());lD(t,s,()=>s(t.currentUser)),aD(t,a=>s(a))}}const n=oE("auth");return n&&Z4(t,`http://${n}`),t}function Cx(){var e,A;return(A=(e=document.getElementsByTagName("head"))===null||e===void 0?void 0:e[0])!==null&&A!==void 0?A:document}z4({loadJS(e){return new Promise((A,t)=>{const r=document.createElement("script");r.setAttribute("src",e),r.onload=A,r.onerror=n=>{const i=Ct("internal-error");i.customData=n,t(i)},r.type="text/javascript",r.charset="UTF-8",Cx().appendChild(r)})},gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="});Bx("Browser");var Zw=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};/** @license 1487Copyright The Closure Library Authors. 1488SPDX-License-Identifier: Apache-2.0 1489*/var dn,JE;(function(){var e;/** @license 1490 1491 Copyright The Closure Library Authors. 1492 SPDX-License-Identifier: Apache-2.0 1493*/function A(y,B){function w(){}w.prototype=B.prototype,y.D=B.prototype,y.prototype=new w,y.prototype.constructor=y,y.C=function(Q,U,T){for(var C=Array(arguments.length-2),hA=2;hA<arguments.length;hA++)C[hA-2]=arguments[hA];return B.prototype[U].apply(Q,C)}}function t(){this.blockSize=-1}function r(){this.blockSize=-1,this.blockSize=64,this.g=Array(4),this.B=Array(this.blockSize),this.o=this.h=0,this.s()}A(r,t),r.prototype.s=function(){this.g[0]=1732584193,this.g[1]=4023233417,this.g[2]=2562383102,this.g[3]=271733878,this.o=this.h=0};function n(y,B,w){w||(w=0);var Q=Array(16);if(typeof B=="string")for(var U=0;16>U;++U)Q[U]=B.charCodeAt(w++)|B.charCodeAt(w++)<<8|B.charCodeAt(w++)<<16|B.charCodeAt(w++)<<24;else for(U=0;16>U;++U)Q[U]=B[w++]|B[w++]<<8|B[w++]<<16|B[w++]<<24;B=y.g[0],w=y.g[1],U=y.g[2];var T=y.g[3],C=B+(T^w&(U^T))+Q[0]+3614090360&4294967295;B=w+(C<<7&4294967295|C>>>25),C=T+(U^B&(w^U))+Q[1]+3905402710&4294967295,T=B+(C<<12&4294967295|C>>>20),C=U+(w^T&(B^w))+Q[2]+606105819&4294967295,U=T+(C<<17&4294967295|C>>>15),C=w+(B^U&(T^B))+Q[3]+3250441966&4294967295,w=U+(C<<22&4294967295|C>>>10),C=B+(T^w&(U^T))+Q[4]+4118548399&4294967295,B=w+(C<<7&4294967295|C>>>25),C=T+(U^B&(w^U))+Q[5]+1200080426&4294967295,T=B+(C<<12&4294967295|C>>>20),C=U+(w^T&(B^w))+Q[6]+2821735955&4294967295,U=T+(C<<17&4294967295|C>>>15),C=w+(B^U&(T^B))+Q[7]+4249261313&4294967295,w=U+(C<<22&4294967295|C>>>10),C=B+(T^w&(U^T))+Q[8]+1770035416&4294967295,B=w+(C<<7&4294967295|C>>>25),C=T+(U^B&(w^U))+Q[9]+2336552879&4294967295,T=B+(C<<12&4294967295|C>>>20),C=U+(w^T&(B^w))+Q[10]+4294925233&4294967295,U=T+(C<<17&4294967295|C>>>15),C=w+(B^U&(T^B))+Q[11]+2304563134&4294967295,w=U+(C<<22&4294967295|C>>>10),C=B+(T^w&(U^T))+Q[12]+1804603682&4294967295,B=w+(C<<7&4294967295|C>>>25),C=T+(U^B&(w^U))+Q[13]+4254626195&4294967295,T=B+(C<<12&4294967295|C>>>20),C=U+(w^T&(B^w))+Q[14]+2792965006&4294967295,U=T+(C<<17&4294967295|C>>>15),C=w+(B^U&(T^B))+Q[15]+1236535329&4294967295,w=U+(C<<22&4294967295|C>>>
vendor: 50,444 bytes, lines 1493-1512
149310),C=B+(U^T&(w^U))+Q[1]+4129170786&4294967295,B=w+(C<<5&4294967295|C>>>27),C=T+(w^U&(B^w))+Q[6]+3225465664&4294967295,T=B+(C<<9&4294967295|C>>>23),C=U+(B^w&(T^B))+Q[11]+643717713&4294967295,U=T+(C<<14&4294967295|C>>>18),C=w+(T^B&(U^T))+Q[0]+3921069994&4294967295,w=U+(C<<20&4294967295|C>>>12),C=B+(U^T&(w^U))+Q[5]+3593408605&4294967295,B=w+(C<<5&4294967295|C>>>27),C=T+(w^U&(B^w))+Q[10]+38016083&4294967295,T=B+(C<<9&4294967295|C>>>23),C=U+(B^w&(T^B))+Q[15]+3634488961&4294967295,U=T+(C<<14&4294967295|C>>>18),C=w+(T^B&(U^T))+Q[4]+3889429448&4294967295,w=U+(C<<20&4294967295|C>>>12),C=B+(U^T&(w^U))+Q[9]+568446438&4294967295,B=w+(C<<5&4294967295|C>>>27),C=T+(w^U&(B^w))+Q[14]+3275163606&4294967295,T=B+(C<<9&4294967295|C>>>23),C=U+(B^w&(T^B))+Q[3]+4107603335&4294967295,U=T+(C<<14&4294967295|C>>>18),C=w+(T^B&(U^T))+Q[8]+1163531501&4294967295,w=U+(C<<20&4294967295|C>>>12),C=B+(U^T&(w^U))+Q[13]+2850285829&4294967295,B=w+(C<<5&4294967295|C>>>27),C=T+(w^U&(B^w))+Q[2]+4243563512&4294967295,T=B+(C<<9&4294967295|C>>>23),C=U+(B^w&(T^B))+Q[7]+1735328473&4294967295,U=T+(C<<14&4294967295|C>>>18),C=w+(T^B&(U^T))+Q[12]+2368359562&4294967295,w=U+(C<<20&4294967295|C>>>12),C=B+(w^U^T)+Q[5]+4294588738&4294967295,B=w+(C<<4&4294967295|C>>>28),C=T+(B^w^U)+Q[8]+2272392833&4294967295,T=B+(C<<11&4294967295|C>>>21),C=U+(T^B^w)+Q[11]+1839030562&4294967295,U=T+(C<<16&4294967295|C>>>16),C=w+(U^T^B)+Q[14]+4259657740&4294967295,w=U+(C<<23&4294967295|C>>>9),C=B+(w^U^T)+Q[1]+2763975236&4294967295,B=w+(C<<4&4294967295|C>>>28),C=T+(B^w^U)+Q[4]+1272893353&4294967295,T=B+(C<<11&4294967295|C>>>21),C=U+(T^B^w)+Q[7]+4139469664&4294967295,U=T+(C<<16&4294967295|C>>>16),C=w+(U^T^B)+Q[10]+3200236656&4294967295,w=U+(C<<23&4294967295|C>>>9),C=B+(w^U^T)+Q[13]+681279174&4294967295,B=w+(C<<4&4294967295|C>>>28),C=T+(B^w^U)+Q[0]+3936430074&4294967295,T=B+(C<<11&4294967295|C>>>21),C=U+(T^B^w)+Q[3]+3572445317&4294967295,U=T+(C<<16&4294967295|C>>>16),C=w+(U^T^B)+Q[6]+76029189&4294967295,w=U+(C<<23&4294967295|C>>>9),C=B+(w^U^T)+Q[9]+3654602809&4294967295,B=w+(C<<4&4294967295|C>>>28),C=T+(B^w^U)+Q[12]+3873151461&4294967295,T=B+(C<<11&4294967295|C>>>21),C=U+(T^B^w)+Q[15]+530742520&4294967295,U=T+(C<<16&4294967295|C>>>16),C=w+(U^T^B)+Q[2]+3299628645&4294967295,w=U+(C<<23&4294967295|C>>>9),C=B+(U^(w|~T))+Q[0]+4096336452&4294967295,B=w+(C<<6&4294967295|C>>>26),C=T+(w^(B|~U))+Q[7]+1126891415&4294967295,T=B+(C<<10&4294967295|C>>>22),C=U+(B^(T|~w))+Q[14]+2878612391&4294967295,U=T+(C<<15&4294967295|C>>>17),C=w+(T^(U|~B))+Q[5]+4237533241&4294967295,w=U+(C<<21&4294967295|C>>>11),C=B+(U^(w|~T))+Q[12]+1700485571&4294967295,B=w+(C<<6&4294967295|C>>>26),C=T+(w^(B|~U))+Q[3]+2399980690&4294967295,T=B+(C<<10&4294967295|C>>>22),C=U+(B^(T|~w))+Q[10]+4293915773&4294967295,U=T+(C<<15&4294967295|C>>>17),C=w+(T^(U|~B))+Q[1]+2240044497&4294967295,w=U+(C<<21&4294967295|C>>>11),C=B+(U^(w|~T))+Q[8]+1873313359&4294967295,B=w+(C<<6&4294967295|C>>>26),C=T+(w^(B|~U))+Q[15]+4264355552&4294967295,T=B+(C<<10&4294967295|C>>>22),C=U+(B^(T|~w))+Q[6]+2734768916&4294967295,U=T+(C<<15&4294967295|C>>>17),C=w+(T^(U|~B))+Q[13]+1309151649&4294967295,w=U+(C<<21&4294967295|C>>>11),C=B+(U^(w|~T))+Q[4]+4149444226&4294967295,B=w+(C<<6&4294967295|C>>>26),C=T+(w^(B|~U))+Q[11]+3174756917&4294967295,T=B+(C<<10&4294967295|C>>>22),C=U+(B^(T|~w))+Q[2]+718787259&4294967295,U=T+(C<<15&4294967295|C>>>17),C=w+(T^(U|~B))+Q[9]+3951481745&4294967295,y.g[0]=y.g[0]+B&4294967295,y.g[1]=y.g[1]+(U+(C<<21&4294967295|C>>>11))&4294967295,y.g[2]=y.g[2]+U&4294967295,y.g[3]=y.g[3]+T&4294967295}r.prototype.u=function(y,B){B===void 0&&(B=y.length);for(var w=B-this.blockSize,Q=this.B,U=this.h,T=0;T<B;){if(U==0)for(;T<=w;)n(this,y,T),T+=this.blockSize;if(typeof y=="string"){for(;T<B;)if(Q[U++]=y.charCodeAt(T++),U==this.blockSize){n(this,Q),U=0;break}}else for(;T<B;)if(Q[U++]=y[T++],U==this.blockSize){n(this,Q),U=0;break}}this.h=U,this.o+=B},r.prototype.v=function(){var y=Array((56>this.h?this.blockSize:2*this.blockSize)-this.h);y[0]=128;for(var B=1;B<y.length-8;++B)y[B]=0;var w=8*this.o;for(B=y.length-8;B<y.length;++B)y[B]=w&255,w/=256;for(this.u(y),y=Array(16),B=w=0;4>B;++B)for(var Q=0;32>Q;Q+=8)y[w++]=this.g[B]>>>Q&255;return y};function i(y,B){var w=a;return Object.prototype.hasOwnProperty.call(w,y)?w[y]:w[y]=B(y)}function s(y,B){this.h=B;for(var w=[],Q=!0,U=y.length-1;0<=U;U--){var T=y[U]|0;Q&&T==B||(w[U]=T,Q=!1)}this.g=w}var a={};function l(y){return-128<=y&&128>y?i(y,function(B){return new s([B|0],0>B?-1:0)}):new s([y|0],0>y?-1:0)}function u(y){if(isNaN(y)||!isFinite(y))return d;if(0>y)return L(u(-y));for(var B=[],w=1,Q=0;y>=w;Q++)B[Q]=y/w|0,w*=4294967296;return new s(B,0)}function h(y,B){if(y.length==0)throw Error("number format error: empty string");if(B=B||10,2>B||36<B)throw Error("radix out of range: "+B);if(y.charAt(0)=="-")return L(h(y.substring(1),B));if(0<=y.indexOf("-"))throw Error('number format error: interior "-" character');for(var w=u(Math.pow(B,8)),Q=d,U=0;U<y.length;U+=8){var T=Math.min(8,y.length-U),C=parseInt(y.substring(U,U+T),B);8>T?(T=u(Math.pow(B,T)),Q=Q.j(T).add(u(C))):(Q=Q.j(w),Q=Q.add(u(C)))}return Q}var d=l(0),g=l(1),E=l(16777216);e=s.prototype,e.m=function(){if(F(this))return-L(this).m();for(var y=0,B=1,w=0;w<this.g.length;w++){var Q=this.i(w);y+=(0<=Q?Q:4294967296+Q)*B,B*=4294967296}return y},e.toString=function(y){if(y=y||10,2>y||36<y)throw Error("radix out of range: "+y);if(_(this))return"0";if(F(this))return"-"+L(this).toString(y);for(var B=u(Math.pow(y,6)),w=this,Q="";;){var U=R(w,B).g;w=v(w,U.j(B));var T=((0<w.g.length?w.g[0]:w.h)>>>0).toString(y);if(w=U,_(w))return T+Q;for(;6>T.length;)T="0"+T;Q=T+Q}},e.i=function(y){return 0>y?0:y<this.g.length?this.g[y]:this.h};function _(y){if(y.h!=0)return!1;for(var B=0;B<y.g.length;B++)if(y.g[B]!=0)return!1;return!0}function F(y){return y.h==-1}e.l=function(y){return y=v(this,y),F(y)?-1:_(y)?0:1};function L(y){for(var B=y.g.length,w=[],Q=0;Q<B;Q++)w[Q]=~y.g[Q];return new s(w,~y.h).add(g)}e.abs=function(){return F(this)?L(this):this},e.add=function(y){for(var B=Math.max(this.g.length,y.g.length),w=[],Q=0,U=0;U<=B;U++){var T=Q+(this.i(U)&65535)+(y.i(U)&65535),C=(T>>>16)+(this.i(U)>>>16)+(y.i(U)>>>16);Q=C>>>16,T&=65535,C&=65535,w[U]=C<<16|T}return new s(w,w[w.length-1]&-2147483648?-1:0)};function v(y,B){return y.add(L(B))}e.j=function(y){if(_(this)||_(y))return d;if(F(this))return F(y)?L(this).j(L(y)):L(L(this).j(y));if(F(y))return L(this.j(L(y)));if(0>this.l(E)&&0>y.l(E))return u(this.m()*y.m());for(var B=this.g.length+y.g.length,w=[],Q=0;Q<2*B;Q++)w[Q]=0;for(Q=0;Q<this.g.length;Q++)for(var U=0;U<y.g.length;U++){var T=this.i(Q)>>>16,C=this.i(Q)&65535,hA=y.i(U)>>>16,jA=y.i(U)&65535;w[2*Q+2*U]+=C*jA,m(w,2*Q+2*U),w[2*Q+2*U+1]+=T*jA,m(w,2*Q+2*U+1),w[2*Q+2*U+1]+=C*hA,m(w,2*Q+2*U+1),w[2*Q+2*U+2]+=T*hA,m(w,2*Q+2*U+2)}for(Q=0;Q<B;Q++)w[Q]=w[2*Q+1]<<16|w[2*Q];for(Q=B;Q<2*B;Q++)w[Q]=0;return new s(w,0)};function m(y,B){for(;(y[B]&65535)!=y[B];)y[B+1]+=y[B]>>>16,y[B]&=65535,B++}function I(y,B){this.g=y,this.h=B}function R(y,B){if(_(B))throw Error("division by zero");if(_(y))return new I(d,d);if(F(y))return B=R(L(y),B),new I(L(B.g),L(B.h));if(F(B))return B=R(y,L(B)),new I(L(B.g),B.h);if(30<y.g.length){if(F(y)||F(B))throw Error("slowDivide_ only works with positive integers.");for(var w=g,Q=B;0>=Q.l(y);)w=x(w),Q=x(Q);var U=H(w,1),T=H(Q,1);for(Q=H(Q,2),w=H(w,2);!_(Q);){var C=T.add(Q);0>=C.l(y)&&(U=U.add(w),T=C),Q=H(Q,1),w=H(w,1)}return B=v(y,U.j(B)),new I(U,B)}for(U=d;0<=y.l(B);){for(w=Math.max(1,Math.floor(y.m()/B.m())),Q=Math.ceil(Math.log(w)/Math.LN2),Q=48>=Q?1:Math.pow(2,Q-48),T=u(w),C=T.j(B);F(C)||0<C.l(y);)w-=Q,T=u(w),C=T.j(B);_(T)&&(T=g),U=U.add(T),y=v(y,C)}return new I(U,y)}e.A=function(y){return R(this,y).h},e.and=function(y){for(var B=Math.max(this.g.length,y.g.length),w=[],Q=0;Q<B;Q++)w[Q]=this.i(Q)&y.i(Q);return new s(w,this.h&y.h)},e.or=function(y){for(var B=Math.max(this.g.length,y.g.length),w=[],Q=0;Q<B;Q++)w[Q]=this.i(Q)|y.i(Q);return new s(w,this.h|y.h)},e.xor=function(y){for(var B=Math.max(this.g.length,y.g.length),w=[],Q=0;Q<B;Q++)w[Q]=this.i(Q)^y.i(Q);return new s(w,this.h^y.h)};function x(y){for(var B=y.g.length+1,w=[],Q=0;Q<B;Q++)w[Q]=y.i(Q)<<1|y.i(Q-1)>>>31;return new s(w,y.h)}function H(y,B){var w=B>>5;B%=32;for(var Q=y.g.length-w,U=[],T=0;T<Q;T++)U[T]=0<B?y.i(T+w)>>>B|y.i(T+w+1)<<32-B:y.i(T+w);return new s(U,y.h)}r.prototype.digest=r.prototype.v,r.prototype.reset=r.prototype.s,r.prototype.update=r.prototype.u,JE=r,s.prototype.add=s.prototype.add,s.prototype.multiply=s.prototype.j,s.prototype.modulo=s.prototype.A,s.prototype.compare=s.prototype.l,s.prototype.toNumber=s.prototype.m,s.prototype.toString=s.prototype.toString,s.prototype.getBits=s.prototype.i,s.fromNumber=u,s.fromString=h,dn=s}).apply(typeof Zw<"u"?Zw:typeof self<"u"?self:typeof window<"u"?window:{});var qa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};/** @license 1494Copyright The Closure Library Authors. 1495SPDX-License-Identifier: Apache-2.0 1496*/var $E,Ts,YE,El,cd,qE,ZE,AQ;(function(){var e,A=typeof Object.defineProperties=="function"?Object.defineProperty:function(o,c,f){return o==Array.prototype||o==Object.prototype||(o[c]=f.value),o};function t(o){o=[typeof globalThis=="object"&&globalThis,o,typeof window=="object"&&window,typeof self=="object"&&self,typeof qa=="object"&&qa];for(var c=0;c<o.length;++c){var f=o[c];if(f&&f.Math==Math)return f}throw Error("Cannot find global object")}var r=t(this);function n(o,c){if(c)A:{var f=r;o=o.split(".");for(var p=0;p<o.length-1;p++){var S=o[p];if(!(S in f))break A;f=f[S]}o=o[o.length-1],p=f[o],c=c(p),c!=p&&c!=null&&A(f,o,{configurable:!0,writable:!0,value:c})}}function i(o,c){o instanceof String&&(o+="");var f=0,p=!1,S={next:function(){if(!p&&f<o.length){var D=f++;return{value:c(D,o[D]),done:!1}}return p=!0,{done:!0,value:void 0}}};return S[Symbol.iterator]=function(){return S},S}n("Array.prototype.values",function(o){return o||function(){return i(this,function(c,f){return f})}});/** @license 1497 1498 Copyright The Closure Library Authors. 1499 SPDX-License-Identifier: Apache-2.0 1500*/var s=s||{},a=this||self;function l(o){var c=typeof o;return c=c!="object"?c:o?Array.isArray(o)?"array":c:"null",c=="array"||c=="object"&&typeof o.length=="number"}function u(o){var c=typeof o;return c=="object"&&o!=null||c=="function"}function h(o,c,f){return o.call.apply(o.bind,arguments)}function d(o,c,f){if(!o)throw Error();if(2<arguments.length){var p=Array.prototype.slice.call(arguments,2);return function(){var S=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(S,p),o.apply(c,S)}}return function(){return o.apply(c,arguments)}}function g(o,c,f){return g=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?h:d,g.apply(null,arguments)}function E(o,c){var f=Array.prototype.slice.call(arguments,1);return function(){var p=f.slice();return p.push.apply(p,arguments),o.apply(this,p)}}function _(o,c){function f(){}f.prototype=c.prototype,o.aa=c.prototype,o.prototype=new f,o.prototype.constructor=o,o.Qb=function(p,S,D){for(var V=Array(arguments.length-2),wA=2;wA<arguments.length;wA++)V[wA-2]=arguments[wA];return c.prototype[S].apply(p,V)}}function F(o){const c=o.length;if(0<c){const f=Array(c);for(let p=0;p<c;p++)f[p]=o[p];return f}return[]}function L(o,c){for(let f=1;f<arguments.length;f++){const p=arguments[f];if(l(p)){const S=o.length||0,D=p.length||0;o.length=S+D;for(let V=0;V<D;V++)o[S+V]=p[V]}else o.push(p)}}class v{constructor(c,f){this.i=c,this.j=f,this.h=0,this.g=null}get(){let c;return 0<this.h?(this.h--,c=this.g,this.g=c.next,c.next=null):c=this.i(),c}}function m(o){return/^[\s\xa0]*$/.test(o)}function I(){var o=a.navigator;return o&&(o=o.userAgent)?o:""}function R(o){return R[" "](o),o}R[" "]=function(){};var x=I().indexOf("Gecko")!=-1&&!(I().toLowerCase().indexOf("webkit")!=-1&&I().indexOf("Edge")==-1)&&!(I().indexOf("Trident")!=-1||I().indexOf("MSIE")!=-1)&&I().indexOf("Edge")==-1;function H(o,c,f){for(const p in o)c.call(f,o[p],p,o)}function y(o,c){for(const f in o)c.call(void 0,o[f],f,o)}function B(o){const c={};for(const f in o)c[f]=o[f];return c}const w="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Q(o,c){let f,p;for(let S=1;S<arguments.length;S++){p=arguments[S];for(f in p)o[f]=p[f];for(let D=0;D<w.length;D++)f=w[D],Object.prototype.hasOwnProperty.call(p,f)&&(o[f]=p[f])}}function U(o){var c=1;o=o.split(":");const f=[];for(;0<c&&o.length;)f.push(o.shift()),c--;return o.length&&f.push(o.join(":")),f}function T(o){a.setTimeout(()=>{throw o},0)}function C(){var o=X;let c=null;return o.g&&(c=o.g,o.g=o.g.next,o.g||(o.h=null),c.next=null),c}class hA{constructor(){this.h=this.g=null}add(c,f){const p=jA.get();p.set(c,f),this.h?this.h.next=p:this.g=p,this.h=p}}var jA=new v(()=>new SA,o=>o.reset());class SA{constructor(){this.next=this.g=this.h=null}set(c,f){this.h=c,this.g=f,this.next=null}reset(){this.next=this.g=this.h=null}}let yA,b=!1,X=new hA,$=()=>{const o=a.Promise.resolve(void 0);yA=()=>{o.then(lA)}};var lA=()=>{for(var o;o=C();){try{o.h.call(o.g)}catch(f){T(f)}var c=jA;c.j(o),100>c.h&&(c.h++,o.next=c.g,c.g=o)}b=!1};function tA(){this.s=this.s,this.C=this.C}tA.prototype.s=!1,tA.prototype.ma=function(){this.s||(this.s=!0,this.N())},tA.prototype.N=function(){if(this.C)for(;this.C.length;)this.C.shift()()};function N(o,c){this.type=o,this.g=this.target=c,this.defaultPrevented=!1}N.prototype.h=function(){this.defaultPrevented=!0};var Z=function(){if(!a.addEventListener||!Object.defineProperty)return!1;var o=!1,c=Object.defineProperty({},"passive",{get:function(){o=!0}});try{const f=()=>{};a.addEventListener("test",f,c),a.removeEventListener("test",f,c)}catch{}return o}();function rA(o,c){if(N.call(this,o?o.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,o){var f=this.type=o.type,p=o.changedTouches&&o.changedTouches.length?o.changedTouches[0]:null;if(this.target=o.target||o.srcElement,this.g=c,c=o.relatedTarget){if(x){A:{try{R(c.nodeName);var S=!0;break A}catch{}S=!1}S||(c=null)}}else f=="mouseover"?c=o.fromElement:f=="mouseout"&&(c=o.toElement);this.relatedTarget=c,p?(this.clientX=p.clientX!==void 0?p.clientX:p.pageX,this.clientY=p.clientY!==void 0?p.clientY:p.pageY,this.screenX=p.screenX||0,this.screenY=p.screenY||0):(this.clientX=o.clientX!==void 0?o.clientX:o.pageX,this.clientY=o.clientY!==void 0?o.clientY:o.pageY,this.screenX=o.screenX||0,this.screenY=o.screenY||0),this.button=o.button,this.key=o.key||"",this.ctrlKey=o.ctrlKey,this.altKey=o.altKey,this.shiftKey=o.shiftKey,this.metaKey=o.metaKey,this.pointerId=o.pointerId||0,this.pointerType=typeof o.pointerType=="string"?o.pointerType:uA[o.pointerType]||"",this.state=o.state,this.i=o,o.defaultPrevented&&rA.aa.h.call(this)}}_(rA,N);var uA={2:"touch",3:"pen",4:"mouse"};rA.prototype.h=function(){rA.aa.h.call(this);var o=this.i;o.preventDefault?o.preventDefault():o.returnValue=!1};var EA="closure_listenable_"+(1e6*Math.random()|0),jo=0;function g_(o,c,f,p,S){this.listener=o,this.proxy=null,this.src=c,this.type=f,this.capture=!!p,this.ha=S,this.key=++jo,this.da=this.fa=!1}function zo(o){o.da=!0,o.listener=null,o.proxy=null,o.src=null,o.ha=null}function Xo(o){this.src=o,this.g={},this.h=0}Xo.prototype.add=function(o,c,f,p,S){var D=o.toString();o=this.g[D],o||(o=this.g[D]=[],this.h++);var V=fc(o,c,p,S);return-1<V?(c=o[V],f||(c.fa=!1)):(c=new g_(c,this.src,D,!!p,S),c.fa=f,o.push(c)),c};function hc(o,c){var f=c.type;if(f in o.g){var p=o.g[f],S=Array.prototype.indexOf.call(p,c,void 0),D;(D=0<=S)&&Array.prototype.splice.call(p,S,1),D&&(zo(c),o.g[f].length==0&&(delete o.g[f],o.h--))}}function fc(o,c,f,p){for(var S=0;S<o.length;++S){var D=o[S];if(!D.da&&D.listener==c&&D.capture==!!f&&D.ha==p)return S}return-1}var dc="closure_lm_"+(1e6*Math.random()|0),gc={};function wp(o,c,f,p,S){if(p&&p.once)return vp(o,c,f,p,S);if(Array.isArray(c)){for(var D=0;D<c.length;D++)wp(o,c[D],f,p,S);return null}return f=wc(f),o&&o[EA]?o.K(c,f,u(p)?!!p.capture:!!p,S):yp(o,c,f,!1,p,S)}function yp(o,c,f,p,S,D){if(!c)throw Error("Invalid event type");var V=u(S)?!!S.capture:!!S,wA=Bc(o);if(wA||(o[dc]=wA=new Xo(o)),f=wA.add(c,f,p,V,D),f.proxy)return f;if(p=p_(),f.proxy=p,p.src=o,p.listener=f,o.addEventListener)Z||(S=V),S===void 0&&(S=!1),o.addEventListener(c.toString(),p,S);else if(o.attachEvent)o.attachEvent(Ep(c.toString()),p);else if(o.addListener&&o.removeListener)o.addListener(p);else throw Error("addEventListener and attachEvent are unavailable.");return f}function p_(){function o(f){return c.call(o.src,o.listener,f)}const c=B_;return o}function vp(o,c,f,p,S){if(Array.isArray(c)){for(var D=0;D<c.length;D++)vp(o,c[D],f,p,S);return null}return f=wc(f),o&&o[EA]?o.L(c,f,u(p)?!!p.capture:!!p,S):yp(o,c,f,!0,p,S)}function Cp(o,c,f,p,S){if(Array.isArray(c))for(var D=0;D<c.length;D++)Cp(o,c[D],f,p,S);else p=u(p)?!!p.capture:!!p,f=wc(f),o&&o[EA]?(o=o.i,c=String(c).toString(),c in o.g&&(D=o.g[c],f=fc(D,f,p,S),-1<f&&(zo(D[f]),Array.prototype.splice.call(D,f,1),D.length==0&&(delete o.g[c],o.h--)))):o&&(o=Bc(o))&&(c=o.g[c.toString()],o=-1,c&&(o=fc(c,f,p,S)),(f=-1<o?c[o]:null)&&pc(f))}function pc(o){if(typeof o!="number"&&o&&!o.da){var c=o.src;if(c&&c[EA])hc(c.i,o);else{var f=o.type,p=o.proxy;c.removeEventListener?c.removeEventListener(f,p,o.capture):c.detachEvent?c.detachEvent(Ep(f),p):c.addListener&&c.removeListener&&c.removeListener(p),(f=Bc(c))?(hc(f,o),f.h==0&&(f.src=null,c[dc]=null)):zo(o)}}}function Ep(o){return o in gc?gc[o]:gc[o]="on"+o}function B_(o,c){if(o.da)o=!0;else{c=new rA(c,this);var f=o.listener,p=o.ha||o.src;o.fa&&pc(o),o=f.call(p,c)}return o}function Bc(o){return o=o[dc],o instanceof Xo?o:null}var mc="__closure_events_fn_"+(1e9*Math.random()>>>0);function wc(o){return typeof o=="function"?o:(o[mc]||(o[mc]=function(c){return o.handleEvent(c)}),o[mc])}function ce(){tA.call(this),this.i=new Xo(this),this.M=this,this.F=null}_(ce,tA),ce.prototype[EA]=!0,ce.prototype.removeEventListener=function(o,c,f,p){Cp(this,o,c,f,p)};function Qe(o,c){var f,p=o.F;if(p)for(f=[];p;p=p.F)f.push(p);if(o=o.M,p=c.type||c,typeof c=="string")c=new N(c,o);else if(c instanceof N)c.target=c.target||o;else{var S=c;c=new N(p,o),Q(c,S)}if(S=!0,f)for(var D=f.length-1;0<=D;D--){var V=c.g=f[D];S=Jo(V,p,!0,c)&&S}if(V=c.g=o,S=Jo(V,p,!0,c)&&S,S=Jo(V,p,!1,c)&&S,f)for(D=0;D<f.length;D++)V=c.g=f[D],S=Jo(V,p,!1,c)&&S}ce.prototype.N=function(){if(ce.aa.N.call(this),this.i){var o=this.i,c;for(c in o.g){for(var f=o.g[c],p=0;p<f.length;p++)zo(f[p]);delete o.g[c],o.h--}}this.F=null},ce.prototype.K=function(o,c,f,p){return this.i.add(String(o),c,!1,f,p)},ce.prototype.L=function(o,c,f,p){return this.i.add(String(o),c,!0,f,p)};function Jo(o,c,f,p){if(c=o.i.g[String(c)],!c)return!0;c=c.concat();for(var S=!0,D=0;D<c.length;++D){var V=c[D];if(V&&!V.da&&V.capture==f){var wA=V.listener,ee=V.ha||V.src;V.fa&&hc(o.i,V),S=wA.call(ee,p)!==!1&&S}}return S&&!p.defaultPrevented}function Qp(o,c,f){if(typeof o=="function")f&&(o=g(o,f));else if(o&&typeof o.handleEvent=="function")o=g(o.handleEvent,o);else throw Error("Invalid listener argument");return 2147483647<Number(c)?-1:a.setTimeout(o,c||0)}function _p(o){o.g=Qp(()=>{o.g=null,o.i&&(o.i=!1,_p(o))},o.l);const c=o.h;o.h=null,o.m.apply(null,c)}class m_ extends tA{constructor(c,f){super(),this.m=c,this.l=f,this.h=null,this.i=!1,this.g=null}j(c){this.h=arguments,this.g?this.i=!0:_p(this)}N(){super.N(),this.g&&(a.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)}}function Wi(o){tA.call(this),this.h=o,this.g={}}_(Wi,tA);var Ip=[];function Up(o){H(o.g,function(c,f){this.g.hasOwnProperty(f)&&pc(c)},o),o.g={}}Wi.prototype.N=function(){Wi.aa.N.call(this),Up(this)},Wi.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")};var yc=a.JSON.stringify,w_=a.JSON.parse,y_=class{stringify(o){return a.JSON.stringify(o,void 0)}parse(o){return a.JSON.parse(o,void 0)}};function vc(){}vc.prototype.h=null;function Fp(o){return o.h||(o.h=o.i())}function Tp(){}var ji={OPEN:"a",kb:"b",Ja:"c",wb:"d"};function Cc(){N.call(this,"d")}_(Cc,N);function Ec(){N.call(this,"c")}_(Ec,N);var Jr={},Sp=null;function $o(){return Sp=Sp||new ce}Jr.La="serverreachability";function Rp(o){N.call(this,Jr.La,o)}_(Rp,N);function zi(o){const c=$o();Qe(c,new Rp(c))}Jr.STAT_EVENT="statevent";function Hp(o,c){N.call(this,Jr.STAT_EVENT,o),this.stat=c}_(Hp,N);function _e(o){const c=$o();Qe(c,new Hp(c,o))}Jr.Ma="timingevent";function Lp(o,c){N.call(this,Jr.Ma,o),this.size=c}_(Lp,N);function Xi(o,c){if(typeof o!="function")throw Error("Fn must not be null and must be a function");return a.setTimeout(function(){o()},c)}function Ji(){this.g=!0}Ji.prototype.xa=function(){this.g=!1};function v_(o,c,f,p,S,D){o.info(function(){if(o.g)if(D)for(var V="",wA=D.split("&"),ee=0;ee<wA.length;ee++){var fA=wA[ee].split("=");if(1<fA.length){var he=fA[0];fA=fA[1];var fe=he.split("_");V=2<=fe.length&&fe[1]=="type"?V+(he+"="+fA+"&"):V+(he+"=redacted&")}}else V=null;else V=D;return"XMLHTTP REQ ("+p+") [attempt "+S+"]: "+c+` 1501`+f+` 1502`+V})}function C_(o,c,f,p,S,D,V){o.info(function(){return"XMLHTTP RESP ("+p+") [ attempt "+S+"]: "+c+` 1503`+f+` 1504`+D+" "+V})}function Rn(o,c,f,p){o.info(function(){return"XMLHTTP TEXT ("+c+"): "+Q_(o,f)+(p?" "+p:"")})}function E_(o,c){o.info(function(){return"TIMEOUT: "+c})}Ji.prototype.info=function(){};function Q_(o,c){if(!o.g)return c;if(!c)return null;try{var f=JSON.parse(c);if(f){for(o=0;o<f.length;o++)if(Array.isArray(f[o])){var p=f[o];if(!(2>p.length)){var S=p[1];if(Array.isArray(S)&&!(1>S.length)){var D=S[0];if(D!="noop"&&D!="stop"&&D!="close")for(var V=1;V<S.length;V++)S[V]=""}}}}return yc(f)}catch{return c}}var Yo={NO_ERROR:0,gb:1,tb:2,sb:3,nb:4,rb:5,ub:6,Ia:7,TIMEOUT:8,xb:9},Dp={lb:"complete",Hb:"success",Ja:"error",Ia:"abort",zb:"ready",Ab:"readystatechange",TIMEOUT:"timeout",vb:"incrementaldata",yb:"progress",ob:"downloadprogress",Pb:"uploadprogress"},Qc;function qo(){}_(qo,vc),qo.prototype.g=function(){return new XMLHttpRequest},qo.prototype.i=function(){return{}},Qc=new qo;function tr(o,c,f,p){this.j=o,this.i=c,this.l=f,this.R=p||1,this.U=new Wi(this),this.I=45e3,this.H=null,this.o=!1,this.m=this.A=this.v=this.L=this.F=this.S=this.B=null,this.D=[],this.g=null,this.C=0,this.s=this.u=null,this.X=-1,this.J=!1,this.O=0,this.M=null,this.W=this.K=this.T=this.P=!1,this.h=new xp}function xp(){this.i=null,this.g="",this.h=!1}var Pp={},_c={};function Ic(o,c,f){o.L=1,o.v=ta(Tt(c)),o.m=f,o.P=!0,kp(o,null)}function kp(o,c){o.F=Date.now(),Zo(o),o.A=Tt(o.v);var f=o.A,p=o.R;Array.isArray(p)||(p=[String(p)]),Yp(f.i,"t",p),o.C=0,f=o.j.J,o.h=new xp,o.g=gB(o.j,f?c:null,!o.m),0<o.O&&(o.M=new m_(g(o.Y,o,o.g),o.O)),c=o.U,f=o.g,p=o.ca;var S="readystatechange";Array.isArray(S)||(S&&(Ip[0]=S.toString()),S=Ip);for(var D=0;D<S.length;D++){var V=wp(f,S[D],p||c.handleEvent,!1,c.h||c);if(!V)break;c.g[V.key]=V}c=o.H?B(o.H):{},o.m?(o.u||(o.u="POST"),c["Content-Type"]="application/x-www-form-urlencoded",o.g.ea(o.A,o.u,o.m,c)):(o.u="GET",o.g.ea(o.A,o.u,null,c)),zi(),v_(o.i,o.u,o.A,o.l,o.R,o.m)}tr.prototype.ca=function(o){o=o.target;const c=this.M;c&&St(o)==3?c.j():this.Y(o)},tr.prototype.Y=function(o){try{if(o==this.g)A:{const fe=St(this.g);var c=this.g.Ba();const Dn=this.g.Z();if(!(3>fe)&&(fe!=3||this.g&&(this.h.h||this.g.oa()||nB(this.g)))){this.J||fe!=4||c==7||(c==8||0>=Dn?zi(3):zi(2)),Uc(this);var f=this.g.Z();this.X=f;e:if(Op(this)){var p=nB(this.g);o="";var S=p.length,D=St(this.g)==4;if(!this.h.i){if(typeof TextDecoder>"u"){$r(this),$i(this);var V="";break e}this.h.i=new a.TextDecoder}for(c=0;c<S;c++)this.h.h=!0,o+=this.h.i.decode(p[c],{stream:!(D&&c==S-1)});p.length=0,this.h.g+=o,this.C=0,V=this.h.g}else V=this.g.oa();if(this.o=f==200,C_(this.i,this.u,this.A,this.l,this.R,fe,f),this.o){if(this.T&&!this.K){e:{if(this.g){var wA,ee=this.g;if((wA=ee.g?ee.g.getResponseHeader("X-HTTP-Initial-Response"):null)&&!m(wA)){var fA=wA;break e}}fA=null}if(f=fA)Rn(this.i,this.l,f,"Initial handshake response via X-HTTP-Initial-Response"),this.K=!0,Fc(this,f);else{this.o=!1,this.s=3,_e(12),$r(this),$i(this);break A}}if(this.P){f=!0;let nt;for(;!this.J&&this.C<V.length;)if(nt=__(this,V),nt==_c){fe==4&&(this.s=4,_e(14),f=!1),Rn(this.i,this.l,null,"[Incomplete Response]");break}else if(nt==Pp){this.s=4,_e(15),Rn(this.i,this.l,V,"[Invalid Chunk]"),f=!1;break}else Rn(this.i,this.l,nt,null),Fc(this,nt);if(Op(this)&&this.C!=0&&(this.h.g=this.h.g.slice(this.C),this.C=0),fe!=4||V.length!=0||this.h.h||(this.s=1,_e(16),f=!1),this.o=this.o&&f,!f)Rn(this.i,this.l,V,"[Invalid Chunked Response]"),$r(this),$i(this);else if(0<V.length&&!this.W){this.W=!0;var he=this.j;he.g==this&&he.ba&&!he.M&&(he.j.info("Great, no buffering proxy detected. Bytes received: "+V.length),Dc(he),he.M=!0,_e(11))}}else Rn(this.i,this.l,V,null),Fc(this,V);fe==4&&$r(this),this.o&&!this.J&&(fe==4?cB(this.j,this):(this.o=!1,Zo(this)))}else M_(this.g),f==400&&0<V.indexOf("Unknown SID")?(this.s=3,_e(12)):(this.s=0,_e(13)),$r(this),$i(this)}}}catch{}finally{}};function Op(o){return o.g?o.u=="GET"&&o.L!=2&&o.j.Ca:!1}function __(o,c){var f=o.C,p=c.indexOf(` 1505`,f);return p==-1?_c:(f=Number(c.substring(f,p)),isNaN(f)?Pp:(p+=1,p+f>c.length?_c:(c=c.slice(p,p+f),o.C=p+f,c)))}tr.prototype.cancel=function(){this.J=!0,$r(this)};function Zo(o){o.S=Date.now()+o.I,Np(o,o.I)}function Np(o,c){if(o.B!=null)throw Error("WatchDog timer not null");o.B=Xi(g(o.ba,o),c)}function Uc(o){o.B&&(a.clearTimeout(o.B),o.B=null)}tr.prototype.ba=function(){this.B=null;const o=Date.now();0<=o-this.S?(E_(this.i,this.A),this.L!=2&&(zi(),_e(17)),$r(this),this.s=2,$i(this)):Np(this,this.S-o)};function $i(o){o.j.G==0||o.J||cB(o.j,o)}function $r(o){Uc(o);var c=o.M;c&&typeof c.ma=="function"&&c.ma(),o.M=null,Up(o.U),o.g&&(c=o.g,o.g=null,c.abort(),c.ma())}function Fc(o,c){try{var f=o.j;if(f.G!=0&&(f.g==o||Tc(f.h,o))){if(!o.K&&Tc(f.h,o)&&f.G==3){try{var p=f.Da.g.parse(c)}catch{p=null}if(Array.isArray(p)&&p.length==3){var S=p;if(S[0]==0){A:if(!f.u){if(f.g)if(f.g.F+3e3<o.F)aa(f),sa(f);else break A;Lc(f),_e(18)}}else f.za=S[1],0<f.za-f.T&&37500>S[2]&&f.F&&f.v==0&&!f.C&&(f.C=Xi(g(f.Za,f),6e3));if(1>=Mp(f.h)&&f.ca){try{f.ca()}catch{}f.ca=void 0}}else qr(f,11)}else if((o.K||f.g==o)&&aa(f),!m(c))for(S=f.Da.g.parse(c),c=0;c<S.length;c++){let fA=S[c];if(f.T=fA[0],fA=fA[1],f.G==2)if(fA[0]=="c"){f.K=fA[1],f.ia=fA[2];const he=fA[3];he!=null&&(f.la=he,f.j.info("VER="+f.la));const fe=fA[4];fe!=null&&(f.Aa=fe,f.j.info("SVER="+f.Aa));const Dn=fA[5];Dn!=null&&typeof Dn=="number"&&0<Dn&&(p=1.5*Dn,f.L=p,f.j.info("backChannelRequestTimeoutMs_="+p)),p=f;const nt=o.g;if(nt){const ua=nt.g?nt.g.getResponseHeader("X-Client-Wire-Protocol"):null;if(ua){var D=p.h;D.g||ua.indexOf("spdy")==-1&&ua.indexOf("quic")==-1&&ua.indexOf("h2")==-1||(D.j=D.l,D.g=new Set,D.h&&(Sc(D,D.h),D.h=null))}if(p.D){const xc=nt.g?nt.g.getResponseHeader("X-HTTP-Session-Id"):null;xc&&(p.ya=xc,QA(p.I,p.D,xc))}}f.G=3,f.l&&f.l.ua(),f.ba&&(f.R=Date.now()-o.F,f.j.info("Handshake RTT: "+f.R+"ms")),p=f;var V=o;if(p.qa=dB(p,p.J?p.ia:null,p.W),V.K){Kp(p.h,V);var wA=V,ee=p.L;ee&&(wA.I=ee),wA.B&&(Uc(wA),Zo(wA)),p.g=V}else lB(p);0<f.i.length&&oa(f)}else fA[0]!="stop"&&fA[0]!="close"||qr(f,7);else f.G==3&&(fA[0]=="stop"||fA[0]=="close"?fA[0]=="stop"?qr(f,7):Hc(f):fA[0]!="noop"&&f.l&&f.l.ta(fA),f.v=0)}}zi(4)}catch{}}var I_=class{constructor(o,c){this.g=o,this.map=c}};function bp(o){this.l=o||10,a.PerformanceNavigationTiming?(o=a.performance.getEntriesByType("navigation"),o=0<o.length&&(o[0].nextHopProtocol=="hq"||o[0].nextHopProtocol=="h2")):o=!!(a.chrome&&a.chrome.loadTimes&&a.chrome.loadTimes()&&a.chrome.loadTimes().wasFetchedViaSpdy),this.j=o?this.l:1,this.g=null,1<this.j&&(this.g=new Set),this.h=null,this.i=[]}function Vp(o){return o.h?!0:o.g?o.g.size>=o.j:!1}function Mp(o){return o.h?1:o.g?o.g.size:0}function Tc(o,c){return o.h?o.h==c:o.g?o.g.has(c):!1}function Sc(o,c){o.g?o.g.add(c):o.h=c}function Kp(o,c){o.h&&o.h==c?o.h=null:o.g&&o.g.has(c)&&o.g.delete(c)}bp.prototype.cancel=function(){if(this.i=Gp(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&this.g.size!==0){for(const o of this.g.values())o.cancel();this.g.clear()}};function Gp(o){if(o.h!=null)return o.i.concat(o.h.D);if(o.g!=null&&o.g.size!==0){let c=o.i;for(const f of o.g.values())c=c.concat(f.D);return c}return F(o.i)}function U_(o){if(o.V&&typeof o.V=="function")return o.V();if(typeof Map<"u"&&o instanceof Map||typeof Set<"u"&&o instanceof Set)return Array.from(o.values());if(typeof o=="string")return o.split("");if(l(o)){for(var c=[],f=o.length,p=0;p<f;p++)c.push(o[p]);return c}c=[],f=0;for(p in o)c[f++]=o[p];return c}function F_(o){if(o.na&&typeof o.na=="function")return o.na();if(!o.V||typeof o.V!="function"){if(typeof Map<"u"&&o instanceof Map)return Array.from(o.keys());if(!(typeof Set<"u"&&o instanceof Set)){if(l(o)||typeof o=="string"){var c=[];o=o.length;for(var f=0;f<o;f++)c.push(f);return c}c=[],f=0;for(const p in o)c[f++]=p;return c}}}function Wp(o,c){if(o.forEach&&typeof o.forEach=="function")o.forEach(c,void 0);else if(l(o)||typeof o=="string")Array.prototype.forEach.call(o,c,void 0);else for(var f=F_(o),p=U_(o),S=p.length,D=0;D<S;D++)c.call(void 0,p[D],f&&f[D],o)}var jp=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function T_(o,c){if(o){o=o.split("&");for(var f=0;f<o.length;f++){var p=o[f].indexOf("="),S=null;if(0<=p){var D=o[f].substring(0,p);S=o[f].substring(p+1)}else D=o[f];c(D,S?decodeURIComponent(S.replace(/\+/g," ")):"")}}}function Yr(o){if(this.g=this.o=this.j="",this.s=null,this.m=this.l="",this.h=!1,o instanceof Yr){this.h=o.h,Aa(this,o.j),this.o=o.o,this.g=o.g,ea(this,o.s),this.l=o.l;var c=o.i,f=new Zi;f.i=c.i,c.g&&(f.g=new Map(c.g),f.h=c.h),zp(this,f),this.m=o.m}else o&&(c=String(o).match(jp))?(this.h=!1,Aa(this,c[1]||"",!0),this.o=Yi(c[2]||""),this.g=Yi(c[3]||"",!0),ea(this,c[4]),this.l=Yi(c[5]||"",!0),zp(this,c[6]||"",!0),this.m=Yi(c[7]||"")):(this.h=!1,this.i=new Zi(null,this.h))}Yr.prototype.toString=function(){var o=[],c=this.j;c&&o.push(qi(c,Xp,!0),":");var f=this.g;return(f||c=="file")&&(o.push("//"),(c=this.o)&&o.push(qi(c,Xp,!0),"@"),o.push(encodeURIComponent(String(f)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),f=this.s,f!=null&&o.push(":",String(f))),(f=this.l)&&(this.g&&f.charAt(0)!="/"&&o.push("/"),o.push(qi(f,f.charAt(0)=="/"?H_:R_,!0))),(f=this.i.toString())&&o.push("?",f),(f=this.m)&&o.push("#",qi(f,D_)),o.join("")};function Tt(o){return new Yr(o)}function Aa(o,c,f){o.j=f?Yi(c,!0):c,o.j&&(o.j=o.j.replace(/:$/,""))}function ea(o,c){if(c){if(c=Number(c),isNaN(c)||0>c)throw Error("Bad port number "+c);o.s=c}else o.s=null}function zp(o,c,f){c instanceof Zi?(o.i=c,x_(o.i,o.h)):(f||(c=qi(c,L_)),o.i=new Zi(c,o.h))}function QA(o,c,f){o.i.set(c,f)}function ta(o){return QA(o,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),o}function Yi(o,c){return o?c?decodeURI(o.replace(/%25/g,"%2525")):decodeURIComponent(o):""}function qi(o,c,f){return typeof o=="string"?(o=encodeURI(o).replace(c,S_),f&&(o=o.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),o):null}function S_(o){return o=o.charCodeAt(0),"%"+(o>>4&15).toString(16)+(o&15).toString(16)}var Xp=/[#\/\?@]/g,R_=/[#\?:]/g,H_=/[#\?]/g,L_=/[#\?@]/g,D_=/#/g;function Zi(o,c){this.h=this.g=null,this.i=o||null,this.j=!!c}function rr(o){o.g||(o.g=new Map,o.h=0,o.i&&T_(o.i,function(c,f){o.add(decodeURIComponent(c.replace(/\+/g," ")),f)}))}e=Zi.prototype,e.add=function(o,c){rr(this),this.i=null,o=Hn(this,o);var f=this.g.get(o);return f||this.g.set(o,f=[]),f.push(c),this.h+=1,this};function Jp(o,c){rr(o),c=Hn(o,c),o.g.has(c)&&(o.i=null,o.h-=o.g.get(c).length,o.g.delete(c))}function $p(o,c){return rr(o),c=Hn(o,c),o.g.has(c)}e.forEach=function(o,c){rr(this),this.g.forEach(function(f,p){f.forEach(function(S){o.call(c,S,p,this)},this)},this)},e.na=function(){rr(this);const o=Array.from(this.g.values()),c=Array.from(this.g.keys()),f=[];for(let p=0;p<c.length;p++){const S=o[p];for(let D=0;D<S.length;D++)f.push(c[p])}return f},e.V=function(o){rr(this);let c=[];if(typeof o=="string")$p(this,o)&&(c=c.concat(this.g.get(Hn(this,o))));else{o=Array.from(this.g.values());for(let f=0;f<o.length;f++)c=c.concat(o[f])}return c},e.set=function(o,c){return rr(this),this.i=null,o=Hn(this,o),$p(this,o)&&(this.h-=this.g.get(o).length),this.g.set(o,[c]),this.h+=1,this},e.get=function(o,c){return o?(o=this.V(o),0<o.length?String(o[0]):c):c};function Yp(o,c,f){Jp(o,c),0<f.length&&(o.i=null,o.g.set(Hn(o,c),F(f)),o.h+=f.length)}e.toString=function(){if(this.i)return this.i;if(!this.g)return"";const o=[],c=Array.from(this.g.keys());for(var f=0;f<c.length;f++){var p=c[f];const D=encodeURIComponent(String(p)),V=this.V(p);for(p=0;p<V.length;p++){var S=D;V[p]!==""&&(S+="="+encodeURIComponent(String(V[p]))),o.push(S)}}return this.i=o.join("&")};function Hn(o,c){return c=String(c),o.j&&(c=c.toLowerCase()),c}function x_(o,c){c&&!o.j&&(rr(o),o.i=null,o.g.forEach(function(f,p){var S=p.toLowerCase();p!=S&&(Jp(this,p),Yp(this,S,f))},o)),o.j=c}function P_(o,c){const f=new Ji;if(a.Image){const p=new Image;p.onload=E(nr,f,"TestLoadImage: loaded",!0,c,p),p.onerror=E(nr,f,"TestLoadImage: error",!1,c,p),p.onabort=E(nr,f,"TestLoadImage: abort",!1,c,p),p.ontimeout=E(nr,f,"TestLoadImage: timeout",!1,c,p),a.setTimeout(function(){p.ontimeout&&p.ontimeout()},1e4),p.src=o}else c(!1)}function k_(o,c){const f=new Ji,p=new AbortController,S=setTimeout(()=>{p.abort(),nr(f,"TestPingServer: timeout",!1,c)},1e4);fetch(o,{signal:p.signal}).then(D=>{clearTimeout(S),D.ok?nr(f,"TestPingServer: ok",!0,c):nr(f,"TestPingServer: server error",!1,c)}).catch(()=>{clearTimeout(S),nr(f,"TestPingServer: error",!1,c)})}function nr(o,c,f,p,S){try{S&&(S.onload=null,S.onerror=null,S.onabort=null,S.ontimeout=null),p(f)}catch{}}function O_(){this.g=new y_}function N_(o,c,f){const p=f||"";try{Wp(o,function(S,D){let V=S;u(S)&&(V=yc(S)),c.push(p+D+"="+encodeURIComponent(V))})}catch(S){throw c.push(p+"type="+encodeURIComponent("_badmap")),S}}function ra(o){this.l=o.Ub||null,this.j=o.eb||!1}_(ra,vc),ra.prototype.g=function(){return new na(this.l,this.j)},ra.prototype.i=function(o){return function(){return o}}({});function na(o,c){ce.call(this),this.D=o,this.o=c,this.m=void 0,this.status=this.readyState=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.u=new Headers,this.h=null,this.B="GET",this.A="",this.g=!1,this.v=this.j=this.l=null}_(na,ce),e=na.prototype,e.open=function(o,c){if(this.readyState!=0)throw this.abort(),Error("Error reopening a connection");this.B=o,this.A=c,this.readyState=1,es(this)},e.send=function(o){if(this.readyState!=1)throw this.abort(),Error("need to call open() first. ");this.g=!0;const c={headers:this.u,method:this.B,credentials:this.m,cache:void 0};o&&(c.body=o),(this.D||a).fetch(new Request(this.A,c)).then(this.Sa.bind(this),this.ga.bind(this))},e.abort=function(){this.response=this.responseText="",this.u=new Headers,this.status=0,this.j&&this.j.cancel("Request was aborted.").catch(()=>{}),1<=this.readyState&&this.g&&this.readyState!=4&&(this.g=!1,As(this)),this.readyState=0},e.Sa=function(o){if(this.g&&(this.l=o,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=o.headers,this.readyState=2,es(this)),this.g&&(this.readyState=3,es(this),this.g)))if(this.responseType==="arraybuffer")o.arrayBuffer().then(this.Qa.bind(this),this.ga.bind(this));else if(typeof a.ReadableStream<"u"&&"body"in o){if(this.j=o.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.v=new TextDecoder;qp(this)}else o.text().then(this.Ra.bind(this),this.ga.bind(this))};function qp(o){o.j.read().then(o.Pa.bind(o)).catch(o.ga.bind(o))}e.Pa=function(o){if(this.g){if(this.o&&o.value)this.response.push(o.value);else if(!this.o){var c=o.value?o.value:new Uint8Array(0);(c=this.v.decode(c,{stream:!o.done}))&&(this.response=this.responseText+=c)}o.done?As(this):es(this),this.readyState==3&&qp(this)}},e.Ra=function(o){this.g&&(this.response=this.responseText=o,As(this))},e.Qa=function(o){this.g&&(this.response=o,As(this))},e.ga=function(){this.g&&As(this)};function As(o){o.readyState=4,o.l=null,o.j=null,o.v=null,es(o)}e.setRequestHeader=function(o,c){this.u.append(o,c)},e.getResponseHeader=function(o){return this.h&&this.h.get(o.toLowerCase())||""},e.getAllResponseHeaders=function(){if(!this.h)return"";const o=[],c=this.h.entries();for(var f=c.next();!f.done;)f=f.value,o.push(f[0]+": "+f[1]),f=c.next();return o.join(`\r 1506`)};function es(o){o.onreadystatechange&&o.onreadystatechange.call(o)}Object.defineProperty(na.prototype,"withCredentials",{get:function(){return this.m==="include"},set:function(o){this.m=o?"include":"same-origin"}});function Zp(o){let c="";return H(o,function(f,p){c+=p,c+=":",c+=f,c+=`\r 1507`}),c}function Rc(o,c,f){A:{for(p in f){var p=!1;break A}p=!0}p||(f=Zp(f),typeof o=="string"?f!=null&&encodeURIComponent(String(f)):QA(o,c,f))}function xA(o){ce.call(this),this.headers=new Map,this.o=o||null,this.h=!1,this.v=this.g=null,this.D="",this.m=0,this.l="",this.j=this.B=this.u=this.A=!1,this.I=null,this.H="",this.J=!1}_(xA,ce);var b_=/^https?$/i,V_=["POST","PUT"];e=xA.prototype,e.Ha=function(o){this.J=o},e.ea=function(o,c,f,p){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.D+"; newUri="+o);c=c?c.toUpperCase():"GET",this.D=o,this.l="",this.m=0,this.A=!1,this.h=!0,this.g=this.o?this.o.g():Qc.g(),this.v=this.o?Fp(this.o):Fp(Qc),this.g.onreadystatechange=g(this.Ea,this);try{this.B=!0,this.g.open(c,String(o),!0),this.B=!1}catch(D){AB(this,D);return}if(o=f||"",f=new Map(this.headers),p)if(Object.getPrototypeOf(p)===Object.prototype)for(var S in p)f.set(S,p[S]);else if(typeof p.keys=="function"&&typeof p.get=="function")for(const D of p.keys())f.set(D,p.get(D));else throw Error("Unknown input type for opt_headers: "+String(p));p=Array.from(f.keys()).find(D=>D.toLowerCase()=="content-type"),S=a.FormData&&o instanceof a.FormData,!(0<=Array.prototype.indexOf.call(V_,c,void 0))||p||S||f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const[D,V]of f)this.g.setRequestHeader(D,V);this.H&&(this.g.responseType=this.H),"withCredentials"in this.g&&this.g.withCredentials!==this.J&&(this.g.withCredentials=this.J);try{rB(this),this.u=!0,this.g.send(o),this.u=!1}catch(D){AB(this,D)}};function AB(o,c){o.h=!1,o.g&&(o.j=!0,o.g.abort(),o.j=!1),o.l=c,o.m=5,eB(o),ia(o)}function eB(o){o.A||(o.A=!0,Qe(o,"complete"),Qe(o,"error"))}e.abort=function(o){this.g&&this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1,this.m=o||7,Qe(this,"complete"),Qe(this,"abort"),ia(this))},e.N=function(){this.g&&(this.h&&(this.h=!1,this.j=!0,this.g.abort(),this.j=!1),ia(this,!0)),xA.aa.N.call(this)},e.Ea=function(){this.s||(this.B||this.u||this.j?tB(this):this.bb())},e.bb=function(){tB(this)};function tB(o){if(o.h&&typeof s<"u"&&(!o.v[1]||St(o)!=4||o.Z()!=2)){if(o.u&&St(o)==4)Qp(o.Ea,0,o);else if(Qe(o,"readystatechange"),St(o)==4){o.h=!1;try{const V=o.Z();A:switch(V){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break A;default:c=!1}var f;if(!(f=c)){var p;if(p=V===0){var S=String(o.D).match(jp)[1]||null;!S&&a.self&&a.self.location&&(S=a.self.location.protocol.slice(0,-1)),p=!b_.test(S?S.toLowerCase():"")}f=p}if(f)Qe(o,"complete"),Qe(o,"success");else{o.m=6;try{var D=2<St(o)?o.g.statusText:""}catch{D=""}o.l=D+" ["+o.Z()+"]",eB(o)}}finally{ia(o)}}}}function ia(o,c){if(o.g){rB(o);const f=o.g,p=o.v[0]?()=>{}:null;o.g=null,o.v=null,c||Qe(o,"ready");try{f.onreadystatechange=p}catch{}}}function rB(o){o.I&&(a.clearTimeout(o.I),o.I=null)}e.isActive=function(){return!!this.g};function St(o){return o.g?o.g.readyState:0}e.Z=function(){try{return 2<St(this)?this.g.status:-1}catch{return-1}},e.oa=function(){try{return this.g?this.g.responseText:""}catch{return""}},e.Oa=function(o){if(this.g){var c=this.g.responseText;return o&&c.indexOf(o)==0&&(c=c.substring(o.length)),w_(c)}};function nB(o){try{if(!o.g)return null;if("response"in o.g)return o.g.response;switch(o.H){case"":case"text":return o.g.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in o.g)return o.g.mozResponseArrayBuffer}return null}catch{return null}}function M_(o){const c={};o=(o.g&&2<=St(o)&&o.g.getAllResponseHeaders()||"").split(`\r 1508`);for(let p=0;p<o.length;p++){if(m(o[p]))continue;var f=U(o[p]);const S=f[0];if(f=f[1],typeof f!="string")continue;f=f.trim();const D=c[S]||[];c[S]=D,D.push(f)}y(c,function(p){return p.join(", ")})}e.Ba=function(){return this.m},e.Ka=function(){return typeof this.l=="string"?this.l:String(this.l)};function ts(o,c,f){return f&&f.internalChannelParams&&f.internalChannelParams[o]||c}function iB(o){this.Aa=0,this.i=[],this.j=new Ji,this.ia=this.qa=this.I=this.W=this.g=this.ya=this.D=this.H=this.m=this.S=this.o=null,this.Ya=this.U=0,this.Va=ts("failFast",!1,o),this.F=this.C=this.u=this.s=this.l=null,this.X=!0,this.za=this.T=-1,this.Y=this.v=this.B=0,this.Ta=ts("baseRetryDelayMs",5e3,o),this.cb=ts("retryDelaySeedMs",1e4,o),this.Wa=ts("forwardChannelMaxRetries",2,o),this.wa=ts("forwardChannelRequestTimeoutMs",2e4,o),this.pa=o&&o.xmlHttpFactory||void 0,this.Xa=o&&o.Tb||void 0,this.Ca=o&&o.useFetchStreams||!1,this.L=void 0,this.J=o&&o.supportsCrossDomainXhr||!1,this.K="",this.h=new bp(o&&o.concurrentRequestLimit),this.Da=new O_,this.P=o&&o.fastHandshake||!1,this.O=o&&o.encodeInitMessageHeaders||!1,this.P&&this.O&&(this.O=!1),this.Ua=o&&o.Rb||!1,o&&o.xa&&this.j.xa(),o&&o.forceLongPolling&&(this.X=!1),this.ba=!this.P&&this.X&&o&&o.detectBufferingProxy||!1,this.ja=void 0,o&&o.longPollingTimeout&&0<o.longPollingTimeout&&(this.ja=o.longPollingTimeout),this.ca=void 0,this.R=0,this.M=!1,this.ka=this.A=null}e=iB.prototype,e.la=8,e.G=1,e.connect=function(o,c,f,p){_e(0),this.W=o,this.H=c||{},f&&p!==void 0&&(this.H.OSID=f,this.H.OAID=p),this.F=this.X,this.I=dB(this,null,this.W),oa(this)};function Hc(o){if(sB(o),o.G==3){var c=o.U++,f=Tt(o.I);if(QA(f,"SID",o.K),QA(f,"RID",c),QA(f,"TYPE","terminate"),rs(o,f),c=new tr(o,o.j,c),c.L=2,c.v=ta(Tt(f)),f=!1,a.navigator&&a.navigator.sendBeacon)try{f=a.navigator.sendBeacon(c.v.toString(),"")}catch{}!f&&a.Image&&(new Image().src=c.v,f=!0),f||(c.g=gB(c.j,null),c.g.ea(c.v)),c.F=Date.now(),Zo(c)}fB(o)}function sa(o){o.g&&(Dc(o),o.g.cancel(),o.g=null)}function sB(o){sa(o),o.u&&(a.clearTimeout(o.u),o.u=null),aa(o),o.h.cancel(),o.s&&(typeof o.s=="number"&&a.clearTimeout(o.s),o.s=null)}function oa(o){if(!Vp(o.h)&&!o.s){o.s=!0;var c=o.Ga;yA||$(),b||(yA(),b=!0),X.add(c,o),o.B=0}}function K_(o,c){return Mp(o.h)>=o.h.j-(o.s?1:0)?!1:o.s?(o.i=c.D.concat(o.i),!0):o.G==1||o.G==2||o.B>=(o.Va?0:o.Wa)?!1:(o.s=Xi(g(o.Ga,o,c),hB(o,o.B)),o.B++,!0)}e.Ga=function(o){if(this.s)if(this.s=null,this.G==1){if(!o){this.U=Math.floor(1e5*Math.random()),o=this.U++;const S=new tr(this,this.j,o);let D=this.o;if(this.S&&(D?(D=B(D),Q(D,this.S)):D=this.S),this.m!==null||this.O||(S.H=D,D=null),this.P)A:{for(var c=0,f=0;f<this.i.length;f++){e:{var p=this.i[f];if("__data__"in p.map&&(p=p.map.__data__,typeof p=="string")){p=p.length;break e}p=void 0}if(p===void 0)break;if(c+=p,4096<c){c=f;break A}if(c===4096||f===this.i.length-1){c=f+1;break A}}c=1e3}else c=1e3;c=aB(this,S,c),f=Tt(this.I),QA(f,"RID",o),QA(f,"CVER",22),this.D&&QA(f,"X-HTTP-Session-Id",this.D),rs(this,f),D&&(this.O?c="headers="+encodeURIComponent(String(Zp(D)))+"&"+c:this.m&&Rc(f,this.m,D)),Sc(this.h,S),this.Ua&&QA(f,"TYPE","init"),this.P?(QA(f,"$req",c),QA(f,"SID","null"),S.T=!0,Ic(S,f,null)):Ic(S,f,c),this.G=2}}else this.G==3&&(o?oB(this,o):this.i.length==0||Vp(this.h)||oB(this))};function oB(o,c){var f;c?f=c.l:f=o.U++;const p=Tt(o.I);QA(p,"SID",o.K),QA(p,"RID",f),QA(p,"AID",o.T),rs(o,p),o.m&&o.o&&Rc(p,o.m,o.o),f=new tr(o,o.j,f,o.B+1),o.m===null&&(f.H=o.o),c&&(o.i=c.D.concat(o.i)),c=aB(o,f,1e3),f.I=Math.round(.5*o.wa)+Math.round(.5*o.wa*Math.random()),Sc(o.h,f),Ic(f,p,c)}function rs(o,c){o.H&&H(o.H,function(f,p){QA(c,p,f)}),o.l&&Wp({},function(f,p){QA(c,p,f)})}function aB(o,c,f){f=Math.min(o.i.length,f);var p=o.l?g(o.l.Na,o.l,o):null;A:{var S=o.i;let D=-1;for(;;){const V=["count="+f];D==-1?0<f?(D=S[0].g,V.push("ofs="+D)):D=0:V.push("ofs="+D);let wA=!0;for(let ee=0;ee<f;ee++){let fA=S[ee].g;const he=S[ee].map;if(fA-=D,0>fA)D=Math.max(0,S[ee].g-100),wA=!1;else try{N_(he,V,"req"+fA+"_")}catch{p&&p(he)}}if(wA){p=V.join("&");break A}}}return o=o.i.splice(0,f),c.D=o,p}function lB(o){if(!o.g&&!o.u){o.Y=1;var c=o.Fa;yA||$(),b||(yA(),b=!0),X.add(c,o),o.v=0}}function Lc(o){return o.g||o.u||3<=o.v?!1:(o.Y++,o.u=Xi(g(o.Fa,o),hB(o,o.v)),o.v++,!0)}e.Fa=function(){if(this.u=null,uB(this),this.ba&&!(this.M||this.g==null||0>=this.R)){var o=2*this.R;this.j.info("BP detection timer enabled: "+o),this.A=Xi(g(this.ab,this),o)}},e.ab=function(){this.A&&(this.A=null,this.j.info("BP detection timeout reached."),this.j.info("Buffering proxy detected and switch to long-polling!"),this.F=!1,this.M=!0,_e(10),sa(this),uB(this))};function Dc(o){o.A!=null&&(a.clearTimeout(o.A),o.A=null)}function uB(o){o.g=new tr(o,o.j,"rpc",o.Y),o.m===null&&(o.g.H=o.o),o.g.O=0;var c=Tt(o.qa);QA(c,"RID","rpc"),QA(c,"SID",o.K),QA(c,"AID",o.T),QA(c,"CI",o.F?"0":"1"),!o.F&&o.ja&&QA(c,"TO",o.ja),QA(c,"TYPE","xmlhttp"),rs(o,c),o.m&&o.o&&Rc(c,o.m,o.o),o.L&&(o.g.I=o.L);var f=o.g;o=o.ia,f.L=1,f.v=ta(Tt(c)),f.m=null,f.P=!0,kp(f,o)}e.Za=function(){this.C!=null&&(this.C=null,sa(this),Lc(this),_e(19))};function aa(o){o.C!=null&&(a.clearTimeout(o.C),o.C=null)}function cB(o,c){var f=null;if(o.g==c){aa(o),Dc(o),o.g=null;var p=2}else if(Tc(o.h,c))f=c.D,Kp(o.h,c),p=1;else return;if(o.G!=0){if(c.o)if(p==1){f=c.m?c.m.length:0,c=Date.now()-c.F;var S=o.B;p=$o(),Qe(p,new Lp(p,f)),oa(o)}else lB(o);else if(S=c.s,S==3||S==0&&0<c.X||!(p==1&&K_(o,c)||p==2&&Lc(o)))switch(f&&0<f.length&&(c=o.h,c.i=c.i.concat(f)),S){case 1:qr(o,5);break;case 4:qr(o,10);break;case 3:qr(o,6);break;default:qr(o,2)}}}function hB(o,c){let f=o.Ta+Math.floor(Math.random()*o.cb);return o.isActive()||(f*=2),f*c}function qr(o,c){if(o.j.info("Error code "+c),c==2){var f=g(o.fb,o),p=o.Xa;const S=!p;p=new Yr(p||"//www.google.com/images/cleardot.gif"),a.location&&a.location.protocol=="http"||Aa(p,"https"),ta(p),S?P_(p.toString(),f):k_(p.toString(),f)}else _e(2);o.G=0,o.l&&o.l.sa(c),fB(o),sB(o)}e.fb=function(o){o?(this.j.info("Successfully pinged google.com"),_e(2)):(this.j.info("Failed to ping google.com"),_e(1))};function fB(o){if(o.G=0,o.ka=[],o.l){const c=Gp(o.h);(c.length!=0||o.i.length!=0)&&(L(o.ka,c),L(o.ka,o.i),o.h.i.length=0,F(o.i),o.i.length=0),o.l.ra()}}function dB(o,c,f){var p=f instanceof Yr?Tt(f):new Yr(f);if(p.g!="")c&&(p.g=c+"."+p.g),ea(p,p.s);else{var S=a.location;p=S.protocol,c=c?c+"."+S.hostname:S.hostname,S=+S.port;var D=new Yr(null);p&&Aa(D,p),c&&(D.g=c),S&&ea(D,S),f&&(D.l=f),p=D}return f=o.D,c=o.ya,f&&c&&QA(p,f,c),QA(p,"VER",o.la),rs(o,p),p}function gB(o,c,f){if(c&&!o.J)throw Error("Can't create secondary domain capable XhrIo object.");return c=o.Ca&&!o.pa?new xA(new ra({eb:f})):new xA(o.pa),c.Ha(o.J),c}e.isActive=function(){return!!this.l&&this.l.isActive(this)};function pB(){}e=pB.prototype,e.ua=function(){},e.ta=function(){},e.sa=function(){},e.ra=function(){},e.isActive=function(){return!0},e.Na=function(){};function la(){}la.prototype.g=function(o,c){return new ke(o,c)};function ke(o,c){ce.call(this),this.g=new iB(c),this.l=o,this.h=c&&c.messageUrlParams||null,o=c&&c.messageHeaders||null,c&&c.clientProtocolHeaderRequired&&(o?o["X-Client-Protocol"]="webchannel":o={"X-Client-Protocol":"webchannel"}),this.g.o=o,o=c&&c.initMessageHeaders||null,c&&c.messageContentType&&(o?o["X-WebChannel-Content-Type"]=c.messageContentType:o={"X-WebChannel-Content-Type":c.messageContentType}),c&&c.va&&(o?o["X-WebChannel-Client-Profile"]=c.va:o={"X-WebChannel-Client-Profile":c.va}),this.g.S=o,(o=c&&c.Sb)&&!m(o)&&(this.g.m=o),this.v=c&&c.supportsCrossDomainXhr||!1,this.u=c&&c.sendRawJson||!1,(c=c&&c.httpSessionIdParam)&&!m(c)&&(this.g.D=c,o=this.h,o!==null&&c in o&&(o=this.h,c in o&&delete o[c])),this.j=new Ln(this)}_(ke,ce),ke.prototype.m=function(){this.g.l=this.j,this.v&&(this.g.J=!0),this.g.connect(this.l,this.h||void 0)},ke.prototype.close=function(){Hc(this.g)},ke.prototype.o=function(o){var c=this.g;if(typeof o=="string"){var f={};f.__data__=o,o=f}else this.u&&(f={},f.__data__=yc(o),o=f);c.i.push(new I_(c.Ya++,o)),c.G==3&&oa(c)},ke.prototype.N=function(){this.g.l=null,delete this.j,Hc(this.g),delete this.g,ke.aa.N.call(this)};function BB(o){Cc.call(this),o.__headers__&&(this.headers=o.__headers__,this.statusCode=o.__status__,delete o.__headers__,delete o.__status__);var c=o.__sm__;if(c){A:{for(const f in c){o=f;break A}o=void 0}(this.i=o)&&(o=this.i,c=c!==null&&o in c?c[o]:void 0),this.data=c}else this.data=o}_(BB,Cc);function mB(){Ec.call(this),this.status=1}_(mB,Ec);function Ln(o){this.g=o}_(Ln,pB),Ln.prototype.ua=function(){Qe(this.g,"a")},Ln.prototype.ta=function(o){Qe(this.g,new BB(o))},Ln.prototype.sa=function(o){Qe(this.g,new mB)},Ln.prototype.ra=function(){Qe(this.g,"b")},la.prototype.createWebChannel=la.prototype.g,ke.prototype.send=ke.prototype.o,ke.prototype.open=ke.prototype.m,ke.prototype.close=ke.prototype.close,AQ=function(){return new la},ZE=function(){return $o()},qE=Jr,cd={mb:0,pb:1,qb:2,Jb:3,Ob:4,Lb:5,Mb:6,Kb:7,Ib:8,Nb:9,PROXY:10,NOPROXY:11,Gb:12,Cb:13,Db:14,Bb:15,Eb:16,Fb:17,ib:18,hb:19,jb:20},Yo.NO_ERROR=0,Yo.TIMEOUT=8,Yo.HTTP_ERROR=6,El=Yo,Dp.COMPLETE="complete",YE=Dp,Tp.EventType=ji,ji.OPEN="a",ji.CLOSE="b",ji.ERROR="c",ji.MESSAGE="d",ce.prototype.listen=ce.prototype.K,Ts=Tp,xA.prototype.listenOnce=xA.prototype.L,xA.prototype.getLastError=xA.prototype.Ka,xA.prototype.getLastErrorCode=xA.prototype.Ba,xA.prototype.getStatus=xA.prototype.Z,xA.prototype.getResponseJson=xA.prototype.Oa,xA.prototype.getResponseText=xA.prototype.oa,xA.prototype.send=xA.prototype.ea,xA.prototype.setWithCredentials=xA.prototype.Ha,$E=xA}).apply(typeof qa<"u"?qa:typeof self<"u"?self:typeof window<"u"?window:{});const A0="@firebase/firestore";/** 1509 * @license 1510 * Copyright 2017 Google LLC 1511 * 1512 * Licensed under the Apache License, Version 2.0 (the "License");
1513 * you may not use this file except in compliance with the License. 1514 * You may obtain a copy of the License at 1515 * 1516 * http://www.apache.org/licenses/LICENSE-2.0 1517 * 1518 * Unless required by applicable law or agreed to in writing, software 1519 * distributed under the License is distributed on an "AS IS" BASIS, 1520 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1521 * See the License for the specific language governing permissions and 1522 * limitations under the License. 1523 */class me{constructor(A){this.uid=A}isAuthenticated(){return this.uid!=null}toKey(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"}isEqual(A){return A.uid===this.uid}}me.UNAUTHENTICATED=new me(null),me.GOOGLE_CREDENTIALS=new me("google-credentials-uid"),me.FIRST_PARTY=new me("first-party-uid"),me.MOCK_USER=new me("mock-user");/** 1524 * @license 1525 * Copyright 2017 Google LLC 1526 * 1527 * Licensed under the Apache License, Version 2.0 (the "License"); 1528 * you may not use this file except in compliance with the License. 1529 * You may obtain a copy of the License at 1530 * 1531 * http://www.apache.org/licenses/LICENSE-2.0 1532 * 1533 * Unless required by applicable law or agreed to in writing, software 1534 * distributed under the License is distributed on an "AS IS" BASIS, 1535 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1536 * See the License for the specific language governing permissions and 1537 * limitations under the License. 1538 */let bi="10.14.0";/** 1539 * @license 1540 * Copyright 2017 Google LLC 1541 * 1542 * Licensed under the Apache License, Version 2.0 (the "License"); 1543 * you may not use this file except in compliance with the License. 1544 * You may obtain a copy of the License at 1545 * 1546 * http://www.apache.org/licenses/LICENSE-2.0 1547 * 1548 * Unless required by applicable law or agreed to in writing, software 1549 * distributed under the License is distributed on an "AS IS" BASIS, 1550 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1551 * See the License for the specific language governing permissions and 1552 * limitations under the License. 1553 */const En=new Ug("@firebase/firestore");function ps(){return En.logLevel}function z(e,...A){if(En.logLevel<=oA.DEBUG){const t=A.map(Og);En.debug(`Firestore (${bi}): ${e}`,...t)}}function qt(e,...A){if(En.logLevel<=oA.ERROR){const t=A.map(Og);En.error(`Firestore (${bi}): ${e}`,...t)}}function Ui(e,...A){if(En.logLevel<=oA.WARN){const t=A.map(Og);En.warn(`Firestore (${bi}): ${e}`,...t)}}function Og(e){if(typeof e=="string")return e;try{/** 1554* @license 1555* Copyright 2020 Google LLC 1556* 1557* Licensed under the Apache License, Version 2.0 (the "License"); 1558* you may not use this file except in compliance with the License. 1559* You may obtain a copy of the License at 1560* 1561* http://www.apache.org/licenses/LICENSE-2.0 1562* 1563* Unless required by applicable law or agreed to in writing, software 1564* distributed under the License is distributed on an "AS IS" BASIS, 1565* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1566* See the License for the specific language governing permissions and 1567* limitations under the License. 1568*/return function(t){return JSON.stringify(t)}(e)}catch{return e}}/** 1569 * @license 1570 * Copyright 2017 Google LLC 1571 * 1572 * Licensed under the Apache License, Version 2.0 (the "License"); 1573 * you may not use this file except in compliance with the License. 1574 * You may obtain a copy of the License at 1575 * 1576 * http://www.apache.org/licenses/LICENSE-2.0 1577 * 1578 * Unless required by applicable law or agreed to in writing, software 1579 * distributed under the License is distributed on an "AS IS" BASIS, 1580 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1581 * See the License for the specific language governing permissions and 1582 * limitations under the License. 1583 */function q(e="Unexpected state"){const A=`FIRESTORE (${bi}) INTERNAL ASSERTION FAILED: `+e;throw qt(A),new Error(A)}function BA(e,A){e||q()}function eA(e,A){return e}/** 1584 * @license 1585 * Copyright 2017 Google LLC 1586 * 1587 * Licensed under the Apache License, Version 2.0 (the "License"); 1588 * you may not use this file except in compliance with the License. 1589 * You may obtain a copy of the License at 1590 * 1591 * http://www.apache.org/licenses/LICENSE-2.0 1592 * 1593 * Unless required by applicable law or agreed to in writing, softw
1593are 1594 * distributed under the License is distributed on an "AS IS" BASIS, 1595 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1596 * See the License for the specific language governing permissions and 1597 * limitations under the License. 1598 */const P={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class W extends er{constructor(A,t){super(A,t),this.code=A,this.message=t,this.toString=()=>`${this.name}: [code=${this.code}]: ${this.message}`}}/** 1599 * @license 1600 * Copyright 2017 Google LLC 1601 * 1602 * Licensed under the Apache License, Version 2.0 (the "License"); 1603 * you may not use this file except in compliance with the License. 1604 * You may obtain a copy of the License at 1605 * 1606 * http://www.apache.org/licenses/LICENSE-2.0 1607 * 1608 * Unless required by applicable law or agreed to in writing, software 1609 * distributed under the License is distributed on an "AS IS" BASIS, 1610 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1611 * See the License for the specific language governing permissions and 1612 * limitations under the License. 1613 */class Or{constructor(){this.promise=new Promise((A,t)=>{this.resolve=A,this.reject=t})}}/** 1614 * @license 1615 * Copyright 2017 Google LLC 1616 * 1617 * Licensed under the Apache License, Version 2.0 (the "License"); 1618 * you may not use this file except in compliance with the License. 1619 * You may obtain a copy of the License at 1620 * 1621 * http://www.apache.org/licenses/LICENSE-2.0 1622 * 1623 * Unless required by applicable law or agreed to in writing, software 1624 * distributed under the License is distributed on an "AS IS" BASIS, 1625 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1626 * See the License for the specific language governing permissions and 1627 * limitations under the License. 1628 */class eQ{constructor(A,t){this.user=t,this.type="OAuth",this.headers=new Map,this.headers.set("Authorization",`Bearer ${A}`)}}class Ex{getToken(){return Promise.resolve(null)}invalidateToken(){}start(A,t){A.enqueueRetryable(()=>t(me.UNAUTHENTICATED))}shutdown(){}}class Qx{constructor(A){this.token=A,this.changeListener=null}getToken(){return Promise.resolve(this.token)}invalidateToken(){}start(A,t){this.changeListener=t,A.enqueueRetryable(()=>t(this.token.user))}shutdown(){this.changeListener=null}}class _x{constructor(A){this.t=A,this.currentUser=me.UNAUTHENTICATED,this.i=0,this.forceRefresh=!1,this.auth=null}start(A,t){BA(this.o===void 0);let r=this.i;const n=l=>this.i!==r?(r=this.i,t(l)):Promise.resolve();let i=new Or;this.o=()=>{this.i++,this.currentUser=this.u(),i.resolve(),i=new Or,A.enqueueRetryable(()=>n(this.currentUser))};const s=()=>{const l=i;A.enqueueRetryable(async()=>{await l.promise,await n(this.currentUser)})},a=l=>{z("FirebaseAuthCredentialsProvider","Auth detected"),this.auth=l,this.o&&(this.auth.addAuthTokenListener(this.o),s())};this.t.onInit(l=>a(l)),setTimeout(()=>{if(!this.auth){const l=this.t.getImmediate({optional:!0});l?a(l):(z("FirebaseAuthCredentialsProvider","Auth not yet detected"),i.resolve(),i=new Or)}},0),s()}getToken(){const A=this.i,t=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(t).then(r=>this.i!==A?(z("FirebaseAuthCredentialsProvider","getToken aborted due to token change."),this.getToken()):r?(BA(typeof r.accessToken=="string"),new eQ(r.accessToken,this.currentUser)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.auth&&this.o&&this.auth.removeAuthTokenListener(this.o),this.o=void 0}u(){const A=this.auth&&this.auth.getUid();return BA(A===null||typeof A=="string"),new me(A)}}class Ix{constructor(A,t,r){this.l=A,this.h=t,this.P=r,this.type="FirstParty",this.user=me.FIRST_PARTY,this.I=new Map}T(){return this.P?this.P():null}get headers(){this.I.set("X-Goog-AuthUser",this.l);const A=this.T();return A&&this.I.set("Authorization",A),this.h&&this.I.set("X-Goog-Iam-Authorization-Token",this.h),this.I}}class Ux{constructor(A,t,r){this.l=A,this.h=t,this.P=r}getToken(){return Promise.resolve(new Ix(this.l,this.h,this.P))}start(A,t){A.enqueueRetryable(()=>t(me.FIRST_PARTY))}shutdown(){}invalidateToken(){}}class Fx{constructor(A){this.value=A,this.type="AppCheck",this.headers=new Map,A&&A.length>0&&this.headers.set("x-firebase-appcheck",this.value)}}class Tx{constructor(A){this.A=A,this.forceRefresh=!1,this.appCheck=null,this.R=null}start(A,t){BA(this.o===void 0);const r=i=>{i.error!=null&&z("FirebaseAppCheckTokenProvider",`Error getting App Check token; using placeholder token instead. Error: ${i.error.message}`);const s=i.token!==this.R;return this.R=i.token,z("FirebaseAppCheckTokenProvider",`Received ${s?"new":"existing"} token.`),s?t(i.token):Promise.resolve()};this.o=i=>{A.enqueueRetryable(()=>r(i))};const n=i=>{z("FirebaseAppCheckTokenProvider","AppCheck detected"),this.appCheck=i,this.o&&this.appCheck.addTokenListener(this.o)};this.A.onInit(i=>n(i)),setTimeout(()=>{if(!this.appCheck){const i=this.A.getImmediate({optional:!0});i?n(i):z("FirebaseAppCheckTokenProvider","AppCheck not yet detected")}},0)}getToken(){const A=this.forceRefresh;return this.forceRefresh=!1,this.appCheck?this.appCheck.getToken(A).then(t=>t?(BA(typeof t.token=="string"),this.R=t.token,new Fx(t.token)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.appCheck&&this.o&&this.appCheck.removeTokenListener(this.o),this.o=void 0}}/** 1629 * @license 1630 * Copyright 2020 Google LLC 1631 * 1632 * Licensed under the Apache License, Version 2.0 (the "License");
1633 * you may not use this file except in compliance with the License. 1634 * You may obtain a copy of the License at 1635 * 1636 * http://www.apache.org/licenses/LICENSE-2.0 1637 * 1638 * Unless required by applicable law or agreed to in writing, software 1639 * distributed under the License is distributed on an "AS IS" BASIS, 1640 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1641 * See the License for the specific language governing permissions and 1642 * limitations under the License. 1643 */function Sx(e){const A=typeof self<"u"&&(self.crypto||self.msCrypto),t=new Uint8Array(e);if(A&&typeof A.getRandomValues=="function")A.getRandomValues(t);else for(let r=0;r<e;r++)t[r]=Math.floor(256*Math.random());return t}/** 1644 * @license 1645 * Copyright 2017 Google LLC 1646 * 1647 * Licensed under the Apache License, Version 2.0 (the "License"); 1648 * you may not use this file except in compliance with the License. 1649 * You may obtain a copy of the License at 1650 * 1651 * http://www.apache.org/licenses/LICENSE-2.0 1652 * 1653 * Unless required by applicable law or agreed to in writing, software 1654 * distributed under the License is distributed on an "AS IS" BASIS, 1655 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1656 * See the License for the specific language governing permissions and 1657 * limitations under the License. 1658 */class tQ{static newId(){const A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=Math.floor(256/A.length)*A.length;let r="";for(;r.length<20;){const n=Sx(40);for(let i=0;i<n.length;++i)r.length<20&&n[i]<t&&(r+=A.charAt(n[i]%A.length))}return r}}function dA(e,A){return e<A?-1:e>A?1:0}function Fi(e,A,t){return e.length===A.length&&e.every((r,n)=>t(r,A[n]))}/** 1659 * @license 1660 * Copyright 2017 Google LLC 1661 * 1662 * Licensed under the Apache License, Version 2.0 (the "License"); 1663 * you may not use this file except in compliance with the License. 1664 * You may obtain a copy of the License at 1665 * 1666 * http://www.apache.org/licenses/LICENSE-2.0 1667 * 1668 * Unless required by applicable law or agreed to in writing, software 1669 * distributed under the License is distributed on an "AS IS" BASIS, 1670 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1671 * See the License for the specific language governing permissions and 1672 * limitations under the License. 1673 */class $A{constructor(A,t){if(this.seconds=A,this.nanoseconds=t,t<0)throw new W(P.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+t);if(t>=1e9)throw new W(P.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+t);if(A<-62135596800)throw new W(P.INVALID_ARGUMENT,"Timestamp seconds out of range: "+A);if(A>=253402300800)throw new W(P.INVALID_ARGUMENT,"Timestamp seconds out of range: "+A)}static now(){return $A.fromMillis(Date.now())}static fromDate(A){return $A.fromMillis(A.getTime())}static fromMillis(A){const t=Math.floor(A/1e3),r=Math.floor(1e6*(A-1e3*t));return new $A(t,r)}toDate(){return new Date(this.toMillis())}toMillis(){return 1e3*this.seconds+this.nanoseconds/1e6}_compareTo(A){return this.seconds===A.seconds?dA(this.nanoseconds,A.nanoseconds):dA(this.seconds,A.seconds)}isEqual(A){return A.seconds===this.seconds&&A.nanoseconds===this.nanoseconds}toString(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"}toJSON(){return{seconds:this.seconds,nanoseconds:this.nanoseconds}}valueOf(){const A=this.seconds- -62135596800;return String(A).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}}/** 1674 * @license 1675 * Copyright 2017 Google LLC 1676 * 1677 * Licensed under the Apache License, Version 2.0 (the "License"); 1678 * you may not use this file except in compliance with the License. 1679 * You may obtain a copy of the License at 1680 * 1681 * http://www.apache.org/licenses/LICENSE-2.0 1682 * 1683 * Unless required by applicable law or agreed to in writing, software 1684 * distributed under the License is distributed on an "AS IS" BASIS, 1685 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1686 * See the License for the specific language governing permissions and 1687 * limitations under the License. 1688 */class AA{constructor(A){this.timestamp=A}static fromTimestamp(A){return new AA(A)}static min(){return new AA(new $A(0,0))}static max(){return new AA(new $A(253402300799,999999999))}compareTo(A){return this.timestamp._compareTo(A.timestamp)}isEqual(A){return this.timestamp.isEqual(A.timestamp)}toMicroseconds(){return 1e6*this.timestamp.seconds+this.timestamp.nanoseconds/1e3}toString(){return"SnapshotVersion("+this.timestamp.toString()+")"}toTimestamp(){return this.timestamp}}/** 1689 * @license 1690 * Copyright 2017 Google LLC 1691 * 1692 * Licensed under the Apache License, Version 2.0 (the "License");
1693 * you may not use this file except in compliance with the License. 1694 * You may obtain a copy of the License at 1695 * 1696 * http://www.apache.org/licenses/LICENSE-2.0 1697 * 1698 * Unless required by applicable law or agreed to in writing, software 1699 * distributed under the License is distributed on an "AS IS" BASIS, 1700 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1701 * See the License for the specific language governing permissions and 1702 * limitations under the License. 1703 */class yo{constructor(A,t,r){t===void 0?t=0:t>A.length&&q(),r===void 0?r=A.length-t:r>A.length-t&&q(),this.segments=A,this.offset=t,this.len=r}get length(){return this.len}isEqual(A){return yo.comparator(this,A)===0}child(A){const t=this.segments.slice(this.offset,this.limit());return A instanceof yo?A.forEach(r=>{t.push(r)}):t.push(A),this.construct(t)}limit(){return this.offset+this.length}popFirst(A){return A=A===void 0?1:A,this.construct(this.segments,this.offset+A,this.length-A)}popLast(){return this.construct(this.segments,this.offset,this.length-1)}firstSegment(){return this.segments[this.offset]}lastSegment(){return this.get(this.length-1)}get(A){return this.segments[this.offset+A]}isEmpty(){return this.length===0}isPrefixOf(A){if(A.length<this.length)return!1;for(let t=0;t<this.length;t++)if(this.get(t)!==A.get(t))return!1;return!0}isImmediateParentOf(A){if(this.length+1!==A.length)return!1;for(let t=0;t<this.length;t++)if(this.get(t)!==A.get(t))return!1;return!0}forEach(A){for(let t=this.offset,r=this.limit();t<r;t++)A(this.segments[t])}toArray(){return this.segments.slice(this.offset,this.limit())}static comparator(A,t){const r=Math.min(A.length,t.length);for(let n=0;n<r;n++){const i=A.get(n),s=t.get(n);if(i<s)return-1;if(i>s)return 1}return A.length<t.length?-1:A.length>t.length?1:0}}class IA extends yo{construct(A,t,r){return new IA(A,t,r)}canonicalString(){return this.toArray().join("/")}toString(){return this.canonicalString()}toUriEncodedString(){return this.toArray().map(encodeURIComponent).join("/")}static fromString(...A){const t=[];for(const r of A){if(r.indexOf("//")>=0)throw new W(P.INVALID_ARGUMENT,`Invalid segment (${r}). Paths must not contain // in them.`);t.push(...r.split("/").filter(n=>n.length>0))}return new IA(t)}static emptyPath(){return new IA([])}}const Rx=/^[_a-zA-Z][_a-zA-Z0-9]*$/;class ie extends yo{construct(A,t,r){return new ie(A,t,r)}static isValidIdentifier(A){return Rx.test(A)}canonicalString(){return this.toArray().map(A=>(A=A.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),ie.isValidIdentifier(A)||(A="`"+A+"`"),A)).join(".")}toString(){return this.canonicalString()}isKeyField(){return this.length===1&&this.get(0)==="__name__"}static keyField(){return new ie(["__name__"])}static fromServerFormat(A){const t=[];let r="",n=0;const i=()=>{if(r.length===0)throw new W(P.INVALID_ARGUMENT,`Invalid field path (${A}). Paths must not be empty, begin with '.', end with '.', or contain '..'`);t.push(r),r=""};let s=!1;for(;n<A.length;){const a=A[n];if(a==="\\"){if(n+1===A.length)throw new W(P.INVALID_ARGUMENT,"Path has trailing escape character: "+A);const l=A[n+1];if(l!=="\\"&&l!=="."&&l!=="`")throw new W(P.INVALID_ARGUMENT,"Path has invalid escape sequence: "+A);r+=l,n+=2}else a==="`"?(s=!s,n++):a!=="."||s?(r+=a,n++):(i(),n++)}if(i(),s)throw new W(P.INVALID_ARGUMENT,"Unterminated ` in path: "+A);return new ie(t)}static emptyPath(){return new ie([])}}/** 1704 * @license 1705 * Copyright 2017 Google LLC 1706 * 1707 * Licensed under the Apache License, Version 2.0 (the "License"); 1708 * you may not use this file except in compliance with the License. 1709 * You may obtain a copy of the License at 1710 * 1711 * http://www.apache.org/licenses/LICENSE-2.0 1712 * 1713 * Unless required by applicable law or agreed to in writing, software 1714 * distributed under the License is distributed on an "AS IS" BASIS, 1715 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1716 * See the License for the specific language governing permissions and 1717 * limitations under the License. 1718 */class J{constructor(A){this.path=A}static fromPath(A){return new J(IA.fromString(A))}
vendor: 12,403 bytes, lines 1718-1808
1718static fromName(A){return new J(IA.fromString(A).popFirst(5))}static empty(){return new J(IA.emptyPath())}get collectionGroup(){return this.path.popLast().lastSegment()}hasCollectionId(A){return this.path.length>=2&&this.path.get(this.path.length-2)===A}getCollectionGroup(){return this.path.get(this.path.length-2)}getCollectionPath(){return this.path.popLast()}isEqual(A){return A!==null&&IA.comparator(this.path,A.path)===0}toString(){return this.path.toString()}static comparator(A,t){return IA.comparator(A.path,t.path)}static isDocumentKey(A){return A.length%2==0}static fromSegments(A){return new J(new IA(A.slice()))}}function Hx(e,A){const t=e.toTimestamp().seconds,r=e.toTimestamp().nanoseconds+1,n=AA.fromTimestamp(r===1e9?new $A(t+1,0):new $A(t,r));return new Kr(n,J.empty(),A)}function Lx(e){return new Kr(e.readTime,e.key,-1)}class Kr{constructor(A,t,r){this.readTime=A,this.documentKey=t,this.largestBatchId=r}static min(){return new Kr(AA.min(),J.empty(),-1)}static max(){return new Kr(AA.max(),J.empty(),-1)}}function Dx(e,A){let t=e.readTime.compareTo(A.readTime);return t!==0?t:(t=J.comparator(e.documentKey,A.documentKey),t!==0?t:dA(e.largestBatchId,A.largestBatchId))}/** 1719 * @license 1720 * Copyright 2020 Google LLC 1721 * 1722 * Licensed under the Apache License, Version 2.0 (the "License"); 1723 * you may not use this file except in compliance with the License. 1724 * You may obtain a copy of the License at 1725 * 1726 * http://www.apache.org/licenses/LICENSE-2.0 1727 * 1728 * Unless required by applicable law or agreed to in writing, software 1729 * distributed under the License is distributed on an "AS IS" BASIS, 1730 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1731 * See the License for the specific language governing permissions and 1732 * limitations under the License. 1733 */const xx="The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.";class Px{constructor(){this.onCommittedListeners=[]}addOnCommittedListener(A){this.onCommittedListeners.push(A)}raiseOnCommittedEvent(){this.onCommittedListeners.forEach(A=>A())}}/** 1734 * @license 1735 * Copyright 2017 Google LLC 1736 * 1737 * Licensed under the Apache License, Version 2.0 (the "License"); 1738 * you may not use this file except in compliance with the License. 1739 * You may obtain a copy of the License at 1740 * 1741 * http://www.apache.org/licenses/LICENSE-2.0 1742 * 1743 * Unless required by applicable law or agreed to in writing, software 1744 * distributed under the License is distributed on an "AS IS" BASIS, 1745 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1746 * See the License for the specific language governing permissions and 1747 * limitations under the License. 1748 */async function bo(e){if(e.code!==P.FAILED_PRECONDITION||e.message!==xx)throw e;z("LocalStore","Unexpectedly lost primary lease")}/** 1749 * @license 1750 * Copyright 2017 Google LLC 1751 * 1752 * Licensed under the Apache License, Version 2.0 (the "License"); 1753 * you may not use this file except in compliance with the License. 1754 * You may obtain a copy of the License at 1755 * 1756 * http://www.apache.org/licenses/LICENSE-2.0 1757 * 1758 * Unless required by applicable law or agreed to in writing, software 1759 * distributed under the License is distributed on an "AS IS" BASIS, 1760 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1761 * See the License for the specific language governing permissions and 1762 * limitations under the License. 1763 */class k{constructor(A){this.nextCallback=null,this.catchCallback=null,this.result=void 0,this.error=void 0,this.isDone=!1,this.callbackAttached=!1,A(t=>{this.isDone=!0,this.result=t,this.nextCallback&&this.nextCallback(t)},t=>{this.isDone=!0,this.error=t,this.catchCallback&&this.catchCallback(t)})}catch(A){return this.next(void 0,A)}next(A,t){return this.callbackAttached&&q(),this.callbackAttached=!0,this.isDone?this.error?this.wrapFailure(t,this.error):this.wrapSuccess(A,this.result):new k((r,n)=>{this.nextCallback=i=>{this.wrapSuccess(A,i).next(r,n)},this.catchCallback=i=>{this.wrapFailure(t,i).next(r,n)}})}toPromise(){return new Promise((A,t)=>{this.next(A,t)})}wrapUserFunction(A){try{const t=A();return t instanceof k?t:k.resolve(t)}catch(t){return k.reject(t)}}wrapSuccess(A,t){return A?this.wrapUserFunction(()=>A(t)):k.resolve(t)}wrapFailure(A,t){return A?this.wrapUserFunction(()=>A(t)):k.reject(t)}static resolve(A){return new k((t,r)=>{t(A)})}static reject(A){return new k((t,r)=>{r(A)})}static waitFor(A){return new k((t,r)=>{let n=0,i=0,s=!1;A.forEach(a=>{++n,a.next(()=>{++i,s&&i===n&&t()},l=>r(l))}),s=!0,i===n&&t()})}static or(A){let t=k.resolve(!1);for(const r of A)t=t.next(n=>n?k.resolve(n):r());return t}static forEach(A,t){const r=[];return A.forEach((n,i)=>{r.push(t.call(this,n,i))}),this.waitFor(r)}static mapArray(A,t){return new k((r,n)=>{const i=A.length,s=new Array(i);let a=0;for(let l=0;l<i;l++){const u=l;t(A[u]).next(h=>{s[u]=h,++a,a===i&&r(s)},h=>n(h))}})}static doWhile(A,t){return new k((r,n)=>{const i=()=>{A()===!0?t().next(()=>{i()},n):r()};i()})}}function kx(e){const A=e.match(/Android ([\d.]+)/i),t=A?A[1].split(".").slice(0,2).join("."):"-1";return Number(t)}function Vo(e){return e.name==="IndexedDbTransactionError"}/** 1764 * @license 1765 * Copyright 2018 Google LLC 1766 * 1767 * Licensed under the Apache License, Version 2.0 (the "License"); 1768 * you may not use this file except in compliance with the License. 1769 * You may obtain a copy of the License at 1770 * 1771 * http://www.apache.org/licenses/LICENSE-2.0 1772 * 1773 * Unless required by applicable law or agreed to in writing, software 1774 * distributed under the License is distributed on an "AS IS" BASIS, 1775 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1776 * See the License for the specific language governing permissions and 1777 * limitations under the License. 1778 */class Ng{constructor(A,t){this.previousValue=A,t&&(t.sequenceNumberHandler=r=>this.ie(r),this.se=r=>t.writeSequenceNumber(r))}ie(A){return this.previousValue=Math.max(A,this.previousValue),this.previousValue}next(){const A=++this.previousValue;return this.se&&this.se(A),A}}Ng.oe=-1;function ec(e){return e==null}function pu(e){return e===0&&1/e==-1/0}function Ox(e){return typeof e=="number"&&Number.isInteger(e)&&!pu(e)&&e<=Number.MAX_SAFE_INTEGER&&e>=Number.MIN_SAFE_INTEGER}/** 1779 * @license 1780 * Copyright 2017 Google LLC 1781 * 1782 * Licensed under the Apache License, Version 2.0 (the "License"); 1783 * you may not use this file except in compliance with the License. 1784 * You may obtain a copy of the License at 1785 * 1786 * http://www.apache.org/licenses/LICENSE-2.0 1787 * 1788 * Unless required by applicable law or agreed to in writing, software 1789 * distributed under the License is distributed on an "AS IS" BASIS, 1790 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1791 * See the License for the specific language governing permissions and 1792 * limitations under the License. 1793 */function e0(e){let A=0;for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&A++;return A}function Vi(e,A){for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&A(t,e[t])}function rQ(e){for(const A in e)if(Object.prototype.hasOwnProperty.call(e,A))return!1;return!0}/** 1794 * @license 1795 * Copyright 2017 Google LLC 1796 * 1797 * Licensed under the Apache License, Version 2.0 (the "License"); 1798 * you may not use this file except in compliance with the License. 1799 * You may obtain a copy of the License at 1800 * 1801 * http://www.apache.org/licenses/LICENSE-2.0 1802 * 1803 * Unless required by applicable law or agreed to in writing, software 1804 * distributed under the License is distributed on an "AS IS" BASIS, 1805 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1806 * See the License for the specific language governing permissions and 1807 * limitations under the License. 1808 */class DA{constructor(A,t){this.comparator=A,this.root=t||ne.EMPTY}insert(A,t){return new DA(this.comparator,this.root.insert(A,t,this.comparator).copy(null,null,ne.BLACK,null,null))}remove(A){return new DA(this.comparator,this.root.remove(A,this.comparator).copy(null,null,ne.BLACK,null,null))}get(A){let t=this.root;for(;!t.isEmpty();){const r=this.comparator(A,t.key);if(r===0)return t.value;r<0?t=t.left:r>0&&(t=t.right)}return null}indexOf(A){let t=0,r=this.root;for(;!r.isEmpty();){const n=this.comparator(A,r.key);if(n===0)return t+r.left.size;n<0?r=r.left:(t+=r.left.size+1,r=r.right)}return-1}isEmpty(){return this.root.isEmpty()}get size(){return this.root.size}minKey(){return this.root.minKey()}maxKey(){return this.root.maxKey()}inorderTraversal(A){return this.root.inorderTraversal(A)}forEach(A){this.inorderTraversal((t,r)=>(A(t,r),!1))}toString(){const A=[];return this.inorderTraversal((t,r)=>(A.push(`${t}:${r}`),!1)),`{${A.join(", ")}}`}reverseTraversal(A){return this.root.reverseTraversal(A)}getIterator(){return new Za(this.root,null,this.comparator,!1)}getIteratorFrom(A){return new Za(this.root,A,this.comparator,!1)}getReverseIterator(){return new Za(this.root,null,this.comparator,!0)}getReverseIteratorFrom(A){return new Za(this.root,A,this.comparator,!0)}}class Za{constructor(A,t,r,n){this.isReverse=n,this.nodeStack=[];let i=1;for(;!A.isEmpty();)if(i=t?r(A.key,t):1,t&&n&&(i*=-1),i<0)A=this.isReverse?A.left:A.right;else{if(i===0){this.nodeStack.push(A);break}this.nodeStack.push(A),A=this.isReverse?A.right:A.left}}getNext(){let A=this.nodeStack.pop();const t={key:A.key,value:A.value};if(this.isReverse)for(A=A.left;!A.isEmpty();)this.nodeStack.push(A),A=A.right;else for(A=A.right;!A.isEmpty();)this.nodeStack.push(A),A=A.left;return t}hasNext(){return this.nodeStack.length>0}peek(){if(this.nodeStack.length===0)return null;const A=this.nodeStack[this.nodeStack.length-1];return{key:A.key,value:A.value}}}class ne{constructor(A,t,r,n,i){this.key=A,this.value=t,this.color=r??ne.RED,this.left=n??ne.EMPTY,this.right=i??ne.EMPTY,this.size=this.left.size+1+this.right.size}copy(A,t,r,n,i){return new ne(A??this.key,t??this.value,r??this.color,n??this.left,i??this.right)}isEmpty(){return!1}inorderTraversal(A){return this.left.inorderTraversal(A)||A(this.key,this.value)||this.right.inorderTraversal(A)}reverseTraversal(A){return this.right.reverseTraversal(A)||A(this.key,this.value)||this.left.reverseTraversal(A)}min(){return this.left.isEmpty()?this:this.left.min()}minKey(){return this.min().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(A,t,r){let n=this;const i=r(A,n.key);return n=i<0?n.copy(null,null,null,n.left.insert(A,t,r),null):i===0?n.copy(null,t,null,null,null):n.copy(null,null,null,null,n.right.insert(A,t,r)),n.fixUp()}removeMin(){if(this.left.isEmpty())return ne.EMPTY;let A=this;return A.left.isRed()||A.left.left.isRed()||(A=A.moveRedLeft()),A=A.copy(null,null,null,A.left.removeMin(),null),A.fixUp()}remove(A,t){let r,n=this;if(t(A,n.key)<0)n.left.isEmpty()||n.left.isRed()||n.left.left.isRed()||(n=n.moveRedLeft()),n=n.copy(null,null,null,n.left.remove(A,t),null);else{if(n.left.isRed()&&(n=n.rotateRight()),n.right.isEmpty()||n.right.isRed()||n.right.left.isRed()||(n=n.moveRedRight()),t(A,n.key)===0){if(n.right.isEmpty())return ne.EMPTY;r=n.right.min(),n=n.copy(r.key,r.value,null,null,n.right.removeMin())}n=n.copy(null,null,null,null,n.right.remove(A,t))}return n.fixUp()}isRed(){return this.color}fixUp(){let A=this;return A.right.isRed()&&!A.left.isRed()&&(A=A.rotateLeft()),A.left.isRed()&&A.left.left.isRed()&&(A=A.rotateRight()),A.left.isRed()&&A.right.isRed()&&(A=A.colorFlip()),A}moveRedLeft(){let A=this.colorFlip();return A.right.left.isRed()&&(A=A.copy(null,null,null,null,A.right.rotateRight()),A=A.rotateLeft(),A=A.colorFlip()),A}moveRedRight(){let A=this.colorFlip();return A.left.left.isRed()&&(A=A.rotateRight(),A=A.colorFlip()),A}rotateLeft(){const A=this.copy(null,null,ne.RED,null,this.right.left);return this.right.copy(null,null,this.color,A,null)}rotateRight(){const A=this.copy(null,null,ne.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,A)}colorFlip(){const A=this.left.copy(null,null,!this.left.color,null,null),t=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,A,t)}checkMaxDepth(){const A=this.check();return Math.pow(2,A)<=this.size+1}check(){if(this.isRed()&&this.left.isRed()||this.right.isRed())throw q();const A=this.left.check();if(A!==this.right.check())throw q();return A+(this.isRed()?0:1)}}ne.EMPTY=null,ne.RED=!0,ne.BLACK=!1;
1808ne.EMPTY=new class{constructor(){this.size=0}get key(){throw q()}get value(){throw q()}get color(){throw q()}get left(){throw q()}get right(){throw q()}copy(A,t,r,n,i){return this}insert(A,t,r){return new ne(A,t)}remove(A,t){return this}isEmpty(){return!0}inorderTraversal(A){return!1}reverseTraversal(A){return!1}minKey(){return null}maxKey(){return null}isRed(){return!1}checkMaxDepth(){return!0}check(){return 0}};/** 1809 * @license 1810 * Copyright 2017 Google LLC 1811 * 1812 * Licensed under the Apache License, Version 2.0 (the "License"); 1813 * you may not use this file except in compliance with the License. 1814 * You may obtain a copy of the License at 1815 * 1816 * http://www.apache.org/licenses/LICENSE-2.0 1817 * 1818 * Unless required by applicable law or agreed to in writing, software 1819 * distributed under the License is distributed on an "AS IS" BASIS, 1820 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1821 * See the License for the specific language governing permissions and 1822 * limitations under the License. 1823 */class ae{constructor(A){this.comparator=A,this.data=new DA(this.comparator)}has(A){return this.data.get(A)!==null}first(){return this.data.minKey()}last(){return this.data.maxKey()}get size(){return this.data.size}indexOf(A){return this.data.indexOf(A)}forEach(A){this.data.inorderTraversal((t,r)=>(A(t),!1))}forEachInRange(A,t){const r=this.data.getIteratorFrom(A[0]);for(;r.hasNext();){const n=r.getNext();if(this.comparator(n.key,A[1])>=0)return;t(n.key)}}forEachWhile(A,t){let r;for(r=t!==void 0?this.data.getIteratorFrom(t):this.data.getIterator();r.hasNext();)if(!A(r.getNext().key))return}firstAfterOrEqual(A){const t=this.data.getIteratorFrom(A);return t.hasNext()?t.getNext().key:null}getIterator(){return new t0(this.data.getIterator())}getIteratorFrom(A){return new t0(this.data.getIteratorFrom(A))}add(A){return this.copy(this.data.remove(A).insert(A,!0))}delete(A){return this.has(A)?this.copy(this.data.remove(A)):this}isEmpty(){return this.data.isEmpty()}unionWith(A){let t=this;return t.size<A.size&&(t=A,A=this),A.forEach(r=>{t=t.add(r)}),t}isEqual(A){if(!(A instanceof ae)||this.size!==A.size)return!1;const t=this.data.getIterator(),r=A.data.getIterator();for(;t.hasNext();){const n=t.getNext().key,i=r.getNext().key;if(this.comparator(n,i)!==0)return!1}return!0}toArray(){const A=[];return this.forEach(t=>{A.push(t)}),A}toString(){const A=[];return this.forEach(t=>A.push(t)),"SortedSet("+A.toString()+")"}copy(A){const t=new ae(this.comparator);return t.data=A,t}}class t0{constructor(A){this.iter=A}getNext(){return this.iter.getNext().key}hasNext(){return this.iter.hasNext()}}/** 1824 * @license 1825 * Copyright 2020 Google LLC 1826 * 1827 * Licensed under the Apache License, Version 2.0 (the "License"); 1828 * you may not use this file except in compliance with the License. 1829 * You may obtain a copy of the License at 1830 * 1831 * http://www.apache.org/licenses/LICENSE-2.0 1832 * 1833 * Unless required by applicable law or agreed to in writing, software 1834 * distributed under the License is distributed on an "AS IS" BASIS, 1835 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1836 * See the License for the specific language governing permissions and 1837 * limitations under the License. 1838 */class ut{constructor(A){this.fields=A,A.sort(ie.comparator)}static empty(){return new ut([])}unionWith(A){let t=new ae(ie.comparator);for(const r of this.fields)t=t.add(r);for(const r of A)t=t.add(r);return new ut(t.toArray())}covers(A){for(const t of this.fields)if(t.isPrefixOf(A))return!0;return!1}isEqual(A){return Fi(this.fields,A.fields,(t,r)=>t.isEqual(r))}}/** 1839 * @license 1840 * Copyright 2023 Google LLC 1841 * 1842 * Licensed under the Apache License, Version 2.0 (the "License"); 1843 * you may not use this file except in compliance with the License. 1844 * You may obtain a copy of the License at 1845 * 1846 * http://www.apache.org/licenses/LICENSE-2.0 1847 * 1848 * Unless required by applicable law or agreed to in writing, software 1849 * distributed under the License is distributed on an "AS IS" BASIS, 1850 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1851 * See the License for the specific language governing permissions and 1852 * limitations under the License.
1853 */class nQ extends Error{constructor(){super(...arguments),this.name="Base64DecodeError"}}/** 1854 * @license 1855 * Copyright 2020 Google LLC 1856 * 1857 * Licensed under the Apache License, Version 2.0 (the "License"); 1858 * you may not use this file except in compliance with the License. 1859 * You may obtain a copy of the License at 1860 * 1861 * http://www.apache.org/licenses/LICENSE-2.0 1862 * 1863 * Unless required by applicable law or agreed to in writing, software 1864 * distributed under the License is distributed on an "AS IS" BASIS, 1865 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1866 * See the License for the specific language governing permissions and 1867 * limitations under the License. 1868 */class ue{constructor(A){this.binaryString=A}static fromBase64String(A){const t=function(n){try{return atob(n)}catch(i){throw typeof DOMException<"u"&&i instanceof DOMException?new nQ("Invalid base64 string: "+i):i}}(A);return new ue(t)}static fromUint8Array(A){const t=function(n){let i="";for(let s=0;s<n.length;++s)i+=String.fromCharCode(n[s]);return i}(A);return new ue(t)}[Symbol.iterator](){let A=0;return{next:()=>A<this.binaryString.length?{value:this.binaryString.charCodeAt(A++),done:!1}:{value:void 0,done:!0}}}toBase64(){return function(t){return btoa(t)}(this.binaryString)}toUint8Array(){return function(t){const r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r}(this.binaryString)}approximateByteSize(){return 2*this.binaryString.length}compareTo(A){return dA(this.binaryString,A.binaryString)}isEqual(A){return this.binaryString===A.binaryString}}ue.EMPTY_BYTE_STRING=new ue("");const Nx=new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);function Gr(e){if(BA(!!e),typeof e=="string"){let A=0;const t=Nx.exec(e);if(BA(!!t),t[1]){let n=t[1];n=(n+"000000000").substr(0,9),A=Number(n)}const r=new Date(e);return{seconds:Math.floor(r.getTime()/1e3),nanos:A}}return{seconds:bA(e.seconds),nanos:bA(e.nanos)}}function bA(e){return typeof e=="number"?e:typeof e=="string"?Number(e):0}function Qn(e){return typeof e=="string"?ue.fromBase64String(e):ue.fromUint8Array(e)}/** 1869 * @license 1870 * Copyright 2020 Google LLC 1871 * 1872 * Licensed under the Apache License, Version 2.0 (the "License"); 1873 * you may not use this file except in compliance with the License. 1874 * You may obtain a copy of the License at 1875 * 1876 * http://www.apache.org/licenses/LICENSE-2.0 1877 * 1878 * Unless required by applicable law or agreed to in writing, software 1879 * distributed under the License is distributed on an "AS IS" BASIS, 1880 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1881 * See the License for the specific language governing permissions and 1882 * limitations under the License. 1883 */function bg(e){var A,t;return((t=(((A=e==null?void 0:e.mapValue)===null||A===void 0?void 0:A.fields)||{}).__type__)===null||t===void 0?void 0:t.stringValue)==="server_timestamp"}function Vg(e){const A=e.mapValue.fields.__previous_value__;return bg(A)?Vg(A):A}function vo(e){const A=Gr(e.mapValue.fields.__local_write_time__.timestampValue);return new $A(A.seconds,A.nanos)}/** 1884 * @license 1885 * Copyright 2017 Google LLC 1886 * 1887 * Licensed under the Apache License, Version 2.0 (the "License"); 1888 * you may not use this file except in compliance with the License. 1889 * You may obtain a copy of the License at 1890 * 1891 * http://www.apache.org/licenses/LICENSE-2.0 1892 * 1893 * Unless required by applicable law or agreed to in writing, software 1894 * distributed under the License is distributed on an "AS IS" BASIS, 1895 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1896 * See the License for the specific language governing permissions and 1897 * limitations under the License. 1898 */class bx{constructor(A,t,r,n,i,s,a,l,u){this.databaseId=A,this.appId=t,this.persistenceKey=r,this.host=n,this.ssl=i,this.forceLongPolling=s,this.autoDetectLongPolling=a,this.longPollingOptions=l,this.useFetchStreams=u}}class Co{constructor(A,t){this.projectId=A,this.database=t||"(default)"}static empty(){return new Co("","")}get isDefaultDatabase(){return this.database==="(default)"}isEqual(A){return A instanceof Co&&A.projectId===this.projectId&&A.database===this.database}}/** 1899 * @license 1900 * Copyright 2020 Google LLC 1901 * 1902 * Licensed under the Apache License, Version 2.0 (the "License");
1903 * you may not use this file except in compliance with the License. 1904 * You may obtain a copy of the License at 1905 * 1906 * http://www.apache.org/licenses/LICENSE-2.0 1907 * 1908 * Unless required by applicable law or agreed to in writing, software 1909 * distributed under the License is distributed on an "AS IS" BASIS, 1910 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1911 * See the License for the specific language governing permissions and 1912 * limitations under the License. 1913 */const Al={mapValue:{fields:{__type__:{stringValue:"__max__"}}}};function _n(e){return"nullValue"in e?0:"booleanValue"in e?1:"integerValue"in e||"doubleValue"in e?2:"timestampValue"in e?3:"stringValue"in e?5:"bytesValue"in e?6:"referenceValue"in e?7:"geoPointValue"in e?8:"arrayValue"in e?9:"mapValue"in e?bg(e)?4:Mx(e)?9007199254740991:Vx(e)?10:11:q()}function It(e,A){if(e===A)return!0;const t=_n(e);if(t!==_n(A))return!1;switch(t){case 0:case 9007199254740991:return!0;case 1:return e.booleanValue===A.booleanValue;case 4:return vo(e).isEqual(vo(A));case 3:return function(n,i){if(typeof n.timestampValue=="string"&&typeof i.timestampValue=="string"&&n.timestampValue.length===i.timestampValue.length)return n.timestampValue===i.timestampValue;const s=Gr(n.timestampValue),a=Gr(i.timestampValue);return s.seconds===a.seconds&&s.nanos===a.nanos}(e,A);case 5:return e.stringValue===A.stringValue;case 6:return function(n,i){return Qn(n.bytesValue).isEqual(Qn(i.bytesValue))}(e,A);case 7:return e.referenceValue===A.referenceValue;case 8:return function(n,i){return bA(n.geoPointValue.latitude)===bA(i.geoPointValue.latitude)&&bA(n.geoPointValue.longitude)===bA(i.geoPointValue.longitude)}(e,A);case 2:return function(n,i){if("integerValue"in n&&"integerValue"in i)return bA(n.integerValue)===bA(i.integerValue);if("doubleValue"in n&&"doubleValue"in i){const s=bA(n.doubleValue),a=bA(i.doubleValue);return s===a?pu(s)===pu(a):isNaN(s)&&isNaN(a)}return!1}(e,A);case 9:return Fi(e.arrayValue.values||[],A.arrayValue.values||[],It);case 10:case 11:return function(n,i){const s=n.mapValue.fields||{},a=i.mapValue.fields||{};if(e0(s)!==e0(a))return!1;for(const l in s)if(s.hasOwnProperty(l)&&(a[l]===void 0||!It(s[l],a[l])))return!1;return!0}(e,A);default:return q()}}function Eo(e,A){return(e.values||[]).find(t=>It(t,A))!==void 0}function Ti(e,A){if(e===A)return 0;const t=_n(e),r=_n(A);if(t!==r)return dA(t,r);switch(t){case 0:case 9007199254740991:return 0;case 1:return dA(e.booleanValue,A.booleanValue);case 2:return function(i,s){const a=bA(i.integerValue||i.doubleValue),l=bA(s.integerValue||s.doubleValue);return a<l?-1:a>l?1:a===l?0:isNaN(a)?isNaN(l)?0:-1:1}(e,A);case 3:return r0(e.timestampValue,A.timestampValue);case 4:return r0(vo(e),vo(A));case 5:return dA(e.stringValue,A.stringValue);case 6:return function(i,s){const a=Qn(i),l=Qn(s);return a.compareTo(l)}(e.bytesValue,A.bytesValue);case 7:return function(i,s){const a=i.split("/"),l=s.split("/");for(let u=0;u<a.length&&u<l.length;u++){const h=dA(a[u],l[u]);if(h!==0)return h}return dA(a.length,l.length)}(e.referenceValue,A.referenceValue);case 8:return function(i,s){const a=dA(bA(i.latitude),bA(s.latitude));return a!==0?a:dA(bA(i.longitude),bA(s.longitude))}(e.geoPointValue,A.geoPointValue);case 9:return n0(e.arrayValue,A.arrayValue);case 10:return function(i,s){var a,l,u,h;const d=i.fields||{},g=s.fields||{},E=(a=d.value)===null||a===void 0?void 0:a.arrayValue,_=(l=g.value)===null||l===void 0?void 0:l.arrayValue,F=dA(((u=E==null?void 0:E.values)===null||u===void 0?void 0:u.length)||0,((h=_==null?void 0:_.values)===null||h===void 0?void 0:h.length)||0);return F!==0?F:n0(E,_)}(e.mapValue,A.mapValue);case 11:return function(i,s){if(i===Al.mapValue&&s===Al.mapValue)return 0;if(i===Al.mapValue)return 1;if(s===Al.mapValue)return-1;const a=i.fields||{},l=Object.keys(a),u=s.fields||{},h=Object.keys(u);l.sort(),h.sort();for(let d=0;d<l.length&&d<h.length;++d){const g=dA(l[d],h[d]);if(g!==0)return g;const E=Ti(a[l[d]],u[h[d]]);if(E!==0)return E}return dA(l.length,h.length)}(e.mapValue,A.mapValue);default:throw q()}}function r0(e,A){if(typeof e=="string"&&typeof A=="string"&&e.length===A.length)return dA(e,A);const t=Gr(e),r=Gr(A),n=dA(t.seconds,r.seconds);return n!==0?n:dA(t.nanos,r.nanos)}function n0(e,A){const t=e.values||[],r=A.values||[];for(let n=0;n<t.length&&n<r.length;++n){const i=Ti(t[n],r[n]);if(i)return i}return dA(t.length,r.length)}function Si(e){return hd(e)}function hd(e){return"nullValue"in e?"null":"booleanValue"in e?""+e.booleanValue:"integerValue"in e?""+e.integerValue:"doubleValue"in e?""+e.doubleValue:"timestampValue"in e?function(t){const r=Gr(t);return`time(${r.seconds},${r.nanos})`}(e.timestampValue):"stringValue"in e?e.stringValue:"bytesValue"in e?function(t){return Qn(t).toBase64()}(e.bytesValue):"referenceValue"in e?function(t){return J.fromName(t).toString()}(e.referenceValue):"geoPointValue"in e?function(t){return`geo(${t.latitude},${t.longitude})`}(e.geoPointValue):"arrayValue"in e?function(t){let r="[",n=!0;for(const i of t.values||[])n?n=!1:r+=",",r+=hd(i);return r+"]"}(e.arrayValue):"mapValue"in e?function(t){const r=Object.keys(t.fields||{}).sort();let n="{",i=!0;for(const s of r)i?i=!1:n+=",",n+=`${s}:${hd(t.fields[s])}`;return n+"}"}(e.mapValue):q()}function i0(e,A){return{referenceValue:`projects/${e.projectId}/databases/${e.database}/documents/${A.path.canonicalString()}`}}function fd(e){return!!e&&"integerValue"in e}function Mg(e){return!!e&&"arrayValue"in e}function s0(e){return!!e&&"nullValue"in e}function o0(e){return!!e&&"doubleValue"in e&&isNaN(Number(e.doubleValue))}function Ql(e){return!!e&&"mapValue"in e}function Vx(e){var A,t;return((t=(((A=e==null?void 0:e.mapValue)===null||A===void 0?void 0:A.fields)||{}).__type__)===null||t===void 0?void 0:t.stringValue)==="__vector__"}function zs(e){if(e.geoPointValue)return{geoPointValue:Object.assign({},e.geoPointValue)};if(e.timestampValue&&typeof e.timestampValue=="object")return{timestampValue:Object.assign({},e.timestampValue)};if(e.mapValue){const A={mapValue:{fields:{}}};return Vi(e.mapValue.fields,(t,r)=>A.mapValue.fields[t]=zs(r)),A}if(e.arrayValue){const A={arrayValue:{values:[]}};for(let t=0;t<(e.arrayValue.values||[]).length;++t)A.arrayValue.values[t]=zs(e.arrayValue.values[t]);return A}return Object.assign({},e)}function Mx(e){return(((e.mapValue||{}).fields||{}).__type__||{}).stringValue==="__max__"}/** 1914 * @license 1915 * Copyright 2017 Google LLC 1916 * 1917 * Licensed under the Apache License, Version 2.0 (the "License");
1918 * you may not use this file except in compliance with the License. 1919 * You may obtain a copy of the License at 1920 * 1921 * http://www.apache.org/licenses/LICENSE-2.0 1922 * 1923 * Unless required by applicable law or agreed to in writing, software 1924 * distributed under the License is distributed on an "AS IS" BASIS, 1925 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1926 * See the License for the specific language governing permissions and 1927 * limitations under the License. 1928 */class $e{constructor(A){this.value=A}static empty(){return new $e({mapValue:{}})}field(A){if(A.isEmpty())return this.value;{let t=this.value;for(let r=0;r<A.length-1;++r)if(t=(t.mapValue.fields||{})[A.get(r)],!Ql(t))return null;return t=(t.mapValue.fields||{})[A.lastSegment()],t||null}}set(A,t){this.getFieldsMap(A.popLast())[A.lastSegment()]=zs(t)}setAll(A){let t=ie.emptyPath(),r={},n=[];A.forEach((s,a)=>{if(!t.isImmediateParentOf(a)){const l=this.getFieldsMap(t);this.applyChanges(l,r,n),r={},n=[],t=a.popLast()}s?r[a.lastSegment()]=zs(s):n.push(a.lastSegment())});const i=this.getFieldsMap(t);this.applyChanges(i,r,n)}delete(A){const t=this.field(A.popLast());Ql(t)&&t.mapValue.fields&&delete t.mapValue.fields[A.lastSegment()]}isEqual(A){return It(this.value,A.value)}getFieldsMap(A){let t=this.value;t.mapValue.fields||(t.mapValue={fields:{}});for(let r=0;r<A.length;++r){let n=t.mapValue.fields[A.get(r)];Ql(n)&&n.mapValue.fields||(n={mapValue:{fields:{}}},t.mapValue.fields[A.get(r)]=n),t=n}return t.mapValue.fields}applyChanges(A,t,r){Vi(t,(n,i)=>A[n]=i);for(const n of r)delete A[n]}clone(){return new $e(zs(this.value))}}function iQ(e){const A=[];return Vi(e.fields,(t,r)=>{const n=new ie([t]);if(Ql(r)){const i=iQ(r.mapValue).fields;if(i.length===0)A.push(n);else for(const s of i)A.push(n.child(s))}else A.push(n)}),new ut(A)}/** 1929 * @license 1930 * Copyright 2017 Google LLC 1931 * 1932 * Licensed under the Apache License, Version 2.0 (the "License"); 1933 * you may not use this file except in compliance with the License. 1934 * You may obtain a copy of the License at 1935 * 1936 * http://www.apache.org/licenses/LICENSE-2.0 1937 * 1938 * Unless required by applicable law or agreed to in writing, software 1939 * distributed under the License is distributed on an "AS IS" BASIS, 1940 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1941 * See the License for the specific language governing permissions and 1942 * limitations under the License. 1943 */class ve{constructor(A,t,r,n,i,s,a){this.key=A,this.documentType=t,this.version=r,this.readTime=n,this.createTime=i,this.data=s,this.documentState=a}static newInvalidDocument(A){return new ve(A,0,AA.min(),AA.min(),AA.min(),$e.empty(),0)}static newFoundDocument(A,t,r,n){return new ve(A,1,t,AA.min(),r,n,0)}static newNoDocument(A,t){return new ve(A,2,t,AA.min(),AA.min(),$e.empty(),0)}static newUnknownDocument(A,t){return new ve(A,3,t,AA.min(),AA.min(),$e.empty(),2)}convertToFoundDocument(A,t){return!this.createTime.isEqual(AA.min())||this.documentType!==2&&this.documentType!==0||(this.createTime=A),this.version=A,this.documentType=1,this.data=t,this.documentState=0,this}convertToNoDocument(A){return this.version=A,this.documentType=2,this.data=$e.empty(),this.documentState=0,this}convertToUnknownDocument(A){return this.version=A,this.documentType=3,this.data=$e.empty(),this.documentState=2,this}setHasCommittedMutations(){return this.documentState=2,this}setHasLocalMutations(){return this.documentState=1,this.version=AA.min(),this}setReadTime(A){return this.readTime=A,this}get hasLocalMutations(){return this.documentState===1}get hasCommittedMutations(){return this.documentState===2}get hasPendingWrites(){return this.hasLocalMutations||this.hasCommittedMutations}isValidDocument(){return this.documentType!==0}isFoundDocument(){return this.documentType===1}isNoDocument(){return this.documentType===2}isUnknownDocument(){return this.documentType===3}isEqual(A){return A instanceof ve&&this.key.isEqual(A.key)&&this.version.isEqual(A.version)&&this.documentType===A.documentType&&this.documentState===A.documentState&&this.data.isEqual(A.data)}mutableCopy(){return new ve(this.key,this.documentType,this.version,this.readTime,this.createTime,this.data.clone(),this.documentState)}toString(){return`Document(${this.key}, ${this.version}, ${JSON.stringify(this.data.value)}, {createTime: ${this.createTime}}), {documentType: ${this.documentType}}), {documentState: ${this.documentState}})`}}
1943/** 1944 * @license 1945 * Copyright 2022 Google LLC 1946 * 1947 * Licensed under the Apache License, Version 2.0 (the "License"); 1948 * you may not use this file except in compliance with the License. 1949 * You may obtain a copy of the License at 1950 * 1951 * http://www.apache.org/licenses/LICENSE-2.0 1952 * 1953 * Unless required by applicable law or agreed to in writing, software 1954 * distributed under the License is distributed on an "AS IS" BASIS, 1955 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1956 * See the License for the specific language governing permissions and 1957 * limitations under the License. 1958 */class Bu{constructor(A,t){this.position=A,this.inclusive=t}}function a0(e,A,t){let r=0;for(let n=0;n<e.position.length;n++){const i=A[n],s=e.position[n];if(i.field.isKeyField()?r=J.comparator(J.fromName(s.referenceValue),t.key):r=Ti(s,t.data.field(i.field)),i.dir==="desc"&&(r*=-1),r!==0)break}return r}function l0(e,A){if(e===null)return A===null;if(A===null||e.inclusive!==A.inclusive||e.position.length!==A.position.length)return!1;for(let t=0;t<e.position.length;t++)if(!It(e.position[t],A.position[t]))return!1;return!0}/** 1959 * @license 1960 * Copyright 2022 Google LLC 1961 * 1962 * Licensed under the Apache License, Version 2.0 (the "License"); 1963 * you may not use this file except in compliance with the License. 1964 * You may obtain a copy of the License at 1965 * 1966 * http://www.apache.org/licenses/LICENSE-2.0 1967 * 1968 * Unless required by applicable law or agreed to in writing, software 1969 * distributed under the License is distributed on an "AS IS" BASIS, 1970 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1971 * See the License for the specific language governing permissions and 1972 * limitations under the License. 1973 */class Qo{constructor(A,t="asc"){this.field=A,this.dir=t}}function Kx(e,A){return e.dir===A.dir&&e.field.isEqual(A.field)}/** 1974 * @license 1975 * Copyright 2022 Google LLC 1976 * 1977 * Licensed under the Apache License, Version 2.0 (the "License"); 1978 * you may not use this file except in compliance with the License. 1979 * You may obtain a copy of the License at 1980 * 1981 * http://www.apache.org/licenses/LICENSE-2.0 1982 * 1983 * Unless required by applicable law or agreed to in writing, software 1984 * distributed under the License is distributed on an "AS IS" BASIS, 1985 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1986 * See the License for the specific language governing permissions and 1987 * limitations under the License. 1988 */class sQ{}class WA extends sQ{constructor(A,t,r){super(),this.field=A,this.op=t,this.value=r}static create(A,t,r){return A.isKeyField()?t==="in"||t==="not-in"?this.createKeyFieldInFilter(A,t,r):new Wx(A,t,r):t==="array-contains"?new Xx(A,r):t==="in"?new Jx(A,r):t==="not-in"?new $x(A,r):t==="array-contains-any"?new Yx(A,r):new WA(A,t,r)}static createKeyFieldInFilter(A,t,r){return t==="in"?new jx(A,r):new zx(A,r)}matches(A){const t=A.data.field(this.field);return this.op==="!="?t!==null&&this.matchesComparison(Ti(t,this.value)):t!==null&&_n(this.value)===_n(t)&&this.matchesComparison(Ti(t,this.value))}matchesComparison(A){switch(this.op){case"<":return A<0;case"<=":return A<=0;case"==":return A===0;case"!=":return A!==0;case">":return A>0;case">=":return A>=0;default:return q()}}isInequality(){return["<","<=",">",">=","!=","not-in"].indexOf(this.op)>=0}getFlattenedFilters(){return[this]}getFilters(){return[this]}}class dt extends sQ{constructor(A,t){super(),this.filters=A,this.op=t,this.ae=null}static create(A,t){return new dt(A,t)}matches(A){return oQ(this)?this.filters.find(t=>!t.matches(A))===void 0:this.filters.find(t=>t.matches(A))!==void 0}getFlattenedFilters(){return this.ae!==null||(this.ae=this.filters.reduce((A,t)=>A.concat(t.getFlattenedFilters()),[])),this.ae}getFilters(){return Object.assign([],this.filters)}}function oQ(e){return e.op==="and"}function aQ(e){return Gx(e)&&oQ(e)}function Gx(e){for(const A of e.filters)if(A instanceof dt)return!1;return!0}function dd(e){if(e instanceof WA)return e.field.canonicalString()+e.op.toString()+Si(e.value);if(aQ(e))return e.filters.map(A=>dd(A)).join(",");{const A=e.filters.map(t=>dd(t)).join(",");
1988return`${e.op}(${A})`}}function lQ(e,A){return e instanceof WA?function(r,n){return n instanceof WA&&r.op===n.op&&r.field.isEqual(n.field)&&It(r.value,n.value)}(e,A):e instanceof dt?function(r,n){return n instanceof dt&&r.op===n.op&&r.filters.length===n.filters.length?r.filters.reduce((i,s,a)=>i&&lQ(s,n.filters[a]),!0):!1}(e,A):void q()}function uQ(e){return e instanceof WA?function(t){return`${t.field.canonicalString()} ${t.op} ${Si(t.value)}`}(e):e instanceof dt?function(t){return t.op.toString()+" {"+t.getFilters().map(uQ).join(" ,")+"}"}(e):"Filter"}class Wx extends WA{constructor(A,t,r){super(A,t,r),this.key=J.fromName(r.referenceValue)}matches(A){const t=J.comparator(A.key,this.key);return this.matchesComparison(t)}}class jx extends WA{constructor(A,t){super(A,"in",t),this.keys=cQ("in",t)}matches(A){return this.keys.some(t=>t.isEqual(A.key))}}class zx extends WA{constructor(A,t){super(A,"not-in",t),this.keys=cQ("not-in",t)}matches(A){return!this.keys.some(t=>t.isEqual(A.key))}}function cQ(e,A){var t;return(((t=A.arrayValue)===null||t===void 0?void 0:t.values)||[]).map(r=>J.fromName(r.referenceValue))}class Xx extends WA{constructor(A,t){super(A,"array-contains",t)}matches(A){const t=A.data.field(this.field);return Mg(t)&&Eo(t.arrayValue,this.value)}}class Jx extends WA{constructor(A,t){super(A,"in",t)}matches(A){const t=A.data.field(this.field);return t!==null&&Eo(this.value.arrayValue,t)}}class $x extends WA{constructor(A,t){super(A,"not-in",t)}matches(A){if(Eo(this.value.arrayValue,{nullValue:"NULL_VALUE"}))return!1;const t=A.data.field(this.field);return t!==null&&!Eo(this.value.arrayValue,t)}}class Yx extends WA{constructor(A,t){super(A,"array-contains-any",t)}matches(A){const t=A.data.field(this.field);return!(!Mg(t)||!t.arrayValue.values)&&t.arrayValue.values.some(r=>Eo(this.value.arrayValue,r))}}/** 1989 * @license 1990 * Copyright 2019 Google LLC 1991 * 1992 * Licensed under the Apache License, Version 2.0 (the "License"); 1993 * you may not use this file except in compliance with the License. 1994 * You may obtain a copy of the License at 1995 * 1996 * http://www.apache.org/licenses/LICENSE-2.0 1997 * 1998 * Unless required by applicable law or agreed to in writing, software 1999 * distributed under the License is distributed on an "AS IS" BASIS, 2000 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2001 * See the License for the specific language governing permissions and 2002 * limitations under the License. 2003 */class qx{constructor(A,t=null,r=[],n=[],i=null,s=null,a=null){this.path=A,this.collectionGroup=t,this.orderBy=r,this.filters=n,this.limit=i,this.startAt=s,this.endAt=a,this.ue=null}}function u0(e,A=null,t=[],r=[],n=null,i=null,s=null){return new qx(e,A,t,r,n,i,s)}function Kg(e){const A=eA(e);if(A.ue===null){let t=A.path.canonicalString();A.collectionGroup!==null&&(t+="|cg:"+A.collectionGroup),t+="|f:",t+=A.filters.map(r=>dd(r)).join(","),t+="|ob:",t+=A.orderBy.map(r=>function(i){return i.field.canonicalString()+i.dir}(r)).join(","),ec(A.limit)||(t+="|l:",t+=A.limit),A.startAt&&(t+="|lb:",t+=A.startAt.inclusive?"b:":"a:",t+=A.startAt.position.map(r=>Si(r)).join(",")),A.endAt&&(t+="|ub:",t+=A.endAt.inclusive?"a:":"b:",t+=A.endAt.position.map(r=>Si(r)).join(",")),A.ue=t}return A.ue}function Gg(e,A){if(e.limit!==A.limit||e.orderBy.length!==A.orderBy.length)return!1;for(let t=0;t<e.orderBy.length;t++)if(!Kx(e.orderBy[t],A.orderBy[t]))return!1;if(e.filters.length!==A.filters.length)return!1;for(let t=0;t<e.filters.length;t++)if(!lQ(e.filters[t],A.filters[t]))return!1;return e.collectionGroup===A.collectionGroup&&!!e.path.isEqual(A.path)&&!!l0(e.startAt,A.startAt)&&l0(e.endAt,A.endAt)}function gd(e){return J.isDocumentKey(e.path)&&e.collectionGroup===null&&e.filters.length===0}/** 2004 * @license 2005 * Copyright 2017 Google LLC 2006 * 2007 * Licensed under the Apache License, Version 2.0 (the "License"); 2008 * you may not use this file except in compliance with the License. 2009 * You may obtain a copy of the License at 2010 * 2011 * http://www.apache.org/licenses/LICENSE-2.0 2012 * 2013 * Unless required by applicable law or agreed to in writing, software 2014 * distributed under the License is distributed on an "AS IS" BASIS, 2015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2016 * See the License for the specific language governing permissions and 2017 * limitations under the License. 2018 */class Mi{constructor(A,t=null,r=[],n=[],i=null,s="F",a=null,l=null){this.path=A,this.collectionGroup=t,this.explicitOrderBy=r,this.filters=n,this.limit=i,this.limitType=s,this.startAt=a,this.endAt=l,this.ce=null,this.le=null,this.he=null,this.startAt,this.endAt}}function Zx(e,A,t,r,n,i,s,a){return new Mi(e,A,t,r,n,i,s,a)}function hQ(e){return new Mi(e)}function c0(e){return e.filters.length===0&&e.limit===null&&e.startAt==null&&e.endAt==null&&(e.explicitOrderBy.length===0||e.explicitOrderBy.length===1&&e.explicitOrderBy[0].field.isKeyField())}function fQ(e){return e.collectionGroup!==null}function Xs(e){const A=eA(e);
2018if(A.ce===null){A.ce=[];const t=new Set;for(const i of A.explicitOrderBy)A.ce.push(i),t.add(i.field.canonicalString());const r=A.explicitOrderBy.length>0?A.explicitOrderBy[A.explicitOrderBy.length-1].dir:"asc";(function(s){let a=new ae(ie.comparator);return s.filters.forEach(l=>{l.getFlattenedFilters().forEach(u=>{u.isInequality()&&(a=a.add(u.field))})}),a})(A).forEach(i=>{t.has(i.canonicalString())||i.isKeyField()||A.ce.push(new Qo(i,r))}),t.has(ie.keyField().canonicalString())||A.ce.push(new Qo(ie.keyField(),r))}return A.ce}function Qt(e){const A=eA(e);return A.le||(A.le=AP(A,Xs(e))),A.le}function AP(e,A){if(e.limitType==="F")return u0(e.path,e.collectionGroup,A,e.filters,e.limit,e.startAt,e.endAt);{A=A.map(n=>{const i=n.dir==="desc"?"asc":"desc";return new Qo(n.field,i)});const t=e.endAt?new Bu(e.endAt.position,e.endAt.inclusive):null,r=e.startAt?new Bu(e.startAt.position,e.startAt.inclusive):null;return u0(e.path,e.collectionGroup,A,e.filters,e.limit,t,r)}}function pd(e,A){const t=e.filters.concat([A]);return new Mi(e.path,e.collectionGroup,e.explicitOrderBy.slice(),t,e.limit,e.limitType,e.startAt,e.endAt)}function Bd(e,A,t){return new Mi(e.path,e.collectionGroup,e.explicitOrderBy.slice(),e.filters.slice(),A,t,e.startAt,e.endAt)}function tc(e,A){return Gg(Qt(e),Qt(A))&&e.limitType===A.limitType}function dQ(e){return`${Kg(Qt(e))}|lt:${e.limitType}`}function Gn(e){return`Query(target=${function(t){let r=t.path.canonicalString();return t.collectionGroup!==null&&(r+=" collectionGroup="+t.collectionGroup),t.filters.length>0&&(r+=`, filters: [${t.filters.map(n=>uQ(n)).join(", ")}]`),ec(t.limit)||(r+=", limit: "+t.limit),t.orderBy.length>0&&(r+=`, orderBy: [${t.orderBy.map(n=>function(s){return`${s.field.canonicalString()} (${s.dir})`}(n)).join(", ")}]`),t.startAt&&(r+=", startAt: ",r+=t.startAt.inclusive?"b:":"a:",r+=t.startAt.position.map(n=>Si(n)).join(",")),t.endAt&&(r+=", endAt: ",r+=t.endAt.inclusive?"a:":"b:",r+=t.endAt.position.map(n=>Si(n)).join(",")),`Target(${r})`}(Qt(e))}; limitType=${e.limitType})`}function rc(e,A){return A.isFoundDocument()&&function(r,n){const i=n.key.path;return r.collectionGroup!==null?n.key.hasCollectionId(r.collectionGroup)&&r.path.isPrefixOf(i):J.isDocumentKey(r.path)?r.path.isEqual(i):r.path.isImmediateParentOf(i)}(e,A)&&function(r,n){for(const i of Xs(r))if(!i.field.isKeyField()&&n.data.field(i.field)===null)return!1;return!0}(e,A)&&function(r,n){for(const i of r.filters)if(!i.matches(n))return!1;return!0}(e,A)&&function(r,n){return!(r.startAt&&!function(s,a,l){const u=a0(s,a,l);return s.inclusive?u<=0:u<0}(r.startAt,Xs(r),n)||r.endAt&&!function(s,a,l){const u=a0(s,a,l);return s.inclusive?u>=0:u>0}(r.endAt,Xs(r),n))}(e,A)}function eP(e){return e.collectionGroup||(e.path.length%2==1?e.path.lastSegment():e.path.get(e.path.length-2))}function gQ(e){return(A,t)=>{let r=!1;for(const n of Xs(e)){const i=tP(n,A,t);if(i!==0)return i;r=r||n.field.isKeyField()}return 0}}function tP(e,A,t){const r=e.field.isKeyField()?J.comparator(A.key,t.key):function(i,s,a){const l=s.data.field(i),u=a.data.field(i);return l!==null&&u!==null?Ti(l,u):q()}(e.field,A,t);switch(e.dir){case"asc":return r;case"desc":return-1*r;default:return q()}}/** 2019 * @license 2020 * Copyright 2017 Google LLC 2021 * 2022 * Licensed under the Apache License, Version 2.0 (the "License"); 2023 * you may not use this file except in compliance with the License. 2024 * You may obtain a copy of the License at 2025 * 2026 * http://www.apache.org/licenses/LICENSE-2.0 2027 * 2028 * Unless required by applicable law or agreed to in writing, software 2029 * distributed under the License is distributed on an "AS IS" BASIS, 2030 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2031 * See the License for the specific language governing permissions and 2032 * limitations under the License. 2033 */class Ki{constructor(A,t){this.mapKeyFn=A,this.equalsFn=t,this.inner={},this.innerSize=0}get(A){const t=this.mapKeyFn(A),r=this.inner[t];if(r!==void 0){for(const[n,i]of r)if(this.equalsFn(n,A))return i}}has(A){return this.get(A)!==void 0}set(A,t){const r=this.mapKeyFn(A),n=this.inner[r];if(n===void 0)return this.inner[r]=[[A,t]],void this.innerSize++;for(let i=0;i<n.length;i++)if(this.equalsFn(n[i][0],A))return void(n[i]=[A,t]);n.push([A,t]),this.innerSize++}delete(A){const t=this.mapKeyFn(A),r=this.inner[t];if(r===void 0)return!1;for(let n=0;n<r.length;n++)if(this.equalsFn(r[n][0],A))return r.length===1?delete this.inner[t]:r.splice(n,1),this.innerSize--,!0;return!1}forEach(A){Vi(this.inner,(t,r)=>{for(const[n,i]of r)A(n,i)})}isEmpty(){return rQ(this.inner)}size(){return this.innerSize}}/** 2034 * @license 2035 * Copyright 2017 Google LLC 2036 * 2037 * Licensed under the Apache License, Version 2.0 (the "License");
2038 * you may not use this file except in compliance with the License. 2039 * You may obtain a copy of the License at 2040 * 2041 * http://www.apache.org/licenses/LICENSE-2.0 2042 * 2043 * Unless required by applicable law or agreed to in writing, software 2044 * distributed under the License is distributed on an "AS IS" BASIS, 2045 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2046 * See the License for the specific language governing permissions and 2047 * limitations under the License. 2048 */const rP=new DA(J.comparator);function Zt(){return rP}const pQ=new DA(J.comparator);function Ss(...e){let A=pQ;for(const t of e)A=A.insert(t.key,t);return A}function BQ(e){let A=pQ;return e.forEach((t,r)=>A=A.insert(t,r.overlayedDocument)),A}function ln(){return Js()}function mQ(){return Js()}function Js(){return new Ki(e=>e.toString(),(e,A)=>e.isEqual(A))}const nP=new DA(J.comparator),iP=new ae(J.comparator);function sA(...e){let A=iP;for(const t of e)A=A.add(t);return A}const sP=new ae(dA);function oP(){return sP}/** 2049 * @license 2050 * Copyright 2020 Google LLC 2051 * 2052 * Licensed under the Apache License, Version 2.0 (the "License"); 2053 * you may not use this file except in compliance with the License. 2054 * You may obtain a copy of the License at 2055 * 2056 * http://www.apache.org/licenses/LICENSE-2.0 2057 * 2058 * Unless required by applicable law or agreed to in writing, software 2059 * distributed under the License is distributed on an "AS IS" BASIS, 2060 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2061 * See the License for the specific language governing permissions and 2062 * limitations under the License. 2063 */function Wg(e,A){if(e.useProto3Json){if(isNaN(A))return{doubleValue:"NaN"};if(A===1/0)return{doubleValue:"Infinity"};if(A===-1/0)return{doubleValue:"-Infinity"}}return{doubleValue:pu(A)?"-0":A}}function wQ(e){return{integerValue:""+e}}function aP(e,A){return Ox(A)?wQ(A):Wg(e,A)}/** 2064 * @license 2065 * Copyright 2018 Google LLC 2066 * 2067 * Licensed under the Apache License, Version 2.0 (the "License"); 2068 * you may not use this file except in compliance with the License. 2069 * You may obtain a copy of the License at 2070 * 2071 * http://www.apache.org/licenses/LICENSE-2.0 2072 * 2073 * Unless required by applicable law or agreed to in writing, software 2074 * distributed under the License is distributed on an "AS IS" BASIS, 2075 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2076 * See the License for the specific language governing permissions and 2077 * limitations under the License. 2078 */class nc{constructor(){this._=void 0}}function lP(e,A,t){return e instanceof _o?function(n,i){const s={fields:{__type__:{stringValue:"server_timestamp"},__local_write_time__:{timestampValue:{seconds:n.seconds,nanos:n.nanoseconds}}}};return i&&bg(i)&&(i=Vg(i)),i&&(s.fields.__previous_value__=i),{mapValue:s}}(t,A):e instanceof Io?vQ(e,A):e instanceof Uo?CQ(e,A):function(n,i){const s=yQ(n,i),a=h0(s)+h0(n.Pe);return fd(s)&&fd(n.Pe)?wQ(a):Wg(n.serializer,a)}(e,A)}function uP(e,A,t){return e instanceof Io?vQ(e,A):e instanceof Uo?CQ(e,A):t}function yQ(e,A){return e instanceof mu?function(r){return fd(r)||function(i){return!!i&&"doubleValue"in i}(r)}(A)?A:{integerValue:0}:null}class _o extends nc{}class Io extends nc{constructor(A){super(),this.elements=A}}function vQ(e,A){const t=EQ(A);for(const r of e.elements)t.some(n=>It(n,r))||t.push(r);return{arrayValue:{values:t}}}class Uo extends nc{constructor(A){super(),this.elements=A}}function CQ(e,A){let t=EQ(A);for(const r of e.elements)t=t.filter(n=>!It(n,r));return{arrayValue:{values:t}}}class mu extends nc{constructor(A,t){super(),this.serializer=A,this.Pe=t}}function h0(e){return bA(e.integerValue||e.doubleValue)}function EQ(e){return Mg(e)&&e.arrayValue.values?e.arrayValue.values.slice():[]}/** 2079 * @license 2080 * Copyright 2017 Google LLC 2081 * 2082 * Licensed under the Apache License, Version 2.0 (the "License"); 2083 * you may not use this file except in compliance with the License. 2084 * You may obtain a copy of the License at 2085 * 2086 * http://www.apache.org/licenses/LICENSE-2.0 2087 * 2088 * Unless required by applicable law or agreed to in writing, softw
2088are 2089 * distributed under the License is distributed on an "AS IS" BASIS, 2090 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2091 * See the License for the specific language governing permissions and 2092 * limitations under the License. 2093 */class cP{constructor(A,t){this.field=A,this.transform=t}}function hP(e,A){return e.field.isEqual(A.field)&&function(r,n){return r instanceof Io&&n instanceof Io||r instanceof Uo&&n instanceof Uo?Fi(r.elements,n.elements,It):r instanceof mu&&n instanceof mu?It(r.Pe,n.Pe):r instanceof _o&&n instanceof _o}(e.transform,A.transform)}class fP{constructor(A,t){this.version=A,this.transformResults=t}}class Kt{constructor(A,t){this.updateTime=A,this.exists=t}static none(){return new Kt}static exists(A){return new Kt(void 0,A)}static updateTime(A){return new Kt(A)}get isNone(){return this.updateTime===void 0&&this.exists===void 0}isEqual(A){return this.exists===A.exists&&(this.updateTime?!!A.updateTime&&this.updateTime.isEqual(A.updateTime):!A.updateTime)}}function _l(e,A){return e.updateTime!==void 0?A.isFoundDocument()&&A.version.isEqual(e.updateTime):e.exists===void 0||e.exists===A.isFoundDocument()}class ic{}function QQ(e,A){if(!e.hasLocalMutations||A&&A.fields.length===0)return null;if(A===null)return e.isNoDocument()?new IQ(e.key,Kt.none()):new Mo(e.key,e.data,Kt.none());{const t=e.data,r=$e.empty();let n=new ae(ie.comparator);for(let i of A.fields)if(!n.has(i)){let s=t.field(i);s===null&&i.length>1&&(i=i.popLast(),s=t.field(i)),s===null?r.delete(i):r.set(i,s),n=n.add(i)}return new Fn(e.key,r,new ut(n.toArray()),Kt.none())}}function dP(e,A,t){e instanceof Mo?function(n,i,s){const a=n.value.clone(),l=d0(n.fieldTransforms,i,s.transformResults);a.setAll(l),i.convertToFoundDocument(s.version,a).setHasCommittedMutations()}(e,A,t):e instanceof Fn?function(n,i,s){if(!_l(n.precondition,i))return void i.convertToUnknownDocument(s.version);const a=d0(n.fieldTransforms,i,s.transformResults),l=i.data;l.setAll(_Q(n)),l.setAll(a),i.convertToFoundDocument(s.version,l).setHasCommittedMutations()}(e,A,t):function(n,i,s){i.convertToNoDocument(s.version).setHasCommittedMutations()}(0,A,t)}function $s(e,A,t,r){return e instanceof Mo?function(i,s,a,l){if(!_l(i.precondition,s))return a;const u=i.value.clone(),h=g0(i.fieldTransforms,l,s);return u.setAll(h),s.convertToFoundDocument(s.version,u).setHasLocalMutations(),null}(e,A,t,r):e instanceof Fn?function(i,s,a,l){if(!_l(i.precondition,s))return a;const u=g0(i.fieldTransforms,l,s),h=s.data;return h.setAll(_Q(i)),h.setAll(u),s.convertToFoundDocument(s.version,h).setHasLocalMutations(),a===null?null:a.unionWith(i.fieldMask.fields).unionWith(i.fieldTransforms.map(d=>d.field))}(e,A,t,r):function(i,s,a){return _l(i.precondition,s)?(s.convertToNoDocument(s.version).setHasLocalMutations(),null):a}(e,A,t)}function gP(e,A){let t=null;for(const r of e.fieldTransforms){const n=A.data.field(r.field),i=yQ(r.transform,n||null);i!=null&&(t===null&&(t=$e.empty()),t.set(r.field,i))}return t||null}function f0(e,A){return e.type===A.type&&!!e.key.isEqual(A.key)&&!!e.precondition.isEqual(A.precondition)&&!!function(r,n){return r===void 0&&n===void 0||!(!r||!n)&&Fi(r,n,(i,s)=>hP(i,s))}(e.fieldTransforms,A.fieldTransforms)&&(e.type===0?e.value.isEqual(A.value):e.type!==1||e.data.isEqual(A.data)&&e.fieldMask.isEqual(A.fieldMask))}class Mo extends ic{constructor(A,t,r,n=[]){super(),this.key=A,this.value=t,this.precondition=r,this.fieldTransforms=n,this.type=0}getFieldMask(){return null}}class Fn extends ic{constructor(A,t,r,n,i=[]){super(),this.key=A,this.data=t,this.fieldMask=r,this.precondition=n,this.fieldTransforms=i,this.type=1}getFieldMask(){return this.fieldMask}}function _Q(e){const A=new Map;return e.fieldMask.fields.forEach(t=>{if(!t.isEmpty()){const r=e.data.field(t);A.set(t,r)}}),A}function d0(e,A,t){const r=new Map;BA(e.length===t.length);for(let n=0;n<t.length;n++){const i=e[n],s=i.transform,a=A.data.field(i.field);r.set(i.field,uP(s,a,t[n]))}return r}function g0(e,A,t){const r=new Map;for(const n of e){const i=n.transform,s=t.data.field(n.field);r.set(n.field,lP(i,s,A))}return r}class IQ extends ic{constructor(A,t){super(),this.key=A,this.prec
2093ondition=t,this.type=2,this.fieldTransforms=[]}getFieldMask(){return null}}class pP extends ic{constructor(A,t){super(),this.key=A,this.precondition=t,this.type=3,this.fieldTransforms=[]}getFieldMask(){return null}}/** 2094 * @license 2095 * Copyright 2017 Google LLC 2096 * 2097 * Licensed under the Apache License, Version 2.0 (the "License"); 2098 * you may not use this file except in compliance with the License. 2099 * You may obtain a copy of the License at 2100 * 2101 * http://www.apache.org/licenses/LICENSE-2.0 2102 * 2103 * Unless required by applicable law or agreed to in writing, software 2104 * distributed under the License is distributed on an "AS IS" BASIS, 2105 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2106 * See the License for the specific language governing permissions and 2107 * limitations under the License. 2108 */class BP{constructor(A,t,r,n){this.batchId=A,this.localWriteTime=t,this.baseMutations=r,this.mutations=n}applyToRemoteDocument(A,t){const r=t.mutationResults;for(let n=0;n<this.mutations.length;n++){const i=this.mutations[n];i.key.isEqual(A.key)&&dP(i,A,r[n])}}applyToLocalView(A,t){for(const r of this.baseMutations)r.key.isEqual(A.key)&&
2108(t=$s(r,A,t,this.localWriteTime));for(const r of this.mutations)r.key.isEqual(A.key)&&(t=$s(r,A,t,this.localWriteTime));return t}applyToLocalDocumentSet(A,t){const r=mQ();return this.mutations.forEach(n=>{const i=A.get(n.key),s=i.overlayedDocument;let a=this.applyToLocalView(s,i.mutatedFields);a=t.has(n.key)?null:a;const l=QQ(s,a);l!==null&&r.set(n.key,l),s.isValidDocument()||s.convertToNoDocument(AA.min())}),r}keys(){return this.mutations.reduce((A,t)=>A.add(t.key),sA())}isEqual(A){return this.batchId===A.batchId&&Fi(this.mutations,A.mutations,(t,r)=>f0(t,r))&&Fi(this.baseMutations,A.baseMutations,(t,r)=>f0(t,r))}}class jg{constructor(A,t,r,n){this.batch=A,this.commitVersion=t,this.mutationResults=r,this.docVersions=n}static from(A,t,r){BA(A.mutations.length===r.length);let n=function(){return nP}();const i=A.mutations;for(let s=0;s<i.length;s++)n=n.insert(i[s].key,r[s].version);return new jg(A,t,r,n)}}/** 2109 * @license 2110 * Copyright 2022 Google LLC 2111 * 2112 * Licensed under the Apache License, Version 2.0 (the "License"); 2113 * you may not use this file except in compliance with the License. 2114 * You may obtain a copy of the License at 2115 * 2116 * http://www.apache.org/licenses/LICENSE-2.0 2117 * 2118 * Unless required by applicable law or agreed to in writing, software 2119 * distributed under the License is distributed on an "AS IS" BASIS, 2120 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2121 * See the License for the specific language governing permissions and 2122 * limitations under the License. 2123 */class mP{constructor(A,t){this.largestBatchId=A,this.mutation=t}getKey(){return this.mutation.key}isEqual(A){return A!==null&&this.mutation===A.mutation}toString(){return`Overlay{ 2124 largestBatchId: ${this.largestBatchId}, 2125 mutation: ${this.mutation.toString()} 2126 }`}}/** 2127 * @license 2128 * Copyright 2017 Google LLC 2129 * 2130 * Licensed under the Apache License, Version 2.0 (the "License"); 2131 * you may not use this file except in compliance with the License. 2132 * You may obtain a copy of the License at 2133 * 2134 * http://www.apache.org/licenses/LICENSE-2.0 2135 * 2136 * Unless required by applicable law or agreed to in writing, software 2137 * distributed under the License is distributed on an "AS IS" BASIS, 2138 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2139 * See the License for the specific language governing permissions and 2140 * limitations under the License. 2141 */class wP{constructor(A,t){this.count=A,this.unchangedNames=t}}/** 2142 * @license 2143 * Copyright 2017 Google LLC 2144 * 2145 * Licensed under the Apache License, Version 2.0 (the "License"); 2146 * you may not use this file except in compliance with the License. 2147 * You may obtain a copy of the License at 2148 * 2149 * http://www.apache.org/licenses/LICENSE-2.0 2150 * 2151 * Unless required by applicable law or agreed to in writing, software 2152 * distributed under the License is distributed on an "AS IS" BASIS, 2153 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2154 * See the License for the specific language governing permissions and 2155 * limitations under the License. 2156 */var MA,aA;function yP(e){switch(e){default:return q();case P.CANCELLED:case P.UNKNOWN:case P.DEADLINE_EXCEEDED:case P.RESOURCE_EXHAUSTED:case P.INTERNAL:case P.UNAVAILABLE:case P.UNAUTHENTICATED:return!1;case P.INVALID_ARGUMENT:case P.NOT_FOUND:case P.ALREADY_EXISTS:case P.PERMISSION_DENIED:case P.FAILED_PRECONDITION:case P.ABORTED:case P.OUT_OF_RANGE:case P.UNIMPLEMENTED:case P.DATA_LOSS:return!0}}function UQ(e){if(e===void 0)return qt("GRPC error has no .code"),P.UNKNOWN;switch(e){case MA.OK:return P.OK;case MA.CANCELLED:return P.CANCELLED;case MA.UNKNOWN:return P.UNKNOWN;case MA.DEADLINE_EXCEEDED:return P.DEADLINE_EXCEEDED;case MA.RESOURCE_EXHAUSTED:return P.RESOURCE_EXHAUSTED;case MA.INTERNAL:return P.INTERNAL;case MA.UNAVAILABLE:return P.UNAVAILABLE;case MA.UNAUTHENTICATED:return P.UNAUTHENTICATED;case MA.INVALID_ARGUMENT:return P.INVALID_ARGUMENT;case MA.NOT_FOUND:return P.NOT_FOUND;case MA.ALREADY_EXISTS:return P.ALREADY_EXISTS;case MA.PERMISSION_DENIED:return P.PERMISSION_DENIED;case MA.FAILED_PRECONDITION:return P.FAILED_PRECONDITION;case MA.ABORTED:return P.ABORTED;case MA.OUT_OF_RANGE:return P.OUT_OF_RANGE;
2156case MA.UNIMPLEMENTED:return P.UNIMPLEMENTED;case MA.DATA_LOSS:return P.DATA_LOSS;default:return q()}}(aA=MA||(MA={}))[aA.OK=0]="OK",aA[aA.CANCELLED=1]="CANCELLED",aA[aA.UNKNOWN=2]="UNKNOWN",aA[aA.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",aA[aA.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",aA[aA.NOT_FOUND=5]="NOT_FOUND",aA[aA.ALREADY_EXISTS=6]="ALREADY_EXISTS",aA[aA.PERMISSION_DENIED=7]="PERMISSION_DENIED",aA[aA.UNAUTHENTICATED=16]="UNAUTHENTICATED",aA[aA.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",aA[aA.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",aA[aA.ABORTED=10]="ABORTED",aA[aA.OUT_OF_RANGE=11]="OUT_OF_RANGE",aA[aA.UNIMPLEMENTED=12]="UNIMPLEMENTED",aA[aA.INTERNAL=13]="INTERNAL",aA[aA.UNAVAILABLE=14]="UNAVAILABLE",aA[aA.DATA_LOSS=15]="DATA_LOSS";/** 2157 * @license 2158 * Copyright 2023 Google LLC 2159 * 2160 * Licensed under the Apache License, Version 2.0 (the "License"); 2161 * you may not use this file except in compliance with the License. 2162 * You may obtain a copy of the License at 2163 * 2164 * http://www.apache.org/licenses/LICENSE-2.0 2165 * 2166 * Unless required by applicable law or agreed to in writing, software 2167 * distributed under the License is distributed on an "AS IS" BASIS, 2168 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2169 * See the License for the specific language governing permissions and 2170 * limitations under the License. 2171 */function vP(){return new TextEncoder}/** 2172 * @license 2173 * Copyright 2022 Google LLC 2174 * 2175 * Licensed under the Apache License, Version 2.0 (the "License"); 2176 * you may not use this file except in compliance with the License. 2177 * You may obtain a copy of the License at 2178 * 2179 * http://www.apache.org/licenses/LICENSE-2.0 2180 * 2181 * Unless required by applicable law or agreed to in writing, software 2182 * distributed under the License is distributed on an "AS IS" BASIS, 2183 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2184 * See the License for the specific language governing permissions and 2185 * limitations under the License. 2186 */const CP=new dn([4294967295,4294967295],0);function p0(e){const A=vP().encode(e),t=new JE;return t.update(A),new Uint8Array(t.digest())}function B0(e){const A=new DataView(e.buffer),t=A.getUint32(0,!0),r=A.getUint32(4,!0),n=A.getUint32(8,!0),i=A.getUint32(12,!0);return[new dn([t,r],0),new dn([n,i],0)]}class zg{constructor(A,t,r){if(this.bitmap=A,this.padding=t,this.hashCount=r,t<0||t>=8)throw new Rs(`Invalid padding: ${t}`);if(r<0)throw new Rs(`Invalid hash count: ${r}`);if(A.length>0&&this.hashCount===0)throw new Rs(`Invalid hash count: ${r}`);if(A.length===0&&t!==0)throw new Rs(`Invalid padding when bitmap length is 0: ${t}`);this.Ie=8*A.length-t,this.Te=dn.fromNumber(this.Ie)}Ee(A,t,r){let n=A.add(t.multiply(dn.fromNumber(r)));return n.compare(CP)===1&&(n=new dn([n.getBits(0),n.getBits(1)],0)),n.modulo(this.Te).toNumber()}de(A){return(this.bitmap[Math.floor(A/8)]&1<<A%8)!=0}mightContain(A){if(this.Ie===0)return!1;const t=p0(A),[r,n]=B0(t);for(let i=0;i<this.hashCount;i++){const s=this.Ee(r,n,i);if(!this.de(s))return!1}return!0}static create(A,t,r){const n=A%8==0?0:8-A%8,i=new Uint8Array(Math.ceil(A/8)),s=new zg(i,n,t);return r.forEach(a=>s.insert(a)),s}insert(A){if(this.Ie===0)return;const t=p0(A),[r,n]=B0(t);for(let i=0;i<this.hashCount;i++){const s=this.Ee(r,n,i);this.Ae(s)}}Ae(A){const t=Math.floor(A/8),r=A%8;this.bitmap[t]|=1<<r}}class Rs extends Error{constructor(){super(...arguments),this.name="BloomFilterError"}}/** 2187 * @license 2188 * Copyright 2017 Google LLC 2189 * 2190 * Licensed under the Apache License, Version 2.0 (the "License"); 2191 * you may not use this file except in compliance with the License. 2192 * You may obtain a copy of the License at 2193 * 2194 * http://www.apache.org/licenses/LICENSE-2.0 2195 * 2196 * Unless required by applicable law or agreed to in writing, software 2197 * distributed under the License is distributed on an "AS IS" BASIS, 2198 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2199 * See the License for the specific language governing permissions and 2200 * limitations under the License. 2201 */class sc{constructor(A,t,r,n,i){this.snapshotVersion=A,this.targetChanges=t,this.targetMismatches=r,this.documentUpdates=n,this.resolvedLimboDocuments=i}static createSynthesizedRemoteEventForCurrentChange(A,t,r){const n=new Map;return n.set(A,Ko.createSynthesizedTargetChangeForCurrentChange(A,t,r)),new sc(AA.min(),n,new DA(dA),Zt(),sA())}}class Ko{constructor(A,t,r,n,i){this.resumeToken=A,this.current=t,this.addedDocuments=r,this.modifiedDocuments=n,this.removedDocuments=i}static createSynthesizedTargetChangeForCurrentChange(A,t,r){return new Ko(r,t,sA(),sA(),sA())}}/** 2202 * @license 2203 * Copyright 2017 Google LLC 2204 * 2205 * Licensed under the Apache License, Version 2.0 (the "License");
2206 * you may not use this file except in compliance with the License. 2207 * You may obtain a copy of the License at 2208 * 2209 * http://www.apache.org/licenses/LICENSE-2.0 2210 * 2211 * Unless required by applicable law or agreed to in writing, software 2212 * distributed under the License is distributed on an "AS IS" BASIS, 2213 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2214 * See the License for the specific language governing permissions and 2215 * limitations under the License. 2216 */class Il{constructor(A,t,r,n){this.Re=A,this.removedTargetIds=t,this.key=r,this.Ve=n}}class FQ{constructor(A,t){this.targetId=A,this.me=t}}class TQ{constructor(A,t,r=ue.EMPTY_BYTE_STRING,n=null){this.state=A,this.targetIds=t,this.resumeToken=r,this.cause=n}}class m0{constructor(){this.fe=0,this.ge=y0(),this.pe=ue.EMPTY_BYTE_STRING,this.ye=!1,this.we=!0}get current(){return this.ye}get resumeToken(){return this.pe}get Se(){return this.fe!==0}get be(){return this.we}De(A){A.approximateByteSize()>0&&(this.we=!0,this.pe=A)}ve(){let A=sA(),t=sA(),r=sA();return this.ge.forEach((n,i)=>{switch(i){case 0:A=A.add(n);break;case 2:t=t.add(n);break;case 1:r=r.add(n);break;default:q()}}),new Ko(this.pe,this.ye,A,t,r)}Ce(){this.we=!1,this.ge=y0()}Fe(A,t){this.we=!0,this.ge=this.ge.insert(A,t)}Me(A){this.we=!0,this.ge=this.ge.remove(A)}xe(){this.fe+=1}Oe(){this.fe-=1,BA(this.fe>=0)}Ne(){this.we=!0,this.ye=!0}}class EP{constructor(A){this.Le=A,this.Be=new Map,this.ke=Zt(),this.qe=w0(),this.Qe=new DA(dA)}Ke(A){for(const t of A.Re)A.Ve&&A.Ve.isFoundDocument()?this.$e(t,A.Ve):this.Ue(t,A.key,A.Ve);for(const t of A.removedTargetIds)this.Ue(t,A.key,A.Ve)}We(A){this.forEachTarget(A,t=>{const r=this.Ge(t);switch(A.state){case 0:this.ze(t)&&r.De(A.resumeToken);break;case 1:r.Oe(),r.Se||r.Ce(),r.De(A.resumeToken);break;case 2:r.Oe(),r.Se||this.removeTarget(t);break;case 3:this.ze(t)&&(r.Ne(),r.De(A.resumeToken));break;case 4:this.ze(t)&&(this.je(t),r.De(A.resumeToken));break;default:q()}})}forEachTarget(A,t){A.targetIds.length>0?A.targetIds.forEach(t):this.Be.forEach((r,n)=>{this.ze(n)&&t(n)})}He(A){const t=A.targetId,r=A.me.count,n=this.Je(t);if(n){const i=n.target;if(gd(i))if(r===0){const s=new J(i.path);this.Ue(t,s,ve.newNoDocument(s,AA.min()))}else BA(r===1);else{const s=this.Ye(t);if(s!==r){const a=this.Ze(A),l=a?this.Xe(a,A,s):1;if(l!==0){this.je(t);const u=l===2?"TargetPurposeExistenceFilterMismatchBloom":"TargetPurposeExistenceFilterMismatch";this.Qe=this.Qe.insert(t,u)}}}}}Ze(A){const t=A.me.unchangedNames;if(!t||!t.bits)return null;const{bits:{bitmap:r="",padding:n=0},hashCount:i=0}=t;let s,a;try{s=Qn(r).toUint8Array()}catch(l){if(l instanceof nQ)return Ui("Decoding the base64 bloom filter in existence filter failed ("+l.message+"); ignoring the bloom filter and falling back to full re-query."),null;throw l}try{a=new zg(s,n,i)}catch(l){return Ui(l instanceof Rs?"BloomFilter error: ":"Applying bloom filter failed: ",l),null}return a.Ie===0?null:a}Xe(A,t,r){return t.me.count===r-this.nt(A,t.targetId)?0:2}nt(A,t){const r=this.Le.getRemoteKeysForTarget(t);let n=0;return r.forEach(i=>{const s=this.Le.tt(),a=`projects/${s.projectId}/databases/${s.database}/documents/${i.path.canonicalString()}`;A.mightContain(a)||(this.Ue(t,i,null),n++)}),n}rt(A){const t=new Map;this.Be.forEach((i,s)=>{const a=this.Je(s);if(a){if(i.current&&gd(a.target)){const l=new J(a.target.path);this.ke.get(l)!==null||this.it(s,l)||this.Ue(s,l,ve.newNoDocument(l,A))}i.be&&(t.set(s,i.ve()),i.Ce())}});let r=sA();this.qe.forEach((i,s)=>{let a=!0;s.forEachWhile(l=>{const u=this.Je(l);return!u||u.purpose==="TargetPurposeLimboResolution"||(a=!1,!1)}),a&&(r=r.add(i))}),this.ke.forEach((i,s)=>s.setReadTime(A));const n=new sc(A,t,this.Qe,this.ke,r);return this.ke=Zt(),this.qe=w0(),this.Qe=new DA(dA),n}$e(A,t){if(!this.ze(A))return;const r=this.it(A,t.key)?2:0;this.Ge(A).Fe(t.key,r),this.ke=this.ke.insert(t.key,t),this.qe=this.qe.insert(t.key,this.st(t.key).add(A))}Ue(A,t,r){if(!this.ze(A))return;const n=this.Ge(A);this.it(A,t)?n.Fe(t,1):n.Me(t),this.qe=this.qe.insert(t,this.st(t).delete(A)),r&&(this.ke=this.ke.insert(t,r))}removeTarget(A){this.Be.delete(A)}Ye(A){const t=this.Ge(A).ve();return this.Le.getRemoteKeysForTarget(A).size+t.addedDocuments.size-t.removedDocuments.size}xe(A){this.Ge(A).xe()}Ge(A){let t=this.Be.get(A);return t||(t=new m0,this.Be.set(A,t)),t}st(A){let t=this.qe.get(A);return t||(t=new ae(dA),this.qe=this.qe.insert(A,t)),t}ze(A){const t=this.Je(A)!==null;return t||z("WatchChangeAggregator","Detected inactive target",A),t}Je(A){const t=this.Be.get(A);return t&&t.Se?null:this.Le.ot(A)}je(A){this.Be.set(A,new m0),this.Le.getRemoteKeysForTarget(A).forEach(t=>{this.Ue(A,t,null)})}it(A,t){return this.Le.getRemoteKeysForTarget(A).has(t)}}function w0(){return new DA(J.comparator)}function y0(){return new DA(J.comparator)}const QP=(()=>({asc:"ASCENDING",desc:"DESCENDING"}))(),_P=(()=>({"<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","==":"EQUAL","!=":"NOT_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"}))(),IP=(()=>({and:"AND",or:"OR"}))();class UP{constructor(A,t){this.databaseId=A,this.useProto3Json=t}}function md(e,A){return e.useProto3Json||ec(A)?A:{value:A}}function wu(e,A){return e.useProto3Json?`${new Date(1e3*A.seconds).toISOString().replace(/\.\d*/,"").replace("Z","")}.${("000000000"+A.nanoseconds).slice(-9)}Z`:{seconds:""+A.seconds,nanos:A.nanoseconds}}function SQ(e,A){return e.useProto3Json?A.toBase64():A.toUint8Array()}function FP(e,A){return wu(e,A.toTimestamp())}function _t(e){return BA(!!e),AA.fromTimestamp(function(t){const r=Gr(t);return new $A(r.seconds,r.nanos)}(e))}function Xg(e,A){return wd(e,A).canonicalString()}function wd(e,A){const t=function(n){return new IA(["projects",n.projectId,"databases",n.database])}(e).child("documents");return A===void 0?t:t.child(A)}function RQ(e){const A=IA.fromString(e);return BA(PQ(A)),A}function yd(e,A){return Xg(e.databaseId,A.path)}function Ph(e,A){const t=RQ(A);if(t.get(1)!==e.databaseId.projectId)throw new W(P.INVALID_ARGUMENT,"Tried to deserialize key from different project: "+t.get(1)+" vs "+e.databaseId.projectId);if(t.get(3)!==e.databaseId.database)throw new W(P.INVALID_ARGUMENT,"Tried to deserialize key from different database: "+t.get(3)+" vs "+e.databaseId.database);
2216return new J(LQ(t))}function HQ(e,A){return Xg(e.databaseId,A)}function TP(e){const A=RQ(e);return A.length===4?IA.emptyPath():LQ(A)}function vd(e){return new IA(["projects",e.databaseId.projectId,"databases",e.databaseId.database]).canonicalString()}function LQ(e){return BA(e.length>4&&e.get(4)==="documents"),e.popFirst(5)}function v0(e,A,t){return{name:yd(e,A),fields:t.value.mapValue.fields}}function SP(e,A){let t;if("targetChange"in A){A.targetChange;const r=function(u){return u==="NO_CHANGE"?0:u==="ADD"?1:u==="REMOVE"?2:u==="CURRENT"?3:u==="RESET"?4:q()}(A.targetChange.targetChangeType||"NO_CHANGE"),n=A.targetChange.targetIds||[],i=function(u,h){return u.useProto3Json?(BA(h===void 0||typeof h=="string"),ue.fromBase64String(h||"")):(BA(h===void 0||h instanceof Buffer||h instanceof Uint8Array),ue.fromUint8Array(h||new Uint8Array))}(e,A.targetChange.resumeToken),s=A.targetChange.cause,a=s&&function(u){const h=u.code===void 0?P.UNKNOWN:UQ(u.code);return new W(h,u.message||"")}(s);t=new TQ(r,n,i,a||null)}else if("documentChange"in A){A.documentChange;const r=A.documentChange;r.document,r.document.name,r.document.updateTime;const n=Ph(e,r.document.name),i=_t(r.document.updateTime),s=r.document.createTime?_t(r.document.createTime):AA.min(),a=new $e({mapValue:{fields:r.document.fields}}),l=ve.newFoundDocument(n,i,s,a),u=r.targetIds||[],h=r.removedTargetIds||[];t=new Il(u,h,l.key,l)}else if("documentDelete"in A){A.documentDelete;const r=A.documentDelete;r.document;const n=Ph(e,r.document),i=r.readTime?_t(r.readTime):AA.min(),s=ve.newNoDocument(n,i),a=r.removedTargetIds||[];t=new Il([],a,s.key,s)}else if("documentRemove"in A){A.documentRemove;const r=A.documentRemove;r.document;const n=Ph(e,r.document),i=r.removedTargetIds||[];t=new Il([],i,n,null)}else{if(!("filter"in A))return q();{A.filter;const r=A.filter;r.targetId;const{count:n=0,unchangedNames:i}=r,s=new wP(n,i),a=r.targetId;t=new FQ(a,s)}}return t}function RP(e,A){let t;if(A instanceof Mo)t={update:v0(e,A.key,A.value)};else if(A instanceof IQ)t={delete:yd(e,A.key)};else if(A instanceof Fn)t={update:v0(e,A.key,A.data),updateMask:bP(A.fieldMask)};else{if(!(A instanceof pP))return q();t={verify:yd(e,A.key)}}return A.fieldTransforms.length>0&&(t.updateTransforms=A.fieldTransforms.map(r=>function(i,s){const a=s.transform;if(a instanceof _o)return{fieldPath:s.field.canonicalString(),setToServerValue:"REQUEST_TIME"};if(a instanceof Io)return{fieldPath:s.field.canonicalString(),appendMissingElements:{values:a.elements}};if(a instanceof Uo)return{fieldPath:s.field.canonicalString(),removeAllFromArray:{values:a.elements}};if(a instanceof mu)return{fieldPath:s.field.canonicalString(),increment:a.Pe};throw q()}(0,r))),A.precondition.isNone||(t.currentDocument=function(n,i){return i.updateTime!==void 0?{updateTime:FP(n,i.updateTime)}:i.exists!==void 0?{exists:i.exists}:q()}(e,A.precondition)),t}function HP(e,A){return e&&e.length>0?(BA(A!==void 0),e.map(t=>function(n,i){let s=n.updateTime?_t(n.updateTime):_t(i);return s.isEqual(AA.min())&&(s=_t(i)),new fP(s,n.transformResults||[])}(t,A))):[]}function LP(e,A){return{documents:[HQ(e,A.path)]}}function DP(e,A){const t={structuredQuery:{}},r=A.path;let n;A.collectionGroup!==null?(n=r,t.structuredQuery.from=[{collectionId:A.collectionGroup,allDescendants:!0}]):(n=r.popLast(),t.structuredQuery.from=[{collectionId:r.lastSegment()}]),t.parent=HQ(e,n);const i=function(u){if(u.length!==0)return xQ(dt.create(u,"and"))}(A.filters);i&&(t.structuredQuery.where=i);const s=function(u){if(u.length!==0)return u.map(h=>function(g){return{field:Wn(g.field),direction:kP(g.dir)}}(h))}(A.orderBy);s&&(t.structuredQuery.orderBy=s);const a=md(e,A.limit);return a!==null&&(t.structuredQuery.limit=a),A.startAt&&(t.structuredQuery.startAt=function(u){return{before:u.inclusive,values:u.position}}(A.startAt)),A.endAt&&(t.structuredQuery.endAt=function(u){return{before:!u.inclusive,values:u.position}}(A.endAt)),{_t:t,parent:n}}function xP(e){let A=TP(e.parent);const t=e.structuredQuery,r=t.from?t.from.length:0;let n=null;if(r>0){BA(r===1);const h=t.from[0];h.allDescendants?n=h.collectionId:A=A.child(h.collectionId)}let i=[];t.where&&(i=function(d){const g=DQ(d);return g instanceof dt&&aQ(g)?g.getFilters():[g]}(t.where));let s=[];t.orderBy&&(s=function(d){return d.map(g=>function(_){return new Qo(jn(_.field),function(L){switch(L){case"ASCENDING":return"asc";case"DESCENDING":return"desc";default:return}}(_.direction))}(g))}(t.orderBy));let a=null;t.limit&&(a=function(d){let g;return g=typeof d=="object"?d.value:d,ec(g)?null:g}(t.limit));let l=null;t.startAt&&(l=function(d){const g=!!d.before,E=d.values||[];return new Bu(E,g)}(t.startAt));let u=null;return t.endAt&&(u=function(d){const g=!d.before,E=d.values||[];return new Bu(E,g)}(t.endAt)),Zx(A,n,s,i,a,"F",l,u)}function PP(e,A){const t=function(n){switch(n){case"TargetPurposeListen":return null;case"TargetPurposeExistenceFilterMismatch":return"existence-filter-mismatch";case"TargetPurposeExistenceFilterMismatchBloom":return"existence-filter-mismatch-bloom";case"TargetPurposeLimboResolution":return"limbo-document";default:return q()}}(A.purpose);return t==null?null:{"goog-listen-tags":t}}function DQ(e){return e.unaryFilter!==void 0?function(t){switch(t.unaryFilter.op){case"IS_NAN":const r=jn(t.unaryFilter.field);return WA.create(r,"==",{doubleValue:NaN});case"IS_NULL":const n=jn(t.unaryFilter.field);return WA.create(n,"==",{nullValue:"NULL_VALUE"});
2216case"IS_NOT_NAN":const i=jn(t.unaryFilter.field);return WA.create(i,"!=",{doubleValue:NaN});case"IS_NOT_NULL":const s=jn(t.unaryFilter.field);return WA.create(s,"!=",{nullValue:"NULL_VALUE"});default:return q()}}(e):e.fieldFilter!==void 0?function(t){return WA.create(jn(t.fieldFilter.field),function(n){switch(n){case"EQUAL":return"==";case"NOT_EQUAL":return"!=";case"GREATER_THAN":return">";case"GREATER_THAN_OR_EQUAL":return">=";case"LESS_THAN":return"<";case"LESS_THAN_OR_EQUAL":return"<=";case"ARRAY_CONTAINS":return"array-contains";case"IN":return"in";case"NOT_IN":return"not-in";case"ARRAY_CONTAINS_ANY":return"array-contains-any";default:return q()}}(t.fieldFilter.op),t.fieldFilter.value)}(e):e.compositeFilter!==void 0?function(t){return dt.create(t.compositeFilter.filters.map(r=>DQ(r)),function(n){switch(n){case"AND":return"and";case"OR":return"or";default:return q()}}(t.compositeFilter.op))}(e):q()}function kP(e){return QP[e]}function OP(e){return _P[e]}function NP(e){return IP[e]}function Wn(e){return{fieldPath:e.canonicalString()}}function jn(e){return ie.fromServerFormat(e.fieldPath)}function xQ(e){return e instanceof WA?function(t){if(t.op==="=="){if(o0(t.value))return{unaryFilter:{field:Wn(t.field),op:"IS_NAN"}};if(s0(t.value))return{unaryFilter:{field:Wn(t.field),op:"IS_NULL"}}}else if(t.op==="!="){if(o0(t.value))return{unaryFilter:{field:Wn(t.field),op:"IS_NOT_NAN"}};if(s0(t.value))return{unaryFilter:{field:Wn(t.field),op:"IS_NOT_NULL"}}}return{fieldFilter:{field:Wn(t.field),op:OP(t.op),value:t.value}}}(e):e instanceof dt?function(t){const r=t.getFilters().map(n=>xQ(n));return r.length===1?r[0]:{compositeFilter:{op:NP(t.op),filters:r}}}(e):q()}function bP(e){const A=[];return e.fields.forEach(t=>A.push(t.canonicalString())),{fieldPaths:A}}function PQ(e){return e.length>=4&&e.get(0)==="projects"&&e.get(2)==="databases"}/** 2217 * @license 2218 * Copyright 2017 Google LLC 2219 * 2220 * Licensed under the Apache License, Version 2.0 (the "License"); 2221 * you may not use this file except in compliance with the License. 2222 * You may obtain a copy of the License at 2223 * 2224 * http://www.apache.org/licenses/LICENSE-2.0 2225 * 2226 * Unless required by applicable law or agreed to in writing, software 2227 * distributed under the License is distributed on an "AS IS" BASIS, 2228 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2229 * See the License for the specific language governing permissions and 2230 * limitations under the License. 2231 */class Er{constructor(A,t,r,n,i=AA.min(),s=AA.min(),a=ue.EMPTY_BYTE_STRING,l=null){this.target=A,this.targetId=t,this.purpose=r,this.sequenceNumber=n,this.snapshotVersion=i,this.lastLimboFreeSnapshotVersion=s,this.resumeToken=a,this.expectedCount=l}withSequenceNumber(A){return new Er(this.target,this.targetId,this.purpose,A,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,this.expectedCount)}withResumeToken(A,t){return new Er(this.target,this.targetId,this.purpose,this.sequenceNumber,t,this.lastLimboFreeSnapshotVersion,A,null)}withExpectedCount(A){return new Er(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,A)}withLastLimboFreeSnapshotVersion(A){return new Er(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,A,this.resumeToken,this.expectedCount)}}/** 2232 * @license 2233 * Copyright 2017 Google LLC 2234 * 2235 * Licensed under the Apache License, Version 2.0 (the "License"); 2236 * you may not use this file except in compliance with the License. 2237 * You may obtain a copy of the License at 2238 * 2239 * http://www.apache.org/licenses/LICENSE-2.0 2240 * 2241 * Unless required by applicable law or agreed to in writing, software 2242 * distributed under the License is distributed on an "AS IS" BASIS, 2243 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2244 * See the License for the specific language governing permissions and 2245 * limitations under the License. 2246 */class VP{constructor(A){this.ct=A}}function MP(e){const A=xP({parent:e.parent,structuredQuery:e.structuredQuery});return e.limitType==="LAST"?Bd(A,A.limit,"L"):A}/** 2247 * @license 2248 * Copyright 2019 Google LLC 2249 * 2250 * Licensed under the Apache License, Version 2.0 (the "License");
2251 * you may not use this file except in compliance with the License. 2252 * You may obtain a copy of the License at 2253 * 2254 * http://www.apache.org/licenses/LICENSE-2.0 2255 * 2256 * Unless required by applicable law or agreed to in writing, software 2257 * distributed under the License is distributed on an "AS IS" BASIS, 2258 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2259 * See the License for the specific language governing permissions and 2260 * limitations under the License. 2261 */class KP{constructor(){this.un=new GP}addToCollectionParentIndex(A,t){return this.un.add(t),k.resolve()}getCollectionParents(A,t){return k.resolve(this.un.getEntries(t))}addFieldIndex(A,t){return k.resolve()}deleteFieldIndex(A,t){return k.resolve()}deleteAllFieldIndexes(A){return k.resolve()}createTargetIndexes(A,t){return k.resolve()}getDocumentsMatchingTarget(A,t){return k.resolve(null)}getIndexType(A,t){return k.resolve(0)}getFieldIndexes(A,t){return k.resolve([])}getNextCollectionGroupToUpdate(A){return k.resolve(null)}getMinOffset(A,t){return k.resolve(Kr.min())}getMinOffsetFromCollectionGroup(A,t){return k.resolve(Kr.min())}updateCollectionGroup(A,t,r){return k.resolve()}updateIndexEntries(A,t){return k.resolve()}}class GP{constructor(){this.index={}}add(A){const t=A.lastSegment(),r=A.popLast(),n=this.index[t]||new ae(IA.comparator),i=!n.has(r);return this.index[t]=n.add(r),i}has(A){const t=A.lastSegment(),r=A.popLast(),n=this.index[t];return n&&n.has(r)}getEntries(A){return(this.index[A]||new ae(IA.comparator)).toArray()}}/** 2262 * @license 2263 * Copyright 2017 Google LLC 2264 * 2265 * Licensed under the Apache License, Version 2.0 (the "License"); 2266 * you may not use this file except in compliance with the License. 2267 * You may obtain a copy of the License at 2268 * 2269 * http://www.apache.org/licenses/LICENSE-2.0 2270 * 2271 * Unless required by applicable law or agreed to in writing, software 2272 * distributed under the License is distributed on an "AS IS" BASIS, 2273 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2274 * See the License for the specific language governing permissions and 2275 * limitations under the License. 2276 */class Ri{constructor(A){this.Ln=A}next(){return this.Ln+=2,this.Ln}static Bn(){return new Ri(0)}static kn(){return new Ri(-1)}}/** 2277 * @license 2278 * Copyright 2017 Google LLC 2279 * 2280 * Licensed under the Apache License, Version 2.0 (the "License"); 2281 * you may not use this file except in compliance with the License. 2282 * You may obtain a copy of the License at 2283 * 2284 * http://www.apache.org/licenses/LICENSE-2.0 2285 * 2286 * Unless required by applicable law or agreed to in writing, software 2287 * distributed under the License is distributed on an "AS IS" BASIS, 2288 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2289 * See the License for the specific language governing permissions and 2290 * limitations under the License. 2291 */class WP{constructor(){this.changes=new Ki(A=>A.toString(),(A,t)=>A.isEqual(t)),this.changesApplied=!1}addEntry(A){this.assertNotApplied(),this.changes.set(A.key,A)}removeEntry(A,t){this.assertNotApplied(),this.changes.set(A,ve.newInvalidDocument(A).setReadTime(t))}getEntry(A,t){this.assertNotApplied();const r=this.changes.get(t);return r!==void 0?k.resolve(r):this.getFromCache(A,t)}getEntries(A,t){return this.getAllFromCache(A,t)}apply(A){return this.assertNotApplied(),this.changesApplied=!0,this.applyChanges(A)}assertNotApplied(){}}/** 2292 * @license 2293 * Copyright 2017 Google LLC 2294 * 2295 * Licensed under the Apache License, Version 2.0 (the "License"); 2296 * you may not use this file except in compliance with the License. 2297 * You may obtain a copy of the License at 2298 * 2299 * http://www.apache.org/licenses/LICENSE-2.0 2300 * 2301 * Unless required by applicable law or agreed to in writing, software 2302 * distributed under the License is distributed on an "AS IS" BASIS, 2303 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2304 * See the License for the specific language governing permissions and 2305 * limitations under the License. 2306 *//** 2307 * @license 2308 * Copyright 2022 Google LLC 2309 * 2310 * Licensed under the Apache License, Version 2.0 (the "License");
2311 * you may not use this file except in compliance with the License. 2312 * You may obtain a copy of the License at 2313 * 2314 * http://www.apache.org/licenses/LICENSE-2.0 2315 * 2316 * Unless required by applicable law or agreed to in writing, software 2317 * distributed under the License is distributed on an "AS IS" BASIS, 2318 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2319 * See the License for the specific language governing permissions and 2320 * limitations under the License. 2321 */class jP{constructor(A,t){this.overlayedDocument=A,this.mutatedFields=t}}/** 2322 * @license 2323 * Copyright 2017 Google LLC 2324 * 2325 * Licensed under the Apache License, Version 2.0 (the "License"); 2326 * you may not use this file except in compliance with the License. 2327 * You may obtain a copy of the License at 2328 * 2329 * http://www.apache.org/licenses/LICENSE-2.0 2330 * 2331 * Unless required by applicable law or agreed to in writing, software 2332 * distributed under the License is distributed on an "AS IS" BASIS, 2333 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2334 * See the License for the specific language governing permissions and 2335 * limitations under the License. 2336 */class zP{constructor(A,t,r,n){this.remoteDocumentCache=A,this.mutationQueue=t,this.documentOverlayCache=r,this.indexManager=n}getDocument(A,t){let r=null;return this.documentOverlayCache.getOverlay(A,t).next(n=>(r=n,this.remoteDocumentCache.getEntry(A,t))).next(n=>(r!==null&&$s(r.mutation,n,ut.empty(),$A.now()),n))}getDocuments(A,t){return this.remoteDocumentCache.getEntries(A,t).next(r=>this.getLocalViewOfDocuments(A,r,sA()).next(()=>r))}getLocalViewOfDocuments(A,t,r=sA()){const n=ln();return this.populateOverlays(A,n,t).next(()=>this.computeViews(A,t,n,r).next(i=>{let s=Ss();return i.forEach((a,l)=>{s=s.insert(a,l.overlayedDocument)}),s}))}getOverlayedDocuments(A,t){const r=ln();return this.populateOverlays(A,r,t).next(()=>this.computeViews(A,t,r,sA()))}populateOverlays(A,t,r){const n=[];return r.forEach(i=>{t.has(i)||n.push(i)}),this.documentOverlayCache.getOverlays(A,n).next(i=>{i.forEach((s,a)=>{t.set(s,a)})})}computeViews(A,t,r,n){let i=Zt();const s=Js(),a=function(){return Js()}();return t.forEach((l,u)=>{const h=r.get(u.key);n.has(u.key)&&(h===void 0||h.mutation instanceof Fn)?i=i.insert(u.key,u):h!==void 0?(s.set(u.key,h.mutation.getFieldMask()),$s(h.mutation,u,h.mutation.getFieldMask(),$A.now())):s.set(u.key,ut.empty())}),this.recalculateAndSaveOverlays(A,i).next(l=>(l.forEach((u,h)=>s.set(u,h)),t.forEach((u,h)=>{var d;return a.set(u,new jP(h,(d=s.get(u))!==null&&d!==void 0?d:null))}),a))}recalculateAndSaveOverlays(A,t){const r=Js();let n=new DA((s,a)=>s-a),i=sA();return this.mutationQueue.getAllMutationBatchesAffectingDocumentKeys(A,t).next(s=>{for(const a of s)a.keys().forEach(l=>{const u=t.get(l);if(u===null)return;let h=r.get(l)||ut.empty();h=a.applyToLocalView(u,h),r.set(l,h);const d=(n.get(a.batchId)||sA()).add(l);n=n.insert(a.batchId,d)})}).next(()=>{const s=[],a=n.getReverseIterator();for(;a.hasNext();){const l=a.getNext(),u=l.key,h=l.value,d=mQ();h.forEach(g=>{if(!i.has(g)){const E=QQ(t.get(g),r.get(g));E!==null&&d.set(g,E),i=i.add(g)}}),s.push(this.documentOverlayCache.saveOverlays(A,u,d))}return k.waitFor(s)}).next(()=>r)}recalculateAndSaveOverlaysForDocumentKeys(A,t){return this.remoteDocumentCache.getEntries(A,t).next(r=>this.recalculateAndSaveOverlays(A,r))}getDocumentsMatchingQuery(A,t,r,n){return function(s){return J.isDocumentKey(s.path)&&s.collectionGroup===null&&s.filters.length===0}(t)?this.getDocumentsMatchingDocumentQuery(A,t.path):fQ(t)?this.getDocumentsMatchingCollectionGroupQuery(A,t,r,n):this.getDocumentsMatchingCollectionQuery(A,t,r,n)}getNextDocuments(A,t,r,n){return this.remoteDocumentCache.getAllFromCollectionGroup(A,t,r,n).next(i=>{const s=n-i.size>0?this.documentOverlayCache.getOverlaysForCollectionGroup(A,t,r.largestBatchId,n-i.size):k.resolve(ln());let a=-1,l=i;return s.next(u=>k.forEach(u,(h,d)=>(a<d.largestBatchId&&(a=d.largestBatchId),i.get(h)?k.resolve():this.remoteDocumentCache.getEntry(A,h).next(g=>{l=l.insert(h,g)}))).next(()=>this.populateOverlays(A,u,i)).next(()=>this.computeViews(A,l,u,sA())).next(h=>({batchId:a,changes:BQ(h)})))})}getDocumentsMatchingDocumentQuery(A,t){return this.getDocument(A,new J(t)).next(r=>{let n=Ss();
vendor: 4,202 bytes, lines 2336-2370
2336return r.isFoundDocument()&&(n=n.insert(r.key,r)),n})}getDocumentsMatchingCollectionGroupQuery(A,t,r,n){const i=t.collectionGroup;let s=Ss();return this.indexManager.getCollectionParents(A,i).next(a=>k.forEach(a,l=>{const u=function(d,g){return new Mi(g,null,d.explicitOrderBy.slice(),d.filters.slice(),d.limit,d.limitType,d.startAt,d.endAt)}(t,l.child(i));return this.getDocumentsMatchingCollectionQuery(A,u,r,n).next(h=>{h.forEach((d,g)=>{s=s.insert(d,g)})})}).next(()=>s))}getDocumentsMatchingCollectionQuery(A,t,r,n){let i;return this.documentOverlayCache.getOverlaysForCollection(A,t.path,r.largestBatchId).next(s=>(i=s,this.remoteDocumentCache.getDocumentsMatchingQuery(A,t,r,i,n))).next(s=>{i.forEach((l,u)=>{const h=u.getKey();s.get(h)===null&&(s=s.insert(h,ve.newInvalidDocument(h)))});let a=Ss();return s.forEach((l,u)=>{const h=i.get(l);h!==void 0&&$s(h.mutation,u,ut.empty(),$A.now()),rc(t,u)&&(a=a.insert(l,u))}),a})}}/** 2337 * @license 2338 * Copyright 2020 Google LLC 2339 * 2340 * Licensed under the Apache License, Version 2.0 (the "License"); 2341 * you may not use this file except in compliance with the License. 2342 * You may obtain a copy of the License at 2343 * 2344 * http://www.apache.org/licenses/LICENSE-2.0 2345 * 2346 * Unless required by applicable law or agreed to in writing, software 2347 * distributed under the License is distributed on an "AS IS" BASIS, 2348 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2349 * See the License for the specific language governing permissions and 2350 * limitations under the License. 2351 */class XP{constructor(A){this.serializer=A,this.hr=new Map,this.Pr=new Map}getBundleMetadata(A,t){return k.resolve(this.hr.get(t))}saveBundleMetadata(A,t){return this.hr.set(t.id,function(n){return{id:n.id,version:n.version,createTime:_t(n.createTime)}}(t)),k.resolve()}getNamedQuery(A,t){return k.resolve(this.Pr.get(t))}saveNamedQuery(A,t){return this.Pr.set(t.name,function(n){return{name:n.name,query:MP(n.bundledQuery),readTime:_t(n.readTime)}}(t)),k.resolve()}}/** 2352 * @license 2353 * Copyright 2022 Google LLC 2354 * 2355 * Licensed under the Apache License, Version 2.0 (the "License"); 2356 * you may not use this file except in compliance with the License. 2357 * You may obtain a copy of the License at 2358 * 2359 * http://www.apache.org/licenses/LICENSE-2.0 2360 * 2361 * Unless required by applicable law or agreed to in writing, software 2362 * distributed under the License is distributed on an "AS IS" BASIS, 2363 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2364 * See the License for the specific language governing permissions and 2365 * limitations under the License. 2366 */class JP{constructor(){this.overlays=new DA(J.comparator),this.Ir=new Map}getOverlay(A,t){return k.resolve(this.overlays.get(t))}getOverlays(A,t){const r=ln();return k.forEach(t,n=>this.getOverlay(A,n).next(i=>{i!==null&&r.set(n,i)})).next(()=>r)}saveOverlays(A,t,r){return r.forEach((n,i)=>{this.ht(A,t,i)}),k.resolve()}removeOverlaysForBatchId(A,t,r){const n=this.Ir.get(r);return n!==void 0&&(n.forEach(i=>this.overlays=this.overlays.remove(i)),this.Ir.delete(r)),k.resolve()}getOverlaysForCollection(A,t,r){const n=ln(),i=t.length+1,s=new J(t.child("")),a=this.overlays.getIteratorFrom(s);for(;a.hasNext();){const l=a.getNext().value,u=l.getKey();if(!t.isPrefixOf(u.path))break;u.path.length===i&&l.largestBatchId>r&&n.set(l.getKey(),l)}return k.resolve(n)}getOverlaysForCollectionGroup(A,t,r,n){let i=new DA((u,h)=>u-h);const s=this.overlays.getIterator();for(;s.hasNext();){const u=s.getNext().value;if(u.getKey().getCollectionGroup()===t&&u.largestBatchId>r){let h=i.get(u.largestBatchId);h===null&&(h=ln(),i=i.insert(u.largestBatchId,h)),h.set(u.getKey(),u)}}const a=ln(),l=i.getIterator();for(;l.hasNext()&&(l.getNext().value.forEach((u,h)=>a.set(u,h)),!(a.size()>=n)););return k.resolve(a)}ht(A,t,r){const n=this.overlays.get(r.key);if(n!==null){const s=this.Ir.get(n.largestBatchId).delete(r.key);this.Ir.set(n.largestBatchId,s)}this.overlays=this.overlays.insert(r.key,new mP(t,r));let i=this.Ir.get(t);i===void 0&&(i=sA(),this.Ir.set(t,i)),this.Ir.set(t,i.add(r.key))}}/** 2367 * @license 2368 * Copyright 2024 Google LLC 2369 * 2370 * Licensed under the Apache License, Version 2.0 (the "License");
2371 * you may not use this file except in compliance with the License. 2372 * You may obtain a copy of the License at 2373 * 2374 * http://www.apache.org/licenses/LICENSE-2.0 2375 * 2376 * Unless required by applicable law or agreed to in writing, software 2377 * distributed under the License is distributed on an "AS IS" BASIS, 2378 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2379 * See the License for the specific language governing permissions and 2380 * limitations under the License. 2381 */class $P{constructor(){this.sessionToken=ue.EMPTY_BYTE_STRING}getSessionToken(A){return k.resolve(this.sessionToken)}setSessionToken(A,t){return this.sessionToken=t,k.resolve()}}/** 2382 * @license 2383 * Copyright 2017 Google LLC 2384 * 2385 * Licensed under the Apache License, Version 2.0 (the "License"); 2386 * you may not use this file except in compliance with the License. 2387 * You may obtain a copy of the License at 2388 * 2389 * http://www.apache.org/licenses/LICENSE-2.0 2390 * 2391 * Unless required by applicable law or agreed to in writing, software 2392 * distributed under the License is distributed on an "AS IS" BASIS, 2393 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2394 * See the License for the specific language governing permissions and 2395 * limitations under the License. 2396 */class Jg{constructor(){this.Tr=new ae(qA.Er),this.dr=new ae(qA.Ar)}isEmpty(){return this.Tr.isEmpty()}addReference(A,t){const r=new qA(A,t);this.Tr=this.Tr.add(r),this.dr=this.dr.add(r)}Rr(A,t){A.forEach(r=>this.addReference(r,t))}removeReference(A,t){this.Vr(new qA(A,t))}mr(A,t){A.forEach(r=>this.removeReference(r,t))}gr(A){const t=new J(new IA([])),r=new qA(t,A),n=new qA(t,A+1),i=[];return this.dr.forEachInRange([r,n],s=>{this.Vr(s),i.push(s.key)}),i}pr(){this.Tr.forEach(A=>this.Vr(A))}Vr(A){this.Tr=this.Tr.delete(A),this.dr=this.dr.delete(A)}yr(A){const t=new J(new IA([])),r=new qA(t,A),n=new qA(t,A+1);let i=sA();return this.dr.forEachInRange([r,n],s=>{i=i.add(s.key)}),i}containsKey(A){const t=new qA(A,0),r=this.Tr.firstAfterOrEqual(t);return r!==null&&A.isEqual(r.key)}}class qA{constructor(A,t){this.key=A,this.wr=t}static Er(A,t){return J.comparator(A.key,t.key)||dA(A.wr,t.wr)}static Ar(A,t){return dA(A.wr,t.wr)||J.comparator(A.key,t.key)}}/** 2397 * @license 2398 * Copyright 2017 Google LLC 2399 * 2400 * Licensed under the Apache License, Version 2.0 (the "License"); 2401 * you may not use this file except in compliance with the License. 2402 * You may obtain a copy of the License at 2403 * 2404 * http://www.apache.org/licenses/LICENSE-2.0 2405 * 2406 * Unless required by applicable law or agreed to in writing, software 2407 * distributed under the License is distributed on an "AS IS" BASIS, 2408 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2409 * See the License for the specific language governing permissions and 2410 * limitations under the License. 2411 */class YP{constructor(A,t){this.indexManager=A,this.referenceDelegate=t,this.mutationQueue=[],this.Sr=1,this.br=new ae(qA.Er)}checkEmpty(A){return k.resolve(this.mutationQueue.length===0)}addMutationBatch(A,t,r,n){const i=this.Sr;this.Sr++,this.mutationQueue.length>0&&this.mutationQueue[this.mutationQueue.length-1];const s=new BP(i,t,r,n);this.mutationQueue.push(s);for(const a of n)this.br=this.br.add(new qA(a.key,i)),this.indexManager.addToCollectionParentIndex(A,a.key.path.popLast());return k.resolve(s)}lookupMutationBatch(A,t){return k.resolve(this.Dr(t))}getNextMutationBatchAfterBatchId(A,t){const r=t+1,n=this.vr(r),i=n<0?0:n;return k.resolve(this.mutationQueue.length>i?this.mutationQueue[i]:null)}getHighestUnacknowledgedBatchId(){return k.resolve(this.mutationQueue.length===0?-1:this.Sr-1)}getAllMutationBatches(A){return k.resolve(this.mutationQueue.slice())}getAllMutationBatchesAffectingDocumentKey(A,t){const r=new qA(t,0),n=new qA(t,Number.POSITIVE_INFINITY),i=[];return this.br.forEachInRange([r,n],s=>{const a=this.Dr(s.wr);i.push(a)}),k.resolve(i)}getAllMutationBatchesAffectingDocumentKeys(A,t){let r=new ae(dA);return t.forEach(n=>{const i=new qA(n,0),s=new qA(n,Number.POSITIVE_INFINITY);this.br.forEachInRange([i,s],a=>{r=r.add(a.wr)})}),k.resolve(this.Cr(r))}getAllMutationBatchesAffectingQuery(A,t){const r=t.path,n=r.length+1;let i=r;J.isDocumentKey(i)||(i=i.child(""));const s=new qA(new J(i),0);let a=new ae(dA);return this.br.forEachWhile(l=>{const u=l.key.path;return!!r.isPrefixOf(u)&&(u.length===n&&(a=a.add(l.wr)),!0)},s),k.resolve(this.Cr(a))}Cr(A){const t=[];return A.forEach(r=>{const n=this.Dr(r);n!==null&&t.push(n)}),t}removeMutationBatch(A,t){BA(this.Fr(t.batchId,"removed")===0),this.mutation
2411Queue.shift();let r=this.br;return k.forEach(t.mutations,n=>{const i=new qA(n.key,t.batchId);return r=r.delete(i),this.referenceDelegate.markPotentiallyOrphaned(A,n.key)}).next(()=>{this.br=r})}On(A){}containsKey(A,t){const r=new qA(t,0),n=this.br.firstAfterOrEqual(r);return k.resolve(t.isEqual(n&&n.key))}performConsistencyCheck(A){return this.mutationQueue.length,k.resolve()}Fr(A,t){return this.vr(A)}vr(A){return this.mutationQueue.length===0?0:A-this.mutationQueue[0].batchId}Dr(A){const t=this.vr(A);return t<0||t>=this.mutationQueue.length?null:this.mutationQueue[t]}}/** 2412 * @license 2413 * Copyright 2017 Google LLC 2414 * 2415 * Licensed under the Apache License, Version 2.0 (the "License"); 2416 * you may not use this file except in compliance with the License. 2417 * You may obtain a copy of the License at 2418 * 2419 * http://www.apache.org/licenses/LICENSE-2.0 2420 * 2421 * Unless required by applicable law or agreed to in writing, software 2422 * distributed under the License is distributed on an "AS IS" BASIS, 2423 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2424 * See the License for the specific language governing permissions and 2425 * limitations under the License. 2426 */class qP{constructor(A){this.Mr=A,this.docs=function(){return new DA(J.comparator)}(),this.size=0}setIndexManager(A){this.indexManager=A}addEntry(A,t){const r=t.key,n=this.docs.get(r),i=n?n.size:0,s=this.Mr(t);return this.docs=this.docs.insert(r,{document:t.mutableCopy(),size:s}),this.size+=s-i,this.indexManager.addToCollectionParentIndex(A,r.path.popLast())}removeEntry(A){const t=this.docs.get(A);t&&(this.docs=this.docs.remove(A),this.size-=t.size)}getEntry(A,t){const r=this.docs.get(t);return k.resolve(r?r.document.mutableCopy():ve.newInvalidDocument(t))}getEntries(A,t){let r=Zt();return t.forEach(n=>{const i=this.docs.get(n);r=r.insert(n,i?i.document.mutableCopy():ve.newInvalidDocument(n))}),k.resolve(r)}getDocumentsMatchingQuery(A,t,r,n){let i=Zt();const s=t.path,a=new J(s.child("")),l=this.docs.getIteratorFrom(a);for(;l.hasNext();){const{key:u,value:{document:h}}=l.getNext();if(!s.isPrefixOf(u.path))break;u.path.length>s.length+1||Dx(Lx(h),r)<=0||(n.has(h.key)||rc(t,h))&&(i=i.insert(h.key,h.mutableCopy()))}return k.resolve(i)}getAllFromCollectionGroup(A,t,r,n){q()}Or(A,t){return k.forEach(this.docs,r=>t(r))}newChangeBuffer(A){return new ZP(this)}getSize(A){return k.resolve(this.size)}}class ZP extends WP{constructor(A){super(),this.cr=A}applyChanges(A){const t=[];
vendor: 9,251 bytes, lines 2426-2501
2426return this.changes.forEach((r,n)=>{n.isValidDocument()?t.push(this.cr.addEntry(A,n)):this.cr.removeEntry(r)}),k.waitFor(t)}getFromCache(A,t){return this.cr.getEntry(A,t)}getAllFromCache(A,t){return this.cr.getEntries(A,t)}}/** 2427 * @license 2428 * Copyright 2017 Google LLC 2429 * 2430 * Licensed under the Apache License, Version 2.0 (the "License"); 2431 * you may not use this file except in compliance with the License. 2432 * You may obtain a copy of the License at 2433 * 2434 * http://www.apache.org/licenses/LICENSE-2.0 2435 * 2436 * Unless required by applicable law or agreed to in writing, software 2437 * distributed under the License is distributed on an "AS IS" BASIS, 2438 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2439 * See the License for the specific language governing permissions and 2440 * limitations under the License. 2441 */class Ak{constructor(A){this.persistence=A,this.Nr=new Ki(t=>Kg(t),Gg),this.lastRemoteSnapshotVersion=AA.min(),this.highestTargetId=0,this.Lr=0,this.Br=new Jg,this.targetCount=0,this.kr=Ri.Bn()}forEachTarget(A,t){return this.Nr.forEach((r,n)=>t(n)),k.resolve()}getLastRemoteSnapshotVersion(A){return k.resolve(this.lastRemoteSnapshotVersion)}getHighestSequenceNumber(A){return k.resolve(this.Lr)}allocateTargetId(A){return this.highestTargetId=this.kr.next(),k.resolve(this.highestTargetId)}setTargetsMetadata(A,t,r){return r&&(this.lastRemoteSnapshotVersion=r),t>this.Lr&&(this.Lr=t),k.resolve()}Kn(A){this.Nr.set(A.target,A);const t=A.targetId;t>this.highestTargetId&&(this.kr=new Ri(t),this.highestTargetId=t),A.sequenceNumber>this.Lr&&(this.Lr=A.sequenceNumber)}addTargetData(A,t){return this.Kn(t),this.targetCount+=1,k.resolve()}updateTargetData(A,t){return this.Kn(t),k.resolve()}removeTargetData(A,t){return this.Nr.delete(t.target),this.Br.gr(t.targetId),this.targetCount-=1,k.resolve()}removeTargets(A,t,r){let n=0;const i=[];return this.Nr.forEach((s,a)=>{a.sequenceNumber<=t&&r.get(a.targetId)===null&&(this.Nr.delete(s),i.push(this.removeMatchingKeysForTargetId(A,a.targetId)),n++)}),k.waitFor(i).next(()=>n)}getTargetCount(A){return k.resolve(this.targetCount)}getTargetData(A,t){const r=this.Nr.get(t)||null;return k.resolve(r)}addMatchingKeys(A,t,r){return this.Br.Rr(t,r),k.resolve()}removeMatchingKeys(A,t,r){this.Br.mr(t,r);const n=this.persistence.referenceDelegate,i=[];return n&&t.forEach(s=>{i.push(n.markPotentiallyOrphaned(A,s))}),k.waitFor(i)}removeMatchingKeysForTargetId(A,t){return this.Br.gr(t),k.resolve()}getMatchingKeysForTargetId(A,t){const r=this.Br.yr(t);return k.resolve(r)}containsKey(A,t){return k.resolve(this.Br.containsKey(t))}}/** 2442 * @license 2443 * Copyright 2017 Google LLC 2444 * 2445 * Licensed under the Apache License, Version 2.0 (the "License"); 2446 * you may not use this file except in compliance with the License. 2447 * You may obtain a copy of the License at 2448 * 2449 * http://www.apache.org/licenses/LICENSE-2.0 2450 * 2451 * Unless required by applicable law or agreed to in writing, software 2452 * distributed under the License is distributed on an "AS IS" BASIS, 2453 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2454 * See the License for the specific language governing permissions and 2455 * limitations under the License. 2456 */class ek{constructor(A,t){this.qr={},this.overlays={},this.Qr=new Ng(0),this.Kr=!1,this.Kr=!0,this.$r=new $P,this.referenceDelegate=A(this),this.Ur=new Ak(this),this.indexManager=new KP,this.remoteDocumentCache=function(n){return new qP(n)}(r=>this.referenceDelegate.Wr(r)),this.serializer=new VP(t),this.Gr=new XP(this.serializer)}start(){return Promise.resolve()}shutdown(){return this.Kr=!1,Promise.resolve()}get started(){return this.Kr}setDatabaseDeletedListener(){}setNetworkEnabled(){}getIndexManager(A){return this.indexManager}getDocumentOverlayCache(A){let t=this.overlays[A.toKey()];return t||(t=new JP,this.overlays[A.toKey()]=t),t}getMutationQueue(A,t){let r=this.qr[A.toKey()];return r||(r=new YP(t,this.referenceDelegate),this.qr[A.toKey()]=r),r}getGlobalsCache(){return this.$r}getTargetCache(){return this.Ur}getRemoteDocumentCache(){return this.remoteDocumentCache}getBundleCache(){return this.Gr}runTransaction(A,t,r){z("MemoryPersistence","Starting transaction:",A);const n=new tk(this.Qr.next());return this.referenceDelegate.zr(),r(n).next(i=>this.referenceDelegate.jr(n).next(()=>i)).toPromise().then(i=>(n.raiseOnCommittedEvent(),i))}Hr(A,t){return k.or(Object.values(this.qr).map(r=>()=>r.containsKey(A,t)))}}class tk extends Px{constructor(A){super(),this.currentSequenceNumber=A}}class $g{constructor(A){this.persistence=A,this.Jr=new Jg,this.Yr=null}static Zr(A){return new $g(A)}get Xr(){if(this.Yr)return this.Yr;throw q()}addReference(A,t,r){return this.Jr.addReference(r,t),this.Xr.delete(r.toString()),k.resolve()}removeReference(A,t,r){return this.Jr.removeReference(r,t),this.Xr.add(r.toString()),k.resolve()}markPotentiallyOrphaned(A,t){return this.Xr.add(t.toString()),k.resolve()}removeTarget(A,t){this.Jr.gr(t.targetId).forEach(n=>this.Xr.add(n.toString()));const r=this.persistence.getTargetCache();return r.getMatchingKeysForTargetId(A,t.targetId).next(n=>{n.forEach(i=>this.Xr.add(i.toString()))}).next(()=>r.removeTargetData(A,t))}zr(){this.Yr=new Set}jr(A){const t=this.persistence.getRemoteDocumentCache().newChangeBuffer();return k.forEach(this.Xr,r=>{const n=J.fromPath(r);return this.ei(A,n).next(i=>{i||t.removeEntry(n,AA.min())})}).next(()=>(this.Yr=null,t.apply(A)))}updateLimboDocument(A,t){return this.ei(A,t).next(r=>{r?this.Xr.delete(t.toString()):this.Xr.add(t.toString())})}Wr(A){return 0}ei(A,t){return k.or([()=>k.resolve(this.Jr.containsKey(t)),()=>this.persistence.getTargetCache().containsKey(A,t),()=>this.persistence.Hr(A,t)])}}/** 2457 * @license 2458 * Copyright 2017 Google LLC 2459 * 2460 * Licensed under the Apache License, Version 2.0 (the "License"); 2461 * you may not use this file except in compliance with the License. 2462 * You may obtain a copy of the License at 2463 * 2464 * http://www.apache.org/licenses/LICENSE-2.0 2465 * 2466 * Unless required by applicable law or agreed to in writing, software 2467 * distributed under the License is distributed on an "AS IS" BASIS, 2468 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2469 * See the License for the specific language governing permissions and 2470 * limitations under the License. 2471 */class Yg{constructor(A,t,r,n){this.targetId=A,this.fromCache=t,this.$i=r,this.Ui=n}static Wi(A,t){let r=sA(),n=sA();for(const i of t.docChanges)switch(i.type){case 0:r=r.add(i.doc.key);break;case 1:n=n.add(i.doc.key)}return new Yg(A,t.fromCache,r,n)}}/** 2472 * @license 2473 * Copyright 2023 Google LLC 2474 * 2475 * Licensed under the Apache License, Version 2.0 (the "License"); 2476 * you may not use this file except in compliance with the License. 2477 * You may obtain a copy of the License at 2478 * 2479 * http://www.apache.org/licenses/LICENSE-2.0 2480 * 2481 * Unless required by applicable law or agreed to in writing, software 2482 * distributed under the License is distributed on an "AS IS" BASIS, 2483 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2484 * See the License for the specific language governing permissions and 2485 * limitations under the License. 2486 */class rk{constructor(){this._documentReadCount=0}get documentReadCount(){return this._documentReadCount}incrementDocumentReadCount(A){this._documentReadCount+=A}}/** 2487 * @license 2488 * Copyright 2019 Google LLC 2489 * 2490 * Licensed under the Apache License, Version 2.0 (the "License"); 2491 * you may not use this file except in compliance with the License. 2492 * You may obtain a copy of the License at 2493 * 2494 * http://www.apache.org/licenses/LICENSE-2.0 2495 * 2496 * Unless required by applicable law or agreed to in writing, software 2497 * distributed under the License is distributed on an "AS IS" BASIS, 2498 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2499 * See the License for the specific language governing permissions and 2500 * limitations under the License. 2501 */class nk{constructor(){this.Gi=!1,this.zi=!1,this.ji=100,this.Hi=function(){return iL()?8:kx(Ee())>0?6:4}()}initialize(A,t){this.Ji=A,this.indexManager=t,this.Gi=!0}getDocumentsMatchingQuery(A,t,r,n){const i={result:null};return this.Yi(A,t).next(s=>{i.result=s}).next(()=>{if(!i.result)return this.Zi(A,t,n,r).next(s=>{i.result=s})}).next(()=>{if(i.result)return;const s=new rk;return this.Xi(A,t,s).next(a=>{if(i.result=a,this.zi)return this.es(A,t,s,a.size)})}).next(()=>i.result)}es(A,t,r,n){return r.documentReadCount<this.ji?(ps()<=oA.DEBUG&&z("QueryEngine","SDK will not create cache indexes for query:",Gn(t),"since it only creates cache indexes for collection contains","more than or equal to",this.ji,"documents"),k.resolve()):(ps()<=oA.DEBUG&&z("QueryEngine","Query:",Gn(t),"scans",r.documentReadCount,"local documents and returns",n,"documents as results."),r.documentReadCount>this.Hi*n?(ps()<=oA.DEBUG&&z("QueryEngine","The SDK decides to create cache indexes for query:",Gn(t),"as using cache indexes may help improve performance."),this.indexManager.createTargetIndexes(A,Qt(t))):k.resolve())}Yi(A,t){if(c0(t))return k.resolve(null);let r=Qt(t);return this.indexManager.getIndexType(A,r).next(n=>n===0?null:(t.limit!==null&&n===1&&(t=Bd(t,null,"F"),r=Qt(t)),this.indexManager.getDocumentsMatchingTarget(A,r).next(i=>
2501{const s=sA(...i);return this.Ji.getDocuments(A,s).next(a=>this.indexManager.getMinOffset(A,r).next(l=>{const u=this.ts(t,a);return this.ns(t,u,s,l.readTime)?this.Yi(A,Bd(t,null,"F")):this.rs(A,u,t,l)}))})))}Zi(A,t,r,n){return c0(t)||n.isEqual(AA.min())?k.resolve(null):this.Ji.getDocuments(A,r).next(i=>{const s=this.ts(t,i);return this.ns(t,s,r,n)?k.resolve(null):(ps()<=oA.DEBUG&&z("QueryEngine","Re-using previous result from %s to execute query: %s",n.toString(),Gn(t)),this.rs(A,s,t,Hx(n,-1)).next(a=>a))})}ts(A,t){let r=new ae(gQ(A));return t.forEach((n,i)=>{rc(A,i)&&(r=r.add(i))}),r}ns(A,t,r,n){if(A.limit===null)return!1;if(r.size!==t.size)return!0;const i=A.limitType==="F"?t.last():t.first();return!!i&&(i.hasPendingWrites||i.version.compareTo(n)>0)}Xi(A,t,r){return ps()<=oA.DEBUG&&z("QueryEngine","Using full collection scan to execute query:",Gn(t)),this.Ji.getDocumentsMatchingQuery(A,t,Kr.min(),r)}rs(A,t,r,n){return this.Ji.getDocumentsMatchingQuery(A,r,n).next(i=>(t.forEach(s=>{i=i.insert(s.key,s)}),i))}}/** 2502 * @license 2503 * Copyright 2020 Google LLC 2504 * 2505 * Licensed under the Apache License, Version 2.0 (the "License"); 2506 * you may not use this file except in compliance with the License. 2507 * You may obtain a copy of the License at 2508 * 2509 * http://www.apache.org/licenses/LICENSE-2.0 2510 * 2511 * Unless required by applicable law or agreed to in writing, software 2512 * distributed under the License is distributed on an "AS IS" BASIS, 2513 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2514 * See the License for the specific language governing permissions and 2515 * limitations under the License. 2516 */class ik{constructor(A,t,r,n){this.persistence=A,this.ss=t,this.serializer=n,this.os=new DA(dA),this._s=new Ki(i=>Kg(i),Gg),this.us=new Map,this.cs=A.getRemoteDocumentCache(),this.Ur=A.getTargetCache(),this.Gr=A.getBundleCache(),this.ls(r)}ls(A){this.documentOverlayCache=this.persistence.getDocumentOverlayCache(A),this.indexManager=this.persistence.getIndexManager(A),this.mutationQueue=this.persistence.getMutationQueue(A,this.indexManager),this.localDocuments=new zP(this.cs,this.mutationQueue,this.documentOverlayCache,this.indexManager),this.cs.setIndexManager(this.indexManager),this.ss.initialize(this.localDocuments,this.indexManager)}collectGarbage(A){return this.persistence.runTransaction("Collect garbage","readwrite-primary",t=>A.collect(t,this.os))}}function sk(e,A,t,r){return new ik(e,A,t,r)}async function kQ(e,A){const t=eA(e);return await t.persistence.runTransaction("Handle user change","readonly",r=>{let n;return t.mutationQueue.getAllMutationBatches(r).next(i=>(n=i,t.ls(A),t.mutationQueue.getAllMutationBatches(r))).next(i=>{const s=[],a=[];let l=sA();for(const u of n){s.push(u.batchId);for(const h of u.mutations)l=l.add(h.key)}for(const u of i){a.push(u.batchId);for(const h of u.mutations)l=l.add(h.key)}return t.localDocuments.getDocuments(r,l).next(u=>({hs:u,removedBatchIds:s,addedBatchIds:a}))})})}function ok(e,A){const t=eA(e);return t.persistence.runTransaction("Acknowledge batch","readwrite-primary",r=>{const n=A.batch.keys(),i=t.cs.newChangeBuffer({trackRemovals:!0});return function(a,l,u,h){const d=u.batch,g=d.keys();let E=k.resolve();return g.forEach(_=>{E=E.next(()=>h.getEntry(l,_)).next(F=>{const L=u.docVersions.get(_);BA(L!==null),F.version.compareTo(L)<0&&(d.applyToRemoteDocument(F,u),F.isValidDocument()&&(F.setReadTime(u.commitVersion),h.addEntry(F)))})}),E.next(()=>a.mutationQueue.removeMutationBatch(l,d))}(t,r,A,i).next(()=>i.apply(r)).next(()=>t.mutationQueue.performConsistencyCheck(r)).next(()=>t.documentOverlayCache.removeOverlaysForBatchId(r,n,A.batch.batchId)).next(()=>t.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(r,function(a){let l=sA();for(let u=0;u<a.mutationResults.length;++u)a.mutationResults[u].transformResults.length>0&&(l=l.add(a.batch.mutations[u].key));return l}(A))).next(()=>t.localDocuments.getDocuments(r,n))})}function OQ(e){const A=eA(e);return A.persistence.runTransaction("Get last remote snapshot version","readonly",t=>A.Ur.getLastRemoteSnapshotVersion(t))}function ak(e,A){const t=eA(e),r=A.snapshotVersion;let n=t.os;return t.persistence.runTransaction("Apply remote event","readwrite-primary",i=>{const s=t.cs.newChangeBuffer({trackRemovals:!0});n=t.os;const a=[];
vendor: 4,425 bytes, lines 2516-2520
2516A.targetChanges.forEach((h,d)=>{const g=n.get(d);if(!g)return;a.push(t.Ur.removeMatchingKeys(i,h.removedDocuments,d).next(()=>t.Ur.addMatchingKeys(i,h.addedDocuments,d)));let E=g.withSequenceNumber(i.currentSequenceNumber);A.targetMismatches.get(d)!==null?E=E.withResumeToken(ue.EMPTY_BYTE_STRING,AA.min()).withLastLimboFreeSnapshotVersion(AA.min()):h.resumeToken.approximateByteSize()>0&&(E=E.withResumeToken(h.resumeToken,r)),n=n.insert(d,E),function(F,L,v){return F.resumeToken.approximateByteSize()===0||L.snapshotVersion.toMicroseconds()-F.snapshotVersion.toMicroseconds()>=3e8?!0:v.addedDocuments.size+v.modifiedDocuments.size+v.removedDocuments.size>0}(g,E,h)&&a.push(t.Ur.updateTargetData(i,E))});let l=Zt(),u=sA();if(A.documentUpdates.forEach(h=>{A.resolvedLimboDocuments.has(h)&&a.push(t.persistence.referenceDelegate.updateLimboDocument(i,h))}),a.push(lk(i,s,A.documentUpdates).next(h=>{l=h.Ps,u=h.Is})),!r.isEqual(AA.min())){const h=t.Ur.getLastRemoteSnapshotVersion(i).next(d=>t.Ur.setTargetsMetadata(i,i.currentSequenceNumber,r));a.push(h)}return k.waitFor(a).next(()=>s.apply(i)).next(()=>t.localDocuments.getLocalViewOfDocuments(i,l,u)).next(()=>l)}).then(i=>(t.os=n,i))}function lk(e,A,t){let r=sA(),n=sA();return t.forEach(i=>r=r.add(i)),A.getEntries(e,r).next(i=>{let s=Zt();return t.forEach((a,l)=>{const u=i.get(a);l.isFoundDocument()!==u.isFoundDocument()&&(n=n.add(a)),l.isNoDocument()&&l.version.isEqual(AA.min())?(A.removeEntry(a,l.readTime),s=s.insert(a,l)):!u.isValidDocument()||l.version.compareTo(u.version)>0||l.version.compareTo(u.version)===0&&u.hasPendingWrites?(A.addEntry(l),s=s.insert(a,l)):z("LocalStore","Ignoring outdated watch update for ",a,". Current version:",u.version," Watch version:",l.version)}),{Ps:s,Is:n}})}function uk(e,A){const t=eA(e);return t.persistence.runTransaction("Get next mutation batch","readonly",r=>(A===void 0&&(A=-1),t.mutationQueue.getNextMutationBatchAfterBatchId(r,A)))}function ck(e,A){const t=eA(e);return t.persistence.runTransaction("Allocate target","readwrite",r=>{let n;return t.Ur.getTargetData(r,A).next(i=>i?(n=i,k.resolve(n)):t.Ur.allocateTargetId(r).next(s=>(n=new Er(A,s,"TargetPurposeListen",r.currentSequenceNumber),t.Ur.addTargetData(r,n).next(()=>n))))}).then(r=>{const n=t.os.get(r.targetId);return(n===null||r.snapshotVersion.compareTo(n.snapshotVersion)>0)&&(t.os=t.os.insert(r.targetId,r),t._s.set(A,r.targetId)),r})}async function Cd(e,A,t){const r=eA(e),n=r.os.get(A),i=t?"readwrite":"readwrite-primary";try{t||await r.persistence.runTransaction("Release target",i,s=>r.persistence.referenceDelegate.removeTarget(s,n))}catch(s){if(!Vo(s))throw s;z("LocalStore",`Failed to update sequence numbers for target ${A}: ${s}`)}r.os=r.os.remove(A),r._s.delete(n.target)}function C0(e,A,t){const r=eA(e);let n=AA.min(),i=sA();return r.persistence.runTransaction("Execute query","readwrite",s=>function(l,u,h){const d=eA(l),g=d._s.get(h);return g!==void 0?k.resolve(d.os.get(g)):d.Ur.getTargetData(u,h)}(r,s,Qt(A)).next(a=>{if(a)return n=a.lastLimboFreeSnapshotVersion,r.Ur.getMatchingKeysForTargetId(s,a.targetId).next(l=>{i=l})}).next(()=>r.ss.getDocumentsMatchingQuery(s,A,t?n:AA.min(),t?i:sA())).next(a=>(hk(r,eP(A),a),{documents:a,Ts:i})))}function hk(e,A,t){let r=e.us.get(A)||AA.min();t.forEach((n,i)=>{i.readTime.compareTo(r)>0&&(r=i.readTime)}),e.us.set(A,r)}class E0{constructor(){this.activeTargetIds=oP()}fs(A){this.activeTargetIds=this.activeTargetIds.add(A)}gs(A){this.activeTargetIds=this.activeTargetIds.delete(A)}Vs(){const A={activeTargetIds:this.activeTargetIds.toArray(),updateTimeMs:Date.now()};return JSON.stringify(A)}}class fk{constructor(){this.so=new E0,this.oo={},this.onlineStateHandler=null,this.sequenceNumberHandler=null}addPendingMutation(A){}updateMutationState(A,t,r){}addLocalQueryTarget(A,t=!0){return t&&this.so.fs(A),this.oo[A]||"not-current"}updateQueryState(A,t,r){this.oo[A]=t}removeLocalQueryTarget(A){this.so.gs(A)}isLocalQueryTarget(A){return this.so.activeTargetIds.has(A)}clearQueryState(A){delete this.oo[A]}getAllActiveQueryTargets(){return this.so.activeTargetIds}isActiveQueryTarget(A){return this.so.activeTargetIds.has(A)}start(){return this.so=new E0,Promise.resolve()}handleUserChange(A,t,r){}setOnlineState(A){}shutdown(){}writeSequenceNumber(A){}notifyBundleLoaded(A){}}/** 2517 * @license 2518 * Copyright 2019 Google LLC 2519 * 2520 * Licensed under the Apache License, Version 2.0 (the "License");
2521 * you may not use this file except in compliance with the License. 2522 * You may obtain a copy of the License at 2523 * 2524 * http://www.apache.org/licenses/LICENSE-2.0 2525 * 2526 * Unless required by applicable law or agreed to in writing, software 2527 * distributed under the License is distributed on an "AS IS" BASIS, 2528 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2529 * See the License for the specific language governing permissions and 2530 * limitations under the License. 2531 */class dk{_o(A){}shutdown(){}}/** 2532 * @license 2533 * Copyright 2019 Google LLC 2534 * 2535 * Licensed under the Apache License, Version 2.0 (the "License"); 2536 * you may not use this file except in compliance with the License. 2537 * You may obtain a copy of the License at 2538 * 2539 * http://www.apache.org/licenses/LICENSE-2.0 2540 * 2541 * Unless required by applicable law or agreed to in writing, software 2542 * distributed under the License is distributed on an "AS IS" BASIS, 2543 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2544 * See the License for the specific language governing permissions and 2545 * limitations under the License. 2546 */class Q0{constructor(){this.ao=()=>this.uo(),this.co=()=>this.lo(),this.ho=[],this.Po()}_o(A){this.ho.push(A)}shutdown(){window.removeEventListener("online",this.ao),window.removeEventListener("offline",this.co)}Po(){window.addEventListener("online",this.ao),window.addEventListener("offline",this.co)}uo(){z("ConnectivityMonitor","Network connectivity changed: AVAILABLE");for(const A of this.ho)A(0)}lo(){z("ConnectivityMonitor","Network connectivity changed: UNAVAILABLE");for(const A of this.ho)A(1)}static D(){return typeof window<"u"&&window.addEventListener!==void 0&&window.removeEventListener!==void 0}}/** 2547 * @license 2548 * Copyright 2023 Google LLC 2549 * 2550 * Licensed under the Apache License, Version 2.0 (the "License"); 2551 * you may not use this file except in compliance with the License. 2552 * You may obtain a copy of the License at 2553 * 2554 * http://www.apache.org/licenses/LICENSE-2.0 2555 * 2556 * Unless required by applicable law or agreed to in writing, software 2557 * distributed under the License is distributed on an "AS IS" BASIS, 2558 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2559 * See the License for the specific language governing permissions and 2560 * limitations under the License. 2561 */let el=null;function kh(){return el===null?el=function(){return 268435456+Math.round(2147483648*Math.random())}():el++,"0x"+el.toString(16)}/** 2562 * @license 2563 * Copyright 2020 Google LLC 2564 * 2565 * Licensed under the Apache License, Version 2.0 (the "License"); 2566 * you may not use this file except in compliance with the License. 2567 * You may obtain a copy of the License at 2568 * 2569 * http://www.apache.org/licenses/LICENSE-2.0 2570 * 2571 * Unless required by applicable law or agreed to in writing, software 2572 * distributed under the License is distributed on an "AS IS" BASIS, 2573 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2574 * See the License for the specific language governing permissions and 2575 * limitations under the License. 2576 */const gk={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery",RunAggregationQuery:"runAggregationQuery"};/** 2577 * @license 2578 * Copyright 2017 Google LLC 2579 * 2580 * Licensed under the Apache License, Version 2.0 (the "License"); 2581 * you may not use this file except in compliance with the License. 2582 * You may obtain a copy of the License at 2583 * 2584 * http://www.apache.org/licenses/LICENSE-2.0 2585 * 2586 * Unless required by applicable law or agreed to in writing, software 2587 * distributed under the License is distributed on an "AS IS" BASIS, 2588 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2589 * See the License for the specific language governing permissions and 2590 * limitations under the License. 2591 */class pk{constructor(A){this.Io=A.Io,this.To=A.To}Eo(A){this.Ao=A}Ro(A){this.Vo=A}mo(A){this.fo=A}onMessage(A){this.po=A}close(){this.To()}send(A){this.Io(A)}yo(){this.Ao()}wo(){this.Vo()}So(A){this.fo(A)}bo(A){this.po(A)}}/** 2592 * @license 2593 * Copyright 2017 Google LLC 2594 * 2595 * Licensed under the Apache License, Version 2.0 (the "License");
2596 * you may not use this file except in compliance with the License. 2597 * You may obtain a copy of the License at 2598 * 2599 * http://www.apache.org/licenses/LICENSE-2.0 2600 * 2601 * Unless required by applicable law or agreed to in writing, software 2602 * distributed under the License is distributed on an "AS IS" BASIS, 2603 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2604 * See the License for the specific language governing permissions and 2605 * limitations under the License. 2606 */const pe="WebChannelConnection";class Bk extends class{constructor(t){this.databaseInfo=t,this.databaseId=t.databaseId;const r=t.ssl?"https":"http",n=encodeURIComponent(this.databaseId.projectId),i=encodeURIComponent(this.databaseId.database);this.Do=r+"://"+t.host,this.vo=`projects/${n}/databases/${i}`,this.Co=this.databaseId.database==="(default)"?`project_id=${n}`:`project_id=${n}&database_id=${i}`}get Fo(){return!1}Mo(t,r,n,i,s){const a=kh(),l=this.xo(t,r.toUriEncodedString());z("RestConnection",`Sending RPC '${t}' ${a}:`,l,n);const u={"google-cloud-resource-prefix":this.vo,"x-goog-request-params":this.Co};return this.Oo(u,i,s),this.No(t,l,u,n).then(h=>(z("RestConnection",`Received RPC '${t}' ${a}: `,h),h),h=>{throw Ui("RestConnection",`RPC '${t}' ${a} failed with error: `,h,"url: ",l,"request:",n),h})}Lo(t,r,n,i,s,a){return this.Mo(t,r,n,i,s)}Oo(t,r,n){t["X-Goog-Api-Client"]=function(){return"gl-js/ fire/"+bi}(),t["Content-Type"]="text/plain",this.databaseInfo.appId&&(t["X-Firebase-GMPID"]=this.databaseInfo.appId),r&&r.headers.forEach((i,s)=>t[s]=i),n&&n.headers.forEach((i,s)=>t[s]=i)}xo(t,r){const n=gk[t];return`${this.Do}/v1/${r}:${n}`}terminate(){}}{constructor(A){super(A),this.forceLongPolling=A.forceLongPolling,this.autoDetectLongPolling=A.autoDetectLongPolling,this.useFetchStreams=A.useFetchStreams,this.longPollingOptions=A.longPollingOptions}No(A,t,r,n){const i=kh();return new Promise((s,a)=>{const l=new $E;l.setWithCredentials(!0),l.listenOnce(YE.COMPLETE,()=>{try{switch(l.getLastErrorCode()){case El.NO_ERROR:const h=l.getResponseJson();z(pe,`XHR for RPC '${A}' ${i} received:`,JSON.stringify(h)),s(h);break;case El.TIMEOUT:z(pe,`RPC '${A}' ${i} timed out`),a(new W(P.DEADLINE_EXCEEDED,"Request time out"));break;case El.HTTP_ERROR:const d=l.getStatus();if(z(pe,`RPC '${A}' ${i} failed with status:`,d,"response text:",l.getResponseText()),d>0){let g=l.getResponseJson();Array.isArray(g)&&(g=g[0]);const E=g==null?void 0:g.error;if(E&&E.status&&E.message){const _=function(L){const v=L.toLowerCase().replace(/_/g,"-");return Object.values(P).indexOf(v)>=0?v:P.UNKNOWN}(E.status);a(new W(_,E.message))}else a(new W(P.UNKNOWN,"Server responded with status "+l.getStatus()))}else a(new W(P.UNAVAILABLE,"Connection failed."));break;default:q()}}finally{z(pe,`RPC '${A}' ${i} completed.`)}});const u=JSON.stringify(n);z(pe,`RPC '${A}' ${i} sending request:`,n),l.send(t,"POST",u,r,15)})}Bo(A,t,r){const n=kh(),i=[this.Do,"/","google.firestore.v1.Firestore","/",A,"/channel"],s=AQ(),a=ZE(),l={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:`projects/${this.databaseId.projectId}/databases/${this.databaseId.database}`},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.autoDetectLongPolling},u=this.longPollingOptions.timeoutSeconds;u!==void 0&&(l.longPollingTimeout=Math.round(1e3*u)),this.useFetchStreams&&(l.useFetchStreams=!0),this.Oo(l.initMessageHeaders,t,r),l.encodeInitMessageHeaders=!0;const h=i.join("");z(pe,`Creating RPC '${A}' stream ${n}: ${h}`,l);const d=s.createWebChannel(h,l);let g=!1,E=!1;const _=new pk({Io:L=>{E?z(pe,`Not sending because RPC '${A}' stream ${n} is closed:`,L):(g||(z(pe,`Opening RPC '${A}' stream ${n} transport.`),d.open(),g=!0),z(pe,`RPC '${A}' stream ${n} sending:`,L),d.send(L))},To:()=>d.close()}),F=(L,v,m)=>{L.listen(v,I=>{try{m(I)}catch(R){setTimeout(()=>{throw R},0)}})};return F(d,Ts.EventType.OPEN,()=>{E||(z(pe,`RPC '${A}' stream ${n} transport opened.`),_.yo())}),F(d,Ts.EventType.CLOSE,()=>{E||(E=!0,z(pe,`RPC '${A}' stream ${n} transport closed`),_.So())}
2606),F(d,Ts.EventType.ERROR,L=>{E||(E=!0,Ui(pe,`RPC '${A}' stream ${n} transport errored:`,L),_.So(new W(P.UNAVAILABLE,"The operation could not be completed")))}),F(d,Ts.EventType.MESSAGE,L=>{var v;if(!E){const m=L.data[0];BA(!!m);const I=m,R=I.error||((v=I[0])===null||v===void 0?void 0:v.error);if(R){z(pe,`RPC '${A}' stream ${n} received error:`,R);const x=R.status;let H=function(w){const Q=MA[w];if(Q!==void 0)return UQ(Q)}(x),y=R.message;H===void 0&&(H=P.INTERNAL,y="Unknown error status: "+x+" with message "+R.message),E=!0,_.So(new W(H,y)),d.close()}else z(pe,`RPC '${A}' stream ${n} received:`,m),_.bo(m)}}),F(a,qE.STAT_EVENT,L=>{L.stat===cd.PROXY?z(pe,`RPC '${A}' stream ${n} detected buffering proxy`):L.stat===cd.NOPROXY&&z(pe,`RPC '${A}' stream ${n} detected no buffering proxy`)}),setTimeout(()=>{_.wo()},0),_}}function Oh(){return typeof document<"u"?document:null}/** 2607 * @license 2608 * Copyright 2020 Google LLC 2609 * 2610 * Licensed under the Apache License, Version 2.0 (the "License"); 2611 * you may not use this file except in compliance with the License. 2612 * You may obtain a copy of the License at 2613 * 2614 * http://www.apache.org/licenses/LICENSE-2.0 2615 * 2616 * Unless required by applicable law or agreed to in writing, software 2617 * distributed under the License is distributed on an "AS IS" BASIS, 2618 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2619 * See the License for the specific language governing permissions and 2620 * limitations under the License. 2621 */function oc(e){return new UP(e,!0)}/** 2622 * @license 2623 * Copyright 2017 Google LLC 2624 * 2625 * Licensed under the Apache License, Version 2.0 (the "License"); 2626 * you may not use this file except in compliance with the License. 2627 * You may obtain a copy of the License at 2628 * 2629 * http://www.apache.org/licenses/LICENSE-2.0 2630 * 2631 * Unless required by applicable law or agreed to in writing, software 2632 * distributed under the License is distributed on an "AS IS" BASIS, 2633 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2634 * See the License for the specific language governing permissions and 2635 * limitations under the License. 2636 */class NQ{constructor(A,t,r=1e3,n=1.5,i=6e4){this.ui=A,this.timerId=t,this.ko=r,this.qo=n,this.Qo=i,this.Ko=0,this.$o=null,this.Uo=Date.now(),this.reset()}reset(){this.Ko=0}Wo(){this.Ko=this.Qo}Go(A){this.cancel();const t=Math.floor(this.Ko+this.zo()),r=Math.max(0,Date.now()-this.Uo),n=Math.max(0,t-r);n>0&&z("ExponentialBackoff",`Backing off for ${n} ms (base delay: ${this.Ko} ms, delay with jitter: ${t} ms, last attempt: ${r} ms ago)`),this.$o=this.ui.enqueueAfterDelay(this.timerId,n,()=>(this.Uo=Date.now(),A())),this.Ko*=this.qo,this.Ko<this.ko&&(this.Ko=this.ko),this.Ko>this.Qo&&(this.Ko=this.Qo)}jo(){this.$o!==null&&(this.$o.skipDelay(),this.$o=null)}cancel(){this.$o!==null&&(this.$o.cancel(),this.$o=null)}zo(){return(Math.random()-.5)*this.Ko}}/** 2637 * @license 2638 * Copyright 2017 Google LLC 2639 * 2640 * Licensed under the Apache License, Version 2.0 (the "License"); 2641 * you may not use this file except in compliance with the License. 2642 * You may obtain a copy of the License at 2643 * 2644 * http://www.apache.org/licenses/LICENSE-2.0 2645 * 2646 * Unless required by applicable law or agreed to in writing, software 2647 * distributed under the License is distributed on an "AS IS" BASIS, 2648 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2649 * See the License for the specific language governing permissions and 2650 * limitations under the License. 2651 */class bQ{constructor(A,t,r,n,i,s,a,l){this.ui=A,this.Ho=r,this.Jo=n,this.connection=i,this.authCredentialsProvider=s,this.appCheckCredentialsProvider=a,this.listener=l,this.state=0,this.Yo=0,this.Zo=null,this.Xo=null,this.stream=null,this.e_=0,this.t_=new NQ(A,t)}n_(){return this.state===1||this.state===5||this.r_()}r_(){return this.state===2||this.state===3}start(){this.e_=0,this.state!==4?this.auth():this.i_()}async stop(){this.n_()&&await this.close(0)}s_(){this.state=0,this.t_.reset()}o_(){this.r_()&&this.Zo===null&&(this.Zo=this.ui.enqueueAfterDelay(this.Ho,6e4,()=>this.__()))}a_(A){this.u_(),this.stream.send(A)}async __(){if(this.r_())return this.close(0)}u_(){this.Zo&&(this.Zo.cancel(),this.Zo=null)}
2651c_(){this.Xo&&(this.Xo.cancel(),this.Xo=null)}async close(A,t){this.u_(),this.c_(),this.t_.cancel(),this.Yo++,A!==4?this.t_.reset():t&&t.code===P.RESOURCE_EXHAUSTED?(qt(t.toString()),qt("Using maximum backoff delay to prevent overloading the backend."),this.t_.Wo()):t&&t.code===P.UNAUTHENTICATED&&this.state!==3&&(this.authCredentialsProvider.invalidateToken(),this.appCheckCredentialsProvider.invalidateToken()),this.stream!==null&&(this.l_(),this.stream.close(),this.stream=null),this.state=A,await this.listener.mo(t)}l_(){}auth(){this.state=1;const A=this.h_(this.Yo),t=this.Yo;Promise.all([this.authCredentialsProvider.getToken(),this.appCheckCredentialsProvider.getToken()]).then(([r,n])=>{this.Yo===t&&this.P_(r,n)},r=>{A(()=>{const n=new W(P.UNKNOWN,"Fetching auth token failed: "+r.message);return this.I_(n)})})}P_(A,t){const r=this.h_(this.Yo);this.stream=this.T_(A,t),this.stream.Eo(()=>{r(()=>this.listener.Eo())}),this.stream.Ro(()=>{r(()=>(this.state=2,this.Xo=this.ui.enqueueAfterDelay(this.Jo,1e4,()=>(this.r_()&&(this.state=3),Promise.resolve())),this.listener.Ro()))}),this.stream.mo(n=>{r(()=>this.I_(n))}),this.stream.onMessage(n=>{r(()=>++this.e_==1?this.E_(n):this.onNext(n))})}i_(){this.state=5,this.t_.Go(async()=>{this.state=0,this.start()})}I_(A){return z("PersistentStream",`close with error: ${A}`),this.stream=null,this.close(4,A)}h_(A){return t=>{this.ui.enqueueAndForget(()=>this.Yo===A?t():(z("PersistentStream","stream callback skipped by getCloseGuardedDispatcher."),Promise.resolve()))}}}class mk extends bQ{constructor(A,t,r,n,i,s){super(A,"listen_stream_connection_backoff","listen_stream_idle","health_check_timeout",t,r,n,s),this.serializer=i}T_(A,t){return this.connection.Bo("Listen",A,t)}E_(A){return this.onNext(A)}onNext(A){this.t_.reset();const t=SP(this.serializer,A),r=function(i){if(!("targetChange"in i))return AA.min();const s=i.targetChange;return s.targetIds&&s.targetIds.length?AA.min():s.readTime?_t(s.readTime):AA.min()}(A);return this.listener.d_(t,r)}A_(A){const t={};t.database=vd(this.serializer),t.addTarget=function(i,s){let a;const l=s.target;if(a=gd(l)?{documents:LP(i,l)}:{query:DP(i,l)._t},a.targetId=s.targetId,s.resumeToken.approximateByteSize()>0){a.resumeToken=SQ(i,s.resumeToken);const u=md(i,s.expectedCount);u!==null&&(a.expectedCount=u)}else if(s.snapshotVersion.compareTo(AA.min())>0){a.readTime=wu(i,s.snapshotVersion.toTimestamp());const u=md(i,s.expectedCount);u!==null&&(a.expectedCount=u)}return a}(this.serializer,A);const r=PP(this.serializer,A);r&&(t.labels=r),this.a_(t)}R_(A){const t={};t.database=vd(this.serializer),t.removeTarget=A,this.a_(t)}}class wk extends bQ{constructor(A,t,r,n,i,s){super(A,"write_stream_connection_backoff","write_stream_idle","health_check_timeout",t,r,n,s),this.serializer=i}get V_(){return this.e_>0}start(){this.lastStreamToken=void 0,super.start()}l_(){this.V_&&this.m_([])}T_(A,t){return this.connection.Bo("Write",A,t)}E_(A){return BA(!!A.streamToken),this.lastStreamToken=A.streamToken,BA(!A.writeResults||A.writeResults.length===0),this.listener.f_()}onNext(A){BA(!!A.streamToken),this.lastStreamToken=A.streamToken,this.t_.reset();const t=HP(A.writeResults,A.commitTime),r=_t(A.commitTime);return this.listener.g_(r,t)}p_(){const A={};A.database=vd(this.serializer),this.a_(A)}m_(A){const t={streamToken:this.lastStreamToken,writes:A.map(r=>RP(this.serializer,r))};this.a_(t)}}/** 2652 * @license 2653 * Copyright 2017 Google LLC 2654 * 2655 * Licensed under the Apache License, Version 2.0 (the "License"); 2656 * you may not use this file except in compliance with the License. 2657 * You may obtain a copy of the License at 2658 * 2659 * http://www.apache.org/licenses/LICENSE-2.0 2660 * 2661 * Unless required by applicable law or agreed to in writing, software 2662 * distributed under the License is distributed on an "AS IS" BASIS, 2663 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2664 * See the License for the specific language governing permissions and 2665 * limitations under the License. 2666 */class yk extends class{}{constructor(A,t,r,n){super(),this.authCredentials=A,this.appCheckCredentials=t,this.connection=r,this.serializer
2666=n,this.y_=!1}w_(){if(this.y_)throw new W(P.FAILED_PRECONDITION,"The client has already been terminated.")}Mo(A,t,r,n){return this.w_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then(([i,s])=>this.connection.Mo(A,wd(t,r),n,i,s)).catch(i=>{throw i.name==="FirebaseError"?(i.code===P.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),i):new W(P.UNKNOWN,i.toString())})}Lo(A,t,r,n,i){return this.w_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then(([s,a])=>this.connection.Lo(A,wd(t,r),n,s,a,i)).catch(s=>{throw s.name==="FirebaseError"?(s.code===P.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),s):new W(P.UNKNOWN,s.toString())})}terminate(){this.y_=!0,this.connection.terminate()}}class vk{constructor(A,t){this.asyncQueue=A,this.onlineStateHandler=t,this.state="Unknown",this.S_=0,this.b_=null,this.D_=!0}v_(){this.S_===0&&(this.C_("Unknown"),this.b_=this.asyncQueue.enqueueAfterDelay("online_state_timeout",1e4,()=>(this.b_=null,this.F_("Backend didn't respond within 10 seconds."),this.C_("Offline"),Promise.resolve())))}M_(A){this.state==="Online"?this.C_("Unknown"):(this.S_++,this.S_>=1&&(this.x_(),this.F_(`Connection failed 1 times. Most recent error: ${A.toString()}`),this.C_("Offline")))}set(A){this.x_(),this.S_=0,A==="Online"&&(this.D_=!1),this.C_(A)}C_(A){A!==this.state&&(this.state=A,this.onlineStateHandler(A))}F_(A){const t=`Could not reach Cloud Firestore backend. ${A} 2667This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.`;this.D_?(qt(t),this.D_=!1):z("OnlineStateTracker",t)}x_(){this.b_!==null&&(this.b_.cancel(),this.b_=null)}}/** 2668 * @license 2669 * Copyright 2017 Google LLC 2670 * 2671 * Licensed under the Apache License, Version 2.0 (the "License"); 2672 * you may not use this file except in compliance with the License. 2673 * You may obtain a copy of the License at 2674 * 2675 * http://www.apache.org/licenses/LICENSE-2.0 2676 * 2677 * Unless required by applicable law or agreed to in writing, software 2678 * distributed under the License is distributed on an "AS IS" BASIS, 2679 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2680 * See the License for the specific language governing permissions and 2681 * limitations under the License. 2682 */class Ck{constructor(A,t,r,n,i){this.localStore=A,this.datastore=t,this.asyncQueue=r,this.remoteSyncer={},this.O_=[],this.N_=new Map,this.L_=new Set,this.B_=[],this.k_=i,this.k_._o(s=>{r.enqueueAndForget(async()=>{Tn(this)&&(z("RemoteStore","Restarting streams for network reachability change."),await async function(l){const u=eA(l);u.L_.add(4),await Go(u),u.q_.set("Unknown"),u.L_.delete(4),await ac(u)}(this))})}),this.q_=new vk(r,n)}}async function ac(e){if(Tn(e))for(const A of e.B_)await A(!0)}async function Go(e){for(const A of e.B_)await A(!1)}function VQ(e,A){const t=eA(e);t.N_.has(A.targetId)||(t.N_.set(A.targetId,A),ep(t)?Ap(t):Gi(t).r_()&&Zg(t,A))}function qg(e,A){const t=eA(e),r=Gi(t);t.N_.delete(A),r.r_()&&MQ(t,A),t.N_.size===0&&(r.r_()?r.o_():Tn(t)&&t.q_.set("Unknown"))}function Zg(e,A){if(e.Q_.xe(A.targetId),A.resumeToken.approximateByteSize()>0||A.snapshotVersion.compareTo(AA.min())>0){const t=e.remoteSyncer.getRemoteKeysForTarget(A.targetId).size;A=A.withExpectedCount(t)}Gi(e).A_(A)}function MQ(e,A){e.Q_.xe(A),Gi(e).R_(A)}function Ap(e){e.Q_=new EP({getRemoteKeysForTarget:A=>e.remoteSyncer.getRemoteKeysForTarget(A),ot:A=>e.N_.get(A)||null,tt:()=>e.datastore.serializer.databaseId}),Gi(e).start(),e.q_.v_()}function ep(e){return Tn(e)&&!Gi(e).n_()&&e.N_.size>0}function Tn(e){return eA(e).L_.size===0}function KQ(e){e.Q_=void 0}async function Ek(e){e.q_.set("Online")}async function Qk(e){e.N_.forEach((A,t)=>{Zg(e,A)})}async function _k(e,A){KQ(e),ep(e)?(e.q_.M_(A),Ap(e)):e.q_.set("Unknown")}async function Ik(e,A,t){if(e.q_.set("Online"),A instanceof TQ&&A.state===2&&A.cause)try{await async function(n,i){const s=i.
2682cause;for(const a of i.targetIds)n.N_.has(a)&&(await n.remoteSyncer.rejectListen(a,s),n.N_.delete(a),n.Q_.removeTarget(a))}(e,A)}catch(r){z("RemoteStore","Failed to remove targets %s: %s ",A.targetIds.join(","),r),await yu(e,r)}else if(A instanceof Il?e.Q_.Ke(A):A instanceof FQ?e.Q_.He(A):e.Q_.We(A),!t.isEqual(AA.min()))try{const r=await OQ(e.localStore);t.compareTo(r)>=0&&await function(i,s){const a=i.Q_.rt(s);return a.targetChanges.forEach((l,u)=>{if(l.resumeToken.approximateByteSize()>0){const h=i.N_.get(u);h&&i.N_.set(u,h.withResumeToken(l.resumeToken,s))}}),a.targetMismatches.forEach((l,u)=>{const h=i.N_.get(l);if(!h)return;i.N_.set(l,h.withResumeToken(ue.EMPTY_BYTE_STRING,h.snapshotVersion)),MQ(i,l);const d=new Er(h.target,l,u,h.sequenceNumber);Zg(i,d)}),i.remoteSyncer.applyRemoteEvent(a)}(e,t)}catch(r){z("RemoteStore","Failed to raise snapshot:",r),await yu(e,r)}}async function yu(e,A,t){if(!Vo(A))throw A;e.L_.add(1),await Go(e),e.q_.set("Offline"),t||(t=()=>OQ(e.localStore)),e.asyncQueue.enqueueRetryable(async()=>{z("RemoteStore","Retrying IndexedDB access"),await t(),e.L_.delete(1),await ac(e)})}function GQ(e,A){return A().catch(t=>yu(e,t,A))}async function lc(e){const A=eA(e),t=Wr(A);let r=A.O_.length>0?A.O_[A.O_.length-1].batchId:-1;for(;Uk(A);)try{const n=await uk(A.localStore,r);if(n===null){A.O_.length===0&&t.o_();break}r=n.batchId,Fk(A,n)}catch(n){await yu(A,n)}WQ(A)&&jQ(A)}function Uk(e){return Tn(e)&&e.O_.length<10}function Fk(e,A){e.O_.push(A);const t=Wr(e);t.r_()&&t.V_&&t.m_(A.mutations)}function WQ(e){return Tn(e)&&!Wr(e).n_()&&e.O_.length>0}function jQ(e){Wr(e).start()}async function Tk(e){Wr(e).p_()}async function Sk(e){const A=Wr(e);for(const t of e.O_)A.m_(t.mutations)}async function Rk(e,A,t){const r=e.O_.shift(),n=jg.from(r,A,t);await GQ(e,()=>e.remoteSyncer.applySuccessfulWrite(n)),await lc(e)}async function Hk(e,A){A&&Wr(e).V_&&await async function(r,n){if(function(s){return yP(s)&&s!==P.ABORTED}(n.code)){const i=r.O_.shift();Wr(r).s_(),await GQ(r,()=>r.remoteSyncer.rejectFailedWrite(i.batchId,n)),await lc(r)}}(e,A),WQ(e)&&jQ(e)}async function _0(e,A){const t=eA(e);t.asyncQueue.verifyOperationInProgress(),z("RemoteStore","RemoteStore received new credentials");const r=Tn(t);t.L_.add(3),await Go(t),r&&t.q_.set("Unknown"),await t.remoteSyncer.handleCredentialChange(A),t.L_.delete(3),await ac(t)}async function Lk(e,A){const t=eA(e);A?(t.L_.delete(2),await ac(t)):A||(t.L_.add(2),await Go(t),t.q_.set("Unknown"))}function Gi(e){return e.K_||(e.K_=function(t,r,n){const i=eA(t);return i.w_(),new mk(r,i.connection,i.authCredentials,i.appCheckCredentials,i.serializer,n)}(e.datastore,e.asyncQueue,{Eo:Ek.bind(null,e),Ro:Qk.bind(null,e),mo:_k.bind(null,e),d_:Ik.bind(null,e)}),e.B_.push(async A=>{A?(e.K_.s_(),ep(e)?Ap(e):e.q_.set("Unknown")):(await e.K_.stop(),KQ(e))})),e.K_}function Wr(e){return e.U_||(e.U_=function(t,r,n){const i=eA(t);return i.w_(),new wk(r,i.connection,i.authCredentials,i.appCheckCredentials,i.serializer,n)}(e.datastore,e.asyncQueue,{Eo:()=>Promise.resolve(),Ro:Tk.bind(null,e),mo:Hk.bind(null,e),f_:Sk.bind(null,e),g_:Rk.bind(null,e)}),e.B_.push(async A=>{A?(e.U_.s_(),await lc(e)):(await e.U_.stop(),e.O_.length>0&&(z("RemoteStore",`Stopping write stream with ${e.O_.length} pending writes`),e.O_=[]))})),e.U_}/** 2683 * @license 2684 * Copyright 2017 Google LLC 2685 * 2686 * Licensed under the Apache License, Version 2.0 (the "License"); 2687 * you may not use this file except in compliance with the License. 2688 * You may obtain a copy of the License at 2689 * 2690 * http://www.apache.org/licenses/LICENSE-2.0 2691 * 2692 * Unless required by applicable law or agreed to in writing, software 2693 * distributed under the License is distributed on an "AS IS" BASIS, 2694 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2695 * See the License for the specific language governing permissions and 2696 * limitations under the License. 2697 */class tp{constructor(A,t,r,n,i){this.asyncQueue=A,this.timerId=t,this.targetTimeMs=r,this.op=n,this.removalCallback=i,this.deferred=new Or,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch(s=>{})}get promise(){return this.deferred.promise}static createAndSchedule(A,t,r,n,i){const s=Date.now()+r,a=new tp(A,t,s,n,i);return a.start(r),a}start(A){this.timerHandle=setTimeout(()=>this.handleDelayElapsed(),A)}skipDelay(){return this.handleDelayElapsed()}cancel(A){this.timerHandle!==null&&(this.clearTimeout(),this.deferred.reject(new W(P.CANCELLED,"Operation cancelled"+(A?": "+A:""))))}handleDelayElapsed(){this.asyncQueue.enqueueAndForget(()=>this.timerHandle!==null?(this.clearTimeout(),this.op().then(A=>this.deferred.resolve(A))):Promise.resolve())}clearTimeout(){this.timerHandle!==null&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)}}function rp(e,A){if(qt("AsyncQueue",`${A}: ${e}`),Vo(e))return new W(P.UNAVAILABLE,`${A}: ${e}`);throw e}/** 2698 * @license 2699 * Copyright 2017 Google LLC 2700 * 2701 * Licensed under the Apache License, Version 2.0 (the "License");
2702 * you may not use this file except in compliance with the License. 2703 * You may obtain a copy of the License at 2704 * 2705 * http://www.apache.org/licenses/LICENSE-2.0 2706 * 2707 * Unless required by applicable law or agreed to in writing, software 2708 * distributed under the License is distributed on an "AS IS" BASIS, 2709 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2710 * See the License for the specific language governing permissions and 2711 * limitations under the License. 2712 */class Bi{constructor(A){this.comparator=A?(t,r)=>A(t,r)||J.comparator(t.key,r.key):(t,r)=>J.comparator(t.key,r.key),this.keyedMap=Ss(),this.sortedSet=new DA(this.comparator)}static emptySet(A){return new Bi(A.comparator)}has(A){return this.keyedMap.get(A)!=null}get(A){return this.keyedMap.get(A)}first(){return this.sortedSet.minKey()}last(){return this.sortedSet.maxKey()}isEmpty(){return this.sortedSet.isEmpty()}indexOf(A){const t=this.keyedMap.get(A);return t?this.sortedSet.indexOf(t):-1}get size(){return this.sortedSet.size}forEach(A){this.sortedSet.inorderTraversal((t,r)=>(A(t),!1))}add(A){const t=this.delete(A.key);return t.copy(t.keyedMap.insert(A.key,A),t.sortedSet.insert(A,null))}delete(A){const t=this.get(A);return t?this.copy(this.keyedMap.remove(A),this.sortedSet.remove(t)):this}isEqual(A){if(!(A instanceof Bi)||this.size!==A.size)return!1;const t=this.sortedSet.getIterator(),r=A.sortedSet.getIterator();for(;t.hasNext();){const n=t.getNext().key,i=r.getNext().key;if(!n.isEqual(i))return!1}return!0}toString(){const A=[];return this.forEach(t=>{A.push(t.toString())}),A.length===0?"DocumentSet ()":`DocumentSet ( 2713 `+A.join(` 2714`)+` 2715)`}copy(A,t){const r=new Bi;return r.comparator=this.comparator,r.keyedMap=A,r.sortedSet=t,r}}/** 2716 * @license 2717 * Copyright 2017 Google LLC 2718 * 2719 * Licensed under the Apache License, Version 2.0 (the "License"); 2720 * you may not use this file except in compliance with the License. 2721 * You may obtain a copy of the License at 2722 * 2723 * http://www.apache.org/licenses/LICENSE-2.0 2724 * 2725 * Unless required by applicable law or agreed to in writing, software 2726 * distributed under the License is distributed on an "AS IS" BASIS, 2727 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2728 * See the License for the specific language governing permissions and 2729 * limitations under the License. 2730 */class I0{constructor(){this.W_=new DA(J.comparator)}track(A){const t=A.doc.key,r=this.W_.get(t);r?A.type!==0&&r.type===3?this.W_=this.W_.insert(t,A):A.type===3&&r.type!==1?this.W_=this.W_.insert(t,{type:r.type,doc:A.doc}):A.type===2&&r.type===2?this.W_=this.W_.insert(t,{type:2,doc:A.doc}):A.type===2&&r.type===0?this.W_=this.W_.insert(t,{type:0,doc:A.doc}):A.type===1&&r.type===0?this.W_=this.W_.remove(t):A.type===1&&r.type===2?this.W_=this.W_.insert(t,{type:1,doc:r.doc}):A.type===0&&r.type===1?this.W_=this.W_.insert(t,{type:2,doc:A.doc}):q():this.W_=this.W_.insert(t,A)}G_(){const A=[];return this.W_.inorderTraversal((t,r)=>{A.push(r)}),A}}class Hi{constructor(A,t,r,n,i,s,a,l,u){this.query=A,this.docs=t,this.oldDocs=r,this.docChanges=n,this.mutatedKeys=i,this.fromCache=s,this.syncStateChanged=a,this.excludesMetadataChanges=l,this.hasCachedResults=u}static fromInitialDocuments(A,t,r,n,i){const s=[];return t.forEach(a=>{s.push({type:0,doc:a})}),new Hi(A,t,Bi.emptySet(t),s,r,n,!0,!1,i)}get hasPendingWrites(){return!this.mutatedKeys.isEmpty()}isEqual(A){if(!(this.fromCache===A.fromCache&&this.hasCachedResults===A.hasCachedResults&&this.syncStateChanged===A.syncStateChanged&&this.mutatedKeys.isEqual(A.mutatedKeys)&&tc(this.query,A.query)&&this.docs.isEqual(A.docs)&&this.oldDocs.isEqual(A.oldDocs)))return!1;const t=this.docChanges,r=A.docChanges;if(t.length!==r.length)return!1;for(let n=0;n<t.length;n++)if(t[n].type!==r[n].type||!t[n].doc.isEqual(r[n].doc))return!1;return!0}}/** 2731 * @license 2732 * Copyright 2017 Google LLC 2733 * 2734 * Licensed under the Apache License, Version 2.0 (the "License"); 2735 * you may not use this file except in compliance with the License. 2736 * You may obtain a copy of the License at 2737 * 2738 * http://www.apache.org/licenses/LICENSE-2.0 2739 * 2740 * Unless required by applicable law or agreed to in writing, softw
2740are 2741 * distributed under the License is distributed on an "AS IS" BASIS, 2742 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2743 * See the License for the specific language governing permissions and 2744 * limitations under the License. 2745 */class Dk{constructor(){this.z_=void 0,this.j_=[]}H_(){return this.j_.some(A=>A.J_())}}class xk{constructor(){this.queries=U0(),this.onlineState="Unknown",this.Y_=new Set}terminate(){(function(t,r){const n=eA(t),i=n.queries;n.queries=U0(),i.forEach((s,a)=>{for(const l of a.j_)l.onError(r)})})(this,new W(P.ABORTED,"Firestore shutting down"))}}function U0(){return new Ki(e=>dQ(e),tc)}async function Pk(e,A){const t=eA(e);let r=3;const n=A.query;let i=t.queries.get(n);i?!i.H_()&&A.J_()&&(r=2):(i=new Dk,r=A.J_()?0:1);try{switch(r){case 0:i.z_=await t.onListen(n,!0);break;case 1:i.z_=await t.onListen(n,!1);break;case 2:await t.onFirstRemoteStoreListen(n)}}catch(s){const a=rp(s,`Initialization of query '${Gn(A.query)}' failed`);return void A.onError(a)}t.queries.set(n,i),i.j_.push(A),A.Z_(t.onlineState),i.z_&&A.X_(i.z_)&&np(t)}async function kk(e,A){const t=eA(e),r=A.query;let n=3;const i=t.queries.get(r);if(i){const s=i.j_.indexOf(A);s>=0&&(i.j_.splice(s,1),i.j_.length===0?n=A.J_()?0:1:!i.H_()&&A.J_()&&(n=2))}switch(n){case 0:return t.queries.delete(r),t.onUnlisten(r,!0);case 1:return t.queries.delete(r),t.onUnlisten(r,!1);case 2:return t.onLastRemoteStoreUnlisten(r);default:return}}function Ok(e,A){const t=eA(e);let r=!1;for(const n of A){const i=n.query,s=t.queries.get(i);if(s){for(const a of s.j_)a.X_(n)&&(r=!0);s.z_=n}}r&&np(t)}function Nk(e,A,t){const r=eA(e),n=r.queries.get(A);if(n)for(const i of n.j_)i.onError(t);r.queries.delete(A)}function np(e){e.Y_.forEach(A=>{A.next()})}var Ed,F0;(F0=Ed||(Ed={})).ea="default",F0.Cache="cache";class bk{constructor(A,t,r){this.query=A,this.ta=t,this.na=!1,this.ra=null,this.onlineState="Unknown",this.options=r||{}}X_(A){if(!this.options.includeMetadataChanges){const r=[];for(const n of A.docChanges)n.type!==3&&r.push(n);A=new Hi(A.query,A.docs,A.oldDocs,r,A.mutatedKeys,A.fromCache,A.syncStateChanged,!0,A.hasCachedResults)}let t=!1;return this.na?this.ia(A)&&(this.ta.next(A),t=!0):this.sa(A,this.onlineState)&&(this.oa(A),t=!0),this.ra=A,t}onError(A){this.ta.error(A)}Z_(A){this.onlineState=A;let t=!1;return this.ra&&!this.na&&this.sa(this.ra,A)&&(this.oa(this.ra),t=!0),t}sa(A,t){if(!A.fromCache||!this.J_())return!0;const r=t!=="Offline";return(!this.options._a||!r)&&(!A.docs.isEmpty()||A.hasCachedResults||t==="Offline")}ia(A){if(A.docChanges.length>0)return!0;const t=this.ra&&this.ra.hasPendingWrites!==A.hasPendingWrites;return!(!A.syncStateChanged&&!t)&&this.options.includeMetadataChanges===!0}oa(A){A=Hi.fromInitialDocuments(A.query,A.docs,A.mutatedKeys,A.fromCache,A.hasCachedResults),this.na=!0,this.ta.next(A)}J_(){return this.options.source!==Ed.Cache}}/** 2746 * @license 2747 * Copyright 2017 Google LLC 2748 * 2749 * Licensed under the Apache License, Version 2.0 (the "License"); 2750 * you may not use this file except in compliance with the License. 2751 * You may obtain a copy of the License at 2752 * 2753 * http://www.apache.org/licenses/LICENSE-2.0 2754 * 2755 * Unless required by applicable law or agreed to in writing, software 2756 * distributed under the License is distributed on an "AS IS" BASIS, 2757 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2758 * See the License for the specific language governing permissions and 2759 * limitations under the License. 2760 */class zQ{constructor(A){this.key=A}}class XQ{constructor(A){this.key=A}}class Vk{constructor(A,t){this.query=A,this.Ta=t,this.Ea=null,this.hasCachedResults=!1,this.current=!1,this.da=sA(),this.mutatedKeys=sA(),this.Aa=gQ(A),this.Ra=new Bi(this.Aa)}get Va(){return this.Ta}ma(A,t){const r=t?t.fa:new I0,n=t?t.Ra:this.Ra;let i=t?t.mutatedKeys:this.mutatedKeys,s=n,a=!1;const l=this.query.limitType==="F"&&n.size===this.query.limit?n.last():null,u=this.query.limitType==="L"&&n.size===this.query.limit?n.first():null;if(A.inorderTraversal((h,d)=>{const g=n.get(h),E=rc(this.query,d)?d:null,_=!!g&&this.mutatedKeys.has(g.key),F=!!E&&(E.hasLocalMutations||this.mutatedKeys.has(E.key)&&E.hasCommittedMutations);let L=!1;g&&E?g.data.isEqual(E.data)?_!==F&&(r.track({type:3,doc:E}),L=!0):this.ga(g,E)||(r.track({type:2,doc:E}),L=!0,(l&&this.Aa(E,l)>0||u&&this.Aa(E,u)<0)&&(a=!0)):!g&&E?(r.track({type:0,doc:E}),L=!0):g&&!E&&(r.track({type:1,doc:g}),L=!0,(l||u)&&(a=!0)),L&&(E?(s=s.add(E),i=F?i.add(h):i.delete(h)):(s=s.delete(h),i=i.delete(h)))}),this.query.limit!==null)for(;s.size>this.query.limit;
2760){const h=this.query.limitType==="F"?s.last():s.first();s=s.delete(h.key),i=i.delete(h.key),r.track({type:1,doc:h})}return{Ra:s,fa:r,ns:a,mutatedKeys:i}}ga(A,t){return A.hasLocalMutations&&t.hasCommittedMutations&&!t.hasLocalMutations}applyChanges(A,t,r,n){const i=this.Ra;this.Ra=A.Ra,this.mutatedKeys=A.mutatedKeys;const s=A.fa.G_();s.sort((h,d)=>function(E,_){const F=L=>{switch(L){case 0:return 1;case 2:case 3:return 2;case 1:return 0;default:return q()}};return F(E)-F(_)}(h.type,d.type)||this.Aa(h.doc,d.doc)),this.pa(r),n=n!=null&&n;const a=t&&!n?this.ya():[],l=this.da.size===0&&this.current&&!n?1:0,u=l!==this.Ea;return this.Ea=l,s.length!==0||u?{snapshot:new Hi(this.query,A.Ra,i,s,A.mutatedKeys,l===0,u,!1,!!r&&r.resumeToken.approximateByteSize()>0),wa:a}:{wa:a}}Z_(A){return this.current&&A==="Offline"?(this.current=!1,this.applyChanges({Ra:this.Ra,fa:new I0,mutatedKeys:this.mutatedKeys,ns:!1},!1)):{wa:[]}}Sa(A){return!this.Ta.has(A)&&!!this.Ra.has(A)&&!this.Ra.get(A).hasLocalMutations}pa(A){A&&(A.addedDocuments.forEach(t=>this.Ta=this.Ta.add(t)),A.modifiedDocuments.forEach(t=>{}),A.removedDocuments.forEach(t=>this.Ta=this.Ta.delete(t)),this.current=A.current)}ya(){if(!this.current)return[];const A=this.da;this.da=sA(),this.Ra.forEach(r=>{this.Sa(r.key)&&(this.da=this.da.add(r.key))});const t=[];return A.forEach(r=>{this.da.has(r)||t.push(new XQ(r))}),this.da.forEach(r=>{A.has(r)||t.push(new zQ(r))}),t}ba(A){this.Ta=A.Ts,this.da=sA();const t=this.ma(A.documents);return this.applyChanges(t,!0)}Da(){return Hi.fromInitialDocuments(this.query,this.Ra,this.mutatedKeys,this.Ea===0,this.hasCachedResults)}}class Mk{constructor(A,t,r){this.query=A,this.targetId=t,this.view=r}}class Kk{constructor(A){this.key=A,this.va=!1}}class Gk{constructor(A,t,r,n,i,s){this.localStore=A,this.remoteStore=t,this.eventManager=r,this.sharedClientState=n,this.currentUser=i,this.maxConcurrentLimboResolutions=s,this.Ca={},this.Fa=new Ki(a=>dQ(a),tc),this.Ma=new Map,this.xa=new Set,this.Oa=new DA(J.comparator),this.Na=new Map,this.La=new Jg,this.Ba={},this.ka=new Map,this.qa=Ri.kn(),this.onlineState="Unknown",this.Qa=void 0}get isPrimaryClient(){return this.Qa===!0}}async function Wk(e,A,t=!0){const r=A_(e);let n;const i=r.Fa.get(A);return i?(r.sharedClientState.addLocalQueryTarget(i.targetId),n=i.view.Da()):n=await JQ(r,A,t,!0),n}async function jk(e,A){const t=A_(e);await JQ(t,A,!0,!1)}async function JQ(e,A,t,r){const n=await ck(e.localStore,Qt(A)),i=n.targetId,s=e.sharedClientState.addLocalQueryTarget(i,t);let a;return r&&(a=await zk(e,A,i,s==="current",n.resumeToken)),e.isPrimaryClient&&t&&VQ(e.remoteStore,n),a}async function zk(e,A,t,r,n){e.Ka=(d,g,E)=>async function(F,L,v,m){let I=L.view.ma(v);I.ns&&(I=await C0(F.localStore,L.query,!1).then(({documents:y})=>L.view.ma(y,I)));const R=m&&m.targetChanges.get(L.targetId),x=m&&m.targetMismatches.get(L.targetId)!=null,H=L.view.applyChanges(I,F.isPrimaryClient,R,x);return S0(F,L.targetId,H.wa),H.snapshot}(e,d,g,E);const i=await C0(e.localStore,A,!0),s=new Vk(A,i.Ts),a=s.ma(i.documents),l=Ko.createSynthesizedTargetChangeForCurrentChange(t,r&&e.onlineState!=="Offline",n),u=s.applyChanges(a,e.isPrimaryClient,l);S0(e,t,u.wa);const h=new Mk(A,t,s);return e.Fa.set(A,h),e.Ma.has(t)?e.Ma.get(t).push(A):e.Ma.set(t,[A]),u.snapshot}async function Xk(e,A,t){const r=eA(e),n=r.Fa.get(A),i=r.Ma.get(n.targetId);if(i.length>1)return r.Ma.set(n.targetId,i.filter(s=>!tc(s,A))),void r.Fa.delete(A);r.isPrimaryClient?(r.sharedClientState.removeLocalQueryTarget(n.targetId),r.sharedCl
2760ientState.isActiveQueryTarget(n.targetId)||await Cd(r.localStore,n.targetId,!1).then(()=>{r.sharedClientState.clearQueryState(n.targetId),t&&qg(r.remoteStore,n.targetId),Qd(r,n.targetId)}).catch(bo)):(Qd(r,n.targetId),await Cd(r.localStore,n.targetId,!0))}async function Jk(e,A){const t=eA(e),r=t.Fa.get(A),n=t.Ma.get(r.targetId);t.isPrimaryClient&&n.length===1&&(t.sharedClientState.removeLocalQueryTarget(r.targetId),qg(t.remoteStore,r.targetId))}async function $k(e,A,t){const r=r2(e);try{const n=await function(s,a){const l=eA(s),u=$A.now(),h=a.reduce((E,_)=>E.add(_.key),sA());let d,g;return l.persistence.runTransaction("Locally write mutations","readwrite",E=>{let _=Zt(),F=sA();return l.cs.getEntries(E,h).next(L=>{_=L,_.forEach((v,m)=>{m.isValidDocument()||(F=F.add(v))})}).next(()=>l.localDocuments.getOverlayedDocuments(E,_)).next(L=>{d=L;const v=[];for(const m of a){const I=gP(m,d.get(m.key).overlayedDocument);I!=null&&v.push(new Fn(m.key,I,iQ(I.value.mapValue),Kt.exists(!0)))}return l.mutationQueue.addMutationBatch(E,u,v,a)}).next(L=>{g=L;const v=L.applyToLocalDocumentSet(d,F);return l.documentOverlayCache.saveOverlays(E,L.batchId,v)})}).then(()=>({batchId:g.batchId,changes:BQ(d)}))}(r.localStore,A);r.sharedClientState.addPendingMutation(n.batchId),function(s,a,l){let u=s.Ba[s.currentUser.toKey()];u||(u=new DA(dA)),u=u.insert(a,l),s.Ba[s.currentUser.toKey()]=u}(r,n.batchId,t),await Wo(r,n.changes),await lc(r.remoteStore)}catch(n){const i=rp(n,"Failed to persist write");t.reject(i)}}async function $Q(e,A){const t=eA(e);try{const r=await ak(t.localStore,A);
2760A.targetChanges.forEach((n,i)=>{const s=t.Na.get(i);s&&(BA(n.addedDocuments.size+n.modifiedDocuments.size+n.removedDocuments.size<=1),n.addedDocuments.size>0?s.va=!0:n.modifiedDocuments.size>0?BA(s.va):n.removedDocuments.size>0&&(BA(s.va),s.va=!1))}),await Wo(t,r,A)}catch(r){await bo(r)}}function T0(e,A,t){const r=eA(e);if(r.isPrimaryClient&&t===0||!r.isPrimaryClient&&t===1){const n=[];r.Fa.forEach((i,s)=>{const a=s.view.Z_(A);a.snapshot&&n.push(a.snapshot)}),function(s,a){const l=eA(s);l.onlineState=a;let u=!1;l.queries.forEach((h,d)=>{for(const g of d.j_)g.Z_(a)&&(u=!0)}),u&&np(l)}(r.eventManager,A),n.length&&r.Ca.d_(n),r.onlineState=A,r.isPrimaryClient&&r.sharedClientState.setOnlineState(A)}}async function Yk(e,A,t){const r=eA(e);r.sharedClientState.updateQueryState(A,"rejected",t);const n=r.Na.get(A),i=n&&n.key;if(i){let s=new DA(J.comparator);s=s.insert(i,ve.newNoDocument(i,AA.min()));const a=sA().add(i),l=new sc(AA.min(),new Map,new DA(dA),s,a);await $Q(r,l),r.Oa=r.Oa.remove(i),r.Na.delete(A),ip(r)}else await Cd(r.localStore,A,!1).then(()=>Qd(r,A,t)).catch(bo)}async function qk(e,A){const t=eA(e),r=A.batch.batchId;try{const n=await ok(t.localStore,A);qQ(t,r,null),YQ(t,r),t.sharedClientState.updateMutationState(r,"acknowledged"),await Wo(t,n)}catch(n){await bo(n)}}async function Zk(e,A,t){const r=eA(e);try{const n=await function(s,a){const l=eA(s);return l.persistence.runTransaction("Reject batch","readwrite-primary",u=>{let h;return l.mutationQueue.lookupMutationBatch(u,a).next(d=>(BA(d!==null),h=d.keys(),l.mutationQueue.removeMutationBatch(u,d))).next(()=>l.mutationQueue.performConsistencyCheck(u)).next(()=>l.documentOverlayCache.removeOverlaysForBatchId(u,h,a)).next(()=>l.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(u,h)).next(()=>l.localDocuments.getDocuments(u,h))})}(r.localStore,A);qQ(r,A,t),YQ(r,A),r.sharedClientState.updateMutationState(A,"rejected",t),await Wo(r,n)}catch(n){await bo(n)}}function YQ(e,A){(e.ka.get(A)||[]).forEach(t=>{t.resolve()}),e.ka.delete(A)}function qQ(e,A,t){const r=eA(e);let n=r.Ba[r.currentUser.toKey()];if(n){const i=n.get(A);i&&(t?i.reject(t):i.resolve(),n=n.remove(A)),r.Ba[r.currentUser.toKey()]=n}}function Qd(e,A,t=null){e.sharedClientState.removeLocalQueryTarget(A);for(const r of e.Ma.get(A))e.Fa.delete(r),t&&e.Ca.$a(r,t);e.Ma.delete(A),e.isPrimaryClient&&e.La.gr(A).forEach(r=>{e.La.containsKey(r)||ZQ(e,r)})}function ZQ(e,A){e.xa.delete(A.path.canonicalString());const t=e.Oa.get(A);t!==null&&(qg(e.remoteStore,t),e.Oa=e.Oa.remove(A),e.Na.delete(t),ip(e))}function S0(e,A,t){for(const r of t)r instanceof zQ?(e.La.addReference(r.key,A),A2(e,r)):r instanceof XQ?(z("SyncEngine","Document no longer in limbo: "+r.key),e.La.removeReference(r.key,A),e.La.containsKey(r.key)||ZQ(e,r.key)):q()}function A2(e,A){const t=A.key,r=t.path.canonicalString();e.Oa.get(t)||e.xa.has(r)||(z("SyncEngine","New document in limbo: "+t),e.xa.add(r),ip(e))}function ip(e){for(;e.xa.size>0&&e.Oa.size<e.maxConcurrentLimboResolutions;){const A=e.xa.values().next().value;e.xa.delete(A);const t=new J(IA.fromString(A)),r=e.qa.next();e.Na.set(r,new Kk(t)),e.Oa=e.Oa.insert(t,r),VQ(e.remoteStore,new Er(Qt(hQ(t.path)),r,"TargetPurposeLimboResolution",Ng.oe))}}async function Wo(e,A,t){const r=eA(e),n=[],i=[],s=[];r.Fa.isEmpty()||(r.Fa.forEach((a,l)=>{s.push(r.Ka(l,A,t).then(u=>{var h;if((u||t)&&r.isPrimaryClient){const d=u?!u.fromCache:(h=t==null?void 0:t.targetChanges.get(l.targetId))===null||h===void 0?void 0:h.current;
2760r.sharedClientState.updateQueryState(l.targetId,d?"current":"not-current")}if(u){n.push(u);const d=Yg.Wi(l.targetId,u);i.push(d)}}))}),await Promise.all(s),r.Ca.d_(n),await async function(l,u){const h=eA(l);try{await h.persistence.runTransaction("notifyLocalViewChanges","readwrite",d=>k.forEach(u,g=>k.forEach(g.$i,E=>h.persistence.referenceDelegate.addReference(d,g.targetId,E)).next(()=>k.forEach(g.Ui,E=>h.persistence.referenceDelegate.removeReference(d,g.targetId,E)))))}catch(d){if(!Vo(d))throw d;z("LocalStore","Failed to update sequence numbers: "+d)}for(const d of u){const g=d.targetId;if(!d.fromCache){const E=h.os.get(g),_=E.snapshotVersion,F=E.withLastLimboFreeSnapshotVersion(_);h.os=h.os.insert(g,F)}}}(r.localStore,i))}async function e2(e,A){const t=eA(e);if(!t.currentUser.isEqual(A)){z("SyncEngine","User change. New user:",A.toKey());const r=await kQ(t.localStore,A);t.currentUser=A,function(i,s){i.ka.forEach(a=>{a.forEach(l=>{l.reject(new W(P.CANCELLED,s))})}),i.ka.clear()}(t,"'waitForPendingWrites' promise is rejected due to a user change."),t.sharedClientState.handleUserChange(A,r.removedBatchIds,r.addedBatchIds),await Wo(t,r.hs)}}function t2(e,A){const t=eA(e),r=t.Na.get(A);if(r&&r.va)return sA().add(r.key);{let n=sA();const i=t.Ma.get(A);if(!i)return n;for(const s of i){const a=t.Fa.get(s);n=n.unionWith(a.view.Va)}return n}}function A_(e){const A=eA(e);return A.remoteStore.remoteSyncer.applyRemoteEvent=$Q.bind(null,A),A.remoteStore.remoteSyncer.getRemoteKeysForTarget=t2.bind(null,A),A.remoteStore.remoteSyncer.rejectListen=Yk.bind(null,A),A.Ca.d_=Ok.bind(null,A.eventManager),A.Ca.$a=Nk.bind(null,A.eventManager),A}function r2(e){const A=eA(e);return A.remoteStore.remoteSyncer.applySuccessfulWrite=qk.bind(null,A),A.remoteStore.remoteSyncer.rejectFailedWrite=Zk.bind(null,A),A}class vu{constructor(){this.kind="memory",this.synchronizeTabs=!1}async initialize(A){this.serializer=oc(A.databaseInfo.databaseId),this.sharedClientState=this.Wa(A),this.persistence=this.Ga(A),await this.persistence.start(),this.localStore=this.za(A),this.gcScheduler=this.ja(A,this.localStore),this.indexBackfillerScheduler=this.Ha(A,this.localStore)}ja(A,t){return null}Ha(A,t){return null}za(A){return sk(this.persistence,new nk,A.initialUser,this.serializer)}Ga(A){return new ek($g.Zr,this.serializer)}Wa(A){return new fk}async terminate(){var A,t;(A=this.gcScheduler)===null||A===void 0||A.stop(),(t=this.indexBackfillerScheduler)===null||t===void 0||t.stop(),this.sharedClientState.shutdown(),await this.persistence.shutdown()}}vu.provider={build:()=>new vu};class _d{async initialize(A,t){this.localStore||(this.localStore=A.localStore,this.sharedClientState=A.sharedClientState,this.datastore=this.createDatastore(t),this.remoteStore=this.createRemoteStore(t),this.eventManager=this.createEventManager(t),this.syncEngine=this.createSyncEngine(t,!A.synchronizeTabs),this.sharedClientState.onlineStateHandler=r=>T0(this.syncEngine,r,1),this.remoteStore.remoteSyncer.handleCredentialChange=e2.bind(null,this.syncEngine),await Lk(this.remoteStore,this.syncEngine.isPrimaryClient))}createEventManager(A){return function(){return new xk}()}createDatastore(A){const t=oc(A.databaseInfo.databaseId),r=function(i){return new Bk(i)}(A.databaseInfo);return function(i,s,a,l){return new yk(i,s,a,l)}(A.authCredentials,A.appCheckCredentials,r,t)}createRemoteStore(A){return function(r,n,i,s,a){return new Ck(r,n,i,s,a)}(this.localStore,this.datastore,A.asyncQueue,t=>T0(this.syncEngine,t,0),function(){return Q0.D()?new Q0:new dk}())}createSyncEngine(A,t){return function(n,i,s,a,l,u,h){const d=new Gk(n,i,s,a,l,u);return h&&(d.Qa=!0),d}(this.localStore,this.remoteStore,this.eventManager,this.sharedClientState,A.initialUser,A.maxConcurrentLimboResolutions,t)}async terminate(){var A,t;await async function(n){const i=eA(n);z("RemoteStore","RemoteStore shutting down."),i.L_.add(5),await Go(i),i.k_.shutdown(),i.q_.set("Unknown")}(this.remoteStore),(A=this.datastore)===null||A===void 0||A.terminate(),(t=this.eventManager)===null||t===void 0||t.terminate()}}_d.provider={build:()=>new _d};/** 2761 * @license 2762 * Copyright 2020 Google LLC 2763 * 2764 * Licensed under the Apache License, Version 2.0 (the "License");
2765 * you may not use this file except in compliance with the License. 2766 * You may obtain a copy of the License at 2767 * 2768 * http://www.apache.org/licenses/LICENSE-2.0 2769 * 2770 * Unless required by applicable law or agreed to in writing, software 2771 * distributed under the License is distributed on an "AS IS" BASIS, 2772 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2773 * See the License for the specific language governing permissions and 2774 * limitations under the License. 2775 *//** 2776 * @license 2777 * Copyright 2017 Google LLC 2778 * 2779 * Licensed under the Apache License, Version 2.0 (the "License"); 2780 * you may not use this file except in compliance with the License. 2781 * You may obtain a copy of the License at 2782 * 2783 * http://www.apache.org/licenses/LICENSE-2.0 2784 * 2785 * Unless required by applicable law or agreed to in writing, software 2786 * distributed under the License is distributed on an "AS IS" BASIS, 2787 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2788 * See the License for the specific language governing permissions and 2789 * limitations under the License. 2790 */class n2{constructor(A){this.observer=A,this.muted=!1}next(A){this.muted||this.observer.next&&this.Ya(this.observer.next,A)}error(A){this.muted||(this.observer.error?this.Ya(this.observer.error,A):qt("Uncaught Error in snapshot listener:",A.toString()))}Za(){this.muted=!0}Ya(A,t){setTimeout(()=>{this.muted||A(t)},0)}}/** 2791 * @license 2792 * Copyright 2017 Google LLC 2793 * 2794 * Licensed under the Apache License, Version 2.0 (the "License"); 2795 * you may not use this file except in compliance with the License. 2796 * You may obtain a copy of the License at 2797 * 2798 * http://www.apache.org/licenses/LICENSE-2.0 2799 * 2800 * Unless required by applicable law or agreed to in writing, software 2801 * distributed under the License is distributed on an "AS IS" BASIS, 2802 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2803 * See the License for the specific language governing permissions and 2804 * limitations under the License. 2805 */class i2{constructor(A,t,r,n,i){this.authCredentials=A,this.appCheckCredentials=t,this.asyncQueue=r,this.databaseInfo=n,this.user=me.UNAUTHENTICATED,this.clientId=tQ.newId(),this.authCredentialListener=()=>Promise.resolve(),this.appCheckCredentialListener=()=>Promise.resolve(),this._uninitializedComponentsProvider=i,this.authCredentials.start(r,async s=>{z("FirestoreClient","Received user=",s.uid),await this.authCredentialListener(s),this.user=s}),this.appCheckCredentials.start(r,s=>(z("FirestoreClient","Received new app check token=",s),this.appCheckCredentialListener(s,this.user)))}get configuration(){return{asyncQueue:this.asyncQueue,databaseInfo:this.databaseInfo,clientId:this.clientId,authCredentials:this.authCredentials,appCheckCredentials:this.appCheckCredentials,initialUser:this.user,maxConcurrentLimboResolutions:100}}setCredentialChangeListener(A){this.authCredentialListener=A}setAppCheckTokenChangeListener(A){this.appCheckCredentialListener=A}terminate(){this.asyncQueue.enterRestrictedMode();const A=new Or;return this.asyncQueue.enqueueAndForgetEvenWhileRestricted(async()=>{try{this._onlineComponents&&await this._onlineComponents.terminate(),this._offlineComponents&&await this._offlineComponents.terminate(),this.authCredentials.shutdown(),this.appCheckCredentials.shutdown(),A.resolve()}catch(t){const r=rp(t,"Failed to shutdown persistence");A.reject(r)}}),A.promise}}async function Nh(e,A){e.asyncQueue.verifyOperationInProgress(),z("FirestoreClient","Initializing OfflineComponentProvider");const t=e.configuration;await A.initialize(t);let r=t.initialUser;e.setCredentialChangeListener(async n=>{r.isEqual(n)||(await kQ(A.localStore,n),r=n)}),A.persistence.setDatabaseDeletedListener(()=>e.terminate()),e._offlineComponents=A}async function R0(e,A){e.asyncQueue.verifyOperationInProgress();const t=await s2(e);z("FirestoreClient","Initializing OnlineComponentProvider"),await A.initialize(t,e.configuration),e.setCredentialChangeListener(r=>_0(A.remoteStore,r)),e.setAppCheckTokenChangeListener((r,n)=>_0(A.remoteStore,n)),e._onlineComponents=A}async function s2(e){if(!e._offlineComponents)if(e._uninitializedComponentsProvider){z("FirestoreClient","Using user provided OfflineComponentProvider");try{await Nh(e,e._uninitializedComponentsProvider._offline)}catch(A){const t=A;
2805if(!function(n){return n.name==="FirebaseError"?n.code===P.FAILED_PRECONDITION||n.code===P.UNIMPLEMENTED:!(typeof DOMException<"u"&&n instanceof DOMException)||n.code===22||n.code===20||n.code===11}(t))throw t;Ui("Error using user provided cache. Falling back to memory cache: "+t),await Nh(e,new vu)}}else z("FirestoreClient","Using default OfflineComponentProvider"),await Nh(e,new vu);return e._offlineComponents}async function e_(e){return e._onlineComponents||(e._uninitializedComponentsProvider?(z("FirestoreClient","Using user provided OnlineComponentProvider"),await R0(e,e._uninitializedComponentsProvider._online)):(z("FirestoreClient","Using default OnlineComponentProvider"),await R0(e,new _d))),e._onlineComponents}function o2(e){return e_(e).then(A=>A.syncEngine)}async function a2(e){const A=await e_(e),t=A.eventManager;return t.onListen=Wk.bind(null,A.syncEngine),t.onUnlisten=Xk.bind(null,A.syncEngine),t.onFirstRemoteStoreListen=jk.bind(null,A.syncEngine),t.onLastRemoteStoreUnlisten=Jk.bind(null,A.syncEngine),t}function l2(e,A,t={}){const r=new Or;return e.asyncQueue.enqueueAndForget(async()=>function(i,s,a,l,u){const h=new n2({next:g=>{h.Za(),s.enqueueAndForget(()=>kk(i,d)),g.fromCache&&l.source==="server"?u.reject(new W(P.UNAVAILABLE,'Failed to get documents from server. (However, these documents may exist in the local cache. Run again without setting source to "server" to retrieve the cached documents.)')):u.resolve(g)},error:g=>u.reject(g)}),d=new bk(a,h,{includeMetadataChanges:!0,_a:!0});return Pk(i,d)}(await a2(e),e.asyncQueue,A,t,r)),r.promise}/** 2806 * @license 2807 * Copyright 2023 Google LLC 2808 * 2809 * Licensed under the Apache License, Version 2.0 (the "License"); 2810 * you may not use this file except in compliance with the License. 2811 * You may obtain a copy of the License at 2812 * 2813 * http://www.apache.org/licenses/LICENSE-2.0 2814 * 2815 * Unless required by applicable law or agreed to in writing, software 2816 * distributed under the License is distributed on an "AS IS" BASIS, 2817 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2818 * See the License for the specific language governing permissions and 2819 * limitations under the License. 2820 */function t_(e){const A={};return e.timeoutSeconds!==void 0&&(A.timeoutSeconds=e.timeoutSeconds),A}/** 2821 * @license 2822 * Copyright 2020 Google LLC 2823 * 2824 * Licensed under the Apache License, Version 2.0 (the "License"); 2825 * you may not use this file except in compliance with the License. 2826 * You may obtain a copy of the License at 2827 * 2828 * http://www.apache.org/licenses/LICENSE-2.0 2829 * 2830 * Unless required by applicable law or agreed to in writing, software 2831 * distributed under the License is distributed on an "AS IS" BASIS, 2832 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2833 * See the License for the specific language governing permissions and 2834 * limitations under the License. 2835 */const H0=new Map;/** 2836 * @license 2837 * Copyright 2017 Google LLC 2838 * 2839 * Licensed under the Apache License, Version 2.0 (the "License"); 2840 * you may not use this file except in compliance with the License. 2841 * You may obtain a copy of the License at 2842 * 2843 * http://www.apache.org/licenses/LICENSE-2.0 2844 * 2845 * Unless required by applicable law or agreed to in writing, software 2846 * distributed under the License is distributed on an "AS IS" BASIS, 2847 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2848 * See the License for the specific language governing permissions and 2849 * limitations under the License. 2850 */function r_(e,A,t){if(!t)throw new W(P.INVALID_ARGUMENT,`Function ${e}() cannot be called with an empty ${A}.`)}function u2(e,A,t,r){if(A===!0&&r===!0)throw new W(P.INVALID_ARGUMENT,`${e} and ${t} cannot be used together.`)}function L0(e){if(!J.isDocumentKey(e))throw new W(P.INVALID_ARGUMENT,`Invalid document reference. Document references must have an even number of segments, but ${e} has ${e.length}.`)}function D0(e){if(J.isDocumentKey(e))throw new W(P.INVALID_ARGUMENT,`Invalid collection reference. Collection references must have an odd number of segments, but ${e} has ${e.length}.`)}function uc(e){if(e===void 0)return"undefined";if(e===null)return"null";if(typeof e=="string")return e.length>20&&(e=`${e.substring(0,20)}...`),JSON.stringify(e);if(typeof e=="number"||typeof e=="boolean")return""+e;if(typeof e=="object"){if(e instanceof Array)return"an array";{const A=function(r){return r.constructor?r.constructor.name:null}(e);return A?`a custom ${A} object`:"an object"}}return typeof e=="function"?"a function":q()}function Cu(e,A){if("_delegate"in e&&(e=e._delegate),!(e instanceof A)){if(A.n
2850ame===e.constructor.name)throw new W(P.INVALID_ARGUMENT,"Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?");{const t=uc(e);throw new W(P.INVALID_ARGUMENT,`Expected type '${A.name}', but it was: ${t}`)}}return e}/** 2851 * @license 2852 * Copyright 2020 Google LLC 2853 * 2854 * Licensed under the Apache License, Version 2.0 (the "License"); 2855 * you may not use this file except in compliance with the License. 2856 * You may obtain a copy of the License at 2857 * 2858 * http://www.apache.org/licenses/LICENSE-2.0 2859 * 2860 * Unless required by applicable law or agreed to in writing, software 2861 * distributed under the License is distributed on an "AS IS" BASIS, 2862 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2863 * See the License for the specific language governing permissions and 2864 * limitations under the License. 2865 */class x0{constructor(A){var t,r;if(A.host===void 0){if(A.ssl!==void 0)throw new W(P.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host="firestore.googleapis.com",this.ssl=!0}else this.host=A.host,this.ssl=(t=A.ssl)===null||t===void 0||t;if(this.credentials=A.credentials,this.ignoreUndefinedProperties=!!A.ignoreUndefinedProperties,this.localCache=A.localCache,A.cacheSizeBytes===void 0)this.cacheSizeBytes=41943040;else{if(A.cacheSizeBytes!==-1&&A.cacheSizeBytes<1048576)throw new W(P.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=A.cacheSizeBytes}u2("experimentalForceLongPolling",A.experimentalForceLongPolling,"experimentalAutoDetectLongPolling",A.experimentalAutoDetectLongPolling),this.experimentalForceLongPolling=!!A.experimentalForceLongPolling,this.experimentalForceLongPolling?this.experimentalAutoDetectLongPolling=!1:A.experimentalAutoDetectLongPolling===void 0?this.experimentalAutoDetectLongPolling=!0:this.experimentalAutoDetectLongPolling=!!A.experimentalAutoDetectLongPolling,this.experimentalLongPollingOptions=t_((r=A.experimentalLongPollingOptions)!==null&&r!==void 0?r:{}),function(i){if(i.timeoutSeconds!==void 0){if(isNaN(i.timeoutSeconds))throw new W(P.INVALID_ARGUMENT,`invalid long polling timeout: ${i.timeoutSeconds} (must not be NaN)`);if(i.timeoutSeconds<5)throw new W(P.INVALID_ARGUMENT,`invalid long polling timeout: ${i.timeoutSeconds} (minimum allowed value is 5)`);if(i.timeoutSeconds>30)throw new W(P.INVALID_ARGUMENT,`invalid long polling timeout: ${i.timeoutSeconds} (maximum allowed value is 30)`)}}(this.experimentalLongPollingOptions),this.useFetchStreams=!!A.useFetchStreams}isEqual(A){return this.host===A.host&&this.ssl===A.ssl&&this.credentials===A.credentials&&this.cacheSizeBytes===A.cacheSizeBytes&&this.experimentalForceLongPolling===A.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===A.experimentalAutoDetectLongPolling&&function(r,n){return r.timeoutSeconds===n.timeoutSeconds}(this.experimentalLongPollingOptions,A.experimentalLongPollingOptions)&&this.ignoreUndefinedProperties===A.ignoreUndefinedProperties&&this.useFetchStreams===A.useFetchStreams}}class cc{constructor(A,t,r,n){this._authCredentials=A,this._appCheckCredentials=t,this._databaseId=r,this._app=n,this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new x0({}),this._settingsFrozen=!1,this._terminateTask="notTerminated"}get app(){if(!this._app)throw new W(P.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}get _initialized(){return this._settingsFrozen}get _terminated(){return this._terminateTask!=="notTerminated"}_setSettings(A){if(this._settingsFrozen)throw new W(P.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new x0(A),A.credentials!==void 0&&(this._authCredentials=function(r){if(!r)return new Ex;switch(r.type){case"firstParty":return new Ux(r.sessionIndex||"0",r.iamToken||null,r.authTokenFactory||null);case"provider":return r.client;default:throw new W(P.INVALID_ARGUMENT,"makeAuthCredentialsProvider failed due to invali
2865d credential type")}}(A.credentials))}_getSettings(){return this._settings}_freezeSettings(){return this._settingsFrozen=!0,this._settings}_delete(){return this._terminateTask==="notTerminated"&&(this._terminateTask=this._terminate()),this._terminateTask}async _restart(){this._terminateTask==="notTerminated"?await this._terminate():this._terminateTask="notTerminated"}toJSON(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}}_terminate(){return function(t){const r=H0.get(t);r&&(z("ComponentProvider","Removing Datastore"),H0.delete(t),r.terminate())}(this),Promise.resolve()}}function c2(e,A,t,r={}){var n;const i=(e=Cu(e,cc))._getSettings(),s=`${A}:${t}`;if(i.host!=="firestore.googleapis.com"&&i.host!==s&&Ui("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used."),e._setSettings(Object.assign(Object.assign({},i),{host:s,ssl:!1})),r.mockUserToken){let a,l;if(typeof r.mockUserToken=="string")a=r.mockUserToken,l=me.MOCK_USER;else{a=qH(r.mockUserToken,(n=e._app)===null||n===void 0?void 0:n.options.projectId);const u=r.mockUserToken.sub||r.mockUserToken.user_id;if(!u)throw new W(P.INVALID_ARGUMENT,"mockUserToken must contain 'sub' or 'user_id' field!");l=new me(u)}e._authCredentials=new Qx(new eQ(a,l))}}/** 2866 * @license 2867 * Copyright 2020 Google LLC 2868 * 2869 * Licensed under the Apache License, Version 2.0 (the "License"); 2870 * you may not use this file except in compliance with the License. 2871 * You may obtain a copy of the License at 2872 * 2873 * http://www.apache.org/licenses/LICENSE-2.0 2874 * 2875 * Unless required by applicable law or agreed to in writing, software 2876 * distributed under the License is distributed on an "AS IS" BASIS, 2877 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2878 * See the License for the specific language governing permissions and 2879 * limitations under the License. 2880 */class Sn{constructor(A,t,r){this.converter=t,this._query=r,this.type="query",this.firestore=A}withConverter(A){return new Sn(this.firestore,A,this._query)}}class et{constructor(A,t,r){this.converter=t,this._key=r,this.type="document",this.firestore=A}get _path(){return this._key.path}get id(){return this._key.path.lastSegment()}get path(){return this._key.path.canonicalString()}get parent(){return new Nr(this.firestore,this.converter,this._key.path.popLast())}withConverter(A){return new et(this.firestore,A,this._key)}}class Nr extends Sn{constructor(A,t,r){super(A,t,hQ(r)),this._path=r,this.type="collection"}get id(){return this._query.path.lastSegment()}get path(){return this._query.path.canonicalString()}get parent(){const A=this._path.popLast();return A.isEmpty()?null:new et(this.firestore,null,new J(A))}withConverter(A){return new Nr(this.firestore,A,this._path)}}function P0(e,A,...t){if(e=Ke(e),r_("collection","path",A),e instanceof cc){const r=IA.fromString(A,...t);return D0(r),new Nr(e,null,r)}{if(!(e instanceof et||e instanceof Nr))throw new W(P.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const r=e._path.child(IA.fromString(A,...t));return D0(r),new Nr(e.firestore,null,r)}}function h2(e,A,...t){if(e=Ke(e),arguments.length===1&&(A=tQ.newId()),r_("doc","path",A),e instanceof cc){const r=IA.fromString(A,...t);return L0(r),new et(e,null,new J(r))}{if(!(e instanceof et||e instanceof Nr))throw new W(P.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const r=e._path.child(IA.fromString(A,...t));return L0(r),new et(e.firestore,e instanceof Nr?e.converter:null,new J(r))}}/** 2881 * @license 2882 * Copyright 2020 Google LLC 2883 * 2884 * Licensed under the Apache License, Version 2.0 (the "License"); 2885 * you may not use this file except in compliance with the License. 2886 * You may obtain a copy of the License at 2887 * 2888 * http://www.apache.org/licenses/LICENSE-2.0 2889 * 2890 * Unless required by applicable law or agreed to in writing, software 2891 * distributed under the License is distributed on an "AS IS" BASIS, 2892 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2893 * See the License for the specific language governing permissions and 2894 * limitations under the License. 2895 */class k0{constructor(A=Promise.resolve()){this.Pu=[],this.Iu=!1,this.Tu=[],this.Eu=null,this.du=!1,this.Au=!1,this.Ru=[],this.t_=new NQ(this,"async_queue_retry"),this.Vu=()=>{const r=Oh();r&&z("AsyncQueue","Visibility state changed to "+r.visibilityState),this.t_.jo()},this.mu=A;const t=Oh();t&&typeof t.addEventListener=="function"&&t.addEventListener("visibilitychange",this.Vu)}get isShuttingDown(){return this.Iu}enqueueAndForget(A){this.enqueue(A)}enqueueAndForgetEvenWhileRestricted(A){this.fu(),this.gu(A)}enterRestrictedMode(A){if(!this.Iu){this.Iu=!0,this.Au=A||!1;const t=Oh();t&&typeof t.removeEventListener=="function"&&t.removeEventListener("visibilitychange",this.Vu)}}enqueue(A){if(this.fu(),this.Iu)return new Promise(()=>{});const t=new Or;return this.gu(()=>this.Iu&&this.Au?Promise.resolve():(A().then(t.resolve,t.reject),t.promise)).then(()=>t.promise)}enqueueRetryable(A){this.enqueueAndForget(()=>(this.Pu.push(A),this.pu()))}async pu(){if(this.Pu.length!==0){try{await this.Pu[0](),this.Pu.shift(),this.t_.reset()}catch(A){if(!Vo(A))throw A;z("AsyncQueue","Operation failed with retryable error: "+A)}this.Pu.length>0&&this.t_.Go(()=>this.pu())}}gu(A){const t=this.mu.then(()=>(this.du=!0,A().catch(r=>{this.Eu=r,this.du=!1;const n=function(s){let a=s.message||"";return s.stack&&(a=s.stack.includes(s.message)?s.stack:s.message+` 2896`+s.stack),a}(r);throw qt("INTERNAL UNHANDLED ERROR: ",n),r}).then(r=>(this.du=!1,r))));return this.mu=t,t}enqueueAfterDelay(A,t,r){this.fu(),this.Ru.indexOf(A)>-1&&(t=0);const n=tp.createAndSchedule(this,A,t,r,i=>this.yu(i));return this.Tu.push(n),n}fu(){this.Eu&&q()}verifyOperationInProgress(){}async wu(){let A;do A=this.mu,await A;while(A!==this.mu)}Su(A){for(const t of this.Tu)if(t.timerId===A)return!0;return!1}bu(A){return this.wu().then(()=>{this.Tu.sort((t,r)=>t.targetTimeMs-r.targetTimeMs);for(const t of this.Tu)if(t.skipDelay(),A!=="all"&&t.timerId===A)break;return this.wu()})}Du(A){this.Ru.push(A)}yu(A){const t=this.Tu.indexOf(A);this.Tu.splice(t,1)}}class sp extends cc{constructor(A,t,r,n){super(A,t,r,n),this.type="firestore",this._queue=new k0,this._persistenceKey=(n==null?void 0:n.name)||"[DEFAULT]"}async _terminate(){if(this._firestoreClient){const A=this._firestoreClient.terminate();this._queue=new k0(A),this._firestoreClient=void 0,await A}}}function f2(e,A){const t=typeof e=="object"?e:fE(),r=typeof e=="string"?e:A||"(default)",n=Tg(t,"firestore").getImmediate({identifier:r});if(!n._initialized){const i=$H("firestore");i&&c2(n,...i)}return n}function n_(e){if(e._terminated)throw new W(P.FAILED_PRECONDITION,"The client has already been terminated.");return e._firestoreClient||d2(e),e._firestoreClient}function d2(e){var A,t,r;const n=e._freezeSettings(),i=function(a,l,u,h){return new bx(a,l,u,h.host,h.ssl,h.experimentalForceLongPolling,h.experimentalAutoDetectLongPolling,t_(h.experimentalLongPollingOptions),h.useFetchStreams)}(e._databaseId,((A=e._app)===null||A===void 0?void 0:A.options.appId)||"",e._persistenceKey,n);e._componentsProvider||!((t=n.localCache)===null||t===void 0)&&t._offlineComponentProvider&&(!((r=n.localCache)===null||r===void 0)&&r._onlineComponentProvider)&&(e._componentsProvider={_offline:n.localCache._offlineComponentProvider,_online:n.localCache._onlineComponentProvider}),e._firestoreClient=new i2(e._authCredentials,e._appCheckCredentials,e._queue,i,e._componentsProvider&&function(a){const l=a==null?void 0:a._online.build();return{_offline:a==null?void 0:a._offline.build(l),_online:l}}(e._componentsProvider))}/** 2897 * @license 2898 * Copyright 2020 Google LLC 2899 * 2900 * Licensed under the Apache License, Version 2.0 (the "License");
2901 * you may not use this file except in compliance with the License. 2902 * You may obtain a copy of the License at 2903 * 2904 * http://www.apache.org/licenses/LICENSE-2.0 2905 * 2906 * Unless required by applicable law or agreed to in writing, software 2907 * distributed under the License is distributed on an "AS IS" BASIS, 2908 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2909 * See the License for the specific language governing permissions and 2910 * limitations under the License. 2911 */class Li{constructor(A){this._byteString=A}static fromBase64String(A){try{return new Li(ue.fromBase64String(A))}catch(t){throw new W(P.INVALID_ARGUMENT,"Failed to construct data from Base64 string: "+t)}}static fromUint8Array(A){return new Li(ue.fromUint8Array(A))}toBase64(){return this._byteString.toBase64()}toUint8Array(){return this._byteString.toUint8Array()}toString(){return"Bytes(base64: "+this.toBase64()+")"}isEqual(A){return this._byteString.isEqual(A._byteString)}}/** 2912 * @license 2913 * Copyright 2020 Google LLC 2914 * 2915 * Licensed under the Apache License, Version 2.0 (the "License"); 2916 * you may not use this file except in compliance with the License. 2917 * You may obtain a copy of the License at 2918 * 2919 * http://www.apache.org/licenses/LICENSE-2.0 2920 * 2921 * Unless required by applicable law or agreed to in writing, software 2922 * distributed under the License is distributed on an "AS IS" BASIS, 2923 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2924 * See the License for the specific language governing permissions and 2925 * limitations under the License. 2926 */class op{constructor(...A){for(let t=0;t<A.length;++t)if(A[t].length===0)throw new W(P.INVALID_ARGUMENT,"Invalid field name at argument $(i + 1). Field names must not be empty.");this._internalPath=new ie(A)}isEqual(A){return this._internalPath.isEqual(A._internalPath)}}/** 2927 * @license 2928 * Copyright 2020 Google LLC 2929 * 2930 * Licensed under the Apache License, Version 2.0 (the "License"); 2931 * you may not use this file except in compliance with the License. 2932 * You may obtain a copy of the License at 2933 * 2934 * http://www.apache.org/licenses/LICENSE-2.0 2935 * 2936 * Unless required by applicable law or agreed to in writing, software 2937 * distributed under the License is distributed on an "AS IS" BASIS, 2938 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2939 * See the License for the specific language governing permissions and 2940 * limitations under the License. 2941 */class ap{constructor(A){this._methodName=A}}/** 2942 * @license 2943 * Copyright 2017 Google LLC 2944 * 2945 * Licensed under the Apache License, Version 2.0 (the "License"); 2946 * you may not use this file except in compliance with the License. 2947 * You may obtain a copy of the License at 2948 * 2949 * http://www.apache.org/licenses/LICENSE-2.0 2950 * 2951 * Unless required by applicable law or agreed to in writing, software 2952 * distributed under the License is distributed on an "AS IS" BASIS, 2953 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2954 * See the License for the specific language governing permissions and 2955 * limitations under the License. 2956 */class lp{constructor(A,t){if(!isFinite(A)||A<-90||A>90)throw new W(P.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+A);if(!isFinite(t)||t<-180||t>180)throw new W(P.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+t);this._lat=A,this._long=t}get latitude(){return this._lat}get longitude(){return this._long}isEqual(A){return this._lat===A._lat&&this._long===A._long}toJSON(){return{latitude:this._lat,longitude:this._long}}_compareTo(A){return dA(this._lat,A._lat)||dA(this._long,A._long)}}/** 2957 * @license 2958 * Copyright 2024 Google LLC 2959 * 2960 * Licensed under the Apache License, Version 2.0 (the "License"); 2961 * you may not use this file except in compliance with the License. 2962 * You may obtain a copy of the License at 2963 * 2964 * http://www.apache.org/licenses/LICENSE-2.0 2965 * 2966 * Unless required by applicable law or agreed to in writing, software 2967 * distributed under the License is distributed on an "AS IS" BASIS, 2968 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2969 * See the License for the specific language governing permissions and 2970 * limitations under the License. 2971 */class up{constructor(A){this._values=(A||[]).map(t=>t)}toArray(){return this._values.map(A=>A)}isEqual(A){return function(r,n){if(r.length!==n.length)return!1;for(let i=0;i<r.length;++i)if(r[i]!==n[i])return!1;return!0}(this._values,A._values)}}/** 2972 * @license 2973 * Copyright 2017 Google LLC 2974 * 2975 * Licensed under the Apache License, Version 2.0 (the "License");
2976 * you may not use this file except in compliance with the License. 2977 * You may obtain a copy of the License at 2978 * 2979 * http://www.apache.org/licenses/LICENSE-2.0 2980 * 2981 * Unless required by applicable law or agreed to in writing, software 2982 * distributed under the License is distributed on an "AS IS" BASIS, 2983 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2984 * See the License for the specific language governing permissions and 2985 * limitations under the License. 2986 */const g2=/^__.*__$/;class p2{constructor(A,t,r){this.data=A,this.fieldMask=t,this.fieldTransforms=r}toMutation(A,t){return this.fieldMask!==null?new Fn(A,this.data,this.fieldMask,t,this.fieldTransforms):new Mo(A,this.data,t,this.fieldTransforms)}}function i_(e){switch(e){case 0:case 2:case 1:return!0;case 3:case 4:return!1;default:throw q()}}class cp{constructor(A,t,r,n,i,s){this.settings=A,this.databaseId=t,this.serializer=r,this.ignoreUndefinedProperties=n,i===void 0&&this.vu(),this.fieldTransforms=i||[],this.fieldMask=s||[]}get path(){return this.settings.path}get Cu(){return this.settings.Cu}Fu(A){return new cp(Object.assign(Object.assign({},this.settings),A),this.databaseId,this.serializer,this.ignoreUndefinedProperties,this.fieldTransforms,this.fieldMask)}Mu(A){var t;const r=(t=this.path)===null||t===void 0?void 0:t.child(A),n=this.Fu({path:r,xu:!1});return n.Ou(A),n}Nu(A){var t;const r=(t=this.path)===null||t===void 0?void 0:t.child(A),n=this.Fu({path:r,xu:!1});return n.vu(),n}Lu(A){return this.Fu({path:void 0,xu:!0})}Bu(A){return Eu(A,this.settings.methodName,this.settings.ku||!1,this.path,this.settings.qu)}contains(A){return this.fieldMask.find(t=>A.isPrefixOf(t))!==void 0||this.fieldTransforms.find(t=>A.isPrefixOf(t.field))!==void 0}vu(){if(this.path)for(let A=0;A<this.path.length;A++)this.Ou(this.path.get(A))}Ou(A){if(A.length===0)throw this.Bu("Document fields must not be empty");if(i_(this.Cu)&&g2.test(A))throw this.Bu('Document fields cannot begin and end with "__"')}}class B2{constructor(A,t,r){this.databaseId=A,this.ignoreUndefinedProperties=t,this.serializer=r||oc(A)}Qu(A,t,r,n=!1){return new cp({Cu:A,methodName:t,qu:r,path:ie.emptyPath(),xu:!1,ku:n},this.databaseId,this.serializer,this.ignoreUndefinedProperties)}}function s_(e){const A=e._freezeSettings(),t=oc(e._databaseId);return new B2(e._databaseId,!!A.ignoreUndefinedProperties,t)}function m2(e,A,t,r,n,i={}){const s=e.Qu(i.merge||i.mergeFields?2:0,A,t,n);l_("Data must be an object, but it was:",s,r);const a=o_(r,s);let l,u;if(i.merge)l=new ut(s.fieldMask),u=s.fieldTransforms;else if(i.mergeFields){const h=[];for(const d of i.mergeFields){const g=y2(A,d,t);if(!s.contains(g))throw new W(P.INVALID_ARGUMENT,`Field '${g}' is specified in your field mask but missing from your input data.`);C2(h,g)||h.push(g)}l=new ut(h),u=s.fieldTransforms.filter(d=>l.covers(d.field))}else l=null,u=s.fieldTransforms;return new p2(new $e(a),l,u)}class hp extends ap{_toFieldTransform(A){return new cP(A.path,new _o)}isEqual(A){return A instanceof hp}}function w2(e,A,t,r=!1){return fp(t,e.Qu(r?4:3,A))}function fp(e,A){if(a_(e=Ke(e)))return l_("Unsupported field value:",A,e),o_(e,A);if(e instanceof ap)return function(r,n){if(!i_(n.Cu))throw n.Bu(`${r._methodName}() can only be used with update() and set()`);if(!n.path)throw n.Bu(`${r._methodName}() is not currently supported inside arrays`);const i=r._toFieldTransform(n);i&&n.fieldTransforms.push(i)}(e,A),null;if(e===void 0&&A.ignoreUndefinedProperties)return null;if(A.path&&A.fieldMask.push(A.path),e instanceof Array){if(A.settings.xu&&A.Cu!==4)throw A.Bu("Nested arrays are not supported");return function(r,n){const i=[];let s=0;for(const a of r){let l=fp(a,n.Lu(s));l==null&&(l={nullValue:"NULL_VALUE"}),i.push(l),s++}return{arrayValue:{values:i}}}(e,A)}return function(r,n){if((r=Ke(r))===null)return{nullValue:"NULL_VALUE"};if(typeof r=="number")return aP(n.serializer,r);if(typeof r=="boolean")return{booleanValue:r};if(typeof r=="string")return{stringValue:r};if(r instanceof Date){const i=$A.fromDate(r);return{timestampValue:wu(n.serializer,i)}}if(r instanceof $A){const i=new $A(r.seconds,1e3*Math.floor(r.nanoseconds/1e3));return{timestampValue:wu(n.serializer,i)}}if(r instanceof lp)return{geoPointValue:{latitude:r.latitude,longitude:r.longitude}};if(r instanceof Li)return{bytesValue:SQ(n.serializer,r._byteString)};if(r instanceof et){const i=n.databaseId,s=r.firestore._databaseId;if(!s.isEqual(i))throw n.Bu(`Document reference is for database ${s.projectId}/${s.database} but should be for database ${i.projectId}/${i.database}`);return{referenceValue:Xg(r.firestore._databaseId||n.databaseId,r._key.path)}}if(r instanceof up)return function(s,a){return{mapValue:{fields:{__type__:{stringValue:"__vector__"}
2986,value:{arrayValue:{values:s.toArray().map(l=>{if(typeof l!="number")throw a.Bu("VectorValues must only contain numeric values.");return Wg(a.serializer,l)})}}}}}}(r,n);throw n.Bu(`Unsupported field value: ${uc(r)}`)}(e,A)}function o_(e,A){const t={};return rQ(e)?A.path&&A.path.length>0&&A.fieldMask.push(A.path):Vi(e,(r,n)=>{const i=fp(n,A.Mu(r));i!=null&&(t[r]=i)}),{mapValue:{fields:t}}}function a_(e){return!(typeof e!="object"||e===null||e instanceof Array||e instanceof Date||e instanceof $A||e instanceof lp||e instanceof Li||e instanceof et||e instanceof ap||e instanceof up)}function l_(e,A,t){if(!a_(t)||!function(n){return typeof n=="object"&&n!==null&&(Object.getPrototypeOf(n)===Object.prototype||Object.getPrototypeOf(n)===null)}(t)){const r=uc(t);throw r==="an object"?A.Bu(e+" a custom object"):A.Bu(e+" "+r)}}function y2(e,A,t){if((A=Ke(A))instanceof op)return A._internalPath;if(typeof A=="string")return u_(e,A);throw Eu("Field path arguments must be of type string or ",e,!1,void 0,t)}const v2=new RegExp("[~\\*/\\[\\]]");function u_(e,A,t){if(A.search(v2)>=0)throw Eu(`Invalid field path (${A}). Paths must not contain '~', '*', '/', '[', or ']'`,e,!1,void 0,t);try{return new op(...A.split("."))._internalPath}catch{throw Eu(`Invalid field path (${A}). Paths must not be empty, begin with '.', end with '.', or contain '..'`,e,!1,void 0,t)}}function Eu(e,A,t,r,n){const i=r&&!r.isEmpty(),s=n!==void 0;let a=`Function ${A}() called with invalid data`;t&&(a+=" (via `toFirestore()`)"),a+=". ";let l="";return(i||s)&&(l+=" (found",i&&(l+=` in field ${r}`),s&&(l+=` in document ${n}`),l+=")"),new W(P.INVALID_ARGUMENT,a+e+l)}function C2(e,A){return e.some(t=>t.isEqual(A))}/** 2987 * @license 2988 * Copyright 2020 Google LLC 2989 * 2990 * Licensed under the Apache License, Version 2.0 (the "License"); 2991 * you may not use this file except in compliance with the License. 2992 * You may obtain a copy of the License at 2993 * 2994 * http://www.apache.org/licenses/LICENSE-2.0 2995 * 2996 * Unless required by applicable law or agreed to in writing, software 2997 * distributed under the License is distributed on an "AS IS" BASIS, 2998 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 2999 * See the License for the specific language governing permissions and 3000 * limitations under the License. 3001 */class c_{constructor(A,t,r,n,i){this._firestore=A,this._userDataWriter=t,this._key=r,this._document=n,this._converter=i}get id(){return this._key.path.lastSegment()}get ref(){return new et(this._firestore,this._converter,this._key)}exists(){return this._document!==null}data(){if(this._document){if(this._converter){const A=new E2(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(A)}return this._userDataWriter.convertValue(this._document.data.value)}}get(A){if(this._document){const t=this._document.data.field(dp("DocumentSnapshot.get",A));if(t!==null)return this._userDataWriter.convertValue(t)}}}class E2 extends c_{data(){return super.data()}}function dp(e,A){return typeof A=="string"?u_(e,A):A instanceof op?A._internalPath:A._delegate._internalPath}/** 3002 * @license 3003 * Copyright 2020 Google LLC 3004 * 3005 * Licensed under the Apache License, Version 2.0 (the "License"); 3006 * you may not use this file except in compliance with the License. 3007 * You may obtain a copy of the License at 3008 * 3009 * http://www.apache.org/licenses/LICENSE-2.0 3010 * 3011 * Unless required by applicable law or agreed to in writing, software 3012 * distributed under the License is distributed on an "AS IS" BASIS, 3013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3014 * See the License for the specific language governing permissions and 3015 * limitations under the License. 3016 */function Q2(e){if(e.limitType==="L"&&e.explicitOrderBy.length===0)throw new W(P.UNIMPLEMENTED,"limitToLast() queries require specifying at least one orderBy() clause")}class gp{}class h_ extends gp{}function _2(e,A,...t){let r=[];A instanceof gp&&r.push(A),r=r.concat(t),function(i){const s=i.filter(l=>l instanceof Bp).length,a=i.filter(l=>l instanceof pp).length;if(s>1||s>0&&a>0)throw new W(P.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(...)))`.")}(r);for(const n of r)e=n._apply(e);return e}class pp extends h_{constructor(A,t,r){super(),this._field=A,this._op=t,this._value=r,this.type="where"}static _create(A,t,r){return new pp(A,t,r)}_apply(A){const t=this._parse(A);return f_(A._query,t),new Sn(A.firestore,A.converter,pd(A._query,t))}_parse(A){const t=s_(A.firestore);return function(i,s,a,l,u,h,d){let g;
3016if(u.isKeyField()){if(h==="array-contains"||h==="array-contains-any")throw new W(P.INVALID_ARGUMENT,`Invalid Query. You can't perform '${h}' queries on documentId().`);if(h==="in"||h==="not-in"){N0(d,h);const E=[];for(const _ of d)E.push(O0(l,i,_));g={arrayValue:{values:E}}}else g=O0(l,i,d)}else h!=="in"&&h!=="not-in"&&h!=="array-contains-any"||N0(d,h),g=w2(a,s,d,h==="in"||h==="not-in");return WA.create(u,h,g)}(A._query,"where",t,A.firestore._databaseId,this._field,this._op,this._value)}}class Bp extends gp{constructor(A,t){super(),this.type=A,this._queryConstraints=t}static _create(A,t){return new Bp(A,t)}_parse(A){const t=this._queryConstraints.map(r=>r._parse(A)).filter(r=>r.getFilters().length>0);return t.length===1?t[0]:dt.create(t,this._getOperator())}_apply(A){const t=this._parse(A);return t.getFilters().length===0?A:(function(n,i){let s=n;const a=i.getFlattenedFilters();for(const l of a)f_(s,l),s=pd(s,l)}(A._query,t),new Sn(A.firestore,A.converter,pd(A._query,t)))}_getQueryConstraints(){return this._queryConstraints}_getOperator(){return this.type==="and"?"and":"or"}}class mp extends h_{constructor(A,t){super(),this._field=A,this._direction=t,this.type="orderBy"}static _create(A,t){return new mp(A,t)}_apply(A){const t=function(n,i,s){if(n.startAt!==null)throw new W(P.INVALID_ARGUMENT,"Invalid query. You must not call startAt() or startAfter() before calling orderBy().");if(n.endAt!==null)throw new W(P.INVALID_ARGUMENT,"Invalid query. You must not call endAt() or endBefore() before calling orderBy().");return new Qo(i,s)}(A._query,this._field,this._direction);return new Sn(A.firestore,A.converter,function(n,i){const s=n.explicitOrderBy.concat([i]);return new Mi(n.path,n.collectionGroup,s,n.filters.slice(),n.limit,n.limitType,n.startAt,n.endAt)}(A._query,t))}}function I2(e,A="asc"){const t=A,r=dp("orderBy",e);return mp._create(r,t)}function O0(e,A,t){if(typeof(t=Ke(t))=="string"){if(t==="")throw new W(P.INVALID_ARGUMENT,"Invalid query. When querying with documentId(), you must provide a valid document ID, but it was an empty string.");if(!fQ(A)&&t.indexOf("/")!==-1)throw new W(P.INVALID_ARGUMENT,`Invalid query. When querying a collection by documentId(), you must provide a plain document ID, but '${t}' contains a '/' character.`);const r=A.path.child(IA.fromString(t));if(!J.isDocumentKey(r))throw new W(P.INVALID_ARGUMENT,`Invalid query. When querying a collection group by documentId(), the value provided must result in a valid document path, but '${r}' is not because it has an odd number of segments (${r.length}).`);return i0(e,new J(r))}if(t instanceof et)return i0(e,t._key);throw new W(P.INVALID_ARGUMENT,`Invalid query. When querying with documentId(), you must provide a valid string or a DocumentReference, but it was: ${uc(t)}.`)}function N0(e,A){if(!Array.isArray(e)||e.length===0)throw new W(P.INVALID_ARGUMENT,`Invalid Query. A non-empty array is required for '${A.toString()}' filters.`)}function f_(e,A){const t=function(n,i){for(const s of n)for(const a of s.getFlattenedFilters())if(i.indexOf(a.op)>=0)return a.op;return null}(e.filters,function(n){switch(n){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[]}}(A.op));if(t!==null)throw t===A.op?new W(P.INVALID_ARGUMENT,`Invalid query. You cannot use more than one '${A.op.toString()}' filter.`):new W(P.INVALID_ARGUMENT,`Invalid query. You cannot use '${A.op.toString()}' filters with '${t.toString()}' filters.`)}class U2{convertValue(A,t="none"){switch(_n(A)){case 0:return null;case 1:return A.booleanValue;case 2:return bA(A.integerValue||A.doubleValue);case 3:return this.convertTimestamp(A.timestampValue);case 4:return this.convertServerTimestamp(A,t);case 5:return A.stringValue;case 6:return this.convertBytes(Qn(A.bytesValue));case 7:return this.convertReference(A.referenceValue);case 8:return this.convertGeoPoint(A.geoPointValue);case 9:return this.convertArray(A.arrayValue,t);case 11:return this.convertObject(A.mapValue,t);case 10:return this.convertVectorValue(A.mapValue);default:throw q()}}convertObject(A,t){return this.convertObjectMap(A.fields,t)}convertObjectMap(A,t="none"){const r={};return Vi(A,(n,i)=>{r[n]=this.convertValue(i,t)}),r}convertVectorValue(A){var t,r,n;const i=(n=(r=(t=A.fields)===null||t===void 0?void 0:t.value.arrayValue)===null||r===void 0?void 0:r.values)===null||n===void 0?void 0:n.map(s=>bA(s.doubleValue));return new up(i)}convertGeoPoint(A){return new lp(bA(A.latitude),bA(A.longitude))}convertArray(A,t){return(A.values||[]).map(r=>this.convertValue(r,t))}convertServerTimestamp(A,t){switch(t){case"previous":const r=Vg(A);return r==null?null:this.convertValue(r,t);case"estimate":return this.convertTimestamp(vo(A));default:return null}}convertTimestamp(A){const t=Gr(A);return new $A(t.seconds,t.nanos)}convertDocumentKey(A,t){const r=IA.fromString(A);BA(PQ(r));const n=new Co(r.get(1),r.get(3)),i=new J(r.popFirst(5));return n.isEqual(t)||qt(`Document ${i} contains a document reference within a different database (${n.projectId}/${n.database}) which is not supported. It will be treated as a reference in the current database (${t.projectId}/${t.database}) instead.`),i}}/** 3017 * @license 3018 * Copyright 2020 Google LLC 3019 * 3020 * Licensed under the Apache License, Version 2.0 (the "License");
3021 * you may not use this file except in compliance with the License. 3022 * You may obtain a copy of the License at 3023 * 3024 * http://www.apache.org/licenses/LICENSE-2.0 3025 * 3026 * Unless required by applicable law or agreed to in writing, software 3027 * distributed under the License is distributed on an "AS IS" BASIS, 3028 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3029 * See the License for the specific language governing permissions and 3030 * limitations under the License. 3031 */function F2(e,A,t){let r;return r=e?t&&(t.merge||t.mergeFields)?e.toFirestore(A,t):e.toFirestore(A):A,r}/** 3032 * @license 3033 * Copyright 2020 Google LLC 3034 * 3035 * Licensed under the Apache License, Version 2.0 (the "License"); 3036 * you may not use this file except in compliance with the License. 3037 * You may obtain a copy of the License at 3038 * 3039 * http://www.apache.org/licenses/LICENSE-2.0 3040 * 3041 * Unless required by applicable law or agreed to in writing, software 3042 * distributed under the License is distributed on an "AS IS" BASIS, 3043 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 3044 * See the License for the specific language governing permissions and 3045 * limitations under the License. 3046 */class tl{constructor(A,t){this.hasPendingWrites=A,this.fromCache=t}isEqual(A){return this.hasPendingWrites===A.hasPendingWrites&&this.fromCache===A.fromCache}}class T2 extends c_{constructor(A,t,r,n,i,s){super(A,t,r,n,s),this._firestore=A,this._firestoreImpl=A,this.metadata=i}exists(){return super.exists()}data(A={}){if(this._document){if(this._converter){const t=new Ul(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(t,A)}return this._userDataWriter.convertValue(this._document.data.value,A.serverTimestamps)}}get(A,t={}){if(this._document){const r=this._document.data.field(dp("DocumentSnapshot.get",A));if(r!==null)return this._userDataWriter.convertValue(r,t.serverTimestamps)}}}class Ul extends T2{data(A={}){return super.data(A)}}class S2{constructor(A,t,r,n){this._firestore=A,this._userDataWriter=t,this._snapshot=n,this.metadata=new tl(n.hasPendingWrites,n.fromCache),this.query=r}get docs(){const A=[];return this.forEach(t=>A.push(t)),A}get size(){return this._snapshot.docs.size}get empty(){return this.size===0}forEach(A,t){this._snapshot.docs.forEach(r=>{A.call(t,new Ul(this._firestore,this._userDataWriter,r.key,r,new tl(this._snapshot.mutatedKeys.has(r.key),this._snapshot.fromCache),this.query.converter))})}docChanges(A={}){const t=!!A.includeMetadataChanges;if(t&&this._snapshot.excludesMetadataChanges)throw new W(P.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===t||(this._cachedChanges=function(n,i){if(n._snapshot.oldDocs.isEmpty()){let s=0;return n._snapshot.docChanges.map(a=>{const l=new Ul(n._firestore,n._userDataWriter,a.doc.key,a.doc,new tl(n._snapshot.mutatedKeys.has(a.doc.key),n._snapshot.fromCache),n.query.converter);return a.doc,{type:"added",doc:l,oldIndex:-1,newIndex:s++}})}{let s=n._snapshot.oldDocs;return n._snapshot.docChanges.filter(a=>i||a.type!==3).map(a=>{const l=new Ul(n._firestore,n._userDataWriter,a.doc.key,a.doc,new tl(n._snapshot.mutatedKeys.has(a.doc.key),n._snapshot.fromCache),n.query.converter);let u=-1,h=-1;return a.type!==0&&(u=s.indexOf(a.doc.key),s=s.delete(a.doc.key)),a.type!==1&&(s=s.add(a.doc),h=s.indexOf(a.doc.key)),{type:R2(a.type),doc:l,oldIndex:u,newIndex:h}})}}(this,t),this._cachedChangesIncludeMetadataChanges=t),this._cachedChanges}}function R2(e){switch(e){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return q()}}class H2 extends U2{constructor(A){super(),this.firestore=A}convertBytes(A){return new Li(A)}convertReference(A){const t=this.convertDocumentKey(A,this.firestore._databaseId);return new et(this.firestore,null,t)}}function L2(e){e=Cu(e,Sn);const A=Cu(e.firestore,sp),t=n_(A),r=new H2(A);return Q2(e._query),l2(t,e._query).then(n=>new S2(A,r,e,n))}function D2(e,A){const t=Cu(e.firestore,sp),r=h2(e),n=F2(e.converter,A);return x2(t,[m2(s_(e.firestore),"addDoc",r._key,n,e.converter!==null,{}).toMutation(r._key,Kt.exists(!1))]).then(()=>r)}function x2(e,A){return function(r,n){const i=new Or;return r.asyncQueue.enqueueAndForget(async()=>$k(await o2(r),n,i)),i.promise}(n_(e),A)}function P2(){return new hp("serverTimestamp")}(function(A,t=!0){(function(n){bi=n})(Oi),Ii(new yn("firestore",(r,{instanceIdentifier:n,options:i})=>{const s=r.getProvider("app").getImmediate(),a=new sp(new _x(r.getProvider("auth-internal")),new Tx(r.getProvider("app-check-internal")),function(u,h){if(!Object.prototype.hasOwnProperty.apply(u.options,["projectId"]))throw new W(P.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new Co(u.options.projectId,h)}(s,n),s);return i=Object.assign({useFetchStreams:t},i),a._setSettings(i),a},"PUBLIC").setMultipleInstances(!0)),Pr(A0,"4.7.3",A),Pr(A0,"4.7.3","esm2017")})();const k2={apiKey:"AIzaSyC9eHrrnuBAonVztKEFZDBEwATDtawB6uY",authDomain:"chronomods-cl
3046ientes.firebaseapp.com",projectId:"chronomods-clientes",storageBucket:"chronomods-clientes.firebasestorage.app",messagingSenderId:"1050728184015",appId:"1:1050728184015:web:0ba1e718f6a6666f26dfba"},d_=hE(k2),b0=vx(d_),V0=f2(d_),M0="https://chrono-mods.netlify.app",O2={bezels:[{id:1,nome:"GMT Batman",imagem:"https://i.imgur.com/ySqLc6k.png"},{id:2,nome:"GMT Black",imagem:"https://i.imgur.com/I63VQJQ.png"},{id:3,nome:"GMT Bruce Wayne",imagem:"https://i.imgur.com/KXhVddo.png"},{id:4,nome:"GMT Coca Cola",imagem:"https://i.imgur.com/yP0pw0l.png"},{id:5,nome:"GMT Pepsi",imagem:"https://i.imgur.com/1xvr1Ef.png"},{id:6,nome:"GMT Sprite",imagem:"https://i.imgur.com/8DFg000.png"},{id:7,nome:"GMT Two Toned",imagem:"https://i.imgur.com/ydirpGv.png"}],bracelets:[{id:1,nome:"GMT Jubilee",imagem:"https://i.imgur.com/F3bCjxm.png"},{id:2,nome:"GMT Oyster",imagem:"https://i.imgur.com/KZAWVzL.png"},{id:3,nome:"GMT Presidential",imagem:"https://i.imgur.com/P7PBOKO.png"},{id:4,nome:"GMT Jubilee Dourado",imagem:"https://i.imgur.com/DMoJiF7.png"},{id:5,nome:"GMT Jubilee Two Tone",imagem:"https://i.imgur.com/xFaGqf9.png"}],calendars:[{id:1,nome:"Lupa Preta",imagem:"https://i.imgur.com/hTAtUZk.png"},{id:2,nome:"Lupa Branca",imagem:"https://i.imgur.com/1YbbNxi.png"}],dials:[{id:1,nome:"GMT Azul",imagem:"https://i.imgur.com/v4YMyhn.png"},{id:2,nome:"GMT Branco",imagem:"https://i.imgur.com/1RcWpsK.png"},{id:3,nome:"GMT Verde",imagem:"https://i.imgur.com/uEi5RvU.png"},{id:4,nome:"GMT Vermelho",imagem:"https://i.imgur.com/pzSGoEV.png"}],ponteiros:[{id:1,nome:"GMT Azul",imagem:"https://i.imgur.com/66UV3vE.png"},{id:2,nome:"GMT Dourado",imagem:"https://i.imgur.com/AsHXE7Y.png"},{id:3,nome:"GMT Verde",imagem:"https://i.imgur.com/f3p8pgE.png"},{id:4,nome:"GMT Vermelho",imagem:"https://i.imgur.com/CYow0TH.png"},{id:5,nome:"GMT Prata",imagem:"https://i.imgur.com/1uiwWOg.png"}]},N2={dials:[{id:1,nome:"Black Diamond",imagem:"https://i.imgur.com/t3uc4B3.png"},{id:2,nome:"Black",imagem:"https://i.imgur.com/GayQSWn.png"},{id:3,nome:"Blue Diamond",imagem:"https://i.imgur.com/Ual2kZk.png"},{id:4,nome:"Blue",imagem:"https://i.imgur.com/XzahQnb.png"},{id:5,nome:"Green",imagem:"https://i.imgur.com/HdgMGdj.png"},{id:6,nome:"White",imagem:"https://i.imgur.com/UzCL6Di.png"},{id:7,nome:"Grey Diamond",imagem:"https://i.imgur.com/rd248iL.png"},{id:8,nome:"Grey",imagem:"https://i.imgur.com/0FDHcHC.png"}],calendars:[{id:1,nome:"Branco",imagem:"https://i.imgur.com/Hg9iMSn.png"},{id:2,nome:"Preto",imagem:"https://i.imgur.com/wvB0l4F.png"}],bezels:[{id:1,nome:"Smooth",imagem:"https://i.imgur.com/BFStB6C.png"},{id:2,nome:"Smooth Dourado",imagem:"https://i.imgur.com/a9wY8lO.png"},{id:3,nome:"Fluted",imagem:"https://i.imgur.com/LgN8eLT.png"},{id:4,nome:"Fluted Dourado",imagem:"https://i.imgur.com/T588tw9.png"}],bracelets:[{id:1,nome:"Jubilee",imagem:"https://i.imgur.com/eMQJbnI.png"},{id:2,nome:"Jubilee Dourado",imagem:"https://i.imgur.com/8igh6jg.png"},{id:3,nome:"Oyster",imagem:"https://i.imgur.com/hcI7O30.png"},{id:4,nome:"Oyster Dourado",imagem:"https://i.imgur.com/g6imRPf.png"},{id:5,nome:"Presidential",imagem:"https://i.imgur.com/p44zFht.png"}],ponteiros:[{id:1,nome:"Prata",imagem:"https://i.imgur.com/MOlQlSZ.png"},{id:2,nome:"Dourado",imagem:"https://i.imgur.com/BG3lkZu.png"}]},b2={bezels:[{id:1,nome:"Dourado com Prata",imagem:"https://i.imgur.com/c8f2SZr.png"},{id:2,nome:"Prata",imagem:"https://i.imgur.com/dlIRSjP.png"},{id:3,nome:"Preto com Prata",imagem:"https://i.imgur.com/ARX1Uso.png"},{id:4,nome:"Preto Dourado",imagem:"https://i.imgur.com/nRkpZcs.png"}],bracelets:[{id:1,nome:"Borracha Com Dourado",imagem:"https://i.imgur.com/bZ8OFdf.png"},{id:2,nome:"Borracha com prata",imagem:"https://i.imgur.com/XhO0Npa.png"},{id:3,nome:"Oyster Prata e Dourado",imagem:"https://i.imgur.com/QsrDcQw.png"},{id:4,nome:"Oyster Prata",imagem:"https://i.imgur.com/yERBdtM.png"}],dials:[{id:1,nome:"Azul",imagem:"https://i.imgur.com/TnaR6yD.png"},{id:2,nome:"Branco",imagem:"https://i.imgur.com/6zsVLoX.png"},{id:3,nome:"Preto com Dourado",imagem:"https://i.imgur.com/t3Jre2G.png"},{id:4,nome:"Preto com Prata",imagem:"https://i.imgur.com/GadA3oZ.png"}],ponteiros:[{id:1,nome:"Dourado",imagem:"https://i.imgur.com/4ZSVgTi.png"},{id:2,nome:"Prata",imagem:"https://i.imgur.com/Q6v3QkX.png"}],calendars:[]},V2={bezels:[{id:1,nome:"Prata",imagem:"https://i.imgur.com/9r53
3046EmW.png"},{id:2,nome:"Preto",imagem:"https://i.imgur.com/qxs43Ch.png"}],bracelets:[{id:1,nome:"Borracha Preta",imagem:"https://i.imgur.com/OowIlWA.png"},{id:2,nome:"Oyster",imagem:"https://i.imgur.com/4bcGDHr.png"}],dials:[{id:1,nome:"Preto",imagem:"https://i.imgur.com/vcM8LlB.png"},{id:2,nome:"Rolesium",imagem:"https://i.imgur.com/zpcqLGf.png"}],calendars:[{id:1,nome:"Lupa Branca",imagem:"https://i.imgur.com/RzpZb3k.png"},{id:2,nome:"Lupa Preta",imagem:"https://i.imgur.com/UP34sHW.png"}],ponteiros:[{id:1,nome:"Prata / Segundos Azul",imagem:"https://i.imgur.com/rf2l2Ix.png"},{id:2,nome:"Prata",imagem:"https://i.imgur.com/6lpJlGs.png"}]},M2=OA.memo(({activeTab:e,selectedBracelet:A,selectedBezel:t,selectedCalendar:r,selectedDial:n,selectedPonteiros:i,previewRef:s})=>{const a=e==="GMT",l=a?"1280 / 1888":"800 / 1180",u={position:"absolute",width:"100%",height:"100%",top:0,left:0,objectFit:"contain",pointerEvents:"none",display:"block"};return j.jsxs("div",{ref:s,style:{position:"relative",width:"100%",maxWidth:a?"320px":"300px",aspectRatio:l,margin:"0 auto",backgroundColor:"#0A2A5B",borderRadius:"10px",overflow:"hidden",transform:"translateZ(0)",webkitTransform:"translateZ(0)"},children:[A&&j.jsx("img",{src:A.imagem,alt:"",style:{...u,zIndex:1}}),n&&j.jsx("img",{src:n.imagem,alt:"",style:{...u,zIndex:2}}),t&&j.jsx("img",{src:t.imagem,alt:"",style:{...u,zIndex:3}}),i&&j.jsx("img",{src:i.imagem,alt:"",style:{...u,zIndex:4}}),r&&j.jsx("img",{src:r.imagem,alt:"",style:{...u,zIndex:5}})]})}),Bs=OA.memo(({title:e,items:A,selectedItem:t,onSelectItem:r})=>!A||A.length===0?null:j.jsxs("div",{style:{background:"rgba(0, 0, 0, 0.4)",borderRadius:"15px",padding:"1.2rem",border:"1px solid rgba(255, 255, 255, 0.1)",backdropFilter:"blur(5px)"},children:[j.jsx("h3",{style:{color:"white",marginBottom:"1rem",fontSize:"1rem",textShadow:"1px 1px 2px black"},children:e}),j.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(85px, 1fr))",gap:"0.8rem"},children:A.map(n=>j.jsxs("div",{onClick:()=>r(n),style:{background:(t==null?void 0:t.id)===n.id?"rgba(0, 212, 255, 0.3)":"rgba(255, 255, 255, 0.1)",border:(t==null?void 0:t.id)===n.id?"2px solid #00d4ff":"1px solid rgba(255, 255, 255, 0.1)",borderRadius:"10px",padding:"0.5rem",cursor:"pointer",textAlign:"center",transition:"0.2s"},children:[j.jsx("img",{src:n.imagem,alt:n.nome,style:{width:"45px",height:"45px",objectFit:"contain"}}),j.jsx("p",{style:{color:"white",fontSize:"0.65rem",marginTop:"5px"},children:n.nome})]},n.id))})]}));function K2(){const[e,A]=OA.useState("GMT"),[t,r]=OA.useState(null),[n,i]=OA.useState(null),[s,a]=OA.useState(null),[l,u]=OA.useState(null),[h,d]=OA.useState(null),[g,E]=OA.useState(!1),[_,F]=OA.useState(null),[L,v]=OA.useState(!0),[m,I]=OA.useState(!1),[R,x]=OA.useState([]),[H,y]=OA.useState([]),[B,w]=OA.useState(!1),[Q,U]=OA.useState(null);function T(N,Z="sucesso"){U({mensagem:N,tipo:Z}),setTimeout(()=>U(null),4e3)}const C=OA.useRef(null),hA="aa0fa05c19bf749044c6d51ff3f43017";OA.useEffect(()=>{const Z=new URLSearchParams(window.location.search).get("token");Z&&oD(b0,Z).catch(uA=>console.error("Erro ao logar com token:",uA)).finally(()=>{window.history.replaceState({},"",window.location.pathname)});const rA=uD(b0,uA=>{F(uA),v(!1),uA&&jA(uA.uid)});return()=>rA()},[]);async function jA(N){try{const Z=P0(V0,"clientes",N,"personalizacoes"),rA=_2(Z,I2("criadoEm","desc")),uA=await L2(rA);x(uA.docs.map(EA=>({id:EA.id,...EA.data()})))}catch(Z){console.error("Erro ao carregar layouts salvos:",Z)}}async function SA(){const N=C.current.querySelectorAll("img");return N.forEach(rA=>rA.setAttribute("crossorigin","anonymous")),await Promise.all(Array.from(N).map(rA=>rA.complete?Promise.resolve():new Promise(uA=>{rA.onload=uA,rA.onerror=uA}))),(await bH(C.current,{useCORS:!0,allowTaint:!1,backgroundColor:"#0A2A5B",scale:.75,logging:!1})).toDataURL("image/jpeg",.75)}async function yA(N,Z){const rA=await b(N),uA=`${Z} 3047*Link da Foto:* ${rA}`;window.location.href=`https://wa.me/5511982285594?text=${encodeURIComponent(uA)}`}async function b(N){const Z=N.split(",")[1],rA=new FormData;rA.append("image",Z);const EA=await(await fetch(`https://api.imgbb.com/1/upload?key=${hA}`,{method:"POST",body:rA})).json();if(!EA.success)throw new Error("Falha ao subir imagem para o ImgBB");return EA.data.url}const X=async()=>
3047{if(!t&&!l){T("Selecione os componentes primeiro!","erro");return}E(!0);try{const N=await SA(),Z=`Olá! ð Montei esse relógio personalizado: 3048 3049*Modelo:* ${e}`;await yA(N,Z)}catch(N){console.error(N),T("Erro ao gerar imagem. Enviando texto...","erro"),window.open(`https://wa.me/5511982285594?text=Olá, quero uma cotação para o ${e} personalizado.`,"_blank")}finally{E(!1)}},$=async()=>{if(!_){confirm("Você precisa estar logado no site da Chrono Mods pra salvar seu layout. Ir para o cadastro/login agora?")&&(window.location.href=`${M0}/login.html?voltar=personalizar`);return}if(!t&&!l){T("Selecione os componentes primeiro!","erro");return}I(!0);try{const N=await SA(),Z=await b(N);await D2(P0(V0,"clientes",_.uid,"personalizacoes"),{modelo:e,imagem:Z,componentes:{pulseira:(t==null?void 0:t.nome)||null,bezel:(n==null?void 0:n.nome)||null,mostrador:(l==null?void 0:l.nome)||null,calendario:(s==null?void 0:s.nome)||null,ponteiros:(h==null?void 0:h.nome)||null},criadoEm:P2()}),T("Layout salvo! Você pode ver ele no seu perfil no site da Chrono Mods.","sucesso"),jA(_.uid)}catch(N){console.error("Erro ao salvar layout:",N),T("Não foi possÃvel salvar o layout. Tente novamente.","erro")}finally{I(!1)}};function lA(N){y(Z=>Z.includes(N)?Z.filter(rA=>rA!==N):[...Z,N])}const tA=e==="GMT"?O2:e==="DATEJUST"?N2:e==="DAYTONA"?b2:V2;return j.jsxs("div",{style:{minHeight:"100vh",background:"linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://i.imgur.com/BdtxNJu.png') no-repeat center center fixed",backgroundSize:"cover",color:"white",padding:"15px",fontFamily:"sans-serif"},children:[j.jsx("header",{style:{textAlign:"center",marginBottom:"20px"},children:j.jsx("img",{src:"https://i.imgur.com/Off1qPY.png",alt:"Logo",style:{height:"35px"}})}),!L&&!_&&j.jsxs("div",{style:{maxWidth:"700px",margin:"0 auto 20px",background:"rgba(222,161,77,0.15)",border:"1px solid rgba(222,161,77,0.5)",borderRadius:"12px",padding:"12px 18px",textAlign:"center",fontSize:"0.9rem"},children:["Você pode montar seu relógio livremente. Pra ",j.jsx("strong",{children:"salvar o layout no seu perfil"})," e comparar depois, é preciso estar logado."," ",j.jsx("a",{href:`${M0}/login.html?voltar=personalizar`,style:{color:"#DEA14D",fontWeight:"bold"},children:"Entrar ou criar conta"})]}),j.jsx("div",{style:{display:"flex",justifyContent:"center",flexWrap:"wrap",gap:"8px",marginBottom:"20px"},children:["GMT","DATEJUST","DAYTONA","YACHT MASTER"].map(N=>j.jsx("button",{onClick:()=>{A(N),r(null),i(null),a(null),u(null),d(null)},style:{padding:"10px 15px",background:e===N?"#00d4ff":"rgba(0,0,0,0.5)",border:"1px solid #00d4ff",color:"white",borderRadius:"8px",cursor:"pointer",fontWeight:"bold",fontSize:"0.85rem",backdropFilter:"blur(5px)"},children:N},N))}),j.jsxs("div",{style:{display:"grid",gridTemplateColumns:window.innerWidth<768?"1fr":"1fr 1.5fr",gap:"20px",maxWidth:"1100px",margin:"0 auto"},children:[j.jsx("div",{style:{position:window.innerWidth<768?"relative":"sticky",top:"20px",height:"fit-content"},children:j.jsx(M2,{previewRef:C,activeTab:e,selectedBracelet:t,selectedBezel:n,selectedCalendar:s,selectedDial:l,selectedPonteiros:h})}),j.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"15px"},children:[j.jsx(Bs,{title:"Pulseira",items:tA.bracelets,selectedItem:t,onSelectItem:r}),j.jsx(Bs,{title:"Bezel",items:tA.bezels,selectedItem:n,onSelectItem:i}),j.jsx(Bs,{title:"Mostrador",items:tA.dials,selectedItem:l,onSelectItem:u}),j.jsx(Bs,{title:"Calendário",items:tA.calendars,selectedItem:s,onSelectItem:a}),j.jsx(Bs,{title:"Ponteiros",items:tA.ponteiros,selectedItem:h,onSelectItem:d}),j.jsxs("div",{style:{display:"flex",flexDirection:window.innerWidth<600?"column":"row",gap:"10px",marginTop:"10px"},children:[j.jsx("button",{onClick:X,disabled:g,style:{flex:1,padding:"18px",background:g?"#444":"#25D366",border:"none",borderRadius:"12px",fontWeight:"bold",color:"white",cursor:g?"wait":"pointer",fontSize:"1rem",boxShadow:"0 4px 15px rgba(0,0,0,0.5)"},children:g?"GERANDO PROJETO...":"SOLICITAR COTAÃÃO NO WHATSAPP"}),j.jsx("button",{onClick:$,disabled:m,style:{flex:1,padding:"18px",background:m?"#444":"#DEA14D",border:"none",borderRadius:"12px",fontWeight:"bold",color:"#0A2A5B",cursor:m?"wait":"pointer",fontSize:"1rem",boxShadow:"0 4px 15px rgba(0,0,0,0.5)"},children:m?"SALVANDO...":"ð¾ SALVAR NO MEU PERFIL"})]})]})]}),_&&R.length>0&&j.jsxs("div",{style:{maxWidth:"1100px",margin:"40px auto 0"},children:[j.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"15px",flexWrap:"wrap",gap:"10px"},children:[j.jsx("h2",{style:{fontSize:"1.3rem"},children:"Meus layouts salvos"}),j.jsxs("button",{onClick:()=>w(!0),disabled:H.length<2,style:{padding:"10px 20px",background:H.length<2?"#444":"#00d4ff",border:"none",borderRadius:"10px",color:"white",fontWeight:"bold",cursor:H.length<2?"not-allowed":"pointer"},children:["Comparar selecionados (",H.length,")"]})]}),j.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(140px, 1fr))",gap:"12px"},children:R.map(N=>{const Z=H.includes(N.id);return j.jsxs("div",{onClick:()=>lA(N.id),style:{cursor:"pointer",borderRadius:"10px",overflow:"hidden",border:Z?"3px solid #00d4ff":"1px solid rgba(255,255,255,0.2)",background:"rgba(0,0,0,0.4)",position:"relative"},children:[j.jsx("img",{src:N.imagem,alt:N.modelo,style:{width:"100%",aspectRatio:"1",objectFit:"cover",display:"block"}}),j.jsx("div",{style:{padding:"6px 8px",fontSize:"0.75rem",fontWeight:"bold"},children:N.modelo}),Z&&j.jsx("div",{style:{position:"absolute",top:6,right:6,background:"#00d4ff",color:"#0A2A5B",borderRadius:"50%",width:22,height:22,display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",fontSize:"0.8rem"},children:"â"})]},N.id)})}),j.jsx("p",{style:{fontSize:"0.8rem",opacity:.7,marginTop:"10px"},children:"Clique em pelo menos 2 layouts pra comparar lado a lado."})]}),B&&j.jsx("div",{onClick:()=>w(!1),style:{position:"fixed",inset:0,background:"rgba(0,0,0,0.85)",zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",padding:"20px"},children:j.jsxs("div",{onClick:N=>N.stopPropagation(),style:{background:"#0A2A5B",borderRadius:"16px",padding:"24px",maxWidth:"95vw",maxHeight:"90vh",overflow:"auto"},children:[j.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"18px"},children:[j.jsx("h2",{children:"Comparar layouts"}),j.jsx("button",{onClick:()=>w(!1),style:{background:"none",border:"none",color:"white",fontSize:"1.5rem",cursor:"pointer"},children:"â"})]}),j.jsx("div",{style:{display:"flex",gap:"20px",flexWrap:"wrap",justifyContent:"center"},children:R.filter(N=>H.includes(N.id)).map(N=>{var Z,rA,uA,EA,jo;return j.jsxs("div",{style:{textAlign:"center",width:"220px"},children:[j.jsx("img",{src:N.imagem,alt:N.modelo,style:{width:"100%",borderRadius:"12px",marginBottom:"10px"}}),j.jsx("div",{style:{fontWeight:"bold",color:"#DEA14D"},children:N.modelo}),j.jsxs("div",{style:{fontSize:"0.78rem",opacity:.8,marginTop:"6px",textAlign:"left"},children:[((Z=N.componentes)==null?void 0:Z.pulseira)&&j.jsxs("div",{children:["Pulseira: ",N.componentes.pulseira]}),((rA=N.componentes)==null?void 0:rA.bezel)&&j.jsxs("div",{children:["Bezel: ",N.componentes.bezel]}),((uA=N.componentes)==null?void 0:uA.mostrador)&&j.jsxs("div",{children:["Mostrador: ",N.componentes.mostrador]}),((EA=N.componentes)==null?void 0:EA.calendario)&&j.jsxs("div",{children:["Calendário: ",N.componentes.calendario]}),((jo=N.componentes)==null?void 0:jo.ponteiros)&&j.jsxs("div",{children:["Ponteiros: ",N.componentes.ponteiros]})]})]},N.id)})})]})}),Q&&j.jsxs("div",{style:{position:"fixed",bottom:"24px",left:"50%",transform:"translateX(-50%)",zIndex:2e3,background:Q.tipo==="erro"?"linear-gradient(135deg, #fc5185 0%, #ff1744 100%)":"linear-gradient(135deg, #00b090 0%, #00d4a3 100%)",color:"white",padding:"14px 24px",borderRadius:"14px",boxShadow:"0 8px 25px rgba(0,0,0,0.4)",fontWeight:500,fontSize:"0.95rem",maxWidth:"90vw",textAlign:"center"},children:[Q.tipo==="erro"?"â ï¸ ":"â ",Q.mensagem]})]})}function G2(){return j.jsx("div",{className:"App",children:j.jsx(K2,{})})}bh.createRoot(document.getElementById("root")).render(j.jsx(sI.StrictMode,{children:j.jsx(G2,{})}));
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.