624 lines
115 KiB
JavaScript
624 lines
115 KiB
JavaScript
|
"use strict";
|
|||
|
var main;(function(){
|
|||
|
var $rt_seed=2463534242;function $rt_nextId(){var x=$rt_seed;x^=x<<13;x^=x>>17;x^=x<<5;$rt_seed=x;return x;}function $rt_compare(a,b){return a>b?1:a<b? -1:a===b?0:1;}function $rt_isInstance(obj,cls){return obj!==null&&!!obj.constructor.$meta&&$rt_isAssignable(obj.constructor,cls);}function $rt_isAssignable(from,to){if(from===to){return true;}if(to.$meta.item!==null){return from.$meta.item!==null&&$rt_isAssignable(from.$meta.item,to.$meta.item);}var supertypes=from.$meta.supertypes;for(var i=0;i<supertypes.length;i
|
|||
|
=i+1|0){if($rt_isAssignable(supertypes[i],to)){return true;}}return false;}function $rt_createArray(cls,sz){var data=new Array(sz);var arr=new $rt_array(cls,data);if(sz>0){var i=0;do {data[i]=null;i=i+1|0;}while(i<sz);}return arr;}function $rt_wrapArray(cls,data){return new $rt_array(cls,data);}function $rt_createUnfilledArray(cls,sz){return new $rt_array(cls,new Array(sz));}function $rt_createLongArray(sz){var data=new Array(sz);var arr=new $rt_array($rt_longcls(),data);for(var i=0;i<sz;i=i+1|0){data[i]=Long_ZERO;}return arr;}function $rt_createNumericArray(cls,
|
|||
|
nativeArray){return new $rt_array(cls,nativeArray);}function $rt_createCharArray(sz){return $rt_createNumericArray($rt_charcls(),new Uint16Array(sz));}function $rt_createByteArray(sz){return $rt_createNumericArray($rt_bytecls(),new Int8Array(sz));}function $rt_createShortArray(sz){return $rt_createNumericArray($rt_shortcls(),new Int16Array(sz));}function $rt_createIntArray(sz){return $rt_createNumericArray($rt_intcls(),new Int32Array(sz));}function $rt_createBooleanArray(sz){return $rt_createNumericArray($rt_booleancls(),
|
|||
|
new Int8Array(sz));}function $rt_createFloatArray(sz){return $rt_createNumericArray($rt_floatcls(),new Float32Array(sz));}function $rt_createDoubleArray(sz){return $rt_createNumericArray($rt_doublecls(),new Float64Array(sz));}function $rt_arraycls(cls){var result=cls.$array;if(result===null){var arraycls={};var name="["+cls.$meta.binaryName;arraycls.$meta={item:cls,supertypes:[$rt_objcls()],primitive:false,superclass:$rt_objcls(),name:name,binaryName:name,enum:false};arraycls.classObject=null;arraycls.$array
|
|||
|
=null;result=arraycls;cls.$array=arraycls;}return result;}function $rt_createcls(){return {$array:null,classObject:null,$meta:{supertypes:[],superclass:null}};}function $rt_createPrimitiveCls(name,binaryName){var cls=$rt_createcls();cls.$meta.primitive=true;cls.$meta.name=name;cls.$meta.binaryName=binaryName;cls.$meta.enum=false;cls.$meta.item=null;return cls;}var $rt_booleanclsCache=null;function $rt_booleancls(){if($rt_booleanclsCache===null){$rt_booleanclsCache=$rt_createPrimitiveCls("boolean","Z");}return $rt_booleanclsCache;}var $rt_charclsCache
|
|||
|
=null;function $rt_charcls(){if($rt_charclsCache===null){$rt_charclsCache=$rt_createPrimitiveCls("char","C");}return $rt_charclsCache;}var $rt_byteclsCache=null;function $rt_bytecls(){if($rt_byteclsCache===null){$rt_byteclsCache=$rt_createPrimitiveCls("byte","B");}return $rt_byteclsCache;}var $rt_shortclsCache=null;function $rt_shortcls(){if($rt_shortclsCache===null){$rt_shortclsCache=$rt_createPrimitiveCls("short","S");}return $rt_shortclsCache;}var $rt_intclsCache=null;function $rt_intcls(){if($rt_intclsCache
|
|||
|
===null){$rt_intclsCache=$rt_createPrimitiveCls("int","I");}return $rt_intclsCache;}var $rt_longclsCache=null;function $rt_longcls(){if($rt_longclsCache===null){$rt_longclsCache=$rt_createPrimitiveCls("long","J");}return $rt_longclsCache;}var $rt_floatclsCache=null;function $rt_floatcls(){if($rt_floatclsCache===null){$rt_floatclsCache=$rt_createPrimitiveCls("float","F");}return $rt_floatclsCache;}var $rt_doubleclsCache=null;function $rt_doublecls(){if($rt_doubleclsCache===null){$rt_doubleclsCache=$rt_createPrimitiveCls("double",
|
|||
|
"D");}return $rt_doubleclsCache;}var $rt_voidclsCache=null;function $rt_voidcls(){if($rt_voidclsCache===null){$rt_voidclsCache=$rt_createPrimitiveCls("void","V");}return $rt_voidclsCache;}function $rt_throw(ex){throw $rt_exception(ex);}function $rt_exception(ex){var err=ex.$jsException;if(!err){err=new Error("Java exception thrown");if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(err);}err.$javaException=ex;ex.$jsException=err;$rt_fillStack(err,ex);}return err;}function $rt_fillStack(err,
|
|||
|
ex){if(typeof $rt_decodeStack==="function"&&err.stack){var stack=$rt_decodeStack(err.stack);var javaStack=$rt_createArray($rt_objcls(),stack.length);var elem;var noStack=false;for(var i=0;i<stack.length;++i){var element=stack[i];elem=$rt_createStackElement($rt_str(element.className),$rt_str(element.methodName),$rt_str(element.fileName),element.lineNumber);if(elem==null){noStack=true;break;}javaStack.data[i]=elem;}if(!noStack){$rt_setStack(ex,javaStack);}}}function $rt_createMultiArray(cls,dimensions){var first
|
|||
|
=0;for(var i=dimensions.length -1;i>=0;i=i -1|0){if(dimensions[i]===0){first=i;break;}}if(first>0){for(i=0;i<first;i=i+1|0){cls=$rt_arraycls(cls);}if(first===dimensions.length -1){return $rt_createArray(cls,dimensions[first]);}}var arrays=new Array($rt_primitiveArrayCount(dimensions,first));var firstDim=dimensions[first]|0;for(i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createArray(cls,firstDim);}return $rt_createMultiArrayImpl(cls,arrays,dimensions,first);}function $rt_createByteMultiArray(dimensions){var arrays
|
|||
|
=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_bytecls(),dimensions);}var firstDim=dimensions[0]|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createByteArray(firstDim);}return $rt_createMultiArrayImpl($rt_bytecls(),arrays,dimensions);}function $rt_createCharMultiArray(dimensions){var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_charcls(),dimensions);}var firstDim=dimensions[0]|0;for
|
|||
|
(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createCharArray(firstDim);}return $rt_createMultiArrayImpl($rt_charcls(),arrays,dimensions,0);}function $rt_createBooleanMultiArray(dimensions){var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_booleancls(),dimensions);}var firstDim=dimensions[0]|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createBooleanArray(firstDim);}return $rt_createMultiArrayImpl($rt_booleancls(),arrays,dimensions,0);}function $rt_createShortMultiArray(dimensions)
|
|||
|
{var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_shortcls(),dimensions);}var firstDim=dimensions[0]|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createShortArray(firstDim);}return $rt_createMultiArrayImpl($rt_shortcls(),arrays,dimensions,0);}function $rt_createIntMultiArray(dimensions){var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_intcls(),dimensions);}var firstDim=dimensions[0]
|
|||
|
|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createIntArray(firstDim);}return $rt_createMultiArrayImpl($rt_intcls(),arrays,dimensions,0);}function $rt_createLongMultiArray(dimensions){var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_longcls(),dimensions);}var firstDim=dimensions[0]|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createLongArray(firstDim);}return $rt_createMultiArrayImpl($rt_longcls(),arrays,dimensions,0);}function $rt_createFloatMultiArray(dimensions)
|
|||
|
{var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_floatcls(),dimensions);}var firstDim=dimensions[0]|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createFloatArray(firstDim);}return $rt_createMultiArrayImpl($rt_floatcls(),arrays,dimensions,0);}function $rt_createDoubleMultiArray(dimensions){var arrays=new Array($rt_primitiveArrayCount(dimensions,0));if(arrays.length===0){return $rt_createMultiArray($rt_doublecls(),dimensions);}var firstDim
|
|||
|
=dimensions[0]|0;for(var i=0;i<arrays.length;i=i+1|0){arrays[i]=$rt_createDoubleArray(firstDim);}return $rt_createMultiArrayImpl($rt_doublecls(),arrays,dimensions,0);}function $rt_primitiveArrayCount(dimensions,start){var val=dimensions[start+1]|0;for(var i=start+2;i<dimensions.length;i=i+1|0){val=val*(dimensions[i]|0)|0;if(val===0){break;}}return val;}function $rt_createMultiArrayImpl(cls,arrays,dimensions,start){var limit=arrays.length;for(var i=start+1|0;i<dimensions.length;i=i+1|0){cls=$rt_arraycls(cls);var dim
|
|||
|
=dimensions[i];var index=0;var packedIndex=0;while(index<limit){var arr=$rt_createUnfilledArray(cls,dim);for(var j=0;j<dim;j=j+1|0){arr.data[j]=arrays[index];index=index+1|0;}arrays[packedIndex]=arr;packedIndex=packedIndex+1|0;}limit=packedIndex;}return arrays[0];}function $rt_assertNotNaN(value){if(typeof value==='number'&&isNaN(value)){throw "NaN";}return value;}var $rt_stdoutBuffer="";var $rt_putStdout=typeof $rt_putStdoutCustom==="function"?$rt_putStdoutCustom:function(ch){if(ch===0xA){if(console){console.info($rt_stdoutBuffer);}$rt_stdoutBuffer
|
|||
|
="";}else {$rt_stdoutBuffer+=String.fromCharCode(ch);}};var $rt_stderrBuffer="";var $rt_putStderr=typeof $rt_putStderrCustom==="function"?$rt_putStderrCustom:function(ch){if(ch===0xA){if(console){console.error($rt_stderrBuffer);}$rt_stderrBuffer="";}else {$rt_stderrBuffer+=String.fromCharCode(ch);}};var $rt_packageData=null;function $rt_packages(data){var i=0;var packages=new Array(data.length);for(var j=0;j<data.length;++j){var prefixIndex=data[i++];var prefix=prefixIndex>=0?packages[prefixIndex]:"";packages[j]
|
|||
|
=prefix+data[i++]+".";}$rt_packageData=packages;}function $rt_metadata(data){var packages=$rt_packageData;var i=0;while(i<data.length){var cls=data[i++];cls.$meta={};var m=cls.$meta;var className=data[i++];m.name=className!==0?className:null;if(m.name!==null){var packageIndex=data[i++];if(packageIndex>=0){m.name=packages[packageIndex]+m.name;}}m.binaryName="L"+m.name+";";var superclass=data[i++];m.superclass=superclass!==0?superclass:null;m.supertypes=data[i++];if(m.superclass){m.supertypes.push(m.superclass);cls.prototype
|
|||
|
=Object.create(m.superclass.prototype);}else {cls.prototype={};}var flags=data[i++];m.enum=(flags&8)!==0;m.flags=flags;m.primitive=false;m.item=null;cls.prototype.constructor=cls;cls.classObject=null;m.accessLevel=data[i++];var clinit=data[i++];cls.$clinit=clinit!==0?clinit:function(){};var virtualMethods=data[i++];if(virtualMethods!==0){for(var j=0;j<virtualMethods.length;j+=2){var name=virtualMethods[j];var func=virtualMethods[j+1];if(typeof name==='string'){name=[name];}for(var k=0;k<name.length;++k){cls.prototype[name[k]]
|
|||
|
=func;}}}cls.$array=null;}}function $rt_threadStarter(f){return function(){var args=Array.prototype.slice.apply(arguments);$rt_startThread(function(){f.apply(this,args);});};}function $rt_mainStarter(f){return function(args,callback){if(!args){args=[];}var javaArgs=$rt_createArray($rt_objcls(),args.length);for(var i=0;i<args.length;++i){javaArgs.data[i]=$rt_str(args[i]);}$rt_startThread(function(){f.call(null,javaArgs);},callback);};}var $rt_stringPool_instance;function $rt_stringPool(strings){$rt_stringPool_instance
|
|||
|
=new Array(strings.length);for(var i=0;i<strings.length;++i){$rt_stringPool_instance[i]=$rt_intern($rt_str(strings[i]));}}function $rt_s(index){return $rt_stringPool_instance[index];}function $rt_eraseClinit(target){return target.$clinit=function(){};}var $rt_numberConversionView=new DataView(new ArrayBuffer(8));function $rt_doubleToLongBits(n){$rt_numberConversionView.setFloat64(0,n,true);return new Long($rt_numberConversionView.getInt32(0,true),$rt_numberConversionView.getInt32(4,true));}function $rt_longBitsToDouble(n)
|
|||
|
{$rt_numberConversionView.setInt32(0,n.lo,true);$rt_numberConversionView.setInt32(4,n.hi,true);return $rt_numberConversionView.getFloat64(0,true);}function $rt_floatToIntBits(n){$rt_numberConversionView.setFloat32(0,n);return $rt_numberConversionView.getInt32(0);}function $rt_intBitsToFloat(n){$rt_numberConversionView.setInt32(0,n);return $rt_numberConversionView.getFloat32(0);}function $rt_javaException(e){return e instanceof Error&&typeof e.$javaException==='object'?e.$javaException:null;}function $rt_jsException(e)
|
|||
|
{return typeof e.$jsException==='object'?e.$jsException:null;}function $rt_wrapException(err){var ex=err.$javaException;if(!ex){ex=$rt_createException($rt_str("(JavaScript) "+err.toString()));err.$javaException=ex;ex.$jsException=err;$rt_fillStack(err,ex);}return ex;}function $dbg_class(obj){var cls=obj.constructor;var arrayDegree=0;while(cls.$meta&&cls.$meta.item){++arrayDegree;cls=cls.$meta.item;}var clsName="";if(cls===$rt_booleancls()){clsName="boolean";}else if(cls===$rt_bytecls()){clsName="byte";}else if
|
|||
|
(cls===$rt_shortcls()){clsName="short";}else if(cls===$rt_charcls()){clsName="char";}else if(cls===$rt_intcls()){clsName="int";}else if(cls===$rt_longcls()){clsName="long";}else if(cls===$rt_floatcls()){clsName="float";}else if(cls===$rt_doublecls()){clsName="double";}else {clsName=cls.$meta?cls.$meta.name||"a/"+cls.name:"@"+cls.name;}while(arrayDegree-->0){clsName+="[]";}return clsName;}function Long(lo,hi){this.lo=lo|0;this.hi=hi|0;}Long.prototype.__teavm_class__=function(){return "long";};Long.prototype.toString
|
|||
|
=function(){var result=[];var n=this;var positive=Long_isPositive(n);if(!positive){n=Long_neg(n);}var radix=new Long(10,0);do {var divRem=Long_divRem(n,radix);result.push(String.fromCharCode(48+divRem[1].lo));n=divRem[0];}while(n.lo!==0||n.hi!==0);result=(result.reverse()).join('');return positive?result:"-"+result;};Long.prototype.valueOf=function(){return Long_toNumber(this);};var Long_ZERO=new Long(0,0);var Long_MAX_NORMAL=1<<18;function Long_fromInt(val){return val>=0?new Long(val,0):new Long(val, -1);}function Long_fromNumber(val)
|
|||
|
{if(val>=0){return new Long(val|0,val/0x100000000|0);}else {return Long_neg(new Long( -val|0, -val/0x100000000|0));}}function Long_toNumber(val){var lo=val.lo;var hi=val.hi;if(lo<0){lo+=0x100000000;}return 0x100000000*hi+lo;}var $rt_imul=Math.imul||function(a,b){var ah=a>>>16&0xFFFF;var al=a&0xFFFF;var bh=b>>>16&0xFFFF;var bl=b&0xFFFF;return al*bl+(ah*bl+al*bh<<16>>>0)|0;};var $rt_udiv=function(a,b){if(a<0){a+=0x100000000;}if(b<0){b+=0x100000000;}return a/b|0;};var $rt_umod=function(a,b){if(a<0){a+=0x100000000;}if
|
|||
|
(b<0){b+=0x100000000;}return a%b|0;};function $rt_setCloneMethod(target, f){target.dE=f;}
|
|||
|
function $rt_cls(cls){return Fi(cls);}
|
|||
|
function $rt_str(str) {if (str === null) {return null;}var characters = $rt_createCharArray(str.length);var charsBuffer = characters.data;for (var i = 0; i < str.length; i = (i + 1) | 0) {charsBuffer[i] = str.charCodeAt(i) & 0xFFFF;}return H5(characters);}
|
|||
|
function $rt_ustr(str) {if (str === null) {return null;}var data = str.t.data;var result = "";for (var i = 0; i < data.length; i = (i + 1) | 0) {result += String.fromCharCode(data[i]);}return result;}
|
|||
|
function $rt_objcls() { return C; }
|
|||
|
function $rt_nullCheck(val) {if (val === null) {$rt_throw(Ir());}return val;}
|
|||
|
function $rt_intern(str) {return str;}function $rt_getThread(){return null;}
|
|||
|
function $rt_setThread(t){}
|
|||
|
function $rt_createException(message){return Is(message);}
|
|||
|
function $rt_createStackElement(className,methodName,fileName,lineNumber){return null;}
|
|||
|
function $rt_setStack(e,stack){}
|
|||
|
var A=Object.create(null);
|
|||
|
var D=$rt_throw;var C6=$rt_compare;var It=$rt_nullCheck;var Bt=$rt_cls;var Bu=$rt_createArray;var H$=$rt_isInstance;var GH=$rt_nativeThread;var G7=$rt_suspending;var If=$rt_resuming;var H8=$rt_invalidPointer;var B=$rt_s;var S=$rt_eraseClinit;var Dm=$rt_imul;var U=$rt_wrapException;
|
|||
|
function C(){this.$id$=0;}
|
|||
|
function B1(a){return Fi(a.constructor);}
|
|||
|
function HF(a){var b,c,d,e,f,g,h,i;b=F(F(N(),D6(B1(a))),B(0));c=EB(a);if(!c)d=B(1);else{if(!c)e=32;else{f=0;e=c>>>16;if(e)f=16;else e=c;g=e>>>8;if(!g)g=e;else f=f|8;e=g>>>4;if(!e)e=g;else f=f|4;g=e>>>2;if(!g)g=e;else f=f|2;if(g>>>1)f=f|1;e=(32-f|0)-1|0;}g=(((32-e|0)+4|0)-1|0)/4|0;h=$rt_createCharArray(g);i=h.data;e=(g-1|0)*4|0;g=0;while(e>=0){f=g+1|0;i[g]=CL(c>>>e&15,16);e=e-4|0;g=f;}d=H5(h);}return M(F(b,d));}
|
|||
|
function EB(a){var b,c;b=a;if(!b.$id$){c=$rt_nextId();b.$id$=c;}return a.$id$;}
|
|||
|
function HT(a){var b,c,d;if(!H$(a,BT)&&a.constructor.$meta.item===null){b=new CV;H(b);D(b);}b=GX(a);c=b;d=$rt_nextId();c.$id$=d;return b;}
|
|||
|
function V(){C.call(this);}
|
|||
|
var Iu=null;var Iv=null;var Iw=null;var Ix=null;var Iy=null;var Iz=null;var IA=null;var IB=null;var IC=null;var ID=null;var IE=null;var IF=0;var IG=0;function Ft(b){var c,d,e,f,g,$p,$z;$p=0;if(If()){var $T=GH();$p=$T.l();g=$T.l();f=$T.l();e=$T.l();d=$T.l();c=$T.l();b=$T.l();}_:while(true){switch($p){case 0:FQ();Fj();EF();Eu();E$();En();Gp();Fk();Eo();E7();FI();EC();EA();Ey();FT();F2();ER();c=window.classicConfig;if(c===null)d=null;else{d=Bu(Br,c.length);b=d.data;e=0;f=b.length;while(e<f){b[e]=$rt_str(c[e]);e
|
|||
|
=e+1|0;}}b=d.data;c=window.document;g=b[0];c=c.getElementById($rt_ustr(g));Iw=c;g=b[1];$p=1;case 1:EQ(c,g);if(G7()){break _;}return;default:H8();}}GH().s(b,c,d,e,f,g,$p);}
|
|||
|
function EQ(b,c){var d,e,f,$$je,$p,$z;$p=0;if(If()){var $T=GH();$p=$T.l();f=$T.l();e=$T.l();d=$T.l();c=$T.l();b=$T.l();}_:while(true){switch($p){case 0:Iy=b;d=$rt_str(Iy.getAttribute("style"));e=Iy;f=N();if(d===null)d=B(2);f=M(F(F(f,d),B(3)));e.setAttribute("style",$rt_ustr(f));Iu=window;Iz=Iu.document;Iv=Iz.createElement("canvas");IF=b.clientWidth;IG=b.clientHeight;f=Iv;e=IF;f.width=e;f=Iv;e=IG;f.height=e;IA=Iv.getContext("2d");Iv.setAttribute("id","minecraftClassicBrowser");f=Iv;b.appendChild(f);IB=Iz.createElement("canvas");b
|
|||
|
=IB;f=IF;b.width=f;b=IB;f=IG;b.height=f;Ix=IB.getContext("webgl2");if(Ix===null){b=new P;G(b,B(4));D(b);}EJ(Ix);b=Ix;H_();IH=b;Ix.getExtension("EXT_texture_filter_anisotropic");$p=1;case 1:GA(c);if(G7()){break _;}a:{try{Gd(IE);break a;}catch($$e){$$je=U($$e);if($$je instanceof Q){f=$$je;}else{throw $$e;}}Fy(f);}return;default:H8();}}GH().s(b,c,d,e,f,$p);}
|
|||
|
function GA(b){var thread=$rt_nativeThread();var javaThread=$rt_getThread();if(thread.isResuming()){thread.status=0;var result=thread.attribute;if(result instanceof Error){throw result;}return result;}var callback=function(){};callback.d0=function(val){thread.attribute=val;$rt_setThread(javaThread);thread.resume();};callback.em=function(e){thread.attribute=$rt_exception(e);$rt_setThread(javaThread);thread.resume();};callback=Iq(callback);return thread.suspend(function(){try{GM(b,callback);}catch($e){callback.em($rt_exception($e));}});}
|
|||
|
function GM(b,c){var d,e;d=new XMLHttpRequest();e="arraybuffer";d.responseType=e;d.open("GET",$rt_ustr(b),!!1);b=new CY;b.c3=d;b.dg=c;b=GV(b,"stateChanged");d.onreadystatechange=b;d.send();}
|
|||
|
function FQ(){Iu=null;Iv=null;Iw=null;Ix=null;Iy=null;Iz=null;IA=null;IB=null;IC=null;ID=null;IE=null;IF=0;IG=0;}
|
|||
|
function EJ(b){window.currentContext=b;}
|
|||
|
function Db(){}
|
|||
|
function De(){var a=this;C.call(a);a.ct=null;a.bH=null;}
|
|||
|
function Fi(b){var c,d;if(b===null)return null;c=b.classObject;if(c===null){c=new De;c.bH=b;d=c;b.classObject=d;}return c;}
|
|||
|
function Ep(a,b){var c;b=b;c=a.bH;return b!==null&&!(typeof b.constructor.$meta==='undefined'?1:0)&&Fl(b.constructor,c)?1:0;}
|
|||
|
function D6(a){if(a.ct===null)a.ct=$rt_str(a.bH.$meta.name);return a.ct;}
|
|||
|
function BY(a){return a.bH.$meta.primitive?1:0;}
|
|||
|
function CZ(a){return Fi(a.bH.$meta.item);}
|
|||
|
function Gi(){C.call(this);}
|
|||
|
function GV(b,c){var name='jso$functor$'+c;if(!b[name]){var fn=function(){return b[c].apply(b,arguments);};b[name]=function(){return fn;};}return b[name]();}
|
|||
|
function Cw(b,c){if(typeof b!=="function")return b;var result={};result[c]=b;return result;}
|
|||
|
function F1(){C.call(this);}
|
|||
|
function GX(b){var copy=new b.constructor();for(var field in b){if(!b.hasOwnProperty(field)){continue;}copy[field]=b[field];}return copy;}
|
|||
|
function Fl(b,c){var d,e;if(b===c)return 1;d=b.$meta.supertypes;e=0;while(e<d.length){if(Fl(d[e],c))return 1;e=e+1|0;}return 0;}
|
|||
|
function BG(){}
|
|||
|
function Bk(){}
|
|||
|
function B3(){}
|
|||
|
function Br(){var a=this;C.call(a);a.t=null;a.b7=0;}
|
|||
|
var II=null;function H5(a){var b=new Br();E3(b,a);return b;}
|
|||
|
function HN(a,b,c){var d=new Br();GB(d,a,b,c);return d;}
|
|||
|
function E3(a,b){var c,d;b=b.data;c=b.length;a.t=$rt_createCharArray(c);d=0;while(d<c){a.t.data[d]=b[d];d=d+1|0;}}
|
|||
|
function GB(a,b,c,d){var e,f;a.t=$rt_createCharArray(d);e=0;while(e<d){f=b.data;a.t.data[e]=f[e+c|0];e=e+1|0;}}
|
|||
|
function By(a,b){var c;if(b>=0&&b<a.t.data.length)return a.t.data[b];c=new CD;H(c);D(c);}
|
|||
|
function R(a){return a.t.data.length;}
|
|||
|
function CF(a){return a.t.data.length?0:1;}
|
|||
|
function Bo(a,b){var c,d;if(a===b)return 1;if(!(b instanceof Br))return 0;c=b;if(R(c)!=R(a))return 0;d=0;while(d<R(c)){if(By(a,d)!=By(c,d))return 0;d=d+1|0;}return 1;}
|
|||
|
function Dt(a){var b,c,d,e;a:{if(!a.b7){b=a.t.data;c=b.length;d=0;while(true){if(d>=c)break a;e=b[d];a.b7=(31*a.b7|0)+e|0;d=d+1|0;}}}return a.b7;}
|
|||
|
function E0(a){var b,c,d,e,f,g,h,i,j,k;if(CF(a))return a;b=$rt_createIntArray(a.t.data.length).data;c=0;d=0;while(d<a.t.data.length){a:{if(d!=(a.t.data.length-1|0)&&Cs(a.t.data[d])){e=a.t.data;f=d+1|0;if(Co(e[f])){g=c+1|0;b[c]=Ef(Ds(a.t.data[d],a.t.data[f]));d=f;break a;}}g=c+1|0;b[c]=Ef(a.t.data[d])&65535;}d=d+1|0;c=g;}h=new Br;d=0;h.t=$rt_createCharArray(c*2|0);g=0;f=0;while(f<c){i=d+1|0;d=b[d];if(d<65536){e=h.t.data;j=g+1|0;e[g]=d&65535;}else{e=h.t.data;k=g+1|0;e[g]=Ee(d);e=h.t.data;j=k+1|0;e[k]=Do(d);}f
|
|||
|
=f+1|0;d=i;g=j;}if(g<h.t.data.length)h.t=Dr(h.t,g);return h;}
|
|||
|
function Fj(){II=new DA;}
|
|||
|
function BP(){var a=this;C.call(a);a.c1=null;a.bY=null;a.cf=0;a.co=0;a.dH=null;}
|
|||
|
function IJ(a){var b=new BP();G(b,a);return b;}
|
|||
|
function G(a,b){a.cf=1;a.co=1;a.c1=b;}
|
|||
|
function G3(a){return a;}
|
|||
|
function H1(a){return a.c1;}
|
|||
|
function Hc(a){return a.b8();}
|
|||
|
function Fy(a){var b;if(IK===null){b=new Df;b.c6=new Ea;b.Y=N();b.b1=$rt_createCharArray(32);b.ep=0;b.dD=Hv();IK=b;}D5(a,IK);}
|
|||
|
function D5(a,b){var c,d,e,f,g;B5(b,D6(B1(a)));c=a.b8();if(c!==null)B5(b,M(F(F(N(),B(5)),c)));a:{Gf(b);if(a.dH!==null){d=a.dH.data;e=d.length;f=0;while(true){if(f>=e)break a;g=d[f];B5(b,B(6));Ga(b,g);f=f+1|0;}}}if(a.bY!==null&&a.bY!==a){B5(b,B(7));D5(a.bY,b);}}
|
|||
|
function Bq(){BP.call(this);}
|
|||
|
function BS(){Bq.call(this);}
|
|||
|
function FF(){BS.call(this);}
|
|||
|
function Ct(){var a=this;C.call(a);a.j=null;a.z=0;}
|
|||
|
function Fd(a,b,c){return FV(a,a.z,b,c);}
|
|||
|
function FV(a,b,c,d){var e,f,g,h,i,j,k;e=1;if(c<0){e=0;c= -c;}a:{if(c<d){if(e)Bd(a,b,b+1|0);else{Bd(a,b,b+2|0);f=a.j.data;g=b+1|0;f[b]=45;b=g;}a.j.data[b]=CL(c,d);}else{h=1;i=1;j=2147483647/d|0;b:{while(true){k=Dm(h,d);if(k>c){k=h;break b;}i=i+1|0;if(k>j)break;h=k;}}if(!e)i=i+1|0;Bd(a,b,b+i|0);if(e)e=b;else{f=a.j.data;e=b+1|0;f[b]=45;}while(true){if(k<=0)break a;f=a.j.data;b=e+1|0;f[e]=CL(c/k|0,d);c=c%k|0;k=k/d|0;e=b;}}}return a;}
|
|||
|
function E8(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o;d=C6(c,0.0);if(!d){Bd(a,b,b+3|0);e=a.j.data;d=b+1|0;e[b]=48;e=a.j.data;b=d+1|0;e[d]=46;a.j.data[b]=48;return a;}if(!d){Bd(a,b,b+4|0);e=a.j.data;d=b+1|0;e[b]=45;e=a.j.data;b=d+1|0;e[d]=48;e=a.j.data;d=b+1|0;e[b]=46;a.j.data[d]=48;return a;}if(isNaN(c)?1:0){Bd(a,b,b+3|0);e=a.j.data;d=b+1|0;e[b]=78;e=a.j.data;b=d+1|0;e[d]=97;a.j.data[b]=78;return a;}if(!isFinite(c)?1:0){if(d>0){Bd(a,b,b+8|0);d=b;}else{Bd(a,b,b+9|0);e=a.j.data;d=b+1|0;e[b]=45;}e=a.j.data;b=d+1|0;e[d]
|
|||
|
=73;e=a.j.data;d=b+1|0;e[b]=110;e=a.j.data;b=d+1|0;e[d]=102;e=a.j.data;d=b+1|0;e[b]=105;e=a.j.data;b=d+1|0;e[d]=110;e=a.j.data;d=b+1|0;e[b]=105;e=a.j.data;b=d+1|0;e[d]=116;a.j.data[b]=121;return a;}f=IL;EW(c,f);d=f.cF;g=f.c7;h=f.du;i=1;j=1;if(h){h=1;j=2;}k=9;l=G5(d);if(l>0)k=k-l|0;if(g<7&&g>=(-3)){if(g>=0){i=g+1|0;k=BA(k,i+1|0);g=0;}else if(g<0){d=d/IM.data[ -g]|0;k=k-g|0;g=0;}}if(g){j=j+2|0;if(!(g>(-10)&&g<10))j=j+1|0;if(g<0)j=j+1|0;}if(g&&k==i)k=k+1|0;Bd(a,b,b+(j+k|0)|0);if(!h)h=b;else{e=a.j.data;h=b+1|0;e[b]
|
|||
|
=45;}m=100000000;n=0;while(n<k){if(m<=0)o=0;else{o=d/m|0;d=d%m|0;}e=a.j.data;b=h+1|0;e[h]=(48+o|0)&65535;i=i+(-1)|0;if(i)h=b;else{e=a.j.data;h=b+1|0;e[b]=46;}m=m/10|0;n=n+1|0;}if(g){e=a.j.data;b=h+1|0;e[h]=69;if(g>=0)d=b;else{g= -g;e=a.j.data;d=b+1|0;e[b]=45;}if(g<10)l=d;else{e=a.j.data;l=d+1|0;e[d]=(48+(g/10|0)|0)&65535;}a.j.data[l]=(48+(g%10|0)|0)&65535;}return a;}
|
|||
|
function G5(b){var c,d,e;if(!(b%1000000000|0))return 9;c=0;d=1;if(!(b%100000000|0)){c=8;d=100000000;}e=d*10000|0;if(b%e|0)e=d;else c=c|4;d=e*100|0;if(b%d|0)d=e;else c=c|2;if(!(b%(d*10|0)|0))c=c|1;return c;}
|
|||
|
function Bd(a,b,c){var d,e;d=a.z-b|0;D$(a,(a.z+c|0)-b|0);e=d-1|0;while(e>=0){a.j.data[c+e|0]=a.j.data[b+e|0];e=e+(-1)|0;}a.z=a.z+(c-b|0)|0;}
|
|||
|
function Cy(){}
|
|||
|
function EE(){Ct.call(this);}
|
|||
|
function N(){var a=new EE();HE(a);return a;}
|
|||
|
function HE(a){a.j=$rt_createCharArray(16);}
|
|||
|
function F(a,b){CM(a,a.z,b);return a;}
|
|||
|
function J(a,b){Fd(a,b,10);return a;}
|
|||
|
function Hn(a,b){C5(a,a.z,b);return a;}
|
|||
|
function EG(a,b){Dq(a,a.z,b);return a;}
|
|||
|
function ES(a,b){DY(a,a.z,b);return a;}
|
|||
|
function C5(a,b,c){E8(a,b,c);return a;}
|
|||
|
function DY(a,b,c){CM(a,b,c===null?B(8):c.dq());return a;}
|
|||
|
function Dq(a,b,c){Bd(a,b,b+1|0);a.j.data[b]=c;return a;}
|
|||
|
function CM(a,b,c){var d,e,f;if(b>=0&&b<=a.z){a:{if(c===null)c=B(8);else if(CF(c))break a;D$(a,a.z+R(c)|0);d=a.z-1|0;while(d>=b){a.j.data[d+R(c)|0]=a.j.data[d];d=d+(-1)|0;}a.z=a.z+R(c)|0;d=0;while(d<R(c)){e=a.j.data;f=b+1|0;e[b]=By(c,d);d=d+1|0;b=f;}}return a;}c=new CD;H(c);D(c);}
|
|||
|
function Gk(a,b){a.z=b;}
|
|||
|
function ED(a,b,c,d,e){var f,g,h,i,j;if(b>c){f=new O;G(f,B(9));D(f);}while(b<c){g=d.data;h=e+1|0;i=a.j.data;j=b+1|0;g[e]=i[b];e=h;b=j;}}
|
|||
|
function B2(a){return a.z;}
|
|||
|
function M(a){return HN(a.j,0,a.z);}
|
|||
|
function D$(a,b){if(a.j.data.length<b){b=a.j.data.length>=1073741823?2147483647:BA(b,BA(a.j.data.length*2|0,5));a.j=Dr(a.j,b);}}
|
|||
|
function G1(a,b,c){return DY(a,b,c);}
|
|||
|
function GI(a,b,c){return Dq(a,b,c);}
|
|||
|
function Ho(a,b,c){return C5(a,b,c);}
|
|||
|
function HX(a,b,c){return CM(a,b,c);}
|
|||
|
function BR(){C.call(this);}
|
|||
|
function C0(){BR.call(this);}
|
|||
|
var IN=null;function EF(){IN=Bt($rt_intcls());}
|
|||
|
function BI(){BS.call(this);}
|
|||
|
function IO(a){var b=new BI();Dp(b,a);return b;}
|
|||
|
function Dp(a,b){G(a,b);}
|
|||
|
function Fs(){BI.call(this);}
|
|||
|
function IP(a){var b=new Fs();HH(b,a);return b;}
|
|||
|
function HH(a,b){Dp(a,b);}
|
|||
|
function Fa(){BI.call(this);}
|
|||
|
function IQ(a){var b=new Fa();HQ(b,a);return b;}
|
|||
|
function HQ(a,b){Dp(a,b);}
|
|||
|
function Bc(){BP.call(this);}
|
|||
|
function IR(){var a=new Bc();H(a);return a;}
|
|||
|
function H(a){a.cf=1;a.co=1;}
|
|||
|
function P(){Bc.call(this);}
|
|||
|
function Is(a){var b=new P();Hx(b,a);return b;}
|
|||
|
function Hx(a,b){G(a,b);}
|
|||
|
function Be(){}
|
|||
|
function Bv(){}
|
|||
|
function Ed(){}
|
|||
|
function DO(){}
|
|||
|
function DG(){}
|
|||
|
function Dl(){}
|
|||
|
function DU(){}
|
|||
|
function DR(){}
|
|||
|
function DX(){}
|
|||
|
function Fc(){C.call(this);}
|
|||
|
function GF(a,b,c){a.fz($rt_str(b),Cw(c,"handleEvent"));}
|
|||
|
function GR(a,b,c){a.fc($rt_str(b),Cw(c,"handleEvent"));}
|
|||
|
function Hl(a,b){return a.gQ(b);}
|
|||
|
function Hs(a,b,c,d){a.fN($rt_str(b),Cw(c,"handleEvent"),d?1:0);}
|
|||
|
function Hu(a,b){return !!a.fK(b);}
|
|||
|
function HM(a){return a.gH();}
|
|||
|
function GU(a,b,c,d){a.g6($rt_str(b),Cw(c,"handleEvent"),d?1:0);}
|
|||
|
function Gy(){C.call(this);}
|
|||
|
function EO(){C.call(this);}
|
|||
|
function W(){C.call(this);}
|
|||
|
var IH=null;var IS=0;var IT=null;var IU=null;var IV=null;var IW=null;var IX=null;var IY=0;var IZ=0;var I0=null;function H_(){H_=S(W);HB();}
|
|||
|
function HB(){IH=null;IS=0;IT=$rt_createIntArray(4);IU=new Uint8Array(new ArrayBuffer(4194304));IV=new Float32Array(4);IW=new Float32Array(9);IX=new Float32Array(16);IY=(-1);IZ=0;I0=new Int32Array(new ArrayBuffer(2100000));}
|
|||
|
function CI(){W.call(this);}
|
|||
|
function Gg(){CI.call(this);}
|
|||
|
function D3(){C.call(this);}
|
|||
|
var I1=null;function Gd(b){var c,d,e,f,g,h,i,j,k,l,m,n;c=b.data;d=new CX;e=c.length;d.de=b;d.bU=0;d.ex=0;d.c2=0+e|0;f=Ia(d);c=$rt_createByteArray(8);Cq(f,c);g=new Br;Eb(B(10));h=Fn(I2,E0(B(10)));if(h===null){d=new DK;H(d);d.eD=B(10);D(d);}i=EL(h,FZ(c,0,c.data.length));if(F0(i)&&!i.p&&i.N==i.cc)g.t=F5(i);else{g.t=$rt_createCharArray(L(i));Gb(i,g.t);}if(!Bo(B(11),g)){d=new Q;G(d,B(12));D(d);}B9(f);i=new C7;f=new Di;j=new D7;j.K=GP();j.cs=0;k=Gw(j,15,0);if(k){d=new C_;G(d,M(F(F(J(N(),k),B(5)),j.o)));D(d);}Ei(f,
|
|||
|
d);f.cn=0;f.bK=0;f.di=1;f.dA=0;f.d9=$rt_createByteArray(1);f.d_=$rt_createByteArray(512);f.M=j;f.bG=$rt_createByteArray(512);f.di=1;f.dA=1;EV(i,f);j=new C$;j.V=$rt_createByteArray(4);j.bc=0;j.y=$rt_createIntArray(80);C3(j);while(true){f=B9(i);if(!Bo(B(13),f)){if(Em(i)<=0&&Bo(B(14),f))return;d=new Q;G(d,B(12));D(d);}g=B9(i);l=$rt_createByteArray(20);m=$rt_createByteArray(20);Cq(i,l);k=El(i);n=$rt_createByteArray(k);Cq(i,n);if(Fu(I1,g))continue;a:{Fq(j,n,0,k);Fw(j,m,0);if(l===m)k=1;else{if(l!==null&&m!==null)
|
|||
|
{b=l.data;c=m.data;k=b.length;if(k==c.length){e=0;while(e<k){if(b[e]!=c[e]){k=0;break a;}e=e+1|0;}k=1;break a;}}k=0;}}if(!k){d=new Q;G(d,M(F(F(N(),B(15)),g)));D(d);}Cr(I1,g,n);if(!Bo(B(16),B9(i)))break;}d=new Q;G(d,B(12));D(d);}
|
|||
|
function Eu(){I1=H0();}
|
|||
|
function Q(){Bc.call(this);}
|
|||
|
function DQ(){}
|
|||
|
function DA(){C.call(this);}
|
|||
|
function B6(){C.call(this);}
|
|||
|
var I3=null;var I4=null;function Cs(b){return (b&64512)!=55296?0:1;}
|
|||
|
function Co(b){return (b&64512)!=56320?0:1;}
|
|||
|
function DJ(b){return !Cs(b)&&!Co(b)?0:1;}
|
|||
|
function Ds(b,c){return ((b&1023)<<10|c&1023)+65536|0;}
|
|||
|
function Ee(b){return (55296|(b-65536|0)>>10&1023)&65535;}
|
|||
|
function Do(b){return (56320|b&1023)&65535;}
|
|||
|
function Ef(b){return (String.fromCharCode(b)).toUpperCase().charCodeAt(0);}
|
|||
|
function CL(b,c){if(c>=2&&c<=36&&b<c)return b<10?(48+b|0)&65535:((97+b|0)-10|0)&65535;return 0;}
|
|||
|
function E$(){I3=Bt($rt_charcls());I4=Bu(B6,128);}
|
|||
|
function DP(){}
|
|||
|
function DB(){C.call(this);this.c0=null;}
|
|||
|
function Iq(b){var c;c=new DB;c.c0=b;return c;}
|
|||
|
function Ge(a,b){a.c0.d0(b);}
|
|||
|
function HK(a,b){a.c0.em(b);}
|
|||
|
function E1(){C.call(this);}
|
|||
|
function D2(){}
|
|||
|
function CY(){var a=this;C.call(a);a.c3=null;a.dg=null;}
|
|||
|
function Gv(a){var b,c;if(a.c3.readyState==4){b=new Uint8Array(a.c3.response);IE=$rt_createByteArray(b.byteLength);c=0;while(c<IE.data.length){IE.data[c]=b[c]<<24>>24;c=c+1|0;}Ge(a.dg,B(17));}}
|
|||
|
function G2(a){Gv(a);}
|
|||
|
function D0(){}
|
|||
|
function Cn(){}
|
|||
|
function BN(){C.call(this);}
|
|||
|
function CX(){var a=this;BN.call(a);a.de=null;a.bU=0;a.ex=0;a.c2=0;}
|
|||
|
function HI(a,b,c,d){var e,f,g,h,i;e=Ba(d,a.c2-a.bU|0);f=0;while(f<e){g=b.data;d=c+1|0;h=a.de.data;i=a.bU;a.bU=i+1|0;g[c]=h[i];f=f+1|0;c=d;}if(e<=0)e=(-1);return e;}
|
|||
|
function GT(a){return a.c2-a.bU|0;}
|
|||
|
function BL(){BN.call(this);this.bj=null;}
|
|||
|
function I5(a){var b=new BL();Ei(b,a);return b;}
|
|||
|
function Ei(a,b){a.bj=b;}
|
|||
|
function Em(a){return a.bj.c5();}
|
|||
|
function DM(){}
|
|||
|
function C7(){BL.call(this);this.ba=null;}
|
|||
|
function Ia(a){var b=new C7();EV(b,a);return b;}
|
|||
|
function EV(a,b){Ei(a,b);a.ba=$rt_createByteArray(8);}
|
|||
|
function Cq(a,b){var c;c=b.data;return a.bj.bX(b,0,c.length);}
|
|||
|
function Dg(a,b){var c,d;c=0;while(c<b){d=a.bj.bX(a.ba,c,b-c|0);if(d==(-1))return d;c=c+d|0;}return c;}
|
|||
|
function Gt(a,b,c,d){var e,f;if(d<0){e=new O;H(e);D(e);}if(!d)return;if(a.bj===null){e=new BD;H(e);D(e);}if(b===null){e=new BD;H(e);D(e);}if(c>=0&&c<=(b.data.length-d|0)){while(d>0){f=a.bj.bX(b,c,d);if(f<0){e=new BM;H(e);D(e);}c=c+f|0;d=d-f|0;}return;}e=new O;H(e);D(e);}
|
|||
|
function El(a){var b;if(Dg(a,4)<0){b=new BM;H(b);D(b);}return (a.ba.data[0]&255)<<24|(a.ba.data[1]&255)<<16|(a.ba.data[2]&255)<<8|a.ba.data[3]&255;}
|
|||
|
function Gh(a){var b;if(Dg(a,2)<0){b=new BM;H(b);D(b);}return ((a.ba.data[0]&255)<<8|a.ba.data[1]&255)&65535;}
|
|||
|
function B9(a){return E9(a,Gh(a));}
|
|||
|
function E9(a,b){var c,d;c=$rt_createByteArray(b);d=$rt_createCharArray(b);Gt(a,c,0,b);return HD(c,d,0,b);}
|
|||
|
function HD(b,c,d,e){var f,g,h,i,j,k,l,m,n,o;f=0;g=0;a:{while(f<e){h=b.data;i=c.data;j=f+1|0;k=h[d+f|0]&65535;i[g]=k;l=i[g];if(k<128)g=g+1|0;else if((l&224)==192){if(j>=e){m=new BC;G(m,B(18));D(m);}k=j+1|0;j=h[d+j|0];if((j&192)!=128){m=new BC;G(m,B(19));D(m);}n=g+1|0;i[g]=((l&31)<<6|j&63)&65535;g=n;j=k;}else{if((l&240)!=224){m=new BC;G(m,B(19));D(m);}f=j+1|0;if(f>=e){m=new BC;G(m,B(19));D(m);}n=h[d+j|0];j=f+1|0;o=h[d+f|0];if((n&192)!=128)break a;if((o&192)!=128)break a;f=g+1|0;i[g]=((l&15)<<12|(n&63)<<6|o&63)
|
|||
|
&65535;g=f;}f=j;}return HN(c,0,g);}m=new BC;G(m,B(19));D(m);}
|
|||
|
function Ck(){var a=this;C.call(a);a.dP=null;a.d7=null;}
|
|||
|
function Eb(b){var c,d;if(CF(b))D(E4(b));if(!Gu(By(b,0)))D(E4(b));c=1;while(c<R(b)){a:{d=By(b,c);switch(d){case 43:case 45:case 46:case 58:case 95:break;default:if(Gu(d))break a;else D(E4(b));}}c=c+1|0;}}
|
|||
|
function Gu(b){return !(b>=48&&b<=57)&&!(b>=97&&b<=122)&&b<65&&b>90?0:1;}
|
|||
|
function EL(a,b){var c,d,$$je;a:{try{b=F8(Ff(Fe(Ev(a),I6),I6),b);}catch($$e){$$je=U($$e);if($$je instanceof BB){c=$$je;break a;}else{throw $$e;}}return b;}d=new DD;d.cf=1;d.co=1;d.c1=B(20);d.bY=c;D(d);}
|
|||
|
function Di(){var a=this;BL.call(a);a.M=null;a.bG=null;a.cn=0;a.bK=0;a.di=0;a.dA=0;a.d9=null;a.d_=null;}
|
|||
|
function Hj(a,b,c,d){var e,f,g;if(a.cn){e=new Q;G(e,B(21));D(e);}if(b===null){e=new BD;H(e);D(e);}if(c>=0&&d>=0&&d<=(b.data.length-c|0)){if(!d)return 0;if(a.bK)return (-1);f=0;EP(a.M,b,c,d);a:{while(!a.bK){if(!a.M.f)Fm(a);b:{g=E2(a.M,0);f=f+(a.M.b2-c|0)|0;c=a.M.b2;switch(g){case -3:e=new Q;G(e,a.M.o);D(e);case 1:case 2:break;default:break b;}a.bK=1;if(g==2)return (-1);}if(!a.M.R)break a;}}return f;}e=new O;H(e);D(e);}
|
|||
|
function H2(a){var b;if(!a.cn){if(!a.bK)return 1;return 0;}b=new Q;G(b,B(21));D(b);}
|
|||
|
function Fm(a){var b,c;if(a.cn){b=new Q;G(b,B(21));D(b);}a:{c=a.bj.bX(a.bG,0,a.bG.data.length);if(c==(-1)){if(a.M.Z.x)break a;if(EZ(a.M))break a;a.bG.data[0]=0;c=1;}Gl(a.M,a.bG,0,c,1);return;}if(Long_ne(a.M.Z.b4,Long_fromInt(-1))){b=new Q;G(b,B(22));D(b);}b=new BM;G(b,B(23));D(b);}
|
|||
|
function CP(){var a=this;C.call(a);a.V=null;a.bc=0;a.bt=Long_ZERO;}
|
|||
|
function B7(a,b){var c,d;c=a.V.data;d=a.bc;a.bc=d+1|0;c[d]=b;if(a.bc==a.V.data.length){CT(a,a.V,0);a.bc=0;}a.bt=Long_add(a.bt,Long_fromInt(1));}
|
|||
|
function Fq(a,b,c,d){a:{while(a.bc){if(d<=0)break a;B7(a,b.data[c]);c=c+1|0;d=d+(-1)|0;}}while(d>a.V.data.length){CT(a,b,c);c=c+a.V.data.length|0;d=d-a.V.data.length|0;a.bt=Long_add(a.bt,Long_fromInt(a.V.data.length));}while(d>0){B7(a,b.data[c]);c=c+1|0;d=d+(-1)|0;}}
|
|||
|
function F4(a){var b;b=Long_shl(a.bt,3);B7(a,(-128));while(a.bc){B7(a,0);}EK(a,b);CN(a);}
|
|||
|
function C$(){var a=this;CP.call(a);a.bO=0;a.bP=0;a.bQ=0;a.bR=0;a.bS=0;a.y=null;a.bx=0;}
|
|||
|
function CT(a,b,c){var d,e;d=b.data;b=a.y.data;e=a.bx;a.bx=e+1|0;b[e]=(d[c]&255)<<24|(d[c+1|0]&255)<<16|(d[c+2|0]&255)<<8|d[c+3|0]&255;if(a.bx==16)CN(a);}
|
|||
|
function BH(a,b,c,d){c=c.data;c[d]=b>>>24<<24>>24;c[d+1|0]=b>>>16<<24>>24;c[d+2|0]=b>>>8<<24>>24;c[d+3|0]=b<<24>>24;}
|
|||
|
function EK(a,b){if(a.bx>14)CN(a);a.y.data[14]=b.hi;a.y.data[15]=Long_and(b,Long_fromInt(-1)).lo;}
|
|||
|
function Fw(a,b,c){F4(a);BH(a,a.bO,b,c);BH(a,a.bP,b,c+4|0);BH(a,a.bQ,b,c+8|0);BH(a,a.bR,b,c+12|0);BH(a,a.bS,b,c+16|0);C3(a);return 20;}
|
|||
|
function C3(a){var b;a.bt=Long_ZERO;a.bc=0;b=0;while(b<a.V.data.length){a.V.data[b]=0;b=b+1|0;}a.bO=1732584193;a.bP=(-271733879);a.bQ=(-1732584194);a.bR=271733878;a.bS=(-1009589776);a.bx=0;b=0;while(b!=a.y.data.length){a.y.data[b]=0;b=b+1|0;}}
|
|||
|
function DL(a,b,c,d){return b^c^d;}
|
|||
|
function Bi(a,b,c){return b<<c|b>>>(32-c|0);}
|
|||
|
function CN(a){var b,c,d,e,f,g,h,i,j;b=16;while(b<=79){a.y.data[b]=Bi(a,a.y.data[b-3|0]^a.y.data[b-8|0]^a.y.data[b-14|0]^a.y.data[b-16|0],1);b=b+1|0;}c=a.bO;d=a.bP;e=a.bQ;f=a.bR;g=a.bS;h=0;while(h<=19){i=(((Bi(a,c,5)+(d&e|(d^(-1))&f)|0)+g|0)+a.y.data[h]|0)+1518500249|0;b=Bi(a,d,30);h=h+1|0;g=f;f=e;e=b;d=c;c=i;}j=20;while(j<=39){i=(((Bi(a,c,5)+DL(a,d,e,f)|0)+g|0)+a.y.data[j]|0)+1859775393|0;b=Bi(a,d,30);j=j+1|0;g=f;f=e;e=b;d=c;c=i;}h=40;while(h<=59){i=(((Bi(a,c,5)+(d&e|d&f|e&f)|0)+g|0)+a.y.data[h]|0)+(-1894007588)
|
|||
|
|0;b=Bi(a,d,30);h=h+1|0;g=f;f=e;e=b;d=c;c=i;}j=60;while(j<=79){i=(((Bi(a,c,5)+DL(a,d,e,f)|0)+g|0)+a.y.data[j]|0)+(-899497514)|0;b=Bi(a,d,30);j=j+1|0;g=f;f=e;e=b;d=c;c=i;}a.bO=a.bO+c|0;a.bP=a.bP+d|0;a.bQ=a.bQ+e|0;a.bR=a.bR+f|0;a.bS=a.bS+g|0;a.bx=0;b=0;while(b!=a.y.data.length){a.y.data[b]=0;b=b+1|0;}}
|
|||
|
function Fv(){C.call(this);}
|
|||
|
function Dr(b,c){var d,e,f,g;b=b.data;d=$rt_createCharArray(c);e=d.data;f=Ba(c,b.length);g=0;while(g<f){e[g]=b[g];g=g+1|0;}return d;}
|
|||
|
function Fr(b,c){var d,e,f,g;b=b.data;d=$rt_createByteArray(c);e=d.data;f=Ba(c,b.length);g=0;while(g<f){e[g]=b[g];g=g+1|0;}return d;}
|
|||
|
function C1(){}
|
|||
|
function CH(){C.call(this);}
|
|||
|
function BT(){}
|
|||
|
function F7(){var a=this;CH.call(a);a.bM=0;a.J=null;a.ck=0;a.dF=0.0;a.cQ=0;}
|
|||
|
function H0(){var a=new F7();GG(a);return a;}
|
|||
|
function Hh(a,b){return Bu(BE,b);}
|
|||
|
function GG(a){var b;b=FM(16);a.bM=0;a.J=Bu(BE,b);a.dF=0.75;DV(a);}
|
|||
|
function FM(b){var c;if(b>=1073741824)return 1073741824;if(!b)return 16;c=b-1|0;b=c|c>>1;b=b|b>>2;b=b|b>>4;b=b|b>>8;return (b|b>>16)+1|0;}
|
|||
|
function DV(a){a.cQ=a.J.data.length*a.dF|0;}
|
|||
|
function Fu(a,b){return Dc(a,b)===null?0:1;}
|
|||
|
function Fn(a,b){var c;c=Dc(a,b);if(c===null)return null;return c.b9;}
|
|||
|
function Dc(a,b){var c,d;if(b===null)c=Ec(a);else{d=Dt(b);c=Dd(a,b,d&(a.J.data.length-1|0),d);}return c;}
|
|||
|
function Dd(a,b,c,d){var e,f;e=a.J.data[c];while(e!==null){if(e.cC==d){f=e.c4;if(b!==f&&!Bo(b,f)?0:1)break;}e=e.bZ;}return e;}
|
|||
|
function Ec(a){var b;b=a.J.data[0];while(b!==null&&b.c4!==null){b=b.bZ;}return b;}
|
|||
|
function G$(a,b,c){return Cr(a,b,c);}
|
|||
|
function Cr(a,b,c){var d,e,f,g;if(b===null){d=Ec(a);if(d===null){a.ck=a.ck+1|0;d=DS(a,null,0,0);e=a.bM+1|0;a.bM=e;if(e>a.cQ)D4(a);}}else{e=Dt(b);f=e&(a.J.data.length-1|0);d=Dd(a,b,f,e);if(d===null){a.ck=a.ck+1|0;d=DS(a,b,f,e);e=a.bM+1|0;a.bM=e;if(e>a.cQ)D4(a);}}g=d.b9;d.b9=c;return g;}
|
|||
|
function DS(a,b,c,d){var e,f;e=new BE;f=null;e.c4=b;e.b9=f;e.cC=d;e.bZ=a.J.data[c];a.J.data[c]=e;return e;}
|
|||
|
function E_(a,b){var c,d,e,f,g,h,i;c=FM(!b?1:b<<1);d=Bu(BE,c);e=d.data;f=0;c=c-1|0;while(f<a.J.data.length){g=a.J.data[f];a.J.data[f]=null;while(g!==null){h=g.cC&c;i=g.bZ;g.bZ=e[h];e[h]=g;g=i;}f=f+1|0;}a.J=d;DV(a);}
|
|||
|
function D4(a){E_(a,a.J.data.length);}
|
|||
|
function Dy(){C.call(this);}
|
|||
|
var I2=null;function En(){I2=H0();Cr(I2,B(10),Hv());}
|
|||
|
function X(){P.call(this);}
|
|||
|
function DK(){X.call(this);this.eD=null;}
|
|||
|
function EU(){C.call(this);}
|
|||
|
function Bn(){C.call(this);}
|
|||
|
function FG(){Bn.call(this);}
|
|||
|
function Et(){Bn.call(this);}
|
|||
|
function Go(){Bn.call(this);}
|
|||
|
function Gx(){X.call(this);this.el=null;}
|
|||
|
function E4(a){var b=new Gx();G8(b,a);return b;}
|
|||
|
function G8(a,b){H(a);a.el=b;}
|
|||
|
function Cj(){var a=this;C.call(a);a.q=null;a.b=0;a.f=0;a.e=Long_ZERO;a.cr=null;a.b2=0;a.R=0;a.bD=Long_ZERO;a.o=null;a.Z=null;a.K=null;}
|
|||
|
function EP(a,b,c,d){a.cr=b;a.b2=c;a.R=d;}
|
|||
|
function Gl(a,b,c,d,e){var f;if(d<=0&&e&&a.q!==null)return;if(a.f>0&&e){f=$rt_createByteArray(a.f+d|0);Z(a.q,a.b,f,0,a.f);Z(b,c,f,a.f,d);a.q=f;a.b=0;a.f=a.f+d|0;}else{a.q=b;a.b=c;a.f=d;}}
|
|||
|
function D7(){Cj.call(this);this.cs=0;}
|
|||
|
function Gw(a,b,c){var d;a.cs=0;d=new CE;d.b4=Long_fromInt(-1);d.X=(-1);d.cz=$rt_createByteArray(4);d.r=null;d.I=null;d.d=a;a.Z=d;d=a.Z;if(c)b= -b;return Er(d,b);}
|
|||
|
function E2(a,b){var c;if(a.Z===null)return (-2);c=FC(a.Z,b);if(c==1)a.cs=1;return c;}
|
|||
|
function EZ(a){return a.Z.m!=12?0:1;}
|
|||
|
function Gn(){Ck.call(this);}
|
|||
|
function Hv(){var a=new Gn();HA(a);return a;}
|
|||
|
function HA(a){var b,c,d,e;b=Bu(Br,0);c=b.data;Eb(B(10));d=c.length;e=0;while(e<d){Eb(c[e]);e=e+1|0;}a.dP=B(10);a.d7=b.dE();}
|
|||
|
function Ev(a){var b;b=new Dj;b.bp=B(24);b.by=I7;b.b3=I7;b.dU=a;b.c$=0.3333333432674408;b.es=0.5;return b;}
|
|||
|
function FU(a){var b,c,d,e,f;b=new Eh;c=$rt_createByteArray(1);d=c.data;d[0]=63;b.cU=I7;b.cX=I7;e=d.length;if(e&&e>=b.c9){b.eb=a;b.cK=c.dE();b.ef=2.0;b.c9=4.0;return b;}f=new X;G(f,B(25));D(f);}
|
|||
|
function BJ(){var a=this;C.call(a);a.cc=0;a.p=0;a.N=0;a.bN=0;}
|
|||
|
function I8(a){var b=new BJ();C4(b,a);return b;}
|
|||
|
function C4(a,b){a.bN=(-1);a.cc=b;a.N=b;}
|
|||
|
function GJ(a){return a.cc;}
|
|||
|
function Hp(a){return a.p;}
|
|||
|
function Bf(a,b){var c;if(b>=0&&b<=a.N){a.p=b;if(b<a.bN)a.bN=0;return a;}c=new X;G(c,M(F(J(F(J(F(N(),B(26)),b),B(27)),a.N),B(28))));D(c);}
|
|||
|
function G9(a){return a.N;}
|
|||
|
function L(a){return a.N-a.p|0;}
|
|||
|
function Bg(a){return a.p>=a.N?0:1;}
|
|||
|
function CJ(){var a=this;BJ.call(a);a.cR=0;a.cL=null;a.eF=null;}
|
|||
|
function FZ(b,c,d){var e,f,g;e=b.data;f=new Dx;g=e.length;d=c+d|0;C4(f,g);f.eF=I9;f.cR=0;f.cL=b;f.p=c;f.N=d;f.dS=0;f.cE=0;return f;}
|
|||
|
function Gq(a,b,c,d){var e,f,g,h,i,j,k;if(c>=0){e=b.data;f=e.length;if(c<f){g=c+d|0;if(g>f){h=new O;G(h,M(J(F(J(F(N(),B(29)),g),B(30)),f)));D(h);}if(L(a)<d){i=new Cm;H(i);D(i);}if(d<0){i=new O;G(i,M(F(J(F(N(),B(31)),d),B(32))));D(i);}g=a.p+a.cR|0;j=0;while(j<d){k=c+1|0;b=a.cL.data;f=g+1|0;e[c]=b[g];j=j+1|0;c=k;g=f;}a.p=a.p+d|0;return a;}}b=b.data;h=new O;G(h,M(F(J(F(J(F(N(),B(33)),c),B(27)),b.length),B(34))));D(h);}
|
|||
|
function Dz(a,b,c,d){var e,f,g,h,i,j,k;if(!d)return a;if(a.cE){e=new B$;H(e);D(e);}if(L(a)<d){e=new B0;H(e);D(e);}if(c>=0){f=b.data;g=f.length;if(c<g){h=c+d|0;if(h>g){e=new O;G(e,M(J(F(J(F(N(),B(35)),h),B(30)),g)));D(e);}if(d<0){e=new O;G(e,M(F(J(F(N(),B(31)),d),B(32))));D(e);}h=a.p+a.cR|0;i=0;while(i<d){b=a.cL.data;j=h+1|0;g=c+1|0;b[h]=f[c];i=i+1|0;h=j;c=g;}a.p=a.p+d|0;return a;}}b=b.data;k=new O;G(k,M(F(J(F(J(F(N(),B(33)),c),B(27)),b.length),B(34))));D(k);}
|
|||
|
function E6(a,b){return Dz(a,b,0,b.data.length);}
|
|||
|
function DC(a){a.p=0;a.N=a.cc;a.bN=(-1);return a;}
|
|||
|
function G4(a,b){Bf(a,b);return a;}
|
|||
|
function Dx(){var a=this;CJ.call(a);a.dS=0;a.cE=0;}
|
|||
|
function Hk(a){return a.cE;}
|
|||
|
function Eg(){}
|
|||
|
function Ci(){BJ.call(this);}
|
|||
|
function F6(b){var c;if(b>=0)return HG(0,b,$rt_createCharArray(b),0,b,0);c=new X;G(c,M(J(F(N(),B(36)),b)));D(c);}
|
|||
|
function Gc(b,c,d){return HG(0,b.data.length,b,c,c+d|0,0);}
|
|||
|
function Dh(a,b,c,d){var e,f,g,h,i,j,k;if(c>=0){e=b.data;f=e.length;if(c<f){g=c+d|0;if(g>f){h=new O;G(h,M(J(F(J(F(N(),B(37)),g),B(30)),f)));D(h);}if(L(a)<d){h=new Cm;H(h);D(h);}if(d<0){h=new O;G(h,M(F(J(F(N(),B(31)),d),B(32))));D(h);}g=a.p;i=0;while(i<d){j=c+1|0;f=g+1|0;e[c]=Fp(a,g);i=i+1|0;c=j;g=f;}a.p=a.p+d|0;return a;}}b=b.data;k=new O;G(k,M(F(J(F(J(F(N(),B(33)),c),B(27)),b.length),B(34))));D(k);}
|
|||
|
function Gb(a,b){return Dh(a,b,0,b.data.length);}
|
|||
|
function Gs(a,b,c,d){var e,f,g,h,i,j,k;if(DZ(a)){e=new B$;H(e);D(e);}if(L(a)<d){e=new B0;H(e);D(e);}if(c>=0){f=b.data;g=f.length;if(c<g){h=c+d|0;if(h>g){e=new O;G(e,M(J(F(J(F(N(),B(38)),h),B(30)),g)));D(e);}if(d<0){e=new O;G(e,M(F(J(F(N(),B(31)),d),B(32))));D(e);}h=a.p;i=0;while(i<d){j=h+1|0;g=c+1|0;CS(a,h,f[c]);i=i+1|0;h=j;c=g;}a.p=a.p+d|0;return a;}}b=b.data;k=new O;G(k,M(F(J(F(J(F(N(),B(33)),c),B(27)),b.length),B(34))));D(k);}
|
|||
|
function FA(a,b,c,d){var e,f,g,h,i,j;if(DZ(a)){b=new B$;H(b);D(b);}e=d-c|0;if(L(a)<e){b=new B0;H(b);D(b);}if(c>=0&&c<R(b)){if(d>R(b)){f=new O;G(f,M(J(F(J(F(N(),B(38)),d),B(39)),R(b))));D(f);}if(c>d){b=new O;G(b,M(J(F(J(F(N(),B(40)),c),B(41)),d)));D(b);}g=a.p;while(c<d){h=g+1|0;i=c+1|0;CS(a,g,By(b,c));g=h;c=i;}a.p=a.p+e|0;return a;}j=new O;G(j,M(F(J(F(J(F(N(),B(40)),c),B(27)),R(b)),B(34))));D(j);}
|
|||
|
function Ce(a,b){return FA(a,b,0,R(b));}
|
|||
|
function F0(a){return 1;}
|
|||
|
function F5(a){return a.bz;}
|
|||
|
function ET(a){a.N=a.p;a.p=0;a.bN=(-1);return a;}
|
|||
|
function GD(a,b){Bf(a,b);return a;}
|
|||
|
function C_(){Q.call(this);}
|
|||
|
function CK(){}
|
|||
|
function Fg(){var a=this;C.call(a);a.w=Long_ZERO;a.B=Long_ZERO;}
|
|||
|
function GP(){var a=new Fg();HU(a);return a;}
|
|||
|
function HU(a){a.w=Long_fromInt(1);a.B=Long_ZERO;}
|
|||
|
function GN(a,b){a.w=Long_and(b,Long_fromInt(65535));a.B=Long_and(Long_shr(b,16),Long_fromInt(65535));}
|
|||
|
function Hz(a){a.w=Long_fromInt(1);a.B=Long_ZERO;}
|
|||
|
function Hy(a){return Long_or(Long_shl(a.B,16),a.w);}
|
|||
|
function He(a,b,c,d){var e,f,g,h,i,j;if(d==1){b=b.data;a.w=Long_add(a.w,Long_fromInt(b[c]&255));a.B=Long_add(a.B,a.w);a.w=Long_rem(a.w,Long_fromInt(65521));a.B=Long_rem(a.B,Long_fromInt(65521));return;}e=d/5552|0;f=d%5552|0;while(true){g=e+(-1)|0;if(e<=0)break;h=5552;while(true){e=h+(-1)|0;if(h<=0)break;i=b.data;j=a.w;d=c+1|0;a.w=Long_add(j,Long_fromInt(i[c]&255));a.B=Long_add(a.B,a.w);h=e;c=d;}a.w=Long_rem(a.w,Long_fromInt(65521));a.B=Long_rem(a.B,Long_fromInt(65521));e=g;}while(true){d=f+(-1)|0;if(f<=0)break;i
|
|||
|
=b.data;j=a.w;e=c+1|0;a.w=Long_add(j,Long_fromInt(i[c]&255));a.B=Long_add(a.B,a.w);f=d;c=e;}a.w=Long_rem(a.w,Long_fromInt(65521));a.B=Long_rem(a.B,Long_fromInt(65521));}
|
|||
|
function BD(){P.call(this);}
|
|||
|
function CV(){Bc.call(this);}
|
|||
|
function Cz(){C.call(this);this.en=null;}
|
|||
|
var I9=null;var I$=null;function GK(a){var b=new Cz();Es(b,a);return b;}
|
|||
|
function Es(a,b){a.en=b;}
|
|||
|
function Gp(){I9=GK(B(42));I$=GK(B(43));}
|
|||
|
function CU(){}
|
|||
|
function CG(){var a=this;C.call(a);a.c4=null;a.b9=null;}
|
|||
|
function BE(){var a=this;CG.call(a);a.cC=0;a.bZ=null;}
|
|||
|
function O(){P.call(this);}
|
|||
|
function CD(){O.call(this);}
|
|||
|
function DH(){C.call(this);}
|
|||
|
var IK=null;function Z(b,c,d,e,f){var g,h,i,j,k,l,m;if(b!==null&&d!==null){if(c>=0&&e>=0&&f>=0&&(c+f|0)<=F3(b)&&(e+f|0)<=F3(d)){a:{b:{if(b!==d){g=CZ(B1(b));h=CZ(B1(d));if(g!==null&&h!==null){if(g===h)break b;if(!BY(g)&&!BY(h)){i=b;j=0;k=c;while(j<f){l=i.data;m=k+1|0;if(!Ep(h,l[k])){DW(b,c,d,e,j);b=new BZ;H(b);D(b);}j=j+1|0;k=m;}DW(b,c,d,e,f);return;}if(!BY(g))break a;if(BY(h))break b;else break a;}b=new BZ;H(b);D(b);}}DW(b,c,d,e,f);return;}b=new BZ;H(b);D(b);}b=new O;H(b);D(b);}d=new BD;G(d,B(44));D(d);}
|
|||
|
function DW(b,c,d,e,f){if (b !== d || e < c) {
|
|||
|
for (var i = 0; i < f; i = (i + 1) | 0) {d.data[e++] = b.data[c++];}} else {c = (c + f) | 0;e = (e + f) | 0;for (var i = 0; i < f; i = (i + 1) | 0) {d.data[--e] = b.data[--c];}}}
|
|||
|
function BM(){Q.call(this);}
|
|||
|
function CE(){var a=this;C.call(a);a.m=0;a.bW=0;a.b4=Long_ZERO;a.i=Long_ZERO;a.bI=0;a.x=0;a.cV=0;a.S=null;a.d=null;a.A=0;a.X=0;a.cz=null;a.r=null;a.I=null;}
|
|||
|
var I_=null;function EH(a){var b;if(a.d===null)return (-2);b=a.d;a.d.bD=Long_ZERO;b.e=Long_ZERO;a.d.o=null;a.m=14;a.X=(-1);B4(a.S);return 0;}
|
|||
|
function EN(a){if(a.S!==null)D1(a.S);return 0;}
|
|||
|
function Er(a,b){var c,d,e,f;a.d.o=null;a.S=null;a.x=0;if(b<0)b= -b;else if(b&1073741824){a.x=4;b=b&(-1073741825);if(b<48)b=b&15;}else if(b&(-32)){a.x=4;b=b&15;}else{a.x=(b>>4)+1|0;if(b<48)b=b&15;}if(b>=8&&b<=15){if(a.S!==null&&a.cV!=b){D1(a.S);a.S=null;}a.cV=b;c=new BX;d=a.d;b=1<<b;c.cp=$rt_createIntArray(1);c.bF=$rt_createIntArray(1);c.bC=$rt_createIntArray(1);c.bB=$rt_createIntArray(1);c.cx=Bu($rt_arraycls($rt_intcls()),1);c.cy=Bu($rt_arraycls($rt_intcls()),1);c.cG=$rt_createIntArray(1);c.cJ=$rt_createIntArray(1);e
|
|||
|
=new Bj;e.bf=null;e.be=null;e.C=null;e.H=null;e.bl=null;e.T=null;c.cv=e;c.a=d;e=new Cu;f=c.a;e.bm=0;e.g=f;e.c=c;c.bT=e;c.bb=$rt_createIntArray(4320);c.u=$rt_createByteArray(b);c.s=b;c.ca=d.Z.x?1:0;c.v=0;B4(c);a.S=c;EH(a);return 0;}EN(a);return (-2);}
|
|||
|
function FC(a,b){var c,d,e,f,g,h,i,$$je;if(a.d!==null&&a.d.q!==null){c=b!=4?0:(-5);d=(-5);a:{b:{c:{d:{e:{f:{g:{h:{i:while(true){j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{switch(a.m){case 6:a.m=13;a.d.o=B(45);a.bI=0;return (-2);case 7:d=FX(a.S,d);if(d==(-3)){a.m=13;a.bI=0;continue i;}if(!d)d=c;if(d!=1)break i;a.b4=a.d.K.cY();B4(a.S);if(!a.x){a.m=12;d=c;continue i;}a.m=8;d=c;break w;case 12:break e;case 13:return (-3);case 14:break r;case 23:try{d=Bl(a,2,d,c);}catch($$e){$$je=U($$e);if($$je instanceof Y){e=$$je;return e.P;}
|
|||
|
else{throw $$e;}}a.A=a.i.lo&65535;if((a.A&255)!=8){a.d.o=B(46);a.m=13;continue i;}if(a.A&57344){a.d.o=B(47);a.m=13;continue i;}if(a.A&512)BQ(a,2,a.i);a.m=16;break p;case 2:break d;case 3:break c;case 4:break b;case 5:c=d;break a;case 8:break w;case 9:break v;case 10:break u;case 11:break t;case 15:break s;case 16:break p;case 17:break o;case 18:break n;case 19:break q;case 20:break l;case 21:break k;case 22:break;default:return (-2);}break j;}if(!a.d.f)return d;e=a.d;e.f=e.f-1|0;e=a.d;e.e=Long_add(e.e,Long_fromInt(1));f
|
|||
|
=a.d.q.data;e=a.d;b=e.b;e.b=b+1|0;a.i=Long_and(Long_fromInt((f[b]&255)<<24),new Long(4278190080, 0));a.m=9;d=c;}if(!a.d.f)return d;e=a.d;e.f=e.f-1|0;e=a.d;e.e=Long_add(e.e,Long_fromInt(1));g=a.i;f=a.d.q.data;e=a.d;b=e.b;e.b=b+1|0;a.i=Long_add(g,Long_and(Long_fromInt((f[b]&255)<<16),Long_fromInt(16711680)));a.m=10;d=c;}if(!a.d.f)return d;e=a.d;e.f=e.f-1|0;e=a.d;e.e=Long_add(e.e,Long_fromInt(1));g=a.i;f=a.d.q.data;e=a.d;b=e.b;e.b=b+1|0;a.i=Long_add(g,Long_and(Long_fromInt((f[b]&255)<<8),Long_fromInt(65280)));a.m
|
|||
|
=11;d=c;}if(!a.d.f)return d;e=a.d;e.f=e.f-1|0;e=a.d;e.e=Long_add(e.e,Long_fromInt(1));g=a.i;f=a.d.q.data;e=a.d;b=e.b;e.b=b+1|0;a.i=Long_add(g,Long_and(Long_fromInt(f[b]),Long_fromInt(255)));if(a.A)a.i=Long_and(Long_or(Long_or(Long_or(Long_shr(Long_and(a.i,Long_fromInt(-16777216)),24),Long_shr(Long_and(a.i,Long_fromInt(16711680)),8)),Long_shl(Long_and(a.i,Long_fromInt(65280)),8)),Long_shl(Long_and(a.i,Long_fromInt(65535)),24)),new Long(4294967295, 0));if(a.b4.lo!=a.i.lo)a.d.o=B(48);else if(a.A&&a.r!==null)a.r.ec
|
|||
|
=a.i;a.m=15;d=c;}if(!(a.x&&a.A)){if(a.d.o===null)break f;if(!Bo(a.d.o,B(48)))break f;a.m=13;a.bI=5;continue i;}try{d=Bl(a,4,d,c);}catch($$e){$$je=U($$e);if($$je instanceof Y){e=$$je;return e.P;}else{throw $$e;}}if(a.d.o!==null&&Bo(a.d.o,B(48))){a.m=13;a.bI=5;continue i;}if(Long_eq(a.i,Long_and(a.d.bD,new Long(4294967295, 0)))){a.d.o=null;break f;}a.d.o=B(49);a.m=13;continue i;}if(!a.x){a.m=7;continue i;}try{d=Bl(a,2,d,c);}catch($$e){$$je=U($$e);if($$je instanceof Y){e=$$je;return e.P;}else{throw $$e;}}if(!(a.x
|
|||
|
!=4&&!(a.x&2))&&Long_eq(a.i,Long_fromInt(35615))){if(a.x==4)a.x=2;a.d.K=Hb();BQ(a,2,a.i);if(a.r===null)a.r=Ii();a.m=23;continue i;}if(a.x&2){a.m=13;a.d.o=B(50);continue i;}a.A=0;a.bW=a.i.lo&255;h=Long_shr(a.i,8).lo&255;if(!(a.x&1&&!(((a.bW<<8)+h|0)%31|0))&&(a.bW&15)!=8){if(a.x!=4){a.m=13;a.d.o=B(50);continue i;}e=a.d;e.b=e.b-2|0;e=a.d;e.f=e.f+2|0;e=a.d;e.e=Long_sub(e.e,Long_fromInt(2));a.x=0;a.m=7;continue i;}if((a.bW&15)!=8){a.m=13;a.d.o=B(46);continue i;}if(a.x==4)a.x=1;if(((a.bW>>4)+8|0)>a.cV){a.m=13;a.d.o
|
|||
|
=B(51);continue i;}a.d.K=GP();if(h&32){a.m=2;break d;}a.m=7;continue i;}break m;}try{d=Bl(a,4,d,c);}catch($$e){$$je=U($$e);if($$je instanceof Y){e=$$je;return e.P;}else{throw $$e;}}if(a.r!==null)a.r.dN=a.i;if(a.A&512)BQ(a,4,a.i);a.m=17;}try{d=Bl(a,2,d,c);}catch($$e){$$je=U($$e);if($$je instanceof Y){e=$$je;return e.P;}else{throw $$e;}}if(a.r!==null){a.r.er=a.i.lo&255;a.r.dl=a.i.lo>>8&255;}if(a.A&512)BQ(a,2,a.i);a.m=18;}if(a.A&1024){try{d=Bl(a,2,d,c);}catch($$e){$$je=U($$e);if($$je instanceof Y){e=$$je;return e.P;}
|
|||
|
else{throw $$e;}}if(a.r!==null)a.r.bL=$rt_createByteArray(a.i.lo&65535);if(a.A&512)BQ(a,2,a.i);}else if(a.r!==null)a.r.bL=null;a.m=19;}if(a.A&1024)x:{try{d=Ex(a,d,c);if(a.r===null)break x;f=Cg(a.I);i=f.data;a.I=null;b=i.length;if(b!=a.r.bL.data.length){a.d.o=B(52);a.m=13;continue i;}Z(f,0,a.r.bL,0,b);break x;}catch($$e){$$je=U($$e);if($$je instanceof Y){e=$$je;return e.P;}else{throw $$e;}}}else if(a.r!==null)a.r.bL=null;a.m=20;}y:{if(a.A&2048){z:{try{d=D9(a,d,c);if(a.r===null)break z;a.r.dd=Cg(a.I);break z;}
|
|||
|
catch($$e){$$je=U($$e);if($$je instanceof Y){e=$$je;break h;}else{throw $$e;}}}try{a.I=null;break y;}catch($$e){$$je=U($$e);if($$je instanceof Y){e=$$je;break h;}else{throw $$e;}}}else if(a.r!==null)a.r.dd=null;}a.m=21;}ba:{if(a.A&4096){bb:{try{d=D9(a,d,c);if(a.r===null)break bb;a.r.dm=Cg(a.I);break bb;}catch($$e){$$je=U($$e);if($$je instanceof Y){e=$$je;break g;}else{throw $$e;}}}try{a.I=null;break ba;}catch($$e){$$je=U($$e);if($$je instanceof Y){e=$$je;break g;}else{throw $$e;}}}else if(a.r!==null)a.r.dm=
|
|||
|
null;}a.m=22;}if(a.A&512){try{d=Bl(a,2,d,c);}catch($$e){$$je=U($$e);if($$je instanceof Y){e=$$je;return e.P;}else{throw $$e;}}if(a.r!==null)a.r.eG=Long_and(a.i,Long_fromInt(65535)).lo;if(Long_ne(a.i,Long_and(a.d.K.cY(),Long_fromInt(65535)))){a.m=13;a.d.o=B(53);a.bI=5;continue;}}a.d.K=Hb();a.m=7;}return d;}return e.P;}return e.P;}a.m=12;}return 1;}if(!a.d.f)return d;e=a.d;e.f=e.f-1|0;e=a.d;e.e=Long_add(e.e,Long_fromInt(1));f=a.d.q.data;e=a.d;d=e.b;e.b=d+1|0;a.i=Long_and(Long_fromInt((f[d]&255)<<24),new Long(4278190080, 0));a.m
|
|||
|
=3;d=c;}if(!a.d.f)return d;e=a.d;e.f=e.f-1|0;e=a.d;e.e=Long_add(e.e,Long_fromInt(1));g=a.i;f=a.d.q.data;e=a.d;d=e.b;e.b=d+1|0;a.i=Long_add(g,Long_and(Long_fromInt((f[d]&255)<<16),Long_fromInt(16711680)));a.m=4;d=c;}if(!a.d.f)return d;e=a.d;e.f=e.f-1|0;e=a.d;e.e=Long_add(e.e,Long_fromInt(1));g=a.i;f=a.d.q.data;e=a.d;b=e.b;e.b=b+1|0;a.i=Long_add(g,Long_and(Long_fromInt((f[b]&255)<<8),Long_fromInt(65280)));a.m=5;}if(!a.d.f)return c;e=a.d;e.f=e.f-1|0;e=a.d;e.e=Long_add(e.e,Long_fromInt(1));g=a.i;f=a.d.q.data;e=
|
|||
|
a.d;b=e.b;e.b=b+1|0;a.i=Long_add(g,Long_and(Long_fromInt(f[b]),Long_fromInt(255)));a.d.K.dy(a.i);a.m=6;return 2;}if(b==4&&a.m==14)return 0;return (-2);}
|
|||
|
function Bl(a,b,c,d){var e,f,g,h;if(a.X==(-1)){a.X=b;a.i=Long_ZERO;}while(true){if(a.X<=0){if(b==2)a.i=Long_and(a.i,Long_fromInt(65535));else if(b==4)a.i=Long_and(a.i,new Long(4294967295, 0));a.X=(-1);return c;}if(!a.d.f)break;e=a.d;e.f=e.f-1|0;e=a.d;e.e=Long_add(e.e,Long_fromInt(1));f=a.i;g=a.d.q.data;e=a.d;h=e.b;e.b=h+1|0;a.i=Long_or(f,Long_fromInt((g[h]&255)<<((b-a.X|0)*8|0)));a.X=a.X-1|0;c=d;}D(FY(a,c));}
|
|||
|
function D9(a,b,c){var d,e;if(a.I===null)a.I=GY();while(true){if(!a.d.f)D(FY(a,b));d=a.d;d.f=d.f-1|0;d=a.d;d.e=Long_add(d.e,Long_fromInt(1));e=a.d.q.data[a.d.b];if(e)Dv(a.I,a.d.q,a.d.b,1);a.d.K.bn(a.d.q,a.d.b,1);d=a.d;d.b=d.b+1|0;if(!e)break;b=c;}return c;}
|
|||
|
function Ex(a,b,c){var d;if(a.I===null)a.I=GY();while(Long_gt(a.i,Long_ZERO)){if(!a.d.f)D(FY(a,b));d=a.d;d.f=d.f-1|0;d=a.d;d.e=Long_add(d.e,Long_fromInt(1));Dv(a.I,a.d.q,a.d.b,1);a.d.K.bn(a.d.q,a.d.b,1);d=a.d;d.b=d.b+1|0;a.i=Long_sub(a.i,Long_fromInt(1));b=c;}return b;}
|
|||
|
function BQ(a,b,c){var d;d=0;while(d<b){a.cz.data[d]=Long_and(c,Long_fromInt(255)).lo<<24>>24;c=Long_shr(c,8);d=d+1|0;}a.d.K.bn(a.cz,0,b);}
|
|||
|
function Fk(){var b,c;b=$rt_createByteArray(4);c=b.data;c[0]=0;c[1]=0;c[2]=(-1);c[3]=(-1);I_=b;}
|
|||
|
function DT(){}
|
|||
|
function Bp(){C.call(this);}
|
|||
|
function EY(a,b,c,d){var e,f,g;e=0;while(e<d){f=b.data;g=c+1|0;Fo(a,f[c]);e=e+1|0;c=g;}}
|
|||
|
function Cp(){Bp.call(this);this.c6=null;}
|
|||
|
function Df(){var a=this;Cp.call(a);a.ep=0;a.cS=0;a.Y=null;a.b1=null;a.dD=null;}
|
|||
|
function Dk(a,b,c,d){var $$je;if(a.c6===null)a.cS=1;if(!(a.cS?0:1))return;a:{try{EY(a.c6,b,c,d);break a;}catch($$e){$$je=U($$e);if($$je instanceof Q){}else{throw $$e;}}a.cS=1;}}
|
|||
|
function DF(a,b,c,d){var e,f,g,h,i;e=b.data;f=Gc(b,c,d-c|0);e=$rt_createByteArray(BA(16,Ba(e.length,1024)));g=FZ(e,0,e.data.length);h=FK(Ek(FU(a.dD),I6),I6);while(true){i=BK(Fz(h,f,g,1));Dk(a,e,0,g.p);DC(g);if(!i)break;}while(true){i=BK(EM(h,g));Dk(a,e,0,g.p);DC(g);if(!i)break;}}
|
|||
|
function Eq(a,b){a.b1.data[0]=b;DF(a,a.b1,0,1);}
|
|||
|
function B5(a,b){F(a.Y,b);Dn(a);}
|
|||
|
function Ga(a,b){EG(ES(a.Y,b),10);Dn(a);}
|
|||
|
function Gf(a){Eq(a,10);}
|
|||
|
function Dn(a){var b;b=B2(a.Y)<=a.b1.data.length?a.b1:$rt_createCharArray(B2(a.Y));ED(a.Y,0,B2(a.Y),b,0);DF(a,b,0,B2(a.Y));Gk(a.Y,0);}
|
|||
|
function Ea(){Bp.call(this);}
|
|||
|
function Fo(a,b){$rt_putStderr(b);}
|
|||
|
function FL(){C.call(this);}
|
|||
|
function Ba(b,c){if(b<c)c=b;return c;}
|
|||
|
function BA(b,c){if(b>c)c=b;return c;}
|
|||
|
function BX(){var a=this;C.call(a);a.v=0;a.bV=0;a.bJ=0;a.L=0;a.G=null;a.cp=null;a.bF=null;a.bC=null;a.bB=null;a.cx=null;a.cy=null;a.cG=null;a.cJ=null;a.bT=null;a.b$=0;a.l=0;a.k=0;a.bb=null;a.u=null;a.s=0;a.n=0;a.h=0;a.ca=0;a.cv=null;a.a=null;}
|
|||
|
var Ja=null;var Jb=null;function B4(a){a.v=0;a.l=0;a.k=0;a.h=0;a.n=0;if(a.ca)a.a.K.cl();}
|
|||
|
function FX(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;c=a.a.b;d=a.a.f;e=a.k;f=a.l;g=a.h;h=g>=a.n?a.s-g|0:(a.n-g|0)-1|0;a:{b:{c:{d:{e:while(true){f:{g:{h:{i:{j:{switch(a.v){case 2:break f;case 9:a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,(-3));case 0:break j;case 1:break;case 3:while(f<14){if(!d){a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,b);}b=0;d=d+(-1)|0;j=a.a.q.data;k=c+1|0;e=e|(j[c]&255)<<f;f=f+8|0;c=k;}k=e&
|
|||
|
16383;a.bJ=k;l=k&31;if(l>29)break d;k=k>>5&31;if(k>29)break d;k:{k=(258+l|0)+k|0;if(!(a.G!==null&&a.G.data.length>=k))a.G=$rt_createIntArray(k);else{l=0;while(true){if(l>=k)break k;a.G.data[l]=0;l=l+1|0;}}}e=e>>>14;f=f+(-14)|0;a.L=0;a.v=4;break i;case 4:break i;case 5:break h;case 6:break g;case 7:break b;case 8:break a;default:a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,(-2));}while(f<32){if(!d){a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b
|
|||
|
|0));a.a.b=c;a.h=g;return I(a,b);}b=0;d=d+(-1)|0;j=a.a.q.data;k=c+1|0;e=e|(j[c]&255)<<f;f=f+8|0;c=k;}k=(e^(-1))>>>16&65535;l=e&65535;if(k!=l){a.v=9;a.a.o=B(54);a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,(-3));}a.bV=l;f=0;a.v=a.bV?2:!a.b$?0:7;e=f;continue e;}while(f<3){if(!d){a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,b);}b=0;d=d+(-1)|0;j=a.a.q.data;k=c+1|0;e=e|(j[c]&255)<<f;f=f+8|0;c=k;}l:{m=e&7;a.b$=m&1;switch
|
|||
|
(m>>>1){case 0:k=e>>>3;l=f+(-3)|0;n=l&7;e=k>>>n;f=l-n|0;a.v=1;break l;case 1:FR(a.bC,a.bB,a.cx,a.cy,a.a);DN(a.bT,a.bC.data[0],a.bB.data[0],a.cx.data[0],0,a.cy.data[0],0);e=e>>>3;f=f+(-3)|0;a.v=6;break l;case 2:e=e>>>3;f=f+(-3)|0;a.v=3;break l;case 3:b=e>>>3;k=f+(-3)|0;a.v=9;a.a.o=B(55);a.k=b;a.l=k;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,(-3));default:}}continue e;}while(a.L<(4+(a.bJ>>>10)|0)){while(f<3){if(!d){a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c
|
|||
|
-a.a.b|0));a.a.b=c;a.h=g;return I(a,b);}b=0;d=d+(-1)|0;j=a.a.q.data;k=c+1|0;e=e|(j[c]&255)<<f;f=f+8|0;c=k;}o=a.G.data;j=Jb.data;k=a.L;a.L=k+1|0;o[j[k]]=e&7;e=e>>>3;f=f+(-3)|0;}while(a.L<19){o=a.G.data;j=Jb.data;k=a.L;a.L=k+1|0;o[j[k]]=0;}a.cp.data[0]=7;k=GC(a.cv,a.G,a.cp,a.bF,a.bb,a.a);if(k){if(k==(-3)){a.G=null;a.v=9;}a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,k);}a.L=0;a.v=5;}while(true){k=a.bJ;if(a.L>=((258+(k&31)|0)+(k>>5&31)|0))break;k=a.cp.data[0];while
|
|||
|
(f<k){if(!d){a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,b);}b=0;d=d+(-1)|0;j=a.a.q.data;l=c+1|0;e=e|(j[c]&255)<<f;f=f+8|0;c=l;}k=a.bb.data[((a.bF.data[0]+(e&Ja.data[k])|0)*3|0)+1|0];n=a.bb.data[((a.bF.data[0]+(e&Ja.data[k])|0)*3|0)+2|0];l=C6(n,16);if(l<0){e=e>>>k;f=f-k|0;j=a.G.data;k=a.L;a.L=k+1|0;j[k]=n;}else{p=C6(n,18);q=!p?7:n-14|0;p=p?3:11;while(f<(k+q|0)){if(!d){a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,
|
|||
|
b);}b=0;d=d+(-1)|0;j=a.a.q.data;n=c+1|0;e=e|(j[c]&255)<<f;f=f+8|0;c=n;}n=e>>>k;k=f-k|0;p=p+(n&Ja.data[q])|0;e=n>>>q;f=k-q|0;h=a.L;q=a.bJ;if((h+p|0)>((258+(q&31)|0)+(q>>5&31)|0))break c;if(!l&&h<1)break c;k=l?0:a.G.data[h-1|0];while(true){j=a.G.data;l=h+1|0;j[h]=k;p=p+(-1)|0;if(!p)break;h=l;}a.L=l;}}a.bF.data[0]=(-1);a.bC.data[0]=9;a.bB.data[0]=6;k=a.bJ;k=Fb(a.cv,257+(k&31)|0,1+(k>>5&31)|0,a.G,a.bC,a.bB,a.cG,a.cJ,a.bb,a.a);if(k){if(k==(-3)){a.G=null;a.v=9;}a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c
|
|||
|
-a.a.b|0));a.a.b=c;a.h=g;return I(a,k);}DN(a.bT,a.bC.data[0],a.bB.data[0],a.bb,a.cG.data[0],a.bb,a.cJ.data[0]);a.v=6;}a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;b=FE(a.bT,b);if(b!=1)break e;b=0;EX(a.bT,a.a);c=a.a.b;d=a.a.f;e=a.k;f=a.l;g=a.h;h=g>=a.n?a.s-g|0:(a.n-g|0)-1|0;if(a.b$){a.v=7;break b;}a.v=0;continue e;}if(!d){a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,b);}if(!h){if(g==a.s&&a.n){g=0;h=g>=a.n?a.s-g|0:(a.n-g|0)-1
|
|||
|
|0;}if(!h){a.h=g;b=I(a,b);g=a.h;h=g>=a.n?a.s-g|0:(a.n-g|0)-1|0;if(g==a.s&&a.n){g=0;h=g>=a.n?a.s-g|0:(a.n-g|0)-1|0;}if(!h){a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,b);}}}b=0;k=a.bV;if(k>d)k=d;if(k>h)k=h;Z(a.a.q,c,a.u,g,k);c=c+k|0;d=d-k|0;g=g+k|0;h=h-k|0;k=a.bV-k|0;a.bV=k;if(k)continue;a.v=!a.b$?0:7;}return I(a,b);}a.v=9;a.a.o=B(56);a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,(-3));}a.G=null;a.v=9;a.a.o=B(57);a.k
|
|||
|
=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,(-3));}a.h=g;b=I(a,b);g=a.h;if(a.n!=a.h){a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,b);}a.v=8;}a.k=e;a.l=f;a.a.f=d;i=a.a;i.e=Long_add(i.e,Long_fromInt(c-a.a.b|0));a.a.b=c;a.h=g;return I(a,1);}
|
|||
|
function D1(a){B4(a);a.u=null;a.bb=null;}
|
|||
|
function I(a,b){var c,d,e,f,g;c=a.a.b2;d=a.n;e=(d>a.h?a.s:a.h)-d|0;if(e>a.a.R)e=a.a.R;if(e&&b==(-5))b=0;f=a.a;f.R=f.R-e|0;f=a.a;f.bD=Long_add(f.bD,Long_fromInt(e));if(a.ca&&e>0)a.a.K.bn(a.u,d,e);Z(a.u,d,a.a.cr,c,e);c=c+e|0;g=d+e|0;if(g==a.s){if(a.h==a.s)a.h=0;d=a.h-0|0;if(d>a.a.R)d=a.a.R;if(d&&b==(-5))b=0;f=a.a;f.R=f.R-d|0;f=a.a;f.bD=Long_add(f.bD,Long_fromInt(d));if(a.ca&&d>0)a.a.K.bn(a.u,0,d);Z(a.u,0,a.a.cr,c,d);c=c+d|0;g=0+d|0;}a.a.b2=c;a.n=g;return b;}
|
|||
|
function Eo(){var b,c;b=$rt_createIntArray(17);c=b.data;c[0]=0;c[1]=1;c[2]=3;c[3]=7;c[4]=15;c[5]=31;c[6]=63;c[7]=127;c[8]=255;c[9]=511;c[10]=1023;c[11]=2047;c[12]=4095;c[13]=8191;c[14]=16383;c[15]=32767;c[16]=65535;Ja=b;b=$rt_createIntArray(19);c=b.data;c[0]=16;c[1]=17;c[2]=18;c[3]=0;c[4]=8;c[5]=7;c[6]=9;c[7]=6;c[8]=10;c[9]=5;c[10]=11;c[11]=4;c[12]=12;c[13]=3;c[14]=13;c[15]=2;c[16]=14;c[17]=1;c[18]=15;Jb=b;}
|
|||
|
function Bj(){var a=this;C.call(a);a.bf=null;a.be=null;a.C=null;a.H=null;a.bl=null;a.T=null;}
|
|||
|
var Jc=null;var Jd=null;var Je=null;var Jf=null;var Jg=null;var Jh=null;function Ca(a,b,c,d,e,f,g,h,i,j,k,l){var m,n,o,p,q,r,s,t,u,v,w,x,y,z,ba,bb,bc,bd,be;m=0;n=d;while(true){o=b.data;p=a.C.data;q=o[c+m|0];p[q]=p[q]+1|0;m=m+1|0;n=n+(-1)|0;if(!n)break;}if(a.C.data[0]==d){b=h.data;f=i.data;b[0]=(-1);f[0]=0;return 0;}i=i.data;r=i[0];s=1;a:{while(true){if(s>15)break a;if(a.C.data[s])break;s=s+1|0;}}if(r<s)r=s;t=15;b:{while(true){if(!t)break b;if(a.C.data[t])break;t=t+(-1)|0;}}if(r>t)r=t;i[0]=r;u=1<<s;m=s;while
|
|||
|
(true){if(m>=t){v=u-a.C.data[t]|0;if(v<0)return (-3);b=a.C.data;b[t]=b[t]+v|0;b=a.T.data;u=0;b[1]=u;m=1;w=2;x=t;while(true){x=x+(-1)|0;if(!x)break;i=a.T.data;u=u+a.C.data[m]|0;i[w]=u;w=w+1|0;m=m+1|0;}m=0;w=0;while(true){x=o[c+w|0];if(x){i=l.data;b=a.T.data;q=b[x];b[x]=q+1|0;i[q]=m;}w=w+1|0;m=m+1|0;if(m>=d)break;}u=a.T.data[t];b=a.T.data;m=0;b[0]=m;w=0;y=(-1);z= -r;a.bl.data[0]=0;ba=0;bb=0;c:while(true){if(s>t)return v&&t!=1?(-5):0;bc=a.C.data[s];while(true){bd=bc+(-1)|0;if(!bc)break;n=bd+1|0;while(true){be=
|
|||
|
z+r|0;if(s<=be)break;y=y+1|0;x=t-be|0;if(x>r)x=r;d:{bc=s-be|0;c=1<<bc;if(c>n){q=c-n|0;if(bc<x){c=s;while(true){bc=bc+1|0;if(bc>=x)break;d=q<<1;b=a.C.data;c=c+1|0;if(d<=b[c])break d;q=d-a.C.data[c]|0;}}}}b=k.data;bb=1<<bc;if((b[0]+bb|0)>1440)break c;i=a.bl.data;ba=b[0];i[y]=ba;b[0]=b[0]+bb|0;if(!y){h.data[0]=ba;z=be;continue;}a.T.data[y]=m;a.H.data[0]=bc<<24>>24;a.H.data[1]=r<<24>>24;c=m>>>(be-r|0);i=a.H.data;b=a.bl.data;q=y-1|0;i[2]=(ba-b[q]|0)-c|0;Z(a.H,0,j,(a.bl.data[q]+c|0)*3|0,3);z=be;}b=a.H.data;x=s-z|
|
|||
|
0;b[1]=x<<24>>24;if(w>=u)a.H.data[0]=192;else{p=l.data;if(p[w]>=e){i=g.data;o=f.data;a.H.data[0]=((i[p[w]-e|0]+16|0)+64|0)<<24>>24;b=a.H.data;d=w+1|0;b[2]=o[p[w]-e|0];w=d;}else{b=a.H;b.data[0]=(p[w]>=256?96:0)<<24>>24;b=a.H.data;d=w+1|0;b[2]=p[w];w=d;}}q=1<<x;c=m>>>z;while(c<bb){Z(a.H,0,j,(ba+c|0)*3|0,3);c=c+q|0;}c=1<<(s-1|0);while(m&c){m=m^c;c=c>>>1;}m=m^c;x=(1<<z)-1|0;while((m&x)!=a.T.data[y]){y=y+(-1)|0;z=z-r|0;x=(1<<z)-1|0;}bc=bd;}s=s+1|0;}return (-3);}q=u-a.C.data[m]|0;if(q<0)break;m=m+1|0;u=q<<1;}return (-3);}
|
|||
|
function GC(a,b,c,d,e,f){var g;CB(a,19);a.bf.data[0]=0;g=Ca(a,b,0,19,19,null,null,d,c,e,a.bf,a.be);if(g==(-3))f.o=B(58);else if(!(g!=(-5)&&c.data[0])){f.o=B(59);g=(-3);}return g;}
|
|||
|
function Fb(a,b,c,d,e,f,g,h,i,j){var k;CB(a,288);a.bf.data[0]=0;k=Ca(a,d,0,b,257,Je,Jf,g,e,i,a.bf,a.be);if(!k&&e.data[0]){CB(a,288);c=Ca(a,d,b,c,0,Jg,Jh,h,f,i,a.bf,a.be);if(!c&&!(!f.data[0]&&b>257))return 0;if(c==(-3))j.o=B(60);else if(c==(-5)){j.o=B(61);c=(-3);}else if(c!=(-4)){j.o=B(62);c=(-3);}return c;}if(k==(-3))j.o=B(63);else if(k!=(-4)){j.o=B(64);k=(-3);}return k;}
|
|||
|
function FR(b,c,d,e,f){e=e.data;d=d.data;c=c.data;b.data[0]=9;c[0]=5;d[0]=Jc;e[0]=Jd;return 0;}
|
|||
|
function CB(a,b){var c;if(a.bf===null){a.bf=$rt_createIntArray(1);a.be=$rt_createIntArray(b);a.C=$rt_createIntArray(16);a.H=$rt_createIntArray(3);a.bl=$rt_createIntArray(15);a.T=$rt_createIntArray(16);}if(a.be.data.length<b)a.be=$rt_createIntArray(b);c=0;while(c<b){a.be.data[c]=0;c=c+1|0;}c=0;while(c<16){a.C.data[c]=0;c=c+1|0;}c=0;while(c<3){a.H.data[c]=0;c=c+1|0;}Z(a.C,0,a.bl,0,15);Z(a.C,0,a.T,0,16);}
|
|||
|
function E7(){var b,c;b=$rt_createIntArray(1536);c=b.data;c[0]=96;c[1]=7;c[2]=256;c[3]=0;c[4]=8;c[5]=80;c[6]=0;c[7]=8;c[8]=16;c[9]=84;c[10]=8;c[11]=115;c[12]=82;c[13]=7;c[14]=31;c[15]=0;c[16]=8;c[17]=112;c[18]=0;c[19]=8;c[20]=48;c[21]=0;c[22]=9;c[23]=192;c[24]=80;c[25]=7;c[26]=10;c[27]=0;c[28]=8;c[29]=96;c[30]=0;c[31]=8;c[32]=32;c[33]=0;c[34]=9;c[35]=160;c[36]=0;c[37]=8;c[38]=0;c[39]=0;c[40]=8;c[41]=128;c[42]=0;c[43]=8;c[44]=64;c[45]=0;c[46]=9;c[47]=224;c[48]=80;c[49]=7;c[50]=6;c[51]=0;c[52]=8;c[53]=88;c[54]
|
|||
|
=0;c[55]=8;c[56]=24;c[57]=0;c[58]=9;c[59]=144;c[60]=83;c[61]=7;c[62]=59;c[63]=0;c[64]=8;c[65]=120;c[66]=0;c[67]=8;c[68]=56;c[69]=0;c[70]=9;c[71]=208;c[72]=81;c[73]=7;c[74]=17;c[75]=0;c[76]=8;c[77]=104;c[78]=0;c[79]=8;c[80]=40;c[81]=0;c[82]=9;c[83]=176;c[84]=0;c[85]=8;c[86]=8;c[87]=0;c[88]=8;c[89]=136;c[90]=0;c[91]=8;c[92]=72;c[93]=0;c[94]=9;c[95]=240;c[96]=80;c[97]=7;c[98]=4;c[99]=0;c[100]=8;c[101]=84;c[102]=0;c[103]=8;c[104]=20;c[105]=85;c[106]=8;c[107]=227;c[108]=83;c[109]=7;c[110]=43;c[111]=0;c[112]=8;c[113]
|
|||
|
=116;c[114]=0;c[115]=8;c[116]=52;c[117]=0;c[118]=9;c[119]=200;c[120]=81;c[121]=7;c[122]=13;c[123]=0;c[124]=8;c[125]=100;c[126]=0;c[127]=8;c[128]=36;c[129]=0;c[130]=9;c[131]=168;c[132]=0;c[133]=8;c[134]=4;c[135]=0;c[136]=8;c[137]=132;c[138]=0;c[139]=8;c[140]=68;c[141]=0;c[142]=9;c[143]=232;c[144]=80;c[145]=7;c[146]=8;c[147]=0;c[148]=8;c[149]=92;c[150]=0;c[151]=8;c[152]=28;c[153]=0;c[154]=9;c[155]=152;c[156]=84;c[157]=7;c[158]=83;c[159]=0;c[160]=8;c[161]=124;c[162]=0;c[163]=8;c[164]=60;c[165]=0;c[166]=9;c[167]
|
|||
|
=216;c[168]=82;c[169]=7;c[170]=23;c[171]=0;c[172]=8;c[173]=108;c[174]=0;c[175]=8;c[176]=44;c[177]=0;c[178]=9;c[179]=184;c[180]=0;c[181]=8;c[182]=12;c[183]=0;c[184]=8;c[185]=140;c[186]=0;c[187]=8;c[188]=76;c[189]=0;c[190]=9;c[191]=248;c[192]=80;c[193]=7;c[194]=3;c[195]=0;c[196]=8;c[197]=82;c[198]=0;c[199]=8;c[200]=18;c[201]=85;c[202]=8;c[203]=163;c[204]=83;c[205]=7;c[206]=35;c[207]=0;c[208]=8;c[209]=114;c[210]=0;c[211]=8;c[212]=50;c[213]=0;c[214]=9;c[215]=196;c[216]=81;c[217]=7;c[218]=11;c[219]=0;c[220]=8;c[221]
|
|||
|
=98;c[222]=0;c[223]=8;c[224]=34;c[225]=0;c[226]=9;c[227]=164;c[228]=0;c[229]=8;c[230]=2;c[231]=0;c[232]=8;c[233]=130;c[234]=0;c[235]=8;c[236]=66;c[237]=0;c[238]=9;c[239]=228;c[240]=80;c[241]=7;c[242]=7;c[243]=0;c[244]=8;c[245]=90;c[246]=0;c[247]=8;c[248]=26;c[249]=0;c[250]=9;c[251]=148;c[252]=84;c[253]=7;c[254]=67;c[255]=0;c[256]=8;c[257]=122;c[258]=0;c[259]=8;c[260]=58;c[261]=0;c[262]=9;c[263]=212;c[264]=82;c[265]=7;c[266]=19;c[267]=0;c[268]=8;c[269]=106;c[270]=0;c[271]=8;c[272]=42;c[273]=0;c[274]=9;c[275]
|
|||
|
=180;c[276]=0;c[277]=8;c[278]=10;c[279]=0;c[280]=8;c[281]=138;c[282]=0;c[283]=8;c[284]=74;c[285]=0;c[286]=9;c[287]=244;c[288]=80;c[289]=7;c[290]=5;c[291]=0;c[292]=8;c[293]=86;c[294]=0;c[295]=8;c[296]=22;c[297]=192;c[298]=8;c[299]=0;c[300]=83;c[301]=7;c[302]=51;c[303]=0;c[304]=8;c[305]=118;c[306]=0;c[307]=8;c[308]=54;c[309]=0;c[310]=9;c[311]=204;c[312]=81;c[313]=7;c[314]=15;c[315]=0;c[316]=8;c[317]=102;c[318]=0;c[319]=8;c[320]=38;c[321]=0;c[322]=9;c[323]=172;c[324]=0;c[325]=8;c[326]=6;c[327]=0;c[328]=8;c[329]
|
|||
|
=134;c[330]=0;c[331]=8;c[332]=70;c[333]=0;c[334]=9;c[335]=236;c[336]=80;c[337]=7;c[338]=9;c[339]=0;c[340]=8;c[341]=94;c[342]=0;c[343]=8;c[344]=30;c[345]=0;c[346]=9;c[347]=156;c[348]=84;c[349]=7;c[350]=99;c[351]=0;c[352]=8;c[353]=126;c[354]=0;c[355]=8;c[356]=62;c[357]=0;c[358]=9;c[359]=220;c[360]=82;c[361]=7;c[362]=27;c[363]=0;c[364]=8;c[365]=110;c[366]=0;c[367]=8;c[368]=46;c[369]=0;c[370]=9;c[371]=188;c[372]=0;c[373]=8;c[374]=14;c[375]=0;c[376]=8;c[377]=142;c[378]=0;c[379]=8;c[380]=78;c[381]=0;c[382]=9;c[383]
|
|||
|
=252;c[384]=96;c[385]=7;c[386]=256;c[387]=0;c[388]=8;c[389]=81;c[390]=0;c[391]=8;c[392]=17;c[393]=85;c[394]=8;c[395]=131;c[396]=82;c[397]=7;c[398]=31;c[399]=0;c[400]=8;c[401]=113;c[402]=0;c[403]=8;c[404]=49;c[405]=0;c[406]=9;c[407]=194;c[408]=80;c[409]=7;c[410]=10;c[411]=0;c[412]=8;c[413]=97;c[414]=0;c[415]=8;c[416]=33;c[417]=0;c[418]=9;c[419]=162;c[420]=0;c[421]=8;c[422]=1;c[423]=0;c[424]=8;c[425]=129;c[426]=0;c[427]=8;c[428]=65;c[429]=0;c[430]=9;c[431]=226;c[432]=80;c[433]=7;c[434]=6;c[435]=0;c[436]=8;c[437]
|
|||
|
=89;c[438]=0;c[439]=8;c[440]=25;c[441]=0;c[442]=9;c[443]=146;c[444]=83;c[445]=7;c[446]=59;c[447]=0;c[448]=8;c[449]=121;c[450]=0;c[451]=8;c[452]=57;c[453]=0;c[454]=9;c[455]=210;c[456]=81;c[457]=7;c[458]=17;c[459]=0;c[460]=8;c[461]=105;c[462]=0;c[463]=8;c[464]=41;c[465]=0;c[466]=9;c[467]=178;c[468]=0;c[469]=8;c[470]=9;c[471]=0;c[472]=8;c[473]=137;c[474]=0;c[475]=8;c[476]=73;c[477]=0;c[478]=9;c[479]=242;c[480]=80;c[481]=7;c[482]=4;c[483]=0;c[484]=8;c[485]=85;c[486]=0;c[487]=8;c[488]=21;c[489]=80;c[490]=8;c[491]
|
|||
|
=258;c[492]=83;c[493]=7;c[494]=43;c[495]=0;c[496]=8;c[497]=117;c[498]=0;c[499]=8;c[500]=53;c[501]=0;c[502]=9;c[503]=202;c[504]=81;c[505]=7;c[506]=13;c[507]=0;c[508]=8;c[509]=101;c[510]=0;c[511]=8;c[512]=37;c[513]=0;c[514]=9;c[515]=170;c[516]=0;c[517]=8;c[518]=5;c[519]=0;c[520]=8;c[521]=133;c[522]=0;c[523]=8;c[524]=69;c[525]=0;c[526]=9;c[527]=234;c[528]=80;c[529]=7;c[530]=8;c[531]=0;c[532]=8;c[533]=93;c[534]=0;c[535]=8;c[536]=29;c[537]=0;c[538]=9;c[539]=154;c[540]=84;c[541]=7;c[542]=83;c[543]=0;c[544]=8;c[545]
|
|||
|
=125;c[546]=0;c[547]=8;c[548]=61;c[549]=0;c[550]=9;c[551]=218;c[552]=82;c[553]=7;c[554]=23;c[555]=0;c[556]=8;c[557]=109;c[558]=0;c[559]=8;c[560]=45;c[561]=0;c[562]=9;c[563]=186;c[564]=0;c[565]=8;c[566]=13;c[567]=0;c[568]=8;c[569]=141;c[570]=0;c[571]=8;c[572]=77;c[573]=0;c[574]=9;c[575]=250;c[576]=80;c[577]=7;c[578]=3;c[579]=0;c[580]=8;c[581]=83;c[582]=0;c[583]=8;c[584]=19;c[585]=85;c[586]=8;c[587]=195;c[588]=83;c[589]=7;c[590]=35;c[591]=0;c[592]=8;c[593]=115;c[594]=0;c[595]=8;c[596]=51;c[597]=0;c[598]=9;c[599]
|
|||
|
=198;c[600]=81;c[601]=7;c[602]=11;c[603]=0;c[604]=8;c[605]=99;c[606]=0;c[607]=8;c[608]=35;c[609]=0;c[610]=9;c[611]=166;c[612]=0;c[613]=8;c[614]=3;c[615]=0;c[616]=8;c[617]=131;c[618]=0;c[619]=8;c[620]=67;c[621]=0;c[622]=9;c[623]=230;c[624]=80;c[625]=7;c[626]=7;c[627]=0;c[628]=8;c[629]=91;c[630]=0;c[631]=8;c[632]=27;c[633]=0;c[634]=9;c[635]=150;c[636]=84;c[637]=7;c[638]=67;c[639]=0;c[640]=8;c[641]=123;c[642]=0;c[643]=8;c[644]=59;c[645]=0;c[646]=9;c[647]=214;c[648]=82;c[649]=7;c[650]=19;c[651]=0;c[652]=8;c[653]
|
|||
|
=107;c[654]=0;c[655]=8;c[656]=43;c[657]=0;c[658]=9;c[659]=182;c[660]=0;c[661]=8;c[662]=11;c[663]=0;c[664]=8;c[665]=139;c[666]=0;c[667]=8;c[668]=75;c[669]=0;c[670]=9;c[671]=246;c[672]=80;c[673]=7;c[674]=5;c[675]=0;c[676]=8;c[677]=87;c[678]=0;c[679]=8;c[680]=23;c[681]=192;c[682]=8;c[683]=0;c[684]=83;c[685]=7;c[686]=51;c[687]=0;c[688]=8;c[689]=119;c[690]=0;c[691]=8;c[692]=55;c[693]=0;c[694]=9;c[695]=206;c[696]=81;c[697]=7;c[698]=15;c[699]=0;c[700]=8;c[701]=103;c[702]=0;c[703]=8;c[704]=39;c[705]=0;c[706]=9;c[707]
|
|||
|
=174;c[708]=0;c[709]=8;c[710]=7;c[711]=0;c[712]=8;c[713]=135;c[714]=0;c[715]=8;c[716]=71;c[717]=0;c[718]=9;c[719]=238;c[720]=80;c[721]=7;c[722]=9;c[723]=0;c[724]=8;c[725]=95;c[726]=0;c[727]=8;c[728]=31;c[729]=0;c[730]=9;c[731]=158;c[732]=84;c[733]=7;c[734]=99;c[735]=0;c[736]=8;c[737]=127;c[738]=0;c[739]=8;c[740]=63;c[741]=0;c[742]=9;c[743]=222;c[744]=82;c[745]=7;c[746]=27;c[747]=0;c[748]=8;c[749]=111;c[750]=0;c[751]=8;c[752]=47;c[753]=0;c[754]=9;c[755]=190;c[756]=0;c[757]=8;c[758]=15;c[759]=0;c[760]=8;c[761]
|
|||
|
=143;c[762]=0;c[763]=8;c[764]=79;c[765]=0;c[766]=9;c[767]=254;c[768]=96;c[769]=7;c[770]=256;c[771]=0;c[772]=8;c[773]=80;c[774]=0;c[775]=8;c[776]=16;c[777]=84;c[778]=8;c[779]=115;c[780]=82;c[781]=7;c[782]=31;c[783]=0;c[784]=8;c[785]=112;c[786]=0;c[787]=8;c[788]=48;c[789]=0;c[790]=9;c[791]=193;c[792]=80;c[793]=7;c[794]=10;c[795]=0;c[796]=8;c[797]=96;c[798]=0;c[799]=8;c[800]=32;c[801]=0;c[802]=9;c[803]=161;c[804]=0;c[805]=8;c[806]=0;c[807]=0;c[808]=8;c[809]=128;c[810]=0;c[811]=8;c[812]=64;c[813]=0;c[814]=9;c[815]
|
|||
|
=225;c[816]=80;c[817]=7;c[818]=6;c[819]=0;c[820]=8;c[821]=88;c[822]=0;c[823]=8;c[824]=24;c[825]=0;c[826]=9;c[827]=145;c[828]=83;c[829]=7;c[830]=59;c[831]=0;c[832]=8;c[833]=120;c[834]=0;c[835]=8;c[836]=56;c[837]=0;c[838]=9;c[839]=209;c[840]=81;c[841]=7;c[842]=17;c[843]=0;c[844]=8;c[845]=104;c[846]=0;c[847]=8;c[848]=40;c[849]=0;c[850]=9;c[851]=177;c[852]=0;c[853]=8;c[854]=8;c[855]=0;c[856]=8;c[857]=136;c[858]=0;c[859]=8;c[860]=72;c[861]=0;c[862]=9;c[863]=241;c[864]=80;c[865]=7;c[866]=4;c[867]=0;c[868]=8;c[869]
|
|||
|
=84;c[870]=0;c[871]=8;c[872]=20;c[873]=85;c[874]=8;c[875]=227;c[876]=83;c[877]=7;c[878]=43;c[879]=0;c[880]=8;c[881]=116;c[882]=0;c[883]=8;c[884]=52;c[885]=0;c[886]=9;c[887]=201;c[888]=81;c[889]=7;c[890]=13;c[891]=0;c[892]=8;c[893]=100;c[894]=0;c[895]=8;c[896]=36;c[897]=0;c[898]=9;c[899]=169;c[900]=0;c[901]=8;c[902]=4;c[903]=0;c[904]=8;c[905]=132;c[906]=0;c[907]=8;c[908]=68;c[909]=0;c[910]=9;c[911]=233;c[912]=80;c[913]=7;c[914]=8;c[915]=0;c[916]=8;c[917]=92;c[918]=0;c[919]=8;c[920]=28;c[921]=0;c[922]=9;c[923]
|
|||
|
=153;c[924]=84;c[925]=7;c[926]=83;c[927]=0;c[928]=8;c[929]=124;c[930]=0;c[931]=8;c[932]=60;c[933]=0;c[934]=9;c[935]=217;c[936]=82;c[937]=7;c[938]=23;c[939]=0;c[940]=8;c[941]=108;c[942]=0;c[943]=8;c[944]=44;c[945]=0;c[946]=9;c[947]=185;c[948]=0;c[949]=8;c[950]=12;c[951]=0;c[952]=8;c[953]=140;c[954]=0;c[955]=8;c[956]=76;c[957]=0;c[958]=9;c[959]=249;c[960]=80;c[961]=7;c[962]=3;c[963]=0;c[964]=8;c[965]=82;c[966]=0;c[967]=8;c[968]=18;c[969]=85;c[970]=8;c[971]=163;c[972]=83;c[973]=7;c[974]=35;c[975]=0;c[976]=8;c[977]
|
|||
|
=114;c[978]=0;c[979]=8;c[980]=50;c[981]=0;c[982]=9;c[983]=197;c[984]=81;c[985]=7;c[986]=11;c[987]=0;c[988]=8;c[989]=98;c[990]=0;c[991]=8;c[992]=34;c[993]=0;c[994]=9;c[995]=165;c[996]=0;c[997]=8;c[998]=2;c[999]=0;c[1000]=8;c[1001]=130;c[1002]=0;c[1003]=8;c[1004]=66;c[1005]=0;c[1006]=9;c[1007]=229;c[1008]=80;c[1009]=7;c[1010]=7;c[1011]=0;c[1012]=8;c[1013]=90;c[1014]=0;c[1015]=8;c[1016]=26;c[1017]=0;c[1018]=9;c[1019]=149;c[1020]=84;c[1021]=7;c[1022]=67;c[1023]=0;c[1024]=8;c[1025]=122;c[1026]=0;c[1027]=8;c[1028]
|
|||
|
=58;c[1029]=0;c[1030]=9;c[1031]=213;c[1032]=82;c[1033]=7;c[1034]=19;c[1035]=0;c[1036]=8;c[1037]=106;c[1038]=0;c[1039]=8;c[1040]=42;c[1041]=0;c[1042]=9;c[1043]=181;c[1044]=0;c[1045]=8;c[1046]=10;c[1047]=0;c[1048]=8;c[1049]=138;c[1050]=0;c[1051]=8;c[1052]=74;c[1053]=0;c[1054]=9;c[1055]=245;c[1056]=80;c[1057]=7;c[1058]=5;c[1059]=0;c[1060]=8;c[1061]=86;c[1062]=0;c[1063]=8;c[1064]=22;c[1065]=192;c[1066]=8;c[1067]=0;c[1068]=83;c[1069]=7;c[1070]=51;c[1071]=0;c[1072]=8;c[1073]=118;c[1074]=0;c[1075]=8;c[1076]=54;c[1077]
|
|||
|
=0;c[1078]=9;c[1079]=205;c[1080]=81;c[1081]=7;c[1082]=15;c[1083]=0;c[1084]=8;c[1085]=102;c[1086]=0;c[1087]=8;c[1088]=38;c[1089]=0;c[1090]=9;c[1091]=173;c[1092]=0;c[1093]=8;c[1094]=6;c[1095]=0;c[1096]=8;c[1097]=134;c[1098]=0;c[1099]=8;c[1100]=70;c[1101]=0;c[1102]=9;c[1103]=237;c[1104]=80;c[1105]=7;c[1106]=9;c[1107]=0;c[1108]=8;c[1109]=94;c[1110]=0;c[1111]=8;c[1112]=30;c[1113]=0;c[1114]=9;c[1115]=157;c[1116]=84;c[1117]=7;c[1118]=99;c[1119]=0;c[1120]=8;c[1121]=126;c[1122]=0;c[1123]=8;c[1124]=62;c[1125]=0;c[1126]
|
|||
|
=9;c[1127]=221;c[1128]=82;c[1129]=7;c[1130]=27;c[1131]=0;c[1132]=8;c[1133]=110;c[1134]=0;c[1135]=8;c[1136]=46;c[1137]=0;c[1138]=9;c[1139]=189;c[1140]=0;c[1141]=8;c[1142]=14;c[1143]=0;c[1144]=8;c[1145]=142;c[1146]=0;c[1147]=8;c[1148]=78;c[1149]=0;c[1150]=9;c[1151]=253;c[1152]=96;c[1153]=7;c[1154]=256;c[1155]=0;c[1156]=8;c[1157]=81;c[1158]=0;c[1159]=8;c[1160]=17;c[1161]=85;c[1162]=8;c[1163]=131;c[1164]=82;c[1165]=7;c[1166]=31;c[1167]=0;c[1168]=8;c[1169]=113;c[1170]=0;c[1171]=8;c[1172]=49;c[1173]=0;c[1174]=9;c[1175]
|
|||
|
=195;c[1176]=80;c[1177]=7;c[1178]=10;c[1179]=0;c[1180]=8;c[1181]=97;c[1182]=0;c[1183]=8;c[1184]=33;c[1185]=0;c[1186]=9;c[1187]=163;c[1188]=0;c[1189]=8;c[1190]=1;c[1191]=0;c[1192]=8;c[1193]=129;c[1194]=0;c[1195]=8;c[1196]=65;c[1197]=0;c[1198]=9;c[1199]=227;c[1200]=80;c[1201]=7;c[1202]=6;c[1203]=0;c[1204]=8;c[1205]=89;c[1206]=0;c[1207]=8;c[1208]=25;c[1209]=0;c[1210]=9;c[1211]=147;c[1212]=83;c[1213]=7;c[1214]=59;c[1215]=0;c[1216]=8;c[1217]=121;c[1218]=0;c[1219]=8;c[1220]=57;c[1221]=0;c[1222]=9;c[1223]=211;c[1224]
|
|||
|
=81;c[1225]=7;c[1226]=17;c[1227]=0;c[1228]=8;c[1229]=105;c[1230]=0;c[1231]=8;c[1232]=41;c[1233]=0;c[1234]=9;c[1235]=179;c[1236]=0;c[1237]=8;c[1238]=9;c[1239]=0;c[1240]=8;c[1241]=137;c[1242]=0;c[1243]=8;c[1244]=73;c[1245]=0;c[1246]=9;c[1247]=243;c[1248]=80;c[1249]=7;c[1250]=4;c[1251]=0;c[1252]=8;c[1253]=85;c[1254]=0;c[1255]=8;c[1256]=21;c[1257]=80;c[1258]=8;c[1259]=258;c[1260]=83;c[1261]=7;c[1262]=43;c[1263]=0;c[1264]=8;c[1265]=117;c[1266]=0;c[1267]=8;c[1268]=53;c[1269]=0;c[1270]=9;c[1271]=203;c[1272]=81;c[1273]
|
|||
|
=7;c[1274]=13;c[1275]=0;c[1276]=8;c[1277]=101;c[1278]=0;c[1279]=8;c[1280]=37;c[1281]=0;c[1282]=9;c[1283]=171;c[1284]=0;c[1285]=8;c[1286]=5;c[1287]=0;c[1288]=8;c[1289]=133;c[1290]=0;c[1291]=8;c[1292]=69;c[1293]=0;c[1294]=9;c[1295]=235;c[1296]=80;c[1297]=7;c[1298]=8;c[1299]=0;c[1300]=8;c[1301]=93;c[1302]=0;c[1303]=8;c[1304]=29;c[1305]=0;c[1306]=9;c[1307]=155;c[1308]=84;c[1309]=7;c[1310]=83;c[1311]=0;c[1312]=8;c[1313]=125;c[1314]=0;c[1315]=8;c[1316]=61;c[1317]=0;c[1318]=9;c[1319]=219;c[1320]=82;c[1321]=7;c[1322]
|
|||
|
=23;c[1323]=0;c[1324]=8;c[1325]=109;c[1326]=0;c[1327]=8;c[1328]=45;c[1329]=0;c[1330]=9;c[1331]=187;c[1332]=0;c[1333]=8;c[1334]=13;c[1335]=0;c[1336]=8;c[1337]=141;c[1338]=0;c[1339]=8;c[1340]=77;c[1341]=0;c[1342]=9;c[1343]=251;c[1344]=80;c[1345]=7;c[1346]=3;c[1347]=0;c[1348]=8;c[1349]=83;c[1350]=0;c[1351]=8;c[1352]=19;c[1353]=85;c[1354]=8;c[1355]=195;c[1356]=83;c[1357]=7;c[1358]=35;c[1359]=0;c[1360]=8;c[1361]=115;c[1362]=0;c[1363]=8;c[1364]=51;c[1365]=0;c[1366]=9;c[1367]=199;c[1368]=81;c[1369]=7;c[1370]=11;c[1371]
|
|||
|
=0;c[1372]=8;c[1373]=99;c[1374]=0;c[1375]=8;c[1376]=35;c[1377]=0;c[1378]=9;c[1379]=167;c[1380]=0;c[1381]=8;c[1382]=3;c[1383]=0;c[1384]=8;c[1385]=131;c[1386]=0;c[1387]=8;c[1388]=67;c[1389]=0;c[1390]=9;c[1391]=231;c[1392]=80;c[1393]=7;c[1394]=7;c[1395]=0;c[1396]=8;c[1397]=91;c[1398]=0;c[1399]=8;c[1400]=27;c[1401]=0;c[1402]=9;c[1403]=151;c[1404]=84;c[1405]=7;c[1406]=67;c[1407]=0;c[1408]=8;c[1409]=123;c[1410]=0;c[1411]=8;c[1412]=59;c[1413]=0;c[1414]=9;c[1415]=215;c[1416]=82;c[1417]=7;c[1418]=19;c[1419]=0;c[1420]
|
|||
|
=8;c[1421]=107;c[1422]=0;c[1423]=8;c[1424]=43;c[1425]=0;c[1426]=9;c[1427]=183;c[1428]=0;c[1429]=8;c[1430]=11;c[1431]=0;c[1432]=8;c[1433]=139;c[1434]=0;c[1435]=8;c[1436]=75;c[1437]=0;c[1438]=9;c[1439]=247;c[1440]=80;c[1441]=7;c[1442]=5;c[1443]=0;c[1444]=8;c[1445]=87;c[1446]=0;c[1447]=8;c[1448]=23;c[1449]=192;c[1450]=8;c[1451]=0;c[1452]=83;c[1453]=7;c[1454]=51;c[1455]=0;c[1456]=8;c[1457]=119;c[1458]=0;c[1459]=8;c[1460]=55;c[1461]=0;c[1462]=9;c[1463]=207;c[1464]=81;c[1465]=7;c[1466]=15;c[1467]=0;c[1468]=8;c[1469]
|
|||
|
=103;c[1470]=0;c[1471]=8;c[1472]=39;c[1473]=0;c[1474]=9;c[1475]=175;c[1476]=0;c[1477]=8;c[1478]=7;c[1479]=0;c[1480]=8;c[1481]=135;c[1482]=0;c[1483]=8;c[1484]=71;c[1485]=0;c[1486]=9;c[1487]=239;c[1488]=80;c[1489]=7;c[1490]=9;c[1491]=0;c[1492]=8;c[1493]=95;c[1494]=0;c[1495]=8;c[1496]=31;c[1497]=0;c[1498]=9;c[1499]=159;c[1500]=84;c[1501]=7;c[1502]=99;c[1503]=0;c[1504]=8;c[1505]=127;c[1506]=0;c[1507]=8;c[1508]=63;c[1509]=0;c[1510]=9;c[1511]=223;c[1512]=82;c[1513]=7;c[1514]=27;c[1515]=0;c[1516]=8;c[1517]=111;c[1518]
|
|||
|
=0;c[1519]=8;c[1520]=47;c[1521]=0;c[1522]=9;c[1523]=191;c[1524]=0;c[1525]=8;c[1526]=15;c[1527]=0;c[1528]=8;c[1529]=143;c[1530]=0;c[1531]=8;c[1532]=79;c[1533]=0;c[1534]=9;c[1535]=255;Jc=b;b=$rt_createIntArray(96);c=b.data;c[0]=80;c[1]=5;c[2]=1;c[3]=87;c[4]=5;c[5]=257;c[6]=83;c[7]=5;c[8]=17;c[9]=91;c[10]=5;c[11]=4097;c[12]=81;c[13]=5;c[14]=5;c[15]=89;c[16]=5;c[17]=1025;c[18]=85;c[19]=5;c[20]=65;c[21]=93;c[22]=5;c[23]=16385;c[24]=80;c[25]=5;c[26]=3;c[27]=88;c[28]=5;c[29]=513;c[30]=84;c[31]=5;c[32]=33;c[33]=92;c[34]
|
|||
|
=5;c[35]=8193;c[36]=82;c[37]=5;c[38]=9;c[39]=90;c[40]=5;c[41]=2049;c[42]=86;c[43]=5;c[44]=129;c[45]=192;c[46]=5;c[47]=24577;c[48]=80;c[49]=5;c[50]=2;c[51]=87;c[52]=5;c[53]=385;c[54]=83;c[55]=5;c[56]=25;c[57]=91;c[58]=5;c[59]=6145;c[60]=81;c[61]=5;c[62]=7;c[63]=89;c[64]=5;c[65]=1537;c[66]=85;c[67]=5;c[68]=97;c[69]=93;c[70]=5;c[71]=24577;c[72]=80;c[73]=5;c[74]=4;c[75]=88;c[76]=5;c[77]=769;c[78]=84;c[79]=5;c[80]=49;c[81]=92;c[82]=5;c[83]=12289;c[84]=82;c[85]=5;c[86]=13;c[87]=90;c[88]=5;c[89]=3073;c[90]=86;c[91]
|
|||
|
=5;c[92]=193;c[93]=192;c[94]=5;c[95]=24577;Jd=b;b=$rt_createIntArray(31);c=b.data;c[0]=3;c[1]=4;c[2]=5;c[3]=6;c[4]=7;c[5]=8;c[6]=9;c[7]=10;c[8]=11;c[9]=13;c[10]=15;c[11]=17;c[12]=19;c[13]=23;c[14]=27;c[15]=31;c[16]=35;c[17]=43;c[18]=51;c[19]=59;c[20]=67;c[21]=83;c[22]=99;c[23]=115;c[24]=131;c[25]=163;c[26]=195;c[27]=227;c[28]=258;c[29]=0;c[30]=0;Je=b;b=$rt_createIntArray(31);c=b.data;c[0]=0;c[1]=0;c[2]=0;c[3]=0;c[4]=0;c[5]=0;c[6]=0;c[7]=0;c[8]=1;c[9]=1;c[10]=1;c[11]=1;c[12]=2;c[13]=2;c[14]=2;c[15]=2;c[16]=3;c[17]
|
|||
|
=3;c[18]=3;c[19]=3;c[20]=4;c[21]=4;c[22]=4;c[23]=4;c[24]=5;c[25]=5;c[26]=5;c[27]=5;c[28]=0;c[29]=112;c[30]=112;Jf=b;b=$rt_createIntArray(30);c=b.data;c[0]=1;c[1]=2;c[2]=3;c[3]=4;c[4]=5;c[5]=7;c[6]=9;c[7]=13;c[8]=17;c[9]=25;c[10]=33;c[11]=49;c[12]=65;c[13]=97;c[14]=129;c[15]=193;c[16]=257;c[17]=385;c[18]=513;c[19]=769;c[20]=1025;c[21]=1537;c[22]=2049;c[23]=3073;c[24]=4097;c[25]=6145;c[26]=8193;c[27]=12289;c[28]=16385;c[29]=24577;Jg=b;b=$rt_createIntArray(30);c=b.data;c[0]=0;c[1]=0;c[2]=0;c[3]=0;c[4]=1;c[5]=1;c[6]
|
|||
|
=2;c[7]=2;c[8]=3;c[9]=3;c[10]=4;c[11]=4;c[12]=5;c[13]=5;c[14]=6;c[15]=6;c[16]=7;c[17]=7;c[18]=8;c[19]=8;c[20]=9;c[21]=9;c[22]=10;c[23]=10;c[24]=11;c[25]=11;c[26]=12;c[27]=12;c[28]=13;c[29]=13;Jh=b;}
|
|||
|
function Cu(){var a=this;C.call(a);a.D=0;a.bs=0;a.E=null;a.bm=0;a.bw=0;a.dp=0;a.cj=0;a.b_=0;a.cZ=0;a.cH=0;a.c8=null;a.cI=0;a.cD=null;a.cO=0;a.g=null;a.c=null;}
|
|||
|
var Ji=null;function DN(a,b,c,d,e,f,g){a.D=0;a.cZ=b<<24>>24;a.cH=c<<24>>24;a.c8=d;a.cI=e;a.cD=f;a.cO=g;a.E=null;}
|
|||
|
function FE(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o;c=a.g.b;d=a.g.f;e=a.c.k;f=a.c.l;g=a.c.h;h=g>=a.c.n?a.c.s-g|0:(a.c.n-g|0)-1|0;a:{b:while(true){c:{d:{e:{f:{g:{switch(a.D){case 0:break f;case 2:i=a.cj;while(f<i){if(!d){a.c.k=e;a.c.l=f;a.g.f=d;j=a.g;j.e=Long_add(j.e,Long_fromInt(c-a.g.b|0));a.g.b=c;a.c.h=g;return I(a.c,b);}b=0;d=d+(-1)|0;k=a.g.q.data;l=c+1|0;e=e|(k[c]&255)<<f;f=f+8|0;c=l;}a.bs=a.bs+(e&Ji.data[i])|0;e=e>>i;f=f-i|0;a.bw=a.cH;a.E=a.cD;a.bm=a.cO;a.D=3;break g;case 4:i=a.cj;while(f<i){if(!d){a.c.k=e;a.c.l
|
|||
|
=f;a.g.f=d;j=a.g;j.e=Long_add(j.e,Long_fromInt(c-a.g.b|0));a.g.b=c;a.c.h=g;return I(a.c,b);}b=0;d=d+(-1)|0;k=a.g.q.data;l=c+1|0;e=e|(k[c]&255)<<f;f=f+8|0;c=l;}a.b_=a.b_+(e&Ji.data[i])|0;e=e>>i;f=f-i|0;a.D=5;break c;case 6:break d;case 7:if(f>7){f=f+(-8)|0;d=d+1|0;c=c+(-1)|0;}a.c.h=g;b=I(a.c,b);g=a.c.h;if(a.c.n!=a.c.h){a.c.k=e;a.c.l=f;a.g.f=d;j=a.g;j.e=Long_add(j.e,Long_fromInt(c-a.g.b|0));a.g.b=c;a.c.h=g;return I(a.c,b);}a.D=8;break a;case 9:a.c.k=e;a.c.l=f;a.g.f=d;j=a.g;j.e=Long_add(j.e,Long_fromInt(c-a.g.b
|
|||
|
|0));a.g.b=c;a.c.h=g;return I(a.c,(-3));case 1:break e;case 3:break;case 5:break c;case 8:break a;default:a.c.k=e;a.c.l=f;a.g.f=d;j=a.g;j.e=Long_add(j.e,Long_fromInt(c-a.g.b|0));a.g.b=c;a.c.h=g;return I(a.c,(-2));}}l=a.bw;while(f<l){if(!d){a.c.k=e;a.c.l=f;a.g.f=d;j=a.g;j.e=Long_add(j.e,Long_fromInt(c-a.g.b|0));a.g.b=c;a.c.h=g;return I(a.c,b);}b=0;d=d+(-1)|0;k=a.g.q.data;i=c+1|0;e=e|(k[c]&255)<<f;f=f+8|0;c=i;}m=(a.bm+(e&Ji.data[l])|0)*3|0;k=a.E.data;i=m+1|0;e=e>>k[i];f=f-a.E.data[i]|0;l=a.E.data[m];if(l&16){a.cj
|
|||
|
=l&15;a.b_=a.E.data[m+2|0];a.D=4;continue b;}if(l&64){a.D=9;a.g.o=B(65);a.c.k=e;a.c.l=f;a.g.f=d;j=a.g;j.e=Long_add(j.e,Long_fromInt(c-a.g.b|0));a.g.b=c;a.c.h=g;return I(a.c,(-3));}a.bw=l;a.bm=(m/3|0)+a.E.data[m+2|0]|0;continue b;}if(h>=258&&d>=10){a.c.k=e;a.c.l=f;a.g.f=d;j=a.g;j.e=Long_add(j.e,Long_fromInt(c-a.g.b|0));a.g.b=c;a.c.h=g;b=F$(a,a.cZ,a.cH,a.c8,a.cI,a.cD,a.cO,a.c,a.g);c=a.g.b;d=a.g.f;e=a.c.k;f=a.c.l;g=a.c.h;h=g>=a.c.n?a.c.s-g|0:(a.c.n-g|0)-1|0;if(b){a.D=b!=1?9:7;continue b;}}a.bw=a.cZ;a.E=a.c8;a.bm
|
|||
|
=a.cI;a.D=1;}l=a.bw;while(f<l){if(!d)break b;b=0;d=d+(-1)|0;k=a.g.q.data;i=c+1|0;e=e|(k[c]&255)<<f;f=f+8|0;c=i;}m=(a.bm+(e&Ji.data[l])|0)*3|0;k=a.E.data;i=m+1|0;e=e>>>k[i];f=f-a.E.data[i]|0;n=a.E.data[m];if(!n){a.dp=a.E.data[m+2|0];a.D=6;continue b;}if(n&16){a.cj=n&15;a.bs=a.E.data[m+2|0];a.D=2;continue b;}if(!(n&64)){a.bw=n;a.bm=(m/3|0)+a.E.data[m+2|0]|0;continue b;}if(!(n&32)){a.D=9;a.g.o=B(66);a.c.k=e;a.c.l=f;a.g.f=d;j=a.g;j.e=Long_add(j.e,Long_fromInt(c-a.g.b|0));a.g.b=c;a.c.h=g;return I(a.c,(-3));}a.D=
|
|||
|
7;continue b;}if(h)i=g;else{if(g!=a.c.s)i=g;else if(!a.c.n)i=g;else{i=0;h=i>=a.c.n?a.c.s-i|0:(a.c.n-i|0)-1|0;}if(!h){a.c.h=i;b=I(a.c,b);i=a.c.h;h=i>=a.c.n?a.c.s-i|0:(a.c.n-i|0)-1|0;if(i==a.c.s&&a.c.n){i=0;h=i>=a.c.n?a.c.s-i|0:(a.c.n-i|0)-1|0;}if(!h){a.c.k=e;a.c.l=f;a.g.f=d;j=a.g;j.e=Long_add(j.e,Long_fromInt(c-a.g.b|0));a.g.b=c;a.c.h=i;return I(a.c,b);}}}b=0;k=a.c.u.data;g=i+1|0;k[i]=a.dp<<24>>24;h=h+(-1)|0;a.D=0;continue b;}i=g-a.b_|0;while(i<0){i=i+a.c.s|0;}while(a.bs){if(h)l=g;else{if(g!=a.c.s)l=g;else if
|
|||
|
(!a.c.n)l=g;else{l=0;h=l>=a.c.n?a.c.s-l|0:(a.c.n-l|0)-1|0;}if(!h){a.c.h=l;b=I(a.c,b);l=a.c.h;h=l>=a.c.n?a.c.s-l|0:(a.c.n-l|0)-1|0;if(l==a.c.s&&a.c.n){l=0;h=l>=a.c.n?a.c.s-l|0:(a.c.n-l|0)-1|0;}if(!h){a.c.k=e;a.c.l=f;a.g.f=d;j=a.g;j.e=Long_add(j.e,Long_fromInt(c-a.g.b|0));a.g.b=c;a.c.h=l;return I(a.c,b);}}}o=a.c.u.data;g=l+1|0;k=a.c.u.data;m=i+1|0;o[l]=k[i];h=h+(-1)|0;i=m==a.c.s?0:m;a.bs=a.bs-1|0;}a.D=0;}a.c.k=e;a.c.l=f;a.g.f=d;j=a.g;j.e=Long_add(j.e,Long_fromInt(c-a.g.b|0));a.g.b=c;a.c.h=g;return I(a.c,b);}a.c.k
|
|||
|
=e;a.c.l=f;a.g.f=d;j=a.g;j.e=Long_add(j.e,Long_fromInt(c-a.g.b|0));a.g.b=c;a.c.h=g;return I(a.c,1);}
|
|||
|
function EX(a,b){return;}
|
|||
|
function F$(a,b,c,d,e,f,g,h,i){var j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;j=i.b;k=i.f;l=h.k;m=h.l;n=h.h;o=n>=h.n?h.s-n|0:(h.n-n|0)-1|0;p=Ji.data[b];q=Ji.data[c];while(true){if(m<20){k=k+(-1)|0;r=i.q.data;b=j+1|0;l=l|(r[j]&255)<<m;m=m+8|0;j=b;continue;}a:{s=d.data;t=l&p;u=(e+t|0)*3|0;c=s[u];if(!c){b=u+1|0;l=l>>s[b];m=m-s[b]|0;r=h.u.data;c=n+1|0;r[n]=s[u+2|0]<<24>>24;o=o+(-1)|0;}else{while(true){b=u+1|0;l=l>>s[b];m=m-s[b]|0;if(c&16){b=c&15;v=s[u+2|0]+(l&Ji.data[b])|0;w=l>>b;m=m-b|0;while(m<15){k=k+(-1)|0;r=i.q.data;b=
|
|||
|
j+1|0;w=w|(r[j]&255)<<m;m=m+8|0;j=b;}r=f.data;b=w&q;x=(g+b|0)*3|0;c=r[x];while(true){l=x+1|0;w=w>>r[l];m=m-r[l]|0;if(c&16)break;if(c&64){i.o=B(65);b=i.f-k|0;c=m>>3;if(c<b)b=c;c=k+b|0;e=j-b|0;b=m-(b<<3)|0;h.k=w;h.l=b;i.f=c;i.e=Long_add(i.e,Long_fromInt(e-i.b|0));i.b=e;h.h=n;return (-3);}b=(b+r[x+2|0]|0)+(w&Ji.data[c])|0;x=(g+b|0)*3|0;c=r[x];}b=c&15;while(m<b){k=k+(-1)|0;s=i.q.data;c=j+1|0;w=w|(s[j]&255)<<m;m=m+8|0;j=c;}x=r[x+2|0]+(w&Ji.data[b])|0;l=w>>b;m=m-b|0;o=o-v|0;if(n>=x){w=n-x|0;b=n-w|0;if(b>0&&2>b){s
|
|||
|
=h.u.data;b=n+1|0;r=h.u.data;c=w+1|0;s[n]=r[w];s=h.u.data;n=b+1|0;r=h.u.data;w=c+1|0;s[b]=r[c];v=v+(-2)|0;}else{Z(h.u,w,h.u,n,2);n=n+2|0;w=w+2|0;v=v+(-2)|0;}}else{w=n-x|0;while(true){w=w+h.s|0;if(w>=0)break;}b=h.s-w|0;if(v>b){v=v-b|0;c=n-w|0;if(c>0&&b>c){c=n;while(true){s=h.u.data;n=c+1|0;r=h.u.data;x=w+1|0;s[c]=r[w];b=b+(-1)|0;if(!b)break;c=n;w=x;}}else{Z(h.u,w,h.u,n,b);n=n+b|0;}w=0;}}b=n-w|0;if(b>0&&v>b){while(true){s=h.u.data;c=n+1|0;r=h.u.data;b=w+1|0;s[n]=r[w];v=v+(-1)|0;if(!v)break;n=c;w=b;}break a;}Z(h.u,
|
|||
|
w,h.u,n,v);c=n+v|0;break a;}if(c&64){if(c&32){v=i.f-k|0;b=m>>3;if(b<v)v=b;b=k+v|0;c=j-v|0;e=m-(v<<3)|0;h.k=l;h.l=e;i.f=b;i.e=Long_add(i.e,Long_fromInt(c-i.b|0));i.b=c;h.h=n;return 1;}i.o=B(66);v=i.f-k|0;b=m>>3;if(b<v)v=b;e=k+v|0;b=j-v|0;c=m-(v<<3)|0;h.k=l;h.l=c;i.f=e;i.e=Long_add(i.e,Long_fromInt(b-i.b|0));i.b=b;h.h=n;return (-3);}t=(t+s[u+2|0]|0)+(l&Ji.data[c])|0;u=(e+t|0)*3|0;c=s[u];if(!c)break;}b=u+1|0;l=l>>s[b];m=m-s[b]|0;r=h.u.data;c=n+1|0;r[n]=s[u+2|0]<<24>>24;o=o+(-1)|0;}}if(o<258)break;if(k<10)break;n
|
|||
|
=c;}v=i.f-k|0;b=m>>3;if(b<v)v=b;b=k+v|0;e=j-v|0;g=m-(v<<3)|0;h.k=l;h.l=g;i.f=b;i.e=Long_add(i.e,Long_fromInt(e-i.b|0));i.b=e;h.h=c;return 0;}
|
|||
|
function FI(){var b,c;b=$rt_createIntArray(17);c=b.data;c[0]=0;c[1]=1;c[2]=3;c[3]=7;c[4]=15;c[5]=31;c[6]=63;c[7]=127;c[8]=255;c[9]=511;c[10]=1023;c[11]=2047;c[12]=4095;c[13]=8191;c[14]=16383;c[15]=32767;c[16]=65535;Ji=b;}
|
|||
|
function BC(){Q.call(this);}
|
|||
|
function BU(){C.call(this);this.d5=null;}
|
|||
|
var Jj=null;var I6=null;var I7=null;function FJ(a){var b=new BU();Gm(b,a);return b;}
|
|||
|
function Gm(a,b){a.d5=b;}
|
|||
|
function EC(){Jj=FJ(B(67));I6=FJ(B(68));I7=FJ(B(69));}
|
|||
|
function BB(){Q.call(this);}
|
|||
|
function DD(){Bq.call(this);}
|
|||
|
function Cx(){var a=this;C.call(a);a.dU=null;a.c$=0.0;a.es=0.0;a.bp=null;a.by=null;a.b3=null;a.U=0;}
|
|||
|
function Fe(a,b){var c;if(b!==null){a.by=b;return a;}c=new X;G(c,B(70));D(c);}
|
|||
|
function Hi(a,b){return;}
|
|||
|
function Ff(a,b){var c;if(b!==null){a.b3=b;return a;}c=new X;G(c,B(70));D(c);}
|
|||
|
function Hr(a,b){return;}
|
|||
|
function C8(a,b,c,d){var e,f,$$je;if(!(a.U==2&&!d)&&a.U!=3){a.U=d?2:1;while(true){try{e=Fh(a,b,c);}catch($$e){$$je=U($$e);if($$je instanceof P){f=$$je;D(HY(f));}else{throw $$e;}}if(BK(e))return e;if(BV(e)){if(d&&Bg(b)){if(a.by===I7)return Bh(L(b));if(L(c)<=R(a.bp))return Jk;Bf(b,b.p+L(b)|0);if(a.by===I6)Ce(c,a.bp);}return e;}if(Dw(e)){if(a.by===I7)return e;if(a.by===I6){if(L(c)<R(a.bp))return Jk;Ce(c,a.bp);}Bf(b,b.p+Ch(e)|0);}else if(Cv(e)){if(a.b3===I7)break;if(a.b3===I6){if(L(c)<R(a.bp))return Jk;Ce(c,a.bp);}Bf(b,
|
|||
|
b.p+Ch(e)|0);}}return e;}b=new Bx;H(b);D(b);}
|
|||
|
function F9(a,b){if(a.U!=3&&a.U!=2){b=new Bx;H(b);D(b);}a.U=3;return Jl;}
|
|||
|
function FB(a){a.U=0;return a;}
|
|||
|
function F8(a,b){var c,d;if(a.U&&a.U!=3){b=new Bx;H(b);D(b);}if(!L(b))return F6(0);if(a.U)FB(a);c=F6(BA(8,L(b)*a.c$|0));while(true){d=C8(a,b,c,0);if(BV(d))break;if(BK(d))c=CW(a,c);if(!CO(d))continue;Ej(d);}b=C8(a,b,c,1);if(CO(b))Ej(b);while(!BV(F9(a,c))){c=CW(a,c);}ET(c);return c;}
|
|||
|
function CW(a,b){var c,d,e;c=b.bz;d=Dr(c,BA(8,c.data.length*2|0));e=Gc(d,0,d.data.length);Bf(e,b.p);return e;}
|
|||
|
function G6(a,b){return Jl;}
|
|||
|
function GL(a){return;}
|
|||
|
function Cb(){Ci.call(this);}
|
|||
|
function DZ(a){return a.cW;}
|
|||
|
function FN(){var a=this;Cb.call(a);a.cW=0;a.cB=0;a.bz=null;}
|
|||
|
function HG(a,b,c,d,e,f){var g=new FN();HW(g,a,b,c,d,e,f);return g;}
|
|||
|
function HW(a,b,c,d,e,f,g){C4(a,c);a.p=e;a.N=f;a.cB=b;a.cW=g;a.bz=d;}
|
|||
|
function Fp(a,b){return a.bz.data[b+a.cB|0];}
|
|||
|
function CS(a,b,c){a.bz.data[b+a.cB|0]=c;}
|
|||
|
function Hm(a){return 1;}
|
|||
|
function Ha(a){return a.bz;}
|
|||
|
function HJ(a){return a.cW;}
|
|||
|
function B_(){var a=this;C.call(a);a.eb=null;a.cK=null;a.ef=0.0;a.c9=0.0;a.cU=null;a.cX=null;a.bu=0;}
|
|||
|
function Ek(a,b){var c;if(b!==null){a.cU=b;return a;}c=new X;G(c,B(71));D(c);}
|
|||
|
function HL(a,b){return;}
|
|||
|
function FK(a,b){var c;if(b!==null){a.cX=b;return a;}c=new X;G(c,B(71));D(c);}
|
|||
|
function HC(a,b){return;}
|
|||
|
function Fz(a,b,c,d){var e,f,g,h,$$je;a:{if(a.bu!=3){if(d)break a;if(a.bu!=2)break a;}b=new Bx;H(b);D(b);}a.bu=!d?1:2;while(true){try{e=Fx(a,b,c);}catch($$e){$$je=U($$e);if($$je instanceof P){f=$$je;D(HY(f));}else{throw $$e;}}if(BV(e)){if(!d)return e;g=L(b);if(g<=0)return e;e=Bh(g);}else if(BK(e))break;h=!Cv(e)?a.cU:a.cX;b:{if(h!==I6){if(h===Jj)break b;else return e;}if(L(c)<a.cK.data.length)return Jk;E6(c,a.cK);}Bf(b,b.p+Ch(e)|0);}return e;}
|
|||
|
function EM(a,b){var c;if(a.bu!=2&&a.bu!=4){b=new Bx;H(b);D(b);}c=Jl;if(c===Jl)a.bu=3;return c;}
|
|||
|
function GO(a,b){return Jl;}
|
|||
|
function Cf(){var a=this;C.call(a);a.br=0;a.cg=0;}
|
|||
|
var Jl=null;var Jk=null;function FP(a,b){var c=new Cf();Gr(c,a,b);return c;}
|
|||
|
function Gr(a,b,c){a.br=b;a.cg=c;}
|
|||
|
function BV(a){return a.br?0:1;}
|
|||
|
function BK(a){return a.br!=1?0:1;}
|
|||
|
function CO(a){return !Dw(a)&&!Cv(a)?0:1;}
|
|||
|
function Dw(a){return a.br!=2?0:1;}
|
|||
|
function Cv(a){return a.br!=3?0:1;}
|
|||
|
function Ch(a){var b;if(CO(a))return a.cg;b=new BW;H(b);D(b);}
|
|||
|
function Bh(b){return FP(2,b);}
|
|||
|
function Ej(a){var b,c;switch(a.br){case 0:b=new C9;H(b);D(b);case 1:b=new DI;H(b);D(b);case 2:b=new D_;c=a.cg;H(b);b.dw=c;D(b);case 3:b=new C2;c=a.cg;H(b);b.ds=c;D(b);default:}}
|
|||
|
function EA(){Jl=FP(0,0);Jk=FP(1,0);}
|
|||
|
function CA(){Cx.call(this);}
|
|||
|
function Fh(a,b,c){var d,e,f,g,h,i,j,k,l,m;d=$rt_createByteArray(Ba(L(b),512));e=d.data;f=0;g=0;h=$rt_createCharArray(Ba(L(c),512));i=h.data;a:{while(true){if((f+32|0)>g&&Bg(b)){j=f;while(j<g){e[j-f|0]=e[j];j=j+1|0;}k=g-f|0;g=Ba(L(b)+k|0,e.length);Gq(b,d,k,g-k|0);f=0;}if(!Bg(c)){l=!Bg(b)&&f>=g?Jl:Jk;break a;}k=Ba(L(c),i.length);m=new D8;m.c_=b;m.dc=c;l=FS(a,d,f,g,h,0,k,m);f=m.cT;if(l===null&&0==m.ch)l=Jl;Gs(c,h,0,m.ch);if(l!==null)break;}}Bf(b,b.p-(g-f|0)|0);return l;}
|
|||
|
function Dj(){CA.call(this);}
|
|||
|
function FS(a,b,c,d,e,f,g,h){var i,j,k,l,m,n,o,p,q;i=null;a:{b:{c:{while(c<d){if(f>=g)break a;j=b.data;k=c+1|0;l=j[c]&255;if(!(l&128)){j=e.data;m=f+1|0;j[f]=l&65535;}else if((l&224)==192){if(k>=d){c=k+(-1)|0;if(Cl(h))break a;i=Jl;break a;}n=k+1|0;k=j[k];if(!Bw(a,k)){c=n+(-2)|0;i=Bh(1);break a;}j=e.data;m=f+1|0;j[f]=((l&31)<<6|k&63)&65535;k=n;}else if((l&240)==224){if((k+2|0)>d){c=k+(-1)|0;if(Cl(h))break a;i=Jl;break a;}c=k+1|0;m=j[k];k=c+1|0;o=j[c];if(!Bw(a,m))break b;if(!Bw(a,o))break b;p=((l&15)<<12|(m&63)
|
|||
|
<<6|o&63)&65535;if(DJ(p)){c=k+(-3)|0;i=Bh(3);break a;}j=e.data;m=f+1|0;j[f]=p;}else{if((l&248)!=240){c=k+(-1)|0;i=Bh(1);break a;}if((k+3|0)>d){c=k+(-1)|0;if(Cl(h))break a;i=Jl;break a;}if((f+2|0)>g){c=k+(-1)|0;if(FO(h,2))break a;i=Jk;break a;}c=k+1|0;m=j[k];n=c+1|0;o=j[c];k=n+1|0;n=j[n];if(!Bw(a,m))break c;if(!Bw(a,o))break c;if(!Bw(a,n))break c;j=e.data;q=(l&7)<<18|(m&63)<<12|(o&63)<<6|n&63;c=f+1|0;j[f]=Ee(q);m=c+1|0;j[c]=Do(q);}c=k;f=m;}break a;}c=k+(-3)|0;i=Bh(1);break a;}c=k+(-3)|0;i=Bh(1);}h.cT=c;h.ch=
|
|||
|
f;return i;}
|
|||
|
function Bw(a,b){return (b&192)!=128?0:1;}
|
|||
|
function Y(){var a=this;Bc.call(a);a.P=0;a.ea=null;}
|
|||
|
function FY(a,b){var c=new Y();HZ(c,a,b);return c;}
|
|||
|
function HZ(a,b,c){a.ea=b;H(a);a.P=c;}
|
|||
|
function Gz(){var a=this;C.call(a);a.d$=0;a.dK=0;a.dN=Long_ZERO;a.er=0;a.dl=0;a.bL=null;a.dd=null;a.dm=null;a.eG=0;a.ec=Long_ZERO;a.dQ=0;a.ee=Long_ZERO;}
|
|||
|
function Ii(){var a=new Gz();Ht(a);return a;}
|
|||
|
function Ht(a){a.d$=0;a.dK=0;a.dl=255;a.dQ=0;a.ee=Long_ZERO;}
|
|||
|
function Da(){C.call(this);this.bA=0;}
|
|||
|
var Jm=null;function Hb(){var a=new Da();FH(a);return a;}
|
|||
|
function FH(a){a.bA=0;}
|
|||
|
function HV(a,b,c,d){var e,f,g,h;e=a.bA^(-1);while(true){d=d+(-1)|0;if(d<0)break;f=b.data;g=Jm.data;h=c+1|0;e=g[(e^f[c])&255]^e>>>8;c=h;}a.bA=e^(-1);}
|
|||
|
function Hw(a){a.bA=0;}
|
|||
|
function GQ(a,b){a.bA=Long_and(b,new Long(4294967295, 0)).lo;}
|
|||
|
function GS(a){return Long_and(Long_fromInt(a.bA),new Long(4294967295, 0));}
|
|||
|
function Ey(){var b,c,d;Jm=null;Jm=$rt_createIntArray(256);b=0;while(b<256){c=8;d=b;while(true){c=c+(-1)|0;if(c<0)break;if(!(d&1)){d=d>>>1;continue;}d=(-306674912)^d>>>1;}Jm.data[b]=d;b=b+1|0;}}
|
|||
|
function CQ(){B_.call(this);}
|
|||
|
function Fx(a,b,c){var d,e,f,g,h,i,j,k,l,m;d=$rt_createCharArray(Ba(L(b),512));e=d.data;f=0;g=0;h=$rt_createByteArray(Ba(L(c),512));i=h.data;a:{while(true){if((f+32|0)>g&&Bg(b)){j=f;while(j<g){e[j-f|0]=e[j];j=j+1|0;}k=g-f|0;g=Ba(L(b)+k|0,e.length);Dh(b,d,k,g-k|0);f=0;}if(!Bg(c)){l=!Bg(b)&&f>=g?Jl:Jk;break a;}k=Ba(L(c),i.length);m=new Du;m.df=b;m.dv=c;l=Gj(a,d,f,g,h,0,k,m);f=m.cu;if(l===null&&0==m.ce)l=Jl;Dz(c,h,0,m.ce);if(l!==null)break;}}Bf(b,b.p-(g-f|0)|0);return l;}
|
|||
|
function Eh(){CQ.call(this);}
|
|||
|
function Gj(a,b,c,d,e,f,g,h){var i,j,k,l,m,n;i=null;a:{while(c<d){if(f>=g){j=c;break a;}k=b.data;j=c+1|0;l=k[c];if(l<128){k=e.data;m=f+1|0;k[f]=l<<24>>24;}else if(l<2048){if((f+2|0)>g){j=j+(-1)|0;if(Cd(h,2))break a;i=Jk;break a;}k=e.data;c=f+1|0;k[f]=(192|l>>6)<<24>>24;m=c+1|0;k[c]=(128|l&63)<<24>>24;}else if(!DJ(l)){if((f+3|0)>g){j=j+(-1)|0;if(Cd(h,3))break a;i=Jk;break a;}k=e.data;n=f+1|0;k[f]=(224|l>>12)<<24>>24;c=n+1|0;k[n]=(128|l>>6&63)<<24>>24;m=c+1|0;k[c]=(128|l&63)<<24>>24;}else{if(!Cs(l)){i=Bh(1);break a;}if
|
|||
|
(j>=d){if(Ez(h))break a;i=Jl;break a;}c=j+1|0;j=k[j];if(!Co(j)){j=c+(-2)|0;i=Bh(1);break a;}if((f+4|0)>g){j=c+(-2)|0;if(Cd(h,4))break a;i=Jk;break a;}k=e.data;n=Ds(l,j);j=f+1|0;k[f]=(240|n>>18)<<24>>24;f=j+1|0;k[j]=(128|n>>12&63)<<24>>24;j=f+1|0;k[f]=(128|n>>6&63)<<24>>24;m=j+1|0;k[j]=(128|n&63)<<24>>24;j=c;}c=j;f=m;}j=c;}h.cu=j;h.ce=f;return i;}
|
|||
|
function F_(){var a=this;Bp.call(a);a.bh=null;a.ci=0;}
|
|||
|
function GY(){var a=new F_();HS(a);return a;}
|
|||
|
function HS(a){a.bh=$rt_createByteArray(32);}
|
|||
|
function Dv(a,b,c,d){var e,f,g,h,i;e=a.ci+d|0;if(a.bh.data.length<e){f=BA(e,(a.bh.data.length*3|0)/2|0);a.bh=Fr(a.bh,f);}e=0;while(e<d){g=b.data;h=a.bh.data;f=a.ci;a.ci=f+1|0;i=c+1|0;h[f]=g[c];e=e+1|0;c=i;}}
|
|||
|
function Cg(a){return Fr(a.bh,a.ci);}
|
|||
|
function E5(){C.call(this);}
|
|||
|
function F3(b){if (b === null || b.constructor.$meta.item === undefined) {$rt_throw(Jn());}return b.data.length;}
|
|||
|
function BZ(){P.call(this);}
|
|||
|
function Bx(){Bc.call(this);}
|
|||
|
function FD(){Bq.call(this);}
|
|||
|
function HY(a){var b=new FD();G0(b,a);return b;}
|
|||
|
function G0(a,b){a.cf=1;a.co=1;a.bY=b;}
|
|||
|
function CC(){BR.call(this);}
|
|||
|
var Jo=0.0;var Jp=null;function FT(){Jo=NaN;Jp=Bt($rt_floatcls());}
|
|||
|
function Bz(){C.call(this);}
|
|||
|
var IM=null;var Jq=null;var Jr=null;var Js=null;var IL=null;function F2(){var b,c;b=$rt_createIntArray(10);c=b.data;c[0]=1;c[1]=10;c[2]=100;c[3]=1000;c[4]=10000;c[5]=100000;c[6]=1000000;c[7]=10000000;c[8]=100000000;c[9]=1000000000;IM=b;b=$rt_createLongArray(19);c=b.data;c[0]=Long_fromInt(1);c[1]=Long_fromInt(10);c[2]=Long_fromInt(100);c[3]=Long_fromInt(1000);c[4]=Long_fromInt(10000);c[5]=Long_fromInt(100000);c[6]=Long_fromInt(1000000);c[7]=Long_fromInt(10000000);c[8]=Long_fromInt(100000000);c[9]=Long_fromInt(1000000000);c[10]
|
|||
|
=new Long(1410065408, 2);c[11]=new Long(1215752192, 23);c[12]=new Long(3567587328, 232);c[13]=new Long(1316134912, 2328);c[14]=new Long(276447232, 23283);c[15]=new Long(2764472320, 232830);c[16]=new Long(1874919424, 2328306);c[17]=new Long(1569325056, 23283064);c[18]=new Long(2808348672, 232830643);Jq=b;b=$rt_createLongArray(6);c=b.data;c[0]=Long_fromInt(1);c[1]=Long_fromInt(10);c[2]=Long_fromInt(100);c[3]=Long_fromInt(10000);c[4]=Long_fromInt(100000000);c[5]=new Long(1874919424, 2328306);Jr=b;Js=new DE;IL=
|
|||
|
new CR;}
|
|||
|
function Cc(){C.call(this);}
|
|||
|
var Jt=null;var Ju=null;function EW(b,c){var d,e,f,g,h,i,j,k,l,m,n,o,p,q;d=$rt_floatToIntBits(b);c.du=!(d&(-2147483648))?0:1;e=d&8388607;f=d>>23&255;if(!e&&!f){c.cF=0;c.c7=0;return;}g=0;if(f)e=e|8388608;else{e=e<<1;while(Long_eq(Long_and(Long_fromInt(e),Long_fromInt(8388608)),Long_ZERO)){e=e<<1;f=f+(-1)|0;g=g+1|0;}}h=Ju.data;i=0;j=h.length;if(i>j){c=new X;H(c);D(c);}j=j-1|0;a:{while(true){k=(i+j|0)/2|0;l=h[k];if(l==f)break;if(f>=l){i=k+1|0;if(i>j){k= -k-2|0;break a;}}else{j=k-1|0;if(j<i){k= -k-1|0;break a;}}}}if
|
|||
|
(k<0)k= -k-2|0;m=9+(f-Ju.data[k]|0)|0;n=Long_fromInt(e);i=Long_shru(Long_mul(n,Long_fromInt(Jt.data[k])),32-m|0).lo;if(i>=1000000000){k=k+1|0;m=9+(f-Ju.data[k]|0)|0;i=Long_shru(Long_mul(n,Long_fromInt(Jt.data[k])),32-m|0).lo;}f=(31-m|0)-g|0;j=f>=0?Jt.data[k]>>>f:Jt.data[k]<< -f;l=(j+1|0)>>1;o=j>>1;if(e==4194304)o=o>>2;p=10;while(p<=o){p=p*10|0;}if((i%p|0)>=(o/2|0))p=p/10|0;q=10;while(q<=l){q=q*10|0;}if((q-(i%q|0)|0)>(l/2|0))q=q/10|0;e=C6(p,q);e=e>0?Dm(i/p|0,p):e<0?Dm(i/q|0,q)+q|0:Dm((i+(q/2|0)|0)/q|0,q);if(e
|
|||
|
>=1000000000){k=k+1|0;e=e/10|0;}else if(e<100000000){k=k+(-1)|0;e=e*10|0;}c.cF=e;c.c7=k-50|0;}
|
|||
|
function ER(){var b,c,d,e,f,g,h,i;Jt=$rt_createIntArray(100);Ju=$rt_createIntArray(100);b=2000000000;c=127;d=0;e=b;while(d<50){f=Jt.data;g=d+50|0;f[g]=$rt_udiv(e,20);Ju.data[g]=c;g=$rt_udiv(e,10);h=$rt_umod(g,10);while(g<=b&&!(g&(-2147483648))){g=g<<1;c=c+1|0;h=h<<1;}e=g+(h/10|0)|0;d=d+1|0;}c=127;d=0;while(d<50){i=0;h=b;while(h>214748364){h=h>>1;i=i+1|0;c=c+(-1)|0;}h=h*10|0;b=i<=0?h:Long_add(Long_fromInt(h),Long_shr(Long_mul(Long_fromInt(b&((1<<i)-1|0)),Long_fromInt(10)),i)).lo;f=Jt.data;i=(50-d|0)-1|0;f[i]
|
|||
|
=$rt_udiv(b,20);Ju.data[i]=c;d=d+1|0;}}
|
|||
|
function CR(){var a=this;C.call(a);a.cF=0;a.c7=0;a.du=0;}
|
|||
|
function DE(){C.call(this);}
|
|||
|
function BW(){P.call(this);}
|
|||
|
function Du(){var a=this;C.call(a);a.df=null;a.dv=null;a.cu=0;a.ce=0;}
|
|||
|
function Ez(a){return Bg(a.df);}
|
|||
|
function Cd(a,b){return L(a.dv)<b?0:1;}
|
|||
|
function G_(a,b){a.cu=b;}
|
|||
|
function H4(a,b){a.ce=b;}
|
|||
|
function C9(){P.call(this);}
|
|||
|
function DI(){P.call(this);}
|
|||
|
function D_(){BB.call(this);this.dw=0;}
|
|||
|
function GZ(a){return M(J(F(N(),B(72)),a.dw));}
|
|||
|
function C2(){BB.call(this);this.ds=0;}
|
|||
|
function H3(a){return M(J(F(N(),B(73)),a.ds));}
|
|||
|
function Cm(){P.call(this);}
|
|||
|
function D8(){var a=this;C.call(a);a.c_=null;a.dc=null;a.cT=0;a.ch=0;}
|
|||
|
function Cl(a){return Bg(a.c_);}
|
|||
|
function FO(a,b){return L(a.dc)<b?0:1;}
|
|||
|
function Hg(a,b){a.cT=b;}
|
|||
|
function HR(a,b){a.ch=b;}
|
|||
|
function B$(){BW.call(this);}
|
|||
|
function B0(){P.call(this);}
|
|||
|
$rt_packages([-1,"com",0,"jcraft",1,"jzlib",-1,"java",3,"nio",4,"charset",3,"io",3,"lang"]);
|
|||
|
$rt_metadata([C,"Object",7,0,[],0,3,0,0,V,0,C,[],0,3,0,0,Db,0,C,[],3,3,0,0,De,0,C,[Db],0,3,0,0,Gi,0,C,[],4,0,0,0,F1,0,C,[],4,3,0,0,BG,0,C,[],3,3,0,0,Bk,0,C,[],3,3,0,0,B3,0,C,[],3,3,0,0,Br,0,C,[BG,Bk,B3],0,3,0,0,BP,0,C,[],0,3,0,["b8",function(){return H1(this);}],Bq,0,BP,[],0,3,0,0,BS,0,Bq,[],0,3,0,0,FF,0,BS,[],0,3,0,0,Ct,0,C,[BG,B3],0,0,0,0,Cy,0,C,[],3,3,0,0,EE,0,Ct,[Cy],0,3,0,0,BR,0,C,[BG],1,3,0,0,C0,0,BR,[Bk],0,3,0,0,BI,0,BS,[],0,3,0,0,Fs,0,BI,[],0,3,0,0,Fa,0,BI,[],0,3,0,0,Bc,0,BP,[],0,3,0,0,P,0,Bc,[],0,3,
|
|||
|
0,0,Be,0,C,[],3,3,0,0,Bv,0,C,[Be],3,3,0,0,Ed,0,C,[Bv],3,3,0,0,DO,0,C,[Bv],3,3,0,0,DG,0,C,[Bv],3,3,0,0,Dl,0,C,[Bv],3,3,0,0,DU,0,C,[Bv,Ed,DO,DG,Dl],3,3,0,0,DR,0,C,[],3,3,0,0,DX,0,C,[Be],3,3,0,0,Fc,0,C,[Be,DU,DR,DX],1,3,0,["gw",function(b,c){return GF(this,b,c);},"gb",function(b,c){return GR(this,b,c);},"eW",function(b){return Hl(this,b);},"e4",function(b,c,d){return Hs(this,b,c,d);},"fI",function(b){return Hu(this,b);},"fU",function(){return HM(this);},"gz",function(b,c,d){return GU(this,b,c,d);}],Gy,0,C,[],4,
|
|||
|
3,0,0,EO,0,C,[Be],1,3,0,0,W,0,C,[],0,3,H_,0,CI,0,W,[],0,3,0,0,Gg,0,CI,[],0,3,0,0,D3,0,C,[],0,3,0,0,Q,"IOException",6,Bc,[],0,3,0,0,DQ,0,C,[],3,3,0,0,DA,0,C,[DQ],0,3,0,0,B6,0,C,[Bk],0,3,0,0,DP,0,C,[],3,3,0,0,DB,0,C,[DP],0,0,0,["d0",function(b){Ge(this,b);},"em",function(b){HK(this,b);}],E1,0,C,[Be],1,3,0,0,D2,0,C,[Be],3,3,0,0,CY,0,C,[D2],4,0,0,["gY",function(){return G2(this);}],D0,0,C,[],3,3,0,0]);
|
|||
|
$rt_metadata([Cn,0,C,[D0],3,3,0,0,BN,0,C,[Cn],1,3,0,0,CX,0,BN,[],0,3,0,["bX",function(b,c,d){return HI(this,b,c,d);},"c5",function(){return GT(this);}],BL,0,BN,[],0,3,0,0,DM,0,C,[],3,3,0,0,C7,0,BL,[DM],0,3,0,0,Ck,0,C,[Bk],1,3,0,0,Di,0,BL,[],0,3,0,["bX",function(b,c,d){return Hj(this,b,c,d);},"c5",function(){return H2(this);}],CP,0,C,[],1,3,0,0,C$,0,CP,[],0,3,0,0,Fv,0,C,[],0,3,0,0,C1,0,C,[],3,3,0,0,CH,0,C,[C1],1,3,0,0,BT,0,C,[],3,3,0,0,F7,0,CH,[BT,BG],0,3,0,0,Dy,0,C,[],0,0,0,0,X,"IllegalArgumentException",7,
|
|||
|
P,[],0,3,0,0,DK,0,X,[],0,3,0,0,EU,0,C,[Be],1,3,0,0,Bn,0,C,[Be],1,3,0,0,FG,0,Bn,[],1,3,0,0,Et,0,Bn,[],1,3,0,0,Go,0,Bn,[],1,3,0,0,Gx,0,X,[],0,3,0,0,Cj,0,C,[],128,3,0,0,D7,0,Cj,[],4,3,0,0,Gn,0,Ck,[],0,3,0,0,BJ,0,C,[],1,3,0,0,CJ,0,BJ,[Bk],1,3,0,0,Dx,0,CJ,[],0,0,0,0,Eg,0,C,[],3,3,0,0,Ci,0,BJ,[Bk,Cy,B3,Eg],1,3,0,0,C_,"GZIPException",2,Q,[],0,3,0,0,CK,0,C,[],3,0,0,0,Fg,0,C,[CK],4,3,0,["dy",function(b){GN(this,b);},"cl",function(){Hz(this);},"cY",function(){return Hy(this);},"bn",function(b,c,d){He(this,b,c,d);}],BD,
|
|||
|
0,P,[],0,3,0,0,CV,0,Bc,[],0,3,0,0,Cz,0,C,[],4,3,0,0,CU,0,C,[],3,3,0,0,CG,0,C,[CU,BT],0,0,0,0,BE,0,CG,[],0,0,0,0,O,"IndexOutOfBoundsException",7,P,[],0,3,0,0,CD,"StringIndexOutOfBoundsException",7,O,[],0,3,0,0,DH,0,C,[],4,3,0,0,BM,"EOFException",6,Q,[],0,3,0,0,CE,0,C,[],4,0,0,0,DT,0,C,[],3,3,0,0,Bp,0,C,[Cn,DT],1,3,0,0,Cp,0,Bp,[],0,3,0,0,Df,0,Cp,[],0,3,0,0]);
|
|||
|
$rt_metadata([Ea,0,Bp,[],0,0,0,0,FL,0,C,[],4,3,0,0,BX,0,C,[],4,0,0,0,Bj,0,C,[],4,0,0,0,Cu,0,C,[],4,0,0,0,BC,"UTFDataFormatException",6,Q,[],0,3,0,0,BU,0,C,[],0,3,0,0,BB,0,Q,[],0,3,0,0,DD,0,Bq,[],0,3,0,0,Cx,0,C,[],1,3,0,0,Cb,0,Ci,[],1,0,0,0,FN,0,Cb,[],0,0,0,0,B_,0,C,[],1,3,0,0,Cf,0,C,[],0,3,0,0,CA,0,Cx,[],1,3,0,0,Dj,0,CA,[],0,3,0,0,Y,0,Bc,[],0,0,0,0,Gz,0,C,[BT],0,3,0,0,Da,0,C,[CK],4,3,0,["bn",function(b,c,d){HV(this,b,c,d);},"cl",function(){Hw(this);},"dy",function(b){GQ(this,b);},"cY",function(){return GS(this);
|
|||
|
}],CQ,0,B_,[],1,3,0,0,Eh,0,CQ,[],0,3,0,0,F_,0,Bp,[],0,3,0,0,E5,0,C,[],4,3,0,0,BZ,0,P,[],0,3,0,0,Bx,0,Bc,[],0,3,0,0,FD,0,Bq,[],0,3,0,0,CC,0,BR,[Bk],0,3,0,0,Bz,0,C,[],0,0,0,0,Cc,0,C,[],4,3,0,0,CR,0,C,[],0,3,0,0,DE,0,C,[],0,3,0,0,BW,0,P,[],0,3,0,0,Du,0,C,[],0,3,0,0,C9,0,P,[],0,3,0,0,DI,0,P,[],0,3,0,0,D_,"MalformedInputException",5,BB,[],0,3,0,["b8",function(){return GZ(this);}],C2,"UnmappableCharacterException",5,BB,[],0,3,0,["b8",function(){return H3(this);}],Cm,"BufferUnderflowException",4,P,[],0,3,0,0,D8,0,
|
|||
|
C,[],0,3,0,0,B$,"ReadOnlyBufferException",4,BW,[],0,3,0,0,B0,"BufferOverflowException",4,P,[],0,3,0,0]);
|
|||
|
function $rt_array(cls,data){this.hP=null;this.$id$=0;this.type=cls;this.data=data;this.constructor=$rt_arraycls(cls);}$rt_array.prototype=Object.create(($rt_objcls()).prototype);$rt_array.prototype.toString=function(){var str="[";for(var i=0;i<this.data.length;++i){if(i>0){str+=", ";}str+=this.data[i].toString();}str+="]";return str;};$rt_setCloneMethod($rt_array.prototype,function(){var dataCopy;if('slice' in this.data){dataCopy=this.data.slice();}else {dataCopy=new this.data.constructor(this.data.length);for
|
|||
|
(var i=0;i<dataCopy.length;++i){dataCopy[i]=this.data[i];}}return new $rt_array(this.type,dataCopy);});$rt_stringPool(["@","0","","overflow-x:hidden;overflow-y:hidden;","WebGL 2.0 is not supported in your browser, please get a new one!",": "," at ","Caused by: ","null","Index out of bounds","UTF-8","EAGPKG!!","invalid epk file","<file>"," end","invalid file hash for ","</file>","yee","End of stream reached","Malformed UTF-8 sequence","Should never been thrown","Stream closed","footer is not found","Unexpected end of ZLIB input stream",
|
|||
|
"<22>","Replacement preconditions do not hold","New position "," is outside of range [0;","]","The last byte in dst "," is outside of array of size ","Length "," must be non-negative","Offset ",")","The last byte in src ","Capacity is negative: ","The last char in dst ","The last char in src "," is outside of string of size ","Start "," must be before end ","BIG_ENDIAN","LITTLE_ENDIAN","Either src or dest is null","need dictionary","unknown compression method","unknown header flags set","incorrect data check",
|
|||
|
"incorrect length check","incorrect header check","invalid window size","bad extra field length","header crc mismatch","invalid stored block lengths","invalid block type","too many length or distance symbols","invalid bit length repeat","oversubscribed dynamic bit lengths tree","incomplete dynamic bit lengths tree","oversubscribed distance tree","incomplete distance tree","empty distance tree with lengths","oversubscribed literal/length tree","incomplete literal/length tree","invalid distance code","invalid literal/length code",
|
|||
|
"IGNORE","REPLACE","REPORT","newAction must be non-null","Action must be non-null","Malformed input of length ","Unmappable characters of length "]);
|
|||
|
Br.prototype.toString=function(){return $rt_ustr(this);};
|
|||
|
Br.prototype.valueOf=Br.prototype.toString;C.prototype.toString=function(){return $rt_ustr(HF(this));};
|
|||
|
C.prototype.__teavm_class__=function(){return $dbg_class(this);};
|
|||
|
function Long_eq(a,b){return a.hi===b.hi&&a.lo===b.lo;}function Long_ne(a,b){return a.hi!==b.hi||a.lo!==b.lo;}function Long_gt(a,b){if(a.hi<b.hi){return false;}if(a.hi>b.hi){return true;}var x=a.lo>>>1;var y=b.lo>>>1;if(x!==y){return x>y;}return (a.lo&1)>(b.lo&1);}function Long_ge(a,b){if(a.hi<b.hi){return false;}if(a.hi>b.hi){return true;}var x=a.lo>>>1;var y=b.lo>>>1;if(x!==y){return x>=y;}return (a.lo&1)>=(b.lo&1);}function Long_lt(a,b){if(a.hi>b.hi){return false;}if(a.hi<b.hi){return true;}var x=a.lo>>>
|
|||
|
1;var y=b.lo>>>1;if(x!==y){return x<y;}return (a.lo&1)<(b.lo&1);}function Long_le(a,b){if(a.hi>b.hi){return false;}if(a.hi<b.hi){return true;}var x=a.lo>>>1;var y=b.lo>>>1;if(x!==y){return x<=y;}return (a.lo&1)<=(b.lo&1);}function Long_add(a,b){if(a.hi===a.lo>>31&&b.hi===b.lo>>31){return Long_fromNumber(a.lo+b.lo);}else if(Math.abs(a.hi)<Long_MAX_NORMAL&&Math.abs(b.hi)<Long_MAX_NORMAL){return Long_fromNumber(Long_toNumber(a)+Long_toNumber(b));}var a_lolo=a.lo&0xFFFF;var a_lohi=a.lo>>>16;var a_hilo=a.hi&0xFFFF;var a_hihi
|
|||
|
=a.hi>>>16;var b_lolo=b.lo&0xFFFF;var b_lohi=b.lo>>>16;var b_hilo=b.hi&0xFFFF;var b_hihi=b.hi>>>16;var lolo=a_lolo+b_lolo|0;var lohi=a_lohi+b_lohi+(lolo>>16)|0;var hilo=a_hilo+b_hilo+(lohi>>16)|0;var hihi=a_hihi+b_hihi+(hilo>>16)|0;return new Long(lolo&0xFFFF|(lohi&0xFFFF)<<16,hilo&0xFFFF|(hihi&0xFFFF)<<16);}function Long_inc(a){var lo=a.lo+1|0;var hi=a.hi;if(lo===0){hi=hi+1|0;}return new Long(lo,hi);}function Long_dec(a){var lo=a.lo -1|0;var hi=a.hi;if(lo=== -1){hi=hi -1|0;}return new Long(lo,hi);}function Long_neg(a)
|
|||
|
{return Long_inc(new Long(a.lo^0xFFFFFFFF,a.hi^0xFFFFFFFF));}function Long_sub(a,b){if(a.hi===a.lo>>31&&b.hi===b.lo>>31){return Long_fromNumber(a.lo -b.lo);}var a_lolo=a.lo&0xFFFF;var a_lohi=a.lo>>>16;var a_hilo=a.hi&0xFFFF;var a_hihi=a.hi>>>16;var b_lolo=b.lo&0xFFFF;var b_lohi=b.lo>>>16;var b_hilo=b.hi&0xFFFF;var b_hihi=b.hi>>>16;var lolo=a_lolo -b_lolo|0;var lohi=a_lohi -b_lohi+(lolo>>16)|0;var hilo=a_hilo -b_hilo+(lohi>>16)|0;var hihi=a_hihi -b_hihi+(hilo>>16)|0;return new Long(lolo&0xFFFF|(lohi&0xFFFF)<<
|
|||
|
16,hilo&0xFFFF|(hihi&0xFFFF)<<16);}function Long_compare(a,b){var r=a.hi -b.hi;if(r!==0){return r;}r=(a.lo>>>1) -(b.lo>>>1);if(r!==0){return r;}return (a.lo&1) -(b.lo&1);}function Long_isPositive(a){return (a.hi&0x80000000)===0;}function Long_isNegative(a){return (a.hi&0x80000000)!==0;}function Long_mul(a,b){var positive=Long_isNegative(a)===Long_isNegative(b);if(Long_isNegative(a)){a=Long_neg(a);}if(Long_isNegative(b)){b=Long_neg(b);}var a_lolo=a.lo&0xFFFF;var a_lohi=a.lo>>>16;var a_hilo=a.hi&0xFFFF;var a_hihi
|
|||
|
=a.hi>>>16;var b_lolo=b.lo&0xFFFF;var b_lohi=b.lo>>>16;var b_hilo=b.hi&0xFFFF;var b_hihi=b.hi>>>16;var lolo=0;var lohi=0;var hilo=0;var hihi=0;lolo=a_lolo*b_lolo|0;lohi=lolo>>>16;lohi=(lohi&0xFFFF)+a_lohi*b_lolo|0;hilo=hilo+(lohi>>>16)|0;lohi=(lohi&0xFFFF)+a_lolo*b_lohi|0;hilo=hilo+(lohi>>>16)|0;hihi=hilo>>>16;hilo=(hilo&0xFFFF)+a_hilo*b_lolo|0;hihi=hihi+(hilo>>>16)|0;hilo=(hilo&0xFFFF)+a_lohi*b_lohi|0;hihi=hihi+(hilo>>>16)|0;hilo=(hilo&0xFFFF)+a_lolo*b_hilo|0;hihi=hihi+(hilo>>>16)|0;hihi=hihi+a_hihi*b_lolo
|
|||
|
+a_hilo*b_lohi+a_lohi*b_hilo+a_lolo*b_hihi|0;var result=new Long(lolo&0xFFFF|lohi<<16,hilo&0xFFFF|hihi<<16);return positive?result:Long_neg(result);}function Long_div(a,b){if(Math.abs(a.hi)<Long_MAX_NORMAL&&Math.abs(b.hi)<Long_MAX_NORMAL){return Long_fromNumber(Long_toNumber(a)/Long_toNumber(b));}return (Long_divRem(a,b))[0];}function Long_udiv(a,b){if(a.hi>=0&&a.hi<Long_MAX_NORMAL&&b.hi>=0&&b.hi<Long_MAX_NORMAL){return Long_fromNumber(Long_toNumber(a)/Long_toNumber(b));}return (Long_udivRem(a,b))[0];}function Long_rem(a,
|
|||
|
b){if(Math.abs(a.hi)<Long_MAX_NORMAL&&Math.abs(b.hi)<Long_MAX_NORMAL){return Long_fromNumber(Long_toNumber(a)%Long_toNumber(b));}return (Long_divRem(a,b))[1];}function Long_urem(a,b){if(a.hi>=0&&a.hi<Long_MAX_NORMAL&&b.hi>=0&&b.hi<Long_MAX_NORMAL){return Long_fromNumber(Long_toNumber(a)/Long_toNumber(b));}return (Long_udivRem(a,b))[1];}function Long_divRem(a,b){if(b.lo===0&&b.hi===0){throw new Error("Division by zero");}var positive=Long_isNegative(a)===Long_isNegative(b);if(Long_isNegative(a)){a=Long_neg(a);}if
|
|||
|
(Long_isNegative(b)){b=Long_neg(b);}a=new LongInt(a.lo,a.hi,0);b=new LongInt(b.lo,b.hi,0);var q=LongInt_div(a,b);a=new Long(a.lo,a.hi);q=new Long(q.lo,q.hi);return positive?[q,a]:[Long_neg(q),Long_neg(a)];}function Long_udivRem(a,b){if(b.lo===0&&b.hi===0){throw new Error("Division by zero");}a=new LongInt(a.lo,a.hi,0);b=new LongInt(b.lo,b.hi,0);var q=LongInt_div(a,b);a=new Long(a.lo,a.hi);q=new Long(q.lo,q.hi);return [q,a];}function Long_shiftLeft16(a){return new Long(a.lo<<16,a.lo>>>16|a.hi<<16);}function Long_shiftRight16(a)
|
|||
|
{return new Long(a.lo>>>16|a.hi<<16,a.hi>>>16);}function Long_and(a,b){return new Long(a.lo&b.lo,a.hi&b.hi);}function Long_or(a,b){return new Long(a.lo|b.lo,a.hi|b.hi);}function Long_xor(a,b){return new Long(a.lo^b.lo,a.hi^b.hi);}function Long_shl(a,b){b&=63;if(b===0){return a;}else if(b<32){return new Long(a.lo<<b,a.lo>>>32 -b|a.hi<<b);}else if(b===32){return new Long(0,a.lo);}else {return new Long(0,a.lo<<b -32);}}function Long_shr(a,b){b&=63;if(b===0){return a;}else if(b<32){return new Long(a.lo>>>b|a.hi
|
|||
|
<<32 -b,a.hi>>b);}else if(b===32){return new Long(a.hi,a.hi>>31);}else {return new Long(a.hi>>b -32,a.hi>>31);}}function Long_shru(a,b){b&=63;if(b===0){return a;}else if(b<32){return new Long(a.lo>>>b|a.hi<<32 -b,a.hi>>>b);}else if(b===32){return new Long(a.hi,0);}else {return new Long(a.hi>>>b -32,0);}}function LongInt(lo,hi,sup){this.lo=lo;this.hi=hi;this.sup=sup;}function LongInt_mul(a,b){var a_lolo=(a.lo&0xFFFF)*b|0;var a_lohi=(a.lo>>>16)*b|0;var a_hilo=(a.hi&0xFFFF)*b|0;var a_hihi=(a.hi>>>16)*b|0;var sup
|
|||
|
=a.sup*b|0;a_lohi=a_lohi+(a_lolo>>>16)|0;a_hilo=a_hilo+(a_lohi>>>16)|0;a_hihi=a_hihi+(a_hilo>>>16)|0;sup=sup+(a_hihi>>>16)|0;a.lo=a_lolo&0xFFFF|a_lohi<<16;a.hi=a_hilo&0xFFFF|a_hihi<<16;a.sup=sup&0xFFFF;}function LongInt_sub(a,b){var a_lolo=a.lo&0xFFFF;var a_lohi=a.lo>>>16;var a_hilo=a.hi&0xFFFF;var a_hihi=a.hi>>>16;var b_lolo=b.lo&0xFFFF;var b_lohi=b.lo>>>16;var b_hilo=b.hi&0xFFFF;var b_hihi=b.hi>>>16;a_lolo=a_lolo -b_lolo|0;a_lohi=a_lohi -b_lohi+(a_lolo>>16)|0;a_hilo=a_hilo -b_hilo+(a_lohi>>16)|0;a_hihi=a_hihi -
|
|||
|
b_hihi+(a_hilo>>16)|0;var sup=a.sup -b.sup+(a_hihi>>16)|0;a.lo=a_lolo&0xFFFF|a_lohi<<16;a.hi=a_hilo&0xFFFF|a_hihi<<16;a.sup=sup;}function LongInt_add(a,b){var a_lolo=a.lo&0xFFFF;var a_lohi=a.lo>>>16;var a_hilo=a.hi&0xFFFF;var a_hihi=a.hi>>>16;var b_lolo=b.lo&0xFFFF;var b_lohi=b.lo>>>16;var b_hilo=b.hi&0xFFFF;var b_hihi=b.hi>>>16;a_lolo=a_lolo+b_lolo|0;a_lohi=a_lohi+b_lohi+(a_lolo>>16)|0;a_hilo=a_hilo+b_hilo+(a_lohi>>16)|0;a_hihi=a_hihi+b_hihi+(a_hilo>>16)|0;var sup=a.sup+b.sup+(a_hihi>>16)|0;a.lo=a_lolo&0xFFFF
|
|||
|
|a_lohi<<16;a.hi=a_hilo&0xFFFF|a_hihi<<16;a.sup=sup;}function LongInt_inc(a){a.lo=a.lo+1|0;if(a.lo===0){a.hi=a.hi+1|0;if(a.hi===0){a.sup=a.sup+1&0xFFFF;}}}function LongInt_dec(a){a.lo=a.lo -1|0;if(a.lo=== -1){a.hi=a.hi -1|0;if(a.hi=== -1){a.sup=a.sup -1&0xFFFF;}}}function LongInt_ucompare(a,b){var r=a.sup -b.sup;if(r!==0){return r;}r=(a.hi>>>1) -(b.hi>>>1);if(r!==0){return r;}r=(a.hi&1) -(b.hi&1);if(r!==0){return r;}r=(a.lo>>>1) -(b.lo>>>1);if(r!==0){return r;}return (a.lo&1) -(b.lo&1);}function LongInt_numOfLeadingZeroBits(a)
|
|||
|
{var n=0;var d=16;while(d>0){if(a>>>d!==0){a>>>=d;n=n+d|0;}d=d/2|0;}return 31 -n;}function LongInt_shl(a,b){if(b===0){return;}if(b<32){a.sup=(a.hi>>>32 -b|a.sup<<b)&0xFFFF;a.hi=a.lo>>>32 -b|a.hi<<b;a.lo<<=b;}else if(b===32){a.sup=a.hi&0xFFFF;a.hi=a.lo;a.lo=0;}else if(b<64){a.sup=(a.lo>>>64 -b|a.hi<<b -32)&0xFFFF;a.hi=a.lo<<b;a.lo=0;}else if(b===64){a.sup=a.lo&0xFFFF;a.hi=0;a.lo=0;}else {a.sup=a.lo<<b -64&0xFFFF;a.hi=0;a.lo=0;}}function LongInt_shr(a,b){if(b===0){return;}if(b===32){a.lo=a.hi;a.hi=a.sup;a.sup
|
|||
|
=0;}else if(b<32){a.lo=a.lo>>>b|a.hi<<32 -b;a.hi=a.hi>>>b|a.sup<<32 -b;a.sup>>>=b;}else if(b===64){a.lo=a.sup;a.hi=0;a.sup=0;}else if(b<64){a.lo=a.hi>>>b -32|a.sup<<64 -b;a.hi=a.sup>>>b -32;a.sup=0;}else {a.lo=a.sup>>>b -64;a.hi=0;a.sup=0;}}function LongInt_copy(a){return new LongInt(a.lo,a.hi,a.sup);}function LongInt_div(a,b){var bits=b.hi!==0?LongInt_numOfLeadingZeroBits(b.hi):LongInt_numOfLeadingZeroBits(b.lo)+32;var sz=1+(bits/16|0);var dividentBits=bits%16;LongInt_shl(b,bits);LongInt_shl(a,dividentBits);var q
|
|||
|
=new LongInt(0,0,0);while(sz-->0){LongInt_shl(q,16);var digitA=(a.hi>>>16)+0x10000*a.sup;var digitB=b.hi>>>16;var digit=digitA/digitB|0;var t=LongInt_copy(b);LongInt_mul(t,digit);if(LongInt_ucompare(t,a)>=0){while(LongInt_ucompare(t,a)>0){LongInt_sub(t,b); --digit;}}else {while(true){var nextT=LongInt_copy(t);LongInt_add(nextT,b);if(LongInt_ucompare(nextT,a)>0){break;}t=nextT;++digit;}}LongInt_sub(a,t);q.lo|=digit;LongInt_shl(a,16);}LongInt_shr(a,bits+16);return q;}function TeaVMThread(runner){this.status=3;this.stack
|
|||
|
=[];this.suspendCallback=null;this.runner=runner;this.attribute=null;this.completeCallback=null;}TeaVMThread.prototype.push=function(){for(var i=0;i<arguments.length;++i){this.stack.push(arguments[i]);}return this;};TeaVMThread.prototype.s=TeaVMThread.prototype.push;TeaVMThread.prototype.pop=function(){return this.stack.pop();};TeaVMThread.prototype.l=TeaVMThread.prototype.pop;TeaVMThread.prototype.isResuming=function(){return this.status===2;};TeaVMThread.prototype.isSuspending=function(){return this.status
|
|||
|
===1;};TeaVMThread.prototype.suspend=function(callback){this.suspendCallback=callback;this.status=1;};TeaVMThread.prototype.start=function(callback){if(this.status!==3){throw new Error("Thread already started");}if($rt_currentNativeThread!==null){throw new Error("Another thread is running");}this.status=0;this.completeCallback=callback?callback:function(result){if(result instanceof Error){throw result;}};this.run();};TeaVMThread.prototype.resume=function(){if($rt_currentNativeThread!==null){throw new Error("Another thread is running");}this.status
|
|||
|
=2;this.run();};TeaVMThread.prototype.run=function(){$rt_currentNativeThread=this;var result;try {result=this.runner();}catch(e){result=e;}finally {$rt_currentNativeThread=null;}if(this.suspendCallback!==null){var self=this;var callback=this.suspendCallback;this.suspendCallback=null;callback(function(){self.resume();});}else if(this.status===0){this.completeCallback(result);}};function $rt_suspending(){var thread=$rt_nativeThread();return thread!=null&&thread.isSuspending();}function $rt_resuming(){var thread
|
|||
|
=$rt_nativeThread();return thread!=null&&thread.isResuming();}function $rt_suspend(callback){var nativeThread=$rt_nativeThread();if(nativeThread===null){throw new Error("Suspension point reached from non-threading context (perhaps, from native JS method).");}return nativeThread.suspend(callback);}function $rt_startThread(runner,callback){(new TeaVMThread(runner)).start(callback);}var $rt_currentNativeThread=null;function $rt_nativeThread(){return $rt_currentNativeThread;}function $rt_invalidPointer(){throw new Error("Invalid recorded state");}main
|
|||
|
=$rt_mainStarter(Ft);
|
|||
|
(function(){var c;c=Fc.prototype;c.dispatchEvent=c.fI;c.addEventListener=c.gw;c.removeEventListener=c.gb;c.getLength=c.fU;c.get=c.eW;c.addEventListener=c.gz;c.removeEventListener=c.e4;c=CY.prototype;c.stateChanged=c.gY;})();
|
|||
|
})();
|
|||
|
|
|||
|
//# sourceMappingURL=app.js.map
|