(function(g,y,z,A,B,C,q,r,m,n,p,D,E,u,F,s,G,v,w,t,x,j,H,I,J,K,L,M,N,O,P,Q,R,k,S,T,U,V,W,X,Y,Z,$,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,f,c){m(["java.io.FilterInputStream"],"java.io.PushbackInputStream",null,function(){var a=p(function(){this.buf=null;this.pos=0;n(this,arguments)},java.io,"PushbackInputStream",java.io.FilterInputStream);u(a,function(b,a){x(this,java.io.PushbackInputStream,[b]);if(0>=a)throw new IllegalArgumentException("size <= 0");this.buf=j(a,0);this.pos=a},"java.io.InputStream,~N");
f(a,"ensureOpen",function(){if(null==this.$in)throw new java.io.IOException("Stream closed");});c(a,"readByteAsInt",function(){this.ensureOpen();return this.pos<this.buf.length?this.buf[this.pos++]&255:this.$in.readByteAsInt()});f(a,"read",function(b,a,d){this.ensureOpen();if(null==b)throw new NullPointerException;if(0>a||0>d||d>b.length-a)throw new IndexOutOfBoundsException;if(0==d)return 0;var e=this.buf.length-this.pos;0<e&&(d<e&&(e=d),System.arraycopy(this.buf,this.pos,b,a,e),this.pos+=e,a+=e,
d-=e);return 0<d?(d=this.$in.read(b,a,d),-1==d?0==e?-1:e:e+d):e},"~A,~N,~N");f(a,"unreadByte",function(b){this.ensureOpen();if(0==this.pos)throw new java.io.IOException("Push back buffer is full");this.buf[--this.pos]=b},"~N");f(a,"unread",function(b,a,d){this.ensureOpen();if(d>this.pos)throw new java.io.IOException("Push back buffer is full");this.pos-=d;System.arraycopy(b,a,this.buf,this.pos,d)},"~A,~N,~N");c(a,"available",function(){this.ensureOpen();var b=this.buf.length-this.pos,a=this.$in.available();
return b>2147483647-a?2147483647:b+a});c(a,"skip",function(b){this.ensureOpen();if(0>=b)return 0;var a=this.buf.length-this.pos;0<a&&(b<a&&(a=b),this.pos+=a,b-=a);0<b&&(a+=this.$in.skip(b));return a},"~N");c(a,"markSupported",function(){return!1});c(a,"mark",function(){},"~N");c(a,"reset",function(){throw new java.io.IOException("mark/reset not supported");});c(a,"close",function(){null!=this.$in&&(this.$in.close(),this.buf=this.$in=null)})});m(["java.io.DataInput","$.FilterInputStream"],"java.io.DataInputStream",
["java.io.PushbackInputStream"],function(){var a=p(function(){this.lineBuffer=this.readBuffer=this.chararr=this.bytearr=null;n(this,arguments)},java.io,"DataInputStream",java.io.FilterInputStream,java.io.DataInput);t(a,function(){this.bytearr=j(80,0);this.chararr=String.fromCharCode(k(80,"\x00"));this.readBuffer=j(8,0)});c(a,"read",function(b,a,d){return this.$in.read(b,a,d)},"~A,~N,~N");f(a,"readDIS",function(b,a,d){var e=this.$in;return e.readBIS?e.readBIS(b,a,d):e.readBAIS?e.readBAIS(b,a,d):e.read(b,
a,d)},"~A,~N,~N");f(a,"readFully",function(b,a,d){if(0>d)throw new IndexOutOfBoundsException;for(var e=0;e<d;){var c=this.$in.read(b,a+e,d-e);if(0>c)throw new java.io.EOFException;e+=c}},"~A,~N,~N");c(a,"skipBytes",function(b){for(var a=0,d=0;a<b&&0<(d=this.$in.skip(b-a));)a+=d;return a},"~N");c(a,"readBoolean",function(){var b=this.$in.readByteAsInt();if(0>b)throw new java.io.EOFException;return 0!=b});c(a,"readByte",function(){var b=this.$in.readByteAsInt();if(0>b)throw new java.io.EOFException;
return b});c(a,"readUnsignedByte",function(){var b=this.$in.readByteAsInt();if(0>b)throw new java.io.EOFException;return b});c(a,"readShort",function(){var b=this.$in.readByteAsInt(),a=this.$in.readByteAsInt();if(0>(b|a))throw new java.io.EOFException;b=(b<<8)+(a<<0);return 32767<b?b-65536:b});f(a,"readUnsignedShort",function(){var b=this.$in.readByteAsInt(),a=this.$in.readByteAsInt();if(0>(b|a))throw new java.io.EOFException;return(b<<8)+(a<<0)});c(a,"readChar",function(){var b=this.$in.readByteAsInt(),
a=this.$in.readByteAsInt();if(0>(b|a))throw new java.io.EOFException;return String.fromCharCode((b<<8)+(a<<0))});c(a,"readInt",function(){var b=this.$in.readByteAsInt(),a=this.$in.readByteAsInt(),d=this.$in.readByteAsInt(),e=this.$in.readByteAsInt();if(0>(b|a|d|e))throw new java.io.EOFException;b=(b<<24)+(a<<16)+(d<<8)+(e<<0);return 2147483647<b?b-4294967296:b});c(a,"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(a,"readFloat",function(){return Float.intBitsToFloat(this.readInt())});c(a,"readDouble",function(){return Double.longBitsToDouble(this.readLong())});c(a,"readLine",function(){var b=this.lineBuffer;null==b&&(b=this.lineBuffer=k(128,"\x00"));var a=b.length,d=0,e;a:for(;;)switch(e=this.$in.readByteAsInt()){case -1:case 10:break a;case 13:a=
this.$in.readByteAsInt();10!=a&&-1!=a&&(r(this.$in,"java.io.PushbackInputStream")||(this.$in=new java.io.PushbackInputStream(this.$in,1)),this.$in.unreadByte(a));break a;default:0>--a&&(b=k(d+128,"\x00"),a=b.length-d-1,System.arraycopy(this.lineBuffer,0,b,0,d),this.lineBuffer=b),b[d++]=String.fromCharCode(e)}return-1==e&&0==d?null:String.copyValueOf(b,0,d)});c(a,"readUTF",function(){return java.io.DataInputStream.readUTFBytes(this,-1)});a.readUTFBytes=f(a,"readUTFBytes",function(b,a){var d=0<=a;d||
(a=b.readUnsignedShort());var e=null,c=null;r(b,"java.io.DataInputStream")?(b.bytearr.length<a&&(b.bytearr=j(d?a:2*a,0),b.chararr=k(b.bytearr.length,"\x00")),c=b.chararr,e=b.bytearr):(e=j(a,0),c=k(a,"\x00"));var f,g,h=0,l=0;for(b.readFully(e,0,a);h<a;){d=e[h]&255;if(127<d)break;h++;c[l++]=String.fromCharCode(d)}for(;h<a;)switch(d=e[h]&255,d>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:h++;c[l++]=String.fromCharCode(d);break;case 12:case 13:h+=2;if(h>a)throw new java.io.UTFDataFormatException("malformed input: partial character at end");
f=e[h-1];if(128!=(f&192))throw new java.io.UTFDataFormatException("malformed input around byte "+h);c[l++]=String.fromCharCode((d&31)<<6|f&63);break;case 14:h+=3;if(h>a)throw new java.io.UTFDataFormatException("malformed input: partial character at end");f=e[h-2];g=e[h-1];if(128!=(f&192)||128!=(g&192))throw new java.io.UTFDataFormatException("malformed input around byte "+(h-1));c[l++]=String.fromCharCode((d&15)<<12|(f&63)<<6|(g&63)<<0);break;default:throw new java.io.UTFDataFormatException("malformed input around byte "+
h);}return String.instantialize(c,0,l)},"java.io.DataInput,~N")});q("JU");g=w(JU,"BC",null);g.bytesToFloat=f(g,"bytesToFloat",function(a,b,c){return JU.BC.intToFloat(JU.BC.bytesToInt(a,b,c))},"~A,~N,~B");g.bytesToShort=f(g,"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");g.bytesToInt=f(g,"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");g.intToSignedInt=f(g,"intToSignedInt",function(a){return 2147483647<a?a-4294967296:a},"~N");g.intToFloat=f(g,"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");g.bytesToDoubleToFloat=f(g,"bytesToDoubleToFloat",function(a,b,c){null==JU.BC.fracIEEE&&JU.BC.setFracIEEE();var d=JU.BC,e,f,g;c?(c=a[b]&255,e=a[b+
1]&255,f=a[b+2]&255,g=a[b+3]&255,a=a[b+4]&255):(c=a[b+7]&255,e=a[b+6]&255,f=a[b+5]&255,g=a[b+4]&255,a=a[b+3]&255);b=((c&127)<<4|e>>4)-1026;return(0==(c&128)?1:-1)*(d.shiftIEEE(e&15|16,b)+d.shiftIEEE(f,b-8)+d.shiftIEEE(g,b-16)+d.shiftIEEE(a,b-24))},"~A,~N,~B");g.setFracIEEE=f(g,"setFracIEEE",function(){JU.BC.fracIEEE=v(270,0);for(var a=0;270>a;a++)JU.BC.fracIEEE[a]=Math.pow(2,a-141)});g.shiftIEEE=f(g,"shiftIEEE",function(a,b){return 0==a||-140>b?0:128<b?3.4028235E38:a*JU.BC.fracIEEE[b+140]},"~N,~N");
g.fracIEEE=null;q("JU");m(["javajs.api.GenericBinaryDocument","JU.BC"],"JU.BinaryDocument",["java.io.DataInputStream"],function(){var a=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);t(a,function(){this.t8=j(8,0)});c(a,"close",function(){if(null!=this.stream)try{this.stream.close()}catch(b){if(!s(b,"java.io.IOException"))throw b;}null!=this.out&&this.out.closeChannel()});
c(a,"setStream",function(b,a){this.bis=b;null!=b&&(this.stream=new java.io.DataInputStream(b));this.isBigEndian=a;return this},"java.io.BufferedInputStream,~B");c(a,"getInputStream",function(){return this.bis});c(a,"setStreamData",function(b,a){null!=b&&(this.stream=b);this.isBigEndian=a},"java.io.DataInputStream,~B");c(a,"setOutputChannel",function(a){this.out=a},"javajs.api.GenericOutputChannel");f(a,"setRandom",function(a){this.isRandom=a},"~B");c(a,"readByte",function(){this.nBytes++;return this.ioReadByte()});
c(a,"readUInt8",function(){this.nBytes++;var a=this.stream.readUnsignedByte();null!=this.out&&this.out.writeByteAsInt(a);return a});f(a,"ioReadByte",function(){var a=this.stream.readByte();null!=this.out&&this.out.writeByteAsInt(a);return a});c(a,"readBytes",function(a){var c=j(a,0);this.readByteArray(c,0,a);return c},"~N");c(a,"readByteArray",function(a,c,d){a=this.ioRead(a,c,d);this.nBytes+=a;return a},"~A,~N,~N");f(a,"ioRead",function(a,c,d){for(var e=0;0<d;){var f;f=this.stream.readDIS?this.stream.readDIS(a,
c,d):this.stream.read(a,c,d);e+=f;0<f&&null!=this.out&&this.out.write(a,c,f);if(f>=d)break;c+=f;d-=f}return e},"~A,~N,~N");c(a,"readString",function(a){var c=j(a,0);a=this.readByteArray(c,0,a);return String.instantialize(c,0,a,"UTF-8")},"~N");c(a,"readShort",function(){this.nBytes+=2;var a=this.isBigEndian?this.ioReadShort():this.ioReadByte()&255|(this.ioReadByte()&255)<<8;return 32767<a?a-65536:a});f(a,"ioReadShort",function(){var a=this.stream.readShort();null!=this.out&&this.out.writeShort(a);
return a});c(a,"readIntLE",function(){this.nBytes+=4;return this.readLEInt()});c(a,"readInt",function(){this.nBytes+=4;return this.isBigEndian?this.ioReadInt():this.readLEInt()});f(a,"ioReadInt",function(){var a=this.stream.readInt();null!=this.out&&this.out.writeInt(a);return a});c(a,"swapBytesI",function(a){return a>>24&255|(a>>16&255)<<8|(a>>8&255)<<16|(a&255)<<24},"~N");c(a,"swapBytesS",function(a){return a>>8&255|(a&255)<<8},"~N");c(a,"readUnsignedShort",function(){this.nBytes+=2;var a=this.ioReadByte()&
255,c=this.ioReadByte()&255;return this.isBigEndian?(a<<8)+c:(c<<8)+a});c(a,"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});f(a,"ioReadLong",function(){var a=this.stream.readLong();null!=this.out&&this.out.writeLong(a);return a});f(a,"readLEInt",function(){this.ioRead(this.t8,
0,4);return JU.BC.bytesToInt(this.t8,0,!1)});c(a,"readFloat",function(){return JU.BC.intToFloat(this.readInt())});c(a,"readDouble",function(){this.readByteArray(this.t8,0,8);return this.bytesToDoubleToFloat(this.t8,0,this.isBigEndian)});f(a,"ioReadDouble",function(){var a=this.stream.readDouble();null!=this.out&&this.out.writeLong(Double.doubleToRawLongBits(a));return a});f(a,"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(a,"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(j(a,0),0,a),this.nBytes+=a)}catch(c){if(s(c,"java.io.IOException"))System.out.println(c.toString());else throw c;}},"~N");c(a,"getPosition",function(){return this.nBytes});
c(a,"getAllDataFiles",function(){return null},"~S,~S");c(a,"getAllDataMapped",function(){},"~S,~S,java.util.Map");c(a,"setBigEndian",function(a){this.isBigEndian=a},"~B")})})(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.newFloatArray,
Clazz.declareType,Clazz.prepareFields,Clazz.superConstructor,Clazz.newByteArray,Clazz.declareInterface,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);
