diff --git a/.yarn/plugins/@yarnpkg/plugin-version.cjs b/.yarn/plugins/@yarnpkg/plugin-version.cjs new file mode 100644 index 000000000..16113269f --- /dev/null +++ b/.yarn/plugins/@yarnpkg/plugin-version.cjs @@ -0,0 +1,523 @@ +/* eslint-disable */ +//prettier-ignore +module.exports = { +name: "@yarnpkg/plugin-version", +factory: function (require) { +var plugin=(()=>{var fU=Object.create;var ky=Object.defineProperty;var cU=Object.getOwnPropertyDescriptor;var dU=Object.getOwnPropertyNames;var pU=Object.getPrototypeOf,hU=Object.prototype.hasOwnProperty;var Kn=(u=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(u,{get:(l,c)=>(typeof require<"u"?require:l)[c]}):u)(function(u){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+u+'" is not supported')});var re=(u,l)=>()=>(l||u((l={exports:{}}).exports,l),l.exports),gS=(u,l)=>{for(var c in l)ky(u,c,{get:l[c],enumerable:!0})},_S=(u,l,c,p)=>{if(l&&typeof l=="object"||typeof l=="function")for(let _ of dU(l))!hU.call(u,_)&&_!==c&&ky(u,_,{get:()=>l[_],enumerable:!(p=cU(l,_))||p.enumerable});return u};var pu=(u,l,c)=>(c=u!=null?fU(pU(u)):{},_S(l||!u||!u.__esModule?ky(c,"default",{value:u,enumerable:!0}):c,u)),vU=u=>_S(ky({},"__esModule",{value:!0}),u);var iD=re((fee,ES)=>{function mU(u,l){for(var c=-1,p=u==null?0:u.length,_=Array(p);++c{function yU(){this.__data__=[],this.size=0}DS.exports=yU});var oD=re((dee,SS)=>{function gU(u,l){return u===l||u!==u&&l!==l}SS.exports=gU});var ah=re((pee,TS)=>{var _U=oD();function EU(u,l){for(var c=u.length;c--;)if(_U(u[c][0],l))return c;return-1}TS.exports=EU});var xS=re((hee,CS)=>{var DU=ah(),wU=Array.prototype,SU=wU.splice;function TU(u){var l=this.__data__,c=DU(l,u);if(c<0)return!1;var p=l.length-1;return c==p?l.pop():SU.call(l,c,1),--this.size,!0}CS.exports=TU});var AS=re((vee,RS)=>{var CU=ah();function xU(u){var l=this.__data__,c=CU(l,u);return c<0?void 0:l[c][1]}RS.exports=xU});var OS=re((mee,kS)=>{var RU=ah();function AU(u){return RU(this.__data__,u)>-1}kS.exports=AU});var NS=re((yee,MS)=>{var kU=ah();function OU(u,l){var c=this.__data__,p=kU(c,u);return p<0?(++this.size,c.push([u,l])):c[p][1]=l,this}MS.exports=OU});var sh=re((gee,LS)=>{var MU=wS(),NU=xS(),FU=AS(),LU=OS(),bU=NS();function k2(u){var l=-1,c=u==null?0:u.length;for(this.clear();++l{var PU=sh();function IU(){this.__data__=new PU,this.size=0}bS.exports=IU});var BS=re((Eee,IS)=>{function BU(u){var l=this.__data__,c=l.delete(u);return this.size=l.size,c}IS.exports=BU});var jS=re((Dee,US)=>{function UU(u){return this.__data__.get(u)}US.exports=UU});var qS=re((wee,zS)=>{function jU(u){return this.__data__.has(u)}zS.exports=jU});var uD=re((See,HS)=>{var zU=typeof global=="object"&&global&&global.Object===Object&&global;HS.exports=zU});var ra=re((Tee,WS)=>{var qU=uD(),HU=typeof self=="object"&&self&&self.Object===Object&&self,WU=qU||HU||Function("return this")();WS.exports=WU});var O2=re((Cee,VS)=>{var VU=ra(),GU=VU.Symbol;VS.exports=GU});var XS=re((xee,KS)=>{var GS=O2(),YS=Object.prototype,YU=YS.hasOwnProperty,KU=YS.toString,fh=GS?GS.toStringTag:void 0;function XU(u){var l=YU.call(u,fh),c=u[fh];try{u[fh]=void 0;var p=!0}catch{}var _=KU.call(u);return p&&(l?u[fh]=c:delete u[fh]),_}KS.exports=XU});var JS=re((Ree,QS)=>{var QU=Object.prototype,JU=QU.toString;function ZU(u){return JU.call(u)}QS.exports=ZU});var t1=re((Aee,eT)=>{var ZS=O2(),$U=XS(),ej=JS(),tj="[object Null]",nj="[object Undefined]",$S=ZS?ZS.toStringTag:void 0;function rj(u){return u==null?u===void 0?nj:tj:$S&&$S in Object(u)?$U(u):ej(u)}eT.exports=rj});var vf=re((kee,tT)=>{function ij(u){var l=typeof u;return u!=null&&(l=="object"||l=="function")}tT.exports=ij});var lD=re((Oee,nT)=>{var oj=t1(),uj=vf(),lj="[object AsyncFunction]",aj="[object Function]",sj="[object GeneratorFunction]",fj="[object Proxy]";function cj(u){if(!uj(u))return!1;var l=oj(u);return l==aj||l==sj||l==lj||l==fj}nT.exports=cj});var iT=re((Mee,rT)=>{var dj=ra(),pj=dj["__core-js_shared__"];rT.exports=pj});var lT=re((Nee,uT)=>{var aD=iT(),oT=function(){var u=/[^.]+$/.exec(aD&&aD.keys&&aD.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}();function hj(u){return!!oT&&oT in u}uT.exports=hj});var sD=re((Fee,aT)=>{var vj=Function.prototype,mj=vj.toString;function yj(u){if(u!=null){try{return mj.call(u)}catch{}try{return u+""}catch{}}return""}aT.exports=yj});var fT=re((Lee,sT)=>{var gj=lD(),_j=lT(),Ej=vf(),Dj=sD(),wj=/[\\^$.*+?()[\]{}|]/g,Sj=/^\[object .+?Constructor\]$/,Tj=Function.prototype,Cj=Object.prototype,xj=Tj.toString,Rj=Cj.hasOwnProperty,Aj=RegExp("^"+xj.call(Rj).replace(wj,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function kj(u){if(!Ej(u)||_j(u))return!1;var l=gj(u)?Aj:Sj;return l.test(Dj(u))}sT.exports=kj});var dT=re((bee,cT)=>{function Oj(u,l){return u==null?void 0:u[l]}cT.exports=Oj});var sc=re((Pee,pT)=>{var Mj=fT(),Nj=dT();function Fj(u,l){var c=Nj(u,l);return Mj(c)?c:void 0}pT.exports=Fj});var Oy=re((Iee,hT)=>{var Lj=sc(),bj=ra(),Pj=Lj(bj,"Map");hT.exports=Pj});var ch=re((Bee,vT)=>{var Ij=sc(),Bj=Ij(Object,"create");vT.exports=Bj});var gT=re((Uee,yT)=>{var mT=ch();function Uj(){this.__data__=mT?mT(null):{},this.size=0}yT.exports=Uj});var ET=re((jee,_T)=>{function jj(u){var l=this.has(u)&&delete this.__data__[u];return this.size-=l?1:0,l}_T.exports=jj});var wT=re((zee,DT)=>{var zj=ch(),qj="__lodash_hash_undefined__",Hj=Object.prototype,Wj=Hj.hasOwnProperty;function Vj(u){var l=this.__data__;if(zj){var c=l[u];return c===qj?void 0:c}return Wj.call(l,u)?l[u]:void 0}DT.exports=Vj});var TT=re((qee,ST)=>{var Gj=ch(),Yj=Object.prototype,Kj=Yj.hasOwnProperty;function Xj(u){var l=this.__data__;return Gj?l[u]!==void 0:Kj.call(l,u)}ST.exports=Xj});var xT=re((Hee,CT)=>{var Qj=ch(),Jj="__lodash_hash_undefined__";function Zj(u,l){var c=this.__data__;return this.size+=this.has(u)?0:1,c[u]=Qj&&l===void 0?Jj:l,this}CT.exports=Zj});var AT=re((Wee,RT)=>{var $j=gT(),ez=ET(),tz=wT(),nz=TT(),rz=xT();function M2(u){var l=-1,c=u==null?0:u.length;for(this.clear();++l{var kT=AT(),iz=sh(),oz=Oy();function uz(){this.size=0,this.__data__={hash:new kT,map:new(oz||iz),string:new kT}}OT.exports=uz});var FT=re((Gee,NT)=>{function lz(u){var l=typeof u;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?u!=="__proto__":u===null}NT.exports=lz});var dh=re((Yee,LT)=>{var az=FT();function sz(u,l){var c=u.__data__;return az(l)?c[typeof l=="string"?"string":"hash"]:c.map}LT.exports=sz});var PT=re((Kee,bT)=>{var fz=dh();function cz(u){var l=fz(this,u).delete(u);return this.size-=l?1:0,l}bT.exports=cz});var BT=re((Xee,IT)=>{var dz=dh();function pz(u){return dz(this,u).get(u)}IT.exports=pz});var jT=re((Qee,UT)=>{var hz=dh();function vz(u){return hz(this,u).has(u)}UT.exports=vz});var qT=re((Jee,zT)=>{var mz=dh();function yz(u,l){var c=mz(this,u),p=c.size;return c.set(u,l),this.size+=c.size==p?0:1,this}zT.exports=yz});var fD=re((Zee,HT)=>{var gz=MT(),_z=PT(),Ez=BT(),Dz=jT(),wz=qT();function N2(u){var l=-1,c=u==null?0:u.length;for(this.clear();++l{var Sz=sh(),Tz=Oy(),Cz=fD(),xz=200;function Rz(u,l){var c=this.__data__;if(c instanceof Sz){var p=c.__data__;if(!Tz||p.length{var Az=sh(),kz=PS(),Oz=BS(),Mz=jS(),Nz=qS(),Fz=VT();function F2(u){var l=this.__data__=new Az(u);this.size=l.size}F2.prototype.clear=kz;F2.prototype.delete=Oz;F2.prototype.get=Mz;F2.prototype.has=Nz;F2.prototype.set=Fz;GT.exports=F2});var XT=re((tte,KT)=>{function Lz(u,l){for(var c=-1,p=u==null?0:u.length;++c{var bz=sc(),Pz=function(){try{var u=bz(Object,"defineProperty");return u({},"",{}),u}catch{}}();QT.exports=Pz});var dD=re((rte,ZT)=>{var JT=cD();function Iz(u,l,c){l=="__proto__"&&JT?JT(u,l,{configurable:!0,enumerable:!0,value:c,writable:!0}):u[l]=c}ZT.exports=Iz});var pD=re((ite,$T)=>{var Bz=dD(),Uz=oD(),jz=Object.prototype,zz=jz.hasOwnProperty;function qz(u,l,c){var p=u[l];(!(zz.call(u,l)&&Uz(p,c))||c===void 0&&!(l in u))&&Bz(u,l,c)}$T.exports=qz});var L2=re((ote,eC)=>{var Hz=pD(),Wz=dD();function Vz(u,l,c,p){var _=!c;c||(c={});for(var t=-1,O=l.length;++t{function Gz(u,l){for(var c=-1,p=Array(u);++c{function Yz(u){return u!=null&&typeof u=="object"}rC.exports=Yz});var oC=re((ate,iC)=>{var Kz=t1(),Xz=fc(),Qz="[object Arguments]";function Jz(u){return Xz(u)&&Kz(u)==Qz}iC.exports=Jz});var hD=re((ste,aC)=>{var uC=oC(),Zz=fc(),lC=Object.prototype,$z=lC.hasOwnProperty,eq=lC.propertyIsEnumerable,tq=uC(function(){return arguments}())?uC:function(u){return Zz(u)&&$z.call(u,"callee")&&!eq.call(u,"callee")};aC.exports=tq});var cc=re((fte,sC)=>{var nq=Array.isArray;sC.exports=nq});var cC=re((cte,fC)=>{function rq(){return!1}fC.exports=rq});var vD=re((ph,b2)=>{var iq=ra(),oq=cC(),hC=typeof ph=="object"&&ph&&!ph.nodeType&&ph,dC=hC&&typeof b2=="object"&&b2&&!b2.nodeType&&b2,uq=dC&&dC.exports===hC,pC=uq?iq.Buffer:void 0,lq=pC?pC.isBuffer:void 0,aq=lq||oq;b2.exports=aq});var mC=re((dte,vC)=>{var sq=9007199254740991,fq=/^(?:0|[1-9]\d*)$/;function cq(u,l){var c=typeof u;return l=l==null?sq:l,!!l&&(c=="number"||c!="symbol"&&fq.test(u))&&u>-1&&u%1==0&&u{var dq=9007199254740991;function pq(u){return typeof u=="number"&&u>-1&&u%1==0&&u<=dq}yC.exports=pq});var _C=re((hte,gC)=>{var hq=t1(),vq=mD(),mq=fc(),yq="[object Arguments]",gq="[object Array]",_q="[object Boolean]",Eq="[object Date]",Dq="[object Error]",wq="[object Function]",Sq="[object Map]",Tq="[object Number]",Cq="[object Object]",xq="[object RegExp]",Rq="[object Set]",Aq="[object String]",kq="[object WeakMap]",Oq="[object ArrayBuffer]",Mq="[object DataView]",Nq="[object Float32Array]",Fq="[object Float64Array]",Lq="[object Int8Array]",bq="[object Int16Array]",Pq="[object Int32Array]",Iq="[object Uint8Array]",Bq="[object Uint8ClampedArray]",Uq="[object Uint16Array]",jq="[object Uint32Array]",qi={};qi[Nq]=qi[Fq]=qi[Lq]=qi[bq]=qi[Pq]=qi[Iq]=qi[Bq]=qi[Uq]=qi[jq]=!0;qi[yq]=qi[gq]=qi[Oq]=qi[_q]=qi[Mq]=qi[Eq]=qi[Dq]=qi[wq]=qi[Sq]=qi[Tq]=qi[Cq]=qi[xq]=qi[Rq]=qi[Aq]=qi[kq]=!1;function zq(u){return mq(u)&&vq(u.length)&&!!qi[hq(u)]}gC.exports=zq});var My=re((vte,EC)=>{function qq(u){return function(l){return u(l)}}EC.exports=qq});var Ny=re((hh,P2)=>{var Hq=uD(),DC=typeof hh=="object"&&hh&&!hh.nodeType&&hh,vh=DC&&typeof P2=="object"&&P2&&!P2.nodeType&&P2,Wq=vh&&vh.exports===DC,yD=Wq&&Hq.process,Vq=function(){try{var u=vh&&vh.require&&vh.require("util").types;return u||yD&&yD.binding&&yD.binding("util")}catch{}}();P2.exports=Vq});var CC=re((mte,TC)=>{var Gq=_C(),Yq=My(),wC=Ny(),SC=wC&&wC.isTypedArray,Kq=SC?Yq(SC):Gq;TC.exports=Kq});var gD=re((yte,xC)=>{var Xq=nC(),Qq=hD(),Jq=cc(),Zq=vD(),$q=mC(),eH=CC(),tH=Object.prototype,nH=tH.hasOwnProperty;function rH(u,l){var c=Jq(u),p=!c&&Qq(u),_=!c&&!p&&Zq(u),t=!c&&!p&&!_&&eH(u),O=c||p||_||t,M=O?Xq(u.length,String):[],A=M.length;for(var T in u)(l||nH.call(u,T))&&!(O&&(T=="length"||_&&(T=="offset"||T=="parent")||t&&(T=="buffer"||T=="byteLength"||T=="byteOffset")||$q(T,A)))&&M.push(T);return M}xC.exports=rH});var Fy=re((gte,RC)=>{var iH=Object.prototype;function oH(u){var l=u&&u.constructor,c=typeof l=="function"&&l.prototype||iH;return u===c}RC.exports=oH});var _D=re((_te,AC)=>{function uH(u,l){return function(c){return u(l(c))}}AC.exports=uH});var OC=re((Ete,kC)=>{var lH=_D(),aH=lH(Object.keys,Object);kC.exports=aH});var NC=re((Dte,MC)=>{var sH=Fy(),fH=OC(),cH=Object.prototype,dH=cH.hasOwnProperty;function pH(u){if(!sH(u))return fH(u);var l=[];for(var c in Object(u))dH.call(u,c)&&c!="constructor"&&l.push(c);return l}MC.exports=pH});var ED=re((wte,FC)=>{var hH=lD(),vH=mD();function mH(u){return u!=null&&vH(u.length)&&!hH(u)}FC.exports=mH});var Ly=re((Ste,LC)=>{var yH=gD(),gH=NC(),_H=ED();function EH(u){return _H(u)?yH(u):gH(u)}LC.exports=EH});var PC=re((Tte,bC)=>{var DH=L2(),wH=Ly();function SH(u,l){return u&&DH(l,wH(l),u)}bC.exports=SH});var BC=re((Cte,IC)=>{function TH(u){var l=[];if(u!=null)for(var c in Object(u))l.push(c);return l}IC.exports=TH});var jC=re((xte,UC)=>{var CH=vf(),xH=Fy(),RH=BC(),AH=Object.prototype,kH=AH.hasOwnProperty;function OH(u){if(!CH(u))return RH(u);var l=xH(u),c=[];for(var p in u)p=="constructor"&&(l||!kH.call(u,p))||c.push(p);return c}UC.exports=OH});var by=re((Rte,zC)=>{var MH=gD(),NH=jC(),FH=ED();function LH(u){return FH(u)?MH(u,!0):NH(u)}zC.exports=LH});var HC=re((Ate,qC)=>{var bH=L2(),PH=by();function IH(u,l){return u&&bH(l,PH(l),u)}qC.exports=IH});var KC=re((mh,I2)=>{var BH=ra(),YC=typeof mh=="object"&&mh&&!mh.nodeType&&mh,WC=YC&&typeof I2=="object"&&I2&&!I2.nodeType&&I2,UH=WC&&WC.exports===YC,VC=UH?BH.Buffer:void 0,GC=VC?VC.allocUnsafe:void 0;function jH(u,l){if(l)return u.slice();var c=u.length,p=GC?GC(c):new u.constructor(c);return u.copy(p),p}I2.exports=jH});var QC=re((kte,XC)=>{function zH(u,l){var c=-1,p=u.length;for(l||(l=Array(p));++c{function qH(u,l){for(var c=-1,p=u==null?0:u.length,_=0,t=[];++c{function HH(){return[]}$C.exports=HH});var Py=re((Nte,t6)=>{var WH=ZC(),VH=DD(),GH=Object.prototype,YH=GH.propertyIsEnumerable,e6=Object.getOwnPropertySymbols,KH=e6?function(u){return u==null?[]:(u=Object(u),WH(e6(u),function(l){return YH.call(u,l)}))}:VH;t6.exports=KH});var r6=re((Fte,n6)=>{var XH=L2(),QH=Py();function JH(u,l){return XH(u,QH(u),l)}n6.exports=JH});var Iy=re((Lte,i6)=>{function ZH(u,l){for(var c=-1,p=l.length,_=u.length;++c{var $H=_D(),eW=$H(Object.getPrototypeOf,Object);o6.exports=eW});var wD=re((Pte,u6)=>{var tW=Iy(),nW=By(),rW=Py(),iW=DD(),oW=Object.getOwnPropertySymbols,uW=oW?function(u){for(var l=[];u;)tW(l,rW(u)),u=nW(u);return l}:iW;u6.exports=uW});var a6=re((Ite,l6)=>{var lW=L2(),aW=wD();function sW(u,l){return lW(u,aW(u),l)}l6.exports=sW});var SD=re((Bte,s6)=>{var fW=Iy(),cW=cc();function dW(u,l,c){var p=l(u);return cW(u)?p:fW(p,c(u))}s6.exports=dW});var c6=re((Ute,f6)=>{var pW=SD(),hW=Py(),vW=Ly();function mW(u){return pW(u,vW,hW)}f6.exports=mW});var TD=re((jte,d6)=>{var yW=SD(),gW=wD(),_W=by();function EW(u){return yW(u,_W,gW)}d6.exports=EW});var h6=re((zte,p6)=>{var DW=sc(),wW=ra(),SW=DW(wW,"DataView");p6.exports=SW});var m6=re((qte,v6)=>{var TW=sc(),CW=ra(),xW=TW(CW,"Promise");v6.exports=xW});var g6=re((Hte,y6)=>{var RW=sc(),AW=ra(),kW=RW(AW,"Set");y6.exports=kW});var E6=re((Wte,_6)=>{var OW=sc(),MW=ra(),NW=OW(MW,"WeakMap");_6.exports=NW});var Uy=re((Vte,R6)=>{var CD=h6(),xD=Oy(),RD=m6(),AD=g6(),kD=E6(),x6=t1(),B2=sD(),D6="[object Map]",FW="[object Object]",w6="[object Promise]",S6="[object Set]",T6="[object WeakMap]",C6="[object DataView]",LW=B2(CD),bW=B2(xD),PW=B2(RD),IW=B2(AD),BW=B2(kD),n1=x6;(CD&&n1(new CD(new ArrayBuffer(1)))!=C6||xD&&n1(new xD)!=D6||RD&&n1(RD.resolve())!=w6||AD&&n1(new AD)!=S6||kD&&n1(new kD)!=T6)&&(n1=function(u){var l=x6(u),c=l==FW?u.constructor:void 0,p=c?B2(c):"";if(p)switch(p){case LW:return C6;case bW:return D6;case PW:return w6;case IW:return S6;case BW:return T6}return l});R6.exports=n1});var k6=re((Gte,A6)=>{var UW=Object.prototype,jW=UW.hasOwnProperty;function zW(u){var l=u.length,c=new u.constructor(l);return l&&typeof u[0]=="string"&&jW.call(u,"index")&&(c.index=u.index,c.input=u.input),c}A6.exports=zW});var M6=re((Yte,O6)=>{var qW=ra(),HW=qW.Uint8Array;O6.exports=HW});var jy=re((Kte,F6)=>{var N6=M6();function WW(u){var l=new u.constructor(u.byteLength);return new N6(l).set(new N6(u)),l}F6.exports=WW});var b6=re((Xte,L6)=>{var VW=jy();function GW(u,l){var c=l?VW(u.buffer):u.buffer;return new u.constructor(c,u.byteOffset,u.byteLength)}L6.exports=GW});var I6=re((Qte,P6)=>{var YW=/\w*$/;function KW(u){var l=new u.constructor(u.source,YW.exec(u));return l.lastIndex=u.lastIndex,l}P6.exports=KW});var q6=re((Jte,z6)=>{var B6=O2(),U6=B6?B6.prototype:void 0,j6=U6?U6.valueOf:void 0;function XW(u){return j6?Object(j6.call(u)):{}}z6.exports=XW});var W6=re((Zte,H6)=>{var QW=jy();function JW(u,l){var c=l?QW(u.buffer):u.buffer;return new u.constructor(c,u.byteOffset,u.length)}H6.exports=JW});var G6=re(($te,V6)=>{var ZW=jy(),$W=b6(),eV=I6(),tV=q6(),nV=W6(),rV="[object Boolean]",iV="[object Date]",oV="[object Map]",uV="[object Number]",lV="[object RegExp]",aV="[object Set]",sV="[object String]",fV="[object Symbol]",cV="[object ArrayBuffer]",dV="[object DataView]",pV="[object Float32Array]",hV="[object Float64Array]",vV="[object Int8Array]",mV="[object Int16Array]",yV="[object Int32Array]",gV="[object Uint8Array]",_V="[object Uint8ClampedArray]",EV="[object Uint16Array]",DV="[object Uint32Array]";function wV(u,l,c){var p=u.constructor;switch(l){case cV:return ZW(u);case rV:case iV:return new p(+u);case dV:return $W(u,c);case pV:case hV:case vV:case mV:case yV:case gV:case _V:case EV:case DV:return nV(u,c);case oV:return new p;case uV:case sV:return new p(u);case lV:return eV(u);case aV:return new p;case fV:return tV(u)}}V6.exports=wV});var X6=re((ene,K6)=>{var SV=vf(),Y6=Object.create,TV=function(){function u(){}return function(l){if(!SV(l))return{};if(Y6)return Y6(l);u.prototype=l;var c=new u;return u.prototype=void 0,c}}();K6.exports=TV});var J6=re((tne,Q6)=>{var CV=X6(),xV=By(),RV=Fy();function AV(u){return typeof u.constructor=="function"&&!RV(u)?CV(xV(u)):{}}Q6.exports=AV});var $6=re((nne,Z6)=>{var kV=Uy(),OV=fc(),MV="[object Map]";function NV(u){return OV(u)&&kV(u)==MV}Z6.exports=NV});var rx=re((rne,nx)=>{var FV=$6(),LV=My(),ex=Ny(),tx=ex&&ex.isMap,bV=tx?LV(tx):FV;nx.exports=bV});var ox=re((ine,ix)=>{var PV=Uy(),IV=fc(),BV="[object Set]";function UV(u){return IV(u)&&PV(u)==BV}ix.exports=UV});var sx=re((one,ax)=>{var jV=ox(),zV=My(),ux=Ny(),lx=ux&&ux.isSet,qV=lx?zV(lx):jV;ax.exports=qV});var hx=re((une,px)=>{var HV=YT(),WV=XT(),VV=pD(),GV=PC(),YV=HC(),KV=KC(),XV=QC(),QV=r6(),JV=a6(),ZV=c6(),$V=TD(),eG=Uy(),tG=k6(),nG=G6(),rG=J6(),iG=cc(),oG=vD(),uG=rx(),lG=vf(),aG=sx(),sG=Ly(),fG=by(),cG=1,dG=2,pG=4,fx="[object Arguments]",hG="[object Array]",vG="[object Boolean]",mG="[object Date]",yG="[object Error]",cx="[object Function]",gG="[object GeneratorFunction]",_G="[object Map]",EG="[object Number]",dx="[object Object]",DG="[object RegExp]",wG="[object Set]",SG="[object String]",TG="[object Symbol]",CG="[object WeakMap]",xG="[object ArrayBuffer]",RG="[object DataView]",AG="[object Float32Array]",kG="[object Float64Array]",OG="[object Int8Array]",MG="[object Int16Array]",NG="[object Int32Array]",FG="[object Uint8Array]",LG="[object Uint8ClampedArray]",bG="[object Uint16Array]",PG="[object Uint32Array]",Fi={};Fi[fx]=Fi[hG]=Fi[xG]=Fi[RG]=Fi[vG]=Fi[mG]=Fi[AG]=Fi[kG]=Fi[OG]=Fi[MG]=Fi[NG]=Fi[_G]=Fi[EG]=Fi[dx]=Fi[DG]=Fi[wG]=Fi[SG]=Fi[TG]=Fi[FG]=Fi[LG]=Fi[bG]=Fi[PG]=!0;Fi[yG]=Fi[cx]=Fi[CG]=!1;function zy(u,l,c,p,_,t){var O,M=l&cG,A=l&dG,T=l&pG;if(c&&(O=_?c(u,p,_,t):c(u)),O!==void 0)return O;if(!lG(u))return u;var P=iG(u);if(P){if(O=tG(u),!M)return XV(u,O)}else{var U=eG(u),z=U==cx||U==gG;if(oG(u))return KV(u,M);if(U==dx||U==fx||z&&!_){if(O=A||z?{}:rG(u),!M)return A?JV(u,YV(O,u)):QV(u,GV(O,u))}else{if(!Fi[U])return _?u:{};O=nG(u,U,M)}}t||(t=new HV);var Q=t.get(u);if(Q)return Q;t.set(u,O),aG(u)?u.forEach(function(ye){O.add(zy(ye,l,c,ye,u,t))}):uG(u)&&u.forEach(function(ye,le){O.set(le,zy(ye,l,c,le,u,t))});var v=T?A?$V:ZV:A?fG:sG,de=P?void 0:v(u);return WV(de||u,function(ye,le){de&&(le=ye,ye=u[le]),VV(O,le,zy(ye,l,c,le,u,t))}),O}px.exports=zy});var yh=re((lne,vx)=>{var IG=t1(),BG=fc(),UG="[object Symbol]";function jG(u){return typeof u=="symbol"||BG(u)&&IG(u)==UG}vx.exports=jG});var yx=re((ane,mx)=>{var zG=cc(),qG=yh(),HG=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WG=/^\w*$/;function VG(u,l){if(zG(u))return!1;var c=typeof u;return c=="number"||c=="symbol"||c=="boolean"||u==null||qG(u)?!0:WG.test(u)||!HG.test(u)||l!=null&&u in Object(l)}mx.exports=VG});var Ex=re((sne,_x)=>{var gx=fD(),GG="Expected a function";function OD(u,l){if(typeof u!="function"||l!=null&&typeof l!="function")throw new TypeError(GG);var c=function(){var p=arguments,_=l?l.apply(this,p):p[0],t=c.cache;if(t.has(_))return t.get(_);var O=u.apply(this,p);return c.cache=t.set(_,O)||t,O};return c.cache=new(OD.Cache||gx),c}OD.Cache=gx;_x.exports=OD});var wx=re((fne,Dx)=>{var YG=Ex(),KG=500;function XG(u){var l=YG(u,function(p){return c.size===KG&&c.clear(),p}),c=l.cache;return l}Dx.exports=XG});var Tx=re((cne,Sx)=>{var QG=wx(),JG=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ZG=/\\(\\)?/g,$G=QG(function(u){var l=[];return u.charCodeAt(0)===46&&l.push(""),u.replace(JG,function(c,p,_,t){l.push(_?t.replace(ZG,"$1"):p||c)}),l});Sx.exports=$G});var Ox=re((dne,kx)=>{var Cx=O2(),eY=iD(),tY=cc(),nY=yh(),rY=1/0,xx=Cx?Cx.prototype:void 0,Rx=xx?xx.toString:void 0;function Ax(u){if(typeof u=="string")return u;if(tY(u))return eY(u,Ax)+"";if(nY(u))return Rx?Rx.call(u):"";var l=u+"";return l=="0"&&1/u==-rY?"-0":l}kx.exports=Ax});var Nx=re((pne,Mx)=>{var iY=Ox();function oY(u){return u==null?"":iY(u)}Mx.exports=oY});var qy=re((hne,Fx)=>{var uY=cc(),lY=yx(),aY=Tx(),sY=Nx();function fY(u,l){return uY(u)?u:lY(u,l)?[u]:aY(sY(u))}Fx.exports=fY});var bx=re((vne,Lx)=>{function cY(u){var l=u==null?0:u.length;return l?u[l-1]:void 0}Lx.exports=cY});var MD=re((mne,Px)=>{var dY=yh(),pY=1/0;function hY(u){if(typeof u=="string"||dY(u))return u;var l=u+"";return l=="0"&&1/u==-pY?"-0":l}Px.exports=hY});var Bx=re((yne,Ix)=>{var vY=qy(),mY=MD();function yY(u,l){l=vY(l,u);for(var c=0,p=l.length;u!=null&&c{function gY(u,l,c){var p=-1,_=u.length;l<0&&(l=-l>_?0:_+l),c=c>_?_:c,c<0&&(c+=_),_=l>c?0:c-l>>>0,l>>>=0;for(var t=Array(_);++p<_;)t[p]=u[p+l];return t}Ux.exports=gY});var qx=re((_ne,zx)=>{var _Y=Bx(),EY=jx();function DY(u,l){return l.length<2?u:_Y(u,EY(l,0,-1))}zx.exports=DY});var Wx=re((Ene,Hx)=>{var wY=qy(),SY=bx(),TY=qx(),CY=MD();function xY(u,l){return l=wY(l,u),u=TY(u,l),u==null||delete u[CY(SY(l))]}Hx.exports=xY});var Yx=re((Dne,Gx)=>{var RY=t1(),AY=By(),kY=fc(),OY="[object Object]",MY=Function.prototype,NY=Object.prototype,Vx=MY.toString,FY=NY.hasOwnProperty,LY=Vx.call(Object);function bY(u){if(!kY(u)||RY(u)!=OY)return!1;var l=AY(u);if(l===null)return!0;var c=FY.call(l,"constructor")&&l.constructor;return typeof c=="function"&&c instanceof c&&Vx.call(c)==LY}Gx.exports=bY});var Xx=re((wne,Kx)=>{var PY=Yx();function IY(u){return PY(u)?void 0:u}Kx.exports=IY});var $x=re((Sne,Zx)=>{var Qx=O2(),BY=hD(),UY=cc(),Jx=Qx?Qx.isConcatSpreadable:void 0;function jY(u){return UY(u)||BY(u)||!!(Jx&&u&&u[Jx])}Zx.exports=jY});var n5=re((Tne,t5)=>{var zY=Iy(),qY=$x();function e5(u,l,c,p,_){var t=-1,O=u.length;for(c||(c=qY),_||(_=[]);++t0&&c(M)?l>1?e5(M,l-1,c,p,_):zY(_,M):p||(_[_.length]=M)}return _}t5.exports=e5});var i5=re((Cne,r5)=>{var HY=n5();function WY(u){var l=u==null?0:u.length;return l?HY(u,1):[]}r5.exports=WY});var u5=re((xne,o5)=>{function VY(u,l,c){switch(c.length){case 0:return u.call(l);case 1:return u.call(l,c[0]);case 2:return u.call(l,c[0],c[1]);case 3:return u.call(l,c[0],c[1],c[2])}return u.apply(l,c)}o5.exports=VY});var s5=re((Rne,a5)=>{var GY=u5(),l5=Math.max;function YY(u,l,c){return l=l5(l===void 0?u.length-1:l,0),function(){for(var p=arguments,_=-1,t=l5(p.length-l,0),O=Array(t);++_{function KY(u){return function(){return u}}f5.exports=KY});var p5=re((kne,d5)=>{function XY(u){return u}d5.exports=XY});var m5=re((One,v5)=>{var QY=c5(),h5=cD(),JY=p5(),ZY=h5?function(u,l){return h5(u,"toString",{configurable:!0,enumerable:!1,value:QY(l),writable:!0})}:JY;v5.exports=ZY});var g5=re((Mne,y5)=>{var $Y=800,eK=16,tK=Date.now;function nK(u){var l=0,c=0;return function(){var p=tK(),_=eK-(p-c);if(c=p,_>0){if(++l>=$Y)return arguments[0]}else l=0;return u.apply(void 0,arguments)}}y5.exports=nK});var E5=re((Nne,_5)=>{var rK=m5(),iK=g5(),oK=iK(rK);_5.exports=oK});var w5=re((Fne,D5)=>{var uK=i5(),lK=s5(),aK=E5();function sK(u){return aK(lK(u,void 0,uK),u+"")}D5.exports=sK});var T5=re((Lne,S5)=>{var fK=iD(),cK=hx(),dK=Wx(),pK=qy(),hK=L2(),vK=Xx(),mK=w5(),yK=TD(),gK=1,_K=2,EK=4,DK=mK(function(u,l){var c={};if(u==null)return c;var p=!1;l=fK(l,function(t){return t=pK(t,u),p||(p=t.length>1),t}),hK(u,yK(u),c),p&&(c=cK(c,gK|_K|EK,vK));for(var _=l.length;_--;)dK(c,l[_]);return c});S5.exports=DK});var Eh=re((Wne,A5)=>{"use strict";var R5=Object.getOwnPropertySymbols,AK=Object.prototype.hasOwnProperty,kK=Object.prototype.propertyIsEnumerable;function OK(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function MK(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var l={},c=0;c<10;c++)l["_"+String.fromCharCode(c)]=c;var p=Object.getOwnPropertyNames(l).map(function(t){return l[t]});if(p.join("")!=="0123456789")return!1;var _={};return"abcdefghijklmnopqrst".split("").forEach(function(t){_[t]=t}),Object.keys(Object.assign({},_)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}A5.exports=MK()?Object.assign:function(u,l){for(var c,p=OK(u),_,t=1;t{"use strict";var jD=Eh(),Pa=typeof Symbol=="function"&&Symbol.for,Dh=Pa?Symbol.for("react.element"):60103,NK=Pa?Symbol.for("react.portal"):60106,FK=Pa?Symbol.for("react.fragment"):60107,LK=Pa?Symbol.for("react.strict_mode"):60108,bK=Pa?Symbol.for("react.profiler"):60114,PK=Pa?Symbol.for("react.provider"):60109,IK=Pa?Symbol.for("react.context"):60110,BK=Pa?Symbol.for("react.forward_ref"):60112,UK=Pa?Symbol.for("react.suspense"):60113,jK=Pa?Symbol.for("react.memo"):60115,zK=Pa?Symbol.for("react.lazy"):60116,k5=typeof Symbol=="function"&&Symbol.iterator;function wh(u){for(var l="https://reactjs.org/docs/error-decoder.html?invariant="+u,c=1;cYy.length&&Yy.push(u)}function ID(u,l,c,p){var _=typeof u;(_==="undefined"||_==="boolean")&&(u=null);var t=!1;if(u===null)t=!0;else switch(_){case"string":case"number":t=!0;break;case"object":switch(u.$$typeof){case Dh:case NK:t=!0}}if(t)return c(p,u,l===""?"."+PD(u,0):l),1;if(t=0,l=l===""?".":l+":",Array.isArray(u))for(var O=0;O{"use strict";var YK="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";z5.exports=YK});var GD=re((Yne,G5)=>{"use strict";var VD=function(){};process.env.NODE_ENV!=="production"&&(H5=q5(),Ky={},W5=Function.call.bind(Object.prototype.hasOwnProperty),VD=function(u){var l="Warning: "+u;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});var H5,Ky,W5;function V5(u,l,c,p,_){if(process.env.NODE_ENV!=="production"){for(var t in u)if(W5(u,t)){var O;try{if(typeof u[t]!="function"){var M=Error((p||"React class")+": "+c+" type `"+t+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof u[t]+"`.");throw M.name="Invariant Violation",M}O=u[t](l,t,p,c,null,H5)}catch(T){O=T}if(O&&!(O instanceof Error)&&VD((p||"React class")+": type specification of "+c+" `"+t+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof O+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),O instanceof Error&&!(O.message in Ky)){Ky[O.message]=!0;var A=_?_():"";VD("Failed "+c+" type: "+O.message+(A!=null?A:""))}}}}V5.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(Ky={})};G5.exports=V5});var Y5=re(mi=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var u=Eh(),l=GD(),c="16.13.1",p=typeof Symbol=="function"&&Symbol.for,_=p?Symbol.for("react.element"):60103,t=p?Symbol.for("react.portal"):60106,O=p?Symbol.for("react.fragment"):60107,M=p?Symbol.for("react.strict_mode"):60108,A=p?Symbol.for("react.profiler"):60114,T=p?Symbol.for("react.provider"):60109,P=p?Symbol.for("react.context"):60110,U=p?Symbol.for("react.concurrent_mode"):60111,z=p?Symbol.for("react.forward_ref"):60112,Q=p?Symbol.for("react.suspense"):60113,v=p?Symbol.for("react.suspense_list"):60120,de=p?Symbol.for("react.memo"):60115,ye=p?Symbol.for("react.lazy"):60116,le=p?Symbol.for("react.block"):60121,ae=p?Symbol.for("react.fundamental"):60117,Me=p?Symbol.for("react.responder"):60118,fe=p?Symbol.for("react.scope"):60119,pe=typeof Symbol=="function"&&Symbol.iterator,Z="@@iterator";function Ae(W){if(W===null||typeof W!="object")return null;var he=pe&&W[pe]||W[Z];return typeof he=="function"?he:null}var Fe={current:null},He={suspense:null},ot={current:null},st=/^(.*)[\\\/]/;function qe(W,he,Se){var we="";if(he){var tt=he.fileName,Cn=tt.replace(st,"");if(/^index\./.test(Cn)){var cn=tt.match(st);if(cn){var In=cn[1];if(In){var Ur=In.replace(st,"");Cn=Ur+"/"+Cn}}}we=" (at "+Cn+":"+he.lineNumber+")"}else Se&&(we=" (created by "+Se+")");return` + in `+(W||"Unknown")+we}var Xe=1;function Ie(W){return W._status===Xe?W._result:null}function kt(W,he,Se){var we=he.displayName||he.name||"";return W.displayName||(we!==""?Se+"("+we+")":Se)}function Kt(W){if(W==null)return null;if(typeof W.tag=="number"&&et("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof W=="function")return W.displayName||W.name||null;if(typeof W=="string")return W;switch(W){case O:return"Fragment";case t:return"Portal";case A:return"Profiler";case M:return"StrictMode";case Q:return"Suspense";case v:return"SuspenseList"}if(typeof W=="object")switch(W.$$typeof){case P:return"Context.Consumer";case T:return"Context.Provider";case z:return kt(W,W.render,"ForwardRef");case de:return Kt(W.type);case le:return Kt(W.render);case ye:{var he=W,Se=Ie(he);if(Se)return Kt(Se);break}}return null}var Ye={},V=null;function oe(W){V=W}Ye.getCurrentStack=null,Ye.getStackAddendum=function(){var W="";if(V){var he=Kt(V.type),Se=V._owner;W+=qe(he,V._source,Se&&Kt(Se.type))}var we=Ye.getCurrentStack;return we&&(W+=we()||""),W};var ve={current:!1},ee={ReactCurrentDispatcher:Fe,ReactCurrentBatchConfig:He,ReactCurrentOwner:ot,IsSomeRendererActing:ve,assign:u};u(ee,{ReactDebugCurrentFrame:Ye,ReactComponentTreeHook:{}});function Oe(W){{for(var he=arguments.length,Se=new Array(he>1?he-1:0),we=1;we1?he-1:0),we=1;we0&&typeof Se[Se.length-1]=="string"&&Se[Se.length-1].indexOf(` + in`)===0;if(!we){var tt=ee.ReactDebugCurrentFrame,Cn=tt.getStackAddendum();Cn!==""&&(he+="%s",Se=Se.concat([Cn]))}var cn=Se.map(function(Pi){return""+Pi});cn.unshift("Warning: "+he),Function.prototype.apply.call(console[W],console,cn);try{var In=0,Ur="Warning: "+he.replace(/%s/g,function(){return Se[In++]});throw new Error(Ur)}catch{}}}var Lt={};function Xt(W,he){{var Se=W.constructor,we=Se&&(Se.displayName||Se.name)||"ReactClass",tt=we+"."+he;if(Lt[tt])return;et("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",he,we),Lt[tt]=!0}}var pn={isMounted:function(W){return!1},enqueueForceUpdate:function(W,he,Se){Xt(W,"forceUpdate")},enqueueReplaceState:function(W,he,Se,we){Xt(W,"replaceState")},enqueueSetState:function(W,he,Se,we){Xt(W,"setState")}},Nn={};Object.freeze(Nn);function Wt(W,he,Se){this.props=W,this.context=he,this.refs=Nn,this.updater=Se||pn}Wt.prototype.isReactComponent={},Wt.prototype.setState=function(W,he){if(!(typeof W=="object"||typeof W=="function"||W==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,W,he,"setState")},Wt.prototype.forceUpdate=function(W){this.updater.enqueueForceUpdate(this,W,"forceUpdate")};{var Ot={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Wn=function(W,he){Object.defineProperty(Wt.prototype,W,{get:function(){Oe("%s(...) is deprecated in plain JavaScript React classes. %s",he[0],he[1])}})};for(var w in Ot)Ot.hasOwnProperty(w)&&Wn(w,Ot[w])}function Ct(){}Ct.prototype=Wt.prototype;function wn(W,he,Se){this.props=W,this.context=he,this.refs=Nn,this.updater=Se||pn}var ir=wn.prototype=new Ct;ir.constructor=wn,u(ir,Wt.prototype),ir.isPureReactComponent=!0;function sr(){var W={current:null};return Object.seal(W),W}var Ln=Object.prototype.hasOwnProperty,Er={key:!0,ref:!0,__self:!0,__source:!0},zt,p0,B0;B0={};function Do(W){if(Ln.call(W,"ref")){var he=Object.getOwnPropertyDescriptor(W,"ref").get;if(he&&he.isReactWarning)return!1}return W.ref!==void 0}function wl(W){if(Ln.call(W,"key")){var he=Object.getOwnPropertyDescriptor(W,"key").get;if(he&&he.isReactWarning)return!1}return W.key!==void 0}function Sl(W,he){var Se=function(){zt||(zt=!0,et("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",he))};Se.isReactWarning=!0,Object.defineProperty(W,"key",{get:Se,configurable:!0})}function Tl(W,he){var Se=function(){p0||(p0=!0,et("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",he))};Se.isReactWarning=!0,Object.defineProperty(W,"ref",{get:Se,configurable:!0})}function ua(W){if(typeof W.ref=="string"&&ot.current&&W.__self&&ot.current.stateNode!==W.__self){var he=Kt(ot.current.type);B0[he]||(et('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://fb.me/react-strict-mode-string-ref',Kt(ot.current.type),W.ref),B0[he]=!0)}}var Rt=function(W,he,Se,we,tt,Cn,cn){var In={$$typeof:_,type:W,key:he,ref:Se,props:cn,_owner:Cn};return In._store={},Object.defineProperty(In._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(In,"_self",{configurable:!1,enumerable:!1,writable:!1,value:we}),Object.defineProperty(In,"_source",{configurable:!1,enumerable:!1,writable:!1,value:tt}),Object.freeze&&(Object.freeze(In.props),Object.freeze(In)),In};function Kr(W,he,Se){var we,tt={},Cn=null,cn=null,In=null,Ur=null;if(he!=null){Do(he)&&(cn=he.ref,ua(he)),wl(he)&&(Cn=""+he.key),In=he.__self===void 0?null:he.__self,Ur=he.__source===void 0?null:he.__source;for(we in he)Ln.call(he,we)&&!Er.hasOwnProperty(we)&&(tt[we]=he[we])}var Pi=arguments.length-2;if(Pi===1)tt.children=Se;else if(Pi>1){for(var t0=Array(Pi),n0=0;n01){for(var Ii=Array(n0),jr=0;jr is not supported and will be removed in a future major release. Did you mean to render instead?")),Se.Provider},set:function(cn){Se.Provider=cn}},_currentValue:{get:function(){return Se._currentValue},set:function(cn){Se._currentValue=cn}},_currentValue2:{get:function(){return Se._currentValue2},set:function(cn){Se._currentValue2=cn}},_threadCount:{get:function(){return Se._threadCount},set:function(cn){Se._threadCount=cn}},Consumer:{get:function(){return we||(we=!0,et("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),Se.Consumer}}}),Se.Consumer=Cn}return Se._currentRenderer=null,Se._currentRenderer2=null,Se}function xt(W){var he={$$typeof:ye,_ctor:W,_status:-1,_result:null};{var Se,we;Object.defineProperties(he,{defaultProps:{configurable:!0,get:function(){return Se},set:function(tt){et("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),Se=tt,Object.defineProperty(he,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return we},set:function(tt){et("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),we=tt,Object.defineProperty(he,"propTypes",{enumerable:!0})}}})}return he}function Li(W){return W!=null&&W.$$typeof===de?et("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof W!="function"?et("forwardRef requires a render function but was given %s.",W===null?"null":typeof W):W.length!==0&&W.length!==2&&et("forwardRef render functions accept exactly two parameters: props and ref. %s",W.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),W!=null&&(W.defaultProps!=null||W.propTypes!=null)&&et("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:z,render:W}}function di(W){return typeof W=="string"||typeof W=="function"||W===O||W===U||W===A||W===M||W===Q||W===v||typeof W=="object"&&W!==null&&(W.$$typeof===ye||W.$$typeof===de||W.$$typeof===T||W.$$typeof===P||W.$$typeof===z||W.$$typeof===ae||W.$$typeof===Me||W.$$typeof===fe||W.$$typeof===le)}function z0(W,he){return di(W)||et("memo: The first argument must be a component. Instead received: %s",W===null?"null":typeof W),{$$typeof:de,type:W,compare:he===void 0?null:he}}function ti(){var W=Fe.current;if(W===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: +1. You might have mismatching versions of React and the renderer (such as React DOM) +2. You might be breaking the Rules of Hooks +3. You might have more than one copy of React in the same app +See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.`);return W}function bu(W,he){var Se=ti();if(he!==void 0&&et("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",he,typeof he=="number"&&Array.isArray(arguments[2])?` + +Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://fb.me/rules-of-hooks`:""),W._context!==void 0){var we=W._context;we.Consumer===W?et("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):we.Provider===W&&et("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return Se.useContext(W,he)}function Ko(W){var he=ti();return he.useState(W)}function Dr(W,he,Se){var we=ti();return we.useReducer(W,he,Se)}function ro(W){var he=ti();return he.useRef(W)}function Pu(W,he){var Se=ti();return Se.useEffect(W,he)}function xo(W,he){var Se=ti();return Se.useLayoutEffect(W,he)}function xl(W,he){var Se=ti();return Se.useCallback(W,he)}function Tn(W,he){var Se=ti();return Se.useMemo(W,he)}function tl(W,he,Se){var we=ti();return we.useImperativeHandle(W,he,Se)}function io(W,he){{var Se=ti();return Se.useDebugValue(W,he)}}var Ro;Ro=!1;function mu(){if(ot.current){var W=Kt(ot.current.type);if(W)return` + +Check the render method of \``+W+"`."}return""}function Ao(W){if(W!==void 0){var he=W.fileName.replace(/^.*[\\\/]/,""),Se=W.lineNumber;return` + +Check your code at `+he+":"+Se+"."}return""}function it(W){return W!=null?Ao(W.__source):""}var Dt={};function mn(W){var he=mu();if(!he){var Se=typeof W=="string"?W:W.displayName||W.name;Se&&(he=` + +Check the top-level render call using <`+Se+">.")}return he}function vr(W,he){if(!(!W._store||W._store.validated||W.key!=null)){W._store.validated=!0;var Se=mn(he);if(!Dt[Se]){Dt[Se]=!0;var we="";W&&W._owner&&W._owner!==ot.current&&(we=" It was passed a child from "+Kt(W._owner.type)+"."),oe(W),et('Each child in a list should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.',Se,we),oe(null)}}}function ni(W,he){if(typeof W=="object"){if(Array.isArray(W))for(var Se=0;Se",tt=" Did you accidentally export a JSX literal instead of a component?"):cn=typeof W,et("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",cn,tt)}var In=Kr.apply(this,arguments);if(In==null)return In;if(we)for(var Ur=2;Ur{"use strict";process.env.NODE_ENV==="production"?YD.exports=j5():YD.exports=Y5()});var X5=re((Qne,K5)=>{var KK=ra(),XK=function(){return KK.Date.now()};K5.exports=XK});var J5=re((Jne,Q5)=>{var QK=/\s/;function JK(u){for(var l=u.length;l--&&QK.test(u.charAt(l)););return l}Q5.exports=JK});var $5=re((Zne,Z5)=>{var ZK=J5(),$K=/^\s+/;function eX(u){return u&&u.slice(0,ZK(u)+1).replace($K,"")}Z5.exports=eX});var r9=re(($ne,n9)=>{var tX=$5(),e9=vf(),nX=yh(),t9=0/0,rX=/^[-+]0x[0-9a-f]+$/i,iX=/^0b[01]+$/i,oX=/^0o[0-7]+$/i,uX=parseInt;function lX(u){if(typeof u=="number")return u;if(nX(u))return t9;if(e9(u)){var l=typeof u.valueOf=="function"?u.valueOf():u;u=e9(l)?l+"":l}if(typeof u!="string")return u===0?u:+u;u=tX(u);var c=iX.test(u);return c||oX.test(u)?uX(u.slice(2),c?2:8):rX.test(u)?t9:+u}n9.exports=lX});var u9=re((ere,o9)=>{var aX=vf(),KD=X5(),i9=r9(),sX="Expected a function",fX=Math.max,cX=Math.min;function dX(u,l,c){var p,_,t,O,M,A,T=0,P=!1,U=!1,z=!0;if(typeof u!="function")throw new TypeError(sX);l=i9(l)||0,aX(c)&&(P=!!c.leading,U="maxWait"in c,t=U?fX(i9(c.maxWait)||0,l):t,z="trailing"in c?!!c.trailing:z);function Q(Z){var Ae=p,Fe=_;return p=_=void 0,T=Z,O=u.apply(Fe,Ae),O}function v(Z){return T=Z,M=setTimeout(le,l),P?Q(Z):O}function de(Z){var Ae=Z-A,Fe=Z-T,He=l-Ae;return U?cX(He,t-Fe):He}function ye(Z){var Ae=Z-A,Fe=Z-T;return A===void 0||Ae>=l||Ae<0||U&&Fe>=t}function le(){var Z=KD();if(ye(Z))return ae(Z);M=setTimeout(le,de(Z))}function ae(Z){return M=void 0,z&&p?Q(Z):(p=_=void 0,O)}function Me(){M!==void 0&&clearTimeout(M),T=0,p=A=_=M=void 0}function fe(){return M===void 0?O:ae(KD())}function pe(){var Z=KD(),Ae=ye(Z);if(p=arguments,_=this,A=Z,Ae){if(M===void 0)return v(A);if(U)return clearTimeout(M),M=setTimeout(le,l),Q(A)}return M===void 0&&(M=setTimeout(le,l)),O}return pe.cancel=Me,pe.flush=fe,pe}o9.exports=dX});var a9=re((tre,l9)=>{var pX=u9(),hX=vf(),vX="Expected a function";function mX(u,l,c){var p=!0,_=!0;if(typeof u!="function")throw new TypeError(vX);return hX(c)&&(p="leading"in c?!!c.leading:p,_="trailing"in c?!!c.trailing:_),pX(u,l,{leading:p,maxWait:l,trailing:_})}l9.exports=mX});var QD=re((nre,XD)=>{"use strict";var Fr=XD.exports;XD.exports.default=Fr;var yi="\x1B[",Sh="\x1B]",G2="\x07",Xy=";",s9=process.env.TERM_PROGRAM==="Apple_Terminal";Fr.cursorTo=(u,l)=>{if(typeof u!="number")throw new TypeError("The `x` argument is required");return typeof l!="number"?yi+(u+1)+"G":yi+(l+1)+";"+(u+1)+"H"};Fr.cursorMove=(u,l)=>{if(typeof u!="number")throw new TypeError("The `x` argument is required");let c="";return u<0?c+=yi+-u+"D":u>0&&(c+=yi+u+"C"),l<0?c+=yi+-l+"A":l>0&&(c+=yi+l+"B"),c};Fr.cursorUp=(u=1)=>yi+u+"A";Fr.cursorDown=(u=1)=>yi+u+"B";Fr.cursorForward=(u=1)=>yi+u+"C";Fr.cursorBackward=(u=1)=>yi+u+"D";Fr.cursorLeft=yi+"G";Fr.cursorSavePosition=s9?"\x1B7":yi+"s";Fr.cursorRestorePosition=s9?"\x1B8":yi+"u";Fr.cursorGetPosition=yi+"6n";Fr.cursorNextLine=yi+"E";Fr.cursorPrevLine=yi+"F";Fr.cursorHide=yi+"?25l";Fr.cursorShow=yi+"?25h";Fr.eraseLines=u=>{let l="";for(let c=0;c[Sh,"8",Xy,Xy,l,G2,u,Sh,"8",Xy,Xy,G2].join("");Fr.image=(u,l={})=>{let c=`${Sh}1337;File=inline=1`;return l.width&&(c+=`;width=${l.width}`),l.height&&(c+=`;height=${l.height}`),l.preserveAspectRatio===!1&&(c+=";preserveAspectRatio=0"),c+":"+u.toString("base64")+G2};Fr.iTerm={setCwd:(u=process.cwd())=>`${Sh}50;CurrentDir=${u}${G2}`,annotation:(u,l={})=>{let c=`${Sh}1337;`,p=typeof l.x<"u",_=typeof l.y<"u";if((p||_)&&!(p&&_&&typeof l.length<"u"))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return u=u.replace(/\|/g,""),c+=l.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",l.length>0?c+=(p?[u,l.length,l.x,l.y]:[l.length,u]).join("|"):c+=u,c+G2}}});var c9=re((rre,JD)=>{"use strict";var f9=(u,l)=>{for(let c of Reflect.ownKeys(l))Object.defineProperty(u,c,Object.getOwnPropertyDescriptor(l,c));return u};JD.exports=f9;JD.exports.default=f9});var p9=re((ire,Jy)=>{"use strict";var yX=c9(),Qy=new WeakMap,d9=(u,l={})=>{if(typeof u!="function")throw new TypeError("Expected a function");let c,p=0,_=u.displayName||u.name||"",t=function(...O){if(Qy.set(t,++p),p===1)c=u.apply(this,O),u=null;else if(l.throw===!0)throw new Error(`Function \`${_}\` can only be called once`);return c};return yX(t,u),Qy.set(t,p),t};Jy.exports=d9;Jy.exports.default=d9;Jy.exports.callCount=u=>{if(!Qy.has(u))throw new Error(`The given function \`${u.name}\` is not wrapped by the \`onetime\` package`);return Qy.get(u)}});var h9=re((ore,Zy)=>{Zy.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Zy.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Zy.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var e3=re((ure,X2)=>{var $i=global.process,o1=function(u){return u&&typeof u=="object"&&typeof u.removeListener=="function"&&typeof u.emit=="function"&&typeof u.reallyExit=="function"&&typeof u.listeners=="function"&&typeof u.kill=="function"&&typeof u.pid=="number"&&typeof u.on=="function"};o1($i)?(v9=Kn("assert"),Y2=h9(),m9=/^win/i.test($i.platform),Th=Kn("events"),typeof Th!="function"&&(Th=Th.EventEmitter),$i.__signal_exit_emitter__?Eo=$i.__signal_exit_emitter__:(Eo=$i.__signal_exit_emitter__=new Th,Eo.count=0,Eo.emitted={}),Eo.infinite||(Eo.setMaxListeners(1/0),Eo.infinite=!0),X2.exports=function(u,l){if(!o1(global.process))return function(){};v9.equal(typeof u,"function","a callback must be provided for exit handler"),K2===!1&&ZD();var c="exit";l&&l.alwaysLast&&(c="afterexit");var p=function(){Eo.removeListener(c,u),Eo.listeners("exit").length===0&&Eo.listeners("afterexit").length===0&&$y()};return Eo.on(c,u),p},$y=function(){!K2||!o1(global.process)||(K2=!1,Y2.forEach(function(l){try{$i.removeListener(l,eg[l])}catch{}}),$i.emit=tg,$i.reallyExit=$D,Eo.count-=1)},X2.exports.unload=$y,u1=function(l,c,p){Eo.emitted[l]||(Eo.emitted[l]=!0,Eo.emit(l,c,p))},eg={},Y2.forEach(function(u){eg[u]=function(){if(!!o1(global.process)){var c=$i.listeners(u);c.length===Eo.count&&($y(),u1("exit",null,u),u1("afterexit",null,u),m9&&u==="SIGHUP"&&(u="SIGINT"),$i.kill($i.pid,u))}}}),X2.exports.signals=function(){return Y2},K2=!1,ZD=function(){K2||!o1(global.process)||(K2=!0,Eo.count+=1,Y2=Y2.filter(function(l){try{return $i.on(l,eg[l]),!0}catch{return!1}}),$i.emit=g9,$i.reallyExit=y9)},X2.exports.load=ZD,$D=$i.reallyExit,y9=function(l){!o1(global.process)||($i.exitCode=l||0,u1("exit",$i.exitCode,null),u1("afterexit",$i.exitCode,null),$D.call($i,$i.exitCode))},tg=$i.emit,g9=function(l,c){if(l==="exit"&&o1(global.process)){c!==void 0&&($i.exitCode=c);var p=tg.apply(this,arguments);return u1("exit",$i.exitCode,null),u1("afterexit",$i.exitCode,null),p}else return tg.apply(this,arguments)}):X2.exports=function(){return function(){}};var v9,Y2,m9,Th,Eo,$y,u1,eg,K2,ZD,$D,y9,tg,g9});var E9=re((lre,_9)=>{"use strict";var gX=p9(),_X=e3();_9.exports=gX(()=>{_X(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})})});var t3=re(Q2=>{"use strict";var EX=E9(),ng=!1;Q2.show=(u=process.stderr)=>{!u.isTTY||(ng=!1,u.write("\x1B[?25h"))};Q2.hide=(u=process.stderr)=>{!u.isTTY||(EX(),ng=!0,u.write("\x1B[?25l"))};Q2.toggle=(u,l)=>{u!==void 0&&(ng=u),ng?Q2.show(l):Q2.hide(l)}});var T9=re(Ch=>{"use strict";var S9=Ch&&Ch.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Ch,"__esModule",{value:!0});var D9=S9(QD()),w9=S9(t3()),DX=(u,{showCursor:l=!1}={})=>{let c=0,p="",_=!1,t=O=>{!l&&!_&&(w9.default.hide(),_=!0);let M=O+` +`;M!==p&&(p=M,u.write(D9.default.eraseLines(c)+M),c=M.split(` +`).length)};return t.clear=()=>{u.write(D9.default.eraseLines(c)),p="",c=0},t.done=()=>{p="",c=0,l||(w9.default.show(),_=!1)},t};Ch.default={create:DX}});var C9=re((fre,wX)=>{wX.exports=[{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI",pr:"SYSTEM_PULLREQUEST_PULLREQUESTID"},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY_BUILD_BASE",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Shippable",constant:"SHIPPABLE",env:"SHIPPABLE",pr:{IS_PULL_REQUEST:"true"}},{name:"Solano CI",constant:"SOLANO",env:"TDDIUM",pr:"TDDIUM_PR_ID"},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}}]});var A9=re(Dl=>{"use strict";var R9=C9(),Ds=process.env;Object.defineProperty(Dl,"_vendors",{value:R9.map(function(u){return u.constant})});Dl.name=null;Dl.isPR=null;R9.forEach(function(u){var l=Array.isArray(u.env)?u.env:[u.env],c=l.every(function(p){return x9(p)});if(Dl[u.constant]=c,c)switch(Dl.name=u.name,typeof u.pr){case"string":Dl.isPR=!!Ds[u.pr];break;case"object":"env"in u.pr?Dl.isPR=u.pr.env in Ds&&Ds[u.pr.env]!==u.pr.ne:"any"in u.pr?Dl.isPR=u.pr.any.some(function(p){return!!Ds[p]}):Dl.isPR=x9(u.pr);break;default:Dl.isPR=null}});Dl.isCI=!!(Ds.CI||Ds.CONTINUOUS_INTEGRATION||Ds.BUILD_NUMBER||Ds.RUN_ID||Dl.name);function x9(u){return typeof u=="string"?!!Ds[u]:Object.keys(u).every(function(l){return Ds[l]===u[l]})}});var O9=re((dre,k9)=>{"use strict";k9.exports=A9().isCI});var N9=re((pre,M9)=>{"use strict";var SX=u=>{let l=new Set;do for(let c of Reflect.ownKeys(u))l.add([u,c]);while((u=Reflect.getPrototypeOf(u))&&u!==Object.prototype);return l};M9.exports=(u,{include:l,exclude:c}={})=>{let p=_=>{let t=O=>typeof O=="string"?_===O:O.test(_);return l?l.some(t):c?!c.some(t):!0};for(let[_,t]of SX(u.constructor.prototype)){if(t==="constructor"||!p(t))continue;let O=Reflect.getOwnPropertyDescriptor(_,t);O&&typeof O.value=="function"&&(u[t]=u[t].bind(u))}return u}});var U9=re(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});var Z2,Ah,lg,ag,a3;typeof window>"u"||typeof MessageChannel!="function"?(J2=null,n3=null,r3=function(){if(J2!==null)try{var u=ei.unstable_now();J2(!0,u),J2=null}catch(l){throw setTimeout(r3,0),l}},F9=Date.now(),ei.unstable_now=function(){return Date.now()-F9},Z2=function(u){J2!==null?setTimeout(Z2,0,u):(J2=u,setTimeout(r3,0))},Ah=function(u,l){n3=setTimeout(u,l)},lg=function(){clearTimeout(n3)},ag=function(){return!1},a3=ei.unstable_forceFrameRate=function(){}):(rg=window.performance,i3=window.Date,L9=window.setTimeout,b9=window.clearTimeout,typeof console<"u"&&(P9=window.cancelAnimationFrame,typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),typeof P9!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")),typeof rg=="object"&&typeof rg.now=="function"?ei.unstable_now=function(){return rg.now()}:(I9=i3.now(),ei.unstable_now=function(){return i3.now()-I9}),xh=!1,Rh=null,ig=-1,o3=5,u3=0,ag=function(){return ei.unstable_now()>=u3},a3=function(){},ei.unstable_forceFrameRate=function(u){0>u||125ug(O,c))A!==void 0&&0>ug(A,O)?(u[p]=A,u[M]=c,p=M):(u[p]=O,u[t]=c,p=t);else if(A!==void 0&&0>ug(A,c))u[p]=A,u[M]=c,p=M;else break e}}return l}return null}function ug(u,l){var c=u.sortIndex-l.sortIndex;return c!==0?c:u.id-l.id}var Ia=[],pc=[],TX=1,Nu=null,hu=3,fg=!1,l1=!1,kh=!1;function cg(u){for(var l=ia(pc);l!==null;){if(l.callback===null)sg(pc);else if(l.startTime<=u)sg(pc),l.sortIndex=l.expirationTime,s3(Ia,l);else break;l=ia(pc)}}function f3(u){if(kh=!1,cg(u),!l1)if(ia(Ia)!==null)l1=!0,Z2(c3);else{var l=ia(pc);l!==null&&Ah(f3,l.startTime-u)}}function c3(u,l){l1=!1,kh&&(kh=!1,lg()),fg=!0;var c=hu;try{for(cg(l),Nu=ia(Ia);Nu!==null&&(!(Nu.expirationTime>l)||u&&!ag());){var p=Nu.callback;if(p!==null){Nu.callback=null,hu=Nu.priorityLevel;var _=p(Nu.expirationTime<=l);l=ei.unstable_now(),typeof _=="function"?Nu.callback=_:Nu===ia(Ia)&&sg(Ia),cg(l)}else sg(Ia);Nu=ia(Ia)}if(Nu!==null)var t=!0;else{var O=ia(pc);O!==null&&Ah(f3,O.startTime-l),t=!1}return t}finally{Nu=null,hu=c,fg=!1}}function B9(u){switch(u){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var CX=a3;ei.unstable_ImmediatePriority=1;ei.unstable_UserBlockingPriority=2;ei.unstable_NormalPriority=3;ei.unstable_IdlePriority=5;ei.unstable_LowPriority=4;ei.unstable_runWithPriority=function(u,l){switch(u){case 1:case 2:case 3:case 4:case 5:break;default:u=3}var c=hu;hu=u;try{return l()}finally{hu=c}};ei.unstable_next=function(u){switch(hu){case 1:case 2:case 3:var l=3;break;default:l=hu}var c=hu;hu=l;try{return u()}finally{hu=c}};ei.unstable_scheduleCallback=function(u,l,c){var p=ei.unstable_now();if(typeof c=="object"&&c!==null){var _=c.delay;_=typeof _=="number"&&0<_?p+_:p,c=typeof c.timeout=="number"?c.timeout:B9(u)}else c=B9(u),_=p;return c=_+c,u={id:TX++,callback:l,priorityLevel:u,startTime:_,expirationTime:c,sortIndex:-1},_>p?(u.sortIndex=_,s3(pc,u),ia(Ia)===null&&u===ia(pc)&&(kh?lg():kh=!0,Ah(f3,_-p))):(u.sortIndex=c,s3(Ia,u),l1||fg||(l1=!0,Z2(c3))),u};ei.unstable_cancelCallback=function(u){u.callback=null};ei.unstable_wrapCallback=function(u){var l=hu;return function(){var c=hu;hu=l;try{return u.apply(this,arguments)}finally{hu=c}}};ei.unstable_getCurrentPriorityLevel=function(){return hu};ei.unstable_shouldYield=function(){var u=ei.unstable_now();cg(u);var l=ia(Ia);return l!==Nu&&Nu!==null&&l!==null&&l.callback!==null&&l.startTime<=u&&l.expirationTime{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});var u=!1,l=!1,c=!0,p,_,t,O,M;if(typeof window>"u"||typeof MessageChannel!="function"){var A=null,T=null,P=function(){if(A!==null)try{var it=Lr.unstable_now(),Dt=!0;A(Dt,it),A=null}catch(mn){throw setTimeout(P,0),mn}},U=Date.now();Lr.unstable_now=function(){return Date.now()-U},p=function(it){A!==null?setTimeout(p,0,it):(A=it,setTimeout(P,0))},_=function(it,Dt){T=setTimeout(it,Dt)},t=function(){clearTimeout(T)},O=function(){return!1},M=Lr.unstable_forceFrameRate=function(){}}else{var z=window.performance,Q=window.Date,v=window.setTimeout,de=window.clearTimeout;if(typeof console<"u"){var ye=window.requestAnimationFrame,le=window.cancelAnimationFrame;typeof ye!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),typeof le!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if(typeof z=="object"&&typeof z.now=="function")Lr.unstable_now=function(){return z.now()};else{var ae=Q.now();Lr.unstable_now=function(){return Q.now()-ae}}var Me=!1,fe=null,pe=-1,Z=5,Ae=0,Fe=300,He=!1;if(l&&navigator!==void 0&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0){var ot=navigator.scheduling;O=function(){var it=Lr.unstable_now();return it>=Ae?He||ot.isInputPending()?!0:it>=Fe:!1},M=function(){He=!0}}else O=function(){return Lr.unstable_now()>=Ae},M=function(){};Lr.unstable_forceFrameRate=function(it){if(it<0||it>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported");return}it>0?Z=Math.floor(1e3/it):Z=5};var st=function(){if(fe!==null){var it=Lr.unstable_now();Ae=it+Z;var Dt=!0;try{var mn=fe(Dt,it);mn?Xe.postMessage(null):(Me=!1,fe=null)}catch(vr){throw Xe.postMessage(null),vr}}else Me=!1;He=!1},qe=new MessageChannel,Xe=qe.port2;qe.port1.onmessage=st,p=function(it){fe=it,Me||(Me=!0,Xe.postMessage(null))},_=function(it,Dt){pe=v(function(){it(Lr.unstable_now())},Dt)},t=function(){de(pe),pe=-1}}function Ie(it,Dt){var mn=it.length;it.push(Dt),Ye(it,Dt,mn)}function kt(it){var Dt=it[0];return Dt===void 0?null:Dt}function Kt(it){var Dt=it[0];if(Dt!==void 0){var mn=it.pop();return mn!==Dt&&(it[0]=mn,V(it,mn,0)),Dt}else return null}function Ye(it,Dt,mn){for(var vr=mn;;){var ni=Math.floor((vr-1)/2),mr=it[ni];if(mr!==void 0&&oe(mr,Dt)>0)it[ni]=Dt,it[vr]=mr,vr=ni;else return}}function V(it,Dt,mn){for(var vr=mn,ni=it.length;vrLn){if(Ln*=2,Ln>sr){console.error("Scheduler Profiling: Event log exceeded maximum size. Don't forget to call `stopLoggingProfilingEvents()`."),Xn();return}var mn=new Int32Array(Ln*4);mn.set(zt),Er=mn.buffer,zt=mn}zt.set(it,Dt)}}function br(){Ln=ir,Er=new ArrayBuffer(Ln*4),zt=new Int32Array(Er),p0=0}function Xn(){var it=Er;return Ln=0,Er=null,zt=null,p0=0,it}function Fu(it,Dt){c&&(Ot[wn]++,zt!==null&&Ai([B0,Dt*1e3,it.id,it.priorityLevel]))}function wo(it,Dt){c&&(Ot[Wn]=ve,Ot[w]=0,Ot[wn]--,zt!==null&&Ai([Do,Dt*1e3,it.id]))}function h0(it,Dt){c&&(Ot[wn]--,zt!==null&&Ai([Sl,Dt*1e3,it.id]))}function So(it,Dt){c&&(Ot[Wn]=ve,Ot[w]=0,Ot[wn]--,zt!==null&&Ai([wl,Dt*1e3,it.id]))}function hr(it,Dt){c&&(Xt++,Ot[Wn]=it.priorityLevel,Ot[w]=it.id,Ot[Ct]=Xt,zt!==null&&Ai([Tl,Dt*1e3,it.id,Xt]))}function To(it,Dt){c&&(Ot[Wn]=ve,Ot[w]=0,Ot[Ct]=0,zt!==null&&Ai([ua,Dt*1e3,it.id,Xt]))}function Co(it){c&&(pn++,zt!==null&&Ai([Rt,it*1e3,pn]))}function U0(it){c&&zt!==null&&Ai([Kr,it*1e3,pn])}var xi=1073741823,Wr=-1,Cl=250,Lu=5e3,F0=1e4,S0=xi,or=[],Pr=[],j0=1,Ir=!1,Ft=null,hn=et,Br=!1,Tr=!1,xt=!1;function Li(it){for(var Dt=kt(Pr);Dt!==null;){if(Dt.callback===null)Kt(Pr);else if(Dt.startTime<=it)Kt(Pr),Dt.sortIndex=Dt.expirationTime,Ie(or,Dt),c&&(Fu(Dt,it),Dt.isQueued=!0);else return;Dt=kt(Pr)}}function di(it){if(xt=!1,Li(it),!Tr)if(kt(or)!==null)Tr=!0,p(z0);else{var Dt=kt(Pr);Dt!==null&&_(di,Dt.startTime-it)}}function z0(it,Dt){c&&U0(Dt),Tr=!1,xt&&(xt=!1,t()),Br=!0;var mn=hn;try{if(c)try{return ti(it,Dt)}catch(mr){if(Ft!==null){var vr=Lr.unstable_now();So(Ft,vr),Ft.isQueued=!1}throw mr}else return ti(it,Dt)}finally{if(Ft=null,hn=mn,Br=!1,c){var ni=Lr.unstable_now();Co(ni)}}}function ti(it,Dt){var mn=Dt;for(Li(mn),Ft=kt(or);Ft!==null&&!(u&&Ir)&&!(Ft.expirationTime>mn&&(!it||O()));){var vr=Ft.callback;if(vr!==null){Ft.callback=null,hn=Ft.priorityLevel;var ni=Ft.expirationTime<=mn;hr(Ft,mn);var mr=vr(ni);mn=Lr.unstable_now(),typeof mr=="function"?(Ft.callback=mr,To(Ft,mn)):(c&&(wo(Ft,mn),Ft.isQueued=!1),Ft===kt(or)&&Kt(or)),Li(mn)}else Kt(or);Ft=kt(or)}if(Ft!==null)return!0;var bi=kt(Pr);return bi!==null&&_(di,bi.startTime-mn),!1}function bu(it,Dt){switch(it){case ee:case Oe:case et:case ct:case Lt:break;default:it=et}var mn=hn;hn=it;try{return Dt()}finally{hn=mn}}function Ko(it){var Dt;switch(hn){case ee:case Oe:case et:Dt=et;break;default:Dt=hn;break}var mn=hn;hn=Dt;try{return it()}finally{hn=mn}}function Dr(it){var Dt=hn;return function(){var mn=hn;hn=Dt;try{return it.apply(this,arguments)}finally{hn=mn}}}function ro(it){switch(it){case ee:return Wr;case Oe:return Cl;case Lt:return S0;case ct:return F0;case et:default:return Lu}}function Pu(it,Dt,mn){var vr=Lr.unstable_now(),ni,mr;if(typeof mn=="object"&&mn!==null){var bi=mn.delay;typeof bi=="number"&&bi>0?ni=vr+bi:ni=vr,mr=typeof mn.timeout=="number"?mn.timeout:ro(it)}else mr=ro(it),ni=vr;var v0=ni+mr,Xr={id:j0++,callback:Dt,priorityLevel:it,startTime:ni,expirationTime:v0,sortIndex:-1};return c&&(Xr.isQueued=!1),ni>vr?(Xr.sortIndex=ni,Ie(Pr,Xr),kt(or)===null&&Xr===kt(Pr)&&(xt?t():xt=!0,_(di,ni-vr))):(Xr.sortIndex=v0,Ie(or,Xr),c&&(Fu(Xr,vr),Xr.isQueued=!0),!Tr&&!Br&&(Tr=!0,p(z0))),Xr}function xo(){Ir=!0}function xl(){Ir=!1,!Tr&&!Br&&(Tr=!0,p(z0))}function Tn(){return kt(or)}function tl(it){if(c&&it.isQueued){var Dt=Lr.unstable_now();h0(it,Dt),it.isQueued=!1}it.callback=null}function io(){return hn}function Ro(){var it=Lr.unstable_now();Li(it);var Dt=kt(or);return Dt!==Ft&&Ft!==null&&Dt!==null&&Dt.callback!==null&&Dt.startTime<=it&&Dt.expirationTime{"use strict";process.env.NODE_ENV==="production"?d3.exports=U9():d3.exports=j9()});var z9=re((yre,Oh)=>{Oh.exports=function u(l){"use strict";var c=Eh(),p=fi(),_=dg();function t(y){for(var m="https://reactjs.org/docs/error-decoder.html?invariant="+y,C=1;Cj0||(y.current=Pr[j0],Pr[j0]=null,j0--)}function Ft(y,m){j0++,Pr[j0]=y.current,y.current=m}var hn={},Br={current:hn},Tr={current:!1},xt=hn;function Li(y,m){var C=y.type.contextTypes;if(!C)return hn;var N=y.stateNode;if(N&&N.__reactInternalMemoizedUnmaskedChildContext===m)return N.__reactInternalMemoizedMaskedChildContext;var L={},K;for(K in C)L[K]=m[K];return N&&(y=y.stateNode,y.__reactInternalMemoizedUnmaskedChildContext=m,y.__reactInternalMemoizedMaskedChildContext=L),L}function di(y){return y=y.childContextTypes,y!=null}function z0(y){Ir(Tr,y),Ir(Br,y)}function ti(y){Ir(Tr,y),Ir(Br,y)}function bu(y,m,C){if(Br.current!==hn)throw Error(t(168));Ft(Br,m,y),Ft(Tr,C,y)}function Ko(y,m,C){var N=y.stateNode;if(y=m.childContextTypes,typeof N.getChildContext!="function")return C;N=N.getChildContext();for(var L in N)if(!(L in y))throw Error(t(108,Fe(m)||"Unknown",L));return c({},C,{},N)}function Dr(y){var m=y.stateNode;return m=m&&m.__reactInternalMemoizedMergedChildContext||hn,xt=Br.current,Ft(Br,m,y),Ft(Tr,Tr.current,y),!0}function ro(y,m,C){var N=y.stateNode;if(!N)throw Error(t(169));C?(m=Ko(y,m,xt),N.__reactInternalMemoizedMergedChildContext=m,Ir(Tr,y),Ir(Br,y),Ft(Br,m,y)):Ir(Tr,y),Ft(Tr,C,y)}var Pu=_.unstable_runWithPriority,xo=_.unstable_scheduleCallback,xl=_.unstable_cancelCallback,Tn=_.unstable_shouldYield,tl=_.unstable_requestPaint,io=_.unstable_now,Ro=_.unstable_getCurrentPriorityLevel,mu=_.unstable_ImmediatePriority,Ao=_.unstable_UserBlockingPriority,it=_.unstable_NormalPriority,Dt=_.unstable_LowPriority,mn=_.unstable_IdlePriority,vr={},ni=tl!==void 0?tl:function(){},mr=null,bi=null,v0=!1,Xr=io(),T0=1e4>Xr?io:function(){return io()-Xr};function Rl(){switch(Ro()){case mu:return 99;case Ao:return 98;case it:return 97;case Dt:return 96;case mn:return 95;default:throw Error(t(332))}}function lt(y){switch(y){case 99:return mu;case 98:return Ao;case 97:return it;case 96:return Dt;case 95:return mn;default:throw Error(t(332))}}function oo(y,m){return y=lt(y),Pu(y,m)}function yu(y,m,C){return y=lt(y),xo(y,m,C)}function la(y){return mr===null?(mr=[y],bi=xo(mu,nl)):mr.push(y),vr}function e0(){if(bi!==null){var y=bi;bi=null,xl(y)}nl()}function nl(){if(!v0&&mr!==null){v0=!0;var y=0;try{var m=mr;oo(99,function(){for(;y=m&&(Fo=!0),y.firstContext=null)}function Bi(y,m){if(Pi!==y&&m!==!1&&m!==0)if((typeof m!="number"||m===1073741823)&&(Pi=y,m=1073741823),m={context:y,observedBits:m,next:null},Ur===null){if(In===null)throw Error(t(308));Ur=m,In.dependencies={expirationTime:0,firstContext:m,responders:null}}else Ur=Ur.next=m;return Wt?y._currentValue:y._currentValue2}var uo=!1;function r0(y){return{baseState:y,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ga(y){return{baseState:y.baseState,firstUpdate:y.firstUpdate,lastUpdate:y.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function m0(y,m){return{expirationTime:y,suspenseConfig:m,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function aa(y,m){y.lastUpdate===null?y.firstUpdate=y.lastUpdate=m:(y.lastUpdate.next=m,y.lastUpdate=m)}function H0(y,m){var C=y.alternate;if(C===null){var N=y.updateQueue,L=null;N===null&&(N=y.updateQueue=r0(y.memoizedState))}else N=y.updateQueue,L=C.updateQueue,N===null?L===null?(N=y.updateQueue=r0(y.memoizedState),L=C.updateQueue=r0(C.memoizedState)):N=y.updateQueue=Ga(L):L===null&&(L=C.updateQueue=Ga(N));L===null||N===L?aa(N,m):N.lastUpdate===null||L.lastUpdate===null?(aa(N,m),aa(L,m)):(aa(N,m),L.lastUpdate=m)}function xs(y,m){var C=y.updateQueue;C=C===null?y.updateQueue=r0(y.memoizedState):Ya(y,C),C.lastCapturedUpdate===null?C.firstCapturedUpdate=C.lastCapturedUpdate=m:(C.lastCapturedUpdate.next=m,C.lastCapturedUpdate=m)}function Ya(y,m){var C=y.alternate;return C!==null&&m===C.updateQueue&&(m=y.updateQueue=Ga(m)),m}function rl(y,m,C,N,L,K){switch(C.tag){case 1:return y=C.payload,typeof y=="function"?y.call(K,N,L):y;case 3:y.effectTag=y.effectTag&-4097|64;case 0:if(y=C.payload,L=typeof y=="function"?y.call(K,N,L):y,L==null)break;return c({},N,L);case 2:uo=!0}return N}function C0(y,m,C,N,L){uo=!1,m=Ya(y,m);for(var K=m.baseState,ie=null,dt=0,ft=m.firstUpdate,mt=K;ft!==null;){var Gn=ft.expirationTime;GnSr?(li=Fn,Fn=null):li=Fn.sibling;var cr=ki(Le,Fn,Ke[Sr],Nt);if(cr===null){Fn===null&&(Fn=li);break}y&&Fn&&cr.alternate===null&&m(Le,Fn),ke=K(cr,ke,Sr),Rr===null?yn=cr:Rr.sibling=cr,Rr=cr,Fn=li}if(Sr===Ke.length)return C(Le,Fn),yn;if(Fn===null){for(;SrSr?(li=Fn,Fn=null):li=Fn.sibling;var ji=ki(Le,Fn,cr.value,Nt);if(ji===null){Fn===null&&(Fn=li);break}y&&Fn&&ji.alternate===null&&m(Le,Fn),ke=K(ji,ke,Sr),Rr===null?yn=ji:Rr.sibling=ji,Rr=ji,Fn=li}if(cr.done)return C(Le,Fn),yn;if(Fn===null){for(;!cr.done;Sr++,cr=Ke.next())cr=f0(Le,cr.value,Nt),cr!==null&&(ke=K(cr,ke,Sr),Rr===null?yn=cr:Rr.sibling=cr,Rr=cr);return yn}for(Fn=N(Le,Fn);!cr.done;Sr++,cr=Ke.next())cr=b0(Fn,Le,Sr,cr.value,Nt),cr!==null&&(y&&cr.alternate!==null&&Fn.delete(cr.key===null?Sr:cr.key),ke=K(cr,ke,Sr),Rr===null?yn=cr:Rr.sibling=cr,Rr=cr);return y&&Fn.forEach(function(Nf){return m(Le,Nf)}),yn}return function(Le,ke,Ke,Nt){var yn=typeof Ke=="object"&&Ke!==null&&Ke.type===P&&Ke.key===null;yn&&(Ke=Ke.props.children);var Rr=typeof Ke=="object"&&Ke!==null;if(Rr)switch(Ke.$$typeof){case A:e:{for(Rr=Ke.key,yn=ke;yn!==null;){if(yn.key===Rr)if(yn.tag===7?Ke.type===P:yn.elementType===Ke.type){C(Le,yn.sibling),ke=L(yn,Ke.type===P?Ke.props.children:Ke.props,Nt),ke.ref=Ol(Le,yn,Ke),ke.return=Le,Le=ke;break e}else{C(Le,yn);break}else m(Le,yn);yn=yn.sibling}Ke.type===P?(ke=Uo(Ke.props.children,Le.mode,Nt,Ke.key),ke.return=Le,Le=ke):(Nt=kf(Ke.type,Ke.key,Ke.props,null,Le.mode,Nt),Nt.ref=Ol(Le,ke,Ke),Nt.return=Le,Le=Nt)}return ie(Le);case T:e:{for(yn=Ke.key;ke!==null;){if(ke.key===yn)if(ke.tag===4&&ke.stateNode.containerInfo===Ke.containerInfo&&ke.stateNode.implementation===Ke.implementation){C(Le,ke.sibling),ke=L(ke,Ke.children||[],Nt),ke.return=Le,Le=ke;break e}else{C(Le,ke);break}else m(Le,ke);ke=ke.sibling}ke=Is(Ke,Le.mode,Nt),ke.return=Le,Le=ke}return ie(Le)}if(typeof Ke=="string"||typeof Ke=="number")return Ke=""+Ke,ke!==null&&ke.tag===6?(C(Le,ke.sibling),ke=L(ke,Ke,Nt),ke.return=Le,Le=ke):(C(Le,ke),ke=Ps(Ke,Le.mode,Nt),ke.return=Le,Le=ke),ie(Le);if(x0(Ke))return wa(Le,ke,Ke,Nt);if(Z(Ke))return D0(Le,ke,Ke,Nt);if(Rr&&Uu(Le,Ke),typeof Ke>"u"&&!yn)switch(Le.tag){case 1:case 0:throw Le=Le.type,Error(t(152,Le.displayName||Le.name||"Component"))}return C(Le,ke)}}var B=b(!0),q=b(!1),Y={},_e={current:Y},se={current:Y},ge={current:Y};function G(y){if(y===Y)throw Error(t(174));return y}function De(y,m){Ft(ge,m,y),Ft(se,y,y),Ft(_e,Y,y),m=kt(m),Ir(_e,y),Ft(_e,m,y)}function je(y){Ir(_e,y),Ir(se,y),Ir(ge,y)}function nt(y){var m=G(ge.current),C=G(_e.current);m=Kt(C,y.type,m),C!==m&&(Ft(se,y,y),Ft(_e,m,y))}function ne(y){se.current===y&&(Ir(_e,y),Ir(se,y))}var Ne={current:0};function Je(y){for(var m=y;m!==null;){if(m.tag===13){var C=m.memoizedState;if(C!==null&&(C=C.dehydrated,C===null||hr(C)||To(C)))return m}else if(m.tag===19&&m.memoizedProps.revealOrder!==void 0){if((m.effectTag&64)!==0)return m}else if(m.child!==null){m.child.return=m,m=m.child;continue}if(m===y)break;for(;m.sibling===null;){if(m.return===null||m.return===y)return null;m=m.return}m.sibling.return=m.return,m=m.sibling}return null}function ut(y,m){return{responder:y,props:m}}var ht=O.ReactCurrentDispatcher,wt=O.ReactCurrentBatchConfig,Vt=0,bt=null,Pt=null,ln=null,jn=null,xn=null,Jn=null,nn=0,$n=null,y0=0,nr=!1,Ge=null,at=0;function ze(){throw Error(t(321))}function yt(y,m){if(m===null)return!1;for(var C=0;Cnn&&(nn=Gn,Za(nn))):(Rf(Gn,ft.suspenseConfig),K=ft.eagerReducer===y?ft.eagerState:y(K,ft.action)),ie=ft,ft=ft.next}while(ft!==null&&ft!==N);mt||(dt=ie,L=K),Se(K,m.memoizedState)||(Fo=!0),m.memoizedState=K,m.baseUpdate=dt,m.baseState=L,C.lastRenderedState=K}return[m.memoizedState,C.dispatch]}function W0(y){var m=An();return typeof y=="function"&&(y=y()),m.memoizedState=m.baseState=y,y=m.queue={last:null,dispatch:null,lastRenderedReducer:gi,lastRenderedState:y},y=y.dispatch=Nl.bind(null,bt,y),[m.memoizedState,y]}function V0(y){return i0(gi,y)}function Gi(y,m,C,N){return y={tag:y,create:m,destroy:C,deps:N,next:null},$n===null?($n={lastEffect:null},$n.lastEffect=y.next=y):(m=$n.lastEffect,m===null?$n.lastEffect=y.next=y:(C=m.next,m.next=y,y.next=C,$n.lastEffect=y)),y}function Yi(y,m,C,N){var L=An();y0|=y,L.memoizedState=Gi(m,C,void 0,N===void 0?null:N)}function gu(y,m,C,N){var L=Vn();N=N===void 0?null:N;var K=void 0;if(Pt!==null){var ie=Pt.memoizedState;if(K=ie.destroy,N!==null&&yt(N,ie.deps)){Gi(0,C,K,N);return}}y0|=y,L.memoizedState=Gi(m,C,K,N)}function Ml(y,m){return Yi(516,192,y,m)}function Cf(y,m){return gu(516,192,y,m)}function ju(y,m){if(typeof m=="function")return y=y(),m(y),function(){m(null)};if(m!=null)return y=y(),m.current=y,function(){m.current=null}}function As(){}function Oo(y,m){return An().memoizedState=[y,m===void 0?null:m],y}function ol(y,m){var C=Vn();m=m===void 0?null:m;var N=C.memoizedState;return N!==null&&m!==null&&yt(m,N[1])?N[0]:(C.memoizedState=[y,m],y)}function Nl(y,m,C){if(!(25>at))throw Error(t(301));var N=y.alternate;if(y===bt||N!==null&&N===bt)if(nr=!0,y={expirationTime:Vt,suspenseConfig:null,action:C,eagerReducer:null,eagerState:null,next:null},Ge===null&&(Ge=new Map),C=Ge.get(m),C===void 0)Ge.set(m,y);else{for(m=C;m.next!==null;)m=m.next;m.next=y}else{var L=E0(),K=il.suspense;L=On(L,y,K),K={expirationTime:L,suspenseConfig:K,action:C,eagerReducer:null,eagerState:null,next:null};var ie=m.last;if(ie===null)K.next=K;else{var dt=ie.next;dt!==null&&(K.next=dt),ie.next=K}if(m.last=K,y.expirationTime===0&&(N===null||N.expirationTime===0)&&(N=m.lastRenderedReducer,N!==null))try{var ft=m.lastRenderedState,mt=N(ft,C);if(K.eagerReducer=N,K.eagerState=mt,Se(mt,ft))return}catch{}finally{}a0(y,L)}}var Mo={readContext:Bi,useCallback:ze,useContext:ze,useEffect:ze,useImperativeHandle:ze,useLayoutEffect:ze,useMemo:ze,useReducer:ze,useRef:ze,useState:ze,useDebugValue:ze,useResponder:ze,useDeferredValue:ze,useTransition:ze},Fl={readContext:Bi,useCallback:Oo,useContext:Bi,useEffect:Ml,useImperativeHandle:function(y,m,C){return C=C!=null?C.concat([y]):null,Yi(4,36,ju.bind(null,m,y),C)},useLayoutEffect:function(y,m){return Yi(4,36,y,m)},useMemo:function(y,m){var C=An();return m=m===void 0?null:m,y=y(),C.memoizedState=[y,m],y},useReducer:function(y,m,C){var N=An();return m=C!==void 0?C(m):m,N.memoizedState=N.baseState=m,y=N.queue={last:null,dispatch:null,lastRenderedReducer:y,lastRenderedState:m},y=y.dispatch=Nl.bind(null,bt,y),[N.memoizedState,y]},useRef:function(y){var m=An();return y={current:y},m.memoizedState=y},useState:W0,useDebugValue:As,useResponder:ut,useDeferredValue:function(y,m){var C=W0(y),N=C[0],L=C[1];return Ml(function(){_.unstable_next(function(){var K=wt.suspense;wt.suspense=m===void 0?null:m;try{L(y)}finally{wt.suspense=K}})},[y,m]),N},useTransition:function(y){var m=W0(!1),C=m[0],N=m[1];return[Oo(function(L){N(!0),_.unstable_next(function(){var K=wt.suspense;wt.suspense=y===void 0?null:y;try{N(!1),L()}finally{wt.suspense=K}})},[y,C]),C]}},ul={readContext:Bi,useCallback:ol,useContext:Bi,useEffect:Cf,useImperativeHandle:function(y,m,C){return C=C!=null?C.concat([y]):null,gu(4,36,ju.bind(null,m,y),C)},useLayoutEffect:function(y,m){return gu(4,36,y,m)},useMemo:function(y,m){var C=Vn();m=m===void 0?null:m;var N=C.memoizedState;return N!==null&&m!==null&&yt(m,N[1])?N[0]:(y=y(),C.memoizedState=[y,m],y)},useReducer:i0,useRef:function(){return Vn().memoizedState},useState:V0,useDebugValue:As,useResponder:ut,useDeferredValue:function(y,m){var C=V0(y),N=C[0],L=C[1];return Cf(function(){_.unstable_next(function(){var K=wt.suspense;wt.suspense=m===void 0?null:m;try{L(y)}finally{wt.suspense=K}})},[y,m]),N},useTransition:function(y){var m=V0(!1),C=m[0],N=m[1];return[ol(function(L){N(!0),_.unstable_next(function(){var K=wt.suspense;wt.suspense=y===void 0?null:y;try{N(!1),L()}finally{wt.suspense=K}})},[y,C]),C]}},o0=null,Ki=null,kr=!1;function zu(y,m){var C=Bo(5,null,null,0);C.elementType="DELETED",C.type="DELETED",C.stateNode=m,C.return=y,C.effectTag=8,y.lastEffect!==null?(y.lastEffect.nextEffect=C,y.lastEffect=C):y.firstEffect=y.lastEffect=C}function Xo(y,m){switch(y.tag){case 5:return m=h0(m,y.type,y.pendingProps),m!==null?(y.stateNode=m,!0):!1;case 6:return m=So(m,y.pendingProps),m!==null?(y.stateNode=m,!0):!1;case 13:return!1;default:return!1}}function No(y){if(kr){var m=Ki;if(m){var C=m;if(!Xo(y,m)){if(m=Co(C),!m||!Xo(y,m)){y.effectTag=y.effectTag&-1025|2,kr=!1,o0=y;return}zu(o0,C)}o0=y,Ki=U0(m)}else y.effectTag=y.effectTag&-1025|2,kr=!1,o0=y}}function fa(y){for(y=y.return;y!==null&&y.tag!==5&&y.tag!==3&&y.tag!==13;)y=y.return;o0=y}function qu(y){if(!w||y!==o0)return!1;if(!kr)return fa(y),kr=!0,!1;var m=y.type;if(y.tag!==5||m!=="head"&&m!=="body"&&!et(m,y.memoizedProps))for(m=Ki;m;)zu(y,m),m=Co(m);if(fa(y),y.tag===13){if(!w)throw Error(t(316));if(y=y.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(t(317));Ki=Cl(y)}else Ki=o0?Co(y.stateNode):null;return!0}function Xi(){w&&(Ki=o0=null,kr=!1)}var pi=O.ReactCurrentOwner,Fo=!1;function Qr(y,m,C,N){m.child=y===null?q(m,null,C,N):B(m,y.child,C,N)}function Or(y,m,C,N,L){C=C.render;var K=m.ref;return ko(m,L),N=It(y,m,C,N,K,L),y!==null&&!Fo?(m.updateQueue=y.updateQueue,m.effectTag&=-517,y.expirationTime<=L&&(y.expirationTime=0),Ui(y,m,L)):(m.effectTag|=1,Qr(y,m,N,L),m.child)}function ks(y,m,C,N,L,K){if(y===null){var ie=C.type;return typeof ie=="function"&&!Af(ie)&&ie.defaultProps===void 0&&C.compare===null&&C.defaultProps===void 0?(m.tag=15,m.type=ie,Os(y,m,ie,N,L,K)):(y=kf(C.type,null,N,null,m.mode,K),y.ref=m.ref,y.return=m,m.child=y)}return ie=y.child,Lm)&&ui.set(y,m)))}}function Q0(y,m){y.expirationTimey?m:y)}function s0(y){if(y.lastExpiredTime!==0)y.callbackExpirationTime=1073741823,y.callbackPriority=99,y.callbackNode=la(va.bind(null,y));else{var m=po(y),C=y.callbackNode;if(m===0)C!==null&&(y.callbackNode=null,y.callbackExpirationTime=0,y.callbackPriority=90);else{var N=E0();if(m===1073741823?N=99:m===1||m===2?N=95:(N=10*(1073741821-m)-10*(1073741821-N),N=0>=N?99:250>=N?98:5250>=N?97:95),C!==null){var L=y.callbackPriority;if(y.callbackExpirationTime===m&&L>=N)return;C!==vr&&xl(C)}y.callbackExpirationTime=m,y.callbackPriority=N,m=m===1073741823?la(va.bind(null,y)):yu(N,Po.bind(null,y),{timeout:10*(1073741821-m)-T0()}),y.callbackNode=m}}}function Po(y,m){if(hi=0,m)return m=E0(),es(y,m),s0(y),null;var C=po(y);if(C!==0){if(m=y.callbackNode,(an&(Ei|Di))!==er)throw Error(t(327));if(Bl(),y===te&&C===Te||sl(y,C),J!==null){var N=an;an|=Ei;var L=Pl(y);do try{E1();break}catch(dt){ma(y,dt)}while(1);if(t0(),an=N,L0.current=L,Ee===O0)throw m=Qe,sl(y,C),Da(y,C),s0(y),m;if(J===null)switch(L=y.finishedWork=y.current.alternate,y.finishedExpirationTime=C,N=Ee,te=null,N){case Vr:case O0:throw Error(t(345));case fr:es(y,2=C){y.lastPingedTime=C,sl(y,C);break}}if(K=po(y),K!==0&&K!==C)break;if(N!==0&&N!==C){y.lastPingedTime=N;break}y.timeoutHandle=Xt(Eu.bind(null,y),L);break}Eu(y);break;case _0:if(Da(y,C),N=y.lastSuspendedTime,C===N&&(y.nextKnownPendingLevel=_c(L)),Qt&&(L=y.lastPingedTime,L===0||L>=C)){y.lastPingedTime=C,sl(y,C);break}if(L=po(y),L!==0&&L!==C)break;if(N!==0&&N!==C){y.lastPingedTime=N;break}if(Mt!==1073741823?N=10*(1073741821-Mt)-T0():rt===1073741823?N=0:(N=10*(1073741821-rt)-5e3,L=T0(),C=10*(1073741821-C)-L,N=L-N,0>N&&(N=0),N=(120>N?120:480>N?480:1080>N?1080:1920>N?1920:3e3>N?3e3:4320>N?4320:1960*Ms(N/1960))-N,C=N?N=0:(L=ie.busyDelayMs|0,K=T0()-(10*(1073741821-K)-(ie.timeoutMs|0||5e3)),N=K<=L?0:L+N-K),10 component higher in the tree to provide a loading indicator or placeholder to display.`+or(L))}Ee!==M0&&(Ee=fr),K=_u(K,L),ft=N;do{switch(ft.tag){case 3:ie=K,ft.effectTag|=4096,ft.expirationTime=m;var ke=al(ft,ie,m);xs(ft,ke);break e;case 1:ie=K;var Ke=ft.type,Nt=ft.stateNode;if((ft.effectTag&64)===0&&(typeof Ke.getDerivedStateFromError=="function"||Nt!==null&&typeof Nt.componentDidCatch=="function"&&(zn===null||!zn.has(Nt)))){ft.effectTag|=4096,ft.expirationTime=m;var yn=ha(ft,ie,m);xs(ft,yn);break e}}ft=ft.return}while(ft!==null)}J=Il(J)}catch(Rr){m=Rr;continue}break}while(1)}function Pl(){var y=L0.current;return L0.current=Mo,y===null?Mo:y}function Rf(y,m){yJt&&(Jt=y)}function ld(){for(;J!==null;)J=D1(J)}function E1(){for(;J!==null&&!Tn();)J=D1(J)}function D1(y){var m=$a(y.alternate,y,Te);return y.memoizedProps=y.pendingProps,m===null&&(m=Il(y)),Qa.current=null,m}function Il(y){J=y;do{var m=J.alternate;if(y=J.return,(J.effectTag&2048)===0){e:{var C=m;m=J;var N=Te,L=m.pendingProps;switch(m.tag){case 2:break;case 16:break;case 15:case 0:break;case 1:di(m.type)&&z0(m);break;case 3:je(m),ti(m),L=m.stateNode,L.pendingContext&&(L.context=L.pendingContext,L.pendingContext=null),(C===null||C.child===null)&&qu(m)&&u0(m),wr(m);break;case 5:ne(m);var K=G(ge.current);if(N=m.type,C!==null&&m.stateNode!=null)Qi(C,m,N,L,K),C.ref!==m.ref&&(m.effectTag|=128);else if(L){if(C=G(_e.current),qu(m)){if(L=m,!w)throw Error(t(175));C=xi(L.stateNode,L.type,L.memoizedProps,K,C,L),L.updateQueue=C,C=C!==null,C&&u0(m)}else{var ie=oe(N,L,K,C,m);_i(ie,m,!1,!1),m.stateNode=ie,ee(ie,N,L,K,C)&&u0(m)}m.ref!==null&&(m.effectTag|=128)}else if(m.stateNode===null)throw Error(t(166));break;case 6:if(C&&m.stateNode!=null)dn(C,m,C.memoizedProps,L);else{if(typeof L!="string"&&m.stateNode===null)throw Error(t(166));if(C=G(ge.current),K=G(_e.current),qu(m)){if(C=m,!w)throw Error(t(176));(C=Wr(C.stateNode,C.memoizedProps,C))&&u0(m)}else m.stateNode=Lt(L,C,K,m)}break;case 11:break;case 13:if(Ir(Ne,m),L=m.memoizedState,(m.effectTag&64)!==0){m.expirationTime=N;break e}L=L!==null,K=!1,C===null?m.memoizedProps.fallback!==void 0&&qu(m):(N=C.memoizedState,K=N!==null,L||N===null||(N=C.child.sibling,N!==null&&(ie=m.firstEffect,ie!==null?(m.firstEffect=N,N.nextEffect=ie):(m.firstEffect=m.lastEffect=N,N.nextEffect=null),N.effectTag=8))),L&&!K&&(m.mode&2)!==0&&(C===null&&m.memoizedProps.unstable_avoidThisFallback!==!0||(Ne.current&1)!==0?Ee===Vr&&(Ee=l0):((Ee===Vr||Ee===l0)&&(Ee=_0),Jt!==0&&te!==null&&(Da(te,Te),C1(te,Jt)))),Wn&&L&&(m.effectTag|=4),Ot&&(L||K)&&(m.effectTag|=4);break;case 7:break;case 8:break;case 12:break;case 4:je(m),wr(m);break;case 10:Ii(m);break;case 9:break;case 14:break;case 17:di(m.type)&&z0(m);break;case 19:if(Ir(Ne,m),L=m.memoizedState,L===null)break;if(K=(m.effectTag&64)!==0,ie=L.rendering,ie===null){if(K)g0(L,!1);else if(Ee!==Vr||C!==null&&(C.effectTag&64)!==0)for(C=m.child;C!==null;){if(ie=Je(C),ie!==null){for(m.effectTag|=64,g0(L,!1),C=ie.updateQueue,C!==null&&(m.updateQueue=C,m.effectTag|=4),L.lastEffect===null&&(m.firstEffect=null),m.lastEffect=L.lastEffect,C=N,L=m.child;L!==null;)K=L,N=C,K.effectTag&=2,K.nextEffect=null,K.firstEffect=null,K.lastEffect=null,ie=K.alternate,ie===null?(K.childExpirationTime=0,K.expirationTime=N,K.child=null,K.memoizedProps=null,K.memoizedState=null,K.updateQueue=null,K.dependencies=null):(K.childExpirationTime=ie.childExpirationTime,K.expirationTime=ie.expirationTime,K.child=ie.child,K.memoizedProps=ie.memoizedProps,K.memoizedState=ie.memoizedState,K.updateQueue=ie.updateQueue,N=ie.dependencies,K.dependencies=N===null?null:{expirationTime:N.expirationTime,firstContext:N.firstContext,responders:N.responders}),L=L.sibling;Ft(Ne,Ne.current&1|2,m),m=m.child;break e}C=C.sibling}}else{if(!K)if(C=Je(ie),C!==null){if(m.effectTag|=64,K=!0,C=C.updateQueue,C!==null&&(m.updateQueue=C,m.effectTag|=4),g0(L,!0),L.tail===null&&L.tailMode==="hidden"&&!ie.alternate){m=m.lastEffect=L.lastEffect,m!==null&&(m.nextEffect=null);break}}else T0()>L.tailExpiration&&1L&&(L=N),ie>L&&(L=ie),K=K.sibling;C.childExpirationTime=L}if(m!==null)return m;y!==null&&(y.effectTag&2048)===0&&(y.firstEffect===null&&(y.firstEffect=J.firstEffect),J.lastEffect!==null&&(y.lastEffect!==null&&(y.lastEffect.nextEffect=J.firstEffect),y.lastEffect=J.lastEffect),1y?m:y}function Eu(y){var m=Rl();return oo(99,w1.bind(null,y,m)),null}function w1(y,m){do Bl();while(qr!==null);if((an&(Ei|Di))!==er)throw Error(t(327));var C=y.finishedWork,N=y.finishedExpirationTime;if(C===null)return null;if(y.finishedWork=null,y.finishedExpirationTime=0,C===y.current)throw Error(t(177));y.callbackNode=null,y.callbackExpirationTime=0,y.callbackPriority=90,y.nextKnownPendingLevel=0;var L=_c(C);if(y.firstPendingTime=L,N<=y.lastSuspendedTime?y.firstSuspendedTime=y.lastSuspendedTime=y.nextKnownPendingLevel=0:N<=y.firstSuspendedTime&&(y.firstSuspendedTime=N-1),N<=y.lastPingedTime&&(y.lastPingedTime=0),N<=y.lastExpiredTime&&(y.lastExpiredTime=0),y===te&&(J=te=null,Te=0),1=C?ur(y,m,C):(Ft(Ne,Ne.current&1,m),m=Ui(y,m,C),m!==null?m.sibling:null);Ft(Ne,Ne.current&1,m);break;case 19:if(N=m.childExpirationTime>=C,(y.effectTag&64)!==0){if(N)return zr(y,m,C);m.effectTag|=64}if(L=m.memoizedState,L!==null&&(L.rendering=null,L.tail=null),Ft(Ne,Ne.current,m),!N)return null}return Ui(y,m,C)}Fo=!1}}else Fo=!1;switch(m.expirationTime=0,m.tag){case 2:if(N=m.type,y!==null&&(y.alternate=null,m.alternate=null,m.effectTag|=2),y=m.pendingProps,L=Li(m,Br.current),ko(m,C),L=It(null,m,N,y,L,C),m.effectTag|=1,typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0){if(m.tag=1,Gt(),di(N)){var K=!0;Dr(m)}else K=!1;m.memoizedState=L.state!==null&&L.state!==void 0?L.state:null;var ie=N.getDerivedStateFromProps;typeof ie=="function"&&Bu(m,N,ie,y),L.updater=sa,m.stateNode=L,L._reactInternalFiber=m,kl(m,N,y,C),m=Jo(null,m,N,!0,K,C)}else m.tag=0,Qr(null,m,L,C),m=m.child;return m;case 16:if(L=m.elementType,y!==null&&(y.alternate=null,m.alternate=null,m.effectTag|=2),y=m.pendingProps,Ae(L),L._status!==1)throw L._result;switch(L=L._result,m.type=L,K=m.tag=$o(L),y=Cn(L,y),K){case 0:m=Ll(null,m,L,y,C);break;case 1:m=Qo(null,m,L,y,C);break;case 11:m=Or(null,m,L,y,C);break;case 14:m=ks(null,m,L,Cn(L.type,y),N,C);break;default:throw Error(t(306,L,""))}return m;case 0:return N=m.type,L=m.pendingProps,L=m.elementType===N?L:Cn(N,L),Ll(y,m,N,L,C);case 1:return N=m.type,L=m.pendingProps,L=m.elementType===N?L:Cn(N,L),Qo(y,m,N,L,C);case 3:if(Zo(m),N=m.updateQueue,N===null)throw Error(t(282));if(L=m.memoizedState,L=L!==null?L.element:null,C0(m,N,m.pendingProps,null,C),N=m.memoizedState.element,N===L)Xi(),m=Ui(y,m,C);else{if((L=m.stateNode.hydrate)&&(w?(Ki=U0(m.stateNode.containerInfo),o0=m,L=kr=!0):L=!1),L)for(C=q(m,null,N,C),m.child=C;C;)C.effectTag=C.effectTag&-3|1024,C=C.sibling;else Qr(y,m,N,C),Xi();m=m.child}return m;case 5:return nt(m),y===null&&No(m),N=m.type,L=m.pendingProps,K=y!==null?y.memoizedProps:null,ie=L.children,et(N,L)?ie=null:K!==null&&et(N,K)&&(m.effectTag|=16),G0(y,m),m.mode&4&&C!==1&&ct(N,L)?(m.expirationTime=m.childExpirationTime=1,m=null):(Qr(y,m,ie,C),m=m.child),m;case 6:return y===null&&No(m),null;case 13:return ur(y,m,C);case 4:return De(m,m.stateNode.containerInfo),N=m.pendingProps,y===null?m.child=B(m,null,N,C):Qr(y,m,N,C),m.child;case 11:return N=m.type,L=m.pendingProps,L=m.elementType===N?L:Cn(N,L),Or(y,m,N,L,C);case 7:return Qr(y,m,m.pendingProps,C),m.child;case 8:return Qr(y,m,m.pendingProps.children,C),m.child;case 12:return Qr(y,m,m.pendingProps.children,C),m.child;case 10:e:{if(N=m.type._context,L=m.pendingProps,ie=m.memoizedProps,K=L.value,n0(m,K),ie!==null){var dt=ie.value;if(K=Se(dt,K)?0:(typeof N._calculateChangedBits=="function"?N._calculateChangedBits(dt,K):1073741823)|0,K===0){if(ie.children===L.children&&!Tr.current){m=Ui(y,m,C);break e}}else for(dt=m.child,dt!==null&&(dt.return=m);dt!==null;){var ft=dt.dependencies;if(ft!==null){ie=dt.child;for(var mt=ft.firstContext;mt!==null;){if(mt.context===N&&(mt.observedBits&K)!==0){dt.tag===1&&(mt=m0(C,null),mt.tag=2,H0(dt,mt)),dt.expirationTime"u")return!1;var m=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(m.isDisabled||!m.supportsFiber)return!0;try{var C=m.inject(y);ya=function(N){try{m.onCommitFiberRoot(C,N,void 0,(N.current.effectTag&64)===64)}catch{}},ga=function(N){try{m.onCommitFiberUnmount(C,N)}catch{}}}catch{}return!0}function Ea(y,m,C,N){this.tag=y,this.key=C,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=m,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=N,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Bo(y,m,C,N){return new Ea(y,m,C,N)}function Af(y){return y=y.prototype,!(!y||!y.isReactComponent)}function $o(y){if(typeof y=="function")return Af(y)?1:0;if(y!=null){if(y=y.$$typeof,y===ye)return 11;if(y===Me)return 14}return 2}function eu(y,m){var C=y.alternate;return C===null?(C=Bo(y.tag,m,y.key,y.mode),C.elementType=y.elementType,C.type=y.type,C.stateNode=y.stateNode,C.alternate=y,y.alternate=C):(C.pendingProps=m,C.effectTag=0,C.nextEffect=null,C.firstEffect=null,C.lastEffect=null),C.childExpirationTime=y.childExpirationTime,C.expirationTime=y.expirationTime,C.child=y.child,C.memoizedProps=y.memoizedProps,C.memoizedState=y.memoizedState,C.updateQueue=y.updateQueue,m=y.dependencies,C.dependencies=m===null?null:{expirationTime:m.expirationTime,firstContext:m.firstContext,responders:m.responders},C.sibling=y.sibling,C.index=y.index,C.ref=y.ref,C}function kf(y,m,C,N,L,K){var ie=2;if(N=y,typeof y=="function")Af(y)&&(ie=1);else if(typeof y=="string")ie=5;else e:switch(y){case P:return Uo(C.children,L,K,m);case de:ie=8,L|=7;break;case U:ie=8,L|=1;break;case z:return y=Bo(12,C,m,L|8),y.elementType=z,y.type=z,y.expirationTime=K,y;case le:return y=Bo(13,C,m,L),y.type=le,y.elementType=le,y.expirationTime=K,y;case ae:return y=Bo(19,C,m,L),y.elementType=ae,y.expirationTime=K,y;default:if(typeof y=="object"&&y!==null)switch(y.$$typeof){case Q:ie=10;break e;case v:ie=9;break e;case ye:ie=11;break e;case Me:ie=14;break e;case fe:ie=16,N=null;break e}throw Error(t(130,y==null?y:typeof y,""))}return m=Bo(ie,C,m,L),m.elementType=y,m.type=N,m.expirationTime=K,m}function Uo(y,m,C,N){return y=Bo(7,y,N,m),y.expirationTime=C,y}function Ps(y,m,C){return y=Bo(6,y,null,m),y.expirationTime=C,y}function Is(y,m,C){return m=Bo(4,y.children!==null?y.children:[],y.key,m),m.expirationTime=C,m.stateNode={containerInfo:y.containerInfo,pendingChildren:null,implementation:y.implementation},m}function T1(y,m,C){this.tag=m,this.current=null,this.containerInfo=y,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=Nn,this.pendingContext=this.context=null,this.hydrate=C,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Ec(y,m){var C=y.firstSuspendedTime;return y=y.lastSuspendedTime,C!==0&&C>=m&&y<=m}function Da(y,m){var C=y.firstSuspendedTime,N=y.lastSuspendedTime;Cm||C===0)&&(y.lastSuspendedTime=m),m<=y.lastPingedTime&&(y.lastPingedTime=0),m<=y.lastExpiredTime&&(y.lastExpiredTime=0)}function C1(y,m){m>y.firstPendingTime&&(y.firstPendingTime=m);var C=y.firstSuspendedTime;C!==0&&(m>=C?y.firstSuspendedTime=y.lastSuspendedTime=y.nextKnownPendingLevel=0:m>=y.lastSuspendedTime&&(y.lastSuspendedTime=m+1),m>y.nextKnownPendingLevel&&(y.nextKnownPendingLevel=m))}function es(y,m){var C=y.lastExpiredTime;(C===0||C>m)&&(y.lastExpiredTime=m)}function x1(y){var m=y._reactInternalFiber;if(m===void 0)throw typeof y.render=="function"?Error(t(188)):Error(t(268,Object.keys(y)));return y=qe(m),y===null?null:y.stateNode}function Of(y,m){y=y.memoizedState,y!==null&&y.dehydrated!==null&&y.retryTime{"use strict";Object.defineProperty(Ba,"__esModule",{value:!0});var xX=0;Ba.__interactionsRef=null;Ba.__subscriberRef=null;Ba.unstable_clear=function(u){return u()};Ba.unstable_getCurrent=function(){return null};Ba.unstable_getThreadID=function(){return++xX};Ba.unstable_trace=function(u,l,c){return c()};Ba.unstable_wrap=function(u){return u};Ba.unstable_subscribe=function(){};Ba.unstable_unsubscribe=function(){}});var H9=re(ci=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";Object.defineProperty(ci,"__esModule",{value:!0});var u=!0,l=0,c=0,p=0;ci.__interactionsRef=null,ci.__subscriberRef=null,u&&(ci.__interactionsRef={current:new Set},ci.__subscriberRef={current:null});function _(ae){if(!u)return ae();var Me=ci.__interactionsRef.current;ci.__interactionsRef.current=new Set;try{return ae()}finally{ci.__interactionsRef.current=Me}}function t(){return u?ci.__interactionsRef.current:null}function O(){return++p}function M(ae,Me,fe){var pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:l;if(!u)return fe();var Z={__count:1,id:c++,name:ae,timestamp:Me},Ae=ci.__interactionsRef.current,Fe=new Set(Ae);Fe.add(Z),ci.__interactionsRef.current=Fe;var He=ci.__subscriberRef.current,ot;try{He!==null&&He.onInteractionTraced(Z)}finally{try{He!==null&&He.onWorkStarted(Fe,pe)}finally{try{ot=fe()}finally{ci.__interactionsRef.current=Ae;try{He!==null&&He.onWorkStopped(Fe,pe)}finally{Z.__count--,He!==null&&Z.__count===0&&He.onInteractionScheduledWorkCompleted(Z)}}}}return ot}function A(ae){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l;if(!u)return ae;var fe=ci.__interactionsRef.current,pe=ci.__subscriberRef.current;pe!==null&&pe.onWorkScheduled(fe,Me),fe.forEach(function(Fe){Fe.__count++});var Z=!1;function Ae(){var Fe=ci.__interactionsRef.current;ci.__interactionsRef.current=fe,pe=ci.__subscriberRef.current;try{var He;try{pe!==null&&pe.onWorkStarted(fe,Me)}finally{try{He=ae.apply(void 0,arguments)}finally{ci.__interactionsRef.current=Fe,pe!==null&&pe.onWorkStopped(fe,Me)}}return He}finally{Z||(Z=!0,fe.forEach(function(ot){ot.__count--,pe!==null&&ot.__count===0&&pe.onInteractionScheduledWorkCompleted(ot)}))}}return Ae.cancel=function(){pe=ci.__subscriberRef.current;try{pe!==null&&pe.onWorkCanceled(fe,Me)}finally{fe.forEach(function(He){He.__count--,pe&&He.__count===0&&pe.onInteractionScheduledWorkCompleted(He)})}},Ae}var T=null;u&&(T=new Set);function P(ae){u&&(T.add(ae),T.size===1&&(ci.__subscriberRef.current={onInteractionScheduledWorkCompleted:Q,onInteractionTraced:z,onWorkCanceled:le,onWorkScheduled:v,onWorkStarted:de,onWorkStopped:ye}))}function U(ae){u&&(T.delete(ae),T.size===0&&(ci.__subscriberRef.current=null))}function z(ae){var Me=!1,fe=null;if(T.forEach(function(pe){try{pe.onInteractionTraced(ae)}catch(Z){Me||(Me=!0,fe=Z)}}),Me)throw fe}function Q(ae){var Me=!1,fe=null;if(T.forEach(function(pe){try{pe.onInteractionScheduledWorkCompleted(ae)}catch(Z){Me||(Me=!0,fe=Z)}}),Me)throw fe}function v(ae,Me){var fe=!1,pe=null;if(T.forEach(function(Z){try{Z.onWorkScheduled(ae,Me)}catch(Ae){fe||(fe=!0,pe=Ae)}}),fe)throw pe}function de(ae,Me){var fe=!1,pe=null;if(T.forEach(function(Z){try{Z.onWorkStarted(ae,Me)}catch(Ae){fe||(fe=!0,pe=Ae)}}),fe)throw pe}function ye(ae,Me){var fe=!1,pe=null;if(T.forEach(function(Z){try{Z.onWorkStopped(ae,Me)}catch(Ae){fe||(fe=!0,pe=Ae)}}),fe)throw pe}function le(ae,Me){var fe=!1,pe=null;if(T.forEach(function(Z){try{Z.onWorkCanceled(ae,Me)}catch(Ae){fe||(fe=!0,pe=Ae)}}),fe)throw pe}ci.unstable_clear=_,ci.unstable_getCurrent=t,ci.unstable_getThreadID=O,ci.unstable_trace=M,ci.unstable_wrap=A,ci.unstable_subscribe=P,ci.unstable_unsubscribe=U}()});var W9=re((Ere,p3)=>{"use strict";process.env.NODE_ENV==="production"?p3.exports=q9():p3.exports=H9()});var V9=re((Dre,Mh)=>{"use strict";process.env.NODE_ENV!=="production"&&(Mh.exports=function u(l){"use strict";var c=Eh(),p=fi(),_=GD(),t=dg(),O=W9(),M=0,A=1,T=2,P=3,U=4,z=5,Q=6,v=7,de=8,ye=9,le=10,ae=11,Me=12,fe=13,pe=14,Z=15,Ae=16,Fe=17,He=18,ot=19,st=20,qe=21,Xe=function(){};Xe=function(f,d){for(var g=arguments.length,S=new Array(g>2?g-2:0),x=2;x8)throw new Error("warningWithoutStack() currently supports at most 8 arguments.");if(!f){if(typeof console<"u"){var I=S.map(function($){return""+$});I.unshift("Warning: "+d),Function.prototype.apply.call(console.error,console,I)}try{var j=0,X="Warning: "+d.replace(/%s/g,function(){return S[j++]});throw new Error(X)}catch{}}};var Ie=Xe;function kt(f){return f._reactInternalFiber}function Kt(f,d){f._reactInternalFiber=d}var Ye=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ye.hasOwnProperty("ReactCurrentDispatcher")||(Ye.ReactCurrentDispatcher={current:null}),Ye.hasOwnProperty("ReactCurrentBatchConfig")||(Ye.ReactCurrentBatchConfig={suspense:null});var V=typeof Symbol=="function"&&Symbol.for,oe=V?Symbol.for("react.element"):60103,ve=V?Symbol.for("react.portal"):60106,ee=V?Symbol.for("react.fragment"):60107,Oe=V?Symbol.for("react.strict_mode"):60108,et=V?Symbol.for("react.profiler"):60114,ct=V?Symbol.for("react.provider"):60109,Lt=V?Symbol.for("react.context"):60110,Xt=V?Symbol.for("react.concurrent_mode"):60111,pn=V?Symbol.for("react.forward_ref"):60112,Nn=V?Symbol.for("react.suspense"):60113,Wt=V?Symbol.for("react.suspense_list"):60120,Ot=V?Symbol.for("react.memo"):60115,Wn=V?Symbol.for("react.lazy"):60116,w=V?Symbol.for("react.fundamental"):60117,Ct=V?Symbol.for("react.responder"):60118,wn=V?Symbol.for("react.scope"):60119,ir=typeof Symbol=="function"&&Symbol.iterator,sr="@@iterator";function Ln(f){if(f===null||typeof f!="object")return null;var d=ir&&f[ir]||f[sr];return typeof d=="function"?d:null}var Er=Ie;Er=function(f,d){if(!f){for(var g=Ye.ReactDebugCurrentFrame,S=g.getStackAddendum(),x=arguments.length,I=new Array(x>2?x-2:0),j=2;j import('./MyComponent'))`,S),f._status=Do,f._result=x}},function(S){f._status===B0&&(f._status=wl,f._result=S)})}}function ua(f,d,g){var S=d.displayName||d.name||"";return f.displayName||(S!==""?g+"("+S+")":g)}function Rt(f){if(f==null)return null;if(typeof f.tag=="number"&&Ie(!1,"Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case ee:return"Fragment";case ve:return"Portal";case et:return"Profiler";case Oe:return"StrictMode";case Nn:return"Suspense";case Wt:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case Lt:return"Context.Consumer";case ct:return"Context.Provider";case pn:return ua(f,f.render,"ForwardRef");case Ot:return Rt(f.type);case Wn:{var d=f,g=Sl(d);if(g)return Rt(g);break}}return null}var Kr=0,Ai=1,br=2,Xn=4,Fu=6,wo=8,h0=16,So=32,hr=64,To=128,Co=256,U0=512,xi=1024,Wr=1028,Cl=932,Lu=2047,F0=2048,S0=4096,or=!0,Pr=!0,j0=!0,Ir=!0,Ft=!0,hn=!0,Br=!1,Tr=!1,xt=!1,Li=!1,di=!1,z0=!0,ti=!1,bu=!1,Ko=!1,Dr=!1,ro=!1,Pu=Ye.ReactCurrentOwner;function xo(f){var d=f,g=f;if(f.alternate)for(;d.return;)d=d.return;else{var S=d;do d=S,(d.effectTag&(br|xi))!==Kr&&(g=d.return),S=d.return;while(S)}return d.tag===P?g:null}function xl(f){return xo(f)===f}function Tn(f){{var d=Pu.current;if(d!==null&&d.tag===A){var g=d,S=g.stateNode;S._warnedAboutRefsInRender||Ie(!1,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Rt(g.type)||"A component"),S._warnedAboutRefsInRender=!0}}var x=kt(f);return x?xo(x)===x:!1}function tl(f){if(xo(f)!==f)throw Error("Unable to find node on an unmounted component.")}function io(f){var d=f.alternate;if(!d){var g=xo(f);if(g===null)throw Error("Unable to find node on an unmounted component.");return g!==f?null:f}for(var S=f,x=d;;){var I=S.return;if(I===null)break;var j=I.alternate;if(j===null){var X=I.return;if(X!==null){S=x=X;continue}break}if(I.child===j.child){for(var $=I.child;$;){if($===S)return tl(I),f;if($===x)return tl(I),d;$=$.sibling}throw Error("Unable to find node on an unmounted component.")}if(S.return!==x.return)S=I,x=j;else{for(var Re=!1,Pe=I.child;Pe;){if(Pe===S){Re=!0,S=I,x=j;break}if(Pe===x){Re=!0,x=I,S=j;break}Pe=Pe.sibling}if(!Re){for(Pe=j.child;Pe;){if(Pe===S){Re=!0,S=j,x=I;break}if(Pe===x){Re=!0,x=j,S=I;break}Pe=Pe.sibling}if(!Re)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(S.alternate!==x)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(S.tag!==P)throw Error("Unable to find node on an unmounted component.");return S.stateNode.current===S?f:d}function Ro(f){var d=io(f);if(!d)return null;for(var g=d;;){if(g.tag===z||g.tag===Q)return g;if(g.child){g.child.return=g,g=g.child;continue}if(g===d)return null;for(;!g.sibling;){if(!g.return||g.return===d)return null;g=g.return}g.sibling.return=g.return,g=g.sibling}return null}function mu(f){var d=io(f);if(!d)return null;for(var g=d;;){if(g.tag===z||g.tag===Q||xt&&g.tag===st)return g;if(g.child&&g.tag!==U){g.child.return=g,g=g.child;continue}if(g===d)return null;for(;!g.sibling;){if(!g.return||g.return===d)return null;g=g.return}g.sibling.return=g.return,g=g.sibling}return null}var Ao=l.getPublicInstance,it=l.getRootHostContext,Dt=l.getChildHostContext,mn=l.prepareForCommit,vr=l.resetAfterCommit,ni=l.createInstance,mr=l.appendInitialChild,bi=l.finalizeInitialChildren,v0=l.prepareUpdate,Xr=l.shouldSetTextContent,T0=l.shouldDeprioritizeSubtree,Rl=l.createTextInstance,lt=l.setTimeout,oo=l.clearTimeout,yu=l.noTimeout,la=l.now,e0=l.isPrimaryRenderer,nl=l.warnsIfNotActing,q0=l.supportsMutation,W=l.supportsPersistence,he=l.supportsHydration,Se=l.mountResponderInstance,we=l.unmountResponderInstance,tt=l.getFundamentalComponentInstance,Cn=l.mountFundamentalComponent,cn=l.shouldUpdateFundamentalComponent,In=l.getInstanceFromNode,Ur=l.appendChild,Pi=l.appendChildToContainer,t0=l.commitTextUpdate,n0=l.commitMount,Ii=l.commitUpdate,jr=l.insertBefore,ko=l.insertInContainerBefore,Bi=l.removeChild,uo=l.removeChildFromContainer,r0=l.resetTextContent,Ga=l.hideInstance,m0=l.hideTextInstance,aa=l.unhideInstance,H0=l.unhideTextInstance,xs=l.updateFundamentalComponent,Ya=l.unmountFundamentalComponent,rl=l.cloneInstance,C0=l.createContainerChildSet,Sn=l.appendChildToContainerChildSet,Tf=l.finalizeContainerChildren,il=l.replaceContainerChildren,Iu=l.cloneHiddenInstance,Bu=l.cloneHiddenTextInstance,sa=l.cloneInstance,Rs=l.canHydrateInstance,Al=l.canHydrateTextInstance,Ka=l.canHydrateSuspenseInstance,kl=l.isSuspenseInstancePending,x0=l.isSuspenseInstanceFallback,Ol=l.registerSuspenseInstanceRetry,Uu=l.getNextHydratableSibling,b=l.getFirstHydratableChild,B=l.hydrateInstance,q=l.hydrateTextInstance,Y=l.hydrateSuspenseInstance,_e=l.getNextHydratableInstanceAfterSuspenseInstance,se=l.commitHydratedContainer,ge=l.commitHydratedSuspenseInstance,G=l.clearSuspenseBoundary,De=l.clearSuspenseBoundaryFromContainer,je=l.didNotMatchHydratedContainerTextInstance,nt=l.didNotMatchHydratedTextInstance,ne=l.didNotHydrateContainerInstance,Ne=l.didNotHydrateInstance,Je=l.didNotFindHydratableContainerInstance,ut=l.didNotFindHydratableContainerTextInstance,ht=l.didNotFindHydratableContainerSuspenseInstance,wt=l.didNotFindHydratableInstance,Vt=l.didNotFindHydratableTextInstance,bt=l.didNotFindHydratableSuspenseInstance,Pt=/^(.*)[\\\/]/,ln=function(f,d,g){var S="";if(d){var x=d.fileName,I=x.replace(Pt,"");if(/^index\./.test(I)){var j=x.match(Pt);if(j){var X=j[1];if(X){var $=X.replace(Pt,"");I=$+"/"+I}}}S=" (at "+I+":"+d.lineNumber+")"}else g&&(S=" (created by "+g+")");return` + in `+(f||"Unknown")+S},jn=Ye.ReactDebugCurrentFrame;function xn(f){switch(f.tag){case P:case U:case Q:case v:case le:case ye:return"";default:var d=f._debugOwner,g=f._debugSource,S=Rt(f.type),x=null;return d&&(x=Rt(d.type)),ln(S,g,x)}}function Jn(f){var d="",g=f;do d+=xn(g),g=g.return;while(g);return d}var nn=null,$n=null;function y0(){{if(nn===null)return null;var f=nn._debugOwner;if(f!==null&&typeof f<"u")return Rt(f.type)}return null}function nr(){return nn===null?"":Jn(nn)}function Ge(){jn.getCurrentStack=null,nn=null,$n=null}function at(f){jn.getCurrentStack=nr,nn=f,$n=null}function ze(f){$n=f}var yt="\u269B",It="\u26D4",Gt=typeof performance<"u"&&typeof performance.mark=="function"&&typeof performance.clearMarks=="function"&&typeof performance.measure=="function"&&typeof performance.clearMeasures=="function",An=null,Vn=null,gi=null,i0=!1,W0=!1,V0=!1,Gi=0,Yi=0,gu=new Set,Ml=function(f){return yt+" "+f},Cf=function(f,d){var g=d?It+" ":yt+" ",S=d?" Warning: "+d:"";return""+g+f+S},ju=function(f){performance.mark(Ml(f))},As=function(f){performance.clearMarks(Ml(f))},Oo=function(f,d,g){var S=Ml(d),x=Cf(f,g);try{performance.measure(x,S)}catch{}performance.clearMarks(S),performance.clearMeasures(x)},ol=function(f,d){return f+" (#"+d+")"},Nl=function(f,d,g){return g===null?f+" ["+(d?"update":"mount")+"]":f+"."+g},Mo=function(f,d){var g=Rt(f.type)||"Unknown",S=f._debugID,x=f.alternate!==null,I=Nl(g,x,d);if(i0&&gu.has(I))return!1;gu.add(I);var j=ol(I,S);return ju(j),!0},Fl=function(f,d){var g=Rt(f.type)||"Unknown",S=f._debugID,x=f.alternate!==null,I=Nl(g,x,d),j=ol(I,S);As(j)},ul=function(f,d,g){var S=Rt(f.type)||"Unknown",x=f._debugID,I=f.alternate!==null,j=Nl(S,I,d),X=ol(j,x);Oo(j,X,g)},o0=function(f){switch(f.tag){case P:case z:case Q:case U:case v:case le:case ye:case de:return!0;default:return!1}},Ki=function(){Vn!==null&&gi!==null&&Fl(gi,Vn),gi=null,Vn=null,V0=!1},kr=function(){for(var f=An;f;)f._debugIsCurrentlyTiming&&ul(f,null,null),f=f.return},zu=function(f){f.return!==null&&zu(f.return),f._debugIsCurrentlyTiming&&Mo(f,null)},Xo=function(){An!==null&&zu(An)};function No(){or&&Yi++}function fa(){or&&(i0&&(W0=!0),Vn!==null&&Vn!=="componentWillMount"&&Vn!=="componentWillReceiveProps"&&(V0=!0))}function qu(f){if(or){if(!Gt||o0(f)||(An=f,!Mo(f,null)))return;f._debugIsCurrentlyTiming=!0}}function Xi(f){if(or){if(!Gt||o0(f))return;f._debugIsCurrentlyTiming=!1,Fl(f,null)}}function pi(f){if(or){if(!Gt||o0(f)||(An=f.return,!f._debugIsCurrentlyTiming))return;f._debugIsCurrentlyTiming=!1,ul(f,null,null)}}function Fo(f){if(or){if(!Gt||o0(f)||(An=f.return,!f._debugIsCurrentlyTiming))return;f._debugIsCurrentlyTiming=!1;var d=f.tag===fe?"Rendering was suspended":"An error was thrown inside this error boundary";ul(f,null,d)}}function Qr(f,d){if(or){if(!Gt||(Ki(),!Mo(f,d)))return;gi=f,Vn=d}}function Or(){if(or){if(!Gt)return;if(Vn!==null&&gi!==null){var f=V0?"Scheduled a cascading update":null;ul(gi,Vn,f)}Vn=null,gi=null}}function ks(f){if(or){if(An=f,!Gt)return;Gi=0,ju("(React Tree Reconciliation)"),Xo()}}function Os(f,d){if(or){if(!Gt)return;var g=null;if(f!==null)if(f.tag===P)g="A top-level update interrupted the previous render";else{var S=Rt(f.type)||"Unknown";g="An update to "+S+" interrupted the previous render"}else Gi>1&&(g="There were cascading updates");Gi=0;var x=d?"(React Tree Reconciliation: Completed Root)":"(React Tree Reconciliation: Yielded)";kr(),Oo(x,"(React Tree Reconciliation)",g)}}function G0(){if(or){if(!Gt)return;i0=!0,W0=!1,gu.clear(),ju("(Committing Changes)")}}function Ll(){if(or){if(!Gt)return;var f=null;W0?f="Lifecycle hook scheduled a cascading update":Gi>0&&(f="Caused by a cascading update in earlier commit"),W0=!1,Gi++,i0=!1,gu.clear(),Oo("(Committing Changes)","(Committing Changes)",f)}}function Qo(){if(or){if(!Gt)return;Yi=0,ju("(Committing Snapshot Effects)")}}function Jo(){if(or){if(!Gt)return;var f=Yi;Yi=0,Oo("(Committing Snapshot Effects: "+f+" Total)","(Committing Snapshot Effects)",null)}}function Zo(){if(or){if(!Gt)return;Yi=0,ju("(Committing Host Effects)")}}function Y0(){if(or){if(!Gt)return;var f=Yi;Yi=0,Oo("(Committing Host Effects: "+f+" Total)","(Committing Host Effects)",null)}}function ur(){if(or){if(!Gt)return;Yi=0,ju("(Calling Lifecycle Methods)")}}function R0(){if(or){if(!Gt)return;var f=Yi;Yi=0,Oo("(Calling Lifecycle Methods: "+f+" Total)","(Calling Lifecycle Methods)",null)}}var lo=[],zr;zr=[];var Ui=-1;function u0(f){return{current:f}}function _i(f,d){if(Ui<0){Ie(!1,"Unexpected pop.");return}d!==zr[Ui]&&Ie(!1,"Unexpected Fiber popped."),f.current=lo[Ui],lo[Ui]=null,zr[Ui]=null,Ui--}function wr(f,d,g){Ui++,lo[Ui]=f.current,zr[Ui]=g,f.current=d}var Qi;Qi={};var dn={};Object.freeze(dn);var ao=u0(dn),g0=u0(!1),Xa=dn;function _u(f,d,g){return Dr?dn:g&&ri(d)?Xa:ao.current}function ca(f,d,g){if(!Dr){var S=f.stateNode;S.__reactInternalMemoizedUnmaskedChildContext=d,S.__reactInternalMemoizedMaskedChildContext=g}}function A0(f,d){if(Dr)return dn;var g=f.type,S=g.contextTypes;if(!S)return dn;var x=f.stateNode;if(x&&x.__reactInternalMemoizedUnmaskedChildContext===d)return x.__reactInternalMemoizedMaskedChildContext;var I={};for(var j in S)I[j]=d[j];{var X=Rt(g)||"Unknown";_(S,I,"context",X,nr)}return x&&ca(f,d,I),I}function da(){return Dr?!1:g0.current}function ri(f){if(Dr)return!1;var d=f.childContextTypes;return d!=null}function bl(f){Dr||(_i(g0,f),_i(ao,f))}function so(f){Dr||(_i(g0,f),_i(ao,f))}function Ji(f,d,g){if(!Dr){if(ao.current!==dn)throw Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");wr(ao,d,f),wr(g0,g,f)}}function fo(f,d,g){if(Dr)return g;var S=f.stateNode,x=d.childContextTypes;if(typeof S.getChildContext!="function"){{var I=Rt(d)||"Unknown";Qi[I]||(Qi[I]=!0,Ie(!1,"%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",I,I))}return g}var j;ze("getChildContext"),Qr(f,"getChildContext"),j=S.getChildContext(),Or(),ze(null);for(var X in j)if(!(X in x))throw Error((Rt(d)||"Unknown")+'.getChildContext(): key "'+X+'" is not defined in childContextTypes.');{var $=Rt(d)||"Unknown";_(x,j,"child context",$,nr)}return c({},g,{},j)}function ii(f){if(Dr)return!1;var d=f.stateNode,g=d&&d.__reactInternalMemoizedMergedChildContext||dn;return Xa=ao.current,wr(ao,g,f),wr(g0,g0.current,f),!0}function ll(f,d,g){if(!Dr){var S=f.stateNode;if(!S)throw Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(g){var x=fo(f,d,Xa);S.__reactInternalMemoizedMergedChildContext=x,_i(g0,f),_i(ao,f),wr(ao,x,f),wr(g0,g,f)}else _i(g0,f),wr(g0,g,f)}}function Hu(f){if(Dr)return dn;if(!(xl(f)&&f.tag===A))throw Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var d=f;do{switch(d.tag){case P:return d.stateNode.context;case A:{var g=d.type;if(ri(g))return d.stateNode.__reactInternalMemoizedMergedChildContext;break}}d=d.return}while(d!==null);throw Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var K0=1,co=2,Lo=t.unstable_runWithPriority,k0=t.unstable_scheduleCallback,bo=t.unstable_cancelCallback,pa=t.unstable_shouldYield,al=t.unstable_requestPaint,ha=t.unstable_now,Ms=t.unstable_getCurrentPriorityLevel,L0=t.unstable_ImmediatePriority,Qa=t.unstable_UserBlockingPriority,er=t.unstable_NormalPriority,X0=t.unstable_LowPriority,Ei=t.unstable_IdlePriority;if(hn&&!(O.__interactionsRef!=null&&O.__interactionsRef.current!=null))throw Error("It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at http://fb.me/react-profiling");var Di={},Vr=99,O0=98,fr=97,l0=96,_0=95,M0=90,an=pa,te=al!==void 0?al:function(){},J=null,Te=null,Ee=!1,Qe=ha(),rt=Qe<1e4?ha:function(){return ha()-Qe};function Mt(){switch(Ms()){case L0:return Vr;case Qa:return O0;case er:return fr;case X0:return l0;case Ei:return _0;default:throw Error("Unknown priority level.")}}function vn(f){switch(f){case Vr:return L0;case O0:return Qa;case fr:return er;case l0:return X0;case _0:return Ei;default:throw Error("Unknown priority level.")}}function Jt(f,d){var g=vn(f);return Lo(g,d)}function Qt(f,d,g){var S=vn(f);return k0(S,d,g)}function Zt(f){return J===null?(J=[f],Te=k0(L0,oi)):J.push(f),Di}function kn(f){f!==Di&&bo(f)}function Et(){if(Te!==null){var f=Te;Te=null,bo(f)}oi()}function oi(){if(!Ee&&J!==null){Ee=!0;var f=0;try{var d=!0,g=J;Jt(Vr,function(){for(;f1?d-1:0),S=1;S2?g-2:0),x=2;x0&&(Fs.forEach(function(vt){f.add(Rt(vt.type)||"Component"),Ea.add(vt.type)}),Fs=[]);var d=new Set;Ls.length>0&&(Ls.forEach(function(vt){d.add(Rt(vt.type)||"Component"),Ea.add(vt.type)}),Ls=[]);var g=new Set;$a.length>0&&($a.forEach(function(vt){g.add(Rt(vt.type)||"Component"),Ea.add(vt.type)}),$a=[]);var S=new Set;ya.length>0&&(ya.forEach(function(vt){S.add(Rt(vt.type)||"Component"),Ea.add(vt.type)}),ya=[]);var x=new Set;ga.length>0&&(ga.forEach(function(vt){x.add(Rt(vt.type)||"Component"),Ea.add(vt.type)}),ga=[]);var I=new Set;if(bs.length>0&&(bs.forEach(function(vt){I.add(Rt(vt.type)||"Component"),Ea.add(vt.type)}),bs=[]),d.size>0){var j=Io(d);Ie(!1,`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details. + +* Move code with side effects to componentDidMount, and set initial state in the constructor. + +Please update the following components: %s`,j)}if(S.size>0){var X=Io(S);Ie(!1,`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details. + +* Move data fetching code or side effects to componentDidUpdate. +* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state + +Please update the following components: %s`,X)}if(I.size>0){var $=Io(I);Ie(!1,`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://fb.me/react-unsafe-component-lifecycles for details. + +* Move data fetching code or side effects to componentDidUpdate. + +Please update the following components: %s`,$)}if(f.size>0){var Re=Io(f);Bl(!1,`componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details. + +* Move code with side effects to componentDidMount, and set initial state in the constructor. +* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder. + +Please update the following components: %s`,Re)}if(g.size>0){var Pe=Io(g);Bl(!1,`componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details. + +* Move data fetching code or side effects to componentDidUpdate. +* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state +* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder. + +Please update the following components: %s`,Pe)}if(x.size>0){var Ze=Io(x);Bl(!1,`componentWillUpdate has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details. + +* Move data fetching code or side effects to componentDidUpdate. +* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder. + +Please update the following components: %s`,Ze)}};var Bo=new Map,Af=new Set;Du.recordLegacyContextWarning=function(f,d){var g=S1(f);if(g===null){Ie(!1,"Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!Af.has(f.type)){var S=Bo.get(g);(f.type.contextTypes!=null||f.type.childContextTypes!=null||d!==null&&typeof d.getChildContext=="function")&&(S===void 0&&(S=[],Bo.set(g,S)),S.push(f))}},Du.flushLegacyContextWarning=function(){Bo.forEach(function(f,d){var g=new Set;f.forEach(function(I){g.add(Rt(I.type)||"Component"),Af.add(I.type)});var S=Io(g),x=Jn(d);Ie(!1,`Legacy context API has been detected within a strict-mode tree. + +The old API will be supported in all 16.x releases, but applications using it should migrate to the new version. + +Please update the following components: %s + +Learn more about this warning here: https://fb.me/react-legacy-context%s`,S,x)})},Du.discardPendingWarnings=function(){Fs=[],Ls=[],$a=[],ya=[],ga=[],bs=[],Bo=new Map}}var $o=null,eu=null,kf=function(f){$o=f};function Uo(f){{if($o===null)return f;var d=$o(f);return d===void 0?f:d.current}}function Ps(f){return Uo(f)}function Is(f){{if($o===null)return f;var d=$o(f);if(d===void 0){if(f!=null&&typeof f.render=="function"){var g=Uo(f.render);if(f.render!==g){var S={$$typeof:pn,render:g};return f.displayName!==void 0&&(S.displayName=f.displayName),S}}return f}return d.current}}function T1(f,d){{if($o===null)return!1;var g=f.elementType,S=d.type,x=!1,I=typeof S=="object"&&S!==null?S.$$typeof:null;switch(f.tag){case A:{typeof S=="function"&&(x=!0);break}case M:{(typeof S=="function"||I===Wn)&&(x=!0);break}case ae:{(I===pn||I===Wn)&&(x=!0);break}case pe:case Z:{(I===Ot||I===Wn)&&(x=!0);break}default:return!1}if(x){var j=$o(g);if(j!==void 0&&j===$o(S))return!0}return!1}}function Ec(f){{if($o===null||typeof WeakSet!="function")return;eu===null&&(eu=new WeakSet),eu.add(f)}}var Da=function(f,d){{if($o===null)return;var g=d.staleFamilies,S=d.updatedFamilies;fs(),kp(function(){es(f.current,S,g)})}},C1=function(f,d){{if(f.context!==dn)return;fs(),Mm(function(){ry(d,f,null,null)})}};function es(f,d,g){{var S=f.alternate,x=f.child,I=f.sibling,j=f.tag,X=f.type,$=null;switch(j){case M:case Z:case A:$=X;break;case ae:$=X.render;break;default:break}if($o===null)throw new Error("Expected resolveFamily to be set during hot reload.");var Re=!1,Pe=!1;if($!==null){var Ze=$o($);Ze!==void 0&&(g.has(Ze)?Pe=!0:d.has(Ze)&&(j===A?Pe=!0:Re=!0))}eu!==null&&(eu.has(f)||S!==null&&eu.has(S))&&(Pe=!0),Pe&&(f._debugNeedsRemount=!0),(Pe||Re)&&iu(f,On),x!==null&&!Pe&&es(x,d,g),I!==null&&es(I,d,g)}}var x1=function(f,d){{var g=new Set,S=new Set(d.map(function(x){return x.current}));return Of(f.current,S,g),g}};function Of(f,d,g){{var S=f.child,x=f.sibling,I=f.tag,j=f.type,X=null;switch(I){case M:case Z:case A:X=j;break;case ae:X=j.render;break;default:break}var $=!1;X!==null&&d.has(X)&&($=!0),$?Mf(f,g):S!==null&&Of(S,d,g),x!==null&&Of(x,d,g)}}function Mf(f,d){{var g=R1(f,d);if(g)return;for(var S=f;;){switch(S.tag){case z:d.add(S.stateNode);return;case U:d.add(S.stateNode.containerInfo);return;case P:d.add(S.stateNode.containerInfo);return}if(S.return===null)throw new Error("Expected to reach root first.");S=S.return}}}function R1(f,d){for(var g=f,S=!1;;){if(g.tag===z)S=!0,d.add(g.stateNode);else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===f)return S;for(;g.sibling===null;){if(g.return===null||g.return===f)return S;g=g.return}g.sibling.return=g.return,g=g.sibling}return!1}function wu(f,d){if(f&&f.defaultProps){var g=c({},d),S=f.defaultProps;for(var x in S)g[x]===void 0&&(g[x]=S[x]);return g}return d}function y(f){if(Tl(f),f._status!==Do)throw f._result;return f._result}var m=u0(null),C;C={};var N=null,L=null,K=null,ie=!1;function dt(){N=null,L=null,K=null,ie=!1}function ft(){ie=!0}function mt(){ie=!1}function Gn(f,d){var g=f.type._context;e0?(wr(m,g._currentValue,f),g._currentValue=d,g._currentRenderer===void 0||g._currentRenderer===null||g._currentRenderer===C||Ie(!1,"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),g._currentRenderer=C):(wr(m,g._currentValue2,f),g._currentValue2=d,g._currentRenderer2===void 0||g._currentRenderer2===null||g._currentRenderer2===C||Ie(!1,"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),g._currentRenderer2=C)}function f0(f){var d=m.current;_i(m,f);var g=f.type._context;e0?g._currentValue=d:g._currentValue2=d}function ki(f,d,g){if(Il(g,d))return 0;var S=typeof f._calculateChangedBits=="function"?f._calculateChangedBits(g,d):ui;return(S&ui)!==S&&zt(!1,"calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: %s",S),S|0}function b0(f,d){for(var g=f;g!==null;){var S=g.alternate;if(g.childExpirationTime=d&&op(),g.firstContext=null)}}function Le(f,d){if(ie&&zt(!1,"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),K!==f){if(!(d===!1||d===0)){var g;typeof d!="number"||d===ui?(K=f,g=ui):g=d;var S={context:f,observedBits:g,next:null};if(L===null){if(N===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");L=S,N.dependencies={expirationTime:gt,firstContext:S,responders:null}}else L=L.next=S}}return e0?f._currentValue:f._currentValue2}var ke=0,Ke=1,Nt=2,yn=3,Rr=!1,Fn,Sr;Fn=!1,Sr=null;function li(f){var d={baseState:f,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null};return d}function cr(f){var d={baseState:f.baseState,firstUpdate:f.firstUpdate,lastUpdate:f.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null};return d}function ji(f,d){var g={expirationTime:f,suspenseConfig:d,tag:ke,payload:null,callback:null,next:null,nextEffect:null};return g.priority=Mt(),g}function Nf(f,d){f.lastUpdate===null?f.firstUpdate=f.lastUpdate=d:(f.lastUpdate.next=d,f.lastUpdate=d)}function ts(f,d){var g=f.alternate,S,x;g===null?(S=f.updateQueue,x=null,S===null&&(S=f.updateQueue=li(f.memoizedState))):(S=f.updateQueue,x=g.updateQueue,S===null?x===null?(S=f.updateQueue=li(f.memoizedState),x=g.updateQueue=li(g.memoizedState)):S=f.updateQueue=cr(x):x===null&&(x=g.updateQueue=cr(S))),x===null||S===x?Nf(S,d):S.lastUpdate===null||x.lastUpdate===null?(Nf(S,d),Nf(x,d)):(Nf(S,d),x.lastUpdate=d),f.tag===A&&(Sr===S||x!==null&&Sr===x)&&!Fn&&(Ie(!1,"An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Fn=!0)}function gv(f,d){var g=f.updateQueue;g===null?g=f.updateQueue=li(f.memoizedState):g=_v(f,g),g.lastCapturedUpdate===null?g.firstCapturedUpdate=g.lastCapturedUpdate=d:(g.lastCapturedUpdate.next=d,g.lastCapturedUpdate=d)}function _v(f,d){var g=f.alternate;return g!==null&&d===g.updateQueue&&(d=f.updateQueue=cr(d)),d}function Ev(f,d,g,S,x,I){switch(g.tag){case Ke:{var j=g.payload;if(typeof j=="function"){ft(),Pr&&f.mode&zn&&j.call(I,S,x);var X=j.call(I,S,x);return mt(),X}return j}case yn:f.effectTag=f.effectTag&~S0|hr;case ke:{var $=g.payload,Re;return typeof $=="function"?(ft(),Pr&&f.mode&zn&&$.call(I,S,x),Re=$.call(I,S,x),mt()):Re=$,Re==null?S:c({},S,Re)}case Nt:return Rr=!0,S}return S}function Ff(f,d,g,S,x){Rr=!1,d=_v(f,d),Sr=d;for(var I=d.baseState,j=null,X=gt,$=d.firstUpdate,Re=I;$!==null;){var Pe=$.expirationTime;if(Pe from render. Or maybe you meant to call this function rather than return it."))}function Ov(f){function d(We,pt){if(!!f){var Ue=We.lastEffect;Ue!==null?(Ue.nextEffect=pt,We.lastEffect=pt):We.firstEffect=We.lastEffect=pt,pt.nextEffect=null,pt.effectTag=wo}}function g(We,pt){if(!f)return null;for(var Ue=pt;Ue!==null;)d(We,Ue),Ue=Ue.sibling;return null}function S(We,pt){for(var Ue=new Map,_t=pt;_t!==null;)_t.key!==null?Ue.set(_t.key,_t):Ue.set(_t.index,_t),_t=_t.sibling;return Ue}function x(We,pt,Ue){var _t=ps(We,pt,Ue);return _t.index=0,_t.sibling=null,_t}function I(We,pt,Ue){if(We.index=Ue,!f)return pt;var _t=We.alternate;if(_t!==null){var rn=_t.index;return rnrr?(Ti=Mn,Mn=null):Ti=Mn.sibling;var Zi=vt(We,Mn,Ue[rr],_t);if(Zi===null){Mn===null&&(Mn=Ti);break}f&&Mn&&Zi.alternate===null&&d(We,Mn),ai=I(Zi,ai,rr),Mi===null?yr=Zi:Mi.sibling=Zi,Mi=Zi,Mn=Ti}if(rr===Ue.length)return g(We,Mn),yr;if(Mn===null){for(;rrw0?(ku=Ti,Ti=null):ku=Ti.sibling;var mo=vt(We,Ti,Ni.value,_t);if(mo===null){Ti===null&&(Ti=ku);break}f&&Ti&&mo.alternate===null&&d(We,Ti),Zi=I(mo,Zi,w0),rr===null?ai=mo:rr.sibling=mo,rr=mo,Ti=ku}if(Ni.done)return g(We,Ti),ai;if(Ti===null){for(;!Ni.done;w0++,Ni=Mn.next()){var Ql=Ze(We,Ni.value,_t);Ql!==null&&(Zi=I(Ql,Zi,w0),rr===null?ai=Ql:rr.sibling=Ql,rr=Ql)}return ai}for(var J0=S(We,Ti);!Ni.done;w0++,Ni=Mn.next()){var Ou=Tt(J0,We,w0,Ni.value,_t);Ou!==null&&(f&&Ou.alternate!==null&&J0.delete(Ou.key===null?w0:Ou.key),Zi=I(Ou,Zi,w0),rr===null?ai=Ou:rr.sibling=Ou,rr=Ou)}return f&&J0.forEach(function(Qf){return d(We,Qf)}),ai}function pr(We,pt,Ue,_t){if(pt!==null&&pt.tag===Q){g(We,pt.sibling);var rn=x(pt,Ue,_t);return rn.return=We,rn}g(We,pt);var Ut=Gp(Ue,We.mode,_t);return Ut.return=We,Ut}function Ar(We,pt,Ue,_t){for(var rn=Ue.key,Ut=pt;Ut!==null;){if(Ut.key===rn)if(Ut.tag===v?Ue.type===ee:Ut.elementType===Ue.type||T1(Ut,Ue)){g(We,Ut.sibling);var Gr=x(Ut,Ue.type===ee?Ue.props.children:Ue.props,_t);return Gr.ref=Dc(We,Ut,Ue),Gr.return=We,Gr._debugSource=Ue._source,Gr._debugOwner=Ue._owner,Gr}else{g(We,Ut);break}else d(We,Ut);Ut=Ut.sibling}if(Ue.type===ee){var yr=Xl(Ue.props.children,We.mode,_t,Ue.key);return yr.return=We,yr}else{var Mi=Vp(Ue,We.mode,_t);return Mi.ref=Dc(We,pt,Ue),Mi.return=We,Mi}}function d0(We,pt,Ue,_t){for(var rn=Ue.key,Ut=pt;Ut!==null;){if(Ut.key===rn)if(Ut.tag===U&&Ut.stateNode.containerInfo===Ue.containerInfo&&Ut.stateNode.implementation===Ue.implementation){g(We,Ut.sibling);var Gr=x(Ut,Ue.children||[],_t);return Gr.return=We,Gr}else{g(We,Ut);break}else d(We,Ut);Ut=Ut.sibling}var yr=Yp(Ue,We.mode,_t);return yr.return=We,yr}function Jr(We,pt,Ue,_t){var rn=typeof Ue=="object"&&Ue!==null&&Ue.type===ee&&Ue.key===null;rn&&(Ue=Ue.props.children);var Ut=typeof Ue=="object"&&Ue!==null;if(Ut)switch(Ue.$$typeof){case oe:return j(Ar(We,pt,Ue,_t));case ve:return j(d0(We,pt,Ue,_t))}if(typeof Ue=="string"||typeof Ue=="number")return j(pr(We,pt,""+Ue,_t));if(L1(Ue))return Ht(We,pt,Ue,_t);if(Ln(Ue))return Yn(We,pt,Ue,_t);if(Ut&&b1(We,Ue),typeof Ue=="function"&&P1(),typeof Ue>"u"&&!rn)switch(We.tag){case A:{var Gr=We.stateNode;if(Gr.render._isMockFunction)break}case M:{var yr=We.type;throw Error((yr.displayName||yr.name||"Component")+"(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.")}}return g(We,pt)}return Jr}var Bs=Ov(!0),I1=Ov(!1);function $g(f,d){if(!(f===null||d.child===f.child))throw Error("Resuming work not yet implemented.");if(d.child!==null){var g=d.child,S=ps(g,g.pendingProps,g.expirationTime);for(d.child=S,S.return=d;g.sibling!==null;)g=g.sibling,S=S.sibling=ps(g,g.pendingProps,g.expirationTime),S.return=d;S.sibling=null}}function e4(f,d){for(var g=f.child;g!==null;)Z_(g,d),g=g.sibling}var Sa={},ns=u0(Sa),nu=u0(Sa),Ul=u0(Sa);function c0(f){if(f===Sa)throw Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return f}function Wu(){var f=c0(Ul.current);return f}function wc(f,d){wr(Ul,d,f),wr(nu,f,f),wr(ns,Sa,f);var g=it(d);_i(ns,f),wr(ns,g,f)}function Vu(f){_i(ns,f),_i(nu,f),_i(Ul,f)}function Su(){var f=c0(ns.current);return f}function Sc(f){var d=c0(Ul.current),g=c0(ns.current),S=Dt(g,f.type,d);g!==S&&(wr(nu,f,f),wr(ns,S,f))}function wd(f){nu.current===f&&(_i(ns,f),_i(nu,f))}var t4=0,Mv=1,Sd=1,Tc=2,Gu=u0(t4);function B1(f,d){return(f&d)!==0}function Lf(f){return f&Mv}function Td(f,d){return f&Mv|d}function n4(f,d){return f|d}function ar(f,d){wr(Gu,d,f)}function bf(f){_i(Gu,f)}function Cd(f,d){var g=f.memoizedState;if(g!==null)return g.dehydrated!==null;var S=f.memoizedProps;return S.fallback===void 0?!1:S.unstable_avoidThisFallback!==!0?!0:!d}function U1(f){for(var d=f;d!==null;){if(d.tag===fe){var g=d.memoizedState;if(g!==null){var S=g.dehydrated;if(S===null||kl(S)||x0(S))return d}}else if(d.tag===ot&&d.memoizedProps.revealOrder!==void 0){var x=(d.effectTag&hr)!==Kr;if(x)return d}else if(d.child!==null){d.child.return=d,d=d.child;continue}if(d===f)return null;for(;d.sibling===null;){if(d.return===null||d.return===f)return null;d=d.return}d.sibling.return=d.return,d=d.sibling}return null}var r4={},Nr=Array.isArray;function i4(f,d,g,S){return{fiber:S,props:d,responder:f,rootEventTypes:null,state:g}}function o4(f,d,g,S,x){var I=r4,j=f.getInitialState;j!==null&&(I=j(d));var X=i4(f,d,I,g);if(!x)for(var $=g;$!==null;){var Re=$.tag;if(Re===z){x=$.stateNode;break}else if(Re===P){x=$.stateNode.containerInfo;break}$=$.return}Se(f,X,d,I,x),S.set(f,X)}function xd(f,d,g,S,x){var I,j;if(f&&(I=f.responder,j=f.props),!(I&&I.$$typeof===Ct))throw Error("An invalid value was used as an event listener. Expect one or many event listeners created via React.unstable_useResponder().");var X=j;if(g.has(I)){zt(!1,'Duplicate event responder "%s" found in event listeners. Event listeners passed to elements cannot use the same event responder more than once.',I.displayName);return}g.add(I);var $=S.get(I);$===void 0?o4(I,X,d,S,x):($.props=X,$.fiber=d)}function en(f,d,g){var S=new Set,x=d.dependencies;if(f!=null){x===null&&(x=d.dependencies={expirationTime:gt,firstContext:null,responders:new Map});var I=x.responders;if(I===null&&(I=new Map),Nr(f))for(var j=0,X=f.length;j0){var I=x.dispatch;if(dl!==null){var j=dl.get(x);if(j!==void 0){dl.delete(x);var X=S.memoizedState,$=j;do{var Re=$.action;X=f(X,Re),$=$.next}while($!==null);return Il(X,S.memoizedState)||op(),S.memoizedState=X,S.baseUpdate===x.last&&(S.baseState=X),x.lastRenderedState=X,[X,I]}}return[S.memoizedState,I]}var Pe=x.last,Ze=S.baseUpdate,vt=S.baseState,Tt;if(Ze!==null?(Pe!==null&&(Pe.next=null),Tt=Ze.next):Tt=Pe!==null?Pe.next:null,Tt!==null){var St=vt,Ht=null,Yn=null,pr=Ze,Ar=Tt,d0=!1;do{var Jr=Ar.expirationTime;if(Jrrs&&(rs=Jr,v2(rs));else if(Pm(Jr,Ar.suspenseConfig),Ar.eagerReducer===f)St=Ar.eagerState;else{var We=Ar.action;St=f(St,We)}pr=Ar,Ar=Ar.next}while(Ar!==null&&Ar!==Tt);d0||(Yn=pr,Ht=St),Il(St,S.memoizedState)||op(),S.memoizedState=St,S.baseUpdate=Yn,S.baseState=Ht,x.lastRenderedState=St}var pt=x.dispatch;return[S.memoizedState,pt]}function Mc(f){var d=qf();typeof f=="function"&&(f=f()),d.memoizedState=d.baseState=f;var g=d.queue={last:null,dispatch:null,lastRenderedReducer:Lv,lastRenderedState:f},S=g.dispatch=V1.bind(null,cl,g);return[d.memoizedState,S]}function z1(f){return Oc(Lv,f)}function q1(f,d,g,S){var x={tag:f,create:d,destroy:g,deps:S,next:null};if(Ku===null)Ku=os(),Ku.lastEffect=x.next=x;else{var I=Ku.lastEffect;if(I===null)Ku.lastEffect=x.next=x;else{var j=I.next;I.next=x,x.next=j,Ku.lastEffect=x}}return x}function Nd(f){var d=qf(),g={current:f};return Object.seal(g),d.memoizedState=g,g}function bv(f){var d=kc();return d.memoizedState}function Fd(f,d,g,S){var x=qf(),I=S===void 0?null:S;js|=f,x.memoizedState=q1(d,g,void 0,I)}function Ld(f,d,g,S){var x=kc(),I=S===void 0?null:S,j=void 0;if(gn!==null){var X=gn.memoizedState;if(j=X.destroy,I!==null){var $=X.deps;if(kd(I,$)){q1(If,g,j,I);return}}}js|=f,x.memoizedState=q1(d,g,j,I)}function H1(f,d){return typeof jest<"u"&&Km(cl),Fd(Xn|U0,Bn|Rd,f,d)}function W1(f,d){return typeof jest<"u"&&Km(cl),Ld(Xn|U0,Bn|Rd,f,d)}function bd(f,d){return Fd(Xn,Bf|Uf,f,d)}function Pv(f,d){return Ld(Xn,Bf|Uf,f,d)}function Iv(f,d){if(typeof d=="function"){var g=d,S=f();return g(S),function(){g(null)}}else if(d!=null){var x=d;x.hasOwnProperty("current")||zt(!1,"Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(x).join(", ")+"}");var I=f();return x.current=I,function(){x.current=null}}}function Pd(f,d,g){typeof d!="function"&&zt(!1,"Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",d!==null?typeof d:"null");var S=g!=null?g.concat([f]):null;return Fd(Xn,Bf|Uf,Iv.bind(null,d,f),S)}function Bv(f,d,g){typeof d!="function"&&zt(!1,"Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",d!==null?typeof d:"null");var S=g!=null?g.concat([f]):null;return Ld(Xn,Bf|Uf,Iv.bind(null,d,f),S)}function s4(f,d){}var Uv=s4;function Cu(f,d){var g=qf(),S=d===void 0?null:d;return g.memoizedState=[f,S],f}function Qu(f,d){var g=kc(),S=d===void 0?null:d,x=g.memoizedState;if(x!==null&&S!==null){var I=x[1];if(kd(S,I))return x[0]}return g.memoizedState=[f,S],f}function pl(f,d){var g=qf(),S=d===void 0?null:d,x=f();return g.memoizedState=[x,S],x}function zl(f,d){var g=kc(),S=d===void 0?null:d,x=g.memoizedState;if(x!==null&&S!==null){var I=x[1];if(kd(S,I))return x[0]}var j=f();return g.memoizedState=[j,S],j}function Id(f,d){var g=Mc(f),S=g[0],x=g[1];return H1(function(){t.unstable_next(function(){var I=Yu.suspense;Yu.suspense=d===void 0?null:d;try{x(f)}finally{Yu.suspense=I}})},[f,d]),S}function jv(f,d){var g=z1(f),S=g[0],x=g[1];return W1(function(){t.unstable_next(function(){var I=Yu.suspense;Yu.suspense=d===void 0?null:d;try{x(f)}finally{Yu.suspense=I}})},[f,d]),S}function Bd(f){var d=Mc(!1),g=d[0],S=d[1],x=Cu(function(I){S(!0),t.unstable_next(function(){var j=Yu.suspense;Yu.suspense=f===void 0?null:f;try{S(!1),I()}finally{Yu.suspense=j}})},[f,g]);return[x,g]}function zv(f){var d=z1(!1),g=d[0],S=d[1],x=Qu(function(I){S(!0),t.unstable_next(function(){var j=Yu.suspense;Yu.suspense=f===void 0?null:f;try{S(!1),I()}finally{Yu.suspense=j}})},[f,g]);return[x,g]}function V1(f,d,g){if(!(Rc=0){var g=Nc()-Fc;f.actualDuration+=g,d&&(f.selfBaseDuration=g),Fc=-1}}var xu=null,ls=null,Ta=!1;function qd(){Ta&&zt(!1,"We should not be hydrating here. This is a bug in React. Please file a bug.")}function f4(f){if(!he)return!1;var d=f.stateNode.containerInfo;return ls=b(d),xu=f,Ta=!0,!0}function c4(f,d){return he?(ls=Uu(d),Vd(f),Ta=!0,!0):!1}function Hd(f,d){switch(f.tag){case P:ne(f.stateNode.containerInfo,d);break;case z:Ne(f.type,f.memoizedProps,f.stateNode,d);break}var g=iE();g.stateNode=d,g.return=f,g.effectTag=wo,f.lastEffect!==null?(f.lastEffect.nextEffect=g,f.lastEffect=g):f.firstEffect=f.lastEffect=g}function Kv(f,d){switch(d.effectTag=d.effectTag&~xi|br,f.tag){case P:{var g=f.stateNode.containerInfo;switch(d.tag){case z:var S=d.type,x=d.pendingProps;Je(g,S,x);break;case Q:var I=d.pendingProps;ut(g,I);break;case fe:ht(g);break}break}case z:{var j=f.type,X=f.memoizedProps,$=f.stateNode;switch(d.tag){case z:var Re=d.type,Pe=d.pendingProps;wt(j,X,$,Re,Pe);break;case Q:var Ze=d.pendingProps;Vt(j,X,$,Ze);break;case fe:bt(j,X,$);break}break}default:return}}function Xv(f,d){switch(f.tag){case z:{var g=f.type,S=f.pendingProps,x=Rs(d,g,S);return x!==null?(f.stateNode=x,!0):!1}case Q:{var I=f.pendingProps,j=Al(d,I);return j!==null?(f.stateNode=j,!0):!1}case fe:{if(Br){var X=Ka(d);if(X!==null){var $={dehydrated:X,retryTime:xr};f.memoizedState=$;var Re=oE(X);return Re.return=f,f.child=Re,!0}}return!1}default:return!1}}function Wd(f){if(!!Ta){var d=ls;if(!d){Kv(xu,f),Ta=!1,xu=f;return}var g=d;if(!Xv(f,d)){if(d=Uu(g),!d||!Xv(f,d)){Kv(xu,f),Ta=!1,xu=f;return}Hd(xu,g)}xu=f,ls=b(d)}}function d4(f,d,g){if(!he)throw Error("Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");var S=f.stateNode,x=B(S,f.type,f.memoizedProps,d,g,f);return f.updateQueue=x,x!==null}function p4(f){if(!he)throw Error("Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");var d=f.stateNode,g=f.memoizedProps,S=q(d,g,f);if(S){var x=xu;if(x!==null)switch(x.tag){case P:{var I=x.stateNode.containerInfo;je(I,d,g);break}case z:{var j=x.type,X=x.memoizedProps,$=x.stateNode;nt(j,X,$,d,g);break}}}return S}function Qv(f){if(!he)throw Error("Expected prepareToHydrateHostSuspenseInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");var d=f.memoizedState,g=d!==null?d.dehydrated:null;if(!g)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Y(g,f)}function h4(f){if(!he)throw Error("Expected skipPastDehydratedSuspenseInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");var d=f.memoizedState,g=d!==null?d.dehydrated:null;if(!g)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return _e(g)}function Vd(f){for(var d=f.return;d!==null&&d.tag!==z&&d.tag!==P&&d.tag!==fe;)d=d.return;xu=d}function Lc(f){if(!he||f!==xu)return!1;if(!Ta)return Vd(f),Ta=!0,!1;var d=f.type;if(f.tag!==z||d!=="head"&&d!=="body"&&!Xr(d,f.memoizedProps))for(var g=ls;g;)Hd(f,g),g=Uu(g);return Vd(f),f.tag===fe?ls=h4(f):ls=xu?Uu(f.stateNode):null,!0}function bc(){!he||(xu=null,ls=null,Ta=!1)}var Pc=Ye.ReactCurrentOwner,Ca=!1,Gd,Hl,Wl,Vl,Yd,xa,Kd,Xd,Hf,Qd;Gd={},Hl={},Wl={},Vl={},Yd={},xa=!1,Kd=!1,Xd={},Hf={},Qd={};function vo(f,d,g,S){f===null?d.child=I1(d,null,g,S):d.child=Bs(d,f.child,g,S)}function Jv(f,d,g,S){d.child=Bs(d,f.child,null,S),d.child=Bs(d,null,g,S)}function Zv(f,d,g,S,x){if(d.type!==d.elementType){var I=g.propTypes;I&&_(I,S,"prop",Rt(g),nr)}var j=g.render,X=d.ref,$;return D0(d,x),Pc.current=d,ze("render"),$=zf(f,d,j,S,X,x),Pr&&d.mode&zn&&d.memoizedState!==null&&($=zf(f,d,j,S,X,x)),ze(null),f!==null&&!Ca?(Od(f,d,x),Ra(f,d,x)):(d.effectTag|=Ai,vo(f,d,$,x),d.child)}function $v(f,d,g,S,x,I){if(f===null){var j=g.type;if(Q_(j)&&g.compare===null&&g.defaultProps===void 0){var X=j;return X=Uo(j),d.tag=Z,d.type=X,$d(d,j),em(f,d,X,S,x,I)}{var $=j.propTypes;$&&_($,S,"prop",Rt(j),nr)}var Re=Wp(g.type,null,S,null,d.mode,I);return Re.ref=d.ref,Re.return=d,d.child=Re,Re}{var Pe=g.type,Ze=Pe.propTypes;Ze&&_(Ze,S,"prop",Rt(Pe),nr)}var vt=f.child;if(x component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",$,$),Gd[$]=!0)}d.mode&zn&&Du.recordLegacyContextWarning(d,null),Pc.current=d,X=zf(null,d,g,x,I,S)}if(d.effectTag|=Ai,typeof X=="object"&&X!==null&&typeof X.render=="function"&&X.$$typeof===void 0){{var Re=Rt(g)||"Unknown";Hl[Re]||(Ie(!1,"The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Re,Re,Re),Hl[Re]=!0)}d.tag=A,j1();var Pe=!1;ri(g)?(Pe=!0,ii(d)):Pe=!1,d.memoizedState=X.state!==null&&X.state!==void 0?X.state:null;var Ze=g.getDerivedStateFromProps;return typeof Ze=="function"&&F1(d,g,Ze,x),xv(d,X),md(d,g,x,S),Zd(null,d,g,!0,Pe,S)}else return d.tag=M,Dr&&g.contextTypes&&Ie(!1,"%s uses the legacy contextTypes API which is no longer supported. Use React.createContext() with React.useContext() instead.",Rt(g)||"Unknown"),Pr&&d.mode&zn&&d.memoizedState!==null&&(X=zf(null,d,g,x,I,S)),vo(null,d,X,S),$d(d,g),d.child}function $d(f,d){if(d&&d.childContextTypes&&Ie(!1,"%s(...): childContextTypes cannot be defined on a function component.",d.displayName||d.name||"Component"),f.ref!==null){var g="",S=y0();S&&(g+=` + +Check the render method of \``+S+"`.");var x=S||f._debugID||"",I=f._debugSource;I&&(x=I.fileName+":"+I.lineNumber),Yd[x]||(Yd[x]=!0,zt(!1,"Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",g))}if(bu&&d.defaultProps!==void 0){var j=Rt(d)||"Unknown";Qd[j]||(Ie(!1,"%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",j),Qd[j]=!0)}if(typeof d.getDerivedStateFromProps=="function"){var X=Rt(d)||"Unknown";Vl[X]||(Ie(!1,"%s: Function components do not support getDerivedStateFromProps.",X),Vl[X]=!0)}if(typeof d.contextType=="object"&&d.contextType!==null){var $=Rt(d)||"Unknown";Wl[$]||(Ie(!1,"%s: Function components do not support contextType.",$),Wl[$]=!0)}}var X1={dehydrated:null,retryTime:gt};function ep(f,d,g){return B1(f,Tc)&&(d===null||d.memoizedState!==null)}function om(f,d,g){var S=d.mode,x=d.pendingProps;oy(d)&&(d.effectTag|=hr);var I=Gu.current,j=!1,X=(d.effectTag&hr)!==Kr;if(X||ep(I,f,d)?(j=!0,d.effectTag&=~hr):(f===null||f.memoizedState!==null)&&x.fallback!==void 0&&x.unstable_avoidThisFallback!==!0&&(I=n4(I,Sd)),I=Lf(I),ar(d,I),"maxDuration"in x&&(Kd||(Kd=!0,zt(!1,"maxDuration has been removed from React. Remove the maxDuration prop."))),f===null){if(x.fallback!==void 0&&(Wd(d),Br)){var $=d.memoizedState;if($!==null){var Re=$.dehydrated;if(Re!==null)return um(d,Re,g)}}if(j){var Pe=x.fallback,Ze=Xl(null,S,gt,null);if(Ze.return=d,(d.mode&Mr)===lr){var vt=d.memoizedState,Tt=vt!==null?d.child.child:d.child;Ze.child=Tt;for(var St=Tt;St!==null;)St.return=Ze,St=St.sibling}var Ht=Xl(Pe,S,g,null);return Ht.return=d,Ze.sibling=Ht,d.memoizedState=X1,d.child=Ze,Ht}else{var Yn=x.children;return d.memoizedState=null,d.child=I1(d,null,Yn,g)}}else{var pr=f.memoizedState;if(pr!==null){if(Br){var Ar=pr.dehydrated;if(Ar!==null)if(X){if(d.memoizedState!==null)return d.child=f.child,d.effectTag|=hr,null;var d0=x.fallback,Jr=Xl(null,S,gt,null);if(Jr.return=d,Jr.child=null,(d.mode&Mr)===lr)for(var We=Jr.child=d.child;We!==null;)We.return=Jr,We=We.sibling;else Bs(d,f.child,null,g);if(Ft&&d.mode&Cr){for(var pt=0,Ue=Jr.child;Ue!==null;)pt+=Ue.treeBaseDuration,Ue=Ue.sibling;Jr.treeBaseDuration=pt}var _t=Xl(d0,S,g,null);return _t.return=d,Jr.sibling=_t,_t.effectTag|=br,Jr.childExpirationTime=gt,d.memoizedState=X1,d.child=Jr,_t}else return E4(f,d,Ar,pr,g)}var rn=f.child,Ut=rn.sibling;if(j){var Gr=x.fallback,yr=ps(rn,rn.pendingProps,gt);if(yr.return=d,(d.mode&Mr)===lr){var Mi=d.memoizedState,Mn=Mi!==null?d.child.child:d.child;if(Mn!==rn.child){yr.child=Mn;for(var ai=Mn;ai!==null;)ai.return=yr,ai=ai.sibling}}if(Ft&&d.mode&Cr){for(var rr=0,Ti=yr.child;Ti!==null;)rr+=Ti.treeBaseDuration,Ti=Ti.sibling;yr.treeBaseDuration=rr}var Zi=ps(Ut,Gr,Ut.expirationTime);return Zi.return=d,yr.sibling=Zi,yr.childExpirationTime=gt,d.memoizedState=X1,d.child=yr,Zi}else{var w0=x.children,ku=rn.child,Ni=Bs(d,ku,w0,g);return d.memoizedState=null,d.child=Ni}}else{var mo=f.child;if(j){var Ql=x.fallback,J0=Xl(null,S,gt,null);if(J0.return=d,J0.child=mo,mo!==null&&(mo.return=J0),(d.mode&Mr)===lr){var Ou=d.memoizedState,Qf=Ou!==null?d.child.child:d.child;J0.child=Qf;for(var ka=Qf;ka!==null;)ka.return=J0,ka=ka.sibling}if(Ft&&d.mode&Cr){for(var hs=0,qo=J0.child;qo!==null;)hs+=qo.treeBaseDuration,qo=qo.sibling;J0.treeBaseDuration=hs}var Z0=Xl(Ql,S,g,null);return Z0.return=d,J0.sibling=Z0,Z0.effectTag|=br,J0.childExpirationTime=gt,d.memoizedState=X1,d.child=J0,Z0}else{d.memoizedState=null;var $s=x.children;return d.child=Bs(d,mo,$s,g)}}}}function tp(f,d,g){d.memoizedState=null;var S=d.pendingProps,x=S.children;return vo(f,d,x,g),d.child}function um(f,d,g){if((f.mode&Mr)===lr)zt(!1,"Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOM.createBlockingRoot(container, { hydrate: true }).render(element) or remove the Suspense components from the server rendered components."),f.expirationTime=On;else if(x0(d)){var S=Au(),x=sl(S);hn&&cs(x),f.expirationTime=x}else f.expirationTime=xr,hn&&cs(xr);return null}function E4(f,d,g,S,x){if(qd(),(d.mode&Mr)===lr||x0(g))return tp(f,d,x);var I=f.childExpirationTime>=x;if(Ca||I){if(x. Use lowercase "%s" instead.',f,f.toLowerCase());break}case"forward":case"backward":{zt(!1,'"%s" is not a valid value for revealOrder on . React uses the -s suffix in the spelling. Use "%ss" instead.',f,f.toLowerCase());break}default:zt(!1,'"%s" is not a supported revealOrder on . Did you mean "together", "forwards" or "backwards"?',f);break}else zt(!1,'%s is not a supported value for revealOrder on . Did you mean "together", "forwards" or "backwards"?',f)}function am(f,d){f!==void 0&&!Hf[f]&&(f!=="collapsed"&&f!=="hidden"?(Hf[f]=!0,zt(!1,'"%s" is not a supported value for tail on . Did you mean "collapsed" or "hidden"?',f)):d!=="forwards"&&d!=="backwards"&&(Hf[f]=!0,zt(!1,' is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',f)))}function sm(f,d){{var g=Array.isArray(f),S=!g&&typeof Ln(f)=="function";if(g||S){var x=g?"array":"iterable";return zt(!1,"A nested %s was passed to row #%s in . Wrap it in an additional SuspenseList to configure its revealOrder: ... {%s} ... ",x,d,x),!1}}return!0}function T4(f,d){if((d==="forwards"||d==="backwards")&&f!==void 0&&f!==null&&f!==!1)if(Array.isArray(f)){for(var g=0;g. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',d)}}function np(f,d,g,S,x,I){var j=f.memoizedState;j===null?f.memoizedState={isBackwards:d,rendering:null,last:S,tail:g,tailExpiration:0,tailMode:x,lastEffect:I}:(j.isBackwards=d,j.rendering=null,j.last=S,j.tail=g,j.tailExpiration=0,j.tailMode=x,j.lastEffect=I)}function rp(f,d,g){var S=d.pendingProps,x=S.revealOrder,I=S.tail,j=S.children;S4(x),am(I,x),T4(j,x),vo(f,d,j,g);var X=Gu.current,$=B1(X,Tc);if($)X=Td(X,Tc),d.effectTag|=hr;else{var Re=f!==null&&(f.effectTag&hr)!==Kr;Re&&D4(d,d.child,g),X=Lf(X)}if(ar(d,X),(d.mode&Mr)===lr)d.memoizedState=null;else switch(x){case"forwards":{var Pe=w4(d.child),Ze;Pe===null?(Ze=d.child,d.child=null):(Ze=Pe.sibling,Pe.sibling=null),np(d,!1,Ze,Pe,I,d.lastEffect);break}case"backwards":{var vt=null,Tt=d.child;for(d.child=null;Tt!==null;){var St=Tt.alternate;if(St!==null&&U1(St)===null){d.child=Tt;break}var Ht=Tt.sibling;Tt.sibling=vt,vt=Tt,Tt=Ht}np(d,!0,vt,null,I,d.lastEffect);break}case"together":{np(d,!1,null,null,void 0,d.lastEffect);break}default:d.memoizedState=null}return d.child}function C4(f,d,g){wc(d,d.stateNode.containerInfo);var S=d.pendingProps;return f===null?d.child=Bs(d,null,S,g):vo(f,d,S,g),d.child}function x4(f,d,g){var S=d.type,x=S._context,I=d.pendingProps,j=d.memoizedProps,X=I.value;{var $=d.type.propTypes;$&&_($,I,"prop","Context.Provider",nr)}if(Gn(d,X),j!==null){var Re=j.value,Pe=ki(x,X,Re);if(Pe===0){if(j.children===I.children&&!da())return Ra(f,d,g)}else wa(d,x,Pe,g)}var Ze=I.children;return vo(f,d,Ze,g),d.child}var fm=!1;function R4(f,d,g){var S=d.type;S._context===void 0?S!==S.Consumer&&(fm||(fm=!0,zt(!1,"Rendering directly is not supported and will be removed in a future major release. Did you mean to render instead?"))):S=S._context;var x=d.pendingProps,I=x.children;typeof I!="function"&&Ie(!1,"A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),D0(d,g);var j=Le(S,x.unstable_observedBits),X;return Pc.current=d,ze("render"),X=I(j),ze(null),d.effectTag|=Ai,vo(f,d,X,g),d.child}function A4(f,d,g){var S=d.type.impl;if(S.reconcileChildren===!1)return null;var x=d.pendingProps,I=x.children;return vo(f,d,I,g),d.child}function ip(f,d,g){var S=d.pendingProps,x=S.children;return vo(f,d,x,g),d.child}function op(){Ca=!0}function Ra(f,d,g){Xi(d),f!==null&&(d.dependencies=f.dependencies),Ft&&Yv(d);var S=d.expirationTime;S!==gt&&v2(S);var x=d.childExpirationTime;return x=g;$&&(d.effectTag|=Xn)}break;case fe:{var Re=d.memoizedState;if(Re!==null){if(Br&&Re.dehydrated!==null){ar(d,Lf(Gu.current)),d.effectTag|=hr;break}var Pe=d.child,Ze=Pe.childExpirationTime;if(Ze!==gt&&Ze>=g)return om(f,d,g);ar(d,Lf(Gu.current));var vt=Ra(f,d,g);return vt!==null?vt.sibling:null}else ar(d,Lf(Gu.current));break}case ot:{var Tt=(f.effectTag&hr)!==Kr,St=d.childExpirationTime>=g;if(Tt){if(St)return rp(f,d,g);d.effectTag|=hr}var Ht=d.memoizedState;if(Ht!==null&&(Ht.rendering=null,Ht.tail=null),ar(d,Gu.current),St)break;return null}}return Ra(f,d,g)}else Ca=!1}else Ca=!1;switch(d.expirationTime=gt,d.tag){case T:return _4(f,d,d.type,g);case Ae:{var Yn=d.elementType;return qs(f,d,Yn,S,g)}case M:{var pr=d.type,Ar=d.pendingProps,d0=d.elementType===pr?Ar:wu(pr,Ar);return Jd(f,d,pr,d0,g)}case A:{var Jr=d.type,We=d.pendingProps,pt=d.elementType===Jr?We:wu(Jr,We);return rm(f,d,Jr,pt,g)}case P:return y4(f,d,g);case z:return g4(f,d,g);case Q:return zs(f,d);case fe:return om(f,d,g);case U:return C4(f,d,g);case ae:{var Ue=d.type,_t=d.pendingProps,rn=d.elementType===Ue?_t:wu(Ue,_t);return Zv(f,d,Ue,rn,g)}case v:return v4(f,d,g);case de:return m4(f,d,g);case Me:return tm(f,d,g);case le:return x4(f,d,g);case ye:return R4(f,d,g);case pe:{var Ut=d.type,Gr=d.pendingProps,yr=wu(Ut,Gr);if(d.type!==d.elementType){var Mi=Ut.propTypes;Mi&&_(Mi,yr,"prop",Rt(Ut),nr)}return yr=wu(Ut.type,yr),$v(f,d,Ut,yr,S,g)}case Z:return em(f,d,d.type,d.pendingProps,S,g);case Fe:{var Mn=d.type,ai=d.pendingProps,rr=d.elementType===Mn?ai:wu(Mn,ai);return K1(f,d,Mn,rr,g)}case ot:return rp(f,d,g);case st:{if(xt)return A4(f,d,g);break}case qe:{if(Li)return ip(f,d,g);break}}throw Error("Unknown unit of work tag ("+d.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function k4(f,d,g,S){return{currentFiber:f,impl:g,instance:null,prevProps:null,props:d,state:S}}function lp(f){return f.tag===fe&&f.memoizedState!==null}function ap(f){return f.child.sibling.child}var O4={};function dm(f,d,g){if(Li){if(f.tag===z){var S=f.type,x=f.memoizedProps,I=f.stateNode,j=Ao(I);j!==null&&d(S,x||O4,j)===!0&&g.push(j)}var X=f.child;lp(f)&&(X=ap(f)),X!==null&&pm(X,d,g)}}function M4(f,d){if(Li){if(f.tag===z){var g=f.type,S=f.memoizedProps,x=f.stateNode,I=Ao(x);if(I!==null&&d(g,S,I)===!0)return I}var j=f.child;if(lp(f)&&(j=ap(f)),j!==null)return hm(j,d)}return null}function pm(f,d,g){for(var S=f;S!==null;)dm(S,d,g),S=S.sibling}function hm(f,d){for(var g=f;g!==null;){var S=M4(g,d);if(S!==null)return S;g=g.sibling}return null}function vm(f,d,g){if(N4(f,d))g.push(f.stateNode.methods);else{var S=f.child;lp(f)&&(S=ap(f)),S!==null&&sp(S,d,g)}}function sp(f,d,g){for(var S=f;S!==null;)vm(S,d,g),S=S.sibling}function N4(f,d){return f.tag===qe&&f.type===d&&f.stateNode!==null}function F4(f,d){return{getChildren:function(){var g=d.fiber,S=g.child,x=[];return S!==null&&sp(S,f,x),x.length===0?null:x},getChildrenFromRoot:function(){for(var g=d.fiber,S=g;S!==null;){var x=S.return;if(x===null||(S=x,S.tag===qe&&S.type===f))break}var I=[];return sp(S.child,f,I),I.length===0?null:I},getParent:function(){for(var g=d.fiber.return;g!==null;){if(g.tag===qe&&g.type===f)return g.stateNode.methods;g=g.return}return null},getProps:function(){var g=d.fiber;return g.memoizedProps},queryAllNodes:function(g){var S=d.fiber,x=S.child,I=[];return x!==null&&pm(x,g,I),I.length===0?null:I},queryFirstNode:function(g){var S=d.fiber,x=S.child;return x!==null?hm(x,g):null},containsNode:function(g){for(var S=In(g);S!==null;){if(S.tag===qe&&S.type===f&&S.stateNode===d)return!0;S=S.return}return!1}}}function P0(f){f.effectTag|=Xn}function Q1(f){f.effectTag|=To}var Hs,Ws,J1,Z1;if(q0)Hs=function(f,d,g,S){for(var x=d.child;x!==null;){if(x.tag===z||x.tag===Q)mr(f,x.stateNode);else if(xt&&x.tag===st)mr(f,x.stateNode.instance);else if(x.tag!==U){if(x.child!==null){x.child.return=x,x=x.child;continue}}if(x===d)return;for(;x.sibling===null;){if(x.return===null||x.return===d)return;x=x.return}x.sibling.return=x.return,x=x.sibling}},Ws=function(f){},J1=function(f,d,g,S,x){var I=f.memoizedProps;if(I!==S){var j=d.stateNode,X=Su(),$=v0(j,g,I,S,x,X);d.updateQueue=$,$&&P0(d)}},Z1=function(f,d,g,S){g!==S&&P0(d)};else if(W){Hs=function(f,d,g,S){for(var x=d.child;x!==null;){e:if(x.tag===z){var I=x.stateNode;if(g&&S){var j=x.memoizedProps,X=x.type;I=Iu(I,X,j,x)}mr(f,I)}else if(x.tag===Q){var $=x.stateNode;if(g&&S){var Re=x.memoizedProps;$=Bu($,Re,x)}mr(f,$)}else if(xt&&x.tag===st){var Pe=x.stateNode.instance;if(g&&S){var Ze=x.memoizedProps,vt=x.type;Pe=Iu(Pe,vt,Ze,x)}mr(f,Pe)}else if(x.tag!==U){if(x.tag===fe){if((x.effectTag&Xn)!==Kr){var Tt=x.memoizedState!==null;if(Tt){var St=x.child;if(St!==null){St.child!==null&&(St.child.return=St,Hs(f,St,!0,Tt));var Ht=St.sibling;if(Ht!==null){Ht.return=x,x=Ht;continue}}}}if(x.child!==null){x.child.return=x,x=x.child;continue}}else if(x.child!==null){x.child.return=x,x=x.child;continue}}if(x=x,x===d)return;for(;x.sibling===null;){if(x.return===null||x.return===d)return;x=x.return}x.sibling.return=x.return,x=x.sibling}};var fp=function(f,d,g,S){for(var x=d.child;x!==null;){e:if(x.tag===z){var I=x.stateNode;if(g&&S){var j=x.memoizedProps,X=x.type;I=Iu(I,X,j,x)}Sn(f,I)}else if(x.tag===Q){var $=x.stateNode;if(g&&S){var Re=x.memoizedProps;$=Bu($,Re,x)}Sn(f,$)}else if(xt&&x.tag===st){var Pe=x.stateNode.instance;if(g&&S){var Ze=x.memoizedProps,vt=x.type;Pe=Iu(Pe,vt,Ze,x)}Sn(f,Pe)}else if(x.tag!==U){if(x.tag===fe){if((x.effectTag&Xn)!==Kr){var Tt=x.memoizedState!==null;if(Tt){var St=x.child;if(St!==null){St.child!==null&&(St.child.return=St,fp(f,St,!0,Tt));var Ht=St.sibling;if(Ht!==null){Ht.return=x,x=Ht;continue}}}}if(x.child!==null){x.child.return=x,x=x.child;continue}}else if(x.child!==null){x.child.return=x,x=x.child;continue}}if(x=x,x===d)return;for(;x.sibling===null;){if(x.return===null||x.return===d)return;x=x.return}x.sibling.return=x.return,x=x.sibling}};Ws=function(f){var d=f.stateNode,g=f.firstEffect===null;if(!g){var S=d.containerInfo,x=C0(S);fp(x,f,!1,!1),d.pendingChildren=x,P0(f),Tf(S,x)}},J1=function(f,d,g,S,x){var I=f.stateNode,j=f.memoizedProps,X=d.firstEffect===null;if(X&&j===S){d.stateNode=I;return}var $=d.stateNode,Re=Su(),Pe=null;if(j!==S&&(Pe=v0($,g,j,S,x,Re)),X&&Pe===null){d.stateNode=I;return}var Ze=rl(I,Pe,g,j,S,d,X,$);bi(Ze,g,S,x,Re)&&P0(d),d.stateNode=Ze,X?P0(d):Hs(Ze,d,!1,!1)},Z1=function(f,d,g,S){if(g!==S){var x=Wu(),I=Su();d.stateNode=Rl(S,x,I,d),P0(d)}}}else Ws=function(f){},J1=function(f,d,g,S,x){},Z1=function(f,d,g,S){};function $1(f,d){switch(f.tailMode){case"hidden":{for(var g=f.tail,S=null;g!==null;)g.alternate!==null&&(S=g),g=g.sibling;S===null?f.tail=null:S.sibling=null;break}case"collapsed":{for(var x=f.tail,I=null;x!==null;)x.alternate!==null&&(I=x),x=x.sibling;I===null?!d&&f.tail!==null?f.tail.sibling=null:f.tail=null:I.sibling=null;break}}}function mm(f,d,g){var S=d.pendingProps;switch(d.tag){case T:break;case Ae:break;case Z:case M:break;case A:{var x=d.type;ri(x)&&bl(d);break}case P:{Vu(d),so(d);var I=d.stateNode;if(I.pendingContext&&(I.context=I.pendingContext,I.pendingContext=null),f===null||f.child===null){var j=Lc(d);j&&P0(d)}Ws(d);break}case z:{wd(d);var X=Wu(),$=d.type;if(f!==null&&d.stateNode!=null){if(J1(f,d,$,S,X),Tr){var Re=f.memoizedProps.listeners,Pe=S.listeners;Re!==Pe&&P0(d)}f.ref!==d.ref&&Q1(d)}else{if(!S){if(d.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");break}var Ze=Su(),vt=Lc(d);if(vt){if(d4(d,X,Ze)&&P0(d),Tr){var Tt=S.listeners;Tt!=null&&en(Tt,d,X)}}else{var St=ni($,S,X,Ze,d);if(Hs(St,d,!1,!1),d.stateNode=St,Tr){var Ht=S.listeners;Ht!=null&&en(Ht,d,X)}bi(St,$,S,X,Ze)&&P0(d)}d.ref!==null&&Q1(d)}break}case Q:{var Yn=S;if(f&&d.stateNode!=null){var pr=f.memoizedProps;Z1(f,d,pr,Yn)}else{if(typeof Yn!="string"&&d.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var Ar=Wu(),d0=Su(),Jr=Lc(d);Jr?p4(d)&&P0(d):d.stateNode=Rl(Yn,Ar,d0,d)}break}case ae:break;case fe:{bf(d);var We=d.memoizedState;if(Br&&We!==null&&We.dehydrated!==null)if(f===null){var pt=Lc(d);if(!pt)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");return Qv(d),hn&&cs(xr),null}else return bc(),(d.effectTag&hr)===Kr&&(d.memoizedState=null),d.effectTag|=Xn,null;if((d.effectTag&hr)!==Kr)return d.expirationTime=g,d;var Ue=We!==null,_t=!1;if(f===null)d.memoizedProps.fallback!==void 0&&Lc(d);else{var rn=f.memoizedState;if(_t=rn!==null,!Ue&&rn!==null){var Ut=f.child.sibling;if(Ut!==null){var Gr=d.firstEffect;Gr!==null?(d.firstEffect=Ut,Ut.nextEffect=Gr):(d.firstEffect=d.lastEffect=Ut,Ut.nextEffect=null),Ut.effectTag=wo}}}if(Ue&&!_t&&(d.mode&Mr)!==lr){var yr=f===null&&d.memoizedProps.unstable_avoidThisFallback!==!0;yr||B1(Gu.current,Sd)?Im():Bm()}W&&Ue&&(d.effectTag|=Xn),q0&&(Ue||_t)&&(d.effectTag|=Xn),ti&&d.updateQueue!==null&&d.memoizedProps.suspenseCallback!=null&&(d.effectTag|=Xn);break}case v:break;case de:break;case Me:break;case U:Vu(d),Ws(d);break;case le:f0(d);break;case ye:break;case pe:break;case Fe:{var Mi=d.type;ri(Mi)&&bl(d);break}case ot:{bf(d);var Mn=d.memoizedState;if(Mn===null)break;var ai=(d.effectTag&hr)!==Kr,rr=Mn.rendering;if(rr===null)if(ai)$1(Mn,!1);else{var Ti=g_()&&(f===null||(f.effectTag&hr)===Kr);if(!Ti)for(var Zi=d.child;Zi!==null;){var w0=U1(Zi);if(w0!==null){ai=!0,d.effectTag|=hr,$1(Mn,!1);var ku=w0.updateQueue;return ku!==null&&(d.updateQueue=ku,d.effectTag|=Xn),Mn.lastEffect===null&&(d.firstEffect=null),d.lastEffect=Mn.lastEffect,e4(d,g),ar(d,Td(Gu.current,Tc)),d.child}Zi=Zi.sibling}}else{if(!ai){var Ni=U1(rr);if(Ni!==null){d.effectTag|=hr,ai=!0;var mo=Ni.updateQueue;if(mo!==null&&(d.updateQueue=mo,d.effectTag|=Xn),$1(Mn,!0),Mn.tail===null&&Mn.tailMode==="hidden"&&!rr.alternate){var Ql=d.lastEffect=Mn.lastEffect;return Ql!==null&&(Ql.nextEffect=null),null}}else if(rt()>Mn.tailExpiration&&g>xr){d.effectTag|=hr,ai=!0,$1(Mn,!1);var J0=g-1;d.expirationTime=d.childExpirationTime=J0,hn&&cs(J0)}}if(Mn.isBackwards)rr.sibling=d.child,d.child=rr;else{var Ou=Mn.last;Ou!==null?Ou.sibling=rr:d.child=rr,Mn.last=rr}}if(Mn.tail!==null){if(Mn.tailExpiration===0){var Qf=500;Mn.tailExpiration=rt()+Qf}var ka=Mn.tail;Mn.rendering=ka,Mn.tail=ka.sibling,Mn.lastEffect=d.lastEffect,ka.sibling=null;var hs=Gu.current;return ai?hs=Td(hs,Tc):hs=Lf(hs),ar(d,hs),ka}break}case st:{if(xt){var qo=d.type.impl,Z0=d.stateNode;if(Z0===null){var $s=qo.getInitialState,dy;$s!==void 0&&(dy=$s(S)),Z0=d.stateNode=k4(d,S,qo,dy||{});var py=tt(Z0);if(Z0.instance=py,qo.reconcileChildren===!1)return null;Hs(py,d,!1,!1),Cn(Z0)}else{var DE=Z0.props;if(Z0.prevProps=DE,Z0.props=S,Z0.currentFiber=d,W){var hy=sa(Z0);Z0.instance=hy,Hs(hy,d,!1,!1)}var wE=cn(Z0);wE&&P0(d)}}break}case qe:{if(Li)if(f===null){var SE=d.type,eh={fiber:d,methods:null};if(d.stateNode=eh,eh.methods=F4(SE,eh),Tr){var vy=S.listeners;if(vy!=null){var TE=Wu();en(vy,d,TE)}}d.ref!==null&&(Q1(d),P0(d))}else{if(Tr){var CE=f.memoizedProps.listeners,xE=S.listeners;(CE!==xE||d.ref!==null)&&P0(d)}else d.ref!==null&&P0(d);f.ref!==d.ref&&Q1(d)}break}default:throw Error("Unknown unit of work tag ("+d.tag+"). This error is likely caused by a bug in React. Please file an issue.")}return null}function L4(f,d){switch(f.tag){case A:{var g=f.type;ri(g)&&bl(f);var S=f.effectTag;return S&S0?(f.effectTag=S&~S0|hr,f):null}case P:{Vu(f),so(f);var x=f.effectTag;if((x&hr)!==Kr)throw Error("The root failed to unmount after an error. This is likely a bug in React. Please file an issue.");return f.effectTag=x&~S0|hr,f}case z:return wd(f),null;case fe:{if(bf(f),Br){var I=f.memoizedState;if(I!==null&&I.dehydrated!==null){if(f.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");bc()}}var j=f.effectTag;return j&S0?(f.effectTag=j&~S0|hr,f):null}case ot:return bf(f),null;case U:return Vu(f),null;case le:return f0(f),null;default:return null}}function ym(f){switch(f.tag){case A:{var d=f.type.childContextTypes;d!=null&&bl(f);break}case P:{Vu(f),so(f);break}case z:{wd(f);break}case U:Vu(f);break;case fe:bf(f);break;case ot:bf(f);break;case le:f0(f);break;default:break}}function cp(f,d){return{value:f,source:d,stack:Jn(d)}}var dp=function(f,d,g,S,x,I,j,X,$){var Re=Array.prototype.slice.call(arguments,3);try{d.apply(g,Re)}catch(Pe){this.onError(Pe)}};if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var pp=document.createElement("react"),b4=function(f,d,g,S,x,I,j,X,$){if(!(typeof document<"u"))throw Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var Re=document.createEvent("Event"),Pe=!0,Ze=window.event,vt=Object.getOwnPropertyDescriptor(window,"event"),Tt=Array.prototype.slice.call(arguments,3);function St(){pp.removeEventListener(d0,St,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=Ze),d.apply(g,Tt),Pe=!1}var Ht,Yn=!1,pr=!1;function Ar(Jr){if(Ht=Jr.error,Yn=!0,Ht===null&&Jr.colno===0&&Jr.lineno===0&&(pr=!0),Jr.defaultPrevented&&Ht!=null&&typeof Ht=="object")try{Ht._suppressLogging=!0}catch{}}var d0="react-"+(f||"invokeguardedcallback");window.addEventListener("error",Ar),pp.addEventListener(d0,St,!1),Re.initEvent(d0,!1,!1),pp.dispatchEvent(Re),vt&&Object.defineProperty(window,"event",vt),Pe&&(Yn?pr&&(Ht=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.")):Ht=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Ht)),window.removeEventListener("error",Ar)};dp=b4}var P4=dp,Wf=!1,e2=null,I4={onError:function(f){Wf=!0,e2=f}};function as(f,d,g,S,x,I,j,X,$){Wf=!1,e2=null,P4.apply(I4,arguments)}function Gl(){return Wf}function Yl(){if(Wf){var f=e2;return Wf=!1,e2=null,f}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function B4(f){return!0}function U4(f){var d=B4(f);if(d!==!1){var g=f.error;{var S=f.componentName,x=f.componentStack,I=f.errorBoundaryName,j=f.errorBoundaryFound,X=f.willRetry;if(g!=null&&g._suppressLogging){if(j&&X)return;console.error(g)}var $=S?"The above error occurred in the <"+S+"> component:":"The above error occurred in one of your React components:",Re;j&&I?X?Re="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+I+"."):Re="This error was initially handled by the error boundary "+I+`. +Recreating the tree from scratch failed so React will unmount the tree.`:Re=`Consider adding an error boundary to your tree to customize error handling behavior. +Visit https://fb.me/react-error-boundaries to learn more about error boundaries.`;var Pe=""+$+x+` + +`+(""+Re);console.error(Pe)}}}var gm=null;gm=new Set;var hp=typeof WeakSet=="function"?WeakSet:Set;function vp(f,d){var g=d.source,S=d.stack;S===null&&g!==null&&(S=Jn(g));var x={componentName:g!==null?Rt(g.type):null,componentStack:S!==null?S:"",error:d.value,errorBoundary:null,errorBoundaryName:null,errorBoundaryFound:!1,willRetry:!1};f!==null&&f.tag===A&&(x.errorBoundary=f.stateNode,x.errorBoundaryName=Rt(f.type),x.errorBoundaryFound=!0,x.willRetry=!0);try{U4(x)}catch(I){setTimeout(function(){throw I})}}var j4=function(f,d){Qr(f,"componentWillUnmount"),d.props=f.memoizedProps,d.state=f.memoizedState,d.componentWillUnmount(),Or()};function _m(f,d){if(as(null,j4,null,f,d),Gl()){var g=Yl();Js(f,g)}}function mp(f){var d=f.ref;if(d!==null)if(typeof d=="function"){if(as(null,d,null,null),Gl()){var g=Yl();Js(f,g)}}else d.current=null}function z4(f,d){if(as(null,d,null),Gl()){var g=Yl();Js(f,g)}}function q4(f,d){switch(d.tag){case M:case ae:case Z:{Vf(u4,If,d);return}case A:{if(d.effectTag&Co&&f!==null){var g=f.memoizedProps,S=f.memoizedState;Qr(d,"getSnapshotBeforeUpdate");var x=d.stateNode;d.type===d.elementType&&!xa&&(x.props!==d.memoizedProps&&zt(!1,"Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(d.type)||"instance"),x.state!==d.memoizedState&&zt(!1,"Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(d.type)||"instance"));var I=x.getSnapshotBeforeUpdate(d.elementType===d.type?g:wu(d.type,g),S);{var j=gm;I===void 0&&!j.has(d.type)&&(j.add(d.type),Ie(!1,"%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Rt(d.type)))}x.__reactInternalSnapshotBeforeUpdate=I,Or()}return}case P:case z:case Q:case U:case Fe:return;default:throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function Vf(f,d,g){var S=g.updateQueue,x=S!==null?S.lastEffect:null;if(x!==null){var I=x.next,j=I;do{if((j.tag&f)!==If){var X=j.destroy;j.destroy=void 0,X!==void 0&&X()}if((j.tag&d)!==If){var $=j.create;j.destroy=$();{var Re=j.destroy;if(Re!==void 0&&typeof Re!="function"){var Pe=void 0;Re===null?Pe=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof Re.then=="function"?Pe=` + +It looks like you wrote useEffect(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately: + +useEffect(() => { + async function fetchData() { + // You can await here + const response = await MyAPI.getData(someId); + // ... + } + fetchData(); +}, [someId]); // Or [] if effect doesn't need props or state + +Learn more about data fetching with Hooks: https://fb.me/react-hooks-data-fetching`:Pe=" You returned: "+Re,Ie(!1,"An effect function must not return anything besides a function, which is used for clean-up.%s%s",Pe,Jn(g))}}}j=j.next}while(j!==I)}}function H4(f){if((f.effectTag&U0)!==Kr)switch(f.tag){case M:case ae:case Z:{Vf(Bn,If,f),Vf(If,Rd,f);break}default:break}}function Em(f,d,g,S){switch(g.tag){case M:case ae:case Z:{Vf(l4,Uf,g);break}case A:{var x=g.stateNode;if(g.effectTag&Xn)if(d===null)Qr(g,"componentDidMount"),g.type===g.elementType&&!xa&&(x.props!==g.memoizedProps&&zt(!1,"Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(g.type)||"instance"),x.state!==g.memoizedState&&zt(!1,"Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(g.type)||"instance")),x.componentDidMount(),Or();else{var I=g.elementType===g.type?d.memoizedProps:wu(g.type,d.memoizedProps),j=d.memoizedState;Qr(g,"componentDidUpdate"),g.type===g.elementType&&!xa&&(x.props!==g.memoizedProps&&zt(!1,"Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(g.type)||"instance"),x.state!==g.memoizedState&&zt(!1,"Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(g.type)||"instance")),x.componentDidUpdate(I,j,x.__reactInternalSnapshotBeforeUpdate),Or()}var X=g.updateQueue;X!==null&&(g.type===g.elementType&&!xa&&(x.props!==g.memoizedProps&&zt(!1,"Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(g.type)||"instance"),x.state!==g.memoizedState&&zt(!1,"Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Rt(g.type)||"instance")),jo(g,X,x,S));return}case P:{var $=g.updateQueue;if($!==null){var Re=null;if(g.child!==null)switch(g.child.tag){case z:Re=Ao(g.child.stateNode);break;case A:Re=g.child.stateNode;break}jo(g,$,Re,S)}return}case z:{var Pe=g.stateNode;if(d===null&&g.effectTag&Xn){var Ze=g.type,vt=g.memoizedProps;n0(Pe,Ze,vt,g)}return}case Q:return;case U:return;case Me:{if(Ft){var Tt=g.memoizedProps.onRender;typeof Tt=="function"&&(hn?Tt(g.memoizedProps.id,d===null?"mount":"update",g.actualDuration,g.treeBaseDuration,g.actualStartTime,Vv(),f.memoizedInteractions):Tt(g.memoizedProps.id,d===null?"mount":"update",g.actualDuration,g.treeBaseDuration,g.actualStartTime,Vv()))}return}case fe:{Z4(f,g);return}case ot:case Fe:case st:case qe:return;default:throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function W4(f,d){if(q0)for(var g=f;;){if(g.tag===z){var S=g.stateNode;d?Ga(S):aa(g.stateNode,g.memoizedProps)}else if(g.tag===Q){var x=g.stateNode;d?m0(x):H0(x,g.memoizedProps)}else if(g.tag===fe&&g.memoizedState!==null&&g.memoizedState.dehydrated===null){var I=g.child.sibling;I.return=g,g=I;continue}else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===f)return;for(;g.sibling===null;){if(g.return===null||g.return===f)return;g=g.return}g.sibling.return=g.return,g=g.sibling}}function V4(f){var d=f.ref;if(d!==null){var g=f.stateNode,S;switch(f.tag){case z:S=Ao(g);break;default:S=g}Li&&f.tag===qe&&(S=g.methods),typeof d=="function"?d(S):(d.hasOwnProperty("current")||Ie(!1,"Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().%s",Rt(f.type),Jn(f)),d.current=S)}}function G4(f){var d=f.ref;d!==null&&(typeof d=="function"?d(null):d.current=null)}function Dm(f,d,g){switch(V_(d),d.tag){case M:case ae:case pe:case Z:{var S=d.updateQueue;if(S!==null){var x=S.lastEffect;if(x!==null){var I=x.next,j=g>fr?fr:g;Jt(j,function(){var pr=I;do{var Ar=pr.destroy;Ar!==void 0&&z4(d,Ar),pr=pr.next}while(pr!==I)})}}break}case A:{mp(d);var X=d.stateNode;typeof X.componentWillUnmount=="function"&&_m(d,X);return}case z:{if(Tr){var $=d.dependencies;if($!==null){var Re=$.responders;if(Re!==null){for(var Pe=Array.from(Re.values()),Ze=0,vt=Pe.length;Ze component higher in the tree to provide a loading indicator or placeholder to display.`+Jn(g))}y_(),S=cp(S,g);var vt=d;do{switch(vt.tag){case P:{var Tt=S;vt.effectTag|=S0,vt.expirationTime=x;var St=xm(vt,Tt,x);gv(vt,St);return}case A:var Ht=S,Yn=vt.type,pr=vt.stateNode;if((vt.effectTag&hr)===Kr&&(typeof Yn.getDerivedStateFromError=="function"||pr!==null&&typeof pr.componentDidCatch=="function"&&!Fp(pr))){vt.effectTag|=S0,vt.expirationTime=x;var Ar=Rm(vt,Ht,x);gv(vt,Ar);return}break;default:break}vt=vt.return}while(vt!==null)}var n_=Math.ceil,Ep=Ye.ReactCurrentDispatcher,Am=Ye.ReactCurrentOwner,Dp=Ye.IsSomeRendererActing,Oi=0,Ic=1,r_=2,wp=4,Sp=8,Ru=16,hl=32,Vs=0,r2=1,Tp=2,Bc=3,Uc=4,Cp=5,Rn=Oi,ru=null,_n=null,I0=gt,N0=Vs,i2=null,vl=On,jc=On,o2=null,Gf=gt,u2=!1,xp=0,km=500,sn=null,l2=!1,a2=null,Yf=null,zc=!1,Kf=null,qc=M0,Rp=gt,Gs=null,i_=50,Xf=0,s2=null,o_=50,f2=0,Ys=null,Ks=null,Hc=gt;function Au(){return(Rn&(Ru|hl))!==Oi?s0(rt()):(Hc!==gt||(Hc=s0(rt())),Hc)}function u_(){return s0(rt())}function Xs(f,d,g){var S=d.mode;if((S&Mr)===lr)return On;var x=Mt();if((S&qr)===lr)return x===Vr?On:a0;if((Rn&Ru)!==Oi)return I0;var I;if(g!==null)I=ma(f,g.timeoutMs|0||Ns);else switch(x){case Vr:I=On;break;case O0:I=Za(f);break;case fr:case l0:I=sl(f);break;case _0:I=hi;break;default:throw Error("Expected a valid priority level")}return ru!==null&&I===I0&&(I-=1),I}function l_(f,d){L_(),B_(f);var g=c2(f,d);if(g===null){P_(f);return}bp(f,d),fa();var S=Mt();if(d===On?(Rn&Sp)!==Oi&&(Rn&(Ru|hl))===Oi?(ds(g,d),Wc(g)):(ou(g),ds(g,d),Rn===Oi&&Et()):(ou(g),ds(g,d)),(Rn&wp)!==Oi&&(S===O0||S===Vr))if(Gs===null)Gs=new Map([[g,d]]);else{var x=Gs.get(g);(x===void 0||x>d)&&Gs.set(g,d)}}var iu=l_;function c2(f,d){f.expirationTimex?S:x}function ou(f){var d=f.lastExpiredTime;if(d!==gt){f.callbackExpirationTime=On,f.callbackPriority=Vr,f.callbackNode=Zt(Wc.bind(null,f));return}var g=d2(f),S=f.callbackNode;if(g===gt){S!==null&&(f.callbackNode=null,f.callbackExpirationTime=gt,f.callbackPriority=M0);return}var x=Au(),I=E1(x,g);if(S!==null){var j=f.callbackPriority,X=f.callbackExpirationTime;if(X===g&&j>=I)return;kn(S)}f.callbackExpirationTime=g,f.callbackPriority=I;var $;g===On?$=Zt(Wc.bind(null,f)):ro?$=Qt(I,Ap.bind(null,f)):$=Qt(I,Ap.bind(null,f),{timeout:Po(g)-rt()}),f.callbackNode=$}function Ap(f,d){if(Hc=gt,d){var g=Au();return Yc(f,g),ou(f),null}var S=d2(f);if(S!==gt){var x=f.callbackNode;if((Rn&(Ru|hl))!==Oi)throw Error("Should not already be working.");if(fs(),(f!==ru||S!==I0)&&(Qs(f,S),jp(f,S)),_n!==null){var I=Rn;Rn|=Ru;var j=Lm(f),X=p2(f);ks(_n);do try{D_();break}catch(Pe){Fm(f,Pe)}while(!0);if(dt(),Rn=I,bm(j),hn&&h2(X),N0===r2){var $=i2;throw Lp(),Qs(f,S),Aa(f,S),ou(f),$}if(_n!==null)Lp();else{Vm();var Re=f.finishedWork=f.current.alternate;f.finishedExpirationTime=S,a_(f,Re,N0,S)}if(ou(f),f.callbackNode===x)return Ap.bind(null,f)}}return null}function a_(f,d,g,S){switch(ru=null,g){case Vs:case r2:throw Error("Root did not complete. This is a bug in React.");case Tp:{Yc(f,S>hi?hi:S);break}case Bc:{Aa(f,S);var x=f.lastSuspendedTime;S===x&&(f.nextKnownPendingLevel=Mp(d)),Bp();var I=vl===On;if(I&&!(z0&&Zs.current)){var j=xp+km-rt();if(j>10){if(u2){var X=f.lastPingedTime;if(X===gt||X>=S){f.lastPingedTime=S,Qs(f,S);break}}var $=d2(f);if($!==gt&&$!==S)break;if(x!==gt&&x!==S){f.lastPingedTime=x;break}f.timeoutHandle=lt(ss.bind(null,f),j);break}}ss(f);break}case Uc:{Aa(f,S);var Re=f.lastSuspendedTime;if(S===Re&&(f.nextKnownPendingLevel=Mp(d)),Bp(),!(z0&&Zs.current)){if(u2){var Pe=f.lastPingedTime;if(Pe===gt||Pe>=S){f.lastPingedTime=S,Qs(f,S);break}}var Ze=d2(f);if(Ze!==gt&&Ze!==S)break;if(Re!==gt&&Re!==S){f.lastPingedTime=Re;break}var vt;if(jc!==On)vt=Po(jc)-rt();else if(vl===On)vt=0;else{var Tt=__(vl),St=rt(),Ht=Po(S)-St,Yn=St-Tt;Yn<0&&(Yn=0),vt=N_(Yn)-Yn,Ht10){f.timeoutHandle=lt(ss.bind(null,f),vt);break}}ss(f);break}case Cp:{if(!(z0&&Zs.current)&&vl!==On&&o2!==null){var pr=F_(vl,S,o2);if(pr>10){Aa(f,S),f.timeoutHandle=lt(ss.bind(null,f),pr);break}}ss(f);break}default:throw Error("Unknown root exit status.")}}function Wc(f){var d=f.lastExpiredTime,g=d!==gt?d:On;if(f.finishedExpirationTime===g)ss(f);else{if((Rn&(Ru|hl))!==Oi)throw Error("Should not already be working.");if(fs(),(f!==ru||g!==I0)&&(Qs(f,g),jp(f,g)),_n!==null){var S=Rn;Rn|=Ru;var x=Lm(f),I=p2(f);ks(_n);do try{Um();break}catch(X){Fm(f,X)}while(!0);if(dt(),Rn=S,bm(x),hn&&h2(I),N0===r2){var j=i2;throw Lp(),Qs(f,g),Aa(f,g),ou(f),j}if(_n!==null)throw Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");Vm(),f.finishedWork=f.current.alternate,f.finishedExpirationTime=g,s_(f,N0,g),ou(f)}}return null}function s_(f,d,g){ru=null,(d===Bc||d===Uc)&&Bp(),ss(f)}function f_(f,d){Yc(f,d),ou(f),(Rn&(Ru|hl))===Oi&&Et()}function Om(){if((Rn&(Ic|Ru|hl))!==Oi){(Rn&Ru)!==Oi&&zt(!1,"unstable_flushDiscreteUpdates: Cannot flush updates when React is already rendering.");return}d_(),fs()}function c_(f){return Jt(fr,f)}function Mm(f,d,g,S){return Jt(Vr,f.bind(null,d,g,S))}function d_(){if(Gs!==null){var f=Gs;Gs=null,f.forEach(function(d,g){Yc(g,d),ou(g)}),Et()}}function p_(f,d){var g=Rn;Rn|=Ic;try{return f(d)}finally{Rn=g,Rn===Oi&&Et()}}function h_(f,d){var g=Rn;Rn|=r_;try{return f(d)}finally{Rn=g,Rn===Oi&&Et()}}function Nm(f,d,g,S){var x=Rn;Rn|=wp;try{return Jt(O0,f.bind(null,d,g,S))}finally{Rn=x,Rn===Oi&&Et()}}function v_(f,d){var g=Rn;Rn&=~Ic,Rn|=Sp;try{return f(d)}finally{Rn=g,Rn===Oi&&Et()}}function kp(f,d){if((Rn&(Ru|hl))!==Oi)throw Error("flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering.");var g=Rn;Rn|=Ic;try{return Jt(Vr,f.bind(null,d))}finally{Rn=g,Et()}}function m_(f){var d=Rn;Rn|=Ic;try{Jt(Vr,f)}finally{Rn=d,Rn===Oi&&Et()}}function Qs(f,d){f.finishedWork=null,f.finishedExpirationTime=gt;var g=f.timeoutHandle;if(g!==yu&&(f.timeoutHandle=yu,oo(g)),_n!==null)for(var S=_n.return;S!==null;)ym(S),S=S.return;ru=f,_n=ps(f.current,null,d),I0=d,N0=Vs,i2=null,vl=On,jc=On,o2=null,Gf=gt,u2=!1,hn&&(Ks=null),Du.discardPendingWarnings(),Kl=null}function Fm(f,d){do{try{if(dt(),j1(),Ge(),_n===null||_n.return===null)return N0=r2,i2=d,null;Ft&&_n.mode&Cr&&Y1(_n,!0),t_(f,_n.return,_n,d,I0),_n=zm(_n)}catch(g){d=g;continue}return}while(!0)}function Lm(f){var d=Ep.current;return Ep.current=G1,d===null?G1:d}function bm(f){Ep.current=f}function p2(f){if(hn){var d=O.__interactionsRef.current;return O.__interactionsRef.current=f.memoizedInteractions,d}return null}function h2(f){hn&&(O.__interactionsRef.current=f)}function Op(){xp=rt()}function Pm(f,d){fhi&&(vl=f),d!==null&&fhi&&(jc=f,o2=d)}function v2(f){f>Gf&&(Gf=f)}function Im(){N0===Vs&&(N0=Bc)}function Bm(){(N0===Vs||N0===Bc)&&(N0=Uc),Gf!==gt&&ru!==null&&(Aa(ru,I0),ny(ru,Gf))}function y_(){N0!==Cp&&(N0=Tp)}function g_(){return N0===Vs}function __(f){var d=Po(f);return d-Ns}function E_(f,d){var g=Po(f);return g-(d.timeoutMs|0||Ns)}function Um(){for(;_n!==null;)_n=jm(_n)}function D_(){for(;_n!==null&&!an();)_n=jm(_n)}function jm(f){var d=f.alternate;qu(f),at(f);var g;return Ft&&(f.mode&Cr)!==lr?(zd(f),g=Vc(d,f,I0),Y1(f,!0)):g=Vc(d,f,I0),Ge(),f.memoizedProps=f.pendingProps,g===null&&(g=zm(f)),Am.current=null,g}function zm(f){_n=f;do{var d=_n.alternate,g=_n.return;if((_n.effectTag&F0)===Kr){at(_n);var S=void 0;if(!Ft||(_n.mode&Cr)===lr?S=mm(d,_n,I0):(zd(_n),S=mm(d,_n,I0),Y1(_n,!1)),pi(_n),Ge(),w_(_n),S!==null)return S;if(g!==null&&(g.effectTag&F0)===Kr){g.firstEffect===null&&(g.firstEffect=_n.firstEffect),_n.lastEffect!==null&&(g.lastEffect!==null&&(g.lastEffect.nextEffect=_n.firstEffect),g.lastEffect=_n.lastEffect);var x=_n.effectTag;x>Ai&&(g.lastEffect!==null?g.lastEffect.nextEffect=_n:g.firstEffect=_n,g.lastEffect=_n)}}else{var I=L4(_n,I0);if(Ft&&(_n.mode&Cr)!==lr){Y1(_n,!1);for(var j=_n.actualDuration,X=_n.child;X!==null;)j+=X.actualDuration,X=X.sibling;_n.actualDuration=j}if(I!==null)return Fo(_n),I.effectTag&=Lu,I;pi(_n),g!==null&&(g.firstEffect=g.lastEffect=null,g.effectTag|=F0)}var $=_n.sibling;if($!==null)return $;_n=g}while(_n!==null);return N0===Vs&&(N0=Cp),null}function Mp(f){var d=f.expirationTime,g=f.childExpirationTime;return d>g?d:g}function w_(f){if(!(I0!==xr&&f.childExpirationTime===xr)){var d=gt;if(Ft&&(f.mode&Cr)!==lr){for(var g=f.actualDuration,S=f.selfBaseDuration,x=f.alternate===null||f.child!==f.alternate.child,I=f.child;I!==null;){var j=I.expirationTime,X=I.childExpirationTime;j>d&&(d=j),X>d&&(d=X),x&&(g+=I.actualDuration),S+=I.treeBaseDuration,I=I.sibling}f.actualDuration=g,f.treeBaseDuration=S}else for(var $=f.child;$!==null;){var Re=$.expirationTime,Pe=$.childExpirationTime;Re>d&&(d=Re),Pe>d&&(d=Pe),$=$.sibling}f.childExpirationTime=d}}function ss(f){var d=Mt();return Jt(Vr,S_.bind(null,f,d)),null}function S_(f,d){do fs();while(Kf!==null);if(b_(),(Rn&(Ru|hl))!==Oi)throw Error("Should not already be working.");var g=f.finishedWork,S=f.finishedExpirationTime;if(g===null)return null;if(f.finishedWork=null,f.finishedExpirationTime=gt,g===f.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");f.callbackNode=null,f.callbackExpirationTime=gt,f.callbackPriority=M0,f.nextKnownPendingLevel=gt,G0();var x=Mp(g);aE(f,S,x),f===ru&&(ru=null,_n=null,I0=gt);var I;if(g.effectTag>Ai?g.lastEffect!==null?(g.lastEffect.nextEffect=g,I=g.firstEffect):I=g:I=g.firstEffect,I!==null){var j=Rn;Rn|=hl;var X=p2(f);Am.current=null,Qo(),mn(f.containerInfo),sn=I;do if(as(null,T_,null),Gl()){if(sn===null)throw Error("Should be working on an effect.");var $=Yl();Js(sn,$),sn=sn.nextEffect}while(sn!==null);Jo(),Ft&&Gv(),Zo(),sn=I;do if(as(null,C_,null,f,d),Gl()){if(sn===null)throw Error("Should be working on an effect.");var Re=Yl();Js(sn,Re),sn=sn.nextEffect}while(sn!==null);Y0(),vr(f.containerInfo),f.current=g,ur(),sn=I;do if(as(null,Np,null,f,S),Gl()){if(sn===null)throw Error("Should be working on an effect.");var Pe=Yl();Js(sn,Pe),sn=sn.nextEffect}while(sn!==null);R0(),sn=null,te(),hn&&h2(X),Rn=j}else f.current=g,Qo(),Jo(),Ft&&Gv(),Zo(),Y0(),ur(),R0();Ll();var Ze=zc;if(zc)zc=!1,Kf=f,Rp=S,qc=d;else for(sn=I;sn!==null;){var vt=sn.nextEffect;sn.nextEffect=null,sn=vt}var Tt=f.firstPendingTime;if(Tt!==gt){if(hn){if(Ks!==null){var St=Ks;Ks=null;for(var Ht=0;Htfr?fr:qc;return qc=M0,Jt(f,x_)}}function x_(){if(Kf===null)return!1;var f=Kf,d=Rp;if(Kf=null,Rp=gt,(Rn&(Ru|hl))!==Oi)throw Error("Cannot flush passive effects while already rendering.");var g=Rn;Rn|=hl;for(var S=p2(f),x=f.current.firstEffect;x!==null;){{if(at(x),as(null,H4,null,x),Gl()){if(x===null)throw Error("Should be working on an effect.");var I=Yl();Js(x,I)}Ge()}var j=x.nextEffect;x.nextEffect=null,x=j}return hn&&(h2(S),Qm(f,d)),Rn=g,Et(),f2=Kf===null?0:f2+1,!0}function Fp(f){return Yf!==null&&Yf.has(f)}function R_(f){Yf===null?Yf=new Set([f]):Yf.add(f)}function A_(f){l2||(l2=!0,a2=f)}var k_=A_;function qm(f,d,g){var S=cp(g,d),x=xm(f,S,On);ts(f,x);var I=c2(f,On);I!==null&&(ou(I),ds(I,On))}function Js(f,d){if(f.tag===P){qm(f,f,d);return}for(var g=f.return;g!==null;){if(g.tag===P){qm(g,f,d);return}else if(g.tag===A){var S=g.type,x=g.stateNode;if(typeof S.getDerivedStateFromError=="function"||typeof x.componentDidCatch=="function"&&!Fp(x)){var I=cp(d,f),j=Rm(g,I,On);ts(g,j);var X=c2(g,On);X!==null&&(ou(X),ds(X,On));return}}g=g.return}}function Hm(f,d,g){var S=f.pingCache;if(S!==null&&S.delete(d),ru===f&&I0===g){N0===Uc||N0===Bc&&vl===On&&rt()-xpi_)throw Xf=0,s2=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");f2>o_&&(f2=0,zt(!1,"Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function b_(){Du.flushLegacyContextWarning(),Ir&&Du.flushPendingUnsafeLifecycleWarnings()}function Vm(){var f=!0;Os(Ys,f),Ys=null}function Lp(){var f=!1;Os(Ys,f),Ys=null}function bp(f,d){or&&ru!==null&&d>I0&&(Ys=f)}var m2=null;function P_(f){{var d=f.tag;if(d!==P&&d!==A&&d!==M&&d!==ae&&d!==pe&&d!==Z)return;var g=Rt(f.type)||"ReactComponent";if(m2!==null){if(m2.has(g))return;m2.add(g)}else m2=new Set([g]);Ie(!1,"Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s",d===A?"the componentWillUnmount method":"a useEffect cleanup function",Jn(f))}}var Vc;if(j0){var I_=null;Vc=function(f,d,g){var S=ey(I_,d);try{return up(f,d,g)}catch(I){if(I!==null&&typeof I=="object"&&typeof I.then=="function")throw I;if(dt(),j1(),ym(d),ey(d,S),Ft&&d.mode&Cr&&zd(d),as(null,up,null,f,d,g),Gl()){var x=Yl();throw x}else throw I}}}else Vc=up;var Gm=!1,Ym=!1;function B_(f){if(f.tag===A)switch($n){case"getChildContext":if(Ym)return;Ie(!1,"setState(...): Cannot call setState() inside getChildContext()"),Ym=!0;break;case"render":if(Gm)return;Ie(!1,"Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Gm=!0;break}}var Zs={current:!1};function Pp(f){nl===!0&&Dp.current===!0&&Zs.current!==!0&&Ie(!1,`It looks like you're using the wrong act() around your test interactions. +Be sure to use the matching version of act() corresponding to your renderer: + +// for react-dom: +import {act} from 'react-dom/test-utils'; +// ... +act(() => ...); + +// for react-test-renderer: +import TestRenderer from 'react-test-renderer'; +const {act} = TestRenderer; +// ... +act(() => ...);%s`,Jn(f))}function Km(f){nl===!0&&(f.mode&zn)!==lr&&Dp.current===!1&&Zs.current===!1&&Ie(!1,`An update to %s ran an effect, but was not wrapped in act(...). + +When testing, code that causes React state updates should be wrapped into act(...): + +act(() => { + /* fire events that update state */ +}); +/* assert on the output */ + +This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act%s`,Rt(f.type),Jn(f))}function U_(f){nl===!0&&Rn===Oi&&Dp.current===!1&&Zs.current===!1&&Ie(!1,`An update to %s inside a test was not wrapped in act(...). + +When testing, code that causes React state updates should be wrapped into act(...): + +act(() => { + /* fire events that update state */ +}); +/* assert on the output */ + +This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act%s`,Rt(f.type),Jn(f))}var j_=U_,Ip=!1;function z_(f){Ip===!1&&t.unstable_flushAllWithoutAsserting===void 0&&(f.mode&Mr||f.mode&qr?(Ip=!0,Ie(!1,`In Concurrent or Sync modes, the "scheduler" module needs to be mocked to guarantee consistent behaviour across tests and browsers. For example, with jest: +jest.mock('scheduler', () => require('scheduler/unstable_mock')); + +For more info, visit https://fb.me/react-mock-scheduler`)):di===!0&&(Ip=!0,Ie(!1,`Starting from React v17, the "scheduler" module will need to be mocked to guarantee consistent behaviour across tests and browsers. For example, with jest: +jest.mock('scheduler', () => require('scheduler/unstable_mock')); + +For more info, visit https://fb.me/react-mock-scheduler`)))}var Kl=null;function q_(f){{var d=Mt();if((f.mode&qr)!==Kr&&(d===O0||d===Vr))for(var g=f;g!==null;){var S=g.alternate;if(S!==null)switch(g.tag){case A:var x=S.updateQueue;if(x!==null)for(var I=x.firstUpdate;I!==null;){var j=I.priority;if(j===O0||j===Vr){Kl===null?Kl=new Set([Rt(g.type)]):Kl.add(Rt(g.type));break}I=I.next}break;case M:case ae:case Z:if(g.memoizedState!==null&&g.memoizedState.baseUpdate!==null)for(var X=g.memoizedState.baseUpdate;X!==null;){var $=X.priority;if($===O0||$===Vr){Kl===null?Kl=new Set([Rt(g.type)]):Kl.add(Rt(g.type));break}if(X.next===g.memoizedState.baseUpdate)break;X=X.next}break;default:break}g=g.return}}}function Bp(){if(Kl!==null){var f=[];Kl.forEach(function(d){return f.push(d)}),Kl=null,f.length>0&&Ie(!1,`%s triggered a user-blocking update that suspended. + +The fix is to split the update into multiple parts: a user-blocking update to provide immediate feedback, and another update that triggers the bulk of the changes. + +Refer to the documentation for useTransition to learn how to implement this pattern.`,f.sort().join(", "))}}function Up(f,d){return d*1e3+f.interactionThreadID}function cs(f){!hn||(Ks===null?Ks=[f]:Ks.push(f))}function Xm(f,d,g){if(!!hn&&g.size>0){var S=f.pendingInteractionMap,x=S.get(d);x!=null?g.forEach(function(X){x.has(X)||X.__count++,x.add(X)}):(S.set(d,new Set(g)),g.forEach(function(X){X.__count++}));var I=O.__subscriberRef.current;if(I!==null){var j=Up(f,d);I.onWorkScheduled(g,j)}}}function ds(f,d){!hn||Xm(f,d,O.__interactionsRef.current)}function jp(f,d){if(!!hn){var g=new Set;if(f.pendingInteractionMap.forEach(function(I,j){j>=d&&I.forEach(function(X){return g.add(X)})}),f.memoizedInteractions=g,g.size>0){var S=O.__subscriberRef.current;if(S!==null){var x=Up(f,d);try{S.onWorkStarted(g,x)}catch(I){Qt(Vr,function(){throw I})}}}}}function Qm(f,d){if(!!hn){var g=f.firstPendingTime,S;try{if(S=O.__subscriberRef.current,S!==null&&f.memoizedInteractions.size>0){var x=Up(f,d);S.onWorkStopped(f.memoizedInteractions,x)}}catch(j){Qt(Vr,function(){throw j})}finally{var I=f.pendingInteractionMap;I.forEach(function(j,X){X>g&&(I.delete(X),j.forEach(function($){if($.__count--,S!==null&&$.__count===0)try{S.onInteractionScheduledWorkCompleted($)}catch(Re){Qt(Vr,function(){throw Re})}}))})}}}var zp=null,qp=null,y2=!1,H_=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Jm(f){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var d=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(d.isDisabled)return!0;if(!d.supportsFiber)return Ie(!1,"The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://fb.me/react-devtools"),!0;try{var g=d.inject(f);zp=function(S,x){try{var I=(S.current.effectTag&hr)===hr;if(Ft){var j=u_(),X=E1(j,x);d.onCommitFiberRoot(g,S,X,I)}else d.onCommitFiberRoot(g,S,void 0,I)}catch($){y2||(y2=!0,Ie(!1,"React DevTools encountered an error: %s",$))}},qp=function(S){try{d.onCommitFiberUnmount(g,S)}catch(x){y2||(y2=!0,Ie(!1,"React DevTools encountered an error: %s",x))}}}catch(S){Ie(!1,"React DevTools encountered an error: %s.",S)}return!0}function W_(f,d){typeof zp=="function"&&zp(f,d)}function V_(f){typeof qp=="function"&&qp(f)}var Hp;{Hp=!1;try{var Zm=Object.preventExtensions({}),G_=new Map([[Zm,null]]),Y_=new Set([Zm]);G_.set(0,0),Y_.add(0)}catch{Hp=!0}}var K_=1;function X_(f,d,g,S){this.tag=f,this.key=g,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=d,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=S,this.effectTag=Kr,this.nextEffect=null,this.firstEffect=null,this.lastEffect=null,this.expirationTime=gt,this.childExpirationTime=gt,this.alternate=null,Ft&&(this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0),or&&(this._debugID=K_++,this._debugIsCurrentlyTiming=!1),this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!Hp&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var uu=function(f,d,g,S){return new X_(f,d,g,S)};function Gc(f){var d=f.prototype;return!!(d&&d.isReactComponent)}function Q_(f){return typeof f=="function"&&!Gc(f)&&f.defaultProps===void 0}function J_(f){if(typeof f=="function")return Gc(f)?A:M;if(f!=null){var d=f.$$typeof;if(d===pn)return ae;if(d===Ot)return pe}return T}function ps(f,d,g){var S=f.alternate;S===null?(S=uu(f.tag,d,f.key,f.mode),S.elementType=f.elementType,S.type=f.type,S.stateNode=f.stateNode,S._debugID=f._debugID,S._debugSource=f._debugSource,S._debugOwner=f._debugOwner,S._debugHookTypes=f._debugHookTypes,S.alternate=f,f.alternate=S):(S.pendingProps=d,S.effectTag=Kr,S.nextEffect=null,S.firstEffect=null,S.lastEffect=null,Ft&&(S.actualDuration=0,S.actualStartTime=-1)),S.childExpirationTime=f.childExpirationTime,S.expirationTime=f.expirationTime,S.child=f.child,S.memoizedProps=f.memoizedProps,S.memoizedState=f.memoizedState,S.updateQueue=f.updateQueue;var x=f.dependencies;switch(S.dependencies=x===null?null:{expirationTime:x.expirationTime,firstContext:x.firstContext,responders:x.responders},S.sibling=f.sibling,S.index=f.index,S.ref=f.ref,Ft&&(S.selfBaseDuration=f.selfBaseDuration,S.treeBaseDuration=f.treeBaseDuration),S._debugNeedsRemount=f._debugNeedsRemount,S.tag){case T:case M:case Z:S.type=Uo(f.type);break;case A:S.type=Ps(f.type);break;case ae:S.type=Is(f.type);break;default:break}return S}function Z_(f,d){f.effectTag&=br,f.nextEffect=null,f.firstEffect=null,f.lastEffect=null;var g=f.alternate;if(g===null)f.childExpirationTime=gt,f.expirationTime=d,f.child=null,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,Ft&&(f.selfBaseDuration=0,f.treeBaseDuration=0);else{f.childExpirationTime=g.childExpirationTime,f.expirationTime=g.expirationTime,f.child=g.child,f.memoizedProps=g.memoizedProps,f.memoizedState=g.memoizedState,f.updateQueue=g.updateQueue;var S=g.dependencies;f.dependencies=S===null?null:{expirationTime:S.expirationTime,firstContext:S.firstContext,responders:S.responders},Ft&&(f.selfBaseDuration=g.selfBaseDuration,f.treeBaseDuration=g.treeBaseDuration)}return f}function $_(f){var d;return f===co?d=qr|Mr|zn:f===K0?d=Mr|zn:d=lr,Ft&&H_&&(d|=Cr),uu(P,null,null,d)}function Wp(f,d,g,S,x,I){var j,X=T,$=f;if(typeof f=="function")Gc(f)?(X=A,$=Ps($)):$=Uo($);else if(typeof f=="string")X=z;else{e:switch(f){case ee:return Xl(g.children,x,I,d);case Xt:X=de,x|=qr|Mr|zn;break;case Oe:X=de,x|=zn;break;case et:return tE(g,x,I,d);case Nn:return nE(g,x,I,d);case Wt:return rE(g,x,I,d);default:{if(typeof f=="object"&&f!==null)switch(f.$$typeof){case ct:X=le;break e;case Lt:X=ye;break e;case pn:X=ae,$=Is($);break e;case Ot:X=pe;break e;case Wn:X=Ae,$=null;break e;case w:if(xt)return $m(f,g,x,I,d);break;case wn:if(Li)return eE(f,g,x,I,d)}var Re="";{(f===void 0||typeof f=="object"&&f!==null&&Object.keys(f).length===0)&&(Re+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Pe=S?Rt(S.type):null;Pe&&(Re+=` + +Check the render method of \``+Pe+"`.")}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(f==null?f:typeof f)+"."+Re)}}}return j=uu(X,g,d,x),j.elementType=f,j.type=$,j.expirationTime=I,j}function Vp(f,d,g){var S=null;S=f._owner;var x=f.type,I=f.key,j=f.props,X=Wp(x,I,j,S,d,g);return X._debugSource=f._source,X._debugOwner=f._owner,X}function Xl(f,d,g,S){var x=uu(v,f,S,d);return x.expirationTime=g,x}function $m(f,d,g,S,x){var I=uu(st,d,x,g);return I.elementType=f,I.type=f,I.expirationTime=S,I}function eE(f,d,g,S,x){var I=uu(qe,d,x,g);return I.type=f,I.elementType=f,I.expirationTime=S,I}function tE(f,d,g,S){(typeof f.id!="string"||typeof f.onRender!="function")&&Ie(!1,'Profiler must specify an "id" string and "onRender" function as props');var x=uu(Me,f,S,d|Cr);return x.elementType=et,x.type=et,x.expirationTime=g,x}function nE(f,d,g,S){var x=uu(fe,f,S,d);return x.type=Nn,x.elementType=Nn,x.expirationTime=g,x}function rE(f,d,g,S){var x=uu(ot,f,S,d);return x.type=Wt,x.elementType=Wt,x.expirationTime=g,x}function Gp(f,d,g){var S=uu(Q,f,null,d);return S.expirationTime=g,S}function iE(){var f=uu(z,null,null,lr);return f.elementType="DELETED",f.type="DELETED",f}function oE(f){var d=uu(He,null,null,lr);return d.stateNode=f,d}function Yp(f,d,g){var S=f.children!==null?f.children:[],x=uu(U,S,f.key,d);return x.expirationTime=g,x.stateNode={containerInfo:f.containerInfo,pendingChildren:null,implementation:f.implementation},x}function ey(f,d){return f===null&&(f=uu(T,null,null,lr)),f.tag=d.tag,f.key=d.key,f.elementType=d.elementType,f.type=d.type,f.stateNode=d.stateNode,f.return=d.return,f.child=d.child,f.sibling=d.sibling,f.index=d.index,f.ref=d.ref,f.pendingProps=d.pendingProps,f.memoizedProps=d.memoizedProps,f.updateQueue=d.updateQueue,f.memoizedState=d.memoizedState,f.dependencies=d.dependencies,f.mode=d.mode,f.effectTag=d.effectTag,f.nextEffect=d.nextEffect,f.firstEffect=d.firstEffect,f.lastEffect=d.lastEffect,f.expirationTime=d.expirationTime,f.childExpirationTime=d.childExpirationTime,f.alternate=d.alternate,Ft&&(f.actualDuration=d.actualDuration,f.actualStartTime=d.actualStartTime,f.selfBaseDuration=d.selfBaseDuration,f.treeBaseDuration=d.treeBaseDuration),f._debugID=d._debugID,f._debugSource=d._debugSource,f._debugOwner=d._debugOwner,f._debugIsCurrentlyTiming=d._debugIsCurrentlyTiming,f._debugNeedsRemount=d._debugNeedsRemount,f._debugHookTypes=d._debugHookTypes,f}function uE(f,d,g){this.tag=d,this.current=null,this.containerInfo=f,this.pendingChildren=null,this.pingCache=null,this.finishedExpirationTime=gt,this.finishedWork=null,this.timeoutHandle=yu,this.context=null,this.pendingContext=null,this.hydrate=g,this.callbackNode=null,this.callbackPriority=M0,this.firstPendingTime=gt,this.firstSuspendedTime=gt,this.lastSuspendedTime=gt,this.nextKnownPendingLevel=gt,this.lastPingedTime=gt,this.lastExpiredTime=gt,hn&&(this.interactionThreadID=O.unstable_getThreadID(),this.memoizedInteractions=new Set,this.pendingInteractionMap=new Map),ti&&(this.hydrationCallbacks=null)}function lE(f,d,g,S){var x=new uE(f,d,g);ti&&(x.hydrationCallbacks=S);var I=$_(d);return x.current=I,I.stateNode=x,x}function ty(f,d){var g=f.firstSuspendedTime,S=f.lastSuspendedTime;return g!==gt&&g>=d&&S<=d}function Aa(f,d){var g=f.firstSuspendedTime,S=f.lastSuspendedTime;gd||g===gt)&&(f.lastSuspendedTime=d),d<=f.lastPingedTime&&(f.lastPingedTime=gt),d<=f.lastExpiredTime&&(f.lastExpiredTime=gt)}function ny(f,d){var g=f.firstPendingTime;d>g&&(f.firstPendingTime=d);var S=f.firstSuspendedTime;S!==gt&&(d>=S?f.firstSuspendedTime=f.lastSuspendedTime=f.nextKnownPendingLevel=gt:d>=f.lastSuspendedTime&&(f.lastSuspendedTime=d+1),d>f.nextKnownPendingLevel&&(f.nextKnownPendingLevel=d))}function aE(f,d,g){f.firstPendingTime=g,d<=f.lastSuspendedTime?f.firstSuspendedTime=f.lastSuspendedTime=f.nextKnownPendingLevel=gt:d<=f.firstSuspendedTime&&(f.firstSuspendedTime=d-1),d<=f.lastPingedTime&&(f.lastPingedTime=gt),d<=f.lastExpiredTime&&(f.lastExpiredTime=gt)}function Yc(f,d){var g=f.lastExpiredTime;(g===gt||g>d)&&(f.lastExpiredTime=d)}var sE={debugTool:null},g2=sE,Kp,Xp;Kp=!1,Xp={};function fE(f){if(!f)return dn;var d=kt(f),g=Hu(d);if(d.tag===A){var S=d.type;if(ri(S))return fo(d,S,g)}return g}function Qp(f){var d=kt(f);if(d===void 0)throw typeof f.render=="function"?Error("Unable to find node on an unmounted component."):Error("Argument appears to not be a ReactComponent. Keys: "+Object.keys(f));var g=Ro(d);return g===null?null:g.stateNode}function cE(f,d){{var g=kt(f);if(g===void 0)throw typeof f.render=="function"?Error("Unable to find node on an unmounted component."):Error("Argument appears to not be a ReactComponent. Keys: "+Object.keys(f));var S=Ro(g);if(S===null)return null;if(S.mode&zn){var x=Rt(g.type)||"Component";Xp[x]||(Xp[x]=!0,g.mode&zn?Ie(!1,"%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node%s",d,d,x,Jn(S)):Ie(!1,"%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node%s",d,d,x,Jn(S)))}return S.stateNode}return Qp(f)}function dE(f,d,g,S){return lE(f,d,g,S)}function ry(f,d,g,S){var x=d.current,I=Au();typeof jest<"u"&&(z_(x),Pp(x));var j=ho(),X=Xs(I,x,j);g2.debugTool&&(x.alternate===null?g2.debugTool.onMountContainer(d):f===null?g2.debugTool.onUnmountContainer(d):g2.debugTool.onUpdateContainer(d));var $=fE(g);d.context===null?d.context=$:d.pendingContext=$,$n==="render"&&nn!==null&&!Kp&&(Kp=!0,Ie(!1,`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate. + +Check the render method of %s.`,Rt(nn.type)||"Unknown"));var Re=ji(X,j);return Re.payload={element:f},S=S===void 0?null:S,S!==null&&(typeof S!="function"&&Ie(!1,"render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",S),Re.callback=S),ts(x,Re),iu(x,X),X}function pE(f){var d=f.current;if(!d.child)return null;switch(d.child.tag){case z:return Ao(d.child.stateNode);default:return d.child.stateNode}}function hE(f){switch(f.tag){case P:var d=f.stateNode;d.hydrate&&f_(d,d.firstPendingTime);break;case fe:kp(function(){return iu(f,On)});var g=Za(Au());_2(f,g);break}}function iy(f,d){var g=f.memoizedState;g!==null&&g.dehydrated!==null&&g.retryTime=d.length)return S;var x=d[g],I=Array.isArray(f)?f.slice():c({},f);return I[x]=$p(f[x],d,g+1,S),I},fy=function(f,d,g){return $p(f,d,0,g)};uy=function(f,d,g,S){for(var x=f.memoizedState;x!==null&&d>0;)x=x.next,d--;if(x!==null){var I=fy(x.memoizedState,g,S);x.memoizedState=I,x.baseState=I,f.memoizedProps=c({},f.memoizedProps),iu(f,On)}},ly=function(f,d,g){f.pendingProps=fy(f.memoizedProps,d,g),f.alternate&&(f.alternate.pendingProps=f.pendingProps),iu(f,On)},ay=function(f){iu(f,On)},sy=function(f){Zp=f}}function gE(f){var d=f.findFiberByHostInstance,g=Ye.ReactCurrentDispatcher;return Jm(c({},f,{overrideHookState:uy,overrideProps:ly,setSuspenseHandler:sy,scheduleUpdate:ay,currentDispatcherRef:g,findHostInstanceByFiber:function(S){var x=Ro(S);return x===null?null:x.stateNode},findFiberByHostInstance:function(S){return d?d(S):null},findHostInstancesForRefresh:x1,scheduleRefresh:Da,scheduleRoot:C1,setRefreshHandler:kf,getCurrentFiber:function(){return nn}}))}var cy=Object.freeze({createContainer:dE,updateContainer:ry,batchedEventUpdates:h_,batchedUpdates:p_,unbatchedUpdates:v_,deferredUpdates:c_,syncUpdates:Mm,discreteUpdates:Nm,flushDiscreteUpdates:Om,flushControlled:m_,flushSync:kp,flushPassiveEffects:fs,IsThisRendererActing:Zs,getPublicRootInstance:pE,attemptSynchronousHydration:hE,attemptUserBlockingHydration:vE,attemptContinuousHydration:Jp,attemptHydrationAtCurrentPriority:mE,findHostInstance:Qp,findHostInstanceWithWarning:cE,findHostInstanceWithNoPortals:yE,shouldSuspend:oy,injectIntoDevTools:gE}),_E=cy.default||cy;Mh.exports=_E;var EE=Mh.exports;return Mh.exports=u,EE})});var G9=re((wre,h3)=>{"use strict";process.env.NODE_ENV==="production"?h3.exports=z9():h3.exports=V9()});var K9=re((Sre,Y9)=>{"use strict";var RX={ALIGN_COUNT:8,ALIGN_AUTO:0,ALIGN_FLEX_START:1,ALIGN_CENTER:2,ALIGN_FLEX_END:3,ALIGN_STRETCH:4,ALIGN_BASELINE:5,ALIGN_SPACE_BETWEEN:6,ALIGN_SPACE_AROUND:7,DIMENSION_COUNT:2,DIMENSION_WIDTH:0,DIMENSION_HEIGHT:1,DIRECTION_COUNT:3,DIRECTION_INHERIT:0,DIRECTION_LTR:1,DIRECTION_RTL:2,DISPLAY_COUNT:2,DISPLAY_FLEX:0,DISPLAY_NONE:1,EDGE_COUNT:9,EDGE_LEFT:0,EDGE_TOP:1,EDGE_RIGHT:2,EDGE_BOTTOM:3,EDGE_START:4,EDGE_END:5,EDGE_HORIZONTAL:6,EDGE_VERTICAL:7,EDGE_ALL:8,EXPERIMENTAL_FEATURE_COUNT:1,EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS:0,FLEX_DIRECTION_COUNT:4,FLEX_DIRECTION_COLUMN:0,FLEX_DIRECTION_COLUMN_REVERSE:1,FLEX_DIRECTION_ROW:2,FLEX_DIRECTION_ROW_REVERSE:3,JUSTIFY_COUNT:6,JUSTIFY_FLEX_START:0,JUSTIFY_CENTER:1,JUSTIFY_FLEX_END:2,JUSTIFY_SPACE_BETWEEN:3,JUSTIFY_SPACE_AROUND:4,JUSTIFY_SPACE_EVENLY:5,LOG_LEVEL_COUNT:6,LOG_LEVEL_ERROR:0,LOG_LEVEL_WARN:1,LOG_LEVEL_INFO:2,LOG_LEVEL_DEBUG:3,LOG_LEVEL_VERBOSE:4,LOG_LEVEL_FATAL:5,MEASURE_MODE_COUNT:3,MEASURE_MODE_UNDEFINED:0,MEASURE_MODE_EXACTLY:1,MEASURE_MODE_AT_MOST:2,NODE_TYPE_COUNT:2,NODE_TYPE_DEFAULT:0,NODE_TYPE_TEXT:1,OVERFLOW_COUNT:3,OVERFLOW_VISIBLE:0,OVERFLOW_HIDDEN:1,OVERFLOW_SCROLL:2,POSITION_TYPE_COUNT:2,POSITION_TYPE_RELATIVE:0,POSITION_TYPE_ABSOLUTE:1,PRINT_OPTIONS_COUNT:3,PRINT_OPTIONS_LAYOUT:1,PRINT_OPTIONS_STYLE:2,PRINT_OPTIONS_CHILDREN:4,UNIT_COUNT:4,UNIT_UNDEFINED:0,UNIT_POINT:1,UNIT_PERCENT:2,UNIT_AUTO:3,WRAP_COUNT:3,WRAP_NO_WRAP:0,WRAP_WRAP:1,WRAP_WRAP_REVERSE:2};Y9.exports=RX});var Z9=re((Tre,J9)=>{"use strict";var AX=Object.assign||function(u){for(var l=1;l"}}]),u}(),X9=function(){pg(u,null,[{key:"fromJS",value:function(c){var p=c.width,_=c.height;return new u(p,_)}}]);function u(l,c){m3(this,u),this.width=l,this.height=c}return pg(u,[{key:"fromJS",value:function(c){c(this.width,this.height)}},{key:"toString",value:function(){return""}}]),u}(),Q9=function(){function u(l,c){m3(this,u),this.unit=l,this.value=c}return pg(u,[{key:"fromJS",value:function(c){c(this.unit,this.value)}},{key:"toString",value:function(){switch(this.unit){case Ua.UNIT_POINT:return String(this.value);case Ua.UNIT_PERCENT:return this.value+"%";case Ua.UNIT_AUTO:return"auto";default:return this.value+"?"}}},{key:"valueOf",value:function(){return this.value}}]),u}();J9.exports=function(u,l){function c(O,M,A){var T=O[M];O[M]=function(){for(var P=arguments.length,U=Array(P),z=0;z1?U-1:0),Q=1;Q1&&arguments[1]!==void 0?arguments[1]:NaN,A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:NaN,T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Ua.DIRECTION_LTR;return O.call(this,M,A,T)}),AX({Config:l.Config,Node:l.Node,Layout:u("Layout",kX),Size:u("Size",X9),Value:u("Value",Q9),getInstanceCount:function(){return l.getInstanceCount.apply(l,arguments)}},Ua)}});var $9=re((exports,module)=>{(function(u,l){typeof define=="function"&&define.amd?define([],function(){return l}):typeof module=="object"&&module.exports?module.exports=l:(u.nbind=u.nbind||{}).init=l})(exports,function(Module,cb){typeof Module=="function"&&(cb=Module,Module={}),Module.onRuntimeInitialized=function(u,l){return function(){u&&u.apply(this,arguments);try{Module.ccall("nbind_init")}catch(c){l(c);return}l(null,{bind:Module._nbind_value,reflect:Module.NBind.reflect,queryType:Module.NBind.queryType,toggleLightGC:Module.toggleLightGC,lib:Module})}}(Module.onRuntimeInitialized,cb);var Module;Module||(Module=(typeof Module<"u"?Module:null)||{});var moduleOverrides={};for(var key in Module)Module.hasOwnProperty(key)&&(moduleOverrides[key]=Module[key]);var ENVIRONMENT_IS_WEB=!1,ENVIRONMENT_IS_WORKER=!1,ENVIRONMENT_IS_NODE=!1,ENVIRONMENT_IS_SHELL=!1;if(Module.ENVIRONMENT)if(Module.ENVIRONMENT==="WEB")ENVIRONMENT_IS_WEB=!0;else if(Module.ENVIRONMENT==="WORKER")ENVIRONMENT_IS_WORKER=!0;else if(Module.ENVIRONMENT==="NODE")ENVIRONMENT_IS_NODE=!0;else if(Module.ENVIRONMENT==="SHELL")ENVIRONMENT_IS_SHELL=!0;else throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.");else ENVIRONMENT_IS_WEB=typeof window=="object",ENVIRONMENT_IS_WORKER=typeof importScripts=="function",ENVIRONMENT_IS_NODE=typeof process=="object"&&typeof Kn=="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER,ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE){Module.print||(Module.print=console.log),Module.printErr||(Module.printErr=console.warn);var nodeFS,nodePath;Module.read=function(l,c){nodeFS||(nodeFS={}("")),nodePath||(nodePath={}("")),l=nodePath.normalize(l);var p=nodeFS.readFileSync(l);return c?p:p.toString()},Module.readBinary=function(l){var c=Module.read(l,!0);return c.buffer||(c=new Uint8Array(c)),assert(c.buffer),c},Module.load=function(l){globalEval(read(l))},Module.thisProgram||(process.argv.length>1?Module.thisProgram=process.argv[1].replace(/\\/g,"/"):Module.thisProgram="unknown-program"),Module.arguments=process.argv.slice(2),typeof module<"u"&&(module.exports=Module),Module.inspect=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL)Module.print||(Module.print=print),typeof printErr<"u"&&(Module.printErr=printErr),typeof read<"u"?Module.read=read:Module.read=function(){throw"no read() available"},Module.readBinary=function(l){if(typeof readbuffer=="function")return new Uint8Array(readbuffer(l));var c=read(l,"binary");return assert(typeof c=="object"),c},typeof scriptArgs<"u"?Module.arguments=scriptArgs:typeof arguments<"u"&&(Module.arguments=arguments),typeof quit=="function"&&(Module.quit=function(u,l){quit(u)});else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(Module.read=function(l){var c=new XMLHttpRequest;return c.open("GET",l,!1),c.send(null),c.responseText},ENVIRONMENT_IS_WORKER&&(Module.readBinary=function(l){var c=new XMLHttpRequest;return c.open("GET",l,!1),c.responseType="arraybuffer",c.send(null),new Uint8Array(c.response)}),Module.readAsync=function(l,c,p){var _=new XMLHttpRequest;_.open("GET",l,!0),_.responseType="arraybuffer",_.onload=function(){_.status==200||_.status==0&&_.response?c(_.response):p()},_.onerror=p,_.send(null)},typeof arguments<"u"&&(Module.arguments=arguments),typeof console<"u")Module.print||(Module.print=function(l){console.log(l)}),Module.printErr||(Module.printErr=function(l){console.warn(l)});else{var TRY_USE_DUMP=!1;Module.print||(Module.print=TRY_USE_DUMP&&typeof dump<"u"?function(u){dump(u)}:function(u){})}ENVIRONMENT_IS_WORKER&&(Module.load=importScripts),typeof Module.setWindowTitle>"u"&&(Module.setWindowTitle=function(u){document.title=u})}else throw"Unknown runtime environment. Where are we?";function globalEval(u){eval.call(null,u)}!Module.load&&Module.read&&(Module.load=function(l){globalEval(Module.read(l))}),Module.print||(Module.print=function(){}),Module.printErr||(Module.printErr=Module.print),Module.arguments||(Module.arguments=[]),Module.thisProgram||(Module.thisProgram="./this.program"),Module.quit||(Module.quit=function(u,l){throw l}),Module.print=Module.print,Module.printErr=Module.printErr,Module.preRun=[],Module.postRun=[];for(var key in moduleOverrides)moduleOverrides.hasOwnProperty(key)&&(Module[key]=moduleOverrides[key]);moduleOverrides=void 0;var Runtime={setTempRet0:function(u){return tempRet0=u,u},getTempRet0:function(){return tempRet0},stackSave:function(){return STACKTOP},stackRestore:function(u){STACKTOP=u},getNativeTypeSize:function(u){switch(u){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(u[u.length-1]==="*")return Runtime.QUANTUM_SIZE;if(u[0]==="i"){var l=parseInt(u.substr(1));return assert(l%8===0),l/8}else return 0}}},getNativeFieldSize:function(u){return Math.max(Runtime.getNativeTypeSize(u),Runtime.QUANTUM_SIZE)},STACK_ALIGN:16,prepVararg:function(u,l){return l==="double"||l==="i64"?u&7&&(assert((u&7)===4),u+=4):assert((u&3)===0),u},getAlignSize:function(u,l,c){return!c&&(u=="i64"||u=="double")?8:u?Math.min(l||(u?Runtime.getNativeFieldSize(u):0),Runtime.QUANTUM_SIZE):Math.min(l,8)},dynCall:function(u,l,c){return c&&c.length?Module["dynCall_"+u].apply(null,[l].concat(c)):Module["dynCall_"+u].call(null,l)},functionPointers:[],addFunction:function(u){for(var l=0;l>2],c=(l+u+15|0)&-16;if(HEAP32[DYNAMICTOP_PTR>>2]=c,c>=TOTAL_MEMORY){var p=enlargeMemory();if(!p)return HEAP32[DYNAMICTOP_PTR>>2]=l,0}return l},alignMemory:function(u,l){var c=u=Math.ceil(u/(l||16))*(l||16);return c},makeBigInt:function(u,l,c){var p=c?+(u>>>0)+ +(l>>>0)*4294967296:+(u>>>0)+ +(l|0)*4294967296;return p},GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module.Runtime=Runtime;var ABORT=0,EXITSTATUS=0;function assert(u,l){u||abort("Assertion failed: "+l)}function getCFunc(ident){var func=Module["_"+ident];if(!func)try{func=eval("_"+ident)}catch(u){}return assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)"),func}var cwrap,ccall;(function(){var JSfuncs={stackSave:function(){Runtime.stackSave()},stackRestore:function(){Runtime.stackRestore()},arrayToC:function(u){var l=Runtime.stackAlloc(u.length);return writeArrayToMemory(u,l),l},stringToC:function(u){var l=0;if(u!=null&&u!==0){var c=(u.length<<2)+1;l=Runtime.stackAlloc(c),stringToUTF8(u,l,c)}return l}},toC={string:JSfuncs.stringToC,array:JSfuncs.arrayToC};ccall=function(l,c,p,_,t){var O=getCFunc(l),M=[],A=0;if(_)for(var T=0;T<_.length;T++){var P=toC[p[T]];P?(A===0&&(A=Runtime.stackSave()),M[T]=P(_[T])):M[T]=_[T]}var U=O.apply(null,M);if(c==="string"&&(U=Pointer_stringify(U)),A!==0){if(t&&t.async){EmterpreterAsync.asyncFinalizers.push(function(){Runtime.stackRestore(A)});return}Runtime.stackRestore(A)}return U};var sourceRegex=/^function\s*[a-zA-Z$_0-9]*\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/;function parseJSFunc(u){var l=u.toString().match(sourceRegex).slice(1);return{arguments:l[0],body:l[1],returnValue:l[2]}}var JSsource=null;function ensureJSsource(){if(!JSsource){JSsource={};for(var u in JSfuncs)JSfuncs.hasOwnProperty(u)&&(JSsource[u]=parseJSFunc(JSfuncs[u]))}}cwrap=function cwrap(ident,returnType,argTypes){argTypes=argTypes||[];var cfunc=getCFunc(ident),numericArgs=argTypes.every(function(u){return u==="number"}),numericRet=returnType!=="string";if(numericRet&&numericArgs)return cfunc;var argNames=argTypes.map(function(u,l){return"$"+l}),funcstr="(function("+argNames.join(",")+") {",nargs=argTypes.length;if(!numericArgs){ensureJSsource(),funcstr+="var stack = "+JSsource.stackSave.body+";";for(var i=0;i>0]=l;break;case"i8":HEAP8[u>>0]=l;break;case"i16":HEAP16[u>>1]=l;break;case"i32":HEAP32[u>>2]=l;break;case"i64":tempI64=[l>>>0,(tempDouble=l,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[u>>2]=tempI64[0],HEAP32[u+4>>2]=tempI64[1];break;case"float":HEAPF32[u>>2]=l;break;case"double":HEAPF64[u>>3]=l;break;default:abort("invalid type for setValue: "+c)}}Module.setValue=setValue;function getValue(u,l,c){switch(l=l||"i8",l.charAt(l.length-1)==="*"&&(l="i32"),l){case"i1":return HEAP8[u>>0];case"i8":return HEAP8[u>>0];case"i16":return HEAP16[u>>1];case"i32":return HEAP32[u>>2];case"i64":return HEAP32[u>>2];case"float":return HEAPF32[u>>2];case"double":return HEAPF64[u>>3];default:abort("invalid type for setValue: "+l)}return null}Module.getValue=getValue;var ALLOC_NORMAL=0,ALLOC_STACK=1,ALLOC_STATIC=2,ALLOC_DYNAMIC=3,ALLOC_NONE=4;Module.ALLOC_NORMAL=ALLOC_NORMAL,Module.ALLOC_STACK=ALLOC_STACK,Module.ALLOC_STATIC=ALLOC_STATIC,Module.ALLOC_DYNAMIC=ALLOC_DYNAMIC,Module.ALLOC_NONE=ALLOC_NONE;function allocate(u,l,c,p){var _,t;typeof u=="number"?(_=!0,t=u):(_=!1,t=u.length);var O=typeof l=="string"?l:null,M;if(c==ALLOC_NONE?M=p:M=[typeof _malloc=="function"?_malloc:Runtime.staticAlloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][c===void 0?ALLOC_STATIC:c](Math.max(t,O?1:l.length)),_){var p=M,A;for(assert((M&3)==0),A=M+(t&-4);p>2]=0;for(A=M+t;p>0]=0;return M}if(O==="i8")return u.subarray||u.slice?HEAPU8.set(u,M):HEAPU8.set(new Uint8Array(u),M),M;for(var T=0,P,U,z;T>0],c|=p,!(p==0&&!l||(_++,l&&_==l)););l||(l=_);var t="";if(c<128){for(var O=1024,M;l>0;)M=String.fromCharCode.apply(String,HEAPU8.subarray(u,u+Math.min(l,O))),t=t?t+M:M,u+=O,l-=O;return t}return Module.UTF8ToString(u)}Module.Pointer_stringify=Pointer_stringify;function AsciiToString(u){for(var l="";;){var c=HEAP8[u++>>0];if(!c)return l;l+=String.fromCharCode(c)}}Module.AsciiToString=AsciiToString;function stringToAscii(u,l){return writeAsciiToMemory(u,l,!1)}Module.stringToAscii=stringToAscii;var UTF8Decoder=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function UTF8ArrayToString(u,l){for(var c=l;u[c];)++c;if(c-l>16&&u.subarray&&UTF8Decoder)return UTF8Decoder.decode(u.subarray(l,c));for(var p,_,t,O,M,A,T="";;){if(p=u[l++],!p)return T;if(!(p&128)){T+=String.fromCharCode(p);continue}if(_=u[l++]&63,(p&224)==192){T+=String.fromCharCode((p&31)<<6|_);continue}if(t=u[l++]&63,(p&240)==224?p=(p&15)<<12|_<<6|t:(O=u[l++]&63,(p&248)==240?p=(p&7)<<18|_<<12|t<<6|O:(M=u[l++]&63,(p&252)==248?p=(p&3)<<24|_<<18|t<<12|O<<6|M:(A=u[l++]&63,p=(p&1)<<30|_<<24|t<<18|O<<12|M<<6|A))),p<65536)T+=String.fromCharCode(p);else{var P=p-65536;T+=String.fromCharCode(55296|P>>10,56320|P&1023)}}}Module.UTF8ArrayToString=UTF8ArrayToString;function UTF8ToString(u){return UTF8ArrayToString(HEAPU8,u)}Module.UTF8ToString=UTF8ToString;function stringToUTF8Array(u,l,c,p){if(!(p>0))return 0;for(var _=c,t=c+p-1,O=0;O=55296&&M<=57343&&(M=65536+((M&1023)<<10)|u.charCodeAt(++O)&1023),M<=127){if(c>=t)break;l[c++]=M}else if(M<=2047){if(c+1>=t)break;l[c++]=192|M>>6,l[c++]=128|M&63}else if(M<=65535){if(c+2>=t)break;l[c++]=224|M>>12,l[c++]=128|M>>6&63,l[c++]=128|M&63}else if(M<=2097151){if(c+3>=t)break;l[c++]=240|M>>18,l[c++]=128|M>>12&63,l[c++]=128|M>>6&63,l[c++]=128|M&63}else if(M<=67108863){if(c+4>=t)break;l[c++]=248|M>>24,l[c++]=128|M>>18&63,l[c++]=128|M>>12&63,l[c++]=128|M>>6&63,l[c++]=128|M&63}else{if(c+5>=t)break;l[c++]=252|M>>30,l[c++]=128|M>>24&63,l[c++]=128|M>>18&63,l[c++]=128|M>>12&63,l[c++]=128|M>>6&63,l[c++]=128|M&63}}return l[c]=0,c-_}Module.stringToUTF8Array=stringToUTF8Array;function stringToUTF8(u,l,c){return stringToUTF8Array(u,HEAPU8,l,c)}Module.stringToUTF8=stringToUTF8;function lengthBytesUTF8(u){for(var l=0,c=0;c=55296&&p<=57343&&(p=65536+((p&1023)<<10)|u.charCodeAt(++c)&1023),p<=127?++l:p<=2047?l+=2:p<=65535?l+=3:p<=2097151?l+=4:p<=67108863?l+=5:l+=6}return l}Module.lengthBytesUTF8=lengthBytesUTF8;var UTF16Decoder=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0;function demangle(u){var l=Module.___cxa_demangle||Module.__cxa_demangle;if(l){try{var c=u.substr(1),p=lengthBytesUTF8(c)+1,_=_malloc(p);stringToUTF8(c,_,p);var t=_malloc(4),O=l(_,0,0,t);if(getValue(t,"i32")===0&&O)return Pointer_stringify(O)}catch{}finally{_&&_free(_),t&&_free(t),O&&_free(O)}return u}return Runtime.warnOnce("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling"),u}function demangleAll(u){var l=/__Z[\w\d_]+/g;return u.replace(l,function(c){var p=demangle(c);return c===p?c:c+" ["+p+"]"})}function jsStackTrace(){var u=new Error;if(!u.stack){try{throw new Error(0)}catch(l){u=l}if(!u.stack)return"(no stack trace available)"}return u.stack.toString()}function stackTrace(){var u=jsStackTrace();return Module.extraStackTrace&&(u+=` +`+Module.extraStackTrace()),demangleAll(u)}Module.stackTrace=stackTrace;var HEAP,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferViews(){Module.HEAP8=HEAP8=new Int8Array(buffer),Module.HEAP16=HEAP16=new Int16Array(buffer),Module.HEAP32=HEAP32=new Int32Array(buffer),Module.HEAPU8=HEAPU8=new Uint8Array(buffer),Module.HEAPU16=HEAPU16=new Uint16Array(buffer),Module.HEAPU32=HEAPU32=new Uint32Array(buffer),Module.HEAPF32=HEAPF32=new Float32Array(buffer),Module.HEAPF64=HEAPF64=new Float64Array(buffer)}var STATIC_BASE,STATICTOP,staticSealed,STACK_BASE,STACKTOP,STACK_MAX,DYNAMIC_BASE,DYNAMICTOP_PTR;STATIC_BASE=STATICTOP=STACK_BASE=STACKTOP=STACK_MAX=DYNAMIC_BASE=DYNAMICTOP_PTR=0,staticSealed=!1;function abortOnCannotGrowMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+TOTAL_MEMORY+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}function enlargeMemory(){abortOnCannotGrowMemory()}var TOTAL_STACK=Module.TOTAL_STACK||5242880,TOTAL_MEMORY=Module.TOTAL_MEMORY||134217728;TOTAL_MEMORY0;){var l=u.shift();if(typeof l=="function"){l();continue}var c=l.func;typeof c=="number"?l.arg===void 0?Module.dynCall_v(c):Module.dynCall_vi(c,l.arg):c(l.arg===void 0?null:l.arg)}}var __ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATEXIT__=[],__ATPOSTRUN__=[],runtimeInitialized=!1,runtimeExited=!1;function preRun(){if(Module.preRun)for(typeof Module.preRun=="function"&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){runtimeInitialized||(runtimeInitialized=!0,callRuntimeCallbacks(__ATINIT__))}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__),runtimeExited=!0}function postRun(){if(Module.postRun)for(typeof Module.postRun=="function"&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(u){__ATPRERUN__.unshift(u)}Module.addOnPreRun=addOnPreRun;function addOnInit(u){__ATINIT__.unshift(u)}Module.addOnInit=addOnInit;function addOnPreMain(u){__ATMAIN__.unshift(u)}Module.addOnPreMain=addOnPreMain;function addOnExit(u){__ATEXIT__.unshift(u)}Module.addOnExit=addOnExit;function addOnPostRun(u){__ATPOSTRUN__.unshift(u)}Module.addOnPostRun=addOnPostRun;function intArrayFromString(u,l,c){var p=c>0?c:lengthBytesUTF8(u)+1,_=new Array(p),t=stringToUTF8Array(u,_,0,_.length);return l&&(_.length=t),_}Module.intArrayFromString=intArrayFromString;function intArrayToString(u){for(var l=[],c=0;c255&&(p&=255),l.push(String.fromCharCode(p))}return l.join("")}Module.intArrayToString=intArrayToString;function writeStringToMemory(u,l,c){Runtime.warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!");var p,_;c&&(_=l+lengthBytesUTF8(u),p=HEAP8[_]),stringToUTF8(u,l,1/0),c&&(HEAP8[_]=p)}Module.writeStringToMemory=writeStringToMemory;function writeArrayToMemory(u,l){HEAP8.set(u,l)}Module.writeArrayToMemory=writeArrayToMemory;function writeAsciiToMemory(u,l,c){for(var p=0;p>0]=u.charCodeAt(p);c||(HEAP8[l>>0]=0)}if(Module.writeAsciiToMemory=writeAsciiToMemory,(!Math.imul||Math.imul(4294967295,5)!==-5)&&(Math.imul=function u(l,c){var p=l>>>16,_=l&65535,t=c>>>16,O=c&65535;return _*O+(p*O+_*t<<16)|0}),Math.imul=Math.imul,!Math.fround){var froundBuffer=new Float32Array(1);Math.fround=function(u){return froundBuffer[0]=u,froundBuffer[0]}}Math.fround=Math.fround,Math.clz32||(Math.clz32=function(u){u=u>>>0;for(var l=0;l<32;l++)if(u&1<<31-l)return l;return 32}),Math.clz32=Math.clz32,Math.trunc||(Math.trunc=function(u){return u<0?Math.ceil(u):Math.floor(u)}),Math.trunc=Math.trunc;var Math_abs=Math.abs,Math_cos=Math.cos,Math_sin=Math.sin,Math_tan=Math.tan,Math_acos=Math.acos,Math_asin=Math.asin,Math_atan=Math.atan,Math_atan2=Math.atan2,Math_exp=Math.exp,Math_log=Math.log,Math_sqrt=Math.sqrt,Math_ceil=Math.ceil,Math_floor=Math.floor,Math_pow=Math.pow,Math_imul=Math.imul,Math_fround=Math.fround,Math_round=Math.round,Math_min=Math.min,Math_clz32=Math.clz32,Math_trunc=Math.trunc,runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function getUniqueRunDependency(u){return u}function addRunDependency(u){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies)}Module.addRunDependency=addRunDependency;function removeRunDependency(u){if(runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),runDependencies==0&&(runDependencyWatcher!==null&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var l=dependenciesFulfilled;dependenciesFulfilled=null,l()}}Module.removeRunDependency=removeRunDependency,Module.preloadedImages={},Module.preloadedAudios={};var ASM_CONSTS=[function(u,l,c,p,_,t,O,M){return _nbind.callbackSignatureList[u].apply(this,arguments)}];function _emscripten_asm_const_iiiiiiii(u,l,c,p,_,t,O,M){return ASM_CONSTS[u](l,c,p,_,t,O,M)}function _emscripten_asm_const_iiiii(u,l,c,p,_){return ASM_CONSTS[u](l,c,p,_)}function _emscripten_asm_const_iiidddddd(u,l,c,p,_,t,O,M,A){return ASM_CONSTS[u](l,c,p,_,t,O,M,A)}function _emscripten_asm_const_iiididi(u,l,c,p,_,t,O){return ASM_CONSTS[u](l,c,p,_,t,O)}function _emscripten_asm_const_iiii(u,l,c,p){return ASM_CONSTS[u](l,c,p)}function _emscripten_asm_const_iiiid(u,l,c,p,_){return ASM_CONSTS[u](l,c,p,_)}function _emscripten_asm_const_iiiiii(u,l,c,p,_,t){return ASM_CONSTS[u](l,c,p,_,t)}STATIC_BASE=Runtime.GLOBAL_BASE,STATICTOP=STATIC_BASE+12800,__ATINIT__.push({func:function(){__GLOBAL__sub_I_Yoga_cpp()}},{func:function(){__GLOBAL__sub_I_nbind_cc()}},{func:function(){__GLOBAL__sub_I_common_cc()}},{func:function(){__GLOBAL__sub_I_Binding_cc()}}),allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,127,0,0,192,127,0,0,192,127,0,0,192,127,3,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,3,0,0,0,0,0,192,127,3,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,192,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,127,0,0,192,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,127,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,192,127,0,0,192,127,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,0,0,128,191,0,0,128,191,0,0,192,127,0,0,0,0,0,0,0,0,0,0,128,63,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,3,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,190,12,0,0,200,12,0,0,208,12,0,0,216,12,0,0,230,12,0,0,242,12,0,0,1,0,0,0,3,0,0,0,0,0,0,0,2,0,0,0,0,0,192,127,3,0,0,0,180,45,0,0,181,45,0,0,182,45,0,0,181,45,0,0,182,45,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,1,0,0,0,4,0,0,0,183,45,0,0,181,45,0,0,181,45,0,0,181,45,0,0,181,45,0,0,181,45,0,0,181,45,0,0,184,45,0,0,185,45,0,0,181,45,0,0,181,45,0,0,182,45,0,0,186,45,0,0,185,45,0,0,148,4,0,0,3,0,0,0,187,45,0,0,164,4,0,0,188,45,0,0,2,0,0,0,189,45,0,0,164,4,0,0,188,45,0,0,185,45,0,0,164,4,0,0,185,45,0,0,164,4,0,0,188,45,0,0,181,45,0,0,182,45,0,0,181,45,0,0,0,0,0,0,0,0,0,0,1,0,0,0,5,0,0,0,6,0,0,0,1,0,0,0,7,0,0,0,183,45,0,0,182,45,0,0,181,45,0,0,190,45,0,0,190,45,0,0,182,45,0,0,182,45,0,0,185,45,0,0,181,45,0,0,185,45,0,0,182,45,0,0,181,45,0,0,185,45,0,0,182,45,0,0,185,45,0,0,48,5,0,0,3,0,0,0,56,5,0,0,1,0,0,0,189,45,0,0,185,45,0,0,164,4,0,0,76,5,0,0,2,0,0,0,191,45,0,0,186,45,0,0,182,45,0,0,185,45,0,0,192,45,0,0,185,45,0,0,182,45,0,0,186,45,0,0,185,45,0,0,76,5,0,0,76,5,0,0,136,5,0,0,182,45,0,0,181,45,0,0,2,0,0,0,190,45,0,0,136,5,0,0,56,19,0,0,156,5,0,0,2,0,0,0,184,45,0,0,0,0,0,0,0,0,0,0,1,0,0,0,8,0,0,0,9,0,0,0,1,0,0,0,10,0,0,0,204,5,0,0,181,45,0,0,181,45,0,0,2,0,0,0,180,45,0,0,204,5,0,0,2,0,0,0,195,45,0,0,236,5,0,0,97,19,0,0,198,45,0,0,211,45,0,0,212,45,0,0,213,45,0,0,214,45,0,0,215,45,0,0,188,45,0,0,182,45,0,0,216,45,0,0,217,45,0,0,218,45,0,0,219,45,0,0,192,45,0,0,181,45,0,0,0,0,0,0,185,45,0,0,110,19,0,0,186,45,0,0,115,19,0,0,221,45,0,0,120,19,0,0,148,4,0,0,132,19,0,0,96,6,0,0,145,19,0,0,222,45,0,0,164,19,0,0,223,45,0,0,173,19,0,0,0,0,0,0,3,0,0,0,104,6,0,0,1,0,0,0,187,45,0,0,0,0,0,0,0,0,0,0,1,0,0,0,11,0,0,0,12,0,0,0,1,0,0,0,13,0,0,0,185,45,0,0,224,45,0,0,164,6,0,0,188,45,0,0,172,6,0,0,180,6,0,0,2,0,0,0,188,6,0,0,7,0,0,0,224,45,0,0,7,0,0,0,164,6,0,0,1,0,0,0,213,45,0,0,185,45,0,0,224,45,0,0,172,6,0,0,185,45,0,0,224,45,0,0,164,6,0,0,185,45,0,0,224,45,0,0,211,45,0,0,211,45,0,0,222,45,0,0,211,45,0,0,224,45,0,0,222,45,0,0,211,45,0,0,224,45,0,0,172,6,0,0,222,45,0,0,211,45,0,0,224,45,0,0,188,45,0,0,222,45,0,0,211,45,0,0,40,7,0,0,188,45,0,0,2,0,0,0,224,45,0,0,185,45,0,0,188,45,0,0,188,45,0,0,188,45,0,0,188,45,0,0,222,45,0,0,224,45,0,0,148,4,0,0,185,45,0,0,148,4,0,0,148,4,0,0,148,4,0,0,148,4,0,0,148,4,0,0,185,45,0,0,164,6,0,0,148,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,14,0,0,0,15,0,0,0,1,0,0,0,16,0,0,0,148,7,0,0,2,0,0,0,225,45,0,0,183,45,0,0,188,45,0,0,168,7,0,0,5,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,234,45,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,148,45,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,9,0,0,5,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,242,45,0,0,0,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,67,111,117,108,100,32,110,111,116,32,97,108,108,111,99,97,116,101,32,109,101,109,111,114,121,32,102,111,114,32,110,111,100,101,0,67,97,110,110,111,116,32,114,101,115,101,116,32,97,32,110,111,100,101,32,119,104,105,99,104,32,115,116,105,108,108,32,104,97,115,32,99,104,105,108,100,114,101,110,32,97,116,116,97,99,104,101,100,0,67,97,110,110,111,116,32,114,101,115,101,116,32,97,32,110,111,100,101,32,115,116,105,108,108,32,97,116,116,97,99,104,101,100,32,116,111,32,97,32,112,97,114,101,110,116,0,67,111,117,108,100,32,110,111,116,32,97,108,108,111,99,97,116,101,32,109,101,109,111,114,121,32,102,111,114,32,99,111,110,102,105,103,0,67,97,110,110,111,116,32,115,101,116,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,58,32,78,111,100,101,115,32,119,105,116,104,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,115,32,99,97,110,110,111,116,32,104,97,118,101,32,99,104,105,108,100,114,101,110,46,0,67,104,105,108,100,32,97,108,114,101,97,100,121,32,104,97,115,32,97,32,112,97,114,101,110,116,44,32,105,116,32,109,117,115,116,32,98,101,32,114,101,109,111,118,101,100,32,102,105,114,115,116,46,0,67,97,110,110,111,116,32,97,100,100,32,99,104,105,108,100,58,32,78,111,100,101,115,32,119,105,116,104,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,115,32,99,97,110,110,111,116,32,104,97,118,101,32,99,104,105,108,100,114,101,110,46,0,79,110,108,121,32,108,101,97,102,32,110,111,100,101,115,32,119,105,116,104,32,99,117,115,116,111,109,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,115,115,104,111,117,108,100,32,109,97,110,117,97,108,108,121,32,109,97,114,107,32,116,104,101,109,115,101,108,118,101,115,32,97,115,32,100,105,114,116,121,0,67,97,110,110,111,116,32,103,101,116,32,108,97,121,111,117,116,32,112,114,111,112,101,114,116,105,101,115,32,111,102,32,109,117,108,116,105,45,101,100,103,101,32,115,104,111,114,116,104,97,110,100,115,0,37,115,37,100,46,123,91,115,107,105,112,112,101,100,93,32,0,119,109,58,32,37,115,44,32,104,109,58,32,37,115,44,32,97,119,58,32,37,102,32,97,104,58,32,37,102,32,61,62,32,100,58,32,40,37,102,44,32,37,102,41,32,37,115,10,0,37,115,37,100,46,123,37,115,0,42,0,119,109,58,32,37,115,44,32,104,109,58,32,37,115,44,32,97,119,58,32,37,102,32,97,104,58,32,37,102,32,37,115,10,0,37,115,37,100,46,125,37,115,0,119,109,58,32,37,115,44,32,104,109,58,32,37,115,44,32,100,58,32,40,37,102,44,32,37,102,41,32,37,115,10,0,79,117,116,32,111,102,32,99,97,99,104,101,32,101,110,116,114,105,101,115,33,10,0,83,99,97,108,101,32,102,97,99,116,111,114,32,115,104,111,117,108,100,32,110,111,116,32,98,101,32,108,101,115,115,32,116,104,97,110,32,122,101,114,111,0,105,110,105,116,105,97,108,0,37,115,10,0,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,0,85,78,68,69,70,73,78,69,68,0,69,88,65,67,84,76,89,0,65,84,95,77,79,83,84,0,76,65,89,95,85,78,68,69,70,73,78,69,68,0,76,65,89,95,69,88,65,67,84,76,89,0,76,65,89,95,65,84,95,77,79,83,84,0,97,118,97,105,108,97,98,108,101,87,105,100,116,104,32,105,115,32,105,110,100,101,102,105,110,105,116,101,32,115,111,32,119,105,100,116,104,77,101,97,115,117,114,101,77,111,100,101,32,109,117,115,116,32,98,101,32,89,71,77,101,97,115,117,114,101,77,111,100,101,85,110,100,101,102,105,110,101,100,0,97,118,97,105,108,97,98,108,101,72,101,105,103,104,116,32,105,115,32,105,110,100,101,102,105,110,105,116,101,32,115,111,32,104,101,105,103,104,116,77,101,97,115,117,114,101,77,111,100,101,32,109,117,115,116,32,98,101,32,89,71,77,101,97,115,117,114,101,77,111,100,101,85,110,100,101,102,105,110,101,100,0,102,108,101,120,0,115,116,114,101,116,99,104,0,109,117,108,116,105,108,105,110,101,45,115,116,114,101,116,99,104,0,69,120,112,101,99,116,101,100,32,110,111,100,101,32,116,111,32,104,97,118,101,32,99,117,115,116,111,109,32,109,101,97,115,117,114,101,32,102,117,110,99,116,105,111,110,0,109,101,97,115,117,114,101,0,69,120,112,101,99,116,32,99,117,115,116,111,109,32,98,97,115,101,108,105,110,101,32,102,117,110,99,116,105,111,110,32,116,111,32,110,111,116,32,114,101,116,117,114,110,32,78,97,78,0,97,98,115,45,109,101,97,115,117,114,101,0,97,98,115,45,108,97,121,111,117,116,0,78,111,100,101,0,99,114,101,97,116,101,68,101,102,97,117,108,116,0,99,114,101,97,116,101,87,105,116,104,67,111,110,102,105,103,0,100,101,115,116,114,111,121,0,114,101,115,101,116,0,99,111,112,121,83,116,121,108,101,0,115,101,116,80,111,115,105,116,105,111,110,84,121,112,101,0,115,101,116,80,111,115,105,116,105,111,110,0,115,101,116,80,111,115,105,116,105,111,110,80,101,114,99,101,110,116,0,115,101,116,65,108,105,103,110,67,111,110,116,101,110,116,0,115,101,116,65,108,105,103,110,73,116,101,109,115,0,115,101,116,65,108,105,103,110,83,101,108,102,0,115,101,116,70,108,101,120,68,105,114,101,99,116,105,111,110,0,115,101,116,70,108,101,120,87,114,97,112,0,115,101,116,74,117,115,116,105,102,121,67,111,110,116,101,110,116,0,115,101,116,77,97,114,103,105,110,0,115,101,116,77,97,114,103,105,110,80,101,114,99,101,110,116,0,115,101,116,77,97,114,103,105,110,65,117,116,111,0,115,101,116,79,118,101,114,102,108,111,119,0,115,101,116,68,105,115,112,108,97,121,0,115,101,116,70,108,101,120,0,115,101,116,70,108,101,120,66,97,115,105,115,0,115,101,116,70,108,101,120,66,97,115,105,115,80,101,114,99,101,110,116,0,115,101,116,70,108,101,120,71,114,111,119,0,115,101,116,70,108,101,120,83,104,114,105,110,107,0,115,101,116,87,105,100,116,104,0,115,101,116,87,105,100,116,104,80,101,114,99,101,110,116,0,115,101,116,87,105,100,116,104,65,117,116,111,0,115,101,116,72,101,105,103,104,116,0,115,101,116,72,101,105,103,104,116,80,101,114,99,101,110,116,0,115,101,116,72,101,105,103,104,116,65,117,116,111,0,115,101,116,77,105,110,87,105,100,116,104,0,115,101,116,77,105,110,87,105,100,116,104,80,101,114,99,101,110,116,0,115,101,116,77,105,110,72,101,105,103,104,116,0,115,101,116,77,105,110,72,101,105,103,104,116,80,101,114,99,101,110,116,0,115,101,116,77,97,120,87,105,100,116,104,0,115,101,116,77,97,120,87,105,100,116,104,80,101,114,99,101,110,116,0,115,101,116,77,97,120,72,101,105,103,104,116,0,115,101,116,77,97,120,72,101,105,103,104,116,80,101,114,99,101,110,116,0,115,101,116,65,115,112,101,99,116,82,97,116,105,111,0,115,101,116,66,111,114,100,101,114,0,115,101,116,80,97,100,100,105,110,103,0,115,101,116,80,97,100,100,105,110,103,80,101,114,99,101,110,116,0,103,101,116,80,111,115,105,116,105,111,110,84,121,112,101,0,103,101,116,80,111,115,105,116,105,111,110,0,103,101,116,65,108,105,103,110,67,111,110,116,101,110,116,0,103,101,116,65,108,105,103,110,73,116,101,109,115,0,103,101,116,65,108,105,103,110,83,101,108,102,0,103,101,116,70,108,101,120,68,105,114,101,99,116,105,111,110,0,103,101,116,70,108,101,120,87,114,97,112,0,103,101,116,74,117,115,116,105,102,121,67,111,110,116,101,110,116,0,103,101,116,77,97,114,103,105,110,0,103,101,116,70,108,101,120,66,97,115,105,115,0,103,101,116,70,108,101,120,71,114,111,119,0,103,101,116,70,108,101,120,83,104,114,105,110,107,0,103,101,116,87,105,100,116,104,0,103,101,116,72,101,105,103,104,116,0,103,101,116,77,105,110,87,105,100,116,104,0,103,101,116,77,105,110,72,101,105,103,104,116,0,103,101,116,77,97,120,87,105,100,116,104,0,103,101,116,77,97,120,72,101,105,103,104,116,0,103,101,116,65,115,112,101,99,116,82,97,116,105,111,0,103,101,116,66,111,114,100,101,114,0,103,101,116,79,118,101,114,102,108,111,119,0,103,101,116,68,105,115,112,108,97,121,0,103,101,116,80,97,100,100,105,110,103,0,105,110,115,101,114,116,67,104,105,108,100,0,114,101,109,111,118,101,67,104,105,108,100,0,103,101,116,67,104,105,108,100,67,111,117,110,116,0,103,101,116,80,97,114,101,110,116,0,103,101,116,67,104,105,108,100,0,115,101,116,77,101,97,115,117,114,101,70,117,110,99,0,117,110,115,101,116,77,101,97,115,117,114,101,70,117,110,99,0,109,97,114,107,68,105,114,116,121,0,105,115,68,105,114,116,121,0,99,97,108,99,117,108,97,116,101,76,97,121,111,117,116,0,103,101,116,67,111,109,112,117,116,101,100,76,101,102,116,0,103,101,116,67,111,109,112,117,116,101,100,82,105,103,104,116,0,103,101,116,67,111,109,112,117,116,101,100,84,111,112,0,103,101,116,67,111,109,112,117,116,101,100,66,111,116,116,111,109,0,103,101,116,67,111,109,112,117,116,101,100,87,105,100,116,104,0,103,101,116,67,111,109,112,117,116,101,100,72,101,105,103,104,116,0,103,101,116,67,111,109,112,117,116,101,100,76,97,121,111,117,116,0,103,101,116,67,111,109,112,117,116,101,100,77,97,114,103,105,110,0,103,101,116,67,111,109,112,117,116,101,100,66,111,114,100,101,114,0,103,101,116,67,111,109,112,117,116,101,100,80,97,100,100,105,110,103,0,67,111,110,102,105,103,0,99,114,101,97,116,101,0,115,101,116,69,120,112,101,114,105,109,101,110,116,97,108,70,101,97,116,117,114,101,69,110,97,98,108,101,100,0,115,101,116,80,111,105,110,116,83,99,97,108,101,70,97,99,116,111,114,0,105,115,69,120,112,101,114,105,109,101,110,116,97,108,70,101,97,116,117,114,101,69,110,97,98,108,101,100,0,86,97,108,117,101,0,76,97,121,111,117,116,0,83,105,122,101,0,103,101,116,73,110,115,116,97,110,99,101,67,111,117,110,116,0,73,110,116,54,52,0,1,1,1,2,2,4,4,4,4,8,8,4,8,118,111,105,100,0,98,111,111,108,0,115,116,100,58,58,115,116,114,105,110,103,0,99,98,70,117,110,99,116,105,111,110,32,38,0,99,111,110,115,116,32,99,98,70,117,110,99,116,105,111,110,32,38,0,69,120,116,101,114,110,97,108,0,66,117,102,102,101,114,0,78,66,105,110,100,73,68,0,78,66,105,110,100,0,98,105,110,100,95,118,97,108,117,101,0,114,101,102,108,101,99,116,0,113,117,101,114,121,84,121,112,101,0,108,97,108,108,111,99,0,108,114,101,115,101,116,0,123,114,101,116,117,114,110,40,95,110,98,105,110,100,46,99,97,108,108,98,97,99,107,83,105,103,110,97,116,117,114,101,76,105,115,116,91,36,48,93,46,97,112,112,108,121,40,116,104,105,115,44,97,114,103,117,109,101,110,116,115,41,41,59,125,0,95,110,98,105,110,100,95,110,101,119,0,17,0,10,0,17,17,17,0,0,0,0,5,0,0,0,0,0,0,9,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,15,10,17,17,17,3,10,7,0,1,19,9,11,11,0,0,9,6,11,0,0,11,0,6,17,0,0,0,17,17,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,10,10,17,17,17,0,10,0,0,2,0,9,11,0,0,0,9,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,4,13,0,0,0,0,9,14,0,0,0,0,0,14,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,15,0,0,0,0,9,16,0,0,0,0,0,16,0,0,16,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,9,11,0,0,0,0,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,45,43,32,32,32,48,88,48,120,0,40,110,117,108,108,41,0,45,48,88,43,48,88,32,48,88,45,48,120,43,48,120,32,48,120,0,105,110,102,0,73,78,70,0,110,97,110,0,78,65,78,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,46,0,84,33,34,25,13,1,2,3,17,75,28,12,16,4,11,29,18,30,39,104,110,111,112,113,98,32,5,6,15,19,20,21,26,8,22,7,40,36,23,24,9,10,14,27,31,37,35,131,130,125,38,42,43,60,61,62,63,67,71,74,77,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,105,106,107,108,114,115,116,121,122,123,124,0,73,108,108,101,103,97,108,32,98,121,116,101,32,115,101,113,117,101,110,99,101,0,68,111,109,97,105,110,32,101,114,114,111,114,0,82,101,115,117,108,116,32,110,111,116,32,114,101,112,114,101,115,101,110,116,97,98,108,101,0,78,111,116,32,97,32,116,116,121,0,80,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,79,112,101,114,97,116,105,111,110,32,110,111,116,32,112,101,114,109,105,116,116,101,100,0,78,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121,0,78,111,32,115,117,99,104,32,112,114,111,99,101,115,115,0,70,105,108,101,32,101,120,105,115,116,115,0,86,97,108,117,101,32,116,111,111,32,108,97,114,103,101,32,102,111,114,32,100,97,116,97,32,116,121,112,101,0,78,111,32,115,112,97,99,101,32,108,101,102,116,32,111,110,32,100,101,118,105,99,101,0,79,117,116,32,111,102,32,109,101,109,111,114,121,0,82,101,115,111,117,114,99,101,32,98,117,115,121,0,73,110,116,101,114,114,117,112,116,101,100,32,115,121,115,116,101,109,32,99,97,108,108,0,82,101,115,111,117,114,99,101,32,116,101,109,112,111,114,97,114,105,108,121,32,117,110,97,118,97,105,108,97,98,108,101,0,73,110,118,97,108,105,100,32,115,101,101,107,0,67,114,111,115,115,45,100,101,118,105,99,101,32,108,105,110,107,0,82,101,97,100,45,111,110,108,121,32,102,105,108,101,32,115,121,115,116,101,109,0,68,105,114,101,99,116,111,114,121,32,110,111,116,32,101,109,112,116,121,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,112,101,101,114,0,79,112,101,114,97,116,105,111,110,32,116,105,109,101,100,32,111,117,116,0,67,111,110,110,101,99,116,105,111,110,32,114,101,102,117,115,101,100,0,72,111,115,116,32,105,115,32,100,111,119,110,0,72,111,115,116,32,105,115,32,117,110,114,101,97,99,104,97,98,108,101,0,65,100,100,114,101,115,115,32,105,110,32,117,115,101,0,66,114,111,107,101,110,32,112,105,112,101,0,73,47,79,32,101,114,114,111,114,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,32,111,114,32,97,100,100,114,101,115,115,0,66,108,111,99,107,32,100,101,118,105,99,101,32,114,101,113,117,105,114,101,100,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,0,78,111,116,32,97,32,100,105,114,101,99,116,111,114,121,0,73,115,32,97,32,100,105,114,101,99,116,111,114,121,0,84,101,120,116,32,102,105,108,101,32,98,117,115,121,0,69,120,101,99,32,102,111,114,109,97,116,32,101,114,114,111,114,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,0,65,114,103,117,109,101,110,116,32,108,105,115,116,32,116,111,111,32,108,111,110,103,0,83,121,109,98,111,108,105,99,32,108,105,110,107,32,108,111,111,112,0,70,105,108,101,110,97,109,101,32,116,111,111,32,108,111,110,103,0,84,111,111,32,109,97,110,121,32,111,112,101,110,32,102,105,108,101,115,32,105,110,32,115,121,115,116,101,109,0,78,111,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,115,32,97,118,97,105,108,97,98,108,101,0,66,97,100,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,0,78,111,32,99,104,105,108,100,32,112,114,111,99,101,115,115,0,66,97,100,32,97,100,100,114,101,115,115,0,70,105,108,101,32,116,111,111,32,108,97,114,103,101,0,84,111,111,32,109,97,110,121,32,108,105,110,107,115,0,78,111,32,108,111,99,107,115,32,97,118,97,105,108,97,98,108,101,0,82,101,115,111,117,114,99,101,32,100,101,97,100,108,111,99,107,32,119,111,117,108,100,32,111,99,99,117,114,0,83,116,97,116,101,32,110,111,116,32,114,101,99,111,118,101,114,97,98,108,101,0,80,114,101,118,105,111,117,115,32,111,119,110,101,114,32,100,105,101,100,0,79,112,101,114,97,116,105,111,110,32,99,97,110,99,101,108,101,100,0,70,117,110,99,116,105,111,110,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,0,78,111,32,109,101,115,115,97,103,101,32,111,102,32,100,101,115,105,114,101,100,32,116,121,112,101,0,73,100,101,110,116,105,102,105,101,114,32,114,101,109,111,118,101,100,0,68,101,118,105,99,101,32,110,111,116,32,97,32,115,116,114,101,97,109,0,78,111,32,100,97,116,97,32,97,118,97,105,108,97,98,108,101,0,68,101,118,105,99,101,32,116,105,109,101,111,117,116,0,79,117,116,32,111,102,32,115,116,114,101,97,109,115,32,114,101,115,111,117,114,99,101,115,0,76,105,110,107,32,104,97,115,32,98,101,101,110,32,115,101,118,101,114,101,100,0,80,114,111,116,111,99,111,108,32,101,114,114,111,114,0,66,97,100,32,109,101,115,115,97,103,101,0,70,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,105,110,32,98,97,100,32,115,116,97,116,101,0,78,111,116,32,97,32,115,111,99,107,101,116,0,68,101,115,116,105,110,97,116,105,111,110,32,97,100,100,114,101,115,115,32,114,101,113,117,105,114,101,100,0,77,101,115,115,97,103,101,32,116,111,111,32,108,97,114,103,101,0,80,114,111,116,111,99,111,108,32,119,114,111,110,103,32,116,121,112,101,32,102,111,114,32,115,111,99,107,101,116,0,80,114,111,116,111,99,111,108,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,80,114,111,116,111,99,111,108,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,83,111,99,107,101,116,32,116,121,112,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,78,111,116,32,115,117,112,112,111,114,116,101,100,0,80,114,111,116,111,99,111,108,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,65,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,0,65,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,78,101,116,119,111,114,107,32,105,115,32,100,111,119,110,0,78,101,116,119,111,114,107,32,117,110,114,101,97,99,104,97,98,108,101,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,110,101,116,119,111,114,107,0,67,111,110,110,101,99,116,105,111,110,32,97,98,111,114,116,101,100,0,78,111,32,98,117,102,102,101,114,32,115,112,97,99,101,32,97,118,97,105,108,97,98,108,101,0,83,111,99,107,101,116,32,105,115,32,99,111,110,110,101,99,116,101,100,0,83,111,99,107,101,116,32,110,111,116,32,99,111,110,110,101,99,116,101,100,0,67,97,110,110,111,116,32,115,101,110,100,32,97,102,116,101,114,32,115,111,99,107,101,116,32,115,104,117,116,100,111,119,110,0,79,112,101,114,97,116,105,111,110,32,97,108,114,101,97,100,121,32,105,110,32,112,114,111,103,114,101,115,115,0,79,112,101,114,97,116,105,111,110,32,105,110,32,112,114,111,103,114,101,115,115,0,83,116,97,108,101,32,102,105,108,101,32,104,97,110,100,108,101,0,82,101,109,111,116,101,32,73,47,79,32,101,114,114,111,114,0,81,117,111,116,97,32,101,120,99,101,101,100,101,100,0,78,111,32,109,101,100,105,117,109,32,102,111,117,110,100,0,87,114,111,110,103,32,109,101,100,105,117,109,32,116,121,112,101,0,78,111,32,101,114,114,111,114,32,105,110,102,111,114,109,97,116,105,111,110,0,0],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE);var tempDoublePtr=STATICTOP;STATICTOP+=16;function _atexit(u,l){__ATEXIT__.unshift({func:u,arg:l})}function ___cxa_atexit(){return _atexit.apply(null,arguments)}function _abort(){Module.abort()}function __ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj(){Module.printErr("missing function: _ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj"),abort(-1)}function __decorate(u,l,c,p){var _=arguments.length,t=_<3?l:p===null?p=Object.getOwnPropertyDescriptor(l,c):p,O;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(u,l,c,p);else for(var M=u.length-1;M>=0;M--)(O=u[M])&&(t=(_<3?O(t):_>3?O(l,c,t):O(l,c))||t);return _>3&&t&&Object.defineProperty(l,c,t),t}function _defineHidden(u){return function(l,c){Object.defineProperty(l,c,{configurable:!1,enumerable:!1,value:u,writable:!0})}}var _nbind={};function __nbind_free_external(u){_nbind.externalList[u].dereference(u)}function __nbind_reference_external(u){_nbind.externalList[u].reference()}function _llvm_stackrestore(u){var l=_llvm_stacksave,c=l.LLVM_SAVEDSTACKS[u];l.LLVM_SAVEDSTACKS.splice(u,1),Runtime.stackRestore(c)}function __nbind_register_pool(u,l,c,p){_nbind.Pool.pageSize=u,_nbind.Pool.usedPtr=l/4,_nbind.Pool.rootPtr=c,_nbind.Pool.pagePtr=p/4,HEAP32[l/4]=16909060,HEAP8[l]==1&&(_nbind.bigEndian=!0),HEAP32[l/4]=0,_nbind.makeTypeKindTbl=(t={},t[1024]=_nbind.PrimitiveType,t[64]=_nbind.Int64Type,t[2048]=_nbind.BindClass,t[3072]=_nbind.BindClassPtr,t[4096]=_nbind.SharedClassPtr,t[5120]=_nbind.ArrayType,t[6144]=_nbind.ArrayType,t[7168]=_nbind.CStringType,t[9216]=_nbind.CallbackType,t[10240]=_nbind.BindType,t),_nbind.makeTypeNameTbl={Buffer:_nbind.BufferType,External:_nbind.ExternalType,Int64:_nbind.Int64Type,_nbind_new:_nbind.CreateValueType,bool:_nbind.BooleanType,"cbFunction &":_nbind.CallbackType,"const cbFunction &":_nbind.CallbackType,"const std::string &":_nbind.StringType,"std::string":_nbind.StringType},Module.toggleLightGC=_nbind.toggleLightGC,_nbind.callUpcast=Module.dynCall_ii;var _=_nbind.makeType(_nbind.constructType,{flags:2048,id:0,name:""});_.proto=Module,_nbind.BindClass.list.push(_);var t}function _emscripten_set_main_loop_timing(u,l){if(Browser.mainLoop.timingMode=u,Browser.mainLoop.timingValue=l,!Browser.mainLoop.func)return 1;if(u==0)Browser.mainLoop.scheduler=function(){var O=Math.max(0,Browser.mainLoop.tickStartTime+l-_emscripten_get_now())|0;setTimeout(Browser.mainLoop.runner,O)},Browser.mainLoop.method="timeout";else if(u==1)Browser.mainLoop.scheduler=function(){Browser.requestAnimationFrame(Browser.mainLoop.runner)},Browser.mainLoop.method="rAF";else if(u==2){if(!window.setImmediate){let t=function(O){O.source===window&&O.data===p&&(O.stopPropagation(),c.shift()())};var _=t,c=[],p="setimmediate";window.addEventListener("message",t,!0),window.setImmediate=function(M){c.push(M),ENVIRONMENT_IS_WORKER?(Module.setImmediates===void 0&&(Module.setImmediates=[]),Module.setImmediates.push(M),window.postMessage({target:p})):window.postMessage(p,"*")}}Browser.mainLoop.scheduler=function(){window.setImmediate(Browser.mainLoop.runner)},Browser.mainLoop.method="immediate"}return 0}function _emscripten_get_now(){abort()}function _emscripten_set_main_loop(u,l,c,p,_){Module.noExitRuntime=!0,assert(!Browser.mainLoop.func,"emscripten_set_main_loop: there can only be one main loop function at once: call emscripten_cancel_main_loop to cancel the previous one before setting a new one with different parameters."),Browser.mainLoop.func=u,Browser.mainLoop.arg=p;var t;typeof p<"u"?t=function(){Module.dynCall_vi(u,p)}:t=function(){Module.dynCall_v(u)};var O=Browser.mainLoop.currentlyRunningMainloop;if(Browser.mainLoop.runner=function(){if(!ABORT){if(Browser.mainLoop.queue.length>0){var A=Date.now(),T=Browser.mainLoop.queue.shift();if(T.func(T.arg),Browser.mainLoop.remainingBlockers){var P=Browser.mainLoop.remainingBlockers,U=P%1==0?P-1:Math.floor(P);T.counted?Browser.mainLoop.remainingBlockers=U:(U=U+.5,Browser.mainLoop.remainingBlockers=(8*P+U)/9)}if(console.log('main loop blocker "'+T.name+'" took '+(Date.now()-A)+" ms"),Browser.mainLoop.updateStatus(),O1&&Browser.mainLoop.currentFrameNumber%Browser.mainLoop.timingValue!=0){Browser.mainLoop.scheduler();return}else Browser.mainLoop.timingMode==0&&(Browser.mainLoop.tickStartTime=_emscripten_get_now());Browser.mainLoop.method==="timeout"&&Module.ctx&&(Module.printErr("Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!"),Browser.mainLoop.method=""),Browser.mainLoop.runIter(t),!(O0?_emscripten_set_main_loop_timing(0,1e3/l):_emscripten_set_main_loop_timing(1,1),Browser.mainLoop.scheduler()),c)throw"SimulateInfiniteLoop"}var Browser={mainLoop:{scheduler:null,method:"",currentlyRunningMainloop:0,func:null,arg:0,timingMode:0,timingValue:0,currentFrameNumber:0,queue:[],pause:function(){Browser.mainLoop.scheduler=null,Browser.mainLoop.currentlyRunningMainloop++},resume:function(){Browser.mainLoop.currentlyRunningMainloop++;var u=Browser.mainLoop.timingMode,l=Browser.mainLoop.timingValue,c=Browser.mainLoop.func;Browser.mainLoop.func=null,_emscripten_set_main_loop(c,0,!1,Browser.mainLoop.arg,!0),_emscripten_set_main_loop_timing(u,l),Browser.mainLoop.scheduler()},updateStatus:function(){if(Module.setStatus){var u=Module.statusMessage||"Please wait...",l=Browser.mainLoop.remainingBlockers,c=Browser.mainLoop.expectedBlockers;l?l"u"&&(console.log("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available."),Module.noImageDecoding=!0);var u={};u.canHandle=function(t){return!Module.noImageDecoding&&/\.(jpg|jpeg|png|bmp)$/i.test(t)},u.handle=function(t,O,M,A){var T=null;if(Browser.hasBlobConstructor)try{T=new Blob([t],{type:Browser.getMimetype(O)}),T.size!==t.length&&(T=new Blob([new Uint8Array(t).buffer],{type:Browser.getMimetype(O)}))}catch(Q){Runtime.warnOnce("Blob constructor present but fails: "+Q+"; falling back to blob builder")}if(!T){var P=new Browser.BlobBuilder;P.append(new Uint8Array(t).buffer),T=P.getBlob()}var U=Browser.URLObject.createObjectURL(T),z=new Image;z.onload=function(){assert(z.complete,"Image "+O+" could not be decoded");var v=document.createElement("canvas");v.width=z.width,v.height=z.height;var de=v.getContext("2d");de.drawImage(z,0,0),Module.preloadedImages[O]=v,Browser.URLObject.revokeObjectURL(U),M&&M(t)},z.onerror=function(v){console.log("Image "+U+" could not be decoded"),A&&A()},z.src=U},Module.preloadPlugins.push(u);var l={};l.canHandle=function(t){return!Module.noAudioDecoding&&t.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},l.handle=function(t,O,M,A){var T=!1;function P(de){T||(T=!0,Module.preloadedAudios[O]=de,M&&M(t))}function U(){T||(T=!0,Module.preloadedAudios[O]=new Audio,A&&A())}if(Browser.hasBlobConstructor){try{var z=new Blob([t],{type:Browser.getMimetype(O)})}catch{return U()}var Q=Browser.URLObject.createObjectURL(z),v=new Audio;v.addEventListener("canplaythrough",function(){P(v)},!1),v.onerror=function(ye){if(T)return;console.log("warning: browser could not fully decode audio "+O+", trying slower base64 approach");function le(ae){for(var Me="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fe="=",pe="",Z=0,Ae=0,Fe=0;Fe=6;){var He=Z>>Ae-6&63;Ae-=6,pe+=Me[He]}return Ae==2?(pe+=Me[(Z&3)<<4],pe+=fe+fe):Ae==4&&(pe+=Me[(Z&15)<<2],pe+=fe),pe}v.src="data:audio/x-"+O.substr(-3)+";base64,"+le(t),P(v)},v.src=Q,Browser.safeSetTimeout(function(){P(v)},1e4)}else return U()},Module.preloadPlugins.push(l);function c(){Browser.pointerLock=document.pointerLockElement===Module.canvas||document.mozPointerLockElement===Module.canvas||document.webkitPointerLockElement===Module.canvas||document.msPointerLockElement===Module.canvas}var p=Module.canvas;p&&(p.requestPointerLock=p.requestPointerLock||p.mozRequestPointerLock||p.webkitRequestPointerLock||p.msRequestPointerLock||function(){},p.exitPointerLock=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||function(){},p.exitPointerLock=p.exitPointerLock.bind(document),document.addEventListener("pointerlockchange",c,!1),document.addEventListener("mozpointerlockchange",c,!1),document.addEventListener("webkitpointerlockchange",c,!1),document.addEventListener("mspointerlockchange",c,!1),Module.elementPointerLock&&p.addEventListener("click",function(_){!Browser.pointerLock&&Module.canvas.requestPointerLock&&(Module.canvas.requestPointerLock(),_.preventDefault())},!1))},createContext:function(u,l,c,p){if(l&&Module.ctx&&u==Module.canvas)return Module.ctx;var _,t;if(l){var O={antialias:!1,alpha:!1};if(p)for(var M in p)O[M]=p[M];t=GL.createContext(u,O),t&&(_=GL.getContext(t).GLctx)}else _=u.getContext("2d");return _?(c&&(l||assert(typeof GLctx>"u","cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),Module.ctx=_,l&&GL.makeContextCurrent(t),Module.useWebGL=l,Browser.moduleContextCreatedCallbacks.forEach(function(A){A()}),Browser.init()),_):null},destroyContext:function(u,l,c){},fullscreenHandlersInstalled:!1,lockPointer:void 0,resizeCanvas:void 0,requestFullscreen:function(u,l,c){Browser.lockPointer=u,Browser.resizeCanvas=l,Browser.vrDevice=c,typeof Browser.lockPointer>"u"&&(Browser.lockPointer=!0),typeof Browser.resizeCanvas>"u"&&(Browser.resizeCanvas=!1),typeof Browser.vrDevice>"u"&&(Browser.vrDevice=null);var p=Module.canvas;function _(){Browser.isFullscreen=!1;var O=p.parentNode;(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===O?(p.exitFullscreen=document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||function(){},p.exitFullscreen=p.exitFullscreen.bind(document),Browser.lockPointer&&p.requestPointerLock(),Browser.isFullscreen=!0,Browser.resizeCanvas&&Browser.setFullscreenCanvasSize()):(O.parentNode.insertBefore(p,O),O.parentNode.removeChild(O),Browser.resizeCanvas&&Browser.setWindowedCanvasSize()),Module.onFullScreen&&Module.onFullScreen(Browser.isFullscreen),Module.onFullscreen&&Module.onFullscreen(Browser.isFullscreen),Browser.updateCanvasDimensions(p)}Browser.fullscreenHandlersInstalled||(Browser.fullscreenHandlersInstalled=!0,document.addEventListener("fullscreenchange",_,!1),document.addEventListener("mozfullscreenchange",_,!1),document.addEventListener("webkitfullscreenchange",_,!1),document.addEventListener("MSFullscreenChange",_,!1));var t=document.createElement("div");p.parentNode.insertBefore(t,p),t.appendChild(p),t.requestFullscreen=t.requestFullscreen||t.mozRequestFullScreen||t.msRequestFullscreen||(t.webkitRequestFullscreen?function(){t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)}:null)||(t.webkitRequestFullScreen?function(){t.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}:null),c?t.requestFullscreen({vrDisplay:c}):t.requestFullscreen()},requestFullScreen:function(u,l,c){return Module.printErr("Browser.requestFullScreen() is deprecated. Please call Browser.requestFullscreen instead."),Browser.requestFullScreen=function(p,_,t){return Browser.requestFullscreen(p,_,t)},Browser.requestFullscreen(u,l,c)},nextRAF:0,fakeRequestAnimationFrame:function(u){var l=Date.now();if(Browser.nextRAF===0)Browser.nextRAF=l+1e3/60;else for(;l+2>=Browser.nextRAF;)Browser.nextRAF+=1e3/60;var c=Math.max(Browser.nextRAF-l,0);setTimeout(u,c)},requestAnimationFrame:function u(l){typeof window>"u"?Browser.fakeRequestAnimationFrame(l):(window.requestAnimationFrame||(window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||Browser.fakeRequestAnimationFrame),window.requestAnimationFrame(l))},safeCallback:function(u){return function(){if(!ABORT)return u.apply(null,arguments)}},allowAsyncCallbacks:!0,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){Browser.allowAsyncCallbacks=!1},resumeAsyncCallbacks:function(){if(Browser.allowAsyncCallbacks=!0,Browser.queuedAsyncCallbacks.length>0){var u=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[],u.forEach(function(l){l()})}},safeRequestAnimationFrame:function(u){return Browser.requestAnimationFrame(function(){ABORT||(Browser.allowAsyncCallbacks?u():Browser.queuedAsyncCallbacks.push(u))})},safeSetTimeout:function(u,l){return Module.noExitRuntime=!0,setTimeout(function(){ABORT||(Browser.allowAsyncCallbacks?u():Browser.queuedAsyncCallbacks.push(u))},l)},safeSetInterval:function(u,l){return Module.noExitRuntime=!0,setInterval(function(){ABORT||Browser.allowAsyncCallbacks&&u()},l)},getMimetype:function(u){return{jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[u.substr(u.lastIndexOf(".")+1)]},getUserMedia:function(u){window.getUserMedia||(window.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia),window.getUserMedia(u)},getMovementX:function(u){return u.movementX||u.mozMovementX||u.webkitMovementX||0},getMovementY:function(u){return u.movementY||u.mozMovementY||u.webkitMovementY||0},getMouseWheelDelta:function(u){var l=0;switch(u.type){case"DOMMouseScroll":l=u.detail;break;case"mousewheel":l=u.wheelDelta;break;case"wheel":l=u.deltaY;break;default:throw"unrecognized mouse wheel event: "+u.type}return l},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(u){if(Browser.pointerLock)u.type!="mousemove"&&"mozMovementX"in u?Browser.mouseMovementX=Browser.mouseMovementY=0:(Browser.mouseMovementX=Browser.getMovementX(u),Browser.mouseMovementY=Browser.getMovementY(u)),typeof SDL<"u"?(Browser.mouseX=SDL.mouseX+Browser.mouseMovementX,Browser.mouseY=SDL.mouseY+Browser.mouseMovementY):(Browser.mouseX+=Browser.mouseMovementX,Browser.mouseY+=Browser.mouseMovementY);else{var l=Module.canvas.getBoundingClientRect(),c=Module.canvas.width,p=Module.canvas.height,_=typeof window.scrollX<"u"?window.scrollX:window.pageXOffset,t=typeof window.scrollY<"u"?window.scrollY:window.pageYOffset;if(u.type==="touchstart"||u.type==="touchend"||u.type==="touchmove"){var O=u.touch;if(O===void 0)return;var M=O.pageX-(_+l.left),A=O.pageY-(t+l.top);M=M*(c/l.width),A=A*(p/l.height);var T={x:M,y:A};if(u.type==="touchstart")Browser.lastTouches[O.identifier]=T,Browser.touches[O.identifier]=T;else if(u.type==="touchend"||u.type==="touchmove"){var P=Browser.touches[O.identifier];P||(P=T),Browser.lastTouches[O.identifier]=P,Browser.touches[O.identifier]=T}return}var U=u.pageX-(_+l.left),z=u.pageY-(t+l.top);U=U*(c/l.width),z=z*(p/l.height),Browser.mouseMovementX=U-Browser.mouseX,Browser.mouseMovementY=z-Browser.mouseY,Browser.mouseX=U,Browser.mouseY=z}},asyncLoad:function(u,l,c,p){var _=p?"":"al "+u;Module.readAsync(u,function(t){assert(t,'Loading data file "'+u+'" failed (no arrayBuffer).'),l(new Uint8Array(t)),_&&removeRunDependency(_)},function(t){if(c)c();else throw'Loading data file "'+u+'" failed.'}),_&&addRunDependency(_)},resizeListeners:[],updateResizeListeners:function(){var u=Module.canvas;Browser.resizeListeners.forEach(function(l){l(u.width,u.height)})},setCanvasSize:function(u,l,c){var p=Module.canvas;Browser.updateCanvasDimensions(p,u,l),c||Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if(typeof SDL<"u"){var u=HEAPU32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2];u=u|8388608,HEAP32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2]=u}Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if(typeof SDL<"u"){var u=HEAPU32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2];u=u&-8388609,HEAP32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2]=u}Browser.updateResizeListeners()},updateCanvasDimensions:function(u,l,c){l&&c?(u.widthNative=l,u.heightNative=c):(l=u.widthNative,c=u.heightNative);var p=l,_=c;if(Module.forcedAspectRatio&&Module.forcedAspectRatio>0&&(p/_>2];return l},getStr:function(){var u=Pointer_stringify(SYSCALLS.get());return u},get64:function(){var u=SYSCALLS.get(),l=SYSCALLS.get();return u>=0?assert(l===0):assert(l===-1),u},getZero:function(){assert(SYSCALLS.get()===0)}};function ___syscall6(u,l){SYSCALLS.varargs=l;try{var c=SYSCALLS.getStreamFromFD();return FS.close(c),0}catch(p){return(typeof FS>"u"||!(p instanceof FS.ErrnoError))&&abort(p),-p.errno}}function ___syscall54(u,l){SYSCALLS.varargs=l;try{return 0}catch(c){return(typeof FS>"u"||!(c instanceof FS.ErrnoError))&&abort(c),-c.errno}}function _typeModule(u){var l=[[0,1,"X"],[1,1,"const X"],[128,1,"X *"],[256,1,"X &"],[384,1,"X &&"],[512,1,"std::shared_ptr"],[640,1,"std::unique_ptr"],[5120,1,"std::vector"],[6144,2,"std::array"],[9216,-1,"std::function"]];function c(A,T,P,U,z,Q){if(T==1){var v=U&896;(v==128||v==256||v==384)&&(A="X const")}var de;return Q?de=P.replace("X",A).replace("Y",z):de=A.replace("X",P).replace("Y",z),de.replace(/([*&]) (?=[*&])/g,"$1")}function p(A,T,P,U,z){throw new Error(A+" type "+P.replace("X",T+"?")+(U?" with flag "+U:"")+" in "+z)}function _(A,T,P,U,z,Q,v,de){Q===void 0&&(Q="X"),de===void 0&&(de=1);var ye=P(A);if(ye)return ye;var le=U(A),ae=le.placeholderFlag,Me=l[ae];v&&Me&&(Q=c(v[2],v[0],Q,Me[0],"?",!0));var fe;ae==0&&(fe="Unbound"),ae>=10&&(fe="Corrupt"),de>20&&(fe="Deeply nested"),fe&&p(fe,A,Q,ae,z||"?");var pe=le.paramList[0],Z=_(pe,T,P,U,z,Q,Me,de+1),Ae,Fe={flags:Me[0],id:A,name:"",paramList:[Z]},He=[],ot="?";switch(le.placeholderFlag){case 1:Ae=Z.spec;break;case 2:if((Z.flags&15360)==1024&&Z.spec.ptrSize==1){Fe.flags=7168;break}case 3:case 6:case 5:Ae=Z.spec,Z.flags&15360;break;case 8:ot=""+le.paramList[1],Fe.paramList.push(le.paramList[1]);break;case 9:for(var st=0,qe=le.paramList[1];st>2]=u),u}function _llvm_stacksave(){var u=_llvm_stacksave;return u.LLVM_SAVEDSTACKS||(u.LLVM_SAVEDSTACKS=[]),u.LLVM_SAVEDSTACKS.push(Runtime.stackSave()),u.LLVM_SAVEDSTACKS.length-1}function ___syscall140(u,l){SYSCALLS.varargs=l;try{var c=SYSCALLS.getStreamFromFD(),p=SYSCALLS.get(),_=SYSCALLS.get(),t=SYSCALLS.get(),O=SYSCALLS.get(),M=_;return FS.llseek(c,M,O),HEAP32[t>>2]=c.position,c.getdents&&M===0&&O===0&&(c.getdents=null),0}catch(A){return(typeof FS>"u"||!(A instanceof FS.ErrnoError))&&abort(A),-A.errno}}function ___syscall146(u,l){SYSCALLS.varargs=l;try{var c=SYSCALLS.get(),p=SYSCALLS.get(),_=SYSCALLS.get(),t=0;___syscall146.buffer||(___syscall146.buffers=[null,[],[]],___syscall146.printChar=function(P,U){var z=___syscall146.buffers[P];assert(z),U===0||U===10?((P===1?Module.print:Module.printErr)(UTF8ArrayToString(z,0)),z.length=0):z.push(U)});for(var O=0;O<_;O++){for(var M=HEAP32[p+O*8>>2],A=HEAP32[p+(O*8+4)>>2],T=0;T"u"||!(P instanceof FS.ErrnoError))&&abort(P),-P.errno}}function __nbind_finish(){for(var u=0,l=_nbind.BindClass.list;uu.pageSize/2||l>u.pageSize-c){var p=_nbind.typeNameTbl.NBind.proto;return p.lalloc(l)}else return HEAPU32[u.usedPtr]=c+l,u.rootPtr+c},u.lreset=function(l,c){var p=HEAPU32[u.pagePtr];if(p){var _=_nbind.typeNameTbl.NBind.proto;_.lreset(l,c)}else HEAPU32[u.usedPtr]=l},u}();_nbind.Pool=Pool;function constructType(u,l){var c=u==10240?_nbind.makeTypeNameTbl[l.name]||_nbind.BindType:_nbind.makeTypeKindTbl[u],p=new c(l);return typeIdTbl[l.id]=p,_nbind.typeNameTbl[l.name]=p,p}_nbind.constructType=constructType;function getType(u){return typeIdTbl[u]}_nbind.getType=getType;function queryType(u){var l=HEAPU8[u],c=_nbind.structureList[l][1];u/=4,c<0&&(++u,c=HEAPU32[u]+1);var p=Array.prototype.slice.call(HEAPU32.subarray(u+1,u+1+c));return l==9&&(p=[p[0],p.slice(1)]),{paramList:p,placeholderFlag:l}}_nbind.queryType=queryType;function getTypes(u,l){return u.map(function(c){return typeof c=="number"?_nbind.getComplexType(c,constructType,getType,queryType,l):_nbind.typeNameTbl[c]})}_nbind.getTypes=getTypes;function readTypeIdList(u,l){return Array.prototype.slice.call(HEAPU32,u/4,u/4+l)}_nbind.readTypeIdList=readTypeIdList;function readAsciiString(u){for(var l=u;HEAPU8[l++];);return String.fromCharCode.apply("",HEAPU8.subarray(u,l-1))}_nbind.readAsciiString=readAsciiString;function readPolicyList(u){var l={};if(u)for(;;){var c=HEAPU32[u/4];if(!c)break;l[readAsciiString(c)]=!0,u+=4}return l}_nbind.readPolicyList=readPolicyList;function getDynCall(u,l){var c={float32_t:"d",float64_t:"d",int64_t:"d",uint64_t:"d",void:"v"},p=u.map(function(t){return c[t.name]||"i"}).join(""),_=Module["dynCall_"+p];if(!_)throw new Error("dynCall_"+p+" not found for "+l+"("+u.map(function(t){return t.name}).join(", ")+")");return _}_nbind.getDynCall=getDynCall;function addMethod(u,l,c,p){var _=u[l];u.hasOwnProperty(l)&&_?((_.arity||_.arity===0)&&(_=_nbind.makeOverloader(_,_.arity),u[l]=_),_.addMethod(c,p)):(c.arity=p,u[l]=c)}_nbind.addMethod=addMethod;function throwError(u){throw new Error(u)}_nbind.throwError=throwError,_nbind.bigEndian=!1,_a=_typeModule(_typeModule),_nbind.Type=_a.Type,_nbind.makeType=_a.makeType,_nbind.getComplexType=_a.getComplexType,_nbind.structureList=_a.structureList;var BindType=function(u){__extends(l,u);function l(){var c=u!==null&&u.apply(this,arguments)||this;return c.heap=HEAPU32,c.ptrSize=4,c}return l.prototype.needsWireRead=function(c){return!!this.wireRead||!!this.makeWireRead},l.prototype.needsWireWrite=function(c){return!!this.wireWrite||!!this.makeWireWrite},l}(_nbind.Type);_nbind.BindType=BindType;var PrimitiveType=function(u){__extends(l,u);function l(c){var p=u.call(this,c)||this,_=c.flags&32?{32:HEAPF32,64:HEAPF64}:c.flags&8?{8:HEAPU8,16:HEAPU16,32:HEAPU32}:{8:HEAP8,16:HEAP16,32:HEAP32};return p.heap=_[c.ptrSize*8],p.ptrSize=c.ptrSize,p}return l.prototype.needsWireWrite=function(c){return!!c&&!!c.Strict},l.prototype.makeWireWrite=function(c,p){return p&&p.Strict&&function(_){if(typeof _=="number")return _;throw new Error("Type mismatch")}},l}(BindType);_nbind.PrimitiveType=PrimitiveType;function pushCString(u,l){if(u==null){if(l&&l.Nullable)return 0;throw new Error("Type mismatch")}if(l&&l.Strict){if(typeof u!="string")throw new Error("Type mismatch")}else u=u.toString();var c=Module.lengthBytesUTF8(u)+1,p=_nbind.Pool.lalloc(c);return Module.stringToUTF8Array(u,HEAPU8,p,c),p}_nbind.pushCString=pushCString;function popCString(u){return u===0?null:Module.Pointer_stringify(u)}_nbind.popCString=popCString;var CStringType=function(u){__extends(l,u);function l(){var c=u!==null&&u.apply(this,arguments)||this;return c.wireRead=popCString,c.wireWrite=pushCString,c.readResources=[_nbind.resources.pool],c.writeResources=[_nbind.resources.pool],c}return l.prototype.makeWireWrite=function(c,p){return function(_){return pushCString(_,p)}},l}(BindType);_nbind.CStringType=CStringType;var BooleanType=function(u){__extends(l,u);function l(){var c=u!==null&&u.apply(this,arguments)||this;return c.wireRead=function(p){return!!p},c}return l.prototype.needsWireWrite=function(c){return!!c&&!!c.Strict},l.prototype.makeWireRead=function(c){return"!!("+c+")"},l.prototype.makeWireWrite=function(c,p){return p&&p.Strict&&function(_){if(typeof _=="boolean")return _;throw new Error("Type mismatch")}||c},l}(BindType);_nbind.BooleanType=BooleanType;var Wrapper=function(){function u(){}return u.prototype.persist=function(){this.__nbindState|=1},u}();_nbind.Wrapper=Wrapper;function makeBound(u,l){var c=function(p){__extends(_,p);function _(t,O,M,A){var T=p.call(this)||this;if(!(T instanceof _))return new(Function.prototype.bind.apply(_,Array.prototype.concat.apply([null],arguments)));var P=O,U=M,z=A;if(t!==_nbind.ptrMarker){var Q=T.__nbindConstructor.apply(T,arguments);P=4608,z=HEAPU32[Q/4],U=HEAPU32[Q/4+1]}var v={configurable:!0,enumerable:!1,value:null,writable:!1},de={__nbindFlags:P,__nbindPtr:U};z&&(de.__nbindShared=z,_nbind.mark(T));for(var ye=0,le=Object.keys(de);ye>=1;var c=_nbind.valueList[u];return _nbind.valueList[u]=firstFreeValue,firstFreeValue=u,c}else{if(l)return _nbind.popShared(u,l);throw new Error("Invalid value slot "+u)}}_nbind.popValue=popValue;var valueBase=18446744073709552e3;function push64(u){return typeof u=="number"?u:pushValue(u)*4096+valueBase}function pop64(u){return u=3?O=Buffer.from(t):O=new Buffer(t),O.copy(p)}else getBuffer(p).set(t)}}_nbind.commitBuffer=commitBuffer;var dirtyList=[],gcTimer=0;function sweep(){for(var u=0,l=dirtyList;u>2]=DYNAMIC_BASE,staticSealed=!0;function invoke_viiiii(u,l,c,p,_,t){try{Module.dynCall_viiiii(u,l,c,p,_,t)}catch(O){if(typeof O!="number"&&O!=="longjmp")throw O;Module.setThrew(1,0)}}function invoke_vif(u,l,c){try{Module.dynCall_vif(u,l,c)}catch(p){if(typeof p!="number"&&p!=="longjmp")throw p;Module.setThrew(1,0)}}function invoke_vid(u,l,c){try{Module.dynCall_vid(u,l,c)}catch(p){if(typeof p!="number"&&p!=="longjmp")throw p;Module.setThrew(1,0)}}function invoke_fiff(u,l,c,p){try{return Module.dynCall_fiff(u,l,c,p)}catch(_){if(typeof _!="number"&&_!=="longjmp")throw _;Module.setThrew(1,0)}}function invoke_vi(u,l){try{Module.dynCall_vi(u,l)}catch(c){if(typeof c!="number"&&c!=="longjmp")throw c;Module.setThrew(1,0)}}function invoke_vii(u,l,c){try{Module.dynCall_vii(u,l,c)}catch(p){if(typeof p!="number"&&p!=="longjmp")throw p;Module.setThrew(1,0)}}function invoke_ii(u,l){try{return Module.dynCall_ii(u,l)}catch(c){if(typeof c!="number"&&c!=="longjmp")throw c;Module.setThrew(1,0)}}function invoke_viddi(u,l,c,p,_){try{Module.dynCall_viddi(u,l,c,p,_)}catch(t){if(typeof t!="number"&&t!=="longjmp")throw t;Module.setThrew(1,0)}}function invoke_vidd(u,l,c,p){try{Module.dynCall_vidd(u,l,c,p)}catch(_){if(typeof _!="number"&&_!=="longjmp")throw _;Module.setThrew(1,0)}}function invoke_iiii(u,l,c,p){try{return Module.dynCall_iiii(u,l,c,p)}catch(_){if(typeof _!="number"&&_!=="longjmp")throw _;Module.setThrew(1,0)}}function invoke_diii(u,l,c,p){try{return Module.dynCall_diii(u,l,c,p)}catch(_){if(typeof _!="number"&&_!=="longjmp")throw _;Module.setThrew(1,0)}}function invoke_di(u,l){try{return Module.dynCall_di(u,l)}catch(c){if(typeof c!="number"&&c!=="longjmp")throw c;Module.setThrew(1,0)}}function invoke_iid(u,l,c){try{return Module.dynCall_iid(u,l,c)}catch(p){if(typeof p!="number"&&p!=="longjmp")throw p;Module.setThrew(1,0)}}function invoke_iii(u,l,c){try{return Module.dynCall_iii(u,l,c)}catch(p){if(typeof p!="number"&&p!=="longjmp")throw p;Module.setThrew(1,0)}}function invoke_viiddi(u,l,c,p,_,t){try{Module.dynCall_viiddi(u,l,c,p,_,t)}catch(O){if(typeof O!="number"&&O!=="longjmp")throw O;Module.setThrew(1,0)}}function invoke_viiiiii(u,l,c,p,_,t,O){try{Module.dynCall_viiiiii(u,l,c,p,_,t,O)}catch(M){if(typeof M!="number"&&M!=="longjmp")throw M;Module.setThrew(1,0)}}function invoke_dii(u,l,c){try{return Module.dynCall_dii(u,l,c)}catch(p){if(typeof p!="number"&&p!=="longjmp")throw p;Module.setThrew(1,0)}}function invoke_i(u){try{return Module.dynCall_i(u)}catch(l){if(typeof l!="number"&&l!=="longjmp")throw l;Module.setThrew(1,0)}}function invoke_iiiiii(u,l,c,p,_,t){try{return Module.dynCall_iiiiii(u,l,c,p,_,t)}catch(O){if(typeof O!="number"&&O!=="longjmp")throw O;Module.setThrew(1,0)}}function invoke_viiid(u,l,c,p,_){try{Module.dynCall_viiid(u,l,c,p,_)}catch(t){if(typeof t!="number"&&t!=="longjmp")throw t;Module.setThrew(1,0)}}function invoke_viififi(u,l,c,p,_,t,O){try{Module.dynCall_viififi(u,l,c,p,_,t,O)}catch(M){if(typeof M!="number"&&M!=="longjmp")throw M;Module.setThrew(1,0)}}function invoke_viii(u,l,c,p){try{Module.dynCall_viii(u,l,c,p)}catch(_){if(typeof _!="number"&&_!=="longjmp")throw _;Module.setThrew(1,0)}}function invoke_v(u){try{Module.dynCall_v(u)}catch(l){if(typeof l!="number"&&l!=="longjmp")throw l;Module.setThrew(1,0)}}function invoke_viid(u,l,c,p){try{Module.dynCall_viid(u,l,c,p)}catch(_){if(typeof _!="number"&&_!=="longjmp")throw _;Module.setThrew(1,0)}}function invoke_idd(u,l,c){try{return Module.dynCall_idd(u,l,c)}catch(p){if(typeof p!="number"&&p!=="longjmp")throw p;Module.setThrew(1,0)}}function invoke_viiii(u,l,c,p,_){try{Module.dynCall_viiii(u,l,c,p,_)}catch(t){if(typeof t!="number"&&t!=="longjmp")throw t;Module.setThrew(1,0)}}Module.asmGlobalArg={Math,Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Uint32Array,Float32Array,Float64Array,NaN:NaN,Infinity:1/0},Module.asmLibraryArg={abort,assert,enlargeMemory,getTotalMemory,abortOnCannotGrowMemory,invoke_viiiii,invoke_vif,invoke_vid,invoke_fiff,invoke_vi,invoke_vii,invoke_ii,invoke_viddi,invoke_vidd,invoke_iiii,invoke_diii,invoke_di,invoke_iid,invoke_iii,invoke_viiddi,invoke_viiiiii,invoke_dii,invoke_i,invoke_iiiiii,invoke_viiid,invoke_viififi,invoke_viii,invoke_v,invoke_viid,invoke_idd,invoke_viiii,_emscripten_asm_const_iiiii,_emscripten_asm_const_iiidddddd,_emscripten_asm_const_iiiid,__nbind_reference_external,_emscripten_asm_const_iiiiiiii,_removeAccessorPrefix,_typeModule,__nbind_register_pool,__decorate,_llvm_stackrestore,___cxa_atexit,__extends,__nbind_get_value_object,__ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj,_emscripten_set_main_loop_timing,__nbind_register_primitive,__nbind_register_type,_emscripten_memcpy_big,__nbind_register_function,___setErrNo,__nbind_register_class,__nbind_finish,_abort,_nbind_value,_llvm_stacksave,___syscall54,_defineHidden,_emscripten_set_main_loop,_emscripten_get_now,__nbind_register_callback_signature,_emscripten_asm_const_iiiiii,__nbind_free_external,_emscripten_asm_const_iiii,_emscripten_asm_const_iiididi,___syscall6,_atexit,___syscall140,___syscall146,DYNAMICTOP_PTR,tempDoublePtr,ABORT,STACKTOP,STACK_MAX,cttz_i8,___dso_handle};var asm=function(u,l,c){var p=new u.Int8Array(c),_=new u.Int16Array(c),t=new u.Int32Array(c),O=new u.Uint8Array(c),M=new u.Uint16Array(c),A=new u.Uint32Array(c),T=new u.Float32Array(c),P=new u.Float64Array(c),U=l.DYNAMICTOP_PTR|0,z=l.tempDoublePtr|0,Q=l.ABORT|0,v=l.STACKTOP|0,de=l.STACK_MAX|0,ye=l.cttz_i8|0,le=l.___dso_handle|0,ae=0,Me=0,fe=0,pe=0,Z=u.NaN,Ae=u.Infinity,Fe=0,He=0,ot=0,st=0,qe=0,Xe=0,Ie=u.Math.floor,kt=u.Math.abs,Kt=u.Math.sqrt,Ye=u.Math.pow,V=u.Math.cos,oe=u.Math.sin,ve=u.Math.tan,ee=u.Math.acos,Oe=u.Math.asin,et=u.Math.atan,ct=u.Math.atan2,Lt=u.Math.exp,Xt=u.Math.log,pn=u.Math.ceil,Nn=u.Math.imul,Wt=u.Math.min,Ot=u.Math.max,Wn=u.Math.clz32,w=u.Math.fround,Ct=l.abort,wn=l.assert,ir=l.enlargeMemory,sr=l.getTotalMemory,Ln=l.abortOnCannotGrowMemory,Er=l.invoke_viiiii,zt=l.invoke_vif,p0=l.invoke_vid,B0=l.invoke_fiff,Do=l.invoke_vi,wl=l.invoke_vii,Sl=l.invoke_ii,Tl=l.invoke_viddi,ua=l.invoke_vidd,Rt=l.invoke_iiii,Kr=l.invoke_diii,Ai=l.invoke_di,br=l.invoke_iid,Xn=l.invoke_iii,Fu=l.invoke_viiddi,wo=l.invoke_viiiiii,h0=l.invoke_dii,So=l.invoke_i,hr=l.invoke_iiiiii,To=l.invoke_viiid,Co=l.invoke_viififi,U0=l.invoke_viii,xi=l.invoke_v,Wr=l.invoke_viid,Cl=l.invoke_idd,Lu=l.invoke_viiii,F0=l._emscripten_asm_const_iiiii,S0=l._emscripten_asm_const_iiidddddd,or=l._emscripten_asm_const_iiiid,Pr=l.__nbind_reference_external,j0=l._emscripten_asm_const_iiiiiiii,Ir=l._removeAccessorPrefix,Ft=l._typeModule,hn=l.__nbind_register_pool,Br=l.__decorate,Tr=l._llvm_stackrestore,xt=l.___cxa_atexit,Li=l.__extends,di=l.__nbind_get_value_object,z0=l.__ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj,ti=l._emscripten_set_main_loop_timing,bu=l.__nbind_register_primitive,Ko=l.__nbind_register_type,Dr=l._emscripten_memcpy_big,ro=l.__nbind_register_function,Pu=l.___setErrNo,xo=l.__nbind_register_class,xl=l.__nbind_finish,Tn=l._abort,tl=l._nbind_value,io=l._llvm_stacksave,Ro=l.___syscall54,mu=l._defineHidden,Ao=l._emscripten_set_main_loop,it=l._emscripten_get_now,Dt=l.__nbind_register_callback_signature,mn=l._emscripten_asm_const_iiiiii,vr=l.__nbind_free_external,ni=l._emscripten_asm_const_iiii,mr=l._emscripten_asm_const_iiididi,bi=l.___syscall6,v0=l._atexit,Xr=l.___syscall140,T0=l.___syscall146,Rl=w(0);let lt=w(0);function oo(e){e=e|0;var n=0;return n=v,v=v+e|0,v=v+15&-16,n|0}function yu(){return v|0}function la(e){e=e|0,v=e}function e0(e,n){e=e|0,n=n|0,v=e,de=n}function nl(e,n){e=e|0,n=n|0,ae||(ae=e,Me=n)}function q0(e){e=e|0,Xe=e}function W(){return Xe|0}function he(){var e=0,n=0;bn(8104,8,400)|0,bn(8504,408,540)|0,e=9044,n=e+44|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));p[9088]=0,p[9089]=1,t[2273]=0,t[2274]=948,t[2275]=948,xt(17,8104,le|0)|0}function Se(e){e=e|0,Tf(e+948|0)}function we(e){return e=w(e),((zn(e)|0)&2147483647)>>>0>2139095040|0}function tt(e,n,r){e=e|0,n=n|0,r=r|0;e:do if(t[e+(n<<3)+4>>2]|0)e=e+(n<<3)|0;else{if((n|2|0)==3&&t[e+60>>2]|0){e=e+56|0;break}switch(n|0){case 0:case 2:case 4:case 5:{if(t[e+52>>2]|0){e=e+48|0;break e}break}default:}if(t[e+68>>2]|0){e=e+64|0;break}else{e=(n|1|0)==5?948:r;break}}while(0);return e|0}function Cn(e){e=e|0;var n=0;return n=Dy(1e3)|0,cn(e,(n|0)!=0,2456),t[2276]=(t[2276]|0)+1,bn(n|0,8104,1e3)|0,p[e+2>>0]|0&&(t[n+4>>2]=2,t[n+12>>2]=4),t[n+976>>2]=e,n|0}function cn(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0;a=v,v=v+16|0,o=a,n||(t[o>>2]=r,_u(e,5,3197,o)),v=a}function In(){return Cn(956)|0}function Ur(e){e=e|0;var n=0;return n=Bt(1e3)|0,Pi(n,e),cn(t[e+976>>2]|0,1,2456),t[2276]=(t[2276]|0)+1,t[n+944>>2]=0,n|0}function Pi(e,n){e=e|0,n=n|0;var r=0;bn(e|0,n|0,948)|0,da(e+948|0,n+948|0),r=e+960|0,e=n+960|0,n=r+40|0;do t[r>>2]=t[e>>2],r=r+4|0,e=e+4|0;while((r|0)<(n|0))}function t0(e){e=e|0;var n=0,r=0,o=0,a=0;if(n=e+944|0,r=t[n>>2]|0,r|0&&(n0(r+948|0,e)|0,t[n>>2]=0),r=Ii(e)|0,r|0){n=0;do t[(jr(e,n)|0)+944>>2]=0,n=n+1|0;while((n|0)!=(r|0))}r=e+948|0,o=t[r>>2]|0,a=e+952|0,n=t[a>>2]|0,(n|0)!=(o|0)&&(t[a>>2]=n+(~((n+-4-o|0)>>>2)<<2)),ko(r),wy(e),t[2276]=(t[2276]|0)+-1}function n0(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0;o=t[e>>2]|0,E=e+4|0,r=t[E>>2]|0,s=r;e:do if((o|0)==(r|0))a=o,h=4;else for(e=o;;){if((t[e>>2]|0)==(n|0)){a=e,h=4;break e}if(e=e+4|0,(e|0)==(r|0)){e=0;break}}while(0);return(h|0)==4&&((a|0)!=(r|0)?(o=a+4|0,e=s-o|0,n=e>>2,n&&(ih(a|0,o|0,e|0)|0,r=t[E>>2]|0),e=a+(n<<2)|0,(r|0)==(e|0)||(t[E>>2]=r+(~((r+-4-e|0)>>>2)<<2)),e=1):e=0),e|0}function Ii(e){return e=e|0,(t[e+952>>2]|0)-(t[e+948>>2]|0)>>2|0}function jr(e,n){e=e|0,n=n|0;var r=0;return r=t[e+948>>2]|0,(t[e+952>>2]|0)-r>>2>>>0>n>>>0?e=t[r+(n<<2)>>2]|0:e=0,e|0}function ko(e){e=e|0;var n=0,r=0,o=0,a=0;o=v,v=v+32|0,n=o,a=t[e>>2]|0,r=(t[e+4>>2]|0)-a|0,((t[e+8>>2]|0)-a|0)>>>0>r>>>0&&(a=r>>2,Mr(n,a,a,e+8|0),qr(e,n),Cr(n)),v=o}function Bi(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0;k=Ii(e)|0;do if(k|0){if((t[(jr(e,0)|0)+944>>2]|0)==(e|0)){if(!(n0(e+948|0,n)|0))break;bn(n+400|0,8504,540)|0,t[n+944>>2]=0,Sn(e);break}h=t[(t[e+976>>2]|0)+12>>2]|0,E=e+948|0,D=(h|0)==0,r=0,s=0;do o=t[(t[E>>2]|0)+(s<<2)>>2]|0,(o|0)==(n|0)?Sn(e):(a=Ur(o)|0,t[(t[E>>2]|0)+(r<<2)>>2]=a,t[a+944>>2]=e,D||rD[h&15](o,a,e,r),r=r+1|0),s=s+1|0;while((s|0)!=(k|0));if(r>>>0>>0){D=e+948|0,E=e+952|0,h=r,r=t[E>>2]|0;do s=(t[D>>2]|0)+(h<<2)|0,o=s+4|0,a=r-o|0,n=a>>2,n&&(ih(s|0,o|0,a|0)|0,r=t[E>>2]|0),a=r,o=s+(n<<2)|0,(a|0)!=(o|0)&&(r=a+(~((a+-4-o|0)>>>2)<<2)|0,t[E>>2]=r),h=h+1|0;while((h|0)!=(k|0))}}while(0)}function uo(e){e=e|0;var n=0,r=0,o=0,a=0;r0(e,(Ii(e)|0)==0,2491),r0(e,(t[e+944>>2]|0)==0,2545),n=e+948|0,r=t[n>>2]|0,o=e+952|0,a=t[o>>2]|0,(a|0)!=(r|0)&&(t[o>>2]=a+(~((a+-4-r|0)>>>2)<<2)),ko(n),n=e+976|0,r=t[n>>2]|0,bn(e|0,8104,1e3)|0,p[r+2>>0]|0&&(t[e+4>>2]=2,t[e+12>>2]=4),t[n>>2]=r}function r0(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0;a=v,v=v+16|0,o=a,n||(t[o>>2]=r,R0(e,5,3197,o)),v=a}function Ga(){return t[2276]|0}function m0(){var e=0;return e=Dy(20)|0,aa((e|0)!=0,2592),t[2277]=(t[2277]|0)+1,t[e>>2]=t[239],t[e+4>>2]=t[240],t[e+8>>2]=t[241],t[e+12>>2]=t[242],t[e+16>>2]=t[243],e|0}function aa(e,n){e=e|0,n=n|0;var r=0,o=0;o=v,v=v+16|0,r=o,e||(t[r>>2]=n,R0(0,5,3197,r)),v=o}function H0(e){e=e|0,wy(e),t[2277]=(t[2277]|0)+-1}function xs(e,n){e=e|0,n=n|0;var r=0;n?(r0(e,(Ii(e)|0)==0,2629),r=1):(r=0,n=0),t[e+964>>2]=n,t[e+988>>2]=r}function Ya(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;o=v,v=v+16|0,s=o+8|0,a=o+4|0,h=o,t[a>>2]=n,r0(e,(t[n+944>>2]|0)==0,2709),r0(e,(t[e+964>>2]|0)==0,2763),rl(e),n=e+948|0,t[h>>2]=(t[n>>2]|0)+(r<<2),t[s>>2]=t[h>>2],C0(n,s,a)|0,t[(t[a>>2]|0)+944>>2]=e,Sn(e),v=o}function rl(e){e=e|0;var n=0,r=0,o=0,a=0,s=0,h=0,E=0;if(r=Ii(e)|0,r|0&&(t[(jr(e,0)|0)+944>>2]|0)!=(e|0)){o=t[(t[e+976>>2]|0)+12>>2]|0,a=e+948|0,s=(o|0)==0,n=0;do h=t[(t[a>>2]|0)+(n<<2)>>2]|0,E=Ur(h)|0,t[(t[a>>2]|0)+(n<<2)>>2]=E,t[E+944>>2]=e,s||rD[o&15](h,E,e,n),n=n+1|0;while((n|0)!=(r|0))}}function C0(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0,xe=0,ce=0,ue=0,Be=0,be=0;Be=v,v=v+64|0,F=Be+52|0,E=Be+48|0,H=Be+28|0,xe=Be+24|0,ce=Be+20|0,ue=Be,o=t[e>>2]|0,s=o,n=o+((t[n>>2]|0)-s>>2<<2)|0,o=e+4|0,a=t[o>>2]|0,h=e+8|0;do if(a>>>0<(t[h>>2]|0)>>>0){if((n|0)==(a|0)){t[n>>2]=t[r>>2],t[o>>2]=(t[o>>2]|0)+4;break}ui(e,n,a,n+4|0),n>>>0<=r>>>0&&(r=(t[o>>2]|0)>>>0>r>>>0?r+4|0:r),t[n>>2]=t[r>>2]}else{o=(a-s>>2)+1|0,a=so(e)|0,a>>>0>>0&&gr(e),R=t[e>>2]|0,k=(t[h>>2]|0)-R|0,s=k>>1,Mr(ue,k>>2>>>0>>1>>>0?s>>>0>>0?o:s:a,n-R>>2,e+8|0),R=ue+8|0,o=t[R>>2]|0,s=ue+12|0,k=t[s>>2]|0,h=k,D=o;do if((o|0)==(k|0)){if(k=ue+4|0,o=t[k>>2]|0,be=t[ue>>2]|0,a=be,o>>>0<=be>>>0){o=h-a>>1,o=(o|0)==0?1:o,Mr(H,o,o>>>2,t[ue+16>>2]|0),t[xe>>2]=t[k>>2],t[ce>>2]=t[R>>2],t[E>>2]=t[xe>>2],t[F>>2]=t[ce>>2],xr(H,E,F),o=t[ue>>2]|0,t[ue>>2]=t[H>>2],t[H>>2]=o,o=H+4|0,be=t[k>>2]|0,t[k>>2]=t[o>>2],t[o>>2]=be,o=H+8|0,be=t[R>>2]|0,t[R>>2]=t[o>>2],t[o>>2]=be,o=H+12|0,be=t[s>>2]|0,t[s>>2]=t[o>>2],t[o>>2]=be,Cr(H),o=t[R>>2]|0;break}s=o,h=((s-a>>2)+1|0)/-2|0,E=o+(h<<2)|0,a=D-s|0,s=a>>2,s&&(ih(E|0,o|0,a|0)|0,o=t[k>>2]|0),be=E+(s<<2)|0,t[R>>2]=be,t[k>>2]=o+(h<<2),o=be}while(0);t[o>>2]=t[r>>2],t[R>>2]=(t[R>>2]|0)+4,n=gt(e,ue,n)|0,Cr(ue)}while(0);return v=Be,n|0}function Sn(e){e=e|0;var n=0;do{if(n=e+984|0,p[n>>0]|0)break;p[n>>0]=1,T[e+504>>2]=w(Z),e=t[e+944>>2]|0}while((e|0)!=0)}function Tf(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-4-o|0)>>>2)<<2)),$e(r))}function il(e){return e=e|0,t[e+944>>2]|0}function Iu(e){e=e|0,r0(e,(t[e+964>>2]|0)!=0,2832),Sn(e)}function Bu(e){return e=e|0,(p[e+984>>0]|0)!=0|0}function sa(e,n){e=e|0,n=n|0,HI(e,n,400)|0&&(bn(e|0,n|0,400)|0,Sn(e))}function Rs(e){e=e|0;var n=lt;return n=w(T[e+44>>2]),e=we(n)|0,w(e?w(0):n)}function Al(e){e=e|0;var n=lt;return n=w(T[e+48>>2]),we(n)|0&&(n=p[(t[e+976>>2]|0)+2>>0]|0?w(1):w(0)),w(n)}function Ka(e,n){e=e|0,n=n|0,t[e+980>>2]=n}function kl(e){return e=e|0,t[e+980>>2]|0}function x0(e,n){e=e|0,n=n|0;var r=0;r=e+4|0,(t[r>>2]|0)!=(n|0)&&(t[r>>2]=n,Sn(e))}function Ol(e){return e=e|0,t[e+4>>2]|0}function Uu(e,n){e=e|0,n=n|0;var r=0;r=e+8|0,(t[r>>2]|0)!=(n|0)&&(t[r>>2]=n,Sn(e))}function b(e){return e=e|0,t[e+8>>2]|0}function B(e,n){e=e|0,n=n|0;var r=0;r=e+12|0,(t[r>>2]|0)!=(n|0)&&(t[r>>2]=n,Sn(e))}function q(e){return e=e|0,t[e+12>>2]|0}function Y(e,n){e=e|0,n=n|0;var r=0;r=e+16|0,(t[r>>2]|0)!=(n|0)&&(t[r>>2]=n,Sn(e))}function _e(e){return e=e|0,t[e+16>>2]|0}function se(e,n){e=e|0,n=n|0;var r=0;r=e+20|0,(t[r>>2]|0)!=(n|0)&&(t[r>>2]=n,Sn(e))}function ge(e){return e=e|0,t[e+20>>2]|0}function G(e,n){e=e|0,n=n|0;var r=0;r=e+24|0,(t[r>>2]|0)!=(n|0)&&(t[r>>2]=n,Sn(e))}function De(e){return e=e|0,t[e+24>>2]|0}function je(e,n){e=e|0,n=n|0;var r=0;r=e+28|0,(t[r>>2]|0)!=(n|0)&&(t[r>>2]=n,Sn(e))}function nt(e){return e=e|0,t[e+28>>2]|0}function ne(e,n){e=e|0,n=n|0;var r=0;r=e+32|0,(t[r>>2]|0)!=(n|0)&&(t[r>>2]=n,Sn(e))}function Ne(e){return e=e|0,t[e+32>>2]|0}function Je(e,n){e=e|0,n=n|0;var r=0;r=e+36|0,(t[r>>2]|0)!=(n|0)&&(t[r>>2]=n,Sn(e))}function ut(e){return e=e|0,t[e+36>>2]|0}function ht(e,n){e=e|0,n=w(n);var r=0;r=e+40|0,w(T[r>>2])!=n&&(T[r>>2]=n,Sn(e))}function wt(e,n){e=e|0,n=w(n);var r=0;r=e+44|0,w(T[r>>2])!=n&&(T[r>>2]=n,Sn(e))}function Vt(e,n){e=e|0,n=w(n);var r=0;r=e+48|0,w(T[r>>2])!=n&&(T[r>>2]=n,Sn(e))}function bt(e,n){e=e|0,n=w(n);var r=0,o=0,a=0,s=0;s=we(n)|0,r=(s^1)&1,o=e+52|0,a=e+56|0,s|w(T[o>>2])==n&&(t[a>>2]|0)==(r|0)||(T[o>>2]=n,t[a>>2]=r,Sn(e))}function Pt(e,n){e=e|0,n=w(n);var r=0,o=0;o=e+52|0,r=e+56|0,w(T[o>>2])==n&&(t[r>>2]|0)==2||(T[o>>2]=n,o=we(n)|0,t[r>>2]=o?3:2,Sn(e))}function ln(e,n){e=e|0,n=n|0;var r=0,o=0;o=n+52|0,r=t[o+4>>2]|0,n=e,t[n>>2]=t[o>>2],t[n+4>>2]=r}function jn(e,n,r){e=e|0,n=n|0,r=w(r);var o=0,a=0,s=0;s=we(r)|0,o=(s^1)&1,a=e+132+(n<<3)|0,n=e+132+(n<<3)+4|0,s|w(T[a>>2])==r&&(t[n>>2]|0)==(o|0)||(T[a>>2]=r,t[n>>2]=o,Sn(e))}function xn(e,n,r){e=e|0,n=n|0,r=w(r);var o=0,a=0,s=0;s=we(r)|0,o=s?0:2,a=e+132+(n<<3)|0,n=e+132+(n<<3)+4|0,s|w(T[a>>2])==r&&(t[n>>2]|0)==(o|0)||(T[a>>2]=r,t[n>>2]=o,Sn(e))}function Jn(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=n+132+(r<<3)|0,n=t[o+4>>2]|0,r=e,t[r>>2]=t[o>>2],t[r+4>>2]=n}function nn(e,n,r){e=e|0,n=n|0,r=w(r);var o=0,a=0,s=0;s=we(r)|0,o=(s^1)&1,a=e+60+(n<<3)|0,n=e+60+(n<<3)+4|0,s|w(T[a>>2])==r&&(t[n>>2]|0)==(o|0)||(T[a>>2]=r,t[n>>2]=o,Sn(e))}function $n(e,n,r){e=e|0,n=n|0,r=w(r);var o=0,a=0,s=0;s=we(r)|0,o=s?0:2,a=e+60+(n<<3)|0,n=e+60+(n<<3)+4|0,s|w(T[a>>2])==r&&(t[n>>2]|0)==(o|0)||(T[a>>2]=r,t[n>>2]=o,Sn(e))}function y0(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=n+60+(r<<3)|0,n=t[o+4>>2]|0,r=e,t[r>>2]=t[o>>2],t[r+4>>2]=n}function nr(e,n){e=e|0,n=n|0;var r=0;r=e+60+(n<<3)+4|0,(t[r>>2]|0)!=3&&(T[e+60+(n<<3)>>2]=w(Z),t[r>>2]=3,Sn(e))}function Ge(e,n,r){e=e|0,n=n|0,r=w(r);var o=0,a=0,s=0;s=we(r)|0,o=(s^1)&1,a=e+204+(n<<3)|0,n=e+204+(n<<3)+4|0,s|w(T[a>>2])==r&&(t[n>>2]|0)==(o|0)||(T[a>>2]=r,t[n>>2]=o,Sn(e))}function at(e,n,r){e=e|0,n=n|0,r=w(r);var o=0,a=0,s=0;s=we(r)|0,o=s?0:2,a=e+204+(n<<3)|0,n=e+204+(n<<3)+4|0,s|w(T[a>>2])==r&&(t[n>>2]|0)==(o|0)||(T[a>>2]=r,t[n>>2]=o,Sn(e))}function ze(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=n+204+(r<<3)|0,n=t[o+4>>2]|0,r=e,t[r>>2]=t[o>>2],t[r+4>>2]=n}function yt(e,n,r){e=e|0,n=n|0,r=w(r);var o=0,a=0,s=0;s=we(r)|0,o=(s^1)&1,a=e+276+(n<<3)|0,n=e+276+(n<<3)+4|0,s|w(T[a>>2])==r&&(t[n>>2]|0)==(o|0)||(T[a>>2]=r,t[n>>2]=o,Sn(e))}function It(e,n){return e=e|0,n=n|0,w(T[e+276+(n<<3)>>2])}function Gt(e,n){e=e|0,n=w(n);var r=0,o=0,a=0,s=0;s=we(n)|0,r=(s^1)&1,o=e+348|0,a=e+352|0,s|w(T[o>>2])==n&&(t[a>>2]|0)==(r|0)||(T[o>>2]=n,t[a>>2]=r,Sn(e))}function An(e,n){e=e|0,n=w(n);var r=0,o=0;o=e+348|0,r=e+352|0,w(T[o>>2])==n&&(t[r>>2]|0)==2||(T[o>>2]=n,o=we(n)|0,t[r>>2]=o?3:2,Sn(e))}function Vn(e){e=e|0;var n=0;n=e+352|0,(t[n>>2]|0)!=3&&(T[e+348>>2]=w(Z),t[n>>2]=3,Sn(e))}function gi(e,n){e=e|0,n=n|0;var r=0,o=0;o=n+348|0,r=t[o+4>>2]|0,n=e,t[n>>2]=t[o>>2],t[n+4>>2]=r}function i0(e,n){e=e|0,n=w(n);var r=0,o=0,a=0,s=0;s=we(n)|0,r=(s^1)&1,o=e+356|0,a=e+360|0,s|w(T[o>>2])==n&&(t[a>>2]|0)==(r|0)||(T[o>>2]=n,t[a>>2]=r,Sn(e))}function W0(e,n){e=e|0,n=w(n);var r=0,o=0;o=e+356|0,r=e+360|0,w(T[o>>2])==n&&(t[r>>2]|0)==2||(T[o>>2]=n,o=we(n)|0,t[r>>2]=o?3:2,Sn(e))}function V0(e){e=e|0;var n=0;n=e+360|0,(t[n>>2]|0)!=3&&(T[e+356>>2]=w(Z),t[n>>2]=3,Sn(e))}function Gi(e,n){e=e|0,n=n|0;var r=0,o=0;o=n+356|0,r=t[o+4>>2]|0,n=e,t[n>>2]=t[o>>2],t[n+4>>2]=r}function Yi(e,n){e=e|0,n=w(n);var r=0,o=0,a=0,s=0;s=we(n)|0,r=(s^1)&1,o=e+364|0,a=e+368|0,s|w(T[o>>2])==n&&(t[a>>2]|0)==(r|0)||(T[o>>2]=n,t[a>>2]=r,Sn(e))}function gu(e,n){e=e|0,n=w(n);var r=0,o=0,a=0,s=0;s=we(n)|0,r=s?0:2,o=e+364|0,a=e+368|0,s|w(T[o>>2])==n&&(t[a>>2]|0)==(r|0)||(T[o>>2]=n,t[a>>2]=r,Sn(e))}function Ml(e,n){e=e|0,n=n|0;var r=0,o=0;o=n+364|0,r=t[o+4>>2]|0,n=e,t[n>>2]=t[o>>2],t[n+4>>2]=r}function Cf(e,n){e=e|0,n=w(n);var r=0,o=0,a=0,s=0;s=we(n)|0,r=(s^1)&1,o=e+372|0,a=e+376|0,s|w(T[o>>2])==n&&(t[a>>2]|0)==(r|0)||(T[o>>2]=n,t[a>>2]=r,Sn(e))}function ju(e,n){e=e|0,n=w(n);var r=0,o=0,a=0,s=0;s=we(n)|0,r=s?0:2,o=e+372|0,a=e+376|0,s|w(T[o>>2])==n&&(t[a>>2]|0)==(r|0)||(T[o>>2]=n,t[a>>2]=r,Sn(e))}function As(e,n){e=e|0,n=n|0;var r=0,o=0;o=n+372|0,r=t[o+4>>2]|0,n=e,t[n>>2]=t[o>>2],t[n+4>>2]=r}function Oo(e,n){e=e|0,n=w(n);var r=0,o=0,a=0,s=0;s=we(n)|0,r=(s^1)&1,o=e+380|0,a=e+384|0,s|w(T[o>>2])==n&&(t[a>>2]|0)==(r|0)||(T[o>>2]=n,t[a>>2]=r,Sn(e))}function ol(e,n){e=e|0,n=w(n);var r=0,o=0,a=0,s=0;s=we(n)|0,r=s?0:2,o=e+380|0,a=e+384|0,s|w(T[o>>2])==n&&(t[a>>2]|0)==(r|0)||(T[o>>2]=n,t[a>>2]=r,Sn(e))}function Nl(e,n){e=e|0,n=n|0;var r=0,o=0;o=n+380|0,r=t[o+4>>2]|0,n=e,t[n>>2]=t[o>>2],t[n+4>>2]=r}function Mo(e,n){e=e|0,n=w(n);var r=0,o=0,a=0,s=0;s=we(n)|0,r=(s^1)&1,o=e+388|0,a=e+392|0,s|w(T[o>>2])==n&&(t[a>>2]|0)==(r|0)||(T[o>>2]=n,t[a>>2]=r,Sn(e))}function Fl(e,n){e=e|0,n=w(n);var r=0,o=0,a=0,s=0;s=we(n)|0,r=s?0:2,o=e+388|0,a=e+392|0,s|w(T[o>>2])==n&&(t[a>>2]|0)==(r|0)||(T[o>>2]=n,t[a>>2]=r,Sn(e))}function ul(e,n){e=e|0,n=n|0;var r=0,o=0;o=n+388|0,r=t[o+4>>2]|0,n=e,t[n>>2]=t[o>>2],t[n+4>>2]=r}function o0(e,n){e=e|0,n=w(n);var r=0;r=e+396|0,w(T[r>>2])!=n&&(T[r>>2]=n,Sn(e))}function Ki(e){return e=e|0,w(T[e+396>>2])}function kr(e){return e=e|0,w(T[e+400>>2])}function zu(e){return e=e|0,w(T[e+404>>2])}function Xo(e){return e=e|0,w(T[e+408>>2])}function No(e){return e=e|0,w(T[e+412>>2])}function fa(e){return e=e|0,w(T[e+416>>2])}function qu(e){return e=e|0,w(T[e+420>>2])}function Xi(e,n){switch(e=e|0,n=n|0,r0(e,(n|0)<6,2918),n|0){case 0:{n=(t[e+496>>2]|0)==2?5:4;break}case 2:{n=(t[e+496>>2]|0)==2?4:5;break}default:}return w(T[e+424+(n<<2)>>2])}function pi(e,n){switch(e=e|0,n=n|0,r0(e,(n|0)<6,2918),n|0){case 0:{n=(t[e+496>>2]|0)==2?5:4;break}case 2:{n=(t[e+496>>2]|0)==2?4:5;break}default:}return w(T[e+448+(n<<2)>>2])}function Fo(e,n){switch(e=e|0,n=n|0,r0(e,(n|0)<6,2918),n|0){case 0:{n=(t[e+496>>2]|0)==2?5:4;break}case 2:{n=(t[e+496>>2]|0)==2?4:5;break}default:}return w(T[e+472+(n<<2)>>2])}function Qr(e,n){e=e|0,n=n|0;var r=0,o=lt;return r=t[e+4>>2]|0,(r|0)==(t[n+4>>2]|0)?r?(o=w(T[e>>2]),e=w(kt(w(o-w(T[n>>2]))))>2]=0,t[o+4>>2]=0,t[o+8>>2]=0,z0(o|0,e|0,n|0,0),R0(e,3,(p[o+11>>0]|0)<0?t[o>>2]|0:o,r),dB(o),v=r}function G0(e,n,r,o){e=w(e),n=w(n),r=r|0,o=o|0;var a=lt;e=w(e*n),a=w(JE(e,w(1)));do if(Or(a,w(0))|0)e=w(e-a);else{if(e=w(e-a),Or(a,w(1))|0){e=w(e+w(1));break}if(r){e=w(e+w(1));break}o||(a>w(.5)?a=w(1):(o=Or(a,w(.5))|0,a=w(o?1:0)),e=w(e+a))}while(0);return w(e/n)}function Ll(e,n,r,o,a,s,h,E,D,k,R,F,H){e=e|0,n=w(n),r=r|0,o=w(o),a=a|0,s=w(s),h=h|0,E=w(E),D=w(D),k=w(k),R=w(R),F=w(F),H=H|0;var xe=0,ce=lt,ue=lt,Be=lt,be=lt,Ve=lt,me=lt;return D>2]),ce!=w(0))?(Be=w(G0(n,ce,0,0)),be=w(G0(o,ce,0,0)),ue=w(G0(s,ce,0,0)),ce=w(G0(E,ce,0,0))):(ue=s,Be=n,ce=E,be=o),(a|0)==(e|0)?xe=Or(ue,Be)|0:xe=0,(h|0)==(r|0)?H=Or(ce,be)|0:H=0,!xe&&(Ve=w(n-R),!(Qo(e,Ve,D)|0))&&!(Jo(e,Ve,a,D)|0)?xe=Zo(e,Ve,a,s,D)|0:xe=1,!H&&(me=w(o-F),!(Qo(r,me,k)|0))&&!(Jo(r,me,h,k)|0)?H=Zo(r,me,h,E,k)|0:H=1,H=xe&H),H|0}function Qo(e,n,r){return e=e|0,n=w(n),r=w(r),(e|0)==1?e=Or(n,r)|0:e=0,e|0}function Jo(e,n,r,o){return e=e|0,n=w(n),r=r|0,o=w(o),(e|0)==2&(r|0)==0?n>=o?e=1:e=Or(n,o)|0:e=0,e|0}function Zo(e,n,r,o,a){return e=e|0,n=w(n),r=r|0,o=w(o),a=w(a),(e|0)==2&(r|0)==2&o>n?a<=n?e=1:e=Or(n,a)|0:e=0,e|0}function Y0(e,n,r,o,a,s,h,E,D,k,R){e=e|0,n=w(n),r=w(r),o=o|0,a=a|0,s=s|0,h=w(h),E=w(E),D=D|0,k=k|0,R=R|0;var F=0,H=0,xe=0,ce=0,ue=lt,Be=lt,be=0,Ve=0,me=0,Ce=0,At=0,Zn=0,on=0,Yt=0,Pn=0,Qn=0,tn=0,$r=lt,lu=lt,au=lt,su=0,Zu=0;tn=v,v=v+160|0,Yt=tn+152|0,on=tn+120|0,Zn=tn+104|0,me=tn+72|0,ce=tn+56|0,At=tn+8|0,Ve=tn,Ce=(t[2279]|0)+1|0,t[2279]=Ce,Pn=e+984|0,(p[Pn>>0]|0)!=0&&(t[e+512>>2]|0)!=(t[2278]|0)?be=4:(t[e+516>>2]|0)==(o|0)?Qn=0:be=4,(be|0)==4&&(t[e+520>>2]=0,t[e+924>>2]=-1,t[e+928>>2]=-1,T[e+932>>2]=w(-1),T[e+936>>2]=w(-1),Qn=1);e:do if(t[e+964>>2]|0)if(ue=w(ur(e,2,h)),Be=w(ur(e,0,h)),F=e+916|0,au=w(T[F>>2]),lu=w(T[e+920>>2]),$r=w(T[e+932>>2]),Ll(a,n,s,r,t[e+924>>2]|0,au,t[e+928>>2]|0,lu,$r,w(T[e+936>>2]),ue,Be,R)|0)be=22;else if(xe=t[e+520>>2]|0,!xe)be=21;else for(H=0;;){if(F=e+524+(H*24|0)|0,$r=w(T[F>>2]),lu=w(T[e+524+(H*24|0)+4>>2]),au=w(T[e+524+(H*24|0)+16>>2]),Ll(a,n,s,r,t[e+524+(H*24|0)+8>>2]|0,$r,t[e+524+(H*24|0)+12>>2]|0,lu,au,w(T[e+524+(H*24|0)+20>>2]),ue,Be,R)|0){be=22;break e}if(H=H+1|0,H>>>0>=xe>>>0){be=21;break}}else{if(D){if(F=e+916|0,!(Or(w(T[F>>2]),n)|0)){be=21;break}if(!(Or(w(T[e+920>>2]),r)|0)){be=21;break}if((t[e+924>>2]|0)!=(a|0)){be=21;break}F=(t[e+928>>2]|0)==(s|0)?F:0,be=22;break}if(xe=t[e+520>>2]|0,!xe)be=21;else for(H=0;;){if(F=e+524+(H*24|0)|0,Or(w(T[F>>2]),n)|0&&Or(w(T[e+524+(H*24|0)+4>>2]),r)|0&&(t[e+524+(H*24|0)+8>>2]|0)==(a|0)&&(t[e+524+(H*24|0)+12>>2]|0)==(s|0)){be=22;break e}if(H=H+1|0,H>>>0>=xe>>>0){be=21;break}}}while(0);do if((be|0)==21)p[11697]|0?(F=0,be=28):(F=0,be=31);else if((be|0)==22){if(H=(p[11697]|0)!=0,!((F|0)!=0&(Qn^1)))if(H){be=28;break}else{be=31;break}ce=F+16|0,t[e+908>>2]=t[ce>>2],xe=F+20|0,t[e+912>>2]=t[xe>>2],(p[11698]|0)==0|H^1||(t[Ve>>2]=lo(Ce)|0,t[Ve+4>>2]=Ce,R0(e,4,2972,Ve),H=t[e+972>>2]|0,H|0&&tf[H&127](e),a=zr(a,D)|0,s=zr(s,D)|0,Zu=+w(T[ce>>2]),su=+w(T[xe>>2]),t[At>>2]=a,t[At+4>>2]=s,P[At+8>>3]=+n,P[At+16>>3]=+r,P[At+24>>3]=Zu,P[At+32>>3]=su,t[At+40>>2]=k,R0(e,4,2989,At))}while(0);return(be|0)==28&&(H=lo(Ce)|0,t[ce>>2]=H,t[ce+4>>2]=Ce,t[ce+8>>2]=Qn?3047:11699,R0(e,4,3038,ce),H=t[e+972>>2]|0,H|0&&tf[H&127](e),At=zr(a,D)|0,be=zr(s,D)|0,t[me>>2]=At,t[me+4>>2]=be,P[me+8>>3]=+n,P[me+16>>3]=+r,t[me+24>>2]=k,R0(e,4,3049,me),be=31),(be|0)==31&&(Ui(e,n,r,o,a,s,h,E,D,R),p[11697]|0&&(H=t[2279]|0,At=lo(H)|0,t[Zn>>2]=At,t[Zn+4>>2]=H,t[Zn+8>>2]=Qn?3047:11699,R0(e,4,3083,Zn),H=t[e+972>>2]|0,H|0&&tf[H&127](e),At=zr(a,D)|0,Zn=zr(s,D)|0,su=+w(T[e+908>>2]),Zu=+w(T[e+912>>2]),t[on>>2]=At,t[on+4>>2]=Zn,P[on+8>>3]=su,P[on+16>>3]=Zu,t[on+24>>2]=k,R0(e,4,3092,on)),t[e+516>>2]=o,F||(H=e+520|0,F=t[H>>2]|0,(F|0)==16&&(p[11697]|0&&R0(e,4,3124,Yt),t[H>>2]=0,F=0),D?F=e+916|0:(t[H>>2]=F+1,F=e+524+(F*24|0)|0),T[F>>2]=n,T[F+4>>2]=r,t[F+8>>2]=a,t[F+12>>2]=s,t[F+16>>2]=t[e+908>>2],t[F+20>>2]=t[e+912>>2],F=0)),D&&(t[e+416>>2]=t[e+908>>2],t[e+420>>2]=t[e+912>>2],p[e+985>>0]=1,p[Pn>>0]=0),t[2279]=(t[2279]|0)+-1,t[e+512>>2]=t[2278],v=tn,Qn|(F|0)==0|0}function ur(e,n,r){e=e|0,n=n|0,r=w(r);var o=lt;return o=w(Ji(e,n,r)),w(o+w(fo(e,n,r)))}function R0(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0;s=v,v=v+16|0,a=s,t[a>>2]=o,e?o=t[e+976>>2]|0:o=0,ca(o,e,n,r,a),v=s}function lo(e){return e=e|0,(e>>>0>60?3201:3201+(60-e)|0)|0}function zr(e,n){e=e|0,n=n|0;var r=0,o=0,a=0;return a=v,v=v+32|0,r=a+12|0,o=a,t[r>>2]=t[254],t[r+4>>2]=t[255],t[r+8>>2]=t[256],t[o>>2]=t[257],t[o+4>>2]=t[258],t[o+8>>2]=t[259],(e|0)>2?e=11699:e=t[(n?o:r)+(e<<2)>>2]|0,v=a,e|0}function Ui(e,n,r,o,a,s,h,E,D,k){e=e|0,n=w(n),r=w(r),o=o|0,a=a|0,s=s|0,h=w(h),E=w(E),D=D|0,k=k|0;var R=0,F=0,H=0,xe=0,ce=lt,ue=lt,Be=lt,be=lt,Ve=lt,me=lt,Ce=lt,At=0,Zn=0,on=0,Yt=lt,Pn=lt,Qn=0,tn=lt,$r=0,lu=0,au=0,su=0,Zu=0,ec=0,tc=0,Jl=0,nc=0,vs=0,ms=0,rc=0,ic=0,oc=0,_r=0,Zl=0,uc=0,Ma=0,lc=lt,ac=lt,ys=lt,gs=lt,Na=lt,Ho=0,El=0,Mu=0,$l=0,rf=0,of=lt,_s=lt,uf=lt,lf=lt,Wo=lt,go=lt,ea=0,si=lt,af=lt,fu=lt,Fa=lt,cu=lt,La=lt,sf=0,ff=0,ba=lt,Vo=lt,ta=0,cf=0,df=0,pf=0,Un=lt,Ri=0,_o=0,du=0,Go=0,Hn=0,un=0,na=0,jt=lt,hf=0,zi=0;na=v,v=v+16|0,Ho=na+12|0,El=na+8|0,Mu=na+4|0,$l=na,r0(e,(a|0)==0|(we(n)|0)^1,3326),r0(e,(s|0)==0|(we(r)|0)^1,3406),_o=Hu(e,o)|0,t[e+496>>2]=_o,Hn=K0(2,_o)|0,un=K0(0,_o)|0,T[e+440>>2]=w(Ji(e,Hn,h)),T[e+444>>2]=w(fo(e,Hn,h)),T[e+428>>2]=w(Ji(e,un,h)),T[e+436>>2]=w(fo(e,un,h)),T[e+464>>2]=w(co(e,Hn)),T[e+468>>2]=w(Lo(e,Hn)),T[e+452>>2]=w(co(e,un)),T[e+460>>2]=w(Lo(e,un)),T[e+488>>2]=w(k0(e,Hn,h)),T[e+492>>2]=w(bo(e,Hn,h)),T[e+476>>2]=w(k0(e,un,h)),T[e+484>>2]=w(bo(e,un,h));do if(t[e+964>>2]|0)pa(e,n,r,a,s,h,E);else{if(du=e+948|0,Go=(t[e+952>>2]|0)-(t[du>>2]|0)>>2,!Go){al(e,n,r,a,s,h,E);break}if(!D&&ha(e,n,r,a,s,h,E)|0)break;rl(e),Zl=e+508|0,p[Zl>>0]=0,Hn=K0(t[e+4>>2]|0,_o)|0,un=Ms(Hn,_o)|0,Ri=ii(Hn)|0,uc=t[e+8>>2]|0,cf=e+28|0,Ma=(t[cf>>2]|0)!=0,cu=Ri?h:E,ba=Ri?E:h,lc=w(L0(e,Hn,h)),ac=w(Qa(e,Hn,h)),ce=w(L0(e,un,h)),La=w(er(e,Hn,h)),Vo=w(er(e,un,h)),on=Ri?a:s,ta=Ri?s:a,Un=Ri?La:Vo,Ve=Ri?Vo:La,Fa=w(ur(e,2,h)),be=w(ur(e,0,h)),ue=w(w(dn(e+364|0,h))-Un),Be=w(w(dn(e+380|0,h))-Un),me=w(w(dn(e+372|0,E))-Ve),Ce=w(w(dn(e+388|0,E))-Ve),ys=Ri?ue:me,gs=Ri?Be:Ce,Fa=w(n-Fa),n=w(Fa-Un),we(n)|0?Un=n:Un=w(Ci(w(Zc(n,Be)),ue)),af=w(r-be),n=w(af-Ve),we(n)|0?fu=n:fu=w(Ci(w(Zc(n,Ce)),me)),ue=Ri?Un:fu,si=Ri?fu:Un;e:do if((on|0)==1)for(o=0,F=0;;){if(R=jr(e,F)|0,!o)w(Ei(R))>w(0)&&w(Di(R))>w(0)?o=R:o=0;else if(X0(R)|0){xe=0;break e}if(F=F+1|0,F>>>0>=Go>>>0){xe=o;break}}else xe=0;while(0);At=xe+500|0,Zn=xe+504|0,o=0,R=0,n=w(0),H=0;do{if(F=t[(t[du>>2]|0)+(H<<2)>>2]|0,(t[F+36>>2]|0)==1)Vr(F),p[F+985>>0]=1,p[F+984>>0]=0;else{wr(F),D&&ao(F,Hu(F,_o)|0,ue,si,Un);do if((t[F+24>>2]|0)!=1)if((F|0)==(xe|0)){t[At>>2]=t[2278],T[Zn>>2]=w(0);break}else{O0(e,F,Un,a,fu,Un,fu,s,_o,k);break}else R|0&&(t[R+960>>2]=F),t[F+960>>2]=0,R=F,o=(o|0)==0?F:o;while(0);go=w(T[F+504>>2]),n=w(n+w(go+w(ur(F,Hn,Un))))}H=H+1|0}while((H|0)!=(Go|0));for(au=n>ue,ea=Ma&((on|0)==2&au)?1:on,$r=(ta|0)==1,Zu=$r&(D^1),ec=(ea|0)==1,tc=(ea|0)==2,Jl=976+(Hn<<2)|0,nc=(ta|2|0)==2,oc=$r&(Ma^1),vs=1040+(un<<2)|0,ms=1040+(Hn<<2)|0,rc=976+(un<<2)|0,ic=(ta|0)!=1,au=Ma&((on|0)!=0&au),lu=e+976|0,$r=$r^1,n=ue,Qn=0,su=0,go=w(0),Na=w(0);;){e:do if(Qn>>>0>>0)for(Zn=t[du>>2]|0,H=0,Ce=w(0),me=w(0),Be=w(0),ue=w(0),F=0,R=0,xe=Qn;;){if(At=t[Zn+(xe<<2)>>2]|0,(t[At+36>>2]|0)!=1&&(t[At+940>>2]=su,(t[At+24>>2]|0)!=1)){if(be=w(ur(At,Hn,Un)),_r=t[Jl>>2]|0,r=w(dn(At+380+(_r<<3)|0,cu)),Ve=w(T[At+504>>2]),r=w(Zc(r,Ve)),r=w(Ci(w(dn(At+364+(_r<<3)|0,cu)),r)),Ma&(H|0)!=0&w(be+w(me+r))>n){s=H,be=Ce,on=xe;break e}be=w(be+r),r=w(me+be),be=w(Ce+be),X0(At)|0&&(Be=w(Be+w(Ei(At))),ue=w(ue-w(Ve*w(Di(At))))),R|0&&(t[R+960>>2]=At),t[At+960>>2]=0,H=H+1|0,R=At,F=(F|0)==0?At:F}else be=Ce,r=me;if(xe=xe+1|0,xe>>>0>>0)Ce=be,me=r;else{s=H,on=xe;break}}else s=0,be=w(0),Be=w(0),ue=w(0),F=0,on=Qn;while(0);_r=Be>w(0)&Bew(0)&uegs&((we(gs)|0)^1))n=gs,_r=51;else if(p[(t[lu>>2]|0)+3>>0]|0)_r=51;else{if(Yt!=w(0)&&w(Ei(e))!=w(0)){_r=53;break}n=be,_r=53}while(0);if((_r|0)==51&&(_r=0,we(n)|0?_r=53:(Pn=w(n-be),tn=n)),(_r|0)==53&&(_r=0,be>2]|0,xe=Pnw(0),me=w(Pn/Yt),Be=w(0),be=w(0),n=w(0),R=F;do r=w(dn(R+380+(H<<3)|0,cu)),ue=w(dn(R+364+(H<<3)|0,cu)),ue=w(Zc(r,w(Ci(ue,w(T[R+504>>2]))))),xe?(r=w(ue*w(Di(R))),r!=w(-0)&&(jt=w(ue-w(Ve*r)),of=w(fr(R,Hn,jt,tn,Un)),jt!=of)&&(Be=w(Be-w(of-ue)),n=w(n+r))):At&&(_s=w(Ei(R)),_s!=w(0))&&(jt=w(ue+w(me*_s)),uf=w(fr(R,Hn,jt,tn,Un)),jt!=uf)&&(Be=w(Be-w(uf-ue)),be=w(be-_s)),R=t[R+960>>2]|0;while((R|0)!=0);if(n=w(Ce+n),ue=w(Pn+Be),rf)n=w(0);else{Ve=w(Yt+be),xe=t[Jl>>2]|0,At=uew(0),Ve=w(ue/Ve),n=w(0);do{jt=w(dn(F+380+(xe<<3)|0,cu)),Be=w(dn(F+364+(xe<<3)|0,cu)),Be=w(Zc(jt,w(Ci(Be,w(T[F+504>>2]))))),At?(jt=w(Be*w(Di(F))),ue=w(-jt),jt!=w(-0)?(jt=w(me*ue),ue=w(fr(F,Hn,w(Be+(Zn?ue:jt)),tn,Un))):ue=Be):H&&(lf=w(Ei(F)),lf!=w(0))?ue=w(fr(F,Hn,w(Be+w(Ve*lf)),tn,Un)):ue=Be,n=w(n-w(ue-Be)),be=w(ur(F,Hn,Un)),r=w(ur(F,un,Un)),ue=w(ue+be),T[El>>2]=ue,t[$l>>2]=1,Be=w(T[F+396>>2]);e:do if(we(Be)|0){R=we(si)|0;do if(!R){if(au|(Qi(F,un,si)|0|$r)||(l0(e,F)|0)!=4||(t[(_0(F,un)|0)+4>>2]|0)==3||(t[(M0(F,un)|0)+4>>2]|0)==3)break;T[Ho>>2]=si,t[Mu>>2]=1;break e}while(0);if(Qi(F,un,si)|0){R=t[F+992+(t[rc>>2]<<2)>>2]|0,jt=w(r+w(dn(R,si))),T[Ho>>2]=jt,R=ic&(t[R+4>>2]|0)==2,t[Mu>>2]=((we(jt)|0|R)^1)&1;break}else{T[Ho>>2]=si,t[Mu>>2]=R?0:2;break}}else jt=w(ue-be),Yt=w(jt/Be),jt=w(Be*jt),t[Mu>>2]=1,T[Ho>>2]=w(r+(Ri?Yt:jt));while(0);an(F,Hn,tn,Un,$l,El),an(F,un,si,Un,Mu,Ho);do if(!(Qi(F,un,si)|0)&&(l0(e,F)|0)==4){if((t[(_0(F,un)|0)+4>>2]|0)==3){R=0;break}R=(t[(M0(F,un)|0)+4>>2]|0)!=3}else R=0;while(0);jt=w(T[El>>2]),Yt=w(T[Ho>>2]),hf=t[$l>>2]|0,zi=t[Mu>>2]|0,Y0(F,Ri?jt:Yt,Ri?Yt:jt,_o,Ri?hf:zi,Ri?zi:hf,Un,fu,D&(R^1),3488,k)|0,p[Zl>>0]=p[Zl>>0]|p[F+508>>0],F=t[F+960>>2]|0}while((F|0)!=0)}}else n=w(0);if(n=w(Pn+n),zi=n>0]=zi|O[Zl>>0],tc&n>w(0)?(R=t[Jl>>2]|0,(t[e+364+(R<<3)+4>>2]|0)!=0&&(Wo=w(dn(e+364+(R<<3)|0,cu)),Wo>=w(0))?ue=w(Ci(w(0),w(Wo-w(tn-n)))):ue=w(0)):ue=n,At=Qn>>>0>>0,At){xe=t[du>>2]|0,H=Qn,R=0;do F=t[xe+(H<<2)>>2]|0,t[F+24>>2]|0||(R=((t[(_0(F,Hn)|0)+4>>2]|0)==3&1)+R|0,R=R+((t[(M0(F,Hn)|0)+4>>2]|0)==3&1)|0),H=H+1|0;while((H|0)!=(on|0));R?(be=w(0),r=w(0)):_r=101}else _r=101;e:do if((_r|0)==101)switch(_r=0,uc|0){case 1:{R=0,be=w(ue*w(.5)),r=w(0);break e}case 2:{R=0,be=ue,r=w(0);break e}case 3:{if(s>>>0<=1){R=0,be=w(0),r=w(0);break e}r=w((s+-1|0)>>>0),R=0,be=w(0),r=w(w(Ci(ue,w(0)))/r);break e}case 5:{r=w(ue/w((s+1|0)>>>0)),R=0,be=r;break e}case 4:{r=w(ue/w(s>>>0)),R=0,be=w(r*w(.5));break e}default:{R=0,be=w(0),r=w(0);break e}}while(0);if(n=w(lc+be),At){Be=w(ue/w(R|0)),H=t[du>>2]|0,F=Qn,ue=w(0);do{R=t[H+(F<<2)>>2]|0;e:do if((t[R+36>>2]|0)!=1){switch(t[R+24>>2]|0){case 1:{if(te(R,Hn)|0){if(!D)break e;jt=w(J(R,Hn,tn)),jt=w(jt+w(co(e,Hn))),jt=w(jt+w(Ji(R,Hn,Un))),T[R+400+(t[ms>>2]<<2)>>2]=jt;break e}break}case 0:if(zi=(t[(_0(R,Hn)|0)+4>>2]|0)==3,jt=w(Be+n),n=zi?jt:n,D&&(zi=R+400+(t[ms>>2]<<2)|0,T[zi>>2]=w(n+w(T[zi>>2]))),zi=(t[(M0(R,Hn)|0)+4>>2]|0)==3,jt=w(Be+n),n=zi?jt:n,Zu){jt=w(r+w(ur(R,Hn,Un))),ue=si,n=w(n+w(jt+w(T[R+504>>2])));break e}else{n=w(n+w(r+w(Te(R,Hn,Un)))),ue=w(Ci(ue,w(Te(R,un,Un))));break e}default:}D&&(jt=w(be+w(co(e,Hn))),zi=R+400+(t[ms>>2]<<2)|0,T[zi>>2]=w(jt+w(T[zi>>2])))}while(0);F=F+1|0}while((F|0)!=(on|0))}else ue=w(0);if(r=w(ac+n),nc?be=w(w(fr(e,un,w(Vo+ue),ba,h))-Vo):be=si,Be=w(w(fr(e,un,w(Vo+(oc?si:ue)),ba,h))-Vo),At&D){F=Qn;do{H=t[(t[du>>2]|0)+(F<<2)>>2]|0;do if((t[H+36>>2]|0)!=1){if((t[H+24>>2]|0)==1){if(te(H,un)|0){if(jt=w(J(H,un,si)),jt=w(jt+w(co(e,un))),jt=w(jt+w(Ji(H,un,Un))),R=t[vs>>2]|0,T[H+400+(R<<2)>>2]=jt,!(we(jt)|0))break}else R=t[vs>>2]|0;jt=w(co(e,un)),T[H+400+(R<<2)>>2]=w(jt+w(Ji(H,un,Un)));break}R=l0(e,H)|0;do if((R|0)==4){if((t[(_0(H,un)|0)+4>>2]|0)==3){_r=139;break}if((t[(M0(H,un)|0)+4>>2]|0)==3){_r=139;break}if(Qi(H,un,si)|0){n=ce;break}hf=t[H+908+(t[Jl>>2]<<2)>>2]|0,t[Ho>>2]=hf,n=w(T[H+396>>2]),zi=we(n)|0,ue=(t[z>>2]=hf,w(T[z>>2])),zi?n=Be:(Pn=w(ur(H,un,Un)),jt=w(ue/n),n=w(n*ue),n=w(Pn+(Ri?jt:n))),T[El>>2]=n,T[Ho>>2]=w(w(ur(H,Hn,Un))+ue),t[Mu>>2]=1,t[$l>>2]=1,an(H,Hn,tn,Un,Mu,Ho),an(H,un,si,Un,$l,El),n=w(T[Ho>>2]),Pn=w(T[El>>2]),jt=Ri?n:Pn,n=Ri?Pn:n,zi=((we(jt)|0)^1)&1,Y0(H,jt,n,_o,zi,((we(n)|0)^1)&1,Un,fu,1,3493,k)|0,n=ce}else _r=139;while(0);e:do if((_r|0)==139){_r=0,n=w(be-w(Te(H,un,Un)));do if((t[(_0(H,un)|0)+4>>2]|0)==3){if((t[(M0(H,un)|0)+4>>2]|0)!=3)break;n=w(ce+w(Ci(w(0),w(n*w(.5)))));break e}while(0);if((t[(M0(H,un)|0)+4>>2]|0)==3){n=ce;break}if((t[(_0(H,un)|0)+4>>2]|0)==3){n=w(ce+w(Ci(w(0),n)));break}switch(R|0){case 1:{n=ce;break e}case 2:{n=w(ce+w(n*w(.5)));break e}default:{n=w(ce+n);break e}}}while(0);jt=w(go+n),zi=H+400+(t[vs>>2]<<2)|0,T[zi>>2]=w(jt+w(T[zi>>2]))}while(0);F=F+1|0}while((F|0)!=(on|0))}if(go=w(go+Be),Na=w(Ci(Na,r)),s=su+1|0,on>>>0>=Go>>>0)break;n=tn,Qn=on,su=s}do if(D){if(R=s>>>0>1,!R&&!(Ee(e)|0))break;if(!(we(si)|0)){n=w(si-go);e:do switch(t[e+12>>2]|0){case 3:{ce=w(ce+n),me=w(0);break}case 2:{ce=w(ce+w(n*w(.5))),me=w(0);break}case 4:{si>go?me=w(n/w(s>>>0)):me=w(0);break}case 7:if(si>go){ce=w(ce+w(n/w(s<<1>>>0))),me=w(n/w(s>>>0)),me=R?me:w(0);break e}else{ce=w(ce+w(n*w(.5))),me=w(0);break e}case 6:{me=w(n/w(su>>>0)),me=si>go&R?me:w(0);break}default:me=w(0)}while(0);if(s|0)for(At=1040+(un<<2)|0,Zn=976+(un<<2)|0,xe=0,F=0;;){e:do if(F>>>0>>0)for(ue=w(0),Be=w(0),n=w(0),H=F;;){R=t[(t[du>>2]|0)+(H<<2)>>2]|0;do if((t[R+36>>2]|0)!=1&&(t[R+24>>2]|0)==0){if((t[R+940>>2]|0)!=(xe|0))break e;if(Qe(R,un)|0&&(jt=w(T[R+908+(t[Zn>>2]<<2)>>2]),n=w(Ci(n,w(jt+w(ur(R,un,Un)))))),(l0(e,R)|0)!=5)break;Wo=w(rt(R)),Wo=w(Wo+w(Ji(R,0,Un))),jt=w(T[R+912>>2]),jt=w(w(jt+w(ur(R,0,Un)))-Wo),Wo=w(Ci(Be,Wo)),jt=w(Ci(ue,jt)),ue=jt,Be=Wo,n=w(Ci(n,w(Wo+jt)))}while(0);if(R=H+1|0,R>>>0>>0)H=R;else{H=R;break}}else Be=w(0),n=w(0),H=F;while(0);if(Ve=w(me+n),r=ce,ce=w(ce+Ve),F>>>0>>0){be=w(r+Be),R=F;do{F=t[(t[du>>2]|0)+(R<<2)>>2]|0;e:do if((t[F+36>>2]|0)!=1&&(t[F+24>>2]|0)==0)switch(l0(e,F)|0){case 1:{jt=w(r+w(Ji(F,un,Un))),T[F+400+(t[At>>2]<<2)>>2]=jt;break e}case 3:{jt=w(w(ce-w(fo(F,un,Un)))-w(T[F+908+(t[Zn>>2]<<2)>>2])),T[F+400+(t[At>>2]<<2)>>2]=jt;break e}case 2:{jt=w(r+w(w(Ve-w(T[F+908+(t[Zn>>2]<<2)>>2]))*w(.5))),T[F+400+(t[At>>2]<<2)>>2]=jt;break e}case 4:{if(jt=w(r+w(Ji(F,un,Un))),T[F+400+(t[At>>2]<<2)>>2]=jt,Qi(F,un,si)|0||(Ri?(ue=w(T[F+908>>2]),n=w(ue+w(ur(F,Hn,Un))),Be=Ve):(Be=w(T[F+912>>2]),Be=w(Be+w(ur(F,un,Un))),n=Ve,ue=w(T[F+908>>2])),Or(n,ue)|0&&Or(Be,w(T[F+912>>2]))|0))break e;Y0(F,n,Be,_o,1,1,Un,fu,1,3501,k)|0;break e}case 5:{T[F+404>>2]=w(w(be-w(rt(F)))+w(J(F,0,si)));break e}default:break e}while(0);R=R+1|0}while((R|0)!=(H|0))}if(xe=xe+1|0,(xe|0)==(s|0))break;F=H}}}while(0);if(T[e+908>>2]=w(fr(e,2,Fa,h,h)),T[e+912>>2]=w(fr(e,0,af,E,h)),(ea|0)!=0&&(sf=t[e+32>>2]|0,ff=(ea|0)==2,!(ff&(sf|0)!=2))?ff&(sf|0)==2&&(n=w(La+tn),n=w(Ci(w(Zc(n,w(Mt(e,Hn,Na,cu)))),La)),_r=198):(n=w(fr(e,Hn,Na,cu,h)),_r=198),(_r|0)==198&&(T[e+908+(t[976+(Hn<<2)>>2]<<2)>>2]=n),(ta|0)!=0&&(df=t[e+32>>2]|0,pf=(ta|0)==2,!(pf&(df|0)!=2))?pf&(df|0)==2&&(n=w(Vo+si),n=w(Ci(w(Zc(n,w(Mt(e,un,w(Vo+go),ba)))),Vo)),_r=204):(n=w(fr(e,un,w(Vo+go),ba,h)),_r=204),(_r|0)==204&&(T[e+908+(t[976+(un<<2)>>2]<<2)>>2]=n),D){if((t[cf>>2]|0)==2){F=976+(un<<2)|0,H=1040+(un<<2)|0,R=0;do xe=jr(e,R)|0,t[xe+24>>2]|0||(hf=t[F>>2]|0,jt=w(T[e+908+(hf<<2)>>2]),zi=xe+400+(t[H>>2]<<2)|0,jt=w(jt-w(T[zi>>2])),T[zi>>2]=w(jt-w(T[xe+908+(hf<<2)>>2]))),R=R+1|0;while((R|0)!=(Go|0))}if(o|0){R=Ri?ea:a;do vn(e,o,Un,R,fu,_o,k),o=t[o+960>>2]|0;while((o|0)!=0)}if(R=(Hn|2|0)==3,F=(un|2|0)==3,R|F){o=0;do H=t[(t[du>>2]|0)+(o<<2)>>2]|0,(t[H+36>>2]|0)!=1&&(R&&Jt(e,H,Hn),F&&Jt(e,H,un)),o=o+1|0;while((o|0)!=(Go|0))}}}while(0);v=na}function u0(e,n){e=e|0,n=w(n);var r=0;cn(e,n>=w(0),3147),r=n==w(0),T[e+4>>2]=r?w(0):n}function _i(e,n,r,o){e=e|0,n=w(n),r=w(r),o=o|0;var a=lt,s=lt,h=0,E=0,D=0;t[2278]=(t[2278]|0)+1,wr(e),Qi(e,2,n)|0?(a=w(dn(t[e+992>>2]|0,n)),D=1,a=w(a+w(ur(e,2,n)))):(a=w(dn(e+380|0,n)),a>=w(0)?D=2:(D=((we(n)|0)^1)&1,a=n)),Qi(e,0,r)|0?(s=w(dn(t[e+996>>2]|0,r)),E=1,s=w(s+w(ur(e,0,n)))):(s=w(dn(e+388|0,r)),s>=w(0)?E=2:(E=((we(r)|0)^1)&1,s=r)),h=e+976|0,Y0(e,a,s,o,D,E,n,r,1,3189,t[h>>2]|0)|0&&(ao(e,t[e+496>>2]|0,n,r,n),g0(e,w(T[(t[h>>2]|0)+4>>2]),w(0),w(0)),p[11696]|0)&&ks(e,7)}function wr(e){e=e|0;var n=0,r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0;E=v,v=v+32|0,h=E+24|0,s=E+16|0,o=E+8|0,a=E,r=0;do n=e+380+(r<<3)|0,(t[e+380+(r<<3)+4>>2]|0)!=0&&(D=n,k=t[D+4>>2]|0,R=o,t[R>>2]=t[D>>2],t[R+4>>2]=k,R=e+364+(r<<3)|0,k=t[R+4>>2]|0,D=a,t[D>>2]=t[R>>2],t[D+4>>2]=k,t[s>>2]=t[o>>2],t[s+4>>2]=t[o+4>>2],t[h>>2]=t[a>>2],t[h+4>>2]=t[a+4>>2],Qr(s,h)|0)||(n=e+348+(r<<3)|0),t[e+992+(r<<2)>>2]=n,r=r+1|0;while((r|0)!=2);v=E}function Qi(e,n,r){e=e|0,n=n|0,r=w(r);var o=0;switch(e=t[e+992+(t[976+(n<<2)>>2]<<2)>>2]|0,t[e+4>>2]|0){case 0:case 3:{e=0;break}case 1:{w(T[e>>2])>2])>2]|0){case 2:{n=w(w(w(T[e>>2])*n)/w(100));break}case 1:{n=w(T[e>>2]);break}default:n=w(Z)}return w(n)}function ao(e,n,r,o,a){e=e|0,n=n|0,r=w(r),o=w(o),a=w(a);var s=0,h=lt;n=t[e+944>>2]|0?n:1,s=K0(t[e+4>>2]|0,n)|0,n=Ms(s,n)|0,r=w(lr(e,s,r)),o=w(lr(e,n,o)),h=w(r+w(Ji(e,s,a))),T[e+400+(t[1040+(s<<2)>>2]<<2)>>2]=h,r=w(r+w(fo(e,s,a))),T[e+400+(t[1e3+(s<<2)>>2]<<2)>>2]=r,r=w(o+w(Ji(e,n,a))),T[e+400+(t[1040+(n<<2)>>2]<<2)>>2]=r,a=w(o+w(fo(e,n,a))),T[e+400+(t[1e3+(n<<2)>>2]<<2)>>2]=a}function g0(e,n,r,o){e=e|0,n=w(n),r=w(r),o=w(o);var a=0,s=0,h=lt,E=lt,D=0,k=0,R=lt,F=0,H=lt,xe=lt,ce=lt,ue=lt;if(n!=w(0)&&(a=e+400|0,ue=w(T[a>>2]),s=e+404|0,ce=w(T[s>>2]),F=e+416|0,xe=w(T[F>>2]),k=e+420|0,h=w(T[k>>2]),H=w(ue+r),R=w(ce+o),o=w(H+xe),E=w(R+h),D=(t[e+988>>2]|0)==1,T[a>>2]=w(G0(ue,n,0,D)),T[s>>2]=w(G0(ce,n,0,D)),r=w(JE(w(xe*n),w(1))),Or(r,w(0))|0?s=0:s=(Or(r,w(1))|0)^1,r=w(JE(w(h*n),w(1))),Or(r,w(0))|0?a=0:a=(Or(r,w(1))|0)^1,ue=w(G0(o,n,D&s,D&(s^1))),T[F>>2]=w(ue-w(G0(H,n,0,D))),ue=w(G0(E,n,D&a,D&(a^1))),T[k>>2]=w(ue-w(G0(R,n,0,D))),s=(t[e+952>>2]|0)-(t[e+948>>2]|0)>>2,s|0)){a=0;do g0(jr(e,a)|0,n,H,R),a=a+1|0;while((a|0)!=(s|0))}}function Xa(e,n,r,o,a){switch(e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,r|0){case 5:case 0:{e=Yw(t[489]|0,o,a)|0;break}default:e=aB(o,a)|0}return e|0}function _u(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0;a=v,v=v+16|0,s=a,t[s>>2]=o,ca(e,0,n,r,s),v=a}function ca(e,n,r,o,a){if(e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,e=e|0?e:956,hS[t[e+8>>2]&1](e,n,r,o,a)|0,(r|0)==5)Tn();else return}function A0(e,n,r){e=e|0,n=n|0,r=r|0,p[e+n>>0]=r&1}function da(e,n){e=e|0,n=n|0;var r=0,o=0;t[e>>2]=0,t[e+4>>2]=0,t[e+8>>2]=0,r=n+4|0,o=(t[r>>2]|0)-(t[n>>2]|0)>>2,o|0&&(ri(e,o),bl(e,t[n>>2]|0,t[r>>2]|0,o))}function ri(e,n){e=e|0,n=n|0;var r=0;if((so(e)|0)>>>0>>0&&gr(e),n>>>0>1073741823)Tn();else{r=Bt(n<<2)|0,t[e+4>>2]=r,t[e>>2]=r,t[e+8>>2]=r+(n<<2);return}}function bl(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,o=e+4|0,e=r-n|0,(e|0)>0&&(bn(t[o>>2]|0,n|0,e|0)|0,t[o>>2]=(t[o>>2]|0)+(e>>>2<<2))}function so(e){return e=e|0,1073741823}function Ji(e,n,r){return e=e|0,n=n|0,r=w(r),ii(n)|0&&(t[e+96>>2]|0)!=0?e=e+92|0:e=tt(e+60|0,t[1040+(n<<2)>>2]|0,992)|0,w(ll(e,r))}function fo(e,n,r){return e=e|0,n=n|0,r=w(r),ii(n)|0&&(t[e+104>>2]|0)!=0?e=e+100|0:e=tt(e+60|0,t[1e3+(n<<2)>>2]|0,992)|0,w(ll(e,r))}function ii(e){return e=e|0,(e|1|0)==3|0}function ll(e,n){return e=e|0,n=w(n),(t[e+4>>2]|0)==3?n=w(0):n=w(dn(e,n)),w(n)}function Hu(e,n){return e=e|0,n=n|0,e=t[e>>2]|0,((e|0)==0?(n|0)>1?n:1:e)|0}function K0(e,n){e=e|0,n=n|0;var r=0;e:do if((n|0)==2){switch(e|0){case 2:{e=3;break e}case 3:break;default:{r=4;break e}}e=2}else r=4;while(0);return e|0}function co(e,n){e=e|0,n=n|0;var r=lt;return ii(n)|0&&(t[e+312>>2]|0)!=0&&(r=w(T[e+308>>2]),r>=w(0))||(r=w(Ci(w(T[(tt(e+276|0,t[1040+(n<<2)>>2]|0,992)|0)>>2]),w(0)))),w(r)}function Lo(e,n){e=e|0,n=n|0;var r=lt;return ii(n)|0&&(t[e+320>>2]|0)!=0&&(r=w(T[e+316>>2]),r>=w(0))||(r=w(Ci(w(T[(tt(e+276|0,t[1e3+(n<<2)>>2]|0,992)|0)>>2]),w(0)))),w(r)}function k0(e,n,r){e=e|0,n=n|0,r=w(r);var o=lt;return ii(n)|0&&(t[e+240>>2]|0)!=0&&(o=w(dn(e+236|0,r)),o>=w(0))||(o=w(Ci(w(dn(tt(e+204|0,t[1040+(n<<2)>>2]|0,992)|0,r)),w(0)))),w(o)}function bo(e,n,r){e=e|0,n=n|0,r=w(r);var o=lt;return ii(n)|0&&(t[e+248>>2]|0)!=0&&(o=w(dn(e+244|0,r)),o>=w(0))||(o=w(Ci(w(dn(tt(e+204|0,t[1e3+(n<<2)>>2]|0,992)|0,r)),w(0)))),w(o)}function pa(e,n,r,o,a,s,h){e=e|0,n=w(n),r=w(r),o=o|0,a=a|0,s=w(s),h=w(h);var E=lt,D=lt,k=lt,R=lt,F=lt,H=lt,xe=0,ce=0,ue=0;ue=v,v=v+16|0,xe=ue,ce=e+964|0,r0(e,(t[ce>>2]|0)!=0,3519),E=w(er(e,2,n)),D=w(er(e,0,n)),k=w(ur(e,2,n)),R=w(ur(e,0,n)),we(n)|0?F=n:F=w(Ci(w(0),w(w(n-k)-E))),we(r)|0?H=r:H=w(Ci(w(0),w(w(r-R)-D))),(o|0)==1&(a|0)==1?(T[e+908>>2]=w(fr(e,2,w(n-k),s,s)),n=w(fr(e,0,w(r-R),h,s))):(vS[t[ce>>2]&1](xe,e,F,o,H,a),F=w(E+w(T[xe>>2])),H=w(n-k),T[e+908>>2]=w(fr(e,2,(o|2|0)==2?F:H,s,s)),H=w(D+w(T[xe+4>>2])),n=w(r-R),n=w(fr(e,0,(a|2|0)==2?H:n,h,s))),T[e+912>>2]=n,v=ue}function al(e,n,r,o,a,s,h){e=e|0,n=w(n),r=w(r),o=o|0,a=a|0,s=w(s),h=w(h);var E=lt,D=lt,k=lt,R=lt;k=w(er(e,2,s)),E=w(er(e,0,s)),R=w(ur(e,2,s)),D=w(ur(e,0,s)),n=w(n-R),T[e+908>>2]=w(fr(e,2,(o|2|0)==2?k:n,s,s)),r=w(r-D),T[e+912>>2]=w(fr(e,0,(a|2|0)==2?E:r,h,s))}function ha(e,n,r,o,a,s,h){e=e|0,n=w(n),r=w(r),o=o|0,a=a|0,s=w(s),h=w(h);var E=0,D=lt,k=lt;return E=(o|0)==2,!(n<=w(0)&E)&&!(r<=w(0)&(a|0)==2)&&!((o|0)==1&(a|0)==1)?e=0:(D=w(ur(e,0,s)),k=w(ur(e,2,s)),E=n>2]=w(fr(e,2,E?w(0):n,s,s)),n=w(r-D),E=r>2]=w(fr(e,0,E?w(0):n,h,s)),e=1),e|0}function Ms(e,n){return e=e|0,n=n|0,Qt(e)|0?e=K0(2,n)|0:e=0,e|0}function L0(e,n,r){return e=e|0,n=n|0,r=w(r),r=w(k0(e,n,r)),w(r+w(co(e,n)))}function Qa(e,n,r){return e=e|0,n=n|0,r=w(r),r=w(bo(e,n,r)),w(r+w(Lo(e,n)))}function er(e,n,r){e=e|0,n=n|0,r=w(r);var o=lt;return o=w(L0(e,n,r)),w(o+w(Qa(e,n,r)))}function X0(e){return e=e|0,t[e+24>>2]|0?e=0:w(Ei(e))!=w(0)?e=1:e=w(Di(e))!=w(0),e|0}function Ei(e){e=e|0;var n=lt;if(t[e+944>>2]|0){if(n=w(T[e+44>>2]),we(n)|0)return n=w(T[e+40>>2]),e=n>w(0)&((we(n)|0)^1),w(e?n:w(0))}else n=w(0);return w(n)}function Di(e){e=e|0;var n=lt,r=0,o=lt;do if(t[e+944>>2]|0){if(n=w(T[e+48>>2]),we(n)|0){if(r=p[(t[e+976>>2]|0)+2>>0]|0,r<<24>>24==0&&(o=w(T[e+40>>2]),o>24?w(1):w(0)}}else n=w(0);while(0);return w(n)}function Vr(e){e=e|0;var n=0,r=0;if(x2(e+400|0,0,540)|0,p[e+985>>0]=1,rl(e),r=Ii(e)|0,r|0){n=e+948|0,e=0;do Vr(t[(t[n>>2]|0)+(e<<2)>>2]|0),e=e+1|0;while((e|0)!=(r|0))}}function O0(e,n,r,o,a,s,h,E,D,k){e=e|0,n=n|0,r=w(r),o=o|0,a=w(a),s=w(s),h=w(h),E=E|0,D=D|0,k=k|0;var R=0,F=lt,H=0,xe=0,ce=lt,ue=lt,Be=0,be=lt,Ve=0,me=lt,Ce=0,At=0,Zn=0,on=0,Yt=0,Pn=0,Qn=0,tn=0,$r=0,lu=0;$r=v,v=v+16|0,Zn=$r+12|0,on=$r+8|0,Yt=$r+4|0,Pn=$r,tn=K0(t[e+4>>2]|0,D)|0,Ce=ii(tn)|0,F=w(dn(Zt(n)|0,Ce?s:h)),At=Qi(n,2,s)|0,Qn=Qi(n,0,h)|0;do if(!(we(F)|0)&&!(we(Ce?r:a)|0)){if(R=n+504|0,!(we(w(T[R>>2]))|0)&&(!(kn(t[n+976>>2]|0,0)|0)||(t[n+500>>2]|0)==(t[2278]|0)))break;T[R>>2]=w(Ci(F,w(er(n,tn,s))))}else H=7;while(0);do if((H|0)==7){if(Ve=Ce^1,!(Ve|At^1)){h=w(dn(t[n+992>>2]|0,s)),T[n+504>>2]=w(Ci(h,w(er(n,2,s))));break}if(!(Ce|Qn^1)){h=w(dn(t[n+996>>2]|0,h)),T[n+504>>2]=w(Ci(h,w(er(n,0,s))));break}T[Zn>>2]=w(Z),T[on>>2]=w(Z),t[Yt>>2]=0,t[Pn>>2]=0,be=w(ur(n,2,s)),me=w(ur(n,0,s)),At?(ce=w(be+w(dn(t[n+992>>2]|0,s))),T[Zn>>2]=ce,t[Yt>>2]=1,xe=1):(xe=0,ce=w(Z)),Qn?(F=w(me+w(dn(t[n+996>>2]|0,h))),T[on>>2]=F,t[Pn>>2]=1,R=1):(R=0,F=w(Z)),H=t[e+32>>2]|0,Ce&(H|0)==2?H=2:we(ce)|0&&!(we(r)|0)&&(T[Zn>>2]=r,t[Yt>>2]=2,xe=2,ce=r),!((H|0)==2&Ve)&&we(F)|0&&!(we(a)|0)&&(T[on>>2]=a,t[Pn>>2]=2,R=2,F=a),ue=w(T[n+396>>2]),Be=we(ue)|0;do if(Be)H=xe;else{if((xe|0)==1&Ve){T[on>>2]=w(w(ce-be)/ue),t[Pn>>2]=1,R=1,H=1;break}Ce&(R|0)==1?(T[Zn>>2]=w(ue*w(F-me)),t[Yt>>2]=1,R=1,H=1):H=xe}while(0);lu=we(r)|0,xe=(l0(e,n)|0)!=4,!(Ce|At|((o|0)!=1|lu)|(xe|(H|0)==1))&&(T[Zn>>2]=r,t[Yt>>2]=1,!Be)&&(T[on>>2]=w(w(r-be)/ue),t[Pn>>2]=1,R=1),!(Qn|Ve|((E|0)!=1|(we(a)|0))|(xe|(R|0)==1))&&(T[on>>2]=a,t[Pn>>2]=1,!Be)&&(T[Zn>>2]=w(ue*w(a-me)),t[Yt>>2]=1),an(n,2,s,s,Yt,Zn),an(n,0,h,s,Pn,on),r=w(T[Zn>>2]),a=w(T[on>>2]),Y0(n,r,a,D,t[Yt>>2]|0,t[Pn>>2]|0,s,h,0,3565,k)|0,h=w(T[n+908+(t[976+(tn<<2)>>2]<<2)>>2]),T[n+504>>2]=w(Ci(h,w(er(n,tn,s))))}while(0);t[n+500>>2]=t[2278],v=$r}function fr(e,n,r,o,a){return e=e|0,n=n|0,r=w(r),o=w(o),a=w(a),o=w(Mt(e,n,r,o)),w(Ci(o,w(er(e,n,a))))}function l0(e,n){return e=e|0,n=n|0,n=n+20|0,n=t[((t[n>>2]|0)==0?e+16|0:n)>>2]|0,(n|0)==5&&Qt(t[e+4>>2]|0)|0&&(n=1),n|0}function _0(e,n){return e=e|0,n=n|0,ii(n)|0&&(t[e+96>>2]|0)!=0?n=4:n=t[1040+(n<<2)>>2]|0,e+60+(n<<3)|0}function M0(e,n){return e=e|0,n=n|0,ii(n)|0&&(t[e+104>>2]|0)!=0?n=5:n=t[1e3+(n<<2)>>2]|0,e+60+(n<<3)|0}function an(e,n,r,o,a,s){switch(e=e|0,n=n|0,r=w(r),o=w(o),a=a|0,s=s|0,r=w(dn(e+380+(t[976+(n<<2)>>2]<<3)|0,r)),r=w(r+w(ur(e,n,o))),t[a>>2]|0){case 2:case 1:{a=we(r)|0,o=w(T[s>>2]),T[s>>2]=a|o>2]=2,T[s>>2]=r);break}default:}}function te(e,n){return e=e|0,n=n|0,e=e+132|0,ii(n)|0&&(t[(tt(e,4,948)|0)+4>>2]|0)!=0?e=1:e=(t[(tt(e,t[1040+(n<<2)>>2]|0,948)|0)+4>>2]|0)!=0,e|0}function J(e,n,r){e=e|0,n=n|0,r=w(r);var o=0,a=0;return e=e+132|0,ii(n)|0&&(o=tt(e,4,948)|0,(t[o+4>>2]|0)!=0)?a=4:(o=tt(e,t[1040+(n<<2)>>2]|0,948)|0,t[o+4>>2]|0?a=4:r=w(0)),(a|0)==4&&(r=w(dn(o,r))),w(r)}function Te(e,n,r){e=e|0,n=n|0,r=w(r);var o=lt;return o=w(T[e+908+(t[976+(n<<2)>>2]<<2)>>2]),o=w(o+w(Ji(e,n,r))),w(o+w(fo(e,n,r)))}function Ee(e){e=e|0;var n=0,r=0,o=0;e:do if(Qt(t[e+4>>2]|0)|0)n=0;else if((t[e+16>>2]|0)!=5)if(r=Ii(e)|0,!r)n=0;else for(n=0;;){if(o=jr(e,n)|0,(t[o+24>>2]|0)==0&&(t[o+20>>2]|0)==5){n=1;break e}if(n=n+1|0,n>>>0>=r>>>0){n=0;break}}else n=1;while(0);return n|0}function Qe(e,n){e=e|0,n=n|0;var r=lt;return r=w(T[e+908+(t[976+(n<<2)>>2]<<2)>>2]),r>=w(0)&((we(r)|0)^1)|0}function rt(e){e=e|0;var n=lt,r=0,o=0,a=0,s=0,h=0,E=0,D=lt;if(r=t[e+968>>2]|0,r)D=w(T[e+908>>2]),n=w(T[e+912>>2]),n=w(fS[r&0](e,D,n)),r0(e,(we(n)|0)^1,3573);else{s=Ii(e)|0;do if(s|0){for(r=0,a=0;;){if(o=jr(e,a)|0,t[o+940>>2]|0){h=8;break}if((t[o+24>>2]|0)!=1)if(E=(l0(e,o)|0)==5,E){r=o;break}else r=(r|0)==0?o:r;if(a=a+1|0,a>>>0>=s>>>0){h=8;break}}if((h|0)==8&&!r)break;return n=w(rt(r)),w(n+w(T[r+404>>2]))}while(0);n=w(T[e+912>>2])}return w(n)}function Mt(e,n,r,o){e=e|0,n=n|0,r=w(r),o=w(o);var a=lt,s=0;return Qt(n)|0?(n=1,s=3):ii(n)|0?(n=0,s=3):(o=w(Z),a=w(Z)),(s|0)==3&&(a=w(dn(e+364+(n<<3)|0,o)),o=w(dn(e+380+(n<<3)|0,o))),s=o=w(0)&((we(o)|0)^1)),r=s?o:r,s=a>=w(0)&((we(a)|0)^1)&r>2]|0,s)|0,ce=Ms(Be,s)|0,ue=ii(Be)|0,F=w(ur(n,2,r)),H=w(ur(n,0,r)),Qi(n,2,r)|0?E=w(F+w(dn(t[n+992>>2]|0,r))):te(n,2)|0&&Et(n,2)|0?(E=w(T[e+908>>2]),D=w(co(e,2)),D=w(E-w(D+w(Lo(e,2)))),E=w(J(n,2,r)),E=w(fr(n,2,w(D-w(E+w(oi(n,2,r)))),r,r))):E=w(Z),Qi(n,0,a)|0?D=w(H+w(dn(t[n+996>>2]|0,a))):te(n,0)|0&&Et(n,0)|0?(D=w(T[e+912>>2]),Ve=w(co(e,0)),Ve=w(D-w(Ve+w(Lo(e,0)))),D=w(J(n,0,a)),D=w(fr(n,0,w(Ve-w(D+w(oi(n,0,a)))),a,r))):D=w(Z),k=we(E)|0,R=we(D)|0;do if(k^R&&(xe=w(T[n+396>>2]),!(we(xe)|0)))if(k){E=w(F+w(w(D-H)*xe));break}else{Ve=w(H+w(w(E-F)/xe)),D=R?Ve:D;break}while(0);R=we(E)|0,k=we(D)|0,R|k&&(me=(R^1)&1,o=r>w(0)&((o|0)!=0&R),E=ue?E:o?r:E,Y0(n,E,D,s,ue?me:o?2:me,R&(k^1)&1,E,D,0,3623,h)|0,E=w(T[n+908>>2]),E=w(E+w(ur(n,2,r))),D=w(T[n+912>>2]),D=w(D+w(ur(n,0,r)))),Y0(n,E,D,s,1,1,E,D,1,3635,h)|0,Et(n,Be)|0&&!(te(n,Be)|0)?(me=t[976+(Be<<2)>>2]|0,Ve=w(T[e+908+(me<<2)>>2]),Ve=w(Ve-w(T[n+908+(me<<2)>>2])),Ve=w(Ve-w(Lo(e,Be))),Ve=w(Ve-w(fo(n,Be,r))),Ve=w(Ve-w(oi(n,Be,ue?r:a))),T[n+400+(t[1040+(Be<<2)>>2]<<2)>>2]=Ve):be=21;do if((be|0)==21){if(!(te(n,Be)|0)&&(t[e+8>>2]|0)==1){me=t[976+(Be<<2)>>2]|0,Ve=w(T[e+908+(me<<2)>>2]),Ve=w(w(Ve-w(T[n+908+(me<<2)>>2]))*w(.5)),T[n+400+(t[1040+(Be<<2)>>2]<<2)>>2]=Ve;break}!(te(n,Be)|0)&&(t[e+8>>2]|0)==2&&(me=t[976+(Be<<2)>>2]|0,Ve=w(T[e+908+(me<<2)>>2]),Ve=w(Ve-w(T[n+908+(me<<2)>>2])),T[n+400+(t[1040+(Be<<2)>>2]<<2)>>2]=Ve)}while(0);Et(n,ce)|0&&!(te(n,ce)|0)?(me=t[976+(ce<<2)>>2]|0,Ve=w(T[e+908+(me<<2)>>2]),Ve=w(Ve-w(T[n+908+(me<<2)>>2])),Ve=w(Ve-w(Lo(e,ce))),Ve=w(Ve-w(fo(n,ce,r))),Ve=w(Ve-w(oi(n,ce,ue?a:r))),T[n+400+(t[1040+(ce<<2)>>2]<<2)>>2]=Ve):be=30;do if((be|0)==30&&!(te(n,ce)|0)){if((l0(e,n)|0)==2){me=t[976+(ce<<2)>>2]|0,Ve=w(T[e+908+(me<<2)>>2]),Ve=w(w(Ve-w(T[n+908+(me<<2)>>2]))*w(.5)),T[n+400+(t[1040+(ce<<2)>>2]<<2)>>2]=Ve;break}me=(l0(e,n)|0)==3,me^(t[e+28>>2]|0)==2&&(me=t[976+(ce<<2)>>2]|0,Ve=w(T[e+908+(me<<2)>>2]),Ve=w(Ve-w(T[n+908+(me<<2)>>2])),T[n+400+(t[1040+(ce<<2)>>2]<<2)>>2]=Ve)}while(0)}function Jt(e,n,r){e=e|0,n=n|0,r=r|0;var o=lt,a=0;a=t[976+(r<<2)>>2]|0,o=w(T[n+908+(a<<2)>>2]),o=w(w(T[e+908+(a<<2)>>2])-o),o=w(o-w(T[n+400+(t[1040+(r<<2)>>2]<<2)>>2])),T[n+400+(t[1e3+(r<<2)>>2]<<2)>>2]=o}function Qt(e){return e=e|0,(e|1|0)==1|0}function Zt(e){e=e|0;var n=lt;switch(t[e+56>>2]|0){case 0:case 3:{n=w(T[e+40>>2]),n>w(0)&((we(n)|0)^1)?e=p[(t[e+976>>2]|0)+2>>0]|0?1056:992:e=1056;break}default:e=e+52|0}return e|0}function kn(e,n){return e=e|0,n=n|0,(p[e+n>>0]|0)!=0|0}function Et(e,n){return e=e|0,n=n|0,e=e+132|0,ii(n)|0&&(t[(tt(e,5,948)|0)+4>>2]|0)!=0?e=1:e=(t[(tt(e,t[1e3+(n<<2)>>2]|0,948)|0)+4>>2]|0)!=0,e|0}function oi(e,n,r){e=e|0,n=n|0,r=w(r);var o=0,a=0;return e=e+132|0,ii(n)|0&&(o=tt(e,5,948)|0,(t[o+4>>2]|0)!=0)?a=4:(o=tt(e,t[1e3+(n<<2)>>2]|0,948)|0,t[o+4>>2]|0?a=4:r=w(0)),(a|0)==4&&(r=w(dn(o,r))),w(r)}function lr(e,n,r){return e=e|0,n=n|0,r=w(r),te(e,n)|0?r=w(J(e,n,r)):r=w(-w(oi(e,n,r))),w(r)}function zn(e){return e=w(e),T[z>>2]=e,t[z>>2]|0|0}function Mr(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>1073741823)Tn();else{a=Bt(n<<2)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<2)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<2)}function qr(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>2)<<2)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function Cr(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-4-n|0)>>>2)<<2)),e=t[e>>2]|0,e|0&&$e(e)}function ui(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0;if(h=e+4|0,E=t[h>>2]|0,a=E-o|0,s=a>>2,e=n+(s<<2)|0,e>>>0>>0){o=E;do t[o>>2]=t[e>>2],e=e+4|0,o=(t[h>>2]|0)+4|0,t[h>>2]=o;while(e>>>0>>0)}s|0&&ih(E+(0-s<<2)|0,n|0,a|0)|0}function gt(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0;return E=n+4|0,D=t[E>>2]|0,a=t[e>>2]|0,h=r,s=h-a|0,o=D+(0-(s>>2)<<2)|0,t[E>>2]=o,(s|0)>0&&bn(o|0,a|0,s|0)|0,a=e+4|0,s=n+8|0,o=(t[a>>2]|0)-h|0,(o|0)>0&&(bn(t[s>>2]|0,r|0,o|0)|0,t[s>>2]=(t[s>>2]|0)+(o>>>2<<2)),h=t[e>>2]|0,t[e>>2]=t[E>>2],t[E>>2]=h,h=t[a>>2]|0,t[a>>2]=t[s>>2],t[s>>2]=h,h=e+8|0,r=n+12|0,e=t[h>>2]|0,t[h>>2]=t[r>>2],t[r>>2]=e,t[n>>2]=t[E>>2],D|0}function xr(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;if(h=t[n>>2]|0,s=t[r>>2]|0,(h|0)!=(s|0)){a=e+8|0,r=((s+-4-h|0)>>>2)+1|0,e=h,o=t[a>>2]|0;do t[o>>2]=t[e>>2],o=(t[a>>2]|0)+4|0,t[a>>2]=o,e=e+4|0;while((e|0)!=(s|0));t[n>>2]=h+(r<<2)}}function hi(){he()}function E0(){var e=0;return e=Bt(4)|0,On(e),e|0}function On(e){e=e|0,t[e>>2]=m0()|0}function a0(e){e=e|0,e|0&&(Q0(e),$e(e))}function Q0(e){e=e|0,H0(t[e>>2]|0)}function po(e,n,r){e=e|0,n=n|0,r=r|0,A0(t[e>>2]|0,n,r)}function s0(e,n){e=e|0,n=w(n),u0(t[e>>2]|0,n)}function Po(e,n){return e=e|0,n=n|0,kn(t[e>>2]|0,n)|0}function va(){var e=0;return e=Bt(8)|0,Ja(e,0),e|0}function Ja(e,n){e=e|0,n=n|0,n?n=Cn(t[n>>2]|0)|0:n=In()|0,t[e>>2]=n,t[e+4>>2]=0,Ka(n,e)}function Ns(e){e=e|0;var n=0;return n=Bt(8)|0,Ja(n,e),n|0}function xf(e){e=e|0,e|0&&(sl(e),$e(e))}function sl(e){e=e|0;var n=0;t0(t[e>>2]|0),n=e+4|0,e=t[n>>2]|0,t[n>>2]=0,e|0&&(ma(e),$e(e))}function ma(e){e=e|0,Pl(e)}function Pl(e){e=e|0,e=t[e>>2]|0,e|0&&vr(e|0)}function Rf(e){return e=e|0,kl(e)|0}function Za(e){e=e|0;var n=0,r=0;r=e+4|0,n=t[r>>2]|0,t[r>>2]=0,n|0&&(ma(n),$e(n)),uo(t[e>>2]|0)}function ld(e,n){e=e|0,n=n|0,sa(t[e>>2]|0,t[n>>2]|0)}function E1(e,n){e=e|0,n=n|0,G(t[e>>2]|0,n)}function D1(e,n,r){e=e|0,n=n|0,r=+r,jn(t[e>>2]|0,n,w(r))}function Il(e,n,r){e=e|0,n=n|0,r=+r,xn(t[e>>2]|0,n,w(r))}function _c(e,n){e=e|0,n=n|0,B(t[e>>2]|0,n)}function Eu(e,n){e=e|0,n=n|0,Y(t[e>>2]|0,n)}function w1(e,n){e=e|0,n=n|0,se(t[e>>2]|0,n)}function ad(e,n){e=e|0,n=n|0,x0(t[e>>2]|0,n)}function Bl(e,n){e=e|0,n=n|0,je(t[e>>2]|0,n)}function Du(e,n){e=e|0,n=n|0,Uu(t[e>>2]|0,n)}function S1(e,n,r){e=e|0,n=n|0,r=+r,nn(t[e>>2]|0,n,w(r))}function Io(e,n,r){e=e|0,n=n|0,r=+r,$n(t[e>>2]|0,n,w(r))}function Fs(e,n){e=e|0,n=n|0,nr(t[e>>2]|0,n)}function Ls(e,n){e=e|0,n=n|0,ne(t[e>>2]|0,n)}function $a(e,n){e=e|0,n=n|0,Je(t[e>>2]|0,n)}function ya(e,n){e=e|0,n=+n,ht(t[e>>2]|0,w(n))}function ga(e,n){e=e|0,n=+n,bt(t[e>>2]|0,w(n))}function bs(e,n){e=e|0,n=+n,Pt(t[e>>2]|0,w(n))}function Ea(e,n){e=e|0,n=+n,wt(t[e>>2]|0,w(n))}function Bo(e,n){e=e|0,n=+n,Vt(t[e>>2]|0,w(n))}function Af(e,n){e=e|0,n=+n,Gt(t[e>>2]|0,w(n))}function $o(e,n){e=e|0,n=+n,An(t[e>>2]|0,w(n))}function eu(e){e=e|0,Vn(t[e>>2]|0)}function kf(e,n){e=e|0,n=+n,i0(t[e>>2]|0,w(n))}function Uo(e,n){e=e|0,n=+n,W0(t[e>>2]|0,w(n))}function Ps(e){e=e|0,V0(t[e>>2]|0)}function Is(e,n){e=e|0,n=+n,Yi(t[e>>2]|0,w(n))}function T1(e,n){e=e|0,n=+n,gu(t[e>>2]|0,w(n))}function Ec(e,n){e=e|0,n=+n,Cf(t[e>>2]|0,w(n))}function Da(e,n){e=e|0,n=+n,ju(t[e>>2]|0,w(n))}function C1(e,n){e=e|0,n=+n,Oo(t[e>>2]|0,w(n))}function es(e,n){e=e|0,n=+n,ol(t[e>>2]|0,w(n))}function x1(e,n){e=e|0,n=+n,Mo(t[e>>2]|0,w(n))}function Of(e,n){e=e|0,n=+n,Fl(t[e>>2]|0,w(n))}function Mf(e,n){e=e|0,n=+n,o0(t[e>>2]|0,w(n))}function R1(e,n,r){e=e|0,n=n|0,r=+r,yt(t[e>>2]|0,n,w(r))}function wu(e,n,r){e=e|0,n=n|0,r=+r,Ge(t[e>>2]|0,n,w(r))}function y(e,n,r){e=e|0,n=n|0,r=+r,at(t[e>>2]|0,n,w(r))}function m(e){return e=e|0,De(t[e>>2]|0)|0}function C(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0;o=v,v=v+16|0,a=o,Jn(a,t[n>>2]|0,r),N(e,a),v=o}function N(e,n){e=e|0,n=n|0,L(e,t[n+4>>2]|0,+w(T[n>>2]))}function L(e,n,r){e=e|0,n=n|0,r=+r,t[e>>2]=n,P[e+8>>3]=r}function K(e){return e=e|0,q(t[e>>2]|0)|0}function ie(e){return e=e|0,_e(t[e>>2]|0)|0}function dt(e){return e=e|0,ge(t[e>>2]|0)|0}function ft(e){return e=e|0,Ol(t[e>>2]|0)|0}function mt(e){return e=e|0,nt(t[e>>2]|0)|0}function Gn(e){return e=e|0,b(t[e>>2]|0)|0}function f0(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0;o=v,v=v+16|0,a=o,y0(a,t[n>>2]|0,r),N(e,a),v=o}function ki(e){return e=e|0,Ne(t[e>>2]|0)|0}function b0(e){return e=e|0,ut(t[e>>2]|0)|0}function wa(e,n){e=e|0,n=n|0;var r=0,o=0;r=v,v=v+16|0,o=r,ln(o,t[n>>2]|0),N(e,o),v=r}function D0(e){return e=e|0,+ +w(Rs(t[e>>2]|0))}function Le(e){return e=e|0,+ +w(Al(t[e>>2]|0))}function ke(e,n){e=e|0,n=n|0;var r=0,o=0;r=v,v=v+16|0,o=r,gi(o,t[n>>2]|0),N(e,o),v=r}function Ke(e,n){e=e|0,n=n|0;var r=0,o=0;r=v,v=v+16|0,o=r,Gi(o,t[n>>2]|0),N(e,o),v=r}function Nt(e,n){e=e|0,n=n|0;var r=0,o=0;r=v,v=v+16|0,o=r,Ml(o,t[n>>2]|0),N(e,o),v=r}function yn(e,n){e=e|0,n=n|0;var r=0,o=0;r=v,v=v+16|0,o=r,As(o,t[n>>2]|0),N(e,o),v=r}function Rr(e,n){e=e|0,n=n|0;var r=0,o=0;r=v,v=v+16|0,o=r,Nl(o,t[n>>2]|0),N(e,o),v=r}function Fn(e,n){e=e|0,n=n|0;var r=0,o=0;r=v,v=v+16|0,o=r,ul(o,t[n>>2]|0),N(e,o),v=r}function Sr(e){return e=e|0,+ +w(Ki(t[e>>2]|0))}function li(e,n){return e=e|0,n=n|0,+ +w(It(t[e>>2]|0,n))}function cr(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0;o=v,v=v+16|0,a=o,ze(a,t[n>>2]|0,r),N(e,a),v=o}function ji(e,n,r){e=e|0,n=n|0,r=r|0,Ya(t[e>>2]|0,t[n>>2]|0,r)}function Nf(e,n){e=e|0,n=n|0,Bi(t[e>>2]|0,t[n>>2]|0)}function ts(e){return e=e|0,Ii(t[e>>2]|0)|0}function gv(e){return e=e|0,e=il(t[e>>2]|0)|0,e?e=Rf(e)|0:e=0,e|0}function _v(e,n){return e=e|0,n=n|0,e=jr(t[e>>2]|0,n)|0,e?e=Rf(e)|0:e=0,e|0}function Ev(e,n){e=e|0,n=n|0;var r=0,o=0;o=Bt(4)|0,Ff(o,n),r=e+4|0,n=t[r>>2]|0,t[r>>2]=o,n|0&&(ma(n),$e(n)),xs(t[e>>2]|0,1)}function Ff(e,n){e=e|0,n=n|0,hd(e,n)}function Yg(e,n,r,o,a,s){e=e|0,n=n|0,r=w(r),o=o|0,a=w(a),s=s|0;var h=0,E=0;h=v,v=v+16|0,E=h,Dv(E,kl(n)|0,+r,o,+a,s),T[e>>2]=w(+P[E>>3]),T[e+4>>2]=w(+P[E+8>>3]),v=h}function Dv(e,n,r,o,a,s){e=e|0,n=n|0,r=+r,o=o|0,a=+a,s=s|0;var h=0,E=0,D=0,k=0,R=0;h=v,v=v+32|0,R=h+8|0,k=h+20|0,D=h,E=h+16|0,P[R>>3]=r,t[k>>2]=o,P[D>>3]=a,t[E>>2]=s,A1(e,t[n+4>>2]|0,R,k,D,E),v=h}function A1(e,n,r,o,a,s){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0;var h=0,E=0;h=v,v=v+16|0,E=h,yl(E),n=jo(n)|0,wv(e,n,+P[r>>3],t[o>>2]|0,+P[a>>3],t[s>>2]|0),gl(E),v=h}function jo(e){return e=e|0,t[e>>2]|0}function wv(e,n,r,o,a,s){e=e|0,n=n|0,r=+r,o=o|0,a=+a,s=s|0;var h=0;h=ho(Kg()|0)|0,r=+fl(r),o=sd(o)|0,a=+fl(a),Sv(e,mr(0,h|0,n|0,+r,o|0,+a,sd(s)|0)|0)}function Kg(){var e=0;return p[7608]|0||(N1(9120),e=7608,t[e>>2]=1,t[e+4>>2]=0),9120}function ho(e){return e=e|0,t[e+8>>2]|0}function fl(e){return e=+e,+ +M1(e)}function sd(e){return e=e|0,O1(e)|0}function Sv(e,n){e=e|0,n=n|0;var r=0,o=0,a=0;a=v,v=v+32|0,r=a,o=n,o&1?(fd(r,0),di(o|0,r|0)|0,cd(e,r),dd(r)):(t[e>>2]=t[n>>2],t[e+4>>2]=t[n+4>>2],t[e+8>>2]=t[n+8>>2],t[e+12>>2]=t[n+12>>2]),v=a}function fd(e,n){e=e|0,n=n|0,k1(e,n),t[e+8>>2]=0,p[e+24>>0]=0}function cd(e,n){e=e|0,n=n|0,n=n+8|0,t[e>>2]=t[n>>2],t[e+4>>2]=t[n+4>>2],t[e+8>>2]=t[n+8>>2],t[e+12>>2]=t[n+12>>2]}function dd(e){e=e|0,p[e+24>>0]=0}function k1(e,n){e=e|0,n=n|0,t[e>>2]=n}function O1(e){return e=e|0,e|0}function M1(e){return e=+e,+e}function N1(e){e=e|0,tu(e,pd()|0,4)}function pd(){return 1064}function tu(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r,t[e+8>>2]=Dt(n|0,r+1|0)|0}function hd(e,n){e=e|0,n=n|0,n=t[n>>2]|0,t[e>>2]=n,Pr(n|0)}function Tv(e){e=e|0;var n=0,r=0;r=e+4|0,n=t[r>>2]|0,t[r>>2]=0,n|0&&(ma(n),$e(n)),xs(t[e>>2]|0,0)}function F1(e){e=e|0,Iu(t[e>>2]|0)}function vd(e){return e=e|0,Bu(t[e>>2]|0)|0}function Cv(e,n,r,o){e=e|0,n=+n,r=+r,o=o|0,_i(t[e>>2]|0,w(n),w(r),o)}function Xg(e){return e=e|0,+ +w(kr(t[e>>2]|0))}function xv(e){return e=e|0,+ +w(Xo(t[e>>2]|0))}function Rv(e){return e=e|0,+ +w(zu(t[e>>2]|0))}function Qg(e){return e=e|0,+ +w(No(t[e>>2]|0))}function Av(e){return e=e|0,+ +w(fa(t[e>>2]|0))}function md(e){return e=e|0,+ +w(qu(t[e>>2]|0))}function Jg(e,n){e=e|0,n=n|0,P[e>>3]=+w(kr(t[n>>2]|0)),P[e+8>>3]=+w(Xo(t[n>>2]|0)),P[e+16>>3]=+w(zu(t[n>>2]|0)),P[e+24>>3]=+w(No(t[n>>2]|0)),P[e+32>>3]=+w(fa(t[n>>2]|0)),P[e+40>>3]=+w(qu(t[n>>2]|0))}function Zg(e,n){return e=e|0,n=n|0,+ +w(Xi(t[e>>2]|0,n))}function yd(e,n){return e=e|0,n=n|0,+ +w(pi(t[e>>2]|0,n))}function gd(e,n){return e=e|0,n=n|0,+ +w(Fo(t[e>>2]|0,n))}function _d(){return Ga()|0}function Ed(){Dd(),kv(),L1(),Dc(),b1(),P1()}function Dd(){GN(11713,4938,1)}function kv(){cN(10448)}function L1(){GM(10408)}function Dc(){vM(10324)}function b1(){DE(10096)}function P1(){Ov(9132)}function Ov(e){e=e|0;var n=0,r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0,xe=0,ce=0,ue=0,Be=0,be=0,Ve=0,me=0,Ce=0,At=0,Zn=0,on=0,Yt=0,Pn=0,Qn=0,tn=0,$r=0,lu=0,au=0,su=0,Zu=0,ec=0,tc=0,Jl=0,nc=0,vs=0,ms=0,rc=0,ic=0,oc=0,_r=0,Zl=0,uc=0,Ma=0,lc=0,ac=0,ys=0,gs=0,Na=0,Ho=0,El=0,Mu=0,$l=0,rf=0,of=0,_s=0,uf=0,lf=0,Wo=0,go=0,ea=0,si=0,af=0,fu=0,Fa=0,cu=0,La=0,sf=0,ff=0,ba=0,Vo=0,ta=0,cf=0,df=0,pf=0,Un=0,Ri=0,_o=0,du=0,Go=0,Hn=0,un=0,na=0;n=v,v=v+672|0,r=n+656|0,na=n+648|0,un=n+640|0,Hn=n+632|0,Go=n+624|0,du=n+616|0,_o=n+608|0,Ri=n+600|0,Un=n+592|0,pf=n+584|0,df=n+576|0,cf=n+568|0,ta=n+560|0,Vo=n+552|0,ba=n+544|0,ff=n+536|0,sf=n+528|0,La=n+520|0,cu=n+512|0,Fa=n+504|0,fu=n+496|0,af=n+488|0,si=n+480|0,ea=n+472|0,go=n+464|0,Wo=n+456|0,lf=n+448|0,uf=n+440|0,_s=n+432|0,of=n+424|0,rf=n+416|0,$l=n+408|0,Mu=n+400|0,El=n+392|0,Ho=n+384|0,Na=n+376|0,gs=n+368|0,ys=n+360|0,ac=n+352|0,lc=n+344|0,Ma=n+336|0,uc=n+328|0,Zl=n+320|0,_r=n+312|0,oc=n+304|0,ic=n+296|0,rc=n+288|0,ms=n+280|0,vs=n+272|0,nc=n+264|0,Jl=n+256|0,tc=n+248|0,ec=n+240|0,Zu=n+232|0,su=n+224|0,au=n+216|0,lu=n+208|0,$r=n+200|0,tn=n+192|0,Qn=n+184|0,Pn=n+176|0,Yt=n+168|0,on=n+160|0,Zn=n+152|0,At=n+144|0,Ce=n+136|0,me=n+128|0,Ve=n+120|0,be=n+112|0,Be=n+104|0,ue=n+96|0,ce=n+88|0,xe=n+80|0,H=n+72|0,F=n+64|0,R=n+56|0,k=n+48|0,D=n+40|0,E=n+32|0,h=n+24|0,s=n+16|0,a=n+8|0,o=n,Bs(e,3646),I1(e,3651,2)|0,$g(e,3665,2)|0,e4(e,3682,18)|0,t[na>>2]=19,t[na+4>>2]=0,t[r>>2]=t[na>>2],t[r+4>>2]=t[na+4>>2],Sa(e,3690,r)|0,t[un>>2]=1,t[un+4>>2]=0,t[r>>2]=t[un>>2],t[r+4>>2]=t[un+4>>2],ns(e,3696,r)|0,t[Hn>>2]=2,t[Hn+4>>2]=0,t[r>>2]=t[Hn>>2],t[r+4>>2]=t[Hn+4>>2],nu(e,3706,r)|0,t[Go>>2]=1,t[Go+4>>2]=0,t[r>>2]=t[Go>>2],t[r+4>>2]=t[Go+4>>2],Ul(e,3722,r)|0,t[du>>2]=2,t[du+4>>2]=0,t[r>>2]=t[du>>2],t[r+4>>2]=t[du+4>>2],Ul(e,3734,r)|0,t[_o>>2]=3,t[_o+4>>2]=0,t[r>>2]=t[_o>>2],t[r+4>>2]=t[_o+4>>2],nu(e,3753,r)|0,t[Ri>>2]=4,t[Ri+4>>2]=0,t[r>>2]=t[Ri>>2],t[r+4>>2]=t[Ri+4>>2],nu(e,3769,r)|0,t[Un>>2]=5,t[Un+4>>2]=0,t[r>>2]=t[Un>>2],t[r+4>>2]=t[Un+4>>2],nu(e,3783,r)|0,t[pf>>2]=6,t[pf+4>>2]=0,t[r>>2]=t[pf>>2],t[r+4>>2]=t[pf+4>>2],nu(e,3796,r)|0,t[df>>2]=7,t[df+4>>2]=0,t[r>>2]=t[df>>2],t[r+4>>2]=t[df+4>>2],nu(e,3813,r)|0,t[cf>>2]=8,t[cf+4>>2]=0,t[r>>2]=t[cf>>2],t[r+4>>2]=t[cf+4>>2],nu(e,3825,r)|0,t[ta>>2]=3,t[ta+4>>2]=0,t[r>>2]=t[ta>>2],t[r+4>>2]=t[ta+4>>2],Ul(e,3843,r)|0,t[Vo>>2]=4,t[Vo+4>>2]=0,t[r>>2]=t[Vo>>2],t[r+4>>2]=t[Vo+4>>2],Ul(e,3853,r)|0,t[ba>>2]=9,t[ba+4>>2]=0,t[r>>2]=t[ba>>2],t[r+4>>2]=t[ba+4>>2],nu(e,3870,r)|0,t[ff>>2]=10,t[ff+4>>2]=0,t[r>>2]=t[ff>>2],t[r+4>>2]=t[ff+4>>2],nu(e,3884,r)|0,t[sf>>2]=11,t[sf+4>>2]=0,t[r>>2]=t[sf>>2],t[r+4>>2]=t[sf+4>>2],nu(e,3896,r)|0,t[La>>2]=1,t[La+4>>2]=0,t[r>>2]=t[La>>2],t[r+4>>2]=t[La+4>>2],c0(e,3907,r)|0,t[cu>>2]=2,t[cu+4>>2]=0,t[r>>2]=t[cu>>2],t[r+4>>2]=t[cu+4>>2],c0(e,3915,r)|0,t[Fa>>2]=3,t[Fa+4>>2]=0,t[r>>2]=t[Fa>>2],t[r+4>>2]=t[Fa+4>>2],c0(e,3928,r)|0,t[fu>>2]=4,t[fu+4>>2]=0,t[r>>2]=t[fu>>2],t[r+4>>2]=t[fu+4>>2],c0(e,3948,r)|0,t[af>>2]=5,t[af+4>>2]=0,t[r>>2]=t[af>>2],t[r+4>>2]=t[af+4>>2],c0(e,3960,r)|0,t[si>>2]=6,t[si+4>>2]=0,t[r>>2]=t[si>>2],t[r+4>>2]=t[si+4>>2],c0(e,3974,r)|0,t[ea>>2]=7,t[ea+4>>2]=0,t[r>>2]=t[ea>>2],t[r+4>>2]=t[ea+4>>2],c0(e,3983,r)|0,t[go>>2]=20,t[go+4>>2]=0,t[r>>2]=t[go>>2],t[r+4>>2]=t[go+4>>2],Sa(e,3999,r)|0,t[Wo>>2]=8,t[Wo+4>>2]=0,t[r>>2]=t[Wo>>2],t[r+4>>2]=t[Wo+4>>2],c0(e,4012,r)|0,t[lf>>2]=9,t[lf+4>>2]=0,t[r>>2]=t[lf>>2],t[r+4>>2]=t[lf+4>>2],c0(e,4022,r)|0,t[uf>>2]=21,t[uf+4>>2]=0,t[r>>2]=t[uf>>2],t[r+4>>2]=t[uf+4>>2],Sa(e,4039,r)|0,t[_s>>2]=10,t[_s+4>>2]=0,t[r>>2]=t[_s>>2],t[r+4>>2]=t[_s+4>>2],c0(e,4053,r)|0,t[of>>2]=11,t[of+4>>2]=0,t[r>>2]=t[of>>2],t[r+4>>2]=t[of+4>>2],c0(e,4065,r)|0,t[rf>>2]=12,t[rf+4>>2]=0,t[r>>2]=t[rf>>2],t[r+4>>2]=t[rf+4>>2],c0(e,4084,r)|0,t[$l>>2]=13,t[$l+4>>2]=0,t[r>>2]=t[$l>>2],t[r+4>>2]=t[$l+4>>2],c0(e,4097,r)|0,t[Mu>>2]=14,t[Mu+4>>2]=0,t[r>>2]=t[Mu>>2],t[r+4>>2]=t[Mu+4>>2],c0(e,4117,r)|0,t[El>>2]=15,t[El+4>>2]=0,t[r>>2]=t[El>>2],t[r+4>>2]=t[El+4>>2],c0(e,4129,r)|0,t[Ho>>2]=16,t[Ho+4>>2]=0,t[r>>2]=t[Ho>>2],t[r+4>>2]=t[Ho+4>>2],c0(e,4148,r)|0,t[Na>>2]=17,t[Na+4>>2]=0,t[r>>2]=t[Na>>2],t[r+4>>2]=t[Na+4>>2],c0(e,4161,r)|0,t[gs>>2]=18,t[gs+4>>2]=0,t[r>>2]=t[gs>>2],t[r+4>>2]=t[gs+4>>2],c0(e,4181,r)|0,t[ys>>2]=5,t[ys+4>>2]=0,t[r>>2]=t[ys>>2],t[r+4>>2]=t[ys+4>>2],Ul(e,4196,r)|0,t[ac>>2]=6,t[ac+4>>2]=0,t[r>>2]=t[ac>>2],t[r+4>>2]=t[ac+4>>2],Ul(e,4206,r)|0,t[lc>>2]=7,t[lc+4>>2]=0,t[r>>2]=t[lc>>2],t[r+4>>2]=t[lc+4>>2],Ul(e,4217,r)|0,t[Ma>>2]=3,t[Ma+4>>2]=0,t[r>>2]=t[Ma>>2],t[r+4>>2]=t[Ma+4>>2],Wu(e,4235,r)|0,t[uc>>2]=1,t[uc+4>>2]=0,t[r>>2]=t[uc>>2],t[r+4>>2]=t[uc+4>>2],wc(e,4251,r)|0,t[Zl>>2]=4,t[Zl+4>>2]=0,t[r>>2]=t[Zl>>2],t[r+4>>2]=t[Zl+4>>2],Wu(e,4263,r)|0,t[_r>>2]=5,t[_r+4>>2]=0,t[r>>2]=t[_r>>2],t[r+4>>2]=t[_r+4>>2],Wu(e,4279,r)|0,t[oc>>2]=6,t[oc+4>>2]=0,t[r>>2]=t[oc>>2],t[r+4>>2]=t[oc+4>>2],Wu(e,4293,r)|0,t[ic>>2]=7,t[ic+4>>2]=0,t[r>>2]=t[ic>>2],t[r+4>>2]=t[ic+4>>2],Wu(e,4306,r)|0,t[rc>>2]=8,t[rc+4>>2]=0,t[r>>2]=t[rc>>2],t[r+4>>2]=t[rc+4>>2],Wu(e,4323,r)|0,t[ms>>2]=9,t[ms+4>>2]=0,t[r>>2]=t[ms>>2],t[r+4>>2]=t[ms+4>>2],Wu(e,4335,r)|0,t[vs>>2]=2,t[vs+4>>2]=0,t[r>>2]=t[vs>>2],t[r+4>>2]=t[vs+4>>2],wc(e,4353,r)|0,t[nc>>2]=12,t[nc+4>>2]=0,t[r>>2]=t[nc>>2],t[r+4>>2]=t[nc+4>>2],Vu(e,4363,r)|0,t[Jl>>2]=1,t[Jl+4>>2]=0,t[r>>2]=t[Jl>>2],t[r+4>>2]=t[Jl+4>>2],Su(e,4376,r)|0,t[tc>>2]=2,t[tc+4>>2]=0,t[r>>2]=t[tc>>2],t[r+4>>2]=t[tc+4>>2],Su(e,4388,r)|0,t[ec>>2]=13,t[ec+4>>2]=0,t[r>>2]=t[ec>>2],t[r+4>>2]=t[ec+4>>2],Vu(e,4402,r)|0,t[Zu>>2]=14,t[Zu+4>>2]=0,t[r>>2]=t[Zu>>2],t[r+4>>2]=t[Zu+4>>2],Vu(e,4411,r)|0,t[su>>2]=15,t[su+4>>2]=0,t[r>>2]=t[su>>2],t[r+4>>2]=t[su+4>>2],Vu(e,4421,r)|0,t[au>>2]=16,t[au+4>>2]=0,t[r>>2]=t[au>>2],t[r+4>>2]=t[au+4>>2],Vu(e,4433,r)|0,t[lu>>2]=17,t[lu+4>>2]=0,t[r>>2]=t[lu>>2],t[r+4>>2]=t[lu+4>>2],Vu(e,4446,r)|0,t[$r>>2]=18,t[$r+4>>2]=0,t[r>>2]=t[$r>>2],t[r+4>>2]=t[$r+4>>2],Vu(e,4458,r)|0,t[tn>>2]=3,t[tn+4>>2]=0,t[r>>2]=t[tn>>2],t[r+4>>2]=t[tn+4>>2],Su(e,4471,r)|0,t[Qn>>2]=1,t[Qn+4>>2]=0,t[r>>2]=t[Qn>>2],t[r+4>>2]=t[Qn+4>>2],Sc(e,4486,r)|0,t[Pn>>2]=10,t[Pn+4>>2]=0,t[r>>2]=t[Pn>>2],t[r+4>>2]=t[Pn+4>>2],Wu(e,4496,r)|0,t[Yt>>2]=11,t[Yt+4>>2]=0,t[r>>2]=t[Yt>>2],t[r+4>>2]=t[Yt+4>>2],Wu(e,4508,r)|0,t[on>>2]=3,t[on+4>>2]=0,t[r>>2]=t[on>>2],t[r+4>>2]=t[on+4>>2],wc(e,4519,r)|0,t[Zn>>2]=4,t[Zn+4>>2]=0,t[r>>2]=t[Zn>>2],t[r+4>>2]=t[Zn+4>>2],wd(e,4530,r)|0,t[At>>2]=19,t[At+4>>2]=0,t[r>>2]=t[At>>2],t[r+4>>2]=t[At+4>>2],t4(e,4542,r)|0,t[Ce>>2]=12,t[Ce+4>>2]=0,t[r>>2]=t[Ce>>2],t[r+4>>2]=t[Ce+4>>2],Mv(e,4554,r)|0,t[me>>2]=13,t[me+4>>2]=0,t[r>>2]=t[me>>2],t[r+4>>2]=t[me+4>>2],Sd(e,4568,r)|0,t[Ve>>2]=2,t[Ve+4>>2]=0,t[r>>2]=t[Ve>>2],t[r+4>>2]=t[Ve+4>>2],Tc(e,4578,r)|0,t[be>>2]=20,t[be+4>>2]=0,t[r>>2]=t[be>>2],t[r+4>>2]=t[be+4>>2],Gu(e,4587,r)|0,t[Be>>2]=22,t[Be+4>>2]=0,t[r>>2]=t[Be>>2],t[r+4>>2]=t[Be+4>>2],Sa(e,4602,r)|0,t[ue>>2]=23,t[ue+4>>2]=0,t[r>>2]=t[ue>>2],t[r+4>>2]=t[ue+4>>2],Sa(e,4619,r)|0,t[ce>>2]=14,t[ce+4>>2]=0,t[r>>2]=t[ce>>2],t[r+4>>2]=t[ce+4>>2],B1(e,4629,r)|0,t[xe>>2]=1,t[xe+4>>2]=0,t[r>>2]=t[xe>>2],t[r+4>>2]=t[xe+4>>2],Lf(e,4637,r)|0,t[H>>2]=4,t[H+4>>2]=0,t[r>>2]=t[H>>2],t[r+4>>2]=t[H+4>>2],Su(e,4653,r)|0,t[F>>2]=5,t[F+4>>2]=0,t[r>>2]=t[F>>2],t[r+4>>2]=t[F+4>>2],Su(e,4669,r)|0,t[R>>2]=6,t[R+4>>2]=0,t[r>>2]=t[R>>2],t[r+4>>2]=t[R+4>>2],Su(e,4686,r)|0,t[k>>2]=7,t[k+4>>2]=0,t[r>>2]=t[k>>2],t[r+4>>2]=t[k+4>>2],Su(e,4701,r)|0,t[D>>2]=8,t[D+4>>2]=0,t[r>>2]=t[D>>2],t[r+4>>2]=t[D+4>>2],Su(e,4719,r)|0,t[E>>2]=9,t[E+4>>2]=0,t[r>>2]=t[E>>2],t[r+4>>2]=t[E+4>>2],Su(e,4736,r)|0,t[h>>2]=21,t[h+4>>2]=0,t[r>>2]=t[h>>2],t[r+4>>2]=t[h+4>>2],Td(e,4754,r)|0,t[s>>2]=2,t[s+4>>2]=0,t[r>>2]=t[s>>2],t[r+4>>2]=t[s+4>>2],Sc(e,4772,r)|0,t[a>>2]=3,t[a+4>>2]=0,t[r>>2]=t[a>>2],t[r+4>>2]=t[a+4>>2],Sc(e,4790,r)|0,t[o>>2]=4,t[o+4>>2]=0,t[r>>2]=t[o>>2],t[r+4>>2]=t[o+4>>2],Sc(e,4808,r)|0,v=n}function Bs(e,n){e=e|0,n=n|0;var r=0;r=Ql()|0,t[e>>2]=r,J0(r,n),Jf(t[e>>2]|0)}function I1(e,n,r){return e=e|0,n=n|0,r=r|0,pt(e,ar(n)|0,r,0),e|0}function $g(e,n,r){return e=e|0,n=n|0,r=r|0,d(e,ar(n)|0,r,0),e|0}function e4(e,n,r){return e=e|0,n=n|0,r=r|0,vE(e,ar(n)|0,r,0),e|0}function Sa(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],lE(e,n,a),v=o,e|0}function ns(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],X_(e,n,a),v=o,e|0}function nu(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Bp(e,n,a),v=o,e|0}function Ul(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Vm(e,n,a),v=o,e|0}function c0(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],T_(e,n,a),v=o,e|0}function Wu(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],p2(e,n,a),v=o,e|0}function wc(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Ap(e,n,a),v=o,e|0}function Vu(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],N0(e,n,a),v=o,e|0}function Su(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Am(e,n,a),v=o,e|0}function Sc(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],K4(e,n,a),v=o,e|0}function wd(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],U4(e,n,a),v=o,e|0}function t4(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Q1(e,n,a),v=o,e|0}function Mv(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],R4(e,n,a),v=o,e|0}function Sd(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],$d(e,n,a),v=o,e|0}function Tc(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Kd(e,n,a),v=o,e|0}function Gu(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],ls(e,n,a),v=o,e|0}function B1(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Bd(e,n,a),v=o,e|0}function Lf(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Lv(e,n,a),v=o,e|0}function Td(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],n4(e,n,a),v=o,e|0}function n4(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],bf(e,r,a,1),v=o}function ar(e){return e=e|0,e|0}function bf(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=Cd()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=U1(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,r4(s,o)|0,o),v=a}function Cd(){var e=0,n=0;if(p[7616]|0||(Uf(9136),xt(24,9136,le|0)|0,n=7616,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9136)|0)){e=9136,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Uf(9136)}return 9136}function U1(e){return e=e|0,0}function r4(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=Cd()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],Pf(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(If(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function Nr(e,n,r,o,a,s){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0;var h=0,E=0,D=0,k=0,R=0,F=0,H=0,xe=0;h=v,v=v+32|0,H=h+24|0,F=h+20|0,D=h+16|0,R=h+12|0,k=h+8|0,E=h+4|0,xe=h,t[F>>2]=n,t[D>>2]=r,t[R>>2]=o,t[k>>2]=a,t[E>>2]=s,s=e+28|0,t[xe>>2]=t[s>>2],t[H>>2]=t[xe>>2],i4(e+24|0,H,F,R,k,D,E)|0,t[s>>2]=t[t[s>>2]>>2],v=h}function i4(e,n,r,o,a,s,h){return e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0,h=h|0,e=o4(n)|0,n=Bt(24)|0,xd(n+4|0,t[r>>2]|0,t[o>>2]|0,t[a>>2]|0,t[s>>2]|0,t[h>>2]|0),t[n>>2]=t[e>>2],t[e>>2]=n,n|0}function o4(e){return e=e|0,t[e>>2]|0}function xd(e,n,r,o,a,s){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0,t[e>>2]=n,t[e+4>>2]=r,t[e+8>>2]=o,t[e+12>>2]=a,t[e+16>>2]=s}function en(e,n){return e=e|0,n=n|0,n|e|0}function Pf(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function If(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=u4(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,Bf(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],Pf(s,o,r),t[D>>2]=(t[D>>2]|0)+12,Nv(e,E),l4(E),v=k;return}}function u4(e){return e=e|0,357913941}function Bf(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function Nv(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function l4(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function Uf(e){e=e|0,Yu(e)}function Rd(e){e=e|0,Dn(e+24|0)}function Bn(e){return e=e|0,t[e>>2]|0}function Dn(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function Yu(e){e=e|0;var n=0;n=tr()|0,gn(e,2,3,n,Cc()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function tr(){return 9228}function Cc(){return 1140}function cl(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0;return r=v,v=v+16|0,o=r+8|0,a=r,s=jl(e)|0,e=t[s+4>>2]|0,t[a>>2]=t[s>>2],t[a+4>>2]=e,t[o>>2]=t[a>>2],t[o+4>>2]=t[a+4>>2],n=jf(n,o)|0,v=r,n|0}function gn(e,n,r,o,a,s){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0,t[e>>2]=n,t[e+4>>2]=r,t[e+8>>2]=o,t[e+12>>2]=a,t[e+16>>2]=s}function jl(e){return e=e|0,(t[(Cd()|0)+24>>2]|0)+(e*12|0)|0}function jf(e,n){e=e|0,n=n|0;var r=0,o=0,a=0;return a=v,v=v+48|0,o=a,r=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(r=t[(t[e>>2]|0)+r>>2]|0),nf[r&31](o,e),o=zo(o)|0,v=a,o|0}function zo(e){e=e|0;var n=0,r=0,o=0,a=0;return a=v,v=v+32|0,n=a+12|0,r=a,o=rs(Us()|0)|0,o?(Ku(n,o),js(r,n),xc(e,r),e=dl(n)|0):e=Rc(e)|0,v=a,e|0}function Us(){var e=0;return p[7632]|0||(kd(9184),xt(25,9184,le|0)|0,e=7632,t[e>>2]=1,t[e+4>>2]=0),9184}function rs(e){return e=e|0,t[e+36>>2]|0}function Ku(e,n){e=e|0,n=n|0,t[e>>2]=n,t[e+4>>2]=e,t[e+8>>2]=0}function js(e,n){e=e|0,n=n|0,t[e>>2]=t[n>>2],t[e+4>>2]=t[n+4>>2],t[e+8>>2]=0}function xc(e,n){e=e|0,n=n|0,Ad(n,e,e+8|0,e+16|0,e+24|0,e+32|0,e+40|0)|0}function dl(e){return e=e|0,t[(t[e+4>>2]|0)+8>>2]|0}function Rc(e){e=e|0;var n=0,r=0,o=0,a=0,s=0,h=0,E=0,D=0;D=v,v=v+16|0,r=D+4|0,o=D,a=ml(8)|0,s=a,h=Bt(48)|0,E=h,n=E+48|0;do t[E>>2]=t[e>>2],E=E+4|0,e=e+4|0;while((E|0)<(n|0));return n=s+4|0,t[n>>2]=h,E=Bt(8)|0,h=t[n>>2]|0,t[o>>2]=0,t[r>>2]=t[o>>2],Fv(E,h,r),t[a>>2]=E,v=D,s|0}function Fv(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,r=Bt(16)|0,t[r+4>>2]=0,t[r+8>>2]=0,t[r>>2]=1092,t[r+12>>2]=n,t[e+4>>2]=r}function qt(e){e=e|0,C2(e),$e(e)}function Xu(e){e=e|0,e=t[e+12>>2]|0,e|0&&$e(e)}function is(e){e=e|0,$e(e)}function Ad(e,n,r,o,a,s,h){return e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0,h=h|0,s=wi(t[e>>2]|0,n,r,o,a,s,h)|0,h=e+4|0,t[(t[h>>2]|0)+8>>2]=s,t[(t[h>>2]|0)+8>>2]|0}function wi(e,n,r,o,a,s,h){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0,h=h|0;var E=0,D=0;return E=v,v=v+16|0,D=E,yl(D),e=jo(e)|0,h=dr(e,+P[n>>3],+P[r>>3],+P[o>>3],+P[a>>3],+P[s>>3],+P[h>>3])|0,gl(D),v=E,h|0}function dr(e,n,r,o,a,s,h){e=e|0,n=+n,r=+r,o=+o,a=+a,s=+s,h=+h;var E=0;return E=ho(Ac()|0)|0,n=+fl(n),r=+fl(r),o=+fl(o),a=+fl(a),s=+fl(s),S0(0,E|0,e|0,+n,+r,+o,+a,+s,+ +fl(h))|0}function Ac(){var e=0;return p[7624]|0||(a4(9172),e=7624,t[e>>2]=1,t[e+4>>2]=0),9172}function a4(e){e=e|0,tu(e,Tu()|0,6)}function Tu(){return 1112}function kd(e){e=e|0,os(e)}function zf(e){e=e|0,Od(e+24|0),j1(e+16|0)}function Od(e){e=e|0,kc(e)}function j1(e){e=e|0,qf(e)}function qf(e){e=e|0;var n=0,r=0;if(n=t[e>>2]|0,n|0)do r=n,n=t[n>>2]|0,$e(r);while((n|0)!=0);t[e>>2]=0}function kc(e){e=e|0;var n=0,r=0;if(n=t[e>>2]|0,n|0)do r=n,n=t[n>>2]|0,$e(r);while((n|0)!=0);t[e>>2]=0}function os(e){e=e|0;var n=0;t[e+16>>2]=0,t[e+20>>2]=0,n=e+24|0,t[n>>2]=0,t[e+28>>2]=n,t[e+36>>2]=0,p[e+40>>0]=0,p[e+41>>0]=0}function Lv(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Md(e,r,a,0),v=o}function Md(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=Oc()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=Mc(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,z1(s,o)|0,o),v=a}function Oc(){var e=0,n=0;if(p[7640]|0||(W1(9232),xt(26,9232,le|0)|0,n=7640,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9232)|0)){e=9232,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));W1(9232)}return 9232}function Mc(e){return e=e|0,0}function z1(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=Oc()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],q1(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Nd(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function q1(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function Nd(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=bv(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,Fd(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],q1(s,o,r),t[D>>2]=(t[D>>2]|0)+12,Ld(e,E),H1(E),v=k;return}}function bv(e){return e=e|0,357913941}function Fd(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function Ld(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function H1(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function W1(e){e=e|0,Iv(e)}function bd(e){e=e|0,Pv(e+24|0)}function Pv(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function Iv(e){e=e|0;var n=0;n=tr()|0,gn(e,2,1,n,Pd()|0,3),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Pd(){return 1144}function Bv(e,n,r,o,a){e=e|0,n=n|0,r=+r,o=+o,a=a|0;var s=0,h=0,E=0,D=0;s=v,v=v+16|0,h=s+8|0,E=s,D=s4(e)|0,e=t[D+4>>2]|0,t[E>>2]=t[D>>2],t[E+4>>2]=e,t[h>>2]=t[E>>2],t[h+4>>2]=t[E+4>>2],Uv(n,h,r,o,a),v=s}function s4(e){return e=e|0,(t[(Oc()|0)+24>>2]|0)+(e*12|0)|0}function Uv(e,n,r,o,a){e=e|0,n=n|0,r=+r,o=+o,a=a|0;var s=0,h=0,E=0,D=0,k=0;k=v,v=v+16|0,h=k+2|0,E=k+1|0,D=k,s=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(s=t[(t[e>>2]|0)+s>>2]|0),Cu(h,r),r=+Qu(h,r),Cu(E,o),o=+Qu(E,o),pl(D,a),D=zl(D,a)|0,cS[s&1](e,r,o,D),v=k}function Cu(e,n){e=e|0,n=+n}function Qu(e,n){return e=e|0,n=+n,+ +jv(n)}function pl(e,n){e=e|0,n=n|0}function zl(e,n){return e=e|0,n=n|0,Id(n)|0}function Id(e){return e=e|0,e|0}function jv(e){return e=+e,+e}function Bd(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],zv(e,r,a,1),v=o}function zv(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=V1()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=G1(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,qv(s,o)|0,o),v=a}function V1(){var e=0,n=0;if(p[7648]|0||(Nc(9268),xt(27,9268,le|0)|0,n=7648,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9268)|0)){e=9268,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Nc(9268)}return 9268}function G1(e){return e=e|0,0}function qv(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=V1()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],Ud(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(jd(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function Ud(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function jd(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=ql(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,us(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],Ud(s,o,r),t[D>>2]=(t[D>>2]|0)+12,Hv(e,E),Si(E),v=k;return}}function ql(e){return e=e|0,357913941}function us(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function Hv(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function Si(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function Nc(e){e=e|0,Vv(e)}function Wv(e){e=e|0,Fc(e+24|0)}function Fc(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function Vv(e){e=e|0;var n=0;n=tr()|0,gn(e,2,4,n,Gv()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Gv(){return 1160}function zd(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0;return r=v,v=v+16|0,o=r+8|0,a=r,s=Yv(e)|0,e=t[s+4>>2]|0,t[a>>2]=t[s>>2],t[a+4>>2]=e,t[o>>2]=t[a>>2],t[o+4>>2]=t[a+4>>2],n=Y1(n,o)|0,v=r,n|0}function Yv(e){return e=e|0,(t[(V1()|0)+24>>2]|0)+(e*12|0)|0}function Y1(e,n){e=e|0,n=n|0;var r=0;return r=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(r=t[(t[e>>2]|0)+r>>2]|0),xu(e1[r&31](e)|0)|0}function xu(e){return e=e|0,e&1|0}function ls(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Ta(e,r,a,0),v=o}function Ta(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=qd()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=f4(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,c4(s,o)|0,o),v=a}function qd(){var e=0,n=0;if(p[7656]|0||(Qv(9304),xt(28,9304,le|0)|0,n=7656,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9304)|0)){e=9304,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Qv(9304)}return 9304}function f4(e){return e=e|0,0}function c4(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=qd()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],Hd(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Kv(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function Hd(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function Kv(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=Xv(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,Wd(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],Hd(s,o,r),t[D>>2]=(t[D>>2]|0)+12,d4(e,E),p4(E),v=k;return}}function Xv(e){return e=e|0,357913941}function Wd(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function d4(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function p4(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function Qv(e){e=e|0,Lc(e)}function h4(e){e=e|0,Vd(e+24|0)}function Vd(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function Lc(e){e=e|0;var n=0;n=tr()|0,gn(e,2,5,n,bc()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function bc(){return 1164}function Pc(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;o=v,v=v+16|0,a=o+8|0,s=o,h=Ca(e)|0,e=t[h+4>>2]|0,t[s>>2]=t[h>>2],t[s+4>>2]=e,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Gd(n,a,r),v=o}function Ca(e){return e=e|0,(t[(qd()|0)+24>>2]|0)+(e*12|0)|0}function Gd(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0;s=v,v=v+16|0,a=s,o=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(o=t[(t[e>>2]|0)+o>>2]|0),Hl(a,r),r=Wl(a,r)|0,nf[o&31](e,r),Vl(a),v=s}function Hl(e,n){e=e|0,n=n|0,Yd(e,n)}function Wl(e,n){return e=e|0,n=n|0,e|0}function Vl(e){e=e|0,ma(e)}function Yd(e,n){e=e|0,n=n|0,xa(e,n)}function xa(e,n){e=e|0,n=n|0,t[e>>2]=n}function Kd(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Xd(e,r,a,0),v=o}function Xd(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=Hf()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=Qd(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,vo(s,o)|0,o),v=a}function Hf(){var e=0,n=0;if(p[7664]|0||(tm(9340),xt(29,9340,le|0)|0,n=7664,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9340)|0)){e=9340,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));tm(9340)}return 9340}function Qd(e){return e=e|0,0}function vo(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=Hf()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],Jv(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Zv(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function Jv(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function Zv(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=$v(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,em(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],Jv(s,o,r),t[D>>2]=(t[D>>2]|0)+12,v4(e,E),m4(E),v=k;return}}function $v(e){return e=e|0,357913941}function em(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function v4(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function m4(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function tm(e){e=e|0,rm(e)}function nm(e){e=e|0,Jd(e+24|0)}function Jd(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function rm(e){e=e|0;var n=0;n=tr()|0,gn(e,2,4,n,Zd()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Zd(){return 1180}function im(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=y4(e)|0,e=t[h+4>>2]|0,t[s>>2]=t[h>>2],t[s+4>>2]=e,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],r=g4(n,a,r)|0,v=o,r|0}function y4(e){return e=e|0,(t[(Hf()|0)+24>>2]|0)+(e*12|0)|0}function g4(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0;return s=v,v=v+16|0,a=s,o=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(o=t[(t[e>>2]|0)+o>>2]|0),zs(a,r),a=qs(a,r)|0,a=K1(nD[o&15](e,a)|0)|0,v=s,a|0}function zs(e,n){e=e|0,n=n|0}function qs(e,n){return e=e|0,n=n|0,_4(n)|0}function K1(e){return e=e|0,e|0}function _4(e){return e=e|0,e|0}function $d(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],X1(e,r,a,0),v=o}function X1(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=ep()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=om(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,tp(s,o)|0,o),v=a}function ep(){var e=0,n=0;if(p[7672]|0||(am(9376),xt(30,9376,le|0)|0,n=7672,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9376)|0)){e=9376,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));am(9376)}return 9376}function om(e){return e=e|0,0}function tp(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=ep()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],um(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(E4(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function um(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function E4(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=lm(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,D4(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],um(s,o,r),t[D>>2]=(t[D>>2]|0)+12,w4(e,E),S4(E),v=k;return}}function lm(e){return e=e|0,357913941}function D4(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function w4(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function S4(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function am(e){e=e|0,np(e)}function sm(e){e=e|0,T4(e+24|0)}function T4(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function np(e){e=e|0;var n=0;n=tr()|0,gn(e,2,5,n,rp()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function rp(){return 1196}function C4(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0;return r=v,v=v+16|0,o=r+8|0,a=r,s=x4(e)|0,e=t[s+4>>2]|0,t[a>>2]=t[s>>2],t[a+4>>2]=e,t[o>>2]=t[a>>2],t[o+4>>2]=t[a+4>>2],n=fm(n,o)|0,v=r,n|0}function x4(e){return e=e|0,(t[(ep()|0)+24>>2]|0)+(e*12|0)|0}function fm(e,n){e=e|0,n=n|0;var r=0;return r=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(r=t[(t[e>>2]|0)+r>>2]|0),K1(e1[r&31](e)|0)|0}function R4(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],A4(e,r,a,1),v=o}function A4(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=ip()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=op(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,Ra(s,o)|0,o),v=a}function ip(){var e=0,n=0;if(p[7680]|0||(dm(9412),xt(31,9412,le|0)|0,n=7680,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9412)|0)){e=9412,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));dm(9412)}return 9412}function op(e){return e=e|0,0}function Ra(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=ip()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],cm(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(up(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function cm(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function up(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=k4(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,lp(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],cm(s,o,r),t[D>>2]=(t[D>>2]|0)+12,ap(e,E),O4(E),v=k;return}}function k4(e){return e=e|0,357913941}function lp(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function ap(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function O4(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function dm(e){e=e|0,hm(e)}function M4(e){e=e|0,pm(e+24|0)}function pm(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function hm(e){e=e|0;var n=0;n=tr()|0,gn(e,2,6,n,vm()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function vm(){return 1200}function sp(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0;return r=v,v=v+16|0,o=r+8|0,a=r,s=N4(e)|0,e=t[s+4>>2]|0,t[a>>2]=t[s>>2],t[a+4>>2]=e,t[o>>2]=t[a>>2],t[o+4>>2]=t[a+4>>2],n=F4(n,o)|0,v=r,n|0}function N4(e){return e=e|0,(t[(ip()|0)+24>>2]|0)+(e*12|0)|0}function F4(e,n){e=e|0,n=n|0;var r=0;return r=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(r=t[(t[e>>2]|0)+r>>2]|0),P0(e1[r&31](e)|0)|0}function P0(e){return e=e|0,e|0}function Q1(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Hs(e,r,a,0),v=o}function Hs(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=Ws()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=J1(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,Z1(s,o)|0,o),v=a}function Ws(){var e=0,n=0;if(p[7688]|0||(dp(9448),xt(32,9448,le|0)|0,n=7688,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9448)|0)){e=9448,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));dp(9448)}return 9448}function J1(e){return e=e|0,0}function Z1(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=Ws()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],fp(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):($1(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function fp(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function $1(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=mm(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,L4(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],fp(s,o,r),t[D>>2]=(t[D>>2]|0)+12,ym(e,E),cp(E),v=k;return}}function mm(e){return e=e|0,357913941}function L4(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function ym(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function cp(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function dp(e){e=e|0,P4(e)}function pp(e){e=e|0,b4(e+24|0)}function b4(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function P4(e){e=e|0;var n=0;n=tr()|0,gn(e,2,6,n,Wf()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Wf(){return 1204}function e2(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;o=v,v=v+16|0,a=o+8|0,s=o,h=I4(e)|0,e=t[h+4>>2]|0,t[s>>2]=t[h>>2],t[s+4>>2]=e,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],as(n,a,r),v=o}function I4(e){return e=e|0,(t[(Ws()|0)+24>>2]|0)+(e*12|0)|0}function as(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0;s=v,v=v+16|0,a=s,o=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(o=t[(t[e>>2]|0)+o>>2]|0),Gl(a,r),a=Yl(a,r)|0,nf[o&31](e,a),v=s}function Gl(e,n){e=e|0,n=n|0}function Yl(e,n){return e=e|0,n=n|0,B4(n)|0}function B4(e){return e=e|0,e|0}function U4(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],gm(e,r,a,0),v=o}function gm(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=hp()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=vp(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,j4(s,o)|0,o),v=a}function hp(){var e=0,n=0;if(p[7696]|0||(Em(9484),xt(33,9484,le|0)|0,n=7696,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9484)|0)){e=9484,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Em(9484)}return 9484}function vp(e){return e=e|0,0}function j4(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=hp()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],_m(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(mp(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function _m(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function mp(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=z4(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,q4(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],_m(s,o,r),t[D>>2]=(t[D>>2]|0)+12,Vf(e,E),H4(E),v=k;return}}function z4(e){return e=e|0,357913941}function q4(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function Vf(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function H4(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function Em(e){e=e|0,G4(e)}function W4(e){e=e|0,V4(e+24|0)}function V4(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function G4(e){e=e|0;var n=0;n=tr()|0,gn(e,2,1,n,Dm()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Dm(){return 1212}function yp(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0;a=v,v=v+16|0,s=a+8|0,h=a,E=wm(e)|0,e=t[E+4>>2]|0,t[h>>2]=t[E>>2],t[h+4>>2]=e,t[s>>2]=t[h>>2],t[s+4>>2]=t[h+4>>2],Y4(n,s,r,o),v=a}function wm(e){return e=e|0,(t[(hp()|0)+24>>2]|0)+(e*12|0)|0}function Y4(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0;E=v,v=v+16|0,s=E+1|0,h=E,a=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(a=t[(t[e>>2]|0)+a>>2]|0),Gl(s,r),s=Yl(s,r)|0,zs(h,o),h=qs(h,o)|0,lh[a&15](e,s,h),v=E}function K4(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],X4(e,r,a,1),v=o}function X4(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=t2()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=Q4(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,Sm(s,o)|0,o),v=a}function t2(){var e=0,n=0;if(p[7704]|0||(Cm(9520),xt(34,9520,le|0)|0,n=7704,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9520)|0)){e=9520,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Cm(9520)}return 9520}function Q4(e){return e=e|0,0}function Sm(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=t2()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],gp(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(J4(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function gp(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function J4(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=_p(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,Tm(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],gp(s,o,r),t[D>>2]=(t[D>>2]|0)+12,Z4(e,E),n2(E),v=k;return}}function _p(e){return e=e|0,357913941}function Tm(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function Z4(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function n2(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function Cm(e){e=e|0,Rm(e)}function $4(e){e=e|0,xm(e+24|0)}function xm(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function Rm(e){e=e|0;var n=0;n=tr()|0,gn(e,2,1,n,e_()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function e_(){return 1224}function t_(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;return a=v,v=v+16|0,s=a+8|0,h=a,E=n_(e)|0,e=t[E+4>>2]|0,t[h>>2]=t[E>>2],t[h+4>>2]=e,t[s>>2]=t[h>>2],t[s+4>>2]=t[h+4>>2],o=+Ep(n,s,r),v=a,+o}function n_(e){return e=e|0,(t[(t2()|0)+24>>2]|0)+(e*12|0)|0}function Ep(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return s=v,v=v+16|0,a=s,o=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(o=t[(t[e>>2]|0)+o>>2]|0),pl(a,r),a=zl(a,r)|0,h=+M1(+pS[o&7](e,a)),v=s,+h}function Am(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Dp(e,r,a,1),v=o}function Dp(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=Oi()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=Ic(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,r_(s,o)|0,o),v=a}function Oi(){var e=0,n=0;if(p[7712]|0||(Tp(9556),xt(35,9556,le|0)|0,n=7712,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9556)|0)){e=9556,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Tp(9556)}return 9556}function Ic(e){return e=e|0,0}function r_(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=Oi()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],wp(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Sp(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function wp(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function Sp(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=Ru(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,hl(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],wp(s,o,r),t[D>>2]=(t[D>>2]|0)+12,Vs(e,E),r2(E),v=k;return}}function Ru(e){return e=e|0,357913941}function hl(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function Vs(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function r2(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function Tp(e){e=e|0,Cp(e)}function Bc(e){e=e|0,Uc(e+24|0)}function Uc(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function Cp(e){e=e|0;var n=0;n=tr()|0,gn(e,2,5,n,Rn()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Rn(){return 1232}function ru(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=_n(e)|0,e=t[h+4>>2]|0,t[s>>2]=t[h>>2],t[s+4>>2]=e,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],r=+I0(n,a),v=o,+r}function _n(e){return e=e|0,(t[(Oi()|0)+24>>2]|0)+(e*12|0)|0}function I0(e,n){e=e|0,n=n|0;var r=0;return r=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(r=t[(t[e>>2]|0)+r>>2]|0),+ +M1(+dS[r&15](e))}function N0(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],i2(e,r,a,1),v=o}function i2(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=vl()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=jc(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,o2(s,o)|0,o),v=a}function vl(){var e=0,n=0;if(p[7720]|0||(a2(9592),xt(36,9592,le|0)|0,n=7720,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9592)|0)){e=9592,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));a2(9592)}return 9592}function jc(e){return e=e|0,0}function o2(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=vl()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],Gf(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(u2(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function Gf(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function u2(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=xp(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,km(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],Gf(s,o,r),t[D>>2]=(t[D>>2]|0)+12,sn(e,E),l2(E),v=k;return}}function xp(e){return e=e|0,357913941}function km(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function sn(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function l2(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function a2(e){e=e|0,Kf(e)}function Yf(e){e=e|0,zc(e+24|0)}function zc(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function Kf(e){e=e|0;var n=0;n=tr()|0,gn(e,2,7,n,qc()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function qc(){return 1276}function Rp(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0;return r=v,v=v+16|0,o=r+8|0,a=r,s=Gs(e)|0,e=t[s+4>>2]|0,t[a>>2]=t[s>>2],t[a+4>>2]=e,t[o>>2]=t[a>>2],t[o+4>>2]=t[a+4>>2],n=i_(n,o)|0,v=r,n|0}function Gs(e){return e=e|0,(t[(vl()|0)+24>>2]|0)+(e*12|0)|0}function i_(e,n){e=e|0,n=n|0;var r=0,o=0,a=0;return a=v,v=v+16|0,o=a,r=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(r=t[(t[e>>2]|0)+r>>2]|0),nf[r&31](o,e),o=Xf(o)|0,v=a,o|0}function Xf(e){e=e|0;var n=0,r=0,o=0,a=0;return a=v,v=v+32|0,n=a+12|0,r=a,o=rs(s2()|0)|0,o?(Ku(n,o),js(r,n),o_(e,r),e=dl(n)|0):e=f2(e)|0,v=a,e|0}function s2(){var e=0;return p[7736]|0||(ou(9640),xt(25,9640,le|0)|0,e=7736,t[e>>2]=1,t[e+4>>2]=0),9640}function o_(e,n){e=e|0,n=n|0,u_(n,e,e+8|0)|0}function f2(e){e=e|0;var n=0,r=0,o=0,a=0,s=0,h=0,E=0;return r=v,v=v+16|0,a=r+4|0,h=r,o=ml(8)|0,n=o,E=Bt(16)|0,t[E>>2]=t[e>>2],t[E+4>>2]=t[e+4>>2],t[E+8>>2]=t[e+8>>2],t[E+12>>2]=t[e+12>>2],s=n+4|0,t[s>>2]=E,e=Bt(8)|0,s=t[s>>2]|0,t[h>>2]=0,t[a>>2]=t[h>>2],Ys(e,s,a),t[o>>2]=e,v=r,n|0}function Ys(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,r=Bt(16)|0,t[r+4>>2]=0,t[r+8>>2]=0,t[r>>2]=1244,t[r+12>>2]=n,t[e+4>>2]=r}function Ks(e){e=e|0,C2(e),$e(e)}function Hc(e){e=e|0,e=t[e+12>>2]|0,e|0&&$e(e)}function Au(e){e=e|0,$e(e)}function u_(e,n,r){return e=e|0,n=n|0,r=r|0,n=Xs(t[e>>2]|0,n,r)|0,r=e+4|0,t[(t[r>>2]|0)+8>>2]=n,t[(t[r>>2]|0)+8>>2]|0}function Xs(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0;return o=v,v=v+16|0,a=o,yl(a),e=jo(e)|0,r=l_(e,t[n>>2]|0,+P[r>>3])|0,gl(a),v=o,r|0}function l_(e,n,r){e=e|0,n=n|0,r=+r;var o=0;return o=ho(iu()|0)|0,n=sd(n)|0,or(0,o|0,e|0,n|0,+ +fl(r))|0}function iu(){var e=0;return p[7728]|0||(c2(9628),e=7728,t[e>>2]=1,t[e+4>>2]=0),9628}function c2(e){e=e|0,tu(e,d2()|0,2)}function d2(){return 1264}function ou(e){e=e|0,os(e)}function Ap(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],a_(e,r,a,1),v=o}function a_(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=Wc()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=s_(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,f_(s,o)|0,o),v=a}function Wc(){var e=0,n=0;if(p[7744]|0||(Nm(9684),xt(37,9684,le|0)|0,n=7744,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9684)|0)){e=9684,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Nm(9684)}return 9684}function s_(e){return e=e|0,0}function f_(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=Wc()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],Om(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(c_(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function Om(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function c_(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=Mm(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,d_(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],Om(s,o,r),t[D>>2]=(t[D>>2]|0)+12,p_(e,E),h_(E),v=k;return}}function Mm(e){return e=e|0,357913941}function d_(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function p_(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function h_(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function Nm(e){e=e|0,m_(e)}function v_(e){e=e|0,kp(e+24|0)}function kp(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function m_(e){e=e|0;var n=0;n=tr()|0,gn(e,2,5,n,Qs()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Qs(){return 1280}function Fm(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=Lm(e)|0,e=t[h+4>>2]|0,t[s>>2]=t[h>>2],t[s+4>>2]=e,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],r=bm(n,a,r)|0,v=o,r|0}function Lm(e){return e=e|0,(t[(Wc()|0)+24>>2]|0)+(e*12|0)|0}function bm(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return h=v,v=v+32|0,a=h,s=h+16|0,o=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(o=t[(t[e>>2]|0)+o>>2]|0),pl(s,r),s=zl(s,r)|0,lh[o&15](a,e,s),s=Xf(a)|0,v=h,s|0}function p2(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],h2(e,r,a,1),v=o}function h2(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=Op()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=Pm(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,v2(s,o)|0,o),v=a}function Op(){var e=0,n=0;if(p[7752]|0||(Um(9720),xt(38,9720,le|0)|0,n=7752,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9720)|0)){e=9720,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Um(9720)}return 9720}function Pm(e){return e=e|0,0}function v2(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=Op()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],Im(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Bm(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function Im(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function Bm(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=y_(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,g_(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],Im(s,o,r),t[D>>2]=(t[D>>2]|0)+12,__(e,E),E_(E),v=k;return}}function y_(e){return e=e|0,357913941}function g_(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function __(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function E_(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function Um(e){e=e|0,zm(e)}function D_(e){e=e|0,jm(e+24|0)}function jm(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function zm(e){e=e|0;var n=0;n=tr()|0,gn(e,2,8,n,Mp()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Mp(){return 1288}function w_(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0;return r=v,v=v+16|0,o=r+8|0,a=r,s=ss(e)|0,e=t[s+4>>2]|0,t[a>>2]=t[s>>2],t[a+4>>2]=e,t[o>>2]=t[a>>2],t[o+4>>2]=t[a+4>>2],n=S_(n,o)|0,v=r,n|0}function ss(e){return e=e|0,(t[(Op()|0)+24>>2]|0)+(e*12|0)|0}function S_(e,n){e=e|0,n=n|0;var r=0;return r=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(r=t[(t[e>>2]|0)+r>>2]|0),O1(e1[r&31](e)|0)|0}function T_(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],C_(e,r,a,0),v=o}function C_(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=Np()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=fs(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,x_(s,o)|0,o),v=a}function Np(){var e=0,n=0;if(p[7760]|0||(Hm(9756),xt(39,9756,le|0)|0,n=7760,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9756)|0)){e=9756,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Hm(9756)}return 9756}function fs(e){return e=e|0,0}function x_(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=Np()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],Fp(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(R_(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function Fp(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function R_(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=A_(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,k_(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],Fp(s,o,r),t[D>>2]=(t[D>>2]|0)+12,qm(e,E),Js(E),v=k;return}}function A_(e){return e=e|0,357913941}function k_(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function qm(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function Js(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function Hm(e){e=e|0,M_(e)}function Wm(e){e=e|0,O_(e+24|0)}function O_(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function M_(e){e=e|0;var n=0;n=tr()|0,gn(e,2,8,n,N_()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function N_(){return 1292}function F_(e,n,r){e=e|0,n=n|0,r=+r;var o=0,a=0,s=0,h=0;o=v,v=v+16|0,a=o+8|0,s=o,h=L_(e)|0,e=t[h+4>>2]|0,t[s>>2]=t[h>>2],t[s+4>>2]=e,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],b_(n,a,r),v=o}function L_(e){return e=e|0,(t[(Np()|0)+24>>2]|0)+(e*12|0)|0}function b_(e,n,r){e=e|0,n=n|0,r=+r;var o=0,a=0,s=0;s=v,v=v+16|0,a=s,o=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(o=t[(t[e>>2]|0)+o>>2]|0),Cu(a,r),r=+Qu(a,r),sS[o&31](e,r),v=s}function Vm(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Lp(e,r,a,0),v=o}function Lp(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=bp()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=m2(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,P_(s,o)|0,o),v=a}function bp(){var e=0,n=0;if(p[7768]|0||(Pp(9792),xt(40,9792,le|0)|0,n=7768,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9792)|0)){e=9792,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Pp(9792)}return 9792}function m2(e){return e=e|0,0}function P_(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=bp()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],Vc(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(I_(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function Vc(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function I_(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=Gm(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,Ym(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],Vc(s,o,r),t[D>>2]=(t[D>>2]|0)+12,B_(e,E),Zs(E),v=k;return}}function Gm(e){return e=e|0,357913941}function Ym(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function B_(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function Zs(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function Pp(e){e=e|0,j_(e)}function Km(e){e=e|0,U_(e+24|0)}function U_(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function j_(e){e=e|0;var n=0;n=tr()|0,gn(e,2,1,n,Ip()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Ip(){return 1300}function z_(e,n,r,o){e=e|0,n=n|0,r=r|0,o=+o;var a=0,s=0,h=0,E=0;a=v,v=v+16|0,s=a+8|0,h=a,E=Kl(e)|0,e=t[E+4>>2]|0,t[h>>2]=t[E>>2],t[h+4>>2]=e,t[s>>2]=t[h>>2],t[s+4>>2]=t[h+4>>2],q_(n,s,r,o),v=a}function Kl(e){return e=e|0,(t[(bp()|0)+24>>2]|0)+(e*12|0)|0}function q_(e,n,r,o){e=e|0,n=n|0,r=r|0,o=+o;var a=0,s=0,h=0,E=0;E=v,v=v+16|0,s=E+1|0,h=E,a=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(a=t[(t[e>>2]|0)+a>>2]|0),pl(s,r),s=zl(s,r)|0,Cu(h,o),o=+Qu(h,o),yS[a&15](e,s,o),v=E}function Bp(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Up(e,r,a,0),v=o}function Up(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=cs()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=Xm(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,ds(s,o)|0,o),v=a}function cs(){var e=0,n=0;if(p[7776]|0||(Jm(9828),xt(41,9828,le|0)|0,n=7776,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9828)|0)){e=9828,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Jm(9828)}return 9828}function Xm(e){return e=e|0,0}function ds(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=cs()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],jp(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Qm(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function jp(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function Qm(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=zp(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,qp(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],jp(s,o,r),t[D>>2]=(t[D>>2]|0)+12,y2(e,E),H_(E),v=k;return}}function zp(e){return e=e|0,357913941}function qp(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function y2(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function H_(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function Jm(e){e=e|0,Hp(e)}function W_(e){e=e|0,V_(e+24|0)}function V_(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function Hp(e){e=e|0;var n=0;n=tr()|0,gn(e,2,7,n,Zm()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Zm(){return 1312}function G_(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;o=v,v=v+16|0,a=o+8|0,s=o,h=Y_(e)|0,e=t[h+4>>2]|0,t[s>>2]=t[h>>2],t[s+4>>2]=e,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],K_(n,a,r),v=o}function Y_(e){return e=e|0,(t[(cs()|0)+24>>2]|0)+(e*12|0)|0}function K_(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0;s=v,v=v+16|0,a=s,o=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(o=t[(t[e>>2]|0)+o>>2]|0),pl(a,r),a=zl(a,r)|0,nf[o&31](e,a),v=s}function X_(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],uu(e,r,a,0),v=o}function uu(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=Gc()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=Q_(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,J_(s,o)|0,o),v=a}function Gc(){var e=0,n=0;if(p[7784]|0||($m(9864),xt(42,9864,le|0)|0,n=7784,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9864)|0)){e=9864,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));$m(9864)}return 9864}function Q_(e){return e=e|0,0}function J_(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=Gc()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],ps(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Z_(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function ps(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function Z_(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=$_(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,Wp(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],ps(s,o,r),t[D>>2]=(t[D>>2]|0)+12,Vp(e,E),Xl(E),v=k;return}}function $_(e){return e=e|0,357913941}function Wp(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function Vp(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function Xl(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function $m(e){e=e|0,nE(e)}function eE(e){e=e|0,tE(e+24|0)}function tE(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function nE(e){e=e|0;var n=0;n=tr()|0,gn(e,2,8,n,rE()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function rE(){return 1320}function Gp(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;o=v,v=v+16|0,a=o+8|0,s=o,h=iE(e)|0,e=t[h+4>>2]|0,t[s>>2]=t[h>>2],t[s+4>>2]=e,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],oE(n,a,r),v=o}function iE(e){return e=e|0,(t[(Gc()|0)+24>>2]|0)+(e*12|0)|0}function oE(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0;s=v,v=v+16|0,a=s,o=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(o=t[(t[e>>2]|0)+o>>2]|0),Yp(a,r),a=ey(a,r)|0,nf[o&31](e,a),v=s}function Yp(e,n){e=e|0,n=n|0}function ey(e,n){return e=e|0,n=n|0,uE(n)|0}function uE(e){return e=e|0,e|0}function lE(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],ty(e,r,a,0),v=o}function ty(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=Aa()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=ny(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,aE(s,o)|0,o),v=a}function Aa(){var e=0,n=0;if(p[7792]|0||(Qp(9900),xt(43,9900,le|0)|0,n=7792,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9900)|0)){e=9900,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Qp(9900)}return 9900}function ny(e){return e=e|0,0}function aE(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=Aa()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],Yc(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(sE(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function Yc(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function sE(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=g2(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,Kp(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],Yc(s,o,r),t[D>>2]=(t[D>>2]|0)+12,Xp(e,E),fE(E),v=k;return}}function g2(e){return e=e|0,357913941}function Kp(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function Xp(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function fE(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function Qp(e){e=e|0,ry(e)}function cE(e){e=e|0,dE(e+24|0)}function dE(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function ry(e){e=e|0;var n=0;n=tr()|0,gn(e,2,22,n,pE()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function pE(){return 1344}function hE(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0;r=v,v=v+16|0,o=r+8|0,a=r,s=iy(e)|0,e=t[s+4>>2]|0,t[a>>2]=t[s>>2],t[a+4>>2]=e,t[o>>2]=t[a>>2],t[o+4>>2]=t[a+4>>2],_2(n,o),v=r}function iy(e){return e=e|0,(t[(Aa()|0)+24>>2]|0)+(e*12|0)|0}function _2(e,n){e=e|0,n=n|0;var r=0;r=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(r=t[(t[e>>2]|0)+r>>2]|0),tf[r&127](e)}function vE(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0;s=t[e>>2]|0,a=Jp()|0,e=mE(r)|0,Nr(s,n,a,e,yE(r,o)|0,o)}function Jp(){var e=0,n=0;if(p[7800]|0||($p(9936),xt(44,9936,le|0)|0,n=7800,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9936)|0)){e=9936,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));$p(9936)}return 9936}function mE(e){return e=e|0,e|0}function yE(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;return E=v,v=v+16|0,a=E,s=E+4|0,t[a>>2]=e,D=Jp()|0,h=D+24|0,n=en(n,4)|0,t[s>>2]=n,r=D+28|0,o=t[r>>2]|0,o>>>0<(t[D+32>>2]|0)>>>0?(Zp(o,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(oy(h,a,s),n=t[r>>2]|0),v=E,(n-(t[h>>2]|0)>>3)+-1|0}function Zp(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function oy(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0;if(E=v,v=v+32|0,a=E,s=e+4|0,h=((t[s>>2]|0)-(t[e>>2]|0)>>3)+1|0,o=uy(e)|0,o>>>0>>0)gr(e);else{D=t[e>>2]|0,R=(t[e+8>>2]|0)-D|0,k=R>>2,ly(a,R>>3>>>0>>1>>>0?k>>>0>>0?h:k:o,(t[s>>2]|0)-D>>3,e+8|0),h=a+8|0,Zp(t[h>>2]|0,t[n>>2]|0,t[r>>2]|0),t[h>>2]=(t[h>>2]|0)+8,ay(e,a),sy(a),v=E;return}}function uy(e){return e=e|0,536870911}function ly(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>536870911)Tn();else{a=Bt(n<<3)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<3)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<3)}function ay(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>3)<<3)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function sy(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&$e(e)}function $p(e){e=e|0,cy(e)}function fy(e){e=e|0,gE(e+24|0)}function gE(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function cy(e){e=e|0;var n=0;n=tr()|0,gn(e,1,23,n,Wf()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function _E(e,n){e=e|0,n=n|0,f(t[(EE(e)|0)>>2]|0,n)}function EE(e){return e=e|0,(t[(Jp()|0)+24>>2]|0)+(e<<3)|0}function f(e,n){e=e|0,n=n|0;var r=0,o=0;r=v,v=v+16|0,o=r,Gl(o,n),n=Yl(o,n)|0,tf[e&127](n),v=r}function d(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0;s=t[e>>2]|0,a=g()|0,e=S(r)|0,Nr(s,n,a,e,x(r,o)|0,o)}function g(){var e=0,n=0;if(p[7808]|0||(Ze(9972),xt(45,9972,le|0)|0,n=7808,t[n>>2]=1,t[n+4>>2]=0),!(Bn(9972)|0)){e=9972,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Ze(9972)}return 9972}function S(e){return e=e|0,e|0}function x(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;return E=v,v=v+16|0,a=E,s=E+4|0,t[a>>2]=e,D=g()|0,h=D+24|0,n=en(n,4)|0,t[s>>2]=n,r=D+28|0,o=t[r>>2]|0,o>>>0<(t[D+32>>2]|0)>>>0?(I(o,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(j(h,a,s),n=t[r>>2]|0),v=E,(n-(t[h>>2]|0)>>3)+-1|0}function I(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function j(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0;if(E=v,v=v+32|0,a=E,s=e+4|0,h=((t[s>>2]|0)-(t[e>>2]|0)>>3)+1|0,o=X(e)|0,o>>>0>>0)gr(e);else{D=t[e>>2]|0,R=(t[e+8>>2]|0)-D|0,k=R>>2,$(a,R>>3>>>0>>1>>>0?k>>>0>>0?h:k:o,(t[s>>2]|0)-D>>3,e+8|0),h=a+8|0,I(t[h>>2]|0,t[n>>2]|0,t[r>>2]|0),t[h>>2]=(t[h>>2]|0)+8,Re(e,a),Pe(a),v=E;return}}function X(e){return e=e|0,536870911}function $(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>536870911)Tn();else{a=Bt(n<<3)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<3)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<3)}function Re(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>3)<<3)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function Pe(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&$e(e)}function Ze(e){e=e|0,St(e)}function vt(e){e=e|0,Tt(e+24|0)}function Tt(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function St(e){e=e|0;var n=0;n=tr()|0,gn(e,1,9,n,Ht()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Ht(){return 1348}function Yn(e,n){return e=e|0,n=n|0,Ar(t[(pr(e)|0)>>2]|0,n)|0}function pr(e){return e=e|0,(t[(g()|0)+24>>2]|0)+(e<<3)|0}function Ar(e,n){e=e|0,n=n|0;var r=0,o=0;return r=v,v=v+16|0,o=r,d0(o,n),n=Jr(o,n)|0,n=K1(e1[e&31](n)|0)|0,v=r,n|0}function d0(e,n){e=e|0,n=n|0}function Jr(e,n){return e=e|0,n=n|0,We(n)|0}function We(e){return e=e|0,e|0}function pt(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0;s=t[e>>2]|0,a=Ue()|0,e=_t(r)|0,Nr(s,n,a,e,rn(r,o)|0,o)}function Ue(){var e=0,n=0;if(p[7816]|0||(rr(10008),xt(46,10008,le|0)|0,n=7816,t[n>>2]=1,t[n+4>>2]=0),!(Bn(10008)|0)){e=10008,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));rr(10008)}return 10008}function _t(e){return e=e|0,e|0}function rn(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;return E=v,v=v+16|0,a=E,s=E+4|0,t[a>>2]=e,D=Ue()|0,h=D+24|0,n=en(n,4)|0,t[s>>2]=n,r=D+28|0,o=t[r>>2]|0,o>>>0<(t[D+32>>2]|0)>>>0?(Ut(o,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(Gr(h,a,s),n=t[r>>2]|0),v=E,(n-(t[h>>2]|0)>>3)+-1|0}function Ut(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function Gr(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0;if(E=v,v=v+32|0,a=E,s=e+4|0,h=((t[s>>2]|0)-(t[e>>2]|0)>>3)+1|0,o=yr(e)|0,o>>>0>>0)gr(e);else{D=t[e>>2]|0,R=(t[e+8>>2]|0)-D|0,k=R>>2,Mi(a,R>>3>>>0>>1>>>0?k>>>0>>0?h:k:o,(t[s>>2]|0)-D>>3,e+8|0),h=a+8|0,Ut(t[h>>2]|0,t[n>>2]|0,t[r>>2]|0),t[h>>2]=(t[h>>2]|0)+8,Mn(e,a),ai(a),v=E;return}}function yr(e){return e=e|0,536870911}function Mi(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>536870911)Tn();else{a=Bt(n<<3)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<3)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<3)}function Mn(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>3)<<3)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function ai(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&$e(e)}function rr(e){e=e|0,w0(e)}function Ti(e){e=e|0,Zi(e+24|0)}function Zi(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function w0(e){e=e|0;var n=0;n=tr()|0,gn(e,1,15,n,rp()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function ku(e){return e=e|0,mo(t[(Ni(e)|0)>>2]|0)|0}function Ni(e){return e=e|0,(t[(Ue()|0)+24>>2]|0)+(e<<3)|0}function mo(e){return e=e|0,K1(Ay[e&7]()|0)|0}function Ql(){var e=0;return p[7832]|0||(py(10052),xt(25,10052,le|0)|0,e=7832,t[e>>2]=1,t[e+4>>2]=0),10052}function J0(e,n){e=e|0,n=n|0,t[e>>2]=Ou()|0,t[e+4>>2]=Qf()|0,t[e+12>>2]=n,t[e+8>>2]=ka()|0,t[e+32>>2]=2}function Ou(){return 11709}function Qf(){return 1188}function ka(){return $s()|0}function hs(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,(qo(o,896)|0)==512?r|0&&(Z0(r),$e(r)):n|0&&(sl(n),$e(n))}function qo(e,n){return e=e|0,n=n|0,n&e|0}function Z0(e){e=e|0,e=t[e+4>>2]|0,e|0&&Zf(e)}function $s(){var e=0;return p[7824]|0||(t[2511]=dy()|0,t[2512]=0,e=7824,t[e>>2]=1,t[e+4>>2]=0),10044}function dy(){return 0}function py(e){e=e|0,os(e)}function DE(e){e=e|0;var n=0,r=0,o=0,a=0,s=0;n=v,v=v+32|0,r=n+24|0,s=n+16|0,a=n+8|0,o=n,hy(e,4827),wE(e,4834,3)|0,SE(e,3682,47)|0,t[s>>2]=9,t[s+4>>2]=0,t[r>>2]=t[s>>2],t[r+4>>2]=t[s+4>>2],eh(e,4841,r)|0,t[a>>2]=1,t[a+4>>2]=0,t[r>>2]=t[a>>2],t[r+4>>2]=t[a+4>>2],vy(e,4871,r)|0,t[o>>2]=10,t[o+4>>2]=0,t[r>>2]=t[o>>2],t[r+4>>2]=t[o+4>>2],TE(e,4891,r)|0,v=n}function hy(e,n){e=e|0,n=n|0;var r=0;r=lM()|0,t[e>>2]=r,aM(r,n),Jf(t[e>>2]|0)}function wE(e,n,r){return e=e|0,n=n|0,r=r|0,VO(e,ar(n)|0,r,0),e|0}function SE(e,n,r){return e=e|0,n=n|0,r=r|0,OO(e,ar(n)|0,r,0),e|0}function eh(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],cO(e,n,a),v=o,e|0}function vy(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Gk(e,n,a),v=o,e|0}function TE(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=t[r+4>>2]|0,t[s>>2]=t[r>>2],t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],CE(e,n,a),v=o,e|0}function CE(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],xE(e,r,a,1),v=o}function xE(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=RE()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=Nk(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,Fk(s,o)|0,o),v=a}function RE(){var e=0,n=0;if(p[7840]|0||(G8(10100),xt(48,10100,le|0)|0,n=7840,t[n>>2]=1,t[n+4>>2]=0),!(Bn(10100)|0)){e=10100,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));G8(10100)}return 10100}function Nk(e){return e=e|0,0}function Fk(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=RE()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],V8(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Lk(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function V8(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function Lk(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=bk(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,Pk(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],V8(s,o,r),t[D>>2]=(t[D>>2]|0)+12,Ik(e,E),Bk(E),v=k;return}}function bk(e){return e=e|0,357913941}function Pk(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function Ik(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function Bk(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function G8(e){e=e|0,zk(e)}function Uk(e){e=e|0,jk(e+24|0)}function jk(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function zk(e){e=e|0;var n=0;n=tr()|0,gn(e,2,6,n,qk()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function qk(){return 1364}function Hk(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;return o=v,v=v+16|0,a=o+8|0,s=o,h=Wk(e)|0,e=t[h+4>>2]|0,t[s>>2]=t[h>>2],t[s+4>>2]=e,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],r=Vk(n,a,r)|0,v=o,r|0}function Wk(e){return e=e|0,(t[(RE()|0)+24>>2]|0)+(e*12|0)|0}function Vk(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0;return s=v,v=v+16|0,a=s,o=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(o=t[(t[e>>2]|0)+o>>2]|0),pl(a,r),a=zl(a,r)|0,a=xu(nD[o&15](e,a)|0)|0,v=s,a|0}function Gk(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],Yk(e,r,a,0),v=o}function Yk(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=AE()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=Kk(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,Xk(s,o)|0,o),v=a}function AE(){var e=0,n=0;if(p[7848]|0||(K8(10136),xt(49,10136,le|0)|0,n=7848,t[n>>2]=1,t[n+4>>2]=0),!(Bn(10136)|0)){e=10136,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));K8(10136)}return 10136}function Kk(e){return e=e|0,0}function Xk(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=AE()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],Y8(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Qk(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function Y8(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function Qk(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=Jk(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,Zk(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],Y8(s,o,r),t[D>>2]=(t[D>>2]|0)+12,$k(e,E),eO(E),v=k;return}}function Jk(e){return e=e|0,357913941}function Zk(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function $k(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function eO(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function K8(e){e=e|0,rO(e)}function tO(e){e=e|0,nO(e+24|0)}function nO(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function rO(e){e=e|0;var n=0;n=tr()|0,gn(e,2,9,n,iO()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function iO(){return 1372}function oO(e,n,r){e=e|0,n=n|0,r=+r;var o=0,a=0,s=0,h=0;o=v,v=v+16|0,a=o+8|0,s=o,h=uO(e)|0,e=t[h+4>>2]|0,t[s>>2]=t[h>>2],t[s+4>>2]=e,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],lO(n,a,r),v=o}function uO(e){return e=e|0,(t[(AE()|0)+24>>2]|0)+(e*12|0)|0}function lO(e,n,r){e=e|0,n=n|0,r=+r;var o=0,a=0,s=0,h=lt;s=v,v=v+16|0,a=s,o=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(o=t[(t[e>>2]|0)+o>>2]|0),aO(a,r),h=w(sO(a,r)),aS[o&1](e,h),v=s}function aO(e,n){e=e|0,n=+n}function sO(e,n){return e=e|0,n=+n,w(fO(n))}function fO(e){return e=+e,w(e)}function cO(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,a=o+8|0,s=o,E=t[r>>2]|0,h=t[r+4>>2]|0,r=ar(n)|0,t[s>>2]=E,t[s+4>>2]=h,t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],dO(e,r,a,0),v=o}function dO(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0,D=0,k=0,R=0;a=v,v=v+32|0,s=a+16|0,R=a+8|0,E=a,k=t[r>>2]|0,D=t[r+4>>2]|0,h=t[e>>2]|0,e=kE()|0,t[R>>2]=k,t[R+4>>2]=D,t[s>>2]=t[R>>2],t[s+4>>2]=t[R+4>>2],r=pO(s)|0,t[E>>2]=k,t[E+4>>2]=D,t[s>>2]=t[E>>2],t[s+4>>2]=t[E+4>>2],Nr(h,n,e,r,hO(s,o)|0,o),v=a}function kE(){var e=0,n=0;if(p[7856]|0||(Q8(10172),xt(50,10172,le|0)|0,n=7856,t[n>>2]=1,t[n+4>>2]=0),!(Bn(10172)|0)){e=10172,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Q8(10172)}return 10172}function pO(e){return e=e|0,0}function hO(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0;return R=v,v=v+32|0,a=R+24|0,h=R+16|0,E=R,D=R+8|0,s=t[e>>2]|0,o=t[e+4>>2]|0,t[E>>2]=s,t[E+4>>2]=o,F=kE()|0,k=F+24|0,e=en(n,4)|0,t[D>>2]=e,n=F+28|0,r=t[n>>2]|0,r>>>0<(t[F+32>>2]|0)>>>0?(t[h>>2]=s,t[h+4>>2]=o,t[a>>2]=t[h>>2],t[a+4>>2]=t[h+4>>2],X8(r,a,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(vO(k,E,D),e=t[n>>2]|0),v=R,((e-(t[k>>2]|0)|0)/12|0)+-1|0}function X8(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=o,t[e+8>>2]=r}function vO(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;if(k=v,v=v+48|0,o=k+32|0,h=k+24|0,E=k,D=e+4|0,a=(((t[D>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,s=mO(e)|0,s>>>0>>0)gr(e);else{R=t[e>>2]|0,H=((t[e+8>>2]|0)-R|0)/12|0,F=H<<1,yO(E,H>>>0>>1>>>0?F>>>0>>0?a:F:s,((t[D>>2]|0)-R|0)/12|0,e+8|0),D=E+8|0,s=t[D>>2]|0,a=t[n+4>>2]|0,r=t[r>>2]|0,t[h>>2]=t[n>>2],t[h+4>>2]=a,t[o>>2]=t[h>>2],t[o+4>>2]=t[h+4>>2],X8(s,o,r),t[D>>2]=(t[D>>2]|0)+12,gO(e,E),_O(E),v=k;return}}function mO(e){return e=e|0,357913941}function yO(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>357913941)Tn();else{a=Bt(n*12|0)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r*12|0)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n*12|0)}function gO(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(((a|0)/-12|0)*12|0)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function _O(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~(((o+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&$e(e)}function Q8(e){e=e|0,wO(e)}function EO(e){e=e|0,DO(e+24|0)}function DO(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-o|0)>>>0)/12|0)*12|0)),$e(r))}function wO(e){e=e|0;var n=0;n=tr()|0,gn(e,2,3,n,SO()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function SO(){return 1380}function TO(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0;a=v,v=v+16|0,s=a+8|0,h=a,E=CO(e)|0,e=t[E+4>>2]|0,t[h>>2]=t[E>>2],t[h+4>>2]=e,t[s>>2]=t[h>>2],t[s+4>>2]=t[h+4>>2],xO(n,s,r,o),v=a}function CO(e){return e=e|0,(t[(kE()|0)+24>>2]|0)+(e*12|0)|0}function xO(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0;E=v,v=v+16|0,s=E+1|0,h=E,a=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(a=t[(t[e>>2]|0)+a>>2]|0),pl(s,r),s=zl(s,r)|0,RO(h,o),h=AO(h,o)|0,lh[a&15](e,s,h),v=E}function RO(e,n){e=e|0,n=n|0}function AO(e,n){return e=e|0,n=n|0,kO(n)|0}function kO(e){return e=e|0,(e|0)!=0|0}function OO(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0;s=t[e>>2]|0,a=OE()|0,e=MO(r)|0,Nr(s,n,a,e,NO(r,o)|0,o)}function OE(){var e=0,n=0;if(p[7864]|0||(Z8(10208),xt(51,10208,le|0)|0,n=7864,t[n>>2]=1,t[n+4>>2]=0),!(Bn(10208)|0)){e=10208,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Z8(10208)}return 10208}function MO(e){return e=e|0,e|0}function NO(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;return E=v,v=v+16|0,a=E,s=E+4|0,t[a>>2]=e,D=OE()|0,h=D+24|0,n=en(n,4)|0,t[s>>2]=n,r=D+28|0,o=t[r>>2]|0,o>>>0<(t[D+32>>2]|0)>>>0?(J8(o,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(FO(h,a,s),n=t[r>>2]|0),v=E,(n-(t[h>>2]|0)>>3)+-1|0}function J8(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function FO(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0;if(E=v,v=v+32|0,a=E,s=e+4|0,h=((t[s>>2]|0)-(t[e>>2]|0)>>3)+1|0,o=LO(e)|0,o>>>0>>0)gr(e);else{D=t[e>>2]|0,R=(t[e+8>>2]|0)-D|0,k=R>>2,bO(a,R>>3>>>0>>1>>>0?k>>>0>>0?h:k:o,(t[s>>2]|0)-D>>3,e+8|0),h=a+8|0,J8(t[h>>2]|0,t[n>>2]|0,t[r>>2]|0),t[h>>2]=(t[h>>2]|0)+8,PO(e,a),IO(a),v=E;return}}function LO(e){return e=e|0,536870911}function bO(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>536870911)Tn();else{a=Bt(n<<3)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<3)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<3)}function PO(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>3)<<3)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function IO(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&$e(e)}function Z8(e){e=e|0,jO(e)}function BO(e){e=e|0,UO(e+24|0)}function UO(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function jO(e){e=e|0;var n=0;n=tr()|0,gn(e,1,24,n,zO()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function zO(){return 1392}function qO(e,n){e=e|0,n=n|0,WO(t[(HO(e)|0)>>2]|0,n)}function HO(e){return e=e|0,(t[(OE()|0)+24>>2]|0)+(e<<3)|0}function WO(e,n){e=e|0,n=n|0;var r=0,o=0;r=v,v=v+16|0,o=r,d0(o,n),n=Jr(o,n)|0,tf[e&127](n),v=r}function VO(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0;s=t[e>>2]|0,a=ME()|0,e=GO(r)|0,Nr(s,n,a,e,YO(r,o)|0,o)}function ME(){var e=0,n=0;if(p[7872]|0||(ew(10244),xt(52,10244,le|0)|0,n=7872,t[n>>2]=1,t[n+4>>2]=0),!(Bn(10244)|0)){e=10244,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));ew(10244)}return 10244}function GO(e){return e=e|0,e|0}function YO(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;return E=v,v=v+16|0,a=E,s=E+4|0,t[a>>2]=e,D=ME()|0,h=D+24|0,n=en(n,4)|0,t[s>>2]=n,r=D+28|0,o=t[r>>2]|0,o>>>0<(t[D+32>>2]|0)>>>0?($8(o,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(KO(h,a,s),n=t[r>>2]|0),v=E,(n-(t[h>>2]|0)>>3)+-1|0}function $8(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function KO(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0;if(E=v,v=v+32|0,a=E,s=e+4|0,h=((t[s>>2]|0)-(t[e>>2]|0)>>3)+1|0,o=XO(e)|0,o>>>0>>0)gr(e);else{D=t[e>>2]|0,R=(t[e+8>>2]|0)-D|0,k=R>>2,QO(a,R>>3>>>0>>1>>>0?k>>>0>>0?h:k:o,(t[s>>2]|0)-D>>3,e+8|0),h=a+8|0,$8(t[h>>2]|0,t[n>>2]|0,t[r>>2]|0),t[h>>2]=(t[h>>2]|0)+8,JO(e,a),ZO(a),v=E;return}}function XO(e){return e=e|0,536870911}function QO(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>536870911)Tn();else{a=Bt(n<<3)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<3)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<3)}function JO(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>3)<<3)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function ZO(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&$e(e)}function ew(e){e=e|0,tM(e)}function $O(e){e=e|0,eM(e+24|0)}function eM(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function tM(e){e=e|0;var n=0;n=tr()|0,gn(e,1,16,n,nM()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function nM(){return 1400}function rM(e){return e=e|0,oM(t[(iM(e)|0)>>2]|0)|0}function iM(e){return e=e|0,(t[(ME()|0)+24>>2]|0)+(e<<3)|0}function oM(e){return e=e|0,uM(Ay[e&7]()|0)|0}function uM(e){return e=e|0,e|0}function lM(){var e=0;return p[7880]|0||(hM(10280),xt(25,10280,le|0)|0,e=7880,t[e>>2]=1,t[e+4>>2]=0),10280}function aM(e,n){e=e|0,n=n|0,t[e>>2]=sM()|0,t[e+4>>2]=fM()|0,t[e+12>>2]=n,t[e+8>>2]=cM()|0,t[e+32>>2]=4}function sM(){return 11711}function fM(){return 1356}function cM(){return $s()|0}function dM(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,(qo(o,896)|0)==512?r|0&&(pM(r),$e(r)):n|0&&(Q0(n),$e(n))}function pM(e){e=e|0,e=t[e+4>>2]|0,e|0&&Zf(e)}function hM(e){e=e|0,os(e)}function vM(e){e=e|0,mM(e,4920),yM(e)|0,gM(e)|0}function mM(e,n){e=e|0,n=n|0;var r=0;r=s2()|0,t[e>>2]=r,UM(r,n),Jf(t[e>>2]|0)}function yM(e){e=e|0;var n=0;return n=t[e>>2]|0,Kc(n,kM()|0),e|0}function gM(e){e=e|0;var n=0;return n=t[e>>2]|0,Kc(n,_M()|0),e|0}function _M(){var e=0;return p[7888]|0||(tw(10328),xt(53,10328,le|0)|0,e=7888,t[e>>2]=1,t[e+4>>2]=0),Bn(10328)|0||tw(10328),10328}function Kc(e,n){e=e|0,n=n|0,Nr(e,0,n,0,0,0)}function tw(e){e=e|0,wM(e),Xc(e,10)}function EM(e){e=e|0,DM(e+24|0)}function DM(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function wM(e){e=e|0;var n=0;n=tr()|0,gn(e,5,1,n,xM()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function SM(e,n,r){e=e|0,n=n|0,r=+r,TM(e,n,r)}function Xc(e,n){e=e|0,n=n|0,t[e+20>>2]=n}function TM(e,n,r){e=e|0,n=n|0,r=+r;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+16|0,s=o+8|0,E=o+13|0,a=o,h=o+12|0,pl(E,n),t[s>>2]=zl(E,n)|0,Cu(h,r),P[a>>3]=+Qu(h,r),CM(e,s,a),v=o}function CM(e,n,r){e=e|0,n=n|0,r=r|0,L(e+8|0,t[n>>2]|0,+P[r>>3]),p[e+24>>0]=1}function xM(){return 1404}function RM(e,n){return e=e|0,n=+n,AM(e,n)|0}function AM(e,n){e=e|0,n=+n;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;return o=v,v=v+16|0,s=o+4|0,h=o+8|0,E=o,a=ml(8)|0,r=a,D=Bt(16)|0,pl(s,e),e=zl(s,e)|0,Cu(h,n),L(D,e,+Qu(h,n)),h=r+4|0,t[h>>2]=D,e=Bt(8)|0,h=t[h>>2]|0,t[E>>2]=0,t[s>>2]=t[E>>2],Ys(e,h,s),t[a>>2]=e,v=o,r|0}function kM(){var e=0;return p[7896]|0||(nw(10364),xt(54,10364,le|0)|0,e=7896,t[e>>2]=1,t[e+4>>2]=0),Bn(10364)|0||nw(10364),10364}function nw(e){e=e|0,NM(e),Xc(e,55)}function OM(e){e=e|0,MM(e+24|0)}function MM(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function NM(e){e=e|0;var n=0;n=tr()|0,gn(e,5,4,n,PM()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function FM(e){e=e|0,LM(e)}function LM(e){e=e|0,bM(e)}function bM(e){e=e|0,rw(e+8|0),p[e+24>>0]=1}function rw(e){e=e|0,t[e>>2]=0,P[e+8>>3]=0}function PM(){return 1424}function IM(){return BM()|0}function BM(){var e=0,n=0,r=0,o=0,a=0,s=0,h=0;return n=v,v=v+16|0,a=n+4|0,h=n,r=ml(8)|0,e=r,o=Bt(16)|0,rw(o),s=e+4|0,t[s>>2]=o,o=Bt(8)|0,s=t[s>>2]|0,t[h>>2]=0,t[a>>2]=t[h>>2],Ys(o,s,a),t[r>>2]=o,v=n,e|0}function UM(e,n){e=e|0,n=n|0,t[e>>2]=jM()|0,t[e+4>>2]=zM()|0,t[e+12>>2]=n,t[e+8>>2]=qM()|0,t[e+32>>2]=5}function jM(){return 11710}function zM(){return 1416}function qM(){return my()|0}function HM(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,(qo(o,896)|0)==512?r|0&&(WM(r),$e(r)):n|0&&$e(n)}function WM(e){e=e|0,e=t[e+4>>2]|0,e|0&&Zf(e)}function my(){var e=0;return p[7904]|0||(t[2600]=VM()|0,t[2601]=0,e=7904,t[e>>2]=1,t[e+4>>2]=0),10400}function VM(){return t[357]|0}function GM(e){e=e|0,YM(e,4926),KM(e)|0}function YM(e,n){e=e|0,n=n|0;var r=0;r=Us()|0,t[e>>2]=r,oN(r,n),Jf(t[e>>2]|0)}function KM(e){e=e|0;var n=0;return n=t[e>>2]|0,Kc(n,XM()|0),e|0}function XM(){var e=0;return p[7912]|0||(iw(10412),xt(56,10412,le|0)|0,e=7912,t[e>>2]=1,t[e+4>>2]=0),Bn(10412)|0||iw(10412),10412}function iw(e){e=e|0,ZM(e),Xc(e,57)}function QM(e){e=e|0,JM(e+24|0)}function JM(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function ZM(e){e=e|0;var n=0;n=tr()|0,gn(e,5,5,n,nN()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function $M(e){e=e|0,eN(e)}function eN(e){e=e|0,tN(e)}function tN(e){e=e|0;var n=0,r=0;n=e+8|0,r=n+48|0;do t[n>>2]=0,n=n+4|0;while((n|0)<(r|0));p[e+56>>0]=1}function nN(){return 1432}function rN(){return iN()|0}function iN(){var e=0,n=0,r=0,o=0,a=0,s=0,h=0,E=0;h=v,v=v+16|0,e=h+4|0,n=h,r=ml(8)|0,o=r,a=Bt(48)|0,s=a,E=s+48|0;do t[s>>2]=0,s=s+4|0;while((s|0)<(E|0));return s=o+4|0,t[s>>2]=a,E=Bt(8)|0,s=t[s>>2]|0,t[n>>2]=0,t[e>>2]=t[n>>2],Fv(E,s,e),t[r>>2]=E,v=h,o|0}function oN(e,n){e=e|0,n=n|0,t[e>>2]=uN()|0,t[e+4>>2]=lN()|0,t[e+12>>2]=n,t[e+8>>2]=aN()|0,t[e+32>>2]=6}function uN(){return 11704}function lN(){return 1436}function aN(){return my()|0}function sN(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,(qo(o,896)|0)==512?r|0&&(fN(r),$e(r)):n|0&&$e(n)}function fN(e){e=e|0,e=t[e+4>>2]|0,e|0&&Zf(e)}function cN(e){e=e|0,dN(e,4933),pN(e)|0,hN(e)|0}function dN(e,n){e=e|0,n=n|0;var r=0;r=BN()|0,t[e>>2]=r,UN(r,n),Jf(t[e>>2]|0)}function pN(e){e=e|0;var n=0;return n=t[e>>2]|0,Kc(n,AN()|0),e|0}function hN(e){e=e|0;var n=0;return n=t[e>>2]|0,Kc(n,vN()|0),e|0}function vN(){var e=0;return p[7920]|0||(ow(10452),xt(58,10452,le|0)|0,e=7920,t[e>>2]=1,t[e+4>>2]=0),Bn(10452)|0||ow(10452),10452}function ow(e){e=e|0,gN(e),Xc(e,1)}function mN(e){e=e|0,yN(e+24|0)}function yN(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function gN(e){e=e|0;var n=0;n=tr()|0,gn(e,5,1,n,wN()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function _N(e,n,r){e=e|0,n=+n,r=+r,EN(e,n,r)}function EN(e,n,r){e=e|0,n=+n,r=+r;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+32|0,s=o+8|0,E=o+17|0,a=o,h=o+16|0,Cu(E,n),P[s>>3]=+Qu(E,n),Cu(h,r),P[a>>3]=+Qu(h,r),DN(e,s,a),v=o}function DN(e,n,r){e=e|0,n=n|0,r=r|0,uw(e+8|0,+P[n>>3],+P[r>>3]),p[e+24>>0]=1}function uw(e,n,r){e=e|0,n=+n,r=+r,P[e>>3]=n,P[e+8>>3]=r}function wN(){return 1472}function SN(e,n){return e=+e,n=+n,TN(e,n)|0}function TN(e,n){e=+e,n=+n;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;return o=v,v=v+16|0,h=o+4|0,E=o+8|0,D=o,a=ml(8)|0,r=a,s=Bt(16)|0,Cu(h,e),e=+Qu(h,e),Cu(E,n),uw(s,e,+Qu(E,n)),E=r+4|0,t[E>>2]=s,s=Bt(8)|0,E=t[E>>2]|0,t[D>>2]=0,t[h>>2]=t[D>>2],lw(s,E,h),t[a>>2]=s,v=o,r|0}function lw(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,r=Bt(16)|0,t[r+4>>2]=0,t[r+8>>2]=0,t[r>>2]=1452,t[r+12>>2]=n,t[e+4>>2]=r}function CN(e){e=e|0,C2(e),$e(e)}function xN(e){e=e|0,e=t[e+12>>2]|0,e|0&&$e(e)}function RN(e){e=e|0,$e(e)}function AN(){var e=0;return p[7928]|0||(aw(10488),xt(59,10488,le|0)|0,e=7928,t[e>>2]=1,t[e+4>>2]=0),Bn(10488)|0||aw(10488),10488}function aw(e){e=e|0,MN(e),Xc(e,60)}function kN(e){e=e|0,ON(e+24|0)}function ON(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function MN(e){e=e|0;var n=0;n=tr()|0,gn(e,5,6,n,bN()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function NN(e){e=e|0,FN(e)}function FN(e){e=e|0,LN(e)}function LN(e){e=e|0,sw(e+8|0),p[e+24>>0]=1}function sw(e){e=e|0,t[e>>2]=0,t[e+4>>2]=0,t[e+8>>2]=0,t[e+12>>2]=0}function bN(){return 1492}function PN(){return IN()|0}function IN(){var e=0,n=0,r=0,o=0,a=0,s=0,h=0;return n=v,v=v+16|0,a=n+4|0,h=n,r=ml(8)|0,e=r,o=Bt(16)|0,sw(o),s=e+4|0,t[s>>2]=o,o=Bt(8)|0,s=t[s>>2]|0,t[h>>2]=0,t[a>>2]=t[h>>2],lw(o,s,a),t[r>>2]=o,v=n,e|0}function BN(){var e=0;return p[7936]|0||(VN(10524),xt(25,10524,le|0)|0,e=7936,t[e>>2]=1,t[e+4>>2]=0),10524}function UN(e,n){e=e|0,n=n|0,t[e>>2]=jN()|0,t[e+4>>2]=zN()|0,t[e+12>>2]=n,t[e+8>>2]=qN()|0,t[e+32>>2]=7}function jN(){return 11700}function zN(){return 1484}function qN(){return my()|0}function HN(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,(qo(o,896)|0)==512?r|0&&(WN(r),$e(r)):n|0&&$e(n)}function WN(e){e=e|0,e=t[e+4>>2]|0,e|0&&Zf(e)}function VN(e){e=e|0,os(e)}function GN(e,n,r){e=e|0,n=n|0,r=r|0,e=ar(n)|0,n=YN(r)|0,r=KN(r,0)|0,TF(e,n,r,NE()|0,0)}function YN(e){return e=e|0,e|0}function KN(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;return E=v,v=v+16|0,a=E,s=E+4|0,t[a>>2]=e,D=NE()|0,h=D+24|0,n=en(n,4)|0,t[s>>2]=n,r=D+28|0,o=t[r>>2]|0,o>>>0<(t[D+32>>2]|0)>>>0?(cw(o,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(tF(h,a,s),n=t[r>>2]|0),v=E,(n-(t[h>>2]|0)>>3)+-1|0}function NE(){var e=0,n=0;if(p[7944]|0||(fw(10568),xt(61,10568,le|0)|0,n=7944,t[n>>2]=1,t[n+4>>2]=0),!(Bn(10568)|0)){e=10568,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));fw(10568)}return 10568}function fw(e){e=e|0,JN(e)}function XN(e){e=e|0,QN(e+24|0)}function QN(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function JN(e){e=e|0;var n=0;n=tr()|0,gn(e,1,17,n,vm()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function ZN(e){return e=e|0,eF(t[($N(e)|0)>>2]|0)|0}function $N(e){return e=e|0,(t[(NE()|0)+24>>2]|0)+(e<<3)|0}function eF(e){return e=e|0,P0(Ay[e&7]()|0)|0}function cw(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function tF(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0;if(E=v,v=v+32|0,a=E,s=e+4|0,h=((t[s>>2]|0)-(t[e>>2]|0)>>3)+1|0,o=nF(e)|0,o>>>0>>0)gr(e);else{D=t[e>>2]|0,R=(t[e+8>>2]|0)-D|0,k=R>>2,rF(a,R>>3>>>0>>1>>>0?k>>>0>>0?h:k:o,(t[s>>2]|0)-D>>3,e+8|0),h=a+8|0,cw(t[h>>2]|0,t[n>>2]|0,t[r>>2]|0),t[h>>2]=(t[h>>2]|0)+8,iF(e,a),oF(a),v=E;return}}function nF(e){return e=e|0,536870911}function rF(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>536870911)Tn();else{a=Bt(n<<3)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<3)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<3)}function iF(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>3)<<3)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function oF(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&$e(e)}function uF(){lF()}function lF(){aF(10604)}function aF(e){e=e|0,sF(e,4955)}function sF(e,n){e=e|0,n=n|0;var r=0;r=fF()|0,t[e>>2]=r,cF(r,n),Jf(t[e>>2]|0)}function fF(){var e=0;return p[7952]|0||(EF(10612),xt(25,10612,le|0)|0,e=7952,t[e>>2]=1,t[e+4>>2]=0),10612}function cF(e,n){e=e|0,n=n|0,t[e>>2]=vF()|0,t[e+4>>2]=mF()|0,t[e+12>>2]=n,t[e+8>>2]=yF()|0,t[e+32>>2]=8}function Jf(e){e=e|0;var n=0,r=0;n=v,v=v+16|0,r=n,E2()|0,t[r>>2]=e,dF(10608,r),v=n}function E2(){return p[11714]|0||(t[2652]=0,xt(62,10608,le|0)|0,p[11714]=1),10608}function dF(e,n){e=e|0,n=n|0;var r=0;r=Bt(8)|0,t[r+4>>2]=t[n>>2],t[r>>2]=t[e>>2],t[e>>2]=r}function pF(e){e=e|0,hF(e)}function hF(e){e=e|0;var n=0,r=0;if(n=t[e>>2]|0,n|0)do r=n,n=t[n>>2]|0,$e(r);while((n|0)!=0);t[e>>2]=0}function vF(){return 11715}function mF(){return 1496}function yF(){return $s()|0}function gF(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,(qo(o,896)|0)==512?r|0&&(_F(r),$e(r)):n|0&&$e(n)}function _F(e){e=e|0,e=t[e+4>>2]|0,e|0&&Zf(e)}function EF(e){e=e|0,os(e)}function DF(e,n){e=e|0,n=n|0;var r=0,o=0;E2()|0,r=t[2652]|0;e:do if(r|0){for(;o=t[r+4>>2]|0,!(o|0&&(Gw(FE(o)|0,e)|0)==0);)if(r=t[r>>2]|0,!r)break e;wF(o,n)}while(0)}function FE(e){return e=e|0,t[e+12>>2]|0}function wF(e,n){e=e|0,n=n|0;var r=0;e=e+36|0,r=t[e>>2]|0,r|0&&(ma(r),$e(r)),r=Bt(4)|0,Ff(r,n),t[e>>2]=r}function LE(){return p[11716]|0||(t[2664]=0,xt(63,10656,le|0)|0,p[11716]=1),10656}function dw(){var e=0;return p[11717]|0?e=t[2665]|0:(SF(),t[2665]=1504,p[11717]=1,e=1504),e|0}function SF(){p[11740]|0||(p[11718]=en(en(8,0)|0,0)|0,p[11719]=en(en(0,0)|0,0)|0,p[11720]=en(en(0,16)|0,0)|0,p[11721]=en(en(8,0)|0,0)|0,p[11722]=en(en(0,0)|0,0)|0,p[11723]=en(en(8,0)|0,0)|0,p[11724]=en(en(0,0)|0,0)|0,p[11725]=en(en(8,0)|0,0)|0,p[11726]=en(en(0,0)|0,0)|0,p[11727]=en(en(8,0)|0,0)|0,p[11728]=en(en(0,0)|0,0)|0,p[11729]=en(en(0,0)|0,32)|0,p[11730]=en(en(0,0)|0,32)|0,p[11740]=1)}function pw(){return 1572}function TF(e,n,r,o,a){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0;var s=0,h=0,E=0,D=0,k=0,R=0;s=v,v=v+32|0,R=s+16|0,k=s+12|0,D=s+8|0,E=s+4|0,h=s,t[R>>2]=e,t[k>>2]=n,t[D>>2]=r,t[E>>2]=o,t[h>>2]=a,LE()|0,CF(10656,R,k,D,E,h),v=s}function CF(e,n,r,o,a,s){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0;var h=0;h=Bt(24)|0,xd(h+4|0,t[n>>2]|0,t[r>>2]|0,t[o>>2]|0,t[a>>2]|0,t[s>>2]|0),t[h>>2]=t[e>>2],t[e>>2]=h}function hw(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0,xe=0,ce=0,ue=0,Be=0,be=0,Ve=0;if(Ve=v,v=v+32|0,ce=Ve+20|0,ue=Ve+8|0,Be=Ve+4|0,be=Ve,n=t[n>>2]|0,n|0){xe=ce+4|0,D=ce+8|0,k=ue+4|0,R=ue+8|0,F=ue+8|0,H=ce+8|0;do{if(h=n+4|0,E=bE(h)|0,E|0){if(a=th(E)|0,t[ce>>2]=0,t[xe>>2]=0,t[D>>2]=0,o=(nh(E)|0)+1|0,xF(ce,o),o|0)for(;o=o+-1|0,Oa(ue,t[a>>2]|0),s=t[xe>>2]|0,s>>>0<(t[H>>2]|0)>>>0?(t[s>>2]=t[ue>>2],t[xe>>2]=(t[xe>>2]|0)+4):PE(ce,ue),o;)a=a+4|0;o=rh(E)|0,t[ue>>2]=0,t[k>>2]=0,t[R>>2]=0;e:do if(t[o>>2]|0)for(a=0,s=0;;){if((a|0)==(s|0)?RF(ue,o):(t[a>>2]=t[o>>2],t[k>>2]=(t[k>>2]|0)+4),o=o+4|0,!(t[o>>2]|0))break e;a=t[k>>2]|0,s=t[F>>2]|0}while(0);t[Be>>2]=yy(h)|0,t[be>>2]=Bn(E)|0,AF(r,e,Be,be,ce,ue),IE(ue),ef(ce)}n=t[n>>2]|0}while((n|0)!=0)}v=Ve}function bE(e){return e=e|0,t[e+12>>2]|0}function th(e){return e=e|0,t[e+12>>2]|0}function nh(e){return e=e|0,t[e+16>>2]|0}function xF(e,n){e=e|0,n=n|0;var r=0,o=0,a=0;a=v,v=v+32|0,r=a,o=t[e>>2]|0,(t[e+8>>2]|0)-o>>2>>>0>>0&&(ww(r,n,(t[e+4>>2]|0)-o>>2,e+8|0),Sw(e,r),Tw(r)),v=a}function PE(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0;if(h=v,v=v+32|0,r=h,o=e+4|0,a=((t[o>>2]|0)-(t[e>>2]|0)>>2)+1|0,s=Dw(e)|0,s>>>0>>0)gr(e);else{E=t[e>>2]|0,k=(t[e+8>>2]|0)-E|0,D=k>>1,ww(r,k>>2>>>0>>1>>>0?D>>>0>>0?a:D:s,(t[o>>2]|0)-E>>2,e+8|0),s=r+8|0,t[t[s>>2]>>2]=t[n>>2],t[s>>2]=(t[s>>2]|0)+4,Sw(e,r),Tw(r),v=h;return}}function rh(e){return e=e|0,t[e+8>>2]|0}function RF(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0;if(h=v,v=v+32|0,r=h,o=e+4|0,a=((t[o>>2]|0)-(t[e>>2]|0)>>2)+1|0,s=Ew(e)|0,s>>>0>>0)gr(e);else{E=t[e>>2]|0,k=(t[e+8>>2]|0)-E|0,D=k>>1,YF(r,k>>2>>>0>>1>>>0?D>>>0>>0?a:D:s,(t[o>>2]|0)-E>>2,e+8|0),s=r+8|0,t[t[s>>2]>>2]=t[n>>2],t[s>>2]=(t[s>>2]|0)+4,KF(e,r),XF(r),v=h;return}}function yy(e){return e=e|0,t[e>>2]|0}function AF(e,n,r,o,a,s){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0,kF(e,n,r,o,a,s)}function IE(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-4-o|0)>>>2)<<2)),$e(r))}function ef(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-4-o|0)>>>2)<<2)),$e(r))}function kF(e,n,r,o,a,s){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0;var h=0,E=0,D=0,k=0,R=0,F=0;h=v,v=v+48|0,R=h+40|0,E=h+32|0,F=h+24|0,D=h+12|0,k=h,yl(E),e=jo(e)|0,t[F>>2]=t[n>>2],r=t[r>>2]|0,o=t[o>>2]|0,BE(D,a),OF(k,s),t[R>>2]=t[F>>2],MF(e,R,r,o,D,k),IE(k),ef(D),gl(E),v=h}function BE(e,n){e=e|0,n=n|0;var r=0,o=0;t[e>>2]=0,t[e+4>>2]=0,t[e+8>>2]=0,r=n+4|0,o=(t[r>>2]|0)-(t[n>>2]|0)>>2,o|0&&(VF(e,o),GF(e,t[n>>2]|0,t[r>>2]|0,o))}function OF(e,n){e=e|0,n=n|0;var r=0,o=0;t[e>>2]=0,t[e+4>>2]=0,t[e+8>>2]=0,r=n+4|0,o=(t[r>>2]|0)-(t[n>>2]|0)>>2,o|0&&(HF(e,o),WF(e,t[n>>2]|0,t[r>>2]|0,o))}function MF(e,n,r,o,a,s){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0;var h=0,E=0,D=0,k=0,R=0,F=0;h=v,v=v+32|0,R=h+28|0,F=h+24|0,E=h+12|0,D=h,k=ho(NF()|0)|0,t[F>>2]=t[n>>2],t[R>>2]=t[F>>2],n=Qc(R)|0,r=vw(r)|0,o=UE(o)|0,t[E>>2]=t[a>>2],R=a+4|0,t[E+4>>2]=t[R>>2],F=a+8|0,t[E+8>>2]=t[F>>2],t[F>>2]=0,t[R>>2]=0,t[a>>2]=0,a=jE(E)|0,t[D>>2]=t[s>>2],R=s+4|0,t[D+4>>2]=t[R>>2],F=s+8|0,t[D+8>>2]=t[F>>2],t[F>>2]=0,t[R>>2]=0,t[s>>2]=0,j0(0,k|0,e|0,n|0,r|0,o|0,a|0,FF(D)|0)|0,IE(D),ef(E),v=h}function NF(){var e=0;return p[7968]|0||(zF(10708),e=7968,t[e>>2]=1,t[e+4>>2]=0),10708}function Qc(e){return e=e|0,yw(e)|0}function vw(e){return e=e|0,mw(e)|0}function UE(e){return e=e|0,P0(e)|0}function jE(e){return e=e|0,bF(e)|0}function FF(e){return e=e|0,LF(e)|0}function LF(e){e=e|0;var n=0,r=0,o=0;if(o=(t[e+4>>2]|0)-(t[e>>2]|0)|0,r=o>>2,o=ml(o+4|0)|0,t[o>>2]=r,r|0){n=0;do t[o+4+(n<<2)>>2]=mw(t[(t[e>>2]|0)+(n<<2)>>2]|0)|0,n=n+1|0;while((n|0)!=(r|0))}return o|0}function mw(e){return e=e|0,e|0}function bF(e){e=e|0;var n=0,r=0,o=0;if(o=(t[e+4>>2]|0)-(t[e>>2]|0)|0,r=o>>2,o=ml(o+4|0)|0,t[o>>2]=r,r|0){n=0;do t[o+4+(n<<2)>>2]=yw((t[e>>2]|0)+(n<<2)|0)|0,n=n+1|0;while((n|0)!=(r|0))}return o|0}function yw(e){e=e|0;var n=0,r=0,o=0,a=0;return a=v,v=v+32|0,n=a+12|0,r=a,o=rs(gw()|0)|0,o?(Ku(n,o),js(r,n),_I(e,r),e=dl(n)|0):e=PF(e)|0,v=a,e|0}function gw(){var e=0;return p[7960]|0||(jF(10664),xt(25,10664,le|0)|0,e=7960,t[e>>2]=1,t[e+4>>2]=0),10664}function PF(e){e=e|0;var n=0,r=0,o=0,a=0,s=0,h=0,E=0;return r=v,v=v+16|0,a=r+4|0,h=r,o=ml(8)|0,n=o,E=Bt(4)|0,t[E>>2]=t[e>>2],s=n+4|0,t[s>>2]=E,e=Bt(8)|0,s=t[s>>2]|0,t[h>>2]=0,t[a>>2]=t[h>>2],_w(e,s,a),t[o>>2]=e,v=r,n|0}function _w(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,r=Bt(16)|0,t[r+4>>2]=0,t[r+8>>2]=0,t[r>>2]=1656,t[r+12>>2]=n,t[e+4>>2]=r}function IF(e){e=e|0,C2(e),$e(e)}function BF(e){e=e|0,e=t[e+12>>2]|0,e|0&&$e(e)}function UF(e){e=e|0,$e(e)}function jF(e){e=e|0,os(e)}function zF(e){e=e|0,tu(e,qF()|0,5)}function qF(){return 1676}function HF(e,n){e=e|0,n=n|0;var r=0;if((Ew(e)|0)>>>0>>0&&gr(e),n>>>0>1073741823)Tn();else{r=Bt(n<<2)|0,t[e+4>>2]=r,t[e>>2]=r,t[e+8>>2]=r+(n<<2);return}}function WF(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,o=e+4|0,e=r-n|0,(e|0)>0&&(bn(t[o>>2]|0,n|0,e|0)|0,t[o>>2]=(t[o>>2]|0)+(e>>>2<<2))}function Ew(e){return e=e|0,1073741823}function VF(e,n){e=e|0,n=n|0;var r=0;if((Dw(e)|0)>>>0>>0&&gr(e),n>>>0>1073741823)Tn();else{r=Bt(n<<2)|0,t[e+4>>2]=r,t[e>>2]=r,t[e+8>>2]=r+(n<<2);return}}function GF(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,o=e+4|0,e=r-n|0,(e|0)>0&&(bn(t[o>>2]|0,n|0,e|0)|0,t[o>>2]=(t[o>>2]|0)+(e>>>2<<2))}function Dw(e){return e=e|0,1073741823}function YF(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>1073741823)Tn();else{a=Bt(n<<2)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<2)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<2)}function KF(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>2)<<2)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function XF(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-4-n|0)>>>2)<<2)),e=t[e>>2]|0,e|0&&$e(e)}function ww(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>1073741823)Tn();else{a=Bt(n<<2)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<2)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<2)}function Sw(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>2)<<2)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function Tw(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-4-n|0)>>>2)<<2)),e=t[e>>2]|0,e|0&&$e(e)}function QF(e,n,r,o,a){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0;var s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0,xe=0,ce=0,ue=0;if(ue=v,v=v+32|0,R=ue+20|0,F=ue+12|0,k=ue+16|0,H=ue+4|0,xe=ue,ce=ue+8|0,E=dw()|0,s=t[E>>2]|0,h=t[s>>2]|0,h|0)for(D=t[E+8>>2]|0,E=t[E+4>>2]|0;Oa(R,h),JF(e,R,E,D),s=s+4|0,h=t[s>>2]|0,h;)D=D+1|0,E=E+1|0;if(s=pw()|0,h=t[s>>2]|0,h|0)do Oa(R,h),t[F>>2]=t[s+4>>2],ZF(n,R,F),s=s+8|0,h=t[s>>2]|0;while((h|0)!=0);if(s=t[(E2()|0)>>2]|0,s|0)do n=t[s+4>>2]|0,Oa(R,t[(D2(n)|0)>>2]|0),t[F>>2]=FE(n)|0,$F(r,R,F),s=t[s>>2]|0;while((s|0)!=0);if(Oa(k,0),s=LE()|0,t[R>>2]=t[k>>2],hw(R,s,a),s=t[(E2()|0)>>2]|0,s|0){e=R+4|0,n=R+8|0,r=R+8|0;do{if(D=t[s+4>>2]|0,Oa(F,t[(D2(D)|0)>>2]|0),eL(H,Cw(D)|0),h=t[H>>2]|0,h|0){t[R>>2]=0,t[e>>2]=0,t[n>>2]=0;do Oa(xe,t[(D2(t[h+4>>2]|0)|0)>>2]|0),E=t[e>>2]|0,E>>>0<(t[r>>2]|0)>>>0?(t[E>>2]=t[xe>>2],t[e>>2]=(t[e>>2]|0)+4):PE(R,xe),h=t[h>>2]|0;while((h|0)!=0);tL(o,F,R),ef(R)}t[ce>>2]=t[F>>2],k=xw(D)|0,t[R>>2]=t[ce>>2],hw(R,k,a),j1(H),s=t[s>>2]|0}while((s|0)!=0)}v=ue}function JF(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,pL(e,n,r,o)}function ZF(e,n,r){e=e|0,n=n|0,r=r|0,dL(e,n,r)}function D2(e){return e=e|0,e|0}function $F(e,n,r){e=e|0,n=n|0,r=r|0,aL(e,n,r)}function Cw(e){return e=e|0,e+16|0}function eL(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;if(s=v,v=v+16|0,a=s+8|0,r=s,t[e>>2]=0,o=t[n>>2]|0,t[a>>2]=o,t[r>>2]=e,r=lL(r)|0,o|0){if(o=Bt(12)|0,h=(Rw(a)|0)+4|0,e=t[h+4>>2]|0,n=o+4|0,t[n>>2]=t[h>>2],t[n+4>>2]=e,n=t[t[a>>2]>>2]|0,t[a>>2]=n,!n)e=o;else for(n=o;e=Bt(12)|0,D=(Rw(a)|0)+4|0,E=t[D+4>>2]|0,h=e+4|0,t[h>>2]=t[D>>2],t[h+4>>2]=E,t[n>>2]=e,h=t[t[a>>2]>>2]|0,t[a>>2]=h,h;)n=e;t[e>>2]=t[r>>2],t[r>>2]=o}v=s}function tL(e,n,r){e=e|0,n=n|0,r=r|0,nL(e,n,r)}function xw(e){return e=e|0,e+24|0}function nL(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+32|0,h=o+24|0,a=o+16|0,E=o+12|0,s=o,yl(a),e=jo(e)|0,t[E>>2]=t[n>>2],BE(s,r),t[h>>2]=t[E>>2],rL(e,h,s),ef(s),gl(a),v=o}function rL(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=v,v=v+32|0,h=o+16|0,E=o+12|0,a=o,s=ho(iL()|0)|0,t[E>>2]=t[n>>2],t[h>>2]=t[E>>2],n=Qc(h)|0,t[a>>2]=t[r>>2],h=r+4|0,t[a+4>>2]=t[h>>2],E=r+8|0,t[a+8>>2]=t[E>>2],t[E>>2]=0,t[h>>2]=0,t[r>>2]=0,F0(0,s|0,e|0,n|0,jE(a)|0)|0,ef(a),v=o}function iL(){var e=0;return p[7976]|0||(oL(10720),e=7976,t[e>>2]=1,t[e+4>>2]=0),10720}function oL(e){e=e|0,tu(e,uL()|0,2)}function uL(){return 1732}function lL(e){return e=e|0,t[e>>2]|0}function Rw(e){return e=e|0,t[e>>2]|0}function aL(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;o=v,v=v+32|0,s=o+16|0,a=o+8|0,h=o,yl(a),e=jo(e)|0,t[h>>2]=t[n>>2],r=t[r>>2]|0,t[s>>2]=t[h>>2],Aw(e,s,r),gl(a),v=o}function Aw(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;o=v,v=v+16|0,s=o+4|0,h=o,a=ho(sL()|0)|0,t[h>>2]=t[n>>2],t[s>>2]=t[h>>2],n=Qc(s)|0,F0(0,a|0,e|0,n|0,vw(r)|0)|0,v=o}function sL(){var e=0;return p[7984]|0||(fL(10732),e=7984,t[e>>2]=1,t[e+4>>2]=0),10732}function fL(e){e=e|0,tu(e,cL()|0,2)}function cL(){return 1744}function dL(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;o=v,v=v+32|0,s=o+16|0,a=o+8|0,h=o,yl(a),e=jo(e)|0,t[h>>2]=t[n>>2],r=t[r>>2]|0,t[s>>2]=t[h>>2],Aw(e,s,r),gl(a),v=o}function pL(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0;a=v,v=v+32|0,h=a+16|0,s=a+8|0,E=a,yl(s),e=jo(e)|0,t[E>>2]=t[n>>2],r=p[r>>0]|0,o=p[o>>0]|0,t[h>>2]=t[E>>2],hL(e,h,r,o),gl(s),v=a}function hL(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0;a=v,v=v+16|0,h=a+4|0,E=a,s=ho(vL()|0)|0,t[E>>2]=t[n>>2],t[h>>2]=t[E>>2],n=Qc(h)|0,r=w2(r)|0,mn(0,s|0,e|0,n|0,r|0,w2(o)|0)|0,v=a}function vL(){var e=0;return p[7992]|0||(yL(10744),e=7992,t[e>>2]=1,t[e+4>>2]=0),10744}function w2(e){return e=e|0,mL(e)|0}function mL(e){return e=e|0,e&255|0}function yL(e){e=e|0,tu(e,gL()|0,3)}function gL(){return 1756}function _L(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;switch(H=v,v=v+32|0,E=H+8|0,D=H+4|0,k=H+20|0,R=H,xa(e,0),o=gI(n)|0,t[E>>2]=0,F=E+4|0,t[F>>2]=0,t[E+8>>2]=0,o<<24>>24){case 0:{p[k>>0]=0,EL(D,r,k),gy(e,D)|0,Pl(D);break}case 8:{F=GE(n)|0,p[k>>0]=8,Oa(R,t[F+4>>2]|0),DL(D,r,k,R,F+8|0),gy(e,D)|0,Pl(D);break}case 9:{if(s=GE(n)|0,n=t[s+4>>2]|0,n|0)for(h=E+8|0,a=s+12|0;n=n+-1|0,Oa(D,t[a>>2]|0),o=t[F>>2]|0,o>>>0<(t[h>>2]|0)>>>0?(t[o>>2]=t[D>>2],t[F>>2]=(t[F>>2]|0)+4):PE(E,D),n;)a=a+4|0;p[k>>0]=9,Oa(R,t[s+8>>2]|0),wL(D,r,k,R,E),gy(e,D)|0,Pl(D);break}default:F=GE(n)|0,p[k>>0]=o,Oa(R,t[F+4>>2]|0),SL(D,r,k,R),gy(e,D)|0,Pl(D)}ef(E),v=H}function EL(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0;o=v,v=v+16|0,a=o,yl(a),n=jo(n)|0,PL(e,n,p[r>>0]|0),gl(a),v=o}function gy(e,n){e=e|0,n=n|0;var r=0;return r=t[e>>2]|0,r|0&&vr(r|0),t[e>>2]=t[n>>2],t[n>>2]=0,e|0}function DL(e,n,r,o,a){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0;var s=0,h=0,E=0,D=0;s=v,v=v+32|0,E=s+16|0,h=s+8|0,D=s,yl(h),n=jo(n)|0,r=p[r>>0]|0,t[D>>2]=t[o>>2],a=t[a>>2]|0,t[E>>2]=t[D>>2],NL(e,n,r,E,a),gl(h),v=s}function wL(e,n,r,o,a){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0;var s=0,h=0,E=0,D=0,k=0;s=v,v=v+32|0,D=s+24|0,h=s+16|0,k=s+12|0,E=s,yl(h),n=jo(n)|0,r=p[r>>0]|0,t[k>>2]=t[o>>2],BE(E,a),t[D>>2]=t[k>>2],AL(e,n,r,D,E),ef(E),gl(h),v=s}function SL(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0;a=v,v=v+32|0,h=a+16|0,s=a+8|0,E=a,yl(s),n=jo(n)|0,r=p[r>>0]|0,t[E>>2]=t[o>>2],t[h>>2]=t[E>>2],TL(e,n,r,h),gl(s),v=a}function TL(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0,h=0,E=0;a=v,v=v+16|0,s=a+4|0,E=a,h=ho(CL()|0)|0,r=w2(r)|0,t[E>>2]=t[o>>2],t[s>>2]=t[E>>2],_y(e,F0(0,h|0,n|0,r|0,Qc(s)|0)|0),v=a}function CL(){var e=0;return p[8e3]|0||(xL(10756),e=8e3,t[e>>2]=1,t[e+4>>2]=0),10756}function _y(e,n){e=e|0,n=n|0,xa(e,n)}function xL(e){e=e|0,tu(e,RL()|0,2)}function RL(){return 1772}function AL(e,n,r,o,a){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0;var s=0,h=0,E=0,D=0,k=0;s=v,v=v+32|0,D=s+16|0,k=s+12|0,h=s,E=ho(kL()|0)|0,r=w2(r)|0,t[k>>2]=t[o>>2],t[D>>2]=t[k>>2],o=Qc(D)|0,t[h>>2]=t[a>>2],D=a+4|0,t[h+4>>2]=t[D>>2],k=a+8|0,t[h+8>>2]=t[k>>2],t[k>>2]=0,t[D>>2]=0,t[a>>2]=0,_y(e,mn(0,E|0,n|0,r|0,o|0,jE(h)|0)|0),ef(h),v=s}function kL(){var e=0;return p[8008]|0||(OL(10768),e=8008,t[e>>2]=1,t[e+4>>2]=0),10768}function OL(e){e=e|0,tu(e,ML()|0,3)}function ML(){return 1784}function NL(e,n,r,o,a){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0;var s=0,h=0,E=0,D=0;s=v,v=v+16|0,E=s+4|0,D=s,h=ho(FL()|0)|0,r=w2(r)|0,t[D>>2]=t[o>>2],t[E>>2]=t[D>>2],o=Qc(E)|0,_y(e,mn(0,h|0,n|0,r|0,o|0,UE(a)|0)|0),v=s}function FL(){var e=0;return p[8016]|0||(LL(10780),e=8016,t[e>>2]=1,t[e+4>>2]=0),10780}function LL(e){e=e|0,tu(e,bL()|0,3)}function bL(){return 1800}function PL(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;o=ho(IL()|0)|0,_y(e,ni(0,o|0,n|0,w2(r)|0)|0)}function IL(){var e=0;return p[8024]|0||(BL(10792),e=8024,t[e>>2]=1,t[e+4>>2]=0),10792}function BL(e){e=e|0,tu(e,UL()|0,1)}function UL(){return 1816}function jL(){zL(),qL(),HL()}function zL(){t[2702]=nS(65536)|0}function qL(){fb(10856)}function HL(){WL(10816)}function WL(e){e=e|0,VL(e,5044),YL(e)|0}function VL(e,n){e=e|0,n=n|0;var r=0;r=gw()|0,t[e>>2]=r,ib(r,n),Jf(t[e>>2]|0)}function YL(e){e=e|0;var n=0;return n=t[e>>2]|0,Kc(n,KL()|0),e|0}function KL(){var e=0;return p[8032]|0||(kw(10820),xt(64,10820,le|0)|0,e=8032,t[e>>2]=1,t[e+4>>2]=0),Bn(10820)|0||kw(10820),10820}function kw(e){e=e|0,JL(e),Xc(e,25)}function XL(e){e=e|0,QL(e+24|0)}function QL(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function JL(e){e=e|0;var n=0;n=tr()|0,gn(e,5,18,n,tb()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function ZL(e,n){e=e|0,n=n|0,$L(e,n)}function $L(e,n){e=e|0,n=n|0;var r=0,o=0,a=0;r=v,v=v+16|0,o=r,a=r+4|0,zs(a,n),t[o>>2]=qs(a,n)|0,eb(e,o),v=r}function eb(e,n){e=e|0,n=n|0,Ow(e+4|0,t[n>>2]|0),p[e+8>>0]=1}function Ow(e,n){e=e|0,n=n|0,t[e>>2]=n}function tb(){return 1824}function nb(e){return e=e|0,rb(e)|0}function rb(e){e=e|0;var n=0,r=0,o=0,a=0,s=0,h=0,E=0;return r=v,v=v+16|0,a=r+4|0,h=r,o=ml(8)|0,n=o,E=Bt(4)|0,zs(a,e),Ow(E,qs(a,e)|0),s=n+4|0,t[s>>2]=E,e=Bt(8)|0,s=t[s>>2]|0,t[h>>2]=0,t[a>>2]=t[h>>2],_w(e,s,a),t[o>>2]=e,v=r,n|0}function ml(e){e=e|0;var n=0,r=0;return e=e+7&-8,e>>>0<=32768&&(n=t[2701]|0,e>>>0<=(65536-n|0)>>>0)?(r=(t[2702]|0)+n|0,t[2701]=n+e,e=r):(e=nS(e+8|0)|0,t[e>>2]=t[2703],t[2703]=e,e=e+8|0),e|0}function ib(e,n){e=e|0,n=n|0,t[e>>2]=ob()|0,t[e+4>>2]=ub()|0,t[e+12>>2]=n,t[e+8>>2]=lb()|0,t[e+32>>2]=9}function ob(){return 11744}function ub(){return 1832}function lb(){return my()|0}function ab(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,(qo(o,896)|0)==512?r|0&&(sb(r),$e(r)):n|0&&$e(n)}function sb(e){e=e|0,e=t[e+4>>2]|0,e|0&&Zf(e)}function fb(e){e=e|0,db(e,5052),pb(e)|0,hb(e,5058,26)|0,vb(e,5069,1)|0,mb(e,5077,10)|0,yb(e,5087,19)|0,gb(e,5094,27)|0}function db(e,n){e=e|0,n=n|0;var r=0;r=fI()|0,t[e>>2]=r,cI(r,n),Jf(t[e>>2]|0)}function pb(e){e=e|0;var n=0;return n=t[e>>2]|0,Kc(n,QP()|0),e|0}function hb(e,n,r){return e=e|0,n=n|0,r=r|0,NP(e,ar(n)|0,r,0),e|0}function vb(e,n,r){return e=e|0,n=n|0,r=r|0,yP(e,ar(n)|0,r,0),e|0}function mb(e,n,r){return e=e|0,n=n|0,r=r|0,Xb(e,ar(n)|0,r,0),e|0}function yb(e,n,r){return e=e|0,n=n|0,r=r|0,Lb(e,ar(n)|0,r,0),e|0}function Mw(e,n){e=e|0,n=n|0;var r=0,o=0;e:for(;;){for(r=t[2703]|0;;){if((r|0)==(n|0))break e;if(o=t[r>>2]|0,t[2703]=o,!r)r=o;else break}$e(r)}t[2701]=e}function gb(e,n,r){return e=e|0,n=n|0,r=r|0,_b(e,ar(n)|0,r,0),e|0}function _b(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0;s=t[e>>2]|0,a=zE()|0,e=Eb(r)|0,Nr(s,n,a,e,Db(r,o)|0,o)}function zE(){var e=0,n=0;if(p[8040]|0||(Fw(10860),xt(65,10860,le|0)|0,n=8040,t[n>>2]=1,t[n+4>>2]=0),!(Bn(10860)|0)){e=10860,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Fw(10860)}return 10860}function Eb(e){return e=e|0,e|0}function Db(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;return E=v,v=v+16|0,a=E,s=E+4|0,t[a>>2]=e,D=zE()|0,h=D+24|0,n=en(n,4)|0,t[s>>2]=n,r=D+28|0,o=t[r>>2]|0,o>>>0<(t[D+32>>2]|0)>>>0?(Nw(o,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(wb(h,a,s),n=t[r>>2]|0),v=E,(n-(t[h>>2]|0)>>3)+-1|0}function Nw(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function wb(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0;if(E=v,v=v+32|0,a=E,s=e+4|0,h=((t[s>>2]|0)-(t[e>>2]|0)>>3)+1|0,o=Sb(e)|0,o>>>0>>0)gr(e);else{D=t[e>>2]|0,R=(t[e+8>>2]|0)-D|0,k=R>>2,Tb(a,R>>3>>>0>>1>>>0?k>>>0>>0?h:k:o,(t[s>>2]|0)-D>>3,e+8|0),h=a+8|0,Nw(t[h>>2]|0,t[n>>2]|0,t[r>>2]|0),t[h>>2]=(t[h>>2]|0)+8,Cb(e,a),xb(a),v=E;return}}function Sb(e){return e=e|0,536870911}function Tb(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>536870911)Tn();else{a=Bt(n<<3)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<3)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<3)}function Cb(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>3)<<3)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function xb(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&$e(e)}function Fw(e){e=e|0,kb(e)}function Rb(e){e=e|0,Ab(e+24|0)}function Ab(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function kb(e){e=e|0;var n=0;n=tr()|0,gn(e,1,11,n,Ob()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Ob(){return 1840}function Mb(e,n,r){e=e|0,n=n|0,r=r|0,Fb(t[(Nb(e)|0)>>2]|0,n,r)}function Nb(e){return e=e|0,(t[(zE()|0)+24>>2]|0)+(e<<3)|0}function Fb(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0;o=v,v=v+16|0,s=o+1|0,a=o,zs(s,n),n=qs(s,n)|0,zs(a,r),r=qs(a,r)|0,nf[e&31](n,r),v=o}function Lb(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0;s=t[e>>2]|0,a=qE()|0,e=bb(r)|0,Nr(s,n,a,e,Pb(r,o)|0,o)}function qE(){var e=0,n=0;if(p[8048]|0||(bw(10896),xt(66,10896,le|0)|0,n=8048,t[n>>2]=1,t[n+4>>2]=0),!(Bn(10896)|0)){e=10896,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));bw(10896)}return 10896}function bb(e){return e=e|0,e|0}function Pb(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;return E=v,v=v+16|0,a=E,s=E+4|0,t[a>>2]=e,D=qE()|0,h=D+24|0,n=en(n,4)|0,t[s>>2]=n,r=D+28|0,o=t[r>>2]|0,o>>>0<(t[D+32>>2]|0)>>>0?(Lw(o,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(Ib(h,a,s),n=t[r>>2]|0),v=E,(n-(t[h>>2]|0)>>3)+-1|0}function Lw(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function Ib(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0;if(E=v,v=v+32|0,a=E,s=e+4|0,h=((t[s>>2]|0)-(t[e>>2]|0)>>3)+1|0,o=Bb(e)|0,o>>>0>>0)gr(e);else{D=t[e>>2]|0,R=(t[e+8>>2]|0)-D|0,k=R>>2,Ub(a,R>>3>>>0>>1>>>0?k>>>0>>0?h:k:o,(t[s>>2]|0)-D>>3,e+8|0),h=a+8|0,Lw(t[h>>2]|0,t[n>>2]|0,t[r>>2]|0),t[h>>2]=(t[h>>2]|0)+8,jb(e,a),zb(a),v=E;return}}function Bb(e){return e=e|0,536870911}function Ub(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>536870911)Tn();else{a=Bt(n<<3)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<3)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<3)}function jb(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>3)<<3)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function zb(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&$e(e)}function bw(e){e=e|0,Wb(e)}function qb(e){e=e|0,Hb(e+24|0)}function Hb(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function Wb(e){e=e|0;var n=0;n=tr()|0,gn(e,1,11,n,Vb()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Vb(){return 1852}function Gb(e,n){return e=e|0,n=n|0,Kb(t[(Yb(e)|0)>>2]|0,n)|0}function Yb(e){return e=e|0,(t[(qE()|0)+24>>2]|0)+(e<<3)|0}function Kb(e,n){e=e|0,n=n|0;var r=0,o=0;return r=v,v=v+16|0,o=r,zs(o,n),n=qs(o,n)|0,n=P0(e1[e&31](n)|0)|0,v=r,n|0}function Xb(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0;s=t[e>>2]|0,a=HE()|0,e=Qb(r)|0,Nr(s,n,a,e,Jb(r,o)|0,o)}function HE(){var e=0,n=0;if(p[8056]|0||(Iw(10932),xt(67,10932,le|0)|0,n=8056,t[n>>2]=1,t[n+4>>2]=0),!(Bn(10932)|0)){e=10932,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Iw(10932)}return 10932}function Qb(e){return e=e|0,e|0}function Jb(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;return E=v,v=v+16|0,a=E,s=E+4|0,t[a>>2]=e,D=HE()|0,h=D+24|0,n=en(n,4)|0,t[s>>2]=n,r=D+28|0,o=t[r>>2]|0,o>>>0<(t[D+32>>2]|0)>>>0?(Pw(o,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(Zb(h,a,s),n=t[r>>2]|0),v=E,(n-(t[h>>2]|0)>>3)+-1|0}function Pw(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function Zb(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0;if(E=v,v=v+32|0,a=E,s=e+4|0,h=((t[s>>2]|0)-(t[e>>2]|0)>>3)+1|0,o=$b(e)|0,o>>>0>>0)gr(e);else{D=t[e>>2]|0,R=(t[e+8>>2]|0)-D|0,k=R>>2,eP(a,R>>3>>>0>>1>>>0?k>>>0>>0?h:k:o,(t[s>>2]|0)-D>>3,e+8|0),h=a+8|0,Pw(t[h>>2]|0,t[n>>2]|0,t[r>>2]|0),t[h>>2]=(t[h>>2]|0)+8,tP(e,a),nP(a),v=E;return}}function $b(e){return e=e|0,536870911}function eP(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>536870911)Tn();else{a=Bt(n<<3)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<3)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<3)}function tP(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>3)<<3)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function nP(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&$e(e)}function Iw(e){e=e|0,oP(e)}function rP(e){e=e|0,iP(e+24|0)}function iP(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function oP(e){e=e|0;var n=0;n=tr()|0,gn(e,1,7,n,uP()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function uP(){return 1860}function lP(e,n,r){return e=e|0,n=n|0,r=r|0,sP(t[(aP(e)|0)>>2]|0,n,r)|0}function aP(e){return e=e|0,(t[(HE()|0)+24>>2]|0)+(e<<3)|0}function sP(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0;return o=v,v=v+32|0,h=o+12|0,s=o+8|0,E=o,D=o+16|0,a=o+4|0,fP(D,n),cP(E,D,n),Hl(a,r),r=Wl(a,r)|0,t[h>>2]=t[E>>2],lh[e&15](s,h,r),r=dP(s)|0,Pl(s),Vl(a),v=o,r|0}function fP(e,n){e=e|0,n=n|0}function cP(e,n,r){e=e|0,n=n|0,r=r|0,pP(e,r)}function dP(e){return e=e|0,jo(e)|0}function pP(e,n){e=e|0,n=n|0;var r=0,o=0,a=0;a=v,v=v+16|0,r=a,o=n,o&1?(hP(r,0),di(o|0,r|0)|0,vP(e,r),mP(r)):t[e>>2]=t[n>>2],v=a}function hP(e,n){e=e|0,n=n|0,k1(e,n),t[e+4>>2]=0,p[e+8>>0]=0}function vP(e,n){e=e|0,n=n|0,t[e>>2]=t[n+4>>2]}function mP(e){e=e|0,p[e+8>>0]=0}function yP(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0;s=t[e>>2]|0,a=WE()|0,e=gP(r)|0,Nr(s,n,a,e,_P(r,o)|0,o)}function WE(){var e=0,n=0;if(p[8064]|0||(Uw(10968),xt(68,10968,le|0)|0,n=8064,t[n>>2]=1,t[n+4>>2]=0),!(Bn(10968)|0)){e=10968,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Uw(10968)}return 10968}function gP(e){return e=e|0,e|0}function _P(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;return E=v,v=v+16|0,a=E,s=E+4|0,t[a>>2]=e,D=WE()|0,h=D+24|0,n=en(n,4)|0,t[s>>2]=n,r=D+28|0,o=t[r>>2]|0,o>>>0<(t[D+32>>2]|0)>>>0?(Bw(o,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(EP(h,a,s),n=t[r>>2]|0),v=E,(n-(t[h>>2]|0)>>3)+-1|0}function Bw(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function EP(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0;if(E=v,v=v+32|0,a=E,s=e+4|0,h=((t[s>>2]|0)-(t[e>>2]|0)>>3)+1|0,o=DP(e)|0,o>>>0>>0)gr(e);else{D=t[e>>2]|0,R=(t[e+8>>2]|0)-D|0,k=R>>2,wP(a,R>>3>>>0>>1>>>0?k>>>0>>0?h:k:o,(t[s>>2]|0)-D>>3,e+8|0),h=a+8|0,Bw(t[h>>2]|0,t[n>>2]|0,t[r>>2]|0),t[h>>2]=(t[h>>2]|0)+8,SP(e,a),TP(a),v=E;return}}function DP(e){return e=e|0,536870911}function wP(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>536870911)Tn();else{a=Bt(n<<3)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<3)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<3)}function SP(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>3)<<3)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function TP(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&$e(e)}function Uw(e){e=e|0,RP(e)}function CP(e){e=e|0,xP(e+24|0)}function xP(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function RP(e){e=e|0;var n=0;n=tr()|0,gn(e,1,1,n,AP()|0,5),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function AP(){return 1872}function kP(e,n,r,o,a,s){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0,MP(t[(OP(e)|0)>>2]|0,n,r,o,a,s)}function OP(e){return e=e|0,(t[(WE()|0)+24>>2]|0)+(e<<3)|0}function MP(e,n,r,o,a,s){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0;var h=0,E=0,D=0,k=0,R=0,F=0;h=v,v=v+32|0,E=h+16|0,D=h+12|0,k=h+8|0,R=h+4|0,F=h,Hl(E,n),n=Wl(E,n)|0,Hl(D,r),r=Wl(D,r)|0,Hl(k,o),o=Wl(k,o)|0,Hl(R,a),a=Wl(R,a)|0,Hl(F,s),s=Wl(F,s)|0,lS[e&1](n,r,o,a,s),Vl(F),Vl(R),Vl(k),Vl(D),Vl(E),v=h}function NP(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0;s=t[e>>2]|0,a=VE()|0,e=FP(r)|0,Nr(s,n,a,e,LP(r,o)|0,o)}function VE(){var e=0,n=0;if(p[8072]|0||(zw(11004),xt(69,11004,le|0)|0,n=8072,t[n>>2]=1,t[n+4>>2]=0),!(Bn(11004)|0)){e=11004,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));zw(11004)}return 11004}function FP(e){return e=e|0,e|0}function LP(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0,E=0,D=0;return E=v,v=v+16|0,a=E,s=E+4|0,t[a>>2]=e,D=VE()|0,h=D+24|0,n=en(n,4)|0,t[s>>2]=n,r=D+28|0,o=t[r>>2]|0,o>>>0<(t[D+32>>2]|0)>>>0?(jw(o,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(bP(h,a,s),n=t[r>>2]|0),v=E,(n-(t[h>>2]|0)>>3)+-1|0}function jw(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function bP(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0;if(E=v,v=v+32|0,a=E,s=e+4|0,h=((t[s>>2]|0)-(t[e>>2]|0)>>3)+1|0,o=PP(e)|0,o>>>0>>0)gr(e);else{D=t[e>>2]|0,R=(t[e+8>>2]|0)-D|0,k=R>>2,IP(a,R>>3>>>0>>1>>>0?k>>>0>>0?h:k:o,(t[s>>2]|0)-D>>3,e+8|0),h=a+8|0,jw(t[h>>2]|0,t[n>>2]|0,t[r>>2]|0),t[h>>2]=(t[h>>2]|0)+8,BP(e,a),UP(a),v=E;return}}function PP(e){return e=e|0,536870911}function IP(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0;t[e+12>>2]=0,t[e+16>>2]=o;do if(n)if(n>>>0>536870911)Tn();else{a=Bt(n<<3)|0;break}else a=0;while(0);t[e>>2]=a,o=a+(r<<3)|0,t[e+8>>2]=o,t[e+4>>2]=o,t[e+12>>2]=a+(n<<3)}function BP(e,n){e=e|0,n=n|0;var r=0,o=0,a=0,s=0,h=0;o=t[e>>2]|0,h=e+4|0,s=n+4|0,a=(t[h>>2]|0)-o|0,r=(t[s>>2]|0)+(0-(a>>3)<<3)|0,t[s>>2]=r,(a|0)>0?(bn(r|0,o|0,a|0)|0,o=s,r=t[s>>2]|0):o=s,s=t[e>>2]|0,t[e>>2]=r,t[o>>2]=s,s=n+8|0,a=t[h>>2]|0,t[h>>2]=t[s>>2],t[s>>2]=a,s=e+8|0,h=n+12|0,e=t[s>>2]|0,t[s>>2]=t[h>>2],t[h>>2]=e,t[n>>2]=t[o>>2]}function UP(e){e=e|0;var n=0,r=0,o=0;n=t[e+4>>2]|0,r=e+8|0,o=t[r>>2]|0,(o|0)!=(n|0)&&(t[r>>2]=o+(~((o+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&$e(e)}function zw(e){e=e|0,qP(e)}function jP(e){e=e|0,zP(e+24|0)}function zP(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function qP(e){e=e|0;var n=0;n=tr()|0,gn(e,1,12,n,HP()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function HP(){return 1896}function WP(e,n,r){e=e|0,n=n|0,r=r|0,GP(t[(VP(e)|0)>>2]|0,n,r)}function VP(e){return e=e|0,(t[(VE()|0)+24>>2]|0)+(e<<3)|0}function GP(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0;o=v,v=v+16|0,s=o+4|0,a=o,YP(s,n),n=KP(s,n)|0,Hl(a,r),r=Wl(a,r)|0,nf[e&31](n,r),Vl(a),v=o}function YP(e,n){e=e|0,n=n|0}function KP(e,n){return e=e|0,n=n|0,XP(n)|0}function XP(e){return e=e|0,e|0}function QP(){var e=0;return p[8080]|0||(qw(11040),xt(70,11040,le|0)|0,e=8080,t[e>>2]=1,t[e+4>>2]=0),Bn(11040)|0||qw(11040),11040}function qw(e){e=e|0,$P(e),Xc(e,71)}function JP(e){e=e|0,ZP(e+24|0)}function ZP(e){e=e|0;var n=0,r=0,o=0;r=t[e>>2]|0,o=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-o|0)>>>3)<<3)),$e(r))}function $P(e){e=e|0;var n=0;n=tr()|0,gn(e,5,7,n,rI()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function eI(e){e=e|0,tI(e)}function tI(e){e=e|0,nI(e)}function nI(e){e=e|0,p[e+8>>0]=1}function rI(){return 1936}function iI(){return oI()|0}function oI(){var e=0,n=0,r=0,o=0,a=0,s=0,h=0;return n=v,v=v+16|0,a=n+4|0,h=n,r=ml(8)|0,e=r,s=e+4|0,t[s>>2]=Bt(1)|0,o=Bt(8)|0,s=t[s>>2]|0,t[h>>2]=0,t[a>>2]=t[h>>2],uI(o,s,a),t[r>>2]=o,v=n,e|0}function uI(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,r=Bt(16)|0,t[r+4>>2]=0,t[r+8>>2]=0,t[r>>2]=1916,t[r+12>>2]=n,t[e+4>>2]=r}function lI(e){e=e|0,C2(e),$e(e)}function aI(e){e=e|0,e=t[e+12>>2]|0,e|0&&$e(e)}function sI(e){e=e|0,$e(e)}function fI(){var e=0;return p[8088]|0||(yI(11076),xt(25,11076,le|0)|0,e=8088,t[e>>2]=1,t[e+4>>2]=0),11076}function cI(e,n){e=e|0,n=n|0,t[e>>2]=dI()|0,t[e+4>>2]=pI()|0,t[e+12>>2]=n,t[e+8>>2]=hI()|0,t[e+32>>2]=10}function dI(){return 11745}function pI(){return 1940}function hI(){return $s()|0}function vI(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,(qo(o,896)|0)==512?r|0&&(mI(r),$e(r)):n|0&&$e(n)}function mI(e){e=e|0,e=t[e+4>>2]|0,e|0&&Zf(e)}function yI(e){e=e|0,os(e)}function Oa(e,n){e=e|0,n=n|0,t[e>>2]=n}function GE(e){return e=e|0,t[e>>2]|0}function gI(e){return e=e|0,p[t[e>>2]>>0]|0}function _I(e,n){e=e|0,n=n|0;var r=0,o=0;r=v,v=v+16|0,o=r,t[o>>2]=t[e>>2],EI(n,o)|0,v=r}function EI(e,n){e=e|0,n=n|0;var r=0;return r=DI(t[e>>2]|0,n)|0,n=e+4|0,t[(t[n>>2]|0)+8>>2]=r,t[(t[n>>2]|0)+8>>2]|0}function DI(e,n){e=e|0,n=n|0;var r=0,o=0;return r=v,v=v+16|0,o=r,yl(o),e=jo(e)|0,n=wI(e,t[n>>2]|0)|0,gl(o),v=r,n|0}function yl(e){e=e|0,t[e>>2]=t[2701],t[e+4>>2]=t[2703]}function wI(e,n){e=e|0,n=n|0;var r=0;return r=ho(SI()|0)|0,ni(0,r|0,e|0,UE(n)|0)|0}function gl(e){e=e|0,Mw(t[e>>2]|0,t[e+4>>2]|0)}function SI(){var e=0;return p[8096]|0||(TI(11120),e=8096,t[e>>2]=1,t[e+4>>2]=0),11120}function TI(e){e=e|0,tu(e,CI()|0,1)}function CI(){return 1948}function xI(){RI()}function RI(){var e=0,n=0,r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0,xe=0,ce=0,ue=0;if(ce=v,v=v+16|0,R=ce+4|0,F=ce,hn(65536,10804,t[2702]|0,10812),r=dw()|0,n=t[r>>2]|0,e=t[n>>2]|0,e|0)for(o=t[r+8>>2]|0,r=t[r+4>>2]|0;bu(e|0,O[r>>0]|0|0,p[o>>0]|0),n=n+4|0,e=t[n>>2]|0,e;)o=o+1|0,r=r+1|0;if(e=pw()|0,n=t[e>>2]|0,n|0)do Ko(n|0,t[e+4>>2]|0),e=e+8|0,n=t[e>>2]|0;while((n|0)!=0);Ko(AI()|0,5167),k=E2()|0,e=t[k>>2]|0;e:do if(e|0){do kI(t[e+4>>2]|0),e=t[e>>2]|0;while((e|0)!=0);if(e=t[k>>2]|0,e|0){D=k;do{for(;a=e,e=t[e>>2]|0,a=t[a+4>>2]|0,!!(OI(a)|0);)if(t[F>>2]=D,t[R>>2]=t[F>>2],MI(k,R)|0,!e)break e;if(NI(a),D=t[D>>2]|0,n=Hw(a)|0,s=io()|0,h=v,v=v+((1*(n<<2)|0)+15&-16)|0,E=v,v=v+((1*(n<<2)|0)+15&-16)|0,n=t[(Cw(a)|0)>>2]|0,n|0)for(r=h,o=E;t[r>>2]=t[(D2(t[n+4>>2]|0)|0)>>2],t[o>>2]=t[n+8>>2],n=t[n>>2]|0,n;)r=r+4|0,o=o+4|0;ue=D2(a)|0,n=FI(a)|0,r=Hw(a)|0,o=LI(a)|0,xo(ue|0,n|0,h|0,E|0,r|0,o|0,FE(a)|0),Tr(s|0)}while((e|0)!=0)}}while(0);if(e=t[(LE()|0)>>2]|0,e|0)do ue=e+4|0,k=bE(ue)|0,a=rh(k)|0,s=th(k)|0,h=(nh(k)|0)+1|0,E=Ey(k)|0,D=Ww(ue)|0,k=Bn(k)|0,R=yy(ue)|0,F=YE(ue)|0,ro(0,a|0,s|0,h|0,E|0,D|0,k|0,R|0,F|0,KE(ue)|0),e=t[e>>2]|0;while((e|0)!=0);e=t[(E2()|0)>>2]|0;e:do if(e|0){t:for(;;){if(n=t[e+4>>2]|0,n|0&&(H=t[(D2(n)|0)>>2]|0,xe=t[(xw(n)|0)>>2]|0,xe|0)){r=xe;do{n=r+4|0,o=bE(n)|0;n:do if(o|0)switch(Bn(o)|0){case 0:break t;case 4:case 3:case 2:{E=rh(o)|0,D=th(o)|0,k=(nh(o)|0)+1|0,R=Ey(o)|0,F=Bn(o)|0,ue=yy(n)|0,ro(H|0,E|0,D|0,k|0,R|0,0,F|0,ue|0,YE(n)|0,KE(n)|0);break n}case 1:{h=rh(o)|0,E=th(o)|0,D=(nh(o)|0)+1|0,k=Ey(o)|0,R=Ww(n)|0,F=Bn(o)|0,ue=yy(n)|0,ro(H|0,h|0,E|0,D|0,k|0,R|0,F|0,ue|0,YE(n)|0,KE(n)|0);break n}case 5:{k=rh(o)|0,R=th(o)|0,F=(nh(o)|0)+1|0,ue=Ey(o)|0,ro(H|0,k|0,R|0,F|0,ue|0,bI(o)|0,Bn(o)|0,0,0,0);break n}default:break n}while(0);r=t[r>>2]|0}while((r|0)!=0)}if(e=t[e>>2]|0,!e)break e}Tn()}while(0);xl(),v=ce}function AI(){return 11703}function kI(e){e=e|0,p[e+40>>0]=0}function OI(e){return e=e|0,(p[e+40>>0]|0)!=0|0}function MI(e,n){return e=e|0,n=n|0,n=PI(n)|0,e=t[n>>2]|0,t[n>>2]=t[e>>2],$e(e),t[n>>2]|0}function NI(e){e=e|0,p[e+40>>0]=1}function Hw(e){return e=e|0,t[e+20>>2]|0}function FI(e){return e=e|0,t[e+8>>2]|0}function LI(e){return e=e|0,t[e+32>>2]|0}function Ey(e){return e=e|0,t[e+4>>2]|0}function Ww(e){return e=e|0,t[e+4>>2]|0}function YE(e){return e=e|0,t[e+8>>2]|0}function KE(e){return e=e|0,t[e+16>>2]|0}function bI(e){return e=e|0,t[e+20>>2]|0}function PI(e){return e=e|0,t[e>>2]|0}function Dy(e){e=e|0;var n=0,r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0,xe=0,ce=0,ue=0,Be=0,be=0,Ve=0,me=0,Ce=0,At=0;At=v,v=v+16|0,H=At;do if(e>>>0<245){if(k=e>>>0<11?16:e+11&-8,e=k>>>3,F=t[2783]|0,r=F>>>e,r&3|0)return n=(r&1^1)+e|0,e=11172+(n<<1<<2)|0,r=e+8|0,o=t[r>>2]|0,a=o+8|0,s=t[a>>2]|0,(e|0)==(s|0)?t[2783]=F&~(1<>2]=e,t[r>>2]=s),Ce=n<<3,t[o+4>>2]=Ce|3,Ce=o+Ce+4|0,t[Ce>>2]=t[Ce>>2]|1,Ce=a,v=At,Ce|0;if(R=t[2785]|0,k>>>0>R>>>0){if(r|0)return n=2<>>12&16,n=n>>>h,r=n>>>5&8,n=n>>>r,a=n>>>2&4,n=n>>>a,e=n>>>1&2,n=n>>>e,o=n>>>1&1,o=(r|h|a|e|o)+(n>>>o)|0,n=11172+(o<<1<<2)|0,e=n+8|0,a=t[e>>2]|0,h=a+8|0,r=t[h>>2]|0,(n|0)==(r|0)?(e=F&~(1<>2]=n,t[e>>2]=r,e=F),s=(o<<3)-k|0,t[a+4>>2]=k|3,o=a+k|0,t[o+4>>2]=s|1,t[o+s>>2]=s,R|0&&(a=t[2788]|0,n=R>>>3,r=11172+(n<<1<<2)|0,n=1<>2]|0):(t[2783]=e|n,n=r,e=r+8|0),t[e>>2]=a,t[n+12>>2]=a,t[a+8>>2]=n,t[a+12>>2]=r),t[2785]=s,t[2788]=o,Ce=h,v=At,Ce|0;if(E=t[2784]|0,E){if(r=(E&0-E)+-1|0,h=r>>>12&16,r=r>>>h,s=r>>>5&8,r=r>>>s,D=r>>>2&4,r=r>>>D,o=r>>>1&2,r=r>>>o,e=r>>>1&1,e=t[11436+((s|h|D|o|e)+(r>>>e)<<2)>>2]|0,r=(t[e+4>>2]&-8)-k|0,o=t[e+16+(((t[e+16>>2]|0)==0&1)<<2)>>2]|0,!o)D=e,s=r;else{do h=(t[o+4>>2]&-8)-k|0,D=h>>>0>>0,r=D?h:r,e=D?o:e,o=t[o+16+(((t[o+16>>2]|0)==0&1)<<2)>>2]|0;while((o|0)!=0);D=e,s=r}if(h=D+k|0,D>>>0>>0){a=t[D+24>>2]|0,n=t[D+12>>2]|0;do if((n|0)==(D|0)){if(e=D+20|0,n=t[e>>2]|0,!n&&(e=D+16|0,n=t[e>>2]|0,!n)){r=0;break}for(;;){if(r=n+20|0,o=t[r>>2]|0,o|0){n=o,e=r;continue}if(r=n+16|0,o=t[r>>2]|0,o)n=o,e=r;else break}t[e>>2]=0,r=n}else r=t[D+8>>2]|0,t[r+12>>2]=n,t[n+8>>2]=r,r=n;while(0);do if(a|0){if(n=t[D+28>>2]|0,e=11436+(n<<2)|0,(D|0)==(t[e>>2]|0)){if(t[e>>2]=r,!r){t[2784]=E&~(1<>2]|0)!=(D|0)&1)<<2)>>2]=r,!r)break;t[r+24>>2]=a,n=t[D+16>>2]|0,n|0&&(t[r+16>>2]=n,t[n+24>>2]=r),n=t[D+20>>2]|0,n|0&&(t[r+20>>2]=n,t[n+24>>2]=r)}while(0);return s>>>0<16?(Ce=s+k|0,t[D+4>>2]=Ce|3,Ce=D+Ce+4|0,t[Ce>>2]=t[Ce>>2]|1):(t[D+4>>2]=k|3,t[h+4>>2]=s|1,t[h+s>>2]=s,R|0&&(o=t[2788]|0,n=R>>>3,r=11172+(n<<1<<2)|0,n=1<>2]|0):(t[2783]=F|n,n=r,e=r+8|0),t[e>>2]=o,t[n+12>>2]=o,t[o+8>>2]=n,t[o+12>>2]=r),t[2785]=s,t[2788]=h),Ce=D+8|0,v=At,Ce|0}else F=k}else F=k}else F=k}else if(e>>>0<=4294967231)if(e=e+11|0,k=e&-8,D=t[2784]|0,D){o=0-k|0,e=e>>>8,e?k>>>0>16777215?E=31:(F=(e+1048320|0)>>>16&8,me=e<>>16&4,me=me<>>16&2,E=14-(R|F|E)+(me<>>15)|0,E=k>>>(E+7|0)&1|E<<1):E=0,r=t[11436+(E<<2)>>2]|0;e:do if(!r)r=0,e=0,me=57;else for(e=0,h=k<<((E|0)==31?0:25-(E>>>1)|0),s=0;;){if(a=(t[r+4>>2]&-8)-k|0,a>>>0>>0)if(a)e=r,o=a;else{e=r,o=0,a=r,me=61;break e}if(a=t[r+20>>2]|0,r=t[r+16+(h>>>31<<2)>>2]|0,s=(a|0)==0|(a|0)==(r|0)?s:a,a=(r|0)==0,a){r=s,me=57;break}else h=h<<((a^1)&1)}while(0);if((me|0)==57){if((r|0)==0&(e|0)==0){if(e=2<>>12&16,F=F>>>h,s=F>>>5&8,F=F>>>s,E=F>>>2&4,F=F>>>E,R=F>>>1&2,F=F>>>R,r=F>>>1&1,e=0,r=t[11436+((s|h|E|R|r)+(F>>>r)<<2)>>2]|0}r?(a=r,me=61):(E=e,h=o)}if((me|0)==61)for(;;)if(me=0,r=(t[a+4>>2]&-8)-k|0,F=r>>>0>>0,r=F?r:o,e=F?a:e,a=t[a+16+(((t[a+16>>2]|0)==0&1)<<2)>>2]|0,a)o=r,me=61;else{E=e,h=r;break}if((E|0)!=0&&h>>>0<((t[2785]|0)-k|0)>>>0){if(s=E+k|0,E>>>0>=s>>>0)return Ce=0,v=At,Ce|0;a=t[E+24>>2]|0,n=t[E+12>>2]|0;do if((n|0)==(E|0)){if(e=E+20|0,n=t[e>>2]|0,!n&&(e=E+16|0,n=t[e>>2]|0,!n)){n=0;break}for(;;){if(r=n+20|0,o=t[r>>2]|0,o|0){n=o,e=r;continue}if(r=n+16|0,o=t[r>>2]|0,o)n=o,e=r;else break}t[e>>2]=0}else Ce=t[E+8>>2]|0,t[Ce+12>>2]=n,t[n+8>>2]=Ce;while(0);do if(a){if(e=t[E+28>>2]|0,r=11436+(e<<2)|0,(E|0)==(t[r>>2]|0)){if(t[r>>2]=n,!n){o=D&~(1<>2]|0)!=(E|0)&1)<<2)>>2]=n,!n){o=D;break}t[n+24>>2]=a,e=t[E+16>>2]|0,e|0&&(t[n+16>>2]=e,t[e+24>>2]=n),e=t[E+20>>2]|0,e&&(t[n+20>>2]=e,t[e+24>>2]=n),o=D}else o=D;while(0);do if(h>>>0>=16){if(t[E+4>>2]=k|3,t[s+4>>2]=h|1,t[s+h>>2]=h,n=h>>>3,h>>>0<256){r=11172+(n<<1<<2)|0,e=t[2783]|0,n=1<>2]|0):(t[2783]=e|n,n=r,e=r+8|0),t[e>>2]=s,t[n+12>>2]=s,t[s+8>>2]=n,t[s+12>>2]=r;break}if(n=h>>>8,n?h>>>0>16777215?n=31:(me=(n+1048320|0)>>>16&8,Ce=n<>>16&4,Ce=Ce<>>16&2,n=14-(Ve|me|n)+(Ce<>>15)|0,n=h>>>(n+7|0)&1|n<<1):n=0,r=11436+(n<<2)|0,t[s+28>>2]=n,e=s+16|0,t[e+4>>2]=0,t[e>>2]=0,e=1<>2]=s,t[s+24>>2]=r,t[s+12>>2]=s,t[s+8>>2]=s;break}for(e=h<<((n|0)==31?0:25-(n>>>1)|0),r=t[r>>2]|0;;){if((t[r+4>>2]&-8|0)==(h|0)){me=97;break}if(o=r+16+(e>>>31<<2)|0,n=t[o>>2]|0,n)e=e<<1,r=n;else{me=96;break}}if((me|0)==96){t[o>>2]=s,t[s+24>>2]=r,t[s+12>>2]=s,t[s+8>>2]=s;break}else if((me|0)==97){me=r+8|0,Ce=t[me>>2]|0,t[Ce+12>>2]=s,t[me>>2]=s,t[s+8>>2]=Ce,t[s+12>>2]=r,t[s+24>>2]=0;break}}else Ce=h+k|0,t[E+4>>2]=Ce|3,Ce=E+Ce+4|0,t[Ce>>2]=t[Ce>>2]|1;while(0);return Ce=E+8|0,v=At,Ce|0}else F=k}else F=k;else F=-1;while(0);if(r=t[2785]|0,r>>>0>=F>>>0)return n=r-F|0,e=t[2788]|0,n>>>0>15?(Ce=e+F|0,t[2788]=Ce,t[2785]=n,t[Ce+4>>2]=n|1,t[Ce+n>>2]=n,t[e+4>>2]=F|3):(t[2785]=0,t[2788]=0,t[e+4>>2]=r|3,Ce=e+r+4|0,t[Ce>>2]=t[Ce>>2]|1),Ce=e+8|0,v=At,Ce|0;if(h=t[2786]|0,h>>>0>F>>>0)return Ve=h-F|0,t[2786]=Ve,Ce=t[2789]|0,me=Ce+F|0,t[2789]=me,t[me+4>>2]=Ve|1,t[Ce+4>>2]=F|3,Ce=Ce+8|0,v=At,Ce|0;if(t[2901]|0?e=t[2903]|0:(t[2903]=4096,t[2902]=4096,t[2904]=-1,t[2905]=-1,t[2906]=0,t[2894]=0,e=H&-16^1431655768,t[H>>2]=e,t[2901]=e,e=4096),E=F+48|0,D=F+47|0,s=e+D|0,a=0-e|0,k=s&a,k>>>0<=F>>>0||(e=t[2893]|0,e|0&&(R=t[2891]|0,H=R+k|0,H>>>0<=R>>>0|H>>>0>e>>>0)))return Ce=0,v=At,Ce|0;e:do if(t[2894]&4)n=0,me=133;else{r=t[2789]|0;t:do if(r){for(o=11580;e=t[o>>2]|0,!(e>>>0<=r>>>0&&(ue=o+4|0,(e+(t[ue>>2]|0)|0)>>>0>r>>>0));)if(e=t[o+8>>2]|0,e)o=e;else{me=118;break t}if(n=s-h&a,n>>>0<2147483647)if(e=$f(n|0)|0,(e|0)==((t[o>>2]|0)+(t[ue>>2]|0)|0)){if((e|0)!=-1){h=n,s=e,me=135;break e}}else o=e,me=126;else n=0}else me=118;while(0);do if((me|0)==118)if(r=$f(0)|0,(r|0)!=-1&&(n=r,xe=t[2902]|0,ce=xe+-1|0,n=((ce&n|0)==0?0:(ce+n&0-xe)-n|0)+k|0,xe=t[2891]|0,ce=n+xe|0,n>>>0>F>>>0&n>>>0<2147483647)){if(ue=t[2893]|0,ue|0&&ce>>>0<=xe>>>0|ce>>>0>ue>>>0){n=0;break}if(e=$f(n|0)|0,(e|0)==(r|0)){h=n,s=r,me=135;break e}else o=e,me=126}else n=0;while(0);do if((me|0)==126){if(r=0-n|0,!(E>>>0>n>>>0&(n>>>0<2147483647&(o|0)!=-1)))if((o|0)==-1){n=0;break}else{h=n,s=o,me=135;break e}if(e=t[2903]|0,e=D-n+e&0-e,e>>>0>=2147483647){h=n,s=o,me=135;break e}if(($f(e|0)|0)==-1){$f(r|0)|0,n=0;break}else{h=e+n|0,s=o,me=135;break e}}while(0);t[2894]=t[2894]|4,me=133}while(0);if((me|0)==133&&k>>>0<2147483647&&(Ve=$f(k|0)|0,ue=$f(0)|0,Be=ue-Ve|0,be=Be>>>0>(F+40|0)>>>0,!((Ve|0)==-1|be^1|Ve>>>0>>0&((Ve|0)!=-1&(ue|0)!=-1)^1))&&(h=be?Be:n,s=Ve,me=135),(me|0)==135){n=(t[2891]|0)+h|0,t[2891]=n,n>>>0>(t[2892]|0)>>>0&&(t[2892]=n),D=t[2789]|0;do if(D){for(n=11580;;){if(e=t[n>>2]|0,r=n+4|0,o=t[r>>2]|0,(s|0)==(e+o|0)){me=145;break}if(a=t[n+8>>2]|0,a)n=a;else break}if((me|0)==145&&(t[n+12>>2]&8|0)==0&&D>>>0>>0&D>>>0>=e>>>0){t[r>>2]=o+h,Ce=D+8|0,Ce=(Ce&7|0)==0?0:0-Ce&7,me=D+Ce|0,Ce=(t[2786]|0)+(h-Ce)|0,t[2789]=me,t[2786]=Ce,t[me+4>>2]=Ce|1,t[me+Ce+4>>2]=40,t[2790]=t[2905];break}for(s>>>0<(t[2787]|0)>>>0&&(t[2787]=s),r=s+h|0,n=11580;;){if((t[n>>2]|0)==(r|0)){me=153;break}if(e=t[n+8>>2]|0,e)n=e;else break}if((me|0)==153&&(t[n+12>>2]&8|0)==0){t[n>>2]=s,R=n+4|0,t[R>>2]=(t[R>>2]|0)+h,R=s+8|0,R=s+((R&7|0)==0?0:0-R&7)|0,n=r+8|0,n=r+((n&7|0)==0?0:0-n&7)|0,k=R+F|0,E=n-R-F|0,t[R+4>>2]=F|3;do if((n|0)!=(D|0)){if((n|0)==(t[2788]|0)){Ce=(t[2785]|0)+E|0,t[2785]=Ce,t[2788]=k,t[k+4>>2]=Ce|1,t[k+Ce>>2]=Ce;break}if(e=t[n+4>>2]|0,(e&3|0)==1){h=e&-8,o=e>>>3;e:do if(e>>>0<256)if(e=t[n+8>>2]|0,r=t[n+12>>2]|0,(r|0)==(e|0)){t[2783]=t[2783]&~(1<>2]=r,t[r+8>>2]=e;break}else{s=t[n+24>>2]|0,e=t[n+12>>2]|0;do if((e|0)==(n|0)){if(o=n+16|0,r=o+4|0,e=t[r>>2]|0,!e)if(e=t[o>>2]|0,e)r=o;else{e=0;break}for(;;){if(o=e+20|0,a=t[o>>2]|0,a|0){e=a,r=o;continue}if(o=e+16|0,a=t[o>>2]|0,a)e=a,r=o;else break}t[r>>2]=0}else Ce=t[n+8>>2]|0,t[Ce+12>>2]=e,t[e+8>>2]=Ce;while(0);if(!s)break;r=t[n+28>>2]|0,o=11436+(r<<2)|0;do if((n|0)!=(t[o>>2]|0)){if(t[s+16+(((t[s+16>>2]|0)!=(n|0)&1)<<2)>>2]=e,!e)break e}else{if(t[o>>2]=e,e|0)break;t[2784]=t[2784]&~(1<>2]=s,r=n+16|0,o=t[r>>2]|0,o|0&&(t[e+16>>2]=o,t[o+24>>2]=e),r=t[r+4>>2]|0,!r)break;t[e+20>>2]=r,t[r+24>>2]=e}while(0);n=n+h|0,a=h+E|0}else a=E;if(n=n+4|0,t[n>>2]=t[n>>2]&-2,t[k+4>>2]=a|1,t[k+a>>2]=a,n=a>>>3,a>>>0<256){r=11172+(n<<1<<2)|0,e=t[2783]|0,n=1<>2]|0):(t[2783]=e|n,n=r,e=r+8|0),t[e>>2]=k,t[n+12>>2]=k,t[k+8>>2]=n,t[k+12>>2]=r;break}n=a>>>8;do if(!n)n=0;else{if(a>>>0>16777215){n=31;break}me=(n+1048320|0)>>>16&8,Ce=n<>>16&4,Ce=Ce<>>16&2,n=14-(Ve|me|n)+(Ce<>>15)|0,n=a>>>(n+7|0)&1|n<<1}while(0);if(o=11436+(n<<2)|0,t[k+28>>2]=n,e=k+16|0,t[e+4>>2]=0,t[e>>2]=0,e=t[2784]|0,r=1<>2]=k,t[k+24>>2]=o,t[k+12>>2]=k,t[k+8>>2]=k;break}for(e=a<<((n|0)==31?0:25-(n>>>1)|0),r=t[o>>2]|0;;){if((t[r+4>>2]&-8|0)==(a|0)){me=194;break}if(o=r+16+(e>>>31<<2)|0,n=t[o>>2]|0,n)e=e<<1,r=n;else{me=193;break}}if((me|0)==193){t[o>>2]=k,t[k+24>>2]=r,t[k+12>>2]=k,t[k+8>>2]=k;break}else if((me|0)==194){me=r+8|0,Ce=t[me>>2]|0,t[Ce+12>>2]=k,t[me>>2]=k,t[k+8>>2]=Ce,t[k+12>>2]=r,t[k+24>>2]=0;break}}else Ce=(t[2786]|0)+E|0,t[2786]=Ce,t[2789]=k,t[k+4>>2]=Ce|1;while(0);return Ce=R+8|0,v=At,Ce|0}for(n=11580;e=t[n>>2]|0,!(e>>>0<=D>>>0&&(Ce=e+(t[n+4>>2]|0)|0,Ce>>>0>D>>>0));)n=t[n+8>>2]|0;a=Ce+-47|0,e=a+8|0,e=a+((e&7|0)==0?0:0-e&7)|0,a=D+16|0,e=e>>>0>>0?D:e,n=e+8|0,r=s+8|0,r=(r&7|0)==0?0:0-r&7,me=s+r|0,r=h+-40-r|0,t[2789]=me,t[2786]=r,t[me+4>>2]=r|1,t[me+r+4>>2]=40,t[2790]=t[2905],r=e+4|0,t[r>>2]=27,t[n>>2]=t[2895],t[n+4>>2]=t[2896],t[n+8>>2]=t[2897],t[n+12>>2]=t[2898],t[2895]=s,t[2896]=h,t[2898]=0,t[2897]=n,n=e+24|0;do me=n,n=n+4|0,t[n>>2]=7;while((me+8|0)>>>0>>0);if((e|0)!=(D|0)){if(s=e-D|0,t[r>>2]=t[r>>2]&-2,t[D+4>>2]=s|1,t[e>>2]=s,n=s>>>3,s>>>0<256){r=11172+(n<<1<<2)|0,e=t[2783]|0,n=1<>2]|0):(t[2783]=e|n,n=r,e=r+8|0),t[e>>2]=D,t[n+12>>2]=D,t[D+8>>2]=n,t[D+12>>2]=r;break}if(n=s>>>8,n?s>>>0>16777215?r=31:(me=(n+1048320|0)>>>16&8,Ce=n<>>16&4,Ce=Ce<>>16&2,r=14-(Ve|me|r)+(Ce<>>15)|0,r=s>>>(r+7|0)&1|r<<1):r=0,o=11436+(r<<2)|0,t[D+28>>2]=r,t[D+20>>2]=0,t[a>>2]=0,n=t[2784]|0,e=1<>2]=D,t[D+24>>2]=o,t[D+12>>2]=D,t[D+8>>2]=D;break}for(e=s<<((r|0)==31?0:25-(r>>>1)|0),r=t[o>>2]|0;;){if((t[r+4>>2]&-8|0)==(s|0)){me=216;break}if(o=r+16+(e>>>31<<2)|0,n=t[o>>2]|0,n)e=e<<1,r=n;else{me=215;break}}if((me|0)==215){t[o>>2]=D,t[D+24>>2]=r,t[D+12>>2]=D,t[D+8>>2]=D;break}else if((me|0)==216){me=r+8|0,Ce=t[me>>2]|0,t[Ce+12>>2]=D,t[me>>2]=D,t[D+8>>2]=Ce,t[D+12>>2]=r,t[D+24>>2]=0;break}}}else{Ce=t[2787]|0,(Ce|0)==0|s>>>0>>0&&(t[2787]=s),t[2895]=s,t[2896]=h,t[2898]=0,t[2792]=t[2901],t[2791]=-1,n=0;do Ce=11172+(n<<1<<2)|0,t[Ce+12>>2]=Ce,t[Ce+8>>2]=Ce,n=n+1|0;while((n|0)!=32);Ce=s+8|0,Ce=(Ce&7|0)==0?0:0-Ce&7,me=s+Ce|0,Ce=h+-40-Ce|0,t[2789]=me,t[2786]=Ce,t[me+4>>2]=Ce|1,t[me+Ce+4>>2]=40,t[2790]=t[2905]}while(0);if(n=t[2786]|0,n>>>0>F>>>0)return Ve=n-F|0,t[2786]=Ve,Ce=t[2789]|0,me=Ce+F|0,t[2789]=me,t[me+4>>2]=Ve|1,t[Ce+4>>2]=F|3,Ce=Ce+8|0,v=At,Ce|0}return t[(S2()|0)>>2]=12,Ce=0,v=At,Ce|0}function wy(e){e=e|0;var n=0,r=0,o=0,a=0,s=0,h=0,E=0,D=0;if(!!e){r=e+-8|0,a=t[2787]|0,e=t[e+-4>>2]|0,n=e&-8,D=r+n|0;do if(e&1)E=r,h=r;else{if(o=t[r>>2]|0,!(e&3)||(h=r+(0-o)|0,s=o+n|0,h>>>0>>0))return;if((h|0)==(t[2788]|0)){if(e=D+4|0,n=t[e>>2]|0,(n&3|0)!=3){E=h,n=s;break}t[2785]=s,t[e>>2]=n&-2,t[h+4>>2]=s|1,t[h+s>>2]=s;return}if(r=o>>>3,o>>>0<256)if(e=t[h+8>>2]|0,n=t[h+12>>2]|0,(n|0)==(e|0)){t[2783]=t[2783]&~(1<>2]=n,t[n+8>>2]=e,E=h,n=s;break}a=t[h+24>>2]|0,e=t[h+12>>2]|0;do if((e|0)==(h|0)){if(r=h+16|0,n=r+4|0,e=t[n>>2]|0,!e)if(e=t[r>>2]|0,e)n=r;else{e=0;break}for(;;){if(r=e+20|0,o=t[r>>2]|0,o|0){e=o,n=r;continue}if(r=e+16|0,o=t[r>>2]|0,o)e=o,n=r;else break}t[n>>2]=0}else E=t[h+8>>2]|0,t[E+12>>2]=e,t[e+8>>2]=E;while(0);if(a){if(n=t[h+28>>2]|0,r=11436+(n<<2)|0,(h|0)==(t[r>>2]|0)){if(t[r>>2]=e,!e){t[2784]=t[2784]&~(1<>2]|0)!=(h|0)&1)<<2)>>2]=e,!e){E=h,n=s;break}t[e+24>>2]=a,n=h+16|0,r=t[n>>2]|0,r|0&&(t[e+16>>2]=r,t[r+24>>2]=e),n=t[n+4>>2]|0,n?(t[e+20>>2]=n,t[n+24>>2]=e,E=h,n=s):(E=h,n=s)}else E=h,n=s}while(0);if(!(h>>>0>=D>>>0)&&(e=D+4|0,o=t[e>>2]|0,!!(o&1))){if(o&2)t[e>>2]=o&-2,t[E+4>>2]=n|1,t[h+n>>2]=n,a=n;else{if(e=t[2788]|0,(D|0)==(t[2789]|0)){if(D=(t[2786]|0)+n|0,t[2786]=D,t[2789]=E,t[E+4>>2]=D|1,(E|0)!=(e|0))return;t[2788]=0,t[2785]=0;return}if((D|0)==(e|0)){D=(t[2785]|0)+n|0,t[2785]=D,t[2788]=h,t[E+4>>2]=D|1,t[h+D>>2]=D;return}a=(o&-8)+n|0,r=o>>>3;do if(o>>>0<256)if(n=t[D+8>>2]|0,e=t[D+12>>2]|0,(e|0)==(n|0)){t[2783]=t[2783]&~(1<>2]=e,t[e+8>>2]=n;break}else{s=t[D+24>>2]|0,e=t[D+12>>2]|0;do if((e|0)==(D|0)){if(r=D+16|0,n=r+4|0,e=t[n>>2]|0,!e)if(e=t[r>>2]|0,e)n=r;else{r=0;break}for(;;){if(r=e+20|0,o=t[r>>2]|0,o|0){e=o,n=r;continue}if(r=e+16|0,o=t[r>>2]|0,o)e=o,n=r;else break}t[n>>2]=0,r=e}else r=t[D+8>>2]|0,t[r+12>>2]=e,t[e+8>>2]=r,r=e;while(0);if(s|0){if(e=t[D+28>>2]|0,n=11436+(e<<2)|0,(D|0)==(t[n>>2]|0)){if(t[n>>2]=r,!r){t[2784]=t[2784]&~(1<>2]|0)!=(D|0)&1)<<2)>>2]=r,!r)break;t[r+24>>2]=s,e=D+16|0,n=t[e>>2]|0,n|0&&(t[r+16>>2]=n,t[n+24>>2]=r),e=t[e+4>>2]|0,e|0&&(t[r+20>>2]=e,t[e+24>>2]=r)}}while(0);if(t[E+4>>2]=a|1,t[h+a>>2]=a,(E|0)==(t[2788]|0)){t[2785]=a;return}}if(e=a>>>3,a>>>0<256){r=11172+(e<<1<<2)|0,n=t[2783]|0,e=1<>2]|0):(t[2783]=n|e,e=r,n=r+8|0),t[n>>2]=E,t[e+12>>2]=E,t[E+8>>2]=e,t[E+12>>2]=r;return}e=a>>>8,e?a>>>0>16777215?e=31:(h=(e+1048320|0)>>>16&8,D=e<>>16&4,D=D<>>16&2,e=14-(s|h|e)+(D<>>15)|0,e=a>>>(e+7|0)&1|e<<1):e=0,o=11436+(e<<2)|0,t[E+28>>2]=e,t[E+20>>2]=0,t[E+16>>2]=0,n=t[2784]|0,r=1<>>1)|0),r=t[o>>2]|0;;){if((t[r+4>>2]&-8|0)==(a|0)){e=73;break}if(o=r+16+(n>>>31<<2)|0,e=t[o>>2]|0,e)n=n<<1,r=e;else{e=72;break}}if((e|0)==72){t[o>>2]=E,t[E+24>>2]=r,t[E+12>>2]=E,t[E+8>>2]=E;break}else if((e|0)==73){h=r+8|0,D=t[h>>2]|0,t[D+12>>2]=E,t[h>>2]=E,t[E+8>>2]=D,t[E+12>>2]=r,t[E+24>>2]=0;break}}else t[2784]=n|r,t[o>>2]=E,t[E+24>>2]=o,t[E+12>>2]=E,t[E+8>>2]=E;while(0);if(D=(t[2791]|0)+-1|0,t[2791]=D,!D)e=11588;else return;for(;e=t[e>>2]|0,e;)e=e+8|0;t[2791]=-1}}}function II(){return 11628}function BI(e){e=e|0;var n=0,r=0;return n=v,v=v+16|0,r=n,t[r>>2]=zI(t[e+60>>2]|0)|0,e=Sy(bi(6,r|0)|0)|0,v=n,e|0}function Vw(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0,xe=0;F=v,v=v+48|0,k=F+16|0,s=F,a=F+32|0,E=e+28|0,o=t[E>>2]|0,t[a>>2]=o,D=e+20|0,o=(t[D>>2]|0)-o|0,t[a+4>>2]=o,t[a+8>>2]=n,t[a+12>>2]=r,o=o+r|0,h=e+60|0,t[s>>2]=t[h>>2],t[s+4>>2]=a,t[s+8>>2]=2,s=Sy(T0(146,s|0)|0)|0;e:do if((o|0)!=(s|0)){for(n=2;!((s|0)<0);)if(o=o-s|0,xe=t[a+4>>2]|0,H=s>>>0>xe>>>0,a=H?a+8|0:a,n=(H<<31>>31)+n|0,xe=s-(H?xe:0)|0,t[a>>2]=(t[a>>2]|0)+xe,H=a+4|0,t[H>>2]=(t[H>>2]|0)-xe,t[k>>2]=t[h>>2],t[k+4>>2]=a,t[k+8>>2]=n,s=Sy(T0(146,k|0)|0)|0,(o|0)==(s|0)){R=3;break e}t[e+16>>2]=0,t[E>>2]=0,t[D>>2]=0,t[e>>2]=t[e>>2]|32,(n|0)==2?r=0:r=r-(t[a+4>>2]|0)|0}else R=3;while(0);return(R|0)==3&&(xe=t[e+44>>2]|0,t[e+16>>2]=xe+(t[e+48>>2]|0),t[E>>2]=xe,t[D>>2]=xe),v=F,r|0}function UI(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0;return a=v,v=v+32|0,s=a,o=a+20|0,t[s>>2]=t[e+60>>2],t[s+4>>2]=0,t[s+8>>2]=n,t[s+12>>2]=o,t[s+16>>2]=r,(Sy(Xr(140,s|0)|0)|0)<0?(t[o>>2]=-1,e=-1):e=t[o>>2]|0,v=a,e|0}function Sy(e){return e=e|0,e>>>0>4294963200&&(t[(S2()|0)>>2]=0-e,e=-1),e|0}function S2(){return(jI()|0)+64|0}function jI(){return XE()|0}function XE(){return 2084}function zI(e){return e=e|0,e|0}function qI(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0;return a=v,v=v+32|0,o=a,t[e+36>>2]=1,(t[e>>2]&64|0)==0&&(t[o>>2]=t[e+60>>2],t[o+4>>2]=21523,t[o+8>>2]=a+16,Ro(54,o|0)|0)&&(p[e+75>>0]=-1),o=Vw(e,n,r)|0,v=a,o|0}function Gw(e,n){e=e|0,n=n|0;var r=0,o=0;if(r=p[e>>0]|0,o=p[n>>0]|0,r<<24>>24==0||r<<24>>24!=o<<24>>24)e=o;else{do e=e+1|0,n=n+1|0,r=p[e>>0]|0,o=p[n>>0]|0;while(!(r<<24>>24==0||r<<24>>24!=o<<24>>24));e=o}return(r&255)-(e&255)|0}function HI(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0;e:do if(!r)e=0;else{for(;o=p[e>>0]|0,a=p[n>>0]|0,o<<24>>24==a<<24>>24;)if(r=r+-1|0,r)e=e+1|0,n=n+1|0;else{e=0;break e}e=(o&255)-(a&255)|0}while(0);return e|0}function Yw(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0,xe=0,ce=0,ue=0;ue=v,v=v+224|0,R=ue+120|0,F=ue+80|0,xe=ue,ce=ue+136|0,o=F,a=o+40|0;do t[o>>2]=0,o=o+4|0;while((o|0)<(a|0));return t[R>>2]=t[r>>2],(QE(0,n,R,xe,F)|0)<0?r=-1:((t[e+76>>2]|0)>-1?H=WI(e)|0:H=0,r=t[e>>2]|0,k=r&32,(p[e+74>>0]|0)<1&&(t[e>>2]=r&-33),o=e+48|0,t[o>>2]|0?r=QE(e,n,R,xe,F)|0:(a=e+44|0,s=t[a>>2]|0,t[a>>2]=ce,h=e+28|0,t[h>>2]=ce,E=e+20|0,t[E>>2]=ce,t[o>>2]=80,D=e+16|0,t[D>>2]=ce+80,r=QE(e,n,R,xe,F)|0,s&&(Ry[t[e+36>>2]&7](e,0,0)|0,r=(t[E>>2]|0)==0?-1:r,t[a>>2]=s,t[o>>2]=0,t[D>>2]=0,t[h>>2]=0,t[E>>2]=0)),o=t[e>>2]|0,t[e>>2]=o|k,H|0&&VI(e),r=(o&32|0)==0?r:-1),v=ue,r|0}function QE(e,n,r,o,a){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0;var s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0,xe=0,ce=0,ue=0,Be=0,be=0,Ve=0,me=0,Ce=0,At=0,Zn=0,on=0,Yt=0,Pn=0,Qn=0,tn=0;tn=v,v=v+64|0,on=tn+16|0,Yt=tn,At=tn+24|0,Pn=tn+8|0,Qn=tn+20|0,t[on>>2]=n,Ve=(e|0)!=0,me=At+40|0,Ce=me,At=At+39|0,Zn=Pn+4|0,h=0,s=0,R=0;e:for(;;){do if((s|0)>-1)if((h|0)>(2147483647-s|0)){t[(S2()|0)>>2]=75,s=-1;break}else{s=h+s|0;break}while(0);if(h=p[n>>0]|0,h<<24>>24)E=n;else{be=87;break}t:for(;;){switch(h<<24>>24){case 37:{h=E,be=9;break t}case 0:{h=E;break t}default:}Be=E+1|0,t[on>>2]=Be,h=p[Be>>0]|0,E=Be}t:do if((be|0)==9)for(;;){if(be=0,(p[E+1>>0]|0)!=37)break t;if(h=h+1|0,E=E+2|0,t[on>>2]=E,(p[E>>0]|0)==37)be=9;else break}while(0);if(h=h-n|0,Ve&&$0(e,n,h),h|0){n=E;continue}D=E+1|0,h=(p[D>>0]|0)+-48|0,h>>>0<10?(Be=(p[E+2>>0]|0)==36,ue=Be?h:-1,R=Be?1:R,D=Be?E+3|0:D):ue=-1,t[on>>2]=D,h=p[D>>0]|0,E=(h<<24>>24)+-32|0;t:do if(E>>>0<32)for(k=0,F=h;;){if(h=1<>2]=D,h=p[D>>0]|0,E=(h<<24>>24)+-32|0,E>>>0>=32)break;F=h}else k=0;while(0);if(h<<24>>24==42){if(E=D+1|0,h=(p[E>>0]|0)+-48|0,h>>>0<10&&(p[D+2>>0]|0)==36)t[a+(h<<2)>>2]=10,h=t[o+((p[E>>0]|0)+-48<<3)>>2]|0,R=1,D=D+3|0;else{if(R|0){s=-1;break}Ve?(R=(t[r>>2]|0)+(4-1)&~(4-1),h=t[R>>2]|0,t[r>>2]=R+4,R=0,D=E):(h=0,R=0,D=E)}t[on>>2]=D,Be=(h|0)<0,h=Be?0-h|0:h,k=Be?k|8192:k}else{if(h=Kw(on)|0,(h|0)<0){s=-1;break}D=t[on>>2]|0}do if((p[D>>0]|0)==46){if((p[D+1>>0]|0)!=42){t[on>>2]=D+1,E=Kw(on)|0,D=t[on>>2]|0;break}if(F=D+2|0,E=(p[F>>0]|0)+-48|0,E>>>0<10&&(p[D+3>>0]|0)==36){t[a+(E<<2)>>2]=10,E=t[o+((p[F>>0]|0)+-48<<3)>>2]|0,D=D+4|0,t[on>>2]=D;break}if(R|0){s=-1;break e}Ve?(Be=(t[r>>2]|0)+(4-1)&~(4-1),E=t[Be>>2]|0,t[r>>2]=Be+4):E=0,t[on>>2]=F,D=F}else E=-1;while(0);for(ce=0;;){if(((p[D>>0]|0)+-65|0)>>>0>57){s=-1;break e}if(Be=D+1|0,t[on>>2]=Be,F=p[(p[D>>0]|0)+-65+(5178+(ce*58|0))>>0]|0,H=F&255,(H+-1|0)>>>0<8)ce=H,D=Be;else break}if(!(F<<24>>24)){s=-1;break}xe=(ue|0)>-1;do if(F<<24>>24==19)if(xe){s=-1;break e}else be=49;else{if(xe){t[a+(ue<<2)>>2]=H,xe=o+(ue<<3)|0,ue=t[xe+4>>2]|0,be=Yt,t[be>>2]=t[xe>>2],t[be+4>>2]=ue,be=49;break}if(!Ve){s=0;break e}Xw(Yt,H,r)}while(0);if((be|0)==49&&(be=0,!Ve)){h=0,n=Be;continue}D=p[D>>0]|0,D=(ce|0)!=0&(D&15|0)==3?D&-33:D,xe=k&-65537,ue=(k&8192|0)==0?k:xe;t:do switch(D|0){case 110:switch((ce&255)<<24>>24){case 0:{t[t[Yt>>2]>>2]=s,h=0,n=Be;continue e}case 1:{t[t[Yt>>2]>>2]=s,h=0,n=Be;continue e}case 2:{h=t[Yt>>2]|0,t[h>>2]=s,t[h+4>>2]=((s|0)<0)<<31>>31,h=0,n=Be;continue e}case 3:{_[t[Yt>>2]>>1]=s,h=0,n=Be;continue e}case 4:{p[t[Yt>>2]>>0]=s,h=0,n=Be;continue e}case 6:{t[t[Yt>>2]>>2]=s,h=0,n=Be;continue e}case 7:{h=t[Yt>>2]|0,t[h>>2]=s,t[h+4>>2]=((s|0)<0)<<31>>31,h=0,n=Be;continue e}default:{h=0,n=Be;continue e}}case 112:{D=120,E=E>>>0>8?E:8,n=ue|8,be=61;break}case 88:case 120:{n=ue,be=61;break}case 111:{D=Yt,n=t[D>>2]|0,D=t[D+4>>2]|0,H=YI(n,D,me)|0,xe=Ce-H|0,k=0,F=5642,E=(ue&8|0)==0|(E|0)>(xe|0)?E:xe+1|0,xe=ue,be=67;break}case 105:case 100:if(D=Yt,n=t[D>>2]|0,D=t[D+4>>2]|0,(D|0)<0){n=Ty(0,0,n|0,D|0)|0,D=Xe,k=Yt,t[k>>2]=n,t[k+4>>2]=D,k=1,F=5642,be=66;break t}else{k=(ue&2049|0)!=0&1,F=(ue&2048|0)==0?(ue&1|0)==0?5642:5644:5643,be=66;break t}case 117:{D=Yt,k=0,F=5642,n=t[D>>2]|0,D=t[D+4>>2]|0,be=66;break}case 99:{p[At>>0]=t[Yt>>2],n=At,k=0,F=5642,H=me,D=1,E=xe;break}case 109:{D=KI(t[(S2()|0)>>2]|0)|0,be=71;break}case 115:{D=t[Yt>>2]|0,D=D|0?D:5652,be=71;break}case 67:{t[Pn>>2]=t[Yt>>2],t[Zn>>2]=0,t[Yt>>2]=Pn,H=-1,D=Pn,be=75;break}case 83:{n=t[Yt>>2]|0,E?(H=E,D=n,be=75):(yo(e,32,h,0,ue),n=0,be=84);break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{h=QI(e,+P[Yt>>3],h,E,ue,D)|0,n=Be;continue e}default:k=0,F=5642,H=me,D=E,E=ue}while(0);t:do if((be|0)==61)ue=Yt,ce=t[ue>>2]|0,ue=t[ue+4>>2]|0,H=GI(ce,ue,me,D&32)|0,F=(n&8|0)==0|(ce|0)==0&(ue|0)==0,k=F?0:2,F=F?5642:5642+(D>>4)|0,xe=n,n=ce,D=ue,be=67;else if((be|0)==66)H=T2(n,D,me)|0,xe=ue,be=67;else if((be|0)==71)be=0,ue=XI(D,0,E)|0,ce=(ue|0)==0,n=D,k=0,F=5642,H=ce?D+E|0:ue,D=ce?E:ue-D|0,E=xe;else if((be|0)==75){for(be=0,F=D,n=0,E=0;k=t[F>>2]|0,!(!k||(E=Qw(Qn,k)|0,(E|0)<0|E>>>0>(H-n|0)>>>0));)if(n=E+n|0,H>>>0>n>>>0)F=F+4|0;else break;if((E|0)<0){s=-1;break e}if(yo(e,32,h,n,ue),!n)n=0,be=84;else for(k=0;;){if(E=t[D>>2]|0,!E){be=84;break t}if(E=Qw(Qn,E)|0,k=E+k|0,(k|0)>(n|0)){be=84;break t}if($0(e,Qn,E),k>>>0>=n>>>0){be=84;break}else D=D+4|0}}while(0);if((be|0)==67)be=0,D=(n|0)!=0|(D|0)!=0,ue=(E|0)!=0|D,D=((D^1)&1)+(Ce-H)|0,n=ue?H:me,H=me,D=ue?(E|0)>(D|0)?E:D:E,E=(E|0)>-1?xe&-65537:xe;else if((be|0)==84){be=0,yo(e,32,h,n,ue^8192),h=(h|0)>(n|0)?h:n,n=Be;continue}ce=H-n|0,xe=(D|0)<(ce|0)?ce:D,ue=xe+k|0,h=(h|0)<(ue|0)?ue:h,yo(e,32,h,ue,E),$0(e,F,k),yo(e,48,h,ue,E^65536),yo(e,48,xe,ce,0),$0(e,n,ce),yo(e,32,h,ue,E^8192),n=Be}e:do if((be|0)==87&&!e)if(!R)s=0;else{for(s=1;n=t[a+(s<<2)>>2]|0,!!n;)if(Xw(o+(s<<3)|0,n,r),s=s+1|0,(s|0)>=10){s=1;break e}for(;;){if(t[a+(s<<2)>>2]|0){s=-1;break e}if(s=s+1|0,(s|0)>=10){s=1;break}}}while(0);return v=tn,s|0}function WI(e){return e=e|0,0}function VI(e){e=e|0}function $0(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]&32||oB(n,r,e)|0}function Kw(e){e=e|0;var n=0,r=0,o=0;if(r=t[e>>2]|0,o=(p[r>>0]|0)+-48|0,o>>>0<10){n=0;do n=o+(n*10|0)|0,r=r+1|0,t[e>>2]=r,o=(p[r>>0]|0)+-48|0;while(o>>>0<10)}else n=0;return n|0}function Xw(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0;e:do if(n>>>0<=20)do switch(n|0){case 9:{o=(t[r>>2]|0)+(4-1)&~(4-1),n=t[o>>2]|0,t[r>>2]=o+4,t[e>>2]=n;break e}case 10:{o=(t[r>>2]|0)+(4-1)&~(4-1),n=t[o>>2]|0,t[r>>2]=o+4,o=e,t[o>>2]=n,t[o+4>>2]=((n|0)<0)<<31>>31;break e}case 11:{o=(t[r>>2]|0)+(4-1)&~(4-1),n=t[o>>2]|0,t[r>>2]=o+4,o=e,t[o>>2]=n,t[o+4>>2]=0;break e}case 12:{o=(t[r>>2]|0)+(8-1)&~(8-1),n=o,a=t[n>>2]|0,n=t[n+4>>2]|0,t[r>>2]=o+8,o=e,t[o>>2]=a,t[o+4>>2]=n;break e}case 13:{a=(t[r>>2]|0)+(4-1)&~(4-1),o=t[a>>2]|0,t[r>>2]=a+4,o=(o&65535)<<16>>16,a=e,t[a>>2]=o,t[a+4>>2]=((o|0)<0)<<31>>31;break e}case 14:{a=(t[r>>2]|0)+(4-1)&~(4-1),o=t[a>>2]|0,t[r>>2]=a+4,a=e,t[a>>2]=o&65535,t[a+4>>2]=0;break e}case 15:{a=(t[r>>2]|0)+(4-1)&~(4-1),o=t[a>>2]|0,t[r>>2]=a+4,o=(o&255)<<24>>24,a=e,t[a>>2]=o,t[a+4>>2]=((o|0)<0)<<31>>31;break e}case 16:{a=(t[r>>2]|0)+(4-1)&~(4-1),o=t[a>>2]|0,t[r>>2]=a+4,a=e,t[a>>2]=o&255,t[a+4>>2]=0;break e}case 17:{a=(t[r>>2]|0)+(8-1)&~(8-1),s=+P[a>>3],t[r>>2]=a+8,P[e>>3]=s;break e}case 18:{a=(t[r>>2]|0)+(8-1)&~(8-1),s=+P[a>>3],t[r>>2]=a+8,P[e>>3]=s;break e}default:break e}while(0);while(0)}function GI(e,n,r,o){if(e=e|0,n=n|0,r=r|0,o=o|0,!((e|0)==0&(n|0)==0))do r=r+-1|0,p[r>>0]=O[5694+(e&15)>>0]|0|o,e=Cy(e|0,n|0,4)|0,n=Xe;while(!((e|0)==0&(n|0)==0));return r|0}function YI(e,n,r){if(e=e|0,n=n|0,r=r|0,!((e|0)==0&(n|0)==0))do r=r+-1|0,p[r>>0]=e&7|48,e=Cy(e|0,n|0,3)|0,n=Xe;while(!((e|0)==0&(n|0)==0));return r|0}function T2(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;if(n>>>0>0|(n|0)==0&e>>>0>4294967295){for(;o=eD(e|0,n|0,10,0)|0,r=r+-1|0,p[r>>0]=o&255|48,o=e,e=$E(e|0,n|0,10,0)|0,n>>>0>9|(n|0)==9&o>>>0>4294967295;)n=Xe;n=e}else n=e;if(n)for(;r=r+-1|0,p[r>>0]=(n>>>0)%10|0|48,!(n>>>0<10);)n=(n>>>0)/10|0;return r|0}function KI(e){return e=e|0,tB(e,t[(eB()|0)+188>>2]|0)|0}function XI(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;s=n&255,o=(r|0)!=0;e:do if(o&(e&3|0)!=0)for(a=n&255;;){if((p[e>>0]|0)==a<<24>>24){h=6;break e}if(e=e+1|0,r=r+-1|0,o=(r|0)!=0,!(o&(e&3|0)!=0)){h=5;break}}else h=5;while(0);(h|0)==5&&(o?h=6:r=0);e:do if((h|0)==6&&(a=n&255,(p[e>>0]|0)!=a<<24>>24)){o=Nn(s,16843009)|0;t:do if(r>>>0>3){for(;s=t[e>>2]^o,!((s&-2139062144^-2139062144)&s+-16843009|0);)if(e=e+4|0,r=r+-4|0,r>>>0<=3){h=11;break t}}else h=11;while(0);if((h|0)==11&&!r){r=0;break}for(;;){if((p[e>>0]|0)==a<<24>>24)break e;if(e=e+1|0,r=r+-1|0,!r){r=0;break}}}while(0);return(r|0?e:0)|0}function yo(e,n,r,o,a){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0;var s=0,h=0;if(h=v,v=v+256|0,s=h,(r|0)>(o|0)&(a&73728|0)==0){if(a=r-o|0,x2(s|0,n|0,(a>>>0<256?a:256)|0)|0,a>>>0>255){n=r-o|0;do $0(e,s,256),a=a+-256|0;while(a>>>0>255);a=n&255}$0(e,s,a)}v=h}function Qw(e,n){return e=e|0,n=n|0,e?e=ZI(e,n,0)|0:e=0,e|0}function QI(e,n,r,o,a,s){e=e|0,n=+n,r=r|0,o=o|0,a=a|0,s=s|0;var h=0,E=0,D=0,k=0,R=0,F=0,H=0,xe=0,ce=0,ue=0,Be=0,be=0,Ve=0,me=0,Ce=0,At=0,Zn=0,on=0,Yt=0,Pn=0,Qn=0,tn=0,$r=0;$r=v,v=v+560|0,D=$r+8|0,Be=$r,tn=$r+524|0,Qn=tn,k=$r+512|0,t[Be>>2]=0,Pn=k+12|0,Jw(n)|0,(Xe|0)<0?(n=-n,on=1,Zn=5659):(on=(a&2049|0)!=0&1,Zn=(a&2048|0)==0?(a&1|0)==0?5660:5665:5662),Jw(n)|0,Yt=Xe&2146435072;do if(Yt>>>0<2146435072|(Yt|0)==2146435072&0<0){if(xe=+JI(n,Be)*2,h=xe!=0,h&&(t[Be>>2]=(t[Be>>2]|0)+-1),Ve=s|32,(Ve|0)==97){ce=s&32,H=(ce|0)==0?Zn:Zn+9|0,F=on|2,h=12-o|0;do if(o>>>0>11|(h|0)==0)n=xe;else{n=8;do h=h+-1|0,n=n*16;while((h|0)!=0);if((p[H>>0]|0)==45){n=-(n+(-xe-n));break}else{n=xe+n-n;break}}while(0);E=t[Be>>2]|0,h=(E|0)<0?0-E|0:E,h=T2(h,((h|0)<0)<<31>>31,Pn)|0,(h|0)==(Pn|0)&&(h=k+11|0,p[h>>0]=48),p[h+-1>>0]=(E>>31&2)+43,R=h+-2|0,p[R>>0]=s+15,k=(o|0)<1,D=(a&8|0)==0,h=tn;do Yt=~~n,E=h+1|0,p[h>>0]=O[5694+Yt>>0]|ce,n=(n-+(Yt|0))*16,(E-Qn|0)==1&&!(D&(k&n==0))?(p[E>>0]=46,h=h+2|0):h=E;while(n!=0);Yt=h-Qn|0,Qn=Pn-R|0,Pn=(o|0)!=0&(Yt+-2|0)<(o|0)?o+2|0:Yt,h=Qn+F+Pn|0,yo(e,32,r,h,a),$0(e,H,F),yo(e,48,r,h,a^65536),$0(e,tn,Yt),yo(e,48,Pn-Yt|0,0,0),$0(e,R,Qn),yo(e,32,r,h,a^8192);break}E=(o|0)<0?6:o,h?(h=(t[Be>>2]|0)+-28|0,t[Be>>2]=h,n=xe*268435456):(n=xe,h=t[Be>>2]|0),Yt=(h|0)<0?D:D+288|0,D=Yt;do Ce=~~n>>>0,t[D>>2]=Ce,D=D+4|0,n=(n-+(Ce>>>0))*1e9;while(n!=0);if((h|0)>0)for(k=Yt,F=D;;){if(R=(h|0)<29?h:29,h=F+-4|0,h>>>0>=k>>>0){D=0;do me=rS(t[h>>2]|0,0,R|0)|0,me=ZE(me|0,Xe|0,D|0,0)|0,Ce=Xe,be=eD(me|0,Ce|0,1e9,0)|0,t[h>>2]=be,D=$E(me|0,Ce|0,1e9,0)|0,h=h+-4|0;while(h>>>0>=k>>>0);D&&(k=k+-4|0,t[k>>2]=D)}for(D=F;!(D>>>0<=k>>>0);)if(h=D+-4|0,!(t[h>>2]|0))D=h;else break;if(h=(t[Be>>2]|0)-R|0,t[Be>>2]=h,(h|0)>0)F=D;else break}else k=Yt;if((h|0)<0){o=((E+25|0)/9|0)+1|0,ue=(Ve|0)==102;do{if(ce=0-h|0,ce=(ce|0)<9?ce:9,k>>>0>>0){R=(1<>>ce,H=0,h=k;do Ce=t[h>>2]|0,t[h>>2]=(Ce>>>ce)+H,H=Nn(Ce&R,F)|0,h=h+4|0;while(h>>>0>>0);h=(t[k>>2]|0)==0?k+4|0:k,H?(t[D>>2]=H,k=h,h=D+4|0):(k=h,h=D)}else k=(t[k>>2]|0)==0?k+4|0:k,h=D;D=ue?Yt:k,D=(h-D>>2|0)>(o|0)?D+(o<<2)|0:h,h=(t[Be>>2]|0)+ce|0,t[Be>>2]=h}while((h|0)<0);h=k,o=D}else h=k,o=D;if(Ce=Yt,h>>>0>>0){if(D=(Ce-h>>2)*9|0,R=t[h>>2]|0,R>>>0>=10){k=10;do k=k*10|0,D=D+1|0;while(R>>>0>=k>>>0)}}else D=0;if(ue=(Ve|0)==103,be=(E|0)!=0,k=E-((Ve|0)!=102?D:0)+((be&ue)<<31>>31)|0,(k|0)<(((o-Ce>>2)*9|0)+-9|0)){if(k=k+9216|0,ce=Yt+4+(((k|0)/9|0)+-1024<<2)|0,k=((k|0)%9|0)+1|0,(k|0)<9){R=10;do R=R*10|0,k=k+1|0;while((k|0)!=9)}else R=10;if(F=t[ce>>2]|0,H=(F>>>0)%(R>>>0)|0,k=(ce+4|0)==(o|0),k&(H|0)==0)k=ce;else if(xe=(((F>>>0)/(R>>>0)|0)&1|0)==0?9007199254740992:9007199254740994,me=(R|0)/2|0,n=H>>>0>>0?.5:k&(H|0)==(me|0)?1:1.5,on&&(me=(p[Zn>>0]|0)==45,n=me?-n:n,xe=me?-xe:xe),k=F-H|0,t[ce>>2]=k,xe+n!=xe){if(me=k+R|0,t[ce>>2]=me,me>>>0>999999999)for(D=ce;k=D+-4|0,t[D>>2]=0,k>>>0>>0&&(h=h+-4|0,t[h>>2]=0),me=(t[k>>2]|0)+1|0,t[k>>2]=me,me>>>0>999999999;)D=k;else k=ce;if(D=(Ce-h>>2)*9|0,F=t[h>>2]|0,F>>>0>=10){R=10;do R=R*10|0,D=D+1|0;while(F>>>0>=R>>>0)}}else k=ce;k=k+4|0,k=o>>>0>k>>>0?k:o,me=h}else k=o,me=h;for(Ve=k;;){if(Ve>>>0<=me>>>0){Be=0;break}if(h=Ve+-4|0,!(t[h>>2]|0))Ve=h;else{Be=1;break}}o=0-D|0;do if(ue)if(h=((be^1)&1)+E|0,(h|0)>(D|0)&(D|0)>-5?(R=s+-1|0,E=h+-1-D|0):(R=s+-2|0,E=h+-1|0),h=a&8,h)ce=h;else{if(Be&&(At=t[Ve+-4>>2]|0,(At|0)!=0))if((At>>>0)%10|0)k=0;else{k=0,h=10;do h=h*10|0,k=k+1|0;while(!((At>>>0)%(h>>>0)|0|0))}else k=9;if(h=((Ve-Ce>>2)*9|0)+-9|0,(R|32|0)==102){ce=h-k|0,ce=(ce|0)>0?ce:0,E=(E|0)<(ce|0)?E:ce,ce=0;break}else{ce=h+D-k|0,ce=(ce|0)>0?ce:0,E=(E|0)<(ce|0)?E:ce,ce=0;break}}else R=s,ce=a&8;while(0);if(ue=E|ce,F=(ue|0)!=0&1,H=(R|32|0)==102,H)be=0,h=(D|0)>0?D:0;else{if(h=(D|0)<0?o:D,h=T2(h,((h|0)<0)<<31>>31,Pn)|0,k=Pn,(k-h|0)<2)do h=h+-1|0,p[h>>0]=48;while((k-h|0)<2);p[h+-1>>0]=(D>>31&2)+43,h=h+-2|0,p[h>>0]=R,be=h,h=k-h|0}if(h=on+1+E+F+h|0,yo(e,32,r,h,a),$0(e,Zn,on),yo(e,48,r,h,a^65536),H){R=me>>>0>Yt>>>0?Yt:me,ce=tn+9|0,F=ce,H=tn+8|0,k=R;do{if(D=T2(t[k>>2]|0,0,ce)|0,(k|0)==(R|0))(D|0)==(ce|0)&&(p[H>>0]=48,D=H);else if(D>>>0>tn>>>0){x2(tn|0,48,D-Qn|0)|0;do D=D+-1|0;while(D>>>0>tn>>>0)}$0(e,D,F-D|0),k=k+4|0}while(k>>>0<=Yt>>>0);if(ue|0&&$0(e,5710,1),k>>>0>>0&(E|0)>0)for(;;){if(D=T2(t[k>>2]|0,0,ce)|0,D>>>0>tn>>>0){x2(tn|0,48,D-Qn|0)|0;do D=D+-1|0;while(D>>>0>tn>>>0)}if($0(e,D,(E|0)<9?E:9),k=k+4|0,D=E+-9|0,k>>>0>>0&(E|0)>9)E=D;else{E=D;break}}yo(e,48,E+9|0,9,0)}else{if(ue=Be?Ve:me+4|0,(E|0)>-1){Be=tn+9|0,ce=(ce|0)==0,o=Be,F=0-Qn|0,H=tn+8|0,R=me;do{D=T2(t[R>>2]|0,0,Be)|0,(D|0)==(Be|0)&&(p[H>>0]=48,D=H);do if((R|0)==(me|0)){if(k=D+1|0,$0(e,D,1),ce&(E|0)<1){D=k;break}$0(e,5710,1),D=k}else{if(D>>>0<=tn>>>0)break;x2(tn|0,48,D+F|0)|0;do D=D+-1|0;while(D>>>0>tn>>>0)}while(0);Qn=o-D|0,$0(e,D,(E|0)>(Qn|0)?Qn:E),E=E-Qn|0,R=R+4|0}while(R>>>0>>0&(E|0)>-1)}yo(e,48,E+18|0,18,0),$0(e,be,Pn-be|0)}yo(e,32,r,h,a^8192)}else tn=(s&32|0)!=0,h=on+3|0,yo(e,32,r,h,a&-65537),$0(e,Zn,on),$0(e,n!=n|!1?tn?5686:5690:tn?5678:5682,3),yo(e,32,r,h,a^8192);while(0);return v=$r,((h|0)<(r|0)?r:h)|0}function Jw(e){e=+e;var n=0;return P[z>>3]=e,n=t[z>>2]|0,Xe=t[z+4>>2]|0,n|0}function JI(e,n){return e=+e,n=n|0,+ +Zw(e,n)}function Zw(e,n){e=+e,n=n|0;var r=0,o=0,a=0;switch(P[z>>3]=e,r=t[z>>2]|0,o=t[z+4>>2]|0,a=Cy(r|0,o|0,52)|0,a&2047){case 0:{e!=0?(e=+Zw(e*18446744073709552e3,n),r=(t[n>>2]|0)+-64|0):r=0,t[n>>2]=r;break}case 2047:break;default:t[n>>2]=(a&2047)+-1022,t[z>>2]=r,t[z+4>>2]=o&-2146435073|1071644672,e=+P[z>>3]}return+e}function ZI(e,n,r){e=e|0,n=n|0,r=r|0;do if(e){if(n>>>0<128){p[e>>0]=n,e=1;break}if(!(t[t[($I()|0)+188>>2]>>2]|0))if((n&-128|0)==57216){p[e>>0]=n,e=1;break}else{t[(S2()|0)>>2]=84,e=-1;break}if(n>>>0<2048){p[e>>0]=n>>>6|192,p[e+1>>0]=n&63|128,e=2;break}if(n>>>0<55296|(n&-8192|0)==57344){p[e>>0]=n>>>12|224,p[e+1>>0]=n>>>6&63|128,p[e+2>>0]=n&63|128,e=3;break}if((n+-65536|0)>>>0<1048576){p[e>>0]=n>>>18|240,p[e+1>>0]=n>>>12&63|128,p[e+2>>0]=n>>>6&63|128,p[e+3>>0]=n&63|128,e=4;break}else{t[(S2()|0)>>2]=84,e=-1;break}}else e=1;while(0);return e|0}function $I(){return XE()|0}function eB(){return XE()|0}function tB(e,n){e=e|0,n=n|0;var r=0,o=0;for(o=0;;){if((O[5712+o>>0]|0)==(e|0)){e=2;break}if(r=o+1|0,(r|0)==87){r=5800,o=87,e=5;break}else o=r}if((e|0)==2&&(o?(r=5800,e=5):r=5800),(e|0)==5)for(;;){do e=r,r=r+1|0;while((p[e>>0]|0)!=0);if(o=o+-1|0,o)e=5;else break}return nB(r,t[n+20>>2]|0)|0}function nB(e,n){return e=e|0,n=n|0,rB(e,n)|0}function rB(e,n){return e=e|0,n=n|0,n?n=iB(t[n>>2]|0,t[n+4>>2]|0,e)|0:n=0,(n|0?n:e)|0}function iB(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0;H=(t[e>>2]|0)+1794895138|0,s=Jc(t[e+8>>2]|0,H)|0,o=Jc(t[e+12>>2]|0,H)|0,a=Jc(t[e+16>>2]|0,H)|0;e:do if(s>>>0>>2>>>0&&(F=n-(s<<2)|0,o>>>0>>0&a>>>0>>0)&&((a|o)&3|0)==0){for(F=o>>>2,R=a>>>2,k=0;;){if(E=s>>>1,D=k+E|0,h=D<<1,a=h+F|0,o=Jc(t[e+(a<<2)>>2]|0,H)|0,a=Jc(t[e+(a+1<<2)>>2]|0,H)|0,!(a>>>0>>0&o>>>0<(n-a|0)>>>0)){o=0;break e}if(p[e+(a+o)>>0]|0){o=0;break e}if(o=Gw(r,e+a|0)|0,!o)break;if(o=(o|0)<0,(s|0)==1){o=0;break e}else k=o?k:D,s=o?E:s-E|0}o=h+R|0,a=Jc(t[e+(o<<2)>>2]|0,H)|0,o=Jc(t[e+(o+1<<2)>>2]|0,H)|0,o>>>0>>0&a>>>0<(n-o|0)>>>0?o=(p[e+(o+a)>>0]|0)==0?e+o|0:0:o=0}else o=0;while(0);return o|0}function Jc(e,n){e=e|0,n=n|0;var r=0;return r=uS(e|0)|0,((n|0)==0?e:r)|0}function oB(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0,E=0;o=r+16|0,a=t[o>>2]|0,a?s=5:uB(r)|0?o=0:(a=t[o>>2]|0,s=5);e:do if((s|0)==5){if(E=r+20|0,h=t[E>>2]|0,o=h,(a-h|0)>>>0>>0){o=Ry[t[r+36>>2]&7](r,e,n)|0;break}t:do if((p[r+75>>0]|0)>-1){for(h=n;;){if(!h){s=0,a=e;break t}if(a=h+-1|0,(p[e+a>>0]|0)==10)break;h=a}if(o=Ry[t[r+36>>2]&7](r,e,h)|0,o>>>0>>0)break e;s=h,a=e+h|0,n=n-h|0,o=t[E>>2]|0}else s=0,a=e;while(0);bn(o|0,a|0,n|0)|0,t[E>>2]=(t[E>>2]|0)+n,o=s+n|0}while(0);return o|0}function uB(e){e=e|0;var n=0,r=0;return n=e+74|0,r=p[n>>0]|0,p[n>>0]=r+255|r,n=t[e>>2]|0,n&8?(t[e>>2]=n|32,e=-1):(t[e+8>>2]=0,t[e+4>>2]=0,r=t[e+44>>2]|0,t[e+28>>2]=r,t[e+20>>2]=r,t[e+16>>2]=r+(t[e+48>>2]|0),e=0),e|0}function Ci(e,n){e=w(e),n=w(n);var r=0,o=0;r=$w(e)|0;do if((r&2147483647)>>>0<=2139095040){if(o=$w(n)|0,(o&2147483647)>>>0<=2139095040)if((o^r|0)<0){e=(r|0)<0?n:e;break}else{e=e>2]=e,t[z>>2]|0|0}function Zc(e,n){e=w(e),n=w(n);var r=0,o=0;r=eS(e)|0;do if((r&2147483647)>>>0<=2139095040){if(o=eS(n)|0,(o&2147483647)>>>0<=2139095040)if((o^r|0)<0){e=(r|0)<0?e:n;break}else{e=e>2]=e,t[z>>2]|0|0}function JE(e,n){e=w(e),n=w(n);var r=0,o=0,a=0,s=0,h=0,E=0,D=0,k=0;s=(T[z>>2]=e,t[z>>2]|0),E=(T[z>>2]=n,t[z>>2]|0),r=s>>>23&255,h=E>>>23&255,D=s&-2147483648,a=E<<1;e:do if((a|0)!=0&&!((r|0)==255|((lB(n)|0)&2147483647)>>>0>2139095040)){if(o=s<<1,o>>>0<=a>>>0)return n=w(e*w(0)),w((o|0)==(a|0)?n:e);if(r)o=s&8388607|8388608;else{if(r=s<<9,(r|0)>-1){o=r,r=0;do r=r+-1|0,o=o<<1;while((o|0)>-1)}else r=0;o=s<<1-r}if(h)E=E&8388607|8388608;else{if(s=E<<9,(s|0)>-1){a=0;do a=a+-1|0,s=s<<1;while((s|0)>-1)}else a=0;h=a,E=E<<1-a}a=o-E|0,s=(a|0)>-1;t:do if((r|0)>(h|0)){for(;;){if(s)if(a)o=a;else break;if(o=o<<1,r=r+-1|0,a=o-E|0,s=(a|0)>-1,(r|0)<=(h|0))break t}n=w(e*w(0));break e}while(0);if(s)if(a)o=a;else{n=w(e*w(0));break}if(o>>>0<8388608)do o=o<<1,r=r+-1|0;while(o>>>0<8388608);(r|0)>0?r=o+-8388608|r<<23:r=o>>>(1-r|0),n=(t[z>>2]=r|D,w(T[z>>2]))}else k=3;while(0);return(k|0)==3&&(n=w(e*n),n=w(n/n)),w(n)}function lB(e){return e=w(e),T[z>>2]=e,t[z>>2]|0|0}function aB(e,n){return e=e|0,n=n|0,Yw(t[582]|0,e,n)|0}function gr(e){e=e|0,Tn()}function C2(e){e=e|0}function sB(e,n){return e=e|0,n=n|0,0}function fB(e){return e=e|0,(tS(e+4|0)|0)==-1?(tf[t[(t[e>>2]|0)+8>>2]&127](e),e=1):e=0,e|0}function tS(e){e=e|0;var n=0;return n=t[e>>2]|0,t[e>>2]=n+-1,n+-1|0}function Zf(e){e=e|0,fB(e)|0&&cB(e)}function cB(e){e=e|0;var n=0;n=e+8|0,(t[n>>2]|0)!=0&&(tS(n)|0)!=-1||tf[t[(t[e>>2]|0)+16>>2]&127](e)}function Bt(e){e=e|0;var n=0;for(n=(e|0)==0?1:e;e=Dy(n)|0,!(e|0);){if(e=pB()|0,!e){e=0;break}mS[e&0]()}return e|0}function nS(e){return e=e|0,Bt(e)|0}function $e(e){e=e|0,wy(e)}function dB(e){e=e|0,(p[e+11>>0]|0)<0&&$e(t[e>>2]|0)}function pB(){var e=0;return e=t[2923]|0,t[2923]=e+0,e|0}function hB(){}function Ty(e,n,r,o){return e=e|0,n=n|0,r=r|0,o=o|0,o=n-o-(r>>>0>e>>>0|0)>>>0,Xe=o,e-r>>>0|0|0}function ZE(e,n,r,o){return e=e|0,n=n|0,r=r|0,o=o|0,r=e+r>>>0,Xe=n+o+(r>>>0>>0|0)>>>0,r|0|0}function x2(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0,h=0;if(s=e+r|0,n=n&255,(r|0)>=67){for(;e&3;)p[e>>0]=n,e=e+1|0;for(o=s&-4|0,a=o-64|0,h=n|n<<8|n<<16|n<<24;(e|0)<=(a|0);)t[e>>2]=h,t[e+4>>2]=h,t[e+8>>2]=h,t[e+12>>2]=h,t[e+16>>2]=h,t[e+20>>2]=h,t[e+24>>2]=h,t[e+28>>2]=h,t[e+32>>2]=h,t[e+36>>2]=h,t[e+40>>2]=h,t[e+44>>2]=h,t[e+48>>2]=h,t[e+52>>2]=h,t[e+56>>2]=h,t[e+60>>2]=h,e=e+64|0;for(;(e|0)<(o|0);)t[e>>2]=h,e=e+4|0}for(;(e|0)<(s|0);)p[e>>0]=n,e=e+1|0;return s-r|0}function rS(e,n,r){return e=e|0,n=n|0,r=r|0,(r|0)<32?(Xe=n<>>32-r,e<>>r,e>>>r|(n&(1<>>r-32|0)}function bn(e,n,r){e=e|0,n=n|0,r=r|0;var o=0,a=0,s=0;if((r|0)>=8192)return Dr(e|0,n|0,r|0)|0;if(s=e|0,a=e+r|0,(e&3)==(n&3)){for(;e&3;){if(!r)return s|0;p[e>>0]=p[n>>0]|0,e=e+1|0,n=n+1|0,r=r-1|0}for(r=a&-4|0,o=r-64|0;(e|0)<=(o|0);)t[e>>2]=t[n>>2],t[e+4>>2]=t[n+4>>2],t[e+8>>2]=t[n+8>>2],t[e+12>>2]=t[n+12>>2],t[e+16>>2]=t[n+16>>2],t[e+20>>2]=t[n+20>>2],t[e+24>>2]=t[n+24>>2],t[e+28>>2]=t[n+28>>2],t[e+32>>2]=t[n+32>>2],t[e+36>>2]=t[n+36>>2],t[e+40>>2]=t[n+40>>2],t[e+44>>2]=t[n+44>>2],t[e+48>>2]=t[n+48>>2],t[e+52>>2]=t[n+52>>2],t[e+56>>2]=t[n+56>>2],t[e+60>>2]=t[n+60>>2],e=e+64|0,n=n+64|0;for(;(e|0)<(r|0);)t[e>>2]=t[n>>2],e=e+4|0,n=n+4|0}else for(r=a-4|0;(e|0)<(r|0);)p[e>>0]=p[n>>0]|0,p[e+1>>0]=p[n+1>>0]|0,p[e+2>>0]=p[n+2>>0]|0,p[e+3>>0]=p[n+3>>0]|0,e=e+4|0,n=n+4|0;for(;(e|0)<(a|0);)p[e>>0]=p[n>>0]|0,e=e+1|0,n=n+1|0;return s|0}function iS(e){e=e|0;var n=0;return n=p[ye+(e&255)>>0]|0,(n|0)<8?n|0:(n=p[ye+(e>>8&255)>>0]|0,(n|0)<8?n+8|0:(n=p[ye+(e>>16&255)>>0]|0,(n|0)<8?n+16|0:(p[ye+(e>>>24)>>0]|0)+24|0))}function oS(e,n,r,o,a){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0;var s=0,h=0,E=0,D=0,k=0,R=0,F=0,H=0,xe=0,ce=0;if(R=e,D=n,k=D,h=r,H=o,E=H,!k)return s=(a|0)!=0,E?s?(t[a>>2]=e|0,t[a+4>>2]=n&0,H=0,a=0,Xe=H,a|0):(H=0,a=0,Xe=H,a|0):(s&&(t[a>>2]=(R>>>0)%(h>>>0),t[a+4>>2]=0),H=0,a=(R>>>0)/(h>>>0)>>>0,Xe=H,a|0);s=(E|0)==0;do if(h){if(!s){if(s=(Wn(E|0)|0)-(Wn(k|0)|0)|0,s>>>0<=31){F=s+1|0,E=31-s|0,n=s-31>>31,h=F,e=R>>>(F>>>0)&n|k<>>(F>>>0)&n,s=0,E=R<>2]=e|0,t[a+4>>2]=D|n&0,H=0,a=0,Xe=H,a|0):(H=0,a=0,Xe=H,a|0)}if(s=h-1|0,s&h|0){E=(Wn(h|0)|0)+33-(Wn(k|0)|0)|0,ce=64-E|0,F=32-E|0,D=F>>31,xe=E-32|0,n=xe>>31,h=E,e=F-1>>31&k>>>(xe>>>0)|(k<>>(E>>>0))&n,n=n&k>>>(E>>>0),s=R<>>(xe>>>0))&D|R<>31;break}return a|0&&(t[a>>2]=s&R,t[a+4>>2]=0),(h|0)==1?(xe=D|n&0,ce=e|0|0,Xe=xe,ce|0):(ce=iS(h|0)|0,xe=k>>>(ce>>>0)|0,ce=k<<32-ce|R>>>(ce>>>0)|0,Xe=xe,ce|0)}else{if(s)return a|0&&(t[a>>2]=(k>>>0)%(h>>>0),t[a+4>>2]=0),xe=0,ce=(k>>>0)/(h>>>0)>>>0,Xe=xe,ce|0;if(!R)return a|0&&(t[a>>2]=0,t[a+4>>2]=(k>>>0)%(E>>>0)),xe=0,ce=(k>>>0)/(E>>>0)>>>0,Xe=xe,ce|0;if(s=E-1|0,!(s&E))return a|0&&(t[a>>2]=e|0,t[a+4>>2]=s&k|n&0),xe=0,ce=k>>>((iS(E|0)|0)>>>0),Xe=xe,ce|0;if(s=(Wn(E|0)|0)-(Wn(k|0)|0)|0,s>>>0<=30){n=s+1|0,E=31-s|0,h=n,e=k<>>(n>>>0),n=k>>>(n>>>0),s=0,E=R<>2]=e|0,t[a+4>>2]=D|n&0,xe=0,ce=0,Xe=xe,ce|0):(xe=0,ce=0,Xe=xe,ce|0)}while(0);if(!h)k=E,D=0,E=0;else{F=r|0|0,R=H|o&0,k=ZE(F|0,R|0,-1,-1)|0,r=Xe,D=E,E=0;do o=D,D=s>>>31|D<<1,s=E|s<<1,o=e<<1|o>>>31|0,H=e>>>31|n<<1|0,Ty(k|0,r|0,o|0,H|0)|0,ce=Xe,xe=ce>>31|((ce|0)<0?-1:0)<<1,E=xe&1,e=Ty(o|0,H|0,xe&F|0,(((ce|0)<0?-1:0)>>31|((ce|0)<0?-1:0)<<1)&R|0)|0,n=Xe,h=h-1|0;while((h|0)!=0);k=D,D=0}return h=0,a|0&&(t[a>>2]=e,t[a+4>>2]=n),xe=(s|0)>>>31|(k|h)<<1|(h<<1|s>>>31)&0|D,ce=(s<<1|0>>>31)&-2|E,Xe=xe,ce|0}function $E(e,n,r,o){return e=e|0,n=n|0,r=r|0,o=o|0,oS(e,n,r,o,0)|0}function $f(e){e=e|0;var n=0,r=0;return r=e+15&-16|0,n=t[U>>2]|0,e=n+r|0,(r|0)>0&(e|0)<(n|0)|(e|0)<0?(Ln()|0,Pu(12),-1):(t[U>>2]=e,(e|0)>(sr()|0)&&(ir()|0)==0?(t[U>>2]=n,Pu(12),-1):n|0)}function ih(e,n,r){e=e|0,n=n|0,r=r|0;var o=0;if((n|0)<(e|0)&(e|0)<(n+r|0)){for(o=e,n=n+r|0,e=e+r|0;(r|0)>0;)e=e-1|0,n=n-1|0,r=r-1|0,p[e>>0]=p[n>>0]|0;e=o}else bn(e,n,r)|0;return e|0}function eD(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0;var a=0,s=0;return s=v,v=v+16|0,a=s|0,oS(e,n,r,o,a)|0,v=s,Xe=t[a+4>>2]|0,t[a>>2]|0|0}function uS(e){return e=e|0,(e&255)<<24|(e>>8&255)<<16|(e>>16&255)<<8|e>>>24|0}function vB(e,n,r,o,a,s){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0,lS[e&1](n|0,r|0,o|0,a|0,s|0)}function mB(e,n,r){e=e|0,n=n|0,r=w(r),aS[e&1](n|0,w(r))}function yB(e,n,r){e=e|0,n=n|0,r=+r,sS[e&31](n|0,+r)}function gB(e,n,r,o){return e=e|0,n=n|0,r=w(r),o=w(o),w(fS[e&0](n|0,w(r),w(o)))}function _B(e,n){e=e|0,n=n|0,tf[e&127](n|0)}function EB(e,n,r){e=e|0,n=n|0,r=r|0,nf[e&31](n|0,r|0)}function DB(e,n){return e=e|0,n=n|0,e1[e&31](n|0)|0}function wB(e,n,r,o,a){e=e|0,n=n|0,r=+r,o=+o,a=a|0,cS[e&1](n|0,+r,+o,a|0)}function SB(e,n,r,o){e=e|0,n=n|0,r=+r,o=+o,rU[e&1](n|0,+r,+o)}function TB(e,n,r,o){return e=e|0,n=n|0,r=r|0,o=o|0,Ry[e&7](n|0,r|0,o|0)|0}function CB(e,n,r,o){return e=e|0,n=n|0,r=r|0,o=o|0,+iU[e&1](n|0,r|0,o|0)}function xB(e,n){return e=e|0,n=n|0,+dS[e&15](n|0)}function RB(e,n,r){return e=e|0,n=n|0,r=+r,oU[e&1](n|0,+r)|0}function AB(e,n,r){return e=e|0,n=n|0,r=r|0,nD[e&15](n|0,r|0)|0}function kB(e,n,r,o,a,s){e=e|0,n=n|0,r=r|0,o=+o,a=+a,s=s|0,uU[e&1](n|0,r|0,+o,+a,s|0)}function OB(e,n,r,o,a,s,h){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0,h=h|0,lU[e&1](n|0,r|0,o|0,a|0,s|0,h|0)}function MB(e,n,r){return e=e|0,n=n|0,r=r|0,+pS[e&7](n|0,r|0)}function NB(e){return e=e|0,Ay[e&7]()|0}function FB(e,n,r,o,a,s){return e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0,hS[e&1](n|0,r|0,o|0,a|0,s|0)|0}function LB(e,n,r,o,a){e=e|0,n=n|0,r=r|0,o=o|0,a=+a,aU[e&1](n|0,r|0,o|0,+a)}function bB(e,n,r,o,a,s,h){e=e|0,n=n|0,r=r|0,o=w(o),a=a|0,s=w(s),h=h|0,vS[e&1](n|0,r|0,w(o),a|0,w(s),h|0)}function PB(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,lh[e&15](n|0,r|0,o|0)}function IB(e){e=e|0,mS[e&0]()}function BB(e,n,r,o){e=e|0,n=n|0,r=r|0,o=+o,yS[e&15](n|0,r|0,+o)}function UB(e,n,r){return e=e|0,n=+n,r=+r,sU[e&1](+n,+r)|0}function jB(e,n,r,o,a){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,rD[e&15](n|0,r|0,o|0,a|0)}function zB(e,n,r,o,a){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,Ct(0)}function qB(e,n){e=e|0,n=w(n),Ct(1)}function Ju(e,n){e=e|0,n=+n,Ct(2)}function HB(e,n,r){return e=e|0,n=w(n),r=w(r),Ct(3),lt}function En(e){e=e|0,Ct(4)}function oh(e,n){e=e|0,n=n|0,Ct(5)}function _l(e){return e=e|0,Ct(6),0}function WB(e,n,r,o){e=e|0,n=+n,r=+r,o=o|0,Ct(7)}function VB(e,n,r){e=e|0,n=+n,r=+r,Ct(8)}function GB(e,n,r){return e=e|0,n=n|0,r=r|0,Ct(9),0}function YB(e,n,r){return e=e|0,n=n|0,r=r|0,Ct(10),0}function $c(e){return e=e|0,Ct(11),0}function KB(e,n){return e=e|0,n=+n,Ct(12),0}function uh(e,n){return e=e|0,n=n|0,Ct(13),0}function XB(e,n,r,o,a){e=e|0,n=n|0,r=+r,o=+o,a=a|0,Ct(14)}function QB(e,n,r,o,a,s){e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,s=s|0,Ct(15)}function tD(e,n){return e=e|0,n=n|0,Ct(16),0}function JB(){return Ct(17),0}function ZB(e,n,r,o,a){return e=e|0,n=n|0,r=r|0,o=o|0,a=a|0,Ct(18),0}function $B(e,n,r,o){e=e|0,n=n|0,r=r|0,o=+o,Ct(19)}function eU(e,n,r,o,a,s){e=e|0,n=n|0,r=w(r),o=o|0,a=w(a),s=s|0,Ct(20)}function xy(e,n,r){e=e|0,n=n|0,r=r|0,Ct(21)}function tU(){Ct(22)}function R2(e,n,r){e=e|0,n=n|0,r=+r,Ct(23)}function nU(e,n){return e=+e,n=+n,Ct(24),0}function A2(e,n,r,o){e=e|0,n=n|0,r=r|0,o=o|0,Ct(25)}var lS=[zB,QF],aS=[qB,s0],sS=[Ju,ya,ga,bs,Ea,Bo,Af,$o,kf,Uo,Is,T1,Ec,Da,C1,es,x1,Of,Mf,Ju,Ju,Ju,Ju,Ju,Ju,Ju,Ju,Ju,Ju,Ju,Ju,Ju],fS=[HB],tf=[En,C2,qt,Xu,is,Ks,Hc,Au,CN,xN,RN,IF,BF,UF,lI,aI,sI,Se,xf,Za,eu,Ps,Tv,F1,Rd,zf,bd,Wv,h4,nm,sm,M4,pp,W4,$4,Bc,Yf,v_,D_,Wm,Km,W_,eE,cE,fy,vt,Ti,a0,Uk,tO,EO,BO,$O,EM,OM,FM,QM,$M,mN,kN,NN,XN,pF,Od,XL,Rb,qb,rP,CP,jP,JP,eI,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En,En],nf=[oh,ld,E1,_c,Eu,w1,ad,Bl,Du,Fs,Ls,$a,wa,ke,Ke,Nt,yn,Rr,Fn,Nf,Ev,Jg,hE,_E,qO,ZL,DF,Mw,oh,oh,oh,oh],e1=[_l,BI,Ns,m,K,ie,dt,ft,mt,Gn,ki,b0,ts,gv,vd,ku,rM,ZN,nb,ml,_l,_l,_l,_l,_l,_l,_l,_l,_l,_l,_l,_l],cS=[WB,Cv],rU=[VB,_N],Ry=[GB,Vw,UI,qI,im,Fm,Hk,lP],iU=[YB,t_],dS=[$c,D0,Le,Sr,Xg,xv,Rv,Qg,Av,md,$c,$c,$c,$c,$c,$c],oU=[KB,RM],nD=[uh,sB,_v,cl,zd,C4,sp,Rp,w_,Yn,Po,Gb,uh,uh,uh,uh],uU=[XB,Bv],lU=[QB,kP],pS=[tD,li,Zg,yd,gd,ru,tD,tD],Ay=[JB,_d,va,E0,IM,rN,PN,iI],hS=[ZB,Xa],aU=[$B,z_],vS=[eU,Yg],lh=[xy,C,f0,cr,ji,Pc,e2,G_,Gp,po,_L,Mb,WP,xy,xy,xy],mS=[tU],yS=[R2,D1,Il,S1,Io,R1,wu,y,F_,oO,SM,R2,R2,R2,R2,R2],sU=[nU,SN],rD=[A2,yp,hs,TO,dM,HM,sN,HN,gF,ab,vI,A2,A2,A2,A2,A2];return{_llvm_bswap_i32:uS,dynCall_idd:UB,dynCall_i:NB,_i64Subtract:Ty,___udivdi3:$E,dynCall_vif:mB,setThrew:nl,dynCall_viii:PB,_bitshift64Lshr:Cy,_bitshift64Shl:rS,dynCall_vi:_B,dynCall_viiddi:kB,dynCall_diii:CB,dynCall_iii:AB,_memset:x2,_sbrk:$f,_memcpy:bn,__GLOBAL__sub_I_Yoga_cpp:hi,dynCall_vii:EB,___uremdi3:eD,dynCall_vid:yB,stackAlloc:oo,_nbind_init:xI,getTempRet0:W,dynCall_di:xB,dynCall_iid:RB,setTempRet0:q0,_i64Add:ZE,dynCall_fiff:gB,dynCall_iiii:TB,_emscripten_get_global_libc:II,dynCall_viid:BB,dynCall_viiid:LB,dynCall_viififi:bB,dynCall_ii:DB,__GLOBAL__sub_I_Binding_cc:jL,dynCall_viiii:jB,dynCall_iiiiii:FB,stackSave:yu,dynCall_viiiii:vB,__GLOBAL__sub_I_nbind_cc:Ed,dynCall_vidd:SB,_free:wy,runPostSets:hB,dynCall_viiiiii:OB,establishStackSpace:e0,_memmove:ih,stackRestore:la,_malloc:Dy,__GLOBAL__sub_I_common_cc:uF,dynCall_viddi:wB,dynCall_dii:MB,dynCall_v:IB}}(Module.asmGlobalArg,Module.asmLibraryArg,buffer),_llvm_bswap_i32=Module._llvm_bswap_i32=asm._llvm_bswap_i32,getTempRet0=Module.getTempRet0=asm.getTempRet0,___udivdi3=Module.___udivdi3=asm.___udivdi3,setThrew=Module.setThrew=asm.setThrew,_bitshift64Lshr=Module._bitshift64Lshr=asm._bitshift64Lshr,_bitshift64Shl=Module._bitshift64Shl=asm._bitshift64Shl,_memset=Module._memset=asm._memset,_sbrk=Module._sbrk=asm._sbrk,_memcpy=Module._memcpy=asm._memcpy,stackAlloc=Module.stackAlloc=asm.stackAlloc,___uremdi3=Module.___uremdi3=asm.___uremdi3,_nbind_init=Module._nbind_init=asm._nbind_init,_i64Subtract=Module._i64Subtract=asm._i64Subtract,setTempRet0=Module.setTempRet0=asm.setTempRet0,_i64Add=Module._i64Add=asm._i64Add,_emscripten_get_global_libc=Module._emscripten_get_global_libc=asm._emscripten_get_global_libc,__GLOBAL__sub_I_Yoga_cpp=Module.__GLOBAL__sub_I_Yoga_cpp=asm.__GLOBAL__sub_I_Yoga_cpp,__GLOBAL__sub_I_Binding_cc=Module.__GLOBAL__sub_I_Binding_cc=asm.__GLOBAL__sub_I_Binding_cc,stackSave=Module.stackSave=asm.stackSave,__GLOBAL__sub_I_nbind_cc=Module.__GLOBAL__sub_I_nbind_cc=asm.__GLOBAL__sub_I_nbind_cc,_free=Module._free=asm._free,runPostSets=Module.runPostSets=asm.runPostSets,establishStackSpace=Module.establishStackSpace=asm.establishStackSpace,_memmove=Module._memmove=asm._memmove,stackRestore=Module.stackRestore=asm.stackRestore,_malloc=Module._malloc=asm._malloc,__GLOBAL__sub_I_common_cc=Module.__GLOBAL__sub_I_common_cc=asm.__GLOBAL__sub_I_common_cc,dynCall_viiiii=Module.dynCall_viiiii=asm.dynCall_viiiii,dynCall_vif=Module.dynCall_vif=asm.dynCall_vif,dynCall_vid=Module.dynCall_vid=asm.dynCall_vid,dynCall_fiff=Module.dynCall_fiff=asm.dynCall_fiff,dynCall_vi=Module.dynCall_vi=asm.dynCall_vi,dynCall_vii=Module.dynCall_vii=asm.dynCall_vii,dynCall_ii=Module.dynCall_ii=asm.dynCall_ii,dynCall_viddi=Module.dynCall_viddi=asm.dynCall_viddi,dynCall_vidd=Module.dynCall_vidd=asm.dynCall_vidd,dynCall_iiii=Module.dynCall_iiii=asm.dynCall_iiii,dynCall_diii=Module.dynCall_diii=asm.dynCall_diii,dynCall_di=Module.dynCall_di=asm.dynCall_di,dynCall_iid=Module.dynCall_iid=asm.dynCall_iid,dynCall_iii=Module.dynCall_iii=asm.dynCall_iii,dynCall_viiddi=Module.dynCall_viiddi=asm.dynCall_viiddi,dynCall_viiiiii=Module.dynCall_viiiiii=asm.dynCall_viiiiii,dynCall_dii=Module.dynCall_dii=asm.dynCall_dii,dynCall_i=Module.dynCall_i=asm.dynCall_i,dynCall_iiiiii=Module.dynCall_iiiiii=asm.dynCall_iiiiii,dynCall_viiid=Module.dynCall_viiid=asm.dynCall_viiid,dynCall_viififi=Module.dynCall_viififi=asm.dynCall_viififi,dynCall_viii=Module.dynCall_viii=asm.dynCall_viii,dynCall_v=Module.dynCall_v=asm.dynCall_v,dynCall_viid=Module.dynCall_viid=asm.dynCall_viid,dynCall_idd=Module.dynCall_idd=asm.dynCall_idd,dynCall_viiii=Module.dynCall_viiii=asm.dynCall_viiii;Runtime.stackAlloc=Module.stackAlloc,Runtime.stackSave=Module.stackSave,Runtime.stackRestore=Module.stackRestore,Runtime.establishStackSpace=Module.establishStackSpace,Runtime.setTempRet0=Module.setTempRet0,Runtime.getTempRet0=Module.getTempRet0,Module.asm=asm;function ExitStatus(u){this.name="ExitStatus",this.message="Program terminated with exit("+u+")",this.status=u}ExitStatus.prototype=new Error,ExitStatus.prototype.constructor=ExitStatus;var initialStackTop,preloadStartTime=null,calledMain=!1;dependenciesFulfilled=function u(){Module.calledRun||run(),Module.calledRun||(dependenciesFulfilled=u)},Module.callMain=Module.callMain=function u(l){l=l||[],ensureInitRuntime();var c=l.length+1;function p(){for(var A=0;A<4-1;A++)_.push(0)}var _=[allocate(intArrayFromString(Module.thisProgram),"i8",ALLOC_NORMAL)];p();for(var t=0;t0||(preRun(),runDependencies>0)||Module.calledRun)return;function l(){Module.calledRun||(Module.calledRun=!0,!ABORT&&(ensureInitRuntime(),preMain(),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),Module._main&&shouldRunNow&&Module.callMain(u),postRun()))}Module.setStatus?(Module.setStatus("Running..."),setTimeout(function(){setTimeout(function(){Module.setStatus("")},1),l()},1)):l()}Module.run=Module.run=run;function exit(u,l){l&&Module.noExitRuntime||(Module.noExitRuntime||(ABORT=!0,EXITSTATUS=u,STACKTOP=initialStackTop,exitRuntime(),Module.onExit&&Module.onExit(u)),ENVIRONMENT_IS_NODE&&process.exit(u),Module.quit(u,new ExitStatus(u)))}Module.exit=Module.exit=exit;var abortDecorators=[];function abort(u){Module.onAbort&&Module.onAbort(u),u!==void 0?(Module.print(u),Module.printErr(u),u=JSON.stringify(u)):u="",ABORT=!0,EXITSTATUS=1;var l=` +If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.`,c="abort("+u+") at "+stackTrace()+l;throw abortDecorators&&abortDecorators.forEach(function(p){c=p(c,u)}),c}if(Module.abort=Module.abort=abort,Module.preInit)for(typeof Module.preInit=="function"&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var shouldRunNow=!0;Module.noInitialRun&&(shouldRunNow=!1),run()})});var a1=re((xre,eR)=>{"use strict";var OX=Z9(),MX=$9(),y3=!1,g3=null;MX({},function(u,l){if(!y3){if(y3=!0,u)throw u;g3=l}});if(!y3)throw new Error("Failed to load the yoga module - it needed to be loaded synchronously, but didn't");eR.exports=OX(g3.bind,g3.lib)});var nR=re((Rre,tR)=>{"use strict";tR.exports=({onlyFirst:u=!1}={})=>{let l=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(l,u?void 0:"g")}});var _3=re((Are,rR)=>{"use strict";var NX=nR();rR.exports=u=>typeof u=="string"?u.replace(NX(),""):u});var D3=re((kre,E3)=>{"use strict";var iR=u=>Number.isNaN(u)?!1:u>=4352&&(u<=4447||u===9001||u===9002||11904<=u&&u<=12871&&u!==12351||12880<=u&&u<=19903||19968<=u&&u<=42182||43360<=u&&u<=43388||44032<=u&&u<=55203||63744<=u&&u<=64255||65040<=u&&u<=65049||65072<=u&&u<=65131||65281<=u&&u<=65376||65504<=u&&u<=65510||110592<=u&&u<=110593||127488<=u&&u<=127569||131072<=u&&u<=262141);E3.exports=iR;E3.exports.default=iR});var uR=re((Ore,oR)=>{"use strict";oR.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}});var hg=re((Mre,w3)=>{"use strict";var FX=_3(),LX=D3(),bX=uR(),lR=u=>{if(typeof u!="string"||u.length===0||(u=FX(u),u.length===0))return 0;u=u.replace(bX()," ");let l=0;for(let c=0;c=127&&p<=159||p>=768&&p<=879||(p>65535&&c++,l+=LX(p)?2:1)}return l};w3.exports=lR;w3.exports.default=lR});var T3=re((Nre,S3)=>{"use strict";var PX=hg(),aR=u=>{let l=0;for(let c of u.split(` +`))l=Math.max(l,PX(c));return l};S3.exports=aR;S3.exports.default=aR});var sR=re(Nh=>{"use strict";var IX=Nh&&Nh.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Nh,"__esModule",{value:!0});var BX=IX(T3()),C3={};Nh.default=u=>{if(u.length===0)return{width:0,height:0};if(C3[u])return C3[u];let l=BX.default(u),c=u.split(` +`).length;return C3[u]={width:l,height:c},{width:l,height:c}}});var fR=re(Fh=>{"use strict";var UX=Fh&&Fh.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Fh,"__esModule",{value:!0});var Yr=UX(a1()),jX=(u,l)=>{"position"in l&&u.setPositionType(l.position==="absolute"?Yr.default.POSITION_TYPE_ABSOLUTE:Yr.default.POSITION_TYPE_RELATIVE)},zX=(u,l)=>{"marginLeft"in l&&u.setMargin(Yr.default.EDGE_START,l.marginLeft||0),"marginRight"in l&&u.setMargin(Yr.default.EDGE_END,l.marginRight||0),"marginTop"in l&&u.setMargin(Yr.default.EDGE_TOP,l.marginTop||0),"marginBottom"in l&&u.setMargin(Yr.default.EDGE_BOTTOM,l.marginBottom||0)},qX=(u,l)=>{"paddingLeft"in l&&u.setPadding(Yr.default.EDGE_LEFT,l.paddingLeft||0),"paddingRight"in l&&u.setPadding(Yr.default.EDGE_RIGHT,l.paddingRight||0),"paddingTop"in l&&u.setPadding(Yr.default.EDGE_TOP,l.paddingTop||0),"paddingBottom"in l&&u.setPadding(Yr.default.EDGE_BOTTOM,l.paddingBottom||0)},HX=(u,l)=>{var c;"flexGrow"in l&&u.setFlexGrow((c=l.flexGrow)!==null&&c!==void 0?c:0),"flexShrink"in l&&u.setFlexShrink(typeof l.flexShrink=="number"?l.flexShrink:1),"flexDirection"in l&&(l.flexDirection==="row"&&u.setFlexDirection(Yr.default.FLEX_DIRECTION_ROW),l.flexDirection==="row-reverse"&&u.setFlexDirection(Yr.default.FLEX_DIRECTION_ROW_REVERSE),l.flexDirection==="column"&&u.setFlexDirection(Yr.default.FLEX_DIRECTION_COLUMN),l.flexDirection==="column-reverse"&&u.setFlexDirection(Yr.default.FLEX_DIRECTION_COLUMN_REVERSE)),"flexBasis"in l&&(typeof l.flexBasis=="number"?u.setFlexBasis(l.flexBasis):typeof l.flexBasis=="string"?u.setFlexBasisPercent(Number.parseInt(l.flexBasis,10)):u.setFlexBasis(NaN)),"alignItems"in l&&((l.alignItems==="stretch"||!l.alignItems)&&u.setAlignItems(Yr.default.ALIGN_STRETCH),l.alignItems==="flex-start"&&u.setAlignItems(Yr.default.ALIGN_FLEX_START),l.alignItems==="center"&&u.setAlignItems(Yr.default.ALIGN_CENTER),l.alignItems==="flex-end"&&u.setAlignItems(Yr.default.ALIGN_FLEX_END)),"alignSelf"in l&&((l.alignSelf==="auto"||!l.alignSelf)&&u.setAlignSelf(Yr.default.ALIGN_AUTO),l.alignSelf==="flex-start"&&u.setAlignSelf(Yr.default.ALIGN_FLEX_START),l.alignSelf==="center"&&u.setAlignSelf(Yr.default.ALIGN_CENTER),l.alignSelf==="flex-end"&&u.setAlignSelf(Yr.default.ALIGN_FLEX_END)),"justifyContent"in l&&((l.justifyContent==="flex-start"||!l.justifyContent)&&u.setJustifyContent(Yr.default.JUSTIFY_FLEX_START),l.justifyContent==="center"&&u.setJustifyContent(Yr.default.JUSTIFY_CENTER),l.justifyContent==="flex-end"&&u.setJustifyContent(Yr.default.JUSTIFY_FLEX_END),l.justifyContent==="space-between"&&u.setJustifyContent(Yr.default.JUSTIFY_SPACE_BETWEEN),l.justifyContent==="space-around"&&u.setJustifyContent(Yr.default.JUSTIFY_SPACE_AROUND))},WX=(u,l)=>{var c,p;"width"in l&&(typeof l.width=="number"?u.setWidth(l.width):typeof l.width=="string"?u.setWidthPercent(Number.parseInt(l.width,10)):u.setWidthAuto()),"height"in l&&(typeof l.height=="number"?u.setHeight(l.height):typeof l.height=="string"?u.setHeightPercent(Number.parseInt(l.height,10)):u.setHeightAuto()),"minWidth"in l&&(typeof l.minWidth=="string"?u.setMinWidthPercent(Number.parseInt(l.minWidth,10)):u.setMinWidth((c=l.minWidth)!==null&&c!==void 0?c:0)),"minHeight"in l&&(typeof l.minHeight=="string"?u.setMinHeightPercent(Number.parseInt(l.minHeight,10)):u.setMinHeight((p=l.minHeight)!==null&&p!==void 0?p:0))},VX=(u,l)=>{"display"in l&&u.setDisplay(l.display==="flex"?Yr.default.DISPLAY_FLEX:Yr.default.DISPLAY_NONE)},GX=(u,l)=>{if("borderStyle"in l){let c=typeof l.borderStyle=="string"?1:0;u.setBorder(Yr.default.EDGE_TOP,c),u.setBorder(Yr.default.EDGE_BOTTOM,c),u.setBorder(Yr.default.EDGE_LEFT,c),u.setBorder(Yr.default.EDGE_RIGHT,c)}};Fh.default=(u,l={})=>{jX(u,l),zX(u,l),qX(u,l),HX(u,l),WX(u,l),VX(u,l),GX(u,l)}});var dR=re((bre,cR)=>{"use strict";cR.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var x3=re((Pre,hR)=>{var Lh=dR(),pR={};for(let u of Object.keys(Lh))pR[Lh[u]]=u;var fn={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};hR.exports=fn;for(let u of Object.keys(fn)){if(!("channels"in fn[u]))throw new Error("missing channels property: "+u);if(!("labels"in fn[u]))throw new Error("missing channel labels property: "+u);if(fn[u].labels.length!==fn[u].channels)throw new Error("channel and label counts mismatch: "+u);let{channels:l,labels:c}=fn[u];delete fn[u].channels,delete fn[u].labels,Object.defineProperty(fn[u],"channels",{value:l}),Object.defineProperty(fn[u],"labels",{value:c})}fn.rgb.hsl=function(u){let l=u[0]/255,c=u[1]/255,p=u[2]/255,_=Math.min(l,c,p),t=Math.max(l,c,p),O=t-_,M,A;t===_?M=0:l===t?M=(c-p)/O:c===t?M=2+(p-l)/O:p===t&&(M=4+(l-c)/O),M=Math.min(M*60,360),M<0&&(M+=360);let T=(_+t)/2;return t===_?A=0:T<=.5?A=O/(t+_):A=O/(2-t-_),[M,A*100,T*100]};fn.rgb.hsv=function(u){let l,c,p,_,t,O=u[0]/255,M=u[1]/255,A=u[2]/255,T=Math.max(O,M,A),P=T-Math.min(O,M,A),U=function(z){return(T-z)/6/P+1/2};return P===0?(_=0,t=0):(t=P/T,l=U(O),c=U(M),p=U(A),O===T?_=p-c:M===T?_=1/3+l-p:A===T&&(_=2/3+c-l),_<0?_+=1:_>1&&(_-=1)),[_*360,t*100,T*100]};fn.rgb.hwb=function(u){let l=u[0],c=u[1],p=u[2],_=fn.rgb.hsl(u)[0],t=1/255*Math.min(l,Math.min(c,p));return p=1-1/255*Math.max(l,Math.max(c,p)),[_,t*100,p*100]};fn.rgb.cmyk=function(u){let l=u[0]/255,c=u[1]/255,p=u[2]/255,_=Math.min(1-l,1-c,1-p),t=(1-l-_)/(1-_)||0,O=(1-c-_)/(1-_)||0,M=(1-p-_)/(1-_)||0;return[t*100,O*100,M*100,_*100]};function YX(u,l){return(u[0]-l[0])**2+(u[1]-l[1])**2+(u[2]-l[2])**2}fn.rgb.keyword=function(u){let l=pR[u];if(l)return l;let c=1/0,p;for(let _ of Object.keys(Lh)){let t=Lh[_],O=YX(u,t);O.04045?((l+.055)/1.055)**2.4:l/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92,p=p>.04045?((p+.055)/1.055)**2.4:p/12.92;let _=l*.4124+c*.3576+p*.1805,t=l*.2126+c*.7152+p*.0722,O=l*.0193+c*.1192+p*.9505;return[_*100,t*100,O*100]};fn.rgb.lab=function(u){let l=fn.rgb.xyz(u),c=l[0],p=l[1],_=l[2];c/=95.047,p/=100,_/=108.883,c=c>.008856?c**(1/3):7.787*c+16/116,p=p>.008856?p**(1/3):7.787*p+16/116,_=_>.008856?_**(1/3):7.787*_+16/116;let t=116*p-16,O=500*(c-p),M=200*(p-_);return[t,O,M]};fn.hsl.rgb=function(u){let l=u[0]/360,c=u[1]/100,p=u[2]/100,_,t,O;if(c===0)return O=p*255,[O,O,O];p<.5?_=p*(1+c):_=p+c-p*c;let M=2*p-_,A=[0,0,0];for(let T=0;T<3;T++)t=l+1/3*-(T-1),t<0&&t++,t>1&&t--,6*t<1?O=M+(_-M)*6*t:2*t<1?O=_:3*t<2?O=M+(_-M)*(2/3-t)*6:O=M,A[T]=O*255;return A};fn.hsl.hsv=function(u){let l=u[0],c=u[1]/100,p=u[2]/100,_=c,t=Math.max(p,.01);p*=2,c*=p<=1?p:2-p,_*=t<=1?t:2-t;let O=(p+c)/2,M=p===0?2*_/(t+_):2*c/(p+c);return[l,M*100,O*100]};fn.hsv.rgb=function(u){let l=u[0]/60,c=u[1]/100,p=u[2]/100,_=Math.floor(l)%6,t=l-Math.floor(l),O=255*p*(1-c),M=255*p*(1-c*t),A=255*p*(1-c*(1-t));switch(p*=255,_){case 0:return[p,A,O];case 1:return[M,p,O];case 2:return[O,p,A];case 3:return[O,M,p];case 4:return[A,O,p];case 5:return[p,O,M]}};fn.hsv.hsl=function(u){let l=u[0],c=u[1]/100,p=u[2]/100,_=Math.max(p,.01),t,O;O=(2-c)*p;let M=(2-c)*_;return t=c*_,t/=M<=1?M:2-M,t=t||0,O/=2,[l,t*100,O*100]};fn.hwb.rgb=function(u){let l=u[0]/360,c=u[1]/100,p=u[2]/100,_=c+p,t;_>1&&(c/=_,p/=_);let O=Math.floor(6*l),M=1-p;t=6*l-O,(O&1)!==0&&(t=1-t);let A=c+t*(M-c),T,P,U;switch(O){default:case 6:case 0:T=M,P=A,U=c;break;case 1:T=A,P=M,U=c;break;case 2:T=c,P=M,U=A;break;case 3:T=c,P=A,U=M;break;case 4:T=A,P=c,U=M;break;case 5:T=M,P=c,U=A;break}return[T*255,P*255,U*255]};fn.cmyk.rgb=function(u){let l=u[0]/100,c=u[1]/100,p=u[2]/100,_=u[3]/100,t=1-Math.min(1,l*(1-_)+_),O=1-Math.min(1,c*(1-_)+_),M=1-Math.min(1,p*(1-_)+_);return[t*255,O*255,M*255]};fn.xyz.rgb=function(u){let l=u[0]/100,c=u[1]/100,p=u[2]/100,_,t,O;return _=l*3.2406+c*-1.5372+p*-.4986,t=l*-.9689+c*1.8758+p*.0415,O=l*.0557+c*-.204+p*1.057,_=_>.0031308?1.055*_**(1/2.4)-.055:_*12.92,t=t>.0031308?1.055*t**(1/2.4)-.055:t*12.92,O=O>.0031308?1.055*O**(1/2.4)-.055:O*12.92,_=Math.min(Math.max(0,_),1),t=Math.min(Math.max(0,t),1),O=Math.min(Math.max(0,O),1),[_*255,t*255,O*255]};fn.xyz.lab=function(u){let l=u[0],c=u[1],p=u[2];l/=95.047,c/=100,p/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,p=p>.008856?p**(1/3):7.787*p+16/116;let _=116*c-16,t=500*(l-c),O=200*(c-p);return[_,t,O]};fn.lab.xyz=function(u){let l=u[0],c=u[1],p=u[2],_,t,O;t=(l+16)/116,_=c/500+t,O=t-p/200;let M=t**3,A=_**3,T=O**3;return t=M>.008856?M:(t-16/116)/7.787,_=A>.008856?A:(_-16/116)/7.787,O=T>.008856?T:(O-16/116)/7.787,_*=95.047,t*=100,O*=108.883,[_,t,O]};fn.lab.lch=function(u){let l=u[0],c=u[1],p=u[2],_;_=Math.atan2(p,c)*360/2/Math.PI,_<0&&(_+=360);let O=Math.sqrt(c*c+p*p);return[l,O,_]};fn.lch.lab=function(u){let l=u[0],c=u[1],_=u[2]/360*2*Math.PI,t=c*Math.cos(_),O=c*Math.sin(_);return[l,t,O]};fn.rgb.ansi16=function(u,l=null){let[c,p,_]=u,t=l===null?fn.rgb.hsv(u)[2]:l;if(t=Math.round(t/50),t===0)return 30;let O=30+(Math.round(_/255)<<2|Math.round(p/255)<<1|Math.round(c/255));return t===2&&(O+=60),O};fn.hsv.ansi16=function(u){return fn.rgb.ansi16(fn.hsv.rgb(u),u[2])};fn.rgb.ansi256=function(u){let l=u[0],c=u[1],p=u[2];return l===c&&c===p?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(c/255*5)+Math.round(p/255*5)};fn.ansi16.rgb=function(u){let l=u%10;if(l===0||l===7)return u>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let c=(~~(u>50)+1)*.5,p=(l&1)*c*255,_=(l>>1&1)*c*255,t=(l>>2&1)*c*255;return[p,_,t]};fn.ansi256.rgb=function(u){if(u>=232){let t=(u-232)*10+8;return[t,t,t]}u-=16;let l,c=Math.floor(u/36)/5*255,p=Math.floor((l=u%36)/6)/5*255,_=l%6/5*255;return[c,p,_]};fn.rgb.hex=function(u){let c=(((Math.round(u[0])&255)<<16)+((Math.round(u[1])&255)<<8)+(Math.round(u[2])&255)).toString(16).toUpperCase();return"000000".substring(c.length)+c};fn.hex.rgb=function(u){let l=u.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let c=l[0];l[0].length===3&&(c=c.split("").map(M=>M+M).join(""));let p=parseInt(c,16),_=p>>16&255,t=p>>8&255,O=p&255;return[_,t,O]};fn.rgb.hcg=function(u){let l=u[0]/255,c=u[1]/255,p=u[2]/255,_=Math.max(Math.max(l,c),p),t=Math.min(Math.min(l,c),p),O=_-t,M,A;return O<1?M=t/(1-O):M=0,O<=0?A=0:_===l?A=(c-p)/O%6:_===c?A=2+(p-l)/O:A=4+(l-c)/O,A/=6,A%=1,[A*360,O*100,M*100]};fn.hsl.hcg=function(u){let l=u[1]/100,c=u[2]/100,p=c<.5?2*l*c:2*l*(1-c),_=0;return p<1&&(_=(c-.5*p)/(1-p)),[u[0],p*100,_*100]};fn.hsv.hcg=function(u){let l=u[1]/100,c=u[2]/100,p=l*c,_=0;return p<1&&(_=(c-p)/(1-p)),[u[0],p*100,_*100]};fn.hcg.rgb=function(u){let l=u[0]/360,c=u[1]/100,p=u[2]/100;if(c===0)return[p*255,p*255,p*255];let _=[0,0,0],t=l%1*6,O=t%1,M=1-O,A=0;switch(Math.floor(t)){case 0:_[0]=1,_[1]=O,_[2]=0;break;case 1:_[0]=M,_[1]=1,_[2]=0;break;case 2:_[0]=0,_[1]=1,_[2]=O;break;case 3:_[0]=0,_[1]=M,_[2]=1;break;case 4:_[0]=O,_[1]=0,_[2]=1;break;default:_[0]=1,_[1]=0,_[2]=M}return A=(1-c)*p,[(c*_[0]+A)*255,(c*_[1]+A)*255,(c*_[2]+A)*255]};fn.hcg.hsv=function(u){let l=u[1]/100,c=u[2]/100,p=l+c*(1-l),_=0;return p>0&&(_=l/p),[u[0],_*100,p*100]};fn.hcg.hsl=function(u){let l=u[1]/100,p=u[2]/100*(1-l)+.5*l,_=0;return p>0&&p<.5?_=l/(2*p):p>=.5&&p<1&&(_=l/(2*(1-p))),[u[0],_*100,p*100]};fn.hcg.hwb=function(u){let l=u[1]/100,c=u[2]/100,p=l+c*(1-l);return[u[0],(p-l)*100,(1-p)*100]};fn.hwb.hcg=function(u){let l=u[1]/100,p=1-u[2]/100,_=p-l,t=0;return _<1&&(t=(p-_)/(1-_)),[u[0],_*100,t*100]};fn.apple.rgb=function(u){return[u[0]/65535*255,u[1]/65535*255,u[2]/65535*255]};fn.rgb.apple=function(u){return[u[0]/255*65535,u[1]/255*65535,u[2]/255*65535]};fn.gray.rgb=function(u){return[u[0]/100*255,u[0]/100*255,u[0]/100*255]};fn.gray.hsl=function(u){return[0,0,u[0]]};fn.gray.hsv=fn.gray.hsl;fn.gray.hwb=function(u){return[0,100,u[0]]};fn.gray.cmyk=function(u){return[0,0,0,u[0]]};fn.gray.lab=function(u){return[u[0],0,0]};fn.gray.hex=function(u){let l=Math.round(u[0]/100*255)&255,p=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(p.length)+p};fn.rgb.gray=function(u){return[(u[0]+u[1]+u[2])/3/255*100]}});var mR=re((Ire,vR)=>{var vg=x3();function KX(){let u={},l=Object.keys(vg);for(let c=l.length,p=0;p{var R3=x3(),ZX=mR(),$2={},$X=Object.keys(R3);function eQ(u){let l=function(...c){let p=c[0];return p==null?p:(p.length>1&&(c=p),u(c))};return"conversion"in u&&(l.conversion=u.conversion),l}function tQ(u){let l=function(...c){let p=c[0];if(p==null)return p;p.length>1&&(c=p);let _=u(c);if(typeof _=="object")for(let t=_.length,O=0;O{$2[u]={},Object.defineProperty($2[u],"channels",{value:R3[u].channels}),Object.defineProperty($2[u],"labels",{value:R3[u].labels});let l=ZX(u);Object.keys(l).forEach(p=>{let _=l[p];$2[u][p]=tQ(_),$2[u][p].raw=eQ(_)})});yR.exports=$2});var yg=re((Ure,SR)=>{"use strict";var _R=(u,l)=>(...c)=>`\x1B[${u(...c)+l}m`,ER=(u,l)=>(...c)=>{let p=u(...c);return`\x1B[${38+l};5;${p}m`},DR=(u,l)=>(...c)=>{let p=u(...c);return`\x1B[${38+l};2;${p[0]};${p[1]};${p[2]}m`},mg=u=>u,wR=(u,l,c)=>[u,l,c],ed=(u,l,c)=>{Object.defineProperty(u,l,{get:()=>{let p=c();return Object.defineProperty(u,l,{value:p,enumerable:!0,configurable:!0}),p},enumerable:!0,configurable:!0})},A3,td=(u,l,c,p)=>{A3===void 0&&(A3=gR());let _=p?10:0,t={};for(let[O,M]of Object.entries(A3)){let A=O==="ansi16"?"ansi":O;O===l?t[A]=u(c,_):typeof M=="object"&&(t[A]=u(M[l],_))}return t};function nQ(){let u=new Map,l={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};l.color.gray=l.color.blackBright,l.bgColor.bgGray=l.bgColor.bgBlackBright,l.color.grey=l.color.blackBright,l.bgColor.bgGrey=l.bgColor.bgBlackBright;for(let[c,p]of Object.entries(l)){for(let[_,t]of Object.entries(p))l[_]={open:`\x1B[${t[0]}m`,close:`\x1B[${t[1]}m`},p[_]=l[_],u.set(t[0],t[1]);Object.defineProperty(l,c,{value:p,enumerable:!1})}return Object.defineProperty(l,"codes",{value:u,enumerable:!1}),l.color.close="\x1B[39m",l.bgColor.close="\x1B[49m",ed(l.color,"ansi",()=>td(_R,"ansi16",mg,!1)),ed(l.color,"ansi256",()=>td(ER,"ansi256",mg,!1)),ed(l.color,"ansi16m",()=>td(DR,"rgb",wR,!1)),ed(l.bgColor,"ansi",()=>td(_R,"ansi16",mg,!0)),ed(l.bgColor,"ansi256",()=>td(ER,"ansi256",mg,!0)),ed(l.bgColor,"ansi16m",()=>td(DR,"rgb",wR,!0)),l}Object.defineProperty(SR,"exports",{enumerable:!0,get:nQ})});var xR=re((jre,CR)=>{"use strict";var bh=hg(),rQ=_3(),iQ=yg(),O3=new Set(["\x1B","\x9B"]),oQ=39,TR=u=>`${O3.values().next().value}[${u}m`,uQ=u=>u.split(" ").map(l=>bh(l)),k3=(u,l,c)=>{let p=[...l],_=!1,t=bh(rQ(u[u.length-1]));for(let[O,M]of p.entries()){let A=bh(M);if(t+A<=c?u[u.length-1]+=M:(u.push(M),t=0),O3.has(M))_=!0;else if(_&&M==="m"){_=!1;continue}_||(t+=A,t===c&&O0&&u.length>1&&(u[u.length-2]+=u.pop())},lQ=u=>{let l=u.split(" "),c=l.length;for(;c>0&&!(bh(l[c-1])>0);)c--;return c===l.length?u:l.slice(0,c).join(" ")+l.slice(c).join("")},aQ=(u,l,c={})=>{if(c.trim!==!1&&u.trim()==="")return"";let p="",_="",t,O=uQ(u),M=[""];for(let[A,T]of u.split(" ").entries()){c.trim!==!1&&(M[M.length-1]=M[M.length-1].trimLeft());let P=bh(M[M.length-1]);if(A!==0&&(P>=l&&(c.wordWrap===!1||c.trim===!1)&&(M.push(""),P=0),(P>0||c.trim===!1)&&(M[M.length-1]+=" ",P++)),c.hard&&O[A]>l){let U=l-P,z=1+Math.floor((O[A]-U-1)/l);Math.floor((O[A]-1)/l)l&&P>0&&O[A]>0){if(c.wordWrap===!1&&Pl&&c.wordWrap===!1){k3(M,T,l);continue}M[M.length-1]+=T}c.trim!==!1&&(M=M.map(lQ)),p=M.join(` +`);for(let[A,T]of[...p].entries()){if(_+=T,O3.has(T)){let U=parseFloat(/\d[^m]*/.exec(p.slice(A,A+4)));t=U===oQ?null:U}let P=iQ.codes.get(Number(t));t&&P&&(p[A+1]===` +`?_+=TR(P):T===` +`&&(_+=TR(t)))}return _};CR.exports=(u,l,c)=>String(u).normalize().replace(/\r\n/g,` +`).split(` +`).map(p=>aQ(p,l,c)).join(` +`)});var kR=re((zre,AR)=>{"use strict";var RR="[\uD800-\uDBFF][\uDC00-\uDFFF]",sQ=u=>u&&u.exact?new RegExp(`^${RR}$`):new RegExp(RR,"g");AR.exports=sQ});var M3=re((qre,FR)=>{"use strict";var fQ=D3(),cQ=kR(),OR=yg(),NR=["\x1B","\x9B"],gg=u=>`${NR[0]}[${u}m`,MR=(u,l,c)=>{let p=[];u=[...u];for(let _ of u){let t=_;_.match(";")&&(_=_.split(";")[0][0]+"0");let O=OR.codes.get(parseInt(_,10));if(O){let M=u.indexOf(O.toString());M>=0?u.splice(M,1):p.push(gg(l?O:t))}else if(l){p.push(gg(0));break}else p.push(gg(t))}if(l&&(p=p.filter((_,t)=>p.indexOf(_)===t),c!==void 0)){let _=gg(OR.codes.get(parseInt(c,10)));p=p.reduce((t,O)=>O===_?[O,...t]:[...t,O],[])}return p.join("")};FR.exports=(u,l,c)=>{let p=[...u.normalize()],_=[];c=typeof c=="number"?c:p.length;let t=!1,O,M=0,A="";for(let[T,P]of p.entries()){let U=!1;if(NR.includes(P)){let z=/\d[^m]*/.exec(u.slice(T,T+18));O=z&&z.length>0?z[0]:void 0,Ml&&M<=c)A+=P;else if(M===l&&!t&&O!==void 0)A=MR(_);else if(M>=c){A+=MR(_,!0,O);break}}return A}});var bR=re((Hre,LR)=>{"use strict";var hc=M3(),dQ=hg();function _g(u,l,c){if(u.charAt(l)===" ")return l;for(let p=1;p<=3;p++)if(c){if(u.charAt(l+p)===" ")return l+p}else if(u.charAt(l-p)===" ")return l-p;return l}LR.exports=(u,l,c)=>{c={position:"end",preferTruncationOnSpace:!1,...c};let{position:p,space:_,preferTruncationOnSpace:t}=c,O="\u2026",M=1;if(typeof u!="string")throw new TypeError(`Expected \`input\` to be a string, got ${typeof u}`);if(typeof l!="number")throw new TypeError(`Expected \`columns\` to be a number, got ${typeof l}`);if(l<1)return"";if(l===1)return O;let A=dQ(u);if(A<=l)return u;if(p==="start"){if(t){let T=_g(u,A-l+1,!0);return O+hc(u,T,A).trim()}return _===!0&&(O+=" ",M=2),O+hc(u,A-l+M,A)}if(p==="middle"){_===!0&&(O=" "+O+" ",M=3);let T=Math.floor(l/2);if(t){let P=_g(u,T),U=_g(u,A-(l-T)+1,!0);return hc(u,0,P)+O+hc(u,U,A).trim()}return hc(u,0,T)+O+hc(u,A-(l-T)+M,A)}if(p==="end"){if(t){let T=_g(u,l-1);return hc(u,0,T)+O}return _===!0&&(O=" "+O,M=2),hc(u,0,l-M)+O}throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${p}`)}});var F3=re(Ph=>{"use strict";var PR=Ph&&Ph.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Ph,"__esModule",{value:!0});var pQ=PR(xR()),hQ=PR(bR()),N3={};Ph.default=(u,l,c)=>{let p=u+String(l)+String(c);if(N3[p])return N3[p];let _=u;if(c==="wrap"&&(_=pQ.default(u,l,{trim:!1,hard:!0})),c.startsWith("truncate")){let t="end";c==="truncate-middle"&&(t="middle"),c==="truncate-start"&&(t="start"),_=hQ.default(u,l,{position:t})}return N3[p]=_,_}});var b3=re(L3=>{"use strict";Object.defineProperty(L3,"__esModule",{value:!0});var IR=u=>{let l="";if(u.childNodes.length>0)for(let c of u.childNodes){let p="";c.nodeName==="#text"?p=c.nodeValue:((c.nodeName==="ink-text"||c.nodeName==="ink-virtual-text")&&(p=IR(c)),p.length>0&&typeof c.internal_transform=="function"&&(p=c.internal_transform(p))),l+=p}return l};L3.default=IR});var P3=re(Wi=>{"use strict";var Ih=Wi&&Wi.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Wi,"__esModule",{value:!0});Wi.setTextNodeValue=Wi.createTextNode=Wi.setStyle=Wi.setAttribute=Wi.removeChildNode=Wi.insertBeforeNode=Wi.appendChildNode=Wi.createNode=Wi.TEXT_NAME=void 0;var vQ=Ih(a1()),BR=Ih(sR()),mQ=Ih(fR()),yQ=Ih(F3()),gQ=Ih(b3());Wi.TEXT_NAME="#text";Wi.createNode=u=>{var l;let c={nodeName:u,style:{},attributes:{},childNodes:[],parentNode:null,yogaNode:u==="ink-virtual-text"?void 0:vQ.default.Node.create()};return u==="ink-text"&&((l=c.yogaNode)===null||l===void 0||l.setMeasureFunc(_Q.bind(null,c))),c};Wi.appendChildNode=(u,l)=>{var c;l.parentNode&&Wi.removeChildNode(l.parentNode,l),l.parentNode=u,u.childNodes.push(l),l.yogaNode&&((c=u.yogaNode)===null||c===void 0||c.insertChild(l.yogaNode,u.yogaNode.getChildCount())),(u.nodeName==="ink-text"||u.nodeName==="ink-virtual-text")&&Eg(u)};Wi.insertBeforeNode=(u,l,c)=>{var p,_;l.parentNode&&Wi.removeChildNode(l.parentNode,l),l.parentNode=u;let t=u.childNodes.indexOf(c);if(t>=0){u.childNodes.splice(t,0,l),l.yogaNode&&((p=u.yogaNode)===null||p===void 0||p.insertChild(l.yogaNode,t));return}u.childNodes.push(l),l.yogaNode&&((_=u.yogaNode)===null||_===void 0||_.insertChild(l.yogaNode,u.yogaNode.getChildCount())),(u.nodeName==="ink-text"||u.nodeName==="ink-virtual-text")&&Eg(u)};Wi.removeChildNode=(u,l)=>{var c,p;l.yogaNode&&((p=(c=l.parentNode)===null||c===void 0?void 0:c.yogaNode)===null||p===void 0||p.removeChild(l.yogaNode)),l.parentNode=null;let _=u.childNodes.indexOf(l);_>=0&&u.childNodes.splice(_,1),(u.nodeName==="ink-text"||u.nodeName==="ink-virtual-text")&&Eg(u)};Wi.setAttribute=(u,l,c)=>{u.attributes[l]=c};Wi.setStyle=(u,l)=>{u.style=l,u.yogaNode&&mQ.default(u.yogaNode,l)};Wi.createTextNode=u=>{let l={nodeName:"#text",nodeValue:u,yogaNode:void 0,parentNode:null,style:{}};return Wi.setTextNodeValue(l,u),l};var _Q=function(u,l){var c,p;let _=u.nodeName==="#text"?u.nodeValue:gQ.default(u),t=BR.default(_);if(t.width<=l||t.width>=1&&l>0&&l<1)return t;let O=(p=(c=u.style)===null||c===void 0?void 0:c.textWrap)!==null&&p!==void 0?p:"wrap",M=yQ.default(_,l,O);return BR.default(M)},UR=u=>{var l;if(!(!u||!u.parentNode))return(l=u.yogaNode)!==null&&l!==void 0?l:UR(u.parentNode)},Eg=u=>{let l=UR(u);l==null||l.markDirty()};Wi.setTextNodeValue=(u,l)=>{typeof l!="string"&&(l=String(l)),u.nodeValue=l,Eg(u)}});var s1=re((Yre,jR)=>{"use strict";jR.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),EMPTY_BUFFER:Buffer.alloc(0),NOOP:()=>{}}});var Bh=re((Kre,I3)=>{"use strict";var{EMPTY_BUFFER:EQ}=s1();function zR(u,l){if(u.length===0)return EQ;if(u.length===1)return u[0];let c=Buffer.allocUnsafe(l),p=0;for(let _=0;_{"use strict";var VR=Symbol("kDone"),B3=Symbol("kRun"),U3=class{constructor(l){this[VR]=()=>{this.pending--,this[B3]()},this.concurrency=l||1/0,this.jobs=[],this.pending=0}add(l){this.jobs.push(l),this[B3]()}[B3](){if(this.pending!==this.concurrency&&this.jobs.length){let l=this.jobs.shift();this.pending++,l(this[VR])}}};GR.exports=U3});var zh=re((Qre,JR)=>{"use strict";var Uh=Kn("zlib"),KR=Bh(),DQ=YR(),{kStatusCode:XR,NOOP:wQ}=s1(),SQ=Buffer.from([0,0,255,255]),Sg=Symbol("permessage-deflate"),gf=Symbol("total-length"),jh=Symbol("callback"),vc=Symbol("buffers"),j3=Symbol("error"),wg,z3=class{constructor(l,c,p){if(this._maxPayload=p|0,this._options=l||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._isServer=!!c,this._deflate=null,this._inflate=null,this.params=null,!wg){let _=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;wg=new DQ(_)}}static get extensionName(){return"permessage-deflate"}offer(){let l={};return this._options.serverNoContextTakeover&&(l.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(l.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(l.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?l.client_max_window_bits=this._options.clientMaxWindowBits:this._options.clientMaxWindowBits==null&&(l.client_max_window_bits=!0),l}accept(l){return l=this.normalizeParams(l),this.params=this._isServer?this.acceptAsServer(l):this.acceptAsClient(l),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let l=this._deflate[jh];this._deflate.close(),this._deflate=null,l&&l(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(l){let c=this._options,p=l.find(_=>!(c.serverNoContextTakeover===!1&&_.server_no_context_takeover||_.server_max_window_bits&&(c.serverMaxWindowBits===!1||typeof c.serverMaxWindowBits=="number"&&c.serverMaxWindowBits>_.server_max_window_bits)||typeof c.clientMaxWindowBits=="number"&&!_.client_max_window_bits));if(!p)throw new Error("None of the extension offers can be accepted");return c.serverNoContextTakeover&&(p.server_no_context_takeover=!0),c.clientNoContextTakeover&&(p.client_no_context_takeover=!0),typeof c.serverMaxWindowBits=="number"&&(p.server_max_window_bits=c.serverMaxWindowBits),typeof c.clientMaxWindowBits=="number"?p.client_max_window_bits=c.clientMaxWindowBits:(p.client_max_window_bits===!0||c.clientMaxWindowBits===!1)&&delete p.client_max_window_bits,p}acceptAsClient(l){let c=l[0];if(this._options.clientNoContextTakeover===!1&&c.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(!c.client_max_window_bits)typeof this._options.clientMaxWindowBits=="number"&&(c.client_max_window_bits=this._options.clientMaxWindowBits);else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits=="number"&&c.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"');return c}normalizeParams(l){return l.forEach(c=>{Object.keys(c).forEach(p=>{let _=c[p];if(_.length>1)throw new Error(`Parameter "${p}" must have only a single value`);if(_=_[0],p==="client_max_window_bits"){if(_!==!0){let t=+_;if(!Number.isInteger(t)||t<8||t>15)throw new TypeError(`Invalid value for parameter "${p}": ${_}`);_=t}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${p}": ${_}`)}else if(p==="server_max_window_bits"){let t=+_;if(!Number.isInteger(t)||t<8||t>15)throw new TypeError(`Invalid value for parameter "${p}": ${_}`);_=t}else if(p==="client_no_context_takeover"||p==="server_no_context_takeover"){if(_!==!0)throw new TypeError(`Invalid value for parameter "${p}": ${_}`)}else throw new Error(`Unknown parameter "${p}"`);c[p]=_})}),l}decompress(l,c,p){wg.add(_=>{this._decompress(l,c,(t,O)=>{_(),p(t,O)})})}compress(l,c,p){wg.add(_=>{this._compress(l,c,(t,O)=>{_(),p(t,O)})})}_decompress(l,c,p){let _=this._isServer?"client":"server";if(!this._inflate){let t=`${_}_max_window_bits`,O=typeof this.params[t]!="number"?Uh.Z_DEFAULT_WINDOWBITS:this.params[t];this._inflate=Uh.createInflateRaw({...this._options.zlibInflateOptions,windowBits:O}),this._inflate[Sg]=this,this._inflate[gf]=0,this._inflate[vc]=[],this._inflate.on("error",CQ),this._inflate.on("data",QR)}this._inflate[jh]=p,this._inflate.write(l),c&&this._inflate.write(SQ),this._inflate.flush(()=>{let t=this._inflate[j3];if(t){this._inflate.close(),this._inflate=null,p(t);return}let O=KR.concat(this._inflate[vc],this._inflate[gf]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[gf]=0,this._inflate[vc]=[],c&&this.params[`${_}_no_context_takeover`]&&this._inflate.reset()),p(null,O)})}_compress(l,c,p){let _=this._isServer?"server":"client";if(!this._deflate){let t=`${_}_max_window_bits`,O=typeof this.params[t]!="number"?Uh.Z_DEFAULT_WINDOWBITS:this.params[t];this._deflate=Uh.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:O}),this._deflate[gf]=0,this._deflate[vc]=[],this._deflate.on("error",wQ),this._deflate.on("data",TQ)}this._deflate[jh]=p,this._deflate.write(l),this._deflate.flush(Uh.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let t=KR.concat(this._deflate[vc],this._deflate[gf]);c&&(t=t.slice(0,t.length-4)),this._deflate[jh]=null,this._deflate[gf]=0,this._deflate[vc]=[],c&&this.params[`${_}_no_context_takeover`]&&this._deflate.reset(),p(null,t)})}};JR.exports=z3;function TQ(u){this[vc].push(u),this[gf]+=u.length}function QR(u){if(this[gf]+=u.length,this[Sg]._maxPayload<1||this[gf]<=this[Sg]._maxPayload){this[vc].push(u);return}this[j3]=new RangeError("Max payload size exceeded"),this[j3][XR]=1009,this.removeListener("data",QR),this.reset()}function CQ(u){this[Sg]._inflate=null,u[XR]=1007,this[jh](u)}});var H3=re((Jre,q3)=>{"use strict";function ZR(u){return u>=1e3&&u<=1014&&u!==1004&&u!==1005&&u!==1006||u>=3e3&&u<=4999}function $R(u){let l=u.length,c=0;for(;c=l||(u[c+1]&192)!==128||(u[c+2]&192)!==128||u[c]===224&&(u[c+1]&224)===128||u[c]===237&&(u[c+1]&224)===160)return!1;c+=3}else if((u[c]&248)===240){if(c+3>=l||(u[c+1]&192)!==128||(u[c+2]&192)!==128||(u[c+3]&192)!==128||u[c]===240&&(u[c+1]&240)===128||u[c]===244&&u[c+1]>143||u[c]>244)return!1;c+=4}else return!1;return!0}try{let u=Kn("utf-8-validate");typeof u=="object"&&(u=u.Validation.isValidUTF8),q3.exports={isValidStatusCode:ZR,isValidUTF8(l){return l.length<150?$R(l):u(l)}}}catch{q3.exports={isValidStatusCode:ZR,isValidUTF8:$R}}});var Y3=re((Zre,o7)=>{"use strict";var{Writable:xQ}=Kn("stream"),e7=zh(),{BINARY_TYPES:RQ,EMPTY_BUFFER:AQ,kStatusCode:kQ,kWebSocket:OQ}=s1(),{concat:W3,toArrayBuffer:MQ,unmask:NQ}=Bh(),{isValidStatusCode:FQ,isValidUTF8:t7}=H3(),qh=0,n7=1,r7=2,i7=3,V3=4,LQ=5,G3=class extends xQ{constructor(l,c,p,_){super(),this._binaryType=l||RQ[0],this[OQ]=void 0,this._extensions=c||{},this._isServer=!!p,this._maxPayload=_|0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._state=qh,this._loop=!1}_write(l,c,p){if(this._opcode===8&&this._state==qh)return p();this._bufferedBytes+=l.length,this._buffers.push(l),this.startLoop(p)}consume(l){if(this._bufferedBytes-=l,l===this._buffers[0].length)return this._buffers.shift();if(l=p.length?c.set(this._buffers.shift(),_):(c.set(new Uint8Array(p.buffer,p.byteOffset,l),_),this._buffers[0]=p.slice(l)),l-=p.length}while(l>0);return c}startLoop(l){let c;this._loop=!0;do switch(this._state){case qh:c=this.getInfo();break;case n7:c=this.getPayloadLength16();break;case r7:c=this.getPayloadLength64();break;case i7:this.getMask();break;case V3:c=this.getData(l);break;default:this._loop=!1;return}while(this._loop);l(c)}getInfo(){if(this._bufferedBytes<2){this._loop=!1;return}let l=this.consume(2);if((l[0]&48)!==0)return this._loop=!1,eo(RangeError,"RSV2 and RSV3 must be clear",!0,1002);let c=(l[0]&64)===64;if(c&&!this._extensions[e7.extensionName])return this._loop=!1,eo(RangeError,"RSV1 must be clear",!0,1002);if(this._fin=(l[0]&128)===128,this._opcode=l[0]&15,this._payloadLength=l[1]&127,this._opcode===0){if(c)return this._loop=!1,eo(RangeError,"RSV1 must be clear",!0,1002);if(!this._fragmented)return this._loop=!1,eo(RangeError,"invalid opcode 0",!0,1002);this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented)return this._loop=!1,eo(RangeError,`invalid opcode ${this._opcode}`,!0,1002);this._compressed=c}else if(this._opcode>7&&this._opcode<11){if(!this._fin)return this._loop=!1,eo(RangeError,"FIN must be set",!0,1002);if(c)return this._loop=!1,eo(RangeError,"RSV1 must be clear",!0,1002);if(this._payloadLength>125)return this._loop=!1,eo(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002)}else return this._loop=!1,eo(RangeError,`invalid opcode ${this._opcode}`,!0,1002);if(!this._fin&&!this._fragmented&&(this._fragmented=this._opcode),this._masked=(l[1]&128)===128,this._isServer){if(!this._masked)return this._loop=!1,eo(RangeError,"MASK must be set",!0,1002)}else if(this._masked)return this._loop=!1,eo(RangeError,"MASK must be clear",!0,1002);if(this._payloadLength===126)this._state=n7;else if(this._payloadLength===127)this._state=r7;else return this.haveLength()}getPayloadLength16(){if(this._bufferedBytes<2){this._loop=!1;return}return this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength()}getPayloadLength64(){if(this._bufferedBytes<8){this._loop=!1;return}let l=this.consume(8),c=l.readUInt32BE(0);return c>Math.pow(2,53-32)-1?(this._loop=!1,eo(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009)):(this._payloadLength=c*Math.pow(2,32)+l.readUInt32BE(4),this.haveLength())}haveLength(){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0))return this._loop=!1,eo(RangeError,"Max payload size exceeded",!1,1009);this._masked?this._state=i7:this._state=V3}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=V3}getData(l){let c=AQ;if(this._payloadLength){if(this._bufferedBytes7)return this.controlMessage(c);if(this._compressed){this._state=LQ,this.decompress(c,l);return}return c.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(c)),this.dataMessage()}decompress(l,c){this._extensions[e7.extensionName].decompress(l,this._fin,(_,t)=>{if(_)return c(_);if(t.length){if(this._messageLength+=t.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return c(eo(RangeError,"Max payload size exceeded",!1,1009));this._fragments.push(t)}let O=this.dataMessage();if(O)return c(O);this.startLoop(c)})}dataMessage(){if(this._fin){let l=this._messageLength,c=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],this._opcode===2){let p;this._binaryType==="nodebuffer"?p=W3(c,l):this._binaryType==="arraybuffer"?p=MQ(W3(c,l)):p=c,this.emit("message",p)}else{let p=W3(c,l);if(!t7(p))return this._loop=!1,eo(Error,"invalid UTF-8 sequence",!0,1007);this.emit("message",p.toString())}}this._state=qh}controlMessage(l){if(this._opcode===8)if(this._loop=!1,l.length===0)this.emit("conclude",1005,""),this.end();else{if(l.length===1)return eo(RangeError,"invalid payload length 1",!0,1002);{let c=l.readUInt16BE(0);if(!FQ(c))return eo(RangeError,`invalid status code ${c}`,!0,1002);let p=l.slice(2);if(!t7(p))return eo(Error,"invalid UTF-8 sequence",!0,1007);this.emit("conclude",c,p.toString()),this.end()}}else this._opcode===9?this.emit("ping",l):this.emit("pong",l);this._state=qh}};o7.exports=G3;function eo(u,l,c,p){let _=new u(c?`Invalid WebSocket frame: ${l}`:l);return Error.captureStackTrace(_,eo),_[kQ]=p,_}});var K3=re(($re,a7)=>{"use strict";var{randomFillSync:bQ}=Kn("crypto"),u7=zh(),{EMPTY_BUFFER:PQ}=s1(),{isValidStatusCode:IQ}=H3(),{mask:l7,toBuffer:_f}=Bh(),f1=Buffer.alloc(4),ws=class{constructor(l,c){this._extensions=c||{},this._socket=l,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(l,c){let p=c.mask&&c.readOnly,_=c.mask?6:2,t=l.length;l.length>=65536?(_+=8,t=127):l.length>125&&(_+=2,t=126);let O=Buffer.allocUnsafe(p?l.length+_:_);return O[0]=c.fin?c.opcode|128:c.opcode,c.rsv1&&(O[0]|=64),O[1]=t,t===126?O.writeUInt16BE(l.length,2):t===127&&(O.writeUInt32BE(0,2),O.writeUInt32BE(l.length,6)),c.mask?(bQ(f1,0,4),O[1]|=128,O[_-4]=f1[0],O[_-3]=f1[1],O[_-2]=f1[2],O[_-1]=f1[3],p?(l7(l,f1,O,_,l.length),[O]):(l7(l,f1,l,0,l.length),[O,l])):[O,l]}close(l,c,p,_){let t;if(l===void 0)t=PQ;else{if(typeof l!="number"||!IQ(l))throw new TypeError("First argument must be a valid error code number");if(c===void 0||c==="")t=Buffer.allocUnsafe(2),t.writeUInt16BE(l,0);else{let O=Buffer.byteLength(c);if(O>123)throw new RangeError("The message must not be greater than 123 bytes");t=Buffer.allocUnsafe(2+O),t.writeUInt16BE(l,0),t.write(c,2)}}this._deflating?this.enqueue([this.doClose,t,p,_]):this.doClose(t,p,_)}doClose(l,c,p){this.sendFrame(ws.frame(l,{fin:!0,rsv1:!1,opcode:8,mask:c,readOnly:!1}),p)}ping(l,c,p){let _=_f(l);if(_.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPing,_,c,_f.readOnly,p]):this.doPing(_,c,_f.readOnly,p)}doPing(l,c,p,_){this.sendFrame(ws.frame(l,{fin:!0,rsv1:!1,opcode:9,mask:c,readOnly:p}),_)}pong(l,c,p){let _=_f(l);if(_.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPong,_,c,_f.readOnly,p]):this.doPong(_,c,_f.readOnly,p)}doPong(l,c,p,_){this.sendFrame(ws.frame(l,{fin:!0,rsv1:!1,opcode:10,mask:c,readOnly:p}),_)}send(l,c,p){let _=_f(l),t=this._extensions[u7.extensionName],O=c.binary?2:1,M=c.compress;if(this._firstFragment?(this._firstFragment=!1,M&&t&&(M=_.length>=t._threshold),this._compress=M):(M=!1,O=0),c.fin&&(this._firstFragment=!0),t){let A={fin:c.fin,rsv1:M,opcode:O,mask:c.mask,readOnly:_f.readOnly};this._deflating?this.enqueue([this.dispatch,_,this._compress,A,p]):this.dispatch(_,this._compress,A,p)}else this.sendFrame(ws.frame(_,{fin:c.fin,rsv1:!1,opcode:O,mask:c.mask,readOnly:_f.readOnly}),p)}dispatch(l,c,p,_){if(!c){this.sendFrame(ws.frame(l,p),_);return}let t=this._extensions[u7.extensionName];this._bufferedBytes+=l.length,this._deflating=!0,t.compress(l,p.fin,(O,M)=>{if(this._socket.destroyed){let A=new Error("The socket was closed while data was being compressed");typeof _=="function"&&_(A);for(let T=0;T{"use strict";var nd=class{constructor(l,c){this.target=c,this.type=l}},X3=class extends nd{constructor(l,c){super("message",c),this.data=l}},Q3=class extends nd{constructor(l,c,p){super("close",p),this.wasClean=p._closeFrameReceived&&p._closeFrameSent,this.reason=c,this.code=l}},J3=class extends nd{constructor(l){super("open",l)}},Z3=class extends nd{constructor(l,c){super("error",c),this.message=l.message,this.error=l}},BQ={addEventListener(u,l,c){if(typeof l!="function")return;function p(A){l.call(this,new X3(A,this))}function _(A,T){l.call(this,new Q3(A,T,this))}function t(A){l.call(this,new Z3(A,this))}function O(){l.call(this,new J3(this))}let M=c&&c.once?"once":"on";u==="message"?(p._listener=l,this[M](u,p)):u==="close"?(_._listener=l,this[M](u,_)):u==="error"?(t._listener=l,this[M](u,t)):u==="open"?(O._listener=l,this[M](u,O)):this[M](u,l)},removeEventListener(u,l){let c=this.listeners(u);for(let p=0;p{"use strict";var Hh=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function Ss(u,l,c){u[l]===void 0?u[l]=[c]:u[l].push(c)}function UQ(u){let l=Object.create(null);if(u===void 0||u==="")return l;let c=Object.create(null),p=!1,_=!1,t=!1,O,M,A=-1,T=-1,P=0;for(;P{let c=u[l];return Array.isArray(c)||(c=[c]),c.map(p=>[l].concat(Object.keys(p).map(_=>{let t=p[_];return Array.isArray(t)||(t=[t]),t.map(O=>O===!0?_:`${_}=${O}`).join("; ")})).join("; ")).join(", ")}).join(", ")}c7.exports={format:jQ,parse:UQ}});var i8=re((nie,D7)=>{"use strict";var zQ=Kn("events"),qQ=Kn("https"),HQ=Kn("http"),h7=Kn("net"),WQ=Kn("tls"),{randomBytes:VQ,createHash:GQ}=Kn("crypto"),{URL:e8}=Kn("url"),mc=zh(),YQ=Y3(),KQ=K3(),{BINARY_TYPES:d7,EMPTY_BUFFER:t8,GUID:XQ,kStatusCode:QQ,kWebSocket:$u,NOOP:v7}=s1(),{addEventListener:JQ,removeEventListener:ZQ}=f7(),{format:$Q,parse:eJ}=$3(),{toBuffer:tJ}=Bh(),m7=["CONNECTING","OPEN","CLOSING","CLOSED"],n8=[8,13],nJ=30*1e3,Hr=class extends zQ{constructor(l,c,p){super(),this._binaryType=d7[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage="",this._closeTimer=null,this._extensions={},this._protocol="",this._readyState=Hr.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,l!==null?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,Array.isArray(c)?c=c.join(", "):typeof c=="object"&&c!==null&&(p=c,c=void 0),y7(this,l,c,p)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(l){!d7.includes(l)||(this._binaryType=l,this._receiver&&(this._receiver._binaryType=l))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(l,c,p){let _=new YQ(this.binaryType,this._extensions,this._isServer,p);this._sender=new KQ(l,this._extensions),this._receiver=_,this._socket=l,_[$u]=this,l[$u]=this,_.on("conclude",oJ),_.on("drain",uJ),_.on("error",lJ),_.on("message",aJ),_.on("ping",sJ),_.on("pong",fJ),l.setTimeout(0),l.setNoDelay(),c.length>0&&l.unshift(c),l.on("close",g7),l.on("data",Tg),l.on("end",_7),l.on("error",E7),this._readyState=Hr.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=Hr.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[mc.extensionName]&&this._extensions[mc.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=Hr.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(l,c){if(this.readyState!==Hr.CLOSED){if(this.readyState===Hr.CONNECTING){let p="WebSocket was closed before the connection was established";return Ef(this,this._req,p)}if(this.readyState===Hr.CLOSING){this._closeFrameSent&&this._closeFrameReceived&&this._socket.end();return}this._readyState=Hr.CLOSING,this._sender.close(l,c,!this._isServer,p=>{p||(this._closeFrameSent=!0,this._closeFrameReceived&&this._socket.end())}),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),nJ)}}ping(l,c,p){if(this.readyState===Hr.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof l=="function"?(p=l,l=c=void 0):typeof c=="function"&&(p=c,c=void 0),typeof l=="number"&&(l=l.toString()),this.readyState!==Hr.OPEN){r8(this,l,p);return}c===void 0&&(c=!this._isServer),this._sender.ping(l||t8,c,p)}pong(l,c,p){if(this.readyState===Hr.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof l=="function"?(p=l,l=c=void 0):typeof c=="function"&&(p=c,c=void 0),typeof l=="number"&&(l=l.toString()),this.readyState!==Hr.OPEN){r8(this,l,p);return}c===void 0&&(c=!this._isServer),this._sender.pong(l||t8,c,p)}send(l,c,p){if(this.readyState===Hr.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof c=="function"&&(p=c,c={}),typeof l=="number"&&(l=l.toString()),this.readyState!==Hr.OPEN){r8(this,l,p);return}let _={binary:typeof l!="string",mask:!this._isServer,compress:!0,fin:!0,...c};this._extensions[mc.extensionName]||(_.compress=!1),this._sender.send(l||t8,_,p)}terminate(){if(this.readyState!==Hr.CLOSED){if(this.readyState===Hr.CONNECTING){let l="WebSocket was closed before the connection was established";return Ef(this,this._req,l)}this._socket&&(this._readyState=Hr.CLOSING,this._socket.destroy())}}};m7.forEach((u,l)=>{let c={enumerable:!0,value:l};Object.defineProperty(Hr.prototype,u,c),Object.defineProperty(Hr,u,c)});["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach(u=>{Object.defineProperty(Hr.prototype,u,{enumerable:!0})});["open","error","close","message"].forEach(u=>{Object.defineProperty(Hr.prototype,`on${u}`,{configurable:!0,enumerable:!0,get(){let l=this.listeners(u);for(let c=0;c{Ef(u,z,"Opening handshake has timed out")}),z.on("error",Q=>{z===null||z.aborted||(z=u._req=null,u._readyState=Hr.CLOSING,u.emit("error",Q),u.emitClose())}),z.on("response",Q=>{let v=Q.headers.location,de=Q.statusCode;if(v&&_.followRedirects&&de>=300&&de<400){if(++u._redirects>_.maxRedirects){Ef(u,z,"Maximum redirects exceeded");return}z.abort();let ye=new e8(v,l);y7(u,ye,c,p)}else u.emit("unexpected-response",z,Q)||Ef(u,z,`Unexpected server response: ${Q.statusCode}`)}),z.on("upgrade",(Q,v,de)=>{if(u.emit("upgrade",Q),u.readyState!==Hr.CONNECTING)return;z=u._req=null;let ye=GQ("sha1").update(T+XQ).digest("base64");if(Q.headers["sec-websocket-accept"]!==ye){Ef(u,v,"Invalid Sec-WebSocket-Accept header");return}let le=Q.headers["sec-websocket-protocol"],ae=(c||"").split(/, */),Me;if(!c&&le?Me="Server sent a subprotocol but none was requested":c&&!le?Me="Server sent no subprotocol":le&&!ae.includes(le)&&(Me="Server sent an invalid subprotocol"),Me){Ef(u,v,Me);return}if(le&&(u._protocol=le),U)try{let fe=eJ(Q.headers["sec-websocket-extensions"]);fe[mc.extensionName]&&(U.accept(fe[mc.extensionName]),u._extensions[mc.extensionName]=U)}catch{Ef(u,v,"Invalid Sec-WebSocket-Extensions header");return}u.setSocket(v,de,_.maxPayload)})}function rJ(u){return u.path=u.socketPath,h7.connect(u)}function iJ(u){return u.path=void 0,!u.servername&&u.servername!==""&&(u.servername=h7.isIP(u.host)?"":u.host),WQ.connect(u)}function Ef(u,l,c){u._readyState=Hr.CLOSING;let p=new Error(c);Error.captureStackTrace(p,Ef),l.setHeader?(l.abort(),l.socket&&!l.socket.destroyed&&l.socket.destroy(),l.once("abort",u.emitClose.bind(u)),u.emit("error",p)):(l.destroy(p),l.once("error",u.emit.bind(u,"error")),l.once("close",u.emitClose.bind(u)))}function r8(u,l,c){if(l){let p=tJ(l).length;u._socket?u._sender._bufferedBytes+=p:u._bufferedAmount+=p}if(c){let p=new Error(`WebSocket is not open: readyState ${u.readyState} (${m7[u.readyState]})`);c(p)}}function oJ(u,l){let c=this[$u];c._socket.removeListener("data",Tg),c._socket.resume(),c._closeFrameReceived=!0,c._closeMessage=l,c._closeCode=u,u===1005?c.close():c.close(u,l)}function uJ(){this[$u]._socket.resume()}function lJ(u){let l=this[$u];l._socket.removeListener("data",Tg),l._readyState=Hr.CLOSING,l._closeCode=u[QQ],l.emit("error",u),l._socket.destroy()}function p7(){this[$u].emitClose()}function aJ(u){this[$u].emit("message",u)}function sJ(u){let l=this[$u];l.pong(u,!l._isServer,v7),l.emit("ping",u)}function fJ(u){this[$u].emit("pong",u)}function g7(){let u=this[$u];this.removeListener("close",g7),this.removeListener("end",_7),u._readyState=Hr.CLOSING,u._socket.read(),u._receiver.end(),this.removeListener("data",Tg),this[$u]=void 0,clearTimeout(u._closeTimer),u._receiver._writableState.finished||u._receiver._writableState.errorEmitted?u.emitClose():(u._receiver.on("error",p7),u._receiver.on("finish",p7))}function Tg(u){this[$u]._receiver.write(u)||this.pause()}function _7(){let u=this[$u];u._readyState=Hr.CLOSING,u._receiver.end(),this.end()}function E7(){let u=this[$u];this.removeListener("error",E7),this.on("error",v7),u&&(u._readyState=Hr.CLOSING,this.destroy())}});var C7=re((rie,T7)=>{"use strict";var{Duplex:cJ}=Kn("stream");function w7(u){u.emit("close")}function dJ(){!this.destroyed&&this._writableState.finished&&this.destroy()}function S7(u){this.removeListener("error",S7),this.destroy(),this.listenerCount("error")===0&&this.emit("error",u)}function pJ(u,l){let c=!0;function p(){c&&u._socket.resume()}u.readyState===u.CONNECTING?u.once("open",function(){u._receiver.removeAllListeners("drain"),u._receiver.on("drain",p)}):(u._receiver.removeAllListeners("drain"),u._receiver.on("drain",p));let _=new cJ({...l,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return u.on("message",function(O){_.push(O)||(c=!1,u._socket.pause())}),u.once("error",function(O){_.destroyed||_.destroy(O)}),u.once("close",function(){_.destroyed||_.push(null)}),_._destroy=function(t,O){if(u.readyState===u.CLOSED){O(t),process.nextTick(w7,_);return}let M=!1;u.once("error",function(T){M=!0,O(T)}),u.once("close",function(){M||O(t),process.nextTick(w7,_)}),u.terminate()},_._final=function(t){if(u.readyState===u.CONNECTING){u.once("open",function(){_._final(t)});return}u._socket!==null&&(u._socket._writableState.finished?(t(),_._readableState.endEmitted&&_.destroy()):(u._socket.once("finish",function(){t()}),u.close()))},_._read=function(){u.readyState===u.OPEN&&!c&&(c=!0,u._receiver._writableState.needDrain||u._socket.resume())},_._write=function(t,O,M){if(u.readyState===u.CONNECTING){u.once("open",function(){_._write(t,O,M)});return}u.send(t,M)},_.on("end",dJ),_.on("error",S7),_}T7.exports=pJ});var R7=re((iie,x7)=>{"use strict";var hJ=Kn("events"),{createHash:vJ}=Kn("crypto"),{createServer:mJ,STATUS_CODES:o8}=Kn("http"),c1=zh(),yJ=i8(),{format:gJ,parse:_J}=$3(),{GUID:EJ,kWebSocket:DJ}=s1(),wJ=/^[+/0-9A-Za-z]{22}==$/,u8=class extends hJ{constructor(l,c){if(super(),l={maxPayload:100*1024*1024,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,...l},l.port==null&&!l.server&&!l.noServer)throw new TypeError('One of the "port", "server", or "noServer" options must be specified');if(l.port!=null?(this._server=mJ((p,_)=>{let t=o8[426];_.writeHead(426,{"Content-Length":t.length,"Content-Type":"text/plain"}),_.end(t)}),this._server.listen(l.port,l.host,l.backlog,c)):l.server&&(this._server=l.server),this._server){let p=this.emit.bind(this,"connection");this._removeListeners=SJ(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(_,t,O)=>{this.handleUpgrade(_,t,O,p)}})}l.perMessageDeflate===!0&&(l.perMessageDeflate={}),l.clientTracking&&(this.clients=new Set),this.options=l}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(l){if(l&&this.once("close",l),this.clients)for(let p of this.clients)p.terminate();let c=this._server;if(c&&(this._removeListeners(),this._removeListeners=this._server=null,this.options.port!=null)){c.close(()=>this.emit("close"));return}process.nextTick(TJ,this)}shouldHandle(l){if(this.options.path){let c=l.url.indexOf("?");if((c!==-1?l.url.slice(0,c):l.url)!==this.options.path)return!1}return!0}handleUpgrade(l,c,p,_){c.on("error",l8);let t=l.headers["sec-websocket-key"]!==void 0?l.headers["sec-websocket-key"].trim():!1,O=+l.headers["sec-websocket-version"],M={};if(l.method!=="GET"||l.headers.upgrade.toLowerCase()!=="websocket"||!t||!wJ.test(t)||O!==8&&O!==13||!this.shouldHandle(l))return Cg(c,400);if(this.options.perMessageDeflate){let A=new c1(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let T=_J(l.headers["sec-websocket-extensions"]);T[c1.extensionName]&&(A.accept(T[c1.extensionName]),M[c1.extensionName]=A)}catch{return Cg(c,400)}}if(this.options.verifyClient){let A={origin:l.headers[`${O===8?"sec-websocket-origin":"origin"}`],secure:!!(l.socket.authorized||l.socket.encrypted),req:l};if(this.options.verifyClient.length===2){this.options.verifyClient(A,(T,P,U,z)=>{if(!T)return Cg(c,P||401,U,z);this.completeUpgrade(t,M,l,c,p,_)});return}if(!this.options.verifyClient(A))return Cg(c,401)}this.completeUpgrade(t,M,l,c,p,_)}completeUpgrade(l,c,p,_,t,O){if(!_.readable||!_.writable)return _.destroy();if(_[DJ])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");let A=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${vJ("sha1").update(l+EJ).digest("base64")}`],T=new yJ(null),P=p.headers["sec-websocket-protocol"];if(P&&(P=P.split(",").map(CJ),this.options.handleProtocols?P=this.options.handleProtocols(P,p):P=P[0],P&&(A.push(`Sec-WebSocket-Protocol: ${P}`),T._protocol=P)),c[c1.extensionName]){let U=c[c1.extensionName].params,z=gJ({[c1.extensionName]:[U]});A.push(`Sec-WebSocket-Extensions: ${z}`),T._extensions=c}this.emit("headers",A,p),_.write(A.concat(`\r +`).join(`\r +`)),_.removeListener("error",l8),T.setSocket(_,t,this.options.maxPayload),this.clients&&(this.clients.add(T),T.on("close",()=>this.clients.delete(T))),O(T,p)}};x7.exports=u8;function SJ(u,l){for(let c of Object.keys(l))u.on(c,l[c]);return function(){for(let p of Object.keys(l))u.removeListener(p,l[p])}}function TJ(u){u.emit("close")}function l8(){this.destroy()}function Cg(u,l,c,p){u.writable&&(c=c||o8[l],p={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(c),...p},u.write(`HTTP/1.1 ${l} ${o8[l]}\r +`+Object.keys(p).map(_=>`${_}: ${p[_]}`).join(`\r +`)+`\r +\r +`+c)),u.removeListener("error",l8),u.destroy()}function CJ(u){return u.trim()}});var k7=re((oie,A7)=>{"use strict";var Wh=i8();Wh.createWebSocketStream=C7();Wh.Server=R7();Wh.Receiver=Y3();Wh.Sender=K3();A7.exports=Wh});var O7=re(xg=>{"use strict";var xJ=xg&&xg.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(xg,"__esModule",{value:!0});var RJ=xJ(k7()),Vh=global;Vh.WebSocket||(Vh.WebSocket=RJ.default);Vh.window||(Vh.window=global);Vh.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__=[{type:1,value:7,isEnabled:!0},{type:2,value:"InternalApp",isEnabled:!0,isValid:!0},{type:2,value:"InternalAppContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdoutContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStderrContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdinContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalFocusContext",isEnabled:!0,isValid:!0}]});var M7=re((Rg,a8)=>{(function(u,l){typeof Rg=="object"&&typeof a8=="object"?a8.exports=l():typeof define=="function"&&define.amd?define([],l):typeof Rg=="object"?Rg.ReactDevToolsBackend=l():u.ReactDevToolsBackend=l()})(window,function(){return function(u){var l={};function c(p){if(l[p])return l[p].exports;var _=l[p]={i:p,l:!1,exports:{}};return u[p].call(_.exports,_,_.exports,c),_.l=!0,_.exports}return c.m=u,c.c=l,c.d=function(p,_,t){c.o(p,_)||Object.defineProperty(p,_,{enumerable:!0,get:t})},c.r=function(p){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(p,"__esModule",{value:!0})},c.t=function(p,_){if(1&_&&(p=c(p)),8&_||4&_&&typeof p=="object"&&p&&p.__esModule)return p;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:p}),2&_&&typeof p!="string")for(var O in p)c.d(t,O,function(M){return p[M]}.bind(null,O));return t},c.n=function(p){var _=p&&p.__esModule?function(){return p.default}:function(){return p};return c.d(_,"a",_),_},c.o=function(p,_){return Object.prototype.hasOwnProperty.call(p,_)},c.p="",c(c.s=20)}([function(u,l,c){"use strict";u.exports=c(12)},function(u,l,c){"use strict";var p=Object.getOwnPropertySymbols,_=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function O(M){if(M==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(M)}u.exports=function(){try{if(!Object.assign)return!1;var M=new String("abc");if(M[5]="de",Object.getOwnPropertyNames(M)[0]==="5")return!1;for(var A={},T=0;T<10;T++)A["_"+String.fromCharCode(T)]=T;if(Object.getOwnPropertyNames(A).map(function(U){return A[U]}).join("")!=="0123456789")return!1;var P={};return"abcdefghijklmnopqrst".split("").forEach(function(U){P[U]=U}),Object.keys(Object.assign({},P)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}()?Object.assign:function(M,A){for(var T,P,U=O(M),z=1;z"u"?"undefined":_(self))=="object"&&self&&self.Object===Object&&self,z=P||U||Function("return this")(),Q=Object.prototype.toString,v=Math.max,de=Math.min,ye=function(){return z.Date.now()};function le(pe,Z,Ae){var Fe,He,ot,st,qe,Xe,Ie=0,kt=!1,Kt=!1,Ye=!0;if(typeof pe!="function")throw new TypeError("Expected a function");function V(ct){var Lt=Fe,Xt=He;return Fe=He=void 0,Ie=ct,st=pe.apply(Xt,Lt)}function oe(ct){return Ie=ct,qe=setTimeout(ee,Z),kt?V(ct):st}function ve(ct){var Lt=ct-Xe;return Xe===void 0||Lt>=Z||Lt<0||Kt&&ct-Ie>=ot}function ee(){var ct=ye();if(ve(ct))return Oe(ct);qe=setTimeout(ee,function(Lt){var Xt=Z-(Lt-Xe);return Kt?de(Xt,ot-(Lt-Ie)):Xt}(ct))}function Oe(ct){return qe=void 0,Ye&&Fe?V(ct):(Fe=He=void 0,st)}function et(){var ct=ye(),Lt=ve(ct);if(Fe=arguments,He=this,Xe=ct,Lt){if(qe===void 0)return oe(Xe);if(Kt)return qe=setTimeout(ee,Z),V(Xe)}return qe===void 0&&(qe=setTimeout(ee,Z)),st}return Z=fe(Z)||0,ae(Ae)&&(kt=!!Ae.leading,ot=(Kt="maxWait"in Ae)?v(fe(Ae.maxWait)||0,Z):ot,Ye="trailing"in Ae?!!Ae.trailing:Ye),et.cancel=function(){qe!==void 0&&clearTimeout(qe),Ie=0,Fe=Xe=He=qe=void 0},et.flush=function(){return qe===void 0?st:Oe(ye())},et}function ae(pe){var Z=_(pe);return!!pe&&(Z=="object"||Z=="function")}function Me(pe){return _(pe)=="symbol"||function(Z){return!!Z&&_(Z)=="object"}(pe)&&Q.call(pe)=="[object Symbol]"}function fe(pe){if(typeof pe=="number")return pe;if(Me(pe))return NaN;if(ae(pe)){var Z=typeof pe.valueOf=="function"?pe.valueOf():pe;pe=ae(Z)?Z+"":Z}if(typeof pe!="string")return pe===0?pe:+pe;pe=pe.replace(t,"");var Ae=M.test(pe);return Ae||A.test(pe)?T(pe.slice(2),Ae?2:8):O.test(pe)?NaN:+pe}u.exports=function(pe,Z,Ae){var Fe=!0,He=!0;if(typeof pe!="function")throw new TypeError("Expected a function");return ae(Ae)&&(Fe="leading"in Ae?!!Ae.leading:Fe,He="trailing"in Ae?!!Ae.trailing:He),le(pe,Z,{leading:Fe,maxWait:Z,trailing:He})}}).call(this,c(4))},function(u,l,c){(function(p){function _(V){return(_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(oe){return typeof oe}:function(oe){return oe&&typeof Symbol=="function"&&oe.constructor===Symbol&&oe!==Symbol.prototype?"symbol":typeof oe})(V)}var t;l=u.exports=v,t=(p===void 0?"undefined":_(p))==="object"&&p.env&&p.env.NODE_DEBUG&&/\bsemver\b/i.test(p.env.NODE_DEBUG)?function(){var V=Array.prototype.slice.call(arguments,0);V.unshift("SEMVER"),console.log.apply(console,V)}:function(){},l.SEMVER_SPEC_VERSION="2.0.0";var O=Number.MAX_SAFE_INTEGER||9007199254740991,M=l.re=[],A=l.src=[],T=l.tokens={},P=0;function U(V){T[V]=P++}U("NUMERICIDENTIFIER"),A[T.NUMERICIDENTIFIER]="0|[1-9]\\d*",U("NUMERICIDENTIFIERLOOSE"),A[T.NUMERICIDENTIFIERLOOSE]="[0-9]+",U("NONNUMERICIDENTIFIER"),A[T.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",U("MAINVERSION"),A[T.MAINVERSION]="("+A[T.NUMERICIDENTIFIER]+")\\.("+A[T.NUMERICIDENTIFIER]+")\\.("+A[T.NUMERICIDENTIFIER]+")",U("MAINVERSIONLOOSE"),A[T.MAINVERSIONLOOSE]="("+A[T.NUMERICIDENTIFIERLOOSE]+")\\.("+A[T.NUMERICIDENTIFIERLOOSE]+")\\.("+A[T.NUMERICIDENTIFIERLOOSE]+")",U("PRERELEASEIDENTIFIER"),A[T.PRERELEASEIDENTIFIER]="(?:"+A[T.NUMERICIDENTIFIER]+"|"+A[T.NONNUMERICIDENTIFIER]+")",U("PRERELEASEIDENTIFIERLOOSE"),A[T.PRERELEASEIDENTIFIERLOOSE]="(?:"+A[T.NUMERICIDENTIFIERLOOSE]+"|"+A[T.NONNUMERICIDENTIFIER]+")",U("PRERELEASE"),A[T.PRERELEASE]="(?:-("+A[T.PRERELEASEIDENTIFIER]+"(?:\\."+A[T.PRERELEASEIDENTIFIER]+")*))",U("PRERELEASELOOSE"),A[T.PRERELEASELOOSE]="(?:-?("+A[T.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+A[T.PRERELEASEIDENTIFIERLOOSE]+")*))",U("BUILDIDENTIFIER"),A[T.BUILDIDENTIFIER]="[0-9A-Za-z-]+",U("BUILD"),A[T.BUILD]="(?:\\+("+A[T.BUILDIDENTIFIER]+"(?:\\."+A[T.BUILDIDENTIFIER]+")*))",U("FULL"),U("FULLPLAIN"),A[T.FULLPLAIN]="v?"+A[T.MAINVERSION]+A[T.PRERELEASE]+"?"+A[T.BUILD]+"?",A[T.FULL]="^"+A[T.FULLPLAIN]+"$",U("LOOSEPLAIN"),A[T.LOOSEPLAIN]="[v=\\s]*"+A[T.MAINVERSIONLOOSE]+A[T.PRERELEASELOOSE]+"?"+A[T.BUILD]+"?",U("LOOSE"),A[T.LOOSE]="^"+A[T.LOOSEPLAIN]+"$",U("GTLT"),A[T.GTLT]="((?:<|>)?=?)",U("XRANGEIDENTIFIERLOOSE"),A[T.XRANGEIDENTIFIERLOOSE]=A[T.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",U("XRANGEIDENTIFIER"),A[T.XRANGEIDENTIFIER]=A[T.NUMERICIDENTIFIER]+"|x|X|\\*",U("XRANGEPLAIN"),A[T.XRANGEPLAIN]="[v=\\s]*("+A[T.XRANGEIDENTIFIER]+")(?:\\.("+A[T.XRANGEIDENTIFIER]+")(?:\\.("+A[T.XRANGEIDENTIFIER]+")(?:"+A[T.PRERELEASE]+")?"+A[T.BUILD]+"?)?)?",U("XRANGEPLAINLOOSE"),A[T.XRANGEPLAINLOOSE]="[v=\\s]*("+A[T.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+A[T.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+A[T.XRANGEIDENTIFIERLOOSE]+")(?:"+A[T.PRERELEASELOOSE]+")?"+A[T.BUILD]+"?)?)?",U("XRANGE"),A[T.XRANGE]="^"+A[T.GTLT]+"\\s*"+A[T.XRANGEPLAIN]+"$",U("XRANGELOOSE"),A[T.XRANGELOOSE]="^"+A[T.GTLT]+"\\s*"+A[T.XRANGEPLAINLOOSE]+"$",U("COERCE"),A[T.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",U("COERCERTL"),M[T.COERCERTL]=new RegExp(A[T.COERCE],"g"),U("LONETILDE"),A[T.LONETILDE]="(?:~>?)",U("TILDETRIM"),A[T.TILDETRIM]="(\\s*)"+A[T.LONETILDE]+"\\s+",M[T.TILDETRIM]=new RegExp(A[T.TILDETRIM],"g"),U("TILDE"),A[T.TILDE]="^"+A[T.LONETILDE]+A[T.XRANGEPLAIN]+"$",U("TILDELOOSE"),A[T.TILDELOOSE]="^"+A[T.LONETILDE]+A[T.XRANGEPLAINLOOSE]+"$",U("LONECARET"),A[T.LONECARET]="(?:\\^)",U("CARETTRIM"),A[T.CARETTRIM]="(\\s*)"+A[T.LONECARET]+"\\s+",M[T.CARETTRIM]=new RegExp(A[T.CARETTRIM],"g"),U("CARET"),A[T.CARET]="^"+A[T.LONECARET]+A[T.XRANGEPLAIN]+"$",U("CARETLOOSE"),A[T.CARETLOOSE]="^"+A[T.LONECARET]+A[T.XRANGEPLAINLOOSE]+"$",U("COMPARATORLOOSE"),A[T.COMPARATORLOOSE]="^"+A[T.GTLT]+"\\s*("+A[T.LOOSEPLAIN]+")$|^$",U("COMPARATOR"),A[T.COMPARATOR]="^"+A[T.GTLT]+"\\s*("+A[T.FULLPLAIN]+")$|^$",U("COMPARATORTRIM"),A[T.COMPARATORTRIM]="(\\s*)"+A[T.GTLT]+"\\s*("+A[T.LOOSEPLAIN]+"|"+A[T.XRANGEPLAIN]+")",M[T.COMPARATORTRIM]=new RegExp(A[T.COMPARATORTRIM],"g"),U("HYPHENRANGE"),A[T.HYPHENRANGE]="^\\s*("+A[T.XRANGEPLAIN]+")\\s+-\\s+("+A[T.XRANGEPLAIN]+")\\s*$",U("HYPHENRANGELOOSE"),A[T.HYPHENRANGELOOSE]="^\\s*("+A[T.XRANGEPLAINLOOSE]+")\\s+-\\s+("+A[T.XRANGEPLAINLOOSE]+")\\s*$",U("STAR"),A[T.STAR]="(<|>)?=?\\s*\\*";for(var z=0;z256||!(oe.loose?M[T.LOOSE]:M[T.FULL]).test(V))return null;try{return new v(V,oe)}catch{return null}}function v(V,oe){if(oe&&_(oe)==="object"||(oe={loose:!!oe,includePrerelease:!1}),V instanceof v){if(V.loose===oe.loose)return V;V=V.version}else if(typeof V!="string")throw new TypeError("Invalid Version: "+V);if(V.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof v))return new v(V,oe);t("SemVer",V,oe),this.options=oe,this.loose=!!oe.loose;var ve=V.trim().match(oe.loose?M[T.LOOSE]:M[T.FULL]);if(!ve)throw new TypeError("Invalid Version: "+V);if(this.raw=V,this.major=+ve[1],this.minor=+ve[2],this.patch=+ve[3],this.major>O||this.major<0)throw new TypeError("Invalid major version");if(this.minor>O||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>O||this.patch<0)throw new TypeError("Invalid patch version");ve[4]?this.prerelease=ve[4].split(".").map(function(ee){if(/^[0-9]+$/.test(ee)){var Oe=+ee;if(Oe>=0&&Oe=0;)typeof this.prerelease[ve]=="number"&&(this.prerelease[ve]++,ve=-2);ve===-1&&this.prerelease.push(0)}oe&&(this.prerelease[0]===oe?isNaN(this.prerelease[1])&&(this.prerelease=[oe,0]):this.prerelease=[oe,0]);break;default:throw new Error("invalid increment argument: "+V)}return this.format(),this.raw=this.version,this},l.inc=function(V,oe,ve,ee){typeof ve=="string"&&(ee=ve,ve=void 0);try{return new v(V,ve).inc(oe,ee).version}catch{return null}},l.diff=function(V,oe){if(fe(V,oe))return null;var ve=Q(V),ee=Q(oe),Oe="";if(ve.prerelease.length||ee.prerelease.length){Oe="pre";var et="prerelease"}for(var ct in ve)if((ct==="major"||ct==="minor"||ct==="patch")&&ve[ct]!==ee[ct])return Oe+ct;return et},l.compareIdentifiers=ye;var de=/^[0-9]+$/;function ye(V,oe){var ve=de.test(V),ee=de.test(oe);return ve&&ee&&(V=+V,oe=+oe),V===oe?0:ve&&!ee?-1:ee&&!ve?1:V0}function Me(V,oe,ve){return le(V,oe,ve)<0}function fe(V,oe,ve){return le(V,oe,ve)===0}function pe(V,oe,ve){return le(V,oe,ve)!==0}function Z(V,oe,ve){return le(V,oe,ve)>=0}function Ae(V,oe,ve){return le(V,oe,ve)<=0}function Fe(V,oe,ve,ee){switch(oe){case"===":return _(V)==="object"&&(V=V.version),_(ve)==="object"&&(ve=ve.version),V===ve;case"!==":return _(V)==="object"&&(V=V.version),_(ve)==="object"&&(ve=ve.version),V!==ve;case"":case"=":case"==":return fe(V,ve,ee);case"!=":return pe(V,ve,ee);case">":return ae(V,ve,ee);case">=":return Z(V,ve,ee);case"<":return Me(V,ve,ee);case"<=":return Ae(V,ve,ee);default:throw new TypeError("Invalid operator: "+oe)}}function He(V,oe){if(oe&&_(oe)==="object"||(oe={loose:!!oe,includePrerelease:!1}),V instanceof He){if(V.loose===!!oe.loose)return V;V=V.value}if(!(this instanceof He))return new He(V,oe);t("comparator",V,oe),this.options=oe,this.loose=!!oe.loose,this.parse(V),this.semver===ot?this.value="":this.value=this.operator+this.semver.version,t("comp",this)}l.rcompareIdentifiers=function(V,oe){return ye(oe,V)},l.major=function(V,oe){return new v(V,oe).major},l.minor=function(V,oe){return new v(V,oe).minor},l.patch=function(V,oe){return new v(V,oe).patch},l.compare=le,l.compareLoose=function(V,oe){return le(V,oe,!0)},l.compareBuild=function(V,oe,ve){var ee=new v(V,ve),Oe=new v(oe,ve);return ee.compare(Oe)||ee.compareBuild(Oe)},l.rcompare=function(V,oe,ve){return le(oe,V,ve)},l.sort=function(V,oe){return V.sort(function(ve,ee){return l.compareBuild(ve,ee,oe)})},l.rsort=function(V,oe){return V.sort(function(ve,ee){return l.compareBuild(ee,ve,oe)})},l.gt=ae,l.lt=Me,l.eq=fe,l.neq=pe,l.gte=Z,l.lte=Ae,l.cmp=Fe,l.Comparator=He;var ot={};function st(V,oe){if(oe&&_(oe)==="object"||(oe={loose:!!oe,includePrerelease:!1}),V instanceof st)return V.loose===!!oe.loose&&V.includePrerelease===!!oe.includePrerelease?V:new st(V.raw,oe);if(V instanceof He)return new st(V.value,oe);if(!(this instanceof st))return new st(V,oe);if(this.options=oe,this.loose=!!oe.loose,this.includePrerelease=!!oe.includePrerelease,this.raw=V,this.set=V.split(/\s*\|\|\s*/).map(function(ve){return this.parseRange(ve.trim())},this).filter(function(ve){return ve.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+V);this.format()}function qe(V,oe){for(var ve=!0,ee=V.slice(),Oe=ee.pop();ve&&ee.length;)ve=ee.every(function(et){return Oe.intersects(et,oe)}),Oe=ee.pop();return ve}function Xe(V){return!V||V.toLowerCase()==="x"||V==="*"}function Ie(V,oe,ve,ee,Oe,et,ct,Lt,Xt,pn,Nn,Wt,Ot){return((oe=Xe(ve)?"":Xe(ee)?">="+ve+".0.0":Xe(Oe)?">="+ve+"."+ee+".0":">="+oe)+" "+(Lt=Xe(Xt)?"":Xe(pn)?"<"+(+Xt+1)+".0.0":Xe(Nn)?"<"+Xt+"."+(+pn+1)+".0":Wt?"<="+Xt+"."+pn+"."+Nn+"-"+Wt:"<="+Lt)).trim()}function kt(V,oe,ve){for(var ee=0;ee0){var Oe=V[ee].semver;if(Oe.major===oe.major&&Oe.minor===oe.minor&&Oe.patch===oe.patch)return!0}return!1}return!0}function Kt(V,oe,ve){try{oe=new st(oe,ve)}catch{return!1}return oe.test(V)}function Ye(V,oe,ve,ee){var Oe,et,ct,Lt,Xt;switch(V=new v(V,ee),oe=new st(oe,ee),ve){case">":Oe=ae,et=Ae,ct=Me,Lt=">",Xt=">=";break;case"<":Oe=Me,et=Z,ct=ae,Lt="<",Xt="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Kt(V,oe,ee))return!1;for(var pn=0;pn=0.0.0")),Wt=Wt||Wn,Ot=Ot||Wn,Oe(Wn.semver,Wt.semver,ee)?Wt=Wn:ct(Wn.semver,Ot.semver,ee)&&(Ot=Wn)}),Wt.operator===Lt||Wt.operator===Xt||(!Ot.operator||Ot.operator===Lt)&&et(V,Ot.semver)||Ot.operator===Xt&&ct(V,Ot.semver))return!1}return!0}He.prototype.parse=function(V){var oe=this.options.loose?M[T.COMPARATORLOOSE]:M[T.COMPARATOR],ve=V.match(oe);if(!ve)throw new TypeError("Invalid comparator: "+V);this.operator=ve[1]!==void 0?ve[1]:"",this.operator==="="&&(this.operator=""),ve[2]?this.semver=new v(ve[2],this.options.loose):this.semver=ot},He.prototype.toString=function(){return this.value},He.prototype.test=function(V){if(t("Comparator.test",V,this.options.loose),this.semver===ot||V===ot)return!0;if(typeof V=="string")try{V=new v(V,this.options)}catch{return!1}return Fe(V,this.operator,this.semver,this.options)},He.prototype.intersects=function(V,oe){if(!(V instanceof He))throw new TypeError("a Comparator is required");var ve;if(oe&&_(oe)==="object"||(oe={loose:!!oe,includePrerelease:!1}),this.operator==="")return this.value===""||(ve=new st(V.value,oe),Kt(this.value,ve,oe));if(V.operator==="")return V.value===""||(ve=new st(this.value,oe),Kt(V.semver,ve,oe));var ee=!(this.operator!==">="&&this.operator!==">"||V.operator!==">="&&V.operator!==">"),Oe=!(this.operator!=="<="&&this.operator!=="<"||V.operator!=="<="&&V.operator!=="<"),et=this.semver.version===V.semver.version,ct=!(this.operator!==">="&&this.operator!=="<="||V.operator!==">="&&V.operator!=="<="),Lt=Fe(this.semver,"<",V.semver,oe)&&(this.operator===">="||this.operator===">")&&(V.operator==="<="||V.operator==="<"),Xt=Fe(this.semver,">",V.semver,oe)&&(this.operator==="<="||this.operator==="<")&&(V.operator===">="||V.operator===">");return ee||Oe||et&&ct||Lt||Xt},l.Range=st,st.prototype.format=function(){return this.range=this.set.map(function(V){return V.join(" ").trim()}).join("||").trim(),this.range},st.prototype.toString=function(){return this.range},st.prototype.parseRange=function(V){var oe=this.options.loose;V=V.trim();var ve=oe?M[T.HYPHENRANGELOOSE]:M[T.HYPHENRANGE];V=V.replace(ve,Ie),t("hyphen replace",V),V=V.replace(M[T.COMPARATORTRIM],"$1$2$3"),t("comparator trim",V,M[T.COMPARATORTRIM]),V=(V=(V=V.replace(M[T.TILDETRIM],"$1~")).replace(M[T.CARETTRIM],"$1^")).split(/\s+/).join(" ");var ee=oe?M[T.COMPARATORLOOSE]:M[T.COMPARATOR],Oe=V.split(" ").map(function(et){return function(ct,Lt){return t("comp",ct,Lt),ct=function(Xt,pn){return Xt.trim().split(/\s+/).map(function(Nn){return function(Wt,Ot){t("caret",Wt,Ot);var Wn=Ot.loose?M[T.CARETLOOSE]:M[T.CARET];return Wt.replace(Wn,function(w,Ct,wn,ir,sr){var Ln;return t("caret",Wt,w,Ct,wn,ir,sr),Xe(Ct)?Ln="":Xe(wn)?Ln=">="+Ct+".0.0 <"+(+Ct+1)+".0.0":Xe(ir)?Ln=Ct==="0"?">="+Ct+"."+wn+".0 <"+Ct+"."+(+wn+1)+".0":">="+Ct+"."+wn+".0 <"+(+Ct+1)+".0.0":sr?(t("replaceCaret pr",sr),Ln=Ct==="0"?wn==="0"?">="+Ct+"."+wn+"."+ir+"-"+sr+" <"+Ct+"."+wn+"."+(+ir+1):">="+Ct+"."+wn+"."+ir+"-"+sr+" <"+Ct+"."+(+wn+1)+".0":">="+Ct+"."+wn+"."+ir+"-"+sr+" <"+(+Ct+1)+".0.0"):(t("no pr"),Ln=Ct==="0"?wn==="0"?">="+Ct+"."+wn+"."+ir+" <"+Ct+"."+wn+"."+(+ir+1):">="+Ct+"."+wn+"."+ir+" <"+Ct+"."+(+wn+1)+".0":">="+Ct+"."+wn+"."+ir+" <"+(+Ct+1)+".0.0"),t("caret return",Ln),Ln})}(Nn,pn)}).join(" ")}(ct,Lt),t("caret",ct),ct=function(Xt,pn){return Xt.trim().split(/\s+/).map(function(Nn){return function(Wt,Ot){var Wn=Ot.loose?M[T.TILDELOOSE]:M[T.TILDE];return Wt.replace(Wn,function(w,Ct,wn,ir,sr){var Ln;return t("tilde",Wt,w,Ct,wn,ir,sr),Xe(Ct)?Ln="":Xe(wn)?Ln=">="+Ct+".0.0 <"+(+Ct+1)+".0.0":Xe(ir)?Ln=">="+Ct+"."+wn+".0 <"+Ct+"."+(+wn+1)+".0":sr?(t("replaceTilde pr",sr),Ln=">="+Ct+"."+wn+"."+ir+"-"+sr+" <"+Ct+"."+(+wn+1)+".0"):Ln=">="+Ct+"."+wn+"."+ir+" <"+Ct+"."+(+wn+1)+".0",t("tilde return",Ln),Ln})}(Nn,pn)}).join(" ")}(ct,Lt),t("tildes",ct),ct=function(Xt,pn){return t("replaceXRanges",Xt,pn),Xt.split(/\s+/).map(function(Nn){return function(Wt,Ot){Wt=Wt.trim();var Wn=Ot.loose?M[T.XRANGELOOSE]:M[T.XRANGE];return Wt.replace(Wn,function(w,Ct,wn,ir,sr,Ln){t("xRange",Wt,w,Ct,wn,ir,sr,Ln);var Er=Xe(wn),zt=Er||Xe(ir),p0=zt||Xe(sr),B0=p0;return Ct==="="&&B0&&(Ct=""),Ln=Ot.includePrerelease?"-0":"",Er?w=Ct===">"||Ct==="<"?"<0.0.0-0":"*":Ct&&B0?(zt&&(ir=0),sr=0,Ct===">"?(Ct=">=",zt?(wn=+wn+1,ir=0,sr=0):(ir=+ir+1,sr=0)):Ct==="<="&&(Ct="<",zt?wn=+wn+1:ir=+ir+1),w=Ct+wn+"."+ir+"."+sr+Ln):zt?w=">="+wn+".0.0"+Ln+" <"+(+wn+1)+".0.0"+Ln:p0&&(w=">="+wn+"."+ir+".0"+Ln+" <"+wn+"."+(+ir+1)+".0"+Ln),t("xRange return",w),w})}(Nn,pn)}).join(" ")}(ct,Lt),t("xrange",ct),ct=function(Xt,pn){return t("replaceStars",Xt,pn),Xt.trim().replace(M[T.STAR],"")}(ct,Lt),t("stars",ct),ct}(et,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(Oe=Oe.filter(function(et){return!!et.match(ee)})),Oe=Oe.map(function(et){return new He(et,this.options)},this)},st.prototype.intersects=function(V,oe){if(!(V instanceof st))throw new TypeError("a Range is required");return this.set.some(function(ve){return qe(ve,oe)&&V.set.some(function(ee){return qe(ee,oe)&&ve.every(function(Oe){return ee.every(function(et){return Oe.intersects(et,oe)})})})})},l.toComparators=function(V,oe){return new st(V,oe).set.map(function(ve){return ve.map(function(ee){return ee.value}).join(" ").trim().split(" ")})},st.prototype.test=function(V){if(!V)return!1;if(typeof V=="string")try{V=new v(V,this.options)}catch{return!1}for(var oe=0;oe":et.prerelease.length===0?et.patch++:et.prerelease.push(0),et.raw=et.format();case"":case">=":ve&&!ae(ve,et)||(ve=et);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+Oe.operator)}});return ve&&V.test(ve)?ve:null},l.validRange=function(V,oe){try{return new st(V,oe).range||"*"}catch{return null}},l.ltr=function(V,oe,ve){return Ye(V,oe,"<",ve)},l.gtr=function(V,oe,ve){return Ye(V,oe,">",ve)},l.outside=Ye,l.prerelease=function(V,oe){var ve=Q(V,oe);return ve&&ve.prerelease.length?ve.prerelease:null},l.intersects=function(V,oe,ve){return V=new st(V,ve),oe=new st(oe,ve),V.intersects(oe)},l.coerce=function(V,oe){if(V instanceof v)return V;if(typeof V=="number"&&(V=String(V)),typeof V!="string")return null;var ve=null;if((oe=oe||{}).rtl){for(var ee;(ee=M[T.COERCERTL].exec(V))&&(!ve||ve.index+ve[0].length!==V.length);)ve&&ee.index+ee[0].length===ve.index+ve[0].length||(ve=ee),M[T.COERCERTL].lastIndex=ee.index+ee[1].length+ee[2].length;M[T.COERCERTL].lastIndex=-1}else ve=V.match(M[T.COERCE]);return ve===null?null:Q(ve[2]+"."+(ve[3]||"0")+"."+(ve[4]||"0"),oe)}}).call(this,c(5))},function(u,l){function c(_){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(_)}var p;p=function(){return this}();try{p=p||new Function("return this")()}catch{(typeof window>"u"?"undefined":c(window))==="object"&&(p=window)}u.exports=p},function(u,l){var c,p,_=u.exports={};function t(){throw new Error("setTimeout has not been defined")}function O(){throw new Error("clearTimeout has not been defined")}function M(ye){if(c===setTimeout)return setTimeout(ye,0);if((c===t||!c)&&setTimeout)return c=setTimeout,setTimeout(ye,0);try{return c(ye,0)}catch{try{return c.call(null,ye,0)}catch{return c.call(this,ye,0)}}}(function(){try{c=typeof setTimeout=="function"?setTimeout:t}catch{c=t}try{p=typeof clearTimeout=="function"?clearTimeout:O}catch{p=O}})();var A,T=[],P=!1,U=-1;function z(){P&&A&&(P=!1,A.length?T=A.concat(T):U=-1,T.length&&Q())}function Q(){if(!P){var ye=M(z);P=!0;for(var le=T.length;le;){for(A=T,T=[];++U1)for(var ae=1;aethis[O])return pe(this,this[v].get(qe)),!1;var Ye=this[v].get(qe).value;return this[U]&&(this[z]||this[U](qe,Ye.value)),Ye.now=kt,Ye.maxAge=Ie,Ye.value=Xe,this[M]+=Kt-Ye.length,Ye.length=Kt,this.get(qe),fe(this),!0}var V=new Z(qe,Xe,Kt,kt,Ie);return V.length>this[O]?(this[U]&&this[U](qe,Xe),!1):(this[M]+=V.length,this[Q].unshift(V),this[v].set(qe,this[Q].head),fe(this),!0)}},{key:"has",value:function(qe){if(!this[v].has(qe))return!1;var Xe=this[v].get(qe).value;return!Me(this,Xe)}},{key:"get",value:function(qe){return ae(this,qe,!0)}},{key:"peek",value:function(qe){return ae(this,qe,!1)}},{key:"pop",value:function(){var qe=this[Q].tail;return qe?(pe(this,qe),qe.value):null}},{key:"del",value:function(qe){pe(this,this[v].get(qe))}},{key:"load",value:function(qe){this.reset();for(var Xe=Date.now(),Ie=qe.length-1;Ie>=0;Ie--){var kt=qe[Ie],Kt=kt.e||0;if(Kt===0)this.set(kt.k,kt.v);else{var Ye=Kt-Xe;Ye>0&&this.set(kt.k,kt.v,Ye)}}}},{key:"prune",value:function(){var qe=this;this[v].forEach(function(Xe,Ie){return ae(qe,Ie,!1)})}},{key:"max",set:function(qe){if(typeof qe!="number"||qe<0)throw new TypeError("max must be a non-negative number");this[O]=qe||1/0,fe(this)},get:function(){return this[O]}},{key:"allowStale",set:function(qe){this[T]=!!qe},get:function(){return this[T]}},{key:"maxAge",set:function(qe){if(typeof qe!="number")throw new TypeError("maxAge must be a non-negative number");this[P]=qe,fe(this)},get:function(){return this[P]}},{key:"lengthCalculator",set:function(qe){var Xe=this;typeof qe!="function"&&(qe=ye),qe!==this[A]&&(this[A]=qe,this[M]=0,this[Q].forEach(function(Ie){Ie.length=Xe[A](Ie.value,Ie.key),Xe[M]+=Ie.length})),fe(this)},get:function(){return this[A]}},{key:"length",get:function(){return this[M]}},{key:"itemCount",get:function(){return this[Q].length}}])&&_(He.prototype,ot),st&&_(He,st),Fe}(),ae=function(Fe,He,ot){var st=Fe[v].get(He);if(st){var qe=st.value;if(Me(Fe,qe)){if(pe(Fe,st),!Fe[T])return}else ot&&(Fe[de]&&(st.value.now=Date.now()),Fe[Q].unshiftNode(st));return qe.value}},Me=function(Fe,He){if(!He||!He.maxAge&&!Fe[P])return!1;var ot=Date.now()-He.now;return He.maxAge?ot>He.maxAge:Fe[P]&&ot>Fe[P]},fe=function(Fe){if(Fe[M]>Fe[O])for(var He=Fe[Q].tail;Fe[M]>Fe[O]&&He!==null;){var ot=He.prev;pe(Fe,He),He=ot}},pe=function(Fe,He){if(He){var ot=He.value;Fe[U]&&Fe[U](ot.key,ot.value),Fe[M]-=ot.length,Fe[v].delete(ot.key),Fe[Q].removeNode(He)}},Z=function Fe(He,ot,st,qe,Xe){p(this,Fe),this.key=He,this.value=ot,this.length=st,this.now=qe,this.maxAge=Xe||0},Ae=function(Fe,He,ot,st){var qe=ot.value;Me(Fe,qe)&&(pe(Fe,ot),Fe[T]||(qe=void 0)),qe&&He.call(st,qe.value,qe.key,Fe)};u.exports=le},function(u,l,c){(function(p){function _(t){return(_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(t)}u.exports=function(){if(typeof document>"u"||!document.addEventListener)return null;var t,O,M,A={};return A.copy=function(){var T=!1,P=null,U=!1;function z(){T=!1,P=null,U&&window.getSelection().removeAllRanges(),U=!1}return document.addEventListener("copy",function(Q){if(T){for(var v in P)Q.clipboardData.setData(v,P[v]);Q.preventDefault()}}),function(Q){return new Promise(function(v,de){T=!0,typeof Q=="string"?P={"text/plain":Q}:Q instanceof Node?P={"text/html":new XMLSerializer().serializeToString(Q)}:Q instanceof Object?P=Q:de("Invalid data type. Must be string, DOM node, or an object mapping MIME types to strings."),function ye(le){try{if(document.execCommand("copy"))z(),v();else{if(le)throw z(),new Error("Unable to copy. Perhaps it's not available in your browser?");(function(){var ae=document.getSelection();if(!document.queryCommandEnabled("copy")&&ae.isCollapsed){var Me=document.createRange();Me.selectNodeContents(document.body),ae.removeAllRanges(),ae.addRange(Me),U=!0}})(),ye(!0)}}catch(ae){z(),de(ae)}}(!1)})}}(),A.paste=(M=!1,document.addEventListener("paste",function(T){if(M){M=!1,T.preventDefault();var P=t;t=null,P(T.clipboardData.getData(O))}}),function(T){return new Promise(function(P,U){M=!0,t=P,O=T||"text/plain";try{document.execCommand("paste")||(M=!1,U(new Error("Unable to paste. Pasting only works in Internet Explorer at the moment.")))}catch(z){M=!1,U(new Error(z))}})}),typeof ClipboardEvent>"u"&&window.clipboardData!==void 0&&window.clipboardData.setData!==void 0&&(function(T){function P(fe,pe){return function(){fe.apply(pe,arguments)}}function U(fe){if(_(this)!="object")throw new TypeError("Promises must be constructed via new");if(typeof fe!="function")throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],le(fe,P(Q,this),P(v,this))}function z(fe){var pe=this;return this._state===null?void this._deferreds.push(fe):void ae(function(){var Z=pe._state?fe.onFulfilled:fe.onRejected;if(Z!==null){var Ae;try{Ae=Z(pe._value)}catch(Fe){return void fe.reject(Fe)}fe.resolve(Ae)}else(pe._state?fe.resolve:fe.reject)(pe._value)})}function Q(fe){try{if(fe===this)throw new TypeError("A promise cannot be resolved with itself.");if(fe&&(_(fe)=="object"||typeof fe=="function")){var pe=fe.then;if(typeof pe=="function")return void le(P(pe,fe),P(Q,this),P(v,this))}this._state=!0,this._value=fe,de.call(this)}catch(Z){v.call(this,Z)}}function v(fe){this._state=!1,this._value=fe,de.call(this)}function de(){for(var fe=0,pe=this._deferreds.length;pe>fe;fe++)z.call(this,this._deferreds[fe]);this._deferreds=null}function ye(fe,pe,Z,Ae){this.onFulfilled=typeof fe=="function"?fe:null,this.onRejected=typeof pe=="function"?pe:null,this.resolve=Z,this.reject=Ae}function le(fe,pe,Z){var Ae=!1;try{fe(function(Fe){Ae||(Ae=!0,pe(Fe))},function(Fe){Ae||(Ae=!0,Z(Fe))})}catch(Fe){if(Ae)return;Ae=!0,Z(Fe)}}var ae=U.immediateFn||typeof p=="function"&&p||function(fe){setTimeout(fe,1)},Me=Array.isArray||function(fe){return Object.prototype.toString.call(fe)==="[object Array]"};U.prototype.catch=function(fe){return this.then(null,fe)},U.prototype.then=function(fe,pe){var Z=this;return new U(function(Ae,Fe){z.call(Z,new ye(fe,pe,Ae,Fe))})},U.all=function(){var fe=Array.prototype.slice.call(arguments.length===1&&Me(arguments[0])?arguments[0]:arguments);return new U(function(pe,Z){function Ae(ot,st){try{if(st&&(_(st)=="object"||typeof st=="function")){var qe=st.then;if(typeof qe=="function")return void qe.call(st,function(Xe){Ae(ot,Xe)},Z)}fe[ot]=st,--Fe==0&&pe(fe)}catch(Xe){Z(Xe)}}if(fe.length===0)return pe([]);for(var Fe=fe.length,He=0;HeAe;Ae++)fe[Ae].then(pe,Z)})},u.exports?u.exports=U:T.Promise||(T.Promise=U)}(this),A.copy=function(T){return new Promise(function(P,U){if(typeof T!="string"&&!("text/plain"in T))throw new Error("You must provide a text/plain type.");var z=typeof T=="string"?T:T["text/plain"];window.clipboardData.setData("Text",z)?P():U(new Error("Copying was rejected."))})},A.paste=function(){return new Promise(function(T,P){var U=window.clipboardData.getData("Text");U?T(U):P(new Error("Pasting was rejected."))})}),A}()}).call(this,c(13).setImmediate)},function(u,l,c){"use strict";u.exports=c(15)},function(u,l,c){"use strict";c.r(l),l.default=`:root { + /** + * IMPORTANT: When new theme variables are added below\u2013 also add them to SettingsContext updateThemeVariables() + */ + + /* Light theme */ + --light-color-attribute-name: #ef6632; + --light-color-attribute-name-not-editable: #23272f; + --light-color-attribute-name-inverted: rgba(255, 255, 255, 0.7); + --light-color-attribute-value: #1a1aa6; + --light-color-attribute-value-inverted: #ffffff; + --light-color-attribute-editable-value: #1a1aa6; + --light-color-background: #ffffff; + --light-color-background-hover: rgba(0, 136, 250, 0.1); + --light-color-background-inactive: #e5e5e5; + --light-color-background-invalid: #fff0f0; + --light-color-background-selected: #0088fa; + --light-color-button-background: #ffffff; + --light-color-button-background-focus: #ededed; + --light-color-button: #5f6673; + --light-color-button-disabled: #cfd1d5; + --light-color-button-active: #0088fa; + --light-color-button-focus: #23272f; + --light-color-button-hover: #23272f; + --light-color-border: #eeeeee; + --light-color-commit-did-not-render-fill: #cfd1d5; + --light-color-commit-did-not-render-fill-text: #000000; + --light-color-commit-did-not-render-pattern: #cfd1d5; + --light-color-commit-did-not-render-pattern-text: #333333; + --light-color-commit-gradient-0: #37afa9; + --light-color-commit-gradient-1: #63b19e; + --light-color-commit-gradient-2: #80b393; + --light-color-commit-gradient-3: #97b488; + --light-color-commit-gradient-4: #abb67d; + --light-color-commit-gradient-5: #beb771; + --light-color-commit-gradient-6: #cfb965; + --light-color-commit-gradient-7: #dfba57; + --light-color-commit-gradient-8: #efbb49; + --light-color-commit-gradient-9: #febc38; + --light-color-commit-gradient-text: #000000; + --light-color-component-name: #6a51b2; + --light-color-component-name-inverted: #ffffff; + --light-color-component-badge-background: rgba(0, 0, 0, 0.1); + --light-color-component-badge-background-inverted: rgba(255, 255, 255, 0.25); + --light-color-component-badge-count: #777d88; + --light-color-component-badge-count-inverted: rgba(255, 255, 255, 0.7); + --light-color-context-background: rgba(0,0,0,.9); + --light-color-context-background-hover: rgba(255, 255, 255, 0.1); + --light-color-context-background-selected: #178fb9; + --light-color-context-border: #3d424a; + --light-color-context-text: #ffffff; + --light-color-context-text-selected: #ffffff; + --light-color-dim: #777d88; + --light-color-dimmer: #cfd1d5; + --light-color-dimmest: #eff0f1; + --light-color-error-background: hsl(0, 100%, 97%); + --light-color-error-border: hsl(0, 100%, 92%); + --light-color-error-text: #ff0000; + --light-color-expand-collapse-toggle: #777d88; + --light-color-link: #0000ff; + --light-color-modal-background: rgba(255, 255, 255, 0.75); + --light-color-record-active: #fc3a4b; + --light-color-record-hover: #3578e5; + --light-color-record-inactive: #0088fa; + --light-color-scroll-thumb: #c2c2c2; + --light-color-scroll-track: #fafafa; + --light-color-search-match: yellow; + --light-color-search-match-current: #f7923b; + --light-color-selected-tree-highlight-active: rgba(0, 136, 250, 0.1); + --light-color-selected-tree-highlight-inactive: rgba(0, 0, 0, 0.05); + --light-color-shadow: rgba(0, 0, 0, 0.25); + --light-color-tab-selected-border: #0088fa; + --light-color-text: #000000; + --light-color-text-invalid: #ff0000; + --light-color-text-selected: #ffffff; + --light-color-toggle-background-invalid: #fc3a4b; + --light-color-toggle-background-on: #0088fa; + --light-color-toggle-background-off: #cfd1d5; + --light-color-toggle-text: #ffffff; + --light-color-tooltip-background: rgba(0, 0, 0, 0.9); + --light-color-tooltip-text: #ffffff; + + /* Dark theme */ + --dark-color-attribute-name: #9d87d2; + --dark-color-attribute-name-not-editable: #ededed; + --dark-color-attribute-name-inverted: #282828; + --dark-color-attribute-value: #cedae0; + --dark-color-attribute-value-inverted: #ffffff; + --dark-color-attribute-editable-value: yellow; + --dark-color-background: #282c34; + --dark-color-background-hover: rgba(255, 255, 255, 0.1); + --dark-color-background-inactive: #3d424a; + --dark-color-background-invalid: #5c0000; + --dark-color-background-selected: #178fb9; + --dark-color-button-background: #282c34; + --dark-color-button-background-focus: #3d424a; + --dark-color-button: #afb3b9; + --dark-color-button-active: #61dafb; + --dark-color-button-disabled: #4f5766; + --dark-color-button-focus: #a2e9fc; + --dark-color-button-hover: #ededed; + --dark-color-border: #3d424a; + --dark-color-commit-did-not-render-fill: #777d88; + --dark-color-commit-did-not-render-fill-text: #000000; + --dark-color-commit-did-not-render-pattern: #666c77; + --dark-color-commit-did-not-render-pattern-text: #ffffff; + --dark-color-commit-gradient-0: #37afa9; + --dark-color-commit-gradient-1: #63b19e; + --dark-color-commit-gradient-2: #80b393; + --dark-color-commit-gradient-3: #97b488; + --dark-color-commit-gradient-4: #abb67d; + --dark-color-commit-gradient-5: #beb771; + --dark-color-commit-gradient-6: #cfb965; + --dark-color-commit-gradient-7: #dfba57; + --dark-color-commit-gradient-8: #efbb49; + --dark-color-commit-gradient-9: #febc38; + --dark-color-commit-gradient-text: #000000; + --dark-color-component-name: #61dafb; + --dark-color-component-name-inverted: #282828; + --dark-color-component-badge-background: rgba(255, 255, 255, 0.25); + --dark-color-component-badge-background-inverted: rgba(0, 0, 0, 0.25); + --dark-color-component-badge-count: #8f949d; + --dark-color-component-badge-count-inverted: rgba(255, 255, 255, 0.7); + --dark-color-context-background: rgba(255,255,255,.9); + --dark-color-context-background-hover: rgba(0, 136, 250, 0.1); + --dark-color-context-background-selected: #0088fa; + --dark-color-context-border: #eeeeee; + --dark-color-context-text: #000000; + --dark-color-context-text-selected: #ffffff; + --dark-color-dim: #8f949d; + --dark-color-dimmer: #777d88; + --dark-color-dimmest: #4f5766; + --dark-color-error-background: #200; + --dark-color-error-border: #900; + --dark-color-error-text: #f55; + --dark-color-expand-collapse-toggle: #8f949d; + --dark-color-link: #61dafb; + --dark-color-modal-background: rgba(0, 0, 0, 0.75); + --dark-color-record-active: #fc3a4b; + --dark-color-record-hover: #a2e9fc; + --dark-color-record-inactive: #61dafb; + --dark-color-scroll-thumb: #afb3b9; + --dark-color-scroll-track: #313640; + --dark-color-search-match: yellow; + --dark-color-search-match-current: #f7923b; + --dark-color-selected-tree-highlight-active: rgba(23, 143, 185, 0.15); + --dark-color-selected-tree-highlight-inactive: rgba(255, 255, 255, 0.05); + --dark-color-shadow: rgba(0, 0, 0, 0.5); + --dark-color-tab-selected-border: #178fb9; + --dark-color-text: #ffffff; + --dark-color-text-invalid: #ff8080; + --dark-color-text-selected: #ffffff; + --dark-color-toggle-background-invalid: #fc3a4b; + --dark-color-toggle-background-on: #178fb9; + --dark-color-toggle-background-off: #777d88; + --dark-color-toggle-text: #ffffff; + --dark-color-tooltip-background: rgba(255, 255, 255, 0.9); + --dark-color-tooltip-text: #000000; + + /* Font smoothing */ + --light-font-smoothing: auto; + --dark-font-smoothing: antialiased; + --font-smoothing: auto; + + /* Compact density */ + --compact-font-size-monospace-small: 9px; + --compact-font-size-monospace-normal: 11px; + --compact-font-size-monospace-large: 15px; + --compact-font-size-sans-small: 10px; + --compact-font-size-sans-normal: 12px; + --compact-font-size-sans-large: 14px; + --compact-line-height-data: 18px; + --compact-root-font-size: 16px; + + /* Comfortable density */ + --comfortable-font-size-monospace-small: 10px; + --comfortable-font-size-monospace-normal: 13px; + --comfortable-font-size-monospace-large: 17px; + --comfortable-font-size-sans-small: 12px; + --comfortable-font-size-sans-normal: 14px; + --comfortable-font-size-sans-large: 16px; + --comfortable-line-height-data: 22px; + --comfortable-root-font-size: 20px; + + /* GitHub.com system fonts */ + --font-family-monospace: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, + Courier, monospace; + --font-family-sans: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, + Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; + + /* Constant values shared between JS and CSS */ + --interaction-commit-size: 10px; + --interaction-label-width: 200px; +} +`},function(u,l,c){"use strict";function p(A){var T=this;if(T instanceof p||(T=new p),T.tail=null,T.head=null,T.length=0,A&&typeof A.forEach=="function")A.forEach(function(z){T.push(z)});else if(arguments.length>0)for(var P=0,U=arguments.length;P1)P=T;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");U=this.head.next,P=this.head.value}for(var z=0;U!==null;z++)P=A(P,U.value,z),U=U.next;return P},p.prototype.reduceReverse=function(A,T){var P,U=this.tail;if(arguments.length>1)P=T;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");U=this.tail.prev,P=this.tail.value}for(var z=this.length-1;U!==null;z--)P=A(P,U.value,z),U=U.prev;return P},p.prototype.toArray=function(){for(var A=new Array(this.length),T=0,P=this.head;P!==null;T++)A[T]=P.value,P=P.next;return A},p.prototype.toArrayReverse=function(){for(var A=new Array(this.length),T=0,P=this.tail;P!==null;T++)A[T]=P.value,P=P.prev;return A},p.prototype.slice=function(A,T){(T=T||this.length)<0&&(T+=this.length),(A=A||0)<0&&(A+=this.length);var P=new p;if(Tthis.length&&(T=this.length);for(var U=0,z=this.head;z!==null&&Uthis.length&&(T=this.length);for(var U=this.length,z=this.tail;z!==null&&U>T;U--)z=z.prev;for(;z!==null&&U>A;U--,z=z.prev)P.push(z.value);return P},p.prototype.splice=function(A,T){A>this.length&&(A=this.length-1),A<0&&(A=this.length+A);for(var P=0,U=this.head;U!==null&&P=0&&(M._idleTimeoutId=setTimeout(function(){M._onTimeout&&M._onTimeout()},A))},c(14),l.setImmediate=typeof self<"u"&&self.setImmediate||p!==void 0&&p.setImmediate||this&&this.setImmediate,l.clearImmediate=typeof self<"u"&&self.clearImmediate||p!==void 0&&p.clearImmediate||this&&this.clearImmediate}).call(this,c(4))},function(u,l,c){(function(p,_){(function(t,O){"use strict";if(!t.setImmediate){var M,A,T,P,U,z=1,Q={},v=!1,de=t.document,ye=Object.getPrototypeOf&&Object.getPrototypeOf(t);ye=ye&&ye.setTimeout?ye:t,{}.toString.call(t.process)==="[object process]"?M=function(Me){_.nextTick(function(){ae(Me)})}:function(){if(t.postMessage&&!t.importScripts){var Me=!0,fe=t.onmessage;return t.onmessage=function(){Me=!1},t.postMessage("","*"),t.onmessage=fe,Me}}()?(P="setImmediate$"+Math.random()+"$",U=function(Me){Me.source===t&&typeof Me.data=="string"&&Me.data.indexOf(P)===0&&ae(+Me.data.slice(P.length))},t.addEventListener?t.addEventListener("message",U,!1):t.attachEvent("onmessage",U),M=function(Me){t.postMessage(P+Me,"*")}):t.MessageChannel?((T=new MessageChannel).port1.onmessage=function(Me){ae(Me.data)},M=function(Me){T.port2.postMessage(Me)}):de&&"onreadystatechange"in de.createElement("script")?(A=de.documentElement,M=function(Me){var fe=de.createElement("script");fe.onreadystatechange=function(){ae(Me),fe.onreadystatechange=null,A.removeChild(fe),fe=null},A.appendChild(fe)}):M=function(Me){setTimeout(ae,0,Me)},ye.setImmediate=function(Me){typeof Me!="function"&&(Me=new Function(""+Me));for(var fe=new Array(arguments.length-1),pe=0;pe"u"?p===void 0?this:p:self)}).call(this,c(4),c(5))},function(u,l,c){"use strict";function p(Z){return(p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ae){return typeof Ae}:function(Ae){return Ae&&typeof Symbol=="function"&&Ae.constructor===Symbol&&Ae!==Symbol.prototype?"symbol":typeof Ae})(Z)}var _=c(1),t=c(16),O=c(18).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,M=60128;if(typeof Symbol=="function"&&Symbol.for){var A=Symbol.for;M=A("react.opaque.id")}var T=[],P=null,U=null;function z(){if(P===null){var Z=new Map;try{de.useContext({_currentValue:null}),de.useState(null),de.useReducer(function(ot){return ot},null),de.useRef(null),de.useLayoutEffect(function(){}),de.useEffect(function(){}),de.useImperativeHandle(void 0,function(){return null}),de.useDebugValue(null),de.useCallback(function(){}),de.useMemo(function(){return null})}finally{var Ae=T;T=[]}for(var Fe=0;Feoe;oe++)if((V=le(Ye,kt,oe))!==-1){ye=oe,kt=V;break e}kt=-1}}e:{if(Ye=Kt,(V=z().get(Ie.primitive))!==void 0){for(oe=0;oekt-Ye?null:Kt.slice(Ye,kt-1))!==null){if(kt=0,He!==null){for(;ktkt;He--)ot=qe.pop()}for(He=Kt.length-kt-1;1<=He;He--)kt=[],ot.push({id:null,isStateEditable:!1,name:Me(Kt[He-1].functionName),value:void 0,subHooks:kt}),qe.push(ot),ot=kt;He=Kt}kt=(Kt=Ie.primitive)==="Context"||Kt==="DebugValue"?null:st++,ot.push({id:kt,isStateEditable:Kt==="Reducer"||Kt==="State",name:Kt,value:Ie.value,subHooks:[]})}return function ve(ee,Oe){for(var et=[],ct=0;ct-1&&(Q=Q.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var v=Q.replace(/^\s+/,"").replace(/\(eval code/g,"("),de=v.match(/ (\((.+):(\d+):(\d+)\)$)/),ye=(v=de?v.replace(de[0],""):v).split(/\s+/).slice(1),le=this.extractLocation(de?de[1]:ye.pop()),ae=ye.join(" ")||void 0,Me=["eval",""].indexOf(le[0])>-1?void 0:le[0];return new A({functionName:ae,fileName:Me,lineNumber:le[1],columnNumber:le[2],source:Q})},this)},parseFFOrSafari:function(z){return z.stack.split(` +`).filter(function(Q){return!Q.match(U)},this).map(function(Q){if(Q.indexOf(" > eval")>-1&&(Q=Q.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),Q.indexOf("@")===-1&&Q.indexOf(":")===-1)return new A({functionName:Q});var v=/((.*".+"[^@]*)?[^@]*)(?:@)/,de=Q.match(v),ye=de&&de[1]?de[1]:void 0,le=this.extractLocation(Q.replace(v,""));return new A({functionName:ye,fileName:le[0],lineNumber:le[1],columnNumber:le[2],source:Q})},this)},parseOpera:function(z){return!z.stacktrace||z.message.indexOf(` +`)>-1&&z.message.split(` +`).length>z.stacktrace.split(` +`).length?this.parseOpera9(z):z.stack?this.parseOpera11(z):this.parseOpera10(z)},parseOpera9:function(z){for(var Q=/Line (\d+).*script (?:in )?(\S+)/i,v=z.message.split(` +`),de=[],ye=2,le=v.length;ye/,"$2").replace(/\([^)]*\)/g,"")||void 0;le.match(/\(([^)]*)\)/)&&(v=le.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var Me=v===void 0||v==="[arguments not available]"?void 0:v.split(",");return new A({functionName:ae,args:Me,fileName:ye[0],lineNumber:ye[1],columnNumber:ye[2],source:Q})},this)}}})=="function"?p.apply(l,_):p)===void 0||(u.exports=t)})()},function(u,l,c){var p,_,t;(function(O,M){"use strict";_=[],(t=typeof(p=function(){function A(ae){return ae.charAt(0).toUpperCase()+ae.substring(1)}function T(ae){return function(){return this[ae]}}var P=["isConstructor","isEval","isNative","isToplevel"],U=["columnNumber","lineNumber"],z=["fileName","functionName","source"],Q=P.concat(U,z,["args"]);function v(ae){if(ae)for(var Me=0;Me1?ge-1:0),De=1;De=0&&ge.splice(G,1)}}}])&&p(B.prototype,q),Y&&p(B,Y),b}(),t=c(2),O=c.n(t);try{var M=c(9).default,A=function(b){var B=new RegExp("".concat(b,": ([0-9]+)")),q=M.match(B);return parseInt(q[1],10)};A("comfortable-line-height-data"),A("compact-line-height-data")}catch{}function T(b){try{return sessionStorage.getItem(b)}catch{return null}}function P(b){try{sessionStorage.removeItem(b)}catch{}}function U(b,B){try{return sessionStorage.setItem(b,B)}catch{}}var z=function(b,B){return b===B},Q=c(1),v=c.n(Q);function de(b){return b.ownerDocument?b.ownerDocument.defaultView:null}function ye(b){var B=de(b);return B?B.frameElement:null}function le(b){var B=fe(b);return ae([b.getBoundingClientRect(),{top:B.borderTop,left:B.borderLeft,bottom:B.borderBottom,right:B.borderRight,width:0,height:0}])}function ae(b){return b.reduce(function(B,q){return B==null?q:{top:B.top+q.top,left:B.left+q.left,width:B.width,height:B.height,bottom:B.bottom+q.bottom,right:B.right+q.right}})}function Me(b,B){var q=ye(b);if(q&&q!==B){for(var Y=[b.getBoundingClientRect()],_e=q,se=!1;_e;){var ge=le(_e);if(Y.push(ge),_e=ye(_e),se)break;_e&&de(_e)===B&&(se=!0)}return ae(Y)}return b.getBoundingClientRect()}function fe(b){var B=window.getComputedStyle(b);return{borderLeft:parseInt(B.borderLeftWidth,10),borderRight:parseInt(B.borderRightWidth,10),borderTop:parseInt(B.borderTopWidth,10),borderBottom:parseInt(B.borderBottomWidth,10),marginLeft:parseInt(B.marginLeft,10),marginRight:parseInt(B.marginRight,10),marginTop:parseInt(B.marginTop,10),marginBottom:parseInt(B.marginBottom,10),paddingLeft:parseInt(B.paddingLeft,10),paddingRight:parseInt(B.paddingRight,10),paddingTop:parseInt(B.paddingTop,10),paddingBottom:parseInt(B.paddingBottom,10)}}function pe(b,B){var q;if(typeof Symbol>"u"||b[Symbol.iterator]==null){if(Array.isArray(b)||(q=function(De,je){if(!!De){if(typeof De=="string")return Z(De,je);var nt=Object.prototype.toString.call(De).slice(8,-1);if(nt==="Object"&&De.constructor&&(nt=De.constructor.name),nt==="Map"||nt==="Set")return Array.from(De);if(nt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(nt))return Z(De,je)}}(b))||B&&b&&typeof b.length=="number"){q&&(b=q);var Y=0,_e=function(){};return{s:_e,n:function(){return Y>=b.length?{done:!0}:{done:!1,value:b[Y++]}},e:function(De){throw De},f:_e}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var se,ge=!0,G=!1;return{s:function(){q=b[Symbol.iterator]()},n:function(){var De=q.next();return ge=De.done,De},e:function(De){G=!0,se=De},f:function(){try{ge||q.return==null||q.return()}finally{if(G)throw se}}}}function Z(b,B){(B==null||B>b.length)&&(B=b.length);for(var q=0,Y=new Array(B);qge.left+ge.width&&(ne=ge.left+ge.width-nt-5),{style:{top:De+="px",left:ne+="px"}}}(B,q,{width:Y.width,height:Y.height});v()(this.tip.style,_e.style)}}]),b}(),qe=function(){function b(){Ae(this,b);var B=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;this.window=B;var q=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;this.tipBoundsWindow=q;var Y=B.document;this.container=Y.createElement("div"),this.container.style.zIndex="10000000",this.tip=new st(Y,this.container),this.rects=[],Y.body.appendChild(this.container)}return He(b,[{key:"remove",value:function(){this.tip.remove(),this.rects.forEach(function(B){B.remove()}),this.rects.length=0,this.container.parentNode&&this.container.parentNode.removeChild(this.container)}},{key:"inspect",value:function(B,q){for(var Y=this,_e=B.filter(function(ut){return ut.nodeType===Node.ELEMENT_NODE});this.rects.length>_e.length;)this.rects.pop().remove();if(_e.length!==0){for(;this.rects.length<_e.length;)this.rects.push(new ot(this.window.document,this.container));var se={top:Number.POSITIVE_INFINITY,right:Number.NEGATIVE_INFINITY,bottom:Number.NEGATIVE_INFINITY,left:Number.POSITIVE_INFINITY};if(_e.forEach(function(ut,ht){var wt=Me(ut,Y.window),Vt=fe(ut);se.top=Math.min(se.top,wt.top-Vt.marginTop),se.right=Math.max(se.right,wt.left+wt.width+Vt.marginRight),se.bottom=Math.max(se.bottom,wt.top+wt.height+Vt.marginBottom),se.left=Math.min(se.left,wt.left-Vt.marginLeft),Y.rects[ht].update(wt,Vt)}),!q){q=_e[0].nodeName.toLowerCase();var ge=_e[0],G=ge.ownerDocument.defaultView.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(G!=null&&G.rendererInterfaces!=null){var De,je=null,nt=pe(G.rendererInterfaces.values());try{for(nt.s();!(De=nt.n()).done;){var ne=De.value,Ne=ne.getFiberIDForNative(ge,!0);if(Ne!==null){je=ne.getDisplayNameForFiberID(Ne,!0);break}}}catch(ut){nt.e(ut)}finally{nt.f()}je&&(q+=" (in "+je+")")}}this.tip.updateText(q,se.right-se.left,se.bottom-se.top);var Je=Me(this.tipBoundsWindow.document.documentElement,this.window);this.tip.updatePosition({top:se.top,left:se.left,height:se.bottom-se.top,width:se.right-se.left},{top:Je.top+this.tipBoundsWindow.scrollY,left:Je.left+this.tipBoundsWindow.scrollX,height:this.tipBoundsWindow.innerHeight,width:this.tipBoundsWindow.innerWidth})}}}]),b}();function Xe(b,B,q){v()(q.style,{borderTopWidth:b[B+"Top"]+"px",borderLeftWidth:b[B+"Left"]+"px",borderRightWidth:b[B+"Right"]+"px",borderBottomWidth:b[B+"Bottom"]+"px",borderStyle:"solid"})}var Ie={background:"rgba(120, 170, 210, 0.7)",padding:"rgba(77, 200, 0, 0.3)",margin:"rgba(255, 155, 0, 0.3)",border:"rgba(255, 200, 50, 0.3)"},kt=null,Kt=null;function Ye(){kt=null,Kt!==null&&(Kt.remove(),Kt=null)}function V(b,B,q){window.document!=null&&(kt!==null&&clearTimeout(kt),b!=null&&(Kt===null&&(Kt=new qe),Kt.inspect(b,B),q&&(kt=setTimeout(Ye,2e3))))}var oe=new Set;function ve(b,B){function q(ne){ne&&typeof ne.addEventListener=="function"&&(ne.addEventListener("click",se,!0),ne.addEventListener("mousedown",ge,!0),ne.addEventListener("mouseover",ge,!0),ne.addEventListener("mouseup",ge,!0),ne.addEventListener("pointerdown",G,!0),ne.addEventListener("pointerover",De,!0),ne.addEventListener("pointerup",je,!0))}function Y(){Ye(),_e(window),oe.forEach(function(ne){try{_e(ne.contentWindow)}catch{}}),oe=new Set}function _e(ne){ne&&typeof ne.removeEventListener=="function"&&(ne.removeEventListener("click",se,!0),ne.removeEventListener("mousedown",ge,!0),ne.removeEventListener("mouseover",ge,!0),ne.removeEventListener("mouseup",ge,!0),ne.removeEventListener("pointerdown",G,!0),ne.removeEventListener("pointerover",De,!0),ne.removeEventListener("pointerup",je,!0))}function se(ne){ne.preventDefault(),ne.stopPropagation(),Y(),b.send("stopInspectingNative",!0)}function ge(ne){ne.preventDefault(),ne.stopPropagation()}function G(ne){ne.preventDefault(),ne.stopPropagation(),nt(ne.target)}function De(ne){ne.preventDefault(),ne.stopPropagation();var Ne=ne.target;if(Ne.tagName==="IFRAME"){var Je=Ne;try{oe.has(Je)||(q(Je.contentWindow),oe.add(Je))}catch{}}V([Ne],null,!1),nt(Ne)}function je(ne){ne.preventDefault(),ne.stopPropagation()}b.addListener("clearNativeElementHighlight",function(){Ye()}),b.addListener("highlightNativeElement",function(ne){var Ne=ne.displayName,Je=ne.hideAfterTimeout,ut=ne.id,ht=ne.openNativeElementsPanel,wt=ne.rendererID,Vt=ne.scrollIntoView,bt=B.rendererInterfaces[wt];bt==null&&console.warn('Invalid renderer id "'.concat(wt,'" for element "').concat(ut,'"'));var Pt=null;if(bt!=null&&(Pt=bt.findNativeNodesForFiberID(ut)),Pt!=null&&Pt[0]!=null){var ln=Pt[0];Vt&&typeof ln.scrollIntoView=="function"&&ln.scrollIntoView({block:"nearest",inline:"nearest"}),V(Pt,Ne,Je),ht&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.$0=ln,b.send("syncSelectionToNativeElementsPanel"))}else Ye()}),b.addListener("shutdown",Y),b.addListener("startInspectingNative",function(){q(window)}),b.addListener("stopInspectingNative",Y);var nt=O()(function(ne){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:z,Je=void 0,ut=[],ht=void 0,wt=!1,Vt=function(Pt,ln){return Ne(Pt,ut[ln])},bt=function(){for(var Pt=arguments.length,ln=Array(Pt),jn=0;jn"u"?"undefined":ct(performance))==="object"&&typeof performance.now=="function"?function(){return performance.now()}:function(){return Date.now()},Xt=new Map,pn=null,Nn=!1,Wt=null;function Ot(b){(Nn=b)||(Xt.clear(),pn!==null&&(cancelAnimationFrame(pn),pn=null),Wt!==null&&(clearTimeout(Wt),Wt=null),Oe!==null&&(Oe.parentNode!=null&&Oe.parentNode.removeChild(Oe),Oe=null))}function Wn(b){Nn&&(b.forEach(function(B){var q=Xt.get(B),Y=Lt(),_e=q!=null?q.lastMeasuredAt:0,se=q!=null?q.rect:null;(se===null||_e+2505&&arguments[5]!==void 0?arguments[5]:0,G=Co(b);switch(G){case"html_element":return B.push(Y),{inspectable:!1,preview_short:Wr(b,!1),preview_long:Wr(b,!0),name:b.tagName,type:G};case"function":return B.push(Y),{inspectable:!1,preview_short:Wr(b,!1),preview_long:Wr(b,!0),name:typeof b.name!="function"&&b.name?b.name:"function",type:G};case"string":return b.length<=500?b:b.slice(0,500)+"...";case"bigint":case"symbol":return B.push(Y),{inspectable:!1,preview_short:Wr(b,!1),preview_long:Wr(b,!0),name:b.toString(),type:G};case"react_element":return B.push(Y),{inspectable:!1,preview_short:Wr(b,!1),preview_long:Wr(b,!0),name:U0(b)||"Unknown",type:G};case"array_buffer":case"data_view":return B.push(Y),{inspectable:!1,preview_short:Wr(b,!1),preview_long:Wr(b,!0),name:G==="data_view"?"DataView":"ArrayBuffer",size:b.byteLength,type:G};case"array":return se=_e(Y),ge>=2&&!se?B0(G,!0,b,B,Y):b.map(function(nt,ne){return Do(nt,B,q,Y.concat([ne]),_e,se?1:ge+1)});case"html_all_collection":case"typed_array":case"iterator":if(se=_e(Y),ge>=2&&!se)return B0(G,!0,b,B,Y);var De={unserializable:!0,type:G,readonly:!0,size:G==="typed_array"?b.length:void 0,preview_short:Wr(b,!1),preview_long:Wr(b,!0),name:b.constructor&&b.constructor.name!=="Object"?b.constructor.name:""};return zt(b[Symbol.iterator])&&Array.from(b).forEach(function(nt,ne){return De[ne]=Do(nt,B,q,Y.concat([ne]),_e,se?1:ge+1)}),q.push(Y),De;case"opaque_iterator":return B.push(Y),{inspectable:!1,preview_short:Wr(b,!1),preview_long:Wr(b,!0),name:b[Symbol.toStringTag],type:G};case"date":case"regexp":return B.push(Y),{inspectable:!1,preview_short:Wr(b,!1),preview_long:Wr(b,!0),name:b.toString(),type:G};case"object":if(se=_e(Y),ge>=2&&!se)return B0(G,!0,b,B,Y);var je={};return Ai(b).forEach(function(nt){var ne=nt.toString();je[ne]=Do(b[nt],B,q,Y.concat([ne]),_e,se?1:ge+1)}),je;case"infinity":case"nan":case"undefined":return B.push(Y),{type:G};default:return b}}function wl(b){return(wl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B})(b)}function Sl(b){return function(B){if(Array.isArray(B))return Tl(B)}(b)||function(B){if(typeof Symbol<"u"&&Symbol.iterator in Object(B))return Array.from(B)}(b)||function(B,q){if(!!B){if(typeof B=="string")return Tl(B,q);var Y=Object.prototype.toString.call(B).slice(8,-1);if(Y==="Object"&&B.constructor&&(Y=B.constructor.name),Y==="Map"||Y==="Set")return Array.from(B);if(Y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Y))return Tl(B,q)}}(b)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Tl(b,B){(B==null||B>b.length)&&(B=b.length);for(var q=0,Y=new Array(B);qB.toString()?1:B.toString()>b.toString()?-1:0}function Ai(b){for(var B=[],q=b,Y=function(){var _e=[].concat(Sl(Object.keys(q)),Sl(Object.getOwnPropertySymbols(q))),se=Object.getOwnPropertyDescriptors(q);_e.forEach(function(ge){se[ge].enumerable&&B.push(ge)}),q=Object.getPrototypeOf(q)};q!=null;)Y();return B}function br(b){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Anonymous",q=ua.get(b);if(q!=null)return q;var Y=B;return typeof b.displayName=="string"?Y=b.displayName:typeof b.name=="string"&&b.name!==""&&(Y=b.name),ua.set(b,Y),Y}var Xn=0;function Fu(){return++Xn}function wo(b){var B=Rt.get(b);if(B!==void 0)return B;for(var q=new Array(b.length),Y=0;Y1&&arguments[1]!==void 0?arguments[1]:50;return b.length>B?b.substr(0,B)+"\u2026":b}function Wr(b,B){if(b!=null&&hasOwnProperty.call(b,p0.type))return B?b[p0.preview_long]:b[p0.preview_short];switch(Co(b)){case"html_element":return"<".concat(xi(b.tagName.toLowerCase())," />");case"function":return xi("\u0192 ".concat(typeof b.name=="function"?"":b.name,"() {}"));case"string":return'"'.concat(b,'"');case"bigint":return xi(b.toString()+"n");case"regexp":case"symbol":return xi(b.toString());case"react_element":return"<".concat(xi(U0(b)||"Unknown")," />");case"array_buffer":return"ArrayBuffer(".concat(b.byteLength,")");case"data_view":return"DataView(".concat(b.buffer.byteLength,")");case"array":if(B){for(var q="",Y=0;Y0&&(q+=", "),!((q+=Wr(b[Y],!1)).length>50));Y++);return"[".concat(xi(q),"]")}var _e=hasOwnProperty.call(b,p0.size)?b[p0.size]:b.length;return"Array(".concat(_e,")");case"typed_array":var se="".concat(b.constructor.name,"(").concat(b.length,")");if(B){for(var ge="",G=0;G0&&(ge+=", "),!((ge+=b[G]).length>50));G++);return"".concat(se," [").concat(xi(ge),"]")}return se;case"iterator":var De=b.constructor.name;if(B){for(var je=Array.from(b),nt="",ne=0;ne0&&(nt+=", "),Array.isArray(Ne)){var Je=Wr(Ne[0],!0),ut=Wr(Ne[1],!1);nt+="".concat(Je," => ").concat(ut)}else nt+=Wr(Ne,!1);if(nt.length>50)break}return"".concat(De,"(").concat(b.size,") {").concat(xi(nt),"}")}return"".concat(De,"(").concat(b.size,")");case"opaque_iterator":return b[Symbol.toStringTag];case"date":return b.toString();case"object":if(B){for(var ht=Ai(b).sort(Kr),wt="",Vt=0;Vt0&&(wt+=", "),(wt+="".concat(bt.toString(),": ").concat(Wr(b[bt],!1))).length>50)break}return"{".concat(xi(wt),"}")}return"{\u2026}";case"boolean":case"number":case"infinity":case"nan":case"null":case"undefined":return b;default:try{return xi(""+b)}catch{return"unserializable"}}}var Cl=c(7);function Lu(b){return(Lu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B})(b)}function F0(b,B){var q=Object.keys(b);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(b);B&&(Y=Y.filter(function(_e){return Object.getOwnPropertyDescriptor(b,_e).enumerable})),q.push.apply(q,Y)}return q}function S0(b){for(var B=1;B2&&arguments[2]!==void 0?arguments[2]:[];if(b!==null){var Y=[],_e=[],se=Do(b,Y,_e,q,B);return{data:se,cleaned:Y,unserializable:_e}}return null}function j0(b){var B,q,Y=(B=b,q=new Set,JSON.stringify(B,function(ge,G){if(Lu(G)==="object"&&G!==null){if(q.has(G))return;q.add(G)}return typeof G=="bigint"?G.toString()+"n":G})),_e=Y===void 0?"undefined":Y,se=window.__REACT_DEVTOOLS_GLOBAL_HOOK__.clipboardCopyText;typeof se=="function"?se(_e).catch(function(ge){}):Object(Cl.copy)(_e)}function Ir(b,B){var q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Y=B[q],_e=Array.isArray(b)?b.slice():S0({},b);return q+1===B.length?Array.isArray(_e)?_e.splice(Y,1):delete _e[Y]:_e[Y]=Ir(b[Y],B,q+1),_e}function Ft(b,B,q){var Y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,_e=B[Y],se=Array.isArray(b)?b.slice():S0({},b);if(Y+1===B.length){var ge=q[Y];se[ge]=se[_e],Array.isArray(se)?se.splice(_e,1):delete se[_e]}else se[_e]=Ft(b[_e],B,q,Y+1);return se}function hn(b,B,q){var Y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(Y>=B.length)return q;var _e=B[Y],se=Array.isArray(b)?b.slice():S0({},b);return se[_e]=hn(b[_e],B,q,Y+1),se}var Br=c(8);function Tr(b,B){var q=Object.keys(b);if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(b);B&&(Y=Y.filter(function(_e){return Object.getOwnPropertyDescriptor(b,_e).enumerable})),q.push.apply(q,Y)}return q}function xt(b){for(var B=1;B"u"||!(Symbol.iterator in Object(q)))){var _e=[],se=!0,ge=!1,G=void 0;try{for(var De,je=q[Symbol.iterator]();!(se=(De=je.next()).done)&&(_e.push(De.value),!Y||_e.length!==Y);se=!0);}catch(nt){ge=!0,G=nt}finally{try{se||je.return==null||je.return()}finally{if(ge)throw G}}return _e}}(b,B)||bu(b,B)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ti(b,B){var q;if(typeof Symbol>"u"||b[Symbol.iterator]==null){if(Array.isArray(b)||(q=bu(b))||B&&b&&typeof b.length=="number"){q&&(b=q);var Y=0,_e=function(){};return{s:_e,n:function(){return Y>=b.length?{done:!0}:{done:!1,value:b[Y++]}},e:function(De){throw De},f:_e}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var se,ge=!0,G=!1;return{s:function(){q=b[Symbol.iterator]()},n:function(){var De=q.next();return ge=De.done,De},e:function(De){G=!0,se=De},f:function(){try{ge||q.return==null||q.return()}finally{if(G)throw se}}}}function bu(b,B){if(b){if(typeof b=="string")return Ko(b,B);var q=Object.prototype.toString.call(b).slice(8,-1);return q==="Object"&&b.constructor&&(q=b.constructor.name),q==="Map"||q==="Set"?Array.from(b):q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q)?Ko(b,B):void 0}}function Ko(b,B){(B==null||B>b.length)&&(B=b.length);for(var q=0,Y=new Array(B);q"u"?"undefined":Dr(performance))==="object"&&typeof performance.now=="function"?function(){return performance.now()}:function(){return Date.now()};function xo(b){var B=null;function q(bt){var Pt=Dr(bt)==="object"&&bt!==null?bt.$$typeof:bt;return Dr(Pt)==="symbol"?Pt.toString():Pt}var Y=B=Object(Ct.gte)(b,"17.0.0-alpha")?{Block:22,ClassComponent:1,ContextConsumer:9,ContextProvider:10,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:18,ForwardRef:11,Fragment:7,FunctionComponent:0,HostComponent:5,HostPortal:4,HostRoot:3,HostText:6,IncompleteClassComponent:17,IndeterminateComponent:2,LazyComponent:16,MemoComponent:14,Mode:8,OffscreenComponent:23,Profiler:12,SimpleMemoComponent:15,SuspenseComponent:13,SuspenseListComponent:19,YieldComponent:-1}:Object(Ct.gte)(b,"16.6.0-beta.0")?{Block:22,ClassComponent:1,ContextConsumer:9,ContextProvider:10,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:18,ForwardRef:11,Fragment:7,FunctionComponent:0,HostComponent:5,HostPortal:4,HostRoot:3,HostText:6,IncompleteClassComponent:17,IndeterminateComponent:2,LazyComponent:16,MemoComponent:14,Mode:8,OffscreenComponent:-1,Profiler:12,SimpleMemoComponent:15,SuspenseComponent:13,SuspenseListComponent:19,YieldComponent:-1}:Object(Ct.gte)(b,"16.4.3-alpha")?{Block:-1,ClassComponent:2,ContextConsumer:11,ContextProvider:12,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:-1,ForwardRef:13,Fragment:9,FunctionComponent:0,HostComponent:7,HostPortal:6,HostRoot:5,HostText:8,IncompleteClassComponent:-1,IndeterminateComponent:4,LazyComponent:-1,MemoComponent:-1,Mode:10,OffscreenComponent:-1,Profiler:15,SimpleMemoComponent:-1,SuspenseComponent:16,SuspenseListComponent:-1,YieldComponent:-1}:{Block:-1,ClassComponent:2,ContextConsumer:12,ContextProvider:13,CoroutineComponent:7,CoroutineHandlerPhase:8,DehydratedSuspenseComponent:-1,ForwardRef:14,Fragment:10,FunctionComponent:1,HostComponent:5,HostPortal:4,HostRoot:3,HostText:6,IncompleteClassComponent:-1,IndeterminateComponent:0,LazyComponent:-1,MemoComponent:-1,Mode:11,OffscreenComponent:-1,Profiler:15,SimpleMemoComponent:-1,SuspenseComponent:16,SuspenseListComponent:-1,YieldComponent:9},_e=Y.ClassComponent,se=Y.IncompleteClassComponent,ge=Y.FunctionComponent,G=Y.IndeterminateComponent,De=Y.ForwardRef,je=Y.HostRoot,nt=Y.HostComponent,ne=Y.HostPortal,Ne=Y.HostText,Je=Y.Fragment,ut=Y.MemoComponent,ht=Y.SimpleMemoComponent,wt=Y.SuspenseComponent,Vt=Y.SuspenseListComponent;return{getDisplayNameForFiber:function(bt){var Pt=bt.type,ln=bt.tag,jn=Pt;Dr(Pt)==="object"&&Pt!==null&&(jn=function Jn(nn){switch(q(nn)){case 60115:case"Symbol(react.memo)":return Jn(nn.type);case 60112:case"Symbol(react.forward_ref)":return nn.render;default:return nn}}(Pt));var xn=null;switch(ln){case _e:case se:return br(jn);case ge:case G:return br(jn);case De:return Pt&&Pt.displayName||br(jn,"Anonymous");case je:return null;case nt:return Pt;case ne:case Ne:case Je:return null;case ut:case ht:return br(jn,"Anonymous");case wt:return"Suspense";case Vt:return"SuspenseList";default:switch(q(Pt)){case 60111:case"Symbol(react.concurrent_mode)":case"Symbol(react.async_mode)":return null;case 60109:case"Symbol(react.provider)":return xn=bt.type._context||bt.type.context,"".concat(xn.displayName||"Context",".Provider");case 60110:case"Symbol(react.context)":return xn=bt.type._context||bt.type,"".concat(xn.displayName||"Context",".Consumer");case 60108:case"Symbol(react.strict_mode)":return null;case 60114:case"Symbol(react.profiler)":return"Profiler(".concat(bt.memoizedProps.id,")");case 60119:case"Symbol(react.scope)":return"Scope";default:return null}}},getTypeSymbol:q,ReactPriorityLevels:{ImmediatePriority:99,UserBlockingPriority:98,NormalPriority:97,LowPriority:96,IdlePriority:95,NoPriority:90},ReactTypeOfWork:B,ReactTypeOfSideEffect:{NoFlags:0,PerformedWork:1,Placement:2}}}function xl(b,B,q,Y){var _e=xo(q.version),se=_e.getDisplayNameForFiber,ge=_e.getTypeSymbol,G=_e.ReactPriorityLevels,De=_e.ReactTypeOfWork,je=_e.ReactTypeOfSideEffect,nt=je.NoFlags,ne=je.PerformedWork,Ne=je.Placement,Je=De.FunctionComponent,ut=De.ClassComponent,ht=De.ContextConsumer,wt=De.DehydratedSuspenseComponent,Vt=De.Fragment,bt=De.ForwardRef,Pt=De.HostRoot,ln=De.HostPortal,jn=De.HostComponent,xn=De.HostText,Jn=De.IncompleteClassComponent,nn=De.IndeterminateComponent,$n=De.MemoComponent,y0=De.OffscreenComponent,nr=De.SimpleMemoComponent,Ge=De.SuspenseComponent,at=De.SuspenseListComponent,ze=G.ImmediatePriority,yt=G.UserBlockingPriority,It=G.NormalPriority,Gt=G.LowPriority,An=G.IdlePriority,Vn=G.NoPriority,gi=q.overrideHookState,i0=q.overrideHookStateDeletePath,W0=q.overrideHookStateRenamePath,V0=q.overrideProps,Gi=q.overridePropsDeletePath,Yi=q.overridePropsRenamePath,gu=q.setSuspenseHandler,Ml=q.scheduleUpdate,Cf=typeof gu=="function"&&typeof Ml=="function";oo(q);var ju=window.__REACT_DEVTOOLS_APPEND_COMPONENT_STACK__!==!1,As=window.__REACT_DEVTOOLS_BREAK_ON_CONSOLE_ERRORS__===!0;(ju||As)&&la({appendComponentStack:ju,breakOnConsoleErrors:As});var Oo=new Set,ol=new Set,Nl=new Set,Mo=!1,Fl=new Set;function ul(te){Nl.clear(),Oo.clear(),ol.clear(),te.forEach(function(J){if(J.isEnabled)switch(J.type){case 2:J.isValid&&J.value!==""&&Oo.add(new RegExp(J.value,"i"));break;case 1:Nl.add(J.value);break;case 3:J.isValid&&J.value!==""&&ol.add(new RegExp(J.value,"i"));break;case 4:Oo.add(new RegExp("\\("));break;default:console.warn('Invalid component filter type "'.concat(J.type,'"'))}})}function o0(te){var J=te._debugSource,Te=te.tag,Ee=te.type;switch(Te){case wt:return!0;case ln:case xn:case Vt:case y0:return!0;case Pt:return!1;default:switch(ge(Ee)){case 60111:case"Symbol(react.concurrent_mode)":case"Symbol(react.async_mode)":case 60108:case"Symbol(react.strict_mode)":return!0}}var Qe=Ki(te);if(Nl.has(Qe))return!0;if(Oo.size>0){var rt=se(te);if(rt!=null){var Mt,vn=ti(Oo);try{for(vn.s();!(Mt=vn.n()).done;)if(Mt.value.test(rt))return!0}catch(kn){vn.e(kn)}finally{vn.f()}}}if(J!=null&&ol.size>0){var Jt,Qt=J.fileName,Zt=ti(ol);try{for(Zt.s();!(Jt=Zt.n()).done;)if(Jt.value.test(Qt))return!0}catch(kn){Zt.e(kn)}finally{Zt.f()}}return!1}function Ki(te){var J=te.type;switch(te.tag){case ut:case Jn:return 1;case Je:case nn:return 5;case bt:return 6;case Pt:return 11;case jn:return 7;case ln:case xn:case Vt:return 9;case $n:case nr:return 8;case Ge:return 12;case at:return 13;default:switch(ge(J)){case 60111:case"Symbol(react.concurrent_mode)":case"Symbol(react.async_mode)":return 9;case 60109:case"Symbol(react.provider)":return 2;case 60110:case"Symbol(react.context)":return 2;case 60108:case"Symbol(react.strict_mode)":return 9;case 60114:case"Symbol(react.profiler)":return 10;default:return 9}}}function kr(te){if(No.has(te))return te;var J=te.alternate;return J!=null&&No.has(J)?J:(No.add(te),te)}window.__REACT_DEVTOOLS_COMPONENT_FILTERS__!=null?ul(window.__REACT_DEVTOOLS_COMPONENT_FILTERS__):ul([{type:1,value:7,isEnabled:!0}]);var zu=new Map,Xo=new Map,No=new Set,fa=new Map,qu=new Map,Xi=-1;function pi(te){if(!zu.has(te)){var J=Fu();zu.set(te,J),Xo.set(J,te)}return zu.get(te)}function Fo(te){switch(Ki(te)){case 1:if(K0!==null){var J=pi(kr(te)),Te=Or(te);Te!==null&&K0.set(J,Te)}}}var Qr={};function Or(te){switch(Ki(te)){case 1:var J=te.stateNode,Te=Qr,Ee=Qr;return J!=null&&(J.constructor&&J.constructor.contextType!=null?Ee=J.context:(Te=J.context)&&Object.keys(Te).length===0&&(Te=Qr)),[Te,Ee];default:return null}}function ks(te){switch(Ki(te)){case 1:if(K0!==null){var J=pi(kr(te)),Te=K0.has(J)?K0.get(J):null,Ee=Or(te);if(Te==null||Ee==null)return null;var Qe=z0(Te,2),rt=Qe[0],Mt=Qe[1],vn=z0(Ee,2),Jt=vn[0],Qt=vn[1];if(Jt!==Qr)return G0(rt,Jt);if(Qt!==Qr)return Mt!==Qt}}return null}function Os(te,J){if(te==null||J==null)return!1;if(J.hasOwnProperty("baseState")&&J.hasOwnProperty("memoizedState")&&J.hasOwnProperty("next")&&J.hasOwnProperty("queue"))for(;J!==null;){if(J.memoizedState!==te.memoizedState)return!0;J=J.next,te=te.next}return!1}function G0(te,J){if(te==null||J==null||J.hasOwnProperty("baseState")&&J.hasOwnProperty("memoizedState")&&J.hasOwnProperty("next")&&J.hasOwnProperty("queue"))return null;var Te,Ee=[],Qe=ti(new Set([].concat(di(Object.keys(te)),di(Object.keys(J)))));try{for(Qe.s();!(Te=Qe.n()).done;){var rt=Te.value;te[rt]!==J[rt]&&Ee.push(rt)}}catch(Mt){Qe.e(Mt)}finally{Qe.f()}return Ee}function Ll(te,J){switch(J.tag){case ut:case Je:case ht:case $n:case nr:return(ro(J)&ne)===ne;default:return te.memoizedProps!==J.memoizedProps||te.memoizedState!==J.memoizedState||te.ref!==J.ref}}var Qo=[],Jo=[],Zo=[],Y0=[],ur=new Map,R0=0,lo=null;function zr(te){Qo.push(te)}function Ui(te){if(Qo.length!==0||Jo.length!==0||Zo.length!==0||lo!==null||k0){var J=Jo.length+Zo.length+(lo===null?0:1),Te=new Array(3+R0+(J>0?2+J:0)+Qo.length),Ee=0;if(Te[Ee++]=B,Te[Ee++]=Xi,Te[Ee++]=R0,ur.forEach(function(vn,Jt){Te[Ee++]=Jt.length;for(var Qt=wo(Jt),Zt=0;Zt0){Te[Ee++]=2,Te[Ee++]=J;for(var Qe=Jo.length-1;Qe>=0;Qe--)Te[Ee++]=Jo[Qe];for(var rt=0;rt0?te.forEach(function(J){b.emit("operations",J)}):(er!==null&&(Di=!0),b.getFiberRoots(B).forEach(function(J){l0(Xi=pi(kr(J.current)),J.current),k0&&J.memoizedInteractions!=null&&(ll={changeDescriptions:pa?new Map:null,durations:[],commitTime:Pu()-bo,interactions:Array.from(J.memoizedInteractions).map(function(Te){return xt(xt({},Te),{},{timestamp:Te.timestamp-bo})}),maxActualDuration:0,priorityLevel:null}),wr(J.current,null,!1,!1),Ui(),Xi=-1}))},getBestMatchForTrackedPath:function(){if(er===null||X0===null)return null;for(var te=X0;te!==null&&o0(te);)te=te.return;return te===null?null:{id:pi(kr(te)),isFullMatch:Ei===er.length-1}},getDisplayNameForFiberID:function(te){var J=Xo.get(te);return J!=null?se(J):null},getFiberIDForNative:function(te){var J=arguments.length>1&&arguments[1]!==void 0&&arguments[1],Te=q.findFiberByHostInstance(te);if(Te!=null){if(J)for(;Te!==null&&o0(Te);)Te=Te.return;return pi(kr(Te))}return null},getInstanceAndStyle:function(te){var J=null,Te=null,Ee=A0(te);return Ee!==null&&(J=Ee.stateNode,Ee.memoizedProps!==null&&(Te=Ee.memoizedProps.style)),{instance:J,style:Te}},getOwnersList:function(te){var J=A0(te);if(J==null)return null;var Te=J._debugOwner,Ee=[{displayName:se(J)||"Anonymous",id:te,type:Ki(J)}];if(Te)for(var Qe=Te;Qe!==null;)Ee.unshift({displayName:se(Qe)||"Anonymous",id:pi(kr(Qe)),type:Ki(Qe)}),Qe=Qe._debugOwner||null;return Ee},getPathForElement:function(te){var J=Xo.get(te);if(J==null)return null;for(var Te=[];J!==null;)Te.push(M0(J)),J=J.return;return Te.reverse(),Te},getProfilingData:function(){var te=[];if(al===null)throw Error("getProfilingData() called before any profiling data was recorded");return al.forEach(function(J,Te){var Ee=[],Qe=[],rt=new Map,Mt=new Map,vn=Hu!==null&&Hu.get(Te)||"Unknown";co!=null&&co.forEach(function(Jt,Qt){Lo!=null&&Lo.get(Qt)===Te&&Qe.push([Qt,Jt])}),J.forEach(function(Jt,Qt){var Zt=Jt.changeDescriptions,kn=Jt.durations,Et=Jt.interactions,oi=Jt.maxActualDuration,lr=Jt.priorityLevel,zn=Jt.commitTime,Mr=[];Et.forEach(function(xr){rt.has(xr.id)||rt.set(xr.id,xr),Mr.push(xr.id);var hi=Mt.get(xr.id);hi!=null?hi.push(Qt):Mt.set(xr.id,[Qt])});for(var qr=[],Cr=[],ui=0;ui1?fr.set(Zt,kn-1):fr.delete(Zt),O0.delete(Jt)}(Xi),_i(Te,!1))}else l0(Xi,Te),wr(Te,null,!1,!1);if(k0&&Qe){var vn=al.get(Xi);vn!=null?vn.push(ll):al.set(Xi,[ll])}Ui(),Mo&&b.emit("traceUpdates",Fl),Xi=-1},handleCommitFiberUnmount:function(te){_i(te,!1)},inspectElement:function(te,J){if(Ji(te)){if(J!=null){fo(J);var Te=null;return J[0]==="hooks"&&(Te="hooks"),{id:te,type:"hydrated-path",path:J,value:Pr(h0(ri,J),ii(null,Te),J)}}return{id:te,type:"no-change"}}if(bl=!1,ri!==null&&ri.id===te||(so={}),(ri=da(te))===null)return{id:te,type:"not-found"};J!=null&&fo(J),function(Qe){var rt=Qe.hooks,Mt=Qe.id,vn=Qe.props,Jt=Xo.get(Mt);if(Jt!=null){var Qt=Jt.elementType,Zt=Jt.stateNode,kn=Jt.tag,Et=Jt.type;switch(kn){case ut:case Jn:case nn:Y.$r=Zt;break;case Je:Y.$r={hooks:rt,props:vn,type:Et};break;case bt:Y.$r={props:vn,type:Et.render};break;case $n:case nr:Y.$r={props:vn,type:Qt!=null&&Qt.type!=null?Qt.type:Et};break;default:Y.$r=null}}else console.warn('Could not find Fiber with id "'.concat(Mt,'"'))}(ri);var Ee=xt({},ri);return Ee.context=Pr(Ee.context,ii("context",null)),Ee.hooks=Pr(Ee.hooks,ii("hooks","hooks")),Ee.props=Pr(Ee.props,ii("props",null)),Ee.state=Pr(Ee.state,ii("state",null)),{id:te,type:"full-data",value:Ee}},logElementToConsole:function(te){var J=Ji(te)?ri:da(te);if(J!==null){var Te=typeof console.groupCollapsed=="function";Te&&console.groupCollapsed("[Click to expand] %c<".concat(J.displayName||"Component"," />"),"color: var(--dom-tag-name-color); font-weight: normal;"),J.props!==null&&console.log("Props:",J.props),J.state!==null&&console.log("State:",J.state),J.hooks!==null&&console.log("Hooks:",J.hooks);var Ee=_u(te);Ee!==null&&console.log("Nodes:",Ee),J.source!==null&&console.log("Location:",J.source),(window.chrome||/firefox/i.test(navigator.userAgent))&&console.log("Right-click any value to save it as a global variable for further inspection."),Te&&console.groupEnd()}else console.warn('Could not find Fiber with id "'.concat(te,'"'))},prepareViewAttributeSource:function(te,J){Ji(te)&&(window.$attribute=h0(ri,J))},prepareViewElementSource:function(te){var J=Xo.get(te);if(J!=null){var Te=J.elementType,Ee=J.tag,Qe=J.type;switch(Ee){case ut:case Jn:case nn:case Je:Y.$type=Qe;break;case bt:Y.$type=Qe.render;break;case $n:case nr:Y.$type=Te!=null&&Te.type!=null?Te.type:Qe;break;default:Y.$type=null}}else console.warn('Could not find Fiber with id "'.concat(te,'"'))},overrideSuspense:function(te,J){if(typeof gu!="function"||typeof Ml!="function")throw new Error("Expected overrideSuspense() to not get called for earlier React versions.");J?(L0.add(te),L0.size===1&&gu(Qa)):(L0.delete(te),L0.size===0&&gu(Ms));var Te=Xo.get(te);Te!=null&&Ml(Te)},overrideValueAtPath:function(te,J,Te,Ee,Qe){var rt=A0(J);if(rt!==null){var Mt=rt.stateNode;switch(te){case"context":switch(Ee=Ee.slice(1),rt.tag){case ut:Ee.length===0?Mt.context=Qe:To(Mt.context,Ee,Qe),Mt.forceUpdate()}break;case"hooks":typeof gi=="function"&&gi(rt,Te,Ee,Qe);break;case"props":switch(rt.tag){case ut:rt.pendingProps=hn(Mt.props,Ee,Qe),Mt.forceUpdate();break;default:typeof V0=="function"&&V0(rt,Ee,Qe)}break;case"state":switch(rt.tag){case ut:To(Mt.state,Ee,Qe),Mt.forceUpdate()}}}},renamePath:function(te,J,Te,Ee,Qe){var rt=A0(J);if(rt!==null){var Mt=rt.stateNode;switch(te){case"context":switch(Ee=Ee.slice(1),Qe=Qe.slice(1),rt.tag){case ut:Ee.length===0||hr(Mt.context,Ee,Qe),Mt.forceUpdate()}break;case"hooks":typeof W0=="function"&&W0(rt,Te,Ee,Qe);break;case"props":Mt===null?typeof Yi=="function"&&Yi(rt,Ee,Qe):(rt.pendingProps=Ft(Mt.props,Ee,Qe),Mt.forceUpdate());break;case"state":hr(Mt.state,Ee,Qe),Mt.forceUpdate()}}},renderer:q,setTraceUpdatesEnabled:function(te){Mo=te},setTrackedPath:Vr,startProfiling:ha,stopProfiling:function(){k0=!1,pa=!1},storeAsGlobal:function(te,J,Te){if(Ji(te)){var Ee=h0(ri,J),Qe="$reactTemp".concat(Te);window[Qe]=Ee,console.log(Qe),console.log(Ee)}},updateComponentFilters:function(te){if(k0)throw Error("Cannot modify filter preferences while profiling");b.getFiberRoots(B).forEach(function(J){Xi=pi(kr(J.current)),Qi(J.current),_i(J.current,!1),Xi=-1}),ul(te),fr.clear(),b.getFiberRoots(B).forEach(function(J){l0(Xi=pi(kr(J.current)),J.current),wr(J.current,null,!1,!1),Ui(J),Xi=-1})}}}var Tn;function tl(b){return(tl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B})(b)}function io(b,B,q){if(Tn===void 0)try{throw Error()}catch(_e){var Y=_e.stack.trim().match(/\n( *(at )?)/);Tn=Y&&Y[1]||""}return` +`+Tn+b}var Ro=!1;function mu(b,B,q){if(!b||Ro)return"";var Y,_e=Error.prepareStackTrace;Error.prepareStackTrace=void 0,Ro=!0;var se=q.current;q.current=null;try{if(B){var ge=function(){throw Error()};if(Object.defineProperty(ge.prototype,"props",{set:function(){throw Error()}}),(typeof Reflect>"u"?"undefined":tl(Reflect))==="object"&&Reflect.construct){try{Reflect.construct(ge,[])}catch(Ne){Y=Ne}Reflect.construct(b,[],ge)}else{try{ge.call()}catch(Ne){Y=Ne}b.call(ge.prototype)}}else{try{throw Error()}catch(Ne){Y=Ne}b()}}catch(Ne){if(Ne&&Y&&typeof Ne.stack=="string"){for(var G=Ne.stack.split(` +`),De=Y.stack.split(` +`),je=G.length-1,nt=De.length-1;je>=1&&nt>=0&&G[je]!==De[nt];)nt--;for(;je>=1&&nt>=0;je--,nt--)if(G[je]!==De[nt]){if(je!==1||nt!==1)do if(je--,--nt<0||G[je]!==De[nt])return` +`+G[je].replace(" at new "," at ");while(je>=1&&nt>=0);break}}}finally{Ro=!1,Error.prepareStackTrace=_e,q.current=se}var ne=b?b.displayName||b.name:"";return ne?io(ne):""}function Ao(b,B,q,Y){return mu(b,!1,Y)}function it(b,B,q){var Y=b.HostComponent,_e=b.LazyComponent,se=b.SuspenseComponent,ge=b.SuspenseListComponent,G=b.FunctionComponent,De=b.IndeterminateComponent,je=b.SimpleMemoComponent,nt=b.ForwardRef,ne=b.Block,Ne=b.ClassComponent;switch(B.tag){case Y:return io(B.type);case _e:return io("Lazy");case se:return io("Suspense");case ge:return io("SuspenseList");case G:case De:case je:return Ao(B.type,0,0,q);case nt:return Ao(B.type.render,0,0,q);case ne:return Ao(B.type._render,0,0,q);case Ne:return function(Je,ut,ht,wt){return mu(Je,!0,wt)}(B.type,0,0,q);default:return""}}function Dt(b,B,q){try{var Y="",_e=B;do Y+=it(b,_e,q),_e=_e.return;while(_e);return Y}catch(se){return` +Error generating stack: `+se.message+` +`+se.stack}}function mn(b,B){var q;if(typeof Symbol>"u"||b[Symbol.iterator]==null){if(Array.isArray(b)||(q=function(De,je){if(!!De){if(typeof De=="string")return vr(De,je);var nt=Object.prototype.toString.call(De).slice(8,-1);if(nt==="Object"&&De.constructor&&(nt=De.constructor.name),nt==="Map"||nt==="Set")return Array.from(De);if(nt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(nt))return vr(De,je)}}(b))||B&&b&&typeof b.length=="number"){q&&(b=q);var Y=0,_e=function(){};return{s:_e,n:function(){return Y>=b.length?{done:!0}:{done:!1,value:b[Y++]}},e:function(De){throw De},f:_e}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var se,ge=!0,G=!1;return{s:function(){q=b[Symbol.iterator]()},n:function(){var De=q.next();return ge=De.done,De},e:function(De){G=!0,se=De},f:function(){try{ge||q.return==null||q.return()}finally{if(G)throw se}}}}function vr(b,B){(B==null||B>b.length)&&(B=b.length);for(var q=0,Y=new Array(B);q0?je[je.length-1]:null,Ne=ne!==null&&(mr.test(ne)||bi.test(ne));if(!Ne){var Je,ut=mn(v0.values());try{for(ut.s();!(Je=ut.n()).done;){var ht=Je.value,wt=ht.currentDispatcherRef,Vt=ht.getCurrentFiber,bt=ht.workTagMap,Pt=Vt();if(Pt!=null){var ln=Dt(bt,Pt,wt);ln!==""&&je.push(ln);break}}}catch(jn){ut.e(jn)}finally{ut.f()}}}catch{}se.apply(void 0,je)};ge.__REACT_DEVTOOLS_ORIGINAL_METHOD__=se,Xr[_e]=ge}catch{}})}}function e0(b){return(e0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B})(b)}function nl(b,B){for(var q=0;q"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var q,Y=we(b);if(B){var _e=we(this).constructor;q=Reflect.construct(Y,arguments,_e)}else q=Y.apply(this,arguments);return he(this,q)}}function he(b,B){return!B||e0(B)!=="object"&&typeof B!="function"?Se(b):B}function Se(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function we(b){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)})(b)}function tt(b,B,q){return B in b?Object.defineProperty(b,B,{value:q,enumerable:!0,configurable:!0,writable:!0}):b[B]=q,b}var Cn=function(b){(function(ge,G){if(typeof G!="function"&&G!==null)throw new TypeError("Super expression must either be null or a function");ge.prototype=Object.create(G&&G.prototype,{constructor:{value:ge,writable:!0,configurable:!0}}),G&&q0(ge,G)})(se,b);var B,q,Y,_e=W(se);function se(ge){var G;(function(ne,Ne){if(!(ne instanceof Ne))throw new TypeError("Cannot call a class as a function")})(this,se),tt(Se(G=_e.call(this)),"_isProfiling",!1),tt(Se(G),"_recordChangeDescriptions",!1),tt(Se(G),"_rendererInterfaces",{}),tt(Se(G),"_persistedSelection",null),tt(Se(G),"_persistedSelectionMatch",null),tt(Se(G),"_traceUpdatesEnabled",!1),tt(Se(G),"copyElementPath",function(ne){var Ne=ne.id,Je=ne.path,ut=ne.rendererID,ht=G._rendererInterfaces[ut];ht==null?console.warn('Invalid renderer id "'.concat(ut,'" for element "').concat(Ne,'"')):ht.copyElementPath(Ne,Je)}),tt(Se(G),"deletePath",function(ne){var Ne=ne.hookID,Je=ne.id,ut=ne.path,ht=ne.rendererID,wt=ne.type,Vt=G._rendererInterfaces[ht];Vt==null?console.warn('Invalid renderer id "'.concat(ht,'" for element "').concat(Je,'"')):Vt.deletePath(wt,Je,Ne,ut)}),tt(Se(G),"getProfilingData",function(ne){var Ne=ne.rendererID,Je=G._rendererInterfaces[Ne];Je==null&&console.warn('Invalid renderer id "'.concat(Ne,'"')),G._bridge.send("profilingData",Je.getProfilingData())}),tt(Se(G),"getProfilingStatus",function(){G._bridge.send("profilingStatus",G._isProfiling)}),tt(Se(G),"getOwnersList",function(ne){var Ne=ne.id,Je=ne.rendererID,ut=G._rendererInterfaces[Je];if(ut==null)console.warn('Invalid renderer id "'.concat(Je,'" for element "').concat(Ne,'"'));else{var ht=ut.getOwnersList(Ne);G._bridge.send("ownersList",{id:Ne,owners:ht})}}),tt(Se(G),"inspectElement",function(ne){var Ne=ne.id,Je=ne.path,ut=ne.rendererID,ht=G._rendererInterfaces[ut];ht==null?console.warn('Invalid renderer id "'.concat(ut,'" for element "').concat(Ne,'"')):(G._bridge.send("inspectedElement",ht.inspectElement(Ne,Je)),G._persistedSelectionMatch!==null&&G._persistedSelectionMatch.id===Ne||(G._persistedSelection=null,G._persistedSelectionMatch=null,ht.setTrackedPath(null),G._throttledPersistSelection(ut,Ne)))}),tt(Se(G),"logElementToConsole",function(ne){var Ne=ne.id,Je=ne.rendererID,ut=G._rendererInterfaces[Je];ut==null?console.warn('Invalid renderer id "'.concat(Je,'" for element "').concat(Ne,'"')):ut.logElementToConsole(Ne)}),tt(Se(G),"overrideSuspense",function(ne){var Ne=ne.id,Je=ne.rendererID,ut=ne.forceFallback,ht=G._rendererInterfaces[Je];ht==null?console.warn('Invalid renderer id "'.concat(Je,'" for element "').concat(Ne,'"')):ht.overrideSuspense(Ne,ut)}),tt(Se(G),"overrideValueAtPath",function(ne){var Ne=ne.hookID,Je=ne.id,ut=ne.path,ht=ne.rendererID,wt=ne.type,Vt=ne.value,bt=G._rendererInterfaces[ht];bt==null?console.warn('Invalid renderer id "'.concat(ht,'" for element "').concat(Je,'"')):bt.overrideValueAtPath(wt,Je,Ne,ut,Vt)}),tt(Se(G),"overrideContext",function(ne){var Ne=ne.id,Je=ne.path,ut=ne.rendererID,ht=ne.wasForwarded,wt=ne.value;ht||G.overrideValueAtPath({id:Ne,path:Je,rendererID:ut,type:"context",value:wt})}),tt(Se(G),"overrideHookState",function(ne){var Ne=ne.id,Je=(ne.hookID,ne.path),ut=ne.rendererID,ht=ne.wasForwarded,wt=ne.value;ht||G.overrideValueAtPath({id:Ne,path:Je,rendererID:ut,type:"hooks",value:wt})}),tt(Se(G),"overrideProps",function(ne){var Ne=ne.id,Je=ne.path,ut=ne.rendererID,ht=ne.wasForwarded,wt=ne.value;ht||G.overrideValueAtPath({id:Ne,path:Je,rendererID:ut,type:"props",value:wt})}),tt(Se(G),"overrideState",function(ne){var Ne=ne.id,Je=ne.path,ut=ne.rendererID,ht=ne.wasForwarded,wt=ne.value;ht||G.overrideValueAtPath({id:Ne,path:Je,rendererID:ut,type:"state",value:wt})}),tt(Se(G),"reloadAndProfile",function(ne){U("React::DevTools::reloadAndProfile","true"),U("React::DevTools::recordChangeDescriptions",ne?"true":"false"),G._bridge.send("reloadAppForProfiling")}),tt(Se(G),"renamePath",function(ne){var Ne=ne.hookID,Je=ne.id,ut=ne.newPath,ht=ne.oldPath,wt=ne.rendererID,Vt=ne.type,bt=G._rendererInterfaces[wt];bt==null?console.warn('Invalid renderer id "'.concat(wt,'" for element "').concat(Je,'"')):bt.renamePath(Vt,Je,Ne,ht,ut)}),tt(Se(G),"setTraceUpdatesEnabled",function(ne){for(var Ne in G._traceUpdatesEnabled=ne,Ot(ne),G._rendererInterfaces)G._rendererInterfaces[Ne].setTraceUpdatesEnabled(ne)}),tt(Se(G),"syncSelectionFromNativeElementsPanel",function(){var ne=window.__REACT_DEVTOOLS_GLOBAL_HOOK__.$0;ne!=null&&G.selectNode(ne)}),tt(Se(G),"shutdown",function(){G.emit("shutdown")}),tt(Se(G),"startProfiling",function(ne){for(var Ne in G._recordChangeDescriptions=ne,G._isProfiling=!0,G._rendererInterfaces)G._rendererInterfaces[Ne].startProfiling(ne);G._bridge.send("profilingStatus",G._isProfiling)}),tt(Se(G),"stopProfiling",function(){for(var ne in G._isProfiling=!1,G._recordChangeDescriptions=!1,G._rendererInterfaces)G._rendererInterfaces[ne].stopProfiling();G._bridge.send("profilingStatus",G._isProfiling)}),tt(Se(G),"storeAsGlobal",function(ne){var Ne=ne.count,Je=ne.id,ut=ne.path,ht=ne.rendererID,wt=G._rendererInterfaces[ht];wt==null?console.warn('Invalid renderer id "'.concat(ht,'" for element "').concat(Je,'"')):wt.storeAsGlobal(Je,ut,Ne)}),tt(Se(G),"updateConsolePatchSettings",function(ne){var Ne=ne.appendComponentStack,Je=ne.breakOnConsoleErrors;Ne||Je?la({appendComponentStack:Ne,breakOnConsoleErrors:Je}):lt!==null&&(lt(),lt=null)}),tt(Se(G),"updateComponentFilters",function(ne){for(var Ne in G._rendererInterfaces)G._rendererInterfaces[Ne].updateComponentFilters(ne)}),tt(Se(G),"viewAttributeSource",function(ne){var Ne=ne.id,Je=ne.path,ut=ne.rendererID,ht=G._rendererInterfaces[ut];ht==null?console.warn('Invalid renderer id "'.concat(ut,'" for element "').concat(Ne,'"')):ht.prepareViewAttributeSource(Ne,Je)}),tt(Se(G),"viewElementSource",function(ne){var Ne=ne.id,Je=ne.rendererID,ut=G._rendererInterfaces[Je];ut==null?console.warn('Invalid renderer id "'.concat(Je,'" for element "').concat(Ne,'"')):ut.prepareViewElementSource(Ne)}),tt(Se(G),"onTraceUpdates",function(ne){G.emit("traceUpdates",ne)}),tt(Se(G),"onHookOperations",function(ne){if(G._bridge.send("operations",ne),G._persistedSelection!==null){var Ne=ne[0];if(G._persistedSelection.rendererID===Ne){var Je=G._rendererInterfaces[Ne];if(Je==null)console.warn('Invalid renderer id "'.concat(Ne,'"'));else{var ut=G._persistedSelectionMatch,ht=Je.getBestMatchForTrackedPath();G._persistedSelectionMatch=ht;var wt=ut!==null?ut.id:null,Vt=ht!==null?ht.id:null;wt!==Vt&&Vt!==null&&G._bridge.send("selectFiber",Vt),ht!==null&&ht.isFullMatch&&(G._persistedSelection=null,G._persistedSelectionMatch=null,Je.setTrackedPath(null))}}}}),tt(Se(G),"_throttledPersistSelection",O()(function(ne,Ne){var Je=G._rendererInterfaces[ne],ut=Je!=null?Je.getPathForElement(Ne):null;ut!==null?U("React::DevTools::lastSelection",JSON.stringify({rendererID:ne,path:ut})):P("React::DevTools::lastSelection")},1e3)),T("React::DevTools::reloadAndProfile")==="true"&&(G._recordChangeDescriptions=T("React::DevTools::recordChangeDescriptions")==="true",G._isProfiling=!0,P("React::DevTools::recordChangeDescriptions"),P("React::DevTools::reloadAndProfile"));var De=T("React::DevTools::lastSelection");De!=null&&(G._persistedSelection=JSON.parse(De)),G._bridge=ge,ge.addListener("copyElementPath",G.copyElementPath),ge.addListener("deletePath",G.deletePath),ge.addListener("getProfilingData",G.getProfilingData),ge.addListener("getProfilingStatus",G.getProfilingStatus),ge.addListener("getOwnersList",G.getOwnersList),ge.addListener("inspectElement",G.inspectElement),ge.addListener("logElementToConsole",G.logElementToConsole),ge.addListener("overrideSuspense",G.overrideSuspense),ge.addListener("overrideValueAtPath",G.overrideValueAtPath),ge.addListener("reloadAndProfile",G.reloadAndProfile),ge.addListener("renamePath",G.renamePath),ge.addListener("setTraceUpdatesEnabled",G.setTraceUpdatesEnabled),ge.addListener("startProfiling",G.startProfiling),ge.addListener("stopProfiling",G.stopProfiling),ge.addListener("storeAsGlobal",G.storeAsGlobal),ge.addListener("syncSelectionFromNativeElementsPanel",G.syncSelectionFromNativeElementsPanel),ge.addListener("shutdown",G.shutdown),ge.addListener("updateConsolePatchSettings",G.updateConsolePatchSettings),ge.addListener("updateComponentFilters",G.updateComponentFilters),ge.addListener("viewAttributeSource",G.viewAttributeSource),ge.addListener("viewElementSource",G.viewElementSource),ge.addListener("overrideContext",G.overrideContext),ge.addListener("overrideHookState",G.overrideHookState),ge.addListener("overrideProps",G.overrideProps),ge.addListener("overrideState",G.overrideState),G._isProfiling&&ge.send("profilingStatus",!0);var je,nt=!1;try{localStorage.getItem("test"),nt=!0}catch{}return ge.send("isBackendStorageAPISupported",nt),ve(ge,Se(G)),je=Se(G),je.addListener("traceUpdates",Wn),G}return B=se,(q=[{key:"getInstanceAndStyle",value:function(ge){var G=ge.id,De=ge.rendererID,je=this._rendererInterfaces[De];return je==null?(console.warn('Invalid renderer id "'.concat(De,'"')),null):je.getInstanceAndStyle(G)}},{key:"getIDForNode",value:function(ge){for(var G in this._rendererInterfaces){var De=this._rendererInterfaces[G];try{var je=De.getFiberIDForNative(ge,!0);if(je!==null)return je}catch{}}return null}},{key:"selectNode",value:function(ge){var G=this.getIDForNode(ge);G!==null&&this._bridge.send("selectFiber",G)}},{key:"setRendererInterface",value:function(ge,G){this._rendererInterfaces[ge]=G,this._isProfiling&&G.startProfiling(this._recordChangeDescriptions),G.setTraceUpdatesEnabled(this._traceUpdatesEnabled);var De=this._persistedSelection;De!==null&&De.rendererID===ge&&G.setTrackedPath(De.path)}},{key:"onUnsupportedRenderer",value:function(ge){this._bridge.send("unsupportedRendererVersion",ge)}},{key:"rendererInterfaces",get:function(){return this._rendererInterfaces}}])&&nl(B.prototype,q),Y&&nl(B,Y),se}(_);function cn(b){return(cn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B})(b)}function In(b){return function(B){if(Array.isArray(B))return Ur(B)}(b)||function(B){if(typeof Symbol<"u"&&Symbol.iterator in Object(B))return Array.from(B)}(b)||function(B,q){if(!!B){if(typeof B=="string")return Ur(B,q);var Y=Object.prototype.toString.call(B).slice(8,-1);if(Y==="Object"&&B.constructor&&(Y=B.constructor.name),Y==="Map"||Y==="Set")return Array.from(B);if(Y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Y))return Ur(B,q)}}(b)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Ur(b,B){(B==null||B>b.length)&&(B=b.length);for(var q=0,Y=new Array(B);q"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var q,Y=ko(b);if(B){var _e=ko(this).constructor;q=Reflect.construct(Y,arguments,_e)}else q=Y.apply(this,arguments);return Ii(this,q)}}function Ii(b,B){return!B||cn(B)!=="object"&&typeof B!="function"?jr(b):B}function jr(b){if(b===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}function ko(b){return(ko=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)})(b)}function Bi(b,B,q){return B in b?Object.defineProperty(b,B,{value:q,enumerable:!0,configurable:!0,writable:!0}):b[B]=q,b}var uo=function(b){(function(ge,G){if(typeof G!="function"&&G!==null)throw new TypeError("Super expression must either be null or a function");ge.prototype=Object.create(G&&G.prototype,{constructor:{value:ge,writable:!0,configurable:!0}}),G&&t0(ge,G)})(se,b);var B,q,Y,_e=n0(se);function se(ge){var G;return function(De,je){if(!(De instanceof je))throw new TypeError("Cannot call a class as a function")}(this,se),Bi(jr(G=_e.call(this)),"_isShutdown",!1),Bi(jr(G),"_messageQueue",[]),Bi(jr(G),"_timeoutID",null),Bi(jr(G),"_wallUnlisten",null),Bi(jr(G),"_flush",function(){if(G._timeoutID!==null&&(clearTimeout(G._timeoutID),G._timeoutID=null),G._messageQueue.length){for(var De=0;De1?G-1:0),je=1;je0?ne[ne.length-1]:0),ne.push(It),G.set(ze,je(yt._topLevelWrapper));try{var Gt=Ge.apply(this,at);return ne.pop(),Gt}catch(Vn){throw ne=[],Vn}finally{if(ne.length===0){var An=G.get(ze);if(An===void 0)throw new Error("Expected to find root ID.");jn(An)}}},performUpdateIfNecessary:function(Ge,at){var ze=at[0];if(C0(ze)===9)return Ge.apply(this,at);var yt=je(ze);ne.push(yt);var It=Sn(ze);try{var Gt=Ge.apply(this,at),An=Sn(ze);return nt(It,An)||ut(ze,yt,An),ne.pop(),Gt}catch(gi){throw ne=[],gi}finally{if(ne.length===0){var Vn=G.get(ze);if(Vn===void 0)throw new Error("Expected to find root ID.");jn(Vn)}}},receiveComponent:function(Ge,at){var ze=at[0];if(C0(ze)===9)return Ge.apply(this,at);var yt=je(ze);ne.push(yt);var It=Sn(ze);try{var Gt=Ge.apply(this,at),An=Sn(ze);return nt(It,An)||ut(ze,yt,An),ne.pop(),Gt}catch(gi){throw ne=[],gi}finally{if(ne.length===0){var Vn=G.get(ze);if(Vn===void 0)throw new Error("Expected to find root ID.");jn(Vn)}}},unmountComponent:function(Ge,at){var ze=at[0];if(C0(ze)===9)return Ge.apply(this,at);var yt=je(ze);ne.push(yt);try{var It=Ge.apply(this,at);return ne.pop(),function(An,Vn){bt.push(Vn),se.delete(Vn)}(0,yt),It}catch(An){throw ne=[],An}finally{if(ne.length===0){var Gt=G.get(ze);if(Gt===void 0)throw new Error("Expected to find root ID.");jn(Gt)}}}}));var wt=[],Vt=new Map,bt=[],Pt=0,ln=null;function jn(Ge){if(wt.length!==0||bt.length!==0||ln!==null){var at=bt.length+(ln===null?0:1),ze=new Array(3+Pt+(at>0?2+at:0)+wt.length),yt=0;if(ze[yt++]=B,ze[yt++]=Ge,ze[yt++]=Pt,Vt.forEach(function(An,Vn){ze[yt++]=Vn.length;for(var gi=wo(Vn),i0=0;i00){ze[yt++]=2,ze[yt++]=at;for(var It=0;It"),"color: var(--dom-tag-name-color); font-weight: normal;"),at.props!==null&&console.log("Props:",at.props),at.state!==null&&console.log("State:",at.state),at.context!==null&&console.log("Context:",at.context);var yt=_e(Ge);yt!==null&&console.log("Node:",yt),(window.chrome||/firefox/i.test(navigator.userAgent))&&console.log("Right-click any value to save it as a global variable for further inspection."),ze&&console.groupEnd()}else console.warn('Could not find element with id "'.concat(Ge,'"'))},overrideSuspense:function(){throw new Error("overrideSuspense not supported by this renderer")},overrideValueAtPath:function(Ge,at,ze,yt,It){var Gt=se.get(at);if(Gt!=null){var An=Gt._instance;if(An!=null)switch(Ge){case"context":To(An.context,yt,It),m0(An);break;case"hooks":throw new Error("Hooks not supported by this renderer");case"props":var Vn=Gt._currentElement;Gt._currentElement=H0(H0({},Vn),{},{props:hn(Vn.props,yt,It)}),m0(An);break;case"state":To(An.state,yt,It),m0(An)}}},renamePath:function(Ge,at,ze,yt,It){var Gt=se.get(at);if(Gt!=null){var An=Gt._instance;if(An!=null)switch(Ge){case"context":hr(An.context,yt,It),m0(An);break;case"hooks":throw new Error("Hooks not supported by this renderer");case"props":var Vn=Gt._currentElement;Gt._currentElement=H0(H0({},Vn),{},{props:Ft(Vn.props,yt,It)}),m0(An);break;case"state":hr(An.state,yt,It),m0(An)}}},prepareViewAttributeSource:function(Ge,at){var ze=nr(Ge);ze!==null&&(window.$attribute=h0(ze,at))},prepareViewElementSource:function(Ge){var at=se.get(Ge);if(at!=null){var ze=at._currentElement;ze!=null?Y.$type=ze.type:console.warn('Could not find element with id "'.concat(Ge,'"'))}else console.warn('Could not find instance with id "'.concat(Ge,'"'))},renderer:q,setTraceUpdatesEnabled:function(Ge){},setTrackedPath:function(Ge){},startProfiling:function(){},stopProfiling:function(){},storeAsGlobal:function(Ge,at,ze){var yt=nr(Ge);if(yt!==null){var It=h0(yt,at),Gt="$reactTemp".concat(ze);window[Gt]=It,console.log(Gt),console.log(It)}},updateComponentFilters:function(Ge){}}}function il(b,B){var q=!1,Y={bottom:0,left:0,right:0,top:0},_e=B[b];if(_e!=null){for(var se=0,ge=Object.keys(Y);se0?"development":"production";var wt=Function.prototype.toString;if(ht.Mount&&ht.Mount._renderNewRootComponent){var Vt=wt.call(ht.Mount._renderNewRootComponent);return Vt.indexOf("function")!==0?"production":Vt.indexOf("storedMeasure")!==-1?"development":Vt.indexOf("should be a pure function")!==-1?Vt.indexOf("NODE_ENV")!==-1||Vt.indexOf("development")!==-1||Vt.indexOf("true")!==-1?"development":Vt.indexOf("nextElement")!==-1||Vt.indexOf("nextComponent")!==-1?"unminified":"development":Vt.indexOf("nextElement")!==-1||Vt.indexOf("nextComponent")!==-1?"unminified":"outdated"}}catch{}return"production"}(De);try{var ne=window.__REACT_DEVTOOLS_APPEND_COMPONENT_STACK__!==!1,Ne=window.__REACT_DEVTOOLS_BREAK_ON_CONSOLE_ERRORS__===!0;(ne||Ne)&&(oo(De),la({appendComponentStack:ne,breakOnConsoleErrors:Ne}))}catch{}var Je=b.__REACT_DEVTOOLS_ATTACH__;if(typeof Je=="function"){var ut=Je(G,je,De,b);G.rendererInterfaces.set(je,ut)}return G.emit("renderer",{id:je,renderer:De,reactBuildType:nt}),je},on:function(De,je){se[De]||(se[De]=[]),se[De].push(je)},off:function(De,je){if(se[De]){var nt=se[De].indexOf(je);nt!==-1&&se[De].splice(nt,1),se[De].length||delete se[De]}},sub:function(De,je){return G.on(De,je),function(){return G.off(De,je)}},supportsFiber:!0,checkDCE:function(De){try{Function.prototype.toString.call(De).indexOf("^_^")>-1&&(q=!0,setTimeout(function(){throw new Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")}))}catch{}},onCommitFiberUnmount:function(De,je){var nt=_e.get(De);nt!=null&&nt.handleCommitFiberUnmount(je)},onCommitFiberRoot:function(De,je,nt){var ne=G.getFiberRoots(De),Ne=je.current,Je=ne.has(je),ut=Ne.memoizedState==null||Ne.memoizedState.element==null;Je||ut?Je&&ut&&ne.delete(je):ne.add(je);var ht=_e.get(De);ht!=null&&ht.handleCommitFiberRoot(je,nt)}};Object.defineProperty(b,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!1,enumerable:!1,get:function(){return G}})})(window);var x0=window.__REACT_DEVTOOLS_GLOBAL_HOOK__,Ol=[{type:1,value:7,isEnabled:!0}];function Uu(b){if(x0!=null){var B=b||{},q=B.host,Y=q===void 0?"localhost":q,_e=B.nativeStyleEditorValidAttributes,se=B.useHttps,ge=se!==void 0&&se,G=B.port,De=G===void 0?8097:G,je=B.websocket,nt=B.resolveRNStyle,ne=nt===void 0?null:nt,Ne=B.isAppActive,Je=ge?"wss":"ws",ut=null;if((Ne===void 0?function(){return!0}:Ne)()){var ht=null,wt=[],Vt=Je+"://"+Y+":"+De,bt=je||new window.WebSocket(Vt);bt.onclose=function(){ht!==null&&ht.emit("shutdown"),Pt()},bt.onerror=function(){Pt()},bt.onmessage=function(ln){var jn;try{if(typeof ln.data!="string")throw Error();jn=JSON.parse(ln.data)}catch{return void console.error("[React DevTools] Failed to parse JSON: "+ln.data)}wt.forEach(function(xn){try{xn(jn)}catch(Jn){throw console.log("[React DevTools] Error calling listener",jn),console.log("error:",Jn),Jn}})},bt.onopen=function(){(ht=new uo({listen:function(nn){return wt.push(nn),function(){var $n=wt.indexOf(nn);$n>=0&&wt.splice($n,1)}},send:function(nn,$n,y0){bt.readyState===bt.OPEN?bt.send(JSON.stringify({event:nn,payload:$n})):(ht!==null&&ht.shutdown(),Pt())}})).addListener("inspectElement",function(nn){var $n=nn.id,y0=nn.rendererID,nr=ln.rendererInterfaces[y0];if(nr!=null){var Ge=nr.findNativeNodesForFiberID($n);Ge!=null&&Ge[0]!=null&&ln.emit("showNativeHighlight",Ge[0])}}),ht.addListener("updateComponentFilters",function(nn){Ol=nn}),window.__REACT_DEVTOOLS_COMPONENT_FILTERS__==null&&ht.send("overrideComponentFilters",Ol);var ln=new Cn(ht);if(ln.addListener("shutdown",function(){x0.emit("shutdown")}),function(nn,$n,y0){if(nn==null)return function(){};var nr=[nn.sub("renderer-attached",function(ze){var yt=ze.id,It=(ze.renderer,ze.rendererInterface);$n.setRendererInterface(yt,It),It.flushInitialOperations()}),nn.sub("unsupported-renderer-version",function(ze){$n.onUnsupportedRenderer(ze)}),nn.sub("operations",$n.onHookOperations),nn.sub("traceUpdates",$n.onTraceUpdates)],Ge=function(ze,yt){var It=nn.rendererInterfaces.get(ze);It==null&&(typeof yt.findFiberByHostInstance=="function"?It=xl(nn,ze,yt,y0):yt.ComponentTree&&(It=Tf(nn,ze,yt,y0)),It!=null&&nn.rendererInterfaces.set(ze,It)),It!=null?nn.emit("renderer-attached",{id:ze,renderer:yt,rendererInterface:It}):nn.emit("unsupported-renderer-version",ze)};nn.renderers.forEach(function(ze,yt){Ge(yt,ze)}),nr.push(nn.sub("renderer",function(ze){var yt=ze.id,It=ze.renderer;Ge(yt,It)})),nn.emit("react-devtools",$n),nn.reactDevtoolsAgent=$n;var at=function(){nr.forEach(function(ze){return ze()}),nn.rendererInterfaces.forEach(function(ze){ze.cleanup()}),nn.reactDevtoolsAgent=null};$n.addListener("shutdown",at),nr.push(function(){$n.removeListener("shutdown",at)})}(x0,ln,window),ne!=null||x0.resolveRNStyle!=null)sa(ht,ln,ne||x0.resolveRNStyle,_e||x0.nativeStyleEditorValidAttributes||null);else{var jn,xn,Jn=function(){ht!==null&&sa(ht,ln,jn,xn)};x0.hasOwnProperty("resolveRNStyle")||Object.defineProperty(x0,"resolveRNStyle",{enumerable:!1,get:function(){return jn},set:function(nn){jn=nn,Jn()}}),x0.hasOwnProperty("nativeStyleEditorValidAttributes")||Object.defineProperty(x0,"nativeStyleEditorValidAttributes",{enumerable:!1,get:function(){return xn},set:function(nn){xn=nn,Jn()}})}}}else Pt()}function Pt(){ut===null&&(ut=setTimeout(function(){return Uu(b)},2e3))}}}])})});var F7=re(N7=>{"use strict";Object.defineProperty(N7,"__esModule",{value:!0});O7();var AJ=M7();AJ.connectToDevTools()});var B7=re(Gh=>{"use strict";var I7=Gh&&Gh.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Gh,"__esModule",{value:!0});var L7=dg(),kJ=I7(G9()),b7=I7(a1()),vu=P3();process.env.DEV==="true"&&F7();var P7=u=>{u==null||u.unsetMeasureFunc(),u==null||u.freeRecursive()};Gh.default=kJ.default({schedulePassiveEffects:L7.unstable_scheduleCallback,cancelPassiveEffects:L7.unstable_cancelCallback,now:Date.now,getRootHostContext:()=>({isInsideText:!1}),prepareForCommit:()=>{},resetAfterCommit:u=>{if(u.isStaticDirty){u.isStaticDirty=!1,typeof u.onImmediateRender=="function"&&u.onImmediateRender();return}typeof u.onRender=="function"&&u.onRender()},getChildHostContext:(u,l)=>{let c=u.isInsideText,p=l==="ink-text"||l==="ink-virtual-text";return c===p?u:{isInsideText:p}},shouldSetTextContent:()=>!1,createInstance:(u,l,c,p)=>{if(p.isInsideText&&u==="ink-box")throw new Error(" can\u2019t be nested inside component");let _=u==="ink-text"&&p.isInsideText?"ink-virtual-text":u,t=vu.createNode(_);for(let[O,M]of Object.entries(l))O!=="children"&&(O==="style"?vu.setStyle(t,M):O==="internal_transform"?t.internal_transform=M:O==="internal_static"?t.internal_static=!0:vu.setAttribute(t,O,M));return t},createTextInstance:(u,l,c)=>{if(!c.isInsideText)throw new Error(`Text string "${u}" must be rendered inside component`);return vu.createTextNode(u)},resetTextContent:()=>{},hideTextInstance:u=>{vu.setTextNodeValue(u,"")},unhideTextInstance:(u,l)=>{vu.setTextNodeValue(u,l)},getPublicInstance:u=>u,hideInstance:u=>{var l;(l=u.yogaNode)===null||l===void 0||l.setDisplay(b7.default.DISPLAY_NONE)},unhideInstance:u=>{var l;(l=u.yogaNode)===null||l===void 0||l.setDisplay(b7.default.DISPLAY_FLEX)},appendInitialChild:vu.appendChildNode,appendChild:vu.appendChildNode,insertBefore:vu.insertBeforeNode,finalizeInitialChildren:(u,l,c,p)=>(u.internal_static&&(p.isStaticDirty=!0,p.staticNode=u),!1),supportsMutation:!0,appendChildToContainer:vu.appendChildNode,insertInContainerBefore:vu.insertBeforeNode,removeChildFromContainer:(u,l)=>{vu.removeChildNode(u,l),P7(l.yogaNode)},prepareUpdate:(u,l,c,p,_)=>{u.internal_static&&(_.isStaticDirty=!0);let t={},O=Object.keys(p);for(let M of O)if(p[M]!==c[M]){if(M==="style"&&typeof p.style=="object"&&typeof c.style=="object"){let T=p.style,P=c.style,U=Object.keys(T);for(let z of U){if(z==="borderStyle"||z==="borderColor"){if(typeof t.style!="object"){let Q={};t.style=Q}t.style.borderStyle=T.borderStyle,t.style.borderColor=T.borderColor}if(T[z]!==P[z]){if(typeof t.style!="object"){let Q={};t.style=Q}t.style[z]=T[z]}}continue}t[M]=p[M]}return t},commitUpdate:(u,l)=>{for(let[c,p]of Object.entries(l))c!=="children"&&(c==="style"?vu.setStyle(u,p):c==="internal_transform"?u.internal_transform=p:c==="internal_static"?u.internal_static=!0:vu.setAttribute(u,c,p))},commitTextUpdate:(u,l,c)=>{vu.setTextNodeValue(u,c)},removeChild:(u,l)=>{vu.removeChildNode(u,l),P7(l.yogaNode)}})});var j7=re((sie,U7)=>{"use strict";U7.exports=(u,l=1,c)=>{if(c={indent:" ",includeEmptyLines:!1,...c},typeof u!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof u}\``);if(typeof l!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof l}\``);if(typeof c.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof c.indent}\``);if(l===0)return u;let p=c.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return u.replace(p,c.indent.repeat(l))}});var z7=re(Yh=>{"use strict";var OJ=Yh&&Yh.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Yh,"__esModule",{value:!0});var Ag=OJ(a1());Yh.default=u=>u.getComputedWidth()-u.getComputedPadding(Ag.default.EDGE_LEFT)-u.getComputedPadding(Ag.default.EDGE_RIGHT)-u.getComputedBorder(Ag.default.EDGE_LEFT)-u.getComputedBorder(Ag.default.EDGE_RIGHT)});var q7=re((cie,MJ)=>{MJ.exports={single:{topLeft:"\u250C",topRight:"\u2510",bottomRight:"\u2518",bottomLeft:"\u2514",vertical:"\u2502",horizontal:"\u2500"},double:{topLeft:"\u2554",topRight:"\u2557",bottomRight:"\u255D",bottomLeft:"\u255A",vertical:"\u2551",horizontal:"\u2550"},round:{topLeft:"\u256D",topRight:"\u256E",bottomRight:"\u256F",bottomLeft:"\u2570",vertical:"\u2502",horizontal:"\u2500"},bold:{topLeft:"\u250F",topRight:"\u2513",bottomRight:"\u251B",bottomLeft:"\u2517",vertical:"\u2503",horizontal:"\u2501"},singleDouble:{topLeft:"\u2553",topRight:"\u2556",bottomRight:"\u255C",bottomLeft:"\u2559",vertical:"\u2551",horizontal:"\u2500"},doubleSingle:{topLeft:"\u2552",topRight:"\u2555",bottomRight:"\u255B",bottomLeft:"\u2558",vertical:"\u2502",horizontal:"\u2550"},classic:{topLeft:"+",topRight:"+",bottomRight:"+",bottomLeft:"+",vertical:"|",horizontal:"-"}}});var W7=re((die,s8)=>{"use strict";var H7=q7();s8.exports=H7;s8.exports.default=H7});var G7=re((pie,V7)=>{"use strict";V7.exports=(u,l=process.argv)=>{let c=u.startsWith("-")?"":u.length===1?"-":"--",p=l.indexOf(c+u),_=l.indexOf("--");return p!==-1&&(_===-1||p<_)}});var X7=re((hie,K7)=>{"use strict";var NJ=Kn("os"),Y7=Kn("tty"),oa=G7(),{env:to}=process,yc;oa("no-color")||oa("no-colors")||oa("color=false")||oa("color=never")?yc=0:(oa("color")||oa("colors")||oa("color=true")||oa("color=always"))&&(yc=1);"FORCE_COLOR"in to&&(to.FORCE_COLOR==="true"?yc=1:to.FORCE_COLOR==="false"?yc=0:yc=to.FORCE_COLOR.length===0?1:Math.min(parseInt(to.FORCE_COLOR,10),3));function f8(u){return u===0?!1:{level:u,hasBasic:!0,has256:u>=2,has16m:u>=3}}function c8(u,l){if(yc===0)return 0;if(oa("color=16m")||oa("color=full")||oa("color=truecolor"))return 3;if(oa("color=256"))return 2;if(u&&!l&&yc===void 0)return 0;let c=yc||0;if(to.TERM==="dumb")return c;if(process.platform==="win32"){let p=NJ.release().split(".");return Number(p[0])>=10&&Number(p[2])>=10586?Number(p[2])>=14931?3:2:1}if("CI"in to)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(p=>p in to)||to.CI_NAME==="codeship"?1:c;if("TEAMCITY_VERSION"in to)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(to.TEAMCITY_VERSION)?1:0;if("GITHUB_ACTIONS"in to)return 1;if(to.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in to){let p=parseInt((to.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(to.TERM_PROGRAM){case"iTerm.app":return p>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(to.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(to.TERM)||"COLORTERM"in to?1:c}function FJ(u){let l=c8(u,u&&u.isTTY);return f8(l)}K7.exports={supportsColor:FJ,stdout:f8(c8(!0,Y7.isatty(1))),stderr:f8(c8(!0,Y7.isatty(2)))}});var J7=re((vie,Q7)=>{"use strict";var LJ=(u,l,c)=>{let p=u.indexOf(l);if(p===-1)return u;let _=l.length,t=0,O="";do O+=u.substr(t,p-t)+l+c,t=p+_,p=u.indexOf(l,t);while(p!==-1);return O+=u.substr(t),O},bJ=(u,l,c,p)=>{let _=0,t="";do{let O=u[p-1]==="\r";t+=u.substr(_,(O?p-1:p)-_)+l+(O?`\r +`:` +`)+c,_=p+1,p=u.indexOf(` +`,_)}while(p!==-1);return t+=u.substr(_),t};Q7.exports={stringReplaceAll:LJ,stringEncaseCRLFWithFirstIndex:bJ}});var nA=re((mie,tA)=>{"use strict";var PJ=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Z7=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,IJ=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,BJ=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,UJ=new Map([["n",` +`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function eA(u){let l=u[0]==="u",c=u[1]==="{";return l&&!c&&u.length===5||u[0]==="x"&&u.length===3?String.fromCharCode(parseInt(u.slice(1),16)):l&&c?String.fromCodePoint(parseInt(u.slice(2,-1),16)):UJ.get(u)||u}function jJ(u,l){let c=[],p=l.trim().split(/\s*,\s*/g),_;for(let t of p){let O=Number(t);if(!Number.isNaN(O))c.push(O);else if(_=t.match(IJ))c.push(_[2].replace(BJ,(M,A,T)=>A?eA(A):T));else throw new Error(`Invalid Chalk template style argument: ${t} (in style '${u}')`)}return c}function zJ(u){Z7.lastIndex=0;let l=[],c;for(;(c=Z7.exec(u))!==null;){let p=c[1];if(c[2]){let _=jJ(p,c[2]);l.push([p].concat(_))}else l.push([p])}return l}function $7(u,l){let c={};for(let _ of l)for(let t of _.styles)c[t[0]]=_.inverse?null:t.slice(1);let p=u;for(let[_,t]of Object.entries(c))if(!!Array.isArray(t)){if(!(_ in p))throw new Error(`Unknown Chalk style: ${_}`);p=t.length>0?p[_](...t):p[_]}return p}tA.exports=(u,l)=>{let c=[],p=[],_=[];if(l.replace(PJ,(t,O,M,A,T,P)=>{if(O)_.push(eA(O));else if(A){let U=_.join("");_=[],p.push(c.length===0?U:$7(u,c)(U)),c.push({inverse:M,styles:zJ(A)})}else if(T){if(c.length===0)throw new Error("Found extraneous } in Chalk template literal");p.push($7(u,c)(_.join(""))),_=[],c.pop()}else _.push(P)}),p.push(_.join("")),c.length>0){let t=`Chalk template literal is missing ${c.length} closing bracket${c.length===1?"":"s"} (\`}\`)`;throw new Error(t)}return p.join("")}});var y8=re((yie,aA)=>{"use strict";var Kh=yg(),{stdout:p8,stderr:h8}=X7(),{stringReplaceAll:qJ,stringEncaseCRLFWithFirstIndex:HJ}=J7(),{isArray:kg}=Array,iA=["ansi","ansi","ansi256","ansi16m"],rd=Object.create(null),WJ=(u,l={})=>{if(l.level&&!(Number.isInteger(l.level)&&l.level>=0&&l.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let c=p8?p8.level:0;u.level=l.level===void 0?c:l.level},v8=class{constructor(l){return oA(l)}},oA=u=>{let l={};return WJ(l,u),l.template=(...c)=>lA(l.template,...c),Object.setPrototypeOf(l,Og.prototype),Object.setPrototypeOf(l.template,l),l.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},l.template.Instance=v8,l.template};function Og(u){return oA(u)}for(let[u,l]of Object.entries(Kh))rd[u]={get(){let c=Mg(this,m8(l.open,l.close,this._styler),this._isEmpty);return Object.defineProperty(this,u,{value:c}),c}};rd.visible={get(){let u=Mg(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:u}),u}};var uA=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let u of uA)rd[u]={get(){let{level:l}=this;return function(...c){let p=m8(Kh.color[iA[l]][u](...c),Kh.color.close,this._styler);return Mg(this,p,this._isEmpty)}}};for(let u of uA){let l="bg"+u[0].toUpperCase()+u.slice(1);rd[l]={get(){let{level:c}=this;return function(...p){let _=m8(Kh.bgColor[iA[c]][u](...p),Kh.bgColor.close,this._styler);return Mg(this,_,this._isEmpty)}}}}var VJ=Object.defineProperties(()=>{},{...rd,level:{enumerable:!0,get(){return this._generator.level},set(u){this._generator.level=u}}}),m8=(u,l,c)=>{let p,_;return c===void 0?(p=u,_=l):(p=c.openAll+u,_=l+c.closeAll),{open:u,close:l,openAll:p,closeAll:_,parent:c}},Mg=(u,l,c)=>{let p=(..._)=>kg(_[0])&&kg(_[0].raw)?rA(p,lA(p,..._)):rA(p,_.length===1?""+_[0]:_.join(" "));return Object.setPrototypeOf(p,VJ),p._generator=u,p._styler=l,p._isEmpty=c,p},rA=(u,l)=>{if(u.level<=0||!l)return u._isEmpty?"":l;let c=u._styler;if(c===void 0)return l;let{openAll:p,closeAll:_}=c;if(l.indexOf("\x1B")!==-1)for(;c!==void 0;)l=qJ(l,c.close,c.open),c=c.parent;let t=l.indexOf(` +`);return t!==-1&&(l=HJ(l,_,p,t)),p+l+_},d8,lA=(u,...l)=>{let[c]=l;if(!kg(c)||!kg(c.raw))return l.join(" ");let p=l.slice(1),_=[c.raw[0]];for(let t=1;t{"use strict";var GJ=Qh&&Qh.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Qh,"__esModule",{value:!0});var Xh=GJ(y8()),YJ=/^(rgb|hsl|hsv|hwb)\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/,KJ=/^(ansi|ansi256)\(\s?(\d+)\s?\)$/,Fg=(u,l)=>l==="foreground"?u:"bg"+u[0].toUpperCase()+u.slice(1);Qh.default=(u,l,c)=>{if(!l)return u;if(l in Xh.default){let _=Fg(l,c);return Xh.default[_](u)}if(l.startsWith("#")){let _=Fg("hex",c);return Xh.default[_](l)(u)}if(l.startsWith("ansi")){let _=KJ.exec(l);if(!_)return u;let t=Fg(_[1],c),O=Number(_[2]);return Xh.default[t](O)(u)}if(l.startsWith("rgb")||l.startsWith("hsl")||l.startsWith("hsv")||l.startsWith("hwb")){let _=YJ.exec(l);if(!_)return u;let t=Fg(_[1],c),O=Number(_[2]),M=Number(_[3]),A=Number(_[4]);return Xh.default[t](O,M,A)(u)}return u}});var fA=re(Jh=>{"use strict";var sA=Jh&&Jh.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Jh,"__esModule",{value:!0});var XJ=sA(W7()),_8=sA(g8());Jh.default=(u,l,c,p)=>{if(typeof c.style.borderStyle=="string"){let _=c.yogaNode.getComputedWidth(),t=c.yogaNode.getComputedHeight(),O=c.style.borderColor,M=XJ.default[c.style.borderStyle],A=_8.default(M.topLeft+M.horizontal.repeat(_-2)+M.topRight,O,"foreground"),T=(_8.default(M.vertical,O,"foreground")+` +`).repeat(t-2),P=_8.default(M.bottomLeft+M.horizontal.repeat(_-2)+M.bottomRight,O,"foreground");p.write(u,l,A,{transformers:[]}),p.write(u,l+1,T,{transformers:[]}),p.write(u+_-1,l+1,T,{transformers:[]}),p.write(u,l+t-1,P,{transformers:[]})}}});var dA=re(Zh=>{"use strict";var d1=Zh&&Zh.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Zh,"__esModule",{value:!0});var QJ=d1(a1()),JJ=d1(T3()),ZJ=d1(j7()),$J=d1(F3()),eZ=d1(z7()),tZ=d1(b3()),nZ=d1(fA()),rZ=(u,l)=>{var c;let p=(c=u.childNodes[0])===null||c===void 0?void 0:c.yogaNode;if(p){let _=p.getComputedLeft(),t=p.getComputedTop();l=` +`.repeat(t)+ZJ.default(l,_)}return l},cA=(u,l,c)=>{var p;let{offsetX:_=0,offsetY:t=0,transformers:O=[],skipStaticElements:M}=c;if(M&&u.internal_static)return;let{yogaNode:A}=u;if(A){if(A.getDisplay()===QJ.default.DISPLAY_NONE)return;let T=_+A.getComputedLeft(),P=t+A.getComputedTop(),U=O;if(typeof u.internal_transform=="function"&&(U=[u.internal_transform,...O]),u.nodeName==="ink-text"){let z=tZ.default(u);if(z.length>0){let Q=JJ.default(z),v=eZ.default(A);if(Q>v){let de=(p=u.style.textWrap)!==null&&p!==void 0?p:"wrap";z=$J.default(z,v,de)}z=rZ(u,z),l.write(T,P,z,{transformers:U})}return}if(u.nodeName==="ink-box"&&nZ.default(T,P,u,l),u.nodeName==="ink-root"||u.nodeName==="ink-box")for(let z of u.childNodes)cA(z,l,{offsetX:T,offsetY:P,transformers:U,skipStaticElements:M})}};Zh.default=cA});var hA=re((Die,pA)=>{"use strict";pA.exports=u=>{u=Object.assign({onlyFirst:!1},u);let l=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(l,u.onlyFirst?void 0:"g")}});var mA=re((wie,E8)=>{"use strict";var iZ=hA(),vA=u=>typeof u=="string"?u.replace(iZ(),""):u;E8.exports=vA;E8.exports.default=vA});var _A=re((Sie,gA)=>{"use strict";var yA="[\uD800-\uDBFF][\uDC00-\uDFFF]";gA.exports=u=>u&&u.exact?new RegExp(`^${yA}$`):new RegExp(yA,"g")});var DA=re((Tie,D8)=>{"use strict";var oZ=mA(),uZ=_A(),EA=u=>oZ(u).replace(uZ()," ").length;D8.exports=EA;D8.exports.default=EA});var TA=re($h=>{"use strict";var SA=$h&&$h.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty($h,"__esModule",{value:!0});var wA=SA(M3()),lZ=SA(DA()),w8=class{constructor(l){this.writes=[];let{width:c,height:p}=l;this.width=c,this.height=p}write(l,c,p,_){let{transformers:t}=_;!p||this.writes.push({x:l,y:c,text:p,transformers:t})}get(){let l=[];for(let p=0;pp.trimRight()).join(` +`),height:l.length}}};$h.default=w8});var RA=re(ev=>{"use strict";var S8=ev&&ev.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(ev,"__esModule",{value:!0});var aZ=S8(a1()),CA=S8(dA()),xA=S8(TA());ev.default=(u,l)=>{var c;if(u.yogaNode.setWidth(l),u.yogaNode){u.yogaNode.calculateLayout(void 0,void 0,aZ.default.DIRECTION_LTR);let p=new xA.default({width:u.yogaNode.getComputedWidth(),height:u.yogaNode.getComputedHeight()});CA.default(u,p,{skipStaticElements:!0});let _;!((c=u.staticNode)===null||c===void 0)&&c.yogaNode&&(_=new xA.default({width:u.staticNode.yogaNode.getComputedWidth(),height:u.staticNode.yogaNode.getComputedHeight()}),CA.default(u.staticNode,_,{skipStaticElements:!1}));let{output:t,height:O}=p.get();return{output:t,outputHeight:O,staticOutput:_?`${_.get().output} +`:""}}return{output:"",outputHeight:0,staticOutput:""}}});var MA=re((Rie,OA)=>{"use strict";var AA=Kn("stream"),kA=["assert","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],T8={},sZ=u=>{let l=new AA.PassThrough,c=new AA.PassThrough;l.write=_=>u("stdout",_),c.write=_=>u("stderr",_);let p=new console.Console(l,c);for(let _ of kA)T8[_]=console[_],console[_]=p[_];return()=>{for(let _ of kA)console[_]=T8[_];T8={}}};OA.exports=sZ});var x8=re(C8=>{"use strict";Object.defineProperty(C8,"__esModule",{value:!0});C8.default=new WeakMap});var A8=re(R8=>{"use strict";Object.defineProperty(R8,"__esModule",{value:!0});var fZ=fi(),NA=fZ.createContext({exit:()=>{}});NA.displayName="InternalAppContext";R8.default=NA});var O8=re(k8=>{"use strict";Object.defineProperty(k8,"__esModule",{value:!0});var cZ=fi(),FA=cZ.createContext({stdin:void 0,setRawMode:()=>{},isRawModeSupported:!1,internal_exitOnCtrlC:!0});FA.displayName="InternalStdinContext";k8.default=FA});var N8=re(M8=>{"use strict";Object.defineProperty(M8,"__esModule",{value:!0});var dZ=fi(),LA=dZ.createContext({stdout:void 0,write:()=>{}});LA.displayName="InternalStdoutContext";M8.default=LA});var L8=re(F8=>{"use strict";Object.defineProperty(F8,"__esModule",{value:!0});var pZ=fi(),bA=pZ.createContext({stderr:void 0,write:()=>{}});bA.displayName="InternalStderrContext";F8.default=bA});var Lg=re(b8=>{"use strict";Object.defineProperty(b8,"__esModule",{value:!0});var hZ=fi(),PA=hZ.createContext({activeId:void 0,add:()=>{},remove:()=>{},activate:()=>{},deactivate:()=>{},enableFocus:()=>{},disableFocus:()=>{},focusNext:()=>{},focusPrevious:()=>{}});PA.displayName="InternalFocusContext";b8.default=PA});var BA=re((Lie,IA)=>{"use strict";var vZ=/[|\\{}()[\]^$+*?.-]/g;IA.exports=u=>{if(typeof u!="string")throw new TypeError("Expected a string");return u.replace(vZ,"\\$&")}});var qA=re((bie,zA)=>{"use strict";var mZ=BA(),jA=[].concat(Kn("module").builtinModules,"bootstrap_node","node").map(u=>new RegExp(`(?:\\(${u}\\.js:\\d+:\\d+\\)$|^\\s*at ${u}\\.js:\\d+:\\d+$)`));jA.push(/\(internal\/[^:]+:\d+:\d+\)$/,/\s*at internal\/[^:]+:\d+:\d+$/,/\/\.node-spawn-wrap-\w+-\w+\/node:\d+:\d+\)?$/);var tv=class{constructor(l){l={ignoredPackages:[],...l},"internals"in l||(l.internals=tv.nodeInternals()),"cwd"in l||(l.cwd=process.cwd()),this._cwd=l.cwd.replace(/\\/g,"/"),this._internals=[].concat(l.internals,yZ(l.ignoredPackages)),this._wrapCallSite=l.wrapCallSite||!1}static nodeInternals(){return[...jA]}clean(l,c=0){c=" ".repeat(c),Array.isArray(l)||(l=l.split(` +`)),!/^\s*at /.test(l[0])&&/^\s*at /.test(l[1])&&(l=l.slice(1));let p=!1,_=null,t=[];return l.forEach(O=>{if(O=O.replace(/\\/g,"/"),this._internals.some(A=>A.test(O)))return;let M=/^\s*at /.test(O);p?O=O.trimEnd().replace(/^(\s+)at /,"$1"):(O=O.trim(),M&&(O=O.slice(3))),O=O.replace(`${this._cwd}/`,""),O&&(M?(_&&(t.push(_),_=null),t.push(O)):(p=!0,_=O))}),t.map(O=>`${c}${O} +`).join("")}captureString(l,c=this.captureString){typeof l=="function"&&(c=l,l=1/0);let{stackTraceLimit:p}=Error;l&&(Error.stackTraceLimit=l);let _={};Error.captureStackTrace(_,c);let{stack:t}=_;return Error.stackTraceLimit=p,this.clean(t)}capture(l,c=this.capture){typeof l=="function"&&(c=l,l=1/0);let{prepareStackTrace:p,stackTraceLimit:_}=Error;Error.prepareStackTrace=(M,A)=>this._wrapCallSite?A.map(this._wrapCallSite):A,l&&(Error.stackTraceLimit=l);let t={};Error.captureStackTrace(t,c);let{stack:O}=t;return Object.assign(Error,{prepareStackTrace:p,stackTraceLimit:_}),O}at(l=this.at){let[c]=this.capture(1,l);if(!c)return{};let p={line:c.getLineNumber(),column:c.getColumnNumber()};UA(p,c.getFileName(),this._cwd),c.isConstructor()&&(p.constructor=!0),c.isEval()&&(p.evalOrigin=c.getEvalOrigin()),c.isNative()&&(p.native=!0);let _;try{_=c.getTypeName()}catch{}_&&_!=="Object"&&_!=="[object Object]"&&(p.type=_);let t=c.getFunctionName();t&&(p.function=t);let O=c.getMethodName();return O&&t!==O&&(p.method=O),p}parseLine(l){let c=l&&l.match(gZ);if(!c)return null;let p=c[1]==="new",_=c[2],t=c[3],O=c[4],M=Number(c[5]),A=Number(c[6]),T=c[7],P=c[8],U=c[9],z=c[10]==="native",Q=c[11]===")",v,de={};if(P&&(de.line=Number(P)),U&&(de.column=Number(U)),Q&&T){let ye=0;for(let le=T.length-1;le>0;le--)if(T.charAt(le)===")")ye++;else if(T.charAt(le)==="("&&T.charAt(le-1)===" "&&(ye--,ye===-1&&T.charAt(le-1)===" ")){let ae=T.slice(0,le-1);T=T.slice(le+1),_+=` (${ae}`;break}}if(_){let ye=_.match(_Z);ye&&(_=ye[1],v=ye[2])}return UA(de,T,this._cwd),p&&(de.constructor=!0),t&&(de.evalOrigin=t,de.evalLine=M,de.evalColumn=A,de.evalFile=O&&O.replace(/\\/g,"/")),z&&(de.native=!0),_&&(de.function=_),v&&_!==v&&(de.method=v),de}};function UA(u,l,c){l&&(l=l.replace(/\\/g,"/"),l.startsWith(`${c}/`)&&(l=l.slice(c.length+1)),u.file=l)}function yZ(u){if(u.length===0)return[];let l=u.map(c=>mZ(c));return new RegExp(`[/\\\\]node_modules[/\\\\](?:${l.join("|")})[/\\\\][^:]+:\\d+:\\d+`)}var gZ=new RegExp("^(?:\\s*at )?(?:(new) )?(?:(.*?) \\()?(?:eval at ([^ ]+) \\((.+?):(\\d+):(\\d+)\\), )?(?:(.+?):(\\d+):(\\d+)|(native))(\\)?)$"),_Z=/^(.*?) \[as (.*?)\]$/;zA.exports=tv});var WA=re((Pie,HA)=>{"use strict";HA.exports=(u,l)=>u.replace(/^\t+/gm,c=>" ".repeat(c.length*(l||2)))});var GA=re((Iie,VA)=>{"use strict";var EZ=WA(),DZ=(u,l)=>{let c=[],p=u-l,_=u+l;for(let t=p;t<=_;t++)c.push(t);return c};VA.exports=(u,l,c)=>{if(typeof u!="string")throw new TypeError("Source code is missing.");if(!l||l<1)throw new TypeError("Line number must start from `1`.");if(u=EZ(u).split(/\r?\n/),!(l>u.length))return c={around:3,...c},DZ(l,c.around).filter(p=>u[p-1]!==void 0).map(p=>({line:p,value:u[p-1]}))}});var bg=re(ja=>{"use strict";var wZ=ja&&ja.__createBinding||(Object.create?function(u,l,c,p){p===void 0&&(p=c),Object.defineProperty(u,p,{enumerable:!0,get:function(){return l[c]}})}:function(u,l,c,p){p===void 0&&(p=c),u[p]=l[c]}),SZ=ja&&ja.__setModuleDefault||(Object.create?function(u,l){Object.defineProperty(u,"default",{enumerable:!0,value:l})}:function(u,l){u.default=l}),TZ=ja&&ja.__importStar||function(u){if(u&&u.__esModule)return u;var l={};if(u!=null)for(var c in u)c!=="default"&&Object.hasOwnProperty.call(u,c)&&wZ(l,u,c);return SZ(l,u),l},CZ=ja&&ja.__rest||function(u,l){var c={};for(var p in u)Object.prototype.hasOwnProperty.call(u,p)&&l.indexOf(p)<0&&(c[p]=u[p]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,p=Object.getOwnPropertySymbols(u);_{var{children:c}=u,p=CZ(u,["children"]);let _=Object.assign(Object.assign({},p),{marginLeft:p.marginLeft||p.marginX||p.margin||0,marginRight:p.marginRight||p.marginX||p.margin||0,marginTop:p.marginTop||p.marginY||p.margin||0,marginBottom:p.marginBottom||p.marginY||p.margin||0,paddingLeft:p.paddingLeft||p.paddingX||p.padding||0,paddingRight:p.paddingRight||p.paddingX||p.padding||0,paddingTop:p.paddingTop||p.paddingY||p.padding||0,paddingBottom:p.paddingBottom||p.paddingY||p.padding||0});return YA.default.createElement("ink-box",{ref:l,style:_},c)});P8.displayName="Box";P8.defaultProps={flexDirection:"row",flexGrow:0,flexShrink:1};ja.default=P8});var U8=re(nv=>{"use strict";var I8=nv&&nv.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(nv,"__esModule",{value:!0});var xZ=I8(fi()),id=I8(y8()),KA=I8(g8()),B8=({color:u,backgroundColor:l,dimColor:c,bold:p,italic:_,underline:t,strikethrough:O,inverse:M,wrap:A,children:T})=>{if(T==null)return null;let P=U=>(c&&(U=id.default.dim(U)),u&&(U=KA.default(U,u,"foreground")),l&&(U=KA.default(U,l,"background")),p&&(U=id.default.bold(U)),_&&(U=id.default.italic(U)),t&&(U=id.default.underline(U)),O&&(U=id.default.strikethrough(U)),M&&(U=id.default.inverse(U)),U);return xZ.default.createElement("ink-text",{style:{flexGrow:0,flexShrink:1,flexDirection:"row",textWrap:A},internal_transform:P},T)};B8.displayName="Text";B8.defaultProps={dimColor:!1,bold:!1,italic:!1,underline:!1,strikethrough:!1,wrap:"wrap"};nv.default=B8});var ZA=re(za=>{"use strict";var RZ=za&&za.__createBinding||(Object.create?function(u,l,c,p){p===void 0&&(p=c),Object.defineProperty(u,p,{enumerable:!0,get:function(){return l[c]}})}:function(u,l,c,p){p===void 0&&(p=c),u[p]=l[c]}),AZ=za&&za.__setModuleDefault||(Object.create?function(u,l){Object.defineProperty(u,"default",{enumerable:!0,value:l})}:function(u,l){u.default=l}),kZ=za&&za.__importStar||function(u){if(u&&u.__esModule)return u;var l={};if(u!=null)for(var c in u)c!=="default"&&Object.hasOwnProperty.call(u,c)&&RZ(l,u,c);return AZ(l,u),l},rv=za&&za.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(za,"__esModule",{value:!0});var XA=kZ(Kn("fs")),no=rv(fi()),QA=rv(qA()),OZ=rv(GA()),Df=rv(bg()),Ts=rv(U8()),JA=new QA.default({cwd:process.cwd(),internals:QA.default.nodeInternals()}),MZ=({error:u})=>{let l=u.stack?u.stack.split(` +`).slice(1):void 0,c=l?JA.parseLine(l[0]):void 0,p,_=0;if((c==null?void 0:c.file)&&(c==null?void 0:c.line)&&XA.existsSync(c.file)){let t=XA.readFileSync(c.file,"utf8");if(p=OZ.default(t,c.line),p)for(let{line:O}of p)_=Math.max(_,String(O).length)}return no.default.createElement(Df.default,{flexDirection:"column",padding:1},no.default.createElement(Df.default,null,no.default.createElement(Ts.default,{backgroundColor:"red",color:"white"}," ","ERROR"," "),no.default.createElement(Ts.default,null," ",u.message)),c&&no.default.createElement(Df.default,{marginTop:1},no.default.createElement(Ts.default,{dimColor:!0},c.file,":",c.line,":",c.column)),c&&p&&no.default.createElement(Df.default,{marginTop:1,flexDirection:"column"},p.map(({line:t,value:O})=>no.default.createElement(Df.default,{key:t},no.default.createElement(Df.default,{width:_+1},no.default.createElement(Ts.default,{dimColor:t!==c.line,backgroundColor:t===c.line?"red":void 0,color:t===c.line?"white":void 0},String(t).padStart(_," "),":")),no.default.createElement(Ts.default,{key:t,backgroundColor:t===c.line?"red":void 0,color:t===c.line?"white":void 0}," "+O)))),u.stack&&no.default.createElement(Df.default,{marginTop:1,flexDirection:"column"},u.stack.split(` +`).slice(1).map(t=>{let O=JA.parseLine(t);return O?no.default.createElement(Df.default,{key:t},no.default.createElement(Ts.default,{dimColor:!0},"- "),no.default.createElement(Ts.default,{dimColor:!0,bold:!0},O.function),no.default.createElement(Ts.default,{dimColor:!0,color:"gray"}," ","(",O.file,":",O.line,":",O.column,")")):no.default.createElement(Df.default,{key:t},no.default.createElement(Ts.default,{dimColor:!0},"- "),no.default.createElement(Ts.default,{dimColor:!0,bold:!0},t))})))};za.default=MZ});var ek=re(qa=>{"use strict";var NZ=qa&&qa.__createBinding||(Object.create?function(u,l,c,p){p===void 0&&(p=c),Object.defineProperty(u,p,{enumerable:!0,get:function(){return l[c]}})}:function(u,l,c,p){p===void 0&&(p=c),u[p]=l[c]}),FZ=qa&&qa.__setModuleDefault||(Object.create?function(u,l){Object.defineProperty(u,"default",{enumerable:!0,value:l})}:function(u,l){u.default=l}),LZ=qa&&qa.__importStar||function(u){if(u&&u.__esModule)return u;var l={};if(u!=null)for(var c in u)c!=="default"&&Object.hasOwnProperty.call(u,c)&&NZ(l,u,c);return FZ(l,u),l},h1=qa&&qa.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(qa,"__esModule",{value:!0});var p1=LZ(fi()),$A=h1(t3()),bZ=h1(A8()),PZ=h1(O8()),IZ=h1(N8()),BZ=h1(L8()),UZ=h1(Lg()),jZ=h1(ZA()),zZ=" ",qZ="\x1B[Z",HZ="\x1B",Pg=class extends p1.PureComponent{constructor(){super(...arguments),this.state={isFocusEnabled:!0,activeFocusId:void 0,focusables:[],error:void 0},this.rawModeEnabledCount=0,this.handleSetRawMode=l=>{let{stdin:c}=this.props;if(!this.isRawModeSupported())throw c===process.stdin?new Error(`Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default. +Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported`):new Error(`Raw mode is not supported on the stdin provided to Ink. +Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported`);if(c.setEncoding("utf8"),l){this.rawModeEnabledCount===0&&(c.addListener("data",this.handleInput),c.resume(),c.setRawMode(!0)),this.rawModeEnabledCount++;return}--this.rawModeEnabledCount===0&&(c.setRawMode(!1),c.removeListener("data",this.handleInput),c.pause())},this.handleInput=l=>{l===""&&this.props.exitOnCtrlC&&this.handleExit(),l===HZ&&this.state.activeFocusId&&this.setState({activeFocusId:void 0}),this.state.isFocusEnabled&&this.state.focusables.length>0&&(l===zZ&&this.focusNext(),l===qZ&&this.focusPrevious())},this.handleExit=l=>{this.isRawModeSupported()&&this.handleSetRawMode(!1),this.props.onExit(l)},this.enableFocus=()=>{this.setState({isFocusEnabled:!0})},this.disableFocus=()=>{this.setState({isFocusEnabled:!1})},this.focusNext=()=>{this.setState(l=>{let c=l.focusables[0].id;return{activeFocusId:this.findNextFocusable(l)||c}})},this.focusPrevious=()=>{this.setState(l=>{let c=l.focusables[l.focusables.length-1].id;return{activeFocusId:this.findPreviousFocusable(l)||c}})},this.addFocusable=(l,{autoFocus:c})=>{this.setState(p=>{let _=p.activeFocusId;return!_&&c&&(_=l),{activeFocusId:_,focusables:[...p.focusables,{id:l,isActive:!0}]}})},this.removeFocusable=l=>{this.setState(c=>({activeFocusId:c.activeFocusId===l?void 0:c.activeFocusId,focusables:c.focusables.filter(p=>p.id!==l)}))},this.activateFocusable=l=>{this.setState(c=>({focusables:c.focusables.map(p=>p.id!==l?p:{id:l,isActive:!0})}))},this.deactivateFocusable=l=>{this.setState(c=>({activeFocusId:c.activeFocusId===l?void 0:c.activeFocusId,focusables:c.focusables.map(p=>p.id!==l?p:{id:l,isActive:!1})}))},this.findNextFocusable=l=>{let c=l.focusables.findIndex(p=>p.id===l.activeFocusId);for(let p=c+1;p{let c=l.focusables.findIndex(p=>p.id===l.activeFocusId);for(let p=c-1;p>=0;p--)if(l.focusables[p].isActive)return l.focusables[p].id}}static getDerivedStateFromError(l){return{error:l}}isRawModeSupported(){return this.props.stdin.isTTY}render(){return p1.default.createElement(bZ.default.Provider,{value:{exit:this.handleExit}},p1.default.createElement(PZ.default.Provider,{value:{stdin:this.props.stdin,setRawMode:this.handleSetRawMode,isRawModeSupported:this.isRawModeSupported(),internal_exitOnCtrlC:this.props.exitOnCtrlC}},p1.default.createElement(IZ.default.Provider,{value:{stdout:this.props.stdout,write:this.props.writeToStdout}},p1.default.createElement(BZ.default.Provider,{value:{stderr:this.props.stderr,write:this.props.writeToStderr}},p1.default.createElement(UZ.default.Provider,{value:{activeId:this.state.activeFocusId,add:this.addFocusable,remove:this.removeFocusable,activate:this.activateFocusable,deactivate:this.deactivateFocusable,enableFocus:this.enableFocus,disableFocus:this.disableFocus,focusNext:this.focusNext,focusPrevious:this.focusPrevious}},this.state.error?p1.default.createElement(jZ.default,{error:this.state.error}):this.props.children)))))}componentDidMount(){$A.default.hide(this.props.stdout)}componentWillUnmount(){$A.default.show(this.props.stdout),this.isRawModeSupported()&&this.handleSetRawMode(!1)}componentDidCatch(l){this.handleExit(l)}};qa.default=Pg;Pg.displayName="InternalApp"});var rk=re(Ha=>{"use strict";var WZ=Ha&&Ha.__createBinding||(Object.create?function(u,l,c,p){p===void 0&&(p=c),Object.defineProperty(u,p,{enumerable:!0,get:function(){return l[c]}})}:function(u,l,c,p){p===void 0&&(p=c),u[p]=l[c]}),VZ=Ha&&Ha.__setModuleDefault||(Object.create?function(u,l){Object.defineProperty(u,"default",{enumerable:!0,value:l})}:function(u,l){u.default=l}),GZ=Ha&&Ha.__importStar||function(u){if(u&&u.__esModule)return u;var l={};if(u!=null)for(var c in u)c!=="default"&&Object.hasOwnProperty.call(u,c)&&WZ(l,u,c);return VZ(l,u),l},Wa=Ha&&Ha.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Ha,"__esModule",{value:!0});var YZ=Wa(fi()),tk=a9(),KZ=Wa(T9()),XZ=Wa(QD()),QZ=Wa(O9()),JZ=Wa(N9()),Ig=Wa(B7()),ZZ=Wa(RA()),$Z=Wa(e3()),e$=Wa(MA()),t$=GZ(P3()),n$=Wa(x8()),r$=Wa(ek()),od=process.env.CI==="false"?!1:QZ.default,nk=()=>{},j8=class{constructor(l){this.resolveExitPromise=()=>{},this.rejectExitPromise=()=>{},this.unsubscribeExit=()=>{},this.onRender=()=>{if(this.isUnmounted)return;let{output:c,outputHeight:p,staticOutput:_}=ZZ.default(this.rootNode,this.options.stdout.columns||80),t=_&&_!==` +`;if(this.options.debug){t&&(this.fullStaticOutput+=_),this.options.stdout.write(this.fullStaticOutput+c);return}if(od){t&&this.options.stdout.write(_),this.lastOutput=c;return}if(t&&(this.fullStaticOutput+=_),p>=this.options.stdout.rows){this.options.stdout.write(XZ.default.clearTerminal+this.fullStaticOutput+c),this.lastOutput=c;return}t&&(this.log.clear(),this.options.stdout.write(_),this.log(c)),!t&&c!==this.lastOutput&&this.throttledLog(c),this.lastOutput=c},JZ.default(this),this.options=l,this.rootNode=t$.createNode("ink-root"),this.rootNode.onRender=l.debug?this.onRender:tk(this.onRender,32,{leading:!0,trailing:!0}),this.rootNode.onImmediateRender=this.onRender,this.log=KZ.default.create(l.stdout),this.throttledLog=l.debug?this.log:tk(this.log,void 0,{leading:!0,trailing:!0}),this.isUnmounted=!1,this.lastOutput="",this.fullStaticOutput="",this.container=Ig.default.createContainer(this.rootNode,!1,!1),this.unsubscribeExit=$Z.default(this.unmount,{alwaysLast:!1}),process.env.DEV==="true"&&Ig.default.injectIntoDevTools({bundleType:0,version:"16.13.1",rendererPackageName:"ink"}),l.patchConsole&&this.patchConsole(),od||(l.stdout.on("resize",this.onRender),this.unsubscribeResize=()=>{l.stdout.off("resize",this.onRender)})}render(l){let c=YZ.default.createElement(r$.default,{stdin:this.options.stdin,stdout:this.options.stdout,stderr:this.options.stderr,writeToStdout:this.writeToStdout,writeToStderr:this.writeToStderr,exitOnCtrlC:this.options.exitOnCtrlC,onExit:this.unmount},l);Ig.default.updateContainer(c,this.container,null,nk)}writeToStdout(l){if(!this.isUnmounted){if(this.options.debug){this.options.stdout.write(l+this.fullStaticOutput+this.lastOutput);return}if(od){this.options.stdout.write(l);return}this.log.clear(),this.options.stdout.write(l),this.log(this.lastOutput)}}writeToStderr(l){if(!this.isUnmounted){if(this.options.debug){this.options.stderr.write(l),this.options.stdout.write(this.fullStaticOutput+this.lastOutput);return}if(od){this.options.stderr.write(l);return}this.log.clear(),this.options.stderr.write(l),this.log(this.lastOutput)}}unmount(l){this.isUnmounted||(this.onRender(),this.unsubscribeExit(),typeof this.restoreConsole=="function"&&this.restoreConsole(),typeof this.unsubscribeResize=="function"&&this.unsubscribeResize(),od?this.options.stdout.write(this.lastOutput+` +`):this.options.debug||this.log.done(),this.isUnmounted=!0,Ig.default.updateContainer(null,this.container,null,nk),n$.default.delete(this.options.stdout),l instanceof Error?this.rejectExitPromise(l):this.resolveExitPromise())}waitUntilExit(){return this.exitPromise||(this.exitPromise=new Promise((l,c)=>{this.resolveExitPromise=l,this.rejectExitPromise=c})),this.exitPromise}clear(){!od&&!this.options.debug&&this.log.clear()}patchConsole(){this.options.debug||(this.restoreConsole=e$.default((l,c)=>{l==="stdout"&&this.writeToStdout(c),l==="stderr"&&(c.startsWith("The above error occurred")||this.writeToStderr(c))}))}};Ha.default=j8});var ok=re(iv=>{"use strict";var ik=iv&&iv.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(iv,"__esModule",{value:!0});var i$=ik(rk()),Bg=ik(x8()),o$=Kn("stream"),u$=(u,l)=>{let c=Object.assign({stdout:process.stdout,stdin:process.stdin,stderr:process.stderr,debug:!1,exitOnCtrlC:!0,patchConsole:!0},l$(l)),p=a$(c.stdout,()=>new i$.default(c));return p.render(u),{rerender:p.render,unmount:()=>p.unmount(),waitUntilExit:p.waitUntilExit,cleanup:()=>Bg.default.delete(c.stdout),clear:p.clear}};iv.default=u$;var l$=(u={})=>u instanceof o$.Stream?{stdout:u,stdin:process.stdin}:u,a$=(u,l)=>{let c;return Bg.default.has(u)?c=Bg.default.get(u):(c=l(),Bg.default.set(u,c)),c}});var lk=re(wf=>{"use strict";var s$=wf&&wf.__createBinding||(Object.create?function(u,l,c,p){p===void 0&&(p=c),Object.defineProperty(u,p,{enumerable:!0,get:function(){return l[c]}})}:function(u,l,c,p){p===void 0&&(p=c),u[p]=l[c]}),f$=wf&&wf.__setModuleDefault||(Object.create?function(u,l){Object.defineProperty(u,"default",{enumerable:!0,value:l})}:function(u,l){u.default=l}),c$=wf&&wf.__importStar||function(u){if(u&&u.__esModule)return u;var l={};if(u!=null)for(var c in u)c!=="default"&&Object.hasOwnProperty.call(u,c)&&s$(l,u,c);return f$(l,u),l};Object.defineProperty(wf,"__esModule",{value:!0});var ov=c$(fi()),uk=u=>{let{items:l,children:c,style:p}=u,[_,t]=ov.useState(0),O=ov.useMemo(()=>l.slice(_),[l,_]);ov.useLayoutEffect(()=>{t(l.length)},[l.length]);let M=O.map((T,P)=>c(T,_+P)),A=ov.useMemo(()=>Object.assign({position:"absolute",flexDirection:"column"},p),[p]);return ov.default.createElement("ink-box",{internal_static:!0,style:A},M)};uk.displayName="Static";wf.default=uk});var sk=re(uv=>{"use strict";var d$=uv&&uv.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(uv,"__esModule",{value:!0});var p$=d$(fi()),ak=({children:u,transform:l})=>u==null?null:p$.default.createElement("ink-text",{style:{flexGrow:0,flexShrink:1,flexDirection:"row"},internal_transform:l},u);ak.displayName="Transform";uv.default=ak});var ck=re(lv=>{"use strict";var h$=lv&&lv.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(lv,"__esModule",{value:!0});var v$=h$(fi()),fk=({count:u=1})=>v$.default.createElement("ink-text",null,` +`.repeat(u));fk.displayName="Newline";lv.default=fk});var hk=re(av=>{"use strict";var dk=av&&av.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(av,"__esModule",{value:!0});var m$=dk(fi()),y$=dk(bg()),pk=()=>m$.default.createElement(y$.default,{flexGrow:1});pk.displayName="Spacer";av.default=pk});var Ug=re(sv=>{"use strict";var g$=sv&&sv.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(sv,"__esModule",{value:!0});var _$=fi(),E$=g$(O8()),D$=()=>_$.useContext(E$.default);sv.default=D$});var mk=re(fv=>{"use strict";var w$=fv&&fv.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(fv,"__esModule",{value:!0});var vk=fi(),S$=w$(Ug()),T$=(u,l={})=>{let{stdin:c,setRawMode:p,internal_exitOnCtrlC:_}=S$.default();vk.useEffect(()=>{if(l.isActive!==!1)return p(!0),()=>{p(!1)}},[l.isActive,p]),vk.useEffect(()=>{if(l.isActive===!1)return;let t=O=>{let M=String(O),A={upArrow:M==="\x1B[A",downArrow:M==="\x1B[B",leftArrow:M==="\x1B[D",rightArrow:M==="\x1B[C",pageDown:M==="\x1B[6~",pageUp:M==="\x1B[5~",return:M==="\r",escape:M==="\x1B",ctrl:!1,shift:!1,tab:M===" "||M==="\x1B[Z",backspace:M==="\b",delete:M==="\x7F"||M==="\x1B[3~",meta:!1};M<=""&&!A.return&&(M=String.fromCharCode(M.charCodeAt(0)+"a".charCodeAt(0)-1),A.ctrl=!0),M.startsWith("\x1B")&&(M=M.slice(1),A.meta=!0);let T=M>="A"&&M<="Z",P=M>="\u0410"&&M<="\u042F";M.length===1&&(T||P)&&(A.shift=!0),A.tab&&M==="[Z"&&(A.shift=!0),(A.tab||A.backspace||A.delete)&&(M=""),(!(M==="c"&&A.ctrl)||!_)&&u(M,A)};return c==null||c.on("data",t),()=>{c==null||c.off("data",t)}},[l.isActive,c,_,u])};fv.default=T$});var yk=re(cv=>{"use strict";var C$=cv&&cv.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(cv,"__esModule",{value:!0});var x$=fi(),R$=C$(A8()),A$=()=>x$.useContext(R$.default);cv.default=A$});var gk=re(dv=>{"use strict";var k$=dv&&dv.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(dv,"__esModule",{value:!0});var O$=fi(),M$=k$(N8()),N$=()=>O$.useContext(M$.default);dv.default=N$});var _k=re(pv=>{"use strict";var F$=pv&&pv.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(pv,"__esModule",{value:!0});var L$=fi(),b$=F$(L8()),P$=()=>L$.useContext(b$.default);pv.default=P$});var Dk=re(vv=>{"use strict";var Ek=vv&&vv.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(vv,"__esModule",{value:!0});var hv=fi(),I$=Ek(Lg()),B$=Ek(Ug()),U$=({isActive:u=!0,autoFocus:l=!1}={})=>{let{isRawModeSupported:c,setRawMode:p}=B$.default(),{activeId:_,add:t,remove:O,activate:M,deactivate:A}=hv.useContext(I$.default),T=hv.useMemo(()=>Math.random().toString().slice(2,7),[]);return hv.useEffect(()=>(t(T,{autoFocus:l}),()=>{O(T)}),[T,l]),hv.useEffect(()=>{u?M(T):A(T)},[u,T]),hv.useEffect(()=>{if(!(!c||!u))return p(!0),()=>{p(!1)}},[u]),{isFocused:Boolean(T)&&_===T}};vv.default=U$});var wk=re(mv=>{"use strict";var j$=mv&&mv.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(mv,"__esModule",{value:!0});var z$=fi(),q$=j$(Lg()),H$=()=>{let u=z$.useContext(q$.default);return{enableFocus:u.enableFocus,disableFocus:u.disableFocus,focusNext:u.focusNext,focusPrevious:u.focusPrevious}};mv.default=H$});var Sk=re(z8=>{"use strict";Object.defineProperty(z8,"__esModule",{value:!0});z8.default=u=>{var l,c,p,_;return{width:(c=(l=u.yogaNode)===null||l===void 0?void 0:l.getComputedWidth())!==null&&c!==void 0?c:0,height:(_=(p=u.yogaNode)===null||p===void 0?void 0:p.getComputedHeight())!==null&&_!==void 0?_:0}}});var v1=re(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});var W$=ok();Object.defineProperty(Yo,"render",{enumerable:!0,get:function(){return W$.default}});var V$=bg();Object.defineProperty(Yo,"Box",{enumerable:!0,get:function(){return V$.default}});var G$=U8();Object.defineProperty(Yo,"Text",{enumerable:!0,get:function(){return G$.default}});var Y$=lk();Object.defineProperty(Yo,"Static",{enumerable:!0,get:function(){return Y$.default}});var K$=sk();Object.defineProperty(Yo,"Transform",{enumerable:!0,get:function(){return K$.default}});var X$=ck();Object.defineProperty(Yo,"Newline",{enumerable:!0,get:function(){return X$.default}});var Q$=hk();Object.defineProperty(Yo,"Spacer",{enumerable:!0,get:function(){return Q$.default}});var J$=mk();Object.defineProperty(Yo,"useInput",{enumerable:!0,get:function(){return J$.default}});var Z$=yk();Object.defineProperty(Yo,"useApp",{enumerable:!0,get:function(){return Z$.default}});var $$=Ug();Object.defineProperty(Yo,"useStdin",{enumerable:!0,get:function(){return $$.default}});var eee=gk();Object.defineProperty(Yo,"useStdout",{enumerable:!0,get:function(){return eee.default}});var tee=_k();Object.defineProperty(Yo,"useStderr",{enumerable:!0,get:function(){return tee.default}});var nee=Dk();Object.defineProperty(Yo,"useFocus",{enumerable:!0,get:function(){return nee.default}});var ree=wk();Object.defineProperty(Yo,"useFocusManager",{enumerable:!0,get:function(){return ree.default}});var iee=Sk();Object.defineProperty(Yo,"measureElement",{enumerable:!0,get:function(){return iee.default}})});var aee={};gS(aee,{default:()=>lee,versionUtils:()=>H2});var W8=Kn("@yarnpkg/core");var Vy=Kn("@yarnpkg/cli"),W2=Kn("@yarnpkg/core"),Gy=Kn("@yarnpkg/core"),dc=Kn("clipanion");var H2={};gS(H2,{Decision:()=>z2,applyPrerelease:()=>x5,applyReleases:()=>bD,applyStrategy:()=>Wy,clearVersionFiles:()=>ND,fetchBase:()=>wK,fetchChangedFiles:()=>TK,fetchRoot:()=>SK,getUndecidedDependentWorkspaces:()=>_h,getUndecidedWorkspaces:()=>Hy,openVersionFile:()=>q2,requireMoreDecisions:()=>xK,resolveVersionFiles:()=>gh,suggestStrategy:()=>LD,updateVersionFiles:()=>FD,validateReleaseDecision:()=>j2});var Zr=Kn("@yarnpkg/core"),Hi=Kn("@yarnpkg/fslib"),mf=Kn("@yarnpkg/parsers"),r1=Kn("@yarnpkg/plugin-git"),U2=Kn("clipanion"),C5=pu(T5()),Es=pu(Kn("semver")),wK=r1.gitUtils.fetchBase,SK=r1.gitUtils.fetchRoot,TK=r1.gitUtils.fetchChangedFiles,CK=/^(>=|[~^]|)(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$/,z2=(O=>(O.UNDECIDED="undecided",O.DECLINE="decline",O.MAJOR="major",O.MINOR="minor",O.PATCH="patch",O.PRERELEASE="prerelease",O))(z2||{});function j2(u){let l=Es.default.valid(u);return l||Zr.miscUtils.validateEnum((0,C5.default)(z2,"UNDECIDED"),u)}async function gh(u,{prerelease:l=null}={}){var t;let c=new Map,p=u.configuration.get("deferredVersionFolder");if(!Hi.xfs.existsSync(p))return c;let _=await Hi.xfs.readdirPromise(p);for(let O of _){if(!O.endsWith(".yml"))continue;let M=Hi.ppath.join(p,O),A=await Hi.xfs.readFilePromise(M,"utf8"),T=(0,mf.parseSyml)(A);for(let[P,U]of Object.entries(T.releases||{})){if(U==="decline")continue;let z=Zr.structUtils.parseIdent(P),Q=u.tryWorkspaceByIdent(z);if(Q===null)throw new Error(`Assertion failed: Expected a release definition file to only reference existing workspaces (${Hi.ppath.basename(M)} references ${P})`);if(Q.manifest.version===null)throw new Error(`Assertion failed: Expected the workspace to have a version (${Zr.structUtils.prettyLocator(u.configuration,Q.anchoredLocator)})`);let v=(t=Q.manifest.raw.stableVersion)!=null?t:Q.manifest.version,de=c.get(Q),ye=Wy(v,j2(U));if(ye===null)throw new Error(`Assertion failed: Expected ${v} to support being bumped via strategy ${U}`);let le=typeof de<"u"?Es.default.gt(ye,de)?ye:de:ye;c.set(Q,le)}}return l&&(c=new Map([...c].map(([O,M])=>[O,x5(M,{current:O.manifest.version,prerelease:l})]))),c}async function ND(u){let l=u.configuration.get("deferredVersionFolder");!Hi.xfs.existsSync(l)||await Hi.xfs.removePromise(l)}async function FD(u,l){let c=new Set(l),p=u.configuration.get("deferredVersionFolder");if(!Hi.xfs.existsSync(p))return;let _=await Hi.xfs.readdirPromise(p);for(let t of _){if(!t.endsWith(".yml"))continue;let O=Hi.ppath.join(p,t),M=await Hi.xfs.readFilePromise(O,"utf8"),A=(0,mf.parseSyml)(M),T=A==null?void 0:A.releases;if(!!T){for(let P of Object.keys(T)){let U=Zr.structUtils.parseIdent(P),z=u.tryWorkspaceByIdent(U);(z===null||c.has(z))&&delete A.releases[P]}Object.keys(A.releases).length>0?await Hi.xfs.changeFilePromise(O,(0,mf.stringifySyml)(new mf.stringifySyml.PreserveOrdering(A))):await Hi.xfs.unlinkPromise(O)}}}async function q2(u,{allowEmpty:l=!1}={}){let c=u.configuration;if(c.projectCwd===null)throw new U2.UsageError("This command can only be run from within a Yarn project");let p=await r1.gitUtils.fetchRoot(c.projectCwd),_=p!==null?await r1.gitUtils.fetchBase(p,{baseRefs:c.get("changesetBaseRefs")}):null,t=p!==null?await r1.gitUtils.fetchChangedFiles(p,{base:_.hash,project:u}):[],O=c.get("deferredVersionFolder"),M=t.filter(Q=>Hi.ppath.contains(O,Q)!==null);if(M.length>1)throw new U2.UsageError(`Your current branch contains multiple versioning files; this isn't supported: +- ${M.map(Q=>Hi.npath.fromPortablePath(Q)).join(` +- `)}`);let A=new Set(Zr.miscUtils.mapAndFilter(t,Q=>{let v=u.tryWorkspaceByFilePath(Q);return v===null?Zr.miscUtils.mapAndFilter.skip:v}));if(M.length===0&&A.size===0&&!l)return null;let T=M.length===1?M[0]:Hi.ppath.join(O,`${Zr.hashUtils.makeHash(Math.random().toString()).slice(0,8)}.yml`),P=Hi.xfs.existsSync(T)?await Hi.xfs.readFilePromise(T,"utf8"):"{}",U=(0,mf.parseSyml)(P),z=new Map;for(let Q of U.declined||[]){let v=Zr.structUtils.parseIdent(Q),de=u.getWorkspaceByIdent(v);z.set(de,"decline")}for(let[Q,v]of Object.entries(U.releases||{})){let de=Zr.structUtils.parseIdent(Q),ye=u.getWorkspaceByIdent(de);z.set(ye,j2(v))}return{project:u,root:p,baseHash:_!==null?_.hash:null,baseTitle:_!==null?_.title:null,changedFiles:new Set(t),changedWorkspaces:A,releaseRoots:new Set([...A].filter(Q=>Q.manifest.version!==null)),releases:z,async saveAll(){let Q={},v=[],de=[];for(let ye of u.workspaces){if(ye.manifest.version===null)continue;let le=Zr.structUtils.stringifyIdent(ye.locator),ae=z.get(ye);ae==="decline"?v.push(le):typeof ae<"u"?Q[le]=j2(ae):A.has(ye)&&de.push(le)}await Hi.xfs.mkdirPromise(Hi.ppath.dirname(T),{recursive:!0}),await Hi.xfs.changeFilePromise(T,(0,mf.stringifySyml)(new mf.stringifySyml.PreserveOrdering({releases:Object.keys(Q).length>0?Q:void 0,declined:v.length>0?v:void 0,undecided:de.length>0?de:void 0})))}}}function xK(u){return Hy(u).size>0||_h(u).length>0}function Hy(u){let l=new Set;for(let c of u.changedWorkspaces)c.manifest.version!==null&&(u.releases.has(c)||l.add(c));return l}function _h(u,{include:l=new Set}={}){let c=[],p=new Map(Zr.miscUtils.mapAndFilter([...u.releases],([t,O])=>O==="decline"?Zr.miscUtils.mapAndFilter.skip:[t.anchoredLocator.locatorHash,t])),_=new Map(Zr.miscUtils.mapAndFilter([...u.releases],([t,O])=>O!=="decline"?Zr.miscUtils.mapAndFilter.skip:[t.anchoredLocator.locatorHash,t]));for(let t of u.project.workspaces)if(!(!l.has(t)&&(_.has(t.anchoredLocator.locatorHash)||p.has(t.anchoredLocator.locatorHash)))&&t.manifest.version!==null)for(let O of Zr.Manifest.hardDependencies)for(let M of t.manifest.getForScope(O).values()){let A=u.project.tryWorkspaceByDescriptor(M);A!==null&&p.has(A.anchoredLocator.locatorHash)&&c.push([t,A])}return c}function LD(u,l){let c=Es.default.clean(l);for(let p of Object.values(z2))if(p!=="undecided"&&p!=="decline"&&Es.default.inc(u,p)===c)return p;return null}function Wy(u,l){if(Es.default.valid(l))return l;if(u===null)throw new U2.UsageError(`Cannot apply the release strategy "${l}" unless the workspace already has a valid version`);if(!Es.default.valid(u))throw new U2.UsageError(`Cannot apply the release strategy "${l}" on a non-semver version (${u})`);let c=Es.default.inc(u,l);if(c===null)throw new U2.UsageError(`Cannot apply the release strategy "${l}" on the specified version (${u})`);return c}function bD(u,l,{report:c}){let p=new Map;for(let _ of u.workspaces)for(let t of Zr.Manifest.allDependencies)for(let O of _.manifest[t].values()){let M=u.tryWorkspaceByDescriptor(O);if(M===null||!l.has(M))continue;Zr.miscUtils.getArrayWithDefault(p,M).push([_,t,O.identHash])}for(let[_,t]of l){let O=_.manifest.version;_.manifest.version=t,Es.default.prerelease(t)===null?delete _.manifest.raw.stableVersion:_.manifest.raw.stableVersion||(_.manifest.raw.stableVersion=O);let M=_.manifest.name!==null?Zr.structUtils.stringifyIdent(_.manifest.name):null;c.reportInfo(Zr.MessageName.UNNAMED,`${Zr.structUtils.prettyLocator(u.configuration,_.anchoredLocator)}: Bumped to ${t}`),c.reportJson({cwd:Hi.npath.fromPortablePath(_.cwd),ident:M,oldVersion:O,newVersion:t});let A=p.get(_);if(!(typeof A>"u"))for(let[T,P,U]of A){let z=T.manifest[P].get(U);if(typeof z>"u")throw new Error("Assertion failed: The dependency should have existed");let Q=z.range,v=!1;if(Q.startsWith(Zr.WorkspaceResolver.protocol)&&(Q=Q.slice(Zr.WorkspaceResolver.protocol.length),v=!0,Q===_.relativeCwd))continue;let de=Q.match(CK);if(!de){c.reportWarning(Zr.MessageName.UNNAMED,`Couldn't auto-upgrade range ${Q} (in ${Zr.structUtils.prettyLocator(u.configuration,T.anchoredLocator)})`);continue}let ye=`${de[1]}${t}`;v&&(ye=`${Zr.WorkspaceResolver.protocol}${ye}`);let le=Zr.structUtils.makeDescriptor(z,ye);T.manifest[P].set(U,le)}}}var RK=new Map([["%n",{extract:u=>u.length>=1?[u[0],u.slice(1)]:null,generate:(u=0)=>`${u+1}`}]]);function x5(u,{current:l,prerelease:c}){let p=new Es.default.SemVer(l),_=p.prerelease.slice(),t=[];p.prerelease=[],p.format()!==u&&(_.length=0);let O=!0,M=c.split(/\./g);for(let A of M){let T=RK.get(A);if(typeof T>"u")t.push(A),_[0]===A?_.shift():O=!1;else{let P=O?T.extract(_):null;P!==null&&typeof P[0]=="number"?(t.push(T.generate(P[0])),_=P[1]):(t.push(T.generate()),O=!1)}}return p.prerelease&&(p.prerelease=[]),`${u}-${t.join(".")}`}var i1=class extends Vy.BaseCommand{constructor(){super(...arguments);this.all=dc.Option.Boolean("--all",!1,{description:"Apply the deferred version changes on all workspaces"});this.dryRun=dc.Option.Boolean("--dry-run",!1,{description:"Print the versions without actually generating the package archive"});this.prerelease=dc.Option.String("--prerelease",{description:"Add a prerelease identifier to new versions",tolerateBoolean:!0});this.recursive=dc.Option.Boolean("-R,--recursive",{description:"Release the transitive workspaces as well"});this.json=dc.Option.Boolean("--json",!1,{description:"Format the output as an NDJSON stream"})}async execute(){let c=await W2.Configuration.find(this.context.cwd,this.context.plugins),{project:p,workspace:_}=await Gy.Project.find(c,this.context.cwd),t=await W2.Cache.find(c);if(!_)throw new Vy.WorkspaceRequiredError(p.cwd,this.context.cwd);return await p.restoreInstallState({restoreResolutions:!1}),(await Gy.StreamReport.start({configuration:c,json:this.json,stdout:this.context.stdout},async M=>{let A=this.prerelease?typeof this.prerelease!="boolean"?this.prerelease:"rc.%n":null,T=await gh(p,{prerelease:A}),P=new Map;if(this.all)P=T;else{let U=this.recursive?_.getRecursiveWorkspaceDependencies():[_];for(let z of U){let Q=T.get(z);typeof Q<"u"&&P.set(z,Q)}}if(P.size===0){let U=T.size>0?" Did you want to add --all?":"";M.reportWarning(W2.MessageName.UNNAMED,`The current workspace doesn't seem to require a version bump.${U}`);return}bD(p,P,{report:M}),this.dryRun||(A||(this.all?await ND(p):await FD(p,[...P.keys()])),M.reportSeparator(),await p.install({cache:t,report:M}))})).exitCode()}};i1.paths=[["version","apply"]],i1.usage=dc.Command.Usage({category:"Release-related commands",description:"apply all the deferred version bumps at once",details:` + This command will apply the deferred version changes and remove their definitions from the repository. + + Note that if \`--prerelease\` is set, the given prerelease identifier (by default \`rc.%d\`) will be used on all new versions and the version definitions will be kept as-is. + + By default only the current workspace will be bumped, but you can configure this behavior by using one of: + + - \`--recursive\` to also apply the version bump on its dependencies + - \`--all\` to apply the version bump on all packages in the repository + + Note that this command will also update the \`workspace:\` references across all your local workspaces, thus ensuring that they keep referring to the same workspaces even after the version bump. + `,examples:[["Apply the version change to the local workspace","yarn version apply"],["Apply the version change to all the workspaces in the local workspace","yarn version apply --all"]]});var yv=Kn("@yarnpkg/cli"),Vi=Kn("@yarnpkg/core"),Va=Kn("@yarnpkg/fslib");var Tk=pu(v1()),m1=pu(fi()),Ck=(0,m1.memo)(({active:u})=>{let l=(0,m1.useMemo)(()=>u?"\u25C9":"\u25EF",[u]),c=(0,m1.useMemo)(()=>u?"green":"yellow",[u]);return m1.default.createElement(Tk.Text,{color:c},l)});var gc=pu(v1()),el=pu(fi());var xk=pu(v1()),jg=pu(fi());function ud({active:u},l,c){let{stdin:p}=(0,xk.useStdin)(),_=(0,jg.useCallback)((t,O)=>l(t,O),c);(0,jg.useEffect)(()=>{if(!(!u||!p))return p.on("keypress",_),()=>{p.off("keypress",_)}},[u,_,p])}var Rk=function({active:u},l,c){ud({active:u},(p,_)=>{_.name==="tab"&&(_.shift?l("before"):l("after"))},c)};var zg=function(u,l,{active:c,minus:p,plus:_,set:t,loop:O=!0}){ud({active:c},(M,A)=>{let T=l.indexOf(u);switch(A.name){case p:{let P=T-1;if(O){t(l[(l.length+P)%l.length]);return}if(P<0)return;t(l[P])}break;case _:{let P=T+1;if(O){t(l[P%l.length]);return}if(P>=l.length)return;t(l[P])}break}},[l,u,_,t,O])};var q8=({active:u=!0,children:l=[],radius:c=10,size:p=1,loop:_=!0,onFocusRequest:t,willReachEnd:O})=>{let M=ye=>{if(ye.key===null)throw new Error("Expected all children to have a key");return ye.key},A=el.default.Children.map(l,ye=>M(ye)),T=A[0],[P,U]=(0,el.useState)(T),z=A.indexOf(P);(0,el.useEffect)(()=>{A.includes(P)||U(T)},[l]),(0,el.useEffect)(()=>{O&&z>=A.length-2&&O()},[z]),Rk({active:u&&!!t},ye=>{t==null||t(ye)},[t]),zg(P,A,{active:u,minus:"up",plus:"down",set:U,loop:_});let Q=z-c,v=z+c;v>A.length&&(Q-=v-A.length,v=A.length),Q<0&&(v+=-Q,Q=0),v>=A.length&&(v=A.length-1);let de=[];for(let ye=Q;ye<=v;++ye){let le=A[ye],ae=u&&le===P;de.push(el.default.createElement(gc.Box,{key:le,height:p},el.default.createElement(gc.Box,{marginLeft:1,marginRight:1},el.default.createElement(gc.Text,null,ae?el.default.createElement(gc.Text,{color:"cyan",bold:!0},">"):" ")),el.default.createElement(gc.Box,null,el.default.cloneElement(l[ye],{active:ae}))))}return el.default.createElement(gc.Box,{flexDirection:"column",width:"100%"},de)};var qg=pu(v1()),H8=pu(fi());var Ak=pu(v1()),Sf=pu(fi()),kk=Kn("readline"),oee=Sf.default.createContext(null),Ok=({children:u})=>{let{stdin:l,setRawMode:c}=(0,Ak.useStdin)();(0,Sf.useEffect)(()=>{c&&c(!0),l&&(0,kk.emitKeypressEvents)(l)},[l,c]);let[p,_]=(0,Sf.useState)(new Map),t=(0,Sf.useMemo)(()=>({getAll:()=>p,get:O=>p.get(O),set:(O,M)=>_(new Map([...p,[O,M]]))}),[p,_]);return Sf.default.createElement(oee.Provider,{value:t,children:u})};async function Mk(u,l,{stdin:c,stdout:p,stderr:_}={}){let t,O=A=>{let{exit:T}=(0,qg.useApp)();ud({active:!0},(P,U)=>{U.name==="return"&&(t=A,T())},[T,A])},{waitUntilExit:M}=(0,qg.render)(H8.default.createElement(Ok,null,H8.default.createElement(u,{...l,useSubmit:O})),{stdin:c,stdout:p,stderr:_});return await M(),t}var g1=Kn("clipanion"),qn=pu(v1()),$t=pu(fi()),Hg=pu(Kn("semver"));var y1=class extends yv.BaseCommand{constructor(){super(...arguments);this.interactive=g1.Option.Boolean("-i,--interactive",{description:"Open an interactive interface used to set version bumps"})}async execute(){return this.interactive?await this.executeInteractive():await this.executeStandard()}async executeInteractive(){let c=await Vi.Configuration.find(this.context.cwd,this.context.plugins),{project:p,workspace:_}=await Vi.Project.find(c,this.context.cwd);if(!_)throw new yv.WorkspaceRequiredError(p.cwd,this.context.cwd);await p.restoreInstallState();let t=await q2(p);if(t===null||t.releaseRoots.size===0)return 0;if(t.root===null)throw new g1.UsageError("This command can only be run on Git repositories");let O=()=>$t.default.createElement(qn.Box,{flexDirection:"row",paddingBottom:1},$t.default.createElement(qn.Box,{flexDirection:"column",width:60},$t.default.createElement(qn.Box,null,$t.default.createElement(qn.Text,null,"Press ",$t.default.createElement(qn.Text,{bold:!0,color:"cyanBright"},""),"/",$t.default.createElement(qn.Text,{bold:!0,color:"cyanBright"},"")," to select workspaces.")),$t.default.createElement(qn.Box,null,$t.default.createElement(qn.Text,null,"Press ",$t.default.createElement(qn.Text,{bold:!0,color:"cyanBright"},""),"/",$t.default.createElement(qn.Text,{bold:!0,color:"cyanBright"},"")," to select release strategies."))),$t.default.createElement(qn.Box,{flexDirection:"column"},$t.default.createElement(qn.Box,{marginLeft:1},$t.default.createElement(qn.Text,null,"Press ",$t.default.createElement(qn.Text,{bold:!0,color:"cyanBright"},"")," to save.")),$t.default.createElement(qn.Box,{marginLeft:1},$t.default.createElement(qn.Text,null,"Press ",$t.default.createElement(qn.Text,{bold:!0,color:"cyanBright"},"")," to abort.")))),M=({workspace:Q,active:v,decision:de,setDecision:ye})=>{var fe;let le=(fe=Q.manifest.raw.stableVersion)!=null?fe:Q.manifest.version;if(le===null)throw new Error(`Assertion failed: The version should have been set (${Vi.structUtils.prettyLocator(c,Q.anchoredLocator)})`);if(Hg.default.prerelease(le)!==null)throw new Error(`Assertion failed: Prerelease identifiers shouldn't be found (${le})`);let ae=["undecided","decline","patch","minor","major"];zg(de,ae,{active:v,minus:"left",plus:"right",set:ye});let Me=de==="undecided"?$t.default.createElement(qn.Text,{color:"yellow"},le):de==="decline"?$t.default.createElement(qn.Text,{color:"green"},le):$t.default.createElement(qn.Text,null,$t.default.createElement(qn.Text,{color:"magenta"},le)," \u2192 ",$t.default.createElement(qn.Text,{color:"green"},Hg.default.valid(de)?de:Hg.default.inc(le,de)));return $t.default.createElement(qn.Box,{flexDirection:"column"},$t.default.createElement(qn.Box,null,$t.default.createElement(qn.Text,null,Vi.structUtils.prettyLocator(c,Q.anchoredLocator)," - ",Me)),$t.default.createElement(qn.Box,null,ae.map(pe=>$t.default.createElement(qn.Box,{key:pe,paddingLeft:2},$t.default.createElement(qn.Text,null,$t.default.createElement(Ck,{active:pe===de})," ",pe)))))},A=Q=>{let v=new Set(t.releaseRoots),de=new Map([...Q].filter(([ye])=>v.has(ye)));for(;;){let ye=_h({project:t.project,releases:de}),le=!1;if(ye.length>0){for(let[ae]of ye)if(!v.has(ae)){v.add(ae),le=!0;let Me=Q.get(ae);typeof Me<"u"&&de.set(ae,Me)}}if(!le)break}return{relevantWorkspaces:v,relevantReleases:de}},T=()=>{let[Q,v]=(0,$t.useState)(()=>new Map(t.releases)),de=(0,$t.useCallback)((ye,le)=>{let ae=new Map(Q);le!=="undecided"?ae.set(ye,le):ae.delete(ye);let{relevantReleases:Me}=A(ae);v(Me)},[Q,v]);return[Q,de]},P=({workspaces:Q,releases:v})=>{let de=[];de.push(`${Q.size} total`);let ye=0,le=0;for(let ae of Q){let Me=v.get(ae);typeof Me>"u"?le+=1:Me!=="decline"&&(ye+=1)}return de.push(`${ye} release${ye===1?"":"s"}`),de.push(`${le} remaining`),$t.default.createElement(qn.Text,{color:"yellow"},de.join(", "))},z=await Mk(({useSubmit:Q})=>{let[v,de]=T();Q(v);let{relevantWorkspaces:ye}=A(v),le=new Set([...ye].filter(pe=>!t.releaseRoots.has(pe))),[ae,Me]=(0,$t.useState)(0),fe=(0,$t.useCallback)(pe=>{switch(pe){case"before":Me(ae-1);break;case"after":Me(ae+1);break}},[ae,Me]);return $t.default.createElement(qn.Box,{flexDirection:"column"},$t.default.createElement(O,null),$t.default.createElement(qn.Box,null,$t.default.createElement(qn.Text,{wrap:"wrap"},"The following files have been modified in your local checkout.")),$t.default.createElement(qn.Box,{flexDirection:"column",marginTop:1,paddingLeft:2},[...t.changedFiles].map(pe=>$t.default.createElement(qn.Box,{key:pe},$t.default.createElement(qn.Text,null,$t.default.createElement(qn.Text,{color:"grey"},Va.npath.fromPortablePath(t.root)),Va.npath.sep,Va.npath.relative(Va.npath.fromPortablePath(t.root),Va.npath.fromPortablePath(pe)))))),t.releaseRoots.size>0&&$t.default.createElement($t.default.Fragment,null,$t.default.createElement(qn.Box,{marginTop:1},$t.default.createElement(qn.Text,{wrap:"wrap"},"Because of those files having been modified, the following workspaces may need to be released again (note that private workspaces are also shown here, because even though they won't be published, releasing them will allow us to flag their dependents for potential re-release):")),le.size>3?$t.default.createElement(qn.Box,{marginTop:1},$t.default.createElement(P,{workspaces:t.releaseRoots,releases:v})):null,$t.default.createElement(qn.Box,{marginTop:1,flexDirection:"column"},$t.default.createElement(q8,{active:ae%2===0,radius:1,size:2,onFocusRequest:fe},[...t.releaseRoots].map(pe=>$t.default.createElement(M,{key:pe.cwd,workspace:pe,decision:v.get(pe)||"undecided",setDecision:Z=>de(pe,Z)}))))),le.size>0?$t.default.createElement($t.default.Fragment,null,$t.default.createElement(qn.Box,{marginTop:1},$t.default.createElement(qn.Text,{wrap:"wrap"},"The following workspaces depend on other workspaces that have been marked for release, and thus may need to be released as well:")),$t.default.createElement(qn.Box,null,$t.default.createElement(qn.Text,null,"(Press ",$t.default.createElement(qn.Text,{bold:!0,color:"cyanBright"},"")," to move the focus between the workspace groups.)")),le.size>5?$t.default.createElement(qn.Box,{marginTop:1},$t.default.createElement(P,{workspaces:le,releases:v})):null,$t.default.createElement(qn.Box,{marginTop:1,flexDirection:"column"},$t.default.createElement(q8,{active:ae%2===1,radius:2,size:2,onFocusRequest:fe},[...le].map(pe=>$t.default.createElement(M,{key:pe.cwd,workspace:pe,decision:v.get(pe)||"undecided",setDecision:Z=>de(pe,Z)}))))):null)},{versionFile:t},{stdin:this.context.stdin,stdout:this.context.stdout,stderr:this.context.stderr});if(typeof z>"u")return 1;t.releases.clear();for(let[Q,v]of z)t.releases.set(Q,v);await t.saveAll()}async executeStandard(){let c=await Vi.Configuration.find(this.context.cwd,this.context.plugins),{project:p,workspace:_}=await Vi.Project.find(c,this.context.cwd);if(!_)throw new yv.WorkspaceRequiredError(p.cwd,this.context.cwd);return await p.restoreInstallState(),(await Vi.StreamReport.start({configuration:c,stdout:this.context.stdout},async O=>{let M=await q2(p);if(M===null||M.releaseRoots.size===0)return;if(M.root===null)throw new g1.UsageError("This command can only be run on Git repositories");if(O.reportInfo(Vi.MessageName.UNNAMED,`Your PR was started right after ${Vi.formatUtils.pretty(c,M.baseHash.slice(0,7),"yellow")} ${Vi.formatUtils.pretty(c,M.baseTitle,"magenta")}`),M.changedFiles.size>0){O.reportInfo(Vi.MessageName.UNNAMED,"You have changed the following files since then:"),O.reportSeparator();for(let z of M.changedFiles)O.reportInfo(null,`${Vi.formatUtils.pretty(c,Va.npath.fromPortablePath(M.root),"gray")}${Va.npath.sep}${Va.npath.relative(Va.npath.fromPortablePath(M.root),Va.npath.fromPortablePath(z))}`)}let A=!1,T=!1,P=Hy(M);if(P.size>0){A||O.reportSeparator();for(let z of P)O.reportError(Vi.MessageName.UNNAMED,`${Vi.structUtils.prettyLocator(c,z.anchoredLocator)} has been modified but doesn't have a release strategy attached`);A=!0}let U=_h(M);for(let[z,Q]of U)T||O.reportSeparator(),O.reportError(Vi.MessageName.UNNAMED,`${Vi.structUtils.prettyLocator(c,z.anchoredLocator)} doesn't have a release strategy attached, but depends on ${Vi.structUtils.prettyWorkspace(c,Q)} which is planned for release.`),T=!0;(A||T)&&(O.reportSeparator(),O.reportInfo(Vi.MessageName.UNNAMED,"This command detected that at least some workspaces have received modifications without explicit instructions as to how they had to be released (if needed)."),O.reportInfo(Vi.MessageName.UNNAMED,"To correct these errors, run `yarn version check --interactive` then follow the instructions."))})).exitCode()}};y1.paths=[["version","check"]],y1.usage=g1.Command.Usage({category:"Release-related commands",description:"check that all the relevant packages have been bumped",details:"\n **Warning:** This command currently requires Git.\n\n This command will check that all the packages covered by the files listed in argument have been properly bumped or declined to bump.\n\n In the case of a bump, the check will also cover transitive packages - meaning that should `Foo` be bumped, a package `Bar` depending on `Foo` will require a decision as to whether `Bar` will need to be bumped. This check doesn't cross packages that have declined to bump.\n\n In case no arguments are passed to the function, the list of modified files will be generated by comparing the HEAD against `master`.\n ",examples:[["Check whether the modified packages need a bump","yarn version check"]]});var Vg=Kn("@yarnpkg/cli"),Gg=Kn("@yarnpkg/core"),Cs=Kn("clipanion"),Wg=pu(Kn("semver"));var _1=class extends Vg.BaseCommand{constructor(){super(...arguments);this.deferred=Cs.Option.Boolean("-d,--deferred",{description:"Prepare the version to be bumped during the next release cycle"});this.immediate=Cs.Option.Boolean("-i,--immediate",{description:"Bump the version immediately"});this.strategy=Cs.Option.String()}async execute(){let c=await Gg.Configuration.find(this.context.cwd,this.context.plugins),{project:p,workspace:_}=await Gg.Project.find(c,this.context.cwd);if(!_)throw new Vg.WorkspaceRequiredError(p.cwd,this.context.cwd);let t=c.get("preferDeferredVersions");this.deferred&&(t=!0),this.immediate&&(t=!1);let O=Wg.default.valid(this.strategy),M=this.strategy==="decline",A;if(O)if(_.manifest.version!==null){let P=LD(_.manifest.version,this.strategy);P!==null?A=P:A=this.strategy}else A=this.strategy;else{let P=_.manifest.version;if(!M){if(P===null)throw new Cs.UsageError("Can't bump the version if there wasn't a version to begin with - use 0.0.0 as initial version then run the command again.");if(typeof P!="string"||!Wg.default.valid(P))throw new Cs.UsageError(`Can't bump the version (${P}) if it's not valid semver`)}A=j2(this.strategy)}if(!t){let U=(await gh(p)).get(_);if(typeof U<"u"&&A!=="decline"){let z=Wy(_.manifest.version,A);if(Wg.default.lt(z,U))throw new Cs.UsageError(`Can't bump the version to one that would be lower than the current deferred one (${U})`)}}let T=await q2(p,{allowEmpty:!0});return T.releases.set(_,A),await T.saveAll(),t?0:await this.cli.run(["version","apply"])}};_1.paths=[["version"]],_1.usage=Cs.Command.Usage({category:"Release-related commands",description:"apply a new version to the current package",details:"\n This command will bump the version number for the given package, following the specified strategy:\n\n - If `major`, the first number from the semver range will be increased (`X.0.0`).\n - If `minor`, the second number from the semver range will be increased (`0.X.0`).\n - If `patch`, the third number from the semver range will be increased (`0.0.X`).\n - If prefixed by `pre` (`premajor`, ...), a `-0` suffix will be set (`0.0.0-0`).\n - If `prerelease`, the suffix will be increased (`0.0.0-X`); the third number from the semver range will also be increased if there was no suffix in the previous version.\n - If `decline`, the nonce will be increased for `yarn version check` to pass without version bump.\n - If a valid semver range, it will be used as new version.\n - If unspecified, Yarn will ask you for guidance.\n\n For more information about the `--deferred` flag, consult our documentation (https://yarnpkg.com/features/release-workflow#deferred-versioning).\n ",examples:[["Immediately bump the version to the next major","yarn version major"],["Prepare the version to be bumped to the next major","yarn version major --deferred"]]});var uee={configuration:{deferredVersionFolder:{description:"Folder where are stored the versioning files",type:W8.SettingsType.ABSOLUTE_PATH,default:"./.yarn/versions"},preferDeferredVersions:{description:"If true, running `yarn version` will assume the `--deferred` flag unless `--immediate` is set",type:W8.SettingsType.BOOLEAN,default:!1}},commands:[i1,y1,_1]},lee=uee;return vU(aee);})(); +/* +object-assign +(c) Sindre Sorhus +@license MIT +*/ +/** @license React v0.0.0-experimental-51a3aa6af + * react-debug-tools.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +/** @license React v0.0.0-experimental-51a3aa6af + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +/** @license React v0.0.0-experimental-51a3aa6af + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +/** @license React v0.18.0 + * scheduler-tracing.development.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +/** @license React v0.18.0 + * scheduler-tracing.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +/** @license React v0.18.0 + * scheduler.development.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +/** @license React v0.18.0 + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +/** @license React v0.24.0 + * react-reconciler.development.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +/** @license React v0.24.0 + * react-reconciler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +/** @license React v16.13.1 + * react.development.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +/** @license React v16.13.1 + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ +return plugin; +} +}; diff --git a/.yarnrc.yml b/.yarnrc.yml index 1f1ec843e..f893d4424 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -3,5 +3,7 @@ nodeLinker: node-modules plugins: - path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs spec: "@yarnpkg/plugin-workspace-tools" + - path: .yarn/plugins/@yarnpkg/plugin-version.cjs + spec: "@yarnpkg/plugin-version" yarnPath: .yarn/releases/yarn-3.7.0.cjs diff --git a/CHANGELOG.md b/CHANGELOG.md index f0133d638..c7be3416f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,280 @@ # Changelog +## [v2.0.0](https://github.com/ral-facilities/datagateway/tree/v2.0.0) (2024-07-24) + +## What's Changed + +### Features + +* Create Dockerfile by @VKTB in https://github.com/ral-facilities/datagateway/pull/1187 +* Set React production variables for plugin build paths in Dockerfile by @VKTB in https://github.com/ral-facilities/datagateway/pull/1241 +* Docker build workflow should only run on pushes to K8S branch by @VKTB in https://github.com/ral-facilities/datagateway/pull/1237 +* Implement best practices in Docker image by @VKTB in https://github.com/ral-facilities/datagateway/pull/1284 +* Fix security vulnerabilities reverted by MUIv5 branch by @louise-davies in https://github.com/ral-facilities/datagateway/pull/1314 +* Configure Renovate by @renovate in https://github.com/ral-facilities/datagateway/pull/1313 +* Improve handling of undefined carts by @louise-davies in https://github.com/ral-facilities/datagateway/pull/1283 +* Adjust height calculations in various components by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1378 +* Migrate dg-download to `react-query` and `@testing-library` by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1352 +* Improving download e2e test to account for random ordering of downloads by @sam-glendenning in https://github.com/ral-facilities/datagateway/pull/1383 +* Use different settings.json file for running e2e in CI vs locally by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1388 +* Create CITATION.cff by @agbeltran in https://github.com/ral-facilities/datagateway/pull/1298 +* Use react query provided timestamps for download table last checked time by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1404 +* Fix details panel layout issue across mounts by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1384 +* Fix 'Date To' Filter in user download table by @jounaidr in https://github.com/ral-facilities/datagateway/pull/1412 +* Add a datafile previewer for previewing datafiles in-situ, implemented for .txt & .log by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1393 +* fix timestamps for Requested At columns in download tables by @jounaidr in https://github.com/ral-facilities/datagateway/pull/1414 +* Fixing renovate.json #1425 by @sam-glendenning in https://github.com/ral-facilities/datagateway/pull/1426 +* Updating yarn.lock to remove unnecessary package by @sam-glendenning in https://github.com/ral-facilities/datagateway/pull/1428 +* Fix incorrect study dates shown in ISIS study views with date filters by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1416 +* Add progress bar UI to download status tables to show download progress by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1371 +* Add label text for include/exclude filters to make them more explicit by @jounaidr in https://github.com/ral-facilities/datagateway/pull/1419 +* Authenticate locally with datagateway-api by @jounaidr in https://github.com/ral-facilities/datagateway/pull/1431 +* [Hotfix] attempting to fix failing download unit tests by @sam-glendenning in https://github.com/ral-facilities/datagateway/pull/1442 +* Migrate lerna to yarn workspaces by @jounaidr in https://github.com/ral-facilities/datagateway/pull/1434 +* Seconds added to DateTime Picker by @LunaBarrett in https://github.com/ral-facilities/datagateway/pull/1433 +* Misc fixes by @louise-davies in https://github.com/ral-facilities/datagateway/pull/1458 +* Ensure that datagateway tests will continue to work with new datagateway-api config by @Reillyhewitson in https://github.com/ral-facilities/datagateway/pull/1466 +* Disable checkboxes when parent entity is in cart by @jounaidr in https://github.com/ral-facilities/datagateway/pull/1497 +* Fix refresh button in user download table by @jounaidr in https://github.com/ral-facilities/datagateway/pull/1507 +* Bump node version in CI from v14 to v16 by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1513 +* Refactor docker-build workflow into a job in ci-build workflow by @VKTB in https://github.com/ral-facilities/datagateway/pull/1300 +* Bring k8s-deployment branch up to date and fix Docker build by @VKTB in https://github.com/ral-facilities/datagateway/pull/1516 +* Test/migrate generation script by @Reillyhewitson in https://github.com/ral-facilities/datagateway/pull/1501 +* Migrate every test to use testing-library by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1447 +* Docker image improvements by @VKTB in https://github.com/ral-facilities/datagateway/pull/1518 +* Update pinned version of DataGateway API on GitHub Actions by @MRichards99 in https://github.com/ral-facilities/datagateway/pull/1520 +* Shows loadings status when submitting download card in download confirm dialog by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1525 +* Use `investigationFacilityCycles` to determine the facility cycles an Investigation belongs to by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1415 +* Feature/use isis data publications #1464 by @jounaidr in https://github.com/ral-facilities/datagateway/pull/1514 +* Fix date-time filtering not working correctly in download table by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1534 +* Autocomplete Recent Searches by @MRichards99 in https://github.com/ral-facilities/datagateway/pull/1539 +* Feature/add exact filter #1540 by @kaperoo in https://github.com/ral-facilities/datagateway/pull/1574 +* Feature/download type status cache #1519 by @kaperoo in https://github.com/ral-facilities/datagateway/pull/1576 +* Improve e2e tests & fix sorting bug by @louise-davies in https://github.com/ral-facilities/datagateway/pull/1575 +* Fix Data Publications e2e Test by @MRichards99 in https://github.com/ral-facilities/datagateway/pull/1580 +* Fix double requests on default sort by @kaperoo in https://github.com/ral-facilities/datagateway/pull/1583 +* Feature/improve sorting ux #1541 by @kaperoo in https://github.com/ral-facilities/datagateway/pull/1578 +* Update node version on CI and use proper yarn cache by @louise-davies in https://github.com/ral-facilities/datagateway/pull/1591 +* Improve unit tests & fix text previewer styling by @louise-davies in https://github.com/ral-facilities/datagateway/pull/1594 +* Containerize application and configure GitHub Actions to build and push Docker image to Harbor by @VKTB in https://github.com/ral-facilities/datagateway/pull/1535 +* Add links to the corresponding entities for download selections by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1413 +* Mint custom datapublications #1529 #1531 by @louise-davies in https://github.com/ral-facilities/datagateway/pull/1537 +* Update dependency @testing-library/jest-dom to v5.17.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1607 +* simpler icat timestamps by @kaperoo in https://github.com/ral-facilities/datagateway/pull/1619 +* Migrate file size/count queries to use ICAT v5 properties for investigation/dataset entities by @jounaidr in https://github.com/ral-facilities/datagateway/pull/1499 +* Fix doi minting code by @louise-davies in https://github.com/ral-facilities/datagateway/pull/1646 +* Changes to docker image by @ajkyffin in https://github.com/ral-facilities/datagateway/pull/1645 +* Implement new ISIS data publication hierarchy #1528 by @louise-davies in https://github.com/ral-facilities/datagateway/pull/1648 +* Update release workflow by @louise-davies in https://github.com/ral-facilities/datagateway/pull/1660 +* Lucene search UI changes by @kennethnym in https://github.com/ral-facilities/datagateway/pull/1401 + +### Dependencies + +* Organise dev and prod dependencies by @VKTB in https://github.com/ral-facilities/datagateway/pull/1171 +* Bump jsrsasign from 10.5.8 to 10.5.25 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1301 +* React 17 and MUIv5 upgrade #830 #1096 by @joelvdavies in https://github.com/ral-facilities/datagateway/pull/1129 +* Pin dependencies by @renovate in https://github.com/ral-facilities/datagateway/pull/1317 +* Update dependency cypress to v9.7.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1320 +* Update dependency @types/jest to v27.5.2 by @renovate in https://github.com/ral-facilities/datagateway/pull/1318 +* Update dependency eslint-config-prettier to v8.5.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1323 +* Update dependency eslint to v8.19.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1322 +* Update dependency axios to v0.27.2 by @renovate in https://github.com/ral-facilities/datagateway/pull/1319 +* Update dependency date-fns-tz to v1.3.5 by @renovate in https://github.com/ral-facilities/datagateway/pull/1321 +* Update dependency eslint-plugin-prettier to v3.4.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1325 +* Update dependency express to v4.18.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1326 +* Update dependency i18next-http-backend to v1.4.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1329 +* Update dependency single-spa-react to v4.6.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1335 +* Update emotion monorepo to v11.9.3 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1338 +* Update dependency tslib to v2.4.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1336 +* Update actions/cache action to v3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1341 +* Update actions/checkout action to v3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1342 +* Update typescript-eslint monorepo to v5.30.6 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1340 +* Update dependency cypress-failed-log to v2.10.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1324 +* Update dependency redux to v4.2.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1334 +* Update actions/setup-node action to v3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1345 +* Update actions/setup-python action to v4 by @renovate in https://github.com/ral-facilities/datagateway/pull/1346 +* Update actions/setup-java action to v3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1344 +* Update dependency react-query to v3.39.2 by @renovate in https://github.com/ral-facilities/datagateway/pull/1333 +* Update dependency eslint to v8.20.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1343 +* Update dependency @testing-library/react-hooks to v8 by @renovate in https://github.com/ral-facilities/datagateway/pull/1351 +* Update actions/upload-artifact action to v3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1347 +* Update codecov/codecov-action action to v3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1348 +* Update dependency @date-io/date-fns to v2 by @renovate in https://github.com/ral-facilities/datagateway/pull/1349 +* Update dependency @types/jsrsasign to v10 by @renovate in https://github.com/ral-facilities/datagateway/pull/1354 +* Update dependency @welldone-software/why-did-you-render to v7 by @renovate in https://github.com/ral-facilities/datagateway/pull/1358 +* Update dependency eslint-plugin-prettier to v4 by @renovate in https://github.com/ral-facilities/datagateway/pull/1360 +* Update dependency husky to v8 by @renovate in https://github.com/ral-facilities/datagateway/pull/1366 +* Update dependency i18next to v21.8.14 by @renovate in https://github.com/ral-facilities/datagateway/pull/1327 +* Update dependency date-fns to v2.29.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1357 +* Update dependency lint-staged to v13 by @renovate in https://github.com/ral-facilities/datagateway/pull/1372 +* Update dependency react-i18next to v11.18.3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1332 +* Update dependency lerna to v5 by @renovate in https://github.com/ral-facilities/datagateway/pull/1369 +* Update typescript-eslint monorepo to v5.31.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1364 +* Update emotion monorepo to v11.10.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1380 +* Update typescript-eslint monorepo to v5.32.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1381 +* Update dependency serve to v14 by @renovate in https://github.com/ral-facilities/datagateway/pull/1382 +* Update dependency @testing-library/user-event to v14.4.2 by @renovate in https://github.com/ral-facilities/datagateway/pull/1385 +* Update dependency typescript to v4.7.4 by @renovate in https://github.com/ral-facilities/datagateway/pull/1337 +* Update material-ui monorepo to v5.8.4 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1339 +* Update dependency @date-io/date-fns to v2.15.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1391 +* Update dependency eslint to v8.22.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1379 +* Update dependency prettier to v2.7.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1330 +* Update dependency lerna to v5.4.3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1387 +* Update dependency i18next to v21.9.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1386 +* Update dependency eslint to v8.23.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1405 +* Update dependency lerna to v5.5.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1407 +* Update dependency @mui/icons-material to v5.10.3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1396 +* Pin dependencies by @renovate in https://github.com/ral-facilities/datagateway/pull/1417 +* Update dependency @types/jest to v29 by @renovate in https://github.com/ral-facilities/datagateway/pull/1406 +* Update typescript-eslint monorepo to v5.38.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1389 +* Update dependency @date-io/date-fns to v2.16.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1420 +* Update dependency eslint to v8.24.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1421 +* Update typescript-eslint monorepo to v5.39.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1430 +* Update dependency react-redux to v8 by @renovate in https://github.com/ral-facilities/datagateway/pull/1375 +* Update dependency i18next to v21.10.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1435 +* Update dependency @types/jest to v29.1.2 by @renovate in https://github.com/ral-facilities/datagateway/pull/1429 +* Update dependency eslint to v8.25.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1437 +* Update dependency eslint to v8.26.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1448 +* Update typescript-eslint monorepo to v5.41.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1439 +* Update dependency react-i18next to v12 by @renovate in https://github.com/ral-facilities/datagateway/pull/1446 +* Update dependency i18next-http-backend to v2 by @renovate in https://github.com/ral-facilities/datagateway/pull/1451 +* Update dependency i18next-browser-languagedetector to v7 by @renovate in https://github.com/ral-facilities/datagateway/pull/1450 +* Update dependency typescript to v4.8.4 by @renovate in https://github.com/ral-facilities/datagateway/pull/1403 +* Update dependency i18next to v22 by @renovate in https://github.com/ral-facilities/datagateway/pull/1444 +* Update dependency @types/node to v18 by @renovate in https://github.com/ral-facilities/datagateway/pull/1449 +* Update typescript-eslint monorepo to v5.42.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1452 +* Update dependency @types/jest to v29.2.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1443 +* Bump loader-utils from 1.4.0 to 1.4.1 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1455 +* Update dependency eslint to v8.27.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1456 +* Update dependency jsrsasign to v10.6.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1454 +* Update dependency serve to v14.1.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1460 +* Fix security alerts by @louise-davies in https://github.com/ral-facilities/datagateway/pull/1465 +* Update Yarn to v3.3.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1469 +* Update typescript-eslint monorepo to v5.43.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1467 +* Update dependency @craco/craco to v7 by @renovate in https://github.com/ral-facilities/datagateway/pull/1461 +* Update dependency eslint to v8.28.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1470 +* Update typescript-eslint monorepo to v5.44.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1474 +* Update dependency prettier to v2.8.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1475 +* Upgrading to Cypress v11 #1427 by @sam-glendenning in https://github.com/ral-facilities/datagateway/pull/1476 +* Bump decode-uri-component from 0.2.0 to 0.2.2 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1478 +* Update typescript-eslint monorepo to v5.45.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1477 +* Update dependency eslint to v8.29.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1479 +* Bump qs from 6.5.2 to 6.5.3 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1480 +* Bumping @mui/x-date-pickers to v5.0.9 by @sam-glendenning in https://github.com/ral-facilities/datagateway/pull/1481 +* Update dependency typescript to v4.9.3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1468 +* Update dependency lint-staged to v13.1.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1482 +* Lock file maintenance by @renovate in https://github.com/ral-facilities/datagateway/pull/1394 +* Update dependency start-server-and-test to v1.15.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1483 +* Lock file maintenance by @renovate in https://github.com/ral-facilities/datagateway/pull/1487 +* Update dependency react-i18next to v12.1.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1484 +* Update dependency i18next-http-backend to v2.1.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1488 +* Update material-ui monorepo to v5.11.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1489 +* Lock file maintenance by @renovate in https://github.com/ral-facilities/datagateway/pull/1490 +* Update dependency eslint-config-prettier to v8.6.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1495 +* Bump json5 from 1.0.1 to 1.0.2 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1496 +* Update dependency eslint to v8.32.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1494 +* Update typescript-eslint monorepo to v5.48.2 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1491 +* Lock file maintenance by @renovate in https://github.com/ral-facilities/datagateway/pull/1492 +* Lock file maintenance by @renovate in https://github.com/ral-facilities/datagateway/pull/1506 +* Update dependency @types/jest to v29.4.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1504 +* Update dependency serve to v14.2.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1503 +* Update typescript-eslint monorepo to v5.49.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1502 +* Bump webpack from 5.75.0 to 5.76.1 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1517 +* Pin dependencies by @renovate in https://github.com/ral-facilities/datagateway/pull/1536 +* Update dependency eslint to v8.43.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1508 +* Update dependency tslib to v2.5.3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1505 +* Update typescript-eslint monorepo to v5.60.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1510 +* Update dependency date-fns-tz to v2 by @renovate in https://github.com/ral-facilities/datagateway/pull/1509 +* Update Yarn to v3.6.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1511 +* Replace dependency babel-eslint with @babel/eslint-parser 7.11.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1542 +* Update dependency @craco/craco to v7.1.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1545 +* Update actions/checkout digest to c85c95e by @renovate in https://github.com/ral-facilities/datagateway/pull/1544 +* Update dependency @babel/eslint-parser to v7.22.5 by @renovate in https://github.com/ral-facilities/datagateway/pull/1546 +* Update dependency @types/jest to v29.5.2 by @renovate in https://github.com/ral-facilities/datagateway/pull/1548 +* Update dependency date-fns to v2.30.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1549 +* Update dependency eslint-config-prettier to v8.8.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1550 +* Update dependency eslint-plugin-cypress to v2.13.3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1551 +* Update dependency i18next-browser-languagedetector to v7.1.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1552 +* Update dependency @types/node to v18.16.18 by @renovate in https://github.com/ral-facilities/datagateway/pull/1515 +* Update dependency jsrsasign to v10.8.6 by @renovate in https://github.com/ral-facilities/datagateway/pull/1554 +* Update dependency react-i18next to v12.3.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1556 +* Update dependency i18next-http-backend to v2.2.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1553 +* Update dependency lint-staged to v13.2.3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1555 +* Update emotion monorepo (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1561 +* Update dependency tslib to v2.6.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1558 +* Update dependency eslint to v8.44.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1559 +* Update dependency start-server-and-test to v2 by @renovate in https://github.com/ral-facilities/datagateway/pull/1566 +* Update actions/setup-node digest to e33196f by @renovate in https://github.com/ral-facilities/datagateway/pull/1568 +* Update typescript-eslint monorepo to v5.61.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1569 +* Bump semver from 6.3.0 to 6.3.1 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1571 +* Update dependency url-search-params-polyfill to v8.2.4 by @renovate in https://github.com/ral-facilities/datagateway/pull/1560 +* Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1573 +* Bump @adobe/css-tools from 4.1.0 to 4.3.1 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1577 +* Update dependency @mui/x-date-pickers to v6 by @renovate in https://github.com/ral-facilities/datagateway/pull/1562 +* Bump @babel/traverse from 7.20.13 to 7.23.2 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1585 +* Update actions/checkout digest to f43a0e5 by @renovate in https://github.com/ral-facilities/datagateway/pull/1579 +* Update actions/setup-java digest to 0ab4596 by @renovate in https://github.com/ral-facilities/datagateway/pull/1587 +* Update dependency axios to v1 [SECURITY] by @renovate in https://github.com/ral-facilities/datagateway/pull/1593 +* Bump axios from 1.6.0 to 1.6.1 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1595 +* Bump @adobe/css-tools from 4.3.1 to 4.3.2 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1598 +* Update actions/setup-node digest to 1a4442c by @renovate in https://github.com/ral-facilities/datagateway/pull/1588 +* Update actions/setup-python digest to 65d7f2d by @renovate in https://github.com/ral-facilities/datagateway/pull/1589 +* Update actions/upload-artifact digest to a8a3f3a by @renovate in https://github.com/ral-facilities/datagateway/pull/1590 +* Bump follow-redirects from 1.15.3 to 1.15.5 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1601 +* Update actions/checkout digest to f43a0e5 by @renovate in https://github.com/ral-facilities/datagateway/pull/1599 +* Update richardsimko/update-tag digest to e173a8e by @renovate in https://github.com/ral-facilities/datagateway/pull/1602 +* Update dependency @date-io/date-fns to v2.17.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1606 +* Update dependency react-redux to v8.1.3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1557 +* Update dependency jsrsasign to v11 [SECURITY] by @renovate in https://github.com/ral-facilities/datagateway/pull/1609 +* Update dependency @babel/eslint-parser to v7.23.3 by @renovate in https://github.com/ral-facilities/datagateway/pull/1604 +* Update dependency @testing-library/user-event to v14.5.2 by @renovate in https://github.com/ral-facilities/datagateway/pull/1610 +* Update dependency @types/node to v18.19.8 by @renovate in https://github.com/ral-facilities/datagateway/pull/1612 +* Update dependency eslint to v8.56.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1613 +* Update Yarn to v3.7.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1603 +* Update dependency eslint-config-prettier to v8.10.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1614 +* Update dependency i18next-browser-languagedetector to v7.2.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1616 +* Update dependency lint-staged to v13.3.0 - autoclosed by @renovate in https://github.com/ral-facilities/datagateway/pull/1618 +* Update dependency i18next-http-backend to v2.4.2 by @renovate in https://github.com/ral-facilities/datagateway/pull/1617 +* Update dependency eslint-plugin-cypress to v2.15.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1615 +* Update docker/build-push-action action to v4.2.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1620 +* Update docker/login-action action to v2.2.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1621 +* Update docker/metadata-action action to v4.6.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1622 +* Update typescript-eslint monorepo to v5.62.0 (minor) by @renovate in https://github.com/ral-facilities/datagateway/pull/1623 +* Update Node.js to v20.11.0 by @renovate in https://github.com/ral-facilities/datagateway/pull/1624 +* Update codecov/codecov-action digest to 4fe8c5f by @renovate in https://github.com/ral-facilities/datagateway/pull/1625 +* Update actions/checkout action to v4 by @renovate in https://github.com/ral-facilities/datagateway/pull/1627 +* Update actions/setup-java action to v4 by @renovate in https://github.com/ral-facilities/datagateway/pull/1628 +* Update actions/setup-node action to v4 by @renovate in https://github.com/ral-facilities/datagateway/pull/1629 +* Update actions/setup-python action to v5 by @renovate in https://github.com/ral-facilities/datagateway/pull/1630 +* Update actions/upload-artifact action to v4 by @renovate in https://github.com/ral-facilities/datagateway/pull/1631 +* Update dependency @testing-library/jest-dom to v6 by @renovate in https://github.com/ral-facilities/datagateway/pull/1633 +* Update dependency loglevel to v1.9.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1634 +* Update codecov/codecov-action digest to ab904c4 by @renovate in https://github.com/ral-facilities/datagateway/pull/1636 +* Update codecov/codecov-action action to v4 by @renovate in https://github.com/ral-facilities/datagateway/pull/1638 +* Update dependency @testing-library/jest-dom to v6.4.1 by @renovate in https://github.com/ral-facilities/datagateway/pull/1637 +* Update actions/upload-artifact digest to 5d5d22a by @renovate in https://github.com/ral-facilities/datagateway/pull/1642 +* Update dependency typescript to v5 by @renovate in https://github.com/ral-facilities/datagateway/pull/1567 +* Update dependency cypress to v13 by @renovate in https://github.com/ral-facilities/datagateway/pull/1639 +* Update Node.js to 8765147 by @renovate in https://github.com/ral-facilities/datagateway/pull/1653 +* Bump ip from 2.0.0 to 2.0.1 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1650 +* Bump follow-redirects from 1.15.5 to 1.15.6 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1651 +* Bump webpack-dev-middleware from 5.3.3 to 5.3.4 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1652 +* Bump express from 4.18.1 to 4.19.2 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1654 +* Bump tar from 6.1.13 to 6.2.1 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1656 +* Bump ws from 7.5.9 to 7.5.10 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1659 +* Bump braces from 3.0.2 to 3.0.3 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1658 +* Bump ejs from 3.1.8 to 3.1.10 by @dependabot in https://github.com/ral-facilities/datagateway/pull/1657 + +## New Contributors + +* @renovate made their first contribution in https://github.com/ral-facilities/datagateway/pull/1313 +* @kennethnym made their first contribution in https://github.com/ral-facilities/datagateway/pull/1378 +* @jounaidr made their first contribution in https://github.com/ral-facilities/datagateway/pull/1412 +* @Reillyhewitson made their first contribution in https://github.com/ral-facilities/datagateway/pull/1466 +* @kaperoo made their first contribution in https://github.com/ral-facilities/datagateway/pull/1574 + +**Full Changelog**: https://github.com/ral-facilities/datagateway/compare/v1.1.3...v2.0.0 + ## [v1.1.3](https://github.com/ral-facilities/datagateway/tree/v1.1.3) (2024-02-02) [Full Changelog](https://github.com/ral-facilities/datagateway/compare/v1.1.2...v1.1.3) diff --git a/package.json b/package.json index df8e2e761..b9cc98b6b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "datagateway", "private": true, - "version": "1.1.3", + "version": "2.0.0", "workspaces": [ "packages/*" ], diff --git a/packages/datagateway-common/package.json b/packages/datagateway-common/package.json index bf8f05482..495335337 100644 --- a/packages/datagateway-common/package.json +++ b/packages/datagateway-common/package.json @@ -1,6 +1,6 @@ { "name": "datagateway-common", - "version": "1.1.3", + "version": "2.0.0", "private": true, "files": [ "lib" diff --git a/packages/datagateway-dataview/package.json b/packages/datagateway-dataview/package.json index dbeb9ac54..57fb99474 100644 --- a/packages/datagateway-dataview/package.json +++ b/packages/datagateway-dataview/package.json @@ -1,6 +1,6 @@ { "name": "datagateway-dataview", - "version": "1.1.3", + "version": "2.0.0", "private": true, "dependencies": { "@craco/craco": "7.1.0", @@ -22,7 +22,7 @@ "axios": "1.6.1", "connected-react-router": "6.9.1", "custom-event-polyfill": "1.0.7", - "datagateway-common": "^1.1.3", + "datagateway-common": "^2.0.0", "date-fns": "2.30.0", "eslint-config-prettier": "8.10.0", "eslint-plugin-cypress": "2.15.1", diff --git a/packages/datagateway-download/package.json b/packages/datagateway-download/package.json index 0e1baf277..ae990531e 100644 --- a/packages/datagateway-download/package.json +++ b/packages/datagateway-download/package.json @@ -1,6 +1,6 @@ { "name": "datagateway-download", - "version": "1.1.3", + "version": "2.0.0", "private": true, "dependencies": { "@craco/craco": "7.1.0", @@ -17,7 +17,7 @@ "@types/react-router-dom": "5.3.3", "@types/react-virtualized": "9.21.10", "axios": "1.6.1", - "datagateway-common": "^1.1.3", + "datagateway-common": "^2.0.0", "date-fns": "2.30.0", "date-fns-tz": "2.0.0", "eslint-config-prettier": "8.10.0", diff --git a/packages/datagateway-search/package.json b/packages/datagateway-search/package.json index 506f696ec..fe086b12b 100644 --- a/packages/datagateway-search/package.json +++ b/packages/datagateway-search/package.json @@ -1,6 +1,6 @@ { "name": "datagateway-search", - "version": "1.1.3", + "version": "2.0.0", "private": true, "dependencies": { "@craco/craco": "7.1.0", @@ -23,7 +23,7 @@ "axios": "1.6.1", "connected-react-router": "6.9.1", "custom-event-polyfill": "1.0.7", - "datagateway-common": "^1.1.3", + "datagateway-common": "^2.0.0", "date-fns": "2.30.0", "eslint-config-prettier": "8.10.0", "eslint-plugin-cypress": "2.15.1", diff --git a/yarn.lock b/yarn.lock index 2fc284304..154a1212a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6344,7 +6344,7 @@ __metadata: languageName: node linkType: hard -"datagateway-common@^1.1.3, datagateway-common@workspace:packages/datagateway-common": +"datagateway-common@^2.0.0, datagateway-common@workspace:packages/datagateway-common": version: 0.0.0-use.local resolution: "datagateway-common@workspace:packages/datagateway-common" dependencies: @@ -6444,7 +6444,7 @@ __metadata: custom-event-polyfill: 1.0.7 cypress: 13.6.4 cypress-failed-log: 2.10.0 - datagateway-common: ^1.1.3 + datagateway-common: ^2.0.0 date-fns: 2.30.0 eslint: 8.56.0 eslint-config-prettier: 8.10.0 @@ -6513,7 +6513,7 @@ __metadata: cross-env: 7.0.3 cypress: 13.6.4 cypress-failed-log: 2.10.0 - datagateway-common: ^1.1.3 + datagateway-common: ^2.0.0 date-fns: 2.30.0 date-fns-tz: 2.0.0 eslint: 8.56.0 @@ -6584,7 +6584,7 @@ __metadata: custom-event-polyfill: 1.0.7 cypress: 13.6.4 cypress-failed-log: 2.10.0 - datagateway-common: ^1.1.3 + datagateway-common: ^2.0.0 date-fns: 2.30.0 eslint: 8.56.0 eslint-config-prettier: 8.10.0