@vouchfor/embeds 0.0.0-experiment.912c9c8 → 0.0.0-experiment.9eba968

Sign up to get free protection for your applications and to get access to all the features.
@@ -91,8 +91,8 @@ ${t}`,kg=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),wg=Objec
91
91
  `),[o,c]=i.match(Mg)||[];return{start:o,end:c,text:s}}):[]}function qa(n){const[t,e,i]=n.split(":");return i?parseInt(t)*60*60+parseInt(e)*60+parseFloat(i):parseInt(t)*60+parseInt(e)}function $g({canvas:n,dx:t,dy:e,dw:i,dh:s,relativeTime:o,vttCaptions:c}){if(c){const d=Ld(c).find(({start:f,end:p})=>f&&p&&o>=qa(f)&&o<qa(p));if(d){const f=n.getContext("2d");if(f){const p=Math.min(i,s);let g=[""];const v=i*.9,A=p*.05;f.font=`${A}px Roobert, Dejavu Sans, sans-serif`,f.textBaseline="middle",d.text.split(" ").forEach(E=>{const T=g.length-1,k=f.measureText(g[T]).width,_=f.measureText(` ${E}`).width;k+_<v?g[T]=`${g[T]} ${E}`:g=[...g,E]}),g.forEach((E,T)=>{const k=E.trim(),_=f.measureText(k),x=t+(i-_.width)/2,F=e+(s*.85-(A+p*.04)*(g.length-1-T)),G=A*.8,L=A/1.5,$=t+(i-_.width-L)/2,V=F-G,W=_.width+L,ot=G*2,nt=f.globalAlpha;f.save(),f.globalAlpha=.8*nt,f.fillStyle="#000000",f.beginPath(),f.roundRect($,V,W,ot,p*.01),f.fill(),f.closePath(),f.globalAlpha=nt,f.fillStyle="#FFFFFF",f.fillText(k,x,F),f.restore()})}}}}function Fg(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ee={},Rl={},ee={};Object.defineProperty(ee,"__esModule",{value:!0}),ee.default=ee.Wrap=ee.Unit=ee.PrintOptions=ee.PositionType=ee.Overflow=ee.NodeType=ee.MeasureMode=ee.LogLevel=ee.Justify=ee.Gutter=ee.FlexDirection=ee.ExperimentalFeature=ee.Errata=ee.Edge=ee.Display=ee.Direction=ee.Dimension=ee.Align=void 0;let zr=function(n){return n[n.Auto=0]="Auto",n[n.FlexStart=1]="FlexStart",n[n.Center=2]="Center",n[n.FlexEnd=3]="FlexEnd",n[n.Stretch=4]="Stretch",n[n.Baseline=5]="Baseline",n[n.SpaceBetween=6]="SpaceBetween",n[n.SpaceAround=7]="SpaceAround",n}({});ee.Align=zr;let Ll=function(n){return n[n.Width=0]="Width",n[n.Height=1]="Height",n}({});ee.Dimension=Ll;let Qa=function(n){return n[n.Inherit=0]="Inherit",n[n.LTR=1]="LTR",n[n.RTL=2]="RTL",n}({});ee.Direction=Qa;let _l=function(n){return n[n.Flex=0]="Flex",n[n.None=1]="None",n}({});ee.Display=_l;let _r=function(n){return n[n.Left=0]="Left",n[n.Top=1]="Top",n[n.Right=2]="Right",n[n.Bottom=3]="Bottom",n[n.Start=4]="Start",n[n.End=5]="End",n[n.Horizontal=6]="Horizontal",n[n.Vertical=7]="Vertical",n[n.All=8]="All",n}({});ee.Edge=_r;let na=function(n){return n[n.None=0]="None",n[n.StretchFlexBasis=1]="StretchFlexBasis",n[n.All=2147483647]="All",n[n.Classic=2147483646]="Classic",n}({});ee.Errata=na;let Ja=function(n){return n[n.WebFlexBasis=0]="WebFlexBasis",n[n.AbsolutePercentageAgainstPaddingEdge=1]="AbsolutePercentageAgainstPaddingEdge",n[n.FixJNILocalRefOverflows=2]="FixJNILocalRefOverflows",n}({});ee.ExperimentalFeature=Ja;let aa=function(n){return n[n.Column=0]="Column",n[n.ColumnReverse=1]="ColumnReverse",n[n.Row=2]="Row",n[n.RowReverse=3]="RowReverse",n}({});ee.FlexDirection=aa;let to=function(n){return n[n.Column=0]="Column",n[n.Row=1]="Row",n[n.All=2]="All",n}({});ee.Gutter=to;let Ys=function(n){return n[n.FlexStart=0]="FlexStart",n[n.Center=1]="Center",n[n.FlexEnd=2]="FlexEnd",n[n.SpaceBetween=3]="SpaceBetween",n[n.SpaceAround=4]="SpaceAround",n[n.SpaceEvenly=5]="SpaceEvenly",n}({});ee.Justify=Ys;let zs=function(n){return n[n.Error=0]="Error",n[n.Warn=1]="Warn",n[n.Info=2]="Info",n[n.Debug=3]="Debug",n[n.Verbose=4]="Verbose",n[n.Fatal=5]="Fatal",n}({});ee.LogLevel=zs;let eo=function(n){return n[n.Undefined=0]="Undefined",n[n.Exactly=1]="Exactly",n[n.AtMost=2]="AtMost",n}({});ee.MeasureMode=eo;let Il=function(n){return n[n.Default=0]="Default",n[n.Text=1]="Text",n}({});ee.NodeType=Il;let io=function(n){return n[n.Visible=0]="Visible",n[n.Hidden=1]="Hidden",n[n.Scroll=2]="Scroll",n}({});ee.Overflow=io;let ro=function(n){return n[n.Static=0]="Static",n[n.Relative=1]="Relative",n[n.Absolute=2]="Absolute",n}({});ee.PositionType=ro;let so=function(n){return n[n.Layout=1]="Layout",n[n.Style=2]="Style",n[n.Children=4]="Children",n}({});ee.PrintOptions=so;let oa=function(n){return n[n.Undefined=0]="Undefined",n[n.Point=1]="Point",n[n.Percent=2]="Percent",n[n.Auto=3]="Auto",n}({});ee.Unit=oa;let no=function(n){return n[n.NoWrap=0]="NoWrap",n[n.Wrap=1]="Wrap",n[n.WrapReverse=2]="WrapReverse",n}({});ee.Wrap=no;var Ng={ALIGN_AUTO:zr.Auto,ALIGN_FLEX_START:zr.FlexStart,ALIGN_CENTER:zr.Center,ALIGN_FLEX_END:zr.FlexEnd,ALIGN_STRETCH:zr.Stretch,ALIGN_BASELINE:zr.Baseline,ALIGN_SPACE_BETWEEN:zr.SpaceBetween,ALIGN_SPACE_AROUND:zr.SpaceAround,DIMENSION_WIDTH:Ll.Width,DIMENSION_HEIGHT:Ll.Height,DIRECTION_INHERIT:Qa.Inherit,DIRECTION_LTR:Qa.LTR,DIRECTION_RTL:Qa.RTL,DISPLAY_FLEX:_l.Flex,DISPLAY_NONE:_l.None,EDGE_LEFT:_r.Left,EDGE_TOP:_r.Top,EDGE_RIGHT:_r.Right,EDGE_BOTTOM:_r.Bottom,EDGE_START:_r.Start,EDGE_END:_r.End,EDGE_HORIZONTAL:_r.Horizontal,EDGE_VERTICAL:_r.Vertical,EDGE_ALL:_r.All,ERRATA_NONE:na.None,ERRATA_STRETCH_FLEX_BASIS:na.StretchFlexBasis,ERRATA_ALL:na.All,ERRATA_CLASSIC:na.Classic,EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS:Ja.WebFlexBasis,EXPERIMENTAL_FEATURE_ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE:Ja.AbsolutePercentageAgainstPaddingEdge,EXPERIMENTAL_FEATURE_FIX_JNILOCAL_REF_OVERFLOWS:Ja.FixJNILocalRefOverflows,FLEX_DIRECTION_COLUMN:aa.Column,FLEX_DIRECTION_COLUMN_REVERSE:aa.ColumnReverse,FLEX_DIRECTION_ROW:aa.Row,FLEX_DIRECTION_ROW_REVERSE:aa.RowReverse,GUTTER_COLUMN:to.Column,GUTTER_ROW:to.Row,GUTTER_ALL:to.All,JUSTIFY_FLEX_START:Ys.FlexStart,JUSTIFY_CENTER:Ys.Center,JUSTIFY_FLEX_END:Ys.FlexEnd,JUSTIFY_SPACE_BETWEEN:Ys.SpaceBetween,JUSTIFY_SPACE_AROUND:Ys.SpaceAround,JUSTIFY_SPACE_EVENLY:Ys.SpaceEvenly,LOG_LEVEL_ERROR:zs.Error,LOG_LEVEL_WARN:zs.Warn,LOG_LEVEL_INFO:zs.Info,LOG_LEVEL_DEBUG:zs.Debug,LOG_LEVEL_VERBOSE:zs.Verbose,LOG_LEVEL_FATAL:zs.Fatal,MEASURE_MODE_UNDEFINED:eo.Undefined,MEASURE_MODE_EXACTLY:eo.Exactly,MEASURE_MODE_AT_MOST:eo.AtMost,NODE_TYPE_DEFAULT:Il.Default,NODE_TYPE_TEXT:Il.Text,OVERFLOW_VISIBLE:io.Visible,OVERFLOW_HIDDEN:io.Hidden,OVERFLOW_SCROLL:io.Scroll,POSITION_TYPE_STATIC:ro.Static,POSITION_TYPE_RELATIVE:ro.Relative,POSITION_TYPE_ABSOLUTE:ro.Absolute,PRINT_OPTIONS_LAYOUT:so.Layout,PRINT_OPTIONS_STYLE:so.Style,PRINT_OPTIONS_CHILDREN:so.Children,UNIT_UNDEFINED:oa.Undefined,UNIT_POINT:oa.Point,UNIT_PERCENT:oa.Percent,UNIT_AUTO:oa.Auto,WRAP_NO_WRAP:no.NoWrap,WRAP_WRAP:no.Wrap,WRAP_WRAP_REVERSE:no.WrapReverse};ee.default=Ng,Object.defineProperty(Rl,"__esModule",{value:!0}),Rl.default=Bg;var ps=Ug(ee);function _d(n){if(typeof WeakMap!="function")return null;var t=new WeakMap,e=new WeakMap;return(_d=function(i){return i?e:t})(n)}function Ug(n,t){if(!t&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var e=_d(t);if(e&&e.has(n))return e.get(n);var i={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in n)if(o!=="default"&&Object.prototype.hasOwnProperty.call(n,o)){var c=s?Object.getOwnPropertyDescriptor(n,o):null;c&&(c.get||c.set)?Object.defineProperty(i,o,c):i[o]=n[o]}return i.default=n,e&&e.set(n,i),i}function Bg(n){function t(s,o,c){const d=s[o];s[o]=function(){for(var f=arguments.length,p=new Array(f),g=0;g<f;g++)p[g]=arguments[g];return c.call(this,d,...p)}}for(const s of["setPosition","setMargin","setFlexBasis","setWidth","setHeight","setMinWidth","setMinHeight","setMaxWidth","setMaxHeight","setPadding"]){const o={[ps.Unit.Point]:n.Node.prototype[s],[ps.Unit.Percent]:n.Node.prototype[`${s}Percent`],[ps.Unit.Auto]:n.Node.prototype[`${s}Auto`]};t(n.Node.prototype,s,function(c){for(var d=arguments.length,f=new Array(d>1?d-1:0),p=1;p<d;p++)f[p-1]=arguments[p];const g=f.pop();let v,A;if(g==="auto")v=ps.Unit.Auto,A=void 0;else if(typeof g=="object")v=g.unit,A=g.valueOf();else if(v=typeof g=="string"&&g.endsWith("%")?ps.Unit.Percent:ps.Unit.Point,A=parseFloat(g),!Number.isNaN(g)&&Number.isNaN(A))throw new Error(`Invalid value ${g} for ${s}`);if(!o[v])throw new Error(`Failed to execute "${s}": Unsupported unit '${g}'`);return A!==void 0?o[v].call(this,...f,A):o[v].call(this,...f)})}function e(s){return n.MeasureCallback.implement({measure:function(){const{width:o,height:c}=s(...arguments);return{width:o??NaN,height:c??NaN}}})}t(n.Node.prototype,"setMeasureFunc",function(s,o){return o?s.call(this,e(o)):this.unsetMeasureFunc()});function i(s){return n.DirtiedCallback.implement({dirtied:s})}return t(n.Node.prototype,"setDirtiedFunc",function(s,o){s.call(this,i(o))}),t(n.Config.prototype,"free",function(){n.Config.destroy(this)}),t(n.Node,"create",(s,o)=>o?n.Node.createWithConfig(o):n.Node.createDefault()),t(n.Node.prototype,"free",function(){n.Node.destroy(this)}),t(n.Node.prototype,"freeRecursive",function(){for(let s=0,o=this.getChildCount();s<o;++s)this.getChild(0).freeRecursive();this.free()}),t(n.Node.prototype,"calculateLayout",function(s){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:NaN,d=arguments.length>3&&arguments[3]!==void 0?arguments[3]:ps.Direction.LTR;return s.call(this,o,c,d)}),{Config:n.Config,Node:n.Node,...ps.default}}var Id={exports:{}};(function(n,t){var e=(()=>{var i=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return function(s){s=s||{};var o;o||(o=typeof s<"u"?s:{});var c,d;o.ready=new Promise(function(I,C){c=I,d=C});var f=Object.assign({},o),p="";typeof document<"u"&&document.currentScript&&(p=document.currentScript.src),i&&(p=i),p.indexOf("blob:")!==0?p=p.substr(0,p.replace(/[?#].*/,"").lastIndexOf("/")+1):p="";var g=o.print||console.log.bind(console),v=o.printErr||console.warn.bind(console);Object.assign(o,f),f=null;var A;o.wasmBinary&&(A=o.wasmBinary),o.noExitRuntime;function E(){this.buffer=new ArrayBuffer(H/65536*65536)}function T(){}function k(I){this.exports=function(C){function U(ti){return ti.set=function(le,tr){this[le]=tr},ti.get=function(le){return this[le]},ti}for(var B,et=new Uint8Array(123),mt=25;mt>=0;--mt)et[48+mt]=52+mt,et[65+mt]=mt,et[97+mt]=26+mt;et[43]=62,et[47]=63;function lt(ti,le,tr){for(var Pi,ft,Fr=0,l=le,bt=tr.length,Cn=le+(bt*3>>2)-(tr[bt-2]=="=")-(tr[bt-1]=="=");Fr<bt;Fr+=4)Pi=et[tr.charCodeAt(Fr+1)],ft=et[tr.charCodeAt(Fr+2)],ti[l++]=et[tr.charCodeAt(Fr)]<<2|Pi>>4,l<Cn&&(ti[l++]=Pi<<4|ft>>2),l<Cn&&(ti[l++]=ft<<6|et[tr.charCodeAt(Fr+3)])}function Rt(ti){lt(B,1024,"T25seSBsZWFmIG5vZGVzIHdpdGggY3VzdG9tIG1lYXN1cmUgZnVuY3Rpb25zIHNob3VsZCBtYW51YWxseSBtYXJrIHRoZW1zZWx2ZXMgYXMgZGlydHkAaXNEaXJ0eQBtYXJrRGlydHkAZGVzdHJveQBzZXREaXNwbGF5AGdldERpc3BsYXkAc2V0RmxleAAtKyAgIDBYMHgALTBYKzBYIDBYLTB4KzB4IDB4AHNldEZsZXhHcm93AGdldEZsZXhHcm93AHNldE92ZXJmbG93AGdldE92ZXJmbG93AGNhbGN1bGF0ZUxheW91dABnZXRDb21wdXRlZExheW91dAB1bnNpZ25lZCBzaG9ydABnZXRDaGlsZENvdW50AHVuc2lnbmVkIGludABzZXRKdXN0aWZ5Q29udGVudABnZXRKdXN0aWZ5Q29udGVudABzZXRBbGlnbkNvbnRlbnQAZ2V0QWxpZ25Db250ZW50AGdldFBhcmVudABpbXBsZW1lbnQAc2V0TWF4SGVpZ2h0UGVyY2VudABzZXRIZWlnaHRQZXJjZW50AHNldE1pbkhlaWdodFBlcmNlbnQAc2V0RmxleEJhc2lzUGVyY2VudABzZXRQb3NpdGlvblBlcmNlbnQAc2V0TWFyZ2luUGVyY2VudABzZXRNYXhXaWR0aFBlcmNlbnQAc2V0V2lkdGhQZXJjZW50AHNldE1pbldpZHRoUGVyY2VudABzZXRQYWRkaW5nUGVyY2VudABjcmVhdGVEZWZhdWx0AHVuaXQAcmlnaHQAaGVpZ2h0AHNldE1heEhlaWdodABnZXRNYXhIZWlnaHQAc2V0SGVpZ2h0AGdldEhlaWdodABzZXRNaW5IZWlnaHQAZ2V0TWluSGVpZ2h0AGdldENvbXB1dGVkSGVpZ2h0AGdldENvbXB1dGVkUmlnaHQAbGVmdABnZXRDb21wdXRlZExlZnQAcmVzZXQAX19kZXN0cnVjdABmbG9hdAB1aW50NjRfdAB1c2VXZWJEZWZhdWx0cwBzZXRVc2VXZWJEZWZhdWx0cwBzZXRBbGlnbkl0ZW1zAGdldEFsaWduSXRlbXMAc2V0RmxleEJhc2lzAGdldEZsZXhCYXNpcwBDYW5ub3QgZ2V0IGxheW91dCBwcm9wZXJ0aWVzIG9mIG11bHRpLWVkZ2Ugc2hvcnRoYW5kcwB1c2VMZWdhY3lTdHJldGNoQmVoYXZpb3VyAHNldFVzZUxlZ2FjeVN0cmV0Y2hCZWhhdmlvdXIAc2V0UG9pbnRTY2FsZUZhY3RvcgBNZWFzdXJlQ2FsbGJhY2tXcmFwcGVyAERpcnRpZWRDYWxsYmFja1dyYXBwZXIAQ2Fubm90IHJlc2V0IGEgbm9kZSBzdGlsbCBhdHRhY2hlZCB0byBhIG93bmVyAHNldEJvcmRlcgBnZXRCb3JkZXIAZ2V0Q29tcHV0ZWRCb3JkZXIAdW5zaWduZWQgY2hhcgB0b3AAZ2V0Q29tcHV0ZWRUb3AAc2V0RmxleFdyYXAAZ2V0RmxleFdyYXAAc2V0R2FwAGdldEdhcAAlcABzZXRIZWlnaHRBdXRvAHNldEZsZXhCYXNpc0F1dG8Ac2V0TWFyZ2luQXV0bwBzZXRXaWR0aEF1dG8AU2NhbGUgZmFjdG9yIHNob3VsZCBub3QgYmUgbGVzcyB0aGFuIHplcm8Ac2V0QXNwZWN0UmF0aW8AZ2V0QXNwZWN0UmF0aW8Ac2V0UG9zaXRpb24AZ2V0UG9zaXRpb24Abm90aWZ5T25EZXN0cnVjdGlvbgBzZXRGbGV4RGlyZWN0aW9uAGdldEZsZXhEaXJlY3Rpb24Ac2V0TWFyZ2luAGdldE1hcmdpbgBnZXRDb21wdXRlZE1hcmdpbgBuYW4AYm90dG9tAGdldENvbXB1dGVkQm90dG9tAGJvb2wAZW1zY3JpcHRlbjo6dmFsAHNldEZsZXhTaHJpbmsAZ2V0RmxleFNocmluawBNZWFzdXJlQ2FsbGJhY2sARGlydGllZENhbGxiYWNrAHdpZHRoAHNldE1heFdpZHRoAGdldE1heFdpZHRoAHNldFdpZHRoAGdldFdpZHRoAHNldE1pbldpZHRoAGdldE1pbldpZHRoAGdldENvbXB1dGVkV2lkdGgAdW5zaWduZWQgbG9uZwBzdGQ6OndzdHJpbmcAc3RkOjpzdHJpbmcAc3RkOjp1MTZzdHJpbmcAc3RkOjp1MzJzdHJpbmcAc2V0UGFkZGluZwBnZXRQYWRkaW5nAGdldENvbXB1dGVkUGFkZGluZwBBdHRlbXB0aW5nIHRvIGNvbnN0cnVjdCBZR05vZGUgd2l0aCBudWxsIGNvbmZpZwBUcmllZCB0byBjb25zdHJ1Y3QgWUdOb2RlIHdpdGggbnVsbCBjb25maWcAY3JlYXRlV2l0aENvbmZpZwBpbmYAc2V0QWxpZ25TZWxmAGdldEFsaWduU2VsZgBTaXplAHZhbHVlAFZhbHVlAGNyZWF0ZQBtZWFzdXJlAHNldFBvc2l0aW9uVHlwZQBnZXRQb3NpdGlvblR5cGUAaXNSZWZlcmVuY2VCYXNlbGluZQBzZXRJc1JlZmVyZW5jZUJhc2VsaW5lAGNvcHlTdHlsZQBkb3VibGUATm9kZQBleHRlbmQAaW5zZXJ0Q2hpbGQAZ2V0Q2hpbGQAcmVtb3ZlQ2hpbGQAdm9pZABhdmFpbGFibGVIZWlnaHQgaXMgaW5kZWZpbml0ZSBzbyBoZWlnaHRNZWFzdXJlTW9kZSBtdXN0IGJlIFlHTWVhc3VyZU1vZGVVbmRlZmluZWQAYXZhaWxhYmxlV2lkdGggaXMgaW5kZWZpbml0ZSBzbyB3aWR0aE1lYXN1cmVNb2RlIG11c3QgYmUgWUdNZWFzdXJlTW9kZVVuZGVmaW5lZABzZXRFeHBlcmltZW50YWxGZWF0dXJlRW5hYmxlZABpc0V4cGVyaW1lbnRhbEZlYXR1cmVFbmFibGVkAGRpcnRpZWQAQ2Fubm90IHJlc2V0IGEgbm9kZSB3aGljaCBzdGlsbCBoYXMgY2hpbGRyZW4gYXR0YWNoZWQAdW5zZXRNZWFzdXJlRnVuYwB1bnNldERpcnRpZWRGdW5jAHNldEVycmF0YQBnZXRFcnJhdGEARXhwZWN0IGN1c3RvbSBiYXNlbGluZSBmdW5jdGlvbiB0byBub3QgcmV0dXJuIE5hTgBOQU4ASU5GAGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHNob3J0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBzaG9ydD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBpbnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGZsb2F0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50OF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQ4X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8Y2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgY2hhcj4Ac3RkOjpiYXNpY19zdHJpbmc8dW5zaWduZWQgY2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8c2lnbmVkIGNoYXI+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGxvbmc+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIGxvbmc+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGRvdWJsZT4AQ2hpbGQgYWxyZWFkeSBoYXMgYSBvd25lciwgaXQgbXVzdCBiZSByZW1vdmVkIGZpcnN0LgBDYW5ub3Qgc2V0IG1lYXN1cmUgZnVuY3Rpb246IE5vZGVzIHdpdGggbWVhc3VyZSBmdW5jdGlvbnMgY2Fubm90IGhhdmUgY2hpbGRyZW4uAENhbm5vdCBhZGQgY2hpbGQ6IE5vZGVzIHdpdGggbWVhc3VyZSBmdW5jdGlvbnMgY2Fubm90IGhhdmUgY2hpbGRyZW4uAChudWxsKQAlcwoAAQAAAAMAAAAAAAAAAgAAAAMAAAABAAAAAgAAAAAAAAABAAAAAQ=="),lt(B,4338,"wH8DAAAAAADAfwAAAABpaQB2AHZp"),lt(B,4368,"exsAAHkbAAC5GwAAsxsAALkbAACzGwAAaWlpZmlmaQCsGwAAfBsAAHZpaQB9GwAAwBsAAGlpaQ=="),lt(B,4432,"xwAAAMgAAADJ"),lt(B,4452,"xwAAAMoAAADLAAAArBs="),lt(B,4480,"exsAALkbAACzGwAAuRsAALMbAADAGwAAuxsAAMAbAABpaWlpAAAAAKwbAACRGwAArBsAAJMbAACUGwAAwBs="),lt(B,4552,"zAAAAM0AAADO"),lt(B,4572,"zAAAAM8AAADLAAAAlxsAAKwbAACXGw=="),lt(B,4608,"rBsAAJcbAACzGwAArRsAAHZpaWlpAAAArBsAAJcbAAC5GwAAdmlpZgAAAACsGwAAlxsAAK0bAAB2aWlpAAAAAKwbAACXGwAAsxsAAK0bAACYGwAAsxsAAK0bAACYGwAAsxsAAJgbAABpAGRpaQB2aWlkAACcGwAAnBsAAJcbAACsGwAAnBsAAKwbAACcGwAAmxsAAKwbAACcGwAAsxsAAKwbAACcGwAAsxsAALobAAB2aWlpZAAAAKwbAACcGwAAuhsAALMbAACdGwAAmhsAAJ0bAACzGwAAmhsAAJ0bAAC6GwAAnRsAALobAACdGwAAsxsAAGRpaWkAAAAAuRsAAJwbAACzGwAAZmlpaQAAAACsGwAAnBsAAJwbAAC0GwAArBsAAJwbAACcGwAAtBsAAJ0bAACcGwAAnBsAAJwbAACcGwAAtBsAAK0bAACcGwAArBsAAJwbAACtGwAArBsAAJwbAAB5GwAArBsAAJwbAACRGwAArRsAAJ0bAAAAAAAArBsAAJwbAAC6GwAAuhsAALMbAAB2aWlkZGkAAJkbAACdGw=="),lt(B,5040,"GQAKABkZGQAAAAAFAAAAAAAACQAAAAALAAAAAAAAAAAZABEKGRkZAwoHAAEACQsYAAAJBgsAAAsABhkAAAAZGRk="),lt(B,5121,"DgAAAAAAAAAAGQAKDRkZGQANAAACAAkOAAAACQAOAAAO"),lt(B,5179,"DA=="),lt(B,5191,"EwAAAAATAAAAAAkMAAAAAAAMAAAM"),lt(B,5237,"EA=="),lt(B,5249,"DwAAAAQPAAAAAAkQAAAAAAAQAAAQ"),lt(B,5295,"Eg=="),lt(B,5307,"EQAAAAARAAAAAAkSAAAAAAASAAASAAAaAAAAGhoa"),lt(B,5362,"GgAAABoaGgAAAAAAAAk="),lt(B,5411,"FA=="),lt(B,5423,"FwAAAAAXAAAAAAkUAAAAAAAUAAAU"),lt(B,5469,"Fg=="),lt(B,5481,"FQAAAAAVAAAAAAkWAAAAAAAWAAAWAAAwMTIzNDU2Nzg5QUJDREVG"),lt(B,5556,"1Q=="),lt(B,5596,"//////////8="),lt(B,5664,"8B8BAAAAAAAF"),lt(B,5684,"0A=="),lt(B,5708,"0QAAANIAAADUGw=="),lt(B,5732,"Ag=="),lt(B,5748,"//////////8="),lt(B,5816,"BQ=="),lt(B,5828,"0w=="),lt(B,5852,"0QAAANQAAADoGwAAAAQ="),lt(B,5876,"AQ=="),lt(B,5892,"/////wo="),lt(B,5960,"1g==")}var _t=new ArrayBuffer(16),It=new Int32Array(_t),Nt=new Float32Array(_t),Yt=new Float64Array(_t);function Jt(ti){return It[ti]}function Ct(ti,le){It[ti]=le}function Ae(){return Yt[0]}function pi(ti){Yt[0]=ti}function ue(){throw new Error("abort")}function ji(ti){Nt[2]=ti}function Gt(){return Nt[2]}function Wo(ti){var le=ti.a,tr=le.a,Pi=tr.buffer;tr.grow=Nk;var ft=new Int8Array(Pi),Fr=new Int16Array(Pi),l=new Int32Array(Pi),bt=new Uint8Array(Pi),Cn=new Uint16Array(Pi),Hf=new Uint32Array(Pi),D=new Float32Array(Pi),Fe=new Float64Array(Pi),Ne=Math.imul,m=Math.fround,Be=Math.abs,gr=Math.clz32,OA=Math.min,MA=Math.max,zt=NaN,Wf=1/0,wt=le.b,Ei=le.c,ss=le.d,ns=le.e,Rs=le.f,Dn=le.g,Ca=le.h,jo=le.i,oh=le.j,lh=le.k,ch=le.l,jf=le.m,Kf=le.n,Yf=le.o,zf=le.p,Zf=le.q,$A=le.r,FA=le.s,NA=le.t,UA=le.u,BA=le.v,GA=le.w,VA=le.x,HA=le.y,WA=le.z,jA=le.A,KA=le.B,YA=le.C,zA=le.D,Et=73712,Oi=0;function Xf(r,a,h,u,y,b,w,S,P,K,J,dt,X,tt){var O=0,j=m(0),Y=0,Z=m(0),st=0,at=m(0),pt=0,yt=m(0),Lt=0,xt=0,Ft=m(0),Ht=0,Xt=0,re=m(0),me=m(0),Le=m(0),xe=m(0),Pe=0,Ue=m(0),Ve=m(0),ei=0,ii=0,vi=m(0),_i=0,Yi=0,Ii=0,Fi=0,zi=m(0),Zi=0,Sr=0,Rr=0,Vr=0,Hr=m(0),Wr=0,jr=0,as=0,os=0,ls=m(0),Cs=0,Ds=0,xs=0,Ps=m(0),Os=0,Ms=m(0),Pa=0,Oa=m(0),Ma=m(0),$a=m(0),Fa=0,Jo=m(0),wh=0,Sh=m(0),Rh=m(0),Lh=m(0),_h=m(0),Ih=0,Kp=0,Yp=0,zp=0,Zp=0,Xp=0,qp=0,Qp=0,He=0,We=m(0),Fn=m(0);O=Et-384|0,Et=O;t:{r:{i:{if(!(y&&a!=a)){if(!(b&&h!=h)){if(Y=(P?0:4)+J|0,l[Y>>2]=l[Y>>2]+1,Y=l[r+24>>2]&3,wh=(u|0)<=1?1:u,Fi=Y||wh,ft[r+300|0]=bt[r+300|0]&252|Fi&3,Y=r+252|0,u=((Fi|0)!=1)<<3,Cs=(Fi|0)==2?3:2,at=fe(r,Cs,w),D[Y+u>>2]=at,st=Y,Y=((Fi|0)==1)<<3,me=Se(r,Cs,w),D[st+Y>>2]=me,yt=fe(r,0,w),D[r+256>>2]=yt,xe=Se(r,0,w),D[r+264>>2]=xe,st=r+268|0,He=st+u|0,We=ge(r,Cs),D[He>>2]=We,He=Y+st|0,We=Re(r,Cs),D[He>>2]=We,j=ge(r,0),D[r+272>>2]=j,Ue=Re(r,0),D[r+280>>2]=Ue,st=u,u=r+284|0,He=st+u|0,We=Ce(r,Cs,w),D[He>>2]=We,He=u+Y|0,We=De(r,Cs,w),D[He>>2]=We,Z=Ce(r,0,w),D[r+288>>2]=Z,Ft=De(r,0,w),D[r+296>>2]=Ft,at=m(at+me),me=m(yt+xe),u=l[r+8>>2],u){yt=m(m(m(D[r+284>>2]+D[r+292>>2])+D[r+268>>2])+D[r+276>>2]),h=m(b?h-me:zt),j=m(m(Z+Ft)+j),Z=m(y?a-at:zt),a=Z;e:{if(a!=a)break e;if(a=m(Z-yt),a!=a){a=m(0);break e}a=ce(a,m(0))}at=m(j+Ue),j=h;e:{if(h!=h)break e;if(j=m(h-at),j!=j){j=m(0);break e}j=ce(j,m(0))}if(!((y|0)!=1|(b|0)!=1)){a=Ge(r,2,Z,w),u=a!=a,j=m(m(Ce(r,2,w)+ge(r,2))+m(De(r,2,w)+Re(r,2)));e:{if(!(u|j!=j)){a=ce(a,j);break e}a=u?j:a}D[r+516>>2]=a,a=Ge(r,0,h,S),u=a!=a,h=m(m(Ce(r,0,w)+ge(r,0))+m(De(r,0,w)+Re(r,0)));e:{if(!(u|h!=h)){a=ce(a,h);break e}a=u?h:a}D[r+520>>2]=a;break t}e:{if(bt[r+4|0]&16){Dt[u|0](O+24|0,r,a,y,j,b,0);break e}Dt[u|0](O+24|0,r,a,y,j,b)}l[J+20>>2]=l[J+20>>2]+1,u=(tt<<2)+J|0,l[u+24>>2]=l[u+24>>2]+1,a=m(yt+D[O+24>>2]),a=Ge(r,2,y?(y|0)==2?a:Z:a,w),u=a!=a,j=m(m(Ce(r,2,w)+ge(r,2))+m(De(r,2,w)+Re(r,2)));e:{if(!(u|j!=j)){a=ce(a,j);break e}a=u?j:a}D[r+516>>2]=a,a=m(at+D[O+28>>2]),a=Ge(r,0,b?(b|0)==2?a:h:a,S),u=a!=a,h=m(m(Ce(r,0,w)+ge(r,0))+m(De(r,0,w)+Re(r,0)));e:{if(!(u|h!=h)){a=ce(a,h);break e}a=u?h:a}D[r+520>>2]=a;break t}if(u=l[r+556>>2],tt=l[r+560>>2],(u|0)==(tt|0)){me=m(h-me),a=Ge(r,2,y&-3?m(a-at):m(m(m(D[r+284>>2]+D[r+292>>2])+D[r+268>>2])+D[r+276>>2]),w),u=a!=a,h=m(m(Ce(r,2,w)+ge(r,2))+m(De(r,2,w)+Re(r,2)));e:{if(!(u|h!=h)){a=ce(a,h);break e}a=u?h:a}D[r+516>>2]=a,a=Ge(r,0,b&-3?me:m(m(m(Z+Ft)+j)+Ue),S),u=a!=a,h=m(m(Ce(r,0,w)+ge(r,0))+m(De(r,0,w)+Re(r,0)));e:{if(!(u|h!=h)){a=ce(a,h);break e}a=u?h:a}D[r+520>>2]=a;break t}e:{if(P||(j=m(a-at),Z=m(h-me),!(!(!(j<=m(0))|(y|0)!=2)&j==j|!(!(Z<=m(0))|(b|0)!=2)&Z==Z)&((y|0)!=1|(b|0)!=1)))break e;a=Ge(r,2,j!=j||(y|0)==2&&j<m(0)?m(0):j,w),u=a!=a,h=m(m(Ce(r,2,w)+ge(r,2))+m(De(r,2,w)+Re(r,2)));s:{if(!(u|h!=h)){a=ce(a,h);break s}a=u?h:a}D[r+516>>2]=a,a=Ge(r,0,Z!=Z||(b|0)==2&&Z<m(0)?m(0):Z,S),u=a!=a,h=m(m(Ce(r,0,w)+ge(r,0))+m(De(r,0,w)+Re(r,0)));s:{if(!(u|h!=h)){a=ce(a,h);break s}a=u?h:a}D[r+520>>2]=a;break t}for(ei=tt-u|0,Vr=ei>>2;Y=l[u>>2],l[Y+552>>2]!=(r|0)&&(st=l[r+568>>2],Y=hp(l[st>>2],bt[st+8|0],Y,r,Lt,0),l[u>>2]=Y,l[Y+552>>2]=r),Lt=Lt+1|0,u=u+4|0,(tt|0)!=(u|0););ft[r+300|0]=bt[r+300|0]&251,Lt=3,_i=l[r+24>>2],u=_i>>>2&3;e:{s:{n:{if((Fi|0)==2){tt=0;a:switch(u-2|0){case 0:break e;case 1:break a;default:break n}Lt=2;break e}if(Lt=2,tt=0,u>>>0>1)break s}tt=Lt}Lt=u}Sh=m(a-at),Hr=m(m(Ce(r,Lt,w)+ge(r,Lt))+m(De(r,Lt,w)+Re(r,Lt))),Ue=m(Ce(r,tt,w)+ge(r,tt)),zi=m(Ue+m(De(r,tt,w)+Re(r,tt))),Zi=Lt>>>0>1,yt=ep(r,0,Sh,Zi?Hr:zi,w),Rh=m(h-me),Ve=ep(r,1,Rh,Zi?zi:Hr,S),xe=Zi?Ve:yt,me=Zi?yt:Ve,Wr=l[r+560>>2],Y=l[r+556>>2],Yi=Zi?y:b;e:{if((Yi|0)!=1)break e;if((Y|0)==(Wr|0))break i;for(u=Y;;){st=l[u>>2];s:{if(!Ap(st))break s;if(Xt=0,pt)break e;n:{a:{if(!l[st+552>>2]){j=m(0);break a}if(h=D[st+32>>2],h!=h&&(j=m(0),h=D[st+28>>2],!(h>m(0))))break a;if(j=h,h!=h)break n}if(m(Be(j))<m(9999999747378752e-20))break e}if(a=Mn(st),a!=a){pt=st;break s}if(pt=st,m(Be(a))<m(9999999747378752e-20))break e}if(Xt=pt,u=u+4|0,(Wr|0)==(u|0))break}}if((Y|0)==(Wr|0))break i;for(Pa=(Fi|0)<=1?1:Fi,Ds=yt!=yt,jr=Ds|(y|0)!=1,as=Ve==Ve,xs=yt==yt,j=m(0);;){Ht=l[Y>>2],tp(Ht),st=l[Ht+24>>2];e:{if(st&4194304){if(sp(Ht,0),u=bt[Ht+4|0],st=u|1,ft[Ht+4|0]=st,!(u&4))break e;ft[Ht+4|0]=st&251;break e}if(P&&(u=st&3,dp(Ht,u||Pa,me,xe,yt),st=l[Ht+24>>2]),(st&196608)==131072)break e;s:{if((Ht|0)==(Xt|0)){l[Xt+308>>2]=0,l[Xt+304>>2]=X,h=m(0);break s}os=l[r+24>>2],u=os>>>2&3;n:{a:{if((Fi|0)!=2)break a;pt=3;o:switch(u-2|0){case 0:break n;case 1:break o;default:break a}pt=2;break n}pt=u}Sr=pt>>>0>1,at=Sr?yt:Ve,h=m(0),a=D[Ht+40>>2];n:{a:{xt=l[Ht+40>>2];o:{if((xt|0)==2139156720)break o;if((xt|0)==2140081935)break a;u=4336;l:{if((xt|0)!=2141891242){if(a==a)break l;u=4344}h=D[u>>2];c:{h:switch(xt=l[u+4>>2],xt|0){case 0:case 3:break h;default:break c}if(a=m(zt),!(D[Ht+28>>2]>m(0)))break n;xt=ft[l[Ht+568>>2]+8|0]&1,u=xt?2143289344:0,xt=xt?3:1,h=(Ct(2,u),Gt())}switch(a=m(zt),xt-1|0){case 0:break a;case 1:break o;default:break n}}if(h=(Ct(2,(xt&-1073741825)+536870912|0),Gt()),!(xt&1073741824))break a}a=m(m(at*h)*m(.009999999776482582));break n}a=h}h=D[Ht+572>>2],xt=0;n:{a:switch(Pe=l[Ht+576>>2],Pe|0){case 0:case 3:break n;default:break a}if(Z=D[Ht+572>>2],!((Pe|0)!=1|Z!=Z)){if(h<m(0))break n;xt=1;break n}if(xt=1,(Pe|0)!=2|Z!=Z||(xt=0,h<m(0)))break n;xt=xs}Z=D[Ht+580>>2],u=0;n:{a:switch(ii=l[Ht+584>>2],ii|0){case 0:case 3:break n;default:break a}if(Ft=D[Ht+580>>2],!((ii|0)!=1|Ft!=Ft)){if(Z<m(0))break n;u=1;break n}if(u=1,(ii|0)!=2|Ft!=Ft||(u=0,Z<m(0)))break n;u=as}n:{a:{if(!(a!=a|at!=at)){if(h=D[Ht+308>>2],(!(ft[l[Ht+568>>2]+12|0]&1)|l[Ht+304>>2]==(X|0))&h==h)break n;if(h=m(m(Ce(Ht,pt,yt)+ge(Ht,pt))+m(De(Ht,pt,yt)+Re(Ht,pt))),!(h<=a)&a<h)break a;h=a;break a}if(xt&Sr){Z=m(m(Ce(Ht,2,yt)+ge(Ht,2))+m(De(Ht,2,yt)+Re(Ht,2))),a=m(zt);o:switch(Pe-1|0){case 1:h=m(m(yt*h)*m(.009999999776482582));case 0:if(a=h,Z<=a)break a;break;default:break o}if(!(a==a|Z==Z)){h=a;break a}if(a<Z){h=Z;break a}h=a!=a?Z:a;break a}if(!(Sr|u^1)){a=m(m(Ce(Ht,0,yt)+ge(Ht,0))+m(De(Ht,0,yt)+Re(Ht,0))),h=m(zt);o:switch(ii-1|0){case 1:Z=m(m(Ve*Z)*m(.009999999776482582));case 0:if(h=Z,a<=h)break a;break;default:break o}if(h!=h&a!=a)break a;if(a>h){h=a;break a}h=h!=h?a:h;break a}if(l[O+360>>2]=2143289344,l[O+24>>2]=2143289344,Ii=0,l[O+356>>2]=0,l[O+352>>2]=0,Ft=m(fe(Ht,2,yt)+Se(Ht,2,yt)),re=fe(Ht,0,yt),Le=Se(Ht,0,yt),at=m(zt),Rr=0,a=m(zt),xt){o:{l:switch(Pe-1|0){case 0:a=h;break o;case 1:break l;default:break o}a=m(m(yt*h)*m(.009999999776482582))}l[O+356>>2]=1,a=m(Ft+a),D[O+24>>2]=a,Rr=1}if(re=m(re+Le),u){h=m(zt);o:{l:switch(ii-1|0){case 0:h=Z;break o;case 1:break l;default:break o}h=m(m(Ve*Z)*m(.009999999776482582))}l[O+352>>2]=1,at=m(re+h),D[O+360>>2]=at,Ii=1}Pe=(os&3145728)==2097152,ii=pt>>>0<2;o:{l:{c:{if(!(Pe&ii)){if(Pe|Ds)break l;if(a!=a)break c;break l}if(Ds|a==a)break o}Rr=2,l[O+356>>2]=2,D[O+24>>2]=yt,a=yt}l:{if(!Pe||ii){if(Pe|Ve!=Ve)break o;if(at!=at)break l;break o}if(at==at|Ve!=Ve)break o}Ii=2,l[O+352>>2]=2,D[O+360>>2]=Ve,at=Ve}h=D[Ht+224>>2],Pe=h!=h;o:{if(Pe)break o;l:{if(!(Sr|(Rr|0)!=1)){l[O+352>>2]=1,D[O+360>>2]=re+m(m(a-Ft)/h);break l}if(ii|(Ii|0)!=1)break o;l[O+356>>2]=1,D[O+24>>2]=m(m(at-re)*h)+Ft}Ii=1,Rr=1}st=st>>>13&7,st=st||os>>>10&7;o:{if((st|0)==5|(Rr|0)==1|(Sr|(xt|jr))|(st|0)!=4||(l[O+356>>2]=1,D[O+24>>2]=yt,Pe))break o;Ii=1,l[O+352>>2]=1,D[O+360>>2]=m(yt-Ft)/h}o:{if(ii|(b|0)!=1|Ve!=Ve|u|(st|0)!=4|(Ii|0)==1||(l[O+352>>2]=1,D[O+360>>2]=Ve,Pe))break o;l[O+356>>2]=1,D[O+24>>2]=m(Ve-re)*h}if(xn(Ht,2,yt,yt,O+356|0,O+24|0),xn(Ht,0,Ve,yt,O+352|0,O+360|0),an(Ht,D[O+24>>2],D[O+360>>2],Fi,l[O+356>>2],l[O+352>>2],yt,Ve,0,5,K,J,dt,X),a=D[(Ht+(l[(pt<<2)+4320>>2]<<2)|0)+516>>2],u=a!=a,h=m(m(Ce(Ht,pt,yt)+ge(Ht,pt))+m(De(Ht,pt,yt)+Re(Ht,pt))),!(u|h!=h)){h=ce(a,h);break a}h=u?h:a}D[Ht+308>>2]=h}l[Ht+304>>2]=X}j=m(j+m(h+m(fe(Ht,Lt,yt)+Se(Ht,Lt,yt))))}if(Y=Y+4|0,(Wr|0)==(Y|0))break}break r}l[O>>2]=3072,er(r,O),Ki(),ue()}l[O+16>>2]=3154,er(r,O+16|0),Ki(),ue()}j=m(0)}a=m(j+m(0)),Oa=Zi?S:w,Ps=Zi?w:S,ei>>>0>=5&&(a=m(m(Ko(r,Lt,xe)*m(Vr-1>>>0))+a)),u=a>me,Wr=_i&786432,as=(Yi|0)==2&&Wr&&u?1:Yi,Ht=Zi?b:y,Sr=(Ht|0)==1,Kp=Sr&(P^1),Zi=Lt>>>0<2,Yp=Ht&-3,Ds=r+208|0,b=tt<<2,ii=b+4288|0,zp=Sr&!Wr,Zp=(Ht|0)!=1|P,Y=Lt<<2,Rr=Y+4288|0,xs=Y+4320|0,os=xe==xe,Xp=os<<1,Pe=b+4320|0,qp=!Yi|!u,Pa=O+52|0,Lh=Ko(r,tt,xe),st=0,u=0,Ii=0;r:{for(;;){Yi=u,$i(O+24|0,0,44),u=l[r+560>>2],b=l[r+556>>2];i:{if((u|0)==(b|0))break i;if(u=u-b|0,(u|0)<0)break r;if(Y=xa(O+360|0,u>>2,0,Pa),u=l[O+44>>2],b=l[O+48>>2]-u|0,b=Ls(l[O+364>>2]-b|0,u,b),u=l[O+44>>2],l[O+364>>2]=u,l[O+44>>2]=b,pt=l[O+368>>2],xt=l[O+372>>2],b=l[O+48>>2],l[O+368>>2]=b,Xt=l[O+52>>2],l[O+48>>2]=pt,l[O+52>>2]=xt,l[O+372>>2]=Xt,l[Y>>2]=u,(u|0)!=(b|0)&&(l[O+368>>2]=b+((u-b|0)+3&-4)),!u)break i;gi(u)}Xt=l[r+24>>2],u=Xt>>>2&3;i:{e:{if(b=Xt&3,((b||wh)|0)!=2)break e;pt=3;s:switch(u-2|0){case 0:break i;case 1:break s;default:break e}pt=2;break i}pt=u}j=Ko(r,pt,yt),Y=st,xt=l[r+560>>2],b=l[r+556>>2];i:{if(Y>>>0>=xt-b>>2>>>0)break i;for(Xt=Xt&786432,h=m(0);;){if(xt-b>>2>>>0<=Y>>>0)break r;if(u=l[(Y<<2)+b>>2],ei=l[u+24>>2],!(ei&4194304|(ei&196608)==131072)){if(l[u+548>>2]=Yi,a=fe(u,pt,yt),Z=Se(u,pt,yt),b=l[O+24>>2],at=(Y|0)==(st|0)?m(0):j,a=m(a+Z),Z=D[u+308>>2],Ft=Ge(u,pt,Z,Ps),!(!b||!(m(at+m(a+m(h+Ft)))>me)|!Xt))break i;if(l[O+24>>2]=b+1,at=m(at+m(a+Ft)),D[O+28>>2]=at+D[O+28>>2],Ap(u)){e:{if(!l[u+552>>2]){a=m(0);break e}if(a=D[u+32>>2],a==a)break e;a=D[u+28>>2],a=a>m(0)?a:m(0)}D[O+32>>2]=a+D[O+32>>2],He=O,We=m(D[O+36>>2]-m(Mn(u)*Z)),D[He+36>>2]=We}b=l[O+48>>2];e:{if((b|0)!=l[O+52>>2]){l[b>>2]=u,l[O+48>>2]=b+4;break e}if(b=b-l[O+44>>2]|0,ei=b>>2,xt=ei+1|0,xt>>>0>=1073741824)break r;if(_i=b>>1,xt=xa(O+360|0,b>>>0>=2147483644?1073741823:xt>>>0<_i>>>0?_i:xt,ei,Pa),l[l[O+368>>2]>>2]=u,l[O+368>>2]=l[O+368>>2]+4,u=l[O+44>>2],b=l[O+48>>2]-u|0,b=Ls(l[O+364>>2]-b|0,u,b),u=l[O+44>>2],l[O+364>>2]=u,l[O+44>>2]=b,ei=l[O+368>>2],_i=l[O+372>>2],b=l[O+48>>2],l[O+368>>2]=b,jr=l[O+52>>2],l[O+48>>2]=ei,l[O+52>>2]=_i,l[O+372>>2]=jr,l[xt>>2]=u,(u|0)!=(b|0)&&(l[O+368>>2]=b+((u-b|0)+3&-4)),!u)break e;gi(u)}b=l[r+556>>2],xt=l[r+560>>2],h=m(h+at)}if(Y=Y+1|0,!(Y>>>0<xt-b>>2>>>0))break}}Le=D[O+32>>2],!(Le>m(0))|!(Le<m(1))||(l[O+32>>2]=1065353216,Le=m(1)),vi=D[O+36>>2],!(vi>m(0))|!(vi<m(1))||(l[O+36>>2]=1065353216,vi=m(1)),l[O+40>>2]=Y,Ft=D[O+28>>2],pt=l[O+24>>2],Ii&&gi(Ii),Z=D[O+56>>2],ei=l[O+48>>2],Ii=l[O+44>>2];i:{e:{s:{n:{if((as|0)==1)break n;h=m(0),a=D[Ds>>2];a:{o:{u=l[Ds>>2];l:{if((u|0)==2139156720)break l;if((u|0)==2140081935)break o;b=4336;c:{if((u|0)!=2141891242){if(a==a)break c;b=4344}switch(h=D[b>>2],a=m(zt),l[b+4>>2]-1|0){case 0:break o;case 1:break l;default:break a}}if(h=(Ct(2,(u&-1073741825)+536870912|0),Gt()),!(u&1073741824))break o}a=m(m(h*w)*m(.009999999776482582));break a}a=h}h=m(0),j=D[r+216>>2];a:{o:{u=l[r+216>>2];l:{if((u|0)==2139156720)break l;if((u|0)==2140081935)break o;b=4336;c:{if((u|0)!=2141891242){if(j==j)break c;b=4344}switch(h=D[b>>2],j=m(zt),l[b+4>>2]-1|0){case 0:break o;case 1:break l;default:break a}}if(h=(Ct(2,(u&-1073741825)+536870912|0),Gt()),!(u&1073741824))break o}j=m(m(h*w)*m(.009999999776482582));break a}j=h}h=m(0),at=D[r+212>>2];a:{o:{u=l[r+212>>2];l:{if((u|0)==2139156720)break l;if((u|0)==2140081935)break o;b=4336;c:{if((u|0)!=2141891242){if(at==at)break c;b=4344}switch(h=D[b>>2],at=m(zt),l[b+4>>2]-1|0){case 0:break o;case 1:break l;default:break a}}if(h=(Ct(2,(u&-1073741825)+536870912|0),Gt()),!(u&1073741824))break o}at=m(m(h*S)*m(.009999999776482582));break a}at=h}h=m(0),re=D[r+220>>2];a:{o:{u=l[r+220>>2];l:{if((u|0)==2139156720)break l;if((u|0)==2140081935)break o;b=4336;c:{if((u|0)!=2141891242){if(re==re)break c;b=4344}switch(h=D[b>>2],re=m(zt),l[b+4>>2]-1|0){case 0:break o;case 1:break l;default:break a}}if(h=(Ct(2,(u&-1073741825)+536870912|0),Gt()),!(u&1073741824))break o}re=m(m(h*S)*m(.009999999776482582));break a}re=h}if(u=Lt>>>0>1,h=m((u?a:at)-Hr),h==h&h>Ft||(h=m((u?j:re)-Hr),h==h&h<Ft))break s;if(ft[l[r+568>>2]+16|0]&1)break n;if(h=Ft,!l[r+552>>2]|Le==m(0))break e;a=D[r+32>>2];a:{o:{if(a==a){h=a;break o}if(h=D[r+28>>2],!(h>m(0)))break a}if(h!=h){h=me;break e}a=D[r+32>>2]}if(a!=a&&(h=Ft,a=D[r+28>>2],!(a>m(0)))||(h=me,a!=m(0)))break e;h=Ft;break e}h=me}if(h!=h)break e;Z=m(h-Ft);break i}if(!(Ft<m(0)))break i;Z=m(-Ft)}if(me=h,!Kp){i:{if((ei|0)==(Ii|0)){at=m(0);break i}for(re=m(0),b=Ii;;){u=l[b>>2],Ft=D[u+308>>2],h=Ge(u,Lt,Ft,Ps);e:{if(Z<m(0)){if(a=m(h*m(-Mn(u))),!(a>m(0)|a<m(0)))break e;j=m(m(m(Z/vi)*a)+h),a=Ge(u,Lt,j,me),xt=a!=a,at=m(m(Ce(u,Lt,yt)+ge(u,Lt))+m(De(u,Lt,yt)+Re(u,Lt)));s:{if(!(xt|at!=at)){a=ce(a,at);break s}a=xt?at:a}if(j!=j|a!=a|a==j)break e;re=m(re+m(a-h)),vi=m(m(Mn(u)*Ft)+vi);break e}if(!(Z>m(0))|!l[u+552>>2]||(j=D[u+32>>2],j!=j&&(j=D[u+28>>2],!(j>m(0))))||!(j<m(0)|j>m(0)))break e;at=m(m(m(Z/Le)*j)+h),a=Ge(u,Lt,at,me),xt=a!=a,Ft=m(m(Ce(u,Lt,yt)+ge(u,Lt))+m(De(u,Lt,yt)+Re(u,Lt)));s:{if(!(xt|Ft!=Ft)){a=ce(a,Ft);break s}a=xt?Ft:a}if(at!=at|a!=a|a==at)break e;Le=m(Le-j),re=m(re+m(a-h))}if(b=b+4|0,(ei|0)==(b|0))break}for(re=m(Z-re),Ma=m(re/vi),$a=m(re/Le),Fa=Sr&(qp|!(bt[r+26|0]&12)),jr=!Fa,_i=l[Pe>>2],at=m(0),xt=Ii;;){u=l[xt>>2],Ft=Ge(u,Lt,D[u+308>>2],Ps);e:{s:{if(re<m(0)){if(j=Ft,a=m(j*m(-Mn(u))),a==m(0))break e;a=vi==m(0)?m(Ft+a):m(m(Ma*a)+Ft);break s}if(j=Ft,!(re>m(0))|!l[u+552>>2]||(a=D[u+32>>2],a!=a&&(a=D[u+28>>2],!(a>m(0))))||!(a<m(0)|a>m(0)))break e;a=m(m($a*a)+Ft)}if(a=Ge(u,Lt,a,me),b=a!=a,h=m(m(Ce(u,Lt,yt)+ge(u,Lt))+m(De(u,Lt,yt)+Re(u,Lt))),!(b|h!=h)){j=ce(a,h);break e}j=b?h:a}a=fe(u,Lt,yt),h=Se(u,Lt,yt),Le=fe(u,tt,yt),Jo=Se(u,tt,yt),h=m(a+h),_h=m(j+h),D[O+352>>2]=_h,l[O+344>>2]=1,Le=m(Le+Jo),a=D[u+224>>2];e:{if(a==a){l[O+348>>2]=1,h=m(_h-h),D[O+356>>2]=Le+m(Zi?h*a:h/a);break e}s:{if(Os=xe!=xe,Os)break s;Xt=(_i<<3)+u|0,a=D[Xt+572>>2];n:{a:{o:{l:switch(b=l[Xt+576>>2],b|0){case 0:case 3:break o;default:break l}if(h=D[Xt+572>>2],(b|0)!=1|h!=h)break a;if(!(jr|!(a<m(0))))break n;break s}if(!Fa)break s;break n}if(jr|(!(a<m(0))|((b|0)!=2|h!=h)))break s}if(b=l[u+24>>2]>>>13&7,b||(b=l[r+24>>2]>>>10&7),(b|0)!=4||(ln(O+24|0,u,tt),l[O+28>>2]==3)||(on(O+360|0,u,tt),l[O+364>>2]==3))break s;l[O+348>>2]=1,D[O+356>>2]=xe;break e}Xt=(_i<<3)+u|0,h=D[Xt+572>>2];s:{n:{a:{o:{l:switch(b=l[Xt+576>>2],b|0){case 0:case 3:break o;default:break l}if(a=D[Xt+572>>2],!((b|0)!=1|a!=a)){if(a=h,a<m(0))break o;break s}if((b|0)!=2|a!=a)break a;if(Os)break o;if(!(h<m(0)))break n}l[O+348>>2]=Xp,D[O+356>>2]=xe;break e}a=m(zt);a:switch(b-1|0){case 1:break n;case 0:break a;default:break s}a=h;break s}a=m(m(xe*h)*m(.009999999776482582))}a=m(Le+a),D[O+356>>2]=a,l[O+348>>2]=(Sr|(b|0)!=2)&a==a}xn(u,Lt,me,yt,O+344|0,O+352|0),xn(u,tt,xe,yt,O+348|0,O+356|0),Xt=(_i<<3)+u|0,a=D[Xt+572>>2];e:{s:{n:{a:switch(b=l[Xt+576>>2],b|0){case 0:case 3:break n;default:break a}if(h=D[Xt+572>>2],!((b|0)!=1|h!=h)){if(a<m(0))break n;break s}if((b|0)!=2|h!=h)break s;if(a<m(0))break n;if(Xt=0,os)break e}if(Xt=0,b=l[u+24>>2]>>>13&7,b||(b=l[r+24>>2]>>>10&7),(b|0)!=4||(ln(O+24|0,u,tt),l[O+28>>2]==3))break e;on(O+360|0,u,tt),Xt=l[O+364>>2]!=3;break e}Xt=0}a=D[O+352>>2],h=D[O+356>>2],b=Lt>>>0>1,Le=b?a:h,a=b?h:a,Os=l[O+344>>2],Ih=l[O+348>>2],Qp=b?Os:Ih,Os=b?Ih:Os,b=(Xt^1)&P,an(u,Le,a,bt[r+300|0]&3,Qp,Os,yt,Ve,b,b?4:7,K,J,dt,X),at=m(at+m(j-Ft)),b=bt[r+300|0];e:{s:{if(b&4){Xt=b&251;break s}if(Xt=b&251,b=0,!(bt[u+300|0]&4))break e}b=4}if(ft[r+300|0]=b|Xt,xt=xt+4|0,(ei|0)==(xt|0))break}}Z=m(Z-at)}u=bt[r+300|0],ft[r+300|0]=u&251|(Z<m(0)?4:u&4),re=m(Ce(r,Lt,w)+ge(r,Lt)),Ma=m(De(r,Lt,w)+Re(r,Lt)),Ft=Ko(r,Lt,w);i:{if(!(!(Z>m(0))|(as|0)!=2)){at=m(0),h=m(0);e:{s:{u=Ds+(l[xs>>2]<<2)|0,a=D[u>>2],u=l[u>>2],b=(u|0)==2139156720;n:{if(!b){if(xt=(u|0)==2140081935,xt)break s;if(Xt=(u|0)==2141891242,Xt|a!=a)break i;if(xt)break s;if(Xt)break i;if(h=(Ct(2,(u&-1073741825)+536870912|0),Gt()),!(u&1073741824))break n}h=m(m(Ps*h)*m(.009999999776482582))}if(h!=h)break i;h=m(0);n:{if(b)break n;if((u|0)==2140081935)break s;b=4336;a:{if((u|0)!=2141891242){if(a==a)break a;b=4344}switch(h=D[b>>2],j=m(zt),l[b+4>>2]-1|0){case 0:break s;case 1:break n;default:break e}}if(h=(Ct(2,(u&-1073741825)+536870912|0),Gt()),!(u&1073741824))break s}j=m(m(Ps*h)*m(.009999999776482582));break e}j=h}if(a=m(m(m(j-re)-Ma)-m(me-Z)),a!=a)break i;at=ce(a,m(0));break i}at=Z}Xt=Y>>>0<=st>>>0;i:{if(!Xt){for(ei=l[r+556>>2],u=l[r+560>>2]-ei>>2,_i=u>>>0<st>>>0?st:u,xt=0,u=st;;){if((u|0)==(_i|0))break r;if(b=l[ei+(u<<2)>>2],(l[b+24>>2]&196608)!=131072&&(jr=O+24|0,ln(jr,b,Lt),Fa=l[O+28>>2],on(jr,b,Lt),xt=(((Fa|0)==3)+xt|0)+(l[O+28>>2]==3)|0),u=u+1|0,(Y|0)==(u|0))break}if(Le=m(0),h=Ft,xt)break i}Le=m(0),xt=0,h=Ft;e:switch((l[r+24>>2]>>>4&7)-1|0){case 0:Le=m(at*m(.5));break i;case 1:Le=at;break i;case 2:if(pt>>>0<2)break i;h=m(Ft+m((We=m(0),Fn=ce(at,m(0)),He=at!=at,(He?We:Fn)/m(pt-1>>>0))));break i;case 4:Le=m(at/m(pt+1>>>0)),h=m(Ft+Le);break i;case 3:break e;default:break i}Le=m(m(at*m(.5))/m(pt>>>0)),h=m(m(Le+Le)+Ft)}if(a=m(re+Le),Z=m(0),ei=fp(r),Xt)h=m(0);else{for(_i=Y-1|0,$a=m(at/m(xt|0)),re=m(0),j=m(0),u=st;;){if(b=l[r+556>>2],l[r+560>>2]-b>>2>>>0<=u>>>0)break r;b=l[b+(u<<2)>>2],pt=b+228|0,Mi(O+24|0,pt,320),h=m(h-((u|0)==(_i|0)?Ft:m(0))),xt=l[b+24>>2];i:{if(xt&4194304)break i;e:{if((xt&196608)==131072){if(!ir(b,Lt))break e;if(!P)break i;at=_s(b,Lt,me),vi=ge(r,Lt),Jo=fe(b,Lt,yt),D[pt+(l[Rr>>2]<<2)>>2]=Jo+m(at+vi);break i}if(ln(O+360|0,b,Lt),a=m(a+(l[O+364>>2]==3?$a:m(-0))),P&&(xt=pt,pt=l[Rr>>2]<<2,D[xt+pt>>2]=a+D[pt+(O+24|0)>>2]),on(O+360|0,b,Lt),a=m(a+(l[O+364>>2]==3?$a:m(-0))),!Zp){a=m(a+m(m(h+m(fe(b,Lt,yt)+Se(b,Lt,yt)))+D[O+104>>2])),Z=xe;break i}if(pt=b+516|0,a=m(a+m(h+m(D[pt+(l[xs>>2]<<2)>>2]+m(fe(b,Lt,yt)+Se(b,Lt,yt))))),ei){at=Yo(b),vi=fe(b,0,yt),at=m(at+vi),vi=m(m(D[b+520>>2]+m(fe(b,0,yt)+Se(b,0,yt)))-at),b=re!=re;s:{if(!(b|at!=at)){re=ce(re,at);break s}re=b?at:re}if(b=j!=j,!(b|vi!=vi)){j=ce(j,vi);break i}j=b?vi:j;break i}if(at=m(D[pt+(l[Pe>>2]<<2)>>2]+m(fe(b,tt,yt)+Se(b,tt,yt))),b=Z!=Z,!(at!=at|b)){Z=ce(Z,at);break i}Z=b?at:Z;break i}if(!P)break i;b=l[Rr>>2]<<2,at=D[b+(O+24|0)>>2],He=b+pt|0,We=m(Le+m(at+ge(r,Lt))),D[He>>2]=We}if(u=u+1|0,(Y|0)==(u|0))break}h=m(j+re)}if(Z=ei?h:Z,at=xe,!Yp){h=Ge(r,tt,m(zi+Z),Oa),u=h!=h,j=m(m(Ce(r,tt,w)+ge(r,tt))+m(De(r,tt,w)+Re(r,tt)));i:{if(!(u|j!=j)){h=ce(h,j);break i}h=u?j:h}at=m(h-zi)}h=Ge(r,tt,m(zi+(zp?xe:Z)),Oa),u=h!=h,j=m(m(Ce(r,tt,w)+ge(r,tt))+m(De(r,tt,w)+Re(r,tt)));i:{if(!(u|j!=j)){h=ce(h,j);break i}h=u?j:h}if(j=m(h-zi),!(Xt|!P))for(;;){if(u=l[r+556>>2],l[r+560>>2]-u>>2>>>0<=st>>>0)break r;pt=l[u+(st<<2)>>2],u=l[pt+24>>2];i:{if(u&4194304)break i;if((u&196608)==131072){e:{if(!ir(pt,tt)){b=l[ii>>2];break e}if(h=_s(pt,tt,xe),Z=ge(r,tt),Ft=fe(pt,tt,yt),b=l[ii>>2],h=m(Ft+m(h+Z)),D[(pt+(b<<2)|0)+228>>2]=h,h==h)break i}He=pt+(b<<2)|0,We=m(ge(r,tt)+fe(pt,tt,yt)),D[He+228>>2]=We;break i}b=u>>>13&7,b||(b=l[r+24>>2]>>>10&7);e:{s:{if((b|0)==5){b=l[r+24>>2]&8?5:1;break s}if((b|0)!=4||(ln(O+24|0,pt,tt),b=4,l[O+28>>2]==3)||(on(O+360|0,pt,tt),l[O+364>>2]==3))break s;b=pt+(l[Pe>>2]<<3)|0,Z=D[b+572>>2];n:{a:switch(u=l[b+576>>2],u|0){case 0:case 3:break n;default:break a}if(Ft=D[b+572>>2],!((u|0)!=1|Ft!=Ft)){if(h=Ue,Z<m(0))break n;break e}if(h=Ue,os&!(Z<m(0))|((u|0)!=2|Ft!=Ft))break e}Z=D[(pt+(l[xs>>2]<<2)|0)+516>>2],h=j,Ft=D[pt+224>>2],Ft==Ft&&(h=m(m(fe(pt,tt,yt)+Se(pt,tt,yt))+m(Zi?Z*Ft:Z/Ft))),D[O+360>>2]=h,He=O,We=m(Z+m(fe(pt,Lt,yt)+Se(pt,Lt,yt))),D[He+24>>2]=We,l[O+356>>2]=1,l[O+352>>2]=1,xn(pt,Lt,me,yt,O+356|0,O+24|0),xn(pt,tt,xe,yt,O+352|0,O+360|0),Z=D[O+360>>2],Ft=D[O+24>>2],u=Lt>>>0>1,h=u?Z:Ft,Z=u?Ft:Z,u=(Wr|0)!=0&(l[r+24>>2]&896)!=512,an(pt,Z,h,Fi,!(u&Zi|Z!=Z),(!u|Zi)&h==h,yt,Ve,1,2,K,J,dt,X),h=Ue;break e}h=D[(pt+(l[Pe>>2]<<2)|0)+516>>2],Z=fe(pt,tt,yt),Ft=Se(pt,tt,yt),ln(O+24|0,pt,tt),Z=m(at-m(h+m(Z+Ft)));s:{if(l[O+28>>2]!=3||(on(O+360|0,pt,tt),l[O+364>>2]!=3))break s;h=m(Z*m(.5)),h=m(Ue+(We=m(0),Fn=ce(h,m(0)),He=h!=h,He?We:Fn));break e}if(on(O+24|0,pt,tt),h=Ue,l[O+28>>2]==3)break e;if(ln(O+24|0,pt,tt),l[O+28>>2]==3){h=m(Ue+(We=m(0),Fn=ce(Z,m(0)),He=Z!=Z,He?We:Fn));break e}s:switch(b-1|0){case 1:h=m(Ue+m(Z*m(.5)));break e;case 0:break e;default:break s}h=m(Ue+Z)}u=pt+(l[ii>>2]<<2)|0,D[u+228>>2]=h+m(ls+D[u+228>>2])}if(st=st+1|0,(st|0)==(Y|0))break}h=m((Yi?Lh:m(0))+j),u=Ms!=Ms,a=m(Ma+a);i:{if(!(u|a!=a)){Ms=ce(Ms,a);break i}Ms=u?a:Ms}if(ls=m(ls+h),u=Yi+1|0,st=Y,!(Vr>>>0>Y>>>0))break}i:{if(!P||!Wr&&!fp(r))break i;re=m(0);e:{s:{if(xe!=xe)break s;a=m(xe-ls);n:switch((l[r+24>>2]>>>7&7)-2|0){case 0:Ue=m(Ue+m(a*m(.5)));break s;case 2:if(!(xe>ls))break s;re=m(a/m(u>>>0));break s;case 5:if(xe>ls){if(Ue=m(Ue+m(a/m(u<<1>>>0))),u>>>0<2)break s;re=m(a/m(u>>>0));break e}Ue=m(Ue+m(a*m(.5)));break s;case 4:if(!(xe>ls)|u>>>0<2)break s;re=m(a/m(Yi>>>0));break e;case 1:break n;default:break s}Ue=m(Ue+a)}if(!u)break i}for(xt=0,u=0,b=0;;){if(Z=m(0),h=m(0),a=m(0),j=m(0),Y=u,Vr>>>0>u>>>0){e:{for(;;){if(b=l[r+556>>2],l[r+560>>2]-b>>2>>>0<=Y>>>0)break r;st=l[b+(Y<<2)>>2],pt=l[st+24>>2];s:{if(pt&4194304|(pt&196608)==131072)break s;if(b=Y,l[st+548>>2]!=(xt|0))break e;a=D[(st+(l[Pe>>2]<<2)|0)+516>>2];n:{if(!(a>=m(0)))break n;if(b=h!=h,a=m(a+m(fe(st,tt,yt)+Se(st,tt,yt))),!(b|a!=a)){h=ce(h,a);break n}h=b?a:h}if(b=pt>>>13&7,b||(b=l[r+24>>2]>>>10&7),!(bt[r+24|0]&8)|(b|0)!=5)break s;a=Yo(st),at=fe(st,0,yt),a=m(a+at),at=m(m(D[st+520>>2]+m(fe(st,0,yt)+Se(st,0,yt)))-a),b=h!=h,st=j!=j;n:{if(!(st|a!=a)){j=ce(j,a);break n}j=st?a:j}st=Z!=Z;n:{if(!(st|at!=at)){Z=ce(Z,at);break n}Z=st?at:Z}if(a=m(j+Z),!(b|a!=a)){h=ce(h,a);break s}h=b?a:h}if(Y=Y+1|0,(Vr|0)==(Y|0))break}b=Vr}a=h}if(at=m(Ue+(xt?Lh:m(0))),h=m(re+a),Ue=m(at+h),u>>>0<b>>>0)for(Ft=m(at+j);;){if(Y=l[r+556>>2],l[r+560>>2]-Y>>2>>>0<=u>>>0)break r;st=l[Y+(u<<2)>>2],Y=l[st+24>>2];e:{if(Y&4194304|(Y&196608)==131072)break e;Y=Y>>>13&7,Y||(Y=l[r+24>>2]>>>10&7);s:{n:switch(Y-1|0){case 4:if(bt[r+24|0]&8)break s;case 0:a=fe(st,tt,yt),D[(st+(l[ii>>2]<<2)|0)+228>>2]=at+a;break e;case 2:a=Se(st,tt,yt),Y=st+228|0,D[Y+(l[ii>>2]<<2)>>2]=m(Ue-a)-D[(Y+(l[Pe>>2]<<2)|0)+288>>2];break e;case 1:Y=st+228|0,D[Y+(l[ii>>2]<<2)>>2]=at+m(m(h-D[(Y+(l[Pe>>2]<<2)|0)+288>>2])*m(.5));break e;case 3:break n;default:break e}a=fe(st,tt,yt),D[(st+(l[ii>>2]<<2)|0)+228>>2]=at+a,pt=st+(l[Pe>>2]<<3)|0,a=D[pt+572>>2];n:{a:switch(Y=l[pt+576>>2],Y|0){case 0:case 3:break n;default:break a}if(j=D[pt+572>>2],!((Y|0)!=1|j!=j)){if(a<m(0))break n;break e}if(os&!(a<m(0))|((Y|0)!=2|j!=j))break e}n:{if(Lt>>>0>=2){Z=h,a=D[st+516>>2],j=m(a+m(fe(st,Lt,yt)+Se(st,Lt,yt)));break n}Z=m(D[st+520>>2]+m(fe(st,tt,yt)+Se(st,tt,yt))),a=D[st+516>>2],j=h}n:{a:{if(!(j!=j|a!=a)){if(m(Be(m(j-a)))<m(9999999747378752e-20))break a;break n}if(j==j|a==a)break n}if(a=D[st+520>>2],Y=a!=a,!(Y|Z!=Z)){if(!(m(Be(m(Z-a)))<m(9999999747378752e-20)))break n;break e}if(Z==Z)break n;if(Y)break e}an(st,j,Z,Fi,1,1,yt,Ve,1,3,K,J,dt,X);break e}He=st,We=m(m(Ft-Yo(st))+_s(st,0,xe)),D[He+232>>2]=We}if(u=u+1|0,(b|0)==(u|0))break}if(Y=(xt|0)!=(Yi|0),xt=xt+1|0,u=b,!Y)break}}pt=r+516|0,a=Ge(r,2,Sh,w),u=a!=a,h=m(m(Ce(r,2,w)+ge(r,2))+m(De(r,2,w)+Re(r,2)));i:{if(!(u|h!=h)){a=ce(a,h);break i}a=u?h:a}D[pt>>2]=a,a=Ge(r,0,Rh,S),u=a!=a,h=m(m(Ce(r,0,w)+ge(r,0))+m(De(r,0,w)+Re(r,0)));i:{if(!(u|h!=h)){a=ce(a,h);break i}a=u?h:a}D[r+520>>2]=a;i:{e:{s:{if(as&&(u=l[r+24>>2]>>>20&3,(u|0)==2|(as|0)!=2))break s;if(a=Ge(r,Lt,Ms,Ps),u=a!=a,h=m(m(Ce(r,Lt,w)+ge(r,Lt))+m(De(r,Lt,w)+Re(r,Lt))),!(u|h!=h)){a=ce(a,h);break e}a=u?h:a;break e}if((as|0)!=2|(u|0)!=2)break i;h=m(Hr+me),u=h!=h,a=Ge(r,Lt,Ms,Ps);s:{if(!(u|a!=a)){a=yh(h,a);break s}a=u?a:h}if(u=a!=a,!(u|Hr!=Hr)){a=ce(a,Hr);break e}a=u?Hr:a}D[pt+(l[xs>>2]<<2)>>2]=a}i:{e:{s:{if(Ht&&(b=(Ht|0)!=2,u=l[r+24>>2]>>>20&3,b|(u|0)==2))break s;if(a=Ge(r,tt,m(zi+ls),Oa),u=a!=a,h=m(m(Ce(r,tt,w)+ge(r,tt))+m(De(r,tt,w)+Re(r,tt))),!(u|h!=h)){a=ce(a,h);break e}a=u?h:a;break e}if(b|(u|0)!=2)break i;h=m(zi+xe),u=h!=h,a=Ge(r,tt,m(zi+ls),Oa);s:{if(!(u|a!=a)){a=yh(h,a);break s}a=u?a:h}if(u=a!=a,!(u|zi!=zi)){a=ce(a,zi);break e}a=u?zi:a}D[pt+(l[Pe>>2]<<2)>>2]=a}i:{if(!P)break i;if((l[r+24>>2]&786432)==524288)for(b=Vr>>>0<=1?1:Vr,P=l[r+556>>2],st=l[r+560>>2]-P>>2,u=0;Y=0,Y=u>>>0<st>>>0?l[P+(u<<2)>>2]:Y,(l[Y+24>>2]&196608)!=131072&&(Y=Y+228|0,xt=Y+(l[ii>>2]<<2)|0,Xt=l[Pe>>2]<<2,D[xt>>2]=m(D[Xt+pt>>2]-D[xt>>2])-D[(Y+Xt|0)+288>>2]),u=u+1|0,(b|0)!=(u|0););if(b=l[r+556>>2],P=l[r+560>>2],(b|0)!=(P|0))for(xt=((Lt>>>0>1?as:y)|0)!=0;;){y=l[b>>2];e:{if((l[y+24>>2]&4390912)!=131072)break e;j=yt,me=Ve,bt[l[r+568>>2]+12|0]&2&&(me=D[r+520>>2],j=D[r+516>>2]),u=l[r+24>>2]>>>2&3;s:{n:{if((Fi|0)==2){st=0,Y=3;a:switch(u-2|0){case 0:break s;case 1:break a;default:break n}Y=2;break s}if(st=0,u>>>0<=1)break n;Y=u;break s}Y=u,st=Cs}S=m(fe(y,2,j)+Se(y,2,j)),w=fe(y,0,j),Z=Se(y,0,j),a=D[y+572>>2];s:{n:{a:switch(u=l[y+576>>2],u|0){case 0:case 3:break n;default:break a}h=D[y+572>>2];a:{if(!((u|0)!=1|h!=h)){if(h=a,!(a<m(0)))break a;break n}o:{if(!((u|0)!=2|h!=h)){if(j!=j|a<m(0))break n;break o}h=m(zt);l:switch(u-1|0){case 1:break o;case 0:break l;default:break a}h=a;break a}h=m(m(j*a)*m(.009999999776482582))}h=m(S+h);break s}if(h=m(zt),!ir(y,2)||!Xo(y,2))break s;if(a=Ge(y,2,m(m(D[r+516>>2]-m(ge(r,2)+Re(r,2)))-m(_s(y,2,j)+Da(y,2,j))),j),u=a!=a,h=m(m(Ce(y,2,j)+ge(y,2))+m(De(y,2,j)+Re(y,2))),!(u|h!=h)){h=ce(a,h);break s}h=u?h:a}Z=m(w+Z);s:{n:{a:{o:{l:{c:{h:{Xt=h!=h,w=D[y+580>>2];f:{d:{p:switch(u=l[y+584>>2],u|0){case 0:case 3:break d;default:break p}a=D[y+580>>2];p:{if(!((u|0)!=1|a!=a)){if(a=w,!(a<m(0)))break p;break d}v:{if(!((u|0)!=2|a!=a)){if(me!=me|w<m(0))break d;break v}a=m(zt);y:switch(u-1|0){case 1:break v;case 0:break y;default:break p}a=w;break p}a=m(m(me*w)*m(.009999999776482582))}a=m(Z+a);break f}d:{if(ir(y,0)&&Xo(y,0))break d;if(a=m(zt),h==h)break h;break a}if(a=Ge(y,0,m(m(D[r+520>>2]-m(ge(r,0)+Re(r,0)))-m(_s(y,0,me)+Da(y,0,me))),me),u=a!=a,w=m(m(Ce(y,0,j)+ge(y,0))+m(De(y,0,j)+Re(y,0))),!(u|w!=w)){a=ce(a,w);break f}a=u?w:a}if((Xt|0)==(a!=a|0)||(at=D[y+224>>2],at!=at))break l;if(h!=h){h=m(m(m(a-Z)*at)+S);break l}if(a==a)break l;break c}if(at=D[y+224>>2],at!=at)break o}a=m(Z+m(m(h-S)/at))}if(h!=h)break a;if(a==a)break s}u=0;break n}u=1}Xt=j>m(0),Yi=u&xt&Y>>>0<2,h=Yi&&Xt?j:h,u=u^1,an(y,h,a,Fi,Yi&&Xt?2:u,a==a,h,a,0,6,K,J,dt,X),h=m(D[y+516>>2]+$p(y,2,j)),a=m(D[y+520>>2]+$p(y,0,j))}an(y,h,a,Fi,1,1,h,a,1,1,K,J,dt,X);s:{n:{a:{if(!Xo(y,Y)||ir(y,Y))break a;u=l[(Y<<2)+4320>>2]<<2,a=Y>>>0<2?me:j,a=m(m(m(m(D[u+pt>>2]-D[(u+y|0)+516>>2])-Re(r,Y))-Se(y,Y,a))-Da(y,Y,a));break n}if(!(ir(y,Y)|(l[r+24>>2]&112)!=16)){u=l[(Y<<2)+4320>>2]<<2,a=m(m(D[u+pt>>2]-D[(u+y|0)+516>>2])*m(.5));break n}if(!(ir(y,Y)|(l[r+24>>2]&112)!=32)){u=l[(Y<<2)+4320>>2]<<2,a=m(D[u+pt>>2]-D[(u+y|0)+516>>2]);break n}if(!(bt[l[r+568>>2]+12|0]&2)||!ir(y,Y))break s;a=D[pt+(l[(Y<<2)+4320>>2]<<2)>>2],a=m(m(_s(y,Y,a)+ge(r,Y))+fe(y,Y,a))}D[(y+(l[(Y<<2)+4288>>2]<<2)|0)+228>>2]=a}s:{n:{if(!Xo(y,st)||ir(y,st))break n;u=l[(st<<2)+4320>>2]<<2,a=Y>>>0<2?j:me,a=m(m(m(m(D[u+pt>>2]-D[(u+y|0)+516>>2])-Re(r,st))-Se(y,st,a))-Da(y,st,a));break s}n:{if(ir(y,st)||(u=l[y+24>>2]>>>13&7,u||(u=l[r+24>>2]>>>10&7),(u|0)!=2))break n;u=l[(st<<2)+4320>>2]<<2,a=m(m(D[u+pt>>2]-D[(u+y|0)+516>>2])*m(.5));break s}n:{if(ir(y,st))break n;Y=l[y+24>>2]>>>13&7,u=l[r+24>>2],Y=Y||u>>>10&7;a:{if((Y|0)==5){if((u&786432)==524288)break a;break n}if(((Y|0)==3|0)==((u&786432)==524288|0))break n}u=l[(st<<2)+4320>>2]<<2,a=m(D[u+pt>>2]-D[(u+y|0)+516>>2]);break s}if(!(bt[l[r+568>>2]+12|0]&2)||!ir(y,st))break e;a=D[pt+(l[(st<<2)+4320>>2]<<2)>>2],a=m(m(_s(y,st,a)+ge(r,st))+fe(y,st,a))}D[(y+(l[(st<<2)+4288>>2]<<2)|0)+228>>2]=a}if(b=b+4|0,(P|0)==(b|0))break}if(!((tt|Lt)&1))break i;for(b=tt&1,P=Lt&1,K=Vr>>>0<=1?1:Vr,J=(tt<<2)+4304|0,dt=(Lt<<2)+4304|0,X=l[r+556>>2],tt=l[r+560>>2]-X>>2,r=0;;){if((r|0)==(tt|0))break r;u=l[X+(r<<2)>>2];e:{if(bt[u+26|0]&64||(P&&(y=u+228|0,Y=l[xs>>2]<<2,D[y+(l[dt>>2]<<2)>>2]=m(D[Y+pt>>2]-D[(y+Y|0)+288>>2])-D[y+(l[Rr>>2]<<2)>>2]),!b))break e;u=u+228|0,y=l[Pe>>2]<<2,D[u+(l[J>>2]<<2)>>2]=m(D[y+pt>>2]-D[(u+y|0)+288>>2])-D[u+(l[ii>>2]<<2)>>2]}if(r=r+1|0,(K|0)==(r|0))break}}if(!Ii)break t;gi(Ii);break t}Rs(),ue()}Et=O+384|0}function qf(){var r=0,a=0;Dn(7032,7033,7034,0,4352,17,4355,0,4355,0,2529,4357,18),r=ht(8),l[r>>2]=8,l[r+4>>2]=1,wt(7032,2922,6,4368,4392,19,r|0,1),Dn(7036,7037,7038,7032,4352,20,4352,21,4352,22,2001,4357,23),r=ht(4),l[r>>2]=24,wt(7036,2359,2,4400,4408,25,r|0,0),ss(7032,1398,2,4412,4420,26,27),ss(7032,3027,3,4500,4512,28,29),Dn(7056,7057,7058,0,4352,30,4355,0,4355,0,2545,4357,31),r=ht(8),l[r>>2]=8,l[r+4>>2]=1,wt(7056,3293,2,4520,4408,32,r|0,1),Dn(7059,7060,7061,7056,4352,33,4352,34,4352,35,2024,4357,36),r=ht(4),l[r>>2]=37,wt(7059,2359,2,4528,4408,38,r|0,0),ss(7056,1398,2,4536,4420,39,40),ss(7056,3027,3,4500,4512,28,41),Dn(7062,7063,7064,0,4352,42,4355,0,4355,0,2861,4357,43),zf(7062,1,4584,4352,44,45),ss(7062,2915,1,4584,4352,44,45),ss(7062,1129,2,4588,4408,46,47),r=ht(8),l[r+4>>2]=0,l[r>>2]=48,wt(7062,3234,4,4608,4624,49,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=50,wt(7062,1981,3,4632,4644,51,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=52,wt(7062,1952,3,4652,4664,53,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=54,wt(7062,3389,3,4672,4664,55,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=56,wt(7062,1800,3,4652,4664,53,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=57,wt(7062,3264,3,4684,4512,58,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=59,wt(7062,1926,2,4696,4420,60,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=61,wt(7062,3399,2,4704,4420,62,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=63,wt(7062,1785,2,4696,4420,60,r|0,0),ch(7065,1271,4712,64,4357,65),$n(1732,0),$n(1612,8),$n(2145,16),$n(2455,24),$n(2561,32),$n(1618,40),lh(7065),ch(7035,2898,4712,66,4357,67),Lp(2561,0),Lp(1618,8),lh(7035),ch(7066,2909,4712,68,4357,69),r=ht(4),l[r>>2]=8,a=ht(4),l[a>>2]=8,jo(7066,2903,7098,4714,70,r|0,7098,4718,71,a|0),r=ht(4),l[r>>2]=0,a=ht(4),l[a>>2]=0,jo(7066,1607,7091,4420,72,r|0,7091,4664,73,a|0),lh(7066),Dn(7067,7068,7069,0,4352,74,4355,0,4355,0,3022,4357,75),zf(7067,1,4724,4352,76,77),ss(7067,1593,1,4724,4352,76,77),ss(7067,2851,2,4728,4420,78,79),ss(7067,1129,2,4736,4408,80,81),r=ht(8),l[r+4>>2]=0,l[r>>2]=82,wt(7067,1753,2,4736,4408,83,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=84,wt(7067,3005,3,4744,4664,85,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=86,wt(7067,2930,3,4756,4664,87,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=88,wt(7067,2335,4,4768,4784,89,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=90,wt(7067,1485,4,4768,4784,89,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=91,wt(7067,1356,3,4756,4664,87,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=92,wt(7067,1818,3,4756,4664,87,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=93,wt(7067,2872,3,4756,4664,87,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=94,wt(7067,2379,3,4756,4664,87,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=95,wt(7067,2164,3,4756,4664,87,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=96,wt(7067,1320,3,4756,4664,87,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=97,wt(7067,2413,4,4768,4784,89,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=98,wt(7067,1504,4,4768,4784,89,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=99,wt(7067,2236,3,4756,4664,87,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=100,wt(7067,1220,3,4756,4664,87,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=101,wt(7067,1137,3,4756,4664,87,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=102,wt(7067,1159,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=104,wt(7067,1846,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=105,wt(7067,1465,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=106,wt(7067,2219,2,4736,4408,83,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=107,wt(7067,1196,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=108,wt(7067,2501,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=109,wt(7067,2591,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=110,wt(7067,1540,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=111,wt(7067,2250,2,4736,4408,83,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=112,wt(7067,1651,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=113,wt(7067,1428,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=114,wt(7067,2205,2,4736,4408,83,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=115,wt(7067,2609,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=116,wt(7067,1556,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=117,wt(7067,1671,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=118,wt(7067,1445,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=119,wt(7067,2567,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=120,wt(7067,1521,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=121,wt(7067,1625,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=122,wt(7067,1408,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=123,wt(7067,2305,3,4792,4718,103,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=124,wt(7067,2093,4,4768,4784,89,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=125,wt(7067,2719,4,4768,4784,89,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=126,wt(7067,1575,4,4768,4784,89,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=127,wt(7067,2188,4,4768,4784,89,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=128,wt(7067,2946,2,4804,4420,129,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=130,wt(7067,2347,3,4812,4512,131,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=132,wt(7067,1372,2,4804,4420,129,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=133,wt(7067,1832,2,4804,4420,129,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=134,wt(7067,2885,2,4804,4420,129,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=135,wt(7067,2396,2,4804,4420,129,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=136,wt(7067,2176,2,4804,4420,129,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=137,wt(7067,1338,2,4804,4420,129,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=138,wt(7067,2423,3,4812,4512,131,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=139,wt(7067,1859,2,4824,4420,140,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=141,wt(7067,1208,2,4832,4714,142,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=143,wt(7067,2515,2,4832,4714,142,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=144,wt(7067,2600,2,4824,4420,140,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=145,wt(7067,1661,2,4824,4420,140,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=146,wt(7067,2621,2,4824,4420,140,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=147,wt(7067,1684,2,4824,4420,140,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=148,wt(7067,2579,2,4824,4420,140,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=149,wt(7067,1638,2,4824,4420,140,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=150,wt(7067,2320,2,4832,4714,142,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=151,wt(7067,2103,3,4840,4852,152,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=153,wt(7067,1232,2,4804,4420,129,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=154,wt(7067,1148,2,4804,4420,129,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=155,wt(7067,2730,3,4812,4512,131,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=156,wt(7067,2195,3,4860,4872,157,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=158,wt(7067,3034,4,4880,4624,159,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=160,wt(7067,3055,3,4896,4664,161,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=162,wt(7067,1293,2,4908,4420,163,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=164,wt(7067,1388,2,4916,4420,165,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=166,wt(7067,3046,3,4924,4512,167,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=168,wt(7067,2962,2,4936,4420,169,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=170,wt(7067,2982,3,4944,4664,171,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=172,wt(7067,3357,3,4956,4664,173,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=174,wt(7067,3355,2,4736,4408,83,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=175,wt(7067,3374,3,4968,4664,176,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=177,wt(7067,3372,2,4736,4408,83,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=178,wt(7067,1119,2,4736,4408,83,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=179,wt(7067,1111,2,4980,4420,180,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=181,wt(7067,1244,5,4992,5012,182,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=183,wt(7067,1737,2,4832,4714,142,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=184,wt(7067,1715,2,4832,4714,142,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=185,wt(7067,2149,2,4832,4714,142,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=186,wt(7067,2462,2,4832,4714,142,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=187,wt(7067,2633,2,4832,4714,142,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=188,wt(7067,1697,2,4832,4714,142,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=189,wt(7067,1260,2,5020,4420,190,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=191,wt(7067,2433,3,4840,4852,152,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=192,wt(7067,2113,3,4840,4852,152,r|0,0),r=ht(8),l[r+4>>2]=0,l[r>>2]=193,wt(7067,2741,3,4840,4852,152,r|0,0)}function ZA(r,a,h,u,y,b){r=r|0,a=+a,h=h|0,u=u|0,y=y|0,b=b|0;var w=0,S=0,P=0,K=0,J=0,dt=0,X=0,tt=0,O=0,j=0,Y=0,Z=0,st=0,at=0,pt=0,yt=0,Lt=0,xt=0,Ft=0;X=Et-560|0,Et=X,l[X+44>>2]=0,pi(+a),w=Jt(1)|0,Jt(0)|0;t:{if((w|0)<0){st=1,xt=1177,a=-a,pi(+a),w=Jt(1)|0,Jt(0)|0;break t}if(y&2048){st=1,xt=1180;break t}st=y&1,xt=st?1183:1178,Ft=!st}t:{if((w&2146435072)==2146435072){w=st+3|0,mi(r,32,h,w,y&-65537),hi(r,xt,st),u=b&32,hi(r,a!=a?u?2451:3459:u?2868:3463,3),mi(r,32,h,w,y^8192),tt=(h|0)<(w|0)?w:h;break t}pt=X+16|0;r:{i:{e:{if(a=mp(a,X+44|0),a=a+a,a!=0){if(w=l[X+44>>2],l[X+44>>2]=w-1,yt=b|32,(yt|0)!=97)break e;break r}if(yt=b|32,(yt|0)==97)break r;J=l[X+44>>2],dt=(u|0)<0?6:u;break i}J=w-29|0,l[X+44>>2]=J,a=a*268435456,dt=(u|0)<0?6:u}for(Y=(X+48|0)+((J|0)>=0?288:0)|0,S=Y;a<4294967296&a>=0?u=~~a>>>0:u=0,l[S>>2]=u,S=S+4|0,a=(a-+(u>>>0))*1e9,a!=0;);i:{if((J|0)<=0){u=J,w=S,P=Y;break i}for(P=Y,u=J;;){O=(u|0)>=29?29:u,w=S-4|0;e:{if(P>>>0>w>>>0)break e;for(u=0;K=l[w>>2],Lt=u,u=O&31,(O&63)>>>0>=32?(tt=K<<u,u=0):(tt=(1<<u)-1&K>>>32-u,u=K<<u),Lt=Lt+u|0,K=tt+j|0,u=rp(Lt,u>>>0>Lt>>>0?K+1|0:K,1e9),K=vh(u,Oi,-1e9,0)+Lt|0,l[w>>2]=K,w=w-4|0,P>>>0<=w>>>0;);if(!u)break e;P=P-4|0,l[P>>2]=u}for(;w=S,P>>>0<w>>>0&&(S=w-4|0,!l[S>>2]););if(u=l[X+44>>2]-O|0,l[X+44>>2]=u,S=w,!((u|0)>0))break}}if((u|0)<0)for(at=((dt+25>>>0)/9|0)+1|0,j=(yt|0)==102;;){u=0-u|0,tt=(u|0)>=9?9:u;i:{if(w>>>0<=P>>>0){S=l[P>>2];break i}for(O=1e9>>>tt|0,K=-1<<tt^-1,u=0,S=P;Lt=u,u=l[S>>2],l[S>>2]=Lt+(u>>>tt|0),u=Ne(O,u&K),S=S+4|0,S>>>0<w>>>0;);if(S=l[P>>2],!u)break i;l[w>>2]=u,w=w+4|0}if(u=tt+l[X+44>>2]|0,l[X+44>>2]=u,P=(!S<<2)+P|0,S=j?Y:P,w=w-S>>2>(at|0)?S+(at<<2)|0:w,!((u|0)<0))break}u=0;i:{if(w>>>0<=P>>>0||(u=Ne(Y-P>>2,9),S=10,K=l[P>>2],K>>>0<10))break i;for(;u=u+1|0,S=Ne(S,10),K>>>0>=S>>>0;);}if(S=(dt-((yt|0)!=102?u:0)|0)-((yt|0)==103&(dt|0)!=0)|0,(S|0)<(Ne(w-Y>>2,9)-9|0)){if(O=S+9216|0,K=(O|0)/9|0,J=((((J|0)<0?4:292)+X|0)+(K<<2)|0)-4048|0,S=10,tt=O+Ne(K,-9)|0,(tt|0)<=7)for(;S=Ne(S,10),tt=tt+1|0,(tt|0)!=8;);O=l[J>>2],at=(O>>>0)/(S>>>0)|0,j=Ne(at,S),K=J+4|0;i:{if((O|0)==(j|0)&(K|0)==(w|0))break i;O=O-j|0;e:{if(!(at&1)&&(a=9007199254740992,!(ft[J-4|0]&1)|((S|0)!=1e9|P>>>0>=J>>>0)))break e;a=9007199254740994}if(Z=(w|0)==(K|0)?1:1.5,K=S>>>1|0,Z=K>>>0>O>>>0?.5:(K|0)==(O|0)?Z:1.5,bt[xt|0]!=45|Ft||(Z=-Z,a=-a),l[J>>2]=j,a+Z==a)break i;if(u=S+j|0,l[J>>2]=u,u>>>0>=1e9)for(;l[J>>2]=0,J=J-4|0,J>>>0<P>>>0&&(P=P-4|0,l[P>>2]=0),u=l[J>>2]+1|0,l[J>>2]=u,u>>>0>999999999;);if(u=Ne(Y-P>>2,9),S=10,K=l[P>>2],K>>>0<10)break i;for(;u=u+1|0,S=Ne(S,10),K>>>0>=S>>>0;);}S=J+4|0,w=w>>>0>S>>>0?S:w}for(;K=w,O=w>>>0<=P>>>0,!O&&(w=K-4|0,!l[w>>2]););i:{if((yt|0)!=103){J=y&8;break i}if(S=dt||1,w=(S|0)>(u|0)&(u|0)>-5,dt=(w?u^-1:-1)+S|0,b=(w?-1:-2)+b|0,J=y&8,J)break i;w=-9;e:{if(O||(J=l[K-4>>2],!J)||(tt=10,w=0,(J>>>0)%10|0))break e;for(;S=w,w=w+1|0,tt=Ne(tt,10),!((J>>>0)%(tt>>>0)|0););w=S^-1}if(S=Ne(K-Y>>2,9),(b&-33)==70){J=0,w=(w+S|0)-9|0,w=(w|0)>0?w:0,dt=(w|0)>(dt|0)?dt:w;break i}J=0,w=((u+S|0)+w|0)-9|0,w=(w|0)>0?w:0,dt=(w|0)>(dt|0)?dt:w}if(tt=-1,O=J|dt,((O?2147483645:2147483646)|0)<(dt|0))break t;j=(((O|0)!=0)+dt|0)+1|0,S=b&-33;i:{if((S|0)==70){if((j^2147483647)<(u|0))break t;w=(u|0)>0?u:0;break i}if(w=u>>31,w=Pn((w^u)-w|0,0,pt),(pt-w|0)<=1)for(;w=w-1|0,ft[w|0]=48,(pt-w|0)<2;);if(at=w-2|0,ft[at|0]=b,ft[w-1|0]=(u|0)<0?45:43,w=pt-at|0,(w|0)>(j^2147483647))break t}if(u=w+j|0,(u|0)>(st^2147483647))break t;j=u+st|0,mi(r,32,h,j,y),hi(r,xt,st),mi(r,48,h,j,y^65536);i:{e:{s:{if((S|0)==70){for(b=X+16|0,u=b|8,J=b|9,S=P>>>0>Y>>>0?Y:P,P=S;;){w=Pn(l[P>>2],0,J);n:{if((S|0)!=(P|0)){if(X+16>>>0>=w>>>0)break n;for(;w=w-1|0,ft[w|0]=48,X+16>>>0<w>>>0;);break n}if((w|0)!=(J|0))break n;ft[X+24|0]=48,w=u}if(hi(r,w,J-w|0),P=P+4|0,!(Y>>>0>=P>>>0))break}if(O&&hi(r,4275,1),(dt|0)<=0|P>>>0>=K>>>0)break s;for(;;){if(w=Pn(l[P>>2],0,J),w>>>0>X+16>>>0)for(;w=w-1|0,ft[w|0]=48,X+16>>>0<w>>>0;);if(hi(r,w,(dt|0)>=9?9:dt),w=dt-9|0,P=P+4|0,K>>>0<=P>>>0)break e;if(u=(dt|0)>9,dt=w,!u)break}break e}n:{if((dt|0)<0)break n;for(Y=P>>>0<K>>>0?K:P+4|0,b=X+16|0,u=b|8,K=b|9,S=P;;){w=Pn(l[S>>2],0,K),(K|0)==(w|0)&&(ft[X+24|0]=48,w=u);a:{if((S|0)!=(P|0)){if(X+16>>>0>=w>>>0)break a;for(;w=w-1|0,ft[w|0]=48,X+16>>>0<w>>>0;);break a}if(hi(r,w,1),w=w+1|0,!(J|dt))break a;hi(r,4275,1)}if(b=K-w|0,hi(r,w,(b|0)>(dt|0)?dt:b),dt=dt-b|0,S=S+4|0,Y>>>0<=S>>>0)break n;if(!((dt|0)>=0))break}}mi(r,48,dt+18|0,18,0),hi(r,at,pt-at|0);break i}w=dt}mi(r,48,w+9|0,9,0)}mi(r,32,h,j,y^8192),tt=(h|0)<(j|0)?j:h;break t}J=(b<<26>>31&9)+xt|0;r:{if(u>>>0>11)break r;for(w=12-u|0,Z=16;Z=Z*16,w=w-1|0,!!w;);if(bt[J|0]==45){a=-(Z+(-a-Z));break r}a=a+Z-Z}for(Y=st|2,P=b&32,S=l[X+44>>2],w=S>>31,w=Pn((w^S)-w|0,0,pt),(pt|0)==(w|0)&&(ft[X+15|0]=48,w=X+15|0),dt=w-2|0,ft[dt|0]=b+15,ft[w-1|0]=(S|0)<0?45:43,w=y&8,S=X+16|0;b=S,Be(a)<2147483648?K=~~a:K=-2147483648,ft[S|0]=P|bt[K+5504|0],a=(a-+(K|0))*16,S=b+1|0,!(w|(u|0)>0)&a==0|(S-(X+16|0)|0)!=1||(ft[b+1|0]=46,S=b+2|0),a!=0;);if(tt=-1,w=pt-dt|0,b=w+Y|0,(2147483645-b|0)<(u|0))break t;r:{i:{if(!u||(P=S-(X+16|0)|0,(P-2|0)>=(u|0)))break i;u=u+2|0;break r}P=S-(X+16|0)|0,u=P}b=u+b|0,mi(r,32,h,b,y),hi(r,J,Y),mi(r,48,h,b,y^65536),hi(r,X+16|0,P),mi(r,48,u-P|0,0,0),hi(r,dt,w),mi(r,32,h,b,y^8192),tt=(h|0)<(b|0)?b:h}return Et=X+560|0,tt|0}function Qf(r,a,h,u,y,b,w){var S=0,P=0,K=0,J=0,dt=0,X=0,tt=0,O=0,j=0,Y=0,Z=0,st=0,at=0,pt=0,yt=0,Lt=0,xt=0,Ft=0,Ht=0,Xt=0;K=Et-80|0,Et=K,l[K+76>>2]=a,Ft=K+55|0,at=K+56|0;t:{r:{i:{e:{s:for(;;){if(J=a,(j^2147483647)<(S|0))break e;j=S+j|0;n:{a:{o:{if(S=J,P=bt[S|0],P)for(;;){l:{a=P&255;c:{if(!a){a=S;break c}if((a|0)!=37)break l;for(P=S;;){if(bt[P+1|0]!=37){a=P;break c}if(S=S+1|0,dt=bt[P+2|0],a=P+2|0,P=a,(dt|0)!=37)break}}if(S=S-J|0,xt=j^2147483647,(S|0)>(xt|0))break e;if(r&&hi(r,J,S),S)continue s;l[K+76>>2]=a,S=a+1|0,Z=-1,P=ft[a+1|0],!Qo(P)|bt[a+2|0]!=36||(Z=P-48|0,pt=1,S=a+3|0),l[K+76>>2]=S,O=0,P=ft[S|0],a=P-32|0;c:{if(a>>>0>31){dt=S;break c}if(dt=S,a=1<<a,!(a&75913))break c;for(;;){if(dt=S+1|0,l[K+76>>2]=dt,O=a|O,P=ft[S+1|0],a=P-32|0,a>>>0>=32)break c;if(S=dt,a=1<<a,!(a&75913))break}}c:{if((P|0)==42){a=ft[dt+1|0];h:{if(!(!Qo(a)|bt[dt+2|0]!=36)){l[((a<<2)+y|0)-192>>2]=10,P=dt+3|0,pt=1,Y=l[((ft[dt+1|0]<<3)+u|0)-384>>2];break h}if(pt)break o;if(P=dt+1|0,!r){l[K+76>>2]=P,pt=0,Y=0;break c}a=l[h>>2],l[h>>2]=a+4,pt=0,Y=l[a>>2]}if(l[K+76>>2]=P,(Y|0)>=0)break c;Y=0-Y|0,O=O|8192;break c}if(Y=Ep(K+76|0),(Y|0)<0)break e;P=l[K+76>>2]}S=0,tt=-1;c:{if(bt[P|0]!=46){a=P,st=0;break c}if(bt[P+1|0]==42){a=ft[P+2|0];h:{if(!(!Qo(a)|bt[P+3|0]!=36)){l[((a<<2)+y|0)-192>>2]=10,a=P+4|0,tt=l[((ft[P+2|0]<<3)+u|0)-384>>2];break h}if(pt)break o;if(a=P+2|0,tt=0,!r)break h;P=l[h>>2],l[h>>2]=P+4,tt=l[P>>2]}l[K+76>>2]=a,st=(tt^-1)>>>31|0;break c}l[K+76>>2]=P+1,tt=Ep(K+76|0),a=l[K+76>>2],st=1}for(;;){if(X=S,dt=28,yt=a,S=ft[a|0],S-123>>>0<4294967238)break i;if(a=yt+1|0,S=bt[(S+Ne(X,58)|0)+4975|0],!(S-1>>>0<8))break}l[K+76>>2]=a;c:{h:{if((S|0)!=27){if(!S)break i;if((Z|0)>=0){l[(Z<<2)+y>>2]=S,S=(Z<<3)+u|0,P=l[S+4>>2],l[K+64>>2]=l[S>>2],l[K+68>>2]=P;break h}if(!r)break n;op(K- -64|0,S,h,w);break c}if((Z|0)>=0)break i}if(S=0,!r)continue s}P=O&-65537,O=O&8192?P:O,Z=0,Lt=1167,dt=at;c:{h:{f:{d:{p:{v:{y:{u:{g:{b:{m:{T:{k:{A:{w:{E:switch(S=ft[yt|0],S=X&&(S&15)==3?S&-33:S,S-88|0){case 11:break c;case 9:case 13:case 14:case 15:break h;case 27:break y;case 12:case 17:break b;case 23:break m;case 0:case 32:break T;case 24:break k;case 22:break A;case 29:break w;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break a;default:break E}E:switch(S-65|0){case 0:case 4:case 5:case 6:break h;case 2:break p;case 1:case 3:break a;default:break E}if((S|0)==83)break v;break a}P=l[K+64>>2],X=l[K+68>>2],S=1167;break g}S=0;A:switch(X&255){case 0:l[l[K+64>>2]>>2]=j;continue s;case 1:l[l[K+64>>2]>>2]=j;continue s;case 2:J=l[K+64>>2],l[J>>2]=j,l[J+4>>2]=j>>31;continue s;case 3:Fr[l[K+64>>2]>>1]=j;continue s;case 4:ft[l[K+64>>2]]=j;continue s;case 6:l[l[K+64>>2]>>2]=j;continue s;case 7:break A;default:continue s}J=l[K+64>>2],l[J>>2]=j,l[J+4>>2]=j>>31;continue s}tt=tt>>>0<=8?8:tt,O=O|8,S=120}if(J=at,P=l[K+64>>2],X=l[K+68>>2],P|X)for(Ht=S&32;J=J-1|0,ft[J|0]=Ht|bt[(P&15)+5504|0],Xt=!X&P>>>0>15|(X|0)!=0,yt=X,X=X>>>4|0,P=(yt&15)<<28|P>>>4,!!Xt;);if(!(O&8)|!(l[K+64>>2]|l[K+68>>2]))break u;Lt=(S>>>4|0)+1167|0,Z=2;break u}if(S=at,J=l[K+68>>2],X=J,P=l[K+64>>2],J|P)for(;S=S-1|0,ft[S|0]=P&7|48,yt=!X&P>>>0>7|(X|0)!=0,J=X,X=J>>>3|0,P=(J&7)<<29|P>>>3,!!yt;);if(J=S,!(O&8))break u;S=at-J|0,tt=(S|0)<(tt|0)?tt:S+1|0;break u}if(P=l[K+64>>2],S=l[K+68>>2],X=S,(S|0)<0){J=0-(X+((P|0)!=0)|0)|0,X=J,P=0-P|0,l[K+64>>2]=P,l[K+68>>2]=J,Z=1,S=1167;break g}if(O&2048){Z=1,S=1168;break g}Z=O&1,S=Z?1169:1167}Lt=S,J=Pn(P,X,at)}if((tt|0)<0&&st)break e;if(O=st?O&-65537:O,S=l[K+64>>2],P=l[K+68>>2],!((S|P)!=0|tt)){J=at,tt=0;break a}S=!(S|P)+(at-J|0)|0,tt=(S|0)<(tt|0)?tt:S;break a}O=0,st=tt>>>0>=2147483647?2147483647:tt,X=st,dt=(X|0)!=0;y:{u:{S=l[K+64>>2],J=S||4277,S=J;g:{b:{m:{if(!(S&3)|!X)break m;for(;;){if(O=bt[S|0],!O)break b;if(X=X-1|0,dt=(X|0)!=0,S=S+1|0,!(S&3))break m;if(!X)break}}if(!dt)break u;m:{if(!(!bt[S|0]|X>>>0<4))for(;;){if(dt=l[S>>2],(dt^-1)&dt-16843009&-2139062144)break m;if(S=S+4|0,X=X-4|0,!(X>>>0>3))break}if(!X)break u}dt=0;break g}dt=1}for(;;){if(!dt){O=bt[S|0],dt=1;continue}if(!O)break y;if(S=S+1|0,X=X-1|0,!X)break u;dt=0}}S=0}if(S=S?S-J|0:st,dt=S+J|0,(tt|0)>=0){O=P,tt=S;break a}if(O=P,tt=S,bt[dt|0])break e;break a}if(tt){P=l[K+64>>2];break d}S=0,mi(r,32,Y,0,O);break f}l[K+12>>2]=0,l[K+8>>2]=l[K+64>>2],P=K+8|0,l[K+64>>2]=P,tt=-1}S=0;d:{for(;;){if(J=l[P>>2],!J)break d;if(J=Rp(K+4|0,J),dt=(J|0)<0,!(dt|J>>>0>tt-S>>>0)){if(P=P+4|0,S=S+J|0,tt>>>0>S>>>0)continue;break d}break}if(dt)break r}if(dt=61,(S|0)<0)break i;if(mi(r,32,Y,S,O),!S){S=0;break f}for(dt=0,P=l[K+64>>2];;){if(J=l[P>>2],!J||(J=Rp(K+4|0,J),dt=J+dt|0,dt>>>0>S>>>0))break f;if(hi(r,K+4|0,J),P=P+4|0,!(S>>>0>dt>>>0))break}}mi(r,32,Y,S,O^8192),S=(S|0)<(Y|0)?Y:S;continue s}if((tt|0)<0&&st)break e;if(dt=61,S=Dt[b|0](r,Fe[K+64>>3],Y,tt,O,S)|0,(S|0)>=0)continue s;break i}ft[K+55|0]=l[K+64>>2],tt=1,J=Ft,O=P;break a}P=bt[S+1|0],S=S+1|0}if(r)break t;if(!pt)break n;for(S=1;;){if(r=l[(S<<2)+y>>2],r){if(op((S<<3)+u|0,r,h,w),j=1,S=S+1|0,(S|0)!=10)continue;break t}break}if(j=1,S>>>0>=10)break t;for(;;){if(l[(S<<2)+y>>2])break o;if(S=S+1|0,(S|0)==10)break}break t}dt=28;break i}if(X=dt-J|0,tt=(tt|0)>(X|0)?tt:X,(tt|0)>(Z^2147483647))break e;if(dt=61,P=tt+Z|0,S=(P|0)<(Y|0)?Y:P,(xt|0)<(S|0))break i;mi(r,32,S,P,O),hi(r,Lt,Z),mi(r,48,S,P,O^65536),mi(r,48,tt,X,0),hi(r,J,X),mi(r,32,S,P,O^8192);continue}break}j=0;break t}dt=61}l[1781]=dt}j=-1}return Et=K+80|0,j}function XA(r,a,h,u){r=r|0,a=+a,h=+h,u=u|0;var y=m(0),b=m(0),w=0,S=m(0),P=0,K=m(0),J=0,dt=m(0),X=0;X=Et+-64|0,Et=X,w=l[r>>2],$i(X+8|0,0,56),l[1755]=l[1755]+1,tp(w),S=m(a),b=D[w+572>>2];t:{r:{i:switch(r=l[w+576>>2],r|0){case 0:case 3:break r;default:break i}y=D[w+572>>2];i:{if(!((r|0)!=1|y!=y)){if(y=b,!(y<m(0)))break i;break r}e:{if(!((r|0)!=2|y!=y)){if(S!=S|b<m(0))break r;break e}y=m(zt);s:switch(r-1|0){case 1:break e;case 0:break s;default:break i}y=b;break i}y=m(m(b*S)*m(.009999999776482582))}dt=m(y+m(fe(w,2,S)+Se(w,2,S))),J=1;break t}y=m(0),b=D[w+216>>2];r:{i:{r=l[w+216>>2];e:{s:{if((r|0)==2139156720)break s;if((r|0)==2140081935)break r;J=4336;n:{if((r|0)!=2141891242){if(b==b)break n;J=4344}switch(y=D[J>>2],l[J+4>>2]-1|0){case 0:break e;case 1:break s;default:break i}}if(y=(Ct(2,(r&-1073741825)+536870912|0),Gt()),!(r&1073741824))break e}y=m(m(y*S)*m(.009999999776482582))}if(y!=y)break i;y=m(0);e:{if((r|0)==2139156720)break e;if((r|0)==2140081935)break r;P=4336;s:{if((r|0)!=2141891242){if(b==b)break s;P=4344}switch(y=D[P>>2],dt=m(zt),J=2,l[P+4>>2]-1|0){case 1:break e;case 0:break r;default:break t}}if(y=(Ct(2,(r&-1073741825)+536870912|0),Gt()),!(r&1073741824))break r}dt=m(m(y*S)*m(.009999999776482582)),J=2;break t}J=S==S,dt=S;break t}J=2,dt=y}K=m(h),b=D[w+580>>2];t:{r:{i:switch(r=l[w+584>>2],r|0){case 0:case 3:break r;default:break i}y=D[w+580>>2];i:{if(!((r|0)!=1|y!=y)){if(y=b,!(y<m(0)))break i;break r}e:{if(!((r|0)!=2|y!=y)){if(K!=K|b<m(0))break r;break e}y=m(zt);s:switch(r-1|0){case 1:break e;case 0:break s;default:break i}y=b;break i}y=m(m(b*K)*m(.009999999776482582))}b=m(y+m(fe(w,0,S)+Se(w,0,S))),r=1;break t}y=m(0),b=D[w+220>>2];r:{i:{r=l[w+220>>2];e:{s:{if((r|0)==2139156720)break s;if((r|0)==2140081935)break r;P=4336;n:{if((r|0)!=2141891242){if(b==b)break n;P=4344}switch(y=D[P>>2],l[P+4>>2]-1|0){case 0:break e;case 1:break s;default:break i}}if(y=(Ct(2,(r&-1073741825)+536870912|0),Gt()),!(r&1073741824))break e}y=m(m(y*K)*m(.009999999776482582))}if(y!=y)break i;y=m(0);e:{if((r|0)==2139156720)break e;if((r|0)==2140081935)break r;P=4336;s:{if((r|0)!=2141891242){if(b==b)break s;P=4344}switch(y=D[P>>2],b=m(zt),r=2,l[P+4>>2]-1|0){case 0:break r;case 1:break e;default:break t}}if(y=(Ct(2,(r&-1073741825)+536870912|0),Gt()),!(r&1073741824))break r}b=m(m(y*K)*m(.009999999776482582)),r=2;break t}r=K==K,b=K;break t}r=2,b=y}an(w,dt,b,u,J,r,S,K,1,0,l[w+568>>2],X+8|0,0,l[1755])&&(dp(w,bt[w+300|0]&3,S,K,S),lp(w,+D[l[w+568>>2]+20>>2],0,0)),Et=X- -64|0}function qA(r,a){r=r|0,a=a|0;var h=0,u=m(0),y=0,b=0,w=m(0),S=0,P=0,K=0,J=m(0);t:{P=l[a>>2],a=l[r>>2];r:{if((l[P+24>>2]^l[a+24>>2])&8388607)break r;J=D[P+40>>2],y=l[P+40>>2],u=D[a+40>>2];i:{e:{if(h=l[a+40>>2],(h|0)!=2139156720){if(w=m(zt),r=3,(h|0)==2141891242)break i;if((h|0)!=2140081935)break e;w=m(0),r=1;break i}r=2;break i}if(r=0,u!=u)break i;w=(Ct(2,(h&-1073741825)+536870912|0),Gt()),r=h&1073741824?2:1}i:{e:{if((y|0)!=2139156720){if(u=m(zt),h=3,(y|0)==2141891242)break i;if((y|0)!=2140081935)break e;u=m(0),h=1;break i}u=m(0),h=2;break i}if(h=0,J!=J)break i;u=(Ct(2,(y&-1073741825)+536870912|0),Gt()),h=y&1073741824?2:1}if((h|0)!=(r|0)|!(!r|w!=w&u!=u|m(Be(m(w-u)))<m(9999999747378752e-20))||(h=a+44|0,b=P+44|0,l[h>>2]!=l[b>>2]))break r;r=0;i:{for(;;){if(y=r,r=r+1|0,(r|0)==9)break i;if(S=r<<2,l[S+h>>2]!=l[b+S>>2])break}if(y>>>0<8)break r}if(h=a+80|0,b=P+80|0,l[h>>2]!=l[b>>2])break r;r=0;i:{for(;;){if(y=r,r=r+1|0,(r|0)==9)break i;if(S=r<<2,l[S+h>>2]!=l[b+S>>2])break}if(y>>>0<8)break r}if(h=a+116|0,b=P+116|0,l[h>>2]!=l[b>>2])break r;r=0;i:{for(;;){if(y=r,r=r+1|0,(r|0)==9)break i;if(S=r<<2,l[S+h>>2]!=l[b+S>>2])break}if(y>>>0<8)break r}if(h=a+152|0,b=P+152|0,l[h>>2]!=l[b>>2])break r;r=0;i:{for(;;){if(y=r,r=r+1|0,(r|0)==9)break i;if(S=r<<2,l[S+h>>2]!=l[b+S>>2])break}if(y>>>0<8)break r}if(h=a+188|0,b=P+188|0,l[h>>2]!=l[b>>2])break r;r=0;i:{for(;;){if(y=r,r=r+1|0,(r|0)==3)break i;if(S=r<<2,l[S+h>>2]!=l[b+S>>2])break}if(y>>>0<2)break r}for(S=P+200|0,K=a+200|0,r=0,y=1;;){i:{if(r=r<<2,h=l[r+S>>2],b=l[r+K>>2],!y)break i;if(y=0,r=1,(h|0)==(b|0))continue}break}if((h|0)!=(b|0))break r;for(S=P+208|0,K=a+208|0,r=0,y=1;;){i:{if(r=r<<2,h=l[r+S>>2],b=l[r+K>>2],!y)break i;if(y=0,r=1,(h|0)==(b|0))continue}break}if((h|0)!=(b|0))break r;for(S=P+216|0,K=a+216|0,r=0,y=1;;){i:{if(r=r<<2,h=l[r+S>>2],b=l[r+K>>2],!y)break i;if(y=0,r=1,(h|0)==(b|0))continue}break}if((h|0)!=(b|0)||(w=D[P+28>>2],r=w!=w,u=D[a+28>>2],(r|0)==(u==u|0)|!(r|u!=u)&u!=w)||(u=D[a+32>>2],w=D[P+32>>2],(u==u|0)==(w!=w|0)|u==u&u!=w)||(w=D[P+36>>2],r=w!=w,u=D[a+36>>2],(r|0)==(u==u|0)|!r&u!=w))break r;if(r=0,u=D[a+224>>2],u!=u&&(r=1,w=D[P+224>>2],w!=w)||(w=u,u=D[P+224>>2],w==u|u!=u&r))break t}for(Mi(a+24|0,P+24|0,204);;){if(r=bt[a+4|0],r&4)break t;if(ft[a+4|0]=r|4,r=l[a+20>>2],r&&Dt[r|0](a),l[a+308>>2]=2143289344,a=l[a+552>>2],!a)break}}}function QA(r,a){r=r|0,a=a|0;var h=0,u=0,y=0,b=0,w=0,S=0,P=0,K=0,J=0,dt=0,X=0,tt=0,O=0,j=0,Y=0,Z=0;h=a,a=l[a>>2]+7&-8,l[h>>2]=a+16,O=r,P=l[a>>2],u=l[a+4>>2],r=l[a+12>>2],X=r,w=Et-32|0,Et=w,r=r&2147483647,S=r,y=r-1006698496|0,r=r-1140785152|0,h=l[a+8>>2],a=h;t:{if((y|0)==(r|0)&a>>>0<a>>>0|r>>>0>y>>>0){if(r=h,h=X<<4|r>>>28,a=r<<4|u>>>28,r=h,u=u&268435455,(u|0)==134217728&(P|0)!=0|u>>>0>134217728){r=r+1073741824|0,a=a+1|0,r=a?r:r+1|0;break t}if(r=r+1073741824|0,P|(u|0)!=134217728)break t;u=a&1,a=u+a|0,r=a>>>0<u>>>0?r+1|0:r;break t}if(!(!a&(S|0)==2147418112?!(u|P):S>>>0<2147418112)){r=h,h=X<<4|r>>>28,a=r<<4|u>>>28,r=h&524287|2146959360;break t}if(a=0,r=2146435072,S>>>0>1140785151||(r=0,tt=S>>>16|0,tt>>>0<15249))break t;a=P,r=u,y=X&65535|65536,S=y,dt=h,b=h,K=tt-15233|0;r:{if(K&64){h=a,y=K+-64|0,a=y&31,(y&63)>>>0>=32?(r=h<<a,b=0):(r=(1<<a)-1&h>>>32-a|r<<a,b=h<<a),y=r,a=0,r=0;break r}if(!K)break r;J=b,b=K&31,(K&63)>>>0>=32?(h=J<<b,b=0):(h=(1<<b)-1&J>>>32-b|y<<b,b=J<<b),y=h,j=b,J=a,h=64-K|0,b=h&31,(h&63)>>>0>=32?(h=0,a=r>>>b|0):(h=r>>>b|0,a=((1<<b)-1&r)<<32-b|J>>>b),b=j|a,y=h|y,a=K&31,(K&63)>>>0>=32?(h=J<<a,a=0):(h=(1<<a)-1&J>>>32-a|r<<a,a=J<<a),r=h}l[w+16>>2]=a,l[w+20>>2]=r,l[w+24>>2]=b,l[w+28>>2]=y,a=15361-tt|0;r:{if(a&64){u=dt,a=a+-64|0,r=a&31,(a&63)>>>0>=32?(h=0,P=S>>>r|0):(h=S>>>r|0,P=((1<<r)-1&S)<<32-r|u>>>r),u=h,dt=0,S=0;break r}if(!a)break r;y=dt,r=64-a|0,h=r&31,(r&63)>>>0>=32?(r=y<<h,b=0):(r=(1<<h)-1&y>>>32-h|S<<h,b=y<<h),y=P,P=a&31,(a&63)>>>0>=32?(h=0,y=u>>>P|0):(h=u>>>P|0,y=((1<<P)-1&u)<<32-P|y>>>P),P=b|y,u=r|h,y=dt,h=a&31,(a&63)>>>0>=32?(r=0,dt=S>>>h|0):(r=S>>>h|0,dt=((1<<h)-1&S)<<32-h|y>>>h),S=r}if(l[w>>2]=P,l[w+4>>2]=u,l[w+8>>2]=dt,l[w+12>>2]=S,a=l[w+8>>2],r=l[w+12>>2]<<4|a>>>28,a=a<<4,h=l[w>>2],S=l[w+4>>2],a=S>>>28|a,u=S&268435455,h=h|(l[w+16>>2]|l[w+24>>2]|(l[w+20>>2]|l[w+28>>2]))!=0,(u|0)==134217728&(h|0)!=0|u>>>0>134217728){a=a+1|0,r=a?r:r+1|0;break t}if(h|(u|0)!=134217728)break t;h=a,a=a+(a&1)|0,r=h>>>0>a>>>0?r+1|0:r}Et=w+32|0,Ct(0,a|0),Ct(1,X&-2147483648|r),Y=O,Z=+Ae(),Fe[Y>>3]=Z}function an(r,a,h,u,y,b,w,S,P,K,J,dt,X,tt){var O=m(0),j=0,Y=0,Z=0,st=0,at=m(0),pt=0,yt=0,Lt=m(0);t:{if(!(l[r+312>>2]!=(tt|0)&&bt[r+4|0]&4)&&(st=0,l[r+316>>2]==(u|0)))break t;l[r+540>>2]=-1082130432,l[r+544>>2]=-1082130432,l[r+532>>2]=0,l[r+536>>2]=0,l[r+524>>2]=-1082130432,l[r+528>>2]=-1082130432,l[r+320>>2]=0,st=1}pt=X+1|0;t:{r:{i:{e:{if(l[r+8>>2]){if(at=fe(r,2,w),Lt=Se(r,2,w),O=m(fe(r,0,w)+Se(r,0,w)),X=r+524|0,at=m(at+Lt),ip(y,a,b,h,l[r+532>>2],D[X>>2],l[r+536>>2],D[r+528>>2],D[r+540>>2],D[r+544>>2],at,O,J))break i;if(Y=l[r+320>>2],!Y)break e;for(j=r+324|0;;){if(X=j+Ne(Z,24)|0,ip(y,a,b,h,l[X+8>>2],D[X>>2],l[X+12>>2],D[X+4>>2],D[X+16>>2],D[X+20>>2],at,O,J))break i;if(Z=Z+1|0,(Y|0)==(Z|0))break}break e}if(!P){if(yt=l[r+320>>2],!yt)break e;for(Y=r+324|0;;){j=Ne(Z,24),X=j+Y|0,O=D[X>>2];s:{n:{if(!(O!=O|a!=a)){if(m(Be(m(O-a)))<m(9999999747378752e-20))break n;break s}if(O==O|a==a)break s}j=Y+j|0,O=D[j+4>>2];n:{if(!(O!=O|h!=h)){if(m(Be(m(O-h)))<m(9999999747378752e-20))break n;break s}if(O==O|h==h)break s}if(l[j+8>>2]!=(y|0))break s;if(l[j+12>>2]==(b|0))break i}if(Z=Z+1|0,(yt|0)==(Z|0))break}break e}X=r+524|0,O=D[X>>2];s:{if(!(O!=O|a!=a)){if(m(Be(m(O-a)))<m(9999999747378752e-20))break s;break e}if(O==O|a==a)break e}j=l[r+532>>2]==(y|0)&&l[r+536>>2]==(b|0)?X:0,O=D[r+528>>2],X=O!=O,Y=h!=h;s:{if(X|Y){X=X&Y;break s}X=m(Be(m(O-h)))<m(9999999747378752e-20)}X=X?j:0;break i}Xf(r,a,h,u,y,b,w,S,P,J,dt,pt,tt,K),l[r+316>>2]=u;break r}if(!(!X|st)){D[r+516>>2]=D[X+16>>2],D[r+520>>2]=D[X+20>>2],u=(P?12:16)+dt|0,l[u>>2]=l[u>>2]+1;break t}if(Xf(r,a,h,u,y,b,w,S,P,J,dt,pt,tt,K),l[r+316>>2]=u,X)break t}X=l[r+320>>2],u=X+1|0,u>>>0>Hf[dt+8>>2]&&(l[dt+8>>2]=u),(X|0)==8&&(l[r+320>>2]=0,X=0),P?u=r+524|0:(l[r+320>>2]=X+1,u=(Ne(X,24)+r|0)+324|0),l[u+12>>2]=b,l[u+8>>2]=y,D[u+4>>2]=h,D[u>>2]=a,D[u+16>>2]=D[r+516>>2],D[u+20>>2]=D[r+520>>2],X=0}t:{if(!P||(u=l[r+520>>2],l[r+244>>2]=l[r+516>>2],l[r+248>>2]=u,u=bt[r+4|0],y=u|1,ft[r+4|0]=y,!(u&4)))break t;ft[r+4|0]=y&251}return l[r+312>>2]=tt,!X|st}function hh(r){r=r|0;var a=0,h=0,u=0,y=0,b=0,w=0,S=0,P=0,K=0,J=0,dt=0;S=8;t:{if(r>>>0>4294967239)break t;r:{for(;;){S=S>>>0<=8?8:S,a=l[1751],b=a,y=l[1750],r=r>>>0<=8?8:r+3&-4;i:{if(r>>>0<=127){w=(r>>>3|0)-1|0;break i}if(u=gr(r),w=((r>>>29-u^4)-(u<<2)|0)+110|0,r>>>0<=4095)break i;u=((r>>>30-u^2)-(u<<1)|0)+71|0,w=u>>>0>=63?63:u}if(h=w&31,(w&63)>>>0>=32?(u=0,a=a>>>h|0):(u=a>>>h|0,a=((1<<h)-1&a)<<32-h|y>>>h),a|u){for(;;){y=u;i:{if(a|u){h=u-1|0,P=h+1|0,b=h,h=a-1|0,b=(h|0)!=-1?P:b,u=gr(u^b),u=(u|0)==32?gr(a^h)+32|0:u,h=63-u|0,Oi=0-(u>>>0>63)|0;break i}Oi=0,h=64}b=h,h=b&31,(b&63)>>>0>=32?(u=0,a=y>>>h|0):(u=y>>>h|0,a=((1<<h)-1&y)<<32-h|a>>>h),P=a,w=b+w|0,h=w<<4,a=l[h+5976>>2],b=h+5968|0;i:{if((a|0)!=(b|0)){if(y=fh(a,S,r),y)break t;y=l[a+4>>2],l[y+8>>2]=l[a+8>>2],l[l[a+8>>2]+4>>2]=y,l[a+8>>2]=b,y=h+5972|0,l[a+4>>2]=l[y>>2],l[y>>2]=a,l[l[a+4>>2]+8>>2]=a,w=w+1|0,a=(u&1)<<31|P>>>1,u=u>>>1|0;break i}K=l[1751],b=w&63,a=b,y=a&31,a>>>0>=32?(a=0,h=-1>>>y|0):(a=-1>>>y|0,h=a|(1<<y)-1<<32-y),h=h&-2,y=b&31,b>>>0>=32?(a=h<<y,h=0):(a=(1<<y)-1&h>>>32-y|a<<y,h=h<<y),J=h,y=a,b=0-w&63,h=b,a=h&31,h>>>0>=32?(a=-1<<a,h=0):(h=-1<<a,a=h|(1<<a)-1&-1>>>32-a),dt=h&-2,h=b&31,b>>>0>=32?(b=0,a=a>>>h|0):(b=a>>>h|0,a=((1<<h)-1&a)<<32-h|dt>>>h),a=a|J,Oi=y|b,l[1750]=l[1750]&a,l[1751]=Oi&K,a=P^1}if(!(a|u))break}b=l[1751],y=l[1750]}i:{if(y|b){u=gr(b),h=63-((u|0)==32?gr(y)+32|0:u)|0,a=h<<4,u=l[a+5976>>2];e:{if(!b&y>>>0<1073741824||(w=99,a=a+5968|0,(a|0)==(u|0)))break e;for(;;){if(!w)break e;if(y=fh(u,S,r),y)break t;if(w=w-1|0,u=l[u+8>>2],(a|0)==(u|0))break}u=a}if(uh(r+48|0))break i;if(!u||(a=(h<<4)+5968|0,(a|0)==(u|0)))break r;for(;;){if(y=fh(u,S,r),y)break t;if(u=l[u+8>>2],(a|0)==(u|0))break}break r}if(!uh(r+48|0))break r}if(y=0,S-1&S)break t;if(!(r>>>0<=4294967239))break}break t}y=0}return y|0}function JA(r,a,h){r=r|0,a=a|0,h=h|0;var u=0,y=0,b=0,w=0,S=0,P=0,K=0,J=0,dt=0,X=0;S=Et-80|0,Et=S,r=l[r>>2];t:{r:{if(P=l[a>>2],!l[P+552>>2]){if(l[r+8>>2])break r;a=l[r+556>>2],w=a+(h<<2)|0,u=l[r+560>>2],y=r+564|0,b=l[y>>2];i:{if(u>>>0<b>>>0){if((u|0)==(w|0)){l[w>>2]=P,l[r+560>>2]=w+4;break i}if(h=u,a=u-4|0,u>>>0>a>>>0)for(;l[h>>2]=l[a>>2],h=h+4|0,a=a+4|0,u>>>0>a>>>0;);l[r+560>>2]=h,a=w+4|0,(a|0)!=(u|0)&&(a=u-a|0,Ls(u-(a&-4)|0,w,a)),l[w>>2]=P;break i}if(u=(u-a>>2)+1|0,u>>>0>=1073741824)break t;a=b-a|0,b=a>>1,y=xa(S+32|0,a>>>0>=2147483644?1073741823:u>>>0<b>>>0?b:u,h,y),h=l[y+8>>2];e:{if((h|0)!=l[y+12>>2])break e;if(a=l[y+4>>2],u=l[y>>2],a>>>0>u>>>0){u=((a-u>>2)+1|0)/-2<<2,K=u+a|0,b=a,a=h-a|0,h=Ls(K,b,a)+a|0,l[y+8>>2]=h,l[y+4>>2]=u+l[y+4>>2];break e}a=(h|0)==(u|0)?1:h-u>>1,b=xa(S+56|0,a,a>>>2|0,l[y+16>>2]),u=l[b+8>>2],a=l[y+4>>2],h=l[y+8>>2];s:{if((a|0)==(h|0)){h=u,u=a;break s}for(h=(h-a|0)+u|0;l[u>>2]=l[a>>2],a=a+4|0,u=u+4|0,(u|0)!=(h|0););a=l[y+8>>2],u=l[y+4>>2]}if(K=l[y>>2],l[y>>2]=l[b>>2],l[b>>2]=K,l[y+4>>2]=l[b+4>>2],l[b+4>>2]=u,l[y+8>>2]=h,l[b+8>>2]=a,J=l[y+12>>2],l[y+12>>2]=l[b+12>>2],l[b+12>>2]=J,(a|0)!=(u|0)&&(l[b+8>>2]=((u-a|0)+3&-4)+a),!K)break e;gi(K),h=l[y+8>>2]}if(l[h>>2]=P,l[y+8>>2]=l[y+8>>2]+4,a=l[r+556>>2],h=w-a|0,dt=y,X=Ls(l[y+4>>2]-h|0,a,h),l[dt+4>>2]=X,u=l[r+560>>2]-w|0,w=Ls(l[y+8>>2],w,u),a=l[r+556>>2],l[r+556>>2]=l[y+4>>2],l[y+4>>2]=a,h=l[r+560>>2],l[r+560>>2]=u+w,l[y+8>>2]=h,u=l[r+564>>2],l[r+564>>2]=l[y+12>>2],l[y>>2]=a,l[y+12>>2]=u,(a|0)!=(h|0)&&(l[y+8>>2]=h+((a-h|0)+3&-4)),!a)break i;gi(a)}for(l[P+552>>2]=r;a=bt[r+4|0],!!(!(a&4)&&(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],r)););Et=S+80|0;return}l[S+16>>2]=4075,er(r,S+16|0),Ki(),ue()}l[S>>2]=4208,er(r,S),Ki(),ue()}Rs(),ue()}function Jf(r,a){var h=0,u=0;for(l[r>>2]=0,l[r+8>>2]=0,l[r+12>>2]=0,l[r+16>>2]=0,l[r+20>>2]=0,l[r+24>>2]=0,l[r+36>>2]=2143289344,l[r+40>>2]=2141891242,l[r+28>>2]=2143289344,l[r+32>>2]=2143289344,ft[r+4|0]=bt[r+4|0]&128,u=$i(r+44|0,0,36);l[u+(h<<2)>>2]=2143289344,h=h+1|0,(h|0)!=9;);for(h=0,u=$i(r+80|0,0,36);l[u+(h<<2)>>2]=2143289344,h=h+1|0,(h|0)!=9;);for(h=0,u=$i(r+116|0,0,36);l[u+(h<<2)>>2]=2143289344,h=h+1|0,(h|0)!=9;);for(h=0,u=$i(r+152|0,0,36);l[u+(h<<2)>>2]=2143289344,h=h+1|0,(h|0)!=9;);for(h=0,l[r+196>>2]=0,u=r+188|0,l[u>>2]=0,l[u+4>>2]=0;l[u+(h<<2)>>2]=2143289344,h=h+1|0,(h|0)!=3;);for(l[r+24>>2]=4224,l[r+224>>2]=2143289344,l[r+216>>2]=2143289344,l[r+220>>2]=2143289344,l[r+208>>2]=2143289344,l[r+212>>2]=2143289344,l[r+200>>2]=2141891242,l[r+204>>2]=2141891242,$i(r+228|0,0,288),l[r+244>>2]=2143289344,l[r+248>>2]=2143289344,$i(r+252|0,0,49),l[r+308>>2]=2143289344,u=r+516|0,h=r+324|0;l[h+16>>2]=-1082130432,l[h+20>>2]=-1082130432,l[h+8>>2]=0,l[h+12>>2]=0,l[h>>2]=-1082130432,l[h+4>>2]=-1082130432,h=h+24|0,(u|0)!=(h|0););return l[r+548>>2]=0,l[r+552>>2]=0,l[r+516>>2]=2143289344,l[r+520>>2]=2143289344,l[r+572>>2]=2143289344,l[r+576>>2]=0,l[r+568>>2]=a,l[r+540>>2]=-1082130432,l[r+544>>2]=-1082130432,l[r+532>>2]=0,l[r+536>>2]=0,l[r+524>>2]=-1082130432,l[r+528>>2]=-1082130432,l[r+556>>2]=0,l[r+560>>2]=0,l[r+564>>2]=0,l[r+580>>2]=2143289344,l[r+584>>2]=0,xp((a|0)!=0,2760),ft[r+4|0]=bt[r+4|0]|1,ft[a+8|0]&1&&(l[r+24>>2]=l[r+24>>2]&-909|520),r}function Ge(r,a,h,u){var y=m(0),b=m(0),w=0,S=m(0);t:{r:{i:{e:{s:{n:{if(a>>>0<=1){b=D[r+212>>2],a=l[r+212>>2];a:{if((a|0)==2139156720)break a;if((a|0)==2140081935)break n;w=4336;o:{if((a|0)!=2141891242){if(b==b)break o;w=4344}switch(y=D[w>>2],b=m(zt),l[w+4>>2]-1|0){case 0:break n;case 1:break a;default:break s}}if(y=(Ct(2,(a&-1073741825)+536870912|0),Gt()),!(a&1073741824))break n}b=m(m(y*u)*m(.009999999776482582));break s}b=D[r+208>>2];a:{o:{a=l[r+208>>2];l:{if((a|0)==2139156720)break l;if((a|0)==2140081935)break o;w=4336;c:{if((a|0)!=2141891242){if(b==b)break c;w=4344}switch(y=D[w>>2],b=m(zt),l[w+4>>2]-1|0){case 0:break o;case 1:break l;default:break a}}if(y=(Ct(2,(a&-1073741825)+536870912|0),Gt()),!(a&1073741824))break o}b=m(m(y*u)*m(.009999999776482582));break a}b=y}y=m(0),S=D[r+216>>2],r=l[r+216>>2];a:{if((r|0)==2139156720)break a;if((r|0)==2140081935)break i;a=4336;o:{if((r|0)!=2141891242){if(S==S)break o;a=4344}switch(y=D[a>>2],l[a+4>>2]-1|0){case 1:break a;case 0:break e;default:break r}}if(y=(Ct(2,(r&-1073741825)+536870912|0),Gt()),!(r&1073741824))break e}y=m(m(y*u)*m(.009999999776482582));break e}b=y}y=m(0),S=D[r+220>>2],r=l[r+220>>2];s:{if((r|0)==2139156720)break s;if((r|0)==2140081935)break i;a=4336;n:{if((r|0)!=2141891242){if(S==S)break n;a=4344}switch(y=D[a>>2],l[a+4>>2]-1|0){case 1:break s;case 0:break e;default:break r}}if(y=(Ct(2,(r&-1073741825)+536870912|0),Gt()),!(r&1073741824))break e}y=m(m(y*u)*m(.009999999776482582))}if(!(y>=m(0)))break r}if(h>y)break t}if(!(b>=m(0)))return h;y=h<b?b:h}return y}function tp(r){var a=0,h=0,u=m(0),y=m(0),b=m(0),w=0,S=0,P=0,K=0,J=0,dt=0,X=0,tt=0,O=0;for(w=Et-16|0,l[w+8>>2]=0,l[w+12>>2]=1,J=r+200|0,dt=r+572|0,X=r+208|0,tt=r+216|0,r=0;;){O=r,K=l[(w+8|0)+(r<<2)>>2],S=K<<2,r=tt+S|0,u=D[r>>2];t:{r:{i:{e:{s:{n:{if(a=l[r>>2],P=(a|0)==2139156720,!(P|(a|0)==2140081935|(a|0)==2141891242)&u!=u)break n;r=S+X|0,y=D[r>>2],h=l[r>>2];a:{o:{if((h|0)!=2139156720){if(b=m(zt),r=3,(h|0)==2141891242)break a;if((h|0)!=2140081935)break o;b=m(0),r=1;break a}b=m(0),r=2;break a}if(r=0,y!=y)break a;b=(Ct(2,(h&-1073741825)+536870912|0),Gt()),r=h&1073741824?2:1}h=r;a:{o:{if(!P){if(y=m(zt),r=3,(a|0)==2141891242)break a;if((a|0)!=2140081935)break o;y=m(0),r=1;break a}y=m(0),r=2;break a}if(r=0,u!=u)break a;y=(Ct(2,(a&-1073741825)+536870912|0),Gt()),r=a&1073741824?2:1}if((h|0)!=(r|0)|!(!r|y!=y&b!=b|m(Be(m(y-b)))<m(9999999747378752e-20)))break n;if(r=0,P)break s;if((a|0)==2140081935)break r;if((a|0)==2141891242)break i;if(u!=u)break e;r=(a&-1073741825)+536870912|0,a=a&1073741824?2:1;break t}if(r=0,a=S+J|0,u=D[a>>2],a=l[a>>2],(a|0)==2139156720)break s;if((a|0)==2140081935)break r;if((a|0)==2141891242)break i;if(u!=u)break e;r=(a&-1073741825)+536870912|0,a=a&1073741824?2:1;break t}a=2;break t}r=2143289344,a=0;break t}r=2143289344,a=3;break t}a=1}if(h=(K<<3)+dt|0,l[h+4>>2]=a,l[h>>2]=r,r=1,!!(O&1))break}}function Mi(r,a,h){var u=0,y=0,b=0;if(h>>>0>=512)return HA(r|0,a|0,h|0),r;y=r+h|0;t:{if(!((r^a)&3)){r:{if(!(r&3)){h=r;break r}if(!h){h=r;break r}for(h=r;;){if(ft[h|0]=bt[a|0],a=a+1|0,h=h+1|0,!(h&3))break r;if(!(h>>>0<y>>>0))break}}u=y&-4;r:{if(u>>>0<64||(b=u+-64|0,b>>>0<h>>>0))break r;for(;l[h>>2]=l[a>>2],l[h+4>>2]=l[a+4>>2],l[h+8>>2]=l[a+8>>2],l[h+12>>2]=l[a+12>>2],l[h+16>>2]=l[a+16>>2],l[h+20>>2]=l[a+20>>2],l[h+24>>2]=l[a+24>>2],l[h+28>>2]=l[a+28>>2],l[h+32>>2]=l[a+32>>2],l[h+36>>2]=l[a+36>>2],l[h+40>>2]=l[a+40>>2],l[h+44>>2]=l[a+44>>2],l[h+48>>2]=l[a+48>>2],l[h+52>>2]=l[a+52>>2],l[h+56>>2]=l[a+56>>2],l[h+60>>2]=l[a+60>>2],a=a- -64|0,h=h- -64|0,b>>>0>=h>>>0;);}if(h>>>0>=u>>>0)break t;for(;l[h>>2]=l[a>>2],a=a+4|0,h=h+4|0,u>>>0>h>>>0;);break t}if(y>>>0<4){h=r;break t}if(u=y-4|0,u>>>0<r>>>0){h=r;break t}for(h=r;ft[h|0]=bt[a|0],ft[h+1|0]=bt[a+1|0],ft[h+2|0]=bt[a+2|0],ft[h+3|0]=bt[a+3|0],a=a+4|0,h=h+4|0,u>>>0>=h>>>0;);}if(h>>>0<y>>>0)for(;ft[h|0]=bt[a|0],a=a+1|0,h=h+1|0,(y|0)!=(h|0););return r}function ep(r,a,h,u,y){var b=m(0),w=0,S=m(0),P=m(0),K=0,J=0,dt=m(0),X=m(0),tt=0;if(S=m(h-u),J=S!=S,!J){h=m(0),w=(a<<2)+r|0,b=D[w+208>>2];t:{r:{w=l[w+208>>2];i:{e:{if((w|0)==2139156720)break e;if((w|0)==2140081935)break r;K=4336;s:{if((w|0)!=2141891242){if(b==b)break s;K=4344}switch(h=D[K>>2],l[K+4>>2]-1|0){case 0:break i;case 1:break e;default:break t}}if(h=(Ct(2,(w&-1073741825)+536870912|0),Gt()),!(w&1073741824))break i}h=m(m(h*y)*m(.009999999776482582))}if(h==h)break r;break t}P=m(h-u)}h=m(0),r=(a<<2)+r|0,b=D[r+216>>2];t:{r:{a=l[r+216>>2];i:{e:{if((a|0)==2139156720)break e;if((a|0)==2140081935)break r;r=4336;s:{if((a|0)!=2141891242){if(b==b)break s;r=4344}switch(h=D[r>>2],b=m(34028234663852886e22),l[r+4>>2]-1|0){case 0:break i;case 1:break e;default:break t}}if(h=(Ct(2,(a&-1073741825)+536870912|0),Gt()),!(a&1073741824))break i}h=m(m(h*y)*m(.009999999776482582))}if(h==h)break r;b=m(34028234663852886e22);break t}b=m(h-u)}if(h=(dt=S,X=yh(S,b),tt=b!=b|J,tt?dt:X),r=h!=h,!(r|P!=P))return ce(h,P);S=r?P:h}return S}function ip(r,a,h,u,y,b,w,S,P,K,J,dt,X){var tt=m(0),O=m(0),j=0,Y=0,Z=m(0),st=m(0),at=m(0),pt=0,yt=0;if(P<m(0)|K<m(0))r=0;else{Z=b,st=a,at=u,O=S;t:{if(!X||(tt=D[X+20>>2],O=S,tt==m(0)))break t;pt=+tt,st=Br(+a,pt,0,0),at=Br(+u,pt,0,0),Z=Br(+b,pt,0,0),O=Br(+S,pt,0,0)}tt=O,X=0;t:{if((r|0)!=(y|0))break t;if(yt=Z!=Z,X=st!=st,yt|X){X=X&yt;break t}X=m(Be(m(Z-st)))<m(9999999747378752e-20)}yt=X;t:{if((h|0)!=(w|0))break t;if(j=tt!=tt,X=at!=at,j|X){j=X&j;break t}j=m(Be(m(tt-at)))<m(9999999747378752e-20)}Y=1,X=1;t:{if(yt)break t;a=m(a-J);r:{if((r|0)==1)break r;if(r=(r|0)!=2,!(r|y)){if(!(a>=P))break r;break t}if(X=0,!(a<b)|(r|(y|0)!=2|(a!=a|b!=b|P!=P))||(X=1,a>=P))break t}if(y=a!=a,r=P!=P,y|r){X=r&y;break t}X=m(Be(m(a-P)))<m(9999999747378752e-20)}t:{if(j)break t;a=m(u-dt);r:{if((h|0)==1)break r;if(r=(h|0)!=2,!(r|w)){if(!(a>=K))break r;break t}if(Y=0,!(a<S)|(r|(w|0)!=2|(a!=a|S!=S|K!=K))||(Y=1,a>=K))break t}if(h=a!=a,r=K!=K,h|r){Y=r&h;break t}Y=m(Be(m(a-K)))<m(9999999747378752e-20)}r=X&Y}return r}function dh(r){var a=0,h=0,u=0,y=0,b=0,w=0,S=0,P=0;if(pi(+r),b=Jt(1)|0,u=Jt(0)|0,y=b>>>20&2047,(y|0)==2047)return r=r*1,r/r;if(a=u<<1,w=b<<1|u>>>31,!a&(w|0)==2145386496|w>>>0<2145386496)return!a&(w|0)==2145386496?r*0:r;t:{if(!y){if(y=0,h=u<<12,a=b<<12|u>>>20,(a|0)>0|(a|0)>=0)for(;y=y-1|0,a=a<<1|h>>>31,h=h<<1,!!((a|0)>0|(a|0)>=0););a=1-y|0,h=a&31,(a&63)>>>0>=32?(a=u<<h,u=0):(a=(1<<h)-1&u>>>32-h|b<<h,u=u<<h);break t}a=b&1048575|1048576}if(h=u,(y|0)>1023){for(;;){t:{if(u=a+-1048576|0,(u|0)<0||(a=u,a|h))break t;return r*0}if(a=a<<1|h>>>31,h=h<<1,y=y-1|0,!((y|0)>1023))break}y=1023}t:{if(u=a+-1048576|0,(u|0)<0||(a=u,a|h))break t;return r*0}if((a|0)==1048575|a>>>0<1048575)for(;y=y-1|0,u=a>>>0<524288,w=a<<1|h>>>31,h=h<<1,a=w,!!u;);return P=b&-2147483648,w=a+-1048576|y<<20,S=h,b=a,S=h,u=1-y|0,h=u&31,(u&63)>>>0>=32?(a=0,u=b>>>h|0):(a=b>>>h|0,u=((1<<h)-1&b)<<32-h|S>>>h),h=(y|0)>0,Ct(0,(h?S:u)|0),Ct(1,(h?w:a)|P),+Ae()}function uh(r){var a=0,h=0,u=0,y=0,b=0;u=l[1416],a=r+7&-8,h=u+a|0;t:{r:{if(h>>>0<=u>>>0&&a||h>>>0>jp()<<16>>>0&&!(VA(h|0)|0))break r;l[1416]=h;break t}l[1781]=48,u=-1}if((u|0)!=-1){a=r+u|0,h=a-16|0,l[h+12>>2]=16,l[h>>2]=16,r=l[1748],r?b=l[r+8>>2]:b=0;t:{r:{if((b|0)==(u|0)){if(y=u-(l[u-4>>2]&-2)|0,b=l[y-4>>2],l[r+8>>2]=a,r=y-(b&-2)|0,a=-16,!(ft[(r+l[r>>2]|0)-4|0]&1))break r;a=l[r+4>>2],l[a+8>>2]=l[r+8>>2],l[l[r+8>>2]+4>>2]=a,h=h-r|0,l[r>>2]=h;break t}l[u+12>>2]=16,l[u>>2]=16,l[u+8>>2]=a,l[u+4>>2]=r,l[1748]=u,a=16}r=a+u|0,h=h-r|0,l[r>>2]=h}l[((h&-4)+r|0)-4>>2]=h|1,a=l[r>>2]-8|0;t:{if(a>>>0<=127){h=(a>>>3|0)-1|0;break t}if(y=gr(a),h=((a>>>29-y^4)-(y<<2)|0)+110|0,a>>>0<=4095)break t;h=((a>>>30-y^2)-(y<<1)|0)+71|0,h=h>>>0>=63?63:h}a=h<<4,l[r+4>>2]=a+5968,a=a+5976|0,l[r+8>>2]=l[a>>2],l[a>>2]=r,l[l[r+8>>2]+4>>2]=r,a=l[1750],y=l[1751],r=h&31,(h&63)>>>0>=32?(h=1<<r,b=0):(b=1<<r,h=b-1&1>>>32-r),l[1750]=b|a,l[1751]=h|y}return(u|0)!=-1}function rp(r,a,h){var u=0,y=0,b=0,w=0,S=0,P=0,K=0,J=0,dt=0;t:{r:{i:{e:{s:{n:{a:{o:{l:{c:{if(a){if(!h)break c;break l}r=(r>>>0)/(h>>>0)|0,Oi=0;break t}if(!r)break o;break a}if(!(h-1&h))break n;b=(gr(h)+33|0)-gr(a)|0,w=0-b|0;break e}r=(a>>>0)/0|0,Oi=0;break t}if(u=32-gr(a)|0,u>>>0<31)break s;break i}if((h|0)==1)break r;b=h?31-gr(h-1^h)|0:32,h=b&31,(b&63)>>>0>=32?r=a>>>h|0:(u=a>>>h|0,r=((1<<h)-1&a)<<32-h|r>>>h),Oi=u;break t}b=u+1|0,w=63-u|0}if(u=b&63,y=u&31,u>>>0>=32?(u=0,S=a>>>y|0):(u=a>>>y|0,S=((1<<y)-1&a)<<32-y|r>>>y),w=w&63,y=w&31,w>>>0>=32?(a=r<<y,r=0):(a=(1<<y)-1&r>>>32-y|a<<y,r=r<<y),b)for(w=h-1|0,dt=(w|0)==-1?-1:0;P=u<<1|S>>>31,u=S<<1|a>>>31,y=dt-(P+(u>>>0>w>>>0)|0)>>31,K=h&y,S=u-K|0,u=P-(u>>>0<K>>>0)|0,a=a<<1|r>>>31,r=J|r<<1,J=y&1,b=b-1|0,!!b;);Oi=a<<1|r>>>31,r=J|r<<1;break t}r=0,a=0}Oi=a}return r}function Ko(r,a,h){var u=m(0),y=m(0);t:{r:{i:{if((a&-2)==2){if(a=l[r+188>>2],u=D[r+188>>2],(a|0)==2139156720|(a|0)==2140081935|(a|0)==2141891242|u==u||(a=l[r+196>>2],u=D[r+196>>2],(a|0)==2139156720|(a|0)==2140081935|(a|0)==2141891242|u==u))break i;break r}if(a=l[r+192>>2],u=D[r+192>>2],(a|0)==2139156720|(a|0)==2140081935|(a|0)==2141891242|u==u||(u=D[r+196>>2],a=l[r+196>>2],(a|0)==2139156720|(a|0)==2140081935|(a|0)==2141891242))break i;if(u!=u)break r}u=m(0);i:{e:{if((a|0)==2139156720)break e;if((a|0)==2140081935)break t;r=4336;s:{if((a|0)!=2141891242){if(u=(Ct(2,a),Gt()),u==u)break s;r=4344}switch(u=D[r>>2],y=m(zt),l[r+4>>2]-1|0){case 0:break t;case 1:break e;default:break i}}if(u=(Ct(2,(a&-1073741825)+536870912|0),Gt()),!(a&1073741824))break t}y=m(m(u*h)*m(.009999999776482582))}return y}u=m(0)}return u}function sp(r,a){var h=0,u=0,y=0,b=0,w=0,S=0;for(h=Et-320|0,Et=h,u=$i(h,0,288),h=u,l[h+16>>2]=2143289344,l[h+20>>2]=2143289344,$i(h+24|0,0,49),l[h+80>>2]=2143289344,b=h+288|0,y=h+96|0;h=y,l[h+16>>2]=-1082130432,l[h+20>>2]=-1082130432,l[h+8>>2]=0,l[h+12>>2]=0,l[h>>2]=-1082130432,l[h+4>>2]=-1082130432,y=h+24|0,(b|0)!=(y|0););if(l[u+312>>2]=-1082130432,l[u+316>>2]=-1082130432,l[u+304>>2]=0,l[u+308>>2]=0,l[u+296>>2]=-1082130432,l[u+300>>2]=-1082130432,l[u+288>>2]=2143289344,l[u+292>>2]=2143289344,Mi(r+228|0,u,320),l[r+244>>2]=0,l[r+248>>2]=0,ft[r+4|0]=bt[r+4|0]|1,y=l[r+556>>2],w=l[r+560>>2],(y|0)!=(w|0))for(;h=l[y>>2],l[h+552>>2]!=(r|0)&&(b=l[r+568>>2],h=hp(l[b>>2],bt[b+8|0],h,r,S,a),l[y>>2]=h,l[h+552>>2]=r,h=l[y>>2]),sp(h,a),S=S+1|0,y=y+4|0,(w|0)!=(y|0););Et=u+320|0}function fh(r,a,h){var u=0,y=0,b=0,w=0;if(u=r+4|0,y=(u+a|0)-1&0-a,a=l[r>>2],y+h>>>0<=(a+r|0)-4>>>0){b=l[r+4>>2],l[b+8>>2]=l[r+8>>2],l[l[r+8>>2]+4>>2]=b,(u|0)!=(y|0)&&(y=y-u|0,b=r-(l[r-4>>2]&-2)|0,u=y+l[b>>2]|0,l[b>>2]=u,l[(b+(u&-4)|0)-4>>2]=u,r=r+y|0,a=a-y|0,l[r>>2]=a);t:{if(h+24>>>0<=a>>>0){u=(r+h|0)+8|0,a=(a-h|0)-8|0,l[u>>2]=a,l[(u+(a&-4)|0)-4>>2]=a|1,y=l[u>>2]-8|0;r:{if(y>>>0<=127){a=(y>>>3|0)-1|0;break r}if(b=gr(y),a=((y>>>29-b^4)-(b<<2)|0)+110|0,y>>>0<=4095)break r;a=((y>>>30-b^2)-(b<<1)|0)+71|0,a=a>>>0>=63?63:a}y=a<<4,l[u+4>>2]=y+5968,y=y+5976|0,l[u+8>>2]=l[y>>2],l[y>>2]=u,l[l[u+8>>2]+4>>2]=u,y=l[1750],b=l[1751],u=a&31,(a&63)>>>0>=32?(a=1<<u,u=0):(w=1<<u,a=w-1&1>>>32-u,u=w),l[1750]=u|y,l[1751]=a|b,a=h+8|0,l[r>>2]=a,l[((a&-4)+r|0)-4>>2]=a;break t}l[(r+a|0)-4>>2]=a}r=r+4|0}else r=0;return r}function tE(r,a){r=r|0,a=a|0;var h=0,u=0,y=0,b=0;y=Et-320|0,Et=y,r=l[r>>2];t:{if(l[r+560>>2]==l[r+556>>2]||(u=l[a>>2],a=l[u+552>>2],!gp(r,u)))break t;if((r|0)==(a|0)){for(h=$i(y,0,288),a=h,l[a+16>>2]=2143289344,l[a+20>>2]=2143289344,$i(a+24|0,0,49),l[a+80>>2]=2143289344,b=a+288|0,a=a+96|0;l[a+16>>2]=-1082130432,l[a+20>>2]=-1082130432,l[a+8>>2]=0,l[a+12>>2]=0,l[a>>2]=-1082130432,l[a+4>>2]=-1082130432,a=a+24|0,(b|0)!=(a|0););l[h+312>>2]=-1082130432,l[h+316>>2]=-1082130432,l[h+304>>2]=0,l[h+308>>2]=0,l[h+296>>2]=-1082130432,l[h+300>>2]=-1082130432,l[h+288>>2]=2143289344,l[h+292>>2]=2143289344,Mi(u+228|0,h,320),l[u+552>>2]=0}for(;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}Et=y+320|0}function np(r){r=r|0;var a=0,h=0,u=0,y=0,b=0,w=0,S=0;if(r){if(w=Et-32|0,Et=w,a=l[r>>2],u=l[a+552>>2],u&&(gp(u,a),l[a+552>>2]=0),u=l[a+556>>2],h=l[a+560>>2],(u|0)!=(h|0))for(h=h-u>>2,y=h>>>0<=1?1:h,h=0;l[l[(h<<2)+u>>2]+552>>2]=0,h=h+1|0,(y|0)!=(h|0););l[a+560>>2]=u,h=a+564|0;t:{if(l[h>>2]==(u|0)||(h=xa(w+8|0,0,0,h),y=l[a+556>>2],b=l[a+560>>2]-y|0,u=l[h+4>>2]-b|0,b=Ls(u,y,b),y=l[a+556>>2],l[a+556>>2]=b,l[h+4>>2]=y,b=l[a+560>>2],l[a+560>>2]=l[h+8>>2],l[h+8>>2]=b,S=l[a+564>>2],l[a+564>>2]=l[h+12>>2],l[h>>2]=y,l[h+12>>2]=S,(y|0)!=(b|0)&&(l[h+8>>2]=b+((y-b|0)+3&-4)),!y))break t;gi(y),u=l[a+556>>2]}u&&(l[a+560>>2]=u,gi(u)),gi(a),a=l[r+8>>2],l[r+8>>2]=0,a&&Dt[l[l[a>>2]+4>>2]](a),a=l[r+4>>2],l[r+4>>2]=0,a&&Dt[l[l[a>>2]+4>>2]](a),Et=w+32|0,gi(r)}}function eE(r){r=r|0;var a=0,h=0,u=0;u=Et-624|0,Et=u,a=l[r+4>>2],l[r+4>>2]=0,a&&Dt[l[l[a>>2]+4>>2]](a),a=l[r+8>>2],l[r+8>>2]=0,a&&Dt[l[l[a>>2]+4>>2]](a);t:{if(r=l[r>>2],l[r+560>>2]==l[r+556>>2]){if(l[r+552>>2])break t;a=Jf(u+32|0,l[r+568>>2]),h=l[a+4>>2],l[r>>2]=l[a>>2],l[r+4>>2]=h,h=l[a+20>>2],l[r+16>>2]=l[a+16>>2],l[r+20>>2]=h,h=l[a+12>>2],l[r+8>>2]=l[a+8>>2],l[r+12>>2]=h,Mi(r+24|0,a+24|0,204),Mi(r+228|0,a+228|0,328),h=l[r+556>>2],h&&(l[r+560>>2]=h,gi(h)),l[r+556>>2]=l[a+556>>2],l[r+560>>2]=l[a+560>>2],l[r+564>>2]=l[a+564>>2],l[r+584>>2]=l[a+584>>2],h=l[a+580>>2],l[r+576>>2]=l[a+576>>2],l[r+580>>2]=h,h=l[a+572>>2],l[r+568>>2]=l[a+568>>2],l[r+572>>2]=h,Et=u+624|0;return}l[u+16>>2]=3301,er(r,u+16|0),Ki(),ue()}l[u>>2]=2047,er(r,u),Ki(),ue()}function ap(){zA(7084,3067),YA(7085,2480,1,1,0),ns(7086,2140,1,-128,127),ns(7087,2133,1,-128,127),ns(7088,2131,1,0,255),ns(7089,1287,2,-32768,32767),ns(7090,1278,2,0,65535),ns(7091,1316,4,-2147483648,2147483647),ns(7092,1307,4,0,-1),ns(7093,2659,4,-2147483648,2147483647),ns(7094,2650,4,0,-1),Fp(7095,1777,-2147483648,2147483647),Fp(7096,1776,0,-1),Kf(7097,1770,4),Kf(7098,3015,8),Yf(7099,2677),Yf(7100,3904),oh(7101,4,2664),oh(7102,2,2689),oh(7103,4,2704),KA(7104,2485),Ei(7105,0,3835),Ei(7106,0,3937),Ei(7107,1,3865),Ei(7108,2,3467),Ei(7109,3,3498),Ei(7110,4,3538),Ei(7111,5,3567),Ei(7112,4,3974),Ei(7113,5,4004),Ei(7106,0,3669),Ei(7107,1,3636),Ei(7108,2,3735),Ei(7109,3,3701),Ei(7110,4,3802),Ei(7111,5,3768),Ei(7114,6,3605),Ei(7115,7,4043)}function Ls(r,a,h){var u=0,y=0;t:{if((r|0)==(a|0))break t;if(y=r+h|0,a-y>>>0<=0-(h<<1)>>>0)return Mi(r,a,h);u=(r^a)&3;r:{i:{if(r>>>0<a>>>0){if(u){u=r;break r}if(!(r&3)){u=r;break i}for(u=r;;){if(!h)break t;if(ft[u|0]=bt[a|0],a=a+1|0,h=h-1|0,u=u+1|0,!(u&3))break}break i}e:{if(u)break e;if(y&3)for(;;){if(!h)break t;if(h=h-1|0,u=h+r|0,ft[u|0]=bt[a+h|0],!(u&3))break}if(h>>>0<=3)break e;for(;h=h-4|0,l[h+r>>2]=l[a+h>>2],h>>>0>3;);}if(!h)break t;for(;h=h-1|0,ft[h+r|0]=bt[a+h|0],!!h;);break t}if(h>>>0<=3)break r;for(;l[u>>2]=l[a>>2],a=a+4|0,u=u+4|0,h=h-4|0,h>>>0>3;);}if(!h)break t;for(;ft[u|0]=bt[a|0],u=u+1|0,a=a+1|0,h=h-1|0,!!h;);}return r}function op(r,a,h,u){t:switch(a-9|0){case 0:a=l[h>>2],l[h>>2]=a+4,l[r>>2]=l[a>>2];return;case 6:a=l[h>>2],l[h>>2]=a+4,a=Fr[a>>1],l[r>>2]=a,l[r+4>>2]=a>>31;return;case 7:a=l[h>>2],l[h>>2]=a+4,l[r>>2]=Cn[a>>1],l[r+4>>2]=0;return;case 8:a=l[h>>2],l[h>>2]=a+4,a=ft[a|0],l[r>>2]=a,l[r+4>>2]=a>>31;return;case 9:a=l[h>>2],l[h>>2]=a+4,l[r>>2]=bt[a|0],l[r+4>>2]=0;return;case 16:a=l[h>>2]+7&-8,l[h>>2]=a+8,Fe[r>>3]=Fe[a>>3];return;case 17:Dt[u|0](r,h);default:return;case 1:case 4:case 14:a=l[h>>2],l[h>>2]=a+4,a=l[a>>2],l[r>>2]=a,l[r+4>>2]=a>>31;return;case 2:case 5:case 11:case 15:a=l[h>>2],l[h>>2]=a+4,l[r>>2]=l[a>>2],l[r+4>>2]=0;return;case 3:case 10:case 12:case 13:break t}a=l[h>>2]+7&-8,l[h>>2]=a+8,h=l[a+4>>2],l[r>>2]=l[a>>2],l[r+4>>2]=h}function lp(r,a,h,u){var y=0,b=0,w=0,S=0,P=0,K=0,J=0,dt=0,X=0,tt=m(0),O=m(0),j=m(0),Y=0,Z=m(0);t:{if(a==0||(tt=D[r+248>>2],O=D[r+244>>2],j=D[r+232>>2],P=+D[r+228>>2],y=bt[r+4|0]&8,b=y>>>3|0,Y=r,Z=Br(P,a,0,b),D[Y+228>>2]=Z,K=+j,Y=r,Z=Br(K,a,0,b),D[Y+232>>2]=Z,J=+O,w=dh(J*a),b=w==w&Be(w)<1e-4,S=!(b|w!=w?b:Be(w+-1)<1e-4),dt=+tt,w=dh(dt*a),b=w==w&Be(w)<1e-4,X=!(b|w!=w?b:Be(w+-1)<1e-4),b=0,h=P+h,y=(y|0)!=0,Y=r,Z=m(Br(h+J,a,y&S,y&!S)-Br(h,a,0,y)),D[Y+244>>2]=Z,u=K+u,Y=r,Z=m(Br(u+dt,a,y&X,y&!X)-Br(u,a,0,y)),D[Y+248>>2]=Z,y=l[r+560>>2],S=l[r+556>>2],(y|0)==(S|0)))break t;for(y=y-S>>2,S=y>>>0<=1?1:y;y=l[r+556>>2],l[r+560>>2]-y>>2>>>0>b>>>0?y=l[y+(b<<2)>>2]:y=0,lp(y,a,h,u),b=b+1|0,(S|0)!=(b|0););}}function $i(r,a,h){var u=0,y=0,b=0,w=0;t:{if(!h||(ft[r|0]=a,u=r+h|0,ft[u-1|0]=a,h>>>0<3)||(ft[r+2|0]=a,ft[r+1|0]=a,ft[u-3|0]=a,ft[u-2|0]=a,h>>>0<7)||(ft[r+3|0]=a,ft[u-4|0]=a,h>>>0<9)||(u=0-r&3,y=u+r|0,a=Ne(a&255,16843009),l[y>>2]=a,u=h-u&-4,h=u+y|0,l[h-4>>2]=a,u>>>0<9)||(l[y+8>>2]=a,l[y+4>>2]=a,l[h-8>>2]=a,l[h-12>>2]=a,u>>>0<25)||(l[y+24>>2]=a,l[y+20>>2]=a,l[y+16>>2]=a,l[y+12>>2]=a,l[h-16>>2]=a,l[h-20>>2]=a,l[h-24>>2]=a,l[h-28>>2]=a,w=y&4|24,h=u-w|0,h>>>0<32))break t;for(u=vh(a,0,1,1),b=Oi,a=y+w|0;l[a+24>>2]=u,l[a+28>>2]=b,l[a+16>>2]=u,l[a+20>>2]=b,l[a+8>>2]=u,l[a+12>>2]=b,l[a>>2]=u,l[a+4>>2]=b,a=a+32|0,h=h-32|0,h>>>0>31;);}return r}function gi(r){r=r|0;var a=0,h=0,u=0,y=0,b=0;if(r){a=r-4|0,y=l[a>>2],h=y,u=a,b=l[r-8>>2],r=b&-2,(r|0)!=(b|0)&&(u=a-r|0,h=l[u+4>>2],l[h+8>>2]=l[u+8>>2],l[l[u+8>>2]+4>>2]=h,h=r+y|0),r=a+y|0,a=l[r>>2],(a|0)!=l[(r+a|0)-4>>2]&&(y=l[r+4>>2],l[y+8>>2]=l[r+8>>2],l[l[r+8>>2]+4>>2]=y,h=a+h|0),l[u>>2]=h,l[((h&-4)+u|0)-4>>2]=h|1,a=l[u>>2]-8|0;t:{if(a>>>0<=127){r=(a>>>3|0)-1|0;break t}if(h=gr(a),r=((a>>>29-h^4)-(h<<2)|0)+110|0,a>>>0<=4095)break t;r=((a>>>30-h^2)-(h<<1)|0)+71|0,r=r>>>0>=63?63:r}a=r<<4,l[u+4>>2]=a+5968,a=a+5976|0,l[u+8>>2]=l[a>>2],l[a>>2]=u,l[l[u+8>>2]+4>>2]=u,a=l[1750],h=l[1751],u=r&31,(r&63)>>>0>=32?(r=1<<u,y=0):(y=1<<u,r=y-1&1>>>32-u),l[1750]=y|a,l[1751]=r|h}}function iE(r,a,h){r=r|0,a=a|0,h=h|0;var u=0,y=0,b=0,w=0,S=0,P=0,K=0;u=Et-32|0,Et=u,y=l[r+28>>2],l[u+16>>2]=y,b=l[r+20>>2],l[u+28>>2]=h,l[u+24>>2]=a,a=b-y|0,l[u+20>>2]=a,b=a+h|0,P=2,a=u+16|0;t:{for(;;){r:{i:{e:{if(!Mp(WA(l[r+60>>2],a|0,P|0,u+12|0)|0)){if(w=l[u+12>>2],(w|0)==(b|0))break e;if((w|0)>=0)break i;break r}if((b|0)!=-1)break r}a=l[r+44>>2],l[r+28>>2]=a,l[r+20>>2]=a,l[r+16>>2]=a+l[r+48>>2],r=h;break t}S=l[a+4>>2],K=S>>>0<w>>>0,y=(K<<3)+a|0,S=w-(K?S:0)|0,l[y>>2]=S+l[y>>2],a=(K?12:4)+a|0,l[a>>2]=l[a>>2]-S,b=b-w|0,P=P-K|0,a=y;continue}break}if(l[r+28>>2]=0,l[r+16>>2]=0,l[r+20>>2]=0,l[r>>2]=l[r>>2]|32,r=0,(P|0)==2)break t;r=h-l[a+4>>2]|0}return Et=u+32|0,r|0}function rE(r){r=r|0;var a=0,h=0,u=0,y=0,b=0;h=Et-96|0,Et=h,l[h>>2]=r,u=Et-16|0,Et=u,l[u+12>>2]=h,r=Et-144|0,Et=r,r=Mi(r,5520,144),b=h+16|0,a=b,l[r+44>>2]=a,l[r+20>>2]=a,y=-2-a|0,y=y>>>0>=2147483647?2147483647:y,l[r+48>>2]=y,a=a+y|0,l[r+28>>2]=a,l[r+16>>2]=a,cp(r,2202,h,0,0),y&&(a=l[r+20>>2],ft[a-((a|0)==l[r+16>>2])|0]=0),Et=r+144|0,Et=u+16|0,r=b;t:{if(r&3)for(;;){if(!bt[r|0])break t;if(r=r+1|0,!(r&3))break}for(;a=r,r=r+4|0,u=l[a>>2],!((u^-1)&u-16843009&-2139062144););for(;r=a,a=r+1|0,!!bt[r|0];);}return r=(r-b|0)+1|0,a=hh(r),a?r=Mi(a,b,r):r=0,Et=h+96|0,r|0}function cp(r,a,h,u,y){var b=0,w=0,S=0,P=0;b=Et-208|0,Et=b,l[b+204>>2]=h,h=b+160|0,$i(h,0,40),l[b+200>>2]=l[b+204>>2];t:{if((Qf(0,a,b+200|0,b+80|0,h,u,y)|0)<0){y=-1;break t}P=l[r+76>>2]>=0,w=l[r>>2],l[r+72>>2]<=0&&(l[r>>2]=w&-33);r:{i:{e:{if(!l[r+48>>2]){l[r+48>>2]=80,l[r+28>>2]=0,l[r+16>>2]=0,l[r+20>>2]=0,S=l[r+44>>2],l[r+44>>2]=b;break e}if(l[r+16>>2])break i}if(h=-1,Tp(r))break r}h=Qf(r,a,b+200|0,b+80|0,b+160|0,u,y)}if(S&&(Dt[l[r+36>>2]](r,0,0)|0,l[r+48>>2]=0,l[r+44>>2]=S,l[r+28>>2]=0,a=l[r+20>>2],l[r+16>>2]=0,l[r+20>>2]=0,h=a?h:-1),a=r,r=l[r>>2],l[a>>2]=r|w&32,y=r&32?-1:h,!P)break t}return Et=b+208|0,y}function Yo(r){var a=0,h=m(0),u=0,y=0,b=0,w=0,S=0,P=m(0),K=0;b=Et-16|0,Et=b,a=l[r+12>>2];t:{if(a){P=D[r+520>>2],h=D[r+516>>2];r:{if(bt[r+4|0]&32){h=m(Dt[a|0](r,h,P,0));break r}h=m(Dt[a|0](r,h,P))}if(h==h)break t;l[b>>2]=3409,er(r,b),Ki(),ue()}r:{i:{if(w=l[r+556>>2],a=l[r+560>>2],(w|0)!=(a|0)){for(a=a-w>>2,K=a>>>0<=1?1:a;;){if(y=l[(S<<2)+w>>2],!l[y+548>>2]){if(a=l[y+24>>2],(a&196608)!=131072){if(a=a>>>13&7,a||(a=l[r+24>>2]>>>10&7),bt[y+4|0]&2|(bt[r+24|0]&8?(a|0)==5:0))break i;u=u||y}if(S=S+1|0,(K|0)!=(S|0))continue}break}if(u)break r}h=D[r+520>>2];break t}u=y}h=m(Yo(u)+D[u+232>>2])}return Et=b+16|0,h}function xn(r,a,h,u,y,b){var w=0,S=m(0),P=0,K=m(0);w=(l[(a<<2)+4320>>2]<<2)+r|0,S=D[w+216>>2];t:{r:{w=l[w+216>>2];i:{if((w|0)==2139156720)break i;if((w|0)==2140081935)break r;P=4336;e:{if((w|0)!=2141891242){if(S==S)break e;P=4344}switch(K=D[P>>2],S=m(zt),l[P+4>>2]-1|0){case 0:break r;case 1:break i;default:break t}}if(K=(Ct(2,(w&-1073741825)+536870912|0),Gt()),!(w&1073741824))break r}S=m(m(K*h)*m(.009999999776482582));break t}S=K}u=m(S+m(fe(r,a,u)+Se(r,a,u)));t:{r:{i:switch(l[y>>2]){case 1:case 2:h=D[b>>2],u=u!=u||h<u?h:u;break r;case 0:break i;default:break t}if(u!=u)break t;l[y>>2]=2}D[b>>2]=u}}function Ce(r,a,h){var u=m(0),y=m(0),b=0,w=m(0);r=r+116|0,b=l[(a<<2)+4288>>2];t:{if((a&-2)==2){a=Nr(r,4,b,2140081935);break t}a=Ur(r,b,2140081935)}t:{r:{i:{e:{if((a|0)==2139156720)break e;if((a|0)==2140081935)break t;r=4336;s:{if((a|0)!=2141891242){if(u=(Ct(2,a),Gt()),u==u)break s;r=4344}switch(u=D[r>>2],y=m(zt),l[r+4>>2]-1|0){case 0:break i;case 1:break e;default:break r}}if(u=(Ct(2,(a&-1073741825)+536870912|0),Gt()),!(a&1073741824))break i}u=m(m(u*h)*m(.009999999776482582))}if(u>=m(0))return u;if(y=u,u<m(0))break t}w=y==y?y:m(0)}return w}function De(r,a,h){var u=m(0),y=m(0),b=0,w=m(0);r=r+116|0,b=l[(a<<2)+4304>>2];t:{if((a&-2)==2){a=Nr(r,5,b,2140081935);break t}a=Ur(r,b,2140081935)}t:{r:{i:{e:{if((a|0)==2139156720)break e;if((a|0)==2140081935)break t;r=4336;s:{if((a|0)!=2141891242){if(u=(Ct(2,a),Gt()),u==u)break s;r=4344}switch(u=D[r>>2],y=m(zt),l[r+4>>2]-1|0){case 0:break i;case 1:break e;default:break r}}if(u=(Ct(2,(a&-1073741825)+536870912|0),Gt()),!(a&1073741824))break i}u=m(m(u*h)*m(.009999999776482582))}if(u>=m(0))return u;if(y=u,u<m(0))break t}w=y==y?y:m(0)}return w}function hp(r,a,h,u,y,b){var w=0;t:{r:{if(r){i:{if(a&4){b=Dt[r|0](h,u,y,b)|0;break i}b=Dt[r|0](h,u,y)|0}if(b)break r}if(b=ht(588),a=Mi(b,h,552),l[a+564>>2]=0,l[a+556>>2]=0,l[a+560>>2]=0,y=l[h+556>>2],u=l[h+560>>2],(y|0)!=(u|0)){if(w=u-y|0,(w|0)<0)break t;for(r=ht(w),l[a+556>>2]=r,l[a+564>>2]=r+w;l[r>>2]=l[y>>2],r=r+4|0,y=y+4|0,(u|0)!=(y|0););l[a+560>>2]=r}r=l[h+572>>2],l[a+568>>2]=l[h+568>>2],l[a+572>>2]=r,l[a+584>>2]=l[h+584>>2],r=l[h+580>>2],l[a+576>>2]=l[h+576>>2],l[a+580>>2]=r,l[a+552>>2]=0}return b}Rs(),ue()}function er(r,a){var h=0,u=0,y=0;y=Et-16|0,Et=y,l[y+12>>2]=a;t:{r:{if(!r){a=l[y+12>>2];break r}if(a=l[y+12>>2],h=l[r+568>>2],!h)break r;if(u=l[h+4>>2],bt[h+8|0]&8){Dt[u|0](h,r,5,0,4284,a)|0;break t}Dt[u|0](h,r,5,4284,a)|0;break t}r:{if(!bt[7016]){h=ht(28),l[h+20>>2]=1065353216,l[h+24>>2]=0,l[h+12>>2]=0,l[h+16>>2]=0,l[h>>2]=0,ft[h+8|0]=0,u=1,l[h+4>>2]=1,l[1753]=h,ft[7016]=1,l[1752]=l[1752]+1;break r}if(h=l[1753],u=l[h+4>>2],!(bt[h+8|0]&8))break r;Dt[u|0](h,r,5,0,4284,a)|0;break t}Dt[u|0](h,r,5,4284,a)|0}Et=y+16|0}function Da(r,a,h){var u=m(0),y=0,b=m(0);r=r+80|0,y=l[(a<<2)+4304>>2];t:{r:{if((a&-2)==2){a=Nr(r,5,y,2140081935);break r}a=Ur(r,y,2140081935)}r:{i:{if((a|0)==2139156720)break i;if((a|0)==2140081935)break t;r=4336;e:{if((a|0)!=2141891242){if(u=(Ct(2,a),Gt()),u==u)break e;r=4344}switch(u=D[r>>2],b=m(zt),l[r+4>>2]-1|0){case 0:break t;case 1:break i;default:break r}}if(u=(Ct(2,(a&-1073741825)+536870912|0),Gt()),!(a&1073741824))break t}b=m(m(u*h)*m(.009999999776482582))}return b}return u}function _s(r,a,h){var u=m(0),y=0,b=m(0);r=r+80|0,y=l[(a<<2)+4288>>2];t:{r:{if((a&-2)==2){a=Nr(r,4,y,2140081935);break r}a=Ur(r,y,2140081935)}r:{i:{if((a|0)==2139156720)break i;if((a|0)==2140081935)break t;r=4336;e:{if((a|0)!=2141891242){if(u=(Ct(2,a),Gt()),u==u)break e;r=4344}switch(u=D[r>>2],b=m(zt),l[r+4>>2]-1|0){case 0:break t;case 1:break i;default:break r}}if(u=(Ct(2,(a&-1073741825)+536870912|0),Gt()),!(a&1073741824))break t}b=m(m(u*h)*m(.009999999776482582))}return b}return u}function Nr(r,a,h,u){var y=m(0);a=(a<<2)+r|0,y=D[a>>2],a=l[a>>2];t:{if((a|0)==2139156720|(a|0)==2140081935|(a|0)==2141891242|y==y||(a=(h<<2)+r|0,y=D[a>>2],a=l[a>>2],(a|0)==2139156720|(a|0)==2140081935|(a|0)==2141891242|y==y)||(a=l[r+24>>2],y=D[r+24>>2],(a|0)==2139156720|(a|0)==2140081935|(a|0)==2141891242|y==y)||(y=D[r+32>>2],r=l[r+32>>2],!((r|0)==2139156720|(r|0)==2140081935|(r|0)==2141891242)&&(a=u,y!=y)))break t;a=r}return a}function sE(r,a){r=r|0,a=m(a);var h=0,u=0,y=0;if(h=Et-16|0,Et=h,r=l[r>>2],!(a>=m(0))){l[h>>2]=2263,u=Et-16|0,Et=u,l[u+12>>2]=h;t:{if(r)break t;if(bt[7016]){r=l[1753];break t}r=ht(28),l[r+20>>2]=1065353216,l[r+24>>2]=0,l[r+12>>2]=0,l[r+16>>2]=0,l[r>>2]=0,ft[r+8|0]=0,l[r+4>>2]=1,l[1753]=r,ft[7016]=1,l[1752]=l[1752]+1}y=l[r+4>>2];t:{if(bt[r+8|0]&8){Dt[y|0](r,0,5,0,4284,h)|0;break t}Dt[y|0](r,0,5,4284,h)|0}Et=u+16|0,Ki(),ue()}D[r+20>>2]=a==m(0)?m(0):a,Et=h+16|0}function dp(r,a,h,u,y){var b=0,w=0,S=m(0),P=0;b=2,w=l[r+24>>2]>>>2&3;t:{r:{i:{if(!(!l[r+552>>2]|(a|0)!=2)){a=0,b=3;e:switch(w-2|0){case 0:break t;case 1:break e;default:break i}b=2;break t}if(a=0,w>>>0>1)break r}a=b}b=w}h=Dp(r,b,h),u=Dp(r,a,u),S=fe(r,b,y),w=r+228|0,P=b<<2,D[w+(l[P+4288>>2]<<2)>>2]=h+S,S=Se(r,b,y),D[w+(l[P+4304>>2]<<2)>>2]=h+S,h=fe(r,a,y),b=a<<2,D[w+(l[b+4288>>2]<<2)>>2]=u+h,h=Se(r,a,y),D[w+(l[b+4304>>2]<<2)>>2]=u+h}function nE(r,a,h,u,y,b){r=r|0,a=a|0,h=m(h),u=u|0,y=m(y),b=b|0;var w=0,S=0,P=0;w=Et-48|0,Et=w,P=l[a+8>>2];t:{if(ft[7052]&1){a=l[1762];break t}a=jf(5,4480)|0,ft[7052]=1,l[1762]=a}l[w+40>>2]=b,D[w+32>>2]=y,l[w+24>>2]=u,D[w+16>>2]=h,S=+NA(a|0,P|0,2922,w+12|0,w+16|0);t:{if(S<4294967296&S>=0){a=~~S>>>0;break t}a=0}u=l[w+12>>2],b=l[a+4>>2],l[r>>2]=l[a>>2],l[r+4>>2]=b,b=l[a+12>>2],l[r+8>>2]=l[a+8>>2],l[r+12>>2]=b,FA(u|0),Et=w+48|0}function aE(r,a,h){r=r|0,a=a|0,h=h|0;var u=0,y=0,b=0,w=0;if(u=Et-32|0,Et=u,y=l[a>>2],y>>>0<2147483632){t:{r:{if(y>>>0>=11){b=(y|15)+1|0,w=ht(b),l[u+16>>2]=b|-2147483648,l[u+8>>2]=w,l[u+12>>2]=y,b=y+w|0;break r}if(ft[u+19|0]=y,w=u+8|0,b=w+y|0,!y)break t}Mi(w,a+4|0,y)}return ft[b|0]=0,l[u>>2]=h,Dt[r|0](u+24|0,u+8|0,u),$A(l[u+24>>2]),r=l[u+24>>2],Ca(r|0),Ca(l[u>>2]),ft[u+19|0]<0&&gi(l[u+8>>2]),Et=u+32|0,r|0}Rs(),ue()}function hi(r,a,h){var u=0,y=0,b=0;if(!(bt[r|0]&32))t:{u=a,a=r,r=l[a+16>>2];r:{if(!r){if(Tp(a))break r;r=l[a+16>>2]}if(b=l[a+20>>2],r-b>>>0<h>>>0){Dt[l[a+36>>2]](a,u,h)|0;break t}i:{if(l[a+80>>2]<0)break i;for(r=h;;){if(y=r,!r)break i;if(r=y-1|0,bt[u+r|0]==10)break}if(Dt[l[a+36>>2]](a,u,y)>>>0<y>>>0)break r;u=u+y|0,h=h-y|0,b=l[a+20>>2]}Mi(b,u,h),l[a+20>>2]=l[a+20>>2]+h}}}function ph(r,a,h){var u=0,y=0,b=0;u=Et-16|0,Et=u,y=r+24|0,Dt[a|0](u+8|0,y),b=l[u+12>>2];t:{if((l[l[u+8>>2]>>2]&7<<b)>>b==(h|0))break t;for(Dt[a|0](u+8|0,y),a=l[u+8>>2],y=a,b=l[a>>2],a=l[u+12>>2],l[y>>2]=b&(7<<a^-1)|(h&7)<<a;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}Et=u+16|0}function Ur(r,a,h){var u=m(0);a=(a<<2)+r|0,u=D[a>>2],a=l[a>>2];t:{if((a|0)==2139156720|(a|0)==2140081935|(a|0)==2141891242|u==u||(a=l[r+28>>2],u=D[r+28>>2],(a|0)==2139156720|(a|0)==2140081935|(a|0)==2141891242|u==u)||(u=D[r+32>>2],r=l[r+32>>2],!((r|0)==2139156720|(r|0)==2140081935|(r|0)==2141891242)&&(a=h,u!=u)))break t;a=r}return a}function Se(r,a,h){var u=m(0),y=0;r=r+44|0,y=l[(a<<2)+4304>>2];t:{if((a&-2)==2){r=Nr(r,5,y,2140081935);break t}r=Ur(r,y,2140081935)}t:{if((r|0)!=2139156720){if((r|0)==2140081935|(r|0)==2141891242)break t;if(u=(Ct(2,r),Gt()),u!=u)return m(zt);if(u=(Ct(2,(r&-1073741825)+536870912|0),Gt()),!(r&1073741824))break t}u=m(m(u*h)*m(.009999999776482582))}return u}function fe(r,a,h){var u=m(0),y=0;r=r+44|0,y=l[(a<<2)+4288>>2];t:{if((a&-2)==2){r=Nr(r,4,y,2140081935);break t}r=Ur(r,y,2140081935)}t:{if((r|0)!=2139156720){if((r|0)==2140081935|(r|0)==2141891242)break t;if(u=(Ct(2,r),Gt()),u!=u)return m(zt);if(u=(Ct(2,(r&-1073741825)+536870912|0),Gt()),!(r&1073741824))break t}u=m(m(u*h)*m(.009999999776482582))}return u}function oE(r,a,h){r=r|0,a=a|0,h=h|0;var u=0,y=0,b=0,w=0,S=0;return y=l[r+84>>2],b=l[y>>2],u=l[y+4>>2],S=l[r+28>>2],w=l[r+20>>2]-S|0,w=u>>>0<w>>>0?u:w,w&&(Mi(b,S,w),b=w+l[y>>2]|0,l[y>>2]=b,u=l[y+4>>2]-w|0,l[y+4>>2]=u),u=h>>>0>u>>>0?u:h,u&&(Mi(b,a,u),b=u+l[y>>2]|0,l[y>>2]=b,l[y+4>>2]=l[y+4>>2]-u),ft[b|0]=0,a=l[r+44>>2],l[r+28>>2]=a,l[r+20>>2]=a,h|0}function Re(r,a){var h=m(0),u=0;r=r+152|0,u=l[(a<<2)+4304>>2];t:{if((a&-2)==2){r=Nr(r,5,u,2140081935);break t}r=Ur(r,u,2140081935)}h=m(0);t:{if((r|0)==2139156720||(h=m(0),(r|0)==2140081935))break t;r:{if((r|0)==2141891242||(h=(Ct(2,r),Gt()),h!=h))break r;h=(Ct(2,(r&-1073741825)+536870912|0),Gt());break t}h=m(zt)}return ce(h,m(0))}function ge(r,a){var h=m(0),u=0;r=r+152|0,u=l[(a<<2)+4288>>2];t:{if((a&-2)==2){r=Nr(r,4,u,2140081935);break t}r=Ur(r,u,2140081935)}h=m(0);t:{if((r|0)==2139156720||(h=m(0),(r|0)==2140081935))break t;r:{if((r|0)==2141891242||(h=(Ct(2,r),Gt()),h!=h))break r;h=(Ct(2,(r&-1073741825)+536870912|0),Gt());break t}h=m(zt)}return ce(h,m(0))}function lE(r,a,h){r=r|0,a=a|0,h=h|0;var u=0,y=0,b=m(0);u=2,a=l[a>>2]+(h<<2)|0,b=D[a+116>>2];t:{r:{if(a=l[a+116>>2],(a|0)!=2139156720){if(y=zt,(a|0)==2141891242){u=3;break t}if((a|0)!=2140081935)break r;y=0,u=1;break t}break t}if(b!=b){u=0;break t}u=a&1073741824?2:1,y=(Ct(2,(a&-1073741825)+536870912|0),+Gt())}Fe[r+8>>3]=y,l[r>>2]=u}function cE(r,a,h){r=r|0,a=a|0,h=h|0;var u=0,y=0,b=m(0);u=2,a=l[a>>2]+(h<<2)|0,b=D[a+80>>2];t:{r:{if(a=l[a+80>>2],(a|0)!=2139156720){if(y=zt,(a|0)==2141891242){u=3;break t}if((a|0)!=2140081935)break r;y=0,u=1;break t}break t}if(b!=b){u=0;break t}u=a&1073741824?2:1,y=(Ct(2,(a&-1073741825)+536870912|0),+Gt())}Fe[r+8>>3]=y,l[r>>2]=u}function hE(r,a,h){r=r|0,a=a|0,h=h|0;var u=0,y=0,b=m(0);u=2,a=l[a>>2]+(h<<2)|0,b=D[a+44>>2];t:{r:{if(a=l[a+44>>2],(a|0)!=2139156720){if(y=zt,(a|0)==2141891242){u=3;break t}if((a|0)!=2140081935)break r;y=0,u=1;break t}break t}if(b!=b){u=0;break t}u=a&1073741824?2:1,y=(Ct(2,(a&-1073741825)+536870912|0),+Gt())}Fe[r+8>>3]=y,l[r>>2]=u}function Br(r,a,h,u){var y=0,b=0,w=0;r=r*a,y=dh(r),y=y<0?y+1:y,w=y!=y;t:{if(!(w|!(Be(y)<1e-4))){r=r-y;break t}r:{if(y!=y){r=r-y;break r}if(r=r-y,!(Be(y+-1)<1e-4))break r;r=r+1;break t}if(h){r=r+1;break t}if(u)break t;b=0;r:{if(w||(b=1,y>.5))break r;b=Be(y+-.5)<1e-4?1:0}r=r+b}return r!=r|a!=a?m(zt):m(r/a)}function up(r,a){var h=m(0);t:{if((a|0)!=2139156720){if((a|0)!=2140081935){if((a|0)!=2141891242)break t;l[r>>2]=2143289344,l[r+4>>2]=3;return}l[r>>2]=0,l[r+4>>2]=1;return}l[r>>2]=0,l[r+4>>2]=2;return}if(h=(Ct(2,a),Gt()),h!=h){l[r>>2]=2143289344,l[r+4>>2]=0;return}l[r+4>>2]=a&1073741824?2:1,l[r>>2]=(a&-1073741825)+536870912}function fp(r){var a=0,h=0,u=0;h=l[r+24>>2];t:{if(!(h&8)||(a=1,(h&7168)==5120)||(a=0,u=l[r+560>>2],h=l[r+556>>2],(u|0)==(h|0)))break t;for(r=u-h>>2,u=r>>>0<=1?1:r,r=0;;){if(a=l[l[h+(r<<2)>>2]+24>>2],a=(a&196608)!=131072&(a&57344)==40960,a)break t;if(r=r+1|0,(u|0)==(r|0))break}}return a}function dE(r,a){r=r|0,a=a|0;var h=0,u=0,y=m(0);a=l[a>>2],y=D[a+220>>2];t:{r:{if(a=l[a+220>>2],(a|0)!=2139156720){if(u=zt,h=3,(a|0)==2141891242)break t;if((a|0)!=2140081935)break r;u=0,h=1;break t}h=2;break t}if(h=0,y!=y)break t;u=(Ct(2,(a&-1073741825)+536870912|0),+Gt()),h=a&1073741824?2:1}a=h,Fe[r+8>>3]=u,l[r>>2]=a}function uE(r,a){r=r|0,a=a|0;var h=0,u=0,y=m(0);a=l[a>>2],y=D[a+200>>2];t:{r:{if(a=l[a+200>>2],(a|0)!=2139156720){if(u=zt,h=3,(a|0)==2141891242)break t;if((a|0)!=2140081935)break r;u=0,h=1;break t}h=2;break t}if(h=0,y!=y)break t;u=(Ct(2,(a&-1073741825)+536870912|0),+Gt()),h=a&1073741824?2:1}a=h,Fe[r+8>>3]=u,l[r>>2]=a}function fE(r,a){r=r|0,a=a|0;var h=0,u=0,y=m(0);a=l[a>>2],y=D[a+204>>2];t:{r:{if(a=l[a+204>>2],(a|0)!=2139156720){if(u=zt,h=3,(a|0)==2141891242)break t;if((a|0)!=2140081935)break r;u=0,h=1;break t}h=2;break t}if(h=0,y!=y)break t;u=(Ct(2,(a&-1073741825)+536870912|0),+Gt()),h=a&1073741824?2:1}a=h,Fe[r+8>>3]=u,l[r>>2]=a}function pE(r,a){r=r|0,a=a|0;var h=0,u=0,y=m(0);a=l[a>>2],y=D[a+208>>2];t:{r:{if(a=l[a+208>>2],(a|0)!=2139156720){if(u=zt,h=3,(a|0)==2141891242)break t;if((a|0)!=2140081935)break r;u=0,h=1;break t}h=2;break t}if(h=0,y!=y)break t;u=(Ct(2,(a&-1073741825)+536870912|0),+Gt()),h=a&1073741824?2:1}a=h,Fe[r+8>>3]=u,l[r>>2]=a}function gE(r,a){r=r|0,a=a|0;var h=0,u=0,y=m(0);a=l[a>>2],y=D[a+212>>2];t:{r:{if(a=l[a+212>>2],(a|0)!=2139156720){if(u=zt,h=3,(a|0)==2141891242)break t;if((a|0)!=2140081935)break r;u=0,h=1;break t}h=2;break t}if(h=0,y!=y)break t;u=(Ct(2,(a&-1073741825)+536870912|0),+Gt()),h=a&1073741824?2:1}a=h,Fe[r+8>>3]=u,l[r>>2]=a}function mE(r,a){r=r|0,a=a|0;var h=0,u=0,y=m(0);a=l[a>>2],y=D[a+216>>2];t:{r:{if(a=l[a+216>>2],(a|0)!=2139156720){if(u=zt,h=3,(a|0)==2141891242)break t;if((a|0)!=2140081935)break r;u=0,h=1;break t}h=2;break t}if(h=0,y!=y)break t;u=(Ct(2,(a&-1073741825)+536870912|0),+Gt()),h=a&1073741824?2:1}a=h,Fe[r+8>>3]=u,l[r>>2]=a}function vE(r,a){r=r|0,a=a|0;var h=0;if(h=Et-16|0,Et=h,r=l[r>>2],(a|0)<6){Et=h+16|0;t:{r:switch(a-4|0){case 0:if(a=r+260|0,(bt[r+300|0]&3)==2)break t;a=r+252|0;break t;case 1:if(a=r+252|0,(bt[r+300|0]&3)==2)break t;a=r+260|0;break t;default:break r}a=(r+(a<<2)|0)+252|0}return+D[a>>2]}l[h>>2]=1872,er(r,h),Ki(),ue()}function yE(r,a){r=r|0,a=a|0;var h=0;if(h=Et-16|0,Et=h,r=l[r>>2],(a|0)<6){Et=h+16|0;t:{r:switch(a-4|0){case 0:if(a=r+276|0,(bt[r+300|0]&3)==2)break t;a=r+268|0;break t;case 1:if(a=r+268|0,(bt[r+300|0]&3)==2)break t;a=r+276|0;break t;default:break r}a=(r+(a<<2)|0)+268|0}return+D[a>>2]}l[h>>2]=1872,er(r,h),Ki(),ue()}function bE(r,a){r=r|0,a=a|0;var h=0;if(h=Et-16|0,Et=h,r=l[r>>2],(a|0)<6){Et=h+16|0;t:{r:switch(a-4|0){case 0:if(a=r+292|0,(bt[r+300|0]&3)==2)break t;a=r+284|0;break t;case 1:if(a=r+284|0,(bt[r+300|0]&3)==2)break t;a=r+292|0;break t;default:break r}a=(r+(a<<2)|0)+284|0}return+D[a>>2]}l[h>>2]=1872,er(r,h),Ki(),ue()}function AE(r,a){r=r|0,a=a|0;var h=0,u=m(0),y=m(0);u=m(zt),a=l[a>>2],y=D[a+40>>2],a=l[a+40>>2],h=3;t:{if((a|0)==2141891242)break t;if((a|0)==2140081935){u=m(0),h=1;break t}if((a|0)==2139156720){u=m(0),h=2;break t}if(h=0,y!=y)break t;u=(Ct(2,(a&-1073741825)+536870912|0),Gt()),h=a&1073741824?2:1}l[r>>2]=h,Fe[r+8>>3]=u}function Gr(r){var a=0,h=m(0);a=2143289344;t:{if(m(Be(r))==m(Wf)|r!=r||(a=2139156720,r<m(10842021724855044e-35)&r>m(-10842021724855044e-35)|r==m(0)))break t;h=(Ct(2,(ji(r),Jt(2)&-2147483648|1602224127)),Gt()),a=(ji(r>m(0xffffff0000000000)||r<m(-0xffffff0000000000)?h:r),Jt(2)-536870912|1073741824)}return a}function mr(r){var a=0,h=m(0);a=2143289344;t:{if(m(Be(r))==m(Wf)|r!=r||(a=2140081935,r<m(10842021724855044e-35)&r>m(-10842021724855044e-35)|r==m(0)))break t;h=(Ct(2,(ji(r),Jt(2)&-2147483648|1610612735)),Gt()),a=(ji(r>m(36893485948395848e3)||r<m(-36893485948395848e3)?h:r),Jt(2)-536870912|0)}return a}function EE(r,a){r=r|0,a=a|0;var h=m(0),u=m(0);r=l[r>>2]+(a<<2)|0,u=D[r+188>>2];t:{r:{if(r=l[r+188>>2],(r|0)==2139156720|(r|0)==2140081935)break r;if(h=m(zt),(r|0)==2141891242|u!=u)break t;if((r|0)==2139156720)break r;return m((Ct(2,(r&-1073741825)+536870912|0),Gt()))}h=m(0)}return m(h)}function TE(r,a,h,u,y,b){r=r|0,a=a|0,h=m(h),u=u|0,y=m(y),b=b|0;var w=0,S=0;return w=Et-16|0,Et=w,S=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(S=l[S+l[a>>2]>>2]),Dt[S|0](w,a,h,u,y,b),r=ht(16),a=l[w+12>>2],l[r+8>>2]=l[w+8>>2],l[r+12>>2]=a,a=l[w+4>>2],l[r>>2]=l[w>>2],l[r+4>>2]=a,Et=w+16|0,r|0}function pp(r,a){t:{if(a){a=Op(l[a>>2]);break t}r:{if(bt[7016]){a=l[1753];break r}a=ht(28),l[a+20>>2]=1065353216,l[a+24>>2]=0,l[a+12>>2]=0,l[a+16>>2]=0,l[a>>2]=0,ft[a+8|0]=0,l[a+4>>2]=1,l[1753]=a,ft[7016]=1,l[1752]=l[1752]+1}a=Op(a)}return l[r+4>>2]=0,l[r+8>>2]=0,l[r>>2]=a,l[a>>2]=r,r}function kE(r,a,h){r=r|0,a=a|0,h=+h;var u=0,y=0;t:{if(r=l[r>>2],a=r+(a<<2)|0,y=l[a+152>>2],u=mr(m(h)),(y|0)==(u|0))break t;for(l[a+152>>2]=u;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function wE(r,a,h){r=r|0,a=a|0,h=+h;var u=0,y=0;t:{if(r=l[r>>2],a=r+(a<<2)|0,y=l[a+188>>2],u=mr(m(h)),(y|0)==(u|0))break t;for(l[a+188>>2]=u;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function SE(r,a){r=r|0,a=a|0;var h=0,u=m(0);r=l[r>>2]+(a<<2)|0,u=D[r+152>>2];t:{r:{if(r=l[r+152>>2],(r|0)==2139156720|(r|0)==2140081935)break r;if(h=zt,(r|0)==2141891242|u!=u)break t;if((r|0)==2139156720)break r;return Ct(2,(r&-1073741825)+536870912|0),+Gt()}h=0}return+h}function RE(r,a){r=r|0,a=a|0;var h=0;t:{if(r=l[r>>2],h=l[r+24>>2],(h>>>20&3)==(a|0))break t;for(l[r+24>>2]=h&-3145729|a<<20&3145728;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function Pn(r,a,h){var u=0,y=0,b=0;t:{if(!a){u=r;break t}for(;u=rp(r,a,10),y=Oi,r=vh(u,y,246,0)+r|0,h=h-1|0,ft[h|0]=r|48,b=a>>>0>9,r=u,a=y,!!b;);}if(u)for(;h=h-1|0,r=(u>>>0)/10|0,ft[h|0]=Ne(r,246)+u|48,a=u>>>0>9,u=r,!!a;);return h}function LE(r,a){r=r|0,a=a|0;var h=0;t:{if(r=l[r>>2],h=l[r+24>>2],(h>>>22&1)==(a|0))break t;for(l[r+24>>2]=h&-4194305|a<<22&4194304;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function _E(r,a){r=r|0,a=a|0;var h=0;t:{if(r=l[r>>2],h=l[r+24>>2],(h>>>18&3)==(a|0))break t;for(l[r+24>>2]=h&-786433|a<<18&786432;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function IE(r,a){r=r|0,a=a|0;var h=0;t:{if(r=l[r>>2],h=l[r+24>>2],(h>>>16&3)==(a|0))break t;for(l[r+24>>2]=h&-196609|a<<16&196608;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function CE(r,a){r=r|0,a=+a;var h=0,u=m(0),y=m(0);t:{if(u=m(a),r=l[r>>2],y=D[r+224>>2],u==y|u!=u&y!=y)break t;for(D[r+224>>2]=u;;){if(h=bt[r+4|0],h&4)break t;if(ft[r+4|0]=h|4,h=l[r+20>>2],h&&Dt[h|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function DE(r,a){r=r|0,a=+a;var h=0,u=m(0),y=m(0);t:{if(u=m(a),r=l[r>>2],y=D[r+28>>2],u==y|u!=u&y!=y)break t;for(D[r+28>>2]=u;;){if(h=bt[r+4|0],h&4)break t;if(ft[r+4|0]=h|4,h=l[r+20>>2],h&&Dt[h|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function xE(r,a){r=r|0,a=+a;var h=0,u=m(0),y=m(0);t:{if(u=m(a),r=l[r>>2],y=D[r+32>>2],u==y|u!=u&y!=y)break t;for(D[r+32>>2]=u;;){if(h=bt[r+4|0],h&4)break t;if(ft[r+4|0]=h|4,h=l[r+20>>2],h&&Dt[h|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function PE(r,a){r=r|0,a=+a;var h=0,u=m(0),y=m(0);t:{if(u=m(a),r=l[r>>2],y=D[r+36>>2],u==y|u!=u&y!=y)break t;for(D[r+36>>2]=u;;){if(h=bt[r+4|0],h&4)break t;if(ft[r+4|0]=h|4,h=l[r+20>>2],h&&Dt[h|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function OE(r,a){r=r|0,a=a|0;var h=0;t:{if(r=l[r>>2],h=l[r+24>>2],(h>>>4&7)==(a|0))break t;for(l[r+24>>2]=h&-113|a<<4&112;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function ME(r,a){r=r|0,a=a|0;var h=0;t:{if(r=l[r>>2],h=l[r+24>>2],(h>>>2&3)==(a|0))break t;for(l[r+24>>2]=h&-13|a<<2&12;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function $E(r,a){r=r|0,a=a|0;var h=0;t:{if(r=l[r>>2],h=bt[r+4|0],((h&2)>>>1|0)==(a|0))break t;for(ft[r+4|0]=h&253|(a?2:0);;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function FE(r,a,h){r=r|0,a=a|0,h=h|0;var u=0,y=0;return u=Et-16|0,Et=u,y=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(y=l[y+l[a>>2]>>2]),Dt[y|0](u,a,h),r=ht(16),a=l[u+12>>2],l[r+8>>2]=l[u+8>>2],l[r+12>>2]=a,a=l[u+4>>2],l[r>>2]=l[u>>2],l[r+4>>2]=a,Et=u+16|0,r|0}function gp(r,a){var h=0,u=0;t:{r:{if(h=l[r+556>>2],u=l[r+560>>2],(h|0)==(u|0))break r;for(;;){if(l[h>>2]==(a|0))break r;if(h=h+4|0,(u|0)==(h|0))break}break t}if((h|0)==(u|0))break t;return a=h+4|0,Ls(h,a,u-a|0),l[r+560>>2]=u-4,1}return 0}function NE(r){r=r|0;var a=0,h=0;if(h=Et-16|0,Et=h,r=l[r>>2],l[r+8>>2]){for(;a=bt[r+4|0],!!(!(a&4)&&(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],r)););Et=h+16|0;return}l[h>>2]=1024,er(r,h),Ki(),ue()}function mp(r,a){var h=0,u=0,y=0;if(pi(+r),u=Jt(1)|0,y=Jt(0)|0,h=u>>>20&2047,(h|0)!=2047){if(!h)return r==0?h=0:(r=mp(r*18446744073709552e3,a),h=l[a>>2]+-64|0),l[a>>2]=h,r;l[a>>2]=h-1022,Ct(0,y|0),Ct(1,u&-2146435073|1071644672),r=+Ae()}return r}function UE(r,a){r=r|0,a=a|0;var h=0,u=0;return h=Et-16|0,Et=h,u=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(u=l[u+l[a>>2]>>2]),Dt[u|0](h,a),r=ht(16),a=l[h+12>>2],l[r+8>>2]=l[h+8>>2],l[r+12>>2]=a,a=l[h+4>>2],l[r>>2]=l[h>>2],l[r+4>>2]=a,Et=h+16|0,r|0}function zo(r,a,h){var u=0;t:{if(u=r+24|0,l[(u+(a<<2)|0)+184>>2]==(h|0))break t;for(l[((a<<2)+u|0)+184>>2]=h;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function Zo(r,a,h){var u=0;t:{if(u=r+24|0,l[(u+(a<<2)|0)+192>>2]==(h|0))break t;for(l[((a<<2)+u|0)+192>>2]=h;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function On(r,a,h){var u=0;t:{if(u=r+24|0,l[(u+(a<<2)|0)+176>>2]==(h|0))break t;for(l[((a<<2)+u|0)+176>>2]=h;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function gh(r,a){var h=0,u=0,y=0;t:{if(h=r+24|0,l[h+16>>2]==(a|0))break t;for(u=Dt[9](h)|0,y=a,l[u+16>>2]=y;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function vp(r,a,h){var u=0;t:{if(u=r+24|0,l[(u+(a<<2)|0)+92>>2]==(h|0))break t;for(l[((a<<2)+u|0)+92>>2]=h;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function mh(r,a,h){var u=0;t:{if(u=r+24|0,l[(u+(a<<2)|0)+20>>2]==(h|0))break t;for(l[((a<<2)+u|0)+20>>2]=h;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function yp(r,a,h){var u=0;t:{if(u=r+24|0,l[(u+(a<<2)|0)+56>>2]==(h|0))break t;for(l[((a<<2)+u|0)+56>>2]=h;;){if(a=bt[r+4|0],a&4)break t;if(ft[r+4|0]=a|4,a=l[r+20>>2],a&&Dt[a|0](r),l[r+308>>2]=2143289344,r=l[r+552>>2],!r)break}}}function BE(){for(var r=0,a=0,h=0;a=r<<4,h=a+5968|0,l[a+5972>>2]=h,l[a+5976>>2]=h,r=r+1|0,(r|0)!=64;);uh(48),l[1756]=16,l[1757]=0,qf(),l[1757]=l[1768],l[1768]=7024,l[1769]=198,l[1770]=0,ap(),l[1770]=l[1768],l[1768]=7076}function ir(r,a){var h=0,u=m(0);r=r+80|0,h=l[(a<<2)+4288>>2];t:{if((a&-2)==2){r=Nr(r,4,h,2143289344);break t}r=Ur(r,h,2143289344)}return(r|0)==2139156720|(r|0)==2140081935|(r|0)==2141891242?r=1:(u=(Ct(2,r),Gt()),r=u==u),r}function Xo(r,a){var h=0,u=m(0);r=r+80|0,h=l[(a<<2)+4304>>2];t:{if((a&-2)==2){r=Nr(r,5,h,2143289344);break t}r=Ur(r,h,2143289344)}return(r|0)==2139156720|(r|0)==2140081935|(r|0)==2141891242?r=1:(u=(Ct(2,r),Gt()),r=u==u),r}function vh(r,a,h,u){var y=0,b=0,w=0,S=0,P=0,K=0;return y=h>>>16|0,b=r>>>16|0,K=Ne(y,b),w=h&65535,S=r&65535,P=Ne(w,S),b=(P>>>16|0)+Ne(b,w)|0,y=(b&65535)+Ne(y,S)|0,Oi=(Ne(a,h)+K|0)+Ne(r,u)+(b>>>16)+(y>>>16)|0,P&65535|y<<16}function bp(r,a){var h=0,u=0,y=0;u=Et-16|0,Et=u,h=bt[r+4|0],y=h&-17,ft[r+4|0]=y;t:{if(a){if(l[r+560>>2]!=l[r+556>>2])break t;h=y|8}else h=h&231;l[r+8>>2]=a,ft[r+4|0]=h,Et=u+16|0;return}l[u>>2]=4128,er(r,u),Ki(),ue()}function Ap(r){var a=0,h=m(0);a=0;t:{if((l[r+24>>2]&196608)==131072)break t;r:{if(!l[r+552>>2]||(h=D[r+32>>2],h!=h&&(h=D[r+28>>2],!(h>m(0)))))break r;if(a=1,h!=m(0))break t}a=Mn(r)!=m(0)}return a}function mi(r,a,h,u,y){var b=0;if(b=Et-256|0,Et=b,!(y&73728|(h|0)<=(u|0))){if(u=h-u|0,h=u>>>0<256,$i(b,a&255,h?u:256),!h)for(;hi(r,b,256),u=u-256|0,u>>>0>255;);hi(r,b,u)}Et=b+256|0}function on(r,a,h){var u=0,y=m(0);t:{if((h&-2)==2&&(u=a- -64|0,y=D[u>>2],u=l[u>>2],(u|0)==2139156720|(u|0)==2140081935|(u|0)==2141891242|y==y))break t;u=l[((l[(h<<2)+4304>>2]<<2)+a|0)+44>>2]}up(r,u)}function ln(r,a,h){var u=0,y=m(0);t:{if((h&-2)==2&&(u=l[a+60>>2],y=D[a+60>>2],(u|0)==2139156720|(u|0)==2140081935|(u|0)==2141891242|y==y))break t;u=l[((l[(h<<2)+4288>>2]<<2)+a|0)+44>>2]}up(r,u)}function Mn(r){var a=m(0),h=m(0);if(!l[r+552>>2])return m(0);a=D[r+36>>2];t:{if(a==a||(a=m(1),ft[l[r+568>>2]+8|0]&1)||(a=m(0),h=D[r+28>>2],!(h<m(0))))break t;a=m(-h)}return a}function Ep(r){var a=0,h=0,u=0;for(u=l[r>>2];;){if(h=ft[u|0],Qo(h)){u=u+1|0,l[r>>2]=u,a>>>0<=214748364?(h=h-48|0,a=Ne(a,10),a=(h|0)>(a^2147483647)?-1:h+a|0):a=-1;continue}break}return a}function xa(r,a,h,u){var y=0;l[r+12>>2]=0,l[r+16>>2]=u;t:{if(a){if(a>>>0>=1073741824)break t;y=ht(a<<2)}return l[r>>2]=y,h=(h<<2)+y|0,l[r+8>>2]=h,l[r+12>>2]=(a<<2)+y,l[r+4>>2]=h,r}kh(),ue()}function Tp(r){var a=0;return a=l[r+72>>2],l[r+72>>2]=a-1|a,a=l[r>>2],a&8?(l[r>>2]=a|32,-1):(l[r+4>>2]=0,l[r+8>>2]=0,a=l[r+44>>2],l[r+28>>2]=a,l[r+20>>2]=a,l[r+16>>2]=a+l[r+48>>2],0)}function GE(r,a,h,u,y,b){r=r|0,a=a|0,h=m(h),u=u|0,y=m(y),b=b|0;var w=0;w=Et-16|0,Et=w,a=l[l[a>>2]+4>>2],Dt[l[l[a>>2]+8>>2]](w,a,h,u,y,b),D[r>>2]=Fe[w>>3],D[r+4>>2]=Fe[w+8>>3],Et=w+16|0}function VE(){var r=0,a=0;return a=ht(4),r=ht(28),l[r+20>>2]=1065353216,l[r+24>>2]=0,l[r+12>>2]=0,l[r+16>>2]=0,l[r>>2]=0,ft[r+8|0]=0,l[r+4>>2]=1,l[1752]=l[1752]+1,l[a>>2]=r,a|0}function HE(r,a){r=r|0,a=a|0,a=l[a>>2],Fe[r>>3]=D[a+228>>2],Fe[r+8>>3]=D[a+236>>2],Fe[r+16>>3]=D[a+232>>2],Fe[r+24>>3]=D[a+240>>2],Fe[r+32>>3]=D[a+244>>2],Fe[r+40>>3]=D[a+248>>2]}function WE(r,a){r=r|0,a=a|0;var h=0,u=0;return h=Et-48|0,Et=h,u=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(u=l[u+l[a>>2]>>2]),Dt[u|0](h,a),r=Mi(ht(48),h,48),Et=h+48|0,r|0}function jE(r,a,h,u){r=r|0,a=a|0,h=h|0,u=u|0;var y=0;return y=Et-16|0,Et=y,r=Mp(BA(l[r+60>>2],a|0,h|0,u&255,y+8|0)|0),Et=y+16|0,Oi=r?-1:l[y+12>>2],(r?-1:l[y+8>>2])|0}function KE(r,a){r=r|0,a=a|0;var h=0,u=0;h=l[r>>2],r=l[h+556>>2];t:{if(l[h+560>>2]-r>>2>>>0<=a>>>0||(r=l[r+(a<<2)>>2],!r))break t;u=l[r>>2]}return u|0}function YE(r,a,h){if(r=r|0,a=a|0,h=h|0,a>>>0<3){a=1<<a,r=l[r>>2],h?a=a|l[r+12>>2]:a=l[r+12>>2]&(a^-1),l[r+12>>2]=a;return}Rs(),ue()}function zE(r,a,h,u,y){r=r|0,a=a|0,h=+h,u=+u,y=y|0;var b=0;b=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(b=l[b+l[a>>2]>>2]),Dt[b|0](a,h,u,y)}function ZE(r,a,h){r=r|0,a=a|0,h=h|0;var u=0;return u=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(u=l[u+l[a>>2]>>2]),m(m(Dt[u|0](a,h)))}function kp(r,a,h,u){r=r|0,a=a|0,h=h|0,u=u|0;var y=0;y=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(y=l[y+l[a>>2]>>2]),Dt[y|0](a,h,u)}function wp(r,a,h){r=r|0,a=a|0,h=h|0;var u=0;return u=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(u=l[u+l[a>>2]>>2]),Dt[u|0](a,h)|0}function XE(r,a,h,u){r=r|0,a=a|0,h=h|0,u=+u;var y=0;y=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(y=l[y+l[a>>2]>>2]),Dt[y|0](a,h,u)}function qE(r,a,h){r=r|0,a=a|0,h=h|0;var u=0;return u=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(u=l[u+l[a>>2]>>2]),+Dt[u|0](a,h)}function ht(r){var a=0;r=r||1;t:{for(;;){if(a=hh(r),a)break t;if(a=l[2042],a){Dt[a|0]();continue}break}Rs(),ue()}return a}function QE(r,a,h){r=r|0,a=a|0,h=m(h);var u=0;u=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(u=l[u+l[a>>2]>>2]),Dt[u|0](a,h)}function Is(r,a,h){r=r|0,a=a|0,h=h|0;var u=0;u=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(u=l[u+l[a>>2]>>2]),Dt[u|0](a,h)}function cn(r,a){r=r|0,a=a|0;var h=0;return h=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(h=l[h+l[a>>2]>>2]),Dt[h|0](a)|0}function yh(r,a){return ji(r),(Jt(2)&2147483647)>>>0<=2139095040?(ji(a),(Jt(2)&2147483647)>>>0>2139095040?r:m(OA(r,a))):a}function ce(r,a){return ji(r),(Jt(2)&2147483647)>>>0<=2139095040?(ji(a),(Jt(2)&2147483647)>>>0>2139095040?r:m(MA(r,a))):a}function Sp(r,a){r=r|0,a=a|0;var h=0;return h=Et-16|0,Et=h,l[h+8>>2]=a,r=Dt[r|0](h+8|0)|0,Ca(l[h+8>>2]),Et=h+16|0,r|0}function JE(r,a,h){r=r|0,a=a|0,h=+h;var u=0;u=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(u=l[u+l[a>>2]>>2]),Dt[u|0](a,h)}function tT(r,a,h,u,y){return h=h|0,u=u|0,y=y|0,h&&(h|0)!=5?Up(5816,u,y)|0:Up(5672,u,y)|0}function Rp(r,a){if(!r)return 0;t:{if(!((a&-128)==57216|a>>>0<=127)){l[1781]=25,r=-1;break t}ft[r|0]=a,r=1}return r}function eT(r,a){r=r|0,a=a|0;var h=0;return h=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(h=l[h+l[a>>2]>>2]),+Dt[h|0](a)}function Lp(r,a){var h=0,u=0;h=ht(4),l[h>>2]=a,u=ht(4),l[u>>2]=a,jo(7035,r|0,7098,4714,196,h|0,7098,4718,197,u|0)}function $n(r,a){var h=0,u=0;h=ht(4),l[h>>2]=a,u=ht(4),l[u>>2]=a,jo(7065,r|0,7098,4714,194,h|0,7098,4718,195,u|0)}function bh(r,a){var h=0;t:{if(ft[7044]&1){h=l[1760];break t}h=jf(1,4464)|0,ft[7044]=1,l[1760]=h}UA(h|0,r|0,a|0,0)}function iT(r,a){r=r|0,a=a|0;var h=0;h=l[r+8>>2],l[r+8>>2]=a,h&&Dt[l[l[h>>2]+4>>2]](h),l[l[r>>2]+20>>2]=15}function rT(r,a,h){r=r|0,a=a|0,h=h|0;var u=0,y=0;u=r,y=Zf((ft[a+11|0]<0?l[a>>2]:a)|0,7036,l[h>>2])|0,l[u>>2]=y}function sT(r,a,h){r=r|0,a=a|0,h=h|0;var u=0,y=0;u=r,y=Zf((ft[a+11|0]<0?l[a>>2]:a)|0,7059,l[h>>2])|0,l[u>>2]=y}function _p(r,a){r=r|0,a=a|0;var h=0;h=l[r>>2],r=l[r+4>>2],a=(r>>1)+a|0,r&1&&(h=l[h+l[a>>2]>>2]),Dt[h|0](a)}function nT(r){r=r|0;var a=m(0);return r=l[r>>2],a=D[r+36>>2],a!=a&&(a=ft[l[r+568>>2]+8|0]&1?m(1):m(0)),+a}function aT(r,a){r=r|0,a=a|0;var h=0;h=l[r+4>>2],l[r+4>>2]=a,h&&Dt[l[l[h>>2]+4>>2]](h),bp(l[r>>2],14)}function oT(r){r=r|0;var a=0;a=l[r+8>>2],l[r+8>>2]=0,a&&Dt[l[l[a>>2]+4>>2]](a),l[l[r>>2]+20>>2]=0}function lT(r){r=r|0;var a=0;return a=ht(12),ft[a+4|0]=0,l[a+8>>2]=l[r>>2],l[r>>2]=0,l[a>>2]=4432,a|0}function cT(r){r=r|0;var a=0;return a=ht(12),ft[a+4|0]=0,l[a+8>>2]=l[r>>2],l[r>>2]=0,l[a>>2]=4552,a|0}function hT(){var r=0;if(r=l[1768],r)for(;Dt[l[r>>2]](),r=l[r+4>>2],!!r;);}function dT(r){r=r|0;var a=0;a=l[r+4>>2],l[r+4>>2]=0,a&&Dt[l[l[a>>2]+4>>2]](a),bp(l[r>>2],0)}function Ip(r){return r=r|0,l[r>>2]=4572,bt[r+4|0]&&bh(l[r+8>>2],1759),Ca(l[r+8>>2]),r|0}function Cp(r){return r=r|0,l[r>>2]=4452,bt[r+4|0]&&bh(l[r+8>>2],1759),Ca(l[r+8>>2]),r|0}function uT(){var r=0;return r=ht(16),l[r>>2]=0,l[r+4>>2]=0,l[r+8>>2]=0,l[r+12>>2]=0,r|0}function Dp(r,a,h){return ir(r,a)?_s(r,a,h):(h=Da(r,a,h),h==h&&(h=m(-h)),h)}function xp(r,a){var h=0;h=Et-16|0,Et=h,r||(l[h>>2]=a,er(0,h),Ki(),ue()),Et=h+16|0}function Pp(r){r=r|0;var a=0;r&&(a=l[r>>2],a&&gi(a),l[1752]=l[1752]-1,gi(r))}function fT(r,a){return r=r|0,a=a|0,a>>>0>=3&&(Rs(),ue()),l[l[r>>2]+12>>2]>>>a&1}function pT(r,a,h,u,y){return r=r|0,a=a|0,h=h|0,u=u|0,y=y|0,Dt[r|0](a,h,u,y)|0}function gT(){var r=0;return r=ht(16),l[r+8>>2]=0,l[r+12>>2]=0,l[r>>2]=0,r|0}function mT(r){r=r|0;var a=m(0);return a=D[l[r>>2]+224>>2],+(a!=a?m(zt):a)}function vT(r){return r=r|0,r=l[l[r>>2]+552>>2],r?l[r>>2]:0}function yT(r){r=r|0;var a=m(0);return a=D[l[r>>2]+32>>2],+(a==a?a:m(0))}function Op(r){var a=0;return a=Jf(ht(588),r),xp((r|0)!=0,2808),a}function bT(r,a){r=r|0,a=a|0,r=l[r>>2],l[r+16>>2]=l[r+16>>2]&-2|a}function AT(r){return r=r|0,r=l[r>>2],l[r+560>>2]-l[r+556>>2]>>2}function ET(r,a){r=r|0,a=a|0,r=l[r>>2],ft[r+8|0]=bt[r+8|0]&254|a}function TT(r){r=r|0,r=l[l[r>>2]+8>>2],Dt[l[l[r>>2]+8>>2]](r)}function kT(r,a,h){r=r|0,a=a|0,h=+h,mh(l[r>>2],a,mr(m(h)))}function wT(r,a,h){r=r|0,a=a|0,h=+h,mh(l[r>>2],a,Gr(m(h)))}function ST(r,a,h,u){return Oi=0,0}function RT(r,a,h){r=r|0,a=a|0,h=+h,vp(l[r>>2],a,mr(m(h)))}function LT(r,a,h){r=r|0,a=a|0,h=+h,vp(l[r>>2],a,Gr(m(h)))}function _T(r,a,h){r=r|0,a=a|0,h=+h,yp(l[r>>2],a,mr(m(h)))}function IT(r,a,h){r=r|0,a=a|0,h=+h,yp(l[r>>2],a,Gr(m(h)))}function CT(r,a,h){r=r|0,a=a|0,h=h|0,l[l[r>>2]+a>>2]=h}function DT(r,a){r=r|0,a=a|0,mh(l[r>>2],a,2141891242)}function Ah(r,a,h){r=r|0,a=a|0,h=+h,Fe[l[r>>2]+a>>3]=h}function xT(r){return r=r|0,(bt[l[r>>2]+4|0]&2)>>>1|0}function PT(r){return r=r|0,(bt[l[r>>2]+4|0]&4)>>>2|0}function OT(r,a){r=r|0,a=a|0,l[r+4>>2]=10,l[r>>2]=a}function MT(r,a){r=r|0,a=a|0,l[r+4>>2]=13,l[r>>2]=a}function $T(r){return r=r|0,l[l[r>>2]+24>>2]>>>10&7}function FT(r){return r=r|0,l[l[r>>2]+24>>2]>>>13&7}function Eh(r,a){return r=r|0,a=a|0,+Fe[l[r>>2]+a>>3]}function NT(r){return r=r|0,l[l[r>>2]+24>>2]>>>18&3}function UT(r){return r=r|0,l[l[r>>2]+24>>2]>>>20&3}function BT(r){return r=r|0,l[l[r>>2]+24>>2]>>>22&1}function GT(r,a){return r=r|0,a=a|0,l[l[r>>2]+a>>2]}function VT(r,a){r=r|0,a=+a,On(l[r>>2],0,mr(m(a)))}function HT(r,a){r=r|0,a=+a,On(l[r>>2],0,Gr(m(a)))}function WT(r,a){r=r|0,a=+a,On(l[r>>2],1,mr(m(a)))}function jT(r,a){r=r|0,a=+a,On(l[r>>2],1,Gr(m(a)))}function KT(r,a){r=r|0,a=a|0,l[r+4>>2]=7,l[r>>2]=a}function YT(r,a){r=r|0,a=+a,zo(l[r>>2],0,mr(m(a)))}function zT(r,a){r=r|0,a=+a,zo(l[r>>2],0,Gr(m(a)))}function ZT(r,a){r=r|0,a=+a,zo(l[r>>2],1,mr(m(a)))}function XT(r,a){r=r|0,a=+a,zo(l[r>>2],1,Gr(m(a)))}function qT(r,a){r=r|0,a=+a,Zo(l[r>>2],0,mr(m(a)))}function QT(r,a){r=r|0,a=+a,Zo(l[r>>2],1,mr(m(a)))}function JT(r,a){r=r|0,a=+a,Zo(l[r>>2],1,Gr(m(a)))}function tk(r){return r=r|0,l[l[r>>2]+24>>2]>>>7&7}function ek(r){return r=r|0,l[l[r>>2]+24>>2]>>>2&3}function ik(r){return r=r|0,l[l[r>>2]+24>>2]>>>4&7}function qo(r){r=r|0,r&&Dt[l[l[r>>2]+4>>2]](r)}function rk(r,a){r=r|0,a=+a,Zo(l[r>>2],0,Gr(m(a)))}function Mp(r){return r?(l[1781]=r,-1):0}function sk(r,a){r=r|0,a=+a,gh(l[r>>2],mr(m(a)))}function nk(r,a){r=r|0,a=+a,gh(l[r>>2],Gr(m(a)))}function $p(r,a,h){return m(fe(r,a,h)+Se(r,a,h))}function ak(r,a){return r=r|0,a=a|0,Dt[r|0](a)|0}function Fp(r,a,h,u){GA(r|0,a|0,8,0,h|0,-1,u|0)}function ok(r,a){r=r|0,a=a|0,l[l[r>>2]+16>>2]=a}function lk(r){return r=r|0,l[l[r>>2]+16>>2]&1}function ck(r){return r=r|0,Cn[l[r>>2]+26>>1]&3}function hk(r){r=r|0,On(l[r>>2],0,2141891242)}function dk(r){r=r|0,On(l[r>>2],1,2141891242)}function uk(r){return r=r|0,+D[l[r>>2]+228>>2]}function fk(r){return r=r|0,+D[l[r>>2]+236>>2]}function pk(r){return r=r|0,+D[l[r>>2]+232>>2]}function gk(r){return r=r|0,+D[l[r>>2]+240>>2]}function mk(r){return r=r|0,+D[l[r>>2]+244>>2]}function vk(r){return r=r|0,+D[l[r>>2]+248>>2]}function yk(r){return r=r|0,jA(l[r+60>>2])|0}function bk(r){return r=r|0,l[l[r>>2]+16>>2]}function Ak(r){return r=r|0,ft[l[r>>2]+8|0]&1}function Ek(r,a){r=r|0,a=a|0,ph(l[r>>2],5,a)}function Tk(r,a){r=r|0,a=a|0,ph(l[r>>2],6,a)}function kk(r,a){r=r|0,a=a|0,ph(l[r>>2],7,a)}function wk(r){r=r|0,gh(l[r>>2],2141891242)}function Np(r,a){r=r|0,a=a|0,Dt[l[r>>2]](a)}function Sk(r){return r=r|0,pp(ht(12),r)|0}function Rk(r){r=r|0,bh(l[r+8>>2],3293)}function Up(r,a,h){return cp(r,a,h,2,3)}function Bp(r){return r=r|0,Dt[r|0]()|0}function Gp(r,a){r=r|0,a=a|0,Dt[r|0](a)}function Lk(){return $i(ht(48),0,48)|0}function Ki(){Dt[l[1490]](),kh(),ue()}function _k(){return pp(ht(12),0)|0}function Th(r){r=r|0,r&&gi(r)}function Qo(r){return r-48>>>0<10}function Ik(r){return 7032}function Ck(r){return 7036}function Dk(r){return 7056}function xk(r){return 7059}function Pk(r){return 7062}function Ok(r){return 7067}function wr(r){return r=r|0,r|0}function Vp(r){r=r|0,ft[r+4|0]=1}function Mk(r){r=r|0,gi(Ip(r))}function $k(r){r=r|0,gi(Cp(r))}function Fk(r){return 0}function Hp(r){ue()}function Wp(){kh(),ue()}function kh(){Rs(),ue()}B=bt,Rt();var Dt=U([null,tT,ZA,QA,wr,KT,OT,MT,wr,wr,wr,wr,wr,wr,GE,TT,qf,Ik,qo,TE,Ck,wr,wr,qo,Vp,Np,Sp,lT,aE,rT,Dk,qo,_p,xk,wr,wr,qo,Vp,Np,Sp,cT,sT,Pk,Pp,Bp,VE,Gp,Pp,YE,kp,sE,QE,bT,Is,ok,Is,ET,fT,wp,lk,cn,bk,cn,Ak,Lk,Th,uT,Th,gT,Th,Eh,Ah,GT,CT,Ok,np,Bp,_k,ak,Sk,Gp,np,eE,_p,qA,Is,IE,Is,_T,XE,IT,Ek,Tk,kk,ME,_E,OE,kT,wT,DT,RE,LE,DE,JE,sk,nk,wk,xE,PE,VT,HT,hk,WT,jT,dk,YT,zT,ZT,XT,qT,rk,QT,JT,CE,kE,RT,LT,wE,ck,cn,cE,FE,tk,$T,FT,ek,NT,ik,hE,AE,UE,yT,eT,nT,uE,fE,pE,gE,mE,dE,mT,SE,qE,UT,BT,lE,EE,ZE,JA,kp,tE,Is,AT,cn,vT,cn,KE,wp,xT,cn,$E,Is,aT,Is,dT,iT,Is,oT,NE,PT,cn,XA,zE,uk,fk,pk,gk,mk,vk,HE,WE,vE,yE,bE,Eh,Ah,Eh,Ah,ap,Cp,$k,nE,Hp,Wp,Ip,Mk,Rk,Hp,yk,iE,jE,Fk,ST,oE,Wp]);function jp(){return Pi.byteLength/65536|0}function Nk(r){r=r|0;var a=jp()|0,h=a+r|0;if(a<h&&h<65536){var u=new ArrayBuffer(Ne(h,65536)),y=new Int8Array(u);y.set(ft),ft=new Int8Array(u),Fr=new Int16Array(u),l=new Int32Array(u),bt=new Uint8Array(u),Cn=new Uint16Array(u),Hf=new Uint32Array(u),D=new Float32Array(u),Fe=new Float64Array(u),Pi=u,tr.buffer=Pi,B=bt}return a}return{E:BE,F:rE,G:hT,H:hh,I:Dt,J:gi,K:pT}}return Wo(C)}(I)}var _=Error,x={};A=[],typeof x!="object"&&Pt("no native wasm support detected");var F,G=!1;function L(I,C,U){U=C+U;for(var B="";!(C>=U);){var et=I[C++];if(!et)break;if(et&128){var mt=I[C++]&63;if((et&224)==192)B+=String.fromCharCode((et&31)<<6|mt);else{var lt=I[C++]&63;et=(et&240)==224?(et&15)<<12|mt<<6|lt:(et&7)<<18|mt<<12|lt<<6|I[C++]&63,65536>et?B+=String.fromCharCode(et):(et-=65536,B+=String.fromCharCode(55296|et>>10,56320|et&1023))}}else B+=String.fromCharCode(et)}return B}var $,V,W,ot,nt,Q,At,vt,$t;function Kt(I){$=I,o.HEAP8=V=new Int8Array(I),o.HEAP16=ot=new Int16Array(I),o.HEAP32=Q=new Int32Array(I),o.HEAPU8=W=new Uint8Array(I),o.HEAPU16=nt=new Uint16Array(I),o.HEAPU32=At=new Uint32Array(I),o.HEAPF32=vt=new Float32Array(I),o.HEAPF64=$t=new Float64Array(I)}var H=o.INITIAL_MEMORY||16777216;o.wasmMemory?F=o.wasmMemory:F=new E,F&&($=F.buffer),H=$.byteLength,Kt($);var rt,St=[],M=[],N=[];function q(){var I=o.preRun.shift();St.unshift(I)}var gt=0,Tt=null;function Pt(I){throw o.onAbort&&o.onAbort(I),I="Aborted("+I+")",v(I),G=!0,I=new _(I+". Build with -sASSERTIONS for more info."),d(I),I}function Ut(I){return I.startsWith("data:application/octet-stream;base64,")}var Ot;if(Ot="<<< WASM_BINARY_FILE >>>",!Ut(Ot)){var ae=Ot;Ot=o.locateFile?o.locateFile(ae,p):p+ae}function oe(I){var C=Ot;try{try{if(C==Ot&&A)new Uint8Array(A);else{if(Ut(C)){try{var U=DA(C.slice(37)),B=new Uint8Array(U.length);for(C=0;C<U.length;++C)B[C]=U.charCodeAt(C);var et=B}catch{throw Error("Converting base64 string to bytes failed.")}var mt=et}else mt=void 0;if(!mt)throw"sync fetching of the wasm failed: you can preload it to Module['wasmBinary'] manually, or emcc.py will do that for you when generating HTML (but not JS)"}}catch(_t){Pt(_t)}var lt=new T,Rt=new k(I)}catch(_t){throw I=_t.toString(),v("failed to compile wasm module: "+I),(I.includes("imported Memory")||I.includes("memory import"))&&v("Memory size incompatibility issues may be due to changing INITIAL_MEMORY at runtime to something too large. Use ALLOW_MEMORY_GROWTH to allow any size memory (and also make sure not to set INITIAL_MEMORY at runtime to something smaller than it was at compile time)."),_t}return[Rt,lt]}function he(I){for(;0<I.length;)I.shift()(o)}function ke(I){if(I===void 0)return"_unknown";I=I.replace(/[^a-zA-Z0-9_]/g,"$");var C=I.charCodeAt(0);return 48<=C&&57>=C?"_"+I:I}function pe(I,C){return I=ke(I),function(){return C.apply(this,arguments)}}var Wt=[{},{value:void 0},{value:null},{value:!0},{value:!1}],de=[];function ie(I){var C=Error,U=pe(I,function(B){this.name=I,this.message=B,B=Error(B).stack,B!==void 0&&(this.stack=this.toString()+`
92
92
  `+B.replace(/^Error(:[^\n]*)?\n/,""))});return U.prototype=Object.create(C.prototype),U.prototype.constructor=U,U.prototype.toString=function(){return this.message===void 0?this.name:this.name+": "+this.message},U}var Ie=void 0;function Bt(I){throw new Ie(I)}var Ze=I=>(I||Bt("Cannot use deleted val. handle = "+I),Wt[I].value),ri=I=>{switch(I){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var C=de.length?de.pop():Wt.length;return Wt[C]={fa:1,value:I},C}},xi=void 0,Er=void 0;function we(I){for(var C="";W[I];)C+=Er[W[I++]];return C}var li=[];function ve(){for(;li.length;){var I=li.pop();I.L.Z=!1,I.delete()}}var Qe=void 0,Je={};function Wi(I,C){for(C===void 0&&Bt("ptr should not be undefined");I.P;)C=I.aa(C),I=I.P;return C}var $e={};function Si(I){I=PA(I);var C=we(I);return Ss(I),C}function es(I,C){var U=$e[I];return U===void 0&&Bt(C+" has unknown type "+Si(I)),U}function ci(){}var Tr=!1;function Es(I){--I.count.value,I.count.value===0&&(I.S?I.T.V(I.S):I.O.M.V(I.N))}function Ts(I,C,U){return C===U?I:U.P===void 0?null:(I=Ts(I,C,U.P),I===null?null:U.ma(I))}var Ji={};function ct(I,C){return C=Wi(I,C),Je[C]}var Vt=void 0;function Zt(I){throw new Vt(I)}function ye(I,C){return C.O&&C.N||Zt("makeClassHandle requires ptr and ptrType"),!!C.T!=!!C.S&&Zt("Both smartPtrType and smartPtr must be specified"),C.count={value:1},se(Object.create(I,{L:{value:C}}))}function se(I){return typeof FinalizationRegistry>"u"?(se=C=>C,I):(Tr=new FinalizationRegistry(C=>{Es(C.L)}),se=C=>{var U=C.L;return U.S&&Tr.register(C,{L:U},C),C},ci=C=>{Tr.unregister(C)},se(I))}var si={};function Ri(I){for(;I.length;){var C=I.pop();I.pop()(C)}}function dr(I){return this.fromWireType(Q[I>>2])}var is={},ur={};function fr(I,C,U){function B(Rt){Rt=U(Rt),Rt.length!==I.length&&Zt("Mismatched type converter count");for(var _t=0;_t<I.length;++_t)Li(I[_t],Rt[_t])}I.forEach(function(Rt){ur[Rt]=C});var et=Array(C.length),mt=[],lt=0;C.forEach((Rt,_t)=>{$e.hasOwnProperty(Rt)?et[_t]=$e[Rt]:(mt.push(Rt),is.hasOwnProperty(Rt)||(is[Rt]=[]),is[Rt].push(()=>{et[_t]=$e[Rt],++lt,lt===mt.length&&B(et)}))}),mt.length===0&&B(et)}function ks(I){switch(I){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+I)}}function Li(I,C,U={}){if(!("argPackAdvance"in C))throw new TypeError("registerType registeredInstance requires argPackAdvance");var B=C.name;if(I||Bt('type "'+B+'" must have a positive integer typeid pointer'),$e.hasOwnProperty(I)){if(U.ta)return;Bt("Cannot register type '"+B+"' twice")}$e[I]=C,delete ur[I],is.hasOwnProperty(I)&&(C=is[I],delete is[I],C.forEach(et=>et()))}function Ia(I){Bt(I.L.O.M.name+" instance already deleted")}function pr(){}function ws(I,C,U){if(I[C].R===void 0){var B=I[C];I[C]=function(){return I[C].R.hasOwnProperty(arguments.length)||Bt("Function '"+U+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+I[C].R+")!"),I[C].R[arguments.length].apply(this,arguments)},I[C].R=[],I[C].R[B.Y]=B}}function uA(I,C){o.hasOwnProperty(I)?(Bt("Cannot register public name '"+I+"' twice"),ws(o,I,I),o.hasOwnProperty(void 0)&&Bt("Cannot register multiple overloads of a function with the same number of arguments (undefined)!"),o[I].R[void 0]=C):o[I]=C}function fA(I,C,U,B,et,mt,lt,Rt){this.name=I,this.constructor=C,this.W=U,this.V=B,this.P=et,this.oa=mt,this.aa=lt,this.ma=Rt,this.ia=[]}function ih(I,C,U){for(;C!==U;)C.aa||Bt("Expected null or instance of "+U.name+", got an instance of "+C.name),I=C.aa(I),C=C.P;return I}function pA(I,C){return C===null?(this.da&&Bt("null is not a valid "+this.name),0):(C.L||Bt('Cannot pass "'+ah(C)+'" as a '+this.name),C.L.N||Bt("Cannot pass deleted object as a pointer of type "+this.name),ih(C.L.N,C.L.O.M,this.M))}function gA(I,C){if(C===null){if(this.da&&Bt("null is not a valid "+this.name),this.ca){var U=this.ea();return I!==null&&I.push(this.V,U),U}return 0}if(C.L||Bt('Cannot pass "'+ah(C)+'" as a '+this.name),C.L.N||Bt("Cannot pass deleted object as a pointer of type "+this.name),!this.ba&&C.L.O.ba&&Bt("Cannot convert argument of type "+(C.L.T?C.L.T.name:C.L.O.name)+" to parameter type "+this.name),U=ih(C.L.N,C.L.O.M,this.M),this.ca)switch(C.L.S===void 0&&Bt("Passing raw pointer to smart pointer is illegal"),this.Aa){case 0:C.L.T===this?U=C.L.S:Bt("Cannot convert argument of type "+(C.L.T?C.L.T.name:C.L.O.name)+" to parameter type "+this.name);break;case 1:U=C.L.S;break;case 2:if(C.L.T===this)U=C.L.S;else{var B=C.clone();U=this.wa(U,ri(function(){B.delete()})),I!==null&&I.push(this.V,U)}break;default:Bt("Unsupporting sharing policy")}return U}function mA(I,C){return C===null?(this.da&&Bt("null is not a valid "+this.name),0):(C.L||Bt('Cannot pass "'+ah(C)+'" as a '+this.name),C.L.N||Bt("Cannot pass deleted object as a pointer of type "+this.name),C.L.O.ba&&Bt("Cannot convert argument of type "+C.L.O.name+" to parameter type "+this.name),ih(C.L.N,C.L.O.M,this.M))}function rs(I,C,U,B){this.name=I,this.M=C,this.da=U,this.ba=B,this.ca=!1,this.V=this.wa=this.ea=this.ja=this.Aa=this.va=void 0,C.P!==void 0?this.toWireType=gA:(this.toWireType=B?pA:mA,this.U=null)}function vA(I,C){o.hasOwnProperty(I)||Zt("Replacing nonexistant public symbol"),o[I]=C,o[I].Y=void 0}function yA(I,C){var U=[];return function(){if(U.length=0,Object.assign(U,arguments),I.includes("j")){var B=o["dynCall_"+I];B=U&&U.length?B.apply(null,[C].concat(U)):B.call(null,C)}else B=rt.get(C).apply(null,U);return B}}function kr(I,C){I=we(I);var U=I.includes("j")?yA(I,C):rt.get(C);return typeof U!="function"&&Bt("unknown function pointer with signature "+I+": "+C),U}var Ff=void 0;function Bo(I,C){function U(mt){et[mt]||$e[mt]||(ur[mt]?ur[mt].forEach(U):(B.push(mt),et[mt]=!0))}var B=[],et={};throw C.forEach(U),new Ff(I+": "+B.map(Si).join([", "]))}function rh(I,C,U,B,et){var mt=C.length;2>mt&&Bt("argTypes array size mismatch! Must at least get return value and 'this' types!");var lt=C[1]!==null&&U!==null,Rt=!1;for(U=1;U<C.length;++U)if(C[U]!==null&&C[U].U===void 0){Rt=!0;break}var _t=C[0].name!=="void",It=mt-2,Nt=Array(It),Yt=[],Jt=[];return function(){if(arguments.length!==It&&Bt("function "+I+" called with "+arguments.length+" arguments, expected "+It+" args!"),Jt.length=0,Yt.length=lt?2:1,Yt[0]=et,lt){var Ct=C[1].toWireType(Jt,this);Yt[1]=Ct}for(var Ae=0;Ae<It;++Ae)Nt[Ae]=C[Ae+2].toWireType(Jt,arguments[Ae]),Yt.push(Nt[Ae]);if(Ae=B.apply(null,Yt),Rt)Ri(Jt);else for(var pi=lt?1:2;pi<C.length;pi++){var ue=pi===1?Ct:Nt[pi-2];C[pi].U!==null&&C[pi].U(ue)}return Ct=_t?C[0].fromWireType(Ae):void 0,Ct}}function sh(I,C){for(var U=[],B=0;B<I;B++)U.push(At[C+4*B>>2]);return U}function nh(I){4<I&&--Wt[I].fa===0&&(Wt[I]=void 0,de.push(I))}function ah(I){if(I===null)return"null";var C=typeof I;return C==="object"||C==="array"||C==="function"?I.toString():""+I}function bA(I,C){switch(C){case 2:return function(U){return this.fromWireType(vt[U>>2])};case 3:return function(U){return this.fromWireType($t[U>>3])};default:throw new TypeError("Unknown float type: "+I)}}function AA(I,C,U){switch(C){case 0:return U?function(B){return V[B]}:function(B){return W[B]};case 1:return U?function(B){return ot[B>>1]}:function(B){return nt[B>>1]};case 2:return U?function(B){return Q[B>>2]}:function(B){return At[B>>2]};default:throw new TypeError("Unknown integer type: "+I)}}function EA(I,C){for(var U="",B=0;!(B>=C/2);++B){var et=ot[I+2*B>>1];if(et==0)break;U+=String.fromCharCode(et)}return U}function TA(I,C,U){if(U===void 0&&(U=2147483647),2>U)return 0;U-=2;var B=C;U=U<2*I.length?U/2:I.length;for(var et=0;et<U;++et)ot[C>>1]=I.charCodeAt(et),C+=2;return ot[C>>1]=0,C-B}function kA(I){return 2*I.length}function wA(I,C){for(var U=0,B="";!(U>=C/4);){var et=Q[I+4*U>>2];if(et==0)break;++U,65536<=et?(et-=65536,B+=String.fromCharCode(55296|et>>10,56320|et&1023)):B+=String.fromCharCode(et)}return B}function SA(I,C,U){if(U===void 0&&(U=2147483647),4>U)return 0;var B=C;U=B+U-4;for(var et=0;et<I.length;++et){var mt=I.charCodeAt(et);if(55296<=mt&&57343>=mt){var lt=I.charCodeAt(++et);mt=65536+((mt&1023)<<10)|lt&1023}if(Q[C>>2]=mt,C+=4,C+4>U)break}return Q[C>>2]=0,C-B}function RA(I){for(var C=0,U=0;U<I.length;++U){var B=I.charCodeAt(U);55296<=B&&57343>=B&&++U,C+=4}return C}var LA={};function Nf(I){var C=LA[I];return C===void 0?we(I):C}var Go=[];function _A(I){var C=Go.length;return Go.push(I),C}function IA(I,C){for(var U=Array(I),B=0;B<I;++B)U[B]=es(At[C+4*B>>2],"parameter "+B);return U}var Uf=[],CA=[null,[],[]];Ie=o.BindingError=ie("BindingError"),o.count_emval_handles=function(){for(var I=0,C=5;C<Wt.length;++C)Wt[C]!==void 0&&++I;return I},o.get_first_emval=function(){for(var I=5;I<Wt.length;++I)if(Wt[I]!==void 0)return Wt[I];return null},xi=o.PureVirtualError=ie("PureVirtualError");for(var Bf=Array(256),Vo=0;256>Vo;++Vo)Bf[Vo]=String.fromCharCode(Vo);Er=Bf,o.getInheritedInstanceCount=function(){return Object.keys(Je).length},o.getLiveInheritedInstances=function(){var I=[],C;for(C in Je)Je.hasOwnProperty(C)&&I.push(Je[C]);return I},o.flushPendingDeletes=ve,o.setDelayFunction=function(I){Qe=I,li.length&&Qe&&Qe(ve)},Vt=o.InternalError=ie("InternalError"),pr.prototype.isAliasOf=function(I){if(!(this instanceof pr&&I instanceof pr))return!1;var C=this.L.O.M,U=this.L.N,B=I.L.O.M;for(I=I.L.N;C.P;)U=C.aa(U),C=C.P;for(;B.P;)I=B.aa(I),B=B.P;return C===B&&U===I},pr.prototype.clone=function(){if(this.L.N||Ia(this),this.L.$)return this.L.count.value+=1,this;var I=se,C=Object,U=C.create,B=Object.getPrototypeOf(this),et=this.L;return I=I(U.call(C,B,{L:{value:{count:et.count,Z:et.Z,$:et.$,N:et.N,O:et.O,S:et.S,T:et.T}}})),I.L.count.value+=1,I.L.Z=!1,I},pr.prototype.delete=function(){this.L.N||Ia(this),this.L.Z&&!this.L.$&&Bt("Object already scheduled for deletion"),ci(this),Es(this.L),this.L.$||(this.L.S=void 0,this.L.N=void 0)},pr.prototype.isDeleted=function(){return!this.L.N},pr.prototype.deleteLater=function(){return this.L.N||Ia(this),this.L.Z&&!this.L.$&&Bt("Object already scheduled for deletion"),li.push(this),li.length===1&&Qe&&Qe(ve),this.L.Z=!0,this},rs.prototype.pa=function(I){return this.ja&&(I=this.ja(I)),I},rs.prototype.ga=function(I){this.V&&this.V(I)},rs.prototype.argPackAdvance=8,rs.prototype.readValueFromPointer=dr,rs.prototype.deleteObject=function(I){I!==null&&I.delete()},rs.prototype.fromWireType=function(I){function C(){return this.ca?ye(this.M.W,{O:this.va,N:U,T:this,S:I}):ye(this.M.W,{O:this,N:I})}var U=this.pa(I);if(!U)return this.ga(I),null;var B=ct(this.M,U);if(B!==void 0)return B.L.count.value===0?(B.L.N=U,B.L.S=I,B.clone()):(B=B.clone(),this.ga(I),B);if(B=this.M.oa(U),B=Ji[B],!B)return C.call(this);B=this.ba?B.ka:B.pointerType;var et=Ts(U,this.M,B.M);return et===null?C.call(this):this.ca?ye(B.M.W,{O:B,N:et,T:this,S:I}):ye(B.M.W,{O:B,N:et})},Ff=o.UnboundTypeError=ie("UnboundTypeError");var DA=typeof atob=="function"?atob:function(I){var C="",U=0;I=I.replace(/[^A-Za-z0-9\+\/=]/g,"");do{var B="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(I.charAt(U++)),et="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(I.charAt(U++)),mt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(I.charAt(U++)),lt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(I.charAt(U++));B=B<<2|et>>4,et=(et&15)<<4|mt>>2;var Rt=(mt&3)<<6|lt;C+=String.fromCharCode(B),mt!==64&&(C+=String.fromCharCode(et)),lt!==64&&(C+=String.fromCharCode(Rt))}while(U<I.length);return C},xA={q:function(I,C,U){I=we(I),C=es(C,"wrapper"),U=Ze(U);var B=[].slice,et=C.M,mt=et.W,lt=et.P.W,Rt=et.P.constructor;I=pe(I,function(){et.P.ia.forEach((function(It){if(this[It]===lt[It])throw new xi("Pure virtual function "+It+" must be implemented in JavaScript")}).bind(this)),Object.defineProperty(this,"__parent",{value:mt}),this.__construct.apply(this,B.call(arguments))}),mt.__construct=function(){this===mt&&Bt("Pass correct 'this' to __construct");var It=Rt.implement.apply(void 0,[this].concat(B.call(arguments)));ci(It);var Nt=It.L;It.notifyOnDestruction(),Nt.$=!0,Object.defineProperties(this,{L:{value:Nt}}),se(this),It=Nt.N,It=Wi(et,It),Je.hasOwnProperty(It)?Bt("Tried to register registered instance: "+It):Je[It]=this},mt.__destruct=function(){this===mt&&Bt("Pass correct 'this' to __destruct"),ci(this);var It=this.L.N;It=Wi(et,It),Je.hasOwnProperty(It)?delete Je[It]:Bt("Tried to unregister unregistered instance: "+It)},I.prototype=Object.create(mt);for(var _t in U)I.prototype[_t]=U[_t];return ri(I)},k:function(I){var C=si[I];delete si[I];var U=C.ea,B=C.V,et=C.ha,mt=et.map(lt=>lt.sa).concat(et.map(lt=>lt.ya));fr([I],mt,lt=>{var Rt={};return et.forEach((_t,It)=>{var Nt=lt[It],Yt=_t.qa,Jt=_t.ra,Ct=lt[It+et.length],Ae=_t.xa,pi=_t.za;Rt[_t.na]={read:ue=>Nt.fromWireType(Yt(Jt,ue)),write:(ue,ji)=>{var Gt=[];Ae(pi,ue,Ct.toWireType(Gt,ji)),Ri(Gt)}}}),[{name:C.name,fromWireType:function(_t){var It={},Nt;for(Nt in Rt)It[Nt]=Rt[Nt].read(_t);return B(_t),It},toWireType:function(_t,It){for(var Nt in Rt)if(!(Nt in It))throw new TypeError('Missing field: "'+Nt+'"');var Yt=U();for(Nt in Rt)Rt[Nt].write(Yt,It[Nt]);return _t!==null&&_t.push(B,Yt),Yt},argPackAdvance:8,readValueFromPointer:dr,U:B}]})},w:function(){},C:function(I,C,U,B,et){var mt=ks(U);C=we(C),Li(I,{name:C,fromWireType:function(lt){return!!lt},toWireType:function(lt,Rt){return Rt?B:et},argPackAdvance:8,readValueFromPointer:function(lt){if(U===1)var Rt=V;else if(U===2)Rt=ot;else if(U===4)Rt=Q;else throw new TypeError("Unknown boolean type size: "+C);return this.fromWireType(Rt[lt>>mt])},U:null})},g:function(I,C,U,B,et,mt,lt,Rt,_t,It,Nt,Yt,Jt){Nt=we(Nt),mt=kr(et,mt),Rt&&(Rt=kr(lt,Rt)),It&&(It=kr(_t,It)),Jt=kr(Yt,Jt);var Ct=ke(Nt);uA(Ct,function(){Bo("Cannot construct "+Nt+" due to unbound types",[B])}),fr([I,C,U],B?[B]:[],function(Ae){if(Ae=Ae[0],B)var pi=Ae.M,ue=pi.W;else ue=pr.prototype;Ae=pe(Ct,function(){if(Object.getPrototypeOf(this)!==ji)throw new Ie("Use 'new' to construct "+Nt);if(Gt.X===void 0)throw new Ie(Nt+" has no accessible constructor");var ti=Gt.X[arguments.length];if(ti===void 0)throw new Ie("Tried to invoke ctor of "+Nt+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(Gt.X).toString()+") parameters instead!");return ti.apply(this,arguments)});var ji=Object.create(ue,{constructor:{value:Ae}});Ae.prototype=ji;var Gt=new fA(Nt,Ae,ji,Jt,pi,mt,Rt,It);pi=new rs(Nt,Gt,!0,!1),ue=new rs(Nt+"*",Gt,!1,!1);var Wo=new rs(Nt+" const*",Gt,!1,!0);return Ji[I]={pointerType:ue,ka:Wo},vA(Ct,Ae),[pi,ue,Wo]})},d:function(I,C,U,B,et,mt,lt){var Rt=sh(U,B);C=we(C),mt=kr(et,mt),fr([],[I],function(_t){function It(){Bo("Cannot call "+Nt+" due to unbound types",Rt)}_t=_t[0];var Nt=_t.name+"."+C;C.startsWith("@@")&&(C=Symbol[C.substring(2)]);var Yt=_t.M.constructor;return Yt[C]===void 0?(It.Y=U-1,Yt[C]=It):(ws(Yt,C,Nt),Yt[C].R[U-1]=It),fr([],Rt,function(Jt){return Jt=rh(Nt,[Jt[0],null].concat(Jt.slice(1)),null,mt,lt),Yt[C].R===void 0?(Jt.Y=U-1,Yt[C]=Jt):Yt[C].R[U-1]=Jt,[]}),[]})},p:function(I,C,U,B,et,mt){0<C||Pt();var lt=sh(C,U);et=kr(B,et),fr([],[I],function(Rt){Rt=Rt[0];var _t="constructor "+Rt.name;if(Rt.M.X===void 0&&(Rt.M.X=[]),Rt.M.X[C-1]!==void 0)throw new Ie("Cannot register multiple constructors with identical number of parameters ("+(C-1)+") for class '"+Rt.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return Rt.M.X[C-1]=()=>{Bo("Cannot construct "+Rt.name+" due to unbound types",lt)},fr([],lt,function(It){return It.splice(1,0,null),Rt.M.X[C-1]=rh(_t,It,null,et,mt),[]}),[]})},b:function(I,C,U,B,et,mt,lt,Rt){var _t=sh(U,B);C=we(C),mt=kr(et,mt),fr([],[I],function(It){function Nt(){Bo("Cannot call "+Yt+" due to unbound types",_t)}It=It[0];var Yt=It.name+"."+C;C.startsWith("@@")&&(C=Symbol[C.substring(2)]),Rt&&It.M.ia.push(C);var Jt=It.M.W,Ct=Jt[C];return Ct===void 0||Ct.R===void 0&&Ct.className!==It.name&&Ct.Y===U-2?(Nt.Y=U-2,Nt.className=It.name,Jt[C]=Nt):(ws(Jt,C,Yt),Jt[C].R[U-2]=Nt),fr([],_t,function(Ae){return Ae=rh(Yt,Ae,It,mt,lt),Jt[C].R===void 0?(Ae.Y=U-2,Jt[C]=Ae):Jt[C].R[U-2]=Ae,[]}),[]})},B:function(I,C){C=we(C),Li(I,{name:C,fromWireType:function(U){var B=Ze(U);return nh(U),B},toWireType:function(U,B){return ri(B)},argPackAdvance:8,readValueFromPointer:dr,U:null})},n:function(I,C,U){U=ks(U),C=we(C),Li(I,{name:C,fromWireType:function(B){return B},toWireType:function(B,et){return et},argPackAdvance:8,readValueFromPointer:bA(C,U),U:null})},e:function(I,C,U,B,et){C=we(C),et===-1&&(et=4294967295),et=ks(U);var mt=Rt=>Rt;if(B===0){var lt=32-8*U;mt=Rt=>Rt<<lt>>>lt}U=C.includes("unsigned")?function(Rt,_t){return _t>>>0}:function(Rt,_t){return _t},Li(I,{name:C,fromWireType:mt,toWireType:U,argPackAdvance:8,readValueFromPointer:AA(C,et,B!==0),U:null})},c:function(I,C,U){function B(mt){mt>>=2;var lt=At;return new et($,lt[mt+1],lt[mt])}var et=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][C];U=we(U),Li(I,{name:U,fromWireType:B,argPackAdvance:8,readValueFromPointer:B},{ta:!0})},o:function(I,C){C=we(C);var U=C==="std::string";Li(I,{name:C,fromWireType:function(B){var et=At[B>>2],mt=B+4;if(U)for(var lt=mt,Rt=0;Rt<=et;++Rt){var _t=mt+Rt;if(Rt==et||W[_t]==0){if(lt=lt?L(W,lt,_t-lt):"",It===void 0)var It=lt;else It+=String.fromCharCode(0),It+=lt;lt=_t+1}}else{for(It=Array(et),Rt=0;Rt<et;++Rt)It[Rt]=String.fromCharCode(W[mt+Rt]);It=It.join("")}return Ss(B),It},toWireType:function(B,et){et instanceof ArrayBuffer&&(et=new Uint8Array(et));var mt,lt=typeof et=="string";if(lt||et instanceof Uint8Array||et instanceof Uint8ClampedArray||et instanceof Int8Array||Bt("Cannot pass non-string to std::string"),U&&lt){var Rt=0;for(mt=0;mt<et.length;++mt){var _t=et.charCodeAt(mt);127>=_t?Rt++:2047>=_t?Rt+=2:55296<=_t&&57343>=_t?(Rt+=4,++mt):Rt+=3}mt=Rt}else mt=et.length;if(Rt=Gf(4+mt+1),_t=Rt+4,At[Rt>>2]=mt,U&&lt){if(lt=_t,_t=mt+1,mt=W,0<_t){_t=lt+_t-1;for(var It=0;It<et.length;++It){var Nt=et.charCodeAt(It);if(55296<=Nt&&57343>=Nt){var Yt=et.charCodeAt(++It);Nt=65536+((Nt&1023)<<10)|Yt&1023}if(127>=Nt){if(lt>=_t)break;mt[lt++]=Nt}else{if(2047>=Nt){if(lt+1>=_t)break;mt[lt++]=192|Nt>>6}else{if(65535>=Nt){if(lt+2>=_t)break;mt[lt++]=224|Nt>>12}else{if(lt+3>=_t)break;mt[lt++]=240|Nt>>18,mt[lt++]=128|Nt>>12&63}mt[lt++]=128|Nt>>6&63}mt[lt++]=128|Nt&63}}mt[lt]=0}}else if(lt)for(lt=0;lt<mt;++lt)It=et.charCodeAt(lt),255<It&&(Ss(_t),Bt("String has UTF-16 code units that do not fit in 8 bits")),W[_t+lt]=It;else for(lt=0;lt<mt;++lt)W[_t+lt]=et[lt];return B!==null&&B.push(Ss,Rt),Rt},argPackAdvance:8,readValueFromPointer:dr,U:function(B){Ss(B)}})},j:function(I,C,U){if(U=we(U),C===2)var B=EA,et=TA,mt=kA,lt=()=>nt,Rt=1;else C===4&&(B=wA,et=SA,mt=RA,lt=()=>At,Rt=2);Li(I,{name:U,fromWireType:function(_t){for(var It=At[_t>>2],Nt=lt(),Yt,Jt=_t+4,Ct=0;Ct<=It;++Ct){var Ae=_t+4+Ct*C;(Ct==It||Nt[Ae>>Rt]==0)&&(Jt=B(Jt,Ae-Jt),Yt===void 0?Yt=Jt:(Yt+=String.fromCharCode(0),Yt+=Jt),Jt=Ae+C)}return Ss(_t),Yt},toWireType:function(_t,It){typeof It!="string"&&Bt("Cannot pass non-string to C++ string type "+U);var Nt=mt(It),Yt=Gf(4+Nt+C);return At[Yt>>2]=Nt>>Rt,et(It,Yt+4,Nt+C),_t!==null&&_t.push(Ss,Yt),Yt},argPackAdvance:8,readValueFromPointer:dr,U:function(_t){Ss(_t)}})},l:function(I,C,U,B,et,mt){si[I]={name:we(C),ea:kr(U,B),V:kr(et,mt),ha:[]}},i:function(I,C,U,B,et,mt,lt,Rt,_t,It){si[I].ha.push({na:we(C),sa:U,qa:kr(B,et),ra:mt,ya:lt,xa:kr(Rt,_t),za:It})},D:function(I,C){C=we(C),Li(I,{ua:!0,name:C,argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},t:function(I,C,U,B,et){I=Go[I],C=Ze(C),U=Nf(U);var mt=[];return At[B>>2]=ri(mt),I(C,U,mt,et)},u:function(I,C,U,B){I=Go[I],C=Ze(C),U=Nf(U),I(C,U,null,B)},h:nh,m:function(I,C){var U=IA(I,C),B=U[0];C=B.name+"_$"+U.slice(1).map(function(lt){return lt.name}).join("_")+"$";var et=Uf[C];if(et!==void 0)return et;var mt=Array(I-1);return et=_A((lt,Rt,_t,It)=>{for(var Nt=0,Yt=0;Yt<I-1;++Yt)mt[Yt]=U[Yt+1].readValueFromPointer(It+Nt),Nt+=U[Yt+1].argPackAdvance;for(lt=lt[Rt].apply(lt,mt),Yt=0;Yt<I-1;++Yt)U[Yt+1].la&&U[Yt+1].la(mt[Yt]);if(!B.ua)return B.toWireType(_t,lt)}),Uf[C]=et},r:function(I){4<I&&(Wt[I].fa+=1)},s:function(I){var C=Ze(I);Ri(C),nh(I)},f:function(){Pt("")},y:function(I,C,U){W.copyWithin(I,C,C+U)},x:function(I){var C=W.length;if(I>>>=0,2147483648<I)return!1;for(var U=1;4>=U;U*=2){var B=C*(1+.2/U);B=Math.min(B,I+100663296);var et=Math;B=Math.max(I,B),et=et.min.call(et,2147483648,B+(65536-B%65536)%65536);t:{try{F.grow(et-$.byteLength+65535>>>16),Kt(F.buffer);var mt=1;break t}catch{}mt=void 0}if(mt)return!0}return!1},A:function(){return 52},v:function(){return 70},z:function(I,C,U,B){for(var et=0,mt=0;mt<U;mt++){var lt=At[C>>2],Rt=At[C+4>>2];C+=8;for(var _t=0;_t<Rt;_t++){var It=W[lt+_t],Nt=CA[I];It===0||It===10?((I===1?g:v)(L(Nt,0)),Nt.length=0):Nt.push(It)}et+=Rt}return At[B>>2]=et,0},a:F},In=function(){function I(U){o.asm=U.exports,rt=o.asm.I,M.unshift(o.asm.E),gt--,o.monitorRunDependencies&&o.monitorRunDependencies(gt),gt==0&&Tt&&(U=Tt,Tt=null,U())}var C={a:xA};if(gt++,o.monitorRunDependencies&&o.monitorRunDependencies(gt),o.instantiateWasm)try{return o.instantiateWasm(C,I)}catch(U){v("Module.instantiateWasm callback failed with error: "+U),d(U)}return C=oe(C),I(C[0]),o.asm}();o.___wasm_call_ctors=In.E;var PA=o.___getTypeName=In.F;o.__embind_initialize_bindings=In.G;var Gf=o._malloc=In.H,Ss=o._free=In.J;o.dynCall_jiji=In.K;var Ho;Tt=function I(){Ho||Vf(),Ho||(Tt=I)};function Vf(){function I(){if(!Ho&&(Ho=!0,o.calledRun=!0,!G)){if(he(M),c(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),o.postRun)for(typeof o.postRun=="function"&&(o.postRun=[o.postRun]);o.postRun.length;){var C=o.postRun.shift();N.unshift(C)}he(N)}}if(!(0<gt)){if(o.preRun)for(typeof o.preRun=="function"&&(o.preRun=[o.preRun]);o.preRun.length;)q();he(St),0<gt||(o.setStatus?(o.setStatus("Running..."),setTimeout(function(){setTimeout(function(){o.setStatus("")},1),I()},1)):I())}}if(o.preInit)for(typeof o.preInit=="function"&&(o.preInit=[o.preInit]);0<o.preInit.length;)o.preInit.pop()();return Vf(),s}})();n.exports=e})(Id);var Gg=Id.exports;(function(n){Object.defineProperty(n,"__esModule",{value:!0});var t={};n.default=void 0;var e=s(Rl),i=ee;Object.keys(i).forEach(function(d){d==="default"||d==="__esModule"||Object.prototype.hasOwnProperty.call(t,d)||d in n&&n[d]===i[d]||Object.defineProperty(n,d,{enumerable:!0,get:function(){return i[d]}})});function s(d){return d&&d.__esModule?d:{default:d}}const o=Gg;var c=(0,e.default)(o());n.default=c})(Ee);const Cd=Fg(Ee),Zr=1.8;function Vg(n,t){return typeof n=="number"?{top:n*t,right:n*t,bottom:n*t,left:n*t}:{top:typeof n.top=="number"?n.top*t:n.top,right:typeof n.right=="number"?n.right*t:n.right,bottom:typeof n.bottom=="number"?n.bottom*t:n.bottom,left:typeof n.left=="number"?n.left*t:n.left}}function Dd(n,t){return typeof n=="number"?{top:n*t,right:n*t,bottom:n*t,left:n*t}:{top:(typeof n.top=="number"?n.top*t:n.top)??0,right:(typeof n.right=="number"?n.right*t:n.right)??0,bottom:(typeof n.bottom=="number"?n.bottom*t:n.bottom)??0,left:(typeof n.left=="number"?n.left*t:n.left)??0}}function Hg(n,t=1){return typeof n=="number"?{topLeft:n*t,topRight:n*t,bottomRight:n*t,bottomLeft:n*t}:{topLeft:((n==null?void 0:n.topLeft)??0)*t,topRight:((n==null?void 0:n.topRight)??0)*t,bottomRight:((n==null?void 0:n.bottomRight)??0)*t,bottomLeft:((n==null?void 0:n.bottomLeft)??0)*t}}function xd(n,{layout:t,scale:e=1}){const{position:i="static",inset:s,width:o,height:c,minWidth:d,minHeight:f,flex:p,gap:g,margin:v,padding:A,direction:E="column",align:T="start",justify:k="start"}=t,_={static:Ee.PositionType.Static,relative:Ee.PositionType.Relative,absolute:Ee.PositionType.Absolute};if(n.setPositionType(_[i]),s){const{top:L,right:$,bottom:V,left:W}=Vg(s,e);L&&n.setPosition(Ee.Edge.Top,L),$&&n.setPosition(Ee.Edge.Right,$),V&&n.setPosition(Ee.Edge.Bottom,V),W&&n.setPosition(Ee.Edge.Left,W)}const x={row:Ee.FlexDirection.Row,column:Ee.FlexDirection.Column,"row-reverse":Ee.FlexDirection.RowReverse,"column-reverse":Ee.FlexDirection.ColumnReverse};n.setFlexDirection(x[E]);const F={start:Ee.Align.FlexStart,end:Ee.Align.FlexEnd,center:Ee.Align.Center,stretch:Ee.Align.Stretch};n.setAlignItems(F[T]);const G={start:Ee.Justify.FlexStart,end:Ee.Justify.FlexEnd,center:Ee.Justify.Center,"space-between":Ee.Justify.SpaceBetween,"space-around":Ee.Justify.SpaceAround,"space-evenly":Ee.Justify.SpaceEvenly};if(n.setJustifyContent(G[k]),v){const{top:L,right:$,bottom:V,left:W}=Dd(v,e);n.setMargin(Ee.Edge.Top,L),n.setMargin(Ee.Edge.Right,$),n.setMargin(Ee.Edge.Bottom,V),n.setMargin(Ee.Edge.Left,W)}if(A){const{top:L,right:$,bottom:V,left:W}=Dd(A,e);n.setPadding(Ee.Edge.Top,L),n.setPadding(Ee.Edge.Right,$),n.setPadding(Ee.Edge.Bottom,V),n.setPadding(Ee.Edge.Left,W)}p&&n.setFlex(p),n.setGap(Ee.Gutter.All,(g??0)*e),o&&n.setWidth(typeof o=="number"?o*e:o),c&&(typeof c=="function"?n.setHeight(0):n.setHeight(typeof c=="number"?c*e:c)),d&&n.setMinWidth(typeof d=="number"?d*e:d),f&&n.setMinWidth(typeof f=="number"?f*e:f)}function Pd({canvas:n,offscreenCanvas:t,debug:e=!1,scale:i=1,position:s=[]}){s.forEach(({x:o,y:c,width:d,height:f,childNodes:p,element:g})=>{const v=n.getContext("2d",{alpha:!1});if(v){const{radius:A,draw:E}=g;if(E){if(v.save(),A){const{topLeft:T,topRight:k,bottomRight:_,bottomLeft:x}=Hg(A,i);v.beginPath(),v.moveTo(o+Math.min(f/Zr,T),c),v.lineTo(o+d-Math.min(f/Zr,k),c),v.quadraticCurveTo(o+d,c,o+d,c+Math.min(f/Zr,k)),v.lineTo(o+d,c+f-Math.min(f/Zr,_)),v.quadraticCurveTo(o+d,c+f,o+d-Math.min(f/Zr,_),c+f),v.lineTo(o+Math.min(f/Zr,x),c+f),v.quadraticCurveTo(o,c+f,o,c+f-Math.min(f/Zr,x)),v.lineTo(o,c+Math.min(f/Zr,T)),v.quadraticCurveTo(o,c,o+Math.min(f/Zr,T),c),v.closePath(),e&&(v.strokeStyle="blue",v.stroke()),v.clip()}E({scale:i,canvas:n,context:v,offscreenCanvas:t,dx:o,dy:c,dw:d,dh:f}),e&&(v.strokeStyle="red",v.strokeRect(o,c,d,f)),v.restore()}}Pd({canvas:n,offscreenCanvas:t,debug:e,scale:i,position:p})})}function Od(n,t,e){const i=t.map((s,o)=>{const c=Cd.Node.create(),{radius:d,elements:f=[],draw:p,...g}=s;return xd(c,{layout:g,scale:e}),n.insertChild(c,o),{node:c,element:s,childNodes:Od(c,f,e)}});return n.calculateLayout(),i}function Md(n,t,e=0,i=0){const{top:s,left:o}=n.getComputedLayout();return t.map(({node:c,element:d,childNodes:f})=>{const{top:p,left:g,width:v,height:A}=c.getComputedLayout(),E=e+g,T=i+p;return{x:o+E,y:s+T,width:v,height:A,element:d,childNodes:Md(n,f,E,T)}})}function $d(n,t){n.forEach(({node:e,element:i,childNodes:s})=>{const{height:o}=i;if(o&&typeof o=="function"){const c=e.getComputedWidth(),d=o(c,t);e.setHeight(typeof d=="number"?d*t:d)}$d(s,t)})}function Wg({canvas:n,origin:t,elements:e,...i}){const s={inset:{top:0,left:0},width:n.width,height:n.height,...t},o=Cd.Node.create();xd(o,{layout:s}),o.calculateLayout();const{width:c,height:d}=o.getComputedLayout(),f=Math.min(c,d)/1080,p=Od(o,e,f);$d(p,f),o.calculateLayout();const g=Md(o,p);return Pd({...i,scale:f,canvas:n,position:g})}function ao({context:n,node:t,maxW:e=1/0}){const i=(t.value??"").split(" ");return i.slice(1).reduce((s,o)=>{const c=`${s[s.length-1].text} ${o}`.trim(),d=n.measureText(c);return d.width>e?s=[...s,{text:o,metrics:n.measureText(o)}]:s[s.length-1]={text:c,metrics:d},s},[{text:i[0],metrics:n.measureText(i[0])}])}function Fd(n){const{visible:t=!0,node:e}=n,i=[...(e==null?void 0:e.elements)??[],...(n==null?void 0:n.elements)??[]];return t?e&&e.type!=="box"&&e.type!=="gradient"?!!e.value:i==null?void 0:i.some(s=>Fd(s)):!1}function Nd({canvas:n,debug:t=!1,elements:e=[],currentTime:i,relativeTime:s}){return e.map(o=>{var c,d,f,p,g,v,A,E;const{node:T}=o,k=n.getContext("2d");if(k&&Fd(o)){let _=o.width,x=o.height;if((T==null?void 0:T.type)==="text"&&T.value){k.save();const F=/(?<value>\d+\.?\d*)(?=px)/,G=parseFloat(((d=(c=T.font.match(F))==null?void 0:c.groups)==null?void 0:d.value)??"0");T.wrap?x=(L,$)=>{var V,W;const ot=parseFloat(((W=(V=T.font.match(F))==null?void 0:V.groups)==null?void 0:W.value)??"0")*$;return k.font=T.font.replace(F,ot.toString()),ao({context:k,node:T,maxW:L}).length*G}:(k.font=T.font,_=k.measureText(T.value).width,x=G),k.restore()}if((T==null?void 0:T.type)==="image"&&T.image&&T.size){const F=((f=T.image)==null?void 0:f.naturalWidth)??((p=T.image)==null?void 0:p.width),G=((g=T.image)==null?void 0:g.naturalHeight)??((v=T.image)==null?void 0:v.height),L=F/G,$=(A=T.size)==null?void 0:A.width,V=(E=T.size)==null?void 0:E.height;_=$??(L>=1?V:(V??0)*L),x=V??(L<1?$:($??0)*L)}return{...o,width:_,height:x,elements:Nd({canvas:n,debug:t,elements:o.elements,currentTime:i,relativeTime:s}),draw:({canvas:F,offscreenCanvas:G,context:L,dx:$,dy:V,dw:W,dh:ot,scale:nt})=>{var Q,At,vt,$t,Kt,H,rt,St,M,N,q;if(T){const{type:gt,from:Tt=0,to:Pt=1/0}=T;if(s>=Tt&&s<=Pt){if(L.save(),s&&Pt-.3333333333333333<=s&&(L.globalAlpha=1-(.16666666666666666-(Pt-s))/.16666666666666666),gt==="box"&&(L.fillStyle=T.background,L.fillRect($,V,W,ot)),gt==="text"&&T.value){const Ut=/(?<value>\d+\.?\d*)(?=px)/;let Ot=0;const ae=parseFloat(((At=(Q=T.font.match(Ut))==null?void 0:Q.groups)==null?void 0:At.value)??"0")*nt;if(T.fill){const{minSize:oe,maxSize:he}=T.fill;Ot=oe*nt,L.font=T.font.replace(Ut,Ot.toString());const ke=10*nt;let pe=0,Wt=ao({context:L,node:T,maxW:W});for(;Ot+ke<he*nt&&(Wt.length+1)*(Ot+ke)<ot;)if(Ot+=ke,L.font=T.font.replace(Ut,Ot.toString()),Wt=ao({context:L,node:T,maxW:W}),pe=Wt.reduce((de,ie)=>(ie.metrics.width>de&&(de=ie.metrics.width),de),0),pe>W){Ot-=ke;break}}else Ot=ae;L.font=T.font.replace(Ut,Ot.toString()),L.textBaseline="top",L.fillStyle=T.color,T.wrap?ao({context:L,node:T,maxW:W}).forEach((oe,he)=>{L.fillText(oe.text,$,V+Ot*he)}):L.fillText(T.value,$,V)}if(gt==="image"&&T.image&&L.drawImage(T.image,$,V,W,ot),gt==="video"&&((vt=T.video)!=null&&vt.node||($t=T.video)!=null&&$t.getSource)){const Ut=T.format??"letterbox",Ot=((H=(Kt=T.video)==null?void 0:Kt.getSource)==null?void 0:H.call(Kt,s))??T.video.node,ae=(Ot==null?void 0:Ot.videoWidth)??(Ot==null?void 0:Ot.naturalWidth)??(Ot==null?void 0:Ot.width),oe=(Ot==null?void 0:Ot.videoHeight)??(Ot==null?void 0:Ot.naturalHeight)??(Ot==null?void 0:Ot.height);if(ae&&oe){const{resolution:ke,aspectRatio:pe}=fn({resolution:Math.min(ae,oe),aspectRatio:ae/oe}),{dx:Wt,dy:de,dw:ie,dh:Ie}=Rd({offscreenCanvas:G,context:L,source:Ot,format:Ut,videoResolution:ke,videoAspectRatio:pe,posX:$,posY:V,width:W,height:ot});T.elements&&Cl({debug:t,canvas:F,offscreenCanvas:G,currentTime:i,relativeTime:s,origin:{inset:{top:Math.max(V,V+de),left:Math.max($,$+Wt)},width:Math.min(W,ie),height:Math.min(ot,Ie)},elements:T.elements})}const he=1/3;if(T.poster&&i>=0&&i<=he){L.save(),L.globalAlpha=1-i/he;const ke=((rt=T.poster)==null?void 0:rt.naturalWidth)??((St=T.poster)==null?void 0:St.width),pe=((M=T.poster)==null?void 0:M.naturalHeight)??((N=T.poster)==null?void 0:N.height);if(ke&&pe){const{resolution:Wt,aspectRatio:de}=fn({resolution:Math.min(ke,pe),aspectRatio:ke/pe}),{dx:ie,dy:Ie,dw:Bt,dh:Ze}=Rd({offscreenCanvas:G,context:L,source:T.poster,format:Ut,videoResolution:Wt,videoAspectRatio:de,posX:$,posY:V,width:W,height:ot});T.elements&&Cl({debug:t,canvas:F,offscreenCanvas:G,currentTime:i,relativeTime:s,origin:{inset:{top:Math.max(V,V+Ie),left:Math.max($,$+ie)},width:Math.min(W,Bt),height:Math.min(ot,Ze)},elements:T.elements})}L.restore()}}if(gt==="gradient"&&T.value){const Ut=L.createLinearGradient($+W,V,$+W,V+ot);(q=T.value)==null||q.forEach(Ot=>{Ut.addColorStop(Ot.percent,Ot.color)}),L.fillStyle=Ut,L.fillRect($,V,W,ot)}L.restore()}}}}}}).filter(Boolean)}function Cl({canvas:n,debug:t,elements:e,currentTime:i,relativeTime:s,...o}){return Wg({...o,debug:t,canvas:n,elements:Nd({canvas:n,debug:t,elements:e,currentTime:i,relativeTime:s})})}const jg={id:"default",name:"None",template:{id:"basic",name:"Basic",layouts:[{name:"basic",tree:`[
93
93
  {
94
- "w": "100%",
95
- "h": "100%",
94
+ "width": "100%",
95
+ "height": "100%",
96
96
  "node": {
97
97
  "type": "video",
98
98
  "format": {{@ parse(it.videoFormat) /}},