Clazz.declarePackage("J.api");Clazz.declareInterface(J.api,"JmolZipUtility");Clazz.declarePackage("J.io2");
Clazz.load(["J.api.JmolZipUtility"],"J.io2.ZipUtil","java.io.BufferedInputStream $.BufferedReader $.ByteArrayInputStream $.StringReader java.lang.Character java.util.Hashtable $.StringTokenizer java.util.zip.CRC32 $.GZIPInputStream $.ZipEntry $.ZipInputStream JU.List $.SB J.adapter.smarter.AtomSetCollection J.api.Interface J.io.JmolBinary J.io2.JmolZipInputStream J.util.Escape $.Logger $.Txt".split(" "),function(){c$=Clazz.declareType(J.io2,"ZipUtil",null,J.api.JmolZipUtility);Clazz.makeConstructor(c$,
function(){});Clazz.overrideMethod(c$,"newZipInputStream",function(a){return J.io2.ZipUtil.newZIS(a)},"java.io.InputStream");c$.newZIS=$_M(c$,"newZIS",($fz=function(a){return Clazz.instanceOf(a,J.api.ZInputStream)?a:Clazz.instanceOf(a,java.io.BufferedInputStream)?new J.io2.JmolZipInputStream(a):new J.io2.JmolZipInputStream(new java.io.BufferedInputStream(a))},$fz.isPrivate=!0,$fz),"java.io.InputStream");Clazz.overrideMethod(c$,"getAllZipData",function(a,b,c,d,e){J.io2.ZipUtil.getAllZipDataStatic(a,
b,c,d,e)},"java.io.InputStream,~A,~S,~S,java.util.Map");c$.getAllZipDataStatic=$_M(c$,"getAllZipDataStatic",($fz=function(a,b,c,d,e){a=J.io2.ZipUtil.newZIS(a);var f,h=new JU.SB;d="|"+d+"|";b=J.util.Txt.join(b,"/",1);var g=null;null!=b&&(g=b.substring(0,b.indexOf("/")+1),0==g.length&&(g=null));try{for(;null!=(f=a.getNextEntry());){var j=f.getName();if(!(null!=b&&null!=g&&!j.equals(b)&&!j.startsWith(g))){h.append(j).appendC("\n");var n="|"+j.substring(j.lastIndexOf("/")+1)+"|",t=0<=d.indexOf(n),l=J.io.JmolBinary.getStreamBytes(a,
f.getSize()),k;t?(k=J.io2.ZipUtil.getBinaryStringForBytes(l),j+=":asBinaryString"):k=J.io.JmolBinary.fixUTF(l);k="BEGIN Directory Entry "+j+"\n"+k+"\nEND Directory Entry "+j+"\n";e.put(c+"|"+j,k)}}}catch(m){if(!Clazz.exceptionOf(m,Exception))throw m;}e.put("#Directory_Listing",h.toString())},$fz.isPrivate=!0,$fz),"java.io.InputStream,~A,~S,~S,java.util.Map");c$.getBinaryStringForBytes=$_M(c$,"getBinaryStringForBytes",($fz=function(a){for(var b=new JU.SB,c=0;c<a.length;c++)b.append(Integer.toHexString(a[c]&
255)).appendC(" ");return b.toString()},$fz.isPrivate=!0,$fz),"~A");Clazz.overrideMethod(c$,"getZipFileContents",function(a,b,c,d){var e;if(null==b||c>=b.length)return this.getZipDirectoryAsStringAndClose(a);var f=b[c];a=new java.util.zip.ZipInputStream(a);var h;try{var g=f.equals(".");if(g||f.lastIndexOf("/")==f.length-1){for(e=new JU.SB;null!=(h=a.getNextEntry());){var j=h.getName();(g||j.startsWith(f))&&e.append(j).appendC("\n")}var n=e.toString();return d?new java.io.BufferedInputStream(new java.io.ByteArrayInputStream(n.getBytes())):
n}g=!1;0<f.indexOf(":asBinaryString")&&(f=f.substring(0,f.indexOf(":asBinaryString")),g=!0);for(;null!=(h=a.getNextEntry());)if(f.equals(h.getName())){var t=J.io.JmolBinary.getStreamBytes(a,h.getSize());if(J.io.JmolBinary.isZipB(t))return this.getZipFileContents(new java.io.BufferedInputStream(new java.io.ByteArrayInputStream(t)),b,++c,d);if(d)return new java.io.BufferedInputStream(new java.io.ByteArrayInputStream(t));if(g){e=new JU.SB;for(b=0;b<t.length;b++)e.append(Integer.toHexString(t[b]&255)).appendC(" ");
return e.toString()}return J.io.JmolBinary.fixUTF(t)}}catch(l){if(!Clazz.exceptionOf(l,Exception))throw l;}return""},"java.io.BufferedInputStream,~A,~N,~B");Clazz.overrideMethod(c$,"getZipFileContentsAsBytes",function(a,b,c){var d=Clazz.newByteArray(0,0),e=b[c];if(e.lastIndexOf("/")==e.length-1)return d;try{a=J.io.JmolBinary.checkPngZipStream(a);for(var f=new java.util.zip.ZipInputStream(a),h;null!=(h=f.getNextEntry());)if(e.equals(h.getName())){var g=J.io.JmolBinary.getStreamBytes(f,h.getSize());
return J.io.JmolBinary.isZipB(g)&&++c<b.length?this.getZipFileContentsAsBytes(new java.io.BufferedInputStream(new java.io.ByteArrayInputStream(g)),b,c):g}}catch(j){if(!Clazz.exceptionOf(j,Exception))throw j;}return d},"java.io.BufferedInputStream,~A,~N");Clazz.overrideMethod(c$,"getZipDirectoryAsStringAndClose",function(a){var b=new JU.SB,c=[];try{c=this.getZipDirectoryOrErrorAndClose(a,!1),a.close()}catch(d){if(Clazz.exceptionOf(d,Exception))J.util.Logger.error(d.toString());else throw d;}for(a=
0;a<c.length;a++)b.append(c[a]).appendC("\n");return b.toString()},"java.io.BufferedInputStream");Clazz.overrideMethod(c$,"getZipDirectoryAndClose",function(a,b){var c=[];try{c=this.getZipDirectoryOrErrorAndClose(a,b),a.close()}catch(d){if(Clazz.exceptionOf(d,Exception))J.util.Logger.error(d.toString());else throw d;}return c},"java.io.BufferedInputStream,~B");$_M(c$,"getZipDirectoryOrErrorAndClose",($fz=function(a,b){a=J.io.JmolBinary.checkPngZipStream(a);for(var c=new JU.List,d=new java.util.zip.ZipInputStream(a),
e,f=null;null!=(e=d.getNextEntry());)e=e.getName(),b&&J.io2.ZipUtil.isJmolManifest(e)?f=J.io2.ZipUtil.getZipEntryAsString(d):e.startsWith("__MACOS")||c.addLast(e);d.close();b&&c.add(0,null==f?"":f+"\n############\n");return c.toArray(Array(c.size()))},$fz.isPrivate=!0,$fz),"java.io.BufferedInputStream,~B");c$.getZipEntryAsString=$_M(c$,"getZipEntryAsString",($fz=function(a){return J.io.JmolBinary.fixUTF(J.io.JmolBinary.getStreamBytes(a,-1))},$fz.isPrivate=!0,$fz),"java.io.InputStream");c$.isJmolManifest=
$_M(c$,"isJmolManifest",($fz=function(a){return a.startsWith("JmolManifest")},$fz.isPrivate=!0,$fz),"~S");Clazz.overrideMethod(c$,"cacheZipContents",function(a,b,c){a=this.newZipInputStream(a);var d,e=new JU.SB,f=0;try{for(;null!=(d=a.getNextEntry());){var h=d.getName();e.append(h).appendC("\n");var g=d.getSize(),j=J.io.JmolBinary.getStreamBytes(a,g),f=f+j.length;c.put(b+"|"+h,j)}a.close()}catch(n){if(Clazz.exceptionOf(n,Exception)){try{a.close()}catch(t){if(!Clazz.exceptionOf(t,java.io.IOException))throw t;
}return null}throw n;}if(0==f)return null;J.util.Logger.info("ZipUtil cached "+f+" bytes from "+b);return e.toString()},"java.io.BufferedInputStream,~S,java.util.Map");Clazz.overrideMethod(c$,"getGzippedBytesAsString",function(a){return J.io2.ZipUtil.staticGetGzippedBytesAsString(a)},"~A");c$.staticGetGzippedBytesAsString=$_M(c$,"staticGetGzippedBytesAsString",function(a){try{var b=new java.io.ByteArrayInputStream(a);do b=new java.io.BufferedInputStream(new java.util.zip.GZIPInputStream(b,512));while(J.io.JmolBinary.isGzipS(b));
var c=J.io2.ZipUtil.getZipEntryAsString(b);b.close();return c}catch(d){if(Clazz.exceptionOf(d,Exception))return"";throw d;}},"~A");$_M(c$,"getUnGzippedInputStream",($fz=function(a){try{var b=new java.io.ByteArrayInputStream(a);do b=new java.io.BufferedInputStream(new java.util.zip.GZIPInputStream(b,512));while(J.io.JmolBinary.isGzipS(b));return b}catch(c){if(Clazz.exceptionOf(c,Exception))return null;throw c;}},$fz.isPrivate=!0,$fz),"~A");Clazz.overrideMethod(c$,"newGZIPInputStream",function(a){return new java.util.zip.GZIPInputStream(a,
512)},"java.io.BufferedInputStream");Clazz.overrideMethod(c$,"getAtomSetCollectionOrBufferedReaderFromZip",function(a,b,c,d,e,f,h){var g=1==f;e.put("zipSet",c);var j=e.get("subFileList");null==j&&(j=J.io2.ZipUtil.checkSpecialInZip(d));var n=null==j||f>=j.length?null:j[f];if(null!=n&&(n.startsWith("/")||n.startsWith("\\")))n=n.substring(1);var t=0;null==n&&e.containsKey("modelNumber")&&(t=e.get("modelNumber").intValue(),0<t&&g&&e.remove("modelNumber"));var l=e.get("manifest"),k=null==l;k&&(l=0<d.length?
d[0]:"");var m=0<l.length;m&&J.util.Logger.debugging&&J.util.Logger.debug("manifest for  "+c+":\n"+l);var j=0<=l.indexOf("IGNORE_ERRORS"),p=0<=l.indexOf("IGNORE_MANIFEST"),r=0<=l.indexOf("EXCEPT_FILES");if(p||null!=n)m=!1;if(k&&m&&(k=J.io.JmolBinary.getManifestScriptPath(l),null!=k))return"NOTE: file recognized as a script file: "+c+k+"\n";k=new JU.List;p=m?new java.util.Hashtable:null;d=J.io2.ZipUtil.checkSpecialData(b,d);if(Clazz.instanceOf(d,String))return d;var v=d;try{if(null!=v){var u=new java.io.BufferedReader(new java.io.StringReader(v.toString()));
if(h)return u;d=a.getAtomSetCollectionFromReader(c,u,e);return Clazz.instanceOf(d,String)?d:Clazz.instanceOf(d,J.adapter.smarter.AtomSetCollection)?(c=d,null!=c.errorMessage?j?null:c.errorMessage:c):j?null:"unknown reader error"}Clazz.instanceOf(b,java.io.BufferedInputStream)&&(b=J.io.JmolBinary.checkPngZipStream(b));var q=J.io.JmolBinary.newZipInputStream(b),s;for(m&&(l="|"+l.$replace("\r","|").$replace("\n","|")+"|");null!=(s=q.getNextEntry())&&(0>=t||k.size()<t);)if(!s.isDirectory()){var w=s.getName();
if(null==n||w.equals(n))if(null!=n&&e.put("subFileName",n),!(J.io2.ZipUtil.isJmolManifest(w)||m&&r==0<=l.indexOf("|"+w+"|"))){var x=J.io.JmolBinary.getStreamBytes(q,s.getSize());if(J.io.JmolBinary.isZipB(x)){var A=new java.io.BufferedInputStream(new java.io.ByteArrayInputStream(x)),G=J.io.JmolBinary.getZipDirectoryAndClose(A,!0),A=new java.io.BufferedInputStream(new java.io.ByteArrayInputStream(x)),y=this.getAtomSetCollectionOrBufferedReaderFromZip(a,A,c+"|"+w,G,e,++f,h);if(Clazz.instanceOf(y,String)){if(!j)return y}else if(Clazz.instanceOf(y,
J.adapter.smarter.AtomSetCollection)||Clazz.instanceOf(y,JU.List))m&&!r?p.put(w,y):k.addLast(y);else{if(Clazz.instanceOf(y,java.io.BufferedReader))return g&&q.close(),y;if(!j)return q.close(),"unknown zip reader error"}}else{if(J.io.JmolBinary.isGzipB(x))return this.getUnGzippedInputStream(x);if(J.io.JmolBinary.isPickleB(x))return A=new java.io.BufferedInputStream(new java.io.ByteArrayInputStream(x)),g&&q.close(),A;var C;if(J.io.JmolBinary.isCompoundDocumentB(x)){var E=J.api.Interface.getInterface("jmol.util.CompoundDocument");
E.setStream(new java.io.BufferedInputStream(new java.io.ByteArrayInputStream(x)),!0);C=E.getAllDataFiles("Molecule","Input").toString()}else C=J.io.JmolBinary.isGzipB(x)?J.io.JmolBinary.getGzippedBytesAsString(x):J.io.JmolBinary.fixUTF(x);u=new java.io.BufferedReader(new java.io.StringReader(C));if(h)return g&&q.close(),u;var H=c+"|"+s.getName();d=a.getAtomSetCollectionFromReader(H,u,e);if(!Clazz.instanceOf(d,J.adapter.smarter.AtomSetCollection)){if(j)continue;q.close();return""+d}m&&!r?p.put(w,d):
k.addLast(d);b=d;if(null!=b.errorMessage&&!j)return q.close(),b.errorMessage}}}g&&q.close();if(m&&!r){var F=J.util.Txt.split(l,"|");for(a=0;a<F.length;a++){var B=F[a];0==B.length||0==B.indexOf("#")||(p.containsKey(B)?k.addLast(p.get(B)):J.util.Logger.debugging&&J.util.Logger.debug("manifested file "+B+" was not found in "+c))}}if(!g)return k;var D=new J.adapter.smarter.AtomSetCollection("Array",null,null,k);return null!=D.errorMessage?j?null:D.errorMessage:0<t&&t<=k.size()?k.get(t-1):D}catch(z){if(Clazz.exceptionOf(z,
Exception)){if(j)return null;J.util.Logger.error(""+z);return""+z}if(Clazz.exceptionOf(z,Error))return J.util.Logger.errorEx(null,z),""+z;throw z;}},"J.api.JmolAdapter,java.io.InputStream,~S,~A,java.util.Map,~N,~B");c$.checkSpecialData=$_M(c$,"checkSpecialData",($fz=function(a,b){for(var c=!1,d=1;d<b.length;d++)if(b[d].endsWith(".spardir/")||0<=b[d].indexOf("_spartandir")){c=!0;break}if(!c)return null;c=new JU.SB;c.append("Zip File Directory: ").append("\n").append(J.util.Escape.eAS(b,!0)).append("\n");
var e=new java.util.Hashtable;J.io2.ZipUtil.getAllZipDataStatic(a,[],"","Molecule",e);var d="|",f=e.get(d+"output");null==f&&(f=e.get((d="|"+b[1])+"output"));c.append(f);f=J.io2.ZipUtil.getSpartanFileList(d,J.io2.ZipUtil.getSpartanDirs(f));for(d=2;d<f.length;d++){var h=f[d];e.containsKey(h)?c.append(e.get(h)):c.append(h+"\n")}return c},$fz.isPrivate=!0,$fz),"java.io.InputStream,~A");Clazz.overrideMethod(c$,"spartanFileList",function(a,b){var c=J.io2.ZipUtil.getSpartanDirs(b);if(0==c.length&&a.endsWith(".spardir.zip")&&
0<=b.indexOf(".zip|output")){var c=a.$replace("\\","/"),d=a.lastIndexOf(".spardir"),d=c.lastIndexOf("/"),c=a+"|"+a.substring(d+1,a.length-4);return["SpartanSmol",c,c+"/output"]}return J.io2.ZipUtil.getSpartanFileList(a,c)},"~S,~S");c$.getSpartanDirs=$_M(c$,"getSpartanDirs",($fz=function(a){if(null==a)return[];if(a.startsWith("java.io.FileNotFoundException")||a.startsWith("FILE NOT FOUND")||0<=a.indexOf("<html"))return["M0001"];var b=new JU.List,c,d="";try{for(var e=new java.util.StringTokenizer(a,
" \t\r\n");e.hasMoreTokens();)(c=e.nextToken()).equals(")")?b.addLast(d):c.equals("Start-")&&e.nextToken().equals("Molecule")&&b.addLast(J.util.Txt.split(e.nextToken(),'"')[1]),d=c}catch(f){if(!Clazz.exceptionOf(f,Exception))throw f;}return b.toArray(Array(b.size()))},$fz.isPrivate=!0,$fz),"~S");c$.getSpartanFileList=$_M(c$,"getSpartanFileList",($fz=function(a,b){var c=Array(2+5*b.length);c[0]="SpartanSmol";c[1]="Directory Entry ";var d=2;a=a.$replace("\\","/");a.endsWith("/")&&(a=a.substring(0,a.length-
1));for(var e=0;e<b.length;e++){var f=a+(Character.isDigit(b[e].charAt(0))?"/Profile."+b[e]:"/"+b[e]);c[d++]=f+"/#JMOL_MODEL "+b[e];c[d++]=f+"/input";c[d++]=f+"/archive";c[d++]=f+"/Molecule:asBinaryString";c[d++]=f+"/proparc"}return c},$fz.isPrivate=!0,$fz),"~S,~A");c$.checkSpecialInZip=$_M(c$,"checkSpecialInZip",function(a){var b;return 2>a.length?null:(b=a[1]).endsWith(".spardir/")||2==a.length?["",b.endsWith("/")?b.substring(0,b.length-1):b]:null},"~A");Clazz.overrideMethod(c$,"getCachedPngjBytes",
function(a,b){if(0>b.indexOf(".png"))return null;J.util.Logger.info("FileManager checking PNGJ cache for "+b);var c=J.io2.ZipUtil.shortSceneFilename(b);if(null==a.pngjCache&&!this.cachePngjFile(a,[b,null]))return null;var d=a.pngjCache,e=0<=b.indexOf(".min.");if(!e){var f=a.getCanonicalName(J.io.JmolBinary.getZipRoot(b));if(!d.containsKey(f)&&!this.cachePngjFile(a,[b,null]))return null;0>b.indexOf("|")&&(c=f)}if(d.containsKey(c))return J.util.Logger.info("FileManager using memory cache "+c),d.get(c);
if(!e||!this.cachePngjFile(a,[b,null]))return null;J.util.Logger.info("FileManager using memory cache "+c);return d.get(c)},"J.viewer.FileManager,~S");Clazz.overrideMethod(c$,"cachePngjFile",function(a,b){var c=a.pngjCache=new java.util.Hashtable;if(null==b)return!1;b[1]=null;if(null==b[0])return!1;b[0]=J.io.JmolBinary.getZipRoot(b[0]);var d=J.io2.ZipUtil.shortSceneFilename(b[0]);try{b[1]=this.cacheZipContents(J.io.JmolBinary.checkPngZipStream(a.getBufferedInputStreamOrErrorMessageFromName(b[0],null,
!1,!1,null,!1)),d,a.pngjCache)}catch(e){if(Clazz.exceptionOf(e,Exception))return!1;throw e;}if(null==b[1])return!1;var f=b[1].getBytes();c.put(a.getCanonicalName(b[0]),f);0<=d.indexOf("_scene_")&&(c.put(J.io2.ZipUtil.shortSceneFilename(b[0]),f),f=c.remove(d+"|state.spt"),null!=f&&c.put(J.io2.ZipUtil.shortSceneFilename(b[0]+"|state.spt"),f));for(var h,c=c.keySet().iterator();c.hasNext()&&((h=c.next())||1);)System.out.println(h);return!0},"J.viewer.FileManager,~A");c$.shortSceneFilename=$_M(c$,"shortSceneFilename",
($fz=function(a){var b=a.indexOf("_scene_")+7;if(7>b)return a;var c="";if(a.endsWith("|state.spt")){c=a.indexOf(".",b);if(0>c)return a;c=a.substring(b,c)}var d=a.lastIndexOf("|");return a.substring(0,b)+c+(0<d?a.substring(d):"")},$fz.isPrivate=!0,$fz),"~S");Clazz.overrideMethod(c$,"addZipEntry",function(a,b){a.putNextEntry(new java.util.zip.ZipEntry(b))},"~O,~S");Clazz.overrideMethod(c$,"closeZipEntry",function(a){a.closeEntry()},"~O");Clazz.overrideMethod(c$,"getZipOutputStream",function(a){return J.api.Interface.getInterface("java.util.zip.ZipOutputStream").setZOS(a)},
"~O");Clazz.overrideMethod(c$,"getCrcValue",function(a){var b=new java.util.zip.CRC32;b.update(a,0,a.length);return b.getValue()},"~A")});
$_L(["java.io.Closeable","$.InputStream"],"java.io.FileInputStream",["java.lang.IndexOutOfBoundsException","$.NullPointerException"],function(){c$=$_C(function(){this.fd=null;this.innerFD=!1;$_Z(this,arguments)},java.io,"FileInputStream",java.io.InputStream,java.io.Closeable);$_K(c$,function(){$_R(this,java.io.FileInputStream)},"java.io.File");$_K(c$,function(a){$_R(this,java.io.FileInputStream);if(null==a)throw new NullPointerException;},"java.io.FileDescriptor");$_K(c$,function(){this.construct(null)},
"~S");$_V(c$,"available",function(){return 0});$_V(c$,"close",function(){});$_V(c$,"finalize",function(){this.close()});$_M(c$,"getFD",function(){return this.fd});$_M(c$,"read",function(){var a=$_A(1,0);return-1==this.read(a,0,1)?-1:a[0]&255});$_M(c$,"read",function(a){return this.read(a,0,a.length)},"~A");$_M(c$,"read",function(a,b,c){if(c>a.length-b||0>c||0>b)throw new IndexOutOfBoundsException;return 0},"~A,~N,~N");$_V(c$,"skip",function(){return 0},"~N")});Clazz.declarePackage("JZ");
Clazz.declareInterface(JZ,"Checksum");Clazz.declarePackage("JZ");
Clazz.load(["JZ.Checksum"],"JZ.CRC32",null,function(){c$=Clazz.decorateAsClass(function(){this.crc=0;this.b1=null;Clazz.instantialize(this,arguments)},JZ,"CRC32",null,JZ.Checksum);Clazz.prepareFields(c$,function(){this.b1=Clazz.newByteArray(1,0)});Clazz.overrideMethod(c$,"update",function(a,b,c){for(var d=~this.crc;0<=--c;)d=JZ.CRC32.crc_table[(d^a[b++])&255]^d>>>8;this.crc=~d},"~A,~N,~N");Clazz.overrideMethod(c$,"reset",function(){this.crc=0});Clazz.overrideMethod(c$,"resetLong",function(a){this.crc=
a&4294967295},"~N");Clazz.overrideMethod(c$,"getValue",function(){return this.crc&4294967295});Clazz.overrideMethod(c$,"updateByteAsInt",function(a){this.b1[0]=a;this.update(this.b1,0,1)},"~N");Clazz.defineStatics(c$,"crc_table",[0,1996959894,-301047508,-1727442502,124634137,1886057615,-379345611,-1637575261,249268274,2044508324,-522852066,-1747789432,162941995,2125561021,-407360249,-1866523247,498536548,1789927666,-205950648,-2067906082,450548861,1843258603,-187386543,-2083289657,325883990,1684777152,
-43845254,-1973040660,335633487,1661365465,-99664541,-1928851979,997073096,1281953886,-715111964,-1570279054,1006888145,1258607687,-770865667,-1526024853,901097722,1119000684,-608450090,-1396901568,853044451,1172266101,-589951537,-1412350631,651767980,1373503546,-925412992,-1076862698,565507253,1454621731,-809855591,-1195530993,671266974,1594198024,-972236366,-1324619484,795835527,1483230225,-1050600021,-1234817731,1994146192,31158534,-1731059524,-271249366,1907459465,112637215,-1614814043,-390540237,
2013776290,251722036,-1777751922,-519137256,2137656763,141376813,-1855689577,-429695999,1802195444,476864866,-2056965928,-228458418,1812370925,453092731,-2113342271,-183516073,1706088902,314042704,-1950435094,-54949764,1658658271,366619977,-1932296973,-69972891,1303535960,984961486,-1547960204,-725929758,1256170817,1037604311,-1529756563,-740887301,1131014506,879679996,-1385723834,-631195440,1141124467,855842277,-1442165665,-586318647,1342533948,654459306,-1106571248,-921952122,1466479909,544179635,
-1184443383,-832445281,1591671054,702138776,-1328506846,-942167884,1504918807,783551873,-1212326853,-1061524307,-306674912,-1698712650,62317068,1957810842,-355121351,-1647151185,81470997,1943803523,-480048366,-1805370492,225274430,2053790376,-468791541,-1828061283,167816743,2097651377,-267414716,-2029476910,503444072,1762050814,-144550051,-2140837941,426522225,1852507879,-19653770,-1982649376,282753626,1742555852,-105259153,-1900089351,397917763,1622183637,-690576408,-1580100738,953729732,1340076626,
-776247311,-1497606297,1068828381,1219638859,-670225446,-1358292148,906185462,1090812512,-547295293,-1469587627,829329135,1181335161,-882789492,-1134132454,628085408,1382605366,-871598187,-1156888829,570562233,1426400815,-977650754,-1296233688,733239954,1555261956,-1026031705,-1244606671,752459403,1541320221,-1687895376,-328994266,1969922972,40735498,-1677130071,-351390145,1913087877,83908371,-1782625662,-491226604,2075208622,213261112,-1831694693,-438977011,2094854071,198958881,-2032938284,-237706686,
1759359992,534414190,-2118248755,-155638181,1873836001,414664567,-2012718362,-15766928,1711684554,285281116,-1889165569,-127750551,1634467795,376229701,-1609899400,-686959890,1308918612,956543938,-1486412191,-799009033,1231636301,1047427035,-1362007478,-640263460,1088359270,936918E3,-1447252397,-558129467,1202900863,817233897,-1111625188,-893730166,1404277552,615818150,-1160759803,-841546093,1423857449,601450431,-1285129682,-1000256840,1567103746,711928724,-1274298825,-1022587231,1510334235,755167117])});
Clazz.declarePackage("java.util.zip");Clazz.load(["JZ.CRC32"],"java.util.zip.CRC32",null,function(){c$=Clazz.declareType(java.util.zip,"CRC32",JZ.CRC32)});Clazz.declarePackage("JZ");
Clazz.load(["java.io.FilterInputStream"],"JZ.InflaterInputStream",["java.io.EOFException","$.IOException","java.lang.IllegalArgumentException","$.IndexOutOfBoundsException","$.NullPointerException"],function(){c$=Clazz.decorateAsClass(function(){this.buf=this.inflater=null;this.len=0;this.eof=this.closed=!1;this.close_in=!0;this.myinflater=!1;this.b=this.byte1=null;Clazz.instantialize(this,arguments)},JZ,"InflaterInputStream",java.io.FilterInputStream);Clazz.prepareFields(c$,function(){this.byte1=
Clazz.newByteArray(1,0);this.b=Clazz.newByteArray(512,0)});Clazz.makeConstructor(c$,function(a,b,c,d){Clazz.superConstructor(this,JZ.InflaterInputStream,[a]);this.inflater=b;this.buf=Clazz.newByteArray(c,0);this.close_in=d},"java.io.InputStream,JZ.Inflater,~N,~B");Clazz.overrideMethod(c$,"readByteAsInt",function(){if(this.closed)throw new java.io.IOException("Stream closed");return-1==this.read(this.byte1,0,1)?-1:this.byte1[0]&255});Clazz.overrideMethod(c$,"read",function(a,b,c){return this.readInf(a,
b,c)},"~A,~N,~N");$_M(c$,"readInf",function(a,b,c){if(this.closed)throw new java.io.IOException("Stream closed");if(null==a)throw new NullPointerException;if(0>b||0>c||c>a.length-b)throw new IndexOutOfBoundsException;if(0==c)return 0;if(this.eof)return-1;var d=0;for(this.inflater.setOutput(a,b,c);!this.eof;){0==this.inflater.avail_in&&this.fill();a=this.inflater.inflate(0);d+=this.inflater.next_out_index-b;b=this.inflater.next_out_index;switch(a){case -3:throw new java.io.IOException(this.inflater.msg);
case 1:case 2:if(this.eof=!0,2==a)return-1}if(0==this.inflater.avail_out)break}return d},"~A,~N,~N");Clazz.overrideMethod(c$,"available",function(){if(this.closed)throw new java.io.IOException("Stream closed");return this.eof?0:1});Clazz.overrideMethod(c$,"skip",function(a){if(0>a)throw new IllegalArgumentException("negative skip length");if(this.closed)throw new java.io.IOException("Stream closed");a=Math.min(a,2147483647);for(var b=0;b<a;){var c=a-b;c>this.b.length&&(c=this.b.length);c=this.read(this.b,
0,c);if(-1==c){this.eof=!0;break}b+=c}return b},"~N");Clazz.overrideMethod(c$,"close",function(){this.closed||(this.myinflater&&this.inflater.end(),this.close_in&&this.$in.close(),this.closed=!0)});$_M(c$,"fill",function(){if(this.closed)throw new java.io.IOException("Stream closed");this.len=this.$in.read(this.buf,0,this.buf.length);if(-1==this.len)if(0==this.inflater.istate.wrap&&!this.inflater.finished())this.buf[0]=0,this.len=1;else{if(-1!=this.inflater.istate.was)throw new java.io.IOException("footer is not found");
throw new java.io.EOFException("Unexpected end of ZLIB input stream");}this.inflater.setInput(this.buf,0,this.len,!0)});Clazz.overrideMethod(c$,"markSupported",function(){return!1});Clazz.overrideMethod(c$,"mark",function(){},"~N");Clazz.overrideMethod(c$,"reset",function(){throw new java.io.IOException("mark/reset not supported");});$_M(c$,"getTotalIn",function(){return this.inflater.getTotalIn()});$_M(c$,"getTotalOut",function(){return this.inflater.getTotalOut()});$_M(c$,"getAvailIn",function(){if(0>=
this.inflater.avail_in)return null;var a=Clazz.newByteArray(this.inflater.avail_in,0);System.arraycopy(this.inflater.next_in,this.inflater.next_in_index,a,0,this.inflater.avail_in);return a});$_M(c$,"readHeader",function(){var a="".getBytes();this.inflater.setInput(a,0,0,!1);this.inflater.setOutput(a,0,0);a=this.inflater.inflate(0);if(this.inflater.istate.inParsingHeader()){var b=Clazz.newByteArray(1,0);do{if(0>=this.$in.read(b,0,1))throw new java.io.IOException("no input");this.inflater.setInput(b,
0,b.length,!1);a=this.inflater.inflate(0);if(0!=a)throw new java.io.IOException(this.inflater.msg);}while(this.inflater.istate.inParsingHeader())}});$_M(c$,"getInflater",function(){return this.inflater});Clazz.defineStatics(c$,"DEFAULT_BUFSIZE",512)});Clazz.declarePackage("java.util.zip");
Clazz.load(["JZ.InflaterInputStream"],"java.util.zip.InflaterInputStream",null,function(){c$=Clazz.decorateAsClass(function(){this.inf=null;Clazz.instantialize(this,arguments)},java.util.zip,"InflaterInputStream",JZ.InflaterInputStream);Clazz.makeConstructor(c$,function(a,b,c){Clazz.superConstructor(this,java.util.zip.InflaterInputStream,[a,b,c,!0]);this.inf=b},"java.io.InputStream,java.util.zip.Inflater,~N")});Clazz.declarePackage("java.util.zip");
Clazz.load(["java.util.zip.InflaterInputStream","$.CRC32"],"java.util.zip.GZIPInputStream",["java.io.EOFException","$.IOException","java.util.zip.CheckedInputStream","$.Inflater","$.ZipException"],function(){c$=Clazz.decorateAsClass(function(){this.crc=null;this.$closed=this.eos=!1;this.tmpbuf=null;Clazz.instantialize(this,arguments)},java.util.zip,"GZIPInputStream",java.util.zip.InflaterInputStream);Clazz.prepareFields(c$,function(){this.crc=new java.util.zip.CRC32;this.tmpbuf=Clazz.newByteArray(128,
0)});$_M(c$,"ensureOpen",($fz=function(){if(this.$closed)throw new java.io.IOException("Stream closed");},$fz.isPrivate=!0,$fz));Clazz.makeConstructor(c$,function(a,b){Clazz.superConstructor(this,java.util.zip.GZIPInputStream,[a,(new java.util.zip.Inflater).init(0,!0),b]);this.readHeader(a)},"java.io.InputStream,~N");Clazz.overrideMethod(c$,"read",function(a,b,c){this.ensureOpen();if(this.eos)return-1;var d=this.readInf(a,b,c);if(-1==d)if(this.readTrailer())this.eos=!0;else return this.read(a,b,c);
else this.crc.update(a,b,d);return d},"~A,~N,~N");$_M(c$,"close",function(){this.$closed||(Clazz.superCall(this,java.util.zip.GZIPInputStream,"close",[]),this.$closed=this.eos=!0)});$_M(c$,"readHeader",($fz=function(a){a=new java.util.zip.CheckedInputStream(a,this.crc);this.crc.reset();if(35615!=this.readUShort(a))throw new java.util.zip.ZipException("Not in GZIP format");if(8!=this.readUByte(a))throw new java.util.zip.ZipException("Unsupported compression method");var b=this.readUByte(a);this.skipBytes(a,
6);var c=10;if(4==(b&4)){var d=this.readUShort(a);this.skipBytes(a,d);c+=d+2}if(8==(b&8)){do c++;while(0!=this.readUByte(a))}if(16==(b&16)){do c++;while(0!=this.readUByte(a))}if(2==(b&2)){b=this.crc.getValue()&65535;if(this.readUShort(a)!=b)throw new java.util.zip.ZipException("Corrupt GZIP header");c+=2}this.crc.reset();return c},$fz.isPrivate=!0,$fz),"java.io.InputStream");$_M(c$,"readTrailer",($fz=function(){return!0},$fz.isPrivate=!0,$fz));$_M(c$,"readUShort",($fz=function(a){var b=this.readUByte(a);
return this.readUByte(a)<<8|b},$fz.isPrivate=!0,$fz),"java.io.InputStream");$_M(c$,"readUByte",($fz=function(a){a=a.readByteAsInt();if(-1==a)throw new java.io.EOFException;if(-1>a||255<a)throw new java.io.IOException(this.$in.getClass().getName()+".read() returned value out of range -1..255: "+a);return a},$fz.isPrivate=!0,$fz),"java.io.InputStream");$_M(c$,"skipBytes",($fz=function(a,b){for(;0<b;){var c=a.read(this.tmpbuf,0,b<this.tmpbuf.length?b:this.tmpbuf.length);if(-1==c)throw new java.io.EOFException;
b-=c}},$fz.isPrivate=!0,$fz),"java.io.InputStream,~N");Clazz.defineStatics(c$,"GZIP_MAGIC",35615,"FHCRC",2,"FEXTRA",4,"FNAME",8,"FCOMMENT",16)});Clazz.declarePackage("JZ");
Clazz.load(null,"JZ.ZStream",["JZ.Adler32"],function(){c$=Clazz.decorateAsClass(function(){this.next_in=null;this.total_in=this.avail_in=this.next_in_index=0;this.next_out=null;this.total_out=this.avail_out=this.next_out_index=0;this.istate=this.dstate=this.msg=null;this.data_type=0;this.checksum=null;Clazz.instantialize(this,arguments)},JZ,"ZStream");$_M(c$,"setAdler32",function(){this.checksum=new JZ.Adler32});$_M(c$,"inflate",function(a){return null==this.istate?-2:this.istate.inflate(a)},"~N");
$_M(c$,"deflate",function(a){return null==this.dstate?-2:this.dstate.deflate(a)},"~N");$_M(c$,"flush_pending",function(){var a=this.dstate.pending;a>this.avail_out&&(a=this.avail_out);0!=a&&(System.arraycopy(this.dstate.pending_buf,this.dstate.pending_out,this.next_out,this.next_out_index,a),this.next_out_index+=a,this.dstate.pending_out+=a,this.total_out+=a,this.avail_out-=a,this.dstate.pending-=a,0==this.dstate.pending&&(this.dstate.pending_out=0))});$_M(c$,"read_buf",function(a,b,c){var d=this.avail_in;
d>c&&(d=c);if(0==d)return 0;this.avail_in-=d;0!=this.dstate.wrap&&this.checksum.update(this.next_in,this.next_in_index,d);System.arraycopy(this.next_in,this.next_in_index,a,b,d);this.next_in_index+=d;this.total_in+=d;return d},"~A,~N,~N");$_M(c$,"getAdler",function(){return this.checksum.getValue()});$_M(c$,"free",function(){this.msg=this.next_out=this.next_in=null});$_M(c$,"setOutput",function(a,b,c){this.next_out=a;this.next_out_index=b;this.avail_out=c},"~A,~N,~N");$_M(c$,"setInput",function(a,
b,c,d){0>=c&&d&&null!=this.next_in||(0<this.avail_in&&d?(d=Clazz.newByteArray(this.avail_in+c,0),System.arraycopy(this.next_in,this.next_in_index,d,0,this.avail_in),System.arraycopy(a,b,d,this.avail_in,c),this.next_in=d,this.next_in_index=0,this.avail_in+=c):(this.next_in=a,this.next_in_index=b,this.avail_in=c))},"~A,~N,~N,~B");$_M(c$,"getAvailIn",function(){return this.avail_in});$_M(c$,"getTotalOut",function(){return this.total_out});$_M(c$,"getTotalIn",function(){return this.total_in});c$.getBytes=
$_M(c$,"getBytes",function(a){for(var b=[],c=0;c<a.length;c++){var d=a.charCodeAt(c);127>=d?b.push(d):2047>=d?(b.push(192|d>>6&31),b.push(128|d&63)):65535>=d?(b.push(224|d>>12&15),b.push(128|d>>6&63),b.push(128|d&63)):b.push(63)}return Int32Array!=Array?new Int32Array(b):b},"~S");Clazz.defineStatics(c$,"Z_STREAM_ERROR",-2)});Clazz.declarePackage("JZ");
Clazz.load(["JZ.ZStream"],"JZ.Inflater",["JZ.Inflate"],function(){c$=Clazz.declareType(JZ,"Inflater",JZ.ZStream);$_M(c$,"init",function(a,b){this.setAdler32();0==a&&(a=15);this.istate=new JZ.Inflate(this);this.istate.inflateInit(b?-a:a);return this},"~N,~B");Clazz.overrideMethod(c$,"inflate",function(a){return null==this.istate?-2:this.istate.inflate(a)},"~N");Clazz.overrideMethod(c$,"end",function(){return null==this.istate?-2:this.istate.inflateEnd()});$_M(c$,"sync",function(){return null==this.istate?
-2:this.istate.inflateSync()});$_M(c$,"syncPoint",function(){return null==this.istate?-2:this.istate.inflateSyncPoint()});$_M(c$,"setDictionary",function(a,b){return null==this.istate?-2:this.istate.inflateSetDictionary(a,b)},"~A,~N");Clazz.overrideMethod(c$,"finished",function(){return 12==this.istate.mode});$_M(c$,"reset",function(){this.avail_in=0;null!=this.istate&&this.istate.reset()});Clazz.defineStatics(c$,"MAX_WBITS",15,"DEF_WBITS",15,"$Z_STREAM_ERROR",-2)});Clazz.declarePackage("JZ");
Clazz.load(["JZ.Checksum"],"JZ.Adler32",null,function(){c$=Clazz.decorateAsClass(function(){this.s1=1;this.s2=0;this.b1=null;Clazz.instantialize(this,arguments)},JZ,"Adler32",null,JZ.Checksum);Clazz.prepareFields(c$,function(){this.b1=Clazz.newByteArray(1,0)});Clazz.overrideMethod(c$,"resetLong",function(a){this.s1=a&65535;this.s2=a>>16&65535},"~N");Clazz.overrideMethod(c$,"reset",function(){this.s1=1;this.s2=0});Clazz.overrideMethod(c$,"getValue",function(){return this.s2<<16|this.s1});Clazz.overrideMethod(c$,
"update",function(a,b,c){if(1==c)this.s1+=a[b++]&255,this.s2+=this.s1;else{for(var d=Clazz.doubleToInt(c/5552),e=c%5552;0<d--;){var f=5552;for(c-=f;0<f--;)this.s1+=a[b++]&255,this.s2+=this.s1;this.s1%=65521;this.s2%=65521}for(f=e;0<f--;)this.s1+=a[b++]&255,this.s2+=this.s1}this.s1%=65521;this.s2%=65521},"~A,~N,~N");Clazz.overrideMethod(c$,"updateByteAsInt",function(a){this.b1[0]=a;this.update(this.b1,0,1)},"~N");Clazz.defineStatics(c$,"BASE",65521,"NMAX",5552)});Clazz.declarePackage("JZ");
c$=Clazz.decorateAsClass(function(){this.dyn_tree=null;this.max_code=0;this.stat_desc=null;Clazz.instantialize(this,arguments)},JZ,"Tree");c$.d_code=$_M(c$,"d_code",function(a){return 256>a?JZ.Tree._dist_code[a]:JZ.Tree._dist_code[256+(a>>>7)]},"~N");
$_M(c$,"gen_bitlen",function(a){var b=this.dyn_tree,c=this.stat_desc.static_tree,d=this.stat_desc.extra_bits,e=this.stat_desc.extra_base,f=this.stat_desc.max_length,h,g,j,n,t,l=0;for(j=0;15>=j;j++)a.bl_count[j]=0;b[2*a.heap[a.heap_max]+1]=0;for(h=a.heap_max+1;573>h;h++)g=a.heap[h],j=b[2*b[2*g+1]+1]+1,j>f&&(j=f,l++),b[2*g+1]=j,g>this.max_code||(a.bl_count[j]++,n=0,g>=e&&(n=d[g-e]),t=b[2*g],a.opt_len+=t*(j+n),null!=c&&(a.static_len+=t*(c[2*g+1]+n)));if(0!=l){do{for(j=f-1;0==a.bl_count[j];)j--;a.bl_count[j]--;
a.bl_count[j+1]+=2;a.bl_count[f]--;l-=2}while(0<l);for(j=f;0!=j;j--)for(g=a.bl_count[j];0!=g;)c=a.heap[--h],c>this.max_code||(b[2*c+1]!=j&&(a.opt_len+=(j-b[2*c+1])*b[2*c],b[2*c+1]=j),g--)}},"JZ.Deflate");
$_M(c$,"build_tree",function(a){var b=this.dyn_tree,c=this.stat_desc.static_tree,d=this.stat_desc.elems,e,f=-1,h;a.heap_len=0;a.heap_max=573;for(e=0;e<d;e++)0!=b[2*e]?(a.heap[++a.heap_len]=f=e,a.depth[e]=0):b[2*e+1]=0;for(;2>a.heap_len;)h=a.heap[++a.heap_len]=2>f?++f:0,b[2*h]=1,a.depth[h]=0,a.opt_len--,null!=c&&(a.static_len-=c[2*h+1]);this.max_code=f;for(e=Clazz.doubleToInt(a.heap_len/2);1<=e;e--)a.pqdownheap(b,e);h=d;do e=a.heap[1],a.heap[1]=a.heap[a.heap_len--],a.pqdownheap(b,1),c=a.heap[1],a.heap[--a.heap_max]=
e,a.heap[--a.heap_max]=c,b[2*h]=b[2*e]+b[2*c],a.depth[h]=Math.max(a.depth[e],a.depth[c])+1,b[2*e+1]=b[2*c+1]=h,a.heap[1]=h++,a.pqdownheap(b,1);while(2<=a.heap_len);a.heap[--a.heap_max]=a.heap[1];this.gen_bitlen(a);JZ.Tree.gen_codes(b,f,a.bl_count)},"JZ.Deflate");c$.gen_codes=$_M(c$,"gen_codes",function(a,b,c){var d=0,e;JZ.Tree.next_code[0]=0;for(e=1;15>=e;e++)JZ.Tree.next_code[e]=d=d+c[e-1]<<1;for(c=0;c<=b;c++)d=a[2*c+1],0!=d&&(a[2*c]=JZ.Tree.bi_reverse(JZ.Tree.next_code[d]++,d))},"~A,~N,~A");
c$.bi_reverse=$_M(c$,"bi_reverse",function(a,b){var c=0;do c|=a&1,a>>>=1,c<<=1;while(0<--b);return c>>>1},"~N,~N");
Clazz.defineStatics(c$,"MAX_BITS",15,"LITERALS",256,"LENGTH_CODES",29,"L_CODES",286,"HEAP_SIZE",573,"MAX_BL_BITS",7,"END_BLOCK",256,"REP_3_6",16,"REPZ_3_10",17,"REPZ_11_138",18,"extra_lbits",[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],"extra_dbits",[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],"extra_blbits",[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],"bl_order",[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],"Buf_size",16,"DIST_CODE_LEN",512,"_dist_code",[0,1,
2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,
14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,
26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29],"_length_code",
[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,
25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],"base_length",[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],"base_dist",[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],"next_code",Clazz.newShortArray(16,
0));Clazz.declarePackage("JZ");
Clazz.load(["JZ.Tree"],"JZ.StaticTree",null,function(){c$=Clazz.decorateAsClass(function(){this.extra_bits=this.static_tree=null;this.max_length=this.elems=this.extra_base=0;Clazz.instantialize(this,arguments)},JZ,"StaticTree");Clazz.makeConstructor(c$,($fz=function(a,b,c,d,e){this.static_tree=a;this.extra_bits=b;this.extra_base=c;this.elems=d;this.max_length=e},$fz.isPrivate=!0,$fz),"~A,~A,~N,~N,~N");Clazz.defineStatics(c$,"MAX_BITS",15,"BL_CODES",19,"D_CODES",30,"LITERALS",256,"LENGTH_CODES",29,
"L_CODES",286,"MAX_BL_BITS",7,"static_ltree",[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,
8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,
9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,
7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],"static_dtree",[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5]);c$.static_l_desc=c$.prototype.static_l_desc=new JZ.StaticTree(JZ.StaticTree.static_ltree,JZ.Tree.extra_lbits,257,286,15);c$.static_d_desc=c$.prototype.static_d_desc=new JZ.StaticTree(JZ.StaticTree.static_dtree,
JZ.Tree.extra_dbits,0,30,15);c$.static_bl_desc=c$.prototype.static_bl_desc=new JZ.StaticTree(null,JZ.Tree.extra_blbits,0,19,7)});Clazz.declarePackage("JZ");
Clazz.load(null,"JZ.GZIPHeader",["JZ.ZStream","java.lang.IllegalArgumentException","$.InternalError"],function(){c$=Clazz.decorateAsClass(function(){this.fhcrc=this.text=!1;this.xflags=this.time=0;this.os=255;this.comment=this.name=this.extra=null;this.crc=this.hcrc=0;this.done=!1;this.mtime=0;Clazz.instantialize(this,arguments)},JZ,"GZIPHeader",null,Cloneable);$_M(c$,"setModifiedTime",function(a){this.mtime=a},"~N");$_M(c$,"getModifiedTime",function(){return this.mtime});$_M(c$,"setOS",function(a){if(0<=
a&&13>=a||255==a)this.os=a;else throw new IllegalArgumentException("os: "+a);},"~N");$_M(c$,"getOS",function(){return this.os});$_M(c$,"setName",function(a){this.name=JZ.ZStream.getBytes(a)},"~S");$_M(c$,"getName",function(){if(null==this.name)return"";try{return String.instantialize(this.name,"ISO-8859-1")}catch(a){if(Clazz.exceptionOf(a,java.io.UnsupportedEncodingException))throw new InternalError(a.toString());throw a;}});$_M(c$,"setComment",function(a){this.comment=JZ.ZStream.getBytes(a)},"~S");
$_M(c$,"getComment",function(){if(null==this.comment)return"";try{return String.instantialize(this.comment,"ISO-8859-1")}catch(a){if(Clazz.exceptionOf(a,java.io.UnsupportedEncodingException))throw new InternalError(a.toString());throw a;}});$_M(c$,"setCRC",function(a){this.crc=a},"~N");$_M(c$,"getCRC",function(){return this.crc});$_M(c$,"put",function(a){var b=0;this.text&&(b|=1);this.fhcrc&&(b|=2);null!=this.extra&&(b|=4);null!=this.name&&(b|=8);null!=this.comment&&(b|=16);var c=0;1==a.level?c|=
4:9==a.level&&(c|=2);a.put_short(35615);a.put_byteB(8);a.put_byteB(b);a.put_byteB(this.mtime);a.put_byteB(this.mtime>>8);a.put_byteB(this.mtime>>16);a.put_byteB(this.mtime>>24);a.put_byteB(c);a.put_byteB(this.os);null!=this.extra&&(a.put_byteB(this.extra.length),a.put_byteB(this.extra.length>>8),a.put_byte(this.extra,0,this.extra.length));null!=this.name&&(a.put_byte(this.name,0,this.name.length),a.put_byteB(0));null!=this.comment&&(a.put_byte(this.comment,0,this.comment.length),a.put_byteB(0))},
"JZ.Deflate");$_M(c$,"clone",function(){var a=Clazz.superCall(this,JZ.GZIPHeader,"clone",[]),b;null!=a.extra&&(b=Clazz.newByteArray(a.extra.length,0),System.arraycopy(a.extra,0,b,0,b.length),a.extra=b);null!=a.name&&(b=Clazz.newByteArray(a.name.length,0),System.arraycopy(a.name,0,b,0,b.length),a.name=b);null!=a.comment&&(b=Clazz.newByteArray(a.comment.length,0),System.arraycopy(a.comment,0,b,0,b.length),a.comment=b);return a});Clazz.defineStatics(c$,"OS_MSDOS",0,"OS_AMIGA",1,"OS_VMS",2,"OS_UNIX",
3,"OS_ATARI",5,"OS_OS2",6,"OS_MACOS",7,"OS_TOPS20",10,"OS_WIN32",11,"OS_VMCMS",4,"OS_ZSYSTEM",8,"OS_CPM",9,"OS_QDOS",12,"OS_RISCOS",13,"OS_UNKNOWN",255)});Clazz.declarePackage("JZ");
Clazz.load(["java.lang.Exception"],"JZ.Inflate",["JZ.Adler32","$.CRC32","$.GZIPHeader","$.InfBlocks","java.io.ByteArrayOutputStream"],function(){c$=Clazz.decorateAsClass(function(){this.method=this.mode=0;this.was=-1;this.wbits=this.wrap=this.marker=this.need=0;this.z=this.blocks=null;this.flags=0;this.need_bytes=-1;this.gheader=this.crcbuf=null;Clazz.isClassDefined("JZ.Inflate.Return")||JZ.Inflate.$Inflate$Return$();this.tmp_string=null;Clazz.instantialize(this,arguments)},JZ,"Inflate");Clazz.prepareFields(c$,
function(){this.crcbuf=Clazz.newByteArray(4,0)});$_M(c$,"reset",function(){this.inflateReset()});$_M(c$,"inflateReset",function(){if(null==this.z)return-2;this.z.total_in=this.z.total_out=0;this.z.msg=null;this.mode=14;this.need_bytes=-1;this.blocks.reset();return 0});$_M(c$,"inflateEnd",function(){null!=this.blocks&&this.blocks.free();return 0});Clazz.makeConstructor(c$,function(a){this.z=a},"JZ.ZStream");$_M(c$,"inflateInit",function(a){this.blocks=this.z.msg=null;this.wrap=0;0>a?a=-a:(this.wrap=
(a>>4)+1,48>a&&(a&=15));if(8>a||15<a)return this.inflateEnd(),-2;null!=this.blocks&&this.wbits!=a&&(this.blocks.free(),this.blocks=null);this.wbits=a;this.blocks=new JZ.InfBlocks(this.z,1<<a);this.inflateReset();return 0},"~N");$_M(c$,"inflate",function(a){var b,c;if(null==this.z||null==this.z.next_in)return 4==a&&14==this.mode?0:-2;a=4==a?-5:0;for(b=-5;;)switch(this.mode){case 14:if(0==this.wrap){this.mode=7;break}try{b=this.readBytes(2,b,a)}catch(d){if(Clazz.exceptionOf(d,JZ.Inflate.Return))return d.r;
throw d;}if(0!=(this.wrap&2)&&35615==this.need){this.z.checksum=new JZ.CRC32;this.checksum(2,this.need);null==this.gheader&&(this.gheader=new JZ.GZIPHeader);this.mode=23;break}this.flags=0;this.method=this.need&255;c=this.need>>8&255;if(0==(this.wrap&1)||0!=((this.method<<8)+c)%31){this.mode=13;this.z.msg="incorrect header check";break}if(8!=(this.method&15)){this.mode=13;this.z.msg="unknown compression method";break}if((this.method>>4)+8>this.wbits){this.mode=13;this.z.msg="invalid window size";
break}this.z.checksum=new JZ.Adler32;if(0==(c&32)){this.mode=7;break}this.mode=2;case 2:if(0==this.z.avail_in)return b;b=a;this.z.avail_in--;this.z.total_in++;this.need=(this.z.next_in[this.z.next_in_index++]&255)<<24&4278190080;this.mode=3;case 3:if(0==this.z.avail_in)return b;b=a;this.z.avail_in--;this.z.total_in++;this.need+=(this.z.next_in[this.z.next_in_index++]&255)<<16&16711680;this.mode=4;case 4:if(0==this.z.avail_in)return b;b=a;this.z.avail_in--;this.z.total_in++;this.need+=(this.z.next_in[this.z.next_in_index++]&
255)<<8&65280;this.mode=5;case 5:if(0==this.z.avail_in)return b;this.z.avail_in--;this.z.total_in++;this.need+=this.z.next_in[this.z.next_in_index++]&255;this.z.checksum.resetLong(this.need);this.mode=6;return 2;case 6:return this.mode=13,this.z.msg="need dictionary",this.marker=0,-2;case 7:b=this.blocks.proc(b);if(-3==b){this.mode=13;this.marker=0;break}0==b&&(b=a);if(1!=b)return b;b=a;this.was=this.z.checksum.getValue();this.blocks.reset();if(0==this.wrap){this.mode=12;break}this.mode=8;case 8:if(0==
this.z.avail_in)return b;b=a;this.z.avail_in--;this.z.total_in++;this.need=(this.z.next_in[this.z.next_in_index++]&255)<<24&4278190080;this.mode=9;case 9:if(0==this.z.avail_in)return b;b=a;this.z.avail_in--;this.z.total_in++;this.need+=(this.z.next_in[this.z.next_in_index++]&255)<<16&16711680;this.mode=10;case 10:if(0==this.z.avail_in)return b;b=a;this.z.avail_in--;this.z.total_in++;this.need+=(this.z.next_in[this.z.next_in_index++]&255)<<8&65280;this.mode=11;case 11:if(0==this.z.avail_in)return b;
b=a;this.z.avail_in--;this.z.total_in++;this.need+=this.z.next_in[this.z.next_in_index++]&255;0!=this.flags&&(this.need=((this.need&4278190080)>>24|(this.need&16711680)>>8|(this.need&65280)<<8|(this.need&65535)<<24)&4294967295);this.was!=this.need?this.z.msg="incorrect data check":0!=this.flags&&null!=this.gheader&&(this.gheader.crc=this.need);this.mode=15;case 15:if(0!=this.wrap&&0!=this.flags){try{b=this.readBytes(4,b,a)}catch(e){if(Clazz.exceptionOf(e,JZ.Inflate.Return))return e.r;throw e;}if(null!=
this.z.msg&&this.z.msg.equals("incorrect data check")){this.mode=13;this.marker=5;break}if(this.need!=(this.z.total_out&4294967295)){this.z.msg="incorrect length check";this.mode=13;break}this.z.msg=null}else if(null!=this.z.msg&&this.z.msg.equals("incorrect data check")){this.mode=13;this.marker=5;break}this.mode=12;case 12:return 1;case 13:return-3;case 23:try{b=this.readBytes(2,b,a)}catch(f){if(Clazz.exceptionOf(f,JZ.Inflate.Return))return f.r;throw f;}this.flags=this.need&65535;if(8!=(this.flags&
255)){this.z.msg="unknown compression method";this.mode=13;break}if(0!=(this.flags&57344)){this.z.msg="unknown header flags set";this.mode=13;break}0!=(this.flags&512)&&this.checksum(2,this.need);this.mode=16;case 16:try{b=this.readBytes(4,b,a)}catch(h){if(Clazz.exceptionOf(h,JZ.Inflate.Return))return h.r;throw h;}null!=this.gheader&&(this.gheader.time=this.need);0!=(this.flags&512)&&this.checksum(4,this.need);this.mode=17;case 17:try{b=this.readBytes(2,b,a)}catch(g){if(Clazz.exceptionOf(g,JZ.Inflate.Return))return g.r;
throw g;}null!=this.gheader&&(this.gheader.xflags=this.need&255,this.gheader.os=this.need>>8&255);0!=(this.flags&512)&&this.checksum(2,this.need);this.mode=18;case 18:if(0!=(this.flags&1024)){try{b=this.readBytes(2,b,a)}catch(j){if(Clazz.exceptionOf(j,JZ.Inflate.Return))return j.r;throw j;}null!=this.gheader&&(this.gheader.extra=Clazz.newByteArray(this.need&65535,0));0!=(this.flags&512)&&this.checksum(2,this.need)}else null!=this.gheader&&(this.gheader.extra=null);this.mode=19;case 19:if(0!=(this.flags&
1024))try{if(b=this.readBytes(b,a),null!=this.gheader){var n=this.tmp_string.toByteArray();this.tmp_string=null;if(n.length==this.gheader.extra.length)System.arraycopy(n,0,this.gheader.extra,0,n.length);else{this.z.msg="bad extra field length";this.mode=13;break}}}catch(t){if(Clazz.exceptionOf(t,JZ.Inflate.Return))return t.r;throw t;}else null!=this.gheader&&(this.gheader.extra=null);this.mode=20;case 20:if(0!=(this.flags&2048))try{b=this.readString(b,a),null!=this.gheader&&(this.gheader.name=this.tmp_string.toByteArray()),
this.tmp_string=null}catch(l){if(Clazz.exceptionOf(l,JZ.Inflate.Return))return l.r;throw l;}else null!=this.gheader&&(this.gheader.name=null);this.mode=21;case 21:if(0!=(this.flags&4096))try{b=this.readString(b,a),null!=this.gheader&&(this.gheader.comment=this.tmp_string.toByteArray()),this.tmp_string=null}catch(k){if(Clazz.exceptionOf(k,JZ.Inflate.Return))return k.r;throw k;}else null!=this.gheader&&(this.gheader.comment=null);this.mode=22;case 22:if(0!=(this.flags&512)){try{b=this.readBytes(2,b,
a)}catch(m){if(Clazz.exceptionOf(m,JZ.Inflate.Return))return m.r;throw m;}null!=this.gheader&&(this.gheader.hcrc=this.need&65535);if(this.need!=(this.z.checksum.getValue()&65535)){this.mode=13;this.z.msg="header crc mismatch";this.marker=5;break}}this.z.checksum=new JZ.CRC32;this.mode=7;break;default:return-2}},"~N");$_M(c$,"inflateSetDictionary",function(a,b){if(null==this.z||6!=this.mode&&0!=this.wrap)return-2;var c=0,d=b;if(6==this.mode){var e=this.z.checksum.getValue();this.z.checksum.reset();
this.z.checksum.update(a,0,b);if(this.z.checksum.getValue()!=e)return-3}this.z.checksum.reset();d>=1<<this.wbits&&(d=(1<<this.wbits)-1,c=b-d);this.blocks.set_dictionary(a,c,d);this.mode=7;return 0},"~A,~N");$_M(c$,"inflateSync",function(){var a,b,c;if(null==this.z)return-2;13!=this.mode&&(this.mode=13,this.marker=0);if(0==(a=this.z.avail_in))return-5;b=this.z.next_in_index;for(c=this.marker;0!=a&&4>c;)this.z.next_in[b]==JZ.Inflate.mark[c]?c++:c=0!=this.z.next_in[b]?0:4-c,b++,a--;this.z.total_in+=
b-this.z.next_in_index;this.z.next_in_index=b;this.z.avail_in=a;this.marker=c;if(4!=c)return-3;a=this.z.total_in;b=this.z.total_out;this.inflateReset();this.z.total_in=a;this.z.total_out=b;this.mode=7;return 0});$_M(c$,"inflateSyncPoint",function(){return null==this.z||null==this.blocks?-2:this.blocks.sync_point()});$_M(c$,"readBytes",($fz=function(a,b,c){-1==this.need_bytes&&(this.need_bytes=a,this.need=0);for(;0<this.need_bytes;){if(0==this.z.avail_in)throw Clazz.innerTypeInstance(JZ.Inflate.Return,
this,null,b);b=c;this.z.avail_in--;this.z.total_in++;this.need|=(this.z.next_in[this.z.next_in_index++]&255)<<8*(a-this.need_bytes);this.need_bytes--}2==a?this.need&=65535:4==a&&(this.need&=4294967295);this.need_bytes=-1;return b},$fz.isPrivate=!0,$fz),"~N,~N,~N");$_M(c$,"readString",($fz=function(a,b){null==this.tmp_string&&(this.tmp_string=new java.io.ByteArrayOutputStream);var c=0;do{if(0==this.z.avail_in)throw Clazz.innerTypeInstance(JZ.Inflate.Return,this,null,a);a=b;this.z.avail_in--;this.z.total_in++;
c=this.z.next_in[this.z.next_in_index];0!=c&&this.tmp_string.write(this.z.next_in,this.z.next_in_index,1);this.z.checksum.update(this.z.next_in,this.z.next_in_index,1);this.z.next_in_index++}while(0!=c);return a},$fz.isPrivate=!0,$fz),"~N,~N");$_M(c$,"readBytes",($fz=function(a,b){null==this.tmp_string&&(this.tmp_string=new java.io.ByteArrayOutputStream);for(;0<this.need;){if(0==this.z.avail_in)throw Clazz.innerTypeInstance(JZ.Inflate.Return,this,null,a);a=b;this.z.avail_in--;this.z.total_in++;this.tmp_string.write(this.z.next_in,
this.z.next_in_index,1);this.z.checksum.update(this.z.next_in,this.z.next_in_index,1);this.z.next_in_index++;this.need--}return a},$fz.isPrivate=!0,$fz),"~N,~N");$_M(c$,"checksum",($fz=function(a,b){for(var c=0;c<a;c++)this.crcbuf[c]=b&255,b>>=8;this.z.checksum.update(this.crcbuf,0,a)},$fz.isPrivate=!0,$fz),"~N,~N");$_M(c$,"getGZIPHeader",function(){return this.gheader});$_M(c$,"inParsingHeader",function(){switch(this.mode){case 14:case 2:case 3:case 4:case 5:case 23:case 16:case 17:case 18:case 19:case 20:case 21:case 22:return!0;
default:return!1}});c$.$Inflate$Return$=function(){Clazz.pu$h();c$=Clazz.decorateAsClass(function(){Clazz.prepareCallback(this,arguments);this.r=0;Clazz.instantialize(this,arguments)},JZ.Inflate,"Return",Exception);Clazz.makeConstructor(c$,function(a){Clazz.superConstructor(this,JZ.Inflate.Return,[]);this.r=a},"~N");c$=Clazz.p0p()};Clazz.defineStatics(c$,"PRESET_DICT",32,"Z_NO_FLUSH",0,"Z_PARTIAL_FLUSH",1,"Z_SYNC_FLUSH",2,"Z_FULL_FLUSH",3,"Z_FINISH",4,"Z_DEFLATED",8,"Z_OK",0,"Z_STREAM_END",1,"Z_NEED_DICT",
2,"Z_STREAM_ERROR",-2,"Z_DATA_ERROR",-3,"Z_BUF_ERROR",-5,"DICT4",2,"DICT3",3,"DICT2",4,"DICT1",5,"DICT0",6,"BLOCKS",7,"CHECK4",8,"CHECK3",9,"CHECK2",10,"CHECK1",11,"DONE",12,"BAD",13,"HEAD",14,"LENGTH",15,"TIME",16,"OS",17,"EXLEN",18,"EXTRA",19,"NAME",20,"COMMENT",21,"HCRC",22,"FLAGS",23,"mark",[0,0,255,255])});Clazz.declarePackage("JZ");c$=Clazz.decorateAsClass(function(){this.x=this.u=this.r=this.c=this.v=this.hn=null;Clazz.instantialize(this,arguments)},JZ,"InfTree");
$_M(c$,"huft_build",($fz=function(a,b,c,d,e,f,h,g,j,n,t){var l,k,m,p,r,v,u,q,s,w;u=0;m=c;do this.c[a[b+u]]++,u++,m--;while(0!=m);if(this.c[0]==c)return h[0]=-1,g[0]=0;v=g[0];for(p=1;15>=p&&0==this.c[p];p++);r=p;v<p&&(v=p);for(m=15;0!=m&&0==this.c[m];m--);k=m;v>m&&(v=m);g[0]=v;for(g=1<<p;p<m;p++,g<<=1)if(0>(g-=this.c[p]))return-3;if(0>(g-=this.c[m]))return-3;this.c[m]+=g;this.x[1]=p=0;u=1;for(q=2;0!=--m;)this.x[q]=p+=this.c[u],q++,u++;u=m=0;do{if(0!=(p=a[b+u]))t[this.x[p]++]=m;u++}while(++m<c);c=this.x[k];
u=this.x[0]=m=0;b=-1;s=-v;for(w=q=this.u[0]=0;r<=k;r++)for(a=this.c[r];0!=a--;){for(;r>s+v;){b++;s+=v;w=k-s;w=w>v?v:w;if((l=1<<(p=r-s))>a+1)if(l-=a+1,q=r,p<w)for(;++p<w&&!((l<<=1)<=this.c[++q]);)l-=this.c[q];w=1<<p;if(1440<n[0]+w)return-3;this.u[b]=q=n[0];n[0]+=w;0!=b?(this.x[b]=m,this.r[0]=p,this.r[1]=v,p=m>>>s-v,this.r[2]=q-this.u[b-1]-p,System.arraycopy(this.r,0,j,3*(this.u[b-1]+p),3)):h[0]=q}this.r[1]=r-s;u>=c?this.r[0]=192:t[u]<d?(this.r[0]=256>t[u]?0:96,this.r[2]=t[u++]):(this.r[0]=f[t[u]-d]+
16+64,this.r[2]=e[t[u++]-d]);l=1<<r-s;for(p=m>>>s;p<w;p+=l)System.arraycopy(this.r,0,j,3*(q+p),3);for(p=1<<r-1;0!=(m&p);p>>>=1)m^=p;m^=p;for(p=(1<<s)-1;(m&p)!=this.x[b];)b--,s-=v,p=(1<<s)-1}return 0!=g&&1!=k?-5:0},$fz.isPrivate=!0,$fz),"~A,~N,~N,~N,~A,~A,~A,~A,~A,~A,~A");
$_M(c$,"inflate_trees_bits",function(a,b,c,d,e){this.initWorkArea(19);this.hn[0]=0;a=this.huft_build(a,0,19,19,null,null,c,b,d,this.hn,this.v);if(-3==a)e.msg="oversubscribed dynamic bit lengths tree";else if(-5==a||0==b[0])e.msg="incomplete dynamic bit lengths tree",a=-3;return a},"~A,~A,~A,~A,JZ.ZStream");
$_M(c$,"inflate_trees_dynamic",function(a,b,c,d,e,f,h,g,j){this.initWorkArea(288);this.hn[0]=0;f=this.huft_build(c,0,a,257,JZ.InfTree.cplens,JZ.InfTree.cplext,f,d,g,this.hn,this.v);if(0!=f||0==d[0])return-3==f?j.msg="oversubscribed literal/length tree":-4!=f&&(j.msg="incomplete literal/length tree",f=-3),f;this.initWorkArea(288);f=this.huft_build(c,a,b,0,JZ.InfTree.cpdist,JZ.InfTree.cpdext,h,e,g,this.hn,this.v);return 0!=f||0==e[0]&&257<a?(-3==f?j.msg="oversubscribed distance tree":-5==f?(j.msg="incomplete distance tree",
f=-3):-4!=f&&(j.msg="empty distance tree with lengths",f=-3),f):0},"~N,~N,~A,~A,~A,~A,~A,~A,JZ.ZStream");c$.inflate_trees_fixed=$_M(c$,"inflate_trees_fixed",function(a,b,c,d){a[0]=9;b[0]=5;c[0]=JZ.InfTree.fixed_tl;d[0]=JZ.InfTree.fixed_td;return 0},"~A,~A,~A,~A,JZ.ZStream");
$_M(c$,"initWorkArea",($fz=function(a){null==this.hn&&(this.hn=Clazz.newIntArray(1,0),this.v=Clazz.newIntArray(a,0),this.c=Clazz.newIntArray(16,0),this.r=Clazz.newIntArray(3,0),this.u=Clazz.newIntArray(15,0),this.x=Clazz.newIntArray(16,0));this.v.length<a&&(this.v=Clazz.newIntArray(a,0));for(var b=0;b<a;b++)this.v[b]=0;for(b=0;16>b;b++)this.c[b]=0;for(b=0;3>b;b++)this.r[b]=0;System.arraycopy(this.c,0,this.u,0,15);System.arraycopy(this.c,0,this.x,0,16)},$fz.isPrivate=!0,$fz),"~N");
Clazz.defineStatics(c$,"MANY",1440,"Z_OK",0,"Z_DATA_ERROR",-3,"Z_MEM_ERROR",-4,"Z_BUF_ERROR",-5,"fixed_bl",9,"fixed_bd",5,"fixed_tl",[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,
8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,
156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,
0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,
27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,
0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,
142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,
80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],"fixed_td",[80,5,1,
87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],"cplens",[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],"cplext",[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,112,112],"cpdist",[1,2,3,4,5,7,9,13,17,25,33,49,65,97,
129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],"cpdext",[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],"BMAX",15);Clazz.declarePackage("JZ");
Clazz.load(["JZ.InfTree"],"JZ.InfBlocks",["JZ.InfCodes"],function(){c$=Clazz.decorateAsClass(function(){this.index=this.table=this.left=this.mode=0;this.codes=this.tdi=this.tli=this.td=this.tl=this.bd=this.bl=this.tb=this.bb=this.blens=null;this.bitb=this.bitk=this.last=0;this.window=this.hufts=null;this.write=this.read=this.end=0;this.check=!1;this.z=this.inftree=null;Clazz.instantialize(this,arguments)},JZ,"InfBlocks");Clazz.prepareFields(c$,function(){this.bb=Clazz.newIntArray(1,0);this.tb=Clazz.newIntArray(1,
0);this.bl=Clazz.newIntArray(1,0);this.bd=Clazz.newIntArray(1,0);this.tli=Clazz.newIntArray(1,0);this.tdi=Clazz.newIntArray(1,0);this.inftree=new JZ.InfTree});Clazz.makeConstructor(c$,function(a,b){this.z=a;this.codes=new JZ.InfCodes(this.z,this);this.hufts=Clazz.newIntArray(4320,0);this.window=Clazz.newByteArray(b,0);this.end=b;this.check=0==a.istate.wrap?!1:!0;this.mode=0;this.tl=Clazz.newArray(1,null);this.td=Clazz.newArray(1,null);this.reset()},"JZ.ZStream,~N");$_M(c$,"reset",function(){6==this.mode&&
this.codes.free(this.z);this.read=this.write=this.bitb=this.bitk=this.mode=0;this.check&&this.z.checksum.reset()});$_M(c$,"proc",function(a){var b,c,d,e,f,h,g;e=this.z.next_in_index;f=this.z.avail_in;c=this.bitb;d=this.bitk;h=this.write;for(g=h<this.read?this.read-h-1:this.end-h;;)switch(this.mode){case 0:for(;3>d;){if(0!=f)a=0;else return this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);f--;c|=(this.z.next_in[e++]&
255)<<d;d+=8}b=c&7;this.last=b&1;switch(b>>>1){case 0:c>>>=3;d-=3;b=d&7;c>>>=b;d-=b;this.mode=1;break;case 1:JZ.InfTree.inflate_trees_fixed(this.bl,this.bd,this.tl,this.td,this.z);this.codes.init(this.bl[0],this.bd[0],this.tl[0],0,this.td[0],0);c>>>=3;d-=3;this.mode=6;break;case 2:c>>>=3;d-=3;this.mode=3;break;case 3:return c>>>=3,d-=3,this.mode=9,this.z.msg="invalid block type",a=-3,this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=
h,this.inflate_flush(a)}break;case 1:for(;32>d;){if(0!=f)a=0;else return this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);f--;c|=(this.z.next_in[e++]&255)<<d;d+=8}if((~c>>>16&65535)!=(c&65535))return this.mode=9,this.z.msg="invalid stored block lengths",a=-3,this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);this.left=c&
65535;c=d=0;this.mode=0!=this.left?2:0!=this.last?7:0;break;case 2:if(0==f||0==g&&(h==this.end&&0!=this.read&&(h=0,g=h<this.read?this.read-h-1:this.end-h),0==g&&(this.write=h,a=this.inflate_flush(a),h=this.write,g=h<this.read?this.read-h-1:this.end-h,h==this.end&&0!=this.read&&(h=0,g=h<this.read?this.read-h-1:this.end-h),0==g)))return this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);a=0;b=this.left;b>f&&(b=
f);b>g&&(b=g);System.arraycopy(this.z.next_in,e,this.window,h,b);e+=b;f-=b;h+=b;g-=b;if(0!=(this.left-=b))break;this.mode=0!=this.last?7:0;break;case 3:for(;14>d;){if(0!=f)a=0;else return this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);f--;c|=(this.z.next_in[e++]&255)<<d;d+=8}this.table=b=c&16383;if(29<(b&31)||29<(b>>5&31))return this.mode=9,this.z.msg="too many length or distance symbols",a=-3,this.bitb=c,
this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);b=258+(b&31)+(b>>5&31);if(null==this.blens||this.blens.length<b)this.blens=Clazz.newIntArray(b,0);else for(g=0;g<b;g++)this.blens[g]=0;c>>>=14;d-=14;this.index=0;this.mode=4;case 4:for(;this.index<4+(this.table>>>10);){for(;3>d;){if(0!=f)a=0;else return this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);
f--;c|=(this.z.next_in[e++]&255)<<d;d+=8}this.blens[JZ.InfBlocks.border[this.index++]]=c&7;c>>>=3;d-=3}for(;19>this.index;)this.blens[JZ.InfBlocks.border[this.index++]]=0;this.bb[0]=7;b=this.inftree.inflate_trees_bits(this.blens,this.bb,this.tb,this.hufts,this.z);if(0!=b)return a=b,-3==a&&(this.blens=null,this.mode=9),this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);this.index=0;this.mode=5;case 5:for(;;){b=
this.table;if(!(this.index<258+(b&31)+(b>>5&31)))break;var j,n;for(b=this.bb[0];d<b;){if(0!=f)a=0;else return this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);f--;c|=(this.z.next_in[e++]&255)<<d;d+=8}b=this.hufts[3*(this.tb[0]+(c&JZ.InfBlocks.inflate_mask[b]))+1];n=this.hufts[3*(this.tb[0]+(c&JZ.InfBlocks.inflate_mask[b]))+2];if(16>n)c>>>=b,d-=b,this.blens[this.index++]=n;else{g=18==n?7:n-14;for(j=18==n?11:
3;d<b+g;){if(0!=f)a=0;else return this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);f--;c|=(this.z.next_in[e++]&255)<<d;d+=8}c>>>=b;d-=b;j+=c&JZ.InfBlocks.inflate_mask[g];c>>>=g;d-=g;g=this.index;b=this.table;if(g+j>258+(b&31)+(b>>5&31)||16==n&&1>g)return this.blens=null,this.mode=9,this.z.msg="invalid bit length repeat",a=-3,this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=
e,this.write=h,this.inflate_flush(a);n=16==n?this.blens[g-1]:0;do this.blens[g++]=n;while(0!=--j);this.index=g}}this.tb[0]=-1;this.bl[0]=9;this.bd[0]=6;b=this.table;b=this.inftree.inflate_trees_dynamic(257+(b&31),1+(b>>5&31),this.blens,this.bl,this.bd,this.tli,this.tdi,this.hufts,this.z);if(0!=b)return-3==b&&(this.blens=null,this.mode=9),a=b,this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);this.codes.init(this.bl[0],
this.bd[0],this.hufts,this.tli[0],this.hufts,this.tdi[0]);this.mode=6;case 6:this.bitb=c;this.bitk=d;this.z.avail_in=f;this.z.total_in+=e-this.z.next_in_index;this.z.next_in_index=e;this.write=h;if(1!=(a=this.codes.proc(a)))return this.inflate_flush(a);a=0;this.codes.free(this.z);e=this.z.next_in_index;f=this.z.avail_in;c=this.bitb;d=this.bitk;h=this.write;g=h<this.read?this.read-h-1:this.end-h;if(0==this.last){this.mode=0;break}this.mode=7;case 7:this.write=h;a=this.inflate_flush(a);h=this.write;
if(this.read!=this.write)return this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);this.mode=8;case 8:return a=1,this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);case 9:return a=-3,this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a);
default:return a=-2,this.bitb=c,this.bitk=d,this.z.avail_in=f,this.z.total_in+=e-this.z.next_in_index,this.z.next_in_index=e,this.write=h,this.inflate_flush(a)}},"~N");$_M(c$,"free",function(){this.reset();this.hufts=this.window=null});$_M(c$,"set_dictionary",function(a,b,c){System.arraycopy(a,b,this.window,0,c);this.read=this.write=c},"~A,~N,~N");$_M(c$,"sync_point",function(){return 1==this.mode?1:0});$_M(c$,"inflate_flush",function(a){var b,c,d;c=this.z.next_out_index;d=this.read;b=(d<=this.write?
this.write:this.end)-d;b>this.z.avail_out&&(b=this.z.avail_out);0!=b&&-5==a&&(a=0);this.z.avail_out-=b;this.z.total_out+=b;this.check&&0<b&&this.z.checksum.update(this.window,d,b);System.arraycopy(this.window,d,this.z.next_out,c,b);c+=b;d+=b;d==this.end&&(d=0,this.write==this.end&&(this.write=0),b=this.write-d,b>this.z.avail_out&&(b=this.z.avail_out),0!=b&&-5==a&&(a=0),this.z.avail_out-=b,this.z.total_out+=b,this.check&&0<b&&this.z.checksum.update(this.window,d,b),System.arraycopy(this.window,d,this.z.next_out,
c,b),c+=b,d+=b);this.z.next_out_index=c;this.read=d;return a},"~N");Clazz.defineStatics(c$,"MANY",1440,"inflate_mask",[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],"border",[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],"Z_OK",0,"Z_STREAM_END",1,"Z_STREAM_ERROR",-2,"Z_DATA_ERROR",-3,"Z_BUF_ERROR",-5,"TYPE",0,"LENS",1,"STORED",2,"TABLE",3,"BTREE",4,"DTREE",5,"CODES",6,"DRY",7,"DONE",8,"BAD",9)});Clazz.declarePackage("JZ");
c$=Clazz.decorateAsClass(function(){this.len=this.mode=0;this.tree=null;this.dbits=this.lbits=this.dist=this.get=this.lit=this.need=this.tree_index=0;this.ltree=null;this.ltree_index=0;this.dtree=null;this.dtree_index=0;this.s=this.z=null;Clazz.instantialize(this,arguments)},JZ,"InfCodes");Clazz.makeConstructor(c$,function(a,b){this.z=a;this.s=b},"JZ.ZStream,JZ.InfBlocks");
$_M(c$,"init",function(a,b,c,d,e,f){this.mode=0;this.lbits=a;this.dbits=b;this.ltree=c;this.ltree_index=d;this.dtree=e;this.dtree_index=f;this.tree=null},"~N,~N,~A,~N,~A,~N");
$_M(c$,"proc",function(a){var b,c,d=0,e=0,f=0,h,g,j,f=this.z.next_in_index;h=this.z.avail_in;d=this.s.bitb;e=this.s.bitk;g=this.s.write;for(j=g<this.s.read?this.s.read-g-1:this.s.end-g;;)switch(this.mode){case 0:if(258<=j&&10<=h&&(this.s.bitb=d,this.s.bitk=e,this.z.avail_in=h,this.z.total_in+=f-this.z.next_in_index,this.z.next_in_index=f,this.s.write=g,a=this.inflate_fast(this.lbits,this.dbits,this.ltree,this.ltree_index,this.dtree,this.dtree_index,this.s,this.z),f=this.z.next_in_index,h=this.z.avail_in,
d=this.s.bitb,e=this.s.bitk,g=this.s.write,j=g<this.s.read?this.s.read-g-1:this.s.end-g,0!=a)){this.mode=1==a?7:9;break}this.need=this.lbits;this.tree=this.ltree;this.tree_index=this.ltree_index;this.mode=1;case 1:for(b=this.need;e<b;){if(0!=h)a=0;else return this.s.bitb=d,this.s.bitk=e,this.z.avail_in=h,this.z.total_in+=f-this.z.next_in_index,this.z.next_in_index=f,this.s.write=g,this.s.inflate_flush(a);h--;d|=(this.z.next_in[f++]&255)<<e;e+=8}b=3*(this.tree_index+(d&JZ.InfCodes.inflate_mask[b]));
d>>>=this.tree[b+1];e-=this.tree[b+1];c=this.tree[b];if(0==c){this.lit=this.tree[b+2];this.mode=6;break}if(0!=(c&16)){this.get=c&15;this.len=this.tree[b+2];this.mode=2;break}if(0==(c&64)){this.need=c;this.tree_index=Clazz.doubleToInt(b/3)+this.tree[b+2];break}if(0!=(c&32)){this.mode=7;break}this.mode=9;this.z.msg="invalid literal/length code";a=-3;this.s.bitb=d;this.s.bitk=e;this.z.avail_in=h;this.z.total_in+=f-this.z.next_in_index;this.z.next_in_index=f;this.s.write=g;return this.s.inflate_flush(a);
case 2:for(b=this.get;e<b;){if(0!=h)a=0;else return this.s.bitb=d,this.s.bitk=e,this.z.avail_in=h,this.z.total_in+=f-this.z.next_in_index,this.z.next_in_index=f,this.s.write=g,this.s.inflate_flush(a);h--;d|=(this.z.next_in[f++]&255)<<e;e+=8}this.len+=d&JZ.InfCodes.inflate_mask[b];d>>=b;e-=b;this.need=this.dbits;this.tree=this.dtree;this.tree_index=this.dtree_index;this.mode=3;case 3:for(b=this.need;e<b;){if(0!=h)a=0;else return this.s.bitb=d,this.s.bitk=e,this.z.avail_in=h,this.z.total_in+=f-this.z.next_in_index,
this.z.next_in_index=f,this.s.write=g,this.s.inflate_flush(a);h--;d|=(this.z.next_in[f++]&255)<<e;e+=8}b=3*(this.tree_index+(d&JZ.InfCodes.inflate_mask[b]));d>>=this.tree[b+1];e-=this.tree[b+1];c=this.tree[b];if(0!=(c&16)){this.get=c&15;this.dist=this.tree[b+2];this.mode=4;break}if(0==(c&64)){this.need=c;this.tree_index=Clazz.doubleToInt(b/3)+this.tree[b+2];break}this.mode=9;this.z.msg="invalid distance code";a=-3;this.s.bitb=d;this.s.bitk=e;this.z.avail_in=h;this.z.total_in+=f-this.z.next_in_index;
this.z.next_in_index=f;this.s.write=g;return this.s.inflate_flush(a);case 4:for(b=this.get;e<b;){if(0!=h)a=0;else return this.s.bitb=d,this.s.bitk=e,this.z.avail_in=h,this.z.total_in+=f-this.z.next_in_index,this.z.next_in_index=f,this.s.write=g,this.s.inflate_flush(a);h--;d|=(this.z.next_in[f++]&255)<<e;e+=8}this.dist+=d&JZ.InfCodes.inflate_mask[b];d>>=b;e-=b;this.mode=5;case 5:for(b=g-this.dist;0>b;)b+=this.s.end;for(;0!=this.len;){if(0==j&&(g==this.s.end&&0!=this.s.read&&(g=0,j=g<this.s.read?this.s.read-
g-1:this.s.end-g),0==j&&(this.s.write=g,a=this.s.inflate_flush(a),g=this.s.write,j=g<this.s.read?this.s.read-g-1:this.s.end-g,g==this.s.end&&0!=this.s.read&&(g=0,j=g<this.s.read?this.s.read-g-1:this.s.end-g),0==j)))return this.s.bitb=d,this.s.bitk=e,this.z.avail_in=h,this.z.total_in+=f-this.z.next_in_index,this.z.next_in_index=f,this.s.write=g,this.s.inflate_flush(a);this.s.window[g++]=this.s.window[b++];j--;b==this.s.end&&(b=0);this.len--}this.mode=0;break;case 6:if(0==j&&(g==this.s.end&&0!=this.s.read&&
(g=0,j=g<this.s.read?this.s.read-g-1:this.s.end-g),0==j&&(this.s.write=g,a=this.s.inflate_flush(a),g=this.s.write,j=g<this.s.read?this.s.read-g-1:this.s.end-g,g==this.s.end&&0!=this.s.read&&(g=0,j=g<this.s.read?this.s.read-g-1:this.s.end-g),0==j)))return this.s.bitb=d,this.s.bitk=e,this.z.avail_in=h,this.z.total_in+=f-this.z.next_in_index,this.z.next_in_index=f,this.s.write=g,this.s.inflate_flush(a);a=0;this.s.window[g++]=this.lit;j--;this.mode=0;break;case 7:7<e&&(e-=8,h++,f--);this.s.write=g;a=
this.s.inflate_flush(a);g=this.s.write;if(this.s.read!=this.s.write)return this.s.bitb=d,this.s.bitk=e,this.z.avail_in=h,this.z.total_in+=f-this.z.next_in_index,this.z.next_in_index=f,this.s.write=g,this.s.inflate_flush(a);this.mode=8;case 8:return a=1,this.s.bitb=d,this.s.bitk=e,this.z.avail_in=h,this.z.total_in+=f-this.z.next_in_index,this.z.next_in_index=f,this.s.write=g,this.s.inflate_flush(a);case 9:return a=-3,this.s.bitb=d,this.s.bitk=e,this.z.avail_in=h,this.z.total_in+=f-this.z.next_in_index,
this.z.next_in_index=f,this.s.write=g,this.s.inflate_flush(a);default:return a=-2,this.s.bitb=d,this.s.bitk=e,this.z.avail_in=h,this.z.total_in+=f-this.z.next_in_index,this.z.next_in_index=f,this.s.write=g,this.s.inflate_flush(a)}},"~N");$_M(c$,"free",function(){},"JZ.ZStream");
$_M(c$,"inflate_fast",function(a,b,c,d,e,f,h,g){var j,n,t,l,k,m,p,r,v,u,q,s;m=g.next_in_index;p=g.avail_in;l=h.bitb;k=h.bitk;r=h.write;v=r<h.read?h.read-r-1:h.end-r;a=JZ.InfCodes.inflate_mask[a];u=JZ.InfCodes.inflate_mask[b];do{for(;20>k;)p--,l|=(g.next_in[m++]&255)<<k,k+=8;j=l&a;n=c;t=d;s=3*(t+j);if(0==(b=n[s]))l>>=n[s+1],k-=n[s+1],h.window[r++]=n[s+2],v--;else{do{l>>=n[s+1];k-=n[s+1];if(0!=(b&16)){b&=15;q=n[s+2]+(l&JZ.InfCodes.inflate_mask[b]);l>>=b;for(k-=b;15>k;)p--,l|=(g.next_in[m++]&255)<<k,
k+=8;j=l&u;n=e;t=f;s=3*(t+j);b=n[s];do if(l>>=n[s+1],k-=n[s+1],0!=(b&16)){for(b&=15;k<b;)p--,l|=(g.next_in[m++]&255)<<k,k+=8;j=n[s+2]+(l&JZ.InfCodes.inflate_mask[b]);l>>=b;k-=b;v-=q;if(r>=j)j=r-j,0<r-j&&2>r-j?(h.window[r++]=h.window[j++],h.window[r++]=h.window[j++]):(System.arraycopy(h.window,j,h.window,r,2),r+=2,j+=2),q-=2;else{j=r-j;do j+=h.end;while(0>j);b=h.end-j;if(q>b){q-=b;if(0<r-j&&b>r-j){do h.window[r++]=h.window[j++];while(0!=--b)}else System.arraycopy(h.window,j,h.window,r,b),r+=b;j=0}}if(0<
r-j&&q>r-j){do h.window[r++]=h.window[j++];while(0!=--q)}else System.arraycopy(h.window,j,h.window,r,q),r+=q;break}else if(0==(b&64))j+=n[s+2],j+=l&JZ.InfCodes.inflate_mask[b],s=3*(t+j),b=n[s];else return g.msg="invalid distance code",q=g.avail_in-p,q=k>>3<q?k>>3:q,p+=q,m-=q,k-=q<<3,h.bitb=l,h.bitk=k,g.avail_in=p,g.total_in+=m-g.next_in_index,g.next_in_index=m,h.write=r,-3;while(1);break}if(0==(b&64)){if(j+=n[s+2],j+=l&JZ.InfCodes.inflate_mask[b],s=3*(t+j),0==(b=n[s])){l>>=n[s+1];k-=n[s+1];h.window[r++]=
n[s+2];v--;break}}else{if(0!=(b&32))return q=g.avail_in-p,q=k>>3<q?k>>3:q,p+=q,m-=q,k-=q<<3,h.bitb=l,h.bitk=k,g.avail_in=p,g.total_in+=m-g.next_in_index,g.next_in_index=m,h.write=r,1;g.msg="invalid literal/length code";q=g.avail_in-p;q=k>>3<q?k>>3:q;p+=q;m-=q;k-=q<<3;h.bitb=l;h.bitk=k;g.avail_in=p;g.total_in+=m-g.next_in_index;g.next_in_index=m;h.write=r;return-3}}while(1)}}while(258<=v&&10<=p);q=g.avail_in-p;q=k>>3<q?k>>3:q;m-=q;h.bitb=l;h.bitk=k-(q<<3);g.avail_in=p+q;g.total_in+=m-g.next_in_index;
g.next_in_index=m;h.write=r;return 0},"~N,~N,~A,~N,~A,~N,JZ.InfBlocks,JZ.ZStream");Clazz.defineStatics(c$,"inflate_mask",[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],"Z_OK",0,"Z_STREAM_END",1,"Z_STREAM_ERROR",-2,"Z_DATA_ERROR",-3,"START",0,"LEN",1,"LENEXT",2,"DIST",3,"DISTEXT",4,"COPY",5,"LIT",6,"WASH",7,"END",8,"BADCODE",9);Clazz.declarePackage("java.util.zip");
Clazz.load(["java.io.FilterInputStream"],"java.util.zip.CheckedInputStream",null,function(){c$=Clazz.decorateAsClass(function(){this.cksum=null;Clazz.instantialize(this,arguments)},java.util.zip,"CheckedInputStream",java.io.FilterInputStream);Clazz.makeConstructor(c$,function(a,b){Clazz.superConstructor(this,java.util.zip.CheckedInputStream,[a]);this.cksum=b},"java.io.InputStream,JZ.Checksum");Clazz.overrideMethod(c$,"readByteAsInt",function(){var a=this.$in.readByteAsInt();-1!=a&&this.cksum.updateByteAsInt(a);
return a});Clazz.overrideMethod(c$,"read",function(a,b,c){c=this.$in.read(a,b,c);-1!=c&&this.cksum.update(a,b,c);return c},"~A,~N,~N");Clazz.overrideMethod(c$,"skip",function(a){for(var b=Clazz.newByteArray(512,0),c=0;c<a;){var d=a-c,d=this.read(b,0,d<b.length?d:b.length);if(-1==d)break;c+=d}return c},"~N");$_M(c$,"getChecksum",function(){return this.cksum})});Clazz.declarePackage("java.util.zip");
Clazz.load(["JZ.Inflater"],"java.util.zip.Inflater",null,function(){c$=Clazz.declareType(java.util.zip,"Inflater",JZ.Inflater);$_M(c$,"initialize",function(a){return this.init(0,a)},"~B")});Clazz.declarePackage("java.util.zip");Clazz.load(["java.io.IOException"],"java.util.zip.ZipException",null,function(){c$=Clazz.declareType(java.util.zip,"ZipException",java.io.IOException)});Clazz.declarePackage("java.util.zip");c$=Clazz.declareInterface(java.util.zip,"ZipConstants");
Clazz.defineStatics(c$,"LOCSIG",67324752,"EXTSIG",134695760,"CENSIG",33639248,"ENDSIG",101010256,"LOCHDR",30,"EXTHDR",16,"CENHDR",46,"ENDHDR",22,"LOCVER",4,"LOCFLG",6,"LOCHOW",8,"LOCTIM",10,"LOCCRC",14,"LOCSIZ",18,"LOCLEN",22,"LOCNAM",26,"LOCEXT",28,"EXTCRC",4,"EXTSIZ",8,"EXTLEN",12,"CENVEM",4,"CENVER",6,"CENFLG",8,"CENHOW",10,"CENTIM",12,"CENCRC",16,"CENSIZ",20,"CENLEN",24,"CENNAM",28,"CENEXT",30,"CENCOM",32,"CENDSK",34,"CENATT",36,"CENATX",38,"CENOFF",42,"ENDSUB",8,"ENDTOT",10,"ENDSIZ",12,"ENDOFF",
16,"ENDCOM",20);Clazz.declarePackage("java.util.zip");
Clazz.load(["java.util.zip.ZipConstants"],"java.util.zip.ZipEntry",["java.lang.IllegalArgumentException","$.InternalError","$.NullPointerException","java.util.Date"],function(){c$=Clazz.decorateAsClass(function(){this.offset=0;this.name=null;this.method=this.csize=this.size=this.crc=this.time=-1;this.flag=0;this.comment=this.extra=null;Clazz.instantialize(this,arguments)},java.util.zip,"ZipEntry",null,[java.util.zip.ZipConstants,Cloneable]);Clazz.makeConstructor(c$,function(a){if(null==a)throw new NullPointerException;
if(65535<a.length)throw new IllegalArgumentException("entry name too long");this.name=a},"~S");$_M(c$,"getName",function(){return this.name});$_M(c$,"setTime",function(a){this.time=java.util.zip.ZipEntry.javaToDosTime(a)},"~N");$_M(c$,"getTime",function(){return-1!=this.time?java.util.zip.ZipEntry.dosToJavaTime(this.time):-1});$_M(c$,"setSize",function(a){if(0>a)throw new IllegalArgumentException("invalid entry size");this.size=a},"~N");$_M(c$,"getSize",function(){return this.size});$_M(c$,"getCompressedSize",
function(){return this.csize});$_M(c$,"setCompressedSize",function(a){this.csize=a},"~N");$_M(c$,"setCrc",function(a){if(0>a||4294967295<a)throw new IllegalArgumentException("invalid entry crc-32");this.crc=a},"~N");$_M(c$,"getCrc",function(){return this.crc});$_M(c$,"setMethod",function(a){if(0!=a&&8!=a)throw new IllegalArgumentException("invalid compression method");this.method=a},"~N");$_M(c$,"getMethod",function(){return this.method});$_M(c$,"setExtra",function(a){if(null!=a&&65535<a.length)throw new IllegalArgumentException("invalid extra field length");
this.extra=a},"~A");$_M(c$,"getExtra",function(){return this.extra});$_M(c$,"setComment",function(a){this.comment=a},"~S");$_M(c$,"getComment",function(){return this.comment});$_M(c$,"isDirectory",function(){return this.name.endsWith("/")});Clazz.overrideMethod(c$,"toString",function(){return this.getName()});c$.dosToJavaTime=$_M(c$,"dosToJavaTime",($fz=function(a){return(new java.util.Date((a>>25&127)+80,(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,a<<1&62)).getTime()},$fz.isPrivate=!0,$fz),"~N");c$.javaToDosTime=
$_M(c$,"javaToDosTime",($fz=function(a){a=new java.util.Date(a);var b=a.getYear()+1900;return 1980>b?2162688:b-1980<<25|a.getMonth()+1<<21|a.getDate()<<16|a.getHours()<<11|a.getMinutes()<<5|a.getSeconds()>>1},$fz.isPrivate=!0,$fz),"~N");Clazz.overrideMethod(c$,"hashCode",function(){return this.name.hashCode()});$_M(c$,"clone",function(){try{var a=Clazz.superCall(this,java.util.zip.ZipEntry,"clone",[]);null!=this.extra&&(a.extra=Clazz.newByteArray(this.extra.length,0),System.arraycopy(this.extra,0,
a.extra,0,this.extra.length));return a}catch(b){if(Clazz.exceptionOf(b,CloneNotSupportedException))throw new InternalError;throw b;}});Clazz.defineStatics(c$,"STORED",0,"DEFLATED",8)});Clazz.declarePackage("java.util.zip");c$=Clazz.declareType(java.util.zip,"ZipConstants64");
Clazz.defineStatics(c$,"ZIP64_ENDSIG",101075792,"ZIP64_LOCSIG",117853008,"ZIP64_ENDHDR",56,"ZIP64_LOCHDR",20,"ZIP64_EXTHDR",24,"ZIP64_EXTID",1,"ZIP64_MAGICCOUNT",65535,"ZIP64_MAGICVAL",4294967295,"ZIP64_ENDLEN",4,"ZIP64_ENDVEM",12,"ZIP64_ENDVER",14,"ZIP64_ENDNMD",16,"ZIP64_ENDDSK",20,"ZIP64_ENDTOD",24,"ZIP64_ENDTOT",32,"ZIP64_ENDSIZ",40,"ZIP64_ENDOFF",48,"ZIP64_ENDEXT",56,"ZIP64_LOCDSK",4,"ZIP64_LOCOFF",8,"ZIP64_LOCTOT",16,"ZIP64_EXTCRC",4,"ZIP64_EXTSIZ",8,"ZIP64_EXTLEN",16,"EFS",2048);Clazz.declarePackage("java.util.zip");
Clazz.load(["java.util.zip.InflaterInputStream","$.ZipConstants","$.CRC32"],"java.util.zip.ZipInputStream","java.io.EOFException $.IOException $.PushbackInputStream java.lang.IllegalArgumentException $.IndexOutOfBoundsException $.Long $.NullPointerException java.util.zip.Inflater $.ZipEntry $.ZipException".split(" "),function(){c$=Clazz.decorateAsClass(function(){this.entry=null;this.flag=0;this.crc=null;this.remaining=0;this.tmpbuf=null;this.entryEOF=this.$closed=!1;this.$b=this.byteTest=this.zc=
null;Clazz.instantialize(this,arguments)},java.util.zip,"ZipInputStream",java.util.zip.InflaterInputStream,java.util.zip.ZipConstants);Clazz.prepareFields(c$,function(){this.crc=new java.util.zip.CRC32;this.tmpbuf=Clazz.newByteArray(512,0);this.byteTest=[32];this.$b=Clazz.newByteArray(256,0)});$_M(c$,"ensureOpen",($fz=function(){if(this.$closed)throw new java.io.IOException("Stream closed");},$fz.isPrivate=!0,$fz));Clazz.makeConstructor(c$,function(a){Clazz.superConstructor(this,java.util.zip.ZipInputStream,
[new java.io.PushbackInputStream(a,1024),java.util.zip.ZipInputStream.newInflater(),512]);try{String.instantialize(this.byteTest,"UTF-8")}catch(b){if(Clazz.exceptionOf(b,java.io.UnsupportedEncodingException))throw new NullPointerException("charset is invalid");throw b;}this.zc="UTF-8"},"java.io.InputStream");c$.newInflater=$_M(c$,"newInflater",($fz=function(){return(new java.util.zip.Inflater).init(0,!0)},$fz.isPrivate=!0,$fz));$_M(c$,"getNextEntry",function(){this.ensureOpen();null!=this.entry&&
this.closeEntry();this.crc.reset();this.inflater=this.inf=java.util.zip.ZipInputStream.newInflater();if(null==(this.entry=this.readLOC()))return null;0==this.entry.method&&(this.remaining=this.entry.size);this.entryEOF=!1;return this.entry});$_M(c$,"closeEntry",function(){for(this.ensureOpen();-1!=this.read(this.tmpbuf,0,this.tmpbuf.length););this.entryEOF=!0});Clazz.overrideMethod(c$,"available",function(){this.ensureOpen();return this.entryEOF?0:1});Clazz.overrideMethod(c$,"read",function(a,b,c){this.ensureOpen();
if(0>b||0>c||b>a.length-c)throw new IndexOutOfBoundsException;if(0==c)return 0;if(null==this.entry)return-1;switch(this.entry.method){case 8:return c=this.readInf(a,b,c),-1==c?(this.readEnd(this.entry),this.entryEOF=!0,this.entry=null):this.crc.update(a,b,c),c;case 0:if(0>=this.remaining)return this.entryEOF=!0,this.entry=null,-1;c>this.remaining&&(c=this.remaining);c=this.$in.read(a,b,c);if(-1==c)throw new java.util.zip.ZipException("unexpected EOF");this.crc.update(a,b,c);this.remaining-=c;if(0==
this.remaining&&this.entry.crc!=this.crc.getValue())throw new java.util.zip.ZipException("invalid entry CRC (expected 0x"+Long.toHexString(this.entry.crc)+" but got 0x"+Long.toHexString(this.crc.getValue())+")");return c;default:throw new java.util.zip.ZipException("invalid compression method");}},"~A,~N,~N");Clazz.overrideMethod(c$,"skip",function(a){if(0>a)throw new IllegalArgumentException("negative skip length");this.ensureOpen();a=Math.min(a,2147483647);for(var b=0;b<a;){var c=a-b;c>this.tmpbuf.length&&
(c=this.tmpbuf.length);c=this.read(this.tmpbuf,0,c);if(-1==c){this.entryEOF=!0;break}b+=c}return b},"~N");$_M(c$,"close",function(){this.$closed||(Clazz.superCall(this,java.util.zip.ZipInputStream,"close",[]),this.$closed=!0)});$_M(c$,"readLOC",($fz=function(){try{this.readFully(this.tmpbuf,0,30)}catch(a){if(Clazz.exceptionOf(a,java.io.EOFException))return null;throw a;}if(67324752!=java.util.zip.ZipInputStream.get32(this.tmpbuf,0))return null;this.flag=java.util.zip.ZipInputStream.get16(this.tmpbuf,
6);var b=java.util.zip.ZipInputStream.get16(this.tmpbuf,26),c=this.$b.length;if(b>c){do c*=2;while(b>c);this.$b=Clazz.newByteArray(c,0)}this.readFully(this.$b,0,b);c=this.createZipEntry(0!=(this.flag&2048)?this.toStringUTF8(this.$b,b):this.toStringb2(this.$b,b));if(1==(this.flag&1))throw new java.util.zip.ZipException("encrypted ZIP entry not supported");c.method=java.util.zip.ZipInputStream.get16(this.tmpbuf,8);c.time=java.util.zip.ZipInputStream.get32(this.tmpbuf,10);if(8==(this.flag&8)){if(8!=
c.method)throw new java.util.zip.ZipException("only DEFLATED entries can have EXT descriptor");}else c.crc=java.util.zip.ZipInputStream.get32(this.tmpbuf,14),c.csize=java.util.zip.ZipInputStream.get32(this.tmpbuf,18),c.size=java.util.zip.ZipInputStream.get32(this.tmpbuf,22);b=java.util.zip.ZipInputStream.get16(this.tmpbuf,28);if(0<b){var d=Clazz.newByteArray(b,0);this.readFully(d,0,b);c.setExtra(d);if(4294967295==c.csize||4294967295==c.size)for(var e=0;e+4<b;){var f=java.util.zip.ZipInputStream.get16(d,
e+2);if(1==java.util.zip.ZipInputStream.get16(d,e)){e+=4;if(16>f||e+f>b)break;c.size=java.util.zip.ZipInputStream.get64(d,e);c.csize=java.util.zip.ZipInputStream.get64(d,e+8);break}e+=f+4}}return c},$fz.isPrivate=!0,$fz));$_M(c$,"toStringUTF8",($fz=function(a,b){try{return String.instantialize(a,0,b,this.zc)}catch(c){if(Clazz.exceptionOf(c,java.io.UnsupportedEncodingException))return this.toStringb2(a,b);throw c;}},$fz.isPrivate=!0,$fz),"~A,~N");$_M(c$,"toStringb2",($fz=function(a,b){return String.instantialize(a,
0,b)},$fz.isPrivate=!0,$fz),"~A,~N");$_M(c$,"createZipEntry",function(a){return new java.util.zip.ZipEntry(a)},"~S");$_M(c$,"readEnd",($fz=function(a){var b=this.inf.getAvailIn();0<b&&(this.$in.unread(this.buf,this.len-b,b),this.eof=!1);8==(this.flag&8)&&(4294967295<this.inf.getTotalOut()||4294967295<this.inf.getTotalIn()?(this.readFully(this.tmpbuf,0,24),b=java.util.zip.ZipInputStream.get32(this.tmpbuf,0),134695760!=b?(a.crc=b,a.csize=java.util.zip.ZipInputStream.get64(this.tmpbuf,4),a.size=java.util.zip.ZipInputStream.get64(this.tmpbuf,
12),this.$in.unread(this.tmpbuf,19,4)):(a.crc=java.util.zip.ZipInputStream.get32(this.tmpbuf,4),a.csize=java.util.zip.ZipInputStream.get64(this.tmpbuf,8),a.size=java.util.zip.ZipInputStream.get64(this.tmpbuf,16))):(this.readFully(this.tmpbuf,0,16),b=java.util.zip.ZipInputStream.get32(this.tmpbuf,0),134695760!=b?(a.crc=b,a.csize=java.util.zip.ZipInputStream.get32(this.tmpbuf,4),a.size=java.util.zip.ZipInputStream.get32(this.tmpbuf,8),this.$in.unread(this.tmpbuf,11,4)):(a.crc=java.util.zip.ZipInputStream.get32(this.tmpbuf,
4),a.csize=java.util.zip.ZipInputStream.get32(this.tmpbuf,8),a.size=java.util.zip.ZipInputStream.get32(this.tmpbuf,12))));if(a.size!=this.inf.getTotalOut())throw new java.util.zip.ZipException("invalid entry size (expected "+a.size+" but got "+this.inf.getTotalOut()+" bytes)");if(a.csize!=this.inf.getTotalIn())throw new java.util.zip.ZipException("invalid entry compressed size (expected "+a.csize+" but got "+this.inf.getTotalIn()+" bytes)");if(a.crc!=this.crc.getValue())throw new java.util.zip.ZipException("invalid entry CRC (expected 0x"+
Long.toHexString(a.crc)+" but got 0x"+Long.toHexString(this.crc.getValue())+")");},$fz.isPrivate=!0,$fz),"java.util.zip.ZipEntry");$_M(c$,"readFully",($fz=function(a,b,c){for(;0<c;){var d=this.$in.read(a,b,c);if(-1==d)throw new java.io.EOFException;b+=d;c-=d}},$fz.isPrivate=!0,$fz),"~A,~N,~N");c$.get16=$_M(c$,"get16",($fz=function(a,b){return a[b]&255|(a[b+1]&255)<<8},$fz.isPrivate=!0,$fz),"~A,~N");c$.get32=$_M(c$,"get32",($fz=function(a,b){return(java.util.zip.ZipInputStream.get16(a,b)|java.util.zip.ZipInputStream.get16(a,
b+2)<<16)&4294967295},$fz.isPrivate=!0,$fz),"~A,~N");c$.get64=$_M(c$,"get64",($fz=function(a,b){return java.util.zip.ZipInputStream.get32(a,b)|java.util.zip.ZipInputStream.get32(a,b+4)<<32},$fz.isPrivate=!0,$fz),"~A,~N");Clazz.defineStatics(c$,"STORED",0,"DEFLATED",8)});
Clazz.load(["java.io.FilterInputStream"],"java.io.PushbackInputStream",["java.io.IOException","java.lang.IllegalArgumentException","$.IndexOutOfBoundsException","$.NullPointerException"],function(){c$=Clazz.decorateAsClass(function(){this.buf=null;this.pos=0;Clazz.instantialize(this,arguments)},java.io,"PushbackInputStream",java.io.FilterInputStream);$_M(c$,"ensureOpen",($fz=function(){if(null==this.$in)throw new java.io.IOException("Stream closed");},$fz.isPrivate=!0,$fz));Clazz.makeConstructor(c$,
function(a,b){Clazz.superConstructor(this,java.io.PushbackInputStream,[a]);if(0>=b)throw new IllegalArgumentException("size <= 0");this.buf=Clazz.newByteArray(b,0);this.pos=b},"java.io.InputStream,~N");Clazz.overrideMethod(c$,"readByteAsInt",function(){this.ensureOpen();return this.pos<this.buf.length?this.buf[this.pos++]&255:this.$in.readByteAsInt()});Clazz.overrideMethod(c$,"read",function(a,b,c){this.ensureOpen();if(null==a)throw new NullPointerException;if(0>b||0>c||c>a.length-b)throw new IndexOutOfBoundsException;
if(0==c)return 0;var d=this.buf.length-this.pos;0<d&&(c<d&&(d=c),System.arraycopy(this.buf,this.pos,a,b,d),this.pos+=d,b+=d,c-=d);return 0<c?(c=this.$in.read(a,b,c),-1==c?0==d?-1:d:d+c):d},"~A,~N,~N");$_M(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");$_M(c$,"unread",function(a,b,c){this.ensureOpen();if(c>this.pos)throw new java.io.IOException("Push back buffer is full");this.pos-=c;System.arraycopy(a,
b,this.buf,this.pos,c)},"~A,~N,~N");Clazz.overrideMethod(c$,"available",function(){this.ensureOpen();var a=this.buf.length-this.pos,b=this.$in.available();return a>2147483647-b?2147483647:a+b});Clazz.overrideMethod(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");Clazz.overrideMethod(c$,"markSupported",function(){return!1});Clazz.overrideMethod(c$,"mark",function(){},"~N");Clazz.overrideMethod(c$,
"reset",function(){throw new java.io.IOException("mark/reset not supported");});Clazz.overrideMethod(c$,"close",function(){null!=this.$in&&(this.$in.close(),this.buf=this.$in=null)})});Clazz.declarePackage("J.api");Clazz.declareInterface(J.api,"ZInputStream");Clazz.declarePackage("J.io2");Clazz.load(["java.util.zip.ZipInputStream","J.api.ZInputStream"],"J.io2.JmolZipInputStream",null,function(){c$=Clazz.declareType(J.io2,"JmolZipInputStream",java.util.zip.ZipInputStream,J.api.ZInputStream)});
