Archived
0
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
library/.yarn/plugins/@yarnpkg/plugin-version.cjs

367 lines
828 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* eslint-disable */
//prettier-ignore
module.exports = {
name: "@yarnpkg/plugin-version",
factory: function (require) {
var plugin=(()=>{var cF=Object.create,L2=Object.defineProperty,aF=Object.defineProperties,dF=Object.getOwnPropertyDescriptor,pF=Object.getOwnPropertyDescriptors,hF=Object.getOwnPropertyNames,Gw=Object.getOwnPropertySymbols,mF=Object.getPrototypeOf,bw=Object.prototype.hasOwnProperty,vF=Object.prototype.propertyIsEnumerable;var Yw=(o,u,c)=>u in o?L2(o,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):o[u]=c,Qr=(o,u)=>{for(var c in u||(u={}))bw.call(u,c)&&Yw(o,c,u[c]);if(Gw)for(var c of Gw(u))vF.call(u,c)&&Yw(o,c,u[c]);return o},ns=(o,u)=>aF(o,pF(u)),gF=o=>L2(o,"__esModule",{value:!0});var et=(o,u)=>()=>(u||o((u={exports:{}}).exports,u),u.exports),$w=(o,u)=>{for(var c in u)L2(o,c,{get:u[c],enumerable:!0})},_F=(o,u,c)=>{if(u&&typeof u=="object"||typeof u=="function")for(let d of hF(u))!bw.call(o,d)&&d!=="default"&&L2(o,d,{get:()=>u[d],enumerable:!(c=dF(u,d))||c.enumerable});return o},dr=o=>_F(gF(L2(o!=null?cF(mF(o)):{},"default",o&&o.__esModule&&"default"in o?{get:()=>o.default,enumerable:!0}:{value:o,enumerable:!0})),o);var a_=et((bB,e8)=>{"use strict";var t8=Object.getOwnPropertySymbols,EF=Object.prototype.hasOwnProperty,CF=Object.prototype.propertyIsEnumerable;function SF(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function TF(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var u={},c=0;c<10;c++)u["_"+String.fromCharCode(c)]=c;var d=Object.getOwnPropertyNames(u).map(function(t){return u[t]});if(d.join("")!=="0123456789")return!1;var g={};return"abcdefghijklmnopqrst".split("").forEach(function(t){g[t]=t}),Object.keys(Object.assign({},g)).join("")==="abcdefghijklmnopqrst"}catch(t){return!1}}e8.exports=TF()?Object.assign:function(o,u){for(var c,d=SF(o),g,t=1;t<arguments.length;t++){c=Object(arguments[t]);for(var x in c)EF.call(c,x)&&(d[x]=c[x]);if(t8){g=t8(c);for(var A=0;A<g.length;A++)CF.call(c,g[A])&&(d[g[A]]=c[g[A]])}}return d}});var p8=et(Cr=>{"use strict";var d_=a_(),rs=typeof Symbol=="function"&&Symbol.for,j2=rs?Symbol.for("react.element"):60103,xF=rs?Symbol.for("react.portal"):60106,kF=rs?Symbol.for("react.fragment"):60107,AF=rs?Symbol.for("react.strict_mode"):60108,OF=rs?Symbol.for("react.profiler"):60114,IF=rs?Symbol.for("react.provider"):60109,MF=rs?Symbol.for("react.context"):60110,FF=rs?Symbol.for("react.forward_ref"):60112,RF=rs?Symbol.for("react.suspense"):60113,PF=rs?Symbol.for("react.memo"):60115,LF=rs?Symbol.for("react.lazy"):60116,n8=typeof Symbol=="function"&&Symbol.iterator;function z2(o){for(var u="https://reactjs.org/docs/error-decoder.html?invariant="+o,c=1;c<arguments.length;c++)u+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+o+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r8={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},i8={};function s1(o,u,c){this.props=o,this.context=u,this.refs=i8,this.updater=c||r8}s1.prototype.isReactComponent={};s1.prototype.setState=function(o,u){if(typeof o!="object"&&typeof o!="function"&&o!=null)throw Error(z2(85));this.updater.enqueueSetState(this,o,u,"setState")};s1.prototype.forceUpdate=function(o){this.updater.enqueueForceUpdate(this,o,"forceUpdate")};function o8(){}o8.prototype=s1.prototype;function p_(o,u,c){this.props=o,this.context=u,this.refs=i8,this.updater=c||r8}var h_=p_.prototype=new o8;h_.constructor=p_;d_(h_,s1.prototype);h_.isPureReactComponent=!0;var m_={current:null},u8=Object.prototype.hasOwnProperty,s8={key:!0,ref:!0,__self:!0,__source:!0};function l8(o,u,c){var d,g={},t=null,x=null;if(u!=null)for(d in u.ref!==void 0&&(x=u.ref),u.key!==void 0&&(t=""+u.key),u)u8.call(u,d)&&!s8.hasOwnProperty(d)&&(g[d]=u[d]);var A=arguments.length-2;if(A===1)g.children=c;else if(1<A){for(var k=Array(A),E=0;E<A;E++)k[E]=arguments[E+2];g.children=k}if(o&&o.defaultProps)for(d in A=o.defaultProps,A)g[d]===void 0&&(g[d]=A[d]);return{$$typeof:j2,type:o,key:t,ref:x,props:g,_owner:m_.current}}function NF(o,u){return{$$typeof:j2,type:o.type,key:u,ref:o.ref,props:o.props,_owner:o._owner}}function v_(o){return typeof o=="object"&&o!==null&&o.$$typeof===j2}function BF(o){var u={"=":"=0",":":"=2"};return"$"+(""+o).replace(/[=:]/g,function(c){return u[c]})}var f8=/\/+/g,Hp=[];function c8(o,u,c,d){if(Hp.length){var g=Hp.pop();return g.result=o,g.keyPrefix=u,g.func=c,g.context=d,g.count=0,g}return{result:o,keyPrefix:u,func:c,context:d,count:0}}function a8(o){o.result=null,o.keyPrefix=null,o.func=null,o.context=null,o.count=0,10>Hp.length&&Hp.push(o)}function g_(o,u,c,d){var g=typeof o;(g==="undefined"||g==="boolean")&&(o=null);var t=!1;if(o===null)t=!0;else switch(g){case"string":case"number":t=!0;break;case"object":switch(o.$$typeof){case j2:case xF:t=!0}}if(t)return c(d,o,u===""?"."+__(o,0):u),1;if(t=0,u=u===""?".":u+":",Array.isArray(o))for(var x=0;x<o.length;x++){g=o[x];var A=u+__(g,x);t+=g_(g,A,c,d)}else if(o===null||typeof o!="object"?A=null:(A=n8&&o[n8]||o["@@iterator"],A=typeof A=="function"?A:null),typeof A=="function")for(o=A.call(o),x=0;!(g=o.next()).done;)g=g.value,A=u+__(g,x++),t+=g_(g,A,c,d);else if(g==="object")throw c=""+o,Error(z2(31,c==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":c,""));return t}function y_(o,u,c){return o==null?0:g_(o,"",u,c)}function __(o,u){return typeof o=="object"&&o!==null&&o.key!=null?BF(o.key):u.toString(36)}function UF(o,u){o.func.call(o.context,u,o.count++)}function jF(o,u,c){var d=o.result,g=o.keyPrefix;o=o.func.call(o.context,u,o.count++),Array.isArray(o)?w_(o,d,c,function(t){return t}):o!=null&&(v_(o)&&(o=NF(o,g+(!o.key||u&&u.key===o.key?"":(""+o.key).replace(f8,"$&/")+"/")+c)),d.push(o))}function w_(o,u,c,d,g){var t="";c!=null&&(t=(""+c).replace(f8,"$&/")+"/"),u=c8(u,t,d,g),y_(o,jF,u),a8(u)}var d8={current:null};function Hl(){var o=d8.current;if(o===null)throw Error(z2(321));return o}var zF={ReactCurrentDispatcher:d8,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:m_,IsSomeRendererActing:{current:!1},assign:d_};Cr.Children={map:function(o,u,c){if(o==null)return o;var d=[];return w_(o,d,null,u,c),d},forEach:function(o,u,c){if(o==null)return o;u=c8(null,null,u,c),y_(o,UF,u),a8(u)},count:function(o){return y_(o,function(){return null},null)},toArray:function(o){var u=[];return w_(o,u,null,function(c){return c}),u},only:function(o){if(!v_(o))throw Error(z2(143));return o}};Cr.Component=s1;Cr.Fragment=kF;Cr.Profiler=OF;Cr.PureComponent=p_;Cr.StrictMode=AF;Cr.Suspense=RF;Cr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=zF;Cr.cloneElement=function(o,u,c){if(o==null)throw Error(z2(267,o));var d=d_({},o.props),g=o.key,t=o.ref,x=o._owner;if(u!=null){if(u.ref!==void 0&&(t=u.ref,x=m_.current),u.key!==void 0&&(g=""+u.key),o.type&&o.type.defaultProps)var A=o.type.defaultProps;for(k in u)u8.call(u,k)&&!s8.hasOwnProperty(k)&&(d[k]=u[k]===void 0&&A!==void 0?A[k]:u[k])}var k=arguments.length-2;if(k===1)d.children=c;else if(1<k){A=Array(k);for(var E=0;E<k;E++)A[E]=arguments[E+2];d.children=A}return{$$typeof:j2,type:o.type,key:g,ref:t,props:d,_owner:x}};Cr.createContext=function(o,u){return u===void 0&&(u=null),o={$$typeof:MF,_calculateChangedBits:u,_currentValue:o,_currentValue2:o,_threadCount:0,Provider:null,Consumer:null},o.Provider={$$typeof:IF,_context:o},o.Consumer=o};Cr.createElement=l8;Cr.createFactory=function(o){var u=l8.bind(null,o);return u.type=o,u};Cr.createRef=function(){return{current:null}};Cr.forwardRef=function(o){return{$$typeof:FF,render:o}};Cr.isValidElement=v_;Cr.lazy=function(o){return{$$typeof:LF,_ctor:o,_status:-1,_result:null}};Cr.memo=function(o,u){return{$$typeof:PF,type:o,compare:u===void 0?null:u}};Cr.useCallback=function(o,u){return Hl().useCallback(o,u)};Cr.useContext=function(o,u){return Hl().useContext(o,u)};Cr.useDebugValue=function(){};Cr.useEffect=function(o,u){return Hl().useEffect(o,u)};Cr.useImperativeHandle=function(o,u,c){return Hl().useImperativeHandle(o,u,c)};Cr.useLayoutEffect=function(o,u){return Hl().useLayoutEffect(o,u)};Cr.useMemo=function(o,u){return Hl().useMemo(o,u)};Cr.useReducer=function(o,u,c){return Hl().useReducer(o,u,c)};Cr.useRef=function(o){return Hl().useRef(o)};Cr.useState=function(o){return Hl().useState(o)};Cr.version="16.13.1"});var Sr=et(($B,h8)=>{"use strict";h8.exports=p8()});var m8=et((l1,W2)=>{(function(){var o,u="4.17.21",c=200,d="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",g="Expected a function",t="Invalid `variable` option passed into `_.template`",x="__lodash_hash_undefined__",A=500,k="__lodash_placeholder__",E=1,L=2,B=4,W=1,X=2,m=1,me=2,ye=4,se=8,Ee=16,We=32,Se=64,Me=128,te=256,Oe=512,Le=30,Ze="...",dt=800,ct=16,je=1,Ve=2,Ft=3,Ot=1/0,qt=9007199254740991,tt=17976931348623157e292,b=0/0,ee=4294967295,pe=ee-1,J=ee>>>1,Te=[["ary",Me],["bind",m],["bindKey",me],["curry",se],["curryRight",Ee],["flip",Oe],["partial",We],["partialRight",Se],["rearg",te]],ft="[object Arguments]",it="[object Array]",kt="[object AsyncFunction]",Pt="[object Boolean]",ln="[object Date]",Rn="[object DOMException]",Yt="[object Error]",Ht="[object Function]",nr="[object GeneratorFunction]",w="[object Map]",at="[object Number]",kn="[object Null]",Mn="[object Object]",Hn="[object Promise]",lr="[object Proxy]",fr="[object RegExp]",e0="[object Set]",vi="[object String]",co="[object Symbol]",ds="[object Undefined]",Cu="[object WeakMap]",Uf="[object WeakSet]",Xo="[object ArrayBuffer]",Ko="[object DataView]",Js="[object Float32Array]",Qs="[object Float64Array]",ps="[object Int8Array]",Io="[object Int16Array]",Zs="[object Int32Array]",hs="[object Uint8Array]",ms="[object Uint8ClampedArray]",gi="[object Uint16Array]",Su="[object Uint32Array]",el=/\b__p \+= '';/g,tl=/\b(__p \+=) '' \+/g,nl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,rl=/&(?:amp|lt|gt|quot|#39);/g,Mi=/[&<>"']/g,xr=RegExp(rl.source),gc=RegExp(Mi.source),Jl=/<%-([\s\S]+?)%>/g,vs=/<%([\s\S]+?)%>/g,gs=/<%=([\s\S]+?)%>/g,il=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Fi=/^\w*$/,Mo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wr=/[\\^$.*+?()[\]{}|]/g,kr=RegExp(wr.source),ei=/^\s+/,N0=/\s/,B0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Mt=/\{\n\/\* \[wrapped with (.+)\] \*/,Tu=/,? & /,s0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,xu=/[()=,{}\[\]\/\s]/,_s=/\\(\\)?/g,ys=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Jo=/\w*$/,ao=/^[-+]0x[0-9a-f]+$/i,Fo=/^0b[01]+$/i,ws=/^\[object .+?Constructor\]$/,Ds=/^0o[0-7]+$/i,Ql=/^(?:0|[1-9]\d*)$/,dn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ku=/($^)/,Ro=/['\n\r\u2028\u2029\\]/g,Qo="\\ud800-\\udfff",Es="\\u0300-\\u036f",ol="\\ufe20-\\ufe2f",jf="\\u20d0-\\u20ff",ul=Es+ol+jf,Au="\\u2700-\\u27bf",Ou="a-z\\xdf-\\xf6\\xf8-\\xff",Zl="\\xac\\xb1\\xd7\\xf7",Xi="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Cs="\\u2000-\\u206f",sl=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Iu="A-Z\\xc0-\\xd6\\xd8-\\xde",U0="\\ufe0e\\ufe0f",Ss=Zl+Xi+Cs+sl,Qe="['\u2019]",Ri="["+Qo+"]",Zo="["+Ss+"]",Po="["+ul+"]",S0="\\d+",ll="["+Au+"]",fl="["+Ou+"]",eu="[^"+Qo+Ss+S0+Au+Ou+Iu+"]",cl="\\ud83c[\\udffb-\\udfff]",gn="(?:"+Po+"|"+cl+")",vt="[^"+Qo+"]",Kt="(?:\\ud83c[\\udde6-\\uddff]){2}",T0="[\\ud800-\\udbff][\\udc00-\\udfff]",ti="["+Iu+"]",Mu="\\u200d",Pi="(?:"+fl+"|"+eu+")",Fu="(?:"+ti+"|"+eu+")",Ru="(?:"+Qe+"(?:d|ll|m|re|s|t|ve))?",Ts="(?:"+Qe+"(?:D|LL|M|RE|S|T|VE))?",ni=gn+"?",Xr="["+U0+"]?",Ki="(?:"+Mu+"(?:"+[vt,Kt,T0].join("|")+")"+Xr+ni+")*",v0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",po="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",t0=Xr+ni+Ki,xs="(?:"+[ll,Kt,T0].join("|")+")"+t0,l0="(?:"+[vt+Po+"?",Po,Kt,T0,Ri].join("|")+")",Pu=RegExp(Qe,"g"),j0=RegExp(Po,"g"),Lu=RegExp(cl+"(?="+cl+")|"+l0+t0,"g"),ks=RegExp([ti+"?"+fl+"+"+Ru+"(?="+[Zo,ti,"$"].join("|")+")",Fu+"+"+Ts+"(?="+[Zo,ti+Pi,"$"].join("|")+")",ti+"?"+Pi+"+"+Ru,ti+"+"+Ts,po,v0,S0,xs].join("|"),"g"),Lo=RegExp("["+Mu+Qo+ul+U0+"]"),x0=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ef=-1,Xn={};Xn[Js]=Xn[Qs]=Xn[ps]=Xn[Io]=Xn[Zs]=Xn[hs]=Xn[ms]=Xn[gi]=Xn[Su]=!0,Xn[ft]=Xn[it]=Xn[Xo]=Xn[Pt]=Xn[Ko]=Xn[ln]=Xn[Yt]=Xn[Ht]=Xn[w]=Xn[at]=Xn[Mn]=Xn[fr]=Xn[e0]=Xn[vi]=Xn[Cu]=!1;var Kn={};Kn[ft]=Kn[it]=Kn[Xo]=Kn[Ko]=Kn[Pt]=Kn[ln]=Kn[Js]=Kn[Qs]=Kn[ps]=Kn[Io]=Kn[Zs]=Kn[w]=Kn[at]=Kn[Mn]=Kn[fr]=Kn[e0]=Kn[vi]=Kn[co]=Kn[hs]=Kn[ms]=Kn[gi]=Kn[Su]=!0,Kn[Yt]=Kn[Ht]=Kn[Cu]=!1;var No={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Nu={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},al={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},tu={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},As=parseFloat,Bu=parseInt,k0=typeof global=="object"&&global&&global.Object===Object&&global,nu=typeof self=="object"&&self&&self.Object===Object&&self,Ar=k0||nu||Function("return this")(),R=typeof l1=="object"&&l1&&!l1.nodeType&&l1,P=R&&typeof W2=="object"&&W2&&!W2.nodeType&&W2,U=P&&P.exports===R,H=U&&k0.process,ue=function(){try{var le=P&&P.require&&P.require("util").types;return le||H&&H.binding&&H.binding("util")}catch(Re){}}(),re=ue&&ue.isArrayBuffer,fe=ue&&ue.isDate,q=ue&&ue.isMap,de=ue&&ue.isRegExp,Ae=ue&&ue.isSet,qe=ue&&ue.isTypedArray;function $(le,Re,xe){switch(xe.length){case 0:return le.call(Re);case 1:return le.call(Re,xe[0]);case 2:return le.call(Re,xe[0],xe[1]);case 3:return le.call(Re,xe[0],xe[1],xe[2])}return le.apply(Re,xe)}function De(le,Re,xe,pt){for(var ht=-1,hn=le==null?0:le.length;++ht<hn;){var Un=le[ht];Re(pt,Un,xe(Un),le)}return pt}function Pe(le,Re){for(var xe=-1,pt=le==null?0:le.length;++xe<pt&&Re(le[xe],xe,le)!==!1;);return le}function $e(le,Re){for(var xe=le==null?0:le.length;xe--&&Re(le[xe],xe,le)!==!1;);return le}function rt(le,Re){for(var xe=-1,pt=le==null?0:le.length;++xe<pt;)if(!Re(le[xe],xe,le))return!1;return!0}function ut(le,Re){for(var xe=-1,pt=le==null?0:le.length,ht=0,hn=[];++xe<pt;){var Un=le[xe];Re(Un,xe,le)&&(hn[ht++]=Un)}return hn}function St(le,Re){var xe=le==null?0:le.length;return!!xe&&Xe(le,Re,0)>-1}function _t(le,Re,xe){for(var pt=-1,ht=le==null?0:le.length;++pt<ht;)if(xe(Re,le[pt]))return!0;return!1}function st(le,Re){for(var xe=-1,pt=le==null?0:le.length,ht=Array(pt);++xe<pt;)ht[xe]=Re(le[xe],xe,le);return ht}function It(le,Re){for(var xe=-1,pt=Re.length,ht=le.length;++xe<pt;)le[ht+xe]=Re[xe];return le}function pn(le,Re,xe,pt){var ht=-1,hn=le==null?0:le.length;for(pt&&hn&&(xe=le[++ht]);++ht<hn;)xe=Re(xe,le[ht],ht,le);return xe}function tn(le,Re,xe,pt){var ht=le==null?0:le.length;for(pt&&ht&&(xe=le[--ht]);ht--;)xe=Re(xe,le[ht],ht,le);return xe}function rr(le,Re){for(var xe=-1,pt=le==null?0:le.length;++xe<pt;)if(Re(le[xe],xe,le))return!0;return!1}var Zt=$t("length");function Nn(le){return le.split("")}function f0(le){return le.match(s0)||[]}function gr(le,Re,xe){var pt;return xe(le,function(ht,hn,Un){if(Re(ht,hn,Un))return pt=hn,!1}),pt}function ze(le,Re,xe,pt){for(var ht=le.length,hn=xe+(pt?1:-1);pt?hn--:++hn<ht;)if(Re(le[hn],hn,le))return hn;return-1}function Xe(le,Re,xe){return Re===Re?ju(le,Re,xe):ze(le,lt,xe)}function Fe(le,Re,xe,pt){for(var ht=xe-1,hn=le.length;++ht<hn;)if(pt(le[ht],Re))return ht;return-1}function lt(le){return le!==le}function Dt(le,Re){var xe=le==null?0:le.length;return xe?a0(le,Re)/xe:b}function $t(le){return function(Re){return Re==null?o:Re[le]}}function _n(le){return function(Re){return le==null?o:le[Re]}}function Bn(le,Re,xe,pt,ht){return ht(le,function(hn,Un,Vt){xe=pt?(pt=!1,hn):Re(xe,hn,Un,Vt)}),xe}function c0(le,Re){var xe=le.length;for(le.sort(Re);xe--;)le[xe]=le[xe].value;return le}function a0(le,Re){for(var xe,pt=-1,ht=le.length;++pt<ht;){var hn=Re(le[pt]);hn!==o&&(xe=xe===o?hn:xe+hn)}return xe}function ri(le,Re){for(var xe=-1,pt=Array(le);++xe<le;)pt[xe]=Re(xe);return pt}function _i(le,Re){return st(Re,function(xe){return[xe,le[xe]]})}function g0(le){return le&&le.slice(0,ii(le)+1).replace(ei,"")}function Pr(le){return function(Re){return le(Re)}}function ho(le,Re){return st(Re,function(xe){return le[xe]})}function mo(le,Re){return le.has(Re)}function dl(le,Re){for(var xe=-1,pt=le.length;++xe<pt&&Xe(Re,le[xe],0)>-1;);return xe}function Os(le,Re){for(var xe=le.length;xe--&&Xe(Re,le[xe],0)>-1;);return xe}function pl(le,Re){for(var xe=le.length,pt=0;xe--;)le[xe]===Re&&++pt;return pt}var ru=_n(No),Uu=_n(Nu);function Is(le){return"\\"+tu[le]}function Ji(le,Re){return le==null?o:le[Re]}function Li(le){return Lo.test(le)}function Ms(le){return x0.test(le)}function A0(le){for(var Re,xe=[];!(Re=le.next()).done;)xe.push(Re.value);return xe}function jr(le){var Re=-1,xe=Array(le.size);return le.forEach(function(pt,ht){xe[++Re]=[ht,pt]}),xe}function Jn(le,Re){return function(xe){return le(Re(xe))}}function O0(le,Re){for(var xe=-1,pt=le.length,ht=0,hn=[];++xe<pt;){var Un=le[xe];(Un===Re||Un===k)&&(le[xe]=k,hn[ht++]=xe)}return hn}function z0(le){var Re=-1,xe=Array(le.size);return le.forEach(function(pt){xe[++Re]=pt}),xe}function vo(le){var Re=-1,xe=Array(le.size);return le.forEach(function(pt){xe[++Re]=[pt,pt]}),xe}function ju(le,Re,xe){for(var pt=xe-1,ht=le.length;++pt<ht;)if(le[pt]===Re)return pt;return-1}function Bo(le,Re,xe){for(var pt=xe+1;pt--;)if(le[pt]===Re)return pt;return pt}function Or(le){return Li(le)?zr(le):Zt(le)}function Vn(le){return Li(le)?tf(le):Nn(le)}function ii(le){for(var Re=le.length;Re--&&N0.test(le.charAt(Re)););return Re}var n0=_n(al);function zr(le){for(var Re=Lu.lastIndex=0;Lu.test(le);)++Re;return Re}function tf(le){return le.match(Lu)||[]}function nf(le){return le.match(ks)||[]}var W0=function le(Re){Re=Re==null?Ar:q0.defaults(Ar.Object(),Re,q0.pick(Ar,nn));var xe=Re.Array,pt=Re.Date,ht=Re.Error,hn=Re.Function,Un=Re.Math,Vt=Re.Object,H0=Re.RegExp,yi=Re.String,Wr=Re.TypeError,qr=xe.prototype,d0=hn.prototype,wn=Vt.prototype,Uo=Re["__core-js_shared__"],Ni=d0.toString,Qn=wn.hasOwnProperty,Fs=0,zu=function(){var f=/[^.]+$/.exec(Uo&&Uo.keys&&Uo.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""}(),V0=wn.toString,rf=Ni.call(Vt),_0=Ar._,hl=H0("^"+Ni.call(Qn).replace(wr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),G0=U?Re.Buffer:o,_r=Re.Symbol,I0=Re.Uint8Array,Ir=G0?G0.allocUnsafe:o,Qi=Jn(Vt.getPrototypeOf,Vt),Zi=Vt.create,M0=wn.propertyIsEnumerable,y0=qr.splice,oi=_r?_r.isConcatSpreadable:o,r0=_r?_r.iterator:o,p0=_r?_r.toStringTag:o,go=function(){try{var f=El(Vt,"defineProperty");return f({},"",{}),f}catch(p){}}(),iu=Re.clearTimeout!==Ar.clearTimeout&&Re.clearTimeout,ml=pt&&pt.now!==Ar.Date.now&&pt.now,vl=Re.setTimeout!==Ar.setTimeout&&Re.setTimeout,F0=Un.ceil,ou=Un.floor,An=Vt.getOwnPropertySymbols,ui=G0?G0.isBuffer:o,Mr=Re.isFinite,Lr=qr.join,eo=Jn(Vt.keys,Vt),pr=Un.max,En=Un.min,w0=pt.now,si=Re.parseInt,wi=Un.random,Gt=qr.reverse,K=El(Re,"DataView"),Y=El(Re,"Map"),ve=El(Re,"Promise"),ae=El(Re,"Set"),Ue=El(Re,"WeakMap"),Je=El(Vt,"create"),yt=Ue&&new Ue,jt={},Xt=Cl(K),Nt=Cl(Y),Lt=Cl(ve),rn=Cl(ae),gt=Cl(Ue),cr=_r?_r.prototype:o,Nr=cr?cr.valueOf:o,Dr=cr?cr.toString:o;function z(f){if(Jr(f)&&!Sn(f)&&!(f instanceof Qt)){if(f instanceof bn)return f;if(Qn.call(f,"__wrapped__"))return Ed(f)}return new bn(f)}var ir=function(){function f(){}return function(p){if(!Gr(p))return{};if(Zi)return Zi(p);f.prototype=p;var D=new f;return f.prototype=o,D}}();function Er(){}function bn(f,p){this.__wrapped__=f,this.__actions__=[],this.__chain__=!!p,this.__index__=0,this.__values__=o}z.templateSettings={escape:Jl,evaluate:vs,interpolate:gs,variable:"",imports:{_:z}},z.prototype=Er.prototype,z.prototype.constructor=z,bn.prototype=ir(Er.prototype),bn.prototype.constructor=bn;function Qt(f){this.__wrapped__=f,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ee,this.__views__=[]}function i0(){var f=new Qt(this.__wrapped__);return f.__actions__=Vr(this.__actions__),f.__dir__=this.__dir__,f.__filtered__=this.__filtered__,f.__iteratees__=Vr(this.__iteratees__),f.__takeCount__=this.__takeCount__,f.__views__=Vr(this.__views__),f}function Kr(){if(this.__filtered__){var f=new Qt(this);f.__dir__=-1,f.__filtered__=!0}else f=this.clone(),f.__dir__*=-1;return f}function h0(){var f=this.__wrapped__.value(),p=this.__dir__,D=Sn(f),I=p<0,N=D?f.length:0,G=G1(0,N,this.__views__),Z=G.start,ie=G.end,_e=ie-Z,be=I?ie:Z-1,Ye=this.__iteratees__,nt=Ye.length,Et=0,zt=En(_e,this.__takeCount__);if(!D||!I&&N==_e&&zt==_e)return Ja(f,this.__actions__);var un=[];e:for(;_e--&&Et<zt;){be+=p;for(var Pn=-1,sn=f[be];++Pn<nt;){var zn=Ye[Pn],$n=zn.iteratee,so=zn.type,Ci=$n(sn);if(so==Ve)sn=Ci;else if(!Ci){if(so==je)continue e;break e}}un[Et++]=sn}return un}Qt.prototype=ir(Er.prototype),Qt.prototype.constructor=Qt;function Hr(f){var p=-1,D=f==null?0:f.length;for(this.clear();++p<D;){var I=f[p];this.set(I[0],I[1])}}function m0(){this.__data__=Je?Je(null):{},this.size=0}function Bi(f){var p=this.has(f)&&delete this.__data__[f];return this.size-=p?1:0,p}function to(f){var p=this.__data__;if(Je){var D=p[f];return D===x?o:D}return Qn.call(p,f)?p[f]:o}function D0(f){var p=this.__data__;return Je?p[f]!==o:Qn.call(p,f)}function Wu(f,p){var D=this.__data__;return this.size+=this.has(f)?0:1,D[f]=Je&&p===o?x:p,this}Hr.prototype.clear=m0,Hr.prototype.delete=Bi,Hr.prototype.get=to,Hr.prototype.has=D0,Hr.prototype.set=Wu;function b0(f){var p=-1,D=f==null?0:f.length;for(this.clear();++p<D;){var I=f[p];this.set(I[0],I[1])}}function of(){this.__data__=[],this.size=0}function D1(f){var p=this.__data__,D=sf(p,f);if(D<0)return!1;var I=p.length-1;return D==I?p.pop():y0.call(p,D,1),--this.size,!0}function _c(f){var p=this.__data__,D=sf(p,f);return D<0?o:p[D][1]}function uu(f){return sf(this.__data__,f)>-1}function qu(f,p){var D=this.__data__,I=sf(D,f);return I<0?(++this.size,D.push([f,p])):D[I][1]=p,this}b0.prototype.clear=of,b0.prototype.delete=D1,b0.prototype.get=_c,b0.prototype.has=uu,b0.prototype.set=qu;function Y0(f){var p=-1,D=f==null?0:f.length;for(this.clear();++p<D;){var I=f[p];this.set(I[0],I[1])}}function zf(){this.size=0,this.__data__={hash:new Hr,map:new(Y||b0),string:new Hr}}function uf(f){var p=Lc(this,f).delete(f);return this.size-=p?1:0,p}function E1(f){return Lc(this,f).get(f)}function C1(f){return Lc(this,f).has(f)}function yc(f,p){var D=Lc(this,f),I=D.size;return D.set(f,p),this.size+=D.size==I?0:1,this}Y0.prototype.clear=zf,Y0.prototype.delete=uf,Y0.prototype.get=E1,Y0.prototype.has=C1,Y0.prototype.set=yc;function su(f){var p=-1,D=f==null?0:f.length;for(this.__data__=new Y0;++p<D;)this.add(f[p])}function Wf(f){return this.__data__.set(f,x),this}function lu(f){return this.__data__.has(f)}su.prototype.add=su.prototype.push=Wf,su.prototype.has=lu;function no(f){var p=this.__data__=new b0(f);this.size=p.size}function S1(){this.__data__=new b0,this.size=0}function Rs(f){var p=this.__data__,D=p.delete(f);return this.size=p.size,D}function T1(f){return this.__data__.get(f)}function wc(f){return this.__data__.has(f)}function Hu(f,p){var D=this.__data__;if(D instanceof b0){var I=D.__data__;if(!Y||I.length<c-1)return I.push([f,p]),this.size=++D.size,this;D=this.__data__=new Y0(I)}return D.set(f,p),this.size=D.size,this}no.prototype.clear=S1,no.prototype.delete=Rs,no.prototype.get=T1,no.prototype.has=wc,no.prototype.set=Hu;function Dc(f,p){var D=Sn(f),I=!D&&xl(f),N=!D&&!I&&pu(f),G=!D&&!I&&!N&&hf(f),Z=D||I||N||G,ie=Z?ri(f.length,yi):[],_e=ie.length;for(var be in f)(p||Qn.call(f,be))&&!(Z&&(be=="length"||N&&(be=="offset"||be=="parent")||G&&(be=="buffer"||be=="byteLength"||be=="byteOffset")||Gu(be,_e)))&&ie.push(be);return ie}function Ec(f){var p=f.length;return p?f[O1(0,p-1)]:o}function Cc(f,p){return Nc(Vr(f),li(p,0,f.length))}function qf(f){return Nc(Vr(f))}function gl(f,p,D){(D!==o&&!So(f[p],D)||D===o&&!(p in f))&&$0(f,p,D)}function _l(f,p,D){var I=f[p];(!(Qn.call(f,p)&&So(I,D))||D===o&&!(p in f))&&$0(f,p,D)}function sf(f,p){for(var D=f.length;D--;)if(So(f[D][0],p))return D;return-1}function _o(f,p,D,I){return jo(f,function(N,G,Z){p(I,N,D(N),Z)}),I}function lf(f,p){return f&&di(p,L0(p),f)}function x1(f,p){return f&&di(p,ji(p),f)}function $0(f,p,D){p=="__proto__"&&go?go(f,p,{configurable:!0,enumerable:!0,value:D,writable:!0}):f[p]=D}function Ps(f,p){for(var D=-1,I=p.length,N=xe(I),G=f==null;++D<I;)N[D]=G?o:Qf(f,p[D]);return N}function li(f,p,D){return f===f&&(D!==o&&(f=f<=D?f:D),p!==o&&(f=f>=p?f:p)),f}function fi(f,p,D,I,N,G){var Z,ie=p&E,_e=p&L,be=p&B;if(D&&(Z=N?D(f,I,N,G):D(f)),Z!==o)return Z;if(!Gr(f))return f;var Ye=Sn(f);if(Ye){if(Z=Y1(f),!ie)return Vr(f,Z)}else{var nt=P0(f),Et=nt==Ht||nt==nr;if(pu(f))return ed(f,ie);if(nt==Mn||nt==ft||Et&&!N){if(Z=_e||Et?{}:dd(f),!ie)return _e?Vu(f,x1(Z,f)):R0(f,lf(Z,f))}else{if(!Kn[nt])return N?f:{};Z=pd(f,nt,ie)}}G||(G=new no);var zt=G.get(f);if(zt)return zt;G.set(f,Z),Qd(f)?f.forEach(function(sn){Z.add(fi(sn,p,D,sn,f,G))}):Kd(f)&&f.forEach(function(sn,zn){Z.set(zn,fi(sn,p,D,zn,f,G))});var un=be?_e?mn:W1:_e?ji:L0,Pn=Ye?o:un(f);return Pe(Pn||f,function(sn,zn){Pn&&(zn=sn,sn=f[zn]),_l(Z,zn,fi(sn,p,D,zn,f,G))}),Z}function Hf(f){var p=L0(f);return function(D){return Sc(D,f,p)}}function Sc(f,p,D){var I=D.length;if(f==null)return!I;for(f=Vt(f);I--;){var N=D[I],G=p[N],Z=f[N];if(Z===o&&!(N in f)||!G(Z))return!1}return!0}function Vf(f,p,D){if(typeof f!="function")throw new Wr(g);return pf(function(){f.apply(o,D)},p)}function ro(f,p,D,I){var N=-1,G=St,Z=!0,ie=f.length,_e=[],be=p.length;if(!ie)return _e;D&&(p=st(p,Pr(D))),I?(G=_t,Z=!1):p.length>=c&&(G=mo,Z=!1,p=new su(p));e:for(;++N<ie;){var Ye=f[N],nt=D==null?Ye:D(Ye);if(Ye=I||Ye!==0?Ye:0,Z&&nt===nt){for(var Et=be;Et--;)if(p[Et]===nt)continue e;_e.push(Ye)}else G(p,nt,I)||_e.push(Ye)}return _e}var jo=fu(C),yl=fu(O,!0);function Tc(f,p){var D=!0;return jo(f,function(I,N,G){return D=!!p(I,N,G),D}),D}function wl(f,p,D){for(var I=-1,N=f.length;++I<N;){var G=f[I],Z=p(G);if(Z!=null&&(ie===o?Z===Z&&!uo(Z):D(Z,ie)))var ie=Z,_e=G}return _e}function ff(f,p,D,I){var N=f.length;for(D=Fn(D),D<0&&(D=-D>N?0:N+D),I=I===o||I>N?N:Fn(I),I<0&&(I+=N),I=D>I?0:tp(I);D<I;)f[D++]=p;return f}function Gf(f,p){var D=[];return jo(f,function(I,N,G){p(I,N,G)&&D.push(I)}),D}function E0(f,p,D,I,N){var G=-1,Z=f.length;for(D||(D=rm),N||(N=[]);++G<Z;){var ie=f[G];p>0&&D(ie)?p>1?E0(ie,p-1,D,I,N):It(N,ie):I||(N[N.length]=ie)}return N}var v=Yf(),h=Yf(!0);function C(f,p){return f&&v(f,p,L0)}function O(f,p){return f&&h(f,p,L0)}function F(f,p){return ut(p,function(D){return $u(f[D])})}function V(f,p){p=Ns(p,f);for(var D=0,I=p.length;f!=null&&D<I;)f=f[Wo(p[D++])];return D&&D==I?f:o}function Q(f,p,D){var I=p(f);return Sn(f)?I:It(I,D(f))}function Ge(f){return f==null?f===o?ds:kn:p0&&p0 in Vt(f)?tm(f):Us(f)}function Ke(f,p){return f>p}function ot(f,p){return f!=null&&Qn.call(f,p)}function Tn(f,p){return f!=null&&p in Vt(f)}function C0(f,p,D){return f>=En(p,D)&&f<pr(p,D)}function Fr(f,p,D){for(var I=D?_t:St,N=f[0].length,G=f.length,Z=G,ie=xe(G),_e=Infinity,be=[];Z--;){var Ye=f[Z];Z&&p&&(Ye=st(Ye,Pr(p))),_e=En(Ye.length,_e),ie[Z]=!D&&(p||N>=120&&Ye.length>=120)?new su(Z&&Ye):o}Ye=f[0];var nt=-1,Et=ie[0];e:for(;++nt<N&&be.length<_e;){var zt=Ye[nt],un=p?p(zt):zt;if(zt=D||zt!==0?zt:0,!(Et?mo(Et,un):I(be,un,D))){for(Z=G;--Z;){var Pn=ie[Z];if(!(Pn?mo(Pn,un):I(f[Z],un,D)))continue e}Et&&Et.push(un),be.push(zt)}}return be}function ci(f,p,D,I){return C(f,function(N,G,Z){p(I,D(N),G,Z)}),I}function io(f,p,D){p=Ns(p,f),f=gd(f,p);var I=f==null?f:f[Wo(Co(p))];return I==null?o:$(I,f,D)}function ai(f){return Jr(f)&&Ge(f)==ft}function Ie(f){return Jr(f)&&Ge(f)==Xo}function we(f){return Jr(f)&&Ge(f)==ln}function Be(f,p,D,I,N){return f===p?!0:f==null||p==null||!Jr(f)&&!Jr(p)?f!==f&&p!==p:wt(f,p,D,I,Be,N)}function wt(f,p,D,I,N,G){var Z=Sn(f),ie=Sn(p),_e=Z?it:P0(f),be=ie?it:P0(p);_e=_e==ft?Mn:_e,be=be==ft?Mn:be;var Ye=_e==Mn,nt=be==Mn,Et=_e==be;if(Et&&pu(f)){if(!pu(p))return!1;Z=!0,Ye=!1}if(Et&&!Ye)return G||(G=new no),Z||hf(f)?cd(f,p,D,I,N,G):Zh(f,p,_e,D,I,N,G);if(!(D&W)){var zt=Ye&&Qn.call(f,"__wrapped__"),un=nt&&Qn.call(p,"__wrapped__");if(zt||un){var Pn=zt?f.value():f,sn=un?p.value():p;return G||(G=new no),N(Pn,sn,D,I,G)}}return Et?(G||(G=new no),em(f,p,D,I,N,G)):!1}function en(f){return Jr(f)&&P0(f)==w}function er(f,p,D,I){var N=D.length,G=N,Z=!I;if(f==null)return!G;for(f=Vt(f);N--;){var ie=D[N];if(Z&&ie[2]?ie[1]!==f[ie[0]]:!(ie[0]in f))return!1}for(;++N<G;){ie=D[N];var _e=ie[0],be=f[_e],Ye=ie[1];if(Z&&ie[2]){if(be===o&&!(_e in f))return!1}else{var nt=new no;if(I)var Et=I(be,Ye,_e,f,p,nt);if(!(Et===o?Be(Ye,be,W|X,I,nt):Et))return!1}}return!0}function fn(f){if(!Gr(f)||om(f))return!1;var p=$u(f)?hl:ws;return p.test(Cl(f))}function or(f){return Jr(f)&&Ge(f)==fr}function Br(f){return Jr(f)&&P0(f)==e0}function jn(f){return Jr(f)&&Gc(f.length)&&!!Xn[Ge(f)]}function X0(f){return typeof f=="function"?f:f==null?zi:typeof f=="object"?Sn(f)?A1(f[0],f[1]):qa(f):S2(f)}function bf(f){if(!Xf(f))return eo(f);var p=[];for(var D in Vt(f))Qn.call(f,D)&&D!="constructor"&&p.push(D);return p}function Uh(f){if(!Gr(f))return lm(f);var p=Xf(f),D=[];for(var I in f)I=="constructor"&&(p||!Qn.call(f,I))||D.push(I);return D}function k1(f,p){return f<p}function Wa(f,p){var D=-1,I=Ui(f)?xe(f.length):[];return jo(f,function(N,G,Z){I[++D]=p(N,G,Z)}),I}function qa(f){var p=In(f);return p.length==1&&p[0][2]?K1(p[0][0],p[0][1]):function(D){return D===f||er(D,f,p)}}function A1(f,p){return $1(f)&&hd(p)?K1(Wo(f),p):function(D){var I=Qf(D,f);return I===o&&I===p?h2(D,f):Be(p,I,W|X)}}function xc(f,p,D,I,N){f!==p&&v(p,function(G,Z){if(N||(N=new no),Gr(G))jh(f,p,Z,D,xc,I,N);else{var ie=I?I(Q1(f,Z),G,Z+"",f,p,N):o;ie===o&&(ie=G),gl(f,Z,ie)}},ji)}function jh(f,p,D,I,N,G,Z){var ie=Q1(f,D),_e=Q1(p,D),be=Z.get(_e);if(be){gl(f,D,be);return}var Ye=G?G(ie,_e,D+"",f,p,Z):o,nt=Ye===o;if(nt){var Et=Sn(_e),zt=!Et&&pu(_e),un=!Et&&!zt&&hf(_e);Ye=_e,Et||zt||un?Sn(ie)?Ye=ie:o0(ie)?Ye=Vr(ie):zt?(nt=!1,Ye=ed(_e,!0)):un?(nt=!1,Ye=td(_e,!0)):Ye=[]:Jf(_e)||xl(_e)?(Ye=ie,xl(ie)?Ye=$c(ie):(!Gr(ie)||$u(ie))&&(Ye=dd(_e))):nt=!1}nt&&(Z.set(_e,Ye),N(Ye,_e,I,G,Z),Z.delete(_e)),gl(f,D,Ye)}function Ha(f,p){var D=f.length;if(!!D)return p+=p<0?D:0,Gu(p,D)?f[p]:o}function Di(f,p,D){p.length?p=st(p,function(G){return Sn(G)?function(Z){return V(Z,G.length===1?G[0]:G)}:G}):p=[zi];var I=-1;p=st(p,Pr(on()));var N=Wa(f,function(G,Z,ie){var _e=st(p,function(be){return be(G)});return{criteria:_e,index:++I,value:G}});return c0(N,function(G,Z){return $h(G,Z,D)})}function zh(f,p){return Va(f,p,function(D,I){return h2(f,I)})}function Va(f,p,D){for(var I=-1,N=p.length,G={};++I<N;){var Z=p[I],ie=V(f,Z);D(ie,Z)&&Dl(G,Ns(Z,f),ie)}return G}function yo(f){return function(p){return V(p,f)}}function zo(f,p,D,I){var N=I?Fe:Xe,G=-1,Z=p.length,ie=f;for(f===p&&(p=Vr(p)),D&&(ie=st(f,Pr(D)));++G<Z;)for(var _e=0,be=p[G],Ye=D?D(be):be;(_e=N(ie,Ye,_e,I))>-1;)ie!==f&&y0.call(ie,_e,1),y0.call(f,_e,1);return f}function kc(f,p){for(var D=f?p.length:0,I=D-1;D--;){var N=p[D];if(D==I||N!==G){var G=N;Gu(N)?y0.call(f,N,1):F1(f,N)}}return f}function O1(f,p){return f+ou(wi()*(p-f+1))}function Wh(f,p,D,I){for(var N=-1,G=pr(F0((p-f)/(D||1)),0),Z=xe(G);G--;)Z[I?G:++N]=f,f+=D;return Z}function I1(f,p){var D="";if(!f||p<1||p>qt)return D;do p%2&&(D+=f),p=ou(p/2),p&&(f+=f);while(p);return D}function Ln(f,p){return Z1(vd(f,p,zi),f+"")}function Ga(f){return Ec(mf(f))}function ba(f,p){var D=mf(f);return Nc(D,li(p,0,D.length))}function Dl(f,p,D,I){if(!Gr(f))return f;p=Ns(p,f);for(var N=-1,G=p.length,Z=G-1,ie=f;ie!=null&&++N<G;){var _e=Wo(p[N]),be=D;if(_e==="__proto__"||_e==="constructor"||_e==="prototype")return f;if(N!=Z){var Ye=ie[_e];be=I?I(Ye,_e,ie):o,be===o&&(be=Gr(Ye)?Ye:Gu(p[N+1])?[]:{})}_l(ie,_e,be),ie=ie[_e]}return f}var Ya=yt?function(f,p){return yt.set(f,p),f}:zi,qh=go?function(f,p){return go(f,"toString",{configurable:!0,enumerable:!1,value:y2(p),writable:!0})}:zi;function wo(f){return Nc(mf(f))}function Do(f,p,D){var I=-1,N=f.length;p<0&&(p=-p>N?0:N+p),D=D>N?N:D,D<0&&(D+=N),N=p>D?0:D-p>>>0,p>>>=0;for(var G=xe(N);++I<N;)G[I]=f[I+p];return G}function Hh(f,p){var D;return jo(f,function(I,N,G){return D=p(I,N,G),!D}),!!D}function Ac(f,p,D){var I=0,N=f==null?I:f.length;if(typeof p=="number"&&p===p&&N<=J){for(;I<N;){var G=I+N>>>1,Z=f[G];Z!==null&&!uo(Z)&&(D?Z<=p:Z<p)?I=G+1:N=G}return N}return M1(f,p,zi,D)}function M1(f,p,D,I){var N=0,G=f==null?0:f.length;if(G===0)return 0;p=D(p);for(var Z=p!==p,ie=p===null,_e=uo(p),be=p===o;N<G;){var Ye=ou((N+G)/2),nt=D(f[Ye]),Et=nt!==o,zt=nt===null,un=nt===nt,Pn=uo(nt);if(Z)var sn=I||un;else be?sn=un&&(I||Et):ie?sn=un&&Et&&(I||!zt):_e?sn=un&&Et&&!zt&&(I||!Pn):zt||Pn?sn=!1:sn=I?nt<=p:nt<p;sn?N=Ye+1:G=Ye}return En(G,pe)}function $a(f,p){for(var D=-1,I=f.length,N=0,G=[];++D<I;){var Z=f[D],ie=p?p(Z):Z;if(!D||!So(ie,_e)){var _e=ie;G[N++]=Z===0?0:Z}}return G}function Xa(f){return typeof f=="number"?f:uo(f)?b:+f}function oo(f){if(typeof f=="string")return f;if(Sn(f))return st(f,oo)+"";if(uo(f))return Dr?Dr.call(f):"";var p=f+"";return p=="0"&&1/f==-Ot?"-0":p}function Ls(f,p,D){var I=-1,N=St,G=f.length,Z=!0,ie=[],_e=ie;if(D)Z=!1,N=_t;else if(G>=c){var be=p?null:Jh(f);if(be)return z0(be);Z=!1,N=mo,_e=new su}else _e=p?[]:ie;e:for(;++I<G;){var Ye=f[I],nt=p?p(Ye):Ye;if(Ye=D||Ye!==0?Ye:0,Z&&nt===nt){for(var Et=_e.length;Et--;)if(_e[Et]===nt)continue e;p&&_e.push(nt),ie.push(Ye)}else N(_e,nt,D)||(_e!==ie&&_e.push(nt),ie.push(Ye))}return ie}function F1(f,p){return p=Ns(p,f),f=gd(f,p),f==null||delete f[Wo(Co(p))]}function Ka(f,p,D,I){return Dl(f,p,D(V(f,p)),I)}function Oc(f,p,D,I){for(var N=f.length,G=I?N:-1;(I?G--:++G<N)&&p(f[G],G,f););return D?Do(f,I?0:G,I?G+1:N):Do(f,I?G+1:0,I?N:G)}function Ja(f,p){var D=f;return D instanceof Qt&&(D=D.value()),pn(p,function(I,N){return N.func.apply(N.thisArg,It([I],N.args))},D)}function R1(f,p,D){var I=f.length;if(I<2)return I?Ls(f[0]):[];for(var N=-1,G=xe(I);++N<I;)for(var Z=f[N],ie=-1;++ie<I;)ie!=N&&(G[N]=ro(G[N]||Z,f[ie],p,D));return Ls(E0(G,1),p,D)}function Qa(f,p,D){for(var I=-1,N=f.length,G=p.length,Z={};++I<N;){var ie=I<G?p[I]:o;D(Z,f[I],ie)}return Z}function P1(f){return o0(f)?f:[]}function L1(f){return typeof f=="function"?f:zi}function Ns(f,p){return Sn(f)?f:$1(f,p)?[f]:Dd(ar(f))}var Vh=Ln;function Bs(f,p,D){var I=f.length;return D=D===o?I:D,!p&&D>=I?f:Do(f,p,D)}var Za=iu||function(f){return Ar.clearTimeout(f)};function ed(f,p){if(p)return f.slice();var D=f.length,I=Ir?Ir(D):new f.constructor(D);return f.copy(I),I}function N1(f){var p=new f.constructor(f.byteLength);return new I0(p).set(new I0(f)),p}function Gh(f,p){var D=p?N1(f.buffer):f.buffer;return new f.constructor(D,f.byteOffset,f.byteLength)}function bh(f){var p=new f.constructor(f.source,Jo.exec(f));return p.lastIndex=f.lastIndex,p}function Yh(f){return Nr?Vt(Nr.call(f)):{}}function td(f,p){var D=p?N1(f.buffer):f.buffer;return new f.constructor(D,f.byteOffset,f.length)}function nd(f,p){if(f!==p){var D=f!==o,I=f===null,N=f===f,G=uo(f),Z=p!==o,ie=p===null,_e=p===p,be=uo(p);if(!ie&&!be&&!G&&f>p||G&&Z&&_e&&!ie&&!be||I&&Z&&_e||!D&&_e||!N)return 1;if(!I&&!G&&!be&&f<p||be&&D&&N&&!I&&!G||ie&&D&&N||!Z&&N||!_e)return-1}return 0}function $h(f,p,D){for(var I=-1,N=f.criteria,G=p.criteria,Z=N.length,ie=D.length;++I<Z;){var _e=nd(N[I],G[I]);if(_e){if(I>=ie)return _e;var be=D[I];return _e*(be=="desc"?-1:1)}}return f.index-p.index}function cf(f,p,D,I){for(var N=-1,G=f.length,Z=D.length,ie=-1,_e=p.length,be=pr(G-Z,0),Ye=xe(_e+be),nt=!I;++ie<_e;)Ye[ie]=p[ie];for(;++N<Z;)(nt||N<G)&&(Ye[D[N]]=f[N]);for(;be--;)Ye[ie++]=f[N++];return Ye}function rd(f,p,D,I){for(var N=-1,G=f.length,Z=-1,ie=D.length,_e=-1,be=p.length,Ye=pr(G-ie,0),nt=xe(Ye+be),Et=!I;++N<Ye;)nt[N]=f[N];for(var zt=N;++_e<be;)nt[zt+_e]=p[_e];for(;++Z<ie;)(Et||N<G)&&(nt[zt+D[Z]]=f[N++]);return nt}function Vr(f,p){var D=-1,I=f.length;for(p||(p=xe(I));++D<I;)p[D]=f[D];return p}function di(f,p,D,I){var N=!D;D||(D={});for(var G=-1,Z=p.length;++G<Z;){var ie=p[G],_e=I?I(D[ie],f[ie],ie,D,f):o;_e===o&&(_e=f[ie]),N?$0(D,ie,_e):_l(D,ie,_e)}return D}function R0(f,p){return di(f,H1(f),p)}function Vu(f,p){return di(f,V1(f),p)}function af(f,p){return function(D,I){var N=Sn(D)?De:_o,G=p?p():{};return N(D,f,on(I,2),G)}}function Eo(f){return Ln(function(p,D){var I=-1,N=D.length,G=N>1?D[N-1]:o,Z=N>2?D[2]:o;for(G=f.length>3&&typeof G=="function"?(N--,G):o,Z&&Ei(D[0],D[1],Z)&&(G=N<3?o:G,N=1),p=Vt(p);++I<N;){var ie=D[I];ie&&f(p,ie,I,G)}return p})}function fu(f,p){return function(D,I){if(D==null)return D;if(!Ui(D))return f(D,I);for(var N=D.length,G=p?N:-1,Z=Vt(D);(p?G--:++G<N)&&I(Z[G],G,Z)!==!1;);return D}}function Yf(f){return function(p,D,I){for(var N=-1,G=Vt(p),Z=I(p),ie=Z.length;ie--;){var _e=Z[f?ie:++N];if(D(G[_e],_e,G)===!1)break}return p}}function Xh(f,p,D){var I=p&m,N=$f(f);function G(){var Z=this&&this!==Ar&&this instanceof G?N:f;return Z.apply(I?D:this,arguments)}return G}function id(f){return function(p){p=ar(p);var D=Li(p)?Vn(p):o,I=D?D[0]:p.charAt(0),N=D?Bs(D,1).join(""):p.slice(1);return I[f]()+N}}function df(f){return function(p){return pn(_p(hp(p).replace(Pu,"")),f,"")}}function $f(f){return function(){var p=arguments;switch(p.length){case 0:return new f;case 1:return new f(p[0]);case 2:return new f(p[0],p[1]);case 3:return new f(p[0],p[1],p[2]);case 4:return new f(p[0],p[1],p[2],p[3]);case 5:return new f(p[0],p[1],p[2],p[3],p[4]);case 6:return new f(p[0],p[1],p[2],p[3],p[4],p[5]);case 7:return new f(p[0],p[1],p[2],p[3],p[4],p[5],p[6])}var D=ir(f.prototype),I=f.apply(D,p);return Gr(I)?I:D}}function Kh(f,p,D){var I=$f(f);function N(){for(var G=arguments.length,Z=xe(G),ie=G,_e=Cn(N);ie--;)Z[ie]=arguments[ie];var be=G<3&&Z[0]!==_e&&Z[G-1]!==_e?[]:O0(Z,_e);if(G-=be.length,G<D)return Zn(f,p,Ic,N.placeholder,o,Z,be,o,o,D-G);var Ye=this&&this!==Ar&&this instanceof N?I:f;return $(Ye,this,Z)}return N}function od(f){return function(p,D,I){var N=Vt(p);if(!Ui(p)){var G=on(D,3);p=L0(p),D=function(ie){return G(N[ie],ie,N)}}var Z=f(p,D,I);return Z>-1?N[G?p[Z]:Z]:o}}function ud(f){return cu(function(p){var D=p.length,I=D,N=bn.prototype.thru;for(f&&p.reverse();I--;){var G=p[I];if(typeof G!="function")throw new Wr(g);if(N&&!Z&&Pc(G)=="wrapper")var Z=new bn([],!0)}for(I=Z?I:D;++I<D;){G=p[I];var ie=Pc(G),_e=ie=="wrapper"?q1(G):o;_e&&X1(_e[0])&&_e[1]==(Me|se|We|te)&&!_e[4].length&&_e[9]==1?Z=Z[Pc(_e[0])].apply(Z,_e[3]):Z=G.length==1&&X1(G)?Z[ie]():Z.thru(G)}return function(){var be=arguments,Ye=be[0];if(Z&&be.length==1&&Sn(Ye))return Z.plant(Ye).value();for(var nt=0,Et=D?p[nt].apply(this,be):Ye;++nt<D;)Et=p[nt].call(this,Et);return Et}})}function Ic(f,p,D,I,N,G,Z,ie,_e,be){var Ye=p&Me,nt=p&m,Et=p&me,zt=p&(se|Ee),un=p&Oe,Pn=Et?o:$f(f);function sn(){for(var zn=arguments.length,$n=xe(zn),so=zn;so--;)$n[so]=arguments[so];if(zt)var Ci=Cn(sn),Si=pl($n,Ci);if(I&&($n=cf($n,I,N,zt)),G&&($n=rd($n,G,Z,zt)),zn-=Si,zt&&zn<be){var u0=O0($n,Ci);return Zn(f,p,Ic,sn.placeholder,D,$n,u0,ie,_e,be-zn)}var qo=nt?D:this,hu=Et?qo[f]:f;return zn=$n.length,ie?$n=J1($n,ie):un&&zn>1&&$n.reverse(),Ye&&_e<zn&&($n.length=_e),this&&this!==Ar&&this instanceof sn&&(hu=Pn||$f(hu)),hu.apply(qo,$n)}return sn}function sd(f,p){return function(D,I){return ci(D,f,p(I),{})}}function Mc(f,p){return function(D,I){var N;if(D===o&&I===o)return p;if(D!==o&&(N=D),I!==o){if(N===o)return I;typeof D=="string"||typeof I=="string"?(D=oo(D),I=oo(I)):(D=Xa(D),I=Xa(I)),N=f(D,I)}return N}}function Yn(f){return cu(function(p){return p=st(p,Pr(on())),Ln(function(D){var I=this;return f(p,function(N){return $(N,I,D)})})})}function Fc(f,p){p=p===o?" ":oo(p);var D=p.length;if(D<2)return D?I1(p,f):p;var I=I1(p,F0(f/Or(p)));return Li(p)?Bs(Vn(I),0,f).join(""):I.slice(0,f)}function B1(f,p,D,I){var N=p&m,G=$f(f);function Z(){for(var ie=-1,_e=arguments.length,be=-1,Ye=I.length,nt=xe(Ye+_e),Et=this&&this!==Ar&&this instanceof Z?G:f;++be<Ye;)nt[be]=I[be];for(;_e--;)nt[be++]=arguments[++ie];return $(Et,N?D:this,nt)}return Z}function ld(f){return function(p,D,I){return I&&typeof I!="number"&&Ei(p,D,I)&&(D=I=o),p=Xu(p),D===o?(D=p,p=0):D=Xu(D),I=I===o?p<D?1:-1:Xu(I),Wh(p,D,I,f)}}function Rc(f){return function(p,D){return typeof p=="string"&&typeof D=="string"||(p=To(p),D=To(D)),f(p,D)}}function Zn(f,p,D,I,N,G,Z,ie,_e,be){var Ye=p&se,nt=Ye?Z:o,Et=Ye?o:Z,zt=Ye?G:o,un=Ye?o:G;p|=Ye?We:Se,p&=~(Ye?Se:We),p&ye||(p&=~(m|me));var Pn=[f,p,N,zt,nt,un,Et,ie,_e,be],sn=D.apply(o,Pn);return X1(f)&&_d(sn,Pn),sn.placeholder=I,yd(sn,f,p)}function U1(f){var p=Un[f];return function(D,I){if(D=To(D),I=I==null?0:En(Fn(I),292),I&&Mr(D)){var N=(ar(D)+"e").split("e"),G=p(N[0]+"e"+(+N[1]+I));return N=(ar(G)+"e").split("e"),+(N[0]+"e"+(+N[1]-I))}return p(D)}}var Jh=ae&&1/z0(new ae([,-0]))[1]==Ot?function(f){return new ae(f)}:C2;function j1(f){return function(p){var D=P0(p);return D==w?jr(p):D==e0?vo(p):_i(p,f(p))}}function At(f,p,D,I,N,G,Z,ie){var _e=p&me;if(!_e&&typeof f!="function")throw new Wr(g);var be=I?I.length:0;if(be||(p&=~(We|Se),I=N=o),Z=Z===o?Z:pr(Fn(Z),0),ie=ie===o?ie:Fn(ie),be-=N?N.length:0,p&Se){var Ye=I,nt=N;I=N=o}var Et=_e?o:q1(f),zt=[f,p,D,I,N,Ye,nt,G,Z,ie];if(Et&&sm(zt,Et),f=zt[0],p=zt[1],D=zt[2],I=zt[3],N=zt[4],ie=zt[9]=zt[9]===o?_e?0:f.length:pr(zt[9]-be,0),!ie&&p&(se|Ee)&&(p&=~(se|Ee)),!p||p==m)var un=Xh(f,p,D);else p==se||p==Ee?un=Kh(f,p,ie):(p==We||p==(m|We))&&!N.length?un=B1(f,p,D,I):un=Ic.apply(o,zt);var Pn=Et?Ya:_d;return yd(Pn(un,zt),f,p)}function z1(f,p,D,I){return f===o||So(f,wn[D])&&!Qn.call(I,D)?p:f}function fd(f,p,D,I,N,G){return Gr(f)&&Gr(p)&&(G.set(p,f),xc(f,p,o,fd,G),G.delete(p)),f}function Qh(f){return Jf(f)?o:f}function cd(f,p,D,I,N,G){var Z=D&W,ie=f.length,_e=p.length;if(ie!=_e&&!(Z&&_e>ie))return!1;var be=G.get(f),Ye=G.get(p);if(be&&Ye)return be==p&&Ye==f;var nt=-1,Et=!0,zt=D&X?new su:o;for(G.set(f,p),G.set(p,f);++nt<ie;){var un=f[nt],Pn=p[nt];if(I)var sn=Z?I(Pn,un,nt,p,f,G):I(un,Pn,nt,f,p,G);if(sn!==o){if(sn)continue;Et=!1;break}if(zt){if(!rr(p,function(zn,$n){if(!mo(zt,$n)&&(un===zn||N(un,zn,D,I,G)))return zt.push($n)})){Et=!1;break}}else if(!(un===Pn||N(un,Pn,D,I,G))){Et=!1;break}}return G.delete(f),G.delete(p),Et}function Zh(f,p,D,I,N,G,Z){switch(D){case Ko:if(f.byteLength!=p.byteLength||f.byteOffset!=p.byteOffset)return!1;f=f.buffer,p=p.buffer;case Xo:return!(f.byteLength!=p.byteLength||!G(new I0(f),new I0(p)));case Pt:case ln:case at:return So(+f,+p);case Yt:return f.name==p.name&&f.message==p.message;case fr:case vi:return f==p+"";case w:var ie=jr;case e0:var _e=I&W;if(ie||(ie=z0),f.size!=p.size&&!_e)return!1;var be=Z.get(f);if(be)return be==p;I|=X,Z.set(f,p);var Ye=cd(ie(f),ie(p),I,N,G,Z);return Z.delete(f),Ye;case co:if(Nr)return Nr.call(f)==Nr.call(p)}return!1}function em(f,p,D,I,N,G){var Z=D&W,ie=W1(f),_e=ie.length,be=W1(p),Ye=be.length;if(_e!=Ye&&!Z)return!1;for(var nt=_e;nt--;){var Et=ie[nt];if(!(Z?Et in p:Qn.call(p,Et)))return!1}var zt=G.get(f),un=G.get(p);if(zt&&un)return zt==p&&un==f;var Pn=!0;G.set(f,p),G.set(p,f);for(var sn=Z;++nt<_e;){Et=ie[nt];var zn=f[Et],$n=p[Et];if(I)var so=Z?I($n,zn,Et,p,f,G):I(zn,$n,Et,f,p,G);if(!(so===o?zn===$n||N(zn,$n,D,I,G):so)){Pn=!1;break}sn||(sn=Et=="constructor")}if(Pn&&!sn){var Ci=f.constructor,Si=p.constructor;Ci!=Si&&"constructor"in f&&"constructor"in p&&!(typeof Ci=="function"&&Ci instanceof Ci&&typeof Si=="function"&&Si instanceof Si)&&(Pn=!1)}return G.delete(f),G.delete(p),Pn}function cu(f){return Z1(vd(f,o,Sd),f+"")}function W1(f){return Q(f,L0,H1)}function mn(f){return Q(f,ji,V1)}var q1=yt?function(f){return yt.get(f)}:C2;function Pc(f){for(var p=f.name+"",D=jt[p],I=Qn.call(jt,p)?D.length:0;I--;){var N=D[I],G=N.func;if(G==null||G==f)return N.name}return p}function Cn(f){var p=Qn.call(z,"placeholder")?z:f;return p.placeholder}function on(){var f=z.iteratee||w2;return f=f===w2?X0:f,arguments.length?f(arguments[0],arguments[1]):f}function Lc(f,p){var D=f.__data__;return im(p)?D[typeof p=="string"?"string":"hash"]:D.map}function In(f){for(var p=L0(f),D=p.length;D--;){var I=p[D],N=f[I];p[D]=[I,N,hd(N)]}return p}function El(f,p){var D=Ji(f,p);return fn(D)?D:o}function tm(f){var p=Qn.call(f,p0),D=f[p0];try{f[p0]=o;var I=!0}catch(G){}var N=V0.call(f);return I&&(p?f[p0]=D:delete f[p0]),N}var H1=An?function(f){return f==null?[]:(f=Vt(f),ut(An(f),function(p){return M0.call(f,p)}))}:T2,V1=An?function(f){for(var p=[];f;)It(p,H1(f)),f=Qi(f);return p}:T2,P0=Ge;(K&&P0(new K(new ArrayBuffer(1)))!=Ko||Y&&P0(new Y)!=w||ve&&P0(ve.resolve())!=Hn||ae&&P0(new ae)!=e0||Ue&&P0(new Ue)!=Cu)&&(P0=function(f){var p=Ge(f),D=p==Mn?f.constructor:o,I=D?Cl(D):"";if(I)switch(I){case Xt:return Ko;case Nt:return w;case Lt:return Hn;case rn:return e0;case gt:return Cu}return p});function G1(f,p,D){for(var I=-1,N=D.length;++I<N;){var G=D[I],Z=G.size;switch(G.type){case"drop":f+=Z;break;case"dropRight":p-=Z;break;case"take":p=En(p,f+Z);break;case"takeRight":f=pr(f,p-Z);break}}return{start:f,end:p}}function b1(f){var p=f.match(Mt);return p?p[1].split(Tu):[]}function ad(f,p,D){p=Ns(p,f);for(var I=-1,N=p.length,G=!1;++I<N;){var Z=Wo(p[I]);if(!(G=f!=null&&D(f,Z)))break;f=f[Z]}return G||++I!=N?G:(N=f==null?0:f.length,!!N&&Gc(N)&&Gu(Z,N)&&(Sn(f)||xl(f)))}function Y1(f){var p=f.length,D=new f.constructor(p);return p&&typeof f[0]=="string"&&Qn.call(f,"index")&&(D.index=f.index,D.input=f.input),D}function dd(f){return typeof f.constructor=="function"&&!Xf(f)?ir(Qi(f)):{}}function pd(f,p,D){var I=f.constructor;switch(p){case Xo:return N1(f);case Pt:case ln:return new I(+f);case Ko:return Gh(f,D);case Js:case Qs:case ps:case Io:case Zs:case hs:case ms:case gi:case Su:return td(f,D);case w:return new I;case at:case vi:return new I(f);case fr:return bh(f);case e0:return new I;case co:return Yh(f)}}function nm(f,p){var D=p.length;if(!D)return f;var I=D-1;return p[I]=(D>1?"& ":"")+p[I],p=p.join(D>2?", ":" "),f.replace(B0,`{
/* [wrapped with `+p+`] */
`)}function rm(f){return Sn(f)||xl(f)||!!(oi&&f&&f[oi])}function Gu(f,p){var D=typeof f;return p=p==null?qt:p,!!p&&(D=="number"||D!="symbol"&&Ql.test(f))&&f>-1&&f%1==0&&f<p}function Ei(f,p,D){if(!Gr(D))return!1;var I=typeof p;return(I=="number"?Ui(D)&&Gu(p,D.length):I=="string"&&p in D)?So(D[p],f):!1}function $1(f,p){if(Sn(f))return!1;var D=typeof f;return D=="number"||D=="symbol"||D=="boolean"||f==null||uo(f)?!0:Fi.test(f)||!il.test(f)||p!=null&&f in Vt(p)}function im(f){var p=typeof f;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?f!=="__proto__":f===null}function X1(f){var p=Pc(f),D=z[p];if(typeof D!="function"||!(p in Qt.prototype))return!1;if(f===D)return!0;var I=q1(D);return!!I&&f===I[0]}function om(f){return!!zu&&zu in f}var um=Uo?$u:x2;function Xf(f){var p=f&&f.constructor,D=typeof p=="function"&&p.prototype||wn;return f===D}function hd(f){return f===f&&!Gr(f)}function K1(f,p){return function(D){return D==null?!1:D[f]===p&&(p!==o||f in Vt(D))}}function md(f){var p=Wc(f,function(I){return D.size===A&&D.clear(),I}),D=p.cache;return p}function sm(f,p){var D=f[1],I=p[1],N=D|I,G=N<(m|me|Me),Z=I==Me&&D==se||I==Me&&D==te&&f[7].length<=p[8]||I==(Me|te)&&p[7].length<=p[8]&&D==se;if(!(G||Z))return f;I&m&&(f[2]=p[2],N|=D&m?0:ye);var ie=p[3];if(ie){var _e=f[3];f[3]=_e?cf(_e,ie,p[4]):ie,f[4]=_e?O0(f[3],k):p[4]}return ie=p[5],ie&&(_e=f[5],f[5]=_e?rd(_e,ie,p[6]):ie,f[6]=_e?O0(f[5],k):p[6]),ie=p[7],ie&&(f[7]=ie),I&Me&&(f[8]=f[8]==null?p[8]:En(f[8],p[8])),f[9]==null&&(f[9]=p[9]),f[0]=p[0],f[1]=N,f}function lm(f){var p=[];if(f!=null)for(var D in Vt(f))p.push(D);return p}function Us(f){return V0.call(f)}function vd(f,p,D){return p=pr(p===o?f.length-1:p,0),function(){for(var I=arguments,N=-1,G=pr(I.length-p,0),Z=xe(G);++N<G;)Z[N]=I[p+N];N=-1;for(var ie=xe(p+1);++N<p;)ie[N]=I[N];return ie[p]=D(Z),$(f,this,ie)}}function gd(f,p){return p.length<2?f:V(f,Do(p,0,-1))}function J1(f,p){for(var D=f.length,I=En(p.length,D),N=Vr(f);I--;){var G=p[I];f[I]=Gu(G,D)?N[G]:o}return f}function Q1(f,p){if(!(p==="constructor"&&typeof f[p]=="function")&&p!="__proto__")return f[p]}var _d=wd(Ya),pf=vl||function(f,p){return Ar.setTimeout(f,p)},Z1=wd(qh);function yd(f,p,D){var I=p+"";return Z1(f,nm(I,fm(b1(I),D)))}function wd(f){var p=0,D=0;return function(){var I=w0(),N=ct-(I-D);if(D=I,N>0){if(++p>=dt)return arguments[0]}else p=0;return f.apply(o,arguments)}}function Nc(f,p){var D=-1,I=f.length,N=I-1;for(p=p===o?I:p;++D<p;){var G=O1(D,N),Z=f[G];f[G]=f[D],f[D]=Z}return f.length=p,f}var Dd=md(function(f){var p=[];return f.charCodeAt(0)===46&&p.push(""),f.replace(Mo,function(D,I,N,G){p.push(N?G.replace(_s,"$1"):I||D)}),p});function Wo(f){if(typeof f=="string"||uo(f))return f;var p=f+"";return p=="0"&&1/f==-Ot?"-0":p}function Cl(f){if(f!=null){try{return Ni.call(f)}catch(p){}try{return f+""}catch(p){}}return""}function fm(f,p){return Pe(Te,function(D){var I="_."+D[0];p&D[1]&&!St(f,I)&&f.push(I)}),f.sort()}function Ed(f){if(f instanceof Qt)return f.clone();var p=new bn(f.__wrapped__,f.__chain__);return p.__actions__=Vr(f.__actions__),p.__index__=f.__index__,p.__values__=f.__values__,p}function cm(f,p,D){(D?Ei(f,p,D):p===o)?p=1:p=pr(Fn(p),0);var I=f==null?0:f.length;if(!I||p<1)return[];for(var N=0,G=0,Z=xe(F0(I/p));N<I;)Z[G++]=Do(f,N,N+=p);return Z}function am(f){for(var p=-1,D=f==null?0:f.length,I=0,N=[];++p<D;){var G=f[p];G&&(N[I++]=G)}return N}function dm(){var f=arguments.length;if(!f)return[];for(var p=xe(f-1),D=arguments[0],I=f;I--;)p[I-1]=arguments[I];return It(Sn(D)?Vr(D):[D],E0(p,1))}var pm=Ln(function(f,p){return o0(f)?ro(f,E0(p,1,o0,!0)):[]}),au=Ln(function(f,p){var D=Co(p);return o0(D)&&(D=o),o0(f)?ro(f,E0(p,1,o0,!0),on(D,2)):[]}),du=Ln(function(f,p){var D=Co(p);return o0(D)&&(D=o),o0(f)?ro(f,E0(p,1,o0,!0),o,D):[]});function bu(f,p,D){var I=f==null?0:f.length;return I?(p=D||p===o?1:Fn(p),Do(f,p<0?0:p,I)):[]}function Yu(f,p,D){var I=f==null?0:f.length;return I?(p=D||p===o?1:Fn(p),p=I-p,Do(f,0,p<0?0:p)):[]}function hm(f,p){return f&&f.length?Oc(f,on(p,3),!0,!0):[]}function mm(f,p){return f&&f.length?Oc(f,on(p,3),!0):[]}function vm(f,p,D,I){var N=f==null?0:f.length;return N?(D&&typeof D!="number"&&Ei(f,p,D)&&(D=0,I=N),ff(f,p,D,I)):[]}function Cd(f,p,D){var I=f==null?0:f.length;if(!I)return-1;var N=D==null?0:Fn(D);return N<0&&(N=pr(I+N,0)),ze(f,on(p,3),N)}function Bc(f,p,D){var I=f==null?0:f.length;if(!I)return-1;var N=I-1;return D!==o&&(N=Fn(D),N=D<0?pr(I+N,0):En(N,I-1)),ze(f,on(p,3),N,!0)}function Sd(f){var p=f==null?0:f.length;return p?E0(f,1):[]}function gm(f){var p=f==null?0:f.length;return p?E0(f,Ot):[]}function Td(f,p){var D=f==null?0:f.length;return D?(p=p===o?1:Fn(p),E0(f,p)):[]}function _m(f){for(var p=-1,D=f==null?0:f.length,I={};++p<D;){var N=f[p];I[N[0]]=N[1]}return I}function xd(f){return f&&f.length?f[0]:o}function ym(f,p,D){var I=f==null?0:f.length;if(!I)return-1;var N=D==null?0:Fn(D);return N<0&&(N=pr(I+N,0)),Xe(f,p,N)}function wm(f){var p=f==null?0:f.length;return p?Do(f,0,-1):[]}var Dm=Ln(function(f){var p=st(f,P1);return p.length&&p[0]===f[0]?Fr(p):[]}),kd=Ln(function(f){var p=Co(f),D=st(f,P1);return p===Co(D)?p=o:D.pop(),D.length&&D[0]===f[0]?Fr(D,on(p,2)):[]}),Em=Ln(function(f){var p=Co(f),D=st(f,P1);return p=typeof p=="function"?p:o,p&&D.pop(),D.length&&D[0]===f[0]?Fr(D,o,p):[]});function Cm(f,p){return f==null?"":Lr.call(f,p)}function Co(f){var p=f==null?0:f.length;return p?f[p-1]:o}function Sm(f,p,D){var I=f==null?0:f.length;if(!I)return-1;var N=I;return D!==o&&(N=Fn(D),N=N<0?pr(I+N,0):En(N,I-1)),p===p?Bo(f,p,N):ze(f,lt,N,!0)}function Tm(f,p){return f&&f.length?Ha(f,Fn(p)):o}var xm=Ln(Ad);function Ad(f,p){return f&&f.length&&p&&p.length?zo(f,p):f}function Od(f,p,D){return f&&f.length&&p&&p.length?zo(f,p,on(D,2)):f}function km(f,p,D){return f&&f.length&&p&&p.length?zo(f,p,o,D):f}var Am=cu(function(f,p){var D=f==null?0:f.length,I=Ps(f,p);return kc(f,st(p,function(N){return Gu(N,D)?+N:N}).sort(nd)),I});function e2(f,p){var D=[];if(!(f&&f.length))return D;var I=-1,N=[],G=f.length;for(p=on(p,3);++I<G;){var Z=f[I];p(Z,I,f)&&(D.push(Z),N.push(I))}return kc(f,N),D}function t2(f){return f==null?f:Gt.call(f)}function Om(f,p,D){var I=f==null?0:f.length;return I?(D&&typeof D!="number"&&Ei(f,p,D)?(p=0,D=I):(p=p==null?0:Fn(p),D=D===o?I:Fn(D)),Do(f,p,D)):[]}function Id(f,p){return Ac(f,p)}function Im(f,p,D){return M1(f,p,on(D,2))}function Mm(f,p){var D=f==null?0:f.length;if(D){var I=Ac(f,p);if(I<D&&So(f[I],p))return I}return-1}function Fm(f,p){return Ac(f,p,!0)}function Rm(f,p,D){return M1(f,p,on(D,2),!0)}function Pm(f,p){var D=f==null?0:f.length;if(D){var I=Ac(f,p,!0)-1;if(So(f[I],p))return I}return-1}function Md(f){return f&&f.length?$a(f):[]}function Lm(f,p){return f&&f.length?$a(f,on(p,2)):[]}function Nm(f){var p=f==null?0:f.length;return p?Do(f,1,p):[]}function Bm(f,p,D){return f&&f.length?(p=D||p===o?1:Fn(p),Do(f,0,p<0?0:p)):[]}function Um(f,p,D){var I=f==null?0:f.length;return I?(p=D||p===o?1:Fn(p),p=I-p,Do(f,p<0?0:p,I)):[]}function jm(f,p){return f&&f.length?Oc(f,on(p,3),!1,!0):[]}function zm(f,p){return f&&f.length?Oc(f,on(p,3)):[]}var Wm=Ln(function(f){return Ls(E0(f,1,o0,!0))}),js=Ln(function(f){var p=Co(f);return o0(p)&&(p=o),Ls(E0(f,1,o0,!0),on(p,2))}),zs=Ln(function(f){var p=Co(f);return p=typeof p=="function"?p:o,Ls(E0(f,1,o0,!0),o,p)});function Ws(f){return f&&f.length?Ls(f):[]}function qm(f,p){return f&&f.length?Ls(f,on(p,2)):[]}function n2(f,p){return p=typeof p=="function"?p:o,f&&f.length?Ls(f,o,p):[]}function r2(f){if(!(f&&f.length))return[];var p=0;return f=ut(f,function(D){if(o0(D))return p=pr(D.length,p),!0}),ri(p,function(D){return st(f,$t(D))})}function Fd(f,p){if(!(f&&f.length))return[];var D=r2(f);return p==null?D:st(D,function(I){return $(p,o,I)})}var i2=Ln(function(f,p){return o0(f)?ro(f,p):[]}),Hm=Ln(function(f){return R1(ut(f,o0))}),Vm=Ln(function(f){var p=Co(f);return o0(p)&&(p=o),R1(ut(f,o0),on(p,2))}),Rd=Ln(function(f){var p=Co(f);return p=typeof p=="function"?p:o,R1(ut(f,o0),o,p)}),Gm=Ln(r2);function bm(f,p){return Qa(f||[],p||[],_l)}function Ym(f,p){return Qa(f||[],p||[],Dl)}var $m=Ln(function(f){var p=f.length,D=p>1?f[p-1]:o;return D=typeof D=="function"?(f.pop(),D):o,Fd(f,D)});function Pd(f){var p=z(f);return p.__chain__=!0,p}function Ld(f,p){return p(f),f}function Uc(f,p){return p(f)}var Xm=cu(function(f){var p=f.length,D=p?f[0]:0,I=this.__wrapped__,N=function(G){return Ps(G,f)};return p>1||this.__actions__.length||!(I instanceof Qt)||!Gu(D)?this.thru(N):(I=I.slice(D,+D+(p?1:0)),I.__actions__.push({func:Uc,args:[N],thisArg:o}),new bn(I,this.__chain__).thru(function(G){return p&&!G.length&&G.push(o),G}))});function Km(){return Pd(this)}function Jm(){return new bn(this.value(),this.__chain__)}function Qm(){this.__values__===o&&(this.__values__=ep(this.value()));var f=this.__index__>=this.__values__.length,p=f?o:this.__values__[this.__index__++];return{done:f,value:p}}function Zm(){return this}function ev(f){for(var p,D=this;D instanceof Er;){var I=Ed(D);I.__index__=0,I.__values__=o,p?N.__wrapped__=I:p=I;var N=I;D=D.__wrapped__}return N.__wrapped__=f,p}function Sl(){var f=this.__wrapped__;if(f instanceof Qt){var p=f;return this.__actions__.length&&(p=new Qt(this)),p=p.reverse(),p.__actions__.push({func:Uc,args:[t2],thisArg:o}),new bn(p,this.__chain__)}return this.thru(t2)}function Tl(){return Ja(this.__wrapped__,this.__actions__)}var jc=af(function(f,p,D){Qn.call(f,D)?++f[D]:$0(f,D,1)});function tv(f,p,D){var I=Sn(f)?rt:Tc;return D&&Ei(f,p,D)&&(p=o),I(f,on(p,3))}function nv(f,p){var D=Sn(f)?ut:Gf;return D(f,on(p,3))}var rv=od(Cd),o2=od(Bc);function iv(f,p){return E0(zc(f,p),1)}function ov(f,p){return E0(zc(f,p),Ot)}function Nd(f,p,D){return D=D===o?1:Fn(D),E0(zc(f,p),D)}function Bd(f,p){var D=Sn(f)?Pe:jo;return D(f,on(p,3))}function Ud(f,p){var D=Sn(f)?$e:yl;return D(f,on(p,3))}var uv=af(function(f,p,D){Qn.call(f,D)?f[D].push(p):$0(f,D,[p])});function sv(f,p,D,I){f=Ui(f)?f:mf(f),D=D&&!I?Fn(D):0;var N=f.length;return D<0&&(D=pr(N+D,0)),Yc(f)?D<=N&&f.indexOf(p,D)>-1:!!N&&Xe(f,p,D)>-1}var lv=Ln(function(f,p,D){var I=-1,N=typeof p=="function",G=Ui(f)?xe(f.length):[];return jo(f,function(Z){G[++I]=N?$(p,Z,D):io(Z,p,D)}),G}),jd=af(function(f,p,D){$0(f,D,p)});function zc(f,p){var D=Sn(f)?st:Wa;return D(f,on(p,3))}function fv(f,p,D,I){return f==null?[]:(Sn(p)||(p=p==null?[]:[p]),D=I?o:D,Sn(D)||(D=D==null?[]:[D]),Di(f,p,D))}var cv=af(function(f,p,D){f[D?0:1].push(p)},function(){return[[],[]]});function zd(f,p,D){var I=Sn(f)?pn:Bn,N=arguments.length<3;return I(f,on(p,4),D,N,jo)}function av(f,p,D){var I=Sn(f)?tn:Bn,N=arguments.length<3;return I(f,on(p,4),D,N,yl)}function dv(f,p){var D=Sn(f)?ut:Gf;return D(f,qc(on(p,3)))}function pv(f){var p=Sn(f)?Ec:Ga;return p(f)}function hv(f,p,D){(D?Ei(f,p,D):p===o)?p=1:p=Fn(p);var I=Sn(f)?Cc:ba;return I(f,p)}function mv(f){var p=Sn(f)?qf:wo;return p(f)}function u2(f){if(f==null)return 0;if(Ui(f))return Yc(f)?Or(f):f.length;var p=P0(f);return p==w||p==e0?f.size:bf(f).length}function vv(f,p,D){var I=Sn(f)?rr:Hh;return D&&Ei(f,p,D)&&(p=o),I(f,on(p,3))}var gv=Ln(function(f,p){if(f==null)return[];var D=p.length;return D>1&&Ei(f,p[0],p[1])?p=[]:D>2&&Ei(p[0],p[1],p[2])&&(p=[p[0]]),Di(f,E0(p,1),[])}),Kf=ml||function(){return Ar.Date.now()};function _v(f,p){if(typeof p!="function")throw new Wr(g);return f=Fn(f),function(){if(--f<1)return p.apply(this,arguments)}}function Wd(f,p,D){return p=D?o:p,p=f&&p==null?f.length:p,At(f,Me,o,o,o,o,p)}function qd(f,p){var D;if(typeof p!="function")throw new Wr(g);return f=Fn(f),function(){return--f>0&&(D=p.apply(this,arguments)),f<=1&&(p=o),D}}var s2=Ln(function(f,p,D){var I=m;if(D.length){var N=O0(D,Cn(s2));I|=We}return At(f,I,p,D,N)}),Hd=Ln(function(f,p,D){var I=m|me;if(D.length){var N=O0(D,Cn(Hd));I|=We}return At(p,I,f,D,N)});function l2(f,p,D){p=D?o:p;var I=At(f,se,o,o,o,o,o,p);return I.placeholder=l2.placeholder,I}function Vd(f,p,D){p=D?o:p;var I=At(f,Ee,o,o,o,o,o,p);return I.placeholder=Vd.placeholder,I}function Gd(f,p,D){var I,N,G,Z,ie,_e,be=0,Ye=!1,nt=!1,Et=!0;if(typeof f!="function")throw new Wr(g);p=To(p)||0,Gr(D)&&(Ye=!!D.leading,nt="maxWait"in D,G=nt?pr(To(D.maxWait)||0,p):G,Et="trailing"in D?!!D.trailing:Et);function zt(u0){var qo=I,hu=N;return I=N=o,be=u0,Z=f.apply(hu,qo),Z}function un(u0){return be=u0,ie=pf(zn,p),Ye?zt(u0):Z}function Pn(u0){var qo=u0-_e,hu=u0-be,Sp=p-qo;return nt?En(Sp,G-hu):Sp}function sn(u0){var qo=u0-_e,hu=u0-be;return _e===o||qo>=p||qo<0||nt&&hu>=G}function zn(){var u0=Kf();if(sn(u0))return $n(u0);ie=pf(zn,Pn(u0))}function $n(u0){return ie=o,Et&&I?zt(u0):(I=N=o,Z)}function so(){ie!==o&&Za(ie),be=0,I=_e=N=ie=o}function Ci(){return ie===o?Z:$n(Kf())}function Si(){var u0=Kf(),qo=sn(u0);if(I=arguments,N=this,_e=u0,qo){if(ie===o)return un(_e);if(nt)return Za(ie),ie=pf(zn,p),zt(_e)}return ie===o&&(ie=pf(zn,p)),Z}return Si.cancel=so,Si.flush=Ci,Si}var yv=Ln(function(f,p){return Vf(f,1,p)}),bd=Ln(function(f,p,D){return Vf(f,To(p)||0,D)});function wv(f){return At(f,Oe)}function Wc(f,p){if(typeof f!="function"||p!=null&&typeof p!="function")throw new Wr(g);var D=function(){var I=arguments,N=p?p.apply(this,I):I[0],G=D.cache;if(G.has(N))return G.get(N);var Z=f.apply(this,I);return D.cache=G.set(N,Z)||G,Z};return D.cache=new(Wc.Cache||Y0),D}Wc.Cache=Y0;function qc(f){if(typeof f!="function")throw new Wr(g);return function(){var p=arguments;switch(p.length){case 0:return!f.call(this);case 1:return!f.call(this,p[0]);case 2:return!f.call(this,p[0],p[1]);case 3:return!f.call(this,p[0],p[1],p[2])}return!f.apply(this,p)}}function Hc(f){return qd(2,f)}var Dv=Vh(function(f,p){p=p.length==1&&Sn(p[0])?st(p[0],Pr(on())):st(E0(p,1),Pr(on()));var D=p.length;return Ln(function(I){for(var N=-1,G=En(I.length,D);++N<G;)I[N]=p[N].call(this,I[N]);return $(f,this,I)})}),f2=Ln(function(f,p){var D=O0(p,Cn(f2));return At(f,We,o,p,D)}),Vc=Ln(function(f,p){var D=O0(p,Cn(Vc));return At(f,Se,o,p,D)}),Ev=cu(function(f,p){return At(f,te,o,o,o,p)});function Cv(f,p){if(typeof f!="function")throw new Wr(g);return p=p===o?p:Fn(p),Ln(f,p)}function Yd(f,p){if(typeof f!="function")throw new Wr(g);return p=p==null?0:pr(Fn(p),0),Ln(function(D){var I=D[p],N=Bs(D,0,p);return I&&It(N,I),$(f,this,N)})}function Sv(f,p,D){var I=!0,N=!0;if(typeof f!="function")throw new Wr(g);return Gr(D)&&(I="leading"in D?!!D.leading:I,N="trailing"in D?!!D.trailing:N),Gd(f,p,{leading:I,maxWait:p,trailing:N})}function Tv(f){return Wd(f,1)}function xv(f,p){return f2(L1(p),f)}function kv(){if(!arguments.length)return[];var f=arguments[0];return Sn(f)?f:[f]}function Av(f){return fi(f,B)}function $d(f,p){return p=typeof p=="function"?p:o,fi(f,B,p)}function Ov(f){return fi(f,E|B)}function Iv(f,p){return p=typeof p=="function"?p:o,fi(f,E|B,p)}function Mv(f,p){return p==null||Sc(f,p,L0(p))}function So(f,p){return f===p||f!==f&&p!==p}var Fv=Rc(Ke),Rv=Rc(function(f,p){return f>=p}),xl=ai(function(){return arguments}())?ai:function(f){return Jr(f)&&Qn.call(f,"callee")&&!M0.call(f,"callee")},Sn=xe.isArray,c2=re?Pr(re):Ie;function Ui(f){return f!=null&&Gc(f.length)&&!$u(f)}function o0(f){return Jr(f)&&Ui(f)}function Pv(f){return f===!0||f===!1||Jr(f)&&Ge(f)==Pt}var pu=ui||x2,Lv=fe?Pr(fe):we;function Nv(f){return Jr(f)&&f.nodeType===1&&!Jf(f)}function Xd(f){if(f==null)return!0;if(Ui(f)&&(Sn(f)||typeof f=="string"||typeof f.splice=="function"||pu(f)||hf(f)||xl(f)))return!f.length;var p=P0(f);if(p==w||p==e0)return!f.size;if(Xf(f))return!bf(f).length;for(var D in f)if(Qn.call(f,D))return!1;return!0}function Bv(f,p){return Be(f,p)}function Uv(f,p,D){D=typeof D=="function"?D:o;var I=D?D(f,p):o;return I===o?Be(f,p,o,D):!!I}function a2(f){if(!Jr(f))return!1;var p=Ge(f);return p==Yt||p==Rn||typeof f.message=="string"&&typeof f.name=="string"&&!Jf(f)}function jv(f){return typeof f=="number"&&Mr(f)}function $u(f){if(!Gr(f))return!1;var p=Ge(f);return p==Ht||p==nr||p==kt||p==lr}function d2(f){return typeof f=="number"&&f==Fn(f)}function Gc(f){return typeof f=="number"&&f>-1&&f%1==0&&f<=qt}function Gr(f){var p=typeof f;return f!=null&&(p=="object"||p=="function")}function Jr(f){return f!=null&&typeof f=="object"}var Kd=q?Pr(q):en;function zv(f,p){return f===p||er(f,p,In(p))}function Wv(f,p,D){return D=typeof D=="function"?D:o,er(f,p,In(p),D)}function qv(f){return Jd(f)&&f!=+f}function Hv(f){if(um(f))throw new ht(d);return fn(f)}function Vv(f){return f===null}function p2(f){return f==null}function Jd(f){return typeof f=="number"||Jr(f)&&Ge(f)==at}function Jf(f){if(!Jr(f)||Ge(f)!=Mn)return!1;var p=Qi(f);if(p===null)return!0;var D=Qn.call(p,"constructor")&&p.constructor;return typeof D=="function"&&D instanceof D&&Ni.call(D)==rf}var bc=de?Pr(de):or;function Gv(f){return d2(f)&&f>=-qt&&f<=qt}var Qd=Ae?Pr(Ae):Br;function Yc(f){return typeof f=="string"||!Sn(f)&&Jr(f)&&Ge(f)==vi}function uo(f){return typeof f=="symbol"||Jr(f)&&Ge(f)==co}var hf=qe?Pr(qe):jn;function Zd(f){return f===o}function bv(f){return Jr(f)&&P0(f)==Cu}function Yv(f){return Jr(f)&&Ge(f)==Uf}var $v=Rc(k1),Xv=Rc(function(f,p){return f<=p});function ep(f){if(!f)return[];if(Ui(f))return Yc(f)?Vn(f):Vr(f);if(r0&&f[r0])return A0(f[r0]());var p=P0(f),D=p==w?jr:p==e0?z0:mf;return D(f)}function Xu(f){if(!f)return f===0?f:0;if(f=To(f),f===Ot||f===-Ot){var p=f<0?-1:1;return p*tt}return f===f?f:0}function Fn(f){var p=Xu(f),D=p%1;return p===p?D?p-D:p:0}function tp(f){return f?li(Fn(f),0,ee):0}function To(f){if(typeof f=="number")return f;if(uo(f))return b;if(Gr(f)){var p=typeof f.valueOf=="function"?f.valueOf():f;f=Gr(p)?p+"":p}if(typeof f!="string")return f===0?f:+f;f=g0(f);var D=Fo.test(f);return D||Ds.test(f)?Bu(f.slice(2),D?2:8):ao.test(f)?b:+f}function $c(f){return di(f,ji(f))}function Kv(f){return f?li(Fn(f),-qt,qt):f===0?f:0}function ar(f){return f==null?"":oo(f)}var np=Eo(function(f,p){if(Xf(p)||Ui(p)){di(p,L0(p),f);return}for(var D in p)Qn.call(p,D)&&_l(f,D,p[D])}),rp=Eo(function(f,p){di(p,ji(p),f)}),Xc=Eo(function(f,p,D,I){di(p,ji(p),f,I)}),Jv=Eo(function(f,p,D,I){di(p,L0(p),f,I)}),Qv=cu(Ps);function Zv(f,p){var D=ir(f);return p==null?D:lf(D,p)}var ip=Ln(function(f,p){f=Vt(f);var D=-1,I=p.length,N=I>2?p[2]:o;for(N&&Ei(p[0],p[1],N)&&(I=1);++D<I;)for(var G=p[D],Z=ji(G),ie=-1,_e=Z.length;++ie<_e;){var be=Z[ie],Ye=f[be];(Ye===o||So(Ye,wn[be])&&!Qn.call(f,be))&&(f[be]=G[be])}return f}),eg=Ln(function(f){return f.push(o,fd),$(sp,o,f)});function tg(f,p){return gr(f,on(p,3),C)}function ng(f,p){return gr(f,on(p,3),O)}function rg(f,p){return f==null?f:v(f,on(p,3),ji)}function ig(f,p){return f==null?f:h(f,on(p,3),ji)}function og(f,p){return f&&C(f,on(p,3))}function ug(f,p){return f&&O(f,on(p,3))}function sg(f){return f==null?[]:F(f,L0(f))}function lg(f){return f==null?[]:F(f,ji(f))}function Qf(f,p,D){var I=f==null?o:V(f,p);return I===o?D:I}function fg(f,p){return f!=null&&ad(f,p,ot)}function h2(f,p){return f!=null&&ad(f,p,Tn)}var op=sd(function(f,p,D){p!=null&&typeof p.toString!="function"&&(p=V0.call(p)),f[p]=D},y2(zi)),cg=sd(function(f,p,D){p!=null&&typeof p.toString!="function"&&(p=V0.call(p)),Qn.call(f,p)?f[p].push(D):f[p]=[D]},on),ag=Ln(io);function L0(f){return Ui(f)?Dc(f):bf(f)}function ji(f){return Ui(f)?Dc(f,!0):Uh(f)}function dg(f,p){var D={};return p=on(p,3),C(f,function(I,N,G){$0(D,p(I,N,G),I)}),D}function up(f,p){var D={};return p=on(p,3),C(f,function(I,N,G){$0(D,N,p(I,N,G))}),D}var pg=Eo(function(f,p,D){xc(f,p,D)}),sp=Eo(function(f,p,D,I){xc(f,p,D,I)}),hg=cu(function(f,p){var D={};if(f==null)return D;var I=!1;p=st(p,function(G){return G=Ns(G,f),I||(I=G.length>1),G}),di(f,mn(f),D),I&&(D=fi(D,E|L|B,Qh));for(var N=p.length;N--;)F1(D,p[N]);return D});function mg(f,p){return lp(f,qc(on(p)))}var vg=cu(function(f,p){return f==null?{}:zh(f,p)});function lp(f,p){if(f==null)return{};var D=st(mn(f),function(I){return[I]});return p=on(p),Va(f,D,function(I,N){return p(I,N[0])})}function gg(f,p,D){p=Ns(p,f);var I=-1,N=p.length;for(N||(N=1,f=o);++I<N;){var G=f==null?o:f[Wo(p[I])];G===o&&(I=N,G=D),f=$u(G)?G.call(f):G}return f}function fp(f,p,D){return f==null?f:Dl(f,p,D)}function cp(f,p,D,I){return I=typeof I=="function"?I:o,f==null?f:Dl(f,p,D,I)}var ap=j1(L0),dp=j1(ji);function m2(f,p,D){var I=Sn(f),N=I||pu(f)||hf(f);if(p=on(p,4),D==null){var G=f&&f.constructor;N?D=I?new G:[]:Gr(f)?D=$u(G)?ir(Qi(f)):{}:D={}}return(N?Pe:C)(f,function(Z,ie,_e){return p(D,Z,ie,_e)}),D}function _g(f,p){return f==null?!0:F1(f,p)}function yg(f,p,D){return f==null?f:Ka(f,p,L1(D))}function wg(f,p,D,I){return I=typeof I=="function"?I:o,f==null?f:Ka(f,p,L1(D),I)}function mf(f){return f==null?[]:ho(f,L0(f))}function Dg(f){return f==null?[]:ho(f,ji(f))}function Eg(f,p,D){return D===o&&(D=p,p=o),D!==o&&(D=To(D),D=D===D?D:0),p!==o&&(p=To(p),p=p===p?p:0),li(To(f),p,D)}function Cg(f,p,D){return p=Xu(p),D===o?(D=p,p=0):D=Xu(D),f=To(f),C0(f,p,D)}function Sg(f,p,D){if(D&&typeof D!="boolean"&&Ei(f,p,D)&&(p=D=o),D===o&&(typeof p=="boolean"?(D=p,p=o):typeof f=="boolean"&&(D=f,f=o)),f===o&&p===o?(f=0,p=1):(f=Xu(f),p===o?(p=f,f=0):p=Xu(p)),f>p){var I=f;f=p,p=I}if(D||f%1||p%1){var N=wi();return En(f+N*(p-f+As("1e-"+((N+"").length-1))),p)}return O1(f,p)}var Tg=df(function(f,p,D){return p=p.toLowerCase(),f+(D?pp(p):p)});function pp(f){return _2(ar(f).toLowerCase())}function hp(f){return f=ar(f),f&&f.replace(dn,ru).replace(j0,"")}function xg(f,p,D){f=ar(f),p=oo(p);var I=f.length;D=D===o?I:li(Fn(D),0,I);var N=D;return D-=p.length,D>=0&&f.slice(D,N)==p}function v2(f){return f=ar(f),f&&gc.test(f)?f.replace(Mi,Uu):f}function kg(f){return f=ar(f),f&&kr.test(f)?f.replace(wr,"\\$&"):f}var Ag=df(function(f,p,D){return f+(D?"-":"")+p.toLowerCase()}),mp=df(function(f,p,D){return f+(D?" ":"")+p.toLowerCase()}),Og=id("toLowerCase");function Ig(f,p,D){f=ar(f),p=Fn(p);var I=p?Or(f):0;if(!p||I>=p)return f;var N=(p-I)/2;return Fc(ou(N),D)+f+Fc(F0(N),D)}function Mg(f,p,D){f=ar(f),p=Fn(p);var I=p?Or(f):0;return p&&I<p?f+Fc(p-I,D):f}function Fg(f,p,D){f=ar(f),p=Fn(p);var I=p?Or(f):0;return p&&I<p?Fc(p-I,D)+f:f}function Rg(f,p,D){return D||p==null?p=0:p&&(p=+p),si(ar(f).replace(ei,""),p||0)}function vp(f,p,D){return(D?Ei(f,p,D):p===o)?p=1:p=Fn(p),I1(ar(f),p)}function Pg(){var f=arguments,p=ar(f[0]);return f.length<3?p:p.replace(f[1],f[2])}var Lg=df(function(f,p,D){return f+(D?"_":"")+p.toLowerCase()});function Ng(f,p,D){return D&&typeof D!="number"&&Ei(f,p,D)&&(p=D=o),D=D===o?ee:D>>>0,D?(f=ar(f),f&&(typeof p=="string"||p!=null&&!bc(p))&&(p=oo(p),!p&&Li(f))?Bs(Vn(f),0,D):f.split(p,D)):[]}var Bg=df(function(f,p,D){return f+(D?" ":"")+_2(p)});function Ug(f,p,D){return f=ar(f),D=D==null?0:li(Fn(D),0,f.length),p=oo(p),f.slice(D,D+p.length)==p}function jg(f,p,D){var I=z.templateSettings;D&&Ei(f,p,D)&&(p=o),f=ar(f),p=Xc({},p,I,z1);var N=Xc({},p.imports,I.imports,z1),G=L0(N),Z=ho(N,G),ie,_e,be=0,Ye=p.interpolate||ku,nt="__p += '",Et=H0((p.escape||ku).source+"|"+Ye.source+"|"+(Ye===gs?ys:ku).source+"|"+(p.evaluate||ku).source+"|$","g"),zt="//# sourceURL="+(Qn.call(p,"sourceURL")?(p.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ef+"]")+`
`;f.replace(Et,function(sn,zn,$n,so,Ci,Si){return $n||($n=so),nt+=f.slice(be,Si).replace(Ro,Is),zn&&(ie=!0,nt+=`' +
__e(`+zn+`) +
'`),Ci&&(_e=!0,nt+=`';
`+Ci+`;
__p += '`),$n&&(nt+=`' +
((__t = (`+$n+`)) == null ? '' : __t) +
'`),be=Si+sn.length,sn}),nt+=`';
`;var un=Qn.call(p,"variable")&&p.variable;if(!un)nt=`with (obj) {
`+nt+`
}
`;else if(xu.test(un))throw new ht(t);nt=(_e?nt.replace(el,""):nt).replace(tl,"$1").replace(nl,"$1;"),nt="function("+(un||"obj")+`) {
`+(un?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(ie?", __e = _.escape":"")+(_e?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+nt+`return __p
}`;var Pn=yp(function(){return hn(G,zt+"return "+nt).apply(o,Z)});if(Pn.source=nt,a2(Pn))throw Pn;return Pn}function zg(f){return ar(f).toLowerCase()}function Wg(f){return ar(f).toUpperCase()}function qg(f,p,D){if(f=ar(f),f&&(D||p===o))return g0(f);if(!f||!(p=oo(p)))return f;var I=Vn(f),N=Vn(p),G=dl(I,N),Z=Os(I,N)+1;return Bs(I,G,Z).join("")}function g2(f,p,D){if(f=ar(f),f&&(D||p===o))return f.slice(0,ii(f)+1);if(!f||!(p=oo(p)))return f;var I=Vn(f),N=Os(I,Vn(p))+1;return Bs(I,0,N).join("")}function Hg(f,p,D){if(f=ar(f),f&&(D||p===o))return f.replace(ei,"");if(!f||!(p=oo(p)))return f;var I=Vn(f),N=dl(I,Vn(p));return Bs(I,N).join("")}function Vg(f,p){var D=Le,I=Ze;if(Gr(p)){var N="separator"in p?p.separator:N;D="length"in p?Fn(p.length):D,I="omission"in p?oo(p.omission):I}f=ar(f);var G=f.length;if(Li(f)){var Z=Vn(f);G=Z.length}if(D>=G)return f;var ie=D-Or(I);if(ie<1)return I;var _e=Z?Bs(Z,0,ie).join(""):f.slice(0,ie);if(N===o)return _e+I;if(Z&&(ie+=_e.length-ie),bc(N)){if(f.slice(ie).search(N)){var be,Ye=_e;for(N.global||(N=H0(N.source,ar(Jo.exec(N))+"g")),N.lastIndex=0;be=N.exec(Ye);)var nt=be.index;_e=_e.slice(0,nt===o?ie:nt)}}else if(f.indexOf(oo(N),ie)!=ie){var Et=_e.lastIndexOf(N);Et>-1&&(_e=_e.slice(0,Et))}return _e+I}function gp(f){return f=ar(f),f&&xr.test(f)?f.replace(rl,n0):f}var Gg=df(function(f,p,D){return f+(D?" ":"")+p.toUpperCase()}),_2=id("toUpperCase");function _p(f,p,D){return f=ar(f),p=D?o:p,p===o?Ms(f)?nf(f):f0(f):f.match(p)||[]}var yp=Ln(function(f,p){try{return $(f,o,p)}catch(D){return a2(D)?D:new ht(D)}}),bg=cu(function(f,p){return Pe(p,function(D){D=Wo(D),$0(f,D,s2(f[D],f))}),f});function wp(f){var p=f==null?0:f.length,D=on();return f=p?st(f,function(I){if(typeof I[1]!="function")throw new Wr(g);return[D(I[0]),I[1]]}):[],Ln(function(I){for(var N=-1;++N<p;){var G=f[N];if($(G[0],this,I))return $(G[1],this,I)}})}function Yg(f){return Hf(fi(f,E))}function y2(f){return function(){return f}}function $g(f,p){return f==null||f!==f?p:f}var Xg=ud(),Kg=ud(!0);function zi(f){return f}function w2(f){return X0(typeof f=="function"?f:fi(f,E))}function Jg(f){return qa(fi(f,E))}function Qg(f,p){return A1(f,fi(p,E))}var D2=Ln(function(f,p){return function(D){return io(D,f,p)}}),Zg=Ln(function(f,p){return function(D){return io(f,D,p)}});function E2(f,p,D){var I=L0(p),N=F(p,I);D==null&&!(Gr(p)&&(N.length||!I.length))&&(D=p,p=f,f=this,N=F(p,L0(p)));var G=!(Gr(D)&&"chain"in D)||!!D.chain,Z=$u(f);return Pe(N,function(ie){var _e=p[ie];f[ie]=_e,Z&&(f.prototype[ie]=function(){var be=this.__chain__;if(G||be){var Ye=f(this.__wrapped__),nt=Ye.__actions__=Vr(this.__actions__);return nt.push({func:_e,args:arguments,thisArg:f}),Ye.__chain__=be,Ye}return _e.apply(f,It([this.value()],arguments))})}),f}function Dp(){return Ar._===this&&(Ar._=_0),this}function C2(){}function e4(f){return f=Fn(f),Ln(function(p){return Ha(p,f)})}var t4=Yn(st),n4=Yn(rt),r4=Yn(rr);function S2(f){return $1(f)?$t(Wo(f)):yo(f)}function i4(f){return function(p){return f==null?o:V(f,p)}}var o4=ld(),u4=ld(!0);function T2(){return[]}function x2(){return!1}function s4(){return{}}function l4(){return""}function f4(){return!0}function c4(f,p){if(f=Fn(f),f<1||f>qt)return[];var D=ee,I=En(f,ee);p=on(p),f-=ee;for(var N=ri(I,p);++D<f;)p(D);return N}function k2(f){return Sn(f)?st(f,Wo):uo(f)?[f]:Vr(Dd(ar(f)))}function a4(f){var p=++Fs;return ar(f)+p}var d4=Mc(function(f,p){return f+p},0),Ep=U1("ceil"),p4=Mc(function(f,p){return f/p},1),h4=U1("floor");function m4(f){return f&&f.length?wl(f,zi,Ke):o}function v4(f,p){return f&&f.length?wl(f,on(p,2),Ke):o}function g4(f){return Dt(f,zi)}function Cp(f,p){return Dt(f,on(p,2))}function _4(f){return f&&f.length?wl(f,zi,k1):o}function y4(f,p){return f&&f.length?wl(f,on(p,2),k1):o}var w4=Mc(function(f,p){return f*p},1),D4=U1("round"),E4=Mc(function(f,p){return f-p},0);function C4(f){return f&&f.length?a0(f,zi):0}function S4(f,p){return f&&f.length?a0(f,on(p,2)):0}return z.after=_v,z.ary=Wd,z.assign=np,z.assignIn=rp,z.assignInWith=Xc,z.assignWith=Jv,z.at=Qv,z.before=qd,z.bind=s2,z.bindAll=bg,z.bindKey=Hd,z.castArray=kv,z.chain=Pd,z.chunk=cm,z.compact=am,z.concat=dm,z.cond=wp,z.conforms=Yg,z.constant=y2,z.countBy=jc,z.create=Zv,z.curry=l2,z.curryRight=Vd,z.debounce=Gd,z.defaults=ip,z.defaultsDeep=eg,z.defer=yv,z.delay=bd,z.difference=pm,z.differenceBy=au,z.differenceWith=du,z.drop=bu,z.dropRight=Yu,z.dropRightWhile=hm,z.dropWhile=mm,z.fill=vm,z.filter=nv,z.flatMap=iv,z.flatMapDeep=ov,z.flatMapDepth=Nd,z.flatten=Sd,z.flattenDeep=gm,z.flattenDepth=Td,z.flip=wv,z.flow=Xg,z.flowRight=Kg,z.fromPairs=_m,z.functions=sg,z.functionsIn=lg,z.groupBy=uv,z.initial=wm,z.intersection=Dm,z.intersectionBy=kd,z.intersectionWith=Em,z.invert=op,z.invertBy=cg,z.invokeMap=lv,z.iteratee=w2,z.keyBy=jd,z.keys=L0,z.keysIn=ji,z.map=zc,z.mapKeys=dg,z.mapValues=up,z.matches=Jg,z.matchesProperty=Qg,z.memoize=Wc,z.merge=pg,z.mergeWith=sp,z.method=D2,z.methodOf=Zg,z.mixin=E2,z.negate=qc,z.nthArg=e4,z.omit=hg,z.omitBy=mg,z.once=Hc,z.orderBy=fv,z.over=t4,z.overArgs=Dv,z.overEvery=n4,z.overSome=r4,z.partial=f2,z.partialRight=Vc,z.partition=cv,z.pick=vg,z.pickBy=lp,z.property=S2,z.propertyOf=i4,z.pull=xm,z.pullAll=Ad,z.pullAllBy=Od,z.pullAllWith=km,z.pullAt=Am,z.range=o4,z.rangeRight=u4,z.rearg=Ev,z.reject=dv,z.remove=e2,z.rest=Cv,z.reverse=t2,z.sampleSize=hv,z.set=fp,z.setWith=cp,z.shuffle=mv,z.slice=Om,z.sortBy=gv,z.sortedUniq=Md,z.sortedUniqBy=Lm,z.split=Ng,z.spread=Yd,z.tail=Nm,z.take=Bm,z.takeRight=Um,z.takeRightWhile=jm,z.takeWhile=zm,z.tap=Ld,z.throttle=Sv,z.thru=Uc,z.toArray=ep,z.toPairs=ap,z.toPairsIn=dp,z.toPath=k2,z.toPlainObject=$c,z.transform=m2,z.unary=Tv,z.union=Wm,z.unionBy=js,z.unionWith=zs,z.uniq=Ws,z.uniqBy=qm,z.uniqWith=n2,z.unset=_g,z.unzip=r2,z.unzipWith=Fd,z.update=yg,z.updateWith=wg,z.values=mf,z.valuesIn=Dg,z.without=i2,z.words=_p,z.wrap=xv,z.xor=Hm,z.xorBy=Vm,z.xorWith=Rd,z.zip=Gm,z.zipObject=bm,z.zipObjectDeep=Ym,z.zipWith=$m,z.entries=ap,z.entriesIn=dp,z.extend=rp,z.extendWith=Xc,E2(z,z),z.add=d4,z.attempt=yp,z.camelCase=Tg,z.capitalize=pp,z.ceil=Ep,z.clamp=Eg,z.clone=Av,z.cloneDeep=Ov,z.cloneDeepWith=Iv,z.cloneWith=$d,z.conformsTo=Mv,z.deburr=hp,z.defaultTo=$g,z.divide=p4,z.endsWith=xg,z.eq=So,z.escape=v2,z.escapeRegExp=kg,z.every=tv,z.find=rv,z.findIndex=Cd,z.findKey=tg,z.findLast=o2,z.findLastIndex=Bc,z.findLastKey=ng,z.floor=h4,z.forEach=Bd,z.forEachRight=Ud,z.forIn=rg,z.forInRight=ig,z.forOwn=og,z.forOwnRight=ug,z.get=Qf,z.gt=Fv,z.gte=Rv,z.has=fg,z.hasIn=h2,z.head=xd,z.identity=zi,z.includes=sv,z.indexOf=ym,z.inRange=Cg,z.invoke=ag,z.isArguments=xl,z.isArray=Sn,z.isArrayBuffer=c2,z.isArrayLike=Ui,z.isArrayLikeObject=o0,z.isBoolean=Pv,z.isBuffer=pu,z.isDate=Lv,z.isElement=Nv,z.isEmpty=Xd,z.isEqual=Bv,z.isEqualWith=Uv,z.isError=a2,z.isFinite=jv,z.isFunction=$u,z.isInteger=d2,z.isLength=Gc,z.isMap=Kd,z.isMatch=zv,z.isMatchWith=Wv,z.isNaN=qv,z.isNative=Hv,z.isNil=p2,z.isNull=Vv,z.isNumber=Jd,z.isObject=Gr,z.isObjectLike=Jr,z.isPlainObject=Jf,z.isRegExp=bc,z.isSafeInteger=Gv,z.isSet=Qd,z.isString=Yc,z.isSymbol=uo,z.isTypedArray=hf,z.isUndefined=Zd,z.isWeakMap=bv,z.isWeakSet=Yv,z.join=Cm,z.kebabCase=Ag,z.last=Co,z.lastIndexOf=Sm,z.lowerCase=mp,z.lowerFirst=Og,z.lt=$v,z.lte=Xv,z.max=m4,z.maxBy=v4,z.mean=g4,z.meanBy=Cp,z.min=_4,z.minBy=y4,z.stubArray=T2,z.stubFalse=x2,z.stubObject=s4,z.stubString=l4,z.stubTrue=f4,z.multiply=w4,z.nth=Tm,z.noConflict=Dp,z.noop=C2,z.now=Kf,z.pad=Ig,z.padEnd=Mg,z.padStart=Fg,z.parseInt=Rg,z.random=Sg,z.reduce=zd,z.reduceRight=av,z.repeat=vp,z.replace=Pg,z.result=gg,z.round=D4,z.runInContext=le,z.sample=pv,z.size=u2,z.snakeCase=Lg,z.some=vv,z.sortedIndex=Id,z.sortedIndexBy=Im,z.sortedIndexOf=Mm,z.sortedLastIndex=Fm,z.sortedLastIndexBy=Rm,z.sortedLastIndexOf=Pm,z.startCase=Bg,z.startsWith=Ug,z.subtract=E4,z.sum=C4,z.sumBy=S4,z.template=jg,z.times=c4,z.toFinite=Xu,z.toInteger=Fn,z.toLength=tp,z.toLower=zg,z.toNumber=To,z.toSafeInteger=Kv,z.toString=ar,z.toUpper=Wg,z.trim=qg,z.trimEnd=g2,z.trimStart=Hg,z.truncate=Vg,z.unescape=gp,z.uniqueId=a4,z.upperCase=Gg,z.upperFirst=_2,z.each=Bd,z.eachRight=Ud,z.first=xd,E2(z,function(){var f={};return C(z,function(p,D){Qn.call(z.prototype,D)||(f[D]=p)}),f}(),{chain:!1}),z.VERSION=u,Pe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(f){z[f].placeholder=z}),Pe(["drop","take"],function(f,p){Qt.prototype[f]=function(D){D=D===o?1:pr(Fn(D),0);var I=this.__filtered__&&!p?new Qt(this):this.clone();return I.__filtered__?I.__takeCount__=En(D,I.__takeCount__):I.__views__.push({size:En(D,ee),type:f+(I.__dir__<0?"Right":"")}),I},Qt.prototype[f+"Right"]=function(D){return this.reverse()[f](D).reverse()}}),Pe(["filter","map","takeWhile"],function(f,p){var D=p+1,I=D==je||D==Ft;Qt.prototype[f]=function(N){var G=this.clone();return G.__iteratees__.push({iteratee:on(N,3),type:D}),G.__filtered__=G.__filtered__||I,G}}),Pe(["head","last"],function(f,p){var D="take"+(p?"Right":"");Qt.prototype[f]=function(){return this[D](1).value()[0]}}),Pe(["initial","tail"],function(f,p){var D="drop"+(p?"":"Right");Qt.prototype[f]=function(){return this.__filtered__?new Qt(this):this[D](1)}}),Qt.prototype.compact=function(){return this.filter(zi)},Qt.prototype.find=function(f){return this.filter(f).head()},Qt.prototype.findLast=function(f){return this.reverse().find(f)},Qt.prototype.invokeMap=Ln(function(f,p){return typeof f=="function"?new Qt(this):this.map(function(D){return io(D,f,p)})}),Qt.prototype.reject=function(f){return this.filter(qc(on(f)))},Qt.prototype.slice=function(f,p){f=Fn(f);var D=this;return D.__filtered__&&(f>0||p<0)?new Qt(D):(f<0?D=D.takeRight(-f):f&&(D=D.drop(f)),p!==o&&(p=Fn(p),D=p<0?D.dropRight(-p):D.take(p-f)),D)},Qt.prototype.takeRightWhile=function(f){return this.reverse().takeWhile(f).reverse()},Qt.prototype.toArray=function(){return this.take(ee)},C(Qt.prototype,function(f,p){var D=/^(?:filter|find|map|reject)|While$/.test(p),I=/^(?:head|last)$/.test(p),N=z[I?"take"+(p=="last"?"Right":""):p],G=I||/^find/.test(p);!N||(z.prototype[p]=function(){var Z=this.__wrapped__,ie=I?[1]:arguments,_e=Z instanceof Qt,be=ie[0],Ye=_e||Sn(Z),nt=function(zn){var $n=N.apply(z,It([zn],ie));return I&&Et?$n[0]:$n};Ye&&D&&typeof be=="function"&&be.length!=1&&(_e=Ye=!1);var Et=this.__chain__,zt=!!this.__actions__.length,un=G&&!Et,Pn=_e&&!zt;if(!G&&Ye){Z=Pn?Z:new Qt(this);var sn=f.apply(Z,ie);return sn.__actions__.push({func:Uc,args:[nt],thisArg:o}),new bn(sn,Et)}return un&&Pn?f.apply(this,ie):(sn=this.thru(nt),un?I?sn.value()[0]:sn.value():sn)})}),Pe(["pop","push","shift","sort","splice","unshift"],function(f){var p=qr[f],D=/^(?:push|sort|unshift)$/.test(f)?"tap":"thru",I=/^(?:pop|shift)$/.test(f);z.prototype[f]=function(){var N=arguments;if(I&&!this.__chain__){var G=this.value();return p.apply(Sn(G)?G:[],N)}return this[D](function(Z){return p.apply(Sn(Z)?Z:[],N)})}}),C(Qt.prototype,function(f,p){var D=z[p];if(D){var I=D.name+"";Qn.call(jt,I)||(jt[I]=[]),jt[I].push({name:p,func:D})}}),jt[Ic(o,me).name]=[{name:"wrapper",func:o}],Qt.prototype.clone=i0,Qt.prototype.reverse=Kr,Qt.prototype.value=h0,z.prototype.at=Xm,z.prototype.chain=Km,z.prototype.commit=Jm,z.prototype.next=Qm,z.prototype.plant=ev,z.prototype.reverse=Sl,z.prototype.toJSON=z.prototype.valueOf=z.prototype.value=Tl,z.prototype.first=z.prototype.head,r0&&(z.prototype[r0]=Zm),z},q0=W0();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(Ar._=q0,define(function(){return q0})):P?((P.exports=q0)._=q0,R._=q0):Ar._=q0}).call(l1)});var E_=et((XB,D_)=>{"use strict";var tr=D_.exports;D_.exports.default=tr;var Tr="[",q2="]",f1="\x07",Vp=";",v8=process.env.TERM_PROGRAM==="Apple_Terminal";tr.cursorTo=(o,u)=>{if(typeof o!="number")throw new TypeError("The `x` argument is required");return typeof u!="number"?Tr+(o+1)+"G":Tr+(u+1)+";"+(o+1)+"H"};tr.cursorMove=(o,u)=>{if(typeof o!="number")throw new TypeError("The `x` argument is required");let c="";return o<0?c+=Tr+-o+"D":o>0&&(c+=Tr+o+"C"),u<0?c+=Tr+-u+"A":u>0&&(c+=Tr+u+"B"),c};tr.cursorUp=(o=1)=>Tr+o+"A";tr.cursorDown=(o=1)=>Tr+o+"B";tr.cursorForward=(o=1)=>Tr+o+"C";tr.cursorBackward=(o=1)=>Tr+o+"D";tr.cursorLeft=Tr+"G";tr.cursorSavePosition=v8?"7":Tr+"s";tr.cursorRestorePosition=v8?"8":Tr+"u";tr.cursorGetPosition=Tr+"6n";tr.cursorNextLine=Tr+"E";tr.cursorPrevLine=Tr+"F";tr.cursorHide=Tr+"?25l";tr.cursorShow=Tr+"?25h";tr.eraseLines=o=>{let u="";for(let c=0;c<o;c++)u+=tr.eraseLine+(c<o-1?tr.cursorUp():"");return o&&(u+=tr.cursorLeft),u};tr.eraseEndLine=Tr+"K";tr.eraseStartLine=Tr+"1K";tr.eraseLine=Tr+"2K";tr.eraseDown=Tr+"J";tr.eraseUp=Tr+"1J";tr.eraseScreen=Tr+"2J";tr.scrollUp=Tr+"S";tr.scrollDown=Tr+"T";tr.clearScreen="c";tr.clearTerminal=process.platform==="win32"?`${tr.eraseScreen}${Tr}0f`:`${tr.eraseScreen}${Tr}3J${Tr}H`;tr.beep=f1;tr.link=(o,u)=>[q2,"8",Vp,Vp,u,f1,o,q2,"8",Vp,Vp,f1].join("");tr.image=(o,u={})=>{let c=`${q2}1337;File=inline=1`;return u.width&&(c+=`;width=${u.width}`),u.height&&(c+=`;height=${u.height}`),u.preserveAspectRatio===!1&&(c+=";preserveAspectRatio=0"),c+":"+o.toString("base64")+f1};tr.iTerm={setCwd:(o=process.cwd())=>`${q2}50;CurrentDir=${o}${f1}`,annotation:(o,u={})=>{let c=`${q2}1337;`,d=typeof u.x!="undefined",g=typeof u.y!="undefined";if((d||g)&&!(d&&g&&typeof u.length!="undefined"))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return o=o.replace(/\|/g,""),c+=u.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",u.length>0?c+=(d?[o,u.length,u.x,u.y]:[u.length,o]).join("|"):c+=o,c+f1}}});var _8=et((KB,C_)=>{"use strict";var g8=(o,u)=>{for(let c of Reflect.ownKeys(u))Object.defineProperty(o,c,Object.getOwnPropertyDescriptor(u,c));return o};C_.exports=g8;C_.exports.default=g8});var w8=et((JB,Gp)=>{"use strict";var WF=_8(),bp=new WeakMap,y8=(o,u={})=>{if(typeof o!="function")throw new TypeError("Expected a function");let c,d=!1,g=0,t=o.displayName||o.name||"<anonymous>",x=function(...A){if(bp.set(x,++g),d){if(u.throw===!0)throw new Error(`Function \`${t}\` can only be called once`);return c}return d=!0,c=o.apply(this,A),o=null,c};return WF(x,o),bp.set(x,g),x};Gp.exports=y8;Gp.exports.default=y8;Gp.exports.callCount=o=>{if(!bp.has(o))throw new Error(`The given function \`${o.name}\` is not wrapped by the \`onetime\` package`);return bp.get(o)}});var D8=et((QB,Yp)=>{Yp.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&Yp.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Yp.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var k_=et((ZB,H2)=>{var qF=require("assert"),V2=D8(),HF=/^win/i.test(process.platform),$p=require("events");typeof $p!="function"&&($p=$p.EventEmitter);var Oi;process.__signal_exit_emitter__?Oi=process.__signal_exit_emitter__:(Oi=process.__signal_exit_emitter__=new $p,Oi.count=0,Oi.emitted={});Oi.infinite||(Oi.setMaxListeners(Infinity),Oi.infinite=!0);H2.exports=function(o,u){qF.equal(typeof o,"function","a callback must be provided for exit handler"),G2===!1&&E8();var c="exit";u&&u.alwaysLast&&(c="afterexit");var d=function(){Oi.removeListener(c,o),Oi.listeners("exit").length===0&&Oi.listeners("afterexit").length===0&&S_()};return Oi.on(c,o),d};H2.exports.unload=S_;function S_(){!G2||(G2=!1,V2.forEach(function(o){try{process.removeListener(o,T_[o])}catch(u){}}),process.emit=x_,process.reallyExit=C8,Oi.count-=1)}function c1(o,u,c){Oi.emitted[o]||(Oi.emitted[o]=!0,Oi.emit(o,u,c))}var T_={};V2.forEach(function(o){T_[o]=function(){var c=process.listeners(o);c.length===Oi.count&&(S_(),c1("exit",null,o),c1("afterexit",null,o),HF&&o==="SIGHUP"&&(o="SIGINT"),process.kill(process.pid,o))}});H2.exports.signals=function(){return V2};H2.exports.load=E8;var G2=!1;function E8(){G2||(G2=!0,Oi.count+=1,V2=V2.filter(function(o){try{return process.on(o,T_[o]),!0}catch(u){return!1}}),process.emit=GF,process.reallyExit=VF)}var C8=process.reallyExit;function VF(o){process.exitCode=o||0,c1("exit",process.exitCode,null),c1("afterexit",process.exitCode,null),C8.call(process,process.exitCode)}var x_=process.emit;function GF(o,u){if(o==="exit"){u!==void 0&&(process.exitCode=u);var c=x_.apply(this,arguments);return c1("exit",process.exitCode,null),c1("afterexit",process.exitCode,null),c}else return x_.apply(this,arguments)}});var T8=et((eU,S8)=>{"use strict";var bF=w8(),YF=k_();S8.exports=bF(()=>{YF(()=>{process.stderr.write("[?25h")},{alwaysLast:!0})})});var A_=et(a1=>{"use strict";var $F=T8(),Xp=!1;a1.show=(o=process.stderr)=>{!o.isTTY||(Xp=!1,o.write("[?25h"))};a1.hide=(o=process.stderr)=>{!o.isTTY||($F(),Xp=!0,o.write("[?25l"))};a1.toggle=(o,u)=>{o!==void 0&&(Xp=o),Xp?a1.show(u):a1.hide(u)}});var O8=et(b2=>{"use strict";var x8=b2&&b2.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(b2,"__esModule",{value:!0});var k8=x8(E_()),A8=x8(A_()),XF=(o,{showCursor:u=!1}={})=>{let c=0,d="",g=!1,t=x=>{!u&&!g&&(A8.default.hide(),g=!0);let A=x+`
`;A!==d&&(d=A,o.write(k8.default.eraseLines(c)+A),c=A.split(`
`).length)};return t.clear=()=>{o.write(k8.default.eraseLines(c)),d="",c=0},t.done=()=>{d="",c=0,u||(A8.default.show(),g=!1)},t};b2.default={create:XF}});var M8=et((rU,I8)=>{I8.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 P8=et($o=>{"use strict";var F8=M8(),Ys=process.env;Object.defineProperty($o,"_vendors",{value:F8.map(function(o){return o.constant})});$o.name=null;$o.isPR=null;F8.forEach(function(o){var u=Array.isArray(o.env)?o.env:[o.env],c=u.every(function(d){return R8(d)});if($o[o.constant]=c,c)switch($o.name=o.name,typeof o.pr){case"string":$o.isPR=!!Ys[o.pr];break;case"object":"env"in o.pr?$o.isPR=o.pr.env in Ys&&Ys[o.pr.env]!==o.pr.ne:"any"in o.pr?$o.isPR=o.pr.any.some(function(d){return!!Ys[d]}):$o.isPR=R8(o.pr);break;default:$o.isPR=null}});$o.isCI=!!(Ys.CI||Ys.CONTINUOUS_INTEGRATION||Ys.BUILD_NUMBER||Ys.RUN_ID||$o.name);function R8(o){return typeof o=="string"?!!Ys[o]:Object.keys(o).every(function(u){return Ys[u]===o[u]})}});var N8=et((oU,L8)=>{"use strict";L8.exports=P8().isCI});var U8=et((uU,B8)=>{"use strict";var KF=o=>{let u=new Set;do for(let c of Reflect.ownKeys(o))u.add([o,c]);while((o=Reflect.getPrototypeOf(o))&&o!==Object.prototype);return u};B8.exports=(o,{include:u,exclude:c}={})=>{let d=g=>{let t=x=>typeof x=="string"?g===x:x.test(g);return u?u.some(t):c?!c.some(t):!0};for(let[g,t]of KF(o.constructor.prototype)){if(t==="constructor"||!d(t))continue;let x=Reflect.getOwnPropertyDescriptor(g,t);x&&typeof x.value=="function"&&(o[t]=o[t].bind(o))}return o}});var G8=et(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});var d1,Y2,Kp,Jp,O_;typeof window=="undefined"||typeof MessageChannel!="function"?(p1=null,I_=null,M_=function(){if(p1!==null)try{var o=vr.unstable_now();p1(!0,o),p1=null}catch(u){throw setTimeout(M_,0),u}},j8=Date.now(),vr.unstable_now=function(){return Date.now()-j8},d1=function(o){p1!==null?setTimeout(d1,0,o):(p1=o,setTimeout(M_,0))},Y2=function(o,u){I_=setTimeout(o,u)},Kp=function(){clearTimeout(I_)},Jp=function(){return!1},O_=vr.unstable_forceFrameRate=function(){}):(Qp=window.performance,F_=window.Date,z8=window.setTimeout,W8=window.clearTimeout,typeof console!="undefined"&&(q8=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 q8!="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 Qp=="object"&&typeof Qp.now=="function"?vr.unstable_now=function(){return Qp.now()}:(H8=F_.now(),vr.unstable_now=function(){return F_.now()-H8}),$2=!1,X2=null,Zp=-1,R_=5,P_=0,Jp=function(){return vr.unstable_now()>=P_},O_=function(){},vr.unstable_forceFrameRate=function(o){0>o||125<o?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):R_=0<o?Math.floor(1e3/o):5},L_=new MessageChannel,eh=L_.port2,L_.port1.onmessage=function(){if(X2!==null){var o=vr.unstable_now();P_=o+R_;try{X2(!0,o)?eh.postMessage(null):($2=!1,X2=null)}catch(u){throw eh.postMessage(null),u}}else $2=!1},d1=function(o){X2=o,$2||($2=!0,eh.postMessage(null))},Y2=function(o,u){Zp=z8(function(){o(vr.unstable_now())},u)},Kp=function(){W8(Zp),Zp=-1});var p1,I_,M_,j8,Qp,F_,z8,W8,q8,H8,$2,X2,Zp,R_,P_,L_,eh;function N_(o,u){var c=o.length;o.push(u);e:for(;;){var d=Math.floor((c-1)/2),g=o[d];if(g!==void 0&&0<th(g,u))o[d]=u,o[c]=g,c=d;else break e}}function Du(o){return o=o[0],o===void 0?null:o}function nh(o){var u=o[0];if(u!==void 0){var c=o.pop();if(c!==u){o[0]=c;e:for(var d=0,g=o.length;d<g;){var t=2*(d+1)-1,x=o[t],A=t+1,k=o[A];if(x!==void 0&&0>th(x,c))k!==void 0&&0>th(k,x)?(o[d]=k,o[A]=c,d=A):(o[d]=x,o[t]=c,d=t);else if(k!==void 0&&0>th(k,c))o[d]=k,o[A]=c,d=A;else break e}}return u}return null}function th(o,u){var c=o.sortIndex-u.sortIndex;return c!==0?c:o.id-u.id}var is=[],Mf=[],JF=1,fo=null,Yi=3,rh=!1,uc=!1,K2=!1;function ih(o){for(var u=Du(Mf);u!==null;){if(u.callback===null)nh(Mf);else if(u.startTime<=o)nh(Mf),u.sortIndex=u.expirationTime,N_(is,u);else break;u=Du(Mf)}}function B_(o){if(K2=!1,ih(o),!uc)if(Du(is)!==null)uc=!0,d1(U_);else{var u=Du(Mf);u!==null&&Y2(B_,u.startTime-o)}}function U_(o,u){uc=!1,K2&&(K2=!1,Kp()),rh=!0;var c=Yi;try{for(ih(u),fo=Du(is);fo!==null&&(!(fo.expirationTime>u)||o&&!Jp());){var d=fo.callback;if(d!==null){fo.callback=null,Yi=fo.priorityLevel;var g=d(fo.expirationTime<=u);u=vr.unstable_now(),typeof g=="function"?fo.callback=g:fo===Du(is)&&nh(is),ih(u)}else nh(is);fo=Du(is)}if(fo!==null)var t=!0;else{var x=Du(Mf);x!==null&&Y2(B_,x.startTime-u),t=!1}return t}finally{fo=null,Yi=c,rh=!1}}function V8(o){switch(o){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var QF=O_;vr.unstable_ImmediatePriority=1;vr.unstable_UserBlockingPriority=2;vr.unstable_NormalPriority=3;vr.unstable_IdlePriority=5;vr.unstable_LowPriority=4;vr.unstable_runWithPriority=function(o,u){switch(o){case 1:case 2:case 3:case 4:case 5:break;default:o=3}var c=Yi;Yi=o;try{return u()}finally{Yi=c}};vr.unstable_next=function(o){switch(Yi){case 1:case 2:case 3:var u=3;break;default:u=Yi}var c=Yi;Yi=u;try{return o()}finally{Yi=c}};vr.unstable_scheduleCallback=function(o,u,c){var d=vr.unstable_now();if(typeof c=="object"&&c!==null){var g=c.delay;g=typeof g=="number"&&0<g?d+g:d,c=typeof c.timeout=="number"?c.timeout:V8(o)}else c=V8(o),g=d;return c=g+c,o={id:JF++,callback:u,priorityLevel:o,startTime:g,expirationTime:c,sortIndex:-1},g>d?(o.sortIndex=g,N_(Mf,o),Du(is)===null&&o===Du(Mf)&&(K2?Kp():K2=!0,Y2(B_,g-d))):(o.sortIndex=c,N_(is,o),uc||rh||(uc=!0,d1(U_))),o};vr.unstable_cancelCallback=function(o){o.callback=null};vr.unstable_wrapCallback=function(o){var u=Yi;return function(){var c=Yi;Yi=u;try{return o.apply(this,arguments)}finally{Yi=c}}};vr.unstable_getCurrentPriorityLevel=function(){return Yi};vr.unstable_shouldYield=function(){var o=vr.unstable_now();ih(o);var u=Du(is);return u!==fo&&fo!==null&&u!==null&&u.callback!==null&&u.startTime<=o&&u.expirationTime<fo.expirationTime||Jp()};vr.unstable_requestPaint=QF;vr.unstable_continueExecution=function(){uc||rh||(uc=!0,d1(U_))};vr.unstable_pauseExecution=function(){};vr.unstable_getFirstCallbackNode=function(){return Du(is)};vr.unstable_Profiling=null});var j_=et((lU,b8)=>{"use strict";b8.exports=G8()});var Y8=et((fU,J2)=>{J2.exports=function o(u){"use strict";var c=a_(),d=Sr(),g=j_();function t(v){for(var h="https://reactjs.org/docs/error-decoder.html?invariant="+v,C=1;C<arguments.length;C++)h+="&args[]="+encodeURIComponent(arguments[C]);return"Minified React error #"+v+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var x=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;x.hasOwnProperty("ReactCurrentDispatcher")||(x.ReactCurrentDispatcher={current:null}),x.hasOwnProperty("ReactCurrentBatchConfig")||(x.ReactCurrentBatchConfig={suspense:null});var A=typeof Symbol=="function"&&Symbol.for,k=A?Symbol.for("react.element"):60103,E=A?Symbol.for("react.portal"):60106,L=A?Symbol.for("react.fragment"):60107,B=A?Symbol.for("react.strict_mode"):60108,W=A?Symbol.for("react.profiler"):60114,X=A?Symbol.for("react.provider"):60109,m=A?Symbol.for("react.context"):60110,me=A?Symbol.for("react.concurrent_mode"):60111,ye=A?Symbol.for("react.forward_ref"):60112,se=A?Symbol.for("react.suspense"):60113,Ee=A?Symbol.for("react.suspense_list"):60120,We=A?Symbol.for("react.memo"):60115,Se=A?Symbol.for("react.lazy"):60116;A&&Symbol.for("react.fundamental"),A&&Symbol.for("react.responder"),A&&Symbol.for("react.scope");var Me=typeof Symbol=="function"&&Symbol.iterator;function te(v){return v===null||typeof v!="object"?null:(v=Me&&v[Me]||v["@@iterator"],typeof v=="function"?v:null)}function Oe(v){if(v._status===-1){v._status=0;var h=v._ctor;h=h(),v._result=h,h.then(function(C){v._status===0&&(C=C.default,v._status=1,v._result=C)},function(C){v._status===0&&(v._status=2,v._result=C)})}}function Le(v){if(v==null)return null;if(typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case L:return"Fragment";case E:return"Portal";case W:return"Profiler";case B:return"StrictMode";case se:return"Suspense";case Ee:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case m:return"Context.Consumer";case X:return"Context.Provider";case ye:var h=v.render;return h=h.displayName||h.name||"",v.displayName||(h!==""?"ForwardRef("+h+")":"ForwardRef");case We:return Le(v.type);case Se:if(v=v._status===1?v._result:null)return Le(v)}return null}function Ze(v){var h=v,C=v;if(v.alternate)for(;h.return;)h=h.return;else{v=h;do h=v,(h.effectTag&1026)!=0&&(C=h.return),v=h.return;while(v)}return h.tag===3?C:null}function dt(v){if(Ze(v)!==v)throw Error(t(188))}function ct(v){var h=v.alternate;if(!h){if(h=Ze(v),h===null)throw Error(t(188));return h!==v?null:v}for(var C=v,O=h;;){var F=C.return;if(F===null)break;var V=F.alternate;if(V===null){if(O=F.return,O!==null){C=O;continue}break}if(F.child===V.child){for(V=F.child;V;){if(V===C)return dt(F),v;if(V===O)return dt(F),h;V=V.sibling}throw Error(t(188))}if(C.return!==O.return)C=F,O=V;else{for(var Q=!1,Ge=F.child;Ge;){if(Ge===C){Q=!0,C=F,O=V;break}if(Ge===O){Q=!0,O=F,C=V;break}Ge=Ge.sibling}if(!Q){for(Ge=V.child;Ge;){if(Ge===C){Q=!0,C=V,O=F;break}if(Ge===O){Q=!0,O=V,C=F;break}Ge=Ge.sibling}if(!Q)throw Error(t(189))}}if(C.alternate!==O)throw Error(t(190))}if(C.tag!==3)throw Error(t(188));return C.stateNode.current===C?v:h}function je(v){if(v=ct(v),!v)return null;for(var h=v;;){if(h.tag===5||h.tag===6)return h;if(h.child)h.child.return=h,h=h.child;else{if(h===v)break;for(;!h.sibling;){if(!h.return||h.return===v)return null;h=h.return}h.sibling.return=h.return,h=h.sibling}}return null}function Ve(v){if(v=ct(v),!v)return null;for(var h=v;;){if(h.tag===5||h.tag===6)return h;if(h.child&&h.tag!==4)h.child.return=h,h=h.child;else{if(h===v)break;for(;!h.sibling;){if(!h.return||h.return===v)return null;h=h.return}h.sibling.return=h.return,h=h.sibling}}return null}var Ft=u.getPublicInstance,Ot=u.getRootHostContext,qt=u.getChildHostContext,tt=u.prepareForCommit,b=u.resetAfterCommit,ee=u.createInstance,pe=u.appendInitialChild,J=u.finalizeInitialChildren,Te=u.prepareUpdate,ft=u.shouldSetTextContent,it=u.shouldDeprioritizeSubtree,kt=u.createTextInstance,Pt=u.setTimeout,ln=u.clearTimeout,Rn=u.noTimeout,Yt=u.isPrimaryRenderer,Ht=u.supportsMutation,nr=u.supportsPersistence,w=u.supportsHydration,at=u.appendChild,kn=u.appendChildToContainer,Mn=u.commitTextUpdate,Hn=u.commitMount,lr=u.commitUpdate,fr=u.insertBefore,e0=u.insertInContainerBefore,vi=u.removeChild,co=u.removeChildFromContainer,ds=u.resetTextContent,Cu=u.hideInstance,Uf=u.hideTextInstance,Xo=u.unhideInstance,Ko=u.unhideTextInstance,Js=u.cloneInstance,Qs=u.createContainerChildSet,ps=u.appendChildToContainerChildSet,Io=u.finalizeContainerChildren,Zs=u.replaceContainerChildren,hs=u.cloneHiddenInstance,ms=u.cloneHiddenTextInstance,gi=u.canHydrateInstance,Su=u.canHydrateTextInstance,el=u.isSuspenseInstancePending,tl=u.isSuspenseInstanceFallback,nl=u.getNextHydratableSibling,rl=u.getFirstHydratableChild,Mi=u.hydrateInstance,xr=u.hydrateTextInstance,gc=u.getNextHydratableInstanceAfterSuspenseInstance,Jl=u.commitHydratedContainer,vs=u.commitHydratedSuspenseInstance,gs=/^(.*)[\\\/]/;function il(v){var h="";do{e:switch(v.tag){case 3:case 4:case 6:case 7:case 10:case 9:var C="";break e;default:var O=v._debugOwner,F=v._debugSource,V=Le(v.type);C=null,O&&(C=Le(O.type)),O=V,V="",F?V=" (at "+F.fileName.replace(gs,"")+":"+F.lineNumber+")":C&&(V=" (created by "+C+")"),C=`
in `+(O||"Unknown")+V}h+=C,v=v.return}while(v);return h}new Set;var Fi=[],Mo=-1;function wr(v){0>Mo||(v.current=Fi[Mo],Fi[Mo]=null,Mo--)}function kr(v,h){Mo++,Fi[Mo]=v.current,v.current=h}var ei={},N0={current:ei},B0={current:!1},Mt=ei;function Tu(v,h){var C=v.type.contextTypes;if(!C)return ei;var O=v.stateNode;if(O&&O.__reactInternalMemoizedUnmaskedChildContext===h)return O.__reactInternalMemoizedMaskedChildContext;var F={},V;for(V in C)F[V]=h[V];return O&&(v=v.stateNode,v.__reactInternalMemoizedUnmaskedChildContext=h,v.__reactInternalMemoizedMaskedChildContext=F),F}function s0(v){return v=v.childContextTypes,v!=null}function xu(v){wr(B0,v),wr(N0,v)}function _s(v){wr(B0,v),wr(N0,v)}function ys(v,h,C){if(N0.current!==ei)throw Error(t(168));kr(N0,h,v),kr(B0,C,v)}function Jo(v,h,C){var O=v.stateNode;if(v=h.childContextTypes,typeof O.getChildContext!="function")return C;O=O.getChildContext();for(var F in O)if(!(F in v))throw Error(t(108,Le(h)||"Unknown",F));return c({},C,{},O)}function ao(v){var h=v.stateNode;return h=h&&h.__reactInternalMemoizedMergedChildContext||ei,Mt=N0.current,kr(N0,h,v),kr(B0,B0.current,v),!0}function Fo(v,h,C){var O=v.stateNode;if(!O)throw Error(t(169));C?(h=Jo(v,h,Mt),O.__reactInternalMemoizedMergedChildContext=h,wr(B0,v),wr(N0,v),kr(N0,h,v)):wr(B0,v),kr(B0,C,v)}var ws=g.unstable_runWithPriority,Ds=g.unstable_scheduleCallback,Ql=g.unstable_cancelCallback,dn=g.unstable_shouldYield,ku=g.unstable_requestPaint,Ro=g.unstable_now,Qo=g.unstable_getCurrentPriorityLevel,Es=g.unstable_ImmediatePriority,ol=g.unstable_UserBlockingPriority,jf=g.unstable_NormalPriority,ul=g.unstable_LowPriority,Au=g.unstable_IdlePriority,Ou={},Zl=ku!==void 0?ku:function(){},Xi=null,Cs=null,sl=!1,Iu=Ro(),U0=1e4>Iu?Ro:function(){return Ro()-Iu};function Ss(){switch(Qo()){case Es:return 99;case ol:return 98;case jf:return 97;case ul:return 96;case Au:return 95;default:throw Error(t(332))}}function Qe(v){switch(v){case 99:return Es;case 98:return ol;case 97:return jf;case 96:return ul;case 95:return Au;default:throw Error(t(332))}}function Ri(v,h){return v=Qe(v),ws(v,h)}function Zo(v,h,C){return v=Qe(v),Ds(v,h,C)}function Po(v){return Xi===null?(Xi=[v],Cs=Ds(Es,ll)):Xi.push(v),Ou}function S0(){if(Cs!==null){var v=Cs;Cs=null,Ql(v)}ll()}function ll(){if(!sl&&Xi!==null){sl=!0;var v=0;try{var h=Xi;Ri(99,function(){for(;v<h.length;v++){var C=h[v];do C=C(!0);while(C!==null)}}),Xi=null}catch(C){throw Xi!==null&&(Xi=Xi.slice(v+1)),Ds(Es,S0),C}finally{sl=!1}}}var fl=3;function eu(v,h,C){return C/=10,1073741821-(((1073741821-v+h/10)/C|0)+1)*C}function cl(v,h){return v===h&&(v!==0||1/v==1/h)||v!==v&&h!==h}var gn=typeof Object.is=="function"?Object.is:cl,vt=Object.prototype.hasOwnProperty;function Kt(v,h){if(gn(v,h))return!0;if(typeof v!="object"||v===null||typeof h!="object"||h===null)return!1;var C=Object.keys(v),O=Object.keys(h);if(C.length!==O.length)return!1;for(O=0;O<C.length;O++)if(!vt.call(h,C[O])||!gn(v[C[O]],h[C[O]]))return!1;return!0}function T0(v,h){if(v&&v.defaultProps){h=c({},h),v=v.defaultProps;for(var C in v)h[C]===void 0&&(h[C]=v[C])}return h}var ti={current:null},Mu=null,Pi=null,Fu=null;function Ru(){Fu=Pi=Mu=null}function Ts(v,h){var C=v.type._context;Yt?(kr(ti,C._currentValue,v),C._currentValue=h):(kr(ti,C._currentValue2,v),C._currentValue2=h)}function ni(v){var h=ti.current;wr(ti,v),v=v.type._context,Yt?v._currentValue=h:v._currentValue2=h}function Xr(v,h){for(;v!==null;){var C=v.alternate;if(v.childExpirationTime<h)v.childExpirationTime=h,C!==null&&C.childExpirationTime<h&&(C.childExpirationTime=h);else if(C!==null&&C.childExpirationTime<h)C.childExpirationTime=h;else break;v=v.return}}function Ki(v,h){Mu=v,Fu=Pi=null,v=v.dependencies,v!==null&&v.firstContext!==null&&(v.expirationTime>=h&&(ii=!0),v.firstContext=null)}function v0(v,h){if(Fu!==v&&h!==!1&&h!==0)if((typeof h!="number"||h===1073741823)&&(Fu=v,h=1073741823),h={context:v,observedBits:h,next:null},Pi===null){if(Mu===null)throw Error(t(308));Pi=h,Mu.dependencies={expirationTime:0,firstContext:h,responders:null}}else Pi=Pi.next=h;return Yt?v._currentValue:v._currentValue2}var po=!1;function t0(v){return{baseState:v,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function xs(v){return{baseState:v.baseState,firstUpdate:v.firstUpdate,lastUpdate:v.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function l0(v,h){return{expirationTime:v,suspenseConfig:h,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Pu(v,h){v.lastUpdate===null?v.firstUpdate=v.lastUpdate=h:(v.lastUpdate.next=h,v.lastUpdate=h)}function j0(v,h){var C=v.alternate;if(C===null){var O=v.updateQueue,F=null;O===null&&(O=v.updateQueue=t0(v.memoizedState))}else O=v.updateQueue,F=C.updateQueue,O===null?F===null?(O=v.updateQueue=t0(v.memoizedState),F=C.updateQueue=t0(C.memoizedState)):O=v.updateQueue=xs(F):F===null&&(F=C.updateQueue=xs(O));F===null||O===F?Pu(O,h):O.lastUpdate===null||F.lastUpdate===null?(Pu(O,h),Pu(F,h)):(Pu(O,h),F.lastUpdate=h)}function Lu(v,h){var C=v.updateQueue;C=C===null?v.updateQueue=t0(v.memoizedState):ks(v,C),C.lastCapturedUpdate===null?C.firstCapturedUpdate=C.lastCapturedUpdate=h:(C.lastCapturedUpdate.next=h,C.lastCapturedUpdate=h)}function ks(v,h){var C=v.alternate;return C!==null&&h===C.updateQueue&&(h=v.updateQueue=xs(h)),h}function Lo(v,h,C,O,F,V){switch(C.tag){case 1:return v=C.payload,typeof v=="function"?v.call(V,O,F):v;case 3:v.effectTag=v.effectTag&-4097|64;case 0:if(v=C.payload,F=typeof v=="function"?v.call(V,O,F):v,F==null)break;return c({},O,F);case 2:po=!0}return O}function x0(v,h,C,O,F){po=!1,h=ks(v,h);for(var V=h.baseState,Q=null,Ge=0,Ke=h.firstUpdate,ot=V;Ke!==null;){var Tn=Ke.expirationTime;Tn<F?(Q===null&&(Q=Ke,V=ot),Ge<Tn&&(Ge=Tn)):(zf(Tn,Ke.suspenseConfig),ot=Lo(v,h,Ke,ot,C,O),Ke.callback!==null&&(v.effectTag|=32,Ke.nextEffect=null,h.lastEffect===null?h.firstEffect=h.lastEffect=Ke:(h.lastEffect.nextEffect=Ke,h.lastEffect=Ke))),Ke=Ke.next}for(Tn=null,Ke=h.firstCapturedUpdate;Ke!==null;){var C0=Ke.expirationTime;C0<F?(Tn===null&&(Tn=Ke,Q===null&&(V=ot)),Ge<C0&&(Ge=C0)):(ot=Lo(v,h,Ke,ot,C,O),Ke.callback!==null&&(v.effectTag|=32,Ke.nextEffect=null,h.lastCapturedEffect===null?h.firstCapturedEffect=h.lastCapturedEffect=Ke:(h.lastCapturedEffect.nextEffect=Ke,h.lastCapturedEffect=Ke))),Ke=Ke.next}Q===null&&(h.lastUpdate=null),Tn===null?h.lastCapturedUpdate=null:v.effectTag|=32,Q===null&&Tn===null&&(V=ot),h.baseState=V,h.firstUpdate=Q,h.firstCapturedUpdate=Tn,uf(Ge),v.expirationTime=Ge,v.memoizedState=ot}function nn(v,h,C){h.firstCapturedUpdate!==null&&(h.lastUpdate!==null&&(h.lastUpdate.next=h.firstCapturedUpdate,h.lastUpdate=h.lastCapturedUpdate),h.firstCapturedUpdate=h.lastCapturedUpdate=null),ef(h.firstEffect,C),h.firstEffect=h.lastEffect=null,ef(h.firstCapturedEffect,C),h.firstCapturedEffect=h.lastCapturedEffect=null}function ef(v,h){for(;v!==null;){var C=v.callback;if(C!==null){v.callback=null;var O=h;if(typeof C!="function")throw Error(t(191,C));C.call(O)}v=v.nextEffect}}var Xn=x.ReactCurrentBatchConfig,Kn=new d.Component().refs;function No(v,h,C,O){h=v.memoizedState,C=C(O,h),C=C==null?h:c({},h,C),v.memoizedState=C,O=v.updateQueue,O!==null&&v.expirationTime===0&&(O.baseState=C)}var Nu={isMounted:function(v){return(v=v._reactInternalFiber)?Ze(v)===v:!1},enqueueSetState:function(v,h,C){v=v._reactInternalFiber;var O=h0(),F=Xn.suspense;O=Hr(O,v,F),F=l0(O,F),F.payload=h,C!=null&&(F.callback=C),j0(v,F),m0(v,O)},enqueueReplaceState:function(v,h,C){v=v._reactInternalFiber;var O=h0(),F=Xn.suspense;O=Hr(O,v,F),F=l0(O,F),F.tag=1,F.payload=h,C!=null&&(F.callback=C),j0(v,F),m0(v,O)},enqueueForceUpdate:function(v,h){v=v._reactInternalFiber;var C=h0(),O=Xn.suspense;C=Hr(C,v,O),O=l0(C,O),O.tag=2,h!=null&&(O.callback=h),j0(v,O),m0(v,C)}};function al(v,h,C,O,F,V,Q){return v=v.stateNode,typeof v.shouldComponentUpdate=="function"?v.shouldComponentUpdate(O,V,Q):h.prototype&&h.prototype.isPureReactComponent?!Kt(C,O)||!Kt(F,V):!0}function tu(v,h,C){var O=!1,F=ei,V=h.contextType;return typeof V=="object"&&V!==null?V=v0(V):(F=s0(h)?Mt:N0.current,O=h.contextTypes,V=(O=O!=null)?Tu(v,F):ei),h=new h(C,V),v.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=Nu,v.stateNode=h,h._reactInternalFiber=v,O&&(v=v.stateNode,v.__reactInternalMemoizedUnmaskedChildContext=F,v.__reactInternalMemoizedMaskedChildContext=V),h}function As(v,h,C,O){v=h.state,typeof h.componentWillReceiveProps=="function"&&h.componentWillReceiveProps(C,O),typeof h.UNSAFE_componentWillReceiveProps=="function"&&h.UNSAFE_componentWillReceiveProps(C,O),h.state!==v&&Nu.enqueueReplaceState(h,h.state,null)}function Bu(v,h,C,O){var F=v.stateNode;F.props=C,F.state=v.memoizedState,F.refs=Kn;var V=h.contextType;typeof V=="object"&&V!==null?F.context=v0(V):(V=s0(h)?Mt:N0.current,F.context=Tu(v,V)),V=v.updateQueue,V!==null&&(x0(v,V,C,F,O),F.state=v.memoizedState),V=h.getDerivedStateFromProps,typeof V=="function"&&(No(v,h,V,C),F.state=v.memoizedState),typeof h.getDerivedStateFromProps=="function"||typeof F.getSnapshotBeforeUpdate=="function"||typeof F.UNSAFE_componentWillMount!="function"&&typeof F.componentWillMount!="function"||(h=F.state,typeof F.componentWillMount=="function"&&F.componentWillMount(),typeof F.UNSAFE_componentWillMount=="function"&&F.UNSAFE_componentWillMount(),h!==F.state&&Nu.enqueueReplaceState(F,F.state,null),V=v.updateQueue,V!==null&&(x0(v,V,C,F,O),F.state=v.memoizedState)),typeof F.componentDidMount=="function"&&(v.effectTag|=4)}var k0=Array.isArray;function nu(v,h,C){if(v=C.ref,v!==null&&typeof v!="function"&&typeof v!="object"){if(C._owner){if(C=C._owner,C){if(C.tag!==1)throw Error(t(309));var O=C.stateNode}if(!O)throw Error(t(147,v));var F=""+v;return h!==null&&h.ref!==null&&typeof h.ref=="function"&&h.ref._stringRef===F?h.ref:(h=function(V){var Q=O.refs;Q===Kn&&(Q=O.refs={}),V===null?delete Q[F]:Q[F]=V},h._stringRef=F,h)}if(typeof v!="string")throw Error(t(284));if(!C._owner)throw Error(t(290,v))}return v}function Ar(v,h){if(v.type!=="textarea")throw Error(t(31,Object.prototype.toString.call(h)==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":h,""))}function R(v){function h(Ie,we){if(v){var Be=Ie.lastEffect;Be!==null?(Be.nextEffect=we,Ie.lastEffect=we):Ie.firstEffect=Ie.lastEffect=we,we.nextEffect=null,we.effectTag=8}}function C(Ie,we){if(!v)return null;for(;we!==null;)h(Ie,we),we=we.sibling;return null}function O(Ie,we){for(Ie=new Map;we!==null;)we.key!==null?Ie.set(we.key,we):Ie.set(we.index,we),we=we.sibling;return Ie}function F(Ie,we,Be){return Ie=$0(Ie,we,Be),Ie.index=0,Ie.sibling=null,Ie}function V(Ie,we,Be){return Ie.index=Be,v?(Be=Ie.alternate,Be!==null?(Be=Be.index,Be<we?(Ie.effectTag=2,we):Be):(Ie.effectTag=2,we)):we}function Q(Ie){return v&&Ie.alternate===null&&(Ie.effectTag=2),Ie}function Ge(Ie,we,Be,wt){return we===null||we.tag!==6?(we=fi(Be,Ie.mode,wt),we.return=Ie,we):(we=F(we,Be,wt),we.return=Ie,we)}function Ke(Ie,we,Be,wt){return we!==null&&we.elementType===Be.type?(wt=F(we,Be.props,wt),wt.ref=nu(Ie,we,Be),wt.return=Ie,wt):(wt=Ps(Be.type,Be.key,Be.props,null,Ie.mode,wt),wt.ref=nu(Ie,we,Be),wt.return=Ie,wt)}function ot(Ie,we,Be,wt){return we===null||we.tag!==4||we.stateNode.containerInfo!==Be.containerInfo||we.stateNode.implementation!==Be.implementation?(we=Hf(Be,Ie.mode,wt),we.return=Ie,we):(we=F(we,Be.children||[],wt),we.return=Ie,we)}function Tn(Ie,we,Be,wt,en){return we===null||we.tag!==7?(we=li(Be,Ie.mode,wt,en),we.return=Ie,we):(we=F(we,Be,wt),we.return=Ie,we)}function C0(Ie,we,Be){if(typeof we=="string"||typeof we=="number")return we=fi(""+we,Ie.mode,Be),we.return=Ie,we;if(typeof we=="object"&&we!==null){switch(we.$$typeof){case k:return Be=Ps(we.type,we.key,we.props,null,Ie.mode,Be),Be.ref=nu(Ie,null,we),Be.return=Ie,Be;case E:return we=Hf(we,Ie.mode,Be),we.return=Ie,we}if(k0(we)||te(we))return we=li(we,Ie.mode,Be,null),we.return=Ie,we;Ar(Ie,we)}return null}function Fr(Ie,we,Be,wt){var en=we!==null?we.key:null;if(typeof Be=="string"||typeof Be=="number")return en!==null?null:Ge(Ie,we,""+Be,wt);if(typeof Be=="object"&&Be!==null){switch(Be.$$typeof){case k:return Be.key===en?Be.type===L?Tn(Ie,we,Be.props.children,wt,en):Ke(Ie,we,Be,wt):null;case E:return Be.key===en?ot(Ie,we,Be,wt):null}if(k0(Be)||te(Be))return en!==null?null:Tn(Ie,we,Be,wt,null);Ar(Ie,Be)}return null}function ci(Ie,we,Be,wt,en){if(typeof wt=="string"||typeof wt=="number")return Ie=Ie.get(Be)||null,Ge(we,Ie,""+wt,en);if(typeof wt=="object"&&wt!==null){switch(wt.$$typeof){case k:return Ie=Ie.get(wt.key===null?Be:wt.key)||null,wt.type===L?Tn(we,Ie,wt.props.children,en,wt.key):Ke(we,Ie,wt,en);case E:return Ie=Ie.get(wt.key===null?Be:wt.key)||null,ot(we,Ie,wt,en)}if(k0(wt)||te(wt))return Ie=Ie.get(Be)||null,Tn(we,Ie,wt,en,null);Ar(we,wt)}return null}function io(Ie,we,Be,wt){for(var en=null,er=null,fn=we,or=we=0,Br=null;fn!==null&&or<Be.length;or++){fn.index>or?(Br=fn,fn=null):Br=fn.sibling;var jn=Fr(Ie,fn,Be[or],wt);if(jn===null){fn===null&&(fn=Br);break}v&&fn&&jn.alternate===null&&h(Ie,fn),we=V(jn,we,or),er===null?en=jn:er.sibling=jn,er=jn,fn=Br}if(or===Be.length)return C(Ie,fn),en;if(fn===null){for(;or<Be.length;or++)fn=C0(Ie,Be[or],wt),fn!==null&&(we=V(fn,we,or),er===null?en=fn:er.sibling=fn,er=fn);return en}for(fn=O(Ie,fn);or<Be.length;or++)Br=ci(fn,Ie,or,Be[or],wt),Br!==null&&(v&&Br.alternate!==null&&fn.delete(Br.key===null?or:Br.key),we=V(Br,we,or),er===null?en=Br:er.sibling=Br,er=Br);return v&&fn.forEach(function(X0){return h(Ie,X0)}),en}function ai(Ie,we,Be,wt){var en=te(Be);if(typeof en!="function")throw Error(t(150));if(Be=en.call(Be),Be==null)throw Error(t(151));for(var er=en=null,fn=we,or=we=0,Br=null,jn=Be.next();fn!==null&&!jn.done;or++,jn=Be.next()){fn.index>or?(Br=fn,fn=null):Br=fn.sibling;var X0=Fr(Ie,fn,jn.value,wt);if(X0===null){fn===null&&(fn=Br);break}v&&fn&&X0.alternate===null&&h(Ie,fn),we=V(X0,we,or),er===null?en=X0:er.sibling=X0,er=X0,fn=Br}if(jn.done)return C(Ie,fn),en;if(fn===null){for(;!jn.done;or++,jn=Be.next())jn=C0(Ie,jn.value,wt),jn!==null&&(we=V(jn,we,or),er===null?en=jn:er.sibling=jn,er=jn);return en}for(fn=O(Ie,fn);!jn.done;or++,jn=Be.next())jn=ci(fn,Ie,or,jn.value,wt),jn!==null&&(v&&jn.alternate!==null&&fn.delete(jn.key===null?or:jn.key),we=V(jn,we,or),er===null?en=jn:er.sibling=jn,er=jn);return v&&fn.forEach(function(bf){return h(Ie,bf)}),en}return function(Ie,we,Be,wt){var en=typeof Be=="object"&&Be!==null&&Be.type===L&&Be.key===null;en&&(Be=Be.props.children);var er=typeof Be=="object"&&Be!==null;if(er)switch(Be.$$typeof){case k:e:{for(er=Be.key,en=we;en!==null;){if(en.key===er)if(en.tag===7?Be.type===L:en.elementType===Be.type){C(Ie,en.sibling),we=F(en,Be.type===L?Be.props.children:Be.props,wt),we.ref=nu(Ie,en,Be),we.return=Ie,Ie=we;break e}else{C(Ie,en);break}else h(Ie,en);en=en.sibling}Be.type===L?(we=li(Be.props.children,Ie.mode,wt,Be.key),we.return=Ie,Ie=we):(wt=Ps(Be.type,Be.key,Be.props,null,Ie.mode,wt),wt.ref=nu(Ie,we,Be),wt.return=Ie,Ie=wt)}return Q(Ie);case E:e:{for(en=Be.key;we!==null;){if(we.key===en)if(we.tag===4&&we.stateNode.containerInfo===Be.containerInfo&&we.stateNode.implementation===Be.implementation){C(Ie,we.sibling),we=F(we,Be.children||[],wt),we.return=Ie,Ie=we;break e}else{C(Ie,we);break}else h(Ie,we);we=we.sibling}we=Hf(Be,Ie.mode,wt),we.return=Ie,Ie=we}return Q(Ie)}if(typeof Be=="string"||typeof Be=="number")return Be=""+Be,we!==null&&we.tag===6?(C(Ie,we.sibling),we=F(we,Be,wt),we.return=Ie,Ie=we):(C(Ie,we),we=fi(Be,Ie.mode,wt),we.return=Ie,Ie=we),Q(Ie);if(k0(Be))return io(Ie,we,Be,wt);if(te(Be))return ai(Ie,we,Be,wt);if(er&&Ar(Ie,Be),typeof Be=="undefined"&&!en)switch(Ie.tag){case 1:case 0:throw Ie=Ie.type,Error(t(152,Ie.displayName||Ie.name||"Component"))}return C(Ie,we)}}var P=R(!0),U=R(!1),H={},ue={current:H},re={current:H},fe={current:H};function q(v){if(v===H)throw Error(t(174));return v}function de(v,h){kr(fe,h,v),kr(re,v,v),kr(ue,H,v),h=Ot(h),wr(ue,v),kr(ue,h,v)}function Ae(v){wr(ue,v),wr(re,v),wr(fe,v)}function qe(v){var h=q(fe.current),C=q(ue.current);h=qt(C,v.type,h),C!==h&&(kr(re,v,v),kr(ue,h,v))}function $(v){re.current===v&&(wr(ue,v),wr(re,v))}var De={current:0};function Pe(v){for(var h=v;h!==null;){if(h.tag===13){var C=h.memoizedState;if(C!==null&&(C=C.dehydrated,C===null||el(C)||tl(C)))return h}else if(h.tag===19&&h.memoizedProps.revealOrder!==void 0){if((h.effectTag&64)!=0)return h}else if(h.child!==null){h.child.return=h,h=h.child;continue}if(h===v)break;for(;h.sibling===null;){if(h.return===null||h.return===v)return null;h=h.return}h.sibling.return=h.return,h=h.sibling}return null}function $e(v,h){return{responder:v,props:h}}var rt=x.ReactCurrentDispatcher,ut=x.ReactCurrentBatchConfig,St=0,_t=null,st=null,It=null,pn=null,tn=null,rr=null,Zt=0,Nn=null,f0=0,gr=!1,ze=null,Xe=0;function Fe(){throw Error(t(321))}function lt(v,h){if(h===null)return!1;for(var C=0;C<h.length&&C<v.length;C++)if(!gn(v[C],h[C]))return!1;return!0}function Dt(v,h,C,O,F,V){if(St=V,_t=h,It=v!==null?v.memoizedState:null,rt.current=It===null?Li:Ms,h=C(O,F),gr){do gr=!1,Xe+=1,It=v!==null?v.memoizedState:null,rr=pn,Nn=tn=st=null,rt.current=Ms,h=C(O,F);while(gr);ze=null,Xe=0}if(rt.current=Ji,v=_t,v.memoizedState=pn,v.expirationTime=Zt,v.updateQueue=Nn,v.effectTag|=f0,v=st!==null&&st.next!==null,St=0,rr=tn=pn=It=st=_t=null,Zt=0,Nn=null,f0=0,v)throw Error(t(300));return h}function $t(){rt.current=Ji,St=0,rr=tn=pn=It=st=_t=null,Zt=0,Nn=null,f0=0,gr=!1,ze=null,Xe=0}function _n(){var v={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return tn===null?pn=tn=v:tn=tn.next=v,tn}function Bn(){if(rr!==null)tn=rr,rr=tn.next,st=It,It=st!==null?st.next:null;else{if(It===null)throw Error(t(310));st=It;var v={memoizedState:st.memoizedState,baseState:st.baseState,queue:st.queue,baseUpdate:st.baseUpdate,next:null};tn=tn===null?pn=v:tn.next=v,It=st.next}return tn}function c0(v,h){return typeof h=="function"?h(v):h}function a0(v){var h=Bn(),C=h.queue;if(C===null)throw Error(t(311));if(C.lastRenderedReducer=v,0<Xe){var O=C.dispatch;if(ze!==null){var F=ze.get(C);if(F!==void 0){ze.delete(C);var V=h.memoizedState;do V=v(V,F.action),F=F.next;while(F!==null);return gn(V,h.memoizedState)||(ii=!0),h.memoizedState=V,h.baseUpdate===C.last&&(h.baseState=V),C.lastRenderedState=V,[V,O]}}return[h.memoizedState,O]}O=C.last;var Q=h.baseUpdate;if(V=h.baseState,Q!==null?(O!==null&&(O.next=null),O=Q.next):O=O!==null?O.next:null,O!==null){var Ge=F=null,Ke=O,ot=!1;do{var Tn=Ke.expirationTime;Tn<St?(ot||(ot=!0,Ge=Q,F=V),Tn>Zt&&(Zt=Tn,uf(Zt))):(zf(Tn,Ke.suspenseConfig),V=Ke.eagerReducer===v?Ke.eagerState:v(V,Ke.action)),Q=Ke,Ke=Ke.next}while(Ke!==null&&Ke!==O);ot||(Ge=Q,F=V),gn(V,h.memoizedState)||(ii=!0),h.memoizedState=V,h.baseUpdate=Ge,h.baseState=F,C.lastRenderedState=V}return[h.memoizedState,C.dispatch]}function ri(v){var h=_n();return typeof v=="function"&&(v=v()),h.memoizedState=h.baseState=v,v=h.queue={last:null,dispatch:null,lastRenderedReducer:c0,lastRenderedState:v},v=v.dispatch=Is.bind(null,_t,v),[h.memoizedState,v]}function _i(v){return a0(c0,v)}function g0(v,h,C,O){return v={tag:v,create:h,destroy:C,deps:O,next:null},Nn===null?(Nn={lastEffect:null},Nn.lastEffect=v.next=v):(h=Nn.lastEffect,h===null?Nn.lastEffect=v.next=v:(C=h.next,h.next=v,v.next=C,Nn.lastEffect=v)),v}function Pr(v,h,C,O){var F=_n();f0|=v,F.memoizedState=g0(h,C,void 0,O===void 0?null:O)}function ho(v,h,C,O){var F=Bn();O=O===void 0?null:O;var V=void 0;if(st!==null){var Q=st.memoizedState;if(V=Q.destroy,O!==null&&lt(O,Q.deps)){g0(0,C,V,O);return}}f0|=v,F.memoizedState=g0(h,C,V,O)}function mo(v,h){return Pr(516,192,v,h)}function dl(v,h){return ho(516,192,v,h)}function Os(v,h){if(typeof h=="function")return v=v(),h(v),function(){h(null)};if(h!=null)return v=v(),h.current=v,function(){h.current=null}}function pl(){}function ru(v,h){return _n().memoizedState=[v,h===void 0?null:h],v}function Uu(v,h){var C=Bn();h=h===void 0?null:h;var O=C.memoizedState;return O!==null&&h!==null&&lt(h,O[1])?O[0]:(C.memoizedState=[v,h],v)}function Is(v,h,C){if(!(25>Xe))throw Error(t(301));var O=v.alternate;if(v===_t||O!==null&&O===_t)if(gr=!0,v={expirationTime:St,suspenseConfig:null,action:C,eagerReducer:null,eagerState:null,next:null},ze===null&&(ze=new Map),C=ze.get(h),C===void 0)ze.set(h,v);else{for(h=C;h.next!==null;)h=h.next;h.next=v}else{var F=h0(),V=Xn.suspense;F=Hr(F,v,V),V={expirationTime:F,suspenseConfig:V,action:C,eagerReducer:null,eagerState:null,next:null};var Q=h.last;if(Q===null)V.next=V;else{var Ge=Q.next;Ge!==null&&(V.next=Ge),Q.next=V}if(h.last=V,v.expirationTime===0&&(O===null||O.expirationTime===0)&&(O=h.lastRenderedReducer,O!==null))try{var Ke=h.lastRenderedState,ot=O(Ke,C);if(V.eagerReducer=O,V.eagerState=ot,gn(ot,Ke))return}catch(Tn){}finally{}m0(v,F)}}var Ji={readContext:v0,useCallback:Fe,useContext:Fe,useEffect:Fe,useImperativeHandle:Fe,useLayoutEffect:Fe,useMemo:Fe,useReducer:Fe,useRef:Fe,useState:Fe,useDebugValue:Fe,useResponder:Fe,useDeferredValue:Fe,useTransition:Fe},Li={readContext:v0,useCallback:ru,useContext:v0,useEffect:mo,useImperativeHandle:function(v,h,C){return C=C!=null?C.concat([v]):null,Pr(4,36,Os.bind(null,h,v),C)},useLayoutEffect:function(v,h){return Pr(4,36,v,h)},useMemo:function(v,h){var C=_n();return h=h===void 0?null:h,v=v(),C.memoizedState=[v,h],v},useReducer:function(v,h,C){var O=_n();return h=C!==void 0?C(h):h,O.memoizedState=O.baseState=h,v=O.queue={last:null,dispatch:null,lastRenderedReducer:v,lastRenderedState:h},v=v.dispatch=Is.bind(null,_t,v),[O.memoizedState,v]},useRef:function(v){var h=_n();return v={current:v},h.memoizedState=v},useState:ri,useDebugValue:pl,useResponder:$e,useDeferredValue:function(v,h){var C=ri(v),O=C[0],F=C[1];return mo(function(){g.unstable_next(function(){var V=ut.suspense;ut.suspense=h===void 0?null:h;try{F(v)}finally{ut.suspense=V}})},[v,h]),O},useTransition:function(v){var h=ri(!1),C=h[0],O=h[1];return[ru(function(F){O(!0),g.unstable_next(function(){var V=ut.suspense;ut.suspense=v===void 0?null:v;try{O(!1),F()}finally{ut.suspense=V}})},[v,C]),C]}},Ms={readContext:v0,useCallback:Uu,useContext:v0,useEffect:dl,useImperativeHandle:function(v,h,C){return C=C!=null?C.concat([v]):null,ho(4,36,Os.bind(null,h,v),C)},useLayoutEffect:function(v,h){return ho(4,36,v,h)},useMemo:function(v,h){var C=Bn();h=h===void 0?null:h;var O=C.memoizedState;return O!==null&&h!==null&&lt(h,O[1])?O[0]:(v=v(),C.memoizedState=[v,h],v)},useReducer:a0,useRef:function(){return Bn().memoizedState},useState:_i,useDebugValue:pl,useResponder:$e,useDeferredValue:function(v,h){var C=_i(v),O=C[0],F=C[1];return dl(function(){g.unstable_next(function(){var V=ut.suspense;ut.suspense=h===void 0?null:h;try{F(v)}finally{ut.suspense=V}})},[v,h]),O},useTransition:function(v){var h=_i(!1),C=h[0],O=h[1];return[Uu(function(F){O(!0),g.unstable_next(function(){var V=ut.suspense;ut.suspense=v===void 0?null:v;try{O(!1),F()}finally{ut.suspense=V}})},[v,C]),C]}},A0=null,jr=null,Jn=!1;function O0(v,h){var C=_o(5,null,null,0);C.elementType="DELETED",C.type="DELETED",C.stateNode=h,C.return=v,C.effectTag=8,v.lastEffect!==null?(v.lastEffect.nextEffect=C,v.lastEffect=C):v.firstEffect=v.lastEffect=C}function z0(v,h){switch(v.tag){case 5:return h=gi(h,v.type,v.pendingProps),h!==null?(v.stateNode=h,!0):!1;case 6:return h=Su(h,v.pendingProps),h!==null?(v.stateNode=h,!0):!1;case 13:return!1;default:return!1}}function vo(v){if(Jn){var h=jr;if(h){var C=h;if(!z0(v,h)){if(h=nl(C),!h||!z0(v,h)){v.effectTag=v.effectTag&-1025|2,Jn=!1,A0=v;return}O0(A0,C)}A0=v,jr=rl(h)}else v.effectTag=v.effectTag&-1025|2,Jn=!1,A0=v}}function ju(v){for(v=v.return;v!==null&&v.tag!==5&&v.tag!==3&&v.tag!==13;)v=v.return;A0=v}function Bo(v){if(!w||v!==A0)return!1;if(!Jn)return ju(v),Jn=!0,!1;var h=v.type;if(v.tag!==5||h!=="head"&&h!=="body"&&!ft(h,v.memoizedProps))for(h=jr;h;)O0(v,h),h=nl(h);if(ju(v),v.tag===13){if(!w)throw Error(t(316));if(v=v.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(t(317));jr=gc(v)}else jr=A0?nl(v.stateNode):null;return!0}function Or(){w&&(jr=A0=null,Jn=!1)}var Vn=x.ReactCurrentOwner,ii=!1;function n0(v,h,C,O){h.child=v===null?U(h,null,C,O):P(h,v.child,C,O)}function zr(v,h,C,O,F){C=C.render;var V=h.ref;return Ki(h,F),O=Dt(v,h,C,O,V,F),v!==null&&!ii?(h.updateQueue=v.updateQueue,h.effectTag&=-517,v.expirationTime<=F&&(v.expirationTime=0),H0(v,h,F)):(h.effectTag|=1,n0(v,h,O,F),h.child)}function tf(v,h,C,O,F,V){if(v===null){var Q=C.type;return typeof Q=="function"&&!lf(Q)&&Q.defaultProps===void 0&&C.compare===null&&C.defaultProps===void 0?(h.tag=15,h.type=Q,nf(v,h,Q,O,F,V)):(v=Ps(C.type,null,O,null,h.mode,V),v.ref=h.ref,v.return=h,h.child=v)}return Q=v.child,F<V&&(F=Q.memoizedProps,C=C.compare,C=C!==null?C:Kt,C(F,O)&&v.ref===h.ref)?H0(v,h,V):(h.effectTag|=1,v=$0(Q,O,V),v.ref=h.ref,v.return=h,h.child=v)}function nf(v,h,C,O,F,V){return v!==null&&Kt(v.memoizedProps,O)&&v.ref===h.ref&&(ii=!1,F<V)?H0(v,h,V):q0(v,h,C,O,V)}function W0(v,h){var C=h.ref;(v===null&&C!==null||v!==null&&v.ref!==C)&&(h.effectTag|=128)}function q0(v,h,C,O,F){var V=s0(C)?Mt:N0.current;return V=Tu(h,V),Ki(h,F),C=Dt(v,h,C,O,V,F),v!==null&&!ii?(h.updateQueue=v.updateQueue,h.effectTag&=-517,v.expirationTime<=F&&(v.expirationTime=0),H0(v,h,F)):(h.effectTag|=1,n0(v,h,C,F),h.child)}function le(v,h,C,O,F){if(s0(C)){var V=!0;ao(h)}else V=!1;if(Ki(h,F),h.stateNode===null)v!==null&&(v.alternate=null,h.alternate=null,h.effectTag|=2),tu(h,C,O,F),Bu(h,C,O,F),O=!0;else if(v===null){var Q=h.stateNode,Ge=h.memoizedProps;Q.props=Ge;var Ke=Q.context,ot=C.contextType;typeof ot=="object"&&ot!==null?ot=v0(ot):(ot=s0(C)?Mt:N0.current,ot=Tu(h,ot));var Tn=C.getDerivedStateFromProps,C0=typeof Tn=="function"||typeof Q.getSnapshotBeforeUpdate=="function";C0||typeof Q.UNSAFE_componentWillReceiveProps!="function"&&typeof Q.componentWillReceiveProps!="function"||(Ge!==O||Ke!==ot)&&As(h,Q,O,ot),po=!1;var Fr=h.memoizedState;Ke=Q.state=Fr;var ci=h.updateQueue;ci!==null&&(x0(h,ci,O,Q,F),Ke=h.memoizedState),Ge!==O||Fr!==Ke||B0.current||po?(typeof Tn=="function"&&(No(h,C,Tn,O),Ke=h.memoizedState),(Ge=po||al(h,C,Ge,O,Fr,Ke,ot))?(C0||typeof Q.UNSAFE_componentWillMount!="function"&&typeof Q.componentWillMount!="function"||(typeof Q.componentWillMount=="function"&&Q.componentWillMount(),typeof Q.UNSAFE_componentWillMount=="function"&&Q.UNSAFE_componentWillMount()),typeof Q.componentDidMount=="function"&&(h.effectTag|=4)):(typeof Q.componentDidMount=="function"&&(h.effectTag|=4),h.memoizedProps=O,h.memoizedState=Ke),Q.props=O,Q.state=Ke,Q.context=ot,O=Ge):(typeof Q.componentDidMount=="function"&&(h.effectTag|=4),O=!1)}else Q=h.stateNode,Ge=h.memoizedProps,Q.props=h.type===h.elementType?Ge:T0(h.type,Ge),Ke=Q.context,ot=C.contextType,typeof ot=="object"&&ot!==null?ot=v0(ot):(ot=s0(C)?Mt:N0.current,ot=Tu(h,ot)),Tn=C.getDerivedStateFromProps,(C0=typeof Tn=="function"||typeof Q.getSnapshotBeforeUpdate=="function")||typeof Q.UNSAFE_componentWillReceiveProps!="function"&&typeof Q.componentWillReceiveProps!="function"||(Ge!==O||Ke!==ot)&&As(h,Q,O,ot),po=!1,Ke=h.memoizedState,Fr=Q.state=Ke,ci=h.updateQueue,ci!==null&&(x0(h,ci,O,Q,F),Fr=h.memoizedState),Ge!==O||Ke!==Fr||B0.current||po?(typeof Tn=="function"&&(No(h,C,Tn,O),Fr=h.memoizedState),(Tn=po||al(h,C,Ge,O,Ke,Fr,ot))?(C0||typeof Q.UNSAFE_componentWillUpdate!="function"&&typeof Q.componentWillUpdate!="function"||(typeof Q.componentWillUpdate=="function"&&Q.componentWillUpdate(O,Fr,ot),typeof Q.UNSAFE_componentWillUpdate=="function"&&Q.UNSAFE_componentWillUpdate(O,Fr,ot)),typeof Q.componentDidUpdate=="function"&&(h.effectTag|=4),typeof Q.getSnapshotBeforeUpdate=="function"&&(h.effectTag|=256)):(typeof Q.componentDidUpdate!="function"||Ge===v.memoizedProps&&Ke===v.memoizedState||(h.effectTag|=4),typeof Q.getSnapshotBeforeUpdate!="function"||Ge===v.memoizedProps&&Ke===v.memoizedState||(h.effectTag|=256),h.memoizedProps=O,h.memoizedState=Fr),Q.props=O,Q.state=Fr,Q.context=ot,O=Tn):(typeof Q.componentDidUpdate!="function"||Ge===v.memoizedProps&&Ke===v.memoizedState||(h.effectTag|=4),typeof Q.getSnapshotBeforeUpdate!="function"||Ge===v.memoizedProps&&Ke===v.memoizedState||(h.effectTag|=256),O=!1);return Re(v,h,C,O,V,F)}function Re(v,h,C,O,F,V){W0(v,h);var Q=(h.effectTag&64)!=0;if(!O&&!Q)return F&&Fo(h,C,!1),H0(v,h,V);O=h.stateNode,Vn.current=h;var Ge=Q&&typeof C.getDerivedStateFromError!="function"?null:O.render();return h.effectTag|=1,v!==null&&Q?(h.child=P(h,v.child,null,V),h.child=P(h,null,Ge,V)):n0(v,h,Ge,V),h.memoizedState=O.state,F&&Fo(h,C,!0),h.child}function xe(v){var h=v.stateNode;h.pendingContext?ys(v,h.pendingContext,h.pendingContext!==h.context):h.context&&ys(v,h.context,!1),de(v,h.containerInfo)}var pt={dehydrated:null,retryTime:0};function ht(v,h,C){var O=h.mode,F=h.pendingProps,V=De.current,Q=!1,Ge;if((Ge=(h.effectTag&64)!=0)||(Ge=(V&2)!=0&&(v===null||v.memoizedState!==null)),Ge?(Q=!0,h.effectTag&=-65):v!==null&&v.memoizedState===null||F.fallback===void 0||F.unstable_avoidThisFallback===!0||(V|=1),kr(De,V&1,h),v===null){if(F.fallback!==void 0&&vo(h),Q){if(Q=F.fallback,F=li(null,O,0,null),F.return=h,(h.mode&2)==0)for(v=h.memoizedState!==null?h.child.child:h.child,F.child=v;v!==null;)v.return=F,v=v.sibling;return C=li(Q,O,C,null),C.return=h,F.sibling=C,h.memoizedState=pt,h.child=F,C}return O=F.children,h.memoizedState=null,h.child=U(h,null,O,C)}if(v.memoizedState!==null){if(v=v.child,O=v.sibling,Q){if(F=F.fallback,C=$0(v,v.pendingProps,0),C.return=h,(h.mode&2)==0&&(Q=h.memoizedState!==null?h.child.child:h.child,Q!==v.child))for(C.child=Q;Q!==null;)Q.return=C,Q=Q.sibling;return O=$0(O,F,O.expirationTime),O.return=h,C.sibling=O,C.childExpirationTime=0,h.memoizedState=pt,h.child=C,O}return C=P(h,v.child,F.children,C),h.memoizedState=null,h.child=C}if(v=v.child,Q){if(Q=F.fallback,F=li(null,O,0,null),F.return=h,F.child=v,v!==null&&(v.return=F),(h.mode&2)==0)for(v=h.memoizedState!==null?h.child.child:h.child,F.child=v;v!==null;)v.return=F,v=v.sibling;return C=li(Q,O,C,null),C.return=h,F.sibling=C,C.effectTag|=2,F.childExpirationTime=0,h.memoizedState=pt,h.child=F,C}return h.memoizedState=null,h.child=P(h,v,F.children,C)}function hn(v,h){v.expirationTime<h&&(v.expirationTime=h);var C=v.alternate;C!==null&&C.expirationTime<h&&(C.expirationTime=h),Xr(v.return,h)}function Un(v,h,C,O,F,V){var Q=v.memoizedState;Q===null?v.memoizedState={isBackwards:h,rendering:null,last:O,tail:C,tailExpiration:0,tailMode:F,lastEffect:V}:(Q.isBackwards=h,Q.rendering=null,Q.last=O,Q.tail=C,Q.tailExpiration=0,Q.tailMode=F,Q.lastEffect=V)}function Vt(v,h,C){var O=h.pendingProps,F=O.revealOrder,V=O.tail;if(n0(v,h,O.children,C),O=De.current,(O&2)!=0)O=O&1|2,h.effectTag|=64;else{if(v!==null&&(v.effectTag&64)!=0)e:for(v=h.child;v!==null;){if(v.tag===13)v.memoizedState!==null&&hn(v,C);else if(v.tag===19)hn(v,C);else if(v.child!==null){v.child.return=v,v=v.child;continue}if(v===h)break e;for(;v.sibling===null;){if(v.return===null||v.return===h)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}O&=1}if(kr(De,O,h),(h.mode&2)==0)h.memoizedState=null;else switch(F){case"forwards":for(C=h.child,F=null;C!==null;)v=C.alternate,v!==null&&Pe(v)===null&&(F=C),C=C.sibling;C=F,C===null?(F=h.child,h.child=null):(F=C.sibling,C.sibling=null),Un(h,!1,F,C,V,h.lastEffect);break;case"backwards":for(C=null,F=h.child,h.child=null;F!==null;){if(v=F.alternate,v!==null&&Pe(v)===null){h.child=F;break}v=F.sibling,F.sibling=C,C=F,F=v}Un(h,!0,C,null,V,h.lastEffect);break;case"together":Un(h,!1,null,null,void 0,h.lastEffect);break;default:h.memoizedState=null}return h.child}function H0(v,h,C){v!==null&&(h.dependencies=v.dependencies);var O=h.expirationTime;if(O!==0&&uf(O),h.childExpirationTime<C)return null;if(v!==null&&h.child!==v.child)throw Error(t(153));if(h.child!==null){for(v=h.child,C=$0(v,v.pendingProps,v.expirationTime),h.child=C,C.return=h;v.sibling!==null;)v=v.sibling,C=C.sibling=$0(v,v.pendingProps,v.expirationTime),C.return=h;C.sibling=null}return h.child}function yi(v){v.effectTag|=4}var Wr,qr,d0,wn;if(Ht)Wr=function(v,h){for(var C=h.child;C!==null;){if(C.tag===5||C.tag===6)pe(v,C.stateNode);else if(C.tag!==4&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===h)break;for(;C.sibling===null;){if(C.return===null||C.return===h)return;C=C.return}C.sibling.return=C.return,C=C.sibling}},qr=function(){},d0=function(v,h,C,O,F){if(v=v.memoizedProps,v!==O){var V=h.stateNode,Q=q(ue.current);C=Te(V,C,v,O,F,Q),(h.updateQueue=C)&&yi(h)}},wn=function(v,h,C,O){C!==O&&yi(h)};else if(nr){Wr=function(v,h,C,O){for(var F=h.child;F!==null;){if(F.tag===5){var V=F.stateNode;C&&O&&(V=hs(V,F.type,F.memoizedProps,F)),pe(v,V)}else if(F.tag===6)V=F.stateNode,C&&O&&(V=ms(V,F.memoizedProps,F)),pe(v,V);else if(F.tag!==4){if(F.tag===13&&(F.effectTag&4)!=0&&(V=F.memoizedState!==null)){var Q=F.child;if(Q!==null&&(Q.child!==null&&(Q.child.return=Q,Wr(v,Q,!0,V)),V=Q.sibling,V!==null)){V.return=F,F=V;continue}}if(F.child!==null){F.child.return=F,F=F.child;continue}}if(F===h)break;for(;F.sibling===null;){if(F.return===null||F.return===h)return;F=F.return}F.sibling.return=F.return,F=F.sibling}};var Uo=function(v,h,C,O){for(var F=h.child;F!==null;){if(F.tag===5){var V=F.stateNode;C&&O&&(V=hs(V,F.type,F.memoizedProps,F)),ps(v,V)}else if(F.tag===6)V=F.stateNode,C&&O&&(V=ms(V,F.memoizedProps,F)),ps(v,V);else if(F.tag!==4){if(F.tag===13&&(F.effectTag&4)!=0&&(V=F.memoizedState!==null)){var Q=F.child;if(Q!==null&&(Q.child!==null&&(Q.child.return=Q,Uo(v,Q,!0,V)),V=Q.sibling,V!==null)){V.return=F,F=V;continue}}if(F.child!==null){F.child.return=F,F=F.child;continue}}if(F===h)break;for(;F.sibling===null;){if(F.return===null||F.return===h)return;F=F.return}F.sibling.return=F.return,F=F.sibling}};qr=function(v){var h=v.stateNode;if(v.firstEffect!==null){var C=h.containerInfo,O=Qs(C);Uo(O,v,!1,!1),h.pendingChildren=O,yi(v),Io(C,O)}},d0=function(v,h,C,O,F){var V=v.stateNode,Q=v.memoizedProps;if((v=h.firstEffect===null)&&Q===O)h.stateNode=V;else{var Ge=h.stateNode,Ke=q(ue.current),ot=null;Q!==O&&(ot=Te(Ge,C,Q,O,F,Ke)),v&&ot===null?h.stateNode=V:(V=Js(V,ot,C,Q,O,h,v,Ge),J(V,C,O,F,Ke)&&yi(h),h.stateNode=V,v?yi(h):Wr(V,h,!1,!1))}},wn=function(v,h,C,O){C!==O&&(v=q(fe.current),C=q(ue.current),h.stateNode=kt(O,v,C,h),yi(h))}}else qr=function(){},d0=function(){},wn=function(){};function Ni(v,h){switch(v.tailMode){case"hidden":h=v.tail;for(var C=null;h!==null;)h.alternate!==null&&(C=h),h=h.sibling;C===null?v.tail=null:C.sibling=null;break;case"collapsed":C=v.tail;for(var O=null;C!==null;)C.alternate!==null&&(O=C),C=C.sibling;O===null?h||v.tail===null?v.tail=null:v.tail.sibling=null:O.sibling=null}}function Qn(v){switch(v.tag){case 1:s0(v.type)&&xu(v);var h=v.effectTag;return h&4096?(v.effectTag=h&-4097|64,v):null;case 3:if(Ae(v),_s(v),h=v.effectTag,(h&64)!=0)throw Error(t(285));return v.effectTag=h&-4097|64,v;case 5:return $(v),null;case 13:return wr(De,v),h=v.effectTag,h&4096?(v.effectTag=h&-4097|64,v):null;case 19:return wr(De,v),null;case 4:return Ae(v),null;case 10:return ni(v),null;default:return null}}function Fs(v,h){return{value:v,source:h,stack:il(h)}}var zu=typeof WeakSet=="function"?WeakSet:Set;function V0(v,h){var C=h.source,O=h.stack;O===null&&C!==null&&(O=il(C)),C!==null&&Le(C.type),h=h.value,v!==null&&v.tag===1&&Le(v.type);try{console.error(h)}catch(F){setTimeout(function(){throw F})}}function rf(v,h){try{h.props=v.memoizedProps,h.state=v.memoizedState,h.componentWillUnmount()}catch(C){Hu(v,C)}}function _0(v){var h=v.ref;if(h!==null)if(typeof h=="function")try{h(null)}catch(C){Hu(v,C)}else h.current=null}function hl(v,h){switch(h.tag){case 0:case 11:case 15:G0(2,0,h);break;case 1:if(h.effectTag&256&&v!==null){var C=v.memoizedProps,O=v.memoizedState;v=h.stateNode,h=v.getSnapshotBeforeUpdate(h.elementType===h.type?C:T0(h.type,C),O),v.__reactInternalSnapshotBeforeUpdate=h}break;case 3:case 5:case 6:case 4:case 17:break;default:throw Error(t(163))}}function G0(v,h,C){if(C=C.updateQueue,C=C!==null?C.lastEffect:null,C!==null){var O=C=C.next;do{if((O.tag&v)!=0){var F=O.destroy;O.destroy=void 0,F!==void 0&&F()}(O.tag&h)!=0&&(F=O.create,O.destroy=F()),O=O.next}while(O!==C)}}function _r(v,h,C){switch(typeof gl=="function"&&gl(h),h.tag){case 0:case 11:case 14:case 15:if(v=h.updateQueue,v!==null&&(v=v.lastEffect,v!==null)){var O=v.next;Ri(97<C?97:C,function(){var F=O;do{var V=F.destroy;if(V!==void 0){var Q=h;try{V()}catch(Ge){Hu(Q,Ge)}}F=F.next}while(F!==O)})}break;case 1:_0(h),C=h.stateNode,typeof C.componentWillUnmount=="function"&&rf(h,C);break;case 5:_0(h);break;case 4:Ht?y0(v,h,C):nr&&Qi(h)}}function I0(v,h,C){for(var O=h;;)if(_r(v,O,C),O.child===null||Ht&&O.tag===4){if(O===h)break;for(;O.sibling===null;){if(O.return===null||O.return===h)return;O=O.return}O.sibling.return=O.return,O=O.sibling}else O.child.return=O,O=O.child}function Ir(v){var h=v.alternate;v.return=null,v.child=null,v.memoizedState=null,v.updateQueue=null,v.dependencies=null,v.alternate=null,v.firstEffect=null,v.lastEffect=null,v.pendingProps=null,v.memoizedProps=null,h!==null&&Ir(h)}function Qi(v){if(nr){v=v.stateNode.containerInfo;var h=Qs(v);Zs(v,h)}}function Zi(v){return v.tag===5||v.tag===3||v.tag===4}function M0(v){if(Ht){e:{for(var h=v.return;h!==null;){if(Zi(h)){var C=h;break e}h=h.return}throw Error(t(160))}switch(h=C.stateNode,C.tag){case 5:var O=!1;break;case 3:h=h.containerInfo,O=!0;break;case 4:h=h.containerInfo,O=!0;break;default:throw Error(t(161))}C.effectTag&16&&(ds(h),C.effectTag&=-17);e:t:for(C=v;;){for(;C.sibling===null;){if(C.return===null||Zi(C.return)){C=null;break e}C=C.return}for(C.sibling.return=C.return,C=C.sibling;C.tag!==5&&C.tag!==6&&C.tag!==18;){if(C.effectTag&2||C.child===null||C.tag===4)continue t;C.child.return=C,C=C.child}if(!(C.effectTag&2)){C=C.stateNode;break e}}for(var F=v;;){var V=F.tag===5||F.tag===6;if(V)V=V?F.stateNode:F.stateNode.instance,C?O?e0(h,V,C):fr(h,V,C):O?kn(h,V):at(h,V);else if(F.tag!==4&&F.child!==null){F.child.return=F,F=F.child;continue}if(F===v)break;for(;F.sibling===null;){if(F.return===null||F.return===v)return;F=F.return}F.sibling.return=F.return,F=F.sibling}}}function y0(v,h,C){for(var O=h,F=!1,V,Q;;){if(!F){F=O.return;e:for(;;){if(F===null)throw Error(t(160));switch(V=F.stateNode,F.tag){case 5:Q=!1;break e;case 3:V=V.containerInfo,Q=!0;break e;case 4:V=V.containerInfo,Q=!0;break e}F=F.return}F=!0}if(O.tag===5||O.tag===6)I0(v,O,C),Q?co(V,O.stateNode):vi(V,O.stateNode);else if(O.tag===4){if(O.child!==null){V=O.stateNode.containerInfo,Q=!0,O.child.return=O,O=O.child;continue}}else if(_r(v,O,C),O.child!==null){O.child.return=O,O=O.child;continue}if(O===h)break;for(;O.sibling===null;){if(O.return===null||O.return===h)return;O=O.return,O.tag===4&&(F=!1)}O.sibling.return=O.return,O=O.sibling}}function oi(v,h){if(Ht)switch(h.tag){case 0:case 11:case 14:case 15:G0(4,8,h);break;case 1:break;case 5:var C=h.stateNode;if(C!=null){var O=h.memoizedProps;v=v!==null?v.memoizedProps:O;var F=h.type,V=h.updateQueue;h.updateQueue=null,V!==null&&lr(C,V,F,v,O,h)}break;case 6:if(h.stateNode===null)throw Error(t(162));C=h.memoizedProps,Mn(h.stateNode,v!==null?v.memoizedProps:C,C);break;case 3:w&&(h=h.stateNode,h.hydrate&&(h.hydrate=!1,Jl(h.containerInfo)));break;case 12:break;case 13:r0(h),p0(h);break;case 19:p0(h);break;case 17:break;case 20:break;case 21:break;default:throw Error(t(163))}else{switch(h.tag){case 0:case 11:case 14:case 15:G0(4,8,h);return;case 12:return;case 13:r0(h),p0(h);return;case 19:p0(h);return;case 3:w&&(C=h.stateNode,C.hydrate&&(C.hydrate=!1,Jl(C.containerInfo)))}e:if(nr)switch(h.tag){case 1:case 5:case 6:case 20:break e;case 3:case 4:h=h.stateNode,Zs(h.containerInfo,h.pendingChildren);break e;default:throw Error(t(163))}}}function r0(v){var h=v;if(v.memoizedState===null)var C=!1;else C=!0,h=v.child,Lt=U0();if(Ht&&h!==null)e:if(v=h,Ht)for(h=v;;){if(h.tag===5){var O=h.stateNode;C?Cu(O):Xo(h.stateNode,h.memoizedProps)}else if(h.tag===6)O=h.stateNode,C?Uf(O):Ko(O,h.memoizedProps);else if(h.tag===13&&h.memoizedState!==null&&h.memoizedState.dehydrated===null){O=h.child.sibling,O.return=h,h=O;continue}else if(h.child!==null){h.child.return=h,h=h.child;continue}if(h===v)break e;for(;h.sibling===null;){if(h.return===null||h.return===v)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}}function p0(v){var h=v.updateQueue;if(h!==null){v.updateQueue=null;var C=v.stateNode;C===null&&(C=v.stateNode=new zu),h.forEach(function(O){var F=Ec.bind(null,v,O);C.has(O)||(C.add(O),O.then(F,F))})}}var go=typeof WeakMap=="function"?WeakMap:Map;function iu(v,h,C){C=l0(C,null),C.tag=3,C.payload={element:null};var O=h.value;return C.callback=function(){cr||(cr=!0,Nr=O),V0(v,h)},C}function ml(v,h,C){C=l0(C,null),C.tag=3;var O=v.type.getDerivedStateFromError;if(typeof O=="function"){var F=h.value;C.payload=function(){return V0(v,h),O(F)}}var V=v.stateNode;return V!==null&&typeof V.componentDidCatch=="function"&&(C.callback=function(){typeof O!="function"&&(Dr===null?Dr=new Set([this]):Dr.add(this),V0(v,h));var Q=h.stack;this.componentDidCatch(h.value,{componentStack:Q!==null?Q:""})}),C}var vl=Math.ceil,F0=x.ReactCurrentDispatcher,ou=x.ReactCurrentOwner,An=0,ui=8,Mr=16,Lr=32,eo=0,pr=1,En=2,w0=3,si=4,wi=5,Gt=An,K=null,Y=null,ve=0,ae=eo,Ue=null,Je=1073741823,yt=1073741823,jt=null,Xt=0,Nt=!1,Lt=0,rn=500,gt=null,cr=!1,Nr=null,Dr=null,z=!1,ir=null,Er=90,bn=null,Qt=0,i0=null,Kr=0;function h0(){return(Gt&(Mr|Lr))!==An?1073741821-(U0()/10|0):Kr!==0?Kr:Kr=1073741821-(U0()/10|0)}function Hr(v,h,C){if(h=h.mode,(h&2)==0)return 1073741823;var O=Ss();if((h&4)==0)return O===99?1073741823:1073741822;if((Gt&Mr)!==An)return ve;if(C!==null)v=eu(v,C.timeoutMs|0||5e3,250);else switch(O){case 99:v=1073741823;break;case 98:v=eu(v,150,100);break;case 97:case 96:v=eu(v,5e3,250);break;case 95:v=2;break;default:throw Error(t(326))}return K!==null&&v===ve&&--v,v}function m0(v,h){if(50<Qt)throw Qt=0,i0=null,Error(t(185));if(v=Bi(v,h),v!==null){var C=Ss();h===1073741823?(Gt&ui)!==An&&(Gt&(Mr|Lr))===An?b0(v):(D0(v),Gt===An&&S0()):D0(v),(Gt&4)===An||C!==98&&C!==99||(bn===null?bn=new Map([[v,h]]):(C=bn.get(v),(C===void 0||C>h)&&bn.set(v,h)))}}function Bi(v,h){v.expirationTime<h&&(v.expirationTime=h);var C=v.alternate;C!==null&&C.expirationTime<h&&(C.expirationTime=h);var O=v.return,F=null;if(O===null&&v.tag===3)F=v.stateNode;else for(;O!==null;){if(C=O.alternate,O.childExpirationTime<h&&(O.childExpirationTime=h),C!==null&&C.childExpirationTime<h&&(C.childExpirationTime=h),O.return===null&&O.tag===3){F=O.stateNode;break}O=O.return}return F!==null&&(K===F&&(uf(h),ae===si&&ro(F,ve)),jo(F,h)),F}function to(v){var h=v.lastExpiredTime;return h!==0||(h=v.firstPendingTime,!Vf(v,h))?h:(h=v.lastPingedTime,v=v.nextKnownPendingLevel,h>v?h:v)}function D0(v){if(v.lastExpiredTime!==0)v.callbackExpirationTime=1073741823,v.callbackPriority=99,v.callbackNode=Po(b0.bind(null,v));else{var h=to(v),C=v.callbackNode;if(h===0)C!==null&&(v.callbackNode=null,v.callbackExpirationTime=0,v.callbackPriority=90);else{var O=h0();if(h===1073741823?O=99:h===1||h===2?O=95:(O=10*(1073741821-h)-10*(1073741821-O),O=0>=O?99:250>=O?98:5250>=O?97:95),C!==null){var F=v.callbackPriority;if(v.callbackExpirationTime===h&&F>=O)return;C!==Ou&&Ql(C)}v.callbackExpirationTime=h,v.callbackPriority=O,h=h===1073741823?Po(b0.bind(null,v)):Zo(O,Wu.bind(null,v),{timeout:10*(1073741821-h)-U0()}),v.callbackNode=h}}}function Wu(v,h){if(Kr=0,h)return h=h0(),yl(v,h),D0(v),null;var C=to(v);if(C!==0){if(h=v.callbackNode,(Gt&(Mr|Lr))!==An)throw Error(t(327));if(Rs(),v===K&&C===ve||uu(v,C),Y!==null){var O=Gt;Gt|=Mr;var F=Y0(v);do try{C1();break}catch(Ge){qu(v,Ge)}while(1);if(Ru(),Gt=O,F0.current=F,ae===pr)throw h=Ue,uu(v,C),ro(v,C),D0(v),h;if(Y===null)switch(F=v.finishedWork=v.current.alternate,v.finishedExpirationTime=C,O=ae,K=null,O){case eo:case pr:throw Error(t(345));case En:yl(v,2<C?2:C);break;case w0:if(ro(v,C),O=v.lastSuspendedTime,C===O&&(v.nextKnownPendingLevel=Wf(F)),Je===1073741823&&(F=Lt+rn-U0(),10<F)){if(Nt){var V=v.lastPingedTime;if(V===0||V>=C){v.lastPingedTime=C,uu(v,C);break}}if(V=to(v),V!==0&&V!==C)break;if(O!==0&&O!==C){v.lastPingedTime=O;break}v.timeoutHandle=Pt(lu.bind(null,v),F);break}lu(v);break;case si:if(ro(v,C),O=v.lastSuspendedTime,C===O&&(v.nextKnownPendingLevel=Wf(F)),Nt&&(F=v.lastPingedTime,F===0||F>=C)){v.lastPingedTime=C,uu(v,C);break}if(F=to(v),F!==0&&F!==C)break;if(O!==0&&O!==C){v.lastPingedTime=O;break}if(yt!==1073741823?O=10*(1073741821-yt)-U0():Je===1073741823?O=0:(O=10*(1073741821-Je)-5e3,F=U0(),C=10*(1073741821-C)-F,O=F-O,0>O&&(O=0),O=(120>O?120:480>O?480:1080>O?1080:1920>O?1920:3e3>O?3e3:4320>O?4320:1960*vl(O/1960))-O,C<O&&(O=C)),10<O){v.timeoutHandle=Pt(lu.bind(null,v),O);break}lu(v);break;case wi:if(Je!==1073741823&&jt!==null){V=Je;var Q=jt;if(O=Q.busyMinDurationMs|0,0>=O?O=0:(F=Q.busyDelayMs|0,V=U0()-(10*(1073741821-V)-(Q.timeoutMs|0||5e3)),O=V<=F?0:F+O-V),10<O){ro(v,C),v.timeoutHandle=Pt(lu.bind(null,v),O);break}}lu(v);break;default:throw Error(t(329))}if(D0(v),v.callbackNode===h)return Wu.bind(null,v)}}return null}function b0(v){var h=v.lastExpiredTime;if(h=h!==0?h:1073741823,v.finishedExpirationTime===h)lu(v);else{if((Gt&(Mr|Lr))!==An)throw Error(t(327));if(Rs(),v===K&&h===ve||uu(v,h),Y!==null){var C=Gt;Gt|=Mr;var O=Y0(v);do try{E1();break}catch(F){qu(v,F)}while(1);if(Ru(),Gt=C,F0.current=O,ae===pr)throw C=Ue,uu(v,h),ro(v,h),D0(v),C;if(Y!==null)throw Error(t(261));v.finishedWork=v.current.alternate,v.finishedExpirationTime=h,K=null,lu(v),D0(v)}}return null}function of(v,h){yl(v,h),D0(v),(Gt&(Mr|Lr))===An&&S0()}function D1(){if(bn!==null){var v=bn;bn=null,v.forEach(function(h,C){yl(C,h),D0(C)}),S0()}}function _c(v,h){if((Gt&(Mr|Lr))!==An)throw Error(t(187));var C=Gt;Gt|=1;try{return Ri(99,v.bind(null,h))}finally{Gt=C,S0()}}function uu(v,h){v.finishedWork=null,v.finishedExpirationTime=0;var C=v.timeoutHandle;if(C!==Rn&&(v.timeoutHandle=Rn,ln(C)),Y!==null)for(C=Y.return;C!==null;){var O=C;switch(O.tag){case 1:var F=O.type.childContextTypes;F!=null&&xu(O);break;case 3:Ae(O),_s(O);break;case 5:$(O);break;case 4:Ae(O);break;case 13:wr(De,O);break;case 19:wr(De,O);break;case 10:ni(O)}C=C.return}K=v,Y=$0(v.current,null,h),ve=h,ae=eo,Ue=null,yt=Je=1073741823,jt=null,Xt=0,Nt=!1}function qu(v,h){do{try{if(Ru(),$t(),Y===null||Y.return===null)return ae=pr,Ue=h,null;e:{var C=v,O=Y.return,F=Y,V=h;if(h=ve,F.effectTag|=2048,F.firstEffect=F.lastEffect=null,V!==null&&typeof V=="object"&&typeof V.then=="function"){var Q=V,Ge=(De.current&1)!=0,Ke=O;do{var ot;if(ot=Ke.tag===13){var Tn=Ke.memoizedState;if(Tn!==null)ot=Tn.dehydrated!==null;else{var C0=Ke.memoizedProps;ot=C0.fallback===void 0?!1:C0.unstable_avoidThisFallback!==!0?!0:!Ge}}if(ot){var Fr=Ke.updateQueue;if(Fr===null){var ci=new Set;ci.add(Q),Ke.updateQueue=ci}else Fr.add(Q);if((Ke.mode&2)==0){if(Ke.effectTag|=64,F.effectTag&=-2981,F.tag===1)if(F.alternate===null)F.tag=17;else{var io=l0(1073741823,null);io.tag=2,j0(F,io)}F.expirationTime=1073741823;break e}V=void 0,F=h;var ai=C.pingCache;if(ai===null?(ai=C.pingCache=new go,V=new Set,ai.set(Q,V)):(V=ai.get(Q),V===void 0&&(V=new Set,ai.set(Q,V))),!V.has(F)){V.add(F);var Ie=Dc.bind(null,C,Q,F);Q.then(Ie,Ie)}Ke.effectTag|=4096,Ke.expirationTime=h;break e}Ke=Ke.return}while(Ke!==null);V=Error((Le(F.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`+il(F))}ae!==wi&&(ae=En),V=Fs(V,F),Ke=O;do{switch(Ke.tag){case 3:Q=V,Ke.effectTag|=4096,Ke.expirationTime=h;var we=iu(Ke,Q,h);Lu(Ke,we);break e;case 1:Q=V;var Be=Ke.type,wt=Ke.stateNode;if((Ke.effectTag&64)==0&&(typeof Be.getDerivedStateFromError=="function"||wt!==null&&typeof wt.componentDidCatch=="function"&&(Dr===null||!Dr.has(wt)))){Ke.effectTag|=4096,Ke.expirationTime=h;var en=ml(Ke,Q,h);Lu(Ke,en);break e}}Ke=Ke.return}while(Ke!==null)}Y=su(Y)}catch(er){h=er;continue}break}while(1)}function Y0(){var v=F0.current;return F0.current=Ji,v===null?Ji:v}function zf(v,h){v<Je&&2<v&&(Je=v),h!==null&&v<yt&&2<v&&(yt=v,jt=h)}function uf(v){v>Xt&&(Xt=v)}function E1(){for(;Y!==null;)Y=yc(Y)}function C1(){for(;Y!==null&&!dn();)Y=yc(Y)}function yc(v){var h=Cc(v.alternate,v,ve);return v.memoizedProps=v.pendingProps,h===null&&(h=su(v)),ou.current=null,h}function su(v){Y=v;do{var h=Y.alternate;if(v=Y.return,(Y.effectTag&2048)==0){e:{var C=h;h=Y;var O=ve,F=h.pendingProps;switch(h.tag){case 2:break;case 16:break;case 15:case 0:break;case 1:s0(h.type)&&xu(h);break;case 3:Ae(h),_s(h),F=h.stateNode,F.pendingContext&&(F.context=F.pendingContext,F.pendingContext=null),(C===null||C.child===null)&&Bo(h)&&yi(h),qr(h);break;case 5:$(h);var V=q(fe.current);if(O=h.type,C!==null&&h.stateNode!=null)d0(C,h,O,F,V),C.ref!==h.ref&&(h.effectTag|=128);else if(F){if(C=q(ue.current),Bo(h)){if(F=h,!w)throw Error(t(175));C=Mi(F.stateNode,F.type,F.memoizedProps,V,C,F),F.updateQueue=C,C=C!==null,C&&yi(h)}else{var Q=ee(O,F,V,C,h);Wr(Q,h,!1,!1),h.stateNode=Q,J(Q,O,F,V,C)&&yi(h)}h.ref!==null&&(h.effectTag|=128)}else if(h.stateNode===null)throw Error(t(166));break;case 6:if(C&&h.stateNode!=null)wn(C,h,C.memoizedProps,F);else{if(typeof F!="string"&&h.stateNode===null)throw Error(t(166));if(C=q(fe.current),V=q(ue.current),Bo(h)){if(C=h,!w)throw Error(t(176));(C=xr(C.stateNode,C.memoizedProps,C))&&yi(h)}else h.stateNode=kt(F,C,V,h)}break;case 11:break;case 13:if(wr(De,h),F=h.memoizedState,(h.effectTag&64)!=0){h.expirationTime=O;break e}F=F!==null,V=!1,C===null?h.memoizedProps.fallback!==void 0&&Bo(h):(O=C.memoizedState,V=O!==null,F||O===null||(O=C.child.sibling,O!==null&&(Q=h.firstEffect,Q!==null?(h.firstEffect=O,O.nextEffect=Q):(h.firstEffect=h.lastEffect=O,O.nextEffect=null),O.effectTag=8))),F&&!V&&(h.mode&2)!=0&&(C===null&&h.memoizedProps.unstable_avoidThisFallback!==!0||(De.current&1)!=0?ae===eo&&(ae=w0):((ae===eo||ae===w0)&&(ae=si),Xt!==0&&K!==null&&(ro(K,ve),jo(K,Xt)))),nr&&F&&(h.effectTag|=4),Ht&&(F||V)&&(h.effectTag|=4);break;case 7:break;case 8:break;case 12:break;case 4:Ae(h),qr(h);break;case 10:ni(h);break;case 9:break;case 14:break;case 17:s0(h.type)&&xu(h);break;case 19:if(wr(De,h),F=h.memoizedState,F===null)break;if(V=(h.effectTag&64)!=0,Q=F.rendering,Q===null){if(V)Ni(F,!1);else if(ae!==eo||C!==null&&(C.effectTag&64)!=0)for(C=h.child;C!==null;){if(Q=Pe(C),Q!==null){for(h.effectTag|=64,Ni(F,!1),C=Q.updateQueue,C!==null&&(h.updateQueue=C,h.effectTag|=4),F.lastEffect===null&&(h.firstEffect=null),h.lastEffect=F.lastEffect,C=O,F=h.child;F!==null;)V=F,O=C,V.effectTag&=2,V.nextEffect=null,V.firstEffect=null,V.lastEffect=null,Q=V.alternate,Q===null?(V.childExpirationTime=0,V.expirationTime=O,V.child=null,V.memoizedProps=null,V.memoizedState=null,V.updateQueue=null,V.dependencies=null):(V.childExpirationTime=Q.childExpirationTime,V.expirationTime=Q.expirationTime,V.child=Q.child,V.memoizedProps=Q.memoizedProps,V.memoizedState=Q.memoizedState,V.updateQueue=Q.updateQueue,O=Q.dependencies,V.dependencies=O===null?null:{expirationTime:O.expirationTime,firstContext:O.firstContext,responders:O.responders}),F=F.sibling;kr(De,De.current&1|2,h),h=h.child;break e}C=C.sibling}}else{if(!V)if(C=Pe(Q),C!==null){if(h.effectTag|=64,V=!0,C=C.updateQueue,C!==null&&(h.updateQueue=C,h.effectTag|=4),Ni(F,!0),F.tail===null&&F.tailMode==="hidden"&&!Q.alternate){h=h.lastEffect=F.lastEffect,h!==null&&(h.nextEffect=null);break}}else U0()>F.tailExpiration&&1<O&&(h.effectTag|=64,V=!0,Ni(F,!1),h.expirationTime=h.childExpirationTime=O-1);F.isBackwards?(Q.sibling=h.child,h.child=Q):(C=F.last,C!==null?C.sibling=Q:h.child=Q,F.last=Q)}if(F.tail!==null){F.tailExpiration===0&&(F.tailExpiration=U0()+500),C=F.tail,F.rendering=C,F.tail=C.sibling,F.lastEffect=h.lastEffect,C.sibling=null,F=De.current,F=V?F&1|2:F&1,kr(De,F,h),h=C;break e}break;case 20:break;case 21:break;default:throw Error(t(156,h.tag))}h=null}if(C=Y,ve===1||C.childExpirationTime!==1){for(F=0,V=C.child;V!==null;)O=V.expirationTime,Q=V.childExpirationTime,O>F&&(F=O),Q>F&&(F=Q),V=V.sibling;C.childExpirationTime=F}if(h!==null)return h;v!==null&&(v.effectTag&2048)==0&&(v.firstEffect===null&&(v.firstEffect=Y.firstEffect),Y.lastEffect!==null&&(v.lastEffect!==null&&(v.lastEffect.nextEffect=Y.firstEffect),v.lastEffect=Y.lastEffect),1<Y.effectTag&&(v.lastEffect!==null?v.lastEffect.nextEffect=Y:v.firstEffect=Y,v.lastEffect=Y))}else{if(h=Qn(Y,ve),h!==null)return h.effectTag&=2047,h;v!==null&&(v.firstEffect=v.lastEffect=null,v.effectTag|=2048)}if(h=Y.sibling,h!==null)return h;Y=v}while(Y!==null);return ae===eo&&(ae=wi),null}function Wf(v){var h=v.expirationTime;return v=v.childExpirationTime,h>v?h:v}function lu(v){var h=Ss();return Ri(99,no.bind(null,v,h)),null}function no(v,h){do Rs();while(ir!==null);if((Gt&(Mr|Lr))!==An)throw Error(t(327));var C=v.finishedWork,O=v.finishedExpirationTime;if(C===null)return null;if(v.finishedWork=null,v.finishedExpirationTime=0,C===v.current)throw Error(t(177));v.callbackNode=null,v.callbackExpirationTime=0,v.callbackPriority=90,v.nextKnownPendingLevel=0;var F=Wf(C);if(v.firstPendingTime=F,O<=v.lastSuspendedTime?v.firstSuspendedTime=v.lastSuspendedTime=v.nextKnownPendingLevel=0:O<=v.firstSuspendedTime&&(v.firstSuspendedTime=O-1),O<=v.lastPingedTime&&(v.lastPingedTime=0),O<=v.lastExpiredTime&&(v.lastExpiredTime=0),v===K&&(Y=K=null,ve=0),1<C.effectTag?C.lastEffect!==null?(C.lastEffect.nextEffect=C,F=C.firstEffect):F=C:F=C.firstEffect,F!==null){var V=Gt;Gt|=Lr,ou.current=null,tt(v.containerInfo),gt=F;do try{S1()}catch(X0){if(gt===null)throw Error(t(330));Hu(gt,X0),gt=gt.nextEffect}while(gt!==null);gt=F;do try{for(var Q=v,Ge=h;gt!==null;){var Ke=gt.effectTag;if(Ke&16&&Ht&&ds(gt.stateNode),Ke&128){var ot=gt.alternate;if(ot!==null){var Tn=ot.ref;Tn!==null&&(typeof Tn=="function"?Tn(null):Tn.current=null)}}switch(Ke&1038){case 2:M0(gt),gt.effectTag&=-3;break;case 6:M0(gt),gt.effectTag&=-3,oi(gt.alternate,gt);break;case 1024:gt.effectTag&=-1025;break;case 1028:gt.effectTag&=-1025,oi(gt.alternate,gt);break;case 4:oi(gt.alternate,gt);break;case 8:var C0=Q,Fr=gt,ci=Ge;Ht?y0(C0,Fr,ci):I0(C0,Fr,ci),Ir(Fr)}gt=gt.nextEffect}}catch(X0){if(gt===null)throw Error(t(330));Hu(gt,X0),gt=gt.nextEffect}while(gt!==null);b(v.containerInfo),v.current=C,gt=F;do try{for(Ke=O;gt!==null;){var io=gt.effectTag;if(io&36){var ai=gt.alternate;switch(ot=gt,Tn=Ke,ot.tag){case 0:case 11:case 15:G0(16,32,ot);break;case 1:var Ie=ot.stateNode;if(ot.effectTag&4)if(ai===null)Ie.componentDidMount();else{var we=ot.elementType===ot.type?ai.memoizedProps:T0(ot.type,ai.memoizedProps);Ie.componentDidUpdate(we,ai.memoizedState,Ie.__reactInternalSnapshotBeforeUpdate)}var Be=ot.updateQueue;Be!==null&&nn(ot,Be,Ie,Tn);break;case 3:var wt=ot.updateQueue;if(wt!==null){if(Q=null,ot.child!==null)switch(ot.child.tag){case 5:Q=Ft(ot.child.stateNode);break;case 1:Q=ot.child.stateNode}nn(ot,wt,Q,Tn)}break;case 5:var en=ot.stateNode;ai===null&&ot.effectTag&4&&Hn(en,ot.type,ot.memoizedProps,ot);break;case 6:break;case 4:break;case 12:break;case 13:if(w&&ot.memoizedState===null){var er=ot.alternate;if(er!==null){var fn=er.memoizedState;if(fn!==null){var or=fn.dehydrated;or!==null&&vs(or)}}}break;case 19:case 17:case 20:case 21:break;default:throw Error(t(163))}}if(io&128){ot=void 0;var Br=gt.ref;if(Br!==null){var jn=gt.stateNode;switch(gt.tag){case 5:ot=Ft(jn);break;default:ot=jn}typeof Br=="function"?Br(ot):Br.current=ot}}gt=gt.nextEffect}}catch(X0){if(gt===null)throw Error(t(330));Hu(gt,X0),gt=gt.nextEffect}while(gt!==null);gt=null,Zl(),Gt=V}else v.current=C;if(z)z=!1,ir=v,Er=h;else for(gt=F;gt!==null;)h=gt.nextEffect,gt.nextEffect=null,gt=h;if(h=v.firstPendingTime,h===0&&(Dr=null),h===1073741823?v===i0?Qt++:(Qt=0,i0=v):Qt=0,typeof qf=="function"&&qf(C.stateNode,O),D0(v),cr)throw cr=!1,v=Nr,Nr=null,v;return(Gt&ui)!==An||S0(),null}function S1(){for(;gt!==null;){var v=gt.effectTag;(v&256)!=0&&hl(gt.alternate,gt),(v&512)==0||z||(z=!0,Zo(97,function(){return Rs(),null})),gt=gt.nextEffect}}function Rs(){if(Er!==90){var v=97<Er?97:Er;return Er=90,Ri(v,T1)}}function T1(){if(ir===null)return!1;var v=ir;if(ir=null,(Gt&(Mr|Lr))!==An)throw Error(t(331));var h=Gt;for(Gt|=Lr,v=v.current.firstEffect;v!==null;){try{var C=v;if((C.effectTag&512)!=0)switch(C.tag){case 0:case 11:case 15:G0(128,0,C),G0(0,64,C)}}catch(O){if(v===null)throw Error(t(330));Hu(v,O)}C=v.nextEffect,v.nextEffect=null,v=C}return Gt=h,S0(),!0}function wc(v,h,C){h=Fs(C,h),h=iu(v,h,1073741823),j0(v,h),v=Bi(v,1073741823),v!==null&&D0(v)}function Hu(v,h){if(v.tag===3)wc(v,v,h);else for(var C=v.return;C!==null;){if(C.tag===3){wc(C,v,h);break}else if(C.tag===1){var O=C.stateNode;if(typeof C.type.getDerivedStateFromError=="function"||typeof O.componentDidCatch=="function"&&(Dr===null||!Dr.has(O))){v=Fs(h,v),v=ml(C,v,1073741823),j0(C,v),C=Bi(C,1073741823),C!==null&&D0(C);break}}C=C.return}}function Dc(v,h,C){var O=v.pingCache;O!==null&&O.delete(h),K===v&&ve===C?ae===si||ae===w0&&Je===1073741823&&U0()-Lt<rn?uu(v,ve):Nt=!0:Vf(v,C)&&(h=v.lastPingedTime,h!==0&&h<C||(v.lastPingedTime=C,v.finishedExpirationTime===C&&(v.finishedExpirationTime=0,v.finishedWork=null),D0(v)))}function Ec(v,h){var C=v.stateNode;C!==null&&C.delete(h),h=0,h===0&&(h=h0(),h=Hr(h,v,null)),v=Bi(v,h),v!==null&&D0(v)}var Cc;Cc=function(v,h,C){var O=h.expirationTime;if(v!==null){var F=h.pendingProps;if(v.memoizedProps!==F||B0.current)ii=!0;else{if(O<C){switch(ii=!1,h.tag){case 3:xe(h),Or();break;case 5:if(qe(h),h.mode&4&&C!==1&&it(h.type,F))return h.expirationTime=h.childExpirationTime=1,null;break;case 1:s0(h.type)&&ao(h);break;case 4:de(h,h.stateNode.containerInfo);break;case 10:Ts(h,h.memoizedProps.value);break;case 13:if(h.memoizedState!==null)return O=h.child.childExpirationTime,O!==0&&O>=C?ht(v,h,C):(kr(De,De.current&1,h),h=H0(v,h,C),h!==null?h.sibling:null);kr(De,De.current&1,h);break;case 19:if(O=h.childExpirationTime>=C,(v.effectTag&64)!=0){if(O)return Vt(v,h,C);h.effectTag|=64}if(F=h.memoizedState,F!==null&&(F.rendering=null,F.tail=null),kr(De,De.current,h),!O)return null}return H0(v,h,C)}ii=!1}}else ii=!1;switch(h.expirationTime=0,h.tag){case 2:if(O=h.type,v!==null&&(v.alternate=null,h.alternate=null,h.effectTag|=2),v=h.pendingProps,F=Tu(h,N0.current),Ki(h,C),F=Dt(null,h,O,v,F,C),h.effectTag|=1,typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0){if(h.tag=1,$t(),s0(O)){var V=!0;ao(h)}else V=!1;h.memoizedState=F.state!==null&&F.state!==void 0?F.state:null;var Q=O.getDerivedStateFromProps;typeof Q=="function"&&No(h,O,Q,v),F.updater=Nu,h.stateNode=F,F._reactInternalFiber=h,Bu(h,O,v,C),h=Re(null,h,O,!0,V,C)}else h.tag=0,n0(null,h,F,C),h=h.child;return h;case 16:if(F=h.elementType,v!==null&&(v.alternate=null,h.alternate=null,h.effectTag|=2),v=h.pendingProps,Oe(F),F._status!==1)throw F._result;switch(F=F._result,h.type=F,V=h.tag=x1(F),v=T0(F,v),V){case 0:h=q0(null,h,F,v,C);break;case 1:h=le(null,h,F,v,C);break;case 11:h=zr(null,h,F,v,C);break;case 14:h=tf(null,h,F,T0(F.type,v),O,C);break;default:throw Error(t(306,F,""))}return h;case 0:return O=h.type,F=h.pendingProps,F=h.elementType===O?F:T0(O,F),q0(v,h,O,F,C);case 1:return O=h.type,F=h.pendingProps,F=h.elementType===O?F:T0(O,F),le(v,h,O,F,C);case 3:if(xe(h),O=h.updateQueue,O===null)throw Error(t(282));if(F=h.memoizedState,F=F!==null?F.element:null,x0(h,O,h.pendingProps,null,C),O=h.memoizedState.element,O===F)Or(),h=H0(v,h,C);else{if((F=h.stateNode.hydrate)&&(w?(jr=rl(h.stateNode.containerInfo),A0=h,F=Jn=!0):F=!1),F)for(C=U(h,null,O,C),h.child=C;C;)C.effectTag=C.effectTag&-3|1024,C=C.sibling;else n0(v,h,O,C),Or();h=h.child}return h;case 5:return qe(h),v===null&&vo(h),O=h.type,F=h.pendingProps,V=v!==null?v.memoizedProps:null,Q=F.children,ft(O,F)?Q=null:V!==null&&ft(O,V)&&(h.effectTag|=16),W0(v,h),h.mode&4&&C!==1&&it(O,F)?(h.expirationTime=h.childExpirationTime=1,h=null):(n0(v,h,Q,C),h=h.child),h;case 6:return v===null&&vo(h),null;case 13:return ht(v,h,C);case 4:return de(h,h.stateNode.containerInfo),O=h.pendingProps,v===null?h.child=P(h,null,O,C):n0(v,h,O,C),h.child;case 11:return O=h.type,F=h.pendingProps,F=h.elementType===O?F:T0(O,F),zr(v,h,O,F,C);case 7:return n0(v,h,h.pendingProps,C),h.child;case 8:return n0(v,h,h.pendingProps.children,C),h.child;case 12:return n0(v,h,h.pendingProps.children,C),h.child;case 10:e:{if(O=h.type._context,F=h.pendingProps,Q=h.memoizedProps,V=F.value,Ts(h,V),Q!==null){var Ge=Q.value;if(V=gn(Ge,V)?0:(typeof O._calculateChangedBits=="function"?O._calculateChangedBits(Ge,V):1073741823)|0,V===0){if(Q.children===F.children&&!B0.current){h=H0(v,h,C);break e}}else for(Ge=h.child,Ge!==null&&(Ge.return=h);Ge!==null;){var Ke=Ge.dependencies;if(Ke!==null){Q=Ge.child;for(var ot=Ke.firstContext;ot!==null;){if(ot.context===O&&(ot.observedBits&V)!=0){Ge.tag===1&&(ot=l0(C,null),ot.tag=2,j0(Ge,ot)),Ge.expirationTime<C&&(Ge.expirationTime=C),ot=Ge.alternate,ot!==null&&ot.expirationTime<C&&(ot.expirationTime=C),Xr(Ge.return,C),Ke.expirationTime<C&&(Ke.expirationTime=C);break}ot=ot.next}}else Q=Ge.tag===10&&Ge.type===h.type?null:Ge.child;if(Q!==null)Q.return=Ge;else for(Q=Ge;Q!==null;){if(Q===h){Q=null;break}if(Ge=Q.sibling,Ge!==null){Ge.return=Q.return,Q=Ge;break}Q=Q.return}Ge=Q}}n0(v,h,F.children,C),h=h.child}return h;case 9:return F=h.type,V=h.pendingProps,O=V.children,Ki(h,C),F=v0(F,V.unstable_observedBits),O=O(F),h.effectTag|=1,n0(v,h,O,C),h.child;case 14:return F=h.type,V=T0(F,h.pendingProps),V=T0(F.type,V),tf(v,h,F,V,O,C);case 15:return nf(v,h,h.type,h.pendingProps,O,C);case 17:return O=h.type,F=h.pendingProps,F=h.elementType===O?F:T0(O,F),v!==null&&(v.alternate=null,h.alternate=null,h.effectTag|=2),h.tag=1,s0(O)?(v=!0,ao(h)):v=!1,Ki(h,C),tu(h,O,F,C),Bu(h,O,F,C),Re(null,h,O,!0,v,C);case 19:return Vt(v,h,C)}throw Error(t(156,h.tag))};var qf=null,gl=null;function _l(v){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined")return!1;var h=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(h.isDisabled||!h.supportsFiber)return!0;try{var C=h.inject(v);qf=function(O){try{h.onCommitFiberRoot(C,O,void 0,(O.current.effectTag&64)==64)}catch(F){}},gl=function(O){try{h.onCommitFiberUnmount(C,O)}catch(F){}}}catch(O){}return!0}function sf(v,h,C,O){this.tag=v,this.key=C,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=h,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=O,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function _o(v,h,C,O){return new sf(v,h,C,O)}function lf(v){return v=v.prototype,!(!v||!v.isReactComponent)}function x1(v){if(typeof v=="function")return lf(v)?1:0;if(v!=null){if(v=v.$$typeof,v===ye)return 11;if(v===We)return 14}return 2}function $0(v,h){var C=v.alternate;return C===null?(C=_o(v.tag,h,v.key,v.mode),C.elementType=v.elementType,C.type=v.type,C.stateNode=v.stateNode,C.alternate=v,v.alternate=C):(C.pendingProps=h,C.effectTag=0,C.nextEffect=null,C.firstEffect=null,C.lastEffect=null),C.childExpirationTime=v.childExpirationTime,C.expirationTime=v.expirationTime,C.child=v.child,C.memoizedProps=v.memoizedProps,C.memoizedState=v.memoizedState,C.updateQueue=v.updateQueue,h=v.dependencies,C.dependencies=h===null?null:{expirationTime:h.expirationTime,firstContext:h.firstContext,responders:h.responders},C.sibling=v.sibling,C.index=v.index,C.ref=v.ref,C}function Ps(v,h,C,O,F,V){var Q=2;if(O=v,typeof v=="function")lf(v)&&(Q=1);else if(typeof v=="string")Q=5;else e:switch(v){case L:return li(C.children,F,V,h);case me:Q=8,F|=7;break;case B:Q=8,F|=1;break;case W:return v=_o(12,C,h,F|8),v.elementType=W,v.type=W,v.expirationTime=V,v;case se:return v=_o(13,C,h,F),v.type=se,v.elementType=se,v.expirationTime=V,v;case Ee:return v=_o(19,C,h,F),v.elementType=Ee,v.expirationTime=V,v;default:if(typeof v=="object"&&v!==null)switch(v.$$typeof){case X:Q=10;break e;case m:Q=9;break e;case ye:Q=11;break e;case We:Q=14;break e;case Se:Q=16,O=null;break e}throw Error(t(130,v==null?v:typeof v,""))}return h=_o(Q,C,h,F),h.elementType=v,h.type=O,h.expirationTime=V,h}function li(v,h,C,O){return v=_o(7,v,O,h),v.expirationTime=C,v}function fi(v,h,C){return v=_o(6,v,null,h),v.expirationTime=C,v}function Hf(v,h,C){return h=_o(4,v.children!==null?v.children:[],v.key,h),h.expirationTime=C,h.stateNode={containerInfo:v.containerInfo,pendingChildren:null,implementation:v.implementation},h}function Sc(v,h,C){this.tag=h,this.current=null,this.containerInfo=v,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=Rn,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 Vf(v,h){var C=v.firstSuspendedTime;return v=v.lastSuspendedTime,C!==0&&C>=h&&v<=h}function ro(v,h){var C=v.firstSuspendedTime,O=v.lastSuspendedTime;C<h&&(v.firstSuspendedTime=h),(O>h||C===0)&&(v.lastSuspendedTime=h),h<=v.lastPingedTime&&(v.lastPingedTime=0),h<=v.lastExpiredTime&&(v.lastExpiredTime=0)}function jo(v,h){h>v.firstPendingTime&&(v.firstPendingTime=h);var C=v.firstSuspendedTime;C!==0&&(h>=C?v.firstSuspendedTime=v.lastSuspendedTime=v.nextKnownPendingLevel=0:h>=v.lastSuspendedTime&&(v.lastSuspendedTime=h+1),h>v.nextKnownPendingLevel&&(v.nextKnownPendingLevel=h))}function yl(v,h){var C=v.lastExpiredTime;(C===0||C>h)&&(v.lastExpiredTime=h)}function Tc(v){var h=v._reactInternalFiber;if(h===void 0)throw typeof v.render=="function"?Error(t(188)):Error(t(268,Object.keys(v)));return v=je(h),v===null?null:v.stateNode}function wl(v,h){v=v.memoizedState,v!==null&&v.dehydrated!==null&&v.retryTime<h&&(v.retryTime=h)}function ff(v,h){wl(v,h),(v=v.alternate)&&wl(v,h)}var Gf={createContainer:function(v,h,C){return v=new Sc(v,h,C),h=_o(3,null,null,h===2?7:h===1?3:0),v.current=h,h.stateNode=v},updateContainer:function(v,h,C,O){var F=h.current,V=h0(),Q=Xn.suspense;V=Hr(V,F,Q);e:if(C){C=C._reactInternalFiber;t:{if(Ze(C)!==C||C.tag!==1)throw Error(t(170));var Ge=C;do{switch(Ge.tag){case 3:Ge=Ge.stateNode.context;break t;case 1:if(s0(Ge.type)){Ge=Ge.stateNode.__reactInternalMemoizedMergedChildContext;break t}}Ge=Ge.return}while(Ge!==null);throw Error(t(171))}if(C.tag===1){var Ke=C.type;if(s0(Ke)){C=Jo(C,Ke,Ge);break e}}C=Ge}else C=ei;return h.context===null?h.context=C:h.pendingContext=C,h=l0(V,Q),h.payload={element:v},O=O===void 0?null:O,O!==null&&(h.callback=O),j0(F,h),m0(F,V),V},batchedEventUpdates:function(v,h){var C=Gt;Gt|=2;try{return v(h)}finally{Gt=C,Gt===An&&S0()}},batchedUpdates:function(v,h){var C=Gt;Gt|=1;try{return v(h)}finally{Gt=C,Gt===An&&S0()}},unbatchedUpdates:function(v,h){var C=Gt;Gt&=-2,Gt|=ui;try{return v(h)}finally{Gt=C,Gt===An&&S0()}},deferredUpdates:function(v){return Ri(97,v)},syncUpdates:function(v,h,C,O){return Ri(99,v.bind(null,h,C,O))},discreteUpdates:function(v,h,C,O){var F=Gt;Gt|=4;try{return Ri(98,v.bind(null,h,C,O))}finally{Gt=F,Gt===An&&S0()}},flushDiscreteUpdates:function(){(Gt&(1|Mr|Lr))===An&&(D1(),Rs())},flushControlled:function(v){var h=Gt;Gt|=1;try{Ri(99,v)}finally{Gt=h,Gt===An&&S0()}},flushSync:_c,flushPassiveEffects:Rs,IsThisRendererActing:{current:!1},getPublicRootInstance:function(v){if(v=v.current,!v.child)return null;switch(v.child.tag){case 5:return Ft(v.child.stateNode);default:return v.child.stateNode}},attemptSynchronousHydration:function(v){switch(v.tag){case 3:var h=v.stateNode;h.hydrate&&of(h,h.firstPendingTime);break;case 13:_c(function(){return m0(v,1073741823)}),h=eu(h0(),150,100),ff(v,h)}},attemptUserBlockingHydration:function(v){if(v.tag===13){var h=eu(h0(),150,100);m0(v,h),ff(v,h)}},attemptContinuousHydration:function(v){if(v.tag===13){h0();var h=fl++;m0(v,h),ff(v,h)}},attemptHydrationAtCurrentPriority:function(v){if(v.tag===13){var h=h0();h=Hr(h,v,null),m0(v,h),ff(v,h)}},findHostInstance:Tc,findHostInstanceWithWarning:function(v){return Tc(v)},findHostInstanceWithNoPortals:function(v){return v=Ve(v),v===null?null:v.tag===20?v.stateNode.instance:v.stateNode},shouldSuspend:function(){return!1},injectIntoDevTools:function(v){var h=v.findFiberByHostInstance;return _l(c({},v,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(C){return C=je(C),C===null?null:C.stateNode},findFiberByHostInstance:function(C){return h?h(C):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}};J2.exports=Gf.default||Gf;var E0=J2.exports;return J2.exports=o,E0}});var X8=et((cU,$8)=>{"use strict";$8.exports=Y8()});var J8=et((aU,K8)=>{"use strict";var ZF={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};K8.exports=ZF});var tD=et((dU,Q8)=>{"use strict";var eR=Object.assign||function(o){for(var u=1;u<arguments.length;u++){var c=arguments[u];for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(o[d]=c[d])}return o},oh=function(){function o(u,c){for(var d=0;d<c.length;d++){var g=c[d];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(u,g.key,g)}}return function(u,c,d){return c&&o(u.prototype,c),d&&o(u,d),u}}();function z_(o,u,c){return u in o?Object.defineProperty(o,u,{value:c,enumerable:!0,configurable:!0,writable:!0}):o[u]=c,o}function W_(o,u){if(!(o instanceof u))throw new TypeError("Cannot call a class as a function")}var os=J8(),tR=function(){function o(u,c,d,g,t,x){W_(this,o),this.left=u,this.right=c,this.top=d,this.bottom=g,this.width=t,this.height=x}return oh(o,[{key:"fromJS",value:function(c){c(this.left,this.right,this.top,this.bottom,this.width,this.height)}},{key:"toString",value:function(){return"<Layout#"+this.left+":"+this.right+";"+this.top+":"+this.bottom+";"+this.width+":"+this.height+">"}}]),o}(),Z8=function(){oh(o,null,[{key:"fromJS",value:function(c){var d=c.width,g=c.height;return new o(d,g)}}]);function o(u,c){W_(this,o),this.width=u,this.height=c}return oh(o,[{key:"fromJS",value:function(c){c(this.width,this.height)}},{key:"toString",value:function(){return"<Size#"+this.width+"x"+this.height+">"}}]),o}(),eD=function(){function o(u,c){W_(this,o),this.unit=u,this.value=c}return oh(o,[{key:"fromJS",value:function(c){c(this.unit,this.value)}},{key:"toString",value:function(){switch(this.unit){case os.UNIT_POINT:return String(this.value);case os.UNIT_PERCENT:return this.value+"%";case os.UNIT_AUTO:return"auto";default:return this.value+"?"}}},{key:"valueOf",value:function(){return this.value}}]),o}();Q8.exports=function(o,u){function c(x,A,k){var E=x[A];x[A]=function(){for(var L=arguments.length,B=Array(L),W=0;W<L;W++)B[W]=arguments[W];return k.call.apply(k,[this,E].concat(B))}}for(var d=["setPosition","setMargin","setFlexBasis","setWidth","setHeight","setMinWidth","setMinHeight","setMaxWidth","setMaxHeight","setPadding"],g=function(){var A,k=d[t],E=(A={},z_(A,os.UNIT_POINT,u.Node.prototype[k]),z_(A,os.UNIT_PERCENT,u.Node.prototype[k+"Percent"]),z_(A,os.UNIT_AUTO,u.Node.prototype[k+"Auto"]),A);c(u.Node.prototype,k,function(L){for(var B=arguments.length,W=Array(B>1?B-1:0),X=1;X<B;X++)W[X-1]=arguments[X];var m=W.pop(),me=void 0,ye=void 0;if(m==="auto")me=os.UNIT_AUTO,ye=void 0;else if(m instanceof eD)me=m.unit,ye=m.valueOf();else if(me=typeof m=="string"&&m.endsWith("%")?os.UNIT_PERCENT:os.UNIT_POINT,ye=parseFloat(m),!Number.isNaN(m)&&Number.isNaN(ye))throw new Error("Invalid value "+m+" for "+k);if(!E[me])throw new Error('Failed to execute "'+k+`": Unsupported unit '`+m+"'");if(ye!==void 0){var se;return(se=E[me]).call.apply(se,[this].concat(W,[ye]))}else{var Ee;return(Ee=E[me]).call.apply(Ee,[this].concat(W))}})},t=0;t<d.length;t++)g();return c(u.Config.prototype,"free",function(){u.Config.destroy(this)}),c(u.Node,"create",function(x,A){return A?u.Node.createWithConfig(A):u.Node.createDefault()}),c(u.Node.prototype,"free",function(){u.Node.destroy(this)}),c(u.Node.prototype,"freeRecursive",function(){for(var x=0,A=this.getChildCount();x<A;++x)this.getChild(0).freeRecursive();this.free()}),c(u.Node.prototype,"setMeasureFunc",function(x,A){return A?x.call(this,function(){return Z8.fromJS(A.apply(void 0,arguments))}):this.unsetMeasureFunc()}),c(u.Node.prototype,"calculateLayout",function(x){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:NaN,E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:os.DIRECTION_LTR;return x.call(this,A,k,E)}),eR({Config:u.Config,Node:u.Node,Layout:o("Layout",tR),Size:o("Size",Z8),Value:o("Value",eD),getInstanceCount:function(){return u.getInstanceCount.apply(u,arguments)}},os)}});var nD=et((exports,module)=>{(function(o,u){typeof define=="function"&&define.amd?define([],function(){return u}):typeof module=="object"&&module.exports?module.exports=u:(o.nbind=o.nbind||{}).init=u})(exports,function(Module,cb){typeof Module=="function"&&(cb=Module,Module={}),Module.onRuntimeInitialized=function(o,u){return function(){o&&o.apply(this,arguments);try{Module.ccall("nbind_init")}catch(c){u(c);return}u(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!="undefined"?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 require=="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(u,c){nodeFS||(nodeFS={}("")),nodePath||(nodePath={}("")),u=nodePath.normalize(u);var d=nodeFS.readFileSync(u);return c?d:d.toString()},Module.readBinary=function(u){var c=Module.read(u,!0);return c.buffer||(c=new Uint8Array(c)),assert(c.buffer),c},Module.load=function(u){globalEval(read(u))},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!="undefined"&&(module.exports=Module),Module.inspect=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL)Module.print||(Module.print=print),typeof printErr!="undefined"&&(Module.printErr=printErr),typeof read!="undefined"?Module.read=read:Module.read=function(){throw"no read() available"},Module.readBinary=function(u){if(typeof readbuffer=="function")return new Uint8Array(readbuffer(u));var c=read(u,"binary");return assert(typeof c=="object"),c},typeof scriptArgs!="undefined"?Module.arguments=scriptArgs:typeof arguments!="undefined"&&(Module.arguments=arguments),typeof quit=="function"&&(Module.quit=function(o,u){quit(o)});else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(Module.read=function(u){var c=new XMLHttpRequest;return c.open("GET",u,!1),c.send(null),c.responseText},ENVIRONMENT_IS_WORKER&&(Module.readBinary=function(u){var c=new XMLHttpRequest;return c.open("GET",u,!1),c.responseType="arraybuffer",c.send(null),new Uint8Array(c.response)}),Module.readAsync=function(u,c,d){var g=new XMLHttpRequest;g.open("GET",u,!0),g.responseType="arraybuffer",g.onload=function(){g.status==200||g.status==0&&g.response?c(g.response):d()},g.onerror=d,g.send(null)},typeof arguments!="undefined"&&(Module.arguments=arguments),typeof console!="undefined")Module.print||(Module.print=function(u){console.log(u)}),Module.printErr||(Module.printErr=function(u){console.warn(u)});else{var TRY_USE_DUMP=!1;Module.print||(Module.print=TRY_USE_DUMP&&typeof dump!="undefined"?function(o){dump(o)}:function(o){})}ENVIRONMENT_IS_WORKER&&(Module.load=importScripts),typeof Module.setWindowTitle=="undefined"&&(Module.setWindowTitle=function(o){document.title=o})}else throw"Unknown runtime environment. Where are we?";function globalEval(o){eval.call(null,o)}!Module.load&&Module.read&&(Module.load=function(u){globalEval(Module.read(u))}),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(o,u){throw u}),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(o){return tempRet0=o,o},getTempRet0:function(){return tempRet0},stackSave:function(){return STACKTOP},stackRestore:function(o){STACKTOP=o},getNativeTypeSize:function(o){switch(o){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(o[o.length-1]==="*")return Runtime.QUANTUM_SIZE;if(o[0]==="i"){var u=parseInt(o.substr(1));return assert(u%8==0),u/8}else return 0}}},getNativeFieldSize:function(o){return Math.max(Runtime.getNativeTypeSize(o),Runtime.QUANTUM_SIZE)},STACK_ALIGN:16,prepVararg:function(o,u){return u==="double"||u==="i64"?o&7&&(assert((o&7)==4),o+=4):assert((o&3)==0),o},getAlignSize:function(o,u,c){return!c&&(o=="i64"||o=="double")?8:o?Math.min(u||(o?Runtime.getNativeFieldSize(o):0),Runtime.QUANTUM_SIZE):Math.min(u,8)},dynCall:function(o,u,c){return c&&c.length?Module["dynCall_"+o].apply(null,[u].concat(c)):Module["dynCall_"+o].call(null,u)},functionPointers:[],addFunction:function(o){for(var u=0;u<Runtime.functionPointers.length;u++)if(!Runtime.functionPointers[u])return Runtime.functionPointers[u]=o,2*(1+u);throw"Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."},removeFunction:function(o){Runtime.functionPointers[(o-2)/2]=null},warnOnce:function(o){Runtime.warnOnce.shown||(Runtime.warnOnce.shown={}),Runtime.warnOnce.shown[o]||(Runtime.warnOnce.shown[o]=1,Module.printErr(o))},funcWrappers:{},getFuncWrapper:function(o,u){if(!!o){assert(u),Runtime.funcWrappers[u]||(Runtime.funcWrappers[u]={});var c=Runtime.funcWrappers[u];return c[o]||(u.length===1?c[o]=function(){return Runtime.dynCall(u,o)}:u.length===2?c[o]=function(g){return Runtime.dynCall(u,o,[g])}:c[o]=function(){return Runtime.dynCall(u,o,Array.prototype.slice.call(arguments))}),c[o]}},getCompilerSetting:function(o){throw"You must build with -s RETAIN_COMPILER_SETTINGS=1 for Runtime.getCompilerSetting or emscripten_get_compiler_setting to work"},stackAlloc:function(o){var u=STACKTOP;return STACKTOP=STACKTOP+o|0,STACKTOP=STACKTOP+15&-16,u},staticAlloc:function(o){var u=STATICTOP;return STATICTOP=STATICTOP+o|0,STATICTOP=STATICTOP+15&-16,u},dynamicAlloc:function(o){var u=HEAP32[DYNAMICTOP_PTR>>2],c=(u+o+15|0)&-16;if(HEAP32[DYNAMICTOP_PTR>>2]=c,c>=TOTAL_MEMORY){var d=enlargeMemory();if(!d)return HEAP32[DYNAMICTOP_PTR>>2]=u,0}return u},alignMemory:function(o,u){var c=o=Math.ceil(o/(u||16))*(u||16);return c},makeBigInt:function(o,u,c){var d=c?+(o>>>0)+ +(u>>>0)*4294967296:+(o>>>0)+ +(u|0)*4294967296;return d},GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module.Runtime=Runtime;var ABORT=0,EXITSTATUS=0;function assert(o,u){o||abort("Assertion failed: "+u)}function getCFunc(ident){var func=Module["_"+ident];if(!func)try{func=eval("_"+ident)}catch(o){}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(o){var u=Runtime.stackAlloc(o.length);return writeArrayToMemory(o,u),u},stringToC:function(o){var u=0;if(o!=null&&o!==0){var c=(o.length<<2)+1;u=Runtime.stackAlloc(c),stringToUTF8(o,u,c)}return u}},toC={string:JSfuncs.stringToC,array:JSfuncs.arrayToC};ccall=function(u,c,d,g,t){var x=getCFunc(u),A=[],k=0;if(g)for(var E=0;E<g.length;E++){var L=toC[d[E]];L?(k===0&&(k=Runtime.stackSave()),A[E]=L(g[E])):A[E]=g[E]}var B=x.apply(null,A);if(c==="string"&&(B=Pointer_stringify(B)),k!==0){if(t&&t.async){EmterpreterAsync.asyncFinalizers.push(function(){Runtime.stackRestore(k)});return}Runtime.stackRestore(k)}return B};var sourceRegex=/^function\s*[a-zA-Z$_0-9]*\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/;function parseJSFunc(o){var u=o.toString().match(sourceRegex).slice(1);return{arguments:u[0],body:u[1],returnValue:u[2]}}var JSsource=null;function ensureJSsource(){if(!JSsource){JSsource={};for(var o in JSfuncs)JSfuncs.hasOwnProperty(o)&&(JSsource[o]=parseJSFunc(JSfuncs[o]))}}cwrap=function(ident,returnType,argTypes){argTypes=argTypes||[];var cfunc=getCFunc(ident),numericArgs=argTypes.every(function(o){return o==="number"}),numericRet=returnType!=="string";if(numericRet&&numericArgs)return cfunc;var argNames=argTypes.map(function(o,u){return"$"+u}),funcstr="(function("+argNames.join(",")+") {",nargs=argTypes.length;if(!numericArgs){ensureJSsource(),funcstr+="var stack = "+JSsource.stackSave.body+";";for(var i=0;i<nargs;i++){var arg=argNames[i],type=argTypes[i];if(type!=="number"){var convertCode=JSsource[type+"ToC"];funcstr+="var "+convertCode.arguments+" = "+arg+";",funcstr+=convertCode.body+";",funcstr+=arg+"=("+convertCode.returnValue+");"}}}var cfuncname=parseJSFunc(function(){return cfunc}).returnValue;if(funcstr+="var ret = "+cfuncname+"("+argNames.join(",")+");",!numericRet){var strgfy=parseJSFunc(function(){return Pointer_stringify}).returnValue;funcstr+="ret = "+strgfy+"(ret);"}return numericArgs||(ensureJSsource(),funcstr+=JSsource.stackRestore.body.replace("()","(stack)")+";"),funcstr+="return ret})",eval(funcstr)}})(),Module.ccall=ccall,Module.cwrap=cwrap;function setValue(o,u,c,d){switch(c=c||"i8",c.charAt(c.length-1)==="*"&&(c="i32"),c){case"i1":HEAP8[o>>0]=u;break;case"i8":HEAP8[o>>0]=u;break;case"i16":HEAP16[o>>1]=u;break;case"i32":HEAP32[o>>2]=u;break;case"i64":tempI64=[u>>>0,(tempDouble=u,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[o>>2]=tempI64[0],HEAP32[o+4>>2]=tempI64[1];break;case"float":HEAPF32[o>>2]=u;break;case"double":HEAPF64[o>>3]=u;break;default:abort("invalid type for setValue: "+c)}}Module.setValue=setValue;function getValue(o,u,c){switch(u=u||"i8",u.charAt(u.length-1)==="*"&&(u="i32"),u){case"i1":return HEAP8[o>>0];case"i8":return HEAP8[o>>0];case"i16":return HEAP16[o>>1];case"i32":return HEAP32[o>>2];case"i64":return HEAP32[o>>2];case"float":return HEAPF32[o>>2];case"double":return HEAPF64[o>>3];default:abort("invalid type for setValue: "+u)}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(o,u,c,d){var g,t;typeof o=="number"?(g=!0,t=o):(g=!1,t=o.length);var x=typeof u=="string"?u:null,A;if(c==ALLOC_NONE?A=d:A=[typeof _malloc=="function"?_malloc:Runtime.staticAlloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][c===void 0?ALLOC_STATIC:c](Math.max(t,x?1:u.length)),g){var d=A,k;for(assert((A&3)==0),k=A+(t&~3);d<k;d+=4)HEAP32[d>>2]=0;for(k=A+t;d<k;)HEAP8[d++>>0]=0;return A}if(x==="i8")return o.subarray||o.slice?HEAPU8.set(o,A):HEAPU8.set(new Uint8Array(o),A),A;for(var E=0,L,B,W;E<t;){var X=o[E];if(typeof X=="function"&&(X=Runtime.getFunctionIndex(X)),L=x||u[E],L===0){E++;continue}L=="i64"&&(L="i32"),setValue(A+E,X,L),W!==L&&(B=Runtime.getNativeTypeSize(L),W=L),E+=B}return A}Module.allocate=allocate;function getMemory(o){return staticSealed?runtimeInitialized?_malloc(o):Runtime.dynamicAlloc(o):Runtime.staticAlloc(o)}Module.getMemory=getMemory;function Pointer_stringify(o,u){if(u===0||!o)return"";for(var c=0,d,g=0;d=HEAPU8[o+g>>0],c|=d,!(d==0&&!u||(g++,u&&g==u)););u||(u=g);var t="";if(c<128){for(var x=1024,A;u>0;)A=String.fromCharCode.apply(String,HEAPU8.subarray(o,o+Math.min(u,x))),t=t?t+A:A,o+=x,u-=x;return t}return Module.UTF8ToString(o)}Module.Pointer_stringify=Pointer_stringify;function AsciiToString(o){for(var u="";;){var c=HEAP8[o++>>0];if(!c)return u;u+=String.fromCharCode(c)}}Module.AsciiToString=AsciiToString;function stringToAscii(o,u){return writeAsciiToMemory(o,u,!1)}Module.stringToAscii=stringToAscii;var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):void 0;function UTF8ArrayToString(o,u){for(var c=u;o[c];)++c;if(c-u>16&&o.subarray&&UTF8Decoder)return UTF8Decoder.decode(o.subarray(u,c));for(var d,g,t,x,A,k,E="";;){if(d=o[u++],!d)return E;if(!(d&128)){E+=String.fromCharCode(d);continue}if(g=o[u++]&63,(d&224)==192){E+=String.fromCharCode((d&31)<<6|g);continue}if(t=o[u++]&63,(d&240)==224?d=(d&15)<<12|g<<6|t:(x=o[u++]&63,(d&248)==240?d=(d&7)<<18|g<<12|t<<6|x:(A=o[u++]&63,(d&252)==248?d=(d&3)<<24|g<<18|t<<12|x<<6|A:(k=o[u++]&63,d=(d&1)<<30|g<<24|t<<18|x<<12|A<<6|k))),d<65536)E+=String.fromCharCode(d);else{var L=d-65536;E+=String.fromCharCode(55296|L>>10,56320|L&1023)}}}Module.UTF8ArrayToString=UTF8ArrayToString;function UTF8ToString(o){return UTF8ArrayToString(HEAPU8,o)}Module.UTF8ToString=UTF8ToString;function stringToUTF8Array(o,u,c,d){if(!(d>0))return 0;for(var g=c,t=c+d-1,x=0;x<o.length;++x){var A=o.charCodeAt(x);if(A>=55296&&A<=57343&&(A=65536+((A&1023)<<10)|o.charCodeAt(++x)&1023),A<=127){if(c>=t)break;u[c++]=A}else if(A<=2047){if(c+1>=t)break;u[c++]=192|A>>6,u[c++]=128|A&63}else if(A<=65535){if(c+2>=t)break;u[c++]=224|A>>12,u[c++]=128|A>>6&63,u[c++]=128|A&63}else if(A<=2097151){if(c+3>=t)break;u[c++]=240|A>>18,u[c++]=128|A>>12&63,u[c++]=128|A>>6&63,u[c++]=128|A&63}else if(A<=67108863){if(c+4>=t)break;u[c++]=248|A>>24,u[c++]=128|A>>18&63,u[c++]=128|A>>12&63,u[c++]=128|A>>6&63,u[c++]=128|A&63}else{if(c+5>=t)break;u[c++]=252|A>>30,u[c++]=128|A>>24&63,u[c++]=128|A>>18&63,u[c++]=128|A>>12&63,u[c++]=128|A>>6&63,u[c++]=128|A&63}}return u[c]=0,c-g}Module.stringToUTF8Array=stringToUTF8Array;function stringToUTF8(o,u,c){return stringToUTF8Array(o,HEAPU8,u,c)}Module.stringToUTF8=stringToUTF8;function lengthBytesUTF8(o){for(var u=0,c=0;c<o.length;++c){var d=o.charCodeAt(c);d>=55296&&d<=57343&&(d=65536+((d&1023)<<10)|o.charCodeAt(++c)&1023),d<=127?++u:d<=2047?u+=2:d<=65535?u+=3:d<=2097151?u+=4:d<=67108863?u+=5:u+=6}return u}Module.lengthBytesUTF8=lengthBytesUTF8;var UTF16Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf-16le"):void 0;function demangle(o){var u=Module.___cxa_demangle||Module.__cxa_demangle;if(u){try{var c=o.substr(1),d=lengthBytesUTF8(c)+1,g=_malloc(d);stringToUTF8(c,g,d);var t=_malloc(4),x=u(g,0,0,t);if(getValue(t,"i32")===0&&x)return Pointer_stringify(x)}catch(A){}finally{g&&_free(g),t&&_free(t),x&&_free(x)}return o}return Runtime.warnOnce("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling"),o}function demangleAll(o){var u=/__Z[\w\d_]+/g;return o.replace(u,function(c){var d=demangle(c);return c===d?c:c+" ["+d+"]"})}function jsStackTrace(){var o=new Error;if(!o.stack){try{throw new Error(0)}catch(u){o=u}if(!o.stack)return"(no stack trace available)"}return o.stack.toString()}function stackTrace(){var o=jsStackTrace();return Module.extraStackTrace&&(o+=`
`+Module.extraStackTrace()),demangleAll(o)}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_MEMORY<TOTAL_STACK&&Module.printErr("TOTAL_MEMORY should be larger than TOTAL_STACK, was "+TOTAL_MEMORY+"! (TOTAL_STACK="+TOTAL_STACK+")"),Module.buffer?buffer=Module.buffer:buffer=new ArrayBuffer(TOTAL_MEMORY),updateGlobalBufferViews();function getTotalMemory(){return TOTAL_MEMORY}if(HEAP32[0]=1668509029,HEAP16[1]=25459,HEAPU8[2]!==115||HEAPU8[3]!==99)throw"Runtime error: expected the system to be little-endian!";Module.HEAP=HEAP,Module.buffer=buffer,Module.HEAP8=HEAP8,Module.HEAP16=HEAP16,Module.HEAP32=HEAP32,Module.HEAPU8=HEAPU8,Module.HEAPU16=HEAPU16,Module.HEAPU32=HEAPU32,Module.HEAPF32=HEAPF32,Module.HEAPF64=HEAPF64;function callRuntimeCallbacks(o){for(;o.length>0;){var u=o.shift();if(typeof u=="function"){u();continue}var c=u.func;typeof c=="number"?u.arg===void 0?Module.dynCall_v(c):Module.dynCall_vi(c,u.arg):c(u.arg===void 0?null:u.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(o){__ATPRERUN__.unshift(o)}Module.addOnPreRun=addOnPreRun;function addOnInit(o){__ATINIT__.unshift(o)}Module.addOnInit=addOnInit;function addOnPreMain(o){__ATMAIN__.unshift(o)}Module.addOnPreMain=addOnPreMain;function addOnExit(o){__ATEXIT__.unshift(o)}Module.addOnExit=addOnExit;function addOnPostRun(o){__ATPOSTRUN__.unshift(o)}Module.addOnPostRun=addOnPostRun;function intArrayFromString(o,u,c){var d=c>0?c:lengthBytesUTF8(o)+1,g=new Array(d),t=stringToUTF8Array(o,g,0,g.length);return u&&(g.length=t),g}Module.intArrayFromString=intArrayFromString;function intArrayToString(o){for(var u=[],c=0;c<o.length;c++){var d=o[c];d>255&&(d&=255),u.push(String.fromCharCode(d))}return u.join("")}Module.intArrayToString=intArrayToString;function writeStringToMemory(o,u,c){Runtime.warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!");var d,g;c&&(g=u+lengthBytesUTF8(o),d=HEAP8[g]),stringToUTF8(o,u,Infinity),c&&(HEAP8[g]=d)}Module.writeStringToMemory=writeStringToMemory;function writeArrayToMemory(o,u){HEAP8.set(o,u)}Module.writeArrayToMemory=writeArrayToMemory;function writeAsciiToMemory(o,u,c){for(var d=0;d<o.length;++d)HEAP8[u++>>0]=o.charCodeAt(d);c||(HEAP8[u>>0]=0)}if(Module.writeAsciiToMemory=writeAsciiToMemory,(!Math.imul||Math.imul(4294967295,5)!==-5)&&(Math.imul=function(u,c){var d=u>>>16,g=u&65535,t=c>>>16,x=c&65535;return g*x+(d*x+g*t<<16)|0}),Math.imul=Math.imul,!Math.fround){var froundBuffer=new Float32Array(1);Math.fround=function(o){return froundBuffer[0]=o,froundBuffer[0]}}Math.fround=Math.fround,Math.clz32||(Math.clz32=function(o){o=o>>>0;for(var u=0;u<32;u++)if(o&1<<31-u)return u;return 32}),Math.clz32=Math.clz32,Math.trunc||(Math.trunc=function(o){return o<0?Math.ceil(o):Math.floor(o)}),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(o){return o}function addRunDependency(o){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies)}Module.addRunDependency=addRunDependency;function removeRunDependency(o){if(runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),runDependencies==0&&(runDependencyWatcher!==null&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var u=dependenciesFulfilled;dependenciesFulfilled=null,u()}}Module.removeRunDependency=removeRunDependency,Module.preloadedImages={},Module.preloadedAudios={};var ASM_CONSTS=[function(o,u,c,d,g,t,x,A){return _nbind.callbackSignatureList[o].apply(this,arguments)}];function _emscripten_asm_const_iiiiiiii(o,u,c,d,g,t,x,A){return ASM_CONSTS[o](u,c,d,g,t,x,A)}function _emscripten_asm_const_iiiii(o,u,c,d,g){return ASM_CONSTS[o](u,c,d,g)}function _emscripten_asm_const_iiidddddd(o,u,c,d,g,t,x,A,k){return ASM_CONSTS[o](u,c,d,g,t,x,A,k)}function _emscripten_asm_const_iiididi(o,u,c,d,g,t,x){return ASM_CONSTS[o](u,c,d,g,t,x)}function _emscripten_asm_const_iiii(o,u,c,d){return ASM_CONSTS[o](u,c,d)}function _emscripten_asm_const_iiiid(o,u,c,d,g){return ASM_CONSTS[o](u,c,d,g)}function _emscripten_asm_const_iiiiii(o,u,c,d,g,t){return ASM_CONSTS[o](u,c,d,g,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(o,u){__ATEXIT__.unshift({func:o,arg:u})}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(o,u,c,d){var g=arguments.length,t=g<3?u:d===null?d=Object.getOwnPropertyDescriptor(u,c):d,x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(o,u,c,d);else for(var A=o.length-1;A>=0;A--)(x=o[A])&&(t=(g<3?x(t):g>3?x(u,c,t):x(u,c))||t);return g>3&&t&&Object.defineProperty(u,c,t),t}function _defineHidden(o){return function(u,c){Object.defineProperty(u,c,{configurable:!1,enumerable:!1,value:o,writable:!0})}}var _nbind={};function __nbind_free_external(o){_nbind.externalList[o].dereference(o)}function __nbind_reference_external(o){_nbind.externalList[o].reference()}function _llvm_stackrestore(o){var u=_llvm_stacksave,c=u.LLVM_SAVEDSTACKS[o];u.LLVM_SAVEDSTACKS.splice(o,1),Runtime.stackRestore(c)}function __nbind_register_pool(o,u,c,d){_nbind.Pool.pageSize=o,_nbind.Pool.usedPtr=u/4,_nbind.Pool.rootPtr=c,_nbind.Pool.pagePtr=d/4,HEAP32[u/4]=16909060,HEAP8[u]==1&&(_nbind.bigEndian=!0),HEAP32[u/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 g=_nbind.makeType(_nbind.constructType,{flags:2048,id:0,name:""});g.proto=Module,_nbind.BindClass.list.push(g);var t}function _emscripten_set_main_loop_timing(o,u){if(Browser.mainLoop.timingMode=o,Browser.mainLoop.timingValue=u,!Browser.mainLoop.func)return 1;if(o==0)Browser.mainLoop.scheduler=function(){var x=Math.max(0,Browser.mainLoop.tickStartTime+u-_emscripten_get_now())|0;setTimeout(Browser.mainLoop.runner,x)},Browser.mainLoop.method="timeout";else if(o==1)Browser.mainLoop.scheduler=function(){Browser.requestAnimationFrame(Browser.mainLoop.runner)},Browser.mainLoop.method="rAF";else if(o==2){if(!window.setImmediate){let t=function(x){x.source===window&&x.data===d&&(x.stopPropagation(),c.shift()())};var g=t,c=[],d="setimmediate";window.addEventListener("message",t,!0),window.setImmediate=function(A){c.push(A),ENVIRONMENT_IS_WORKER?(Module.setImmediates===void 0&&(Module.setImmediates=[]),Module.setImmediates.push(A),window.postMessage({target:d})):window.postMessage(d,"*")}}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(o,u,c,d,g){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=o,Browser.mainLoop.arg=d;var t;typeof d!="undefined"?t=function(){Module.dynCall_vi(o,d)}:t=function(){Module.dynCall_v(o)};var x=Browser.mainLoop.currentlyRunningMainloop;if(Browser.mainLoop.runner=function(){if(!ABORT){if(Browser.mainLoop.queue.length>0){var k=Date.now(),E=Browser.mainLoop.queue.shift();if(E.func(E.arg),Browser.mainLoop.remainingBlockers){var L=Browser.mainLoop.remainingBlockers,B=L%1==0?L-1:Math.floor(L);E.counted?Browser.mainLoop.remainingBlockers=B:(B=B+.5,Browser.mainLoop.remainingBlockers=(8*L+B)/9)}if(console.log('main loop blocker "'+E.name+'" took '+(Date.now()-k)+" ms"),Browser.mainLoop.updateStatus(),x<Browser.mainLoop.currentlyRunningMainloop)return;setTimeout(Browser.mainLoop.runner,0);return}if(!(x<Browser.mainLoop.currentlyRunningMainloop)){if(Browser.mainLoop.currentFrameNumber=Browser.mainLoop.currentFrameNumber+1|0,Browser.mainLoop.timingMode==1&&Browser.mainLoop.timingValue>1&&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),!(x<Browser.mainLoop.currentlyRunningMainloop)&&(typeof SDL=="object"&&SDL.audio&&SDL.audio.queueNewAudioData&&SDL.audio.queueNewAudioData(),Browser.mainLoop.scheduler())}}},g||(u&&u>0?_emscripten_set_main_loop_timing(0,1e3/u):_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 o=Browser.mainLoop.timingMode,u=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(o,u),Browser.mainLoop.scheduler()},updateStatus:function(){if(Module.setStatus){var o=Module.statusMessage||"Please wait...",u=Browser.mainLoop.remainingBlockers,c=Browser.mainLoop.expectedBlockers;u?u<c?Module.setStatus(o+" ("+(c-u)+"/"+c+")"):Module.setStatus(o):Module.setStatus("")}},runIter:function(o){if(!ABORT){if(Module.preMainLoop){var u=Module.preMainLoop();if(u===!1)return}try{o()}catch(c){if(c instanceof ExitStatus)return;throw c&&typeof c=="object"&&c.stack&&Module.printErr("exception thrown: "+[c,c.stack]),c}Module.postMainLoop&&Module.postMainLoop()}}},isFullscreen:!1,pointerLock:!1,moduleContextCreatedCallbacks:[],workers:[],init:function(){if(Module.preloadPlugins||(Module.preloadPlugins=[]),Browser.initted)return;Browser.initted=!0;try{new Blob,Browser.hasBlobConstructor=!0}catch(g){Browser.hasBlobConstructor=!1,console.log("warning: no blob constructor, cannot create blobs with mimetypes")}Browser.BlobBuilder=typeof MozBlobBuilder!="undefined"?MozBlobBuilder:typeof WebKitBlobBuilder!="undefined"?WebKitBlobBuilder:Browser.hasBlobConstructor?null:console.log("warning: no BlobBuilder"),Browser.URLObject=typeof window!="undefined"?window.URL?window.URL:window.webkitURL:void 0,!Module.noImageDecoding&&typeof Browser.URLObject=="undefined"&&(console.log("warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available."),Module.noImageDecoding=!0);var o={};o.canHandle=function(t){return!Module.noImageDecoding&&/\.(jpg|jpeg|png|bmp)$/i.test(t)},o.handle=function(t,x,A,k){var E=null;if(Browser.hasBlobConstructor)try{E=new Blob([t],{type:Browser.getMimetype(x)}),E.size!==t.length&&(E=new Blob([new Uint8Array(t).buffer],{type:Browser.getMimetype(x)}))}catch(X){Runtime.warnOnce("Blob constructor present but fails: "+X+"; falling back to blob builder")}if(!E){var L=new Browser.BlobBuilder;L.append(new Uint8Array(t).buffer),E=L.getBlob()}var B=Browser.URLObject.createObjectURL(E),W=new Image;W.onload=function(){assert(W.complete,"Image "+x+" could not be decoded");var m=document.createElement("canvas");m.width=W.width,m.height=W.height;var me=m.getContext("2d");me.drawImage(W,0,0),Module.preloadedImages[x]=m,Browser.URLObject.revokeObjectURL(B),A&&A(t)},W.onerror=function(m){console.log("Image "+B+" could not be decoded"),k&&k()},W.src=B},Module.preloadPlugins.push(o);var u={};u.canHandle=function(t){return!Module.noAudioDecoding&&t.substr(-4)in{".ogg":1,".wav":1,".mp3":1}},u.handle=function(t,x,A,k){var E=!1;function L(me){E||(E=!0,Module.preloadedAudios[x]=me,A&&A(t))}function B(){E||(E=!0,Module.preloadedAudios[x]=new Audio,k&&k())}if(Browser.hasBlobConstructor){try{var W=new Blob([t],{type:Browser.getMimetype(x)})}catch(me){return B()}var X=Browser.URLObject.createObjectURL(W),m=new Audio;m.addEventListener("canplaythrough",function(){L(m)},!1),m.onerror=function(ye){if(E)return;console.log("warning: browser could not fully decode audio "+x+", trying slower base64 approach");function se(Ee){for(var We="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Se="=",Me="",te=0,Oe=0,Le=0;Le<Ee.length;Le++)for(te=te<<8|Ee[Le],Oe+=8;Oe>=6;){var Ze=te>>Oe-6&63;Oe-=6,Me+=We[Ze]}return Oe==2?(Me+=We[(te&3)<<4],Me+=Se+Se):Oe==4&&(Me+=We[(te&15)<<2],Me+=Se),Me}m.src="data:audio/x-"+x.substr(-3)+";base64,"+se(t),L(m)},m.src=X,Browser.safeSetTimeout(function(){L(m)},1e4)}else return B()},Module.preloadPlugins.push(u);function c(){Browser.pointerLock=document.pointerLockElement===Module.canvas||document.mozPointerLockElement===Module.canvas||document.webkitPointerLockElement===Module.canvas||document.msPointerLockElement===Module.canvas}var d=Module.canvas;d&&(d.requestPointerLock=d.requestPointerLock||d.mozRequestPointerLock||d.webkitRequestPointerLock||d.msRequestPointerLock||function(){},d.exitPointerLock=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||function(){},d.exitPointerLock=d.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&&d.addEventListener("click",function(g){!Browser.pointerLock&&Module.canvas.requestPointerLock&&(Module.canvas.requestPointerLock(),g.preventDefault())},!1))},createContext:function(o,u,c,d){if(u&&Module.ctx&&o==Module.canvas)return Module.ctx;var g,t;if(u){var x={antialias:!1,alpha:!1};if(d)for(var A in d)x[A]=d[A];t=GL.createContext(o,x),t&&(g=GL.getContext(t).GLctx)}else g=o.getContext("2d");return g?(c&&(u||assert(typeof GLctx=="undefined","cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),Module.ctx=g,u&&GL.makeContextCurrent(t),Module.useWebGL=u,Browser.moduleContextCreatedCallbacks.forEach(function(k){k()}),Browser.init()),g):null},destroyContext:function(o,u,c){},fullscreenHandlersInstalled:!1,lockPointer:void 0,resizeCanvas:void 0,requestFullscreen:function(o,u,c){Browser.lockPointer=o,Browser.resizeCanvas=u,Browser.vrDevice=c,typeof Browser.lockPointer=="undefined"&&(Browser.lockPointer=!0),typeof Browser.resizeCanvas=="undefined"&&(Browser.resizeCanvas=!1),typeof Browser.vrDevice=="undefined"&&(Browser.vrDevice=null);var d=Module.canvas;function g(){Browser.isFullscreen=!1;var x=d.parentNode;(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===x?(d.exitFullscreen=document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.webkitCancelFullScreen||function(){},d.exitFullscreen=d.exitFullscreen.bind(document),Browser.lockPointer&&d.requestPointerLock(),Browser.isFullscreen=!0,Browser.resizeCanvas&&Browser.setFullscreenCanvasSize()):(x.parentNode.insertBefore(d,x),x.parentNode.removeChild(x),Browser.resizeCanvas&&Browser.setWindowedCanvasSize()),Module.onFullScreen&&Module.onFullScreen(Browser.isFullscreen),Module.onFullscreen&&Module.onFullscreen(Browser.isFullscreen),Browser.updateCanvasDimensions(d)}Browser.fullscreenHandlersInstalled||(Browser.fullscreenHandlersInstalled=!0,document.addEventListener("fullscreenchange",g,!1),document.addEventListener("mozfullscreenchange",g,!1),document.addEventListener("webkitfullscreenchange",g,!1),document.addEventListener("MSFullscreenChange",g,!1));var t=document.createElement("div");d.parentNode.insertBefore(t,d),t.appendChild(d),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(o,u,c){return Module.printErr("Browser.requestFullScreen() is deprecated. Please call Browser.requestFullscreen instead."),Browser.requestFullScreen=function(d,g,t){return Browser.requestFullscreen(d,g,t)},Browser.requestFullscreen(o,u,c)},nextRAF:0,fakeRequestAnimationFrame:function(o){var u=Date.now();if(Browser.nextRAF===0)Browser.nextRAF=u+1e3/60;else for(;u+2>=Browser.nextRAF;)Browser.nextRAF+=1e3/60;var c=Math.max(Browser.nextRAF-u,0);setTimeout(o,c)},requestAnimationFrame:function(u){typeof window=="undefined"?Browser.fakeRequestAnimationFrame(u):(window.requestAnimationFrame||(window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||Browser.fakeRequestAnimationFrame),window.requestAnimationFrame(u))},safeCallback:function(o){return function(){if(!ABORT)return o.apply(null,arguments)}},allowAsyncCallbacks:!0,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){Browser.allowAsyncCallbacks=!1},resumeAsyncCallbacks:function(){if(Browser.allowAsyncCallbacks=!0,Browser.queuedAsyncCallbacks.length>0){var o=Browser.queuedAsyncCallbacks;Browser.queuedAsyncCallbacks=[],o.forEach(function(u){u()})}},safeRequestAnimationFrame:function(o){return Browser.requestAnimationFrame(function(){ABORT||(Browser.allowAsyncCallbacks?o():Browser.queuedAsyncCallbacks.push(o))})},safeSetTimeout:function(o,u){return Module.noExitRuntime=!0,setTimeout(function(){ABORT||(Browser.allowAsyncCallbacks?o():Browser.queuedAsyncCallbacks.push(o))},u)},safeSetInterval:function(o,u){return Module.noExitRuntime=!0,setInterval(function(){ABORT||Browser.allowAsyncCallbacks&&o()},u)},getMimetype:function(o){return{jpg:"image/jpeg",jpeg:"image/jpeg",png:"image/png",bmp:"image/bmp",ogg:"audio/ogg",wav:"audio/wav",mp3:"audio/mpeg"}[o.substr(o.lastIndexOf(".")+1)]},getUserMedia:function(o){window.getUserMedia||(window.getUserMedia=navigator.getUserMedia||navigator.mozGetUserMedia),window.getUserMedia(o)},getMovementX:function(o){return o.movementX||o.mozMovementX||o.webkitMovementX||0},getMovementY:function(o){return o.movementY||o.mozMovementY||o.webkitMovementY||0},getMouseWheelDelta:function(o){var u=0;switch(o.type){case"DOMMouseScroll":u=o.detail;break;case"mousewheel":u=o.wheelDelta;break;case"wheel":u=o.deltaY;break;default:throw"unrecognized mouse wheel event: "+o.type}return u},mouseX:0,mouseY:0,mouseMovementX:0,mouseMovementY:0,touches:{},lastTouches:{},calculateMouseEvent:function(o){if(Browser.pointerLock)o.type!="mousemove"&&"mozMovementX"in o?Browser.mouseMovementX=Browser.mouseMovementY=0:(Browser.mouseMovementX=Browser.getMovementX(o),Browser.mouseMovementY=Browser.getMovementY(o)),typeof SDL!="undefined"?(Browser.mouseX=SDL.mouseX+Browser.mouseMovementX,Browser.mouseY=SDL.mouseY+Browser.mouseMovementY):(Browser.mouseX+=Browser.mouseMovementX,Browser.mouseY+=Browser.mouseMovementY);else{var u=Module.canvas.getBoundingClientRect(),c=Module.canvas.width,d=Module.canvas.height,g=typeof window.scrollX!="undefined"?window.scrollX:window.pageXOffset,t=typeof window.scrollY!="undefined"?window.scrollY:window.pageYOffset;if(o.type==="touchstart"||o.type==="touchend"||o.type==="touchmove"){var x=o.touch;if(x===void 0)return;var A=x.pageX-(g+u.left),k=x.pageY-(t+u.top);A=A*(c/u.width),k=k*(d/u.height);var E={x:A,y:k};if(o.type==="touchstart")Browser.lastTouches[x.identifier]=E,Browser.touches[x.identifier]=E;else if(o.type==="touchend"||o.type==="touchmove"){var L=Browser.touches[x.identifier];L||(L=E),Browser.lastTouches[x.identifier]=L,Browser.touches[x.identifier]=E}return}var B=o.pageX-(g+u.left),W=o.pageY-(t+u.top);B=B*(c/u.width),W=W*(d/u.height),Browser.mouseMovementX=B-Browser.mouseX,Browser.mouseMovementY=W-Browser.mouseY,Browser.mouseX=B,Browser.mouseY=W}},asyncLoad:function(o,u,c,d){var g=d?"":getUniqueRunDependency("al "+o);Module.readAsync(o,function(t){assert(t,'Loading data file "'+o+'" failed (no arrayBuffer).'),u(new Uint8Array(t)),g&&removeRunDependency(g)},function(t){if(c)c();else throw'Loading data file "'+o+'" failed.'}),g&&addRunDependency(g)},resizeListeners:[],updateResizeListeners:function(){var o=Module.canvas;Browser.resizeListeners.forEach(function(u){u(o.width,o.height)})},setCanvasSize:function(o,u,c){var d=Module.canvas;Browser.updateCanvasDimensions(d,o,u),c||Browser.updateResizeListeners()},windowedWidth:0,windowedHeight:0,setFullscreenCanvasSize:function(){if(typeof SDL!="undefined"){var o=HEAPU32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2];o=o|8388608,HEAP32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2]=o}Browser.updateResizeListeners()},setWindowedCanvasSize:function(){if(typeof SDL!="undefined"){var o=HEAPU32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2];o=o&~8388608,HEAP32[SDL.screen+Runtime.QUANTUM_SIZE*0>>2]=o}Browser.updateResizeListeners()},updateCanvasDimensions:function(o,u,c){u&&c?(o.widthNative=u,o.heightNative=c):(u=o.widthNative,c=o.heightNative);var d=u,g=c;if(Module.forcedAspectRatio&&Module.forcedAspectRatio>0&&(d/g<Module.forcedAspectRatio?d=Math.round(g*Module.forcedAspectRatio):g=Math.round(d/Module.forcedAspectRatio)),(document.fullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement)===o.parentNode&&typeof screen!="undefined"){var t=Math.min(screen.width/d,screen.height/g);d=Math.round(d*t),g=Math.round(g*t)}Browser.resizeCanvas?(o.width!=d&&(o.width=d),o.height!=g&&(o.height=g),typeof o.style!="undefined"&&(o.style.removeProperty("width"),o.style.removeProperty("height"))):(o.width!=u&&(o.width=u),o.height!=c&&(o.height=c),typeof o.style!="undefined"&&(d!=u||g!=c?(o.style.setProperty("width",d+"px","important"),o.style.setProperty("height",g+"px","important")):(o.style.removeProperty("width"),o.style.removeProperty("height"))))},wgetRequests:{},nextWgetRequestHandle:0,getNextWgetRequestHandle:function(){var o=Browser.nextWgetRequestHandle;return Browser.nextWgetRequestHandle++,o}},SYSCALLS={varargs:0,get:function(o){SYSCALLS.varargs+=4;var u=HEAP32[SYSCALLS.varargs-4>>2];return u},getStr:function(){var o=Pointer_stringify(SYSCALLS.get());return o},get64:function(){var o=SYSCALLS.get(),u=SYSCALLS.get();return o>=0?assert(u===0):assert(u===-1),o},getZero:function(){assert(SYSCALLS.get()===0)}};function ___syscall6(o,u){SYSCALLS.varargs=u;try{var c=SYSCALLS.getStreamFromFD();return FS.close(c),0}catch(d){return(typeof FS=="undefined"||!(d instanceof FS.ErrnoError))&&abort(d),-d.errno}}function ___syscall54(o,u){SYSCALLS.varargs=u;try{return 0}catch(c){return(typeof FS=="undefined"||!(c instanceof FS.ErrnoError))&&abort(c),-c.errno}}function _typeModule(o){var u=[[0,1,"X"],[1,1,"const X"],[128,1,"X *"],[256,1,"X &"],[384,1,"X &&"],[512,1,"std::shared_ptr<X>"],[640,1,"std::unique_ptr<X>"],[5120,1,"std::vector<X>"],[6144,2,"std::array<X, Y>"],[9216,-1,"std::function<X (Y)>"]];function c(k,E,L,B,W,X){if(E==1){var m=B&896;(m==128||m==256||m==384)&&(k="X const")}var me;return X?me=L.replace("X",k).replace("Y",W):me=k.replace("X",L).replace("Y",W),me.replace(/([*&]) (?=[*&])/g,"$1")}function d(k,E,L,B,W){throw new Error(k+" type "+L.replace("X",E+"?")+(B?" with flag "+B:"")+" in "+W)}function g(k,E,L,B,W,X,m,me){X===void 0&&(X="X"),me===void 0&&(me=1);var ye=L(k);if(ye)return ye;var se=B(k),Ee=se.placeholderFlag,We=u[Ee];m&&We&&(X=c(m[2],m[0],X,We[0],"?",!0));var Se;Ee==0&&(Se="Unbound"),Ee>=10&&(Se="Corrupt"),me>20&&(Se="Deeply nested"),Se&&d(Se,k,X,Ee,W||"?");var Me=se.paramList[0],te=g(Me,E,L,B,W,X,We,me+1),Oe,Le={flags:We[0],id:k,name:"",paramList:[te]},Ze=[],dt="?";switch(se.placeholderFlag){case 1:Oe=te.spec;break;case 2:if((te.flags&15360)==1024&&te.spec.ptrSize==1){Le.flags=7168;break}case 3:case 6:case 5:Oe=te.spec,(te.flags&15360)!=2048;break;case 8:dt=""+se.paramList[1],Le.paramList.push(se.paramList[1]);break;case 9:for(var ct=0,je=se.paramList[1];ct<je.length;ct++){var Ve=je[ct],Ft=g(Ve,E,L,B,W,X,We,me+1);Ze.push(Ft.name),Le.paramList.push(Ft)}dt=Ze.join(", ");break;default:break}if(Le.name=c(We[2],We[0],te.name,te.flags,dt),Oe){for(var Ot=0,qt=Object.keys(Oe);Ot<qt.length;Ot++){var tt=qt[Ot];Le[tt]=Le[tt]||Oe[tt]}Le.flags|=Oe.flags}return t(E,Le)}function t(k,E){var L=E.flags,B=L&896,W=L&15360;return!E.name&&W==1024&&(E.ptrSize==1?E.name=(L&16?"":(L&8?"un":"")+"signed ")+"char":E.name=(L&8?"u":"")+(L&32?"float":"int")+(E.ptrSize*8+"_t")),E.ptrSize==8&&!(L&32)&&(W=64),W==2048&&(B==512||B==640?W=4096:B&&(W=3072)),k(W,E)}var x=function(){function k(E){this.id=E.id,this.name=E.name,this.flags=E.flags,this.spec=E}return k.prototype.toString=function(){return this.name},k}(),A={Type:x,getComplexType:g,makeType:t,structureList:u};return o.output=A,o.output||A}function __nbind_register_type(o,u){var c=_nbind.readAsciiString(u),d={flags:10240,id:o,name:c};_nbind.makeType(_nbind.constructType,d)}function __nbind_register_callback_signature(o,u){var c=_nbind.readTypeIdList(o,u),d=_nbind.callbackSignatureList.length;return _nbind.callbackSignatureList[d]=_nbind.makeJSCaller(c),d}function __extends(o,u){for(var c in u)u.hasOwnProperty(c)&&(o[c]=u[c]);function d(){this.constructor=o}d.prototype=u.prototype,o.prototype=new d}function __nbind_register_class(o,u,c,d,g,t,x){var A=_nbind.readAsciiString(x),k=_nbind.readPolicyList(u),E=HEAPU32.subarray(o/4,o/4+2),L={flags:2048|(k.Value?2:0),id:E[0],name:A},B=_nbind.makeType(_nbind.constructType,L);B.ptrType=_nbind.getComplexType(E[1],_nbind.constructType,_nbind.getType,_nbind.queryType),B.destroy=_nbind.makeMethodCaller(B.ptrType,{boundID:L.id,flags:0,name:"destroy",num:0,ptr:t,title:B.name+".free",typeList:["void","uint32_t","uint32_t"]}),g&&(B.superIdList=Array.prototype.slice.call(HEAPU32.subarray(c/4,c/4+g)),B.upcastList=Array.prototype.slice.call(HEAPU32.subarray(d/4,d/4+g))),Module[B.name]=B.makeBound(k),_nbind.BindClass.list.push(B)}function _removeAccessorPrefix(o){var u=/^[Gg]et_?([A-Z]?([A-Z]?))/;return o.replace(u,function(c,d,g){return g?d:d.toLowerCase()})}function __nbind_register_function(o,u,c,d,g,t,x,A,k,E){var L=_nbind.getType(o),B=_nbind.readPolicyList(u),W=_nbind.readTypeIdList(c,d),X;if(x==5)X=[{direct:g,name:"__nbindConstructor",ptr:0,title:L.name+" constructor",typeList:["uint32_t"].concat(W.slice(1))},{direct:t,name:"__nbindValueConstructor",ptr:0,title:L.name+" value constructor",typeList:["void","uint32_t"].concat(W.slice(1))}];else{var m=_nbind.readAsciiString(A),me=(L.name&&L.name+".")+m;(x==3||x==4)&&(m=_removeAccessorPrefix(m)),X=[{boundID:o,direct:t,name:m,ptr:g,title:me,typeList:W}]}for(var ye=0,se=X;ye<se.length;ye++){var Ee=se[ye];Ee.signatureType=x,Ee.policyTbl=B,Ee.num=k,Ee.flags=E,L.addMethod(Ee)}}function _nbind_value(o,u){_nbind.typeNameTbl[o]||_nbind.throwError("Unknown value type "+o),Module.NBind.bind_value(o,u),_defineHidden(_nbind.typeNameTbl[o].proto.prototype.__nbindValueConstructor)(u.prototype,"__nbindValueConstructor")}Module._nbind_value=_nbind_value;function __nbind_get_value_object(o,u){var c=_nbind.popValue(o);if(!c.fromJS)throw new Error("Object "+c+" has no fromJS function");c.fromJS(function(){c.__nbindValueConstructor.apply(this,Array.prototype.concat.apply([u],arguments))})}function _emscripten_memcpy_big(o,u,c){return HEAPU8.set(HEAPU8.subarray(u,u+c),o),o}function __nbind_register_primitive(o,u,c){var d={flags:1024|c,id:o,ptrSize:u};_nbind.makeType(_nbind.constructType,d)}var cttz_i8=allocate([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",ALLOC_STATIC);function ___setErrNo(o){return Module.___errno_location&&(HEAP32[Module.___errno_location()>>2]=o),o}function _llvm_stacksave(){var o=_llvm_stacksave;return o.LLVM_SAVEDSTACKS||(o.LLVM_SAVEDSTACKS=[]),o.LLVM_SAVEDSTACKS.push(Runtime.stackSave()),o.LLVM_SAVEDSTACKS.length-1}function ___syscall140(o,u){SYSCALLS.varargs=u;try{var c=SYSCALLS.getStreamFromFD(),d=SYSCALLS.get(),g=SYSCALLS.get(),t=SYSCALLS.get(),x=SYSCALLS.get(),A=g;return FS.llseek(c,A,x),HEAP32[t>>2]=c.position,c.getdents&&A===0&&x===0&&(c.getdents=null),0}catch(k){return(typeof FS=="undefined"||!(k instanceof FS.ErrnoError))&&abort(k),-k.errno}}function ___syscall146(o,u){SYSCALLS.varargs=u;try{var c=SYSCALLS.get(),d=SYSCALLS.get(),g=SYSCALLS.get(),t=0;___syscall146.buffer||(___syscall146.buffers=[null,[],[]],___syscall146.printChar=function(L,B){var W=___syscall146.buffers[L];assert(W),B===0||B===10?((L===1?Module.print:Module.printErr)(UTF8ArrayToString(W,0)),W.length=0):W.push(B)});for(var x=0;x<g;x++){for(var A=HEAP32[d+x*8>>2],k=HEAP32[d+(x*8+4)>>2],E=0;E<k;E++)___syscall146.printChar(c,HEAPU8[A+E]);t+=k}return t}catch(L){return(typeof FS=="undefined"||!(L instanceof FS.ErrnoError))&&abort(L),-L.errno}}function __nbind_finish(){for(var o=0,u=_nbind.BindClass.list;o<u.length;o++){var c=u[o];c.finish()}}var ___dso_handle=STATICTOP;STATICTOP+=16,function(_nbind){var typeIdTbl={};_nbind.typeNameTbl={};var Pool=function(){function o(){}return o.lalloc=function(u){u=u+7&~7;var c=HEAPU32[o.usedPtr];if(u>o.pageSize/2||u>o.pageSize-c){var d=_nbind.typeNameTbl.NBind.proto;return d.lalloc(u)}else return HEAPU32[o.usedPtr]=c+u,o.rootPtr+c},o.lreset=function(u,c){var d=HEAPU32[o.pagePtr];if(d){var g=_nbind.typeNameTbl.NBind.proto;g.lreset(u,c)}else HEAPU32[o.usedPtr]=u},o}();_nbind.Pool=Pool;function constructType(o,u){var c=o==10240?_nbind.makeTypeNameTbl[u.name]||_nbind.BindType:_nbind.makeTypeKindTbl[o],d=new c(u);return typeIdTbl[u.id]=d,_nbind.typeNameTbl[u.name]=d,d}_nbind.constructType=constructType;function getType(o){return typeIdTbl[o]}_nbind.getType=getType;function queryType(o){var u=HEAPU8[o],c=_nbind.structureList[u][1];o/=4,c<0&&(++o,c=HEAPU32[o]+1);var d=Array.prototype.slice.call(HEAPU32.subarray(o+1,o+1+c));return u==9&&(d=[d[0],d.slice(1)]),{paramList:d,placeholderFlag:u}}_nbind.queryType=queryType;function getTypes(o,u){return o.map(function(c){return typeof c=="number"?_nbind.getComplexType(c,constructType,getType,queryType,u):_nbind.typeNameTbl[c]})}_nbind.getTypes=getTypes;function readTypeIdList(o,u){return Array.prototype.slice.call(HEAPU32,o/4,o/4+u)}_nbind.readTypeIdList=readTypeIdList;function readAsciiString(o){for(var u=o;HEAPU8[u++];);return String.fromCharCode.apply("",HEAPU8.subarray(o,u-1))}_nbind.readAsciiString=readAsciiString;function readPolicyList(o){var u={};if(o)for(;;){var c=HEAPU32[o/4];if(!c)break;u[readAsciiString(c)]=!0,o+=4}return u}_nbind.readPolicyList=readPolicyList;function getDynCall(o,u){var c={float32_t:"d",float64_t:"d",int64_t:"d",uint64_t:"d",void:"v"},d=o.map(function(t){return c[t.name]||"i"}).join(""),g=Module["dynCall_"+d];if(!g)throw new Error("dynCall_"+d+" not found for "+u+"("+o.map(function(t){return t.name}).join(", ")+")");return g}_nbind.getDynCall=getDynCall;function addMethod(o,u,c,d){var g=o[u];o.hasOwnProperty(u)&&g?((g.arity||g.arity===0)&&(g=_nbind.makeOverloader(g,g.arity),o[u]=g),g.addMethod(c,d)):(c.arity=d,o[u]=c)}_nbind.addMethod=addMethod;function throwError(o){throw new Error(o)}_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(o){__extends(u,o);function u(){var c=o!==null&&o.apply(this,arguments)||this;return c.heap=HEAPU32,c.ptrSize=4,c}return u.prototype.needsWireRead=function(c){return!!this.wireRead||!!this.makeWireRead},u.prototype.needsWireWrite=function(c){return!!this.wireWrite||!!this.makeWireWrite},u}(_nbind.Type);_nbind.BindType=BindType;var PrimitiveType=function(o){__extends(u,o);function u(c){var d=o.call(this,c)||this,g=c.flags&32?{32:HEAPF32,64:HEAPF64}:c.flags&8?{8:HEAPU8,16:HEAPU16,32:HEAPU32}:{8:HEAP8,16:HEAP16,32:HEAP32};return d.heap=g[c.ptrSize*8],d.ptrSize=c.ptrSize,d}return u.prototype.needsWireWrite=function(c){return!!c&&!!c.Strict},u.prototype.makeWireWrite=function(c,d){return d&&d.Strict&&function(g){if(typeof g=="number")return g;throw new Error("Type mismatch")}},u}(BindType);_nbind.PrimitiveType=PrimitiveType;function pushCString(o,u){if(o==null){if(u&&u.Nullable)return 0;throw new Error("Type mismatch")}if(u&&u.Strict){if(typeof o!="string")throw new Error("Type mismatch")}else o=o.toString();var c=Module.lengthBytesUTF8(o)+1,d=_nbind.Pool.lalloc(c);return Module.stringToUTF8Array(o,HEAPU8,d,c),d}_nbind.pushCString=pushCString;function popCString(o){return o===0?null:Module.Pointer_stringify(o)}_nbind.popCString=popCString;var CStringType=function(o){__extends(u,o);function u(){var c=o!==null&&o.apply(this,arguments)||this;return c.wireRead=popCString,c.wireWrite=pushCString,c.readResources=[_nbind.resources.pool],c.writeResources=[_nbind.resources.pool],c}return u.prototype.makeWireWrite=function(c,d){return function(g){return pushCString(g,d)}},u}(BindType);_nbind.CStringType=CStringType;var BooleanType=function(o){__extends(u,o);function u(){var c=o!==null&&o.apply(this,arguments)||this;return c.wireRead=function(d){return!!d},c}return u.prototype.needsWireWrite=function(c){return!!c&&!!c.Strict},u.prototype.makeWireRead=function(c){return"!!("+c+")"},u.prototype.makeWireWrite=function(c,d){return d&&d.Strict&&function(g){if(typeof g=="boolean")return g;throw new Error("Type mismatch")}||c},u}(BindType);_nbind.BooleanType=BooleanType;var Wrapper=function(){function o(){}return o.prototype.persist=function(){this.__nbindState|=1},o}();_nbind.Wrapper=Wrapper;function makeBound(o,u){var c=function(d){__extends(g,d);function g(t,x,A,k){var E=d.call(this)||this;if(!(E instanceof g))return new(Function.prototype.bind.apply(g,Array.prototype.concat.apply([null],arguments)));var L=x,B=A,W=k;if(t!==_nbind.ptrMarker){var X=E.__nbindConstructor.apply(E,arguments);L=4096|512,W=HEAPU32[X/4],B=HEAPU32[X/4+1]}var m={configurable:!0,enumerable:!1,value:null,writable:!1},me={__nbindFlags:L,__nbindPtr:B};W&&(me.__nbindShared=W,_nbind.mark(E));for(var ye=0,se=Object.keys(me);ye<se.length;ye++){var Ee=se[ye];m.value=me[Ee],Object.defineProperty(E,Ee,m)}return _defineHidden(0)(E,"__nbindState"),E}return g.prototype.free=function(){u.destroy.call(this,this.__nbindShared,this.__nbindFlags),this.__nbindState|=2,disableMember(this,"__nbindShared"),disableMember(this,"__nbindPtr")},g}(Wrapper);return __decorate([_defineHidden()],c.prototype,"__nbindConstructor",void 0),__decorate([_defineHidden()],c.prototype,"__nbindValueConstructor",void 0),__decorate([_defineHidden(o)],c.prototype,"__nbindPolicies",void 0),c}_nbind.makeBound=makeBound;function disableMember(o,u){function c(){throw new Error("Accessing deleted object")}Object.defineProperty(o,u,{configurable:!1,enumerable:!1,get:c,set:c})}_nbind.ptrMarker={};var BindClass=function(o){__extends(u,o);function u(c){var d=o.call(this,c)||this;return d.wireRead=function(g){return _nbind.popValue(g,d.ptrType)},d.wireWrite=function(g){return pushPointer(g,d.ptrType,!0)},d.pendingSuperCount=0,d.ready=!1,d.methodTbl={},c.paramList?(d.classType=c.paramList[0].classType,d.proto=d.classType.proto):d.classType=d,d}return u.prototype.makeBound=function(c){var d=_nbind.makeBound(c,this);return this.proto=d,this.ptrType.proto=d,d},u.prototype.addMethod=function(c){var d=this.methodTbl[c.name]||[];d.push(c),this.methodTbl[c.name]=d},u.prototype.registerMethods=function(c,d){for(var g,t=0,x=Object.keys(c.methodTbl);t<x.length;t++)for(var A=x[t],k=c.methodTbl[A],E=0,L=k;E<L.length;E++){var B=L[E],W=void 0,X=void 0;if(W=this.proto.prototype,!(d&&B.signatureType!=1))switch(B.signatureType){case 1:W=this.proto;case 5:X=_nbind.makeCaller(B),_nbind.addMethod(W,B.name,X,B.typeList.length-1);break;case 4:g=_nbind.makeMethodCaller(c.ptrType,B);break;case 3:Object.defineProperty(W,B.name,{configurable:!0,enumerable:!1,get:_nbind.makeMethodCaller(c.ptrType,B),set:g});break;case 2:X=_nbind.makeMethodCaller(c.ptrType,B),_nbind.addMethod(W,B.name,X,B.typeList.length-1);break;default:break}}},u.prototype.registerSuperMethods=function(c,d,g){if(!g[c.name]){g[c.name]=!0;for(var t=0,x,A=0,k=c.superIdList||[];A<k.length;A++){var E=k[A],L=_nbind.getType(E);t++<d||d<0?x=-1:x=0,this.registerSuperMethods(L,x,g)}this.registerMethods(c,d<0)}},u.prototype.finish=function(){if(this.ready)return this;this.ready=!0,this.superList=(this.superIdList||[]).map(function(g){return _nbind.getType(g).finish()});var c=this.proto;if(this.superList.length){var d=function(){this.constructor=c};d.prototype=this.superList[0].proto.prototype,c.prototype=new d}return c!=Module&&(c.prototype.__nbindType=this),this.registerSuperMethods(this,1,{}),this},u.prototype.upcastStep=function(c,d){if(c==this)return d;for(var g=0;g<this.superList.length;++g){var t=this.superList[g].upcastStep(c,_nbind.callUpcast(this.upcastList[g],d));if(t)return t}return 0},u}(_nbind.BindType);BindClass.list=[],_nbind.BindClass=BindClass;function popPointer(o,u){return o?new u.proto(_nbind.ptrMarker,u.flags,o):null}_nbind.popPointer=popPointer;function pushPointer(o,u,c){if(!(o instanceof _nbind.Wrapper)){if(c)return _nbind.pushValue(o);throw new Error("Type mismatch")}var d=o.__nbindPtr,g=o.__nbindType.classType,t=u.classType;if(o instanceof u.proto)for(;g!=t;)d=_nbind.callUpcast(g.upcastList[0],d),g=g.superList[0];else if(d=g.upcastStep(t,d),!d)throw new Error("Type mismatch");return d}_nbind.pushPointer=pushPointer;function pushMutablePointer(o,u){var c=pushPointer(o,u);if(o.__nbindFlags&1)throw new Error("Passing a const value as a non-const argument");return c}var BindClassPtr=function(o){__extends(u,o);function u(c){var d=o.call(this,c)||this;d.classType=c.paramList[0].classType,d.proto=d.classType.proto;var g=c.flags&1,t=(d.flags&896)==256&&c.flags&2,x=g?pushPointer:pushMutablePointer,A=t?_nbind.popValue:popPointer;return d.makeWireWrite=function(k,E){return E.Nullable?function(L){return L?x(L,d):0}:function(L){return x(L,d)}},d.wireRead=function(k){return A(k,d)},d.wireWrite=function(k){return x(k,d)},d}return u}(_nbind.BindType);_nbind.BindClassPtr=BindClassPtr;function popShared(o,u){var c=HEAPU32[o/4],d=HEAPU32[o/4+1];return d?new u.proto(_nbind.ptrMarker,u.flags,d,c):null}_nbind.popShared=popShared;function pushShared(o,u){if(!(o instanceof u.proto))throw new Error("Type mismatch");return o.__nbindShared}function pushMutableShared(o,u){if(!(o instanceof u.proto))throw new Error("Type mismatch");if(o.__nbindFlags&1)throw new Error("Passing a const value as a non-const argument");return o.__nbindShared}var SharedClassPtr=function(o){__extends(u,o);function u(c){var d=o.call(this,c)||this;d.readResources=[_nbind.resources.pool],d.classType=c.paramList[0].classType,d.proto=d.classType.proto;var g=c.flags&1,t=g?pushShared:pushMutableShared;return d.wireRead=function(x){return popShared(x,d)},d.wireWrite=function(x){return t(x,d)},d}return u}(_nbind.BindType);_nbind.SharedClassPtr=SharedClassPtr,_nbind.externalList=[0];var firstFreeExternal=0,External=function(){function o(u){this.refCount=1,this.data=u}return o.prototype.register=function(){var u=firstFreeExternal;return u?firstFreeExternal=_nbind.externalList[u]:u=_nbind.externalList.length,_nbind.externalList[u]=this,u},o.prototype.reference=function(){++this.refCount},o.prototype.dereference=function(u){--this.refCount==0&&(this.free&&this.free(),_nbind.externalList[u]=firstFreeExternal,firstFreeExternal=u)},o}();_nbind.External=External;function popExternal(o){var u=_nbind.externalList[o];return u.dereference(o),u.data}function pushExternal(o){var u=new External(o);return u.reference(),u.register()}var ExternalType=function(o){__extends(u,o);function u(){var c=o!==null&&o.apply(this,arguments)||this;return c.wireRead=popExternal,c.wireWrite=pushExternal,c}return u}(_nbind.BindType);_nbind.ExternalType=ExternalType,_nbind.callbackSignatureList=[];var CallbackType=function(o){__extends(u,o);function u(){var c=o!==null&&o.apply(this,arguments)||this;return c.wireWrite=function(d){return typeof d!="function"&&_nbind.throwError("Type mismatch"),new _nbind.External(d).register()},c}return u}(_nbind.BindType);_nbind.CallbackType=CallbackType,_nbind.valueList=[0];var firstFreeValue=0;function pushValue(o){var u=firstFreeValue;return u?firstFreeValue=_nbind.valueList[u]:u=_nbind.valueList.length,_nbind.valueList[u]=o,u*2+1}_nbind.pushValue=pushValue;function popValue(o,u){if(o||_nbind.throwError("Value type JavaScript class is missing or not registered"),o&1){o>>=1;var c=_nbind.valueList[o];return _nbind.valueList[o]=firstFreeValue,firstFreeValue=o,c}else{if(u)return _nbind.popShared(o,u);throw new Error("Invalid value slot "+o)}}_nbind.popValue=popValue;var valueBase=18446744073709552e3;function push64(o){return typeof o=="number"?o:pushValue(o)*4096+valueBase}function pop64(o){return o<valueBase?o:popValue((o-valueBase)/4096)}var CreateValueType=function(o){__extends(u,o);function u(){return o!==null&&o.apply(this,arguments)||this}return u.prototype.makeWireWrite=function(c){return"(_nbind.pushValue(new "+c+"))"},u}(_nbind.BindType);_nbind.CreateValueType=CreateValueType;var Int64Type=function(o){__extends(u,o);function u(){var c=o!==null&&o.apply(this,arguments)||this;return c.wireWrite=push64,c.wireRead=pop64,c}return u}(_nbind.BindType);_nbind.Int64Type=Int64Type;function pushArray(o,u){if(!o)return 0;var c=o.length;if((u.size||u.size===0)&&c<u.size)throw new Error("Type mismatch");var d=u.memberType.ptrSize,g=_nbind.Pool.lalloc(4+c*d);HEAPU32[g/4]=c;var t=u.memberType.heap,x=(g+4)/d,A=u.memberType.wireWrite,k=0;if(A)for(;k<c;)t[x++]=A(o[k++]);else for(;k<c;)t[x++]=o[k++];return g}_nbind.pushArray=pushArray;function popArray(o,u){if(o===0)return null;var c=HEAPU32[o/4],d=new Array(c),g=u.memberType.heap;o=(o+4)/u.memberType.ptrSize;var t=u.memberType.wireRead,x=0;if(t)for(;x<c;)d[x++]=t(g[o++]);else for(;x<c;)d[x++]=g[o++];return d}_nbind.popArray=popArray;var ArrayType=function(o){__extends(u,o);function u(c){var d=o.call(this,c)||this;return d.wireRead=function(g){return popArray(g,d)},d.wireWrite=function(g){return pushArray(g,d)},d.readResources=[_nbind.resources.pool],d.writeResources=[_nbind.resources.pool],d.memberType=c.paramList[0],c.paramList[1]&&(d.size=c.paramList[1]),d}return u}(_nbind.BindType);_nbind.ArrayType=ArrayType;function pushString(o,u){if(o==null)if(u&&u.Nullable)o="";else throw new Error("Type mismatch");if(u&&u.Strict){if(typeof o!="string")throw new Error("Type mismatch")}else o=o.toString();var c=Module.lengthBytesUTF8(o),d=_nbind.Pool.lalloc(4+c+1);return HEAPU32[d/4]=c,Module.stringToUTF8Array(o,HEAPU8,d+4,c+1),d}_nbind.pushString=pushString;function popString(o){if(o===0)return null;var u=HEAPU32[o/4];return Module.Pointer_stringify(o+4,u)}_nbind.popString=popString;var StringType=function(o){__extends(u,o);function u(){var c=o!==null&&o.apply(this,arguments)||this;return c.wireRead=popString,c.wireWrite=pushString,c.readResources=[_nbind.resources.pool],c.writeResources=[_nbind.resources.pool],c}return u.prototype.makeWireWrite=function(c,d){return function(g){return pushString(g,d)}},u}(_nbind.BindType);_nbind.StringType=StringType;function makeArgList(o){return Array.apply(null,Array(o)).map(function(u,c){return"a"+(c+1)})}function anyNeedsWireWrite(o,u){return o.reduce(function(c,d){return c||d.needsWireWrite(u)},!1)}function anyNeedsWireRead(o,u){return o.reduce(function(c,d){return c||!!d.needsWireRead(u)},!1)}function makeWireRead(o,u,c,d){var g=o.length;return c.makeWireRead?c.makeWireRead(d,o,g):c.wireRead?(o[g]=c.wireRead,"(convertParamList["+g+"]("+d+"))"):d}function makeWireWrite(o,u,c,d){var g,t=o.length;return c.makeWireWrite?g=c.makeWireWrite(d,u,o,t):g=c.wireWrite,g?typeof g=="string"?g:(o[t]=g,"(convertParamList["+t+"]("+d+"))"):d}function buildCallerFunction(dynCall,ptrType,ptr,num,policyTbl,needsWireWrite,prefix,returnType,argTypeList,mask,err){var argList=makeArgList(argTypeList.length),convertParamList=[],callExpression=makeWireRead(convertParamList,policyTbl,returnType,"dynCall("+[prefix].concat(argList.map(function(o,u){return makeWireWrite(convertParamList,policyTbl,argTypeList[u],o)})).join(",")+")"),resourceSet=_nbind.listResources([returnType],argTypeList),sourceCode="function("+argList.join(",")+"){"+(mask?"this.__nbindFlags&mask&&err();":"")+resourceSet.makeOpen()+"var r="+callExpression+";"+resourceSet.makeClose()+"return r;}";return eval("("+sourceCode+")")}function buildJSCallerFunction(returnType,argTypeList){var argList=makeArgList(argTypeList.length),convertParamList=[],callExpression=makeWireWrite(convertParamList,null,returnType,"_nbind.externalList[num].data("+argList.map(function(o,u){return makeWireRead(convertParamList,null,argTypeList[u],o)}).join(",")+")"),resourceSet=_nbind.listResources(argTypeList,[returnType]);resourceSet.remove(_nbind.resources.pool);var sourceCode="function("+["dummy","num"].concat(argList).join(",")+"){"+resourceSet.makeOpen()+"var r="+callExpression+";"+resourceSet.makeClose()+"return r;}";return eval("("+sourceCode+")")}_nbind.buildJSCallerFunction=buildJSCallerFunction;function makeJSCaller(o){var u=o.length-1,c=_nbind.getTypes(o,"callback"),d=c[0],g=c.slice(1),t=anyNeedsWireRead(g,null),x=d.needsWireWrite(null);if(!x&&!t)switch(u){case 0:return function(A,k){return _nbind.externalList[k].data()};case 1:return function(A,k,E){return _nbind.externalList[k].data(E)};case 2:return function(A,k,E,L){return _nbind.externalList[k].data(E,L)};case 3:return function(A,k,E,L,B){return _nbind.externalList[k].data(E,L,B)};default:break}return buildJSCallerFunction(d,g)}_nbind.makeJSCaller=makeJSCaller;function makeMethodCaller(o,u){var c=u.typeList.length-1,d=u.typeList.slice(0);d.splice(1,0,"uint32_t",u.boundID);var g=_nbind.getTypes(d,u.title),t=g[0],x=g.slice(3),A=t.needsWireRead(u.policyTbl),k=anyNeedsWireWrite(x,u.policyTbl),E=u.ptr,L=u.num,B=_nbind.getDynCall(g,u.title),W=~u.flags&1;function X(){throw new Error("Calling a non-const method on a const object")}if(!A&&!k)switch(c){case 0:return function(){return this.__nbindFlags&W?X():B(E,L,_nbind.pushPointer(this,o))};case 1:return function(m){return this.__nbindFlags&W?X():B(E,L,_nbind.pushPointer(this,o),m)};case 2:return function(m,me){return this.__nbindFlags&W?X():B(E,L,_nbind.pushPointer(this,o),m,me)};case 3:return function(m,me,ye){return this.__nbindFlags&W?X():B(E,L,_nbind.pushPointer(this,o),m,me,ye)};default:break}return buildCallerFunction(B,o,E,L,u.policyTbl,k,"ptr,num,pushPointer(this,ptrType)",t,x,W,X)}_nbind.makeMethodCaller=makeMethodCaller;function makeCaller(o){var u=o.typeList.length-1,c=_nbind.getTypes(o.typeList,o.title),d=c[0],g=c.slice(1),t=d.needsWireRead(o.policyTbl),x=anyNeedsWireWrite(g,o.policyTbl),A=o.direct,k=o.ptr;if(o.direct&&!t&&!x){var E=_nbind.getDynCall(c,o.title);switch(u){case 0:return function(){return E(A)};case 1:return function(X){return E(A,X)};case 2:return function(X,m){return E(A,X,m)};case 3:return function(X,m,me){return E(A,X,m,me)};default:break}k=0}var L;if(k){var B=o.typeList.slice(0);B.splice(1,0,"uint32_t"),c=_nbind.getTypes(B,o.title),L="ptr,num"}else k=A,L="ptr";var W=_nbind.getDynCall(c,o.title);return buildCallerFunction(W,null,k,o.num,o.policyTbl,x,L,d,g)}_nbind.makeCaller=makeCaller;function makeOverloader(o,u){var c=[];function d(){return c[arguments.length].apply(this,arguments)}return d.addMethod=function(g,t){c[t]=g},d.addMethod(o,u),d}_nbind.makeOverloader=makeOverloader;var Resource=function(){function o(u,c){var d=this;this.makeOpen=function(){return Object.keys(d.openTbl).join("")},this.makeClose=function(){return Object.keys(d.closeTbl).join("")},this.openTbl={},this.closeTbl={},u&&(this.openTbl[u]=!0),c&&(this.closeTbl[c]=!0)}return o.prototype.add=function(u){for(var c=0,d=Object.keys(u.openTbl);c<d.length;c++){var g=d[c];this.openTbl[g]=!0}for(var t=0,x=Object.keys(u.closeTbl);t<x.length;t++){var g=x[t];this.closeTbl[g]=!0}},o.prototype.remove=function(u){for(var c=0,d=Object.keys(u.openTbl);c<d.length;c++){var g=d[c];delete this.openTbl[g]}for(var t=0,x=Object.keys(u.closeTbl);t<x.length;t++){var g=x[t];delete this.closeTbl[g]}},o}();_nbind.Resource=Resource;function listResources(o,u){for(var c=new Resource,d=0,g=o;d<g.length;d++)for(var t=g[d],x=0,A=t.readResources||[];x<A.length;x++){var k=A[x];c.add(k)}for(var E=0,L=u;E<L.length;E++)for(var t=L[E],B=0,W=t.writeResources||[];B<W.length;B++){var k=W[B];c.add(k)}return c}_nbind.listResources=listResources,_nbind.resources={pool:new Resource("var used=HEAPU32[_nbind.Pool.usedPtr],page=HEAPU32[_nbind.Pool.pagePtr];","_nbind.Pool.lreset(used,page);")};var ExternalBuffer=function(o){__extends(u,o);function u(c,d){var g=o.call(this,c)||this;return g.ptr=d,g}return u.prototype.free=function(){_free(this.ptr)},u}(_nbind.External);function getBuffer(o){return o instanceof ArrayBuffer?new Uint8Array(o):o instanceof DataView?new Uint8Array(o.buffer,o.byteOffset,o.byteLength):o}function pushBuffer(o,u){if(o==null&&u&&u.Nullable&&(o=[]),typeof o!="object")throw new Error("Type mismatch");var c=o,d=c.byteLength||c.length;if(!d&&d!==0&&c.byteLength!==0)throw new Error("Type mismatch");var g=_nbind.Pool.lalloc(8),t=_malloc(d),x=g/4;return HEAPU32[x++]=d,HEAPU32[x++]=t,HEAPU32[x++]=new ExternalBuffer(o,t).register(),HEAPU8.set(getBuffer(o),t),g}var BufferType=function(o){__extends(u,o);function u(){var c=o!==null&&o.apply(this,arguments)||this;return c.wireWrite=pushBuffer,c.readResources=[_nbind.resources.pool],c.writeResources=[_nbind.resources.pool],c}return u.prototype.makeWireWrite=function(c,d){return function(g){return pushBuffer(g,d)}},u}(_nbind.BindType);_nbind.BufferType=BufferType;function commitBuffer(o,u,c){var d=_nbind.externalList[o].data,g=Buffer;if(typeof Buffer!="function"&&(g=function(){}),!(d instanceof Array)){var t=HEAPU8.subarray(u,u+c);if(d instanceof g){var x=void 0;typeof Buffer.from=="function"&&Buffer.from.length>=3?x=Buffer.from(t):x=new Buffer(t),x.copy(d)}else getBuffer(d).set(t)}}_nbind.commitBuffer=commitBuffer;var dirtyList=[],gcTimer=0;function sweep(){for(var o=0,u=dirtyList;o<u.length;o++){var c=u[o];c.__nbindState&(1|2)||c.free()}dirtyList=[],gcTimer=0}_nbind.mark=function(o){};function toggleLightGC(o){o?_nbind.mark=function(u){dirtyList.push(u),gcTimer||(gcTimer=setTimeout(sweep,0))}:_nbind.mark=function(u){}}_nbind.toggleLightGC=toggleLightGC}(_nbind),Module.requestFullScreen=function(u,c,d){Module.printErr("Module.requestFullScreen is deprecated. Please call Module.requestFullscreen instead."),Module.requestFullScreen=Module.requestFullscreen,Browser.requestFullScreen(u,c,d)},Module.requestFullscreen=function(u,c,d){Browser.requestFullscreen(u,c,d)},Module.requestAnimationFrame=function(u){Browser.requestAnimationFrame(u)},Module.setCanvasSize=function(u,c,d){Browser.setCanvasSize(u,c,d)},Module.pauseMainLoop=function(){Browser.mainLoop.pause()},Module.resumeMainLoop=function(){Browser.mainLoop.resume()},Module.getUserMedia=function(){Browser.getUserMedia()},Module.createContext=function(u,c,d,g){return Browser.createContext(u,c,d,g)},ENVIRONMENT_IS_NODE?_emscripten_get_now=function(){var u=process.hrtime();return u[0]*1e3+u[1]/1e6}:typeof dateNow!="undefined"?_emscripten_get_now=dateNow:typeof self=="object"&&self.performance&&typeof self.performance.now=="function"?_emscripten_get_now=function(){return self.performance.now()}:typeof performance=="object"&&typeof performance.now=="function"?_emscripten_get_now=function(){return performance.now()}:_emscripten_get_now=Date.now,__ATEXIT__.push(function(){var o=Module._fflush;o&&o(0);var u=___syscall146.printChar;if(!!u){var c=___syscall146.buffers;c[1].length&&u(1,10),c[2].length&&u(2,10)}}),DYNAMICTOP_PTR=allocate(1,"i32",ALLOC_STATIC),STACK_BASE=STACKTOP=Runtime.alignMemory(STATICTOP),STACK_MAX=STACK_BASE+TOTAL_STACK,DYNAMIC_BASE=Runtime.alignMemory(STACK_MAX),HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE,staticSealed=!0;function invoke_viiiii(o,u,c,d,g,t){try{Module.dynCall_viiiii(o,u,c,d,g,t)}catch(x){if(typeof x!="number"&&x!=="longjmp")throw x;Module.setThrew(1,0)}}function invoke_vif(o,u,c){try{Module.dynCall_vif(o,u,c)}catch(d){if(typeof d!="number"&&d!=="longjmp")throw d;Module.setThrew(1,0)}}function invoke_vid(o,u,c){try{Module.dynCall_vid(o,u,c)}catch(d){if(typeof d!="number"&&d!=="longjmp")throw d;Module.setThrew(1,0)}}function invoke_fiff(o,u,c,d){try{return Module.dynCall_fiff(o,u,c,d)}catch(g){if(typeof g!="number"&&g!=="longjmp")throw g;Module.setThrew(1,0)}}function invoke_vi(o,u){try{Module.dynCall_vi(o,u)}catch(c){if(typeof c!="number"&&c!=="longjmp")throw c;Module.setThrew(1,0)}}function invoke_vii(o,u,c){try{Module.dynCall_vii(o,u,c)}catch(d){if(typeof d!="number"&&d!=="longjmp")throw d;Module.setThrew(1,0)}}function invoke_ii(o,u){try{return Module.dynCall_ii(o,u)}catch(c){if(typeof c!="number"&&c!=="longjmp")throw c;Module.setThrew(1,0)}}function invoke_viddi(o,u,c,d,g){try{Module.dynCall_viddi(o,u,c,d,g)}catch(t){if(typeof t!="number"&&t!=="longjmp")throw t;Module.setThrew(1,0)}}function invoke_vidd(o,u,c,d){try{Module.dynCall_vidd(o,u,c,d)}catch(g){if(typeof g!="number"&&g!=="longjmp")throw g;Module.setThrew(1,0)}}function invoke_iiii(o,u,c,d){try{return Module.dynCall_iiii(o,u,c,d)}catch(g){if(typeof g!="number"&&g!=="longjmp")throw g;Module.setThrew(1,0)}}function invoke_diii(o,u,c,d){try{return Module.dynCall_diii(o,u,c,d)}catch(g){if(typeof g!="number"&&g!=="longjmp")throw g;Module.setThrew(1,0)}}function invoke_di(o,u){try{return Module.dynCall_di(o,u)}catch(c){if(typeof c!="number"&&c!=="longjmp")throw c;Module.setThrew(1,0)}}function invoke_iid(o,u,c){try{return Module.dynCall_iid(o,u,c)}catch(d){if(typeof d!="number"&&d!=="longjmp")throw d;Module.setThrew(1,0)}}function invoke_iii(o,u,c){try{return Module.dynCall_iii(o,u,c)}catch(d){if(typeof d!="number"&&d!=="longjmp")throw d;Module.setThrew(1,0)}}function invoke_viiddi(o,u,c,d,g,t){try{Module.dynCall_viiddi(o,u,c,d,g,t)}catch(x){if(typeof x!="number"&&x!=="longjmp")throw x;Module.setThrew(1,0)}}function invoke_viiiiii(o,u,c,d,g,t,x){try{Module.dynCall_viiiiii(o,u,c,d,g,t,x)}catch(A){if(typeof A!="number"&&A!=="longjmp")throw A;Module.setThrew(1,0)}}function invoke_dii(o,u,c){try{return Module.dynCall_dii(o,u,c)}catch(d){if(typeof d!="number"&&d!=="longjmp")throw d;Module.setThrew(1,0)}}function invoke_i(o){try{return Module.dynCall_i(o)}catch(u){if(typeof u!="number"&&u!=="longjmp")throw u;Module.setThrew(1,0)}}function invoke_iiiiii(o,u,c,d,g,t){try{return Module.dynCall_iiiiii(o,u,c,d,g,t)}catch(x){if(typeof x!="number"&&x!=="longjmp")throw x;Module.setThrew(1,0)}}function invoke_viiid(o,u,c,d,g){try{Module.dynCall_viiid(o,u,c,d,g)}catch(t){if(typeof t!="number"&&t!=="longjmp")throw t;Module.setThrew(1,0)}}function invoke_viififi(o,u,c,d,g,t,x){try{Module.dynCall_viififi(o,u,c,d,g,t,x)}catch(A){if(typeof A!="number"&&A!=="longjmp")throw A;Module.setThrew(1,0)}}function invoke_viii(o,u,c,d){try{Module.dynCall_viii(o,u,c,d)}catch(g){if(typeof g!="number"&&g!=="longjmp")throw g;Module.setThrew(1,0)}}function invoke_v(o){try{Module.dynCall_v(o)}catch(u){if(typeof u!="number"&&u!=="longjmp")throw u;Module.setThrew(1,0)}}function invoke_viid(o,u,c,d){try{Module.dynCall_viid(o,u,c,d)}catch(g){if(typeof g!="number"&&g!=="longjmp")throw g;Module.setThrew(1,0)}}function invoke_idd(o,u,c){try{return Module.dynCall_idd(o,u,c)}catch(d){if(typeof d!="number"&&d!=="longjmp")throw d;Module.setThrew(1,0)}}function invoke_viiii(o,u,c,d,g){try{Module.dynCall_viiii(o,u,c,d,g)}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:Infinity},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(o,u,c){var d=new o.Int8Array(c),g=new o.Int16Array(c),t=new o.Int32Array(c),x=new o.Uint8Array(c),A=new o.Uint16Array(c),k=new o.Uint32Array(c),E=new o.Float32Array(c),L=new o.Float64Array(c),B=u.DYNAMICTOP_PTR|0,W=u.tempDoublePtr|0,X=u.ABORT|0,m=u.STACKTOP|0,me=u.STACK_MAX|0,ye=u.cttz_i8|0,se=u.___dso_handle|0,Ee=0,We=0,Se=0,Me=0,te=o.NaN,Oe=o.Infinity,Le=0,Ze=0,dt=0,ct=0,je=0,Ve=0,Ft=o.Math.floor,Ot=o.Math.abs,qt=o.Math.sqrt,tt=o.Math.pow,b=o.Math.cos,ee=o.Math.sin,pe=o.Math.tan,J=o.Math.acos,Te=o.Math.asin,ft=o.Math.atan,it=o.Math.atan2,kt=o.Math.exp,Pt=o.Math.log,ln=o.Math.ceil,Rn=o.Math.imul,Yt=o.Math.min,Ht=o.Math.max,nr=o.Math.clz32,w=o.Math.fround,at=u.abort,kn=u.assert,Mn=u.enlargeMemory,Hn=u.getTotalMemory,lr=u.abortOnCannotGrowMemory,fr=u.invoke_viiiii,e0=u.invoke_vif,vi=u.invoke_vid,co=u.invoke_fiff,ds=u.invoke_vi,Cu=u.invoke_vii,Uf=u.invoke_ii,Xo=u.invoke_viddi,Ko=u.invoke_vidd,Js=u.invoke_iiii,Qs=u.invoke_diii,ps=u.invoke_di,Io=u.invoke_iid,Zs=u.invoke_iii,hs=u.invoke_viiddi,ms=u.invoke_viiiiii,gi=u.invoke_dii,Su=u.invoke_i,el=u.invoke_iiiiii,tl=u.invoke_viiid,nl=u.invoke_viififi,rl=u.invoke_viii,Mi=u.invoke_v,xr=u.invoke_viid,gc=u.invoke_idd,Jl=u.invoke_viiii,vs=u._emscripten_asm_const_iiiii,gs=u._emscripten_asm_const_iiidddddd,il=u._emscripten_asm_const_iiiid,Fi=u.__nbind_reference_external,Mo=u._emscripten_asm_const_iiiiiiii,wr=u._removeAccessorPrefix,kr=u._typeModule,ei=u.__nbind_register_pool,N0=u.__decorate,B0=u._llvm_stackrestore,Mt=u.___cxa_atexit,Tu=u.__extends,s0=u.__nbind_get_value_object,xu=u.__ZN8facebook4yoga14YGNodeToStringEPNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEP6YGNode14YGPrintOptionsj,_s=u._emscripten_set_main_loop_timing,ys=u.__nbind_register_primitive,Jo=u.__nbind_register_type,ao=u._emscripten_memcpy_big,Fo=u.__nbind_register_function,ws=u.___setErrNo,Ds=u.__nbind_register_class,Ql=u.__nbind_finish,dn=u._abort,ku=u._nbind_value,Ro=u._llvm_stacksave,Qo=u.___syscall54,Es=u._defineHidden,ol=u._emscripten_set_main_loop,jf=u._emscripten_get_now,ul=u.__nbind_register_callback_signature,Au=u._emscripten_asm_const_iiiiii,Ou=u.__nbind_free_external,Zl=u._emscripten_asm_const_iiii,Xi=u._emscripten_asm_const_iiididi,Cs=u.___syscall6,sl=u._atexit,Iu=u.___syscall140,U0=u.___syscall146,Ss=w(0);let Qe=w(0);function Ri(e){e=e|0;var n=0;return n=m,m=m+e|0,m=m+15&-16,n|0}function Zo(){return m|0}function Po(e){e=e|0,m=e}function S0(e,n){e=e|0,n=n|0,m=e,me=n}function ll(e,n){e=e|0,n=n|0,Ee||(Ee=e,We=n)}function fl(e){e=e|0,Ve=e}function eu(){return Ve|0}function cl(){var e=0,n=0;cn(8104,8,400)|0,cn(8504,408,540)|0,e=9044,n=e+44|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));d[9088]=0,d[9089]=1,t[2273]=0,t[2274]=948,t[2275]=948,Mt(17,8104,se|0)|0}function gn(e){e=e|0,ef(e+948|0)}function vt(e){return e=w(e),((Dr(e)|0)&2147483647)>>>0>2139095040|0}function Kt(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: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 T0(e){e=e|0;var n=0;return n=Mp(1e3)|0,ti(e,(n|0)!=0,2456),t[2276]=(t[2276]|0)+1,cn(n|0,8104,1e3)|0,d[e+2>>0]|0&&(t[n+4>>2]=2,t[n+12>>2]=4),t[n+976>>2]=e,n|0}function ti(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0;s=m,m=m+16|0,i=s,n||(t[i>>2]=r,Fs(e,5,3197,i)),m=s}function Mu(){return T0(956)|0}function Pi(e){e=e|0;var n=0;return n=Ct(1e3)|0,Fu(n,e),ti(t[e+976>>2]|0,1,2456),t[2276]=(t[2276]|0)+1,t[n+944>>2]=0,n|0}function Fu(e,n){e=e|0,n=n|0;var r=0;cn(e|0,n|0,948)|0,rf(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 Ru(e){e=e|0;var n=0,r=0,i=0,s=0;if(n=e+944|0,r=t[n>>2]|0,r|0&&(Ts(r+948|0,e)|0,t[n>>2]=0),r=ni(e)|0,r|0){n=0;do t[(Xr(e,n)|0)+944>>2]=0,n=n+1|0;while((n|0)!=(r|0))}r=e+948|0,i=t[r>>2]|0,s=e+952|0,n=t[s>>2]|0,(n|0)!=(i|0)&&(t[s>>2]=n+(~((n+-4-i|0)>>>2)<<2)),Ki(r),Fp(e),t[2276]=(t[2276]|0)+-1}function Ts(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0;i=t[e>>2]|0,_=e+4|0,r=t[_>>2]|0,l=r;e:do if((i|0)==(r|0))s=i,a=4;else for(e=i;;){if((t[e>>2]|0)==(n|0)){s=e,a=4;break e}if(e=e+4|0,(e|0)==(r|0)){e=0;break}}while(0);return(a|0)==4&&((s|0)!=(r|0)?(i=s+4|0,e=l-i|0,n=e>>2,n&&(M2(s|0,i|0,e|0)|0,r=t[_>>2]|0),e=s+(n<<2)|0,(r|0)==(e|0)||(t[_>>2]=r+(~((r+-4-e|0)>>>2)<<2)),e=1):e=0),e|0}function ni(e){return e=e|0,(t[e+952>>2]|0)-(t[e+948>>2]|0)>>2|0}function Xr(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 Ki(e){e=e|0;var n=0,r=0,i=0,s=0;i=m,m=m+32|0,n=i,s=t[e>>2]|0,r=(t[e+4>>2]|0)-s|0,((t[e+8>>2]|0)-s|0)>>>0>r>>>0&&(s=r>>2,z(n,s,s,e+8|0),ir(e,n),Er(n)),m=i}function v0(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0;T=ni(e)|0;do if(T|0){if((t[(Xr(e,0)|0)+944>>2]|0)==(e|0)){if(!(Ts(e+948|0,n)|0))break;cn(n+400|0,8504,540)|0,t[n+944>>2]=0,nn(e);break}a=t[(t[e+976>>2]|0)+12>>2]|0,_=e+948|0,y=(a|0)==0,r=0,l=0;do i=t[(t[_>>2]|0)+(l<<2)>>2]|0,(i|0)==(n|0)?nn(e):(s=Pi(i)|0,t[(t[_>>2]|0)+(r<<2)>>2]=s,t[s+944>>2]=e,y||o_[a&15](i,s,e,r),r=r+1|0),l=l+1|0;while((l|0)!=(T|0));if(r>>>0<T>>>0){y=e+948|0,_=e+952|0,a=r,r=t[_>>2]|0;do l=(t[y>>2]|0)+(a<<2)|0,i=l+4|0,s=r-i|0,n=s>>2,n&&(M2(l|0,i|0,s|0)|0,r=t[_>>2]|0),s=r,i=l+(n<<2)|0,(s|0)!=(i|0)&&(r=s+(~((s+-4-i|0)>>>2)<<2)|0,t[_>>2]=r),a=a+1|0;while((a|0)!=(T|0))}}while(0)}function po(e){e=e|0;var n=0,r=0,i=0,s=0;t0(e,(ni(e)|0)==0,2491),t0(e,(t[e+944>>2]|0)==0,2545),n=e+948|0,r=t[n>>2]|0,i=e+952|0,s=t[i>>2]|0,(s|0)!=(r|0)&&(t[i>>2]=s+(~((s+-4-r|0)>>>2)<<2)),Ki(n),n=e+976|0,r=t[n>>2]|0,cn(e|0,8104,1e3)|0,d[r+2>>0]|0&&(t[e+4>>2]=2,t[e+12>>2]=4),t[n>>2]=r}function t0(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0;s=m,m=m+16|0,i=s,n||(t[i>>2]=r,hn(e,5,3197,i)),m=s}function xs(){return t[2276]|0}function l0(){var e=0;return e=Mp(20)|0,Pu((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 Pu(e,n){e=e|0,n=n|0;var r=0,i=0;i=m,m=m+16|0,r=i,e||(t[r>>2]=n,hn(0,5,3197,r)),m=i}function j0(e){e=e|0,Fp(e),t[2277]=(t[2277]|0)+-1}function Lu(e,n){e=e|0,n=n|0;var r=0;n?(t0(e,(ni(e)|0)==0,2629),r=1):(r=0,n=0),t[e+964>>2]=n,t[e+988>>2]=r}function ks(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;i=m,m=m+16|0,l=i+8|0,s=i+4|0,a=i,t[s>>2]=n,t0(e,(t[n+944>>2]|0)==0,2709),t0(e,(t[e+964>>2]|0)==0,2763),Lo(e),n=e+948|0,t[a>>2]=(t[n>>2]|0)+(r<<2),t[l>>2]=t[a>>2],x0(n,l,s)|0,t[(t[s>>2]|0)+944>>2]=e,nn(e),m=i}function Lo(e){e=e|0;var n=0,r=0,i=0,s=0,l=0,a=0,_=0;if(r=ni(e)|0,r|0?(t[(Xr(e,0)|0)+944>>2]|0)!=(e|0):0){i=t[(t[e+976>>2]|0)+12>>2]|0,s=e+948|0,l=(i|0)==0,n=0;do a=t[(t[s>>2]|0)+(n<<2)>>2]|0,_=Pi(a)|0,t[(t[s>>2]|0)+(n<<2)>>2]=_,t[_+944>>2]=e,l||o_[i&15](a,_,e,n),n=n+1|0;while((n|0)!=(r|0))}}function x0(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0,ge=0,oe=0,ne=0,ke=0,Ce=0;ke=m,m=m+64|0,M=ke+52|0,_=ke+48|0,j=ke+28|0,ge=ke+24|0,oe=ke+20|0,ne=ke,i=t[e>>2]|0,l=i,n=i+((t[n>>2]|0)-l>>2<<2)|0,i=e+4|0,s=t[i>>2]|0,a=e+8|0;do if(s>>>0<(t[a>>2]|0)>>>0){if((n|0)==(s|0)){t[n>>2]=t[r>>2],t[i>>2]=(t[i>>2]|0)+4;break}bn(e,n,s,n+4|0),n>>>0<=r>>>0&&(r=(t[i>>2]|0)>>>0>r>>>0?r+4|0:r),t[n>>2]=t[r>>2]}else{i=(s-l>>2)+1|0,s=G0(e)|0,s>>>0<i>>>0&&Wn(e),S=t[e>>2]|0,T=(t[a>>2]|0)-S|0,l=T>>1,z(ne,T>>2>>>0<s>>>1>>>0?l>>>0<i>>>0?i:l:s,n-S>>2,e+8|0),S=ne+8|0,i=t[S>>2]|0,l=ne+12|0,T=t[l>>2]|0,a=T,y=i;do if((i|0)==(T|0)){if(T=ne+4|0,i=t[T>>2]|0,Ce=t[ne>>2]|0,s=Ce,i>>>0<=Ce>>>0){i=a-s>>1,i=(i|0)==0?1:i,z(j,i,i>>>2,t[ne+16>>2]|0),t[ge>>2]=t[T>>2],t[oe>>2]=t[S>>2],t[_>>2]=t[ge>>2],t[M>>2]=t[oe>>2],i0(j,_,M),i=t[ne>>2]|0,t[ne>>2]=t[j>>2],t[j>>2]=i,i=j+4|0,Ce=t[T>>2]|0,t[T>>2]=t[i>>2],t[i>>2]=Ce,i=j+8|0,Ce=t[S>>2]|0,t[S>>2]=t[i>>2],t[i>>2]=Ce,i=j+12|0,Ce=t[l>>2]|0,t[l>>2]=t[i>>2],t[i>>2]=Ce,Er(j),i=t[S>>2]|0;break}l=i,a=((l-s>>2)+1|0)/-2|0,_=i+(a<<2)|0,s=y-l|0,l=s>>2,l&&(M2(_|0,i|0,s|0)|0,i=t[T>>2]|0),Ce=_+(l<<2)|0,t[S>>2]=Ce,t[T>>2]=i+(a<<2),i=Ce}while(0);t[i>>2]=t[r>>2],t[S>>2]=(t[S>>2]|0)+4,n=Qt(e,ne,n)|0,Er(ne)}while(0);return m=ke,n|0}function nn(e){e=e|0;var n=0;do{if(n=e+984|0,d[n>>0]|0)break;d[n>>0]=1,E[e+504>>2]=w(te),e=t[e+944>>2]|0}while((e|0)!=0)}function ef(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-4-i|0)>>>2)<<2)),He(r))}function Xn(e){return e=e|0,t[e+944>>2]|0}function Kn(e){e=e|0,t0(e,(t[e+964>>2]|0)!=0,2832),nn(e)}function No(e){return e=e|0,(d[e+984>>0]|0)!=0|0}function Nu(e,n){e=e|0,n=n|0,HI(e,n,400)|0&&(cn(e|0,n|0,400)|0,nn(e))}function al(e){e=e|0;var n=Qe;return n=w(E[e+44>>2]),e=vt(n)|0,w(e?w(0):n)}function tu(e){e=e|0;var n=Qe;return n=w(E[e+48>>2]),vt(n)|0&&(n=d[(t[e+976>>2]|0)+2>>0]|0?w(1):w(0)),w(n)}function As(e,n){e=e|0,n=n|0,t[e+980>>2]=n}function Bu(e){return e=e|0,t[e+980>>2]|0}function k0(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,nn(e))}function nu(e){return e=e|0,t[e+4>>2]|0}function Ar(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,nn(e))}function R(e){return e=e|0,t[e+8>>2]|0}function P(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,nn(e))}function U(e){return e=e|0,t[e+12>>2]|0}function H(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,nn(e))}function ue(e){return e=e|0,t[e+16>>2]|0}function re(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,nn(e))}function fe(e){return e=e|0,t[e+20>>2]|0}function q(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,nn(e))}function de(e){return e=e|0,t[e+24>>2]|0}function Ae(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,nn(e))}function qe(e){return e=e|0,t[e+28>>2]|0}function $(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,nn(e))}function De(e){return e=e|0,t[e+32>>2]|0}function Pe(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,nn(e))}function $e(e){return e=e|0,t[e+36>>2]|0}function rt(e,n){e=e|0,n=w(n);var r=0;r=e+40|0,w(E[r>>2])!=n&&(E[r>>2]=n,nn(e))}function ut(e,n){e=e|0,n=w(n);var r=0;r=e+44|0,w(E[r>>2])!=n&&(E[r>>2]=n,nn(e))}function St(e,n){e=e|0,n=w(n);var r=0;r=e+48|0,w(E[r>>2])!=n&&(E[r>>2]=n,nn(e))}function _t(e,n){e=e|0,n=w(n);var r=0,i=0,s=0,l=0;l=vt(n)|0,r=(l^1)&1,i=e+52|0,s=e+56|0,(l|w(E[i>>2])==n?(t[s>>2]|0)==(r|0):0)||(E[i>>2]=n,t[s>>2]=r,nn(e))}function st(e,n){e=e|0,n=w(n);var r=0,i=0;i=e+52|0,r=e+56|0,(w(E[i>>2])==n?(t[r>>2]|0)==2:0)||(E[i>>2]=n,i=vt(n)|0,t[r>>2]=i?3:2,nn(e))}function It(e,n){e=e|0,n=n|0;var r=0,i=0;i=n+52|0,r=t[i+4>>2]|0,n=e,t[n>>2]=t[i>>2],t[n+4>>2]=r}function pn(e,n,r){e=e|0,n=n|0,r=w(r);var i=0,s=0,l=0;l=vt(r)|0,i=(l^1)&1,s=e+132+(n<<3)|0,n=e+132+(n<<3)+4|0,(l|w(E[s>>2])==r?(t[n>>2]|0)==(i|0):0)||(E[s>>2]=r,t[n>>2]=i,nn(e))}function tn(e,n,r){e=e|0,n=n|0,r=w(r);var i=0,s=0,l=0;l=vt(r)|0,i=l?0:2,s=e+132+(n<<3)|0,n=e+132+(n<<3)+4|0,(l|w(E[s>>2])==r?(t[n>>2]|0)==(i|0):0)||(E[s>>2]=r,t[n>>2]=i,nn(e))}function rr(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=n+132+(r<<3)|0,n=t[i+4>>2]|0,r=e,t[r>>2]=t[i>>2],t[r+4>>2]=n}function Zt(e,n,r){e=e|0,n=n|0,r=w(r);var i=0,s=0,l=0;l=vt(r)|0,i=(l^1)&1,s=e+60+(n<<3)|0,n=e+60+(n<<3)+4|0,(l|w(E[s>>2])==r?(t[n>>2]|0)==(i|0):0)||(E[s>>2]=r,t[n>>2]=i,nn(e))}function Nn(e,n,r){e=e|0,n=n|0,r=w(r);var i=0,s=0,l=0;l=vt(r)|0,i=l?0:2,s=e+60+(n<<3)|0,n=e+60+(n<<3)+4|0,(l|w(E[s>>2])==r?(t[n>>2]|0)==(i|0):0)||(E[s>>2]=r,t[n>>2]=i,nn(e))}function f0(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=n+60+(r<<3)|0,n=t[i+4>>2]|0,r=e,t[r>>2]=t[i>>2],t[r+4>>2]=n}function gr(e,n){e=e|0,n=n|0;var r=0;r=e+60+(n<<3)+4|0,(t[r>>2]|0)!=3&&(E[e+60+(n<<3)>>2]=w(te),t[r>>2]=3,nn(e))}function ze(e,n,r){e=e|0,n=n|0,r=w(r);var i=0,s=0,l=0;l=vt(r)|0,i=(l^1)&1,s=e+204+(n<<3)|0,n=e+204+(n<<3)+4|0,(l|w(E[s>>2])==r?(t[n>>2]|0)==(i|0):0)||(E[s>>2]=r,t[n>>2]=i,nn(e))}function Xe(e,n,r){e=e|0,n=n|0,r=w(r);var i=0,s=0,l=0;l=vt(r)|0,i=l?0:2,s=e+204+(n<<3)|0,n=e+204+(n<<3)+4|0,(l|w(E[s>>2])==r?(t[n>>2]|0)==(i|0):0)||(E[s>>2]=r,t[n>>2]=i,nn(e))}function Fe(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=n+204+(r<<3)|0,n=t[i+4>>2]|0,r=e,t[r>>2]=t[i>>2],t[r+4>>2]=n}function lt(e,n,r){e=e|0,n=n|0,r=w(r);var i=0,s=0,l=0;l=vt(r)|0,i=(l^1)&1,s=e+276+(n<<3)|0,n=e+276+(n<<3)+4|0,(l|w(E[s>>2])==r?(t[n>>2]|0)==(i|0):0)||(E[s>>2]=r,t[n>>2]=i,nn(e))}function Dt(e,n){return e=e|0,n=n|0,w(E[e+276+(n<<3)>>2])}function $t(e,n){e=e|0,n=w(n);var r=0,i=0,s=0,l=0;l=vt(n)|0,r=(l^1)&1,i=e+348|0,s=e+352|0,(l|w(E[i>>2])==n?(t[s>>2]|0)==(r|0):0)||(E[i>>2]=n,t[s>>2]=r,nn(e))}function _n(e,n){e=e|0,n=w(n);var r=0,i=0;i=e+348|0,r=e+352|0,(w(E[i>>2])==n?(t[r>>2]|0)==2:0)||(E[i>>2]=n,i=vt(n)|0,t[r>>2]=i?3:2,nn(e))}function Bn(e){e=e|0;var n=0;n=e+352|0,(t[n>>2]|0)!=3&&(E[e+348>>2]=w(te),t[n>>2]=3,nn(e))}function c0(e,n){e=e|0,n=n|0;var r=0,i=0;i=n+348|0,r=t[i+4>>2]|0,n=e,t[n>>2]=t[i>>2],t[n+4>>2]=r}function a0(e,n){e=e|0,n=w(n);var r=0,i=0,s=0,l=0;l=vt(n)|0,r=(l^1)&1,i=e+356|0,s=e+360|0,(l|w(E[i>>2])==n?(t[s>>2]|0)==(r|0):0)||(E[i>>2]=n,t[s>>2]=r,nn(e))}function ri(e,n){e=e|0,n=w(n);var r=0,i=0;i=e+356|0,r=e+360|0,(w(E[i>>2])==n?(t[r>>2]|0)==2:0)||(E[i>>2]=n,i=vt(n)|0,t[r>>2]=i?3:2,nn(e))}function _i(e){e=e|0;var n=0;n=e+360|0,(t[n>>2]|0)!=3&&(E[e+356>>2]=w(te),t[n>>2]=3,nn(e))}function g0(e,n){e=e|0,n=n|0;var r=0,i=0;i=n+356|0,r=t[i+4>>2]|0,n=e,t[n>>2]=t[i>>2],t[n+4>>2]=r}function Pr(e,n){e=e|0,n=w(n);var r=0,i=0,s=0,l=0;l=vt(n)|0,r=(l^1)&1,i=e+364|0,s=e+368|0,(l|w(E[i>>2])==n?(t[s>>2]|0)==(r|0):0)||(E[i>>2]=n,t[s>>2]=r,nn(e))}function ho(e,n){e=e|0,n=w(n);var r=0,i=0,s=0,l=0;l=vt(n)|0,r=l?0:2,i=e+364|0,s=e+368|0,(l|w(E[i>>2])==n?(t[s>>2]|0)==(r|0):0)||(E[i>>2]=n,t[s>>2]=r,nn(e))}function mo(e,n){e=e|0,n=n|0;var r=0,i=0;i=n+364|0,r=t[i+4>>2]|0,n=e,t[n>>2]=t[i>>2],t[n+4>>2]=r}function dl(e,n){e=e|0,n=w(n);var r=0,i=0,s=0,l=0;l=vt(n)|0,r=(l^1)&1,i=e+372|0,s=e+376|0,(l|w(E[i>>2])==n?(t[s>>2]|0)==(r|0):0)||(E[i>>2]=n,t[s>>2]=r,nn(e))}function Os(e,n){e=e|0,n=w(n);var r=0,i=0,s=0,l=0;l=vt(n)|0,r=l?0:2,i=e+372|0,s=e+376|0,(l|w(E[i>>2])==n?(t[s>>2]|0)==(r|0):0)||(E[i>>2]=n,t[s>>2]=r,nn(e))}function pl(e,n){e=e|0,n=n|0;var r=0,i=0;i=n+372|0,r=t[i+4>>2]|0,n=e,t[n>>2]=t[i>>2],t[n+4>>2]=r}function ru(e,n){e=e|0,n=w(n);var r=0,i=0,s=0,l=0;l=vt(n)|0,r=(l^1)&1,i=e+380|0,s=e+384|0,(l|w(E[i>>2])==n?(t[s>>2]|0)==(r|0):0)||(E[i>>2]=n,t[s>>2]=r,nn(e))}function Uu(e,n){e=e|0,n=w(n);var r=0,i=0,s=0,l=0;l=vt(n)|0,r=l?0:2,i=e+380|0,s=e+384|0,(l|w(E[i>>2])==n?(t[s>>2]|0)==(r|0):0)||(E[i>>2]=n,t[s>>2]=r,nn(e))}function Is(e,n){e=e|0,n=n|0;var r=0,i=0;i=n+380|0,r=t[i+4>>2]|0,n=e,t[n>>2]=t[i>>2],t[n+4>>2]=r}function Ji(e,n){e=e|0,n=w(n);var r=0,i=0,s=0,l=0;l=vt(n)|0,r=(l^1)&1,i=e+388|0,s=e+392|0,(l|w(E[i>>2])==n?(t[s>>2]|0)==(r|0):0)||(E[i>>2]=n,t[s>>2]=r,nn(e))}function Li(e,n){e=e|0,n=w(n);var r=0,i=0,s=0,l=0;l=vt(n)|0,r=l?0:2,i=e+388|0,s=e+392|0,(l|w(E[i>>2])==n?(t[s>>2]|0)==(r|0):0)||(E[i>>2]=n,t[s>>2]=r,nn(e))}function Ms(e,n){e=e|0,n=n|0;var r=0,i=0;i=n+388|0,r=t[i+4>>2]|0,n=e,t[n>>2]=t[i>>2],t[n+4>>2]=r}function A0(e,n){e=e|0,n=w(n);var r=0;r=e+396|0,w(E[r>>2])!=n&&(E[r>>2]=n,nn(e))}function jr(e){return e=e|0,w(E[e+396>>2])}function Jn(e){return e=e|0,w(E[e+400>>2])}function O0(e){return e=e|0,w(E[e+404>>2])}function z0(e){return e=e|0,w(E[e+408>>2])}function vo(e){return e=e|0,w(E[e+412>>2])}function ju(e){return e=e|0,w(E[e+416>>2])}function Bo(e){return e=e|0,w(E[e+420>>2])}function Or(e,n){switch(e=e|0,n=n|0,t0(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(E[e+424+(n<<2)>>2])}function Vn(e,n){switch(e=e|0,n=n|0,t0(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(E[e+448+(n<<2)>>2])}function ii(e,n){switch(e=e|0,n=n|0,t0(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(E[e+472+(n<<2)>>2])}function n0(e,n){e=e|0,n=n|0;var r=0,i=Qe;return r=t[e+4>>2]|0,(r|0)==(t[n+4>>2]|0)?r?(i=w(E[e>>2]),e=w(Ot(w(i-w(E[n>>2]))))<w(999999974e-13)):e=1:e=0,e|0}function zr(e,n){e=w(e),n=w(n);var r=0;return vt(e)|0?r=vt(n)|0:r=w(Ot(w(e-n)))<w(999999974e-13),r|0}function tf(e,n){e=e|0,n=n|0,nf(e,n)}function nf(e,n){e=e|0,n=n|0;var r=0,i=0;r=m,m=m+16|0,i=r+4|0,t[i>>2]=0,t[i+4>>2]=0,t[i+8>>2]=0,xu(i|0,e|0,n|0,0),hn(e,3,(d[i+11>>0]|0)<0?t[i>>2]|0:i,r),dM(i),m=r}function W0(e,n,r,i){e=w(e),n=w(n),r=r|0,i=i|0;var s=Qe;e=w(e*n),s=w(Z4(e,w(1)));do if(zr(s,w(0))|0)e=w(e-s);else{if(e=w(e-s),zr(s,w(1))|0){e=w(e+w(1));break}if(r){e=w(e+w(1));break}i||(s>w(.5)?s=w(1):(i=zr(s,w(.5))|0,s=w(i?1:0)),e=w(e+s))}while(0);return w(e/n)}function q0(e,n,r,i,s,l,a,_,y,T,S,M,j){e=e|0,n=w(n),r=r|0,i=w(i),s=s|0,l=w(l),a=a|0,_=w(_),y=w(y),T=w(T),S=w(S),M=w(M),j=j|0;var ge=0,oe=Qe,ne=Qe,ke=Qe,Ce=Qe,Ne=Qe,ce=Qe;return y<w(0)|T<w(0)?j=0:(((j|0)!=0?(oe=w(E[j+4>>2]),oe!=w(0)):0)?(ke=w(W0(n,oe,0,0)),Ce=w(W0(i,oe,0,0)),ne=w(W0(l,oe,0,0)),oe=w(W0(_,oe,0,0))):(ne=l,ke=n,oe=_,Ce=i),(s|0)==(e|0)?ge=zr(ne,ke)|0:ge=0,(a|0)==(r|0)?j=zr(oe,Ce)|0:j=0,((ge?0:(Ne=w(n-S),!(le(e,Ne,y)|0)))?!(Re(e,Ne,s,y)|0):0)?ge=xe(e,Ne,s,l,y)|0:ge=1,((j?0:(ce=w(i-M),!(le(r,ce,T)|0)))?!(Re(r,ce,a,T)|0):0)?j=xe(r,ce,a,_,T)|0:j=1,j=ge&j),j|0}function le(e,n,r){return e=e|0,n=w(n),r=w(r),(e|0)==1?e=zr(n,r)|0:e=0,e|0}function Re(e,n,r,i){return e=e|0,n=w(n),r=r|0,i=w(i),(e|0)==2&(r|0)==0?n>=i?e=1:e=zr(n,i)|0:e=0,e|0}function xe(e,n,r,i,s){return e=e|0,n=w(n),r=r|0,i=w(i),s=w(s),(e|0)==2&(r|0)==2&i>n?s<=n?e=1:e=zr(n,s)|0:e=0,e|0}function pt(e,n,r,i,s,l,a,_,y,T,S){e=e|0,n=w(n),r=w(r),i=i|0,s=s|0,l=l|0,a=w(a),_=w(_),y=y|0,T=T|0,S=S|0;var M=0,j=0,ge=0,oe=0,ne=Qe,ke=Qe,Ce=0,Ne=0,ce=0,he=0,mt=0,On=0,Ut=0,xt=0,an=0,xn=0,Bt=0,hr=Qe,Wi=Qe,qi=Qe,Hi=0,ko=0;Bt=m,m=m+160|0,xt=Bt+152|0,Ut=Bt+120|0,On=Bt+104|0,ce=Bt+72|0,oe=Bt+56|0,mt=Bt+8|0,Ne=Bt,he=(t[2279]|0)+1|0,t[2279]=he,an=e+984|0,((d[an>>0]|0)!=0?(t[e+512>>2]|0)!=(t[2278]|0):0)?Ce=4:(t[e+516>>2]|0)==(i|0)?xn=0:Ce=4,(Ce|0)==4&&(t[e+520>>2]=0,t[e+924>>2]=-1,t[e+928>>2]=-1,E[e+932>>2]=w(-1),E[e+936>>2]=w(-1),xn=1);e:do if(t[e+964>>2]|0)if(ne=w(ht(e,2,a)),ke=w(ht(e,0,a)),M=e+916|0,qi=w(E[M>>2]),Wi=w(E[e+920>>2]),hr=w(E[e+932>>2]),q0(s,n,l,r,t[e+924>>2]|0,qi,t[e+928>>2]|0,Wi,hr,w(E[e+936>>2]),ne,ke,S)|0)Ce=22;else if(ge=t[e+520>>2]|0,!ge)Ce=21;else for(j=0;;){if(M=e+524+(j*24|0)|0,hr=w(E[M>>2]),Wi=w(E[e+524+(j*24|0)+4>>2]),qi=w(E[e+524+(j*24|0)+16>>2]),q0(s,n,l,r,t[e+524+(j*24|0)+8>>2]|0,hr,t[e+524+(j*24|0)+12>>2]|0,Wi,qi,w(E[e+524+(j*24|0)+20>>2]),ne,ke,S)|0){Ce=22;break e}if(j=j+1|0,j>>>0>=ge>>>0){Ce=21;break}}else{if(y){if(M=e+916|0,!(zr(w(E[M>>2]),n)|0)){Ce=21;break}if(!(zr(w(E[e+920>>2]),r)|0)){Ce=21;break}if((t[e+924>>2]|0)!=(s|0)){Ce=21;break}M=(t[e+928>>2]|0)==(l|0)?M:0,Ce=22;break}if(ge=t[e+520>>2]|0,!ge)Ce=21;else for(j=0;;){if(M=e+524+(j*24|0)|0,((zr(w(E[M>>2]),n)|0?zr(w(E[e+524+(j*24|0)+4>>2]),r)|0:0)?(t[e+524+(j*24|0)+8>>2]|0)==(s|0):0)?(t[e+524+(j*24|0)+12>>2]|0)==(l|0):0){Ce=22;break e}if(j=j+1|0,j>>>0>=ge>>>0){Ce=21;break}}}while(0);do if((Ce|0)==21)d[11697]|0?(M=0,Ce=28):(M=0,Ce=31);else if((Ce|0)==22){if(j=(d[11697]|0)!=0,!((M|0)!=0&(xn^1)))if(j){Ce=28;break}else{Ce=31;break}oe=M+16|0,t[e+908>>2]=t[oe>>2],ge=M+20|0,t[e+912>>2]=t[ge>>2],(d[11698]|0)==0|j^1||(t[Ne>>2]=Un(he)|0,t[Ne+4>>2]=he,hn(e,4,2972,Ne),j=t[e+972>>2]|0,j|0&&Al[j&127](e),s=Vt(s,y)|0,l=Vt(l,y)|0,ko=+w(E[oe>>2]),Hi=+w(E[ge>>2]),t[mt>>2]=s,t[mt+4>>2]=l,L[mt+8>>3]=+n,L[mt+16>>3]=+r,L[mt+24>>3]=ko,L[mt+32>>3]=Hi,t[mt+40>>2]=T,hn(e,4,2989,mt))}while(0);return(Ce|0)==28&&(j=Un(he)|0,t[oe>>2]=j,t[oe+4>>2]=he,t[oe+8>>2]=xn?3047:11699,hn(e,4,3038,oe),j=t[e+972>>2]|0,j|0&&Al[j&127](e),mt=Vt(s,y)|0,Ce=Vt(l,y)|0,t[ce>>2]=mt,t[ce+4>>2]=Ce,L[ce+8>>3]=+n,L[ce+16>>3]=+r,t[ce+24>>2]=T,hn(e,4,3049,ce),Ce=31),(Ce|0)==31&&(H0(e,n,r,i,s,l,a,_,y,S),d[11697]|0&&(j=t[2279]|0,mt=Un(j)|0,t[On>>2]=mt,t[On+4>>2]=j,t[On+8>>2]=xn?3047:11699,hn(e,4,3083,On),j=t[e+972>>2]|0,j|0&&Al[j&127](e),mt=Vt(s,y)|0,On=Vt(l,y)|0,Hi=+w(E[e+908>>2]),ko=+w(E[e+912>>2]),t[Ut>>2]=mt,t[Ut+4>>2]=On,L[Ut+8>>3]=Hi,L[Ut+16>>3]=ko,t[Ut+24>>2]=T,hn(e,4,3092,Ut)),t[e+516>>2]=i,M||(j=e+520|0,M=t[j>>2]|0,(M|0)==16&&(d[11697]|0&&hn(e,4,3124,xt),t[j>>2]=0,M=0),y?M=e+916|0:(t[j>>2]=M+1,M=e+524+(M*24|0)|0),E[M>>2]=n,E[M+4>>2]=r,t[M+8>>2]=s,t[M+12>>2]=l,t[M+16>>2]=t[e+908>>2],t[M+20>>2]=t[e+912>>2],M=0)),y&&(t[e+416>>2]=t[e+908>>2],t[e+420>>2]=t[e+912>>2],d[e+985>>0]=1,d[an>>0]=0),t[2279]=(t[2279]|0)+-1,t[e+512>>2]=t[2278],m=Bt,xn|(M|0)==0|0}function ht(e,n,r){e=e|0,n=n|0,r=w(r);var i=Qe;return i=w(_r(e,n,r)),w(i+w(I0(e,n,r)))}function hn(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0;l=m,m=m+16|0,s=l,t[s>>2]=i,e?i=t[e+976>>2]|0:i=0,zu(i,e,n,r,s),m=l}function Un(e){return e=e|0,(e>>>0>60?3201:3201+(60-e)|0)|0}function Vt(e,n){e=e|0,n=n|0;var r=0,i=0,s=0;return s=m,m=m+32|0,r=s+12|0,i=s,t[r>>2]=t[254],t[r+4>>2]=t[255],t[r+8>>2]=t[256],t[i>>2]=t[257],t[i+4>>2]=t[258],t[i+8>>2]=t[259],(e|0)>2?e=11699:e=t[(n?i:r)+(e<<2)>>2]|0,m=s,e|0}function H0(e,n,r,i,s,l,a,_,y,T){e=e|0,n=w(n),r=w(r),i=i|0,s=s|0,l=l|0,a=w(a),_=w(_),y=y|0,T=T|0;var S=0,M=0,j=0,ge=0,oe=Qe,ne=Qe,ke=Qe,Ce=Qe,Ne=Qe,ce=Qe,he=Qe,mt=0,On=0,Ut=0,xt=Qe,an=Qe,xn=0,Bt=Qe,hr=0,Wi=0,qi=0,Hi=0,ko=0,wf=0,Df=0,mu=0,Ef=0,qs=0,Hs=0,Cf=0,Sf=0,Tf=0,qn=0,vu=0,xf=0,Ju=0,kf=Qe,Af=Qe,Vs=Qe,Gs=Qe,Qu=Qe,Ti=0,Yo=0,lo=0,gu=0,Il=0,Ml=Qe,bs=Qe,Fl=Qe,Rl=Qe,xi=Qe,hi=Qe,_u=0,yr=Qe,Pl=Qe,Vi=Qe,Zu=Qe,Gi=Qe,es=Qe,Ll=0,Nl=0,ts=Qe,ki=Qe,yu=0,Bl=0,Ul=0,jl=0,vn=Qe,Ur=0,mi=0,bi=0,Ai=0,Dn=0,Wt=0,wu=0,Tt=Qe,zl=0,br=0;wu=m,m=m+16|0,Ti=wu+12|0,Yo=wu+8|0,lo=wu+4|0,gu=wu,t0(e,(s|0)==0|(vt(n)|0)^1,3326),t0(e,(l|0)==0|(vt(r)|0)^1,3406),mi=Zi(e,i)|0,t[e+496>>2]=mi,Dn=M0(2,mi)|0,Wt=M0(0,mi)|0,E[e+440>>2]=w(_r(e,Dn,a)),E[e+444>>2]=w(I0(e,Dn,a)),E[e+428>>2]=w(_r(e,Wt,a)),E[e+436>>2]=w(I0(e,Wt,a)),E[e+464>>2]=w(y0(e,Dn)),E[e+468>>2]=w(oi(e,Dn)),E[e+452>>2]=w(y0(e,Wt)),E[e+460>>2]=w(oi(e,Wt)),E[e+488>>2]=w(r0(e,Dn,a)),E[e+492>>2]=w(p0(e,Dn,a)),E[e+476>>2]=w(r0(e,Wt,a)),E[e+484>>2]=w(p0(e,Wt,a));do if(t[e+964>>2]|0)go(e,n,r,s,l,a,_);else{if(bi=e+948|0,Ai=(t[e+952>>2]|0)-(t[bi>>2]|0)>>2,!Ai){iu(e,n,r,s,l,a,_);break}if(y?0:ml(e,n,r,s,l,a,_)|0)break;Lo(e),vu=e+508|0,d[vu>>0]=0,Dn=M0(t[e+4>>2]|0,mi)|0,Wt=vl(Dn,mi)|0,Ur=Ir(Dn)|0,xf=t[e+8>>2]|0,Bl=e+28|0,Ju=(t[Bl>>2]|0)!=0,Gi=Ur?a:_,ts=Ur?_:a,kf=w(F0(e,Dn,a)),Af=w(ou(e,Dn,a)),oe=w(F0(e,Wt,a)),es=w(An(e,Dn,a)),ki=w(An(e,Wt,a)),Ut=Ur?s:l,yu=Ur?l:s,vn=Ur?es:ki,Ne=Ur?ki:es,Zu=w(ht(e,2,a)),Ce=w(ht(e,0,a)),ne=w(w(wn(e+364|0,a))-vn),ke=w(w(wn(e+380|0,a))-vn),ce=w(w(wn(e+372|0,_))-Ne),he=w(w(wn(e+388|0,_))-Ne),Vs=Ur?ne:ce,Gs=Ur?ke:he,Zu=w(n-Zu),n=w(Zu-vn),vt(n)|0?vn=n:vn=w(Rr(w(rc(n,ke)),ne)),Pl=w(r-Ce),n=w(Pl-Ne),vt(n)|0?Vi=n:Vi=w(Rr(w(rc(n,he)),ce)),ne=Ur?vn:Vi,yr=Ur?Vi:vn;e:do if((Ut|0)==1)for(i=0,M=0;;){if(S=Xr(e,M)|0,!i)(w(Mr(S))>w(0)?w(Lr(S))>w(0):0)?i=S:i=0;else if(ui(S)|0){ge=0;break e}if(M=M+1|0,M>>>0>=Ai>>>0){ge=i;break}}else ge=0;while(0);mt=ge+500|0,On=ge+504|0,i=0,S=0,n=w(0),j=0;do{if(M=t[(t[bi>>2]|0)+(j<<2)>>2]|0,(t[M+36>>2]|0)==1)eo(M),d[M+985>>0]=1,d[M+984>>0]=0;else{qr(M),y&&Uo(M,Zi(M,mi)|0,ne,yr,vn);do if((t[M+24>>2]|0)!=1)if((M|0)==(ge|0)){t[mt>>2]=t[2278],E[On>>2]=w(0);break}else{pr(e,M,vn,s,Vi,vn,Vi,l,mi,T);break}else S|0&&(t[S+960>>2]=M),t[M+960>>2]=0,S=M,i=(i|0)==0?M:i;while(0);hi=w(E[M+504>>2]),n=w(n+w(hi+w(ht(M,Dn,vn))))}j=j+1|0}while((j|0)!=(Ai|0));for(qi=n>ne,_u=Ju&((Ut|0)==2&qi)?1:Ut,hr=(yu|0)==1,ko=hr&(y^1),wf=(_u|0)==1,Df=(_u|0)==2,mu=976+(Dn<<2)|0,Ef=(yu|2|0)==2,Tf=hr&(Ju^1),qs=1040+(Wt<<2)|0,Hs=1040+(Dn<<2)|0,Cf=976+(Wt<<2)|0,Sf=(yu|0)!=1,qi=Ju&((Ut|0)!=0&qi),Wi=e+976|0,hr=hr^1,n=ne,xn=0,Hi=0,hi=w(0),Qu=w(0);;){e:do if(xn>>>0<Ai>>>0)for(On=t[bi>>2]|0,j=0,he=w(0),ce=w(0),ke=w(0),ne=w(0),M=0,S=0,ge=xn;;){if(mt=t[On+(ge<<2)>>2]|0,(t[mt+36>>2]|0)!=1?(t[mt+940>>2]=Hi,(t[mt+24>>2]|0)!=1):0){if(Ce=w(ht(mt,Dn,vn)),qn=t[mu>>2]|0,r=w(wn(mt+380+(qn<<3)|0,Gi)),Ne=w(E[mt+504>>2]),r=w(rc(r,Ne)),r=w(Rr(w(wn(mt+364+(qn<<3)|0,Gi)),r)),Ju&(j|0)!=0&w(Ce+w(ce+r))>n){l=j,Ce=he,Ut=ge;break e}Ce=w(Ce+r),r=w(ce+Ce),Ce=w(he+Ce),ui(mt)|0&&(ke=w(ke+w(Mr(mt))),ne=w(ne-w(Ne*w(Lr(mt))))),S|0&&(t[S+960>>2]=mt),t[mt+960>>2]=0,j=j+1|0,S=mt,M=(M|0)==0?mt:M}else Ce=he,r=ce;if(ge=ge+1|0,ge>>>0<Ai>>>0)he=Ce,ce=r;else{l=j,Ut=ge;break}}else l=0,Ce=w(0),ke=w(0),ne=w(0),M=0,Ut=xn;while(0);qn=ke>w(0)&ke<w(1),xt=qn?w(1):ke,qn=ne>w(0)&ne<w(1),he=qn?w(1):ne;do if(wf)qn=51;else if(Ce<Vs&((vt(Vs)|0)^1))n=Vs,qn=51;else if(Ce>Gs&((vt(Gs)|0)^1))n=Gs,qn=51;else if(d[(t[Wi>>2]|0)+3>>0]|0)qn=51;else{if(xt!=w(0)?w(Mr(e))!=w(0):0){qn=53;break}n=Ce,qn=53}while(0);if((qn|0)==51&&(qn=0,vt(n)|0?qn=53:(an=w(n-Ce),Bt=n)),(qn|0)==53&&(qn=0,Ce<w(0)?(an=w(-Ce),Bt=n):(an=w(0),Bt=n)),ko?0:(Il=(M|0)==0,!Il)){j=t[mu>>2]|0,ge=an<w(0),Ne=w(an/he),mt=an>w(0),ce=w(an/xt),ke=w(0),Ce=w(0),n=w(0),S=M;do r=w(wn(S+380+(j<<3)|0,Gi)),ne=w(wn(S+364+(j<<3)|0,Gi)),ne=w(rc(r,w(Rr(ne,w(E[S+504>>2]))))),ge?(r=w(ne*w(Lr(S))),(r!=w(-0)?(Tt=w(ne-w(Ne*r)),Ml=w(En(S,Dn,Tt,Bt,vn)),Tt!=Ml):0)&&(ke=w(ke-w(Ml-ne)),n=w(n+r))):((mt?(bs=w(Mr(S)),bs!=w(0)):0)?(Tt=w(ne+w(ce*bs)),Fl=w(En(S,Dn,Tt,Bt,vn)),Tt!=Fl):0)&&(ke=w(ke-w(Fl-ne)),Ce=w(Ce-bs)),S=t[S+960>>2]|0;while((S|0)!=0);if(n=w(he+n),ne=w(an+ke),Il)n=w(0);else{Ne=w(xt+Ce),ge=t[mu>>2]|0,mt=ne<w(0),On=n==w(0),ce=w(ne/n),j=ne>w(0),Ne=w(ne/Ne),n=w(0);do{Tt=w(wn(M+380+(ge<<3)|0,Gi)),ke=w(wn(M+364+(ge<<3)|0,Gi)),ke=w(rc(Tt,w(Rr(ke,w(E[M+504>>2]))))),mt?(Tt=w(ke*w(Lr(M))),ne=w(-Tt),Tt!=w(-0)?(Tt=w(ce*ne),ne=w(En(M,Dn,w(ke+(On?ne:Tt)),Bt,vn))):ne=ke):(j?(Rl=w(Mr(M)),Rl!=w(0)):0)?ne=w(En(M,Dn,w(ke+w(Ne*Rl)),Bt,vn)):ne=ke,n=w(n-w(ne-ke)),Ce=w(ht(M,Dn,vn)),r=w(ht(M,Wt,vn)),ne=w(ne+Ce),E[Yo>>2]=ne,t[gu>>2]=1,ke=w(E[M+396>>2]);e:do if(vt(ke)|0){S=vt(yr)|0;do if(!S){if(qi|(d0(M,Wt,yr)|0|hr)||(w0(e,M)|0)!=4||(t[(si(M,Wt)|0)+4>>2]|0)==3||(t[(wi(M,Wt)|0)+4>>2]|0)==3)break;E[Ti>>2]=yr,t[lo>>2]=1;break e}while(0);if(d0(M,Wt,yr)|0){S=t[M+992+(t[Cf>>2]<<2)>>2]|0,Tt=w(r+w(wn(S,yr))),E[Ti>>2]=Tt,S=Sf&(t[S+4>>2]|0)==2,t[lo>>2]=((vt(Tt)|0|S)^1)&1;break}else{E[Ti>>2]=yr,t[lo>>2]=S?0:2;break}}else Tt=w(ne-Ce),xt=w(Tt/ke),Tt=w(ke*Tt),t[lo>>2]=1,E[Ti>>2]=w(r+(Ur?xt:Tt));while(0);Gt(M,Dn,Bt,vn,gu,Yo),Gt(M,Wt,yr,vn,lo,Ti);do if(d0(M,Wt,yr)|0?0:(w0(e,M)|0)==4){if((t[(si(M,Wt)|0)+4>>2]|0)==3){S=0;break}S=(t[(wi(M,Wt)|0)+4>>2]|0)!=3}else S=0;while(0);Tt=w(E[Yo>>2]),xt=w(E[Ti>>2]),zl=t[gu>>2]|0,br=t[lo>>2]|0,pt(M,Ur?Tt:xt,Ur?xt:Tt,mi,Ur?zl:br,Ur?br:zl,vn,Vi,y&(S^1),3488,T)|0,d[vu>>0]=d[vu>>0]|d[M+508>>0],M=t[M+960>>2]|0}while((M|0)!=0)}}else n=w(0);if(n=w(an+n),br=n<w(0)&1,d[vu>>0]=br|x[vu>>0],Df&n>w(0)?(S=t[mu>>2]|0,((t[e+364+(S<<3)+4>>2]|0)!=0?(xi=w(wn(e+364+(S<<3)|0,Gi)),xi>=w(0)):0)?ne=w(Rr(w(0),w(xi-w(Bt-n)))):ne=w(0)):ne=n,mt=xn>>>0<Ut>>>0,mt){ge=t[bi>>2]|0,j=xn,S=0;do M=t[ge+(j<<2)>>2]|0,t[M+24>>2]|0||(S=((t[(si(M,Dn)|0)+4>>2]|0)==3&1)+S|0,S=S+((t[(wi(M,Dn)|0)+4>>2]|0)==3&1)|0),j=j+1|0;while((j|0)!=(Ut|0));S?(Ce=w(0),r=w(0)):qn=101}else qn=101;e:do if((qn|0)==101)switch(qn=0,xf|0){case 1:{S=0,Ce=w(ne*w(.5)),r=w(0);break e}case 2:{S=0,Ce=ne,r=w(0);break e}case 3:{if(l>>>0<=1){S=0,Ce=w(0),r=w(0);break e}r=w((l+-1|0)>>>0),S=0,Ce=w(0),r=w(w(Rr(ne,w(0)))/r);break e}case 5:{r=w(ne/w((l+1|0)>>>0)),S=0,Ce=r;break e}case 4:{r=w(ne/w(l>>>0)),S=0,Ce=w(r*w(.5));break e}default:{S=0,Ce=w(0),r=w(0);break e}}while(0);if(n=w(kf+Ce),mt){ke=w(ne/w(S|0)),j=t[bi>>2]|0,M=xn,ne=w(0);do{S=t[j+(M<<2)>>2]|0;e:do if((t[S+36>>2]|0)!=1){switch(t[S+24>>2]|0){case 1:{if(K(S,Dn)|0){if(!y)break e;Tt=w(Y(S,Dn,Bt)),Tt=w(Tt+w(y0(e,Dn))),Tt=w(Tt+w(_r(S,Dn,vn))),E[S+400+(t[Hs>>2]<<2)>>2]=Tt;break e}break}case 0:if(br=(t[(si(S,Dn)|0)+4>>2]|0)==3,Tt=w(ke+n),n=br?Tt:n,y&&(br=S+400+(t[Hs>>2]<<2)|0,E[br>>2]=w(n+w(E[br>>2]))),br=(t[(wi(S,Dn)|0)+4>>2]|0)==3,Tt=w(ke+n),n=br?Tt:n,ko){Tt=w(r+w(ht(S,Dn,vn))),ne=yr,n=w(n+w(Tt+w(E[S+504>>2])));break e}else{n=w(n+w(r+w(ve(S,Dn,vn)))),ne=w(Rr(ne,w(ve(S,Wt,vn))));break e}default:}y&&(Tt=w(Ce+w(y0(e,Dn))),br=S+400+(t[Hs>>2]<<2)|0,E[br>>2]=w(Tt+w(E[br>>2])))}while(0);M=M+1|0}while((M|0)!=(Ut|0))}else ne=w(0);if(r=w(Af+n),Ef?Ce=w(w(En(e,Wt,w(ki+ne),ts,a))-ki):Ce=yr,ke=w(w(En(e,Wt,w(ki+(Tf?yr:ne)),ts,a))-ki),mt&y){M=xn;do{j=t[(t[bi>>2]|0)+(M<<2)>>2]|0;do if((t[j+36>>2]|0)!=1){if((t[j+24>>2]|0)==1){if(K(j,Wt)|0){if(Tt=w(Y(j,Wt,yr)),Tt=w(Tt+w(y0(e,Wt))),Tt=w(Tt+w(_r(j,Wt,vn))),S=t[qs>>2]|0,E[j+400+(S<<2)>>2]=Tt,!(vt(Tt)|0))break}else S=t[qs>>2]|0;Tt=w(y0(e,Wt)),E[j+400+(S<<2)>>2]=w(Tt+w(_r(j,Wt,vn)));break}S=w0(e,j)|0;do if((S|0)==4){if((t[(si(j,Wt)|0)+4>>2]|0)==3){qn=139;break}if((t[(wi(j,Wt)|0)+4>>2]|0)==3){qn=139;break}if(d0(j,Wt,yr)|0){n=oe;break}zl=t[j+908+(t[mu>>2]<<2)>>2]|0,t[Ti>>2]=zl,n=w(E[j+396>>2]),br=vt(n)|0,ne=(t[W>>2]=zl,w(E[W>>2])),br?n=ke:(an=w(ht(j,Wt,vn)),Tt=w(ne/n),n=w(n*ne),n=w(an+(Ur?Tt:n))),E[Yo>>2]=n,E[Ti>>2]=w(w(ht(j,Dn,vn))+ne),t[lo>>2]=1,t[gu>>2]=1,Gt(j,Dn,Bt,vn,lo,Ti),Gt(j,Wt,yr,vn,gu,Yo),n=w(E[Ti>>2]),an=w(E[Yo>>2]),Tt=Ur?n:an,n=Ur?an:n,br=((vt(Tt)|0)^1)&1,pt(j,Tt,n,mi,br,((vt(n)|0)^1)&1,vn,Vi,1,3493,T)|0,n=oe}else qn=139;while(0);e:do if((qn|0)==139){qn=0,n=w(Ce-w(ve(j,Wt,vn)));do if((t[(si(j,Wt)|0)+4>>2]|0)==3){if((t[(wi(j,Wt)|0)+4>>2]|0)!=3)break;n=w(oe+w(Rr(w(0),w(n*w(.5)))));break e}while(0);if((t[(wi(j,Wt)|0)+4>>2]|0)==3){n=oe;break}if((t[(si(j,Wt)|0)+4>>2]|0)==3){n=w(oe+w(Rr(w(0),n)));break}switch(S|0){case 1:{n=oe;break e}case 2:{n=w(oe+w(n*w(.5)));break e}default:{n=w(oe+n);break e}}}while(0);Tt=w(hi+n),br=j+400+(t[qs>>2]<<2)|0,E[br>>2]=w(Tt+w(E[br>>2]))}while(0);M=M+1|0}while((M|0)!=(Ut|0))}if(hi=w(hi+ke),Qu=w(Rr(Qu,r)),l=Hi+1|0,Ut>>>0>=Ai>>>0)break;n=Bt,xn=Ut,Hi=l}do if(y){if(S=l>>>0>1,S?0:!(ae(e)|0))break;if(!(vt(yr)|0)){n=w(yr-hi);e:do switch(t[e+12>>2]|0){case 3:{oe=w(oe+n),ce=w(0);break}case 2:{oe=w(oe+w(n*w(.5))),ce=w(0);break}case 4:{yr>hi?ce=w(n/w(l>>>0)):ce=w(0);break}case 7:if(yr>hi){oe=w(oe+w(n/w(l<<1>>>0))),ce=w(n/w(l>>>0)),ce=S?ce:w(0);break e}else{oe=w(oe+w(n*w(.5))),ce=w(0);break e}case 6:{ce=w(n/w(Hi>>>0)),ce=yr>hi&S?ce:w(0);break}default:ce=w(0)}while(0);if(l|0)for(mt=1040+(Wt<<2)|0,On=976+(Wt<<2)|0,ge=0,M=0;;){e:do if(M>>>0<Ai>>>0)for(ne=w(0),ke=w(0),n=w(0),j=M;;){S=t[(t[bi>>2]|0)+(j<<2)>>2]|0;do if((t[S+36>>2]|0)!=1?(t[S+24>>2]|0)==0:0){if((t[S+940>>2]|0)!=(ge|0))break e;if(Ue(S,Wt)|0&&(Tt=w(E[S+908+(t[On>>2]<<2)>>2]),n=w(Rr(n,w(Tt+w(ht(S,Wt,vn)))))),(w0(e,S)|0)!=5)break;xi=w(Je(S)),xi=w(xi+w(_r(S,0,vn))),Tt=w(E[S+912>>2]),Tt=w(w(Tt+w(ht(S,0,vn)))-xi),xi=w(Rr(ke,xi)),Tt=w(Rr(ne,Tt)),ne=Tt,ke=xi,n=w(Rr(n,w(xi+Tt)))}while(0);if(S=j+1|0,S>>>0<Ai>>>0)j=S;else{j=S;break}}else ke=w(0),n=w(0),j=M;while(0);if(Ne=w(ce+n),r=oe,oe=w(oe+Ne),M>>>0<j>>>0){Ce=w(r+ke),S=M;do{M=t[(t[bi>>2]|0)+(S<<2)>>2]|0;e:do if((t[M+36>>2]|0)!=1?(t[M+24>>2]|0)==0:0)switch(w0(e,M)|0){case 1:{Tt=w(r+w(_r(M,Wt,vn))),E[M+400+(t[mt>>2]<<2)>>2]=Tt;break e}case 3:{Tt=w(w(oe-w(I0(M,Wt,vn)))-w(E[M+908+(t[On>>2]<<2)>>2])),E[M+400+(t[mt>>2]<<2)>>2]=Tt;break e}case 2:{Tt=w(r+w(w(Ne-w(E[M+908+(t[On>>2]<<2)>>2]))*w(.5))),E[M+400+(t[mt>>2]<<2)>>2]=Tt;break e}case 4:{if(Tt=w(r+w(_r(M,Wt,vn))),E[M+400+(t[mt>>2]<<2)>>2]=Tt,d0(M,Wt,yr)|0||(Ur?(ne=w(E[M+908>>2]),n=w(ne+w(ht(M,Dn,vn))),ke=Ne):(ke=w(E[M+912>>2]),ke=w(ke+w(ht(M,Wt,vn))),n=Ne,ne=w(E[M+908>>2])),zr(n,ne)|0?zr(ke,w(E[M+912>>2]))|0:0))break e;pt(M,n,ke,mi,1,1,vn,Vi,1,3501,T)|0;break e}case 5:{E[M+404>>2]=w(w(Ce-w(Je(M)))+w(Y(M,0,yr)));break e}default:break e}while(0);S=S+1|0}while((S|0)!=(j|0))}if(ge=ge+1|0,(ge|0)==(l|0))break;M=j}}}while(0);if(E[e+908>>2]=w(En(e,2,Zu,a,a)),E[e+912>>2]=w(En(e,0,Pl,_,a)),((_u|0)!=0?(Ll=t[e+32>>2]|0,Nl=(_u|0)==2,!(Nl&(Ll|0)!=2)):0)?Nl&(Ll|0)==2&&(n=w(es+Bt),n=w(Rr(w(rc(n,w(yt(e,Dn,Qu,Gi)))),es)),qn=198):(n=w(En(e,Dn,Qu,Gi,a)),qn=198),(qn|0)==198&&(E[e+908+(t[976+(Dn<<2)>>2]<<2)>>2]=n),((yu|0)!=0?(Ul=t[e+32>>2]|0,jl=(yu|0)==2,!(jl&(Ul|0)!=2)):0)?jl&(Ul|0)==2&&(n=w(ki+yr),n=w(Rr(w(rc(n,w(yt(e,Wt,w(ki+hi),ts)))),ki)),qn=204):(n=w(En(e,Wt,w(ki+hi),ts,a)),qn=204),(qn|0)==204&&(E[e+908+(t[976+(Wt<<2)>>2]<<2)>>2]=n),y){if((t[Bl>>2]|0)==2){M=976+(Wt<<2)|0,j=1040+(Wt<<2)|0,S=0;do ge=Xr(e,S)|0,t[ge+24>>2]|0||(zl=t[M>>2]|0,Tt=w(E[e+908+(zl<<2)>>2]),br=ge+400+(t[j>>2]<<2)|0,Tt=w(Tt-w(E[br>>2])),E[br>>2]=w(Tt-w(E[ge+908+(zl<<2)>>2]))),S=S+1|0;while((S|0)!=(Ai|0))}if(i|0){S=Ur?_u:s;do jt(e,i,vn,S,Vi,mi,T),i=t[i+960>>2]|0;while((i|0)!=0)}if(S=(Dn|2|0)==3,M=(Wt|2|0)==3,S|M){i=0;do j=t[(t[bi>>2]|0)+(i<<2)>>2]|0,(t[j+36>>2]|0)!=1&&(S&&Xt(e,j,Dn),M&&Xt(e,j,Wt)),i=i+1|0;while((i|0)!=(Ai|0))}}}while(0);m=wu}function yi(e,n){e=e|0,n=w(n);var r=0;ti(e,n>=w(0),3147),r=n==w(0),E[e+4>>2]=r?w(0):n}function Wr(e,n,r,i){e=e|0,n=w(n),r=w(r),i=i|0;var s=Qe,l=Qe,a=0,_=0,y=0;t[2278]=(t[2278]|0)+1,qr(e),d0(e,2,n)|0?(s=w(wn(t[e+992>>2]|0,n)),y=1,s=w(s+w(ht(e,2,n)))):(s=w(wn(e+380|0,n)),s>=w(0)?y=2:(y=((vt(n)|0)^1)&1,s=n)),d0(e,0,r)|0?(l=w(wn(t[e+996>>2]|0,r)),_=1,l=w(l+w(ht(e,0,n)))):(l=w(wn(e+388|0,r)),l>=w(0)?_=2:(_=((vt(r)|0)^1)&1,l=r)),a=e+976|0,(pt(e,s,l,i,y,_,n,r,1,3189,t[a>>2]|0)|0?(Uo(e,t[e+496>>2]|0,n,r,n),Ni(e,w(E[(t[a>>2]|0)+4>>2]),w(0),w(0)),d[11696]|0):0)&&tf(e,7)}function qr(e){e=e|0;var n=0,r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0;_=m,m=m+32|0,a=_+24|0,l=_+16|0,i=_+8|0,s=_,r=0;do n=e+380+(r<<3)|0,((t[e+380+(r<<3)+4>>2]|0)!=0?(y=n,T=t[y+4>>2]|0,S=i,t[S>>2]=t[y>>2],t[S+4>>2]=T,S=e+364+(r<<3)|0,T=t[S+4>>2]|0,y=s,t[y>>2]=t[S>>2],t[y+4>>2]=T,t[l>>2]=t[i>>2],t[l+4>>2]=t[i+4>>2],t[a>>2]=t[s>>2],t[a+4>>2]=t[s+4>>2],n0(l,a)|0):0)||(n=e+348+(r<<3)|0),t[e+992+(r<<2)>>2]=n,r=r+1|0;while((r|0)!=2);m=_}function d0(e,n,r){e=e|0,n=n|0,r=w(r);var i=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(E[e>>2])<w(0)?e=0:i=5;break}case 2:{w(E[e>>2])<w(0)?e=0:e=(vt(r)|0)^1;break}default:i=5}return(i|0)==5&&(e=1),e|0}function wn(e,n){switch(e=e|0,n=w(n),t[e+4>>2]|0){case 2:{n=w(w(w(E[e>>2])*n)/w(100));break}case 1:{n=w(E[e>>2]);break}default:n=w(te)}return w(n)}function Uo(e,n,r,i,s){e=e|0,n=n|0,r=w(r),i=w(i),s=w(s);var l=0,a=Qe;n=t[e+944>>2]|0?n:1,l=M0(t[e+4>>2]|0,n)|0,n=vl(l,n)|0,r=w(Nr(e,l,r)),i=w(Nr(e,n,i)),a=w(r+w(_r(e,l,s))),E[e+400+(t[1040+(l<<2)>>2]<<2)>>2]=a,r=w(r+w(I0(e,l,s))),E[e+400+(t[1e3+(l<<2)>>2]<<2)>>2]=r,r=w(i+w(_r(e,n,s))),E[e+400+(t[1040+(n<<2)>>2]<<2)>>2]=r,s=w(i+w(I0(e,n,s))),E[e+400+(t[1e3+(n<<2)>>2]<<2)>>2]=s}function Ni(e,n,r,i){e=e|0,n=w(n),r=w(r),i=w(i);var s=0,l=0,a=Qe,_=Qe,y=0,T=0,S=Qe,M=0,j=Qe,ge=Qe,oe=Qe,ne=Qe;if(n!=w(0)&&(s=e+400|0,ne=w(E[s>>2]),l=e+404|0,oe=w(E[l>>2]),M=e+416|0,ge=w(E[M>>2]),T=e+420|0,a=w(E[T>>2]),j=w(ne+r),S=w(oe+i),i=w(j+ge),_=w(S+a),y=(t[e+988>>2]|0)==1,E[s>>2]=w(W0(ne,n,0,y)),E[l>>2]=w(W0(oe,n,0,y)),r=w(Z4(w(ge*n),w(1))),zr(r,w(0))|0?l=0:l=(zr(r,w(1))|0)^1,r=w(Z4(w(a*n),w(1))),zr(r,w(0))|0?s=0:s=(zr(r,w(1))|0)^1,ne=w(W0(i,n,y&l,y&(l^1))),E[M>>2]=w(ne-w(W0(j,n,0,y))),ne=w(W0(_,n,y&s,y&(s^1))),E[T>>2]=w(ne-w(W0(S,n,0,y))),l=(t[e+952>>2]|0)-(t[e+948>>2]|0)>>2,l|0)){s=0;do Ni(Xr(e,s)|0,n,j,S),s=s+1|0;while((s|0)!=(l|0))}}function Qn(e,n,r,i,s){switch(e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,r|0){case 5:case 0:{e=ww(t[489]|0,i,s)|0;break}default:e=lM(i,s)|0}return e|0}function Fs(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0;s=m,m=m+16|0,l=s,t[l>>2]=i,zu(e,0,n,r,l),m=s}function zu(e,n,r,i,s){if(e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,e=e|0?e:956,Ww[t[e+8>>2]&1](e,n,r,i,s)|0,(r|0)==5)dn();else return}function V0(e,n,r){e=e|0,n=n|0,r=r|0,d[e+n>>0]=r&1}function rf(e,n){e=e|0,n=n|0;var r=0,i=0;t[e>>2]=0,t[e+4>>2]=0,t[e+8>>2]=0,r=n+4|0,i=(t[r>>2]|0)-(t[n>>2]|0)>>2,i|0&&(_0(e,i),hl(e,t[n>>2]|0,t[r>>2]|0,i))}function _0(e,n){e=e|0,n=n|0;var r=0;if((G0(e)|0)>>>0<n>>>0&&Wn(e),n>>>0>1073741823)dn();else{r=Ct(n<<2)|0,t[e+4>>2]=r,t[e>>2]=r,t[e+8>>2]=r+(n<<2);return}}function hl(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,i=e+4|0,e=r-n|0,(e|0)>0&&(cn(t[i>>2]|0,n|0,e|0)|0,t[i>>2]=(t[i>>2]|0)+(e>>>2<<2))}function G0(e){return e=e|0,1073741823}function _r(e,n,r){return e=e|0,n=n|0,r=w(r),(Ir(n)|0?(t[e+96>>2]|0)!=0:0)?e=e+92|0:e=Kt(e+60|0,t[1040+(n<<2)>>2]|0,992)|0,w(Qi(e,r))}function I0(e,n,r){return e=e|0,n=n|0,r=w(r),(Ir(n)|0?(t[e+104>>2]|0)!=0:0)?e=e+100|0:e=Kt(e+60|0,t[1e3+(n<<2)>>2]|0,992)|0,w(Qi(e,r))}function Ir(e){return e=e|0,(e|1|0)==3|0}function Qi(e,n){return e=e|0,n=w(n),(t[e+4>>2]|0)==3?n=w(0):n=w(wn(e,n)),w(n)}function Zi(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 M0(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 y0(e,n){e=e|0,n=n|0;var r=Qe;return((Ir(n)|0?(t[e+312>>2]|0)!=0:0)?(r=w(E[e+308>>2]),r>=w(0)):0)||(r=w(Rr(w(E[(Kt(e+276|0,t[1040+(n<<2)>>2]|0,992)|0)>>2]),w(0)))),w(r)}function oi(e,n){e=e|0,n=n|0;var r=Qe;return((Ir(n)|0?(t[e+320>>2]|0)!=0:0)?(r=w(E[e+316>>2]),r>=w(0)):0)||(r=w(Rr(w(E[(Kt(e+276|0,t[1e3+(n<<2)>>2]|0,992)|0)>>2]),w(0)))),w(r)}function r0(e,n,r){e=e|0,n=n|0,r=w(r);var i=Qe;return((Ir(n)|0?(t[e+240>>2]|0)!=0:0)?(i=w(wn(e+236|0,r)),i>=w(0)):0)||(i=w(Rr(w(wn(Kt(e+204|0,t[1040+(n<<2)>>2]|0,992)|0,r)),w(0)))),w(i)}function p0(e,n,r){e=e|0,n=n|0,r=w(r);var i=Qe;return((Ir(n)|0?(t[e+248>>2]|0)!=0:0)?(i=w(wn(e+244|0,r)),i>=w(0)):0)||(i=w(Rr(w(wn(Kt(e+204|0,t[1e3+(n<<2)>>2]|0,992)|0,r)),w(0)))),w(i)}function go(e,n,r,i,s,l,a){e=e|0,n=w(n),r=w(r),i=i|0,s=s|0,l=w(l),a=w(a);var _=Qe,y=Qe,T=Qe,S=Qe,M=Qe,j=Qe,ge=0,oe=0,ne=0;ne=m,m=m+16|0,ge=ne,oe=e+964|0,t0(e,(t[oe>>2]|0)!=0,3519),_=w(An(e,2,n)),y=w(An(e,0,n)),T=w(ht(e,2,n)),S=w(ht(e,0,n)),vt(n)|0?M=n:M=w(Rr(w(0),w(w(n-T)-_))),vt(r)|0?j=r:j=w(Rr(w(0),w(w(r-S)-y))),(i|0)==1&(s|0)==1?(E[e+908>>2]=w(En(e,2,w(n-T),l,l)),n=w(En(e,0,w(r-S),a,l))):(qw[t[oe>>2]&1](ge,e,M,i,j,s),M=w(_+w(E[ge>>2])),j=w(n-T),E[e+908>>2]=w(En(e,2,(i|2|0)==2?M:j,l,l)),j=w(y+w(E[ge+4>>2])),n=w(r-S),n=w(En(e,0,(s|2|0)==2?j:n,a,l))),E[e+912>>2]=n,m=ne}function iu(e,n,r,i,s,l,a){e=e|0,n=w(n),r=w(r),i=i|0,s=s|0,l=w(l),a=w(a);var _=Qe,y=Qe,T=Qe,S=Qe;T=w(An(e,2,l)),_=w(An(e,0,l)),S=w(ht(e,2,l)),y=w(ht(e,0,l)),n=w(n-S),E[e+908>>2]=w(En(e,2,(i|2|0)==2?T:n,l,l)),r=w(r-y),E[e+912>>2]=w(En(e,0,(s|2|0)==2?_:r,a,l))}function ml(e,n,r,i,s,l,a){e=e|0,n=w(n),r=w(r),i=i|0,s=s|0,l=w(l),a=w(a);var _=0,y=Qe,T=Qe;return _=(i|0)==2,((n<=w(0)&_?0:!(r<=w(0)&(s|0)==2))?!((i|0)==1&(s|0)==1):0)?e=0:(y=w(ht(e,0,l)),T=w(ht(e,2,l)),_=n<w(0)&_|(vt(n)|0),n=w(n-T),E[e+908>>2]=w(En(e,2,_?w(0):n,l,l)),n=w(r-y),_=r<w(0)&(s|0)==2|(vt(r)|0),E[e+912>>2]=w(En(e,0,_?w(0):n,a,l)),e=1),e|0}function vl(e,n){return e=e|0,n=n|0,Nt(e)|0?e=M0(2,n)|0:e=0,e|0}function F0(e,n,r){return e=e|0,n=n|0,r=w(r),r=w(r0(e,n,r)),w(r+w(y0(e,n)))}function ou(e,n,r){return e=e|0,n=n|0,r=w(r),r=w(p0(e,n,r)),w(r+w(oi(e,n)))}function An(e,n,r){e=e|0,n=n|0,r=w(r);var i=Qe;return i=w(F0(e,n,r)),w(i+w(ou(e,n,r)))}function ui(e){return e=e|0,t[e+24>>2]|0?e=0:w(Mr(e))!=w(0)?e=1:e=w(Lr(e))!=w(0),e|0}function Mr(e){e=e|0;var n=Qe;if(t[e+944>>2]|0){if(n=w(E[e+44>>2]),vt(n)|0)return n=w(E[e+40>>2]),e=n>w(0)&((vt(n)|0)^1),w(e?n:w(0))}else n=w(0);return w(n)}function Lr(e){e=e|0;var n=Qe,r=0,i=Qe;do if(t[e+944>>2]|0){if(n=w(E[e+48>>2]),vt(n)|0){if(r=d[(t[e+976>>2]|0)+2>>0]|0,r<<24>>24==0?(i=w(E[e+40>>2]),i<w(0)&((vt(i)|0)^1)):0){n=w(-i);break}n=r<<24>>24?w(1):w(0)}}else n=w(0);while(0);return w(n)}function eo(e){e=e|0;var n=0,r=0;if(n1(e+400|0,0,540)|0,d[e+985>>0]=1,Lo(e),r=ni(e)|0,r|0){n=e+948|0,e=0;do eo(t[(t[n>>2]|0)+(e<<2)>>2]|0),e=e+1|0;while((e|0)!=(r|0))}}function pr(e,n,r,i,s,l,a,_,y,T){e=e|0,n=n|0,r=w(r),i=i|0,s=w(s),l=w(l),a=w(a),_=_|0,y=y|0,T=T|0;var S=0,M=Qe,j=0,ge=0,oe=Qe,ne=Qe,ke=0,Ce=Qe,Ne=0,ce=Qe,he=0,mt=0,On=0,Ut=0,xt=0,an=0,xn=0,Bt=0,hr=0,Wi=0;hr=m,m=m+16|0,On=hr+12|0,Ut=hr+8|0,xt=hr+4|0,an=hr,Bt=M0(t[e+4>>2]|0,y)|0,he=Ir(Bt)|0,M=w(wn(Lt(n)|0,he?l:a)),mt=d0(n,2,l)|0,xn=d0(n,0,a)|0;do if(vt(M)|0?0:!(vt(he?r:s)|0)){if(S=n+504|0,!(vt(w(E[S>>2]))|0)&&(!(rn(t[n+976>>2]|0,0)|0)||(t[n+500>>2]|0)==(t[2278]|0)))break;E[S>>2]=w(Rr(M,w(An(n,Bt,l))))}else j=7;while(0);do if((j|0)==7){if(Ne=he^1,!(Ne|mt^1)){a=w(wn(t[n+992>>2]|0,l)),E[n+504>>2]=w(Rr(a,w(An(n,2,l))));break}if(!(he|xn^1)){a=w(wn(t[n+996>>2]|0,a)),E[n+504>>2]=w(Rr(a,w(An(n,0,l))));break}E[On>>2]=w(te),E[Ut>>2]=w(te),t[xt>>2]=0,t[an>>2]=0,Ce=w(ht(n,2,l)),ce=w(ht(n,0,l)),mt?(oe=w(Ce+w(wn(t[n+992>>2]|0,l))),E[On>>2]=oe,t[xt>>2]=1,ge=1):(ge=0,oe=w(te)),xn?(M=w(ce+w(wn(t[n+996>>2]|0,a))),E[Ut>>2]=M,t[an>>2]=1,S=1):(S=0,M=w(te)),j=t[e+32>>2]|0,he&(j|0)==2?j=2:(vt(oe)|0?!(vt(r)|0):0)&&(E[On>>2]=r,t[xt>>2]=2,ge=2,oe=r),(((j|0)==2&Ne?0:vt(M)|0)?!(vt(s)|0):0)&&(E[Ut>>2]=s,t[an>>2]=2,S=2,M=s),ne=w(E[n+396>>2]),ke=vt(ne)|0;do if(ke)j=ge;else{if((ge|0)==1&Ne){E[Ut>>2]=w(w(oe-Ce)/ne),t[an>>2]=1,S=1,j=1;break}he&(S|0)==1?(E[On>>2]=w(ne*w(M-ce)),t[xt>>2]=1,S=1,j=1):j=ge}while(0);Wi=vt(r)|0,ge=(w0(e,n)|0)!=4,(he|mt|((i|0)!=1|Wi)|(ge|(j|0)==1)?0:(E[On>>2]=r,t[xt>>2]=1,!ke))&&(E[Ut>>2]=w(w(r-Ce)/ne),t[an>>2]=1,S=1),(xn|Ne|((_|0)!=1|(vt(s)|0))|(ge|(S|0)==1)?0:(E[Ut>>2]=s,t[an>>2]=1,!ke))&&(E[On>>2]=w(ne*w(s-ce)),t[xt>>2]=1),Gt(n,2,l,l,xt,On),Gt(n,0,a,l,an,Ut),r=w(E[On>>2]),s=w(E[Ut>>2]),pt(n,r,s,y,t[xt>>2]|0,t[an>>2]|0,l,a,0,3565,T)|0,a=w(E[n+908+(t[976+(Bt<<2)>>2]<<2)>>2]),E[n+504>>2]=w(Rr(a,w(An(n,Bt,l))))}while(0);t[n+500>>2]=t[2278],m=hr}function En(e,n,r,i,s){return e=e|0,n=n|0,r=w(r),i=w(i),s=w(s),i=w(yt(e,n,r,i)),w(Rr(i,w(An(e,n,s))))}function w0(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?Nt(t[e+4>>2]|0)|0:0)&&(n=1),n|0}function si(e,n){return e=e|0,n=n|0,(Ir(n)|0?(t[e+96>>2]|0)!=0:0)?n=4:n=t[1040+(n<<2)>>2]|0,e+60+(n<<3)|0}function wi(e,n){return e=e|0,n=n|0,(Ir(n)|0?(t[e+104>>2]|0)!=0:0)?n=5:n=t[1e3+(n<<2)>>2]|0,e+60+(n<<3)|0}function Gt(e,n,r,i,s,l){switch(e=e|0,n=n|0,r=w(r),i=w(i),s=s|0,l=l|0,r=w(wn(e+380+(t[976+(n<<2)>>2]<<3)|0,r)),r=w(r+w(ht(e,n,i))),t[s>>2]|0){case 2:case 1:{s=vt(r)|0,i=w(E[l>>2]),E[l>>2]=s|i<r?i:r;break}case 0:{vt(r)|0||(t[s>>2]=2,E[l>>2]=r);break}default:}}function K(e,n){return e=e|0,n=n|0,e=e+132|0,(Ir(n)|0?(t[(Kt(e,4,948)|0)+4>>2]|0)!=0:0)?e=1:e=(t[(Kt(e,t[1040+(n<<2)>>2]|0,948)|0)+4>>2]|0)!=0,e|0}function Y(e,n,r){e=e|0,n=n|0,r=w(r);var i=0,s=0;return e=e+132|0,(Ir(n)|0?(i=Kt(e,4,948)|0,(t[i+4>>2]|0)!=0):0)?s=4:(i=Kt(e,t[1040+(n<<2)>>2]|0,948)|0,t[i+4>>2]|0?s=4:r=w(0)),(s|0)==4&&(r=w(wn(i,r))),w(r)}function ve(e,n,r){e=e|0,n=n|0,r=w(r);var i=Qe;return i=w(E[e+908+(t[976+(n<<2)>>2]<<2)>>2]),i=w(i+w(_r(e,n,r))),w(i+w(I0(e,n,r)))}function ae(e){e=e|0;var n=0,r=0,i=0;e:do if(Nt(t[e+4>>2]|0)|0)n=0;else if((t[e+16>>2]|0)!=5)if(r=ni(e)|0,!r)n=0;else for(n=0;;){if(i=Xr(e,n)|0,(t[i+24>>2]|0)==0?(t[i+20>>2]|0)==5:0){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 Ue(e,n){e=e|0,n=n|0;var r=Qe;return r=w(E[e+908+(t[976+(n<<2)>>2]<<2)>>2]),r>=w(0)&((vt(r)|0)^1)|0}function Je(e){e=e|0;var n=Qe,r=0,i=0,s=0,l=0,a=0,_=0,y=Qe;if(r=t[e+968>>2]|0,r)y=w(E[e+908>>2]),n=w(E[e+912>>2]),n=w(Bw[r&0](e,y,n)),t0(e,(vt(n)|0)^1,3573);else{l=ni(e)|0;do if(l|0){for(r=0,s=0;;){if(i=Xr(e,s)|0,t[i+940>>2]|0){a=8;break}if((t[i+24>>2]|0)!=1)if(_=(w0(e,i)|0)==5,_){r=i;break}else r=(r|0)==0?i:r;if(s=s+1|0,s>>>0>=l>>>0){a=8;break}}if((a|0)==8&&!r)break;return n=w(Je(r)),w(n+w(E[r+404>>2]))}while(0);n=w(E[e+912>>2])}return w(n)}function yt(e,n,r,i){e=e|0,n=n|0,r=w(r),i=w(i);var s=Qe,l=0;return Nt(n)|0?(n=1,l=3):Ir(n)|0?(n=0,l=3):(i=w(te),s=w(te)),(l|0)==3&&(s=w(wn(e+364+(n<<3)|0,i)),i=w(wn(e+380+(n<<3)|0,i))),l=i<r&(i>=w(0)&((vt(i)|0)^1)),r=l?i:r,l=s>=w(0)&((vt(s)|0)^1)&r<s,w(l?s:r)}function jt(e,n,r,i,s,l,a){e=e|0,n=n|0,r=w(r),i=i|0,s=w(s),l=l|0,a=a|0;var _=Qe,y=Qe,T=0,S=0,M=Qe,j=Qe,ge=Qe,oe=0,ne=0,ke=0,Ce=0,Ne=Qe,ce=0;ke=M0(t[e+4>>2]|0,l)|0,oe=vl(ke,l)|0,ne=Ir(ke)|0,M=w(ht(n,2,r)),j=w(ht(n,0,r)),d0(n,2,r)|0?_=w(M+w(wn(t[n+992>>2]|0,r))):(K(n,2)|0?gt(n,2)|0:0)?(_=w(E[e+908>>2]),y=w(y0(e,2)),y=w(_-w(y+w(oi(e,2)))),_=w(Y(n,2,r)),_=w(En(n,2,w(y-w(_+w(cr(n,2,r)))),r,r))):_=w(te),d0(n,0,s)|0?y=w(j+w(wn(t[n+996>>2]|0,s))):(K(n,0)|0?gt(n,0)|0:0)?(y=w(E[e+912>>2]),Ne=w(y0(e,0)),Ne=w(y-w(Ne+w(oi(e,0)))),y=w(Y(n,0,s)),y=w(En(n,0,w(Ne-w(y+w(cr(n,0,s)))),s,r))):y=w(te),T=vt(_)|0,S=vt(y)|0;do if(T^S?(ge=w(E[n+396>>2]),!(vt(ge)|0)):0)if(T){_=w(M+w(w(y-j)*ge));break}else{Ne=w(j+w(w(_-M)/ge)),y=S?Ne:y;break}while(0);S=vt(_)|0,T=vt(y)|0,S|T&&(ce=(S^1)&1,i=r>w(0)&((i|0)!=0&S),_=ne?_:i?r:_,pt(n,_,y,l,ne?ce:i?2:ce,S&(T^1)&1,_,y,0,3623,a)|0,_=w(E[n+908>>2]),_=w(_+w(ht(n,2,r))),y=w(E[n+912>>2]),y=w(y+w(ht(n,0,r)))),pt(n,_,y,l,1,1,_,y,1,3635,a)|0,(gt(n,ke)|0?!(K(n,ke)|0):0)?(ce=t[976+(ke<<2)>>2]|0,Ne=w(E[e+908+(ce<<2)>>2]),Ne=w(Ne-w(E[n+908+(ce<<2)>>2])),Ne=w(Ne-w(oi(e,ke))),Ne=w(Ne-w(I0(n,ke,r))),Ne=w(Ne-w(cr(n,ke,ne?r:s))),E[n+400+(t[1040+(ke<<2)>>2]<<2)>>2]=Ne):Ce=21;do if((Ce|0)==21){if(K(n,ke)|0?0:(t[e+8>>2]|0)==1){ce=t[976+(ke<<2)>>2]|0,Ne=w(E[e+908+(ce<<2)>>2]),Ne=w(w(Ne-w(E[n+908+(ce<<2)>>2]))*w(.5)),E[n+400+(t[1040+(ke<<2)>>2]<<2)>>2]=Ne;break}(K(n,ke)|0?0:(t[e+8>>2]|0)==2)&&(ce=t[976+(ke<<2)>>2]|0,Ne=w(E[e+908+(ce<<2)>>2]),Ne=w(Ne-w(E[n+908+(ce<<2)>>2])),E[n+400+(t[1040+(ke<<2)>>2]<<2)>>2]=Ne)}while(0);(gt(n,oe)|0?!(K(n,oe)|0):0)?(ce=t[976+(oe<<2)>>2]|0,Ne=w(E[e+908+(ce<<2)>>2]),Ne=w(Ne-w(E[n+908+(ce<<2)>>2])),Ne=w(Ne-w(oi(e,oe))),Ne=w(Ne-w(I0(n,oe,r))),Ne=w(Ne-w(cr(n,oe,ne?s:r))),E[n+400+(t[1040+(oe<<2)>>2]<<2)>>2]=Ne):Ce=30;do if((Ce|0)==30?!(K(n,oe)|0):0){if((w0(e,n)|0)==2){ce=t[976+(oe<<2)>>2]|0,Ne=w(E[e+908+(ce<<2)>>2]),Ne=w(w(Ne-w(E[n+908+(ce<<2)>>2]))*w(.5)),E[n+400+(t[1040+(oe<<2)>>2]<<2)>>2]=Ne;break}ce=(w0(e,n)|0)==3,ce^(t[e+28>>2]|0)==2&&(ce=t[976+(oe<<2)>>2]|0,Ne=w(E[e+908+(ce<<2)>>2]),Ne=w(Ne-w(E[n+908+(ce<<2)>>2])),E[n+400+(t[1040+(oe<<2)>>2]<<2)>>2]=Ne)}while(0)}function Xt(e,n,r){e=e|0,n=n|0,r=r|0;var i=Qe,s=0;s=t[976+(r<<2)>>2]|0,i=w(E[n+908+(s<<2)>>2]),i=w(w(E[e+908+(s<<2)>>2])-i),i=w(i-w(E[n+400+(t[1040+(r<<2)>>2]<<2)>>2])),E[n+400+(t[1e3+(r<<2)>>2]<<2)>>2]=i}function Nt(e){return e=e|0,(e|1|0)==1|0}function Lt(e){e=e|0;var n=Qe;switch(t[e+56>>2]|0){case 0:case 3:{n=w(E[e+40>>2]),n>w(0)&((vt(n)|0)^1)?e=d[(t[e+976>>2]|0)+2>>0]|0?1056:992:e=1056;break}default:e=e+52|0}return e|0}function rn(e,n){return e=e|0,n=n|0,(d[e+n>>0]|0)!=0|0}function gt(e,n){return e=e|0,n=n|0,e=e+132|0,(Ir(n)|0?(t[(Kt(e,5,948)|0)+4>>2]|0)!=0:0)?e=1:e=(t[(Kt(e,t[1e3+(n<<2)>>2]|0,948)|0)+4>>2]|0)!=0,e|0}function cr(e,n,r){e=e|0,n=n|0,r=w(r);var i=0,s=0;return e=e+132|0,(Ir(n)|0?(i=Kt(e,5,948)|0,(t[i+4>>2]|0)!=0):0)?s=4:(i=Kt(e,t[1e3+(n<<2)>>2]|0,948)|0,t[i+4>>2]|0?s=4:r=w(0)),(s|0)==4&&(r=w(wn(i,r))),w(r)}function Nr(e,n,r){return e=e|0,n=n|0,r=w(r),K(e,n)|0?r=w(Y(e,n,r)):r=w(-w(cr(e,n,r))),w(r)}function Dr(e){return e=w(e),E[W>>2]=e,t[W>>2]|0|0}function z(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>1073741823)dn();else{s=Ct(n<<2)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<2)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<2)}function ir(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>2)<<2)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function Er(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-4-n|0)>>>2)<<2)),e=t[e>>2]|0,e|0&&He(e)}function bn(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0;if(a=e+4|0,_=t[a>>2]|0,s=_-i|0,l=s>>2,e=n+(l<<2)|0,e>>>0<r>>>0){i=_;do t[i>>2]=t[e>>2],e=e+4|0,i=(t[a>>2]|0)+4|0,t[a>>2]=i;while(e>>>0<r>>>0)}l|0&&M2(_+(0-l<<2)|0,n|0,s|0)|0}function Qt(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0;return _=n+4|0,y=t[_>>2]|0,s=t[e>>2]|0,a=r,l=a-s|0,i=y+(0-(l>>2)<<2)|0,t[_>>2]=i,(l|0)>0&&cn(i|0,s|0,l|0)|0,s=e+4|0,l=n+8|0,i=(t[s>>2]|0)-a|0,(i|0)>0&&(cn(t[l>>2]|0,r|0,i|0)|0,t[l>>2]=(t[l>>2]|0)+(i>>>2<<2)),a=t[e>>2]|0,t[e>>2]=t[_>>2],t[_>>2]=a,a=t[s>>2]|0,t[s>>2]=t[l>>2],t[l>>2]=a,a=e+8|0,r=n+12|0,e=t[a>>2]|0,t[a>>2]=t[r>>2],t[r>>2]=e,t[n>>2]=t[_>>2],y|0}function i0(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;if(a=t[n>>2]|0,l=t[r>>2]|0,(a|0)!=(l|0)){s=e+8|0,r=((l+-4-a|0)>>>2)+1|0,e=a,i=t[s>>2]|0;do t[i>>2]=t[e>>2],i=(t[s>>2]|0)+4|0,t[s>>2]=i,e=e+4|0;while((e|0)!=(l|0));t[n>>2]=a+(r<<2)}}function Kr(){cl()}function h0(){var e=0;return e=Ct(4)|0,Hr(e),e|0}function Hr(e){e=e|0,t[e>>2]=l0()|0}function m0(e){e=e|0,e|0&&(Bi(e),He(e))}function Bi(e){e=e|0,j0(t[e>>2]|0)}function to(e,n,r){e=e|0,n=n|0,r=r|0,V0(t[e>>2]|0,n,r)}function D0(e,n){e=e|0,n=w(n),yi(t[e>>2]|0,n)}function Wu(e,n){return e=e|0,n=n|0,rn(t[e>>2]|0,n)|0}function b0(){var e=0;return e=Ct(8)|0,of(e,0),e|0}function of(e,n){e=e|0,n=n|0,n?n=T0(t[n>>2]|0)|0:n=Mu()|0,t[e>>2]=n,t[e+4>>2]=0,As(n,e)}function D1(e){e=e|0;var n=0;return n=Ct(8)|0,of(n,e),n|0}function _c(e){e=e|0,e|0&&(uu(e),He(e))}function uu(e){e=e|0;var n=0;Ru(t[e>>2]|0),n=e+4|0,e=t[n>>2]|0,t[n>>2]=0,e|0&&(qu(e),He(e))}function qu(e){e=e|0,Y0(e)}function Y0(e){e=e|0,e=t[e>>2]|0,e|0&&Ou(e|0)}function zf(e){return e=e|0,Bu(e)|0}function uf(e){e=e|0;var n=0,r=0;r=e+4|0,n=t[r>>2]|0,t[r>>2]=0,n|0&&(qu(n),He(n)),po(t[e>>2]|0)}function E1(e,n){e=e|0,n=n|0,Nu(t[e>>2]|0,t[n>>2]|0)}function C1(e,n){e=e|0,n=n|0,q(t[e>>2]|0,n)}function yc(e,n,r){e=e|0,n=n|0,r=+r,pn(t[e>>2]|0,n,w(r))}function su(e,n,r){e=e|0,n=n|0,r=+r,tn(t[e>>2]|0,n,w(r))}function Wf(e,n){e=e|0,n=n|0,P(t[e>>2]|0,n)}function lu(e,n){e=e|0,n=n|0,H(t[e>>2]|0,n)}function no(e,n){e=e|0,n=n|0,re(t[e>>2]|0,n)}function S1(e,n){e=e|0,n=n|0,k0(t[e>>2]|0,n)}function Rs(e,n){e=e|0,n=n|0,Ae(t[e>>2]|0,n)}function T1(e,n){e=e|0,n=n|0,Ar(t[e>>2]|0,n)}function wc(e,n,r){e=e|0,n=n|0,r=+r,Zt(t[e>>2]|0,n,w(r))}function Hu(e,n,r){e=e|0,n=n|0,r=+r,Nn(t[e>>2]|0,n,w(r))}function Dc(e,n){e=e|0,n=n|0,gr(t[e>>2]|0,n)}function Ec(e,n){e=e|0,n=n|0,$(t[e>>2]|0,n)}function Cc(e,n){e=e|0,n=n|0,Pe(t[e>>2]|0,n)}function qf(e,n){e=e|0,n=+n,rt(t[e>>2]|0,w(n))}function gl(e,n){e=e|0,n=+n,_t(t[e>>2]|0,w(n))}function _l(e,n){e=e|0,n=+n,st(t[e>>2]|0,w(n))}function sf(e,n){e=e|0,n=+n,ut(t[e>>2]|0,w(n))}function _o(e,n){e=e|0,n=+n,St(t[e>>2]|0,w(n))}function lf(e,n){e=e|0,n=+n,$t(t[e>>2]|0,w(n))}function x1(e,n){e=e|0,n=+n,_n(t[e>>2]|0,w(n))}function $0(e){e=e|0,Bn(t[e>>2]|0)}function Ps(e,n){e=e|0,n=+n,a0(t[e>>2]|0,w(n))}function li(e,n){e=e|0,n=+n,ri(t[e>>2]|0,w(n))}function fi(e){e=e|0,_i(t[e>>2]|0)}function Hf(e,n){e=e|0,n=+n,Pr(t[e>>2]|0,w(n))}function Sc(e,n){e=e|0,n=+n,ho(t[e>>2]|0,w(n))}function Vf(e,n){e=e|0,n=+n,dl(t[e>>2]|0,w(n))}function ro(e,n){e=e|0,n=+n,Os(t[e>>2]|0,w(n))}function jo(e,n){e=e|0,n=+n,ru(t[e>>2]|0,w(n))}function yl(e,n){e=e|0,n=+n,Uu(t[e>>2]|0,w(n))}function Tc(e,n){e=e|0,n=+n,Ji(t[e>>2]|0,w(n))}function wl(e,n){e=e|0,n=+n,Li(t[e>>2]|0,w(n))}function ff(e,n){e=e|0,n=+n,A0(t[e>>2]|0,w(n))}function Gf(e,n,r){e=e|0,n=n|0,r=+r,lt(t[e>>2]|0,n,w(r))}function E0(e,n,r){e=e|0,n=n|0,r=+r,ze(t[e>>2]|0,n,w(r))}function v(e,n,r){e=e|0,n=n|0,r=+r,Xe(t[e>>2]|0,n,w(r))}function h(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 i=0,s=0;i=m,m=m+16|0,s=i,rr(s,t[n>>2]|0,r),O(e,s),m=i}function O(e,n){e=e|0,n=n|0,F(e,t[n+4>>2]|0,+w(E[n>>2]))}function F(e,n,r){e=e|0,n=n|0,r=+r,t[e>>2]=n,L[e+8>>3]=r}function V(e){return e=e|0,U(t[e>>2]|0)|0}function Q(e){return e=e|0,ue(t[e>>2]|0)|0}function Ge(e){return e=e|0,fe(t[e>>2]|0)|0}function Ke(e){return e=e|0,nu(t[e>>2]|0)|0}function ot(e){return e=e|0,qe(t[e>>2]|0)|0}function Tn(e){return e=e|0,R(t[e>>2]|0)|0}function C0(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0;i=m,m=m+16|0,s=i,f0(s,t[n>>2]|0,r),O(e,s),m=i}function Fr(e){return e=e|0,De(t[e>>2]|0)|0}function ci(e){return e=e|0,$e(t[e>>2]|0)|0}function io(e,n){e=e|0,n=n|0;var r=0,i=0;r=m,m=m+16|0,i=r,It(i,t[n>>2]|0),O(e,i),m=r}function ai(e){return e=e|0,+ +w(al(t[e>>2]|0))}function Ie(e){return e=e|0,+ +w(tu(t[e>>2]|0))}function we(e,n){e=e|0,n=n|0;var r=0,i=0;r=m,m=m+16|0,i=r,c0(i,t[n>>2]|0),O(e,i),m=r}function Be(e,n){e=e|0,n=n|0;var r=0,i=0;r=m,m=m+16|0,i=r,g0(i,t[n>>2]|0),O(e,i),m=r}function wt(e,n){e=e|0,n=n|0;var r=0,i=0;r=m,m=m+16|0,i=r,mo(i,t[n>>2]|0),O(e,i),m=r}function en(e,n){e=e|0,n=n|0;var r=0,i=0;r=m,m=m+16|0,i=r,pl(i,t[n>>2]|0),O(e,i),m=r}function er(e,n){e=e|0,n=n|0;var r=0,i=0;r=m,m=m+16|0,i=r,Is(i,t[n>>2]|0),O(e,i),m=r}function fn(e,n){e=e|0,n=n|0;var r=0,i=0;r=m,m=m+16|0,i=r,Ms(i,t[n>>2]|0),O(e,i),m=r}function or(e){return e=e|0,+ +w(jr(t[e>>2]|0))}function Br(e,n){return e=e|0,n=n|0,+ +w(Dt(t[e>>2]|0,n))}function jn(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0;i=m,m=m+16|0,s=i,Fe(s,t[n>>2]|0,r),O(e,s),m=i}function X0(e,n,r){e=e|0,n=n|0,r=r|0,ks(t[e>>2]|0,t[n>>2]|0,r)}function bf(e,n){e=e|0,n=n|0,v0(t[e>>2]|0,t[n>>2]|0)}function Uh(e){return e=e|0,ni(t[e>>2]|0)|0}function k1(e){return e=e|0,e=Xn(t[e>>2]|0)|0,e?e=zf(e)|0:e=0,e|0}function Wa(e,n){return e=e|0,n=n|0,e=Xr(t[e>>2]|0,n)|0,e?e=zf(e)|0:e=0,e|0}function qa(e,n){e=e|0,n=n|0;var r=0,i=0;i=Ct(4)|0,A1(i,n),r=e+4|0,n=t[r>>2]|0,t[r>>2]=i,n|0&&(qu(n),He(n)),Lu(t[e>>2]|0,1)}function A1(e,n){e=e|0,n=n|0,Do(e,n)}function xc(e,n,r,i,s,l){e=e|0,n=n|0,r=w(r),i=i|0,s=w(s),l=l|0;var a=0,_=0;a=m,m=m+16|0,_=a,jh(_,Bu(n)|0,+r,i,+s,l),E[e>>2]=w(+L[_>>3]),E[e+4>>2]=w(+L[_+8>>3]),m=a}function jh(e,n,r,i,s,l){e=e|0,n=n|0,r=+r,i=i|0,s=+s,l=l|0;var a=0,_=0,y=0,T=0,S=0;a=m,m=m+32|0,S=a+8|0,T=a+20|0,y=a,_=a+16|0,L[S>>3]=r,t[T>>2]=i,L[y>>3]=s,t[_>>2]=l,Ha(e,t[n+4>>2]|0,S,T,y,_),m=a}function Ha(e,n,r,i,s,l){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0;var a=0,_=0;a=m,m=m+16|0,_=a,Vo(_),n=Di(n)|0,zh(e,n,+L[r>>3],t[i>>2]|0,+L[s>>3],t[l>>2]|0),Go(_),m=a}function Di(e){return e=e|0,t[e>>2]|0}function zh(e,n,r,i,s,l){e=e|0,n=n|0,r=+r,i=i|0,s=+s,l=l|0;var a=0;a=yo(Va()|0)|0,r=+zo(r),i=kc(i)|0,s=+zo(s),O1(e,Xi(0,a|0,n|0,+r,i|0,+s,kc(l)|0)|0)}function Va(){var e=0;return d[7608]|0||(Ya(9120),e=7608,t[e>>2]=1,t[e+4>>2]=0),9120}function yo(e){return e=e|0,t[e+8>>2]|0}function zo(e){return e=+e,+ +Dl(e)}function kc(e){return e=e|0,ba(e)|0}function O1(e,n){e=e|0,n=n|0;var r=0,i=0,s=0;s=m,m=m+32|0,r=s,i=n,i&1?(Wh(r,0),s0(i|0,r|0)|0,I1(e,r),Ln(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]),m=s}function Wh(e,n){e=e|0,n=n|0,Ga(e,n),t[e+8>>2]=0,d[e+24>>0]=0}function I1(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 Ln(e){e=e|0,d[e+24>>0]=0}function Ga(e,n){e=e|0,n=n|0,t[e>>2]=n}function ba(e){return e=e|0,e|0}function Dl(e){return e=+e,+e}function Ya(e){e=e|0,wo(e,qh()|0,4)}function qh(){return 1064}function wo(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]=ul(n|0,r+1|0)|0}function Do(e,n){e=e|0,n=n|0,n=t[n>>2]|0,t[e>>2]=n,Fi(n|0)}function Hh(e){e=e|0;var n=0,r=0;r=e+4|0,n=t[r>>2]|0,t[r>>2]=0,n|0&&(qu(n),He(n)),Lu(t[e>>2]|0,0)}function Ac(e){e=e|0,Kn(t[e>>2]|0)}function M1(e){return e=e|0,No(t[e>>2]|0)|0}function $a(e,n,r,i){e=e|0,n=+n,r=+r,i=i|0,Wr(t[e>>2]|0,w(n),w(r),i)}function Xa(e){return e=e|0,+ +w(Jn(t[e>>2]|0))}function oo(e){return e=e|0,+ +w(z0(t[e>>2]|0))}function Ls(e){return e=e|0,+ +w(O0(t[e>>2]|0))}function F1(e){return e=e|0,+ +w(vo(t[e>>2]|0))}function Ka(e){return e=e|0,+ +w(ju(t[e>>2]|0))}function Oc(e){return e=e|0,+ +w(Bo(t[e>>2]|0))}function Ja(e,n){e=e|0,n=n|0,L[e>>3]=+w(Jn(t[n>>2]|0)),L[e+8>>3]=+w(z0(t[n>>2]|0)),L[e+16>>3]=+w(O0(t[n>>2]|0)),L[e+24>>3]=+w(vo(t[n>>2]|0)),L[e+32>>3]=+w(ju(t[n>>2]|0)),L[e+40>>3]=+w(Bo(t[n>>2]|0))}function R1(e,n){return e=e|0,n=n|0,+ +w(Or(t[e>>2]|0,n))}function Qa(e,n){return e=e|0,n=n|0,+ +w(Vn(t[e>>2]|0,n))}function P1(e,n){return e=e|0,n=n|0,+ +w(ii(t[e>>2]|0,n))}function L1(){return xs()|0}function Ns(){Vh(),Bs(),Za(),ed(),N1(),Gh()}function Vh(){$7(11713,4938,1)}function Bs(){p7(10448)}function Za(){$T(10408)}function ed(){gT(10324)}function N1(){SS(10096)}function Gh(){bh(9132)}function bh(e){e=e|0;var n=0,r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0,ge=0,oe=0,ne=0,ke=0,Ce=0,Ne=0,ce=0,he=0,mt=0,On=0,Ut=0,xt=0,an=0,xn=0,Bt=0,hr=0,Wi=0,qi=0,Hi=0,ko=0,wf=0,Df=0,mu=0,Ef=0,qs=0,Hs=0,Cf=0,Sf=0,Tf=0,qn=0,vu=0,xf=0,Ju=0,kf=0,Af=0,Vs=0,Gs=0,Qu=0,Ti=0,Yo=0,lo=0,gu=0,Il=0,Ml=0,bs=0,Fl=0,Rl=0,xi=0,hi=0,_u=0,yr=0,Pl=0,Vi=0,Zu=0,Gi=0,es=0,Ll=0,Nl=0,ts=0,ki=0,yu=0,Bl=0,Ul=0,jl=0,vn=0,Ur=0,mi=0,bi=0,Ai=0,Dn=0,Wt=0,wu=0;n=m,m=m+672|0,r=n+656|0,wu=n+648|0,Wt=n+640|0,Dn=n+632|0,Ai=n+624|0,bi=n+616|0,mi=n+608|0,Ur=n+600|0,vn=n+592|0,jl=n+584|0,Ul=n+576|0,Bl=n+568|0,yu=n+560|0,ki=n+552|0,ts=n+544|0,Nl=n+536|0,Ll=n+528|0,es=n+520|0,Gi=n+512|0,Zu=n+504|0,Vi=n+496|0,Pl=n+488|0,yr=n+480|0,_u=n+472|0,hi=n+464|0,xi=n+456|0,Rl=n+448|0,Fl=n+440|0,bs=n+432|0,Ml=n+424|0,Il=n+416|0,gu=n+408|0,lo=n+400|0,Yo=n+392|0,Ti=n+384|0,Qu=n+376|0,Gs=n+368|0,Vs=n+360|0,Af=n+352|0,kf=n+344|0,Ju=n+336|0,xf=n+328|0,vu=n+320|0,qn=n+312|0,Tf=n+304|0,Sf=n+296|0,Cf=n+288|0,Hs=n+280|0,qs=n+272|0,Ef=n+264|0,mu=n+256|0,Df=n+248|0,wf=n+240|0,ko=n+232|0,Hi=n+224|0,qi=n+216|0,Wi=n+208|0,hr=n+200|0,Bt=n+192|0,xn=n+184|0,an=n+176|0,xt=n+168|0,Ut=n+160|0,On=n+152|0,mt=n+144|0,he=n+136|0,ce=n+128|0,Ne=n+120|0,Ce=n+112|0,ke=n+104|0,ne=n+96|0,oe=n+88|0,ge=n+80|0,j=n+72|0,M=n+64|0,S=n+56|0,T=n+48|0,y=n+40|0,_=n+32|0,a=n+24|0,l=n+16|0,s=n+8|0,i=n,Yh(e,3646),td(e,3651,2)|0,nd(e,3665,2)|0,$h(e,3682,18)|0,t[wu>>2]=19,t[wu+4>>2]=0,t[r>>2]=t[wu>>2],t[r+4>>2]=t[wu+4>>2],cf(e,3690,r)|0,t[Wt>>2]=1,t[Wt+4>>2]=0,t[r>>2]=t[Wt>>2],t[r+4>>2]=t[Wt+4>>2],rd(e,3696,r)|0,t[Dn>>2]=2,t[Dn+4>>2]=0,t[r>>2]=t[Dn>>2],t[r+4>>2]=t[Dn+4>>2],Vr(e,3706,r)|0,t[Ai>>2]=1,t[Ai+4>>2]=0,t[r>>2]=t[Ai>>2],t[r+4>>2]=t[Ai+4>>2],di(e,3722,r)|0,t[bi>>2]=2,t[bi+4>>2]=0,t[r>>2]=t[bi>>2],t[r+4>>2]=t[bi+4>>2],di(e,3734,r)|0,t[mi>>2]=3,t[mi+4>>2]=0,t[r>>2]=t[mi>>2],t[r+4>>2]=t[mi+4>>2],Vr(e,3753,r)|0,t[Ur>>2]=4,t[Ur+4>>2]=0,t[r>>2]=t[Ur>>2],t[r+4>>2]=t[Ur+4>>2],Vr(e,3769,r)|0,t[vn>>2]=5,t[vn+4>>2]=0,t[r>>2]=t[vn>>2],t[r+4>>2]=t[vn+4>>2],Vr(e,3783,r)|0,t[jl>>2]=6,t[jl+4>>2]=0,t[r>>2]=t[jl>>2],t[r+4>>2]=t[jl+4>>2],Vr(e,3796,r)|0,t[Ul>>2]=7,t[Ul+4>>2]=0,t[r>>2]=t[Ul>>2],t[r+4>>2]=t[Ul+4>>2],Vr(e,3813,r)|0,t[Bl>>2]=8,t[Bl+4>>2]=0,t[r>>2]=t[Bl>>2],t[r+4>>2]=t[Bl+4>>2],Vr(e,3825,r)|0,t[yu>>2]=3,t[yu+4>>2]=0,t[r>>2]=t[yu>>2],t[r+4>>2]=t[yu+4>>2],di(e,3843,r)|0,t[ki>>2]=4,t[ki+4>>2]=0,t[r>>2]=t[ki>>2],t[r+4>>2]=t[ki+4>>2],di(e,3853,r)|0,t[ts>>2]=9,t[ts+4>>2]=0,t[r>>2]=t[ts>>2],t[r+4>>2]=t[ts+4>>2],Vr(e,3870,r)|0,t[Nl>>2]=10,t[Nl+4>>2]=0,t[r>>2]=t[Nl>>2],t[r+4>>2]=t[Nl+4>>2],Vr(e,3884,r)|0,t[Ll>>2]=11,t[Ll+4>>2]=0,t[r>>2]=t[Ll>>2],t[r+4>>2]=t[Ll+4>>2],Vr(e,3896,r)|0,t[es>>2]=1,t[es+4>>2]=0,t[r>>2]=t[es>>2],t[r+4>>2]=t[es+4>>2],R0(e,3907,r)|0,t[Gi>>2]=2,t[Gi+4>>2]=0,t[r>>2]=t[Gi>>2],t[r+4>>2]=t[Gi+4>>2],R0(e,3915,r)|0,t[Zu>>2]=3,t[Zu+4>>2]=0,t[r>>2]=t[Zu>>2],t[r+4>>2]=t[Zu+4>>2],R0(e,3928,r)|0,t[Vi>>2]=4,t[Vi+4>>2]=0,t[r>>2]=t[Vi>>2],t[r+4>>2]=t[Vi+4>>2],R0(e,3948,r)|0,t[Pl>>2]=5,t[Pl+4>>2]=0,t[r>>2]=t[Pl>>2],t[r+4>>2]=t[Pl+4>>2],R0(e,3960,r)|0,t[yr>>2]=6,t[yr+4>>2]=0,t[r>>2]=t[yr>>2],t[r+4>>2]=t[yr+4>>2],R0(e,3974,r)|0,t[_u>>2]=7,t[_u+4>>2]=0,t[r>>2]=t[_u>>2],t[r+4>>2]=t[_u+4>>2],R0(e,3983,r)|0,t[hi>>2]=20,t[hi+4>>2]=0,t[r>>2]=t[hi>>2],t[r+4>>2]=t[hi+4>>2],cf(e,3999,r)|0,t[xi>>2]=8,t[xi+4>>2]=0,t[r>>2]=t[xi>>2],t[r+4>>2]=t[xi+4>>2],R0(e,4012,r)|0,t[Rl>>2]=9,t[Rl+4>>2]=0,t[r>>2]=t[Rl>>2],t[r+4>>2]=t[Rl+4>>2],R0(e,4022,r)|0,t[Fl>>2]=21,t[Fl+4>>2]=0,t[r>>2]=t[Fl>>2],t[r+4>>2]=t[Fl+4>>2],cf(e,4039,r)|0,t[bs>>2]=10,t[bs+4>>2]=0,t[r>>2]=t[bs>>2],t[r+4>>2]=t[bs+4>>2],R0(e,4053,r)|0,t[Ml>>2]=11,t[Ml+4>>2]=0,t[r>>2]=t[Ml>>2],t[r+4>>2]=t[Ml+4>>2],R0(e,4065,r)|0,t[Il>>2]=12,t[Il+4>>2]=0,t[r>>2]=t[Il>>2],t[r+4>>2]=t[Il+4>>2],R0(e,4084,r)|0,t[gu>>2]=13,t[gu+4>>2]=0,t[r>>2]=t[gu>>2],t[r+4>>2]=t[gu+4>>2],R0(e,4097,r)|0,t[lo>>2]=14,t[lo+4>>2]=0,t[r>>2]=t[lo>>2],t[r+4>>2]=t[lo+4>>2],R0(e,4117,r)|0,t[Yo>>2]=15,t[Yo+4>>2]=0,t[r>>2]=t[Yo>>2],t[r+4>>2]=t[Yo+4>>2],R0(e,4129,r)|0,t[Ti>>2]=16,t[Ti+4>>2]=0,t[r>>2]=t[Ti>>2],t[r+4>>2]=t[Ti+4>>2],R0(e,4148,r)|0,t[Qu>>2]=17,t[Qu+4>>2]=0,t[r>>2]=t[Qu>>2],t[r+4>>2]=t[Qu+4>>2],R0(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],R0(e,4181,r)|0,t[Vs>>2]=5,t[Vs+4>>2]=0,t[r>>2]=t[Vs>>2],t[r+4>>2]=t[Vs+4>>2],di(e,4196,r)|0,t[Af>>2]=6,t[Af+4>>2]=0,t[r>>2]=t[Af>>2],t[r+4>>2]=t[Af+4>>2],di(e,4206,r)|0,t[kf>>2]=7,t[kf+4>>2]=0,t[r>>2]=t[kf>>2],t[r+4>>2]=t[kf+4>>2],di(e,4217,r)|0,t[Ju>>2]=3,t[Ju+4>>2]=0,t[r>>2]=t[Ju>>2],t[r+4>>2]=t[Ju+4>>2],Vu(e,4235,r)|0,t[xf>>2]=1,t[xf+4>>2]=0,t[r>>2]=t[xf>>2],t[r+4>>2]=t[xf+4>>2],af(e,4251,r)|0,t[vu>>2]=4,t[vu+4>>2]=0,t[r>>2]=t[vu>>2],t[r+4>>2]=t[vu+4>>2],Vu(e,4263,r)|0,t[qn>>2]=5,t[qn+4>>2]=0,t[r>>2]=t[qn>>2],t[r+4>>2]=t[qn+4>>2],Vu(e,4279,r)|0,t[Tf>>2]=6,t[Tf+4>>2]=0,t[r>>2]=t[Tf>>2],t[r+4>>2]=t[Tf+4>>2],Vu(e,4293,r)|0,t[Sf>>2]=7,t[Sf+4>>2]=0,t[r>>2]=t[Sf>>2],t[r+4>>2]=t[Sf+4>>2],Vu(e,4306,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],Vu(e,4323,r)|0,t[Hs>>2]=9,t[Hs+4>>2]=0,t[r>>2]=t[Hs>>2],t[r+4>>2]=t[Hs+4>>2],Vu(e,4335,r)|0,t[qs>>2]=2,t[qs+4>>2]=0,t[r>>2]=t[qs>>2],t[r+4>>2]=t[qs+4>>2],af(e,4353,r)|0,t[Ef>>2]=12,t[Ef+4>>2]=0,t[r>>2]=t[Ef>>2],t[r+4>>2]=t[Ef+4>>2],Eo(e,4363,r)|0,t[mu>>2]=1,t[mu+4>>2]=0,t[r>>2]=t[mu>>2],t[r+4>>2]=t[mu+4>>2],fu(e,4376,r)|0,t[Df>>2]=2,t[Df+4>>2]=0,t[r>>2]=t[Df>>2],t[r+4>>2]=t[Df+4>>2],fu(e,4388,r)|0,t[wf>>2]=13,t[wf+4>>2]=0,t[r>>2]=t[wf>>2],t[r+4>>2]=t[wf+4>>2],Eo(e,4402,r)|0,t[ko>>2]=14,t[ko+4>>2]=0,t[r>>2]=t[ko>>2],t[r+4>>2]=t[ko+4>>2],Eo(e,4411,r)|0,t[Hi>>2]=15,t[Hi+4>>2]=0,t[r>>2]=t[Hi>>2],t[r+4>>2]=t[Hi+4>>2],Eo(e,4421,r)|0,t[qi>>2]=16,t[qi+4>>2]=0,t[r>>2]=t[qi>>2],t[r+4>>2]=t[qi+4>>2],Eo(e,4433,r)|0,t[Wi>>2]=17,t[Wi+4>>2]=0,t[r>>2]=t[Wi>>2],t[r+4>>2]=t[Wi+4>>2],Eo(e,4446,r)|0,t[hr>>2]=18,t[hr+4>>2]=0,t[r>>2]=t[hr>>2],t[r+4>>2]=t[hr+4>>2],Eo(e,4458,r)|0,t[Bt>>2]=3,t[Bt+4>>2]=0,t[r>>2]=t[Bt>>2],t[r+4>>2]=t[Bt+4>>2],fu(e,4471,r)|0,t[xn>>2]=1,t[xn+4>>2]=0,t[r>>2]=t[xn>>2],t[r+4>>2]=t[xn+4>>2],Yf(e,4486,r)|0,t[an>>2]=10,t[an+4>>2]=0,t[r>>2]=t[an>>2],t[r+4>>2]=t[an+4>>2],Vu(e,4496,r)|0,t[xt>>2]=11,t[xt+4>>2]=0,t[r>>2]=t[xt>>2],t[r+4>>2]=t[xt+4>>2],Vu(e,4508,r)|0,t[Ut>>2]=3,t[Ut+4>>2]=0,t[r>>2]=t[Ut>>2],t[r+4>>2]=t[Ut+4>>2],af(e,4519,r)|0,t[On>>2]=4,t[On+4>>2]=0,t[r>>2]=t[On>>2],t[r+4>>2]=t[On+4>>2],Xh(e,4530,r)|0,t[mt>>2]=19,t[mt+4>>2]=0,t[r>>2]=t[mt>>2],t[r+4>>2]=t[mt+4>>2],id(e,4542,r)|0,t[he>>2]=12,t[he+4>>2]=0,t[r>>2]=t[he>>2],t[r+4>>2]=t[he+4>>2],df(e,4554,r)|0,t[ce>>2]=13,t[ce+4>>2]=0,t[r>>2]=t[ce>>2],t[r+4>>2]=t[ce+4>>2],$f(e,4568,r)|0,t[Ne>>2]=2,t[Ne+4>>2]=0,t[r>>2]=t[Ne>>2],t[r+4>>2]=t[Ne+4>>2],Kh(e,4578,r)|0,t[Ce>>2]=20,t[Ce+4>>2]=0,t[r>>2]=t[Ce>>2],t[r+4>>2]=t[Ce+4>>2],od(e,4587,r)|0,t[ke>>2]=22,t[ke+4>>2]=0,t[r>>2]=t[ke>>2],t[r+4>>2]=t[ke+4>>2],cf(e,4602,r)|0,t[ne>>2]=23,t[ne+4>>2]=0,t[r>>2]=t[ne>>2],t[r+4>>2]=t[ne+4>>2],cf(e,4619,r)|0,t[oe>>2]=14,t[oe+4>>2]=0,t[r>>2]=t[oe>>2],t[r+4>>2]=t[oe+4>>2],ud(e,4629,r)|0,t[ge>>2]=1,t[ge+4>>2]=0,t[r>>2]=t[ge>>2],t[r+4>>2]=t[ge+4>>2],Ic(e,4637,r)|0,t[j>>2]=4,t[j+4>>2]=0,t[r>>2]=t[j>>2],t[r+4>>2]=t[j+4>>2],fu(e,4653,r)|0,t[M>>2]=5,t[M+4>>2]=0,t[r>>2]=t[M>>2],t[r+4>>2]=t[M+4>>2],fu(e,4669,r)|0,t[S>>2]=6,t[S+4>>2]=0,t[r>>2]=t[S>>2],t[r+4>>2]=t[S+4>>2],fu(e,4686,r)|0,t[T>>2]=7,t[T+4>>2]=0,t[r>>2]=t[T>>2],t[r+4>>2]=t[T+4>>2],fu(e,4701,r)|0,t[y>>2]=8,t[y+4>>2]=0,t[r>>2]=t[y>>2],t[r+4>>2]=t[y+4>>2],fu(e,4719,r)|0,t[_>>2]=9,t[_+4>>2]=0,t[r>>2]=t[_>>2],t[r+4>>2]=t[_+4>>2],fu(e,4736,r)|0,t[a>>2]=21,t[a+4>>2]=0,t[r>>2]=t[a>>2],t[r+4>>2]=t[a+4>>2],sd(e,4754,r)|0,t[l>>2]=2,t[l+4>>2]=0,t[r>>2]=t[l>>2],t[r+4>>2]=t[l+4>>2],Yf(e,4772,r)|0,t[s>>2]=3,t[s+4>>2]=0,t[r>>2]=t[s>>2],t[r+4>>2]=t[s+4>>2],Yf(e,4790,r)|0,t[i>>2]=4,t[i+4>>2]=0,t[r>>2]=t[i>>2],t[r+4>>2]=t[i+4>>2],Yf(e,4808,r)|0,m=n}function Yh(e,n){e=e|0,n=n|0;var r=0;r=mS()|0,t[e>>2]=r,vS(r,n),gf(t[e>>2]|0)}function td(e,n,r){return e=e|0,n=n|0,r=r|0,tS(e,Yn(n)|0,r,0),e|0}function nd(e,n,r){return e=e|0,n=n|0,r=r|0,jC(e,Yn(n)|0,r,0),e|0}function $h(e,n,r){return e=e|0,n=n|0,r=r|0,TC(e,Yn(n)|0,r,0),e|0}function cf(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],fC(e,n,s),m=i,e|0}function rd(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],so(e,n,s),m=i,e|0}function Vr(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],f(e,n,s),m=i,e|0}function di(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],f4(e,n,s),m=i,e|0}function R0(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Jg(e,n,s),m=i,e|0}function Vu(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Wg(e,n,s),m=i,e|0}function af(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],hp(e,n,s),m=i,e|0}function Eo(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],sg(e,n,s),m=i,e|0}function fu(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],tp(e,n,s),m=i,e|0}function Yf(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Hv(e,n,s),m=i,e|0}function Xh(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],o0(e,n,s),m=i,e|0}function id(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Dv(e,n,s),m=i,e|0}function df(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],hv(e,n,s),m=i,e|0}function $f(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],nv(e,n,s),m=i,e|0}function Kh(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],r2(e,n,s),m=i,e|0}function od(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],km(e,n,s),m=i,e|0}function ud(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],vm(e,n,s),m=i,e|0}function Ic(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],vd(e,n,s),m=i,e|0}function sd(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Mc(e,n,s),m=i,e|0}function Mc(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Fc(e,r,s,1),m=i}function Yn(e){return e=e|0,e|0}function Fc(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=B1()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=ld(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,Rc(l,i)|0,i),m=s}function B1(){var e=0,n=0;if(d[7616]|0||(cu(9136),Mt(24,9136,se|0)|0,n=7616,t[n>>2]=1,t[n+4>>2]=0),!(mn(9136)|0)){e=9136,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));cu(9136)}return 9136}function ld(e){return e=e|0,0}function Rc(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=B1()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],z1(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(fd(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function Zn(e,n,r,i,s,l){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0;var a=0,_=0,y=0,T=0,S=0,M=0,j=0,ge=0;a=m,m=m+32|0,j=a+24|0,M=a+20|0,y=a+16|0,S=a+12|0,T=a+8|0,_=a+4|0,ge=a,t[M>>2]=n,t[y>>2]=r,t[S>>2]=i,t[T>>2]=s,t[_>>2]=l,l=e+28|0,t[ge>>2]=t[l>>2],t[j>>2]=t[ge>>2],U1(e+24|0,j,M,S,T,y,_)|0,t[l>>2]=t[t[l>>2]>>2],m=a}function U1(e,n,r,i,s,l,a){return e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0,a=a|0,e=Jh(n)|0,n=Ct(24)|0,j1(n+4|0,t[r>>2]|0,t[i>>2]|0,t[s>>2]|0,t[l>>2]|0,t[a>>2]|0),t[n>>2]=t[e>>2],t[e>>2]=n,n|0}function Jh(e){return e=e|0,t[e>>2]|0}function j1(e,n,r,i,s,l){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0,t[e>>2]=n,t[e+4>>2]=r,t[e+8>>2]=i,t[e+12>>2]=s,t[e+16>>2]=l}function At(e,n){return e=e|0,n=n|0,n|e|0}function z1(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function fd(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=Qh(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,cd(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],z1(l,i,r),t[y>>2]=(t[y>>2]|0)+12,Zh(e,_),em(_),m=T;return}}function Qh(e){return e=e|0,357913941}function cd(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function Zh(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function em(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function cu(e){e=e|0,Pc(e)}function W1(e){e=e|0,q1(e+24|0)}function mn(e){return e=e|0,t[e>>2]|0}function q1(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function Pc(e){e=e|0;var n=0;n=Cn()|0,In(e,2,3,n,on()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Cn(){return 9228}function on(){return 1140}function Lc(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0;return r=m,m=m+16|0,i=r+8|0,s=r,l=El(e)|0,e=t[l+4>>2]|0,t[s>>2]=t[l>>2],t[s+4>>2]=e,t[i>>2]=t[s>>2],t[i+4>>2]=t[s+4>>2],n=tm(n,i)|0,m=r,n|0}function In(e,n,r,i,s,l){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0,t[e>>2]=n,t[e+4>>2]=r,t[e+8>>2]=i,t[e+12>>2]=s,t[e+16>>2]=l}function El(e){return e=e|0,(t[(B1()|0)+24>>2]|0)+(e*12|0)|0}function tm(e,n){e=e|0,n=n|0;var r=0,i=0,s=0;return s=m,m=m+48|0,i=s,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),Ol[r&31](i,e),i=H1(i)|0,m=s,i|0}function H1(e){e=e|0;var n=0,r=0,i=0,s=0;return s=m,m=m+32|0,n=s+12|0,r=s,i=P0(V1()|0)|0,i?(G1(n,i),b1(r,n),ad(e,r),e=Y1(n)|0):e=dd(e)|0,m=s,e|0}function V1(){var e=0;return d[7632]|0||(Xf(9184),Mt(25,9184,se|0)|0,e=7632,t[e>>2]=1,t[e+4>>2]=0),9184}function P0(e){return e=e|0,t[e+36>>2]|0}function G1(e,n){e=e|0,n=n|0,t[e>>2]=n,t[e+4>>2]=e,t[e+8>>2]=0}function b1(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 ad(e,n){e=e|0,n=n|0,Ei(n,e,e+8|0,e+16|0,e+24|0,e+32|0,e+40|0)|0}function Y1(e){return e=e|0,t[(t[e+4>>2]|0)+8>>2]|0}function dd(e){e=e|0;var n=0,r=0,i=0,s=0,l=0,a=0,_=0,y=0;y=m,m=m+16|0,r=y+4|0,i=y,s=Ho(8)|0,l=s,a=Ct(48)|0,_=a,n=_+48|0;do t[_>>2]=t[e>>2],_=_+4|0,e=e+4|0;while((_|0)<(n|0));return n=l+4|0,t[n>>2]=a,_=Ct(8)|0,a=t[n>>2]|0,t[i>>2]=0,t[r>>2]=t[i>>2],pd(_,a,r),t[s>>2]=_,m=y,l|0}function pd(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,r=Ct(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 nm(e){e=e|0,t1(e),He(e)}function rm(e){e=e|0,e=t[e+12>>2]|0,e|0&&He(e)}function Gu(e){e=e|0,He(e)}function Ei(e,n,r,i,s,l,a){return e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0,a=a|0,l=$1(t[e>>2]|0,n,r,i,s,l,a)|0,a=e+4|0,t[(t[a>>2]|0)+8>>2]=l,t[(t[a>>2]|0)+8>>2]|0}function $1(e,n,r,i,s,l,a){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0,a=a|0;var _=0,y=0;return _=m,m=m+16|0,y=_,Vo(y),e=Di(e)|0,a=im(e,+L[n>>3],+L[r>>3],+L[i>>3],+L[s>>3],+L[l>>3],+L[a>>3])|0,Go(y),m=_,a|0}function im(e,n,r,i,s,l,a){e=e|0,n=+n,r=+r,i=+i,s=+s,l=+l,a=+a;var _=0;return _=yo(X1()|0)|0,n=+zo(n),r=+zo(r),i=+zo(i),s=+zo(s),l=+zo(l),gs(0,_|0,e|0,+n,+r,+i,+s,+l,+ +zo(a))|0}function X1(){var e=0;return d[7624]|0||(om(9172),e=7624,t[e>>2]=1,t[e+4>>2]=0),9172}function om(e){e=e|0,wo(e,um()|0,6)}function um(){return 1112}function Xf(e){e=e|0,Us(e)}function hd(e){e=e|0,K1(e+24|0),md(e+16|0)}function K1(e){e=e|0,lm(e)}function md(e){e=e|0,sm(e)}function sm(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,He(r);while((n|0)!=0);t[e>>2]=0}function lm(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,He(r);while((n|0)!=0);t[e>>2]=0}function Us(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,d[e+40>>0]=0,d[e+41>>0]=0}function vd(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],gd(e,r,s,0),m=i}function gd(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=J1()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=Q1(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,_d(l,i)|0,i),m=s}function J1(){var e=0,n=0;if(d[7640]|0||(Wo(9232),Mt(26,9232,se|0)|0,n=7640,t[n>>2]=1,t[n+4>>2]=0),!(mn(9232)|0)){e=9232,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Wo(9232)}return 9232}function Q1(e){return e=e|0,0}function _d(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=J1()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],pf(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Z1(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function pf(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function Z1(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=yd(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,wd(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],pf(l,i,r),t[y>>2]=(t[y>>2]|0)+12,Nc(e,_),Dd(_),m=T;return}}function yd(e){return e=e|0,357913941}function wd(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function Nc(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function Dd(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function Wo(e){e=e|0,Ed(e)}function Cl(e){e=e|0,fm(e+24|0)}function fm(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function Ed(e){e=e|0;var n=0;n=Cn()|0,In(e,2,1,n,cm()|0,3),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function cm(){return 1144}function am(e,n,r,i,s){e=e|0,n=n|0,r=+r,i=+i,s=s|0;var l=0,a=0,_=0,y=0;l=m,m=m+16|0,a=l+8|0,_=l,y=dm(e)|0,e=t[y+4>>2]|0,t[_>>2]=t[y>>2],t[_+4>>2]=e,t[a>>2]=t[_>>2],t[a+4>>2]=t[_+4>>2],pm(n,a,r,i,s),m=l}function dm(e){return e=e|0,(t[(J1()|0)+24>>2]|0)+(e*12|0)|0}function pm(e,n,r,i,s){e=e|0,n=n|0,r=+r,i=+i,s=s|0;var l=0,a=0,_=0,y=0,T=0;T=m,m=m+16|0,a=T+2|0,_=T+1|0,y=T,l=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(l=t[(t[e>>2]|0)+l>>2]|0),au(a,r),r=+du(a,r),au(_,i),i=+du(_,i),bu(y,s),y=Yu(y,s)|0,Uw[l&1](e,r,i,y),m=T}function au(e,n){e=e|0,n=+n}function du(e,n){return e=e|0,n=+n,+ +mm(n)}function bu(e,n){e=e|0,n=n|0}function Yu(e,n){return e=e|0,n=n|0,hm(n)|0}function hm(e){return e=e|0,e|0}function mm(e){return e=+e,+e}function vm(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Cd(e,r,s,1),m=i}function Cd(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=Bc()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=Sd(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,gm(l,i)|0,i),m=s}function Bc(){var e=0,n=0;if(d[7648]|0||(kd(9268),Mt(27,9268,se|0)|0,n=7648,t[n>>2]=1,t[n+4>>2]=0),!(mn(9268)|0)){e=9268,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));kd(9268)}return 9268}function Sd(e){return e=e|0,0}function gm(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=Bc()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],Td(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(_m(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function Td(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function _m(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=xd(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,ym(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],Td(l,i,r),t[y>>2]=(t[y>>2]|0)+12,wm(e,_),Dm(_),m=T;return}}function xd(e){return e=e|0,357913941}function ym(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function wm(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function Dm(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function kd(e){e=e|0,Co(e)}function Em(e){e=e|0,Cm(e+24|0)}function Cm(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function Co(e){e=e|0;var n=0;n=Cn()|0,In(e,2,4,n,Sm()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Sm(){return 1160}function Tm(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0;return r=m,m=m+16|0,i=r+8|0,s=r,l=xm(e)|0,e=t[l+4>>2]|0,t[s>>2]=t[l>>2],t[s+4>>2]=e,t[i>>2]=t[s>>2],t[i+4>>2]=t[s+4>>2],n=Ad(n,i)|0,m=r,n|0}function xm(e){return e=e|0,(t[(Bc()|0)+24>>2]|0)+(e*12|0)|0}function Ad(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),Od(oc[r&31](e)|0)|0}function Od(e){return e=e|0,e&1|0}function km(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Am(e,r,s,0),m=i}function Am(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=e2()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=t2(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,Om(l,i)|0,i),m=s}function e2(){var e=0,n=0;if(d[7656]|0||(Md(9304),Mt(28,9304,se|0)|0,n=7656,t[n>>2]=1,t[n+4>>2]=0),!(mn(9304)|0)){e=9304,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Md(9304)}return 9304}function t2(e){return e=e|0,0}function Om(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=e2()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],Id(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Im(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function Id(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function Im(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=Mm(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,Fm(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],Id(l,i,r),t[y>>2]=(t[y>>2]|0)+12,Rm(e,_),Pm(_),m=T;return}}function Mm(e){return e=e|0,357913941}function Fm(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function Rm(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function Pm(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function Md(e){e=e|0,Bm(e)}function Lm(e){e=e|0,Nm(e+24|0)}function Nm(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function Bm(e){e=e|0;var n=0;n=Cn()|0,In(e,2,5,n,Um()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Um(){return 1164}function jm(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;i=m,m=m+16|0,s=i+8|0,l=i,a=zm(e)|0,e=t[a+4>>2]|0,t[l>>2]=t[a>>2],t[l+4>>2]=e,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Wm(n,s,r),m=i}function zm(e){return e=e|0,(t[(e2()|0)+24>>2]|0)+(e*12|0)|0}function Wm(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0;l=m,m=m+16|0,s=l,i=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(i=t[(t[e>>2]|0)+i>>2]|0),js(s,r),r=zs(s,r)|0,Ol[i&31](e,r),Ws(s),m=l}function js(e,n){e=e|0,n=n|0,qm(e,n)}function zs(e,n){return e=e|0,n=n|0,e|0}function Ws(e){e=e|0,qu(e)}function qm(e,n){e=e|0,n=n|0,n2(e,n)}function n2(e,n){e=e|0,n=n|0,t[e>>2]=n}function r2(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Fd(e,r,s,0),m=i}function Fd(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=i2()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=Hm(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,Vm(l,i)|0,i),m=s}function i2(){var e=0,n=0;if(d[7664]|0||(Ld(9340),Mt(29,9340,se|0)|0,n=7664,t[n>>2]=1,t[n+4>>2]=0),!(mn(9340)|0)){e=9340,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Ld(9340)}return 9340}function Hm(e){return e=e|0,0}function Vm(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=i2()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],Rd(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Gm(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function Rd(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function Gm(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=bm(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,Ym(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],Rd(l,i,r),t[y>>2]=(t[y>>2]|0)+12,$m(e,_),Pd(_),m=T;return}}function bm(e){return e=e|0,357913941}function Ym(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function $m(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function Pd(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function Ld(e){e=e|0,Km(e)}function Uc(e){e=e|0,Xm(e+24|0)}function Xm(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function Km(e){e=e|0;var n=0;n=Cn()|0,In(e,2,4,n,Jm()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Jm(){return 1180}function Qm(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=Zm(e)|0,e=t[a+4>>2]|0,t[l>>2]=t[a>>2],t[l+4>>2]=e,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],r=ev(n,s,r)|0,m=i,r|0}function Zm(e){return e=e|0,(t[(i2()|0)+24>>2]|0)+(e*12|0)|0}function ev(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0;return l=m,m=m+16|0,s=l,i=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(i=t[(t[e>>2]|0)+i>>2]|0),Sl(s,r),s=Tl(s,r)|0,s=jc(i_[i&15](e,s)|0)|0,m=l,s|0}function Sl(e,n){e=e|0,n=n|0}function Tl(e,n){return e=e|0,n=n|0,tv(n)|0}function jc(e){return e=e|0,e|0}function tv(e){return e=e|0,e|0}function nv(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],rv(e,r,s,0),m=i}function rv(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=o2()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=iv(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,ov(l,i)|0,i),m=s}function o2(){var e=0,n=0;if(d[7672]|0||(jd(9376),Mt(30,9376,se|0)|0,n=7672,t[n>>2]=1,t[n+4>>2]=0),!(mn(9376)|0)){e=9376,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));jd(9376)}return 9376}function iv(e){return e=e|0,0}function ov(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=o2()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],Nd(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Bd(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function Nd(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function Bd(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=Ud(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,uv(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],Nd(l,i,r),t[y>>2]=(t[y>>2]|0)+12,sv(e,_),lv(_),m=T;return}}function Ud(e){return e=e|0,357913941}function uv(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function sv(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function lv(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function jd(e){e=e|0,cv(e)}function zc(e){e=e|0,fv(e+24|0)}function fv(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function cv(e){e=e|0;var n=0;n=Cn()|0,In(e,2,5,n,zd()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function zd(){return 1196}function av(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0;return r=m,m=m+16|0,i=r+8|0,s=r,l=dv(e)|0,e=t[l+4>>2]|0,t[s>>2]=t[l>>2],t[s+4>>2]=e,t[i>>2]=t[s>>2],t[i+4>>2]=t[s+4>>2],n=pv(n,i)|0,m=r,n|0}function dv(e){return e=e|0,(t[(o2()|0)+24>>2]|0)+(e*12|0)|0}function pv(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),jc(oc[r&31](e)|0)|0}function hv(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],mv(e,r,s,1),m=i}function mv(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=u2()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=vv(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,gv(l,i)|0,i),m=s}function u2(){var e=0,n=0;if(d[7680]|0||(l2(9412),Mt(31,9412,se|0)|0,n=7680,t[n>>2]=1,t[n+4>>2]=0),!(mn(9412)|0)){e=9412,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));l2(9412)}return 9412}function vv(e){return e=e|0,0}function gv(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=u2()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],Kf(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(_v(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function Kf(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function _v(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=Wd(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,qd(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],Kf(l,i,r),t[y>>2]=(t[y>>2]|0)+12,s2(e,_),Hd(_),m=T;return}}function Wd(e){return e=e|0,357913941}function qd(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function s2(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function Hd(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function l2(e){e=e|0,yv(e)}function Vd(e){e=e|0,Gd(e+24|0)}function Gd(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function yv(e){e=e|0;var n=0;n=Cn()|0,In(e,2,6,n,bd()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function bd(){return 1200}function wv(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0;return r=m,m=m+16|0,i=r+8|0,s=r,l=Wc(e)|0,e=t[l+4>>2]|0,t[s>>2]=t[l>>2],t[s+4>>2]=e,t[i>>2]=t[s>>2],t[i+4>>2]=t[s+4>>2],n=qc(n,i)|0,m=r,n|0}function Wc(e){return e=e|0,(t[(u2()|0)+24>>2]|0)+(e*12|0)|0}function qc(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),Hc(oc[r&31](e)|0)|0}function Hc(e){return e=e|0,e|0}function Dv(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],f2(e,r,s,0),m=i}function f2(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=Vc()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=Ev(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,Cv(l,i)|0,i),m=s}function Vc(){var e=0,n=0;if(d[7688]|0||($d(9448),Mt(32,9448,se|0)|0,n=7688,t[n>>2]=1,t[n+4>>2]=0),!(mn(9448)|0)){e=9448,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));$d(9448)}return 9448}function Ev(e){return e=e|0,0}function Cv(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=Vc()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],Yd(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Sv(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function Yd(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function Sv(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=Tv(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,xv(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],Yd(l,i,r),t[y>>2]=(t[y>>2]|0)+12,kv(e,_),Av(_),m=T;return}}function Tv(e){return e=e|0,357913941}function xv(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function kv(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function Av(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function $d(e){e=e|0,Mv(e)}function Ov(e){e=e|0,Iv(e+24|0)}function Iv(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function Mv(e){e=e|0;var n=0;n=Cn()|0,In(e,2,6,n,So()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function So(){return 1204}function Fv(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;i=m,m=m+16|0,s=i+8|0,l=i,a=Rv(e)|0,e=t[a+4>>2]|0,t[l>>2]=t[a>>2],t[l+4>>2]=e,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],xl(n,s,r),m=i}function Rv(e){return e=e|0,(t[(Vc()|0)+24>>2]|0)+(e*12|0)|0}function xl(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0;l=m,m=m+16|0,s=l,i=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(i=t[(t[e>>2]|0)+i>>2]|0),Sn(s,r),s=c2(s,r)|0,Ol[i&31](e,s),m=l}function Sn(e,n){e=e|0,n=n|0}function c2(e,n){return e=e|0,n=n|0,Ui(n)|0}function Ui(e){return e=e|0,e|0}function o0(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Pv(e,r,s,0),m=i}function Pv(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=pu()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=Lv(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,Nv(l,i)|0,i),m=s}function pu(){var e=0,n=0;if(d[7696]|0||(d2(9484),Mt(33,9484,se|0)|0,n=7696,t[n>>2]=1,t[n+4>>2]=0),!(mn(9484)|0)){e=9484,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));d2(9484)}return 9484}function Lv(e){return e=e|0,0}function Nv(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=pu()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],Xd(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Bv(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function Xd(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function Bv(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=Uv(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,a2(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],Xd(l,i,r),t[y>>2]=(t[y>>2]|0)+12,jv(e,_),$u(_),m=T;return}}function Uv(e){return e=e|0,357913941}function a2(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function jv(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function $u(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function d2(e){e=e|0,Jr(e)}function Gc(e){e=e|0,Gr(e+24|0)}function Gr(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function Jr(e){e=e|0;var n=0;n=Cn()|0,In(e,2,1,n,Kd()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Kd(){return 1212}function zv(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0;s=m,m=m+16|0,l=s+8|0,a=s,_=Wv(e)|0,e=t[_+4>>2]|0,t[a>>2]=t[_>>2],t[a+4>>2]=e,t[l>>2]=t[a>>2],t[l+4>>2]=t[a+4>>2],qv(n,l,r,i),m=s}function Wv(e){return e=e|0,(t[(pu()|0)+24>>2]|0)+(e*12|0)|0}function qv(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0;_=m,m=m+16|0,l=_+1|0,a=_,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),Sn(l,r),l=c2(l,r)|0,Sl(a,i),a=Tl(a,i)|0,P2[s&15](e,l,a),m=_}function Hv(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Vv(e,r,s,1),m=i}function Vv(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=p2()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=Jd(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,Jf(l,i)|0,i),m=s}function p2(){var e=0,n=0;if(d[7704]|0||(Zd(9520),Mt(34,9520,se|0)|0,n=7704,t[n>>2]=1,t[n+4>>2]=0),!(mn(9520)|0)){e=9520,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Zd(9520)}return 9520}function Jd(e){return e=e|0,0}function Jf(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=p2()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],bc(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Gv(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function bc(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function Gv(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=Qd(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,Yc(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],bc(l,i,r),t[y>>2]=(t[y>>2]|0)+12,uo(e,_),hf(_),m=T;return}}function Qd(e){return e=e|0,357913941}function Yc(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function uo(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function hf(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function Zd(e){e=e|0,$v(e)}function bv(e){e=e|0,Yv(e+24|0)}function Yv(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function $v(e){e=e|0;var n=0;n=Cn()|0,In(e,2,1,n,Xv()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Xv(){return 1224}function ep(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;return s=m,m=m+16|0,l=s+8|0,a=s,_=Xu(e)|0,e=t[_+4>>2]|0,t[a>>2]=t[_>>2],t[a+4>>2]=e,t[l>>2]=t[a>>2],t[l+4>>2]=t[a+4>>2],i=+Fn(n,l,r),m=s,+i}function Xu(e){return e=e|0,(t[(p2()|0)+24>>2]|0)+(e*12|0)|0}function Fn(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return l=m,m=m+16|0,s=l,i=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(i=t[(t[e>>2]|0)+i>>2]|0),bu(s,r),s=Yu(s,r)|0,a=+Dl(+zw[i&7](e,s)),m=l,+a}function tp(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],To(e,r,s,1),m=i}function To(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=$c()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=Kv(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,ar(l,i)|0,i),m=s}function $c(){var e=0,n=0;if(d[7712]|0||(ip(9556),Mt(35,9556,se|0)|0,n=7712,t[n>>2]=1,t[n+4>>2]=0),!(mn(9556)|0)){e=9556,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));ip(9556)}return 9556}function Kv(e){return e=e|0,0}function ar(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=$c()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],np(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(rp(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function np(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function rp(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=Xc(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,Jv(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],np(l,i,r),t[y>>2]=(t[y>>2]|0)+12,Qv(e,_),Zv(_),m=T;return}}function Xc(e){return e=e|0,357913941}function Jv(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function Qv(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function Zv(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function ip(e){e=e|0,ng(e)}function eg(e){e=e|0,tg(e+24|0)}function tg(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function ng(e){e=e|0;var n=0;n=Cn()|0,In(e,2,5,n,rg()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function rg(){return 1232}function ig(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=og(e)|0,e=t[a+4>>2]|0,t[l>>2]=t[a>>2],t[l+4>>2]=e,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],r=+ug(n,s),m=i,+r}function og(e){return e=e|0,(t[($c()|0)+24>>2]|0)+(e*12|0)|0}function ug(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),+ +Dl(+jw[r&15](e))}function sg(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],lg(e,r,s,1),m=i}function lg(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=Qf()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=fg(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,h2(l,i)|0,i),m=s}function Qf(){var e=0,n=0;if(d[7720]|0||(up(9592),Mt(36,9592,se|0)|0,n=7720,t[n>>2]=1,t[n+4>>2]=0),!(mn(9592)|0)){e=9592,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));up(9592)}return 9592}function fg(e){return e=e|0,0}function h2(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=Qf()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],op(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(cg(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function op(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function cg(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=ag(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,L0(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],op(l,i,r),t[y>>2]=(t[y>>2]|0)+12,ji(e,_),dg(_),m=T;return}}function ag(e){return e=e|0,357913941}function L0(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function ji(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function dg(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function up(e){e=e|0,hg(e)}function pg(e){e=e|0,sp(e+24|0)}function sp(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function hg(e){e=e|0;var n=0;n=Cn()|0,In(e,2,7,n,mg()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function mg(){return 1276}function vg(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0;return r=m,m=m+16|0,i=r+8|0,s=r,l=lp(e)|0,e=t[l+4>>2]|0,t[s>>2]=t[l>>2],t[s+4>>2]=e,t[i>>2]=t[s>>2],t[i+4>>2]=t[s+4>>2],n=gg(n,i)|0,m=r,n|0}function lp(e){return e=e|0,(t[(Qf()|0)+24>>2]|0)+(e*12|0)|0}function gg(e,n){e=e|0,n=n|0;var r=0,i=0,s=0;return s=m,m=m+16|0,i=s,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),Ol[r&31](i,e),i=fp(i)|0,m=s,i|0}function fp(e){e=e|0;var n=0,r=0,i=0,s=0;return s=m,m=m+32|0,n=s+12|0,r=s,i=P0(cp()|0)|0,i?(G1(n,i),b1(r,n),ap(e,r),e=Y1(n)|0):e=dp(e)|0,m=s,e|0}function cp(){var e=0;return d[7736]|0||(pp(9640),Mt(25,9640,se|0)|0,e=7736,t[e>>2]=1,t[e+4>>2]=0),9640}function ap(e,n){e=e|0,n=n|0,mf(n,e,e+8|0)|0}function dp(e){e=e|0;var n=0,r=0,i=0,s=0,l=0,a=0,_=0;return r=m,m=m+16|0,s=r+4|0,a=r,i=Ho(8)|0,n=i,_=Ct(16)|0,t[_>>2]=t[e>>2],t[_+4>>2]=t[e+4>>2],t[_+8>>2]=t[e+8>>2],t[_+12>>2]=t[e+12>>2],l=n+4|0,t[l>>2]=_,e=Ct(8)|0,l=t[l>>2]|0,t[a>>2]=0,t[s>>2]=t[a>>2],m2(e,l,s),t[i>>2]=e,m=r,n|0}function m2(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,r=Ct(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 _g(e){e=e|0,t1(e),He(e)}function yg(e){e=e|0,e=t[e+12>>2]|0,e|0&&He(e)}function wg(e){e=e|0,He(e)}function mf(e,n,r){return e=e|0,n=n|0,r=r|0,n=Dg(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 Dg(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0;return i=m,m=m+16|0,s=i,Vo(s),e=Di(e)|0,r=Eg(e,t[n>>2]|0,+L[r>>3])|0,Go(s),m=i,r|0}function Eg(e,n,r){e=e|0,n=n|0,r=+r;var i=0;return i=yo(Cg()|0)|0,n=kc(n)|0,il(0,i|0,e|0,n|0,+ +zo(r))|0}function Cg(){var e=0;return d[7728]|0||(Sg(9628),e=7728,t[e>>2]=1,t[e+4>>2]=0),9628}function Sg(e){e=e|0,wo(e,Tg()|0,2)}function Tg(){return 1264}function pp(e){e=e|0,Us(e)}function hp(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],xg(e,r,s,1),m=i}function xg(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=v2()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=kg(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,Ag(l,i)|0,i),m=s}function v2(){var e=0,n=0;if(d[7744]|0||(vp(9684),Mt(37,9684,se|0)|0,n=7744,t[n>>2]=1,t[n+4>>2]=0),!(mn(9684)|0)){e=9684,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));vp(9684)}return 9684}function kg(e){return e=e|0,0}function Ag(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=v2()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],mp(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Og(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function mp(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function Og(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=Ig(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,Mg(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],mp(l,i,r),t[y>>2]=(t[y>>2]|0)+12,Fg(e,_),Rg(_),m=T;return}}function Ig(e){return e=e|0,357913941}function Mg(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function Fg(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function Rg(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function vp(e){e=e|0,Ng(e)}function Pg(e){e=e|0,Lg(e+24|0)}function Lg(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function Ng(e){e=e|0;var n=0;n=Cn()|0,In(e,2,5,n,Bg()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Bg(){return 1280}function Ug(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=jg(e)|0,e=t[a+4>>2]|0,t[l>>2]=t[a>>2],t[l+4>>2]=e,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],r=zg(n,s,r)|0,m=i,r|0}function jg(e){return e=e|0,(t[(v2()|0)+24>>2]|0)+(e*12|0)|0}function zg(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return a=m,m=m+32|0,s=a,l=a+16|0,i=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(i=t[(t[e>>2]|0)+i>>2]|0),bu(l,r),l=Yu(l,r)|0,P2[i&15](s,e,l),l=fp(s)|0,m=a,l|0}function Wg(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],qg(e,r,s,1),m=i}function qg(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=g2()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=Hg(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,Vg(l,i)|0,i),m=s}function g2(){var e=0,n=0;if(d[7752]|0||(wp(9720),Mt(38,9720,se|0)|0,n=7752,t[n>>2]=1,t[n+4>>2]=0),!(mn(9720)|0)){e=9720,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));wp(9720)}return 9720}function Hg(e){return e=e|0,0}function Vg(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=g2()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],gp(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Gg(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function gp(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function Gg(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=_2(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,_p(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],gp(l,i,r),t[y>>2]=(t[y>>2]|0)+12,yp(e,_),bg(_),m=T;return}}function _2(e){return e=e|0,357913941}function _p(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function yp(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function bg(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function wp(e){e=e|0,$g(e)}function Yg(e){e=e|0,y2(e+24|0)}function y2(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function $g(e){e=e|0;var n=0;n=Cn()|0,In(e,2,8,n,Xg()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Xg(){return 1288}function Kg(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0;return r=m,m=m+16|0,i=r+8|0,s=r,l=zi(e)|0,e=t[l+4>>2]|0,t[s>>2]=t[l>>2],t[s+4>>2]=e,t[i>>2]=t[s>>2],t[i+4>>2]=t[s+4>>2],n=w2(n,i)|0,m=r,n|0}function zi(e){return e=e|0,(t[(g2()|0)+24>>2]|0)+(e*12|0)|0}function w2(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),ba(oc[r&31](e)|0)|0}function Jg(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Qg(e,r,s,0),m=i}function Qg(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=D2()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=Zg(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,E2(l,i)|0,i),m=s}function D2(){var e=0,n=0;if(d[7760]|0||(S2(9756),Mt(39,9756,se|0)|0,n=7760,t[n>>2]=1,t[n+4>>2]=0),!(mn(9756)|0)){e=9756,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));S2(9756)}return 9756}function Zg(e){return e=e|0,0}function E2(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=D2()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],Dp(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(C2(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function Dp(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function C2(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=e4(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,t4(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],Dp(l,i,r),t[y>>2]=(t[y>>2]|0)+12,n4(e,_),r4(_),m=T;return}}function e4(e){return e=e|0,357913941}function t4(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function n4(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function r4(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function S2(e){e=e|0,u4(e)}function i4(e){e=e|0,o4(e+24|0)}function o4(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function u4(e){e=e|0;var n=0;n=Cn()|0,In(e,2,8,n,T2()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function T2(){return 1292}function x2(e,n,r){e=e|0,n=n|0,r=+r;var i=0,s=0,l=0,a=0;i=m,m=m+16|0,s=i+8|0,l=i,a=s4(e)|0,e=t[a+4>>2]|0,t[l>>2]=t[a>>2],t[l+4>>2]=e,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],l4(n,s,r),m=i}function s4(e){return e=e|0,(t[(D2()|0)+24>>2]|0)+(e*12|0)|0}function l4(e,n,r){e=e|0,n=n|0,r=+r;var i=0,s=0,l=0;l=m,m=m+16|0,s=l,i=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(i=t[(t[e>>2]|0)+i>>2]|0),au(s,r),r=+du(s,r),Nw[i&31](e,r),m=l}function f4(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],c4(e,r,s,0),m=i}function c4(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=k2()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=a4(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,d4(l,i)|0,i),m=s}function k2(){var e=0,n=0;if(d[7768]|0||(Cp(9792),Mt(40,9792,se|0)|0,n=7768,t[n>>2]=1,t[n+4>>2]=0),!(mn(9792)|0)){e=9792,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));Cp(9792)}return 9792}function a4(e){return e=e|0,0}function d4(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=k2()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],Ep(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(p4(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function Ep(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function p4(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=h4(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,m4(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],Ep(l,i,r),t[y>>2]=(t[y>>2]|0)+12,v4(e,_),g4(_),m=T;return}}function h4(e){return e=e|0,357913941}function m4(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function v4(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function g4(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function Cp(e){e=e|0,w4(e)}function _4(e){e=e|0,y4(e+24|0)}function y4(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function w4(e){e=e|0;var n=0;n=Cn()|0,In(e,2,1,n,D4()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function D4(){return 1300}function E4(e,n,r,i){e=e|0,n=n|0,r=r|0,i=+i;var s=0,l=0,a=0,_=0;s=m,m=m+16|0,l=s+8|0,a=s,_=C4(e)|0,e=t[_+4>>2]|0,t[a>>2]=t[_>>2],t[a+4>>2]=e,t[l>>2]=t[a>>2],t[l+4>>2]=t[a+4>>2],S4(n,l,r,i),m=s}function C4(e){return e=e|0,(t[(k2()|0)+24>>2]|0)+(e*12|0)|0}function S4(e,n,r,i){e=e|0,n=n|0,r=r|0,i=+i;var s=0,l=0,a=0,_=0;_=m,m=m+16|0,l=_+1|0,a=_,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),bu(l,r),l=Yu(l,r)|0,au(a,i),i=+du(a,i),Vw[s&15](e,l,i),m=_}function f(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],p(e,r,s,0),m=i}function p(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=D()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=I(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,N(l,i)|0,i),m=s}function D(){var e=0,n=0;if(d[7776]|0||(nt(9828),Mt(41,9828,se|0)|0,n=7776,t[n>>2]=1,t[n+4>>2]=0),!(mn(9828)|0)){e=9828,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));nt(9828)}return 9828}function I(e){return e=e|0,0}function N(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=D()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],G(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Z(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function G(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function Z(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=ie(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,_e(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],G(l,i,r),t[y>>2]=(t[y>>2]|0)+12,be(e,_),Ye(_),m=T;return}}function ie(e){return e=e|0,357913941}function _e(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function be(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function Ye(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function nt(e){e=e|0,un(e)}function Et(e){e=e|0,zt(e+24|0)}function zt(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function un(e){e=e|0;var n=0;n=Cn()|0,In(e,2,7,n,Pn()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Pn(){return 1312}function sn(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;i=m,m=m+16|0,s=i+8|0,l=i,a=zn(e)|0,e=t[a+4>>2]|0,t[l>>2]=t[a>>2],t[l+4>>2]=e,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],$n(n,s,r),m=i}function zn(e){return e=e|0,(t[(D()|0)+24>>2]|0)+(e*12|0)|0}function $n(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0;l=m,m=m+16|0,s=l,i=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(i=t[(t[e>>2]|0)+i>>2]|0),bu(s,r),s=Yu(s,r)|0,Ol[i&31](e,s),m=l}function so(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],Ci(e,r,s,0),m=i}function Ci(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=Si()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=u0(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,qo(l,i)|0,i),m=s}function Si(){var e=0,n=0;if(d[7784]|0||(s3(9864),Mt(42,9864,se|0)|0,n=7784,t[n>>2]=1,t[n+4>>2]=0),!(mn(9864)|0)){e=9864,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));s3(9864)}return 9864}function u0(e){return e=e|0,0}function qo(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=Si()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],hu(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(Sp(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function hu(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function Sp(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=X5(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,K5(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],hu(l,i,r),t[y>>2]=(t[y>>2]|0)+12,J5(e,_),Q5(_),m=T;return}}function X5(e){return e=e|0,357913941}function K5(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function J5(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function Q5(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function s3(e){e=e|0,tC(e)}function Z5(e){e=e|0,eC(e+24|0)}function eC(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function tC(e){e=e|0;var n=0;n=Cn()|0,In(e,2,8,n,nC()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function nC(){return 1320}function rC(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;i=m,m=m+16|0,s=i+8|0,l=i,a=iC(e)|0,e=t[a+4>>2]|0,t[l>>2]=t[a>>2],t[l+4>>2]=e,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],oC(n,s,r),m=i}function iC(e){return e=e|0,(t[(Si()|0)+24>>2]|0)+(e*12|0)|0}function oC(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0;l=m,m=m+16|0,s=l,i=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(i=t[(t[e>>2]|0)+i>>2]|0),uC(s,r),s=sC(s,r)|0,Ol[i&31](e,s),m=l}function uC(e,n){e=e|0,n=n|0}function sC(e,n){return e=e|0,n=n|0,lC(n)|0}function lC(e){return e=e|0,e|0}function fC(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],cC(e,r,s,0),m=i}function cC(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=T4()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=aC(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,dC(l,i)|0,i),m=s}function T4(){var e=0,n=0;if(d[7792]|0||(f3(9900),Mt(43,9900,se|0)|0,n=7792,t[n>>2]=1,t[n+4>>2]=0),!(mn(9900)|0)){e=9900,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));f3(9900)}return 9900}function aC(e){return e=e|0,0}function dC(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=T4()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],l3(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(pC(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function l3(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function pC(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=hC(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,mC(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],l3(l,i,r),t[y>>2]=(t[y>>2]|0)+12,vC(e,_),gC(_),m=T;return}}function hC(e){return e=e|0,357913941}function mC(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function vC(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function gC(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function f3(e){e=e|0,wC(e)}function _C(e){e=e|0,yC(e+24|0)}function yC(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function wC(e){e=e|0;var n=0;n=Cn()|0,In(e,2,22,n,DC()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function DC(){return 1344}function EC(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0;r=m,m=m+16|0,i=r+8|0,s=r,l=CC(e)|0,e=t[l+4>>2]|0,t[s>>2]=t[l>>2],t[s+4>>2]=e,t[i>>2]=t[s>>2],t[i+4>>2]=t[s+4>>2],SC(n,i),m=r}function CC(e){return e=e|0,(t[(T4()|0)+24>>2]|0)+(e*12|0)|0}function SC(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),Al[r&127](e)}function TC(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0;l=t[e>>2]|0,s=x4()|0,e=xC(r)|0,Zn(l,n,s,e,kC(r,i)|0,i)}function x4(){var e=0,n=0;if(d[7800]|0||(a3(9936),Mt(44,9936,se|0)|0,n=7800,t[n>>2]=1,t[n+4>>2]=0),!(mn(9936)|0)){e=9936,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));a3(9936)}return 9936}function xC(e){return e=e|0,e|0}function kC(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;return _=m,m=m+16|0,s=_,l=_+4|0,t[s>>2]=e,y=x4()|0,a=y+24|0,n=At(n,4)|0,t[l>>2]=n,r=y+28|0,i=t[r>>2]|0,i>>>0<(t[y+32>>2]|0)>>>0?(c3(i,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(AC(a,s,l),n=t[r>>2]|0),m=_,(n-(t[a>>2]|0)>>3)+-1|0}function c3(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function AC(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0;if(_=m,m=m+32|0,s=_,l=e+4|0,a=((t[l>>2]|0)-(t[e>>2]|0)>>3)+1|0,i=OC(e)|0,i>>>0<a>>>0)Wn(e);else{y=t[e>>2]|0,S=(t[e+8>>2]|0)-y|0,T=S>>2,IC(s,S>>3>>>0<i>>>1>>>0?T>>>0<a>>>0?a:T:i,(t[l>>2]|0)-y>>3,e+8|0),a=s+8|0,c3(t[a>>2]|0,t[n>>2]|0,t[r>>2]|0),t[a>>2]=(t[a>>2]|0)+8,MC(e,s),FC(s),m=_;return}}function OC(e){return e=e|0,536870911}function IC(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>536870911)dn();else{s=Ct(n<<3)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<3)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<3)}function MC(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>3)<<3)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function FC(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&He(e)}function a3(e){e=e|0,LC(e)}function RC(e){e=e|0,PC(e+24|0)}function PC(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function LC(e){e=e|0;var n=0;n=Cn()|0,In(e,1,23,n,So()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function NC(e,n){e=e|0,n=n|0,UC(t[(BC(e)|0)>>2]|0,n)}function BC(e){return e=e|0,(t[(x4()|0)+24>>2]|0)+(e<<3)|0}function UC(e,n){e=e|0,n=n|0;var r=0,i=0;r=m,m=m+16|0,i=r,Sn(i,n),n=c2(i,n)|0,Al[e&127](n),m=r}function jC(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0;l=t[e>>2]|0,s=k4()|0,e=zC(r)|0,Zn(l,n,s,e,WC(r,i)|0,i)}function k4(){var e=0,n=0;if(d[7808]|0||(p3(9972),Mt(45,9972,se|0)|0,n=7808,t[n>>2]=1,t[n+4>>2]=0),!(mn(9972)|0)){e=9972,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));p3(9972)}return 9972}function zC(e){return e=e|0,e|0}function WC(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;return _=m,m=m+16|0,s=_,l=_+4|0,t[s>>2]=e,y=k4()|0,a=y+24|0,n=At(n,4)|0,t[l>>2]=n,r=y+28|0,i=t[r>>2]|0,i>>>0<(t[y+32>>2]|0)>>>0?(d3(i,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(qC(a,s,l),n=t[r>>2]|0),m=_,(n-(t[a>>2]|0)>>3)+-1|0}function d3(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function qC(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0;if(_=m,m=m+32|0,s=_,l=e+4|0,a=((t[l>>2]|0)-(t[e>>2]|0)>>3)+1|0,i=HC(e)|0,i>>>0<a>>>0)Wn(e);else{y=t[e>>2]|0,S=(t[e+8>>2]|0)-y|0,T=S>>2,VC(s,S>>3>>>0<i>>>1>>>0?T>>>0<a>>>0?a:T:i,(t[l>>2]|0)-y>>3,e+8|0),a=s+8|0,d3(t[a>>2]|0,t[n>>2]|0,t[r>>2]|0),t[a>>2]=(t[a>>2]|0)+8,GC(e,s),bC(s),m=_;return}}function HC(e){return e=e|0,536870911}function VC(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>536870911)dn();else{s=Ct(n<<3)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<3)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<3)}function GC(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>3)<<3)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function bC(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&He(e)}function p3(e){e=e|0,XC(e)}function YC(e){e=e|0,$C(e+24|0)}function $C(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function XC(e){e=e|0;var n=0;n=Cn()|0,In(e,1,9,n,KC()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function KC(){return 1348}function JC(e,n){return e=e|0,n=n|0,ZC(t[(QC(e)|0)>>2]|0,n)|0}function QC(e){return e=e|0,(t[(k4()|0)+24>>2]|0)+(e<<3)|0}function ZC(e,n){e=e|0,n=n|0;var r=0,i=0;return r=m,m=m+16|0,i=r,h3(i,n),n=m3(i,n)|0,n=jc(oc[e&31](n)|0)|0,m=r,n|0}function h3(e,n){e=e|0,n=n|0}function m3(e,n){return e=e|0,n=n|0,eS(n)|0}function eS(e){return e=e|0,e|0}function tS(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0;l=t[e>>2]|0,s=A4()|0,e=nS(r)|0,Zn(l,n,s,e,rS(r,i)|0,i)}function A4(){var e=0,n=0;if(d[7816]|0||(g3(10008),Mt(46,10008,se|0)|0,n=7816,t[n>>2]=1,t[n+4>>2]=0),!(mn(10008)|0)){e=10008,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));g3(10008)}return 10008}function nS(e){return e=e|0,e|0}function rS(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;return _=m,m=m+16|0,s=_,l=_+4|0,t[s>>2]=e,y=A4()|0,a=y+24|0,n=At(n,4)|0,t[l>>2]=n,r=y+28|0,i=t[r>>2]|0,i>>>0<(t[y+32>>2]|0)>>>0?(v3(i,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(iS(a,s,l),n=t[r>>2]|0),m=_,(n-(t[a>>2]|0)>>3)+-1|0}function v3(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function iS(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0;if(_=m,m=m+32|0,s=_,l=e+4|0,a=((t[l>>2]|0)-(t[e>>2]|0)>>3)+1|0,i=oS(e)|0,i>>>0<a>>>0)Wn(e);else{y=t[e>>2]|0,S=(t[e+8>>2]|0)-y|0,T=S>>2,uS(s,S>>3>>>0<i>>>1>>>0?T>>>0<a>>>0?a:T:i,(t[l>>2]|0)-y>>3,e+8|0),a=s+8|0,v3(t[a>>2]|0,t[n>>2]|0,t[r>>2]|0),t[a>>2]=(t[a>>2]|0)+8,sS(e,s),lS(s),m=_;return}}function oS(e){return e=e|0,536870911}function uS(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>536870911)dn();else{s=Ct(n<<3)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<3)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<3)}function sS(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>3)<<3)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function lS(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&He(e)}function g3(e){e=e|0,aS(e)}function fS(e){e=e|0,cS(e+24|0)}function cS(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function aS(e){e=e|0;var n=0;n=Cn()|0,In(e,1,15,n,zd()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function dS(e){return e=e|0,hS(t[(pS(e)|0)>>2]|0)|0}function pS(e){return e=e|0,(t[(A4()|0)+24>>2]|0)+(e<<3)|0}function hS(e){return e=e|0,jc(Up[e&7]()|0)|0}function mS(){var e=0;return d[7832]|0||(CS(10052),Mt(25,10052,se|0)|0,e=7832,t[e>>2]=1,t[e+4>>2]=0),10052}function vS(e,n){e=e|0,n=n|0,t[e>>2]=gS()|0,t[e+4>>2]=_S()|0,t[e+12>>2]=n,t[e+8>>2]=yS()|0,t[e+32>>2]=2}function gS(){return 11709}function _S(){return 1188}function yS(){return Tp()|0}function wS(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,(vf(i,896)|0)==512?r|0&&(DS(r),He(r)):n|0&&(uu(n),He(n))}function vf(e,n){return e=e|0,n=n|0,n&e|0}function DS(e){e=e|0,e=t[e+4>>2]|0,e|0&&_f(e)}function Tp(){var e=0;return d[7824]|0||(t[2511]=ES()|0,t[2512]=0,e=7824,t[e>>2]=1,t[e+4>>2]=0),10044}function ES(){return 0}function CS(e){e=e|0,Us(e)}function SS(e){e=e|0;var n=0,r=0,i=0,s=0,l=0;n=m,m=m+32|0,r=n+24|0,l=n+16|0,s=n+8|0,i=n,TS(e,4827),xS(e,4834,3)|0,kS(e,3682,47)|0,t[l>>2]=9,t[l+4>>2]=0,t[r>>2]=t[l>>2],t[r+4>>2]=t[l+4>>2],AS(e,4841,r)|0,t[s>>2]=1,t[s+4>>2]=0,t[r>>2]=t[s>>2],t[r+4>>2]=t[s+4>>2],OS(e,4871,r)|0,t[i>>2]=10,t[i+4>>2]=0,t[r>>2]=t[i>>2],t[r+4>>2]=t[i+4>>2],IS(e,4891,r)|0,m=n}function TS(e,n){e=e|0,n=n|0;var r=0;r=fT()|0,t[e>>2]=r,cT(r,n),gf(t[e>>2]|0)}function xS(e,n,r){return e=e|0,n=n|0,r=r|0,Y9(e,Yn(n)|0,r,0),e|0}function kS(e,n,r){return e=e|0,n=n|0,r=r|0,F9(e,Yn(n)|0,r,0),e|0}function AS(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],p9(e,n,s),m=i,e|0}function OS(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],$S(e,n,s),m=i,e|0}function IS(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=t[r+4>>2]|0,t[l>>2]=t[r>>2],t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],MS(e,n,s),m=i,e|0}function MS(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],RS(e,r,s,1),m=i}function RS(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=O4()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=PS(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,LS(l,i)|0,i),m=s}function O4(){var e=0,n=0;if(d[7840]|0||(y3(10100),Mt(48,10100,se|0)|0,n=7840,t[n>>2]=1,t[n+4>>2]=0),!(mn(10100)|0)){e=10100,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));y3(10100)}return 10100}function PS(e){return e=e|0,0}function LS(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=O4()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],_3(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(NS(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function _3(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function NS(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=BS(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,US(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],_3(l,i,r),t[y>>2]=(t[y>>2]|0)+12,jS(e,_),zS(_),m=T;return}}function BS(e){return e=e|0,357913941}function US(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function jS(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function zS(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function y3(e){e=e|0,HS(e)}function WS(e){e=e|0,qS(e+24|0)}function qS(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function HS(e){e=e|0;var n=0;n=Cn()|0,In(e,2,6,n,VS()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function VS(){return 1364}function GS(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;return i=m,m=m+16|0,s=i+8|0,l=i,a=bS(e)|0,e=t[a+4>>2]|0,t[l>>2]=t[a>>2],t[l+4>>2]=e,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],r=YS(n,s,r)|0,m=i,r|0}function bS(e){return e=e|0,(t[(O4()|0)+24>>2]|0)+(e*12|0)|0}function YS(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0;return l=m,m=m+16|0,s=l,i=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(i=t[(t[e>>2]|0)+i>>2]|0),bu(s,r),s=Yu(s,r)|0,s=Od(i_[i&15](e,s)|0)|0,m=l,s|0}function $S(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],XS(e,r,s,0),m=i}function XS(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=I4()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=KS(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,JS(l,i)|0,i),m=s}function I4(){var e=0,n=0;if(d[7848]|0||(D3(10136),Mt(49,10136,se|0)|0,n=7848,t[n>>2]=1,t[n+4>>2]=0),!(mn(10136)|0)){e=10136,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));D3(10136)}return 10136}function KS(e){return e=e|0,0}function JS(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=I4()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],w3(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(QS(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function w3(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function QS(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=ZS(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,e9(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],w3(l,i,r),t[y>>2]=(t[y>>2]|0)+12,t9(e,_),n9(_),m=T;return}}function ZS(e){return e=e|0,357913941}function e9(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function t9(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function n9(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function D3(e){e=e|0,o9(e)}function r9(e){e=e|0,i9(e+24|0)}function i9(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function o9(e){e=e|0;var n=0;n=Cn()|0,In(e,2,9,n,u9()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function u9(){return 1372}function s9(e,n,r){e=e|0,n=n|0,r=+r;var i=0,s=0,l=0,a=0;i=m,m=m+16|0,s=i+8|0,l=i,a=l9(e)|0,e=t[a+4>>2]|0,t[l>>2]=t[a>>2],t[l+4>>2]=e,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],f9(n,s,r),m=i}function l9(e){return e=e|0,(t[(I4()|0)+24>>2]|0)+(e*12|0)|0}function f9(e,n,r){e=e|0,n=n|0,r=+r;var i=0,s=0,l=0,a=Qe;l=m,m=m+16|0,s=l,i=t[n>>2]|0,n=t[n+4>>2]|0,e=e+(n>>1)|0,n&1&&(i=t[(t[e>>2]|0)+i>>2]|0),c9(s,r),a=w(a9(s,r)),Lw[i&1](e,a),m=l}function c9(e,n){e=e|0,n=+n}function a9(e,n){return e=e|0,n=+n,w(d9(n))}function d9(e){return e=+e,w(e)}function p9(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,s=i+8|0,l=i,_=t[r>>2]|0,a=t[r+4>>2]|0,r=Yn(n)|0,t[l>>2]=_,t[l+4>>2]=a,t[s>>2]=t[l>>2],t[s+4>>2]=t[l+4>>2],h9(e,r,s,0),m=i}function h9(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0,y=0,T=0,S=0;s=m,m=m+32|0,l=s+16|0,S=s+8|0,_=s,T=t[r>>2]|0,y=t[r+4>>2]|0,a=t[e>>2]|0,e=M4()|0,t[S>>2]=T,t[S+4>>2]=y,t[l>>2]=t[S>>2],t[l+4>>2]=t[S+4>>2],r=m9(l)|0,t[_>>2]=T,t[_+4>>2]=y,t[l>>2]=t[_>>2],t[l+4>>2]=t[_+4>>2],Zn(a,n,e,r,v9(l,i)|0,i),m=s}function M4(){var e=0,n=0;if(d[7856]|0||(C3(10172),Mt(50,10172,se|0)|0,n=7856,t[n>>2]=1,t[n+4>>2]=0),!(mn(10172)|0)){e=10172,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));C3(10172)}return 10172}function m9(e){return e=e|0,0}function v9(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0;return S=m,m=m+32|0,s=S+24|0,a=S+16|0,_=S,y=S+8|0,l=t[e>>2]|0,i=t[e+4>>2]|0,t[_>>2]=l,t[_+4>>2]=i,M=M4()|0,T=M+24|0,e=At(n,4)|0,t[y>>2]=e,n=M+28|0,r=t[n>>2]|0,r>>>0<(t[M+32>>2]|0)>>>0?(t[a>>2]=l,t[a+4>>2]=i,t[s>>2]=t[a>>2],t[s+4>>2]=t[a+4>>2],E3(r,s,e),e=(t[n>>2]|0)+12|0,t[n>>2]=e):(g9(T,_,y),e=t[n>>2]|0),m=S,((e-(t[T>>2]|0)|0)/12|0)+-1|0}function E3(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=t[n+4>>2]|0,t[e>>2]=t[n>>2],t[e+4>>2]=i,t[e+8>>2]=r}function g9(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;if(T=m,m=m+48|0,i=T+32|0,a=T+24|0,_=T,y=e+4|0,s=(((t[y>>2]|0)-(t[e>>2]|0)|0)/12|0)+1|0,l=_9(e)|0,l>>>0<s>>>0)Wn(e);else{S=t[e>>2]|0,j=((t[e+8>>2]|0)-S|0)/12|0,M=j<<1,y9(_,j>>>0<l>>>1>>>0?M>>>0<s>>>0?s:M:l,((t[y>>2]|0)-S|0)/12|0,e+8|0),y=_+8|0,l=t[y>>2]|0,s=t[n+4>>2]|0,r=t[r>>2]|0,t[a>>2]=t[n>>2],t[a+4>>2]=s,t[i>>2]=t[a>>2],t[i+4>>2]=t[a+4>>2],E3(l,i,r),t[y>>2]=(t[y>>2]|0)+12,w9(e,_),D9(_),m=T;return}}function _9(e){return e=e|0,357913941}function y9(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>357913941)dn();else{s=Ct(n*12|0)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r*12|0)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n*12|0)}function w9(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(((s|0)/-12|0)*12|0)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function D9(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~(((i+-12-n|0)>>>0)/12|0)*12|0)),e=t[e>>2]|0,e|0&&He(e)}function C3(e){e=e|0,S9(e)}function E9(e){e=e|0,C9(e+24|0)}function C9(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~(((n+-12-i|0)>>>0)/12|0)*12|0)),He(r))}function S9(e){e=e|0;var n=0;n=Cn()|0,In(e,2,3,n,T9()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function T9(){return 1380}function x9(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0;s=m,m=m+16|0,l=s+8|0,a=s,_=k9(e)|0,e=t[_+4>>2]|0,t[a>>2]=t[_>>2],t[a+4>>2]=e,t[l>>2]=t[a>>2],t[l+4>>2]=t[a+4>>2],A9(n,l,r,i),m=s}function k9(e){return e=e|0,(t[(M4()|0)+24>>2]|0)+(e*12|0)|0}function A9(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0;_=m,m=m+16|0,l=_+1|0,a=_,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),bu(l,r),l=Yu(l,r)|0,O9(a,i),a=I9(a,i)|0,P2[s&15](e,l,a),m=_}function O9(e,n){e=e|0,n=n|0}function I9(e,n){return e=e|0,n=n|0,M9(n)|0}function M9(e){return e=e|0,(e|0)!=0|0}function F9(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0;l=t[e>>2]|0,s=F4()|0,e=R9(r)|0,Zn(l,n,s,e,P9(r,i)|0,i)}function F4(){var e=0,n=0;if(d[7864]|0||(T3(10208),Mt(51,10208,se|0)|0,n=7864,t[n>>2]=1,t[n+4>>2]=0),!(mn(10208)|0)){e=10208,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));T3(10208)}return 10208}function R9(e){return e=e|0,e|0}function P9(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;return _=m,m=m+16|0,s=_,l=_+4|0,t[s>>2]=e,y=F4()|0,a=y+24|0,n=At(n,4)|0,t[l>>2]=n,r=y+28|0,i=t[r>>2]|0,i>>>0<(t[y+32>>2]|0)>>>0?(S3(i,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(L9(a,s,l),n=t[r>>2]|0),m=_,(n-(t[a>>2]|0)>>3)+-1|0}function S3(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function L9(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0;if(_=m,m=m+32|0,s=_,l=e+4|0,a=((t[l>>2]|0)-(t[e>>2]|0)>>3)+1|0,i=N9(e)|0,i>>>0<a>>>0)Wn(e);else{y=t[e>>2]|0,S=(t[e+8>>2]|0)-y|0,T=S>>2,B9(s,S>>3>>>0<i>>>1>>>0?T>>>0<a>>>0?a:T:i,(t[l>>2]|0)-y>>3,e+8|0),a=s+8|0,S3(t[a>>2]|0,t[n>>2]|0,t[r>>2]|0),t[a>>2]=(t[a>>2]|0)+8,U9(e,s),j9(s),m=_;return}}function N9(e){return e=e|0,536870911}function B9(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>536870911)dn();else{s=Ct(n<<3)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<3)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<3)}function U9(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>3)<<3)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function j9(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&He(e)}function T3(e){e=e|0,q9(e)}function z9(e){e=e|0,W9(e+24|0)}function W9(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function q9(e){e=e|0;var n=0;n=Cn()|0,In(e,1,24,n,H9()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function H9(){return 1392}function V9(e,n){e=e|0,n=n|0,b9(t[(G9(e)|0)>>2]|0,n)}function G9(e){return e=e|0,(t[(F4()|0)+24>>2]|0)+(e<<3)|0}function b9(e,n){e=e|0,n=n|0;var r=0,i=0;r=m,m=m+16|0,i=r,h3(i,n),n=m3(i,n)|0,Al[e&127](n),m=r}function Y9(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0;l=t[e>>2]|0,s=R4()|0,e=$9(r)|0,Zn(l,n,s,e,X9(r,i)|0,i)}function R4(){var e=0,n=0;if(d[7872]|0||(k3(10244),Mt(52,10244,se|0)|0,n=7872,t[n>>2]=1,t[n+4>>2]=0),!(mn(10244)|0)){e=10244,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));k3(10244)}return 10244}function $9(e){return e=e|0,e|0}function X9(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;return _=m,m=m+16|0,s=_,l=_+4|0,t[s>>2]=e,y=R4()|0,a=y+24|0,n=At(n,4)|0,t[l>>2]=n,r=y+28|0,i=t[r>>2]|0,i>>>0<(t[y+32>>2]|0)>>>0?(x3(i,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(K9(a,s,l),n=t[r>>2]|0),m=_,(n-(t[a>>2]|0)>>3)+-1|0}function x3(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function K9(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0;if(_=m,m=m+32|0,s=_,l=e+4|0,a=((t[l>>2]|0)-(t[e>>2]|0)>>3)+1|0,i=J9(e)|0,i>>>0<a>>>0)Wn(e);else{y=t[e>>2]|0,S=(t[e+8>>2]|0)-y|0,T=S>>2,Q9(s,S>>3>>>0<i>>>1>>>0?T>>>0<a>>>0?a:T:i,(t[l>>2]|0)-y>>3,e+8|0),a=s+8|0,x3(t[a>>2]|0,t[n>>2]|0,t[r>>2]|0),t[a>>2]=(t[a>>2]|0)+8,Z9(e,s),eT(s),m=_;return}}function J9(e){return e=e|0,536870911}function Q9(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>536870911)dn();else{s=Ct(n<<3)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<3)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<3)}function Z9(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>3)<<3)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function eT(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&He(e)}function k3(e){e=e|0,rT(e)}function tT(e){e=e|0,nT(e+24|0)}function nT(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function rT(e){e=e|0;var n=0;n=Cn()|0,In(e,1,16,n,iT()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function iT(){return 1400}function oT(e){return e=e|0,sT(t[(uT(e)|0)>>2]|0)|0}function uT(e){return e=e|0,(t[(R4()|0)+24>>2]|0)+(e<<3)|0}function sT(e){return e=e|0,lT(Up[e&7]()|0)|0}function lT(e){return e=e|0,e|0}function fT(){var e=0;return d[7880]|0||(vT(10280),Mt(25,10280,se|0)|0,e=7880,t[e>>2]=1,t[e+4>>2]=0),10280}function cT(e,n){e=e|0,n=n|0,t[e>>2]=aT()|0,t[e+4>>2]=dT()|0,t[e+12>>2]=n,t[e+8>>2]=pT()|0,t[e+32>>2]=4}function aT(){return 11711}function dT(){return 1356}function pT(){return Tp()|0}function hT(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,(vf(i,896)|0)==512?r|0&&(mT(r),He(r)):n|0&&(Bi(n),He(n))}function mT(e){e=e|0,e=t[e+4>>2]|0,e|0&&_f(e)}function vT(e){e=e|0,Us(e)}function gT(e){e=e|0,_T(e,4920),yT(e)|0,wT(e)|0}function _T(e,n){e=e|0,n=n|0;var r=0;r=cp()|0,t[e>>2]=r,WT(r,n),gf(t[e>>2]|0)}function yT(e){e=e|0;var n=0;return n=t[e>>2]|0,Zf(n,MT()|0),e|0}function wT(e){e=e|0;var n=0;return n=t[e>>2]|0,Zf(n,DT()|0),e|0}function DT(){var e=0;return d[7888]|0||(A3(10328),Mt(53,10328,se|0)|0,e=7888,t[e>>2]=1,t[e+4>>2]=0),mn(10328)|0||A3(10328),10328}function Zf(e,n){e=e|0,n=n|0,Zn(e,0,n,0,0,0)}function A3(e){e=e|0,ST(e),ec(e,10)}function ET(e){e=e|0,CT(e+24|0)}function CT(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function ST(e){e=e|0;var n=0;n=Cn()|0,In(e,5,1,n,AT()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function TT(e,n,r){e=e|0,n=n|0,r=+r,xT(e,n,r)}function ec(e,n){e=e|0,n=n|0,t[e+20>>2]=n}function xT(e,n,r){e=e|0,n=n|0,r=+r;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+16|0,l=i+8|0,_=i+13|0,s=i,a=i+12|0,bu(_,n),t[l>>2]=Yu(_,n)|0,au(a,r),L[s>>3]=+du(a,r),kT(e,l,s),m=i}function kT(e,n,r){e=e|0,n=n|0,r=r|0,F(e+8|0,t[n>>2]|0,+L[r>>3]),d[e+24>>0]=1}function AT(){return 1404}function OT(e,n){return e=e|0,n=+n,IT(e,n)|0}function IT(e,n){e=e|0,n=+n;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;return i=m,m=m+16|0,l=i+4|0,a=i+8|0,_=i,s=Ho(8)|0,r=s,y=Ct(16)|0,bu(l,e),e=Yu(l,e)|0,au(a,n),F(y,e,+du(a,n)),a=r+4|0,t[a>>2]=y,e=Ct(8)|0,a=t[a>>2]|0,t[_>>2]=0,t[l>>2]=t[_>>2],m2(e,a,l),t[s>>2]=e,m=i,r|0}function MT(){var e=0;return d[7896]|0||(O3(10364),Mt(54,10364,se|0)|0,e=7896,t[e>>2]=1,t[e+4>>2]=0),mn(10364)|0||O3(10364),10364}function O3(e){e=e|0,PT(e),ec(e,55)}function FT(e){e=e|0,RT(e+24|0)}function RT(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function PT(e){e=e|0;var n=0;n=Cn()|0,In(e,5,4,n,UT()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function LT(e){e=e|0,NT(e)}function NT(e){e=e|0,BT(e)}function BT(e){e=e|0,I3(e+8|0),d[e+24>>0]=1}function I3(e){e=e|0,t[e>>2]=0,L[e+8>>3]=0}function UT(){return 1424}function jT(){return zT()|0}function zT(){var e=0,n=0,r=0,i=0,s=0,l=0,a=0;return n=m,m=m+16|0,s=n+4|0,a=n,r=Ho(8)|0,e=r,i=Ct(16)|0,I3(i),l=e+4|0,t[l>>2]=i,i=Ct(8)|0,l=t[l>>2]|0,t[a>>2]=0,t[s>>2]=t[a>>2],m2(i,l,s),t[r>>2]=i,m=n,e|0}function WT(e,n){e=e|0,n=n|0,t[e>>2]=qT()|0,t[e+4>>2]=HT()|0,t[e+12>>2]=n,t[e+8>>2]=VT()|0,t[e+32>>2]=5}function qT(){return 11710}function HT(){return 1416}function VT(){return xp()|0}function GT(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,(vf(i,896)|0)==512?r|0&&(bT(r),He(r)):n|0&&He(n)}function bT(e){e=e|0,e=t[e+4>>2]|0,e|0&&_f(e)}function xp(){var e=0;return d[7904]|0||(t[2600]=YT()|0,t[2601]=0,e=7904,t[e>>2]=1,t[e+4>>2]=0),10400}function YT(){return t[357]|0}function $T(e){e=e|0,XT(e,4926),KT(e)|0}function XT(e,n){e=e|0,n=n|0;var r=0;r=V1()|0,t[e>>2]=r,s7(r,n),gf(t[e>>2]|0)}function KT(e){e=e|0;var n=0;return n=t[e>>2]|0,Zf(n,JT()|0),e|0}function JT(){var e=0;return d[7912]|0||(M3(10412),Mt(56,10412,se|0)|0,e=7912,t[e>>2]=1,t[e+4>>2]=0),mn(10412)|0||M3(10412),10412}function M3(e){e=e|0,e7(e),ec(e,57)}function QT(e){e=e|0,ZT(e+24|0)}function ZT(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function e7(e){e=e|0;var n=0;n=Cn()|0,In(e,5,5,n,i7()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function t7(e){e=e|0,n7(e)}function n7(e){e=e|0,r7(e)}function r7(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));d[e+56>>0]=1}function i7(){return 1432}function o7(){return u7()|0}function u7(){var e=0,n=0,r=0,i=0,s=0,l=0,a=0,_=0;a=m,m=m+16|0,e=a+4|0,n=a,r=Ho(8)|0,i=r,s=Ct(48)|0,l=s,_=l+48|0;do t[l>>2]=0,l=l+4|0;while((l|0)<(_|0));return l=i+4|0,t[l>>2]=s,_=Ct(8)|0,l=t[l>>2]|0,t[n>>2]=0,t[e>>2]=t[n>>2],pd(_,l,e),t[r>>2]=_,m=a,i|0}function s7(e,n){e=e|0,n=n|0,t[e>>2]=l7()|0,t[e+4>>2]=f7()|0,t[e+12>>2]=n,t[e+8>>2]=c7()|0,t[e+32>>2]=6}function l7(){return 11704}function f7(){return 1436}function c7(){return xp()|0}function a7(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,(vf(i,896)|0)==512?r|0&&(d7(r),He(r)):n|0&&He(n)}function d7(e){e=e|0,e=t[e+4>>2]|0,e|0&&_f(e)}function p7(e){e=e|0,h7(e,4933),m7(e)|0,v7(e)|0}function h7(e,n){e=e|0,n=n|0;var r=0;r=z7()|0,t[e>>2]=r,W7(r,n),gf(t[e>>2]|0)}function m7(e){e=e|0;var n=0;return n=t[e>>2]|0,Zf(n,I7()|0),e|0}function v7(e){e=e|0;var n=0;return n=t[e>>2]|0,Zf(n,g7()|0),e|0}function g7(){var e=0;return d[7920]|0||(F3(10452),Mt(58,10452,se|0)|0,e=7920,t[e>>2]=1,t[e+4>>2]=0),mn(10452)|0||F3(10452),10452}function F3(e){e=e|0,w7(e),ec(e,1)}function _7(e){e=e|0,y7(e+24|0)}function y7(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function w7(e){e=e|0;var n=0;n=Cn()|0,In(e,5,1,n,S7()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function D7(e,n,r){e=e|0,n=+n,r=+r,E7(e,n,r)}function E7(e,n,r){e=e|0,n=+n,r=+r;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+32|0,l=i+8|0,_=i+17|0,s=i,a=i+16|0,au(_,n),L[l>>3]=+du(_,n),au(a,r),L[s>>3]=+du(a,r),C7(e,l,s),m=i}function C7(e,n,r){e=e|0,n=n|0,r=r|0,R3(e+8|0,+L[n>>3],+L[r>>3]),d[e+24>>0]=1}function R3(e,n,r){e=e|0,n=+n,r=+r,L[e>>3]=n,L[e+8>>3]=r}function S7(){return 1472}function T7(e,n){return e=+e,n=+n,x7(e,n)|0}function x7(e,n){e=+e,n=+n;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;return i=m,m=m+16|0,a=i+4|0,_=i+8|0,y=i,s=Ho(8)|0,r=s,l=Ct(16)|0,au(a,e),e=+du(a,e),au(_,n),R3(l,e,+du(_,n)),_=r+4|0,t[_>>2]=l,l=Ct(8)|0,_=t[_>>2]|0,t[y>>2]=0,t[a>>2]=t[y>>2],P3(l,_,a),t[s>>2]=l,m=i,r|0}function P3(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,r=Ct(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 k7(e){e=e|0,t1(e),He(e)}function A7(e){e=e|0,e=t[e+12>>2]|0,e|0&&He(e)}function O7(e){e=e|0,He(e)}function I7(){var e=0;return d[7928]|0||(L3(10488),Mt(59,10488,se|0)|0,e=7928,t[e>>2]=1,t[e+4>>2]=0),mn(10488)|0||L3(10488),10488}function L3(e){e=e|0,R7(e),ec(e,60)}function M7(e){e=e|0,F7(e+24|0)}function F7(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function R7(e){e=e|0;var n=0;n=Cn()|0,In(e,5,6,n,B7()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function P7(e){e=e|0,L7(e)}function L7(e){e=e|0,N7(e)}function N7(e){e=e|0,N3(e+8|0),d[e+24>>0]=1}function N3(e){e=e|0,t[e>>2]=0,t[e+4>>2]=0,t[e+8>>2]=0,t[e+12>>2]=0}function B7(){return 1492}function U7(){return j7()|0}function j7(){var e=0,n=0,r=0,i=0,s=0,l=0,a=0;return n=m,m=m+16|0,s=n+4|0,a=n,r=Ho(8)|0,e=r,i=Ct(16)|0,N3(i),l=e+4|0,t[l>>2]=i,i=Ct(8)|0,l=t[l>>2]|0,t[a>>2]=0,t[s>>2]=t[a>>2],P3(i,l,s),t[r>>2]=i,m=n,e|0}function z7(){var e=0;return d[7936]|0||(Y7(10524),Mt(25,10524,se|0)|0,e=7936,t[e>>2]=1,t[e+4>>2]=0),10524}function W7(e,n){e=e|0,n=n|0,t[e>>2]=q7()|0,t[e+4>>2]=H7()|0,t[e+12>>2]=n,t[e+8>>2]=V7()|0,t[e+32>>2]=7}function q7(){return 11700}function H7(){return 1484}function V7(){return xp()|0}function G7(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,(vf(i,896)|0)==512?r|0&&(b7(r),He(r)):n|0&&He(n)}function b7(e){e=e|0,e=t[e+4>>2]|0,e|0&&_f(e)}function Y7(e){e=e|0,Us(e)}function $7(e,n,r){e=e|0,n=n|0,r=r|0,e=Yn(n)|0,n=X7(r)|0,r=K7(r,0)|0,xx(e,n,r,P4()|0,0)}function X7(e){return e=e|0,e|0}function K7(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;return _=m,m=m+16|0,s=_,l=_+4|0,t[s>>2]=e,y=P4()|0,a=y+24|0,n=At(n,4)|0,t[l>>2]=n,r=y+28|0,i=t[r>>2]|0,i>>>0<(t[y+32>>2]|0)>>>0?(U3(i,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(rx(a,s,l),n=t[r>>2]|0),m=_,(n-(t[a>>2]|0)>>3)+-1|0}function P4(){var e=0,n=0;if(d[7944]|0||(B3(10568),Mt(61,10568,se|0)|0,n=7944,t[n>>2]=1,t[n+4>>2]=0),!(mn(10568)|0)){e=10568,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));B3(10568)}return 10568}function B3(e){e=e|0,Z7(e)}function J7(e){e=e|0,Q7(e+24|0)}function Q7(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function Z7(e){e=e|0;var n=0;n=Cn()|0,In(e,1,17,n,bd()|0,0),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function ex(e){return e=e|0,nx(t[(tx(e)|0)>>2]|0)|0}function tx(e){return e=e|0,(t[(P4()|0)+24>>2]|0)+(e<<3)|0}function nx(e){return e=e|0,Hc(Up[e&7]()|0)|0}function U3(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function rx(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0;if(_=m,m=m+32|0,s=_,l=e+4|0,a=((t[l>>2]|0)-(t[e>>2]|0)>>3)+1|0,i=ix(e)|0,i>>>0<a>>>0)Wn(e);else{y=t[e>>2]|0,S=(t[e+8>>2]|0)-y|0,T=S>>2,ox(s,S>>3>>>0<i>>>1>>>0?T>>>0<a>>>0?a:T:i,(t[l>>2]|0)-y>>3,e+8|0),a=s+8|0,U3(t[a>>2]|0,t[n>>2]|0,t[r>>2]|0),t[a>>2]=(t[a>>2]|0)+8,ux(e,s),sx(s),m=_;return}}function ix(e){return e=e|0,536870911}function ox(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>536870911)dn();else{s=Ct(n<<3)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<3)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<3)}function ux(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>3)<<3)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function sx(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&He(e)}function lx(){fx()}function fx(){cx(10604)}function cx(e){e=e|0,ax(e,4955)}function ax(e,n){e=e|0,n=n|0;var r=0;r=dx()|0,t[e>>2]=r,px(r,n),gf(t[e>>2]|0)}function dx(){var e=0;return d[7952]|0||(Ex(10612),Mt(25,10612,se|0)|0,e=7952,t[e>>2]=1,t[e+4>>2]=0),10612}function px(e,n){e=e|0,n=n|0,t[e>>2]=gx()|0,t[e+4>>2]=_x()|0,t[e+12>>2]=n,t[e+8>>2]=yx()|0,t[e+32>>2]=8}function gf(e){e=e|0;var n=0,r=0;n=m,m=m+16|0,r=n,Kc()|0,t[r>>2]=e,hx(10608,r),m=n}function Kc(){return d[11714]|0||(t[2652]=0,Mt(62,10608,se|0)|0,d[11714]=1),10608}function hx(e,n){e=e|0,n=n|0;var r=0;r=Ct(8)|0,t[r+4>>2]=t[n>>2],t[r>>2]=t[e>>2],t[e>>2]=r}function mx(e){e=e|0,vx(e)}function vx(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,He(r);while((n|0)!=0);t[e>>2]=0}function gx(){return 11715}function _x(){return 1496}function yx(){return Tp()|0}function wx(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,(vf(i,896)|0)==512?r|0&&(Dx(r),He(r)):n|0&&He(n)}function Dx(e){e=e|0,e=t[e+4>>2]|0,e|0&&_f(e)}function Ex(e){e=e|0,Us(e)}function Cx(e,n){e=e|0,n=n|0;var r=0,i=0;Kc()|0,r=t[2652]|0;e:do if(r|0){for(;i=t[r+4>>2]|0,!(i|0?(yw(L4(i)|0,e)|0)==0:0);)if(r=t[r>>2]|0,!r)break e;Sx(i,n)}while(0)}function L4(e){return e=e|0,t[e+12>>2]|0}function Sx(e,n){e=e|0,n=n|0;var r=0;e=e+36|0,r=t[e>>2]|0,r|0&&(qu(r),He(r)),r=Ct(4)|0,A1(r,n),t[e>>2]=r}function N4(){return d[11716]|0||(t[2664]=0,Mt(63,10656,se|0)|0,d[11716]=1),10656}function j3(){var e=0;return d[11717]|0?e=t[2665]|0:(Tx(),t[2665]=1504,d[11717]=1,e=1504),e|0}function Tx(){d[11740]|0||(d[11718]=At(At(8,0)|0,0)|0,d[11719]=At(At(0,0)|0,0)|0,d[11720]=At(At(0,16)|0,0)|0,d[11721]=At(At(8,0)|0,0)|0,d[11722]=At(At(0,0)|0,0)|0,d[11723]=At(At(8,0)|0,0)|0,d[11724]=At(At(0,0)|0,0)|0,d[11725]=At(At(8,0)|0,0)|0,d[11726]=At(At(0,0)|0,0)|0,d[11727]=At(At(8,0)|0,0)|0,d[11728]=At(At(0,0)|0,0)|0,d[11729]=At(At(0,0)|0,32)|0,d[11730]=At(At(0,0)|0,32)|0,d[11740]=1)}function z3(){return 1572}function xx(e,n,r,i,s){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0;var l=0,a=0,_=0,y=0,T=0,S=0;l=m,m=m+32|0,S=l+16|0,T=l+12|0,y=l+8|0,_=l+4|0,a=l,t[S>>2]=e,t[T>>2]=n,t[y>>2]=r,t[_>>2]=i,t[a>>2]=s,N4()|0,kx(10656,S,T,y,_,a),m=l}function kx(e,n,r,i,s,l){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0;var a=0;a=Ct(24)|0,j1(a+4|0,t[n>>2]|0,t[r>>2]|0,t[i>>2]|0,t[s>>2]|0,t[l>>2]|0),t[a>>2]=t[e>>2],t[e>>2]=a}function W3(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0,ge=0,oe=0,ne=0,ke=0,Ce=0,Ne=0;if(Ne=m,m=m+32|0,oe=Ne+20|0,ne=Ne+8|0,ke=Ne+4|0,Ce=Ne,n=t[n>>2]|0,n|0){ge=oe+4|0,y=oe+8|0,T=ne+4|0,S=ne+8|0,M=ne+8|0,j=oe+8|0;do{if(a=n+4|0,_=B4(a)|0,_|0){if(s=A2(_)|0,t[oe>>2]=0,t[ge>>2]=0,t[y>>2]=0,i=(O2(_)|0)+1|0,Ax(oe,i),i|0)for(;i=i+-1|0,Ku(ne,t[s>>2]|0),l=t[ge>>2]|0,l>>>0<(t[j>>2]|0)>>>0?(t[l>>2]=t[ne>>2],t[ge>>2]=(t[ge>>2]|0)+4):U4(oe,ne),i;)s=s+4|0;i=I2(_)|0,t[ne>>2]=0,t[T>>2]=0,t[S>>2]=0;e:do if(t[i>>2]|0)for(s=0,l=0;;){if((s|0)==(l|0)?Ox(ne,i):(t[s>>2]=t[i>>2],t[T>>2]=(t[T>>2]|0)+4),i=i+4|0,!(t[i>>2]|0))break e;s=t[T>>2]|0,l=t[M>>2]|0}while(0);t[ke>>2]=kp(a)|0,t[Ce>>2]=mn(_)|0,Ix(r,e,ke,Ce,oe,ne),j4(ne),kl(oe)}n=t[n>>2]|0}while((n|0)!=0)}m=Ne}function B4(e){return e=e|0,t[e+12>>2]|0}function A2(e){return e=e|0,t[e+12>>2]|0}function O2(e){return e=e|0,t[e+16>>2]|0}function Ax(e,n){e=e|0,n=n|0;var r=0,i=0,s=0;s=m,m=m+32|0,r=s,i=t[e>>2]|0,(t[e+8>>2]|0)-i>>2>>>0<n>>>0&&(X3(r,n,(t[e+4>>2]|0)-i>>2,e+8|0),K3(e,r),J3(r)),m=s}function U4(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0;if(a=m,m=m+32|0,r=a,i=e+4|0,s=((t[i>>2]|0)-(t[e>>2]|0)>>2)+1|0,l=$3(e)|0,l>>>0<s>>>0)Wn(e);else{_=t[e>>2]|0,T=(t[e+8>>2]|0)-_|0,y=T>>1,X3(r,T>>2>>>0<l>>>1>>>0?y>>>0<s>>>0?s:y:l,(t[i>>2]|0)-_>>2,e+8|0),l=r+8|0,t[t[l>>2]>>2]=t[n>>2],t[l>>2]=(t[l>>2]|0)+4,K3(e,r),J3(r),m=a;return}}function I2(e){return e=e|0,t[e+8>>2]|0}function Ox(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0;if(a=m,m=m+32|0,r=a,i=e+4|0,s=((t[i>>2]|0)-(t[e>>2]|0)>>2)+1|0,l=Y3(e)|0,l>>>0<s>>>0)Wn(e);else{_=t[e>>2]|0,T=(t[e+8>>2]|0)-_|0,y=T>>1,Xx(r,T>>2>>>0<l>>>1>>>0?y>>>0<s>>>0?s:y:l,(t[i>>2]|0)-_>>2,e+8|0),l=r+8|0,t[t[l>>2]>>2]=t[n>>2],t[l>>2]=(t[l>>2]|0)+4,Kx(e,r),Jx(r),m=a;return}}function kp(e){return e=e|0,t[e>>2]|0}function Ix(e,n,r,i,s,l){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0,Mx(e,n,r,i,s,l)}function j4(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-4-i|0)>>>2)<<2)),He(r))}function kl(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-4-i|0)>>>2)<<2)),He(r))}function Mx(e,n,r,i,s,l){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0;var a=0,_=0,y=0,T=0,S=0,M=0;a=m,m=m+48|0,S=a+40|0,_=a+32|0,M=a+24|0,y=a+12|0,T=a,Vo(_),e=Di(e)|0,t[M>>2]=t[n>>2],r=t[r>>2]|0,i=t[i>>2]|0,z4(y,s),Fx(T,l),t[S>>2]=t[M>>2],Rx(e,S,r,i,y,T),j4(T),kl(y),Go(_),m=a}function z4(e,n){e=e|0,n=n|0;var r=0,i=0;t[e>>2]=0,t[e+4>>2]=0,t[e+8>>2]=0,r=n+4|0,i=(t[r>>2]|0)-(t[n>>2]|0)>>2,i|0&&(Yx(e,i),$x(e,t[n>>2]|0,t[r>>2]|0,i))}function Fx(e,n){e=e|0,n=n|0;var r=0,i=0;t[e>>2]=0,t[e+4>>2]=0,t[e+8>>2]=0,r=n+4|0,i=(t[r>>2]|0)-(t[n>>2]|0)>>2,i|0&&(Gx(e,i),bx(e,t[n>>2]|0,t[r>>2]|0,i))}function Rx(e,n,r,i,s,l){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0;var a=0,_=0,y=0,T=0,S=0,M=0;a=m,m=m+32|0,S=a+28|0,M=a+24|0,_=a+12|0,y=a,T=yo(Px()|0)|0,t[M>>2]=t[n>>2],t[S>>2]=t[M>>2],n=tc(S)|0,r=q3(r)|0,i=W4(i)|0,t[_>>2]=t[s>>2],S=s+4|0,t[_+4>>2]=t[S>>2],M=s+8|0,t[_+8>>2]=t[M>>2],t[M>>2]=0,t[S>>2]=0,t[s>>2]=0,s=q4(_)|0,t[y>>2]=t[l>>2],S=l+4|0,t[y+4>>2]=t[S>>2],M=l+8|0,t[y+8>>2]=t[M>>2],t[M>>2]=0,t[S>>2]=0,t[l>>2]=0,Mo(0,T|0,e|0,n|0,r|0,i|0,s|0,Lx(y)|0)|0,j4(y),kl(_),m=a}function Px(){var e=0;return d[7968]|0||(Hx(10708),e=7968,t[e>>2]=1,t[e+4>>2]=0),10708}function tc(e){return e=e|0,V3(e)|0}function q3(e){return e=e|0,H3(e)|0}function W4(e){return e=e|0,Hc(e)|0}function q4(e){return e=e|0,Bx(e)|0}function Lx(e){return e=e|0,Nx(e)|0}function Nx(e){e=e|0;var n=0,r=0,i=0;if(i=(t[e+4>>2]|0)-(t[e>>2]|0)|0,r=i>>2,i=Ho(i+4|0)|0,t[i>>2]=r,r|0){n=0;do t[i+4+(n<<2)>>2]=H3(t[(t[e>>2]|0)+(n<<2)>>2]|0)|0,n=n+1|0;while((n|0)!=(r|0))}return i|0}function H3(e){return e=e|0,e|0}function Bx(e){e=e|0;var n=0,r=0,i=0;if(i=(t[e+4>>2]|0)-(t[e>>2]|0)|0,r=i>>2,i=Ho(i+4|0)|0,t[i>>2]=r,r|0){n=0;do t[i+4+(n<<2)>>2]=V3((t[e>>2]|0)+(n<<2)|0)|0,n=n+1|0;while((n|0)!=(r|0))}return i|0}function V3(e){e=e|0;var n=0,r=0,i=0,s=0;return s=m,m=m+32|0,n=s+12|0,r=s,i=P0(G3()|0)|0,i?(G1(n,i),b1(r,n),yI(e,r),e=Y1(n)|0):e=Ux(e)|0,m=s,e|0}function G3(){var e=0;return d[7960]|0||(qx(10664),Mt(25,10664,se|0)|0,e=7960,t[e>>2]=1,t[e+4>>2]=0),10664}function Ux(e){e=e|0;var n=0,r=0,i=0,s=0,l=0,a=0,_=0;return r=m,m=m+16|0,s=r+4|0,a=r,i=Ho(8)|0,n=i,_=Ct(4)|0,t[_>>2]=t[e>>2],l=n+4|0,t[l>>2]=_,e=Ct(8)|0,l=t[l>>2]|0,t[a>>2]=0,t[s>>2]=t[a>>2],b3(e,l,s),t[i>>2]=e,m=r,n|0}function b3(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,r=Ct(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 jx(e){e=e|0,t1(e),He(e)}function zx(e){e=e|0,e=t[e+12>>2]|0,e|0&&He(e)}function Wx(e){e=e|0,He(e)}function qx(e){e=e|0,Us(e)}function Hx(e){e=e|0,wo(e,Vx()|0,5)}function Vx(){return 1676}function Gx(e,n){e=e|0,n=n|0;var r=0;if((Y3(e)|0)>>>0<n>>>0&&Wn(e),n>>>0>1073741823)dn();else{r=Ct(n<<2)|0,t[e+4>>2]=r,t[e>>2]=r,t[e+8>>2]=r+(n<<2);return}}function bx(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,i=e+4|0,e=r-n|0,(e|0)>0&&(cn(t[i>>2]|0,n|0,e|0)|0,t[i>>2]=(t[i>>2]|0)+(e>>>2<<2))}function Y3(e){return e=e|0,1073741823}function Yx(e,n){e=e|0,n=n|0;var r=0;if(($3(e)|0)>>>0<n>>>0&&Wn(e),n>>>0>1073741823)dn();else{r=Ct(n<<2)|0,t[e+4>>2]=r,t[e>>2]=r,t[e+8>>2]=r+(n<<2);return}}function $x(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,i=e+4|0,e=r-n|0,(e|0)>0&&(cn(t[i>>2]|0,n|0,e|0)|0,t[i>>2]=(t[i>>2]|0)+(e>>>2<<2))}function $3(e){return e=e|0,1073741823}function Xx(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>1073741823)dn();else{s=Ct(n<<2)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<2)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<2)}function Kx(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>2)<<2)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function Jx(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-4-n|0)>>>2)<<2)),e=t[e>>2]|0,e|0&&He(e)}function X3(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>1073741823)dn();else{s=Ct(n<<2)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<2)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<2)}function K3(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>2)<<2)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function J3(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-4-n|0)>>>2)<<2)),e=t[e>>2]|0,e|0&&He(e)}function Qx(e,n,r,i,s){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0;var l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0,ge=0,oe=0,ne=0;if(ne=m,m=m+32|0,S=ne+20|0,M=ne+12|0,T=ne+16|0,j=ne+4|0,ge=ne,oe=ne+8|0,_=j3()|0,l=t[_>>2]|0,a=t[l>>2]|0,a|0)for(y=t[_+8>>2]|0,_=t[_+4>>2]|0;Ku(S,a),Zx(e,S,_,y),l=l+4|0,a=t[l>>2]|0,a;)y=y+1|0,_=_+1|0;if(l=z3()|0,a=t[l>>2]|0,a|0)do Ku(S,a),t[M>>2]=t[l+4>>2],ek(n,S,M),l=l+8|0,a=t[l>>2]|0;while((a|0)!=0);if(l=t[(Kc()|0)>>2]|0,l|0)do n=t[l+4>>2]|0,Ku(S,t[(Jc(n)|0)>>2]|0),t[M>>2]=L4(n)|0,tk(r,S,M),l=t[l>>2]|0;while((l|0)!=0);if(Ku(T,0),l=N4()|0,t[S>>2]=t[T>>2],W3(S,l,s),l=t[(Kc()|0)>>2]|0,l|0){e=S+4|0,n=S+8|0,r=S+8|0;do{if(y=t[l+4>>2]|0,Ku(M,t[(Jc(y)|0)>>2]|0),nk(j,Q3(y)|0),a=t[j>>2]|0,a|0){t[S>>2]=0,t[e>>2]=0,t[n>>2]=0;do Ku(ge,t[(Jc(t[a+4>>2]|0)|0)>>2]|0),_=t[e>>2]|0,_>>>0<(t[r>>2]|0)>>>0?(t[_>>2]=t[ge>>2],t[e>>2]=(t[e>>2]|0)+4):U4(S,ge),a=t[a>>2]|0;while((a|0)!=0);rk(i,M,S),kl(S)}t[oe>>2]=t[M>>2],T=Z3(y)|0,t[S>>2]=t[oe>>2],W3(S,T,s),md(j),l=t[l>>2]|0}while((l|0)!=0)}m=ne}function Zx(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,mk(e,n,r,i)}function ek(e,n,r){e=e|0,n=n|0,r=r|0,hk(e,n,r)}function Jc(e){return e=e|0,e|0}function tk(e,n,r){e=e|0,n=n|0,r=r|0,ck(e,n,r)}function Q3(e){return e=e|0,e+16|0}function nk(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;if(l=m,m=m+16|0,s=l+8|0,r=l,t[e>>2]=0,i=t[n>>2]|0,t[s>>2]=i,t[r>>2]=e,r=fk(r)|0,i|0){if(i=Ct(12)|0,a=(ew(s)|0)+4|0,e=t[a+4>>2]|0,n=i+4|0,t[n>>2]=t[a>>2],t[n+4>>2]=e,n=t[t[s>>2]>>2]|0,t[s>>2]=n,!n)e=i;else for(n=i;e=Ct(12)|0,y=(ew(s)|0)+4|0,_=t[y+4>>2]|0,a=e+4|0,t[a>>2]=t[y>>2],t[a+4>>2]=_,t[n>>2]=e,a=t[t[s>>2]>>2]|0,t[s>>2]=a,a;)n=e;t[e>>2]=t[r>>2],t[r>>2]=i}m=l}function rk(e,n,r){e=e|0,n=n|0,r=r|0,ik(e,n,r)}function Z3(e){return e=e|0,e+24|0}function ik(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+32|0,a=i+24|0,s=i+16|0,_=i+12|0,l=i,Vo(s),e=Di(e)|0,t[_>>2]=t[n>>2],z4(l,r),t[a>>2]=t[_>>2],ok(e,a,l),kl(l),Go(s),m=i}function ok(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=m,m=m+32|0,a=i+16|0,_=i+12|0,s=i,l=yo(uk()|0)|0,t[_>>2]=t[n>>2],t[a>>2]=t[_>>2],n=tc(a)|0,t[s>>2]=t[r>>2],a=r+4|0,t[s+4>>2]=t[a>>2],_=r+8|0,t[s+8>>2]=t[_>>2],t[_>>2]=0,t[a>>2]=0,t[r>>2]=0,vs(0,l|0,e|0,n|0,q4(s)|0)|0,kl(s),m=i}function uk(){var e=0;return d[7976]|0||(sk(10720),e=7976,t[e>>2]=1,t[e+4>>2]=0),10720}function sk(e){e=e|0,wo(e,lk()|0,2)}function lk(){return 1732}function fk(e){return e=e|0,t[e>>2]|0}function ew(e){return e=e|0,t[e>>2]|0}function ck(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;i=m,m=m+32|0,l=i+16|0,s=i+8|0,a=i,Vo(s),e=Di(e)|0,t[a>>2]=t[n>>2],r=t[r>>2]|0,t[l>>2]=t[a>>2],tw(e,l,r),Go(s),m=i}function tw(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;i=m,m=m+16|0,l=i+4|0,a=i,s=yo(ak()|0)|0,t[a>>2]=t[n>>2],t[l>>2]=t[a>>2],n=tc(l)|0,vs(0,s|0,e|0,n|0,q3(r)|0)|0,m=i}function ak(){var e=0;return d[7984]|0||(dk(10732),e=7984,t[e>>2]=1,t[e+4>>2]=0),10732}function dk(e){e=e|0,wo(e,pk()|0,2)}function pk(){return 1744}function hk(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;i=m,m=m+32|0,l=i+16|0,s=i+8|0,a=i,Vo(s),e=Di(e)|0,t[a>>2]=t[n>>2],r=t[r>>2]|0,t[l>>2]=t[a>>2],tw(e,l,r),Go(s),m=i}function mk(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0;s=m,m=m+32|0,a=s+16|0,l=s+8|0,_=s,Vo(l),e=Di(e)|0,t[_>>2]=t[n>>2],r=d[r>>0]|0,i=d[i>>0]|0,t[a>>2]=t[_>>2],vk(e,a,r,i),Go(l),m=s}function vk(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0;s=m,m=m+16|0,a=s+4|0,_=s,l=yo(gk()|0)|0,t[_>>2]=t[n>>2],t[a>>2]=t[_>>2],n=tc(a)|0,r=Qc(r)|0,Au(0,l|0,e|0,n|0,r|0,Qc(i)|0)|0,m=s}function gk(){var e=0;return d[7992]|0||(yk(10744),e=7992,t[e>>2]=1,t[e+4>>2]=0),10744}function Qc(e){return e=e|0,_k(e)|0}function _k(e){return e=e|0,e&255|0}function yk(e){e=e|0,wo(e,wk()|0,3)}function wk(){return 1756}function Dk(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;switch(j=m,m=m+32|0,_=j+8|0,y=j+4|0,T=j+20|0,S=j,n2(e,0),i=_I(n)|0,t[_>>2]=0,M=_+4|0,t[M>>2]=0,t[_+8>>2]=0,i<<24>>24){case 0:{d[T>>0]=0,Ek(y,r,T),Ap(e,y)|0,Y0(y);break}case 8:{M=$4(n)|0,d[T>>0]=8,Ku(S,t[M+4>>2]|0),Ck(y,r,T,S,M+8|0),Ap(e,y)|0,Y0(y);break}case 9:{if(l=$4(n)|0,n=t[l+4>>2]|0,n|0)for(a=_+8|0,s=l+12|0;n=n+-1|0,Ku(y,t[s>>2]|0),i=t[M>>2]|0,i>>>0<(t[a>>2]|0)>>>0?(t[i>>2]=t[y>>2],t[M>>2]=(t[M>>2]|0)+4):U4(_,y),n;)s=s+4|0;d[T>>0]=9,Ku(S,t[l+8>>2]|0),Sk(y,r,T,S,_),Ap(e,y)|0,Y0(y);break}default:M=$4(n)|0,d[T>>0]=i,Ku(S,t[M+4>>2]|0),Tk(y,r,T,S),Ap(e,y)|0,Y0(y)}kl(_),m=j}function Ek(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0;i=m,m=m+16|0,s=i,Vo(s),n=Di(n)|0,Uk(e,n,d[r>>0]|0),Go(s),m=i}function Ap(e,n){e=e|0,n=n|0;var r=0;return r=t[e>>2]|0,r|0&&Ou(r|0),t[e>>2]=t[n>>2],t[n>>2]=0,e|0}function Ck(e,n,r,i,s){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0;var l=0,a=0,_=0,y=0;l=m,m=m+32|0,_=l+16|0,a=l+8|0,y=l,Vo(a),n=Di(n)|0,r=d[r>>0]|0,t[y>>2]=t[i>>2],s=t[s>>2]|0,t[_>>2]=t[y>>2],Pk(e,n,r,_,s),Go(a),m=l}function Sk(e,n,r,i,s){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0;var l=0,a=0,_=0,y=0,T=0;l=m,m=m+32|0,y=l+24|0,a=l+16|0,T=l+12|0,_=l,Vo(a),n=Di(n)|0,r=d[r>>0]|0,t[T>>2]=t[i>>2],z4(_,s),t[y>>2]=t[T>>2],Ik(e,n,r,y,_),kl(_),Go(a),m=l}function Tk(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0;s=m,m=m+32|0,a=s+16|0,l=s+8|0,_=s,Vo(l),n=Di(n)|0,r=d[r>>0]|0,t[_>>2]=t[i>>2],t[a>>2]=t[_>>2],xk(e,n,r,a),Go(l),m=s}function xk(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0,a=0,_=0;s=m,m=m+16|0,l=s+4|0,_=s,a=yo(kk()|0)|0,r=Qc(r)|0,t[_>>2]=t[i>>2],t[l>>2]=t[_>>2],Op(e,vs(0,a|0,n|0,r|0,tc(l)|0)|0),m=s}function kk(){var e=0;return d[8e3]|0||(Ak(10756),e=8e3,t[e>>2]=1,t[e+4>>2]=0),10756}function Op(e,n){e=e|0,n=n|0,n2(e,n)}function Ak(e){e=e|0,wo(e,Ok()|0,2)}function Ok(){return 1772}function Ik(e,n,r,i,s){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0;var l=0,a=0,_=0,y=0,T=0;l=m,m=m+32|0,y=l+16|0,T=l+12|0,a=l,_=yo(Mk()|0)|0,r=Qc(r)|0,t[T>>2]=t[i>>2],t[y>>2]=t[T>>2],i=tc(y)|0,t[a>>2]=t[s>>2],y=s+4|0,t[a+4>>2]=t[y>>2],T=s+8|0,t[a+8>>2]=t[T>>2],t[T>>2]=0,t[y>>2]=0,t[s>>2]=0,Op(e,Au(0,_|0,n|0,r|0,i|0,q4(a)|0)|0),kl(a),m=l}function Mk(){var e=0;return d[8008]|0||(Fk(10768),e=8008,t[e>>2]=1,t[e+4>>2]=0),10768}function Fk(e){e=e|0,wo(e,Rk()|0,3)}function Rk(){return 1784}function Pk(e,n,r,i,s){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0;var l=0,a=0,_=0,y=0;l=m,m=m+16|0,_=l+4|0,y=l,a=yo(Lk()|0)|0,r=Qc(r)|0,t[y>>2]=t[i>>2],t[_>>2]=t[y>>2],i=tc(_)|0,Op(e,Au(0,a|0,n|0,r|0,i|0,W4(s)|0)|0),m=l}function Lk(){var e=0;return d[8016]|0||(Nk(10780),e=8016,t[e>>2]=1,t[e+4>>2]=0),10780}function Nk(e){e=e|0,wo(e,Bk()|0,3)}function Bk(){return 1800}function Uk(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;i=yo(jk()|0)|0,Op(e,Zl(0,i|0,n|0,Qc(r)|0)|0)}function jk(){var e=0;return d[8024]|0||(zk(10792),e=8024,t[e>>2]=1,t[e+4>>2]=0),10792}function zk(e){e=e|0,wo(e,Wk()|0,1)}function Wk(){return 1816}function qk(){Hk(),Vk(),Gk()}function Hk(){t[2702]=Ow(65536)|0}function Vk(){aA(10856)}function Gk(){bk(10816)}function bk(e){e=e|0,Yk(e,5044),$k(e)|0}function Yk(e,n){e=e|0,n=n|0;var r=0;r=G3()|0,t[e>>2]=r,oA(r,n),gf(t[e>>2]|0)}function $k(e){e=e|0;var n=0;return n=t[e>>2]|0,Zf(n,Xk()|0),e|0}function Xk(){var e=0;return d[8032]|0||(nw(10820),Mt(64,10820,se|0)|0,e=8032,t[e>>2]=1,t[e+4>>2]=0),mn(10820)|0||nw(10820),10820}function nw(e){e=e|0,Qk(e),ec(e,25)}function Kk(e){e=e|0,Jk(e+24|0)}function Jk(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function Qk(e){e=e|0;var n=0;n=Cn()|0,In(e,5,18,n,nA()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function Zk(e,n){e=e|0,n=n|0,eA(e,n)}function eA(e,n){e=e|0,n=n|0;var r=0,i=0,s=0;r=m,m=m+16|0,i=r,s=r+4|0,Sl(s,n),t[i>>2]=Tl(s,n)|0,tA(e,i),m=r}function tA(e,n){e=e|0,n=n|0,rw(e+4|0,t[n>>2]|0),d[e+8>>0]=1}function rw(e,n){e=e|0,n=n|0,t[e>>2]=n}function nA(){return 1824}function rA(e){return e=e|0,iA(e)|0}function iA(e){e=e|0;var n=0,r=0,i=0,s=0,l=0,a=0,_=0;return r=m,m=m+16|0,s=r+4|0,a=r,i=Ho(8)|0,n=i,_=Ct(4)|0,Sl(s,e),rw(_,Tl(s,e)|0),l=n+4|0,t[l>>2]=_,e=Ct(8)|0,l=t[l>>2]|0,t[a>>2]=0,t[s>>2]=t[a>>2],b3(e,l,s),t[i>>2]=e,m=r,n|0}function Ho(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):0)?(r=(t[2702]|0)+n|0,t[2701]=n+e,e=r):(e=Ow(e+8|0)|0,t[e>>2]=t[2703],t[2703]=e,e=e+8|0),e|0}function oA(e,n){e=e|0,n=n|0,t[e>>2]=uA()|0,t[e+4>>2]=sA()|0,t[e+12>>2]=n,t[e+8>>2]=lA()|0,t[e+32>>2]=9}function uA(){return 11744}function sA(){return 1832}function lA(){return xp()|0}function fA(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,(vf(i,896)|0)==512?r|0&&(cA(r),He(r)):n|0&&He(n)}function cA(e){e=e|0,e=t[e+4>>2]|0,e|0&&_f(e)}function aA(e){e=e|0,dA(e,5052),pA(e)|0,hA(e,5058,26)|0,mA(e,5069,1)|0,vA(e,5077,10)|0,gA(e,5087,19)|0,_A(e,5094,27)|0}function dA(e,n){e=e|0,n=n|0;var r=0;r=cI()|0,t[e>>2]=r,aI(r,n),gf(t[e>>2]|0)}function pA(e){e=e|0;var n=0;return n=t[e>>2]|0,Zf(n,KO()|0),e|0}function hA(e,n,r){return e=e|0,n=n|0,r=r|0,FO(e,Yn(n)|0,r,0),e|0}function mA(e,n,r){return e=e|0,n=n|0,r=r|0,gO(e,Yn(n)|0,r,0),e|0}function vA(e,n,r){return e=e|0,n=n|0,r=r|0,XA(e,Yn(n)|0,r,0),e|0}function gA(e,n,r){return e=e|0,n=n|0,r=r|0,PA(e,Yn(n)|0,r,0),e|0}function iw(e,n){e=e|0,n=n|0;var r=0,i=0;e:for(;;){for(r=t[2703]|0;;){if((r|0)==(n|0))break e;if(i=t[r>>2]|0,t[2703]=i,!r)r=i;else break}He(r)}t[2701]=e}function _A(e,n,r){return e=e|0,n=n|0,r=r|0,yA(e,Yn(n)|0,r,0),e|0}function yA(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0;l=t[e>>2]|0,s=H4()|0,e=wA(r)|0,Zn(l,n,s,e,DA(r,i)|0,i)}function H4(){var e=0,n=0;if(d[8040]|0||(uw(10860),Mt(65,10860,se|0)|0,n=8040,t[n>>2]=1,t[n+4>>2]=0),!(mn(10860)|0)){e=10860,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));uw(10860)}return 10860}function wA(e){return e=e|0,e|0}function DA(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;return _=m,m=m+16|0,s=_,l=_+4|0,t[s>>2]=e,y=H4()|0,a=y+24|0,n=At(n,4)|0,t[l>>2]=n,r=y+28|0,i=t[r>>2]|0,i>>>0<(t[y+32>>2]|0)>>>0?(ow(i,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(EA(a,s,l),n=t[r>>2]|0),m=_,(n-(t[a>>2]|0)>>3)+-1|0}function ow(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function EA(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0;if(_=m,m=m+32|0,s=_,l=e+4|0,a=((t[l>>2]|0)-(t[e>>2]|0)>>3)+1|0,i=CA(e)|0,i>>>0<a>>>0)Wn(e);else{y=t[e>>2]|0,S=(t[e+8>>2]|0)-y|0,T=S>>2,SA(s,S>>3>>>0<i>>>1>>>0?T>>>0<a>>>0?a:T:i,(t[l>>2]|0)-y>>3,e+8|0),a=s+8|0,ow(t[a>>2]|0,t[n>>2]|0,t[r>>2]|0),t[a>>2]=(t[a>>2]|0)+8,TA(e,s),xA(s),m=_;return}}function CA(e){return e=e|0,536870911}function SA(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>536870911)dn();else{s=Ct(n<<3)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<3)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<3)}function TA(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>3)<<3)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function xA(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&He(e)}function uw(e){e=e|0,OA(e)}function kA(e){e=e|0,AA(e+24|0)}function AA(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function OA(e){e=e|0;var n=0;n=Cn()|0,In(e,1,11,n,IA()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function IA(){return 1840}function MA(e,n,r){e=e|0,n=n|0,r=r|0,RA(t[(FA(e)|0)>>2]|0,n,r)}function FA(e){return e=e|0,(t[(H4()|0)+24>>2]|0)+(e<<3)|0}function RA(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0;i=m,m=m+16|0,l=i+1|0,s=i,Sl(l,n),n=Tl(l,n)|0,Sl(s,r),r=Tl(s,r)|0,Ol[e&31](n,r),m=i}function PA(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0;l=t[e>>2]|0,s=V4()|0,e=LA(r)|0,Zn(l,n,s,e,NA(r,i)|0,i)}function V4(){var e=0,n=0;if(d[8048]|0||(lw(10896),Mt(66,10896,se|0)|0,n=8048,t[n>>2]=1,t[n+4>>2]=0),!(mn(10896)|0)){e=10896,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));lw(10896)}return 10896}function LA(e){return e=e|0,e|0}function NA(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;return _=m,m=m+16|0,s=_,l=_+4|0,t[s>>2]=e,y=V4()|0,a=y+24|0,n=At(n,4)|0,t[l>>2]=n,r=y+28|0,i=t[r>>2]|0,i>>>0<(t[y+32>>2]|0)>>>0?(sw(i,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(BA(a,s,l),n=t[r>>2]|0),m=_,(n-(t[a>>2]|0)>>3)+-1|0}function sw(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function BA(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0;if(_=m,m=m+32|0,s=_,l=e+4|0,a=((t[l>>2]|0)-(t[e>>2]|0)>>3)+1|0,i=UA(e)|0,i>>>0<a>>>0)Wn(e);else{y=t[e>>2]|0,S=(t[e+8>>2]|0)-y|0,T=S>>2,jA(s,S>>3>>>0<i>>>1>>>0?T>>>0<a>>>0?a:T:i,(t[l>>2]|0)-y>>3,e+8|0),a=s+8|0,sw(t[a>>2]|0,t[n>>2]|0,t[r>>2]|0),t[a>>2]=(t[a>>2]|0)+8,zA(e,s),WA(s),m=_;return}}function UA(e){return e=e|0,536870911}function jA(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>536870911)dn();else{s=Ct(n<<3)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<3)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<3)}function zA(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>3)<<3)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function WA(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&He(e)}function lw(e){e=e|0,VA(e)}function qA(e){e=e|0,HA(e+24|0)}function HA(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function VA(e){e=e|0;var n=0;n=Cn()|0,In(e,1,11,n,GA()|0,1),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function GA(){return 1852}function bA(e,n){return e=e|0,n=n|0,$A(t[(YA(e)|0)>>2]|0,n)|0}function YA(e){return e=e|0,(t[(V4()|0)+24>>2]|0)+(e<<3)|0}function $A(e,n){e=e|0,n=n|0;var r=0,i=0;return r=m,m=m+16|0,i=r,Sl(i,n),n=Tl(i,n)|0,n=Hc(oc[e&31](n)|0)|0,m=r,n|0}function XA(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0;l=t[e>>2]|0,s=G4()|0,e=KA(r)|0,Zn(l,n,s,e,JA(r,i)|0,i)}function G4(){var e=0,n=0;if(d[8056]|0||(cw(10932),Mt(67,10932,se|0)|0,n=8056,t[n>>2]=1,t[n+4>>2]=0),!(mn(10932)|0)){e=10932,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));cw(10932)}return 10932}function KA(e){return e=e|0,e|0}function JA(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;return _=m,m=m+16|0,s=_,l=_+4|0,t[s>>2]=e,y=G4()|0,a=y+24|0,n=At(n,4)|0,t[l>>2]=n,r=y+28|0,i=t[r>>2]|0,i>>>0<(t[y+32>>2]|0)>>>0?(fw(i,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(QA(a,s,l),n=t[r>>2]|0),m=_,(n-(t[a>>2]|0)>>3)+-1|0}function fw(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function QA(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0;if(_=m,m=m+32|0,s=_,l=e+4|0,a=((t[l>>2]|0)-(t[e>>2]|0)>>3)+1|0,i=ZA(e)|0,i>>>0<a>>>0)Wn(e);else{y=t[e>>2]|0,S=(t[e+8>>2]|0)-y|0,T=S>>2,eO(s,S>>3>>>0<i>>>1>>>0?T>>>0<a>>>0?a:T:i,(t[l>>2]|0)-y>>3,e+8|0),a=s+8|0,fw(t[a>>2]|0,t[n>>2]|0,t[r>>2]|0),t[a>>2]=(t[a>>2]|0)+8,tO(e,s),nO(s),m=_;return}}function ZA(e){return e=e|0,536870911}function eO(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>536870911)dn();else{s=Ct(n<<3)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<3)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<3)}function tO(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>3)<<3)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function nO(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&He(e)}function cw(e){e=e|0,oO(e)}function rO(e){e=e|0,iO(e+24|0)}function iO(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function oO(e){e=e|0;var n=0;n=Cn()|0,In(e,1,7,n,uO()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function uO(){return 1860}function sO(e,n,r){return e=e|0,n=n|0,r=r|0,fO(t[(lO(e)|0)>>2]|0,n,r)|0}function lO(e){return e=e|0,(t[(G4()|0)+24>>2]|0)+(e<<3)|0}function fO(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0;return i=m,m=m+32|0,a=i+12|0,l=i+8|0,_=i,y=i+16|0,s=i+4|0,cO(y,n),aO(_,y,n),js(s,r),r=zs(s,r)|0,t[a>>2]=t[_>>2],P2[e&15](l,a,r),r=dO(l)|0,Y0(l),Ws(s),m=i,r|0}function cO(e,n){e=e|0,n=n|0}function aO(e,n,r){e=e|0,n=n|0,r=r|0,pO(e,r)}function dO(e){return e=e|0,Di(e)|0}function pO(e,n){e=e|0,n=n|0;var r=0,i=0,s=0;s=m,m=m+16|0,r=s,i=n,i&1?(hO(r,0),s0(i|0,r|0)|0,mO(e,r),vO(r)):t[e>>2]=t[n>>2],m=s}function hO(e,n){e=e|0,n=n|0,Ga(e,n),t[e+4>>2]=0,d[e+8>>0]=0}function mO(e,n){e=e|0,n=n|0,t[e>>2]=t[n+4>>2]}function vO(e){e=e|0,d[e+8>>0]=0}function gO(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0;l=t[e>>2]|0,s=b4()|0,e=_O(r)|0,Zn(l,n,s,e,yO(r,i)|0,i)}function b4(){var e=0,n=0;if(d[8064]|0||(dw(10968),Mt(68,10968,se|0)|0,n=8064,t[n>>2]=1,t[n+4>>2]=0),!(mn(10968)|0)){e=10968,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));dw(10968)}return 10968}function _O(e){return e=e|0,e|0}function yO(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;return _=m,m=m+16|0,s=_,l=_+4|0,t[s>>2]=e,y=b4()|0,a=y+24|0,n=At(n,4)|0,t[l>>2]=n,r=y+28|0,i=t[r>>2]|0,i>>>0<(t[y+32>>2]|0)>>>0?(aw(i,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(wO(a,s,l),n=t[r>>2]|0),m=_,(n-(t[a>>2]|0)>>3)+-1|0}function aw(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,t[e+4>>2]=r}function wO(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0;if(_=m,m=m+32|0,s=_,l=e+4|0,a=((t[l>>2]|0)-(t[e>>2]|0)>>3)+1|0,i=DO(e)|0,i>>>0<a>>>0)Wn(e);else{y=t[e>>2]|0,S=(t[e+8>>2]|0)-y|0,T=S>>2,EO(s,S>>3>>>0<i>>>1>>>0?T>>>0<a>>>0?a:T:i,(t[l>>2]|0)-y>>3,e+8|0),a=s+8|0,aw(t[a>>2]|0,t[n>>2]|0,t[r>>2]|0),t[a>>2]=(t[a>>2]|0)+8,CO(e,s),SO(s),m=_;return}}function DO(e){return e=e|0,536870911}function EO(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>536870911)dn();else{s=Ct(n<<3)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<3)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<3)}function CO(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>3)<<3)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function SO(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&He(e)}function dw(e){e=e|0,kO(e)}function TO(e){e=e|0,xO(e+24|0)}function xO(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function kO(e){e=e|0;var n=0;n=Cn()|0,In(e,1,1,n,AO()|0,5),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function AO(){return 1872}function OO(e,n,r,i,s,l){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0,MO(t[(IO(e)|0)>>2]|0,n,r,i,s,l)}function IO(e){return e=e|0,(t[(b4()|0)+24>>2]|0)+(e<<3)|0}function MO(e,n,r,i,s,l){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0;var a=0,_=0,y=0,T=0,S=0,M=0;a=m,m=m+32|0,_=a+16|0,y=a+12|0,T=a+8|0,S=a+4|0,M=a,js(_,n),n=zs(_,n)|0,js(y,r),r=zs(y,r)|0,js(T,i),i=zs(T,i)|0,js(S,s),s=zs(S,s)|0,js(M,l),l=zs(M,l)|0,Pw[e&1](n,r,i,s,l),Ws(M),Ws(S),Ws(T),Ws(y),Ws(_),m=a}function FO(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0;l=t[e>>2]|0,s=Y4()|0,e=RO(r)|0,Zn(l,n,s,e,PO(r,i)|0,i)}function Y4(){var e=0,n=0;if(d[8072]|0||(hw(11004),Mt(69,11004,se|0)|0,n=8072,t[n>>2]=1,t[n+4>>2]=0),!(mn(11004)|0)){e=11004,n=e+36|0;do t[e>>2]=0,e=e+4|0;while((e|0)<(n|0));hw(11004)}return 11004}function RO(e){return e=e|0,e|0}function PO(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0,_=0,y=0;return _=m,m=m+16|0,s=_,l=_+4|0,t[s>>2]=e,y=Y4()|0,a=y+24|0,n=At(n,4)|0,t[l>>2]=n,r=y+28|0,i=t[r>>2]|0,i>>>0<(t[y+32>>2]|0)>>>0?(pw(i,e,n),n=(t[r>>2]|0)+8|0,t[r>>2]=n):(LO(a,s,l),n=t[r>>2]|0),m=_,(n-(t[a>>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 LO(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0;if(_=m,m=m+32|0,s=_,l=e+4|0,a=((t[l>>2]|0)-(t[e>>2]|0)>>3)+1|0,i=NO(e)|0,i>>>0<a>>>0)Wn(e);else{y=t[e>>2]|0,S=(t[e+8>>2]|0)-y|0,T=S>>2,BO(s,S>>3>>>0<i>>>1>>>0?T>>>0<a>>>0?a:T:i,(t[l>>2]|0)-y>>3,e+8|0),a=s+8|0,pw(t[a>>2]|0,t[n>>2]|0,t[r>>2]|0),t[a>>2]=(t[a>>2]|0)+8,UO(e,s),jO(s),m=_;return}}function NO(e){return e=e|0,536870911}function BO(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0;t[e+12>>2]=0,t[e+16>>2]=i;do if(n)if(n>>>0>536870911)dn();else{s=Ct(n<<3)|0;break}else s=0;while(0);t[e>>2]=s,i=s+(r<<3)|0,t[e+8>>2]=i,t[e+4>>2]=i,t[e+12>>2]=s+(n<<3)}function UO(e,n){e=e|0,n=n|0;var r=0,i=0,s=0,l=0,a=0;i=t[e>>2]|0,a=e+4|0,l=n+4|0,s=(t[a>>2]|0)-i|0,r=(t[l>>2]|0)+(0-(s>>3)<<3)|0,t[l>>2]=r,(s|0)>0?(cn(r|0,i|0,s|0)|0,i=l,r=t[l>>2]|0):i=l,l=t[e>>2]|0,t[e>>2]=r,t[i>>2]=l,l=n+8|0,s=t[a>>2]|0,t[a>>2]=t[l>>2],t[l>>2]=s,l=e+8|0,a=n+12|0,e=t[l>>2]|0,t[l>>2]=t[a>>2],t[a>>2]=e,t[n>>2]=t[i>>2]}function jO(e){e=e|0;var n=0,r=0,i=0;n=t[e+4>>2]|0,r=e+8|0,i=t[r>>2]|0,(i|0)!=(n|0)&&(t[r>>2]=i+(~((i+-8-n|0)>>>3)<<3)),e=t[e>>2]|0,e|0&&He(e)}function hw(e){e=e|0,qO(e)}function zO(e){e=e|0,WO(e+24|0)}function WO(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function qO(e){e=e|0;var n=0;n=Cn()|0,In(e,1,12,n,HO()|0,2),t[e+24>>2]=0,t[e+28>>2]=0,t[e+32>>2]=0}function HO(){return 1896}function VO(e,n,r){e=e|0,n=n|0,r=r|0,bO(t[(GO(e)|0)>>2]|0,n,r)}function GO(e){return e=e|0,(t[(Y4()|0)+24>>2]|0)+(e<<3)|0}function bO(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0;i=m,m=m+16|0,l=i+4|0,s=i,YO(l,n),n=$O(l,n)|0,js(s,r),r=zs(s,r)|0,Ol[e&31](n,r),Ws(s),m=i}function YO(e,n){e=e|0,n=n|0}function $O(e,n){return e=e|0,n=n|0,XO(n)|0}function XO(e){return e=e|0,e|0}function KO(){var e=0;return d[8080]|0||(mw(11040),Mt(70,11040,se|0)|0,e=8080,t[e>>2]=1,t[e+4>>2]=0),mn(11040)|0||mw(11040),11040}function mw(e){e=e|0,ZO(e),ec(e,71)}function JO(e){e=e|0,QO(e+24|0)}function QO(e){e=e|0;var n=0,r=0,i=0;r=t[e>>2]|0,i=r,r|0&&(e=e+4|0,n=t[e>>2]|0,(n|0)!=(r|0)&&(t[e>>2]=n+(~((n+-8-i|0)>>>3)<<3)),He(r))}function ZO(e){e=e|0;var n=0;n=Cn()|0,In(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,d[e+8>>0]=1}function rI(){return 1936}function iI(){return oI()|0}function oI(){var e=0,n=0,r=0,i=0,s=0,l=0,a=0;return n=m,m=m+16|0,s=n+4|0,a=n,r=Ho(8)|0,e=r,l=e+4|0,t[l>>2]=Ct(1)|0,i=Ct(8)|0,l=t[l>>2]|0,t[a>>2]=0,t[s>>2]=t[a>>2],uI(i,l,s),t[r>>2]=i,m=n,e|0}function uI(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]=n,r=Ct(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 sI(e){e=e|0,t1(e),He(e)}function lI(e){e=e|0,e=t[e+12>>2]|0,e|0&&He(e)}function fI(e){e=e|0,He(e)}function cI(){var e=0;return d[8088]|0||(gI(11076),Mt(25,11076,se|0)|0,e=8088,t[e>>2]=1,t[e+4>>2]=0),11076}function aI(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 Tp()|0}function mI(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,(vf(i,896)|0)==512?r|0&&(vI(r),He(r)):n|0&&He(n)}function vI(e){e=e|0,e=t[e+4>>2]|0,e|0&&_f(e)}function gI(e){e=e|0,Us(e)}function Ku(e,n){e=e|0,n=n|0,t[e>>2]=n}function $4(e){return e=e|0,t[e>>2]|0}function _I(e){return e=e|0,d[t[e>>2]>>0]|0}function yI(e,n){e=e|0,n=n|0;var r=0,i=0;r=m,m=m+16|0,i=r,t[i>>2]=t[e>>2],wI(n,i)|0,m=r}function wI(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,i=0;return r=m,m=m+16|0,i=r,Vo(i),e=Di(e)|0,n=EI(e,t[n>>2]|0)|0,Go(i),m=r,n|0}function Vo(e){e=e|0,t[e>>2]=t[2701],t[e+4>>2]=t[2703]}function EI(e,n){e=e|0,n=n|0;var r=0;return r=yo(CI()|0)|0,Zl(0,r|0,e|0,W4(n)|0)|0}function Go(e){e=e|0,iw(t[e>>2]|0,t[e+4>>2]|0)}function CI(){var e=0;return d[8096]|0||(SI(11120),e=8096,t[e>>2]=1,t[e+4>>2]=0),11120}function SI(e){e=e|0,wo(e,TI()|0,1)}function TI(){return 1948}function xI(){kI()}function kI(){var e=0,n=0,r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0,ge=0,oe=0,ne=0;if(oe=m,m=m+16|0,S=oe+4|0,M=oe,ei(65536,10804,t[2702]|0,10812),r=j3()|0,n=t[r>>2]|0,e=t[n>>2]|0,e|0)for(i=t[r+8>>2]|0,r=t[r+4>>2]|0;ys(e|0,x[r>>0]|0|0,d[i>>0]|0),n=n+4|0,e=t[n>>2]|0,e;)i=i+1|0,r=r+1|0;if(e=z3()|0,n=t[e>>2]|0,n|0)do Jo(n|0,t[e+4>>2]|0),e=e+8|0,n=t[e>>2]|0;while((n|0)!=0);Jo(AI()|0,5167),T=Kc()|0,e=t[T>>2]|0;e:do if(e|0){do OI(t[e+4>>2]|0),e=t[e>>2]|0;while((e|0)!=0);if(e=t[T>>2]|0,e|0){y=T;do{for(;s=e,e=t[e>>2]|0,s=t[s+4>>2]|0,!!(II(s)|0);)if(t[M>>2]=y,t[S>>2]=t[M>>2],MI(T,S)|0,!e)break e;if(FI(s),y=t[y>>2]|0,n=vw(s)|0,l=Ro()|0,a=m,m=m+((1*(n<<2)|0)+15&-16)|0,_=m,m=m+((1*(n<<2)|0)+15&-16)|0,n=t[(Q3(s)|0)>>2]|0,n|0)for(r=a,i=_;t[r>>2]=t[(Jc(t[n+4>>2]|0)|0)>>2],t[i>>2]=t[n+8>>2],n=t[n>>2]|0,n;)r=r+4|0,i=i+4|0;ne=Jc(s)|0,n=RI(s)|0,r=vw(s)|0,i=PI(s)|0,Ds(ne|0,n|0,a|0,_|0,r|0,i|0,L4(s)|0),B0(l|0)}while((e|0)!=0)}}while(0);if(e=t[(N4()|0)>>2]|0,e|0)do ne=e+4|0,T=B4(ne)|0,s=I2(T)|0,l=A2(T)|0,a=(O2(T)|0)+1|0,_=Ip(T)|0,y=gw(ne)|0,T=mn(T)|0,S=kp(ne)|0,M=X4(ne)|0,Fo(0,s|0,l|0,a|0,_|0,y|0,T|0,S|0,M|0,K4(ne)|0),e=t[e>>2]|0;while((e|0)!=0);e=t[(Kc()|0)>>2]|0;e:do if(e|0){t:for(;;){if(n=t[e+4>>2]|0,n|0?(j=t[(Jc(n)|0)>>2]|0,ge=t[(Z3(n)|0)>>2]|0,ge|0):0){r=ge;do{n=r+4|0,i=B4(n)|0;n:do if(i|0)switch(mn(i)|0){case 0:break t;case 4:case 3:case 2:{_=I2(i)|0,y=A2(i)|0,T=(O2(i)|0)+1|0,S=Ip(i)|0,M=mn(i)|0,ne=kp(n)|0,Fo(j|0,_|0,y|0,T|0,S|0,0,M|0,ne|0,X4(n)|0,K4(n)|0);break n}case 1:{a=I2(i)|0,_=A2(i)|0,y=(O2(i)|0)+1|0,T=Ip(i)|0,S=gw(n)|0,M=mn(i)|0,ne=kp(n)|0,Fo(j|0,a|0,_|0,y|0,T|0,S|0,M|0,ne|0,X4(n)|0,K4(n)|0);break n}case 5:{T=I2(i)|0,S=A2(i)|0,M=(O2(i)|0)+1|0,ne=Ip(i)|0,Fo(j|0,T|0,S|0,M|0,ne|0,LI(i)|0,mn(i)|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}dn()}while(0);Ql(),m=oe}function AI(){return 11703}function OI(e){e=e|0,d[e+40>>0]=0}function II(e){return e=e|0,(d[e+40>>0]|0)!=0|0}function MI(e,n){return e=e|0,n=n|0,n=NI(n)|0,e=t[n>>2]|0,t[n>>2]=t[e>>2],He(e),t[n>>2]|0}function FI(e){e=e|0,d[e+40>>0]=1}function vw(e){return e=e|0,t[e+20>>2]|0}function RI(e){return e=e|0,t[e+8>>2]|0}function PI(e){return e=e|0,t[e+32>>2]|0}function Ip(e){return e=e|0,t[e+4>>2]|0}function gw(e){return e=e|0,t[e+4>>2]|0}function X4(e){return e=e|0,t[e+8>>2]|0}function K4(e){return e=e|0,t[e+16>>2]|0}function LI(e){return e=e|0,t[e+20>>2]|0}function NI(e){return e=e|0,t[e>>2]|0}function Mp(e){e=e|0;var n=0,r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0,ge=0,oe=0,ne=0,ke=0,Ce=0,Ne=0,ce=0,he=0,mt=0;mt=m,m=m+16|0,j=mt;do if(e>>>0<245){if(T=e>>>0<11?16:e+11&-8,e=T>>>3,M=t[2783]|0,r=M>>>e,r&3|0)return n=(r&1^1)+e|0,e=11172+(n<<1<<2)|0,r=e+8|0,i=t[r>>2]|0,s=i+8|0,l=t[s>>2]|0,(e|0)==(l|0)?t[2783]=M&~(1<<n):(t[l+12>>2]=e,t[r>>2]=l),he=n<<3,t[i+4>>2]=he|3,he=i+he+4|0,t[he>>2]=t[he>>2]|1,he=s,m=mt,he|0;if(S=t[2785]|0,T>>>0>S>>>0){if(r|0)return n=2<<e,n=r<<e&(n|0-n),n=(n&0-n)+-1|0,a=n>>>12&16,n=n>>>a,r=n>>>5&8,n=n>>>r,s=n>>>2&4,n=n>>>s,e=n>>>1&2,n=n>>>e,i=n>>>1&1,i=(r|a|s|e|i)+(n>>>i)|0,n=11172+(i<<1<<2)|0,e=n+8|0,s=t[e>>2]|0,a=s+8|0,r=t[a>>2]|0,(n|0)==(r|0)?(e=M&~(1<<i),t[2783]=e):(t[r+12>>2]=n,t[e>>2]=r,e=M),l=(i<<3)-T|0,t[s+4>>2]=T|3,i=s+T|0,t[i+4>>2]=l|1,t[i+l>>2]=l,S|0&&(s=t[2788]|0,n=S>>>3,r=11172+(n<<1<<2)|0,n=1<<n,e&n?(e=r+8|0,n=t[e>>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),t[2785]=l,t[2788]=i,he=a,m=mt,he|0;if(_=t[2784]|0,_){if(r=(_&0-_)+-1|0,a=r>>>12&16,r=r>>>a,l=r>>>5&8,r=r>>>l,y=r>>>2&4,r=r>>>y,i=r>>>1&2,r=r>>>i,e=r>>>1&1,e=t[11436+((l|a|y|i|e)+(r>>>e)<<2)>>2]|0,r=(t[e+4>>2]&-8)-T|0,i=t[e+16+(((t[e+16>>2]|0)==0&1)<<2)>>2]|0,!i)y=e,l=r;else{do a=(t[i+4>>2]&-8)-T|0,y=a>>>0<r>>>0,r=y?a:r,e=y?i:e,i=t[i+16+(((t[i+16>>2]|0)==0&1)<<2)>>2]|0;while((i|0)!=0);y=e,l=r}if(a=y+T|0,y>>>0<a>>>0){s=t[y+24>>2]|0,n=t[y+12>>2]|0;do if((n|0)==(y|0)){if(e=y+20|0,n=t[e>>2]|0,!n&&(e=y+16|0,n=t[e>>2]|0,!n)){r=0;break}for(;;){if(r=n+20|0,i=t[r>>2]|0,i|0){n=i,e=r;continue}if(r=n+16|0,i=t[r>>2]|0,i)n=i,e=r;else break}t[e>>2]=0,r=n}else r=t[y+8>>2]|0,t[r+12>>2]=n,t[n+8>>2]=r,r=n;while(0);do if(s|0){if(n=t[y+28>>2]|0,e=11436+(n<<2)|0,(y|0)==(t[e>>2]|0)){if(t[e>>2]=r,!r){t[2784]=_&~(1<<n);break}}else if(t[s+16+(((t[s+16>>2]|0)!=(y|0)&1)<<2)>>2]=r,!r)break;t[r+24>>2]=s,n=t[y+16>>2]|0,n|0&&(t[r+16>>2]=n,t[n+24>>2]=r),n=t[y+20>>2]|0,n|0&&(t[r+20>>2]=n,t[n+24>>2]=r)}while(0);return l>>>0<16?(he=l+T|0,t[y+4>>2]=he|3,he=y+he+4|0,t[he>>2]=t[he>>2]|1):(t[y+4>>2]=T|3,t[a+4>>2]=l|1,t[a+l>>2]=l,S|0&&(i=t[2788]|0,n=S>>>3,r=11172+(n<<1<<2)|0,n=1<<n,M&n?(e=r+8|0,n=t[e>>2]|0):(t[2783]=M|n,n=r,e=r+8|0),t[e>>2]=i,t[n+12>>2]=i,t[i+8>>2]=n,t[i+12>>2]=r),t[2785]=l,t[2788]=a),he=y+8|0,m=mt,he|0}else M=T}else M=T}else M=T}else if(e>>>0<=4294967231)if(e=e+11|0,T=e&-8,y=t[2784]|0,y){i=0-T|0,e=e>>>8,e?T>>>0>16777215?_=31:(M=(e+1048320|0)>>>16&8,ce=e<<M,S=(ce+520192|0)>>>16&4,ce=ce<<S,_=(ce+245760|0)>>>16&2,_=14-(S|M|_)+(ce<<_>>>15)|0,_=T>>>(_+7|0)&1|_<<1):_=0,r=t[11436+(_<<2)>>2]|0;e:do if(!r)r=0,e=0,ce=57;else for(e=0,a=T<<((_|0)==31?0:25-(_>>>1)|0),l=0;;){if(s=(t[r+4>>2]&-8)-T|0,s>>>0<i>>>0)if(s)e=r,i=s;else{e=r,i=0,s=r,ce=61;break e}if(s=t[r+20>>2]|0,r=t[r+16+(a>>>31<<2)>>2]|0,l=(s|0)==0|(s|0)==(r|0)?l:s,s=(r|0)==0,s){r=l,ce=57;break}else a=a<<((s^1)&1)}while(0);if((ce|0)==57){if((r|0)==0&(e|0)==0){if(e=2<<_,e=y&(e|0-e),!e){M=T;break}M=(e&0-e)+-1|0,a=M>>>12&16,M=M>>>a,l=M>>>5&8,M=M>>>l,_=M>>>2&4,M=M>>>_,S=M>>>1&2,M=M>>>S,r=M>>>1&1,e=0,r=t[11436+((l|a|_|S|r)+(M>>>r)<<2)>>2]|0}r?(s=r,ce=61):(_=e,a=i)}if((ce|0)==61)for(;;)if(ce=0,r=(t[s+4>>2]&-8)-T|0,M=r>>>0<i>>>0,r=M?r:i,e=M?s:e,s=t[s+16+(((t[s+16>>2]|0)==0&1)<<2)>>2]|0,s)i=r,ce=61;else{_=e,a=r;break}if((_|0)!=0?a>>>0<((t[2785]|0)-T|0)>>>0:0){if(l=_+T|0,_>>>0>=l>>>0)return he=0,m=mt,he|0;s=t[_+24>>2]|0,n=t[_+12>>2]|0;do if((n|0)==(_|0)){if(e=_+20|0,n=t[e>>2]|0,!n&&(e=_+16|0,n=t[e>>2]|0,!n)){n=0;break}for(;;){if(r=n+20|0,i=t[r>>2]|0,i|0){n=i,e=r;continue}if(r=n+16|0,i=t[r>>2]|0,i)n=i,e=r;else break}t[e>>2]=0}else he=t[_+8>>2]|0,t[he+12>>2]=n,t[n+8>>2]=he;while(0);do if(s){if(e=t[_+28>>2]|0,r=11436+(e<<2)|0,(_|0)==(t[r>>2]|0)){if(t[r>>2]=n,!n){i=y&~(1<<e),t[2784]=i;break}}else if(t[s+16+(((t[s+16>>2]|0)!=(_|0)&1)<<2)>>2]=n,!n){i=y;break}t[n+24>>2]=s,e=t[_+16>>2]|0,e|0&&(t[n+16>>2]=e,t[e+24>>2]=n),e=t[_+20>>2]|0,e&&(t[n+20>>2]=e,t[e+24>>2]=n),i=y}else i=y;while(0);do if(a>>>0>=16){if(t[_+4>>2]=T|3,t[l+4>>2]=a|1,t[l+a>>2]=a,n=a>>>3,a>>>0<256){r=11172+(n<<1<<2)|0,e=t[2783]|0,n=1<<n,e&n?(e=r+8|0,n=t[e>>2]|0):(t[2783]=e|n,n=r,e=r+8|0),t[e>>2]=l,t[n+12>>2]=l,t[l+8>>2]=n,t[l+12>>2]=r;break}if(n=a>>>8,n?a>>>0>16777215?n=31:(ce=(n+1048320|0)>>>16&8,he=n<<ce,Ne=(he+520192|0)>>>16&4,he=he<<Ne,n=(he+245760|0)>>>16&2,n=14-(Ne|ce|n)+(he<<n>>>15)|0,n=a>>>(n+7|0)&1|n<<1):n=0,r=11436+(n<<2)|0,t[l+28>>2]=n,e=l+16|0,t[e+4>>2]=0,t[e>>2]=0,e=1<<n,!(i&e)){t[2784]=i|e,t[r>>2]=l,t[l+24>>2]=r,t[l+12>>2]=l,t[l+8>>2]=l;break}for(e=a<<((n|0)==31?0:25-(n>>>1)|0),r=t[r>>2]|0;;){if((t[r+4>>2]&-8|0)==(a|0)){ce=97;break}if(i=r+16+(e>>>31<<2)|0,n=t[i>>2]|0,n)e=e<<1,r=n;else{ce=96;break}}if((ce|0)==96){t[i>>2]=l,t[l+24>>2]=r,t[l+12>>2]=l,t[l+8>>2]=l;break}else if((ce|0)==97){ce=r+8|0,he=t[ce>>2]|0,t[he+12>>2]=l,t[ce>>2]=l,t[l+8>>2]=he,t[l+12>>2]=r,t[l+24>>2]=0;break}}else he=a+T|0,t[_+4>>2]=he|3,he=_+he+4|0,t[he>>2]=t[he>>2]|1;while(0);return he=_+8|0,m=mt,he|0}else M=T}else M=T;else M=-1;while(0);if(r=t[2785]|0,r>>>0>=M>>>0)return n=r-M|0,e=t[2788]|0,n>>>0>15?(he=e+M|0,t[2788]=he,t[2785]=n,t[he+4>>2]=n|1,t[he+n>>2]=n,t[e+4>>2]=M|3):(t[2785]=0,t[2788]=0,t[e+4>>2]=r|3,he=e+r+4|0,t[he>>2]=t[he>>2]|1),he=e+8|0,m=mt,he|0;if(a=t[2786]|0,a>>>0>M>>>0)return Ne=a-M|0,t[2786]=Ne,he=t[2789]|0,ce=he+M|0,t[2789]=ce,t[ce+4>>2]=Ne|1,t[he+4>>2]=M|3,he=he+8|0,m=mt,he|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=j&-16^1431655768,t[j>>2]=e,t[2901]=e,e=4096),_=M+48|0,y=M+47|0,l=e+y|0,s=0-e|0,T=l&s,T>>>0<=M>>>0||(e=t[2893]|0,e|0?(S=t[2891]|0,j=S+T|0,j>>>0<=S>>>0|j>>>0>e>>>0):0))return he=0,m=mt,he|0;e:do if(t[2894]&4)n=0,ce=133;else{r=t[2789]|0;t:do if(r){for(i=11580;e=t[i>>2]|0,!(e>>>0<=r>>>0?(ne=i+4|0,(e+(t[ne>>2]|0)|0)>>>0>r>>>0):0);)if(e=t[i+8>>2]|0,e)i=e;else{ce=118;break t}if(n=l-a&s,n>>>0<2147483647)if(e=yf(n|0)|0,(e|0)==((t[i>>2]|0)+(t[ne>>2]|0)|0)){if((e|0)!=(-1|0)){a=n,l=e,ce=135;break e}}else i=e,ce=126;else n=0}else ce=118;while(0);do if((ce|0)==118)if(r=yf(0)|0,(r|0)!=(-1|0)?(n=r,ge=t[2902]|0,oe=ge+-1|0,n=((oe&n|0)==0?0:(oe+n&0-ge)-n|0)+T|0,ge=t[2891]|0,oe=n+ge|0,n>>>0>M>>>0&n>>>0<2147483647):0){if(ne=t[2893]|0,ne|0?oe>>>0<=ge>>>0|oe>>>0>ne>>>0:0){n=0;break}if(e=yf(n|0)|0,(e|0)==(r|0)){a=n,l=r,ce=135;break e}else i=e,ce=126}else n=0;while(0);do if((ce|0)==126){if(r=0-n|0,!(_>>>0>n>>>0&(n>>>0<2147483647&(i|0)!=(-1|0))))if((i|0)==(-1|0)){n=0;break}else{a=n,l=i,ce=135;break e}if(e=t[2903]|0,e=y-n+e&0-e,e>>>0>=2147483647){a=n,l=i,ce=135;break e}if((yf(e|0)|0)==(-1|0)){yf(r|0)|0,n=0;break}else{a=e+n|0,l=i,ce=135;break e}}while(0);t[2894]=t[2894]|4,ce=133}while(0);if((((ce|0)==133?T>>>0<2147483647:0)?(Ne=yf(T|0)|0,ne=yf(0)|0,ke=ne-Ne|0,Ce=ke>>>0>(M+40|0)>>>0,!((Ne|0)==(-1|0)|Ce^1|Ne>>>0<ne>>>0&((Ne|0)!=(-1|0)&(ne|0)!=(-1|0))^1)):0)&&(a=Ce?ke:n,l=Ne,ce=135),(ce|0)==135){n=(t[2891]|0)+a|0,t[2891]=n,n>>>0>(t[2892]|0)>>>0&&(t[2892]=n),y=t[2789]|0;do if(y){for(n=11580;;){if(e=t[n>>2]|0,r=n+4|0,i=t[r>>2]|0,(l|0)==(e+i|0)){ce=145;break}if(s=t[n+8>>2]|0,s)n=s;else break}if(((ce|0)==145?(t[n+12>>2]&8|0)==0:0)?y>>>0<l>>>0&y>>>0>=e>>>0:0){t[r>>2]=i+a,he=y+8|0,he=(he&7|0)==0?0:0-he&7,ce=y+he|0,he=(t[2786]|0)+(a-he)|0,t[2789]=ce,t[2786]=he,t[ce+4>>2]=he|1,t[ce+he+4>>2]=40,t[2790]=t[2905];break}for(l>>>0<(t[2787]|0)>>>0&&(t[2787]=l),r=l+a|0,n=11580;;){if((t[n>>2]|0)==(r|0)){ce=153;break}if(e=t[n+8>>2]|0,e)n=e;else break}if((ce|0)==153?(t[n+12>>2]&8|0)==0:0){t[n>>2]=l,S=n+4|0,t[S>>2]=(t[S>>2]|0)+a,S=l+8|0,S=l+((S&7|0)==0?0:0-S&7)|0,n=r+8|0,n=r+((n&7|0)==0?0:0-n&7)|0,T=S+M|0,_=n-S-M|0,t[S+4>>2]=M|3;do if((n|0)!=(y|0)){if((n|0)==(t[2788]|0)){he=(t[2785]|0)+_|0,t[2785]=he,t[2788]=T,t[T+4>>2]=he|1,t[T+he>>2]=he;break}if(e=t[n+4>>2]|0,(e&3|0)==1){a=e&-8,i=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<<i);break}else{t[e+12>>2]=r,t[r+8>>2]=e;break}else{l=t[n+24>>2]|0,e=t[n+12>>2]|0;do if((e|0)==(n|0)){if(i=n+16|0,r=i+4|0,e=t[r>>2]|0,!e)if(e=t[i>>2]|0,e)r=i;else{e=0;break}for(;;){if(i=e+20|0,s=t[i>>2]|0,s|0){e=s,r=i;continue}if(i=e+16|0,s=t[i>>2]|0,s)e=s,r=i;else break}t[r>>2]=0}else he=t[n+8>>2]|0,t[he+12>>2]=e,t[e+8>>2]=he;while(0);if(!l)break;r=t[n+28>>2]|0,i=11436+(r<<2)|0;do if((n|0)!=(t[i>>2]|0)){if(t[l+16+(((t[l+16>>2]|0)!=(n|0)&1)<<2)>>2]=e,!e)break e}else{if(t[i>>2]=e,e|0)break;t[2784]=t[2784]&~(1<<r);break e}while(0);if(t[e+24>>2]=l,r=n+16|0,i=t[r>>2]|0,i|0&&(t[e+16>>2]=i,t[i+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+a|0,s=a+_|0}else s=_;if(n=n+4|0,t[n>>2]=t[n>>2]&-2,t[T+4>>2]=s|1,t[T+s>>2]=s,n=s>>>3,s>>>0<256){r=11172+(n<<1<<2)|0,e=t[2783]|0,n=1<<n,e&n?(e=r+8|0,n=t[e>>2]|0):(t[2783]=e|n,n=r,e=r+8|0),t[e>>2]=T,t[n+12>>2]=T,t[T+8>>2]=n,t[T+12>>2]=r;break}n=s>>>8;do if(!n)n=0;else{if(s>>>0>16777215){n=31;break}ce=(n+1048320|0)>>>16&8,he=n<<ce,Ne=(he+520192|0)>>>16&4,he=he<<Ne,n=(he+245760|0)>>>16&2,n=14-(Ne|ce|n)+(he<<n>>>15)|0,n=s>>>(n+7|0)&1|n<<1}while(0);if(i=11436+(n<<2)|0,t[T+28>>2]=n,e=T+16|0,t[e+4>>2]=0,t[e>>2]=0,e=t[2784]|0,r=1<<n,!(e&r)){t[2784]=e|r,t[i>>2]=T,t[T+24>>2]=i,t[T+12>>2]=T,t[T+8>>2]=T;break}for(e=s<<((n|0)==31?0:25-(n>>>1)|0),r=t[i>>2]|0;;){if((t[r+4>>2]&-8|0)==(s|0)){ce=194;break}if(i=r+16+(e>>>31<<2)|0,n=t[i>>2]|0,n)e=e<<1,r=n;else{ce=193;break}}if((ce|0)==193){t[i>>2]=T,t[T+24>>2]=r,t[T+12>>2]=T,t[T+8>>2]=T;break}else if((ce|0)==194){ce=r+8|0,he=t[ce>>2]|0,t[he+12>>2]=T,t[ce>>2]=T,t[T+8>>2]=he,t[T+12>>2]=r,t[T+24>>2]=0;break}}else he=(t[2786]|0)+_|0,t[2786]=he,t[2789]=T,t[T+4>>2]=he|1;while(0);return he=S+8|0,m=mt,he|0}for(n=11580;e=t[n>>2]|0,!(e>>>0<=y>>>0?(he=e+(t[n+4>>2]|0)|0,he>>>0>y>>>0):0);)n=t[n+8>>2]|0;s=he+-47|0,e=s+8|0,e=s+((e&7|0)==0?0:0-e&7)|0,s=y+16|0,e=e>>>0<s>>>0?y:e,n=e+8|0,r=l+8|0,r=(r&7|0)==0?0:0-r&7,ce=l+r|0,r=a+-40-r|0,t[2789]=ce,t[2786]=r,t[ce+4>>2]=r|1,t[ce+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]=l,t[2896]=a,t[2898]=0,t[2897]=n,n=e+24|0;do ce=n,n=n+4|0,t[n>>2]=7;while((ce+8|0)>>>0<he>>>0);if((e|0)!=(y|0)){if(l=e-y|0,t[r>>2]=t[r>>2]&-2,t[y+4>>2]=l|1,t[e>>2]=l,n=l>>>3,l>>>0<256){r=11172+(n<<1<<2)|0,e=t[2783]|0,n=1<<n,e&n?(e=r+8|0,n=t[e>>2]|0):(t[2783]=e|n,n=r,e=r+8|0),t[e>>2]=y,t[n+12>>2]=y,t[y+8>>2]=n,t[y+12>>2]=r;break}if(n=l>>>8,n?l>>>0>16777215?r=31:(ce=(n+1048320|0)>>>16&8,he=n<<ce,Ne=(he+520192|0)>>>16&4,he=he<<Ne,r=(he+245760|0)>>>16&2,r=14-(Ne|ce|r)+(he<<r>>>15)|0,r=l>>>(r+7|0)&1|r<<1):r=0,i=11436+(r<<2)|0,t[y+28>>2]=r,t[y+20>>2]=0,t[s>>2]=0,n=t[2784]|0,e=1<<r,!(n&e)){t[2784]=n|e,t[i>>2]=y,t[y+24>>2]=i,t[y+12>>2]=y,t[y+8>>2]=y;break}for(e=l<<((r|0)==31?0:25-(r>>>1)|0),r=t[i>>2]|0;;){if((t[r+4>>2]&-8|0)==(l|0)){ce=216;break}if(i=r+16+(e>>>31<<2)|0,n=t[i>>2]|0,n)e=e<<1,r=n;else{ce=215;break}}if((ce|0)==215){t[i>>2]=y,t[y+24>>2]=r,t[y+12>>2]=y,t[y+8>>2]=y;break}else if((ce|0)==216){ce=r+8|0,he=t[ce>>2]|0,t[he+12>>2]=y,t[ce>>2]=y,t[y+8>>2]=he,t[y+12>>2]=r,t[y+24>>2]=0;break}}}else{he=t[2787]|0,(he|0)==0|l>>>0<he>>>0&&(t[2787]=l),t[2895]=l,t[2896]=a,t[2898]=0,t[2792]=t[2901],t[2791]=-1,n=0;do he=11172+(n<<1<<2)|0,t[he+12>>2]=he,t[he+8>>2]=he,n=n+1|0;while((n|0)!=32);he=l+8|0,he=(he&7|0)==0?0:0-he&7,ce=l+he|0,he=a+-40-he|0,t[2789]=ce,t[2786]=he,t[ce+4>>2]=he|1,t[ce+he+4>>2]=40,t[2790]=t[2905]}while(0);if(n=t[2786]|0,n>>>0>M>>>0)return Ne=n-M|0,t[2786]=Ne,he=t[2789]|0,ce=he+M|0,t[2789]=ce,t[ce+4>>2]=Ne|1,t[he+4>>2]=M|3,he=he+8|0,m=mt,he|0}return t[(Zc()|0)>>2]=12,he=0,m=mt,he|0}function Fp(e){e=e|0;var n=0,r=0,i=0,s=0,l=0,a=0,_=0,y=0;if(!!e){r=e+-8|0,s=t[2787]|0,e=t[e+-4>>2]|0,n=e&-8,y=r+n|0;do if(e&1)_=r,a=r;else{if(i=t[r>>2]|0,!(e&3)||(a=r+(0-i)|0,l=i+n|0,a>>>0<s>>>0))return;if((a|0)==(t[2788]|0)){if(e=y+4|0,n=t[e>>2]|0,(n&3|0)!=3){_=a,n=l;break}t[2785]=l,t[e>>2]=n&-2,t[a+4>>2]=l|1,t[a+l>>2]=l;return}if(r=i>>>3,i>>>0<256)if(e=t[a+8>>2]|0,n=t[a+12>>2]|0,(n|0)==(e|0)){t[2783]=t[2783]&~(1<<r),_=a,n=l;break}else{t[e+12>>2]=n,t[n+8>>2]=e,_=a,n=l;break}s=t[a+24>>2]|0,e=t[a+12>>2]|0;do if((e|0)==(a|0)){if(r=a+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,i=t[r>>2]|0,i|0){e=i,n=r;continue}if(r=e+16|0,i=t[r>>2]|0,i)e=i,n=r;else break}t[n>>2]=0}else _=t[a+8>>2]|0,t[_+12>>2]=e,t[e+8>>2]=_;while(0);if(s){if(n=t[a+28>>2]|0,r=11436+(n<<2)|0,(a|0)==(t[r>>2]|0)){if(t[r>>2]=e,!e){t[2784]=t[2784]&~(1<<n),_=a,n=l;break}}else if(t[s+16+(((t[s+16>>2]|0)!=(a|0)&1)<<2)>>2]=e,!e){_=a,n=l;break}t[e+24>>2]=s,n=a+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,_=a,n=l):(_=a,n=l)}else _=a,n=l}while(0);if(!(a>>>0>=y>>>0)&&(e=y+4|0,i=t[e>>2]|0,!!(i&1))){if(i&2)t[e>>2]=i&-2,t[_+4>>2]=n|1,t[a+n>>2]=n,s=n;else{if(e=t[2788]|0,(y|0)==(t[2789]|0)){if(y=(t[2786]|0)+n|0,t[2786]=y,t[2789]=_,t[_+4>>2]=y|1,(_|0)!=(e|0))return;t[2788]=0,t[2785]=0;return}if((y|0)==(e|0)){y=(t[2785]|0)+n|0,t[2785]=y,t[2788]=a,t[_+4>>2]=y|1,t[a+y>>2]=y;return}s=(i&-8)+n|0,r=i>>>3;do if(i>>>0<256)if(n=t[y+8>>2]|0,e=t[y+12>>2]|0,(e|0)==(n|0)){t[2783]=t[2783]&~(1<<r);break}else{t[n+12>>2]=e,t[e+8>>2]=n;break}else{l=t[y+24>>2]|0,e=t[y+12>>2]|0;do if((e|0)==(y|0)){if(r=y+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,i=t[r>>2]|0,i|0){e=i,n=r;continue}if(r=e+16|0,i=t[r>>2]|0,i)e=i,n=r;else break}t[n>>2]=0,r=e}else r=t[y+8>>2]|0,t[r+12>>2]=e,t[e+8>>2]=r,r=e;while(0);if(l|0){if(e=t[y+28>>2]|0,n=11436+(e<<2)|0,(y|0)==(t[n>>2]|0)){if(t[n>>2]=r,!r){t[2784]=t[2784]&~(1<<e);break}}else if(t[l+16+(((t[l+16>>2]|0)!=(y|0)&1)<<2)>>2]=r,!r)break;t[r+24>>2]=l,e=y+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[_+4>>2]=s|1,t[a+s>>2]=s,(_|0)==(t[2788]|0)){t[2785]=s;return}}if(e=s>>>3,s>>>0<256){r=11172+(e<<1<<2)|0,n=t[2783]|0,e=1<<e,n&e?(n=r+8|0,e=t[n>>2]|0):(t[2783]=n|e,e=r,n=r+8|0),t[n>>2]=_,t[e+12>>2]=_,t[_+8>>2]=e,t[_+12>>2]=r;return}e=s>>>8,e?s>>>0>16777215?e=31:(a=(e+1048320|0)>>>16&8,y=e<<a,l=(y+520192|0)>>>16&4,y=y<<l,e=(y+245760|0)>>>16&2,e=14-(l|a|e)+(y<<e>>>15)|0,e=s>>>(e+7|0)&1|e<<1):e=0,i=11436+(e<<2)|0,t[_+28>>2]=e,t[_+20>>2]=0,t[_+16>>2]=0,n=t[2784]|0,r=1<<e;do if(n&r){for(n=s<<((e|0)==31?0:25-(e>>>1)|0),r=t[i>>2]|0;;){if((t[r+4>>2]&-8|0)==(s|0)){e=73;break}if(i=r+16+(n>>>31<<2)|0,e=t[i>>2]|0,e)n=n<<1,r=e;else{e=72;break}}if((e|0)==72){t[i>>2]=_,t[_+24>>2]=r,t[_+12>>2]=_,t[_+8>>2]=_;break}else if((e|0)==73){a=r+8|0,y=t[a>>2]|0,t[y+12>>2]=_,t[a>>2]=_,t[_+8>>2]=y,t[_+12>>2]=r,t[_+24>>2]=0;break}}else t[2784]=n|r,t[i>>2]=_,t[_+24>>2]=i,t[_+12>>2]=_,t[_+8>>2]=_;while(0);if(y=(t[2791]|0)+-1|0,t[2791]=y,!y)e=11588;else return;for(;e=t[e>>2]|0,e;)e=e+8|0;t[2791]=-1}}}function BI(){return 11628}function UI(e){e=e|0;var n=0,r=0;return n=m,m=m+16|0,r=n,t[r>>2]=WI(t[e+60>>2]|0)|0,e=Rp(Cs(6,r|0)|0)|0,m=n,e|0}function _w(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0,ge=0;M=m,m=m+48|0,T=M+16|0,l=M,s=M+32|0,_=e+28|0,i=t[_>>2]|0,t[s>>2]=i,y=e+20|0,i=(t[y>>2]|0)-i|0,t[s+4>>2]=i,t[s+8>>2]=n,t[s+12>>2]=r,i=i+r|0,a=e+60|0,t[l>>2]=t[a>>2],t[l+4>>2]=s,t[l+8>>2]=2,l=Rp(U0(146,l|0)|0)|0;e:do if((i|0)!=(l|0)){for(n=2;!((l|0)<0);)if(i=i-l|0,ge=t[s+4>>2]|0,j=l>>>0>ge>>>0,s=j?s+8|0:s,n=(j<<31>>31)+n|0,ge=l-(j?ge:0)|0,t[s>>2]=(t[s>>2]|0)+ge,j=s+4|0,t[j>>2]=(t[j>>2]|0)-ge,t[T>>2]=t[a>>2],t[T+4>>2]=s,t[T+8>>2]=n,l=Rp(U0(146,T|0)|0)|0,(i|0)==(l|0)){S=3;break e}t[e+16>>2]=0,t[_>>2]=0,t[y>>2]=0,t[e>>2]=t[e>>2]|32,(n|0)==2?r=0:r=r-(t[s+4>>2]|0)|0}else S=3;while(0);return(S|0)==3&&(ge=t[e+44>>2]|0,t[e+16>>2]=ge+(t[e+48>>2]|0),t[_>>2]=ge,t[y>>2]=ge),m=M,r|0}function jI(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0;return s=m,m=m+32|0,l=s,i=s+20|0,t[l>>2]=t[e+60>>2],t[l+4>>2]=0,t[l+8>>2]=n,t[l+12>>2]=i,t[l+16>>2]=r,(Rp(Iu(140,l|0)|0)|0)<0?(t[i>>2]=-1,e=-1):e=t[i>>2]|0,m=s,e|0}function Rp(e){return e=e|0,e>>>0>4294963200&&(t[(Zc()|0)>>2]=0-e,e=-1),e|0}function Zc(){return(zI()|0)+64|0}function zI(){return J4()|0}function J4(){return 2084}function WI(e){return e=e|0,e|0}function qI(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0;return s=m,m=m+32|0,i=s,t[e+36>>2]=1,((t[e>>2]&64|0)==0?(t[i>>2]=t[e+60>>2],t[i+4>>2]=21523,t[i+8>>2]=s+16,Qo(54,i|0)|0):0)&&(d[e+75>>0]=-1),i=_w(e,n,r)|0,m=s,i|0}function yw(e,n){e=e|0,n=n|0;var r=0,i=0;if(r=d[e>>0]|0,i=d[n>>0]|0,r<<24>>24==0?1:r<<24>>24!=i<<24>>24)e=i;else{do e=e+1|0,n=n+1|0,r=d[e>>0]|0,i=d[n>>0]|0;while(!(r<<24>>24==0?1:r<<24>>24!=i<<24>>24));e=i}return(r&255)-(e&255)|0}function HI(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0;e:do if(!r)e=0;else{for(;i=d[e>>0]|0,s=d[n>>0]|0,i<<24>>24==s<<24>>24;)if(r=r+-1|0,r)e=e+1|0,n=n+1|0;else{e=0;break e}e=(i&255)-(s&255)|0}while(0);return e|0}function ww(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0,ge=0,oe=0,ne=0;ne=m,m=m+224|0,S=ne+120|0,M=ne+80|0,ge=ne,oe=ne+136|0,i=M,s=i+40|0;do t[i>>2]=0,i=i+4|0;while((i|0)<(s|0));return t[S>>2]=t[r>>2],(Q4(0,n,S,ge,M)|0)<0?r=-1:((t[e+76>>2]|0)>-1?j=VI(e)|0:j=0,r=t[e>>2]|0,T=r&32,(d[e+74>>0]|0)<1&&(t[e>>2]=r&-33),i=e+48|0,t[i>>2]|0?r=Q4(e,n,S,ge,M)|0:(s=e+44|0,l=t[s>>2]|0,t[s>>2]=oe,a=e+28|0,t[a>>2]=oe,_=e+20|0,t[_>>2]=oe,t[i>>2]=80,y=e+16|0,t[y>>2]=oe+80,r=Q4(e,n,S,ge,M)|0,l&&(Bp[t[e+36>>2]&7](e,0,0)|0,r=(t[_>>2]|0)==0?-1:r,t[s>>2]=l,t[i>>2]=0,t[y>>2]=0,t[a>>2]=0,t[_>>2]=0)),i=t[e>>2]|0,t[e>>2]=i|T,j|0&&GI(e),r=(i&32|0)==0?r:-1),m=ne,r|0}function Q4(e,n,r,i,s){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0;var l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0,ge=0,oe=0,ne=0,ke=0,Ce=0,Ne=0,ce=0,he=0,mt=0,On=0,Ut=0,xt=0,an=0,xn=0,Bt=0;Bt=m,m=m+64|0,Ut=Bt+16|0,xt=Bt,mt=Bt+24|0,an=Bt+8|0,xn=Bt+20|0,t[Ut>>2]=n,Ne=(e|0)!=0,ce=mt+40|0,he=ce,mt=mt+39|0,On=an+4|0,a=0,l=0,S=0;e:for(;;){do if((l|0)>-1)if((a|0)>(2147483647-l|0)){t[(Zc()|0)>>2]=75,l=-1;break}else{l=a+l|0;break}while(0);if(a=d[n>>0]|0,a<<24>>24)_=n;else{Ce=87;break}t:for(;;){switch(a<<24>>24){case 37:{a=_,Ce=9;break t}case 0:{a=_;break t}default:}ke=_+1|0,t[Ut>>2]=ke,a=d[ke>>0]|0,_=ke}t:do if((Ce|0)==9)for(;;){if(Ce=0,(d[_+1>>0]|0)!=37)break t;if(a=a+1|0,_=_+2|0,t[Ut>>2]=_,(d[_>>0]|0)==37)Ce=9;else break}while(0);if(a=a-n|0,Ne&&K0(e,n,a),a|0){n=_;continue}y=_+1|0,a=(d[y>>0]|0)+-48|0,a>>>0<10?(ke=(d[_+2>>0]|0)==36,ne=ke?a:-1,S=ke?1:S,y=ke?_+3|0:y):ne=-1,t[Ut>>2]=y,a=d[y>>0]|0,_=(a<<24>>24)+-32|0;t:do if(_>>>0<32)for(T=0,M=a;;){if(a=1<<_,!(a&75913)){a=M;break t}if(T=a|T,y=y+1|0,t[Ut>>2]=y,a=d[y>>0]|0,_=(a<<24>>24)+-32|0,_>>>0>=32)break;M=a}else T=0;while(0);if(a<<24>>24==42){if(_=y+1|0,a=(d[_>>0]|0)+-48|0,a>>>0<10?(d[y+2>>0]|0)==36:0)t[s+(a<<2)>>2]=10,a=t[i+((d[_>>0]|0)+-48<<3)>>2]|0,S=1,y=y+3|0;else{if(S|0){l=-1;break}Ne?(S=(t[r>>2]|0)+(4-1)&~(4-1),a=t[S>>2]|0,t[r>>2]=S+4,S=0,y=_):(a=0,S=0,y=_)}t[Ut>>2]=y,ke=(a|0)<0,a=ke?0-a|0:a,T=ke?T|8192:T}else{if(a=Dw(Ut)|0,(a|0)<0){l=-1;break}y=t[Ut>>2]|0}do if((d[y>>0]|0)==46){if((d[y+1>>0]|0)!=42){t[Ut>>2]=y+1,_=Dw(Ut)|0,y=t[Ut>>2]|0;break}if(M=y+2|0,_=(d[M>>0]|0)+-48|0,_>>>0<10?(d[y+3>>0]|0)==36:0){t[s+(_<<2)>>2]=10,_=t[i+((d[M>>0]|0)+-48<<3)>>2]|0,y=y+4|0,t[Ut>>2]=y;break}if(S|0){l=-1;break e}Ne?(ke=(t[r>>2]|0)+(4-1)&~(4-1),_=t[ke>>2]|0,t[r>>2]=ke+4):_=0,t[Ut>>2]=M,y=M}else _=-1;while(0);for(oe=0;;){if(((d[y>>0]|0)+-65|0)>>>0>57){l=-1;break e}if(ke=y+1|0,t[Ut>>2]=ke,M=d[(d[y>>0]|0)+-65+(5178+(oe*58|0))>>0]|0,j=M&255,(j+-1|0)>>>0<8)oe=j,y=ke;else break}if(!(M<<24>>24)){l=-1;break}ge=(ne|0)>-1;do if(M<<24>>24==19)if(ge){l=-1;break e}else Ce=49;else{if(ge){t[s+(ne<<2)>>2]=j,ge=i+(ne<<3)|0,ne=t[ge+4>>2]|0,Ce=xt,t[Ce>>2]=t[ge>>2],t[Ce+4>>2]=ne,Ce=49;break}if(!Ne){l=0;break e}Ew(xt,j,r)}while(0);if((Ce|0)==49?(Ce=0,!Ne):0){a=0,n=ke;continue}y=d[y>>0]|0,y=(oe|0)!=0&(y&15|0)==3?y&-33:y,ge=T&-65537,ne=(T&8192|0)==0?T:ge;t:do switch(y|0){case 110:switch((oe&255)<<24>>24){case 0:{t[t[xt>>2]>>2]=l,a=0,n=ke;continue e}case 1:{t[t[xt>>2]>>2]=l,a=0,n=ke;continue e}case 2:{a=t[xt>>2]|0,t[a>>2]=l,t[a+4>>2]=((l|0)<0)<<31>>31,a=0,n=ke;continue e}case 3:{g[t[xt>>2]>>1]=l,a=0,n=ke;continue e}case 4:{d[t[xt>>2]>>0]=l,a=0,n=ke;continue e}case 6:{t[t[xt>>2]>>2]=l,a=0,n=ke;continue e}case 7:{a=t[xt>>2]|0,t[a>>2]=l,t[a+4>>2]=((l|0)<0)<<31>>31,a=0,n=ke;continue e}default:{a=0,n=ke;continue e}}case 112:{y=120,_=_>>>0>8?_:8,n=ne|8,Ce=61;break}case 88:case 120:{n=ne,Ce=61;break}case 111:{y=xt,n=t[y>>2]|0,y=t[y+4>>2]|0,j=YI(n,y,ce)|0,ge=he-j|0,T=0,M=5642,_=(ne&8|0)==0|(_|0)>(ge|0)?_:ge+1|0,ge=ne,Ce=67;break}case 105:case 100:if(y=xt,n=t[y>>2]|0,y=t[y+4>>2]|0,(y|0)<0){n=Pp(0,0,n|0,y|0)|0,y=Ve,T=xt,t[T>>2]=n,t[T+4>>2]=y,T=1,M=5642,Ce=66;break t}else{T=(ne&2049|0)!=0&1,M=(ne&2048|0)==0?(ne&1|0)==0?5642:5644:5643,Ce=66;break t}case 117:{y=xt,T=0,M=5642,n=t[y>>2]|0,y=t[y+4>>2]|0,Ce=66;break}case 99:{d[mt>>0]=t[xt>>2],n=mt,T=0,M=5642,j=ce,y=1,_=ge;break}case 109:{y=$I(t[(Zc()|0)>>2]|0)|0,Ce=71;break}case 115:{y=t[xt>>2]|0,y=y|0?y:5652,Ce=71;break}case 67:{t[an>>2]=t[xt>>2],t[On>>2]=0,t[xt>>2]=an,j=-1,y=an,Ce=75;break}case 83:{n=t[xt>>2]|0,_?(j=_,y=n,Ce=75):(pi(e,32,a,0,ne),n=0,Ce=84);break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{a=KI(e,+L[xt>>3],a,_,ne,y)|0,n=ke;continue e}default:T=0,M=5642,j=ce,y=_,_=ne}while(0);t:do if((Ce|0)==61)ne=xt,oe=t[ne>>2]|0,ne=t[ne+4>>2]|0,j=bI(oe,ne,ce,y&32)|0,M=(n&8|0)==0|(oe|0)==0&(ne|0)==0,T=M?0:2,M=M?5642:5642+(y>>4)|0,ge=n,n=oe,y=ne,Ce=67;else if((Ce|0)==66)j=e1(n,y,ce)|0,ge=ne,Ce=67;else if((Ce|0)==71)Ce=0,ne=XI(y,0,_)|0,oe=(ne|0)==0,n=y,T=0,M=5642,j=oe?y+_|0:ne,y=oe?_:ne-y|0,_=ge;else if((Ce|0)==75){for(Ce=0,M=y,n=0,_=0;T=t[M>>2]|0,!(!T||(_=Cw(xn,T)|0,(_|0)<0|_>>>0>(j-n|0)>>>0));)if(n=_+n|0,j>>>0>n>>>0)M=M+4|0;else break;if((_|0)<0){l=-1;break e}if(pi(e,32,a,n,ne),!n)n=0,Ce=84;else for(T=0;;){if(_=t[y>>2]|0,!_){Ce=84;break t}if(_=Cw(xn,_)|0,T=_+T|0,(T|0)>(n|0)){Ce=84;break t}if(K0(e,xn,_),T>>>0>=n>>>0){Ce=84;break}else y=y+4|0}}while(0);if((Ce|0)==67)Ce=0,y=(n|0)!=0|(y|0)!=0,ne=(_|0)!=0|y,y=((y^1)&1)+(he-j)|0,n=ne?j:ce,j=ce,y=ne?(_|0)>(y|0)?_:y:_,_=(_|0)>-1?ge&-65537:ge;else if((Ce|0)==84){Ce=0,pi(e,32,a,n,ne^8192),a=(a|0)>(n|0)?a:n,n=ke;continue}oe=j-n|0,ge=(y|0)<(oe|0)?oe:y,ne=ge+T|0,a=(a|0)<(ne|0)?ne:a,pi(e,32,a,ne,_),K0(e,M,T),pi(e,48,a,ne,_^65536),pi(e,48,ge,oe,0),K0(e,n,oe),pi(e,32,a,ne,_^8192),n=ke}e:do if((Ce|0)==87&&!e)if(!S)l=0;else{for(l=1;n=t[s+(l<<2)>>2]|0,!!n;)if(Ew(i+(l<<3)|0,n,r),l=l+1|0,(l|0)>=10){l=1;break e}for(;;){if(t[s+(l<<2)>>2]|0){l=-1;break e}if(l=l+1|0,(l|0)>=10){l=1;break}}}while(0);return m=Bt,l|0}function VI(e){return e=e|0,0}function GI(e){e=e|0}function K0(e,n,r){e=e|0,n=n|0,r=r|0,t[e>>2]&32||oM(n,r,e)|0}function Dw(e){e=e|0;var n=0,r=0,i=0;if(r=t[e>>2]|0,i=(d[r>>0]|0)+-48|0,i>>>0<10){n=0;do n=i+(n*10|0)|0,r=r+1|0,t[e>>2]=r,i=(d[r>>0]|0)+-48|0;while(i>>>0<10)}else n=0;return n|0}function Ew(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0;e:do if(n>>>0<=20)do switch(n|0){case 9:{i=(t[r>>2]|0)+(4-1)&~(4-1),n=t[i>>2]|0,t[r>>2]=i+4,t[e>>2]=n;break e}case 10:{i=(t[r>>2]|0)+(4-1)&~(4-1),n=t[i>>2]|0,t[r>>2]=i+4,i=e,t[i>>2]=n,t[i+4>>2]=((n|0)<0)<<31>>31;break e}case 11:{i=(t[r>>2]|0)+(4-1)&~(4-1),n=t[i>>2]|0,t[r>>2]=i+4,i=e,t[i>>2]=n,t[i+4>>2]=0;break e}case 12:{i=(t[r>>2]|0)+(8-1)&~(8-1),n=i,s=t[n>>2]|0,n=t[n+4>>2]|0,t[r>>2]=i+8,i=e,t[i>>2]=s,t[i+4>>2]=n;break e}case 13:{s=(t[r>>2]|0)+(4-1)&~(4-1),i=t[s>>2]|0,t[r>>2]=s+4,i=(i&65535)<<16>>16,s=e,t[s>>2]=i,t[s+4>>2]=((i|0)<0)<<31>>31;break e}case 14:{s=(t[r>>2]|0)+(4-1)&~(4-1),i=t[s>>2]|0,t[r>>2]=s+4,s=e,t[s>>2]=i&65535,t[s+4>>2]=0;break e}case 15:{s=(t[r>>2]|0)+(4-1)&~(4-1),i=t[s>>2]|0,t[r>>2]=s+4,i=(i&255)<<24>>24,s=e,t[s>>2]=i,t[s+4>>2]=((i|0)<0)<<31>>31;break e}case 16:{s=(t[r>>2]|0)+(4-1)&~(4-1),i=t[s>>2]|0,t[r>>2]=s+4,s=e,t[s>>2]=i&255,t[s+4>>2]=0;break e}case 17:{s=(t[r>>2]|0)+(8-1)&~(8-1),l=+L[s>>3],t[r>>2]=s+8,L[e>>3]=l;break e}case 18:{s=(t[r>>2]|0)+(8-1)&~(8-1),l=+L[s>>3],t[r>>2]=s+8,L[e>>3]=l;break e}default:break e}while(0);while(0)}function bI(e,n,r,i){if(e=e|0,n=n|0,r=r|0,i=i|0,!((e|0)==0&(n|0)==0))do r=r+-1|0,d[r>>0]=x[5694+(e&15)>>0]|0|i,e=Lp(e|0,n|0,4)|0,n=Ve;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,d[r>>0]=e&7|48,e=Lp(e|0,n|0,3)|0,n=Ve;while(!((e|0)==0&(n|0)==0));return r|0}function e1(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;if(n>>>0>0|(n|0)==0&e>>>0>4294967295){for(;i=n_(e|0,n|0,10,0)|0,r=r+-1|0,d[r>>0]=i&255|48,i=e,e=t_(e|0,n|0,10,0)|0,n>>>0>9|(n|0)==9&i>>>0>4294967295;)n=Ve;n=e}else n=e;if(n)for(;r=r+-1|0,d[r>>0]=(n>>>0)%10|0|48,!(n>>>0<10);)n=(n>>>0)/10|0;return r|0}function $I(e){return e=e|0,tM(e,t[(eM()|0)+188>>2]|0)|0}function XI(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;l=n&255,i=(r|0)!=0;e:do if(i&(e&3|0)!=0)for(s=n&255;;){if((d[e>>0]|0)==s<<24>>24){a=6;break e}if(e=e+1|0,r=r+-1|0,i=(r|0)!=0,!(i&(e&3|0)!=0)){a=5;break}}else a=5;while(0);(a|0)==5&&(i?a=6:r=0);e:do if((a|0)==6&&(s=n&255,(d[e>>0]|0)!=s<<24>>24)){i=Rn(l,16843009)|0;t:do if(r>>>0>3){for(;l=t[e>>2]^i,!((l&-2139062144^-2139062144)&l+-16843009|0);)if(e=e+4|0,r=r+-4|0,r>>>0<=3){a=11;break t}}else a=11;while(0);if((a|0)==11&&!r){r=0;break}for(;;){if((d[e>>0]|0)==s<<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 pi(e,n,r,i,s){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0;var l=0,a=0;if(a=m,m=m+256|0,l=a,(r|0)>(i|0)&(s&73728|0)==0){if(s=r-i|0,n1(l|0,n|0,(s>>>0<256?s:256)|0)|0,s>>>0>255){n=r-i|0;do K0(e,l,256),s=s+-256|0;while(s>>>0>255);s=n&255}K0(e,l,s)}m=a}function Cw(e,n){return e=e|0,n=n|0,e?e=QI(e,n,0)|0:e=0,e|0}function KI(e,n,r,i,s,l){e=e|0,n=+n,r=r|0,i=i|0,s=s|0,l=l|0;var a=0,_=0,y=0,T=0,S=0,M=0,j=0,ge=0,oe=0,ne=0,ke=0,Ce=0,Ne=0,ce=0,he=0,mt=0,On=0,Ut=0,xt=0,an=0,xn=0,Bt=0,hr=0;hr=m,m=m+560|0,y=hr+8|0,ke=hr,Bt=hr+524|0,xn=Bt,T=hr+512|0,t[ke>>2]=0,an=T+12|0,Sw(n)|0,(Ve|0)<0?(n=-n,Ut=1,On=5659):(Ut=(s&2049|0)!=0&1,On=(s&2048|0)==0?(s&1|0)==0?5660:5665:5662),Sw(n)|0,xt=Ve&2146435072;do if(xt>>>0<2146435072|(xt|0)==2146435072&0<0){if(ge=+JI(n,ke)*2,a=ge!=0,a&&(t[ke>>2]=(t[ke>>2]|0)+-1),Ne=l|32,(Ne|0)==97){oe=l&32,j=(oe|0)==0?On:On+9|0,M=Ut|2,a=12-i|0;do if(i>>>0>11|(a|0)==0)n=ge;else{n=8;do a=a+-1|0,n=n*16;while((a|0)!=0);if((d[j>>0]|0)==45){n=-(n+(-ge-n));break}else{n=ge+n-n;break}}while(0);_=t[ke>>2]|0,a=(_|0)<0?0-_|0:_,a=e1(a,((a|0)<0)<<31>>31,an)|0,(a|0)==(an|0)&&(a=T+11|0,d[a>>0]=48),d[a+-1>>0]=(_>>31&2)+43,S=a+-2|0,d[S>>0]=l+15,T=(i|0)<1,y=(s&8|0)==0,a=Bt;do xt=~~n,_=a+1|0,d[a>>0]=x[5694+xt>>0]|oe,n=(n-+(xt|0))*16,((_-xn|0)==1?!(y&(T&n==0)):0)?(d[_>>0]=46,a=a+2|0):a=_;while(n!=0);xt=a-xn|0,xn=an-S|0,an=(i|0)!=0&(xt+-2|0)<(i|0)?i+2|0:xt,a=xn+M+an|0,pi(e,32,r,a,s),K0(e,j,M),pi(e,48,r,a,s^65536),K0(e,Bt,xt),pi(e,48,an-xt|0,0,0),K0(e,S,xn),pi(e,32,r,a,s^8192);break}_=(i|0)<0?6:i,a?(a=(t[ke>>2]|0)+-28|0,t[ke>>2]=a,n=ge*268435456):(n=ge,a=t[ke>>2]|0),xt=(a|0)<0?y:y+288|0,y=xt;do he=~~n>>>0,t[y>>2]=he,y=y+4|0,n=(n-+(he>>>0))*1e9;while(n!=0);if((a|0)>0)for(T=xt,M=y;;){if(S=(a|0)<29?a:29,a=M+-4|0,a>>>0>=T>>>0){y=0;do ce=Iw(t[a>>2]|0,0,S|0)|0,ce=e_(ce|0,Ve|0,y|0,0)|0,he=Ve,Ce=n_(ce|0,he|0,1e9,0)|0,t[a>>2]=Ce,y=t_(ce|0,he|0,1e9,0)|0,a=a+-4|0;while(a>>>0>=T>>>0);y&&(T=T+-4|0,t[T>>2]=y)}for(y=M;!(y>>>0<=T>>>0);)if(a=y+-4|0,!(t[a>>2]|0))y=a;else break;if(a=(t[ke>>2]|0)-S|0,t[ke>>2]=a,(a|0)>0)M=y;else break}else T=xt;if((a|0)<0){i=((_+25|0)/9|0)+1|0,ne=(Ne|0)==102;do{if(oe=0-a|0,oe=(oe|0)<9?oe:9,T>>>0<y>>>0){S=(1<<oe)+-1|0,M=1e9>>>oe,j=0,a=T;do he=t[a>>2]|0,t[a>>2]=(he>>>oe)+j,j=Rn(he&S,M)|0,a=a+4|0;while(a>>>0<y>>>0);a=(t[T>>2]|0)==0?T+4|0:T,j?(t[y>>2]=j,T=a,a=y+4|0):(T=a,a=y)}else T=(t[T>>2]|0)==0?T+4|0:T,a=y;y=ne?xt:T,y=(a-y>>2|0)>(i|0)?y+(i<<2)|0:a,a=(t[ke>>2]|0)+oe|0,t[ke>>2]=a}while((a|0)<0);a=T,i=y}else a=T,i=y;if(he=xt,a>>>0<i>>>0){if(y=(he-a>>2)*9|0,S=t[a>>2]|0,S>>>0>=10){T=10;do T=T*10|0,y=y+1|0;while(S>>>0>=T>>>0)}}else y=0;if(ne=(Ne|0)==103,Ce=(_|0)!=0,T=_-((Ne|0)!=102?y:0)+((Ce&ne)<<31>>31)|0,(T|0)<(((i-he>>2)*9|0)+-9|0)){if(T=T+9216|0,oe=xt+4+(((T|0)/9|0)+-1024<<2)|0,T=((T|0)%9|0)+1|0,(T|0)<9){S=10;do S=S*10|0,T=T+1|0;while((T|0)!=9)}else S=10;if(M=t[oe>>2]|0,j=(M>>>0)%(S>>>0)|0,T=(oe+4|0)==(i|0),T&(j|0)==0)T=oe;else if(ge=(((M>>>0)/(S>>>0)|0)&1|0)==0?9007199254740992:9007199254740994,ce=(S|0)/2|0,n=j>>>0<ce>>>0?.5:T&(j|0)==(ce|0)?1:1.5,Ut&&(ce=(d[On>>0]|0)==45,n=ce?-n:n,ge=ce?-ge:ge),T=M-j|0,t[oe>>2]=T,ge+n!=ge){if(ce=T+S|0,t[oe>>2]=ce,ce>>>0>999999999)for(y=oe;T=y+-4|0,t[y>>2]=0,T>>>0<a>>>0&&(a=a+-4|0,t[a>>2]=0),ce=(t[T>>2]|0)+1|0,t[T>>2]=ce,ce>>>0>999999999;)y=T;else T=oe;if(y=(he-a>>2)*9|0,M=t[a>>2]|0,M>>>0>=10){S=10;do S=S*10|0,y=y+1|0;while(M>>>0>=S>>>0)}}else T=oe;T=T+4|0,T=i>>>0>T>>>0?T:i,ce=a}else T=i,ce=a;for(Ne=T;;){if(Ne>>>0<=ce>>>0){ke=0;break}if(a=Ne+-4|0,!(t[a>>2]|0))Ne=a;else{ke=1;break}}i=0-y|0;do if(ne)if(a=((Ce^1)&1)+_|0,(a|0)>(y|0)&(y|0)>-5?(S=l+-1|0,_=a+-1-y|0):(S=l+-2|0,_=a+-1|0),a=s&8,a)oe=a;else{if(ke?(mt=t[Ne+-4>>2]|0,(mt|0)!=0):0)if((mt>>>0)%10|0)T=0;else{T=0,a=10;do a=a*10|0,T=T+1|0;while(!((mt>>>0)%(a>>>0)|0|0))}else T=9;if(a=((Ne-he>>2)*9|0)+-9|0,(S|32|0)==102){oe=a-T|0,oe=(oe|0)>0?oe:0,_=(_|0)<(oe|0)?_:oe,oe=0;break}else{oe=a+y-T|0,oe=(oe|0)>0?oe:0,_=(_|0)<(oe|0)?_:oe,oe=0;break}}else S=l,oe=s&8;while(0);if(ne=_|oe,M=(ne|0)!=0&1,j=(S|32|0)==102,j)Ce=0,a=(y|0)>0?y:0;else{if(a=(y|0)<0?i:y,a=e1(a,((a|0)<0)<<31>>31,an)|0,T=an,(T-a|0)<2)do a=a+-1|0,d[a>>0]=48;while((T-a|0)<2);d[a+-1>>0]=(y>>31&2)+43,a=a+-2|0,d[a>>0]=S,Ce=a,a=T-a|0}if(a=Ut+1+_+M+a|0,pi(e,32,r,a,s),K0(e,On,Ut),pi(e,48,r,a,s^65536),j){S=ce>>>0>xt>>>0?xt:ce,oe=Bt+9|0,M=oe,j=Bt+8|0,T=S;do{if(y=e1(t[T>>2]|0,0,oe)|0,(T|0)==(S|0))(y|0)==(oe|0)&&(d[j>>0]=48,y=j);else if(y>>>0>Bt>>>0){n1(Bt|0,48,y-xn|0)|0;do y=y+-1|0;while(y>>>0>Bt>>>0)}K0(e,y,M-y|0),T=T+4|0}while(T>>>0<=xt>>>0);if(ne|0&&K0(e,5710,1),T>>>0<Ne>>>0&(_|0)>0)for(;;){if(y=e1(t[T>>2]|0,0,oe)|0,y>>>0>Bt>>>0){n1(Bt|0,48,y-xn|0)|0;do y=y+-1|0;while(y>>>0>Bt>>>0)}if(K0(e,y,(_|0)<9?_:9),T=T+4|0,y=_+-9|0,T>>>0<Ne>>>0&(_|0)>9)_=y;else{_=y;break}}pi(e,48,_+9|0,9,0)}else{if(ne=ke?Ne:ce+4|0,(_|0)>-1){ke=Bt+9|0,oe=(oe|0)==0,i=ke,M=0-xn|0,j=Bt+8|0,S=ce;do{y=e1(t[S>>2]|0,0,ke)|0,(y|0)==(ke|0)&&(d[j>>0]=48,y=j);do if((S|0)==(ce|0)){if(T=y+1|0,K0(e,y,1),oe&(_|0)<1){y=T;break}K0(e,5710,1),y=T}else{if(y>>>0<=Bt>>>0)break;n1(Bt|0,48,y+M|0)|0;do y=y+-1|0;while(y>>>0>Bt>>>0)}while(0);xn=i-y|0,K0(e,y,(_|0)>(xn|0)?xn:_),_=_-xn|0,S=S+4|0}while(S>>>0<ne>>>0&(_|0)>-1)}pi(e,48,_+18|0,18,0),K0(e,Ce,an-Ce|0)}pi(e,32,r,a,s^8192)}else Bt=(l&32|0)!=0,a=Ut+3|0,pi(e,32,r,a,s&-65537),K0(e,On,Ut),K0(e,n!=n|!1?Bt?5686:5690:Bt?5678:5682,3),pi(e,32,r,a,s^8192);while(0);return m=hr,((a|0)<(r|0)?r:a)|0}function Sw(e){e=+e;var n=0;return L[W>>3]=e,n=t[W>>2]|0,Ve=t[W+4>>2]|0,n|0}function JI(e,n){return e=+e,n=n|0,+ +Tw(e,n)}function Tw(e,n){e=+e,n=n|0;var r=0,i=0,s=0;switch(L[W>>3]=e,r=t[W>>2]|0,i=t[W+4>>2]|0,s=Lp(r|0,i|0,52)|0,s&2047){case 0:{e!=0?(e=+Tw(e*18446744073709552e3,n),r=(t[n>>2]|0)+-64|0):r=0,t[n>>2]=r;break}case 2047:break;default:t[n>>2]=(s&2047)+-1022,t[W>>2]=r,t[W+4>>2]=i&-2146435073|1071644672,e=+L[W>>3]}return+e}function QI(e,n,r){e=e|0,n=n|0,r=r|0;do if(e){if(n>>>0<128){d[e>>0]=n,e=1;break}if(!(t[t[(ZI()|0)+188>>2]>>2]|0))if((n&-128|0)==57216){d[e>>0]=n,e=1;break}else{t[(Zc()|0)>>2]=84,e=-1;break}if(n>>>0<2048){d[e>>0]=n>>>6|192,d[e+1>>0]=n&63|128,e=2;break}if(n>>>0<55296|(n&-8192|0)==57344){d[e>>0]=n>>>12|224,d[e+1>>0]=n>>>6&63|128,d[e+2>>0]=n&63|128,e=3;break}if((n+-65536|0)>>>0<1048576){d[e>>0]=n>>>18|240,d[e+1>>0]=n>>>12&63|128,d[e+2>>0]=n>>>6&63|128,d[e+3>>0]=n&63|128,e=4;break}else{t[(Zc()|0)>>2]=84,e=-1;break}}else e=1;while(0);return e|0}function ZI(){return J4()|0}function eM(){return J4()|0}function tM(e,n){e=e|0,n=n|0;var r=0,i=0;for(i=0;;){if((x[5712+i>>0]|0)==(e|0)){e=2;break}if(r=i+1|0,(r|0)==87){r=5800,i=87,e=5;break}else i=r}if((e|0)==2&&(i?(r=5800,e=5):r=5800),(e|0)==5)for(;;){do e=r,r=r+1|0;while((d[e>>0]|0)!=0);if(i=i+-1|0,i)e=5;else break}return nM(r,t[n+20>>2]|0)|0}function nM(e,n){return e=e|0,n=n|0,rM(e,n)|0}function rM(e,n){return e=e|0,n=n|0,n?n=iM(t[n>>2]|0,t[n+4>>2]|0,e)|0:n=0,(n|0?n:e)|0}function iM(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0;j=(t[e>>2]|0)+1794895138|0,l=nc(t[e+8>>2]|0,j)|0,i=nc(t[e+12>>2]|0,j)|0,s=nc(t[e+16>>2]|0,j)|0;e:do if((l>>>0<n>>>2>>>0?(M=n-(l<<2)|0,i>>>0<M>>>0&s>>>0<M>>>0):0)?((s|i)&3|0)==0:0){for(M=i>>>2,S=s>>>2,T=0;;){if(_=l>>>1,y=T+_|0,a=y<<1,s=a+M|0,i=nc(t[e+(s<<2)>>2]|0,j)|0,s=nc(t[e+(s+1<<2)>>2]|0,j)|0,!(s>>>0<n>>>0&i>>>0<(n-s|0)>>>0)){i=0;break e}if(d[e+(s+i)>>0]|0){i=0;break e}if(i=yw(r,e+s|0)|0,!i)break;if(i=(i|0)<0,(l|0)==1){i=0;break e}else T=i?T:y,l=i?_:l-_|0}i=a+S|0,s=nc(t[e+(i<<2)>>2]|0,j)|0,i=nc(t[e+(i+1<<2)>>2]|0,j)|0,i>>>0<n>>>0&s>>>0<(n-i|0)>>>0?i=(d[e+(i+s)>>0]|0)==0?e+i|0:0:i=0}else i=0;while(0);return i|0}function nc(e,n){e=e|0,n=n|0;var r=0;return r=Rw(e|0)|0,((n|0)==0?e:r)|0}function oM(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0,_=0;i=r+16|0,s=t[i>>2]|0,s?l=5:uM(r)|0?i=0:(s=t[i>>2]|0,l=5);e:do if((l|0)==5){if(_=r+20|0,a=t[_>>2]|0,i=a,(s-a|0)>>>0<n>>>0){i=Bp[t[r+36>>2]&7](r,e,n)|0;break}t:do if((d[r+75>>0]|0)>-1){for(a=n;;){if(!a){l=0,s=e;break t}if(s=a+-1|0,(d[e+s>>0]|0)==10)break;a=s}if(i=Bp[t[r+36>>2]&7](r,e,a)|0,i>>>0<a>>>0)break e;l=a,s=e+a|0,n=n-a|0,i=t[_>>2]|0}else l=0,s=e;while(0);cn(i|0,s|0,n|0)|0,t[_>>2]=(t[_>>2]|0)+n,i=l+n|0}while(0);return i|0}function uM(e){e=e|0;var n=0,r=0;return n=e+74|0,r=d[n>>0]|0,d[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 Rr(e,n){e=w(e),n=w(n);var r=0,i=0;r=xw(e)|0;do if((r&2147483647)>>>0<=2139095040){if(i=xw(n)|0,(i&2147483647)>>>0<=2139095040)if((i^r|0)<0){e=(r|0)<0?n:e;break}else{e=e<n?n:e;break}}else e=n;while(0);return w(e)}function xw(e){return e=w(e),E[W>>2]=e,t[W>>2]|0|0}function rc(e,n){e=w(e),n=w(n);var r=0,i=0;r=kw(e)|0;do if((r&2147483647)>>>0<=2139095040){if(i=kw(n)|0,(i&2147483647)>>>0<=2139095040)if((i^r|0)<0){e=(r|0)<0?e:n;break}else{e=e<n?e:n;break}}else e=n;while(0);return w(e)}function kw(e){return e=w(e),E[W>>2]=e,t[W>>2]|0|0}function Z4(e,n){e=w(e),n=w(n);var r=0,i=0,s=0,l=0,a=0,_=0,y=0,T=0;l=(E[W>>2]=e,t[W>>2]|0),_=(E[W>>2]=n,t[W>>2]|0),r=l>>>23&255,a=_>>>23&255,y=l&-2147483648,s=_<<1;e:do if((s|0)!=0?!((r|0)==255|((sM(n)|0)&2147483647)>>>0>2139095040):0){if(i=l<<1,i>>>0<=s>>>0)return n=w(e*w(0)),w((i|0)==(s|0)?n:e);if(r)i=l&8388607|8388608;else{if(r=l<<9,(r|0)>-1){i=r,r=0;do r=r+-1|0,i=i<<1;while((i|0)>-1)}else r=0;i=l<<1-r}if(a)_=_&8388607|8388608;else{if(l=_<<9,(l|0)>-1){s=0;do s=s+-1|0,l=l<<1;while((l|0)>-1)}else s=0;a=s,_=_<<1-s}s=i-_|0,l=(s|0)>-1;t:do if((r|0)>(a|0)){for(;;){if(l)if(s)i=s;else break;if(i=i<<1,r=r+-1|0,s=i-_|0,l=(s|0)>-1,(r|0)<=(a|0))break t}n=w(e*w(0));break e}while(0);if(l)if(s)i=s;else{n=w(e*w(0));break}if(i>>>0<8388608)do i=i<<1,r=r+-1|0;while(i>>>0<8388608);(r|0)>0?r=i+-8388608|r<<23:r=i>>>(1-r|0),n=(t[W>>2]=r|y,w(E[W>>2]))}else T=3;while(0);return(T|0)==3&&(n=w(e*n),n=w(n/n)),w(n)}function sM(e){return e=w(e),E[W>>2]=e,t[W>>2]|0|0}function lM(e,n){return e=e|0,n=n|0,ww(t[582]|0,e,n)|0}function Wn(e){e=e|0,dn()}function t1(e){e=e|0}function fM(e,n){return e=e|0,n=n|0,0}function cM(e){return e=e|0,(Aw(e+4|0)|0)==-1?(Al[t[(t[e>>2]|0)+8>>2]&127](e),e=1):e=0,e|0}function Aw(e){e=e|0;var n=0;return n=t[e>>2]|0,t[e>>2]=n+-1,n+-1|0}function _f(e){e=e|0,cM(e)|0&&aM(e)}function aM(e){e=e|0;var n=0;n=e+8|0,((t[n>>2]|0)!=0?(Aw(n)|0)!=-1:0)||Al[t[(t[e>>2]|0)+16>>2]&127](e)}function Ct(e){e=e|0;var n=0;for(n=(e|0)==0?1:e;e=Mp(n)|0,!(e|0);){if(e=pM()|0,!e){e=0;break}Hw[e&0]()}return e|0}function Ow(e){return e=e|0,Ct(e)|0}function He(e){e=e|0,Fp(e)}function dM(e){e=e|0,(d[e+11>>0]|0)<0&&He(t[e>>2]|0)}function pM(){var e=0;return e=t[2923]|0,t[2923]=e+0,e|0}function hM(){}function Pp(e,n,r,i){return e=e|0,n=n|0,r=r|0,i=i|0,i=n-i-(r>>>0>e>>>0|0)>>>0,Ve=i,e-r>>>0|0|0}function e_(e,n,r,i){return e=e|0,n=n|0,r=r|0,i=i|0,r=e+r>>>0,Ve=n+i+(r>>>0<e>>>0|0)>>>0,r|0|0}function n1(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0,a=0;if(l=e+r|0,n=n&255,(r|0)>=67){for(;e&3;)d[e>>0]=n,e=e+1|0;for(i=l&-4|0,s=i-64|0,a=n|n<<8|n<<16|n<<24;(e|0)<=(s|0);)t[e>>2]=a,t[e+4>>2]=a,t[e+8>>2]=a,t[e+12>>2]=a,t[e+16>>2]=a,t[e+20>>2]=a,t[e+24>>2]=a,t[e+28>>2]=a,t[e+32>>2]=a,t[e+36>>2]=a,t[e+40>>2]=a,t[e+44>>2]=a,t[e+48>>2]=a,t[e+52>>2]=a,t[e+56>>2]=a,t[e+60>>2]=a,e=e+64|0;for(;(e|0)<(i|0);)t[e>>2]=a,e=e+4|0}for(;(e|0)<(l|0);)d[e>>0]=n,e=e+1|0;return l-r|0}function Iw(e,n,r){return e=e|0,n=n|0,r=r|0,(r|0)<32?(Ve=n<<r|(e&(1<<r)-1<<32-r)>>>32-r,e<<r):(Ve=e<<r-32,0)}function Lp(e,n,r){return e=e|0,n=n|0,r=r|0,(r|0)<32?(Ve=n>>>r,e>>>r|(n&(1<<r)-1)<<32-r):(Ve=0,n>>>r-32|0)}function cn(e,n,r){e=e|0,n=n|0,r=r|0;var i=0,s=0,l=0;if((r|0)>=8192)return ao(e|0,n|0,r|0)|0;if(l=e|0,s=e+r|0,(e&3)==(n&3)){for(;e&3;){if(!r)return l|0;d[e>>0]=d[n>>0]|0,e=e+1|0,n=n+1|0,r=r-1|0}for(r=s&-4|0,i=r-64|0;(e|0)<=(i|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=s-4|0;(e|0)<(r|0);)d[e>>0]=d[n>>0]|0,d[e+1>>0]=d[n+1>>0]|0,d[e+2>>0]=d[n+2>>0]|0,d[e+3>>0]=d[n+3>>0]|0,e=e+4|0,n=n+4|0;for(;(e|0)<(s|0);)d[e>>0]=d[n>>0]|0,e=e+1|0,n=n+1|0;return l|0}function Mw(e){e=e|0;var n=0;return n=d[ye+(e&255)>>0]|0,(n|0)<8?n|0:(n=d[ye+(e>>8&255)>>0]|0,(n|0)<8?n+8|0:(n=d[ye+(e>>16&255)>>0]|0,(n|0)<8?n+16|0:(d[ye+(e>>>24)>>0]|0)+24|0))}function Fw(e,n,r,i,s){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0;var l=0,a=0,_=0,y=0,T=0,S=0,M=0,j=0,ge=0,oe=0;if(S=e,y=n,T=y,a=r,j=i,_=j,!T)return l=(s|0)!=0,_?l?(t[s>>2]=e|0,t[s+4>>2]=n&0,j=0,s=0,Ve=j,s|0):(j=0,s=0,Ve=j,s|0):(l&&(t[s>>2]=(S>>>0)%(a>>>0),t[s+4>>2]=0),j=0,s=(S>>>0)/(a>>>0)>>>0,Ve=j,s|0);l=(_|0)==0;do if(a){if(!l){if(l=(nr(_|0)|0)-(nr(T|0)|0)|0,l>>>0<=31){M=l+1|0,_=31-l|0,n=l-31>>31,a=M,e=S>>>(M>>>0)&n|T<<_,n=T>>>(M>>>0)&n,l=0,_=S<<_;break}return s?(t[s>>2]=e|0,t[s+4>>2]=y|n&0,j=0,s=0,Ve=j,s|0):(j=0,s=0,Ve=j,s|0)}if(l=a-1|0,l&a|0){_=(nr(a|0)|0)+33-(nr(T|0)|0)|0,oe=64-_|0,M=32-_|0,y=M>>31,ge=_-32|0,n=ge>>31,a=_,e=M-1>>31&T>>>(ge>>>0)|(T<<M|S>>>(_>>>0))&n,n=n&T>>>(_>>>0),l=S<<oe&y,_=(T<<oe|S>>>(ge>>>0))&y|S<<M&_-33>>31;break}return s|0&&(t[s>>2]=l&S,t[s+4>>2]=0),(a|0)==1?(ge=y|n&0,oe=e|0|0,Ve=ge,oe|0):(oe=Mw(a|0)|0,ge=T>>>(oe>>>0)|0,oe=T<<32-oe|S>>>(oe>>>0)|0,Ve=ge,oe|0)}else{if(l)return s|0&&(t[s>>2]=(T>>>0)%(a>>>0),t[s+4>>2]=0),ge=0,oe=(T>>>0)/(a>>>0)>>>0,Ve=ge,oe|0;if(!S)return s|0&&(t[s>>2]=0,t[s+4>>2]=(T>>>0)%(_>>>0)),ge=0,oe=(T>>>0)/(_>>>0)>>>0,Ve=ge,oe|0;if(l=_-1|0,!(l&_))return s|0&&(t[s>>2]=e|0,t[s+4>>2]=l&T|n&0),ge=0,oe=T>>>((Mw(_|0)|0)>>>0),Ve=ge,oe|0;if(l=(nr(_|0)|0)-(nr(T|0)|0)|0,l>>>0<=30){n=l+1|0,_=31-l|0,a=n,e=T<<_|S>>>(n>>>0),n=T>>>(n>>>0),l=0,_=S<<_;break}return s?(t[s>>2]=e|0,t[s+4>>2]=y|n&0,ge=0,oe=0,Ve=ge,oe|0):(ge=0,oe=0,Ve=ge,oe|0)}while(0);if(!a)T=_,y=0,_=0;else{M=r|0|0,S=j|i&0,T=e_(M|0,S|0,-1,-1)|0,r=Ve,y=_,_=0;do i=y,y=l>>>31|y<<1,l=_|l<<1,i=e<<1|i>>>31|0,j=e>>>31|n<<1|0,Pp(T|0,r|0,i|0,j|0)|0,oe=Ve,ge=oe>>31|((oe|0)<0?-1:0)<<1,_=ge&1,e=Pp(i|0,j|0,ge&M|0,(((oe|0)<0?-1:0)>>31|((oe|0)<0?-1:0)<<1)&S|0)|0,n=Ve,a=a-1|0;while((a|0)!=0);T=y,y=0}return a=0,s|0&&(t[s>>2]=e,t[s+4>>2]=n),ge=(l|0)>>>31|(T|a)<<1|(a<<1|l>>>31)&0|y,oe=(l<<1|0>>>31)&-2|_,Ve=ge,oe|0}function t_(e,n,r,i){return e=e|0,n=n|0,r=r|0,i=i|0,Fw(e,n,r,i,0)|0}function yf(e){e=e|0;var n=0,r=0;return r=e+15&-16|0,n=t[B>>2]|0,e=n+r|0,(r|0)>0&(e|0)<(n|0)|(e|0)<0?(lr()|0,ws(12),-1):(t[B>>2]=e,((e|0)>(Hn()|0)?(Mn()|0)==0:0)?(t[B>>2]=n,ws(12),-1):n|0)}function M2(e,n,r){e=e|0,n=n|0,r=r|0;var i=0;if((n|0)<(e|0)&(e|0)<(n+r|0)){for(i=e,n=n+r|0,e=e+r|0;(r|0)>0;)e=e-1|0,n=n-1|0,r=r-1|0,d[e>>0]=d[n>>0]|0;e=i}else cn(e,n,r)|0;return e|0}function n_(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0;var s=0,l=0;return l=m,m=m+16|0,s=l|0,Fw(e,n,r,i,s)|0,m=l,Ve=t[s+4>>2]|0,t[s>>2]|0|0}function Rw(e){return e=e|0,(e&255)<<24|(e>>8&255)<<16|(e>>16&255)<<8|e>>>24|0}function mM(e,n,r,i,s,l){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0,Pw[e&1](n|0,r|0,i|0,s|0,l|0)}function vM(e,n,r){e=e|0,n=n|0,r=w(r),Lw[e&1](n|0,w(r))}function gM(e,n,r){e=e|0,n=n|0,r=+r,Nw[e&31](n|0,+r)}function _M(e,n,r,i){return e=e|0,n=n|0,r=w(r),i=w(i),w(Bw[e&0](n|0,w(r),w(i)))}function yM(e,n){e=e|0,n=n|0,Al[e&127](n|0)}function wM(e,n,r){e=e|0,n=n|0,r=r|0,Ol[e&31](n|0,r|0)}function DM(e,n){return e=e|0,n=n|0,oc[e&31](n|0)|0}function EM(e,n,r,i,s){e=e|0,n=n|0,r=+r,i=+i,s=s|0,Uw[e&1](n|0,+r,+i,s|0)}function CM(e,n,r,i){e=e|0,n=n|0,r=+r,i=+i,rF[e&1](n|0,+r,+i)}function SM(e,n,r,i){return e=e|0,n=n|0,r=r|0,i=i|0,Bp[e&7](n|0,r|0,i|0)|0}function TM(e,n,r,i){return e=e|0,n=n|0,r=r|0,i=i|0,+iF[e&1](n|0,r|0,i|0)}function xM(e,n){return e=e|0,n=n|0,+jw[e&15](n|0)}function kM(e,n,r){return e=e|0,n=n|0,r=+r,oF[e&1](n|0,+r)|0}function AM(e,n,r){return e=e|0,n=n|0,r=r|0,i_[e&15](n|0,r|0)|0}function OM(e,n,r,i,s,l){e=e|0,n=n|0,r=r|0,i=+i,s=+s,l=l|0,uF[e&1](n|0,r|0,+i,+s,l|0)}function IM(e,n,r,i,s,l,a){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0,a=a|0,sF[e&1](n|0,r|0,i|0,s|0,l|0,a|0)}function MM(e,n,r){return e=e|0,n=n|0,r=r|0,+zw[e&7](n|0,r|0)}function FM(e){return e=e|0,Up[e&7]()|0}function RM(e,n,r,i,s,l){return e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0,Ww[e&1](n|0,r|0,i|0,s|0,l|0)|0}function PM(e,n,r,i,s){e=e|0,n=n|0,r=r|0,i=i|0,s=+s,lF[e&1](n|0,r|0,i|0,+s)}function LM(e,n,r,i,s,l,a){e=e|0,n=n|0,r=r|0,i=w(i),s=s|0,l=w(l),a=a|0,qw[e&1](n|0,r|0,w(i),s|0,w(l),a|0)}function NM(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,P2[e&15](n|0,r|0,i|0)}function BM(e){e=e|0,Hw[e&0]()}function UM(e,n,r,i){e=e|0,n=n|0,r=r|0,i=+i,Vw[e&15](n|0,r|0,+i)}function jM(e,n,r){return e=e|0,n=+n,r=+r,fF[e&1](+n,+r)|0}function zM(e,n,r,i,s){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,o_[e&15](n|0,r|0,i|0,s|0)}function WM(e,n,r,i,s){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,at(0)}function qM(e,n){e=e|0,n=w(n),at(1)}function xo(e,n){e=e|0,n=+n,at(2)}function HM(e,n,r){return e=e|0,n=w(n),r=w(r),at(3),Qe}function Jt(e){e=e|0,at(4)}function F2(e,n){e=e|0,n=n|0,at(5)}function bo(e){return e=e|0,at(6),0}function VM(e,n,r,i){e=e|0,n=+n,r=+r,i=i|0,at(7)}function GM(e,n,r){e=e|0,n=+n,r=+r,at(8)}function bM(e,n,r){return e=e|0,n=n|0,r=r|0,at(9),0}function YM(e,n,r){return e=e|0,n=n|0,r=r|0,at(10),0}function ic(e){return e=e|0,at(11),0}function $M(e,n){return e=e|0,n=+n,at(12),0}function R2(e,n){return e=e|0,n=n|0,at(13),0}function XM(e,n,r,i,s){e=e|0,n=n|0,r=+r,i=+i,s=s|0,at(14)}function KM(e,n,r,i,s,l){e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,l=l|0,at(15)}function r_(e,n){return e=e|0,n=n|0,at(16),0}function JM(){return at(17),0}function QM(e,n,r,i,s){return e=e|0,n=n|0,r=r|0,i=i|0,s=s|0,at(18),0}function ZM(e,n,r,i){e=e|0,n=n|0,r=r|0,i=+i,at(19)}function eF(e,n,r,i,s,l){e=e|0,n=n|0,r=w(r),i=i|0,s=w(s),l=l|0,at(20)}function Np(e,n,r){e=e|0,n=n|0,r=r|0,at(21)}function tF(){at(22)}function r1(e,n,r){e=e|0,n=n|0,r=+r,at(23)}function nF(e,n){return e=+e,n=+n,at(24),0}function i1(e,n,r,i){e=e|0,n=n|0,r=r|0,i=i|0,at(25)}var Pw=[WM,Qx],Lw=[qM,D0],Nw=[xo,qf,gl,_l,sf,_o,lf,x1,Ps,li,Hf,Sc,Vf,ro,jo,yl,Tc,wl,ff,xo,xo,xo,xo,xo,xo,xo,xo,xo,xo,xo,xo,xo],Bw=[HM],Al=[Jt,t1,nm,rm,Gu,_g,yg,wg,k7,A7,O7,jx,zx,Wx,sI,lI,fI,gn,_c,uf,$0,fi,Hh,Ac,W1,hd,Cl,Em,Lm,Uc,zc,Vd,Ov,Gc,bv,eg,pg,Pg,Yg,i4,_4,Et,Z5,_C,RC,YC,fS,m0,WS,r9,E9,z9,tT,ET,FT,LT,QT,t7,_7,M7,P7,J7,mx,K1,Kk,kA,qA,rO,TO,zO,JO,eI,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt,Jt],Ol=[F2,E1,C1,Wf,lu,no,S1,Rs,T1,Dc,Ec,Cc,io,we,Be,wt,en,er,fn,bf,qa,Ja,EC,NC,V9,Zk,Cx,iw,F2,F2,F2,F2],oc=[bo,UI,D1,h,V,Q,Ge,Ke,ot,Tn,Fr,ci,Uh,k1,M1,dS,oT,ex,rA,Ho,bo,bo,bo,bo,bo,bo,bo,bo,bo,bo,bo,bo],Uw=[VM,$a],rF=[GM,D7],Bp=[bM,_w,jI,qI,Qm,Ug,GS,sO],iF=[YM,ep],jw=[ic,ai,Ie,or,Xa,oo,Ls,F1,Ka,Oc,ic,ic,ic,ic,ic,ic],oF=[$M,OT],i_=[R2,fM,Wa,Lc,Tm,av,wv,vg,Kg,JC,Wu,bA,R2,R2,R2,R2],uF=[XM,am],sF=[KM,OO],zw=[r_,Br,R1,Qa,P1,ig,r_,r_],Up=[JM,L1,b0,h0,jT,o7,U7,iI],Ww=[QM,Qn],lF=[ZM,E4],qw=[eF,xc],P2=[Np,C,C0,jn,X0,jm,Fv,sn,rC,to,Dk,MA,VO,Np,Np,Np],Hw=[tF],Vw=[r1,yc,su,wc,Hu,Gf,E0,v,x2,s9,TT,r1,r1,r1,r1,r1],fF=[nF,T7],o_=[i1,zv,wS,x9,hT,GT,a7,G7,wx,fA,mI,i1,i1,i1,i1,i1];return{_llvm_bswap_i32:Rw,dynCall_idd:jM,dynCall_i:FM,_i64Subtract:Pp,___udivdi3:t_,dynCall_vif:vM,setThrew:ll,dynCall_viii:NM,_bitshift64Lshr:Lp,_bitshift64Shl:Iw,dynCall_vi:yM,dynCall_viiddi:OM,dynCall_diii:TM,dynCall_iii:AM,_memset:n1,_sbrk:yf,_memcpy:cn,__GLOBAL__sub_I_Yoga_cpp:Kr,dynCall_vii:wM,___uremdi3:n_,dynCall_vid:gM,stackAlloc:Ri,_nbind_init:xI,getTempRet0:eu,dynCall_di:xM,dynCall_iid:kM,setTempRet0:fl,_i64Add:e_,dynCall_fiff:_M,dynCall_iiii:SM,_emscripten_get_global_libc:BI,dynCall_viid:UM,dynCall_viiid:PM,dynCall_viififi:LM,dynCall_ii:DM,__GLOBAL__sub_I_Binding_cc:qk,dynCall_viiii:zM,dynCall_iiiiii:RM,stackSave:Zo,dynCall_viiiii:mM,__GLOBAL__sub_I_nbind_cc:Ns,dynCall_vidd:CM,_free:Fp,runPostSets:hM,dynCall_viiiiii:IM,establishStackSpace:S0,_memmove:M2,stackRestore:Po,_malloc:Mp,__GLOBAL__sub_I_common_cc:lx,dynCall_viddi:EM,dynCall_dii:MM,dynCall_v:BM}}(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(o){this.name="ExitStatus",this.message="Program terminated with exit("+o+")",this.status=o}ExitStatus.prototype=new Error,ExitStatus.prototype.constructor=ExitStatus;var initialStackTop,preloadStartTime=null,calledMain=!1;dependenciesFulfilled=function o(){Module.calledRun||run(),Module.calledRun||(dependenciesFulfilled=o)},Module.callMain=Module.callMain=function(u){u=u||[],ensureInitRuntime();var c=u.length+1;function d(){for(var k=0;k<4-1;k++)g.push(0)}var g=[allocate(intArrayFromString(Module.thisProgram),"i8",ALLOC_NORMAL)];d();for(var t=0;t<c-1;t=t+1)g.push(allocate(intArrayFromString(u[t]),"i8",ALLOC_NORMAL)),d();g.push(0),g=allocate(g,"i32",ALLOC_NORMAL);try{var x=Module._main(c,g,0);exit(x,!0)}catch(k){if(k instanceof ExitStatus)return;if(k=="SimulateInfiniteLoop"){Module.noExitRuntime=!0;return}else{var A=k;k&&typeof k=="object"&&k.stack&&(A=[k,k.stack]),Module.printErr("exception thrown: "+A),Module.quit(1,k)}}finally{calledMain=!0}};function run(o){if(o=o||Module.arguments,preloadStartTime===null&&(preloadStartTime=Date.now()),runDependencies>0||(preRun(),runDependencies>0)||Module.calledRun)return;function u(){Module.calledRun||(Module.calledRun=!0,!ABORT&&(ensureInitRuntime(),preMain(),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),Module._main&&shouldRunNow&&Module.callMain(o),postRun()))}Module.setStatus?(Module.setStatus("Running..."),setTimeout(function(){setTimeout(function(){Module.setStatus("")},1),u()},1)):u()}Module.run=Module.run=run;function exit(o,u){u&&Module.noExitRuntime||(Module.noExitRuntime||(ABORT=!0,EXITSTATUS=o,STACKTOP=initialStackTop,exitRuntime(),Module.onExit&&Module.onExit(o)),ENVIRONMENT_IS_NODE&&process.exit(o),Module.quit(o,new ExitStatus(o)))}Module.exit=Module.exit=exit;var abortDecorators=[];function abort(o){Module.onAbort&&Module.onAbort(o),o!==void 0?(Module.print(o),Module.printErr(o),o=JSON.stringify(o)):o="",ABORT=!0,EXITSTATUS=1;var u=`
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.`,c="abort("+o+") at "+stackTrace()+u;throw abortDecorators&&abortDecorators.forEach(function(d){c=d(c,o)}),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 sc=et((pU,rD)=>{"use strict";var nR=tD(),rR=nD(),q_=!1,H_=null;rR({},function(o,u){if(!q_){if(q_=!0,o)throw o;H_=u}});if(!q_)throw new Error("Failed to load the yoga module - it needed to be loaded synchronously, but didn't");rD.exports=nR(H_.bind,H_.lib)});var oD=et((hU,iD)=>{"use strict";iD.exports=({onlyFirst:o=!1}={})=>{let u=["[\\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(u,o?void 0:"g")}});var V_=et((mU,uD)=>{"use strict";var iR=oD();uD.exports=o=>typeof o=="string"?o.replace(iR(),""):o});var b_=et((vU,G_)=>{"use strict";var sD=o=>Number.isNaN(o)?!1:o>=4352&&(o<=4447||o===9001||o===9002||11904<=o&&o<=12871&&o!==12351||12880<=o&&o<=19903||19968<=o&&o<=42182||43360<=o&&o<=43388||44032<=o&&o<=55203||63744<=o&&o<=64255||65040<=o&&o<=65049||65072<=o&&o<=65131||65281<=o&&o<=65376||65504<=o&&o<=65510||110592<=o&&o<=110593||127488<=o&&o<=127569||131072<=o&&o<=262141);G_.exports=sD;G_.exports.default=sD});var fD=et((gU,lD)=>{"use strict";lD.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 uh=et((_U,Y_)=>{"use strict";var oR=V_(),uR=b_(),sR=fD(),cD=o=>{if(o=o.replace(sR()," "),typeof o!="string"||o.length===0)return 0;o=oR(o);let u=0;for(let c=0;c<o.length;c++){let d=o.codePointAt(c);d<=31||d>=127&&d<=159||d>=768&&d<=879||(d>65535&&c++,u+=uR(d)?2:1)}return u};Y_.exports=cD;Y_.exports.default=cD});var X_=et((yU,$_)=>{"use strict";var lR=uh(),aD=o=>{let u=0;for(let c of o.split(`
`))u=Math.max(u,lR(c));return u};$_.exports=aD;$_.exports.default=aD});var dD=et(Q2=>{"use strict";var fR=Q2&&Q2.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Q2,"__esModule",{value:!0});var cR=fR(X_()),K_={};Q2.default=o=>{if(o.length===0)return{width:0,height:0};if(K_[o])return K_[o];let u=cR.default(o),c=o.split(`
`).length;return K_[o]={width:u,height:c},{width:u,height:c}}});var pD=et(Z2=>{"use strict";var aR=Z2&&Z2.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Z2,"__esModule",{value:!0});var ur=aR(sc()),dR=(o,u)=>{"position"in u&&o.setPositionType(u.position==="absolute"?ur.default.POSITION_TYPE_ABSOLUTE:ur.default.POSITION_TYPE_RELATIVE)},pR=(o,u)=>{"marginLeft"in u&&o.setMargin(ur.default.EDGE_START,u.marginLeft||0),"marginRight"in u&&o.setMargin(ur.default.EDGE_END,u.marginRight||0),"marginTop"in u&&o.setMargin(ur.default.EDGE_TOP,u.marginTop||0),"marginBottom"in u&&o.setMargin(ur.default.EDGE_BOTTOM,u.marginBottom||0)},hR=(o,u)=>{"paddingLeft"in u&&o.setPadding(ur.default.EDGE_LEFT,u.paddingLeft||0),"paddingRight"in u&&o.setPadding(ur.default.EDGE_RIGHT,u.paddingRight||0),"paddingTop"in u&&o.setPadding(ur.default.EDGE_TOP,u.paddingTop||0),"paddingBottom"in u&&o.setPadding(ur.default.EDGE_BOTTOM,u.paddingBottom||0)},mR=(o,u)=>{var c;"flexGrow"in u&&o.setFlexGrow((c=u.flexGrow)!==null&&c!==void 0?c:0),"flexShrink"in u&&o.setFlexShrink(typeof u.flexShrink=="number"?u.flexShrink:1),"flexDirection"in u&&(u.flexDirection==="row"&&o.setFlexDirection(ur.default.FLEX_DIRECTION_ROW),u.flexDirection==="row-reverse"&&o.setFlexDirection(ur.default.FLEX_DIRECTION_ROW_REVERSE),u.flexDirection==="column"&&o.setFlexDirection(ur.default.FLEX_DIRECTION_COLUMN),u.flexDirection==="column-reverse"&&o.setFlexDirection(ur.default.FLEX_DIRECTION_COLUMN_REVERSE)),"flexBasis"in u&&(typeof u.flexBasis=="number"?o.setFlexBasis(u.flexBasis):typeof u.flexBasis=="string"?o.setFlexBasisPercent(Number.parseInt(u.flexBasis,10)):o.setFlexBasis(NaN)),"alignItems"in u&&((u.alignItems==="stretch"||!u.alignItems)&&o.setAlignItems(ur.default.ALIGN_STRETCH),u.alignItems==="flex-start"&&o.setAlignItems(ur.default.ALIGN_FLEX_START),u.alignItems==="center"&&o.setAlignItems(ur.default.ALIGN_CENTER),u.alignItems==="flex-end"&&o.setAlignItems(ur.default.ALIGN_FLEX_END)),"alignSelf"in u&&((u.alignSelf==="auto"||!u.alignSelf)&&o.setAlignSelf(ur.default.ALIGN_AUTO),u.alignSelf==="flex-start"&&o.setAlignSelf(ur.default.ALIGN_FLEX_START),u.alignSelf==="center"&&o.setAlignSelf(ur.default.ALIGN_CENTER),u.alignSelf==="flex-end"&&o.setAlignSelf(ur.default.ALIGN_FLEX_END)),"justifyContent"in u&&((u.justifyContent==="flex-start"||!u.justifyContent)&&o.setJustifyContent(ur.default.JUSTIFY_FLEX_START),u.justifyContent==="center"&&o.setJustifyContent(ur.default.JUSTIFY_CENTER),u.justifyContent==="flex-end"&&o.setJustifyContent(ur.default.JUSTIFY_FLEX_END),u.justifyContent==="space-between"&&o.setJustifyContent(ur.default.JUSTIFY_SPACE_BETWEEN),u.justifyContent==="space-around"&&o.setJustifyContent(ur.default.JUSTIFY_SPACE_AROUND))},vR=(o,u)=>{var c,d;"width"in u&&(typeof u.width=="number"?o.setWidth(u.width):typeof u.width=="string"?o.setWidthPercent(Number.parseInt(u.width,10)):o.setWidthAuto()),"height"in u&&(typeof u.height=="number"?o.setHeight(u.height):typeof u.height=="string"?o.setHeightPercent(Number.parseInt(u.height,10)):o.setHeightAuto()),"minWidth"in u&&(typeof u.minWidth=="string"?o.setMinWidthPercent(Number.parseInt(u.minWidth,10)):o.setMinWidth((c=u.minWidth)!==null&&c!==void 0?c:0)),"minHeight"in u&&(typeof u.minHeight=="string"?o.setMinHeightPercent(Number.parseInt(u.minHeight,10)):o.setMinHeight((d=u.minHeight)!==null&&d!==void 0?d:0))},gR=(o,u)=>{"display"in u&&o.setDisplay(u.display==="flex"?ur.default.DISPLAY_FLEX:ur.default.DISPLAY_NONE)},_R=(o,u)=>{if("borderStyle"in u){let c=typeof u.borderStyle=="string"?1:0;o.setBorder(ur.default.EDGE_TOP,c),o.setBorder(ur.default.EDGE_BOTTOM,c),o.setBorder(ur.default.EDGE_LEFT,c),o.setBorder(ur.default.EDGE_RIGHT,c)}};Z2.default=(o,u={})=>{dR(o,u),pR(o,u),hR(o,u),mR(o,u),vR(o,u),gR(o,u),_R(o,u)}});var mD=et((EU,hD)=>{"use strict";hD.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 J_=et((CU,vD)=>{var ea=mD(),gD={};for(let o of Object.keys(ea))gD[ea[o]]=o;var bt={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"]}};vD.exports=bt;for(let o of Object.keys(bt)){if(!("channels"in bt[o]))throw new Error("missing channels property: "+o);if(!("labels"in bt[o]))throw new Error("missing channel labels property: "+o);if(bt[o].labels.length!==bt[o].channels)throw new Error("channel and label counts mismatch: "+o);let{channels:u,labels:c}=bt[o];delete bt[o].channels,delete bt[o].labels,Object.defineProperty(bt[o],"channels",{value:u}),Object.defineProperty(bt[o],"labels",{value:c})}bt.rgb.hsl=function(o){let u=o[0]/255,c=o[1]/255,d=o[2]/255,g=Math.min(u,c,d),t=Math.max(u,c,d),x=t-g,A,k;t===g?A=0:u===t?A=(c-d)/x:c===t?A=2+(d-u)/x:d===t&&(A=4+(u-c)/x),A=Math.min(A*60,360),A<0&&(A+=360);let E=(g+t)/2;return t===g?k=0:E<=.5?k=x/(t+g):k=x/(2-t-g),[A,k*100,E*100]};bt.rgb.hsv=function(o){let u,c,d,g,t,x=o[0]/255,A=o[1]/255,k=o[2]/255,E=Math.max(x,A,k),L=E-Math.min(x,A,k),B=function(W){return(E-W)/6/L+1/2};return L===0?(g=0,t=0):(t=L/E,u=B(x),c=B(A),d=B(k),x===E?g=d-c:A===E?g=1/3+u-d:k===E&&(g=2/3+c-u),g<0?g+=1:g>1&&(g-=1)),[g*360,t*100,E*100]};bt.rgb.hwb=function(o){let u=o[0],c=o[1],d=o[2],g=bt.rgb.hsl(o)[0],t=1/255*Math.min(u,Math.min(c,d));return d=1-1/255*Math.max(u,Math.max(c,d)),[g,t*100,d*100]};bt.rgb.cmyk=function(o){let u=o[0]/255,c=o[1]/255,d=o[2]/255,g=Math.min(1-u,1-c,1-d),t=(1-u-g)/(1-g)||0,x=(1-c-g)/(1-g)||0,A=(1-d-g)/(1-g)||0;return[t*100,x*100,A*100,g*100]};function yR(o,u){return(o[0]-u[0])**2+(o[1]-u[1])**2+(o[2]-u[2])**2}bt.rgb.keyword=function(o){let u=gD[o];if(u)return u;let c=Infinity,d;for(let g of Object.keys(ea)){let t=ea[g],x=yR(o,t);x<c&&(c=x,d=g)}return d};bt.keyword.rgb=function(o){return ea[o]};bt.rgb.xyz=function(o){let u=o[0]/255,c=o[1]/255,d=o[2]/255;u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92,d=d>.04045?((d+.055)/1.055)**2.4:d/12.92;let g=u*.4124+c*.3576+d*.1805,t=u*.2126+c*.7152+d*.0722,x=u*.0193+c*.1192+d*.9505;return[g*100,t*100,x*100]};bt.rgb.lab=function(o){let u=bt.rgb.xyz(o),c=u[0],d=u[1],g=u[2];c/=95.047,d/=100,g/=108.883,c=c>.008856?c**(1/3):7.787*c+16/116,d=d>.008856?d**(1/3):7.787*d+16/116,g=g>.008856?g**(1/3):7.787*g+16/116;let t=116*d-16,x=500*(c-d),A=200*(d-g);return[t,x,A]};bt.hsl.rgb=function(o){let u=o[0]/360,c=o[1]/100,d=o[2]/100,g,t,x;if(c===0)return x=d*255,[x,x,x];d<.5?g=d*(1+c):g=d+c-d*c;let A=2*d-g,k=[0,0,0];for(let E=0;E<3;E++)t=u+1/3*-(E-1),t<0&&t++,t>1&&t--,6*t<1?x=A+(g-A)*6*t:2*t<1?x=g:3*t<2?x=A+(g-A)*(2/3-t)*6:x=A,k[E]=x*255;return k};bt.hsl.hsv=function(o){let u=o[0],c=o[1]/100,d=o[2]/100,g=c,t=Math.max(d,.01);d*=2,c*=d<=1?d:2-d,g*=t<=1?t:2-t;let x=(d+c)/2,A=d===0?2*g/(t+g):2*c/(d+c);return[u,A*100,x*100]};bt.hsv.rgb=function(o){let u=o[0]/60,c=o[1]/100,d=o[2]/100,g=Math.floor(u)%6,t=u-Math.floor(u),x=255*d*(1-c),A=255*d*(1-c*t),k=255*d*(1-c*(1-t));switch(d*=255,g){case 0:return[d,k,x];case 1:return[A,d,x];case 2:return[x,d,k];case 3:return[x,A,d];case 4:return[k,x,d];case 5:return[d,x,A]}};bt.hsv.hsl=function(o){let u=o[0],c=o[1]/100,d=o[2]/100,g=Math.max(d,.01),t,x;x=(2-c)*d;let A=(2-c)*g;return t=c*g,t/=A<=1?A:2-A,t=t||0,x/=2,[u,t*100,x*100]};bt.hwb.rgb=function(o){let u=o[0]/360,c=o[1]/100,d=o[2]/100,g=c+d,t;g>1&&(c/=g,d/=g);let x=Math.floor(6*u),A=1-d;t=6*u-x,(x&1)!=0&&(t=1-t);let k=c+t*(A-c),E,L,B;switch(x){default:case 6:case 0:E=A,L=k,B=c;break;case 1:E=k,L=A,B=c;break;case 2:E=c,L=A,B=k;break;case 3:E=c,L=k,B=A;break;case 4:E=k,L=c,B=A;break;case 5:E=A,L=c,B=k;break}return[E*255,L*255,B*255]};bt.cmyk.rgb=function(o){let u=o[0]/100,c=o[1]/100,d=o[2]/100,g=o[3]/100,t=1-Math.min(1,u*(1-g)+g),x=1-Math.min(1,c*(1-g)+g),A=1-Math.min(1,d*(1-g)+g);return[t*255,x*255,A*255]};bt.xyz.rgb=function(o){let u=o[0]/100,c=o[1]/100,d=o[2]/100,g,t,x;return g=u*3.2406+c*-1.5372+d*-.4986,t=u*-.9689+c*1.8758+d*.0415,x=u*.0557+c*-.204+d*1.057,g=g>.0031308?1.055*g**(1/2.4)-.055:g*12.92,t=t>.0031308?1.055*t**(1/2.4)-.055:t*12.92,x=x>.0031308?1.055*x**(1/2.4)-.055:x*12.92,g=Math.min(Math.max(0,g),1),t=Math.min(Math.max(0,t),1),x=Math.min(Math.max(0,x),1),[g*255,t*255,x*255]};bt.xyz.lab=function(o){let u=o[0],c=o[1],d=o[2];u/=95.047,c/=100,d/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,d=d>.008856?d**(1/3):7.787*d+16/116;let g=116*c-16,t=500*(u-c),x=200*(c-d);return[g,t,x]};bt.lab.xyz=function(o){let u=o[0],c=o[1],d=o[2],g,t,x;t=(u+16)/116,g=c/500+t,x=t-d/200;let A=t**3,k=g**3,E=x**3;return t=A>.008856?A:(t-16/116)/7.787,g=k>.008856?k:(g-16/116)/7.787,x=E>.008856?E:(x-16/116)/7.787,g*=95.047,t*=100,x*=108.883,[g,t,x]};bt.lab.lch=function(o){let u=o[0],c=o[1],d=o[2],g;g=Math.atan2(d,c)*360/2/Math.PI,g<0&&(g+=360);let x=Math.sqrt(c*c+d*d);return[u,x,g]};bt.lch.lab=function(o){let u=o[0],c=o[1],g=o[2]/360*2*Math.PI,t=c*Math.cos(g),x=c*Math.sin(g);return[u,t,x]};bt.rgb.ansi16=function(o,u=null){let[c,d,g]=o,t=u===null?bt.rgb.hsv(o)[2]:u;if(t=Math.round(t/50),t===0)return 30;let x=30+(Math.round(g/255)<<2|Math.round(d/255)<<1|Math.round(c/255));return t===2&&(x+=60),x};bt.hsv.ansi16=function(o){return bt.rgb.ansi16(bt.hsv.rgb(o),o[2])};bt.rgb.ansi256=function(o){let u=o[0],c=o[1],d=o[2];return u===c&&c===d?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(c/255*5)+Math.round(d/255*5)};bt.ansi16.rgb=function(o){let u=o%10;if(u===0||u===7)return o>50&&(u+=3.5),u=u/10.5*255,[u,u,u];let c=(~~(o>50)+1)*.5,d=(u&1)*c*255,g=(u>>1&1)*c*255,t=(u>>2&1)*c*255;return[d,g,t]};bt.ansi256.rgb=function(o){if(o>=232){let t=(o-232)*10+8;return[t,t,t]}o-=16;let u,c=Math.floor(o/36)/5*255,d=Math.floor((u=o%36)/6)/5*255,g=u%6/5*255;return[c,d,g]};bt.rgb.hex=function(o){let c=(((Math.round(o[0])&255)<<16)+((Math.round(o[1])&255)<<8)+(Math.round(o[2])&255)).toString(16).toUpperCase();return"000000".substring(c.length)+c};bt.hex.rgb=function(o){let u=o.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!u)return[0,0,0];let c=u[0];u[0].length===3&&(c=c.split("").map(A=>A+A).join(""));let d=parseInt(c,16),g=d>>16&255,t=d>>8&255,x=d&255;return[g,t,x]};bt.rgb.hcg=function(o){let u=o[0]/255,c=o[1]/255,d=o[2]/255,g=Math.max(Math.max(u,c),d),t=Math.min(Math.min(u,c),d),x=g-t,A,k;return x<1?A=t/(1-x):A=0,x<=0?k=0:g===u?k=(c-d)/x%6:g===c?k=2+(d-u)/x:k=4+(u-c)/x,k/=6,k%=1,[k*360,x*100,A*100]};bt.hsl.hcg=function(o){let u=o[1]/100,c=o[2]/100,d=c<.5?2*u*c:2*u*(1-c),g=0;return d<1&&(g=(c-.5*d)/(1-d)),[o[0],d*100,g*100]};bt.hsv.hcg=function(o){let u=o[1]/100,c=o[2]/100,d=u*c,g=0;return d<1&&(g=(c-d)/(1-d)),[o[0],d*100,g*100]};bt.hcg.rgb=function(o){let u=o[0]/360,c=o[1]/100,d=o[2]/100;if(c===0)return[d*255,d*255,d*255];let g=[0,0,0],t=u%1*6,x=t%1,A=1-x,k=0;switch(Math.floor(t)){case 0:g[0]=1,g[1]=x,g[2]=0;break;case 1:g[0]=A,g[1]=1,g[2]=0;break;case 2:g[0]=0,g[1]=1,g[2]=x;break;case 3:g[0]=0,g[1]=A,g[2]=1;break;case 4:g[0]=x,g[1]=0,g[2]=1;break;default:g[0]=1,g[1]=0,g[2]=A}return k=(1-c)*d,[(c*g[0]+k)*255,(c*g[1]+k)*255,(c*g[2]+k)*255]};bt.hcg.hsv=function(o){let u=o[1]/100,c=o[2]/100,d=u+c*(1-u),g=0;return d>0&&(g=u/d),[o[0],g*100,d*100]};bt.hcg.hsl=function(o){let u=o[1]/100,d=o[2]/100*(1-u)+.5*u,g=0;return d>0&&d<.5?g=u/(2*d):d>=.5&&d<1&&(g=u/(2*(1-d))),[o[0],g*100,d*100]};bt.hcg.hwb=function(o){let u=o[1]/100,c=o[2]/100,d=u+c*(1-u);return[o[0],(d-u)*100,(1-d)*100]};bt.hwb.hcg=function(o){let u=o[1]/100,c=o[2]/100,d=1-c,g=d-u,t=0;return g<1&&(t=(d-g)/(1-g)),[o[0],g*100,t*100]};bt.apple.rgb=function(o){return[o[0]/65535*255,o[1]/65535*255,o[2]/65535*255]};bt.rgb.apple=function(o){return[o[0]/255*65535,o[1]/255*65535,o[2]/255*65535]};bt.gray.rgb=function(o){return[o[0]/100*255,o[0]/100*255,o[0]/100*255]};bt.gray.hsl=function(o){return[0,0,o[0]]};bt.gray.hsv=bt.gray.hsl;bt.gray.hwb=function(o){return[0,100,o[0]]};bt.gray.cmyk=function(o){return[0,0,0,o[0]]};bt.gray.lab=function(o){return[o[0],0,0]};bt.gray.hex=function(o){let u=Math.round(o[0]/100*255)&255,d=((u<<16)+(u<<8)+u).toString(16).toUpperCase();return"000000".substring(d.length)+d};bt.rgb.gray=function(o){return[(o[0]+o[1]+o[2])/3/255*100]}});var yD=et((SU,_D)=>{var sh=J_();function wR(){let o={},u=Object.keys(sh);for(let c=u.length,d=0;d<c;d++)o[u[d]]={distance:-1,parent:null};return o}function DR(o){let u=wR(),c=[o];for(u[o].distance=0;c.length;){let d=c.pop(),g=Object.keys(sh[d]);for(let t=g.length,x=0;x<t;x++){let A=g[x],k=u[A];k.distance===-1&&(k.distance=u[d].distance+1,k.parent=d,c.unshift(A))}}return u}function ER(o,u){return function(c){return u(o(c))}}function CR(o,u){let c=[u[o].parent,o],d=sh[u[o].parent][o],g=u[o].parent;for(;u[g].parent;)c.unshift(u[g].parent),d=ER(sh[u[g].parent][g],d),g=u[g].parent;return d.conversion=c,d}_D.exports=function(o){let u=DR(o),c={},d=Object.keys(u);for(let g=d.length,t=0;t<g;t++){let x=d[t];u[x].parent!==null&&(c[x]=CR(x,u))}return c}});var DD=et((TU,wD)=>{var Q_=J_(),SR=yD(),h1={},TR=Object.keys(Q_);function xR(o){let u=function(...c){let d=c[0];return d==null?d:(d.length>1&&(c=d),o(c))};return"conversion"in o&&(u.conversion=o.conversion),u}function kR(o){let u=function(...c){let d=c[0];if(d==null)return d;d.length>1&&(c=d);let g=o(c);if(typeof g=="object")for(let t=g.length,x=0;x<t;x++)g[x]=Math.round(g[x]);return g};return"conversion"in o&&(u.conversion=o.conversion),u}TR.forEach(o=>{h1[o]={},Object.defineProperty(h1[o],"channels",{value:Q_[o].channels}),Object.defineProperty(h1[o],"labels",{value:Q_[o].labels});let u=SR(o);Object.keys(u).forEach(d=>{let g=u[d];h1[o][d]=kR(g),h1[o][d].raw=xR(g)})});wD.exports=h1});var fh=et((xU,ED)=>{"use strict";var CD=(o,u)=>(...c)=>`[${o(...c)+u}m`,SD=(o,u)=>(...c)=>{let d=o(...c);return`[${38+u};5;${d}m`},TD=(o,u)=>(...c)=>{let d=o(...c);return`[${38+u};2;${d[0]};${d[1]};${d[2]}m`},lh=o=>o,xD=(o,u,c)=>[o,u,c],m1=(o,u,c)=>{Object.defineProperty(o,u,{get:()=>{let d=c();return Object.defineProperty(o,u,{value:d,enumerable:!0,configurable:!0}),d},enumerable:!0,configurable:!0})},Z_,v1=(o,u,c,d)=>{Z_===void 0&&(Z_=DD());let g=d?10:0,t={};for(let[x,A]of Object.entries(Z_)){let k=x==="ansi16"?"ansi":x;x===u?t[k]=o(c,g):typeof A=="object"&&(t[k]=o(A[u],g))}return t};function AR(){let o=new Map,u={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]}};u.color.gray=u.color.blackBright,u.bgColor.bgGray=u.bgColor.bgBlackBright,u.color.grey=u.color.blackBright,u.bgColor.bgGrey=u.bgColor.bgBlackBright;for(let[c,d]of Object.entries(u)){for(let[g,t]of Object.entries(d))u[g]={open:`[${t[0]}m`,close:`[${t[1]}m`},d[g]=u[g],o.set(t[0],t[1]);Object.defineProperty(u,c,{value:d,enumerable:!1})}return Object.defineProperty(u,"codes",{value:o,enumerable:!1}),u.color.close="",u.bgColor.close="",m1(u.color,"ansi",()=>v1(CD,"ansi16",lh,!1)),m1(u.color,"ansi256",()=>v1(SD,"ansi256",lh,!1)),m1(u.color,"ansi16m",()=>v1(TD,"rgb",xD,!1)),m1(u.bgColor,"ansi",()=>v1(CD,"ansi16",lh,!0)),m1(u.bgColor,"ansi256",()=>v1(SD,"ansi256",lh,!0)),m1(u.bgColor,"ansi16m",()=>v1(TD,"rgb",xD,!0)),u}Object.defineProperty(ED,"exports",{enumerable:!0,get:AR})});var OD=et((kU,kD)=>{"use strict";var ta=uh(),OR=V_(),IR=fh(),ey=new Set(["","\x9B"]),MR=39,AD=o=>`${ey.values().next().value}[${o}m`,FR=o=>o.split(" ").map(u=>ta(u)),ty=(o,u,c)=>{let d=[...u],g=!1,t=ta(OR(o[o.length-1]));for(let[x,A]of d.entries()){let k=ta(A);if(t+k<=c?o[o.length-1]+=A:(o.push(A),t=0),ey.has(A))g=!0;else if(g&&A==="m"){g=!1;continue}g||(t+=k,t===c&&x<d.length-1&&(o.push(""),t=0))}!t&&o[o.length-1].length>0&&o.length>1&&(o[o.length-2]+=o.pop())},RR=o=>{let u=o.split(" "),c=u.length;for(;c>0&&!(ta(u[c-1])>0);)c--;return c===u.length?o:u.slice(0,c).join(" ")+u.slice(c).join("")},PR=(o,u,c={})=>{if(c.trim!==!1&&o.trim()==="")return"";let d="",g="",t,x=FR(o),A=[""];for(let[k,E]of o.split(" ").entries()){c.trim!==!1&&(A[A.length-1]=A[A.length-1].trimLeft());let L=ta(A[A.length-1]);if(k!==0&&(L>=u&&(c.wordWrap===!1||c.trim===!1)&&(A.push(""),L=0),(L>0||c.trim===!1)&&(A[A.length-1]+=" ",L++)),c.hard&&x[k]>u){let B=u-L,W=1+Math.floor((x[k]-B-1)/u);Math.floor((x[k]-1)/u)<W&&A.push(""),ty(A,E,u);continue}if(L+x[k]>u&&L>0&&x[k]>0){if(c.wordWrap===!1&&L<u){ty(A,E,u);continue}A.push("")}if(L+x[k]>u&&c.wordWrap===!1){ty(A,E,u);continue}A[A.length-1]+=E}c.trim!==!1&&(A=A.map(RR)),d=A.join(`
`);for(let[k,E]of[...d].entries()){if(g+=E,ey.has(E)){let B=parseFloat(/\d[^m]*/.exec(d.slice(k,k+4)));t=B===MR?null:B}let L=IR.codes.get(Number(t));t&&L&&(d[k+1]===`
`?g+=AD(L):E===`
`&&(g+=AD(t)))}return g};kD.exports=(o,u,c)=>String(o).normalize().replace(/\r\n/g,`
`).split(`
`).map(d=>PR(d,u,c)).join(`
`)});var FD=et((AU,ID)=>{"use strict";var MD="[\uD800-\uDBFF][\uDC00-\uDFFF]",LR=o=>o&&o.exact?new RegExp(`^${MD}$`):new RegExp(MD,"g");ID.exports=LR});var ny=et((OU,RD)=>{"use strict";var NR=b_(),BR=FD(),PD=fh(),LD=["","\x9B"],ch=o=>`${LD[0]}[${o}m`,ND=(o,u,c)=>{let d=[];o=[...o];for(let g of o){let t=g;g.match(";")&&(g=g.split(";")[0][0]+"0");let x=PD.codes.get(parseInt(g,10));if(x){let A=o.indexOf(x.toString());A>=0?o.splice(A,1):d.push(ch(u?x:t))}else if(u){d.push(ch(0));break}else d.push(ch(t))}if(u&&(d=d.filter((g,t)=>d.indexOf(g)===t),c!==void 0)){let g=ch(PD.codes.get(parseInt(c,10)));d=d.reduce((t,x)=>x===g?[x,...t]:[...t,x],[])}return d.join("")};RD.exports=(o,u,c)=>{let d=[...o.normalize()],g=[];c=typeof c=="number"?c:d.length;let t=!1,x,A=0,k="";for(let[E,L]of d.entries()){let B=!1;if(LD.includes(L)){let W=/\d[^m]*/.exec(o.slice(E,E+18));x=W&&W.length>0?W[0]:void 0,A<c&&(t=!0,x!==void 0&&g.push(x))}else t&&L==="m"&&(t=!1,B=!0);if(!t&&!B&&++A,!BR({exact:!0}).test(L)&&NR(L.codePointAt())&&++A,A>u&&A<=c)k+=L;else if(A===u&&!t&&x!==void 0)k=ND(g);else if(A>=c){k+=ND(g,!0,x);break}}return k}});var UD=et((IU,BD)=>{"use strict";var Ff=ny(),UR=uh();function ah(o,u,c){if(o.charAt(u)===" ")return u;for(let d=1;d<=3;d++)if(c){if(o.charAt(u+d)===" ")return u+d}else if(o.charAt(u-d)===" ")return u-d;return u}BD.exports=(o,u,c)=>{c=Qr({position:"end",preferTruncationOnSpace:!1},c);let{position:d,space:g,preferTruncationOnSpace:t}=c,x="\u2026",A=1;if(typeof o!="string")throw new TypeError(`Expected \`input\` to be a string, got ${typeof o}`);if(typeof u!="number")throw new TypeError(`Expected \`columns\` to be a number, got ${typeof u}`);if(u<1)return"";if(u===1)return x;let k=UR(o);if(k<=u)return o;if(d==="start"){if(t){let E=ah(o,k-u+1,!0);return x+Ff(o,E,k).trim()}return g===!0&&(x+=" ",A=2),x+Ff(o,k-u+A,k)}if(d==="middle"){g===!0&&(x=" "+x+" ",A=3);let E=Math.floor(u/2);if(t){let L=ah(o,E),B=ah(o,k-(u-E)+1,!0);return Ff(o,0,L)+x+Ff(o,B,k).trim()}return Ff(o,0,E)+x+Ff(o,k-(u-E)+A,k)}if(d==="end"){if(t){let E=ah(o,u-1);return Ff(o,0,E)+x}return g===!0&&(x=" "+x,A=2),Ff(o,0,u-A)+x}throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${d}`)}});var iy=et(na=>{"use strict";var jD=na&&na.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(na,"__esModule",{value:!0});var jR=jD(OD()),zR=jD(UD()),ry={};na.default=(o,u,c)=>{let d=o+String(u)+String(c);if(ry[d])return ry[d];let g=o;if(c==="wrap"&&(g=jR.default(o,u,{trim:!1,hard:!0})),c.startsWith("truncate")){let t="end";c==="truncate-middle"&&(t="middle"),c==="truncate-start"&&(t="start"),g=zR.default(o,u,{position:t})}return ry[d]=g,g}});var uy=et(oy=>{"use strict";Object.defineProperty(oy,"__esModule",{value:!0});var zD=o=>{let u="";if(o.childNodes.length>0)for(let c of o.childNodes){let d="";c.nodeName==="#text"?d=c.nodeValue:((c.nodeName==="ink-text"||c.nodeName==="ink-virtual-text")&&(d=zD(c)),d.length>0&&typeof c.internal_transform=="function"&&(d=c.internal_transform(d))),u+=d}return u};oy.default=zD});var sy=et(Yr=>{"use strict";var ra=Yr&&Yr.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Yr,"__esModule",{value:!0});Yr.setTextNodeValue=Yr.createTextNode=Yr.setStyle=Yr.setAttribute=Yr.removeChildNode=Yr.insertBeforeNode=Yr.appendChildNode=Yr.createNode=Yr.TEXT_NAME=void 0;var WR=ra(sc()),WD=ra(dD()),qR=ra(pD()),HR=ra(iy()),VR=ra(uy());Yr.TEXT_NAME="#text";Yr.createNode=o=>{var u;let c={nodeName:o,style:{},attributes:{},childNodes:[],parentNode:null,yogaNode:o==="ink-virtual-text"?void 0:WR.default.Node.create()};return o==="ink-text"&&((u=c.yogaNode)===null||u===void 0||u.setMeasureFunc(GR.bind(null,c))),c};Yr.appendChildNode=(o,u)=>{var c;u.parentNode&&Yr.removeChildNode(u.parentNode,u),u.parentNode=o,o.childNodes.push(u),u.yogaNode&&((c=o.yogaNode)===null||c===void 0||c.insertChild(u.yogaNode,o.yogaNode.getChildCount())),(o.nodeName==="ink-text"||o.nodeName==="ink-virtual-text")&&dh(o)};Yr.insertBeforeNode=(o,u,c)=>{var d,g;u.parentNode&&Yr.removeChildNode(u.parentNode,u),u.parentNode=o;let t=o.childNodes.indexOf(c);if(t>=0){o.childNodes.splice(t,0,u),u.yogaNode&&((d=o.yogaNode)===null||d===void 0||d.insertChild(u.yogaNode,t));return}o.childNodes.push(u),u.yogaNode&&((g=o.yogaNode)===null||g===void 0||g.insertChild(u.yogaNode,o.yogaNode.getChildCount())),(o.nodeName==="ink-text"||o.nodeName==="ink-virtual-text")&&dh(o)};Yr.removeChildNode=(o,u)=>{var c,d;u.yogaNode&&((d=(c=u.parentNode)===null||c===void 0?void 0:c.yogaNode)===null||d===void 0||d.removeChild(u.yogaNode)),u.parentNode=null;let g=o.childNodes.indexOf(u);g>=0&&o.childNodes.splice(g,1),(o.nodeName==="ink-text"||o.nodeName==="ink-virtual-text")&&dh(o)};Yr.setAttribute=(o,u,c)=>{o.attributes[u]=c};Yr.setStyle=(o,u)=>{o.style=u,o.yogaNode&&qR.default(o.yogaNode,u)};Yr.createTextNode=o=>{let u={nodeName:"#text",nodeValue:o,yogaNode:void 0,parentNode:null,style:{}};return Yr.setTextNodeValue(u,o),u};var GR=function(o,u){var c,d;let g=o.nodeName==="#text"?o.nodeValue:VR.default(o),t=WD.default(g);if(t.width<=u||t.width>=1&&u>0&&u<1)return t;let x=(d=(c=o.style)===null||c===void 0?void 0:c.textWrap)!==null&&d!==void 0?d:"wrap",A=HR.default(g,u,x);return WD.default(A)},qD=o=>{var u;if(!(!o||!o.parentNode))return(u=o.yogaNode)!==null&&u!==void 0?u:qD(o.parentNode)},dh=o=>{let u=qD(o);u==null||u.markDirty()};Yr.setTextNodeValue=(o,u)=>{typeof u!="string"&&(u=String(u)),o.nodeValue=u,dh(o)}});var lc=et((PU,HD)=>{"use strict";HD.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 ia=et((LU,ly)=>{"use strict";var{EMPTY_BUFFER:bR}=lc();function VD(o,u){if(o.length===0)return bR;if(o.length===1)return o[0];let c=Buffer.allocUnsafe(u),d=0;for(let g=0;g<o.length;g++){let t=o[g];c.set(t,d),d+=t.length}return d<u?c.slice(0,d):c}function GD(o,u,c,d,g){for(let t=0;t<g;t++)c[d+t]=o[t]^u[t&3]}function bD(o,u){let c=o.length;for(let d=0;d<c;d++)o[d]^=u[d&3]}function YD(o){return o.byteLength===o.buffer.byteLength?o.buffer:o.buffer.slice(o.byteOffset,o.byteOffset+o.byteLength)}function ph(o){if(ph.readOnly=!0,Buffer.isBuffer(o))return o;let u;return o instanceof ArrayBuffer?u=Buffer.from(o):ArrayBuffer.isView(o)?u=Buffer.from(o.buffer,o.byteOffset,o.byteLength):(u=Buffer.from(o),ph.readOnly=!1),u}try{let o=require("bufferutil"),u=o.BufferUtil||o;ly.exports={concat:VD,mask(c,d,g,t,x){x<48?GD(c,d,g,t,x):u.mask(c,d,g,t,x)},toArrayBuffer:YD,toBuffer:ph,unmask(c,d){c.length<32?bD(c,d):u.unmask(c,d)}}}catch(o){ly.exports={concat:VD,mask:GD,toArrayBuffer:YD,toBuffer:ph,unmask:bD}}});var JD=et((NU,$D)=>{"use strict";var XD=Symbol("kDone"),fy=Symbol("kRun"),KD=class{constructor(u){this[XD]=()=>{this.pending--,this[fy]()},this.concurrency=u||Infinity,this.jobs=[],this.pending=0}add(u){this.jobs.push(u),this[fy]()}[fy](){if(this.pending!==this.concurrency&&this.jobs.length){let u=this.jobs.shift();this.pending++,u(this[XD])}}};$D.exports=KD});var sa=et((BU,QD)=>{"use strict";var oa=require("zlib"),ZD=ia(),YR=JD(),{kStatusCode:eE,NOOP:$R}=lc(),XR=Buffer.from([0,0,255,255]),hh=Symbol("permessage-deflate"),Vl=Symbol("total-length"),ua=Symbol("callback"),Rf=Symbol("buffers"),cy=Symbol("error"),mh,tE=class{constructor(u,c,d){if(this._maxPayload=d|0,this._options=u||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._isServer=!!c,this._deflate=null,this._inflate=null,this.params=null,!mh){let g=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;mh=new YR(g)}}static get extensionName(){return"permessage-deflate"}offer(){let u={};return this._options.serverNoContextTakeover&&(u.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(u.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(u.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?u.client_max_window_bits=this._options.clientMaxWindowBits:this._options.clientMaxWindowBits==null&&(u.client_max_window_bits=!0),u}accept(u){return u=this.normalizeParams(u),this.params=this._isServer?this.acceptAsServer(u):this.acceptAsClient(u),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){let u=this._deflate[ua];this._deflate.close(),this._deflate=null,u&&u(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(u){let c=this._options,d=u.find(g=>!(c.serverNoContextTakeover===!1&&g.server_no_context_takeover||g.server_max_window_bits&&(c.serverMaxWindowBits===!1||typeof c.serverMaxWindowBits=="number"&&c.serverMaxWindowBits>g.server_max_window_bits)||typeof c.clientMaxWindowBits=="number"&&!g.client_max_window_bits));if(!d)throw new Error("None of the extension offers can be accepted");return c.serverNoContextTakeover&&(d.server_no_context_takeover=!0),c.clientNoContextTakeover&&(d.client_no_context_takeover=!0),typeof c.serverMaxWindowBits=="number"&&(d.server_max_window_bits=c.serverMaxWindowBits),typeof c.clientMaxWindowBits=="number"?d.client_max_window_bits=c.clientMaxWindowBits:(d.client_max_window_bits===!0||c.clientMaxWindowBits===!1)&&delete d.client_max_window_bits,d}acceptAsClient(u){let c=u[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(u){return u.forEach(c=>{Object.keys(c).forEach(d=>{let g=c[d];if(g.length>1)throw new Error(`Parameter "${d}" must have only a single value`);if(g=g[0],d==="client_max_window_bits"){if(g!==!0){let t=+g;if(!Number.isInteger(t)||t<8||t>15)throw new TypeError(`Invalid value for parameter "${d}": ${g}`);g=t}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${d}": ${g}`)}else if(d==="server_max_window_bits"){let t=+g;if(!Number.isInteger(t)||t<8||t>15)throw new TypeError(`Invalid value for parameter "${d}": ${g}`);g=t}else if(d==="client_no_context_takeover"||d==="server_no_context_takeover"){if(g!==!0)throw new TypeError(`Invalid value for parameter "${d}": ${g}`)}else throw new Error(`Unknown parameter "${d}"`);c[d]=g})}),u}decompress(u,c,d){mh.add(g=>{this._decompress(u,c,(t,x)=>{g(),d(t,x)})})}compress(u,c,d){mh.add(g=>{this._compress(u,c,(t,x)=>{g(),d(t,x)})})}_decompress(u,c,d){let g=this._isServer?"client":"server";if(!this._inflate){let t=`${g}_max_window_bits`,x=typeof this.params[t]!="number"?oa.Z_DEFAULT_WINDOWBITS:this.params[t];this._inflate=oa.createInflateRaw(ns(Qr({},this._options.zlibInflateOptions),{windowBits:x})),this._inflate[hh]=this,this._inflate[Vl]=0,this._inflate[Rf]=[],this._inflate.on("error",JR),this._inflate.on("data",nE)}this._inflate[ua]=d,this._inflate.write(u),c&&this._inflate.write(XR),this._inflate.flush(()=>{let t=this._inflate[cy];if(t){this._inflate.close(),this._inflate=null,d(t);return}let x=ZD.concat(this._inflate[Rf],this._inflate[Vl]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[Vl]=0,this._inflate[Rf]=[],c&&this.params[`${g}_no_context_takeover`]&&this._inflate.reset()),d(null,x)})}_compress(u,c,d){let g=this._isServer?"server":"client";if(!this._deflate){let t=`${g}_max_window_bits`,x=typeof this.params[t]!="number"?oa.Z_DEFAULT_WINDOWBITS:this.params[t];this._deflate=oa.createDeflateRaw(ns(Qr({},this._options.zlibDeflateOptions),{windowBits:x})),this._deflate[Vl]=0,this._deflate[Rf]=[],this._deflate.on("error",$R),this._deflate.on("data",KR)}this._deflate[ua]=d,this._deflate.write(u),this._deflate.flush(oa.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let t=ZD.concat(this._deflate[Rf],this._deflate[Vl]);c&&(t=t.slice(0,t.length-4)),this._deflate[ua]=null,this._deflate[Vl]=0,this._deflate[Rf]=[],c&&this.params[`${g}_no_context_takeover`]&&this._deflate.reset(),d(null,t)})}};QD.exports=tE;function KR(o){this[Rf].push(o),this[Vl]+=o.length}function nE(o){if(this[Vl]+=o.length,this[hh]._maxPayload<1||this[Vl]<=this[hh]._maxPayload){this[Rf].push(o);return}this[cy]=new RangeError("Max payload size exceeded"),this[cy][eE]=1009,this.removeListener("data",nE),this.reset()}function JR(o){this[hh]._inflate=null,o[eE]=1007,this[ua](o)}});var dy=et((UU,ay)=>{"use strict";function rE(o){return o>=1e3&&o<=1014&&o!==1004&&o!==1005&&o!==1006||o>=3e3&&o<=4999}function iE(o){let u=o.length,c=0;for(;c<u;)if((o[c]&128)==0)c++;else if((o[c]&224)==192){if(c+1===u||(o[c+1]&192)!=128||(o[c]&254)==192)return!1;c+=2}else if((o[c]&240)==224){if(c+2>=u||(o[c+1]&192)!=128||(o[c+2]&192)!=128||o[c]===224&&(o[c+1]&224)==128||o[c]===237&&(o[c+1]&224)==160)return!1;c+=3}else if((o[c]&248)==240){if(c+3>=u||(o[c+1]&192)!=128||(o[c+2]&192)!=128||(o[c+3]&192)!=128||o[c]===240&&(o[c+1]&240)==128||o[c]===244&&o[c+1]>143||o[c]>244)return!1;c+=4}else return!1;return!0}try{let o=require("utf-8-validate");typeof o=="object"&&(o=o.Validation.isValidUTF8),ay.exports={isValidStatusCode:rE,isValidUTF8(u){return u.length<150?iE(u):o(u)}}}catch(o){ay.exports={isValidStatusCode:rE,isValidUTF8:iE}}});var my=et((jU,oE)=>{"use strict";var{Writable:QR}=require("stream"),uE=sa(),{BINARY_TYPES:ZR,EMPTY_BUFFER:eP,kStatusCode:tP,kWebSocket:nP}=lc(),{concat:py,toArrayBuffer:rP,unmask:iP}=ia(),{isValidStatusCode:oP,isValidUTF8:sE}=dy(),la=0,lE=1,fE=2,cE=3,hy=4,uP=5,aE=class extends QR{constructor(u,c,d,g){super();this._binaryType=u||ZR[0],this[nP]=void 0,this._extensions=c||{},this._isServer=!!d,this._maxPayload=g|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=la,this._loop=!1}_write(u,c,d){if(this._opcode===8&&this._state==la)return d();this._bufferedBytes+=u.length,this._buffers.push(u),this.startLoop(d)}consume(u){if(this._bufferedBytes-=u,u===this._buffers[0].length)return this._buffers.shift();if(u<this._buffers[0].length){let d=this._buffers[0];return this._buffers[0]=d.slice(u),d.slice(0,u)}let c=Buffer.allocUnsafe(u);do{let d=this._buffers[0],g=c.length-u;u>=d.length?c.set(this._buffers.shift(),g):(c.set(new Uint8Array(d.buffer,d.byteOffset,u),g),this._buffers[0]=d.slice(u)),u-=d.length}while(u>0);return c}startLoop(u){let c;this._loop=!0;do switch(this._state){case la:c=this.getInfo();break;case lE:c=this.getPayloadLength16();break;case fE:c=this.getPayloadLength64();break;case cE:this.getMask();break;case hy:c=this.getData(u);break;default:this._loop=!1;return}while(this._loop);u(c)}getInfo(){if(this._bufferedBytes<2){this._loop=!1;return}let u=this.consume(2);if((u[0]&48)!=0)return this._loop=!1,J0(RangeError,"RSV2 and RSV3 must be clear",!0,1002);let c=(u[0]&64)==64;if(c&&!this._extensions[uE.extensionName])return this._loop=!1,J0(RangeError,"RSV1 must be clear",!0,1002);if(this._fin=(u[0]&128)==128,this._opcode=u[0]&15,this._payloadLength=u[1]&127,this._opcode===0){if(c)return this._loop=!1,J0(RangeError,"RSV1 must be clear",!0,1002);if(!this._fragmented)return this._loop=!1,J0(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,J0(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,J0(RangeError,"FIN must be set",!0,1002);if(c)return this._loop=!1,J0(RangeError,"RSV1 must be clear",!0,1002);if(this._payloadLength>125)return this._loop=!1,J0(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002)}else return this._loop=!1,J0(RangeError,`invalid opcode ${this._opcode}`,!0,1002);if(!this._fin&&!this._fragmented&&(this._fragmented=this._opcode),this._masked=(u[1]&128)==128,this._isServer){if(!this._masked)return this._loop=!1,J0(RangeError,"MASK must be set",!0,1002)}else if(this._masked)return this._loop=!1,J0(RangeError,"MASK must be clear",!0,1002);if(this._payloadLength===126)this._state=lE;else if(this._payloadLength===127)this._state=fE;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 u=this.consume(8),c=u.readUInt32BE(0);return c>Math.pow(2,53-32)-1?(this._loop=!1,J0(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009)):(this._payloadLength=c*Math.pow(2,32)+u.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,J0(RangeError,"Max payload size exceeded",!1,1009);this._masked?this._state=cE:this._state=hy}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=hy}getData(u){let c=eP;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}c=this.consume(this._payloadLength),this._masked&&iP(c,this._mask)}if(this._opcode>7)return this.controlMessage(c);if(this._compressed){this._state=uP,this.decompress(c,u);return}return c.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(c)),this.dataMessage()}decompress(u,c){this._extensions[uE.extensionName].decompress(u,this._fin,(g,t)=>{if(g)return c(g);if(t.length){if(this._messageLength+=t.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return c(J0(RangeError,"Max payload size exceeded",!1,1009));this._fragments.push(t)}let x=this.dataMessage();if(x)return c(x);this.startLoop(c)})}dataMessage(){if(this._fin){let u=this._messageLength,c=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],this._opcode===2){let d;this._binaryType==="nodebuffer"?d=py(c,u):this._binaryType==="arraybuffer"?d=rP(py(c,u)):d=c,this.emit("message",d)}else{let d=py(c,u);if(!sE(d))return this._loop=!1,J0(Error,"invalid UTF-8 sequence",!0,1007);this.emit("message",d.toString())}}this._state=la}controlMessage(u){if(this._opcode===8)if(this._loop=!1,u.length===0)this.emit("conclude",1005,""),this.end();else{if(u.length===1)return J0(RangeError,"invalid payload length 1",!0,1002);{let c=u.readUInt16BE(0);if(!oP(c))return J0(RangeError,`invalid status code ${c}`,!0,1002);let d=u.slice(2);if(!sE(d))return J0(Error,"invalid UTF-8 sequence",!0,1007);this.emit("conclude",c,d.toString()),this.end()}}else this._opcode===9?this.emit("ping",u):this.emit("pong",u);this._state=la}};oE.exports=aE;function J0(o,u,c,d){let g=new o(c?`Invalid WebSocket frame: ${u}`:u);return Error.captureStackTrace(g,J0),g[tP]=d,g}});var vy=et((zU,dE)=>{"use strict";var{randomFillSync:sP}=require("crypto"),pE=sa(),{EMPTY_BUFFER:lP}=lc(),{isValidStatusCode:fP}=dy(),{mask:hE,toBuffer:Gl}=ia(),fc=Buffer.alloc(4),bl=class{constructor(u,c){this._extensions=c||{},this._socket=u,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(u,c){let d=c.mask&&c.readOnly,g=c.mask?6:2,t=u.length;u.length>=65536?(g+=8,t=127):u.length>125&&(g+=2,t=126);let x=Buffer.allocUnsafe(d?u.length+g:g);return x[0]=c.fin?c.opcode|128:c.opcode,c.rsv1&&(x[0]|=64),x[1]=t,t===126?x.writeUInt16BE(u.length,2):t===127&&(x.writeUInt32BE(0,2),x.writeUInt32BE(u.length,6)),c.mask?(sP(fc,0,4),x[1]|=128,x[g-4]=fc[0],x[g-3]=fc[1],x[g-2]=fc[2],x[g-1]=fc[3],d?(hE(u,fc,x,g,u.length),[x]):(hE(u,fc,u,0,u.length),[x,u])):[x,u]}close(u,c,d,g){let t;if(u===void 0)t=lP;else{if(typeof u!="number"||!fP(u))throw new TypeError("First argument must be a valid error code number");if(c===void 0||c==="")t=Buffer.allocUnsafe(2),t.writeUInt16BE(u,0);else{let x=Buffer.byteLength(c);if(x>123)throw new RangeError("The message must not be greater than 123 bytes");t=Buffer.allocUnsafe(2+x),t.writeUInt16BE(u,0),t.write(c,2)}}this._deflating?this.enqueue([this.doClose,t,d,g]):this.doClose(t,d,g)}doClose(u,c,d){this.sendFrame(bl.frame(u,{fin:!0,rsv1:!1,opcode:8,mask:c,readOnly:!1}),d)}ping(u,c,d){let g=Gl(u);if(g.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPing,g,c,Gl.readOnly,d]):this.doPing(g,c,Gl.readOnly,d)}doPing(u,c,d,g){this.sendFrame(bl.frame(u,{fin:!0,rsv1:!1,opcode:9,mask:c,readOnly:d}),g)}pong(u,c,d){let g=Gl(u);if(g.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPong,g,c,Gl.readOnly,d]):this.doPong(g,c,Gl.readOnly,d)}doPong(u,c,d,g){this.sendFrame(bl.frame(u,{fin:!0,rsv1:!1,opcode:10,mask:c,readOnly:d}),g)}send(u,c,d){let g=Gl(u),t=this._extensions[pE.extensionName],x=c.binary?2:1,A=c.compress;if(this._firstFragment?(this._firstFragment=!1,A&&t&&(A=g.length>=t._threshold),this._compress=A):(A=!1,x=0),c.fin&&(this._firstFragment=!0),t){let k={fin:c.fin,rsv1:A,opcode:x,mask:c.mask,readOnly:Gl.readOnly};this._deflating?this.enqueue([this.dispatch,g,this._compress,k,d]):this.dispatch(g,this._compress,k,d)}else this.sendFrame(bl.frame(g,{fin:c.fin,rsv1:!1,opcode:x,mask:c.mask,readOnly:Gl.readOnly}),d)}dispatch(u,c,d,g){if(!c){this.sendFrame(bl.frame(u,d),g);return}let t=this._extensions[pE.extensionName];this._bufferedBytes+=u.length,this._deflating=!0,t.compress(u,d.fin,(x,A)=>{if(this._socket.destroyed){let k=new Error("The socket was closed while data was being compressed");typeof g=="function"&&g(k);for(let E=0;E<this._queue.length;E++){let L=this._queue[E][4];typeof L=="function"&&L(k)}return}this._bufferedBytes-=u.length,this._deflating=!1,d.readOnly=!1,this.sendFrame(bl.frame(A,d),g),this.dequeue()})}dequeue(){for(;!this._deflating&&this._queue.length;){let u=this._queue.shift();this._bufferedBytes-=u[1].length,Reflect.apply(u[0],this,u.slice(1))}}enqueue(u){this._bufferedBytes+=u[1].length,this._queue.push(u)}sendFrame(u,c){u.length===2?(this._socket.cork(),this._socket.write(u[0]),this._socket.write(u[1],c),this._socket.uncork()):this._socket.write(u[0],c)}};dE.exports=bl});var wE=et((WU,mE)=>{"use strict";var fa=class{constructor(u,c){this.target=c,this.type=u}},vE=class extends fa{constructor(u,c){super("message",c);this.data=u}},gE=class extends fa{constructor(u,c,d){super("close",d);this.wasClean=d._closeFrameReceived&&d._closeFrameSent,this.reason=c,this.code=u}},_E=class extends fa{constructor(u){super("open",u)}},yE=class extends fa{constructor(u,c){super("error",c);this.message=u.message,this.error=u}},cP={addEventListener(o,u,c){if(typeof u!="function")return;function d(k){u.call(this,new vE(k,this))}function g(k,E){u.call(this,new gE(k,E,this))}function t(k){u.call(this,new yE(k,this))}function x(){u.call(this,new _E(this))}let A=c&&c.once?"once":"on";o==="message"?(d._listener=u,this[A](o,d)):o==="close"?(g._listener=u,this[A](o,g)):o==="error"?(t._listener=u,this[A](o,t)):o==="open"?(x._listener=u,this[A](o,x)):this[A](o,u)},removeEventListener(o,u){let c=this.listeners(o);for(let d=0;d<c.length;d++)(c[d]===u||c[d]._listener===u)&&this.removeListener(o,c[d])}};mE.exports=cP});var gy=et((qU,DE)=>{"use strict";var ca=[0,0,0,0,0,0,0,0,0,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 $s(o,u,c){o[u]===void 0?o[u]=[c]:o[u].push(c)}function aP(o){let u=Object.create(null);if(o===void 0||o==="")return u;let c=Object.create(null),d=!1,g=!1,t=!1,x,A,k=-1,E=-1,L=0;for(;L<o.length;L++){let W=o.charCodeAt(L);if(x===void 0)if(E===-1&&ca[W]===1)k===-1&&(k=L);else if(W===32||W===9)E===-1&&k!==-1&&(E=L);else if(W===59||W===44){if(k===-1)throw new SyntaxError(`Unexpected character at index ${L}`);E===-1&&(E=L);let X=o.slice(k,E);W===44?($s(u,X,c),c=Object.create(null)):x=X,k=E=-1}else throw new SyntaxError(`Unexpected character at index ${L}`);else if(A===void 0)if(E===-1&&ca[W]===1)k===-1&&(k=L);else if(W===32||W===9)E===-1&&k!==-1&&(E=L);else if(W===59||W===44){if(k===-1)throw new SyntaxError(`Unexpected character at index ${L}`);E===-1&&(E=L),$s(c,o.slice(k,E),!0),W===44&&($s(u,x,c),c=Object.create(null),x=void 0),k=E=-1}else if(W===61&&k!==-1&&E===-1)A=o.slice(k,L),k=E=-1;else throw new SyntaxError(`Unexpected character at index ${L}`);else if(g){if(ca[W]!==1)throw new SyntaxError(`Unexpected character at index ${L}`);k===-1?k=L:d||(d=!0),g=!1}else if(t)if(ca[W]===1)k===-1&&(k=L);else if(W===34&&k!==-1)t=!1,E=L;else if(W===92)g=!0;else throw new SyntaxError(`Unexpected character at index ${L}`);else if(W===34&&o.charCodeAt(L-1)===61)t=!0;else if(E===-1&&ca[W]===1)k===-1&&(k=L);else if(k!==-1&&(W===32||W===9))E===-1&&(E=L);else if(W===59||W===44){if(k===-1)throw new SyntaxError(`Unexpected character at index ${L}`);E===-1&&(E=L);let X=o.slice(k,E);d&&(X=X.replace(/\\/g,""),d=!1),$s(c,A,X),W===44&&($s(u,x,c),c=Object.create(null),x=void 0),A=void 0,k=E=-1}else throw new SyntaxError(`Unexpected character at index ${L}`)}if(k===-1||t)throw new SyntaxError("Unexpected end of input");E===-1&&(E=L);let B=o.slice(k,E);return x===void 0?$s(u,B,c):(A===void 0?$s(c,B,!0):d?$s(c,A,B.replace(/\\/g,"")):$s(c,A,B),$s(u,x,c)),u}function dP(o){return Object.keys(o).map(u=>{let c=o[u];return Array.isArray(c)||(c=[c]),c.map(d=>[u].concat(Object.keys(d).map(g=>{let t=d[g];return Array.isArray(t)||(t=[t]),t.map(x=>x===!0?g:`${g}=${x}`).join("; ")})).join("; ")).join(", ")}).join(", ")}DE.exports={format:dP,parse:aP}});var Ey=et((HU,EE)=>{"use strict";var pP=require("events"),hP=require("https"),mP=require("http"),CE=require("net"),vP=require("tls"),{randomBytes:gP,createHash:_P}=require("crypto"),{URL:_y}=require("url"),Pf=sa(),yP=my(),wP=vy(),{BINARY_TYPES:SE,EMPTY_BUFFER:yy,GUID:DP,kStatusCode:EP,kWebSocket:Ao,NOOP:TE}=lc(),{addEventListener:CP,removeEventListener:SP}=wE(),{format:TP,parse:xP}=gy(),{toBuffer:kP}=ia(),xE=["CONNECTING","OPEN","CLOSING","CLOSED"],wy=[8,13],AP=30*1e3,sr=class extends pP{constructor(u,c,d){super();this._binaryType=SE[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage="",this._closeTimer=null,this._extensions={},this._protocol="",this._readyState=sr.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,u!==null?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,Array.isArray(c)?c=c.join(", "):typeof c=="object"&&c!==null&&(d=c,c=void 0),kE(this,u,c,d)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(u){!SE.includes(u)||(this._binaryType=u,this._receiver&&(this._receiver._binaryType=u))}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(u,c,d){let g=new yP(this.binaryType,this._extensions,this._isServer,d);this._sender=new wP(u,this._extensions),this._receiver=g,this._socket=u,g[Ao]=this,u[Ao]=this,g.on("conclude",OP),g.on("drain",IP),g.on("error",MP),g.on("message",FP),g.on("ping",RP),g.on("pong",PP),u.setTimeout(0),u.setNoDelay(),c.length>0&&u.unshift(c),u.on("close",AE),u.on("data",vh),u.on("end",OE),u.on("error",IE),this._readyState=sr.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=sr.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}this._extensions[Pf.extensionName]&&this._extensions[Pf.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=sr.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(u,c){if(this.readyState!==sr.CLOSED){if(this.readyState===sr.CONNECTING){let d="WebSocket was closed before the connection was established";return Yl(this,this._req,d)}if(this.readyState===sr.CLOSING){this._closeFrameSent&&this._closeFrameReceived&&this._socket.end();return}this._readyState=sr.CLOSING,this._sender.close(u,c,!this._isServer,d=>{d||(this._closeFrameSent=!0,this._closeFrameReceived&&this._socket.end())}),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),AP)}}ping(u,c,d){if(this.readyState===sr.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof u=="function"?(d=u,u=c=void 0):typeof c=="function"&&(d=c,c=void 0),typeof u=="number"&&(u=u.toString()),this.readyState!==sr.OPEN){Dy(this,u,d);return}c===void 0&&(c=!this._isServer),this._sender.ping(u||yy,c,d)}pong(u,c,d){if(this.readyState===sr.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof u=="function"?(d=u,u=c=void 0):typeof c=="function"&&(d=c,c=void 0),typeof u=="number"&&(u=u.toString()),this.readyState!==sr.OPEN){Dy(this,u,d);return}c===void 0&&(c=!this._isServer),this._sender.pong(u||yy,c,d)}send(u,c,d){if(this.readyState===sr.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof c=="function"&&(d=c,c={}),typeof u=="number"&&(u=u.toString()),this.readyState!==sr.OPEN){Dy(this,u,d);return}let g=Qr({binary:typeof u!="string",mask:!this._isServer,compress:!0,fin:!0},c);this._extensions[Pf.extensionName]||(g.compress=!1),this._sender.send(u||yy,g,d)}terminate(){if(this.readyState!==sr.CLOSED){if(this.readyState===sr.CONNECTING){let u="WebSocket was closed before the connection was established";return Yl(this,this._req,u)}this._socket&&(this._readyState=sr.CLOSING,this._socket.destroy())}}};xE.forEach((o,u)=>{let c={enumerable:!0,value:u};Object.defineProperty(sr.prototype,o,c),Object.defineProperty(sr,o,c)});["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach(o=>{Object.defineProperty(sr.prototype,o,{enumerable:!0})});["open","error","close","message"].forEach(o=>{Object.defineProperty(sr.prototype,`on${o}`,{configurable:!0,enumerable:!0,get(){let u=this.listeners(o);for(let c=0;c<u.length;c++)if(u[c]._listener)return u[c]._listener},set(u){let c=this.listeners(o);for(let d=0;d<c.length;d++)c[d]._listener&&this.removeListener(o,c[d]);this.addEventListener(o,u)}})});sr.prototype.addEventListener=CP;sr.prototype.removeEventListener=SP;EE.exports=sr;function kE(o,u,c,d){let g=ns(Qr({protocolVersion:wy[1],maxPayload:100*1024*1024,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10},d),{createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:void 0,host:void 0,path:void 0,port:void 0});if(!wy.includes(g.protocolVersion))throw new RangeError(`Unsupported protocol version: ${g.protocolVersion} (supported versions: ${wy.join(", ")})`);let t;u instanceof _y?(t=u,o._url=u.href):(t=new _y(u),o._url=u);let x=t.protocol==="ws+unix:";if(!t.host&&(!x||!t.pathname))throw new Error(`Invalid URL: ${o.url}`);let A=t.protocol==="wss:"||t.protocol==="https:",k=A?443:80,E=gP(16).toString("base64"),L=A?hP.get:mP.get,B;if(g.createConnection=A?NP:LP,g.defaultPort=g.defaultPort||k,g.port=t.port||k,g.host=t.hostname.startsWith("[")?t.hostname.slice(1,-1):t.hostname,g.headers=Qr({"Sec-WebSocket-Version":g.protocolVersion,"Sec-WebSocket-Key":E,Connection:"Upgrade",Upgrade:"websocket"},g.headers),g.path=t.pathname+t.search,g.timeout=g.handshakeTimeout,g.perMessageDeflate&&(B=new Pf(g.perMessageDeflate!==!0?g.perMessageDeflate:{},!1,g.maxPayload),g.headers["Sec-WebSocket-Extensions"]=TP({[Pf.extensionName]:B.offer()})),c&&(g.headers["Sec-WebSocket-Protocol"]=c),g.origin&&(g.protocolVersion<13?g.headers["Sec-WebSocket-Origin"]=g.origin:g.headers.Origin=g.origin),(t.username||t.password)&&(g.auth=`${t.username}:${t.password}`),x){let X=g.path.split(":");g.socketPath=X[0],g.path=X[1]}let W=o._req=L(g);g.timeout&&W.on("timeout",()=>{Yl(o,W,"Opening handshake has timed out")}),W.on("error",X=>{W===null||W.aborted||(W=o._req=null,o._readyState=sr.CLOSING,o.emit("error",X),o.emitClose())}),W.on("response",X=>{let m=X.headers.location,me=X.statusCode;if(m&&g.followRedirects&&me>=300&&me<400){if(++o._redirects>g.maxRedirects){Yl(o,W,"Maximum redirects exceeded");return}W.abort();let ye=new _y(m,u);kE(o,ye,c,d)}else o.emit("unexpected-response",W,X)||Yl(o,W,`Unexpected server response: ${X.statusCode}`)}),W.on("upgrade",(X,m,me)=>{if(o.emit("upgrade",X),o.readyState!==sr.CONNECTING)return;W=o._req=null;let ye=_P("sha1").update(E+DP).digest("base64");if(X.headers["sec-websocket-accept"]!==ye){Yl(o,m,"Invalid Sec-WebSocket-Accept header");return}let se=X.headers["sec-websocket-protocol"],Ee=(c||"").split(/, */),We;if(!c&&se?We="Server sent a subprotocol but none was requested":c&&!se?We="Server sent no subprotocol":se&&!Ee.includes(se)&&(We="Server sent an invalid subprotocol"),We){Yl(o,m,We);return}if(se&&(o._protocol=se),B)try{let Se=xP(X.headers["sec-websocket-extensions"]);Se[Pf.extensionName]&&(B.accept(Se[Pf.extensionName]),o._extensions[Pf.extensionName]=B)}catch(Se){Yl(o,m,"Invalid Sec-WebSocket-Extensions header");return}o.setSocket(m,me,g.maxPayload)})}function LP(o){return o.path=o.socketPath,CE.connect(o)}function NP(o){return o.path=void 0,!o.servername&&o.servername!==""&&(o.servername=CE.isIP(o.host)?"":o.host),vP.connect(o)}function Yl(o,u,c){o._readyState=sr.CLOSING;let d=new Error(c);Error.captureStackTrace(d,Yl),u.setHeader?(u.abort(),u.socket&&!u.socket.destroyed&&u.socket.destroy(),u.once("abort",o.emitClose.bind(o)),o.emit("error",d)):(u.destroy(d),u.once("error",o.emit.bind(o,"error")),u.once("close",o.emitClose.bind(o)))}function Dy(o,u,c){if(u){let d=kP(u).length;o._socket?o._sender._bufferedBytes+=d:o._bufferedAmount+=d}if(c){let d=new Error(`WebSocket is not open: readyState ${o.readyState} (${xE[o.readyState]})`);c(d)}}function OP(o,u){let c=this[Ao];c._socket.removeListener("data",vh),c._socket.resume(),c._closeFrameReceived=!0,c._closeMessage=u,c._closeCode=o,o===1005?c.close():c.close(o,u)}function IP(){this[Ao]._socket.resume()}function MP(o){let u=this[Ao];u._socket.removeListener("data",vh),u._readyState=sr.CLOSING,u._closeCode=o[EP],u.emit("error",o),u._socket.destroy()}function ME(){this[Ao].emitClose()}function FP(o){this[Ao].emit("message",o)}function RP(o){let u=this[Ao];u.pong(o,!u._isServer,TE),u.emit("ping",o)}function PP(o){this[Ao].emit("pong",o)}function AE(){let o=this[Ao];this.removeListener("close",AE),this.removeListener("end",OE),o._readyState=sr.CLOSING,o._socket.read(),o._receiver.end(),this.removeListener("data",vh),this[Ao]=void 0,clearTimeout(o._closeTimer),o._receiver._writableState.finished||o._receiver._writableState.errorEmitted?o.emitClose():(o._receiver.on("error",ME),o._receiver.on("finish",ME))}function vh(o){this[Ao]._receiver.write(o)||this.pause()}function OE(){let o=this[Ao];o._readyState=sr.CLOSING,o._receiver.end(),this.end()}function IE(){let o=this[Ao];this.removeListener("error",IE),this.on("error",TE),o&&(o._readyState=sr.CLOSING,this.destroy())}});var LE=et((VU,FE)=>{"use strict";var{Duplex:BP}=require("stream");function RE(o){o.emit("close")}function UP(){!this.destroyed&&this._writableState.finished&&this.destroy()}function PE(o){this.removeListener("error",PE),this.destroy(),this.listenerCount("error")===0&&this.emit("error",o)}function jP(o,u){let c=!0;function d(){c&&o._socket.resume()}o.readyState===o.CONNECTING?o.once("open",function(){o._receiver.removeAllListeners("drain"),o._receiver.on("drain",d)}):(o._receiver.removeAllListeners("drain"),o._receiver.on("drain",d));let g=new BP(ns(Qr({},u),{autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1}));return o.on("message",function(x){g.push(x)||(c=!1,o._socket.pause())}),o.once("error",function(x){g.destroyed||g.destroy(x)}),o.once("close",function(){g.destroyed||g.push(null)}),g._destroy=function(t,x){if(o.readyState===o.CLOSED){x(t),process.nextTick(RE,g);return}let A=!1;o.once("error",function(E){A=!0,x(E)}),o.once("close",function(){A||x(t),process.nextTick(RE,g)}),o.terminate()},g._final=function(t){if(o.readyState===o.CONNECTING){o.once("open",function(){g._final(t)});return}o._socket!==null&&(o._socket._writableState.finished?(t(),g._readableState.endEmitted&&g.destroy()):(o._socket.once("finish",function(){t()}),o.close()))},g._read=function(){o.readyState===o.OPEN&&!c&&(c=!0,o._receiver._writableState.needDrain||o._socket.resume())},g._write=function(t,x,A){if(o.readyState===o.CONNECTING){o.once("open",function(){g._write(t,x,A)});return}o.send(t,A)},g.on("end",UP),g.on("error",PE),g}FE.exports=jP});var UE=et((GU,NE)=>{"use strict";var zP=require("events"),{createHash:WP}=require("crypto"),{createServer:qP,STATUS_CODES:Cy}=require("http"),cc=sa(),HP=Ey(),{format:VP,parse:GP}=gy(),{GUID:bP,kWebSocket:YP}=lc(),$P=/^[+/0-9A-Za-z]{22}==$/,BE=class extends zP{constructor(u,c){super();if(u=Qr({maxPayload:100*1024*1024,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null},u),u.port==null&&!u.server&&!u.noServer)throw new TypeError('One of the "port", "server", or "noServer" options must be specified');if(u.port!=null?(this._server=qP((d,g)=>{let t=Cy[426];g.writeHead(426,{"Content-Length":t.length,"Content-Type":"text/plain"}),g.end(t)}),this._server.listen(u.port,u.host,u.backlog,c)):u.server&&(this._server=u.server),this._server){let d=this.emit.bind(this,"connection");this._removeListeners=XP(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(g,t,x)=>{this.handleUpgrade(g,t,x,d)}})}u.perMessageDeflate===!0&&(u.perMessageDeflate={}),u.clientTracking&&(this.clients=new Set),this.options=u}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(u){if(u&&this.once("close",u),this.clients)for(let d of this.clients)d.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(KP,this)}shouldHandle(u){if(this.options.path){let c=u.url.indexOf("?");if((c!==-1?u.url.slice(0,c):u.url)!==this.options.path)return!1}return!0}handleUpgrade(u,c,d,g){c.on("error",Sy);let t=u.headers["sec-websocket-key"]!==void 0?u.headers["sec-websocket-key"].trim():!1,x=+u.headers["sec-websocket-version"],A={};if(u.method!=="GET"||u.headers.upgrade.toLowerCase()!=="websocket"||!t||!$P.test(t)||x!==8&&x!==13||!this.shouldHandle(u))return gh(c,400);if(this.options.perMessageDeflate){let k=new cc(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let E=GP(u.headers["sec-websocket-extensions"]);E[cc.extensionName]&&(k.accept(E[cc.extensionName]),A[cc.extensionName]=k)}catch(E){return gh(c,400)}}if(this.options.verifyClient){let k={origin:u.headers[`${x===8?"sec-websocket-origin":"origin"}`],secure:!!(u.socket.authorized||u.socket.encrypted),req:u};if(this.options.verifyClient.length===2){this.options.verifyClient(k,(E,L,B,W)=>{if(!E)return gh(c,L||401,B,W);this.completeUpgrade(t,A,u,c,d,g)});return}if(!this.options.verifyClient(k))return gh(c,401)}this.completeUpgrade(t,A,u,c,d,g)}completeUpgrade(u,c,d,g,t,x){if(!g.readable||!g.writable)return g.destroy();if(g[YP])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");let A=WP("sha1").update(u+bP).digest("base64"),k=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${A}`],E=new HP(null),L=d.headers["sec-websocket-protocol"];if(L&&(L=L.split(",").map(JP),this.options.handleProtocols?L=this.options.handleProtocols(L,d):L=L[0],L&&(k.push(`Sec-WebSocket-Protocol: ${L}`),E._protocol=L)),c[cc.extensionName]){let B=c[cc.extensionName].params,W=VP({[cc.extensionName]:[B]});k.push(`Sec-WebSocket-Extensions: ${W}`),E._extensions=c}this.emit("headers",k,d),g.write(k.concat(`\r
`).join(`\r
`)),g.removeListener("error",Sy),E.setSocket(g,t,this.options.maxPayload),this.clients&&(this.clients.add(E),E.on("close",()=>this.clients.delete(E))),x(E,d)}};NE.exports=BE;function XP(o,u){for(let c of Object.keys(u))o.on(c,u[c]);return function(){for(let d of Object.keys(u))o.removeListener(d,u[d])}}function KP(o){o.emit("close")}function Sy(){this.destroy()}function gh(o,u,c,d){o.writable&&(c=c||Cy[u],d=Qr({Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(c)},d),o.write(`HTTP/1.1 ${u} ${Cy[u]}\r
`+Object.keys(d).map(g=>`${g}: ${d[g]}`).join(`\r
`)+`\r
\r
`+c)),o.removeListener("error",Sy),o.destroy()}function JP(o){return o.trim()}});var zE=et((bU,jE)=>{"use strict";var aa=Ey();aa.createWebSocketStream=LE();aa.Server=UE();aa.Receiver=my();aa.Sender=vy();jE.exports=aa});var WE=et(_h=>{"use strict";var QP=_h&&_h.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(_h,"__esModule",{value:!0});var ZP=QP(zE()),da=global;da.WebSocket||(da.WebSocket=ZP.default);da.window||(da.window=global);da.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 qE=et((yh,Ty)=>{(function(o,u){typeof yh=="object"&&typeof Ty=="object"?Ty.exports=u():typeof define=="function"&&define.amd?define([],u):typeof yh=="object"?yh.ReactDevToolsBackend=u():o.ReactDevToolsBackend=u()})(window,function(){return function(o){var u={};function c(d){if(u[d])return u[d].exports;var g=u[d]={i:d,l:!1,exports:{}};return o[d].call(g.exports,g,g.exports,c),g.l=!0,g.exports}return c.m=o,c.c=u,c.d=function(d,g,t){c.o(d,g)||Object.defineProperty(d,g,{enumerable:!0,get:t})},c.r=function(d){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})},c.t=function(d,g){if(1&g&&(d=c(d)),8&g||4&g&&typeof d=="object"&&d&&d.__esModule)return d;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:d}),2&g&&typeof d!="string")for(var x in d)c.d(t,x,function(A){return d[A]}.bind(null,x));return t},c.n=function(d){var g=d&&d.__esModule?function(){return d.default}:function(){return d};return c.d(g,"a",g),g},c.o=function(d,g){return Object.prototype.hasOwnProperty.call(d,g)},c.p="",c(c.s=20)}([function(o,u,c){"use strict";o.exports=c(12)},function(o,u,c){"use strict";var d=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function x(A){if(A==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(A)}o.exports=function(){try{if(!Object.assign)return!1;var A=new String("abc");if(A[5]="de",Object.getOwnPropertyNames(A)[0]==="5")return!1;for(var k={},E=0;E<10;E++)k["_"+String.fromCharCode(E)]=E;if(Object.getOwnPropertyNames(k).map(function(B){return k[B]}).join("")!=="0123456789")return!1;var L={};return"abcdefghijklmnopqrst".split("").forEach(function(B){L[B]=B}),Object.keys(Object.assign({},L)).join("")==="abcdefghijklmnopqrst"}catch(B){return!1}}()?Object.assign:function(A,k){for(var E,L,B=x(A),W=1;W<arguments.length;W++){for(var X in E=Object(arguments[W]))g.call(E,X)&&(B[X]=E[X]);if(d){L=d(E);for(var m=0;m<L.length;m++)t.call(E,L[m])&&(B[L[m]]=E[L[m]])}}return B}},function(o,u,c){(function(d){function g(Me){return(g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(te){return typeof te}:function(te){return te&&typeof Symbol=="function"&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te})(Me)}var t=/^\s+|\s+$/g,x=/^[-+]0x[0-9a-f]+$/i,A=/^0b[01]+$/i,k=/^0o[0-7]+$/i,E=parseInt,L=(d===void 0?"undefined":g(d))=="object"&&d&&d.Object===Object&&d,B=(typeof self=="undefined"?"undefined":g(self))=="object"&&self&&self.Object===Object&&self,W=L||B||Function("return this")(),X=Object.prototype.toString,m=Math.max,me=Math.min,ye=function(){return W.Date.now()};function se(Me,te,Oe){var Le,Ze,dt,ct,je,Ve,Ft=0,Ot=!1,qt=!1,tt=!0;if(typeof Me!="function")throw new TypeError("Expected a function");function b(it){var kt=Le,Pt=Ze;return Le=Ze=void 0,Ft=it,ct=Me.apply(Pt,kt)}function ee(it){return Ft=it,je=setTimeout(J,te),Ot?b(it):ct}function pe(it){var kt=it-Ve;return Ve===void 0||kt>=te||kt<0||qt&&it-Ft>=dt}function J(){var it=ye();if(pe(it))return Te(it);je=setTimeout(J,function(kt){var Pt=te-(kt-Ve);return qt?me(Pt,dt-(kt-Ft)):Pt}(it))}function Te(it){return je=void 0,tt&&Le?b(it):(Le=Ze=void 0,ct)}function ft(){var it=ye(),kt=pe(it);if(Le=arguments,Ze=this,Ve=it,kt){if(je===void 0)return ee(Ve);if(qt)return je=setTimeout(J,te),b(Ve)}return je===void 0&&(je=setTimeout(J,te)),ct}return te=Se(te)||0,Ee(Oe)&&(Ot=!!Oe.leading,dt=(qt="maxWait"in Oe)?m(Se(Oe.maxWait)||0,te):dt,tt="trailing"in Oe?!!Oe.trailing:tt),ft.cancel=function(){je!==void 0&&clearTimeout(je),Ft=0,Le=Ve=Ze=je=void 0},ft.flush=function(){return je===void 0?ct:Te(ye())},ft}function Ee(Me){var te=g(Me);return!!Me&&(te=="object"||te=="function")}function We(Me){return g(Me)=="symbol"||function(te){return!!te&&g(te)=="object"}(Me)&&X.call(Me)=="[object Symbol]"}function Se(Me){if(typeof Me=="number")return Me;if(We(Me))return NaN;if(Ee(Me)){var te=typeof Me.valueOf=="function"?Me.valueOf():Me;Me=Ee(te)?te+"":te}if(typeof Me!="string")return Me===0?Me:+Me;Me=Me.replace(t,"");var Oe=A.test(Me);return Oe||k.test(Me)?E(Me.slice(2),Oe?2:8):x.test(Me)?NaN:+Me}o.exports=function(Me,te,Oe){var Le=!0,Ze=!0;if(typeof Me!="function")throw new TypeError("Expected a function");return Ee(Oe)&&(Le="leading"in Oe?!!Oe.leading:Le,Ze="trailing"in Oe?!!Oe.trailing:Ze),se(Me,te,{leading:Le,maxWait:te,trailing:Ze})}}).call(this,c(4))},function(o,u,c){(function(d){function g(b){return(g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ee){return typeof ee}:function(ee){return ee&&typeof Symbol=="function"&&ee.constructor===Symbol&&ee!==Symbol.prototype?"symbol":typeof ee})(b)}var t;u=o.exports=m,t=(d===void 0?"undefined":g(d))==="object"&&d.env&&d.env.NODE_DEBUG&&/\bsemver\b/i.test(d.env.NODE_DEBUG)?function(){var b=Array.prototype.slice.call(arguments,0);b.unshift("SEMVER"),console.log.apply(console,b)}:function(){},u.SEMVER_SPEC_VERSION="2.0.0";var x=Number.MAX_SAFE_INTEGER||9007199254740991,A=u.re=[],k=u.src=[],E=u.tokens={},L=0;function B(b){E[b]=L++}B("NUMERICIDENTIFIER"),k[E.NUMERICIDENTIFIER]="0|[1-9]\\d*",B("NUMERICIDENTIFIERLOOSE"),k[E.NUMERICIDENTIFIERLOOSE]="[0-9]+",B("NONNUMERICIDENTIFIER"),k[E.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",B("MAINVERSION"),k[E.MAINVERSION]="("+k[E.NUMERICIDENTIFIER]+")\\.("+k[E.NUMERICIDENTIFIER]+")\\.("+k[E.NUMERICIDENTIFIER]+")",B("MAINVERSIONLOOSE"),k[E.MAINVERSIONLOOSE]="("+k[E.NUMERICIDENTIFIERLOOSE]+")\\.("+k[E.NUMERICIDENTIFIERLOOSE]+")\\.("+k[E.NUMERICIDENTIFIERLOOSE]+")",B("PRERELEASEIDENTIFIER"),k[E.PRERELEASEIDENTIFIER]="(?:"+k[E.NUMERICIDENTIFIER]+"|"+k[E.NONNUMERICIDENTIFIER]+")",B("PRERELEASEIDENTIFIERLOOSE"),k[E.PRERELEASEIDENTIFIERLOOSE]="(?:"+k[E.NUMERICIDENTIFIERLOOSE]+"|"+k[E.NONNUMERICIDENTIFIER]+")",B("PRERELEASE"),k[E.PRERELEASE]="(?:-("+k[E.PRERELEASEIDENTIFIER]+"(?:\\."+k[E.PRERELEASEIDENTIFIER]+")*))",B("PRERELEASELOOSE"),k[E.PRERELEASELOOSE]="(?:-?("+k[E.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+k[E.PRERELEASEIDENTIFIERLOOSE]+")*))",B("BUILDIDENTIFIER"),k[E.BUILDIDENTIFIER]="[0-9A-Za-z-]+",B("BUILD"),k[E.BUILD]="(?:\\+("+k[E.BUILDIDENTIFIER]+"(?:\\."+k[E.BUILDIDENTIFIER]+")*))",B("FULL"),B("FULLPLAIN"),k[E.FULLPLAIN]="v?"+k[E.MAINVERSION]+k[E.PRERELEASE]+"?"+k[E.BUILD]+"?",k[E.FULL]="^"+k[E.FULLPLAIN]+"$",B("LOOSEPLAIN"),k[E.LOOSEPLAIN]="[v=\\s]*"+k[E.MAINVERSIONLOOSE]+k[E.PRERELEASELOOSE]+"?"+k[E.BUILD]+"?",B("LOOSE"),k[E.LOOSE]="^"+k[E.LOOSEPLAIN]+"$",B("GTLT"),k[E.GTLT]="((?:<|>)?=?)",B("XRANGEIDENTIFIERLOOSE"),k[E.XRANGEIDENTIFIERLOOSE]=k[E.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",B("XRANGEIDENTIFIER"),k[E.XRANGEIDENTIFIER]=k[E.NUMERICIDENTIFIER]+"|x|X|\\*",B("XRANGEPLAIN"),k[E.XRANGEPLAIN]="[v=\\s]*("+k[E.XRANGEIDENTIFIER]+")(?:\\.("+k[E.XRANGEIDENTIFIER]+")(?:\\.("+k[E.XRANGEIDENTIFIER]+")(?:"+k[E.PRERELEASE]+")?"+k[E.BUILD]+"?)?)?",B("XRANGEPLAINLOOSE"),k[E.XRANGEPLAINLOOSE]="[v=\\s]*("+k[E.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+k[E.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+k[E.XRANGEIDENTIFIERLOOSE]+")(?:"+k[E.PRERELEASELOOSE]+")?"+k[E.BUILD]+"?)?)?",B("XRANGE"),k[E.XRANGE]="^"+k[E.GTLT]+"\\s*"+k[E.XRANGEPLAIN]+"$",B("XRANGELOOSE"),k[E.XRANGELOOSE]="^"+k[E.GTLT]+"\\s*"+k[E.XRANGEPLAINLOOSE]+"$",B("COERCE"),k[E.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",B("COERCERTL"),A[E.COERCERTL]=new RegExp(k[E.COERCE],"g"),B("LONETILDE"),k[E.LONETILDE]="(?:~>?)",B("TILDETRIM"),k[E.TILDETRIM]="(\\s*)"+k[E.LONETILDE]+"\\s+",A[E.TILDETRIM]=new RegExp(k[E.TILDETRIM],"g"),B("TILDE"),k[E.TILDE]="^"+k[E.LONETILDE]+k[E.XRANGEPLAIN]+"$",B("TILDELOOSE"),k[E.TILDELOOSE]="^"+k[E.LONETILDE]+k[E.XRANGEPLAINLOOSE]+"$",B("LONECARET"),k[E.LONECARET]="(?:\\^)",B("CARETTRIM"),k[E.CARETTRIM]="(\\s*)"+k[E.LONECARET]+"\\s+",A[E.CARETTRIM]=new RegExp(k[E.CARETTRIM],"g"),B("CARET"),k[E.CARET]="^"+k[E.LONECARET]+k[E.XRANGEPLAIN]+"$",B("CARETLOOSE"),k[E.CARETLOOSE]="^"+k[E.LONECARET]+k[E.XRANGEPLAINLOOSE]+"$",B("COMPARATORLOOSE"),k[E.COMPARATORLOOSE]="^"+k[E.GTLT]+"\\s*("+k[E.LOOSEPLAIN]+")$|^$",B("COMPARATOR"),k[E.COMPARATOR]="^"+k[E.GTLT]+"\\s*("+k[E.FULLPLAIN]+")$|^$",B("COMPARATORTRIM"),k[E.COMPARATORTRIM]="(\\s*)"+k[E.GTLT]+"\\s*("+k[E.LOOSEPLAIN]+"|"+k[E.XRANGEPLAIN]+")",A[E.COMPARATORTRIM]=new RegExp(k[E.COMPARATORTRIM],"g"),B("HYPHENRANGE"),k[E.HYPHENRANGE]="^\\s*("+k[E.XRANGEPLAIN]+")\\s+-\\s+("+k[E.XRANGEPLAIN]+")\\s*$",B("HYPHENRANGELOOSE"),k[E.HYPHENRANGELOOSE]="^\\s*("+k[E.XRANGEPLAINLOOSE]+")\\s+-\\s+("+k[E.XRANGEPLAINLOOSE]+")\\s*$",B("STAR"),k[E.STAR]="(<|>)?=?\\s*\\*";for(var W=0;W<L;W++)t(W,k[W]),A[W]||(A[W]=new RegExp(k[W]));function X(b,ee){if(ee&&g(ee)==="object"||(ee={loose:!!ee,includePrerelease:!1}),b instanceof m)return b;if(typeof b!="string"||b.length>256||!(ee.loose?A[E.LOOSE]:A[E.FULL]).test(b))return null;try{return new m(b,ee)}catch(pe){return null}}function m(b,ee){if(ee&&g(ee)==="object"||(ee={loose:!!ee,includePrerelease:!1}),b instanceof m){if(b.loose===ee.loose)return b;b=b.version}else if(typeof b!="string")throw new TypeError("Invalid Version: "+b);if(b.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof m))return new m(b,ee);t("SemVer",b,ee),this.options=ee,this.loose=!!ee.loose;var pe=b.trim().match(ee.loose?A[E.LOOSE]:A[E.FULL]);if(!pe)throw new TypeError("Invalid Version: "+b);if(this.raw=b,this.major=+pe[1],this.minor=+pe[2],this.patch=+pe[3],this.major>x||this.major<0)throw new TypeError("Invalid major version");if(this.minor>x||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>x||this.patch<0)throw new TypeError("Invalid patch version");pe[4]?this.prerelease=pe[4].split(".").map(function(J){if(/^[0-9]+$/.test(J)){var Te=+J;if(Te>=0&&Te<x)return Te}return J}):this.prerelease=[],this.build=pe[5]?pe[5].split("."):[],this.format()}u.parse=X,u.valid=function(b,ee){var pe=X(b,ee);return pe?pe.version:null},u.clean=function(b,ee){var pe=X(b.trim().replace(/^[=v]+/,""),ee);return pe?pe.version:null},u.SemVer=m,m.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},m.prototype.toString=function(){return this.version},m.prototype.compare=function(b){return t("SemVer.compare",this.version,this.options,b),b instanceof m||(b=new m(b,this.options)),this.compareMain(b)||this.comparePre(b)},m.prototype.compareMain=function(b){return b instanceof m||(b=new m(b,this.options)),ye(this.major,b.major)||ye(this.minor,b.minor)||ye(this.patch,b.patch)},m.prototype.comparePre=function(b){if(b instanceof m||(b=new m(b,this.options)),this.prerelease.length&&!b.prerelease.length)return-1;if(!this.prerelease.length&&b.prerelease.length)return 1;if(!this.prerelease.length&&!b.prerelease.length)return 0;var ee=0;do{var pe=this.prerelease[ee],J=b.prerelease[ee];if(t("prerelease compare",ee,pe,J),pe===void 0&&J===void 0)return 0;if(J===void 0)return 1;if(pe===void 0)return-1;if(pe!==J)return ye(pe,J)}while(++ee)},m.prototype.compareBuild=function(b){b instanceof m||(b=new m(b,this.options));var ee=0;do{var pe=this.build[ee],J=b.build[ee];if(t("prerelease compare",ee,pe,J),pe===void 0&&J===void 0)return 0;if(J===void 0)return 1;if(pe===void 0)return-1;if(pe!==J)return ye(pe,J)}while(++ee)},m.prototype.inc=function(b,ee){switch(b){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",ee);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",ee);break;case"prepatch":this.prerelease.length=0,this.inc("patch",ee),this.inc("pre",ee);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",ee),this.inc("pre",ee);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var pe=this.prerelease.length;--pe>=0;)typeof this.prerelease[pe]=="number"&&(this.prerelease[pe]++,pe=-2);pe===-1&&this.prerelease.push(0)}ee&&(this.prerelease[0]===ee?isNaN(this.prerelease[1])&&(this.prerelease=[ee,0]):this.prerelease=[ee,0]);break;default:throw new Error("invalid increment argument: "+b)}return this.format(),this.raw=this.version,this},u.inc=function(b,ee,pe,J){typeof pe=="string"&&(J=pe,pe=void 0);try{return new m(b,pe).inc(ee,J).version}catch(Te){return null}},u.diff=function(b,ee){if(Se(b,ee))return null;var pe=X(b),J=X(ee),Te="";if(pe.prerelease.length||J.prerelease.length){Te="pre";var ft="prerelease"}for(var it in pe)if((it==="major"||it==="minor"||it==="patch")&&pe[it]!==J[it])return Te+it;return ft},u.compareIdentifiers=ye;var me=/^[0-9]+$/;function ye(b,ee){var pe=me.test(b),J=me.test(ee);return pe&&J&&(b=+b,ee=+ee),b===ee?0:pe&&!J?-1:J&&!pe?1:b<ee?-1:1}function se(b,ee,pe){return new m(b,pe).compare(new m(ee,pe))}function Ee(b,ee,pe){return se(b,ee,pe)>0}function We(b,ee,pe){return se(b,ee,pe)<0}function Se(b,ee,pe){return se(b,ee,pe)===0}function Me(b,ee,pe){return se(b,ee,pe)!==0}function te(b,ee,pe){return se(b,ee,pe)>=0}function Oe(b,ee,pe){return se(b,ee,pe)<=0}function Le(b,ee,pe,J){switch(ee){case"===":return g(b)==="object"&&(b=b.version),g(pe)==="object"&&(pe=pe.version),b===pe;case"!==":return g(b)==="object"&&(b=b.version),g(pe)==="object"&&(pe=pe.version),b!==pe;case"":case"=":case"==":return Se(b,pe,J);case"!=":return Me(b,pe,J);case">":return Ee(b,pe,J);case">=":return te(b,pe,J);case"<":return We(b,pe,J);case"<=":return Oe(b,pe,J);default:throw new TypeError("Invalid operator: "+ee)}}function Ze(b,ee){if(ee&&g(ee)==="object"||(ee={loose:!!ee,includePrerelease:!1}),b instanceof Ze){if(b.loose===!!ee.loose)return b;b=b.value}if(!(this instanceof Ze))return new Ze(b,ee);t("comparator",b,ee),this.options=ee,this.loose=!!ee.loose,this.parse(b),this.semver===dt?this.value="":this.value=this.operator+this.semver.version,t("comp",this)}u.rcompareIdentifiers=function(b,ee){return ye(ee,b)},u.major=function(b,ee){return new m(b,ee).major},u.minor=function(b,ee){return new m(b,ee).minor},u.patch=function(b,ee){return new m(b,ee).patch},u.compare=se,u.compareLoose=function(b,ee){return se(b,ee,!0)},u.compareBuild=function(b,ee,pe){var J=new m(b,pe),Te=new m(ee,pe);return J.compare(Te)||J.compareBuild(Te)},u.rcompare=function(b,ee,pe){return se(ee,b,pe)},u.sort=function(b,ee){return b.sort(function(pe,J){return u.compareBuild(pe,J,ee)})},u.rsort=function(b,ee){return b.sort(function(pe,J){return u.compareBuild(J,pe,ee)})},u.gt=Ee,u.lt=We,u.eq=Se,u.neq=Me,u.gte=te,u.lte=Oe,u.cmp=Le,u.Comparator=Ze;var dt={};function ct(b,ee){if(ee&&g(ee)==="object"||(ee={loose:!!ee,includePrerelease:!1}),b instanceof ct)return b.loose===!!ee.loose&&b.includePrerelease===!!ee.includePrerelease?b:new ct(b.raw,ee);if(b instanceof Ze)return new ct(b.value,ee);if(!(this instanceof ct))return new ct(b,ee);if(this.options=ee,this.loose=!!ee.loose,this.includePrerelease=!!ee.includePrerelease,this.raw=b,this.set=b.split(/\s*\|\|\s*/).map(function(pe){return this.parseRange(pe.trim())},this).filter(function(pe){return pe.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+b);this.format()}function je(b,ee){for(var pe=!0,J=b.slice(),Te=J.pop();pe&&J.length;)pe=J.every(function(ft){return Te.intersects(ft,ee)}),Te=J.pop();return pe}function Ve(b){return!b||b.toLowerCase()==="x"||b==="*"}function Ft(b,ee,pe,J,Te,ft,it,kt,Pt,ln,Rn,Yt,Ht){return((ee=Ve(pe)?"":Ve(J)?">="+pe+".0.0":Ve(Te)?">="+pe+"."+J+".0":">="+ee)+" "+(kt=Ve(Pt)?"":Ve(ln)?"<"+(+Pt+1)+".0.0":Ve(Rn)?"<"+Pt+"."+(+ln+1)+".0":Yt?"<="+Pt+"."+ln+"."+Rn+"-"+Yt:"<="+kt)).trim()}function Ot(b,ee,pe){for(var J=0;J<b.length;J++)if(!b[J].test(ee))return!1;if(ee.prerelease.length&&!pe.includePrerelease){for(J=0;J<b.length;J++)if(t(b[J].semver),b[J].semver!==dt&&b[J].semver.prerelease.length>0){var Te=b[J].semver;if(Te.major===ee.major&&Te.minor===ee.minor&&Te.patch===ee.patch)return!0}return!1}return!0}function qt(b,ee,pe){try{ee=new ct(ee,pe)}catch(J){return!1}return ee.test(b)}function tt(b,ee,pe,J){var Te,ft,it,kt,Pt;switch(b=new m(b,J),ee=new ct(ee,J),pe){case">":Te=Ee,ft=Oe,it=We,kt=">",Pt=">=";break;case"<":Te=We,ft=te,it=Ee,kt="<",Pt="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(qt(b,ee,J))return!1;for(var ln=0;ln<ee.set.length;++ln){var Rn=ee.set[ln],Yt=null,Ht=null;if(Rn.forEach(function(nr){nr.semver===dt&&(nr=new Ze(">=0.0.0")),Yt=Yt||nr,Ht=Ht||nr,Te(nr.semver,Yt.semver,J)?Yt=nr:it(nr.semver,Ht.semver,J)&&(Ht=nr)}),Yt.operator===kt||Yt.operator===Pt||(!Ht.operator||Ht.operator===kt)&&ft(b,Ht.semver)||Ht.operator===Pt&&it(b,Ht.semver))return!1}return!0}Ze.prototype.parse=function(b){var ee=this.options.loose?A[E.COMPARATORLOOSE]:A[E.COMPARATOR],pe=b.match(ee);if(!pe)throw new TypeError("Invalid comparator: "+b);this.operator=pe[1]!==void 0?pe[1]:"",this.operator==="="&&(this.operator=""),pe[2]?this.semver=new m(pe[2],this.options.loose):this.semver=dt},Ze.prototype.toString=function(){return this.value},Ze.prototype.test=function(b){if(t("Comparator.test",b,this.options.loose),this.semver===dt||b===dt)return!0;if(typeof b=="string")try{b=new m(b,this.options)}catch(ee){return!1}return Le(b,this.operator,this.semver,this.options)},Ze.prototype.intersects=function(b,ee){if(!(b instanceof Ze))throw new TypeError("a Comparator is required");var pe;if(ee&&g(ee)==="object"||(ee={loose:!!ee,includePrerelease:!1}),this.operator==="")return this.value===""||(pe=new ct(b.value,ee),qt(this.value,pe,ee));if(b.operator==="")return b.value===""||(pe=new ct(this.value,ee),qt(b.semver,pe,ee));var J=!(this.operator!==">="&&this.operator!==">"||b.operator!==">="&&b.operator!==">"),Te=!(this.operator!=="<="&&this.operator!=="<"||b.operator!=="<="&&b.operator!=="<"),ft=this.semver.version===b.semver.version,it=!(this.operator!==">="&&this.operator!=="<="||b.operator!==">="&&b.operator!=="<="),kt=Le(this.semver,"<",b.semver,ee)&&(this.operator===">="||this.operator===">")&&(b.operator==="<="||b.operator==="<"),Pt=Le(this.semver,">",b.semver,ee)&&(this.operator==="<="||this.operator==="<")&&(b.operator===">="||b.operator===">");return J||Te||ft&&it||kt||Pt},u.Range=ct,ct.prototype.format=function(){return this.range=this.set.map(function(b){return b.join(" ").trim()}).join("||").trim(),this.range},ct.prototype.toString=function(){return this.range},ct.prototype.parseRange=function(b){var ee=this.options.loose;b=b.trim();var pe=ee?A[E.HYPHENRANGELOOSE]:A[E.HYPHENRANGE];b=b.replace(pe,Ft),t("hyphen replace",b),b=b.replace(A[E.COMPARATORTRIM],"$1$2$3"),t("comparator trim",b,A[E.COMPARATORTRIM]),b=(b=(b=b.replace(A[E.TILDETRIM],"$1~")).replace(A[E.CARETTRIM],"$1^")).split(/\s+/).join(" ");var J=ee?A[E.COMPARATORLOOSE]:A[E.COMPARATOR],Te=b.split(" ").map(function(ft){return function(it,kt){return t("comp",it,kt),it=function(Pt,ln){return Pt.trim().split(/\s+/).map(function(Rn){return function(Yt,Ht){t("caret",Yt,Ht);var nr=Ht.loose?A[E.CARETLOOSE]:A[E.CARET];return Yt.replace(nr,function(w,at,kn,Mn,Hn){var lr;return t("caret",Yt,w,at,kn,Mn,Hn),Ve(at)?lr="":Ve(kn)?lr=">="+at+".0.0 <"+(+at+1)+".0.0":Ve(Mn)?lr=at==="0"?">="+at+"."+kn+".0 <"+at+"."+(+kn+1)+".0":">="+at+"."+kn+".0 <"+(+at+1)+".0.0":Hn?(t("replaceCaret pr",Hn),lr=at==="0"?kn==="0"?">="+at+"."+kn+"."+Mn+"-"+Hn+" <"+at+"."+kn+"."+(+Mn+1):">="+at+"."+kn+"."+Mn+"-"+Hn+" <"+at+"."+(+kn+1)+".0":">="+at+"."+kn+"."+Mn+"-"+Hn+" <"+(+at+1)+".0.0"):(t("no pr"),lr=at==="0"?kn==="0"?">="+at+"."+kn+"."+Mn+" <"+at+"."+kn+"."+(+Mn+1):">="+at+"."+kn+"."+Mn+" <"+at+"."+(+kn+1)+".0":">="+at+"."+kn+"."+Mn+" <"+(+at+1)+".0.0"),t("caret return",lr),lr})}(Rn,ln)}).join(" ")}(it,kt),t("caret",it),it=function(Pt,ln){return Pt.trim().split(/\s+/).map(function(Rn){return function(Yt,Ht){var nr=Ht.loose?A[E.TILDELOOSE]:A[E.TILDE];return Yt.replace(nr,function(w,at,kn,Mn,Hn){var lr;return t("tilde",Yt,w,at,kn,Mn,Hn),Ve(at)?lr="":Ve(kn)?lr=">="+at+".0.0 <"+(+at+1)+".0.0":Ve(Mn)?lr=">="+at+"."+kn+".0 <"+at+"."+(+kn+1)+".0":Hn?(t("replaceTilde pr",Hn),lr=">="+at+"."+kn+"."+Mn+"-"+Hn+" <"+at+"."+(+kn+1)+".0"):lr=">="+at+"."+kn+"."+Mn+" <"+at+"."+(+kn+1)+".0",t("tilde return",lr),lr})}(Rn,ln)}).join(" ")}(it,kt),t("tildes",it),it=function(Pt,ln){return t("replaceXRanges",Pt,ln),Pt.split(/\s+/).map(function(Rn){return function(Yt,Ht){Yt=Yt.trim();var nr=Ht.loose?A[E.XRANGELOOSE]:A[E.XRANGE];return Yt.replace(nr,function(w,at,kn,Mn,Hn,lr){t("xRange",Yt,w,at,kn,Mn,Hn,lr);var fr=Ve(kn),e0=fr||Ve(Mn),vi=e0||Ve(Hn),co=vi;return at==="="&&co&&(at=""),lr=Ht.includePrerelease?"-0":"",fr?w=at===">"||at==="<"?"<0.0.0-0":"*":at&&co?(e0&&(Mn=0),Hn=0,at===">"?(at=">=",e0?(kn=+kn+1,Mn=0,Hn=0):(Mn=+Mn+1,Hn=0)):at==="<="&&(at="<",e0?kn=+kn+1:Mn=+Mn+1),w=at+kn+"."+Mn+"."+Hn+lr):e0?w=">="+kn+".0.0"+lr+" <"+(+kn+1)+".0.0"+lr:vi&&(w=">="+kn+"."+Mn+".0"+lr+" <"+kn+"."+(+Mn+1)+".0"+lr),t("xRange return",w),w})}(Rn,ln)}).join(" ")}(it,kt),t("xrange",it),it=function(Pt,ln){return t("replaceStars",Pt,ln),Pt.trim().replace(A[E.STAR],"")}(it,kt),t("stars",it),it}(ft,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(Te=Te.filter(function(ft){return!!ft.match(J)})),Te=Te.map(function(ft){return new Ze(ft,this.options)},this)},ct.prototype.intersects=function(b,ee){if(!(b instanceof ct))throw new TypeError("a Range is required");return this.set.some(function(pe){return je(pe,ee)&&b.set.some(function(J){return je(J,ee)&&pe.every(function(Te){return J.every(function(ft){return Te.intersects(ft,ee)})})})})},u.toComparators=function(b,ee){return new ct(b,ee).set.map(function(pe){return pe.map(function(J){return J.value}).join(" ").trim().split(" ")})},ct.prototype.test=function(b){if(!b)return!1;if(typeof b=="string")try{b=new m(b,this.options)}catch(pe){return!1}for(var ee=0;ee<this.set.length;ee++)if(Ot(this.set[ee],b,this.options))return!0;return!1},u.satisfies=qt,u.maxSatisfying=function(b,ee,pe){var J=null,Te=null;try{var ft=new ct(ee,pe)}catch(it){return null}return b.forEach(function(it){ft.test(it)&&(J&&Te.compare(it)!==-1||(Te=new m(J=it,pe)))}),J},u.minSatisfying=function(b,ee,pe){var J=null,Te=null;try{var ft=new ct(ee,pe)}catch(it){return null}return b.forEach(function(it){ft.test(it)&&(J&&Te.compare(it)!==1||(Te=new m(J=it,pe)))}),J},u.minVersion=function(b,ee){b=new ct(b,ee);var pe=new m("0.0.0");if(b.test(pe)||(pe=new m("0.0.0-0"),b.test(pe)))return pe;pe=null;for(var J=0;J<b.set.length;++J)b.set[J].forEach(function(Te){var ft=new m(Te.semver.version);switch(Te.operator){case">":ft.prerelease.length===0?ft.patch++:ft.prerelease.push(0),ft.raw=ft.format();case"":case">=":pe&&!Ee(pe,ft)||(pe=ft);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+Te.operator)}});return pe&&b.test(pe)?pe:null},u.validRange=function(b,ee){try{return new ct(b,ee).range||"*"}catch(pe){return null}},u.ltr=function(b,ee,pe){return tt(b,ee,"<",pe)},u.gtr=function(b,ee,pe){return tt(b,ee,">",pe)},u.outside=tt,u.prerelease=function(b,ee){var pe=X(b,ee);return pe&&pe.prerelease.length?pe.prerelease:null},u.intersects=function(b,ee,pe){return b=new ct(b,pe),ee=new ct(ee,pe),b.intersects(ee)},u.coerce=function(b,ee){if(b instanceof m)return b;if(typeof b=="number"&&(b=String(b)),typeof b!="string")return null;var pe=null;if((ee=ee||{}).rtl){for(var J;(J=A[E.COERCERTL].exec(b))&&(!pe||pe.index+pe[0].length!==b.length);)pe&&J.index+J[0].length===pe.index+pe[0].length||(pe=J),A[E.COERCERTL].lastIndex=J.index+J[1].length+J[2].length;A[E.COERCERTL].lastIndex=-1}else pe=b.match(A[E.COERCE]);return pe===null?null:X(pe[2]+"."+(pe[3]||"0")+"."+(pe[4]||"0"),ee)}}).call(this,c(5))},function(o,u){function c(g){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})(g)}var d;d=function(){return this}();try{d=d||new Function("return this")()}catch(g){(typeof window=="undefined"?"undefined":c(window))==="object"&&(d=window)}o.exports=d},function(o,u){var c,d,g=o.exports={};function t(){throw new Error("setTimeout has not been defined")}function x(){throw new Error("clearTimeout has not been defined")}function A(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(se){try{return c.call(null,ye,0)}catch(Ee){return c.call(this,ye,0)}}}(function(){try{c=typeof setTimeout=="function"?setTimeout:t}catch(ye){c=t}try{d=typeof clearTimeout=="function"?clearTimeout:x}catch(ye){d=x}})();var k,E=[],L=!1,B=-1;function W(){L&&k&&(L=!1,k.length?E=k.concat(E):B=-1,E.length&&X())}function X(){if(!L){var ye=A(W);L=!0;for(var se=E.length;se;){for(k=E,E=[];++B<se;)k&&k[B].run();B=-1,se=E.length}k=null,L=!1,function(Ee){if(d===clearTimeout)return clearTimeout(Ee);if((d===x||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(Ee);try{d(Ee)}catch(We){try{return d.call(null,Ee)}catch(Se){return d.call(this,Ee)}}}(ye)}}function m(ye,se){this.fun=ye,this.array=se}function me(){}g.nextTick=function(ye){var se=new Array(arguments.length-1);if(arguments.length>1)for(var Ee=1;Ee<arguments.length;Ee++)se[Ee-1]=arguments[Ee];E.push(new m(ye,se)),E.length!==1||L||A(X)},m.prototype.run=function(){this.fun.apply(null,this.array)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={},g.on=me,g.addListener=me,g.once=me,g.off=me,g.removeListener=me,g.removeAllListeners=me,g.emit=me,g.prependListener=me,g.prependOnceListener=me,g.listeners=function(ye){return[]},g.binding=function(ye){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(ye){throw new Error("process.chdir is not supported")},g.umask=function(){return 0}},function(o,u,c){"use strict";function d(Le,Ze){if(!(Le instanceof Ze))throw new TypeError("Cannot call a class as a function")}function g(Le,Ze){for(var dt=0;dt<Ze.length;dt++){var ct=Ze[dt];ct.enumerable=ct.enumerable||!1,ct.configurable=!0,"value"in ct&&(ct.writable=!0),Object.defineProperty(Le,ct.key,ct)}}var t=c(10),x=Symbol("max"),A=Symbol("length"),k=Symbol("lengthCalculator"),E=Symbol("allowStale"),L=Symbol("maxAge"),B=Symbol("dispose"),W=Symbol("noDisposeOnSet"),X=Symbol("lruList"),m=Symbol("cache"),me=Symbol("updateAgeOnGet"),ye=function(){return 1},se=function(){function Le(je){if(d(this,Le),typeof je=="number"&&(je={max:je}),je||(je={}),je.max&&(typeof je.max!="number"||je.max<0))throw new TypeError("max must be a non-negative number");this[x]=je.max||1/0;var Ve=je.length||ye;if(this[k]=typeof Ve!="function"?ye:Ve,this[E]=je.stale||!1,je.maxAge&&typeof je.maxAge!="number")throw new TypeError("maxAge must be a number");this[L]=je.maxAge||0,this[B]=je.dispose,this[W]=je.noDisposeOnSet||!1,this[me]=je.updateAgeOnGet||!1,this.reset()}var Ze,dt,ct;return Ze=Le,(dt=[{key:"rforEach",value:function(je,Ve){Ve=Ve||this;for(var Ft=this[X].tail;Ft!==null;){var Ot=Ft.prev;Oe(this,je,Ft,Ve),Ft=Ot}}},{key:"forEach",value:function(je,Ve){Ve=Ve||this;for(var Ft=this[X].head;Ft!==null;){var Ot=Ft.next;Oe(this,je,Ft,Ve),Ft=Ot}}},{key:"keys",value:function(){return this[X].toArray().map(function(je){return je.key})}},{key:"values",value:function(){return this[X].toArray().map(function(je){return je.value})}},{key:"reset",value:function(){var je=this;this[B]&&this[X]&&this[X].length&&this[X].forEach(function(Ve){return je[B](Ve.key,Ve.value)}),this[m]=new Map,this[X]=new t,this[A]=0}},{key:"dump",value:function(){var je=this;return this[X].map(function(Ve){return!We(je,Ve)&&{k:Ve.key,v:Ve.value,e:Ve.now+(Ve.maxAge||0)}}).toArray().filter(function(Ve){return Ve})}},{key:"dumpLru",value:function(){return this[X]}},{key:"set",value:function(je,Ve,Ft){if((Ft=Ft||this[L])&&typeof Ft!="number")throw new TypeError("maxAge must be a number");var Ot=Ft?Date.now():0,qt=this[k](Ve,je);if(this[m].has(je)){if(qt>this[x])return Me(this,this[m].get(je)),!1;var tt=this[m].get(je).value;return this[B]&&(this[W]||this[B](je,tt.value)),tt.now=Ot,tt.maxAge=Ft,tt.value=Ve,this[A]+=qt-tt.length,tt.length=qt,this.get(je),Se(this),!0}var b=new te(je,Ve,qt,Ot,Ft);return b.length>this[x]?(this[B]&&this[B](je,Ve),!1):(this[A]+=b.length,this[X].unshift(b),this[m].set(je,this[X].head),Se(this),!0)}},{key:"has",value:function(je){if(!this[m].has(je))return!1;var Ve=this[m].get(je).value;return!We(this,Ve)}},{key:"get",value:function(je){return Ee(this,je,!0)}},{key:"peek",value:function(je){return Ee(this,je,!1)}},{key:"pop",value:function(){var je=this[X].tail;return je?(Me(this,je),je.value):null}},{key:"del",value:function(je){Me(this,this[m].get(je))}},{key:"load",value:function(je){this.reset();for(var Ve=Date.now(),Ft=je.length-1;Ft>=0;Ft--){var Ot=je[Ft],qt=Ot.e||0;if(qt===0)this.set(Ot.k,Ot.v);else{var tt=qt-Ve;tt>0&&this.set(Ot.k,Ot.v,tt)}}}},{key:"prune",value:function(){var je=this;this[m].forEach(function(Ve,Ft){return Ee(je,Ft,!1)})}},{key:"max",set:function(je){if(typeof je!="number"||je<0)throw new TypeError("max must be a non-negative number");this[x]=je||1/0,Se(this)},get:function(){return this[x]}},{key:"allowStale",set:function(je){this[E]=!!je},get:function(){return this[E]}},{key:"maxAge",set:function(je){if(typeof je!="number")throw new TypeError("maxAge must be a non-negative number");this[L]=je,Se(this)},get:function(){return this[L]}},{key:"lengthCalculator",set:function(je){var Ve=this;typeof je!="function"&&(je=ye),je!==this[k]&&(this[k]=je,this[A]=0,this[X].forEach(function(Ft){Ft.length=Ve[k](Ft.value,Ft.key),Ve[A]+=Ft.length})),Se(this)},get:function(){return this[k]}},{key:"length",get:function(){return this[A]}},{key:"itemCount",get:function(){return this[X].length}}])&&g(Ze.prototype,dt),ct&&g(Ze,ct),Le}(),Ee=function(Le,Ze,dt){var ct=Le[m].get(Ze);if(ct){var je=ct.value;if(We(Le,je)){if(Me(Le,ct),!Le[E])return}else dt&&(Le[me]&&(ct.value.now=Date.now()),Le[X].unshiftNode(ct));return je.value}},We=function(Le,Ze){if(!Ze||!Ze.maxAge&&!Le[L])return!1;var dt=Date.now()-Ze.now;return Ze.maxAge?dt>Ze.maxAge:Le[L]&&dt>Le[L]},Se=function(Le){if(Le[A]>Le[x])for(var Ze=Le[X].tail;Le[A]>Le[x]&&Ze!==null;){var dt=Ze.prev;Me(Le,Ze),Ze=dt}},Me=function(Le,Ze){if(Ze){var dt=Ze.value;Le[B]&&Le[B](dt.key,dt.value),Le[A]-=dt.length,Le[m].delete(dt.key),Le[X].removeNode(Ze)}},te=function Le(Ze,dt,ct,je,Ve){d(this,Le),this.key=Ze,this.value=dt,this.length=ct,this.now=je,this.maxAge=Ve||0},Oe=function(Le,Ze,dt,ct){var je=dt.value;We(Le,je)&&(Me(Le,dt),Le[E]||(je=void 0)),je&&Ze.call(ct,je.value,je.key,Le)};o.exports=se},function(o,u,c){(function(d){function g(t){return(g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x})(t)}o.exports=function(){if(typeof document=="undefined"||!document.addEventListener)return null;var t,x,A,k={};return k.copy=function(){var E=!1,L=null,B=!1;function W(){E=!1,L=null,B&&window.getSelection().removeAllRanges(),B=!1}return document.addEventListener("copy",function(X){if(E){for(var m in L)X.clipboardData.setData(m,L[m]);X.preventDefault()}}),function(X){return new Promise(function(m,me){E=!0,typeof X=="string"?L={"text/plain":X}:X instanceof Node?L={"text/html":new XMLSerializer().serializeToString(X)}:X instanceof Object?L=X:me("Invalid data type. Must be string, DOM node, or an object mapping MIME types to strings."),function ye(se){try{if(document.execCommand("copy"))W(),m();else{if(se)throw W(),new Error("Unable to copy. Perhaps it's not available in your browser?");(function(){var Ee=document.getSelection();if(!document.queryCommandEnabled("copy")&&Ee.isCollapsed){var We=document.createRange();We.selectNodeContents(document.body),Ee.removeAllRanges(),Ee.addRange(We),B=!0}})(),ye(!0)}}catch(Ee){W(),me(Ee)}}(!1)})}}(),k.paste=(A=!1,document.addEventListener("paste",function(E){if(A){A=!1,E.preventDefault();var L=t;t=null,L(E.clipboardData.getData(x))}}),function(E){return new Promise(function(L,B){A=!0,t=L,x=E||"text/plain";try{document.execCommand("paste")||(A=!1,B(new Error("Unable to paste. Pasting only works in Internet Explorer at the moment.")))}catch(W){A=!1,B(new Error(W))}})}),typeof ClipboardEvent=="undefined"&&window.clipboardData!==void 0&&window.clipboardData.setData!==void 0&&(function(E){function L(Se,Me){return function(){Se.apply(Me,arguments)}}function B(Se){if(g(this)!="object")throw new TypeError("Promises must be constructed via new");if(typeof Se!="function")throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],se(Se,L(X,this),L(m,this))}function W(Se){var Me=this;return this._state===null?void this._deferreds.push(Se):void Ee(function(){var te=Me._state?Se.onFulfilled:Se.onRejected;if(te!==null){var Oe;try{Oe=te(Me._value)}catch(Le){return void Se.reject(Le)}Se.resolve(Oe)}else(Me._state?Se.resolve:Se.reject)(Me._value)})}function X(Se){try{if(Se===this)throw new TypeError("A promise cannot be resolved with itself.");if(Se&&(g(Se)=="object"||typeof Se=="function")){var Me=Se.then;if(typeof Me=="function")return void se(L(Me,Se),L(X,this),L(m,this))}this._state=!0,this._value=Se,me.call(this)}catch(te){m.call(this,te)}}function m(Se){this._state=!1,this._value=Se,me.call(this)}function me(){for(var Se=0,Me=this._deferreds.length;Me>Se;Se++)W.call(this,this._deferreds[Se]);this._deferreds=null}function ye(Se,Me,te,Oe){this.onFulfilled=typeof Se=="function"?Se:null,this.onRejected=typeof Me=="function"?Me:null,this.resolve=te,this.reject=Oe}function se(Se,Me,te){var Oe=!1;try{Se(function(Le){Oe||(Oe=!0,Me(Le))},function(Le){Oe||(Oe=!0,te(Le))})}catch(Le){if(Oe)return;Oe=!0,te(Le)}}var Ee=B.immediateFn||typeof d=="function"&&d||function(Se){setTimeout(Se,1)},We=Array.isArray||function(Se){return Object.prototype.toString.call(Se)==="[object Array]"};B.prototype.catch=function(Se){return this.then(null,Se)},B.prototype.then=function(Se,Me){var te=this;return new B(function(Oe,Le){W.call(te,new ye(Se,Me,Oe,Le))})},B.all=function(){var Se=Array.prototype.slice.call(arguments.length===1&&We(arguments[0])?arguments[0]:arguments);return new B(function(Me,te){function Oe(dt,ct){try{if(ct&&(g(ct)=="object"||typeof ct=="function")){var je=ct.then;if(typeof je=="function")return void je.call(ct,function(Ve){Oe(dt,Ve)},te)}Se[dt]=ct,--Le==0&&Me(Se)}catch(Ve){te(Ve)}}if(Se.length===0)return Me([]);for(var Le=Se.length,Ze=0;Ze<Se.length;Ze++)Oe(Ze,Se[Ze])})},B.resolve=function(Se){return Se&&g(Se)=="object"&&Se.constructor===B?Se:new B(function(Me){Me(Se)})},B.reject=function(Se){return new B(function(Me,te){te(Se)})},B.race=function(Se){return new B(function(Me,te){for(var Oe=0,Le=Se.length;Le>Oe;Oe++)Se[Oe].then(Me,te)})},o.exports?o.exports=B:E.Promise||(E.Promise=B)}(this),k.copy=function(E){return new Promise(function(L,B){if(typeof E!="string"&&!("text/plain"in E))throw new Error("You must provide a text/plain type.");var W=typeof E=="string"?E:E["text/plain"];window.clipboardData.setData("Text",W)?L():B(new Error("Copying was rejected."))})},k.paste=function(){return new Promise(function(E,L){var B=window.clipboardData.getData("Text");B?E(B):L(new Error("Pasting was rejected."))})}),k}()}).call(this,c(13).setImmediate)},function(o,u,c){"use strict";o.exports=c(15)},function(o,u,c){"use strict";c.r(u),u.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(o,u,c){"use strict";function d(k){var E=this;if(E instanceof d||(E=new d),E.tail=null,E.head=null,E.length=0,k&&typeof k.forEach=="function")k.forEach(function(W){E.push(W)});else if(arguments.length>0)for(var L=0,B=arguments.length;L<B;L++)E.push(arguments[L]);return E}function g(k,E,L){var B=E===k.head?new A(L,null,E,k):new A(L,E,E.next,k);return B.next===null&&(k.tail=B),B.prev===null&&(k.head=B),k.length++,B}function t(k,E){k.tail=new A(E,k.tail,null,k),k.head||(k.head=k.tail),k.length++}function x(k,E){k.head=new A(E,null,k.head,k),k.tail||(k.tail=k.head),k.length++}function A(k,E,L,B){if(!(this instanceof A))return new A(k,E,L,B);this.list=B,this.value=k,E?(E.next=this,this.prev=E):this.prev=null,L?(L.prev=this,this.next=L):this.next=null}o.exports=d,d.Node=A,d.create=d,d.prototype.removeNode=function(k){if(k.list!==this)throw new Error("removing node which does not belong to this list");var E=k.next,L=k.prev;return E&&(E.prev=L),L&&(L.next=E),k===this.head&&(this.head=E),k===this.tail&&(this.tail=L),k.list.length--,k.next=null,k.prev=null,k.list=null,E},d.prototype.unshiftNode=function(k){if(k!==this.head){k.list&&k.list.removeNode(k);var E=this.head;k.list=this,k.next=E,E&&(E.prev=k),this.head=k,this.tail||(this.tail=k),this.length++}},d.prototype.pushNode=function(k){if(k!==this.tail){k.list&&k.list.removeNode(k);var E=this.tail;k.list=this,k.prev=E,E&&(E.next=k),this.tail=k,this.head||(this.head=k),this.length++}},d.prototype.push=function(){for(var k=0,E=arguments.length;k<E;k++)t(this,arguments[k]);return this.length},d.prototype.unshift=function(){for(var k=0,E=arguments.length;k<E;k++)x(this,arguments[k]);return this.length},d.prototype.pop=function(){if(this.tail){var k=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,k}},d.prototype.shift=function(){if(this.head){var k=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,k}},d.prototype.forEach=function(k,E){E=E||this;for(var L=this.head,B=0;L!==null;B++)k.call(E,L.value,B,this),L=L.next},d.prototype.forEachReverse=function(k,E){E=E||this;for(var L=this.tail,B=this.length-1;L!==null;B--)k.call(E,L.value,B,this),L=L.prev},d.prototype.get=function(k){for(var E=0,L=this.head;L!==null&&E<k;E++)L=L.next;if(E===k&&L!==null)return L.value},d.prototype.getReverse=function(k){for(var E=0,L=this.tail;L!==null&&E<k;E++)L=L.prev;if(E===k&&L!==null)return L.value},d.prototype.map=function(k,E){E=E||this;for(var L=new d,B=this.head;B!==null;)L.push(k.call(E,B.value,this)),B=B.next;return L},d.prototype.mapReverse=function(k,E){E=E||this;for(var L=new d,B=this.tail;B!==null;)L.push(k.call(E,B.value,this)),B=B.prev;return L},d.prototype.reduce=function(k,E){var L,B=this.head;if(arguments.length>1)L=E;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");B=this.head.next,L=this.head.value}for(var W=0;B!==null;W++)L=k(L,B.value,W),B=B.next;return L},d.prototype.reduceReverse=function(k,E){var L,B=this.tail;if(arguments.length>1)L=E;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");B=this.tail.prev,L=this.tail.value}for(var W=this.length-1;B!==null;W--)L=k(L,B.value,W),B=B.prev;return L},d.prototype.toArray=function(){for(var k=new Array(this.length),E=0,L=this.head;L!==null;E++)k[E]=L.value,L=L.next;return k},d.prototype.toArrayReverse=function(){for(var k=new Array(this.length),E=0,L=this.tail;L!==null;E++)k[E]=L.value,L=L.prev;return k},d.prototype.slice=function(k,E){(E=E||this.length)<0&&(E+=this.length),(k=k||0)<0&&(k+=this.length);var L=new d;if(E<k||E<0)return L;k<0&&(k=0),E>this.length&&(E=this.length);for(var B=0,W=this.head;W!==null&&B<k;B++)W=W.next;for(;W!==null&&B<E;B++,W=W.next)L.push(W.value);return L},d.prototype.sliceReverse=function(k,E){(E=E||this.length)<0&&(E+=this.length),(k=k||0)<0&&(k+=this.length);var L=new d;if(E<k||E<0)return L;k<0&&(k=0),E>this.length&&(E=this.length);for(var B=this.length,W=this.tail;W!==null&&B>E;B--)W=W.prev;for(;W!==null&&B>k;B--,W=W.prev)L.push(W.value);return L},d.prototype.splice=function(k,E){k>this.length&&(k=this.length-1),k<0&&(k=this.length+k);for(var L=0,B=this.head;B!==null&&L<k;L++)B=B.next;var W=[];for(L=0;B&&L<E;L++)W.push(B.value),B=this.removeNode(B);for(B===null&&(B=this.tail),B!==this.head&&B!==this.tail&&(B=B.prev),L=2;L<arguments.length;L++)B=g(this,B,arguments[L]);return W},d.prototype.reverse=function(){for(var k=this.head,E=this.tail,L=k;L!==null;L=L.prev){var B=L.prev;L.prev=L.next,L.next=B}return this.head=E,this.tail=k,this};try{c(11)(d)}catch(k){}},function(o,u,c){"use strict";o.exports=function(d){d.prototype[Symbol.iterator]=regeneratorRuntime.mark(function g(){var t;return regeneratorRuntime.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:t=this.head;case 1:if(!t){x.next=7;break}return x.next=4,t.value;case 4:t=t.next,x.next=1;break;case 7:case"end":return x.stop()}},g,this)})}},function(o,u,c){"use strict";function d(tt){return(d=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})(tt)}var g=60103,t=60106,x=60107,A=60108,k=60114,E=60109,L=60110,B=60112,W=60113,X=60120,m=60115,me=60116,ye=60121,se=60122,Ee=60117,We=60129,Se=60131;if(typeof Symbol=="function"&&Symbol.for){var Me=Symbol.for;g=Me("react.element"),t=Me("react.portal"),x=Me("react.fragment"),A=Me("react.strict_mode"),k=Me("react.profiler"),E=Me("react.provider"),L=Me("react.context"),B=Me("react.forward_ref"),W=Me("react.suspense"),X=Me("react.suspense_list"),m=Me("react.memo"),me=Me("react.lazy"),ye=Me("react.block"),se=Me("react.server.block"),Ee=Me("react.fundamental"),We=Me("react.debug_trace_mode"),Se=Me("react.legacy_hidden")}function te(tt){if(d(tt)==="object"&&tt!==null){var b=tt.$$typeof;switch(b){case g:switch(tt=tt.type){case x:case k:case A:case W:case X:return tt;default:switch(tt=tt&&tt.$$typeof){case L:case B:case me:case m:case E:return tt;default:return b}}case t:return b}}}var Oe=E,Le=g,Ze=B,dt=x,ct=me,je=m,Ve=t,Ft=k,Ot=A,qt=W;u.ContextConsumer=L,u.ContextProvider=Oe,u.Element=Le,u.ForwardRef=Ze,u.Fragment=dt,u.Lazy=ct,u.Memo=je,u.Portal=Ve,u.Profiler=Ft,u.StrictMode=Ot,u.Suspense=qt,u.isAsyncMode=function(){return!1},u.isConcurrentMode=function(){return!1},u.isContextConsumer=function(tt){return te(tt)===L},u.isContextProvider=function(tt){return te(tt)===E},u.isElement=function(tt){return d(tt)==="object"&&tt!==null&&tt.$$typeof===g},u.isForwardRef=function(tt){return te(tt)===B},u.isFragment=function(tt){return te(tt)===x},u.isLazy=function(tt){return te(tt)===me},u.isMemo=function(tt){return te(tt)===m},u.isPortal=function(tt){return te(tt)===t},u.isProfiler=function(tt){return te(tt)===k},u.isStrictMode=function(tt){return te(tt)===A},u.isSuspense=function(tt){return te(tt)===W},u.isValidElementType=function(tt){return typeof tt=="string"||typeof tt=="function"||tt===x||tt===k||tt===We||tt===A||tt===W||tt===X||tt===Se||d(tt)==="object"&&tt!==null&&(tt.$$typeof===me||tt.$$typeof===m||tt.$$typeof===E||tt.$$typeof===L||tt.$$typeof===B||tt.$$typeof===Ee||tt.$$typeof===ye||tt[0]===se)},u.typeOf=te},function(o,u,c){(function(d){var g=d!==void 0&&d||typeof self!="undefined"&&self||window,t=Function.prototype.apply;function x(A,k){this._id=A,this._clearFn=k}u.setTimeout=function(){return new x(t.call(setTimeout,g,arguments),clearTimeout)},u.setInterval=function(){return new x(t.call(setInterval,g,arguments),clearInterval)},u.clearTimeout=u.clearInterval=function(A){A&&A.close()},x.prototype.unref=x.prototype.ref=function(){},x.prototype.close=function(){this._clearFn.call(g,this._id)},u.enroll=function(A,k){clearTimeout(A._idleTimeoutId),A._idleTimeout=k},u.unenroll=function(A){clearTimeout(A._idleTimeoutId),A._idleTimeout=-1},u._unrefActive=u.active=function(A){clearTimeout(A._idleTimeoutId);var k=A._idleTimeout;k>=0&&(A._idleTimeoutId=setTimeout(function(){A._onTimeout&&A._onTimeout()},k))},c(14),u.setImmediate=typeof self!="undefined"&&self.setImmediate||d!==void 0&&d.setImmediate||this&&this.setImmediate,u.clearImmediate=typeof self!="undefined"&&self.clearImmediate||d!==void 0&&d.clearImmediate||this&&this.clearImmediate}).call(this,c(4))},function(o,u,c){(function(d,g){(function(t,x){"use strict";if(!t.setImmediate){var A,k,E,L,B,W=1,X={},m=!1,me=t.document,ye=Object.getPrototypeOf&&Object.getPrototypeOf(t);ye=ye&&ye.setTimeout?ye:t,{}.toString.call(t.process)==="[object process]"?A=function(We){g.nextTick(function(){Ee(We)})}:function(){if(t.postMessage&&!t.importScripts){var We=!0,Se=t.onmessage;return t.onmessage=function(){We=!1},t.postMessage("","*"),t.onmessage=Se,We}}()?(L="setImmediate$"+Math.random()+"$",B=function(We){We.source===t&&typeof We.data=="string"&&We.data.indexOf(L)===0&&Ee(+We.data.slice(L.length))},t.addEventListener?t.addEventListener("message",B,!1):t.attachEvent("onmessage",B),A=function(We){t.postMessage(L+We,"*")}):t.MessageChannel?((E=new MessageChannel).port1.onmessage=function(We){Ee(We.data)},A=function(We){E.port2.postMessage(We)}):me&&"onreadystatechange"in me.createElement("script")?(k=me.documentElement,A=function(We){var Se=me.createElement("script");Se.onreadystatechange=function(){Ee(We),Se.onreadystatechange=null,k.removeChild(Se),Se=null},k.appendChild(Se)}):A=function(We){setTimeout(Ee,0,We)},ye.setImmediate=function(We){typeof We!="function"&&(We=new Function(""+We));for(var Se=new Array(arguments.length-1),Me=0;Me<Se.length;Me++)Se[Me]=arguments[Me+1];var te={callback:We,args:Se};return X[W]=te,A(W),W++},ye.clearImmediate=se}function se(We){delete X[We]}function Ee(We){if(m)setTimeout(Ee,0,We);else{var Se=X[We];if(Se){m=!0;try{(function(Me){var te=Me.callback,Oe=Me.args;switch(Oe.length){case 0:te();break;case 1:te(Oe[0]);break;case 2:te(Oe[0],Oe[1]);break;case 3:te(Oe[0],Oe[1],Oe[2]);break;default:te.apply(void 0,Oe)}})(Se)}finally{se(We),m=!1}}}}})(typeof self=="undefined"?d===void 0?this:d:self)}).call(this,c(4),c(5))},function(o,u,c){"use strict";function d(te){return(d=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})(te)}var g=c(1),t=c(16),x=c(18).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,A=60128;if(typeof Symbol=="function"&&Symbol.for){var k=Symbol.for;A=k("react.opaque.id")}var E=[],L=null,B=null;function W(){if(L===null){var te=new Map;try{me.useContext({_currentValue:null}),me.useState(null),me.useReducer(function(dt){return dt},null),me.useRef(null),me.useLayoutEffect(function(){}),me.useEffect(function(){}),me.useImperativeHandle(void 0,function(){return null}),me.useDebugValue(null),me.useCallback(function(){}),me.useMemo(function(){return null})}finally{var Oe=E;E=[]}for(var Le=0;Le<Oe.length;Le++){var Ze=Oe[Le];te.set(Ze.primitive,t.parse(Ze.stackError))}L=te}return L}var X=null;function m(){var te=X;return te!==null&&(X=te.next),te}var me={readContext:function(te){return te._currentValue},useCallback:function(te){var Oe=m();return E.push({primitive:"Callback",stackError:Error(),value:Oe!==null?Oe.memoizedState[0]:te}),te},useContext:function(te){return E.push({primitive:"Context",stackError:Error(),value:te._currentValue}),te._currentValue},useEffect:function(te){m(),E.push({primitive:"Effect",stackError:Error(),value:te})},useImperativeHandle:function(te){m();var Oe=void 0;te!==null&&d(te)==="object"&&(Oe=te.current),E.push({primitive:"ImperativeHandle",stackError:Error(),value:Oe})},useDebugValue:function(te,Oe){E.push({primitive:"DebugValue",stackError:Error(),value:typeof Oe=="function"?Oe(te):te})},useLayoutEffect:function(te){m(),E.push({primitive:"LayoutEffect",stackError:Error(),value:te})},useMemo:function(te){var Oe=m();return te=Oe!==null?Oe.memoizedState[0]:te(),E.push({primitive:"Memo",stackError:Error(),value:te}),te},useReducer:function(te,Oe,Le){return Oe=(te=m())!==null?te.memoizedState:Le!==void 0?Le(Oe):Oe,E.push({primitive:"Reducer",stackError:Error(),value:Oe}),[Oe,function(){}]},useRef:function(te){var Oe=m();return te=Oe!==null?Oe.memoizedState:{current:te},E.push({primitive:"Ref",stackError:Error(),value:te.current}),te},useState:function(te){var Oe=m();return te=Oe!==null?Oe.memoizedState:typeof te=="function"?te():te,E.push({primitive:"State",stackError:Error(),value:te}),[te,function(){}]},useTransition:function(){return m(),m(),E.push({primitive:"Transition",stackError:Error(),value:void 0}),[function(){},!1]},useMutableSource:function(te,Oe){return m(),m(),m(),m(),te=Oe(te._source),E.push({primitive:"MutableSource",stackError:Error(),value:te}),te},useDeferredValue:function(te){return m(),m(),E.push({primitive:"DeferredValue",stackError:Error(),value:te}),te},useOpaqueIdentifier:function(){var te=m();return B&&B.mode===0&&m(),(te=te===null?void 0:te.memoizedState)&&te.$$typeof===A&&(te=void 0),E.push({primitive:"OpaqueIdentifier",stackError:Error(),value:te}),te}},ye=0;function se(te,Oe,Le){var Ze=Oe[Le].source,dt=0;e:for(;dt<te.length;dt++)if(te[dt].source===Ze){for(var ct=Le+1,je=dt+1;ct<Oe.length&&je<te.length;ct++,je++)if(te[je].source!==Oe[ct].source)continue e;return dt}return-1}function Ee(te,Oe){return!!te&&(Oe="use"+Oe,!(te.length<Oe.length)&&te.lastIndexOf(Oe)===te.length-Oe.length)}function We(te){if(!te)return"";var Oe=te.lastIndexOf(".");return Oe===-1&&(Oe=0),te.substr(Oe,3)==="use"&&(Oe+=3),te.substr(Oe)}function Se(te,Oe){for(var Le=[],Ze=null,dt=Le,ct=0,je=[],Ve=0;Ve<Oe.length;Ve++){var Ft=Oe[Ve],Ot=te,qt=t.parse(Ft.stackError);e:{var tt=qt,b=se(tt,Ot,ye);if(b!==-1)Ot=b;else{for(var ee=0;ee<Ot.length&&5>ee;ee++)if((b=se(tt,Ot,ee))!==-1){ye=ee,Ot=b;break e}Ot=-1}}e:{if(tt=qt,(b=W().get(Ft.primitive))!==void 0){for(ee=0;ee<b.length&&ee<tt.length;ee++)if(b[ee].source!==tt[ee].source){ee<tt.length-1&&Ee(tt[ee].functionName,Ft.primitive)&&ee++,ee<tt.length-1&&Ee(tt[ee].functionName,Ft.primitive)&&ee++,tt=ee;break e}}tt=-1}if((qt=Ot===-1||tt===-1||2>Ot-tt?null:qt.slice(tt,Ot-1))!==null){if(Ot=0,Ze!==null){for(;Ot<qt.length&&Ot<Ze.length&&qt[qt.length-Ot-1].source===Ze[Ze.length-Ot-1].source;)Ot++;for(Ze=Ze.length-1;Ze>Ot;Ze--)dt=je.pop()}for(Ze=qt.length-Ot-1;1<=Ze;Ze--)Ot=[],dt.push({id:null,isStateEditable:!1,name:We(qt[Ze-1].functionName),value:void 0,subHooks:Ot}),je.push(dt),dt=Ot;Ze=qt}Ot=(qt=Ft.primitive)==="Context"||qt==="DebugValue"?null:ct++,dt.push({id:Ot,isStateEditable:qt==="Reducer"||qt==="State",name:qt,value:Ft.value,subHooks:[]})}return function pe(J,Te){for(var ft=[],it=0;it<J.length;it++){var kt=J[it];kt.name==="DebugValue"&&kt.subHooks.length===0?(J.splice(it,1),it--,ft.push(kt)):pe(kt.subHooks,kt)}Te!==null&&(ft.length===1?Te.value=ft[0].value:1<ft.length&&(Te.value=ft.map(function(Pt){return Pt.value})))}(Le,null),Le}function Me(te,Oe,Le){Le==null&&(Le=x.ReactCurrentDispatcher);var Ze=Le.current;Le.current=me;try{var dt=Error();te(Oe)}finally{te=E,E=[],Le.current=Ze}return Se(Le=t.parse(dt),te)}u.inspectHooks=Me,u.inspectHooksOfFiber=function(te,Oe){if(Oe==null&&(Oe=x.ReactCurrentDispatcher),B=te,te.tag!==0&&te.tag!==15&&te.tag!==11&&te.tag!==22)throw Error("Unknown Fiber. Needs to be a function component to inspect hooks.");W();var Le=te.type,Ze=te.memoizedProps;if(Le!==te.elementType&&Le&&Le.defaultProps){Ze=g({},Ze);var dt=Le.defaultProps;for(ct in dt)Ze[ct]===void 0&&(Ze[ct]=dt[ct])}X=te.memoizedState;var ct=new Map;try{for(dt=te;dt;){if(dt.tag===10){var je=dt.type._context;ct.has(je)||(ct.set(je,je._currentValue),je._currentValue=dt.memoizedProps.value)}dt=dt.return}if(te.tag===11){var Ve=Le.render;Le=Ze;var Ft=te.ref,Ot=(te=Oe).current;te.current=me;try{var qt=Error();Ve(Le,Ft)}finally{var tt=E;E=[],te.current=Ot}return Se(t.parse(qt),tt)}return Me(Le,Ze,Oe)}finally{X=null,function(b){b.forEach(function(ee,pe){return pe._currentValue=ee})}(ct)}}},function(o,u,c){var d,g,t;(function(x,A){"use strict";g=[c(17)],(t=typeof(d=function(k){var E=/(^|@)\S+:\d+/,L=/^\s*at .*(\S+:\d+|\(native\))/m,B=/^(eval@)?(\[native code])?$/;return{parse:function(W){if(W.stacktrace!==void 0||W["opera#sourceloc"]!==void 0)return this.parseOpera(W);if(W.stack&&W.stack.match(L))return this.parseV8OrIE(W);if(W.stack)return this.parseFFOrSafari(W);throw new Error("Cannot parse given Error object")},extractLocation:function(W){if(W.indexOf(":")===-1)return[W];var X=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(W.replace(/[()]/g,""));return[X[1],X[2]||void 0,X[3]||void 0]},parseV8OrIE:function(W){return W.stack.split(`
`).filter(function(X){return!!X.match(L)},this).map(function(X){X.indexOf("(eval ")>-1&&(X=X.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var m=X.replace(/^\s+/,"").replace(/\(eval code/g,"("),me=m.match(/ (\((.+):(\d+):(\d+)\)$)/),ye=(m=me?m.replace(me[0],""):m).split(/\s+/).slice(1),se=this.extractLocation(me?me[1]:ye.pop()),Ee=ye.join(" ")||void 0,We=["eval","<anonymous>"].indexOf(se[0])>-1?void 0:se[0];return new k({functionName:Ee,fileName:We,lineNumber:se[1],columnNumber:se[2],source:X})},this)},parseFFOrSafari:function(W){return W.stack.split(`
`).filter(function(X){return!X.match(B)},this).map(function(X){if(X.indexOf(" > eval")>-1&&(X=X.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),X.indexOf("@")===-1&&X.indexOf(":")===-1)return new k({functionName:X});var m=/((.*".+"[^@]*)?[^@]*)(?:@)/,me=X.match(m),ye=me&&me[1]?me[1]:void 0,se=this.extractLocation(X.replace(m,""));return new k({functionName:ye,fileName:se[0],lineNumber:se[1],columnNumber:se[2],source:X})},this)},parseOpera:function(W){return!W.stacktrace||W.message.indexOf(`
`)>-1&&W.message.split(`
`).length>W.stacktrace.split(`
`).length?this.parseOpera9(W):W.stack?this.parseOpera11(W):this.parseOpera10(W)},parseOpera9:function(W){for(var X=/Line (\d+).*script (?:in )?(\S+)/i,m=W.message.split(`
`),me=[],ye=2,se=m.length;ye<se;ye+=2){var Ee=X.exec(m[ye]);Ee&&me.push(new k({fileName:Ee[2],lineNumber:Ee[1],source:m[ye]}))}return me},parseOpera10:function(W){for(var X=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,m=W.stacktrace.split(`
`),me=[],ye=0,se=m.length;ye<se;ye+=2){var Ee=X.exec(m[ye]);Ee&&me.push(new k({functionName:Ee[3]||void 0,fileName:Ee[2],lineNumber:Ee[1],source:m[ye]}))}return me},parseOpera11:function(W){return W.stack.split(`
`).filter(function(X){return!!X.match(E)&&!X.match(/^Error created at/)},this).map(function(X){var m,me=X.split("@"),ye=this.extractLocation(me.pop()),se=me.shift()||"",Ee=se.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;se.match(/\(([^)]*)\)/)&&(m=se.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var We=m===void 0||m==="[arguments not available]"?void 0:m.split(",");return new k({functionName:Ee,args:We,fileName:ye[0],lineNumber:ye[1],columnNumber:ye[2],source:X})},this)}}})=="function"?d.apply(u,g):d)===void 0||(o.exports=t)})()},function(o,u,c){var d,g,t;(function(x,A){"use strict";g=[],(t=typeof(d=function(){function k(Ee){return Ee.charAt(0).toUpperCase()+Ee.substring(1)}function E(Ee){return function(){return this[Ee]}}var L=["isConstructor","isEval","isNative","isToplevel"],B=["columnNumber","lineNumber"],W=["fileName","functionName","source"],X=L.concat(B,W,["args"]);function m(Ee){if(Ee)for(var We=0;We<X.length;We++)Ee[X[We]]!==void 0&&this["set"+k(X[We])](Ee[X[We]])}m.prototype={getArgs:function(){return this.args},setArgs:function(Ee){if(Object.prototype.toString.call(Ee)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=Ee},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(Ee){if(Ee instanceof m)this.evalOrigin=Ee;else{if(!(Ee instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new m(Ee)}},toString:function(){var Ee=this.getFileName()||"",We=this.getLineNumber()||"",Se=this.getColumnNumber()||"",Me=this.getFunctionName()||"";return this.getIsEval()?Ee?"[eval] ("+Ee+":"+We+":"+Se+")":"[eval]:"+We+":"+Se:Me?Me+" ("+Ee+":"+We+":"+Se+")":Ee+":"+We+":"+Se}},m.fromString=function(Ee){var We=Ee.indexOf("("),Se=Ee.lastIndexOf(")"),Me=Ee.substring(0,We),te=Ee.substring(We+1,Se).split(","),Oe=Ee.substring(Se+1);if(Oe.indexOf("@")===0)var Le=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(Oe,""),Ze=Le[1],dt=Le[2],ct=Le[3];return new m({functionName:Me,args:te||void 0,fileName:Ze,lineNumber:dt||void 0,columnNumber:ct||void 0})};for(var me=0;me<L.length;me++)m.prototype["get"+k(L[me])]=E(L[me]),m.prototype["set"+k(L[me])]=function(Ee){return function(We){this[Ee]=Boolean(We)}}(L[me]);for(var ye=0;ye<B.length;ye++)m.prototype["get"+k(B[ye])]=E(B[ye]),m.prototype["set"+k(B[ye])]=function(Ee){return function(We){if(Se=We,isNaN(parseFloat(Se))||!isFinite(Se))throw new TypeError(Ee+" must be a Number");var Se;this[Ee]=Number(We)}}(B[ye]);for(var se=0;se<W.length;se++)m.prototype["get"+k(W[se])]=E(W[se]),m.prototype["set"+k(W[se])]=function(Ee){return function(We){this[Ee]=String(We)}}(W[se]);return m})=="function"?d.apply(u,g):d)===void 0||(o.exports=t)})()},function(o,u,c){"use strict";o.exports=c(19)},function(o,u,c){"use strict";function d(J){return(d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Te){return typeof Te}:function(Te){return Te&&typeof Symbol=="function"&&Te.constructor===Symbol&&Te!==Symbol.prototype?"symbol":typeof Te})(J)}var g=c(1),t=60103,x=60106;u.Fragment=60107,u.StrictMode=60108,u.Profiler=60114;var A=60109,k=60110,E=60112;u.Suspense=60113,u.unstable_SuspenseList=60120;var L=60115,B=60116,W=60121;if(u.unstable_DebugTracingMode=60129,u.unstable_LegacyHidden=60131,typeof Symbol=="function"&&Symbol.for){var X=Symbol.for;t=X("react.element"),x=X("react.portal"),u.Fragment=X("react.fragment"),u.StrictMode=X("react.strict_mode"),u.Profiler=X("react.profiler"),A=X("react.provider"),k=X("react.context"),E=X("react.forward_ref"),u.Suspense=X("react.suspense"),u.unstable_SuspenseList=X("react.suspense_list"),L=X("react.memo"),B=X("react.lazy"),W=X("react.block"),u.unstable_DebugTracingMode=X("react.debug_trace_mode"),u.unstable_LegacyHidden=X("react.legacy_hidden")}var m=typeof Symbol=="function"&&Symbol.iterator;function me(J){for(var Te="https://reactjs.org/docs/error-decoder.html?invariant="+J,ft=1;ft<arguments.length;ft++)Te+="&args[]="+encodeURIComponent(arguments[ft]);return"Minified React error #"+J+"; visit "+Te+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ye={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},se={};function Ee(J,Te,ft){this.props=J,this.context=Te,this.refs=se,this.updater=ft||ye}function We(){}function Se(J,Te,ft){this.props=J,this.context=Te,this.refs=se,this.updater=ft||ye}Ee.prototype.isReactComponent={},Ee.prototype.setState=function(J,Te){if(d(J)!=="object"&&typeof J!="function"&&J!=null)throw Error(me(85));this.updater.enqueueSetState(this,J,Te,"setState")},Ee.prototype.forceUpdate=function(J){this.updater.enqueueForceUpdate(this,J,"forceUpdate")},We.prototype=Ee.prototype;var Me=Se.prototype=new We;Me.constructor=Se,g(Me,Ee.prototype),Me.isPureReactComponent=!0;var te={current:null},Oe=Object.prototype.hasOwnProperty,Le={key:!0,ref:!0,__self:!0,__source:!0};function Ze(J,Te,ft){var it,kt={},Pt=null,ln=null;if(Te!=null)for(it in Te.ref!==void 0&&(ln=Te.ref),Te.key!==void 0&&(Pt=""+Te.key),Te)Oe.call(Te,it)&&!Le.hasOwnProperty(it)&&(kt[it]=Te[it]);var Rn=arguments.length-2;if(Rn===1)kt.children=ft;else if(1<Rn){for(var Yt=Array(Rn),Ht=0;Ht<Rn;Ht++)Yt[Ht]=arguments[Ht+2];kt.children=Yt}if(J&&J.defaultProps)for(it in Rn=J.defaultProps)kt[it]===void 0&&(kt[it]=Rn[it]);return{$$typeof:t,type:J,key:Pt,ref:ln,props:kt,_owner:te.current}}function dt(J){return d(J)==="object"&&J!==null&&J.$$typeof===t}var ct=/\/+/g;function je(J,Te){return d(J)==="object"&&J!==null&&J.key!=null?function(ft){var it={"=":"=0",":":"=2"};return"$"+ft.replace(/[=:]/g,function(kt){return it[kt]})}(""+J.key):Te.toString(36)}function Ve(J,Te,ft,it,kt){var Pt=d(J);Pt!=="undefined"&&Pt!=="boolean"||(J=null);var ln=!1;if(J===null)ln=!0;else switch(Pt){case"string":case"number":ln=!0;break;case"object":switch(J.$$typeof){case t:case x:ln=!0}}if(ln)return kt=kt(ln=J),J=it===""?"."+je(ln,0):it,Array.isArray(kt)?(ft="",J!=null&&(ft=J.replace(ct,"$&/")+"/"),Ve(kt,Te,ft,"",function(Ht){return Ht})):kt!=null&&(dt(kt)&&(kt=function(Ht,nr){return{$$typeof:t,type:Ht.type,key:nr,ref:Ht.ref,props:Ht.props,_owner:Ht._owner}}(kt,ft+(!kt.key||ln&&ln.key===kt.key?"":(""+kt.key).replace(ct,"$&/")+"/")+J)),Te.push(kt)),1;if(ln=0,it=it===""?".":it+":",Array.isArray(J))for(var Rn=0;Rn<J.length;Rn++){var Yt=it+je(Pt=J[Rn],Rn);ln+=Ve(Pt,Te,ft,Yt,kt)}else if(typeof(Yt=function(Ht){return Ht===null||d(Ht)!=="object"?null:typeof(Ht=m&&Ht[m]||Ht["@@iterator"])=="function"?Ht:null}(J))=="function")for(J=Yt.call(J),Rn=0;!(Pt=J.next()).done;)ln+=Ve(Pt=Pt.value,Te,ft,Yt=it+je(Pt,Rn++),kt);else if(Pt==="object")throw Te=""+J,Error(me(31,Te==="[object Object]"?"object with keys {"+Object.keys(J).join(", ")+"}":Te));return ln}function Ft(J,Te,ft){if(J==null)return J;var it=[],kt=0;return Ve(J,it,"","",function(Pt){return Te.call(ft,Pt,kt++)}),it}function Ot(J){if(J._status===-1){var Te=J._result;Te=Te(),J._status=0,J._result=Te,Te.then(function(ft){J._status===0&&(ft=ft.default,J._status=1,J._result=ft)},function(ft){J._status===0&&(J._status=2,J._result=ft)})}if(J._status===1)return J._result;throw J._result}function qt(J){return{$$typeof:W,_data:J.load.apply(null,J.args),_render:J.render}}var tt={current:null};function b(){var J=tt.current;if(J===null)throw Error(me(321));return J}var ee={transition:0},pe={ReactCurrentDispatcher:tt,ReactCurrentBatchConfig:ee,ReactCurrentOwner:te,IsSomeRendererActing:{current:!1},assign:g};u.Children={map:Ft,forEach:function(J,Te,ft){Ft(J,function(){Te.apply(this,arguments)},ft)},count:function(J){var Te=0;return Ft(J,function(){Te++}),Te},toArray:function(J){return Ft(J,function(Te){return Te})||[]},only:function(J){if(!dt(J))throw Error(me(143));return J}},u.Component=Ee,u.PureComponent=Se,u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=pe,u.cloneElement=function(J,Te,ft){if(J==null)throw Error(me(267,J));var it=g({},J.props),kt=J.key,Pt=J.ref,ln=J._owner;if(Te!=null){if(Te.ref!==void 0&&(Pt=Te.ref,ln=te.current),Te.key!==void 0&&(kt=""+Te.key),J.type&&J.type.defaultProps)var Rn=J.type.defaultProps;for(Yt in Te)Oe.call(Te,Yt)&&!Le.hasOwnProperty(Yt)&&(it[Yt]=Te[Yt]===void 0&&Rn!==void 0?Rn[Yt]:Te[Yt])}var Yt=arguments.length-2;if(Yt===1)it.children=ft;else if(1<Yt){Rn=Array(Yt);for(var Ht=0;Ht<Yt;Ht++)Rn[Ht]=arguments[Ht+2];it.children=Rn}return{$$typeof:t,type:J.type,key:kt,ref:Pt,props:it,_owner:ln}},u.createContext=function(J,Te){return Te===void 0&&(Te=null),(J={$$typeof:k,_calculateChangedBits:Te,_currentValue:J,_currentValue2:J,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:A,_context:J},J.Consumer=J},u.createElement=Ze,u.createFactory=function(J){var Te=Ze.bind(null,J);return Te.type=J,Te},u.createRef=function(){return{current:null}},u.forwardRef=function(J){return{$$typeof:E,render:J}},u.isValidElement=dt,u.lazy=function(J){return{$$typeof:B,_payload:{_status:-1,_result:J},_init:Ot}},u.memo=function(J,Te){return{$$typeof:L,type:J,compare:Te===void 0?null:Te}},u.unstable_block=function(J,Te){return Te===void 0?function(){return{$$typeof:W,_data:void 0,_render:J}}:function(){return{$$typeof:B,_payload:{load:Te,args:arguments,render:J},_init:qt}}},u.unstable_createMutableSource=function(J,Te){return{_getVersion:Te,_source:J,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}},u.unstable_startTransition=function(J){var Te=ee.transition;ee.transition=1;try{J()}finally{ee.transition=Te}},u.unstable_useDeferredValue=function(J){return b().useDeferredValue(J)},u.unstable_useMutableSource=function(J,Te,ft){return b().useMutableSource(J,Te,ft)},u.unstable_useOpaqueIdentifier=function(){return b().useOpaqueIdentifier()},u.unstable_useTransition=function(){return b().useTransition()},u.useCallback=function(J,Te){return b().useCallback(J,Te)},u.useContext=function(J,Te){return b().useContext(J,Te)},u.useDebugValue=function(){},u.useEffect=function(J,Te){return b().useEffect(J,Te)},u.useImperativeHandle=function(J,Te,ft){return b().useImperativeHandle(J,Te,ft)},u.useLayoutEffect=function(J,Te){return b().useLayoutEffect(J,Te)},u.useMemo=function(J,Te){return b().useMemo(J,Te)},u.useReducer=function(J,Te,ft){return b().useReducer(J,Te,ft)},u.useRef=function(J){return b().useRef(J)},u.useState=function(J){return b().useState(J)},u.version="17.0.0-alpha.0-experimental-51a3aa6af"},function(o,u,c){"use strict";function d(R,P){for(var U=0;U<P.length;U++){var H=P[U];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(R,H.key,H)}}c.r(u),c.d(u,"connectToDevTools",function(){return Ar});var g=function(){function R(){var ue,re,fe;(function(q,de){if(!(q instanceof de))throw new TypeError("Cannot call a class as a function")})(this,R),ue=this,re="listenersMap",fe=new Map,re in ue?Object.defineProperty(ue,re,{value:fe,enumerable:!0,configurable:!0,writable:!0}):ue[re]=fe}var P,U,H;return P=R,(U=[{key:"addListener",value:function(ue,re){var fe=this.listenersMap.get(ue);fe===void 0?this.listenersMap.set(ue,[re]):fe.indexOf(re)<0&&fe.push(re)}},{key:"emit",value:function(ue){var re=this.listenersMap.get(ue);if(re!==void 0){for(var fe=arguments.length,q=new Array(fe>1?fe-1:0),de=1;de<fe;de++)q[de-1]=arguments[de];if(re.length===1){var Ae=re[0];Ae.apply(null,q)}else{for(var qe=!1,$=null,De=Array.from(re),Pe=0;Pe<De.length;Pe++){var $e=De[Pe];try{$e.apply(null,q)}catch(rt){$===null&&(qe=!0,$=rt)}}if(qe)throw $}}}},{key:"removeAllListeners",value:function(){this.listenersMap.clear()}},{key:"removeListener",value:function(ue,re){var fe=this.listenersMap.get(ue);if(fe!==void 0){var q=fe.indexOf(re);q>=0&&fe.splice(q,1)}}}])&&d(P.prototype,U),H&&d(P,H),R}(),t=c(2),x=c.n(t);try{var A=c(9).default,k=function(R){var P=new RegExp("".concat(R,": ([0-9]+)")),U=A.match(P);return parseInt(U[1],10)};k("comfortable-line-height-data"),k("compact-line-height-data")}catch(R){}function E(R){try{return sessionStorage.getItem(R)}catch(P){return null}}function L(R){try{sessionStorage.removeItem(R)}catch(P){}}function B(R,P){try{return sessionStorage.setItem(R,P)}catch(U){}}var W=function(R,P){return R===P},X=c(1),m=c.n(X);function me(R){return R.ownerDocument?R.ownerDocument.defaultView:null}function ye(R){var P=me(R);return P?P.frameElement:null}function se(R){var P=Se(R);return Ee([R.getBoundingClientRect(),{top:P.borderTop,left:P.borderLeft,bottom:P.borderBottom,right:P.borderRight,width:0,height:0}])}function Ee(R){return R.reduce(function(P,U){return P==null?U:{top:P.top+U.top,left:P.left+U.left,width:P.width,height:P.height,bottom:P.bottom+U.bottom,right:P.right+U.right}})}function We(R,P){var U=ye(R);if(U&&U!==P){for(var H=[R.getBoundingClientRect()],ue=U,re=!1;ue;){var fe=se(ue);if(H.push(fe),ue=ye(ue),re)break;ue&&me(ue)===P&&(re=!0)}return Ee(H)}return R.getBoundingClientRect()}function Se(R){var P=window.getComputedStyle(R);return{borderLeft:parseInt(P.borderLeftWidth,10),borderRight:parseInt(P.borderRightWidth,10),borderTop:parseInt(P.borderTopWidth,10),borderBottom:parseInt(P.borderBottomWidth,10),marginLeft:parseInt(P.marginLeft,10),marginRight:parseInt(P.marginRight,10),marginTop:parseInt(P.marginTop,10),marginBottom:parseInt(P.marginBottom,10),paddingLeft:parseInt(P.paddingLeft,10),paddingRight:parseInt(P.paddingRight,10),paddingTop:parseInt(P.paddingTop,10),paddingBottom:parseInt(P.paddingBottom,10)}}function Me(R,P){var U;if(typeof Symbol=="undefined"||R[Symbol.iterator]==null){if(Array.isArray(R)||(U=function(de,Ae){if(!!de){if(typeof de=="string")return te(de,Ae);var qe=Object.prototype.toString.call(de).slice(8,-1);if(qe==="Object"&&de.constructor&&(qe=de.constructor.name),qe==="Map"||qe==="Set")return Array.from(de);if(qe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(qe))return te(de,Ae)}}(R))||P&&R&&typeof R.length=="number"){U&&(R=U);var H=0,ue=function(){};return{s:ue,n:function(){return H>=R.length?{done:!0}:{done:!1,value:R[H++]}},e:function(de){throw de},f:ue}}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 re,fe=!0,q=!1;return{s:function(){U=R[Symbol.iterator]()},n:function(){var de=U.next();return fe=de.done,de},e:function(de){q=!0,re=de},f:function(){try{fe||U.return==null||U.return()}finally{if(q)throw re}}}}function te(R,P){(P==null||P>R.length)&&(P=R.length);for(var U=0,H=new Array(P);U<P;U++)H[U]=R[U];return H}function Oe(R,P){if(!(R instanceof P))throw new TypeError("Cannot call a class as a function")}function Le(R,P){for(var U=0;U<P.length;U++){var H=P[U];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(R,H.key,H)}}function Ze(R,P,U){return P&&Le(R.prototype,P),U&&Le(R,U),R}var dt=function(){function R(P,U){Oe(this,R),this.node=P.createElement("div"),this.border=P.createElement("div"),this.padding=P.createElement("div"),this.content=P.createElement("div"),this.border.style.borderColor=Ft.border,this.padding.style.borderColor=Ft.padding,this.content.style.backgroundColor=Ft.background,m()(this.node.style,{borderColor:Ft.margin,pointerEvents:"none",position:"fixed"}),this.node.style.zIndex="10000000",this.node.appendChild(this.border),this.border.appendChild(this.padding),this.padding.appendChild(this.content),U.appendChild(this.node)}return Ze(R,[{key:"remove",value:function(){this.node.parentNode&&this.node.parentNode.removeChild(this.node)}},{key:"update",value:function(P,U){Ve(U,"margin",this.node),Ve(U,"border",this.border),Ve(U,"padding",this.padding),m()(this.content.style,{height:P.height-U.borderTop-U.borderBottom-U.paddingTop-U.paddingBottom+"px",width:P.width-U.borderLeft-U.borderRight-U.paddingLeft-U.paddingRight+"px"}),m()(this.node.style,{top:P.top-U.marginTop+"px",left:P.left-U.marginLeft+"px"})}}]),R}(),ct=function(){function R(P,U){Oe(this,R),this.tip=P.createElement("div"),m()(this.tip.style,{display:"flex",flexFlow:"row nowrap",backgroundColor:"#333740",borderRadius:"2px",fontFamily:'"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace',fontWeight:"bold",padding:"3px 5px",pointerEvents:"none",position:"fixed",fontSize:"12px",whiteSpace:"nowrap"}),this.nameSpan=P.createElement("span"),this.tip.appendChild(this.nameSpan),m()(this.nameSpan.style,{color:"#ee78e6",borderRight:"1px solid #aaaaaa",paddingRight:"0.5rem",marginRight:"0.5rem"}),this.dimSpan=P.createElement("span"),this.tip.appendChild(this.dimSpan),m()(this.dimSpan.style,{color:"#d7d7d7"}),this.tip.style.zIndex="10000000",U.appendChild(this.tip)}return Ze(R,[{key:"remove",value:function(){this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip)}},{key:"updateText",value:function(P,U,H){this.nameSpan.textContent=P,this.dimSpan.textContent=Math.round(U)+"px \xD7 "+Math.round(H)+"px"}},{key:"updatePosition",value:function(P,U){var H=this.tip.getBoundingClientRect(),ue=function(re,fe,q){var de,Ae=Math.max(q.height,20),qe=Math.max(q.width,60);de=re.top+re.height+Ae<=fe.top+fe.height?re.top+re.height<fe.top+0?fe.top+5:re.top+re.height+5:re.top-Ae<=fe.top+fe.height?re.top-Ae-5<fe.top+5?fe.top+5:re.top-Ae-5:fe.top+fe.height-Ae-5;var $=re.left+5;return re.left<fe.left&&($=fe.left+5),re.left+qe>fe.left+fe.width&&($=fe.left+fe.width-qe-5),{style:{top:de+="px",left:$+="px"}}}(P,U,{width:H.width,height:H.height});m()(this.tip.style,ue.style)}}]),R}(),je=function(){function R(){Oe(this,R);var P=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;this.window=P;var U=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;this.tipBoundsWindow=U;var H=P.document;this.container=H.createElement("div"),this.container.style.zIndex="10000000",this.tip=new ct(H,this.container),this.rects=[],H.body.appendChild(this.container)}return Ze(R,[{key:"remove",value:function(){this.tip.remove(),this.rects.forEach(function(P){P.remove()}),this.rects.length=0,this.container.parentNode&&this.container.parentNode.removeChild(this.container)}},{key:"inspect",value:function(P,U){for(var H=this,ue=P.filter(function($e){return $e.nodeType===Node.ELEMENT_NODE});this.rects.length>ue.length;)this.rects.pop().remove();if(ue.length!==0){for(;this.rects.length<ue.length;)this.rects.push(new dt(this.window.document,this.container));var re={top:Number.POSITIVE_INFINITY,right:Number.NEGATIVE_INFINITY,bottom:Number.NEGATIVE_INFINITY,left:Number.POSITIVE_INFINITY};if(ue.forEach(function($e,rt){var ut=We($e,H.window),St=Se($e);re.top=Math.min(re.top,ut.top-St.marginTop),re.right=Math.max(re.right,ut.left+ut.width+St.marginRight),re.bottom=Math.max(re.bottom,ut.top+ut.height+St.marginBottom),re.left=Math.min(re.left,ut.left-St.marginLeft),H.rects[rt].update(ut,St)}),!U){U=ue[0].nodeName.toLowerCase();var fe=ue[0],q=fe.ownerDocument.defaultView.__REACT_DEVTOOLS_GLOBAL_HOOK__;if(q!=null&&q.rendererInterfaces!=null){var de,Ae=null,qe=Me(q.rendererInterfaces.values());try{for(qe.s();!(de=qe.n()).done;){var $=de.value,De=$.getFiberIDForNative(fe,!0);if(De!==null){Ae=$.getDisplayNameForFiberID(De,!0);break}}}catch($e){qe.e($e)}finally{qe.f()}Ae&&(U+=" (in "+Ae+")")}}this.tip.updateText(U,re.right-re.left,re.bottom-re.top);var Pe=We(this.tipBoundsWindow.document.documentElement,this.window);this.tip.updatePosition({top:re.top,left:re.left,height:re.bottom-re.top,width:re.right-re.left},{top:Pe.top+this.tipBoundsWindow.scrollY,left:Pe.left+this.tipBoundsWindow.scrollX,height:this.tipBoundsWindow.innerHeight,width:this.tipBoundsWindow.innerWidth})}}}]),R}();function Ve(R,P,U){m()(U.style,{borderTopWidth:R[P+"Top"]+"px",borderLeftWidth:R[P+"Left"]+"px",borderRightWidth:R[P+"Right"]+"px",borderBottomWidth:R[P+"Bottom"]+"px",borderStyle:"solid"})}var Ft={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)"},Ot=null,qt=null;function tt(){Ot=null,qt!==null&&(qt.remove(),qt=null)}function b(R,P,U){window.document!=null&&(Ot!==null&&clearTimeout(Ot),R!=null&&(qt===null&&(qt=new je),qt.inspect(R,P),U&&(Ot=setTimeout(tt,2e3))))}var ee=new Set;function pe(R,P){function U($){$&&typeof $.addEventListener=="function"&&($.addEventListener("click",re,!0),$.addEventListener("mousedown",fe,!0),$.addEventListener("mouseover",fe,!0),$.addEventListener("mouseup",fe,!0),$.addEventListener("pointerdown",q,!0),$.addEventListener("pointerover",de,!0),$.addEventListener("pointerup",Ae,!0))}function H(){tt(),ue(window),ee.forEach(function($){try{ue($.contentWindow)}catch(De){}}),ee=new Set}function ue($){$&&typeof $.removeEventListener=="function"&&($.removeEventListener("click",re,!0),$.removeEventListener("mousedown",fe,!0),$.removeEventListener("mouseover",fe,!0),$.removeEventListener("mouseup",fe,!0),$.removeEventListener("pointerdown",q,!0),$.removeEventListener("pointerover",de,!0),$.removeEventListener("pointerup",Ae,!0))}function re($){$.preventDefault(),$.stopPropagation(),H(),R.send("stopInspectingNative",!0)}function fe($){$.preventDefault(),$.stopPropagation()}function q($){$.preventDefault(),$.stopPropagation(),qe($.target)}function de($){$.preventDefault(),$.stopPropagation();var De=$.target;if(De.tagName==="IFRAME"){var Pe=De;try{ee.has(Pe)||(U(Pe.contentWindow),ee.add(Pe))}catch($e){}}b([De],null,!1),qe(De)}function Ae($){$.preventDefault(),$.stopPropagation()}R.addListener("clearNativeElementHighlight",function(){tt()}),R.addListener("highlightNativeElement",function($){var De=$.displayName,Pe=$.hideAfterTimeout,$e=$.id,rt=$.openNativeElementsPanel,ut=$.rendererID,St=$.scrollIntoView,_t=P.rendererInterfaces[ut];_t==null&&console.warn('Invalid renderer id "'.concat(ut,'" for element "').concat($e,'"'));var st=null;if(_t!=null&&(st=_t.findNativeNodesForFiberID($e)),st!=null&&st[0]!=null){var It=st[0];St&&typeof It.scrollIntoView=="function"&&It.scrollIntoView({block:"nearest",inline:"nearest"}),b(st,De,Pe),rt&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.$0=It,R.send("syncSelectionToNativeElementsPanel"))}else tt()}),R.addListener("shutdown",H),R.addListener("startInspectingNative",function(){U(window)}),R.addListener("stopInspectingNative",H);var qe=x()(function($){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:W,Pe=void 0,$e=[],rt=void 0,ut=!1,St=function(st,It){return De(st,$e[It])},_t=function(){for(var st=arguments.length,It=Array(st),pn=0;pn<st;pn++)It[pn]=arguments[pn];return ut&&Pe===this&&It.length===$e.length&&It.every(St)?rt:(ut=!0,Pe=this,$e=It,rt=$.apply(this,It))};return _t}(function($){var De=P.getIDForNode($);De!==null&&R.send("selectFiber",De)}),200,{leading:!1})}var J=["#37afa9","#63b19e","#80b393","#97b488","#abb67d","#beb771","#cfb965","#dfba57","#efbb49","#febc38"],Te=null;function ft(R){Te===null&&function(){(Te=window.document.createElement("canvas")).style.cssText=`
xx-background-color: red;
xx-opacity: 0.5;
bottom: 0;
left: 0;
pointer-events: none;
position: fixed;
right: 0;
top: 0;
z-index: 1000000000;
`;var H=window.document.documentElement;H.insertBefore(Te,H.firstChild)}();var P=Te;P.width=window.innerWidth,P.height=window.innerHeight;var U=P.getContext("2d");U.clearRect(0,0,P.width,P.height),R.forEach(function(H){var ue=H.count,re=H.rect;if(re!==null){var fe=Math.min(J.length-1,ue-1);(function(q,de,Ae){var qe=de.height,$=de.left,De=de.top,Pe=de.width;q.lineWidth=1,q.strokeStyle="#f0f0f0",q.strokeRect($-1,De-1,Pe+2,qe+2),q.lineWidth=1,q.strokeStyle="#f0f0f0",q.strokeRect($+1,De+1,Pe-1,qe-1),q.strokeStyle=Ae,q.setLineDash([0]),q.lineWidth=1,q.strokeRect($,De,Pe-1,qe-1),q.setLineDash([0])})(U,re,J[fe])}})}function it(R){return(it=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P})(R)}var kt=(typeof performance=="undefined"?"undefined":it(performance))==="object"&&typeof performance.now=="function"?function(){return performance.now()}:function(){return Date.now()},Pt=new Map,ln=null,Rn=!1,Yt=null;function Ht(R){(Rn=R)||(Pt.clear(),ln!==null&&(cancelAnimationFrame(ln),ln=null),Yt!==null&&(clearTimeout(Yt),Yt=null),Te!==null&&(Te.parentNode!=null&&Te.parentNode.removeChild(Te),Te=null))}function nr(R){Rn&&(R.forEach(function(P){var U=Pt.get(P),H=kt(),ue=U!=null?U.lastMeasuredAt:0,re=U!=null?U.rect:null;(re===null||ue+250<H)&&(ue=H,re=function(fe){if(!fe||typeof fe.getBoundingClientRect!="function")return null;var q=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;return We(fe,q)}(P)),Pt.set(P,{count:U!=null?U.count+1:1,expirationTime:U!=null?Math.min(H+3e3,U.expirationTime+250):H+250,lastMeasuredAt:ue,rect:re})}),Yt!==null&&(clearTimeout(Yt),Yt=null),ln===null&&(ln=requestAnimationFrame(w)))}function w(){ln=null,Yt=null;var R=kt(),P=Number.MAX_VALUE;Pt.forEach(function(U,H){U.expirationTime<R?Pt.delete(H):P=Math.min(P,U.expirationTime)}),ft(Pt),P!==Number.MAX_VALUE&&(Yt=setTimeout(w,P-R))}var at=c(3),kn=c(6),Mn=c.n(kn),Hn=c(0),lr=60120;if(typeof Symbol=="function"&&Symbol.for){var fr=Symbol.for;fr("react.element"),fr("react.portal"),fr("react.fragment"),fr("react.strict_mode"),fr("react.profiler"),fr("react.provider"),fr("react.context"),fr("react.forward_ref"),fr("react.suspense"),lr=fr("react.suspense_list"),fr("react.memo"),fr("react.lazy"),fr("react.block"),fr("react.server.block"),fr("react.fundamental"),fr("react.scope"),fr("react.opaque.id"),fr("react.debug_trace_mode"),fr("react.offscreen"),fr("react.legacy_hidden")}typeof Symbol=="function"&&Symbol.iterator;function e0(R){return(e0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P})(R)}var vi={inspectable:Symbol("inspectable"),inspected:Symbol("inspected"),name:Symbol("name"),preview_long:Symbol("preview_long"),preview_short:Symbol("preview_short"),readonly:Symbol("readonly"),size:Symbol("size"),type:Symbol("type"),unserializable:Symbol("unserializable")};function co(R,P,U,H,ue){H.push(ue);var re={inspectable:P,type:R,preview_long:xr(U,!0),preview_short:xr(U,!1),name:U.constructor&&U.constructor.name!=="Object"?U.constructor.name:""};return R==="array"||R==="typed_array"?re.size=U.length:R==="object"&&(re.size=Object.keys(U).length),R!=="iterator"&&R!=="typed_array"||(re.readonly=!0),re}function ds(R,P,U,H,ue){var re,fe=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,q=nl(R);switch(q){case"html_element":return P.push(H),{inspectable:!1,preview_short:xr(R,!1),preview_long:xr(R,!0),name:R.tagName,type:q};case"function":return P.push(H),{inspectable:!1,preview_short:xr(R,!1),preview_long:xr(R,!0),name:typeof R.name!="function"&&R.name?R.name:"function",type:q};case"string":return R.length<=500?R:R.slice(0,500)+"...";case"bigint":case"symbol":return P.push(H),{inspectable:!1,preview_short:xr(R,!1),preview_long:xr(R,!0),name:R.toString(),type:q};case"react_element":return P.push(H),{inspectable:!1,preview_short:xr(R,!1),preview_long:xr(R,!0),name:rl(R)||"Unknown",type:q};case"array_buffer":case"data_view":return P.push(H),{inspectable:!1,preview_short:xr(R,!1),preview_long:xr(R,!0),name:q==="data_view"?"DataView":"ArrayBuffer",size:R.byteLength,type:q};case"array":return re=ue(H),fe>=2&&!re?co(q,!0,R,P,H):R.map(function(qe,$){return ds(qe,P,U,H.concat([$]),ue,re?1:fe+1)});case"html_all_collection":case"typed_array":case"iterator":if(re=ue(H),fe>=2&&!re)return co(q,!0,R,P,H);var de={unserializable:!0,type:q,readonly:!0,size:q==="typed_array"?R.length:void 0,preview_short:xr(R,!1),preview_long:xr(R,!0),name:R.constructor&&R.constructor.name!=="Object"?R.constructor.name:""};return e0(R[Symbol.iterator])&&Array.from(R).forEach(function(qe,$){return de[$]=ds(qe,P,U,H.concat([$]),ue,re?1:fe+1)}),U.push(H),de;case"opaque_iterator":return P.push(H),{inspectable:!1,preview_short:xr(R,!1),preview_long:xr(R,!0),name:R[Symbol.toStringTag],type:q};case"date":case"regexp":return P.push(H),{inspectable:!1,preview_short:xr(R,!1),preview_long:xr(R,!0),name:R.toString(),type:q};case"object":if(re=ue(H),fe>=2&&!re)return co(q,!0,R,P,H);var Ae={};return ps(R).forEach(function(qe){var $=qe.toString();Ae[$]=ds(R[qe],P,U,H.concat([$]),ue,re?1:fe+1)}),Ae;case"infinity":case"nan":case"undefined":return P.push(H),{type:q};default:return R}}function Cu(R){return(Cu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P})(R)}function Uf(R){return function(P){if(Array.isArray(P))return Xo(P)}(R)||function(P){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(P))return Array.from(P)}(R)||function(P,U){if(!!P){if(typeof P=="string")return Xo(P,U);var H=Object.prototype.toString.call(P).slice(8,-1);if(H==="Object"&&P.constructor&&(H=P.constructor.name),H==="Map"||H==="Set")return Array.from(P);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return Xo(P,U)}}(R)||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 Xo(R,P){(P==null||P>R.length)&&(P=R.length);for(var U=0,H=new Array(P);U<P;U++)H[U]=R[U];return H}var Ko=new WeakMap,Js=new Mn.a({max:1e3});function Qs(R,P){return R.toString()>P.toString()?1:P.toString()>R.toString()?-1:0}function ps(R){for(var P=[],U=R,H=function(){var ue=[].concat(Uf(Object.keys(U)),Uf(Object.getOwnPropertySymbols(U))),re=Object.getOwnPropertyDescriptors(U);ue.forEach(function(fe){re[fe].enumerable&&P.push(fe)}),U=Object.getPrototypeOf(U)};U!=null;)H();return P}function Io(R){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Anonymous",U=Ko.get(R);if(U!=null)return U;var H=P;return typeof R.displayName=="string"?H=R.displayName:typeof R.name=="string"&&R.name!==""&&(H=R.name),Ko.set(R,H),H}var Zs=0;function hs(){return++Zs}function ms(R){var P=Js.get(R);if(P!==void 0)return P;for(var U=new Array(R.length),H=0;H<R.length;H++)U[H]=R.codePointAt(H);return Js.set(R,U),U}function gi(R,P){return P.reduce(function(U,H){if(U){if(hasOwnProperty.call(U,H))return U[H];if(typeof U[Symbol.iterator]=="function")return Array.from(U)[H]}return null},R)}function Su(R,P){var U=P.length,H=P[U-1];if(R!=null){var ue=gi(R,P.slice(0,U-1));ue&&(Array.isArray(ue)?ue.splice(H,1):delete ue[H])}}function el(R,P,U){var H=P.length;if(R!=null){var ue=gi(R,P.slice(0,H-1));if(ue){var re=P[H-1];ue[U[H-1]]=ue[re],Array.isArray(ue)?ue.splice(re,1):delete ue[re]}}}function tl(R,P,U){var H=P.length,ue=P[H-1];if(R!=null){var re=gi(R,P.slice(0,H-1));re&&(re[ue]=U)}}function nl(R){if(R===null)return"null";if(R===void 0)return"undefined";if(Object(Hn.isElement)(R))return"react_element";if(typeof HTMLElement!="undefined"&&R instanceof HTMLElement)return"html_element";switch(Cu(R)){case"bigint":return"bigint";case"boolean":return"boolean";case"function":return"function";case"number":return Number.isNaN(R)?"nan":Number.isFinite(R)?"number":"infinity";case"object":if(Array.isArray(R))return"array";if(ArrayBuffer.isView(R))return hasOwnProperty.call(R.constructor,"BYTES_PER_ELEMENT")?"typed_array":"data_view";if(R.constructor&&R.constructor.name==="ArrayBuffer")return"array_buffer";if(typeof R[Symbol.iterator]=="function")return R[Symbol.iterator]()===R?"opaque_iterator":"iterator";if(R.constructor&&R.constructor.name==="RegExp")return"regexp";var P=Object.prototype.toString.call(R);return P==="[object Date]"?"date":P==="[object HTMLAllCollection]"?"html_all_collection":"object";case"string":return"string";case"symbol":return"symbol";case"undefined":return Object.prototype.toString.call(R)==="[object HTMLAllCollection]"?"html_all_collection":"undefined";default:return"unknown"}}function rl(R){switch(Object(Hn.typeOf)(R)){case Hn.ContextConsumer:return"ContextConsumer";case Hn.ContextProvider:return"ContextProvider";case Hn.ForwardRef:return"ForwardRef";case Hn.Fragment:return"Fragment";case Hn.Lazy:return"Lazy";case Hn.Memo:return"Memo";case Hn.Portal:return"Portal";case Hn.Profiler:return"Profiler";case Hn.StrictMode:return"StrictMode";case Hn.Suspense:return"Suspense";case lr:return"SuspenseList";default:var P=R.type;return typeof P=="string"?P:typeof P=="function"?Io(P,"Anonymous"):P!=null?"NotImplementedInDevtools":"Element"}}function Mi(R){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:50;return R.length>P?R.substr(0,P)+"\u2026":R}function xr(R,P){if(R!=null&&hasOwnProperty.call(R,vi.type))return P?R[vi.preview_long]:R[vi.preview_short];switch(nl(R)){case"html_element":return"<".concat(Mi(R.tagName.toLowerCase())," />");case"function":return Mi("\u0192 ".concat(typeof R.name=="function"?"":R.name,"() {}"));case"string":return'"'.concat(R,'"');case"bigint":return Mi(R.toString()+"n");case"regexp":case"symbol":return Mi(R.toString());case"react_element":return"<".concat(Mi(rl(R)||"Unknown")," />");case"array_buffer":return"ArrayBuffer(".concat(R.byteLength,")");case"data_view":return"DataView(".concat(R.buffer.byteLength,")");case"array":if(P){for(var U="",H=0;H<R.length&&(H>0&&(U+=", "),!((U+=xr(R[H],!1)).length>50));H++);return"[".concat(Mi(U),"]")}var ue=hasOwnProperty.call(R,vi.size)?R[vi.size]:R.length;return"Array(".concat(ue,")");case"typed_array":var re="".concat(R.constructor.name,"(").concat(R.length,")");if(P){for(var fe="",q=0;q<R.length&&(q>0&&(fe+=", "),!((fe+=R[q]).length>50));q++);return"".concat(re," [").concat(Mi(fe),"]")}return re;case"iterator":var de=R.constructor.name;if(P){for(var Ae=Array.from(R),qe="",$=0;$<Ae.length;$++){var De=Ae[$];if($>0&&(qe+=", "),Array.isArray(De)){var Pe=xr(De[0],!0),$e=xr(De[1],!1);qe+="".concat(Pe," => ").concat($e)}else qe+=xr(De,!1);if(qe.length>50)break}return"".concat(de,"(").concat(R.size,") {").concat(Mi(qe),"}")}return"".concat(de,"(").concat(R.size,")");case"opaque_iterator":return R[Symbol.toStringTag];case"date":return R.toString();case"object":if(P){for(var rt=ps(R).sort(Qs),ut="",St=0;St<rt.length;St++){var _t=rt[St];if(St>0&&(ut+=", "),(ut+="".concat(_t.toString(),": ").concat(xr(R[_t],!1))).length>50)break}return"{".concat(Mi(ut),"}")}return"{\u2026}";case"boolean":case"number":case"infinity":case"nan":case"null":case"undefined":return R;default:try{return Mi(""+R)}catch(st){return"unserializable"}}}var gc=c(7);function Jl(R){return(Jl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P})(R)}function vs(R,P){var U=Object.keys(R);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(R);P&&(H=H.filter(function(ue){return Object.getOwnPropertyDescriptor(R,ue).enumerable})),U.push.apply(U,H)}return U}function gs(R){for(var P=1;P<arguments.length;P++){var U=arguments[P]!=null?arguments[P]:{};P%2?vs(Object(U),!0).forEach(function(H){il(R,H,U[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(U)):vs(Object(U)).forEach(function(H){Object.defineProperty(R,H,Object.getOwnPropertyDescriptor(U,H))})}return R}function il(R,P,U){return P in R?Object.defineProperty(R,P,{value:U,enumerable:!0,configurable:!0,writable:!0}):R[P]=U,R}function Fi(R,P){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(R!==null){var H=[],ue=[],re=ds(R,H,ue,U,P);return{data:re,cleaned:H,unserializable:ue}}return null}function Mo(R){var P,U,H=(P=R,U=new Set,JSON.stringify(P,function(fe,q){if(Jl(q)==="object"&&q!==null){if(U.has(q))return;U.add(q)}return typeof q=="bigint"?q.toString()+"n":q})),ue=H===void 0?"undefined":H,re=window.__REACT_DEVTOOLS_GLOBAL_HOOK__.clipboardCopyText;typeof re=="function"?re(ue).catch(function(fe){}):Object(gc.copy)(ue)}function wr(R,P){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,H=P[U],ue=Array.isArray(R)?R.slice():gs({},R);return U+1===P.length?Array.isArray(ue)?ue.splice(H,1):delete ue[H]:ue[H]=wr(R[H],P,U+1),ue}function kr(R,P,U){var H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,ue=P[H],re=Array.isArray(R)?R.slice():gs({},R);if(H+1===P.length){var fe=U[H];re[fe]=re[ue],Array.isArray(re)?re.splice(ue,1):delete re[ue]}else re[ue]=kr(R[ue],P,U,H+1);return re}function ei(R,P,U){var H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(H>=P.length)return U;var ue=P[H],re=Array.isArray(R)?R.slice():gs({},R);return re[ue]=ei(R[ue],P,U,H+1),re}var N0=c(8);function B0(R,P){var U=Object.keys(R);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(R);P&&(H=H.filter(function(ue){return Object.getOwnPropertyDescriptor(R,ue).enumerable})),U.push.apply(U,H)}return U}function Mt(R){for(var P=1;P<arguments.length;P++){var U=arguments[P]!=null?arguments[P]:{};P%2?B0(Object(U),!0).forEach(function(H){Tu(R,H,U[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(U)):B0(Object(U)).forEach(function(H){Object.defineProperty(R,H,Object.getOwnPropertyDescriptor(U,H))})}return R}function Tu(R,P,U){return P in R?Object.defineProperty(R,P,{value:U,enumerable:!0,configurable:!0,writable:!0}):R[P]=U,R}function s0(R){return function(P){if(Array.isArray(P))return Jo(P)}(R)||function(P){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(P))return Array.from(P)}(R)||ys(R)||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 xu(R,P){return function(U){if(Array.isArray(U))return U}(R)||function(U,H){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(U)))){var ue=[],re=!0,fe=!1,q=void 0;try{for(var de,Ae=U[Symbol.iterator]();!(re=(de=Ae.next()).done)&&(ue.push(de.value),!H||ue.length!==H);re=!0);}catch(qe){fe=!0,q=qe}finally{try{re||Ae.return==null||Ae.return()}finally{if(fe)throw q}}return ue}}(R,P)||ys(R,P)||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 _s(R,P){var U;if(typeof Symbol=="undefined"||R[Symbol.iterator]==null){if(Array.isArray(R)||(U=ys(R))||P&&R&&typeof R.length=="number"){U&&(R=U);var H=0,ue=function(){};return{s:ue,n:function(){return H>=R.length?{done:!0}:{done:!1,value:R[H++]}},e:function(de){throw de},f:ue}}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 re,fe=!0,q=!1;return{s:function(){U=R[Symbol.iterator]()},n:function(){var de=U.next();return fe=de.done,de},e:function(de){q=!0,re=de},f:function(){try{fe||U.return==null||U.return()}finally{if(q)throw re}}}}function ys(R,P){if(R){if(typeof R=="string")return Jo(R,P);var U=Object.prototype.toString.call(R).slice(8,-1);return U==="Object"&&R.constructor&&(U=R.constructor.name),U==="Map"||U==="Set"?Array.from(R):U==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(U)?Jo(R,P):void 0}}function Jo(R,P){(P==null||P>R.length)&&(P=R.length);for(var U=0,H=new Array(P);U<P;U++)H[U]=R[U];return H}function ao(R){return(ao=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P})(R)}function Fo(R){return R.flags!==void 0?R.flags:R.effectTag}var ws=(typeof performance=="undefined"?"undefined":ao(performance))==="object"&&typeof performance.now=="function"?function(){return performance.now()}:function(){return Date.now()};function Ds(R){var P=null;function U(_t){var st=ao(_t)==="object"&&_t!==null?_t.$$typeof:_t;return ao(st)==="symbol"?st.toString():st}var H=P=Object(at.gte)(R,"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(at.gte)(R,"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(at.gte)(R,"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},ue=H.ClassComponent,re=H.IncompleteClassComponent,fe=H.FunctionComponent,q=H.IndeterminateComponent,de=H.ForwardRef,Ae=H.HostRoot,qe=H.HostComponent,$=H.HostPortal,De=H.HostText,Pe=H.Fragment,$e=H.MemoComponent,rt=H.SimpleMemoComponent,ut=H.SuspenseComponent,St=H.SuspenseListComponent;return{getDisplayNameForFiber:function(_t){var st=_t.type,It=_t.tag,pn=st;ao(st)==="object"&&st!==null&&(pn=function rr(Zt){switch(U(Zt)){case 60115:case"Symbol(react.memo)":return rr(Zt.type);case 60112:case"Symbol(react.forward_ref)":return Zt.render;default:return Zt}}(st));var tn=null;switch(It){case ue:case re:return Io(pn);case fe:case q:return Io(pn);case de:return st&&st.displayName||Io(pn,"Anonymous");case Ae:return null;case qe:return st;case $:case De:case Pe:return null;case $e:case rt:return Io(pn,"Anonymous");case ut:return"Suspense";case St:return"SuspenseList";default:switch(U(st)){case 60111:case"Symbol(react.concurrent_mode)":case"Symbol(react.async_mode)":return null;case 60109:case"Symbol(react.provider)":return tn=_t.type._context||_t.type.context,"".concat(tn.displayName||"Context",".Provider");case 60110:case"Symbol(react.context)":return tn=_t.type._context||_t.type,"".concat(tn.displayName||"Context",".Consumer");case 60108:case"Symbol(react.strict_mode)":return null;case 60114:case"Symbol(react.profiler)":return"Profiler(".concat(_t.memoizedProps.id,")");case 60119:case"Symbol(react.scope)":return"Scope";default:return null}}},getTypeSymbol:U,ReactPriorityLevels:{ImmediatePriority:99,UserBlockingPriority:98,NormalPriority:97,LowPriority:96,IdlePriority:95,NoPriority:90},ReactTypeOfWork:P,ReactTypeOfSideEffect:{NoFlags:0,PerformedWork:1,Placement:2}}}function Ql(R,P,U,H){var ue=Ds(U.version),re=ue.getDisplayNameForFiber,fe=ue.getTypeSymbol,q=ue.ReactPriorityLevels,de=ue.ReactTypeOfWork,Ae=ue.ReactTypeOfSideEffect,qe=Ae.NoFlags,$=Ae.PerformedWork,De=Ae.Placement,Pe=de.FunctionComponent,$e=de.ClassComponent,rt=de.ContextConsumer,ut=de.DehydratedSuspenseComponent,St=de.Fragment,_t=de.ForwardRef,st=de.HostRoot,It=de.HostPortal,pn=de.HostComponent,tn=de.HostText,rr=de.IncompleteClassComponent,Zt=de.IndeterminateComponent,Nn=de.MemoComponent,f0=de.OffscreenComponent,gr=de.SimpleMemoComponent,ze=de.SuspenseComponent,Xe=de.SuspenseListComponent,Fe=q.ImmediatePriority,lt=q.UserBlockingPriority,Dt=q.NormalPriority,$t=q.LowPriority,_n=q.IdlePriority,Bn=q.NoPriority,c0=U.overrideHookState,a0=U.overrideHookStateDeletePath,ri=U.overrideHookStateRenamePath,_i=U.overrideProps,g0=U.overridePropsDeletePath,Pr=U.overridePropsRenamePath,ho=U.setSuspenseHandler,mo=U.scheduleUpdate,dl=typeof ho=="function"&&typeof mo=="function";Ri(U);var Os=window.__REACT_DEVTOOLS_APPEND_COMPONENT_STACK__!==!1,pl=window.__REACT_DEVTOOLS_BREAK_ON_CONSOLE_ERRORS__===!0;(Os||pl)&&Po({appendComponentStack:Os,breakOnConsoleErrors:pl});var ru=new Set,Uu=new Set,Is=new Set,Ji=!1,Li=new Set;function Ms(K){Is.clear(),ru.clear(),Uu.clear(),K.forEach(function(Y){if(Y.isEnabled)switch(Y.type){case 2:Y.isValid&&Y.value!==""&&ru.add(new RegExp(Y.value,"i"));break;case 1:Is.add(Y.value);break;case 3:Y.isValid&&Y.value!==""&&Uu.add(new RegExp(Y.value,"i"));break;case 4:ru.add(new RegExp("\\("));break;default:console.warn('Invalid component filter type "'.concat(Y.type,'"'))}})}function A0(K){var Y=K._debugSource,ve=K.tag,ae=K.type;switch(ve){case ut:return!0;case It:case tn:case St:case f0:return!0;case st:return!1;default:switch(fe(ae)){case 60111:case"Symbol(react.concurrent_mode)":case"Symbol(react.async_mode)":case 60108:case"Symbol(react.strict_mode)":return!0}}var Ue=jr(K);if(Is.has(Ue))return!0;if(ru.size>0){var Je=re(K);if(Je!=null){var yt,jt=_s(ru);try{for(jt.s();!(yt=jt.n()).done;)if(yt.value.test(Je))return!0}catch(rn){jt.e(rn)}finally{jt.f()}}}if(Y!=null&&Uu.size>0){var Xt,Nt=Y.fileName,Lt=_s(Uu);try{for(Lt.s();!(Xt=Lt.n()).done;)if(Xt.value.test(Nt))return!0}catch(rn){Lt.e(rn)}finally{Lt.f()}}return!1}function jr(K){var Y=K.type;switch(K.tag){case $e:case rr:return 1;case Pe:case Zt:return 5;case _t:return 6;case st:return 11;case pn:return 7;case It:case tn:case St:return 9;case Nn:case gr:return 8;case ze:return 12;case Xe:return 13;default:switch(fe(Y)){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 Jn(K){if(vo.has(K))return K;var Y=K.alternate;return Y!=null&&vo.has(Y)?Y:(vo.add(K),K)}window.__REACT_DEVTOOLS_COMPONENT_FILTERS__!=null?Ms(window.__REACT_DEVTOOLS_COMPONENT_FILTERS__):Ms([{type:1,value:7,isEnabled:!0}]);var O0=new Map,z0=new Map,vo=new Set,ju=new Map,Bo=new Map,Or=-1;function Vn(K){if(!O0.has(K)){var Y=hs();O0.set(K,Y),z0.set(Y,K)}return O0.get(K)}function ii(K){switch(jr(K)){case 1:if(M0!==null){var Y=Vn(Jn(K)),ve=zr(K);ve!==null&&M0.set(Y,ve)}}}var n0={};function zr(K){switch(jr(K)){case 1:var Y=K.stateNode,ve=n0,ae=n0;return Y!=null&&(Y.constructor&&Y.constructor.contextType!=null?ae=Y.context:(ve=Y.context)&&Object.keys(ve).length===0&&(ve=n0)),[ve,ae];default:return null}}function tf(K){switch(jr(K)){case 1:if(M0!==null){var Y=Vn(Jn(K)),ve=M0.has(Y)?M0.get(Y):null,ae=zr(K);if(ve==null||ae==null)return null;var Ue=xu(ve,2),Je=Ue[0],yt=Ue[1],jt=xu(ae,2),Xt=jt[0],Nt=jt[1];if(Xt!==n0)return W0(Je,Xt);if(Nt!==n0)return yt!==Nt}}return null}function nf(K,Y){if(K==null||Y==null)return!1;if(Y.hasOwnProperty("baseState")&&Y.hasOwnProperty("memoizedState")&&Y.hasOwnProperty("next")&&Y.hasOwnProperty("queue"))for(;Y!==null;){if(Y.memoizedState!==K.memoizedState)return!0;Y=Y.next,K=K.next}return!1}function W0(K,Y){if(K==null||Y==null||Y.hasOwnProperty("baseState")&&Y.hasOwnProperty("memoizedState")&&Y.hasOwnProperty("next")&&Y.hasOwnProperty("queue"))return null;var ve,ae=[],Ue=_s(new Set([].concat(s0(Object.keys(K)),s0(Object.keys(Y)))));try{for(Ue.s();!(ve=Ue.n()).done;){var Je=ve.value;K[Je]!==Y[Je]&&ae.push(Je)}}catch(yt){Ue.e(yt)}finally{Ue.f()}return ae}function q0(K,Y){switch(Y.tag){case $e:case Pe:case rt:case Nn:case gr:return(Fo(Y)&$)===$;default:return K.memoizedProps!==Y.memoizedProps||K.memoizedState!==Y.memoizedState||K.ref!==Y.ref}}var le=[],Re=[],xe=[],pt=[],ht=new Map,hn=0,Un=null;function Vt(K){le.push(K)}function H0(K){if(le.length!==0||Re.length!==0||xe.length!==0||Un!==null||r0){var Y=Re.length+xe.length+(Un===null?0:1),ve=new Array(3+hn+(Y>0?2+Y:0)+le.length),ae=0;if(ve[ae++]=P,ve[ae++]=Or,ve[ae++]=hn,ht.forEach(function(jt,Xt){ve[ae++]=Xt.length;for(var Nt=ms(Xt),Lt=0;Lt<Nt.length;Lt++)ve[ae+Lt]=Nt[Lt];ae+=Xt.length}),Y>0){ve[ae++]=2,ve[ae++]=Y;for(var Ue=Re.length-1;Ue>=0;Ue--)ve[ae++]=Re[Ue];for(var Je=0;Je<xe.length;Je++)ve[ae+Je]=xe[Je];ae+=xe.length,Un!==null&&(ve[ae]=Un,ae++)}for(var yt=0;yt<le.length;yt++)ve[ae+yt]=le[yt];ae+=le.length,pt!==null?pt.push(ve):R.emit("operations",ve),le.length=0,Re.length=0,xe.length=0,Un=null,ht.clear(),hn=0}}function yi(K){if(K===null)return 0;var Y=ht.get(K);if(Y!==void 0)return Y;var ve=ht.size+1;return ht.set(K,ve),hn+=K.length+1,ve}function Wr(K,Y){ui!==null&&(K!==ui&&K!==ui.alternate||eo(null));var ve=K.tag===st,ae=Jn(K);if(O0.has(ae)){var Ue=Vn(ae);ve?Un=Ue:A0(K)||(Y?xe.push(Ue):Re.push(Ue)),O0.delete(ae),z0.delete(Ue),vo.delete(ae),K.hasOwnProperty("treeBaseDuration")&&(Bo.delete(Ue),ju.delete(Ue))}else vo.delete(ae)}function qr(K,Y,ve,ae){var Ue=function(Lt){if(An===null||!Lr)return!1;var rn=Lt.return,gt=rn!==null?rn.alternate:null;if(ui===rn||ui===gt&&gt!==null){var cr=wi(Lt),Nr=An[Mr+1];if(Nr===void 0)throw new Error("Expected to see a frame at the next depth.");if(cr.index===Nr.index&&cr.key===Nr.key&&cr.displayName===Nr.displayName)return ui=Lt,Mr++,Lr=Mr!==An.length-1,!1}return Lr=!1,!0}(K),Je=!A0(K);if(Je&&function(Lt,rn){var gt=Lt.tag===st,cr=Vn(Jn(Lt)),Nr=Lt.hasOwnProperty("_debugOwner"),Dr=Lt.hasOwnProperty("treeBaseDuration");if(gt)Vt(1),Vt(cr),Vt(11),Vt(Dr?1:0),Vt(Nr?1:0),r0&&Zi!==null&&Zi.set(cr,si(Lt));else{var z=Lt.key,ir=re(Lt),Er=jr(Lt),bn=Lt._debugOwner,Qt=bn!=null?Vn(Jn(bn)):0,i0=rn?Vn(Jn(rn)):0,Kr=yi(ir),h0=yi(z===null?null:""+z);Vt(1),Vt(cr),Vt(Er),Vt(i0),Vt(Qt),Vt(Kr),Vt(h0)}Dr&&(Bo.set(cr,Or),wn(Lt))}(K,Y),Ji&&ae&&jr(K)===7&&(Li.add(K.stateNode),ae=!1),K.tag===de.SuspenseComponent)if(K.memoizedState!==null){var yt=K.child,jt=yt?yt.sibling:null,Xt=jt?jt.child:null;Xt!==null&&qr(Xt,Je?K:Y,!0,ae)}else{var Nt=null;f0===-1?Nt=K.child:K.child!==null&&(Nt=K.child.child),Nt!==null&&qr(Nt,Je?K:Y,!0,ae)}else K.child!==null&&qr(K.child,Je?K:Y,!0,ae);(function(Lt){Lr=Lt})(Ue),ve&&K.sibling!==null&&qr(K.sibling,Y,!0,ae)}function d0(K){var Y=K.tag===de.SuspenseComponent&&K.memoizedState!==null,ve=K.child;if(Y){var ae=K.child,Ue=ae?ae.sibling:null;ve=Ue?Ue.child:null}for(;ve!==null;)ve.return!==null&&(d0(ve),Wr(ve,!0)),ve=ve.sibling}function wn(K){var Y=Vn(Jn(K)),ve=K.actualDuration,ae=K.treeBaseDuration;if(ju.set(Y,ae||0),r0){var Ue=K.alternate;if(Ue==null||ae!==Ue.treeBaseDuration){var Je=Math.floor(1e3*(ae||0));Vt(4),Vt(Y),Vt(Je)}if((Ue==null||q0(Ue,K))&&ve!=null){for(var yt=ve,jt=K.child;jt!==null;)yt-=jt.actualDuration||0,jt=jt.sibling;var Xt=Qi;if(Xt.durations.push(Y,ve,yt),Xt.maxActualDuration=Math.max(Xt.maxActualDuration,ve),go){var Nt=function(Lt,rn){switch(jr(rn)){case 1:case 5:case 8:case 6:return Lt===null?{context:null,didHooksChange:!1,isFirstMount:!0,props:null,state:null}:{context:tf(rn),didHooksChange:nf(Lt.memoizedState,rn.memoizedState),isFirstMount:!1,props:W0(Lt.memoizedProps,rn.memoizedProps),state:W0(Lt.memoizedState,rn.memoizedState)};default:return null}}(Ue,K);Nt!==null&&Xt.changeDescriptions!==null&&Xt.changeDescriptions.set(Y,Nt),ii(K)}}}}function Uo(K,Y){if(A0(K)){var ve=K.child;if(K.tag===ze&&K.memoizedState!==null){var ae=K.child,Ue=ae?ae.sibling:null,Je=Ue?Ue.child:null;Je!==null&&(ve=Je)}for(;ve!==null;)Uo(ve,Y),ve=ve.sibling}else Y.push(Vn(Jn(K)))}function Ni(K,Y,ve,ae){if(Ji){var Ue=jr(K);ae?Ue===7&&(Li.add(K.stateNode),ae=!1):Ue!==5&&Ue!==1&&Ue!==2||(ae=q0(Y,K))}_0!==null&&_0.id===Vn(Jn(K))&&q0(Y,K)&&(hl=!0);var Je=!A0(K),yt=K.tag===ze,jt=!1,Xt=yt&&Y.memoizedState!==null,Nt=yt&&K.memoizedState!==null;if(Xt&&Nt){var Lt=K.child,rn=Lt?Lt.sibling:null,gt=Y.child,cr=gt?gt.sibling:null;rn!=null&&cr!=null&&Ni(rn,cr,K,ae)&&(jt=!0)}else if(Xt&&!Nt){var Nr=K.child;Nr!==null&&qr(Nr,Je?K:ve,!0,ae),jt=!0}else if(!Xt&&Nt){d0(Y);var Dr=K.child,z=Dr?Dr.sibling:null;z!=null&&(qr(z,Je?K:ve,!0,ae),jt=!0)}else if(K.child!==Y.child){for(var ir=K.child,Er=Y.child;ir;){if(ir.alternate){var bn=ir.alternate;Ni(ir,bn,Je?K:ve,ae)&&(jt=!0),bn!==Er&&(jt=!0)}else qr(ir,Je?K:ve,!1,ae),jt=!0;ir=ir.sibling,jt||Er===null||(Er=Er.sibling)}Er!==null&&(jt=!0)}else Ji&&ae&&Qn(Vn(Jn(K))).forEach(function(Kr){Li.add(Kr.stateNode)});if(Je&&K.hasOwnProperty("treeBaseDuration")&&wn(K),jt){if(Je){var Qt=K.child;if(Nt){var i0=K.child;Qt=i0?i0.sibling:null}return Qt!=null&&function(Kr,h0){for(var Hr=[],m0=h0;m0!==null;)Uo(m0,Hr),m0=m0.sibling;var Bi=Hr.length;if(!(Bi<2)){Vt(3),Vt(Vn(Jn(Kr))),Vt(Bi);for(var to=0;to<Hr.length;to++)Vt(Hr[to])}}(K,Qt),!1}return!0}return!1}function Qn(K){var Y=[],ve=V0(K);if(!ve)return Y;for(var ae=ve;;){if(ae.tag===pn||ae.tag===tn)Y.push(ae);else if(ae.child){ae.child.return=ae,ae=ae.child;continue}if(ae===ve)return Y;for(;!ae.sibling;){if(!ae.return||ae.return===ve)return Y;ae=ae.return}ae.sibling.return=ae.return,ae=ae.sibling}return Y}function Fs(K){try{var Y=V0(K);if(Y===null)return null;if(Y.tag===ze&&Y.memoizedState!==null){var ve=Y.child&&Y.child.sibling;ve!=null&&(Y=ve)}return Qn(K).map(function(ae){return ae.stateNode}).filter(Boolean)}catch(ae){return null}}function zu(K){var Y=K;if(K.alternate)for(;Y.return;)Y=Y.return;else{if((Fo(Y)&De)!==qe)return 1;for(;Y.return;)if((Fo(Y=Y.return)&De)!==qe)return 1}return Y.tag===st?2:3}function V0(K){var Y=z0.get(K);if(Y==null)return console.warn('Could not find Fiber with id "'.concat(K,'"')),null;var ve=Y.alternate;if(!ve){var ae=zu(Y);if(ae===3)throw Error("Unable to find node on an unmounted component.");return ae===1?null:Y}for(var Ue=Y,Je=ve;;){var yt=Ue.return;if(yt===null)break;var jt=yt.alternate;if(jt===null){var Xt=yt.return;if(Xt!==null){Ue=Je=Xt;continue}break}if(yt.child===jt.child){for(var Nt=yt.child;Nt;){if(Nt===Ue){if(zu(yt)!==2)throw Error("Unable to find node on an unmounted component.");return Y}if(Nt===Je){if(zu(yt)!==2)throw Error("Unable to find node on an unmounted component.");return ve}Nt=Nt.sibling}throw Error("Unable to find node on an unmounted component.")}if(Ue.return!==Je.return)Ue=yt,Je=jt;else{for(var Lt=!1,rn=yt.child;rn;){if(rn===Ue){Lt=!0,Ue=yt,Je=jt;break}if(rn===Je){Lt=!0,Je=yt,Ue=jt;break}rn=rn.sibling}if(!Lt){for(rn=jt.child;rn;){if(rn===Ue){Lt=!0,Ue=jt,Je=yt;break}if(rn===Je){Lt=!0,Je=jt,Ue=yt;break}rn=rn.sibling}if(!Lt)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(Ue.alternate!==Je)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(Ue.tag!==st)throw Error("Unable to find node on an unmounted component.");return Ue.stateNode.current===Ue?Y:ve}function rf(K){var Y=V0(K);if(Y==null)return null;var ve=Y._debugOwner,ae=Y._debugSource,Ue=Y.stateNode,Je=Y.key,yt=Y.memoizedProps,jt=Y.memoizedState,Xt=Y.dependencies,Nt=Y.tag,Lt=Y.type,rn=jr(Y),gt=!(Nt!==Pe&&Nt!==gr&&Nt!==_t||!jt&&!Xt),cr=fe(Lt),Nr=!1,Dr=null;if(Nt===$e||Nt===Pe||Nt===rr||Nt===Zt||Nt===Nn||Nt===_t||Nt===gr)Nr=!0,Ue&&Ue.context!=null&&(rn===1&&!(Lt.contextTypes||Lt.contextType)||(Dr=Ue.context));else if(cr===60110||cr==="Symbol(react.context)"){var z=Lt._context||Lt;Dr=z._currentValue||null;for(var ir=Y.return;ir!==null;){var Er=ir.type,bn=fe(Er);if((bn===60109||bn==="Symbol(react.provider)")&&(Er._context||Er.context)===z){Dr=ir.memoizedProps.value;break}ir=ir.return}}var Qt=!1;Dr!==null&&(Qt=!!Lt.contextTypes,Dr={value:Dr});var i0=null;if(ve){i0=[];for(var Kr=ve;Kr!==null;)i0.push({displayName:re(Kr)||"Anonymous",id:Vn(Jn(Kr)),type:jr(Kr)}),Kr=Kr._debugOwner||null}var h0=Nt===ze&&jt!==null,Hr=null;if(gt){var m0={};for(var Bi in console)try{m0[Bi]=console[Bi],console[Bi]=function(){}}catch(of){}try{Hr=Object(N0.inspectHooksOfFiber)(Y,U.currentDispatcherRef)}finally{for(var to in m0)try{console[to]=m0[to]}catch(of){}}}for(var D0=null,Wu=Y;Wu.return!==null;)Wu=Wu.return;var b0=Wu.stateNode;return b0!=null&&b0._debugRootType!==null&&(D0=b0._debugRootType),{id:K,canEditHooks:typeof c0=="function",canEditFunctionProps:typeof _i=="function",canEditHooksAndDeletePaths:typeof a0=="function",canEditHooksAndRenamePaths:typeof ri=="function",canEditFunctionPropsDeletePaths:typeof g0=="function",canEditFunctionPropsRenamePaths:typeof Pr=="function",canToggleSuspense:dl&&(!h0||F0.has(K)),canViewSource:Nr,hasLegacyContext:Qt,key:Je!=null?Je:null,displayName:re(Y),type:rn,context:Dr,hooks:Hr,props:yt,state:gt?null:jt,owners:i0,source:ae||null,rootType:D0,rendererPackageName:U.rendererPackageName,rendererVersion:U.version}}var _0=null,hl=!1,G0={};function _r(K){return _0!==null&&_0.id===K&&!hl}function I0(K){var Y=G0;K.forEach(function(ve){Y[ve]||(Y[ve]={}),Y=Y[ve]})}function Ir(K,Y){return function(ve){switch(Y){case"hooks":if(ve.length===1||ve[ve.length-1]==="subHooks"||ve[ve.length-2]==="subHooks")return!0}var ae=K===null?G0:G0[K];if(!ae)return!1;for(var Ue=0;Ue<ve.length;Ue++)if(!(ae=ae[ve[Ue]]))return!1;return!0}}var Qi=null,Zi=null,M0=null,y0=null,oi=null,r0=!1,p0=0,go=!1,iu=null;function ml(K){r0||(go=K,Zi=new Map,y0=new Map(ju),oi=new Map(Bo),M0=new Map,R.getFiberRoots(P).forEach(function(Y){var ve=Vn(Jn(Y.current));Zi.set(ve,si(Y.current)),K&&function ae(Ue){ii(Ue);for(var Je=Ue.child;Je!==null;)ae(Je),Je=Je.sibling}(Y.current)}),r0=!0,p0=ws(),iu=new Map)}function vl(){return!1}E("React::DevTools::reloadAndProfile")==="true"&&ml(E("React::DevTools::recordChangeDescriptions")==="true");var F0=new Set;function ou(K){var Y=Vn(Jn(K));return F0.has(Y)}var An=null,ui=null,Mr=-1,Lr=!1;function eo(K){K===null&&(ui=null,Mr=-1,Lr=!1),An=K}var pr=new Map,En=new Map;function w0(K,Y){var ve=si(Y),ae=En.get(ve)||0;En.set(ve,ae+1);var Ue="".concat(ve,":").concat(ae);pr.set(K,Ue)}function si(K){for(var Y=null,ve=null,ae=K.child,Ue=0;Ue<3&&ae!==null;Ue++){var Je=re(ae);if(Je!==null&&(typeof ae.type=="function"?Y=Je:ve===null&&(ve=Je)),Y!==null)break;ae=ae.child}return Y||ve||"Anonymous"}function wi(K){var Y=K.key,ve=re(K),ae=K.index;switch(K.tag){case st:var Ue=Vn(Jn(K)),Je=pr.get(Ue);if(Je===void 0)throw new Error("Expected mounted root to have known pseudo key.");ve=Je;break;case pn:ve=K.type}return{displayName:ve,key:Y,index:ae}}var Gt=function(K){if(K==null)return"Unknown";switch(K){case Fe:return"Immediate";case lt:return"User-Blocking";case Dt:return"Normal";case $t:return"Low";case _n:return"Idle";case Bn:default:return"Unknown"}};return{cleanup:function(){},copyElementPath:function(K,Y){_r(K)&&Mo(gi(_0,Y))},deletePath:function(K,Y,ve,ae){var Ue=V0(Y);if(Ue!==null){var Je=Ue.stateNode;switch(K){case"context":switch(ae=ae.slice(1),Ue.tag){case $e:ae.length===0||Su(Je.context,ae),Je.forceUpdate()}break;case"hooks":typeof a0=="function"&&a0(Ue,ve,ae);break;case"props":Je===null?typeof g0=="function"&&g0(Ue,ae):(Ue.pendingProps=wr(Je.props,ae),Je.forceUpdate());break;case"state":Su(Je.state,ae),Je.forceUpdate()}}},findNativeNodesForFiberID:Fs,flushInitialOperations:function(){var K=pt;pt=null,K!==null&&K.length>0?K.forEach(function(Y){R.emit("operations",Y)}):(An!==null&&(Lr=!0),R.getFiberRoots(P).forEach(function(Y){w0(Or=Vn(Jn(Y.current)),Y.current),r0&&Y.memoizedInteractions!=null&&(Qi={changeDescriptions:go?new Map:null,durations:[],commitTime:ws()-p0,interactions:Array.from(Y.memoizedInteractions).map(function(ve){return Mt(Mt({},ve),{},{timestamp:ve.timestamp-p0})}),maxActualDuration:0,priorityLevel:null}),qr(Y.current,null,!1,!1),H0(),Or=-1}))},getBestMatchForTrackedPath:function(){if(An===null||ui===null)return null;for(var K=ui;K!==null&&A0(K);)K=K.return;return K===null?null:{id:Vn(Jn(K)),isFullMatch:Mr===An.length-1}},getDisplayNameForFiberID:function(K){var Y=z0.get(K);return Y!=null?re(Y):null},getFiberIDForNative:function(K){var Y=arguments.length>1&&arguments[1]!==void 0&&arguments[1],ve=U.findFiberByHostInstance(K);if(ve!=null){if(Y)for(;ve!==null&&A0(ve);)ve=ve.return;return Vn(Jn(ve))}return null},getInstanceAndStyle:function(K){var Y=null,ve=null,ae=V0(K);return ae!==null&&(Y=ae.stateNode,ae.memoizedProps!==null&&(ve=ae.memoizedProps.style)),{instance:Y,style:ve}},getOwnersList:function(K){var Y=V0(K);if(Y==null)return null;var ve=Y._debugOwner,ae=[{displayName:re(Y)||"Anonymous",id:K,type:jr(Y)}];if(ve)for(var Ue=ve;Ue!==null;)ae.unshift({displayName:re(Ue)||"Anonymous",id:Vn(Jn(Ue)),type:jr(Ue)}),Ue=Ue._debugOwner||null;return ae},getPathForElement:function(K){var Y=z0.get(K);if(Y==null)return null;for(var ve=[];Y!==null;)ve.push(wi(Y)),Y=Y.return;return ve.reverse(),ve},getProfilingData:function(){var K=[];if(iu===null)throw Error("getProfilingData() called before any profiling data was recorded");return iu.forEach(function(Y,ve){var ae=[],Ue=[],Je=new Map,yt=new Map,jt=Zi!==null&&Zi.get(ve)||"Unknown";y0!=null&&y0.forEach(function(Xt,Nt){oi!=null&&oi.get(Nt)===ve&&Ue.push([Nt,Xt])}),Y.forEach(function(Xt,Nt){var Lt=Xt.changeDescriptions,rn=Xt.durations,gt=Xt.interactions,cr=Xt.maxActualDuration,Nr=Xt.priorityLevel,Dr=Xt.commitTime,z=[];gt.forEach(function(i0){Je.has(i0.id)||Je.set(i0.id,i0),z.push(i0.id);var Kr=yt.get(i0.id);Kr!=null?Kr.push(Nt):yt.set(i0.id,[Nt])});for(var ir=[],Er=[],bn=0;bn<rn.length;bn+=3){var Qt=rn[bn];ir.push([Qt,rn[bn+1]]),Er.push([Qt,rn[bn+2]])}ae.push({changeDescriptions:Lt!==null?Array.from(Lt.entries()):null,duration:cr,fiberActualDurations:ir,fiberSelfDurations:Er,interactionIDs:z,priorityLevel:Nr,timestamp:Dr})}),K.push({commitData:ae,displayName:jt,initialTreeBaseDurations:Ue,interactionCommits:Array.from(yt.entries()),interactions:Array.from(Je.entries()),rootID:ve})}),{dataForRoots:K,rendererID:P}},handleCommitFiberRoot:function(K,Y){var ve=K.current,ae=ve.alternate;Or=Vn(Jn(ve)),An!==null&&(Lr=!0),Ji&&Li.clear();var Ue=K.memoizedInteractions!=null;if(r0&&Ue&&(Qi={changeDescriptions:go?new Map:null,durations:[],commitTime:ws()-p0,interactions:Array.from(K.memoizedInteractions).map(function(Xt){return Mt(Mt({},Xt),{},{timestamp:Xt.timestamp-p0})}),maxActualDuration:0,priorityLevel:Y==null?null:Gt(Y)}),ae){var Je=ae.memoizedState!=null&&ae.memoizedState.element!=null,yt=ve.memoizedState!=null&&ve.memoizedState.element!=null;!Je&&yt?(w0(Or,ve),qr(ve,null,!1,!1)):Je&&yt?Ni(ve,ae,null,!1):Je&&!yt&&(function(Xt){var Nt=pr.get(Xt);if(Nt===void 0)throw new Error("Expected root pseudo key to be known.");var Lt=Nt.substring(0,Nt.lastIndexOf(":")),rn=En.get(Lt);if(rn===void 0)throw new Error("Expected counter to be known.");rn>1?En.set(Lt,rn-1):En.delete(Lt),pr.delete(Xt)}(Or),Wr(ve,!1))}else w0(Or,ve),qr(ve,null,!1,!1);if(r0&&Ue){var jt=iu.get(Or);jt!=null?jt.push(Qi):iu.set(Or,[Qi])}H0(),Ji&&R.emit("traceUpdates",Li),Or=-1},handleCommitFiberUnmount:function(K){Wr(K,!1)},inspectElement:function(K,Y){if(_r(K)){if(Y!=null){I0(Y);var ve=null;return Y[0]==="hooks"&&(ve="hooks"),{id:K,type:"hydrated-path",path:Y,value:Fi(gi(_0,Y),Ir(null,ve),Y)}}return{id:K,type:"no-change"}}if(hl=!1,_0!==null&&_0.id===K||(G0={}),(_0=rf(K))===null)return{id:K,type:"not-found"};Y!=null&&I0(Y),function(Ue){var Je=Ue.hooks,yt=Ue.id,jt=Ue.props,Xt=z0.get(yt);if(Xt!=null){var Nt=Xt.elementType,Lt=Xt.stateNode,rn=Xt.tag,gt=Xt.type;switch(rn){case $e:case rr:case Zt:H.$r=Lt;break;case Pe:H.$r={hooks:Je,props:jt,type:gt};break;case _t:H.$r={props:jt,type:gt.render};break;case Nn:case gr:H.$r={props:jt,type:Nt!=null&&Nt.type!=null?Nt.type:gt};break;default:H.$r=null}}else console.warn('Could not find Fiber with id "'.concat(yt,'"'))}(_0);var ae=Mt({},_0);return ae.context=Fi(ae.context,Ir("context",null)),ae.hooks=Fi(ae.hooks,Ir("hooks","hooks")),ae.props=Fi(ae.props,Ir("props",null)),ae.state=Fi(ae.state,Ir("state",null)),{id:K,type:"full-data",value:ae}},logElementToConsole:function(K){var Y=_r(K)?_0:rf(K);if(Y!==null){var ve=typeof console.groupCollapsed=="function";ve&&console.groupCollapsed("[Click to expand] %c<".concat(Y.displayName||"Component"," />"),"color: var(--dom-tag-name-color); font-weight: normal;"),Y.props!==null&&console.log("Props:",Y.props),Y.state!==null&&console.log("State:",Y.state),Y.hooks!==null&&console.log("Hooks:",Y.hooks);var ae=Fs(K);ae!==null&&console.log("Nodes:",ae),Y.source!==null&&console.log("Location:",Y.source),(window.chrome||/firefox/i.test(navigator.userAgent))&&console.log("Right-click any value to save it as a global variable for further inspection."),ve&&console.groupEnd()}else console.warn('Could not find Fiber with id "'.concat(K,'"'))},prepareViewAttributeSource:function(K,Y){_r(K)&&(window.$attribute=gi(_0,Y))},prepareViewElementSource:function(K){var Y=z0.get(K);if(Y!=null){var ve=Y.elementType,ae=Y.tag,Ue=Y.type;switch(ae){case $e:case rr:case Zt:case Pe:H.$type=Ue;break;case _t:H.$type=Ue.render;break;case Nn:case gr:H.$type=ve!=null&&ve.type!=null?ve.type:Ue;break;default:H.$type=null}}else console.warn('Could not find Fiber with id "'.concat(K,'"'))},overrideSuspense:function(K,Y){if(typeof ho!="function"||typeof mo!="function")throw new Error("Expected overrideSuspense() to not get called for earlier React versions.");Y?(F0.add(K),F0.size===1&&ho(ou)):(F0.delete(K),F0.size===0&&ho(vl));var ve=z0.get(K);ve!=null&&mo(ve)},overrideValueAtPath:function(K,Y,ve,ae,Ue){var Je=V0(Y);if(Je!==null){var yt=Je.stateNode;switch(K){case"context":switch(ae=ae.slice(1),Je.tag){case $e:ae.length===0?yt.context=Ue:tl(yt.context,ae,Ue),yt.forceUpdate()}break;case"hooks":typeof c0=="function"&&c0(Je,ve,ae,Ue);break;case"props":switch(Je.tag){case $e:Je.pendingProps=ei(yt.props,ae,Ue),yt.forceUpdate();break;default:typeof _i=="function"&&_i(Je,ae,Ue)}break;case"state":switch(Je.tag){case $e:tl(yt.state,ae,Ue),yt.forceUpdate()}}}},renamePath:function(K,Y,ve,ae,Ue){var Je=V0(Y);if(Je!==null){var yt=Je.stateNode;switch(K){case"context":switch(ae=ae.slice(1),Ue=Ue.slice(1),Je.tag){case $e:ae.length===0||el(yt.context,ae,Ue),yt.forceUpdate()}break;case"hooks":typeof ri=="function"&&ri(Je,ve,ae,Ue);break;case"props":yt===null?typeof Pr=="function"&&Pr(Je,ae,Ue):(Je.pendingProps=kr(yt.props,ae,Ue),yt.forceUpdate());break;case"state":el(yt.state,ae,Ue),yt.forceUpdate()}}},renderer:U,setTraceUpdatesEnabled:function(K){Ji=K},setTrackedPath:eo,startProfiling:ml,stopProfiling:function(){r0=!1,go=!1},storeAsGlobal:function(K,Y,ve){if(_r(K)){var ae=gi(_0,Y),Ue="$reactTemp".concat(ve);window[Ue]=ae,console.log(Ue),console.log(ae)}},updateComponentFilters:function(K){if(r0)throw Error("Cannot modify filter preferences while profiling");R.getFiberRoots(P).forEach(function(Y){Or=Vn(Jn(Y.current)),d0(Y.current),Wr(Y.current,!1),Or=-1}),Ms(K),En.clear(),R.getFiberRoots(P).forEach(function(Y){w0(Or=Vn(Jn(Y.current)),Y.current),qr(Y.current,null,!1,!1),H0(Y),Or=-1})}}}var dn;function ku(R){return(ku=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P})(R)}function Ro(R,P,U){if(dn===void 0)try{throw Error()}catch(ue){var H=ue.stack.trim().match(/\n( *(at )?)/);dn=H&&H[1]||""}return`
`+dn+R}var Qo=!1;function Es(R,P,U){if(!R||Qo)return"";var H,ue=Error.prepareStackTrace;Error.prepareStackTrace=void 0,Qo=!0;var re=U.current;U.current=null;try{if(P){var fe=function(){throw Error()};if(Object.defineProperty(fe.prototype,"props",{set:function(){throw Error()}}),(typeof Reflect=="undefined"?"undefined":ku(Reflect))==="object"&&Reflect.construct){try{Reflect.construct(fe,[])}catch(De){H=De}Reflect.construct(R,[],fe)}else{try{fe.call()}catch(De){H=De}R.call(fe.prototype)}}else{try{throw Error()}catch(De){H=De}R()}}catch(De){if(De&&H&&typeof De.stack=="string"){for(var q=De.stack.split(`
`),de=H.stack.split(`
`),Ae=q.length-1,qe=de.length-1;Ae>=1&&qe>=0&&q[Ae]!==de[qe];)qe--;for(;Ae>=1&&qe>=0;Ae--,qe--)if(q[Ae]!==de[qe]){if(Ae!==1||qe!==1)do if(Ae--,--qe<0||q[Ae]!==de[qe])return`
`+q[Ae].replace(" at new "," at ");while(Ae>=1&&qe>=0);break}}}finally{Qo=!1,Error.prepareStackTrace=ue,U.current=re}var $=R?R.displayName||R.name:"";return $?Ro($):""}function ol(R,P,U,H){return Es(R,!1,H)}function jf(R,P,U){var H=R.HostComponent,ue=R.LazyComponent,re=R.SuspenseComponent,fe=R.SuspenseListComponent,q=R.FunctionComponent,de=R.IndeterminateComponent,Ae=R.SimpleMemoComponent,qe=R.ForwardRef,$=R.Block,De=R.ClassComponent;switch(P.tag){case H:return Ro(P.type);case ue:return Ro("Lazy");case re:return Ro("Suspense");case fe:return Ro("SuspenseList");case q:case de:case Ae:return ol(P.type,0,0,U);case qe:return ol(P.type.render,0,0,U);case $:return ol(P.type._render,0,0,U);case De:return function(Pe,$e,rt,ut){return Es(Pe,!0,ut)}(P.type,0,0,U);default:return""}}function ul(R,P,U){try{var H="",ue=P;do H+=jf(R,ue,U),ue=ue.return;while(ue);return H}catch(re){return`
Error generating stack: `+re.message+`
`+re.stack}}function Au(R,P){var U;if(typeof Symbol=="undefined"||R[Symbol.iterator]==null){if(Array.isArray(R)||(U=function(de,Ae){if(!!de){if(typeof de=="string")return Ou(de,Ae);var qe=Object.prototype.toString.call(de).slice(8,-1);if(qe==="Object"&&de.constructor&&(qe=de.constructor.name),qe==="Map"||qe==="Set")return Array.from(de);if(qe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(qe))return Ou(de,Ae)}}(R))||P&&R&&typeof R.length=="number"){U&&(R=U);var H=0,ue=function(){};return{s:ue,n:function(){return H>=R.length?{done:!0}:{done:!1,value:R[H++]}},e:function(de){throw de},f:ue}}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 re,fe=!0,q=!1;return{s:function(){U=R[Symbol.iterator]()},n:function(){var de=U.next();return fe=de.done,de},e:function(de){q=!0,re=de},f:function(){try{fe||U.return==null||U.return()}finally{if(q)throw re}}}}function Ou(R,P){(P==null||P>R.length)&&(P=R.length);for(var U=0,H=new Array(P);U<P;U++)H[U]=R[U];return H}var Zl=["error","trace","warn"],Xi=/\s{4}(in|at)\s{1}/,Cs=/:\d+:\d+(\n|$)/,sl=new Map,Iu=console,U0={};for(var Ss in console)U0[Ss]=console[Ss];var Qe=null;function Ri(R){var P=R.currentDispatcherRef,U=R.getCurrentFiber,H=R.findFiberByHostInstance,ue=R.version;if(typeof H=="function"&&P!=null&&typeof U=="function"){var re=Ds(ue).ReactTypeOfWork;sl.set(R,{currentDispatcherRef:P,getCurrentFiber:U,workTagMap:re})}}var Zo={appendComponentStack:!1,breakOnConsoleErrors:!1};function Po(R){var P=R.appendComponentStack,U=R.breakOnConsoleErrors;if(Zo.appendComponentStack=P,Zo.breakOnConsoleErrors=U,Qe===null){var H={};Qe=function(){for(var ue in H)try{Iu[ue]=H[ue]}catch(re){}},Zl.forEach(function(ue){try{var re=H[ue]=Iu[ue],fe=function(){for(var q=Zo.appendComponentStack,de=(Zo.breakOnConsoleErrors,arguments.length),Ae=new Array(de),qe=0;qe<de;qe++)Ae[qe]=arguments[qe];if(q)try{var $=Ae.length>0?Ae[Ae.length-1]:null,De=$!==null&&(Xi.test($)||Cs.test($));if(!De){var Pe,$e=Au(sl.values());try{for($e.s();!(Pe=$e.n()).done;){var rt=Pe.value,ut=rt.currentDispatcherRef,St=rt.getCurrentFiber,_t=rt.workTagMap,st=St();if(st!=null){var It=ul(_t,st,ut);It!==""&&Ae.push(It);break}}}catch(pn){$e.e(pn)}finally{$e.f()}}}catch(pn){}re.apply(void 0,Ae)};fe.__REACT_DEVTOOLS_ORIGINAL_METHOD__=re,Iu[ue]=fe}catch(q){}})}}function S0(R){return(S0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P})(R)}function ll(R,P){for(var U=0;U<P.length;U++){var H=P[U];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(R,H.key,H)}}function fl(R,P){return(fl=Object.setPrototypeOf||function(U,H){return U.__proto__=H,U})(R,P)}function eu(R){var P=function(){if(typeof Reflect=="undefined"||!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(U){return!1}}();return function(){var U,H=vt(R);if(P){var ue=vt(this).constructor;U=Reflect.construct(H,arguments,ue)}else U=H.apply(this,arguments);return cl(this,U)}}function cl(R,P){return!P||S0(P)!=="object"&&typeof P!="function"?gn(R):P}function gn(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function vt(R){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)})(R)}function Kt(R,P,U){return P in R?Object.defineProperty(R,P,{value:U,enumerable:!0,configurable:!0,writable:!0}):R[P]=U,R}var T0=function(R){(function(fe,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");fe.prototype=Object.create(q&&q.prototype,{constructor:{value:fe,writable:!0,configurable:!0}}),q&&fl(fe,q)})(re,R);var P,U,H,ue=eu(re);function re(fe){var q;(function($,De){if(!($ instanceof De))throw new TypeError("Cannot call a class as a function")})(this,re),Kt(gn(q=ue.call(this)),"_isProfiling",!1),Kt(gn(q),"_recordChangeDescriptions",!1),Kt(gn(q),"_rendererInterfaces",{}),Kt(gn(q),"_persistedSelection",null),Kt(gn(q),"_persistedSelectionMatch",null),Kt(gn(q),"_traceUpdatesEnabled",!1),Kt(gn(q),"copyElementPath",function($){var De=$.id,Pe=$.path,$e=$.rendererID,rt=q._rendererInterfaces[$e];rt==null?console.warn('Invalid renderer id "'.concat($e,'" for element "').concat(De,'"')):rt.copyElementPath(De,Pe)}),Kt(gn(q),"deletePath",function($){var De=$.hookID,Pe=$.id,$e=$.path,rt=$.rendererID,ut=$.type,St=q._rendererInterfaces[rt];St==null?console.warn('Invalid renderer id "'.concat(rt,'" for element "').concat(Pe,'"')):St.deletePath(ut,Pe,De,$e)}),Kt(gn(q),"getProfilingData",function($){var De=$.rendererID,Pe=q._rendererInterfaces[De];Pe==null&&console.warn('Invalid renderer id "'.concat(De,'"')),q._bridge.send("profilingData",Pe.getProfilingData())}),Kt(gn(q),"getProfilingStatus",function(){q._bridge.send("profilingStatus",q._isProfiling)}),Kt(gn(q),"getOwnersList",function($){var De=$.id,Pe=$.rendererID,$e=q._rendererInterfaces[Pe];if($e==null)console.warn('Invalid renderer id "'.concat(Pe,'" for element "').concat(De,'"'));else{var rt=$e.getOwnersList(De);q._bridge.send("ownersList",{id:De,owners:rt})}}),Kt(gn(q),"inspectElement",function($){var De=$.id,Pe=$.path,$e=$.rendererID,rt=q._rendererInterfaces[$e];rt==null?console.warn('Invalid renderer id "'.concat($e,'" for element "').concat(De,'"')):(q._bridge.send("inspectedElement",rt.inspectElement(De,Pe)),q._persistedSelectionMatch!==null&&q._persistedSelectionMatch.id===De||(q._persistedSelection=null,q._persistedSelectionMatch=null,rt.setTrackedPath(null),q._throttledPersistSelection($e,De)))}),Kt(gn(q),"logElementToConsole",function($){var De=$.id,Pe=$.rendererID,$e=q._rendererInterfaces[Pe];$e==null?console.warn('Invalid renderer id "'.concat(Pe,'" for element "').concat(De,'"')):$e.logElementToConsole(De)}),Kt(gn(q),"overrideSuspense",function($){var De=$.id,Pe=$.rendererID,$e=$.forceFallback,rt=q._rendererInterfaces[Pe];rt==null?console.warn('Invalid renderer id "'.concat(Pe,'" for element "').concat(De,'"')):rt.overrideSuspense(De,$e)}),Kt(gn(q),"overrideValueAtPath",function($){var De=$.hookID,Pe=$.id,$e=$.path,rt=$.rendererID,ut=$.type,St=$.value,_t=q._rendererInterfaces[rt];_t==null?console.warn('Invalid renderer id "'.concat(rt,'" for element "').concat(Pe,'"')):_t.overrideValueAtPath(ut,Pe,De,$e,St)}),Kt(gn(q),"overrideContext",function($){var De=$.id,Pe=$.path,$e=$.rendererID,rt=$.wasForwarded,ut=$.value;rt||q.overrideValueAtPath({id:De,path:Pe,rendererID:$e,type:"context",value:ut})}),Kt(gn(q),"overrideHookState",function($){var De=$.id,Pe=($.hookID,$.path),$e=$.rendererID,rt=$.wasForwarded,ut=$.value;rt||q.overrideValueAtPath({id:De,path:Pe,rendererID:$e,type:"hooks",value:ut})}),Kt(gn(q),"overrideProps",function($){var De=$.id,Pe=$.path,$e=$.rendererID,rt=$.wasForwarded,ut=$.value;rt||q.overrideValueAtPath({id:De,path:Pe,rendererID:$e,type:"props",value:ut})}),Kt(gn(q),"overrideState",function($){var De=$.id,Pe=$.path,$e=$.rendererID,rt=$.wasForwarded,ut=$.value;rt||q.overrideValueAtPath({id:De,path:Pe,rendererID:$e,type:"state",value:ut})}),Kt(gn(q),"reloadAndProfile",function($){B("React::DevTools::reloadAndProfile","true"),B("React::DevTools::recordChangeDescriptions",$?"true":"false"),q._bridge.send("reloadAppForProfiling")}),Kt(gn(q),"renamePath",function($){var De=$.hookID,Pe=$.id,$e=$.newPath,rt=$.oldPath,ut=$.rendererID,St=$.type,_t=q._rendererInterfaces[ut];_t==null?console.warn('Invalid renderer id "'.concat(ut,'" for element "').concat(Pe,'"')):_t.renamePath(St,Pe,De,rt,$e)}),Kt(gn(q),"setTraceUpdatesEnabled",function($){for(var De in q._traceUpdatesEnabled=$,Ht($),q._rendererInterfaces)q._rendererInterfaces[De].setTraceUpdatesEnabled($)}),Kt(gn(q),"syncSelectionFromNativeElementsPanel",function(){var $=window.__REACT_DEVTOOLS_GLOBAL_HOOK__.$0;$!=null&&q.selectNode($)}),Kt(gn(q),"shutdown",function(){q.emit("shutdown")}),Kt(gn(q),"startProfiling",function($){for(var De in q._recordChangeDescriptions=$,q._isProfiling=!0,q._rendererInterfaces)q._rendererInterfaces[De].startProfiling($);q._bridge.send("profilingStatus",q._isProfiling)}),Kt(gn(q),"stopProfiling",function(){for(var $ in q._isProfiling=!1,q._recordChangeDescriptions=!1,q._rendererInterfaces)q._rendererInterfaces[$].stopProfiling();q._bridge.send("profilingStatus",q._isProfiling)}),Kt(gn(q),"storeAsGlobal",function($){var De=$.count,Pe=$.id,$e=$.path,rt=$.rendererID,ut=q._rendererInterfaces[rt];ut==null?console.warn('Invalid renderer id "'.concat(rt,'" for element "').concat(Pe,'"')):ut.storeAsGlobal(Pe,$e,De)}),Kt(gn(q),"updateConsolePatchSettings",function($){var De=$.appendComponentStack,Pe=$.breakOnConsoleErrors;De||Pe?Po({appendComponentStack:De,breakOnConsoleErrors:Pe}):Qe!==null&&(Qe(),Qe=null)}),Kt(gn(q),"updateComponentFilters",function($){for(var De in q._rendererInterfaces)q._rendererInterfaces[De].updateComponentFilters($)}),Kt(gn(q),"viewAttributeSource",function($){var De=$.id,Pe=$.path,$e=$.rendererID,rt=q._rendererInterfaces[$e];rt==null?console.warn('Invalid renderer id "'.concat($e,'" for element "').concat(De,'"')):rt.prepareViewAttributeSource(De,Pe)}),Kt(gn(q),"viewElementSource",function($){var De=$.id,Pe=$.rendererID,$e=q._rendererInterfaces[Pe];$e==null?console.warn('Invalid renderer id "'.concat(Pe,'" for element "').concat(De,'"')):$e.prepareViewElementSource(De)}),Kt(gn(q),"onTraceUpdates",function($){q.emit("traceUpdates",$)}),Kt(gn(q),"onHookOperations",function($){if(q._bridge.send("operations",$),q._persistedSelection!==null){var De=$[0];if(q._persistedSelection.rendererID===De){var Pe=q._rendererInterfaces[De];if(Pe==null)console.warn('Invalid renderer id "'.concat(De,'"'));else{var $e=q._persistedSelectionMatch,rt=Pe.getBestMatchForTrackedPath();q._persistedSelectionMatch=rt;var ut=$e!==null?$e.id:null,St=rt!==null?rt.id:null;ut!==St&&St!==null&&q._bridge.send("selectFiber",St),rt!==null&&rt.isFullMatch&&(q._persistedSelection=null,q._persistedSelectionMatch=null,Pe.setTrackedPath(null))}}}}),Kt(gn(q),"_throttledPersistSelection",x()(function($,De){var Pe=q._rendererInterfaces[$],$e=Pe!=null?Pe.getPathForElement(De):null;$e!==null?B("React::DevTools::lastSelection",JSON.stringify({rendererID:$,path:$e})):L("React::DevTools::lastSelection")},1e3)),E("React::DevTools::reloadAndProfile")==="true"&&(q._recordChangeDescriptions=E("React::DevTools::recordChangeDescriptions")==="true",q._isProfiling=!0,L("React::DevTools::recordChangeDescriptions"),L("React::DevTools::reloadAndProfile"));var de=E("React::DevTools::lastSelection");de!=null&&(q._persistedSelection=JSON.parse(de)),q._bridge=fe,fe.addListener("copyElementPath",q.copyElementPath),fe.addListener("deletePath",q.deletePath),fe.addListener("getProfilingData",q.getProfilingData),fe.addListener("getProfilingStatus",q.getProfilingStatus),fe.addListener("getOwnersList",q.getOwnersList),fe.addListener("inspectElement",q.inspectElement),fe.addListener("logElementToConsole",q.logElementToConsole),fe.addListener("overrideSuspense",q.overrideSuspense),fe.addListener("overrideValueAtPath",q.overrideValueAtPath),fe.addListener("reloadAndProfile",q.reloadAndProfile),fe.addListener("renamePath",q.renamePath),fe.addListener("setTraceUpdatesEnabled",q.setTraceUpdatesEnabled),fe.addListener("startProfiling",q.startProfiling),fe.addListener("stopProfiling",q.stopProfiling),fe.addListener("storeAsGlobal",q.storeAsGlobal),fe.addListener("syncSelectionFromNativeElementsPanel",q.syncSelectionFromNativeElementsPanel),fe.addListener("shutdown",q.shutdown),fe.addListener("updateConsolePatchSettings",q.updateConsolePatchSettings),fe.addListener("updateComponentFilters",q.updateComponentFilters),fe.addListener("viewAttributeSource",q.viewAttributeSource),fe.addListener("viewElementSource",q.viewElementSource),fe.addListener("overrideContext",q.overrideContext),fe.addListener("overrideHookState",q.overrideHookState),fe.addListener("overrideProps",q.overrideProps),fe.addListener("overrideState",q.overrideState),q._isProfiling&&fe.send("profilingStatus",!0);var Ae,qe=!1;try{localStorage.getItem("test"),qe=!0}catch($){}return fe.send("isBackendStorageAPISupported",qe),pe(fe,gn(q)),Ae=gn(q),Ae.addListener("traceUpdates",nr),q}return P=re,(U=[{key:"getInstanceAndStyle",value:function(fe){var q=fe.id,de=fe.rendererID,Ae=this._rendererInterfaces[de];return Ae==null?(console.warn('Invalid renderer id "'.concat(de,'"')),null):Ae.getInstanceAndStyle(q)}},{key:"getIDForNode",value:function(fe){for(var q in this._rendererInterfaces){var de=this._rendererInterfaces[q];try{var Ae=de.getFiberIDForNative(fe,!0);if(Ae!==null)return Ae}catch(qe){}}return null}},{key:"selectNode",value:function(fe){var q=this.getIDForNode(fe);q!==null&&this._bridge.send("selectFiber",q)}},{key:"setRendererInterface",value:function(fe,q){this._rendererInterfaces[fe]=q,this._isProfiling&&q.startProfiling(this._recordChangeDescriptions),q.setTraceUpdatesEnabled(this._traceUpdatesEnabled);var de=this._persistedSelection;de!==null&&de.rendererID===fe&&q.setTrackedPath(de.path)}},{key:"onUnsupportedRenderer",value:function(fe){this._bridge.send("unsupportedRendererVersion",fe)}},{key:"rendererInterfaces",get:function(){return this._rendererInterfaces}}])&&ll(P.prototype,U),H&&ll(P,H),re}(g);function ti(R){return(ti=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P})(R)}function Mu(R){return function(P){if(Array.isArray(P))return Pi(P)}(R)||function(P){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(P))return Array.from(P)}(R)||function(P,U){if(!!P){if(typeof P=="string")return Pi(P,U);var H=Object.prototype.toString.call(P).slice(8,-1);if(H==="Object"&&P.constructor&&(H=P.constructor.name),H==="Map"||H==="Set")return Array.from(P);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return Pi(P,U)}}(R)||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 Pi(R,P){(P==null||P>R.length)&&(P=R.length);for(var U=0,H=new Array(P);U<P;U++)H[U]=R[U];return H}function Fu(R,P){for(var U=0;U<P.length;U++){var H=P[U];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(R,H.key,H)}}function Ru(R,P){return(Ru=Object.setPrototypeOf||function(U,H){return U.__proto__=H,U})(R,P)}function Ts(R){var P=function(){if(typeof Reflect=="undefined"||!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(U){return!1}}();return function(){var U,H=Ki(R);if(P){var ue=Ki(this).constructor;U=Reflect.construct(H,arguments,ue)}else U=H.apply(this,arguments);return ni(this,U)}}function ni(R,P){return!P||ti(P)!=="object"&&typeof P!="function"?Xr(R):P}function Xr(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function Ki(R){return(Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)})(R)}function v0(R,P,U){return P in R?Object.defineProperty(R,P,{value:U,enumerable:!0,configurable:!0,writable:!0}):R[P]=U,R}var po=function(R){(function(fe,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");fe.prototype=Object.create(q&&q.prototype,{constructor:{value:fe,writable:!0,configurable:!0}}),q&&Ru(fe,q)})(re,R);var P,U,H,ue=Ts(re);function re(fe){var q;return function(de,Ae){if(!(de instanceof Ae))throw new TypeError("Cannot call a class as a function")}(this,re),v0(Xr(q=ue.call(this)),"_isShutdown",!1),v0(Xr(q),"_messageQueue",[]),v0(Xr(q),"_timeoutID",null),v0(Xr(q),"_wallUnlisten",null),v0(Xr(q),"_flush",function(){if(q._timeoutID!==null&&(clearTimeout(q._timeoutID),q._timeoutID=null),q._messageQueue.length){for(var de=0;de<q._messageQueue.length;de+=2){var Ae;(Ae=q._wall).send.apply(Ae,[q._messageQueue[de]].concat(Mu(q._messageQueue[de+1])))}q._messageQueue.length=0,q._timeoutID=setTimeout(q._flush,100)}}),v0(Xr(q),"overrideValueAtPath",function(de){var Ae=de.id,qe=de.path,$=de.rendererID,De=de.type,Pe=de.value;switch(De){case"context":q.send("overrideContext",{id:Ae,path:qe,rendererID:$,wasForwarded:!0,value:Pe});break;case"hooks":q.send("overrideHookState",{id:Ae,path:qe,rendererID:$,wasForwarded:!0,value:Pe});break;case"props":q.send("overrideProps",{id:Ae,path:qe,rendererID:$,wasForwarded:!0,value:Pe});break;case"state":q.send("overrideState",{id:Ae,path:qe,rendererID:$,wasForwarded:!0,value:Pe})}}),q._wall=fe,q._wallUnlisten=fe.listen(function(de){Xr(q).emit(de.event,de.payload)})||null,q.addListener("overrideValueAtPath",q.overrideValueAtPath),q}return P=re,(U=[{key:"send",value:function(fe){if(this._isShutdown)console.warn('Cannot send message "'.concat(fe,'" through a Bridge that has been shutdown.'));else{for(var q=arguments.length,de=new Array(q>1?q-1:0),Ae=1;Ae<q;Ae++)de[Ae-1]=arguments[Ae];this._messageQueue.push(fe,de),this._timeoutID||(this._timeoutID=setTimeout(this._flush,0))}}},{key:"shutdown",value:function(){if(this._isShutdown)console.warn("Bridge was already shutdown.");else{this.send("shutdown"),this._isShutdown=!0,this.addListener=function(){},this.emit=function(){},this.removeAllListeners();var fe=this._wallUnlisten;fe&&fe();do this._flush();while(this._messageQueue.length);this._timeoutID!==null&&(clearTimeout(this._timeoutID),this._timeoutID=null)}}},{key:"wall",get:function(){return this._wall}}])&&Fu(P.prototype,U),H&&Fu(P,H),re}(g);function t0(R,P,U){var H=R[P];return R[P]=function(ue){return U.call(this,H,arguments)},H}function xs(R,P){for(var U in P)R[U]=P[U]}function l0(R){typeof R.forceUpdate=="function"?R.forceUpdate():R.updater!=null&&typeof R.updater.enqueueForceUpdate=="function"&&R.updater.enqueueForceUpdate(this,function(){},"forceUpdate")}function Pu(R,P){var U=Object.keys(R);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(R);P&&(H=H.filter(function(ue){return Object.getOwnPropertyDescriptor(R,ue).enumerable})),U.push.apply(U,H)}return U}function j0(R){for(var P=1;P<arguments.length;P++){var U=arguments[P]!=null?arguments[P]:{};P%2?Pu(Object(U),!0).forEach(function(H){Lu(R,H,U[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(U)):Pu(Object(U)).forEach(function(H){Object.defineProperty(R,H,Object.getOwnPropertyDescriptor(U,H))})}return R}function Lu(R,P,U){return P in R?Object.defineProperty(R,P,{value:U,enumerable:!0,configurable:!0,writable:!0}):R[P]=U,R}function ks(R){return(ks=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P})(R)}function Lo(R){var P=null,U=null;if(R._currentElement!=null){R._currentElement.key&&(U=""+R._currentElement.key);var H=R._currentElement.type;typeof H=="string"?P=H:typeof H=="function"&&(P=Io(H))}return{displayName:P,key:U}}function x0(R){if(R._currentElement!=null){var P=R._currentElement.type;if(typeof P=="function")return R.getPublicInstance()!==null?1:5;if(typeof P=="string")return 7}return 9}function nn(R){var P=[];if(ks(R)==="object"){if(!(R._currentElement===null||R._currentElement===!1)){if(R._renderedComponent){var U=R._renderedComponent;x0(U)!==9&&P.push(U)}else if(R._renderedChildren){var H=R._renderedChildren;for(var ue in H){var re=H[ue];x0(re)!==9&&P.push(re)}}}}return P}function ef(R,P,U,H){var ue,re=new Map,fe=new WeakMap,q=new WeakMap,de=null;function Ae(ze){if(ks(ze)!=="object"||ze===null)throw new Error("Invalid internal instance: "+ze);if(!fe.has(ze)){var Xe=hs();fe.set(ze,Xe),re.set(Xe,ze)}return fe.get(ze)}function qe(ze,Xe){if(ze.length!==Xe.length)return!1;for(var Fe=0;Fe<ze.length;Fe++)if(ze[Fe]!==Xe[Fe])return!1;return!0}U.ComponentTree?(de=function(ze,Xe){var Fe=U.ComponentTree.getClosestInstanceFromNode(ze);return fe.get(Fe)||null},ue=function(ze){var Xe=re.get(ze);return U.ComponentTree.getNodeFromInstance(Xe)}):U.Mount.getID&&U.Mount.getNode&&(de=function(ze,Xe){return null},ue=function(ze){return null});var $=[],De=null;function Pe(ze,Xe,Fe){if(Fe===0){var lt=ze._currentElement!=null&&ze._currentElement._owner!=null;tn(1),tn(Xe),tn(11),tn(0),tn(lt?1:0)}else{var Dt=x0(ze),$t=Lo(ze),_n=$t.displayName,Bn=$t.key,c0=ze._currentElement!=null&&ze._currentElement._owner!=null?Ae(ze._currentElement._owner):0,a0=rr(_n),ri=rr(Bn);tn(1),tn(Xe),tn(Dt),tn(Fe),tn(c0),tn(a0),tn(ri)}}function $e(ze,Xe,Fe){tn(3),tn(Xe);var lt=Fe.map(Ae);tn(lt.length);for(var Dt=0;Dt<lt.length;Dt++)tn(lt[Dt])}function rt(ze,Xe,Fe){var lt=re.get(ze);lt!=null&&(q.set(lt,Fe),Pe(lt,ze,Xe),nn(lt).forEach(function(Dt){return rt(Ae(Dt),ze,Fe)}))}U.Reconciler&&(De=function(ze,Xe){var Fe={};for(var lt in Xe)Fe[lt]=t0(ze,lt,Xe[lt]);return Fe}(U.Reconciler,{mountComponent:function(ze,Xe){var Fe=Xe[0],lt=Xe[3];if(x0(Fe)===9)return ze.apply(this,Xe);if(lt._topLevelWrapper===void 0)return ze.apply(this,Xe);var Dt=Ae(Fe);Pe(Fe,Dt,$.length>0?$[$.length-1]:0),$.push(Dt),q.set(Fe,Ae(lt._topLevelWrapper));try{var $t=ze.apply(this,Xe);return $.pop(),$t}catch(Bn){throw $=[],Bn}finally{if($.length===0){var _n=q.get(Fe);if(_n===void 0)throw new Error("Expected to find root ID.");pn(_n)}}},performUpdateIfNecessary:function(ze,Xe){var Fe=Xe[0];if(x0(Fe)===9)return ze.apply(this,Xe);var lt=Ae(Fe);$.push(lt);var Dt=nn(Fe);try{var $t=ze.apply(this,Xe),_n=nn(Fe);return qe(Dt,_n)||$e(Fe,lt,_n),$.pop(),$t}catch(c0){throw $=[],c0}finally{if($.length===0){var Bn=q.get(Fe);if(Bn===void 0)throw new Error("Expected to find root ID.");pn(Bn)}}},receiveComponent:function(ze,Xe){var Fe=Xe[0];if(x0(Fe)===9)return ze.apply(this,Xe);var lt=Ae(Fe);$.push(lt);var Dt=nn(Fe);try{var $t=ze.apply(this,Xe),_n=nn(Fe);return qe(Dt,_n)||$e(Fe,lt,_n),$.pop(),$t}catch(c0){throw $=[],c0}finally{if($.length===0){var Bn=q.get(Fe);if(Bn===void 0)throw new Error("Expected to find root ID.");pn(Bn)}}},unmountComponent:function(ze,Xe){var Fe=Xe[0];if(x0(Fe)===9)return ze.apply(this,Xe);var lt=Ae(Fe);$.push(lt);try{var Dt=ze.apply(this,Xe);return $.pop(),function(_n,Bn){_t.push(Bn),re.delete(Bn)}(0,lt),Dt}catch(_n){throw $=[],_n}finally{if($.length===0){var $t=q.get(Fe);if($t===void 0)throw new Error("Expected to find root ID.");pn($t)}}}}));var ut=[],St=new Map,_t=[],st=0,It=null;function pn(ze){if(ut.length!==0||_t.length!==0||It!==null){var Xe=_t.length+(It===null?0:1),Fe=new Array(3+st+(Xe>0?2+Xe:0)+ut.length),lt=0;if(Fe[lt++]=P,Fe[lt++]=ze,Fe[lt++]=st,St.forEach(function(_n,Bn){Fe[lt++]=Bn.length;for(var c0=ms(Bn),a0=0;a0<c0.length;a0++)Fe[lt+a0]=c0[a0];lt+=Bn.length}),Xe>0){Fe[lt++]=2,Fe[lt++]=Xe;for(var Dt=0;Dt<_t.length;Dt++)Fe[lt++]=_t[Dt];It!==null&&(Fe[lt]=It,lt++)}for(var $t=0;$t<ut.length;$t++)Fe[lt+$t]=ut[$t];lt+=ut.length,R.emit("operations",Fe),ut.length=0,_t=[],It=null,St.clear(),st=0}}function tn(ze){ut.push(ze)}function rr(ze){if(ze===null)return 0;var Xe=St.get(ze);if(Xe!==void 0)return Xe;var Fe=St.size+1;return St.set(ze,Fe),st+=ze.length+1,Fe}var Zt=null,Nn={};function f0(ze){return function(Xe){var Fe=Nn[ze];if(!Fe)return!1;for(var lt=0;lt<Xe.length;lt++)if(!(Fe=Fe[Xe[lt]]))return!1;return!0}}function gr(ze){var Xe=re.get(ze);if(Xe==null)return null;var Fe=Lo(Xe),lt=Fe.displayName,Dt=Fe.key,$t=x0(Xe),_n=null,Bn=null,c0=null,a0=null,ri=null,_i=Xe._currentElement;if(_i!==null){c0=_i.props,ri=_i._source!=null?_i._source:null;var g0=_i._owner;if(g0)for(Bn=[];g0!=null;)Bn.push({displayName:Lo(g0).displayName||"Unknown",id:Ae(g0),type:x0(g0)}),g0._currentElement&&(g0=g0._currentElement._owner)}var Pr=Xe._instance;return Pr!=null&&(_n=Pr.context||null,a0=Pr.state||null),{id:ze,canEditHooks:!1,canEditFunctionProps:!1,canEditHooksAndDeletePaths:!1,canEditHooksAndRenamePaths:!1,canEditFunctionPropsDeletePaths:!1,canEditFunctionPropsRenamePaths:!1,canToggleSuspense:!1,canViewSource:$t===1||$t===5,hasLegacyContext:!0,displayName:lt,type:$t,key:Dt!=null?Dt:null,context:_n,hooks:null,props:c0,state:a0,owners:Bn,source:ri,rootType:null,rendererPackageName:null,rendererVersion:null}}return{cleanup:function(){De!==null&&(U.Component?xs(U.Component.Mixin,De):xs(U.Reconciler,De)),De=null},copyElementPath:function(ze,Xe){var Fe=gr(ze);Fe!==null&&Mo(gi(Fe,Xe))},deletePath:function(ze,Xe,Fe,lt){var Dt=re.get(Xe);if(Dt!=null){var $t=Dt._instance;if($t!=null)switch(ze){case"context":Su($t.context,lt),l0($t);break;case"hooks":throw new Error("Hooks not supported by this renderer");case"props":var _n=Dt._currentElement;Dt._currentElement=j0(j0({},_n),{},{props:wr(_n.props,lt)}),l0($t);break;case"state":Su($t.state,lt),l0($t)}}},flushInitialOperations:function(){var ze=U.Mount._instancesByReactRootID||U.Mount._instancesByContainerID;for(var Xe in ze){var Fe=Ae(ze[Xe]);rt(Fe,0,Fe),pn(Fe)}},getBestMatchForTrackedPath:function(){return null},getDisplayNameForFiberID:function(ze){var Xe=re.get(ze);return Xe?Lo(Xe).displayName:null},getFiberIDForNative:de,getInstanceAndStyle:function(ze){var Xe=null,Fe=null,lt=re.get(ze);if(lt!=null){Xe=lt._instance||null;var Dt=lt._currentElement;Dt!=null&&Dt.props!=null&&(Fe=Dt.props.style||null)}return{instance:Xe,style:Fe}},findNativeNodesForFiberID:function(ze){var Xe=ue(ze);return Xe==null?null:[Xe]},getOwnersList:function(ze){return null},getPathForElement:function(ze){return null},getProfilingData:function(){throw new Error("getProfilingData not supported by this renderer")},handleCommitFiberRoot:function(){throw new Error("handleCommitFiberRoot not supported by this renderer")},handleCommitFiberUnmount:function(){throw new Error("handleCommitFiberUnmount not supported by this renderer")},inspectElement:function(ze,Xe){Zt!==ze&&(Zt=ze,Nn={});var Fe=gr(ze);return Fe===null?{id:ze,type:"not-found"}:(Xe!=null&&function(lt){var Dt=Nn;lt.forEach(function($t){Dt[$t]||(Dt[$t]={}),Dt=Dt[$t]})}(Xe),function(lt){var Dt=re.get(lt);if(Dt!=null)switch(x0(Dt)){case 1:H.$r=Dt._instance;break;case 5:var $t=Dt._currentElement;if($t==null)return void console.warn('Could not find element with id "'.concat(lt,'"'));H.$r={props:$t.props,type:$t.type};break;default:H.$r=null}else console.warn('Could not find instance with id "'.concat(lt,'"'))}(ze),Fe.context=Fi(Fe.context,f0("context")),Fe.props=Fi(Fe.props,f0("props")),Fe.state=Fi(Fe.state,f0("state")),{id:ze,type:"full-data",value:Fe})},logElementToConsole:function(ze){var Xe=gr(ze);if(Xe!==null){var Fe=typeof console.groupCollapsed=="function";Fe&&console.groupCollapsed("[Click to expand] %c<".concat(Xe.displayName||"Component"," />"),"color: var(--dom-tag-name-color); font-weight: normal;"),Xe.props!==null&&console.log("Props:",Xe.props),Xe.state!==null&&console.log("State:",Xe.state),Xe.context!==null&&console.log("Context:",Xe.context);var lt=ue(ze);lt!==null&&console.log("Node:",lt),(window.chrome||/firefox/i.test(navigator.userAgent))&&console.log("Right-click any value to save it as a global variable for further inspection."),Fe&&console.groupEnd()}else console.warn('Could not find element with id "'.concat(ze,'"'))},overrideSuspense:function(){throw new Error("overrideSuspense not supported by this renderer")},overrideValueAtPath:function(ze,Xe,Fe,lt,Dt){var $t=re.get(Xe);if($t!=null){var _n=$t._instance;if(_n!=null)switch(ze){case"context":tl(_n.context,lt,Dt),l0(_n);break;case"hooks":throw new Error("Hooks not supported by this renderer");case"props":var Bn=$t._currentElement;$t._currentElement=j0(j0({},Bn),{},{props:ei(Bn.props,lt,Dt)}),l0(_n);break;case"state":tl(_n.state,lt,Dt),l0(_n)}}},renamePath:function(ze,Xe,Fe,lt,Dt){var $t=re.get(Xe);if($t!=null){var _n=$t._instance;if(_n!=null)switch(ze){case"context":el(_n.context,lt,Dt),l0(_n);break;case"hooks":throw new Error("Hooks not supported by this renderer");case"props":var Bn=$t._currentElement;$t._currentElement=j0(j0({},Bn),{},{props:kr(Bn.props,lt,Dt)}),l0(_n);break;case"state":el(_n.state,lt,Dt),l0(_n)}}},prepareViewAttributeSource:function(ze,Xe){var Fe=gr(ze);Fe!==null&&(window.$attribute=gi(Fe,Xe))},prepareViewElementSource:function(ze){var Xe=re.get(ze);if(Xe!=null){var Fe=Xe._currentElement;Fe!=null?H.$type=Fe.type:console.warn('Could not find element with id "'.concat(ze,'"'))}else console.warn('Could not find instance with id "'.concat(ze,'"'))},renderer:U,setTraceUpdatesEnabled:function(ze){},setTrackedPath:function(ze){},startProfiling:function(){},stopProfiling:function(){},storeAsGlobal:function(ze,Xe,Fe){var lt=gr(ze);if(lt!==null){var Dt=gi(lt,Xe),$t="$reactTemp".concat(Fe);window[$t]=Dt,console.log($t),console.log(Dt)}},updateComponentFilters:function(ze){}}}function Xn(R,P){var U=!1,H={bottom:0,left:0,right:0,top:0},ue=P[R];if(ue!=null){for(var re=0,fe=Object.keys(H);re<fe.length;re++)H[fe[re]]=ue;U=!0}var q=P[R+"Horizontal"];if(q!=null)H.left=q,H.right=q,U=!0;else{var de=P[R+"Left"];de!=null&&(H.left=de,U=!0);var Ae=P[R+"Right"];Ae!=null&&(H.right=Ae,U=!0);var qe=P[R+"End"];qe!=null&&(H.right=qe,U=!0);var $=P[R+"Start"];$!=null&&(H.left=$,U=!0)}var De=P[R+"Vertical"];if(De!=null)H.bottom=De,H.top=De,U=!0;else{var Pe=P[R+"Bottom"];Pe!=null&&(H.bottom=Pe,U=!0);var $e=P[R+"Top"];$e!=null&&(H.top=$e,U=!0)}return U?H:null}function Kn(R){return(Kn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P})(R)}function No(R,P,U){return P in R?Object.defineProperty(R,P,{value:U,enumerable:!0,configurable:!0,writable:!0}):R[P]=U,R}function Nu(R,P,U,H){R.addListener("NativeStyleEditor_measure",function(ue){var re=ue.id,fe=ue.rendererID;As(P,R,U,re,fe)}),R.addListener("NativeStyleEditor_renameAttribute",function(ue){var re=ue.id,fe=ue.rendererID,q=ue.oldName,de=ue.newName,Ae=ue.value;(function(qe,$,De,Pe,$e,rt){var ut,St=qe.getInstanceAndStyle({id:$,rendererID:De});if(!(!St||!St.style)){var _t,st=St.instance,It=St.style,pn=$e?(No(ut={},Pe,void 0),No(ut,$e,rt),ut):No({},Pe,void 0);if(st!==null&&typeof st.setNativeProps=="function"){var tn=tu.get($);tn?Object.assign(tn,pn):tu.set($,pn),st.setNativeProps({style:pn})}else if(Array.isArray(It)){var rr=It.length-1;Kn(It[rr])!=="object"||Array.isArray(It[rr])?qe.overrideValueAtPath({type:"props",id:$,rendererID:De,path:["style"],value:It.concat([pn])}):(delete(_t=Bu(It[rr]))[Pe],$e?_t[$e]=rt:_t[Pe]=void 0,qe.overrideValueAtPath({type:"props",id:$,rendererID:De,path:["style",rr],value:_t}))}else Kn(It)==="object"?(delete(_t=Bu(It))[Pe],$e?_t[$e]=rt:_t[Pe]=void 0,qe.overrideValueAtPath({type:"props",id:$,rendererID:De,path:["style"],value:_t})):qe.overrideValueAtPath({type:"props",id:$,rendererID:De,path:["style"],value:[It,pn]});qe.emit("hideNativeHighlight")}})(P,re,fe,q,de,Ae),setTimeout(function(){return As(P,R,U,re,fe)})}),R.addListener("NativeStyleEditor_setValue",function(ue){var re=ue.id,fe=ue.rendererID,q=ue.name,de=ue.value;(function(Ae,qe,$,De,Pe){var $e=Ae.getInstanceAndStyle({id:qe,rendererID:$});if(!(!$e||!$e.style)){var rt=$e.instance,ut=$e.style,St=No({},De,Pe);if(rt!==null&&typeof rt.setNativeProps=="function"){var _t=tu.get(qe);_t?Object.assign(_t,St):tu.set(qe,St),rt.setNativeProps({style:St})}else if(Array.isArray(ut)){var st=ut.length-1;Kn(ut[st])!=="object"||Array.isArray(ut[st])?Ae.overrideValueAtPath({type:"props",id:qe,rendererID:$,path:["style"],value:ut.concat([St])}):Ae.overrideValueAtPath({type:"props",id:qe,rendererID:$,path:["style",st,De],value:Pe})}else Ae.overrideValueAtPath({type:"props",id:qe,rendererID:$,path:["style"],value:[ut,St]});Ae.emit("hideNativeHighlight")}})(P,re,fe,q,de),setTimeout(function(){return As(P,R,U,re,fe)})}),R.send("isNativeStyleEditorSupported",{isSupported:!0,validAttributes:H})}var al={top:0,left:0,right:0,bottom:0},tu=new Map;function As(R,P,U,H,ue){var re=R.getInstanceAndStyle({id:H,rendererID:ue});if(re&&re.style){var fe=re.instance,q=U(re.style),de=tu.get(H);de!=null&&(q=Object.assign({},q,de)),fe&&typeof fe.measure=="function"?fe.measure(function(Ae,qe,$,De,Pe,$e){if(typeof Ae=="number"){var rt=q!=null&&Xn("margin",q)||al,ut=q!=null&&Xn("padding",q)||al;P.send("NativeStyleEditor_styleAndLayout",{id:H,layout:{x:Ae,y:qe,width:$,height:De,left:Pe,top:$e,margin:rt,padding:ut},style:q||null})}else P.send("NativeStyleEditor_styleAndLayout",{id:H,layout:null,style:q||null})}):P.send("NativeStyleEditor_styleAndLayout",{id:H,layout:null,style:q||null})}else P.send("NativeStyleEditor_styleAndLayout",{id:H,layout:null,style:null})}function Bu(R){var P={};for(var U in R)P[U]=R[U];return P}(function(R){if(R.hasOwnProperty("__REACT_DEVTOOLS_GLOBAL_HOOK__"))return null;var P=0,U=!1,H={},ue=new Map,re={},fe=new Map,q={rendererInterfaces:ue,listeners:re,renderers:fe,emit:function(de,Ae){re[de]&&re[de].map(function(qe){return qe(Ae)})},getFiberRoots:function(de){var Ae=H;return Ae[de]||(Ae[de]=new Set),Ae[de]},inject:function(de){var Ae=++P;fe.set(Ae,de);var qe=U?"deadcode":function(rt){try{if(typeof rt.version=="string")return rt.bundleType>0?"development":"production";var ut=Function.prototype.toString;if(rt.Mount&&rt.Mount._renderNewRootComponent){var St=ut.call(rt.Mount._renderNewRootComponent);return St.indexOf("function")!==0?"production":St.indexOf("storedMeasure")!==-1?"development":St.indexOf("should be a pure function")!==-1?St.indexOf("NODE_ENV")!==-1||St.indexOf("development")!==-1||St.indexOf("true")!==-1?"development":St.indexOf("nextElement")!==-1||St.indexOf("nextComponent")!==-1?"unminified":"development":St.indexOf("nextElement")!==-1||St.indexOf("nextComponent")!==-1?"unminified":"outdated"}}catch(_t){}return"production"}(de);try{var $=window.__REACT_DEVTOOLS_APPEND_COMPONENT_STACK__!==!1,De=window.__REACT_DEVTOOLS_BREAK_ON_CONSOLE_ERRORS__===!0;($||De)&&(Ri(de),Po({appendComponentStack:$,breakOnConsoleErrors:De}))}catch(rt){}var Pe=R.__REACT_DEVTOOLS_ATTACH__;if(typeof Pe=="function"){var $e=Pe(q,Ae,de,R);q.rendererInterfaces.set(Ae,$e)}return q.emit("renderer",{id:Ae,renderer:de,reactBuildType:qe}),Ae},on:function(de,Ae){re[de]||(re[de]=[]),re[de].push(Ae)},off:function(de,Ae){if(re[de]){var qe=re[de].indexOf(Ae);qe!==-1&&re[de].splice(qe,1),re[de].length||delete re[de]}},sub:function(de,Ae){return q.on(de,Ae),function(){return q.off(de,Ae)}},supportsFiber:!0,checkDCE:function(de){try{Function.prototype.toString.call(de).indexOf("^_^")>-1&&(U=!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(Ae){}},onCommitFiberUnmount:function(de,Ae){var qe=ue.get(de);qe!=null&&qe.handleCommitFiberUnmount(Ae)},onCommitFiberRoot:function(de,Ae,qe){var $=q.getFiberRoots(de),De=Ae.current,Pe=$.has(Ae),$e=De.memoizedState==null||De.memoizedState.element==null;Pe||$e?Pe&&$e&&$.delete(Ae):$.add(Ae);var rt=ue.get(de);rt!=null&&rt.handleCommitFiberRoot(Ae,qe)}};Object.defineProperty(R,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!1,enumerable:!1,get:function(){return q}})})(window);var k0=window.__REACT_DEVTOOLS_GLOBAL_HOOK__,nu=[{type:1,value:7,isEnabled:!0}];function Ar(R){if(k0!=null){var P=R||{},U=P.host,H=U===void 0?"localhost":U,ue=P.nativeStyleEditorValidAttributes,re=P.useHttps,fe=re!==void 0&&re,q=P.port,de=q===void 0?8097:q,Ae=P.websocket,qe=P.resolveRNStyle,$=qe===void 0?null:qe,De=P.isAppActive,Pe=fe?"wss":"ws",$e=null;if((De===void 0?function(){return!0}:De)()){var rt=null,ut=[],St=Pe+"://"+H+":"+de,_t=Ae||new window.WebSocket(St);_t.onclose=function(){rt!==null&&rt.emit("shutdown"),st()},_t.onerror=function(){st()},_t.onmessage=function(It){var pn;try{if(typeof It.data!="string")throw Error();pn=JSON.parse(It.data)}catch(tn){return void console.error("[React DevTools] Failed to parse JSON: "+It.data)}ut.forEach(function(tn){try{tn(pn)}catch(rr){throw console.log("[React DevTools] Error calling listener",pn),console.log("error:",rr),rr}})},_t.onopen=function(){(rt=new po({listen:function(Zt){return ut.push(Zt),function(){var Nn=ut.indexOf(Zt);Nn>=0&&ut.splice(Nn,1)}},send:function(Zt,Nn,f0){_t.readyState===_t.OPEN?_t.send(JSON.stringify({event:Zt,payload:Nn})):(rt!==null&&rt.shutdown(),st())}})).addListener("inspectElement",function(Zt){var Nn=Zt.id,f0=Zt.rendererID,gr=It.rendererInterfaces[f0];if(gr!=null){var ze=gr.findNativeNodesForFiberID(Nn);ze!=null&&ze[0]!=null&&It.emit("showNativeHighlight",ze[0])}}),rt.addListener("updateComponentFilters",function(Zt){nu=Zt}),window.__REACT_DEVTOOLS_COMPONENT_FILTERS__==null&&rt.send("overrideComponentFilters",nu);var It=new T0(rt);if(It.addListener("shutdown",function(){k0.emit("shutdown")}),function(Zt,Nn,f0){if(Zt==null)return function(){};var gr=[Zt.sub("renderer-attached",function(Fe){var lt=Fe.id,Dt=(Fe.renderer,Fe.rendererInterface);Nn.setRendererInterface(lt,Dt),Dt.flushInitialOperations()}),Zt.sub("unsupported-renderer-version",function(Fe){Nn.onUnsupportedRenderer(Fe)}),Zt.sub("operations",Nn.onHookOperations),Zt.sub("traceUpdates",Nn.onTraceUpdates)],ze=function(Fe,lt){var Dt=Zt.rendererInterfaces.get(Fe);Dt==null&&(typeof lt.findFiberByHostInstance=="function"?Dt=Ql(Zt,Fe,lt,f0):lt.ComponentTree&&(Dt=ef(Zt,Fe,lt,f0)),Dt!=null&&Zt.rendererInterfaces.set(Fe,Dt)),Dt!=null?Zt.emit("renderer-attached",{id:Fe,renderer:lt,rendererInterface:Dt}):Zt.emit("unsupported-renderer-version",Fe)};Zt.renderers.forEach(function(Fe,lt){ze(lt,Fe)}),gr.push(Zt.sub("renderer",function(Fe){var lt=Fe.id,Dt=Fe.renderer;ze(lt,Dt)})),Zt.emit("react-devtools",Nn),Zt.reactDevtoolsAgent=Nn;var Xe=function(){gr.forEach(function(Fe){return Fe()}),Zt.rendererInterfaces.forEach(function(Fe){Fe.cleanup()}),Zt.reactDevtoolsAgent=null};Nn.addListener("shutdown",Xe),gr.push(function(){Nn.removeListener("shutdown",Xe)})}(k0,It,window),$!=null||k0.resolveRNStyle!=null)Nu(rt,It,$||k0.resolveRNStyle,ue||k0.nativeStyleEditorValidAttributes||null);else{var pn,tn,rr=function(){rt!==null&&Nu(rt,It,pn,tn)};k0.hasOwnProperty("resolveRNStyle")||Object.defineProperty(k0,"resolveRNStyle",{enumerable:!1,get:function(){return pn},set:function(Zt){pn=Zt,rr()}}),k0.hasOwnProperty("nativeStyleEditorValidAttributes")||Object.defineProperty(k0,"nativeStyleEditorValidAttributes",{enumerable:!1,get:function(){return tn},set:function(Zt){tn=Zt,rr()}})}}}else st()}function st(){$e===null&&($e=setTimeout(function(){return Ar(R)},2e3))}}}])})});var VE=et(HE=>{"use strict";Object.defineProperty(HE,"__esModule",{value:!0});WE();var eL=qE();eL.connectToDevTools()});var XE=et(pa=>{"use strict";var GE=pa&&pa.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(pa,"__esModule",{value:!0});var bE=j_(),tL=GE(X8()),YE=GE(sc()),$i=sy();process.env.DEV==="true"&&VE();var $E=o=>{o==null||o.unsetMeasureFunc(),o==null||o.freeRecursive()};pa.default=tL.default({schedulePassiveEffects:bE.unstable_scheduleCallback,cancelPassiveEffects:bE.unstable_cancelCallback,now:Date.now,getRootHostContext:()=>({isInsideText:!1}),prepareForCommit:()=>{},resetAfterCommit:o=>{if(o.isStaticDirty){o.isStaticDirty=!1,typeof o.onImmediateRender=="function"&&o.onImmediateRender();return}typeof o.onRender=="function"&&o.onRender()},getChildHostContext:(o,u)=>{let c=o.isInsideText,d=u==="ink-text"||u==="ink-virtual-text";return c===d?o:{isInsideText:d}},shouldSetTextContent:()=>!1,createInstance:(o,u,c,d)=>{if(d.isInsideText&&o==="ink-box")throw new Error("<Box> can\u2019t be nested inside <Text> component");let g=o==="ink-text"&&d.isInsideText?"ink-virtual-text":o,t=$i.createNode(g);for(let[x,A]of Object.entries(u))x!=="children"&&(x==="style"?$i.setStyle(t,A):x==="internal_transform"?t.internal_transform=A:x==="internal_static"?t.internal_static=!0:$i.setAttribute(t,x,A));return t},createTextInstance:(o,u,c)=>{if(!c.isInsideText)throw new Error(`Text string "${o}" must be rendered inside <Text> component`);return $i.createTextNode(o)},resetTextContent:()=>{},hideTextInstance:o=>{$i.setTextNodeValue(o,"")},unhideTextInstance:(o,u)=>{$i.setTextNodeValue(o,u)},getPublicInstance:o=>o,hideInstance:o=>{var u;(u=o.yogaNode)===null||u===void 0||u.setDisplay(YE.default.DISPLAY_NONE)},unhideInstance:o=>{var u;(u=o.yogaNode)===null||u===void 0||u.setDisplay(YE.default.DISPLAY_FLEX)},appendInitialChild:$i.appendChildNode,appendChild:$i.appendChildNode,insertBefore:$i.insertBeforeNode,finalizeInitialChildren:(o,u,c,d)=>(o.internal_static&&(d.isStaticDirty=!0,d.staticNode=o),!1),supportsMutation:!0,appendChildToContainer:$i.appendChildNode,insertInContainerBefore:$i.insertBeforeNode,removeChildFromContainer:(o,u)=>{$i.removeChildNode(o,u),$E(u.yogaNode)},prepareUpdate:(o,u,c,d,g)=>{o.internal_static&&(g.isStaticDirty=!0);let t={},x=Object.keys(d);for(let A of x)if(d[A]!==c[A]){if(A==="style"&&typeof d.style=="object"&&typeof c.style=="object"){let E=d.style,L=c.style,B=Object.keys(E);for(let W of B){if(W==="borderStyle"||W==="borderColor"){if(typeof t.style!="object"){let X={};t.style=X}t.style.borderStyle=E.borderStyle,t.style.borderColor=E.borderColor}if(E[W]!==L[W]){if(typeof t.style!="object"){let X={};t.style=X}t.style[W]=E[W]}}continue}t[A]=d[A]}return t},commitUpdate:(o,u)=>{for(let[c,d]of Object.entries(u))c!=="children"&&(c==="style"?$i.setStyle(o,d):c==="internal_transform"?o.internal_transform=d:c==="internal_static"?o.internal_static=!0:$i.setAttribute(o,c,d))},commitTextUpdate:(o,u,c)=>{$i.setTextNodeValue(o,c)},removeChild:(o,u)=>{$i.removeChildNode(o,u),$E(u.yogaNode)}})});var JE=et((KU,KE)=>{"use strict";KE.exports=(o,u=1,c)=>{if(c=Qr({indent:" ",includeEmptyLines:!1},c),typeof o!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof o}\``);if(typeof u!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof u}\``);if(typeof c.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof c.indent}\``);if(u===0)return o;let d=c.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return o.replace(d,c.indent.repeat(u))}});var QE=et(ha=>{"use strict";var nL=ha&&ha.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(ha,"__esModule",{value:!0});var wh=nL(sc());ha.default=o=>o.getComputedWidth()-o.getComputedPadding(wh.default.EDGE_LEFT)-o.getComputedPadding(wh.default.EDGE_RIGHT)-o.getComputedBorder(wh.default.EDGE_LEFT)-o.getComputedBorder(wh.default.EDGE_RIGHT)});var e6=et((QU,ZE)=>{ZE.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 n6=et((ZU,xy)=>{"use strict";var t6=e6();xy.exports=t6;xy.exports.default=t6});var i6=et((ej,r6)=>{"use strict";r6.exports=(o,u=process.argv)=>{let c=o.startsWith("-")?"":o.length===1?"-":"--",d=u.indexOf(c+o),g=u.indexOf("--");return d!==-1&&(g===-1||d<g)}});var s6=et((tj,o6)=>{"use strict";var rL=require("os"),u6=require("tty"),Eu=i6(),{env:Q0}=process,Lf;Eu("no-color")||Eu("no-colors")||Eu("color=false")||Eu("color=never")?Lf=0:(Eu("color")||Eu("colors")||Eu("color=true")||Eu("color=always"))&&(Lf=1);"FORCE_COLOR"in Q0&&(Q0.FORCE_COLOR==="true"?Lf=1:Q0.FORCE_COLOR==="false"?Lf=0:Lf=Q0.FORCE_COLOR.length===0?1:Math.min(parseInt(Q0.FORCE_COLOR,10),3));function ky(o){return o===0?!1:{level:o,hasBasic:!0,has256:o>=2,has16m:o>=3}}function Ay(o,u){if(Lf===0)return 0;if(Eu("color=16m")||Eu("color=full")||Eu("color=truecolor"))return 3;if(Eu("color=256"))return 2;if(o&&!u&&Lf===void 0)return 0;let c=Lf||0;if(Q0.TERM==="dumb")return c;if(process.platform==="win32"){let d=rL.release().split(".");return Number(d[0])>=10&&Number(d[2])>=10586?Number(d[2])>=14931?3:2:1}if("CI"in Q0)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(d=>d in Q0)||Q0.CI_NAME==="codeship"?1:c;if("TEAMCITY_VERSION"in Q0)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Q0.TEAMCITY_VERSION)?1:0;if("GITHUB_ACTIONS"in Q0)return 1;if(Q0.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Q0){let d=parseInt((Q0.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Q0.TERM_PROGRAM){case"iTerm.app":return d>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Q0.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Q0.TERM)||"COLORTERM"in Q0?1:c}function iL(o){let u=Ay(o,o&&o.isTTY);return ky(u)}o6.exports={supportsColor:iL,stdout:ky(Ay(!0,u6.isatty(1))),stderr:ky(Ay(!0,u6.isatty(2)))}});var f6=et((nj,l6)=>{"use strict";var oL=(o,u,c)=>{let d=o.indexOf(u);if(d===-1)return o;let g=u.length,t=0,x="";do x+=o.substr(t,d-t)+u+c,t=d+g,d=o.indexOf(u,t);while(d!==-1);return x+=o.substr(t),x},uL=(o,u,c,d)=>{let g=0,t="";do{let x=o[d-1]==="\r";t+=o.substr(g,(x?d-1:d)-g)+u+(x?`\r
`:`
`)+c,g=d+1,d=o.indexOf(`
`,g)}while(d!==-1);return t+=o.substr(g),t};l6.exports={stringReplaceAll:oL,stringEncaseCRLFWithFirstIndex:uL}});var h6=et((rj,c6)=>{"use strict";var sL=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,a6=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,lL=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,fL=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,cL=new Map([["n",`
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a","\x07"]]);function d6(o){let u=o[0]==="u",c=o[1]==="{";return u&&!c&&o.length===5||o[0]==="x"&&o.length===3?String.fromCharCode(parseInt(o.slice(1),16)):u&&c?String.fromCodePoint(parseInt(o.slice(2,-1),16)):cL.get(o)||o}function aL(o,u){let c=[],d=u.trim().split(/\s*,\s*/g),g;for(let t of d){let x=Number(t);if(!Number.isNaN(x))c.push(x);else if(g=t.match(lL))c.push(g[2].replace(fL,(A,k,E)=>k?d6(k):E));else throw new Error(`Invalid Chalk template style argument: ${t} (in style '${o}')`)}return c}function dL(o){a6.lastIndex=0;let u=[],c;for(;(c=a6.exec(o))!==null;){let d=c[1];if(c[2]){let g=aL(d,c[2]);u.push([d].concat(g))}else u.push([d])}return u}function p6(o,u){let c={};for(let g of u)for(let t of g.styles)c[t[0]]=g.inverse?null:t.slice(1);let d=o;for(let[g,t]of Object.entries(c))if(!!Array.isArray(t)){if(!(g in d))throw new Error(`Unknown Chalk style: ${g}`);d=t.length>0?d[g](...t):d[g]}return d}c6.exports=(o,u)=>{let c=[],d=[],g=[];if(u.replace(sL,(t,x,A,k,E,L)=>{if(x)g.push(d6(x));else if(k){let B=g.join("");g=[],d.push(c.length===0?B:p6(o,c)(B)),c.push({inverse:A,styles:dL(k)})}else if(E){if(c.length===0)throw new Error("Found extraneous } in Chalk template literal");d.push(p6(o,c)(g.join(""))),g=[],c.pop()}else g.push(L)}),d.push(g.join("")),c.length>0){let t=`Chalk template literal is missing ${c.length} closing bracket${c.length===1?"":"s"} (\`}\`)`;throw new Error(t)}return d.join("")}});var Ry=et((ij,m6)=>{"use strict";var ma=fh(),{stdout:Oy,stderr:Iy}=s6(),{stringReplaceAll:pL,stringEncaseCRLFWithFirstIndex:hL}=f6(),{isArray:Dh}=Array,v6=["ansi","ansi","ansi256","ansi16m"],g1=Object.create(null),mL=(o,u={})=>{if(u.level&&!(Number.isInteger(u.level)&&u.level>=0&&u.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let c=Oy?Oy.level:0;o.level=u.level===void 0?c:u.level},g6=class{constructor(u){return _6(u)}},_6=o=>{let u={};return mL(u,o),u.template=(...c)=>y6(u.template,...c),Object.setPrototypeOf(u,Eh.prototype),Object.setPrototypeOf(u.template,u),u.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},u.template.Instance=g6,u.template};function Eh(o){return _6(o)}for(let[o,u]of Object.entries(ma))g1[o]={get(){let c=Ch(this,My(u.open,u.close,this._styler),this._isEmpty);return Object.defineProperty(this,o,{value:c}),c}};g1.visible={get(){let o=Ch(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:o}),o}};var w6=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let o of w6)g1[o]={get(){let{level:u}=this;return function(...c){let d=My(ma.color[v6[u]][o](...c),ma.color.close,this._styler);return Ch(this,d,this._isEmpty)}}};for(let o of w6){let u="bg"+o[0].toUpperCase()+o.slice(1);g1[u]={get(){let{level:c}=this;return function(...d){let g=My(ma.bgColor[v6[c]][o](...d),ma.bgColor.close,this._styler);return Ch(this,g,this._isEmpty)}}}}var vL=Object.defineProperties(()=>{},ns(Qr({},g1),{level:{enumerable:!0,get(){return this._generator.level},set(o){this._generator.level=o}}})),My=(o,u,c)=>{let d,g;return c===void 0?(d=o,g=u):(d=c.openAll+o,g=u+c.closeAll),{open:o,close:u,openAll:d,closeAll:g,parent:c}},Ch=(o,u,c)=>{let d=(...g)=>Dh(g[0])&&Dh(g[0].raw)?D6(d,y6(d,...g)):D6(d,g.length===1?""+g[0]:g.join(" "));return Object.setPrototypeOf(d,vL),d._generator=o,d._styler=u,d._isEmpty=c,d},D6=(o,u)=>{if(o.level<=0||!u)return o._isEmpty?"":u;let c=o._styler;if(c===void 0)return u;let{openAll:d,closeAll:g}=c;if(u.indexOf("")!==-1)for(;c!==void 0;)u=pL(u,c.close,c.open),c=c.parent;let t=u.indexOf(`
`);return t!==-1&&(u=hL(u,g,d,t)),d+u+g},Fy,y6=(o,...u)=>{let[c]=u;if(!Dh(c)||!Dh(c.raw))return u.join(" ");let d=u.slice(1),g=[c.raw[0]];for(let t=1;t<c.length;t++)g.push(String(d[t-1]).replace(/[{}\\]/g,"\\$&"),String(c.raw[t]));return Fy===void 0&&(Fy=h6()),Fy(o,g.join(""))};Object.defineProperties(Eh.prototype,g1);var Sh=Eh();Sh.supportsColor=Oy;Sh.stderr=Eh({level:Iy?Iy.level:0});Sh.stderr.supportsColor=Iy;m6.exports=Sh});var Py=et(va=>{"use strict";var gL=va&&va.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(va,"__esModule",{value:!0});var ga=gL(Ry()),_L=/^(rgb|hsl|hsv|hwb)\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/,yL=/^(ansi|ansi256)\(\s?(\d+)\s?\)$/,Th=(o,u)=>u==="foreground"?o:"bg"+o[0].toUpperCase()+o.slice(1);va.default=(o,u,c)=>{if(!u)return o;if(u in ga.default){let g=Th(u,c);return ga.default[g](o)}if(u.startsWith("#")){let g=Th("hex",c);return ga.default[g](u)(o)}if(u.startsWith("ansi")){let g=yL.exec(u);if(!g)return o;let t=Th(g[1],c),x=Number(g[2]);return ga.default[t](x)(o)}if(u.startsWith("rgb")||u.startsWith("hsl")||u.startsWith("hsv")||u.startsWith("hwb")){let g=_L.exec(u);if(!g)return o;let t=Th(g[1],c),x=Number(g[2]),A=Number(g[3]),k=Number(g[4]);return ga.default[t](x,A,k)(o)}return o}});var C6=et(ya=>{"use strict";var E6=ya&&ya.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(ya,"__esModule",{value:!0});var wL=E6(n6()),Ly=E6(Py());ya.default=(o,u,c,d)=>{if(typeof c.style.borderStyle=="string"){let g=c.yogaNode.getComputedWidth(),t=c.yogaNode.getComputedHeight(),x=c.style.borderColor,A=wL.default[c.style.borderStyle],k=Ly.default(A.topLeft+A.horizontal.repeat(g-2)+A.topRight,x,"foreground"),E=(Ly.default(A.vertical,x,"foreground")+`
`).repeat(t-2),L=Ly.default(A.bottomLeft+A.horizontal.repeat(g-2)+A.bottomRight,x,"foreground");d.write(o,u,k,{transformers:[]}),d.write(o,u+1,E,{transformers:[]}),d.write(o+g-1,u+1,E,{transformers:[]}),d.write(o,u+t-1,L,{transformers:[]})}}});var T6=et(wa=>{"use strict";var ac=wa&&wa.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(wa,"__esModule",{value:!0});var DL=ac(sc()),EL=ac(X_()),CL=ac(JE()),SL=ac(iy()),TL=ac(QE()),xL=ac(uy()),kL=ac(C6()),AL=(o,u)=>{var c;let d=(c=o.childNodes[0])===null||c===void 0?void 0:c.yogaNode;if(d){let g=d.getComputedLeft(),t=d.getComputedTop();u=`
`.repeat(t)+CL.default(u,g)}return u},S6=(o,u,c)=>{var d;let{offsetX:g=0,offsetY:t=0,transformers:x=[],skipStaticElements:A}=c;if(A&&o.internal_static)return;let{yogaNode:k}=o;if(k){if(k.getDisplay()===DL.default.DISPLAY_NONE)return;let E=g+k.getComputedLeft(),L=t+k.getComputedTop(),B=x;if(typeof o.internal_transform=="function"&&(B=[o.internal_transform,...x]),o.nodeName==="ink-text"){let W=xL.default(o);if(W.length>0){let X=EL.default(W),m=TL.default(k);if(X>m){let me=(d=o.style.textWrap)!==null&&d!==void 0?d:"wrap";W=SL.default(W,m,me)}W=AL(o,W),u.write(E,L,W,{transformers:B})}return}if(o.nodeName==="ink-box"&&kL.default(E,L,o,u),o.nodeName==="ink-root"||o.nodeName==="ink-box")for(let W of o.childNodes)S6(W,u,{offsetX:E,offsetY:L,transformers:B,skipStaticElements:A})}};wa.default=S6});var k6=et((lj,x6)=>{"use strict";x6.exports=o=>{o=Object.assign({onlyFirst:!1},o);let u=["[\\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(u,o.onlyFirst?void 0:"g")}});var O6=et((fj,Ny)=>{"use strict";var OL=k6(),A6=o=>typeof o=="string"?o.replace(OL(),""):o;Ny.exports=A6;Ny.exports.default=A6});var F6=et((cj,I6)=>{"use strict";var M6="[\uD800-\uDBFF][\uDC00-\uDFFF]";I6.exports=o=>o&&o.exact?new RegExp(`^${M6}$`):new RegExp(M6,"g")});var P6=et((aj,By)=>{"use strict";var IL=O6(),ML=F6(),R6=o=>IL(o).replace(ML()," ").length;By.exports=R6;By.exports.default=R6});var U6=et(Da=>{"use strict";var L6=Da&&Da.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Da,"__esModule",{value:!0});var N6=L6(ny()),FL=L6(P6()),B6=class{constructor(u){this.writes=[];let{width:c,height:d}=u;this.width=c,this.height=d}write(u,c,d,g){let{transformers:t}=g;!d||this.writes.push({x:u,y:c,text:d,transformers:t})}get(){let u=[];for(let d=0;d<this.height;d++)u.push(" ".repeat(this.width));for(let d of this.writes){let{x:g,y:t,text:x,transformers:A}=d,k=x.split(`
`),E=0;for(let L of k){let B=u[t+E];if(!B)continue;let W=FL.default(L);for(let X of A)L=X(L);u[t+E]=N6.default(B,0,g)+L+N6.default(B,g+W),E++}}return{output:u.map(d=>d.trimRight()).join(`
`),height:u.length}}};Da.default=B6});var W6=et(Ea=>{"use strict";var Uy=Ea&&Ea.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Ea,"__esModule",{value:!0});var RL=Uy(sc()),j6=Uy(T6()),z6=Uy(U6());Ea.default=(o,u)=>{var c;if(o.yogaNode.setWidth(u),o.yogaNode){o.yogaNode.calculateLayout(void 0,void 0,RL.default.DIRECTION_LTR);let d=new z6.default({width:o.yogaNode.getComputedWidth(),height:o.yogaNode.getComputedHeight()});j6.default(o,d,{skipStaticElements:!0});let g;((c=o.staticNode)===null||c===void 0?void 0:c.yogaNode)&&(g=new z6.default({width:o.staticNode.yogaNode.getComputedWidth(),height:o.staticNode.yogaNode.getComputedHeight()}),j6.default(o.staticNode,g,{skipStaticElements:!1}));let{output:t,height:x}=d.get();return{output:t,outputHeight:x,staticOutput:g?`${g.get().output}
`:""}}return{output:"",outputHeight:0,staticOutput:""}}});var G6=et((hj,q6)=>{"use strict";var H6=require("stream"),V6=["assert","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],jy={},PL=o=>{let u=new H6.PassThrough,c=new H6.PassThrough;u.write=g=>o("stdout",g),c.write=g=>o("stderr",g);let d=new console.Console(u,c);for(let g of V6)jy[g]=console[g],console[g]=d[g];return()=>{for(let g of V6)console[g]=jy[g];jy={}}};q6.exports=PL});var Wy=et(zy=>{"use strict";Object.defineProperty(zy,"__esModule",{value:!0});zy.default=new WeakMap});var Hy=et(qy=>{"use strict";Object.defineProperty(qy,"__esModule",{value:!0});var LL=Sr(),b6=LL.createContext({exit:()=>{}});b6.displayName="InternalAppContext";qy.default=b6});var Gy=et(Vy=>{"use strict";Object.defineProperty(Vy,"__esModule",{value:!0});var NL=Sr(),Y6=NL.createContext({stdin:void 0,setRawMode:()=>{},isRawModeSupported:!1,internal_exitOnCtrlC:!0});Y6.displayName="InternalStdinContext";Vy.default=Y6});var Yy=et(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0});var BL=Sr(),$6=BL.createContext({stdout:void 0,write:()=>{}});$6.displayName="InternalStdoutContext";by.default=$6});var Xy=et($y=>{"use strict";Object.defineProperty($y,"__esModule",{value:!0});var UL=Sr(),X6=UL.createContext({stderr:void 0,write:()=>{}});X6.displayName="InternalStderrContext";$y.default=X6});var xh=et(Ky=>{"use strict";Object.defineProperty(Ky,"__esModule",{value:!0});var jL=Sr(),K6=jL.createContext({activeId:void 0,add:()=>{},remove:()=>{},activate:()=>{},deactivate:()=>{},enableFocus:()=>{},disableFocus:()=>{},focusNext:()=>{},focusPrevious:()=>{}});K6.displayName="InternalFocusContext";Ky.default=K6});var Q6=et((Dj,J6)=>{"use strict";var zL=/[|\\{}()[\]^$+*?.-]/g;J6.exports=o=>{if(typeof o!="string")throw new TypeError("Expected a string");return o.replace(zL,"\\$&")}});var n5=et((Ej,Z6)=>{"use strict";var WL=Q6(),e5=[].concat(require("module").builtinModules,"bootstrap_node","node").map(o=>new RegExp(`(?:\\(${o}\\.js:\\d+:\\d+\\)$|^\\s*at ${o}\\.js:\\d+:\\d+$)`));e5.push(/\(internal\/[^:]+:\d+:\d+\)$/,/\s*at internal\/[^:]+:\d+:\d+$/,/\/\.node-spawn-wrap-\w+-\w+\/node:\d+:\d+\)?$/);var kh=class{constructor(u){u=Qr({ignoredPackages:[]},u),"internals"in u||(u.internals=kh.nodeInternals()),"cwd"in u||(u.cwd=process.cwd()),this._cwd=u.cwd.replace(/\\/g,"/"),this._internals=[].concat(u.internals,qL(u.ignoredPackages)),this._wrapCallSite=u.wrapCallSite||!1}static nodeInternals(){return[...e5]}clean(u,c=0){c=" ".repeat(c),Array.isArray(u)||(u=u.split(`
`)),!/^\s*at /.test(u[0])&&/^\s*at /.test(u[1])&&(u=u.slice(1));let d=!1,g=null,t=[];return u.forEach(x=>{if(x=x.replace(/\\/g,"/"),this._internals.some(k=>k.test(x)))return;let A=/^\s*at /.test(x);d?x=x.trimEnd().replace(/^(\s+)at /,"$1"):(x=x.trim(),A&&(x=x.slice(3))),x=x.replace(`${this._cwd}/`,""),x&&(A?(g&&(t.push(g),g=null),t.push(x)):(d=!0,g=x))}),t.map(x=>`${c}${x}
`).join("")}captureString(u,c=this.captureString){typeof u=="function"&&(c=u,u=Infinity);let{stackTraceLimit:d}=Error;u&&(Error.stackTraceLimit=u);let g={};Error.captureStackTrace(g,c);let{stack:t}=g;return Error.stackTraceLimit=d,this.clean(t)}capture(u,c=this.capture){typeof u=="function"&&(c=u,u=Infinity);let{prepareStackTrace:d,stackTraceLimit:g}=Error;Error.prepareStackTrace=(A,k)=>this._wrapCallSite?k.map(this._wrapCallSite):k,u&&(Error.stackTraceLimit=u);let t={};Error.captureStackTrace(t,c);let{stack:x}=t;return Object.assign(Error,{prepareStackTrace:d,stackTraceLimit:g}),x}at(u=this.at){let[c]=this.capture(1,u);if(!c)return{};let d={line:c.getLineNumber(),column:c.getColumnNumber()};t5(d,c.getFileName(),this._cwd),c.isConstructor()&&(d.constructor=!0),c.isEval()&&(d.evalOrigin=c.getEvalOrigin()),c.isNative()&&(d.native=!0);let g;try{g=c.getTypeName()}catch(A){}g&&g!=="Object"&&g!=="[object Object]"&&(d.type=g);let t=c.getFunctionName();t&&(d.function=t);let x=c.getMethodName();return x&&t!==x&&(d.method=x),d}parseLine(u){let c=u&&u.match(HL);if(!c)return null;let d=c[1]==="new",g=c[2],t=c[3],x=c[4],A=Number(c[5]),k=Number(c[6]),E=c[7],L=c[8],B=c[9],W=c[10]==="native",X=c[11]===")",m,me={};if(L&&(me.line=Number(L)),B&&(me.column=Number(B)),X&&E){let ye=0;for(let se=E.length-1;se>0;se--)if(E.charAt(se)===")")ye++;else if(E.charAt(se)==="("&&E.charAt(se-1)===" "&&(ye--,ye===-1&&E.charAt(se-1)===" ")){let Ee=E.slice(0,se-1);E=E.slice(se+1),g+=` (${Ee}`;break}}if(g){let ye=g.match(VL);ye&&(g=ye[1],m=ye[2])}return t5(me,E,this._cwd),d&&(me.constructor=!0),t&&(me.evalOrigin=t,me.evalLine=A,me.evalColumn=k,me.evalFile=x&&x.replace(/\\/g,"/")),W&&(me.native=!0),g&&(me.function=g),m&&g!==m&&(me.method=m),me}};function t5(o,u,c){u&&(u=u.replace(/\\/g,"/"),u.startsWith(`${c}/`)&&(u=u.slice(c.length+1)),o.file=u)}function qL(o){if(o.length===0)return[];let u=o.map(c=>WL(c));return new RegExp(`[/\\\\]node_modules[/\\\\](?:${u.join("|")})[/\\\\][^:]+:\\d+:\\d+`)}var HL=new RegExp("^(?:\\s*at )?(?:(new) )?(?:(.*?) \\()?(?:eval at ([^ ]+) \\((.+?):(\\d+):(\\d+)\\), )?(?:(.+?):(\\d+):(\\d+)|(native))(\\)?)$"),VL=/^(.*?) \[as (.*?)\]$/;Z6.exports=kh});var i5=et((Cj,r5)=>{"use strict";r5.exports=(o,u)=>o.replace(/^\t+/gm,c=>" ".repeat(c.length*(u||2)))});var u5=et((Sj,o5)=>{"use strict";var bL=i5(),YL=(o,u)=>{let c=[],d=o-u,g=o+u;for(let t=d;t<=g;t++)c.push(t);return c};o5.exports=(o,u,c)=>{if(typeof o!="string")throw new TypeError("Source code is missing.");if(!u||u<1)throw new TypeError("Line number must start from `1`.");if(o=bL(o).split(/\r?\n/),!(u>o.length))return c=Qr({around:3},c),YL(u,c.around).filter(d=>o[d-1]!==void 0).map(d=>({line:d,value:o[d-1]}))}});var Ah=et(us=>{"use strict";var $L=us&&us.__createBinding||(Object.create?function(o,u,c,d){d===void 0&&(d=c),Object.defineProperty(o,d,{enumerable:!0,get:function(){return u[c]}})}:function(o,u,c,d){d===void 0&&(d=c),o[d]=u[c]}),XL=us&&us.__setModuleDefault||(Object.create?function(o,u){Object.defineProperty(o,"default",{enumerable:!0,value:u})}:function(o,u){o.default=u}),KL=us&&us.__importStar||function(o){if(o&&o.__esModule)return o;var u={};if(o!=null)for(var c in o)c!=="default"&&Object.hasOwnProperty.call(o,c)&&$L(u,o,c);return XL(u,o),u},JL=us&&us.__rest||function(o,u){var c={};for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&u.indexOf(d)<0&&(c[d]=o[d]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,d=Object.getOwnPropertySymbols(o);g<d.length;g++)u.indexOf(d[g])<0&&Object.prototype.propertyIsEnumerable.call(o,d[g])&&(c[d[g]]=o[d[g]]);return c};Object.defineProperty(us,"__esModule",{value:!0});var s5=KL(Sr()),Jy=s5.forwardRef((o,u)=>{var{children:c}=o,d=JL(o,["children"]);let g=Object.assign(Object.assign({},d),{marginLeft:d.marginLeft||d.marginX||d.margin||0,marginRight:d.marginRight||d.marginX||d.margin||0,marginTop:d.marginTop||d.marginY||d.margin||0,marginBottom:d.marginBottom||d.marginY||d.margin||0,paddingLeft:d.paddingLeft||d.paddingX||d.padding||0,paddingRight:d.paddingRight||d.paddingX||d.padding||0,paddingTop:d.paddingTop||d.paddingY||d.padding||0,paddingBottom:d.paddingBottom||d.paddingY||d.padding||0});return s5.default.createElement("ink-box",{ref:u,style:g},c)});Jy.displayName="Box";Jy.defaultProps={flexDirection:"row",flexGrow:0,flexShrink:1};us.default=Jy});var e3=et(Ca=>{"use strict";var Qy=Ca&&Ca.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Ca,"__esModule",{value:!0});var QL=Qy(Sr()),_1=Qy(Ry()),l5=Qy(Py()),Zy=({color:o,backgroundColor:u,dimColor:c,bold:d,italic:g,underline:t,strikethrough:x,inverse:A,wrap:k,children:E})=>{if(E==null)return null;let L=B=>(c&&(B=_1.default.dim(B)),o&&(B=l5.default(B,o,"foreground")),u&&(B=l5.default(B,u,"background")),d&&(B=_1.default.bold(B)),g&&(B=_1.default.italic(B)),t&&(B=_1.default.underline(B)),x&&(B=_1.default.strikethrough(B)),A&&(B=_1.default.inverse(B)),B);return QL.default.createElement("ink-text",{style:{flexGrow:0,flexShrink:1,flexDirection:"row",textWrap:k},internal_transform:L},E)};Zy.displayName="Text";Zy.defaultProps={dimColor:!1,bold:!1,italic:!1,underline:!1,strikethrough:!1,wrap:"wrap"};Ca.default=Zy});var d5=et(ss=>{"use strict";var ZL=ss&&ss.__createBinding||(Object.create?function(o,u,c,d){d===void 0&&(d=c),Object.defineProperty(o,d,{enumerable:!0,get:function(){return u[c]}})}:function(o,u,c,d){d===void 0&&(d=c),o[d]=u[c]}),eN=ss&&ss.__setModuleDefault||(Object.create?function(o,u){Object.defineProperty(o,"default",{enumerable:!0,value:u})}:function(o,u){o.default=u}),tN=ss&&ss.__importStar||function(o){if(o&&o.__esModule)return o;var u={};if(o!=null)for(var c in o)c!=="default"&&Object.hasOwnProperty.call(o,c)&&ZL(u,o,c);return eN(u,o),u},Sa=ss&&ss.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(ss,"__esModule",{value:!0});var f5=tN(require("fs")),Z0=Sa(Sr()),c5=Sa(n5()),nN=Sa(u5()),$l=Sa(Ah()),Xs=Sa(e3()),a5=new c5.default({cwd:process.cwd(),internals:c5.default.nodeInternals()}),rN=({error:o})=>{let u=o.stack?o.stack.split(`
`).slice(1):void 0,c=u?a5.parseLine(u[0]):void 0,d,g=0;if((c==null?void 0:c.file)&&(c==null?void 0:c.line)&&f5.existsSync(c.file)){let t=f5.readFileSync(c.file,"utf8");if(d=nN.default(t,c.line),d)for(let{line:x}of d)g=Math.max(g,String(x).length)}return Z0.default.createElement($l.default,{flexDirection:"column",padding:1},Z0.default.createElement($l.default,null,Z0.default.createElement(Xs.default,{backgroundColor:"red",color:"white"}," ","ERROR"," "),Z0.default.createElement(Xs.default,null," ",o.message)),c&&Z0.default.createElement($l.default,{marginTop:1},Z0.default.createElement(Xs.default,{dimColor:!0},c.file,":",c.line,":",c.column)),c&&d&&Z0.default.createElement($l.default,{marginTop:1,flexDirection:"column"},d.map(({line:t,value:x})=>Z0.default.createElement($l.default,{key:t},Z0.default.createElement($l.default,{width:g+1},Z0.default.createElement(Xs.default,{dimColor:t!==c.line,backgroundColor:t===c.line?"red":void 0,color:t===c.line?"white":void 0},String(t).padStart(g," "),":")),Z0.default.createElement(Xs.default,{key:t,backgroundColor:t===c.line?"red":void 0,color:t===c.line?"white":void 0}," "+x)))),o.stack&&Z0.default.createElement($l.default,{marginTop:1,flexDirection:"column"},o.stack.split(`
`).slice(1).map(t=>{let x=a5.parseLine(t);return x?Z0.default.createElement($l.default,{key:t},Z0.default.createElement(Xs.default,{dimColor:!0},"- "),Z0.default.createElement(Xs.default,{dimColor:!0,bold:!0},x.function),Z0.default.createElement(Xs.default,{dimColor:!0,color:"gray"}," ","(",x.file,":",x.line,":",x.column,")")):Z0.default.createElement($l.default,{key:t},Z0.default.createElement(Xs.default,{dimColor:!0},"- "),Z0.default.createElement(Xs.default,{dimColor:!0,bold:!0},t))})))};ss.default=rN});var h5=et(ls=>{"use strict";var iN=ls&&ls.__createBinding||(Object.create?function(o,u,c,d){d===void 0&&(d=c),Object.defineProperty(o,d,{enumerable:!0,get:function(){return u[c]}})}:function(o,u,c,d){d===void 0&&(d=c),o[d]=u[c]}),oN=ls&&ls.__setModuleDefault||(Object.create?function(o,u){Object.defineProperty(o,"default",{enumerable:!0,value:u})}:function(o,u){o.default=u}),uN=ls&&ls.__importStar||function(o){if(o&&o.__esModule)return o;var u={};if(o!=null)for(var c in o)c!=="default"&&Object.hasOwnProperty.call(o,c)&&iN(u,o,c);return oN(u,o),u},dc=ls&&ls.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(ls,"__esModule",{value:!0});var pc=uN(Sr()),p5=dc(A_()),sN=dc(Hy()),lN=dc(Gy()),fN=dc(Yy()),cN=dc(Xy()),aN=dc(xh()),dN=dc(d5()),pN=" ",hN="",mN="",t3=class extends pc.PureComponent{constructor(){super(...arguments);this.state={isFocusEnabled:!0,activeFocusId:void 0,focusables:[],error:void 0},this.rawModeEnabledCount=0,this.handleSetRawMode=u=>{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"),u){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=u=>{u===""&&this.props.exitOnCtrlC&&this.handleExit(),u===mN&&this.state.activeFocusId&&this.setState({activeFocusId:void 0}),this.state.isFocusEnabled&&this.state.focusables.length>0&&(u===pN&&this.focusNext(),u===hN&&this.focusPrevious())},this.handleExit=u=>{this.isRawModeSupported()&&this.handleSetRawMode(!1),this.props.onExit(u)},this.enableFocus=()=>{this.setState({isFocusEnabled:!0})},this.disableFocus=()=>{this.setState({isFocusEnabled:!1})},this.focusNext=()=>{this.setState(u=>{let c=u.focusables[0].id;return{activeFocusId:this.findNextFocusable(u)||c}})},this.focusPrevious=()=>{this.setState(u=>{let c=u.focusables[u.focusables.length-1].id;return{activeFocusId:this.findPreviousFocusable(u)||c}})},this.addFocusable=(u,{autoFocus:c})=>{this.setState(d=>{let g=d.activeFocusId;return!g&&c&&(g=u),{activeFocusId:g,focusables:[...d.focusables,{id:u,isActive:!0}]}})},this.removeFocusable=u=>{this.setState(c=>({activeFocusId:c.activeFocusId===u?void 0:c.activeFocusId,focusables:c.focusables.filter(d=>d.id!==u)}))},this.activateFocusable=u=>{this.setState(c=>({focusables:c.focusables.map(d=>d.id!==u?d:{id:u,isActive:!0})}))},this.deactivateFocusable=u=>{this.setState(c=>({activeFocusId:c.activeFocusId===u?void 0:c.activeFocusId,focusables:c.focusables.map(d=>d.id!==u?d:{id:u,isActive:!1})}))},this.findNextFocusable=u=>{let c=u.focusables.findIndex(d=>d.id===u.activeFocusId);for(let d=c+1;d<u.focusables.length;d++)if(u.focusables[d].isActive)return u.focusables[d].id},this.findPreviousFocusable=u=>{let c=u.focusables.findIndex(d=>d.id===u.activeFocusId);for(let d=c-1;d>=0;d--)if(u.focusables[d].isActive)return u.focusables[d].id}}static getDerivedStateFromError(u){return{error:u}}isRawModeSupported(){return this.props.stdin.isTTY}render(){return pc.default.createElement(sN.default.Provider,{value:{exit:this.handleExit}},pc.default.createElement(lN.default.Provider,{value:{stdin:this.props.stdin,setRawMode:this.handleSetRawMode,isRawModeSupported:this.isRawModeSupported(),internal_exitOnCtrlC:this.props.exitOnCtrlC}},pc.default.createElement(fN.default.Provider,{value:{stdout:this.props.stdout,write:this.props.writeToStdout}},pc.default.createElement(cN.default.Provider,{value:{stderr:this.props.stderr,write:this.props.writeToStderr}},pc.default.createElement(aN.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?pc.default.createElement(dN.default,{error:this.state.error}):this.props.children)))))}componentDidMount(){p5.default.hide(this.props.stdout)}componentWillUnmount(){p5.default.show(this.props.stdout),this.isRawModeSupported()&&this.handleSetRawMode(!1)}componentDidCatch(u){this.handleExit(u)}};ls.default=t3;t3.displayName="InternalApp"});var _5=et(fs=>{"use strict";var vN=fs&&fs.__createBinding||(Object.create?function(o,u,c,d){d===void 0&&(d=c),Object.defineProperty(o,d,{enumerable:!0,get:function(){return u[c]}})}:function(o,u,c,d){d===void 0&&(d=c),o[d]=u[c]}),gN=fs&&fs.__setModuleDefault||(Object.create?function(o,u){Object.defineProperty(o,"default",{enumerable:!0,value:u})}:function(o,u){o.default=u}),_N=fs&&fs.__importStar||function(o){if(o&&o.__esModule)return o;var u={};if(o!=null)for(var c in o)c!=="default"&&Object.hasOwnProperty.call(o,c)&&vN(u,o,c);return gN(u,o),u},cs=fs&&fs.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(fs,"__esModule",{value:!0});var yN=cs(Sr()),m5=m8(),wN=cs(O8()),DN=cs(E_()),EN=cs(N8()),CN=cs(U8()),Oh=cs(XE()),SN=cs(W6()),TN=cs(k_()),xN=cs(G6()),kN=_N(sy()),AN=cs(Wy()),ON=cs(h5()),y1=process.env.CI==="false"?!1:EN.default,v5=()=>{},g5=class{constructor(u){this.resolveExitPromise=()=>{},this.rejectExitPromise=()=>{},this.unsubscribeExit=()=>{},this.onRender=()=>{if(this.isUnmounted)return;let{output:c,outputHeight:d,staticOutput:g}=SN.default(this.rootNode,this.options.stdout.columns||80),t=g&&g!==`
`;if(this.options.debug){t&&(this.fullStaticOutput+=g),this.options.stdout.write(this.fullStaticOutput+c);return}if(y1){t&&this.options.stdout.write(g),this.lastOutput=c;return}if(t&&(this.fullStaticOutput+=g),d>=this.options.stdout.rows){this.options.stdout.write(DN.default.clearTerminal+this.fullStaticOutput+c),this.lastOutput=c;return}t&&(this.log.clear(),this.options.stdout.write(g),this.log(c)),!t&&c!==this.lastOutput&&this.throttledLog(c),this.lastOutput=c},CN.default(this),this.options=u,this.rootNode=kN.createNode("ink-root"),this.rootNode.onRender=u.debug?this.onRender:m5.throttle(this.onRender,32,{leading:!0,trailing:!0}),this.rootNode.onImmediateRender=this.onRender,this.log=wN.default.create(u.stdout),this.throttledLog=u.debug?this.log:m5.throttle(this.log,void 0,{leading:!0,trailing:!0}),this.isUnmounted=!1,this.lastOutput="",this.fullStaticOutput="",this.container=Oh.default.createContainer(this.rootNode,!1,!1),this.unsubscribeExit=TN.default(this.unmount,{alwaysLast:!1}),process.env.DEV==="true"&&Oh.default.injectIntoDevTools({bundleType:0,version:"16.13.1",rendererPackageName:"ink"}),u.patchConsole&&this.patchConsole(),y1||(u.stdout.on("resize",this.onRender),this.unsubscribeResize=()=>{u.stdout.off("resize",this.onRender)})}render(u){let c=yN.default.createElement(ON.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},u);Oh.default.updateContainer(c,this.container,null,v5)}writeToStdout(u){if(!this.isUnmounted){if(this.options.debug){this.options.stdout.write(u+this.fullStaticOutput+this.lastOutput);return}if(y1){this.options.stdout.write(u);return}this.log.clear(),this.options.stdout.write(u),this.log(this.lastOutput)}}writeToStderr(u){if(!this.isUnmounted){if(this.options.debug){this.options.stderr.write(u),this.options.stdout.write(this.fullStaticOutput+this.lastOutput);return}if(y1){this.options.stderr.write(u);return}this.log.clear(),this.options.stderr.write(u),this.log(this.lastOutput)}}unmount(u){this.isUnmounted||(this.onRender(),this.unsubscribeExit(),typeof this.restoreConsole=="function"&&this.restoreConsole(),typeof this.unsubscribeResize=="function"&&this.unsubscribeResize(),y1?this.options.stdout.write(this.lastOutput+`
`):this.options.debug||this.log.done(),this.isUnmounted=!0,Oh.default.updateContainer(null,this.container,null,v5),AN.default.delete(this.options.stdout),u instanceof Error?this.rejectExitPromise(u):this.resolveExitPromise())}waitUntilExit(){return this.exitPromise||(this.exitPromise=new Promise((u,c)=>{this.resolveExitPromise=u,this.rejectExitPromise=c})),this.exitPromise}clear(){!y1&&!this.options.debug&&this.log.clear()}patchConsole(){this.options.debug||(this.restoreConsole=xN.default((u,c)=>{u==="stdout"&&this.writeToStdout(c),u==="stderr"&&(c.startsWith("The above error occurred")||this.writeToStderr(c))}))}};fs.default=g5});var w5=et(Ta=>{"use strict";var y5=Ta&&Ta.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Ta,"__esModule",{value:!0});var IN=y5(_5()),Ih=y5(Wy()),MN=require("stream"),PN=(o,u)=>{let c=Object.assign({stdout:process.stdout,stdin:process.stdin,stderr:process.stderr,debug:!1,exitOnCtrlC:!0,patchConsole:!0},FN(u)),d=RN(c.stdout,()=>new IN.default(c));return d.render(o),{rerender:d.render,unmount:()=>d.unmount(),waitUntilExit:d.waitUntilExit,cleanup:()=>Ih.default.delete(c.stdout),clear:d.clear}};Ta.default=PN;var FN=(o={})=>o instanceof MN.Stream?{stdout:o,stdin:process.stdin}:o,RN=(o,u)=>{let c;return Ih.default.has(o)?c=Ih.default.get(o):(c=u(),Ih.default.set(o,c)),c}});var E5=et(Xl=>{"use strict";var LN=Xl&&Xl.__createBinding||(Object.create?function(o,u,c,d){d===void 0&&(d=c),Object.defineProperty(o,d,{enumerable:!0,get:function(){return u[c]}})}:function(o,u,c,d){d===void 0&&(d=c),o[d]=u[c]}),NN=Xl&&Xl.__setModuleDefault||(Object.create?function(o,u){Object.defineProperty(o,"default",{enumerable:!0,value:u})}:function(o,u){o.default=u}),BN=Xl&&Xl.__importStar||function(o){if(o&&o.__esModule)return o;var u={};if(o!=null)for(var c in o)c!=="default"&&Object.hasOwnProperty.call(o,c)&&LN(u,o,c);return NN(u,o),u};Object.defineProperty(Xl,"__esModule",{value:!0});var xa=BN(Sr()),D5=o=>{let{items:u,children:c,style:d}=o,[g,t]=xa.useState(0),x=xa.useMemo(()=>u.slice(g),[u,g]);xa.useLayoutEffect(()=>{t(u.length)},[u.length]);let A=x.map((E,L)=>c(E,g+L)),k=xa.useMemo(()=>Object.assign({position:"absolute",flexDirection:"column"},d),[d]);return xa.default.createElement("ink-box",{internal_static:!0,style:k},A)};D5.displayName="Static";Xl.default=D5});var S5=et(ka=>{"use strict";var UN=ka&&ka.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(ka,"__esModule",{value:!0});var jN=UN(Sr()),C5=({children:o,transform:u})=>o==null?null:jN.default.createElement("ink-text",{style:{flexGrow:0,flexShrink:1,flexDirection:"row"},internal_transform:u},o);C5.displayName="Transform";ka.default=C5});var x5=et(Aa=>{"use strict";var zN=Aa&&Aa.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Aa,"__esModule",{value:!0});var WN=zN(Sr()),T5=({count:o=1})=>WN.default.createElement("ink-text",null,`
`.repeat(o));T5.displayName="Newline";Aa.default=T5});var O5=et(Oa=>{"use strict";var k5=Oa&&Oa.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Oa,"__esModule",{value:!0});var qN=k5(Sr()),HN=k5(Ah()),A5=()=>qN.default.createElement(HN.default,{flexGrow:1});A5.displayName="Spacer";Oa.default=A5});var Mh=et(Ia=>{"use strict";var VN=Ia&&Ia.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Ia,"__esModule",{value:!0});var GN=Sr(),bN=VN(Gy()),YN=()=>GN.useContext(bN.default);Ia.default=YN});var M5=et(Ma=>{"use strict";var $N=Ma&&Ma.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Ma,"__esModule",{value:!0});var I5=Sr(),XN=$N(Mh()),KN=(o,u={})=>{let{stdin:c,setRawMode:d,internal_exitOnCtrlC:g}=XN.default();I5.useEffect(()=>{if(u.isActive!==!1)return d(!0),()=>{d(!1)}},[u.isActive,d]),I5.useEffect(()=>{if(u.isActive===!1)return;let t=x=>{let A=String(x),k={upArrow:A==="",downArrow:A==="",leftArrow:A==="",rightArrow:A==="",pageDown:A==="[6~",pageUp:A==="[5~",return:A==="\r",escape:A==="",ctrl:!1,shift:!1,tab:A===" "||A==="",backspace:A==="\b",delete:A==="\x7F"||A==="[3~",meta:!1};A<=""&&!k.return&&(A=String.fromCharCode(A.charCodeAt(0)+"a".charCodeAt(0)-1),k.ctrl=!0),A.startsWith("")&&(A=A.slice(1),k.meta=!0);let E=A>="A"&&A<="Z",L=A>="\u0410"&&A<="\u042F";A.length===1&&(E||L)&&(k.shift=!0),k.tab&&A==="[Z"&&(k.shift=!0),(k.tab||k.backspace||k.delete)&&(A=""),(!(A==="c"&&k.ctrl)||!g)&&o(A,k)};return c==null||c.on("data",t),()=>{c==null||c.off("data",t)}},[u.isActive,c,g,o])};Ma.default=KN});var F5=et(Fa=>{"use strict";var JN=Fa&&Fa.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Fa,"__esModule",{value:!0});var QN=Sr(),ZN=JN(Hy()),eB=()=>QN.useContext(ZN.default);Fa.default=eB});var R5=et(Ra=>{"use strict";var tB=Ra&&Ra.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Ra,"__esModule",{value:!0});var nB=Sr(),rB=tB(Yy()),iB=()=>nB.useContext(rB.default);Ra.default=iB});var P5=et(Pa=>{"use strict";var oB=Pa&&Pa.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Pa,"__esModule",{value:!0});var uB=Sr(),sB=oB(Xy()),lB=()=>uB.useContext(sB.default);Pa.default=lB});var N5=et(La=>{"use strict";var L5=La&&La.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(La,"__esModule",{value:!0});var Na=Sr(),fB=L5(xh()),cB=L5(Mh()),aB=({isActive:o=!0,autoFocus:u=!1}={})=>{let{isRawModeSupported:c,setRawMode:d}=cB.default(),{activeId:g,add:t,remove:x,activate:A,deactivate:k}=Na.useContext(fB.default),E=Na.useMemo(()=>Math.random().toString().slice(2,7),[]);return Na.useEffect(()=>(t(E,{autoFocus:u}),()=>{x(E)}),[E,u]),Na.useEffect(()=>{o?A(E):k(E)},[o,E]),Na.useEffect(()=>{if(!(!c||!o))return d(!0),()=>{d(!1)}},[o]),{isFocused:Boolean(E)&&g===E}};La.default=aB});var B5=et(Ba=>{"use strict";var dB=Ba&&Ba.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Ba,"__esModule",{value:!0});var pB=Sr(),hB=dB(xh()),mB=()=>{let o=pB.useContext(hB.default);return{enableFocus:o.enableFocus,disableFocus:o.disableFocus,focusNext:o.focusNext,focusPrevious:o.focusPrevious}};Ba.default=mB});var U5=et(n3=>{"use strict";Object.defineProperty(n3,"__esModule",{value:!0});n3.default=o=>{var u,c,d,g;return{width:(c=(u=o.yogaNode)===null||u===void 0?void 0:u.getComputedWidth())!==null&&c!==void 0?c:0,height:(g=(d=o.yogaNode)===null||d===void 0?void 0:d.getComputedHeight())!==null&&g!==void 0?g:0}}});var hc=et(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});var vB=w5();Object.defineProperty(Ii,"render",{enumerable:!0,get:function(){return vB.default}});var gB=Ah();Object.defineProperty(Ii,"Box",{enumerable:!0,get:function(){return gB.default}});var _B=e3();Object.defineProperty(Ii,"Text",{enumerable:!0,get:function(){return _B.default}});var yB=E5();Object.defineProperty(Ii,"Static",{enumerable:!0,get:function(){return yB.default}});var wB=S5();Object.defineProperty(Ii,"Transform",{enumerable:!0,get:function(){return wB.default}});var DB=x5();Object.defineProperty(Ii,"Newline",{enumerable:!0,get:function(){return DB.default}});var EB=O5();Object.defineProperty(Ii,"Spacer",{enumerable:!0,get:function(){return EB.default}});var CB=M5();Object.defineProperty(Ii,"useInput",{enumerable:!0,get:function(){return CB.default}});var SB=F5();Object.defineProperty(Ii,"useApp",{enumerable:!0,get:function(){return SB.default}});var TB=Mh();Object.defineProperty(Ii,"useStdin",{enumerable:!0,get:function(){return TB.default}});var xB=R5();Object.defineProperty(Ii,"useStdout",{enumerable:!0,get:function(){return xB.default}});var kB=P5();Object.defineProperty(Ii,"useStderr",{enumerable:!0,get:function(){return kB.default}});var AB=N5();Object.defineProperty(Ii,"useFocus",{enumerable:!0,get:function(){return AB.default}});var OB=B5();Object.defineProperty(Ii,"useFocusManager",{enumerable:!0,get:function(){return OB.default}});var IB=U5();Object.defineProperty(Ii,"measureElement",{enumerable:!0,get:function(){return IB.default}})});var FB={};$w(FB,{default:()=>PB,versionUtils:()=>u_});var za=dr(require("@yarnpkg/core"));var Wp=dr(require("@yarnpkg/cli")),u1=dr(require("@yarnpkg/core")),qp=dr(require("@yarnpkg/core")),If=dr(require("clipanion"));var u_={};$w(u_,{Decision:()=>Zr,applyPrerelease:()=>Qw,applyReleases:()=>c_,applyStrategy:()=>jp,clearVersionFiles:()=>s_,fetchBase:()=>Xw,fetchChangedFiles:()=>Jw,fetchRoot:()=>Kw,getUndecidedDependentWorkspaces:()=>B2,getUndecidedWorkspaces:()=>zp,openVersionFile:()=>o1,requireMoreDecisions:()=>wF,resolveVersionFiles:()=>N2,suggestStrategy:()=>f_,updateVersionFiles:()=>l_});var Gn=dr(require("@yarnpkg/core")),mr=dr(require("@yarnpkg/fslib")),Wl=dr(require("@yarnpkg/parsers")),Of=dr(require("clipanion")),ql=dr(require("semver")),yF=/^(>=|[~^]|)(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-]+)*)?$/,Zr;(function(x){x.UNDECIDED="undecided",x.DECLINE="decline",x.MAJOR="major",x.MINOR="minor",x.PATCH="patch",x.PRERELEASE="prerelease"})(Zr||(Zr={}));async function Xw(o,{baseRefs:u}){if(u.length===0)throw new Of.UsageError("Can't run this command with zero base refs specified.");let c=[];for(let A of u){let{code:k}=await Gn.execUtils.execvp("git",["merge-base",A,"HEAD"],{cwd:o});k===0&&c.push(A)}if(c.length===0)throw new Of.UsageError(`No ancestor could be found between any of HEAD and ${u.join(", ")}`);let{stdout:d}=await Gn.execUtils.execvp("git",["merge-base","HEAD",...c],{cwd:o,strict:!0}),g=d.trim(),{stdout:t}=await Gn.execUtils.execvp("git",["show","--quiet","--pretty=format:%s",g],{cwd:o,strict:!0}),x=t.trim();return{hash:g,title:x}}async function Kw(o){let u=null,c,d=o;do c=d,await mr.xfs.existsPromise(mr.ppath.join(c,".git"))&&(u=c),d=mr.ppath.dirname(c);while(u===null&&d!==c);return u}async function Jw(o,{base:u,project:c}){let d=Gn.miscUtils.buildIgnorePattern(c.configuration.get("changesetIgnorePatterns")),{stdout:g}=await Gn.execUtils.execvp("git",["diff","--name-only",`${u}`],{cwd:o,strict:!0}),t=g.split(/\r\n|\r|\n/).filter(E=>E.length>0).map(E=>mr.ppath.resolve(o,mr.npath.toPortablePath(E))),{stdout:x}=await Gn.execUtils.execvp("git",["ls-files","--others","--exclude-standard"],{cwd:o,strict:!0}),A=x.split(/\r\n|\r|\n/).filter(E=>E.length>0).map(E=>mr.ppath.resolve(o,mr.npath.toPortablePath(E))),k=[...new Set([...t,...A].sort())];return d?k.filter(E=>!mr.ppath.relative(c.cwd,E).match(d)):k}async function N2(o,{prerelease:u=null}={}){var t;let c=new Map,d=o.configuration.get("deferredVersionFolder");if(!mr.xfs.existsSync(d))return new Map;let g=await mr.xfs.readdirPromise(d);for(let x of g){if(!x.endsWith(".yml"))continue;let A=mr.ppath.join(d,x),k=await mr.xfs.readFilePromise(A,"utf8"),E=(0,Wl.parseSyml)(k);for(let[L,B]of Object.entries(E.releases||{})){let W=Gn.structUtils.parseIdent(L),X=o.tryWorkspaceByIdent(W);if(X===null)throw new Error(`Assertion failed: Expected a release definition file to only reference existing workspaces (${mr.ppath.basename(A)} references ${L})`);if(X.manifest.version===null)throw new Error(`Assertion failed: Expected the workspace to have a version (${Gn.structUtils.prettyLocator(o.configuration,X.anchoredLocator)})`);let m=(t=X.manifest.raw.stableVersion)!=null?t:X.manifest.version,me=c.get(X),ye=jp(m,B);if(ye===null)throw new Error(`Assertion failed: Expected ${m} to support being bumped via strategy ${B}`);let se=typeof me!="undefined"?ql.default.gt(ye,me)?ye:me:ye;c.set(X,se)}}return u&&(c=new Map([...c].map(([x,A])=>[x,Qw(A,{current:x.manifest.version,prerelease:u})]))),c}async function s_(o){let u=o.configuration.get("deferredVersionFolder");!mr.xfs.existsSync(u)||await mr.xfs.removePromise(u)}async function l_(o){let u=o.configuration.get("deferredVersionFolder");if(!mr.xfs.existsSync(u))return;let c=await mr.xfs.readdirPromise(u);for(let d of c){if(!d.endsWith(".yml"))continue;let g=mr.ppath.join(u,d),t=await mr.xfs.readFilePromise(g,"utf8"),x=(0,Wl.parseSyml)(t),A=x==null?void 0:x.releases;if(!!A){for(let k of Object.keys(A)){let E=Gn.structUtils.parseLocator(k);o.tryWorkspaceByLocator(E)===null&&delete x.releases[k]}await mr.xfs.changeFilePromise(g,(0,Wl.stringifySyml)(new Wl.stringifySyml.PreserveOrdering(x)))}}}async function o1(o,{allowEmpty:u=!1}={}){let c=o.configuration;if(c.projectCwd===null)throw new Of.UsageError("This command can only be run from within a Yarn project");let d=await Kw(c.projectCwd),g=d!==null?await Xw(d,{baseRefs:c.get("changesetBaseRefs")}):null,t=d!==null?await Jw(d,{base:g.hash,project:o}):[],x=c.get("deferredVersionFolder"),A=t.filter(X=>mr.ppath.contains(x,X)!==null);if(A.length>1)throw new Of.UsageError(`Your current branch contains multiple versioning files; this isn't supported:
- ${A.map(X=>mr.npath.fromPortablePath(X)).join(`
- `)}`);let k=new Set(Gn.miscUtils.mapAndFilter(t,X=>{let m=o.tryWorkspaceByFilePath(X);return m===null?Gn.miscUtils.mapAndFilter.skip:m}));if(A.length===0&&k.size===0&&!u)return null;let E=A.length===1?A[0]:mr.ppath.join(x,`${Gn.hashUtils.makeHash(Math.random().toString()).slice(0,8)}.yml`),L=mr.xfs.existsSync(E)?await mr.xfs.readFilePromise(E,"utf8"):"{}",B=(0,Wl.parseSyml)(L),W=new Map;for(let X of B.declined||[]){let m=Gn.structUtils.parseIdent(X),me=o.getWorkspaceByIdent(m);W.set(me,Zr.DECLINE)}for(let[X,m]of Object.entries(B.releases||{})){let me=Gn.structUtils.parseIdent(X),ye=o.getWorkspaceByIdent(me);W.set(ye,m)}return{project:o,root:d,baseHash:g!==null?g.hash:null,baseTitle:g!==null?g.title:null,changedFiles:new Set(t),changedWorkspaces:k,releaseRoots:new Set([...k].filter(X=>X.manifest.version!==null)),releases:W,async saveAll(){let X={},m=[],me=[];for(let ye of o.workspaces){if(ye.manifest.version===null)continue;let se=Gn.structUtils.stringifyIdent(ye.locator),Ee=W.get(ye);Ee===Zr.DECLINE?m.push(se):typeof Ee!="undefined"?X[se]=Ee:k.has(ye)&&me.push(se)}await mr.xfs.mkdirPromise(mr.ppath.dirname(E),{recursive:!0}),await mr.xfs.changeFilePromise(E,(0,Wl.stringifySyml)(new Wl.stringifySyml.PreserveOrdering({releases:Object.keys(X).length>0?X:void 0,declined:m.length>0?m:void 0,undecided:me.length>0?me:void 0})))}}}function wF(o){return zp(o).size>0||B2(o).length>0}function zp(o){let u=new Set;for(let c of o.changedWorkspaces)c.manifest.version!==null&&(o.releases.has(c)||u.add(c));return u}function B2(o,{include:u=new Set}={}){let c=[],d=new Map(Gn.miscUtils.mapAndFilter([...o.releases],([t,x])=>x===Zr.DECLINE?Gn.miscUtils.mapAndFilter.skip:[t.anchoredLocator.locatorHash,t])),g=new Map(Gn.miscUtils.mapAndFilter([...o.releases],([t,x])=>x!==Zr.DECLINE?Gn.miscUtils.mapAndFilter.skip:[t.anchoredLocator.locatorHash,t]));for(let t of o.project.workspaces)if(!(!u.has(t)&&(g.has(t.anchoredLocator.locatorHash)||d.has(t.anchoredLocator.locatorHash)))&&t.manifest.version!==null)for(let x of Gn.Manifest.hardDependencies)for(let A of t.manifest.getForScope(x).values()){let k=o.project.tryWorkspaceByDescriptor(A);k!==null&&d.has(k.anchoredLocator.locatorHash)&&c.push([t,k])}return c}function f_(o,u){let c=ql.default.clean(u);for(let d of Object.values(Zr))if(d!==Zr.UNDECIDED&&d!==Zr.DECLINE&&ql.default.inc(o,d)===c)return d;return null}function jp(o,u){if(ql.default.valid(u))return u;if(o===null)throw new Of.UsageError(`Cannot apply the release strategy "${u}" unless the workspace already has a valid version`);if(!ql.default.valid(o))throw new Of.UsageError(`Cannot apply the release strategy "${u}" on a non-semver version (${o})`);let c=ql.default.inc(o,u);if(c===null)throw new Of.UsageError(`Cannot apply the release strategy "${u}" on the specified version (${o})`);return c}function c_(o,u,{report:c}){let d=new Map;for(let g of o.workspaces)for(let t of Gn.Manifest.allDependencies)for(let x of g.manifest[t].values()){let A=o.tryWorkspaceByDescriptor(x);if(A===null||!u.has(A))continue;Gn.miscUtils.getArrayWithDefault(d,A).push([g,t,x.identHash])}for(let[g,t]of u){let x=g.manifest.version;g.manifest.version=t,ql.default.prerelease(t)===null?delete g.manifest.raw.stableVersion:g.manifest.raw.stableVersion||(g.manifest.raw.stableVersion=x);let A=g.manifest.name!==null?Gn.structUtils.stringifyIdent(g.manifest.name):null;c.reportInfo(Gn.MessageName.UNNAMED,`${Gn.structUtils.prettyLocator(o.configuration,g.anchoredLocator)}: Bumped to ${t}`),c.reportJson({cwd:g.cwd,ident:A,oldVersion:x,newVersion:t});let k=d.get(g);if(typeof k!="undefined")for(let[E,L,B]of k){let W=E.manifest[L].get(B);if(typeof W=="undefined")throw new Error("Assertion failed: The dependency should have existed");let X=W.range,m=!1;if(X.startsWith(Gn.WorkspaceResolver.protocol)&&(X=X.slice(Gn.WorkspaceResolver.protocol.length),m=!0,X===g.relativeCwd))continue;let me=X.match(yF);if(!me){c.reportWarning(Gn.MessageName.UNNAMED,`Couldn't auto-upgrade range ${X} (in ${Gn.structUtils.prettyLocator(o.configuration,E.anchoredLocator)})`);continue}let ye=`${me[1]}${t}`;m&&(ye=`${Gn.WorkspaceResolver.protocol}${ye}`);let se=Gn.structUtils.makeDescriptor(W,ye);E.manifest[L].set(B,se)}}}var DF=new Map([["%n",{extract:o=>o.length>=1?[o[0],o.slice(1)]:null,generate:(o=0)=>`${o+1}`}]]);function Qw(o,{current:u,prerelease:c}){let d=new ql.default.SemVer(u),g=d.prerelease.slice(),t=[];d.prerelease=[],d.format()!==o&&(g.length=0);let x=!0,A=c.split(/\./g);for(let k of A){let E=DF.get(k);if(typeof E=="undefined")t.push(k),g[0]===k?g.shift():x=!1;else{let L=x?E.extract(g):null;L!==null&&typeof L[0]=="number"?(t.push(E.generate(L[0])),g=L[1]):(t.push(E.generate()),x=!1)}}return d.prerelease&&(d.prerelease=[]),`${o}-${t.join(".")}`}var U2=class extends Wp.BaseCommand{constructor(){super(...arguments);this.all=If.Option.Boolean("--all",!1,{description:"Apply the deferred version changes on all workspaces"});this.dryRun=If.Option.Boolean("--dry-run",!1,{description:"Print the versions without actually generating the package archive"});this.prerelease=If.Option.String("--prerelease",{description:"Add a prerelease identifier to new versions",tolerateBoolean:!0});this.recursive=If.Option.Boolean("-R,--recursive",{description:"Release the transitive workspaces as well"});this.json=If.Option.Boolean("--json",!1,{description:"Format the output as an NDJSON stream"})}async execute(){let u=await u1.Configuration.find(this.context.cwd,this.context.plugins),{project:c,workspace:d}=await qp.Project.find(u,this.context.cwd),g=await u1.Cache.find(u);if(!d)throw new Wp.WorkspaceRequiredError(c.cwd,this.context.cwd);return await c.restoreInstallState({restoreResolutions:!1}),(await qp.StreamReport.start({configuration:u,json:this.json,stdout:this.context.stdout},async x=>{let A=this.prerelease?typeof this.prerelease!="boolean"?this.prerelease:"rc.%n":null,k=await N2(c,{prerelease:A}),E=new Map;if(this.all)E=k;else{let L=this.recursive?d.getRecursiveWorkspaceDependencies():[d];for(let B of L){let W=k.get(B);typeof W!="undefined"&&E.set(B,W)}}if(E.size===0){let L=k.size>0?" Did you want to add --all?":"";x.reportWarning(u1.MessageName.UNNAMED,`The current workspace doesn't seem to require a version bump.${L}`);return}c_(c,E,{report:x}),this.dryRun||(A||(this.all?await s_(c):await l_(c)),x.reportSeparator(),await c.install({cache:g,report:x}))})).exitCode()}};U2.paths=[["version","apply"]],U2.usage=If.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 Zw=U2;var o3=dr(require("@yarnpkg/cli")),$r=dr(require("@yarnpkg/core")),as=dr(require("@yarnpkg/fslib"));var j5=dr(hc()),mc=dr(Sr()),z5=(0,mc.memo)(({active:o})=>{let u=(0,mc.useMemo)(()=>o?"\u25C9":"\u25EF",[o]),c=(0,mc.useMemo)(()=>o?"green":"yellow",[o]);return mc.default.createElement(j5.Text,{color:c},u)});var Nf=dr(hc()),Oo=dr(Sr());var W5=dr(hc()),Fh=dr(Sr());function w1({active:o},u,c){let{stdin:d}=(0,W5.useStdin)(),g=(0,Fh.useCallback)((t,x)=>u(t,x),c);(0,Fh.useEffect)(()=>{if(!(!o||!d))return d.on("keypress",g),()=>{d.off("keypress",g)}},[o,g,d])}var vc;(function(c){c.BEFORE="before",c.AFTER="after"})(vc||(vc={}));var q5=function({active:o},u,c){w1({active:o},(d,g)=>{g.name==="tab"&&(g.shift?u(vc.BEFORE):u(vc.AFTER))},c)};var Rh=function(o,u,{active:c,minus:d,plus:g,set:t,loop:x=!0}){w1({active:c},(A,k)=>{let E=u.indexOf(o);switch(k.name){case d:{let L=E-1;if(x){t(u[(u.length+L)%u.length]);return}if(L<0)return;t(u[L])}break;case g:{let L=E+1;if(x){t(u[L%u.length]);return}if(L>=u.length)return;t(u[L])}break}},[u,o,g,t,x])};var r3=({active:o=!0,children:u=[],radius:c=10,size:d=1,loop:g=!0,onFocusRequest:t,willReachEnd:x})=>{let A=ye=>{if(ye.key===null)throw new Error("Expected all children to have a key");return ye.key},k=Oo.default.Children.map(u,ye=>A(ye)),E=k[0],[L,B]=(0,Oo.useState)(E),W=k.indexOf(L);(0,Oo.useEffect)(()=>{k.includes(L)||B(E)},[u]),(0,Oo.useEffect)(()=>{x&&W>=k.length-2&&x()},[W]),q5({active:o&&!!t},ye=>{t==null||t(ye)},[t]),Rh(L,k,{active:o,minus:"up",plus:"down",set:B,loop:g});let X=W-c,m=W+c;m>k.length&&(X-=m-k.length,m=k.length),X<0&&(m+=-X,X=0),m>=k.length&&(m=k.length-1);let me=[];for(let ye=X;ye<=m;++ye){let se=k[ye],Ee=o&&se===L;me.push(Oo.default.createElement(Nf.Box,{key:se,height:d},Oo.default.createElement(Nf.Box,{marginLeft:1,marginRight:1},Oo.default.createElement(Nf.Text,null,Ee?Oo.default.createElement(Nf.Text,{color:"cyan",bold:!0},">"):" ")),Oo.default.createElement(Nf.Box,null,Oo.default.cloneElement(u[ye],{active:Ee}))))}return Oo.default.createElement(Nf.Box,{flexDirection:"column",width:"100%"},me)};var Ph=dr(hc()),i3=dr(Sr());var H5=dr(hc()),Kl=dr(Sr()),V5=dr(require("readline")),MB=Kl.default.createContext(null),G5=({children:o})=>{let{stdin:u,setRawMode:c}=(0,H5.useStdin)();(0,Kl.useEffect)(()=>{c&&c(!0),u&&(0,V5.emitKeypressEvents)(u)},[u,c]);let[d,g]=(0,Kl.useState)(new Map),t=(0,Kl.useMemo)(()=>({getAll:()=>d,get:x=>d.get(x),set:(x,A)=>g(new Map([...d,[x,A]]))}),[d,g]);return Kl.default.createElement(MB.Provider,{value:t,children:o})};async function b5(o,u){let c,d=t=>{let{exit:x}=(0,Ph.useApp)();w1({active:!0},(A,k)=>{k.name==="return"&&(c=t,x())},[x,t])},{waitUntilExit:g}=(0,Ph.render)(i3.default.createElement(G5,null,i3.default.createElement(o,ns(Qr({},u),{useSubmit:d}))));return await g(),c}var Bf=dr(require("clipanion")),yn=dr(hc()),Rt=dr(Sr()),u3=dr(require("semver"));var Ua=class extends Bf.Command{constructor(){super(...arguments);this.interactive=Bf.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 u=await $r.Configuration.find(this.context.cwd,this.context.plugins),{project:c,workspace:d}=await $r.Project.find(u,this.context.cwd);if(!d)throw new o3.WorkspaceRequiredError(c.cwd,this.context.cwd);await c.restoreInstallState();let g=await o1(c);if(g===null||g.releaseRoots.size===0)return 0;if(g.root===null)throw new Bf.UsageError("This command can only be run on Git repositories");let t=()=>Rt.default.createElement(yn.Box,{flexDirection:"row",paddingBottom:1},Rt.default.createElement(yn.Box,{flexDirection:"column",width:60},Rt.default.createElement(yn.Box,null,Rt.default.createElement(yn.Text,null,"Press ",Rt.default.createElement(yn.Text,{bold:!0,color:"cyanBright"},"<up>"),"/",Rt.default.createElement(yn.Text,{bold:!0,color:"cyanBright"},"<down>")," to select workspaces.")),Rt.default.createElement(yn.Box,null,Rt.default.createElement(yn.Text,null,"Press ",Rt.default.createElement(yn.Text,{bold:!0,color:"cyanBright"},"<left>"),"/",Rt.default.createElement(yn.Text,{bold:!0,color:"cyanBright"},"<right>")," to select release strategies."))),Rt.default.createElement(yn.Box,{flexDirection:"column"},Rt.default.createElement(yn.Box,{marginLeft:1},Rt.default.createElement(yn.Text,null,"Press ",Rt.default.createElement(yn.Text,{bold:!0,color:"cyanBright"},"<enter>")," to save.")),Rt.default.createElement(yn.Box,{marginLeft:1},Rt.default.createElement(yn.Text,null,"Press ",Rt.default.createElement(yn.Text,{bold:!0,color:"cyanBright"},"<ctrl+c>")," to abort.")))),x=({workspace:W,active:X,decision:m,setDecision:me})=>{var We;let ye=(We=W.manifest.raw.stableVersion)!=null?We:W.manifest.version;if(ye===null)throw new Error(`Assertion failed: The version should have been set (${$r.structUtils.prettyLocator(u,W.anchoredLocator)})`);if(u3.default.prerelease(ye)!==null)throw new Error(`Assertion failed: Prerelease identifiers shouldn't be found (${ye})`);let se=[Zr.UNDECIDED,Zr.DECLINE,Zr.PATCH,Zr.MINOR,Zr.MAJOR];Rh(m,se,{active:X,minus:"left",plus:"right",set:me});let Ee=m===Zr.UNDECIDED?Rt.default.createElement(yn.Text,{color:"yellow"},ye):m===Zr.DECLINE?Rt.default.createElement(yn.Text,{color:"green"},ye):Rt.default.createElement(yn.Text,null,Rt.default.createElement(yn.Text,{color:"magenta"},ye)," \u2192 ",Rt.default.createElement(yn.Text,{color:"green"},u3.default.inc(ye,m)));return Rt.default.createElement(yn.Box,{flexDirection:"column"},Rt.default.createElement(yn.Box,null,Rt.default.createElement(yn.Text,null,$r.structUtils.prettyLocator(u,W.anchoredLocator)," - ",Ee)),Rt.default.createElement(yn.Box,null,se.map(Se=>Rt.default.createElement(yn.Box,{key:Se,paddingLeft:2},Rt.default.createElement(yn.Text,null,Rt.default.createElement(z5,{active:Se===m})," ",Se)))))},A=W=>{let X=new Set(g.releaseRoots),m=new Map([...W].filter(([me])=>X.has(me)));for(;;){let me=B2({project:g.project,releases:m}),ye=!1;if(me.length>0){for(let[se]of me)if(!X.has(se)){X.add(se),ye=!0;let Ee=W.get(se);typeof Ee!="undefined"&&m.set(se,Ee)}}if(!ye)break}return{relevantWorkspaces:X,relevantReleases:m}},k=()=>{let[W,X]=(0,Rt.useState)(()=>new Map(g.releases)),m=(0,Rt.useCallback)((me,ye)=>{let se=new Map(W);ye!==Zr.UNDECIDED?se.set(me,ye):se.delete(me);let{relevantReleases:Ee}=A(se);X(Ee)},[W,X]);return[W,m]},E=({workspaces:W,releases:X})=>{let m=[];m.push(`${W.size} total`);let me=0,ye=0;for(let se of W){let Ee=X.get(se);typeof Ee=="undefined"?ye+=1:Ee!==Zr.DECLINE&&(me+=1)}return m.push(`${me} release${me===1?"":"s"}`),m.push(`${ye} remaining`),Rt.default.createElement(yn.Text,{color:"yellow"},m.join(", "))},B=await b5(({useSubmit:W})=>{let[X,m]=k();W(X);let{relevantWorkspaces:me}=A(X),ye=new Set([...me].filter(Se=>!g.releaseRoots.has(Se))),[se,Ee]=(0,Rt.useState)(0),We=(0,Rt.useCallback)(Se=>{switch(Se){case vc.BEFORE:Ee(se-1);break;case vc.AFTER:Ee(se+1);break}},[se,Ee]);return Rt.default.createElement(yn.Box,{flexDirection:"column"},Rt.default.createElement(t,null),Rt.default.createElement(yn.Box,null,Rt.default.createElement(yn.Text,{wrap:"wrap"},"The following files have been modified in your local checkout.")),Rt.default.createElement(yn.Box,{flexDirection:"column",marginTop:1,paddingLeft:2},[...g.changedFiles].map(Se=>Rt.default.createElement(yn.Box,{key:Se},Rt.default.createElement(yn.Text,null,Rt.default.createElement(yn.Text,{color:"grey"},as.npath.fromPortablePath(g.root)),as.npath.sep,as.npath.relative(as.npath.fromPortablePath(g.root),as.npath.fromPortablePath(Se)))))),g.releaseRoots.size>0&&Rt.default.createElement(Rt.default.Fragment,null,Rt.default.createElement(yn.Box,{marginTop:1},Rt.default.createElement(yn.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):")),ye.size>3?Rt.default.createElement(yn.Box,{marginTop:1},Rt.default.createElement(E,{workspaces:g.releaseRoots,releases:X})):null,Rt.default.createElement(yn.Box,{marginTop:1,flexDirection:"column"},Rt.default.createElement(r3,{active:se%2==0,radius:1,size:2,onFocusRequest:We},[...g.releaseRoots].map(Se=>Rt.default.createElement(x,{key:Se.cwd,workspace:Se,decision:X.get(Se)||Zr.UNDECIDED,setDecision:Me=>m(Se,Me)}))))),ye.size>0?Rt.default.createElement(Rt.default.Fragment,null,Rt.default.createElement(yn.Box,{marginTop:1},Rt.default.createElement(yn.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:")),Rt.default.createElement(yn.Box,null,Rt.default.createElement(yn.Text,null,"(Press ",Rt.default.createElement(yn.Text,{bold:!0,color:"cyanBright"},"<tab>")," to move the focus between the workspace groups.)")),ye.size>5?Rt.default.createElement(yn.Box,{marginTop:1},Rt.default.createElement(E,{workspaces:ye,releases:X})):null,Rt.default.createElement(yn.Box,{marginTop:1,flexDirection:"column"},Rt.default.createElement(r3,{active:se%2==1,radius:2,size:2,onFocusRequest:We},[...ye].map(Se=>Rt.default.createElement(x,{key:Se.cwd,workspace:Se,decision:X.get(Se)||Zr.UNDECIDED,setDecision:Me=>m(Se,Me)}))))):null)},{versionFile:g});if(typeof B=="undefined")return 1;g.releases.clear();for(let[W,X]of B)g.releases.set(W,X);await g.saveAll()}async executeStandard(){let u=await $r.Configuration.find(this.context.cwd,this.context.plugins),{project:c,workspace:d}=await $r.Project.find(u,this.context.cwd);if(!d)throw new o3.WorkspaceRequiredError(c.cwd,this.context.cwd);return await c.restoreInstallState(),(await $r.StreamReport.start({configuration:u,stdout:this.context.stdout},async t=>{let x=await o1(c);if(x===null||x.releaseRoots.size===0)return;if(x.root===null)throw new Bf.UsageError("This command can only be run on Git repositories");if(t.reportInfo($r.MessageName.UNNAMED,`Your PR was started right after ${$r.formatUtils.pretty(u,x.baseHash.slice(0,7),"yellow")} ${$r.formatUtils.pretty(u,x.baseTitle,"magenta")}`),x.changedFiles.size>0){t.reportInfo($r.MessageName.UNNAMED,"You have changed the following files since then:"),t.reportSeparator();for(let B of x.changedFiles)t.reportInfo(null,`${$r.formatUtils.pretty(u,as.npath.fromPortablePath(x.root),"gray")}${as.npath.sep}${as.npath.relative(as.npath.fromPortablePath(x.root),as.npath.fromPortablePath(B))}`)}let A=!1,k=!1,E=zp(x);if(E.size>0){A||t.reportSeparator();for(let B of E)t.reportError($r.MessageName.UNNAMED,`${$r.structUtils.prettyLocator(u,B.anchoredLocator)} has been modified but doesn't have a release strategy attached`);A=!0}let L=B2(x);for(let[B,W]of L)k||t.reportSeparator(),t.reportError($r.MessageName.UNNAMED,`${$r.structUtils.prettyLocator(u,B.anchoredLocator)} doesn't have a release strategy attached, but depends on ${$r.structUtils.prettyWorkspace(u,W)} which is planned for release.`),k=!0;(A||k)&&(t.reportSeparator(),t.reportInfo($r.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)."),t.reportInfo($r.MessageName.UNNAMED,"To correct these errors, run `yarn version check --interactive` then follow the instructions."))})).exitCode()}};Ua.paths=[["version","check"]],Ua.usage=Bf.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 Y5=Ua;var Lh=dr(require("@yarnpkg/cli")),Nh=dr(require("@yarnpkg/core")),Ks=dr(require("clipanion")),Bh=dr(require("semver"));var ja=class extends Lh.BaseCommand{constructor(){super(...arguments);this.deferred=Ks.Option.Boolean("-d,--deferred",{description:"Prepare the version to be bumped during the next release cycle"});this.immediate=Ks.Option.Boolean("-i,--immediate",{description:"Bump the version immediately"});this.strategy=Ks.Option.String()}async execute(){let u=await Nh.Configuration.find(this.context.cwd,this.context.plugins),{project:c,workspace:d}=await Nh.Project.find(u,this.context.cwd);if(!d)throw new Lh.WorkspaceRequiredError(c.cwd,this.context.cwd);let g=u.get("preferDeferredVersions");this.deferred&&(g=!0),this.immediate&&(g=!1);let t=Bh.default.valid(this.strategy),x=this.strategy===Zr.DECLINE,A;if(t)if(d.manifest.version!==null){let E=f_(d.manifest.version,this.strategy);E!==null?A=E:A=this.strategy}else A=this.strategy;else{let E=d.manifest.version;if(!x){if(E===null)throw new Ks.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 E!="string"||!Bh.default.valid(E))throw new Ks.UsageError(`Can't bump the version (${E}) if it's not valid semver`)}A=this.strategy}if(!g){let L=(await N2(c)).get(d);if(typeof L!="undefined"){let B=jp(d.manifest.version,A);if(Bh.default.lt(B,L))throw new Ks.UsageError(`Can't bump the version to one that would be lower than the current deferred one (${L})`)}}let k=await o1(c,{allowEmpty:!0});k.releases.set(d,A),await k.saveAll(),g||await this.cli.run(["version","apply"])}};ja.paths=[["version"]],ja.usage=Ks.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 $5=ja;var RB={configuration:{changesetBaseRefs:{description:"The base git refs that the current HEAD is compared against when detecting changes. Supports git branches, tags, and commits.",type:za.SettingsType.STRING,isArray:!0,isNullable:!1,default:["master","origin/master","upstream/master"]},changesetIgnorePatterns:{description:"Array of glob patterns; files matching them will be ignored when fetching the changed files",type:za.SettingsType.STRING,default:[],isArray:!0},deferredVersionFolder:{description:"Folder where are stored the versioning files",type:za.SettingsType.ABSOLUTE_PATH,default:"./.yarn/versions"},preferDeferredVersions:{description:"If true, running `yarn version` will assume the `--deferred` flag unless `--immediate` is set",type:za.SettingsType.BOOLEAN,default:!1}},commands:[Zw,Y5,$5]},PB=RB;return FB;})();
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
/** @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.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.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.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;
}
};