| (function(A,B,C,D,E,F,r,s,m,n,p,G,H,t,I,u,J,w,x,y,v,z,h,K,L,M,N,O,P,Q,R,S,T,U,V,W,k,X,Y,Z,$,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,qa,d,c){m(["java.io.FilterInputStream"],"java.io.PushbackInputStream",["java.io.IOException","java.lang.IllegalArgumentException","$.IndexOutOfBoundsException","$.NullPointerException"],function(){c$=p(function(){this.buf=null;this.pos=0;n(this,arguments)},java.io,"PushbackInputStream",java.io.FilterInputStream);d(c$,"ensureOpen",function(){if(null==this.$in)throw new java.io.IOException("Stream closed"); |
| });t(c$,function(a,b){z(this,java.io.PushbackInputStream,[a]);if(0>=b)throw new IllegalArgumentException("size <= 0");this.buf=h(b,0);this.pos=b},"java.io.InputStream,~N");c(c$,"readByteAsInt",function(){this.ensureOpen();return this.pos<this.buf.length?this.buf[this.pos++]&255:this.$in.readByteAsInt()});d(c$,"read",function(a,b,e){this.ensureOpen();if(null==a)throw new NullPointerException;if(0>b||0>e||e>a.length-b)throw new IndexOutOfBoundsException;if(0==e)return 0;var c=this.buf.length-this.pos; |
| 0<c&&(e<c&&(c=e),System.arraycopy(this.buf,this.pos,a,b,c),this.pos+=c,b+=c,e-=c);return 0<e?(e=this.$in.read(a,b,e),-1==e?0==c?-1:c:c+e):c},"~A,~N,~N");d(c$,"unreadByte",function(a){this.ensureOpen();if(0==this.pos)throw new java.io.IOException("Push back buffer is full");this.buf[--this.pos]=a},"~N");d(c$,"unread",function(a,b,e){this.ensureOpen();if(e>this.pos)throw new java.io.IOException("Push back buffer is full");this.pos-=e;System.arraycopy(a,b,this.buf,this.pos,e)},"~A,~N,~N");c(c$,"available", |
| function(){this.ensureOpen();var a=this.buf.length-this.pos,b=this.$in.available();return a>2147483647-b?2147483647:a+b});c(c$,"skip",function(a){this.ensureOpen();if(0>=a)return 0;var b=this.buf.length-this.pos;0<b&&(a<b&&(b=a),this.pos+=b,a-=b);0<a&&(b+=this.$in.skip(a));return b},"~N");c(c$,"markSupported",function(){return!1});c(c$,"mark",function(){},"~N");c(c$,"reset",function(){throw new java.io.IOException("mark/reset not supported");});c(c$,"close",function(){null!=this.$in&&(this.$in.close(), |
| this.buf=this.$in=null)})});m(["java.io.DataInput","$.FilterInputStream"],"java.io.DataInputStream","java.io.EOFException $.PushbackInputStream $.UTFDataFormatException java.lang.Double $.Float $.IndexOutOfBoundsException".split(" "),function(){c$=p(function(){this.lineBuffer=this.readBuffer=this.chararr=this.bytearr=null;n(this,arguments)},java.io,"DataInputStream",java.io.FilterInputStream,java.io.DataInput);v(c$,function(){this.bytearr=h(80,0);this.chararr=k(80,"\x00");this.readBuffer=h(8,0)}); |
| d(c$,"read",function(a,b,e){return this.$in.read(a,b,e)},"~A,~N,~N");d(c$,"readFully",function(a,b,e){if(0>e)throw new IndexOutOfBoundsException;for(var c=0;c<e;){var d=this.$in.read(a,b+c,e-c);if(0>d)throw new java.io.EOFException;c+=d}},"~A,~N,~N");c(c$,"skipBytes",function(a){for(var b=0,e=0;b<a&&0<(e=this.$in.skip(a-b));)b+=e;return b},"~N");c(c$,"readBoolean",function(){var a=this.$in.readByteAsInt();if(0>a)throw new java.io.EOFException;return 0!=a});c(c$,"readByte",function(){var a=this.$in.readByteAsInt(); |
| if(0>a)throw new java.io.EOFException;return a});c(c$,"readUnsignedByte",function(){var a=this.$in.readByteAsInt();if(0>a)throw new java.io.EOFException;return a});c(c$,"readShort",function(){var a=this.$in.readByteAsInt(),b=this.$in.readByteAsInt();if(0>(a|b))throw new java.io.EOFException;a=(a<<8)+(b<<0);return 32767<a?a-65536:a});d(c$,"readUnsignedShort",function(){var a=this.$in.readByteAsInt(),b=this.$in.readByteAsInt();if(0>(a|b))throw new java.io.EOFException;return(a<<8)+(b<<0)});c(c$,"readChar", |
| function(){var a=this.$in.readByteAsInt(),b=this.$in.readByteAsInt();if(0>(a|b))throw new java.io.EOFException;return String.fromCharCode((a<<8)+(b<<0))});c(c$,"readInt",function(){var a=this.$in.readByteAsInt(),b=this.$in.readByteAsInt(),e=this.$in.readByteAsInt(),c=this.$in.readByteAsInt();if(0>(a|b|e|c))throw new java.io.EOFException;a=(a<<24)+(b<<16)+(e<<8)+(c<<0);return 2147483647<a?a-4294967296:a});c(c$,"readLong",function(){this.readFully(this.readBuffer,0,8);return(this.readBuffer[0]<<56)+ |
| ((this.readBuffer[1]&255)<<48)+((this.readBuffer[2]&255)<<40)+((this.readBuffer[3]&255)<<32)+((this.readBuffer[4]&255)<<24)+((this.readBuffer[5]&255)<<16)+((this.readBuffer[6]&255)<<8)+((this.readBuffer[7]&255)<<0)});c(c$,"readFloat",function(){return Float.intBitsToFloat(this.readInt())});c(c$,"readDouble",function(){return Double.longBitsToDouble(this.readLong())});c(c$,"readLine",function(){var a=this.lineBuffer;null==a&&(a=this.lineBuffer=k(128,"\x00"));var b=a.length,e=0,c;a:for(;;)switch(c= |
| this.$in.readByteAsInt()){case -1:case "\n":break a;case "\r":b=this.$in.readByteAsInt();10!=b&&-1!=b&&(s(this.$in,java.io.PushbackInputStream)||(this.$in=new java.io.PushbackInputStream(this.$in,1)),this.$in.unreadByte(b));break a;default:0>--b&&(a=k(e+128,"\x00"),b=a.length-e-1,System.arraycopy(this.lineBuffer,0,a,0,e),this.lineBuffer=a),a[e++]=String.fromCharCode(c)}return-1==c&&0==e?null:String.copyValueOf(a,0,e)});c(c$,"readUTF",function(){return java.io.DataInputStream.readUTFBytes(this,-1)}); |
| c$.readUTFBytes=d(c$,"readUTFBytes",function(a,b){var c=0<=b;c||(b=a.readUnsignedShort());var d=null,f=null;s(a,java.io.DataInputStream)?(a.bytearr.length<b&&(a.bytearr=h(c?b:2*b,0),a.chararr=k(a.bytearr.length,"\x00")),f=a.chararr,d=a.bytearr):(d=h(b,0),f=k(b,"\x00"));var j,q,g=0,l=0;for(a.readFully(d,0,b);g<b;){c=d[g]&255;if(127<c)break;g++;f[l++]=String.fromCharCode(c)}for(;g<b;)switch(c=d[g]&255,c>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:g++;f[l++]=String.fromCharCode(c);break; |
| case 12:case 13:g+=2;if(g>b)throw new java.io.UTFDataFormatException("malformed input: partial character at end");j=d[g-1];if(128!=(j&192))throw new java.io.UTFDataFormatException("malformed input around byte "+g);f[l++]=String.fromCharCode((c&31)<<6|j&63);break;case 14:g+=3;if(g>b)throw new java.io.UTFDataFormatException("malformed input: partial character at end");j=d[g-2];q=d[g-1];if(128!=(j&192)||128!=(q&192))throw new java.io.UTFDataFormatException("malformed input around byte "+(g-1));f[l++]= |
| String.fromCharCode((c&15)<<12|(j&63)<<6|(q&63)<<0);break;default:throw new java.io.UTFDataFormatException("malformed input around byte "+g);}return String.instantialize(f,0,l)},"java.io.DataInput,~N")});r("JU");c$=y(JU,"BC");t(c$,function(){});c$.bytesToFloat=d(c$,"bytesToFloat",function(a,b,c){return JU.BC.intToFloat(JU.BC.bytesToInt(a,b,c))},"~A,~N,~B");c$.bytesToShort=d(c$,"bytesToShort",function(a,b,c){a=c?a[b+1]&255|(a[b]&255)<<8:a[b++]&255|(a[b++]&255)<<8;return 32767<a?a-65536:a},"~A,~N,~B"); |
| c$.bytesToInt=d(c$,"bytesToInt",function(a,b,c){a=c?a[b+3]&255|(a[b+2]&255)<<8|(a[b+1]&255)<<16|(a[b]&255)<<24:a[b++]&255|(a[b++]&255)<<8|(a[b++]&255)<<16|(a[b++]&255)<<24;return 2147483647<a?a-4294967296:a},"~A,~N,~B");c$.intToSignedInt=d(c$,"intToSignedInt",function(a){return 2147483647<a?a-4294967296:a},"~N");c$.intToFloat=d(c$,"intToFloat",function(a){if(0==a)return 0;var b=JU.BC;null==b.fracIEEE&&b.setFracIEEE();return(0==(a&2147483648)?1:-1)*b.shiftIEEE(a&8388607|8388608,((a&2139095040)>>23)- |
| 149)},"~N");c$.bytesToDoubleToFloat=d(c$,"bytesToDoubleToFloat",function(a,b,c){null==JU.BC.fracIEEE&&JU.BC.setFracIEEE();var d=JU.BC,f,j,h;c?(c=a[b]&255,f=a[b+1]&255,j=a[b+2]&255,h=a[b+3]&255,a=a[b+4]&255):(c=a[b+7]&255,f=a[b+6]&255,j=a[b+5]&255,h=a[b+4]&255,a=a[b+3]&255);b=((c&127)<<4|f>>4)-1026;return(0==(c&128)?1:-1)*(d.shiftIEEE(f&15|16,b)+d.shiftIEEE(j,b-8)+d.shiftIEEE(h,b-16)+d.shiftIEEE(a,b-24))},"~A,~N,~B");c$.setFracIEEE=d(c$,"setFracIEEE",function(){JU.BC.fracIEEE=x(270,0);for(var a=0;270> |
| a;a++)JU.BC.fracIEEE[a]=Math.pow(2,a-141)});c$.shiftIEEE=d(c$,"shiftIEEE",function(a,b){return 0==a||-140>b?0:128<b?3.4028235E38:a*JU.BC.fracIEEE[b+140]},"~N,~N");w(c$,"fracIEEE",null);r("JU");m(["javajs.api.GenericBinaryDocument","JU.BC"],"JU.BinaryDocument",["java.io.DataInputStream","java.lang.Double"],function(){c$=p(function(){this.stream=null;this.isRandom=!1;this.isBigEndian=!0;this.bis=null;this.nBytes=0;this.t8=this.out=null;n(this,arguments)},JU,"BinaryDocument",JU.BC,javajs.api.GenericBinaryDocument); |
| v(c$,function(){this.t8=h(8,0)});c(c$,"close",function(){if(null!=this.stream)try{this.stream.close()}catch(a){if(!u(a,java.io.IOException))throw a;}null!=this.out&&this.out.closeChannel()});c(c$,"setStream",function(a,b){this.bis=a;null!=a&&(this.stream=new java.io.DataInputStream(a));this.isBigEndian=b;return this},"java.io.BufferedInputStream,~B");c(c$,"getInputStream",function(){return this.bis});c(c$,"setStreamData",function(a,b){null!=a&&(this.stream=a);this.isBigEndian=b},"java.io.DataInputStream,~B"); |
| c(c$,"setOutputChannel",function(a){this.out=a},"javajs.api.GenericOutputChannel");d(c$,"setRandom",function(a){this.isRandom=a},"~B");c(c$,"readByte",function(){this.nBytes++;return this.ioReadByte()});c(c$,"readUInt8",function(){this.nBytes++;var a=this.stream.readUnsignedByte();null!=this.out&&this.out.writeByteAsInt(a);return a});d(c$,"ioReadByte",function(){var a=this.stream.readByte();null!=this.out&&this.out.writeByteAsInt(a);return a});c(c$,"readBytes",function(a){var b=h(a,0);this.readByteArray(b, |
| 0,a);return b},"~N");c(c$,"readByteArray",function(a,b,c){a=this.ioRead(a,b,c);this.nBytes+=a;return a},"~A,~N,~N");d(c$,"ioRead",function(a,b,c){for(var d=0;0<c;){var f=this.stream.read(a,b,c),d=d+f;0<f&&null!=this.out&&this.out.write(a,b,f);if(f>=c)break;b+=f;c-=f}return d},"~A,~N,~N");c(c$,"readString",function(a){var b=h(a,0);a=this.readByteArray(b,0,a);return String.instantialize(b,0,a,"UTF-8")},"~N");c(c$,"readShort",function(){this.nBytes+=2;var a=this.isBigEndian?this.ioReadShort():this.ioReadByte()& |
| 255|(this.ioReadByte()&255)<<8;return 32767<a?a-65536:a});d(c$,"ioReadShort",function(){var a=this.stream.readShort();null!=this.out&&this.out.writeShort(a);return a});c(c$,"readIntLE",function(){this.nBytes+=4;return this.readLEInt()});c(c$,"readInt",function(){this.nBytes+=4;return this.isBigEndian?this.ioReadInt():this.readLEInt()});d(c$,"ioReadInt",function(){var a=this.stream.readInt();null!=this.out&&this.out.writeInt(a);return a});c(c$,"swapBytesI",function(a){return a>>24&255|(a>>16&255)<< |
| 8|(a>>8&255)<<16|(a&255)<<24},"~N");c(c$,"swapBytesS",function(a){return a>>8&255|(a&255)<<8},"~N");c(c$,"readUnsignedShort",function(){this.nBytes+=2;var a=this.ioReadByte()&255,b=this.ioReadByte()&255;return this.isBigEndian?(a<<8)+b:(b<<8)+a});c(c$,"readLong",function(){this.nBytes+=8;return this.isBigEndian?this.ioReadLong():this.ioReadByte()&255|(this.ioReadByte()&255)<<8|(this.ioReadByte()&255)<<16|(this.ioReadByte()&255)<<24|(this.ioReadByte()&255)<<32|(this.ioReadByte()&255)<<40|(this.ioReadByte()& |
| 255)<<48|(this.ioReadByte()&255)<<54});d(c$,"ioReadLong",function(){var a=this.stream.readLong();null!=this.out&&this.out.writeLong(a);return a});d(c$,"readLEInt",function(){this.ioRead(this.t8,0,4);return JU.BC.bytesToInt(this.t8,0,!1)});c(c$,"readFloat",function(){return JU.BC.intToFloat(this.readInt())});c(c$,"readDouble",function(){this.readByteArray(this.t8,0,8);return this.bytesToDoubleToFloat(this.t8,0,this.isBigEndian)});d(c$,"ioReadDouble",function(){var a=this.stream.readDouble();null!= |
| this.out&&this.out.writeLong(Double.doubleToRawLongBits(a));return a});d(c$,"readLELong",function(){return this.ioReadByte()&255|(this.ioReadByte()&255)<<8|(this.ioReadByte()&255)<<16|(this.ioReadByte()&255)<<24|(this.ioReadByte()&255)<<32|(this.ioReadByte()&255)<<40|(this.ioReadByte()&255)<<48|(this.ioReadByte()&255)<<56});c(c$,"seek",function(a){try{a!=this.nBytes&&(a<this.nBytes?(this.stream.reset(),null!=this.out&&0!=this.nBytes&&this.out.reset(),this.nBytes=0):a-=this.nBytes,null==this.out?this.stream.skipBytes(a): |
| this.readByteArray(h(a,0),0,a),this.nBytes+=a)}catch(b){if(u(b,java.io.IOException))System.out.println(b.toString());else throw b;}},"~N");c(c$,"getPosition",function(){return this.nBytes});c(c$,"getAllDataFiles",function(){return null},"~S,~S");c(c$,"getAllDataMapped",function(){},"~S,~S,java.util.Map")})})(Clazz,Clazz.getClassName,Clazz.newLongArray,Clazz.doubleToByte,Clazz.doubleToInt,Clazz.doubleToLong,Clazz.declarePackage,Clazz.instanceOf,Clazz.load,Clazz.instantialize,Clazz.decorateAsClass, |
| Clazz.floatToInt,Clazz.floatToLong,Clazz.makeConstructor,Clazz.defineEnumConstant,Clazz.exceptionOf,Clazz.newIntArray,Clazz.defineStatics,Clazz.newFloatArray,Clazz.declareType,Clazz.prepareFields,Clazz.superConstructor,Clazz.newByteArray,Clazz.declareInterface,Clazz.p0p,Clazz.pu$h,Clazz.newShortArray,Clazz.innerTypeInstance,Clazz.isClassDefined,Clazz.prepareCallback,Clazz.newArray,Clazz.castNullAs,Clazz.floatToShort,Clazz.superCall,Clazz.decorateAsType,Clazz.newBooleanArray,Clazz.newCharArray,Clazz.implementOf, |
| Clazz.newDoubleArray,Clazz.overrideConstructor,Clazz.clone,Clazz.doubleToShort,Clazz.getInheritedLevel,Clazz.getParamsType,Clazz.isAF,Clazz.isAB,Clazz.isAI,Clazz.isAS,Clazz.isASS,Clazz.isAP,Clazz.isAFloat,Clazz.isAII,Clazz.isAFF,Clazz.isAFFF,Clazz.tryToSearchAndExecute,Clazz.getStackTrace,Clazz.inheritArgs,Clazz.alert,Clazz.defineMethod,Clazz.overrideMethod,Clazz.declareAnonymous,Clazz.cloneFinals); |
|
|